Bladeren bron

synapse-admin v0.10.3-etke22

pull/3657/head
Aine 1 jaar geleden
bovenliggende
commit
ffa5484cc3
Geen bekende sleutel gevonden voor deze handtekening in de database GPG sleutel-ID: 34969C908CCA2804
2 gewijzigde bestanden met toevoegingen van 18 en 1 verwijderingen
  1. +17
    -1
      roles/custom/matrix-synapse-admin/defaults/main.yml
  2. +1
    -0
      roles/custom/matrix-synapse-admin/templates/config.json.j2

+ 17
- 1
roles/custom/matrix-synapse-admin/defaults/main.yml Bestand weergeven

@@ -14,7 +14,7 @@ matrix_synapse_admin_container_image_self_build: false
matrix_synapse_admin_container_image_self_build_repo: "https://github.com/etkecc/synapse-admin.git"

# renovate: datasource=docker depName=ghcr.io/etkecc/synapse-admin
matrix_synapse_admin_version: v0.10.3-etke21
matrix_synapse_admin_version: v0.10.3-etke22
matrix_synapse_admin_docker_image: "{{ matrix_synapse_admin_docker_image_name_prefix }}etkecc/synapse-admin:{{ matrix_synapse_admin_version }}"
matrix_synapse_admin_docker_image_name_prefix: "{{ 'localhost/' if matrix_synapse_admin_container_image_self_build else 'ghcr.io/' }}"
matrix_synapse_admin_docker_image_force_pull: "{{ matrix_synapse_admin_docker_image.endswith(':latest') }}"
@@ -175,7 +175,23 @@ matrix_synapse_admin_configuration: "{{ matrix_synapse_admin_configuration_defau
# restricts the homeserver(s), so that the user can no longer define a homeserver manually during login.
matrix_synapse_admin_config_restrictBaseUrl: "{{ [matrix_homeserver_url] }}" # noqa var-naming

# Controls the menu configuration setting, which, if defined, adds new menu items to the Synapse Admin UI.
# The format is a list of objects, where each object has the following keys:
# - `label` (string): The label of the menu item.
# - `icon` (string): The icon of the menu item, one of the https://github.com/etkecc/synapse-admin/blob/main/src/components/icons.ts
# - `url` (string): The URL of the menu item.
# Example:
# [
# {
# "label": "Contact support",
# "icon": "SupportAgent",
# "url": "https://github.com/spantaleev/matrix-docker-ansible-deploy/issues"
# }
# ]
matrix_synapse_admin_config_menu: []

# Controls the supportURL configuration setting, which, if defined, replaces the default link to the Synapse Admin GitHub repository.
# DEPRECATED: use matrix_synapse_admin_config_menu instead (migrated automatically).
matrix_synapse_admin_config_supportURL: '' # noqa var-naming

# Controls the asManagedUsers configuration setting (managed by playbook), which, if defined,


+ 1
- 0
roles/custom/matrix-synapse-admin/templates/config.json.j2 Bestand weergeven

@@ -2,4 +2,5 @@
"restrictBaseUrl": {{ matrix_synapse_admin_config_restrictBaseUrl | to_json }},
"asManagedUsers": {{ matrix_synapse_admin_config_asManagedUsers | to_json }},
"supportURL": {{ matrix_synapse_admin_config_supportURL | to_json }},
"menu": {{ matrix_synapse_admin_config_menu | to_json }},
}

Laden…
Annuleren
Opslaan