josiah
ee707a2c73
Merge remote-tracking branch 'upstream/master'
6 months ago
Aine
b2dd4bd1a4
Fix matrix_synapse_oidc_providers parsing
8 months ago
Slavi Pantaleev
c0e56ac1c4
Make OIDC providers if check safer
8 months ago
Aine
9167a7734e
add matrix_synapse_oidc_enabled and matrix_synapse_oidc_providers vars
8 months ago
Slavi Pantaleev
217ddad2de
Add support for configuring forgotten_room_retention_period
...
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/2918
Related to https://github.com/matrix-org/synapse/pull/15488
8 months ago
Slavi Pantaleev
e033520ce2
Make Synapse worker systemd service files depend on matrix-synapse.service
...
Many of these do depend on the Synapse master process (`matrix-synapse.service`),
so it makes sense to do it.
Furthermore, we're doing it so that one can stop the `matrix-synapse.service`
service and have systemd cascade this into stopping all the workers as well.
This is useful for easily stopping all of Synapse, so that Postgres
upgrades (`--tags=upgrade-postgres`) can happen cleanly.
Postgres upgrades currently stop `devture_postgres_systemd_services_to_stop_for_maintenance_list` which
includes Synapse, but stopping just the master process and leaving workers running is not safe enough and sometimes leads to errors like:
> ERROR: insert or update on table "event_forward_extremities" violates foreign key constraint "event_forward_extremities_event_id"
With this dependency in place, stopping `matrix-synapse.service` will stop all Synapse processes.
9 months ago
Slavi Pantaleev
d207edb304
Deprecate matrix_synapse_spam_checker in favor of matrix_synapse_modules
9 months ago
Alexis Yushin
ba1d665bd9
make smtp tls configurable / optional
10 months ago
Slavi Pantaleev
c09c1265e8
Stop using deprecated worker settings (worker_replication_host, worker_replication_http_port)
...
Related to:
- e4f545c452
- 2481b7dfa4
We've prepared for this by adding the `main` process to the `instance_map` a long time ago,
in 49cb8b7b11
.
11 months ago
josiah
4bc6419105
Merge remote-tracking branch 'upstream/master'
11 months ago
Zac
f026c7cee1
Apply suggestions from code review
...
Co-authored-by: Slavi Pantaleev <slavi@devture.com>
12 months ago
cbackas
0e701bbece
add var to make the creds optional
12 months ago
Zac
ceda4c41cc
remove the offending lines
12 months ago
josiah
9e8994a5c3
Merge remote-tracking branch 'upstream/master'
12 months ago
Luke D Iremadze
5c0279f0c9
Update roles/custom/matrix-synapse/templates/synapse/homeserver.yaml.j2
...
Co-authored-by: Slavi Pantaleev <slavi@devture.com>
1 year ago
Luke D Iremadze
2f4428bf5b
Update roles/custom/matrix-synapse/templates/synapse/homeserver.yaml.j2
...
Co-authored-by: Slavi Pantaleev <slavi@devture.com>
1 year ago
Luke D Iremadze
1f0da9f744
Create hooks for user search ability
1 year ago
Slavi Pantaleev
c55371e305
Add changelog entry for the forget_rooms_on_leave default change for Synapse
...
Related to:
- https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/2698
- https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/2700
1 year ago
Aine
9350eeb9fb
update synapse 1.83.0 -> 1.84.0; set forget_rooms_on_leave = true
1 year ago
Slavi Pantaleev
b71375fac7
Disable healthcheck for Synapse workers which serve no web traffic
...
This was mostly affecting the stream writer (events) worker, which was
being reported as unhealthy. It wasn't causing any issues, but it just
looked odd and was confusing people.
As an alternative to hitting the regular `/health` healthcheck route (on
the "client" API which this stream writer does not expose),
we may have went for hitting some "replication" API endpoint instead.
This is more complicated and likely unnecessary.
1 year ago
Slavi Pantaleev
1e1ab70965
Make use of matrix_synapse_container_network in the matrix-synapse role
...
It's the same as `matrix_docker_network` for now, so this practically
doesn't change anything.
1 year ago
spatterlight
beb40134b7
Add support for backup LDAP servers ( #2650 )
...
* Update homeserver.yaml.j2
* Update configuring-playbook-ldap-auth.md
* Update homeserver.yaml.j2
1 year ago
Kanlas
9c75a1e20d
Fix recaptcha vars ansible-vault compatibility
1 year ago
Aeris One
44aa0dce7b
Add ability to disable password auth ( #2612 )
...
* Add ability to disable password auth
* Allow disabling password authentication
1 year ago
Slavi Pantaleev
643acfcb5b
Make synapse-s3-storage-provider periodic migration schedule customizable
...
Larger deployments may wish to run migration more often.
1 year ago
Slavi Pantaleev
5df89a44b3
Add support for customizing Synapse templates
1 year ago
Slavi Pantaleev
9775218850
Add matrix_synapse_email_app_name variable
1 year ago
Slavi Pantaleev
632026513e
Add matrix_synapse_uid, matrix_synapse_gid and matrix_synapse_username
1 year ago
Slavi Pantaleev
519b32543c
Add matrix_synapse_container_network and matrix_synapse_container_additional_networks
1 year ago
Slavi Pantaleev
2d7d5d4bab
Use new security-opt syntax (: -> =)
...
Related to https://docs.docker.com/engine/deprecated/#separator--of---security-opt-flag-on-docker-run
1 year ago
Slavi Pantaleev
d2416365d2
Merge pull request #2220 from xangelix/synapse-s3-sse-c
...
Add S3 SSE-C config support for synapse-s3-storage-provider
1 year ago
Slavi Pantaleev
f0d1e23c9d
Move around whitelines
1 year ago
Cody Wyatt Neiman
fc9eaa6ec5
Remove git version for s3 storage provider
1 year ago
Aine
6bd909bbb7
add mode var for synapse ext ldap auth
1 year ago
Cody Wyatt Neiman
7e5e1712f5
Encode s3 sse-c key for utf-8
1 year ago
Cody Wyatt Neiman
f5390562ed
Fix synapse s3 storage provider container indentation
1 year ago
josiah
c28cff6f36
Merge remote-tracking branch 'upstream/master'
1 year ago
Cody Wyatt Neiman
6d96bcee1d
Allow 'git' as a version for s3 storage provider
1 year ago
Cody Wyatt Neiman
4d44f7b49e
Use base64 encoded string for sse-c key
1 year ago
Cody Wyatt Neiman
4c60b1dabf
Merge branch 'master' into synapse-s3-sse-c
1 year ago
Slavi Pantaleev
40aa42e982
Add reference to push.enabled to homeserver.yaml
...
Related to:
- https://github.com/matrix-org/synapse/pull/14551/files
- https://github.com/matrix-org/synapse/pull/14619/files
1 year ago
Slavi Pantaleev
9edc7da67d
Do not specify now-unnecessary worker_main_http_uri Synapse worker setting
...
Related to
- c15e9a0edb
- 01a0527892
2 years ago
Slavi Pantaleev
663fe29ddb
Do not specify start_pushers in Synapse config
...
It's unnecessary when `pusher_instances` is populated.
Source: 6acb6d772a
2 years ago
Slavi Pantaleev
135bb5af3e
Do not specify send_federation in Synapse config
...
It's unnecessary when `federation_sender_instances` is populated.
Source: 6acb6d772a
2 years ago
Slavi Pantaleev
7464604ddd
Make use of matrix_synapse_ext_s3_storage_provider_data_path in a few more places
2 years ago
Slavi Pantaleev
7c5c3aedc4
Put s3-storage-provider scripts under /matrix/synapse/ext/s3-storage-provider/bin, not /usr/local/bin
2 years ago
Slavi Pantaleev
735e7355a5
Rename variable (matrix_synapse_ext_s3_storage_provider_path -> matrix_synapse_ext_s3_storage_provider_base_path)
2 years ago
Slavi Pantaleev
72744f9db9
/usr/local/bin/matrix-synapse-register-user -> /matrix/synapse/bin/register-user
2 years ago
Cody Wyatt Neiman
b6bb5731cd
Remove leftover sse-c enabled cmd check
2 years ago
Cody Wyatt Neiman
a7320e02ff
Adjust sse-c template formatting
2 years ago