Commit Graph
100 Commits
Author SHA1 Message Date
Slavi Pantaleev 1234cc48c5 Point to newer Ansible container image
Using the older one likely leads to issues like #517.
2020-05-24 10:55:33 +03:00
Slavi Pantaleev 4c4f208613 Upgrade mautrix-telegram (0.7.0 -> 0.7.2) 2020-05-22 19:54:30 +03:00
Slavi Pantaleev 5c7e5c57bd Upgrade riot-web (1.6.1 -> 1.6.2) 2020-05-22 18:08:17 +03:00
Slavi Pantaleev 3198ed0dc9 Add missing matrix_mx_puppet_slack_container_http_host_bind_port variable 2020-05-22 11:12:06 +03:00
Slavi PantaleevandGitHub 4111e42070 Merge pull request #513 from joao-p-marques/fix/mx-puppet-bridge
Fix/mx puppet bridge
2020-05-22 10:53:37 +03:00
Slavi PantaleevandGitHub 0a9f41719f Merge pull request #512 from thedanbob/postgres-12.3
Update postgres (12.2 -> 12.3, etc)
2020-05-21 21:57:04 +03:00
Slavi Pantaleev 8fb3ce6f6d Upgrade Synapse (v1.12.4 -> v1.13.0) 2020-05-19 21:35:32 +03:00
Slavi PantaleevandGitHub 9b4b5198d3 Merge pull request #511 from 0x46616c6b/ma1sd-v2
enable by default v2 api prefix for ma1sd
2020-05-19 21:15:42 +03:00
Slavi PantaleevandGitHub a3259bbd77 Add |to_json to some variables 2020-05-19 21:15:23 +03:00
Slavi Pantaleev 7a2dbdc2d7 Update components 2020-05-19 15:06:35 +03:00
Slavi Pantaleev 07ff116266 Do not send User Directory search requests to ma1sd for now
We can undo this once https://github.com/ma1uta/ma1sd/issues/44 gets
resolved.
2020-05-19 12:57:19 +03:00
Slavi Pantaleev ba23779b05 Fix incorrect Jitsi container image tags
Related to #508 (Github Pull Request).
2020-05-17 21:23:18 +03:00
Slavi PantaleevandGitHub 8214f9b11c Merge pull request #508 from teutat3s/jitsi_4548-1_update
Jitsi 4548-1 update
2020-05-17 18:22:44 +03:00
Slavi PantaleevandGitHub 63c4538400 Merge pull request #507 from chagai95/patch-2
Typo STMP -> SMTP
2020-05-16 17:37:34 +03:00
Slavi PantaleevandGitHub 5b8fd44aa7 Merge pull request #499 from eMPee584/riot-less-404
Prevent 404s when Riot tries to retrieve domain-specific config.json
2020-05-14 09:57:58 +03:00
Slavi PantaleevandGitHub b8548dbf9e Merge pull request #495 from eMPee584/add-adminer-to-synapse-docs
Document how to administer synapse database via tunneled web-frontend
2020-05-11 11:09:32 +03:00
Slavi PantaleevandGitHub 4ff7e753b2 Make it clearer where to spawn adminer 2020-05-11 11:09:22 +03:00
Slavi Pantaleev 308fc9c60a Fix webhooks service address when matrix-nginx-proxy disabled
Fixes #494 (Github Issue).
2020-05-10 09:52:55 +03:00
Slavi PantaleevandGitHub 5d19760271 Merge pull request #492 from therealklanni/patch-1
Add note about ask-become-pass
2020-05-09 22:54:40 +03:00
Slavi PantaleevandGitHub 1a766afcf2 Merge pull request #491 from thedanbob/fix-typo
Fix typo in validation
2020-05-08 23:11:21 +03:00
Slavi Pantaleev dd527d5968 Ensure correct dimension.db file ownership
This is mostly here to guard against problems happening
due to server migration and doing `chown -R matrix:matrix /matrix`.

Normally, the file is owned by `1000:1000`, as expected.

If ownership changes, Dimension could still start, but it will fail the
first time it tries to write to the database. Explicitly chowning
before startup guards against this.

Related to #485 and #486 (Github Pull Requests).
Also related to ccc7aaf0ce.
2020-05-06 11:28:09 +03:00
Slavi Pantaleev ae1b1be3f4 Do not use matrix:matrix for Dimension configuration
Dimension runs as the `node` user in the container (`1000:1000`).
It doesn't seem like we have a way around it. Thus, its configuration
must also be readable by that user (or group, in this case).
2020-05-06 11:20:14 +03:00
Slavi Pantaleev 884df93be1 Make it clearer that Dimension requires a dedicated user 2020-05-06 10:30:36 +03:00
Slavi Pantaleev c1c8b8e62c Warn about matrix_user_uid/matrix_user_gid
We don't really need to fail in such a spectactular way,
but it's probably good to do. It will only happen for people
who are defining their own user/group id, which is rare.

It seems like a good idea to tell them that this doesn't work
as they expect anymore and to ask them to remove these variables,
which otherwise give them a fake sense of hope.

Related to #486 (Github Pull Request).
2020-05-06 10:17:19 +03:00
Slavi Pantaleev 36c61b5b4e Introduce a separate group variable (matrix_user_groupname)
Related to #485 (Github Pull Request).
2020-05-06 10:02:47 +03:00
Slavi Pantaleev ccc7aaf0ce Fix "Migrating to a new server" flow due to dynamic user/group creation 2020-05-06 09:55:40 +03:00
Slavi PantaleevandGitHub 6032affc20 Merge pull request #486 from FanchTheSystem/avoid_fixed_uid_and_gid
Remove default UID/GID
2020-05-06 09:46:49 +03:00
Slavi Pantaleev 8fea6f5130 Make sure matrix_user_uid and matrix_user_gid are always set
If one runs the playbook with `--tags=setup-all`, it would have been
fine.

But running with a specific tag (e.g. `--tags=setup-riot-web`) would
have made that initialization be skipped, and the `matrix-riot-web` role
would fail, due to missing variables.
2020-05-06 09:43:30 +03:00
Slavi PantaleevandGitHub 7b8d0cd1ab Merge pull request #487 from christianlupus/turn-doc
Added a documentation enhancement regarding external TURN server
2020-05-06 09:35:11 +03:00
Slavi Pantaleev 4359571d38 Upgrade riot-web to v1.6.0 2020-05-05 14:02:14 +03:00
Slavi PantaleevandGitHub 7c4bc02070 Merge pull request #484 from cnvandijk/docs-dimension-admin-domain
Clarify domain of Dimension admin users in docs by using matrix_domain variable
2020-05-05 09:37:44 +03:00
Slavi PantaleevandGitHub 263e2a28da Merge pull request #483 from thedanbob/coturn-4.5.1.2
Update coturn (4.5.1.1 -> 4.5.1.2)
2020-05-04 17:55:21 +03:00
Slavi PantaleevandGitHub 9828c80f3f Merge pull request #481 from hooger/changes
fix skype bridge being rebuilt when upstream changed
2020-05-02 10:50:53 +03:00
Slavi PantaleevandGitHub 20c605554d Merge pull request #480 from andresterba/caddy1-reverse-proxy
Add caddy 1 well-known example
2020-05-01 17:43:41 +03:00
Slavi Pantaleev 0029b37b96 Improve Usage section of Jitsi docs page 2020-04-30 10:24:26 +03:00
Slavi PantaleevandGitHub e59cf25d7d Merge pull request #479 from cnvandijk/docs-dimension-jitsi
Document how to point dimension jitsi widgets at your own jitsi instance
2020-04-30 10:14:53 +03:00
Slavi PantaleevandGitHub 77c760ac7d Add some links 2020-04-30 10:14:46 +03:00
Slavi PantaleevandGitHub 0e26810162 Merge pull request #478 from cnvandijk/feature-jitsi-ldap-auth
Add support for Jitsi LDAP authentication
2020-04-30 10:09:48 +03:00
Slavi Pantaleev 37b80d0c75 Fix example policy provider configuration for matrix-corporal
Fixes the example, to add the missing required configuration key
for the HTTP policy provider.

