- Oct 07, 2020
-
-
Patrick Cloke authored
-
- Sep 29, 2020
-
-
Andrew Morgan authored
This PR adds a script that: * Builds the local Synapse checkout using our existing `docker/Dockerfile` image. * Downloads [Complement](https://github.com/matrix-org/complement/)'s source code. * Builds the [Synapse.Dockerfile](https://github.com/matrix-org/complement/blob/master/dockerfiles/Synapse.Dockerfile) using the above dockerfile as a base. * Builds and runs Complement against it. This set up differs slightly from [that of the dendrite repo](https://github.com/matrix-org/dendrite/blob/master/build/scripts/complement.sh) (`complement.sh`, `Complement.Dockerfile`), which instead stores a separate, but slightly modified, dockerfile in Dendrite's repo rather than running the one stored in Complement's repo. That synapse equivalent to that dockerfile (`Synapse.Dockerfile`) in Complement's repo is just based on top of `matrixdotorg/synapse:latest`, which we opt to build here locally. Thus copying over the files from Complement's repo wouldn't change any functionality, and would result in two instances of the same files. So just using the dockerfile in Complement's repo was decided upon instead.
-
- Sep 18, 2020
-
-
Patrick Cloke authored
This converts calls like super(Foo, self) -> super(). Generated with: sed -i "" -Ee 's/super\([^\(]+\)/super()/g' **/*.py
-
- Sep 17, 2020
-
-
Jonathan de Jong authored
-
- Sep 04, 2020
-
-
Patrick Cloke authored
-
- Sep 03, 2020
-
-
Erik Johnston authored
This requires adding a mypy plugin to fiddle with the type signatures a bit.
-
- Aug 26, 2020
-
-
Richard van der Hoff authored
Now that the server supports streaming back JSON responses, it would be nice to show the response as it is streamed, in the test tool.
-
- Aug 05, 2020
-
-
Erik Johnston authored
-
- Aug 04, 2020
-
-
Andrew Morgan authored
This PR: * Reduces the amount of noise in the `check-newsfragment` CI output by hiding the dependency installation output by default. * Prints a link to the changelog/debian changelog section of the contributing guide if an error is found.
-
- Jul 28, 2020
-
-
Richard van der Hoff authored
If there are *no* files with CRLF line endings, then the xargs exits with a non-zero exit code (as expected), but then, since that is the last thing to happen in the script, the script as a whole exits non-zero, making the whole thing fail. using `if/then/fi` instead of `&& (...)` means that the script exits with a zero exit code.
-
Andrew Morgan authored
This PRs adds a script to check for unix-line terminators in the repo. It will be used to address https://github.com/matrix-org/synapse/issues/7943 by adding the check to CI. I've changed the original script slightly as proposed in https://github.com/matrix-org/pipelines/pull/81#discussion_r460580664
-
- Jul 20, 2020
-
-
Andrew Morgan authored
Run `isort`, `flake8` and `black` over the `contrib/` directory and `synctl` script. The latter was already being done in CI, but now the linting script does it too. Fixes https://github.com/matrix-org/synapse/issues/7910
-
- Jul 17, 2020
-
-
Gary Kim authored
-
- Jul 05, 2020
-
-
Will Hunt authored
The CI appears to use the latest version of isort, which is a problem when isort gets a major version bump. Rather than try to pin the version, I've done the necessary to make isort5 happy with synapse.
-
- Jun 25, 2020
-
-
Andrew Morgan authored
-
- Jun 16, 2020
-
-
Dagfinn Ilmari Mannsåker authored
-
- Jun 03, 2020
-
-
Richard van der Hoff authored
-
- May 20, 2020
-
-
Patrick Cloke authored
-
- May 19, 2020
-
-
Richard van der Hoff authored
-
- May 15, 2020
-
-
Richard van der Hoff authored
this is no longer needed on python 3
-
- Feb 21, 2020
-
-
Patrick Cloke authored
Ensure good comprehension hygiene using flake8-comprehensions.
-
- Feb 12, 2020
-
-
Patrick Cloke authored
-
- 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 03, 2020
-
-
Richard van der Hoff authored
-
- Dec 18, 2019
-
-
Erik Johnston authored
This encapsulates config for a given database and is the way to get new connections.
-
- Dec 11, 2019
-
-
Andrew Morgan authored
-
- Dec 10, 2019
-
-
Erik Johnston authored
-
- Dec 05, 2019
-
-
Erik Johnston authored
-
- Dec 04, 2019
-
-
Erik Johnston authored
-
- Nov 06, 2019
-
-
Richard van der Hoff authored
-
- Nov 01, 2019
-
-
Neil Pilgrim authored
-
- Oct 30, 2019
-
-
Andrew Morgan authored
-
- Oct 28, 2019
-
-
Brendan Abolivier authored
This adds: * a test sqlite database * a configuration file for the sqlite database * a configuration file for a postgresql database (using the credentials in `.buildkite/docker-compose.pyXX.pgXX.yaml`) as well as a new script named `.buildkite/scripts/test_synapse_port_db.sh` that: 1. installs Synapse 2. updates the test sqlite database to the latest schema and runs background updates on it 3. creates an empty postgresql database 4. run the `synapse_port_db` script to migrate the test sqlite database to the empty postgresql database (with coverage) Step `2` is done via a new script located at `scripts-dev/update_database`. The test sqlite database is extracted from a SyTest run, so that it can be considered as an actual homeserver's database with actual data in it.
-
- 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 11, 2019
-
-
Richard van der Hoff authored
This doesn't work, and afaict hasn't been used since 2015.
-
- Jul 10, 2019
-
-
Andrew Morgan authored
Add a dev script to cover all the different linting steps.
-
- Jun 25, 2019
-
-
Amber Brown authored
-
- Jun 20, 2019
-
-
Amber Brown authored
-
- Jun 13, 2019
-
-
Richard van der Hoff authored
* py3 fixes for federation_client * .well-known support for federation_client
-
- Jun 03, 2019
-
-
Amber Brown authored
-