Commit graph

786 commits

Author SHA1 Message Date
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
Mouse Reeve
4fb85ced5f Updates logic for new and newly discoverable users 2021-04-24 11:16:35 -07: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
126594ec49 Cleans up queryset declarations 2021-04-23 13:47:13 -07:00
Mouse Reeve
d2b2065db8 Show user's book content 2021-04-23 13:32:58 -07:00
Mouse Reeve
74ccaf27fa Tag removal migration 2021-04-22 18:23:23 -07:00
Mouse Reeve
563623616c Merge branch 'main' into remove-tags 2021-04-22 18:18:24 -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
2e12d54687
Merge pull request #966 from bookwyrm-social/user-admin
User admin
2021-04-20 13:43:51 -07:00
Mouse Reeve
b22d1863c9 More robust user page test and bug fix 2021-04-20 12:31:45 -07:00
Mouse Reeve
0a37b4665c Adds control for moderator to set user group 2021-04-19 17:29:29 -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
788e282dce Moves user admin pages into their own directory 2021-04-19 15:12:36 -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
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
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
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
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
Pablo Barton
f6824268ed 584 sorting of lists 2021-04-16 22:17:15 -04:00
Pablo Barton
88d37736ee 902 using get_page for Paginator instead of page 2021-04-15 08:54:23 -04: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
659986771f Edit notes on federated servers 2021-04-11 10:36:40 -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
b6a7871b04 Makes visibility evaluator a model function 2021-04-11 09:31:18 -07:00
Mouse Reeve
98ff66cd16 Don't broadcast curation rejects 2021-04-10 18:15:13 -07:00
Mouse Reeve
675b34f5ad Merge branch 'main' into collection-item-refacotr 2021-04-10 16:02:54 -07:00
Mouse Reeve
1903812b1d Class method for checking if urls are blocked 2021-04-10 11:44:29 -07:00
Mouse Reeve
d5fbdacc02 Adds unblock view 2021-04-10 11:06:28 -07:00
Mouse Reeve
2741aa55be Makes blocking it's own view 2021-04-10 10:37:28 -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
13d54871b7 Merge branch 'main' into domain-block 2021-04-10 09:26:01 -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
6617cede37 Loudly throw errors in inbox task 2021-04-08 14:15:58 -07:00
Mouse Reeve
0de1b8d0c3 Case insensitive remote user search 2021-04-08 09:59:21 -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
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
74549956c2 Adds edit server form 2021-04-07 11:52:13 -07:00
Mouse Reeve
4e0225749d Merge branch 'main' into domain-block 2021-04-07 11:23:15 -07:00
n2no1
ac86c194d4 move from strptime to dateutil for parsing date inputs 2021-04-07 14:11:13 -04:00
Mouse Reeve
e3d01c6736 Gracefully handle errors in webfinger during search 2021-04-07 09:17:04 -07:00
n2no1
31146b00e4 import MultiValueDictKeyError to catch with formcopy 2021-04-06 21:40:15 -04:00
n2no1
51e16fba97 run black, add a try/catch around the formcopy fix 2021-04-06 21:01:57 -04: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
03e5da12dd Call suggestions redis in feed 2021-04-06 08:31:18 -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
ad543f46c1 Adds block and unblock functionality 2021-04-05 15:38:32 -07:00
Mouse Reeve
1901f7e6cb Check if incoming domains are blocked 2021-04-05 15:16:41 -07:00
Mouse Reeve
bd8858830a Created generic redis class for activitstreams 2021-04-05 11:05:37 -07: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
03ba01a790 Expands filtering and sorting on invite requests page 2021-04-04 10:36:28 -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
ffb7f8f7ce Populate redraft form 2021-04-03 15:47:47 -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
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
6211e66a5e
Merge pull request #849 from mouse-reeve/ui-small-fixes
UI small fixes
2021-04-02 07:37:31 -07:00
Mouse Reeve
e84a07430c Fixes books get started view error 2021-04-02 07:11:35 -07:00
Mouse Reeve
de16dd75c6 Python formatting 2021-04-01 20:30:50 -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
634509a7f3 Associate users with their invites 2021-04-01 17:20:02 -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
bd0c0ff2a2 Changes the header copy 2021-04-01 12:46:38 -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
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
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
d5d4582ed1 Only show unshelved books 2021-04-01 08:12:38 -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
13e153412e Adds profile and user get started views 2021-03-31 14:53:15 -07:00
Mouse Reeve
7483cb5919 Adds getting started find books view 2021-03-31 13:56:26 -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
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
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
754ccaedd6 Move importers into module 2021-03-30 09:03:57 -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
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
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
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
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
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
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
b0dc5f3f93 357 Users set preferred timezone, used for readthroughs 2021-03-28 19:16:43 -04: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
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
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
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
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
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
6548291571 Adds join directory insert 2021-03-25 08:39:45 -07:00
Mouse Reeve
3a0025b105 Python formatting 2021-03-23 13:28:05 -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
b8cd1d5bce Show unread status reload link 2021-03-23 12:52:38 -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
abde06a700 Pytohn formatting 2021-03-21 16:47:09 -07:00
Mouse Reeve
ba00672e66 Directory view 2021-03-21 16:37:52 -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
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
daa0268eb3 Update progress with comments 2021-03-20 17:35:10 -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
4e55018e41 Moves book templates into dir 2021-03-18 09:37:16 -07:00
Mouse Reeve
9a20b5dbd5 Hide goal using database field instead of localstorage 2021-03-18 09:00:25 -07:00
Mouse Reeve
b1335d2811 Formatting 2021-03-15 15:33:05 -07:00
Mouse Reeve
f0a936f15e Add books to lists from the book page 2021-03-15 14:44:03 -07:00
Mouse Reeve
99ba39413e Fixes upload and display of logos in admin panel 2021-03-15 10:05:08 -07:00
Mouse Reeve
8e71186067 Fixes adding mutiple authors 2021-03-13 18:09:09 -08:00
Mouse Reeve
4d7364d045 Undo follow request view 2021-03-13 14:55:09 -08:00
Mouse Reeve
139416d9c3 Moves federation info endpoints into views module 2021-03-13 11:00:55 -08:00
Mouse Reeve
b64fb3e0aa
Merge pull request #715 from mouse-reeve/reporting
Reporting
2021-03-12 16:28:15 -08:00
Mouse Reeve
9245b9d9ca Comments on reports 2021-03-12 15:56:54 -08:00
Mouse Reeve
8c74beb78c Allow moderators to delete reported statuses 2021-03-12 11:25:56 -08:00
Mouse Reeve
677a49fee3 Option to deactivate reported users 2021-03-12 11:13:53 -08:00
Mouse Reeve
8bd12f0e06 Remove unused method 2021-03-12 10:27:08 -08:00
Mouse Reeve
f220290a2b
Merge pull request #692 from mouse-reeve/create-book
Create book
2021-03-12 10:26:15 -08:00
Mouse Reeve
bedc9e0a88 Resolve and re-open reports 2021-03-12 10:22:03 -08:00
Mouse Reeve
b42c761b0b Safer author add logic 2021-03-12 09:46:28 -08:00
Mouse Reeve
28db3e2733 Formatting 2021-03-11 16:40:35 -08:00
Mouse Reeve
c1976dbd62 Add multiple authors 2021-03-11 16:33:49 -08:00
Mouse Reeve
965d84f86f Fixes creating news works 2021-03-11 15:41:12 -08:00
Mouse Reeve
7f45206693 Moves moderation templates to their own directory 2021-03-10 12:38:49 -08:00
Mouse Reeve
999bff4bba Basic reports admin templates 2021-03-09 12:35:07 -08:00
Mouse Reeve
21f199c548 Make reports 2021-03-08 18:36:50 -08:00
Mouse Reeve
e59c127686 Adds models for reporting 2021-03-08 17:16:59 -08:00
Mouse Reeve
ab57b5b906 First pass at views for reporting 2021-03-08 15:55:48 -08:00
Mouse Reeve
500394fc52 Make sure creating books doesn't broadcast in tests 2021-03-08 11:54:26 -08:00
Mouse Reeve
58b48faff8 Tests create books flow 2021-03-08 10:50:01 -08:00
Mouse Reeve
acbebbe947 Formats code changes 2021-03-08 10:10:30 -08:00
Mouse Reeve
01a2a77cbb
Merge branch 'main' into create-book 2021-03-08 10:07:02 -08:00
Mouse Reeve
ad43e5c83a
Merge branch 'main' into review-rate 2021-03-08 09:48:25 -08:00
Mouse Reeve
a5baa1f5c6 Create new books 2021-03-08 09:28:22 -08:00
Mouse Reeve
70296e760b Runs black 2021-03-08 08:49:10 -08:00
Mouse Reeve
6d9c024e0e Merge branch 'main' into create-book 2021-03-07 15:49:00 -08:00
Mouse Reeve
1eac2b9386 Test for deleting authors 2021-03-07 15:14:57 -08:00
Mouse Reeve
79d9c493f7 Remove author flow 2021-03-07 14:19:22 -08:00
Mouse Reeve
09b77e567f Check for invalid json before verifying signature 2021-03-07 09:44:42 -08:00
Mouse Reeve
5ddb3b810e Don't show books lists when item isn't approved 2021-03-07 08:37:39 -08:00
Henri Bourcereau
703ff60271 isbn search 2021-03-06 18:09:15 +01:00
Mouse Reeve
5c089db086 Full add author flow 2021-03-04 17:10:33 -08:00
Mouse Reeve
b2d1384bc5 UI for adding and removing authors 2021-03-04 15:10:55 -08:00
Mouse Reeve
327f14a150 Merge branch 'main' into create-book 2021-03-03 08:55:40 -08:00
Mouse Reeve
2c37893790 Adds default shelf names translations 2021-03-02 10:32:46 -08:00
Mouse Reeve
5938c438e2 Translate table titles in header 2021-03-02 09:59:15 -08:00
Mouse Reeve
2faf5cea2a modifies edit book code to allow creation as well 2021-03-02 09:01:31 -08:00
Mouse Reeve
2c2d7c4694
Merge pull request #669 from mouse-reeve/edit-book-field
Track last edited by on partial edits
2021-03-01 11:43:17 -08:00
Mouse Reeve
b2779cc6bf
Merge pull request #664 from mouse-reeve/login-csrf
Fixes csrf failure logging on from multiple tabs
2021-02-28 16:16:00 -08:00
Mouse Reeve
3ecdc8f93e Track last edited by on partial edits 2021-02-28 13:40:57 -08:00
Mouse Reeve
5e0a1749f3 Fixes csrf failure logging on from multiple tabs 2021-02-28 11:47:30 -08:00
Mouse Reeve
5bc4456d4e Merge branch 'main' into review-rate 2021-02-28 10:35:20 -08:00
Mouse Reeve
c483768544 Moves titles into templates and adds i18n support 2021-02-28 10:00:36 -08:00
Mouse Reeve
04ed5d62dd
Merge pull request #649 from mmai/feature/importLibrarything
librarything import
2021-02-27 12:17:41 -08:00
Mouse Reeve
4a10c99026 Fixes handling of ratings in status views and urls 2021-02-25 15:05:51 -08:00
Mouse Reeve
0ecfff0f16
Merge pull request #625 from mouse-reeve/inbox-refactor
Inbox refactor
2021-02-24 13:34:59 -08:00
Mouse Reeve
c7d8548614 Select subclasses in rss feed 2021-02-24 12:35:43 -08:00
Mouse Reeve
a5ee535ab6 fixes book reviews queryset aggregators 2021-02-24 12:29:50 -08:00
Mouse Reeve
779581c6f4 Only show dms in dm page 2021-02-24 12:06:00 -08:00
Mouse Reeve
2a5d4b83d8 Show dms in the right places 2021-02-24 11:59:21 -08:00
Mouse Reeve
bcdf2ee142 Improves privacy-related display 2021-02-24 11:35:19 -08:00
Henri Bourcereau
b85fed3595 librarything import 2021-02-24 20:20:14 +01:00
Mouse Reeve
cad19ee878 Merge branch 'main' into inbox-refactor 2021-02-24 09:51:34 -08:00
Mouse Reeve
fcc0e0ccb6 Cleans up formatting on about page 2021-02-23 19:58:04 -08:00
Mouse Reeve
fba53c72e0 default safe mode for activity serialization 2021-02-23 17:19:47 -08:00
Mouse Reeve
4d0e52bf51 Test tag and list add 2021-02-23 17:18:25 -08:00
Mouse Reeve
23fb5f62a2 Keep invite settings in form after save 2021-02-23 15:25:26 -08:00
Mouse Reeve
d3381d7a79 Paginates invite page
I sure have sent out a lot of invites
2021-02-23 14:41:33 -08:00
Mouse Reeve
31c9c07e38 Makes covers clickable on discover page 2021-02-23 14:06:08 -08:00
Mouse Reeve
fdbd3688f4
Merge pull request #636 from mouse-reeve/follow-block-button
Cleans up display of follow/block/unfollow/unblock buttons
2021-02-23 13:38:02 -08:00
Mouse Reeve
b9f06edc1b Fixes a few missed calls to get_user_from_username 2021-02-23 13:12:50 -08:00
Mouse Reeve
e6b4212e6b Typo fix 2021-02-23 13:05:43 -08:00
Mouse Reeve
364b053d9a Better user block privacy 2021-02-23 12:41:37 -08:00
Mouse Reeve
6e09d485c4 Outbox sensitive to user agent strings 2021-02-23 11:34:15 -08:00
Mouse Reeve
d022fef625 broadcast accepts correctly 2021-02-17 11:28:54 -08:00
Mouse Reeve
3f61675a0a Updates usage of resolve_remote_id 2021-02-16 19:35:43 -08:00
Mouse Reeve
91908eb1b6 Smarter way of inferring serializers (which are explicitly present) 2021-02-16 18:59:50 -08:00
Mouse Reeve
a3b7063e4b makes inbox csrf exempt 2021-02-16 18:07:57 -08:00
Mouse Reeve
d81bfb6573 Fixes unfollow 2021-02-16 16:35:28 -08:00
Mouse Reeve
b57a86d4e2 Fixes approving follow requests automatically 2021-02-16 12:58:29 -08:00
Mouse Reeve
606d89d3bd Fixes boost, recursive to_model calls 2021-02-15 21:20:00 -08:00
Mouse Reeve
a16b81a6eb Adds actions for all verbs 2021-02-15 20:49:23 -08:00
Mouse Reeve
12a3aa9667 incoming Create flow with tests 2021-02-15 19:41:22 -08:00
Mouse Reeve
81e2021f92 Move handlers to activitypub classes 2021-02-15 18:47:08 -08:00
Mouse Reeve
e810c2bee0 Recursively parse activities 2021-02-15 17:23:17 -08:00
Mouse Reeve
fd19b55961 Basic checks for inbox 2021-02-15 16:27:25 -08:00
Mouse Reeve
8cb345886b Show lists on book page 2021-02-15 11:30:22 -08:00
Mouse Reeve
d250127062
Merge pull request #621 from mouse-reeve/fixes-follows
Fixes follows
2021-02-12 16:22:05 -08:00
Mouse Reeve
363609e7be Fixes follows
Yikes
2021-02-12 16:16:22 -08:00
Mouse Reeve
2297fe133d Uses template for generating goal status 2021-02-12 11:52:05 -08:00
Mouse Reeve
ac57db5375 Boost notifications 2021-02-10 16:00:02 -08:00
Mouse Reeve
74d39c3e24 Move fav notifications to model 2021-02-10 14:31:39 -08:00
Mouse Reeve
13d8ccb016 Moves status notifications into model 2021-02-10 14:13:36 -08:00
Mouse Reeve
b22e56333f Gracefully handle list duplicate additions 2021-02-10 13:50:20 -08:00
Mouse Reeve
2f42ec5e37 Fixes execution order for formatting content body for statuses 2021-02-10 12:27:09 -08:00
Mouse Reeve
96921e4be6
Merge pull request #574 from mouse-reeve/shelve-buttons
Shelve buttons
2021-02-10 09:01:33 -08:00
Mouse Reeve
486b660351
Merge pull request #594 from mouse-reeve/broadcast-fixes
Refactors broadcasting
2021-02-10 08:52:15 -08:00
Mouse Reeve
485de039cf
Merge branch 'main' into shelve-buttons 2021-02-09 13:28:00 -08:00
Mouse Reeve
0682117a06 delete and re-add shelf books in switch edition 2021-02-09 12:07:45 -08:00
Mouse Reeve
8fb08e09fd Filter pending books from list display 2021-02-09 11:40:35 -08:00
Mouse Reeve
e998ac28da Fixes broadcasting created status that needs second save 2021-02-09 11:13:02 -08:00
Mouse Reeve
0fd2885e7e Tests broadcasting from list views more thoroughly 2021-02-09 09:41:48 -08:00
Mouse Reeve
ee2b656b08 fixes change password view 2021-02-06 22:37:40 -08:00
Mouse Reeve
b02a2c1aa4 broadcasting for follow, accept, and reject 2021-02-06 19:18:02 -08:00
Mouse Reeve
c7c975d695 Use save method override instead of a signal
and gets the new test file working
2021-02-06 12:00:47 -08:00
Mouse Reeve
7381536ad6 circular import issues and added_by migration 2021-02-04 14:27:26 -08:00
Mouse Reeve
42d80ce238 Remove explicit broadcast calls 2021-02-04 13:21:55 -08:00
Mouse Reeve
c03dcaf842 Distinct lists 2021-02-03 16:49:42 -08:00
Mouse Reeve
476d65552e Hide other people's empty lists from lists page 2021-02-03 16:01:49 -08:00
Mouse Reeve
7aa9204cd2 Fixes missing privacy field for to-read statuses 2021-02-02 15:25:34 -08:00
Mouse Reeve
e53b4e57fa Federating lists and shelves 2021-02-02 09:37:46 -08:00
Mouse Reeve
3e3b21c46a Fixes ap serialization of list lists 2021-02-01 12:03:11 -08:00
Mouse Reeve
e865530142 Search lists 2021-02-01 11:50:47 -08:00
Mouse Reeve
ec7a9f68c2 Adds tabs to user profile page 2021-02-01 11:34:08 -08:00
Mouse Reeve
d7c32cc314 Paginates lists view 2021-01-31 17:34:06 -08:00
Mouse Reeve
fd9b98d443 Fixes logged out list view 2021-01-31 13:38:26 -08:00
Mouse Reeve
b9b5694165 Fixes bug in removing list item 2021-01-31 13:14:52 -08:00
Mouse Reeve
b17761cfc3 remove items from list 2021-01-31 12:15:38 -08:00
Mouse Reeve
13b38d40bb Curation view 2021-01-31 12:07:54 -08:00
Mouse Reeve
a6c5341ad1 curation ui 2021-01-31 11:45:16 -08:00
Mouse Reeve
846489e88e Only show approved list items 2021-01-31 11:21:50 -08:00
Mouse Reeve
6a68fe9475 Search for books to add to lists 2021-01-31 11:11:26 -08:00
Mouse Reeve
1e9189d43c Suggest recently edited books if we're out of user books 2021-01-31 10:56:40 -08:00
Mouse Reeve
acd922970a Add to and edit lists 2021-01-31 10:34:25 -08:00
Mouse Reeve
4883231347 Fixes model test 2021-01-31 09:08:06 -08:00
Mouse Reeve
d73a1b4ec1 handles list privacy in display 2021-01-31 08:41:11 -08:00
Mouse Reeve
69c2b192a4 Adds list creation form 2021-01-31 08:08:52 -08:00
Mouse Reeve
91483b56f5 Adds views tests 2021-01-31 07:09:03 -08:00
Mouse Reeve
0815b36ec9 Adds basic view and template files 2021-01-30 21:42:47 -08:00
Mouse Reeve
765a6a1878 uncomment error handling for bad shelf id 2021-01-30 15:56:22 -08:00
Mouse Reeve
0c723eb550 Fixes shelf page template path bug 2021-01-30 15:49:43 -08:00
Mouse Reeve
9b326f7321 Give user control over "want to read" posts 2021-01-30 15:18:38 -08:00
Mouse Reeve
ac4a178e83 Fixes shelf page template path bug 2021-01-30 12:03:50 -08:00
Mouse Reeve
d1ee26e282 list of federated servers for admin panel 2021-01-29 16:02:59 -08:00
Mouse Reeve
9db327a69e Edit view for site settings 2021-01-29 15:50:46 -08:00
Mouse Reeve
21aadf2920 Adds site settings view 2021-01-29 15:38:42 -08:00
Mouse Reeve
93ef9e31ad Send message to a particular user 2021-01-29 11:44:04 -08:00
Mouse Reeve
779a5e0cbf Compose window for dms 2021-01-29 11:14:18 -08:00
Mouse Reeve
b53ef73faf Feed templates 2021-01-29 10:25:31 -08:00
Mouse Reeve
9fa8ee3940 Groups profile settings templates 2021-01-29 09:28:00 -08:00
Mouse Reeve
24af288c52 Refactors user pages 2021-01-29 09:05:53 -08:00
Mouse Reeve
e6a0e5f96c
Merge pull request #554 from bibliotechy/430-add-rss-support
First attempt at adding rss support
2021-01-29 08:09:32 -08:00
Chad Nelson
9c2813545c Closer to some passing tests 2021-01-27 21:23:20 -05:00
Mouse Reeve
b52aa5bee9 Fixes status tests 2021-01-27 09:31:01 -08:00
Mouse Reeve
1a54ed875b easier way to get user statuses queryset 2021-01-27 09:30:03 -08:00
Mouse Reeve
5377a8f187 Fixes reading view 2021-01-27 09:29:34 -08:00
Mouse Reeve
662cbf2da9
Merge pull request #555 from mouse-reeve/blocking
Blocking
2021-01-26 14:43:01 -08:00
Mouse Reeve
22e4138555 unblock 2021-01-26 13:00:36 -08:00
Mouse Reeve
acfc865d4e Adds blocked users view
also refactors the setting view
2021-01-26 10:01:50 -08:00
Mouse Reeve
3f011445e2 Hide user pages to blocked users 2021-01-26 08:31:55 -08:00
Mouse Reeve
681f5482fd Don't allow blocked users to access user page 2021-01-26 08:07:38 -08:00
Mouse Reeve
2a6a000e05 Moves avatar crop into function and adds test 2021-01-26 08:03:16 -08:00
Mouse Reeve
ac2ab2981f ui path to iniate blocks 2021-01-25 14:03:18 -08:00
Mouse Reeve
d994d8d3c8 Moves blocking side effects to model 2021-01-24 17:07:19 -08:00
Mouse Reeve
4e0ec12052 hide blocked content from feed 2021-01-24 16:13:26 -08:00
Chad Nelson
ad2baf3be5 Use display_name instead of username 2021-01-23 18:39:55 -05:00
Mouse Reeve
6cc29a6cf8 Hide content from blocked users 2021-01-23 11:40:41 -08:00
Chad Nelson
0fe2e7a356 First pass at basic RSS 2021-01-23 09:48:34 -05:00
Mouse Reeve
20758b662d don't need the showprogress get param any longer 2021-01-22 14:33:03 -08:00
Mouse Reeve
6c52afeae0
Merge pull request #354 from cincodenada/progress_update
Keep track of progress through books over time
2021-01-21 16:57:16 -08:00
Mouse Reeve
2809095966
Merge pull request #548 from mouse-reeve/at-mentions
puts @'mentions directly in compose box
2021-01-20 09:35:18 -08:00
Mouse Reeve
fe42c6d853 Remove login decorator from about page 2021-01-20 07:16:25 -08:00
Joel Bradshaw
85edee42ef Merge branch 'main' into progress_update 2021-01-19 23:49:35 -08:00
Mouse Reeve
2411b4fe79 puts @'mentions directly in compose box 2021-01-19 16:16:22 -08:00
Mouse Reeve
0700a71803
Merge pull request #538 from mouse-reeve/polling
Polling to update notification count
2021-01-19 15:13:37 -08:00
Mouse Reeve
c1c7b68fc1 Fixes error state for goal 2021-01-19 07:40:37 -08:00
Mouse Reeve
1048688284 Fixes import paths 2021-01-19 07:15:08 -08:00
Joel Bradshaw
29140be78e Merge branch 'main' into progress_update 2021-01-18 19:41:06 -08:00
Mouse Reeve
a7620c07cb Fixes edit shelf view 2021-01-18 16:38:04 -08:00
Mouse Reeve
394666357f Poll for notifications 2021-01-18 16:32:02 -08:00
Mouse Reeve
96cc9d44db Fixes email migration 2021-01-18 11:57:20 -08:00
Mouse Reeve
d8ace7e417 Fixes html error on edit user page 2021-01-18 11:19:30 -08:00
Mouse Reeve
11dd8c8f82 Allow users to log in with email or username 2021-01-18 11:06:28 -08:00
Mouse Reeve
c7b03fec5a Fixes rate action 2021-01-18 09:57:44 -08:00
Joel Bradshaw
49893f49e1 Merge fixes 2021-01-17 13:09:49 -08:00
Joel Bradshaw
a4519d55c9 Merge branch 'main' into progress_update 2021-01-17 13:05:38 -08:00
Mouse Reeve
de9fbcef80 Naturally 404 for deleted statuses 2021-01-16 14:38:21 -08:00
Mouse Reeve
8532c9a46b tests goal views 2021-01-16 13:29:28 -08:00
Mouse Reeve
ec79b10088 Post status about goal 2021-01-16 12:48:04 -08:00
Mouse Reeve
f3f6592e72 Edit goal 2021-01-16 12:39:51 -08:00
Mouse Reeve
112b9f9332 Create goal with privacy 2021-01-16 11:34:19 -08:00
Mouse Reeve
3a7271309e Adds markup for set goal status on feed page 2021-01-16 08:19:54 -08:00
Mouse Reeve
7d6a06025e Adds more reading tests 2021-01-13 18:02:01 -08:00
Mouse Reeve
3e5ed19643 Removes outgoing and view_actions 2021-01-13 13:36:01 -08:00
Mouse Reeve
a385aa4cb5 Following views 2021-01-13 13:06:26 -08:00
Mouse Reeve
7555d76c3f Adds reading acitivity views 2021-01-13 12:35:39 -08:00
Mouse Reeve
12bf34e242 Adds error page views 2021-01-13 12:08:51 -08:00
Mouse Reeve
ffd403dd47 sorts imports for views 2021-01-13 12:08:35 -08:00
Mouse Reeve
b6bdfab943 Search class views 2021-01-13 12:05:01 -08:00
Mouse Reeve
beeeaaaf39 Adds shelf views 2021-01-13 11:45:08 -08:00
Mouse Reeve
20e280e676 Adds tag class views 2021-01-13 10:24:24 -08:00
Mouse Reeve
4dea22bef6 Author class view 2021-01-13 09:54:35 -08:00
Mouse Reeve
56e3e98bc1 Adds book class view and re-works pagination 2021-01-13 09:51:51 -08:00
Mouse Reeve
cf2b9937c6 Adds fav/boost class view 2021-01-13 08:10:50 -08:00
Mouse Reeve
5596277d29 tests status class view 2021-01-12 14:43:59 -08:00
Mouse Reeve
6c80b128a4 Adds status tests 2021-01-12 14:02:38 -08:00
Mouse Reeve
4ec64c02f4 Adds status views 2021-01-12 13:47:00 -08:00
Mouse Reeve
85d01d5df0 Moves user views to class view 2021-01-12 12:09:23 -08:00
Mouse Reeve
8693895bc6 Adds import view 2021-01-12 11:28:03 -08:00
Mouse Reeve
b61544b5f5 DM and notification views 2021-01-12 11:11:22 -08:00
Mouse Reeve
aa8b2c2f2b Creates landing page views 2021-01-12 10:44:17 -08:00
Mouse Reeve
fd6603ee07 Invite views 2021-01-12 10:19:58 -08:00
Mouse Reeve
65fa08633f Fixes authentication tests 2021-01-12 10:14:24 -08:00
Mouse Reeve
00a67f1b99 Password reset and change password flows 2021-01-12 08:48:47 -08:00
Mouse Reeve
05b4cb59b0 Adds registration view 2021-01-12 08:19:08 -08:00
Mouse Reeve
6e71ff2aa1 Adds login class view 2021-01-12 08:08:43 -08:00