- Sep 03, 2021
-
-
Sean authored
Signed-off-by:
Sean Quah <seanq@element.io>
-
- Jul 06, 2021
-
-
Erik Johnston authored
-
- Jun 24, 2021
-
-
Quentin Gliech authored
This implements refresh tokens, as defined by MSC2918 This MSC has been implemented client side in Hydrogen Web: vector-im/hydrogen-web#235 The basics of the MSC works: requesting refresh tokens on login, having the access tokens expire, and using the refresh token to get a new one. Signed-off-by:
Quentin Gliech <quentingliech@gmail.com>
-
- May 24, 2021
-
-
Richard van der Hoff authored
fixes #9979
-
- May 14, 2021
-
-
Richard van der Hoff authored
Turns out these scripts weren't getting linted.
-
- May 10, 2021
-
-
Richard van der Hoff authored
... and test it.
-
- Apr 23, 2021
-
-
Erik Johnston authored
-
- Apr 14, 2021
-
-
Jonathan de Jong authored
Part of #9744 Removes all redundant `# -*- coding: utf-8 -*-` lines from files, as python 3 automatically reads source code as utf-8 now. `Signed-off-by:
Jonathan de Jong <jonathan@automatia.nl>`>
-
- Mar 22, 2021
-
-
Ankit Dobhal authored
- Merge 'isinstance' calls. - Remove unnecessary dict call outside of comprehension. - Use 'sys.exit()' calls.
-
- Mar 02, 2021
-
-
Erik Johnston authored
Fixes #9504
-
- Feb 23, 2021
-
-
Patrick Cloke authored
And ensure the consistency of `event_auth_chain_id`.
-
- Jan 14, 2021
-
-
Erik Johnston authored
-
- Jan 07, 2021
-
-
Erik Johnston authored
-
- Dec 16, 2020
-
-
Richard van der Hoff authored
It used to write an empty file if you gave it a -o arg.
-
- Nov 13, 2020
-
-
Erik Johnston authored
If the script fails (or is CTRL-C'ed) between porting some of the events table and copying of the sequences then the port script will immediately die if run again due to the postgres DB having inconsistencies between sequences and tables. The fix is to move the porting of sequences to before porting the tables, so that there is never a period where the Postgres DB is inconsistent. To do that we need to change how we port the sequences so that it calculates the values from the SQLite DB rather than the Postgres DB. Fixes #8619
-
- Nov 11, 2020
-
-
Erik Johnston authored
Fixes #8618
-
Erik Johnston authored
-
- Nov 02, 2020
-
-
Erik Johnston authored
We do a `SELECT MAX(stream_id) FROM e2e_cross_signing_keys` on startup.
-
- Oct 20, 2020
-
-
Andrew Morgan authored
I noticed in https://github.com/matrix-org/synapse/issues/8575 that the `end_error` variable in `synapse_port_db` is set to an `Exception`, even though later we expect it to be a `str`. This PR simply casts an exception raised to a string. I'm doing this instead of having `end_error` be of type exception as we explicitly set `end_error` to a str here: https://github.com/matrix-org/synapse/blob/d25eb8f3709965d0face01a041d5292490bf0139/scripts/synapse_port_db#L542-L547 This whole file could probably use some heavy refactoring, but until then at least this fix will prevent exception contents from being hidden from us and users.
-
- Oct 06, 2020
-
-
Hubert Chathi authored
-
- Oct 02, 2020
-
-
Erik Johnston authored
This is so we can tell what is going on when things are taking a while to start up. The main change here is to ensure that transactions that are created during startup get correctly logged like normal transactions.
-
- Sep 28, 2020
-
-
Dagfinn Ilmari Mannsåker authored
This table was created in #8034 (1.20.0). It references `ui_auth_sessions`, which is ignored, so this one should be too. Signed-off-by:
Dagfinn Ilmari Mannsåker <ilmari@ilmari.org>
-
- Sep 24, 2020
-
-
Patrick Cloke authored
-
Erik Johnston authored
-
Patrick Cloke authored
-
- Sep 17, 2020
-
-
Jonathan de Jong authored
-
- Aug 06, 2020
-
-
Brendan Abolivier authored
-
- Aug 05, 2020
-
-
Erik Johnston authored
-
- Jul 29, 2020
-
-
Brendan Abolivier authored
-
- Jul 16, 2020
-
-
Richard van der Hoff authored
-
- Jun 23, 2020
-
-
Patrick Cloke authored
-
- Jun 22, 2020
-
-
Patrick Cloke authored
-
- Jun 17, 2020
-
-
Patrick Cloke authored
-
- Jun 16, 2020
-
-
Dagfinn Ilmari Mannsåker authored
-
- May 22, 2020
-
-
Erik Johnston authored
-
- May 07, 2020
-
-
Erik Johnston authored
-
- Jan 22, 2020
-
-
Ivan Vilata-i-Balaguer authored
The old statement returned `None` for such a `password_config` (like the one created on first run), thus retrieval of the `pepper` key failed with `AttributeError`. Fixes #5315 Signed-off-by:
Ivan Vilata i Balaguer <ivan@selidor.net>
-
- Jan 21, 2020
-
-
Brendan Abolivier authored
* Raise an exception if there are pending background updates So we return with a non-0 code * Changelog * Port synapse_port_db to async/await * Port update_database to async/await * Add version string to mocked homeservers * Remove unused imports * Convert overseen bits to async/await * Fixup logging contexts * Fix imports * Add a way to print an error without raising an exception * Incorporate review
-
- Jan 15, 2020
-
-
Erik Johnston authored
Currently we rely on `current_state_events` to figure out what rooms a user was in and their last membership event in there. However, if the server leaves the room then the table may be cleaned up and that information is lost. So lets add a table that separately holds that information.
-
- Jan 09, 2020
-
-
Richard van der Hoff authored
-