lemmy/server
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
..
config Adding visual captchas for register and login. (#1027) 2020-07-29 09:02:46 -04:00
lemmy_db Re-organizing federation tests. #746 #1040 (#1047) 2020-08-04 10:57:37 -04:00
lemmy_utils Adding visual captchas for register and login. (#1027) 2020-07-29 09:02:46 -04:00
migrations Moving dupe checking to before new actor_id generation. 2020-07-19 13:32:50 -04:00
migrations_testing/2020-01-13-025151_create_materialized_views A first pass at using materialized views. 2020-01-13 20:02:02 -05:00
query_testing Remove materialized views. (#908) 2020-07-07 10:54:44 -04:00
src Re-organizing federation tests. #746 #1040 (#1047) 2020-08-04 10:57:37 -04:00
.gitignore A first pass at using materialized views. 2020-01-13 20:02:02 -05:00
.rustfmt.toml Rework imports 2020-05-16 20:04:17 +02:00
Cargo.lock Update deps (#1049) 2020-08-03 10:38:36 +00:00
Cargo.toml Merge remote-tracking branch 'github/main' into main 2020-08-01 17:42:33 +02:00
clean.sh Adding cargo outdated to clean script. 2020-01-03 23:39:31 -05:00
db-init.sh Split code into cargo workspaces (#67) 2020-07-10 18:15:41 +00:00
diesel.toml Split code into cargo workspaces (#67) 2020-07-10 18:15:41 +00:00
test.sh Fixing travis, adding a test.sh script. 2020-07-10 14:16:42 -04:00