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
2024-02-29 10:42:34 -05:00
..
feature.rs Cleanup checks for community actions (fixes #2858, fixes #2868) (#4028) 2023-10-13 09:48:18 -04:00
get_link_metadata.rs Rewrite images to use local proxy (#4035) 2024-01-25 09:22:11 -05:00
hide.rs Adding ability to hide posts. (#4480) 2024-02-29 10:42:34 -05:00
like.rs Send purges to federated instances (fixes #4119) (#4398) 2024-01-25 09:24:09 -05:00
list_post_likes.rs Allow community mods to see votes in addition to admins (#4392) 2024-01-23 18:47:28 -05:00
lock.rs Cleanup checks for community actions (fixes #2858, fixes #2868) (#4028) 2023-10-13 09:48:18 -04:00
mark_read.rs Adding ability to hide posts. (#4480) 2024-02-29 10:42:34 -05:00
mod.rs Adding ability to hide posts. (#4480) 2024-02-29 10:42:34 -05:00
save.rs Remove explicit auth params (#3946) 2023-09-21 06:42:28 -04:00