1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/galene_ynh.git synced 2024-09-03 18:36:31 +02:00
* Allow group description on install
This commit is contained in:
Éric Gaspar 2021-03-08 11:09:14 +01:00 committed by GitHub
parent 21b0f1e2f1
commit 79ac578940
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 18 additions and 4 deletions

View file

@ -58,7 +58,7 @@ To check if Galène can connect to the TURN server, connect to Galène as operat
## Documentation ## Documentation
* Official documentation: https://galene.org/ * Official documentation: https://galene.org/
* YunoHost documentation: https://yunohost.org/#/app_galene * YunoHost documentation: https://yunohost.org/en/app_galene
## YunoHost specific features ## YunoHost specific features

View file

@ -58,7 +58,7 @@ Pour vérifier si Galène peut se connecter au serveur TURN, connectez-vous à G
## Documentation ## Documentation
* Documentation officielle : https://galene.org/ * Documentation officielle : https://galene.org/
* Documentation YunoHost : https://yunohost.org/#/app_galene_fr * Documentation YunoHost : https://yunohost.org/fr/app_galene
## Caractéristiques spécifiques YunoHost ## Caractéristiques spécifiques YunoHost

View file

@ -1,7 +1,7 @@
{ {
"op": [{"username": "__ADMIN__", "password": "__PASSWORD__"}], "op": [{"username": "__ADMIN__", "password": "__PASSWORD__"}],
"presenter": [{}], "presenter": [{}],
"description": "a human-readable description of the group; this is displayed on the landing page for public groups.", "description": "__GROUP_DESCRIPTION__",
"public": true, "public": true,
"allow-anonymous": true, "allow-anonymous": true,
"allow-recording": true, "allow-recording": true,

View file

@ -6,7 +6,7 @@
"en": "Videoconferencing server that is easy to deploy", "en": "Videoconferencing server that is easy to deploy",
"fr": "Serveur de visioconférence facile à déployer" "fr": "Serveur de visioconférence facile à déployer"
}, },
"version": "0.3.2~ynh1", "version": "0.3.2~ynh2",
"url": "https://galene.org/", "url": "https://galene.org/",
"license": "MIT", "license": "MIT",
"maintainer": { "maintainer": {
@ -75,6 +75,18 @@
}, },
"default": "public", "default": "public",
"example": "public" "example": "public"
},
{
"name": "group_description",
"type": "string",
"ask": {
"en": "Choose a description for the group you want to create",
"fr": "Décrivez le groupe que vous souhaitez créer"
},
"help": {
"en": "Add a human-readable description of the group; this is displayed on the landing page for public groups.",
"fr": "Ajoutez une description du groupe; ceci est affiché sur la page de destination des groupes publics."
}
} }
] ]
} }

View file

@ -29,6 +29,7 @@ admin=$YNH_APP_ARG_ADMIN
is_public=$YNH_APP_ARG_IS_PUBLIC is_public=$YNH_APP_ARG_IS_PUBLIC
password=$YNH_APP_ARG_PASSWORD password=$YNH_APP_ARG_PASSWORD
group_name=$YNH_APP_ARG_GROUP_NAME group_name=$YNH_APP_ARG_GROUP_NAME
group_description=$YNH_APP_ARG_GROUP_DESCRIPTION
architecture=$(ynh_detect_arch) architecture=$(ynh_detect_arch)
app=$YNH_APP_INSTANCE_NAME app=$YNH_APP_INSTANCE_NAME
@ -53,6 +54,7 @@ ynh_app_setting_set --app=$app --key=domain --value=$domain
ynh_app_setting_set --app=$app --key=path --value=$path_url ynh_app_setting_set --app=$app --key=path --value=$path_url
ynh_app_setting_set --app=$app --key=admin --value=$admin ynh_app_setting_set --app=$app --key=admin --value=$admin
ynh_app_setting_set --app=$app --key=group_name --value="$group_name" ynh_app_setting_set --app=$app --key=group_name --value="$group_name"
ynh_app_setting_set --app=$app --key=group_description --value="$group_description"
ynh_app_setting_set --app=$app --key=password --value=$password ynh_app_setting_set --app=$app --key=password --value=$password
#================================================= #=================================================