From 1192804de93896050676e708f05735e97d89b022 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sun, 14 Mar 2021 23:25:12 +0100 Subject: [PATCH 1/6] Update upgrade --- scripts/upgrade | 1 - 1 file changed, 1 deletion(-) diff --git a/scripts/upgrade b/scripts/upgrade index dc4d419..76c7c59 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -17,7 +17,6 @@ app=$YNH_APP_INSTANCE_NAME domain=$(ynh_app_setting_get --app=$app --key=domain) path_url=$(ynh_app_setting_get --app=$app --key=path) -is_public=$(ynh_app_setting_get --app=$app --key=is_public) final_path=$(ynh_app_setting_get --app=$app --key=final_path) #================================================= From 662ee45875b37aea0955394a6c8f6141b5f8242c Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sun, 14 Mar 2021 23:26:13 +0100 Subject: [PATCH 2/6] Cleaning up --- check_process | 1 - manifest.json | 2 +- scripts/install | 1 - 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/check_process b/check_process index 8d5802c..7970cbc 100644 --- a/check_process +++ b/check_process @@ -14,6 +14,5 @@ upgrade=1 backup_restore=1 multi_instance=1 - port_already_use=0 change_url=1 \ No newline at end of file diff --git a/manifest.json b/manifest.json index ef7a189..54fcae6 100644 --- a/manifest.json +++ b/manifest.json @@ -14,7 +14,7 @@ "email": "" }, "requirements": { - "yunohost": ">= 4.0.0" + "yunohost": ">= 4.1.7" }, "multi_instance": true, "services": [ diff --git a/scripts/install b/scripts/install index e7a0cbc..9fc7f68 100755 --- a/scripts/install +++ b/scripts/install @@ -44,7 +44,6 @@ ynh_script_progression --message="Storing installation settings..." --weight=2 ynh_app_setting_set --app=$app --key=domain --value=$domain ynh_app_setting_set --app=$app --key=path --value=$path_url -ynh_app_setting_set --app=$app --key=is_public --value=$is_public #================================================= # STANDARD MODIFICATIONS From 41da7cd188bfffae97f565ee2e81fd6773ba62ef Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Mon, 15 Mar 2021 09:17:51 +0100 Subject: [PATCH 3/6] Update manifest.json --- manifest.json | 12 ------------ 1 file changed, 12 deletions(-) diff --git a/manifest.json b/manifest.json index 54fcae6..0b0baed 100644 --- a/manifest.json +++ b/manifest.json @@ -25,29 +25,17 @@ { "name": "domain", "type": "domain", - "ask": { - "en": "Choose a domain for Nullboard", - "fr": "Choisissez un nom de domaine pour Nullboard" - }, "example": "domain.org" }, { "name": "path", "type": "path", - "ask": { - "en": "Choose a path for Nullboard", - "fr": "Choisissez un chemin pour Nullboard" - }, "example": "/nullboard", "default": "/nullboard" }, { "name": "is_public", "type": "boolean", - "ask": { - "en": "Is it a public application?", - "fr": "Est-ce une application publique ?" - }, "help": { "en": "If enabled, Nullboard will be accessible by people who doesn’t have an account. This can be changed later via the webadmin.", "fr": "Si cette case est cochée, Nullboard sera accessible aux personnes n’ayant pas de compte. Vous pourrez changer ceci plus tard via la webadmin." From d82f262fe9365e76de161dcbcf7cdce993d71a68 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Mon, 15 Mar 2021 10:34:35 +0100 Subject: [PATCH 4/6] Cleaning up --- manifest.json | 2 +- scripts/install | 4 ++-- scripts/upgrade | 7 +++++++ 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/manifest.json b/manifest.json index 0b0baed..406133a 100644 --- a/manifest.json +++ b/manifest.json @@ -6,7 +6,7 @@ "en": "Minimalist kanban board, focused on compactness and readability", "fr": "Kanban minimaliste, axé sur la compacité et la lisibilité" }, - "version": "1.0~ynh1", + "version": "1.0~ynh2", "url": "https://nullboard.io/preview", "license": "BSD-2-Clause", "maintainer": { diff --git a/scripts/install b/scripts/install index 9fc7f68..0d907a7 100755 --- a/scripts/install +++ b/scripts/install @@ -42,8 +42,8 @@ ynh_webpath_register --app=$app --domain=$domain --path_url=$path_url #================================================= ynh_script_progression --message="Storing installation settings..." --weight=2 -ynh_app_setting_set --app=$app --key=domain --value=$domain -ynh_app_setting_set --app=$app --key=path --value=$path_url +ynh_app_setting_set --app=$app --key=domain --value=$domain +ynh_app_setting_set --app=$app --key=path --value=$path_url #================================================= # STANDARD MODIFICATIONS diff --git a/scripts/upgrade b/scripts/upgrade index 76c7c59..e3d475a 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -36,6 +36,13 @@ if [ -z "$final_path" ]; then ynh_app_setting_set --app=$app --key=final_path --value=$final_path fi +# Cleaning legacy permissions +if ynh_legacy_permissions_exists; then + ynh_legacy_permissions_delete_all + + ynh_app_setting_delete --app=$app --key=is_public +fi + #================================================= # BACKUP BEFORE UPGRADE THEN ACTIVE TRAP #================================================= From 903a0714b2343dfbc048cc5a0a90369e04df204f Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sun, 11 Apr 2021 19:33:06 +0200 Subject: [PATCH 5/6] Fix badges --- README.md | 4 ++-- README_fr.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 4dbda9b..dffea9a 100644 --- a/README.md +++ b/README.md @@ -34,8 +34,8 @@ Nullboard is a minimalist take on a kanban board / a task list manager, designed #### Supported architectures -* x86-64 - [![Build Status](https://ci-apps.yunohost.org/ci/logs/nullboard%20%28Apps%29.svg)](https://ci-apps.yunohost.org/ci/apps/nullboard/) -* ARMv8-A - [![Build Status](https://ci-apps-arm.yunohost.org/ci/logs/nullboard%20%28Apps%29.svg)](https://ci-apps-arm.yunohost.org/ci/apps/nullboard/) +* x86-64 - [![Build Status](https://ci-apps.yunohost.org/ci/logs/nullboard.svg)](https://ci-apps.yunohost.org/ci/apps/nullboard/) +* ARMv8-A - [![Build Status](https://ci-apps-arm.yunohost.org/ci/logs/nullboard.svg)](https://ci-apps-arm.yunohost.org/ci/apps/nullboard/) ## Limitations diff --git a/README_fr.md b/README_fr.md index 01da9b4..700f671 100644 --- a/README_fr.md +++ b/README_fr.md @@ -34,8 +34,8 @@ Nullboard est une version minimaliste d'un tableau Kanban/gestionnaire de liste #### Architectures supportées -* x86-64 - [![Build Status](https://ci-apps.yunohost.org/ci/logs/nullboard%40%28Apps%29.svg)](https://ci-apps.yunohost.org/ci/apps/nullboard/) -* ARMv8-A - [![Build Status](https://ci-apps-arm.yunohost.org/ci/logs/nullboard%20%28Apps%29.svg)](https://ci-apps-arm.yunohost.org/ci/apps/nullboard/) +* x86-64 - [![Build Status](https://ci-apps.yunohost.org/ci/logs/nullboard.svg)](https://ci-apps.yunohost.org/ci/apps/nullboard/) +* ARMv8-A - [![Build Status](https://ci-apps-arm.yunohost.org/ci/logs/nullboard.svg)](https://ci-apps-arm.yunohost.org/ci/apps/nullboard/) ## Limitations From abf8d2e5ce37f2042845e1356339a2aee1c8ad42 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sun, 11 Apr 2021 19:35:58 +0200 Subject: [PATCH 6/6] Update app.src --- conf/app.src | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/app.src b/conf/app.src index f95eb29..888851a 100644 --- a/conf/app.src +++ b/conf/app.src @@ -1,5 +1,5 @@ -SOURCE_URL=https://github.com/apankrat/nullboard/archive/d449da9f54677ef9ef5c066106e78c0b16be996a.tar.gz -SOURCE_SUM=1126b02a8626e6685c4b6f1892ea43a6e3aa7a04cc91243bea672d10268435e8 +SOURCE_URL=https://github.com/apankrat/nullboard/archive/556147be5da1aaac4d86d2ce4dc11a1bbd10738a.tar.gz +SOURCE_SUM=b88e4247e83b998d623f1beb880c3233989ecb513dbe74d1f019f22a49e719fd SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.gz SOURCE_IN_SUBDIR=true