Slavi Pantaleev
51ab9ed9ff
Adjust lstrip_blocks
to use a bool
value for compatibility with ansible-core>=2.19.0
...
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/4445
2025-07-26 17:58:12 +03:00
Slavi Pantaleev
a1f6ee4dc9
Improve compatibility with ansible-core>=2.19.0 by not reaching into vars
...
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/4445
2025-07-26 17:50:20 +03:00
renovate[bot]
eb067b7536
Update dock.mau.dev/mautrix/discord Docker tag to v0.7.5
2025-07-17 06:29:47 +03:00
Benjamin Blacher
15ed07d970
Update mautrix-discord, add support for msc4190
2025-06-16 22:59:55 +03:00
Slavi Pantaleev
3ee7deb2d7
Rename variable (matrix_user_groupname
-> matrix_group_name
)
2025-04-29 10:39:41 +03:00
Slavi Pantaleev
9fc5cdab33
Rename variable (matrix_user_username
-> matrix_user_name
)
2025-04-29 10:39:41 +03:00
Slavi Pantaleev
98e4f369b7
Add receive_ephemeral
everywhere de.sorunome.msc2409.push_ephemeral
is used
...
Ref:
- 33f3ccd6ae/CHANGELOG.md (L134-L136)
- 7165d3fa58/appservice/registration.go (L30)
Intentionally not removing the old configuration setting yet, as some bridges may/do not support
the new setting name. It's likely just bridgev2 mautrix bridges that have been updated and support both right now.
2025-04-25 17:13:38 +03:00
HarHarLinks
8a4eb88f0d
fix yaml templating failing when bridge user displaynames contain emoji
...
Signed-off-by: HarHarLinks <2803622+HarHarLinks@users.noreply.github.com >
2025-04-25 17:00:00 +03:00
renovate[bot]
1317e5632a
Update dock.mau.dev/mautrix/discord Docker tag to v0.7.3
2025-04-16 16:08:52 +03:00
Suguru Hirahara
c18fc93a22
Update validate_config.yml files: edit the banner message for variables name
...
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org >
2025-03-05 13:30:50 +09:00
Suguru Hirahara
f6b74f9d30
Add license information to files for matrix-bridge-mautrix-discord
...
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org >
2025-03-01 16:04:15 +09:00
Slavi Pantaleev
c47eca389b
Rework all roles to include component_(docker|container)_image_registry_prefix*
variables
...
This:
- brings consistency - no more mixing `_name_prefix` and `_registry_prefix`
- adds extensibility - a future patch will allow reconfiguring all registry prefixes for all roles in the playbook
We still have `_docker_` vs `_container_` inconsistencies.
These may be worked on later.
2025-02-24 11:38:47 +02:00
Slavi Pantaleev
d12643eb91
Do not use docker stop --time
(deprecated in Docker v28 in favor of --timeout
or just -t
)
...
`-t` works on both old and new Docker versions, so it's best to use that.
2025-02-22 21:42:18 +02:00
Suguru Hirahara
e4e34333da
Update files for some mautrix bridges: add the common section "Troubleshooting"
...
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org >
2025-02-07 15:34:38 +09:00
Slavi Pantaleev
f8b779f8ed
Add trace
as a valid logging level option for mautrix bridges
...
bridgev2 mautrix bridges use https://github.com/tulir/zeroconfig for
logging, which does support `trace` as a logging level.
2025-01-05 09:47:57 +02:00
Slavi Pantaleev
cea437c844
Expose mautrix-discord's avatar proxy
...
Possibly fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/3900
This patch hasn't been tested.
2024-12-23 08:36:18 +02:00
Slavi Pantaleev
f1c238e732
Update mautrix-discord config to latest upstream sample and introduce a few new Ansible variables
...
Provoked by https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/3900
2024-12-23 08:20:56 +02:00
Slavi Pantaleev
beeb8a7933
Remove some "generate" values from various mautrix bridges
...
We do not let bridges update config files, so generation cannot happen.
We don't want the bridge to manage the config file anyway.
2024-12-17 12:00:39 +02:00
renovate[bot]
743417c6f1
chore(deps): update dock.mau.dev/mautrix/discord docker tag to v0.7.2
2024-12-16 21:34:39 +00:00
Slavi Pantaleev
34d1586f25
Actually make use of the matrix_mautrix_discord_bridge_double_puppet_server_map variable
2024-12-02 19:26:08 +02:00
renovate[bot]
9a1e08b2f0
Update dock.mau.dev/mautrix/discord Docker tag to v0.7.1
2024-11-16 16:33:50 +00:00
Suguru Hirahara
a4bfb9611e
Fix capitalization: conduit -> Conduit
...
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org >
2024-10-12 20:12:48 +09:00
Slavi Pantaleev
ec5e379672
Update old references to com.devture.ansible.role.postgres & com.devture.ansible.role.traefik
...
Provoked by https://github.com/mother-of-all-self-hosting/mash-playbook/pull/280
2024-10-07 08:46:33 +03:00
Slavi Pantaleev
8445843562
Switch postgres/postgres-backup Ansible role sources and adjust variable names (devture_postgres_ -> postgres_)
2024-09-27 09:37:24 +03:00
David Mehren
c89c356e53
Add a global config option for Docker network MTU ( #3502 )
...
* Add a global config option for Docker network MTU
* Upgrade systemd_docker_base (v1.2.0-0 -> v1.3.0-0)
The new version includes `devture_systemd_docker_base_container_networks_driver_options`
due to 3cc7d12396
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/3502
* Switch from passing matrix_playbook_docker_network_mtu to respecting devture_systemd_docker_base_container_networks_driver_options
Related to:
- 3cc7d12396
- https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/3502
* Update all roles to versions that respect `devture_systemd_docker_base_container_networks_driver_options`
---------
Co-authored-by: Slavi Pantaleev <slavi@devture.com >
2024-09-18 16:20:27 +03:00
Slavi Pantaleev
77c59aaea0
Add appservice-double-puppet double-puppeting support to mautrix-discord
...
Shared Secret Auth double puppeting still works for this bridge, but
is deprecated and will go away in the future.
2024-08-17 19:31:04 +03:00
renovate[bot]
e8181b92ad
chore(deps): update dock.mau.dev/mautrix/discord docker tag to v0.7.0
2024-07-16 15:13:15 +00:00
Slavi Pantaleev
9f2eff2ac7
Respect devture_systemd_docker_base_docker_service_name
...
Related to 0241c71a4c
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/3270#issuecomment-2143782962
With this change, it should be possible for people to adjust the Docker
dependency from `docker.service` to something else (e.g. `pkg-ContainerManager-dockerd.service`),
or to completely eliminate it by setting `devture_systemd_docker_base_docker_service_name` to an empty string.
This makes it easier for people to use the playbook against a Synology DSM server.
2024-06-04 13:14:34 +03:00
Slavi Pantaleev
3758b0cfeb
Squashed commit of the following:
...
commit cf8637efaca0a0be3609fd6add0dff893a0a9194
Author: Slavi Pantaleev <slavi@devture.com >
Date: Sun Mar 24 19:14:57 2024 +0200
Make devture_systemd_docker_base_ipv6_enabled automatically reconfigure geerlingguy/ansible-role-docker
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/3218
commit dc7af3bc7d25f321bf409477d823e43ea8a05803
Author: Slavi Pantaleev <slavi@devture.com >
Date: Sun Mar 24 19:10:31 2024 +0200
Replace matrix_ipv6_enabled with devture_systemd_docker_base_ipv6_enabled
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/3218
commit 07e900d6a2
Author: Slavi Pantaleev <slavi@devture.com >
Date: Sun Mar 24 19:01:51 2024 +0200
Improve matrix_ipv6_enabled comments
commit 3f03ca7f69
Author: Tilo Spannagel <development@tilosp.de >
Date: Sat Mar 9 19:27:50 2024 +0000
Add setting to enable ipv6
2024-03-24 19:15:43 +02:00
gardar
23aee07cf4
feat: global option to configure all bridges encryption default
...
Signed-off-by: gardar <gardar@users.noreply.github.com >
2024-03-24 02:58:03 +00:00
Slavi Pantaleev
2fa82b8bca
Disable media_patterns for mautrix-discord
...
Media didn't work before this patch, likely because this feature is broken:
> N.B. Discord now requires signed expiring download links, which means this solution no longer works. In the future, a more dynamic solution may be implemented where requests go to the bridge and the bridge and the bridge refetches the message if necessary.
Source: https://docs.mau.fi/bridges/go/discord/direct-media.html
Moreover, most users more likely don't want this behavior and would
prefer to keep a complete mirror of the media on Matrix, instead of
going through two 3rd party servers to fetch the media on demand.
The default config for the bridge
(https://github.com/mautrix/discord/blob/main/example-config.yaml )
actually does not enable it.
It seems like 4ed522e8fe
(https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/3133 )
lied to us as to what upstream does. Poor PR review lead to this
anti-feature making it into the playbook.
2024-02-18 07:53:39 +02:00
Slavi Pantaleev
243d828e50
Fix mautrix-discord config Jinja2 syntax error
...
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/3133
Regression since 4ed522e8fe
2024-01-25 07:35:16 +02:00
needo37
4ed522e8fe
Bring default config inline with upstream
2024-01-24 19:41:58 -06:00
renovate[bot]
f6c636b5e2
Update dock.mau.dev/mautrix/discord Docker tag to v0.6.5
2024-01-16 21:36:01 +00:00
Slavi Pantaleev
c0308307e2
Make homeserver services sleep after startup, instead of all dependencies sleeping separately
...
This is an attempt at optimizing service startup.
The effect is most pronounced when many services are restarted one by one.
The systemd service manager role sometimes does this - for example when `just install-service synapse` runs.
In such cases, a 5-second delay for each Synapse worker service
(or other bridge/bot service that waits on the homeserver) quickly adds up to a lot.
When services are all stopped fully and then started, the effect is not so pronounced, because
`matrix-synapse.service` starts first and pulls all worker services (defined as `Wants=` for it).
Later on, when the systemd service manager role "starts" these worker services, they're started already.
Even if they had a 5-second wait each, it would have happened in parallel.
2024-01-12 12:45:18 +02:00
Slavi Pantaleev
30d82cc651
Merge branch 'master' into bye-bye-nginx-proxy
2024-01-08 18:18:34 +02:00
Slavi Pantaleev
b6916d3adc
Add public_address to mautrix-discord
...
Related to https://github.com/mautrix/discord/issues/95
2024-01-08 18:16:02 +02:00
Slavi Pantaleev
7ec6fd3dfe
Make bridges/bots use matrix_addons_homeserver_client_api_url (instead of matrix_homeserver_container_url)
2024-01-07 17:04:23 +02:00
Slavi Pantaleev
20c7cabfe4
Switch mautrix-discord from matrix-nginx-proxy to matrix-homeserver-proxy
2024-01-02 17:22:23 +02:00
Slavi Pantaleev
2511b34a7c
Stop containers gracefully, instead of outright killing them
2023-12-06 11:52:23 +02:00
Aine
95c2db3bb3
mautrix: allow relay access by default, closes #3014
2023-11-29 13:32:14 +02:00
renovate[bot]
87bc059065
Update dock.mau.dev/mautrix/discord Docker tag to v0.6.4
2023-11-17 01:23:28 +00:00
Slavi Pantaleev
ec3b204541
Merge branch 'master' into renovate-config
2023-10-16 18:15:53 +03:00
Aine
7ba5dee782
Update mautrix-discord 0.6.2 -> 0.6.3
2023-10-16 14:45:15 +03:00
Samuel Meenzen
c846ed199b
Annotate version numbers with renovate metadata
2023-10-06 14:14:03 +02:00
Slavi Pantaleev
be94568524
Upgrade mautrix-discord (0.6.1 -> 0.6.2)
2023-09-16 19:50:36 +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
Slavi Pantaleev
c9a549b1f5
Upgrade mautrix-discord (0.6.0 -> 0.6.1)
2023-08-17 10:39:49 +03:00
Aine
ccc99d6c73
Update mautrix-discord 0.5.0 -> 0.6.0
2023-07-16 14:12:11 +03:00
Aine
bbe11f2612
Update mautrix-discord 0.4.0 -> 0.5.0
2023-06-16 16:11:06 +03:00