Commit graph

4083 commits

Author SHA1 Message Date
Julian-Samuel Gebühr 90a142439a
Add matrix-registration-bot (#1771)
* Add matrix-registration-bot

This adds an install and uninstall task plus helpers. The bot is disabled by default.
This commit does not include documentation, yet. In short, the bot can be enabled by adding
matrix_bot_matrix_registration_bot_enabled: true
matrix_bot_matrix_registration_bot_matrix_user_password: "verysecret"
matrix_bot_matrix_registration_bot_matrix_admin_token: "supersecret"
to the host_vars

* Change bot username to bot.matrix-registration-bot following convention

* Address smaller remarks, fix local docker build

* Switch to an env file

* Add environment variables extension for additional config

* Add documentation for the matrix-registration-bot

* Add screenshot on how to obtain admin access token

* Use bot as admin to only have one access token (bot and admin api)

* Use cleaner setting of matrix_synapse_registration_requires_token

* Use config file for cleaner more secure usage

* Delete unneeded env

* Rename vars to make usage clear

* Fix typos/wording and add notice about logging out

* Convert configuration to use |to_json

* Reorder role includes

Nothing should be after `matrix-common-after`.

`matrix-bot-matrix-registration-bot` can probably be anywhere, but it makes sense to put it next to the other `matrix-bot-*` roles.

* Minor group_vars/matrix_servers touchups

Co-authored-by: Slavi Pantaleev <slavi@devture.com>
2022-04-21 11:07:47 +03:00
borisrunakov acaebfbf67
optional media cache with range requests support (#1759) 2022-04-21 10:31:26 +03:00
Slavi Pantaleev 832b0eb1b1
Merge pull request #1774 from OdyX/appservice-slack-rtm-needs-enabling
Slack appservice: Enable RTM by default
2022-04-21 10:05:21 +03:00
Slavi Pantaleev b2105f35ec
Add comments around rtm
Comments taken from https://github.com/matrix-org/matrix-appservice-slack/blob/develop/config/config.sample.yaml

We should probably reconcile our configuration with that one and include comments for other fields as well.
2022-04-21 09:58:30 +03:00
Didier 'OdyX' Raboud 018da4fb25
Slack appservice: Enable RTM by default
It is very confusing to debug why messages only go from Matrix to Slack
but not from Slack to Matrix. RTM should be enabled by default, as
that's the recommended way to make this work.
2022-04-20 19:06:19 +02:00
Slavi Pantaleev d04767a9d6 Upgrade Synapse (1.57.0 -> 1.57.1) 2022-04-20 18:46:10 +03:00
Slavi Pantaleev dd83d88cb0
Merge pull request #1770 from etkecc/master
add retires to all get_url actions
2022-04-20 08:38:13 +03:00
Aine 502ea21fba
add retires to all get_url actions 2022-04-19 22:01:14 +03:00
Slavi Pantaleev ad42872466
Merge pull request #1768 from etkecc/master
matrix-backup-borg - cleanup the .service from the systemd list
2022-04-19 19:46:15 +03:00
Aine 80c9551ef9
matrix-backup-borg - cleanup the .service from the systemd list 2022-04-19 19:42:13 +03:00
Slavi Pantaleev 295ef29fe0 Announce borg backup support
Related to:

- https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1727
- https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1754
- https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1755
- https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/467
2022-04-19 19:29:41 +03:00
Slavi Pantaleev f0842d7226 Document that upgrading to Synapse v1.57 may be dangerous in some instances
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1766
2022-04-19 17:29:58 +03:00
Slavi Pantaleev dc508fc5f5
Merge pull request #1766 from etkecc/update-synapse-1.57.0
update synapse 1.56.0 -> 1.57.0
2022-04-19 15:31:51 +03:00
Aine 949228eaf8
update synapse 1.56.0 -> 1.57.0 2022-04-19 14:41:31 +03:00
Slavi Pantaleev 43b639aeef
Merge pull request #1763 from etkecc/master
update honoroit 0.9.6 -> 0.9.7
2022-04-18 20:46:17 +03:00
Aine 15ce32a30c
update honoroit 0.9.6 -> 0.9.7 2022-04-18 19:37:14 +03:00
Adriel Sand 949fdd0135
matrix-backup-borg: add ability to backup to unencrypted repositories (#1754)
* matrix-backup-borg: added option for unencrypted repo access

* matrix-backup-borg: fixed requiring password for unencrypted repos; changed variable name

* matrix-backup-borg: add unknown_unencrypted_repo_access_is_ok to config.yaml.j2

* matrix-backup-borg: cleanup comments

* matrix-backup-borg: add documentation regarding unencrypted repos

* matrix-backup-borg: add readability and ease of use to code

* matrix-backup-borg: fix wording in defaults/main.yml comment

* matrix-backup-borg: add quotes to docs

* Indicate the variable to use

Co-authored-by: Slavi Pantaleev <slavi@devture.com>
2022-04-18 14:48:37 +03:00
Slavi Pantaleev ca09b935c3
Merge pull request #1762 from ofalvai/patch-4
Upgrade Telegrame bridge to 0.11.3
2022-04-18 14:24:33 +03:00
Olivér Falvai 4be425c267
Upgrade Telegrame bridge to 0.11.3 2022-04-18 13:10:39 +02:00
Slavi Pantaleev 5c1ee66e8d
Merge pull request #1760 from lunarthegrey/patch-1
Increase default async time for rust-synapse-compress-state
2022-04-18 09:56:56 +03:00
Lunar 471806e7bd
Increase default async time for rust-synapse-compress-state
Increase the async timeout value defaults, as larger Matrix servers need more time to complete.
2022-04-17 20:27:04 -05:00
Slavi Pantaleev c999e77e30
Merge pull request #1758 from RoiArthurB/patch-1
Update mautrix-whatsapp 0.3.0 -> 0.3.1
2022-04-17 10:13:18 +03:00
Arthur Brugière 3fbbd5a52c
Update mautrix-whatsapp 0.3.0 -> 0.3.1 2022-04-17 14:07:50 +07:00
Slavi Pantaleev 83ffb9d910
Merge pull request #1755 from etkecc/backup-borg-postgres
matrix-backup-borg: integrate postgres backups, add extended borgmatic configuration
2022-04-16 09:30:03 +03:00
Aine c520a758ec
fix linter 2022-04-15 19:43:45 +03:00
Aine a9d0cbc560
feedback 2022-04-15 19:38:10 +03:00
Slavi Pantaleev c60807c36b
Merge pull request #1756 from joecool1029/master
Update element 1.10.9 -> 1.10.10
2022-04-15 07:43:32 +03:00
joecool1029 5611cab71a
Update element 1.10.9 -> 1.10.10 2022-04-14 13:38:38 -04:00
Aine d5f4c17146
matrix-backup-borg: integrate postgres backups, add extended borgmatic configuration 2022-04-14 18:06:54 +03:00
Slavi Pantaleev 37e9aebc86
Merge pull request #1753 from HarHarLinks/patch-11
Upgrade Hookshot (1.4.0 -> 1.5.0)
2022-04-14 16:12:47 +03:00
Kim Brose 7e062328ff
Upgrade Hookshot (1.4.0 -> 1.5.0) 2022-04-14 15:01:40 +02:00
Slavi Pantaleev 2df993977a Ensure git cloning when self-building is done with the matrix user, not root
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1749
2022-04-14 08:52:37 +03:00
Slavi Pantaleev aef2c4c32e
Merge pull request #1748 from ofalvai/patch-3
Improve borg backup instructions
2022-04-13 10:23:18 +03:00
Olivér Falvai 121f860d63
Update configuring-playbook-backup-borg.md 2022-04-13 08:58:19 +02:00
Olivér Falvai 23d0832e85
Improve borg backup instructions 2022-04-12 20:14:12 +02:00
Slavi Pantaleev ce675b0e79
Merge pull request #1747 from etkecc/patch-4
Update honoroit 0.9.5 -> 0.9.6
2022-04-12 20:08:15 +03:00
Aine b9bf20c761
Update honoroit 0.9.5 -> 0.9.6
This update brings stable threads support
2022-04-12 15:52:49 +00:00
Slavi Pantaleev e776871b98
Merge pull request #1746 from ChrisKar96/patch-1
Update jitsi to version 7001
2022-04-12 17:09:30 +03:00
Christos Karamolegkos 9c606d1fcb
Update jitsi to version 7001
Tested, works without any configuration changes.
2022-04-12 17:00:07 +03:00
Slavi Pantaleev 202f195bbc
Merge pull request #1745 from etkecc/patch-3
Update coturn 4.5.2-r8 -> 4.5.2-r11
2022-04-12 14:18:13 +03:00
Aine ac1bd49494
Update coturn 4.5.2-r8 -> 4.5.2-r11 2022-04-12 11:16:36 +00:00
Slavi Pantaleev b358b4f5c2
Merge pull request #1744 from etkecc/patch-2
Update element 1.10.8 -> 1.10.9
2022-04-12 14:15:49 +03:00
Aine 10c6c24c16
Update element 1.10.8 -> 1.10.9 2022-04-12 11:15:11 +00:00
Slavi Pantaleev e51cc2a7a3
Merge pull request #1743 from yncyrydybyl/master
This adds a variable for requiring MSC3231 token for registration
2022-04-12 11:38:00 +03:00
Yan Minagawa f6cb59116b This adds a variable for requiring MSC3231 token for registration 2022-04-12 14:31:49 +07:00
Slavi Pantaleev af96f4d964
Merge pull request #1742 from HarHarLinks/hookshot-1.4.0
Upgrade Hookshot (1.3.0 -> 1.4.0)
2022-04-11 21:03:28 +03:00
HarHarLinks a9e6538ef8 Upgrade Hookshot (1.3.0 -> 1.4.0)
https://github.com/matrix-org/matrix-hookshot/releases/tag/1.4.0
2022-04-11 18:55:02 +02:00
HarHarLinks ceb2f54970 Make hookshot hardcoded public URLs dynamic 2022-04-11 16:45:33 +02:00
Slavi Pantaleev f4ba995d9b Fix validation and prevent empty "external-ip=" lines in Coturn config
We no longer validate that there's an IP address defined.
Seems like Coturn can start without one as well, so there's no need to
require it.

If people populate `matrix_coturn_turn_external_ip_addresses` directly
to specify multiple addresses, they can leave
`matrix_coturn_turn_external_ip_address` empty.

We use the "select not equal to empty string" thing in the for loop
to avoid `matrix_coturn_turn_external_ip_address` leading to
`matrix_coturn_turn_external_ip_addresses: ['']` leading to
`external-ip=` in the Coturn configuration.

Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1741
2022-04-11 15:38:35 +03:00
Hefty Zauk 03d2dcc996
Move into coturn defaults 2022-04-11 11:20:09 +00:00