Commit graph

315 commits

Author SHA1 Message Date
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