0
0
Fork 0
mirror of https://github.com/matrix-org/dendrite synced 2024-11-19 16:20:51 +01:00
dendrite/clientapi/routing
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
..
account_data.go Private read receipts (#2789) 2022-10-11 12:27:21 +01:00
admin.go Add /_dendrite/admin/purgeRoom/{roomID} (#2662) 2023-01-19 21:02:32 +01:00
admin_whois.go Define component interfaces based on consumers (1/2) (#2423) 2022-05-05 13:17:38 +01:00
aliases.go Handle state before, send history visibility in output (#2532) 2022-06-13 15:11:10 +01:00
auth_fallback.go Add clientapi tests (#2916) 2022-12-23 14:11:11 +01:00
auth_fallback_test.go Add clientapi tests (#2916) 2022-12-23 14:11:11 +01:00
capabilities.go Define component interfaces based on consumers (1/2) (#2423) 2022-05-05 13:17:38 +01:00
createroom.go Federation fixes for virtual hosting 2022-11-15 15:05:23 +00:00
deactivate.go Do not use ioutil as it is deprecated (#2625) 2022-08-05 10:26:59 +01:00
device.go Do not use ioutil as it is deprecated (#2625) 2022-08-05 10:26:59 +01:00
directory.go Federation fixes for virtual hosting 2022-11-15 15:05:23 +00:00
directory_public.go Federation fixes for virtual hosting 2022-11-15 15:05:23 +00:00
directory_public_test.go Add AS specific public room list endpoints (#2836) 2022-10-27 14:40:35 +02:00
joined_rooms.go Filter /members, return members at given point (#2827) 2022-10-25 12:39:10 +02:00
joinroom.go Handle guest access [1/2?] (#2872) 2022-12-22 13:05:59 +01:00
joinroom_test.go Handle guest access [1/2?] (#2872) 2022-12-22 13:05:59 +01:00
key_backup.go Generic-based internal HTTP API (#2626) 2022-08-11 15:29:33 +01:00
key_crosssigning.go Generic-based internal HTTP API (#2626) 2022-08-11 15:29:33 +01:00
keys.go Fix slow querying of cross-signing signatures 2022-10-24 10:07:50 +01:00
leaveroom.go Define component interfaces based on consumers (1/2) (#2423) 2022-05-05 13:17:38 +01:00
login.go Add clientapi tests (#2916) 2022-12-23 14:11:11 +01:00
login_test.go Fix /login issue causing wrong device list updates (#2922) 2023-01-10 17:02:38 +01:00
logout.go Define component interfaces based on consumers (1/2) (#2423) 2022-05-05 13:17:38 +01:00
membership.go Federation fixes for virtual hosting 2022-11-15 15:05:23 +00:00
notification.go Virtual hosting schema and logic changes (#2876) 2022-11-11 16:41:37 +00:00
openid.go Initial support for multiple server names (#2829) 2022-10-26 12:59:19 +01:00
password.go Add clientapi tests (#2916) 2022-12-23 14:11:11 +01:00
peekroom.go Generic-based internal HTTP API (#2626) 2022-08-11 15:29:33 +01:00
presence.go Simplify presence stringification (should help with vector-im/element-android#5712) 2022-04-07 10:10:28 +01:00
profile.go Federation fixes for virtual hosting 2022-11-15 15:05:23 +00:00
pusher.go Virtual hosting schema and logic changes (#2876) 2022-11-11 16:41:37 +00:00
pushrules.go Define component interfaces based on consumers (1/2) (#2423) 2022-05-05 13:17:38 +01:00
receipt.go Private read receipts (#2789) 2022-10-11 12:27:21 +01:00
redaction.go Federation fixes for virtual hosting 2022-11-15 15:05:23 +00:00
register.go Handle DisplayName field in admin user registration endpoint (#2935) 2023-01-10 18:09:25 +00:00
register_secret.go Handle DisplayName field in admin user registration endpoint (#2935) 2023-01-10 18:09:25 +00:00
register_secret_test.go Handle DisplayName field in admin user registration endpoint (#2935) 2023-01-10 18:09:25 +00:00
register_test.go Handle DisplayName field in admin user registration endpoint (#2935) 2023-01-10 18:09:25 +00:00
room_tagging.go Make the User API responsible for sending account data output events (#2592) 2022-07-25 17:30:07 +01:00
routing.go Add /_dendrite/admin/purgeRoom/{roomID} (#2662) 2023-01-19 21:02:32 +01:00
sendevent.go Federation fixes for virtual hosting 2022-11-15 15:05:23 +00:00
sendtodevice.go Scope transactions to endpoints (#2799) 2022-10-17 14:48:35 +02:00
sendtyping.go Define component interfaces based on consumers (1/2) (#2423) 2022-05-05 13:17:38 +01:00
server_notices.go Federation fixes for virtual hosting 2022-11-15 15:05:23 +00:00
server_notices_test.go Implement server notices (#2180) 2022-02-18 16:05:03 +01:00
state.go Add RoomExists flag to QueryMembershipForUser (#2450) 2022-05-11 11:29:23 +01:00
thirdparty.go Return empty JSON if we don't have any protocols to return (#2892) 2022-11-28 11:26:03 +01:00
threepid.go Virtual hosting schema and logic changes (#2876) 2022-11-11 16:41:37 +00:00
upgrade_room.go Generic-based internal HTTP API (#2626) 2022-08-11 15:29:33 +01:00
userdirectory.go Federation fixes for virtual hosting 2022-11-15 15:05:23 +00:00
voip.go Fix linter issues (#2624) 2022-08-05 11:12:41 +02:00
whoami.go Update /whoami response to match Spec v1.2 (#2201) 2022-02-18 11:28:02 +00:00