Dan Arnfield
7a3491a32a
Fix capability names for synapse-admin
4 years ago
TwoTwenty
b106a9592e
Update matrix-jitsi.conf.j2
4 years ago
TwoTwenty
c97e7c5a3e
Update matrix-dimension.conf.j2
4 years ago
TwoTwenty
18ba885ca2
Update matrix-client-element.conf.j2
4 years ago
Slavi Pantaleev
31b79553e0
Make matrix-reminder-bot default to in-container networking
4 years ago
Slavi Pantaleev
46135fb30c
Add trailing-slash redirect for /synapse-admin
4 years ago
Slavi Pantaleev
b2ae669566
Add synapse-admin support
...
Fixes #562 (Github Issue)
4 years ago
Slavi Pantaleev
78b1ef9a5f
Add support for matrix-reminder-bot
4 years ago
hungrymonkey
d093b9b148
Added gpg as base dependency for Debian 10
...
AWS Debian marketplace image does not have gpg preinstalled
https://aws.amazon.com/marketplace/pp/B0859NK4HC?ref=cns_srchrow
TASK [matrix-base : Ensure Docker's APT key is trusted] *******************************************************************************************************************************************************
fatal: [matrix.domain.com]: FAILED! => {"changed": false, "msg": "Failed to find required executable gpg in paths: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin"}
Closes #590
4 years ago
Slavi Pantaleev
b872053a50
Merge pull request #588 from mattcen/fix-ma1sd-image-build
...
Fix issues building ma1sd Docker image
4 years ago
Slavi Pantaleev
28855d1bb4
Document matrix_ma1sd_docker_src_files_path naming
4 years ago
Slavi Pantaleev
ab188018f3
Move when statement to block
...
The when statement is supposed to be on the block, not on the individual task.
It affects all tasks within the block (they're all to be executed when ma1sd is enabled and self-building is requested0.
4 years ago
Slavi Pantaleev
c6ab1c6a90
Riot is now Element
...
Fixes #586 (Github Issue)
4 years ago
Matt Cengia
fede58fe96
Correctly tag self-built ma1sd Docker image
4 years ago
Slavi Pantaleev
de0efe96e7
Fix incorrect when statement
4 years ago
Slavi Pantaleev
298d277c6c
Upgrade riot-web (1.7.0 -> 1.7.1)
4 years ago
Matt Cengia
b0e984136f
Fix issues building ma1sd Docker image
...
The tag format used in the `ma1sd` repo have change. Versions no longer
start with 'v', and when building for non-amd64, we also need to strip
off the '-$arch' bit from the Docker image name.
Further, when building the .jar file, `ma1sd` currently names the .jar
based on the project's directory, which we call 'docker-src'. This means
other parts of the `ma1sd` build can't find the .jar file. Remedy this
by ensuring that the dir is called `docker-src/ma1sd`.
4 years ago
Dan Arnfield
c47a55d170
Update nginx (1.19.0 -> 1.19.1) and certbot (1.5.0 -> 1.6.0)
4 years ago
Slavi Pantaleev
820dc6d7fa
Fix translation issue (Riot.im -> Element)
4 years ago
Slavi Pantaleev
7c55e94cff
Upgrade riot-web (1.6.7 -> 1.7.0)
4 years ago
benkuly
a1e248e0e1
updated matrix-sms-bridge ( #581 )
...
* updated matrix sms bridge container
* remove force pull
* updated matrix-sms-bridge container
* updated matrix-sms-bridge container
* updated version of matrix-sms-bridge
* updates matrix-sms-bridge
4 years ago
Slavi Pantaleev
b50cfe8d18
Upgrade mautrix-telegram (0.7.2 -> 0.8.1)
4 years ago
Slavi Pantaleev
200f912c04
Upgrade Synapse (v1.16.1 -> v1.17.0)
...
Fixes #579 (Github Issue).
4 years ago
shadow
ddfc945fcf
Remove unused validate_config.yml, since it causes ansible warnings
4 years ago
Slavi Pantaleev
eff55e4d00
Upgrade Synapse (v1.16.0 -> v1.16.1)
4 years ago
benkuly
3553d3d513
updated version of matrix-sms-bridge
4 years ago
benkuly
8e1a418a45
updated matrix-sms-bridge container
4 years ago
benkuly
bd3223cdd4
updated matrix-sms-bridge container
4 years ago
benkuly
226d5a9c64
remove force pull
4 years ago
benkuly
c5f9e02103
updated matrix sms bridge container
4 years ago
Slavi Pantaleev
928982cffe
Upgrade Synapse (v1.15.2 -> v1.16.0)
4 years ago
Slavi Pantaleev
18ab677a96
Remove useless file
4 years ago
Slavi Pantaleev
227f1a28e3
Allow matrix_user_uid/matrix_user_gid to be specified manually
4 years ago
Panagiotis Vasilopoulos
baed917a13
Fixed repository link for mx-puppet-steam
...
- https://github.com/icewind1991/mx-puppet-steam is the link that's referenced by the documentation.
- The previous link, https://github.com/matrix-steam/mx-puppet-steam , is invalid/inaccessible to the public.
4 years ago
shadow
6293f1bdb0
Run all API self checks in check_mode
4 years ago
Slavi Pantaleev
f758ee90cb
Add |to_json to some values
4 years ago
Justin Croonenberghs
35c2655fa4
Removed troublesome #s
4 years ago
Justin Croonenberghs
1f21f0c09a
Add variables for reCAPTCHA validation
4 years ago
Slavi Pantaleev
b08ee2f2fa
Move Jitsi container image tag to a variable
...
Related to #554 (Github Pull Request).
4 years ago
Slavi Pantaleev
3710e04e10
Merge pull request #557 from izissise/mx-puppet-steam
...
Add mx-puppet-steam
4 years ago
Slavi Pantaleev
d5eb7eb949
Merge pull request #560 from aaronraimist/synapse-1.15.2
...
Upgrade Synapse (1.15.1 -> 1.15.2)
4 years ago
Aaron Raimist
78382b0ce4
Upgrade Synapse (1.15.1 -> 1.15.2)
4 years ago
Hugues Morisset
57f498217a
Add mx-puppet-steam
4 years ago
Hugues Morisset
eb0df37247
Mx-puppet-discord Use official docker image
...
https://github.com/matrix-discord/mx-puppet-discord/issues/80
Thanks Sorunome for setting up the automated build
4 years ago
Hugues Morisset
42e7f5e9bc
Add mx-puppet-discord
4 years ago
Slavi Pantaleev
744667b270
Merge branch 'master' into mx-puppet-twitter
4 years ago
Slavi Pantaleev
31f9e7bbea
Merge pull request #551 from jdreichmann/feat-mx-puppet-instagram
...
Add mx-puppet-instagram
4 years ago
Slavi Pantaleev
8b59402f79
Upgrade Coturn (4.5.1.2 -> 4.5.1.3)
...
4.5.1.3 fixes a security vulnerability:
https://github.com/coturn/coturn/security/advisories/GHSA-c8r8-8vp5-6gcm
4 years ago
Slavi Pantaleev
f41c5e89e5
Upgrade riot-web (1.6.6 -> 1.6.7)
4 years ago
Tulir Asokan
5b960bcfb5
Make sender_localpart configurable for mx-puppet-twitter
4 years ago
Tulir Asokan
13186a1ddc
Add mx-puppet-twitter
...
Signed-off-by: Tulir Asokan <tulir@maunium.net>
4 years ago
Slavi Pantaleev
de545f9c5f
Update docs on self-building and remove useless variable
...
`matrix_container_images_self_build` was not really doing anything
anymore. It previously was influencing `matrix_*_self_build` variables,
but it's no longer the case since some time ago.
Individual `matrix_*_self_build` variables are still available.
People that would like to toggle self-building for a specific component
ought to use those.
These variables are also controlled automatically (via
`group_vars/matrix_servers`) depending on `matrix_architecture`.
In other words, self-building is being done automatically for
all components when they don't have a prebuilt image for the specified
architecture. Some components only support `amd64`, while others also
have images for other architectures.
4 years ago
Slavi Pantaleev
635f385971
Use pre-built arm64 image for ma1sd
...
ma1sd 2.4.0 announced experimental support for arm64.
We're making use of those arm64 images instead of self-building.
4 years ago
Slavi Pantaleev
f30d5e0950
Merge pull request #554 from teutat3s/jitsi-update-4627-1
...
Update Jitsi to stable-4627-1
4 years ago
teutat3s
784cb3e325
Update Jitsi to stable-4627-1
4 years ago
teutat3s
4cf59098ad
Update ma1sd to v2.4.0
4 years ago
Slavi Pantaleev
19b9a1b16c
Expose mautrix-hangouts port if matrix-nginx-proxy is disabled
4 years ago
jdreichmann
0fea35cdd2
mx-puppet-instagram: add role
4 years ago
Slavi Pantaleev
a081979d39
Merge pull request #548 from pcorace/master
...
Add variables to fine tune jitsi
4 years ago
Pablo
69570de8a9
Rename variables
4 years ago
Slavi Pantaleev
5c5f1c6ab9
Add support for telling Riot to not default to E2EE
...
Related to https://github.com/vector-im/riot-web/pull/13914
4 years ago
Pablo
c341608480
Add variables to fine tune jitsi
4 years ago
Slavi Pantaleev
d2a0ec6aa9
Upgrade riot-web (1.6.5 -> 1.6.6)
4 years ago
Slavi Pantaleev
105b3524bb
Upgrade riot-web (1.6.4 -> 1.6.5)
5 years ago
Slavi Pantaleev
10bc85962e
Upgrade Synapse (1.15.0 -> 1.15.1)
5 years ago
Slavi Pantaleev
7729511a84
Make vars.yml snapshotting optional and more configurable
...
Certain people organize their inventory in a different way
and we'd like to accommodate them.
Related to #542 (Github Issue).
5 years ago
Slavi Pantaleev
67ab7e7a1b
Preserve vars.yml on the server for easily restoring
...
Fixes #542 (Github Issues).
5 years ago
benkuly
d49ee51035
remove force pull matrix-sms-bridge docker image
5 years ago
benkuly
a0661a6012
updated sms bridge docker image
5 years ago
benkuly
11e53c4fbc
add default region
5 years ago
benkuly
99639d7d7a
Merge remote-tracking branch 'github/master'
5 years ago
Slavi Pantaleev
6538ae34f5
Upgrade Synapse (v1.14 -> v1.15)
...
Fixes #539 (Github Issue).
5 years ago
Hugues Morisset
d4938333e6
Fix missing conf for double puppeting in mx-puppet-slack
5 years ago
Slavi Pantaleev
440569c47b
Update mautrix-facebook configuration
5 years ago
Slavi Pantaleev
10b3ceff72
Make Matrix federation port configurable
...
Fixes #523 (Github Issue).
5 years ago
Slavi Pantaleev
65e5020596
Proxy other /_synapse endpoints to the client API
...
Besides /_synapse/admin, there are other things like
/_synapse/oidc, etc.
We should just proxy everything.
Fixes #534 (Github Issue).
5 years ago
Slavi Pantaleev
ab32f6adf6
Add self-building support to matrix-mailer (exim-relay)
5 years ago
Slavi Pantaleev
1f414a44ff
Upgrade matrix-mailer
5 years ago
Slavi Pantaleev
0113852504
Upgrade matrix-synapse-shared-secret-auth (1.0.1 -> 1.0.2)
...
There's no change in the source code. Just a release bump for packaing
reasons. It doesn't matter much for us here, but let's be on the latest
tag anyway.
5 years ago
dasTholo
331c77a651
Add Docker Network for matrix-mautrix-telegram-db for Telegram Bridge with Postgress
...
Postgres setup like
matrix_mautrix_telegram_configuration_extension_yaml: |
appservice:
database: "postgres://XXX:XXX@matrix-postgres:5432/mxtg"
will fail without the right Dockernetwork
5 years ago
benkuly
77fd23149b
added gammu hard reset for sms modem
5 years ago
Slavi Pantaleev
e4edfd5b12
Remove now-unnecessary /dev/null hacks from riot-web
...
`/etc/nginx/conf.d/default.conf` was previously causing
some issues when used with our `--user`.
It's not the case anymore, so we can remove it.
Fixes #369 (Github Issue).
5 years ago
Slavi Pantaleev
88a4a3ab55
Update components
5 years ago
Slavi Pantaleev
b0b744dede
Add periodic reconnection configuration to mautrix-facebook bridge
5 years ago
Slavi Pantaleev
c838bd2f46
Merge pull request #514 from benkuly/master
...
added matrix-sms-bridge
5 years ago
benkuly
f68e47d3c4
renamed role matrix-sms-bridge to matrix-bridge-sms
5 years ago
Slavi Pantaleev
0fce642179
Upgrade riot-web (1.6.2 -> 1.6.3)
5 years ago
benkuly
85c6befc04
removed unused delivery report
5 years ago
benkuly
b60a4ac643
mount as slave
5 years ago
benkuly
3a3b95abfc
added dev volume to find serial by id
5 years ago
benkuly
41b1925b2a
remove dev mount
5 years ago
benkuly
0967bc3cd9
added missing z flag
5 years ago
Slavi Pantaleev
c00a7c2fe9
Update mautrix-facebook configuration (invitation, backfilling support)
5 years ago
Slavi Pantaleev
5da31ba579
Move configuration templates outside of defaults/main.yml files
5 years ago
benkuly
26846a5f6c
try privileged way
5 years ago
benkuly
2fd8216fbc
try to fix device reconnect issues
5 years ago
benkuly
cd17928805
revert remove of frequency
5 years ago
benkuly
f383b152da
removed gammu reset frequency
...
because the tty port will change
5 years ago
benkuly
0b7d6744bf
added more docs and timeout value
5 years ago
Slavi Pantaleev
f56a9a0f5f
Merge pull request #524 from cnvandijk/fix-executable-path
...
Remove hardcoded paths to commands on the host machine
5 years ago
Slavi Pantaleev
8bae39050e
Update settings for Synapse v1.14.0
5 years ago
tctovsli
45ba01510d
Synapse v.1.14.0
5 years ago
Chris van Dijk
74df10633a
Remove hardcoded command paths in playbook cron usage
5 years ago
Chris van Dijk
6e3b877dc2
Remove hardcoded command paths in playbook shell usage
5 years ago
Chris van Dijk
6334f6c1ea
Remove hardcoded command paths in systemd unit files
...
Depending on the distro, common commands like sleep and chown may either
be located in /bin or /usr/bin.
Systemd added path lookup to ExecStart in v239, allowing only the
command name to be put in unit files and not the full path as
historically required. At least Ubuntu 18.04 LTS is however still on
v237 so we should maintain portability for a while longer.
5 years ago
Ugurtan
5ace3f4a1c
fix for importing sqllite database
...
the current version fails the import, because the volume for the media is missing. It still fails if you have the optional shared secret password provider is enabled, so that might need another mount. Commenting out the password provider in the hoimeserver.yaml during the run works as well.
5 years ago
benkuly
e4f128a1ba
fixed wrong gammu path
5 years ago
benkuly
3d63ee6d13
add group dialout to container
5 years ago
Slavi Pantaleev
a353217cf3
Add delivery_receipts option for matrix-bridge-mautrix-facebook
5 years ago
benkuly
a7fd27c43c
removed jinja command
5 years ago
benkuly
ecf3116c4a
fixed wrong gammu config dest
5 years ago
benkuly
f8663512de
fixed wrong paths
5 years ago
benkuly
805708e089
fix wrong used paath for gammu config file
5 years ago
benkuly
73b71a34c8
try to fix gammu-smsdrc is not a file
5 years ago
benkuly
1f570b3251
revert last change
5 years ago
benkuly
469554b836
try to use other mount option
...
to prevent docker from using dir instead of file
5 years ago
benkuly
eb8e3572fd
fixed wrong behaviour of gammu
5 years ago
benkuly
f0ff8112c7
database admin username must be neo4j
5 years ago
benkuly
fe54690ea1
fixed missing registration var
5 years ago
benkuly
63705f94f1
removed templates
5 years ago
benkuly
c802009b5c
fixed wrong var name
5 years ago
benkuly
be101a3114
added missing service to service list
5 years ago
benkuly
9ed80e754b
added missing variable
5 years ago
benkuly
1ffa4a326c
matrix-sms-bridge:
...
added docs, added seperate service for database, pr comments
5 years ago
Slavi Pantaleev
4c4f208613
Upgrade mautrix-telegram (0.7.0 -> 0.7.2)
5 years ago
Slavi Pantaleev
5c7e5c57bd
Upgrade riot-web (1.6.1 -> 1.6.2)
5 years ago
benkuly
4913ca4bb2
matri-sms-bridge:
...
better path handling, fixed some mistakes
5 years ago
benkuly
2d75fca257
added matrix-sms-bridge
5 years ago
Slavi Pantaleev
3198ed0dc9
Add missing matrix_mx_puppet_slack_container_http_host_bind_port variable
5 years ago
Slavi Pantaleev
4111e42070
Merge pull request #513 from joao-p-marques/fix/mx-puppet-bridge
...
Fix/mx puppet bridge
5 years ago
joao-p-marques
afd6d7e45a
change var name to correct one
5 years ago
joao-p-marques
c1bb4f680e
enable oauth
5 years ago
Dan Arnfield
ee3944bcdb
Update postgres (12.2 -> 12.3, etc)
5 years ago
Slavi Pantaleev
8fb3ce6f6d
Upgrade Synapse (v1.12.4 -> v1.13.0)
5 years ago
Slavi Pantaleev
a3259bbd77
Add |to_json to some variables
5 years ago
louis
a03e95b7eb
enable by default v2 api prefix for ma1sd
5 years ago
Slavi Pantaleev
7a2dbdc2d7
Update components
5 years ago
Slavi Pantaleev
ba23779b05
Fix incorrect Jitsi container image tags
...
Related to #508 (Github Pull Request).
5 years ago
teutat3s
47001258b5
Ensure prosody plugin path created / permissions
5 years ago
teutat3s
fbd8f3ec9b
Jitsi prosody: add volume /prosody-plugins-custom
5 years ago
teutat3s
c2df3d7bbf
Update jitsi containers to 4548-1
5 years ago
Marcel Partap
93f4111654
Prevent 404s when Riot tries to retrieve domain-specific config.json
...
Riot unconditionally asks for a config.${document.domain}.json, c.f.
https://github.com/vector-im/riot-web/blame/develop/src/vector/getconfig.ts#L24
5 years ago
Dan Arnfield
787f12e70d
Fix typo in validation
5 years ago
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
.
5 years ago
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).
5 years ago
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).
5 years ago
Slavi Pantaleev
36c61b5b4e
Introduce a separate group variable (matrix_user_groupname)
...
Related to #485 (Github Pull Request).
5 years ago
Slavi Pantaleev
ccc7aaf0ce
Fix "Migrating to a new server" flow due to dynamic user/group creation
5 years ago
Slavi Pantaleev
6032affc20
Merge pull request #486 from FanchTheSystem/avoid_fixed_uid_and_gid
...
Remove default UID/GID
5 years ago
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.
5 years ago
Slavi Pantaleev
4359571d38
Upgrade riot-web to v1.6.0
5 years ago
Fanch
a1c5a197a9
remove default UID/GID
5 years ago
Dan Arnfield
e750c6c6ff
Update coturn (4.5.1.1 -> 4.5.1.2)
5 years ago
Horvath Gergely
d6266a8c47
fix skype bridge being rebuilt when upstream changed
5 years ago
Chris van Dijk
7585bcc4ac
Allow the matrix user username and groupname to be configured separately
...
No migration steps should be required.
5 years ago
Chris van Dijk
cf0e56e92b
Consistent usage of matrix username and groupname, not uid and gid
...
This should be a no-op, no migration necessary.
5 years ago
Chris van Dijk
741064a178
Fix group ownership of Dimension base path and config
...
Ansible will migrate the ownership of the base path and config path, but
manual intervention will be required in order to migrate the ownership
of files in those directories (i.e. dimension.db).
Stop the services:
(local)$ ansible-playbook -i inventory/hosts setup.yml --tags=stop
Fix the permissions on the server:
(server)# chown -Rv "{{ matrix_user_username }}:{{ matrix_user_username }}" "{{ matrix_dimension_base_path }}"
which would typically look like:
(server)# chown -Rv matrix:matrix /matrix/dimension/
Reconfigure Dimension and start the services:
(local)$ ansible-playbook -i inventory/hosts setup.yml --tags=setup-dimension,start
5 years ago
Slavi Pantaleev
0e26810162
Merge pull request #478 from cnvandijk/feature-jitsi-ldap-auth
...
Add support for Jitsi LDAP authentication
5 years ago
Chris van Dijk
9d6614e80f
Add support for Jitsi LDAP authentication
5 years ago
Slavi Pantaleev
669780976f
Update mappings configuration example
5 years ago
John Goerzen
a2df0016eb
Update matrix-appservice-irc to 0.16.0
...
Note the potential breaking change
Resolves #474
5 years ago
GuillauG
29f606bac7
Add 'permalinkPrefix' and 'default_theme' for configuring riot web ( #472 )
...
* add permalinkPrefix to riot-web config
* add feature to change default theme of riot-web via its config file
* remove matrix_riot_web_change_default_theme and provide sane default
5 years ago
teutat3s
37d427c05c
Update Jitsi docker images to stable 4416
5 years ago
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
5 years ago
Slavi Pantaleev
9cc0c5955d
Use |quote in some command calls
5 years ago
Aaron Raimist
23bfaa72ec
Upgrade Synapse (1.12.3 -> 1.12.4)
5 years ago
Rodrigo Belem
033dfcb26f
Remove duplicated whitelist entry in skype main.yml
5 years ago
Rodrigo Belem
4149e03b69
Initial mx-puppet-slack bridge role
5 years ago
Slavi Pantaleev
272888d917
Merge pull request #462 from cnvandijk/feature-dimension-unfederated
...
Add support for running dimension in an unfederated environment
5 years ago
Slavi Pantaleev
0af5a8c4cc
Simplify mx-puppet-skype blacklists a bit
...
Related to #466 (Github Pull Request).
5 years ago
Rodrigo Belem
b08a49d94d
Allow skype more configurations for relay and provisioning
5 years ago
Chris van Dijk
3f4bc9b881
Move config supprt for unfederated dimension into group_vars
5 years ago
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 .
5 years ago
Slavi Pantaleev
554da8338a
Merge pull request #463 from hooger/architecture
...
Architecture
5 years ago
Marcel Partap
46984a4f99
Nginx conf: more testing less b0rk
5 years ago
Christoph Johannes Kleine
765c046beb
add missing ; to matrix-synapse.conf.j2
5 years ago
Marcel Partap
5f63d287b7
Move synapse worker ports up 10k
5 years ago
Marcel Partap
e4763c21bc
nginx config: route traffic to workers on matrix-synapse
...
FIXME: horrid duplication in template file
5 years ago
Marcel Partap
66a4073512
Publish synapse worker ports, need to be accessible to nginx
5 years ago
Marcel Partap
cf452fdf0a
Fix corner-cases found through testing (aka ansible is nuts)
5 years ago
Marcel Partap
a14b9c09ad
Add to synapse nginx template conditional URL rewrites for workers
...
· 😅 How to keep this in sync with the matrix-synapse documentation?
· regex location matching is expensive
· nginx syntax limit: one location only per block / statement
· thus, lots of duplicate statements in this file
5 years ago
Marcel Partap
353bc7c362
Add initial support for synapse workers
...
· needs documentation; no checks yet for port clashes or typos in worker name
· according to https://github.com/matrix-org/synapse/wiki/Workers-setup-with-nginx#results
about 90% of requests go to the synchrotron endpoint
· thus, the synchrotron worker is especially suited to be load-balanced
· most of the other workers are documented to support only a single instance
· https://github.com/matrix-org/synapse/blob/master/docs/workers.md
5 years ago
Dan Arnfield
e2de6a1569
Update nginx (1.17.9 -> 1.17.10)
5 years ago
Horvath Gergely
bd61598faf
add experimental(?) architecture support for arm32 and arm64
...
the changes are necessary because certbot images are tagged, so docker does not recognize the necessary architecture
5 years ago
Chris van Dijk
da2e90dcc1
Remove check for "Fail if Matrix Federation is disabled"
...
This playbook now suports running dimension in both a federated and an
unfederated environment.
5 years ago
Chris van Dijk
3ddb8cd148
Add support for running dimension in an unfederated environment
...
This config change follows:
https://github.com/turt2live/matrix-dimension/blob/master/docs/unfederated.md
5 years ago
Horvath Gergely
203a319881
force build docker image if git master changes
5 years ago
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.
5 years ago
Slavi Pantaleev
8cd9cdead0
Improve consistency
5 years ago
Slavi Pantaleev
27cae3d90c
Merge pull request #461 from lampholder/toml/allowed_local_3pids
...
Expose allowed local 3pids as a configurable option
5 years ago
Tom
e54428b160
Expose allowed local 3pids as a configurable option
5 years ago
Slavi Pantaleev
43201c9e22
Upgrade matrix-corporal (1.8.0 -> 1.9.0)
5 years ago
Slavi Pantaleev
9a43cc02e0
Only install docker-python if matrix_docker_installation_enabled
...
Should help with #300 (Github Issue).
5 years ago
Slavi Pantaleev
4d260c0dd5
Add encryption configuration defaults to Mautrix bridges
...
Related to #451 (Github Issue).
5 years ago
Chris van Dijk
88c1fbf6aa
Fix hardcoded values in postgres script matrix-change-user-admin-status
5 years ago
Chris van Dijk
d83236ea0e
Fix inconsistent whitespace
5 years ago
Rodrigo Belem
cc8fc55ac6
Upstream set mx-puppet-skype default port to 8438
5 years ago
Slavi Pantaleev
69338d045a
Simplify if conditions
5 years ago
John Goerzen
ddc44996e3
Fix to avoid putting an incorrect empty jitsi.preferredDomain when no local jitsi
5 years ago
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 .
5 years ago
Slavi Pantaleev
c1a66d3422
Put mx-puppet-skype configs in ./config directory, not ./data
5 years ago
Slavi Pantaleev
59d05ad72c
Merge pull request #441 from Jozian/skype
...
Initial mx-puppet-skype bridge role
5 years ago
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'.
5 years ago
Rodrigo Belem
1107207147
Initial mx-puppet-skype bridge role
5 years ago
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
- 3121494d4b
5 years ago
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.
5 years ago
Slavi Pantaleev
f798605836
Undefine Jitsi secrets and require their (re-)definition
5 years ago
teutat3s
f9d39f1c0c
update Jitsi, add generate-jitsi-passwords script
5 years ago
Slavi Pantaleev
fab1e23609
Make a few more Jitsi Meet options configurable
5 years ago
Horvath Gergely
17e7bae2cc
make selfbuild be forced on (and only) git master change
5 years ago
Horvath Gergely
3d096a2b13
make selfbuild be forced on (and only) git master change
5 years ago
Alin Trăistaru
604e581a97
add ntpd defaults
5 years ago
Slavi Pantaleev
5cca71e8da
Merge pull request #434 from teutat3s/missing_jitsi_jicofo_auth_url
...
add missing jitsi auth URL conditional
5 years ago
Alin Trăistaru
697e91aa05
jitsi-web: add more defaults
5 years ago
teutat3s
9adddb19e2
fix whitespace
5 years ago
teutat3s
ea072eb38d
add missing jitsi auth URL conditional
5 years ago
teutat3s
4ed0632327
fix jitsi guests mode according to docker-jitsi-meet repo
5 years ago
Slavi Pantaleev
f78fa3f328
Upgrade Synapse (1.12.0 -> 1.12.3)
5 years ago
Slavi Pantaleev
5927ed56b0
Fix matrix_ma1sd_service_stat.stat.exists sometimes being undefined
5 years ago
Slavi Pantaleev
c3efd2966f
Fix mxisd -> ma1sd migration for older versions of Ansible
5 years ago
Slavi Pantaleev
845f5f007b
Make Synapse use ma1sd (if enabled) for threepid registration
5 years ago
Slavi Pantaleev
a0b82d2234
Fix mxisd -> ma1sd data migration (mxisd.db -> ma1sd.db)
5 years ago
Slavi Pantaleev
a4ea2f850b
Provide a friendlier migration message from people using matrix_mxisd_ variables
5 years ago
Slavi Pantaleev
be19511338
Add missing container self-build variables for ma1sd
5 years ago
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.
5 years ago
Marcel Partap
4172345d34
Fix regex matching against old variable names in ma1sd validation task
5 years ago
Marcel Partap
e4ceeccd14
Add mxisd => ma1sd migration task
5 years ago
Marcel Partap
92672f8949
matrix-ma1sd/tasks/validate_config.yml: can ansible process regex in when statements?
5 years ago
Marcel Partap
ed34d0ac39
fix "noeol" ("No newline at end of file" == missing 0A byte at file end)
5 years ago
Marcel Partap
c2d384d2ef
some more mxisd to ma1sd string/URL replacements
5 years ago
Marcel Partap
8c5c2e5eec
Bump ma1sd version to 2.3.0
5 years ago
Marcel Partap
874e2e1fc0
Rename variables (s/mxisd/ma1sd/) and adapt roles
5 years ago
Marcel Partap
9d0803cdf9
Specify up-to-date version 2.2.2 of ma1sd docker image
5 years ago
Marcel Partap
187dedf920
Duplicate matrix-mxisd role for matrix-ma1sd fork
...
(adapting strings and URLs)
5 years ago
Slavi Pantaleev
e1774c648a
Upgrade riot-web (v1.5.14 -> v1.5.15)
5 years ago
Slavi Pantaleev
8bcc9712d0
Make follow_redirects configurable when checking /.well-known/matrix/client
...
Discussed in #101 (Github Issue).
5 years ago
Slavi Pantaleev
ca04ca9ffe
Make it possible to change Jitsi web UI language
...
Fixes #427 (Github Issue).
5 years ago
Slavi Pantaleev
26b73e3a4b
Do not install unnecessary bash-completion
5 years ago
Slavi Pantaleev
edb77cf799
Merge pull request #426 from bnounours/master
...
Fix bad network and bad path to postgres env in docker run
5 years ago
Slavi Pantaleev
067588b262
Upgrade riot-web
5 years ago
Mickaël Cornière
82989b662a
Fix bad network and bad path to postgre env
5 years ago
Slavi Pantaleev
c655a6467a
Fix --tags=start regression
...
Related to #425 (Github Pull Request)
5 years ago
Slavi Pantaleev
ac60115190
Fix git installation bug during synapse-simple-antispam installation
...
Fixes #424 (Github Issue).
5 years ago
Christian Wolf
3f62ff1120
Overcame bug in current systemd
5 years ago
Christian Wolf
51c271905d
Removed bug in enhanced waiting
5 years ago
Christian Wolf
8c9b5ea6dd
Removed a few syntax bugs in Archlinux configuration
5 years ago
Christian Wolf
4bc73ff4bb
Removed autoinstallation of cron due to documentation
5 years ago
Christian Wolf
26bc66117d
Removed redunadant waiting
5 years ago
Christian Wolf
2849f0b1b8
Changed task titles to be consistent
5 years ago
Christian Wolf
d84b2868b7
Added basic changes to make it compatible with Archlinux
5 years ago
Slavi Pantaleev
3860709e19
Ensure matrix-mautrix-hangouts-db container is killed/removed
5 years ago
mooomooo
eebc6e13f8
Made directory variables for /etc/systemd/system , /etc/cron.d , /usr/local/bin
5 years ago
Slavi Pantaleev
0f39cb9987
Fix incorrect server_name for Jitsi
...
Fixes #417 (Github Issue)
5 years ago
Slavi Pantaleev
0e69a51036
Upgrade matrix-corporal (1.7.2 -> 1.8.0)
5 years ago
Slavi Pantaleev
fcb4f2579d
Upgrade matrix-corporal (1.7.1 -> 1.7.2)
5 years ago
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).
5 years ago
Slavi Pantaleev
cdd9ee1962
Add Jitsi support
5 years ago
Slavi Pantaleev
9032151486
Update Synapse configuration for v1.12.0
...
Some options are no longer required and have sensible default values.
5 years ago
tctovsli
949b5d7a46
Release synapse v.1.12.0
5 years ago
Slavi Pantaleev
027056e027
Fix weird path creation
...
Fixes #403 (Github Issue).
5 years ago
Slavi Pantaleev
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)
5 years ago
Slavi Pantaleev
e9d7a6faf7
Merge pull request #406 from thedanbob/postgres-12.2
...
Update postgres (12.1 -> 12.2, etc)
5 years ago
Dan Arnfield
c7440b723a
Update certbot (1.2.0 -> 1.3.0)
5 years ago
Dan Arnfield
4065d74a5f
Update nginx (1.17.8 -> 1.17.9)
5 years ago
Dan Arnfield
e36de7e627
Update postgres (12.1 -> 12.2, etc)
5 years ago
Dan Arnfield
bfd87000cc
Update riot-web (1.5.12 -> 1.5.13)
5 years ago
Slavi Pantaleev
3cee815baf
Fix some typos
5 years ago
Slavi Pantaleev
063e988db2
Make gradle installation fail in a friendlier way on CentOS
5 years ago
Slavi Pantaleev
2b85fde103
Rename some variables for consistency
5 years ago
Slavi Pantaleev
8fe97abe7d
Wire matrix_container_images_self_build to self_build variables via group_vars/matrix_servers
...
This keeps the roles cleaner and more independent of matrix-base,
which may be important for people building their own playbook
out of the individual roles and not using the matrix-base role.
5 years ago
Horvath Gergely
30fd1ab2d6
add forgotten support for variable for matrix-bridge-mautrix-facebook role
5 years ago
Horvath Gergely
976f1a4582
fix riot-web version strip
5 years ago
Horvath Gergely
2d537484d5
introduce variable
5 years ago
Horvath Gergely
a164fe485e
fix wrong variable name
5 years ago
Horvath Gergely
3c8535c3bc
check ansible version for self-building in every role
5 years ago
Horvath Gergely
6232a81caf
check if target distro is Raspbian and install docker accordingly
5 years ago
Horvath Gergely
a5d94eec0b
refactor variable names
5 years ago
Horvath Gergely
310aa685f9
refactor based on Slavi's requests
5 years ago
Horvath Gergely
d53d63ab07
Merge branch 'master' of https://github.com/spantaleev/matrix-docker-ansible-deploy into raspberry-pi
5 years ago
David Gnedt
c55682d099
Update synapse-janitor to support current synapse database schema
5 years ago
Slavi Pantaleev
e8d0b72a7b
Merge pull request #394 from swarnat/customization_welcome
...
Customization welcome
5 years ago
Stefan Warnat
46664c4758
Adjust variable names
5 years ago
Slavi Pantaleev
00596452c2
Update riot-web (1.5.11 -> 1.5.12)
5 years ago
Stefan Warnat
054e6fed0c
rearrange main.yml of riot-web and use same logo URL for both logos
5 years ago
Stefan Warnat
0322a5443a
additional customizations of welcome page
5 years ago
Stefan Warnat
8bc4f56385
Improve customization of welcome page
5 years ago
Slavi Pantaleev
a727e7c497
Upgrade Synapse (v1.11.0 -> v1.11.1)
5 years ago
Slavi Pantaleev
be6c048abe
Remove useless matrix_appservice_webhooks_webhooks_port
...
In relation to #392 (Github Issue)
5 years ago
Slavi Pantaleev
bbe7bff184
Merge pull request #392 from swarnat/fix_webhooks
...
Switch Webhooks Port, which is exposed for external nginx
5 years ago
tctovsli
209e716580
New version of matrix-riot-web
5 years ago
Stefan Warnat
d5e5572f2c
switch Port, which is exposed to same, which is internal used
5 years ago
Slavi Pantaleev
37f3a2d5a8
Add support for themes to riot-web
5 years ago
Julian Foad
3228cfd229
Add custom server name string in Riot config.
...
This adds into the Riot config.json the field
'default_server_config.m.homeserver.server_name'
with, by default, the value of the playbook's 'matrix_domain' variable.
Riot displays this string in its login page and will now say 'Sign in to
your Matrix account on example.org' (the server name) instead of 'Sign
in ... on matrix.example.org' (the server domain-name).
This string can be configured by setting the playbook variable
'matrix_riot_web_default_server_name'
to any string, so we can make Riot say for example 'Sign in ... on Our
Server'.
5 years ago
Julian Foad
7a45c651d2
Use new syntax for default HS/IS in Riot config.
...
This change makes no difference in itself, but is a pre-requisite for
adding the 'server name' config, and the old syntax is deprecated.
5 years ago
Horvath Gergely
6366817930
Merge branch 'master' of https://github.com/spantaleev/matrix-docker-ansible-deploy into raspberry-pi
5 years ago
Horvath Gergely
f56825580d
hangouts-bridge no-proxy warning does not trigger when 'matrix_nginx_proxy_enabled = false' is explicitly set
5 years ago
Aaron Raimist
6ba961bd11
Upgrade riot-web (1.5.9 -> 1.5.10)
5 years ago
Horvath Gergely
610c98d6ab
add riot-web support for raspberry pi
5 years ago
Horvath Gergely
40d0fea06c
add mautrix-hangouts support for raspberry pi
5 years ago
Horvath Gergely
ac118d2f25
Merge branch 'master' of https://github.com/spantaleev/matrix-docker-ansible-deploy into raspberry-pi
5 years ago
Horvath Gergely
f28c7b71d2
build mxisd for rapsberry pi
5 years ago
Slavi Pantaleev
5de8f27122
Upgrade Synapse (v1.10.1 -> v1.11.0)
5 years ago
Horvath Gergely
8c1e00a6cd
add mautrix-facebook support for raspberry pi
5 years ago
Horvath Gergely
5a4e4f6fb9
Merge branch 'master' of https://github.com/spantaleev/matrix-docker-ansible-deploy into raspberry-pi
5 years ago
Horvath Gergely
697f86d06f
minor fix
5 years ago
Horvath Gergely
7c4a86bc6b
add coturn support for raspberry pi
5 years ago
Slavi Pantaleev
6106a80708
Merge pull request #383 from sathiscode/patch-1
...
Fixed appservice webhooks container port mapping
5 years ago
Slavi Pantaleev
8343ff5268
Add missing to_json filter
5 years ago
Sathis
ff59901bc0
Fixed appservice webhooks container port mapping
5 years ago
Horvath Gergely
d8b31afd1a
Merge branch 'master' of https://github.com/spantaleev/matrix-docker-ansible-deploy into raspberry-pi
5 years ago
orange
45e32bdad2
add synapse config enable_group_creation
5 years ago
Horvath Gergely
4b7f0787ca
Merge branch 'master' of https://github.com/spantaleev/matrix-docker-ansible-deploy
5 years ago
Horvath Gergely
a096eafb45
add possibility to install synapse on raspberry pi
5 years ago
Dan Arnfield
96557c6280
Update synapse (1.10.0 -> 1.10.1)
5 years ago
Slavi Pantaleev
47696056d3
Upgrade riot-web (1.5.8 -> 1.5.9)
5 years ago
Horvath Gergely
bbbcc18c70
Merge branch 'master' of https://github.com/spantaleev/matrix-docker-ansible-deploy
5 years ago
Slavi Pantaleev
da98a06553
Merge pull request #377 from thedanbob/certbot-1.2.0
...
Update certbot (1.0.0 -> 1.2.0)
5 years ago
Slavi Pantaleev
2b6c263900
Merge pull request #376 from thedanbob/nginx-1.17.8
...
Update nginx (1.17.7 -> 1.17.8)
5 years ago
Dan Arnfield
bb08022623
Update certbot (1.0.0 -> 1.2.0)
5 years ago
Dan Arnfield
74235df820
Update nginx (1.17.7 -> 1.17.8)
5 years ago
Dan Arnfield
bac7685ce4
Update synapse (1.9.1 -> 1.10.0)
5 years ago
Horvath Gergely
8a0c3146d3
Merge branch 'master' of https://github.com/spantaleev/matrix-docker-ansible-deploy
5 years ago
Daniel Hoffend
b280b05c25
matrix-nginx-proxy: adding additional configuration blocks
5 years ago
Lee Verberne
8fe8cf9113
Fix matrix-appservice-irc database specification
...
This fixes an incorrect indentation in the database specification for
appservice-irc which caused matrix-appservice-irc to refuse to start
with the remarkably unhelpful error message:
```
ERROR:CLI Failed to run bridge.
```
This also updates doc links to the new matrixdotorg repo because the
tedomum repo contains out-of-date documentation.
5 years ago
Slavi Pantaleev
f18037ae42
Disable TLSv1.1 by default
5 years ago
Slavi Pantaleev
f9a67624e1
Upgrade Synapse (1.9.0 -> 1.9.1)
5 years ago
Slavi Pantaleev
b323c975cf
Upgrade riot-web (1.5.7 -> 1.5.8)
5 years ago
Slavi Pantaleev
c9f2bf89b5
Fix incorrect REST Auth module URL
...
Regression since #362 (Github Pull Request).
5 years ago
Slavi Pantaleev
38d4c555d0
Merge pull request #362 from spantaleev/ma1uta-rest-auth-password-provider
...
Switch from kamax-matrix/matrix-synapse-rest-password-provider to ma1uta/matrix-synapse-rest-password-provider
5 years ago
Slavi Pantaleev
0696845f3f
Merge pull request #361 from spantaleev/official-matrix-appservice-irc
...
Switch to upgraded & official matrix-appservice-irc Docker image
5 years ago
Slavi Pantaleev
874d2390dd
Revert "Upgrade Slack bridge to 1.0.2"
...
This reverts commit 61e93744ec
.
Reverting because of:
- https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/341
- https://github.com/matrix-org/matrix-appservice-slack/issues/347
5 years ago
Slavi Pantaleev
c2135d1afe
Switch from kamax-matrix/matrix-synapse-rest-password-provider to ma1uta/matrix-synapse-rest-password-provider
...
Synapse v1.9.0 changed some things which made the REST Auth Password
Provider break.
The ma1uta/matrix-synapse-rest-password-provider implements some
workarounds for now and will likely deliver a proper fix in the future.
Not much has changed between the 2 projects, so this should be a
painless transition.
5 years ago
Slavi Pantaleev
aa05df6a02
Switch to upgraded & official matrix-appservice-irc Docker image
5 years ago
Slavi Pantaleev
77b919aec6
Become compatible with official matrix-appservice-irc Docker image
...
This change allows us to work with both our existing Docker image
(`tedomum/matrix-appservice-irc:latest`) and with the
official Docker image (`matrixdotorg/matrix-appservice-irc`).
The actual change to the official Docker image requires more testing
and will be done separately.
5 years ago
dhose
320d512541
Fix for when if case evaluates to false
5 years ago
Dan Arnfield
bc620895ca
Install python3-docker if ansible is running python 3
5 years ago
Slavi Pantaleev
2c04384e8e
Synchronize config with the one from Synapse 1.9.0
...
Related to #355 .
5 years ago
Paul Tötterman
e9761679eb
Upgrade Synapse to 1.9.0
5 years ago
Slavi Pantaleev
704d2ff861
Merge pull request #351 from prasket/matrix-change-user-admin-status
...
Matrix change user admin status
5 years ago
Dan Arnfield
86eff45e8b
uri.follow_redirects is now a string field
5 years ago
prasket
83e7a8d9e6
corrected hardcoded matrix domain and added code to remove old matrix-make-user-admin script per suggestion.
5 years ago
Slavi Pantaleev
9d3d538a2d
Use C collation for Postgres to appease Synapse
5 years ago
prasket
e99497bb60
created new file with change admin options and removed make admin file. Updated name references as well throughout the project.
5 years ago
Slavi Pantaleev
72f6e56fb8
Upgrade mautrix-telegram (0.6.1 -> 0.7.0)
5 years ago
David Gnedt
73d0bf7170
Fix regex in matrix_appservice_webhooks_registration_yaml
5 years ago
Horvath Gergely
83e5cd7d6f
Merge branch 'master' of https://github.com/spantaleev/matrix-docker-ansible-deploy
5 years ago
Björn Marten
f9d518796b
Correct regex in matrix_appservice_webhooks_registration_yaml
5 years ago
Björn Marten
80e4eb9ab7
Remove file logging completely
5 years ago
Björn Marten
268e1d0c80
Remove appearance section in matrix_appservice_webhooks_configuration_yaml due to not being used
5 years ago
Björn Marten
208d5d0fda
Adjust log level choices to verbose and info
5 years ago
Björn Marten
a8476c1b8e
Mention that the bridge itself expects its own domain and not '/appservice-webhooks'
5 years ago
Björn Marten
654d45a2bf
Adjust message when webhook bridge is activated but nginx-proxy is not
5 years ago
Björn Marten
6b2bf2c38b
Get rid of rewrite terminology
5 years ago
Björn Marten
3a80616185
Change logging behaviour to only stdout with configurable verbosity (default: info)
5 years ago
Björn Marten
9892eac789
Adjust API secret to be a configurable and required variable
5 years ago
Björn Marten
50bf8c8dd7
Add matrix-appservice-webhooks role.
5 years ago
Lyubomir Popov
800dc61335
Upgrade riot-web (1.5.6 -> 1.5.7)
5 years ago
Gergely Horváth
1c314fcf29
first version of raspbian docker setup
5 years ago
Gergely Horváth
05966c8cff
make sure Raspbian is not handled the same as Debian
5 years ago
Slavi Pantaleev
675aaa1215
Fix escaping issues affecting the Whatsapp bridge
...
Regression introduced in 53186ffa1c
5 years ago
Slavi Pantaleev
61e93744ec
Upgrade Slack bridge to 1.0.2
...
NeDB is deprecated, so we should transition away from it in the future.
Still, most of the functionality should work on this new version.
5 years ago
Slavi Pantaleev
bd38861179
Add support for automatic Double Puppeting for all Mautrix bridges
5 years ago
Slavi Pantaleev
53186ffa1c
Sync configuration with upstream for all Mautrix bridges
5 years ago
Slavi Pantaleev
a84a24d9f5
Upgrade nginx (1.17.6 -> 1.17.7)
5 years ago
Slavi Pantaleev
fddd3f922f
Upgrade Synapse to 1.8.0
5 years ago
Marcel Partap
7ead77fdb7
Remove spurious 'mxisd' string from mautrix bridge templates comment
5 years ago
Dan Arnfield
4f3f263420
Update synapse (1.7.2 -> 1.7.3)
5 years ago
Slavi Pantaleev
8b5b075fda
Fix typo
5 years ago
Slavi Pantaleev
0e3e3cdf86
Upgrade Synapse (1.7.1 -> 1.7.2)
5 years ago
Slavi Pantaleev
9a33e5c7ad
Make it possible to control Coturn ports and listen interfaces
...
Related to #330 (Github Issue).
5 years ago
Slavi Pantaleev
89dbe5cfc5
Add the ability to control the certbot HTTP bind port
...
Fixes #330 (Github Issue).
5 years ago
Slavi Pantaleev
b09f5a783b
Upgrade Synapse (1.7.0 -> 1.7.1)
5 years ago
Slavi Pantaleev
a78002f12b
Upgrade certbot (0.40.1 -> 1.0.0)
5 years ago
Slavi Pantaleev
d69ddcfdac
Upgrade Synapse (1.6.1 -> 1.7.0)
5 years ago
Daniel Løvbrøtte Olsen
3f7af3ef3f
Expose self service bridging in matrix_appservice_discord
...
This allows for users to bridge already existing matrix rooms to discord
5 years ago
Slavi Pantaleev
8cd51ad1ab
Merge pull request #322 from aaronraimist/integrations-manager-well-known
...
Implement MSC1957: Integration manager discovery
5 years ago
Aaron Raimist
2ea507e2ea
Don't make it Dimension specific
5 years ago
Slavi Pantaleev
783ed766f0
Upgrade riot-web (1.5.5 -> 1.5.6)
5 years ago
Yuri Moens
0866f98957
Render vhost directives in https server block
5 years ago
Slavi Pantaleev
ca3b158d94
Add support to matrix-nginx-proxy to work in HTTP-only mode
5 years ago
Aaron Raimist
fe932273aa
Implement MSC1957: Integration manager discovery
...
https://github.com/matrix-org/matrix-doc/pull/1957
Yay Riot iOS now supports integration manager discovery!
5 years ago
Aaron Raimist
79d1576648
Allow Synapse manhole to be enabled
...
Can you double check that the way I have this set only exposes it locally? It is important that the manhole is not available to the outside world since it is quite powerful and the password is hard coded.
5 years ago
Slavi Pantaleev
1ec7cd898d
Upgrade matrix-corporal (1.7.0 -> 1.7.1)
5 years ago
Slavi Pantaleev
163a1b4294
Merge pull request #318 from benkuly/master
...
Add telegram relay bot feature to playbook
5 years ago
Slavi Pantaleev
ce1ce03b3d
Upgrade matrix-corporal (1.6.0 -> 1.7.0)
5 years ago
benkuly
e23be75f6d
added vars for bot token in telegram bridge
5 years ago
Slavi Pantaleev
25dc53c34a
Switch riot-web image (bubuntux/riot-web -> vectorim/riot-web)
...
Switching to the official image (vectorim/riot-web) should ensure:
- there's less breakage, as it's maintained by the same team as riot-web
- there's fewer actors we need to trust
- we can upgrade riot-web faster, as newer versions should be released
on Docker hub at the same time riot-web releases are made
5 years ago
Slavi Pantaleev
b55198836a
Upgrade riot-web (1.5.4 -> 1.5.5)
5 years ago
Slavi Pantaleev
b8baf1356e
Upgrade Synapse (1.6.0 -> 1.6.1)
5 years ago
Dan Arnfield
fda16c17f5
Update riot-web (1.5.3 -> 1.5.4)
5 years ago
Slavi Pantaleev
0c51440426
Update Synapse to v1.6.0
5 years ago
Dan Arnfield
24646dc506
Update nginx (1.17.5 -> 1.17.6)
5 years ago
Dan Arnfield
4a60f385d1
Update postgres versions (12.0 -> 12.1, etc)
5 years ago
Slavi Pantaleev
4cc6cdf6f3
Merge pull request #314 from aaronraimist/well-known-client-no-identity
...
Remove identity server section from .well-known/matrix/client if there is no identity server
5 years ago
Aaron Raimist
9ab68a3cb4
Remove identity server section from .well-known/matrix/client if there is no identity server
...
Riot used to be fine with it being blank but now it complains. This creates an ugly looking comma when there is an identity server configured but I guess that's fine.
5 years ago
Slavi Pantaleev
f348370f15
Remove unnecessary update_cache directive / Debian
...
We've just updated it in the task above, so it's unnecessary
5 years ago
Slavi Pantaleev
c88c0e7e87
Remove unnecessary update_cache directive / CentOS
...
We've just updated it in the task above, so it's unnecessary
5 years ago
Dan Arnfield
960088752c
Add matrix_docker_package_name
5 years ago
Dan Arnfield
80cfb2a93e
Add matrix_docker_installation_enabled
5 years ago
Dan Arnfield
3cec6947ed
Refactor base server setup tasks
5 years ago
Hardy Erlinger
eb7391d373
Fix: Restrict a Debian-specific task to Debian OS.
...
Since commit b9753635
the task 'Ensure docker-ce is installed (Debian)' fails with an error on CentOS although it should not even run on this OS.
5 years ago
Dan Arnfield
b975363530
Don't install docker-ce if docker.io is installed
5 years ago
Dan Arnfield
140002ed49
Update certbot (0.38.0 -> 0.40.1)
5 years ago
Slavi Pantaleev
2da40c729a
Do not expose server room directory by default
...
Prompted by: https://matrix.org/blog/2019/11/09/avoiding-unwelcome-visitors-on-private-matrix-servers
This is a bit controversial, because.. the Synapse default remains open,
while the general advice (as per the blog post) is to make it more private.
I'm not sure exactly what kind of server people set up and whether they
want to make the room directory public. Our general goal is to favor
privacy and security when running personal (family & friends) and corporate
homeservers, both of which likely benefit from having a more secure default.
5 years ago
Slavi Pantaleev
50614f1bad
Simplify Prerequisites a bit
...
Don't mention systemd-journald adjustment anymore, because
we've changed log levels to WARNING and Synapse is not chatty by default
anymore.
The "excessive log messages may get dropped on CentOS" issue no longer
applies to most users and we shouldn't bother them with it.
5 years ago
Mike
4edb1eb131
Update init.yml
...
Removed a set_facts that I have used for tracing down the issue
5 years ago
Michael Haak
5b213e6ad0
Replace constructs appending elements with variables to matrix_synapse_container_extra_arguments. Fixes issue https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/304
5 years ago
Aaron Raimist
c600ff758d
Upgrade riot-web (1.5.2 -> 1.5.3)
5 years ago
Slavi Pantaleev
f0e80218b0
Upgrade Synapse (1.5.0 -> 1.5.1)
5 years ago
Dan Arnfield
80265bfec5
Update riot-web (1.5.0 -> 1.5.2)
5 years ago
recklesscoder
5d3b765241
Actually use matrix_synapse_storage_path
...
matrix_synapse_storage_path is already defined in matrix-synapse/defaults/main.yml (with a default of "{{ matrix_synapse_base_path }}/storage"), but was not being used for its presumed purpose in matrix-synapse.service.j2. As a result, if matrix_synapse_storage_path was overridden (in a vars.yml), the synapse service failed to start.
5 years ago
Slavi Pantaleev
721ca9b83f
Add missing publicUrl configuration for Dimension
...
Discussed in #282 (Github Issue).
5 years ago
Dan Arnfield
9b187eca8f
Update nginx (1.17.4 -> 1.17.5)
5 years ago
Dan Arnfield
f0ce0db7dc
Update synapse (1.4.1 -> 1.5.0)
5 years ago
Slavi Pantaleev
e81837a586
Undo some formatting changes
5 years ago
Noah Fleischmann
1df3d53243
Verbose logging should be off per default
5 years ago
Noah Fleischmann
9728bdffee
Undo auto formatting
5 years ago
Noah Fleischmann
852fceb33f
Add documentation
5 years ago
Noah Fleischmann
c3fb7ebf4c
Add variable for mxisd verbose logging
5 years ago
Slavi Pantaleev
3bf7a7a85e
Upgrade riot-web (1.4.2 -> 1.5.0)
5 years ago
Slavi Pantaleev
e0ea708acc
Upgrade Synapse (1.4.0 -> 1.4.1)
5 years ago
Julian Foad
7ce80bc58e
Quote docker args in case inputs contain spaces
5 years ago
Slavi Pantaleev
e32aaacaa7
Make gzipped SQL dumps by default during --upgrade-postgres
5 years ago
Slavi Pantaleev
29526e7bb1
Add support for backing up / importing all Postgres databases/users
5 years ago
Aaron Raimist
5a2c1a44e4
Upgrade riot-web (1.4.1 -> 1.4.2)
5 years ago
Paul Tötterman
aabb16d78b
Fix spelling ngnix -> nginx
5 years ago
Slavi Pantaleev
9c438a3870
Add support for Postgres v12
5 years ago
Dan Arnfield
b59642950e
Update riot-web (1.4.0 -> 1.4.1)
5 years ago
Slavi Pantaleev
f25696489b
Merge pull request #273 from Sporiff/patch-1
...
Bump riot web version 1.3.6 -> 1.4.0
5 years ago
Slavi Pantaleev
19fb96fa57
Merge pull request #275 from aaronraimist/synapse-1.4.0
...
Upgrade Synapse (1.3.1 -> 1.4.0)
5 years ago
Slavi Pantaleev
a37b96d829
Upgrade Synapse to 1.4.0
5 years ago
Slavi Pantaleev
392f8202bd
Make SAML2 configuration match sample config generated using generate command
5 years ago
Slavi Pantaleev
810d0fb0e4
Make it possible to serve static websites from the base domain
5 years ago
Aaron Raimist
413d9ec143
WIP: Upgrade Synapse (1.3.1 -> 1.4.0rc2)
5 years ago
Ciarán Ainsworth
271d32b866
Bump riot web version 1.3.6 -> 1.4.0
5 years ago
Slavi Pantaleev
1dd1f9602f
Merge pull request #271 from thedanbob/certbot-0.38
...
Update certbot (0.37.1 -> 0.38.0)
5 years ago
Dan Arnfield
c12ca8fff0
Update certbot (0.37.1 -> 0.38.0)
5 years ago
Dan Arnfield
2dd9dc4882
Update nginx (1.17.3 -> 1.17.4)
5 years ago
Slavi Pantaleev
3264024055
Update matrix-corporal (1.5.0 -> 1.6.0)
5 years ago
Slavi Pantaleev
73c90e9513
Try to make Synapse config/key generation respect uid/gid
...
Attempt at fixing #268 (Github Issue)
5 years ago
Dan Arnfield
f076bd2474
Update riot-web (1.3.5 -> 1.3.6)
5 years ago
Slavi Pantaleev
39ae7959bd
Upgrade Telegram bridge (0.6.0 -> 0.6.1)
5 years ago
gusttt
25262fa0e1
Disable docker network tasks in check mode to allow running the playbook in check mode (--check --diff)
5 years ago
Aaron Raimist
b930c29bf0
Upgrade riot-web (1.3.3 -> 1.3.5)
5 years ago
Slavi Pantaleev
68ed2ebefa
Add support for Synapse Simple Antispam
...
Fixes #255 (Github Issue).
5 years ago
Slavi Pantaleev
4b1e9a4827
Add support for configuring Synapse spam_checker setting
5 years ago
Slavi Pantaleev
6b8ca70a0b
Upgrade Exim (4.92.1 -> 4.92.2)
5 years ago
Slavi Pantaleev
14e242aec1
Make matrix-mailer exit more gracefully
5 years ago
Slavi Pantaleev
1784bde226
Ensure Postgres data ownership is correct
...
Fixes #257 (Github Issue)
5 years ago
Slavi Pantaleev
a6d51ebe9b
Force-pull Slack Docker image if :latest
5 years ago
Julian Foad
a5eb845a2d
Fix force-pulling of mautrix-whatsapp
5 years ago
Slavi Pantaleev
f2f3d41649
Make matrix-corporal configuration extensible
...
Fixes #70 (Github Issue).
5 years ago
Slavi Pantaleev
2d4e19326d
Add missing when statement
5 years ago
Slavi Pantaleev
0edd7e8089
Make Riot-web configuration extensible
...
Fixes #71 (Github Issue).
5 years ago
Slavi Pantaleev
c4eebc5355
Add information about community-grouping for the Facebook bridge
5 years ago
Slavi Pantaleev
10a9deba4a
Make Synapse configuration extensible
5 years ago
Slavi Pantaleev
b440d5b73c
Remove some fact definitions during runtime
5 years ago
Slavi Pantaleev
65da600426
Merge branch 'master' into master
5 years ago
Slavi Pantaleev
c8a4d59a81
Merge pull request #251 from Munfred/master
...
Add mautrix-hangouts bridge role and documentation
5 years ago
Slavi Pantaleev
2ef8898421
Add comment
5 years ago
Slavi Pantaleev
97fb71d98c
Change privilege level
5 years ago
Slavi Pantaleev
1bcbc4a9ba
Update matrix-corporal (1.4.0 -> 1.5.0)
5 years ago
Slavi Pantaleev
2efcf11ee8
Remove some whitespace
5 years ago
Dan Arnfield
1ce3526bf2
Update riot-web (1.3.2 -> 1.3.3)
5 years ago
Dan Arnfield
42ea3cb0e1
Update synapse (1.3.0 -> 1.3.1)
5 years ago
Slavi Pantaleev
db57618abd
Update nginx and certbot
5 years ago
Slavi Pantaleev
1b2191a0f1
Add new Synapse configuration options (since 1.3.0)
...
Continuation of #246 (Github Pull Request)
5 years ago
Dan Arnfield
7b5e633776
Update synapse (1.2.1 -> 1.3.0)
5 years ago
Slavi Pantaleev
a1afafeb35
Upgrade mxisd (1.4.5 -> 1.4.6)
5 years ago
Slavi Pantaleev
59d807fca7
Ensure auth.clientID is passed as string in Discord configuration
...
Discord client IDs are numeric (e.g. 12345).
Passing them as integers however, causes the Discord bridge's YAML parser
to parse them as integers and its config schema validation will fail.
Fixes #240 (Github Issue)
5 years ago
Dan Arnfield
dc11704c11
Bump postgres versions (11.5, 10.10, 9.6.15)
5 years ago
Slavi Pantaleev
910ffb481c
Update email2matrix (1.0 -> 1.0.1)
5 years ago
Slavi Pantaleev
99f5baa7bb
Fix undefined variable error (matrix_synapse_id_servers_public)
...
This only gets triggered if:
- the Synapse role is used standalone and the default values are used
- the whole playbook is used, with `matrix_mxisd_enabled: false`
5 years ago
Slavi Pantaleev
5b736c416b
Merge pull request #236 from oleg-fiksel/guest-access
...
Added possibility to enable guest access on synapse
5 years ago
Oleg Fiksel
43628ddad6
Added "|to_json" to ensure we really pass a boolean
5 years ago
Oleg Fiksel
f713bbe0f8
Added possibility to enable guest access on synapse
5 years ago
Slavi Pantaleev
3e57a1463a
Serve nginx status page over HTTPS as well
...
Continuation of #234 (Github Pull Request).
I had unintentionally updated the documentation for the feature,
saying the page is available at `https://matrix.DOMAIN/nginx_status `.
Looks like it wasn't the case, going against my expectations.
I'm correcting this with this patch.
The status page is being made available on both HTTP and HTTPS.
Serving over HTTP is likely necessary for services like
Longview
(https://www.linode.com/docs/platform/longview/longview-app-for-nginx/ )
5 years ago
p5t2vspoqqw
c32a3e3204
correct defaults
5 years ago
p5t2vspoqqw
4b8190dc3f
serve status page for matrix.DOMAIN only
5 years ago
p5t2vspoqqw
281f2ee519
Merge branch 'master' of https://github.com/spantaleev/matrix-docker-ansible-deploy
5 years ago
Dan Arnfield
dc71457132
Update riot-web (1.3.0 -> 1.3.2)
5 years ago
microchipster
122c3f1ec0
sync more chats in hangouts, switch to admin mode
5 years ago
microchipster
1e8d593f7a
fix hangout displayname bug
5 years ago
microchipster
75785a0734
fix login url
5 years ago
microchipster
74d9eb1ec0
fix incorrect nginx proxy entry for hangouts bridge
5 years ago
microchipster
754c475338
matrix-hangouts/login instead of just /login
5 years ago
microchipster
95750c1bc7
attempt to inject nginx config for hangouts bridge
5 years ago
microchipster
264704a29e
absorb Munfred changes
5 years ago
Eduardo Beltrame
c1aea7c3fc
Update validate_config.yml
5 years ago
Eduardo Beltrame
85c7e9eb09
Update validate_config.yml
5 years ago
Eduardo Beltrame
0a9ce65d3b
Update validate_config.yml
5 years ago
Eduardo Beltrame
ad682f2180
Update main.yml
5 years ago
Eduardo Beltrame
ef9f6efd12
Update main.yml
5 years ago
Eduardo Beltrame
451d84a981
Update main.yml
5 years ago
Eduardo Beltrame
da6d2e5621
Update main.yml
5 years ago
Eduardo Beltrame
bc1c30168c
remove login block -- wrong file
5 years ago
Eduardo Beltrame
c71cef3f70
Add hangouts /login in the right place
5 years ago
Eduardo Beltrame
b0f203b2ec
Update main.yml
5 years ago
Eduardo Beltrame
ab6e808bc6
fix /login for mautrix-hangouts bridge
5 years ago
Eduardo Beltrame
4528e6402b
add Publicly accessible base URL for the login endpoints.
...
# Auth server config
auth:
# Publicly accessible base URL for the login endpoints.
# The prefix below is not implicitly added. This URL and all subpaths should be proxied
# or otherwise pointed to the appservice's webserver to the path specified below (prefix).
# This path should usually include a trailing slash.
public: http://example.com/login/
# Internal prefix in the appservice web server for the login endpoints.
prefix: /login
5 years ago
Eduardo Beltrame
2d3fc98d18
Update main.yml
5 years ago
microchipster
a16347789d
nginx settings for hangouts bridge login
5 years ago
microchipster
0585889d5a
add hangouts bridge by copying facebook bridge and find-replacing
5 years ago
Slavi Pantaleev
4be35822dd
Add Email2Matrix support
5 years ago
p5t2vspoqqw
51d5741bb3
Merge branch 'master' of https://github.com/spantaleev/matrix-docker-ansible-deploy
5 years ago
Slavi Pantaleev
6fe4bafc2a
Decrease default Synapse logging level
...
Also discussed previously in #213 (Github Pull Request).
shared-secret-auth and rest-auth logging is still at `INFO`
intentionally, as user login events seem more important to keep.
Those modules typically don't spam as much.
5 years ago
Slavi Pantaleev
6fc779dc83
Ensure matrix_ssl_retrieval_method value is valid
...
We recently had someone in the support room who set it to `false`
and the playbook ran without any issues.
This currently seems to yield the same result as 'none', but it's
better to avoid such behavior.
5 years ago
Slavi Pantaleev
c40d28a0dc
Relocate user-store.db/room-store.db when migrating Discord bridge files
...
Refer to 524436ebef
and #230 (Github Issue).
5 years ago
Slavi Pantaleev
524436ebef
Add missing required parameters for Discord bridge
...
Fixes #230 (Github Issue).
Related to https://github.com/Half-Shot/matrix-appservice-discord/issues/510
5 years ago
Slavi Pantaleev
18f6b29372
Bump matrix-mailer / exim release (4.92.1-r0-0 -> 4.92.1-r0-1)
...
It adds support for a new `DISABLE_SENDER_VERIFICATION` environment
variable that can be used to disable verification of sender addresses.
It doesn't matter for us, but we upgrade to keep up with latest.
5 years ago
Slavi Pantaleev
0e3b73a612
Upgrade matrix-mailer / exim (4.92 -> 4.92.1)
5 years ago
Slavi Pantaleev
d543780e42
Use mautrix-telegram Docker image from new official registry
5 years ago
Slavi Pantaleev
53ab66eef8
Use mautrix-whatsapp Docker image from new official registry
5 years ago
Slavi Pantaleev
82bb55ae7a
Use new default port config for mautrix-facebook
5 years ago
Slavi Pantaleev
b0162d6f75
Use mautrix-facebook Docker image from new official registry
5 years ago
kingoftheconnors
177ec295b4
Fixed matrix-appservice-slack docker command problems
5 years ago
kingoftheconnors
49766c5dac
Added Slack role
5 years ago
Dan Arnfield
de6c1c99b2
Fix apt message: docker doesn't support arch 'i386'
5 years ago
Slavi Pantaleev
bd99dd05b4
Upgrade Synapse (1.2.0 -> 1.2.1)
5 years ago
Slavi Pantaleev
255b67a0ce
Update homeserver.yaml with new options from Synapse v1.2.0
...
Related to #223 (Github Pull Request)
5 years ago
Dan Arnfield
0e54515c9d
Update synapse (1.1.0 -> 1.2.0)
5 years ago
Dan Arnfield
9296dfd094
Update nginx (1.17.1 -> 1.17.2)
5 years ago
Lyubomir Popov
5e104e6667
Upgrade riot-web (1.2.4 - 1.3.0)
5 years ago
p5t2vspoqqw
fde8615d4e
Merge branch 'master' of https://github.com/spantaleev/matrix-docker-ansible-deploy
5 years ago
Slavi Pantaleev
479a5137ca
Merge pull request #218 from RedooNetworks/master
...
introduce configuration to change riot branding / title
5 years ago
Stefan Warnat
2d24779583
remove newline
5 years ago
Stefan Warnat
2706ca9586
add configuration to change Riot.im branding
5 years ago
p5t2vspoqqw
5054fff88b
Merge branch 'master' of https://github.com/spantaleev/matrix-docker-ansible-deploy
5 years ago
Slavi Pantaleev
3a8ed2dd81
Upgrade riot-web (1.2.3 -> 1.2.4)
5 years ago
Slavi Pantaleev
5a6c546d87
Upgrade Telegram bridge (0.5.2 -> 0.6.0)
5 years ago
Slavi Pantaleev
87e3650327
Ensure Discord client id is passed as a string
...
Looks like these client ids are actually integers,
but unless we pass them as a string, the bridge would complain with
an error like:
{"field":"data.auth.clientID","message":"is the wrong type","value":123456789012345678,"type":"string","schemaPath":["properties","auth","properties","clientID"]}
Explicitly-casting to a string should fix the problem.
The Discord bridge should probably be improved to handle both ints and
strings though.
5 years ago
Slavi Pantaleev
277a6eb7da
Merge pull request #215 from danbob/update-riot-web
...
Update to riot 1.2.3
5 years ago
Dan Arnfield
b087d06f1e
Update to riot 1.2.3
5 years ago
Slavi Pantaleev
1316d36f8b
Fix deprecation warning (using cron module without name)
5 years ago
Slavi Pantaleev
9d07aaefbf
Fix passkey.pem permissions breaking IRC bridge
...
Regression since 174a6fcd1b
, #204 (Github Pull Request),
which only affects new servers.
Old servers which had their passkey.pem file relocated were okay.
5 years ago
Slavi Pantaleev
0ca21d80d7
Add Synapse Maintenance docs and synapse-janitor integration
5 years ago
Slavi Pantaleev
631a14bf0c
Rename run control variables for consistency
5 years ago
Slavi Pantaleev
e805044b80
Delete scripts when uninstalling Postgres
5 years ago
p5t2vspoqqw
d88e261150
Merge branch 'master' of https://github.com/spantaleev/matrix-docker-ansible-deploy
5 years ago
Dan Arnfield
f83bbf8525
Bump nginx version
5 years ago
Slavi Pantaleev
17cd52ced6
Make Synapse log messages a bit prettier
...
ef5e4ad061
intentionally makes us conform to
the logging format suggested by the official Docker image.
Reverting this part, because it's uglier.
This likely should be fixed upstream as well though.
5 years ago
Slavi Pantaleev
ef5e4ad061
Make Synapse not log to text files
...
Somewhat related to #213 (Github Pull Request).
We've been moving in the opposite direction for quite a long time.
All services should just leave logging to systemd's journald.
5 years ago
Slavi Pantaleev
b84139088c
Fix password providers not working on Synapse v1.1.0
...
Fixes a regression introduced during the upgrade to
Synapse v1.1.0 (in 2b3865ceea
).
Since Synapse v1.1.0 upgraded to Python 3.7
(https://github.com/matrix-org/synapse/pull/5546 ),
we need to use a different modules directory when mounting
password provider modules.
5 years ago
Slavi Pantaleev
73158e6c2f
Fix unintentionally inverted boolean
...
Fixes a problem introduced by da6edc9cba
.
Related to #145 (Github Pull Request).
5 years ago
Slavi Pantaleev
da6edc9cba
Add support for disabling Synapse's local database for user auth
...
This is a new feature of Synapse v1.1.0.
Discussed in #145 (Github Pull Request).
5 years ago
Slavi Pantaleev
2b3865ceea
Upgrade Synapse (1.0.0 -> 1.1.0)
5 years ago
p5t2vspoqqw
9874c3df90
Merge branch 'master' of https://github.com/spantaleev/matrix-docker-ansible-deploy
5 years ago
Slavi Pantaleev
8529efcd1c
Make Discord bridge configuration playbook-managed
...
Well, `config.yaml` has been playbook-managed for a long time.
It's now extended to match the default sample config of the Discord
bridge.
With this patch, we also make `registration.yaml` playbook-managed,
which leads us to consistency with all other bridges.
Along with that, we introduce `./config` and `./data` separation,
like we do for the other bridges.
5 years ago
Slavi Pantaleev
918526c5fe
Update riot-web (1.2.1 -> 1.2.2)
5 years ago
Dan Arnfield
1eaa7b6967
Update postgres versions to latest
5 years ago
Dan Arnfield
ae3a1bb148
Update nginx to 1.17.0
5 years ago
Slavi Pantaleev
37c8b96d06
Use stricter regex in bridges' registration.yaml
...
I've been thinking of doing before, but haven't.
Now that the Whatsapp bridge does it (since 4797469383
),
it makes sense to do it for all other bridges as well.
(Except for the IRC bridge - that one manages most of registration.yaml by itself)
5 years ago
Slavi Pantaleev
c876a7df1d
Use |regex_escape in Whatsapp registration.yaml
...
Doesn't matter much, but it makes it consistent with the other bridges.
5 years ago
Slavi Pantaleev
3ff57ed74d
Use container network for communication between homeserver and Whatsapp bridge
5 years ago
Slavi Pantaleev
6e26d286af
Merge pull request #207 from tommes0815/whatsapp-config-playbook-managed
...
Whatsapp config playbook managed
5 years ago
Slavi Pantaleev
62509e4849
Fix indentation consistency
5 years ago
Thomas Kuehne
4797469383
Make WhatsApp bridge configuration playbook-managed
...
- following spantaleev transition of the telegram brigde
- adding a validate_config task
6 years ago
Lee Verberne
9195ef4c07
Disable appservice-irc log files
...
appservice-irc doesn't have permission to create files in its project
directory and the intention is to log to the console, anyway. By
commenting out the file names, appservice-irc won't attempt to open the
files.
6 years ago
p5t2vspoqqw
466b35b1b6
Merge branch 'master' of https://github.com/spantaleev/matrix-docker-ansible-deploy
6 years ago
Slavi Pantaleev
174a6fcd1b
Make IRC bridge configuration entirely managed by the playbook
6 years ago
Slavi Pantaleev
668f98a2d3
Escape domain in bridge registration regex
6 years ago
Slavi Pantaleev
380714d290
Talk to Telegram bridge over container network
6 years ago
Slavi Pantaleev
f994e40bb7
Extend IRC bridge configuration with some additional options
6 years ago
Slavi Pantaleev
6b023d09d4
Use container network address for communication between IRC bridge and homeserver
...
This means we need to explicitly specify a `media_url` now,
because without it, `url` would be used for building public URLs to
files/images. That doesn't work when `url` is not a public URL.
6 years ago
Slavi Pantaleev
169b09f0ed
Fix token mismatch error for the Telegram bridge
...
Regression since 4e8543ce21
6 years ago
Slavi Pantaleev
4e8543ce21
Make Telegram bridge configuration playbook-managed
6 years ago
Slavi Pantaleev
2902b53267
Minor fixes for consistency
6 years ago
Slavi Pantaleev
00383a73ac
Make running --tags=setup-synapse only not fail to register bridges
...
Until now, if `--tags=setup-synapse` was used, bridge tasks would not
run and bridges would fail to register with the `matrix-synapse` role.
This means that Synapse's configuration would be generated with an empty
list of appservices (`app_service_config_files: []`).
.. and then bridges would fail, because Synapse would not be aware of
there being any bridges.
From now on, bridges always run their init tasks and always register
with Synapse.
For the Telegram bridge, the same applies to registering with
matrix-nginx-proxy. Previously, running `--tags=setup-nginx-proxy` would
get rid of the Telegram endpoint configuration for the same reason.
Not anymore.
6 years ago
Slavi Pantaleev
d8a4007220
Upgrade exim (4.91 -> 4.92)
...
Note: https://www.us-cert.gov/ncas/current-activity/2019/06/13/Exim-Releases-Security-Patches
That said, I don't believe we've been affected.
Not in a bad way at least, because:
- we run exim as non-root and capabilities dropped
- we run exim in a private Docker network with known trusted relayers
(Synapse and mxisd)
6 years ago
Slavi Pantaleev
3956b300ed
Disable riot-web's welcome bot
...
I've not found this welcome bot to work at all in my previous attempts.
It would simply not reply, even though federation works.
It seems like this is also a potential privacy issue, as per
https://gist.github.com/maxidorius/5736fd09c9194b7a6dc03b6b8d7220d0
6 years ago
Slavi Pantaleev
2e16257e50
Do not ask for _matrix._tcp SRV records anymore
...
With most people on Synapse v0.99+ and Synapse v1.0 now available,
we should no longer try to be backward compatible with Synapse 0.34,
because this just complicates the instructions for no good reason.
6 years ago
p5t2vspoqqw
8fcdac3738
Merge branch 'master' of https://github.com/spantaleev/matrix-docker-ansible-deploy
6 years ago
Slavi Pantaleev
d8afb241ca
Merge pull request #201 from aaronraimist/default-room-version
...
Allow default room version to be configured
6 years ago
Slavi Pantaleev
f4574961c7
Prevent double-quotes around default room version
...
Using `|to_json` on a string is expected to correctly wrap it in quotes (e.g. `"4"`).
Wrapping it explicitly in double-quotes results in undesirable double-quoting (`""4""`).
6 years ago
Aaron Raimist
483bdd8c01
Allow default room version to be configured
6 years ago
Aaron Raimist
d262028d82
Upgrade mxisd (1.4.4 -> 1.4.5)
6 years ago
Slavi Pantaleev
e4068e55ee
Upgrade Synapse (0.99.5.2 -> 1.0.0)
6 years ago
Slavi Pantaleev
7d3adc4512
Automatically force-pull :latest images
...
We do use some `:latest` images by default for the following services:
- matrix-dimension
- Goofys (in the matrix-synapse role)
- matrix-bridge-appservice-irc
- matrix-bridge-appservice-discord
- matrix-bridge-mautrix-facebook
- matrix-bridge-mautrix-whatsapp
It's terribly unfortunate that those software projects don't release
anything other than `:latest`, but that's how it is for now.
Updating that software requires that users manually do `docker pull`
on the server. The playbook didn't force-repull images that it already
had.
With this patch, it starts doing so. Any image tagged `:latest` will be
force re-pulled by the playbook every time it's executed.
It should be noted that even though we ask the `docker_image` module to
force-pull, it only reports "changed" when it actually pulls something
new. This is nice, because it lets people know exactly when something
gets updated, as opposed to giving the indication that it's always
updating the images (even though it isn't).
6 years ago
Slavi Pantaleev
4f87f7e43e
Explain matrix_postgres_container_postgres_bind_port a little more
...
Previously, it only mentioned exposing for psql-usage purposes.
Realistically, it can be used for much more. Especially given that
psql can be easily accessed via our matrix-postgres-cli script,
without exposing the container port.
6 years ago
Aaron Raimist
6fce809d10
Add config option to be able to access database outside of container
6 years ago
Aaron Raimist
79f4bcf5be
Enable sentry.io integration
6 years ago
Slavi Pantaleev
44156fe659
Fix Ansible 2.8 deprecation in Dimension role
6 years ago
Slavi Pantaleev
3567d9adba
Fix typo
6 years ago
Slavi Pantaleev
a9953dd641
Make Facebook/Telegram bridges not log to files
...
We log to journald anyway. There's no need for double-logging.
It should not that matrix-synapse logs to journald and to files,
but that's likely to change in the future as well.
Because Synapse's logs are insanely verbose right now (and may get
dropped by journald), it's more reliable to have file-logging too.
As Synapse matures and gets more stable, logging should hopefully
get less, we should be able to only use journald and stop writing to
files for it as well.
6 years ago
Slavi Pantaleev
18baeabdf2
Do not create Facebook bridge directories with recurse: true
...
I'm not sure what I had in mind when I added this earlier,
but I think we'd better go without it.
6 years ago
Slavi Pantaleev
bf446b6e15
Fix double mv command
6 years ago
Slavi Pantaleev
172b0fa88c
Separate Facebook bridge configuration and data
...
Using a separate directory allows easier backups
(only need to back up the Ansible playbook configuration and the
bridge's `./data` directory).
The playbook takes care of migrating an existing database file
from the base directory into the `./data` directory.
In the future, we can also mount the configuration read-only,
to ensure the bridge won't touch it.
For now, mautrix-facebook is keen on rebuilding the `config.yaml`
file on startup though, so this will have to wait.
6 years ago
Slavi Pantaleev
330648a3e0
Make Facebook bridge configuration playbook-managed
...
Related to #193 , but for the Facebook bridge.
(other bridges can be changed to do the same later).
This patch makes the bridge configuration entirely managed by the
Ansible playbook. The bridge's `config.yaml` and `registration.yaml`
configuration files are regenerated every time the playbook runs.
This allows us to apply updates to those files and to avoid
people having to manage the configuration files manually on the server.
-------------------------------------------------------------
A deficiency of the current approach to dumping YAML configuration in
`config.yaml` is that we strip all comments from it.
Later on, when the bridge actually starts, it will load and redump
(this time with comments), which will make the `config.yaml` file
change.
Subsequent playbook runs will report "changed" for the
"Ensure mautrix-facebook config.yaml installed" task, which is a little
strange.
We might wish to improve this in the future, if possible.
Still, it's better to have a (usually) somewhat meaningless "changed"
task than to what we had -- never rebuilding the configuration.
6 years ago
Slavi Pantaleev
d6d6c152a3
Delay bridge startup to ensure Synapse is up
...
Bridges start matrix-synapse.service as a dependency, but
Synapse is sometimes slow to start, while bridges are quick to
hit it and die (if unavailable).
They'll auto-restart later, but .. this still breaks `--tags=start`,
which doesn't wait long enough for such a restart to happen.
This attempts to slow down bridge startup enough to ensure Synapse
is up and no failures happen at all.
6 years ago
Slavi Pantaleev
328d981b05
Fix undefined variables in mxisd and Dimension configuration
6 years ago
p5t2vspoqqw
0e9953f1ef
Merge branch 'master' of https://github.com/spantaleev/matrix-docker-ansible-deploy
6 years ago
Slavi Pantaleev
99086f90e8
Upgrade riot-web (1.2.0 -> 1.2.1)
6 years ago
p5t2vspoqqw
4b657b3822
Merge branch 'master' of https://github.com/spantaleev/matrix-docker-ansible-deploy
6 years ago
kingoftheconnors
c06b47af77
Fixed error message to direct users to the right debug command
6 years ago
Slavi Pantaleev
3bc8aa0a82
Upgrade Synapse (0.99.5.1 -> 0.99.5.2)
6 years ago
Slavi Pantaleev
35892286a1
Upgrade mxisd (1.4.3 -> 1.4.4)
6 years ago
Slavi Pantaleev
2982b03809
Explicitly serialize matrix_synapse_app_service_config_files
...
Attempt to fix #192 (Github Issue), potential regression since
70487061f4
.
Serializing as JSON/YAML explicitly is much better than relying on
magic (well, Python serialization being valid YAML..).
It seems like Python may prefix strings with `u` sometimes (Python 3?),
which causes Python serialization to not be compatible with YAML.
6 years ago
Slavi Pantaleev
f1c124331f
Upgrade riot-web (1.1.2 -> 1.2.0)
6 years ago
Slavi Pantaleev
70487061f4
Prefer --mount instead of -v for mounting volumes
...
This doesn't replace all usage of `-v`, but it's a start.
People sometimes troubleshoot by deleting files (especially bridge
config files). Restarting Synapse with a missing registration.yaml file
for a given bridge, causes the `-v
/something/registration.yaml:/something/registration.yaml:ro` option
to force-create `/something/registration.yaml` as a directory.
When a path that's provided to the `-v` option is missing, Docker
auto-creates that path as a directory.
This causes more breakage and confusion later on.
We'd rather fail, instead of magically creating directories.
Using `--mount`, instead of `-v` is the solution to this.
From Docker's documentation:
> When you use --mount with type=bind, the host-path must refer to an existing path on the host.
> The path will not be created for you and the service will fail with an error if the path does not exist.
6 years ago
Slavi Pantaleev
7d8dde8a53
Add support for proxying /_synapse/admin APIs
...
Fixes #191 (Github Issue).
6 years ago
Slavi Pantaleev
5361d3a412
Fix Telegram bridge proxying config when matrix-nginx-proxy disabled
...
Related to #189 (Github Issue).
People had proxying problems if:
- they used the whole playbook (including the `matrix-nginx-proxy` role)
- and they were disabling the proxy (`matrix_nginx_proxy_enabled: false`)
- and they were proxying with their own nginx server
For them,
`matrix_nginx_proxy_proxy_matrix_additional_server_configuration_blocks`
would not be modified to inject the necessary proxying configuration.
6 years ago
Slavi Pantaleev
7379968a3c
Fix Telegram bridge HTTP proxying when not using matrix-nginx-proxy
...
From what I see, this was never implemented to begin with.
Fixes #189 (Github Issue).
6 years ago
Slavi Pantaleev
120abaf391
Upgrade Telegram bridge (0.5.1 -> 0.5.2)
6 years ago
Slavi Pantaleev
ab59cc50bd
Add support for more flexible container port exposing
...
Fixes #171 (Github Issue).
6 years ago
Slavi Pantaleev
be2812bc8f
Remove unnecessary variables
...
Continuation of 54a281a425
.
Related to #188 (Github Pull Request).
6 years ago
Jason Locklin
54a281a425
Config validation not required
...
Validate_config was copied from the telegram bridge code, but doesn't
apply to the facebook bridge.
6 years ago
p5t2vspoqqw
0cfa73f153
Merge branch 'master' of https://github.com/spantaleev/matrix-docker-ansible-deploy
6 years ago
Slavi Pantaleev
a8b633561d
Upgrade Synapse (v0.99.4 -> v0.99.5.1)
6 years ago
Dan Arnfield
9c23d877fe
Fix docker_image option for ansible < 2.8
6 years ago
Dan Arnfield
fa38c84be2
Fix casting int to string warning
6 years ago
Dan Arnfield
db15791819
Add source option to docker_image to fix deprecation warning
6 years ago
Dan Arnfield
3982f114af
Fix CONDITIONAL_BARE_VARS deprecation warning in ansible 2.8
6 years ago
Slavi Pantaleev
affb99003c
Improve Synapse variable naming consistency
6 years ago
Slavi Pantaleev
5c821b581a
Check fullchain.pem, not cert.pem
...
While using certbot means we'll have both files retrieved,
it's actually the fullchain.pem file that we use in nginx configuration.
Using that one for the check makes more sense.
6 years ago
Slavi Pantaleev
3250df6765
Make bridge uninstallation stop services
...
Fixes #155 (Github Issue)
6 years ago
Slavi Pantaleev
a1e9818356
Update comment
6 years ago
Slavi Pantaleev
3ece9375c6
Merge pull request #179 from spantaleev/separate-bridge-roles
...
Move bridges into separate roles
6 years ago
Slavi Pantaleev
fc7ba153b1
Make matrix-synapse role respect matrix_synapse_enabled flag
6 years ago
Slavi Pantaleev
8d654aecdd
Improve file naming consistency
6 years ago
Stuart Mumford
a4bcd7ce8f
Add a variable to control the stop tasks
6 years ago
Slavi Pantaleev
e3b4622ac8
Split Synapse extension tasks into install/uninstall files
6 years ago
Slavi Pantaleev
663d1add92
Move matrix-appservice-discord into a separate role
6 years ago
Slavi Pantaleev
13c4e7e5b6
Merge branch 'master' into separate-bridge-roles
6 years ago
Slavi Pantaleev
ae7c8d1524
Use SyslogIdentifier to improve logging
...
Reasoning is the same as for matrix-org/synapse#5023 .
For us, the journal used to contain `docker` for all services, which
is not very helpful when looking at them all together (`journalctl -f`).
6 years ago
Slavi Pantaleev
cf3117011b
Upgrade Synapse (0.99.3.2 -> 0.99.4)
6 years ago
Slavi Pantaleev
6db10ed6f3
Upgrade riot-web (1.1.1 -> 1.1.2)
6 years ago
Slavi Pantaleev
3339e37ce9
Move matrix-appservice-irc into a separate role
6 years ago
Slavi Pantaleev
854cf84aa3
Upgrade riot-web (1.1.0 -> 1.1.1)
6 years ago
Slavi Pantaleev
47745254f9
Merge pull request #180 from eMPee584/fix-commented-mxisd-ldap-option
...
Fix case of the mxisd ldap.connection.baseDNs option in matrix_mxisd_configuration_extension_yaml comment
6 years ago
Slavi Pantaleev
43fd3cc274
Move mautrix-facebook into a separate role
6 years ago
Marcel Partap
5aa7f637d8
Fix matrix_synapse_ext_password_provider_ldap_start_tls (it's boolean)
6 years ago
Marcel Partap
25d3b315de
Fix case of the mxisd ldap.connection.baseDNs option in comment
6 years ago
Slavi Pantaleev
bb816df557
Move mautrix telegram and whatsapp into separate roles
...
The goal is to move each bridge into its own separate role.
This commit starts off the work on this with 2 bridges:
- mautrix-telegram
- mautrix-whatsapp
Each bridge's role (including these 2) is meant to:
- depend only on the matrix-base role
- integrate nicely with the matrix-synapse role (if available)
- integrate nicely with the matrix-nginx-proxy role (if available and if
required). mautrix-telegram bridge benefits from integrating with
it.
- not break if matrix-synapse or matrix-nginx-proxy are not used at all
This has been provoked by #174 (Github Issue).
6 years ago
Marcel Partap
d114736014
Add a task to stop services (and remove containers)
6 years ago
Slavi Pantaleev
873c291be6
Fix appservice-discord configuration-extension merging
6 years ago
Slavi Pantaleev
953ae021ba
Upgrade mxisd (1.4.2 -> 1.4.3)
6 years ago
Dan Arnfield
6163ba5bb1
Bump postgres versions
6 years ago
inthewaves
51e408bc94
Bump riot-web version (1.0.8->1.1.0)
6 years ago
p5t2vspoqqw
4315b472af
Merge branch 'master' of https://github.com/spantaleev/matrix-docker-ansible-deploy
6 years ago
Slavi Pantaleev
216cdf8c74
Merge pull request #166 from izissise/mautrix-facebook
...
Mautrix facebook
6 years ago
Slavi Pantaleev
565236a49c
Merge pull request #168 from danbob/nginx-proxy-3pid-registration
...
Add option to proxy 3pid registration endpoints
6 years ago
Dan Arnfield
171c6db41e
Add option to proxy 3pid registration endpoints
6 years ago
Dan Arnfield
958ad68078
Add registrations_require_3pid synapse option
6 years ago
Hugues Morisset
a82d5ed281
Add tulir mautrix-facebook ( https://github.com/tulir/mautrix-facebook )
6 years ago
Slavi Pantaleev
5f2f17cb1e
Merge pull request #160 from danbob/fix-matrix-mxisd-config
...
Fix template indentation
6 years ago
Hugues De Keyzer
c451025134
Fix indentation in templates
...
Use Jinja2 lstrip_blocks option in templates to ensure consistent
indentation in generated files.
6 years ago
Dan Arnfield
3abed49764
Fix jinja config for indented code blocks
6 years ago
Dan Arnfield
07e7d518d5
Revert "Fix template indentation"
...
This reverts commit 172d59ba05
.
6 years ago
Slavi Pantaleev
0e7310fd7c
Merge pull request #164 from TheLastProject/fix/string_before_to_json
...
string before to_json when string value is expected
6 years ago
Sylvia van Os
9ea593df37
Fix incorrect casts
6 years ago