Catalan Lover
5dcdf8e9e2
Update default room version to 11 in line with the specification.
9 miesięcy temu
renovate[bot]
25c20f16d4
Update ghcr.io/element-hq/synapse Docker tag to v1.131.0
9 miesięcy temu
Suguru Hirahara
3653f9f89b
Run codespell --write-changes
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
9 miesięcy temu
renovate[bot]
5d0b0c98ae
Update ghcr.io/element-hq/synapse Docker tag to v1.130.0
9 miesięcy temu
renovate[bot]
1fdb3dd990
Update dependency maunium/synapse-http-antispam to v0.4.0
9 miesięcy temu
renovate[bot]
757527bbd2
Update matrixdotorg/mjolnir Docker tag to v1.10.0
9 miesięcy temu
Slavi Pantaleev
465df3a949
Add support for synapse-http-antispam and integrate it with Draupnir
Supersedes https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/4284
10 miesięcy temu
Slavi Pantaleev
95ef383ef7
Add `matrix_synapse_cas_config_enabled` variable to make `cas_confg` non-null
This works around an issue with Matrix Authentication Service's `syn2mas` sub-command (at version v0.16.0),
which chokes with an error:
> Error: Failed to load Synapse configuration
> Caused by:
> invalid type: found unit, expected struct EnableableSection for key "default.cas_config" in homeserver.yaml YAML file
This issue is likely to be fixed in MAS v0.16.1 or v0.17.0.
10 miesięcy temu
renovate[bot]
d1329edf71
Update ghcr.io/element-hq/synapse Docker tag to v1.129.0
10 miesięcy temu
renovate[bot]
81d6a2adca
Update ghcr.io/element-hq/synapse Docker tag to v1.128.0
11 miesięcy temu
Slavi Pantaleev
e1a2d427c6
Use multi-stage Dockerfile for building customized Synape
This also reverts e5574a405e because:
- it was causing issues on some servers (not clear why)
- such workarounds are no longer necessary when doing multi-stage building.
11 miesięcy temu
Slavi Pantaleev
e5574a405e
Install `libldap-2.5` explicitly when installing `synapse-s3-storage-provider` to satisfy its `psycopg2` dependency
11 miesięcy temu
Catalan Lover
922fe13f30
Update Synapse from v1.127.0 to v1.127.1
This is a security patch for Synapse that fixes an actively exploited bug.
11 miesięcy temu
Slavi Pantaleev
df8043ec20
Upgrade Synapse (v1.126.0 -> v1.127.0)
11 miesięcy temu
Catalan Lover
cd60cf1199
Internal Admin API and Draupnir Hjack Command Config ( #3389 )
* Enable Internal Admin API Access separately from Public access.
* Add Config variable for Draupnir Hijack command
And also make the internal admin API be automatically activated when this capability is used.
* Apply suggestions from code review
Co-authored-by: Slavi Pantaleev <slavi@devture.com>
* Further Refine Internal Admin API
* Add Non Worker Labels for Internal Admin API
* Variable Rename
* Add validation rules for Internal Synapse admin API
* Add Draupnir Admin API required config validation.
* Override `matrix_synapse_reverse_proxy_companion_container_labels_internal_client_synapse_admin_api_traefik_entrypoints` via group vars
* Wire `matrix_bot_draupnir_admin_api_enabled` to `matrix_bot_draupnir_config_admin_enableMakeRoomAdminCommand` in Draupnir's `defaults/main.yml`
* Remove unnecessary `matrix_bot_draupnir_admin_api_enabled` override from `group_vars/matrix_servers`
The same value is now (more appropriately) defined in Draupnir's `defaults/main.yml` file anyway.
* Add additional condition (`matrix_bot_draupnir_enabled`) for enabling `matrix_synapse_container_labels_internal_client_synapse_admin_api_enabled`
* Use a separate task for validating `matrix_bot_draupnir_admin_api_enabled` when `matrix_bot_draupnir_config_admin_enableMakeRoomAdminCommand`
The other task deals with checking for null and not-blank and can't handle booleans properly.
---------
Co-authored-by: Slavi Pantaleev <slavi@devture.com>
11 miesięcy temu
Aine
1c53f8dd1d
introduce new synapse vars
11 miesięcy temu
Slavi Pantaleev
60e2e035a2
Add `matrix_synapse_rc_delayed_event_mgmt` variable
Ref:
- c4747dd177/docs/self-hosting.md (a-matrix-homeserver)
- e39fe3bc7f
11 miesięcy temu
Slavi Pantaleev
8e883a5554
Fail if Synapse experimental feature QR code login (MSC4108) is enabled while Next-Gen Auth (MSC3861) is not
11 miesięcy temu
Benjamin Blacher
bf1efda094
Add support for configuring Synapse's MSC4133 (Custom Profile Fields) ( #4171 )
* Add support for configuring Synapse's MSC4133 (Custom Profile Fields) experimental feature
* Reorder experimental_features in homeserver.yaml.j2 alphabetically
---------
Co-authored-by: Slavi Pantaleev <slavi@devture.com>
11 miesięcy temu
Catalan Lover
5bb8a36f34
Update Mjolnir Anti Spam module to latest and add Renovate
11 miesięcy temu
Slavi Pantaleev
3492d31dca
Rename some leftover `_name_prefix` variables (to `_registry_prefix`)
11 miesięcy temu
Slavi Pantaleev
c5a03efdf6
Increase default Synapse/`rc_message` rate limits
The new rate limits are more suitable for running Element Call.
Ref:
- 93ae2aed98/docs/self-hosting.md (a-matrix-homeserver)
- https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/3562
Instead of trying to increase them conditionally only when Element Call
is enabled, it's simpler and good-enough to just increase them in all cases.
11 miesięcy temu
Slavi Pantaleev
63f81bf268
Add support for configuring Synapse's MSC4222 (adding `state_after` to sync v2) experimental feature
This is required by Element Call.
Ref:
- 93ae2aed98/docs/self-hosting.md (a-matrix-homeserver)
- https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/3562
11 miesięcy temu
Slavi Pantaleev
f5a0be0a7b
Add support for configuring Synapse's MSC4140 (Delayed Events) experimental feature
This is required by Element Call.
Ref:
- 93ae2aed98/docs/self-hosting.md (a-matrix-homeserver)
- https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/3562
11 miesięcy temu
Slavi Pantaleev
4fb0b75942
Reorder Synapse config's `experimental_features` alphabetically
11 miesięcy temu
Slavi Pantaleev
bda63024ee
Upgrade Synapse (v1.125.0 -> v1.126.0)
11 miesięcy temu
Iruwen
55e47d69db
Enable room summary API (MSC3266) support for Synapse to support Element X clients
1 rok temu
Suguru Hirahara
c18fc93a22
Update validate_config.yml files: edit the banner message for variables name
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
1 rok temu
Suguru Hirahara
d9d4c6f05f
Add license information to roles/custom/matrix-synapse/vars/main.yml
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
1 rok temu
Suguru Hirahara
2eb952201c
Add license information to files in matrix-synapse/templates/synapse
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
1 rok temu
Suguru Hirahara
431d4c414b
Add license information to files in matrix-synapse/templates/goofys
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
1 rok temu
Suguru Hirahara
f7a0302974
Add license information to files in matrix-synapse/tasks
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
1 rok temu
Suguru Hirahara
54b7df44ec
Add license information to files in matrix-synapse/tasks/synapse
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
1 rok temu
Suguru Hirahara
f0abe85c18
Add license information to files in matrix-synapse/tasks/rust-synapse-compress-state
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
1 rok temu
Suguru Hirahara
0329320574
Add license information to files in matrix-synapse/tasks/goofys
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
1 rok temu
Suguru Hirahara
a4532762c2
Add license information to files in matrix-synapse/tasks/ext
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
1 rok temu
Suguru Hirahara
f70ad4affb
Add license information to files in matrix-synapse/defaults
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
1 rok temu
Slavi Pantaleev
1eea92ba56
Add a `matrix_synapse_redis_use_tls` variable
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/4113
1 rok temu
Slavi Pantaleev
5c708339a0
Upgrade Synapse (v1.124.0 -> v1.125.0)
1 rok temu
Slavi Pantaleev
c47eca389b
Rework all roles to include `component_(docker|container)_image_registry_prefix*` variables
This:
- brings consistency - no more mixing `_name_prefix` and `_registry_prefix`
- adds extensibility - a future patch will allow reconfiguring all registry prefixes for all roles in the playbook
We still have `_docker_` vs `_container_` inconsistencies.
These may be worked on later.
1 rok temu
Slavi Pantaleev
d12643eb91
Do not use `docker stop --time` (deprecated in Docker v28 in favor of `--timeout` or just `-t`)
`-t` works on both old and new Docker versions, so it's best to use that.
1 rok temu
Slavi Pantaleev
72280bbbb2
Add a `matrix_synapse_url_preview_ip_range_whitelist` variable
1 rok temu
Slavi Pantaleev
0d7d5e6a19
Do not define `url_preview_ip_range_blacklist` in Synapse's `homeserver.yaml` if URL preview is disabled
It's useless and just makes the config longer.
1 rok temu
Slavi Pantaleev
d9eabc49e6
Add a `matrix_synapse_url_preview_ip_range_blacklist` variable
1 rok temu
Suguru Hirahara
c27fb2a832
Fix capitalization: postgres → Postgres
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
1 rok temu
renovate[bot]
38b0e86a2e
Update ghcr.io/element-hq/synapse Docker tag to v1.124.0
1 rok temu
Slavi Pantaleev
1d445dea4b
Update comments for `matrix_*_container_image_customizations_dockerfile_body_custom` variables to mention `matrix_*_container_image_customizations_enabled`
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/4011
1 rok temu
Slavi Pantaleev
8020e6ebb2
Upgrade Synapse (v1.122.0 -> v1.123.0)
1 rok temu
Slavi Pantaleev
43d5596086
Remove Redis and KeyDB support, only leaving Valkey around
1 rok temu
Suguru Hirahara
1db5f76024
Replace double hyphens with "Em Dash" unicode character (U+2014)
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
1 rok temu