From bdb893f1990776078315cc19248b5844f44feeec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Fri, 30 Aug 2024 19:11:49 +0200 Subject: [PATCH 1/4] Update manifest.toml --- manifest.toml | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/manifest.toml b/manifest.toml index 36a417e..4e2da5e 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,7 +5,7 @@ name = "Gossa" description.en = "Fast and simple webserver for your files" description.fr = "Serveur web simple et rapide pour vos fichiers" -version = "1.0.0~ynh1" +version = "1.1.2~ynh1" maintainers = [] @@ -14,7 +14,7 @@ license = "MIT" code = "https://github.com/pldubouilh/gossa" [integration] -yunohost = ">= 11.2" +yunohost = ">= 11.2.28" architectures = ["amd64", "arm64", "armhf"] multi_instance = true ldap = false @@ -38,12 +38,12 @@ ram.runtime = "50M" in_subdir = false extract = false rename = "gossa" - arm64.url = "https://github.com/pldubouilh/gossa/releases/download/v1.0.0/gossa-linux-arm64" - arm64.sha256 = "2c1449e5baac8f526b22a8cef0ccf81dc1d6f07bf115da8411a945d3a527db60" - amd64.url = "https://github.com/pldubouilh/gossa/releases/download/v1.0.0/gossa-linux-x64" - amd64.sha256 = "09673d9e9aee013fd9b3c0c06102111af792e8fca48913c9c60a445efd0dc314" - armhf.url = "https://github.com/pldubouilh/gossa/releases/download/v1.0.0/gossa-linux-arm" - armhf.sha256 = "9fc83341f5ebba5f4804b091760b36bbea99fbc055b1cdd7928a34bd2f1f28db" + arm64.url = "https://github.com/pldubouilh/gossa/releases/download/v1.1.2/gossa-linux-arm64" + arm64.sha256 = "e9beb98337ecc8df95015844cd3677f37265d499790b64e2ac1d56634fe6bc30" + amd64.url = "https://github.com/pldubouilh/gossa/releases/download/v1.1.2/gossa-linux-x64" + amd64.sha256 = "23a0ae14a59e24d6d652570ff13750be0750e8c491320c76fc49735cd4bb3c69" + armhf.url = "https://github.com/pldubouilh/gossa/releases/download/v1.1.2/gossa-linux-arm" + armhf.sha256 = "08d145d8c7c51182ab709059f558416cfd4fc5d0acded8491813056bf62228fa" autoupdate.strategy = "latest_github_release" autoupdate.asset.arm64 = "^gossa-linux-arm64$" From 684da5c298cf930e3f7bd36157d429d9ac86cceb Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Fri, 30 Aug 2024 17:12:10 +0000 Subject: [PATCH 2/4] Auto-update READMEs --- ALL_README.md | 2 ++ README.md | 4 ++-- README_es.md | 4 ++-- README_eu.md | 4 ++-- README_fr.md | 4 ++-- README_gl.md | 4 ++-- README_id.md | 60 +++++++++++++++++++++++++++++++++++++++++++++++ README_ru.md | 60 +++++++++++++++++++++++++++++++++++++++++++++++ README_zh_Hans.md | 4 ++-- 9 files changed, 134 insertions(+), 12 deletions(-) create mode 100644 README_id.md create mode 100644 README_ru.md diff --git a/ALL_README.md b/ALL_README.md index 152f2e7..e3c80d2 100644 --- a/ALL_README.md +++ b/ALL_README.md @@ -5,4 +5,6 @@ - [Irakurri README euskaraz](README_eu.md) - [Lire le README en français](README_fr.md) - [Le o README en galego](README_gl.md) +- [Baca README dalam bahasa bahasa Indonesia](README_id.md) +- [Прочитать README на русский](README_ru.md) - [阅读中文(简体)的 README](README_zh_Hans.md) diff --git a/README.md b/README.md index c8343d5..fb53751 100644 --- a/README.md +++ b/README.md @@ -5,7 +5,7 @@ It shall NOT be edited by hand. # Gossa for YunoHost -[![Integration level](https://dash.yunohost.org/integration/gossa.svg)](https://dash.yunohost.org/appci/app/gossa) ![Working status](https://ci-apps.yunohost.org/ci/badges/gossa.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/gossa.maintain.svg) +[![Integration level](https://dash.yunohost.org/integration/gossa.svg)](https://ci-apps.yunohost.org/ci/apps/gossa/) ![Working status](https://ci-apps.yunohost.org/ci/badges/gossa.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/gossa.maintain.svg) [![Install Gossa with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=gossa) @@ -33,7 +33,7 @@ A fast and simple webserver for your files, that's dependency-free and with unde ✨ PWA enabled -**Shipped version:** 1.0.0~ynh1 +**Shipped version:** 1.1.2~ynh1 ## Screenshots diff --git a/README_es.md b/README_es.md index 7d66929..ba27e38 100644 --- a/README_es.md +++ b/README_es.md @@ -5,7 +5,7 @@ No se debe editar a mano. # Gossa para Yunohost -[![Nivel de integración](https://dash.yunohost.org/integration/gossa.svg)](https://dash.yunohost.org/appci/app/gossa) ![Estado funcional](https://ci-apps.yunohost.org/ci/badges/gossa.status.svg) ![Estado En Mantención](https://ci-apps.yunohost.org/ci/badges/gossa.maintain.svg) +[![Nivel de integración](https://dash.yunohost.org/integration/gossa.svg)](https://ci-apps.yunohost.org/ci/apps/gossa/) ![Estado funcional](https://ci-apps.yunohost.org/ci/badges/gossa.status.svg) ![Estado En Mantención](https://ci-apps.yunohost.org/ci/badges/gossa.maintain.svg) [![Instalar Gossa con Yunhost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=gossa) @@ -33,7 +33,7 @@ A fast and simple webserver for your files, that's dependency-free and with unde ✨ PWA enabled -**Versión actual:** 1.0.0~ynh1 +**Versión actual:** 1.1.2~ynh1 ## Capturas diff --git a/README_eu.md b/README_eu.md index c4cbd1a..3f3937d 100644 --- a/README_eu.md +++ b/README_eu.md @@ -5,7 +5,7 @@ EZ editatu eskuz. # Gossa YunoHost-erako -[![Integrazio maila](https://dash.yunohost.org/integration/gossa.svg)](https://dash.yunohost.org/appci/app/gossa) ![Funtzionamendu egoera](https://ci-apps.yunohost.org/ci/badges/gossa.status.svg) ![Mantentze egoera](https://ci-apps.yunohost.org/ci/badges/gossa.maintain.svg) +[![Integrazio maila](https://dash.yunohost.org/integration/gossa.svg)](https://ci-apps.yunohost.org/ci/apps/gossa/) ![Funtzionamendu egoera](https://ci-apps.yunohost.org/ci/badges/gossa.status.svg) ![Mantentze egoera](https://ci-apps.yunohost.org/ci/badges/gossa.maintain.svg) [![Instalatu Gossa YunoHost-ekin](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=gossa) @@ -33,7 +33,7 @@ A fast and simple webserver for your files, that's dependency-free and with unde ✨ PWA enabled -**Paketatutako bertsioa:** 1.0.0~ynh1 +**Paketatutako bertsioa:** 1.1.2~ynh1 ## Pantaila-argazkiak diff --git a/README_fr.md b/README_fr.md index 5a881b1..88aa80e 100644 --- a/README_fr.md +++ b/README_fr.md @@ -5,7 +5,7 @@ Il NE doit PAS être modifié à la main. # Gossa pour YunoHost -[![Niveau d’intégration](https://dash.yunohost.org/integration/gossa.svg)](https://dash.yunohost.org/appci/app/gossa) ![Statut du fonctionnement](https://ci-apps.yunohost.org/ci/badges/gossa.status.svg) ![Statut de maintenance](https://ci-apps.yunohost.org/ci/badges/gossa.maintain.svg) +[![Niveau d’intégration](https://dash.yunohost.org/integration/gossa.svg)](https://ci-apps.yunohost.org/ci/apps/gossa/) ![Statut du fonctionnement](https://ci-apps.yunohost.org/ci/badges/gossa.status.svg) ![Statut de maintenance](https://ci-apps.yunohost.org/ci/badges/gossa.maintain.svg) [![Installer Gossa avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=gossa) @@ -33,7 +33,7 @@ A fast and simple webserver for your files, that's dependency-free and with unde ✨ PWA enabled -**Version incluse :** 1.0.0~ynh1 +**Version incluse :** 1.1.2~ynh1 ## Captures d’écran diff --git a/README_gl.md b/README_gl.md index 7ce3cdb..cc6b24c 100644 --- a/README_gl.md +++ b/README_gl.md @@ -5,7 +5,7 @@ NON debe editarse manualmente. # Gossa para YunoHost -[![Nivel de integración](https://dash.yunohost.org/integration/gossa.svg)](https://dash.yunohost.org/appci/app/gossa) ![Estado de funcionamento](https://ci-apps.yunohost.org/ci/badges/gossa.status.svg) ![Estado de mantemento](https://ci-apps.yunohost.org/ci/badges/gossa.maintain.svg) +[![Nivel de integración](https://dash.yunohost.org/integration/gossa.svg)](https://ci-apps.yunohost.org/ci/apps/gossa/) ![Estado de funcionamento](https://ci-apps.yunohost.org/ci/badges/gossa.status.svg) ![Estado de mantemento](https://ci-apps.yunohost.org/ci/badges/gossa.maintain.svg) [![Instalar Gossa con YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=gossa) @@ -33,7 +33,7 @@ A fast and simple webserver for your files, that's dependency-free and with unde ✨ PWA enabled -**Versión proporcionada:** 1.0.0~ynh1 +**Versión proporcionada:** 1.1.2~ynh1 ## Capturas de pantalla diff --git a/README_id.md b/README_id.md new file mode 100644 index 0000000..8232cac --- /dev/null +++ b/README_id.md @@ -0,0 +1,60 @@ + + +# Gossa untuk YunoHost + +[![Tingkat integrasi](https://dash.yunohost.org/integration/gossa.svg)](https://ci-apps.yunohost.org/ci/apps/gossa/) ![Status kerja](https://ci-apps.yunohost.org/ci/badges/gossa.status.svg) ![Status pemeliharaan](https://ci-apps.yunohost.org/ci/badges/gossa.maintain.svg) + +[![Pasang Gossa dengan YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=gossa) + +*[Baca README ini dengan bahasa yang lain.](./ALL_README.md)* + +> *Paket ini memperbolehkan Anda untuk memasang Gossa secara cepat dan mudah pada server YunoHost.* +> *Bila Anda tidak mempunyai YunoHost, silakan berkonsultasi dengan [panduan](https://yunohost.org/install) untuk mempelajari bagaimana untuk memasangnya.* + +## Ringkasan + +A fast and simple webserver for your files, that's dependency-free and with under 250 lines of code, easy to review. + +### Features + + 🔍 files/directories browser & handler + 📩 drag-and-drop uploader + 🥂 fast golang static server + 💾 90s web UI that prints in milliseconds + 📸 video streaming & picture browser + ✍️ simple note editor + ⌨️ keyboard navigation + 🚀 lightweight and dependency free codebase + 🔒 >95% test coverage and reproducible builds + 💑 easy multi account setup, read-only mode + ✨ PWA enabled + + +**Versi terkirim:** 1.1.2~ynh1 + +## Tangkapan Layar + +![Tangkapan Layar pada Gossa](./doc/screenshots/screenshot.png) + +## Dokumentasi dan sumber daya + +- Depot kode aplikasi hulu: +- Gudang YunoHost: +- Laporkan bug: + +## Info developer + +Silakan kirim pull request ke [`testing` branch](https://github.com/YunoHost-Apps/gossa_ynh/tree/testing). + +Untuk mencoba branch `testing`, silakan dilanjutkan seperti: + +```bash +sudo yunohost app install https://github.com/YunoHost-Apps/gossa_ynh/tree/testing --debug +atau +sudo yunohost app upgrade gossa -u https://github.com/YunoHost-Apps/gossa_ynh/tree/testing --debug +``` + +**Info lebih lanjut mengenai pemaketan aplikasi:** diff --git a/README_ru.md b/README_ru.md new file mode 100644 index 0000000..5f72efa --- /dev/null +++ b/README_ru.md @@ -0,0 +1,60 @@ + + +# Gossa для YunoHost + +[![Уровень интеграции](https://dash.yunohost.org/integration/gossa.svg)](https://ci-apps.yunohost.org/ci/apps/gossa/) ![Состояние работы](https://ci-apps.yunohost.org/ci/badges/gossa.status.svg) ![Состояние сопровождения](https://ci-apps.yunohost.org/ci/badges/gossa.maintain.svg) + +[![Установите Gossa с YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=gossa) + +*[Прочтите этот README на других языках.](./ALL_README.md)* + +> *Этот пакет позволяет Вам установить Gossa быстро и просто на YunoHost-сервер.* +> *Если у Вас нет YunoHost, пожалуйста, посмотрите [инструкцию](https://yunohost.org/install), чтобы узнать, как установить его.* + +## Обзор + +A fast and simple webserver for your files, that's dependency-free and with under 250 lines of code, easy to review. + +### Features + + 🔍 files/directories browser & handler + 📩 drag-and-drop uploader + 🥂 fast golang static server + 💾 90s web UI that prints in milliseconds + 📸 video streaming & picture browser + ✍️ simple note editor + ⌨️ keyboard navigation + 🚀 lightweight and dependency free codebase + 🔒 >95% test coverage and reproducible builds + 💑 easy multi account setup, read-only mode + ✨ PWA enabled + + +**Поставляемая версия:** 1.1.2~ynh1 + +## Снимки экрана + +![Снимок экрана Gossa](./doc/screenshots/screenshot.png) + +## Документация и ресурсы + +- Репозиторий кода главной ветки приложения: +- Магазин YunoHost: +- Сообщите об ошибке: + +## Информация для разработчиков + +Пришлите Ваш запрос на слияние в [ветку `testing`](https://github.com/YunoHost-Apps/gossa_ynh/tree/testing). + +Чтобы попробовать ветку `testing`, пожалуйста, сделайте что-то вроде этого: + +```bash +sudo yunohost app install https://github.com/YunoHost-Apps/gossa_ynh/tree/testing --debug +или +sudo yunohost app upgrade gossa -u https://github.com/YunoHost-Apps/gossa_ynh/tree/testing --debug +``` + +**Больше информации о пакетировании приложений:** diff --git a/README_zh_Hans.md b/README_zh_Hans.md index 141c60e..72f08e6 100644 --- a/README_zh_Hans.md +++ b/README_zh_Hans.md @@ -5,7 +5,7 @@ # YunoHost 上的 Gossa -[![集成程度](https://dash.yunohost.org/integration/gossa.svg)](https://dash.yunohost.org/appci/app/gossa) ![工作状态](https://ci-apps.yunohost.org/ci/badges/gossa.status.svg) ![维护状态](https://ci-apps.yunohost.org/ci/badges/gossa.maintain.svg) +[![集成程度](https://dash.yunohost.org/integration/gossa.svg)](https://ci-apps.yunohost.org/ci/apps/gossa/) ![工作状态](https://ci-apps.yunohost.org/ci/badges/gossa.status.svg) ![维护状态](https://ci-apps.yunohost.org/ci/badges/gossa.maintain.svg) [![使用 YunoHost 安装 Gossa](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=gossa) @@ -33,7 +33,7 @@ A fast and simple webserver for your files, that's dependency-free and with unde ✨ PWA enabled -**分发版本:** 1.0.0~ynh1 +**分发版本:** 1.1.2~ynh1 ## 截图 From 6bca704a8dec3daf595ea50e0caa6946133b0bf7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?E=CC=81ric=20Gaspar?= <46165813+ericgaspar@users.noreply.github.com> Date: Fri, 30 Aug 2024 19:14:05 +0200 Subject: [PATCH 3/4] cleaning --- doc/DESCRIPTION_fr.md | 15 +++++++++++++++ scripts/backup | 4 ---- scripts/install | 1 - scripts/remove | 7 ------- scripts/restore | 17 ----------------- scripts/upgrade | 26 +++----------------------- 6 files changed, 18 insertions(+), 52 deletions(-) create mode 100755 doc/DESCRIPTION_fr.md diff --git a/doc/DESCRIPTION_fr.md b/doc/DESCRIPTION_fr.md new file mode 100755 index 0000000..8f8a45e --- /dev/null +++ b/doc/DESCRIPTION_fr.md @@ -0,0 +1,15 @@ +Un serveur Web rapide et simple pour vos fichiers, sans dépendance et avec moins de 250 lignes de code, facile à réviser. + +### Fonctionnalités + +🔍 navigateur et gestionnaire de fichiers/répertoires +📩 téléchargeur par glisser-déposer +🥂 serveur statique golang rapide +💾 interface utilisateur Web des années 90 qui imprime en quelques millisecondes +📸 streaming vidéo et navigateur d'images +✍️ éditeur de notes simple +⌨️ navigation au clavier +🚀 base de code légère et sans dépendance +🔒 >95 % de couverture de test et builds reproductibles +💑 configuration multi-compte facile, mode lecture seule +✨ PWA activé \ No newline at end of file diff --git a/scripts/backup b/scripts/backup index 2034e1d..b908c09 100644 --- a/scripts/backup +++ b/scripts/backup @@ -32,10 +32,6 @@ ynh_backup --src_path="$data_dir" --is_big ynh_backup --src_path="/etc/nginx/conf.d/$domain.d/$app.conf" -#================================================= -# BACKUP SYSTEMD -#================================================= - ynh_backup --src_path="/etc/systemd/system/$app.service" #================================================= diff --git a/scripts/install b/scripts/install index eef1f33..c72fc0f 100644 --- a/scripts/install +++ b/scripts/install @@ -26,7 +26,6 @@ chmod +x "$install_dir/gossa" #================================================= ynh_script_progression --message="Configuring NGINX web server..." --weight=3 -# Create a dedicated NGINX config ynh_add_nginx_config ynh_add_systemd_config diff --git a/scripts/remove b/scripts/remove index 8d9db64..970ed45 100644 --- a/scripts/remove +++ b/scripts/remove @@ -22,15 +22,8 @@ then yunohost service remove $app fi -#================================================= -# STOP AND REMOVE SERVICE -#================================================= -ynh_script_progression --message="Stopping and removing the systemd service..." --weight=1 - -# Remove the dedicated systemd config ynh_remove_systemd_config -# Remove the dedicated NGINX config ynh_remove_nginx_config #================================================= diff --git a/scripts/restore b/scripts/restore index 89b8f16..24b20bb 100644 --- a/scripts/restore +++ b/scripts/restore @@ -36,19 +36,9 @@ ynh_script_progression --message="Restoring the NGINX configuration..." --weight ynh_restore_file --origin_path="/etc/nginx/conf.d/$domain.d/$app.conf" -#================================================= -# RESTORE SYSTEMD -#================================================= -ynh_script_progression --message="Restoring the systemd configuration..." --weight=5 - ynh_restore_file --origin_path="/etc/systemd/system/$app.service" systemctl enable $app.service --quiet -#================================================= -# INTEGRATE SERVICE IN YUNOHOST -#================================================= -ynh_script_progression --message="Integrating service in YunoHost..." --weight=1 - yunohost service add $app --description="Webserver for your files" --log="/var/log/$app/$app.log" #================================================= @@ -58,13 +48,6 @@ ynh_script_progression --message="Starting a systemd service..." --weight=1 ynh_systemd_action --service_name=$app --action="start" --log_path="systemd" -#================================================= -# GENERIC FINALIZATION -#================================================= -# RELOAD NGINX -#================================================= -ynh_script_progression --message="Reloading NGINX web server..." --weight=1 - ynh_systemd_action --service_name=nginx --action=reload #================================================= diff --git a/scripts/upgrade b/scripts/upgrade index 733c92d..163df78 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -9,12 +9,6 @@ source _common.sh source /usr/share/yunohost/helpers -#================================================= -# CHECK VERSION -#================================================= - -upgrade_type=$(ynh_check_app_version_changed) - #================================================= # STANDARD UPGRADE STEPS #================================================= @@ -27,14 +21,10 @@ ynh_systemd_action --service_name=$app --action="stop" --log_path="systemd" #================================================= # DOWNLOAD, CHECK AND UNPACK SOURCE #================================================= +ynh_script_progression --message="Upgrading source files..." --weight=5 -if [ "$upgrade_type" == "UPGRADE_APP" ] -then - ynh_script_progression --message="Upgrading source files..." --weight=5 - - # Download, check integrity, uncompress and patch the source from app.src - ynh_setup_source --dest_dir=$install_dir -fi +# 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" @@ -48,19 +38,9 @@ ynh_script_progression --message="Upgrading NGINX web server configuration..." - # Create a dedicated nginx config ynh_add_nginx_config -#================================================= -# SETUP SYSTEMD -#================================================= -ynh_script_progression --message="Configuring a systemd service..." --weight=2 - # Create a dedicated systemd config ynh_add_systemd_config -#================================================= -# INTEGRATE SERVICE IN YUNOHOST -#================================================= -ynh_script_progression --message="Integrating service in YunoHost..." - yunohost service add $app --description="Webserver for your files" --log="/var/log/$app/$app.log" #================================================= From 8003219b08b68d4371031589ba39528b7e12d03b Mon Sep 17 00:00:00 2001 From: yunohost-bot Date: Fri, 30 Aug 2024 17:14:15 +0000 Subject: [PATCH 4/4] Auto-update READMEs --- README_fr.md | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) diff --git a/README_fr.md b/README_fr.md index 88aa80e..61dc4b8 100644 --- a/README_fr.md +++ b/README_fr.md @@ -16,22 +16,21 @@ Il NE doit PAS être modifié à la main. ## Vue d’ensemble -A fast and simple webserver for your files, that's dependency-free and with under 250 lines of code, easy to review. +Un serveur Web rapide et simple pour vos fichiers, sans dépendance et avec moins de 250 lignes de code, facile à réviser. -### Features - - 🔍 files/directories browser & handler - 📩 drag-and-drop uploader - 🥂 fast golang static server - 💾 90s web UI that prints in milliseconds - 📸 video streaming & picture browser - ✍️ simple note editor - ⌨️ keyboard navigation - 🚀 lightweight and dependency free codebase - 🔒 >95% test coverage and reproducible builds - 💑 easy multi account setup, read-only mode - ✨ PWA enabled +### Fonctionnalités +🔍 navigateur et gestionnaire de fichiers/répertoires +📩 téléchargeur par glisser-déposer +🥂 serveur statique golang rapide +💾 interface utilisateur Web des années 90 qui imprime en quelques millisecondes +📸 streaming vidéo et navigateur d'images +✍️ éditeur de notes simple +⌨️ navigation au clavier +🚀 base de code légère et sans dépendance +🔒 >95 % de couverture de test et builds reproductibles +💑 configuration multi-compte facile, mode lecture seule +✨ PWA activé **Version incluse :** 1.1.2~ynh1