Commit Graph

70 Commits (7317b0be82e31d7b41be64e2fea92aad428283d8)

Author SHA1 Message Date
Richard van der Hoff e2e1d90a5e
Faster joins: persist to database (#12012) 3 years ago
Richard van der Hoff e24ff8ebe3
Remove `HomeServer.get_datastore()` (#12031) 3 years ago
Andrew Morgan aa2c027792
Remove unnecessary parentheses around tuples returned from methods (#10889) 3 years ago
Brendan Abolivier 36dc15412d
Add a module type for account validity (#9884) 3 years ago
Jonathan de Jong 93729719b8
Use inline type hints in `tests/` (#10350) 3 years ago
Jonathan de Jong 4b965c862d
Remove redundant "coding: utf-8" lines (#9786) 4 years ago
Dan Callahan 1d5f0e3529
Bump black configuration to target py36 (#9781) 4 years ago
Patrick Cloke 0b3112123d
Use mock from the stdlib. (#9772) 4 years ago
Jonathan de Jong 2ca4e349e9
Bugbear: Add Mutable Parameter fixes (#9682) 4 years ago
Erik Johnston f737368a26
Add admin API for logging in as a user (#8617) 4 years ago
Patrick Cloke 8a4a4186de
Simplify super() calls to Python 3 syntax. (#8344) 4 years ago
Patrick Cloke c619253db8
Stop sub-classing object (#8249) 4 years ago
Patrick Cloke e00816ad98
Do not yield on awaitables in tests. (#8193) 4 years ago
Patrick Cloke 8553f46498
Convert a synapse.events to async/await. (#7949) 4 years ago
Patrick Cloke b975fa2e99
Convert state resolution to async/await (#7942) 4 years ago
Patrick Cloke 509e381afa
Clarify list/set/dict/tuple comprehensions and enforce via flake8 (#6957) 5 years ago
Richard van der Hoff 799001f2c0
Add a `make_event_from_dict` method (#6858) 5 years ago
Richard van der Hoff d7bf793cc1 s/get_room_version/get_room_version_id/ 5 years ago
Erik Johnston fa780e9721
Change EventContext to use the Storage class (#6564) 5 years ago
Richard van der Hoff 807ec3bd99
Fix bug which caused rejected events to be stored with the wrong room state (#6320) 5 years ago
Erik Johnston 69f0054ce6 Port to use state storage 5 years ago
Andrew Morgan 4548d1f87e
Remove unnecessary parentheses around return statements (#5931) 5 years ago
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