Commit graph

3223 commits

Author SHA1 Message Date
Aine 7f20b453c3
Update Signal daeon 0.20.0 -> 0.21.0
There is no docker tag in UI, but it exists:

```
docker pull registry.gitlab.com/signald/signald:0.21.0
0.21.0: Pulling from signald/signald
2f42a0d7a7b7: Pull complete 
81c2fb1b6074: Pull complete 
7e8b9a51d6b6: Pull complete 
f6ed8fd77301: Pull complete 
64e6fa036bdc: Pull complete 
5e98b5369603: Pull complete 
f2a9b80dd9fc: Pull complete 
Digest: sha256:201cf93efba689aa0319d2a480deea8ffb7dcdfbda31ea45932fccf4c7626ab9
Status: Downloaded newer image for registry.gitlab.com/signald/signald:0.21.0
registry.gitlab.com/signald/signald:0.21.0
```
2022-08-12 04:37:45 +00:00
kapcake 7170545a54
Update nginx-proxy: 1.23.0 -> 1.23.1 2022-08-11 21:48:17 +02:00
Aine 339c50c493
Update Cinny 2.1.1 -> 2.1.2 2022-08-11 17:04:46 +00:00
Aine 7b150fdb04
Update Grafana 9.0.6 -> 9.0.7 2022-08-10 15:13:04 +00:00
Slavi Pantaleev f2d613dfea Upgrade Coturn (4.5.2-r13 -> 4.5.2-r14) 2022-08-10 14:16:44 +03:00
Slavi Pantaleev 451a14c861
Merge pull request #2012 from etkecc/mautrix-whatsapp-config
mautrix-whatsapp config adjustements
2022-08-10 07:19:27 +03:00
Aine e637db348a
mautrix-whatsapp config adjustements 2022-08-09 23:45:10 +03:00
Aine aace9b131f
Update Jitsi stable-7577-1 -> stable-7577-2 2022-08-09 19:59:34 +00:00
Slavi Pantaleev dcb5a1370b Upgrade Jitsi (stable-7577 -> stable-7577-1) 2022-08-09 21:41:37 +03:00
Slavi Pantaleev 1aff2ca247 Fix ansible-lint errors 2022-08-09 10:54:39 +03:00
Slavi Pantaleev 04f224e634
Merge branch 'master' into conduit 2022-08-09 10:46:03 +03:00
Charles Wright e74560c6ef Moved Conduit directory creation from setup.yml into setup_install.yml, as suggested by Slavi 2022-08-08 22:08:09 -05:00
Aine cf5af86d92
Update Email2Matrix 1.0.3 -> 1.1.0 2022-08-08 15:21:23 +00:00
Slavi Pantaleev 2d357637a8
Merge pull request #2006 from etkecc/patch-36
Update Jitsi stable-7439-2 -> stable-7577
2022-08-07 22:09:21 +03:00
Aine a54c06d1a7
Update Jitsi stable-7439-2 -> stable-7577 2022-08-07 17:04:20 +00:00
Aine 2ca5320371
Update Cinny 2.0.4 -> 2.1.1 2022-08-07 17:02:43 +00:00
Charles Wright 5799b95c01 Ensure space around pipe character for ansible-lint 2022-08-05 13:48:45 -05:00
Charles Wright 0ee44adde8 Using ansible.builtin where possible 2022-08-05 13:44:56 -05:00
Julian-Samuel Gebühr 32430de812
Fix bug that prevented user with external nginx from launch (#2003)
* Fix bug that prevented user with external nginx from launch

The backslash was missing and prevented users from starting the bot

* Add necessary config for ext nginx to docs

* Add automatic config for ext nginx, adjust docs

* Remove unneeded and possibly puzzeling documentation
2022-08-05 20:02:01 +03:00
Charles Wright 47caba38fb Implemented suggestions from Slavi 2022-08-05 09:59:35 -05:00
Slavi Pantaleev ecfcbd6f1f
Merge pull request #2001 from etkecc/honoroit-0912
Update Honoroit 0.9.11 -> 0.9.12
2022-08-05 07:10:34 +03:00
Charles Wright 20767b5149 Fixes to enable Conduit in setup-all 2022-08-04 14:35:41 -05:00
Aine 998dafe9c4
Update Honoroit 0.9.11 -> 0.9.12 2022-08-04 22:02:45 +03:00
Charles Wright 53cf0e18a4 Actually make the data dir writable this time 2022-08-04 13:32:01 -05:00
Charles Wright 50c4c48f09 Rename storage directory to data 2022-08-04 13:31:28 -05:00
Charles Wright c228ad451d Updates to conduit paths 2022-08-04 13:25:18 -05:00
Charles Wright 2d7c427504 Fixes from a first trial run 2022-08-04 13:16:32 -05:00
Charles Wright f4afbe8ede First pass at adding vars for Conduit 2022-08-04 12:39:26 -05:00
Charles Wright c484c6294d First pass at creating defaults and tasks for Conduit 2022-08-04 12:37:08 -05:00
Charles Wright a5476e1857 Fixes to the conduit systemd config 2022-08-04 12:36:13 -05:00
Stuart Mumford 309a2393c3 Add no update flag as our config is read only 2022-08-04 09:18:12 +00:00
Stuart Mumford f9026469cd Add back sqlite plugin database config option 2022-08-04 08:54:19 +00:00
Charles Wright 6be5672eac Adding support for Conduit: First temps: Some rough templates 2022-08-03 22:07:42 -05:00
Charles Wright cad5d56011
Fix Dendrite extra arguments getting lost
Move the `matrix_dendrite_process_extra_arguments` line up so it doesn't get lost, and add a trailing backslash
2022-08-03 21:26:46 -05:00
Slavi Pantaleev 747e9dd57c Upgrade Dendrite (0.9.0 -> 0.9.1) 2022-08-03 21:44:28 +03:00
Aine 311926cbda
Update Element 1.11.1 -> 1.11.2 2022-08-03 08:38:15 +00:00
Slavi Pantaleev 8b588735e1 Fix fully-qualified container image name for go-skype-bridge when not self-building
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1996

Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1992

Regression since cf6e38a586
2022-08-03 11:00:54 +03:00
Slavi Pantaleev 5958f851c4
Merge pull request #1995 from etkecc/patch-33
Update Hydrogen 0.3.0 -> 0.3.1
2022-08-02 14:00:22 +03:00
Aine 8c983ba1e2
Update Hydrogen 0.3.0 -> 0.3.1 2022-08-02 10:47:54 +00:00
Aine 01dfbee51e
Update Synapse 1.63.1 -> 1.64.0 2022-08-02 10:45:32 +00:00
Slavi Pantaleev d81f50d1c0 Update Grafana (9.0.5 -> 9.0.6) 2022-08-02 10:49:48 +03:00
Slavi Pantaleev c807af2873 Upgrade ddclient (v3.9.1-ls93 -> v3.9.1-ls94) 2022-08-02 08:03:22 +03:00
Slavi Pantaleev cf6e38a586 Use pre-built image for go-skype-bridge on amd64 and arm64
Related to:

- https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1992
- https://github.com/kelaresg/go-skype-bridge/pull/17
2022-08-02 07:48:19 +03:00
Arthur Brugière 3cde6cace9
[Go-Skype] Change Docker Hub repository 2022-08-02 09:10:37 +07:00
Slavi Pantaleev cc58167f4c Upgrade Dendrite (0.8.1 -> 0.9.0)
Looks like we've skipped a bunch of 0.8.x versions (up to 0.8.9)
and are jumping straight to 0.9.0.

This is untested. Judging by Dendrite's changelog, it shouldn't cause
any breakage though: https://github.com/matrix-org/dendrite/blob/v0.9.0/CHANGES.md
2022-08-01 21:45:59 +03:00
Aine 737dc9d490
Fix mautrix-telegram permissions 2022-07-30 18:10:49 +00:00
Aine 5c36f14b46
Update Honoroit 0.9.10 -> 0.9.11 2022-07-30 13:24:59 +03:00
Slavi Pantaleev 544b36eb3c Upgrade Hydrogen (v0.2.33 -> v0.3.0)
This is untested.
2022-07-29 18:31:18 +03:00
IUCCA 5d7c5d122d
Added option to add env variables to mautrix signal daemon container (#1882)
* Auto trust new signal identities

from signald doku: when a remote key changes, set trust level to TRUSTED_UNVERIFIED instead of UNTRUSTED 
I find it much more convenient when new identities are automatically recognized as trusted, as the process to do that manually is cumbersome.
Should this the default behavior, or should i add an option to configure this behavior?

* Added option to trust new signal identities

* Using env file

* Renamed variable

* Corrected typo

* Use fully-qualified Ansible module name

* removed option trust_new_keys

Co-authored-by: Slavi Pantaleev <slavi@devture.com>
2022-07-29 08:28:25 +03:00
Slavi Pantaleev 429d0b323b
Merge pull request #1974 from MdotAmaan/master
Add Mautrix Discord Bridge
2022-07-29 08:05:52 +03:00
MdotAmaan 6fb961eb12 Make changes according to feedback
Co-authored-by: Slavi Pantaleev <slavi@devture.com>

Update group_vars/matrix_servers

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

Remove old data migration tasks

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

Update roles/matrix-bridge-mautrix-discord/tasks/validate_config.yml

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

Redo bridge permissions
2022-07-29 00:28:44 +04:00
Slavi Pantaleev 953efe6a74 Upgrade prometheus-postgres-exporter (v0.10.1 -> v0.11.0) 2022-07-28 16:58:38 +03:00
snailed c77f2b8a64
Make http_host_bind_port vars more useful (#1984)
* if variable to bind an exporter container to a host port is set, have matrix-domain.conf (nginx) support this

* manipulate some variables to account for just port numbers or 0.0.0.0 IPs

* Make sure to use the right variable in the init.yml files

* Update roles/matrix-prometheus-node-exporter/tasks/init.yml

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

* Update roles/matrix-prometheus-postgres-exporter/tasks/init.yml

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

* remove extraneous variables and whitespace

Co-authored-by: Luca Bilke <luca@gmail.com>
Co-authored-by: Slavi Pantaleev <slavi@devture.com>
2022-07-28 16:11:42 +03:00
Slavi Pantaleev d65096cd82
Merge pull request #1978 from spantaleev/appservice-kakaotalk
Add matrix-appservice-kakaotalk support
2022-07-27 09:42:18 +03:00
Aine a1469c8e14
Update Element v1.11.0 -> v1.11.1 2022-07-26 16:08:04 +00:00
Slavi Pantaleev 10a5b0d831 Add warnings about using Borg backup with external Postgres
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1982
2022-07-26 17:31:06 +03:00
Slavi Pantaleev 9c15474d94 Upgrade Grafana (9.0.4 -> 9.0.5) 2022-07-26 17:10:00 +03:00
Slavi Pantaleev c85c062c01 Upgrade ddclient (v3.9.1-ls92 -> v3.9.1-ls93) 2022-07-26 09:08:33 +03:00
Slavi Pantaleev 532c4ffb71 Use force=false for appservice-kakaotalk-node
Not that it matters. This option is only used when `type` is `unix`.
2022-07-25 16:54:37 +03:00
Slavi Pantaleev e5c4731f68 Use kakaotalk_ as the puppet prefix
This is what upstream uses and also what
https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1977
used.

Initially, I wanted to make the prefix more unique, in case another
Kakaotalk bridge comes along, but.. it's probably on the new bridge to
come up with a unique puppet prefix, not on us now to override upstream
decisions.
2022-07-25 16:01:15 +03:00
Slavi Pantaleev d14e499365 Add dedicated variables for controlling Kakaotalk encryption 2022-07-25 16:01:15 +03:00
Slavi Pantaleev 7b937cf9a9 Make ansible-lint happy 2022-07-25 16:01:15 +03:00
Slavi Pantaleev e46ba5deba Add matrix-appservice-kakaotalk support
Adds support for: https://src.miscworks.net/fair/matrix-appservice-kakaotalk

This is pretty similar to
https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1977
which just appeared, but has mostly been done independently.

I've taken some inspiration and did some fixups based on that PR.
Thanks to https://github.com/hnarjis for taking the time to contribute!

Notable differences between this branch compared to that PR:

- better naming and documentation around the "configuration" variables
- no unnecessary (5 sec.) intentional delay when starting `matrix-appservice-kakaotalk-node.service`
- stores configuration in `config/`, not in `data/`
- passes configuration as read-only and starts the bridge with (`--no-update`) to ensure no changes are made to it
- starts containers more securely - with `matrix:matrix` user:group (not `root`) and
  reduced capabilities (`--cap-drop=ALL`)
- uses `tcp` for communication between the "node" and the appservice (simpler than sharing unix sockets)
- `registration.yaml` which is closer to the one generated by `matrix-appservice-kakaotalk` (no `de.sorunome.msc2409.push_ephemeral` stuff, etc.)
- `registration.yaml` which is more customizable (customizable bot username and prefix for puppets - see `matrix_appservice_kakaotalk_appservice_bot_username` and `matrix_appservice_kakaotalk_user_prefix`)
- less fragile and more extensible bridge permissions configuration via `matrix_appservice_kakaotalk_bridge_permissions`. Doing `{% if matrix_admin %}` in the bridge configuration sometimes causes syntax problems (I hit some myself) and is not ideal. Other bridges should be redone as well.
- configurable command prefix for the bridge, instead of hardcoding `!kt` (see `matrix_appservice_kakaotalk_command_prefix`)
- logging that is more consistent with the rest of the playbook (console / journald only, no logging to files), as well as configurable log level (via `matrix_appservice_kakaotalk_logging_level`)
- somewhat more detailed documentation (`docs/configuring-playbook-bridge-appservice-kakaotalk.md`)
- removed some dead code (data relocation tasks from `tasks/setup_install.yml`, as well as likely unnecessary SQLite -> Postgres migration)
2022-07-25 16:01:15 +03:00
Slavi Pantaleev 163a423f42 Fix ansible-lint error 2022-07-25 16:01:04 +03:00
Slavi Pantaleev ac72879bf5 Make bridge permissions more easily configurable
Not doing {% if matrix_admin %} checks in the YAML also fixes some issues
with indentation being incorrect sometimes.

This should be backward compatible, except for mautrix-signal's case
where `matrix_mautrix_signal_bridge_permissions` previously existed
as a string, not a dictionary. `tasks/validate_config.yml` will catch
the problem an even provide a quick fix.
2022-07-25 15:57:16 +03:00
Slavi Pantaleev b2f47fcfcd Make linkedin logging level configurable 2022-07-25 15:57:16 +03:00
Slavi Pantaleev 9e65ba3298
Merge pull request #1958 from xangelix/migrate-mx-puppet-groupme-repo
Migrate mx-puppet-groupme to new repo
2022-07-25 15:15:06 +03:00
Slavi Pantaleev 53ea0ccca5 Fix linkedin bridge building regression
Regression since 1693c4ca1d

Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1975
2022-07-23 09:07:34 +03:00
MdotAmaan 8621ff1379 Add Mautrix Discord Bridge 2022-07-22 18:55:44 +04:00
Maxdeso 75961359fb dendrite_recaptcha_siteverify_api 2022-07-21 20:54:56 +03:00
Slavi Pantaleev 1f9c7e746d
Merge pull request #1967 from aaronraimist/hydrogen
Allow new Hydrogen options from #1940 to be customized
2022-07-21 18:26:33 +03:00
Aaron Raimist 14296db9ef
Update roles/matrix-client-hydrogen/defaults/main.yml
Co-authored-by: Slavi Pantaleev <slavi@devture.com>
2022-07-21 15:24:08 +00:00
Slavi Pantaleev 4155ed2518 Leave docker_image module calls unprefixed to increase compatibility
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1965
2022-07-21 11:24:47 +03:00
Aaron Raimist b8d3453e32
lint 2022-07-21 03:17:34 +00:00
Aaron Raimist 0e77d2c2f5
lint 2022-07-21 03:15:35 +00:00
Aaron Raimist ca5d7df161
Allow new Hydrogen options from #1940 to be customized 2022-07-21 03:12:42 +00:00
Simone db604f81ec Upgrade heisenbridge 1.13.0 1.13.1 2022-07-20 19:21:23 +02:00
Aine 592c88b021
Update Grafana 9.0.3 -> 9.0.4 2022-07-20 16:52:03 +00:00
Slavi Pantaleev 89bd25995a Upgrade Synapse (v1.63.0 -> v1.63.1) 2022-07-20 16:06:01 +03:00
Slavi Pantaleev 90551e82ec Make use of matrix_bot_maubot_management_interface_port variable to actually make maubot port configurable
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1894
2022-07-20 13:06:11 +03:00
Slavi Pantaleev 8a689813ff Remove unused maubot variable
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1894
2022-07-20 13:04:35 +03:00
Slavi Pantaleev 5ce2732899 Make maubot logging level configurable
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1894
2022-07-20 13:03:50 +03:00
Slavi Pantaleev b575409ed7 Use |to_json in maubot configuration
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1894
2022-07-20 13:02:19 +03:00
Slavi Pantaleev d2fb6a86e1 Fix matrix-bot-maubot.service.j2 indentation (tabs only)
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1894
2022-07-20 12:55:15 +03:00
Slavi Pantaleev 46ced6134c Store maubot configuration separately from data
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1894

Because the configuration file is now mounted as readonly and maubot tries to update it on start,
we get this warning:
> Failed to create tempfile to write updated config to disk: [Errno 30] Read-only file system: '/config/tmpfa8vcb3y.yaml'

It doesn't seem to cause issues though.

Because the configuration is no longer overwritten on every bot start, each
next Ansible run should no longer overwrite it again and report a
"changed" task.
2022-07-20 12:54:43 +03:00
Slavi Pantaleev d1649ff67b Do not restart matrix-bot-maubot.service on every playbook run
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1894
2022-07-20 12:40:30 +03:00
Julian-Samuel Gebühr b20cfc5015
Clear up maubot role (#1960)
* Make interface hidden behind proxy by default

* Remove expose option and replace with http_bind_port

Reasoning: This is a similar binary trigger but allows to bin not on all interfaces

* Clarify maubot admin purpose

* Remove unnecessary edif

* Extend docs to prevent common misconceptions

* Make http_bind_port singular, do not allow multiple values

* Make optional again
2022-07-20 12:23:32 +03:00
Slavi Pantaleev a1bfad1e9b Fix whitespace in matrix_bot_maubot_database_connection_string 2022-07-20 11:16:49 +03:00
Slavi Pantaleev b8832e3014 Fix some Jinja2 inconsistencies in maubot role 2022-07-20 10:27:13 +03:00
Slavi Pantaleev 1f2d100d91
Merge pull request #1894 from moan0s/maubot_moanos
Maubot moanos
2022-07-20 10:10:14 +03:00
Slavi Pantaleev e306d0051e
Add project introduction to maubot's defaults file 2022-07-20 10:07:03 +03:00
Slavi Pantaleev 492d430cb0 Revert "Revert "Update Hookshot 1.8.0 -> 1.8.1""
This reverts commit 65bfc1396e.

The 1.8.1 image is published now, so we can finally upgrade.
2022-07-20 10:01:42 +03:00
Julian-Samuel Gebühr f2dcbe5c9c Name all tasks 2022-07-20 09:00:47 +02:00
Julian-Samuel Gebühr 04a817aeaa Use explicit version for self build 2022-07-20 08:55:10 +02:00
Julian-Samuel Gebühr f8a8870711 Use FQCN 2022-07-20 08:52:58 +02:00
Julian-Samuel Gebühr d2e6ab6c38 Fix some CI lint errors 2022-07-20 08:41:17 +02:00
Julian-Samuel Gebühr 73ebbdcacd Move maubot nginx config
Reasoning: setup_install.yml only runs on --tags=setup-all or on --tags=setup-bot-maubot.

If --tags=setup-nginx-proxy or similar commands are run, setup_install.yml will not run and the nginx configuration will be incomplete.
2022-07-20 08:29:03 +02:00
Julian-Samuel Gebühr d6d311e810 Fix plugin database issue 2022-07-20 08:27:20 +02:00
Cody Wyatt Neiman 1dea35209b
Fix self-build error image names 2022-07-19 19:46:45 -04:00
Cody Wyatt Neiman dbddd9f989
Migrate mx-puppet-groupme to new repo 2022-07-19 19:02:32 -04:00
Slavi Pantaleev a4a1796518
Merge pull request #1955 from etkecc/patch-28
Update Coturn 4.5.2-r12 -> 4.5.2-r13
2022-07-19 18:40:38 +03:00
Slavi Pantaleev 2a131fd507
Merge pull request #1954 from aaronraimist/stats
Update telemetry documentation to more closely match upstream
2022-07-19 18:38:29 +03:00
Aine 66d4c7e072
[DO NOT MERGE]Update Coturn 4.5.2-r12 -> 4.5.2-r13
**no docker tag yet**, [keep an eye on it](https://hub.docker.com/r/coturn/coturn/tags?page=1&name=4.5.2-r13)
2022-07-19 15:25:32 +00:00
Aaron Raimist 817830bb3d
Update telemetry documentation to more closely match upstream
Synapse no longer describes the stats as anonymized since the `server_name` is included.
https://github.com/matrix-org/synapse/pull/13321
2022-07-19 14:58:19 +00:00
Slavi Pantaleev 65bfc1396e Revert "Update Hookshot 1.8.0 -> 1.8.1"
This reverts commit 05ccee9f6f.

Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1952
2022-07-19 16:47:08 +03:00
Aine 24a027c6b9
Update Synapse 1.62.0 -> 1.63.0 2022-07-19 13:24:27 +00:00
Slavi Pantaleev a9c1d44059
Merge pull request #1950 from etkecc/honoroit-0910
update Honoroit 0.9.9 -> 0.9.10
2022-07-18 23:45:38 +03:00
Aine 0aca676f7f
Update Redis 7.0.3 -> 7.0.4 2022-07-18 18:35:42 +00:00
Aine 5b0bdced1d
update Honoroit 0.9.9 -> 0.9.10 2022-07-18 21:24:17 +03:00
Aine 05ccee9f6f
Update Hookshot 1.8.0 -> 1.8.1
No docker tag published yet, [keep an eye on it](https://hub.docker.com/r/halfshot/matrix-hookshot/tags?page=1&ordering=last_updated&name=1.8.1)
2022-07-18 15:37:04 +00:00
Slavi Pantaleev 8ad1fa085e Use full path when importing SSL setup tasks
This is an attempt to make ansible-lint happy.
2022-07-18 16:48:25 +03:00
Slavi Pantaleev c73680712b Fix (suppress) var-naming ansible-lint errors
Reference: https://ansible-lint.readthedocs.io/en/latest/default_rules/#var-naming

We don't really fix these, but just suppress them,
because they're like that intentionally.

We try to name variables in a way that is consistent with the
configuration key they control. If the upstream component uses
camelCase, we also need to include camelCase in the variable name.
2022-07-18 16:43:12 +03:00
Slavi Pantaleev 7831dc91b3 Import tasks from other roles in a better way
One that doesn't trip up ansible-lint, causing `load-failure` errors.
2022-07-18 16:15:04 +03:00
Slavi Pantaleev c1849ae888 Fix the remaining var-spacing ansible-lint errors
Reference: https://ansible-lint.readthedocs.io/en/latest/default_rules/#var-spacing
2022-07-18 15:33:41 +03:00
Slavi Pantaleev cac9bf2637 Fix syntax error regression 2022-07-18 15:13:09 +03:00
Slavi Pantaleev 1693c4ca1d Fix no-changed-when ansible-lint errors
Reference: https://ansible-lint.readthedocs.io/en/latest/default_rules/#no-changed-when
2022-07-18 15:08:10 +03:00
Slavi Pantaleev 0ab2001ce7 Fix git-latest ansible-lint errors
Reference: https://ansible-lint.readthedocs.io/en/latest/default_rules/#git-latest

Our variable naming is not necessarily consistent across roles.
I've tried to follow the naming conventions of each individual role.
All new variables are suffixed with `_version`, but the prefix may be
somewhat different.
2022-07-18 14:43:52 +03:00
Slavi Pantaleev 211ff20891 Fix package-latest ansible-lint errors
Reference: https://ansible-lint.readthedocs.io/en/latest/default_rules/#package-latest
2022-07-18 14:08:35 +03:00
Slavi Pantaleev 318bfa84d5 Fix spacing around filter invocations 2022-07-18 13:21:32 +03:00
Slavi Pantaleev bb8b8c4bf0 Fix tasks include regression 2022-07-18 13:03:17 +03:00
Slavi Pantaleev d073c7ecb3 More ansible-lint fixes 2022-07-18 13:01:19 +03:00
Slavi Pantaleev 983bf819ef Explictly set Synapse's worker configuration's owner/permissions 2022-07-18 13:01:19 +03:00
Slavi Pantaleev ddf18eadc7 More ansible-lint fixes 2022-07-18 13:01:17 +03:00
Slavi Pantaleev 34cdaade08 Use fully-qualified module names for builtin Ansible modules
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1939
2022-07-18 12:58:41 +03:00
Slavi Pantaleev 78b5be4a26 Do not generate /.well-known/matrix/support unless explicitly asked to
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1931
2022-07-18 12:54:45 +03:00
Slavi Pantaleev c9e30708be Fix double-quoting in /.well-known/matrix/support
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1931

`|to_json` already adds the surrounding double-quotes for the string, so
adding them explicitly means we've got a double-quotes problem.
2022-07-18 12:46:19 +03:00
Slavi Pantaleev 4a5143fa8d Add variable to influence whether /.well-known/matrix/support is created
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1931
2022-07-18 12:32:41 +03:00
teutates 018ca75d48
Implement MSC 1929 Homeserver Admin Contact (#1931)
* Implement MSC 1929 Homeserver Admin Contact
Fixes #1612

For details to the proposed (not accepted yet) MSC, see:
https://github.com/matrix-org/matrix-spec-proposals/blob/hs/proposal-admin-contact-1/proposals/1929-admin-contact.md

* Implement feedback from PR #1931

* Implement feedback from PR #1931

* Fix mixed indentation
2022-07-18 12:28:59 +03:00
Slavi Pantaleev 9abcb10f9f
Merge pull request #1946 from etkecc/update-redis
update redis 6.2.6 -> 7.0.3
2022-07-17 18:15:38 +03:00
Slavi Pantaleev f99ab3c2e2
Merge pull request #1945 from etkecc/update-sygnal
update sygnal 0.11.0 -> 0.12.0
2022-07-17 18:15:12 +03:00
Slavi Pantaleev 9ef680b45c
Merge pull request #1944 from etkecc/update-prometheus
update prometheus 2.36.2 -> 2.37.0
2022-07-17 18:10:05 +03:00
Slavi Pantaleev 411c42bee5
Merge pull request #1943 from etkecc/update-nginx
update nginx 1.21.6 -> 1.23.0
2022-07-17 18:09:37 +03:00
Slavi Pantaleev 3b3bfa29e9
Merge pull request #1942 from etkecc/update-grafana
update grafana 9.0.2 -> 9.0.3
2022-07-17 18:09:04 +03:00
Slavi Pantaleev fde4297703
Merge pull request #1941 from etkecc/update-dynamic-dns
update dynamic dns 3.9.1-ls89 -> 3.9.1-ls92
2022-07-17 18:08:37 +03:00
Aine 405d07527f
update sygnal 0.11.0 -> 0.12.0 2022-07-17 17:38:05 +03:00
Aine 22a55f4fa7
update redis 6.2.6 -> 7.0.3 2022-07-17 17:33:43 +03:00
Aine 4bc12fd560
update prometheus 2.36.2 -> 2.37.0 2022-07-17 17:31:41 +03:00
Aine a6506cf6ff
update nginx 1.21.6 -> 1.23.0 2022-07-17 17:29:50 +03:00
Aine ca11763e86
update grafana 9.0.2 -> 9.0.3 2022-07-17 17:26:33 +03:00
Aine 0ffac5bb45
update dynamic dns 3.9.1-ls89 -> 3.9.1-ls92 2022-07-17 17:24:51 +03:00
Aine 0453ccc716
update hydrogen 0.2.29 -> 0.2.33; sync config 2022-07-17 17:21:22 +03:00
Aine e3ff6ca01b
mautrix-whatsapp - fix more vars 2022-07-17 14:16:57 +03:00
Aine 88cff139ed
fix mautrix-whatsapp config 2022-07-17 10:29:45 +03:00
Aine e149f33140
add/unify 'Project source code URL' link across all roles 2022-07-16 23:59:21 +03:00
Slavi Pantaleev fa9b34b983
Try to make Jinja not trip up over syntax 2022-07-16 23:25:05 +03:00
Aine 91cbc8b2ff
Update mautrix whatsapp 0.5.0 -> 0.6.0 2022-07-16 22:28:53 +03:00
Slavi Pantaleev e94ec75e1a Remove matrix-bridge-mx-puppet-skype role 2022-07-14 18:09:19 +03:00
Slavi Pantaleev a1d0b58471 Try to do the signald (0.19.0) data migration automatically
Improvement over e4caf3fa81.

Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1921
2022-07-14 11:50:18 +03:00
Slavi Pantaleev f0450eeb5d
Merge pull request #1921 from pub-solar/bump/signal-bridge
signald: 0.18.5 -> 0.20.0
2022-07-14 10:29:43 +03:00
Julian-Samuel Gebühr 6b7191c939 Fix tabs issue for real 2022-07-12 01:22:20 +02:00
Slavi Pantaleev 3b85a9a994
Upgrade hookshot (1.7.3 -> 1.8.0) 2022-07-11 20:25:32 +03:00
Julian-Samuel Gebühr acf53f604b Fix homserver configuration url 2022-07-10 14:48:00 +02:00
Julian-Samuel Gebühr ffa20357ea Use http_bin_port and make networking clearer 2022-07-10 13:33:29 +02:00
Julian-Samuel Gebühr e62632bf5d Change from spaces to tabs 2022-07-10 11:04:49 +02:00
Julian-Samuel Gebühr 07fdb09f69 Rename with addition "url" 2022-07-10 10:10:30 +02:00
Julian-Samuel Gebühr 2e15bd85ea Rename with addition "unshared" 2022-07-10 10:09:55 +02:00
Julian-Samuel Gebühr 27b1835ed4 Fix uninstall (for real this time) 2022-07-10 10:06:17 +02:00
Julian-Samuel Gebühr f64c132927 Make database switchable 2022-07-10 09:51:27 +02:00
Julian-Samuel Gebühr 05c1333ebb Restrict permissions of container 2022-07-09 13:44:41 +02:00
Julian-Samuel Gebühr bcd7ec714b Add postgres configuration 2022-07-09 13:00:28 +02:00
Julian-Samuel Gebühr a842e9cd1d Fix uninstall (did not remove service) 2022-07-09 13:00:17 +02:00
Julian-Samuel Gebühr 135096e53a Add defaults 2022-07-09 11:55:49 +02:00
Julian-Samuel Gebühr 4ab516fca8 Fix linter 2022-07-09 11:42:18 +02:00
Julian-Samuel Gebühr 07cfd3ba09 Use custom invocation instead of provided script 2022-07-09 11:39:23 +02:00
Julian-Samuel Gebühr 59806ec3ea Fix typo in variable name 2022-07-09 11:25:35 +02:00
Julian-Samuel Gebühr ab94cb279c Merge branch 'maubot_moanos' of https://github.com/moan0s/matrix-docker-ansible-deploy into maubot_moanos 2022-07-09 11:10:16 +02:00
Slavi Pantaleev f1b52b6796 Merge remote-tracking branch 'julianf/add-ntfy-role' 2022-07-08 18:03:15 +03:00
Chirayu Desai b5c7fd6051
mjolnir: v1.5.0
https://github.com/matrix-org/mjolnir/releases/tag/v1.5.0
2022-07-08 19:26:35 +05:30
Julian Foad 25b343c8c8 matrix-ntfy: without nginx, bind to 127.0.0.1:2586 2022-07-08 12:02:06 +01:00
ThellraAK 95959ff20b
Changed whatsapp logging variable name to match (#1920)
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1912

Co-authored-by: ThellraAK <ThellraAK@pop-os.localdomain>
Co-authored-by: Slavi Pantaleev <slavi@devture.com>
2022-07-07 07:54:03 +03:00
teutat3s 90269092bf
signald: 0.18.5 -> 0.20.0
https://gitlab.com/signald/signald/-/blob/main/releases/0.19.0.md
https://gitlab.com/signald/signald/-/blob/main/releases/0.19.1.md
https://gitlab.com/signald/signald/-/blob/main/releases/0.20.0.md
2022-07-06 11:57:24 +02:00
Slavi Pantaleev e074f9d4ed
Merge pull request #1919 from etkecc/patch-24
Update Synapse 1.61.1 -> 1.62.0
2022-07-05 18:26:48 +03:00
Aine fe347c85d9
Update Synapse 1.61.1 -> 1.62.0 2022-07-05 15:20:48 +00:00
Aine 95fd215521
Update element 1.10.15 -> 1.11.0 2022-07-05 15:11:52 +00:00
Slavi Pantaleev e4cbdd56d8 Merge remote-tracking branch 'julianf/add-ntfy-role' 2022-07-05 09:37:01 +03:00
3hhh 097c23c0b6
bots: make command_prefix configurable 2022-07-04 22:53:43 +02:00
Julian Foad e60d20dc6a matrix-ntfy: store settings in a config file 2022-07-04 21:30:29 +01:00
Julian Foad e119512c59 matrix-ntfy: add variable 'matrix_ntfy_base_url' 2022-07-04 15:32:13 +01:00
Julian Foad efe1f21f05 matrix-ntfy: fix and separate out uninstall tasks 2022-07-04 15:32:13 +01:00
Julian Foad 408e2e9b4e matrix-ntfy: remove almost-empty README.md 2022-07-04 15:32:13 +01:00
Julian Foad 3866fff5a8 matrix-ntfy: persist cache on disk 2022-07-04 15:32:13 +01:00
Julian Foad 763586e878 matrix-ntfy: add self-check 2022-07-04 15:32:13 +01:00
Julian Foad 85b12b74a7 matrix-ntfy: documentation 2022-07-04 15:32:07 +01:00
Julian Foad 2a516a16fb matrix-ntfy: enable WebSocket proxying 2022-07-04 15:31:37 +01:00
Julian Foad ec9f8e2931 Add a role to install 'ntfy' push-notification server.
This commit adds a 'matrix-ntfy' role that runs Ntfy server in Docker with
simple configuration, and plumbing to add the role to the playbook.

TODO: documentation, self-check, database persistence.
2022-07-04 15:31:29 +01:00
Slavi Pantaleev 2e4fad6194 Use 127.0.0.1 instead of localhost for federation API when nginx disabled
`localhost` may resolve to `::1` on some IPv6-enabled systems, which will
not work, because we only potentially expose container ports on
`127.0.0.1` when nginx is disabled (`matrix_nginx_proxy_enabled: false`),
not on `::1`.

Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1914
2022-07-02 15:02:35 +03:00
Kabir Kwatra c3f85ae827 feat(jitsi+arm64): Enable Jitsi on arm64
fixes spantaleev/matrix-docker-ansible-deploy#1889

Support for arm64 images tracked in jitsi/docker-jitsi-meet#1214 and added in jitsi/docker-jitsi-meet#1269
2022-07-01 07:56:09 -07:00
ThellraAK 1c8f21c738 Adding logging configuration and default to the rest of the mautrixes that don't have them 2022-07-01 04:05:28 -08:00
Slavi Pantaleev a6a5f79a6f Relocate matrix_mautrix_facebook_logging_level in defaults/main.yml
Improvement to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1909
2022-07-01 14:32:42 +03:00
Slavi Pantaleev 71006393e0 Default mautrix-facebook to WARNING loggers by default
Overlooked in https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1909
2022-07-01 14:31:28 +03:00
ThellraAK 06e51b06f1
Adding logging variable for facebook and setting it's default (#1909)
Co-authored-by: ThellraAK <ThellraAK@pop-os.localdomain>
Co-authored-by: Slavi Pantaleev <slavi@devture.com>
2022-07-01 14:22:02 +03:00
Slavi Pantaleev 95ca182ab5 Remove outdated logging configuration from Dimension
Related to 123a45bb21

Provoked by https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1879

Not sure how bot-sdk's logging level can be adjusted. Seems like
Dimension now hardcodes `LogService.setLevel(LogLevel.DEBUG);` in its
startup code.
2022-06-30 12:10:36 +03:00
Slavi Pantaleev 5642c425ac
Merge pull request #1905 from aaronraimist/hydrogen-self-check
Fix Hydrogen self check
2022-06-29 18:14:26 +03:00
Aaron Raimist 6a99b3d532
Fix Hydrogen self check
Thanks to Julian for pointing this out
2022-06-29 15:09:29 +00:00
Stuart Mumford 320978cdf5 Enable setting database URI and other things 2022-06-29 13:17:03 +00:00
Stuart Mumford 6cc92854df enable setting database URL 2022-06-29 12:37:29 +00:00
Slavi Pantaleev c15bf2e019 Upgrade Grafana (9.0.1 -> 9.0.2) 2022-06-29 08:42:55 +03:00
Slavi Pantaleev c614b61e01 Fix mautrix-signal permissions configuration
Fixup for https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1899
2022-06-28 17:54:00 +03:00
Julian-Samuel Gebühr 9d06ece5a4 Merge branch 'master' of https://github.com/spantaleev/matrix-docker-ansible-deploy into maubot_moanos 2022-06-28 16:33:46 +02:00
Slavi Pantaleev bff35926dc Upgrade Synapse (v1.61.0 -> v1.61.1) 2022-06-28 17:13:19 +03:00
Aine 5b38ee5371
add missing retry to the apache docker image pull 2022-06-28 08:27:57 +00:00
Aine 23ed70a6bb
fix typo 2022-06-27 11:38:21 +00:00
Slavi Pantaleev e27ecd6e76
Add matrix_admin example 2022-06-27 11:02:10 +03:00
Aine 44f2234c99
define matrix_admin in matrix-base 2022-06-27 10:34:04 +03:00
Aine 00192f6e94
mautrix-instagram, mautrix-signal: set delivery_error_reports: true 2022-06-26 21:19:56 +03:00
Aine cd88c06994
mautrix-twitter: update defaults 2022-06-26 21:16:43 +03:00
Aine ed8ef0d1f8
mautrix-telegram: update defaults 2022-06-26 21:09:31 +03:00
Aine 55d8e3dfdd
mautrix-based bridges: add matrix_admin 2022-06-26 21:03:21 +03:00
Aine d426dbbc32
missing var 2022-06-26 20:41:23 +03:00
Aine 2689a0981a
mautrix-based bridges - set log level = warn(ing) 2022-06-26 20:31:51 +03:00
Aine 5801017df0
mx-puppet-bridges - set log level = warn, set presence interval = 5s 2022-06-26 20:16:09 +03:00
Aine c71fea70d3
matrix-prometheus feedback 2022-06-26 12:01:57 +03:00
Aine 1542e8bca0
Update roles/matrix-prometheus/templates/systemd/matrix-prometheus.service.j2
Co-authored-by: Slavi Pantaleev <slavi@devture.com>
2022-06-26 06:59:46 +00:00
Aine 574f57c82c
expose prometheus process args 2022-06-26 08:41:22 +03:00
Slavi Pantaleev fcf1ca2792
Merge pull request #1896 from etkecc/patch-19
Update Grafana (8.5.3 -> 9.0.1)
2022-06-25 22:32:40 +03:00
Aine c793fc5ff0
Update Prometheus (v2.33.3 -> v2.36.2) 2022-06-25 18:07:30 +00:00
Aine b784f88af5
Update Grafana (8.5.3 -> 9.0.1) 2022-06-25 18:06:35 +00:00
Slavi Pantaleev 83f1574a08 Upgrade exim-relay (4.95-r0-2 -> 4.95-r0-4) 2022-06-25 19:06:14 +03:00
Julian-Samuel Gebühr 9ed70188dd Use safer |to_json 2022-06-25 09:47:32 +02:00
Julian-Samuel Gebühr 2e5ad5cbe9 Remove unused variable 2022-06-25 09:46:19 +02:00
Julian-Samuel Gebühr a295ec3e3d Change to matrix_bot_maubot_bot_server_public
This shall indicate that the public url of maubot is here configured the same as matrix_server_fqn_matrix but this must not be the case.
In the config I used the matrix fqnd directly as this part of the config is directly bound to the homeserver we want to connect to (but can not use the internal)
2022-06-25 09:44:24 +02:00
Julian-Samuel Gebühr 64fbc5ff87 Replace spaces with tabs 2022-06-25 08:50:22 +02:00
Julian-Samuel Gebühr 7baf477c16 Remove unnecessary variable
The /data is hardcoded in the container
2022-06-24 18:21:13 +02:00
Julian-Samuel Gebühr 90447a2839 Use correct registration secret 2022-06-24 18:19:23 +02:00
Julian-Samuel Gebühr a289116140
Use tagged release
Co-authored-by: Slavi Pantaleev <slavi@devture.com>
2022-06-24 18:07:09 +02:00
Julian-Samuel Gebühr 2e2e5048ca Merge branch 'maubot_moanos' of https://github.com/moan0s/matrix-docker-ansible-deploy into maubot_moanos 2022-06-24 18:01:58 +02:00
Julian-Samuel Gebühr 2f167f2122 Rename docker container to matrix-bot-maubot 2022-06-24 18:01:51 +02:00
Julian-Samuel Gebühr 6d1650c834
Remove config dir
Co-authored-by: Slavi Pantaleev <slavi@devture.com>
2022-06-24 17:59:45 +02:00
Julian-Samuel Gebühr ba0caf395a
Create dckr-src file path only when neccessary
Co-authored-by: Slavi Pantaleev <slavi@devture.com>
2022-06-24 17:58:50 +02:00
Julian-Samuel Gebühr 6ed105b830 Rename service from matrix-maubot to matrix-bot-maubot 2022-06-24 17:54:57 +02:00
Julian-Samuel Gebühr d5c82a5221 Remove logging to /var/log and make readonly 2022-06-24 17:36:53 +02:00
Julian-Samuel Gebühr 2309a61cb0 Fix minor naming issue 2022-06-24 13:15:34 +02:00
Julian-Samuel Gebühr 2f1d78fa48 Make true and false lowercase 2022-06-24 12:45:19 +02:00
Julian-Samuel Gebühr 0ea146930b Make exposing management UI configurable 2022-06-24 12:39:51 +02:00
Julian-Samuel Gebühr 8806598f51 Add option to proxy management UI (now defaults to false) 2022-06-24 12:29:06 +02:00
Julian-Samuel Gebühr d7eb2d097f Fix yamllint (emptylines) 2022-06-24 11:58:10 +02:00
Julian-Samuel Gebühr 4d40b61a51 Fix config error, add nginx 2022-06-24 11:50:52 +02:00
Slavi Pantaleev 569b52f0c1 Document how the systemd node-exporter collector can be made to work 2022-06-24 08:33:17 +03:00
Julian-Samuel Gebühr 1316656998 Rename to bot_maubot and fix permission error 2022-06-23 21:58:03 +02:00
Julian-Samuel Gebühr eb25d54246 Merge branch 'master' of https://github.com/spantaleev/matrix-docker-ansible-deploy into node_postgres_reverse_proxy 2022-06-23 20:45:13 +02:00
Julian-Samuel Gebühr d24cb7db6f Initial maubot commit 2022-06-23 20:24:52 +02:00
Slavi Pantaleev 37d7e75e9b Add support for passing extra arguments to prometheus-node-exporter 2022-06-23 20:37:56 +03:00
Slavi Pantaleev 1727ecd888 Make yamllint happy (take 2)
> Error:   19:3      error    wrong indentation: expected 4 but found 2  (indentation)
2022-06-23 18:00:32 +03:00
Slavi Pantaleev 9aab7f9c37 Make yamllint happy
Fixup for ba51997f7b
2022-06-23 17:57:59 +03:00
Slavi Pantaleev ba51997f7b (BC Break) Redo how metrics are exposed to external Prometheus servers 2022-06-23 17:55:07 +03:00
Slavi Pantaleev a3a6e14f7b Add matrix_nginx_proxy_proxy_synapse_metrics_addr_{with,sans}_container variables to defaults
We redefine these variables in `group_vars/matrix_servers`, but it's better
to have some defaults in the role as well.
2022-06-22 23:04:27 +03:00
Slavi Pantaleev 2e68c9963b Fix matrix-prometheus-postgres-exporter port number in some comments 2022-06-22 22:50:43 +03:00
Slavi Pantaleev f4cf7b9cc1 Remove unused variable (matrix_nginx_proxy_synapse_workers_enabled_list) definition 2022-06-22 22:17:51 +03:00
Slavi Pantaleev f943e82384 Upgrade Certbot (1.27 -> 1.28) 2022-06-22 14:44:12 +03:00
Slavi Pantaleev 5963a387f0 Upgrade Postgres (14.3 -> 14.4) 2022-06-22 14:43:55 +03:00
Aine 970afa4578
Update Buscarron 1.1.0 -> 1.2.0 2022-06-21 00:02:17 +03:00
Julian-Samuel Gebühr f57aed8e01 Add a setting to make nginx forward node_exporter and postgres_exporter 2022-06-20 21:32:03 +02:00
David Mehren f6a73231ab
Synapse workers should respect X-Forwarded headers
Currently, Synapse workers ignore the X-Forwarded headers, which leads to internal Docker IP addresses randomly appearing in the users' device list.

This adds the `x_forwarded: true` option to the worker config, fixing the issue.
2022-06-18 16:13:08 +02:00
Slavi Pantaleev 38027e72f6 Fix "object of type 'NoneType' has no len()" error
Fixup for 5eff67371d - https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1884
2022-06-17 15:45:29 +03:00
Slavi Pantaleev 7440dd34fb
Merge pull request #1884 from etkecc/master
add synapse media_retention
2022-06-17 15:31:55 +03:00
Slavi Pantaleev 5987589436
Use |to_json 2022-06-17 15:30:22 +03:00
Slavi Pantaleev 323f5aa60d Synchronize homeserver.yaml config with the one from Synapse 1.61.0 2022-06-17 15:26:23 +03:00
Aine 5eff67371d
add synapse media_retention 2022-06-17 14:32:17 +03:00
Aine 7b0e5ef995
Update mautrix-whatsapp 0.4.0 -> 0.5.0 2022-06-16 14:55:11 +00:00
Slavi Pantaleev 6a573399ae Upgrade Synapse (v1.60.0 -> v1.61.0) 2022-06-14 17:15:27 +03:00
Slavi Pantaleev 37b584ef58 Upgrade matrix-corporal (2.2.3 -> 2.3.0)
matrix-corporal 2.3.0 supports Synapse v1.61.0 (which removed
communities/groups support).
2022-06-14 17:15:27 +03:00
Aine b2f9ede87c
Update Element v1.10.14 -> v1.10.15 2022-06-14 13:45:46 +00:00
Vladimir Panteleev a3d19ad318
Add Go Skype Bridge
Based on mautrix-whatsapp, as that's what the bridge software is based on.
2022-06-12 21:29:43 +00:00
3hhh cebbe0beec
whatsapp bridge: set the default log level to warning
Debug logs are inappropriate for production use.
2022-06-11 08:11:28 +02:00
3hhh 6b94ccbcff
whatsapp bridge: add matrix_mautrix_whatsapp_log_level
Fixes #1873
2022-06-11 08:09:57 +02:00
3hhh 39914881a7
whatsapp bridge: disable logging to external files
The same logs still go to the systemd journal.
2022-06-11 07:56:22 +02:00
Slavi Pantaleev 99c24ef0e8 Upgrade Hookshot (1.7.2 -> 1.7.3) 2022-06-09 20:52:56 +03:00
Slavi Pantaleev 12b28a4749 Upgrade Hookshot (1.7.0 -> 1.7.2) 2022-06-09 14:13:53 +03:00
Slavi Pantaleev 4a72c90a6b Upgrade Element (v1.10.13 -> v1.10.14) 2022-06-07 14:34:02 +03:00
Ruben Hias fc38f4a6a9 Updated mautrix-googlechat to v0.3.3 2022-06-06 11:27:10 +02:00
roughnecks c05e78fc9a Fix string null in status_endpoint 2022-06-02 16:52:15 +02:00
Slavi Pantaleev 8ea7cd73cf Fix self-building for matrix-registration
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1864

Related to https://github.com/zeratax/matrix-registration/issues/93

This is a poor way to do things though. It may break again in the future.
matrix-registration is a poorly maintained project and should likely be removed from the playbook.
2022-06-01 09:43:31 +03:00
Aine 25fd7f0cff
update Honoroit 0.9.8 -> 0.9.9 2022-05-31 20:32:10 +03:00
Slavi Pantaleev 2c1da0ac2a Switch matrix_encryption_disabler back to upstream repository
Now that https://github.com/digitalentity/matrix_encryption_disabler/pull/9
has been merged, we can get the module from there.

Continuation of 246c43be1e
2022-05-31 17:35:22 +03:00
Slavi Pantaleev 246c43be1e Upgrade Synapse (v1.59.1 -> v1.60.0) 2022-05-31 17:24:38 +03:00
Slavi Pantaleev 78204619ea Stop using deprecated (in Synapse v1.59) user_dir and appservice workers
Source: https://github.com/matrix-org/synapse/blob/v1.59.0/docs/upgrade.md#deprecation-of-the-synapseappappservice-and-synapseappuser_dir-worker-application-types

As an alternative, we should probably find a way to run one or a few
more generic workers (which will handle appservice and user_dir stuff) and
update `homeserver.yaml` so that it would point to the name of these workers using
`notify_appservices_from_worker` and `update_user_directory_from_worker` options.

For now, this solves the deprecation, so we can have a peace of mind
going forward.

We're force-setting these worker counts to 0, so that we can clean up
existing homeservers which use these worker types. In the future, these
options will either be removed or repurposed (so that they transparently
create more generic workers that handle user_dir/appservice loads).
2022-05-31 16:35:50 +03:00
Aine fd3a9b2fbb
Update Honoroit 0.9.7 -> 0.9.8
* add `NOENCRYPTION` option
* fix race condition on thread start
* fix greetings messages
* updated deps
2022-05-31 09:20:49 +00:00
Aine 2e527338d3
Update Cinny 2.0.3 -> 2.0.4 2022-05-29 08:23:17 +00:00
Aine f60eb72329
Updated signal daemon 0.18.1 -> 0.18.5 2022-05-25 09:00:32 +00:00
Aine e37bcd1daf
Updated Element 1.10.12 -> 1.10.13 2022-05-24 14:14:41 +00:00
Aine f448cca732
Update coturn 4.5.2-r11 -> 4.5.2-r12 2022-05-24 11:26:01 +00:00
Slavi Pantaleev 63c755b115
Merge pull request #1837 from Lyokovic/vicx/fix-ldap-simple-bind
Fix synapse LDAP simple bind config
2022-05-24 10:40:28 +03:00
Erick Wibben 3b40d8b0a0
Update Matrix-Registration-Bot main.yml
Line 10, which sets the tag to which docker version to pull was reverted from `v1.1.15` to latest. This gets the playbook working again
2022-05-21 10:24:27 -05:00
Slavi Pantaleev 271a8d0a73 Upgrade certbot (v1.23.0 -> v1.27.0) 2022-05-21 10:20:56 +03:00
Slavi Pantaleev 746a25fabf
Merge pull request #1838 from GoliathLabs/matrix-registration-bot
Set version to v1.1.5
2022-05-20 21:36:13 +02:00
Slavi Pantaleev 62f7bd3780
Merge pull request #1840 from GoliathLabs/matrix-mautrix-googlechat
Updated: mautrix-googlechat to v0.3.2
2022-05-20 21:35:50 +02:00
Slavi Pantaleev f46f288492
Merge pull request #1845 from GoliathLabs/grafana
Updated: grafana to 8.5.3
2022-05-20 21:35:24 +02:00
Slavi Pantaleev 612c64e009
Merge pull request #1844 from GoliathLabs/etherpad
Updated: etherpad to 1.8.18
2022-05-20 21:34:57 +02:00
Slavi Pantaleev 615417b87f
Merge pull request #1843 from GoliathLabs/linuxserver-ddclient
Updated: ddclient to v3.9.1-ls89
2022-05-20 21:34:25 +02:00
Slavi Pantaleev d1651f3f60
Merge pull request #1842 from GoliathLabs/hydrogen-web
Updated: hydrogen-web to v0.2.29
2022-05-20 21:34:01 +02:00
Slavi Pantaleev 4abce49cd6
Merge pull request #1841 from GoliathLabs/mautrix-twitter
Updated: mautrix-twitter to v0.1.4
2022-05-20 21:33:32 +02:00
GoliathLabs 9c24167b8d Updated: grafana to 8.5.3 2022-05-20 20:32:19 +02:00
GoliathLabs 64850531ba Updated: etherpad to 1.8.18 2022-05-20 20:30:06 +02:00
GoliathLabs 554615d727 Updated: ddclient to v3.9.1-ls89 2022-05-20 20:28:01 +02:00
GoliathLabs 2c312435c6 Reverted URL change 2022-05-20 20:25:41 +02:00
GoliathLabs 8a65e3a0db Updated: hydrogen to v0.2.29 2022-05-20 20:24:56 +02:00
GoliathLabs e779ec45f4 Updated: hydrogen-web to v0.2.29 2022-05-20 20:24:38 +02:00
GoliathLabs d804e97ff6 Updated: mautrix-twitter to v0.1.4 2022-05-20 20:19:58 +02:00
GoliathLabs 751a8f8a5d Updated: mautrix-googlechat to v0.3.2 2022-05-20 20:16:04 +02:00
GoliathLabs 275943c0f8 Updated: mjolnir v1.4.2 2022-05-20 20:03:59 +02:00
GoliathLabs 0c741e8d16 Set version to v1.1.5 2022-05-20 19:58:22 +02:00
Vicx a906fad12e Fix synapse LDAP simple bind config
When using LDAP simple bind, the `bind_dn` and `bind_password`
configuration values must not be present.
2022-05-20 19:09:16 +02:00
Slavi Pantaleev c945f38c52
Merge pull request #1818 from paulRbr/bridge-mautrix-signal-encryption
Bridge mautrix signal and mautrix whatsapp encryption
2022-05-18 14:50:26 +02:00
Slavi Pantaleev 677a2fc503 Fix compatibility with ansible=6 / ansible-core=2.13
Details here: https://docs.ansible.com/ansible/devel/porting_guides/porting_guide_6.html#id36

Basically:

```yaml
- name: Prior to 2.13
  debug:
    msg: '[1] + {{ [2] }}'

- name: 2.13 and forward
  debug:
    msg: '{{ [1] + [2] }}'
```

Interestingly, we had been using the new/safe syntax in lofs of places.

We were using the broken one in many others though. Hopefully all
instances were fixed by this patch.
2022-05-18 15:43:39 +03:00
Slavi Pantaleev 98fecf95a6
Merge pull request #1836 from etkecc/patch-11
Update Synapse v1.59.0 -> v.1.59.1
2022-05-18 14:09:59 +02:00
Slavi Pantaleev a1e5ecf551 Upgrade hookshot (1.6.1 -> 1.7.0)
This new version should be buildable on arm64.

See: https://github.com/matrix-org/matrix-hookshot/releases/tag/1.7.0

There's still no prebuild arm64 image, so we continue relying on
self-building there.
2022-05-18 14:43:16 +03:00
Aine de8d6f8d6c
Update Synapse v1.59.0 -> v.1.59.1 2022-05-18 11:37:34 +00:00
Paul B e1e83353b4
bridge-whatsapp: add variable to enable end-to-bridge encryption 2022-05-18 13:14:22 +02:00
Paul B 99de38280d
bridge-signal: add variable to enable encryption 2022-05-18 13:14:20 +02:00
Slavi Pantaleev 468d492fd4
Merge pull request #1831 from etkecc/patch-9
Update Postgres (CVE-2022-1552 + last 9.x update)
2022-05-18 12:32:28 +02:00
Aine 4297af5c51
Update mautrix-whatsapp v0.3.1 -> v0.4.0 2022-05-18 10:19:43 +00:00
Toni Spets 2cce91fe1d
Upgrade Heisenbridge (1.12.0 -> 1.13.0) 2022-05-18 12:38:07 +03:00
Slavi Pantaleev f972a80224 Upgrade Synapse (1.58.1 -> 1.59.0) 2022-05-17 13:08:17 +03:00
Slavi Pantaleev bab1ee2233 Work around mx-puppet-discord failing with "No relay found" after reboot
Related to https://gitlab.com/mx-puppet/discord/mx-puppet-discord/-/issues/117

Looks like the bridge is too quick to start and fails to initialize
itself by connecting to Synapse. It's mostly observed after a system
reboot, because Synapse (and everything else) is slower to start.

Once mx-puppet-discord fails to initialize itself, a "No relay found"
error will be observed any time you try to relay a Matrix message to
Discord. Relaying messages in the other direction (Discord to Matrix)
also fails.

With this workaround (longer delay on mx-puppet-discord startup), I
observe mx-puppet-discord working well, even after a full reboot.
Of course, a proper fix is preferable, instead of delaying by a magic
number of seconds.
2022-05-17 11:34:00 +03:00
Aine 4109dc3bcd
Update Postgres (CVE-2022-1552 + last 9.x update)
CVE: https://security-tracker.debian.org/tracker/CVE-2022-1552
Source: https://www.postgresql.org/about/news/postgresql-143-137-1211-1116-and-1021-released-2449/
Postgres 9.6 upgrade (**not a CVE fix, 9.x still vulnerable**): https://www.postgresql.org/docs/release/9.6.24/
2022-05-16 19:56:54 +00:00
Slavi Pantaleev f21269f441
Upgrade mx-puppet-slack (v0.1.1 -> v0.1.2)
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1829
2022-05-16 21:40:31 +03:00
Slavi Pantaleev 99931af532
Merge pull request #1825 from dsonck92/change-to-upstream
Change back to working original mx-puppet-slack
2022-05-16 07:39:00 +02:00
Aaron Raimist 2a9b52a1c2
Update Element self build repo URL
It forwards to the correct place but might as well just update it to the current URL.
2022-05-16 04:29:29 +00:00
Aine c58c7dc643
Update Cinny v2.0.2 -> v2.0.3 2022-05-15 05:45:07 +00:00
Daniel Sonck 894669eca2 Change back to working original mx-puppet-slack
Now that v0.1.1 is out, which depends on the functional matrix-slack-parser
it works again.
2022-05-14 21:09:54 +02:00
Aine dca593cf7a
Update Cinny v2.0.1 -> v2.0.2 2022-05-14 11:33:19 +00:00
Aine 8ec1f4bee0
Update Cinny v2.0.0 -> v2.0.1 2022-05-13 16:20:04 +00:00
Didier 'OdyX' Raboud eda75e6492
Bump Slack Appservice to 1.11.0 2022-05-11 10:47:00 +02:00
Aine d09934c79c
matrix-bot-buscarron - set defaults 2022-05-10 18:44:20 +03:00
Aine 9997ca4dbd
Merge branch 'spantaleev:master' into master 2022-05-10 15:39:34 +00:00
Aine 8c505e8a2c
matrix-bot-buscarron v1.1.0 2022-05-10 18:38:57 +03:00
Aine 02d4a841c4
Update Element 1.10.11 -> 1.10.12 2022-05-10 14:31:41 +00:00
Aine 62cb801878
Update cinny v1.8.2 -> v2.0.0 2022-05-10 13:57:12 +00:00
Slavi Pantaleev 9fc60d8c86 Revert "Change back to original mx-puppet-slack"
This reverts commit fcfd00bcb4.

Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1808

Reverts https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1809

Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1810
2022-05-10 16:20:44 +03:00
Daniel Sonck fcfd00bcb4 Change back to original mx-puppet-slack
Closes: #1808
2022-05-09 23:38:01 +02:00
Slavi Pantaleev 25302ed142
Merge pull request #1802 from dsonck92/change-to-upstream
Change back to original mx-puppet-discord
2022-05-08 07:35:11 +02:00
Slavi Pantaleev e62123ac13
Merge pull request #1804 from HarHarLinks/feeds
Add hookshot feeds config support
2022-05-08 07:10:40 +02:00
HarHarLinks 7390646cd5 add hookshot feeds support 2022-05-07 18:42:15 +02:00
Kim Brose 84ea5f6ecc
Upgrade Hookshot (1.5.0 -> 1.6.1) 2022-05-07 14:34:33 +02:00
Daniel Sonck 3f45805fd2 Change back to original mx-puppet-discord
Closes: #1801
2022-05-07 12:40:17 +02:00
Slavi Pantaleev 83b7fcee45 Do not proxy some endpoints to the generic Synapse worker
These endpoints should not be proxied to a generic Synapse worker
without other preparation (setting up stream writers, sending traffic
to a specific stream writer, etc.).

Disabling them for now. In the future, we'd like to fix up our awk
script to disable them automatically.

This is a fix up for 058fedff91
2022-05-07 09:39:19 +02:00
Slavi Pantaleev 058fedff91 Fix "endpoint seems conditional" determination in workers-doc-to-yaml.awk"
This prevented us from keeping our workers reverse-proxying definitions
updated since Synapse v1.54.0.

The last `workers.md` file we could parse is at commit
02632b3504ad4512c5f5a4f859b3fe326b19c788.
Parsing regressed at commit c56bfb08bc071368db23f3b1c593724eb4f205f0,
because the introduction message for `synapse.app.generic_worker` said
"If":

> If a worker is set up to handle a..

.. which made the AWK script think that definitions below were
conditional (which they're not in this case).

This patch fixes up the regex for determining if a line is conditional
or not, so that it doesn't trip up. Hopefully, it doesn't miss something
important.
2022-05-06 09:08:45 +02:00
Slavi Pantaleev 549e4418b9 Upgrade Synapse (1.58.0 -> 1.58.1) 2022-05-06 08:56:06 +02:00
Slavi Pantaleev 1439be2743 Upgrade matrix-appservice-irc (0.33 -> 0.34)
Related to https://matrix.org/blog/2022/05/04/0-34-0-security-release-for-matrix-appservice-irc-high-severity
2022-05-04 11:10:00 +03:00
Slavi Pantaleev 03674e1a36 Upgrade Synapse (1.57.1 -> 1.58.0) 2022-05-03 14:32:32 +03:00
Slavi Pantaleev 7adc167412 Fail if trying to use Jitsi on an architecture other than amd64
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1797
2022-05-03 08:10:18 +03:00
Brandon Kraft 7776c2e0bb
Upgrade to Grafana 8.5.1
https://grafana.com/docs/grafana/latest/release-notes/release-notes-8-5-1/
https://grafana.com/docs/grafana/latest/release-notes/release-notes-8-5-0/
https://grafana.com/docs/grafana/latest/release-notes/release-notes-8-4-7/
https://grafana.com/docs/grafana/latest/release-notes/release-notes-8-4-6/
https://grafana.com/docs/grafana/latest/release-notes/release-notes-8-4-5/
https://grafana.com/docs/grafana/latest/release-notes/release-notes-8-4-4/
https://grafana.com/docs/grafana/latest/release-notes/release-notes-8-4-3/
https://grafana.com/docs/grafana/latest/release-notes/release-notes-8-4-2/
2022-05-02 12:37:56 -05:00
Aine 1ee118bd49
matrix-change-user-admin-status: do not allocate tty 2022-04-26 17:48:28 +00:00
Aine 4f1f3555f2
Update element 1.10.10 -> 1.10.11 2022-04-26 16:10:36 +00:00
Slavi Pantaleev e41fcf2746 Fix file name (vars.yaml -> vars.yml) to prevent confusion 2022-04-26 15:44:07 +03:00
Slavi Pantaleev 49da9c76ac
Merge pull request #1782 from etkecc/matrix-bot-buscarron
add matrix-bot-buscarron
2022-04-25 09:44:35 +03:00
Slavi Pantaleev 8014979ddb
Merge pull request #1780 from Shaps/nginx-proxy-configure-httpasswd
Make synapse htpasswd file path configurable
2022-04-25 09:43:29 +03:00
Slavi Pantaleev 4a0b839768
Automatically do the right thing with regards to Synapse Metrics htpasswd
.. regardless of whether matrix-nginx-proxy runs in a container or not
2022-04-25 09:42:36 +03:00
Aine c92af9fe89
matrix-bot-buscarron: feedback 2022-04-25 09:40:49 +03:00
Sekki21956 2d21a70b3e Update path to signald Dockerfile 2022-04-25 02:05:13 +02:00