- Dec 22, 2019
-
-
dopple authored
s/reverse_proxy.rst/reverse_proxy.md/
-
- Dec 20, 2019
-
-
Richard van der Hoff authored
-
Richard van der Hoff authored
Synapse 1.7.2 (2019-12-20) ========================== This release fixes some regressions introduced in Synapse 1.7.0 and 1.7.1. Bugfixes -------- - Fix a regression introduced in Synapse 1.7.1 which caused errors when attempting to backfill rooms over federation. ([\#6576](https://github.com/matrix-org/synapse/issues/6576)) - Fix a bug introduced in Synapse 1.7.0 which caused an error on startup when upgrading from versions before 1.3.0. ([\#6578](https://github.com/matrix-org/synapse/issues/6578))
-
Erik Johnston authored
-
Richard van der Hoff authored
Only run prepare_database on connection for in-memory databases. Fixes #6569.
-
Erik Johnston authored
-
Richard van der Hoff authored
Fixes #6575
-
- Dec 19, 2019
-
-
Erik Johnston authored
-
Erik Johnston authored
-
Richard van der Hoff authored
`Failed to upgrade database` is not helpful, and it's unlikely that UPGRADE.rst has anything useful.
-
Richard van der Hoff authored
If acme was enabled, the sdnotify startup hook would never be run because we would try to add it to a hook which had already fired. There's no need to delay it: we can sdnotify as soon as we've started the listeners.
-
Richard van der Hoff authored
I want to do some key rotation, and it is silly that we don't have a way to do this.
-
- Dec 18, 2019
-
-
Richard van der Hoff authored
* Remove redundant python2 support code `str.decode()` doesn't exist on python3, so presumably this code was doing nothing * Filter out pushers with corrupt data When we get a row with unparsable json, drop the row, rather than returning a row with null `data`, which will then cause an explosion later on. * Improve logging when we can't start a pusher Log the ID to help us understand the problem * Make email pusher setup more robust We know we'll have a `data` member, since that comes from the database. What we *don't* know is if that is a dict, and if that has a `brand` member, and if that member is a string.
-
Andrew Morgan authored
-
Erik Johnston authored
This encapsulates config for a given database and is the way to get new connections.
-
Richard van der Hoff authored
-
Richard van der Hoff authored
Synapse 1.7.1 (2019-12-18) ========================== This release includes several security fixes as well as a fix to a bug exposed by the security fixes. Administrators are encouraged to upgrade as soon as possible. Security updates ---------------- - Fix a bug which could cause room events to be incorrectly authorized using events from a different room. ([\#6501](https://github.com/matrix-org/synapse/issues/6501), [\#6503](https://github.com/matrix-org/synapse/issues/6503), [\#6521](https://github.com/matrix-org/synapse/issues/6521), [\#6524](https://github.com/matrix-org/synapse/issues/6524), [\#6530](https://github.com/matrix-org/synapse/issues/6530), [\#6531](https://github.com/matrix-org/synapse/issues/6531)) - Fix a bug causing responses to the `/context` client endpoint to not use the pruned version of the event. ([\#6553](https://github.com/matrix-org/synapse/issues/6553)) - Fix a cause of state resets in room versions 2 onwards. ([\#6556](https://github.com/matrix-org/synapse/issues/6556), [\#6560](https://github.com/matrix-org/synapse/issues/6560)) Bugfixes -------- - Fix a bug which could cause the federation server to incorrectly return errors when handling certain obscure event graphs. ([\#6526](https://github.com/matrix-org/synapse/issues/6526), [\#6527](https://github.com/matrix-org/synapse/issues/6527))
-
Richard van der Hoff authored
-
Richard van der Hoff authored
-
- Dec 17, 2019
-
-
Erik Johnston authored
-
Erik Johnston authored
Remove unused get_pagination_rows methods
-
- Dec 16, 2019
-
-
Erik Johnston authored
Previously we tried to be clever and filter out some unnecessary event IDs to keep the auth chain small, but that had some annoying interactions with state res v2 so we stop doing that for now.
-
Erik Johnston authored
Previously we tried to be clever and filter out some unnecessary event IDs to keep the auth chain small, but that had some annoying interactions with state res v2 so we stop doing that for now.
-
Brendan Abolivier authored
Use the filtered version of an event when responding to /context requests for that event
-
Will Hunt authored
-
Brendan Abolivier authored
Merge branch 'babolivier/fix-context-filter' of github.com:matrix-org/synapse into babolivier/fix-context-filter
-
Brendan Abolivier authored
-
Brendan Abolivier authored
Co-Authored-By:
Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
-
Brendan Abolivier authored
-
Brendan Abolivier authored
-
Richard van der Hoff authored
This fixes a weird bug where, if you were determined enough, you could end up with a rejected event forming part of the state at a backwards-extremity. Authing that backwards extrem would then lead to us trying to pull the rejected event from the db (with allow_rejected=False), which would fail with a 404.
-
Richard van der Hoff authored
The main point here is to make sure that the state returned by _get_state_in_room has been authed before we try to use it as state in the room.
-
Richard van der Hoff authored
When we perform state resolution, check that all of the events involved are in the right room.
-
Richard van der Hoff authored
When we do an event auth operation, check that all of the events involved are in the right room.
-
Richard van der Hoff authored
When we request the state/auth_events to populate a backwards extremity (on backfill or in the case of missing events in a transaction push), we should check that the returned events are in the right room rather than blindly using them in the room state or auth chain. Given that _get_events_from_store_or_dest takes a room_id, it seems clear that it should be sanity-checking the room_id of the requested events, so let's do it there.
-
Richard van der Hoff authored
Make it return the state *after* the requested event, rather than the one before it. This is a bit easier and requires fewer calls to get_events_from_store_or_dest.
-
Richard van der Hoff authored
This is a non-functional refactor as a precursor to some other work.
-
Richard van der Hoff authored
There was a bunch of unnecessary conversion back and forth between dict and list going on here. We can simplify a bunch of the code.
-