Commit graph

3329 commits

Author SHA1 Message Date
Slavi Pantaleev 490cce14ad Merge branch 'dnapier-master'
Closes https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/2180
2022-10-20 07:43:32 +03:00
Slavi Pantaleev a32eea41fe Make roles/matrix-postgres/tasks/detect_existing_postgres_version.yml detect Postgres v14 2022-10-20 07:43:01 +03:00
Slavi Pantaleev 20db57d288 Upgrade certbot (v1.30.0 -> v1.31.0) 2022-10-20 07:40:45 +03:00
David Napier 2eef6af23e Bump postgres version to newly released 15 2022-10-19 10:45:11 -04:00
Aine bcba84389d
Update grafana 9.2.0 -> 9.2.1 2022-10-18 12:43:13 +00:00
Aine c781bdea99
Update Synapse 1.68.0 -> 1.69.0 2022-10-17 14:24:57 +00:00
Slavi Pantaleev 6480cc3629 Fix 'something' is undefined error in matrix-bridge-appservice-slack
.. when `matrix_nginx_proxy_enabled: false`

Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2177
2022-10-17 08:04:06 +03:00
Slavi Pantaleev 476416a880
Merge pull request #2175 from smargold476/master
Add ability to sync only direct Chats in TG-Bridge
2022-10-16 18:28:22 +03:00
Slavi Pantaleev 07a7234ba0
Use | to_json 2022-10-16 18:27:35 +03:00
Slavi Pantaleev 4d267dad40 Upgrade mautrix-whatsapp (0.7.0 -> 0.7.1) and sync bridge config with upstream 2022-10-16 18:24:55 +03:00
smargold476 4751f84971
Merge pull request #2 from smargold476/patch-3
add option to change filter_mode
2022-10-15 14:41:36 +02:00
smargold476 a6e167cf91
add option to change filter_mode 2022-10-15 14:38:51 +02:00
smargold476 01078fea8f
add default for TG filter_mode 2022-10-15 14:37:09 +02:00
Slavi Pantaleev 30745db6d5 Add storage-class support to the s3_media_upload command and mention matrix-synapse-s3-storage-provider-migrate script 2022-10-14 18:29:30 +03:00
Slavi Pantaleev 6f56b9fb38 Upgrade Dendrite (0.10.2 -> 0.10.3) 2022-10-14 18:17:08 +03:00
Slavi Pantaleev de8fd519c5 Document matrix-synapse-s3-storage-provider-migrate.{service,timer} 2022-10-14 18:14:34 +03:00
Slavi Pantaleev 2e0fc5c11c Fix some ansible-lint-reported warnings 2022-10-14 18:04:49 +03:00
Slavi Pantaleev fe96475595 Remove some useless PG_ variables fron the s3-storage-provider env-file
These Postgres configuration variables are part of the `database.yaml` file
and don't need to be here.
2022-10-14 18:01:51 +03:00
Slavi Pantaleev a3759b0466 Announce Synapse customization and synapse-s3-storage-provider support 2022-10-14 17:50:48 +03:00
Slavi Pantaleev ac7cb3619d Add support for synapse-s3-storage-provider 2022-10-14 17:41:41 +03:00
Slavi Pantaleev 881fdd28f0 Add support for Synapse container image customization
This allows people to augment the Synapse image with custom tools and
addons without having to rebuild it from scratch.

If customizations are enabled, the playbook will build a new
`localhost/matrixdotorg/synapse:VERSION-customized` image
on top of the default one (`FROM matrixdotorg/synapse:VERSION`)
and with custom Dockerfile build steps.

For servers that self-build the Synapse image, the Synapse image will be
built first, before proceding to extend it the same way.

In the future, we'll also have easy to enable Dockerfile build steps
for modules that the playbook supports.
2022-10-14 16:37:54 +03:00
Slavi Pantaleev 0da068c7e6 Add support for configuring Synapse's media_storage_providers
In the future, we'll also inject media storage providers that we support
into the `matrix_synapse_media_storage_providers_auto` list.
2022-10-14 16:28:47 +03:00
Slavi Pantaleev 62215a87fe Upgrade Postgres minor versions (14.4 -> 14.5, 13.7 -> 13.8, etc.) 2022-10-14 16:25:57 +03:00
Aine 7c7b9d119f
Update postmoogle 0.9.6 -> 0.9.7
* fix room account data retrieving
2022-10-12 10:57:25 +00:00
Aine 43b1be9a3c
Update grafana 9.1.7 -> 9.2.0 2022-10-11 18:57:52 +00:00
Aine 3c669761ce
Update element 1.11.9 -> 1.11.10 2022-10-11 18:31:46 +00:00
Slavi Pantaleev a9100641f6
Merge pull request #2168 from etkecc/patch-96
Update postmoogle 0.9.5 -> 0.9.6
2022-10-11 19:57:22 +03:00
Aine fe8f91a9da
Update postmoogle 0.9.5 -> 0.9.6
* show recipient's email (header `TO`)
* add `norecipient` option
* add anti-spam options (`spamcheck:` and `spamlist:`)
* fix bugs
2022-10-11 14:30:55 +00:00
Aine 19f1c8ea5e
Update element 1.11.8 -> 1.11.9 2022-10-11 14:29:52 +00:00
Slavi Pantaleev da041bc60c Upgrade mautrix-instagram (0.2.1 -> latest)
We don't like updating to untagged releases, but..

