From e3892f9aeae479f8083015c473cc43d5eb0326d5 Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Wed, 13 Mar 2024 02:39:34 +0100 Subject: [PATCH 1/3] Upgrade to v4.0.0 --- manifest.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/manifest.toml b/manifest.toml index 50e2d23..e00af3f 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"] @@ -51,8 +51,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/archive/refs/tags/4.0.0.tar.gz" + sha256 = "dba5832579cf06d158e8669510b074d1820af31632aa114704f51012b0c19143" autoupdate.strategy = "latest_github_tag" [resources.system_user] From 6e7a88a2c97d618b0e74a033966702501e3f2329 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Sun, 12 May 2024 13:30:34 +0200 Subject: [PATCH 2/3] Fix --- manifest.toml | 9 ++++++--- scripts/install | 4 ++-- scripts/upgrade | 20 +++++++------------- 3 files changed, 15 insertions(+), 18 deletions(-) diff --git a/manifest.toml b/manifest.toml index e00af3f..10a4482 100644 --- a/manifest.toml +++ b/manifest.toml @@ -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/archive/refs/tags/4.0.0.tar.gz" - sha256 = "dba5832579cf06d158e8669510b074d1820af31632aa114704f51012b0c19143" + 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 From 2542760bc226b809472d66fb020453d0fe4ce6ab Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Sun, 12 May 2024 11:30:39 +0000 Subject: [PATCH 3/3] Auto-update READMEs --- ALL_README.md | 8 +++++++ README.md | 28 +++++++++++----------- README_es.md | 61 +++++++++++++++++++++++++++++++++++++++++++++++ README_eu.md | 61 +++++++++++++++++++++++++++++++++++++++++++++++ README_fr.md | 32 ++++++++++++------------- README_gl.md | 61 +++++++++++++++++++++++++++++++++++++++++++++++ README_zh_Hans.md | 61 +++++++++++++++++++++++++++++++++++++++++++++++ 7 files changed, 282 insertions(+), 30 deletions(-) create mode 100644 ALL_README.md create mode 100644 README_es.md create mode 100644 README_eu.md create mode 100644 README_gl.md create mode 100644 README_zh_Hans.md diff --git a/ALL_README.md b/ALL_README.md new file mode 100644 index 0000000..8938aae --- /dev/null +++ b/ALL_README.md @@ -0,0 +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) +- [阅读中文(简体)的 README](README_zh_Hans.md) diff --git a/README.md b/README.md index 5d22134..efe0877 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ @@ -9,10 +9,10 @@ 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) -*[Lire ce readme en français.](./README_fr.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.* +> *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.* ## Overview @@ -30,9 +30,9 @@ 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:** https://demo.directorylister.com/ +**Demo:** ## Screenshots @@ -40,19 +40,19 @@ Directory Lister is the easiest way to expose the contents of any web-accessible ## Documentation and resources -* Official app website: -* Official admin documentation: -* Upstream app code repository: -* YunoHost documentation for this app: -* Report a bug: +- Official app website: +- Official admin documentation: +- Upstream app code repository: +- YunoHost Store: +- Report a bug: ## Developer info -Please send your pull request to the [testing branch](https://github.com/YunoHost-Apps/directorylister_ynh/tree/testing). +Please send your pull request to the [`testing` branch](https://github.com/YunoHost-Apps/directorylister_ynh/tree/testing). -To try the testing branch, please proceed like that. +To try the `testing` branch, please proceed like that: -``` bash +```bash sudo yunohost app install https://github.com/YunoHost-Apps/directorylister_ynh/tree/testing --debug or sudo yunohost app upgrade directorylister -u https://github.com/YunoHost-Apps/directorylister_ynh/tree/testing --debug 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 9318192..674063d 100644 --- a/README_fr.md +++ b/README_fr.md @@ -1,6 +1,6 @@ # Directory Lister pour YunoHost @@ -9,10 +9,10 @@ It shall NOT be edited by hand. [![Installer Directory Lister avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=directorylister) -*[Read this readme in english.](./README.md)* +*[Lire le README dans d'autres langues.](./ALL_README.md)* -> *Ce package vous permet d’installer Directory Lister 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.* +> *Ce package vous permet d’installer Directory Lister rapidement et simplement sur un serveur YunoHost.* +> *Si vous n’avez pas YunoHost, consultez [ce guide](https://yunohost.org/install) pour savoir comment l’installer et en profiter.* ## Vue d’ensemble @@ -29,9 +29,9 @@ 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 :** https://demo.directorylister.com/ +**Démo :** ## Captures d’écran @@ -39,22 +39,22 @@ Directory Lister est le moyen le plus simple d'exposer le contenu de n'importe q ## Documentations et ressources -* Site officiel de l’app : -* Documentation officielle de l’admin : -* Dépôt de code officiel de l’app : -* Documentation YunoHost pour cette app : -* Signaler un bug : +- Site officiel de l’app : +- Documentation officielle de l’admin : +- Dépôt de code officiel de l’app : +- YunoHost Store : +- Signaler un bug : ## Informations pour les développeurs -Merci de faire vos pull request sur la [branche testing](https://github.com/YunoHost-Apps/directorylister_ynh/tree/testing). +Merci de faire vos pull request sur la [branche `testing`](https://github.com/YunoHost-Apps/directorylister_ynh/tree/testing). -Pour essayer la branche testing, procédez comme suit. +Pour essayer la branche `testing`, procédez comme suit : -``` bash +```bash sudo yunohost app install https://github.com/YunoHost-Apps/directorylister_ynh/tree/testing --debug ou sudo yunohost app upgrade directorylister -u https://github.com/YunoHost-Apps/directorylister_ynh/tree/testing --debug ``` -**Plus d’infos sur le packaging d’applications :** \ No newline at end of file +**Plus d’infos sur le packaging d’applications :** diff --git a/README_gl.md b/README_gl.md new file mode 100644 index 0000000..96e90a7 --- /dev/null +++ b/README_gl.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 de funcionamento](https://ci-apps.yunohost.org/ci/badges/directorylister.status.svg) ![Estado de mantemento](https://ci-apps.yunohost.org/ci/badges/directorylister.maintain.svg) + +[![Instalar Directory Lister con YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=directorylister) + +*[Le este README en outros idiomas.](./ALL_README.md)* + +> *Este paquete permíteche instalar Directory Lister de xeito rápido e doado nun servidor YunoHost.* +> *Se non usas YunoHost, le a [documentación](https://yunohost.org/install) para saber como instalalo.* + +## Vista xeral + +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 proporcionada:** 4.0.0~ynh1 + +**Demo:** + +## Capturas de pantalla + +![Captura de pantalla de Directory Lister](./doc/screenshots/Screenshot.png) + +## Documentación e recursos + +- Web oficial da app: +- Documentación oficial para admin: +- Repositorio de orixe do código: +- Tenda YunoHost: +- Informar dun problema: + +## Info de desenvolvemento + +Envía a túa colaboración á [rama `testing`](https://github.com/YunoHost-Apps/directorylister_ynh/tree/testing). + +Para probar a rama `testing`, procede deste xeito: + +```bash +sudo yunohost app install https://github.com/YunoHost-Apps/directorylister_ynh/tree/testing --debug +ou +sudo yunohost app upgrade directorylister -u https://github.com/YunoHost-Apps/directorylister_ynh/tree/testing --debug +``` + +**Máis info sobre o empaquetado da app:** 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 +``` + +**有关应用打包的更多信息:**