mirror of
https://github.com/YunoHost-Apps/seafile_ynh.git
synced 2024-09-03 20:26:01 +02:00
Update manifest and be coherent
This commit is contained in:
parent
494847720b
commit
9bbbc78468
3 changed files with 8 additions and 2 deletions
|
@ -7,6 +7,7 @@
|
|||
server_name="Seafile"
|
||||
admin="john" (USER)
|
||||
admin_password="Sup3rS3cr3t" (PASSWORD)
|
||||
is_public="1" (PUBLIC|public=1|private=0)
|
||||
public_site="1" (PUBLIC|public=1|private=0)
|
||||
; Checks
|
||||
pkg_linter=1
|
||||
|
|
|
@ -48,6 +48,7 @@
|
|||
},
|
||||
{
|
||||
"name": "server_name",
|
||||
"type": "string",
|
||||
"ask": {
|
||||
"en": "Choose a name (3 - 15 letters or digits)",
|
||||
"fr": "Choisissez un nom (3 - 15 letters or digits)"
|
||||
|
@ -74,12 +75,16 @@
|
|||
"example": "**Sup3rS3cr3t**"
|
||||
},
|
||||
{
|
||||
"name": "public_site",
|
||||
"name": "is_public",
|
||||
"type": "boolean",
|
||||
"ask": {
|
||||
"en": "Is it a public site ? If you want to use a desktop client or the smartphone app, make Seafile public.",
|
||||
"fr": "Est-ce un site public ? Pour utiliser un client sur PC ou l'application mobile, Seafile doit être public"
|
||||
},
|
||||
"help": {
|
||||
"en": "If it's not public, everybody which want to access to any page of seafile need to be authenticated on the SSO. On the public mode anybody can access to the authentication page. The shared link will be olso accessible by anybody who has this link.",
|
||||
"fr": "Si n'est pas publique, n'importe qui veux accéder à n'importe quelle page de seafile doit être authentifié dans le SSO. Dans le mode publique n'importe qui peut accéder à la page d'authentification de seafile. Les liens partagé seront aussi accessible par n'import qui qui à ce liens."
|
||||
},
|
||||
"default": true
|
||||
}
|
||||
]
|
||||
|
|
|
@ -21,7 +21,7 @@ domain=$YNH_APP_ARG_DOMAIN
|
|||
path_url=$(ynh_normalize_url_path --path_url $YNH_APP_ARG_PATH)
|
||||
server_name="$YNH_APP_ARG_SERVER_NAME"
|
||||
admin=$YNH_APP_ARG_ADMIN
|
||||
is_public=$YNH_APP_ARG_PUBLIC_SITE
|
||||
is_public=$YNH_APP_ARG_IS_PUBLIC
|
||||
seafile_data=/home/yunohost.app/seafile-data
|
||||
final_path=/opt/yunohost/$app
|
||||
seafile_user=$app
|
||||
|
|
Loading…
Reference in a new issue