lemmy/crates/db_views_actor/src
dullbananas 6497ec519e
Refactor LocalUser settings conditions in database views (#4746)
* Create viewer.rs

* Rename viewer.rs to viewer.rs

* Update viewer.rs

* Update post_view.rs

* Update distinguish.rs

* Update like.rs

* Update viewer.rs

* Update list_comment_likes.rs

* Update like.rs

* Update save.rs

* Update like.rs

* revert changes in api crate

* Update post_view.rs

* Update post_view.rs

* Update comment_view.rs

* Update post_view.rs

* Update community_view.rs

* Update comment_view.rs

* Update post_view.rs

* Update viewer.rs

* Update post_view.rs

* Update community_view.rs

* Update local_user_view.rs

* Update viewer.rs

* Update community_view.rs

* Update viewer.rs

* Update lib.rs

* Update comment_view.rs

* Update post_view.rs

* Update viewer.rs

* Update viewer.rs

* Update viewer.rs

* Update viewer.rs

* Update local_user_view.rs

* Update viewer.rs

* Update viewer.rs

* Update local_user_view.rs

* Update community_view.rs

* Update viewer.rs

* Update crates/db_schema/src/viewer.rs

Co-authored-by: SleeplessOne1917 <28871516+SleeplessOne1917@users.noreply.github.com>

* Update viewer.rs

* Update viewer.rs

* Update viewer.rs

* Update viewer.rs

* Update post_view.rs

* Update community_view.rs

* Update comment_view.rs

* Update viewer.rs

* Update post_view.rs

* Update save.rs

* Update resolve_object.rs

* Update viewer.rs

* Update save.rs

* Update resolve_object.rs

* Update comment_view.rs

* Update post_view.rs

* Update community_view.rs

* Update local_user_view.rs

* Update post_view.rs

* Update viewer.rs

* Update comment_view.rs

* Update post_view.rs

* Update community_view.rs

* Update viewer.rs

* Update viewer.rs

* Update viewer.rs

* Update viewer.rs

* Update viewer.rs

* Some additions to localuser DB view helpers. (#39)

* Some additions to localuser DB view helpers.

- Getting rid of generics.
- Passing in only LocalUser to views.

* Formatting fixes.

* Getting rid of unecessary as_refs

* Fixing clippy.

---------

Co-authored-by: SleeplessOne1917 <28871516+SleeplessOne1917@users.noreply.github.com>
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
Co-authored-by: Dessalines <tyhou13@gmx.com>
2024-06-14 21:51:24 -04:00
..
comment_reply_view.rs Remove PersonInsertForm builder (#4779) 2024-06-06 08:29:18 -04:00
community_block_view.rs Use Queryable instead of JoinView (#3917) 2023-08-31 15:26:10 +02:00
community_follower_view.rs Configure max comment width in clippy (#4738) 2024-05-23 08:46:26 -04:00
community_moderator_view.rs Local only community (#4350) 2024-01-25 11:04:25 -05:00
community_person_ban_view.rs Cleanup checks for community actions (fixes #2858, fixes #2868) (#4028) 2023-10-13 09:48:18 -04:00
community_view.rs Refactor LocalUser settings conditions in database views (#4746) 2024-06-14 21:51:24 -04:00
instance_block_view.rs User can block instances (fixes #2397) (#3869) 2023-09-20 11:56:13 +02:00
lib.rs User can block instances (fixes #2397) (#3869) 2023-09-20 11:56:13 +02:00
person_block_view.rs Use Queryable instead of JoinView (#3917) 2023-08-31 15:26:10 +02:00
person_mention_view.rs Remove PersonInsertForm builder (#4779) 2024-06-06 08:29:18 -04:00
person_view.rs Remove PersonInsertForm builder (#4779) 2024-06-06 08:29:18 -04:00
structs.rs Adding listMedia endpoint, to view all your local image uploads. (#4509) 2024-03-26 12:06:11 -04:00