Mastodon API: ensure the notification endpoint doesn't return less than the requested...
authoreugenijm <eugenijm@protonmail.com>
Mon, 18 May 2020 15:46:04 +0000 (18:46 +0300)
committereugenijm <eugenijm@protonmail.com>
Sun, 14 Jun 2020 15:27:11 +0000 (18:27 +0300)
commitb15cfc3d365dcfa5f99159fe06e29de6f8aceb4f
tree156ff3c3c0fb6eb12064e536ae5a754048b48af4
parent271ea5068f4e3b901cb3f682e132378246daf452
Mastodon API: ensure the notification endpoint doesn't return less than the requested amount of records unless it's the last page
CHANGELOG.md
lib/pleroma/notification.ex
lib/pleroma/user.ex
lib/pleroma/web/mastodon_api/views/notification_view.ex
priv/repo/migrations/20200527163635_delete_notifications_from_invisible_users.exs [new file with mode: 0644]
test/notification_test.exs
test/web/mastodon_api/controllers/notification_controller_test.exs
test/web/mastodon_api/views/notification_view_test.exs