MatrixSynapse/tests
Dirk Klimpel c3119d1536
Add an admin API for users' media statistics (#8700)
Add `GET /_synapse/admin/v1/statistics/users/media` to get statisics about local media usage by users.
Related to #6094
It is the first API for statistics.
Goal is to avoid/reduce usage of sql queries like [Wiki analyzing Synapse](https://github.com/matrix-org/synapse/wiki/SQL-for-analyzing-Synapse-PostgreSQL-database-stats)

Signed-off-by: Dirk Klimpel dirk@klimpel.org
2020-11-05 18:59:12 +00:00
..
api Add ability for access tokens to belong to one user but grant access to another user. (#8616) 2020-10-29 15:58:44 +00:00
app
appservice Add ability for access tokens to belong to one user but grant access to another user. (#8616) 2020-10-29 15:58:44 +00:00
config
crypto
events
federation
handlers Block clients from sending server ACLs that lock the local server out. (#8708) 2020-11-03 12:13:48 +00:00
http
logging Gracefully handle a pending logging connection during shutdown. (#8685) 2020-10-29 12:53:57 -04:00
module_api
push Add ability for access tokens to belong to one user but grant access to another user. (#8616) 2020-10-29 15:58:44 +00:00
replication Fix race for concurrent downloads of remote media. (#8682) 2020-10-30 10:55:24 +00:00
rest Add an admin API for users' media statistics (#8700) 2020-11-05 18:59:12 +00:00
scripts
server_notices
state
storage Add ability for access tokens to belong to one user but grant access to another user. (#8616) 2020-10-29 15:58:44 +00:00
test_utils Fail test cases if they fail to await all awaitables (#8690) 2020-10-30 07:15:07 -04:00
util Implement and use an @lru_cache decorator (#8595) 2020-10-30 11:43:17 +00:00
__init__.py
server.py Fix race for concurrent downloads of remote media. (#8682) 2020-10-30 10:55:24 +00:00
test_distributor.py
test_event_auth.py
test_federation.py
test_mau.py
test_metrics.py
test_phone_home.py
test_preview.py
test_server.py
test_state.py
test_terms_auth.py
test_test_utils.py
test_types.py
test_visibility.py
unittest.py Add `displayname` to Shared-Secret Registration for admins (#8722) 2020-11-05 13:55:45 +00:00
utils.py