Commit graph

4070 commits

Author SHA1 Message Date
Slavi Pantaleev b43d941c6e
Merge pull request #2926 from etkecc/add-synapse-oidc-vars
add matrix_synapse_oidc_enabled and matrix_synapse_oidc_providers vars
2023-10-02 19:32:17 +03:00
Slavi Pantaleev c0e56ac1c4
Make OIDC providers if check safer 2023-10-02 19:32:09 +03:00
Aine 9167a7734e
add matrix_synapse_oidc_enabled and matrix_synapse_oidc_providers vars 2023-10-02 18:40:15 +03:00
Aine 54babc5de0
add ensure-users-created tag alongside with ensure-matrix-users-created 2023-10-02 18:33:21 +03:00
Slavi Pantaleev 0a4cff56fb Make sliding-sync communicate with the homeserver over the container network
Seems like we don't necessarily need to use a public URL for `SYNCV3_SERVER`.

This possibly helps setups that were having trouble when `SYNCV3_SERVER`
was a public URL (e.g. `https://matrix.DOMAIN`), as described in:
https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2912
2023-10-02 07:41:57 +03:00
Slavi Pantaleev 5d6ad42751 Make sure mautrix-wsproxy paths are created
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2923
2023-10-02 07:37:30 +03:00
Slavi Pantaleev f988f02e02 Upgrade maubot (v0.4.1 -> v0.4.2) 2023-10-01 10:42:37 +03:00
Slavi Pantaleev 366902f30a Upgrade Element (v1.11.44 -> v1.11.45) 2023-09-29 14:03:54 +03:00
Slavi Pantaleev d51a67a01a Fix self-building for matrix-registration-bot
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2919
2023-09-29 10:11:41 +03:00
Aine 1769910c5d
Update postmoogle 0.9.15 -> 0.9.16 2023-09-28 22:40:28 +03:00
Slavi Pantaleev 71deacfe55 Upgrade Dendrite (v0.13.2 -> v0.13.3) 2023-09-28 13:55:34 +03:00
Slavi Pantaleev 217ddad2de Add support for configuring forgotten_room_retention_period
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2918

Related to https://github.com/matrix-org/synapse/pull/15488
2023-09-28 12:54:52 +03:00
Slavi Pantaleev af39de9154 Fix matrix-ldap-registration-proxy service stopping when uninstalling 2023-09-27 16:22:24 +03:00
Slavi Pantaleev e53b4424f1 Upgrade Synapse (v1.92.3 -> v1.93.0) 2023-09-26 20:16:29 +03:00
Aine 676c380477
Update hookshot 4.5.0 -> 4.5.1 2023-09-26 18:45:32 +03:00
Aine 421e5f7792
Update element 1.11.43 -> 1.11.44 2023-09-26 16:49:08 +03:00
Aine 250a7845e9
Update hookshot 4.4.1 -> 4.5.0 2023-09-26 15:35:42 +03:00
Aine 777d5ebd3b
update postmoogle 0.9.14 -> 0.9.15 2023-09-22 20:10:51 +03:00
Slavi Pantaleev 2587980e6d Fix beeper-linkedin self-building when version is set to latest
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/2905#issuecomment-1726892215
2023-09-20 09:39:05 +03:00
Slavi Pantaleev 3799180563
Merge pull request #2905 from etkecc/patch-293
Update beeper-linkedin 0.5.4 -> latest (security fix)
2023-09-19 22:39:50 +03:00
Slavi Pantaleev d6c4e92314
Merge pull request #2904 from etkecc/patch-292
Update mautrix-twitter 0.1.6 -> 0.1.7
2023-09-19 22:39:31 +03:00
Slavi Pantaleev fe8af7aa70
Merge pull request #2903 from etkecc/patch-291
Update mautrix-whatsapp 0.10.1 -> 0.10.2
2023-09-19 22:39:11 +03:00
Slavi Pantaleev e31df65e4a
Merge pull request #2902 from etkecc/patch-290
Update mautrix-instagram 0.3.0 -> 0.3.1
2023-09-19 22:39:01 +03:00
Slavi Pantaleev 17e377f01a
Merge pull request #2901 from etkecc/patch-289
Update mautrix-facebook 0.5.0 -> 0.5.1
2023-09-19 22:38:44 +03:00
Aine c611f85acb
Update beeper-linkedin 0.5.4 -> latest 2023-09-19 22:22:27 +03:00
Aine 1ea4d3f13d
Update mautrix-twitter 0.1.6 -> 0.1.7 2023-09-19 22:03:12 +03:00
Aine d6c68f2701
Update mautrix-whatsapp 0.10.1 -> 0.10.2 2023-09-19 22:02:11 +03:00
Aine 0ca8d993e1
Update mautrix-instagram 0.3.0 -> 0.3.1 2023-09-19 22:00:40 +03:00
Aine 98858c3ec5
Update mautrix-facebook 0.5.0 -> 0.5.1 2023-09-19 21:59:49 +03:00
Aine d2630ccf98
Update telegram 0.14.1 -> 0.14.2 2023-09-19 21:58:50 +03:00
Slavi Pantaleev 7586cecedf Upgrade Synapse (v1.92.2 -> v1.92.3) 2023-09-18 18:00:15 +03:00
Slavi Pantaleev 56c7c1a4bc Upgrade mautrix-whatsapp (0.10.0 -> 0.10.1) 2023-09-16 19:51:28 +03:00
Slavi Pantaleev f7d0d4631c Upgrade mautrix-gmessages (v0.1.0 -> v0.2.0) 2023-09-16 19:51:00 +03:00
Slavi Pantaleev be94568524 Upgrade mautrix-discord (0.6.1 -> 0.6.2) 2023-09-16 19:50:36 +03:00
Slavi Pantaleev e033520ce2 Make Synapse worker systemd service files depend on matrix-synapse.service
Many of these do depend on the Synapse master process (`matrix-synapse.service`),
so it makes sense to do it.

