dendrite/syncapi/storage/sqlite3
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
..
deltas Implement history visibility on /messages, /context, /sync (#2511) 2022-08-11 18:23:35 +02:00
account_data_table.go Consistent *sql.Tx usage across sync API (#2744) 2022-09-28 10:18:03 +01:00
backwards_extremities_table.go Add /_dendrite/admin/purgeRoom/{roomID} (#2662) 2023-01-19 21:02:32 +01:00
current_room_state_table.go Fix room summary returning wrong heroes (#2930) 2023-01-12 10:06:03 +01:00
filter_table.go Consistent *sql.Tx usage across sync API (#2744) 2022-09-28 10:18:03 +01:00
filtering.go Don't limit "state" (#2849) 2022-11-02 09:34:19 +00:00
ignores_table.go More writer fixes in the Sync API 2022-09-09 13:06:42 +01:00
invites_table.go Add /_dendrite/admin/purgeRoom/{roomID} (#2662) 2023-01-19 21:02:32 +01:00
memberships_table.go Add /_dendrite/admin/purgeRoom/{roomID} (#2662) 2023-01-19 21:02:32 +01:00
notification_data_table.go Add /_dendrite/admin/purgeRoom/{roomID} (#2662) 2023-01-19 21:02:32 +01:00
output_room_events_table.go Add /_dendrite/admin/purgeRoom/{roomID} (#2662) 2023-01-19 21:02:32 +01:00
output_room_events_topology_table.go Add /_dendrite/admin/purgeRoom/{roomID} (#2662) 2023-01-19 21:02:32 +01:00
peeks_table.go Add /_dendrite/admin/purgeRoom/{roomID} (#2662) 2023-01-19 21:02:32 +01:00
presence_table.go Fix newly joined users presence (#2854) 2022-12-08 08:25:03 +01:00
receipt_table.go Add /_dendrite/admin/purgeRoom/{roomID} (#2662) 2023-01-19 21:02:32 +01:00
relations_table.go Event relations (#2790) 2022-10-13 14:50:52 +01:00
send_to_device_table.go Index on syncapi_send_to_device table (#2684) 2022-08-30 14:47:54 +01:00
stream_id_table.go Event relations (#2790) 2022-10-13 14:50:52 +01:00
syncserver.go Event relations (#2790) 2022-10-13 14:50:52 +01:00