dendrite/federationapi/storage
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
..
cache Merge federationapi, federationsender, signingkeyserver components (#2055) 2021-11-24 10:45:23 +00:00
postgres Add federation peeking table tests (#2920) 2022-12-22 10:56:20 +01:00
shared Add /_dendrite/admin/purgeRoom/{roomID} (#2662) 2023-01-19 21:02:32 +01:00
sqlite3 Add federation peeking table tests (#2920) 2022-12-22 10:56:20 +01:00
tables Fix flakey test 2022-12-22 11:31:54 +01:00
interface.go Add /_dendrite/admin/purgeRoom/{roomID} (#2662) 2023-01-19 21:02:32 +01:00
storage_test.go More flakey tests 2022-12-22 13:04:32 +01:00
storage_wasm.go Global database connection pool (for monolith mode) (#2411) 2022-05-03 16:35:06 +01:00
storage.go Initial support for multiple server names (#2829) 2022-10-26 12:59:19 +01:00