- Jun 27, 2022
-
-
reivilibre authored
Refactor the Dockerfile-workers configuration script to use Jinja2 templates in Synapse workers' Supervisord blocks. (#13054) Co-authored-by:
Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
-
- Jun 16, 2022
-
-
reivilibre authored
-
Richard van der Hoff authored
If no database is configured explicitly, use sqlite. This means that you don't have to pass any variables into the image.
-
- Jun 15, 2022
-
-
Erik Johnston authored
-
reivilibre authored
-
reivilibre authored
-
- Jun 08, 2022
-
-
reivilibre authored
Co-authored-by:
Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
-
- May 25, 2022
-
-
Nick Mills-Barrett authored
-
- May 24, 2022
-
-
Erik Johnston authored
-
- May 23, 2022
-
-
reivilibre authored
Co-authored-by:
Patrick Cloke <clokep@users.noreply.github.com>
-
reivilibre authored
Fix Complement `TestCanRegisterAdmin` with workers, by adding Complement's shared registration secret. (#12819)
-
reivilibre authored
-
- May 13, 2022
-
-
Till authored
-
- May 09, 2022
-
-
Richard van der Hoff authored
* Bump the HS startup timeout * Log prefixes for more processes * Bump the overall timeout
-
- May 06, 2022
-
-
reivilibre authored
Add the `notify_appservices_from_worker` configuration option (superseding `notify_appservices`) to allow a generic worker to be designated as the worker to send traffic to Application Services. (#12452)
-
- Apr 27, 2022
-
-
reivilibre authored
Co-authored-by:
Richard van der Hoff <1389908+richvdh@users.noreply.github.com>
-
- Apr 26, 2022
-
-
Jason Robinson authored
Co-authored-by:
David Robertson <davidr@element.io>
-
- Apr 25, 2022
-
-
David Robertson authored
-
- Apr 21, 2022
-
-
Richard van der Hoff authored
When we join a room via the faster-joins mechanism, we end up with "partial state" at some points on the event DAG. Many parts of the codebase need to wait for the full state to load. So, we implement a mechanism to keep track of which events have partial state, and wait for them to be fully-populated.
-
- Apr 20, 2022
-
-
David Robertson authored
-
- Apr 14, 2022
-
-
Richard van der Hoff authored
This is an attempt to reduce the rebuild time. In short, we reduce the amount of stuff that the dockerfile installs, so as to give a faster startup.
-
Richard van der Hoff authored
... with a bit more verbosity.
-
- Apr 13, 2022
-
-
Richard van der Hoff authored
When we run a worker-mode synapse under docker, everything gets logged to stdout. Currently, output from the workers is tacked with a worker name, for example: ``` 2022-04-13 15:27:56,810 - worker:frontend_proxy1 - synapse.util.caches.lrucache - 154 - INFO - LruCache._expire_old_entries-0 - Dropped 0 items from caches ``` - note `worker:frontend_proxy1`. No such tag is applied to log lines from the master, which makes somewhat confusing reading. To fix this, we generate a dedicated log config file for the master in the same way that we do for the workers, and use that.
-
- Apr 12, 2022
-
-
David Robertson authored
The requirements file generated by `poetry export` isn't correctly processed by `pip install -r requirements.txt`. It contains twisted and treq, both pinned to 22.2.0. When `pip` installs treq, it notices that `Twisted[tls]` is required. It then tries to acquire the latest twisted release, only to fail (because this hash isn't listed in the requirements file).From e.g. https://github.com/matrix-org/synapse/runs/5977154990?check_suite_focus=true > ``` > #15 9.204 Collecting Twisted[tls]>=18.7.0 > #15 9.205 ERROR: In --require-hashes mode, all requirements must have their versions pinned with ==. These do not: > #15 9.205 Twisted[tls]>=18.7.0 from https://files.pythonhosted.org/packages/db/99/38622ff95bb740bcc991f548eb46295bba62fcb6e907db1987c4d92edd09/Twisted-22.4.0-py3-none-any.whl#sha256=f9f7a91f94932477a9fc3b169d57f54f96c6e74a23d78d9ce54039a7f48928a2 (from treq==22.2.0->-r /synapse/requirements.txt (line 724)) > #15 ERROR: executor failed running [/bin/sh -c pip install --prefix="/install" --no-warn-script-location -r /synapse/requirements.txt]: exit code: 1 > ``` The underlying pip issue is https://github.com/pypa/pip/issues/9644. A comment notes that one can avoid this behaviour with by `pip install`ing with the `--no-deps` flag. Let us do so. (At first glance, the problem looks like https://github.com/python-poetry/poetry/issues/5311, but that was a bug in `poetry install`; this is `poetry export`, whose behaviour is fine AFAICS).
-
- Apr 11, 2022
-
-
Richard van der Hoff authored
-
Richard van der Hoff authored
This wasn't quite generating the right thing.
-
Richard van der Hoff authored
Fixes matrix-org/complement#330 (or it will, once we remove the old files). It's not quite a lift-and-shift: I've also taken the opportunity to get rid of the custom CA that we used to use to sign the TLS certs, which has been superceded by the CA exposed by Complement.
-
- Apr 08, 2022
-
-
Jorge Florian authored
Signed-off-by:
Jorge Florian <jafn28@gmail.com>
-
- Apr 07, 2022
-
-
David Robertson authored
-
- Mar 31, 2022
-
-
Richard van der Hoff authored
-
David Robertson authored
-
- Mar 04, 2022
-
-
David Robertson authored
-
- Mar 02, 2022
-
-
David Robertson authored
* Two scripts are basically entry_points already * Move and rename scripts/* to synapse/_scripts/*.py * Delete sync_room_to_group.pl * Expose entry points in setup.py * Update linter script and config * Fixup scripts & docs mentioning scripts that moved Co-authored-by:
Andrew Morgan <1342360+anoadragon453@users.noreply.github.com>
-
- Mar 01, 2022
-
-
Andrew Morgan authored
-
- Feb 15, 2022
-
-
Richard van der Hoff authored
The driver for this is to stop Complement complaining about it, but as far as I can tell it was pointless and needed to go away anyway. I'm a bit unclear about what exactly VOLUME does, but I think what it means is that, if you don't override it with an explicit -v argument, then docker run will create a temporary volume, and copy things into it. The temporary volume is then deleted when the container finishes. That only sounds useful if your image has something to copy into it (otherwise you may as well just use the default root filesystem), and our image notably doesn't copy anything into /data. So... this wasn't doing anything, except annoying Complement?
-
- Jan 21, 2022
-
-
Shay authored
* remove reference in comments to python3.6 * upgrade tox python env in script * bump python version in example for completeness * upgrade python version requirement in setup doc * upgrade necessary python version in __init__.py * upgrade python version in setup.py * newsfragment * drops refs to bionic and replace with focal * bump refs to postgres 9.6 to 10 * fix hanging ci * try installing tzdata first * revert change made in b979f336 * ignore new random mypy error while debugging other error * fix lint error for temporary workaround * revert change to install list * try passing env var * export debian frontend var? * move line and add comment * bump pillow dependency * bump lxml depenency * install libjpeg-dev for pillow * bump automat version to one compatible with py3.8 * add libwebp for pillow * bump twisted trunk python version * change suffix of newsfragment * remove redundant python 3.7 checks * lint
-
- Jan 12, 2022
-
-
Richard van der Hoff authored
Having spent much of the last week attempting to run complement tests from somewhere with damp string instead of internet... something had to be done.
-
- Jan 05, 2022
-
-
Callum Macdonald authored
-
- Jan 03, 2022
-
-
Shay authored
* update Trove classifiers to remove py36 * stop building bionic * update dh-virtualenv * newsfragment * fix newsfragment * update version refs * another try at correct tag * Update changelog
-
- Dec 14, 2021
-
-
Olivier Wilkinson (reivilibre) authored
This reverts commit 158d73eb.
-