0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-12-25 07:23:47 +01:00
dendrite/internal
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
..
caching Protect user_interactive reads and writes with locks (#2635) 2022-08-12 09:12:05 +01:00
eventutil Federation fixes for virtual hosting 2022-11-15 15:05:23 +00:00
fulltext Side effect import bleve analyzer languages (#2763) 2022-10-05 11:14:33 +02:00
hooks
httputil Add clientapi tests (#2916) 2022-12-23 14:11:11 +01:00
pushgateway Test and CI related changes (#2896) 2022-12-02 11:44:20 +01:00
pushrules Pushrule tweaks, make pattern non-optional on EventMatchCondition (#2918) 2022-12-23 12:52:47 +01:00
sqlutil Add /_dendrite/admin/purgeRoom/{roomID} (#2662) 2023-01-19 21:02:32 +01:00
transactions Scope transactions to endpoints (#2799) 2022-10-17 14:48:35 +02:00
log.go Fix issue with multiple/duplicate log entries during tests (#2906) 2022-12-08 08:24:06 +01:00
log_unix.go Fix issue with multiple/duplicate log entries during tests (#2906) 2022-12-08 08:24:06 +01:00
log_windows.go Fix building on Windows (#2008) 2021-11-02 16:50:59 +00:00
mutex.go
validate.go Add clientapi tests (#2916) 2022-12-23 14:11:11 +01:00
validate_test.go Add clientapi tests (#2916) 2022-12-23 14:11:11 +01:00
version.go Version 0.10.9 (#2942) 2023-01-17 19:04:02 +01:00