Slavi Pantaleev
460d46999f
Make Synapse's enable_local_media_storage configurable
...
Ref:
- https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/4882
- https://github.com/element-hq/synapse/pull/19204
- https://element-hq.github.io/synapse/latest/usage/configuration/config_documentation.html#enable_local_media_storage
We default it to `true`, keeping up with upstream and the old behavior.
s3-storage-provider users may set `matrix_synapse_enable_local_media_storage` to `false`
to disable local file caching.
This likely comes at the expense of some performance.
For matrix-media-repo users, it likely doesn't matter what this is set to,
as for a matrix-media-repo setup, all media-related API endpoints are
captured and forwarded to matrix-media-repo (before reaching Synapse).
2026-01-27 22:11:06 +02:00
Benjamin Blacher
c1bc2be7ec
Bump synapse, remove some recently stabilized features
2025-10-29 18:39:31 +02:00
Aleksandrs Jansons
8511d4dfc4
Add matrix_synapse_url_preview_url_blacklist var ( #4641 )
...
* synapse - introduce matrix_synapse_url_preview_url_blacklist var
* Preserve original comments around `url_preview_url_blacklist`
---------
Co-authored-by: Aleksandrs Jansons <alex@peledu.casa >
Co-authored-by: Slavi Pantaleev <slavi@devture.com >
2025-10-14 07:32:40 +03:00
Aine
58688bf538
synapse - introduce vars to control server notices
2025-10-06 16:41:48 +01:00
Slavi Pantaleev
d8eed6bfd3
Add some variables for controlling x_forwarded settings for Synapse listeners
2025-09-16 18:17:35 +03:00
Aine
071b5789f2
add matrix_synapse_user_directory_exclude_remote_users var
2025-09-10 16:38:42 +01:00
Slavi Pantaleev
ec8a7a4934
Stabilize Matrix Authentication Service integration for Synapse
...
Related to https://github.com/element-hq/synapse/pull/18759
Currently problematic (leading to failures to start for Synapse) because of:
https://github.com/element-hq/synapse/pull/18759#issuecomment-3172744530
2025-08-26 15:12:26 +03:00
Aine
8ff8e435c0
add matrix_synapse_admin_contact var
2025-08-25 09:58:34 +01:00
Slavi Pantaleev
51ab9ed9ff
Adjust lstrip_blocks to use a bool value for compatibility with ansible-core>=2.19.0
...
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/4445
2025-07-26 17:58:12 +03:00
Aine
7261be5537
add matrix_synapse_ext_password_provider_ldap_tls_options_validate var
2025-07-23 08:46:08 +01:00
Suguru Hirahara
3653f9f89b
Run codespell --write-changes
...
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org >
2025-06-03 10:36:00 +03:00
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.
2025-05-07 16:37:41 +03:00
Aine
1c53f8dd1d
introduce new synapse vars
2025-03-14 22:44:35 +02:00
Slavi Pantaleev
60e2e035a2
Add matrix_synapse_rc_delayed_event_mgmt variable
...
Ref:
- c4747dd177/docs/self-hosting.md (a-matrix-homeserver)
- e39fe3bc7f
2025-03-14 22:29:08 +02:00
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 >
2025-03-13 21:28:23 +02:00
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
2025-03-12 09:12:39 +02:00
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
2025-03-12 09:10:35 +02:00
Slavi Pantaleev
4fb0b75942
Reorder Synapse config's experimental_features alphabetically
2025-03-12 09:05:59 +02:00
Iruwen
55e47d69db
Enable room summary API (MSC3266) support for Synapse to support Element X clients
2025-03-06 14:48:23 +01:00
Slavi Pantaleev
1eea92ba56
Add a matrix_synapse_redis_use_tls variable
...
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/4113
2025-02-26 20:47:47 +02:00
Slavi Pantaleev
72280bbbb2
Add a matrix_synapse_url_preview_ip_range_whitelist variable
2025-02-21 23:05:14 +02:00
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.
2025-02-21 23:03:26 +02:00
Slavi Pantaleev
d9eabc49e6
Add a matrix_synapse_url_preview_ip_range_blacklist variable
2025-02-21 22:21:06 +02:00
Suguru Hirahara
c27fb2a832
Fix capitalization: postgres → Postgres
...
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org >
2025-02-13 14:00:41 +09:00
Suguru Hirahara
f0cc5da229
Edit user identifier examples: to @alice and @bob
...
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org >
2024-12-09 14:40:41 +09:00
Suguru Hirahara
c1c1b3ada0
Replace triple dots with horizontal ellipsis (U+2026)
...
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org >
2024-12-06 13:34:50 +09:00
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 >
2024-11-28 13:53:11 +02:00
Aine
769a31d3ca
adjust synapse purge jobs template
2024-11-18 10:00:12 +02:00
Aine
7fc8509f04
synapse - update retention purge jobs template
2024-11-17 18:34:22 +02:00
Aine
5bf09f5fdc
add new variables to control message retention in Synapse
2024-11-17 13:47:06 +02:00
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
2024-11-09 21:19:40 +02:00
Aine
95aaf76d0d
add matrix_synapse_oembed_additional_providers var
2024-11-07 11:08:40 +02:00
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 >
2024-10-21 21:47:52 +09:00
Suguru Hirahara
1e8030810f
Update internal room ID: !someRoom
...
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org >
2024-10-21 21:47:02 +09:00
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
2024-10-19 14:43:34 +03:00
Suguru Hirahara
55fcaac1f1
Fix capitalization: matrix → Matrix
...
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org >
2024-10-18 23:35:10 +09:00
Suguru Hirahara
951cdba49b
Replace <server-name> with example.com
...
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org >
2024-10-18 04:03:14 +09:00
Suguru Hirahara
9089963fa8
Replace server.com with example.com
...
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org >
2024-10-18 04:02:45 +09:00
Suguru Hirahara
7779b747ea
Edit user identifier example (domain.com → example.com)
...
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org >
2024-10-18 00:27:18 +09:00
Suguru Hirahara
174b18be9a
Fix capitalization: id → ID
...
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org >
2024-10-16 02:25:03 +09:00
Suguru Hirahara
ba9aeb7c9f
Consistent capitalization: NOTE → Note
...
Signed-off-by: Suguru Hirahara <acioustick@noreply.codeberg.org >
2024-10-15 02:58:40 +09:00
Catalan Lover
3eae4384dc
Add Authenticated Media configuration options
2024-08-23 16:35:14 +02:00
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 >
2024-07-25 20:19:08 +03:00
Slavi Pantaleev
4aa3345db0
Simplify auto_join_mxid_localpart population
2024-06-27 21:35:56 +03:00
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.
2024-06-27 15:05:46 +02:00
Slavi Pantaleev
09d9db5617
Add variables for controlling the native auto-accept-invites Synapse feature
...
Related to https://github.com/element-hq/synapse/pull/17147
2024-06-18 15:46:39 +03:00
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
2024-05-25 16:14:26 +03:00
Aine
532e8b498b
add matrix_synapse_redis_dbid var
2024-04-01 23:24:40 +03:00
Slavi Pantaleev
e1363c9b9b
Add lt-cred-mech authentication mechanism to Coturn
...
All homeserver implementations have been updated to support this as
well.
It's just Jitsi that possibly doesn't work with anything other than `auth-secret`.
Fixes https://github.com/spantaleev/matrix-docker-ansible-deploy/issues/3191
2024-02-18 09:52:00 +02:00
Slavi Pantaleev
3d73ec887a
Ensure integer values are used for cache_autotuning settings in homeserver.yaml
...
We're casting everything it `int`, but since Jinja templates are
involved, these values end up as strings anyway.
Doing `| int | to_json` is good, but we should only cast numbers to
integer, not empty strings, as that (0) may be interpreted differently
by Synapse.
To turn of auto-tuning, one is possibly supposed to pass empty strings:
> This option defaults to off, enable it by providing values for the sub-options listed below.
It could be that `0` is also considered "no value provided", but I
haven't verified that.
Related to https://github.com/spantaleev/matrix-docker-ansible-deploy/pull/3017
2024-02-14 13:36:20 +02:00