- May 11, 2023
-
-
Jason Little authored
* 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>
-
- Apr 14, 2023
-
-
Dirk Klimpel authored
-
Dirk Klimpel authored
* Enable `directory` * move to worker store * newsfile * disable `ClientDirectoryListServer` and `ClientAppserviceDirectoryListServer` for workers
-
- Mar 27, 2023
-
-
Dirk Klimpel authored
-
- Mar 17, 2023
-
-
Jason Little authored
-
reivilibre authored
Make `configure_workers_and_start` script used in Complement tests compatible with older versions of Python. (#15275)
-
- Mar 14, 2023
-
-
Jason Little authored
Co-authored-by:
Olivier Wilkinson (reivilibre) <oliverw@matrix.org>
-
- Mar 02, 2023
-
-
Dirk Klimpel authored
-
David Robertson authored
* Complement: Spell out when config isn't generated * Changelog
-
- Feb 28, 2023
-
-
reivilibre authored
-
- Nov 28, 2022
-
-
Eric Eastwood authored
Fix https://github.com/matrix-org/synapse/issues/14390 - Client API: `/_matrix/client/unstable/org.matrix.msc3030/rooms/<roomID>/timestamp_to_event?ts=<timestamp>&dir=<direction>` -> `/_matrix/client/v1/rooms/<roomID>/timestamp_to_event?ts=<timestamp>&dir=<direction>` - Federation API: `/_matrix/federation/unstable/org.matrix.msc3030/timestamp_to_event/<roomID>?ts=<timestamp>&dir=<direction>` -> `/_matrix/federation/v1/timestamp_to_event/<roomID>?ts=<timestamp>&dir=<direction>` Complement test changes: https://github.com/matrix-org/complement/pull/559
-
- Nov 16, 2022
-
-
realtyem authored
-
- Nov 09, 2022
-
-
realtyem authored
-
- Nov 08, 2022
-
-
realtyem authored
Co-authored-by:
reivilibre <oliverw@matrix.org>
-
- Oct 18, 2022
-
-
realtyem authored
Also update `subprocess.check_output` to the slightly newer `subprocess.run`. Signed-off-by:
Jason Little <realtyem@gmail.com>
-
- Oct 14, 2022
-
-
realtyem authored
-
realtyem authored
-
Patrick Cloke authored
Stabilize the threads API (MSC3856) by supporting (only) the v1 path for the endpoint. This also marks the API as safe for workers since it is a read-only API.
-
- Oct 12, 2022
-
-
Patrick Cloke authored
Co-authored-by:
Eric Eastwood <erice@element.io>
-
- Jul 05, 2022
-
-
reivilibre authored
Add the ability to set the log level using the `SYNAPSE_TEST_LOG_LEVEL` environment when using `complement.sh`. (#13152)
-
- Jun 30, 2022
-
-
reivilibre authored
Improve startup times in Complement test runs against workers, particularly in CPU-constrained environments. (#13127) Co-authored-by:
Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
-
- Jun 27, 2022
-
-
reivilibre authored
Refactor the Dockerfile-workers configuration script to use Jinja2 templates in Synapse workers' Supervisord blocks. (#13054) Co-authored-by:
Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
-
- Jun 15, 2022
-
-
reivilibre authored
-
- Jun 08, 2022
-
-
reivilibre authored
Co-authored-by:
Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
-
- May 25, 2022
-
-
Nick Mills-Barrett authored
-
- May 23, 2022
-
-
reivilibre authored
Co-authored-by:
Patrick Cloke <clokep@users.noreply.github.com>
-
reivilibre authored
-
- May 06, 2022
-
-
reivilibre authored
Add the `notify_appservices_from_worker` configuration option (superseding `notify_appservices`) to allow a generic worker to be designated as the worker to send traffic to Application Services. (#12452)
-
- Apr 27, 2022
-
-
reivilibre authored
Co-authored-by:
Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
-
- Apr 25, 2022
-
-
David Robertson authored
-
- Apr 14, 2022
-
-
Richard van der Hoff authored
This is an attempt to reduce the rebuild time. In short, we reduce the amount of stuff that the dockerfile installs, so as to give a faster startup.
-
- Apr 13, 2022
-
-
Richard van der Hoff authored
When we run a worker-mode synapse under docker, everything gets logged to stdout. Currently, output from the workers is tacked with a worker name, for example: ``` 2022-04-13 15:27:56,810 - worker:frontend_proxy1 - synapse.util.caches.lrucache - 154 - INFO - LruCache._expire_old_entries-0 - Dropped 0 items from caches ``` - note `worker:frontend_proxy1`. No such tag is applied to log lines from the master, which makes somewhat confusing reading. To fix this, we generate a dedicated log config file for the master in the same way that we do for the workers, and use that.
-
- Apr 11, 2022
-
-
Richard van der Hoff authored
This wasn't quite generating the right thing.
-
- Apr 08, 2022
-
-
Jorge Florian authored
Signed-off-by:
Jorge Florian <jafn28@gmail.com>
-
- Dec 14, 2021
-
-
Olivier Wilkinson (reivilibre) authored
This reverts commit 158d73eb.
-
- Dec 07, 2021
-
-
Sean Quah authored
Revert "Sort internal changes in changelog" Revert "Update CHANGES.md" Revert "1.49.0rc1" Revert "Revert "Move `glob_to_regex` and `re_word_boundary` to `matrix-python-common` (#11505) (#11527)" Revert "Refactors in `_generate_sync_entry_for_rooms` (#11515)" Revert "Correctly register shutdown handler for presence workers (#11518)" Revert "Fix `ModuleApi.looping_background_call` for non-async functions (#11524)" Revert "Fix 'delete room' admin api to work on incomplete rooms (#11523)" Revert "Correctly ignore invites from ignored users (#11511)" Revert "Fix the test breakage introduced by #11435 as a result of concurrent PRs (#11522)" Revert "Stabilise support for MSC2918 refresh tokens as they have now been merged into the Matrix specification. (#11435)" Revert "Save the OIDC session ID (sid) with the device on login (#11482)" Revert "Add admin API to get some information about federation status (#11407)" Revert "Include bundled aggregations in /sync and related fixes (#11478)" Revert "Move `glob_to_regex` and `re_word_boundary` to `matrix-python-common` (#11505)" Revert "Update backward extremity docs to make it clear that it does not indicate whether we have fetched an events' `prev_events` (#11469)" Revert "Support configuring the lifetime of non-refreshable access tokens separately to refreshable access tokens. (#11445)" Revert "Add type hints to `synapse/tests/rest/admin` (#11501)" Revert "Revert accidental commits to develop." Revert "Newsfile" Revert "Give `tests.server.setup_test_homeserver` (nominally!) the same behaviour" Revert "Move `tests.utils.setup_test_homeserver` to `tests.server`" Revert "Convert one of the `setup_test_homeserver`s to `make_test_homeserver_synchronous`" Revert "Disambiguate queries on `state_key` (#11497)" Revert "Comments on the /sync tentacles (#11494)" Revert "Clean up tests.storage.test_appservice (#11492)" Revert "Clean up `tests.storage.test_main` to remove use of legacy code. (#11493)" Revert "Clean up `tests.test_visibility` to remove legacy code. (#11495)" Revert "Minor cleanup on recently ported doc pages (#11466)" Revert "Add most of the missing type hints to `synapse.federation`. (#11483)" Revert "Avoid waiting for zombie processes in `synctl stop` (#11490)" Revert "Fix media repository failing when media store path contains symlinks (#11446)" Revert "Add type annotations to `tests.storage.test_appservice`. (#11488)" Revert "`scripts-dev/sign_json`: support for signing events (#11486)" Revert "Add MSC3030 experimental client and federation API endpoints to get the closest event to a given timestamp (#9445)" Revert "Port wiki pages to documentation website (#11402)" Revert "Add a license header and comment. (#11479)" Revert "Clean-up get_version_string (#11468)" Revert "Link background update controller docs to summary (#11475)" Revert "Additional type hints for config module. (#11465)" Revert "Register the login redirect endpoint for v3. (#11451)" Revert "Update openid.md" Revert "Remove mention of OIDC certification from Dex (#11470)" Revert "Add a note about huge pages to our Postgres doc (#11467)" Revert "Don't start Synapse master process if `worker_app` is set (#11416)" Revert "Expose worker & homeserver as entrypoints in `setup.py` (#11449)" Revert "Bundle relations of relations into the `/relations` result. (#11284)" Revert "Fix `LruCache` corruption bug with a `size_callback` that can return 0 (#11454)" Revert "Eliminate a few `Any`s in `LruCache` type hints (#11453)" Revert "Remove unnecessary `json.dumps` from `tests.rest.admin` (#11461)" Revert "Merge branch 'master' into develop" This reverts commit 26b5d232. This reverts commit bce4220f. This reverts commit 966b5d0f. This reverts commit 088d748f. This reverts commit 14d593f7. This reverts commit 2a3ec6fa. This reverts commit eccc49d7. This reverts commit b1ecd19c. This reverts commit 9c55dedc. This reverts commit 2d42e586. This reverts commit 2f053f3f. This reverts commit a15a893d. This reverts commit 8b4b153c. This reverts commit 494ebd73. This reverts commit a77c3698. This reverts commit 4eb77965. This reverts commit 637df95d. This reverts commit e5f426cd. This reverts commit 8cd68b81. This reverts commit 6cae125e. This reverts commit 7be88fbf. This reverts commit b3fd99b7. This reverts commit f7ec6e7d. This reverts commit 5640992d. This reverts commit d26808dd. This reverts commit f91624a5. This reverts commit 16d39a54. This reverts commit 8a4c2969. This reverts commit 49e1356e. This reverts commit d2279f47. This reverts commit b50e39df. This reverts commit 858d80bf. This reverts commit 435f0448. This reverts commit f61462e1. This reverts commit a6f1a3ab. This reverts commit 84dc50e1. This reverts commit ed635d32. This reverts commit 7b62791e. This reverts commit 153194c7. This reverts commit f44d729d. This reverts commit a265fbd3. This reverts commit b9fef1a7. This reverts commit b0eb64ff. This reverts commit f1795463. This reverts commit 70cbb1a5. This reverts commit 42bf0204. This reverts commit 379f2650. This reverts commit 7ff22d6d. This reverts commit 5a0b652d. This reverts commit 432a174b. This reverts commit b14f8a1b, reversing changes made to e713855d.
-
- Nov 26, 2021
-
-
Michael Kaye authored
The intent is to iterate through all the worker ports and only report healthy when all are healthy, starting with the main process.
-
- Nov 17, 2021
-
-
Aaron authored
* Add support for `/_matrix/media/v3` APIs Signed-off-by:
Aaron Raimist <aaron@raim.ist> * Update `workers.md` to use v3 client and media APIs Signed-off-by:
Aaron Raimist <aaron@raim.ist> * Add changelog Signed-off-by:
Aaron Raimist <aaron@raim.ist>
-
- Sep 08, 2021
-
-
kegsay authored
-
- May 24, 2021
-
-
Patrick Cloke authored
Adds an option to complement.sh to run Synapse in worker mode (instead of the default monolith mode).
-