소스 검색

Merge pull request #655 from aaronraimist/element-showLabs

Allow configuration of Element's bug_report_endpoint_url and showLabsSettings
pull/657/head
Slavi Pantaleev 5 년 전
committed by GitHub
부모
커밋
9fba46e694
No known key found for this signature in database GPG 키 ID: 4AEE18F83AFDEB23
2개의 변경된 파일5개의 추가작업 그리고 3개의 파일을 삭제
  1. +3
    -1
      roles/matrix-client-element/defaults/main.yml
  2. +2
    -2
      roles/matrix-client-element/templates/config.json.j2

+ 3
- 1
roles/matrix-client-element/defaults/main.yml 파일 보기

@@ -30,9 +30,11 @@ 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_jitsi_widget_url: "https://scalar.vector.im/api/widgets/jitsi.html"
matrix_client_element_permalinkPrefix: "https://matrix.to"
matrix_client_element_bug_report_endpoint_url: "https://element.io/bugreports/submit"
matrix_client_element_showLabsSettings: true
# Element public room directory server(s)
matrix_client_element_roomdir_servers: ['matrix.org']
matrix_client_element_welcome_user_id: "@riot-bot:matrix.org"
matrix_client_element_welcome_user_id: ~
# Branding of Element
matrix_client_element_brand: "Element"



+ 2
- 2
roles/matrix-client-element/templates/config.json.j2 파일 보기

@@ -20,8 +20,8 @@
"integrations_rest_url": {{ matrix_client_element_integrations_rest_url|string|to_json }},
"integrations_widgets_urls": {{ matrix_client_element_integrations_widgets_urls|to_json }},
"integrations_jitsi_widget_url": {{ matrix_client_element_integrations_jitsi_widget_url|string|to_json }},
"bug_report_endpoint_url": "https://riot.im/bugreports/submit",
"enableLabs": true,
"bug_report_endpoint_url": {{ matrix_client_element_bug_report_endpoint_url|to_json }},
"showLabsSettings": {{ matrix_client_element_showLabsSettings|to_json }},
"roomDirectory": {
"servers": {{ matrix_client_element_roomdir_servers|to_json }}
},


불러오는 중...
취소
저장