Furthermore, we're doing it so that one can stop the `matrix-synapse.service`
service and have systemd cascade this into stopping all the workers as well.

This is useful for easily stopping all of Synapse, so that Postgres
upgrades (`--tags=upgrade-postgres`) can happen cleanly.
Postgres upgrades currently stop `devture_postgres_systemd_services_to_stop_for_maintenance_list` which
includes Synapse, but stopping just the master process and leaving workers running is not safe enough and sometimes leads to errors like:

> ERROR:  insert or update on table "event_forward_extremities" violates foreign key constraint "event_forward_extremities_event_id"

With this dependency in place, stopping `matrix-synapse.service` will stop all Synapse processes.
2023-09-16 11:37:24 +03:00
Slavi Pantaleev a0f9b1b051 Fix Schildichat config cleanup for matrix-nginx-proxy 2023-09-16 10:27:50 +03:00
Array in a Matrix 581274dabb
Update matrix-appservice-discord 2023-09-15 11:08:15 -04:00
Aine f0e2e97aa4
Update synapse 1.92.1 -> 1.92.2 (security fix) 2023-09-15 16:10:33 +03:00
Aine 781166e819
Update element 1.11.42 -> 1.11.43 2023-09-15 15:27:17 +03:00
Aine 915a5009ac
Update Element 1.11.41 -> 1.11.42 2023-09-13 15:43:07 +03:00
Slavi Pantaleev ca9ebcd5f2 Upgrade Element (v1.11.40 -> v1.11.41) 2023-09-12 19:35:56 +03:00
Slavi Pantaleev ef90142720 Handle /notifications endpoint via workers
Related to https://github.com/matrix-org/synapse/pull/16265
2023-09-12 18:32:32 +03:00
Slavi Pantaleev 963e97214b Upgrade Synapse (v1.91.2 -> v1.92.1) 2023-09-12 18:32:32 +03:00
Catalan Lover c7c1acc3f3
Update Draupnir from 1.85.0 to 1.85.1 2023-09-12 15:42:31 +02:00
Cody Wyatt Neiman d210b3b48f
Fix mautrix-gmessages branch 2023-09-09 19:07:34 -04:00
Catalan Lover a9ece0c55a
Remove trailing spaces making linter unhappy 2023-09-07 19:36:49 +02:00
Catalan Lover 2f6829e6d7
Replace links to Gnuxie/Draupnir with the-draupnir-project/Draupnir
Draupnir moved its repo on github from the namespace of its maintainer Gnuxie to a newly created Github Organisation the-draupnir-project and this commit reflects this.
2023-09-07 19:33:25 +02:00
Catalan Lover 7ee720f138
Update Draupnir from 1.84.0 to 1.85.0 and update default configuration 2023-09-07 19:19:11 +02:00
Catalan Lover 6f7cdd2f71
Change Draupnir Repo to New Repo
Draupnir changed home from Gnuxie/Draupnir to the-draupnir-project/Draupnir and this commit reflects this.
2023-09-07 19:08:33 +02:00
Aine faef601f0d
Update sliding-sync 0.99.9 -> 0.99.10 2023-09-07 16:29:07 +03:00
Slavi Pantaleev 0ab8ccfdb1
Merge pull request #2877 from etkecc/patch-277
Update sliding-sync 0.99.8 -> 0.99.9
2023-09-06 22:59:56 +03:00
Aine 6f9dee867c
Update synapse 1.91.1 -> 1.91.2 2023-09-06 20:41:29 +03:00
Aine d0f602b5e9
Update sliding-sync 0.99.8 -> 0.99.9 2023-09-06 20:40:50 +03:00
saces 2000e61d31 force pull booth on :stable and :latest 2023-09-05 23:26:30 +02:00
saces 2c25648051 change image tag to version
Signed-off-by: saces <saces@c-base.org>
2023-09-05 22:35:01 +02:00
saces c260309625 update defaults for new tools container
Signed-off-by: saces <saces@c-base.org>
2023-09-05 20:29:28 +02:00
Aine ea7a55b7dd
Update synapse 1.91.0 -> 1.91.1 2023-09-04 18:07:17 +03:00
Slavi Pantaleev f4829d6988 Upgrade Hydrogen (v0.4.0 -> v0.4.1) 2023-09-04 15:23:21 +03:00
Aine ccaae4d5b7
Update honoroit 0.9.18 -> 0.9.19 2023-09-01 18:38:42 +03:00
Aine 5d61a73fac
Update sliding-sync 0.99.7 -> 0.99.8 2023-09-01 13:47:18 +03:00
Aine 12f316405b
make synapse even more quiet 2023-08-31 19:32:57 +03:00
Aine f370107344
cleanup schildichat a bit 2023-08-31 11:22:09 +03:00
Aine b657117beb
schildichat fixes 2023-08-30 23:03:33 +03:00
Aine 86655db995
add SchildiChat client 2023-08-30 19:23:52 +03:00
slikie 4acaeac7aa
Update synapse 1.90.0 -> 1.91.0 2023-08-30 22:31:15 +08:00
Slavi Pantaleev b0fb3814a5 Make Synapse quieter by default
Hopefully fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2849

