mirror of
https://github.com/YunoHost-Apps/simple-file-manager_ynh.git
synced 2024-09-03 20:25:58 +02:00
commit
c5b4643bb0
10 changed files with 43 additions and 29 deletions
10
README.md
10
README.md
|
@ -3,15 +3,15 @@ N.B.: This README was automatically generated by https://github.com/YunoHost/app
|
|||
It shall NOT be edited by hand.
|
||||
-->
|
||||
|
||||
# simple-file-manager for YunoHost
|
||||
# Simple File Manager for YunoHost
|
||||
|
||||
[](https://dash.yunohost.org/appci/app/simple-file-manager)  
|
||||
|
||||
[](https://install-app.yunohost.org/?app=simple-file-manager)
|
||||
[](https://install-app.yunohost.org/?app=simple-file-manager)
|
||||
|
||||
*[Lire ce readme en français.](./README_fr.md)*
|
||||
|
||||
> *This package allows you to install simple-file-manager quickly and simply on a YunoHost server.
|
||||
> *This package allows you to install Simple File Manager 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
|
||||
|
@ -32,12 +32,12 @@ A Simple PHP file manager. The code is a single php file.
|
|||
|
||||
## Screenshots
|
||||
|
||||

|
||||

|
||||
|
||||
## Documentation and resources
|
||||
|
||||
* Upstream app code repository: <https://github.com/jcampbell1/simple-file-manager>
|
||||
* YunoHost documentation for this app: <https://yunohost.org/app_simple-file-manager>
|
||||
* YunoHost Store: <https://apps.yunohost.org/app/simple-file-manager>
|
||||
* Report a bug: <https://github.com/YunoHost-Apps/simple-file-manager_ynh/issues>
|
||||
|
||||
## Developer info
|
||||
|
|
21
README_fr.md
21
README_fr.md
|
@ -3,32 +3,41 @@ N.B.: This README was automatically generated by https://github.com/YunoHost/app
|
|||
It shall NOT be edited by hand.
|
||||
-->
|
||||
|
||||
# simple-file-manager pour YunoHost
|
||||
# Simple File Manager pour YunoHost
|
||||
|
||||
[](https://dash.yunohost.org/appci/app/simple-file-manager)  
|
||||
|
||||
[](https://install-app.yunohost.org/?app=simple-file-manager)
|
||||
[](https://install-app.yunohost.org/?app=simple-file-manager)
|
||||
|
||||
*[Read this readme in english.](./README.md)*
|
||||
|
||||
> *Ce package vous permet d’installer simple-file-manager rapidement et simplement sur un serveur YunoHost.
|
||||
> *Ce package vous permet d’installer Simple File Manager 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
|
||||
|
||||
Ceci est une fausse description des fonctionalités de l'app
|
||||
Un gestionnaire de fichiers PHP simple. Le code est un seul fichier php.
|
||||
|
||||
### Caractéristiques
|
||||
|
||||
- Fichier unique, il n'y a pas d'images ou de dossiers CSS.
|
||||
- Basé sur Ajax, il est donc rapide, mais ne casse pas le bouton de retour
|
||||
- Autorise les téléchargements de fichiers par glisser-déposer si le dossier est accessible en écriture par le serveur Web (`chmod 777 votre/dossier`)
|
||||
- Convient à mon esthétique. Plus comme Dropbox, et moins comme l'Explorateur Windows
|
||||
- Fonctionne avec les noms de fichiers Unicode
|
||||
- L'interface est utilisable depuis un iPad
|
||||
- Protection XSRF et mot de passe en option.
|
||||
|
||||
**Version incluse :** 1.0~ynh1
|
||||
|
||||
## Captures d’écran
|
||||
|
||||

|
||||

|
||||
|
||||
## Documentations et ressources
|
||||
|
||||
* Dépôt de code officiel de l’app : <https://github.com/jcampbell1/simple-file-manager>
|
||||
* Documentation YunoHost pour cette app : <https://yunohost.org/app_simple-file-manager>
|
||||
* YunoHost Store: <https://apps.yunohost.org/app/simple-file-manager>
|
||||
* Signaler un bug : <https://github.com/YunoHost-Apps/simple-file-manager_ynh/issues>
|
||||
|
||||
## Informations pour les développeurs
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
; Additional php.ini defines, specific to this pool of workers.
|
||||
|
||||
php_admin_value[upload_max_filesize] = 100M
|
||||
php_admin_value[post_max_size] = 100M
|
||||
php_admin_value[upload_max_filesize] = 500M
|
||||
php_admin_value[post_max_size] = 500M
|
||||
|
|
|
@ -7,7 +7,7 @@ location __PATH__/ {
|
|||
index index.php;
|
||||
|
||||
# Common parameter to increase upload size limit in conjunction with dedicated php-fpm file
|
||||
client_max_body_size 100M;
|
||||
client_max_body_size 500M;
|
||||
|
||||
try_files $uri $uri/ index.php;
|
||||
location ~ [^/]\.php(/|$) {
|
||||
|
|
|
@ -1 +1,11 @@
|
|||
Ceci est une fausse description des fonctionalités de l'app
|
||||
Un gestionnaire de fichiers PHP simple. Le code est un seul fichier php.
|
||||
|
||||
### Caractéristiques
|
||||
|
||||
- Fichier unique, il n'y a pas d'images ou de dossiers CSS.
|
||||
- Basé sur Ajax, il est donc rapide, mais ne casse pas le bouton de retour
|
||||
- Autorise les téléchargements de fichiers par glisser-déposer si le dossier est accessible en écriture par le serveur Web (`chmod 777 votre/dossier`)
|
||||
- Convient à mon esthétique. Plus comme Dropbox, et moins comme l'Explorateur Windows
|
||||
- Fonctionne avec les noms de fichiers Unicode
|
||||
- L'interface est utilisable depuis un iPad
|
||||
- Protection XSRF et mot de passe en option.
|
|
@ -1,7 +1,7 @@
|
|||
packaging_format = 2
|
||||
|
||||
id = "simple-file-manager"
|
||||
name = "simple-file-manager"
|
||||
name = "Simple File Manager"
|
||||
description.en = "Simple PHP file manager"
|
||||
description.fr = "Gestionnaire de fichiers PHP simple"
|
||||
|
||||
|
@ -17,8 +17,11 @@ code = "https://github.com/jcampbell1/simple-file-manager"
|
|||
yunohost = ">= 11.2"
|
||||
architectures = "all"
|
||||
multi_instance = true
|
||||
|
||||
ldap = false
|
||||
|
||||
sso = false
|
||||
|
||||
disk = "50M"
|
||||
ram.build = "50M"
|
||||
ram.runtime = "50M"
|
||||
|
@ -35,11 +38,6 @@ ram.runtime = "50M"
|
|||
type = "group"
|
||||
default = "visitors"
|
||||
|
||||
#[install.password]
|
||||
#help.en = "Use the help field to add an information for the admin about this question."
|
||||
#help.fr = "Utilisez le champ aide pour ajouter une information à l'intention de l'administrateur à propos de cette question."
|
||||
#type = "password"
|
||||
|
||||
[resources]
|
||||
|
||||
[resources.sources]
|
||||
|
|
|
@ -33,12 +33,6 @@ ynh_backup --src_path="/etc/nginx/conf.d/$domain.d/$app.conf"
|
|||
|
||||
ynh_backup --src_path="/etc/php/$phpversion/fpm/pool.d/$app.conf"
|
||||
|
||||
#=================================================
|
||||
# BACKUP SYSTEMD
|
||||
#=================================================
|
||||
|
||||
ynh_backup --src_path="/etc/systemd/system/$app.service"
|
||||
|
||||
#=================================================
|
||||
# END OF SCRIPT
|
||||
#=================================================
|
||||
|
|
|
@ -19,6 +19,7 @@ ynh_script_progression --message="Setting up source files..." --weight=1
|
|||
# Download, check integrity, uncompress and patch the source from app.src
|
||||
ynh_setup_source --dest_dir="$install_dir"
|
||||
|
||||
chmod -R o-rwx "$install_dir"
|
||||
chown -R $app:www-data "$install_dir"
|
||||
|
||||
#=================================================
|
||||
|
@ -27,7 +28,7 @@ chown -R $app:www-data "$install_dir"
|
|||
ynh_script_progression --message="Adding system configurations related to $app..." --weight=1
|
||||
|
||||
# Create a dedicated PHP-FPM config using the conf/php-fpm.conf or conf/extra_php-fpm.conf
|
||||
ynh_add_fpm_config --usage=low --footprint=low
|
||||
ynh_add_fpm_config
|
||||
|
||||
# Create a dedicated NGINX config using the conf/nginx.conf template
|
||||
ynh_add_nginx_config
|
||||
|
|
|
@ -17,6 +17,7 @@ ynh_script_progression --message="Restoring the app main directory..." --weight=
|
|||
|
||||
ynh_restore_file --origin_path="$install_dir"
|
||||
|
||||
chmod -R o-rwx "$install_dir"
|
||||
chown -R $app:www-data "$install_dir"
|
||||
|
||||
#=================================================
|
||||
|
|
|
@ -25,6 +25,7 @@ then
|
|||
ynh_setup_source --dest_dir="$install_dir"
|
||||
fi
|
||||
|
||||
chmod -R o-rwx "$install_dir"
|
||||
chown -R $app:www-data "$install_dir"
|
||||
|
||||
#=================================================
|
||||
|
@ -32,7 +33,7 @@ chown -R $app:www-data "$install_dir"
|
|||
#=================================================
|
||||
ynh_script_progression --message="Upgrading system configurations related to $app..." --weight=1
|
||||
|
||||
ynh_add_fpm_config --usage=low --footprint=low
|
||||
ynh_add_fpm_config
|
||||
|
||||
ynh_add_nginx_config
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue