Selaa lähdekoodia

element-web camelCase renaming (permalinkPrefix -> permalink_prefix)

pull/2820/head
Slavi Pantaleev 2 vuotta sitten
vanhempi
commit
c800af1bb6
3 muutettua tiedostoa jossa 3 lisäystä ja 2 poistoa
  1. +1
    -1
      roles/custom/matrix-client-element/defaults/main.yml
  2. +1
    -0
      roles/custom/matrix-client-element/tasks/validate_config.yml
  3. +1
    -1
      roles/custom/matrix-client-element/templates/config.json.j2

+ 1
- 1
roles/custom/matrix-client-element/defaults/main.yml Näytä tiedosto

@@ -149,7 +149,7 @@ matrix_client_element_integrations_ui_url: "https://scalar.vector.im/"
matrix_client_element_integrations_rest_url: "https://scalar.vector.im/api" matrix_client_element_integrations_rest_url: "https://scalar.vector.im/api"
matrix_client_element_integrations_widgets_urls: ["https://scalar.vector.im/api"] matrix_client_element_integrations_widgets_urls: ["https://scalar.vector.im/api"]
matrix_client_element_integrations_jitsi_widget_url: "https://scalar.vector.im/api/widgets/jitsi.html" matrix_client_element_integrations_jitsi_widget_url: "https://scalar.vector.im/api/widgets/jitsi.html"
matrix_client_element_permalinkPrefix: "https://matrix.to" # noqa var-naming
matrix_client_element_permalink_prefix: "https://matrix.to" # noqa var-naming
matrix_client_element_bug_report_endpoint_url: "https://element.io/bugreports/submit" matrix_client_element_bug_report_endpoint_url: "https://element.io/bugreports/submit"
matrix_client_element_show_lab_settings: true # noqa var-naming matrix_client_element_show_lab_settings: true # noqa var-naming
# Element public room directory server(s) # Element public room directory server(s)


+ 1
- 0
roles/custom/matrix-client-element/tasks/validate_config.yml Näytä tiedosto

@@ -35,6 +35,7 @@
when: "item.old in vars" when: "item.old in vars"
with_items: with_items:
- {'old': 'matrix_client_element_showLabsSettings', 'new': 'matrix_client_element_show_lab_settings'} - {'old': 'matrix_client_element_showLabsSettings', 'new': 'matrix_client_element_show_lab_settings'}
- {'old': 'matrix_client_element_permalinkPrefix', 'new': 'matrix_client_element_permalink_prefix'}


- when: matrix_client_element_container_labels_traefik_enabled | bool - when: matrix_client_element_container_labels_traefik_enabled | bool
block: block:


+ 1
- 1
roles/custom/matrix-client-element/templates/config.json.j2 Näytä tiedosto

@@ -13,7 +13,7 @@
}, },
"default_theme": {{ matrix_client_element_default_theme | string | to_json }}, "default_theme": {{ matrix_client_element_default_theme | string | to_json }},
"default_country_code": {{ matrix_client_element_default_country_code | string | to_json }}, "default_country_code": {{ matrix_client_element_default_country_code | string | to_json }},
"permalinkPrefix": {{ matrix_client_element_permalinkPrefix | string | to_json }},
"permalink_prefix": {{ matrix_client_element_permalink_prefix | string | to_json }},
"disable_custom_urls": {{ matrix_client_element_disable_custom_urls | to_json }}, "disable_custom_urls": {{ matrix_client_element_disable_custom_urls | to_json }},
"disable_guests": {{ matrix_client_element_disable_guests | to_json }}, "disable_guests": {{ matrix_client_element_disable_guests | to_json }},
"brand": {{ matrix_client_element_brand | to_json }}, "brand": {{ matrix_client_element_brand | to_json }},


Ladataan…
Peruuta
Tallenna