Commit graph

33 commits

Author SHA1 Message Date
Mouse Reeve
3ade2d3bb1 New version of black, new whitespace 2021-04-26 09:15:42 -07:00
Mouse Reeve
7c85b554cf Handle both Image and Document types 2021-04-17 11:47:48 -07:00
Mouse Reeve
220fb926c9 Rename Image to Document 2021-04-15 16:35:04 -07:00
Mouse Reeve
98161b9041 Use CollectionItem objects 2021-04-08 14:16:34 -07: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
ed7c13531f Merge branch 'main' into review-rate 2021-02-25 10:17:52 -08:00
Mouse Reeve
6e6bcb2f48 gotta simplify the add activity 2021-02-23 15:51:02 -08:00
Mouse Reeve
fb98ef4b38 Remove redundant activitypub dataclass 2021-02-19 11:16:01 -08:00
Mouse Reeve
606d89d3bd Fixes boost, recursive to_model calls 2021-02-15 21:20:00 -08:00
Mouse Reeve
e810c2bee0 Recursively parse activities 2021-02-15 17:23:17 -08:00
Mouse Reeve
06feef44ad Merge branch 'main' into review-rate 2021-02-12 18:33:05 -08:00
Mouse Reeve
5f7466e92d Fixes bugs in how lists/shelves federate Adds 2021-02-10 19:17:16 -08:00
Mouse Reeve
f42a5444e5 User ordered collection subtype for shelves 2021-02-02 11:17:31 -08:00
Mouse Reeve
e61d8b7638 Serialize lists as custom activitypub object 2021-02-02 11:13:15 -08:00
Mouse Reeve
cc8888dea2 Adds incoming handler for blocking 2021-01-23 11:03:10 -08:00
Mouse Reeve
385ec4d70a Adds ReviewRating model
I can't just calling Rating because that would clash with the rating
field
2021-01-01 11:51:52 -08:00
Renato "Lond" Cerqueira
44a8184f72 Create a ActivitypubResponse class and use it in the views
This improves compatibility with other fediverse software by using the
expected content type for any api calls.
2020-12-30 21:25:28 +01:00
Mouse Reeve
74a58e5267 Use custom model fields in user model 2020-11-30 10:32:29 -08:00
Mouse Reeve
a93b5cf5bc Use remote_id resolver to load books, user 2020-11-28 10:18:24 -08:00
Mouse Reeve
ebb82287c2 First pass at recursively resolving foreign keys 2020-11-27 22:10:38 -08:00
Mouse Reeve
4626d94ab9 handle image attachments recursively 2020-11-27 20:11:46 -08:00
Mouse Reeve
4ae785a7f7 move image activity to its own file 2020-11-27 17:59:46 -08:00
Mouse Reeve
ad7ce6595b Receive and save incoming images 2020-11-24 11:25:07 -08:00
Mouse Reeve
e2debd855c Convert activitypub Image into model ImageField 2020-11-23 13:43:46 -08:00
Mouse Reeve
72b4c150f6 (De)serializers for tag fields 2020-11-20 09:28:54 -08:00
Mouse Reeve
083b576bc4 fixes broken activity serializer error import 2020-11-13 07:34:37 -08:00
Mouse Reeve
0cf1838276 Mention and notify users when creating a status 2020-11-01 10:13:51 -08: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
d689b6e7c4 Adds Delete verb 2020-10-14 08:38:51 -07:00
Mouse Reeve
704e1092c4 Delete statuses 2020-10-08 12:32:45 -07:00
Mouse Reeve
39931e2e69 Adds status type for app-generated statuses 2020-09-28 17:26:15 -07:00
Mouse Reeve
f77c156733 rename main code directory 2020-09-17 13:30:54 -07:00
Renamed from fedireads/activitypub/__init__.py (Browse further)