Related to #477 (Github Issue).
2020-04-29 17:24:21 +03:00
Slavi PantaleevandGitHub da90988f0c Merge pull request #476 from jgoerzen/master
Update matrix-appservice-irc to 0.16.0
2020-04-29 09:29:17 +03:00
Slavi PantaleevandGitHub 669780976f Update mappings configuration example 2020-04-29 09:29:03 +03:00
Slavi PantaleevandGitHub 8aabda88cb Merge pull request #473 from bnounours/master
Add information to make jitsi work with a client in LAN
2020-04-28 08:12:30 +03:00
Slavi PantaleevandGitHub 6adfc76278 Merge pull request #475 from teutat3s/jitsi_4416_update
Update Jitsi docker images to stable 4416
2020-04-28 08:11:26 +03:00
Slavi Pantaleev 438652c732 Switch Slack image to a working tag
We've had reports of the `:latest` tag not working anymore,
leading to an error as described here:
https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/341
2020-04-27 10:49:06 +03:00
Slavi Pantaleev 9cc0c5955d Use |quote in some command calls 2020-04-24 09:59:30 +03:00
Slavi Pantaleev 8cdf3a24f9 Fix variable name typo 2020-04-23 22:13:50 +03:00
Slavi PantaleevandGitHub df2cc4322c Merge pull request #468 from aaronraimist/synapse-1.12.4
Upgrade Synapse (1.12.3 -> 1.12.4)
2020-04-23 21:59:12 +03:00
Slavi Pantaleev 4afc46fffe Announce mx-puppet-slack support
Related to #454 (Github Pull Request).
2020-04-23 18:03:36 +03:00
Slavi PantaleevandGitHub addeac27d8 Merge pull request #454 from Jozian/add-mx-puppet-slack-role
Initial mx-puppet-slack bridge role
2020-04-23 18:00:51 +03:00
Slavi PantaleevandGitHub 272888d917 Merge pull request #462 from cnvandijk/feature-dimension-unfederated
Add support for running dimension in an unfederated environment
2020-04-22 22:47:14 +03:00
Slavi Pantaleev 0af5a8c4cc Simplify mx-puppet-skype blacklists a bit
Related to #466 (Github Pull Request).
2020-04-22 22:42:24 +03:00
Slavi PantaleevandGitHub 7ab4b4b151 Merge pull request #466 from Jozian/allow-more-options-skype-relay-provisioning
Allow skype more configurations for relay and provisioning
2020-04-22 22:41:12 +03:00
Slavi Pantaleev 9991d545dd Add note about synapse-janitor and require explicit confirmation for usage
Fixes #465 (Github Issue).

Related to https://github.com/xwiki-labs/synapse_scripts/pull/12.
2020-04-21 21:48:06 +03:00
Slavi PantaleevandGitHub 554da8338a Merge pull request #463 from hooger/architecture
Architecture
2020-04-20 16:45:59 +03:00
Slavi PantaleevandGitHub f8ada98c19 Merge pull request #464 from thedanbob/nginx-1.17.10
Update nginx (1.17.9 -> 1.17.10)
2020-04-19 16:55:58 +03:00
Slavi Pantaleev c13c29f48e Fix |to_nice_yaml breaking formatting
Well, actually 8cd9cde won't work, unless we put the
`|to_nice_yaml` thing on a new line.

We can, but that takes more lines and makes things look uglier.
Using `|to_json` seems good enough.

