mirror of
https://github.com/YunoHost-Apps/mattermost_ynh.git
synced 2024-09-03 19:36:29 +02:00
Merge pull request #381 from YunoHost-Apps/testing
Merge testing into master (Mattermost v7.0.1)
This commit is contained in:
commit
00d0216943
9 changed files with 15 additions and 18 deletions
|
@ -37,7 +37,7 @@ To explore the benefits of Mattermost’s enterprise features, you can replace t
|
||||||
- Multiple languages including U.S. English, Australian English, Bulgarian, Chinese (Simplified and Traditional), Dutch, French, German, Hungarian, Italian, Japanese, Korean, Polish, Brazilian Portuguese, Romanian, Russian, Turkish, Spanish, Swedish, and Ukrainian
|
- Multiple languages including U.S. English, Australian English, Bulgarian, Chinese (Simplified and Traditional), Dutch, French, German, Hungarian, Italian, Japanese, Korean, Polish, Brazilian Portuguese, Romanian, Russian, Turkish, Spanish, Swedish, and Ukrainian
|
||||||
|
|
||||||
|
|
||||||
**Shipped version:** 7.0.0~ynh1
|
**Shipped version:** 7.0.1~ynh1
|
||||||
|
|
||||||
## Screenshots
|
## Screenshots
|
||||||
|
|
||||||
|
|
|
@ -37,7 +37,7 @@ Pour explorer les avantages des fonctionnalités d'entreprise de Mattermost, vou
|
||||||
- Plusieurs langues dont l'anglais américain, l'anglais australien, le bulgare, le chinois (simplifié et traditionnel), le néerlandais, le français, l'allemand, le hongrois, l'italien, le japonais, le coréen, le polonais, le portugais brésilien, le roumain, le russe, le turc, l'espagnol, le suédois et l'ukrainien
|
- Plusieurs langues dont l'anglais américain, l'anglais australien, le bulgare, le chinois (simplifié et traditionnel), le néerlandais, le français, l'allemand, le hongrois, l'italien, le japonais, le coréen, le polonais, le portugais brésilien, le roumain, le russe, le turc, l'espagnol, le suédois et l'ukrainien
|
||||||
|
|
||||||
|
|
||||||
**Version incluse :** 7.0.0~ynh1
|
**Version incluse :** 7.0.1~ynh1
|
||||||
|
|
||||||
## Captures d'écran
|
## Captures d'écran
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
SOURCE_URL=https://releases.mattermost.com/7.0.0/mattermost-team-7.0.0-linux-amd64.tar.gz
|
SOURCE_URL=https://releases.mattermost.com/7.0.1/mattermost-team-7.0.1-linux-amd64.tar.gz
|
||||||
SOURCE_SUM=8a303cdaf0edd28f318d5fe504238da6aa2afbe4fce27cfee8370aac3b46e02a
|
SOURCE_SUM=d65e85f3e523c00afca521e79af79d37047d3a3b0662d2174e9ddc206609880d
|
||||||
SOURCE_SUM_PRG=sha256sum
|
SOURCE_SUM_PRG=sha256sum
|
||||||
SOURCE_FORMAT=tar.gz
|
SOURCE_FORMAT=tar.gz
|
||||||
SOURCE_IN_SUBDIR=true
|
SOURCE_IN_SUBDIR=true
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
SOURCE_URL=https://github.com/SmartHoneybee/ubiquitous-memory/releases/download/v7.0.0/mattermost-v7.0.0-linux-arm64.tar.gz
|
SOURCE_URL=https://github.com/SmartHoneybee/ubiquitous-memory/releases/download/v7.0.1/mattermost-v7.0.1-linux-arm64.tar.gz
|
||||||
SOURCE_SUM=4887896166547326b1ba781894c84d272fa1cb15f48157ef69253a511723e666
|
SOURCE_SUM=166bceedf98b8551acd53b741e0cdbe14a04273056d33fecb9cc02502fb046cb
|
||||||
SOURCE_SUM_PRG=sha256sum
|
SOURCE_SUM_PRG=sha256sum
|
||||||
SOURCE_FORMAT=tar.gz
|
SOURCE_FORMAT=tar.gz
|
||||||
SOURCE_IN_SUBDIR=true
|
SOURCE_IN_SUBDIR=true
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
SOURCE_URL=https://github.com/SmartHoneybee/ubiquitous-memory/releases/download/v7.0.0/mattermost-v7.0.0-linux-arm.tar.gz
|
SOURCE_URL=https://github.com/SmartHoneybee/ubiquitous-memory/releases/download/v7.0.1/mattermost-v7.0.1-linux-arm.tar.gz
|
||||||
SOURCE_SUM=7b31ecd64d14e51311aa42e07d70e80dabe9f4766ee0b368fba6b3d480a2c1fd
|
SOURCE_SUM=425fa64f8bbfa43accf19e6b031bcfb4d3396d954de5e5a9df52183423ab2950
|
||||||
SOURCE_SUM_PRG=sha256sum
|
SOURCE_SUM_PRG=sha256sum
|
||||||
SOURCE_FORMAT=tar.gz
|
SOURCE_FORMAT=tar.gz
|
||||||
SOURCE_IN_SUBDIR=true
|
SOURCE_IN_SUBDIR=true
|
||||||
|
|
|
@ -90,7 +90,7 @@
|
||||||
"EnableInlineLatex": true,
|
"EnableInlineLatex": true,
|
||||||
"EnableAPIChannelDeletion": false,
|
"EnableAPIChannelDeletion": false,
|
||||||
"EnableLocalMode": true,
|
"EnableLocalMode": true,
|
||||||
"LocalModeSocketLocation": "__LOCAL_SOCKET_PATH__",
|
"LocalModeSocketLocation": "/var/run/__APP__/mattermost_local.socket",
|
||||||
"EnableAWSMetering": false,
|
"EnableAWSMetering": false,
|
||||||
"SplitKey": "",
|
"SplitKey": "",
|
||||||
"FeatureFlagSyncIntervalSeconds": 30,
|
"FeatureFlagSyncIntervalSeconds": 30,
|
||||||
|
@ -177,7 +177,7 @@
|
||||||
"EnableFile": true,
|
"EnableFile": true,
|
||||||
"FileLevel": "INFO",
|
"FileLevel": "INFO",
|
||||||
"FileJson": true,
|
"FileJson": true,
|
||||||
"FileLocation": "__LOGS_PATH__",
|
"FileLocation": "/var/log/__APP__",
|
||||||
"AdvancedLoggingConfig": ""
|
"AdvancedLoggingConfig": ""
|
||||||
},
|
},
|
||||||
"PasswordSettings": {
|
"PasswordSettings": {
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
SOURCE_URL=https://releases.mattermost.com/7.0.0/mattermost-enterprise-7.0.0-linux-amd64.tar.gz
|
SOURCE_URL=https://releases.mattermost.com/7.0.1/mattermost-enterprise-7.0.1-linux-amd64.tar.gz
|
||||||
SOURCE_SUM=3b66c9b23d988de6917ea3eb7a18309fc6cd1da630a9cadc53586d098bab3e5c
|
SOURCE_SUM=3565433c3a9dc7b99d582affa818bc1ec52c0896d3eb7c77ed464679c1ec66be
|
||||||
SOURCE_SUM_PRG=sha256sum
|
SOURCE_SUM_PRG=sha256sum
|
||||||
SOURCE_FORMAT=tar.gz
|
SOURCE_FORMAT=tar.gz
|
||||||
SOURCE_IN_SUBDIR=true
|
SOURCE_IN_SUBDIR=true
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
"en": "Open source collaboration platform built for developers",
|
"en": "Open source collaboration platform built for developers",
|
||||||
"fr": "Plateforme de collaboration open source conçue pour les développeurs"
|
"fr": "Plateforme de collaboration open source conçue pour les développeurs"
|
||||||
},
|
},
|
||||||
"version": "7.0.0~ynh1",
|
"version": "7.0.1~ynh1",
|
||||||
"url": "http://www.mattermost.org/",
|
"url": "http://www.mattermost.org/",
|
||||||
"upstream": {
|
"upstream": {
|
||||||
"license": "GPL-3.0-only",
|
"license": "GPL-3.0-only",
|
||||||
|
|
|
@ -127,9 +127,7 @@ ynh_script_progression --message="Configuring log rotation..." --weight=1
|
||||||
|
|
||||||
# Create log directory
|
# Create log directory
|
||||||
mkdir -p /var/log/$app
|
mkdir -p /var/log/$app
|
||||||
#touch /var/log/$app/$app.log
|
chown $app -R "/var/log/$app"
|
||||||
logs_path="/var/log/$app"
|
|
||||||
chown $app -R $logs_path
|
|
||||||
|
|
||||||
# Setup logrotate
|
# Setup logrotate
|
||||||
ynh_use_logrotate
|
ynh_use_logrotate
|
||||||
|
@ -143,7 +141,6 @@ ynh_script_progression --message="Modifying a config file..." --weight=3
|
||||||
|
|
||||||
smtp_user_pwd=$(ynh_string_random --length=24)
|
smtp_user_pwd=$(ynh_string_random --length=24)
|
||||||
url=https://$domain$path_url
|
url=https://$domain$path_url
|
||||||
local_socket_path="/var/run/${app}/mattermost_local.socket"
|
|
||||||
|
|
||||||
ynh_add_config --template="../conf/config.json" --destination="$final_path/config/config.json"
|
ynh_add_config --template="../conf/config.json" --destination="$final_path/config/config.json"
|
||||||
|
|
||||||
|
@ -189,7 +186,7 @@ bin_mmctl="$final_path/bin/mmctl"
|
||||||
# mmctl is not packaged with ARM versions yet
|
# mmctl is not packaged with ARM versions yet
|
||||||
if [[ -f "$bin_mmctl" ]]; then
|
if [[ -f "$bin_mmctl" ]]; then
|
||||||
export MMCTL_LOCAL=true
|
export MMCTL_LOCAL=true
|
||||||
export MMCTL_LOCAL_SOCKET_PATH="$local_socket_path"
|
export MMCTL_LOCAL_SOCKET_PATH="/var/run/${app}/mattermost_local.socket"
|
||||||
|
|
||||||
ynh_exec_warn_less sudo --preserve-env -u $app "$bin_mmctl" user create --username "$admin" --email "$email" --password "$password" --locale "$language" --email-verified --system-admin
|
ynh_exec_warn_less sudo --preserve-env -u $app "$bin_mmctl" user create --username "$admin" --email "$email" --password "$password" --locale "$language" --email-verified --system-admin
|
||||||
ynh_exec_warn_less sudo --preserve-env -u $app "$bin_mmctl" team create --name "$team_name" --display_name "$team_display_name" --email "$email"
|
ynh_exec_warn_less sudo --preserve-env -u $app "$bin_mmctl" team create --name "$team_name" --display_name "$team_display_name" --email "$email"
|
||||||
|
|
Loading…
Add table
Reference in a new issue