lemmy/crates/apub/src/api
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
..
list_comments.rs Allow passing auth via header or cookie (#3725) 2023-08-29 10:47:57 -04:00
list_posts.rs update moderator view (#3820) 2023-08-31 13:07:45 +02:00
mod.rs Remove PerformApub trait (#3423) 2023-07-03 11:01:41 +02:00
read_community.rs Allow passing auth via header or cookie (#3725) 2023-08-29 10:47:57 -04:00
read_person.rs Allow passing auth via header or cookie (#3725) 2023-08-29 10:47:57 -04:00
resolve_object.rs Allow passing auth via header or cookie (#3725) 2023-08-29 10:47:57 -04:00
search.rs Allow passing auth via header or cookie (#3725) 2023-08-29 10:47:57 -04:00