dendrite/roomserver/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
..
event_json_table_test.go Add roomserver tests (1/?) (#2434) 2022-05-09 15:30:32 +02:00
event_state_keys_table_test.go Add roomserver tests (1/?) (#2434) 2022-05-09 15:30:32 +02:00
event_types_table_test.go Add roomserver tests (1/?) (#2434) 2022-05-09 15:30:32 +02:00
events_table_test.go State handling tweaks (#2652) 2022-08-18 17:06:13 +01:00
interface.go Add /_dendrite/admin/purgeRoom/{roomID} (#2662) 2023-01-19 21:02:32 +01:00
invite_table_test.go Fix issue with DMs shown as normal rooms (#2776) 2022-10-07 16:00:12 +02:00
membership_table_test.go Cleanup stale device lists for users we don't share a room with anymore (#2857) 2022-12-12 08:20:59 +01:00
previous_events_table_test.go bugfix: E2EE device keys could sometimes not be sent to remote servers (#2466) 2022-05-17 13:23:35 +01:00
published_table_test.go Add AS specific public room list endpoints (#2836) 2022-10-27 14:40:35 +02:00
redactions_table_test.go Add roomserver tests (2/?) (#2445) 2022-05-10 14:41:12 +02:00
room_aliases_table_test.go bugfix: E2EE device keys could sometimes not be sent to remote servers (#2466) 2022-05-17 13:23:35 +01:00
rooms_table_test.go De-race types.RoomInfo (#2600) 2022-08-01 15:29:19 +01:00
state_block_table_test.go Add roomserver tests (3/4) (#2447) 2022-05-16 19:33:16 +02:00
state_snapshot_table_test.go Optimise checking other servers allowed to see events (#2596) 2022-08-01 14:11:00 +01:00