lemmy/crates
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
..
api Make remove content optional during account deletion (fixes #1617) (#3817) 2023-08-28 12:23:45 +02:00
api_common update moderator view (#3820) 2023-08-31 13:07:45 +02:00
api_crud Make remove content optional during account deletion (fixes #1617) (#3817) 2023-08-28 12:23:45 +02:00
apub update moderator view (#3820) 2023-08-31 13:07:45 +02:00
db_schema update moderator view (#3820) 2023-08-31 13:07:45 +02:00
db_views update moderator view (#3820) 2023-08-31 13:07:45 +02:00
db_views_actor Fix time zone handling (#3496) 2023-08-24 11:27:00 -04:00
db_views_moderator Make lemmy_api_common wasm-compatible (#3587) 2023-07-14 10:45:18 +02:00
routes replace expect with ErrorUnauthorized (#3915) 2023-08-29 19:08:44 -04:00
utils Allow passing auth via header or cookie (#3725) 2023-08-29 10:47:57 -04:00