lemmy/crates/db_views/src
Dessalines a3bf2f1cf1
Auto resolve reports on removing a comment or post. Fixes #4390 (#4402)
* Automatically resolve report when post/comment is removed (#3850)

* Automatically resolve report when post/comment is removed

* also handle apub removes

* Removing auto-resolve report triggers.

* Dont allow creating reports for deleted / removed items.

* Running pgformat.

* Fixing test.

* Addressing PR comments.

* Forgot comment report.

---------

Co-authored-by: Nutomic <me@nutomic.com>
2024-02-15 08:52:04 -05:00
..
comment_report_view.rs Local only community (#4350) 2024-01-25 11:04:25 -05:00
comment_view.rs Local only community (#4350) 2024-01-25 11:04:25 -05:00
custom_emoji_view.rs Make functions work with both connection and pool (#3420) 2023-07-11 09:09:59 -04:00
lib.rs Adding /post/like/list and /comment/like/list for admins. (#4332) 2024-01-03 13:39:21 -05:00
local_user_view.rs Making login case-insensitive. Fixes #4272 (#4273) 2023-12-15 11:34:17 +01:00
post_report_view.rs Auto resolve reports on removing a comment or post. Fixes #4390 (#4402) 2024-02-15 08:52:04 -05:00
post_view.rs Blocking an instance also hides private messages from their users. (#4447) 2024-02-14 10:49:55 +01:00
private_message_report_view.rs Add macro assert_length!() for tests (#4348) 2024-01-04 11:51:55 -05:00
private_message_view.rs Blocking an instance also hides private messages from their users. (#4447) 2024-02-14 10:49:55 +01:00
registration_application_view.rs Use pretty_assertions for assertions (#4347) 2024-01-04 04:47:18 -05:00
site_view.rs Use Queryable instead of JoinView (#3917) 2023-08-31 15:26:10 +02:00
structs.rs Make request models derive PartialEq, Eq, and Hash (#4443) 2024-02-11 00:32:14 -05:00
vote_view.rs Use pretty_assertions for assertions (#4347) 2024-01-04 04:47:18 -05:00