0.2.1 has some regression and upstream is not releasing 0.2.2 or 0.3.0
just yet, so we either need to downgrade to 0.2.0 or go `latest`.

We can hopefully switch back to a tagged release soon.

Related to https://github.com/mautrix/instagram/issues/56
2022-10-11 09:41:12 +03:00
Slavi Pantaleev c886e4f48b
Merge pull request #2164 from etkecc/patch-93
Enable hookshot feeds by default
2022-10-11 09:15:44 +03:00
Aine 5ff03c0b15
Change hookshot logging level to warn
all other bridges use that level
2022-10-11 06:04:18 +00:00
Aine 9412140477
Enable hookshot feeds by default
as per documentation: "Services that need no further configuration are enabled by default" and feeds service doesn't require it
2022-10-11 06:00:49 +00:00
Slavi Pantaleev 81f90f0ad1
Use |to_json for matrix_mautrix_discord_bridge_restricted_rooms 2022-10-10 17:09:42 +03:00
Samuel Meenzen 1d024975d6 Automatically set restricted_rooms to false on conduit 2022-10-10 07:10:15 +00:00
Samuel Meenzen 7cc3aae041
fix(mautrix-discord): allow configuring the restricted_rooms option 2022-10-09 21:59:33 +02:00
Slavi Pantaleev e6ecd54e72 Suppress some ansible-lint errors 2022-10-09 20:42:20 +03:00
Slavi Pantaleev 1be8f8b0ba import_tasks -> ansible.builtin.import_tasks 2022-10-09 19:23:40 +03:00
Aine b17b1fb01a
Update jitsi stable-7830 -> stable-7882 2022-10-09 15:52:55 +00:00
Shaleen Jain af910db583 dendrite: update config 2022-10-08 03:36:40 +05:30
Slavi Pantaleev 9e0bfcc05e Upgrade Prometheus (2.39.0 -> 2.39.1) 2022-10-07 21:37:17 +03:00
Slavi Pantaleev 12d4e080fa Upgrade Dendrite (0.10.1 -> 0.10.2) 2022-10-07 21:36:44 +03:00
Aine 61a1d6a7bd
Update Postmoogle 0.9.4 -> 0.9.5 2022-10-06 23:08:58 +03:00
Slavi Pantaleev a12cbeac3b Fix async commands
Fixes a regression introduced in d1b5681ba0.