Related to:
- https://github.com/matrix-org/synapse/issues/16101
- https://github.com/matrix-org/synapse/issues/16208
2023-08-30 12:53:20 +03:00
Slavi Pantaleev abdb4375db Add matrix_synapse_additional_loggers_auto and matrix_synapse_additional_loggers_custom 2023-08-30 12:53:20 +03:00
Slavi Pantaleev 17124a0548 Upgrade Element (v1.11.39 -> v1.11.40) 2023-08-29 15:12:10 +03:00
Slavi Pantaleev cc7244c14d Fix Synapse sub-component (worker, S3, ..) uninstallation
matrix-synapse/tasks/setup_uninstall.yml would previously not run unless
Synapse was completely disabled.
2023-08-29 14:53:28 +03:00
Slavi Pantaleev ba1cce1316 Add Project source code URL comment to matrix-sliding-sync role 2023-08-29 07:04:55 +03:00
Slavi Pantaleev d207edb304 Deprecate matrix_synapse_spam_checker in favor of matrix_synapse_modules 2023-08-26 20:09:37 +03:00
Slavi Pantaleev e03ec11fcf Switch mjolnir-antispam from using spam_checker to modules
`spam_checker` has been deprecated for quite a while.
While it still probably works and while newer versions of
mjolnir-antispam still use it, we should switch to the new API.
2023-08-26 20:07:40 +03:00
Slavi Pantaleev 4e08ad98b6 Upgrade mjolnir-antispam (1.4.0 -> v1.6.4) 2023-08-26 20:05:03 +03:00
Slavi Pantaleev af636a1bb0 Upgrade ntfy (v2.7.0-0 -> v2.7.0-2) and switch it to a non-privileged port
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2846
2023-08-26 08:21:15 +03:00
David Mehren 04d9183904
Upgrade sliding-sync (v0.99.5 -> v0.99.7) 2023-08-25 18:43:57 +02:00
Slavi Pantaleev 4873b18000 Do not assume the jitsi_jvb_servers group is defined in everyone's inventory
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/2842
2023-08-25 15:50:10 +03:00
Slavi Pantaleev a4e642e3f4 Mark matrix_nginx_proxy_proxy_jitsi_additional_jvbs as deprecated
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/2842
2023-08-25 10:22:25 +03:00
Antonis Christofides 0d8b66abd7 Simplify additional JVB configuration
The variable matrix_nginx_proxy_proxy_jitsi_additional_jvbs isn't
needed, as this information is already in the inventory.

