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_views/src
SleeplessOne1917 38c22d9453
Add banned_from_community to PostView and CommentView (#4552)
* Add banned_from_community to PostView and CommentView

* Add post view test

* Add tests for CommentView

* Add tests for case where local user is not banned from community

---------

Co-authored-by: SleeplessOne1917 <insomnia-void@protonmail.com>
2 months ago
..
comment_report_view.rs Adding extra fields to PostReport and CommentReport views. (#4520) 3 months ago
comment_view.rs Add banned_from_community to PostView and CommentView (#4552) 2 months ago
custom_emoji_view.rs Add banned_from_community to PostView and CommentView (#4552) 2 months ago
lib.rs Adding /post/like/list and /comment/like/list for admins. (#4332) 5 months ago
local_user_view.rs Add a vote_display_mode local_user setting. (#4450) 3 months ago
post_report_view.rs Adding extra fields to PostReport and CommentReport views. (#4520) 3 months ago
post_view.rs Add banned_from_community to PostView and CommentView (#4552) 2 months ago
private_message_report_view.rs Add macro assert_length!() for tests (#4348) 5 months ago
private_message_view.rs Blocking an instance also hides private messages from their users. (#4447) 3 months ago
registration_application_view.rs Use `pretty_assertions` for assertions (#4347) 5 months ago
site_view.rs Fix missing private key for signed fetch (#4516) 3 months ago
structs.rs Add banned_from_community to PostView and CommentView (#4552) 2 months ago
vote_view.rs Use `pretty_assertions` for assertions (#4347) 5 months ago