Suguru Hirahara
3653f9f89b
Run codespell --write-changes
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
9 kuukautta sitten
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 kuukautta sitten
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 kuukautta sitten
Slavi Pantaleev
e5574a405e
Install `libldap-2.5` explicitly when installing `synapse-s3-storage-provider` to satisfy its `psycopg2` dependency
11 kuukautta sitten
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 kuukautta sitten
Aine
1c53f8dd1d
introduce new synapse vars
11 kuukautta sitten
Slavi Pantaleev
60e2e035a2
Add `matrix_synapse_rc_delayed_event_mgmt` variable
Ref:
- c4747dd177/docs/self-hosting.md (a-matrix-homeserver)
- e39fe3bc7f
11 kuukautta sitten
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 kuukautta sitten
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 kuukautta sitten
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 kuukautta sitten
Slavi Pantaleev
4fb0b75942
Reorder Synapse config's `experimental_features` alphabetically
11 kuukautta sitten
Iruwen
55e47d69db
Enable room summary API (MSC3266) support for Synapse to support Element X clients
1 vuosi sitten
Suguru Hirahara
2eb952201c
Add license information to files in matrix-synapse/templates/synapse
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
1 vuosi sitten
Slavi Pantaleev
1eea92ba56
Add a `matrix_synapse_redis_use_tls` variable
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/4113
1 vuosi sitten
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 vuosi sitten
Slavi Pantaleev
72280bbbb2
Add a `matrix_synapse_url_preview_ip_range_whitelist` variable
1 vuosi sitten
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 vuosi sitten
Slavi Pantaleev
d9eabc49e6
Add a `matrix_synapse_url_preview_ip_range_blacklist` variable
1 vuosi sitten
Suguru Hirahara
c27fb2a832
Fix capitalization: postgres → Postgres
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
1 vuosi sitten
Slavi Pantaleev
7232d2b6d5
Pin boto3 and botocore to an old version when installing synapse-s3-storage-provider to prevent issues with non-AWS S3 providers
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/3964
Related to https://github.com/aws/aws-cli/issues/9214
1 vuosi sitten
Slavi Pantaleev
75026d8c3d
Update a few incorrect comments
1 vuosi sitten
Suguru Hirahara
f0cc5da229
Edit user identifier examples: to `@alice` and `@bob`
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
1 vuosi sitten
Suguru Hirahara
c1c1b3ada0
Replace triple dots with horizontal ellipsis (U+2026)
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
1 vuosi sitten
Suguru Hirahara
8a18cc946d
Replace "@user1" with "@alice" and "@user2" with "@bob" ( #3833 )
* Replace "@user1" with "@alice"
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
* Replace "@user2" with "@bob"
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
---------
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
Co-authored-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
1 vuosi sitten
Aine
769a31d3ca
adjust synapse purge jobs template
1 vuosi sitten
Aine
7fc8509f04
synapse - update retention purge jobs template
1 vuosi sitten
Aine
5bf09f5fdc
add new variables to control message retention in Synapse
1 vuosi sitten
Slavi Pantaleev
609cf5940e
Enable (Traefik compression middleware)-assisted compression for Synapse
This likely breaks QR code login for non-worker Synapse setups.
See https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/3749
1 vuosi sitten
Slavi Pantaleev
509542ccaf
Enable QR code login (MSC4108) support for Synapse when Matrix Authentication Service is enabled
Related to 8a6b822bbd
Related to https://github.com/matrix-org/matrix-spec-proposals/pull/4108
Potential (unconfirmed) fix for https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/3749
1 vuosi sitten
Aine
95aaf76d0d
add matrix_synapse_oembed_additional_providers var
1 vuosi sitten
Suguru Hirahara
aaa6335053
Replace !someRoom with !qporfwt
!qporfwt is used as an example of a room ID on https://spec.matrix.org/v1.12/#room-structure
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
1 vuosi sitten
Suguru Hirahara
1e8030810f
Update internal room ID: !someRoom
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
1 vuosi sitten
Slavi Pantaleev
8f16524789
Add support for Matrix Authentication Service
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/3108
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/3562
1 vuosi sitten
Slavi Pantaleev
08b29e9b92
Replace some docker references with {{ devture_systemd_docker_base_host_command_docker }}
1 vuosi sitten
Suguru Hirahara
55fcaac1f1
Fix capitalization: matrix → Matrix
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
1 vuosi sitten
Suguru Hirahara
951cdba49b
Replace <server-name> with example.com
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
1 vuosi sitten
Suguru Hirahara
9089963fa8
Replace server.com with example.com
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
1 vuosi sitten
Suguru Hirahara
7779b747ea
Edit user identifier example (domain.com → example.com)
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
1 vuosi sitten
Suguru Hirahara
174b18be9a
Fix capitalization: id → ID
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
1 vuosi sitten
Suguru Hirahara
ba9aeb7c9f
Consistent capitalization: NOTE → Note
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org>
1 vuosi sitten
Slavi Pantaleev
cf5763978b
Upgrade synapse-s3-storage-provider (1.3.0 -> 1.5.0) and adapt configuration
1.3.0 fails to work against the new Synapse (v1.115.0) image.
See: https://github.com/matrix-org/synapse-s3-storage-provider/pull/114
Related to: https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/3535
1 vuosi sitten
Catalan Lover
3eae4384dc
Add Authenticated Media configuration options
1 vuosi sitten
Michael Hollister
55f869254b
Created role for synapse-usage-exporter ( #3442 )
* Created role for synapse-usage-exporter
* Apply suggestions from code review
Co-authored-by: Slavi Pantaleev <slavi@devture.com>
* Renaming docker variables and moving synapse stats config location
* Respect devture_systemd_docker_base_docker_service_name
---------
Co-authored-by: Slavi Pantaleev <slavi@devture.com>
1 vuosi sitten
Slavi Pantaleev
34b91957f0
Update comment
1 vuosi sitten
Slavi Pantaleev
a213164cb1
Enable client & federation listeners for media repository workers
Related to c6d8a68e77
Related to https://github.com/element-hq/synapse/pull/17421
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/3427
1 vuosi sitten
Slavi Pantaleev
4aa3345db0
Simplify auto_join_mxid_localpart population
1 vuosi sitten
hagene
ef90ee9495
Allow configuring synapse `auto_join_mxid_localpart`
`auto_join_mxid_localpart` defines the local part of the user id which is used to create auto-join rooms. The variable needs to be set to invite new users to any auto-join rooms which are set to invite-only.
1 vuosi sitten
Slavi Pantaleev
09d9db5617
Add variables for controlling the native auto-accept-invites Synapse feature
Related to https://github.com/element-hq/synapse/pull/17147
1 vuosi sitten
Slavi Pantaleev
7891268873
Do not hardcode https:// in all remaining places, refer to matrix_static_files_scheme
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/3333
1 vuosi sitten
Aine
532e8b498b
add matrix_synapse_redis_dbid var
1 vuosi sitten