From 4b99357b21176f57b75b745a9e3fa04d3cba9d9a Mon Sep 17 00:00:00 2001 From: openDesk Bot Date: Wed, 31 Jul 2024 08:18:51 +0000 Subject: [PATCH] feat(element): Add feature flag `functional.dataProtection.matrixPresence.enabled` that defaults to `false` to avoid that openDesk provides presence information on users unintended. We include the hardcoded configuration in openDesk Synapse that users cannot change their displayname. --- helmfile/apps/element/values-synapse.yaml.gotmpl | 4 +++- helmfile/environments/default/charts.yaml | 12 ++++++------ helmfile/environments/default/functional.yaml | 8 +++++++- 3 files changed, 16 insertions(+), 8 deletions(-) diff --git a/helmfile/apps/element/values-synapse.yaml.gotmpl b/helmfile/apps/element/values-synapse.yaml.gotmpl index df902e71..260ec0ba 100644 --- a/helmfile/apps/element/values-synapse.yaml.gotmpl +++ b/helmfile/apps/element/values-synapse.yaml.gotmpl @@ -40,7 +40,9 @@ configuration: regex: "@.*" url: null sender_localpart: intercom-service - + presence: + enabled: {{ .Values.functional.dataProtection.matrixPresence.enabled }} + smtp: senderAddress: "{{ .Values.smtp.localpartNoReply }}@{{ .Values.global.hosts.element }}.{{ .Values.global.domain }}" host: {{ .Values.smtp.host | quote }} diff --git a/helmfile/environments/default/charts.yaml b/helmfile/environments/default/charts.yaml index bd03b41b..f2418651 100644 --- a/helmfile/environments/default/charts.yaml +++ b/helmfile/environments/default/charts.yaml @@ -78,7 +78,7 @@ charts: registry: "registry.opencode.de" repository: "bmi/opendesk/components/platform-development/charts/opendesk-element" name: "opendesk-element" - version: "3.2.0" + version: "3.3.0" verify: true elementWellKnown: # providerCategory: "Platform" @@ -88,7 +88,7 @@ charts: registry: "registry.opencode.de" repository: "bmi/opendesk/components/platform-development/charts/opendesk-element" name: "opendesk-well-known" - version: "3.2.0" + version: "3.3.0" verify: true home: # providerCategory: "Platform" @@ -180,7 +180,7 @@ charts: registry: "registry.opencode.de" repository: "bmi/opendesk/components/platform-development/charts/opendesk-element" name: "opendesk-matrix-user-verification-service" - version: "3.2.0" + version: "3.3.0" verify: true memcached: # providerCategory: "Community" @@ -356,7 +356,7 @@ charts: registry: "registry.opencode.de" repository: "bmi/opendesk/components/platform-development/charts/opendesk-element" name: "opendesk-synapse" - version: "3.2.0" + version: "3.3.0" verify: true synapseCreateAccount: # providerCategory: "Platform" @@ -366,7 +366,7 @@ charts: registry: "registry.opencode.de" repository: "bmi/opendesk/components/platform-development/charts/opendesk-element" name: "opendesk-synapse-create-account" - version: "3.2.0" + version: "3.3.0" verify: true synapseWeb: # providerCategory: "Platform" @@ -376,7 +376,7 @@ charts: registry: "registry.opencode.de" repository: "bmi/opendesk/components/platform-development/charts/opendesk-element" name: "opendesk-synapse-web" - version: "3.2.0" + version: "3.3.0" verify: true ums: # providerCategory: "Supplier" diff --git a/helmfile/environments/default/functional.yaml b/helmfile/environments/default/functional.yaml index fa722df1..c6cd8194 100644 --- a/helmfile/environments/default/functional.yaml +++ b/helmfile/environments/default/functional.yaml @@ -45,5 +45,11 @@ functional: # Ref.: https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/config_sample_php_parameters.html#versions-retention-obligation versions: "auto" # yamllint enable rule:line-length - + + dataProtection: + matrixPresence: + # Enable to allow information about the user presence status to be shared. + # Ref.: https://element-hq.github.io/synapse/latest/usage/configuration/config_documentation.html#presence + enabled: false + ...