diff --git a/conf/settings.json b/conf/settings.json index 640d289..fd6a11a 100644 --- a/conf/settings.json +++ b/conf/settings.json @@ -4,5 +4,7 @@ "address": "127.0.0.1", "log": "stdout", "database": "__FINALPATH__/database.db", - "root": "__DATADIR__" + "root": "__DATADIR__", + "username": "__ADMIN__", + "password": "__PASSWORD__" } \ No newline at end of file diff --git a/doc/DISCLAIMER.md b/doc/DISCLAIMER.md index c130a0c..8ca6066 100644 --- a/doc/DISCLAIMER.md +++ b/doc/DISCLAIMER.md @@ -3,3 +3,4 @@ username: admin password: admin ``` + diff --git a/manifest.json b/manifest.json index 233c445..f5a52a4 100644 --- a/manifest.json +++ b/manifest.json @@ -32,10 +32,28 @@ "name": "domain", "type": "domain" }, + { + "name": "path", + "type": "path", + "example": "/filebrowser", + "default": "/filebrowser" + }, { "name": "is_public", "type": "boolean", "default": true + }, + { + "name": "admin", + "type": "user" + }, + { + "name": "password", + "type": "password", + "help": { + "en": "Use the help field to add an information for the admin about this question.", + "fr": "Utilisez le champ aide pour ajouter une information à l'intention de l'administrateur à propos de cette question." + } } ] } diff --git a/scripts/install b/scripts/install index 1f7693f..af3e0e0 100755 --- a/scripts/install +++ b/scripts/install @@ -21,7 +21,7 @@ ynh_abort_if_errors #================================================= domain=$YNH_APP_ARG_DOMAIN -path_url="/" +path_url=$YNH_APP_ARG_PATH is_public=$YNH_APP_ARG_IS_PUBLIC architecture=$YNH_ARCH