Commit Graph

692 Commits (d0aee697ac0587c005bc1048f5036979331f1101)

Author SHA1 Message Date
Patrick Cloke d924827da1
Check for space membership during a remote join of a restricted room (#9814) 4 years ago
Jonathan de Jong 495b214f4f
Fix (final) Bugbear violations (#9838) 4 years ago
Patrick Cloke 936e69825a
Separate creating an event context from persisting it in the federation handler (#9800) 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
Jonathan de Jong 2ca4e349e9
Bugbear: Add Mutable Parameter fixes (#9682) 4 years ago
Patrick Cloke d959d28730
Add type hints to the federation handler and server. (#9743) 4 years ago
Erik Johnston 963f4309fe
Make RateLimiter class check for ratelimit overrides (#9711) 4 years ago
Richard van der Hoff af2248f8bf
Optimise missing prev_event handling (#9601) 4 years ago
Richard van der Hoff 2b328d7e02
Improve logging when processing incoming transactions (#9596) 4 years ago
Patrick Cloke 2a99cc6524
Use the chain cover index in get_auth_chain_ids. (#9576) 4 years ago
Eric Eastwood 0a00b7ff14
Update black, and run auto formatting over the codebase (#9381) 4 years ago
Andrew Morgan 594f2853e0
Remove dead handled_events set in invite_join (#9394) 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 dd8da8c5f6
Precompute joined hosts and store in Redis (#9198) 4 years ago
David Teller f14428b25c
Allow spam-checker modules to be provide async methods. (#8890) 4 years ago
Richard van der Hoff 3ce2f303f1 Consistently use room_id from federation request body (#8776) 4 years ago
Patrick Cloke 30fba62108
Apply an IP range blacklist to push and key revocation requests. (#8821) 4 years ago
Richard van der Hoff 950bb0305f
Consistently use room_id from federation request body (#8776) 4 years ago
Andrew Morgan e8d0853739
Generalise _maybe_store_room_on_invite (#8754) 4 years ago
Patrick Cloke 34a5696f93
Fix typos and spelling errors. (#8639) 4 years ago
Richard van der Hoff 123711ed19 Move third_party_rules check to event creation time 4 years ago
Richard van der Hoff d59378d86b Remove redundant calls to third_party_rules in `on_send_{join,leave}` 4 years ago
Erik Johnston b2486f6656
Fix message duplication if something goes wrong after persisting the event (#8476) 4 years ago
Richard van der Hoff f31f8e6319
Remove stream ordering from Metadata dict (#8452) 4 years ago
Richard van der Hoff 937393abd8 Move `resolve_events_with_store` into StateResolutionHandler 4 years ago
Richard van der Hoff 2649d545a5
Mypy fixes for `synapse.handlers.federation` (#8422) 4 years ago
Richard van der Hoff 450ec48445
A pair of tiny cleanups in the federation request code. (#8401) 4 years ago
Erik Johnston ac11fcbbb8
Add EventStreamPosition type (#8388) 4 years ago
Patrick Cloke 8a4a4186de
Simplify super() calls to Python 3 syntax. (#8344) 4 years ago
Erik Johnston 43f2b67e4d
Intelligently select extremities used in backfill. (#8349) 4 years ago
Patrick Cloke aec294ee0d
Use slots in attrs classes where possible (#8296) 4 years ago
Erik Johnston 04cc249b43
Add experimental support for sharding event persister. Again. (#8294) 4 years ago
Erik Johnston 5d3e306d9f
Clean up `Notifier.on_new_room_event` code path (#8288) 4 years ago
Patrick Cloke 2ea1c68249
Remove some unused distributor signals (#8216) 4 years ago
Erik Johnston c9dbee50ae
Fixup pusher pool notifications (#8287) 4 years ago
Erik Johnston dc9dcdbd59 Revert "Fixup pusher pool notifications" 4 years ago
Erik Johnston e7fd336a53 Fixup pusher pool notifications 4 years ago
Brendan Abolivier 9f8abdcc38
Revert "Add experimental support for sharding event persister. (#8170)" (#8242) 4 years ago
Erik Johnston 208e1d3eb3
Fix typing for `@cached` wrapped functions (#8240) 4 years ago
Erik Johnston 82c1ee1c22
Add experimental support for sharding event persister. (#8170) 4 years ago
Patrick Cloke 5c03134d0f
Convert additional database code to async/await. (#8195) 4 years ago
Patrick Cloke d5e73cb6aa
Define StateMap as immutable and add a MutableStateMap type. (#8183) 4 years ago
Patrick Cloke 5758dcf30c
Add type hints for state. (#8140) 4 years ago
Patrick Cloke f40645e60b
Convert events worker database to async/await. (#8071) 4 years ago
Patrick Cloke d4a7829b12
Convert synapse.api to async/await (#8031) 4 years ago
Erik Johnston a7bdf98d01
Rename database classes to make some sense (#8033) 4 years ago
Patrick Cloke 8553f46498
Convert a synapse.events to async/await. (#7949) 4 years ago