You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
lemmy/crates/db_views/src
Dessalines 87b577467b
Adding ability to hide posts. (#4480)
* Adding ability to hide posts.

- Adds an post/hide API route.
- Adds a `show_hidden` (default false) to `GetPosts`.
- Adds a `hidden` field to `PostView`.
- Removes the single `post_id` from MarkPostAsRead.
- Fixes #1403

* Add a check to make sure hidden field is true.

* Fixing test.

* Add back semicolon
3 months ago
..
comment_report_view.rs Ignore expired bans in CommentReportView::read, just like in CommentReportQuery::list (#4457) 3 months ago
comment_view.rs Local only community (#4350) 4 months ago
custom_emoji_view.rs Make functions work with both connection and pool (#3420) 11 months ago
lib.rs Adding /post/like/list and /comment/like/list for admins. (#4332) 5 months ago
local_user_view.rs Making login case-insensitive. Fixes #4272 (#4273) 6 months ago
post_report_view.rs Auto resolve reports on removing a comment or post. Fixes #4390 (#4402) 4 months ago
post_view.rs Adding ability to hide posts. (#4480) 3 months ago
private_message_report_view.rs Add macro assert_length!() for tests (#4348) 5 months ago
private_message_view.rs Blocking an instance also hides private messages from their users. (#4447) 4 months ago
registration_application_view.rs Use `pretty_assertions` for assertions (#4347) 5 months ago
site_view.rs Use Queryable instead of JoinView (#3917) 9 months ago
structs.rs Adding ability to hide posts. (#4480) 3 months ago
vote_view.rs Use `pretty_assertions` for assertions (#4347) 5 months ago