lemmy/server/lemmy_db/src
Dessalines e336e5bcc0
Re-organizing federation tests. #746 #1040 (#1047)
* Re-organizing federation tests. #746 #1040

* Add more checks in inbox, plus some refactoring (#76)

Merge branch 'main' into more-inbox-permissions

Move check_community_ban() into helper function

Move slur check into helper functions

Move Claims::decode and site ban check into helper function

Note: this changes behaviour in that site ban is checked in more
places now. we could easily add a boolean parameter
check_for_site_ban to get the previous behaviour back

Rewrite user_inbox and community_inbox in the same way as shared_inbox

Add check against instance allowlist etc in shared_inbox

Co-authored-by: dessalines <dessalines@noreply.yerbamate.dev>
Co-authored-by: Felix Ableitner <me@nutomic.com>
Reviewed-on: https://yerbamate.dev/LemmyNet/lemmy/pulls/76

* Adding verbose to test results.

Co-authored-by: nutomic <nutomic@noreply.yerbamate.dev>
Co-authored-by: dessalines <dessalines@noreply.yerbamate.dev>
Co-authored-by: Felix Ableitner <me@nutomic.com>
2020-08-04 10:57:37 -04:00
..
activity.rs Fixing duplicate actor_id for community and user. Fixes #957 2020-07-19 13:12:42 -04:00
category.rs Split code into cargo workspaces (#67) 2020-07-10 18:15:41 +00:00
comment.rs Re-organizing federation tests. #746 #1040 (#1047) 2020-08-04 10:57:37 -04:00
comment_view.rs Fixing duplicate actor_id for community and user. Fixes #957 2020-07-19 13:12:42 -04:00
community.rs Re-organizing federation tests. #746 #1040 (#1047) 2020-08-04 10:57:37 -04:00
community_view.rs Added community delete and remove. 2020-07-20 13:37:39 -04:00
lib.rs Some GetUserDetails cleanup. 2020-07-20 15:32:15 -04:00
moderator.rs Fixing duplicate actor_id for community and user. Fixes #957 2020-07-19 13:12:42 -04:00
moderator_views.rs Split code into cargo workspaces (#67) 2020-07-10 18:15:41 +00:00
password_reset_request.rs Fixing duplicate actor_id for community and user. Fixes #957 2020-07-19 13:12:42 -04:00
post.rs Re-organizing federation tests. #746 #1040 (#1047) 2020-08-04 10:57:37 -04:00
post_view.rs Fixing duplicate actor_id for community and user. Fixes #957 2020-07-19 13:12:42 -04:00
private_message.rs Added comment delete, remove, read. 2020-07-20 21:37:44 -04:00
private_message_view.rs Split code into cargo workspaces (#67) 2020-07-10 18:15:41 +00:00
schema.rs Using community-link instead. 2020-07-13 10:39:15 -04:00
site.rs Split code into cargo workspaces (#67) 2020-07-10 18:15:41 +00:00
site_view.rs Split code into cargo workspaces (#67) 2020-07-10 18:15:41 +00:00
user.rs Remove extra jwt claims (for user settings) (#1025) 2020-07-27 09:23:08 -04:00
user_mention.rs EditUserMention changed to MarkUserMentionAsRead. 2020-07-20 10:56:40 -04:00
user_mention_view.rs Add post title to user comments inbox view, comment_view, user_mention_view 2020-07-13 08:18:11 +02:00
user_view.rs Remove extra jwt claims (for user settings) (#1025) 2020-07-27 09:23:08 -04:00