- Apr 22, 2020
-
-
Erik Johnston authored
This is configured via the `redis` config options.
-
Michael Kaye authored
-
Andrew Morgan authored
-
Michael Kaye authored
Splitting based on the response code means we can avoid double logging here and identical information from line 164 while still logging at info if we don't get a good response and need to retry.
-
- Apr 20, 2020
-
-
Richard van der Hoff authored
-
Richard van der Hoff authored
This was incorrectly merged to the release branch before it was ready. This reverts commit 72fe2aff.
-
Richard van der Hoff authored
-
David Baker authored
-
Lars Franke authored
Also adjust sample_config.yaml Signed-off-by:
Lars Franke <frcl@mailbox.org>
-
Patrick Cloke authored
-
Richard van der Hoff authored
Other parts of the code (such as the StreamChangeCache) assume that there will not be multiple changes with the same stream id. This code was introduced in #7024, and I hope this fixes #7206.
-
- Apr 17, 2020
-
-
Patrick Cloke authored
-
James authored
Signed-off-by:
James Hebden <james@ec0.io>
-
Andrew Morgan authored
Add changelog Save retrieved keys to the db lint Fix and de-brittle remote result dict processing Use query_user_devices instead, assume only master, self_signing key types Make changelog more useful Remove very specific exception handling Wrap get_verify_key_from_cross_signing_key in a try/except Note that _get_e2e_cross_signing_verify_key can raise a SynapseError lint Add comment explaining why this is useful Only fetch master and self_signing key types Fix log statements, docstrings Remove extraneous items from remote query try/except lint Factor key retrieval out into a separate function Send device updates, modeled after SigningKeyEduUpdater._handle_signing_key_updates Update method docstring
-
Richard van der Hoff authored
The general idea here is to get rid of the type: ignore annotations on all of the current_token and update_function assignments, which would have caught #7290. After a bit of experimentation, it seems like the least-awful way to do this is to pass the offending functions in as parameters to the Stream constructor. Unfortunately that means that the concrete implementations no longer have the same constructor signature as Stream itself, which means that it gets hard to correctly annotate STREAMS_MAP. I've also introduced a couple of new types, to take out some duplication.
-
Tristan Lins authored
-
- Apr 16, 2020
-
-
Patrick Cloke authored
-
Richard van der Hoff authored
Some of the query functions return generators rather than lists, so we can't index into the result. Happily we already have a copy of the results. (think this was introduced in #7024)
-
- Apr 15, 2020
-
-
Patrick Cloke authored
-
Patrick Cloke authored
-
Andrew Morgan authored
-
Richard van der Hoff authored
We could end up looking up tens of thousands of events, which could cause large amounts of data to be logged to the postgres log.
-
- Apr 14, 2020
-
-
Zay11Zay authored
-
Andrew Morgan authored
-
Andrew Morgan authored
-
- Apr 13, 2020
-
-
Ryan Hovland authored
-
PeerD authored
-
- Apr 11, 2020
-
-
Matthew Hodgson authored
-
- Apr 09, 2020
-
-
Andrew Morgan authored
-
Patrick Cloke authored
-
Andrew Morgan authored
This commit was originally merged in #7228 but reverted in #7254 as the associated sytest was not ready yet. Now that it is, we can merge this again.
-
Andrew Morgan authored
-
Andrew Morgan authored
This reverts commit 59f0ca8b.
-
Andrew Morgan authored
-
Richard van der Hoff authored
I don't really remember why this was so complicated; I think it dates back to the time when we had to instantiate the Config classes before we could call `add_arguments` - ie before #5597. In any case, I don't think there's a good reason for it any more, and the impact of it being complicated is that `--help` doesn't work correctly.
-
Andrew Morgan authored
-
Andrew Morgan authored
-
- Apr 08, 2020
-
-
Richard van der Hoff authored
-
Richard van der Hoff authored
We pass --daemonize on the commandline, which (since at least #4853) overrides whatever the config file, so there is no need for it to be set in the config file.
-
Richard van der Hoff authored
Simplify and update this documentation, and make it part of the core dist.
-