lemmy/crates/db_views/src
Dessalines 2016afc9db
User / community blocking. Fixes #426 (#1604)
* A first pass at user / community blocking. #426

* Adding unit tests for person and community block.

* Moving migration

* Fixing creator_blocked for comment queries, added tests.

* Don't let a person block themselves

* Fix post creator_blocked

* Adding creator_blocked to PersonMentionView

* Moving blocked and follows to MyUserInfo

* Rename to local_user_view

* Add moderates to MyUserInfo

* Adding BlockCommunityResponse

* Fixing name, and check_person_block

* Fixing tests.

* Using type in Blockable trait.

* Changing recipient to target, adding unfollow to block action.
2021-08-19 20:54:15 +00:00
..
comment_report_view.rs Strictly typing DB id fields. Fixes #1498 2021-03-18 16:25:21 -04:00
comment_view.rs User / community blocking. Fixes #426 (#1604) 2021-08-19 20:54:15 +00:00
lib.rs A first pass. 2021-03-10 23:43:11 -05:00
local_user_view.rs Fix API and clippy warnings 2021-03-29 20:55:08 +02:00
post_report_view.rs Strictly typing DB id fields. Fixes #1498 2021-03-18 16:25:21 -04:00
post_view.rs User / community blocking. Fixes #426 (#1604) 2021-08-19 20:54:15 +00:00
private_message_view.rs Changing unwrap_default to unwrap_or(false) 2021-04-26 09:50:34 -04:00
site_view.rs A first pass. 2021-03-10 23:43:11 -05:00