anonymousland-synapse/synapse/rest
Dirk Klimpel 491f0dab1b
Add delete room admin endpoint (#7613)
The Delete Room admin API allows server admins to remove rooms from server
and block these rooms.
`DELETE /_synapse/admin/v1/rooms/<room_id>`
It is a combination and improvement of "[Shutdown room](https://github.com/matrix-org/synapse/blob/develop/docs/admin_api/shutdown_room.md)" and "[Purge room](https://github.com/matrix-org/synapse/blob/develop/docs/admin_api/purge_room.md)" API.

Fixes: #6425 

It also fixes a bug in [synapse/storage/data_stores/main/room.py](synapse/storage/data_stores/main/room.py) in ` get_room_with_stats`.
It should return `None` if the room is unknown. But it returns an `IndexError`.
901b1fa561/synapse/storage/data_stores/main/room.py (L99-L105)

Related to:
- #5575
- https://github.com/Awesome-Technologies/synapse-admin/issues/17

Signed-off-by: Dirk Klimpel dirk@klimpel.org
2020-07-14 12:36:23 +01:00
..
admin Add delete room admin endpoint (#7613) 2020-07-14 12:36:23 +01:00
client Add the option to validate the iss and aud claims for JWT logins. (#7827) 2020-07-14 07:16:43 -04:00
consent Merge different Resource implementation classes (#7732) 2020-07-03 19:02:19 +01:00
key Merge different Resource implementation classes (#7732) 2020-07-03 19:02:19 +01:00
media isort 5 compatibility (#7786) 2020-07-05 16:32:02 +01:00
oidc Merge different Resource implementation classes (#7732) 2020-07-03 19:02:19 +01:00
saml2 Merge different Resource implementation classes (#7732) 2020-07-03 19:02:19 +01:00
__init__.py Allow server admins to define and enforce a password policy (MSC2000). (#7118) 2020-03-26 16:51:13 +00:00
well_known.py public_base_url is actually public_baseurl 2019-08-26 21:01:56 -05:00