From 3ef80bbd8be98b3b9e250897efc253ad63a331c5 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Sat, 28 Aug 2021 17:02:23 +0200 Subject: [PATCH 1/3] Fix --- conf/nginx.conf | 3 +-- conf/php-fpm.conf | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 74cfd3b..5a58c39 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -11,8 +11,7 @@ location __PATH__/ { index ifm.php; - # Common parameter to increase upload size limit in conjunction with dedicated php-fpm file - #client_max_body_size 50M; + client_max_body_size 100M; try_files $uri $uri/ index.php; location ~ [^/]\.php(/|$) { diff --git a/conf/php-fpm.conf b/conf/php-fpm.conf index ab1a471..676c75d 100644 --- a/conf/php-fpm.conf +++ b/conf/php-fpm.conf @@ -419,8 +419,8 @@ chdir = __FINALPATH__ ;php_admin_value[memory_limit] = 32M ; Common values to change to increase file upload limit -; php_admin_value[upload_max_filesize] = 50M -; php_admin_value[post_max_size] = 50M +php_admin_value[upload_max_filesize] = 100M +php_admin_value[post_max_size] = 100M ; php_admin_flag[mail.add_x_header] = Off ; Other common parameters From 140f26bd23da5c1ff64f7f2414563d76904d5b7c Mon Sep 17 00:00:00 2001 From: Yunohost-Bot <> Date: Sat, 28 Aug 2021 17:31:45 +0000 Subject: [PATCH 2/3] Auto-update README --- README.md | 4 ++-- README_fr.md | 23 +++++++++++------------ 2 files changed, 13 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 95610df..368b663 100644 --- a/README.md +++ b/README.md @@ -26,7 +26,7 @@ The IFM is a web-based filemanager, which comes as a single file solution using - extract archives (tar, tgz, tar.gz, tar.bz2, zip) - change permissions - image preview -- simple authentication (LDAP via ldap_bind possible) +- simple authentication (LDAP via `ldap_bind` possible) **Shipped version:** 2.6.3~ynh1 @@ -39,7 +39,7 @@ The IFM is a web-based filemanager, which comes as a single file solution using ## Disclaimers / important information -The IFM is usually locked to it's own directory (`/home/yunohost.app.ifm`), so you are not able to go above. You can change that by setting `env[IFM_ROOT_DIR] = /home/yunohost.app.ifm` in the PHP config `/etc/php/7.3/fpm/pool.d/ifm.conf` L.434 with this [documentation](https://github.com/misterunknown/ifm/wiki/Configuration). +The IFM is usually locked to it's own directory (`/home/yunohost.app.ifm`), so you are not able to go above. You can change that by setting `env[IFM_ROOT_DIR] = /home/yunohost.app.ifm` in the PHP config `/etc/php/7.3/fpm/pool.d/ifm.conf` L.434 with the help of this [documentation](https://github.com/misterunknown/ifm/wiki/Configuration). ## Documentation and resources * Official app website: https://github.com/misterunknown/ifm diff --git a/README_fr.md b/README_fr.md index 97ec1c6..225369c 100644 --- a/README_fr.md +++ b/README_fr.md @@ -11,19 +11,18 @@ Si vous n'avez pas YunoHost, regardez [ici](https://yunohost.org/#/install) pour ## Vue d'ensemble -The IFM is a web-based filemanager, which comes as a single file solution using HTML5, CSS3, JavaScript and PHP. +L'IFM est un gestionnaire de fichiers basé sur le Web, qui se présente sous la forme d'un fichier unique utilisant HTML5, CSS3, JavaScript et PHP. -### features - -- create/edit files and directories -- copy/move files and directories -- download files and directories -- upload files directly, remotely via URL or per drag & drop -- extract archives (tar, tgz, tar.gz, tar.bz2, zip) -- change permissions -- image preview -- simple authentication (LDAP via ldap_bind possible) +### caractéristiques +- créer/éditer des fichiers et des répertoires +- copier/déplacer des fichiers et des répertoires +- télécharger des fichiers et des répertoires +- télécharger des fichiers directement, à distance via URL ou par glisser-déposer +- extraire les archives (tar, tgz, tar.gz, tar.bz2, zip) +- modifier les autorisations +- aperçu de l'image +- authentification simple (LDAP via `ldap_bind` possible) **Version incluse :** 2.6.3~ynh1 @@ -35,7 +34,7 @@ The IFM is a web-based filemanager, which comes as a single file solution using ## Avertissements / informations importantes -The IFM is usually locked to it's own directory (`/home/yunohost.app.ifm`), so you are not able to go above. You can change that by setting `env[IFM_ROOT_DIR] = /home/yunohost.app.ifm` in the PHP config `/etc/php/7.3/fpm/pool.d/ifm.conf` L.434 with this [documentation](https://github.com/misterunknown/ifm/wiki/Configuration). +L'IFM est généralement verrouillé dans son propre répertoire (`/home/yunohost.app.ifm`), vous ne pouvez donc pas aller sur d'autres répertoires. Vous pouvez changer cela en définissant `env[IFM_ROOT_DIR] = /home/yunohost.app.ifm` dans la configuration PHP `/etc/php/7.3/fpm/pool.d/ifm.conf` L.434 en vous aidant de cette [documentation](https://github.com/misterunknown/ifm/wiki/Configuration). ## Documentations et ressources * Site officiel de l'app : https://github.com/misterunknown/ifm From b665f1cc3b87d66dcbccdad81443b4a74e812b03 Mon Sep 17 00:00:00 2001 From: Yunohost-Bot <> Date: Sat, 28 Aug 2021 21:18:52 +0000 Subject: [PATCH 3/3] Auto-update README --- README.md | 1 - README_fr.md | 1 - 2 files changed, 2 deletions(-) diff --git a/README.md b/README.md index 7d56e7d..b7cb664 100644 --- a/README.md +++ b/README.md @@ -40,7 +40,6 @@ The IFM is a web-based filemanager, which comes as a single file solution using ## Disclaimers / important information The IFM is usually locked to it's own directory (`/home/yunohost.app/ifm`), so you are not able to go above. You can change that by setting `env[IFM_ROOT_DIR] = /home/yunohost.app/ifm` in the PHP config `/etc/php/7.3/fpm/pool.d/ifm.conf` L.434 with the help of this [documentation](https://github.com/misterunknown/ifm/wiki/Configuration). - ## Documentation and resources * Official app website: https://github.com/misterunknown/ifm diff --git a/README_fr.md b/README_fr.md index b7c32b2..089fe81 100644 --- a/README_fr.md +++ b/README_fr.md @@ -35,7 +35,6 @@ L'IFM est un gestionnaire de fichiers basé sur le Web, qui se présente sous la ## Avertissements / informations importantes L'IFM est généralement verrouillé dans son propre répertoire (`/home/yunohost.app/ifm`), vous ne pouvez donc pas aller sur d'autres répertoires. Vous pouvez changer cela en définissant `env[IFM_ROOT_DIR] = /home/yunohost.app/ifm` dans la configuration PHP `/etc/php/7.3/fpm/pool.d/ifm.conf` L.434 en vous aidant de cette [documentation](https://github.com/misterunknown/ifm/wiki/Configuration). - ## Documentations et ressources * Site officiel de l'app : https://github.com/misterunknown/ifm