lemmy/crates/db_schema/src/impls
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
..
activity.rs Use pretty_assertions for assertions (#4347) 2024-01-04 04:47:18 -05:00
actor_language.rs Adding some recommended fixes from nightly clippy. (#4473) 2024-02-26 09:47:10 -05:00
captcha_answer.rs Remove id column and use different primary key on some tables (#4093) 2023-11-13 08:14:07 -05:00
comment.rs Use pretty_assertions for assertions (#4347) 2024-01-04 04:47:18 -05:00
comment_reply.rs Use pretty_assertions for assertions (#4347) 2024-01-04 04:47:18 -05:00
comment_report.rs Auto resolve reports on removing a comment or post. Fixes #4390 (#4402) 2024-02-15 08:52:04 -05:00
community.rs Correctly synchronize collection of community featured posts (fixes #3867) (#4475) 2024-02-26 09:45:23 -05:00
community_block.rs Remove id column and use different primary key on some tables (#4093) 2023-11-13 08:14:07 -05:00
custom_emoji.rs Make functions work with both connection and pool (#3420) 2023-07-11 09:09:59 -04:00
email_verification.rs Fix time zone handling (#3496) 2023-08-24 11:27:00 -04:00
federation_allowlist.rs Use pretty_assertions for assertions (#4347) 2024-01-04 04:47:18 -05:00
federation_blocklist.rs Make functions work with both connection and pool (#3420) 2023-07-11 09:09:59 -04:00
federation_queue_state.rs add federation queue state to get_federated_instances api (#4104) 2023-11-06 16:07:04 -05:00
images.rs Rewrite images to use local proxy (#4035) 2024-01-25 09:22:11 -05:00
instance.rs Mark instance as alive after successful activity send (fixes #4039) (#4377) 2024-01-19 09:40:12 -05:00
instance_block.rs Remove id column and use different primary key on some tables (#4093) 2023-11-13 08:14:07 -05:00
language.rs Use pretty_assertions for assertions (#4347) 2024-01-04 04:47:18 -05:00
local_site.rs Make functions work with both connection and pool (#3420) 2023-07-11 09:09:59 -04:00
local_site_rate_limit.rs Make functions work with both connection and pool (#3420) 2023-07-11 09:09:59 -04:00
local_user.rs Deleting denied local_users older than a week. Fixes #4434 (#4448) 2024-02-15 07:50:53 -05:00
login_token.rs Remove id column and use different primary key on some tables (#4093) 2023-11-13 08:14:07 -05:00
mod.rs Rewrite images to use local proxy (#4035) 2024-01-25 09:22:11 -05:00
moderator.rs Use pretty_assertions for assertions (#4347) 2024-01-04 04:47:18 -05:00
password_reset_request.rs Use pretty_assertions for assertions (#4347) 2024-01-04 04:47:18 -05:00
person.rs Blocking an instance also hides private messages from their users. (#4447) 2024-02-14 10:49:55 +01:00
person_block.rs Remove id column and use different primary key on some tables (#4093) 2023-11-13 08:14:07 -05:00
person_mention.rs Use pretty_assertions for assertions (#4347) 2024-01-04 04:47:18 -05:00
post.rs Adding ability to hide posts. (#4480) 2024-02-29 10:42:34 -05:00
post_report.rs Auto resolve reports on removing a comment or post. Fixes #4390 (#4402) 2024-02-15 08:52:04 -05:00
private_message.rs Use pretty_assertions for assertions (#4347) 2024-01-04 04:47:18 -05:00
private_message_report.rs Auto resolve reports on removing a comment or post. Fixes #4390 (#4402) 2024-02-15 08:52:04 -05:00
registration_application.rs Default imprementations for read and delete in Crud trait (#3707) 2023-08-01 10:34:10 -04:00
secret.rs Make functions work with both connection and pool (#3420) 2023-07-11 09:09:59 -04:00
site.rs Persistent, performant, reliable federation queue (#3605) 2023-09-09 12:25:03 -04:00
tagline.rs Make functions work with both connection and pool (#3420) 2023-07-11 09:09:59 -04:00