mirror of
https://github.com/YunoHost-Apps/mattermost_ynh.git
synced 2024-09-03 19:36:29 +02:00
d460d7f2bd
Enforcing password complexity rules is usually useless, and encourages bad security. However, this is not our main issue. The problem is that when installing Mattermost on Yunohost, if the user chooses a password that doesn't fullfil all these requirements, the installation will fail with a hard- to-spot error message. We don't want this to happen, so we relax the rules a little. Fix #159
104 lines
3.4 KiB
JSON
104 lines
3.4 KiB
JSON
{
|
||
"packaging_format": 1,
|
||
"name": "Mattermost",
|
||
"id": "mattermost",
|
||
"description": {
|
||
"en": "An open-source, self-hosted alternative to Slack",
|
||
"fr": "Une alternative open-source et auto-hébergée à Slack"
|
||
},
|
||
"url": "http://www.mattermost.org/",
|
||
"license": "GPL-3.0-only",
|
||
"version": "4.6.0-1",
|
||
"maintainer": {
|
||
"name": "pmorinerie",
|
||
"email": "kemenaran@gmail.com"
|
||
},
|
||
"multi_instance": true,
|
||
"services": [
|
||
"nginx"
|
||
],
|
||
"requirements": {
|
||
"yunohost": ">= 3.2.0"
|
||
},
|
||
"arguments": {
|
||
"install" : [
|
||
{
|
||
"name": "domain",
|
||
"type": "domain",
|
||
"ask": {
|
||
"en": "Choose a domain for Mattermost",
|
||
"fr": "Choisissez un domaine pour Mattermost"
|
||
},
|
||
"example": "domain.org"
|
||
},
|
||
{
|
||
"name": "path",
|
||
"type": "path",
|
||
"ask": {
|
||
"en": "Choose a path for Mattermost",
|
||
"fr": "Choisissez un chemin pour Mattermost"
|
||
},
|
||
"example": "/chat",
|
||
"default": "/chat"
|
||
},
|
||
{
|
||
"name": "is_public",
|
||
"type": "boolean",
|
||
"help": {
|
||
"en": "Can users non registered on Yunohost access this chat?",
|
||
"fr": "Les invités non-enregistrés sur Yunohost peuvent-ils accéder à ce chat ?"
|
||
},
|
||
"default": true
|
||
},
|
||
{
|
||
"name": "admin_email",
|
||
"type": "string",
|
||
"ask": {
|
||
"en": "Login email for the chat admin",
|
||
"fr": "Adresse email de login pour l’administrateur du chat"
|
||
},
|
||
"example": "john@gmail.com",
|
||
"optional": false
|
||
},
|
||
{
|
||
"name": "admin_password",
|
||
"type": "password",
|
||
"ask": {
|
||
"en": "Password for the chat admin. At least 8 characters.",
|
||
"fr": "Mot de passe pour l’administrateur du chat. Minimum 8 caractères."
|
||
},
|
||
"optional": false
|
||
},
|
||
{
|
||
"name": "admin_locale",
|
||
"type": "string",
|
||
"ask": {
|
||
"en": "Choose the language of the chat for the admin",
|
||
"fr": "Choissisez la langue utilisée pour l'administrateur"
|
||
},
|
||
"choices": ["en", "fr"],
|
||
"default": "en"
|
||
},
|
||
{
|
||
"name": "team_display_name",
|
||
"type": "string",
|
||
"ask": {
|
||
"en": "Choose a Team name",
|
||
"fr": "Choisissez le nom de l’équipe"
|
||
},
|
||
"example": "Team",
|
||
"default": "Team",
|
||
"optional": false
|
||
},
|
||
{
|
||
"name": "analytics",
|
||
"type": "boolean",
|
||
"ask": {
|
||
"en": "Allow Mattermost to send some telemetrics about your usage of this app?",
|
||
"fr": "Autorisez-vous Mattermost à envoyer des informations anonymes sur votre usage de l’application ?"
|
||
},
|
||
"default": false
|
||
}
|
||
]
|
||
}
|
||
}
|