lemmy/crates/db_views/src
biosfood 384e55f0e4
update moderator view (#3820)
* update api tests for new moderator view

* chage moderator view to be a listing type in get posts

Note: Internally, the listing type is called ListingType.ModeratorView,
but it's called "Moderator View" in the api endpoint

* fix formatting

* add support for moderator view to list comments

* add api test for moderator view when listing comments

* fix api test formatting

* retry tests

* don't filter out blocked users and communities when using moderator view

* fix cargo tests failing

* fix formatting

* fix previous merge

* Adding ModeratorView to listing_type_enums

* Fixing fmt.

* Adding a default to ListingType.

* Upgrading to use new lemmy-js-client.

---------

Co-authored-by: Nutomic <me@nutomic.com>
Co-authored-by: Dessalines <dessalines@users.noreply.github.com>
Co-authored-by: Dessalines <tyhou13@gmx.com>
2023-08-31 13:07:45 +02:00
..
comment_report_view.rs Move admin flag from person to local_user (fixes #3060) (#3403) 2023-08-24 05:40:08 -04:00
comment_view.rs update moderator view (#3820) 2023-08-31 13:07:45 +02:00
custom_emoji_view.rs Make functions work with both connection and pool (#3420) 2023-07-11 09:09:59 -04:00
lib.rs Add Custom Emojis Support (#2616) 2023-03-20 17:32:31 -04:00
local_user_view.rs Allow passing auth via header or cookie (#3725) 2023-08-29 10:47:57 -04:00
post_report_view.rs Move admin flag from person to local_user (fixes #3060) (#3403) 2023-08-24 05:40:08 -04:00
post_view.rs update moderator view (#3820) 2023-08-31 13:07:45 +02:00
private_message_report_view.rs Replace Option<bool> with bool for PostQuery and CommentQuery (#3819) (#3857) 2023-08-11 11:13:14 +02:00
private_message_view.rs Move admin flag from person to local_user (fixes #3060) (#3403) 2023-08-24 05:40:08 -04:00
registration_application_view.rs Move admin flag from person to local_user (fixes #3060) (#3403) 2023-08-24 05:40:08 -04:00
site_view.rs Make functions work with both connection and pool (#3420) 2023-07-11 09:09:59 -04:00
structs.rs Add controversial ranking (#3205) 2023-07-26 13:07:05 -04:00