Commit graph

413 commits

Author SHA1 Message Date
Mouse Reeve
aa2950daf3 Render rating status from template 2021-03-13 18:24:46 -08:00
Mouse Reeve
a1d95d5010
Merge pull request #725 from mouse-reeve/incoming-unshelve
Fixes handling incoming unshelve activities
2021-03-13 08:53:37 -08:00
Mouse Reeve
e1a8c4d260 Fixes handling incoming unshelve activities 2021-03-13 08:43:36 -08:00
Mouse Reeve
3edfcb7631 Trying to fix broadcast connectionerror exceptions 2021-03-13 08:15:58 -08:00
Mouse Reeve
919b166241 Catch error in serializing unknown boosts 2021-03-13 08:13:20 -08:00
Mouse Reeve
848edd2972 Adds missing migration for reports model 2021-03-12 16:32:11 -08:00
Mouse Reeve
9245b9d9ca Comments on reports 2021-03-12 15:56:54 -08:00
Mouse Reeve
33b8537a3d Let user supply a note for report 2021-03-11 17:38:21 -08:00
Mouse Reeve
0d2c641d01 Reformats report model 2021-03-09 12:57:38 -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
3bdfc341e4 Runs black 2021-03-08 09:54:02 -08:00
Mouse Reeve
ad43e5c83a
Merge branch 'main' into review-rate 2021-03-08 09:48:25 -08:00
Mouse Reeve
70296e760b Runs black 2021-03-08 08:49:10 -08:00
Mouse Reeve
410e0b04bb Fixes fav logic and base activity test 2021-03-07 13:13:16 -08:00
Mouse Reeve
47cf77145d Updates tests for inbox tweaks 2021-03-07 09:48:39 -08:00
Mouse Reeve
71bbea83f9 Adds discard check to favs 2021-03-07 09:42:31 -08:00
Mouse Reeve
c0ccb7065c Safer federation of book data changes
Only broadcast to other BW instances, plus bonus error handling
2021-03-07 09:22:35 -08:00
Henri Bourcereau
703ff60271 isbn search 2021-03-06 18:09:15 +01:00
Mouse Reeve
b70e728ffb Removes the word "cover" from cover alt text
Fixes #694
2021-03-05 06:58:22 -08:00
Mouse Reeve
2542b72f3a Try to get github to re-run checks 2021-03-04 08:51:10 -08:00
Mouse Reeve
6caf45ac4f fixes error catching 2021-03-04 08:45:03 -08:00
Mouse Reeve
9842e63cb4 Ignore group not found error creating user 2021-03-04 08:35:13 -08:00
Mouse Reeve
54687b7b35 Make users editors by default 2021-02-28 13:45:49 -08:00
Mouse Reeve
5bc4456d4e Merge branch 'main' into review-rate 2021-02-28 10:35:20 -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
7622bef35d Adds separate privacy policy section 2021-02-27 11:53:36 -08:00
Mouse Reeve
ffd57dfef4 Use modern string formatting syntax in status model 2021-02-25 10:34:28 -08:00
Mouse Reeve
ed7c13531f Merge branch 'main' into review-rate 2021-02-25 10:17:52 -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
bb7c41ee5f Tweaks where serialize is called 2021-02-24 13:13:29 -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
9465455af2 Catch ssl errors in broadcast 2021-02-24 08:27:16 -08:00
Mouse Reeve
4d0e52bf51 Test tag and list add 2021-02-23 17:18:25 -08:00
Mouse Reeve
6e6bcb2f48 gotta simplify the add activity 2021-02-23 15:51:02 -08:00
Mouse Reeve
e042805f38
Merge pull request #632 from mouse-reeve/remote-server-set
Safer set remote server
2021-02-23 15:13:32 -08:00
Mouse Reeve
baed291889 Don't broadcast after saving remote server 2021-02-23 14:45:39 -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
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
cbccdea468 fixes ordered collection serializations 2021-02-23 11:13:20 -08:00
Mouse Reeve
ef9acaf878 Adds tests for setting remote server 2021-02-22 11:38:11 -08:00
Mouse Reeve
6b74f56381 Safer set remote server 2021-02-22 10:01:19 -08:00
Mouse Reeve
bff75cedf5 Boolean error in user save causing infinite recursion 2021-02-22 09:41:52 -08:00
Mouse Reeve
f654444aab Fixes bug in saving remote server 2021-02-22 08:53:01 -08:00
Mouse Reeve
dbe9431d5a Fixes pure serializer 2021-02-20 11:24:41 -08:00
Mouse Reeve
fb98ef4b38 Remove redundant activitypub dataclass 2021-02-19 11:16:01 -08:00
Mouse Reeve
42ca32a985 Merge branch 'main' into review-rate 2021-02-18 13:12:04 -08:00
Mouse Reeve
e707374888 Don't broadcast from inbox tests 2021-02-17 14:37:20 -08:00
Mouse Reeve
3f02b5f6f2 Fixes view tests 2021-02-17 13:34:36 -08:00
Mouse Reeve
e8e4ed773c Fixes deletion for boosts 2021-02-17 13:07:19 -08:00
Mouse Reeve
7b21a0a208 Fix things, unfix things, refix things, break things, fix things 2021-02-17 12:23:55 -08:00
Mouse Reeve
08dc5b4d86 Fixes unfollow 2021-02-17 11:45:21 -08:00
Mouse Reeve
d022fef625 broadcast accepts correctly 2021-02-17 11:28:54 -08:00
Mouse Reeve
92e40e1cec Pass model instances into activities instead of json 2021-02-17 10:36:05 -08:00
Mouse Reeve
a9ca3a4290 Fixes calls to to_model, init with activitypub partially serialized 2021-02-16 20:17:38 -08:00
Mouse Reeve
3f61675a0a Updates usage of resolve_remote_id 2021-02-16 19:35:43 -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
f5a022184f Fixes discarding boosts 2021-02-16 12:31:27 -08:00
Mouse Reeve
3f1b62eb98 Fixes Add activity
still janky
2021-02-16 11:04:13 -08:00
Mouse Reeve
b393df8cab Fixes deletion 2021-02-16 09:35:00 -08:00
Mouse Reeve
08c1553e71 Fixes Favs 2021-02-15 21:41:08 -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
f974b9b895 Better blocking checks 2021-02-15 12:51:34 -08:00
Mouse Reeve
8cf7da4b19 Merge branch 'main' into user-creation 2021-02-15 12:26:15 -08:00
Mouse Reeve
65f81bd5f0 Moves blocking to save function
I just like these better than signals??
2021-02-15 12:21:48 -08:00
Mouse Reeve
06feef44ad Merge branch 'main' into review-rate 2021-02-12 18:33:05 -08:00
Mouse Reeve
4a58cd42a6 More thorough check to prevent following blocked users 2021-02-12 18:14:51 -08:00
Mouse Reeve
5f7466e92d Fixes bugs in how lists/shelves federate Adds 2021-02-10 19:17:16 -08:00
Mouse Reeve
b774e946f3 fixes avoiding mention and reply notification 2021-02-10 16:28:50 -08:00
Mouse Reeve
e0cfb009e4 Deduplicate notifications in notification model 2021-02-10 16:21:29 -08:00
Mouse Reeve
d9e65aa363 Notifications for follow requests 2021-02-10 16:06:50 -08:00
Mouse Reeve
ac57db5375 Boost notifications 2021-02-10 16:00:02 -08:00
Mouse Reeve
6f748a6a24 Fixes status notifications 2021-02-10 15:18:20 -08:00
Mouse Reeve
74d39c3e24 Move fav notifications to model 2021-02-10 14:31:39 -08:00
Mouse Reeve
106d442a0b Moves import complete notification to model 2021-02-10 14:18:55 -08:00
Mouse Reeve
13d8ccb016 Moves status notifications into model 2021-02-10 14:13:36 -08:00
Mouse Reeve
8842db3c1b Create notification when adding or suggesting a book to a list 2021-02-10 13:46:56 -08:00
Mouse Reeve
2bf4b17113 Adds notification type referencing lists 2021-02-10 13:15:12 -08:00
Mouse Reeve
930d9429ef User save() override instead of signal to set user fields
this gets gnarly because of transaction.atomic, so it bears further
testing
2021-02-10 12:43:53 -08:00
Mouse Reeve
759a384852
Merge pull request #592 from mouse-reeve/local-paths
Fixes local paths with remote users
2021-02-10 11:38:54 -08:00
Mouse Reeve
7c5b9f563f Fixes double slash in path 2021-02-10 11:11:55 -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
9c3bec23b8 More mocks in tests 2021-02-09 17:26:27 -08:00
Mouse Reeve
25e8b3ddeb Send activitypub pure mode activities when possible 2021-02-09 12:23:59 -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
4ad51e62c6 Use recipients model attribute in broadcast 2021-02-09 10:26:04 -08:00
Mouse Reeve
2fcfebd4e5 fixes broadcasting for incoming activities 2021-02-07 16:23:20 -08:00
Mouse Reeve
ad7a045582 Makes shelbook user required 2021-02-07 11:29:13 -08:00
Mouse Reeve
ee2b656b08 fixes change password view 2021-02-06 22:37:40 -08:00
Mouse Reeve
272685f27d sketchy fix for boost broadcasting 2021-02-06 21:30:43 -08:00
Mouse Reeve
63fe9777e2 Fixes shelf model tests 2021-02-06 21:02:58 -08:00
Mouse Reeve
b02a2c1aa4 broadcasting for follow, accept, and reject 2021-02-06 19:18:02 -08:00
Mouse Reeve
ffd0759f6f Fixes field and lists tests 2021-02-06 16:13:59 -08:00
Mouse Reeve
3b17c0ed44 Fixes broadcast recipients with software constraint 2021-02-06 12:41:35 -08:00
Mouse Reeve
ff721896c0 Fixes call to mention_users 2021-02-06 12:06:45 -08:00