mirror of
https://github.com/YunoHost-Apps/mattermost_ynh.git
synced 2024-09-03 19:36:29 +02:00
Merge pull request #319 from YunoHost-Apps/testing
This commit is contained in:
commit
42676a71f4
15 changed files with 35 additions and 55 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
|
||||
|
||||
|
||||
**Shipped version:** 6.1.0~ynh1
|
||||
**Shipped version:** 6.2.1~ynh1
|
||||
|
||||
|
||||
|
||||
|
@ -50,6 +50,7 @@ To explore the benefits of Mattermost’s enterprise features, you can replace t
|
|||
## Configuration
|
||||
|
||||
* How to configure this app: From an admin panel, a plain file with SSH.
|
||||
* How to change from edition version to another (Team<->Enterprise) : Modify the `settings.yml` in the apps directory `/etc/yunohost/apps/mattermost_instance/settings.yml` and replace the version to wich you whant : Team or Enterprise. Update your apps and verify the *About* on your mattermost
|
||||
|
||||
## YunoHost specific features
|
||||
|
||||
|
|
|
@ -33,7 +33,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
|
||||
|
||||
|
||||
**Version incluse :** 6.1.0~ynh1
|
||||
**Version incluse :** 6.2.1~ynh1
|
||||
|
||||
|
||||
|
||||
|
@ -46,6 +46,7 @@ Pour explorer les avantages des fonctionnalités d'entreprise de Mattermost, vou
|
|||
## Configuration
|
||||
|
||||
* Comment configurer cette application : via le panneau d'administration, un fichier brut en SSH.
|
||||
* Comment changer d'une version à une autre (Team<->Enterprise) : Modifiez le `settings.yml` dans le répertoire de l'application `/etc/yunohost/apps/mattermost_instance/settings.yml` et remplacez la version avec celle que vous voulez : Team ou Enterprise. Mettez à jour votre application et vérifiez dans le *À Propos* sur la console système de votre application.
|
||||
|
||||
## Caractéristiques spécifiques YunoHost
|
||||
|
||||
|
|
6
conf/amd64.src
Normal file
6
conf/amd64.src
Normal file
|
@ -0,0 +1,6 @@
|
|||
SOURCE_URL=https://releases.mattermost.com/6.2.1/mattermost-team-6.2.1-linux-amd64.tar.gz
|
||||
SOURCE_SUM=4fcc4185ff3a5f6f6e96c327bfeef48e11621cf8b850a66821b469dcf9c6bb10
|
||||
SOURCE_SUM_PRG=sha256sum
|
||||
SOURCE_FORMAT=tar.gz
|
||||
SOURCE_IN_SUBDIR=true
|
||||
SOURCE_FILENAME=mattermost.tar.gz
|
|
@ -1,5 +1,5 @@
|
|||
SOURCE_URL=https://github.com/SmartHoneybee/ubiquitous-memory/releases/download/v6.1.0/mattermost-v6.1.0-linux-arm64.tar.gz
|
||||
SOURCE_SUM=4fa5e55699749bb524eb1e9b4b918e862c5eaf55678f4590cdeb9b5fa9e35411
|
||||
SOURCE_URL=https://github.com/SmartHoneybee/ubiquitous-memory/releases/download/v6.2.1/mattermost-v6.2.1-linux-arm64.tar.gz
|
||||
SOURCE_SUM=d63df70e27ee71fbb802b322b74a93168b0f19d3283865dd5dbf69d8daa9b4b0
|
||||
SOURCE_SUM_PRG=sha256sum
|
||||
SOURCE_FORMAT=tar.gz
|
||||
SOURCE_IN_SUBDIR=true
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
SOURCE_URL=https://github.com/SmartHoneybee/ubiquitous-memory/releases/download/v6.1.0/mattermost-v6.1.0-linux-arm.tar.gz
|
||||
SOURCE_SUM=9b81f4fa74ab69f636beba0dd9ee07bef86f9e6320caed394f1878b433818ae8
|
||||
SOURCE_URL=https://github.com/SmartHoneybee/ubiquitous-memory/releases/download/v6.2.1/mattermost-v6.2.1-linux-arm.tar.gz
|
||||
SOURCE_SUM=44b1fdd99f91448d6d6d0becff52804e30b0da8bb6dd6b4ad884da2605342532
|
||||
SOURCE_SUM_PRG=sha256sum
|
||||
SOURCE_FORMAT=tar.gz
|
||||
SOURCE_IN_SUBDIR=true
|
|
@ -82,6 +82,7 @@
|
|||
"EnableBotAccountCreation": false,
|
||||
"EnableSVGs": false,
|
||||
"EnableLatex": false,
|
||||
"EnableInlineLatex": true,
|
||||
"EnableAPIChannelDeletion": false,
|
||||
"EnableLocalMode": true,
|
||||
"LocalModeSocketLocation": "__LOCAL_SOCKET_PATH__",
|
||||
|
@ -512,7 +513,8 @@
|
|||
},
|
||||
"JobSettings": {
|
||||
"RunJobs": true,
|
||||
"RunScheduler": true
|
||||
"RunScheduler": true,
|
||||
"CleanupJobsThresholdDays": -1
|
||||
},
|
||||
"PluginSettings": {
|
||||
"Enable": true,
|
||||
|
@ -571,10 +573,15 @@
|
|||
"PluginPlaybooks": "",
|
||||
"PluginApps": "",
|
||||
"PluginFocalboard": "",
|
||||
"TimedDND": false,
|
||||
"PermalinkPreviews": true,
|
||||
"GlobalHeader": true,
|
||||
"AddChannelButton": "by_team_name"
|
||||
"AddChannelButton": "by_team_name",
|
||||
"PrewrittenMessages": "tour_point",
|
||||
"DownloadAppsCTA": "tips_and_next_steps",
|
||||
"NewAccountNoisy": false,
|
||||
"BoardsUnfurl": true,
|
||||
"CallsMobile": false,
|
||||
"AutoTour": "none"
|
||||
},
|
||||
"ImportSettings": {
|
||||
"Directory": "./import",
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
SOURCE_URL=https://releases.mattermost.com/6.1.0/mattermost-enterprise-6.1.0-linux-amd64.tar.gz
|
||||
SOURCE_SUM=304a46c1abf984b97d6adaf74b8ab4324df68178dcd95cdf721ad02756c7e14d
|
||||
SOURCE_URL=https://releases.mattermost.com/6.2.1/mattermost-enterprise-6.2.1-linux-amd64.tar.gz
|
||||
SOURCE_SUM=a55fccc0c08af2f3330125ee335f9e3dc6ab220adc3409052c47663f26bdd751
|
||||
SOURCE_SUM_PRG=sha256sum
|
||||
SOURCE_FORMAT=tar.gz
|
||||
SOURCE_IN_SUBDIR=true
|
||||
|
|
|
@ -34,9 +34,4 @@ location __PATH__/ {
|
|||
#proxy_cache_use_stale timeout;
|
||||
#proxy_cache_lock on;
|
||||
proxy_pass http://127.0.0.1:__PORT__;
|
||||
|
||||
# Yunohost addition: redirect HTTP to HTTPS
|
||||
if ($scheme = http) {
|
||||
rewrite ^ https://$server_name$request_uri? permanent;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,6 +0,0 @@
|
|||
SOURCE_URL=https://releases.mattermost.com/6.1.0/mattermost-team-6.1.0-linux-amd64.tar.gz
|
||||
SOURCE_SUM=8f7ed5402109c7b8c6eb30c654148c8fea56a4c81650d282d3c15443fbcb8410
|
||||
SOURCE_SUM_PRG=sha256sum
|
||||
SOURCE_FORMAT=tar.gz
|
||||
SOURCE_IN_SUBDIR=true
|
||||
SOURCE_FILENAME=mattermost.tar.gz
|
|
@ -1,6 +1,7 @@
|
|||
## Configuration
|
||||
|
||||
* How to configure this app: From an admin panel, a plain file with SSH.
|
||||
* How to change from edition version to another (Team<->Enterprise) : Modify the `settings.yml` in the apps directory `/etc/yunohost/apps/mattermost_instance/settings.yml` and replace the version to wich you whant : Team or Enterprise. Update your apps and verify the *About* on your mattermost
|
||||
|
||||
## YunoHost specific features
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
## Configuration
|
||||
|
||||
* Comment configurer cette application : via le panneau d'administration, un fichier brut en SSH.
|
||||
* Comment changer d'une version à une autre (Team<->Enterprise) : Modifiez le `settings.yml` dans le répertoire de l'application `/etc/yunohost/apps/mattermost_instance/settings.yml` et remplacez la version avec celle que vous voulez : Team ou Enterprise. Mettez à jour votre application et vérifiez dans le *À Propos* sur la console système de votre application.
|
||||
|
||||
## Caractéristiques spécifiques YunoHost
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
"en": "Open source collaboration platform built for developers",
|
||||
"fr": "Plateforme de collaboration open source conçue pour les développeurs"
|
||||
},
|
||||
"version": "6.1.0~ynh1",
|
||||
"version": "6.2.1~ynh1",
|
||||
"url": "http://www.mattermost.org/",
|
||||
"upstream": {
|
||||
"license": "GPL-3.0-only",
|
||||
|
@ -26,7 +26,7 @@
|
|||
"mysql"
|
||||
],
|
||||
"requirements": {
|
||||
"yunohost": ">= 4.2.0"
|
||||
"yunohost": ">= 4.3.0"
|
||||
},
|
||||
"arguments": {
|
||||
"install": [
|
||||
|
|
|
@ -12,32 +12,6 @@
|
|||
# EXPERIMENTAL HELPERS
|
||||
#=================================================
|
||||
|
||||
# Check the architecture
|
||||
#
|
||||
# example: architecture=$(ynh_detect_arch)
|
||||
#
|
||||
# usage: ynh_detect_arch
|
||||
#
|
||||
# Requires YunoHost version 2.2.4 or higher.
|
||||
|
||||
ynh_detect_arch(){
|
||||
local architecture
|
||||
if [ -n "$(uname -m | grep arm64)" ] || [ -n "$(uname -m | grep aarch64)" ]; then
|
||||
architecture="arm64"
|
||||
elif [ -n "$(uname -m | grep 64)" ]; then
|
||||
architecture="x86-64"
|
||||
elif [ -n "$(uname -m | grep armv7)" ]; then
|
||||
architecture="arm"
|
||||
elif [ -n "$(uname -m | grep armv6)" ]; then
|
||||
architecture="arm"
|
||||
elif [ -n "$(uname -m | grep armv5)" ]; then
|
||||
architecture="arm"
|
||||
else
|
||||
architecture="unknown"
|
||||
fi
|
||||
echo $architecture
|
||||
}
|
||||
|
||||
#=================================================
|
||||
# FUTURE OFFICIAL HELPERS
|
||||
#=================================================
|
||||
|
|
|
@ -31,7 +31,7 @@ email=$(ynh_user_get_info --username=$admin --key=mail)
|
|||
password=$YNH_APP_ARG_PASSWORD
|
||||
language=$YNH_APP_ARG_LANGUAGE
|
||||
team_display_name=$YNH_APP_ARG_TEAM_DISPLAY_NAME
|
||||
architecture=$(ynh_detect_arch)
|
||||
architecture=$YNH_ARCH
|
||||
version=$YNH_APP_ARG_VERSION
|
||||
|
||||
app=$YNH_APP_INSTANCE_NAME
|
||||
|
|
|
@ -32,7 +32,7 @@ port=$(ynh_app_setting_get --app=$app --key=port)
|
|||
final_path=$(ynh_app_setting_get --app=$app --key=final_path)
|
||||
language=$(ynh_app_setting_get --app=$app --key=language)
|
||||
db_name=$(ynh_app_setting_get --app=$app --key=db_name)
|
||||
architecture=$(ynh_detect_arch)
|
||||
architecture=$YNH_ARCH
|
||||
version=$(ynh_app_setting_get --app=$app --key=version)
|
||||
data_path=$(ynh_app_setting_get --app=$app --key=data_path)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue