Commit Graph

18 Commits (86641cb3a820e287b8c0a256fd363a2826b51dcb)

Author SHA1 Message Date
Mathieu Velten 99fefd5501 Merge remote-tracking branch 'origin/develop' into anoa/public_rooms_module_api 2023-10-09 15:19:19 +02:00
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
Patrick Cloke ad3f43be9a
Run pyupgrade for python 3.7 & 3.8. (#16110) 2023-08-15 08:11:20 -04:00
Eric Eastwood ce857c05d5
Add tracing to media `/upload` endpoint (#15850)
Add tracing instrumentation to media `/upload` code paths to investigate https://github.com/matrix-org/synapse/issues/15841
2023-07-05 10:22:21 -05:00
Erik Johnston 25c55a9d22
Add login spam checker API (#15838) 2023-06-26 14:12:20 +00:00
Mathieu Velten dcc49cd1ae More tests, less bugs 2023-05-30 17:41:43 +02:00
Mathieu Velten 50d75a311b Fix test 2023-05-23 11:59:31 +02:00
Mathieu Velten 7709a99e6f Fix order 2023-05-22 18:32:32 +02:00
Mathieu Velten a0ea6c1cba lint 2023-05-19 17:35:29 +02:00
Mathieu Velten 2362ef10a3 Fix stuffs 2023-05-19 16:56:26 +02:00
Mathieu Velten 74dbcaaab2 Fix stuffs 2023-05-19 16:46:02 +02:00
Mathieu Velten 79923666c5 Various fixups 2023-05-19 11:23:55 +02:00
Mathieu Velten 738b372379 Merge remote-tracking branch 'origin/develop' into anoa/public_rooms_module_api 2023-05-16 17:41:39 +02:00
Andrew Morgan 2e59e97ebd
Move ThirdPartyEventRules into module_api/callbacks (#15535) 2023-05-04 14:18:22 +00:00
Andrew Morgan 5c1e9f24da wip: call the public room callback 2023-05-02 15:23:32 +01:00
Andrew Morgan 2436153e8f Add a new public rooms callback class, a new fetch_public_rooms callback
fetch_public_rooms is a module API callback intended to be used when a
request for the homeserver's public rooms list comes in via either the
CS or SS API. Modules can return an ordered array of public rooms that
they would like to inject into the list supplied by the homeserver.

This can be useful for exposing known rooms that users on the
homeserver have not joined yet, and the property of mixing with the
normal public rooms list is desirable versus the solution of creating
a new third-party network type to load your rooms under.
2023-05-02 15:23:32 +01:00
Andrew Morgan aec639e3e3
Move Spam Checker callbacks to a dedicated file (#15453) 2023-04-18 00:57:40 +00:00
Andrew Morgan 4953cd71df
Move Account Validity callbacks to a dedicated file (#15237) 2023-03-16 10:35:31 +00:00