2020-11-03 23:42:27 +03:00
|
|
|
version = "1.0"
|
2020-11-03 23:28:45 +03:00
|
|
|
|
|
|
|
[main]
|
|
|
|
name = "Main configuration"
|
|
|
|
|
|
|
|
[main.config_file]
|
|
|
|
name = ""
|
|
|
|
|
|
|
|
[main.config_file.warning]
|
|
|
|
ask = "Here you can display a warning to user."
|
|
|
|
type = "warning"
|
|
|
|
|
2020-11-03 23:38:15 +03:00
|
|
|
[main.config_file.from_email]
|
2020-11-03 23:28:45 +03:00
|
|
|
ask = "Outgoing email From"
|
2021-06-01 02:26:50 +03:00
|
|
|
type = "email"
|
2020-11-03 23:28:45 +03:00
|
|
|
help = "Email from which comes email from this app"
|
2020-11-03 23:38:15 +03:00
|
|
|
pattern = "^[^@]+@[^@]+$"
|
2021-06-01 02:26:50 +03:00
|
|
|
source = "email:__FINALPATH__/conf/config.php"
|
2020-11-03 23:28:45 +03:00
|
|
|
|
|
|
|
[main.config_file.expiration]
|
|
|
|
ask = "Default expiration"
|
|
|
|
type = "date"
|
2020-11-03 23:38:15 +03:00
|
|
|
pattern = "^\d\d\d\d-\d\d-\d\d$"
|
2021-06-01 02:26:50 +03:00
|
|
|
source = ":__FINALPATH__/conf/config.php"
|
2020-11-03 23:28:45 +03:00
|
|
|
|
|
|
|
[main.config_file.logo]
|
2021-06-01 02:26:50 +03:00
|
|
|
ask = "Logo"
|
2020-11-03 23:28:45 +03:00
|
|
|
type = "file"
|
2021-06-01 02:26:50 +03:00
|
|
|
accept = ".png"
|
2020-11-03 23:28:45 +03:00
|
|
|
optional = true
|
|
|
|
help = "You should upload a CA certificate to start"
|
|
|
|
source="__FINALPATH__/img/logo.png"
|
|
|
|
|
|
|
|
[main.auth]
|
|
|
|
name = "Authentication"
|
|
|
|
|
|
|
|
[main.auth.user]
|
|
|
|
ask = "Username"
|
|
|
|
type = "string"
|
2021-06-01 02:26:50 +03:00
|
|
|
example = "camille"
|
2020-11-03 23:28:45 +03:00
|
|
|
optional = true
|
|
|
|
pattern = "^[^/ ]+$"
|
|
|
|
|
|
|
|
[main.auth.passphrase]
|
|
|
|
ask = "Password"
|
|
|
|
type = "password"
|
|
|
|
optional = true
|
2021-06-01 02:26:50 +03:00
|
|
|
visibleIf = "user"
|
2020-11-03 23:28:45 +03:00
|
|
|
|
|
|
|
|
|
|
|
[advanced]
|
|
|
|
name = "Advanced configuration"
|
2021-06-01 02:26:50 +03:00
|
|
|
collapsed = true
|
2020-11-03 23:28:45 +03:00
|
|
|
|
2020-11-03 23:38:15 +03:00
|
|
|
[advanced.dns]
|
2020-11-03 23:28:45 +03:00
|
|
|
name = "DNS"
|
|
|
|
|
|
|
|
[manual.dns.dns0]
|
|
|
|
ask = "First resolver"
|
|
|
|
type = "string"
|
|
|
|
optional = true
|
|
|
|
pattern = "^([0-9.]{8,16}|[0-9a-fA-F:]+)$"
|
|
|
|
|
|
|
|
[manual.dns.dns1]
|
|
|
|
ask = "Second resolver"
|
|
|
|
type = "string"
|
|
|
|
optional = true
|
|
|
|
pattern = "^([0-9.]{8,16}|[0-9a-fA-F:]+)$"
|