2018-09-30 11:52:12 +02:00
|
|
|
{
|
|
|
|
"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
|
|
|
|
}]
|
2019-01-30 19:27:17 +01:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"name": "Global configuration",
|
|
|
|
"id": "global_config",
|
|
|
|
"options": [{
|
|
|
|
"name": "Send HTML email to admin ?",
|
|
|
|
"help": "Allow app scripts to send HTML mails instead of plain text.",
|
|
|
|
"id": "email_type",
|
|
|
|
"type": "bool",
|
|
|
|
"default": true
|
|
|
|
}]
|
2018-09-30 11:52:12 +02:00
|
|
|
}]
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|