Slavi Pantaleev
3daf14d695
Add Ansible variables to control the `async_media` settings in (mautrix) bridges
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/4549
7 months ago
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
9 months ago
HarHarLinks
8a4eb88f0d
fix yaml templating failing when bridge user displaynames contain emoji
Signed-off-by: HarHarLinks <2803622+HarHarLinks@users.noreply.github.com>
1 year ago
Onestacked
5eb247b5bf
Add matrix_bridges_msc4190_enabled flag for using msc4190 on supported mautrix bridges. flag for using msc4190 on supported mautrix bridges. ( #4258 )
* Add matrix_bridges_msc4190_enabled flag for using msc4190 on supported mautrix bridges.
* Apply to_json to msc4190 in mautrix configs
* Add | to_json to mautrix bridge registration io.element.msc4190.
* require matrix_synapse_experimental_features_msc3202_device_masquerading_enabled for matrix_bridges_msc4190_enabled
* Also add msc4190 support for mautrix-telegram
1 year ago
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.
1 year ago
Suguru Hirahara
174b18be9a
Fix capitalization: id → ID
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
1 year ago
Slavi Pantaleev
01e5514c4b
Upgrade mautrix-meta (v0.3.2 -> v0.4.0) and adapt configuration
Related to:
- https://github.com/mautrix/meta/releases/tag/v0.4.0
- https://mau.fi/blog/2024-09-mautrix-release/
It seems like the new version does not support a `/metrics` endpoint.
We skip keep the Ansible variables, but they're not doing anything.
1 year ago
Aine
abbcd2188d
mautrix-meta: enable spaces; add a hint into the display name ( #3210 )
* mautrix-meta: enable spaces; add a hint into the display name
* use the meta mode to determine displayname suffix
* Allow for people to easily unset the mautrix-meta displayname suffix
Previously, unsetting `matrix_mautrix_meta_messenger_bridge_displayname_suffix`
or (`matrix_mautrix_meta_instagram_bridge_displayname_suffix`) variable would
make you end up witha trailing space in `displayname`.
It's possible that mautrix-meta trims this, but I haven't checked. It's
better not to risk it anyway.
---------
Co-authored-by: Slavi Pantaleev <slavi@devture.com>
2 years ago
Slavi Pantaleev
367af472ea
Add support for bridging to Facebook Messenger and Instagram via mautrix-meta
Related to: https://github.com/mautrix/facebook/issues/332
Fixes: https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/3138
2 years ago
needo37
193d20013f
Update Signal config.yaml.j2
Not sure why but the endraw is not working.
2 years ago
needo37
518615a979
Update signal config.yaml.j2 merging upstream changes ( #3164 )
* Update signal config.yaml.j2 merging upstream changes
* Add raw/endraw around displayname_template for mautrix-signal
---------
Co-authored-by: Slavi Pantaleev <slavi@devture.com>
2 years ago
Slavi Pantaleev
95e505106b
Restore matrix_mautrix_signal_appservice_bot_username usage
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/3088
Looks like the migration to the Go-based Signal bridge hardcoded the
`signalbot` username instead of using the variable we had.
Related to: https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/3041
2 years ago
Pierre 'McFly' Marty
5caf1fef1d
chore(deps): update signal bridge version + config ( #3084 )
* chore(deps): update signal bridge version + config
* style(deps): rename default note to self config variable
* Add to_json for additional safety
---------
Co-authored-by: Slavi Pantaleev <slavi@devture.com>
2 years ago
Slavi Pantaleev
d6911503a0
Move matrix-bridge-mautrix-signal to its own container network and add native Traefik support
2 years ago
Pierre 'McFly' Marty
a266da1b78
fix: space sync config
2 years ago
Slavi Pantaleev
fc151fed77
Add raw/endraw around problematic texts in matrix-bridge-mautrix-signal/templates/config.yaml
Fixes: https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/3082
Related to: https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/3079
2 years ago
IUCCA
0222e75c19
added new options to mautrix-signal config template
2 years ago
IUCCA
9c3d8687bf
added new options to mautrix-signal config template
2 years ago
Pierre 'McFly' Marty
91e39a58f7
feat: relay mode in signal
2 years ago
Pierre 'McFly' Marty
c93b642f90
doc: check typo
2 years ago
Pierre 'McFly' Marty
2f6525ccb3
refactor: remove signalgo and update signal to 'after merge'
2 years ago
Slavi Pantaleev
611a74bde2
Use |to_json in mautrix metrics configuration
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/2427
3 years ago
Adrien le Maire
691ef13cab
template metric toggle for mautrix bridges supporting it
3 years ago
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.
3 years ago
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.
3 years ago
3hhh
097c23c0b6
bots: make command_prefix configurable
3 years ago
ThellraAK
1c8f21c738
Adding logging configuration and default to the rest of the mautrixes that don't have them
3 years ago
Slavi Pantaleev
c614b61e01
Fix mautrix-signal permissions configuration
Fixup for https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1899
3 years ago
Aine
44f2234c99
define matrix_admin in matrix-base
3 years ago
Aine
00192f6e94
mautrix-instagram, mautrix-signal: set delivery_error_reports: true
3 years ago
Aine
55d8e3dfdd
mautrix-based bridges: add matrix_admin
3 years ago
Aine
2689a0981a
mautrix-based bridges - set log level = warn(ing)
3 years ago
Paul B
99de38280d
bridge-signal: add variable to enable encryption
4 years ago
László Várady
d1d68417ff
bridge-mautrix-signal: add option for creating non-federated rooms
4 years ago
László Várady
ba68d2ad36
Remove deprecated community options
"Community" support
- has been removed from mautrix/facebook in v0.3.3:
31cac6fb5e
- has been removed from mautrix/signal in v0.2.2:
1f27a608a6
- will be removed in the next mautrix/instagram release:
e2ae1ca503
- will be removed in the next mautrix/twitter release:
3893075265
4 years ago
Jan
20bc3eb24b
Update signal bridge configuration template
4 years ago
AtomHare
7d0ce01792
update links
4 years ago
Wolfgang Winter
b1c94efcd8
Make template generic for the pemission settings
4 years ago
Wolfgang Winter
7486db0d1a
Missing ticks
4 years ago
WobbelTheBear
f988fd3339
Change sequence of permissions
As per earlier comment (see from tulir) the sequence has been changed.
4 years ago
WobbelTheBear
d249fe874e
Update roles/matrix-bridge-mautrix-signal/templates/config.yaml.j2
Updated settings in template file:
* relay for any user
* user permissions only for HS domain users
Co-authored-by: Jan <31133207+Jaffex@users.noreply.github.com>
4 years ago
Wolfgang Winter
a34241e4cc
Remove intial permissions seting
Permissions, when set in the template, will be augmented rahter than replaced when using matrix_mautrix_signal_configuration_extension_yaml. Therefore, permissions shall only be set in the defaults/vars.yml or in the HS specific vars.yml file
4 years ago
Wolfgang Winter
e6b77284f2
Relay bot configurable + permissions
Enable / disable relay bot functionality as configuratoin paramter; set bridge permissions for base domain users to user level
4 years ago
Michael Collins
98e6cd685d
sync with previous repo
4 years ago
Jaffex
e90b33c4e3
Update matrix-mautrix-signal config to 0.2.0 to enable relay mode
4 years ago
teutat3s
0b5e903693
Updates to mautrix-signal config
See these last commits:
tulir/mautrix-signal@4fc34330c1f6947aece67863b0d04da34c776f80
tulir/mautrix-signal@64bc5c36a509ba435a0b01cf44afb1b5d2642efd
tulir/mautrix-signal@ddda1666d41d28750cc59d070e4388b24add6ad9
5 years ago
Slavi Pantaleev
f6097fbba1
E2BE not working for mautrix bridges
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/806
5 years ago
Slavi Pantaleev
3b524ee815
Make mautrix-signal bridge not log to files
We try to only use console logging (going to journald) for everything,
instead of logging things twice (or more).
5 years ago
Slavi Pantaleev
da2a6682b3
Get rid of matrix_mautrix_signal_configuration_permissions
While it's kind of nice having it, it's also somewhat raw
and unnecessary.
Having a good default and not even mentioning it seems better
for most users.
People who need a more exposed bridge (rare) can use
override the default configuration using
`matrix_mautrix_signal_configuration_extension_yaml`.
5 years ago
Sabine Laszakovits
84cac25c11
added config data_dir (else in ~, which isn't set)
5 years ago