- Jan 15, 2020
-
-
Brendan Abolivier authored
When figuring out which topological token to start a purge job at, we need to do the following: 1. Figure out a timestamp before which events will be purged 2. Select the first stream ordering after that timestamp 3. Select info about the first event after that stream ordering 4. Build a topological token from that info In some situations (e.g. quiet rooms with a short max_lifetime), there might not be an event after the stream ordering at step 3, therefore we abort the purge with the error `No event found`. To mitigate that, this patch fetches the first event _before_ the stream ordering, instead of after.
-
- Jan 14, 2020
-
-
Erik Johnston authored
This means that things like to device messages don't get blocked behind processing PDUs, which can potentially take *ages*.
-
Erik Johnston authored
-
- Jan 13, 2020
-
-
Andrew Morgan authored
-
Richard van der Hoff authored
-
Richard van der Hoff authored
This is pretty pointless. Let's just use SynapseError.
-
Richard van der Hoff authored
Fix a bug where we would assign a numeric userid if somebody tried registering with an empty username
-
Richard van der Hoff authored
Updates to the SAML mapping provider API
-
Richard van der Hoff authored
AdditionalResource really doesn't add any value, and it gets in the way for resources which want to support child resources or the like. So, if the resource object already implements the IResource interface, don't bother wrapping it.
-
Richard van der Hoff authored
Fixes #6402
-
- Jan 12, 2020
-
-
Richard van der Hoff authored
-
Richard van der Hoff authored
-
Richard van der Hoff authored
-
Richard van der Hoff authored
... for consistency with other modules, and because we'll need it sooner or later and it will be a pain to introduce later.
-
- Jan 10, 2020
-
-
Richard van der Hoff authored
Refuse to start if sqlite is older than 3.11.0
-
- Jan 09, 2020
-
-
Richard van der Hoff authored
-
Richard van der Hoff authored
-
Richard van der Hoff authored
-
Richard van der Hoff authored
this saves doing it on each connection, and will allow us to pass extra options in.
-
Richard van der Hoff authored
We might not need the cursor at all.
-
Erik Johnston authored
-
Erik Johnston authored
-
Manuel Stahl authored
Signed-off-by:
Manuel Stahl <manuel.stahl@awesome-technologies.de>
-
Erik Johnston authored
-
Erik Johnston authored
-
- Jan 08, 2020
-
-
Erik Johnston authored
Fix media repo admin APIs when using a media worker.
-
Erik Johnston authored
-
Erik Johnston authored
-
Erik Johnston authored
-
Brendan Abolivier authored
Fix typo in message retention policies doc
-
Erik Johnston authored
-
Brendan Abolivier authored
-
Brendan Abolivier authored
-
Richard van der Hoff authored
-
Manuel Stahl authored
Fixes #6552
-
Erik Johnston authored
-
Erik Johnston authored
-
Richard van der Hoff authored
This was ill-advised. We can't modify verify_keys here, because the response object has already been signed by the requested key. Furthermore, it's somewhat unnecessary because existing versions of Synapse (which get upset that the notary key isn't present in verify_keys) will fall back to a direct fetch via `/key/v2/server`. Also: more tests for fetching keys via perspectives: it would be nice if we actually tested when our fetcher can't talk to our notary impl.
-
Brendan Abolivier authored
Add complete documentation of the message retention policies support
-