summary refs log tree commit diff
path: root/tests/replication (follow)
Commit message (Expand)AuthorAgeFilesLines
* Generalise the `@cancellable` annotation so it can be used on functions other...reivilibre2022-08-311-1/+2
* Reduce the number of tests using TCP replication. (#13543)Patrick Cloke2022-08-193-68/+33
* Remove old empty/redundant slaved stores. (#13349)Nick Mills-Barrett2022-07-212-307/+0
* Speed up `get_unread_event_push_actions_by_room` (#13005)Erik Johnston2022-06-151-6/+17
* Clean up the test code for client disconnections (#12929)Sean Quah2022-06-071-6/+4
* Rename storage classes (#12913)Erik Johnston2022-05-313-7/+17
* Lay some foundation work to allow workers to only subscribe to some kinds of ...reivilibre2022-05-192-12/+115
* Fix room upgrades creating an empty room when auth fails (#12696)Sean Quah2022-05-161-13/+1
* Respect the `@cancellable` flag for `ReplicationEndpoint`s (#12700)Sean Quah2022-05-112-0/+119
* Use `getClientAddress` instead of `getClientIP`. (#12599)Patrick Cloke2022-05-041-8/+12
* Implement changes to MSC2285 (hidden read receipts) (#12168)Å imon Brandner2022-05-041-9/+229
* Use constants for receipt types in tests. (#12582)Å imon Brandner2022-04-281-3/+8
* Remove unused `# type: ignore`s (#12531)David Robertson2022-04-271-4/+4
* Remove redundant `get_success` calls in test code (#12346)Richard van der Hoff2022-04-011-2/+2
* Bump `black` and `click` versions (#12320)David Robertson2022-03-291-1/+1
* Rename get_tcp_replication to get_replication_command_handler. (#12192)Patrick Cloke2022-03-104-5/+5
* Replace assertEquals and friends with non-deprecated versions. (#12092)Patrick Cloke2022-02-281-1/+1
* Remove `HomeServer.get_datastore()` (#12031)Richard van der Hoff2022-02-238-17/+17
* Add missing type hints to synapse.replication. (#11938)Patrick Cloke2022-02-082-3/+7
* Make the `get_global_account_data_by_type_for_user` cache be a tree-cache who...reivilibre2022-01-211-2/+2
* Convert all namedtuples to attrs. (#11665)Patrick Cloke2021-12-301-1/+5
* Add type hints to event_push_actions. (#11594)Patrick Cloke2021-12-211-3/+4
* Add type hints to `synapse/storage/databases/main/events_worker.py` (#11411)Sean Quah2021-11-261-1/+5
* Misc typing fixes for `tests`, part 1 of N (#11323)David Robertson2021-11-121-4/+1
* type-hint `HomeserverTestcase.setup_test_homeserver` (#10961)David Robertson2021-10-011-4/+15
* Pass str to twisted's IReactorTCP (#10895)David Robertson2021-09-301-2/+2
* Add reactor to `SynapseRequest` and fix up types. (#10868)Erik Johnston2021-09-241-1/+1
* Use direct references for configuration variables (part 4). (#10893)Patrick Cloke2021-09-231-1/+1
* Create a constant for a small png image in tests. (#10834)Patrick Cloke2021-09-161-12/+6
* Split `FederationHandler` in half (#10692)Richard van der Hoff2021-08-261-1/+1
* Do not include rooms with an unknown room version in a sync response. (#10644)Patrick Cloke2021-08-191-0/+1
* Convert room member storage tuples to attrs. (#10629)Patrick Cloke2021-08-181-3/+6
* Flatten the synapse.rest.client package (#10600)reivilibre2021-08-177-8/+7
* Use inline type hints in `tests/` (#10350)Jonathan de Jong2021-07-135-18/+18
* [pyupgrade] `tests/` (#10347)Jonathan de Jong2021-07-133-8/+8
* Improve validation for `send_{join,leave,knock}` (#10225)Richard van der Hoff2021-06-241-1/+1
* Add endpoints for backfilling history (MSC2716) (#9247)Eric Eastwood2021-06-221-1/+3
* Use a database table to hold the users that should have full presence sent to...Andrew Morgan2021-05-181-1/+1
* Improved validation for received requests (#9817)Richard van der Hoff2021-04-231-0/+1
* Kill off `_PushHTTPChannel`. (#9878)Richard van der Hoff2021-04-231-115/+19
* pass a reactor into SynapseSite (#9874)Richard van der Hoff2021-04-231-0/+1
* Fix (final) Bugbear violations (#9838)Jonathan de Jong2021-04-201-2/+2
* Move some replication processing out of generic_worker (#9796)Erik Johnston2021-04-141-5/+3
* Remove redundant "coding: utf-8" lines (#9786)Jonathan de Jong2021-04-1420-20/+0
* Bump black configuration to target py36 (#9781)Dan Callahan2021-04-131-1/+1
* Use mock from the stdlib. (#9772)Patrick Cloke2021-04-097-10/+7
* Bugbear: Add Mutable Parameter fixes (#9682)Jonathan de Jong2021-04-082-8/+12
* Fix CI by ignore type for None module import (#9709)Andrew Morgan2021-03-291-1/+1
* Make it possible to use dmypy (#9692)Erik Johnston2021-03-262-2/+3
* Fix remaining mypy issues due to Twisted upgrade. (#9608)Patrick Cloke2021-03-151-28/+16
* Fix additional type hints from Twisted 21.2.0. (#9591)Patrick Cloke2021-03-121-3/+5
* Fix additional type hints. (#9543)Patrick Cloke2021-03-091-10/+17
* Clean up `ShardedWorkerHandlingConfig` (#9466)Erik Johnston2021-02-244-4/+4
* Update black, and run auto formatting over the codebase (#9381)Eric Eastwood2021-02-1610-89/+83
* Precompute joined hosts and store in Redis (#9198)Erik Johnston2021-01-261-16/+25
* lintRichard van der Hoff2020-12-152-4/+1
* Remove spurious "SynapseRequest" result from `make_request"Richard van der Hoff2020-12-154-24/+24
* Replace `request.code` with `channel.code`Richard van der Hoff2020-12-152-9/+9
* Default to blacklisting reserved IP ranges and add a whitelist. (#8870)Patrick Cloke2020-12-091-1/+1
* Add authentication to replication endpoints. (#8853)Patrick Cloke2020-12-042-8/+120
* Add additional validation to pusher URLs. (#8865)Patrick Cloke2020-12-041-4/+4
* Merge pull request #8858 from matrix-org/rav/sso_uiaRichard van der Hoff2020-12-021-6/+8
|\
| * fix up various test casesRichard van der Hoff2020-12-021-6/+8
* | Apply an IP range blacklist to push and key revocation requests. (#8821)Patrick Cloke2020-12-023-10/+10
|/
* Simplify the way the `HomeServer` object caches its internal attributes. (#8...Jonathan de Jong2020-11-301-1/+1
* Remove redundant calls to `render()`Richard van der Hoff2020-11-163-16/+1
* Make `make_request` actually render the requestRichard van der Hoff2020-11-161-2/+2
* Merge branch 'develop' into rav/pass_site_to_make_requestRichard van der Hoff2020-11-161-2/+2
|\
| * Rename `create_test_json_resource` to `create_test_resource` (#8759)Richard van der Hoff2020-11-161-2/+2
* | use global make_request() directly where we have a custom ResourceRichard van der Hoff2020-11-153-21/+60
|/
* Fix race for concurrent downloads of remote media. (#8682)Erik Johnston2020-10-301-0/+277
* Add ability for access tokens to belong to one user but grant access to anoth...Erik Johnston2020-10-291-1/+1
* Don't require hiredis to run unit tests (#8680)Erik Johnston2020-10-291-1/+10
* Tell Black to format code for Python 3.5 (#8664)Dan Callahan2020-10-272-2/+2
* Solidify the HomeServer constructor. (#8515)Jonathan de Jong2020-10-152-3/+3
* Merge pull request #8537 from matrix-org/rav/simplify_locally_reject_inviteRichard van der Hoff2020-10-151-1/+1
|\
| * Simplify `_locally_reject_invite`Richard van der Hoff2020-10-131-1/+1
* | Add basic tests for sync/pagination with vector clock tokens. (#8488)Erik Johnston2020-10-141-0/+217
|/
* Remove the deprecated Handlers object (#8494)Patrick Cloke2020-10-091-1/+1
* Add unit test for event persister sharding (#8433)Erik Johnston2020-10-022-21/+305
* Add EventStreamPosition type (#8388)Erik Johnston2020-09-241-3/+9
* Simplify super() calls to Python 3 syntax. (#8344)Patrick Cloke2020-09-181-1/+1
* Allow for make_awaitable's return value to be re-used. (#8261)Patrick Cloke2020-09-081-5/+5
* Re-implement unread counts (again) (#8059)Brendan Abolivier2020-09-021-4/+6
* Do not propagate typing notifications from shadow-banned users. (#8176)Patrick Cloke2020-08-261-2/+2
* Rename database classes to make some sense (#8033)Erik Johnston2020-08-051-3/+3
* Convert federation client to async/await. (#7975)Patrick Cloke2020-07-301-7/+6
* Convert push to async/await. (#7948)Patrick Cloke2020-07-271-2/+4
* Convert the message handler to async/await. (#7884)Patrick Cloke2020-07-221-32/+44
* Add ability to run multiple pusher instances (#7855)Erik Johnston2020-07-161-0/+193
* Fix client reader sharding tests (#7853)Erik Johnston2020-07-153-172/+246
* Support handling registration requests across multiple client readers. (#7830)Patrick Cloke2020-07-131-0/+133
* Add ability to shard the federation sender (#7798)Erik Johnston2020-07-102-0/+287
* Back out MSC2625 implementation (#7761)Brendan Abolivier2020-07-011-16/+3
* Merge branch 'develop' into babolivier/mark_unreadBrendan Abolivier2020-06-152-21/+141
|\
| * Discard RDATA from already seen positions. (#7648)Patrick Cloke2020-06-152-21/+141
* | LintBrendan Abolivier2020-06-121-3/+1
* | Test that a mark_unread action updates the right counter when using a slave s...Brendan Abolivier2020-06-121-0/+15
* | Fix testsBrendan Abolivier2020-06-101-3/+3
|/
* Performance improvements and refactor of Ratelimiter (#7595)Andrew Morgan2020-06-051-7/+2
* Fix recording of federation stream token (#7564)Richard van der Hoff2020-05-261-0/+71
* fix mypy for tests/replication (#7518)Richard van der Hoff2020-05-182-13/+7
* Fix limit logic for AccountDataStream (#7384)Richard van der Hoff2020-05-151-0/+117
* Clean up replication unit tests. (#7490)Erik Johnston2020-05-137-51/+15
* Fix catchup-on-reconnect for the Federation Stream (#7374)Richard van der Hoff2020-05-053-12/+94
* Thread through instance name to replication client. (#7369)Erik Johnston2020-05-013-6/+6
* Use `stream.current_token()` and remove `stream_positions()` (#7172)Erik Johnston2020-05-014-34/+26
* Add instance name to RDATA/POSITION commands (#7364)Erik Johnston2020-04-292-2/+5
* Don't relay REMOTE_SERVER_UP cmds to same conn. (#7352)Erik Johnston2020-04-291-0/+62
* Fix limit logic for EventsStream (#7358)Richard van der Hoff2020-04-294-21/+458
* Add some replication tests (#7278)Erik Johnston2020-04-282-11/+298
* Another go at fixing one-word commands (#7326)Richard van der Hoff2020-04-221-0/+42
* Add ability to run replication protocol over redis. (#7040)Erik Johnston2020-04-221-2/+2
* Move client command handling out of TCP protocol (#7185)Erik Johnston2020-04-063-29/+25
* Move catchup of replication streams to worker. (#7024)Erik Johnston2020-03-252-23/+84
* Convert `*StreamRow` classes to inner classes (#7116)Richard van der Hoff2020-03-231-2/+2
* Read the room version from database when fetching events (#6874)Richard van der Hoff2020-03-041-0/+10
* Add a `make_event_from_dict` method (#6858)Richard van der Hoff2020-02-071-4/+8
* Port synapse.replication.tcp to async/await (#6666)Erik Johnston2020-01-161-1/+1
* Add `local_current_membership` table (#6655)Erik Johnston2020-01-151-2/+2
* Add database config class (#6513)Erik Johnston2019-12-181-2/+4
* Fixup testsErik Johnston2019-12-061-1/+4
* Implementation of MSC2314 (#6176)Amber Brown2019-11-282-0/+7
* Use new EventPersistenceStoreErik Johnston2019-10-232-3/+8
* Run Black on the tests again (#5170)Amber Brown2019-05-103-26/+14
* Fix sync bug when accepting invites (#4956)Richard van der Hoff2019-04-022-28/+161
* Move replication.tcp.streams into a packageRichard van der Hoff2019-03-271-1/+1
* Fix bug where read-receipts lost their timestamps (#4927)Richard van der Hoff2019-03-254-0/+148
* Add rate-limiting on registration (#4735)Brendan Abolivier2019-03-051-2/+2
* Clean up event accesses and testsErik Johnston2018-11-021-2/+2
* Disable frozen dicts by default (#3987)Amber Brown2018-10-021-1/+5
* Refactor matrixfederationclient to fix logging (#3906)Richard van der Hoff2018-09-181-32/+3
* Fix tests on postgresql (#3740)Amber Brown2018-09-044-124/+116
* Merge branch 'develop' of github.com:matrix-org/synapse into erikj/refactor_s...Erik Johnston2018-08-204-67/+64
|\
| * Run tests under PostgreSQL (#3423)Amber Brown2018-08-131-0/+1
| * Run black.black2018-08-104-67/+63
* | Fix testsErik Johnston2018-08-091-1/+2
|/
* Fix unit testsRichard van der Hoff2018-07-251-7/+30
* Fix unit testsErik Johnston2018-07-231-3/+5
* run isortAmber Brown2018-07-094-13/+15
* remove dead filter_events_for_clientsRichard van der Hoff2018-06-121-8/+0
* s/replication_client/federation_client/Erik Johnston2018-03-131-1/+1
* Fix testsErik Johnston2018-03-131-1/+1
* Fix unit testsErik Johnston2018-02-201-4/+6
* Remove context.push_actionsErik Johnston2018-02-151-1/+4
* Store state groups separately from events (#2784)Erik Johnston2018-02-061-3/+1
* Matthew's fixes to the unit testsRichard van der Hoff2018-01-221-2/+6
* Remove test of replication resourceErik Johnston2017-04-111-204/+0
* Change slave storage to use new replication interfaceErik Johnston2017-04-031-8/+22
* Fix unit testErik Johnston2017-03-201-1/+1
* Remote membership tests for replicationErik Johnston2017-01-311-43/+0
* Insert delta of current_state_events to be more efficientErik Johnston2017-01-201-29/+0
* Derive current_state_events from state groupsErik Johnston2017-01-201-28/+17
* Shuffle receipt handler around so that worker apps don't need to load itErik Johnston2016-11-231-1/+1
* Reduce DB hits for replicationErik Johnston2016-09-232-3/+3
* Correctly handle the difference between prev and current stateErik Johnston2016-08-312-9/+5
* Replace context.current_state with context.current_state_idsErik Johnston2016-08-251-1/+8
* Add `create_requester` functionRichard van der Hoff2016-07-261-9/+11
* Remove room name & alias testDavid Baker2016-06-241-41/+0
* Move typing handler out of the Handlers objectMark Haines2016-05-171-1/+1
* Move the presence handler out of the Handlers objectMark Haines2016-05-161-1/+1
* Add a slaved datastore for account dataMark Haines2016-05-131-0/+56
* Replicate push actionsMark Haines2016-04-211-0/+43
* Merge pull request #738 from matrix-org/markjh/slaved_receiptsMark Haines2016-04-193-3/+43
|\
| * Add a slaved receipts storeMark Haines2016-04-193-3/+43
* | Replicate get_invited_rooms_for_userMark Haines2016-04-191-0/+12
|/
* Add tests for redactionsMark Haines2016-04-072-2/+51
* Add sensible __eq__ operators inside the tests.Mark Haines2016-04-071-1/+28
* Add tests for get_latest_event_ids_in_room and get_current_stateMark Haines2016-04-071-0/+62
* Test that room membership is replicatedMark Haines2016-04-061-8/+63
* Add a slaved events store classMark Haines2016-04-064-0/+199
* Add a replication stream for state groupsMark Haines2016-03-301-3/+27
* Add replication stream for pushersMark Haines2016-03-151-0/+1
* Merge branch 'develop' into markjh/pushrule_streamMark Haines2016-03-041-7/+10
|\
| * Pass whole requester to ratelimitingDaniel Wagner-Hall2016-03-031-7/+10
* | Hook push rules up to the replication APIMark Haines2016-03-021-2/+4
|/
* Add a /replication API for extracting the updates that happened onMark Haines2016-03-012-0/+193