synapse/tests
Jason Little e4f545c452
Remove worker_replication_* settings (#15491)
* Add master to the instance_map as part of Complement, have ReplicationEndpoint look at instance_map for master.

* Fix typo in drive by.

* Remove unnecessary worker_replication_* bits from unit tests and add master to instance_map(hopefully in the right place)

* Several updates:

1. Switch from master to main for naming the main process in the instance_map. Add useful constants for easier adjustment of names in the future.
2. Add backwards compatibility for worker_replication_* to allow time to transition to new style. Make sure to prioritize declaring main directly on the instance_map.
3. Clean up old comments/commented out code.
4. Adjust unit tests to match with new code.
5. Adjust Complement setup infrastructure to only add main to the instance_map if workers are used and remove now unused options from the worker.yaml template.

* Initial Docs upload

* Changelog

* Missed some commented out code that can go now

* Remove TODO comment that no longer holds true.

* Fix links in docs

* More docs

* Remove debug logging

* Apply suggestions from code review

Co-authored-by: reivilibre <olivier@librepush.net>

* Apply suggestions from code review

Co-authored-by: reivilibre <olivier@librepush.net>

* Update version to latest, include completeish before/after examples in upgrade notes.

* Fix up and docs too

---------

Co-authored-by: reivilibre <olivier@librepush.net>
2023-05-11 11:30:56 +01:00
..
api Add column full_user_id to tables profiles and user_filters. (#15458) 2023-04-26 16:03:26 -07:00
app Add final type hint to tests.unittest. (#15072) 2023-02-14 14:03:35 -05:00
appservice Add support for claiming multiple OTKs at once. (#15468) 2023-04-27 12:57:46 -04:00
config Throw if the appservice config list is the wrong type (#15425) 2023-04-12 11:28:46 +00:00
crypto Modify StoreKeyFetcher to read from server_keys_json. (#15417) 2023-04-20 12:30:32 -04:00
events Implement MSC2174: move redacts to a content property. (#15395) 2023-04-13 13:47:07 +00:00
federation Finish type hints for federation client HTTP code. (#15465) 2023-04-24 13:12:06 -04:00
handlers Check appservices for devices during a /user/devices query. (#15539) 2023-05-05 15:18:47 -04:00
http Finish type hints for federation client HTTP code. (#15465) 2023-04-24 13:12:06 -04:00
logging Use mypy 1.0 (#15052) 2023-02-16 16:09:11 +00:00
media Move Spam Checker callbacks to a dedicated file (#15453) 2023-04-18 00:57:40 +00:00
metrics Add missing type hints to tests. (#14687) 2022-12-28 08:29:35 -05:00
module_api Remove worker_replication_* settings (#15491) 2023-05-11 11:30:56 +01:00
push Merge branch 'release-v1.83' into develop 2023-05-03 15:23:16 +01:00
replication Remove worker_replication_* settings (#15491) 2023-05-11 11:30:56 +01:00
rest Add config option to prevent media downloads from listed domains. (#15197) 2023-05-09 14:08:51 -04:00
scripts Add more missing type hints to tests. (#15028) 2023-02-08 16:29:49 -05:00
server_notices Bump black from 22.12.0 to 23.1.0 (#15103) 2023-02-22 15:29:09 -05:00
state Fix typechecks against twisted trunk (#13061) 2022-06-15 11:49:58 +01:00
storage Add column full_user_id to tables profiles and user_filters. (#15458) 2023-04-26 16:03:26 -07:00
test_utils Ensure fed-sender catchup does not block for full state (#15248) 2023-03-13 12:31:19 +00:00
types Use immutabledict instead of frozendict (#15113) 2023-03-22 17:15:34 +00:00
util Add final type hint to tests.unittest. (#15072) 2023-02-14 14:03:35 -05:00
__init__.py Remove redundant "coding: utf-8" lines (#9786) 2021-04-14 15:34:27 +01:00
server.py Move ThirdPartyEventRules into module_api/callbacks (#15535) 2023-05-04 14:18:22 +00:00
test_distributor.py Add missing type hints to tests. (#15027) 2023-02-08 19:52:37 +00:00
test_event_auth.py Add missing type hints to tests. (#15027) 2023-02-08 19:52:37 +00:00
test_federation.py Remove legacy code of single user device resync api (#15418) 2023-04-21 12:06:39 +01:00
test_mau.py Bump black from 22.12.0 to 23.1.0 (#15103) 2023-02-22 15:29:09 -05:00
test_phone_home.py Add final type hint to tests.unittest. (#15072) 2023-02-14 14:03:35 -05:00
test_rust.py Add missing type hints to tests. (#15027) 2023-02-08 19:52:37 +00:00
test_server.py Add Synapse-Trace-Id to access-control-expose-headers header (#14974) 2023-03-20 11:14:05 -07:00
test_state.py HTTP Replication Client (#15470) 2023-05-09 14:25:20 -04:00
test_terms_auth.py Proper types for tests.test_terms_auth (#15007) 2023-02-07 12:03:39 +00:00
test_test_utils.py Add missing type hints to tests. (#15027) 2023-02-08 19:52:37 +00:00
test_types.py Add missing type hints to tests. (#15027) 2023-02-08 19:52:37 +00:00
test_visibility.py Refactor filter_events_for_server (#15240) 2023-03-10 15:31:25 +00:00
unittest.py Factor out an is_mine_server_name method (#15542) 2023-05-05 15:06:22 +01:00
utils.py Modify StoreKeyFetcher to read from server_keys_json. (#15417) 2023-04-20 12:30:32 -04:00