lemmy/crates
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
..
api When site banning a federated user, also remove their content from our local communities. (#4464) 2024-03-01 13:45:06 -05:00
api_common Store password reset token after email successfully sent (fixes #3757) (#4489) 2024-03-01 11:32:59 -05:00
api_crud Remove error-type feature from lemmy-utils (#4474) 2024-02-27 11:13:52 -05:00
apub Support listing type for person (fixes #4146) (#4487) 2024-03-01 11:53:20 -05:00
db_perf Remove error-type feature from lemmy-utils (#4474) 2024-02-27 11:13:52 -05:00
db_schema When site banning a federated user, also remove their content from our local communities. (#4464) 2024-03-01 13:45:06 -05:00
db_views Adding ability to hide posts. (#4480) 2024-02-29 10:42:34 -05:00
db_views_actor Support listing type for person (fixes #4146) (#4487) 2024-03-01 11:53:20 -05:00
db_views_moderator Use rust 1.74.0 in CI and move clippy lints to Cargo.toml (#4170) 2023-11-21 08:51:22 -05:00
federate Remove unneeded error "last successful id is higher than latest id" (fixes #4363) (#4486) 2024-03-01 11:31:37 -05:00
routes Remove error-type feature from lemmy-utils (#4474) 2024-02-27 11:13:52 -05:00
utils Make logs less verbose (fixes #3627) (#4490) 2024-03-01 11:32:13 -05:00