1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/bozon_ynh.git synced 2024-09-03 18:16:09 +02:00

Merge pull request #44 from YunoHost-Apps/testing

Testing
This commit is contained in:
ewilly 2020-11-10 13:09:46 +01:00 committed by GitHub
commit 8444ed0d78
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 65 additions and 10 deletions

View file

@ -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
```

View file

@ -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
}

View file

@ -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