Commit Graph

28 Commits (d935b806a52c967543f59def690aec0fa873d13c)

Author SHA1 Message Date
Richard van der Hoff 8ecf6be1e1
Move some event auth checks out to a different method (#13065) 2 years ago
Richard van der Hoff 0d9d36b15c Remove `room_version` param from `check_auth_rules_for_event` 2 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
Sean Quah ffd858aa68
Add type hints to `synapse/storage/databases/main/events_worker.py` (#11411) 3 years ago
Richard van der Hoff a5d2ea3d08
Check *all* auth events for room id and rejection (#11009) 3 years ago
David Robertson f563676c09
`disallow-untyped-defs` for `synapse.state` (#11004) 3 years ago
Richard van der Hoff 428174f902
Split `event_auth.check` into two parts (#10940) 3 years ago
Patrick Cloke 228decfce1
Update the MSC3083 support to verify if joins are from an authorized server. (#10254) 3 years ago
Jonathan de Jong bf72d10dbf
Use inline type hints in various other places (in `synapse/`) (#10380) 3 years ago
Jonathan de Jong 4b965c862d
Remove redundant "coding: utf-8" lines (#9786) 4 years ago
Eric Eastwood 0a00b7ff14
Update black, and run auto formatting over the codebase (#9381) 4 years ago
Patrick Cloke 34a5696f93
Fix typos and spelling errors. (#8639) 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 b975fa2e99
Convert state resolution to async/await (#7942) 4 years ago
Patrick Cloke bd6dc17221
Replace iteritems/itervalues/iterkeys with native versions. (#7692) 5 years ago
Patrick Cloke 509e381afa
Clarify list/set/dict/tuple comprehensions and enforce via flake8 (#6957) 5 years ago
Richard van der Hoff a8ce7aeb43
Pass room version object into event_auth.check and check_redaction (#6788) 5 years ago
Erik Johnston d386f2f339
Add StateMap type alias (#6715) 5 years ago
Richard van der Hoff 83895316d4 sanity-checking for events used in state res (#6531) 5 years ago
Richard van der Hoff 1da15f05f5
sanity-checking for events used in state res (#6531) 5 years ago
Amber Brown 4806651744
Replace returnValue with return (#5736) 5 years ago
Amber Brown 32e7c9e7f2
Run Black. (#5482) 6 years ago
Richard van der Hoff 54a87a7b08
Collect room-version variations into one place (#4969) 6 years ago
Erik Johnston ae2a957dba Pass through room version to event auth 6 years ago
Richard van der Hoff c03324294d Workaround for non-ascii event ids (#4241) 6 years ago
Erik Johnston 810715f79a Rename resolve_events_with_factory 6 years ago
Richard van der Hoff e70b4ce069 Logging improvements 6 years ago
Erik Johnston 5c261107c9 Remove unnecessary resolve_events_with_state_map 6 years ago
Erik Johnston 119451dcd1 Refactor state module 6 years ago