1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/nullboard_ynh.git synced 2024-09-03 19:46:08 +02:00

Merge pull request #5 from YunoHost-Apps/testing

Testing
This commit is contained in:
Éric Gaspar 2021-10-04 21:32:56 +02:00 committed by GitHub
commit d54152ac85
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
6 changed files with 60 additions and 88 deletions

View file

@ -1,3 +1,8 @@
<!--
N.B.: This README was automatically generated by https://github.com/YunoHost/apps/tree/master/tools/README-generator
It shall NOT be edited by hand.
-->
# Nullboard for YunoHost # 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) [![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)* *[Lire ce readme en français.](./README_fr.md)*
> *This package allow you to install Nullboard quickly and simply on a YunoHost server. > *This package allows you to install Nullboard quickly and simply on a YunoHost server.
If you dont have YunoHost, please see [here](https://yunohost.org/#/install) to know how to install and enjoy it.* If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/install) to learn how to install it.*
## Overview ## 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~ynh4
**Demo:** https://nullboard.io/preview
## Screenshots ## Screenshots
![](https://camo.githubusercontent.com/700edd0af42b2fe7ca91961691d856e05bd1d9aeb7966b1da2478d7ccce863a5/68747470733a2f2f6e756c6c626f6172642e696f2f696d616765732f6e756c6c626f6172642d6578616d706c652d616c742e706e673f7a) ![](./doc/screenshots/screenshot.png)
## Demo ## Disclaimers / important information
* [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/)
## Limitations ## Limitations
* :warning: Uses localStorage for storing boards/lists/notes, so be careful around clearing your cache. * :warning: Uses localStorage for storing boards/lists/notes, so be careful around clearing your cache.
## Links ## Documentation and resources
* 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 * 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/
--- ## Developer info
## Developers info Please send your pull request to the [testing branch](https://github.com/YunoHost-Apps/nullboard_ynh/tree/testing).
Please do 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. 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 or
sudo yunohost app upgrade nullboard -u https://github.com/YunoHost-Apps/nullboard_ynh/tree/testing --debug 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

View file

@ -1,54 +1,38 @@
# Nullboard pour YunoHost # 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) [![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 dinstaller Nullboard rapidement et simplement sur un serveur YunoHost. > *Ce package vous permet d'installer Nullboard rapidement et simplement sur un serveur YunoHost.
Si vous navez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment linstaller et en profiter.* Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour savoir comment l'installer et en profiter.*
## Vue densemble ## 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~ynh4
![](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 ## Avertissements / informations importantes
* 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/)
## Limitations ## Limitations
* :warning: Utilise localStorage pour stocker les tableaux/listes/notes, soyez prudent lorsque vous effacez votre cache. * :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 officiel de l'app : https://nullboard.io/
* Site de l'application : https://nullboard.io/preview * Dépôt de code officiel de l'app : https://github.com/apankrat/nullboard
* Dépôt de lapplication principale : https://github.com/apankrat/nullboard * Documentation YunoHost pour cette app : https://yunohost.org/app_nullboard
* Site web YunoHost : https://yunohost.org/ * Signaler un bug : https://github.com/YunoHost-Apps/nullboard_ynh/issues
---
## Informations pour les développeurs ## Informations pour les développeurs
@ -60,3 +44,5 @@ sudo yunohost app install https://github.com/YunoHost-Apps/nullboard_ynh/tree/te
ou ou
sudo yunohost app upgrade nullboard -u https://github.com/YunoHost-Apps/nullboard_ynh/tree/testing --debug 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

View file

@ -1,6 +1,5 @@
SOURCE_URL=https://github.com/apankrat/nullboard/archive/15da6226d3bc9641701a84c89a6ee01c08a416dc.tar.gz SOURCE_URL=https://github.com/apankrat/nullboard/archive/f803756b054d1cf4aa2094800e1ac4a0561df9df.tar.gz
SOURCE_SUM=5143bdedf4c9e7e86e86666e37643a0b775656db80dade826687445d65feb11d SOURCE_SUM=b24f38872c8d4327ea570c41e0454dd9bce0b6f337c68aa3440fc7ac42901912
SOURCE_SUM_PRG=sha256sum SOURCE_SUM_PRG=sha256sum
SOURCE_FORMAT=tar.gz SOURCE_FORMAT=tar.gz
SOURCE_IN_SUBDIR=true SOURCE_IN_SUBDIR=true
SOURCE_FILENAME=

View file

@ -6,7 +6,7 @@
"en": "Minimalist kanban board, focused on compactness and readability", "en": "Minimalist kanban board, focused on compactness and readability",
"fr": "Kanban minimaliste, axé sur la compacité et la lisibilité" "fr": "Kanban minimaliste, axé sur la compacité et la lisibilité"
}, },
"version": "1.0~ynh3", "version": "1.0~ynh4",
"url": "https://nullboard.io/preview", "url": "https://nullboard.io/preview",
"upstream": { "upstream": {
"license": "BSD-2-Clause", "license": "BSD-2-Clause",
@ -30,8 +30,7 @@
"install" : [ "install" : [
{ {
"name": "domain", "name": "domain",
"type": "domain", "type": "domain"
"example": "domain.org"
}, },
{ {
"name": "path", "name": "path",

View file

@ -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_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 \ test ! -d $final_path \
|| ynh_die --message="There is already a directory: $final_path " || ynh_die --message="There is already a directory: $final_path "

View file

@ -25,6 +25,20 @@ final_path=$(ynh_app_setting_get --app=$app --key=final_path)
upgrade_type=$(ynh_check_app_version_changed) 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 # ENSURE DOWNWARD COMPATIBILITY
#================================================= #=================================================
@ -51,20 +65,6 @@ ynh_script_progression --message="Making sure dedicated system user exists..." -
# Create a dedicated user (if not existing) # Create a dedicated user (if not existing)
ynh_system_user_create --username=$app --home_dir="$final_path" 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 # DOWNLOAD, CHECK AND UNPACK SOURCE
#================================================= #=================================================