Improve Synapse variable naming consistency

pull/187/head
Slavi Pantaleev 5 years ago
parent 5c821b581a
commit affb99003c

@ -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). 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 # 2019-05-09
Besides a myriad of bug fixes and minor improvements, here are the more notable (bigger) features we can announce today. Besides a myriad of bug fixes and minor improvements, here are the more notable (bigger) features we can announce today.

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

@ -17,3 +17,6 @@
with_items: with_items:
- {'old': 'matrix_synapse_container_expose_api_port', 'new': 'matrix_synapse_container_expose_client_api_port'} - {'old': 'matrix_synapse_container_expose_api_port', 'new': 'matrix_synapse_container_expose_client_api_port'}
- {'old': 'matrix_synapse_no_tls', 'new': '<removed>'} - {'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'}

@ -1179,7 +1179,7 @@ push:
# #
#enable_room_list_search: false #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 # The `alias_creation` option controls who's allowed to create aliases
# on this server. # on this server.
@ -1209,7 +1209,7 @@ enable_room_list_search: {{ matrix_enable_room_list_search|to_json }}
# room_id: "*" # room_id: "*"
# action: allow # 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 # The `room_list_publication_rules` option controls who can publish and
# which rooms can be published in the public room list. # 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: "*" # room_id: "*"
# action: allow # 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 }}

Loading…
Cancel
Save