Commit graph

40 commits

Author SHA1 Message Date
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
Mouse Reeve
43c6b9880a
Merge pull request #236 from mouse-reeve/relationship-activitypub
Uses activitypub mixin in relationship models
2020-10-16 11:04:14 -07:00
Mouse Reeve
2a0af0138d Uses activitypub mixin in relationship models
plus tests
2020-10-16 10:37:33 -07:00
Mouse Reeve
db18014325 Adds test for incoming follow request 2020-10-15 17:32:53 -07:00
Mouse Reeve
cedc79a962 Tweaks handle_follow behavior for unknown users 2020-10-14 17:29:43 -07:00
Mouse Reeve
122418deb8 wrong variable in byte check 2020-10-14 10:24:05 -07:00
Mouse Reeve
fe03e95049 better bytes checking
but this still seems like the wrong thing
2020-10-14 09:26:46 -07:00
Mouse Reeve
51e9977d55 Received bytes, expecting a string
This doesn't seem like a *good* solution, but I'm not sure why
sometimes this receives strings and sometimes bytes (maybe it's
based on how the data is served).
2020-10-05 15:23:39 -07:00
Mouse Reeve
425da16fd6 Fixes linter issues 2020-09-21 10:25:26 -07:00
Mouse Reeve
c7883cd615 Updates migrations
To get the app working again I ran resetdb, let it crash in initdb,
then ran the migration, then re-ran initdb
2020-09-21 08:10:37 -07:00
Mouse Reeve
f77c156733 rename main code directory 2020-09-17 13:30:54 -07:00
Renamed from fedireads/incoming.py (Browse further)