1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/libreto_ynh.git synced 2024-09-03 19:36:14 +02:00

Merge direct fix from master

This commit is contained in:
tituspijean 2023-08-11 16:08:22 +02:00
commit fd11dbbdf7
No known key found for this signature in database
GPG key ID: EF3B0D7CC0A94720
4 changed files with 83 additions and 4 deletions

View file

@ -19,7 +19,7 @@ If you don't have YunoHost, please consult [the guide](https://yunohost.org/#/in
Libreto is a collaborative etherpad-based notebook. It can become a mini-site, the synopsis of a workshop or the support for writing a collective book.
**Shipped version:** 0.0.20180605~ynh4
**Shipped version:** 0.0.20180605~ynh5
**Demo:** https://libreto.net

View file

@ -19,7 +19,7 @@ Si vous navez pas YunoHost, regardez [ici](https://yunohost.org/#/install) po
Libreto est un carnet de note collaboratif fondé sur etherpad. Il peut devenir un mini-site, le carnet de bord d'un workshop ou le support de rédaction d'un livre collectif.
**Version incluse :** 0.0.20180605~ynh4
**Version incluse :** 0.0.20180605~ynh5
**Démo :** https://libreto.net

View file

@ -9,9 +9,10 @@ location __PATH__/ {
# Common parameter to increase upload size limit in conjunction with dedicated php-fpm file
client_max_body_size 50M;
location __PATH__/libreto/assets/ {
alias __INSTALL_DIR__/libreto/assets/;
location __PATH__/assets/ {
alias __FINALPATH__/libreto/assets/;
}
# IF YOU CHANGE SOMETHING IN THIS CONFIGURATION
# PLEASE CHECK THAT LIBRETO IS WORKING AND NOT JUST THE FIRST PAGE
try_files "" @libreto;

78
manifest.json Normal file
View file

@ -0,0 +1,78 @@
{
"name": "Libreto",
"id": "libreto",
"packaging_format": 1,
"description": {
"en": "Aggregate your pads to create a wiki",
"fr": "Agrégez vos pads pour créer un wiki"
},
"version": "0.0.20180605~ynh5",
"url": "https://libreto.net",
"upstream": {
"license": "GPL-3.0-or-later",
"website": "https://libreto.net",
"demo": "https://libreto.net",
"code": "https://github.com/Ventricule/libreto"
},
"license": "GPL-3.0-or-later",
"maintainer": {
"name": "ljf",
"email": "ljf+libreto_ynh@reflexlibre.net",
"url": "https://reflexlibre.net"
},
"requirements": {
"yunohost": ">= 4.3.0"
},
"multi_instance": true,
"services": [
"nginx",
"php7.3-fpm"
],
"arguments": {
"install": [
{
"name": "domain",
"type": "domain"
},
{
"name": "path",
"type": "path",
"example": "/libreto",
"default": "/libreto"
},
{
"name": "is_public",
"type": "boolean",
"help": {
"en": "If enabled, Libreto will be accessible by people who do not have an account. This can be changed later via the webadmin.",
"fr": "Si cette case est cochée, Libreto sera accessible aux personnes nayant pas de compte. Vous pourrez changer ceci plus tard via la webadmin."
},
"default": true
},
{
"name": "etherpad_instance",
"type": "string",
"ask": {
"en": "Choose etherpad URL Libreto should use?",
"fr": "Choisissez l'URL de l'instance etherpad que Libreto utilisera ?"
},
"help": {
"en": "Libreto need an Etherpad instance, you should install before the package etherpad. You need a valid certificate.",
"fr": "Libreto a besoin d'une instance Etherpad, vous devriez installer le paquet Libreto avant. Vous devez avoir un certificat valide."
},
"optional": true,
"example": "https://annuel2.framapad.org",
"default": "https://annuel2.framapad.org"
},
{
"name": "creation_open",
"type": "boolean",
"ask": {
"en": "Is non member can create a Libreto wiki?",
"fr": "Est-ce qu'une personne sans compte YunoHost peut créer un wiki Libreto ?"
},
"default": true
}
]
}
}