lemmy/crates/api_common/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
..
build_response.rs Dont send comment reply to user who has community blocked. Fixes #3684 (#4096) 2023-11-09 12:03:25 +01:00
claims.rs Make request models derive PartialEq, Eq, and Hash (#4443) 2024-02-11 00:32:14 -05:00
comment.rs Make request models derive PartialEq, Eq, and Hash (#4443) 2024-02-11 00:32:14 -05:00
community.rs Make request models derive PartialEq, Eq, and Hash (#4443) 2024-02-11 00:32:14 -05:00
context.rs Rewrite images to use local proxy (#4035) 2024-01-25 09:22:11 -05:00
custom_emoji.rs Make request models derive PartialEq, Eq, and Hash (#4443) 2024-02-11 00:32:14 -05:00
lib.rs Expose LemmyErrorType in lemmy_api_common (#4439) 2024-02-24 19:54:27 -05:00
person.rs Make request models derive PartialEq, Eq, and Hash (#4443) 2024-02-11 00:32:14 -05:00
post.rs Adding ability to hide posts. (#4480) 2024-02-29 10:42:34 -05:00
private_message.rs Make request models derive PartialEq, Eq, and Hash (#4443) 2024-02-11 00:32:14 -05:00
request.rs Fix doctype check issue for metadata fetching. Fixes #4468 (#4472) 2024-02-26 10:24:09 -05:00
send_activity.rs Send purges to federated instances (fixes #4119) (#4398) 2024-01-25 09:24:09 -05:00
sensitive.rs Upgrade api_test deps (#2850) 2023-05-10 16:31:37 -04:00
site.rs Adding an instance-level default_sort_type (#4454) 2024-02-16 09:36:46 -05:00
utils.rs Adding some recommended fixes from nightly clippy. (#4473) 2024-02-26 09:47:10 -05:00