Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Update black, and run auto formatting over the codebase (#9381) | Eric Eastwood | 2021-02-16 | 1 | -3/+11 |
| | | | | | | | - Update black version to the latest - Run black auto formatting over the codebase - Run autoformatting according to [`docs/code_style.md `](https://github.com/matrix-org/synapse/blob/80d6dc9783aa80886a133756028984dbf8920168/docs/code_style.md) - Update `code_style.md` docs around installing black to use the correct version | ||||
* | Fix typos and spelling errors. (#8639) | Patrick Cloke | 2020-10-23 | 1 | -1/+1 |
| | |||||
* | Define StateMap as immutable and add a MutableStateMap type. (#8183) | Patrick Cloke | 2020-08-28 | 1 | -5/+5 |
| | |||||
* | Add type hints for state. (#8140) | Patrick Cloke | 2020-08-24 | 1 | -28/+59 |
| | |||||
* | Convert state resolution to async/await (#7942) | Patrick Cloke | 2020-07-24 | 1 | -9/+6 |
| | |||||
* | Replace iteritems/itervalues/iterkeys with native versions. (#7692) | Patrick Cloke | 2020-06-15 | 1 | -14/+12 |
| | |||||
* | Clarify list/set/dict/tuple comprehensions and enforce via flake8 (#6957) | Patrick Cloke | 2020-02-21 | 1 | -5/+5 |
| | | | | Ensure good comprehension hygiene using flake8-comprehensions. | ||||
* | Pass room version object into event_auth.check and check_redaction (#6788) | Richard van der Hoff | 2020-01-28 | 1 | -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 Johnston | 2020-01-16 | 1 | -2/+3 |
| | |||||
* | sanity-checking for events used in state res (#6531) | Richard van der Hoff | 2019-12-13 | 1 | -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 Brown | 2019-07-23 | 1 | -5/+3 |
| | |||||
* | Run Black. (#5482) | Amber Brown | 2019-06-20 | 1 | -37/+19 |
| | |||||
* | Collect room-version variations into one place (#4969) | Richard van der Hoff | 2019-04-01 | 1 | -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 auth | Erik Johnston | 2019-01-25 | 1 | -3/+11 |
| | |||||
* | Workaround for non-ascii event ids (#4241) | Richard van der Hoff | 2018-12-03 | 1 | -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_factory | Erik Johnston | 2018-10-24 | 1 | -1/+1 |
| | |||||
* | Logging improvements | Richard van der Hoff | 2018-09-26 | 1 | -2/+12 |
| | | | | Some logging tweaks to help with debugging incoming federation transactions | ||||
* | Remove unnecessary resolve_events_with_state_map | Erik Johnston | 2018-08-22 | 1 | -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 module | Erik Johnston | 2018-08-09 | 1 | -0/+321 |
We split out the actual state resolution algorithm to prepare for having multiple versions. |