]> Untitled Git - lemmy.git/commit
Adding temporary bans. Fixes #1423 (#1999)
authorDessalines <dessalines@users.noreply.github.com>
Sat, 8 Jan 2022 12:37:07 +0000 (07:37 -0500)
committerGitHub <noreply@github.com>
Sat, 8 Jan 2022 12:37:07 +0000 (12:37 +0000)
commite65c45f15272b5f43053a214600ee3b8cebffc0d
treec938c27a82e108e7fe59e25bdd9d7c6f5039bb0c
parent41b90bb162f172b289470368c169fffb69106658
Adding temporary bans. Fixes #1423 (#1999)

* Adding temporary bans. Fixes #1423

* Adding ban_expires to person

* Fix clippy

* Removing ban_expires from federated fields.

* Trying to add expires to blockcommunity apub.
23 files changed:
crates/api/src/community.rs
crates/api/src/local_user.rs
crates/api_common/src/lib.rs
crates/apub/assets/lemmy/activities/community/block_user.json
crates/apub/src/activities/community/block_user.rs
crates/apub/src/activities/community/undo_block_user.rs
crates/apub/src/objects/person.rs
crates/apub/src/protocol/activities/community/block_user.rs
crates/db_schema/src/impls/community.rs
crates/db_schema/src/impls/person.rs
crates/db_schema/src/schema.rs
crates/db_schema/src/source/community.rs
crates/db_schema/src/source/person.rs
crates/db_views/src/comment_report_view.rs
crates/db_views/src/comment_view.rs
crates/db_views/src/post_report_view.rs
crates/db_views/src/post_view.rs
crates/db_views/src/registration_application_view.rs
crates/db_views_actor/src/community_person_ban_view.rs
crates/db_views_actor/src/person_mention_view.rs
crates/db_views_actor/src/person_view.rs
migrations/2021-12-14-181537_add_temporary_bans/down.sql [new file with mode: 0644]
migrations/2021-12-14-181537_add_temporary_bans/up.sql [new file with mode: 0644]