lemmy/api_tests
Dessalines 7eec8714d7
When site banning a federated user, also remove their content from our local communities. (#4464)
* When banning a federated user, also remove their content from our local
communities.

- This works by:
  - Before a site ban, find all posts and comments to local communities
  - Send a federated community ban action for each local comm.
  - This also removes their content in the apub receive code.
- Adding back in federated community ban api tests.
- Adding in two more api tests for site bans.
- Fixes #4118

* Add local community ban, and nonlocal person check.

* Ignoring errors.

* Move local check into function.

* Addressing PR comments 2
2024-03-01 13:45:06 -05:00
..
src When site banning a federated user, also remove their content from our local communities. (#4464) 2024-03-01 13:45:06 -05:00
.eslintrc.json Upgrading deps. (#4196) 2023-11-24 10:29:41 +01:00
.prettierrc.json Removing sniptt/monads for lemmy-js-client. (#2644) 2023-01-04 10:59:26 -05:00
jest.config.js Prettier check (#2855) 2023-05-13 16:50:58 -04:00
package.json When site banning a federated user, also remove their content from our local communities. (#4464) 2024-03-01 13:45:06 -05:00
pnpm-lock.yaml When site banning a federated user, also remove their content from our local communities. (#4464) 2024-03-01 13:45:06 -05:00
prepare-drone-federation-test.sh Add api test for synchronizing featured posts (ref #4475) (#4476) 2024-02-27 09:11:41 -05:00
run-federation-test.sh Moving from yarn to pnpm. (#4414) 2024-01-29 11:38:39 +01:00
tsconfig.json Persistent, performant, reliable federation queue (#3605) 2023-09-09 12:25:03 -04:00