From 6a683698adec474e5bfa661415d015494d91691c Mon Sep 17 00:00:00 2001 From: Locness <37651007+locness3@users.noreply.github.com> Date: Tue, 14 Jul 2020 11:08:52 +0200 Subject: [PATCH 1/3] Improve the sentence for the backup core only option --- manifest.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/manifest.json b/manifest.json index fc565f7..2d52fd0 100644 --- a/manifest.json +++ b/manifest.json @@ -73,8 +73,8 @@ "name": "backup_core_only", "type": "boolean", "ask": { - "en": "In a case of backup should I only backup the core of the app ? (your uploaded datas to BoZoN as videos, pictures, documents, etc. will not be backuped)", - "fr": "En cas de sauvegarde dois-je seulement sauvegarder le coeur de l'application ? (les fichiers transférés dans BoZoN tels que les vidéos, images, documents, etc. ne seront pas sauvegardés)" + "en": "When backing up, should only the core of the app be backed up ? (uploaded files to BoZoN such as videos, pictures, documents, etc. will not be backed up)", + "fr": "En cas de sauvegarde, doit-être uniquement sauvegardé le cœur de l'application ? (les fichiers transférés dans BoZoN tels que les vidéos, images, documents, etc. ne seront pas sauvegardés)" }, "default": true } From 4ce8fb11e226eb9e2c744820fca27cdd00f57027 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=89ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sun, 1 Nov 2020 15:48:56 +0100 Subject: [PATCH 2/3] Update README.md --- README.md | 67 ++++++++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 61 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 865655b..9852040 100644 --- a/README.md +++ b/README.md @@ -1,11 +1,66 @@ -# BoZoN package for YunoHost -Minimalist Drag & drop file sharing app +# BoZoN for YunoHost +[![Integration level](https://dash.yunohost.org/integration/bozon.svg)](https://dash.yunohost.org/appci/app/bozon) ![](https://ci-apps.yunohost.org/ci/badges/bozon.status.svg) ![](https://ci-apps.yunohost.org/ci/badges/bozon.maintain.svg) [![Install BoZoN with YunoHost](https://install-app.yunohost.org/install-with-yunohost.png)](https://install-app.yunohost.org/?app=bozon) -[![Integration level](https://dash.yunohost.org/integration/bozon.svg)](https://ci-apps.yunohost.org/jenkins/job/bozon%20%28Community%29/lastBuild/consoleFull) +> *This package allows you to install BoZoN 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 +BoZoN is a minimalist Drag & drop file sharing app. + +**Shipped version:** 2.4.18 + +## Screenshots + +![](Link to a screenshot of this app.) + +## Configuration + +How to configure this app: From an admin panel, a plain file with SSH, or any other way. + +## Documentation + + * Official documentation: Link to the official documentation of this app + * YunoHost documentation: If specific documentation is needed, feel free to contribute. + +## YunoHost specific features + +#### Multi-user support + +* Are LDAP and HTTP auth supported? +* Can the app be used by multiple users? + +#### Supported architectures + +* x86-64 - [![Build Status](https://ci-apps.yunohost.org/ci/logs/bozon%20%28Apps%29.svg)](https://ci-apps.yunohost.org/ci/apps/bozon/) +* ARMv8-A - [![Build Status](https://ci-apps-arm.yunohost.org/ci/logs/bozon%20%28Apps%29.svg)](https://ci-apps-arm.yunohost.org/ci/apps/bozon/) + +## Limitations + +* Any known limitations. + +## Additional information + +* Other info you would like to add about this app. ## Links -* [BoZoN website](http://bozon.pw) -* [BoZoN git repository](https://github.com/broncowdd/BoZoN) -* [YunoHost website](https://yunohost.org/) + + * Report a bug: https://github.com/YunoHost-Apps/bozon_ynh/issues + * App website: http://bozon.pw + * Upstream app repository: https://github.com/broncowdd/BoZoN + * YunoHost website: https://yunohost.org/ + +--- + +## Developer info + +Please send your pull request to the [testing branch](https://github.com/YunoHost-Apps/bozon_ynh/tree/testing). + +To try the testing branch, please proceed like that. +``` +sudo yunohost app install https://github.com/YunoHost-Apps/bozon_ynh/tree/testing --debug +or +sudo yunohost app upgrade bozon -u https://github.com/YunoHost-Apps/bozon_ynh/tree/testing --debug +``` + From cd5600b218f2483ed0141c3d3cf05c923ee3890d Mon Sep 17 00:00:00 2001 From: Alexandre Aubin Date: Mon, 9 Nov 2020 16:07:27 +0100 Subject: [PATCH 3/3] rm -r -> ynh_secure_remove --- scripts/upgrade | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scripts/upgrade b/scripts/upgrade index ad4a7cc..25873f8 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -68,9 +68,9 @@ if [ "$upgrade_type" == "UPGRADE_APP" ]; then ynh_setup_source --dest_dir="$tmpdir" ## clean & copy files needed to final folder myynh_clean_source - [ -e "$tmpdir/config.php" ] && rm "$tmpdir/config.php" + [ -e "$tmpdir/config.php" ] && ynh_secure_remove "$tmpdir/config.php" cp -a "$tmpdir/." "$final_path" - rm -R "$tmpdir" + ynh_secure_remove "$tmpdir" ## set permissions myynh_set_permissions fi