From 08831eb4004a3977e5b6b7db35366744c0366709 Mon Sep 17 00:00:00 2001 From: Thomas <51749973+Thovi98@users.noreply.github.com> Date: Thu, 23 May 2024 08:02:33 +0200 Subject: [PATCH] upgrade to 0.8.4 --- manifest.toml | 9 ++++++++- scripts/install | 2 +- tests.toml | 1 + 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/manifest.toml b/manifest.toml index c0ac553..1ea9eb4 100644 --- a/manifest.toml +++ b/manifest.toml @@ -7,7 +7,7 @@ description.gl = "Rexistra as túas actividades ao aire libre 🚴" description.ca = "Seguiment d'activitats a l'aire lliure autoallotjat 🚴" description.fr = "Traqueur d’activités extérieures auto-hébergé 🚴" -version = "0.8.3~ynh1" +version = "0.8.4~ynh1" maintainers = ["Thovi98"] @@ -51,6 +51,13 @@ ram.runtime = "50M" help.fr = "Choisissez un mot de passe pour l’utilisateur admin ici." type = "password" + [install.language] + ask.en = "Choose the application language" + ask.fr = "Choisissez la langue de l'application" + type = "select" + choices = ["cs", "de", "en", "es", "eu", "fr", "gl", "it", "nb", "nl", "pl", "pt"] + default = "en" + [install.weather_api_provider] ask.en = "(Optional) Choose your weather provider between Darksky and Visual Crossing" ask.gl = "(Optativo) Elixe o provedor de meteoroloxía, entre Darksky e Visual Crossing" diff --git a/scripts/install b/scripts/install index 97bdcc9..4305637 100755 --- a/scripts/install +++ b/scripts/install @@ -80,7 +80,7 @@ source $install_dir/.env ynh_exec_warn_less $install_dir/venv/bin/ftcli db upgrade -ynh_exec_warn_less $install_dir/venv/bin/ftcli users create $admin --email $admin_mail --password $password +ynh_exec_warn_less $install_dir/venv/bin/ftcli users create $admin --email $admin_mail --password $password --lang $language ynh_exec_warn_less $install_dir/venv/bin/ftcli users update $admin --set-admin true diff --git a/tests.toml b/tests.toml index 9b350f6..873d412 100644 --- a/tests.toml +++ b/tests.toml @@ -18,4 +18,5 @@ test_format = 1.0 test_upgrade_from.499f21b.name = "0.7.32" test_upgrade_from.5b6ccd1.name = "0.8.0" test_upgrade_from.6c23ccf.name = "0.8.1" + test_upgrade_from.2c6b69d.name = "0.8.3"