From ad74bfe782adea481ffb7df144cdfef41dd45298 Mon Sep 17 00:00:00 2001 From: eric_G <46165813+ericgaspar@users.noreply.github.com> Date: Thu, 6 Jun 2024 10:07:02 +0200 Subject: [PATCH] Testing (#16) * Warning * Fix linter warnings * Update README.md * Set SVG badge * Update manifest.json * Update manifest.json * Fix * Fix * Update rights (#11) * Update rights * 4.3 * Version 2 (#13) * v2 * Auto-update README * v2 * Update manifest.toml * Update manifest.toml * Auto-update README --------- Co-authored-by: yunohost-bot * Delete DISCLAIMER.md * Update nginx.conf * Auto-update READMEs * cleaning * Auto-update READMEs --------- Co-authored-by: yunohost-bot --- ALL_README.md | 4 +++- README.md | 7 +++--- README_es.md | 56 +++++++++++++++++++++++++++++++++++++++++++++++ README_eu.md | 56 +++++++++++++++++++++++++++++++++++++++++++++++ README_fr.md | 5 +++-- README_gl.md | 7 +++--- README_zh_Hans.md | 56 +++++++++++++++++++++++++++++++++++++++++++++++ conf/nginx.conf | 2 +- manifest.toml | 2 +- scripts/upgrade | 16 +++----------- 10 files changed, 187 insertions(+), 24 deletions(-) create mode 100644 README_es.md create mode 100644 README_eu.md create mode 100644 README_zh_Hans.md diff --git a/ALL_README.md b/ALL_README.md index 3d6c579..152f2e7 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) +- [Lea 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 3b74377..a9c2f73 100644 --- a/README.md +++ b/README.md @@ -9,7 +9,7 @@ It shall NOT be edited by hand. [![Install Laverna with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=laverna) -*[Read this README is other languages.](./ALL_README.md)* +*[Read this README in other languages.](./ALL_README.md)* > *This package allows you to install Laverna 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.* @@ -20,7 +20,7 @@ Laverna is an anonymous system, encrypted and without registration required, it The data is private because it is stored by default on your machine (InnoDB and localstorage), it is a setting in the settings that will allow you to synchronize it via the cloud on your various devices. -**Shipped version:** 0.7.51~ynh6 +**Shipped version:** 0.7.51~ynh7 **Demo:** @@ -30,7 +30,8 @@ The data is private because it is stored by default on your machine (InnoDB and ## :red_circle: Antifeatures -- **Package not maintained**: This YunoHost package is not maintained and needs adoption. +- **Upstream not maintained**: This software is not maintained anymore. Expect it to break down over time, be exposed to unfixed security breaches, etc. +- **Package not maintained**: This YunoHost package is not actively maintained and needs adoption. This means that minimal maintenance is made by volunteers who don't use the app, so you should expect the app to lose reliability over time. You can [learn how to package](https://yunohost.org/packaging_apps_intro) if you'd like to adopt it. ## Documentation and resources diff --git a/README_es.md b/README_es.md new file mode 100644 index 0000000..22a894b --- /dev/null +++ b/README_es.md @@ -0,0 +1,56 @@ + + +# Laverna para Yunohost + +[![Nivel de integración](https://dash.yunohost.org/integration/laverna.svg)](https://dash.yunohost.org/appci/app/laverna) ![Estado funcional](https://ci-apps.yunohost.org/ci/badges/laverna.status.svg) ![Estado En Mantención](https://ci-apps.yunohost.org/ci/badges/laverna.maintain.svg) + +[![Instalar Laverna con Yunhost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=laverna) + +*[Leer este README en otros idiomas.](./ALL_README.md)* + +> *Este paquete le permite instalarLaverna 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 + +Laverna is an anonymous system, encrypted and without registration required, it is accessible via a web browser (without software installation). +The data is private because it is stored by default on your machine (InnoDB and localstorage), it is a setting in the settings that will allow you to synchronize it via the cloud on your various devices. + + +**Versión actual:** 0.7.51~ynh7 + +**Demo:** + +## Capturas + +![Captura de Laverna](./doc/screenshots/laverna.png) + +## :red_circle: funcionalidades no deseadas + +- **Upstream not maintained**: This software is not maintained anymore. Expect it to break down over time, be exposed to unfixed security breaches, etc. +- **Package not maintained**: This YunoHost package is not actively maintained and needs adoption. This means that minimal maintenance is made by volunteers who don't use the app, so you should expect the app to lose reliability over time. You can [learn how to package](https://yunohost.org/packaging_apps_intro) if you'd like to adopt it. + +## 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/laverna_ynh/tree/testing + +Para probar la rama `testing`, sigue asÍ: + +```bash +sudo yunohost app install https://github.com/YunoHost-Apps/laverna_ynh/tree/testing --debug +o +sudo yunohost app upgrade laverna -u https://github.com/YunoHost-Apps/laverna_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..cf5f245 --- /dev/null +++ b/README_eu.md @@ -0,0 +1,56 @@ + + +# Laverna YunoHost-erako + +[![Integrazio maila](https://dash.yunohost.org/integration/laverna.svg)](https://dash.yunohost.org/appci/app/laverna) ![Funtzionamendu egoera](https://ci-apps.yunohost.org/ci/badges/laverna.status.svg) ![Mantentze egoera](https://ci-apps.yunohost.org/ci/badges/laverna.maintain.svg) + +[![Instalatu Laverna YunoHost-ekin](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=laverna) + +*[Irakurri README hau beste hizkuntzatan.](./ALL_README.md)* + +> *Pakete honek Laverna YunoHost zerbitzari batean azkar eta zailtasunik gabe instalatzea ahalbidetzen dizu.* +> *YunoHost ez baduzu, kontsultatu [gida](https://yunohost.org/install) nola instalatu ikasteko.* + +## Aurreikuspena + +Laverna is an anonymous system, encrypted and without registration required, it is accessible via a web browser (without software installation). +The data is private because it is stored by default on your machine (InnoDB and localstorage), it is a setting in the settings that will allow you to synchronize it via the cloud on your various devices. + + +**Paketatutako bertsioa:** 0.7.51~ynh7 + +**Demoa:** + +## Pantaila-argazkiak + +![Laverna(r)en pantaila-argazkia](./doc/screenshots/laverna.png) + +## :red_circle: Ezaugarri zalantzagarriak + +- **Jatorrizko garapena utzita**: Software honek ez du arduradunik. Denborak aurrera egin ahala funtzionatzeari utziko dio, konpondu gabeko segurtasun arazoak izango ditu, etab. +- **Mantendu gabeko paketea**: YunoHost pakete honek ez du mantenduko duenik, bere gain hartuko duen norbaiten beharra dauka. Honek esan nahi duena da mantentze-lanak minimoak izango direla eta aplikazioa erabiltzen ez duten boluntarioek egingo dituztela lanok; denborak aurrera egin ahala fidagarri izateari utziko dio. [Aplikazioak nola paketatu](https://yunohost.org/packaging_apps_intro) ikas dezakezu, zure gain hartu nahi baduzu. + +## 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/laverna_ynh/tree/testing). + +`testing` abarra probatzeko, ondorengoa egin: + +```bash +sudo yunohost app install https://github.com/YunoHost-Apps/laverna_ynh/tree/testing --debug +edo +sudo yunohost app upgrade laverna -u https://github.com/YunoHost-Apps/laverna_ynh/tree/testing --debug +``` + +**Informazio gehiago aplikazioaren paketatzeari buruz:** diff --git a/README_fr.md b/README_fr.md index 1e8613c..9ce3afd 100644 --- a/README_fr.md +++ b/README_fr.md @@ -20,7 +20,7 @@ Laverna est un système anonyme, crypté et sans inscription requise, il est acc Les données sont privées, car stockées par défaut sur votre machine (InnoDB et localstorage), c’est un réglage dans les paramètres qui vous permettra de les synchroniser via le cloud sur vos différents périphériques. -**Version incluse :** 0.7.51~ynh6 +**Version incluse :** 0.7.51~ynh7 **Démo :** @@ -30,7 +30,8 @@ Les données sont privées, car stockées par défaut sur votre machine (InnoDB ## :red_circle: Anti-fonctionnalités -- **Paquet non maintenu**: Ce package YunoHost n'est plus maintenu et doit être adopté. +- **Application non maintenue **: Ce logiciel n'est plus maintenu. Attendez-vous à ce qu'il ne fonctionne plus avec le temps, et que l'on découvre des failles de sécurité qui ne seront pas corrigées, etc. +- **Package non maintenu **: Ce package YunoHost n'est pas activement maintenu et a besoin d'être adopté. Cela veut dire que la maintenance minimale est réalisée par des bénévoles qui n'utilisent pas l'application, il faut donc s'attendre à ce que l'app perde en fiabilité avec le temps. Vous pouvez [apprendre comment packager](https://yunohost.org/packaging_apps_intro) si vous voulez l'adopter. ## Documentations et ressources diff --git a/README_gl.md b/README_gl.md index 08c7411..8371175 100644 --- a/README_gl.md +++ b/README_gl.md @@ -20,7 +20,7 @@ Laverna is an anonymous system, encrypted and without registration required, it The data is private because it is stored by default on your machine (InnoDB and localstorage), it is a setting in the settings that will allow you to synchronize it via the cloud on your various devices. -**Versión proporcionada:** 0.7.51~ynh6 +**Versión proporcionada:** 0.7.51~ynh7 **Demo:** @@ -28,9 +28,10 @@ The data is private because it is stored by default on your machine (InnoDB and ![Captura de pantalla de Laverna](./doc/screenshots/laverna.png) -## :red_circle: Caraterísticas cuestionables +## :red_circle: Debes considerar -- **Package not maintained**: This YunoHost package is not maintained and needs adoption. +- **Upstream not maintained**: This software is not maintained anymore. Expect it to break down over time, be exposed to unfixed security breaches, etc. +- **Package not maintained**: This YunoHost package is not actively maintained and needs adoption. This means that minimal maintenance is made by volunteers who don't use the app, so you should expect the app to lose reliability over time. You can [learn how to package](https://yunohost.org/packaging_apps_intro) if you'd like to adopt it. ## Documentación e recursos diff --git a/README_zh_Hans.md b/README_zh_Hans.md new file mode 100644 index 0000000..10c2a32 --- /dev/null +++ b/README_zh_Hans.md @@ -0,0 +1,56 @@ + + +# YunoHost 上的 Laverna + +[![集成程度](https://dash.yunohost.org/integration/laverna.svg)](https://dash.yunohost.org/appci/app/laverna) ![工作状态](https://ci-apps.yunohost.org/ci/badges/laverna.status.svg) ![维护状态](https://ci-apps.yunohost.org/ci/badges/laverna.maintain.svg) + +[![使用 YunoHost 安装 Laverna](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=laverna) + +*[阅读此 README 的其它语言版本。](./ALL_README.md)* + +> *通过此软件包,您可以在 YunoHost 服务器上快速、简单地安装 Laverna。* +> *如果您还没有 YunoHost,请参阅[指南](https://yunohost.org/install)了解如何安装它。* + +## 概况 + +Laverna is an anonymous system, encrypted and without registration required, it is accessible via a web browser (without software installation). +The data is private because it is stored by default on your machine (InnoDB and localstorage), it is a setting in the settings that will allow you to synchronize it via the cloud on your various devices. + + +**分发版本:** 0.7.51~ynh7 + +**演示:** + +## 截图 + +![Laverna 的截图](./doc/screenshots/laverna.png) + +## :red_circle: 负面特征 + +- **Upstream not maintained**: This software is not maintained anymore. Expect it to break down over time, be exposed to unfixed security breaches, etc. +- **Package not maintained**: This YunoHost package is not actively maintained and needs adoption. This means that minimal maintenance is made by volunteers who don't use the app, so you should expect the app to lose reliability over time. You can [learn how to package](https://yunohost.org/packaging_apps_intro) if you'd like to adopt it. + +## 文档与资源 + +- 官方应用网站: +- 官方管理文档: +- 上游应用代码库: +- YunoHost 商店: +- 报告 bug: + +## 开发者信息 + +请向 [`testing` 分支](https://github.com/YunoHost-Apps/laverna_ynh/tree/testing) 发送拉取请求。 + +如要尝试 `testing` 分支,请这样操作: + +```bash +sudo yunohost app install https://github.com/YunoHost-Apps/laverna_ynh/tree/testing --debug +或 +sudo yunohost app upgrade laverna -u https://github.com/YunoHost-Apps/laverna_ynh/tree/testing --debug +``` + +**有关应用打包的更多信息:** diff --git a/conf/nginx.conf b/conf/nginx.conf index dab604d..e6825bc 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -2,7 +2,7 @@ location __PATH__/ { # Path to source - alias __INSTALL_DIR__/ ; + alias __INSTALL_DIR__/; index index.html; diff --git a/manifest.toml b/manifest.toml index 0a32635..fe3fa03 100644 --- a/manifest.toml +++ b/manifest.toml @@ -5,7 +5,7 @@ name = "Laverna" description.en = "Taking note with Markdown editor and encryption support" description.fr = "Prise de note avec éditeur Markdown et chiffrement" -version = "0.7.51~ynh6" +version = "0.7.51~ynh7" maintainers = [] diff --git a/scripts/upgrade b/scripts/upgrade index 6fcb774..bd826b4 100755 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -8,23 +8,13 @@ source /usr/share/yunohost/helpers -#================================================= -# CHECK VERSION -#================================================= - -upgrade_type=$(ynh_check_app_version_changed) - #================================================= # DOWNLOAD, CHECK AND UNPACK SOURCE #================================================= +ynh_script_progression --message="Upgrading source files..." --weight=4 -if [ "$upgrade_type" == "UPGRADE_APP" ] -then - ynh_script_progression --message="Upgrading source files..." --weight=4 - - # 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"