Small fixes in manifest.toml parsing

This commit is contained in:
Salamandar 2023-12-11 12:49:37 +01:00 committed by Salamandar
parent 3752396f95
commit 3f9daaf844

View file

@ -56,21 +56,25 @@ ram.runtime = "50M" # **estimate** minimum ram requirement. e.g. 50M, 400M, 1G,
type = "group" type = "group"
default = "admins" default = "admins"
[install.default_from_email] # __DEFAULT_FROM_EMAIL__ [install.default_from_email]
# Provides __DEFAULT_FROM_EMAIL__ in templates
ask.en = "Default email address to use for various automated emails." ask.en = "Default email address to use for various automated emails."
type = "email" type = "email"
example = "admin@example.com" example = "admin@example.com"
[install.admin_email] # __ADMIN_EMAIL__ [install.admin_email]
# Provides __ADMIN_EMAIL__ in templates
ask.en = "EMail address for error emails." ask.en = "EMail address for error emails."
type = "email" type = "email"
example = "admin@example.com" example = "admin@example.com"
[install.debug_enabled] # __DEBUG_ENABLED__ will be set to "0" or "1" string [install.debug_enabled]
# Provides __DEBUG_ENABLED__ in templates will be set to "0" or "1" string
ask.en = "Should be never enabled in production!" ask.en = "Should be never enabled in production!"
type = "boolean" type = "boolean"
[install.log_level] # __LOG_LEVEL__ [install.log_level]
# Provides __LOG_LEVEL__ in templates
ask.en = "Logging level" ask.en = "Logging level"
type = "select" type = "select"
choices = ["DEBUG", "INFO", "WARNING", "ERROR", "CRITICAL"] choices = ["DEBUG", "INFO", "WARNING", "ERROR", "CRITICAL"]