Commit Graph

243 Commits (1e0044e8f9f20ee0e8be9ad40c48be3a67e0f54e)

Author SHA1 Message Date
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
Brendan Abolivier 829f2a82b0
Add a spamchecker callback to allow or deny room joins (#10910) 3 years ago
Patrick Cloke a0f48ee89d
Use direct references for configuration variables (part 7). (#10959) 3 years ago
Patrick Cloke 32072dcdac Strip "join_authorised_via_users_server" from join events which do not need it. (#10933) 3 years ago
Patrick Cloke d1bf5f7c9d
Strip "join_authorised_via_users_server" from join events which do not need it. (#10933) 3 years ago
Patrick Cloke 94b620a5ed
Use direct references for configuration variables (part 6). (#10916) 3 years ago
Patrick Cloke bb7fdd821b
Use direct references for configuration variables (part 5). (#10897) 3 years ago
Aaron Raimist 6a751ff5e0
Allow sending a membership event to unban a user (#10807) 3 years ago
Patrick Cloke b3590614da
Require type hints in the handlers module. (#10831) 3 years ago
Richard van der Hoff 56e2a30634
Move `maybe_kick_guest_users` out of `BaseHandler` (#10744) 3 years ago
Azrenbeth 0c1d6f65d7
Enforce the max length for per-room display names / avatar URLs. (#10654) 3 years ago
Michael Telatynski 9db24cc50d
Send unstable-prefixed room_type in store-invite IS API requests (#10435) 3 years ago
Patrick Cloke 228decfce1
Update the MSC3083 support to verify if joins are from an authorized server. (#10254) 3 years ago
Eric Eastwood 96f6293de5
Add endpoints for backfilling history (MSC2716) (#9247) 3 years ago
Patrick Cloke 9e5ab6dd58
Remove the experimental flag for knocking and use stable prefixes / endpoints. (#10167) 3 years ago
Sorunome d936371b69
Implement knock feature (#6739) 4 years ago
Patrick Cloke ac6bfcd52f
Refactor checking restricted join rules (#10007) 4 years ago
Brendan Abolivier a683028d81
Correctly ratelimit invites when creating a room (#9968) 4 years ago
Patrick Cloke bb4b11846f
Add missing type hints to handlers and fix a Spam Checker type hint. (#9896) 4 years ago
Patrick Cloke d924827da1
Check for space membership during a remote join of a restricted room (#9814) 4 years ago
Patrick Cloke e8816c6ace Revert "Check for space membership during a remote join of a restricted room. (#9763)" 4 years ago
Patrick Cloke cc51aaaa7a
Check for space membership during a remote join of a restricted room. (#9763) 4 years ago
Jonathan de Jong 4b965c862d
Remove redundant "coding: utf-8" lines (#9786) 4 years ago
Patrick Cloke 452991527a
MSC3083: Check for space membership during a local join of restricted rooms. (#9735) 4 years ago
Erik Johnston 963f4309fe
Make RateLimiter class check for ratelimit overrides (#9711) 4 years ago
Patrick Cloke b449af0379
Add type hints to the room member handler. (#9631) 4 years ago
Eric Eastwood 0a00b7ff14
Update black, and run auto formatting over the codebase (#9381) 4 years ago
Erik Johnston ff55300b91
Honour ratelimit flag for application services for invite ratelimiting (#9302) 4 years ago
Erik Johnston f2c1560eca
Ratelimit invites by room and target user (#9258) 4 years ago
Erik Johnston 6633a4015a
Allow moving account data and receipts streams off master (#9104) 4 years ago