1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/paheko_ynh.git synced 2024-09-03 19:56:22 +02:00
paheko_ynh/config_panel.toml
Robles Rodolphe 7af8e33a9f
Panel config (#66)
* add config_panel.toml file

* add install and upgrade

* syntax upgrade

* syntax error

* correct values cleaning config.local.user

* synntax sed

* try repalce vs sed

* try debug YN_NULL

* quote ahhha

* quote ahhha akka

* quote ahhha akka

* add in config panel avalaibity to disable emails

* add in config panel avalaibity to disable emails bug boolean

* add in config panel avalaibity to disable emails bug boolean

* add in config panel avalaibity to disable emails bug boolean

* add in config panel avalaibity to disable emails bug boolean

* add in config panel avalaibity to disable emails bug boolean

* forget the fonction disable email for now in config panel

* forget the fonction disable email for now in config panel

* forget the fonction disable email for now in config panel

* syntax

* debug values

* remove mail_return_path in config panel

* remove mail_return_path in config panel

* debug values

* debug values

* debug values

* debug values config panel

* debug values config panel removing all mail values, only smtp

* come back to first test where upgrade works, but not install

* try debug cinfig panel install

* try add post-install

* try add post-install

* try add post-install

* keep first panel_config working

* add type select for choices

* Auto-update READMEs

---------

Co-authored-by: yunohost-bot <yunohost@yunohost.org>
2024-08-20 01:31:22 +02:00

62 lines
1.9 KiB
TOML

version = "1.0"
################################################################################
#### ABOUT PANELS
################################################################################
[main]
name.fr = "Configuration SMTP"
############################################################################
#### ABOUT SECTIONS
############################################################################
[main.smtp]
name = ""
## (optional) This help properties is a short help displayed on the same line
optional = false
[main.smtp.smtp_host]
ask.fr = "Serveur SMTP"
type = "string"
bind = "SMTP_HOST:__INSTALL_DIR__/config.local.php"
[main.smtp.smtp_port]
ask.fr = "Port"
min = 25
type = "number"
bind = "SMTP_PORT:__INSTALL_DIR__/config.local.php"
[main.smtp.smtp_user]
ask.fr = "Nom d'utilisateur"
type = "string"
bind = "SMTP_USER:__INSTALL_DIR__/config.local.php"
[main.smtp.smtp_password]
ask.fr = "Mot de passe"
type = "password"
bind = "SMTP_PASSWORD:__INSTALL_DIR__/config.local.php"
[main.smtp.smtp_security]
ask.fr = "Sécurité de la connexion"
type = "select"
choices.NONE = "NONE, pas de chiffrement"
choices.SSL = "SSL, connexion SSL native"
choices.TLS = "TLS, connexion TLS native (le plus sécurisé)"
choices.STARTTLS = "STARTTLS, utilisation de STARTTLS (moyennement sécurisé)"
bind = "SMTP_SECURITY:__INSTALL_DIR__/config.local.php"
[main.smtp.mail_sender]
ask.fr = "Adresse e-mail expéditrice des messages"
type = "string"
bind = "MAIL_SENDER:__INSTALL_DIR__/config.local.php"
[main.smtp.mail_return_path]
ask.fr = "Adresse e-mail expéditrice des messages"
type = "string"
bind = "MAIL_RETURN_PATH:__INSTALL_DIR__/config.local.php"