Ability to control the output of account/pleroma/relationship in statuses in order...
authorIvan Tashkinov <ivantashkinov@gmail.com>
Wed, 1 Apr 2020 16:49:09 +0000 (19:49 +0300)
committerIvan Tashkinov <ivantashkinov@gmail.com>
Wed, 1 Apr 2020 16:49:09 +0000 (19:49 +0300)
commit2f2bd7fe72f474b7177c751a2dc3af716622ba91
tree0f09b03ec1e06b25200571628f8bd0dac17d7e3d
parentbfec45bf740f9fcfcea92bbded6bd2c146dc64c1
Ability to control the output of account/pleroma/relationship in statuses in order to improve the rendering performance.
See `[:extensions, output_relationships_in_statuses_by_default]` setting and `with_relationships` param.
25 files changed:
CHANGELOG.md
benchmarks/load_testing/fetcher.ex
config/config.exs
config/description.exs
lib/mix/tasks/pleroma/benchmark.ex
lib/pleroma/user_relationship.ex
lib/pleroma/web/admin_api/admin_api_controller.ex
lib/pleroma/web/admin_api/views/report_view.ex
lib/pleroma/web/common_api/activity_draft.ex
lib/pleroma/web/controller_helper.ex
lib/pleroma/web/mastodon_api/controllers/account_controller.ex
lib/pleroma/web/mastodon_api/controllers/notification_controller.ex
lib/pleroma/web/mastodon_api/controllers/search_controller.ex
lib/pleroma/web/mastodon_api/controllers/status_controller.ex
lib/pleroma/web/mastodon_api/controllers/timeline_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/account_controller.ex
lib/pleroma/web/pleroma_api/controllers/pleroma_api_controller.ex
priv/repo/migrations/20190414125034_migrate_old_bookmarks.exs
priv/repo/migrations/20190711042021_create_safe_jsonb_set.exs
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