]> Untitled Git - lemmy.git/commit
Handle displaying of deleted and removed posts/comments (fixes #2624) (#3286)
authorNutomic <me@nutomic.com>
Thu, 20 Jul 2023 14:36:16 +0000 (16:36 +0200)
committerGitHub <noreply@github.com>
Thu, 20 Jul 2023 14:36:16 +0000 (16:36 +0200)
commit047db9ac8590670538129b5f765f47e7c66a8a80
treee4507338e48303a3079902e553c13007e1438268
parentd7051c40f81ee7d283dc3fd14144922e392a7781
 Handle displaying of deleted and removed posts/comments (fixes #2624)  (#3286)

* Handle displaying of deleted and removed posts/comments (fixes #2624)

* remove duplicate test

* fix tests

* no show_removed/show_deleted

* merge

* partially fix tests

* fix tests

* clippy

* fix tests

* get rid of build_post_response_deleted_allowed
13 files changed:
api_tests/src/comment.spec.ts
api_tests/src/post.spec.ts
api_tests/src/shared.ts
crates/api_common/src/build_response.rs
crates/api_crud/src/post/delete.rs
crates/api_crud/src/post/remove.rs
crates/apub/src/api/list_comments.rs
crates/apub/src/api/list_posts.rs
crates/apub/src/api/read_person.rs
crates/apub/src/api/search.rs
crates/db_views/src/comment_view.rs
crates/db_views/src/post_view.rs
crates/routes/src/feeds.rs