summary refs log tree commit diff
path: root/synapse/state/v1.py (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Define StateMap as immutable and add a MutableStateMap type. (#8183)Patrick Cloke2020-08-281-5/+5
|
* Add type hints for state. (#8140)Patrick Cloke2020-08-241-28/+59
|
* Convert state resolution to async/await (#7942)Patrick Cloke2020-07-241-9/+6
|
* Replace iteritems/itervalues/iterkeys with native versions. (#7692)Patrick Cloke2020-06-151-14/+12
|
* Clarify list/set/dict/tuple comprehensions and enforce via flake8 (#6957)Patrick Cloke2020-02-211-5/+5
| | | | Ensure good comprehension hygiene using flake8-comprehensions.
* Pass room version object into event_auth.check and check_redaction (#6788)Richard van der Hoff2020-01-281-2/+2
| | | | | | | These are easier to work with than the strings and we normally have one around. This fixes `FederationHander._persist_auth_tree` which was passing a RoomVersion object into event_auth.check instead of a string.
* Add StateMap type alias (#6715)Erik Johnston2020-01-161-2/+3
|
* sanity-checking for events used in state res (#6531)Richard van der Hoff2019-12-131-5/+29
| | | | | | | When we perform state resolution, check that all of the events involved are in the right room.
* Replace returnValue with return (#5736)Amber Brown2019-07-231-5/+3
|
* Run Black. (#5482)Amber Brown2019-06-201-37/+19
|
* Collect room-version variations into one place (#4969)Richard van der Hoff2019-04-011-3/+8
| | | | Collect all the things that make room-versions different to one another into one place, so that it's easier to define new room versions.
* Pass through room version to event authErik Johnston2019-01-251-3/+11
|
* Workaround for non-ascii event ids (#4241)Richard van der Hoff2018-12-031-1/+3
| | | | | | It turns out that we accept events with non-ascii IDs, which would later cause an explosion during state res. Fixes #4226
* Rename resolve_events_with_factoryErik Johnston2018-10-241-1/+1
|
* Logging improvementsRichard van der Hoff2018-09-261-2/+12
| | | | Some logging tweaks to help with debugging incoming federation transactions
* Remove unnecessary resolve_events_with_state_mapErik Johnston2018-08-221-28/+0
| | | | | We only ever used the synchronous resolve_events_with_state_map in one place, which is trivial to replace with the async version.
* Refactor state moduleErik Johnston2018-08-091-0/+321
We split out the actual state resolution algorithm to prepare for having multiple versions.