Commit Graph
100 Commits
Author SHA1 Message Date
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
Slavi Pantaleev 5927ed56b0 Fix matrix_ma1sd_service_stat.stat.exists sometimes being undefined 2020-04-03 13:55:23 +03:00
Slavi Pantaleev c3efd2966f Fix mxisd -> ma1sd migration for older versions of Ansible 2020-04-03 13:12:03 +03:00
Slavi Pantaleev c2d0304eb1 Fix incorrect URL 2020-04-03 11:17:05 +03:00
Slavi Pantaleev 229c8e1c38 Adjust name in changelog 2020-04-03 11:14:34 +03:00
Slavi PantaleevandGitHub 5a243caf99 Merge pull request #333 from eMPee584/ma1sd
matrix-ma1sd support
2020-04-03 10:44:21 +03:00
Slavi Pantaleev 2fad4ee7d8 Adjust changelog to give credit where credit is due 2020-04-03 10:43:47 +03:00
Slavi Pantaleev 7266542356 Announce ma1sd -> mxisd migration 2020-04-03 10:41:36 +03:00
Slavi Pantaleev 845f5f007b Make Synapse use ma1sd (if enabled) for threepid registration 2020-04-03 10:08:37 +03:00
Slavi Pantaleev a0b82d2234 Fix mxisd -> ma1sd data migration (mxisd.db -> ma1sd.db) 2020-04-03 09:54:05 +03:00
Slavi Pantaleev a4ea2f850b Provide a friendlier migration message from people using matrix_mxisd_ variables 2020-04-03 09:42:14 +03:00
Slavi Pantaleev be19511338 Add missing container self-build variables for ma1sd 2020-04-03 09:28:44 +03:00
Slavi Pantaleev 59ccff9bab Fix mxisd -> ma1sd file copying
When the playbook executes on a remote host (as it usually does),
we need to explicitly say `src` is a remote file and not relative
to the playbook.
2020-04-03 09:27:22 +03:00
Slavi Pantaleev e1774c648a Upgrade riot-web (v1.5.14 -> v1.5.15) 2020-04-01 18:11:12 +03:00
Slavi Pantaleev b450afc12e Make Discord bridge docs better 2020-04-01 11:34:53 +03:00
Slavi Pantaleev 8bcc9712d0 Make follow_redirects configurable when checking /.well-known/matrix/client
Discussed in #101 (Github Issue).
2020-03-31 11:45:32 +03:00
Slavi Pantaleev bb2b2b4f1c Clarify Discord bridging docs 2020-03-31 11:13:45 +03:00
Slavi Pantaleev 584418ae0f Fix broken link 2020-03-31 10:30:07 +03:00
Slavi Pantaleev ca04ca9ffe Make it possible to change Jitsi web UI language
Fixes #427 (Github Issue).
2020-03-30 17:05:00 +03:00
Slavi Pantaleev 26b73e3a4b Do not install unnecessary bash-completion 2020-03-30 17:00:20 +03:00
Slavi PantaleevandGitHub edb77cf799 Merge pull request #426 from bnounours/master
Fix bad network and bad path to postgres env in docker run
2020-03-30 16:55:02 +03:00
Slavi Pantaleev 067588b262 Upgrade riot-web 2020-03-30 16:54:18 +03:00
Slavi Pantaleev c655a6467a Fix --tags=start regression
Related to #425 (Github Pull Request)
2020-03-29 15:48:46 +03:00
Slavi Pantaleev a8f4b2a755 Update docs
Related to #425 (Github Pull Request).
2020-03-29 10:16:25 +03:00
Slavi Pantaleev ac60115190 Fix git installation bug during synapse-simple-antispam installation
Fixes #424 (Github Issue).
2020-03-29 10:11:08 +03:00
Slavi PantaleevandGitHub ac5b5681ae Merge pull request #425 from christianlupus/dev/archlinux
Added support for arch linux
2020-03-29 10:09:16 +03:00
Slavi PantaleevandGitHub 4f1e498edd Merge pull request #423 from aaronraimist/patch-1
Flip around Jitsi port format to match other ports
2020-03-28 09:05:45 +02:00
Slavi Pantaleev 3860709e19 Ensure matrix-mautrix-hangouts-db container is killed/removed 2020-03-25 18:03:45 +02:00
Slavi PantaleevandGitHub c58a7b8abd Merge pull request #418 from mooomooo/var-paths
Made directory variables for system files
2020-03-25 14:15:37 +02:00
Slavi Pantaleev e5849801c6 Add Jitsi reference to Configuring Playbook docs page 2020-03-24 18:26:52 +02:00
Slavi Pantaleev 0f39cb9987 Fix incorrect server_name for Jitsi
Fixes #417 (Github Issue)
2020-03-24 17:57:39 +02:00
Slavi Pantaleev 0e69a51036 Upgrade matrix-corporal (1.7.2 -> 1.8.0) 2020-03-24 16:41:24 +02:00
Slavi Pantaleev e06ac41db1 Do not try to obtain jitsi.DOMAIN certificate if Jitsi is disabled 2020-03-24 16:21:26 +02:00
Slavi Pantaleev fcb4f2579d Upgrade matrix-corporal (1.7.1 -> 1.7.2) 2020-03-24 16:15:52 +02:00
Slavi Pantaleev 8ff55bcd14 Update documentation and changelog 2020-03-24 15:30:14 +02:00
Slavi PantaleevandGitHub be00452782 Merge pull request #415 from spantaleev/jitsi
Add Jitsi support
2020-03-24 15:23:05 +02:00
Slavi Pantaleev d605b219a2 Manage Jitsi configuration by ourselves for most components
We do this for 2 reasons:

