1
0
mirror of https://github.com/spantaleev/matrix-docker-ansible-deploy.git synced 2024-12-12 08:43:55 +02:00

Improve Synapse variable naming consistency

This commit is contained in:
Slavi Pantaleev 2019-05-21 12:09:38 +09:00
parent 5c821b581a
commit affb99003c
4 changed files with 18 additions and 6 deletions

View File

@ -20,6 +20,15 @@ Each bridge now lives in its own separate role (`roles/matrix-bridge-*`).
These bridge roles are independent of the `matrix-synapse` role, so it should be possible to use them with a Synapse instance installed another way (not through the playbook).
## Renaming inconsistently-named Synapse variables
For better consistency, the following variables have been renamed:
- `matrix_enable_room_list_search` was renamed to `matrix_synapse_enable_room_list_search`
- `matrix_alias_creation_rules` was renamed to `matrix_synapse_alias_creation_rules`
- `matrix_nginx_proxy_matrix_room_list_publication_rulesdata_path` was renamed to `matrix_synapse_room_list_publication_rules`
# 2019-05-09
Besides a myriad of bug fixes and minor improvements, here are the more notable (bigger) features we can announce today.

View File

@ -239,17 +239,17 @@ matrix_s3_media_store_region: "eu-central-1"
matrix_synapse_self_check_validate_certificates: true
# Controls whether searching the public room list is enabled.
matrix_enable_room_list_search: true
matrix_synapse_enable_room_list_search: true
# Controls who's allowed to create aliases on this server.
matrix_alias_creation_rules:
matrix_synapse_alias_creation_rules:
- user_id: "*"
alias: "*"
room_id: "*"
action: allow
# Controls who can publish and which rooms can be published in the public room list.
matrix_room_list_publication_rules:
matrix_synapse_room_list_publication_rules:
- user_id: "*"
alias: "*"
room_id: "*"

View File

@ -17,3 +17,6 @@
with_items:
- {'old': 'matrix_synapse_container_expose_api_port', 'new': 'matrix_synapse_container_expose_client_api_port'}
- {'old': 'matrix_synapse_no_tls', 'new': '<removed>'}
- {'old': 'matrix_enable_room_list_search', 'new': 'matrix_synapse_enable_room_list_search'}
- {'old': 'matrix_alias_creation_rules', 'new': 'matrix_synapse_alias_creation_rules'}
- {'old': 'matrix_room_list_publication_rules', 'new': 'matrix_synapse_room_list_publication_rules'}

View File

@ -1179,7 +1179,7 @@ push:
#
#enable_room_list_search: false
enable_room_list_search: {{ matrix_enable_room_list_search|to_json }}
enable_room_list_search: {{ matrix_synapse_enable_room_list_search|to_json }}
# The `alias_creation` option controls who's allowed to create aliases
# on this server.
@ -1209,7 +1209,7 @@ enable_room_list_search: {{ matrix_enable_room_list_search|to_json }}
# room_id: "*"
# action: allow
alias_creation_rules: {{ matrix_alias_creation_rules|to_json }}
alias_creation_rules: {{ matrix_synapse_alias_creation_rules|to_json }}
# The `room_list_publication_rules` option controls who can publish and
# which rooms can be published in the public room list.
@ -1240,4 +1240,4 @@ alias_creation_rules: {{ matrix_alias_creation_rules|to_json }}
# room_id: "*"
# action: allow
room_list_publication_rules: {{ matrix_room_list_publication_rules|to_json }}
room_list_publication_rules: {{ matrix_synapse_room_list_publication_rules|to_json }}