lemmy/crates/api/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
2024-02-29 10:42:34 -05:00
..
comment Send purges to federated instances (fixes #4119) (#4398) 2024-01-25 09:24:09 -05:00
comment_report Auto resolve reports on removing a comment or post. Fixes #4390 (#4402) 2024-02-15 08:52:04 -05:00
community Send purges to federated instances (fixes #4119) (#4398) 2024-01-25 09:24:09 -05:00
local_user Require verified email to reset password (#4482) 2024-02-29 09:12:45 -05:00
post Adding ability to hide posts. (#4480) 2024-02-29 10:42:34 -05:00
post_report Auto resolve reports on removing a comment or post. Fixes #4390 (#4402) 2024-02-15 08:52:04 -05:00
private_message Remove explicit auth params (#3946) 2023-09-21 06:42:28 -04:00
private_message_report Fixing private message reports. (#4279) 2023-12-18 10:25:05 +01:00
site Send purges to federated instances (fixes #4119) (#4398) 2024-01-25 09:24:09 -05:00
lib.rs Revert "Dont ignore errors during login (fixes #4319) (#4321)" (#4380) 2024-01-19 11:21:43 -05:00
sitemap.rs Use pretty_assertions for assertions (#4347) 2024-01-04 04:47:18 -05:00