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/db_schema/src/source
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
4 months ago
..
activity.rs Adding Selectable and diesel postgres backend check. (#4175) 7 months ago
actor_language.rs Adding Selectable and diesel postgres backend check. (#4175) 7 months ago
captcha_answer.rs Adding Selectable and diesel postgres backend check. (#4175) 7 months ago
comment.rs Adding Selectable and diesel postgres backend check. (#4175) 7 months ago
comment_reply.rs Adding Selectable and diesel postgres backend check. (#4175) 7 months ago
comment_report.rs Adding Selectable and diesel postgres backend check. (#4175) 7 months ago
community.rs Local only community (#4350) 5 months ago
community_block.rs Adding Selectable and diesel postgres backend check. (#4175) 7 months ago
custom_emoji.rs Adding Selectable and diesel postgres backend check. (#4175) 7 months ago
custom_emoji_keyword.rs Adding Selectable and diesel postgres backend check. (#4175) 7 months ago
email_verification.rs Adding Selectable and diesel postgres backend check. (#4175) 7 months ago
federation_allowlist.rs Adding Selectable and diesel postgres backend check. (#4175) 7 months ago
federation_blocklist.rs Adding Selectable and diesel postgres backend check. (#4175) 7 months ago
federation_queue_state.rs Adding skip_serializing_none to federation state. (#4152) 7 months ago
image_upload.rs Adding Selectable and diesel postgres backend check. (#4175) 7 months ago
images.rs Rewrite images to use local proxy (#4035) 5 months ago
instance.rs Adding Selectable and diesel postgres backend check. (#4175) 7 months ago
instance_block.rs Adding Selectable and diesel postgres backend check. (#4175) 7 months ago
language.rs Adding Selectable and diesel postgres backend check. (#4175) 7 months ago
local_site.rs Adding an instance-level default_sort_type (#4454) 4 months ago
local_site_rate_limit.rs Adding Selectable and diesel postgres backend check. (#4175) 7 months ago
local_user.rs Adding Selectable and diesel postgres backend check. (#4175) 7 months ago
local_user_language.rs Adding Selectable and diesel postgres backend check. (#4175) 7 months ago
login_token.rs Adding Selectable and diesel postgres backend check. (#4175) 7 months ago
mod.rs Rewrite images to use local proxy (#4035) 5 months ago
moderator.rs Adding Selectable and diesel postgres backend check. (#4175) 7 months ago
password_reset_request.rs Adding Selectable and diesel postgres backend check. (#4175) 7 months ago
person.rs Adding Selectable and diesel postgres backend check. (#4175) 7 months ago
person_block.rs Adding Selectable and diesel postgres backend check. (#4175) 7 months ago
person_mention.rs Adding Selectable and diesel postgres backend check. (#4175) 7 months ago
post.rs Adding ability to hide posts. (#4480) 4 months ago
post_report.rs Adding Selectable and diesel postgres backend check. (#4175) 7 months ago
private_message.rs Adding Selectable and diesel postgres backend check. (#4175) 7 months ago
private_message_report.rs Adding Selectable and diesel postgres backend check. (#4175) 7 months ago
registration_application.rs Adding Selectable and diesel postgres backend check. (#4175) 7 months ago
secret.rs Adding Selectable and diesel postgres backend check. (#4175) 7 months ago
site.rs Add site.content_warning, local_site.default_post_listing_mode (#4393) 4 months ago
tagline.rs Adding Selectable and diesel postgres backend check. (#4175) 7 months ago