mirror of
https://github.com/YunoHost-Apps/psitransfer_ynh.git
synced 2024-09-03 20:16:06 +02:00
commit
adc12a2885
8 changed files with 14 additions and 21 deletions
|
@ -20,7 +20,6 @@ Simple open source self-hosted file sharing solution. It's an alternative to pai
|
||||||
|
|
||||||
### Features:
|
### Features:
|
||||||
|
|
||||||
- No accounts, no logins
|
|
||||||
- Mobile friendly responsive interface
|
- Mobile friendly responsive interface
|
||||||
- Resumable up- and downloads ([tus.io](https://tus.io))
|
- Resumable up- and downloads ([tus.io](https://tus.io))
|
||||||
- Set an expire-time for your upload bucket
|
- Set an expire-time for your upload bucket
|
||||||
|
@ -29,7 +28,7 @@ Simple open source self-hosted file sharing solution. It's an alternative to pai
|
||||||
- `/admin` Page lists bucket information (_disabled until you set `adminPass` config value_)
|
- `/admin` Page lists bucket information (_disabled until you set `adminPass` config value_)
|
||||||
|
|
||||||
|
|
||||||
**Shipped version:** 2.1.2~ynh1
|
**Shipped version:** 2.1.2~ynh2
|
||||||
|
|
||||||
## Screenshots
|
## Screenshots
|
||||||
|
|
||||||
|
|
|
@ -18,9 +18,8 @@ Si vous n’avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) po
|
||||||
|
|
||||||
Solution simple de partage de fichiers auto-hébergée open source. PsiTransfer est une alternative aux services payants comme Dropbox, WeTransfer.
|
Solution simple de partage de fichiers auto-hébergée open source. PsiTransfer est une alternative aux services payants comme Dropbox, WeTransfer.
|
||||||
|
|
||||||
### Caractéristiques:
|
### Caractéristiques :
|
||||||
|
|
||||||
- Pas de compte, pas de connexion
|
|
||||||
- Interface réactive adaptée aux mobiles
|
- Interface réactive adaptée aux mobiles
|
||||||
- Mises à jour et téléchargements pouvant être repris ([tus.io](https://tus.io))
|
- Mises à jour et téléchargements pouvant être repris ([tus.io](https://tus.io))
|
||||||
- Définissez une heure d'expiration pour votre bucket de téléchargement
|
- Définissez une heure d'expiration pour votre bucket de téléchargement
|
||||||
|
@ -29,7 +28,7 @@ Solution simple de partage de fichiers auto-hébergée open source. PsiTransfer
|
||||||
- La page `/admin` répertorie les informations sur le compartiment (_disabled jusqu'à ce que vous définissiez la valeur de configuration `adminPass`_)
|
- La page `/admin` répertorie les informations sur le compartiment (_disabled jusqu'à ce que vous définissiez la valeur de configuration `adminPass`_)
|
||||||
|
|
||||||
|
|
||||||
**Version incluse :** 2.1.2~ynh1
|
**Version incluse :** 2.1.2~ynh2
|
||||||
|
|
||||||
## Captures d’écran
|
## Captures d’écran
|
||||||
|
|
||||||
|
|
|
@ -2,7 +2,6 @@ Simple open source self-hosted file sharing solution. It's an alternative to pai
|
||||||
|
|
||||||
### Features:
|
### Features:
|
||||||
|
|
||||||
- No accounts, no logins
|
|
||||||
- Mobile friendly responsive interface
|
- Mobile friendly responsive interface
|
||||||
- Resumable up- and downloads ([tus.io](https://tus.io))
|
- Resumable up- and downloads ([tus.io](https://tus.io))
|
||||||
- Set an expire-time for your upload bucket
|
- Set an expire-time for your upload bucket
|
||||||
|
|
|
@ -1,8 +1,7 @@
|
||||||
Solution simple de partage de fichiers auto-hébergée open source. PsiTransfer est une alternative aux services payants comme Dropbox, WeTransfer.
|
Solution simple de partage de fichiers auto-hébergée open source. PsiTransfer est une alternative aux services payants comme Dropbox, WeTransfer.
|
||||||
|
|
||||||
### Caractéristiques:
|
### Caractéristiques :
|
||||||
|
|
||||||
- Pas de compte, pas de connexion
|
|
||||||
- Interface réactive adaptée aux mobiles
|
- Interface réactive adaptée aux mobiles
|
||||||
- Mises à jour et téléchargements pouvant être repris ([tus.io](https://tus.io))
|
- Mises à jour et téléchargements pouvant être repris ([tus.io](https://tus.io))
|
||||||
- Définissez une heure d'expiration pour votre bucket de téléchargement
|
- Définissez une heure d'expiration pour votre bucket de téléchargement
|
||||||
|
|
|
@ -5,7 +5,7 @@ name = "PsiTransfer"
|
||||||
description.en = "Simple file sharing solution"
|
description.en = "Simple file sharing solution"
|
||||||
description.fr = "Solution simple de partage de fichiers"
|
description.fr = "Solution simple de partage de fichiers"
|
||||||
|
|
||||||
version = "2.1.2~ynh1"
|
version = "2.1.2~ynh2"
|
||||||
|
|
||||||
maintainers = [""]
|
maintainers = [""]
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@ source /usr/share/yunohost/helpers
|
||||||
#=================================================
|
#=================================================
|
||||||
# LOAD SETTINGS
|
# LOAD SETTINGS
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Loading installation settings..."
|
ynh_script_progression --message="Loading installation settings..." --weight=1
|
||||||
|
|
||||||
password=$(ynh_app_setting_get --app=$app --key=password)
|
password=$(ynh_app_setting_get --app=$app --key=password)
|
||||||
|
|
||||||
|
@ -21,14 +21,14 @@ password=$(ynh_app_setting_get --app=$app --key=password)
|
||||||
#=================================================
|
#=================================================
|
||||||
# STOP SYSTEMD SERVICE
|
# STOP SYSTEMD SERVICE
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Stopping a systemd service..."
|
ynh_script_progression --message="Stopping a systemd service..." --weight=1
|
||||||
|
|
||||||
ynh_systemd_action --service_name=$app --action="stop" --log_path="/var/log/$app/$app.log"
|
ynh_systemd_action --service_name=$app --action="stop" --log_path="systemd"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# MODIFY URL IN NGINX CONF
|
# MODIFY URL IN NGINX CONF
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Updating NGINX web server configuration..."
|
ynh_script_progression --message="Updating NGINX web server configuration..." --weight=1
|
||||||
|
|
||||||
ynh_change_url_nginx_config
|
ynh_change_url_nginx_config
|
||||||
|
|
||||||
|
@ -37,10 +37,7 @@ ynh_change_url_nginx_config
|
||||||
#=================================================
|
#=================================================
|
||||||
# UPDATE A CONFIG FILE
|
# UPDATE A CONFIG FILE
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Updating a configuration file..."
|
ynh_script_progression --message="Updating a configuration file..." --weight=1
|
||||||
|
|
||||||
domain=$new_domain
|
|
||||||
path=$new_path
|
|
||||||
|
|
||||||
ynh_add_config --template="../conf/config.production.js" --destination="$install_dir/config.production.js"
|
ynh_add_config --template="../conf/config.production.js" --destination="$install_dir/config.production.js"
|
||||||
|
|
||||||
|
@ -52,10 +49,10 @@ chown $app:$app "$install_dir/config.production.js"
|
||||||
#=================================================
|
#=================================================
|
||||||
# START SYSTEMD SERVICE
|
# START SYSTEMD SERVICE
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Starting a systemd service..."
|
ynh_script_progression --message="Starting a systemd service..." --weight=1
|
||||||
|
|
||||||
# Start a systemd service
|
# Start a systemd service
|
||||||
ynh_systemd_action --service_name=$app --action="start" --log_path="/var/log/$app/$app.log"
|
ynh_systemd_action --service_name=$app --action="start" --log_path="systemd"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# END OF SCRIPT
|
# END OF SCRIPT
|
||||||
|
|
|
@ -63,7 +63,7 @@ ynh_script_progression --message="Installing $app..." --weight=1
|
||||||
|
|
||||||
pushd $install_dir
|
pushd $install_dir
|
||||||
ynh_use_nodejs
|
ynh_use_nodejs
|
||||||
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH $ynh_npm install --production
|
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH $ynh_npm install --production
|
||||||
popd
|
popd
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -73,7 +73,7 @@ ynh_script_progression --message="Upgrading $app..." --weight=1
|
||||||
|
|
||||||
pushd "$install_dir"
|
pushd "$install_dir"
|
||||||
ynh_use_nodejs
|
ynh_use_nodejs
|
||||||
ynh_exec_warn_less sudo -u $app env $ynh_node_load_PATH $ynh_npm install --production
|
ynh_exec_warn_less ynh_exec_as $app env $ynh_node_load_PATH $ynh_npm install --production
|
||||||
popd
|
popd
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Add table
Reference in a new issue