summary refs log tree commit diff
path: root/tests/test_state.py (follow)
Commit message (Expand)AuthorAgeFilesLines
* Make the api.auth.Auth a ProtocolQuentin Gliech2023-05-301-2/+2
* Fix subscriptable type usage in Python <3.9 (#15604)Eric Eastwood2023-05-161-1/+1
* Revert "Fix subscriptable dict type"Eric Eastwood2023-05-151-1/+1
* Fix subscriptable dict typeEric Eastwood2023-05-151-1/+1
* HTTP Replication Client (#15470)Jason Little2023-05-091-0/+1
* Add missing types to test_state. (#14985)Patrick Cloke2023-02-061-61/+137
* Faster room joins: avoid blocking when pulling events with missing prevs (#13...Sean Quah2022-07-261-0/+2
* Don't pull out the full state when storing state (#13274)Erik Johnston2022-07-151-0/+4
* Fix a bug which could lead to incorrect state (#13278)Erik Johnston2022-07-151-1/+41
* Faster room joins: fix race in recalculation of current room state (#13151)Sean Quah2022-07-071-0/+2
* Skip waiting for full state for incoming events (#13144)Richard van der Hoff2022-07-011-1/+3
* Move the "email unsubscribe" resource, refactor the macaroon generator & simp...Quentin Gliech2022-06-141-2/+9
* Rename storage classes (#12913)Erik Johnston2022-05-311-3/+3
* Pull out less state when handling gaps mk2 (#12852)Erik Johnston2022-05-261-2/+12
* Update EventContext `get_current_event_ids` and `get_prev_event_ids` to accep...Shay2022-05-201-1/+1
* Refactor `resolve_state_groups_for_events` to not pull out full state when no...Shay2022-05-181-0/+13
* Refactor `EventContext` (#12689)Erik Johnston2022-05-101-0/+3
* Faster joins: persist to database (#12012)Richard van der Hoff2022-03-011-27/+32
* Remove `HomeServer.get_datastore()` (#12031)Richard van der Hoff2022-02-231-2/+2
* Remove unnecessary parentheses around tuples returned from methods (#10889)Andrew Morgan2021-09-231-1/+1
* Add a module type for account validity (#9884)Brendan Abolivier2021-07-161-0/+1
* Use inline type hints in `tests/` (#10350)Jonathan de Jong2021-07-131-1/+1
* Remove redundant "coding: utf-8" lines (#9786)Jonathan de Jong2021-04-141-1/+0
* Bump black configuration to target py36 (#9781)Dan Callahan2021-04-131-1/+1
* Use mock from the stdlib. (#9772)Patrick Cloke2021-04-091-2/+1
* Bugbear: Add Mutable Parameter fixes (#9682)Jonathan de Jong2021-04-081-2/+3
* Add admin API for logging in as a user (#8617)Erik Johnston2020-11-171-0/+1
* Simplify super() calls to Python 3 syntax. (#8344)Patrick Cloke2020-09-181-1/+1
* Stop sub-classing object (#8249)Patrick Cloke2020-09-041-2/+2
* Do not yield on awaitables in tests. (#8193)Patrick Cloke2020-08-271-40/+46
* Convert a synapse.events to async/await. (#7949)Patrick Cloke2020-07-271-7/+7
* Convert state resolution to async/await (#7942)Patrick Cloke2020-07-241-28/+44
* Clarify list/set/dict/tuple comprehensions and enforce via flake8 (#6957)Patrick Cloke2020-02-211-13/+5
* Add a `make_event_from_dict` method (#6858)Richard van der Hoff2020-02-071-2/+2
* s/get_room_version/get_room_version_id/Richard van der Hoff2020-01-311-1/+1
* Change EventContext to use the Storage class (#6564)Erik Johnston2019-12-201-14/+14
* Fix bug which caused rejected events to be stored with the wrong room state ...Richard van der Hoff2019-11-061-11/+50
* Port to use state storageErik Johnston2019-10-301-0/+3
* Remove unnecessary parentheses around return statements (#5931)Andrew Morgan2019-08-301-1/+1
* Run Black. (#5482)Amber Brown2019-06-201-3/+3
* Migrate all tests to use the dict-based config format instead of hanging item...Amber Brown2019-05-131-1/+1
* Merge pull request #5027 from matrix-org/babolivier/account_expirationBrendan Abolivier2019-04-091-1/+3
|\
| * Add account expiration featureBrendan Abolivier2019-04-091-1/+3
* | Collect room-version variations into one place (#4969)Richard van der Hoff2019-04-011-2/+3
|/
* Port tests/ to Python 3 (#3808)Amber Brown2018-09-071-1/+1
* Merge branch 'develop' of github.com:matrix-org/synapse into erikj/refactor_s...Erik Johnston2018-08-201-151/+93
|\
| * Run black.black2018-08-101-152/+93
* | Fix testsErik Johnston2018-08-091-1/+5
|/
* Fix unit testsErik Johnston2018-07-231-12/+35
* run isortAmber Brown2018-07-091-5/+5
* Fix broken unit testRichard van der Hoff2018-06-141-2/+14
* Store state groups separately from events (#2784)Erik Johnston2018-02-061-66/+88
* Factor out resolve_state_groups to a separate handlerRichard van der Hoff2018-02-011-1/+3
* Fix typing testsErik Johnston2017-05-261-0/+2
* Correctly handle the difference between prev and current stateErik Johnston2016-08-311-23/+15
* Fix testsErik Johnston2016-08-261-5/+46
* Replace context.current_state with context.current_state_idsErik Johnston2016-08-251-47/+26
* Create log context in Measure if one doesn't existErik Johnston2016-04-181-2/+2
* copyrightsMatthew Hodgson2016-01-071-1/+1
* Fix an issue with ignoring power_level changes on divergent graphsRichard van der Hoff2015-11-121-0/+93
* Merge branch 'erikj/check_room_exists' into erikj/unfederatableErik Johnston2015-09-011-8/+29
|\
| * Fix testsErik Johnston2015-09-011-8/+29
* | Check against sender rather than event_idErik Johnston2015-09-011-1/+1
|/
* Use dictionary cache to do group -> state fetchingErik Johnston2015-08-051-1/+1
* Fix testsErik Johnston2015-02-091-1/+6
* Implement new state resolution algorithmErik Johnston2015-01-211-71/+357
* Construct the EventContext in the state handler rather than constructing one ...Mark Haines2014-12-161-14/+8
* Remove annotate_event_with_state as nothing was using it. Update state tests ...Mark Haines2014-12-161-69/+39
* Rename annotate_state_groups to annotate_event_with_stateErik Johnston2014-11-111-6/+6
* Fix state testsErik Johnston2014-11-111-517/+176
* SPEC-7: Rename 'ts' to 'origin_server_ts'Mark Haines2014-10-171-1/+1
* Fixed test.Kegan Dougal2014-10-091-1/+0
* Still broken.Kegan Dougal2014-10-091-1/+2
* Break a test.Kegan Dougal2014-10-091-1/+1
* Fix unit test.Kegan Dougal2014-10-081-1/+1
* Break unit test.Kegan Dougal2014-10-081-1/+1
* Have all unit tests import from our own subclass of trial's unittest TestCase...Paul "LeoNerd" Evans2014-09-121-2/+1
* Make the state resolution use actual power levels rather than taking them fro...Erik Johnston2014-09-121-45/+140
* Handle the case where we don't have a common ancestorErik Johnston2014-09-081-0/+24
* Fix bug in state handling where we incorrectly identified a missing pdu. Upda...Erik Johnston2014-09-081-15/+218
* Fix state unit testErik Johnston2014-09-061-0/+1
* fix the copyright holder from matrix.org to OpenMarket Ltd, as matrix.org has...Matthew Hodgson2014-09-031-1/+1
* Start updating state handling to use snapshotsMark Haines2014-08-271-7/+10
* Fix some of the tests to reflect changes in the storage layer.Erik Johnston2014-08-151-2/+2
* Add a check to make sure that during state conflict res we only request a PDU...Erik Johnston2014-08-151-0/+3
* add in copyrights to everything, not just the synapse subdir, and add a copyr...Matthew Hodgson2014-08-131-0/+14
* Reference Matrix Home Servermatrix.org2014-08-121-0/+271