Slavi Pantaleev
5778e84925
Make use of `media_path` setting to fix media URLs for Heisenbridge
Related to:
- https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/3518
- https://github.com/hifi/heisenbridge/issues/294
With this patch, when `matrix_heisenbridge_path_prefix` is the default
one we use (`/heisenbrdige`), URLs like this are constructed:
https://matrix.DOMAIN/heisenbridge/_heisenbridge/media/SERVER_NAME/MEDIA_ID/CHECKSUM/FILENAME
If `matrix_heisenbridge_path_prefix` is set to `/`, URLs like this are constructed:
https://matrix.DOMAIN/_heisenbridge/media/SERVER_NAME/MEDIA_ID/CHECKSUM/FILENAME
Our Traefik labels support handling both cases correctly.
1 年之前
Slavi Pantaleev
6bef71ebb8
Make ansible-lint happy
1 年之前
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 年之前
renovate[bot]
5323bcc906
chore(deps): update hif1/heisenbridge docker tag to v1.15.0
1 年之前
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.
1 年之前
Slavi Pantaleev
39e45b0298
Move matrix-bridge-heisenbridge to its own container network
2 年之前
Slavi Pantaleev
c2605cd3cc
Optimize matrix-heisenbridge container stopping time
2 年之前
Slavi Pantaleev
4ff9b0d6a5
Upgrade Heisenbridge (1.14.5 -> 1.14.6)
2 年之前
Samuel Meenzen
c846ed199b
Annotate version numbers with renovate metadata
2 年之前
Slavi Pantaleev
11b032f3ad
Pass media_url and displayname to Heisenbridge - do not make it guess
Without explicitly passing the `media_url` configuration,
Heisenbridge would try to guess it. It works most of the time,
but some people are experiencing trouble with it.
There's no need for wasteful work and for potential unreliability,
so we now configure the `media_url` explicitly.
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2932
2 年之前
Slavi Pantaleev
8903b1e341
Upgrade Heisenbridge (1.14.4 -> 1.14.5)
2 年之前
Slavi Pantaleev
8eac642a2d
Upgrade Heisenbridge (1.14.3 -> 1.14.4)
2 年之前
Slavi Pantaleev
3e93613a3f
Upgrade Heisenbridge (1.14.2 -> 1.14.3)
2 年之前
Aine
2eb2ad0ad7
Update heisenbridge 1.14.1 -> 1.14.2
3 年之前
Aine
38151c9fd3
Update heisenbridge 1.14.0 -> 1.14.1
3 年之前
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 年之前
PΛVΞL D
4c56ab5ee0
Update heisenbridge 1.13.1 -> 1.14.0
3 年之前
Simone
db604f81ec
Upgrade heisenbridge 1.13.0 1.13.1
3 年之前
Slavi Pantaleev
ddf18eadc7
More ansible-lint fixes
3 年之前
Aine
e149f33140
add/unify 'Project source code URL' link across all roles
3 年之前
Toni Spets
2cce91fe1d
Upgrade Heisenbridge (1.12.0 -> 1.13.0)
3 年之前
Toni Spets
9e0d969ba4
Upgrade Heisenbridge (1.10.1 -> 1.12.0)
4 年之前
Marko Weltzer
7e5b88c3b7
fix: all praise the allmighty yamllinter
4 年之前
GoliathLabs
b4ecadcb2f
Updated: Heisenbridge to 1.10.1
4 年之前
Toni Spets
037bde73a6
Upgrade Heisenbridge (1.9.0 -> 1.10.0)
4 年之前
Toni Spets
cdf76bdbb7
Upgrade Heisenbridge (1.8.2 -> 1.9.0)
4 年之前
Toni Spets
5df486f31e
Upgrade Heisenbridge (1.8.0 -> 1.8.2)
4 年之前
Toni Spets
061d6ac86f
Upgrade Heisenbridge (1.7.1 -> 1.8.0)
4 年之前
Toni Spets
e8a57ad432
Upgrade Heisenbridge (1.7.0 -> 1.7.1)
4 年之前
Toni Spets
110d91b06e
Upgrade Heisenbridge (1.6.0 -> 1.7.0)
4 年之前
Toni Spets
f01b9c3865
Upgrade Heisenbridge (1.5.0 -> 1.6.0)
4 年之前
Toni Spets
09ac6a0e8c
Upgrade Heisenbridge (1.4.1 -> 1.5.0)
4 年之前
Toni Spets
17fc055d53
Upgrade Heisenbridge (1.4.0 -> 1.4.1)
4 年之前
Toni Spets
124b9608fc
Upgrade Heisenbridge (1.3.0 -> 1.4.0)
4 年之前
Toni Spets
d7af78066b
Upgrade Heisenbridge (1.2.1 -> 1.3.0)
4 年之前
Toni Spets
3119ef4574
Upgrade Heisenbridge (1.2.0 -> 1.2.1)
4 年之前
Toni Spets
ff63f4efce
Upgrade Heisenbridge (1.1.1 -> 1.2.0)
4 年之前
Toni Spets
8b9c7b18ac
Upgrade Heisenbridge (1.1.0 -> 1.1.1)
4 年之前
Toni Spets
4adbefab82
Upgrade Heisenbridge (1.0.1 -> 1.1.0)
4 年之前
Toni Spets
c228343339
Bump Heisenbridge to v1.0.1
4 年之前
Toni Spets
4fe27a7645
Pin Heisenbridge to 1.0.0
4 年之前
Michael Collins
98e6cd685d
sync with previous repo
4 年之前
Michael-GMH
86e4649578
GoMatrixHosting v0.5.5
4 年之前
Michael-GMH
03006eb5ab
GoMatrixHosting v0.5.5
4 年之前
Michael-GMH
85777e8f96
merge with upstream
4 年之前
Toni Spets
544915ff76
Add Heisenbridge
5 年之前