Commit graph

843 commits

Author SHA1 Message Date
Slavi Pantaleev 2e40ad7d4e Announce Kakaotalk support 2022-07-27 09:36:58 +03:00
mcnesium 72309ed0a1
run the playbook on multiple hosts with different credentials (#1980)
* run the playbook on multiple hosts with different credentials with this script

* fix: add yaml missing document start "---"

* fix: *now really* allow this script to be run from any directory

* add about-note to examples/host.yml

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

* improve ansible-all-hosts.sh related docs/configuring-playbook.md

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

* fix typos :)

Co-authored-by: Slavi Pantaleev <slavi@devture.com>
2022-07-26 16:34:55 +03:00
Slavi Pantaleev d14e499365 Add dedicated variables for controlling Kakaotalk encryption 2022-07-25 16:01:15 +03:00
Slavi Pantaleev e46ba5deba Add matrix-appservice-kakaotalk support
Adds support for: https://src.miscworks.net/fair/matrix-appservice-kakaotalk

This is pretty similar to
https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1977
which just appeared, but has mostly been done independently.

I've taken some inspiration and did some fixups based on that PR.
Thanks to https://github.com/hnarjis for taking the time to contribute!

Notable differences between this branch compared to that PR:

- better naming and documentation around the "configuration" variables
- no unnecessary (5 sec.) intentional delay when starting `matrix-appservice-kakaotalk-node.service`
- stores configuration in `config/`, not in `data/`
- passes configuration as read-only and starts the bridge with (`--no-update`) to ensure no changes are made to it
- starts containers more securely - with `matrix:matrix` user:group (not `root`) and
  reduced capabilities (`--cap-drop=ALL`)
