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
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 Send purges to federated instances (fixes #4119) (#4398) 4 months ago
comment_report Auto resolve reports on removing a comment or post. Fixes #4390 (#4402) 4 months ago
community Send purges to federated instances (fixes #4119) (#4398) 4 months ago
local_user Require verified email to reset password (#4482) 3 months ago
post Adding ability to hide posts. (#4480) 3 months ago
post_report Auto resolve reports on removing a comment or post. Fixes #4390 (#4402) 4 months ago
private_message Remove explicit auth params (#3946) 9 months ago
private_message_report Fixing private message reports. (#4279) 6 months ago
site Send purges to federated instances (fixes #4119) (#4398) 4 months ago
lib.rs Revert "Dont ignore errors during login (fixes #4319) (#4321)" (#4380) 4 months ago
sitemap.rs Use `pretty_assertions` for assertions (#4347) 5 months ago