lemmy/crates/utils/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
..
rate_limit Expose LemmyErrorType in lemmy_api_common (#4439) 2024-02-24 19:54:27 -05:00
settings Expose LemmyErrorType in lemmy_api_common (#4439) 2024-02-24 19:54:27 -05:00
utils Rewrite images to use local proxy (#4035) 2024-01-25 09:22:11 -05:00
apub.rs Fixing .drone.yml (#2677) 2023-01-30 14:17:24 -05:00
cache_header.rs Add http cache for webfingers (#3317) 2023-07-19 06:09:04 -04:00
email.rs Move usage of env::var to lemmy_utils, simplify db init (ref #4095) (#4108) 2023-10-25 11:34:38 -04:00
error.rs Adding ability to hide posts. (#4480) 2024-02-29 10:42:34 -05:00
lib.rs Remove error-type feature from lemmy-utils (#4474) 2024-02-27 11:13:52 -05:00
main.rs Remove error-type feature from lemmy-utils (#4474) 2024-02-27 11:13:52 -05:00
request.rs Add cargo feature for building lemmy_api_common with mininum deps (#2243) 2022-05-03 17:44:13 +00:00
response.rs Use pretty_assertions for assertions (#4347) 2024-01-04 04:47:18 -05:00
version.rs For untagged commits, include hash in version name (fixes #1563) 2021-04-12 13:47:58 +02:00