1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/vikunja_ynh.git synced 2024-09-03 18:06:26 +02:00

Merge branch 'testing' into v0.24

This commit is contained in:
CodeShakingSheep 2024-07-28 16:02:04 -05:00 committed by GitHub
commit 79eae3b57c
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
11 changed files with 188 additions and 57 deletions

View file

@ -1,7 +1,9 @@
# 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) - [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)
- [Baca README dalam bahasa bahasa Indonesia](README_id.md)
- [阅读中文(简体)的 README](README_zh_Hans.md) - [阅读中文(简体)的 README](README_zh_Hans.md)

View file

@ -5,7 +5,7 @@ It shall NOT be edited by hand.
# Vikunja for YunoHost # Vikunja for YunoHost
[![Integration level](https://dash.yunohost.org/integration/vikunja.svg)](https://dash.yunohost.org/appci/app/vikunja) ![Working status](https://ci-apps.yunohost.org/ci/badges/vikunja.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/vikunja.maintain.svg) [![Integration level](https://dash.yunohost.org/integration/vikunja.svg)](https://ci-apps.yunohost.org/ci/apps/vikunja/) ![Working status](https://ci-apps.yunohost.org/ci/badges/vikunja.status.svg) ![Maintenance status](https://ci-apps.yunohost.org/ci/badges/vikunja.maintain.svg)
[![Install Vikunja with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=vikunja) [![Install Vikunja with YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=vikunja)
@ -27,7 +27,7 @@ Vikunja is a self-hosted open-source to-do list application for all platforms.
- CalDAV - CalDAV
- Links - Links
**Shipped version:** 0.23.0~ynh1 **Shipped version:** 0.24.1~ynh1
**Demo:** <https://try.vikunja.io/login> **Demo:** <https://try.vikunja.io/login>

58
README_es.md Normal file
View file

@ -0,0 +1,58 @@
<!--
Este archivo README esta generado automaticamente<https://github.com/YunoHost/apps/tree/master/tools/readme_generator>
No se debe editar a mano.
-->
# Vikunja para Yunohost
[![Nivel de integración](https://dash.yunohost.org/integration/vikunja.svg)](https://ci-apps.yunohost.org/ci/apps/vikunja/) ![Estado funcional](https://ci-apps.yunohost.org/ci/badges/vikunja.status.svg) ![Estado En Mantención](https://ci-apps.yunohost.org/ci/badges/vikunja.maintain.svg)
[![Instalar Vikunja con Yunhost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=vikunja)
*[Leer este README en otros idiomas.](./ALL_README.md)*
> *Este paquete le permite instalarVikunja 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
Vikunja is a self-hosted open-source to-do list application for all platforms.
### Features
- Stay organized
- Collaborate with peers
- Tasks
- Kanban board
- CalDAV
- Links
**Versión actual:** 0.24.1~ynh1
**Demo:** <https://try.vikunja.io/login>
## Capturas
![Captura de Vikunja](./doc/screenshots/kanban.png)
## Documentaciones y recursos
- Sitio web oficial: <https://vikunja.io/>
- Documentación administrador oficial: <https://vikunja.io/docs/>
- Repositorio del código fuente oficial de la aplicación : <https://kolaente.dev/vikunja/vikunja>
- Catálogo YunoHost: <https://apps.yunohost.org/app/vikunja>
- Reportar un error: <https://github.com/YunoHost-Apps/vikunja_ynh/issues>
## Información para desarrolladores
Por favor enviar sus correcciones a la [`branch testing`](https://github.com/YunoHost-Apps/vikunja_ynh/tree/testing
Para probar la rama `testing`, sigue asÍ:
```bash
sudo yunohost app install https://github.com/YunoHost-Apps/vikunja_ynh/tree/testing --debug
o
sudo yunohost app upgrade vikunja -u https://github.com/YunoHost-Apps/vikunja_ynh/tree/testing --debug
```
**Mas informaciones sobre el empaquetado de aplicaciones:** <https://yunohost.org/packaging_apps>

View file

@ -5,7 +5,7 @@ EZ editatu eskuz.
# Vikunja YunoHost-erako # Vikunja YunoHost-erako
[![Integrazio maila](https://dash.yunohost.org/integration/vikunja.svg)](https://dash.yunohost.org/appci/app/vikunja) ![Funtzionamendu egoera](https://ci-apps.yunohost.org/ci/badges/vikunja.status.svg) ![Mantentze egoera](https://ci-apps.yunohost.org/ci/badges/vikunja.maintain.svg) [![Integrazio maila](https://dash.yunohost.org/integration/vikunja.svg)](https://ci-apps.yunohost.org/ci/apps/vikunja/) ![Funtzionamendu egoera](https://ci-apps.yunohost.org/ci/badges/vikunja.status.svg) ![Mantentze egoera](https://ci-apps.yunohost.org/ci/badges/vikunja.maintain.svg)
[![Instalatu Vikunja YunoHost-ekin](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=vikunja) [![Instalatu Vikunja YunoHost-ekin](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=vikunja)
@ -27,7 +27,7 @@ Vikunja is a self-hosted open-source to-do list application for all platforms.
- CalDAV - CalDAV
- Links - Links
**Paketatutako bertsioa:** 0.23.0~ynh1 **Paketatutako bertsioa:** 0.24.1~ynh1
**Demoa:** <https://try.vikunja.io/login> **Demoa:** <https://try.vikunja.io/login>

View file

@ -5,7 +5,7 @@ Il NE doit PAS être modifié à la main.
# Vikunja pour YunoHost # Vikunja pour YunoHost
[![Niveau dintégration](https://dash.yunohost.org/integration/vikunja.svg)](https://dash.yunohost.org/appci/app/vikunja) ![Statut du fonctionnement](https://ci-apps.yunohost.org/ci/badges/vikunja.status.svg) ![Statut de maintenance](https://ci-apps.yunohost.org/ci/badges/vikunja.maintain.svg) [![Niveau dintégration](https://dash.yunohost.org/integration/vikunja.svg)](https://ci-apps.yunohost.org/ci/apps/vikunja/) ![Statut du fonctionnement](https://ci-apps.yunohost.org/ci/badges/vikunja.status.svg) ![Statut de maintenance](https://ci-apps.yunohost.org/ci/badges/vikunja.maintain.svg)
[![Installer Vikunja avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=vikunja) [![Installer Vikunja avec YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=vikunja)
@ -27,7 +27,7 @@ Vikunja est une application de liste de tâches Open Source auto-hébergée pour
- CalDAV - CalDAV
- Links - Links
**Version incluse:** 0.23.0~ynh1 **Version incluse:** 0.24.1~ynh1
**Démo:** <https://try.vikunja.io/login> **Démo:** <https://try.vikunja.io/login>

View file

@ -5,7 +5,7 @@ NON debe editarse manualmente.
# Vikunja para YunoHost # Vikunja para YunoHost
[![Nivel de integración](https://dash.yunohost.org/integration/vikunja.svg)](https://dash.yunohost.org/appci/app/vikunja) ![Estado de funcionamento](https://ci-apps.yunohost.org/ci/badges/vikunja.status.svg) ![Estado de mantemento](https://ci-apps.yunohost.org/ci/badges/vikunja.maintain.svg) [![Nivel de integración](https://dash.yunohost.org/integration/vikunja.svg)](https://ci-apps.yunohost.org/ci/apps/vikunja/) ![Estado de funcionamento](https://ci-apps.yunohost.org/ci/badges/vikunja.status.svg) ![Estado de mantemento](https://ci-apps.yunohost.org/ci/badges/vikunja.maintain.svg)
[![Instalar Vikunja con YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=vikunja) [![Instalar Vikunja con YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=vikunja)
@ -27,7 +27,7 @@ Vikunja is a self-hosted open-source to-do list application for all platforms.
- CalDAV - CalDAV
- Links - Links
**Versión proporcionada:** 0.23.0~ynh1 **Versión proporcionada:** 0.24.1~ynh1
**Demo:** <https://try.vikunja.io/login> **Demo:** <https://try.vikunja.io/login>

58
README_id.md Normal file
View file

@ -0,0 +1,58 @@
<!--
N.B.: README ini dibuat secara otomatis oleh <https://github.com/YunoHost/apps/tree/master/tools/readme_generator>
Ini TIDAK boleh diedit dengan tangan.
-->
# Vikunja untuk YunoHost
[![Tingkat integrasi](https://dash.yunohost.org/integration/vikunja.svg)](https://ci-apps.yunohost.org/ci/apps/vikunja/) ![Status kerja](https://ci-apps.yunohost.org/ci/badges/vikunja.status.svg) ![Status pemeliharaan](https://ci-apps.yunohost.org/ci/badges/vikunja.maintain.svg)
[![Pasang Vikunja dengan YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=vikunja)
*[Baca README ini dengan bahasa yang lain.](./ALL_README.md)*
> *Paket ini memperbolehkan Anda untuk memasang Vikunja 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
Vikunja is a self-hosted open-source to-do list application for all platforms.
### Features
- Stay organized
- Collaborate with peers
- Tasks
- Kanban board
- CalDAV
- Links
**Versi terkirim:** 0.24.1~ynh1
**Demo:** <https://try.vikunja.io/login>
## Tangkapan Layar
![Tangkapan Layar pada Vikunja](./doc/screenshots/kanban.png)
## Dokumentasi dan sumber daya
- Website aplikasi resmi: <https://vikunja.io/>
- Dokumentasi admin resmi: <https://vikunja.io/docs/>
- Repositori kode aplikasi hulu: <https://kolaente.dev/vikunja/vikunja>
- Gudang YunoHost: <https://apps.yunohost.org/app/vikunja>
- Laporkan bug: <https://github.com/YunoHost-Apps/vikunja_ynh/issues>
## Info developer
Silakan kirim pull request ke [`testing` branch](https://github.com/YunoHost-Apps/vikunja_ynh/tree/testing).
Untuk mencoba branch `testing`, silakan dilanjutkan seperti:
```bash
sudo yunohost app install https://github.com/YunoHost-Apps/vikunja_ynh/tree/testing --debug
atau
sudo yunohost app upgrade vikunja -u https://github.com/YunoHost-Apps/vikunja_ynh/tree/testing --debug
```
**Info lebih lanjut mengenai pemaketan aplikasi:** <https://yunohost.org/packaging_apps>

58
README_it.md Normal file
View file

@ -0,0 +1,58 @@
<!--
N.B.: Questo README è stato automaticamente generato da <https://github.com/YunoHost/apps/tree/master/tools/readme_generator>
NON DEVE essere modificato manualmente.
-->
# Vikunja per YunoHost
[![Livello di integrazione](https://dash.yunohost.org/integration/vikunja.svg)](https://dash.yunohost.org/appci/app/vikunja) ![Stato di funzionamento](https://ci-apps.yunohost.org/ci/badges/vikunja.status.svg) ![Stato di manutenzione](https://ci-apps.yunohost.org/ci/badges/vikunja.maintain.svg)
[![Installa Vikunja con YunoHost](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=vikunja)
*[Leggi questo README in altre lingue.](./ALL_README.md)*
> *Questo pacchetto ti permette di installare Vikunja su un server YunoHost in modo semplice e veloce.*
> *Se non hai YunoHost, consulta [la guida](https://yunohost.org/install) per imparare a installarlo.*
## Panoramica
Vikunja is a self-hosted open-source to-do list application for all platforms.
### Features
- Stay organized
- Collaborate with peers
- Tasks
- Kanban board
- CalDAV
- Links
**Versione pubblicata:** 0.22.1~ynh1
**Prova:** <https://try.vikunja.io/login>
## Screenshot
![Screenshot di Vikunja](./doc/screenshots/kanban.png)
## Documentazione e risorse
- Sito web ufficiale dellapp: <https://vikunja.io/>
- Documentazione ufficiale per gli amministratori: <https://vikunja.io/docs/>
- Repository upstream del codice dellapp: <https://kolaente.dev/vikunja/vikunja>
- Store di YunoHost: <https://apps.yunohost.org/app/vikunja>
- Segnala un problema: <https://github.com/YunoHost-Apps/vikunja_ynh/issues>
## Informazioni per sviluppatori
Si prega di inviare la tua pull request alla [branch di `testing`](https://github.com/YunoHost-Apps/vikunja_ynh/tree/testing).
Per provare la branch di `testing`, si prega di procedere in questo modo:
```bash
sudo yunohost app install https://github.com/YunoHost-Apps/vikunja_ynh/tree/testing --debug
o
sudo yunohost app upgrade vikunja -u https://github.com/YunoHost-Apps/vikunja_ynh/tree/testing --debug
```
**Maggiori informazioni riguardo il pacchetto di questapp:** <https://yunohost.org/packaging_apps>

View file

@ -3,9 +3,9 @@
请勿手动编辑。 请勿手动编辑。
--> -->
# YunoHost 的 Vikunja # YunoHost 的 Vikunja
[![集成程度](https://dash.yunohost.org/integration/vikunja.svg)](https://dash.yunohost.org/appci/app/vikunja) ![工作状态](https://ci-apps.yunohost.org/ci/badges/vikunja.status.svg) ![维护状态](https://ci-apps.yunohost.org/ci/badges/vikunja.maintain.svg) [![集成程度](https://dash.yunohost.org/integration/vikunja.svg)](https://ci-apps.yunohost.org/ci/apps/vikunja/) ![工作状态](https://ci-apps.yunohost.org/ci/badges/vikunja.status.svg) ![维护状态](https://ci-apps.yunohost.org/ci/badges/vikunja.maintain.svg)
[![使用 YunoHost 安装 Vikunja](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=vikunja) [![使用 YunoHost 安装 Vikunja](https://install-app.yunohost.org/install-with-yunohost.svg)](https://install-app.yunohost.org/?app=vikunja)
@ -27,7 +27,7 @@ Vikunja is a self-hosted open-source to-do list application for all platforms.
- CalDAV - CalDAV
- Links - Links
**分发版本:** 0.23.0~ynh1 **分发版本:** 0.24.1~ynh1
**演示:** <https://try.vikunja.io/login> **演示:** <https://try.vikunja.io/login>

View file

@ -19,14 +19,11 @@ admindoc = "https://vikunja.io/docs/"
code = "https://kolaente.dev/vikunja/vikunja" code = "https://kolaente.dev/vikunja/vikunja"
[integration] [integration]
yunohost = ">= 11.2" yunohost = ">= 11.2.21"
architectures = "all" architectures = "all"
multi_instance = true multi_instance = true
ldap = false ldap = false
sso = false sso = false
disk = "50M" disk = "50M"
ram.build = "1500M" ram.build = "1500M"
ram.runtime = "50M" ram.runtime = "50M"

View file

@ -15,45 +15,3 @@
#================================================= #=================================================
# FUTURE OFFICIAL HELPERS # FUTURE OFFICIAL HELPERS
#================================================= #=================================================
#=================================================
# REDIS HELPERS
#=================================================
# get the first available redis database
#
# usage: ynh_redis_get_free_db
# | returns: the database number to use
ynh_redis_get_free_db() {
local result max db
result="$(redis-cli INFO keyspace)"
# get the num
max=$(cat /etc/redis/redis.conf | grep ^databases | grep -Eow "[0-9]+")
db=0
# default Debian setting is 15 databases
for i in $(seq 0 "$max")
do
if ! echo "$result" | grep -q "db$i"
then
db=$i
break 1
fi
db=-1
done
test "$db" -eq -1 && ynh_die --message="No available Redis databases..."
echo "$db"
}
# Create a master password and set up global settings
# Please always call this script in install and restore scripts
#
# usage: ynh_redis_remove_db database
# | arg: database - the database to erase
ynh_redis_remove_db() {
local db=$1
redis-cli -n "$db" flushall
}