- Apr 30, 2024
-
-
Richard van der Hoff authored
Follow-up to #17137 and https://github.com/matrix-org/complement/pull/722
-
- Apr 15, 2024
-
-
Kegan Dougal authored
MSC3967 was updated recently to make it more robust to network failures: > there is an existing cross-signing master key and it exactly matches the cross-signing master key provided in the request body. If there are any additional keys provided in the request (self signing key, user signing key) they MUST also match the existing keys stored on the server. In other words, the request contains no new keys. If there are new keys, UIA MUST be performed. https://github.com/matrix-org/matrix-spec-proposals/blob/hughns/device-signing-upload-uia/proposals/3967-device-signing-upload-uia.md#proposal This covers the case where the 200 OK is lost in transit so the client retries the upload, only to then get UIA'd. Complement tests: https://github.com/matrix-org/complement/pull/713 - passing example https://github.com/element-hq/synapse/actions/runs/7976948122/job/21778795094?pr=16943#step:7:8820 ### Pull Request Checklist <!-- Please read https://element-hq.github.io/synapse/latest/development/contributing_guide.html before submitting your pull request --> * [x] Pull request is based on the develop branch * [x] Pull request includes a [changelog file](https://element-hq.github.io/synapse/latest/development/contributing_guide.html#changelog). The entry should: - Be a short description of your change which makes sense to users. "Fixed a bug that prevented receiving messages from other servers." instead of "Moved X method from `EventStore` to `EventWorkerStore`.". - Use markdown where necessary, mostly for `code blocks`. - End with either a period (.) or an exclamation mark (!). - Start with a capital letter. - Feel free to credit yourself, by adding a sentence "Contributed by @github_username." or "Contributed by [Your Name]." to the end of the entry. * [x] [Code style](https://element-hq.github.io/synapse/latest/code_style.html) is correct (run the [linters](https://element-hq.github.io/synapse/latest/development/contributing_guide.html#run-the-linters) ) --------- Co-authored-by:
reivilibre <oliverw@matrix.org>
-
- Oct 27, 2023
-
-
kegsay authored
* complement: enable dirty runs * Add changelog * Set a low connpool limit when running in Complement Dirty runs can cause many containers to be running concurrently, which seems to easily exhaust resources on the host. The increased speedup from dirty runs also seems to use more db connections on workers, which are misconfigured currently to have `SUM(workers * cp_max) > max_connections`, causing ``` FATAL: sorry, too many clients already ``` which results in tests failing. * Try p=2 concurrency to restrict slowness of servers which causes partial state join tests to flake * Debug logging * Only run flakey tests * Only adjust connection pool limits in worker mode * Move cp vars to somewhere where they get executed in CI * Move cp values back to where they actually work * Debug logging * Try p=1 to see if this makes worker mode happier * Remove debug logging
-
- Oct 12, 2023
-
-
kegsay authored
* Update complement.sh to match new public API shape Sister PR to https://github.com/matrix-org/complement/pull/666 Context: https://github.com/matrix-org/complement/issues/654#issuecomment-1746613495 * Changelog * Pedantry * Run complement plz
-
- Jul 18, 2023
-
-
Patrick Cloke authored
And fix a bug in the implementation of the updated redaction format (MSC2174) where the top-level redacts field was not properly added for backwards-compatibility.
-
- Jul 11, 2023
-
-
Jason Little authored
Unix socket support for `federation` and `client` Listeners has existed now for a little while(since [1.81.0](https://github.com/matrix-org/synapse/pull/15353) ), but there was one last hold out before it could be complete: HTTP Replication communication. This should finish it up. The Listeners would have always worked, but would have had no way to be talked to/at. --------- Co-authored-by:
Eric Eastwood <madlittlemods@gmail.com> Co-authored-by:
Olivier Wilkinson (reivilibre) <oliverw@matrix.org> Co-authored-by:
Eric Eastwood <erice@element.io>
-
- Jun 16, 2023
-
-
Eric Eastwood authored
Remove experimental MSC2716 implementation to incrementally import history into existing rooms (#15748) Context for why we're removing the implementation: - https://github.com/matrix-org/matrix-spec-proposals/pull/2716#issuecomment-1487441010 - https://github.com/matrix-org/matrix-spec-proposals/pull/2716#issuecomment-1504262734 Anyone wanting to continue MSC2716, should also address these leftover tasks: https://github.com/matrix-org/synapse/issues/10737 Closes https://github.com/matrix-org/synapse/issues/10737 in the fact that it is not longer necessary to track those things.
-
- Jun 02, 2023
-
-
Eric Eastwood authored
See https://github.com/matrix-org/synapse/pull/14095#discussion_r990335492 This is useful because when see that a relevant event is an `outlier` or `soft-failed`, then that's a good unexpected indicator explaining why it's not showing up. `filter_events_for_client` is used in `/sync`, `/messages`, `/context` which are all common end-to-end assertion touch points (also notifications, relations).
-
- May 05, 2023
-
-
Andrew Morgan authored
-
- Mar 07, 2023
-
-
David Robertson authored
* Hack to rebuild the complement editable image * Changelog
-
- Feb 01, 2023
-
-
realtyem authored
Signed-off-by:
Jason Little <realtyem@gmail.com>
-
- Jan 22, 2023
-
-
reivilibre authored
* Enable Complement tests for Faster Remote Room Joins on worker-mode * (dangerous) Add an override to allow Complement to use FRRJ under workers * Newsfile Signed-off-by:
Olivier Wilkinson (reivilibre) <oliverw@matrix.org> * Fix race where we didn't send out replication notification * MORE HACKS * Fix get_un_partial_stated_rooms_token to take instance_name * Fix bad merge * Remove warning * Correctly advance un_partial_stated_room_stream * Fix merge * Add another notify_replication * Fixups * Create a separate ReplicationNotifier * Fix test * Fix portdb * Create a separate ReplicationNotifier * Fix test * Fix portdb * Fix presence test * Newsfile * Apply suggestions from code review * Update changelog.d/14752.misc Co-authored-by:
Erik Johnston <erik@matrix.org> * lint Signed-off-by:
Olivier Wilkinson (reivilibre) <oliverw@matrix.org> Co-authored-by:
Erik Johnston <erik@matrix.org>
-
- Jan 19, 2023
-
-
Andrew Morgan authored
-
- Jan 13, 2023
-
-
Andrew Morgan authored
-
- Jan 01, 2023
-
-
Andrew Morgan authored
-
- Dec 07, 2022
-
-
reivilibre authored
Add `--editable` flag to `complement.sh` which uses an editable install of Synapse for faster turn-around times whilst developing iteratively. (#14548) Co-authored-by:
Mathieu Velten <mathieuv@matrix.org>
-
- 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 08, 2022
-
-
realtyem authored
* Expose getting SYNAPSE_WORKER_TYPES from external, allowing override of workers requested. * Add WORKER_TYPES variable option to complement.sh script that passes requested workers into start_for_complement.sh entrypoint. * Update docs to reflect this new ability. * Changelog * Don't rely on soft wrapping to format long strings Good idea dklimpel. Thanks for catching that. Co-authored-by:
Dirk Klimpel <5740567+dklimpel@users.noreply.github.com> * Small nits just noticed in docs. * Fixup new line in docs. Co-authored-by:
Dirk Klimpel <5740567+dklimpel@users.noreply.github.com>
-
- Nov 01, 2022
-
-
Patrick Cloke authored
-
- Oct 12, 2022
-
-
Patrick Cloke authored
Co-authored-by:
Eric Eastwood <erice@element.io>
-
- Aug 01, 2022
-
-
reivilibre authored
Co-authored-by:
Sean Quah <8349537+squahtx@users.noreply.github.com>
-
- Jul 07, 2022
-
-
reivilibre authored
-
- 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)
-
- Jul 01, 2022
-
-
reivilibre authored
-
Richard van der Hoff authored
Add a `-f` argument to `complement.sh` to skip the docker build
-
- Jun 15, 2022
-
-
reivilibre authored
-
- Jun 14, 2022
-
-
Erik Johnston authored
-
- Jun 09, 2022
-
-
Patrick Cloke authored
-
- Jun 08, 2022
-
-
reivilibre authored
Co-authored-by:
Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
-
- May 24, 2022
-
-
David Robertson authored
-
- May 23, 2022
-
-
reivilibre authored
-
- May 09, 2022
-
-
Richard van der Hoff authored
* Bump the HS startup timeout * Log prefixes for more processes * Bump the overall timeout
-
- Apr 21, 2022
-
-
Richard van der Hoff authored
When we join a room via the faster-joins mechanism, we end up with "partial state" at some points on the event DAG. Many parts of the codebase need to wait for the full state to load. So, we implement a mechanism to keep track of which events have partial state, and wait for them to be fully-populated.
-
- Apr 11, 2022
-
-
Richard van der Hoff authored
This wasn't quite generating the right thing.
-
Richard van der Hoff authored
Fixes matrix-org/complement#330 (or it will, once we remove the old files). It's not quite a lift-and-shift: I've also taken the opportunity to get rid of the custom CA that we used to use to sign the TLS certs, which has been superceded by the CA exposed by Complement.
-
- Mar 30, 2022
-
-
Andrew Morgan authored
-
- Mar 03, 2022
-
-
Eric Eastwood authored
Co-authored-by:
Brendan Abolivier <babolivier@matrix.org>
-
Eric Eastwood authored
The Complement tests for MSC3030 are now merged, https://github.com/matrix-org/complement/pull/178 Synapse implmentation: https://github.com/matrix-org/synapse/pull/9445
-
- Feb 23, 2022
-
-
Nicolas Werner authored
The complement.sh script relies on the name of the ref matching the name of the unpacked folder. The branch redirect from renaming the default branch breaks that assumption. Signed-off-by:
Nicolas Werner <n.werner@famedly.com>
-
- Jan 20, 2022
-
-
Nicolas Werner authored
Updates complement.sh to read the ref from an environment variable (defaulting to master) when downloading a complement bundle for testing.
-