Commit Graph

96 Commits (7a3a55ac98847d7adb0e200378abe07ef8d0c645)

Author SHA1 Message Date
Erik Johnston c02406ac71
Add new module API for adding custom fields to events `unsigned` section (#16549) 1 year ago
Patrick Cloke 40901af5e0
Pass the device ID around in the presence handler (#16171) 1 year ago
Andrew Morgan b6aef59334
Make `EventHandler.get_event` return `None` when the requested event is not found (#15298) 2 years ago
Quentin Gliech 41f127e068
Pass the requester during event serialization. (#15174) 2 years ago
Eric Eastwood d58615c82c
Directly lookup local membership instead of getting all members in a room first (`get_users_in_room` mis-use) (#13608) 2 years ago
Erik Johnston 1e453053cb
Rename storage classes (#12913) 3 years ago
Patrick Cloke c52abc1cfd
Additional constants for EDU types. (#12884) 3 years ago
andrew do 01e625513a
remove constantly lib use and switch to enums. (#12624) 3 years ago
Tulir Asokan 4bc8cb4669
Implement MSC2815: allow room moderators to view redacted event content (#12427) 3 years ago
David Baker 73d8ded0b0
Prevent a sync request from removing a user's busy presence status (#12213) 3 years ago
Patrick Cloke 1d11b452b7
Use the proper serialization format when bundling aggregations. (#12090) 3 years ago
Richard van der Hoff e24ff8ebe3
Remove `HomeServer.get_datastore()` (#12031) 3 years ago
Richard van der Hoff 251b5567ec
Remove `log_function` and its uses (#11761) 3 years ago
Patrick Cloke 6bf81a7a61
Bundle aggregations outside of the serialization method. (#11612) 3 years ago
Patrick Cloke dd47788752
Do not bundle aggregations for APIs which shouldn't include them. (#11592) 3 years ago
Patrick Cloke 323151b787
Convert EventStreamResult to attrs. (#11574) 3 years ago
Olivier Wilkinson (reivilibre) 4dd9ea8f4f Revert "Revert accidental fast-forward merge from v1.49.0rc1" 3 years ago
Sean Quah 158d73ebdd Revert accidental fast-forward merge from v1.49.0rc1 3 years ago
Patrick Cloke 494ebd7347
Include bundled aggregations in /sync and related fixes (#11478) 3 years ago
Patrick Cloke 6a5dd485bd
Refactor the code to inject bundled relations during serialization. (#11408) 3 years ago
Patrick Cloke eb9ddc8c2e
Remove the deprecated BaseHandler. (#11005) 3 years ago
Jonathan de Jong 98aec1cc9d
Use inline type hints in `handlers/` and `rest/`. (#10382) 3 years ago
Erik Johnston d0aee697ac
Use get_current_users_in_room from store and not StateHandler (#9910) 4 years ago
Jonathan de Jong 4b965c862d
Remove redundant "coding: utf-8" lines (#9786) 4 years ago
Patrick Cloke fc8b3d8809
Ratelimit cross-user key sharing requests. (#8957) 4 years ago
Eric Eastwood 0a00b7ff14
Update black, and run auto formatting over the codebase (#9381) 4 years ago
Erik Johnston 7941372ec8
Make token serializing/deserializing async (#8427) 4 years ago
Patrick Cloke 8a4a4186de
Simplify super() calls to Python 3 syntax. (#8344) 4 years ago
Patrick Cloke 2ea1c68249
Remove some unused distributor signals (#8216) 4 years ago
Erik Johnston be16ee59a8
Add type hints to more handlers (#8244) 4 years ago
Erik Johnston a1e9bb9eae
Add typing info to Notifier (#8058) 4 years ago
Richard van der Hoff 71a1abb8a1
Stop the master relaying USER_SYNC for other workers (#7318) 5 years ago
Erik Johnston 8437e2383e Port SyncHandler to async/await 5 years ago
Erik Johnston 69f0054ce6 Port to use state storage 5 years ago
Andrew Morgan 2a44782666
Remove double return statements (#5962) 5 years ago
Amber Brown 4806651744
Replace returnValue with return (#5736) 5 years ago
Amber Brown 463b072b12
Move logging utilities out of the side drawer of util/ and into logging/ (#5606) 5 years ago
Amber Brown 32e7c9e7f2
Run Black. (#5482) 6 years ago
Erik Johnston de7672b78f Don't bundle events in /sync or /events 6 years ago
Erik Johnston b54b03f9e1 Allow client event serialization to be async 6 years ago
Andrew Morgan 4a4d5c4fd6
Fix grammar and document get_current_users_in_room (#4998) 6 years ago
Erik Johnston 536a266520 Deny peeking into rooms that have been blocked 6 years ago
Richard van der Hoff 0bf5ec0db7 Check room visibility for /event/ requests 6 years ago
Amber Brown 49af402019 run isort 6 years ago
Richard van der Hoff 8810685df9 Stub out ServerNoticesSender on the workers 7 years ago
Erik Johnston bed10f9880 Use state handler instead of get_users_in_room/get_joined_hosts 8 years ago
Mark Haines 3b86ecfa79 Move the presence handler out of the Handlers object 9 years ago
Mark Haines 673c96ce97 Remove dead code left over from presence changes 9 years ago
Erik Johnston e5999bfb1a Initial cut 9 years ago
Erik Johnston 2c1fbea531 Fix up logcontexts 9 years ago