Commit Graph

48 Commits (6fa36c22fa1f61b9b2e3c0ad82f448713859fe88)

Author SHA1 Message Date
Amber Brown 32e7c9e7f2
Run Black. (#5482) 6 years ago
Amber Brown df2ebd75d3
Migrate all tests to use the dict-based config format instead of hanging items off HomeserverConfig (#5171) 6 years ago
Brendan Abolivier 747aa9f8ca Add account expiration feature 6 years ago
Richard van der Hoff 54a87a7b08
Collect room-version variations into one place (#4969) 6 years ago
Amber Brown 52ec6e9dfa
Port tests/ to Python 3 (#3808) 6 years ago
black 8b3d9b6b19 Run black. 6 years ago
Erik Johnston 3e19beb941 Fix tests 6 years ago
Erik Johnston 8fbe418777 Fix unit tests 6 years ago
Amber Brown 49af402019 run isort 6 years ago
Richard van der Hoff 1e77ac66e3 Fix broken unit test 7 years ago
Erik Johnston 3d33eef6fc
Store state groups separately from events (#2784) 7 years ago
Richard van der Hoff 6da4c4d3bd Factor out resolve_state_groups to a separate handler 7 years ago
Erik Johnston 23da638360 Fix typing tests 8 years ago
Erik Johnston c10cb581c6 Correctly handle the difference between prev and current state 8 years ago
Erik Johnston 3f11953fcb Fix tests 8 years ago
Erik Johnston a3dc1e9cbe Replace context.current_state with context.current_state_ids 8 years ago
Erik Johnston eb8619e256 Create log context in Measure if one doesn't exist 9 years ago
Matthew Hodgson 6c28ac260c copyrights 9 years ago
Richard van der Hoff 78f6010207 Fix an issue with ignoring power_level changes on divergent graphs 9 years ago
Erik Johnston b345853918 Check against sender rather than event_id 9 years ago
Erik Johnston 00149c063b Fix tests 9 years ago
Erik Johnston 07507643cb Use dictionary cache to do group -> state fetching 9 years ago
Erik Johnston 164f6b9256 Fix tests 10 years ago
Erik Johnston 6dcade97be Implement new state resolution algorithm 10 years ago
Mark Haines c3eae8a88c Construct the EventContext in the state handler rather than constructing one and then immediately calling state_handler.annotate_context_with_state 10 years ago
Mark Haines 8b8beba194 Remove annotate_event_with_state as nothing was using it. Update state tests to call annotate_context_with_state 10 years ago
Erik Johnston 3db2c0d43e Rename annotate_state_groups to annotate_event_with_state 10 years ago
Erik Johnston 02ebb9f0c3 Fix state tests 10 years ago
Mark Haines f5cf7ac25b SPEC-7: Rename 'ts' to 'origin_server_ts' 10 years ago
Kegan Dougal 868eb478d8 Fixed test. 10 years ago
Kegan Dougal 3db09c4d15 Still broken. 10 years ago
Kegan Dougal 83c53113af Break a test. 10 years ago
Kegan Dougal 72aef114ab Fix unit test. 10 years ago
Kegan Dougal 6045bd89fb Break unit test. 10 years ago
Paul "LeoNerd" Evans cd62ee3f29 Have all unit tests import from our own subclass of trial's unittest TestCase; set up logging in ONE PLACE ONLY 10 years ago
Erik Johnston 39e3fc69e5 Make the state resolution use actual power levels rather than taking them from a Pdu key. 10 years ago
Erik Johnston 942d8412c4 Handle the case where we don't have a common ancestor 10 years ago
Erik Johnston 83ce57302d Fix bug in state handling where we incorrectly identified a missing pdu. Update tests to catch this case. 10 years ago
Erik Johnston ea5b5b1f64 Fix state unit test 10 years ago
Matthew Hodgson 8a7c1d6a00 fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org hasn't been incorporated in time for launch. 10 years ago
Mark Haines a0d1f5a014 Start updating state handling to use snapshots 10 years ago
Erik Johnston f5fca6f787 Fix some of the tests to reflect changes in the storage layer. 10 years ago
Erik Johnston c5f2da5875 Add a check to make sure that during state conflict res we only request a PDU we don't have. 10 years ago
Matthew Hodgson 3e35a9f96e add in copyrights to everything, not just the synapse subdir, and add a copyrighter.pl whilst we're at it 10 years ago
matrix.org 4f475c7697 Reference Matrix Home Server 10 years ago