Rewrite remaining federation actions, get rid of PerformCrud trait (#3794)
authorNutomic <me@nutomic.com>
Wed, 2 Aug 2023 16:52:41 +0000 (18:52 +0200)
committerGitHub <noreply@github.com>
Wed, 2 Aug 2023 16:52:41 +0000 (12:52 -0400)
commit27be1efb74d6761046999980561a343d06235674
tree9bb485ef96c6c8481ecb1df3c7a0eee7faddd7b6
parentbe1389420b9dc4516f1e9b3e82637f84919a438e
Rewrite remaining federation actions, get rid of PerformCrud trait (#3794)

* Rewrite ban actions

* Rewrite delete/remove actions

* Rewrite remove/delete community

* Rewrite report actions

* Rewrite feature/lock post

* Rewrite update community actions

* Rewrite remaining federation actions

* Get rid of PerformCrud trait

* clippy
46 files changed:
api_tests/prepare-drone-federation-test.sh
api_tests/run-federation-test.sh
crates/api/src/comment_report/create.rs
crates/api/src/community/add_mod.rs
crates/api/src/community/ban.rs
crates/api/src/community/block.rs
crates/api/src/community/hide.rs
crates/api/src/community/mod.rs
crates/api/src/local_user/ban_person.rs
crates/api/src/post/feature.rs
crates/api/src/post/like.rs
crates/api/src/post/lock.rs
crates/api/src/post_report/create.rs
crates/api/src/post_report/mod.rs
crates/api_common/src/build_response.rs
crates/api_common/src/send_activity.rs
crates/api_crud/src/community/create.rs
crates/api_crud/src/community/delete.rs
crates/api_crud/src/community/remove.rs
crates/api_crud/src/community/update.rs
crates/api_crud/src/custom_emoji/create.rs
crates/api_crud/src/custom_emoji/delete.rs
crates/api_crud/src/custom_emoji/mod.rs
crates/api_crud/src/custom_emoji/update.rs
crates/api_crud/src/lib.rs
crates/api_crud/src/post/create.rs
crates/api_crud/src/post/delete.rs
crates/api_crud/src/post/remove.rs
crates/api_crud/src/post/update.rs
crates/api_crud/src/private_message/create.rs
crates/api_crud/src/private_message/delete.rs
crates/api_crud/src/private_message/update.rs
crates/api_crud/src/user/create.rs
crates/api_crud/src/user/delete.rs
crates/api_crud/src/user/mod.rs
crates/apub/src/activities/block/mod.rs
crates/apub/src/activities/community/collection_add.rs
crates/apub/src/activities/community/lock_page.rs
crates/apub/src/activities/community/report.rs
crates/apub/src/activities/community/update.rs
crates/apub/src/activities/create_or_update/private_message.rs
crates/apub/src/activities/deletion/delete_user.rs
crates/apub/src/activities/deletion/mod.rs
crates/apub/src/activities/following/follow.rs
crates/apub/src/activities/mod.rs
src/api_routes_http.rs