The whole file is parsed as YAML later on and merged with the
`_extension` variable before being dumped as YAML again in the end.
2020-04-18 11:06:53 +03:00
Slavi Pantaleev 8cd9cdead0 Improve consistency 2020-04-18 11:05:47 +03:00
Slavi PantaleevandGitHub 27cae3d90c Merge pull request #461 from lampholder/toml/allowed_local_3pids
Expose allowed local 3pids as a configurable option
2020-04-18 11:05:01 +03:00
Slavi Pantaleev 43201c9e22 Upgrade matrix-corporal (1.8.0 -> 1.9.0) 2020-04-17 22:26:55 +03:00
Slavi Pantaleev 9a43cc02e0 Only install docker-python if matrix_docker_installation_enabled
Should help with #300 (Github Issue).
2020-04-17 09:45:35 +03:00
Slavi Pantaleev 4d260c0dd5 Add encryption configuration defaults to Mautrix bridges
Related to #451 (Github Issue).
2020-04-17 09:44:48 +03:00
Slavi PantaleevandGitHub ba6ff19a94 Merge pull request #460 from cnvandijk/fix-hardcoded-postgres-template-values
Fix hardcoded postgres template values
2020-04-17 08:20:40 +03:00
Slavi PantaleevandGitHub df3353a6f5 Merge pull request #459 from Jozian/new-mx-puppet-skype-port
Upstream set mx-puppet-skype default port to 8438
2020-04-16 10:46:51 +03:00
Slavi PantaleevandGitHub 4b42c1ec68 Merge pull request #455 from daudo/fix_channel_id_bridge_appservice_slack
matrix-appservice-slack: improved documentation
2020-04-14 10:41:22 +03:00
Slavi PantaleevandGitHub 11968126d0 Merge pull request #452 from jgoerzen/patch-1
Fix to avoid putting an incorrect empty jitsi.preferredDomain when no…
2020-04-12 01:09:35 +03:00
Slavi PantaleevandGitHub 69338d045a Simplify if conditions 2020-04-12 01:09:22 +03:00
Slavi Pantaleev 515160f0d7 Fix STUN server URL for jitsi/web (turns -> stun)
Discussed in #446 (Github Pull Request).
2020-04-09 19:09:04 +03:00
Slavi Pantaleev 181434d9c6 Add matrix-mx-puppet-skype to the list of roles that can self-build 2020-04-09 18:50:32 +03:00
Slavi PantaleevandGitHub b9a72310bd Merge pull request #448 from Jozian/skype-fix-self-build-var
Add global var to control skype image self build
2020-04-09 18:19:28 +03:00
Slavi PantaleevandGitHub 2f601a4aee Merge pull request #446 from skoal/master
Jitsi related firewall and port changes
2020-04-09 16:14:06 +03:00
Slavi Pantaleev e6ebfbf8cc Prevent conflict between Whatsapp and Skype bridge tokens
Fixes an error like this:

> synapse.config._base.ConfigError: Cannot reuse as_token across application services
2020-04-09 16:07:36 +03:00
Slavi Pantaleev 7035af87d8 Add support for Jitsi discovery for Riot via /.well-known/matrix/client
This will not work yet, as no version of Riot currently supports it.
It's expected to land in riot-web v1.5.16 via matrix-org/matrix-react-sdk#4348.
2020-04-09 09:58:35 +03:00
Slavi Pantaleev c1a66d3422 Put mx-puppet-skype configs in ./config directory, not ./data 2020-04-09 09:44:10 +03:00
Slavi Pantaleev 5b8f8bc942 Announce Skype bridging 2020-04-09 09:33:30 +03:00
Slavi Pantaleev 4e9976d559 Rename documentation file 2020-04-09 09:26:03 +03:00
Slavi PantaleevandGitHub 59d05ad72c Merge pull request #441 from Jozian/skype
Initial mx-puppet-skype bridge role
2020-04-09 09:24:11 +03:00
Slavi Pantaleev 67a5ef97ba Fix missing "stun:" prefix for jitsi/web STUN server URLs
Hopefully fixes an error like this (which I haven't been able to
reproduce, but..):

> [modules/xmpp/strophe.util.js] <Object.i.Strophe.log>:  Strophe: Error: Failed to construct 'RTCPeerConnection': 'matrix.DOMAIN' is not one of the supported URL schemes 'stun', 'turn' or 'turns'.
2020-04-09 09:16:10 +03:00
Slavi Pantaleev 61fffa169c Use Jitsi STUN servers instead of Google ones
These are some new defaults that we switch to, to follow upstream
changes:

