Commit Graph

272 Commits (87e5df9a6ed772daf1070919845942b39143252e)

Author SHA1 Message Date
Andrew Morgan 2e59e97ebd
Move ThirdPartyEventRules into module_api/callbacks (#15535) 2 years ago
Sean Quah 04e79e6a18
Add config option to forget rooms automatically when users leave them (#15224) 2 years ago
Quentin Gliech 8b3a502996
Experimental support for MSC3970: per-device transaction IDs (#15318) 2 years ago
Andrew Morgan aec639e3e3
Move Spam Checker callbacks to a dedicated file (#15453) 2 years ago
DeepBlueV7.X 753d1d9cde
Fix joining rooms you have been unbanned from (#15323) 2 years ago
Dirk Klimpel ecbe0ddbe7
Add support for knocking to workers. (#15133) 2 years ago
Shay 1c95ddd09b
Batch up storing state groups when creating new room (#14918) 2 years ago
Mathieu Velten 6cddf24e36
Faster joins: don't stall when a user joins during a fast join (#14606) 2 years ago
Patrick Cloke cf5233b783
Avoid fetching unused account data in sync. (#14973) 2 years ago
Mathieu Velten 54c012c5a8
Make `handle_new_client_event` throws `PartialStateConflictError` (#14665) 2 years ago
David Robertson b5b5f66084
Move `StateFilter` to `synapse.types` (#14668) 2 years ago
lukasdenk 719488dda8
Add query parameter `ts` to allow appservices set the `origin_server_ts` for state events. (#11866) 2 years ago
Eric Eastwood a52c40e2a6
Fix `get_users_in_room` mis-use in `transfer_room_state_on_room_upgrade` (#13960) 2 years ago
Shay 8ab16a92ed
Persist CreateRoom events to DB in a batch (#13800) 2 years ago
reivilibre 6302753012
Deduplicate `is_server_notices_room`. (#13780) 2 years ago
Jacek Kuśnierz 84ddcd7bbf
Drop support for calling `/_matrix/client/v3/rooms/{roomId}/invite` without an `id_access_token` (#13241) 2 years ago
Dirk Klimpel 682dfcfc0d
Fix that user cannot `/forget` rooms after the last member has left (#13546) 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
Dirk Klimpel 37f329c9ad
Fix that sending server notices fail if avatar is `None` (#13566) 2 years ago
Quentin Gliech 3dd175b628
`synapse.api.auth.Auth` cleanup: make permission-related methods use `Requester` instead of the `UserID` (#13024) 2 years ago
Shay a648a06d52
Add some tracing spans to give insight into local joins (#13439) 2 years ago
reivilibre 39be5bc550
Make minor clarifications to the error messages given when we fail to join a room via any server. (#13160) 2 years ago
David Robertson b977867358
Rate limit joins per-room (#13276) 2 years ago
David Robertson 7281591f4c
Use state before join to determine if we `_should_perform_remote_join` (#13270) 2 years ago
Nick Mills-Barrett 982fe29655
Optimise room creation event lookups part 2 (#13224) 2 years ago
David Teller 11f811470f
Uniformize spam-checker API, part 5: expand other spam-checker callbacks to return `Tuple[Codes, dict]` (#13044) 2 years ago
Eric Eastwood 2c2a42cc10
Fix application service not being able to join remote federated room without a profile set (#13131) 2 years ago
David Teller 80c7a06777
Rate limiting invites per issuer (#13125) 2 years ago
reivilibre 7552615247
Reduce the duplication of code that invokes the rate limiter. (#13070) 2 years ago
David Teller a164a46038
Uniformize spam-checker API, part 4: port other spam-checker callbacks to return `Union[Allow, Codes]`. (#12857) 2 years ago
Erik Johnston e3163e2e11
Reduce the amount of state we pull from the DB (#12811) 3 years ago
Erik Johnston 888a29f412
Wait for lazy join to complete when getting current state (#12872) 3 years ago
Patrick Cloke a8db8c6eba
Remove user-visible groups/communities code (#12553) 3 years ago
Shay 71e8afe34d
Update EventContext `get_current_event_ids` and `get_prev_event_ids` to accept state filters and update calls where possible (#12791) 3 years ago
Sean Quah 800ba87cc8
Refactor and convert `Linearizer` to async (#12357) 3 years ago
Eric Eastwood 6f2943714b
Remove unused `auth_event_ids` argument plumbing (#12304) 3 years ago
Eric Eastwood 14662d3c18
Refactor `create_new_client_event` to use a new parameter, `state_event_ids`, which accurately describes the usage with MSC2716 instead of abusing `auth_event_ids` (#12083) 3 years ago
Richard van der Hoff 8533c8b03d
Avoid generating state groups for local out-of-band leaves (#12154) 3 years ago
Richard van der Hoff e24ff8ebe3
Remove `HomeServer.get_datastore()` (#12031) 3 years ago
Brendan Abolivier 130fd45393
Limit concurrent AS joins (#11996) 3 years ago
Eric Eastwood fef2e792be
Fix historical messages backfilling in random order on remote homeservers (MSC2716) (#11114) 3 years ago
Brendan Abolivier d80d39b035
Add a ratelimiter for 3pid invite (#11892) 3 years ago
Brendan Abolivier bf60da1a60
Configurable limits on avatars (#11846) 3 years ago
Sean Quah c7fe32edb4
Add type hints to `synapse/storage/databases/main/room.py` (#11575) 3 years ago
Eric Eastwood aa8708ebed
Allow events to be created with no `prev_events` (MSC2716) (#11243) 3 years ago
Eric Eastwood 7ffddd819c
Prevent historical state from being pushed to an application service via `/transactions` (MSC2716) (#11265) 3 years ago
Patrick Cloke c01bc5f43d
Add remaining type hints to `synapse.events`. (#11098) 3 years ago
Patrick Cloke eb9ddc8c2e
Remove the deprecated BaseHandler. (#11005) 3 years ago
Brendan Abolivier 4e51621064
Add a spamchecker method to allow or deny 3pid invites (#10894) 3 years ago
Patrick Cloke f4b1a9a527
Require direct references to configuration variables. (#10985) 3 years ago