mirror of
https://github.com/YunoHost-Apps/armadietto_ynh.git
synced 2024-09-03 18:06:18 +02:00
other config test
This commit is contained in:
parent
57d32e84b0
commit
bb1551999d
2 changed files with 21 additions and 6 deletions
|
@ -3,13 +3,15 @@ version = "1.0"
|
|||
[main]
|
||||
name = "Settings"
|
||||
|
||||
[main.global_config]
|
||||
name = "Access options"
|
||||
[main.is_signup]
|
||||
name = "Signup configuration"
|
||||
|
||||
services = ["nginx", "__APP__"]
|
||||
services = ["__APP__"]
|
||||
|
||||
[main.global_config.is_signup]
|
||||
[main.is_signup.is_signup]
|
||||
ask = "Allow signups?"
|
||||
type = "boolean"
|
||||
yes = '1'
|
||||
no = ''
|
||||
help = "Would you like to allow visitors to register and create an account?"
|
||||
bind = "signup:__FINALPATH__/server.js"
|
||||
bind = "signup:/opt/yunohost/__APP__/server.js"
|
|
@ -6,7 +6,7 @@
|
|||
"en": "A remoteStorage server running as a nodejs web service with systemd",
|
||||
"fr": "Un serveur remoteStorage excécuté en tant que service web nodejs par systemd"
|
||||
},
|
||||
"version": "0.0.5~ynh1",
|
||||
"version": "0.0.6~ynh1",
|
||||
"url": "https://github.com/remotestorage/armadietto",
|
||||
"upstream": {
|
||||
"license": "MIT",
|
||||
|
@ -40,6 +40,19 @@
|
|||
"en": "Would you like to restrein the access to this web site?",
|
||||
"fr": "Souhaitez-vous limiter l'accès à ce site web ?"
|
||||
}
|
||||
},
|
||||
{
|
||||
"name": "is_signup",
|
||||
"type": "boolean",
|
||||
"ask": {
|
||||
"en": "Allow signups?",
|
||||
"fr": "Accepter les inscriptions ?"
|
||||
},
|
||||
"help": {
|
||||
"en": "Would you like to allow visitors to register and create an account?",
|
||||
"fr": "Souhaitez-vous autoriser les visiteurs à s'inscrire et créer un compte ?"
|
||||
},
|
||||
"default": false
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue