diff --git a/ALL_README.md b/ALL_README.md
index 3d6c579..8938aae 100644
--- a/ALL_README.md
+++ b/ALL_README.md
@@ -1,6 +1,8 @@
# All available README files by language
- [Read the README in English](README.md)
+- [Lee el README en español](README_es.md)
+- [Irakurri README euskaraz](README_eu.md)
- [Lire le README en français](README_fr.md)
- [Le o README en galego](README_gl.md)
-- [Leggi il “README” in italiano](README_it.md)
+- [阅读中文(简体)的 README](README_zh_Hans.md)
diff --git a/README.md b/README.md
index 47a2c66..efe0877 100644
--- a/README.md
+++ b/README.md
@@ -9,7 +9,7 @@ It shall NOT be edited by hand.
[![Install Directory Lister with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=directorylister)
-*[Read this README is other languages.](./ALL_README.md)*
+*[Read this README in other languages.](./ALL_README.md)*
> *This package allows you to install Directory Lister 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.*
@@ -30,7 +30,7 @@ Directory Lister is the easiest way to expose the contents of any web-accessible
- Multi-lingual
-**Shipped version:** 3.12.3~ynh1
+**Shipped version:** 4.0.0~ynh1
**Demo:**
diff --git a/README_es.md b/README_es.md
new file mode 100644
index 0000000..303cdf7
--- /dev/null
+++ b/README_es.md
@@ -0,0 +1,61 @@
+
+
+# Directory Lister para Yunohost
+
+[![Nivel de integración](https://dash.yunohost.org/integration/directorylister.svg)](https://dash.yunohost.org/appci/app/directorylister) ![Estado funcional](https://ci-apps.yunohost.org/ci/badges/directorylister.status.svg) ![Estado En Mantención](https://ci-apps.yunohost.org/ci/badges/directorylister.maintain.svg)
+
+[![Instalar Directory Lister con Yunhost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=directorylister)
+
+*[Leer este README en otros idiomas.](./ALL_README.md)*
+
+> *Este paquete le permite instalarDirectory Lister rapidamente y simplement en un servidor YunoHost.*
+> *Si no tiene YunoHost, visita [the guide](https://yunohost.org/install) para aprender como instalarla.*
+
+## Descripción general
+
+Directory Lister is the easiest way to expose the contents of any web-accessible folder for browsing and sharing. With a zero configuration, drag-and-drop installation you'll be up and running in less than a minute.
+
+### Features
+
+- Simple installation
+- Light and dark themes
+- Custom sort ordering
+- File search
+- File hashes
+- Readme rendering
+- Zip downloads
+- Multi-lingual
+
+
+**Versión actual:** 4.0.0~ynh1
+
+**Demo:**
+
+## Capturas
+
+![Captura de Directory Lister](./doc/screenshots/Screenshot.png)
+
+## Documentaciones y recursos
+
+- Sitio web oficial:
+- Documentación administrador oficial:
+- Repositorio del código fuente oficial de la aplicación :
+- Catálogo YunoHost:
+- Reportar un error:
+
+## Información para desarrolladores
+
+Por favor enviar sus correcciones a la [`branch testing`](https://github.com/YunoHost-Apps/directorylister_ynh/tree/testing
+
+Para probar la rama `testing`, sigue asÍ:
+
+```bash
+sudo yunohost app install https://github.com/YunoHost-Apps/directorylister_ynh/tree/testing --debug
+o
+sudo yunohost app upgrade directorylister -u https://github.com/YunoHost-Apps/directorylister_ynh/tree/testing --debug
+```
+
+**Mas informaciones sobre el empaquetado de aplicaciones:**
diff --git a/README_eu.md b/README_eu.md
new file mode 100644
index 0000000..70e5c31
--- /dev/null
+++ b/README_eu.md
@@ -0,0 +1,61 @@
+
+
+# Directory Lister YunoHost-erako
+
+[![Integrazio maila](https://dash.yunohost.org/integration/directorylister.svg)](https://dash.yunohost.org/appci/app/directorylister) ![Funtzionamendu egoera](https://ci-apps.yunohost.org/ci/badges/directorylister.status.svg) ![Mantentze egoera](https://ci-apps.yunohost.org/ci/badges/directorylister.maintain.svg)
+
+[![Instalatu Directory Lister YunoHost-ekin](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=directorylister)
+
+*[Irakurri README hau beste hizkuntzatan.](./ALL_README.md)*
+
+> *Pakete honek Directory Lister YunoHost zerbitzari batean azkar eta zailtasunik gabe instalatzea ahalbidetzen dizu.*
+> *YunoHost ez baduzu, kontsultatu [gida](https://yunohost.org/install) nola instalatu ikasteko.*
+
+## Aurreikuspena
+
+Directory Lister is the easiest way to expose the contents of any web-accessible folder for browsing and sharing. With a zero configuration, drag-and-drop installation you'll be up and running in less than a minute.
+
+### Features
+
+- Simple installation
+- Light and dark themes
+- Custom sort ordering
+- File search
+- File hashes
+- Readme rendering
+- Zip downloads
+- Multi-lingual
+
+
+**Paketatutako bertsioa:** 4.0.0~ynh1
+
+**Demoa:**
+
+## Pantaila-argazkiak
+
+![Directory Lister(r)en pantaila-argazkia](./doc/screenshots/Screenshot.png)
+
+## Dokumentazioa eta baliabideak
+
+- Aplikazioaren webgune ofiziala:
+- Administratzaileen dokumentazio ofiziala:
+- Jatorrizko aplikazioaren kode-gordailua:
+- YunoHost Denda:
+- Eman errore baten berri:
+
+## Garatzaileentzako informazioa
+
+Bidali `pull request`a [`testing` abarrera](https://github.com/YunoHost-Apps/directorylister_ynh/tree/testing).
+
+`testing` abarra probatzeko, ondorengoa egin:
+
+```bash
+sudo yunohost app install https://github.com/YunoHost-Apps/directorylister_ynh/tree/testing --debug
+edo
+sudo yunohost app upgrade directorylister -u https://github.com/YunoHost-Apps/directorylister_ynh/tree/testing --debug
+```
+
+**Informazio gehiago aplikazioaren paketatzeari buruz:**
diff --git a/README_fr.md b/README_fr.md
index 14eeaa8..674063d 100644
--- a/README_fr.md
+++ b/README_fr.md
@@ -29,7 +29,7 @@ Directory Lister est le moyen le plus simple d'exposer le contenu de n'importe q
- Multilingue
-**Version incluse :** 3.12.3~ynh1
+**Version incluse :** 4.0.0~ynh1
**Démo :**
diff --git a/README_gl.md b/README_gl.md
index c2688b9..96e90a7 100644
--- a/README_gl.md
+++ b/README_gl.md
@@ -30,7 +30,7 @@ Directory Lister is the easiest way to expose the contents of any web-accessible
- Multi-lingual
-**Versión proporcionada:** 3.12.3~ynh1
+**Versión proporcionada:** 4.0.0~ynh1
**Demo:**
diff --git a/README_zh_Hans.md b/README_zh_Hans.md
new file mode 100644
index 0000000..36dc46e
--- /dev/null
+++ b/README_zh_Hans.md
@@ -0,0 +1,61 @@
+
+
+# YunoHost 上的 Directory Lister
+
+[![集成程度](https://dash.yunohost.org/integration/directorylister.svg)](https://dash.yunohost.org/appci/app/directorylister) ![工作状态](https://ci-apps.yunohost.org/ci/badges/directorylister.status.svg) ![维护状态](https://ci-apps.yunohost.org/ci/badges/directorylister.maintain.svg)
+
+[![使用 YunoHost 安装 Directory Lister](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=directorylister)
+
+*[阅读此 README 的其它语言版本。](./ALL_README.md)*
+
+> *通过此软件包,您可以在 YunoHost 服务器上快速、简单地安装 Directory Lister。*
+> *如果您还没有 YunoHost,请参阅[指南](https://yunohost.org/install)了解如何安装它。*
+
+## 概况
+
+Directory Lister is the easiest way to expose the contents of any web-accessible folder for browsing and sharing. With a zero configuration, drag-and-drop installation you'll be up and running in less than a minute.
+
+### Features
+
+- Simple installation
+- Light and dark themes
+- Custom sort ordering
+- File search
+- File hashes
+- Readme rendering
+- Zip downloads
+- Multi-lingual
+
+
+**分发版本:** 4.0.0~ynh1
+
+**演示:**
+
+## 截图
+
+![Directory Lister 的截图](./doc/screenshots/Screenshot.png)
+
+## 文档与资源
+
+- 官方应用网站:
+- 官方管理文档:
+- 上游应用代码库:
+- YunoHost 商店:
+- 报告 bug:
+
+## 开发者信息
+
+请向 [`testing` 分支](https://github.com/YunoHost-Apps/directorylister_ynh/tree/testing) 发送拉取请求。
+
+如要尝试 `testing` 分支,请这样操作:
+
+```bash
+sudo yunohost app install https://github.com/YunoHost-Apps/directorylister_ynh/tree/testing --debug
+或
+sudo yunohost app upgrade directorylister -u https://github.com/YunoHost-Apps/directorylister_ynh/tree/testing --debug
+```
+
+**有关应用打包的更多信息:**
diff --git a/manifest.toml b/manifest.toml
index 50e2d23..10a4482 100644
--- a/manifest.toml
+++ b/manifest.toml
@@ -5,7 +5,7 @@ name = "Directory Lister"
description.en = "Expose the contents of any web-accessible folder for browsing and sharing"
description.fr = "Exposez le contenu de n'importe quel dossier accessible sur le Web pour la navigation et le partage"
-version = "3.12.3~ynh1"
+version = "4.0.0~ynh1"
maintainers = ["eric_G"]
@@ -17,11 +17,14 @@ admindoc = "https://docs.directorylister.com/"
code = "https://github.com/DirectoryLister/DirectoryLister"
[integration]
-yunohost = ">= 11.1.21"
+yunohost = ">= 11.2"
architectures = "all"
multi_instance = true
+
ldap = false
+
sso = false
+
disk = "50M"
ram.build = "50M"
ram.runtime = "50M"
@@ -51,8 +54,8 @@ ram.runtime = "50M"
[resources.sources.main]
in_subdir = false
- url = "https://github.com/DirectoryLister/DirectoryLister/releases/download/3.12.3/DirectoryLister-3.12.3.tar.gz"
- sha256 = "bda6033c0e1d5a6b9deed094b3aefce7dd22f8aaece71a70474425793e288cad"
+ url = "https://github.com/DirectoryLister/DirectoryLister/releases/download/4.0.0/DirectoryLister-4.0.0.tar.gz"
+ sha256 = "535331654d51d822bc4cd83a81a9de6399badc21da9f039a1451bc9a6427f19a"
autoupdate.strategy = "latest_github_tag"
[resources.system_user]
diff --git a/scripts/install b/scripts/install
index a5df223..8be7c4e 100755
--- a/scripts/install
+++ b/scripts/install
@@ -27,7 +27,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
@@ -39,7 +39,7 @@ ynh_add_nginx_config
#=================================================
ynh_script_progression --message="Adding a configuration file..." --weight=1
-ynh_add_config --template="../conf/.env.example" --destination="$install_dir/.env"
+ynh_add_config --template=".env.example" --destination="$install_dir/.env"
chmod 400 "$install_dir/.env"
chown $app:$app "$install_dir/.env"
diff --git a/scripts/upgrade b/scripts/upgrade
index 2904566..1e5ccc4 100755
--- a/scripts/upgrade
+++ b/scripts/upgrade
@@ -9,21 +9,15 @@
source _common.sh
source /usr/share/yunohost/helpers
-upgrade_type=$(ynh_check_app_version_changed)
-
#=================================================
# "REBUILD" THE APP (DEPLOY NEW SOURCES, RERUN NPM BUILD...)
#=================================================
# DOWNLOAD, CHECK AND UNPACK SOURCE
#=================================================
+ynh_script_progression --message="Upgrading source files..." --weight=1
-if [ "$upgrade_type" == "UPGRADE_APP" ]
-then
- ynh_script_progression --message="Upgrading source files..." --weight=1
-
- # Download, check integrity, uncompress and patch the source from app.src
- ynh_setup_source --dest_dir="$install_dir" --keep=".env"
-fi
+# Download, check integrity, uncompress and patch the source from app.src
+ynh_setup_source --dest_dir="$install_dir" --keep=".env"
chown -R $app:www-data "$install_dir"
@@ -32,7 +26,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
@@ -43,10 +37,10 @@ ynh_add_nginx_config
#=================================================
#ynh_script_progression --message="Updating a configuration file..." --weight=1
-#ynh_add_config --template="some_config_file" --destination="$install_dir/some_config_file"
+#ynh_add_config --template=".env.example" --destination="$install_dir/.env"
-#chmod 400 "$install_dir/some_config_file"
-#chown $app:$app "$install_dir/some_config_file"
+#chmod 400 "$install_dir/.env"
+#chown $app:$app "$install_dir/.env"
#=================================================
# END OF SCRIPT