- uses `tcp` for communication between the "node" and the appservice (simpler than sharing unix sockets)
- `registration.yaml` which is closer to the one generated by `matrix-appservice-kakaotalk` (no `de.sorunome.msc2409.push_ephemeral` stuff, etc.)
- `registration.yaml` which is more customizable (customizable bot username and prefix for puppets - see `matrix_appservice_kakaotalk_appservice_bot_username` and `matrix_appservice_kakaotalk_user_prefix`)
- less fragile and more extensible bridge permissions configuration via `matrix_appservice_kakaotalk_bridge_permissions`. Doing `{% if matrix_admin %}` in the bridge configuration sometimes causes syntax problems (I hit some myself) and is not ideal. Other bridges should be redone as well.
- configurable command prefix for the bridge, instead of hardcoding `!kt` (see `matrix_appservice_kakaotalk_command_prefix`)
- logging that is more consistent with the rest of the playbook (console / journald only, no logging to files), as well as configurable log level (via `matrix_appservice_kakaotalk_logging_level`)
- somewhat more detailed documentation (`docs/configuring-playbook-bridge-appservice-kakaotalk.md`)
- removed some dead code (data relocation tasks from `tasks/setup_install.yml`, as well as likely unnecessary SQLite -> Postgres migration)
2022-07-25 16:01:15 +03:00
Slavi Pantaleev 9e65ba3298
Merge pull request #1958 from xangelix/migrate-mx-puppet-groupme-repo
Migrate mx-puppet-groupme to new repo
2022-07-25 15:15:06 +03:00
Onisokien Ayonoadu 50ae4d2422
Minor typo update 2022-07-22 13:11:38 -06:00
MdotAmaan 8621ff1379 Add Mautrix Discord Bridge 2022-07-22 18:55:44 +04:00
Slavi Pantaleev 57e8769c5e
Add hint about matrix_backup_borg_ssh_key_private indentation 2022-07-21 17:07:06 +03:00
kleo db94653b42
Borg backup provide ssh key example format 2022-07-21 21:56:52 +08:00
Slavi Pantaleev b9d7e24859
Merge pull request #1957 from mholt/patch-1
Update configuring-well-known.md
2022-07-21 10:30:34 +03:00
Matt Holt 9e87f9d885
Update configuring-well-known.md 2022-07-20 12:10:34 -06:00
Julian-Samuel Gebühr ff2ba1d5b1 Add matrix-registreation-bot docker image 2022-07-20 12:18:11 +02:00
Slavi Pantaleev e5238bf7d5 Announce maubot
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1894
2022-07-20 12:55:18 +03:00
Julian-Samuel Gebühr b20cfc5015
Clear up maubot role (#1960)
* Make interface hidden behind proxy by default

* Remove expose option and replace with http_bind_port

Reasoning: This is a similar binary trigger but allows to bin not on all interfaces

* Clarify maubot admin purpose

* Remove unnecessary edif

* Extend docs to prevent common misconceptions

* Make http_bind_port singular, do not allow multiple values

* Make optional again
2022-07-20 12:23:32 +03:00
Slavi Pantaleev 1f2d100d91
Merge pull request #1894 from moan0s/maubot_moanos
Maubot moanos
2022-07-20 10:10:14 +03:00
Cody Wyatt Neiman dbddd9f989
Migrate mx-puppet-groupme to new repo 2022-07-19 19:02:32 -04:00
Matt Holt 2e02e694b4
Update configuring-well-known.md
Make use of `example.com` more consistent (replace `DOMAIN`) and simplify Caddy 2 config. Remove Caddy 1 config since Caddy 1 is long past EOL.
2022-07-19 16:31:01 -06:00
Aaron Raimist efec303a22
Explicitly mention that your homeserver's domain is included in telemetry 2022-07-19 16:42:53 +00:00
Slavi Pantaleev 2a131fd507
Merge pull request #1954 from aaronraimist/stats
Update telemetry documentation to more closely match upstream
2022-07-19 18:38:29 +03:00
Aaron Raimist 817830bb3d
Update telemetry documentation to more closely match upstream
Synapse no longer describes the stats as anonymized since the `server_name` is included.
https://github.com/matrix-org/synapse/pull/13321
2022-07-19 14:58:19 +00:00
Slavi Pantaleev 78b5be4a26 Do not generate /.well-known/matrix/support unless explicitly asked to
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1931
2022-07-18 12:54:45 +03:00
Slavi Pantaleev 3f7498da5a Fix matrix_homeserver_admin_contacts example
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1931

This does 2 things:

- it fixes the syntax for `matrix_id`. Starting strings with `@` is
  invalid YAML, so such strings need to be wrapped in single or double
  quotes
- it makes use of the `matrix_domain` variable instead of hardcoding the
  domain name. This should be more and mistake-proof (typos or people
  mistaking their domain - matrix. vs base domain)
2022-07-18 12:49:53 +03:00
teutates 018ca75d48
Implement MSC 1929 Homeserver Admin Contact (#1931)
* Implement MSC 1929 Homeserver Admin Contact
Fixes #1612

For details to the proposed (not accepted yet) MSC, see:
https://github.com/matrix-org/matrix-spec-proposals/blob/hs/proposal-admin-contact-1/proposals/1929-admin-contact.md

* Implement feedback from PR #1931

* Implement feedback from PR #1931

* Fix mixed indentation
2022-07-18 12:28:59 +03:00
marinmo 5a1a1126a2
update buscarron from github -> gitlab
project doesn't exist on github anymore
2022-07-16 15:33:30 +00:00
alexhartley 015952b37d Update recommended Skype bridge 2022-07-15 17:49:47 +01:00
Slavi Pantaleev e94ec75e1a Remove matrix-bridge-mx-puppet-skype role 2022-07-14 18:09:19 +03:00
Julian-Samuel Gebühr 1ffc0d963b Add maubot configuration docs 2022-07-12 01:15:12 +02:00
Julian-Samuel Gebühr 29b336f0a8 Add docs
Unrelated to the original branch I added the matrix-registration bot as it was missing in the readme
2022-07-11 13:28:23 +02:00
ThellraAK 87f437968d
Creating generic mautrix bridge doc (#1912)
* Creating generic mautrix bridge doc

Not a huge fan of how it turned out at all, not sure how to make it better.

* Rename configuring-playbook-bridge-mautrix-Generic.md to configuring-playbook-bridges.md

* accepting suggested edits after rename mess

* Adding log level configuration

* Update docs/configuring-playbook-bridges.md

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

* Rename configuring-playbook-bridges.md to configuring-playbook-mautrix-bridges.md

Co-authored-by: ThellraAK <ThellraAK@pop-os.localdomain>
Co-authored-by: Slavi Pantaleev <slavi@devture.com>
2022-07-08 18:06:37 +03:00
Julian Foad 5bcf836283 matrix-ntfy: more detailed usage docs for SchildiChat 2022-07-08 13:18:30 +01:00
Julian Foad 9ea0879a63 matrix-ntfy: document ntfy & schildichat app settings 2022-07-08 12:02:06 +01:00
Julian Foad e60d20dc6a matrix-ntfy: store settings in a config file 2022-07-04 21:30:29 +01:00
Julian Foad 85b12b74a7 matrix-ntfy: documentation 2022-07-04 15:32:07 +01:00
freiit 02cc201f14
Add configuration instruction for AWS CloundFront 2022-07-01 12:28:10 +02:00
Slavi Pantaleev 4ca0d23b81
FIx code blocks 2022-07-01 08:42:23 +03:00
ThellraAK 84346cae9c
Update configuring-playbook-bridge-mautrix-facebook.md
Adding the defaults in addition to template, switching YOUR_DOMAIN to {{ matrix_domain }}, and giving example of the two combined, as the playbook gives a warning about things being defined twice, so only using the last one in the vars.yml
2022-06-30 21:28:38 -08:00
ThellraAK 60c14c3550
Update configuring-playbook-own-webserver.md
Fixing code block formatting
2022-06-30 03:46:24 -08:00
Slavi Pantaleev 3fbff1a789
Mention matrix_admin
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1899
2022-06-30 11:57:01 +03:00
ThellraAK 9cf2b37352
Update configuring-playbook-bridge-mautrix-instagram.md
Copy/Pasting from docs/configuring-playbook-bridge-mautrix-facebook.md but with the relevant variable names changed to add turning on encryption and a puppet admin.
2022-06-30 00:43:01 -08:00
ThellraAK 523a7b4a6e
Update configuring-playbook-own-webserver.md
Adding a bit on how to bind the synapse ports if the webserver isn't in the same docker network, or on a different machine.
2022-06-28 23:38:08 -08:00
ThellraAK e36894f93b
Update configuring-playbook-bridge-mautrix-facebook.md
Logging in from the IP address is no longer always enough, but 2FA seems to work eventually
2022-06-28 03:35:12 -08:00
nono-lqdn 5f6ad0f603 Added a note on managing the basic_auth password on external prometheus
servers
2022-06-24 17:45:52 +02:00
Slavi Pantaleev ba51997f7b (BC Break) Redo how metrics are exposed to external Prometheus servers 2022-06-23 17:55:07 +03:00
Slavi Pantaleev fe0b60c40b
Merge pull request #1878 from CyberShadow/go-skype-bridge-docs
Doc fixups for go-skype-bridge
2022-06-13 09:43:55 +03:00
Vladimir Panteleev d6a3881092
docs/configuring-playbook-bridge-go-skype-bridge: Fixups
Fixup for #1877.
2022-06-13 06:40:15 +00:00
Slavi Pantaleev 5e9e8f9e29 Announce go-skype-bridge support 2022-06-13 08:02:31 +03:00
Vladimir Panteleev a3d19ad318
Add Go Skype Bridge
Based on mautrix-whatsapp, as that's what the bridge software is based on.
2022-06-12 21:29:43 +00:00
Kai Biebel 8cc39c5eb5
update PIP install-link 2022-06-09 14:09:47 +02:00
Slavi Pantaleev 959a6ac0b1 Upgrade devture/ansible version and documen nsenter usage
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1772
2022-06-09 14:42:04 +03:00
Slavi Pantaleev 8ea7cd73cf Fix self-building for matrix-registration
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1864

Related to https://github.com/zeratax/matrix-registration/issues/93

This is a poor way to do things though. It may break again in the future.
matrix-registration is a poorly maintained project and should likely be removed from the playbook.
2022-06-01 09:43:31 +03:00
shukon 883317ac2f
Update configuring-playbook-bridge-hookshot.md 2022-05-25 17:29:43 +02:00
Aaron Raimist 311f44a19c
Document git as a potential prereq
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1792
2022-05-16 04:36:18 +00:00
Luis 1431a351ab
Update configuring-playbook-bridge-hookshot.md
fix Hookshot instructions link
2022-05-13 11:57:59 -03:00
brush 3499b9cd03
Update configuring-well-known.md 2022-05-13 03:45:08 -07:00
brush 34de6c9c66
Update configuring-well-known.md 2022-05-13 03:44:16 -07:00
Kim Brose 3dfda42f3d
Update configuring-playbook-bridge-hookshot.md 2022-05-10 16:50:46 +02:00
Arkonos 527f5bc469 clarifying where well-known files are created 2022-05-08 21:56:14 +02:00
Arkonos 6abdb6e6f0 clarifying reverse proxying of well-known files 2022-05-08 21:33:46 +02:00
Paul Tötterman be95918a2f
typo 2022-05-06 11:37:40 +03:00
Slavi Pantaleev e41fcf2746 Fix file name (vars.yaml -> vars.yml) to prevent confusion 2022-04-26 15:44:07 +03:00
Aine 4d08e935a2
matrix-bot-buscarron: fix username in docs 2022-04-25 12:36:27 +03:00
Slavi Pantaleev 1163e9880f Link to Buscarron bot from configuring docs page
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1782
2022-04-25 10:37:35 +03:00
Aine c92af9fe89
matrix-bot-buscarron: feedback 2022-04-25 09:40:49 +03:00
Aine 290754371a
add matrix-bot-buscarron 2022-04-23 16:19:24 +03:00
Julian-Samuel Gebühr 380e865644 Change list of public servers, old as not functional
The old link returned a 404 so I thought I throw in joinmatrix.org :)
2022-04-22 07:41:10 +02:00
Erick Wibben 92384360f5
Fixed documentation to reflect needed user 2022-04-21 06:50:24 -05:00
Slavi Pantaleev 27ec1d8bde Fix matrix-registration-bot repository URL 2022-04-21 11:21:29 +03:00
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
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
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
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
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
PC-Admin ab3e02c7fd Remove matrix-awx sections 2022-04-09 08:48:02 +08:00
Slavi Pantaleev b69e79b8b6
Merge pull request #1733 from iikkart/patch-1
Improved documentation about Mautrix-telegram-bot permissions
2022-04-06 07:23:31 +03:00
Aine a5a3769ca9
add borg backup (#1727)
* add borg backup

* lint fix

* add exlclude patterns

* missed in the #1726 fix for honoroit

* feedback

* Fix indentation

* feedback

* feedback

* feedback

Co-authored-by: Slavi Pantaleev <slavi@devture.com>
2022-04-05 14:37:27 +03:00
Slavi Pantaleev b9d6f8b90f
Merge pull request #1728 from RoiArthurB/hookshot-arm64
Add hookshot self build for arm64 and amd64
2022-04-05 09:58:26 +03:00
RoiArthurB b38c7371a9 [STEAM] Move docker source from icewind1991 to tilosp fixed repo 2022-04-03 17:34:27 +07:00
Arthur Brugière b3176957c3
Add hookshot self build for arm64 and amd64 2022-04-03 17:10:46 +07:00
Olivér Falvai 326b1090b7
Add note about Prometheus retention policy 2022-03-29 22:26:29 +02:00
Kim Brose 81d198b5b6
!fixup add detailed docs about hookshot's URLs 2022-03-22 12:59:12 +01:00
Kim Brose b242559df5
add detailed docs about hookshot's URLs 2022-03-22 12:56:04 +01:00
Slavi Pantaleev 5ce3fb96d5
Merge pull request #1706 from turt2live/patch-1
Don't recommend that the Dimension admin interface be opened in a web browser
2022-03-18 23:05:27 +02:00
Travis Ralston 5c34353d87
Update configuring-playbook-dimension.md 2022-03-18 14:52:25 -06:00
Iikka Järvenpää d5a79538a6
Improved documentation about permissions
More info: https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1699
2022-03-17 20:20:43 +00:00
Aine 95cfbf0256
Switch mx-puppet-slack to the beeper fork (#1704) 2022-03-17 22:16:17 +02:00
Slavi Pantaleev 958d089b68 Do not install the ma1sd identity server by default
As mentioned in the changelog, this is a breaking change.
2022-03-17 18:00:09 +02:00
Yan Minagawa 26e95a0fdf beeing a bit more specific how to access the dimension server admin interface 2022-03-13 14:12:48 +07:00
Slavi Pantaleev d8a19e5bf9 Switch to the Beeper-maintained fork of mx-puppet-discord
Building mx-puppet-discord appears to have been broken for a while.

Related to:
- https://github.com/matrix-discord/mx-puppet-discord/issues/201
- https://github.com/matrix-discord/mx-puppet-discord/issues/202
- https://github.com/matrix-discord/mx-puppet-discord/issues/203

We'd rather use a fork that is maintained better and by someone who
cares about whether their software works or not, so we'll be using the
Beeper-maintained for from now on.

In the future, we should probably do the same for the Slack bridge
which is also part of the same monorepo
(https://gitlab.com/beeper/mx-puppet-monorepo).
2022-03-10 12:27:53 +02:00
tctovsli 9c43c0e806
Riot is now named Element 2022-03-08 09:11:04 +01:00
Slavi Pantaleev d5de1e8352 Document that using an external Postgres server has serious downsides
Related to:

- https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1682
- https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1679
2022-03-08 09:30:20 +02:00
Slavi Pantaleev 1bea072484
Merge pull request #1677 from MrAnno/remove-community-support
Remove deprecated community options
2022-03-06 08:15:27 +02:00
Jim Myhrberg 620e3b1b0d
docs(appservice-discord): improve and expand bridging method docs 2022-03-06 01:56:24 +00:00
László Várady ba68d2ad36 Remove deprecated community options
"Community" support

- has been removed from mautrix/facebook in v0.3.3:
  31cac6fb5e

- has been removed from mautrix/signal in v0.2.2:
  1f27a608a6

- will be removed in the next mautrix/instagram release:
  e2ae1ca503

- will be removed in the next mautrix/twitter release:
  3893075265
2022-03-05 21:57:30 +01:00
Alejo Diaz 4ec24ec344
Add support for obtain ECDSA keys (#1667)
* Add support for obtain ECDSA keys

* Replace matrix_ssl_lets_encrypt_use_ecdsa_keys for matrix_ssl_lets_encrypt_key_type
2022-03-03 18:15:39 +02:00
Slavi Pantaleev 9d72f32e64
Merge pull request #1668 from HarHarLinks/hookshot-move
hookshot moved to matrix-org namespace
2022-03-03 09:13:11 +02:00
HarHarLinks 3d47b44d64 avoid namespace collisions between webhook bridges 2022-03-02 21:28:52 +01:00
HarHarLinks 58771a9c65 hookshot moved to matrix-org namespace 2022-03-02 20:58:11 +01:00
GoMatrixHosting 28f6091ed4 GoMatrixHosting v0.7.0 2022-02-27 17:40:20 +08:00
JokerGermany 31d3706166
fix typo 2022-02-20 11:56:03 +01:00