lemmy/ui
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
..
assets Some front end fixes. 2020-08-01 19:14:54 -04:00
src Re-organizing federation tests. #746 #1040 (#1047) 2020-08-04 10:57:37 -04:00
translations Merge remote-tracking branch 'weblate/main' into main 2020-08-01 19:17:52 -04:00
.eslintignore Adding a test bed for API testing. #658 2020-04-23 11:34:32 -04:00
.eslintrc.json Notification improvements. 2020-03-20 16:13:54 -04:00
.gitignore Cleanup gitignore and dockerignore files 2020-03-12 20:25:14 +01:00
.prettierrc.js Adding prettier. 2019-10-18 17:00:26 -07:00
fuse.js Add fallback url to fuse devserver(closes #945) (#946) 2020-07-11 19:03:23 -04:00
generate_translations.js generate typescript during compilation 2020-02-29 19:16:23 +01:00
jest.config.js Lots of additions to federation. 2020-04-27 12:57:00 -04:00
package.json Re-organizing federation tests. #746 #1040 (#1047) 2020-08-04 10:57:37 -04:00
tsconfig.json Upgrade package.json. 2020-01-06 11:22:51 -05:00
yarn.lock Update inferno-i18next. 2020-07-31 11:59:46 -04:00