Restricted embedding of relationships where applicable (statuses / notifications...
authorIvan Tashkinov <ivantashkinov@gmail.com>
Fri, 1 May 2020 15:45:24 +0000 (18:45 +0300)
committerIvan Tashkinov <ivantashkinov@gmail.com>
Fri, 1 May 2020 15:45:24 +0000 (18:45 +0300)
commitd5cdc907e3fda14c2ce78ddbb124739441330ecc
treee6d214d87f18a7389f42049e5bae244e4d99aa77
parented4e9e6435cdc4740cf12464f01ffdb5a6a96583
Restricted embedding of relationships where applicable (statuses / notifications / accounts rendering).
Added support for :skip_notifications for accounts listing (index.json).
Adjusted tests.
18 files changed:
benchmarks/load_testing/fetcher.ex
config/config.exs
lib/mix/tasks/pleroma/benchmark.ex
lib/pleroma/web/admin_api/admin_api_controller.ex
lib/pleroma/web/admin_api/views/report_view.ex
lib/pleroma/web/admin_api/views/status_view.ex
lib/pleroma/web/chat_channel.ex
lib/pleroma/web/controller_helper.ex
lib/pleroma/web/mastodon_api/controllers/search_controller.ex
lib/pleroma/web/mastodon_api/views/account_view.ex
lib/pleroma/web/mastodon_api/views/notification_view.ex
lib/pleroma/web/mastodon_api/views/status_view.ex
lib/pleroma/web/pleroma_api/controllers/pleroma_api_controller.ex
test/web/mastodon_api/controllers/notification_controller_test.exs
test/web/mastodon_api/controllers/status_controller_test.exs
test/web/mastodon_api/controllers/timeline_controller_test.exs
test/web/mastodon_api/views/notification_view_test.exs
test/web/mastodon_api/views/status_view_test.exs