Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Clarify list/set/dict/tuple comprehensions and enforce via flake8 (#6957) | Patrick Cloke | 2020-02-21 | 1 | -4/+4 |
| | | | | Ensure good comprehension hygiene using flake8-comprehensions. | ||||
* | Reduce auth chains fetched during v2 state res. (#6952) | Erik Johnston | 2020-02-19 | 1 | -1/+1 |
| | | | | | | The state res v2 algorithm only cares about the difference between auth chains, so we can pass in the known common state to the `get_auth_chain` storage function so that it can ignore those events. | ||||
* | Pass room version object into event_auth.check and check_redaction (#6788) | Richard van der Hoff | 2020-01-28 | 1 | -1/+3 |
| | | | | | | | 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 | -4/+5 |
| | |||||
* | Hacks to work around #6605 (#6608) | Richard van der Hoff | 2019-12-31 | 1 | -15/+37 |
| | | | | | When we have an event which refers to non-existent auth_events, ignore said events rather than exploding in a ball of fire. Fixes #6605. | ||||
* | sanity-checking for events used in state res (#6531) | Richard van der Hoff | 2019-12-16 | 1 | -27/+73 |
| | | | | | 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 | -13/+13 |
| | |||||
* | Run Black. (#5482) | Amber Brown | 2019-06-20 | 1 | -48/+44 |
| | |||||
* | Pass through room version to event auth | Erik Johnston | 2019-01-25 | 1 | -5/+9 |
| | |||||
* | Add helpers for getting prev and auth events (#4139) | Erik Johnston | 2018-11-06 | 1 | -8/+8 |
| | | | | | | | * Add helpers for getting prev and auth events This is in preparation for allowing the event format to change between room versions. | ||||
* | Fix None exception in state res v2 | Erik Johnston | 2018-11-02 | 1 | -0/+4 |
| | |||||
* | Rename resolve_events_with_factory | Erik Johnston | 2018-10-24 | 1 | -1/+1 |
| | |||||
* | Add v2 state res algorithm. | Erik Johnston | 2018-10-16 | 1 | -0/+544 |
We hook this up to the vdh test room version. |