diff --git a/manifest.json b/manifest.json index 872fd07..55e75fc 100644 --- a/manifest.json +++ b/manifest.json @@ -4,10 +4,10 @@ "packaging_format": 1, "license": "LGPL-2.1,GPL-2.0", "url": "https://sogo.nu/", - "version": "4.0.7-1~ynh2", + "version": "5.0.1~ynh1", "description": { - "en": "An opensource groupware for E-Mail, Contacts and Calender.", - "fr": "Un groupware opensource pour les e-mail, contacts et calendrier" + "en": "Opensource groupware for E-Mail, Contacts and Calender", + "fr": "Groupware opensource pour les e-mail, contacts et calendrier" }, "maintainer": { "name": "Josué Tille", @@ -30,29 +30,15 @@ "install" : [ { "name": "domain", - "type": "domain", - "ask": { - "en": "Choose a domain name for SOGo", - "fr": "Choisissez un nom de domaine pour SOGo" - }, - "example": "example.com" + "type": "domain" }, { "name": "admin", - "type": "user", - "ask": { - "en": "Choose an admin user", - "fr": "Choisissez l’administrateur" - }, - "example": "johndoe" + "type": "user" }, { "name": "is_public", "type": "boolean", - "ask": { - "en": "Is it a public site ? To be able to use caldav and cardav you need to set as public.", - "fr": "Est-ce un site public ? Pour pouvoir utiliser caldav et cardav vous devz mettre en public." - }, "help": { "en": "If it's not public, everybody which want to access to any page of SOGo need to be authenticated on the SSO. On the public mode anybody can access to the authentication page. The shared calendar will be also accessible by anybody who has this link", "fr": "Si n'est pas publique, n'importe qui veux accéder à n'importe quelle page de SOGo doit être authentifié dans le SSO. Dans le mode publique n'importe qui peut accéder à la page d'authentification de SOGo. Les agenda partagé seront aussi accessible par n'import qui qui à ce liens." diff --git a/scripts/install b/scripts/install index 8e6324d..6ffb8b4 100755 --- a/scripts/install +++ b/scripts/install @@ -36,7 +36,6 @@ smtp_port=$(ynh_find_port --port $((port+1))) # STORE SETTINGS FROM MANIFEST ynh_script_progression --message="Storing installation settings..." ynh_app_setting_set --app $app --key admin --value $admin -ynh_app_setting_set --app $app --key is_public --value $is_public ynh_app_setting_set --app $app --key smtp_port --value $smtp_port ynh_app_setting_set --app $app --key web_port --value $port diff --git a/scripts/upgrade b/scripts/upgrade index 8e6e654..c7e1e23 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -20,7 +20,6 @@ ynh_script_progression --message="Loading installation settings..." domain=$(ynh_app_setting_get --app $app --key domain) path_url=$(ynh_normalize_url_path --path_url $(ynh_app_setting_get --app $app --key path)) admin=$(ynh_app_setting_get --app $app --key admin) -is_public=$(ynh_app_setting_get --app $app --key is_public) port=$(ynh_app_setting_get --app $app --key web_port) smtp_port=$(ynh_app_setting_get --app $app --key smtp_port) db_name=$(ynh_app_setting_get --app $app --key db_name) @@ -43,18 +42,6 @@ ynh_abort_if_errors ynh_script_progression --message="Fixing old settings..." --weight=1 -if [[ ${is_public,,*} = "yes" ]] -then - is_public=1 - ynh_app_setting_set --app $app --key is_public --value 1 -fi - -if [[ ${is_public,,*} = "no" ]] -then - is_public=0 - ynh_app_setting_set --app $app --key is_public --value 0 -fi - if [[ -z $port ]] then # Find a port for SOGo