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/api/src/post
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
..
feature.rs Cleanup checks for community actions (fixes #2858, fixes #2868) (#4028) 8 months ago
get_link_metadata.rs Rewrite images to use local proxy (#4035) 4 months ago
hide.rs Adding ability to hide posts. (#4480) 3 months ago
like.rs Send purges to federated instances (fixes #4119) (#4398) 4 months ago
list_post_likes.rs Allow community mods to see votes in addition to admins (#4392) 4 months ago
lock.rs Cleanup checks for community actions (fixes #2858, fixes #2868) (#4028) 8 months ago
mark_read.rs Adding ability to hide posts. (#4480) 3 months ago
mod.rs Adding ability to hide posts. (#4480) 3 months ago
save.rs Remove explicit auth params (#3946) 9 months ago