Aine
2da3768b20
Added retries to the docker pulls ( #1701 )
3 years ago
Jim Myhrberg
eeca3c8dca
fix: avoid yaml being wrapped at column 80 via to_nice_yaml
...
The `to_nice_yaml` helper will by default wrap any string YAML values on
the first space after column 80. This can in worst case yield invalid
YAML syntax. More details in Ansible's documentation here:
https://docs.ansible.com/ansible/latest/user_guide/playbooks_filters.html#formatting-data-yaml-and-json
In short, you need to explicitly provide a custom width argument of a
high number of some kind to avoid the line wrapping.
3 years ago
László Várady
ebfa511515
synapse: do not expose plain federation port when it's disabled
...
matrix_synapse_federation_port_enabled can be disabled by users, for
example, when one wants to use the same port for client and federation
requests (docs/configuring-playbook-federation.md).
3 years ago
Slavi Pantaleev
a05bcc98b0
Upgrade Synapse (1.53.0 -> 1.54.0)
3 years ago
Wm Salt Hale
46f74c3ac0
Merge branch 'spantaleev:master' into default_room_version_9
3 years ago
Slavi Pantaleev
ef7acce94b
Upgrade Synapse (1.52.0 -> 1.53.0)
3 years ago
Slavi Pantaleev
cfba9b2cf5
Update matrix_encryption_disabler (patch_power_levels feature)
...
Related to:
- https://github.com/digitalentity/matrix_encryption_disabler/pull/4
- https://github.com/digitalentity/matrix_encryption_disabler/issues/5
- https://github.com/digitalentity/matrix_encryption_disabler/pull/6
3 years ago
Slavi Pantaleev
5eeb0156b1
Bump matrix_encryption_disabler "version"
3 years ago
Slavi Pantaleev
f44ca0c7c2
Add support for matrix_encryption_disabler
...
Related to https://github.com/matrix-org/synapse/issues/4401
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1621
3 years ago
Slavi Pantaleev
85c66a944f
Remove useless cast
3 years ago
Slavi Pantaleev
5a69c899a3
Upgrade matrix-synapse-shared-secret-auth (1.0.2 -> 2.0.2)
...
For now, we disable the new `com.devture.shared_secret_auth` login type
by default, because it causes problems with Element:
https://github.com/vector-im/element-web/issues/19605
This also becomes the first module to use the new Synapse module system
that got introduced in Synapse v1.46.0.
Despite these upgrades, things should remain functionally identical
as far as bridges, matrix-corporal or other consumers are concerned.
3 years ago
Slavi Pantaleev
e0df99a7de
Fix typo
3 years ago
Slavi Pantaleev
94c9780f7a
Fix matrix_synapse_encryption_enabled_by_default_for_room_type
...
The value of `off` was taken to be a boolean, but it shouldn't be.
Synapse expects a string (currently one of: `all`, `invite`, `off`).
3 years ago
Marko Weltzer
d27e623c71
fix: manually merge upstream
3 years ago
Slavi Pantaleev
5163aa643a
Upgrade Synapse (1.51.0 -> 1.52.0)
...
This also removes the `matrix_synapse_version_arm64` variable we've
been dragging around for a long time.
Since https://github.com/matrix-org/synapse/pull/11810 , a multiarch Synapse
container image (for AMD64 and ARM64) is released at the same time.
3 years ago
Marko Weltzer
819574b8ba
Merge branch 'spantaleev:master' into master
3 years ago
Marko Weltzer
7e5b88c3b7
fix: all praise the allmighty yamllinter
3 years ago
Slavi Pantaleev
86c36523df
Replace ExecStopPost with ExecStop
...
Reverts b1b4ba501f
, 90c9801c56
, a3c84f78ca
, ..
I haven't really traced it (yet), but on some servers, I'm observing
`ansible-playbook ... --tags=start` completing very slowly, waiting
to stop services. I can't reproduce this on all Matrix servers I manage.
I suspect that either the systemd version is to blame or that some
specific service is not responding well to some `docker kill/rm` command.
`ExecStop` seems to work great in all cases and it's what we've been
using for a very long time, so I'm reverting to that.
3 years ago
Slavi Pantaleev
ad082b3b1b
Fix self-building for Synapse v1.51.0 (requires BuildKit)
...
Synapse v1.51.0 requires to be built with BuildKit since
https://github.com/matrix-org/synapse/pull/11691
The `docker_image` Ansible module does not support BuildKit
(https://github.com/ansible-collections/community.general/issues/514 ),
so we had to switch to a `docker build` call.
3 years ago
Slavi Pantaleev
cf46b7fed5
Upgrade Synapse (1.50.2 -> 1.51.0)
3 years ago
Catalan Lover
f59f903c04
Update Synapse from 1.50.1 to 1.50.2
...
Fixes a issue with room version 1.
Merging has to wait until ARM images are built ofc.
3 years ago
Slavi Pantaleev
bcfae766a1
Merge pull request #1567 from aaronraimist/antispam
...
Upgrade synapse-simple-antispam (0.0.3 -> 0.0.7)
3 years ago
Aaron Raimist
ff94d815e1
Upgrade synapse-simple-antispam (0.0.3 -> 0.0.7)
3 years ago
Wm Salt Hale
ad8d4740a7
Merge branch 'spantaleev:master' into default_room_version_9
3 years ago
Slavi Pantaleev
4cd44f117d
Upgrade Synapse (1.50.0 -> 1.50.1)
...
v1.50.0 was found to be buggy for people using a `webclient` listener.
This is fixed in v1.50.1.
We don't use such a listener, so we weren't affected anyway.
3 years ago
Slavi Pantaleev
5f22371c23
Upgrade Synapse (1.49.2 -> 1.50.0)
3 years ago
Slavi Pantaleev
4e4fb98a65
Do not install fuse unless necessary
...
Discussed here: https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1510
3 years ago
Slavi Pantaleev
2bd33e5cf2
Make --tags=register-user work for both Dendrite/Synapse
...
Also get rid of `--tags=update-user-password` in the
`matrix-dendrite` role, as what we had doesn't work.
We may be able to do it with some Ansible helper or something else.
For now, we'll omit this feature.
3 years ago
Slavi Pantaleev
b1b4ba501f
Replace ExecStop with ExecStopPost
...
ExecStopPost should allow us to clean up (docker kill + docker rm)
even if the ExecStart (docker run ..) command failed, and not just after
a graceful service stop was initiated.
Source: https://www.freedesktop.org/software/systemd/man/systemd.service.html#ExecStopPost=
3 years ago
Slavi Pantaleev
280c6c5424
Add |to_json
3 years ago
Alejo Diaz
297ed9ce36
Add encryption_enabled_by_default_for_room_type
...
This commit simply add encryption_enabled_by_default_for_room_type
variable.
Signed-off-by: Alejo Diaz <xlejo@protonmail.com>
3 years ago
Catalan Lover
eb0c332f80
Update Synapse Version from 1.49.1 to 1.49.2
...
This upgrade is technically not needed due to 1.49.1 and 1.49.2 being identical with a lone fix to Debian packaging being the only change.
Still some might want us to be on the absolutely latest version even tho these 2 are practically identical.
ARM64 has yet to be built so this has to wait for that before merge.
3 years ago
Catalan Lover
6c9f6c28de
Update Synapse from 1.49.0 to 1.49.1
...
This update fixes a sync issue that would cause some users to experience sync issues that could cause initial sync to completely fail.
3 years ago
Slavi Pantaleev
01b6bba9d7
Make Synapse's url_preview_accept_language default to 'en-US, en'
...
Related to https://github.com/matrix-org/synapse/issues/11604
Getting an upstream fix is preferable. In any case, it's probably nice
to have this defined explicitly in our configuration. This way, people
can more easily discover that they can override the URL preview
language.
3 years ago
Slavi Pantaleev
4625b34acc
Fix failure trying to stop orphaned systemd services
...
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1461
3 years ago
Wm Salt Hale
3001b2d32d
Merge branch 'spantaleev:master' into default_room_version_9
3 years ago
Slavi Pantaleev
5be1310541
Upgrade Synapse (1.48.0 -> 1.49.0)
3 years ago
SkepticalWaves
bbab82ee64
Fix email sending broken by #1406
3 years ago
Aaron Raimist
0071828503
Run `workers-doc-to-yaml.sh`
...
1472958e25
reverted some of the v3 changes. I'm not sure why. Running the `workers-doc-to-yaml.sh` script now puts them back 🤷♂️ .
3 years ago
Slavi Pantaleev
1472958e25
Upgrade Synapse (1.47.1 -> 1.48.0)
3 years ago
Slavi Pantaleev
6b07ee3b58
Upgrade Synapse (1.47.0 -> 1.47.1) - security fixes
...
Learn more here: https://github.com/matrix-org/synapse/releases/tag/v1.47.1
3 years ago
Slavi Pantaleev
3b27ce2ff6
Merge pull request #1404 from aaronraimist/v3
...
Allow workers to serve new v3 APIs
3 years ago
rakshazi
d41e9230da
expose smtp_user and smtp_pass to ansible configs (role: matrix-synapse)
3 years ago
Slavi Pantaleev
e1a6d1e4b2
Upgrade Synapse (1.46.0 -> 1.47.0)
...
We had to remove UID/GID environment variables that we used to pass
to the Synapse container, because it was causing a problem after
https://github.com/matrix-org/synapse/pull/11209
We were using both `--user` and UID/GID environment variables until now.
3 years ago
Aaron Raimist
f8fe68b385
Allow workers to serve new v3 APIs
...
1f196f59cb
3 years ago
boris runakov
d3a9ec98de
refactoring
3 years ago
boris runakov
1ec67f49b0
replaced 8008 where possible
3 years ago
Slavi Pantaleev
c1bc7b9f93
Rename variables to prevent confusion
...
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1397
and https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1399
3 years ago
Slavi Pantaleev
ba48aa70f7
Fix variable name typo
...
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1397
3 years ago
Slavi Pantaleev
dc4452ac21
Merge branch 'master' into matrix-federation-api-port
3 years ago
Slavi Pantaleev
edf63bfdd7
Add some to_json invocations
3 years ago
boris runakov
8c3e25de1b
renamed var to matrix_synapse_container_federation_api_port
3 years ago
b
07496069c8
rellocating variables for consistency
3 years ago
b
afccc2b11f
make 8448 configurable instead of hard coded
3 years ago
b
7756cc4c8e
replace port 8048 with matrix_synapse_container_default_federation_port
3 years ago
Slavi Pantaleev
735c966ab6
Disable systemd services when stopping to uninstall them
...
Until now, we were leaving services "enabled"
(symlinks in /etc/systemd/system/multi-user.target.wants/).
We clean these up now. Broken symlinks may still exist in older
installations that enabled/disabled services. We're not taking care
to fix these up. It's just a cosmetic defect anyway.
3 years ago
Slavi Pantaleev
7b8b595e81
Upgrade Synapse (1.45.1 -> 1.46.0)
3 years ago
Slavi Pantaleev
5dc2868269
Upgrade Synapse (1.45.0 -> 1.45.1)
3 years ago
Slavi Pantaleev
1dab178a44
Upgrade Synapse (1.44.0 -> 1.45.0)
3 years ago
Wm Salt Hale
a1cbd5459c
Update Synapse default room version (6 -> 9)
...
From the [Synapse 1.43.0 release highlights](https://matrix.org/blog/2021/09/21/synapse-1-43-0-released ):
> Asks clients to prefer [room version 9](https://github.com/matrix-org/matrix-doc/pull/3375 ) when creating restricted rooms ([#10772 ](https://github.com/matrix-org/synapse/issues/10772 )), via the API defined in [MSC3244: room version capabilities](https://github.com/matrix-org/matrix-doc/pull/3244 ).
3 years ago
Slavi Pantaleev
278bbae4d5
Upgrade Synapse (1.43.0 -> 1.44.0)
3 years ago
Slavi Pantaleev
7934cde90f
Upgrade Synapse (1.42.0 -> 1.43.0)
...
Related to:
- https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1287
- https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1288
.. but does it in a more complete way
3 years ago
Slavi Pantaleev
0faad74a44
Upgrade Synapse (1.41.1 -> 1.42.0)
3 years ago
Catalan Lover
777ba6bc5a
Upgrade to Synaspe v 1.41.1 (Security Update)
...
Synapse 1.41.1 Patches 2 exploits that can reveal information about rooms an user is not supposed to have access to information about.
3 years ago
Slavi Pantaleev
a4db9557db
Update homeserver.yaml to match the one in Synapse v1.41.0
...
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1247
3 years ago
Slavi Pantaleev
bb0e59de48
Merge pull request #1250 from wol-win/worker_trial
...
Endpoint changes for Client and media API due to migration to 1.41.0
3 years ago
Wolfgang Winter
ee75d35193
Endpoint changes for Client and media API due to migration to 1.41.0
3 years ago
Catalan Lover
1e070f1e56
Update Synapse from 1.40.0 to 1.41.0
3 years ago
Toni Spets
bce94c5860
Allow configuring synapse database transaction limit
3 years ago
Slavi Pantaleev
05ad620386
Update homeserver.yaml to keep up with Synapse v1.40.0
...
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1225
3 years ago
WobbelTheBear
2469ada520
Update Synapse (1.39.0 -> 1.40.0)
3 years ago
Slavi Pantaleev
179775b92d
Upgrade Synapse (1.38.1 -> 1.39.0)
3 years ago
Slavi Pantaleev
112d8d8243
Upgrade Synapse (1.38.0 -> 1.38.1)
3 years ago
Janar Juusu
c198320f65
feat: update synapse to 1.38.0
3 years ago
Neutron
1ad9bba88f
Skip importing validate_config task when Synapse is disabled
3 years ago
Davy Landman
c9d73c6606
Updating to latest synapse release (performance regression)
...
https://github.com/matrix-org/synapse/releases/tag/v1.37.1
3 years ago
Slavi Pantaleev
3da4b684a5
Upgrade Synapse (1.36.0 -> 1.37.0)
3 years ago
Slavi Pantaleev
3dd32d2512
Update worker endpoints
...
Should have been part of 9daeb39710
4 years ago
Slavi Pantaleev
9daeb39710
Upgrade Synapse (1.35.1 -> 1.36.0)
4 years ago
Slavi Pantaleev
fa76c1ee5b
Do not run self-build Ansible version-check, if component not enabled
...
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1108
4 years ago
Slavi Pantaleev
ab08a4f60e
Upgrade Synapse (1.35.0 -> 1.35.1)
4 years ago
Slavi Pantaleev
b1f1c28ef0
Upgrade Synapse (1.34.0 -> 1.35.0)
4 years ago
pushytoxin
bee14550ab
Fix local/bin scripts autocompletion by adding rx perms to everyone
...
It's mildly annoying when trying to execute these scripts while logged
in as a regular user, as the missing execute permissions will hinder
autocompletion even when trying to use with sudo.
These shell scripts don't contain secrets, but may fail when ran by a
regular user. The failure is due to the lack of access to the /matrix
directory, and does not result in any damage.
4 years ago
Slavi Pantaleev
b3351d2a53
Merge pull request #1083 from haghighi-ahmad/active-directory-support-for-ldap_auth_provider
...
Synapse LDAP auth: add support for Active Directory
4 years ago
Slavi Pantaleev
d61fe94bae
Fix incorrect path in Mjolnir uninstallation tasks
4 years ago
BG
763952395b
Adding mjolnir antispam synapse modul.
4 years ago
Michael-GMH
6f40d78353
fix random edits to upstream
4 years ago
Michael-GMH
85777e8f96
merge with upstream
4 years ago
Ahmad Haghighi
209d59070e
Avoiding if(s), fix #1083
...
Conversation: https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/1083#discussion_r638671860
Signed-off-by: Ahmad Haghighi <haghighi@fedoraproject.org>
4 years ago
Ahmad Haghighi
ee088d5d46
Synapse LDAP auth: add support for Active Directory
...
Signed-off-by: Ahmad Haghighi <haghighi@fedoraproject.org>
4 years ago
Slavi Pantaleev
47b4608b96
Fail in a friendlier way when trying to self-build on Ansible <= 2.8
...
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1070
Related discussion here: 1ab507349c (commitcomment-51108407)
4 years ago
Slavi Pantaleev
1ab507349c
Fix self-building for various components on Ansible < 2.8
...
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1070
4 years ago
Slavi Pantaleev
d156c8caa2
Upgrade Synapse (1.33.2 -> 1.34.0)
4 years ago
sakkiii
8fc55b30c5
Upgrade Synapse (1.33.1 -> 1.33.2)
...
This release fixes a denial of service attack (CVE-2021-29471) against Synapse's push rules implementation. Server admins are encouraged to upgrade.
Ref: https://github.com/matrix-org/synapse/releases/tag/v1.33.2
4 years ago
Michael-GMH
4e6f6e179b
GMH 0.4.6 update
4 years ago
Slavi Pantaleev
61220ea487
Upgrade Synapse (1.33.0 -> 1.33.1)
4 years ago
Slavi Pantaleev
d4d1e2e922
Upgrade Synapse (1.32.2 -> 1.33.0)
4 years ago
Slavi Pantaleev
f6b371164c
Remove useless variable
4 years ago
Slavi Pantaleev
e3fa3e12bc
Upgrade Synapse (1.31 -> 1.32.2)
4 years ago
Slavi Pantaleev
378fabf177
Revert "Upgrade Synapse (1.31 -> 1.32.1)"
...
This reverts commit 1fb54a37cb
.
Seems like it's been pulled or something. It used to exist, but not
anymore. Not sure what's going on.
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1017
Related to
https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/1010
4 years ago