- May 04, 2022
-
-
Will Hunt authored
* Add mau_appservice_trial_days * Add a test * Tweaks * changelog * Ensure we sync after the delay * Fix types * Add config statement * Fix test * Reinstate logging that got removed * Fix feature name
-
Patrick Cloke authored
getClientIP was deprecated in Twisted 18.4.0, which also added getClientAddress. The Synapse minimum version for Twisted is currently 18.9.0, so all supported versions have the new API.
-
Šimon Brandner authored
* Changes hidden read receipts to be a separate receipt type (instead of a field on `m.read`). * Updates the `/receipts` endpoint to accept `m.fully_read`.
-
Andrew Morgan authored
-
Patrick Cloke authored
* `m.login.jwt`, which was never specced and has been deprecated since Synapse 1.16.0. (`org.matrix.login.jwt` can be used instead.) * `uk.half-shot.msc2778.login.application_service`, which was stabilized as part of the Matrix spec v1.2 release.
-
Sean Quah authored
Don't log stack traces for cancelled requests and use a custom HTTP status code of 499. Signed-off-by:
Sean Quah <seanq@element.io>
-
Patrick Cloke authored
The `latest_event` field of the bundled aggregations for `m.thread` relations did not include bundled aggregations itself. This resulted in clients needing to immediately request the event from the server (and thus making it useless that the latest event itself was serialized instead of just including an event ID).
-
andrew do authored
-
Richard van der Hoff authored
Fixes a couple of formatting errors which were introduced in #12475.
-
- May 03, 2022
-
-
Richard van der Hoff authored
I've seen a few errors which can only plausibly be explained by the calculated event id for an event being different from the ID of the event in the database. It should be cheap to check this, so let's do so and raise an exception.
-
David Robertson authored
-
Patrick Cloke authored
-
Richard van der Hoff authored
... in order to debug some problems we've been having with certain events not being sent when expected.
-
Andrew Morgan authored
-
Richard van der Hoff authored
broken in 5938928c :-S
-
Richard van der Hoff authored
-
Richard van der Hoff authored
As the comment says, there is no need to process such events, and indeed we need to avoid doing so. Fixes #12509.
-
Andrew Morgan authored
-
David Robertson authored
Check we're on the right branch before tagging, and on the right tag before uploading * Abort if we're on the wrong branch * Check we have the right tag checked out * Clarify that `publish` only releases to GitHub
-
Erik Johnston authored
This works by taking a row level lock on the `rooms` table at the start of both transactions, ensuring that they don't run at the same time. In the event persistence transaction we also check that there is an entry still in the `rooms` table. I can't figure out how to do this in SQLite. I was just going to lock the table, but it seems that we don't support that in SQLite either, so I'm *really* confused as to how we maintain integrity in SQLite when using `lock_table`....
-
David Robertson authored
-
Andrew Morgan authored
-
- Apr 29, 2022
-
-
Richard van der Hoff authored
This was originally added when we first added a `MemoryHandler` to the default log config back in https://github.com/matrix-org/synapse/pull/8040, to ensure that we didn't explode with an infinite loop if there was an error formatting the logs. Since then, we made additional improvements to logging which make this workaround redundant. In particular: * we no longer attempt to log un-UTF8-decodable byte sequences, which were the most likely cause of an error in the first place. * https://github.com/matrix-org/synapse/pull/8268 ensures that in the unlikely case that there *is* an error, it won't cause an infinite loop.
-
David Robertson authored
* Allow unused ignores in "bleeding edge" CI Where "bleeding edge" means the Twisted Trunk and Latest Deps jobs. Follow up from #12531. Resolves #12574. * Use `--extras all` in latest deps mypy CI Twisted trunk job already does this. Missed in #12531. * changelog
-
- Apr 28, 2022
-
-
Patrick Cloke authored
-
Šimon Brandner authored
-
Sean Quah authored
The status code of requests must always be set, regardless of client disconnection, otherwise they will always be logged as 200!. Broken for `respond_with_json` in f48792ee. Broken for `respond_with_json_bytes` in 3e58ce72. Broken for `respond_with_html_bytes` in ea26e9a9. Signed-off-by:
Sean Quah <seanq@element.io>
-
DeepBlueV7.X authored
-
David Robertson authored
This reverts commit 5a320baa. This reverts commit f282d5fc. This reverts commit ce6ecdd4.
-
David Robertson authored
-
David Robertson authored
Twisted trunk job already does this. Missed in #12531.
-
David Robertson authored
Where "bleeding edge" means the Twisted Trunk and Latest Deps jobs. Follow up from #12531. Resolves #12574.
-
- Apr 27, 2022
-
-
Sean Quah authored
When configuring the return values of mocks, prefer awaitables from `make_awaitable` over `defer.succeed`. `Deferred`s are only awaitable once, so it is inappropriate for a mock to return the same `Deferred` multiple times. Also update `run_in_background` to support functions that return arbitrary awaitables. Signed-off-by:
Sean Quah <seanq@element.io>
-
Brendan Abolivier authored
Co-authored-by:
Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
-
reivilibre authored
Co-authored-by:
Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
-
David Robertson authored
Not enforced in config yet. One day.
-
David Robertson authored
Over time we've begun to use newer versions of mypy, typeshed, stub packages---and of course we've improved our own annotations. This makes some type ignore comments no longer necessary. I have removed them. There was one exception: a module that imports `select.epoll`. The ignore is redundant on Linux, but I've kept it ignored for those of us who work on the source tree using not-Linux. (#11771) I'm more interested in the config line which enforces this. I want unused ignores to be reported, because I think it's useful feedback when annotating to know when you've fixed a problem you had to previously ignore. * Installing extras before typechecking Lacking an easy way to install all extras generically, let's bite the bullet and make install the hand-maintained `all` extra before typechecking. Now that https://github.com/matrix-org/backend-meta/pull/6 is merged to the release/v1 branch.
-
Patrick Cloke authored
-
Will Hunt authored
-