summary refs log tree commit diff
path: root/changelog.d/3892.bugfix (unfollow)
Commit message (Collapse)AuthorFilesLines
2022-05-04Remove unstable/unspecced login types. (#12597)Patrick Cloke6-20/+14
* `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.
2022-05-04Improve logging for cancelled requests (#12587)Sean Quah3-1/+32
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>
2022-05-04Include bundled aggregations for the latest event in a thread. (#12273)Patrick Cloke5-51/+198
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).
2022-05-04remove constantly lib use and switch to enums. (#12624)andrew do11-38/+36
2022-05-04Fixes to the formatting of README.rst (#12627)Richard van der Hoff2-7/+8
Fixes a couple of formatting errors which were introduced in #12475.
2022-05-03Add a consistency check on events read from the database (#12620)Richard van der Hoff3-22/+50
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.
2022-05-03Bump Synapse minimum Python version to 3.7.1 (#12613)David Robertson3-3/+4
2022-05-03Remove unstable identifiers for MSC3069. (#12596)Patrick Cloke3-8/+1
2022-05-03Add extra debug logging to federation sender (#12614)Richard van der Hoff2-2/+19
... in order to debug some problems we've been having with certain events not being sent when expected.
2022-05-03Add missing space before 'docker' link in release announcement script (#12612)Andrew Morgan2-1/+2
2022-05-03fix importsRichard van der Hoff1-1/+2
broken in 5938928 :-S
2022-05-03minor wording fix in docstringRichard van der Hoff1-3/+2
2022-05-03Exclude OOB memberships from the federation sender (#12570)Richard van der Hoff3-4/+51
As the comment says, there is no need to process such events, and indeed we need to avoid doing so. Fixes #12509.
2022-05-03Add sanity checks to the release script (#12556)David Robertson2-26/+38
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
2022-05-03Fix race when persisting an event and deleting a room (#12594)Erik Johnston3-2/+22
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`....
2022-05-03Prune mypy ignore_missing_imports list (#12608)David Robertson2-51/+3
2022-05-03Move groups/communities deprecation notice to 1.58.0 heading v1.58.0Andrew Morgan1-2/+2
2022-05-031.58.0Andrew Morgan3-1/+13
2022-04-29Remove special-case for `twisted` logger (#12589)Richard van der Hoff3-14/+1
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.
2022-04-29Allow unused ignores in "bleeding edge" CI (#12576)David Robertson3-0/+6
* 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