- https://github.com/jitsi/docker-jitsi-meet/commit/264df04
- https://github.com/jitsi/jitsi-meet/commit/3121494d4b149108bd94185e2a4b22b8eafdc794
2020-04-08 19:08:15 +03:00
Slavi Pantaleev e290b1be95 Merge branch 'jitsi_security_update' 2020-04-08 16:57:14 +03:00
Slavi Pantaleev 25d51d3de3 Fix typo 2020-04-08 16:46:41 +03:00
Slavi PantaleevandGitHub 5a8068d8d1 Merge pull request #444 from teutat3s/jitsi_security_update
Jitsi security update
2020-04-08 16:22:22 +03:00
Slavi Pantaleev 14786071af Pass JVB_AUTH_PASSWORD environment variable to make JVB startup happy
We define this password in the `sip-communicator.properties`
configuration file, so this is not needed for actually running JVB.

However, it does a (useless) safety check during container startup,
and we need to make that check happy.
2020-04-08 10:23:51 +03:00
Slavi Pantaleev dcce276b86 Rename script file 2020-04-08 10:05:43 +03:00
Slavi Pantaleev 1b27e0f812 Make generate-jitsi-passwords.sh less magical 2020-04-08 10:05:10 +03:00
Slavi Pantaleev e36fe54974 Merge branch 'jitsi_security_update' of github.com:teutat3s/matrix-docker-ansible-deploy into jitsi_security_update 2020-04-08 09:55:51 +03:00
b181f02680 Use dollar sign instead of backtick
Co-Authored-By: Sandro <sandro.jaeckel@gmail.com>
2020-04-08 09:55:44 +03:00
Slavi Pantaleev 976ccf3880 Fix typo 2020-04-08 09:39:38 +03:00
Slavi Pantaleev f798605836 Undefine Jitsi secrets and require their (re-)definition 2020-04-08 09:37:54 +03:00
Slavi Pantaleev fab1e23609 Make a few more Jitsi Meet options configurable 2020-04-06 21:35:49 +03:00
Slavi PantaleevandGitHub 417e2c6493 Merge pull request #440 from hooger/facebook-self-build
Facebook self build
2020-04-06 20:48:36 +03:00
Slavi PantaleevandGitHub 97a1c76ea2 Merge pull request #438 from SeanPONeil/caddy-v2-well-known-docs
Update Caddy example in configuring-well-known to Caddy version 2
2020-04-05 21:59:54 +03:00
Slavi PantaleevandGitHub 929f220c58 Merge pull request #437 from alindt/ntpd_defaults
add ntpd defaults
2020-04-05 10:32:37 +03:00
Slavi Pantaleev 70010c26ab Update changelog with information on private Jitsi
Related to #436 (Github Pull Request).
2020-04-05 10:27:52 +03:00
Slavi PantaleevandGitHub 3d66335bc1 Merge pull request #436 from teutat3s/jitsi_authentication
add optional Jitsi internal auth+guests docs
2020-04-05 10:16:22 +03:00
Slavi PantaleevandGitHub 0ee2060c31 Reorganize paragraphs a bit 2020-04-05 10:03:51 +03:00
Slavi PantaleevandGitHub a04c67dbc4 Add information about rebuilding Jitsi Prosody configuration 2020-04-05 10:01:55 +03:00
Slavi PantaleevandGitHub 5cca71e8da Merge pull request #434 from teutat3s/missing_jitsi_jicofo_auth_url
add missing jitsi auth URL conditional
2020-04-04 09:48:39 +03:00
Slavi PantaleevandGitHub 7aa74e32b2 Merge pull request #435 from alindt/jitsi_web_defaults
jitsi-web: add more defaults
2020-04-04 09:47:47 +03:00
Slavi PantaleevandGitHub 55d21c120a Merge pull request #432 from teutat3s/fix_jitsi_guests_mode
fix jitsi guests mode according to docker-jitsi-meet repo
2020-04-03 20:08:12 +03:00
Slavi Pantaleev f78fa3f328 Upgrade Synapse (1.12.0 -> 1.12.3) 2020-04-03 14:26:30 +03:00