0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-11-04 06:59:01 +01:00
dendrite/syncapi/storage/tables
Neil 738686ae68
Add /_dendrite/admin/purgeRoom/{roomID} (#2662)
This adds a new admin endpoint `/_dendrite/admin/purgeRoom/{roomID}`. It
completely erases all database entries for a given room ID.

The roomserver will start by clearing all data for that room and then
will generate an output event to notify downstream components (i.e. the
sync API and federation API) to do the same.

It does not currently clear media and it is currently not implemented
for SQLite since it relies on SQL array operations right now.

Co-authored-by: Neil Alexander <neilalexander@users.noreply.github.com>
Co-authored-by: Till Faelligen <2353100+S7evinK@users.noreply.github.com>
2023-01-19 21:02:32 +01:00
..
current_room_state_test.go Fix fragility of selectEventsWithEventIDsSQL queries (#2757) 2022-10-03 11:57:21 +01:00
interface.go Add /_dendrite/admin/purgeRoom/{roomID} (#2662) 2023-01-19 21:02:32 +01:00
memberships_test.go Fix room summary returning wrong heroes (#2930) 2023-01-12 10:06:03 +01:00
output_room_events_test.go History visibility database changes (#2533) 2022-07-18 14:46:15 +02:00
presence_table_test.go Fix newly joined users presence (#2854) 2022-12-08 08:25:03 +01:00
relations_test.go Event relations (#2790) 2022-10-13 14:50:52 +01:00
topology_test.go bugfix: E2EE device keys could sometimes not be sent to remote servers (#2466) 2022-05-17 13:23:35 +01:00