- Dec 04, 2020
-
-
Jordan Bancino authored
This removes the version pin of the `prometheus_client` dependency, in direct response to #8831. If merged, this will close #8831 As far as I can tell, no other changes are needed, but as I'm no synapse expert, I'm relying heavily on CI and maintainer reviews for this. My very primitive test of synapse with prometheus_client v0.9.0 on my home server didn't bring up any issues, so we'll see what happens. Signed-off-by: Jordan Bancino
-
- Nov 17, 2020
-
-
Andrew Morgan authored
Short-term fix for https://github.com/matrix-org/synapse/issues/8766.
-
- Nov 02, 2020
-
-
Dan Callahan authored
This bumps us closer to current Python without going all the way to 3.9. Fixes #8674 Signed-off-by:
Dan Callahan <danc@element.io>
-
- Oct 11, 2020
-
-
Samuel Philipp authored
-
- Oct 09, 2020
-
-
Mateusz Przybyłowicz authored
Signed-off-by:
Mateusz Przybyłowicz <uamfhq@gmail.com>
-
- Aug 26, 2020
-
-
Christopher May-Townsend authored
Signed-off-by:
Christopher May-Townsend <chris@maytownsend.co.uk>
-
- Aug 24, 2020
-
-
Christopher May-Townsend authored
-
- Aug 11, 2020
-
-
Erik Johnston authored
We do this to prevent foot guns. The default config uses a MemoryFilter, but users are free to change to logging to files directly. If they do then they have to ensure to set the `filters: [context]` on the right handler, otherwise records get written with the wrong context. Instead we move the logic to happen when we generate a record, which is when we *log* rather than *handle*. (It's possible to add filters to loggers in the config, however they don't apply to descendant loggers and so they have to be manually set on *every* logger used in the code base)
-
- Jul 17, 2020
-
-
Michael Kaye authored
-
Christopher May-Townsend authored
As mentioned in #7397, switching to a debian base should help with multi-arch work to save time on compiling. This is unashamedly based on #6373, but without the extra functionality. Switch python version back to generic 3.7 to always pull the latest. Essentially, keeping this as small as possible. The image is bigger though unfortunately.
-
- Jul 06, 2020
-
-
Juho Vanhanen authored
* Add libwebp dependency to Dockerfile Signed-off-by:
Juho Vanhanen <juho@vanhanen.io>
-
- Jun 03, 2020
-
-
Richard van der Hoff authored
Upstream have merged our changes (https://github.com/spotify/dh-virtualenv/pull/300), so let's switch back to it instead of using our fork.
-
- May 22, 2020
-
-
Richard van der Hoff authored
When we tried to build debs for 1.13.0, the build failed because docker used a base docker image which had a stale apt cache. Fixes: #7540
-
- May 19, 2020
-
-
Richard van der Hoff authored
-
- May 03, 2020
-
-
Cédric Laubacher authored
-
- Feb 18, 2020
-
-
Richard van der Hoff authored
Lots of people seem to get confused by this mode, and it's been deprecated since Synapse 1.1.0. It's time for it to go.
-
- Feb 12, 2020
-
-
Richard van der Hoff authored
-
- Nov 22, 2019
-
-
Andrew Morgan authored
* Add working build command for docker image * Add changelog
-
- Nov 20, 2019
-
-
Andrew Morgan authored
-
- Oct 30, 2019
-
-
Anton Lazarev authored
-
- Oct 28, 2019
-
-
Tobia De Koninck authored
Signed-off-by:
Tobia De Koninck <LEDfan@users.noreply.github.com>
-
- Oct 18, 2019
-
-
Richard van der Hoff authored
Turns out that loggers that are instantiated before the config is loaded get turned off. Also bring the logging config that is generated by --generate-config into line. Fixes #6194.
-
- Sep 19, 2019
-
-
Michael Kaye authored
* Allow passing SYNAPSE_WORKER envvar * changelog.d * Document SYNAPSE_WORKER. Attempting to imply that you don't need to change this default unless you're in worker mode. Also aware that there's a bigger problem of attempting to document a complete working configuration of workers using docker, as we currently only document to use `synctl` for worker mode, and synctl doesn't work that way in docker.
-
- Sep 03, 2019
-
-
Michael Kaye authored
Adjust su-exec to only be used if needed. If UID == getuid() and GID == getgid() then we do not need to su-exec, and chmod will not work.
-
- Aug 28, 2019
-
-
Victor Goff authored
-
- Jul 29, 2019
-
-
Erik Johnston authored
* Fix debian packages for sid being called buster. I don't know why the sid images return buster as its codename in `lsb_release` but it does, so lets just grab the codename from the distro we pass into dockerfile * Newsfile
-
- Jul 17, 2019
-
-
Richard van der Hoff authored
This is basically a contrived way of adding a `Recommends` on `libpq5`, to fix #5653. The way this is supposed to happen in debhelper is to run `dh_shlibdeps`, which in turn runs `dpkg-shlibdeps`, which spits things out into `debian/<package>.substvars` whence they can later be included by `control`. Previously, we had disabled `dh_shlibdeps`, mostly because `dpkg-shlibdeps` gets confused about PIL's interdependent objects, but that's not really the right thing to do and there is another way to work around that. Since we don't always use postgres, we don't necessarily want a hard Depends on libpq5, so I've actually ended up adding an explicit invocation of `dpkg-shlibdeps` for `psycopg2`. I've also updated the build-depends list for the package, which was missing a couple of entries.
-
- Jul 12, 2019
-
-
Slavi Pantaleev authored
This adds a missing space, without which log lines appear uglier. Signed-off-by:
Slavi Pantaleev <slavi@devture.com>
-
Slavi Pantaleev authored
Alpine Linux 3.8 is still supported, but it seems like it's quite outdated now. While Python should be the same on both, all other libraries, etc., are much newer in Alpine 3.9 and 3.10. Signed-off-by:
Slavi Pantaleev <slavi@devture.com>
-
- Jul 03, 2019
-
-
Amber Brown authored
-
Andrew Morgan authored
Removes any `SMTP_*` docker container environment variables from having any effect on the default config. Fixes https://github.com/matrix-org/synapse/issues/5430
-
- Jul 02, 2019
-
-
Amir Zarrinkafsh authored
Signed-off-by:
Amir Zarrinkafsh <nightah@me.com>
-
- Jun 27, 2019
-
-
Richard van der Hoff authored
... to help people escape env var hell
-
Richard van der Hoff authored
There's not much point in binding to localhost when it's in a docker container.
-
Richard van der Hoff authored
This is mostly a documentation change, but also adds a default value for SYNAPSE_CONFIG_PATH, so that running from the generated config is the default, and will Just Work provided your config is in the right place.
-
- Jun 26, 2019
-
-
Richard van der Hoff authored
When running under docker, we want to use docker's own logging stuff rather than losing the logs somewhere on the container's filesystem, so let's use log configs that spit logs out to stdout instead.
-
Richard van der Hoff authored
-
Richard van der Hoff authored
Fixes #4830.
-
Richard van der Hoff authored
-
Richard van der Hoff authored
We don't want to generate any missing configs when running from a precanned config. (There's a strong argument that we don't want to do this at all, since generating a new signing key on each invocation sounds disasterous, but I don't fancy unpicking that for now.)
-