renovate[bot]
e01a79865c
chore(deps): update halfshot/matrix-hookshot docker tag to v7.3.0
2026-01-20 15:38:23 +02:00
Mark Monteiro
be7536390d
improve notes about configuring hookshot encryption
...
- clarify that Redis is configured automatically
- add note indicating that encryption is not currently supported when using MAS
2025-12-31 08:50:36 +02:00
Slavi Pantaleev
430f350733
Stop using deprecated vars variable
2025-11-26 11:35:09 +02:00
renovate[bot]
9791f8a120
chore(deps): update halfshot/matrix-hookshot docker tag to v7.2.0
2025-10-10 16:36:24 +00:00
Slavi Pantaleev
fccd7442d6
Add a few more generic. webhook settings for Hookshot
...
Ref: https://github.com/matrix-org/matrix-hookshot/pull/1004
2025-08-16 06:14:35 +03:00
renovate[bot]
5711a8bda3
Update halfshot/matrix-hookshot Docker tag to v7.1.0
2025-08-16 06:12:02 +03:00
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
Aine
5def3b176f
make hookshot honor the matrix_bridges_encryption_enabled var
Lock Threads / action (push) Has been cancelled
Matrix CI / yamllint (push) Has been cancelled
Matrix CI / ansible-lint (push) Has been cancelled
Matrix CI / Run pre-commit (push) Has been cancelled
Close stale issues and PRs / stale (push) Has been cancelled
2025-06-07 13:22:27 +03:00
Slavi Pantaleev
978d24aa32
Upgrade Hookshot (6.0.3 -> 7.0.0) and remove provisioning API and integration with Dimension
...
Matrix CI / ansible-lint (push) Waiting to run
Matrix CI / yamllint (push) Waiting to run
REUSE Compliance Check / reuse-compliance-check (push) Waiting to run
Ref:
- https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/4326
- https://github.com/matrix-org/matrix-hookshot/releases/tag/7.0.0
- https://github.com/matrix-org/matrix-hookshot/pull/931
Closes https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/4326
2025-05-16 22:46:12 +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
...
Matrix CI / yamllint (push) Waiting to run
Matrix CI / ansible-lint (push) Waiting to run
REUSE Compliance Check / reuse-compliance-check (push) Waiting to run
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
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
974971719f
Add license information to files for matrix-bridge-hookshot
...
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org >
2025-02-28 18:41:23 +09:00
renovate[bot]
eba494eb86
Update halfshot/matrix-hookshot Docker tag to v6.0.3
2025-02-25 14:35:25 +00: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
298bc21d54
Update roles/custom/matrix-bridge-hookshot/defaults/main.yml: fix capitalization
...
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org >
2025-02-07 17:59:33 +09:00
Suguru Hirahara
acf2b90346
Update files for matrix-bridge-hookshot: change the file path of config.yml.j2 in order to improve consistency
...
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org >
2025-01-25 18:13:59 +09:00
Suguru Hirahara
e8213768a5
Update files for matrix-bridge-hookshot: sort logging levels
...
Based on docs/configuring-playbook-alertmanager-receiver.md
We can re-sort the levels it if is found out that debug should be placed at the first.
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org >
2025-01-25 18:13:31 +09:00
renovate[bot]
4b155c276b
Update halfshot/matrix-hookshot Docker tag to v6.0.2
2025-01-23 10:11:01 +00:00
Slavi Pantaleev
a4e3e519d9
Make sure Hookshot is stopped while resetting encryption
...
Ref: https://matrix-org.github.io/matrix-hookshot/latest/advanced/encryption.html#enabling-encryption-in-hookshot
> To fix such issues, stop Hookshot, then reset its crypto store by running yarn start:resetcrypto.
Somewhat related to https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/3868
2024-12-11 09:33:19 +02:00
Slavi Pantaleev
bac0f7546a
Fix Hookshot encryption-resetting
...
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/3868
Related to https://github.com/matrix-org/matrix-hookshot/issues/730
2024-12-11 09:32:47 +02:00
Kim Brose
d8ebf28ebc
Remove the dupe MSC3202 flag from hookshot registration
2024-12-08 12:08:17 +01:00
Slavi Pantaleev
75bb7732f6
Merge pull request #3857 from luixxiul/fix
...
Housekeeping: preparation for l10n with Weblate
2024-12-06 18:51:17 +02:00
Suguru Hirahara
c1c1b3ada0
Replace triple dots with horizontal ellipsis (U+2026)
...
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org >
2024-12-06 13:34:50 +09:00
janonym1
d1fa7378f7
hookshot: Allow the localpart of the hookshot-bot to be defined ( #3853 )
...
* set localpart of hookshot bot in main.yml
* set sender_localpart in registration.yml.j2 template to variable
* prettier location for bot localpart in main.yml
* Update main.yml
* Update registration.yml.j2
---------
Co-authored-by: Slavi Pantaleev <slavi@devture.com >
2024-12-06 05:21:34 +02:00
Slavi Pantaleev
119e78bc11
Upgrade Hookshot (5.4.1 -> 6.0.1)
2024-11-29 17:51:11 +02:00
Suguru Hirahara
90cfdabb2b
Replace DOMAIN with example.com
...
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org >
2024-10-18 04:02:02 +09:00
Aine
a541f51944
enable hookshot outbound webhooks
2024-09-25 15:25:31 +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
Samuel S
7d5e430ee9
Autocreate webhook in Gitlab instance with Hookshot bot ( #3405 )
...
* Add public url for gitlab hookshot to autocreate webhook on gitlab instance
* Add `noqa var-naming` comment to variable
---------
Co-authored-by: Slavi Pantaleev <slavi@devture.com >
2024-07-08 18:12:03 +03:00
Slavi Pantaleev
4704a60718
Use a /webhook path for generic webhooks
...
By appending `/webhook` to the public URL (becoming `/hookshot/webhooks/webhook`)
and by only stripping the `/hookshot/webhooks` prefix,
we're effectively following what newer Hookshot versions advise
(see https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1681 ).
This change appears to be backward-compatible (old webhook URLs like `/hookshot/webhooks/:hookId` still work),
until Hookshot behavior changes.
2024-06-25 11:16:30 +03:00
Slavi Pantaleev
aafea6d259
Fix typo in comment for matrix_hookshot_container_labels_appservice_enabled
2024-06-25 11:01:09 +03:00
Slavi Pantaleev
ea22acc899
Fix Hookshot URL path generation regression
...
Regression since 7891268873 ,
where I removed the `matrix_hookshot_urlprefix` prefix group
`group_vars/matrix_servers`, thinking the value in `roles/custom/matrix-bridge-hookshot/defaults/main.yml`
was the same.
The value in `defaults/main.yml` incorrectly included `matrix_hookshot_public_endpoint`
in `matrix_hookshot_urlprefix`, which was leading to double-`/hookshot`-prefixing.
We were previously saved by the `matrix_hookshot_urlprefix` override in `group_vars/matrix_servers`.
This fix brings the correct URL prefix value (the one without `matrix_hookshot_public_endpoint`)
to `defaults/main.yml`.
2024-06-25 10:55:08 +03:00
renovate[bot]
9c9b2a8d38
chore(deps): update halfshot/matrix-hookshot docker tag to v5.4.1
2024-06-21 19:14:12 +00:00
renovate[bot]
d00410966f
chore(deps): update halfshot/matrix-hookshot docker tag to v5.4.0
2024-06-20 17:16:11 +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
7891268873
Do not hardcode https:// in all remaining places, refer to matrix_static_files_scheme
...
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/3333
2024-05-25 16:14:26 +03:00
Kris Watson
b46085286e
Remove duplicate https from hookshot redirect_uri
...
matrix_hookshot_github_oauth_redirect_uri was adding an extra https in
front of matrix_hookshot_urlprefix, which already included that.
2024-05-08 10:33:30 -07:00
Aine
11b76bd0c2
fix redis port type
...
The conditional check 'matrix_hookshot_experimental_encryption_enabled and matrix_hookshot_cache_redisUri == ''' failed. The error was: An unhandled exception occurred while templating '{{ ('redis://' + matrix_hookshot_cache_redis_host + ':' + matrix_hookshot_cache_redis_port) if matrix_hookshot_cache_redis_host else '' }}'. Error was a <class 'ansible.errors.AnsibleError'>, original message: Unexpected templating type error occurred on ({{ ('redis://' + matrix_hookshot_cache_redis_host + ':' + matrix_hookshot_cache_redis_port) if matrix_hookshot_cache_redis_host else '' }}): can only concatenate str (not \"int\") to str. can only concatenate str (not \"int\") to str
2024-04-25 22:49:01 +03:00
DevMiner
759d0fa7ed
fix(hookshot): incorrect Redis port
...
The default Redis port is 6379, not 6739.
2024-04-19 13:41:27 +02:00
Slavi Pantaleev
1774ed6e7d
Make ansible-lint happy
2024-04-17 15:43:44 +03:00
Slavi Pantaleev
7d9eb0893e
Switch Hookshot from queue.xxx to cache.redisUri
...
Related to:
- https://github.com/matrix-org/matrix-hookshot/pull/902
- https://github.com/matrix-org/matrix-hookshot/releases/tag/5.3.0
- https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/3281
2024-04-17 15:36:49 +03:00
renovate[bot]
174dce2707
chore(deps): update halfshot/matrix-hookshot docker tag to v5.3.0
2024-04-17 11:50:51 +00: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
renovate[bot]
c375d888e2
chore(deps): update halfshot/matrix-hookshot docker tag to v5.2.1
2024-02-21 18:24:09 +00:00
Slavi Pantaleev
90332f8c3d
Fix problematic Hookshot redirect for /hookshot/widgetapi/v1/static
...
Hookshot wants a trailing slash for this route.
If we let Hookshot redirect, it goes to `/widgetapi/v1/static/`,
instead of `/hookshot/widgetapi/v1/static/`, so we take this matter into our
own hands.
2024-01-19 17:08:14 +02:00