Commit graph

3200 commits

Author SHA1 Message Date
Mouse Reeve
202c43f610 Adds import option to books page 2021-05-10 16:13:17 -07:00
Allie Signet
d40ff5c751 support both author field names 2021-05-10 20:11:44 -03:00
Mouse Reeve
9e9f94753d
Merge pull request #1069 from bookwyrm-social/inventaire-confidence
Adds confidence ratings to inventaire results
2021-05-10 16:10:30 -07:00
Allie Signet
8c2552f739 storygraph renamed the author field 2021-05-10 20:09:16 -03:00
Mouse Reeve
6abe9274c0 Switches out links in the top bar and dropdown 2021-05-10 15:55:42 -07:00
Mouse Reeve
dad0161844
Merge pull request #1068 from bookwyrm-social/revert-datepicker
Revert datepicker
2021-05-10 15:36:17 -07:00
Mouse Reeve
07c84a6e1a Adds confidence ratings to inventaire results
Fixes bad matches in csv imports
2021-05-10 15:35:46 -07:00
Mouse Reeve
5efc7280a1
Merge pull request #1067 from bookwyrm-social/goal-year
Don't show following years' books in a year's goal
2021-05-10 15:02:18 -07:00
Mouse Reeve
3f4807a345 Revert "Adds datepicker script dependencies to templates"
This reverts commit 33ca7b4b76.
2021-05-10 14:56:43 -07:00
Mouse Reeve
485f4b7eba Revert "Replaces date elements with datepicker"
This reverts commit 869cfa6d34.
2021-05-10 14:56:33 -07:00
allie
314a27841b Merge branch 'bookwyrm-social:main' into storygraph-import 2021-05-10 18:52:54 -03:00
Mouse Reeve
07f3737420
Merge pull request #1066 from bookwyrm-social/settings-files
Imports bookwyrm settings into celery settings
2021-05-10 14:43:36 -07:00
Mouse Reeve
e34ae18e98 Don't show following years' books in a year's goal 2021-05-10 14:40:41 -07:00
Mouse Reeve
b4ae639dab Imports bookwyrm settings into celery settings
It was redundant and super bug-prone!
2021-05-10 14:20:27 -07:00
Allie Signet
85a8210f5e fix rating property on ImportItem 2021-05-10 18:11:28 -03:00
allie
711772046f Merge branch 'bookwyrm-social:main' into storygraph-import 2021-05-10 17:31:12 -03:00
Mouse Reeve
df2c1f0723
Merge branch 'main' into fixes-search-display 2021-05-10 13:29:39 -07:00
Mouse Reeve
b0055f398d Makes the show/hide buttons easier to find in book search 2021-05-10 13:24:00 -07:00
Mouse Reeve
1844dd6b20 Only include result blobs with results in search results 2021-05-10 13:01:11 -07:00
Mouse Reeve
13dc5efe71 More comprehensive tests for connector search 2021-05-10 12:53:36 -07:00
allie
df99060898 Merge branch 'bookwyrm-social:main' into storygraph-import 2021-05-10 15:58:04 -03:00
Allie Signet
623bb181e4 fix formatting 2021-05-10 15:56:35 -03:00
Mouse Reeve
5cd974b78d Python formatting 2021-05-10 10:03:05 -07:00
Allie Signet
36439506b6 add storygraph import 2021-05-10 14:00:51 -03:00
Mouse Reeve
f2d985e583 Uses one set of search logic for all results or just first 2021-05-10 09:57:53 -07:00
Mouse Reeve
852f8da62e Adds tabs to notifications 2021-05-07 14:00:55 -07:00
Mouse Reeve
1cc63c6d45 Adds filtered view for notifications 2021-05-07 14:00:51 -07:00
Fabien Basmaison
a137bd21ff
Display author biography with style. 😎 2021-05-06 17:24:05 +02:00
Mouse Reeve
c15358d715 Python formatting 2021-05-05 07:58:09 -07:00
Mouse Reeve
558c9c4d67 Sort edition list for better import results from inventaire 2021-05-05 07:53:10 -07:00
Joachim
1f747e4f68
Merge branch 'main' into list-style-fixes 2021-05-05 16:06:48 +02:00
Mouse Reeve
dcde3ded95
Merge pull request #1049 from bookwyrm-social/datepicker
Datepicker
2021-05-05 07:00:07 -07:00
Mouse Reeve
f0cb82dd26
Merge pull request #1050 from bookwyrm-social/urls
Use reverse lookups for urls
2021-05-04 10:45:41 -07:00
Mouse Reeve
5906588c86 Fixes shelf add test 2021-05-04 10:33:16 -07:00
Mouse Reeve
b10f0b19c4 Removes outdated test 2021-05-04 09:49:24 -07:00
Mouse Reeve
c9ed069121 Use example url in test 2021-05-04 09:47:00 -07:00
Mouse Reeve
906201fa2a Fixes notification import link 2021-05-04 09:45:13 -07:00
Mouse Reeve
7bbef1d193 Removes outdated test 2021-05-04 09:42:00 -07:00
Mouse Reeve
748810cd41 Use reverse lookups for urls 2021-05-04 09:34:16 -07:00
Mouse Reeve
869cfa6d34 Replaces date elements with datepicker 2021-05-04 09:04:21 -07:00
Mouse Reeve
33ca7b4b76 Adds datepicker script dependencies to templates 2021-05-04 08:54:53 -07:00
Mouse Reeve
11b8da168a Merge branch 'main' into shelf-pagination 2021-05-03 15:02:22 -07:00
Mouse Reeve
bc80c017aa Python formatting 2021-05-03 14:52:24 -07:00
Mouse Reeve
7dfc991468 Adds elided page range to shelf pagination 2021-05-03 14:47:27 -07:00
Mouse Reeve
a81901f9fe Re-adds "manually add book" link 2021-05-03 11:20:43 -07:00
Mouse Reeve
7db8e249cc
Merge pull request #1037 from bookwyrm-social/search-bug
Fixes error on empty search results
2021-05-03 10:57:53 -07:00
Mouse Reeve
93959fc600
Merge pull request #1036 from SavinaRoja/pagination-list
pagination list navigation using a range of pages such as provided by get_elided_page_range
2021-05-03 10:57:38 -07:00
Mouse Reeve
df1c324d2d Updates test 2021-05-03 10:46:02 -07:00
Joachim
4c021e6357 Add Mobile styles 2021-05-02 21:34:43 +02:00
Mouse Reeve
c47f672238 Removes aria-hidden from covers 2021-05-02 06:59:47 -07:00
Mouse Reeve
db6246e359 Fixes error on empty search results 2021-05-01 22:20:23 -07:00
Mouse Reeve
ddf5022970
Merge pull request #1033 from bookwyrm-social/search-changes
Search changes
2021-05-01 19:15:40 -07:00
Mouse Reeve
97aeaa9cd7 Uses empty queryset for forced no results mode 2021-05-01 19:05:46 -07:00
Mouse Reeve
f94a3ec63b Mocks list create in test 2021-05-01 18:05:21 -07:00
Pablo Barton
e71a0dd7e8 pagination list navigation using a range of pages such as provided by get_elided_page_range 2021-05-01 19:30:43 -04:00
Mouse Reeve
037362e49f Adds labels for form elements 2021-05-01 10:55:10 -07:00
Mouse Reeve
bb50bd8121 Python formatting 2021-05-01 10:49:34 -07:00
Mouse Reeve
c42be7a589 Adds pagination 2021-05-01 10:47:01 -07:00
Mouse Reeve
64b54510d9 Updates unit tests 2021-05-01 10:39:05 -07:00
Mouse Reeve
3ee63fdab4
Merge pull request #1034 from bookwyrm-social/dm-bug
Removes extra "content" field in status editor that broke dms
2021-05-01 07:32:18 -07:00
Mouse Reeve
ad8666ebec Removes extra "content" field in status editor that broke dms 2021-05-01 07:20:54 -07:00
Mouse Reeve
f9c1ecfabe Fixes bad whitespace 2021-04-30 20:16:34 -07:00
Mouse Reeve
5f7191a976 Safer logged out search 2021-04-30 20:09:43 -07:00
Mouse Reeve
9caad56ffc Don't allow remote search results for logged out users 2021-04-30 20:08:05 -07:00
Mouse Reeve
499c4e3267 Don't search remote sources by default 2021-04-30 19:56:29 -07:00
Mouse Reeve
cb6c0035d7 List and user previews 2021-04-30 19:19:10 -07:00
Mouse Reeve
21a5147c3c Controls search type 2021-04-30 18:59:02 -07:00
Mouse Reeve
cf80e4edde
Merge pull request #1032 from bookwyrm-social/link-fix
Fixes link on follow pages
2021-04-30 18:35:54 -07:00
Mouse Reeve
5ca9d2a7b0 Adds search templates 2021-04-30 18:35:09 -07:00
Mouse Reeve
4b73c37126 Separate out search types 2021-04-30 18:17:09 -07:00
Mouse Reeve
f55ded092c Fixes link on follow pages 2021-04-30 16:44:14 -07:00
Mouse Reeve
f2a6cfb4f3 Remove deduplication of external search results 2021-04-30 16:04:27 -07:00
Mouse Reeve
a2621bce12 Fixes getting authors from work data 2021-04-30 15:48:52 -07:00
Mouse Reeve
b8711c820f
Merge pull request #1027 from arkhi/frontend-book-cover
Fix lists layout for user
2021-04-30 13:59:05 -07:00
Mouse Reeve
735ef369b9
Merge pull request #1020 from bookwyrm-social/notification-color
Only make notification count red for mentions
2021-04-30 13:49:57 -07:00
Mouse Reeve
de017ca7ce
Merge pull request #1021 from bookwyrm-social/following-display
Cleans up user/followers/following pages
2021-04-30 13:49:44 -07:00
Mouse Reeve
dcc54e8421
Merge pull request #1022 from bookwyrm-social/footer-bonus
Let instance admins add a column of whatever they want in the footer
2021-04-30 13:49:22 -07:00
Fabien Basmaison
544e29fe76 Fix lists layout for user. 2021-04-30 22:44:53 +02:00
Mouse Reeve
a502a0c51d
Merge branch 'main' into following-display 2021-04-30 13:40:01 -07:00
Mouse Reeve
c373a0b818 Highlight report notifications 2021-04-30 13:38:03 -07:00
Mouse Reeve
01f2d80cbd Show book descriptions in list items 2021-04-30 13:21:19 -07:00
Mouse Reeve
e3aaf9b356
Merge pull request #1024 from bookwyrm-social/languge-code-fix
Fixes loading inventaire data by language code
2021-04-30 13:09:01 -07:00
Mouse Reeve
9fea070398
Update bookwyrm/management/commands/initdb.py
Co-authored-by: Joachim <joachim.robert@protonmail.com>
2021-04-30 12:53:57 -07:00
Mouse Reeve
122e0cbd6d Python formatting 2021-04-30 12:52:20 -07:00
Mouse Reeve
485d20696b Fixes loading inventaire data by language code 2021-04-30 12:50:35 -07:00
Mouse Reeve
b4ef800505 Hide start list item in readthrough if absent 2021-04-30 12:07:59 -07:00
Mouse Reeve
900e7feb1b Moved reviews into center column on books page 2021-04-30 12:06:21 -07:00
Mouse Reeve
57454afa42 Creates visual separation between reading activity and reviews 2021-04-30 12:02:19 -07:00
Mouse Reeve
974de9e4c2 Removes set goal link from user page
It's already in the tabs
2021-04-30 11:47:28 -07:00
Mouse Reeve
0d7ffbc175 Hide user status tabs when there are none 2021-04-30 11:34:59 -07:00
Mouse Reeve
4b53342fd2 Fixes mock in unit test 2021-04-30 11:26:02 -07:00
Mouse Reeve
b8fc4f99a3 Don't calculate mutuals for logged out users 2021-04-30 11:11:18 -07:00
Mouse Reeve
00815b3105 Python formatting 2021-04-30 11:09:06 -07:00
Mouse Reeve
f747babb43 Changes column spacing 2021-04-30 11:03:36 -07:00
Mouse Reeve
e15d6654e3 Free text field for the site footer 2021-04-30 10:42:27 -07:00
Mouse Reeve
ca12359bee Fixes unit tests 2021-04-30 10:16:24 -07:00
Mouse Reeve
62884c6111 Show mutual counts instead of totals for other users 2021-04-30 09:50:11 -07:00
Mouse Reeve
4dacf4df3a Refactor get_user_from_username to raise 404 directly 2021-04-30 09:33:36 -07:00
Mouse Reeve
d810d1bb8c Remove duplicate check for user blocks 2021-04-30 09:26:02 -07:00
Mouse Reeve
b65d0d05c9 Tabs for relationship views 2021-04-30 09:23:59 -07:00
Mouse Reeve
418e656aea Uses layout for followers/following page 2021-04-30 09:17:46 -07:00
Mouse Reeve
e4cecf2874 Coherent logic on which tabs show in the user page 2021-04-30 09:02:14 -07:00
Mouse Reeve
862ef83536 Move user templates into more subdirectories 2021-04-30 08:47:04 -07:00
Mouse Reeve
d2355fef96 Consistent display on followers/following pages 2021-04-30 08:23:02 -07:00
Mouse Reeve
2867d703cc Fixes python formatting 2021-04-30 07:57:38 -07:00
Mouse Reeve
454dd25681 Only make notification count red for mentions 2021-04-30 07:49:34 -07:00
Mouse Reeve
b4c155f134
Merge pull request #1019 from bookwyrm-social/change-password-url
Fixes invalid url breaking change password flow
2021-04-30 06:53:30 -07:00
Mouse Reeve
aa3cdee731 Fixes invalid url breaking change password flow 2021-04-30 06:43:43 -07:00
Fabien Basmaison
bcafc1bc6a Merge branch 'main' into frontend-book-cover 2021-04-30 09:54:42 +02:00
Mouse Reeve
e126c13ff7
Merge pull request #1018 from bookwyrm-social/fix-rating
Test for failing rate federation
2021-04-29 15:29:19 -07:00
Mouse Reeve
d61ba2e474 Fixes review rating serialization 2021-04-29 15:16:51 -07:00
Mouse Reeve
daf65e230d Test for failing rate federation 2021-04-29 14:43:14 -07:00
Mouse Reeve
3feba60665 Fixes test 2021-04-29 13:54:17 -07:00
Mouse Reeve
6983018d5e Merge branch 'main' into suggested_user_logic 2021-04-29 13:42:05 -07:00
Mouse Reeve
6f38ab167e Show clarifying text for empty search when logged out 2021-04-29 13:21:35 -07:00
Mouse Reeve
f4ebecfe75 Add background to search result boxes 2021-04-29 13:15:05 -07:00
Mouse Reeve
15790abc70 Don't show broken image previews when cover is absent 2021-04-29 13:03:56 -07:00
Mouse Reeve
6d7b3e9ae7 Show/hide individual search results 2021-04-29 12:56:42 -07:00
Joachim
bbac0ad7ab Update bookwyrm.css 2021-04-29 21:51:42 +02:00
Joachim
d4dffe48a7 Update bookwyrm.css 2021-04-29 21:48:35 +02:00
Joachim
fa17386a6e Fix 2021-04-29 21:45:48 +02:00
Joachim
0a71fb094f Move counter in Ordered List 2021-04-29 21:41:43 +02:00
Joachim
b59b3e294f Arrange Sort List form fields 2021-04-29 21:41:31 +02:00
Joachim
daa7746f47 Stretch List card in list of lists 2021-04-29 21:40:54 +02:00
Mouse Reeve
9d89aaf9fc Don't let logged out viwers search for users 2021-04-29 12:18:55 -07:00
Mouse Reeve
9e2b4f61bb Make subheaders a lil smaller 2021-04-29 12:13:49 -07:00
Mouse Reeve
a31d05c694 Don't crash on books with no isbn 2021-04-29 11:31:01 -07:00
Mouse Reeve
095b60bff1 Show search result context for inventaire results 2021-04-29 11:22:09 -07:00
Mouse Reeve
d1b788b61f Adds inventaire link to book page 2021-04-29 11:14:20 -07:00
Mouse Reeve
d1b5f3b6f0 Fixes ranks and normalizes isbns 2021-04-29 11:06:05 -07:00
Mouse Reeve
7853610a20 Load descriptions correctly 2021-04-29 10:54:36 -07:00
Mouse Reeve
b1c38d291c Set preferred language 2021-04-29 10:40:49 -07:00
Mouse Reeve
ca86af22ce Get inventaire entity descriptions 2021-04-29 10:30:38 -07:00
Mouse Reeve
cfd2c05ae2 Safely handle absent claims field 2021-04-29 10:12:56 -07:00
Mouse Reeve
8d38d1c9d1 Python formatting 2021-04-29 09:56:35 -07:00
Mouse Reeve
f4800307b4 Adds isbn search 2021-04-29 09:54:42 -07:00
Mouse Reeve
0a41503572 Adds a couple more tests and test data 2021-04-29 09:06:17 -07:00
Mouse Reeve
fc095a087c Adds search result test 2021-04-29 08:36:49 -07:00
Mouse Reeve
5e5392c007 Adds test file 2021-04-28 17:20:14 -07:00
Mouse Reeve
95fce963d1 Images may already be absolute paths 2021-04-28 17:18:14 -07:00
Mouse Reeve
8eec3eca5b Don't spin out infinite load data tasks 2021-04-28 16:42:27 -07:00
Mouse Reeve
6551c59c45 Don't store default edition in the dataase 2021-04-28 16:05:17 -07:00
Mouse Reeve
ccf10e8012 Fixes cover load logic 2021-04-28 13:50:47 -07:00
Mouse Reeve
3faacffaca Associated expanded editions with correct work 2021-04-28 13:28:07 -07:00
Fabien Basmaison
91c42b497e cover: Tweak width and height of cover on feeds. 2021-04-28 20:54:35 +02:00
Mouse Reeve
e2b43bbd6d Fixes unit test 2021-04-28 09:33:38 -07:00
Fabien Basmaison
b0f414570b cover: Fix code that was reverted during a merge conflict. 2021-04-28 15:42:22 +02:00
Fabien Basmaison
5c8710c1c4 cover: Add removed link on Editions. 2021-04-28 15:08:58 +02:00
Fabien Basmaison
e37cbcd88d cover: Comment CSS rules a bit more and add rules for consistency. 2021-04-28 15:02:47 +02:00
Fabien Basmaison
bba60c99e9 cover: Rearrange some CSS rules. 2021-04-28 14:48:25 +02:00
Fabien Basmaison
baaaeef4c0 cover: Fix little details. 2021-04-28 10:47:14 +02:00
Fabien Basmaison
7c875b2ac2 cover: Update /post?status_type=TYPE&book=ID 2021-04-27 21:52:28 +02:00
Fabien Basmaison
30b273f193 cover: Update shelf (/user/arkhi/books/to-read, etc.) 2021-04-27 21:35:05 +02:00
Fabien Basmaison
8a1c8cb061 cover: Update goal:
- Remove `.content` from template when not dealing with markdown-generated markup.
- Fix some duplicated CSS selectors.
2021-04-27 21:07:54 +02:00
Fabien Basmaison
182c18fe54 cover: Update /user/USERNAME. 2021-04-27 20:53:30 +02:00
Fabien Basmaison
d936417ddb cover: Update /book/ID/edit. 2021-04-27 20:44:06 +02:00
Fabien Basmaison
a5359d1f80 cover: Update author. 2021-04-27 20:30:10 +02:00
Fabien Basmaison
8d53b7589f cover: Update /get-started/books:
- Remove `.content` from templates.
- Remove a stray unclosed label.
2021-04-27 17:23:37 +02:00
Fabien Basmaison
d8b6676976 cover: Udpate logged out home and discover. 2021-04-27 16:27:39 +02:00
Fabien Basmaison
8ddc292ee6 cover: Change the logic again:
- Work on feeds.
- Add `.is-cover` to modify the behaviours of columns.
- Only apply logic for dimensions on the cover container; too many contextual side effects otherwise.
- Add classes to dimension and align, including auto margins for flex.
- Rename classes in templates accordingly.
2021-04-27 16:24:20 +02:00
Fabien Basmaison
56d821970a Merge branch 'main' into frontend-book-cover 2021-04-27 09:16:10 +02:00
Mouse Reeve
7b65291a59 Python formatting for the new Black standard 2021-04-26 14:43:29 -07:00
Mouse Reeve
85297426e0 Adds merge migration 2021-04-26 14:33:16 -07:00
Mouse Reeve
64c2313a5d Merge branch 'main' into inventaire 2021-04-26 14:22:05 -07:00
Mouse Reeve
ce0e90d472
Merge pull request #961 from bookwyrm-social/django-3-2
Update to django 3.2
2021-04-26 14:08:39 -07:00
Mouse Reeve
c5dc5e8b36
Merge pull request #1005 from bookwyrm-social/imported-ratings
Import ratings as ratings, not reviews
2021-04-26 14:07:06 -07:00
Mouse Reeve
674c4a99df Adds missing data file 2021-04-26 13:56:09 -07:00
Mouse Reeve
55eb1c4526 Fixes model name 2021-04-26 13:50:43 -07:00
Mouse Reeve
4deb94714c Adds test for import rating 2021-04-26 13:49:19 -07:00
Mouse Reeve
d4dbfbe3c0
Merge pull request #1003 from bookwyrm-social/list-fixes
Improve list suggestion experience
2021-04-26 13:48:26 -07:00
Mouse Reeve
7006f30ac8 Uses unique test model name 2021-04-26 11:51:17 -07:00
Mouse Reeve
398ecd545e
Merge pull request #1008 from bookwyrm-social/show-rating
Show rating in statuses
2021-04-26 11:47:55 -07:00
Mouse Reeve
5bb341ba52 Use copy of requests GET params in list redirect 2021-04-26 11:43:13 -07:00
Mouse Reeve
ff8601f329 Fixes spacing for new Black release 2021-04-26 11:37:07 -07:00
Mouse Reeve
b16ac91b16 Python formatting 2021-04-26 11:34:04 -07:00
Mouse Reeve
df31ac9742 Show rating in statuses 2021-04-26 11:33:17 -07:00
Mouse Reeve
cd869dde09 Fixes tests of bookwyrm abstract model 2021-04-26 11:28:33 -07:00
Mouse Reeve
141d1a9a17 Adds auto field setting to avoid hella warnings 2021-04-26 11:22:08 -07:00
Mouse Reeve
32b3a02a17 Fixes reverse rank calculation 2021-04-26 11:14:26 -07:00
Mouse Reeve
5b5da46ede Merge branch 'main' into suggestions-redis 2021-04-26 10:43:25 -07:00
Mouse Reeve
5d9cfe0276 Fixes followers/following logic on suggested users 2021-04-26 10:37:10 -07:00
Mouse Reeve
8b154b69fb Fixes follower/following logic in suggested user annotations 2021-04-26 10:35:37 -07:00
Mouse Reeve
786cf4fb97 Paginate followers/following pages 2021-04-26 10:26:49 -07:00
Mouse Reeve
99efe6b290 Limit how many notifications are loaded 2021-04-26 10:11:13 -07:00
Mouse Reeve
c2ffdb8f03 Import ratings as ratings, not reviews 2021-04-26 10:04:33 -07:00
Mouse Reeve
7fcf48e84d Adds success notification for adding books to lists 2021-04-26 09:57:01 -07:00
Mouse Reeve
1edd00a0d1 Merge branch 'main' into list-fixes 2021-04-26 09:44:55 -07:00
Mouse Reeve
3ade2d3bb1 New version of black, new whitespace 2021-04-26 09:15:42 -07:00
Mouse Reeve
0f6b5cc6be Filter list search results to hide already added books 2021-04-26 08:02:30 -07:00
Mouse Reeve
0cb80aeb55 Preserve search results after adding a book 2021-04-26 07:24:03 -07:00
Fabien Basmaison
b089f6c86a Update Bulma from v0.9.1 to v0.9.2. 2021-04-26 15:20:48 +02:00
Fabien Basmaison
26cacf502c Rationalise behaviours of context, container and cover:
- Set minimum dimensions to avoid having to pass classes all over the place.
- Outline the container to show white on white covers properly.
- Remove extraneous code.
- Better size caption when no cover is available.
- Create Alignments, Positions and Spacings sections and move some existing dimensions.
- Update previous templates.
2021-04-26 13:39:17 +02:00
Fabien Basmaison
30bed6c963 Merge branch 'main' into frontend-book-cover 2021-04-26 11:35:10 +02:00
Mouse Reeve
ef83eb33b0
Merge pull request #993 from bookwyrm-social/find-own-book-content
Find own book content
2021-04-25 11:37:00 -07:00
Joachim
e92166c7f7 Directory: Homogenize cards heights
When the content of a profile card stretches it in height, the grid is not homogenous. This PR adds a CSS class that'll display cards as stretchable columns. The card content will be able to grow, which should always place the card footer at the bottom of the card.
2021-04-25 20:05:31 +02:00
Mouse Reeve
2fd8e12b96
Merge pull request #974 from joachimesque/list-table
Add mobile styles for book preview table
2021-04-25 10:42:27 -07:00
Mouse Reeve
aa557e4758
Merge pull request #971 from joachimesque/smaller-statuses-dense-cards
Move some status footer elements to the header
2021-04-25 10:39:23 -07:00
Fabien Basmaison
a268f339c0 Fix linting issues. 2021-04-25 15:45:49 +02:00
Fabien Basmaison
953dff90bb cover: tweak styles:
- `optimizeQuality` > `smooth` (CSS language evolution)
- Use `auto` instead of a fixed width.
- Add exceptions for heights and apply them to some previously modified templates.
- Remove `is-large` exception.
- Widen the content column on list curation.
2021-04-25 15:37:46 +02:00
Fabien Basmaison
23985e4357 Merge branch 'main' into frontend-book-cover 2021-04-25 11:24:21 +02:00
Mouse Reeve
bb44ede2e7 Show book preview in full statuses on mobile 2021-04-24 12:56:53 -07:00
Fabien Basmaison
cf5a4ebe90 Fix typo:
Addresses https://github.com/bookwyrm-social/bookwyrm/pull/994#discussion_r619688900.
2021-04-24 21:27:05 +02:00
Fabien Basmaison
eea8b4e750 cover: Handle covers with specific heights:
- Have an explicit contextual class on `cover-container`.
- Use more flexible, consistent and searchable variable name for passing classes to covers.
- Consistently use `'…'` with django variables.
- Give the option to not hide covers to screen readers.
- consitently give a title to the cover container if `alt_text` exists.
- [lists] Remove `.content` which is applying too extensive default styles.
2021-04-24 21:27:05 +02:00
Joachim
04e1806482 Update status_header.html 2021-04-24 20:47:39 +02:00
Joachim
59ed49f082 Update status_header.html 2021-04-24 20:39:54 +02:00
Mouse Reeve
4fb85ced5f Updates logic for new and newly discoverable users 2021-04-24 11:16:35 -07:00
Joachim
e06154c457
Merge branch 'main' into smaller-statuses-dense-cards 2021-04-24 20:07:13 +02:00
GuDzpoz
72d92343aa zh-cn should be zh-hans 2021-04-24 22:32:04 +08:00
Mouse Reeve
deb1257114
Merge pull request #995 from bookwyrm-social/show-subtitles
Show subtitles when titles are very short
2021-04-24 06:58:00 -07:00
Fabien Basmaison
783cc6edf0 cover: List curation:
- Reduce Padding around covers.
- Remove `content` which is applying too extensive default styles.
- Style headings.
- Replace table with definition list.
- Clip cover container to avoid caption overflowing.
2021-04-24 15:49:30 +02:00
Fabien Basmaison
75a69988e4 cover: List:
- Reduce Padding around covers.
- Remove `content` which is applying too extensive default styles.
2021-04-24 14:24:25 +02:00
Fabien Basmaison
32fb06c9e6 Prevent stars from wrapping on multiple lines. 2021-04-24 13:23:03 +02:00
Fabien Basmaison
9ea91d8e7c cover: Search layout: Reduce padding around covers. 2021-04-24 12:56:38 +02:00
Fabien Basmaison
7f0b3184a1 cover: Use book-cover as component:
- Avoid specifying context-dependent values in CSS for components. Those values can be defined by the context calling the component.
- Use `<figure>` with optional caption.
- Reduce redundant markup.
- Allow more variables to be passed to the book-cover (image path and class for the container).
- Hide the book cover to screen readers.
2021-04-24 12:48:55 +02:00
Mouse Reeve
9880bdc75b Move anntotated users quuery into suggested users module 2021-04-23 18:26:48 -07:00
Mouse Reeve
dda21195de Correct calls to annotated user set 2021-04-23 16:34:04 -07:00
Mouse Reeve
179ba24115 Safely handle invalid book 2021-04-23 15:29:55 -07:00
Mouse Reeve
a499259163 Fixes python formatting 2021-04-23 15:01:35 -07:00
Mouse Reeve
9ba0aec6d9 Show subtitles when titles are very short 2021-04-23 14:58:48 -07:00
Mouse Reeve
126594ec49 Cleans up queryset declarations 2021-04-23 13:47:13 -07:00
Mouse Reeve
888930f891 User request path for pagination 2021-04-23 13:35:12 -07:00
Mouse Reeve
d2b2065db8 Show user's book content 2021-04-23 13:32:58 -07:00
Mouse Reeve
cbdf573261
Merge pull request #991 from bookwyrm-social/character-encoding
Fixes character encoding bug
2021-04-23 12:06:04 -07:00
Mouse Reeve
d31827e5aa
Merge pull request #975 from reesporte/main
spanish translation updates
2021-04-23 12:03:03 -07:00
Mouse Reeve
013d5f1db3
Merge pull request #987 from bookwyrm-social/duplicate-boosts
Don't broadcast boosts twice
2021-04-23 11:58:01 -07:00
Mouse Reeve
607e98b331 Fixes character encoding error 2021-04-23 11:53:45 -07:00
Mouse Reeve
c907b1ff09 Test to replicate character encoding bug 2021-04-23 11:07:19 -07:00
Mouse Reeve
79424f7bfb Python formatting 2021-04-23 10:56:17 -07:00
Mouse Reeve
32e694032b Fixes duplicate boost model verification 2021-04-23 10:49:17 -07:00
Joachim
de19c7d7a6 Update status_header.html 2021-04-23 18:38:33 +02:00
Mouse Reeve
b457446f2f Don't save duplicate boosts 2021-04-22 19:36:27 -07:00
Mouse Reeve
f9c40aadd9 Python formatting 2021-04-22 18:30:58 -07:00
Mouse Reeve
74ccaf27fa Tag removal migration 2021-04-22 18:23:23 -07:00
Mouse Reeve
a3f91d991f Remove tag form 2021-04-22 18:19:42 -07:00
Mouse Reeve
563623616c Merge branch 'main' into remove-tags 2021-04-22 18:18:24 -07:00
Mouse Reeve
9148f36719 Fixes duplicate boosts 2021-04-22 18:16:00 -07:00
Mouse Reeve
adb8f6f90f
Merge pull request #986 from bookwyrm-social/scroll-behavior
Removes scroll padding
2021-04-22 14:38:46 -07:00
reese
6915b195ce translated some strings 2021-04-22 16:28:57 -05:00
Mouse Reeve
c6e8161a9f Removes scroll padding 2021-04-22 13:08:22 -07:00
Joachim
15c7a1dc82 Update bookwyrm.css 2021-04-22 20:57:24 +02:00
Joachim
6c89eb1b65 Update bookwyrm_tags.py 2021-04-22 20:48:25 +02:00
Joachim
15241e3807 ……… come back another day 2021-04-22 20:48:06 +02:00
Joachim
ebf20de10e linter linter go away 2021-04-22 20:45:16 +02:00
Joachim
00e6d0524f Accessibility: add language to lang attr on html tag
I only use the first subtag of the language string given by `get_language()`, because `get_language()` returns an all-lowercase string, and I don't know if it'll be considered valid by browsers.
2021-04-22 20:41:58 +02:00
Mouse Reeve
c455585262 Adds missing data file 2021-04-22 10:30:00 -07:00
Mouse Reeve
3ed822b9ea Don't erase follows on update 2021-04-22 10:28:10 -07:00
Mouse Reeve
a797b68558 Adds test that replicates follower deletion bug 2021-04-22 10:22:37 -07:00
Mouse Reeve
7bad8ac354
Merge pull request #982 from bookwyrm-social/flower-errors
Flower errors
2021-04-22 09:50:08 -07:00
Mouse Reeve
cfa424ca59 Fixes nondeterministic test outcome 2021-04-22 09:37:24 -07:00
Mouse Reeve
e9dc63e296 Only remove objects that are known 2021-04-22 09:25:12 -07:00
Mouse Reeve
c7daf27baf Adds migration for last edited by field 2021-04-22 09:06:26 -07:00
Mouse Reeve
9c87c91c62
Merge pull request #979 from bookwyrm-social/allow-refollow
Allow refollow
2021-04-22 08:56:48 -07:00
Mouse Reeve
4a73894802
Merge pull request #978 from bookwyrm-social/federation-bugs
Federation bugs
2021-04-22 08:42:47 -07:00
Mouse Reeve
6b84e53ddd Send accepts to duplicate follow requests 2021-04-22 08:40:32 -07:00
Mouse Reeve
d5b27e2202 Test re-following a user 2021-04-22 08:31:32 -07:00
Mouse Reeve
dd0aa7a123 Test that remote user is being set on books 2021-04-22 08:08:03 -07:00
Mouse Reeve
db09ca4331 Adds last edited by to author 2021-04-22 07:51:06 -07:00
Mouse Reeve
c405580e8e Updates edition federation test 2021-04-22 07:37:12 -07:00
Mouse Reeve
ae5e744731 Save last edited by user 2021-04-22 07:29:09 -07:00
Mouse Reeve
1472f7d919 Restores markdown rendering in book description previews 2021-04-22 06:58:21 -07:00
Joachim
2749e6ad95 Fix CSS for linter 2021-04-21 22:36:07 +02:00
Joachim
7a5ea31ee7 Fix progress display in title 2021-04-21 22:32:26 +02:00
Joachim
0b0a283e64 Fix buttons styles 2021-04-21 22:32:14 +02:00
Joachim
b1fea98458 Use one card-footer-item per footer button 2021-04-21 22:31:27 +02:00
Joachim
415a12cf78 Move H3 tag 2021-04-21 22:30:52 +02:00
Mouse Reeve
85b1c920cd
Merge pull request #973 from joachimesque/dropdown-style
Dropdown component design fixes
2021-04-21 13:08:41 -07:00
Joachim
53b47aa264 Revert "Move card footer container inside the card-footer component"
This reverts commit 58aeb72afa.
2021-04-21 21:48:31 +02:00
Joachim
17436b6657 Header fixes 2021-04-21 21:48:19 +02:00
Joachim
720109564d Fix condition 2021-04-21 21:35:42 +02:00
Joachim
265c38e877 Update direct message button style 2021-04-21 21:31:58 +02:00
Joachim
e4836bd9b3 Fix for lint 2021-04-21 21:29:28 +02:00
Joachim
2ae9085e55 Vertically align cells in desktop view 2021-04-21 21:26:20 +02:00
Joachim
482774f1e1 Add mobile styles for book preview table 2021-04-21 21:25:37 +02:00
Joachim
2987029a7d Remove useless style on non-dropdown element 2021-04-21 19:37:12 +02:00
Joachim
c86800be01 Remove padding and add radius to menu
Without padding, the children's lack of radius mask the radius. Using is-clipped helps clip with the parent's radius
2021-04-21 19:36:59 +02:00
Joachim
df72061c57 Improve menu action styles 2021-04-21 19:36:11 +02:00
Joachim
544dbda4ad Move menu item styles to menu item 2021-04-21 19:35:50 +02:00
Joachim
f01b7fbd15 Design and a11y fixes on Create Status forms
- Use `field` CSS class to better respect Bulma styles
- Fix buggy `id` on content field, causing a11y problems
- Fix progress control & select styles
- Various small style fixes
2021-04-21 18:34:04 +02:00
Joachim
2cacf5146b
Merge branch 'main' into smaller-statuses-dense-cards 2021-04-21 17:40:20 +02:00
Joachim
f7adaee0ed Verbosify buttons 2021-04-21 17:35:55 +02:00
Joachim
13957c2f44 Move footer some items to header
- Header elements are now enclosed in a media layout
- Footer elements are not in a card-footer anymore
2021-04-21 17:32:35 +02:00
Joachim
58aeb72afa Move card footer container inside the card-footer component 2021-04-21 17:23:48 +02:00
Mouse Reeve
914f617689 Cleans up imports 2021-04-20 14:06:45 -07:00
Mouse Reeve
d62cf3fecb Merge branch 'main' into smaller-statuses 2021-04-20 14:02:23 -07:00
Mouse Reeve
92bd5ab291
Merge pull request #970 from bookwyrm-social/display-fixes
Display fixes
2021-04-20 13:59:32 -07:00
Mouse Reeve
f4abd7b797 Linter fix 2021-04-20 13:50:53 -07:00
Mouse Reeve
5fc1e3f2fe Fixes merge regression for localized timestamps 2021-04-20 13:50:05 -07:00
Mouse Reeve
afde94d4c2
Merge branch 'main' into smaller-statuses 2021-04-20 13:48:21 -07:00
Mouse Reeve
baa423bb69
Merge pull request #967 from bookwyrm-social/date-localization
Fixes localization weirdness with dates
2021-04-20 13:44:34 -07:00
Mouse Reeve
2e12d54687
Merge pull request #966 from bookwyrm-social/user-admin
User admin
2021-04-20 13:43:51 -07:00
Mouse Reeve
c07dcb5458 Remove spaceless templatetags that cause rendering issues in statuses 2021-04-20 13:38:25 -07:00
Mouse Reeve
7012f95d6d Use input instead of textarea for series 2021-04-20 13:07:55 -07:00
Mouse Reeve
d47bbde651 Only one row of footer on list items 2021-04-20 13:02:43 -07:00
Mouse Reeve
b22d1863c9 More robust user page test and bug fix 2021-04-20 12:31:45 -07:00
Mouse Reeve
cbccb07252 Fixes display of replies 2021-04-20 11:18:59 -07:00
Mouse Reeve
9e5ebf9807 Move stars into header for ratings 2021-04-20 11:06:14 -07:00
Mouse Reeve
07dbc4c6c0 Much longer "full" version of trimmed text 2021-04-20 09:56:01 -07:00
Mouse Reeve
978760475f More compact display of statuses 2021-04-20 09:54:02 -07:00
Mouse Reeve
2c013b677b Patch broadcast in test 2021-04-19 20:01:29 -07:00
Mouse Reeve
63509c954d Adds test for changing user group 2021-04-19 18:12:55 -07:00
Mouse Reeve
0a37b4665c Adds control for moderator to set user group 2021-04-19 17:29:29 -07:00
Mouse Reeve
e1d24577d4 Fixes tests (again) 2021-04-19 16:42:51 -07:00
Mouse Reeve
11aa8baa53 Fixes tests and notifications page 2021-04-19 16:33:28 -07:00
Mouse Reeve
6a50c021ce Try naturalday for published date 2021-04-19 16:30:15 -07:00
Mouse Reeve
70a819951e Fixes localization weirdness with dates 2021-04-19 16:18:29 -07:00
Mouse Reeve
35cb3fa8fc Updates tests 2021-04-19 16:08:01 -07:00
Mouse Reeve
da19089d34 Changes language from "deactivate" to "suspend" 2021-04-19 15:55:28 -07:00
Mouse Reeve
1542866b6c Adds user admin view 2021-04-19 15:40:51 -07:00
Mouse Reeve
0dd8b33991 Moves user admin templates into snippets 2021-04-19 15:19:55 -07:00
Mouse Reeve
788e282dce Moves user admin pages into their own directory 2021-04-19 15:12:36 -07:00
Mouse Reeve
0947b79fb1 Python formatting 2021-04-19 15:06:33 -07:00
Mouse Reeve
91aa6fa95f Remove unneeded page checking logic 2021-04-19 15:01:20 -07:00
Mouse Reeve
77775d9bf8 Remove superfluous calls to all() 2021-04-19 14:47:59 -07:00
Mouse Reeve
d69ce8cbbd
Merge pull request #923 from SavinaRoja/584-sorting-lists
584 sorting of lists
2021-04-19 14:37:50 -07:00
Pablo Barton
fa75438070 per review, removing custom pagination for booklist and handling all pending books at the end of the list 2021-04-18 14:46:28 -04:00
Mouse Reeve
43a785b6c5
Merge pull request #959 from arkhi/editions-list
Display book identifiers in the list of Editions
2021-04-18 09:37:34 -07:00
Fabien Basmaison
415d6c4e3f Remove spacing between publisher info blocks. 2021-04-18 18:24:32 +02:00
D Anzorge
7a2731aef4 Use object ids with our instance base path for follow accept/reject 2021-04-18 18:08:13 +02:00
Pablo Barton
afd1cdc2a8 adjust test 2021-04-18 11:52:22 -04:00
Pablo Barton
3d0de5bea8 approving list items puts them at the end of the list 2021-04-18 11:15:42 -04:00
Fabien Basmaison
66c72c8b41 Add book identifiers to list of Editions:
- Add template for identifiers.
- Remove `space-between` that adds too much space on narrow views.
- Apply the `content` class only on publisher infos to avoid applying automatic styles to the description list.
2021-04-18 15:59:02 +02:00
Pablo Barton
602c8c83ba black 2021-04-17 22:09:00 -04:00
Pablo Barton
9031184176 addressing some review 2021-04-17 21:31:38 -04:00
Mouse Reeve
2914eea281 Catch user not found errors in feed 2021-04-17 18:23:33 -07:00
Mouse Reeve
02e6602a0b Reject statuses from deactivated remote users 2021-04-17 17:55:22 -07:00
Mouse Reeve
8421a2e832 Clarifies logic in if statement 2021-04-17 15:14:23 -07:00
Mouse Reeve
44528eaa09 Don't double-override to_activity 2021-04-17 13:31:37 -07:00
Mouse Reeve
ebdbdc8790 Broadcast deletions 2021-04-17 13:19:23 -07:00
Mouse Reeve
5b7f2007e8 Broadcast user deletions 2021-04-17 12:51:36 -07:00
Mouse Reeve
5df2ac676b Fixes error on deletion requests for unknown users 2021-04-17 12:51:30 -07:00
Mouse Reeve
779f44e9bd
Merge pull request #954 from bookwyrm-social/ap-image
Handle both Image and Document types
2021-04-17 12:11:41 -07:00
Mouse Reeve
020e6f74ef Python formatting 2021-04-17 11:57:06 -07:00
Mouse Reeve
8548cc99db
Merge pull request #946 from bookwyrm-social/ap-questions
Gracefully handle expect but unsupported activities
2021-04-17 11:52:40 -07:00
Mouse Reeve
7c85b554cf Handle both Image and Document types 2021-04-17 11:47:48 -07:00
Mouse Reeve
45cf1cd7a7
Merge pull request #953 from bookwyrm-social/admin-filters
Filter reports and users by server name and username
2021-04-17 11:26:12 -07:00
Mouse Reeve
6433aa23b2 Python formatting 2021-04-17 11:09:48 -07:00
Mouse Reeve
239d927e94
Merge pull request #952 from bookwyrm-social/user-reports
Fixes form for reporting users
2021-04-17 10:56:46 -07:00
Mouse Reeve
10cf189312 Filter reports and users by server name and username 2021-04-17 10:56:26 -07:00
Mouse Reeve
e0c16b21e9 Fixes form for reporting users 2021-04-17 10:28:03 -07:00
Mouse Reeve
01cfa9dde9 Show more info on report page about user and instance 2021-04-17 10:12:50 -07:00
Pablo Barton
f6824268ed 584 sorting of lists 2021-04-16 22:17:15 -04:00
Mouse Reeve
bd294cce83 Check if obj exists for updates 2021-04-16 15:17:55 -07:00
Mouse Reeve
caa261f4bf Gracefully handle expect, unsupported activities 2021-04-16 15:12:38 -07:00
Mouse Reeve
80ea459711 Suitable test name and comment 2021-04-15 17:57:02 -07:00
Mouse Reeve
da453f8056 Adds test for populate streams management command 2021-04-15 17:43:27 -07:00
Mouse Reeve
f792dd0dac
Merge pull request #943 from bookwyrm-social/activity-serialize-errors
Activity serialize errors
2021-04-15 17:00:00 -07:00
Mouse Reeve
220fb926c9 Rename Image to Document 2021-04-15 16:35:04 -07:00
Mouse Reeve
2f493336ad Don't try to delete nonexistant objects 2021-04-15 16:24:05 -07:00
Mouse Reeve
addcc59d7f Makes cc fields optional
Plus a bit of cleanup in comments and to: fields
2021-04-15 16:21:54 -07:00
Mouse Reeve
25b82fd2b0 Updates test 2021-04-15 16:11:03 -07:00
Mouse Reeve
9176a2b9ee Fixes bug that causes recusive broadcasts 2021-04-15 15:51:49 -07:00
Joachim
71390f1735 Set body height 2021-04-15 21:51:14 +02:00
Mouse Reeve
adaaf8da67 Fixes typo in populate streams command 2021-04-15 10:29:56 -07:00
Pablo Barton
88d37736ee 902 using get_page for Paginator instead of page 2021-04-15 08:54:23 -04:00
Joachim
74573b5355
Restrict list creation form to authenticated users
When visiting the `/list` route on an instance while unauthenticated, the button to toggle the List creation form is shown. This PR aims to hide the button to unauthenticated visitors.
2021-04-14 20:07:51 +02:00
Mouse Reeve
00c6b7e6e0 Fixes regex group 2021-04-13 18:26:54 -07:00
Mouse Reeve
e8d1c04712 Fixes logic error in checking sender 2021-04-13 18:04:54 -07:00
Mouse Reeve
822e2e1a93 Python formatting 2021-04-12 15:09:50 -07:00
Mouse Reeve
a907dfdce7 Adds tests for block lists 2021-04-12 15:08:10 -07:00
Mouse Reeve
901e7f69d4 Allow admins to upload domain blocklists
Fixes #804
2021-04-12 14:23:51 -07:00
Mouse Reeve
a1e28d810d
Merge pull request #881 from mouse-reeve/domain-block
Block federation at the domain level
2021-04-12 10:41:02 -07:00
Mouse Reeve
bb352439d3 Fixes views test for federation unblock 2021-04-12 10:27:29 -07:00
Mouse Reeve
878b3c6fe8 Only reactivate appropriate users when undoing domain block 2021-04-12 10:16:03 -07:00
Mouse Reeve
93fe091034 Adds field for user deactivation reason 2021-04-12 09:51:10 -07:00
Mouse Reeve
a8abc3f649
Merge pull request #922 from void-witch/fix-date
add regression tests for published dates not being saved
2021-04-12 09:39:52 -07:00
Mouse Reeve
fa762bc107
Merge pull request #871 from SavinaRoja/857-ease-production
Easier to deploy by avoiding merge conflicts in production
2021-04-12 09:34:38 -07:00
n2no1
92e9ff6cff update links in README and {bookwyrm,celerywyrm}/settings.py files
the link to celery's homepage has been dead for at least several months
activitypub.rocks now supports tls (yay!)
the links to django's docs were for older versions of django than what bookwyrm uses
2021-04-12 11:56:26 -04:00
Mouse Reeve
8f3601d4cd Adds redis mocks to base model tests 2021-04-12 06:44:50 -07:00
Mouse Reeve
c8812c48c1 Use local user in test 2021-04-11 11:58:00 -07:00
Mouse Reeve
08586e348c Adds users to base model mock 2021-04-11 10:55:13 -07:00
Mouse Reeve
db4519b2e1 Fixes visible_to_user check for non-federated objs
why did this cause a problem _now_??
2021-04-11 10:45:08 -07:00
Mouse Reeve
659986771f Edit notes on federated servers 2021-04-11 10:36:40 -07:00
Pablo Barton
d38efa9a9d Easier to deploy by avoiding merge conflicts in production 2021-04-11 13:12:50 -04:00
Mouse Reeve
96d15d3d57 Adds merge migration 2021-04-11 10:05:36 -07:00
Mouse Reeve
77caf1a8fa Merge branch 'main' into domain-block 2021-04-11 10:02:11 -07:00
Mouse Reeve
b552634a87 Make sure goal exists before checking perms 2021-04-11 09:58:03 -07:00
Mouse Reeve
edf3fad54d Make sure user is available when testing blocks 2021-04-11 09:42:55 -07:00
Mouse Reeve
b6a7871b04 Makes visibility evaluator a model function 2021-04-11 09:31:18 -07:00
Mouse Reeve
26f16cf5a4 Limit broadcast with viewer-aware users
Removes inactive or blocked users
2021-04-11 09:09:13 -07:00
Mouse Reeve
6d76782ee1 Mocks list item remove test 2021-04-11 09:00:44 -07:00
Mouse Reeve
98ff66cd16 Don't broadcast curation rejects 2021-04-10 18:15:13 -07:00
n2no1
b293901417 add regression tests for published dates not being saved
closes #894
2021-04-10 20:21:29 -04:00
Mouse Reeve
675b34f5ad Merge branch 'main' into collection-item-refacotr 2021-04-10 16:02:54 -07:00
Mouse Reeve
89d3c3e82b Tests searching for users on blocked servers 2021-04-10 11:49:45 -07:00
Mouse Reeve
1903812b1d Class method for checking if urls are blocked 2021-04-10 11:44:29 -07:00
Mouse Reeve
0caeb3ac33 fixes inbox tests 2021-04-10 11:18:22 -07:00
Mouse Reeve
8797b3d240 Python formatting 2021-04-10 11:07:59 -07:00
Mouse Reeve
d5fbdacc02 Adds unblock view 2021-04-10 11:06:28 -07:00
Fabien Basmaison
ec2b4e533e Merge branch 'main' into frontend 2021-04-10 19:57:23 +02:00
Mouse Reeve
7b60626661 Updates block unit test 2021-04-10 10:51:45 -07:00
Fabien Basmaison
e016006ade [css] Rename all classes consistently: :shamed:
This commit addresses https://github.com/mouse-reeve/bookwyrm/pull/883#pullrequestreview-632930445.
2021-04-10 19:51:18 +02:00
Mouse Reeve
2741aa55be Makes blocking it's own view 2021-04-10 10:37:28 -07:00
Mouse Reeve
81bc25b012 Fixes create test 2021-04-10 10:24:09 -07:00
Mouse Reeve
d076162aa6 Remove edit server mode
It just doesn't really make sense
2021-04-10 10:09:36 -07:00
Mouse Reeve
c4bca42f64 Adds test for edit view GET request 2021-04-10 09:52:11 -07:00
Mouse Reeve
cca7c9a98a Adds merge migrations 2021-04-10 09:35:03 -07:00
Mouse Reeve
13d54871b7 Merge branch 'main' into domain-block 2021-04-10 09:26:01 -07:00
Mouse Reeve
1352d43cdc
Merge pull request #915 from tofuwabohu/adds-ssl-param
Adds SSL parameter
2021-04-10 09:22:04 -07:00
Fabien Basmaison
37e48988b1 Don’t use linebreak in DTL block comments. (might break the linter on the length of line) 2021-04-10 00:07:01 +02:00
Fabien Basmaison
4c4801e2da Add structured data to Book (#84). 2021-04-09 23:57:49 +02:00
tofuwabohu
a52729daae adds SSL params 2021-04-09 13:28:58 +02:00
Fabien Basmaison
4bfae00e3c Merge branch 'main' into frontend 2021-04-09 07:51:32 +02:00
Mouse Reeve
14b0b978a3 Updates shelf models tests 2021-04-08 20:58:15 -07:00
Mouse Reeve
c149003d89 Fixes fields on unknown boost test 2021-04-08 20:34:22 -07:00
Mouse Reeve
af6cab2e3f Don't reutnr an error when discarding activity objects 2021-04-08 20:03:29 -07:00
D Anzorge
5cbf7bbc71 Ensure EMAIL_USE_TLS is read as a bool 2021-04-09 04:53:18 +02:00
Mouse Reeve
e339581ade
Merge pull request #913 from mouse-reeve/edit-book-date-error
Fixes edit book form throwing error on empty dates
2021-04-08 16:54:27 -07:00
Mouse Reeve
27664e323a Fixes edit book form throwing error on empty dates 2021-04-08 16:08:35 -07:00
Mouse Reeve
fdf5113143 Removes tag code 2021-04-08 16:02:02 -07:00
Mouse Reeve
37aacee9c6 Fixes actors in inbox add/remove tests 2021-04-08 15:50:21 -07:00
Mouse Reeve
32bf510755 Updates inbox remove tests 2021-04-08 15:46:06 -07:00
Mouse Reeve
6310532ddf Updates inbox add tests 2021-04-08 15:43:19 -07:00
Mouse Reeve
ddd05a68cf Resolve and assign target collection for collection items 2021-04-08 15:40:02 -07:00
Mouse Reeve
a7375c4c13 Adds remove list item test and updates add/create tests 2021-04-08 15:24:23 -07:00
Mouse Reeve
24685187e8 Updates collection item add/remove handlers 2021-04-08 15:22:06 -07:00
Mouse Reeve
43f0d4e603 Adds activity tests to shelf views tests 2021-04-08 15:21:22 -07:00
Mouse Reeve
ee6f37d7d2 python formatting 2021-04-08 15:11:16 -07:00
Mouse Reeve
b1491c2ac6 Adds privacy and recipient details to list items 2021-04-08 15:09:56 -07:00
Mouse Reeve
1f930ba821 Updates list view tests 2021-04-08 14:51:52 -07:00
Mouse Reeve
e550f8cde6 Fixes list item fields and broadcast updates 2021-04-08 14:47:38 -07:00
Mouse Reeve
af58455ae9 Updates mock paradigm in lists tests 2021-04-08 14:20:16 -07:00
Mouse Reeve
31077a9790 Update ordered collection classes to use CollectionItem 2021-04-08 14:17:29 -07:00
Mouse Reeve
98161b9041 Use CollectionItem objects 2021-04-08 14:16:34 -07:00
Mouse Reeve
6617cede37 Loudly throw errors in inbox task 2021-04-08 14:15:58 -07:00
Mouse Reeve
45926eed34 Adds necessary user to inbox tests 2021-04-08 13:33:24 -07:00
Mouse Reeve
94764160cc Whitespace fixes 2021-04-08 12:15:47 -07:00
Mouse Reeve
9894b777b6 Separates inbox tests into multiple files 2021-04-08 12:12:18 -07:00
Mouse Reeve
0de1b8d0c3 Case insensitive remote user search 2021-04-08 09:59:21 -07:00
Mouse Reeve
779377bd0c Makes localname case insensitive 2021-04-08 09:00:32 -07:00
Fabien Basmaison
b92ff9752d [assets] Remove UI and behaviours for interactions:
This commit addresses https://github.com/mouse-reeve/bookwyrm/pull/883#discussion_r609739553.
2021-04-08 17:37:29 +02:00
Fabien Basmaison
2f90b4ce66 [assets] Fix broken actions for focus and checkbox:
This commit should address the following two comments:

- https://github.com/mouse-reeve/bookwyrm/pull/883#discussion_r609172258
- https://github.com/mouse-reeve/bookwyrm/pull/883#discussion_r609174513
2021-04-08 11:37:14 +02:00
Fabien Basmaison
83bd417878 [assets] Update interactions code:
This commit should address https://github.com/mouse-reeve/bookwyrm/pull/883#discussion_r609381969.

- Disable the button being used to submit the form.
- Rename variables based on @mouse-reeve’s explanations. Thanks! 
2021-04-08 11:08:13 +02:00
Fabien Basmaison
ad3e91db7d Merge branch 'main' into frontend 2021-04-08 09:53:01 +02:00
Mouse Reeve
89af144105 Avoid showing "None" for title and subtitle fields 2021-04-07 18:38:26 -07:00
Mouse Reeve
9658123dd7
Merge pull request #893 from void-witch/fix-date
fix the book edit confirmation template dropping initial data for dates
2021-04-07 18:36:15 -07:00
Mouse Reeve
ddba61f138 Block all/unblock all users on server block 2021-04-07 16:50:12 -07:00
Mouse Reeve
839ac061b7 Show notes 2021-04-07 13:21:46 -07:00
Mouse Reeve
8556474537 Add and edit servers 2021-04-07 13:17:51 -07:00
Mouse Reeve
ddab9af564 Functional add server form 2021-04-07 13:06:29 -07:00
Mouse Reeve
d383e8a61e Cleans up add server form 2021-04-07 12:13:34 -07:00
Mouse Reeve
74549956c2 Adds edit server form 2021-04-07 11:52:13 -07:00
Mouse Reeve
8261fbf86a Updates federated server model with notes field
Also makes it more editable, and changes the status types
2021-04-07 11:28:31 -07:00
Mouse Reeve
e3e28973f1 Adds merge migration 2021-04-07 11:24:09 -07:00
Mouse Reeve
4e0225749d Merge branch 'main' into domain-block 2021-04-07 11:23:15 -07:00
Mouse Reeve
5d45b01f05
Merge pull request #906 from mouse-reeve/isbn-search-resiliency
Handle arbitrary errors in isbn search
2021-04-07 11:18:51 -07:00
Mouse Reeve
2c5f62e6cd
Merge pull request #905 from mouse-reeve/shelve-action-serialization
Safer serialization of shelve and un-shelve activities
2021-04-07 11:18:39 -07:00
n2no1
ac86c194d4 move from strptime to dateutil for parsing date inputs 2021-04-07 14:11:13 -04:00
Mouse Reeve
897082d491
Merge pull request #903 from mouse-reeve/following-field
Adds following field to actor serialization
2021-04-07 11:09:11 -07:00
Mouse Reeve
5427790c4e Safer serialization of shelve and unshelve activities 2021-04-07 11:02:56 -07:00
Mouse Reeve
954958b6f9 Handle arbitrary errors in isbn search 2021-04-07 10:54:00 -07:00
Mouse Reeve
e61a104bcf
Merge pull request #904 from mouse-reeve/missing-migration
Adds missing migration for #898
2021-04-07 10:49:38 -07:00
Mouse Reeve
0b96713341
Merge pull request #900 from mouse-reeve/search-webfinger-error
Gracefully handle errors in webfinger during search
2021-04-07 10:35:39 -07:00
Mouse Reeve
7c5f078682 Adds missing migration for #898 2021-04-07 10:33:56 -07:00
Mouse Reeve
ef12b077dd Adds following field to actor serialization 2021-04-07 10:32:16 -07:00
Mouse Reeve
e3d01c6736 Gracefully handle errors in webfinger during search 2021-04-07 09:17:04 -07:00
Fabien Basmaison
be0cabc415 [css] Improve quotes. 2021-04-07 18:07:32 +02:00
Mouse Reeve
63d37c281d Handle invalid authors when importing books 2021-04-07 08:59:33 -07:00
Mouse Reeve
45006afdf3 Remove character limit on some book fields 2021-04-07 08:50:50 -07:00
Fabien Basmaison
2a0924027b [css] Use more visible comments to split blocks. 2021-04-07 17:33:28 +02:00
Fabien Basmaison
f77088b964 [assets] Remove redundant class already provided by bulma:
Replace all classes `hidden` with `is-hidden` in templates, CSS and JS.
2021-04-07 17:31:00 +02:00
Mouse Reeve
f11d64f984 Handle all connector errors in search 2021-04-07 08:09:47 -07:00
Fabien Basmaison
f2a2b410a1 [assets] Add comment to mention replacing font icons with SVG. 2021-04-07 10:49:52 +02:00
Fabien Basmaison
54805afb51 [assets] Tweak JSDoc. 2021-04-07 10:37:11 +02:00
Fabien Basmaison
fb45df0f99 Merge branch 'main' into frontend 2021-04-07 09:25:40 +02:00
Fabien Basmaison
5d569e8926 [assets] Only update status if the promise is successful:
- Use promises in `ajaxPost` and `interact`.
- Add some animations in CSS.
2021-04-07 09:24:34 +02:00
Fabien Basmaison
1c05107f2b [assets] Tweak comments. 2021-04-07 07:53:30 +02:00
Mouse Reeve
922428cab7 Fixes error in reverse path 2021-04-06 18:51:43 -07:00
n2no1
31146b00e4 import MultiValueDictKeyError to catch with formcopy 2021-04-06 21:40:15 -04:00
Mouse Reeve
29e7659b76 Expand inventaire book data 2021-04-06 18:34:55 -07:00
Mouse Reeve
fec3d63e46 Python formatting 2021-04-06 18:17:33 -07:00
Mouse Reeve
ac27111f05 Adds inventaire to default connector list 2021-04-06 18:13:33 -07:00
Mouse Reeve
f21aca1211 Load remote keys 2021-04-06 18:10:42 -07:00
n2no1
51e16fba97 run black, add a try/catch around the formcopy fix 2021-04-06 21:01:57 -04:00
Mouse Reeve
4112862924 Fixes search data and new activitypub fields 2021-04-06 18:00:54 -07:00
n2no1
0941c50c69 ensure that the book edit confirmation receives initial date data as a datetime 2021-04-06 20:46:18 -04:00
Mouse Reeve
82c2f2eeb1 Adds more author identifier fields 2021-04-06 17:46:06 -07:00
n2no1
502f29082c check the form for initial date values if the book has none 2021-04-06 19:57:57 -04:00
Mouse Reeve
bfdcf611e7 Adds inventaire identifier to book data fields 2021-04-06 13:54:57 -07:00
Mouse Reeve
e594cd0a36 Load simple fields from inventaire 2021-04-06 13:53:58 -07:00
Mouse Reeve
3158701075 Gets editions for works 2021-04-06 13:39:10 -07:00
tofuwabohu
1f99710dcd Links to own user in menu 2021-04-06 22:36:24 +02:00
Mouse Reeve
5149c7e8c2 Expands mappings for inventaire/wikidata properties 2021-04-06 13:03:22 -07:00
Mouse Reeve
22ebe60c0a Use custom data extractor for inventaire connector 2021-04-06 12:29:06 -07:00
Mouse Reeve
fba44206ac Adds separate view and load links for book search results 2021-04-06 12:17:58 -07:00
Mouse Reeve
d482c66ad4 Adds inventaire connector stub
And changes formatters to accept the key as well as value
2021-04-06 11:58:07 -07:00
Mouse Reeve
295842badd Adds inventaire id to book data model 2021-04-06 10:40:39 -07:00
Mouse Reeve
f30d05acfc Update connector model to add new connector 2021-04-06 10:40:13 -07:00
Fabien Basmaison
44040201f9 [assets] Move interact function. 2021-04-06 17:57:39 +02:00
Fabien Basmaison
9d95f54aa2 [assets] Refactor toggleAction and toggleMenu a bit. 2021-04-06 17:48:56 +02:00
Mouse Reeve
03e5da12dd Call suggestions redis in feed 2021-04-06 08:31:18 -07:00
Mouse Reeve
b96a092e71
Merge pull request #879 from mouse-reeve/redis-stores
Created generic redis class for activitystreams
2021-04-06 08:27:21 -07:00
Mouse Reeve
fd66ff1861 Small tweaks to commends and super() calls 2021-04-06 07:53:34 -07:00
Fabien Basmaison
a21f954fb1 Remove redundant class attribute and format template. 2021-04-06 16:29:58 +02:00
Fabien Basmaison
52d2f0e331 [assets] Document functions and variables:
- Use expressive names for variables.
- Add docblocks for each function.
- Add ESLint rules for comments.
2021-04-06 16:17:20 +02:00
Fabien Basmaison
5d3d00f694 [assets] Use dataset + use expressive names for some variables. 2021-04-06 15:36:34 +02:00
Fabien Basmaison
62fe2ef600 [assets] Replace inline events with addEventListener; this breaks sliding menu. 2021-04-06 11:37:23 +02:00
Fabien Basmaison
7e49b3cb26 [assets] Simplify addRemoveClass function. 2021-04-06 11:19:44 +02:00
Fabien Basmaison
70c652d565 [assets] Add rules to ESLint:
- Fix long line.
- Enforce a few stylistic habits:

    - Avoid some potential dangerous constructs.
    - `arrow-spacing`: Use at least one space around arrows.
    - `keyword-spacing`: Use at least one space around keywords (if, else, for…).
    - `no-multiple-empty-lines`: Only use one empty line between code.
	- `no-var`: Use `let` or `const` instead of `var`:
    - `padded-blocks`: Do not pad blocks.
    - `padding-line-between-statements`: Use empty lines between some statements.
    - `space-before-blocks`: Use at least one space before the opening brace of a block.
2021-04-06 10:42:52 +02:00
Fabien Basmaison
991d897ac7 [assets] Listen to events as soon as possible. 2021-04-06 09:57:52 +02:00
Fabien Basmaison
2f2f7db086 [assets] Use classes for JS files:
- Classes strictly parse code implicitly.
- Fix previously updated code.
2021-04-06 09:44:59 +02:00
Fabien Basmaison
f430363be0 [assets] Simplify a function expression. 2021-04-06 09:11:56 +02:00
Fabien Basmaison
f6c3e581b9 [assets] Replace Array.from(document.getElementsByClassName(…)) by querySelectorAll(…). 2021-04-06 09:11:27 +02:00
Fabien Basmaison
6b0a3ce4b1 [assets] Move localStorage chunks of code to their own file:
This should prevent a sync issue with updateDisplay not always being loaded on time.
2021-04-06 09:06:51 +02:00
Mouse Reeve
a39cd670ef Fixes boosted remote statuses coming in as Notes 2021-04-05 18:05:06 -07:00
Mouse Reeve
2e245f84be Adds test for loading remote boosted statuses 2021-04-05 18:02:24 -07:00
Mouse Reeve
fb72db7507 Fixes federation view tests 2021-04-05 16:50:36 -07:00
Mouse Reeve
a4b892dfad Fixes domain block tests 2021-04-05 16:47:48 -07:00
Mouse Reeve
34b790a086 Adds tests for blocked server checks 2021-04-05 15:54:33 -07:00
Mouse Reeve
194fcb8055 Adds migration for federated server table statuses 2021-04-05 15:54:20 -07:00
Mouse Reeve
ad543f46c1 Adds block and unblock functionality 2021-04-05 15:38:32 -07:00
Mouse Reeve
e4fe47b538 Default blocks in initdb 2021-04-05 15:26:53 -07:00
Mouse Reeve
1901f7e6cb Check if incoming domains are blocked 2021-04-05 15:16:41 -07:00
Mouse Reeve
6a3c01a67f stream_users function has been renamed 2021-04-05 14:17:45 -07:00
Mouse Reeve
56330d448b Changes remove status redis mock 2021-04-05 14:08:24 -07:00
Mouse Reeve
18ba33e050 Uses redis for storing suggested users 2021-04-05 13:49:21 -07:00
Mouse Reeve
04b9704187 typo fix 2021-04-05 13:13:56 -07:00
Mouse Reeve
cd56abcb08 Maintain signal names 2021-04-05 12:11:49 -07:00
Mouse Reeve
0bbaf0a562 Python formatting 2021-04-05 11:10:26 -07:00
Mouse Reeve
e61ed73894
Merge pull request #875 from arkhi/locales
[l10n] Add and update i18n strings for French
2021-04-05 11:10:01 -07:00
Mouse Reeve
bd8858830a Created generic redis class for activitstreams 2021-04-05 11:05:37 -07:00
Mouse Reeve
04f459a2df Fixes creting invites 2021-04-05 10:17:01 -07:00
Fabien Basmaison
964b47ea97 [assets] Fix path for icomoon font. 2021-04-05 16:46:30 +02:00
Fabien Basmaison
cbed5e331b [assets] Move some frontend assets to _vendor_ directories:
This simplifies linting of files we have no grasp on, and clarifies responsibilities.

- Add .eslintignore.
- Restrict linting to bookwyrm/static.
2021-04-05 16:17:11 +02:00
Fabien Basmaison
5aea7343b4 [assets] Rename some files for consistency. 2021-04-05 16:16:48 +02:00
Fabien Basmaison
6971c9b133 [assets] Move toggleAllCheckboxes code to its own file. 2021-04-05 16:16:05 +02:00
Fabien Basmaison
125915f1b3 [l10n] Add missing i18n string to template. 2021-04-05 12:53:20 +02:00
Fabien Basmaison
5d3f00a537 [l10n] Add and update i18n strings for French:
- Fix typo in English.
- Add translations for missing strings.
- Update translations for fuzzy strings.
2021-04-05 12:46:34 +02:00
Mouse Reeve
d25c68f887 Restores stream length settings 2021-04-04 21:01:52 -07:00
Mouse Reeve
940e841502 Fixes trimming streams 2021-04-04 20:57:30 -07:00
Pablo Barton
593e435816 772 Use gettext_lazy for form classes 2021-04-04 16:22:36 -04:00
Mouse Reeve
ea837a3879
Merge pull request #864 from mouse-reeve/delete-and-redraft
Delete and redraft
2021-04-04 11:00:09 -07:00
Mouse Reeve
abd6a78295
Merge pull request #862 from mouse-reeve/disabled-link
Valid html solution to disabling pagination links
2021-04-04 10:59:22 -07:00
Mouse Reeve
b6aa36960c Separates button grouping from td element 2021-04-04 10:38:40 -07:00
Mouse Reeve
03ba01a790 Expands filtering and sorting on invite requests page 2021-04-04 10:36:28 -07:00
Mouse Reeve
467748e2c8 Adds delete and redraft tests 2021-04-04 09:45:25 -07:00
Mouse Reeve
ff3631cbe3 Python formatting 2021-04-04 09:24:17 -07:00
Mouse Reeve
be8c3b7904 Handles delete and redraft replies 2021-04-04 09:18:52 -07:00
Mouse Reeve
936d68f0ed Don't allow delete and redraft of ratings 2021-04-04 09:08:44 -07:00
Mouse Reeve
521f917d01 Pass existing rating to stars form element as variable 2021-04-04 09:05:21 -07:00
Mouse Reeve
4c2f1db6a6 Merge branch 'main' into delete-and-redraft 2021-04-04 09:05:12 -07:00
Mouse Reeve
ecf489b0bd
Merge pull request #863 from mouse-reeve/edit-book-field-types
Uses date input type for publication date fields
2021-04-04 08:50:46 -07:00
Mouse Reeve
7dcbc14225
Merge pull request #866 from mouse-reeve/goal-page-book-link
Fixes goal page book link
2021-04-04 08:50:00 -07:00
Mouse Reeve
b3535d9a90 Hides disabled pagination links for screenreaders 2021-04-04 08:42:01 -07:00
Fabien Basmaison
485b0fa0f3 Simplify rating form:
- Create a snippet to regroup similar code.
- Reduce and document tricky logic of CSS.
- Add i18n strings.
2021-04-04 15:08:42 +02:00
Mouse Reeve
74ca54d8d6 Fixes goal page book link 2021-04-03 20:55:44 -07:00
Mouse Reeve
d5643047e1 hidden checkbox should always be hidden 2021-04-03 15:49:27 -07:00
Mouse Reeve
ffb7f8f7ce Populate redraft form 2021-04-03 15:47:47 -07:00
Mouse Reeve
6ed74e6f60 Merge branch 'zrem' into delete-and-redraft 2021-04-03 14:59:29 -07:00
Mouse Reeve
3dee60e9e5 Uses correct redis remove activity type 2021-04-03 14:56:56 -07:00
Mouse Reeve
2a4fc8fb9a Adds model-to-form helper for statuses 2021-04-03 14:55:13 -07:00
Mouse Reeve
4cf9bca5aa Adds compose view 2021-04-03 14:32:34 -07:00
Mouse Reeve
dae31459e4 Show correct book when url param is provided 2021-04-03 13:56:41 -07:00
Mouse Reeve
029913de32 Logic for rendering a particular compose tab server-side 2021-04-03 13:12:55 -07:00
Mouse Reeve
fb900d58cd Names status urls 2021-04-03 12:38:12 -07:00
Mouse Reeve
8711a2eba5 Adds url path 2021-04-03 12:31:28 -07:00
Mouse Reeve
c5b2489330 Adds start of redraft view 2021-04-03 12:30:18 -07:00
Mouse Reeve
3ffe8a2ffb Uses date input type for publication date fields 2021-04-03 12:10:21 -07:00
Mouse Reeve
8d7527dee3 CSS linter fixes 2021-04-03 11:59:14 -07:00
Mouse Reeve
3cb91098e6 Valid html solution to disabling pagination links 2021-04-03 11:54:15 -07:00
Mouse Reeve
8faec714bb Safely return unread count when key is unset 2021-04-03 11:39:29 -07:00
Mouse Reeve
b9514ec81f Python formatting 2021-04-03 11:11:29 -07:00
Mouse Reeve
44e87c01ab Another place where redis may be called unnecessarily 2021-04-03 11:07:08 -07:00
Mouse Reeve
a913524991 Fixes redis call so tests don't fail 2021-04-03 10:56:53 -07:00
Mouse Reeve
880323e838 Python format 2021-04-02 17:18:04 -07:00
Mouse Reeve
1d525d49cb Use sorted set for activitystreams 2021-04-02 10:44:30 -07:00
Mouse Reeve
bb9e49c8fa Show disabled placeholders in pagination 2021-04-02 09:54:32 -07:00
Mouse Reeve
bfacfbb09a
Merge pull request #852 from mouse-reeve/optional-outbox
Makes outbox an optional field on the user table
2021-04-02 07:56:55 -07:00
Mouse Reeve
9c8ce5f77d Makes followers an optional AP field 2021-04-02 07:38:37 -07:00
Mouse Reeve
6211e66a5e
Merge pull request #849 from mouse-reeve/ui-small-fixes
UI small fixes
2021-04-02 07:37:31 -07:00
Mouse Reeve
45d229d712 Makes outbox an optional field on the user table 2021-04-02 07:35:56 -07:00
Mouse Reeve
2174ea11ec Makes user to_activity serializer args consistent 2021-04-02 07:33:36 -07:00
Mouse Reeve
ae1ebecc76 Fixes tests for suggested/annotated users 2021-04-02 07:31:11 -07:00
Mouse Reeve
e84a07430c Fixes books get started view error 2021-04-02 07:11:35 -07:00
Mouse Reeve
29792080a9 Don't create notifications when deleting statuses 2021-04-01 20:40:28 -07:00
Mouse Reeve
de16dd75c6 Python formatting 2021-04-01 20:30:50 -07:00
Mouse Reeve
86b519b844 Uses translates pages snippet for progress note on statuses 2021-04-01 20:28:08 -07:00
Mouse Reeve
fdfbf29744 i18n for "page x of y" 2021-04-01 20:22:42 -07:00
Mouse Reeve
34a32032c9 Align suggested users when there are fewer than 5 2021-04-01 20:01:09 -07:00
Mouse Reeve
7121b74a6e Helper for suggested users panel 2021-04-01 19:56:53 -07:00
Mouse Reeve
732c7a190b Don't show pending folloq requests in suggestions 2021-04-01 19:51:29 -07:00
Mouse Reeve
15711bdae2 Fixes display of empty cell in invites table 2021-04-01 19:45:38 -07:00
Mouse Reeve
265c2f8d9d Show current shelf in move menu 2021-04-01 19:41:01 -07:00
Mouse Reeve
97192d3296 Changes orientation of move book menu on shelf page 2021-04-01 19:33:46 -07:00
Mouse Reeve
642c41353e Removes redundant link to profile from dropdown 2021-04-01 19:25:37 -07:00
Mouse Reeve
35e6c6aa03
Merge pull request #848 from mouse-reeve/invite-info
Show accepter in invite request view
2021-04-01 18:07:45 -07:00
Mouse Reeve
16066e8340
Merge pull request #847 from mouse-reeve/sort-filter-interactions
Sort and filter mutually respect each other
2021-04-01 18:01:43 -07:00
Mouse Reeve
b9bff31562 Show accepter in invite request view 2021-04-01 18:00:39 -07:00
Mouse Reeve
62bd744b69 Sort and filter mutually respect each other 2021-04-01 17:38:53 -07:00
Mouse Reeve
14353f0de7
Merge pull request #846 from mouse-reeve/track-invite-use
Associate users with their invites
2021-04-01 17:33:20 -07:00
Mouse Reeve
634509a7f3 Associate users with their invites 2021-04-01 17:20:02 -07:00
Mouse Reeve
8ea60c66a3 Create connectors to federated bookwyrm servers
This got messed up when I refactored how connectors work! Poor
bookwyrm.social doesn't have a wyrms.de connector, but this will fix
that.
2021-04-01 17:02:45 -07:00
Mouse Reeve
ec8eb01a0f Adds missing templates 2021-04-01 14:36:18 -07:00
Mouse Reeve
fc31b3e0b0 Fixes invite requests page with no filters 2021-04-01 14:22:01 -07:00
Mouse Reeve
b62989b5a8 Adds invite request filters 2021-04-01 14:14:17 -07:00
Mouse Reeve
8039917b89 Preserve get params on invite send 2021-04-01 13:56:24 -07:00
Mouse Reeve
b5e98e0bdf Make invite requests sort-able 2021-04-01 13:41:08 -07:00
Mouse Reeve
a952d59eb8 Fixes translation on modal close labels 2021-04-01 13:15:21 -07:00
Mouse Reeve
6541de4ba1 Keep book view columns in mobile 2021-04-01 13:02:41 -07:00
Mouse Reeve
b17caa84cd Fixes form default value in get started profile view 2021-04-01 12:54:00 -07:00
Mouse Reeve
bd0c0ff2a2 Changes the header copy 2021-04-01 12:46:38 -07:00
Mouse Reeve
f949d08034 Wording consistency and locales compiled for getting started views 2021-04-01 12:23:13 -07:00
Mouse Reeve
3b725fab63
Merge pull request #839 from mouse-reeve/onboarding
Get started flow for new users
2021-04-01 10:23:04 -07:00
Mouse Reeve
1e75674f7b Fixes user view 2021-04-01 09:57:50 -07:00
Mouse Reeve
ac8e68ce2c Python formatting 2021-04-01 09:48:13 -07:00
Mouse Reeve
493b04d91d
Merge pull request #841 from mouse-reeve/shelf-error
Shelf page 500s where it should 404
2021-04-01 09:47:29 -07:00
Mouse Reeve
bb5aec18f1 Cleans up ui navigation 2021-04-01 09:46:18 -07:00
Mouse Reeve
19c2c7f67c test get started user view with query 2021-04-01 09:39:57 -07:00
Mouse Reeve
fa17d9018f Adds user search to get started view 2021-04-01 09:39:05 -07:00
Mouse Reeve
776f1768d9 Updates get started users template 2021-04-01 09:30:15 -07:00
Mouse Reeve
5c10bdab7c Adds breadcrumbs 2021-04-01 09:22:43 -07:00
Mouse Reeve
ed127f4e07 Save and continue from get started books view 2021-04-01 09:13:10 -07:00
Mouse Reeve
e2388d8f67 Makes user profile view editable 2021-04-01 08:38:42 -07:00
Mouse Reeve
31b7d267a4 Adds initial view tests 2021-04-01 08:22:17 -07:00
Mouse Reeve
c9fdec33c4 Display tweaks 2021-04-01 08:20:43 -07:00
Mouse Reeve
d5d4582ed1 Only show unshelved books 2021-04-01 08:12:38 -07:00
Mouse Reeve
4720481219 Fixes accessibility bugs 2021-04-01 08:02:42 -07:00
Mouse Reeve
fd6c1973cf Shelf page 500s where it should 404 2021-04-01 07:24:56 -07:00
Mouse Reeve
f2f700c7b8 Adds error messaging for invalid cover urls 2021-03-31 15:39:28 -07:00
Mouse Reeve
210cf4a702 Fixes shelf redirects 2021-03-31 15:03:07 -07:00
Mouse Reeve
c7863ec8f0 Fixes re-shelving books from all books view 2021-03-31 15:00:49 -07:00
Mouse Reeve
13e153412e Adds profile and user get started views 2021-03-31 14:53:15 -07:00
Mouse Reeve
59c54e0591 Creates get strated layout 2021-03-31 13:59:33 -07:00
Mouse Reeve
7483cb5919 Adds getting started find books view 2021-03-31 13:56:26 -07:00
Mouse Reeve
fba9e0fdb6
Merge pull request #837 from mouse-reeve/search-webfinger
Search fixes
2021-03-31 12:34:46 -07:00
Mouse Reeve
ca14d1789d
Merge pull request #836 from mouse-reeve/goal-covers
Simplifies reading goal progress covers view
2021-03-31 12:09:55 -07:00
Mouse Reeve
66b7a3d193 Avoids error on empty search query 2021-03-31 12:03:58 -07:00
Mouse Reeve
daf2fd1667 Perform webfinger search on all username syntaxes 2021-03-31 11:57:39 -07:00
Mouse Reeve
e78982b4c7 Simplifies reading goal progress covers view 2021-03-31 11:42:57 -07:00
Mouse Reeve
44c8f64239
Merge pull request #831 from arkhi/ci
Add linters for CSS and JS files
2021-03-31 11:33:38 -07:00
Mouse Reeve
c29382ba92
Merge pull request #834 from mouse-reeve/custom-shelf-identifier-fix
Fixes shelf remote ids
2021-03-31 11:26:42 -07:00
Mouse Reeve
1a787fd218 Soft removal of tags feature 2021-03-31 11:11:15 -07:00
Mouse Reeve
32bd426999 Fixes shelf remote ids 2021-03-31 11:04:20 -07:00
Mouse Reeve
ad2b938b4c Removes edit button from all books view 2021-03-31 10:36:10 -07:00
Mouse Reeve
f89e94b0c0 Adds privacy to fake shelf 2021-03-31 10:32:50 -07:00
Mouse Reeve
a670c8d366 Adds "all books" view" 2021-03-31 10:25:15 -07:00
Mouse Reeve
2fd917a6cc Updates test 2021-03-31 10:24:23 -07:00
Mouse Reeve
e81de08e7f Missed a url 2021-03-31 09:54:52 -07:00
Mouse Reeve
ab78da735f Adds books page header snippet 2021-03-31 09:50:40 -07:00
Mouse Reeve
f8ce9b0956 Backwards compatibility with "shelf" urls 2021-03-31 09:50:16 -07:00
Mouse Reeve
4a490d25a8 CHanges urls from shelves to books 2021-03-31 09:34:16 -07:00
Mouse Reeve
83e4ec00f9 Renames "shelves" in the UI to "books"
Still haven't figure out the create/edit wording tho
2021-03-31 09:22:23 -07:00
Fabien Basmaison
53f03457cc Add linter for JS files with basic recommended rules:
- Add Github Action.
- Fix JS files to match rules; mostly `globals` and `exported`.
2021-03-31 17:07:28 +02:00
Fabien Basmaison
cc01105bf0 Add linter for CSS files:
- Add Github Action.
- Update .gitignore.
- Add .stylelintignore for vendor related files.
- Fix format.css to match rules (includes hacks with @todo).
2021-03-31 16:17:05 +02:00
Mouse Reeve
8b9b70d9cd
Merge pull request #829 from mouse-reeve/status-404s
Handle invalid status urls with 404
2021-03-30 11:01:05 -07:00
Mouse Reeve
0365a57307 Handle invalid status urls with 404 2021-03-30 10:46:02 -07:00
Mouse Reeve
daea57f91c Updates python formatting 2021-03-30 10:31:23 -07:00
Mouse Reeve
f7b0a282a7 Set updated date on list when item is added 2021-03-30 10:28:50 -07:00
Mouse Reeve
9b949d9845 Merges display of lists to show all
Rather than separating out "your lists"
2021-03-30 10:19:51 -07:00
Mouse Reeve
b16f95c8cd Python formatting 2021-03-30 09:50:51 -07:00
Mouse Reeve
047e827382 Cleans up markup on import page 2021-03-30 09:30:25 -07:00
Mouse Reeve
59ebcc62ee Adds import retry test 2021-03-30 09:24:23 -07:00
Mouse Reeve
5deb7d8bba Updates librarthing importer tests 2021-03-30 09:13:41 -07:00
Mouse Reeve
c64fc79431 Updates goodreads tests 2021-03-30 09:09:28 -07:00
Mouse Reeve
754ccaedd6 Move importers into module 2021-03-30 09:03:57 -07:00
Mouse Reeve
1f0c4f86c2 Python formatting 2021-03-30 08:46:22 -07:00
Mouse Reeve
a54014f693 Fixes import retry 2021-03-30 08:44:17 -07:00
Mouse Reeve
4b325fedee Removes error views from init 2021-03-29 18:51:35 -07:00
Mouse Reeve
28f07f7729 Fixes error pages 2021-03-29 18:47:21 -07:00
Mouse Reeve
e86f160c53
Merge pull request #812 from SavinaRoja/357-tz-in-datetimes
357 Users set preferred timezone, used for readthroughs
2021-03-29 15:20:01 -07:00
Mouse Reeve
47cf1f3b22
Merge pull request #825 from mouse-reeve/misc-server-errors
Misc server errors
2021-03-29 15:09:42 -07:00
Mouse Reeve
4b445c3242 Fixes indentation on host-meta xml 2021-03-29 14:55:23 -07:00
Mouse Reeve
6bf3d9dcd8 Adds hosts-meta path 2021-03-29 14:36:24 -07:00
Mouse Reeve
2722050ee2 Python formatting 2021-03-29 14:20:51 -07:00
Mouse Reeve
4115edad6e Adds robots.txt 2021-03-29 14:12:15 -07:00
Mouse Reeve
662ddf44b9 Avoid error when request Accept header is not set 2021-03-29 14:12:07 -07:00
Mouse Reeve
3be420944e Fixes display of dms pagination 2021-03-29 13:51:06 -07:00
Mouse Reeve
84dfa69695 Fixes invite flow 2021-03-29 13:28:30 -07:00
Mouse Reeve
c284a5e409 Fixes error sending dm 2021-03-29 13:07:22 -07:00
Mouse Reeve
cc00a66b90
Merge pull request #800 from SavinaRoja/716-book-multiple-shelves
716 books can be on multiple shelves, but only on one shelf for reading status
2021-03-29 12:59:49 -07:00
Mouse Reeve
1e1d07e4e1
Merge pull request #821 from mouse-reeve/shelve-buttons
Unshelve option in shelve button menu
2021-03-29 12:50:38 -07:00
Mouse Reeve
794b47d119 Unshelve option in shelve button menu 2021-03-29 12:27:12 -07:00
Mouse Reeve
04ca6de968 Paginates editions page 2021-03-29 12:13:05 -07:00
Mouse Reeve
e9f202b9e0 Paginate shelf page
Also removes some fields from the table
2021-03-29 11:48:19 -07:00
Mouse Reeve
f6ad069f74 Fixes tests 2021-03-29 11:38:14 -07:00
Mouse Reeve
0a4e755516 Fixes setting lower() on NoneType 2021-03-29 11:27:51 -07:00
Mouse Reeve
f8a321c74d Fixes labels
Good bot
2021-03-29 11:16:34 -07:00
Mouse Reeve
9c798a4feb Filter editions 2021-03-29 11:14:34 -07:00
Mouse Reeve
769ba6466c Adds filters ui to editions page 2021-03-29 10:58:46 -07:00
Mouse Reeve
b13e8d75cd Introduces filters snippets 2021-03-29 10:39:13 -07:00
Mouse Reeve
7c9518afa6 Adds info to editions page 2021-03-29 10:21:48 -07:00
Mouse Reeve
87cf411a1a
Merge pull request #817 from mouse-reeve/invite-emails
Fixes sending invite emails
2021-03-29 09:09:19 -07:00
Mouse Reeve
f63b6fb325 Fixes sending invite emails
Corrects the email sender and avoids integrity error on saves
2021-03-29 08:33:12 -07:00
Mouse Reeve
b58ed244b0 Preserve request.GET params in pagination 2021-03-29 08:19:17 -07:00
Pablo Barton
765e6b542f adding middleware and use in readthrough template 2021-03-29 08:20:35 -04:00
Mouse Reeve
621c0ea15a Fixes password reset 2021-03-28 18:53:49 -07:00
Pablo Barton
224c7e4f0e consistency in style for bulma 2021-03-28 21:23:32 -04:00
Mouse Reeve
12f6c2abb2 Don't erase entire stream when new status is added
omg
2021-03-28 17:53:52 -07:00
Pablo Barton
b0dc5f3f93 357 Users set preferred timezone, used for readthroughs 2021-03-28 19:16:43 -04:00
Mouse Reeve
e3abc96266
Merge pull request #811 from mouse-reeve/user-admin
User admin view
2021-03-28 14:48:27 -07:00
Mouse Reeve
9a0568dabc Adds tests for server and users admin views 2021-03-28 14:36:57 -07:00
Mouse Reeve
f491f03ffa Adds filtering by server on users page 2021-03-28 14:27:56 -07:00
Mouse Reeve
43fc940a07 Adds user admin view 2021-03-28 14:20:49 -07:00
Mouse Reeve
f547df5940
Merge pull request #810 from mouse-reeve/server-details
Adds detail page for federated servers
2021-03-28 14:20:29 -07:00
Mouse Reeve
5416bb10fd Python formatting 2021-03-28 13:41:25 -07:00
Mouse Reeve
7373a7e8c4 Sort federated servers list 2021-03-28 13:36:05 -07:00
Mouse Reeve
158d2c5231 Paginates federated server list 2021-03-28 13:08:24 -07:00
Mouse Reeve
62cbfe0fac Filter reports by server 2021-03-28 13:03:24 -07:00
Mouse Reeve
96ea2b4477 Adds detail page for federated servers 2021-03-28 12:47:30 -07:00
Mouse Reeve
1e8444a622
Merge pull request #809 from mouse-reeve/stream-commands
Separates erase and populate stream commands
2021-03-28 12:04:51 -07:00
Mouse Reeve
713ec8bd69 Python whitespace formatting 2021-03-28 11:51:02 -07:00
Mouse Reeve
5441d4db09 Separates erase and populate stream comands 2021-03-28 11:38:39 -07:00
Mouse Reeve
ecf5ee4afc margin between quote and attribution 2021-03-28 11:30:53 -07:00
Mouse Reeve
63b319e286 Space between shelve button and isbn on book page 2021-03-28 11:27:09 -07:00
Mouse Reeve
f0876b57c5 Fixes change shelf menu display on shelf page 2021-03-28 11:25:05 -07:00
Mouse Reeve
323c72002b Fixes shelve menu display on book page 2021-03-28 11:18:01 -07:00
Mouse Reeve
71f6e0d330 Show invite request count 2021-03-28 11:15:26 -07:00
Mouse Reeve
6f99947cac Fixes python formatting 2021-03-28 10:45:46 -07:00
Mouse Reeve
c42719ee1e Fixes wildly high similiarity metrics in directory 2021-03-28 10:32:58 -07:00
Mouse Reeve
ef057dd573
Merge pull request #805 from mouse-reeve/shared-books
Adds shared books as a metric for recommending follows
2021-03-27 11:39:11 -07:00
Mouse Reeve
81925b11cf Removes duplicate patch annotation 2021-03-27 10:38:07 -07:00
Mouse Reeve
c398d8a870 Python formatting 2021-03-27 10:00:32 -07:00
Mouse Reeve
1341341a4f Adds test for annotated user helper 2021-03-27 09:56:46 -07:00
Mouse Reeve
25a3a7763c Adds books in common as a recommendation metric 2021-03-27 08:15:39 -07:00
Mouse Reeve
0ef33d2acb Adds shared books as a metric for recommending follows 2021-03-27 07:36:14 -07:00
Mouse Reeve
c8118c9bf4 Updates activity streams tests 2021-03-26 12:52:04 -07:00
Mouse Reeve
ee067b7d65 Fixes error adding unlisted statuses 2021-03-26 12:09:37 -07:00
Mouse Reeve
2490aa07aa Python formtting 2021-03-26 10:35:37 -07:00
Mouse Reeve
b0e1095fe6 Adds "suggested follows" panel 2021-03-26 10:32:42 -07:00
Pablo Barton
daf69d2375 716 books can be on multiple shelves, but only on one shelf for reading status 2021-03-26 08:21:42 -04:00
Mouse Reeve
2c9efd1ba6 BookWyrm users is the default directory filter 2021-03-25 17:00:16 -07:00
Mouse Reeve
6552dcefe8 Adds focus to filters toggle 2021-03-25 16:42:50 -07:00
Mouse Reeve
b94def80b0 Adds localstorage hide option for directory prompt 2021-03-25 16:32:15 -07:00
Mouse Reeve
2e0386aed8 Fixes missing label for select 2021-03-25 13:44:26 -07:00
Mouse Reeve
f9e5bdebc6 Adds clear filters link 2021-03-25 13:39:19 -07:00
Mouse Reeve
53af667698 Adds filtering 2021-03-25 13:36:35 -07:00
Mouse Reeve
c4901b9c4e Python formatting 2021-03-25 12:04:26 -07:00
Mouse Reeve
e6e16f61d3 Adds filters ui 2021-03-25 10:58:00 -07:00
Mouse Reeve
cdcef6ccb3 Simplifies wording for directory opt-in 2021-03-25 10:24:22 -07:00
Mouse Reeve
7711d43380 Display tweaks to make directory card size more consistent 2021-03-25 08:43:53 -07:00
Mouse Reeve
6548291571 Adds join directory insert 2021-03-25 08:39:45 -07:00
Mouse Reeve
ae6c2b6375 Updates tests 2021-03-24 14:19:12 -07:00
Mouse Reeve
9acb8e53d8 Adds privacy fields to boost activities 2021-03-24 13:35:49 -07:00
Mouse Reeve
3fe3b0b2d5 Adds published date field to boost activity 2021-03-24 13:25:00 -07:00
Mouse Reeve
d8c83fa31c Return activities for existing objs in resolve_remote_id 2021-03-24 12:58:39 -07:00
Mouse Reeve
28dc67bf5c Fixes ignore test for valid remote statuses 2021-03-24 12:37:42 -07:00
Mouse Reeve
81bd3f5be8 Tests not showing notifications for self boosts 2021-03-24 12:13:00 -07:00
Mouse Reeve
61a773cbe2 Python formatting 2021-03-24 11:01:23 -07:00
Mouse Reeve
c1e0471d1a Don't use html in article names for mastodon 2021-03-24 10:57:17 -07:00
Mouse Reeve
4f22657dc2
Merge pull request #791 from mouse-reeve/review-pure-title
Fixes review name in pure serialization
2021-03-24 10:42:46 -07:00
Mouse Reeve
4e768b72cf
Merge pull request #786 from mouse-reeve/css-transitions
Adds css transitions for notification and unread statuses
2021-03-24 10:32:28 -07:00
Mouse Reeve
30cebc017f Updates tests to catch decimal/float/int errors in status serialization 2021-03-24 10:31:05 -07:00
Mouse Reeve
73e38f9050 Fixes formatting rating value in template 2021-03-24 10:07:39 -07:00
Mouse Reeve
1d53a06e35 Fixes decimaal formatting 2021-03-24 09:51:49 -07:00
Mouse Reeve
9dc19b8bff Python formatting 2021-03-24 09:34:21 -07:00
Mouse Reeve
bde6ce8525 Fixes review name in pure serialization 2021-03-24 09:31:45 -07:00
Mouse Reeve
320dfd1a59 Python formatting 2021-03-24 08:39:37 -07:00
Mouse Reeve
1707bba8a8 Adds ordering to status model 2021-03-24 08:37:25 -07:00
Mouse Reeve
a67b0ae8a7 Adds stream length to .env 2021-03-24 08:33:05 -07:00
Mouse Reeve
8d5630e059 Adds css transitions to notification and unread statuses 2021-03-23 17:52:58 -07:00
Mouse Reeve
701487c526 Fixes mocks on activitystreams tests 2021-03-23 15:03:05 -07:00
Mouse Reeve
3e888c17dd Fixes audience filters with tests 2021-03-23 14:59:51 -07:00
Mouse Reeve
3a0025b105 Python formatting 2021-03-23 13:28:05 -07:00
Mouse Reeve
1fa7330595 Management command for rebuilding ALL feeds 2021-03-23 13:23:35 -07:00
Mouse Reeve
02bd94fdc8 Handle '/' view in updates 2021-03-23 13:23:19 -07:00
Mouse Reeve
0d88794f46 Python formatting 2021-03-23 13:07:29 -07:00
Mouse Reeve
5caac46c31 Updates updates tests 2021-03-23 13:02:45 -07:00
Mouse Reeve
9e9fd5c5a6 Only show feed additions on the first page 2021-03-23 12:54:49 -07:00
Mouse Reeve
2acf1355e9 Merge branch 'main' into redis-activity-stream 2021-03-23 12:53:12 -07:00
Mouse Reeve
b8cd1d5bce Show unread status reload link 2021-03-23 12:52:38 -07:00
Mouse Reeve
28651bd804 Fixes views tests 2021-03-23 11:34:32 -07:00
Mouse Reeve
7f271dbde7 Fixes model tests 2021-03-23 10:41:18 -07:00
Mouse Reeve
9e23bfe7c0 Updates activitypub tests 2021-03-23 10:25:52 -07:00
Mouse Reeve
59deb1cd05 More mocks for more tests 2021-03-23 09:35:39 -07:00
Mouse Reeve
de2cea5ff2 Adds mocks for block tests 2021-03-23 09:14:31 -07:00
Mouse Reeve
2d350474bf Mocks redis in feed view tests 2021-03-23 09:09:30 -07:00
Mouse Reeve
b9ec6a1e2b Mocks redis for helpers tests 2021-03-23 09:00:04 -07:00
Mouse Reeve
f290e60b85 Improves signal handling and updates inbox tests 2021-03-23 08:53:28 -07:00
Mouse Reeve
1cf4c0d5cc Mocks redis in interaction tests 2021-03-23 08:27:24 -07:00
Mouse Reeve
73661b9472 Mocks redis in outbox tests 2021-03-23 08:19:25 -07:00
Mouse Reeve
ea71c2aa88 Fixes status views tests 2021-03-23 08:13:57 -07:00
Mouse Reeve
e17ee40800 Generalizes broadcast mock in status view tests 2021-03-23 07:28:44 -07:00
Mouse Reeve
04d2085276 Create feeds on user registration 2021-03-23 07:01:49 -07:00
Mouse Reeve
371e908e8a Adds handlers for user relationship state changes 2021-03-22 21:11:23 -07:00
Mouse Reeve
39f34bc6e6 Adds activity stream utility for adding and removing statuses 2021-03-22 20:32:59 -07:00
Mouse Reeve
26fa81f19b Use redis lists instead of ordered sets
Django unsorts it so there's no point
2021-03-22 19:53:26 -07:00
Mouse Reeve
73185c6e40 Python formatting 2021-03-22 19:19:21 -07:00
Mouse Reeve
7eb494b4ab Removes get activity feed function 2021-03-22 19:17:46 -07:00
Mouse Reeve
0caea7e9ff Python formatting 2021-03-22 18:54:17 -07:00
Mouse Reeve
2fe9d1044a Moves tab title translations into templates 2021-03-22 18:42:12 -07:00
Mouse Reeve
3efabf1da3 Creates activity stream class 2021-03-22 18:39:16 -07:00
Mouse Reeve
459479db43 Add statuses to timelines 2021-03-22 16:19:02 -07:00
Mouse Reeve
1b9f78203e
Merge pull request #783 from mouse-reeve/book-tabs
Adds javascript for tabs on book page
2021-03-22 13:04:44 -07:00
Mouse Reeve
ebc01362e6 Adds redis image for activity streams 2021-03-22 12:50:55 -07:00
Mouse Reeve
e513ea8b9c Adds javascript for tabs on book page 2021-03-22 12:37:01 -07:00
Mouse Reeve
5890386fba Only show reading goal insert on first page of feed 2021-03-22 08:50:41 -07:00
Mouse Reeve
dedac83b5c Fixes model test 2021-03-21 17:18:42 -07:00
Mouse Reeve
01104581de Adds test for directory view 2021-03-21 16:50:03 -07:00
Mouse Reeve
abde06a700 Pytohn formatting 2021-03-21 16:47:09 -07:00
Mouse Reeve
6e3a203b46 Adds directory to main menu 2021-03-21 16:43:13 -07:00
Mouse Reeve
ba00672e66 Directory view 2021-03-21 16:37:52 -07:00
Mouse Reeve
3e75253ff1 Updates activitpub and tests for discoverability 2021-03-21 14:50:36 -07:00
Mouse Reeve
16994908d8 Lets users opt in to directory 2021-03-21 14:45:11 -07:00
Mouse Reeve
b29be11862 Updates reset password view test 2021-03-21 12:33:19 -07:00
Mouse Reeve
a0b106f6bb Adds emailing tests 2021-03-21 12:31:05 -07:00
Mouse Reeve
da2d146f0b runs black for python formatting 2021-03-21 12:07:58 -07:00
Mouse Reeve
c76ad0a312 Celery can't render tempaltes 2021-03-21 12:06:20 -07:00
Mouse Reeve
d8a20175b6 Adds email template layout and formatting 2021-03-21 12:06:12 -07:00
Mouse Reeve
33b5639af0 Fixes tests 2021-03-21 09:20:37 -07:00
Mouse Reeve
1644c421e5 Send invites 2021-03-21 09:13:21 -07:00
Mouse Reeve
685da1f5b8 Adds email templating 2021-03-21 08:54:57 -07:00
Mouse Reeve
5b8bd9ad44 Adds tests 2021-03-21 08:24:59 -07:00
Mouse Reeve
5297b9d796 Ignore request flow 2021-03-21 08:18:04 -07:00
Mouse Reeve
81ab73f309 Black formatting 2021-03-20 20:19:27 -07:00
Mouse Reeve
5e24b438ff Placeholders for send/ignore request flows 2021-03-20 20:16:13 -07:00
Mouse Reeve
f91a8144f4 Admin UI for managing invite requests 2021-03-20 19:39:39 -07:00
Mouse Reeve
d15396eb26 Request invite flow 2021-03-20 19:14:41 -07:00
Mouse Reeve
4d07cb1eb5 Adds invite request model 2021-03-20 18:27:30 -07:00
Mouse Reeve
396a43136d Black formatting 2021-03-20 18:04:10 -07:00
Mouse Reeve
d3a4282f11 Show progress on status 2021-03-20 18:03:20 -07:00
Mouse Reeve
17489f002f html linter fixes 2021-03-20 17:43:51 -07:00
Mouse Reeve
2a612f7278 Formatting 2021-03-20 17:39:05 -07:00
Mouse Reeve
dd15e87073 Merge branch 'main' into progress-update-ui 2021-03-20 17:38:22 -07:00
Mouse Reeve
daa0268eb3 Update progress with comments 2021-03-20 17:35:10 -07:00
Mouse Reeve
942c4a6664 Move progress updates into modal 2021-03-20 17:18:18 -07:00
Fabien Basmaison
fa79070b59 [lint] Update editorconfig linting:
- Add settings for comments.
- Remove custom settings that don’t work.
- Fix vendor JS file:
2021-03-20 16:33:18 +01:00
Fabien Basmaison
3ff336b104 Use the file on mouse-reeve/bookwyrm, verbatim. 2021-03-20 16:08:47 +01:00
Fabien Basmaison
4a7c0cd184 Fix indentation in bookwyrm/tests/data/ol_isbn_search.json. 2021-03-20 15:36:25 +01:00
Fabien Basmaison
b9a61162d7 Merge branch 'main' into ci 2021-03-20 15:26:51 +01:00
Mouse Reeve
c31bf1f0c8 Fixes loading javascript listeners 2021-03-19 15:59:28 -07:00
Mouse Reeve
1b5c71c7b1 formatting 2021-03-19 12:44:30 -07:00
Mouse Reeve
5a0723cde7 Migrations for django 3.1 upgrade 2021-03-19 12:43:36 -07:00
Mouse Reeve
08327b3a0a
Merge pull request #766 from mouse-reeve/decimal-ratings
Make rating a decimal field
2021-03-19 12:42:07 -07:00
Mouse Reeve
5ed3320c9b Formatting 2021-03-19 12:16:44 -07:00
Mouse Reeve
266c6fe777 Make rating a decimal field 2021-03-19 12:14:59 -07:00
Mouse Reeve
90cfff67d6 Updaates locale files 2021-03-19 11:58:27 -07:00
Mouse Reeve
5f1bed3d78
Merge pull request #764 from mouse-reeve/modular-javascript
Move javascript into separate files and only include where needed
2021-03-19 11:01:20 -07:00
Mouse Reeve
5ad645c225 Move check all js into separate file 2021-03-19 10:51:45 -07:00
Mouse Reeve
443daab128 Move tabs javascript into separate file 2021-03-19 10:47:32 -07:00
Mouse Reeve
e92a506e61 Upload cover via url form edit book view 2021-03-19 10:29:34 -07:00
Mouse Reeve
a8545e2701 Adds tests for upload cover view
bonus test for user view
2021-03-19 09:20:48 -07:00
Mouse Reeve
9470b2831f Add cover via url 2021-03-18 10:04:33 -07:00
Mouse Reeve
ae6d8529af Moves add cover into modal 2021-03-18 09:44:59 -07:00
Mouse Reeve
4e55018e41 Moves book templates into dir 2021-03-18 09:37:16 -07:00
Mouse Reeve
1ad7d88cc8
Merge pull request #760 from mouse-reeve/reveal-cws
Remove a step when unfurling statuses with content warnings
2021-03-18 09:21:42 -07:00
Mouse Reeve
c2386bd3a1 Remove a step when unfurling statuses with content warnings 2021-03-18 09:15:47 -07:00
Mouse Reeve
77f11572f3 Remove invalid aria tag
thank you, bot
2021-03-18 09:08:19 -07:00
Mouse Reeve
48a5232ebb Formatting 2021-03-18 09:06:00 -07:00
Mouse Reeve
91aaf704f5 Adds set reading goal display control in user settings 2021-03-18 09:05:18 -07:00
Mouse Reeve
baee0796cd Moves localstorage handlers into its own file 2021-03-18 09:02:07 -07:00
Mouse Reeve
9a20b5dbd5 Hide goal using database field instead of localstorage 2021-03-18 09:00:25 -07:00
Mouse Reeve
ba09377041 Use None instead of empty dict for endpoint default value 2021-03-17 13:59:16 -07:00
Mouse Reeve
0d8e1f0ae2 Makes endponts a default field 2021-03-17 09:34:20 -07:00
Mouse Reeve
db426d71ee Fixes failed serialization of empty avatar field 2021-03-17 09:22:45 -07:00
Mouse Reeve
d50689e63f
Merge pull request #754 from mouse-reeve/ui-fixes
misc UI fixes
2021-03-16 14:20:11 -07:00
Mouse Reeve
f0711ad40e Fixes margins on lists 2021-03-16 14:13:42 -07:00
Mouse Reeve
bb1e8edc00 Shifts alignment on oclc number with line wrap 2021-03-16 14:09:21 -07:00
Mouse Reeve
64eb6e8b07 Fixes large covers overlapping on book page 2021-03-16 14:04:51 -07:00
Mouse Reeve
8e1e4572f6
Merge pull request #747 from mouse-reeve/edit-book-fields
Adds publishers to edit book form
2021-03-16 14:03:49 -07:00
Mouse Reeve
46906f7e41 Fixes whitespace jump when switching from trimmed to full 2021-03-16 14:03:25 -07:00
Mouse Reeve
9251883d77 Checks if publisher fields is present (it isn't on works) 2021-03-16 13:54:15 -07:00