lemmy/server/src
nutomic 76cd6ac6bc 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
2020-08-04 14:39:55 +00:00
..
api Add more checks in inbox, plus some refactoring (#76) 2020-08-04 14:39:55 +00:00
apub Add more checks in inbox, plus some refactoring (#76) 2020-08-04 14:39:55 +00:00
rate_limit Split code into cargo workspaces (#67) 2020-07-10 18:15:41 +00:00
routes Migrate from failure to anyhow and thiserror (#1042) 2020-08-01 14:04:42 +00:00
websocket Adding visual captchas for register and login. (#1027) 2020-07-29 09:02:46 -04:00
code_migrations.rs Fix post thumbnail_url to use full urls. Fixes #632 2020-07-28 11:42:40 -04:00
lib.rs Migrate from failure to anyhow and thiserror (#1042) 2020-08-01 14:04:42 +00:00
main.rs Split code into cargo workspaces (#67) 2020-07-10 18:15:41 +00:00
request.rs Migrate from failure to anyhow and thiserror (#1042) 2020-08-01 14:04:42 +00:00
version.rs Version v0.7.39 2020-08-02 10:52:42 -04:00