- so we can control things which are not controllable using environment
variables (for example `stunServers` in jitsi/web, since we don't wish
to use the hardcoded Google STUN servers if our own Coturn is enabled)

- so playbook variable changes will properly rebuild the configuration.
When using Jitsi environment variables, the configuration is only built
once (the first time) and never rebuilt again. This is not the
consistent with the rest of the playbook and with how Ansible operates.
We're not perfect at it (yet), because we still let the Jitsi containers
generate some files on their own, but we are closer and it should be
good enough for most things.

Related to #415 (Github Pull Request).
2020-03-24 09:35:21 +02:00
Slavi Pantaleev ecd35a8ddb Clarify webserver group membership requirement
Discussed in #412 (Github Issue).
2020-03-23 21:03:06 +02:00
Slavi Pantaleev cdd9ee1962 Add Jitsi support 2020-03-23 17:19:15 +02:00
Slavi Pantaleev 2c2b55a669 Mark dimension DNS record as optional 2020-03-23 17:13:58 +02:00
Slavi Pantaleev 9032151486 Update Synapse configuration for v1.12.0
Some options are no longer required and have sensible default values.
2020-03-23 16:15:03 +02:00
Slavi PantaleevandGitHub fca41222f5 Merge pull request #414 from tctovsli/patch-1
Release synapse v.1.12.0
2020-03-23 16:05:20 +02:00
Slavi PantaleevandGitHub f091df0c48 Merge pull request #410 from ayounggun/patch-1
how to activate dimensions
2020-03-21 00:18:57 +02:00
Slavi PantaleevandGitHub 61f82ac9e6 Minor fixup 2020-03-21 00:13:31 +02:00
Slavi PantaleevandGitHub a5e549f171 Move things around a bit 2020-03-21 00:12:26 +02:00
Slavi Pantaleev 027056e027 Fix weird path creation
Fixes #403 (Github Issue).
2020-03-18 18:24:30 +02:00
Slavi PantaleevandGitHub b6cf5758cc Merge pull request #407 from thedanbob/nginx-certbot
Update nginx (1.17.8 -> 1.17.9) and certbot (1.2.0 -> 1.3.0)
2020-03-18 13:56:13 +02:00
Slavi PantaleevandGitHub e9d7a6faf7 Merge pull request #406 from thedanbob/postgres-12.2
Update postgres (12.1 -> 12.2, etc)
2020-03-18 13:54:58 +02:00
Slavi PantaleevandGitHub b040078a0e Merge pull request #405 from thedanbob/riot-web-1.5.13
Update riot-web (1.5.12 -> 1.5.13)
2020-03-18 13:46:26 +02:00
Slavi Pantaleev 22ce50875a Mention that root access is a requirement
Fixes #396 (Github Issue).
2020-03-15 13:04:55 +02:00
Slavi Pantaleev bca8afc3c5 Update changelog to credit Gergely Horváth
Related to #386 (Github Pull Request)
2020-03-15 12:58:28 +02:00
Slavi PantaleevandGitHub b9f00079be Merge pull request #386 from hooger/raspberry-pi
Raspberry pi
2020-03-15 12:55:13 +02:00
Slavi Pantaleev 8dd187ac55 Update changelog and documentation 2020-03-15 12:54:41 +02:00
Slavi Pantaleev 3cee815baf Fix some typos 2020-03-15 11:34:35 +02:00
Slavi Pantaleev 063e988db2 Make gradle installation fail in a friendlier way on CentOS 2020-03-15 11:26:24 +02:00
Slavi Pantaleev 2b85fde103 Rename some variables for consistency 2020-03-15 10:15:27 +02:00