HarHarLinks
8a4eb88f0d
fix yaml templating failing when bridge user displaynames contain emoji
Signed-off-by: HarHarLinks <2803622+HarHarLinks@users.noreply.github.com>
há 1 ano
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
há 1 ano
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.
há 1 ano
Slavi Pantaleev
34d1586f25
Actually make use of the matrix_mautrix_discord_bridge_double_puppet_server_map variable
há 1 ano
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.
há 2 anos
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
há 2 anos
needo37
4ed522e8fe
Bring default config inline with upstream
há 2 anos
Slavi Pantaleev
b6916d3adc
Add public_address to mautrix-discord
Related to https://github.com/mautrix/discord/issues/95
há 2 anos
Slavi Pantaleev
410a915a8a
Move roles/matrix* to roles/custom/matrix*
This paves the way for installing other roles into `roles/galaxy` using `ansible-galaxy`,
similar to how it's done in:
- https://github.com/spantaleev/gitea-docker-ansible-deploy
- https://github.com/spantaleev/nextcloud-docker-ansible-deploy
In the near future, we'll be removing a lot of the shared role code from here
and using upstream roles for it. Some of the core `matrix-*` roles have
already been extracted out into other reusable roles:
- https://github.com/devture/com.devture.ansible.role.postgres
- https://github.com/devture/com.devture.ansible.role.systemd_docker_base
- https://github.com/devture/com.devture.ansible.role.timesync
- https://github.com/devture/com.devture.ansible.role.vars_preserver
- https://github.com/devture/com.devture.ansible.role.playbook_runtime_messages
- https://github.com/devture/com.devture.ansible.role.playbook_help
We just need to migrate to those.
há 3 anos
Slavi Pantaleev
81f90f0ad1
Use |to_json for matrix_mautrix_discord_bridge_restricted_rooms
há 3 anos
Samuel Meenzen
1d024975d6
Automatically set restricted_rooms to false on conduit
há 3 anos
Samuel Meenzen
7cc3aae041
fix(mautrix-discord): allow configuring the restricted_rooms option
há 3 anos
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
há 3 anos
MdotAmaan
8621ff1379
Add Mautrix Discord Bridge
há 3 anos