mirror of
https://github.com/YunoHost-Apps/vikunja_ynh.git
synced 2024-09-03 18:06:26 +02:00
enable mail
This commit is contained in:
parent
fef0d6db09
commit
4ac99dcc3c
4 changed files with 9 additions and 7 deletions
|
@ -98,15 +98,15 @@ cors:
|
||||||
|
|
||||||
mailer:
|
mailer:
|
||||||
# Whether to enable the mailer or not. If it is disabled, all users are enabled right away and password reset is not possible.
|
# Whether to enable the mailer or not. If it is disabled, all users are enabled right away and password reset is not possible.
|
||||||
enabled: false
|
enabled: true
|
||||||
# SMTP Host
|
# SMTP Host
|
||||||
host: ""
|
host: "localhost"
|
||||||
# SMTP Host port
|
# SMTP Host port
|
||||||
port: 587
|
port: 25
|
||||||
# SMTP username
|
# SMTP username
|
||||||
username: "user"
|
username: "vikunja"
|
||||||
# SMTP password
|
# SMTP password
|
||||||
password: ""
|
password: "__SMTP_USER_PWD__"
|
||||||
# Wether to skip verification of the tls certificate on the server
|
# Wether to skip verification of the tls certificate on the server
|
||||||
skiptlsverify: false
|
skiptlsverify: false
|
||||||
# The default from address when sending emails
|
# The default from address when sending emails
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
"en": "Self-hosted To-Do list application",
|
"en": "Self-hosted To-Do list application",
|
||||||
"fr": "Application de liste de tâches auto-hébergée"
|
"fr": "Application de liste de tâches auto-hébergée"
|
||||||
},
|
},
|
||||||
"version": "0.18.1~ynh2",
|
"version": "0.18.1~ynh3",
|
||||||
"url": "https://vikunja.io/",
|
"url": "https://vikunja.io/",
|
||||||
"upstream": {
|
"upstream": {
|
||||||
"license": "GPL-3.0",
|
"license": "GPL-3.0",
|
||||||
|
|
|
@ -123,6 +123,8 @@ ynh_add_nginx_config
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Adding a configuration file..." --weight=1
|
ynh_script_progression --message="Adding a configuration file..." --weight=1
|
||||||
|
|
||||||
|
smtp_user_pwd=$(ynh_string_random --length=24)
|
||||||
|
ynh_app_setting_set --app=$app --key=path --value=$smtp_user_pwd
|
||||||
redis_db=$(ynh_redis_get_free_db)
|
redis_db=$(ynh_redis_get_free_db)
|
||||||
ynh_add_config --template="../conf/config.yml" --destination="/etc/vikunja/config.yml"
|
ynh_add_config --template="../conf/config.yml" --destination="/etc/vikunja/config.yml"
|
||||||
|
|
||||||
|
|
|
@ -26,11 +26,11 @@ db_user=$db_name
|
||||||
db_pwd=$(ynh_app_setting_get --app=$app --key=psqlpwd)
|
db_pwd=$(ynh_app_setting_get --app=$app --key=psqlpwd)
|
||||||
timezone="$(cat /etc/timezone)"
|
timezone="$(cat /etc/timezone)"
|
||||||
secret=$(ynh_string_random --length=32)
|
secret=$(ynh_string_random --length=32)
|
||||||
|
smtp_user_pwd=$(ynh_app_setting_get --app=$app --key=smtp_user_pwd)
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# CHECK VERSION
|
# CHECK VERSION
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Checking version..."
|
|
||||||
|
|
||||||
upgrade_type=$(ynh_check_app_version_changed)
|
upgrade_type=$(ynh_check_app_version_changed)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue