Commit graph

60 commits

Author SHA1 Message Date
Mouse Reeve
7bf57c60fb Avoid throwing database error trying to fav unknown statuses 2021-01-06 11:43:39 -08:00
Mouse Reeve
e0adb3307b Gracefully handle unknown status types
Fixes #432
2020-12-30 12:05:20 -08:00
Mouse Reeve
0c6049b81c Discard remote boosts 2020-12-18 12:38:27 -08:00
Mouse Reeve
f7cb525981 Fixes logic error 2020-12-16 18:40:43 -08:00
Mouse Reeve
f1926ce76d Avoid duplicate notifitions
And render html
2020-12-16 16:20:40 -08:00
Mouse Reeve
da05b99bb8 Fixes incoming shelve activity 2020-12-15 18:57:17 -08:00
Mouse Reeve
ee2121095c Separate update editon and work functions 2020-12-15 12:39:09 -08:00
Mouse Reeve
1bcae45145 Remove notifications related to deleted statuses 2020-12-14 12:54:39 -08:00
Mouse Reeve
d49e49f021 Notify mentioned users 2020-12-14 12:31:11 -08:00
Mouse Reeve
8d27f02a9a Fixes typo in handle_unfollow 2020-12-14 11:46:31 -08:00
Mouse Reeve
171b8c75ae use require_POST decorator in inbox 2020-12-14 11:29:22 -08:00
Mouse Reeve
d65657882e Keep any status that mentions a local user 2020-12-12 21:11:51 -08:00
Mouse Reeve
ffc4cc2018 Fixes create status handler 2020-12-12 20:59:41 -08:00
Mouse Reeve
2b3daa0227 disable some warnings 2020-12-12 18:13:00 -08:00
Mouse Reeve
142a39cf55 Updates remote user when refreshing key 2020-12-04 16:26:07 -08:00
Mouse Reeve
9989641f4c fixes bug in update user public key 2020-12-04 09:46:40 -08:00
Mouse Reeve
1610d81ce6 fixes some of the signing test issues 2020-11-30 19:53:42 -08:00
Mouse Reeve
fee5846aa8 Fixes generating new key paris for user
and the broadcast test
2020-11-30 19:33:50 -08:00
Mouse Reeve
d8fdc66450 removes outdated update book code 2020-11-28 19:03:37 -08:00
Mouse Reeve
1789b091d6 not all that better way to distinguish add book to shelf vs tag 2020-11-28 18:23:34 -08:00
Mouse Reeve
e99394e6f7 User serializer to create follow request 2020-11-28 12:25:53 -08:00
Mouse Reeve
b0202eb8e8 Remove special remote user handling code
also fixes date parsing
2020-11-28 11:48:17 -08:00
Mouse Reeve
fd7e476c9b refactors tag model to fit ordered collection structure 2020-11-28 11:04:54 -08:00
Mouse Reeve
a93b5cf5bc Use remote_id resolver to load books, user 2020-11-28 10:18:24 -08:00
Mouse Reeve
73e41d568e Serialize model user and book tags to activitypub 2020-11-20 08:14:16 -08:00
Mouse Reeve
c0bc4f3903 Catch error trying to get status id in delete 2020-11-12 12:02:43 -08:00
Mouse Reeve
648e7a7581 Special error for catching activitypub serialization issues 2020-11-12 11:59:34 -08:00
Mouse Reeve
50aaa8d9a1 Don't error on statuses that didn't get created 2020-11-07 20:13:13 -08:00
Mouse Reeve
4710e65269 create notification for local favs/boosts 2020-11-07 19:15:04 -08:00
Mouse Reeve
57fad30b6b Fixes unboost 2020-11-07 18:59:38 -08:00
Mouse Reeve
e6d46878fb Fixes like/unlike statuses 2020-11-07 18:18:44 -08:00
Mouse Reeve
83770abfd2 Deduplicate incoming create activities
This is a regression.
2020-11-07 10:29:46 -08:00
Mouse Reeve
275527f255
Merge branch 'main' into load_remote_statuses 2020-11-06 15:48:17 -08:00
Mouse Reeve
0b34b6cd96 Updates code for loading remote statuses 2020-11-06 14:56:05 -08:00
Mouse Reeve
ad25e75282 fixes tagging 2020-11-06 14:25:48 -08:00
Mouse Reeve
152343d251 Boost and unboost federation fixes 2020-11-04 16:28:32 -08:00
Mouse Reeve
21c0a0163a Deduplicate incoming Create notes 2020-11-04 15:23:52 -08:00
Mouse Reeve
5501318f95 Incoming shelve activities 2020-11-02 15:10:41 -08:00
Mouse Reeve
2ac9a6fcee Fixes updating books from remote instances 2020-11-02 09:34:46 -08:00
Mouse Reeve
c45247e236 correctly grab book data from tags 2020-10-31 13:39:52 -07:00
Mouse Reeve
b8e9f90138 no need to assign book var in incoming 2020-10-30 17:41:32 -07:00
Mouse Reeve
203e526a83 Fixes loading remote books
- saves remote_id correctly
- loads remote books for incoming statuses
2020-10-30 17:04:10 -07:00
Mouse Reeve
a17f54e457 Fixes federation bugs 2020-10-30 15:22:20 -07:00
Mouse Reeve
1de3f34224
Merge pull request #238 from mouse-reeve/incoming-update-user
Handle incoming update user activities
2020-10-19 08:05:44 -07:00
Mouse Reeve
1672c699e5
Merge pull request #239 from mouse-reeve/deletion
Deletion
2020-10-16 17:03:34 -07:00
Mouse Reeve
7f579ffefa Read incoming deletion activities 2020-10-16 17:00:10 -07:00
Mouse Reeve
c0f51fa6aa Handle incomign update user activities 2020-10-16 16:06:45 -07:00
Mouse Reeve
75c695b3c6 Updates and tests outgoing reject 2020-10-16 14:28:25 -07:00
Mouse Reeve
a567bd4e61 Simplifies outgoing follow logic 2020-10-16 14:14:07 -07:00
Mouse Reeve
b32fce25d9 tweaks follow handling 2020-10-16 12:24:29 -07:00