Commit Graph

37 Commits (04d7f56f53d7d5530ce7470bc51fcf0b43facf85)

Author SHA1 Message Date
Patrick Cloke f3fba4914d
Reduce the number of tests using TCP replication. (#13543) 3 years ago
reivilibre 177b884ad7
Lay some foundation work to allow workers to only subscribe to some kinds of messages, reducing replication traffic. (#12672) 3 years ago
Patrick Cloke 7fbf42499d
Use `getClientAddress` instead of `getClientIP`. (#12599) 3 years ago
David Robertson a7293ef16f Bump `black` and `click` versions (#12320) 3 years ago
David Robertson a2b00a4486
Bump `black` and `click` versions (#12320) 3 years ago
Patrick Cloke 3e4af36bc8
Rename get_tcp_replication to get_replication_command_handler. (#12192) 3 years ago
Richard van der Hoff e24ff8ebe3
Remove `HomeServer.get_datastore()` (#12031) 3 years ago
Patrick Cloke d0e78af35e
Add missing type hints to synapse.replication. (#11938) 3 years ago
David Robertson 4c96ce396e
Misc typing fixes for `tests`, part 1 of N (#11323) 3 years ago
David Robertson e46ac85d67
type-hint `HomeserverTestcase.setup_test_homeserver` (#10961) 3 years ago
David Robertson 29364145b2
Pass str to twisted's IReactorTCP (#10895) 3 years ago
Patrick Cloke 47854c71e9
Use direct references for configuration variables (part 4). (#10893) 3 years ago
Jonathan de Jong 93729719b8
Use inline type hints in `tests/` (#10350) 4 years ago
Jonathan de Jong 89cfc3dd98
[pyupgrade] `tests/` (#10347) 4 years ago
Richard van der Hoff 3ff2251754
Improved validation for received requests (#9817) 4 years ago
Richard van der Hoff 84936e2264
Kill off `_PushHTTPChannel`. (#9878) 4 years ago
Richard van der Hoff 59d24c5bef
pass a reactor into SynapseSite (#9874) 4 years ago
Erik Johnston 00a6db9676
Move some replication processing out of generic_worker (#9796) 4 years ago
Jonathan de Jong 4b965c862d
Remove redundant "coding: utf-8" lines (#9786) 4 years ago
Jonathan de Jong 2ca4e349e9
Bugbear: Add Mutable Parameter fixes (#9682) 4 years ago
Andrew Morgan 5fdff97719
Fix CI by ignore type for None module import (#9709) 4 years ago
Patrick Cloke d29b71aa50
Fix remaining mypy issues due to Twisted upgrade. (#9608) 4 years ago
Patrick Cloke 7fdc6cefb3
Fix additional type hints. (#9543) 4 years ago
Eric Eastwood 0a00b7ff14
Update black, and run auto formatting over the codebase (#9381) 4 years ago
Erik Johnston dd8da8c5f6
Precompute joined hosts and store in Redis (#9198) 4 years ago
Richard van der Hoff 7ea85302f3 fix up various test cases 4 years ago
Patrick Cloke 30fba62108
Apply an IP range blacklist to push and key revocation requests. (#8821) 4 years ago
Jonathan de Jong ca60822b34
Simplify the way the `HomeServer` object caches its internal attributes. (#8565) 4 years ago
Richard van der Hoff be8fa65d0b Remove redundant calls to `render()` 4 years ago
Richard van der Hoff 791d7cd6f0
Rename `create_test_json_resource` to `create_test_resource` (#8759) 4 years ago
Erik Johnston 9a7e0d2ea6
Don't require hiredis to run unit tests (#8680) 4 years ago
Dan Callahan aff1eb7c67
Tell Black to format code for Python 3.5 (#8664) 4 years ago
Jonathan de Jong 6b5a115c0a
Solidify the HomeServer constructor. (#8515) 4 years ago
Erik Johnston 6c5d5e507e
Add unit test for event persister sharding (#8433) 4 years ago
Erik Johnston a7bdf98d01
Rename database classes to make some sense (#8033) 5 years ago
Erik Johnston f13061d515
Fix client reader sharding tests (#7853) 5 years ago
Erik Johnston 18c1e52d82
Clean up replication unit tests. (#7490) 5 years ago
Richard van der Hoff d5aa7d93ed
Fix catchup-on-reconnect for the Federation Stream (#7374) 5 years ago
Erik Johnston 0e719f2398
Thread through instance name to replication client. (#7369) 5 years ago
Erik Johnston 3085cde577
Use `stream.current_token()` and remove `stream_positions()` (#7172) 5 years ago
Richard van der Hoff c2e1a2110f
Fix limit logic for EventsStream (#7358) 5 years ago
Erik Johnston fce663889b
Add some replication tests (#7278) 5 years ago
Erik Johnston 5016b162fc
Move client command handling out of TCP protocol (#7185) 5 years ago
Erik Johnston 4cff617df1
Move catchup of replication streams to worker. (#7024) 5 years ago
Erik Johnston 48c3a96886
Port synapse.replication.tcp to async/await (#6666) 5 years ago
Amber Brown 0f87b912ab
Implementation of MSC2314 (#6176) 5 years ago
Amber Brown b36c82576e
Run Black on the tests again (#5170) 6 years ago
Richard van der Hoff 9bde730ef8
Fix bug where read-receipts lost their timestamps (#4927) 6 years ago