1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/laverna_ynh.git synced 2024-09-03 19:36:06 +02:00
* 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 <yunohost@yunohost.org>

* Delete DISCLAIMER.md

* Update nginx.conf

* Auto-update READMEs

* cleaning

* Auto-update READMEs

---------

Co-authored-by: yunohost-bot <yunohost@yunohost.org>
This commit is contained in:
eric_G 2024-06-06 10:07:02 +02:00 committed by GitHub
parent 28f3f102be
commit ad74bfe782
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
10 changed files with 187 additions and 24 deletions

View file

@ -1,6 +1,8 @@
# All available README files by language # All available README files by language
- [Read the README in English](README.md) - [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) - [Lire le README en français](README_fr.md)
- [Le o README en galego](README_gl.md) - [Le o README en galego](README_gl.md)
- [Leggi il “README” in italiano](README_it.md) - [阅读中文(简体)的 README](README_zh_Hans.md)

View file

@ -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) [![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.* > *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.* > *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. 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:** <https://laverna.cc/app/> **Demo:** <https://laverna.cc/app/>
@ -30,7 +30,8 @@ The data is private because it is stored by default on your machine (InnoDB and
## :red_circle: Antifeatures ## :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 ## Documentation and resources

56
README_es.md Normal file
View file

@ -0,0 +1,56 @@
<!--
Este archivo README esta generado automaticamente<https://github.com/YunoHost/apps/tree/master/tools/readme_generator>
No se debe editar a mano.
-->
# 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:** <https://laverna.cc/app/>
## 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: <https://laverna.cc/index.html>
- Documentación administrador oficial: <https://github.com/Laverna/laverna/wiki>
- Repositorio del código fuente oficial de la aplicación : <https://github.com/Laverna/laverna>
- Catálogo YunoHost: <https://apps.yunohost.org/app/laverna>
- Reportar un error: <https://github.com/YunoHost-Apps/laverna_ynh/issues>
## 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:** <https://yunohost.org/packaging_apps>

56
README_eu.md Normal file
View file

@ -0,0 +1,56 @@
<!--
Ohart ongi: README hau automatikoki sortu da <https://github.com/YunoHost/apps/tree/master/tools/readme_generator>ri esker
EZ editatu eskuz.
-->
# 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:** <https://laverna.cc/app/>
## 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: <https://laverna.cc/index.html>
- Administratzaileen dokumentazio ofiziala: <https://github.com/Laverna/laverna/wiki>
- Jatorrizko aplikazioaren kode-gordailua: <https://github.com/Laverna/laverna>
- YunoHost Denda: <https://apps.yunohost.org/app/laverna>
- Eman errore baten berri: <https://github.com/YunoHost-Apps/laverna_ynh/issues>
## 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:** <https://yunohost.org/packaging_apps>

View file

@ -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), cest un réglage dans les paramètres qui vous permettra de les synchroniser via le cloud sur vos différents périphériques. Les données sont privées, car stockées par défaut sur votre machine (InnoDB et localstorage), cest 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:** <https://laverna.cc/app/> **Démo:** <https://laverna.cc/app/>
@ -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 ## :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 ## Documentations et ressources

View file

@ -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. 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:** <https://laverna.cc/app/> **Demo:** <https://laverna.cc/app/>
@ -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) ![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 ## Documentación e recursos

56
README_zh_Hans.md Normal file
View file

@ -0,0 +1,56 @@
<!--
注意:此 README 由 <https://github.com/YunoHost/apps/tree/master/tools/readme_generator> 自动生成
请勿手动编辑。
-->
# 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
**演示:** <https://laverna.cc/app/>
## 截图
![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.
## 文档与资源
- 官方应用网站: <https://laverna.cc/index.html>
- 官方管理文档: <https://github.com/Laverna/laverna/wiki>
- 上游应用代码库: <https://github.com/Laverna/laverna>
- YunoHost 商店: <https://apps.yunohost.org/app/laverna>
- 报告 bug <https://github.com/YunoHost-Apps/laverna_ynh/issues>
## 开发者信息
请向 [`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
```
**有关应用打包的更多信息:** <https://yunohost.org/packaging_apps>

View file

@ -2,7 +2,7 @@
location __PATH__/ { location __PATH__/ {
# Path to source # Path to source
alias __INSTALL_DIR__/ ; alias __INSTALL_DIR__/;
index index.html; index index.html;

View file

@ -5,7 +5,7 @@ name = "Laverna"
description.en = "Taking note with Markdown editor and encryption support" description.en = "Taking note with Markdown editor and encryption support"
description.fr = "Prise de note avec éditeur Markdown et chiffrement" description.fr = "Prise de note avec éditeur Markdown et chiffrement"
version = "0.7.51~ynh6" version = "0.7.51~ynh7"
maintainers = [] maintainers = []

View file

@ -8,23 +8,13 @@
source /usr/share/yunohost/helpers source /usr/share/yunohost/helpers
#=================================================
# CHECK VERSION
#=================================================
upgrade_type=$(ynh_check_app_version_changed)
#================================================= #=================================================
# DOWNLOAD, CHECK AND UNPACK SOURCE # DOWNLOAD, CHECK AND UNPACK SOURCE
#================================================= #=================================================
ynh_script_progression --message="Upgrading source files..." --weight=4
if [ "$upgrade_type" == "UPGRADE_APP" ] # Download, check integrity, uncompress and patch the source from app.src
then ynh_setup_source --dest_dir="$install_dir"
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
chmod -R o-rwx "$install_dir" chmod -R o-rwx "$install_dir"
chown -R $app:www-data "$install_dir" chown -R $app:www-data "$install_dir"