This contribution is provided by GRNET S.A. (grnet.gr).
2023-08-24 18:07:50 +03:00
Slavi Pantaleev 5fc254ef11 Upgrade Dendrite (v0.13.1 -> v0.13.2) 2023-08-23 19:54:37 +03:00
Johan Swetzén 4299d4ebd5
wsproxy for Android SMS (#2261)
* Inital work, copeid from mautrix-amp PR

* Some fixes leftover code copeid over from whatsapp

* Got it to run and register

* Fixed service issue with docker image

* I now realize I need 2 roles wsproxy and imessage

* Got someting working, still rough

* Closer to working but still not working

* reverting ports

* Update main.yml

* Add matrix-nginx-proxy config for mautrix-wsproxy

* Changed

* Add back file

* fix for error hopefully

* Changed the the way nginx was recieved

* basically did not add anything ugh

* Added some arguments

* just trying stuff now

* Ugh i messed up port number

* Changed docs

* Change dns config

* changed generic secret key

* Testing new nginx proxy

* test

* Fix linting errors

* Add mautrix syncproxy to wsproxy for Android SMS

* WIP

* Move wsproxy to custom

* Squashed commit of the following:

commit 943189a9aa
Merge: 4a229d68 f5a09f30
Author: Slavi Pantaleev <slavi@devture.com>
Date:   Sun Nov 13 08:54:32 2022 +0200

    Merge pull request #2259 from throny/patch-3

    warn users about upgrading to pg15 when using borg

commit 4a229d6870
Merge: 9b326e08 c68def08
Author: Slavi Pantaleev <slavi@devture.com>
Date:   Sun Nov 13 08:53:13 2022 +0200

    Merge pull request #2260 from etkecc/patch-117

    Update ntfy 1.28.0 -> 1.29.0

commit f5a09f30b7
Author: throny <m.throne12@gmail.com>
Date:   Sat Nov 12 23:48:57 2022 +0100

    Update maintenance-postgres.md

commit b12cdbd99d
Author: throny <m.throne12@gmail.com>
Date:   Sat Nov 12 23:40:46 2022 +0100

    Update maintenance-postgres.md

commit c68def0809
Author: Aine <97398200+etkecc@users.noreply.github.com>
Date:   Sat Nov 12 22:01:31 2022 +0000

    Update ntfy 1.28.0 -> 1.29.0

commit adbc09f152
Author: throny <m.throne12@gmail.com>
Date:   Sat Nov 12 11:20:43 2022 +0100

    warn users about upgrading to pg15 when using borg

* Fix linting errors

* Cleanup after merge

* Correct outdated variable names

* Enable both Android and iMessage with wsproxy

* Restructure wsproxy service defs and nginx config

* Fix linter errors

* Apply suggestions from code review

Co-authored-by: Slavi Pantaleev <slavi@devture.com>

* Fix comments for documentation, volumes and ports

* Correct mount syntax

* Complete network and traefik support for wsproxy

* Remove wsproxy data_path

* Fix wsproxy service definitions

* Actually include syncproxy service

* Remove wsproxy PathPrefix, it needs a subdomain

There's no setting in the iMessage bridge that allows a path.
Also don't bind port by default, wsproxy has no TLS.
Syncproxy should never expose a port, it's only internal.

---------

Co-authored-by: hanthor <jreilly112@gmail.com>
Co-authored-by: Miguel Alatzar <miguel@natrx.io>
Co-authored-by: Shreyas Ajjarapu <github.tzarina@aleeas.com>
Co-authored-by: Slavi Pantaleev <slavi@devture.com>
2023-08-23 15:05:32 +03:00
Slavi Pantaleev 6427397486 Do not hardcode sslmode=disable to Postgres connection strings - make it configurable
This is backward-compatible with what we had before. We're not changing
the SSL mode - just making it configurable.

Most components are defaulting to `sslmode=disable`, while some
(`matrix-bot-matrix-reminder-bot` and others) do not specify an `sslmode` at all.

We're making sslmode configurable, because certain external Postgres
servers may be configured to require SSL encryption.
In such cases `sslmode=disable` does not work and needs to be changed to
`sslmode=require` or something else (`verify-ca`, `verify-full`, etc).
2023-08-22 19:40:50 +03:00
Catalan Lover e127e6f464
Update Draupnir from 1.83.0 to 1.84.0 2023-08-21 14:46:25 +02:00
Slavi Pantaleev c9a549b1f5 Upgrade mautrix-discord (0.6.0 -> 0.6.1) 2023-08-17 10:39:49 +03:00
Slavi Pantaleev 33e56f44ca Upgrade mautrix-whatsapp (0.9.0 -> 0.10.0) 2023-08-17 10:39:49 +03:00
Slavi Pantaleev afd3e1bd9d Pin mautrix-gmessages to v0.1.0
Related to https://github.com/mautrix/gmessages/releases/tag/v0.1.0
2023-08-17 10:39:42 +03:00
Aine e7e81f7828
update nginx 1.25.1 -> 1.25.2 2023-08-16 10:09:30 +03:00
Slavi Pantaleev 8903b1e341 Upgrade Heisenbridge (1.14.4 -> 1.14.5) 2023-08-16 07:10:07 +03:00
Aine f55d5be6c3
Update Element 1.11.38 -> 1.11.39 2023-08-15 20:59:54 +03:00
slikie 68562173e7
bump synapse to v1.90.0 2023-08-15 22:37:35 +08:00
Slavi Pantaleev 75d4b53484 Upgrade ddclient (v3.10.0-ls126 -> v3.10.0-ls131) 2023-08-15 11:17:41 +03:00
Samuel Meenzen 837cca4ee1 Move sliding sync url logic out of matrix-client.j2 2023-08-11 08:13:49 +00:00
Samuel Meenzen 9faa65f059
Advertise sliding-sync support when using conduit
Starting from version `0.6.0` conduit natively supports some sync v3 (sliding-sync) features.

https://gitlab.com/famedly/conduit/-/releases/v0.6.0
https://gitlab.com/famedly/conduit/-/merge_requests/501
2023-08-10 22:07:33 +02:00
Samuel Meenzen 62a086d3e2
Update conduit 0.5.0 -> 0.6.0 2023-08-10 20:30:11 +02:00
Slavi Pantaleev ae12ab5c24 Rename variable (matrix_client_element_jitsi_preferredDomain -> matrix_client_element_jitsi_preferredDomain) 2023-08-10 15:57:29 +03:00
Slavi Pantaleev e9c0e90147 element-web camelCase renaming (branding.welcomeBackgroundUrl -> branding.welcome_background_url) 2023-08-10 15:56:38 +03:00
Slavi Pantaleev 1918519e07 element-web camelCase renaming (branding.authHeaderLogoUrl -> branding.auth_header_logo_url) 2023-08-10 15:55:44 +03:00
Slavi Pantaleev e7c5eff924 element-web camelCase renaming (branding.authFooterLinks -> branding.auth_footer_links) 2023-08-10 15:54:48 +03:00
Slavi Pantaleev 38c9aa9369 element-web camelCase renaming (settingDefault -> setting_defaults) 2023-08-10 15:53:02 +03:00
Slavi Pantaleev c4f716624b element-web camelCase renaming (embeddedPages -> embedded_pages) 2023-08-10 15:50:27 +03:00
Slavi Pantaleev d4e48a3a67 element-web camelCase renaming (welcomeUserId -> welcome_user_id) 2023-08-10 15:50:09 +03:00