forked-synapse/synapse/handlers
reivilibre 698f6fa250
Allow modules to delete rooms. (#15997)
* Allow user_id to be optional for room deletion

* Add module API method to delete a room

* Newsfile

Signed-off-by: Olivier Wilkinson (reivilibre) <oliverw@matrix.org>

* Don't worry about the case block=True && requester_user_id is None

---------

Signed-off-by: Olivier Wilkinson (reivilibre) <oliverw@matrix.org>
2023-09-06 11:50:07 +01:00
..
ui_auth Use mypy 1.0 (#15052) 2023-02-16 16:09:11 +00:00
__init__.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
account_data.py Experimental MSC3890 Implementation: Fix deleting account data when using an account data writer worker (#14869) 2023-03-03 10:51:57 +00:00
account_validity.py N + 3: Read from column full_user_id rather than user_id of tables profiles and user_filters (#15649) 2023-06-02 17:24:13 -07:00
account.py Optionally include account validity in MSC3720 account status responses (#12266) 2022-03-24 11:19:41 +01:00
admin.py Add last_seen_ts to the admin users API (#16218) 2023-09-04 18:13:28 +02:00
appservice.py Add support for claiming multiple OTKs at once. (#15468) 2023-04-27 12:57:46 -04:00
auth.py Describe which rate limiter was hit in logs (#16135) 2023-08-30 00:39:39 +01:00
cas.py Add configuration setting for CAS protocol version (#15816) 2023-08-24 16:11:23 -04:00
deactivate_account.py N + 3: Read from column full_user_id rather than user_id of tables profiles and user_filters (#15649) 2023-06-02 17:24:13 -07:00
device.py Delete device messages asynchronously and in staged batches (#16240) 2023-09-06 09:30:53 +02:00
devicemessage.py Don't wake up destination transaction queue if they're not due for retry. (#16223) 2023-09-04 17:14:09 +01:00
directory.py Better warning in logs when we fail to fetch an alias (#15922) 2023-07-11 17:12:41 -05:00
e2e_keys.py Add requesting user id parameter to key claim methods in TransportLayerClient (#15663) 2023-05-24 13:23:26 -07:00
e2e_room_keys.py Bump black from 22.12.0 to 23.1.0 (#15103) 2023-02-22 15:29:09 -05:00
event_auth.py Support room version 11 (#15912) 2023-07-18 08:44:59 -04:00
events.py Pass the device ID around in the presence handler (#16171) 2023-08-28 13:08:49 -04:00
federation_event.py Remove experimental MSC2716 implementation to incrementally import history into existing rooms (#15748) 2023-06-16 14:12:24 -05:00
federation.py Only lock when we're backfilling (#16159) 2023-08-23 09:23:41 +01:00
identity.py Describe which rate limiter was hit in logs (#16135) 2023-08-30 00:39:39 +01:00
initial_sync.py Bump twisted from 22.10.0 to 23.8.0 (#16235) 2023-09-05 11:14:14 +00:00
jwt.py Consolidate logic to check for deactivated users. (#15634) 2023-05-23 10:35:43 -04:00
message.py Stop writing to the event_txn_id table (#16175) 2023-08-30 11:10:56 +01:00
oidc.py Add stricter mypy options (#15694) 2023-05-31 07:18:29 -04:00
pagination.py Allow modules to delete rooms. (#15997) 2023-09-06 11:50:07 +01:00
password_policy.py Use direct references for some configuration variables (part 3) (#10885) 2021-09-23 07:13:34 -04:00
presence.py Delete device messages asynchronously and in staged batches (#16240) 2023-09-06 09:30:53 +02:00
profile.py Trim whitespace when setting display names (#16031) 2023-08-01 09:14:02 -04:00
push_rules.py Error if attempting to set m.push_rules account data, per MSC4010. (#15555) 2023-05-09 10:34:10 -04:00
read_marker.py Remove some unused server_name fields (#15723) 2023-06-06 12:32:29 +01:00
receipts.py Return read-only collections from @cached methods (#13755) 2023-02-10 23:29:00 +00:00
register.py Add + as an allowed character for Matrix IDs (MSC4009) (#15911) 2023-07-11 12:21:00 -04:00
relations.py Add a catch-all * to the supported relation types when redacting (#15705) 2023-06-02 13:13:50 +00:00
room_list.py Use stable prefixes for MSC3827: filtering of /publicRooms by room type (#13370) 2022-07-27 19:46:57 +01:00
room_member_worker.py Add config option to forget rooms automatically when users leave them (#15224) 2023-05-03 12:27:33 +01:00
room_member.py Describe which rate limiter was hit in logs (#16135) 2023-08-30 00:39:39 +01:00
room_summary.py Describe which rate limiter was hit in logs (#16135) 2023-08-30 00:39:39 +01:00
room.py Allow modules to delete rooms. (#15997) 2023-09-06 11:50:07 +01:00
saml.py Allow customizing IdP name and icon for SAML and CAS (#16094) 2023-08-11 20:15:17 +00:00
search.py Pass the requester during event serialization. (#15174) 2023-03-06 16:08:39 +00:00
send_email.py Support IPv6-only SMTP servers (#16155) 2023-08-29 09:33:58 -04:00
set_password.py Add a type hint for get_device_handler() and fix incorrect types. (#14055) 2022-11-22 14:08:04 -05:00
sso.py Run pyupgrade for python 3.7 & 3.8. (#16110) 2023-08-15 08:11:20 -04:00
state_deltas.py Remove HomeServer.get_datastore() (#12031) 2022-02-23 11:04:02 +00:00
stats.py Run pyupgrade for python 3.7 & 3.8. (#16110) 2023-08-15 08:11:20 -04:00
sync.py Delete device messages asynchronously and in staged batches (#16240) 2023-09-06 09:30:53 +02:00
typing.py Don't wake up destination transaction queue if they're not due for retry. (#16223) 2023-09-04 17:14:09 +01:00
user_directory.py Implements admin API to lock an user (MSC3939) (#15870) 2023-08-10 09:10:55 +00:00
worker_lock.py Rename pagination&purge locks and add comments explaining them (#16112) 2023-08-16 16:19:54 +02:00