Suguru Hirahara
ee976242e5
Add MatrixZulipBridge ( #4695 )
* Add links to MatrixZulipBridge
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
* Add MatrixZulipBridge: copy matrix-bridge-heisenbridge
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
* Rename matrix-heisenbridge.service.j2 to matrix-matrixzulipbridge.service.j2
- Add the license header to matrix-matrixzulipbridge.service.j2
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
* Replace "Heisenbridge" to "MatrixZulipBridge" to "heisenbridge" to "matrixzulipbridge", respectively
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
* Replace variables related to container image and version
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
* Update comments and copyright headers
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
* Update matrix-bridge-matrixzulipbridge/tasks/main.yml: add names to tasks
Reuse aa0591f8b0/tasks/main.yml
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
* Remove configuration for identd
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
* Add `matrix_matrixzulipbridge_container_http_port`
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
* Run ansible-lint for files in tasks/
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
* Update `matrix_matrixzulipbridge_registration_yaml`
Run `pip install matrixzulipbridge && python3 -m matrixzulipbridge --config config.yaml --generate` to generate config.yaml
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
* Add MatrixZulipBridge to files in group_vars
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
* Add configuring-playbook-bridge-matrixzulipbridge.md
Reuse b108c8a151/docs/configuring-playbook-bridge-heisenbridge.md
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
* Fix `matrix_matrixzulipbridge_config_media_path`
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
* Remove space characters
Signed-off-by: Suguru Hirahara <did🔑 z6MkvVZk1A3KBApWJXv2Ju4H14ErDfRGxh8zxdXSZ4vACDg5>
* Replace "matrixzulipbridge" with "zulip", etc.
Signed-off-by: Suguru Hirahara <did🔑 z6MkvVZk1A3KBApWJXv2Ju4H14ErDfRGxh8zxdXSZ4vACDg5>
* Remove irrelevant instruction
Signed-off-by: Suguru Hirahara <did🔑 z6MkvVZk1A3KBApWJXv2Ju4H14ErDfRGxh8zxdXSZ4vACDg5>
* MatrixZulipBridge → Zulip bridge
Signed-off-by: Suguru Hirahara <did🔑 z6MkvVZk1A3KBApWJXv2Ju4H14ErDfRGxh8zxdXSZ4vACDg5>
* Rename `@matrixzulipbridge` to `@zulipbot`
Signed-off-by: Suguru Hirahara <did🔑 z6MkvVZk1A3KBApWJXv2Ju4H14ErDfRGxh8zxdXSZ4vACDg5>
* Replace `matrix_bridge_zulip` with `matrix_zulip_bridge` for now
Refer to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/4695#discussion_r2485317210
Signed-off-by: Suguru Hirahara <did🔑 z6MkvVZk1A3KBApWJXv2Ju4H14ErDfRGxh8zxdXSZ4vACDg5>
* Set `{{ matrix_admin if matrix_admin else '' }}` to `matrix_zulip_bridge_owner`
Signed-off-by: Suguru Hirahara <did🔑 z6MkvVZk1A3KBApWJXv2Ju4H14ErDfRGxh8zxdXSZ4vACDg5>
* Apply the review
Signed-off-by: Suguru Hirahara <did🔑 z6MkvVZk1A3KBApWJXv2Ju4H14ErDfRGxh8zxdXSZ4vACDg5>
* Reuse the section about adjusting the playbook configuration on configuring-playbook-bridge-postmoogle.md
Reuse 7862fd7cdd/docs/configuring-playbook-bridge-postmoogle.md
Signed-off-by: Suguru Hirahara <did🔑 z6MkvVZk1A3KBApWJXv2Ju4H14ErDfRGxh8zxdXSZ4vACDg5>
* Update configuring-playbook.md: sort list items
Signed-off-by: Suguru Hirahara <did🔑 z6MkvVZk1A3KBApWJXv2Ju4H14ErDfRGxh8zxdXSZ4vACDg5>
---------
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
Signed-off-by: Suguru Hirahara <did🔑 z6MkvVZk1A3KBApWJXv2Ju4H14ErDfRGxh8zxdXSZ4vACDg5>
Co-authored-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
Co-authored-by: Suguru Hirahara <did🔑 z6MkvVZk1A3KBApWJXv2Ju4H14ErDfRGxh8zxdXSZ4vACDg5>
4 miesięcy temu
Slavi Pantaleev
3ee7deb2d7
Rename variable (`matrix_user_groupname` -> `matrix_group_name`)
11 miesięcy temu
Slavi Pantaleev
9fc5cdab33
Rename variable (`matrix_user_username` -> `matrix_user_name`)
11 miesięcy temu
Suguru Hirahara
d403a7e4ae
Add license information to files for matrix-bridge-heisenbridge
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
1 rok temu
Suguru Hirahara
2d36bf17d5
Fix capitalization: heisenbridge → Heisenbridge
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
1 rok temu
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>
1 rok temu
Slavi Pantaleev
9d11271d59
Initial (not yet enabled) work on Heisenbridge handling media requests at `matrix.DOMAIN/heisenbridge/*`
Related to:
- https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/3470
- https://github.com/hifi/heisenbridge/releases/tag/v1.15.0
During testing, it appears that Heisenbridge generated media URLs
that look like this: `{media_url}/_matrix/media/v3/download/DOMAIN/FILE_ID/FILE_NAME`.
This seems off. We were expecting `{media_url}/_heisenbridge/media/something`
(e.g. `https://matrix.DOMAIN/heisenbridge/_heisenbridge/media/something `, leading to its own media proxy),
but Heisenbridge still seems to be generating URLs destined for the homeserver's Media API.
Until we figure out why that is, `media_url` remains pointed to the homeserver URL (just like before),
so that the bot can continue operating like before.
1 rok temu
Slavi Pantaleev
3758b0cfeb
Squashed commit of the following:
commit cf8637efac
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 dc7af3bc7d
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
2 lat temu
Slavi Pantaleev
39e45b0298
Move matrix-bridge-heisenbridge to its own container network
2 lat temu
Slavi Pantaleev
2688e8bfc3
Optimize initial installation by not reloading systemd after each .service install
We expect `--tags=start` to handle systemd reloading, so we don't need
to do it manually each time we install/uninstall a .service file.
3 lat temu
Slavi Pantaleev
d3bd1ca024
matrix_*_retries_{count,delay} -> devture_playbook_help_*_retries_{count,delay}
3 lat temu
Slavi Pantaleev
835d2e9581
matrix_systemd_path -> devture_systemd_docker_base_systemd_path (via com.devture.ansible.role.systemd_docker_base)
3 lat temu
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 lat temu
Sebastian Gumprich
48388a3d96
use fqcns for some task
Signed-off-by: Sebastian Gumprich <github@gumpri.ch>
3 lat temu
Slavi Pantaleev
ddf18eadc7
More ansible-lint fixes
3 lat temu
Slavi Pantaleev
34cdaade08
Use fully-qualified module names for builtin Ansible modules
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1939
3 lat temu
Aine
2da3768b20
Added retries to the docker pulls ( #1701 )
4 lat temu
Aine
701591e87e
Added retries to the docker pulls
4 lat temu
Jim Myhrberg
eeca3c8dca
fix: avoid yaml being wrapped at column 80 via to_nice_yaml
The `to_nice_yaml` helper will by default wrap any string YAML values on
the first space after column 80. This can in worst case yield invalid
YAML syntax. More details in Ansible's documentation here:
https://docs.ansible.com/ansible/latest/user_guide/playbooks_filters.html#formatting-data-yaml-and-json
In short, you need to explicitly provide a custom width argument of a
high number of some kind to avoid the line wrapping.
4 lat temu
Marko Weltzer
7e5b88c3b7
fix: all praise the allmighty yamllinter
4 lat temu
Michael Collins
98e6cd685d
sync with previous repo
4 lat temu
Michael-GMH
86e4649578
GoMatrixHosting v0.5.5
4 lat temu
Michael-GMH
03006eb5ab
GoMatrixHosting v0.5.5
4 lat temu
Michael-GMH
85777e8f96
merge with upstream
4 lat temu
Toni Spets
544915ff76
Add Heisenbridge
4 lat temu