Commit Graph

5045 Commits

Author SHA1 Message Date
Slavi Pantaleev
c691f85533 Upgrade ddclient (3.11.2 -> 4.0.0) and adjust config path
Closes https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/3971

The path change is due to: https://github.com/ddclient/ddclient/pull/789

This is untested.
2025-01-20 09:41:08 +02:00
Suguru Hirahara
8ba607a76a
Change capitalization per author's preference: Conduwuit → conduwuit
See: e8508d16e1

Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
2025-01-20 12:38:37 +09:00
Slavi Pantaleev
24f3493caf Add various polish to Conduwuit
https://github.com/Virkkunen and I have been working on the same feature
simultaneously.

This patch adds my additional independent work on top of his changes.

Notable changes here compared to Virkkunen's original work:

- renaming config-related variables (`matrix_conduwuit_*` ->
  `matrix_conduwuit_config_*`). This is consistent with other roles (and
  better), but deviates from how the Conduit role was implemented.

- using a full configuration sample from https://conduwuit.puppyirl.gay/configuration.html
  instead of using the old Conduit config file template

- introducing configurability for more Conduwuit config settings, to support easy registration, etc.

- removing configuration settings that Conduwuit does not support
  anymore (e.g. `max_concurrent_requests`)

- cross-linking docs pages for Conduit and Conduwuit

- a Conduwuit docs page which is much improved compared to the old
  Conduit one

- REAMDE updates
2025-01-19 16:06:37 +02:00
Virkkunen
1b80a76b93 fix docker depName 2025-01-19 16:06:37 +02:00
Virkkunen
5e03006c5d remove unnecessary configurations 2025-01-19 16:06:37 +02:00
Virkkunen
be586f0f30 initial conduwuit support 2025-01-19 16:06:37 +02:00
Slavi Pantaleev
96b3cb8392 Do not auto-add lightning bolt suffix to displayname for newly registered Conduit users
This makes it consistent with other homeserver implementations, which
do not mess with the displayname by adding suffixes.
2025-01-19 15:22:59 +02:00
Slavi Pantaleev
7232d2b6d5 Pin boto3 and botocore to an old version when installing synapse-s3-storage-provider to prevent issues with non-AWS S3 providers
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/3964

