lemmy/crates/api/src
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
..
comment Send purges to federated instances (fixes #4119) (#4398) 2024-01-25 09:24:09 -05:00
comment_report Auto resolve reports on removing a comment or post. Fixes #4390 (#4402) 2024-02-15 08:52:04 -05:00
community Send purges to federated instances (fixes #4119) (#4398) 2024-01-25 09:24:09 -05:00
local_user When site banning a federated user, also remove their content from our local communities. (#4464) 2024-03-01 13:45:06 -05:00
post Adding ability to hide posts. (#4480) 2024-02-29 10:42:34 -05:00
post_report Auto resolve reports on removing a comment or post. Fixes #4390 (#4402) 2024-02-15 08:52:04 -05:00
private_message Remove explicit auth params (#3946) 2023-09-21 06:42:28 -04:00
private_message_report Fixing private message reports. (#4279) 2023-12-18 10:25:05 +01:00
site Send purges to federated instances (fixes #4119) (#4398) 2024-01-25 09:24:09 -05:00
lib.rs When site banning a federated user, also remove their content from our local communities. (#4464) 2024-03-01 13:45:06 -05:00
sitemap.rs Use pretty_assertions for assertions (#4347) 2024-01-04 04:47:18 -05:00