1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/lutim_ynh.git synced 2024-09-03 19:36:24 +02:00
lutim_ynh/config_panel.json
2018-09-30 11:52:12 +02:00

69 lines
1.8 KiB
JSON

{
"name": "Lutim configuration panel",
"version": "0.1",
"panel": [{
"name": "Lutim configuration",
"id": "main",
"sections": [{
"name": "Lutim configuration",
"id": "configuration",
"options": [{
"name": "Force the encryption of images ?",
"id": "always_encrypt",
"type": "bool",
"default": true
},
{
"name": "Anti-flood protection delay (seconds)",
"help": "Users won't be able to ask Lutim to download images more than one per anti_flood_delay seconds.",
"id": "antiflood",
"type": "number",
"default": 0
},
{
"name": "Default time limit for files",
"help": "We can't use a choices field for now. In the meantime please choose between one of this values:<br>None, Day, Week, Month, Year.",
"id": "delay",
"type": "text",
"//": "\"choices\" : [\"None\", \"Day\", \"Week\", \"Month\", \"Year\"]",
"default" : "Year"
}]
},
{
"name": "Public access",
"id": "is_public",
"options": [{
"name": "Is it a public app ?",
"id": "is_public",
"type": "bool",
"default": true
}]
},
{
"name": "Overwriting config files",
"id": "overwrite_files",
"options": [{
"name": "Overwrite the config file lutim.conf ?",
"help": "If the file is overwritten, a backup will be created.",
"id": "overwrite_settings",
"type": "bool",
"default": true
},
{
"name": "Overwrite the nginx config file ?",
"help": "If the file is overwritten, a backup will be created.",
"id": "overwrite_nginx",
"type": "bool",
"default": true
},
{
"name": "Overwrite the systemd config file ?",
"help": "If the file is overwritten, a backup will be created.",
"id": "overwrite_systemd",
"type": "bool",
"default": true
}]
}]
}
]
}