Erik Johnston
|
3d33eef6fc
Store state groups separately from events (#2784)
|
há 6 anos atrás |
Richard van der Hoff
|
6da4c4d3bd
Factor out resolve_state_groups to a separate handler
|
há 6 anos atrás |
Erik Johnston
|
23da638360
Fix typing tests
|
há 7 anos atrás |
Erik Johnston
|
c10cb581c6
Correctly handle the difference between prev and current state
|
há 8 anos atrás |
Erik Johnston
|
3f11953fcb
Fix tests
|
há 8 anos atrás |
Erik Johnston
|
a3dc1e9cbe
Replace context.current_state with context.current_state_ids
|
há 8 anos atrás |
Erik Johnston
|
eb8619e256
Create log context in Measure if one doesn't exist
|
há 8 anos atrás |
Matthew Hodgson
|
6c28ac260c
copyrights
|
há 8 anos atrás |
Richard van der Hoff
|
78f6010207
Fix an issue with ignoring power_level changes on divergent graphs
|
há 9 anos atrás |
Erik Johnston
|
187320b019
Merge branch 'erikj/check_room_exists' into erikj/unfederatable
|
há 9 anos atrás |
Erik Johnston
|
b345853918
Check against sender rather than event_id
|
há 9 anos atrás |
Erik Johnston
|
00149c063b
Fix tests
|
há 9 anos atrás |
Erik Johnston
|
07507643cb
Use dictionary cache to do group -> state fetching
|
há 9 anos atrás |
Erik Johnston
|
164f6b9256
Fix tests
|
há 9 anos atrás |
Erik Johnston
|
6dcade97be
Implement new state resolution algorithm
|
há 9 anos atrás |
Mark Haines
|
c3eae8a88c
Construct the EventContext in the state handler rather than constructing one and then immediately calling state_handler.annotate_context_with_state
|
há 10 anos atrás |
Mark Haines
|
8b8beba194
Remove annotate_event_with_state as nothing was using it. Update state tests to call annotate_context_with_state
|
há 10 anos atrás |
Erik Johnston
|
3db2c0d43e
Rename annotate_state_groups to annotate_event_with_state
|
há 10 anos atrás |
Erik Johnston
|
02ebb9f0c3
Fix state tests
|
há 10 anos atrás |
Mark Haines
|
f5cf7ac25b
SPEC-7: Rename 'ts' to 'origin_server_ts'
|
há 10 anos atrás |
Kegan Dougal
|
868eb478d8
Fixed test.
|
há 10 anos atrás |
Kegan Dougal
|
3db09c4d15
Still broken.
|
há 10 anos atrás |
Kegan Dougal
|
83c53113af
Break a test.
|
há 10 anos atrás |
Kegan Dougal
|
72aef114ab
Fix unit test.
|
há 10 anos atrás |
Kegan Dougal
|
6045bd89fb
Break unit test.
|
há 10 anos atrás |
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
|
há 10 anos atrás |
Erik Johnston
|
39e3fc69e5
Make the state resolution use actual power levels rather than taking them from a Pdu key.
|
há 10 anos atrás |
Erik Johnston
|
942d8412c4
Handle the case where we don't have a common ancestor
|
há 10 anos atrás |
Erik Johnston
|
83ce57302d
Fix bug in state handling where we incorrectly identified a missing pdu. Update tests to catch this case.
|
há 10 anos atrás |
Erik Johnston
|
ea5b5b1f64
Fix state unit test
|
há 10 anos atrás |