Rewrite some API handlers to remove Perform trait (#3735)
authorNutomic <me@nutomic.com>
Fri, 28 Jul 2023 14:39:38 +0000 (16:39 +0200)
committerGitHub <noreply@github.com>
Fri, 28 Jul 2023 14:39:38 +0000 (10:39 -0400)
commit37998b3398ed925a7640a9b67d1dc6ef871893a9
treea75f3348fc22ac5c8aaa130f630eeb86ab7391c2
parentdb76c5b7ffeaad8094998f9a76541ef4b345159a
Rewrite some API handlers to remove Perform trait (#3735)

* Rewrite some API handlers to remove Perform trait

* Convert CreateComment

* ci
36 files changed:
Cargo.lock
crates/api/Cargo.toml
crates/api/src/comment/distinguish.rs
crates/api/src/comment/mod.rs
crates/api/src/comment/save.rs
crates/api/src/comment_report/list.rs
crates/api/src/comment_report/mod.rs
crates/api/src/comment_report/resolve.rs
crates/api/src/lib.rs
crates/api/src/local_user/mod.rs
crates/api/src/local_user/notifications/mark_reply_read.rs
crates/api/src/local_user/notifications/mod.rs
crates/api_common/src/build_response.rs
crates/api_common/src/send_activity.rs
crates/api_crud/src/comment/create.rs
crates/api_crud/src/comment/delete.rs
crates/api_crud/src/comment/mod.rs
crates/api_crud/src/comment/read.rs
crates/api_crud/src/comment/remove.rs
crates/api_crud/src/comment/update.rs
crates/api_crud/src/community/list.rs
crates/api_crud/src/community/mod.rs
crates/api_crud/src/lib.rs
crates/api_crud/src/post/mod.rs
crates/api_crud/src/post/read.rs
crates/api_crud/src/private_message/mod.rs
crates/api_crud/src/private_message/read.rs
crates/api_crud/src/site/create.rs
crates/api_crud/src/site/mod.rs
crates/api_crud/src/site/read.rs
crates/api_crud/src/site/update.rs
crates/apub/src/activities/create_or_update/comment.rs
crates/apub/src/activities/mod.rs
crates/apub/src/api/read_community.rs
crates/utils/translations
src/api_routes_http.rs