From 0f0955c88f9e8e3c96111682af5011e5d0a675bf Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Fri, 10 Sep 2021 23:36:46 +0200 Subject: [PATCH 1/5] Update restore --- scripts/restore | 2 -- 1 file changed, 2 deletions(-) diff --git a/scripts/restore b/scripts/restore index c05b261..fe6325c 100644 --- a/scripts/restore +++ b/scripts/restore @@ -30,8 +30,6 @@ final_path=$(ynh_app_setting_get --app=$app --key=final_path) #================================================= ynh_script_progression --message="Validating restoration parameters..." --weight=1 -ynh_webpath_available --domain=$domain --path_url=$path_url \ - || ynh_die --message="Path not available: ${domain}${path_url}" test ! -d $final_path \ || ynh_die --message="There is already a directory: $final_path " From 3de6117817a8cd04477e7b96900737abca6ad288 Mon Sep 17 00:00:00 2001 From: Yunohost-Bot <> Date: Fri, 10 Sep 2021 21:36:50 +0000 Subject: [PATCH 2/5] Auto-update README --- README.md | 56 +++++++++++++++++++++------------------------------- README_fr.md | 52 ++++++++++++++++++------------------------------ 2 files changed, 42 insertions(+), 66 deletions(-) diff --git a/README.md b/README.md index dffea9a..dd071fc 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,8 @@ + + # Nullboard for YunoHost [![Integration level](https://dash.yunohost.org/integration/nullboard.svg)](https://dash.yunohost.org/appci/app/nullboard) ![](https://ci-apps.yunohost.org/ci/badges/nullboard.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/nullboard.maintain.svg) @@ -5,54 +10,37 @@ *[Lire ce readme en français.](./README_fr.md)* -> *This package allow you to install Nullboard quickly and simply on a YunoHost server. -If you don’t have YunoHost, please see [here](https://yunohost.org/#/install) to know how to install and enjoy it.* +> *This package allows you to install Nullboard quickly and simply on a YunoHost server. +If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/install) to learn how to install it.* ## Overview -Nullboard is a minimalist take on a kanban board / a task list manager, designed to be compact, readable and quick in use. +Minimalist kanban board, focused on compactness and readability + +**Shipped version:** 1.0~ynh3 + +**Demo:** https://nullboard.io/preview ## Screenshots -![](https://camo.githubusercontent.com/700edd0af42b2fe7ca91961691d856e05bd1d9aeb7966b1da2478d7ccce863a5/68747470733a2f2f6e756c6c626f6172642e696f2f696d616765732f6e756c6c626f6172642d6578616d706c652d616c742e706e673f7a) +![](./doc/screenshots/screenshot.png) -## Demo - -* [Official demo](https://nullboard.io/preview) - -## Documentation - - * Official documentation: https://nullboard.io/preview - * YunoHost documentation: If specific documentation is needed, feel free to contribute. - -## YunoHost specific features - -#### Multi-user support - - * Are LDAP and HTTP auth supported? **No** - * Can the app be used by multiple users? **Yes** - -#### Supported architectures - -* 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/) +## Disclaimers / important information ## Limitations * :warning: Uses localStorage for storing boards/lists/notes, so be careful around clearing your cache. -## Links +## Documentation and resources - * Report a bug: https://github.com/YunoHost-Apps/nullboard_ynh/issues - * App website: https://nullboard.io/preview - * Upstream app repository: https://github.com/apankrat/nullboard - * YunoHost website: https://yunohost.org/ +* Official app website: https://nullboard.io/ +* Upstream app code repository: https://github.com/apankrat/nullboard +* YunoHost documentation for this app: https://yunohost.org/app_nullboard +* Report a bug: https://github.com/YunoHost-Apps/nullboard_ynh/issues ---- +## Developer info -## Developers info - -Please do your pull request to the [testing branch](https://github.com/YunoHost-Apps/nullboard_ynh/tree/testing). +Please send your pull request to the [testing branch](https://github.com/YunoHost-Apps/nullboard_ynh/tree/testing). To try the testing branch, please proceed like that. ``` @@ -60,3 +48,5 @@ sudo yunohost app install https://github.com/YunoHost-Apps/nullboard_ynh/tree/te or sudo yunohost app upgrade nullboard -u https://github.com/YunoHost-Apps/nullboard_ynh/tree/testing --debug ``` + +**More info regarding app packaging:** https://yunohost.org/packaging_apps \ No newline at end of file diff --git a/README_fr.md b/README_fr.md index 700f671..d9e3a9c 100644 --- a/README_fr.md +++ b/README_fr.md @@ -1,54 +1,38 @@ # Nullboard pour YunoHost -[![Integration level](https://dash.yunohost.org/integration/nullboard.svg)](https://dash.yunohost.org/appci/app/nullboard) ![](https://ci-apps.yunohost.org/ci/badges/nullboard.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/nullboard.maintain.svg) +[![Niveau d'intégration](https://dash.yunohost.org/integration/nullboard.svg)](https://dash.yunohost.org/appci/app/nullboard) ![](https://ci-apps.yunohost.org/ci/badges/nullboard.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/nullboard.maintain.svg) [![Installer Nullboard avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=nullboard) -*[Read this readme in english.](./README.md)* +*[Read this readme in english.](./README.md)* +*[Lire ce readme en français.](./README_fr.md)* -> *Ce package vous permet d’installer Nullboard rapidement et simplement sur un serveur YunoHost. -Si vous n’avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment l’installer et en profiter.* +> *Ce package vous permet d'installer Nullboard rapidement et simplement sur un serveur YunoHost. +Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment l'installer et en profiter.* -## Vue d’ensemble +## Vue d'ensemble -Nullboard est une version minimaliste d'un tableau Kanban/gestionnaire de liste de tâches, conçu pour être compact, lisible et rapide à utiliser. +Kanban minimaliste, axé sur la compacité et la lisibilité -## Captures d’écran +**Version incluse :** 1.0~ynh3 -![](https://camo.githubusercontent.com/700edd0af42b2fe7ca91961691d856e05bd1d9aeb7966b1da2478d7ccce863a5/68747470733a2f2f6e756c6c626f6172642e696f2f696d616765732f6e756c6c626f6172642d6578616d706c652d616c742e706e673f7a) +**Démo :** https://nullboard.io/preview -## Démo +## Captures d'écran -* [Démo officielle](https://nullboard.io/preview) +![](./doc/screenshots/screenshot.png) -## Documentation - - * Documentation officielle : https://nullboard.io/preview - * Documentation YunoHost : Si une documentation spécifique est nécessaire, n'hésitez pas à contribuer. - -## Caractéristiques spécifiques YunoHost - -#### Support multi-utilisateur - -* L'authentification LDAP et HTTP est-elle prise en charge ? **Non** -* L'application peut-elle être utilisée par plusieurs utilisateurs ? **Oui** - -#### Architectures supportées - -* 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/) +## Avertissements / informations importantes ## Limitations * :warning: Utilise localStorage pour stocker les tableaux/listes/notes, soyez prudent lorsque vous effacez votre cache. -## Liens +## Documentations et ressources - * Signaler un bug : https://github.com/YunoHost-Apps/nullboard_ynh/issues - * Site de l'application : https://nullboard.io/preview - * Dépôt de l’application principale : https://github.com/apankrat/nullboard - * Site web YunoHost : https://yunohost.org/ - ---- +* Site officiel de l'app : https://nullboard.io/ +* Dépôt de code officiel de l'app : https://github.com/apankrat/nullboard +* Documentation YunoHost pour cette app : https://yunohost.org/app_nullboard +* Signaler un bug : https://github.com/YunoHost-Apps/nullboard_ynh/issues ## Informations pour les développeurs @@ -60,3 +44,5 @@ sudo yunohost app install https://github.com/YunoHost-Apps/nullboard_ynh/tree/te ou sudo yunohost app upgrade nullboard -u https://github.com/YunoHost-Apps/nullboard_ynh/tree/testing --debug ``` + +**Plus d'infos sur le packaging d'applications :** https://yunohost.org/packaging_apps \ No newline at end of file From 29faaf49aa20429622c79cd3a17383bc0932b463 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Tue, 21 Sep 2021 23:59:20 +0200 Subject: [PATCH 3/5] Update manifest.json --- manifest.json | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/manifest.json b/manifest.json index d2e2f0d..c8b248d 100644 --- a/manifest.json +++ b/manifest.json @@ -30,8 +30,7 @@ "install" : [ { "name": "domain", - "type": "domain", - "example": "domain.org" + "type": "domain" }, { "name": "path", From 2832d2f9826b787259044fd80476f1ba7529aae4 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Mon, 4 Oct 2021 17:42:43 +0200 Subject: [PATCH 4/5] Update version --- conf/app.src | 5 ++--- manifest.json | 2 +- scripts/upgrade | 28 ++++++++++++++-------------- 3 files changed, 17 insertions(+), 18 deletions(-) diff --git a/conf/app.src b/conf/app.src index 22e1951..77a76ee 100644 --- a/conf/app.src +++ b/conf/app.src @@ -1,6 +1,5 @@ -SOURCE_URL=https://github.com/apankrat/nullboard/archive/15da6226d3bc9641701a84c89a6ee01c08a416dc.tar.gz -SOURCE_SUM=5143bdedf4c9e7e86e86666e37643a0b775656db80dade826687445d65feb11d +SOURCE_URL=https://github.com/apankrat/nullboard/archive/f803756b054d1cf4aa2094800e1ac4a0561df9df.tar.gz +SOURCE_SUM=b24f38872c8d4327ea570c41e0454dd9bce0b6f337c68aa3440fc7ac42901912 SOURCE_SUM_PRG=sha256sum SOURCE_FORMAT=tar.gz SOURCE_IN_SUBDIR=true -SOURCE_FILENAME= diff --git a/manifest.json b/manifest.json index c8b248d..d85b443 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~ynh3", + "version": "1.0~ynh4", "url": "https://nullboard.io/preview", "upstream": { "license": "BSD-2-Clause", diff --git a/scripts/upgrade b/scripts/upgrade index 16d4ae4..bc883ad 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -25,6 +25,20 @@ final_path=$(ynh_app_setting_get --app=$app --key=final_path) upgrade_type=$(ynh_check_app_version_changed) +#================================================= +# BACKUP BEFORE UPGRADE THEN ACTIVE TRAP +#================================================= +ynh_script_progression --message="Backing up $app before upgrading (may take a while)..." --weight=3 + +# Backup the current version of the app +ynh_backup_before_upgrade +ynh_clean_setup () { + # restore it if the upgrade fails + ynh_restore_upgradebackup +} +# Exit if an error occurs during the execution of the script +ynh_abort_if_errors + #================================================= # ENSURE DOWNWARD COMPATIBILITY #================================================= @@ -51,20 +65,6 @@ ynh_script_progression --message="Making sure dedicated system user exists..." - # Create a dedicated user (if not existing) ynh_system_user_create --username=$app --home_dir="$final_path" -#================================================= -# BACKUP BEFORE UPGRADE THEN ACTIVE TRAP -#================================================= -ynh_script_progression --message="Backing up $app before upgrading (may take a while)..." --weight=3 - -# Backup the current version of the app -ynh_backup_before_upgrade -ynh_clean_setup () { - # restore it if the upgrade fails - ynh_restore_upgradebackup -} -# Exit if an error occurs during the execution of the script -ynh_abort_if_errors - #================================================= # DOWNLOAD, CHECK AND UNPACK SOURCE #================================================= From 6e567a241e186c9ae7d148bab3aa53c691f883d6 Mon Sep 17 00:00:00 2001 From: Yunohost-Bot <> Date: Mon, 4 Oct 2021 15:42:49 +0000 Subject: [PATCH 5/5] Auto-update README --- README.md | 2 +- README_fr.md | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index dd071fc..a053a80 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in Minimalist kanban board, focused on compactness and readability -**Shipped version:** 1.0~ynh3 +**Shipped version:** 1.0~ynh4 **Demo:** https://nullboard.io/preview diff --git a/README_fr.md b/README_fr.md index d9e3a9c..f35920f 100644 --- a/README_fr.md +++ b/README_fr.md @@ -13,7 +13,7 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour Kanban minimaliste, axé sur la compacité et la lisibilité -**Version incluse :** 1.0~ynh3 +**Version incluse :** 1.0~ynh4 **Démo :** https://nullboard.io/preview