Related to https://github.com/aws/aws-cli/issues/9214
2025-01-19 10:32:07 +02:00
Catalan Lover
f15c0a46be
Draupnir 2.0.0 (#3941)
* Draupnir 2.0.0

The config getting changes all over the place is because of 2.0 having removed a lot of config options due to the code being removed.

* Update Draupnir Documentation to reflect state as of 2.0.0

* Apply Review Feedback

Co-authored-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Change Room IDs found in code review to not conform to playbook standard.

Co-authored-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Further Integrate Code Review Feedback

* Apply remaining suggestions from code review.

Co-authored-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Apply Configuration Review Feedback

Co-authored-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Add Self Registration and Native Login to Draupnir

* Rework Draupnir Documentation to Remove Pantalaimon

* Set bot.draupnir as default username for the bot in config

* Draupnir 2.0.1

* Integrate Review Feedback on Structure of Docs

Co-authored-by: Suguru Hirahara <luixxiul@users.noreply.github.com>

* Further Restructure Docs and tweak variables in response.

* Only auto-create draupnir user if a password has been set

The Draupnir role supports configuring it with either an access token or with a password.

When a password is not assigned (which means the access token mode is used), the user is to be created manually.

* Add ensure-matrix-users-created tag

Now that the Draupnir user may be auto-created in certain configurations (if a password is assigned), it's useful to have the tag there.

---------

Co-authored-by: Suguru Hirahara <luixxiul@users.noreply.github.com>
Co-authored-by: Slavi Pantaleev <slavi@devture.com>
2025-01-18 21:25:30 +02:00
Suguru Hirahara
41d0fb8c86
Move config j2 files out of "config" subfolder for consistency
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
2025-01-18 22:08:04 +09:00
Suguru Hirahara
99f4af2007
Update files for Sygnal (#3958)
* Rename sygnal.yaml.j2 to config.yaml.j2

There does not seem to exist other yaml.j2 files, which would be named after the servive.

Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>

* Update docs/configuring-playbook-sygnal.md: add the section "Extending the configuration"

Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>

---------

Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
Co-authored-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
2025-01-18 09:15:04 +02:00
Suguru Hirahara
107e9d205d
Edit YAML files: minor changes (#3955)
* Update roles/custom/matrix-coturn/defaults/main.yml: edit an instruction for creating a strong password

Follow-up to 6b87d1aa7d

Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>

* Update examples/vars.yml: add a whitespace character for indenting

Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>

---------

Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
Co-authored-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
2025-01-17 13:14:41 +02:00
Suguru Hirahara
2773c053d0
Update files for coturn (#3953)
* Update docs/configuring-playbook-turn.md: add a section for description about installing

Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>

* Update docs/configuring-playbook-turn.md and a related file

- Edit the introducion based on docs/configuring-playbook-client-element-web.md
- Adopt the commont format by creating the section "Adjusting the playbook configuration"
- Add the section "Extending the configuration"
- Move the section "Disabling Coturn" to the bottom

Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>

* Fix capitalization: Coturn → coturn

See: https://github.com/coturn/coturn. Note that "coturn" is not capitalized even on the start of a sentence, except some rare cases like on the releases page: https://github.com/coturn/coturn/releases

Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>

---------

Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
Co-authored-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
2025-01-17 10:19:17 +02:00
Slavi Pantaleev
6486362162
Merge pull request #3950 from spantaleev/renovate/matrixdotorg-dendrite-monolith-0.x
Update matrixdotorg/dendrite-monolith Docker tag to v0.14.1
2025-01-16 21:39:32 +02:00
renovate[bot]
dc0af85361
Update matrixdotorg/dendrite-monolith Docker tag to v0.14.1 2025-01-16 19:31:01 +00:00
renovate[bot]
9f4ecb1749
Update ghcr.io/t2bot/matrix-media-repo Docker tag to v1.3.8 2025-01-16 19:30:56 +00:00
Slavi Pantaleev
f8dfba6534
Merge pull request #3945 from spantaleev/renovate/dock.mau.dev-mautrix-twitter-0.x
Update dock.mau.dev/mautrix/twitter Docker tag to v0.2.1
2025-01-16 15:32:44 +02:00
renovate[bot]
486c55dcab
Update dock.mau.dev/mautrix/twitter Docker tag to v0.2.1 2025-01-16 13:31:15 +00:00
renovate[bot]
3a95862a95
Update dock.mau.dev/mautrix/signal Docker tag to v0.7.5 2025-01-16 13:31:10 +00:00
Aine
35260cd026
Synapse Admin v0.10.3-etke36 2025-01-16 11:37:07 +02:00
Slavi Pantaleev
f2b69feb29 Make catch-all federation-reader nginx location blocks have less priority than others
Potentially fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/3918
2025-01-16 10:14:03 +02:00
renovate[bot]
5cbd7e7652
Update ghcr.io/element-hq/synapse Docker tag to v1.122.0 2025-01-14 19:18:15 +00:00
Slavi Pantaleev
745f04bfa5 Upgrade Element Web (v1.11.89 -> v1.11.90) 2025-01-14 16:47:27 +02:00
Suguru Hirahara
61ace3a063
Edit lines for vars.yml (#3933)
* Simplify paths to vars.yml if referred multiple times

Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>

* Fix the filename: vars.yaml → vars.yml

Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>

---------

Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
Co-authored-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
2025-01-12 15:31:19 +02:00
renovate[bot]
d076a75a0a
Update joseluisq/static-web-server Docker tag to v2.35.0 2025-01-10 18:58:14 +00:00
Slavi Pantaleev
f2585fa171 Adjust matrix-synapse-s3-storage-provider-migrate.{service,timer} permissions
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/3917
2025-01-06 09:09:46 +02:00
Slavi Pantaleev
f8b779f8ed Add trace as a valid logging level option for mautrix bridges
bridgev2 mautrix bridges use https://github.com/tulir/zeroconfig for
logging, which does support `trace` as a logging level.
2025-01-05 09:47:57 +02:00
renovate[bot]
eff5e3ac2b
Update dock.mau.dev/maubot/maubot Docker tag to v0.5.1 2025-01-03 13:00:53 +00:00
Slavi Pantaleev
59b8fbb13d Add customizations support to maubot 2024-12-28 10:24:42 +02:00
László Várady
bbb58c40b6 Fix docker networking when no reverse-proxy is used
For example, synapse-admin connects to additional networks here:
c0559870b5/roles/custom/matrix-synapse-admin/templates/systemd/matrix-synapse-admin.service.j2 (L39-L41)

This defaults to 'traefik' through
matrix_playbook_reverse_proxy_container_network, which is not correct in
case matrix_playbook_reverse_proxy_type is set to none.
2024-12-27 17:25:47 +01:00
Slavi Pantaleev
75026d8c3d Update a few incorrect comments 2024-12-25 16:42:19 +02:00
pviffx
a1efb78bcb
Make logout_redirect_url configuration setting for Element Web configurable (#3903)
* Add logout_redirect_url var and option templating for matrix element client

* Simplify logout_redirect_url templating and make it safer

Using `to_json` to make it safer.

Judging by the code here 0b24d33c64/src/Lifecycle.ts (L1026-L1032)
it doesn't seem like it leaving `logout_redirect_url` empty will hurt, so this patch removes the `if` block.

* Add comment for the `matrix_client_element_logout_redirect_url` variable

---------

Co-authored-by: Slavi Pantaleev <slavi@devture.com>
2024-12-23 21:04:38 +02:00
Slavi Pantaleev
11a90a4789 Move matrix-registration-bot's token comment inside the if statement 2024-12-23 09:02:58 +02:00
Slavi Pantaleev
d89e627a79 Move some matrix-registration-bot variables around 2024-12-23 09:00:44 +02:00
Slavi Pantaleev
4d39efe6f6 Rename variable (matrix_bot_matrix_registration_bot_matrix_homeserver_url -> matrix_bot_matrix_registration_bot_api_base_url)
We were overriding the `matrix_bot_matrix_registration_bot_matrix_homeserver_url` variable via `group_vars/matrix_servers`
to point it to the container-local homeserver URL, but this variable was not being used at all.

The actual variable name (which was being used) is `matrix_bot_matrix_registration_bot_api_base_url`.

Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/3898
2024-12-23 08:59:24 +02:00
Slavi Pantaleev
358b3486f9 Group matrix-registration-bot's self-building tasks in a block 2024-12-23 08:56:08 +02:00
Slavi Pantaleev
47a337258c Only create docker-src directory for matrix-registration-bot when self building is enabled 2024-12-23 08:55:48 +02:00
Slavi Pantaleev
cea437c844 Expose mautrix-discord's avatar proxy
Possibly fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/3900

This patch hasn't been tested.
2024-12-23 08:36:18 +02:00
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
2024-12-23 08:20:56 +02:00
Slavi Pantaleev
3b81f09748 Make various Cinny options configurable via dedicated variables
Provoked by https://github.com/etkecc/mrs/pull/4
I've discovered that Cinny supports various configuration options and it'd be better
if we add support for them.
2024-12-21 13:57:01 +02:00
Slavi Pantaleev
c95d181c9a Add matrix_client_cinny_config_homeserverList variable 2024-12-21 13:45:00 +02:00
Aine
33b493737d
Synapse Admin v0.10.3-etke35 2024-12-19 11:31:16 +02:00
Slavi Pantaleev
3ed5d8ec7c
Merge pull request #3889 from spantaleev/renovate/vectorim-element-web-1.x
chore(deps): update vectorim/element-web docker tag to v1.11.89
2024-12-19 08:51:57 +02:00
renovate[bot]
b1769c1f39
chore(deps): update vectorim/element-web docker tag to v1.11.89 2024-12-18 19:49:27 +00:00
renovate[bot]
abfb17e898
chore(deps): update matrixdotorg/dendrite-monolith docker tag to v0.14.0 2024-12-18 15:53:37 +00:00
renovate[bot]
6a124f15b3
chore(deps): update docker.io/metio/matrix-alertmanager-receiver docker tag to v2024.12.18 2024-12-18 06:27:54 +00:00
Catalan Lover
a691b20cf2
Update Mjolnir from 1.9.0 to 1.9.1 2024-12-17 22:56:30 +01:00
renovate[bot]
bfc6bf16d6
chore(deps): update vectorim/element-web docker tag to v1.11.88 2024-12-17 17:16:58 +00:00
Slavi Pantaleev
f5cc79bc88 Fix lint errors 2024-12-17 12:13:14 +02:00
Slavi Pantaleev
bf9bd1f5fb Adapt mautrix-twitter to bridgev2 configuration
Fixup for 784a5aaef4.
2024-12-17 12:09:30 +02:00