소스 검색

Matrix-application

pull/2377/head
Yassine Aouam 3 년 전
부모
커밋
a7b8b840aa
3개의 변경된 파일37개의 추가작업 그리고 2962개의 파일을 삭제
  1. +34
    -0
      docs/new_modif.md
  2. +3
    -1
      roles/custom/matrix-synapse/templates/synapse/homeserver.yaml.j2
  3. +0
    -2961
      roles/custom/matrix-synapse/templates/synapse/homeserver.yaml.j2.modify

+ 34
- 0
docs/new_modif.md 파일 보기

@@ -0,0 +1,34 @@
# Endpoint update

matrix-docker-ansible-deploy/roles/custom/matrix-synapse/templates/synapse/ext/s3-storage-provider/env.j2

{% if matrix_synapse_ext_synapse_s3_storage_provider_config_endpoint_url %}
ENDPOINT={{ matrix_synapse_ext_synapse_s3_storage_provider_config_endpoint_url }}
{% endif %}

- there is a condition on the matrix_synapse_ext_synapse_s3_storage_provider_config_endpoint_url variable so that if we set a value in the vars file, it's going to be affected to it.
If not, there won't be any need for the variable endpoints_url: '' to be shown with an empty field.


# Serching users update

matrix-docker-ansible-deploy/roles/custom/matrix-synapse/templates/synapse/homeserver.yaml.j2

{% if matrix_synapse_config_search_all_users %}
search_all_users: {{ matrix_synapse_config_search_all_users }}
{% endif %}

- This parameter allows us to search for users with only the first characters of the user's names.
Once you write the first character, options starting with that character begin to appear.

# log drive update

matrix-docker-ansible-deploy/roles/custom/matrix-synapse/templates/synapse/systemd/matrix-synapse-worker.service.j2

{% if matrix_synapse_log_driver %}
--log-driver={{ matrix_synapse_log_driver }} \
{% else %}
--log-driver=none \
{% endif %}
- I applied another condition on the --log-drive. If matrix_synapse_log_driver has a specific value, it should automatically be affected to the --log-drive. Else, it will get a none

+ 3
- 1
roles/custom/matrix-synapse/templates/synapse/homeserver.yaml.j2 파일 보기

@@ -2622,7 +2622,9 @@ user_directory:
# Uncomment to return search results containing all known users, even if that
# user does not share a room with the requester.
#
search_all_users: true
{% if matrix_synapse_config_search_all_users %}
search_all_users: {{ matrix_synapse_config_search_all_users }}
{% endif %}

# Defines whether to prefer local users in search query results.
# If True, local users are more likely to appear above remote users


+ 0
- 2961
roles/custom/matrix-synapse/templates/synapse/homeserver.yaml.j2.modify
파일 크기가 너무 크기때문에 변경 상태를 표시하지 않습니다.
파일 보기


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