Looks like `.finished` is a property on the main object, not on some
`.async_result` object.
2022-10-06 19:48:11 +03:00
Slavi Pantaleev aff7ca2426 Upgrade appservice-slack (1.11.0 -> 2.0.1)
This also disables self-building on arm64, since it's no longer
necessary: https://github.com/matrix-org/matrix-appservice-slack/pull/656
2022-10-06 16:39:07 +03:00
Slavi Pantaleev 69b1b56691 Upgrade signald (0.21.1 -> 0.22.2) 2022-10-06 14:01:20 +03:00
Slavi Pantaleev d1b5681ba0 Report async task failures better
We were previously trying to reach into `.rc`,
but there's no such thing if `async_result.finished == 0`.

Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2153
2022-10-06 10:04:37 +03:00
Aine 7872aa1611
Update hookshot 2.2.0 -> 2.3.0 2022-10-05 08:47:29 +00:00
Aine 9b1d0a9894
Update prometheus 2.38.0 -> 2.39.0 2022-10-05 06:42:02 +00:00
Aine 0a5cc4436b
Update grafana 9.1.6 -> 9.1.7 2022-10-04 13:41:11 +00:00
Warrows 5fd94466e1
Fix quote error introduced in 936412a08 2022-10-03 23:44:45 +02:00
Slavi Pantaleev 1631d55dff
Merge pull request #2143 from Warrows/maubot-nginx
Update proxied nginx for maubot
2022-10-03 16:24:45 +03:00
Warrows 936412a08e
Update proxied nginx for maubot
- Don't put unnecessary Host header.
- Update both cases (with or without nginx proxy)
2022-10-03 14:25:30 +02:00
Catalan Lover 2aceb445af
Fix config error that can cause Mjolnir to crash 2022-10-02 21:14:56 +02:00
Slavi Pantaleev 43e38170e5 Upgrade matrix-corporal (2.3.2 -> 2.4.0) 2022-10-02 16:47:55 +03:00
Slavi Pantaleev 033f188c1e Upgrade matrix-corporal (2.3.1 -> 2.3.2) 2022-10-02 11:10:32 +03:00
Slavi Pantaleev b67ba669e8
Merge pull request #2038 from TheOneWithTheBraid/braid/matrix-ldap-registration-proxy
Draft: feat: include matrix_ldap_registration_proxy
2022-10-02 09:23:25 +03:00
Slavi Pantaleev 81ee2449a8
Remove double ; 2022-10-02 09:18:54 +03:00
Slavi Pantaleev 2f48740525
Merge pull request #2141 from FSG-Cat/Mjolnir-CFG-Update
Update Mjolnir Config from its #962 state to todays template.
2022-10-01 14:21:14 +03:00
Darren Rambaud ec8daad805 dendrite: update image tag version
- update to v0.10.1 (https://github.com/matrix-org/dendrite/releases/tag/v0.10.1)
2022-09-30 12:08:18 -05:00
Darren Rambaud 851a52a532 dendrite: update tag image version
- update to 0.10.0 (https://github.com/matrix-org/dendrite/releases/tag/v0.10.0)
2022-09-30 08:35:26 -05:00
Warrows c650495c0e
Update proxied nginx for maubot 2022-09-30 11:50:43 +02:00
Slavi Pantaleev b51fe595b2 Upgrade matrix-corporal (2.3.0 -> 2.3.1) 2022-09-30 08:30:29 +03:00
Catalan Lover 59c46662e5
Start Updating Mjolnir CFG from Initial to Current 2022-09-29 20:25:56 +02:00
Julian-Samuel Gebühr 41e1da2ff4
Make registration proxy independent of other roles, document (#7)
* Make registration proxy independent of other roles, document

Signed-off-by: Julian-Samuel Gebühr <julian-samuel@gebuehr.net>

* Fix yml issues

Signed-off-by: Julian-Samuel Gebühr <julian-samuel@gebuehr.net>

* Remove undefined variable (as service HAS to be exposed

Signed-off-by: Julian-Samuel Gebühr <julian-samuel@gebuehr.net>

* Add registration endpint

Defines the registration endpoint that should be intercepted/forwarded to the proxy

Signed-off-by: Julian-Samuel Gebühr <julian-samuel@gebuehr.net>

* Add image name

Signed-off-by: Julian-Samuel Gebühr <julian-samuel@gebuehr.net>

Signed-off-by: Julian-Samuel Gebühr <julian-samuel@gebuehr.net>
2022-09-29 18:00:14 +02:00
Aine db7cc3bda0
Update Jitsi stable-7648-4 -> stable-7830 2022-09-29 10:53:35 +00:00
Slavi Pantaleev 5f0fbd6d62 Upgrade Cinny (2.2.1 -> 2.2.2) 2022-09-28 18:46:10 +03:00
Slavi Pantaleev 68c2e0bee5 Upgrade Element (v1.11.7 -> v1.11.8) 2022-09-28 18:43:50 +03:00
Slavi Pantaleev 01acd6ec3d Upgrade Cinny (2.2.0 -> 2.2.1) 2022-09-28 18:23:34 +03:00
Julian-Samuel Gebühr 38e19e48d2 Bump element version
This is a security relevant update
2022-09-28 15:59:47 +02:00
Slavi Pantaleev b6b56952a9
Merge pull request #2137 from etkecc/patch-87
Update Ntfy 1.27.2 -> 1.28.0
2022-09-27 22:49:26 +03:00
Aine 89ca2e5eda
Update Ntfy 1.27.2 -> 1.28.0 2022-09-27 19:47:05 +00:00
Aine f9e750c47f
Update Element 1.11.5 -> 1.11.6 2022-09-27 19:42:17 +00:00
Slavi Pantaleev de671ad58a Upgrade ddclient (v3.9.1-ls99 -> v3.9.1-ls100) 2022-09-27 15:37:24 +03:00
Slavi Pantaleev 5d5642abc5 Upgrade Synapse (v1.67.0 -> v1.68.0) 2022-09-27 15:35:40 +03:00
Slavi Pantaleev 1ea1597020 Fix some ansible-lint-reported warnings
This mostly fixes `key-order` warnings around
`block` statements.
2022-09-27 11:38:33 +03:00
Slavi Pantaleev 0ab5371ebd Upgrade mautrix-telegram (0.12.0 -> 0.12.1) and lottieconverter (alpine-3.15 -> alpine-3.16) 2022-09-27 08:55:27 +03:00
Aine 8e448aed0f
Update Prometheus Node Exporter 1.3.1 -> 1.4.0 2022-09-26 18:23:55 +00:00
Slavi Pantaleev 0499692661 Upgrade appservice-irc (0.35.0 -> 0.35.1) 2022-09-26 15:31:20 +03:00
Slavi Pantaleev f623cf3550 Only download Grafana dashboard URLs for enabled services
If someone is using Dendrite and enabling Grafana, we'll no longer
download Synapse dashboards.

If someone is not using node-exporter, we'll no longer download node
exporter dashboards.

Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/2133
2022-09-26 08:46:10 +03:00
Slavi Pantaleev 3f4bedb31e Use matrix_grafana_enabled: true in the matrix-grafana role
This is consistent with what all other roles do. If someone includes a
role, the assumption is that they want its functionality enabled.

The playbook distribution then disables components via
`group_vars/matrix_servers`. We've always had `matrix_grafana_enabled: false`
there, so flipping the in-role `_enabled` flag to `true` does not change
anything for playbook users. Users who import the roles individually in
their own other playbooks (and who don't use `group_vars/matrix_servers`)
may observe a change in the defaults with this.
2022-09-26 08:26:30 +03:00
Slavi Pantaleev 6c928d87ca Configure Grafana's default_home_dashboard_path properly
Using `matrix_synapse_*` variables within the `matrix-grafana` role
is not a good practice.

We now have a `matrix_grafana_default_home_dashboard_path` variable
with a good universal default value and we override it via
`group_vars/matrix_servers` based on enabled components, etc.

This is a better fix for https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/2133
2022-09-26 08:23:54 +03:00
Slavi Pantaleev 14af09e4f3 Define matrix_grafana_dashboard_download_urls_all variable in matrix-grafana role
We shouldn't be using it in the role (`tasks/setup.yml`) without
defining at least some default value in the role itself.

We've always had the override in `group_vars/matrix_servers`,
so the variable was essentially defined (at the playbook level), but
that's not the right way to do things.
2022-09-26 08:08:47 +03:00
Slavi Pantaleev a69613a2e7
Merge pull request #2132 from mjarr/mjarr-patch-1
synapse: match upstream rate limit defaults
2022-09-24 22:46:32 +03:00
mjarr dd8106790e
synapse: match upstream rate limit defaults 2022-09-24 18:53:56 +02:00
Aine 484536b039
Do not restart postmoogle during installation
Reason: during a fresh install, when there is no synapse yet, systemd unit fails to start, thus whole play fails
2022-09-24 16:01:27 +00:00
Shaleen Jain b77907f2d4
whatsapp: do not turn on synapse only options 2022-09-24 09:45:26 +05:30
Aine fc56288f5b
Update Postmoogle 0.9.3 -> 0.9.4
* send emails in UTF-8 👋
* fix options descriptions
* add SMTP auth
* allow sending emails from your apps and scripts using postmoogle as email provider
2022-09-23 08:34:58 +00:00
Darren Rambaud 59adb8d028 dendrite: update image tag version
- 0.9.9 (https://github.com/matrix-org/dendrite/releases/tag/v0.9.9)
2022-09-22 09:21:23 -05:00
Slavi Pantaleev bcb6679e31
Merge pull request #2124 from etkecc/patch-82
Update Postmoogle 0.9.2 -> 0.9.3
2022-09-21 12:39:05 +03:00
Aine 6d29048ed9
Update Postmoogle 0.9.2 -> 0.9.3 2022-09-21 08:20:21 +00:00
Aine 8717447dc5
Update Honoroit 0.9.14 -> 0.9.15 2022-09-21 08:08:30 +00:00
Aine c6f9a42f40
Update Grafana 9.1.5 -> 9.1.6 2022-09-20 14:58:45 +00:00
Slavi Pantaleev 916df397d9
Merge pull request #2120 from etkecc/patch-78
Update ddclient v3.9.1-ls98 -> v3.9.1-ls99
2022-09-20 12:13:46 +03:00
Aine 63423e614f
Update ddclient v3.9.1-ls98 -> v3.9.1-ls99 2022-09-20 09:09:27 +00:00
Aine 18836e910f
Update mautrix-instagram 0.2.0 -> 0.2.1 2022-09-20 09:03:22 +00:00
Slavi Pantaleev 89648cf58e Fix some ansible-lint-reported warnings 2022-09-18 12:21:09 +03:00
Slavi Pantaleev 0259a7a50b Fix typo
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2114
2022-09-18 12:03:54 +03:00
Slavi Pantaleev 9654f5b5e3
Merge pull request #2113 from etkecc/honoroit-0914
Update Honoroit 0.9.13 -> 0.9.14
2022-09-18 09:41:26 +03:00
Aine f042542086
Update Honoroit 0.9.13 -> 0.9.14 2022-09-17 23:51:05 +03:00
Aine 47fa90bdc3
Update mautrix-signal 0.3.0 -> 0.4.0 2022-09-17 20:38:07 +00:00
Shaleen Jain 435c4f8b01
dendrite: update config to match upstream defaults 2022-09-17 14:33:29 +00:00
Slavi Pantaleev 67763fadec
Merge pull request #2109 from borisrunakov/stream_writer_worker_metrics_range
change stream writer worker metrics range start
2022-09-17 17:09:08 +03:00
Aine 3a3a0b5c9a
Update Cinny 2.1.3 -> 2.2.0 2022-09-17 13:41:29 +00:00
borisrunakov 49c64a8d65 change stream writer worker metrics range start 2022-09-17 10:22:05 +03:00
Slavi Pantaleev f2b66c3b04 Use a different name for appservice-irc image (localhost/ prefix) if self-building enabled
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2108
2022-09-17 10:02:07 +03:00
Slavi Pantaleev b45cd7495c Upgrade mautrix-whatsapp (0.6.1 -> 0.7.0) and change some defaults
`ephemeral_events`` and `sync_with_custom_puppets` have been flipped
to keep up with the default upstream config:
b33bd9c4a7
2022-09-17 09:39:42 +03:00
Slavi Pantaleev e25678c57a Upgrade Hookshot (2.1.2 -> 2.2.0) 2022-09-17 09:23:09 +03:00
Julian-Samuel Gebühr cd21525b4b Merge branch 'braid/matrix-ldap-registration-proxy' of https://github.com/TheOneWithTheBraid/matrix-docker-ansible-deploy into matrix-ldap-registration-proxy 2022-09-16 19:40:00 +02:00
Julian-Samuel Gebühr d23cef541e Redo exposing the service to nginx
The Service is now exposed by default on port 8585 and forwarded by nginx to the specified endpoint

Signed-off-by: Julian-Samuel Gebühr <julian-samuel@gebuehr.net>
2022-09-16 19:16:45 +02:00
Slavi Pantaleev b07fd76830 Fix prometheus.yml.j2 indentation and worker ids for stream writers
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2105
2022-09-15 12:46:44 +03:00
Slavi Pantaleev 800267b182 Fix incorrect if checks breaking start_pushers/send_federaiton/enable_media_repo
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/2103
2022-09-15 12:33:23 +03:00
Slavi Pantaleev ef112181a1 Update some Synapse documentation URLs 2022-09-15 10:46:17 +03:00
Slavi Pantaleev 109e1addb8 Improve reliability when using more than 1 media_repository worker 2022-09-15 10:45:03 +03:00
Slavi Pantaleev 8887aed500 Do not add federation_sender_instances/pusher_instances configuration if not necessary
This keeps the configuration cleaner and hopefully prevents odd issues
if Synapse (by any chance) happens to interpret `pusher_instances: []`
as "no pushers", instead of as "push from the master process".

I haven't confirmed what an empty pushers/federation-senders list means,
so it's safer to just avoid it.
2022-09-15 10:34:02 +03:00
Slavi Pantaleev a1fb082618 Add support for running background tasks on a worker 2022-09-15 10:32:51 +03:00
Slavi Pantaleev 5f3f460cda Restore support for appservice and user_dir workers 2022-09-15 10:06:56 +03:00
Slavi Pantaleev 8cd7c1ec2f Relocate enable_media_repo and make it configurable via matrix_synapse_enable_media_repo
.. although.. manual configuration is discouraged in most cases.
2022-09-15 08:37:23 +03:00
Slavi Pantaleev b842447047 Add support for multiple pusher workers 2022-09-15 08:32:55 +03:00
Slavi Pantaleev 22cf259155 Put common worker configuration options at the top 2022-09-15 08:14:47 +03:00
Slavi Pantaleev ec654ca91e Add support for multiple federation sender workers 2022-09-15 08:13:08 +03:00
Slavi Pantaleev 226c550ffa Add support for stream writer Synapse workers
As stream writer workers are also powered by the `generic_worker`
Synapse app, this necessitated that we provide means for distinguishing
between them and regular `generic_workers`.

I've also taken the time to optimize nginx configuration generation
(more Jinja2 macro usage, less duplication).

Worker names have also changed.
Workers are now named sequentially like this:
- `matrix-synapse-worker-0-generic`
- `matrix-synapse-worker-1-stream-writer-typing`
- `matrix-synapse-worker-2-pusher`

instead of `matrix-synapse-worker_generic_worker-18111` (indexed with a
port number).

People who modify `matrix_synapse_workers_enabled_list` directly will
need to adjust their configuration.
2022-09-15 08:10:04 +03:00
Slavi Pantaleev fde5fef8b3 Fix Cactus Comments nginx injection when matrix-nginx-proxy disabled
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2101

Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/2089
2022-09-14 20:44:35 +03:00
Aine cb2e57e33a
Update Postmoogle 0.9.1 -> 0.9.2 2022-09-14 09:58:33 +00:00
Slavi Pantaleev ef523d68a4 Suppress errors in docker kill/rm calls for Synapse workers
We do the same everywhere else. This is an omission.
2022-09-14 08:13:01 +03:00
Julian-Samuel Gebühr 54d5741ec1 Fix typo 2022-09-13 16:39:15 +00:00
TheOneWithTheBraid 1da77f03b1 fix: updated default variables
Signed-off-by: TheOneWithTheBraid <the-one@with-the-braid.cf>
2022-09-13 16:39:15 +00:00
Julian-Samuel Gebühr 19e61b0ad7 Inject nginx configuration for ldap proxy at runtime 2022-09-13 16:39:15 +00:00
Julian-Samuel Gebühr 94c9312bd0 Remove matrix LDAP proxy config from nginx role 2022-09-13 16:39:15 +00:00
Julian-Samuel Gebühr a03b5efc42 Add nginx rewrite for registration 2022-09-13 16:39:15 +00:00
Julian-Samuel Gebühr 7c79f78d03 Remove selfcheck 2022-09-13 16:39:15 +00:00
Julian-Samuel Gebühr bdfd84e146 Use a template option for the env with variable extension 2022-09-13 16:39:15 +00:00
Julian-Samuel Gebühr b4fdc622fd Remove ma1sd leftovers 2022-09-13 16:39:15 +00:00
Julian-Samuel Gebühr b6fee92f0e Avoid cross-referencing of variables in role, move to group vars 2022-09-13 16:39:15 +00:00
Julian-Samuel Gebühr 42230b6765 Make role enabled in role but turn it off in group vars 2022-09-13 16:39:15 +00:00
Julian-Samuel Gebühr 91e75d650e Validate that basic LDAP settings are provided 2022-09-13 16:39:15 +00:00
Julian-Samuel Gebühr 8e76d712df Remove ma1sd leftovers 2022-09-13 16:39:15 +00:00
TheOneWithTheBraid 6f02a916ec feat: include matrix_ldap_registration_proxy
Fixes: #1144

Signed-off-by: TheOneWithTheBraid <the-one@with-the-braid.cf>
2022-09-13 16:39:15 +00:00
Slavi Pantaleev bab0d3b2cf
Merge pull request #2098 from etkecc/patch-72
Update Appservice IRC 0.34.0 -> 0.35.0
2022-09-13 17:17:29 +03:00
Slavi Pantaleev 8a95e961de
Merge pull request #2095 from etkecc/patch-69
Update Grafana 9.1.4 -> 9.1.5
2022-09-13 17:17:15 +03:00
Slavi Pantaleev ca984a9987
Merge pull request #2096 from etkecc/patch-70
Update Element 1.11.4 -> 1.11.5
2022-09-13 17:17:08 +03:00
Slavi Pantaleev c5c032ac61
Merge pull request #2097 from etkecc/patch-71
Update Coturn 4.5.2-r14 -> 4.6.0-r0
2022-09-13 17:17:01 +03:00
Aine 17e6c52cbf
Update Dendrite 0.9.7 -> 0.9.8 2022-09-13 13:53:45 +00:00
Aine 2edd9a056e
Update Appservice IRC 0.34.0 -> 0.35.0 2022-09-13 13:52:36 +00:00
Aine 83482721f8
Update Coturn 4.5.2-r14 -> 4.6.0-r0 2022-09-13 13:51:32 +00:00
Aine c29a39a6fb
Update Element 1.11.4 -> 1.11.5 2022-09-13 13:49:39 +00:00
Aine afe5a016cb
Update Grafana 9.1.4 -> 9.1.5 2022-09-13 13:48:57 +00:00
Slavi Pantaleev f12206676f Upgrade Synapse (v1.66.0 -> 1.67.0) and remove frontend_proxy workers
`frontend_proxy` workers have been superseded by `generic_worker` workers.
Related to https://github.com/matrix-org/synapse/pull/13645
2022-09-13 15:45:50 +03:00
Slavi Pantaleev 11f2cda21a Upgrade Certbot (1.28 -> 1.30) 2022-09-09 21:06:17 +03:00
Slavi Pantaleev 8778c14fe2 Upgrade Dendrite (0.9.6 -> 0.9.7) 2022-09-09 21:04:07 +03:00
Aine 5c954b0d5a
Update Grafana 9.1.3 -> 9.1.4 2022-09-09 15:55:53 +00:00
Julian-Samuel Gebühr c7d8299398 Correct service name
Signed-off-by: Julian-Samuel Gebühr <julian-samuel@gebuehr.net>
2022-09-09 16:01:36 +02:00
Slavi Pantaleev 71555341d1 Pin Cactus Comments version (latest -> 0.9.0)
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/2089
2022-09-09 14:49:51 +03:00
Slavi Pantaleev c00a8d4099 Announce Cactus Comments support
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/2089
2022-09-09 14:47:53 +03:00
Julian-Samuel Gebühr 5825a0c919
Cactus comments (#2089)
* Add construct for cactus comments role

* Adjust config files

* Add docker self build to defaults

* Adjust tasks

* Fix smaller syntax errors

* Fix env argument

* Add tmp path to allow container writing there

Background why I did this: https://docs.gunicorn.org/en/stable/settings.html#worker-tmp-dir

* Change port back to 5000 as not configurable in container

* Try to add appservice config file for synapse to use

* Inject appservice file

* Correct copied variable name

* Comment out unused app service file injection

would need mounting the appservice file to the synapse container i guess

* Move role before synapse to be able to inject during runtime

* Remove unused parts

* Change default user id to mirror official docs

* Add docs

* Update roles/matrix-cactus-comments/tasks/setup_install.yml

Co-authored-by: Slavi Pantaleev <slavi@devture.com>

* Update roles/matrix-cactus-comments/templates/cactus_appservice.yaml.j2

Co-authored-by: Slavi Pantaleev <slavi@devture.com>

* Generate secrets if necessary, adjust docs

* Rename cactusbot userid

* Shorten salt strings

Co-authored-by: Slavi Pantaleev <slavi@devture.com>

* Use tmpfs instead of persistent mount

* Remove proxy option as it is nonsense

* Add download and serving of cc-client files

* Add documentation on client

* Clarify docs a bit

* Add nginx proxy to required services

Signed-off-by: Julian-Samuel Gebühr <julian-samuel@gebuehr.net>

* Use container address

Signed-off-by: Julian-Samuel Gebühr <julian-samuel@gebuehr.net>

* Correct comment of user id

Signed-off-by: Julian-Samuel Gebühr <julian-samuel@gebuehr.net>

* Use releases or local distributed client

Signed-off-by: Julian-Samuel Gebühr <julian-samuel@gebuehr.net>

* Move homeserver url to defaults

Signed-off-by: Julian-Samuel Gebühr <julian-samuel@gebuehr.net>

* Correct truth value

Signed-off-by: Julian-Samuel Gebühr <julian-samuel@gebuehr.net>

* Add documentation of variables

Co-authored-by: Slavi Pantaleev <slavi@devture.com>

* Tabs vs. spaces

Co-authored-by: Slavi Pantaleev <slavi@devture.com>

* Make nginx root configurable

Signed-off-by: Julian-Samuel Gebühr <julian-samuel@gebuehr.net>

* Complete ake nginx root configurable

Signed-off-by: Julian-Samuel Gebühr <julian-samuel@gebuehr.net>

* Fix file permission

Signed-off-by: Julian-Samuel Gebühr <julian-samuel@gebuehr.net>

* Fix lint errors

Signed-off-by: Julian-Samuel Gebühr <julian-samuel@gebuehr.net>

Signed-off-by: Julian-Samuel Gebühr <julian-samuel@gebuehr.net>
Co-authored-by: Slavi Pantaleev <slavi@devture.com>
2022-09-09 14:37:52 +03:00
Aine 692a7af36a
postmoogle feedback 2022-09-09 13:19:25 +03:00
Aine b92ff748e4
Update Postmoogle 0.9.0 -> 0.9.1 2022-09-09 10:47:00 +03:00
Slavi Pantaleev 8b40ca8daa Upgrade ddclient (v3.9.1-ls97 -> v3.9.1-ls98) 2022-09-06 12:16:27 +03:00
Slavi Pantaleev 48a1ab0d22 Upgrade Grafana (9.1.2 -> 9.1.3) 2022-09-06 12:16:09 +03:00
Julian-Samuel Gebühr 24effe36b6 Fix typo 2022-09-06 09:37:35 +02:00
Julian-Samuel Gebühr 3aa2c8e535 Inject nginx configuration for ldap proxy at runtime 2022-09-05 21:52:43 +02:00
Julian-Samuel Gebühr e5ba1daad4 Remove matrix LDAP proxy config from nginx role 2022-09-05 21:48:19 +02:00
Slavi Pantaleev 5f9f891322 Fix misleading comment
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/2086
2022-09-05 20:04:21 +03:00
Julian-Samuel Gebühr 43bca57798 Add nginx rewrite for registration 2022-09-04 19:38:27 +02:00
Julian-Samuel Gebühr 3bc64fb6cc Remove selfcheck 2022-09-04 09:09:59 +02:00
Julian-Samuel Gebühr 949ca115fe Use a template option for the env with variable extension 2022-09-04 09:09:09 +02:00
Julian-Samuel Gebühr 7665c5e048 Remove ma1sd leftovers 2022-09-04 08:59:07 +02:00
Julian-Samuel Gebühr 54def0b1e1 Avoid cross-referencing of variables in role, move to group vars 2022-09-04 08:56:03 +02:00
Julian-Samuel Gebühr ab33024665 Make role enabled in role but turn it off in group vars 2022-09-04 08:53:26 +02:00
Julian-Samuel Gebühr 88f4166385 Validate that basic LDAP settings are provided 2022-09-04 08:46:56 +02:00
Julian-Samuel Gebühr b112480793 Remove ma1sd leftovers 2022-09-04 08:44:49 +02:00
Julian-Samuel Gebühr 61083e6fbd Merge branch 'braid/matrix-ldap-registration-proxy' of https://github.com/TheOneWithTheBraid/matrix-docker-ansible-deploy into matrix-ldap-registration-proxy 2022-09-04 08:40:09 +02:00
Aine 1c95c8fc3e
Update hookshot 2.1.0 -> 2.1.2 2022-09-03 10:47:39 +00:00
Charles Wright 1cae31372c Make Conduit's rocksdb_max_open_files parameter configurable, and set it to a higher default value 2022-09-02 13:04:21 -05:00
Slavi Pantaleev 1efd1045f6 Upgrade Hookshot (2.0.1 -> 2.1.0) 2022-09-02 14:38:05 +03:00
Shaleen Jain 0300c0e96e Update dendrite 0.9.5 -> 0.9.6
Remove appservice database setup/config as the latest update no longer requires it.
2022-09-02 09:31:17 +05:30
Silas e74e3c9e8f Correctly check number of arguments when creating a dendrite account
This is probably a continuation of changes made in d7ed672f7.
2022-09-01 22:23:02 -03:00
Slavi Pantaleev 86ab4bc5e2
Merge pull request #2081 from etkecc/patch-65
Update Element 1.11.3 -> 1.11.4
2022-08-31 20:37:13 +03:00
Aine 023f273240
Update Cinny 2.1.2 -> 2.1.3 2022-08-31 16:36:31 +00:00
Aine a6ad396cd2
Update Element 1.11.3 -> 1.11.4 2022-08-31 16:35:37 +00:00
Slavi Pantaleev 664406af57 Upgrade Synapse (v1.65.0 -> v1.66.0) 2022-08-31 15:45:46 +03:00
Slavi Pantaleev 09d4a9beab Make matrix_bot_postmoogle_admins=[] when matrix_admin not set
.. instead of `['']`.

The final result in the `env` file will be the same (`POSTMOOGLE_ADMINS=`)
in both cases, but it's better to avoid confusion.
2022-08-31 11:17:56 +03:00
Slavi Pantaleev 720b340618
Merge pull request #2080 from etkecc/patch-64
Update grafana 9.1.1 -> 9.1.2
2022-08-30 20:07:39 +03:00
Aine 4bff8c18db
Update grafana 9.1.1 -> 9.1.2 2022-08-30 16:49:47 +00:00
Aine 1bc49949f9
postmoogle 0.9.0 2022-08-30 19:48:16 +03:00
Slavi Pantaleev 8e0e9fa878 Deprecate matrix_synapse_account_threepid_delegates_email before Synapse v1.66.0
This is done in anticipation of this option's removal in the
upcoming Synapse v1.66.0 release (likely tomorrow).

See: https://matrix-org.github.io/synapse/v1.66/upgrade.html#delegation-of-email-validation-no-longer-supported
2022-08-30 18:51:35 +03:00
Aine b018a0a114
Update ddclient v3.9.1-ls96 -> v3.9.1-ls97 2022-08-30 11:10:58 +00:00
Slavi Pantaleev caebb7be0b Disable registration for Conduit by default
We do this for all other supported homeservers.

A "public by default" homeserver is a bad idea for most people.

Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2076
2022-08-30 10:54:31 +03:00
Aine c68f698052
postmoogle: set safe defaults to POSTMOOGLE_USERS 2022-08-29 17:43:03 +00:00
Aine cc57af9126
postmoogle: remove noowner and federation 2022-08-29 20:24:00 +03:00
Aine b0eb28721b
postmoogle: add admins (#2073)
* postmoogle: add admins

* postmoogle: update jija2 defaults

* postmoogle: fix typo
2022-08-29 18:13:27 +03:00
Aine e8fd3fdc19
bot-postmoogle: add POSTMOOGLE_USERS config option 2022-08-28 18:48:18 +03:00
Slavi Pantaleev a0ecf13cdb Add ability to control RandomizedDelaySec of matrix-backup-borg.timer
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2068
2022-08-28 18:05:59 +03:00
Aine bb0ce4cac6
Update Hydrogen 0.3.1 -> 0.3.2 2022-08-26 19:47:05 +00:00
Slavi Pantaleev e27bfa7e91
Merge pull request #2063 from etkecc/patch-60
Update mautrix-instagram 0.1.3 -> 0.2.0
2022-08-26 17:51:54 +03:00
Slavi Pantaleev 25f684320b
Merge pull request #2062 from etkecc/patch-59
Update Jitsi stable-7648-3 -> stable-7648-4
2022-08-26 17:43:16 +03:00
Aine 033b8e57cc
Update mautrix-instagram 0.1.3 -> 0.2.0 2022-08-26 14:42:56 +00:00
Aine ee892c7cf7
Update Jitsi stable-7648-3 -> stable-7648-4 2022-08-26 13:48:30 +00:00
Aine d2769d6bca
Update mautrix-telegram: 0.11.3 -> 0.12.0 2022-08-26 13:47:44 +00:00
Slavi Pantaleev 9f0f21cf30 Pass --no-update to mautrix-discord
Possibly fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2060
2022-08-26 12:21:38 +03:00