- Apr 30, 2020
-
-
Patrick Cloke authored
By persisting the user interactive authentication sessions to the database, this fixes situations where a user hits different works throughout their auth session and also allows sessions to persist through restarts of Synapse.
-
- Apr 29, 2020
-
-
Richard van der Hoff authored
* Factor out functions for injecting events into database I want to add some more flexibility to the tools for injecting events into the database, and I don't want to clutter up HomeserverTestCase with them, so let's factor them out to a new file. * Rework TestReplicationDataHandler This wasn't very easy to work with: the mock wrapping was largely superfluous, and it's useful to be able to inspect the received rows, and clear out the received list. * Fix AssertionErrors being thrown by EventsStream Part of the problem was that there was an off-by-one error in the assertion, but also the limit logic was too simple. Fix it all up and add some tests.
-
- Apr 22, 2020
-
-
Richard van der Hoff authored
First some background: StreamChangeCache is used to keep track of what "entities" have changed since a given stream ID. So for example, we might use it to keep track of when the last to-device message for a given user was received [1], and hence whether we need to pull any to-device messages from the database on a sync [2]. Now, it turns out that StreamChangeCache didn't support more than one thing being changed at a given stream_id (this was part of the problem with #7206). However, it's entirely valid to send to-device messages to more than one user at a time. As it turns out, this did in fact work, because *some* methods of StreamChangeCache coped ok with having multiple things changing on the same stream ID, and it seems we never actually use the methods which don't work on the stream change caches where we allow multiple changes at the same stream ID. But that feels horribly fragile, hence: let's update StreamChangeCache to properly support this, and add some typing and some more tests while we're at it. [1]: https://github.com/matrix-org/synapse/blob/release-v1.12.3/synapse/storage/data_stores/main/deviceinbox.py#L301 [2]: https://github.com/matrix-org/synapse/blob/release-v1.12.3/synapse/storage/data_stores/main/deviceinbox.py#L47-L51
-
Patrick Cloke authored
-
- Apr 16, 2020
-
-
Patrick Cloke authored
-
- Apr 07, 2020
-
-
Patrick Cloke authored
-
- Mar 26, 2020
-
-
Patrick Cloke authored
-
- Mar 19, 2020
-
-
Richard van der Hoff authored
-
- Mar 12, 2020
-
-
Patrick Cloke authored
-
- Mar 04, 2020
-
-
Patrick Cloke authored
-
- Feb 28, 2020
-
-
Patrick Cloke authored
-
- Feb 27, 2020
-
-
Richard van der Hoff authored
I cracked, and added some type definitions in synapse.storage.
-
- Feb 26, 2020
-
-
Erik Johnston authored
-
- Feb 21, 2020
-
-
Patrick Cloke authored
Ensure good comprehension hygiene using flake8-comprehensions.
-
- Feb 14, 2020
-
-
Patrick Cloke authored
Add typing information to the spam checker modules.
-
- Feb 07, 2020
-
-
Erik Johnston authored
-
- Feb 03, 2020
-
-
Erik Johnston authored
Co-authored-by:
Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
-
- Jan 30, 2020
-
-
Erik Johnston authored
Co-authored-by:
Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
-
- Jan 20, 2020
-
-
Erik Johnston authored
-
Erik Johnston authored
-
- Jan 14, 2020
-
-
Erik Johnston authored
-
- Jan 03, 2020
-
-
Richard van der Hoff authored
This looks like it got half-killed back in #888. Fixes #6567.
-
- Dec 12, 2019
-
-
Erik Johnston authored
-
Erik Johnston authored
-
- Dec 03, 2019
-
-
Amber Brown authored
-
- Nov 07, 2019
-
-
Richard van der Hoff authored
... and update INSTALL.md to include py3.8. We'll also have to update the buildkite pipeline to run it
-
- Oct 31, 2019
-
-
Amber Brown authored
* update version of black and also fix the mypy config being overridden
-
- Oct 30, 2019
-
-
Andrew Morgan authored
-
Andrew Morgan authored
-
- Oct 29, 2019
-
-
Erik Johnston authored
-
Erik Johnston authored
-
- Oct 23, 2019
-
-
Andrew Morgan authored
Add a linting script that enforces all boolean values in the default config be lowercase. This has annoyed me for a while so I decided to fix it.
-
- Oct 18, 2019
-
-
Erik Johnston authored
* Fix presence timeouts when synchrotron restarts. Handling timeouts would fail if there was an external process that had timed out, e.g. a synchrotron restarting. This was due to a couple of variable name typoes. Fixes #3715.
-
- Oct 10, 2019
-
-
Amber Brown authored
-
- Sep 12, 2019
-
-
Amber Brown authored
-
- Aug 29, 2019
-
-
Amber Brown authored
-
- Aug 28, 2019
-
-
Amber Brown authored
-
- Jun 20, 2019
-
-
Amber Brown authored
-
- Jun 12, 2019
-
-
Amber Brown authored
* remove 2.7 from CI and publishing * fill out classifiers and also make it not be installed on 3.5 * some minor bumps so that the old deps work on python 3.5
-
- May 21, 2019
-
-
Richard van der Hoff authored
* Pin eliot to <1.8 on python 3.5.2 Fixes https://github.com/matrix-org/synapse/issues/5199 * Add support for 'markers' to python_dependencies * tell xargs not to strip quotes
-