From b9fbb8c0598f74c579324f35627a6a7daa524d03 Mon Sep 17 00:00:00 2001 From: ljf Date: Tue, 31 Jan 2017 11:53:20 +0100 Subject: [PATCH] [fix] Adapt manifest.json with new format --- manifest.json | 34 ++++++++++++++++++++++++++-------- 1 file changed, 26 insertions(+), 8 deletions(-) diff --git a/manifest.json b/manifest.json index dfebbd1..84b8037 100644 --- a/manifest.json +++ b/manifest.json @@ -1,24 +1,33 @@ { "name": "LimeSurvey", "id": "limesurvey", + "packaging_format": 1, + "version": "2.62.0", "description": { "en": "LimeSurvey is used to create advanced poll.", "fr": "LimeSurvey est un outil de création et diffusion de sondage en ligne." }, - "license": "GPLv2", - "developer": { - "name": "zamentur", - "email": "valentin@grimaud.me", + "license": "GPL-2.0+", + "maintainer": { + "name": "ljf", + "email": "ljf@grimaud.me", "url": "http://www.limesurvey.org/" }, + "url": "https://www.limesurvey.org/", "requirements": { "yunohost": ">= 2.4" }, - "multi_instance": "true", + "multi_instance": true, + "services": [ + "nginx", + "php5-fpm", + "mysql" + ], "arguments": { "install" : [ { "name": "domain", + "type": "domain", "ask": { "en": "Choose a domain for LimeSurvey", "fr": "Choisissez un nom de domaine pour LimeSurvey" @@ -27,6 +36,7 @@ }, { "name": "path", + "type": "path", "ask": { "en": "Choose a path for LimeSurvey", "fr": "Choisissez l'adresse pour LimeSurvey" @@ -36,11 +46,12 @@ }, { "name": "admin", + "type": "user", "ask": { "en": "Choose the LimeSurvey administrator (must be an existing YunoHost user)", "fr": "Choisissez l'administrateur de LimeSurvey (doit être un utilisateur YunoHost)" }, - "example": "homer" + "example": "john" }, { "name": "language", @@ -50,9 +61,16 @@ }, "choices": ["en_GB", "fr_FR","es_ES", "de_DE"], "default": "en_GB" + }, + { + "name": "is_public", + "type": "boolean", + "ask": { + "en": "Will people without YunoHost account have LimeSurvey account to be able to create polls ?", + "fr": "Est-ce que des personnes sans compte YunoHost aurront un compte LimeSurvey pour créer des questionnaires ?" + }, + "default": 1 } - - ] } }