mirror of
https://github.com/YunoHost-Apps/pytition_ynh.git
synced 2024-09-03 20:16:08 +02:00
da29c0bc0c
When uploading images in mediaroot, files must have gid www-data so that nginx can serve them. Also, image upload script URL for TinyMCE editor was wrong if STATIC_ROOT is not '/static/' Tinymce js url was wrong in this case also.
73 lines
2.2 KiB
JSON
73 lines
2.2 KiB
JSON
{
|
|
"name": "Pytition",
|
|
"id": "pytition",
|
|
"packaging_format": 1,
|
|
"description": {
|
|
"en": "Host privacy-friendly online petitions",
|
|
"fr": "Hébergez des pétitions en ligne respectueuses de la vie privée"
|
|
},
|
|
"version": "2.5.1~ynh1",
|
|
"url": "https://example.com",
|
|
"upstream": {
|
|
"license": "BSD-3-Clause",
|
|
"website": "https://pytition.org",
|
|
"demo": "https://demo.pytition.org",
|
|
"admindoc": "https://pytition.readthedocs.io/en/latest/",
|
|
"userdoc": "",
|
|
"code": "https://github.com/pytition/Pytition"
|
|
},
|
|
"license": "BSD-3-Clause",
|
|
"maintainer": {
|
|
"name": "Salamandar",
|
|
"email": "felix@piedallu.me"
|
|
},
|
|
"requirements": {
|
|
"yunohost": ">= 4.3.0"
|
|
},
|
|
"multi_instance": true,
|
|
"services": [
|
|
"nginx",
|
|
"mysql"
|
|
],
|
|
"arguments": {
|
|
"install" : [
|
|
{
|
|
"name": "domain",
|
|
"type": "domain"
|
|
},
|
|
{
|
|
"name": "path",
|
|
"type": "path",
|
|
"example": "/pytition",
|
|
"default": "/pytition"
|
|
},
|
|
{
|
|
"name": "is_public",
|
|
"type": "boolean",
|
|
"default": true,
|
|
"help": {
|
|
"en": "If private, only Yunohost users will be able to sign petitions.",
|
|
"fr": "Si privé, seuls des utilisateurs Yunohost pourront signer des pétitions."
|
|
}
|
|
},
|
|
{
|
|
"name": "language",
|
|
"type": "string",
|
|
"ask": {
|
|
"en": "Choose the application language",
|
|
"fr": "Choisissez la langue de l'application"
|
|
},
|
|
"choices": ["fr", "en"],
|
|
"default": "fr"
|
|
},
|
|
{
|
|
"name": "password",
|
|
"type": "password",
|
|
"help": {
|
|
"en": "Administrator password (username is admin)",
|
|
"fr": "Mot de passe administrateur (l'identifiant est admin)"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|