Add Reports to Admin API
authorSergey Suprunenko <suprunenko.s@gmail.com>
Thu, 16 May 2019 19:09:18 +0000 (19:09 +0000)
committerfeld <feld@feld.me>
Thu, 16 May 2019 19:09:18 +0000 (19:09 +0000)
commite2b3a27204ca511a2e455a1151fdea36fdc0e53d
tree2f6f13d59fb1e42a8e932cb28d54416b297ad588
parente190b3022b29753fd7682947a293775c8801d4b7
Add Reports to Admin API
16 files changed:
CHANGELOG.md
docs/api/admin_api.md
lib/pleroma/activity.ex
lib/pleroma/emails/admin_email.ex
lib/pleroma/web/activity_pub/activity_pub.ex
lib/pleroma/web/activity_pub/utils.ex
lib/pleroma/web/admin_api/admin_api_controller.ex
lib/pleroma/web/admin_api/views/report_view.ex [new file with mode: 0644]
lib/pleroma/web/common_api/common_api.ex
lib/pleroma/web/common_api/utils.ex
lib/pleroma/web/router.ex
priv/repo/migrations/20190511191044_set_default_state_to_reports.exs [new file with mode: 0644]
test/support/factory.ex
test/web/admin_api/admin_api_controller_test.exs
test/web/common_api/common_api_test.exs
test/web/mastodon_api/mastodon_api_controller_test.exs