1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/synapse_ynh.git synced 2024-09-03 20:26:38 +02:00

double quotes

This commit is contained in:
Gredin67 2023-08-13 18:47:19 +02:00 committed by GitHub
parent 9d4c9ab292
commit a962f7e09f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 34 additions and 34 deletions

View file

@ -10,16 +10,16 @@ services = ["matrix-__APP__"]
[main.welcome.enable_registration] [main.welcome.enable_registration]
ask = "Enable Registration for new users." ask = "Enable Registration for new users."
type = "boolean" type = "boolean"
yes = true yes = "true"
no = false no = "false"
help = "Defaults to 'false'. If 'true', it is highly recommended to use either captcha, email, or token-based verification to avoid SPAM." help = "Defaults to 'false'. If 'true', it is highly recommended to use either captcha, email, or token-based verification to avoid SPAM."
bind = ":/etc/matrix-__APP__/homeserver.yaml" bind = ":/etc/matrix-__APP__/homeserver.yaml"
[main.welcome.password_enabled] [main.welcome.password_enabled]
ask = "Enable Password Login?" ask = "Enable Password Login?"
type = "boolean" type = "boolean"
yes = true yes = "true"
no = false no = "false"
help = "If disabled, Login with Non-YunoHost Users impossible. But it simplies Login process if your Matrix server only has YunoHost SSO Users." help = "If disabled, Login with Non-YunoHost Users impossible. But it simplies Login process if your Matrix server only has YunoHost SSO Users."
bind = "password_config>enabled:/etc/matrix-__APP__/homeserver.yaml" bind = "password_config>enabled:/etc/matrix-__APP__/homeserver.yaml"
visible = "! enable_registration" visible = "! enable_registration"
@ -46,8 +46,8 @@ services = ["matrix-__APP__"]
[main.welcome.disable_msisdn_registration] [main.welcome.disable_msisdn_registration]
ask = "Disable asking Phone Number in Registration flow." ask = "Disable asking Phone Number in Registration flow."
type = "boolean" type = "boolean"
yes = true yes = "true"
no = false no = "false"
help = "Overrides 3PID settings if MSISDNs are set as required." help = "Overrides 3PID settings if MSISDNs are set as required."
bind = ":/etc/matrix-__APP__/homeserver.yaml" bind = ":/etc/matrix-__APP__/homeserver.yaml"
visible = "enable_registration" visible = "enable_registration"
@ -60,16 +60,16 @@ services = ["matrix-__APP__"]
[main.welcome.autocreate_auto_join_rooms] [main.welcome.autocreate_auto_join_rooms]
ask = "Auto-Create room for Auto Join if not existing?" ask = "Auto-Create room for Auto Join if not existing?"
type = "boolean" type = "boolean"
yes = true yes = "true"
no = false no = "false"
help = "Setting to false means that if the rooms are not manually created, users cannot be auto-joined. Auto-created rooms will be public and federated by default, this can be customised in CLI with the settings auto_join_*." help = "Setting to false means that if the rooms are not manually created, users cannot be auto-joined. Auto-created rooms will be public and federated by default, this can be customised in CLI with the settings auto_join_*."
bind = ":/etc/matrix-__APP__/homeserver.yaml" bind = ":/etc/matrix-__APP__/homeserver.yaml"
[main.welcome.notif_for_new_users] [main.welcome.notif_for_new_users]
ask = "Enable email notifications for new users?" ask = "Enable email notifications for new users?"
type = "boolean" type = "boolean"
yes = true yes = "true"
no = false no = "false"
help = "Defaults to 'true'." help = "Defaults to 'true'."
bind = ":/etc/matrix-__APP__/homeserver.yaml" bind = ":/etc/matrix-__APP__/homeserver.yaml"
visible = "enable_notifs" visible = "enable_notifs"
@ -95,16 +95,16 @@ services = ["matrix-__APP__"]
[main.privacy.allow_public_rooms_over_federation] [main.privacy.allow_public_rooms_over_federation]
ask = "Access Public Rooms Directory over Federation?" ask = "Access Public Rooms Directory over Federation?"
type = "boolean" type = "boolean"
yes = true yes = "true"
no = false no = "false"
help = "Disabled by default. If disabled, users on other homeserver will not be able to look for a public room on your homeserver. They will have to type the ID of the room to join." help = "Disabled by default. If disabled, users on other homeserver will not be able to look for a public room on your homeserver. They will have to type the ID of the room to join."
bind = ":/etc/matrix-__APP__/homeserver.yaml" bind = ":/etc/matrix-__APP__/homeserver.yaml"
[main.privacy.push_include_content] [main.privacy.push_include_content]
ask = "Disable content sharing inside push notification." ask = "Disable content sharing inside push notification."
type = "boolean" type = "boolean"
yes = true yes = "true"
no = false no = "false"
help = "Send content message and sender information in push notification. Set to false increase privacy when GAFAM notification service is used (ie: when element client is downloaded thrue Gplay store)." help = "Send content message and sender information in push notification. Set to false increase privacy when GAFAM notification service is used (ie: when element client is downloaded thrue Gplay store)."
bind = "push>include_content:/etc/matrix-__APP__/homeserver.yaml" bind = "push>include_content:/etc/matrix-__APP__/homeserver.yaml"
@ -120,16 +120,16 @@ services = ["matrix-__APP__"]
[main.experience.enable_group_creation] [main.experience.enable_group_creation]
ask = "Allow non-server-admin Users to create Spaces?" ask = "Allow non-server-admin Users to create Spaces?"
type = "boolean" type = "boolean"
yes = true yes = "true"
no = false no = "false"
help = "Disabled by default: only server admins can create Spaces" help = "Disabled by default: only server admins can create Spaces"
bind = ":/etc/matrix-__APP__/homeserver.yaml" bind = ":/etc/matrix-__APP__/homeserver.yaml"
[main.experience.enable_notifs] [main.experience.enable_notifs]
ask = "Enable sending emails for messages the user missed?" ask = "Enable sending emails for messages the user missed?"
type = "boolean" type = "boolean"
yes = true yes = "true"
no = false no = "false"
help = "Defaults to 'false'." help = "Defaults to 'false'."
bind = ":/etc/matrix-__APP__/homeserver.yaml" bind = ":/etc/matrix-__APP__/homeserver.yaml"
@ -172,15 +172,15 @@ services = ["matrix-__APP__"]
[advanced.others.backup_before_upgrade] [advanced.others.backup_before_upgrade]
ask = "Backup before upgrade?" ask = "Backup before upgrade?"
type = "boolean" type = "boolean"
yes = true yes = "true"
no = false no = "false"
help = "!! If disabled, do a manual backup before upgrade !! Disable if your Synapse instance is huge and you prefer to disable the backup that is normally automatically done before each upgrade." help = "!! If disabled, do a manual backup before upgrade !! Disable if your Synapse instance is huge and you prefer to disable the backup that is normally automatically done before each upgrade."
[advanced.others.server_statistics] [advanced.others.server_statistics]
ask = "Server statistics" ask = "Server statistics"
type = "boolean" type = "boolean"
yes = true yes = "true"
no = false no = "false"
help = "Enable to send anonymous statistics to Synapse Developers to improve performance." help = "Enable to send anonymous statistics to Synapse Developers to improve performance."
bind = "report_stats:/etc/matrix-__APP__/homeserver.yaml" bind = "report_stats:/etc/matrix-__APP__/homeserver.yaml"
@ -196,16 +196,16 @@ services = ["matrix-__APP__"]
[advanced.guests.allow_guest_access] [advanced.guests.allow_guest_access]
ask = "Allow Users to Register as Guests?" ask = "Allow Users to Register as Guests?"
type = "boolean" type = "boolean"
yes = true yes = "true"
no = false no = "false"
help = "Guests can participate on this server in rooms with guest access enabled, without a password/email/etc." help = "Guests can participate on this server in rooms with guest access enabled, without a password/email/etc."
bind = ":/etc/matrix-__APP__/homeserver.yaml" bind = ":/etc/matrix-__APP__/homeserver.yaml"
[advanced.guests.auto_join_rooms_for_guests] [advanced.guests.auto_join_rooms_for_guests]
ask = "Enable Auto Join Room for Guests?" ask = "Enable Auto Join Room for Guests?"
type = "boolean" type = "boolean"
yes = true yes = "true"
no = false no = "false"
help = "Defaults to 'true'." help = "Defaults to 'true'."
bind = ":/etc/matrix-__APP__/homeserver.yaml" bind = ":/etc/matrix-__APP__/homeserver.yaml"
visible = "allow_guest_access" visible = "allow_guest_access"
@ -216,8 +216,8 @@ services = ["matrix-__APP__"]
[advanced.privacy.enable_3pid_lookup] [advanced.privacy.enable_3pid_lookup]
ask = "Allow discovering friends with phone number or email?" ask = "Allow discovering friends with phone number or email?"
type = "boolean" type = "boolean"
yes = true yes = "true"
no = false no = "false"
help = "Enable 3PIDs lookup requests to identity servers from this server. See Settings->General->Discovery in Element." help = "Enable 3PIDs lookup requests to identity servers from this server. See Settings->General->Discovery in Element."
bind = ":/etc/matrix-__APP__/homeserver.yaml" bind = ":/etc/matrix-__APP__/homeserver.yaml"
@ -230,8 +230,8 @@ services = ["matrix-__APP__"]
[advanced.privacy.allow_public_rooms_without_auth] [advanced.privacy.allow_public_rooms_without_auth]
ask = "Access Public Rooms Directory without authentification?" ask = "Access Public Rooms Directory without authentification?"
type = "boolean" type = "boolean"
yes = true yes = "true"
no = false no = "false"
help = "Disabled by default. If enabled, anyone can query the Public Rooms Directory (access through the client API). This only makes sense if you want everyone to be able to scroll your public room to see what's interesting on your Homeserver" help = "Disabled by default. If enabled, anyone can query the Public Rooms Directory (access through the client API). This only makes sense if you want everyone to be able to scroll your public room to see what's interesting on your Homeserver"
bind = ":/etc/matrix-__APP__/homeserver.yaml" bind = ":/etc/matrix-__APP__/homeserver.yaml"
@ -247,7 +247,7 @@ services = ["matrix-__APP__"]
[advanced.registration.turn_allow_guests] [advanced.registration.turn_allow_guests]
ask = "Should guests be allowed to use the TURN server?" ask = "Should guests be allowed to use the TURN server?"
type = "boolean" type = "boolean"
yes = true yes = "true"
no = false no = "false"
help = "This defaults to True, otherwise VoIP will be unreliable for guests. However, it does introduce a slight security risk as it allows users to connect to arbitrary endpoints without having first signed up for a valid account (e.g. by passing a CAPTCHA)." help = "This defaults to True, otherwise VoIP will be unreliable for guests. However, it does introduce a slight security risk as it allows users to connect to arbitrary endpoints without having first signed up for a valid account (e.g. by passing a CAPTCHA)."
bind = ":/etc/matrix-__APP__/homeserver.yaml" bind = ":/etc/matrix-__APP__/homeserver.yaml"

View file

@ -86,7 +86,7 @@ ynh_app_setting_set --app=$app --key=report_stats --value=$report_stats
ynh_app_setting_set --app=$app --key=e2e_enabled_by_default --value=$e2e_enabled_by_default ynh_app_setting_set --app=$app --key=e2e_enabled_by_default --value=$e2e_enabled_by_default
ynh_app_setting_set --app=$app --key=synapse_user_app_pwd --value=$synapse_user_app_pwd ynh_app_setting_set --app=$app --key=synapse_user_app_pwd --value=$synapse_user_app_pwd
if [ $is_free_registration -eq 0 ] if [ "$is_free_registration" -eq "0" ]
then then
enable_registration="false" enable_registration="false"
turn_allow_guests="false" turn_allow_guests="false"

View file

@ -334,7 +334,7 @@ fi
if [ -z "$enable_registration" ] if [ -z "$enable_registration" ]
then then
if [ $is_free_registration -eq 0 ] if [ "$is_free_registration" -eq "0" ]
then then
enable_registration="false" enable_registration="false"
turn_allow_guests="false" turn_allow_guests="false"