Admin API: `GET /api/pleroma/admin/stats` to get status count by visibility scope
authoreugenijm <eugenijm@protonmail.com>
Thu, 9 Jan 2020 19:18:55 +0000 (22:18 +0300)
committereugenijm <eugenijm@protonmail.com>
Mon, 24 Feb 2020 18:46:37 +0000 (21:46 +0300)
commit7ad5c51f23102e89c491a2ef731e108873a09d71
treeedfad3b8ea92b2037ef737a97acaa87d2ee00a34
parentd240ce41b55a557366746fb7e313d3810bd8fe16
Admin API: `GET /api/pleroma/admin/stats` to get status count by visibility scope
CHANGELOG.md
docs/API/admin_api.md
lib/mix/tasks/pleroma/refresh_counter_cache.ex [new file with mode: 0644]
lib/pleroma/counter_cache.ex [new file with mode: 0644]
lib/pleroma/stats.ex
lib/pleroma/web/admin_api/admin_api_controller.ex
lib/pleroma/web/router.ex
priv/repo/migrations/20200109123126_add_counter_cache_table.exs [new file with mode: 0644]
test/stat_test.exs [new file with mode: 0644]
test/tasks/refresh_counter_cache_test.exs [new file with mode: 0644]
test/web/admin_api/admin_api_controller_test.exs