You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lemmy/crates/db_schema/src/impls
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
3 months ago
..
activity.rs Use `pretty_assertions` for assertions (#4347) 5 months ago
actor_language.rs Adding some recommended fixes from nightly clippy. (#4473) 3 months ago
captcha_answer.rs Remove id column and use different primary key on some tables (#4093) 7 months ago
comment.rs When site banning a federated user, also remove their content from our local communities. (#4464) 3 months ago
comment_reply.rs Use `pretty_assertions` for assertions (#4347) 5 months ago
comment_report.rs Auto resolve reports on removing a comment or post. Fixes #4390 (#4402) 3 months ago
community.rs Correctly synchronize collection of community featured posts (fixes #3867) (#4475) 3 months ago
community_block.rs Remove id column and use different primary key on some tables (#4093) 7 months ago
custom_emoji.rs Make functions work with both connection and pool (#3420) 11 months ago
email_verification.rs Fix time zone handling (#3496) 9 months ago
federation_allowlist.rs Use `pretty_assertions` for assertions (#4347) 5 months ago
federation_blocklist.rs Make functions work with both connection and pool (#3420) 11 months ago
federation_queue_state.rs add federation queue state to get_federated_instances api (#4104) 7 months ago
images.rs Rewrite images to use local proxy (#4035) 4 months ago
instance.rs Mark instance as alive after successful activity send (fixes #4039) (#4377) 4 months ago
instance_block.rs Remove id column and use different primary key on some tables (#4093) 7 months ago
language.rs Use `pretty_assertions` for assertions (#4347) 5 months ago
local_site.rs Make functions work with both connection and pool (#3420) 11 months ago
local_site_rate_limit.rs Make functions work with both connection and pool (#3420) 11 months ago
local_user.rs Deleting denied local_users older than a week. Fixes #4434 (#4448) 3 months ago
login_token.rs Remove id column and use different primary key on some tables (#4093) 7 months ago
mod.rs Rewrite images to use local proxy (#4035) 4 months ago
moderator.rs Use `pretty_assertions` for assertions (#4347) 5 months ago
password_reset_request.rs Use `pretty_assertions` for assertions (#4347) 5 months ago
person.rs When site banning a federated user, also remove their content from our local communities. (#4464) 3 months ago
person_block.rs Remove id column and use different primary key on some tables (#4093) 7 months ago
person_mention.rs Use `pretty_assertions` for assertions (#4347) 5 months ago
post.rs Adding ability to hide posts. (#4480) 3 months ago
post_report.rs Auto resolve reports on removing a comment or post. Fixes #4390 (#4402) 3 months ago
private_message.rs Use `pretty_assertions` for assertions (#4347) 5 months ago
private_message_report.rs Auto resolve reports on removing a comment or post. Fixes #4390 (#4402) 3 months ago
registration_application.rs Default imprementations for read and delete in Crud trait (#3707) 10 months ago
secret.rs Make functions work with both connection and pool (#3420) 11 months ago
site.rs Persistent, performant, reliable federation queue (#3605) 9 months ago
tagline.rs Make functions work with both connection and pool (#3420) 11 months ago