paginate follow requests (#460)
authorfloatingghost <hannah@coffee-and-dreams.uk>
Sat, 4 Feb 2023 20:51:17 +0000 (20:51 +0000)
committerfloatingghost <hannah@coffee-and-dreams.uk>
Sat, 4 Feb 2023 20:51:17 +0000 (20:51 +0000)
commitaeb68a0ad151ed07d2daa41eafe1c6c282e78144
treeafea4e562ecd2ccaf8c64c40e0025bf1fb750a29
parent56c37dc6b3d9942d82d0a109c1e639d1092d0318
paginate follow requests (#460)

matches https://docs.joinmastodon.org/methods/follow_requests/#get mostly

Co-authored-by: FloatingGhost <hannah@coffee-and-dreams.uk>
Reviewed-on: https://akkoma.dev/AkkomaGang/akkoma/pulls/460
CHANGELOG.md
lib/pleroma/following_relationship.ex
lib/pleroma/user.ex
lib/pleroma/web/api_spec/operations/follow_request_operation.ex
lib/pleroma/web/mastodon_api/controllers/follow_request_controller.ex
lib/pleroma/web/mastodon_api/views/account_view.ex
test/pleroma/web/activity_pub/object_validators/block_validation_test.exs
test/pleroma/web/common_api_test.exs
test/pleroma/web/mastodon_api/controllers/follow_request_controller_test.exs