Commit Graph

10 Commits

Author SHA1 Message Date
Dessalines f456f5da46 Re-organizing source tables into a different folder. 2020-12-13 12:04:42 -05:00
Felix Ableitner b469b6d8d3 Separate logic for user and community inbox
more refactoring with tons of changes:

- inbox functions return LemmyError instead of HttpResponse
- announce is done directly in community inbox
- reorganized functions for handling inbox activities
- additional checks for private messages
- moved inbox handler functions for post, comment, vote into separete file
- ensure that posts, comments etc are addressed to public (ref #1220)
- probably more
2020-11-09 13:42:08 +01:00
Felix Ableitner 6d17d5ead2 Ignore incoming activities which have been received before (ref #1220) 2020-10-23 14:29:56 +02:00
Felix Ableitner 3d5647b16f Limit amount of HTTP requests to handle activities (fixes #1221) 2020-10-22 20:27:32 +02:00
Felix Ableitner 1a3b96b054 Organise activity receive files by object type, not by activity type 2020-10-21 19:37:50 +02:00
Felix Ableitner 695272f980 Create rustdoc for activitypub code 2020-10-19 16:29:35 +02:00
Felix Ableitner 39cbe5f31f Add method verify_activity_domains_valid() (ref #1196) 2020-10-15 15:38:03 +02:00
Felix Ableitner ac0cd7bc68 Dont include full objects with remove/delete activities 2020-10-13 17:47:05 +02:00
Felix Ableitner 7cfcf0acec Change the way that `to` is set in apub 2020-10-12 18:02:28 +02:00
Felix Ableitner 0dda2577e1 Refactor apub code, split up large files 2020-10-12 16:10:09 +02:00