mirror of
https://github.com/YunoHost-Apps/mattermost_ynh.git
synced 2024-09-03 19:36:29 +02:00
Merge pull request #302 from YunoHost-Apps/testing
This commit is contained in:
commit
9aeb2aafa0
11 changed files with 75 additions and 81 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:** 5.39.0~ynh1
|
**Shipped version:** 6.0.2~ynh1
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -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
|
- 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 :** 5.39.0~ynh1
|
**Version incluse :** 6.0.2~ynh1
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
SOURCE_URL=https://github.com/SmartHoneybee/ubiquitous-memory/releases/download/v5.39.0/mattermost-v5.39.0-linux-arm.tar.gz
|
SOURCE_URL=https://github.com/SmartHoneybee/ubiquitous-memory/releases/download/v6.0.2/mattermost-v6.0.2-linux-arm.tar.gz
|
||||||
SOURCE_SUM=06cf528404a2c096dc69a005654ce9c2fa89301d2f4faf38fa72bd80c05ade1a
|
SOURCE_SUM=465788c52826143f4c5e3198dce08088f61d5511431b2d5272a63ee618757e04
|
||||||
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/v5.39.0/mattermost-v5.39.0-linux-arm64.tar.gz
|
SOURCE_URL=https://github.com/SmartHoneybee/ubiquitous-memory/releases/download/v6.0.2/mattermost-v6.0.2-linux-arm64.tar.gz
|
||||||
SOURCE_SUM=53bfd2bc0c7c7996c101c2905f8caced4ac1be53239e654e8c47ad5a1d397d60
|
SOURCE_SUM=53debd6dda971aac8a199f0a56ccbabc324a5bcafaa4a3038425bbcdd766e599
|
||||||
SOURCE_SUM_PRG=sha256sum
|
SOURCE_SUM_PRG=sha256sum
|
||||||
SOURCE_FORMAT=tar.gz
|
SOURCE_FORMAT=tar.gz
|
||||||
SOURCE_IN_SUBDIR=true
|
SOURCE_IN_SUBDIR=true
|
||||||
|
|
|
@ -27,8 +27,8 @@
|
||||||
"EnablePostUsernameOverride": false,
|
"EnablePostUsernameOverride": false,
|
||||||
"EnablePostIconOverride": false,
|
"EnablePostIconOverride": false,
|
||||||
"GoogleDeveloperKey": "",
|
"GoogleDeveloperKey": "",
|
||||||
"EnableOnlyAdminIntegrations": true,
|
|
||||||
"EnableLinkPreviews": true,
|
"EnableLinkPreviews": true,
|
||||||
|
"EnablePermalinkPreviews": true,
|
||||||
"RestrictLinkPreviews": "",
|
"RestrictLinkPreviews": "",
|
||||||
"EnableTesting": false,
|
"EnableTesting": false,
|
||||||
"EnableDeveloper": false,
|
"EnableDeveloper": false,
|
||||||
|
@ -54,13 +54,10 @@
|
||||||
"WebsocketPort": 80,
|
"WebsocketPort": 80,
|
||||||
"WebserverMode": "gzip",
|
"WebserverMode": "gzip",
|
||||||
"EnableGifPicker": true,
|
"EnableGifPicker": true,
|
||||||
"GfycatApiKey": "2_KtH_W5",
|
"GfycatAPIKey": "2_KtH_W5",
|
||||||
"GfycatApiSecret": "3wLVZPiswc3DnaiaFoLkDvB4X0IV6CpMkj4tf2inJRsBY6-FnkT08zGmppWFgeof",
|
"GfycatAPISecret": "3wLVZPiswc3DnaiaFoLkDvB4X0IV6CpMkj4tf2inJRsBY6-FnkT08zGmppWFgeof",
|
||||||
"EnableCustomEmoji": true,
|
"EnableCustomEmoji": true,
|
||||||
"EnableEmojiPicker": true,
|
"EnableEmojiPicker": true,
|
||||||
"RestrictCustomEmojiCreation": "all",
|
|
||||||
"RestrictPostDelete": "all",
|
|
||||||
"AllowEditPost": "always",
|
|
||||||
"PostEditTimeLimit": -1,
|
"PostEditTimeLimit": -1,
|
||||||
"TimeBetweenUserTypingUpdatesMilliseconds": 5000,
|
"TimeBetweenUserTypingUpdatesMilliseconds": 5000,
|
||||||
"EnablePostSearch": true,
|
"EnablePostSearch": true,
|
||||||
|
@ -71,19 +68,14 @@
|
||||||
"EnableUserStatuses": true,
|
"EnableUserStatuses": true,
|
||||||
"ExperimentalEnableAuthenticationTransfer": true,
|
"ExperimentalEnableAuthenticationTransfer": true,
|
||||||
"ClusterLogTimeoutMilliseconds": 2000,
|
"ClusterLogTimeoutMilliseconds": 2000,
|
||||||
"CloseUnusedDirectMessages": false,
|
|
||||||
"EnablePreviewFeatures": true,
|
"EnablePreviewFeatures": true,
|
||||||
"EnableTutorial": true,
|
"EnableTutorial": true,
|
||||||
|
"EnableOnboardingFlow": true,
|
||||||
"ExperimentalEnableDefaultChannelLeaveJoinMessages": true,
|
"ExperimentalEnableDefaultChannelLeaveJoinMessages": true,
|
||||||
"ExperimentalGroupUnreadChannels": "disabled",
|
"ExperimentalGroupUnreadChannels": "disabled",
|
||||||
"ExperimentalChannelOrganization": false,
|
|
||||||
"ImageProxyType": "",
|
|
||||||
"ImageProxyURL": "",
|
|
||||||
"ImageProxyOptions": "",
|
|
||||||
"EnableAPITeamDeletion": false,
|
"EnableAPITeamDeletion": false,
|
||||||
"EnableAPIUserDeletion": false,
|
"EnableAPIUserDeletion": false,
|
||||||
"ExperimentalEnableHardenedMode": false,
|
"ExperimentalEnableHardenedMode": false,
|
||||||
"DisableLegacyMFA": true,
|
|
||||||
"ExperimentalStrictCSRFEnforcement": false,
|
"ExperimentalStrictCSRFEnforcement": false,
|
||||||
"EnableEmailInvitations": false,
|
"EnableEmailInvitations": false,
|
||||||
"DisableBotsWhenOwnerIsDeactivated": true,
|
"DisableBotsWhenOwnerIsDeactivated": true,
|
||||||
|
@ -91,8 +83,8 @@
|
||||||
"EnableSVGs": false,
|
"EnableSVGs": false,
|
||||||
"EnableLatex": false,
|
"EnableLatex": false,
|
||||||
"EnableAPIChannelDeletion": false,
|
"EnableAPIChannelDeletion": false,
|
||||||
"EnableLocalMode": false,
|
"EnableLocalMode": true,
|
||||||
"LocalModeSocketLocation": "/var/tmp/mattermost_local.socket",
|
"LocalModeSocketLocation": "__LOCAL_SOCKET_PATH__",
|
||||||
"EnableAWSMetering": false,
|
"EnableAWSMetering": false,
|
||||||
"SplitKey": "",
|
"SplitKey": "",
|
||||||
"FeatureFlagSyncIntervalSeconds": 30,
|
"FeatureFlagSyncIntervalSeconds": 30,
|
||||||
|
@ -100,13 +92,11 @@
|
||||||
"ThreadAutoFollow": true,
|
"ThreadAutoFollow": true,
|
||||||
"CollapsedThreads": "disabled",
|
"CollapsedThreads": "disabled",
|
||||||
"ManagedResourcePaths": "",
|
"ManagedResourcePaths": "",
|
||||||
"EnableLegacySidebar": false,
|
|
||||||
"EnableReliableWebSockets": false
|
"EnableReliableWebSockets": false
|
||||||
},
|
},
|
||||||
"TeamSettings": {
|
"TeamSettings": {
|
||||||
"SiteName": "Mattermost",
|
"SiteName": "Mattermost",
|
||||||
"MaxUsersPerTeam": 50,
|
"MaxUsersPerTeam": 50,
|
||||||
"EnableTeamCreation": true,
|
|
||||||
"EnableUserCreation": true,
|
"EnableUserCreation": true,
|
||||||
"EnableOpenServer": false,
|
"EnableOpenServer": false,
|
||||||
"EnableUserDeactivation": false,
|
"EnableUserDeactivation": false,
|
||||||
|
@ -116,15 +106,6 @@
|
||||||
"CustomBrandText": "",
|
"CustomBrandText": "",
|
||||||
"CustomDescriptionText": "",
|
"CustomDescriptionText": "",
|
||||||
"RestrictDirectMessage": "any",
|
"RestrictDirectMessage": "any",
|
||||||
"RestrictTeamInvite": "all",
|
|
||||||
"RestrictPublicChannelManagement": "all",
|
|
||||||
"RestrictPrivateChannelManagement": "all",
|
|
||||||
"RestrictPublicChannelCreation": "all",
|
|
||||||
"RestrictPrivateChannelCreation": "all",
|
|
||||||
"RestrictPublicChannelDeletion": "all",
|
|
||||||
"RestrictPrivateChannelDeletion": "all",
|
|
||||||
"RestrictPrivateChannelManageMembers": "all",
|
|
||||||
"EnableXToLeaveChannelsFromLHS": false,
|
|
||||||
"UserStatusAwayTimeout": 300,
|
"UserStatusAwayTimeout": 300,
|
||||||
"MaxChannelsPerTeam": 2000,
|
"MaxChannelsPerTeam": 2000,
|
||||||
"MaxNotificationsPerChannel": 1000,
|
"MaxNotificationsPerChannel": 1000,
|
||||||
|
@ -132,8 +113,6 @@
|
||||||
"TeammateNameDisplay": "username",
|
"TeammateNameDisplay": "username",
|
||||||
"ExperimentalViewArchivedChannels": true,
|
"ExperimentalViewArchivedChannels": true,
|
||||||
"ExperimentalEnableAutomaticReplies": false,
|
"ExperimentalEnableAutomaticReplies": false,
|
||||||
"ExperimentalHideTownSquareinLHS": false,
|
|
||||||
"ExperimentalTownSquareIsReadOnly": false,
|
|
||||||
"LockTeammateNameDisplay": false,
|
"LockTeammateNameDisplay": false,
|
||||||
"ExperimentalPrimaryTeam": "",
|
"ExperimentalPrimaryTeam": "",
|
||||||
"ExperimentalDefaultChannels": []
|
"ExperimentalDefaultChannels": []
|
||||||
|
@ -208,6 +187,7 @@
|
||||||
"EnableMobileUpload": true,
|
"EnableMobileUpload": true,
|
||||||
"EnableMobileDownload": true,
|
"EnableMobileDownload": true,
|
||||||
"MaxFileSize": 104857600,
|
"MaxFileSize": 104857600,
|
||||||
|
"MaxImageResolution": 33177600,
|
||||||
"DriverName": "local",
|
"DriverName": "local",
|
||||||
"Directory": "__DATA_PATH__",
|
"Directory": "__DATA_PATH__",
|
||||||
"EnablePublicLink": false,
|
"EnablePublicLink": false,
|
||||||
|
@ -274,8 +254,8 @@
|
||||||
"SupportSettings": {
|
"SupportSettings": {
|
||||||
"TermsOfServiceLink": "https://mattermost.com/terms-of-service/",
|
"TermsOfServiceLink": "https://mattermost.com/terms-of-service/",
|
||||||
"PrivacyPolicyLink": "https://mattermost.com/privacy-policy/",
|
"PrivacyPolicyLink": "https://mattermost.com/privacy-policy/",
|
||||||
"AboutLink": "https://docs.mattermost.com/overview/product.html",
|
"AboutLink": "https://about.mattermost.com/default-about/",
|
||||||
"HelpLink": "https://academy.mattermost.com/",
|
"HelpLink": "https://about.mattermost.com/default-help/",
|
||||||
"ReportAProblemLink": "https://about.mattermost.com/default-report-a-problem/",
|
"ReportAProblemLink": "https://about.mattermost.com/default-report-a-problem/",
|
||||||
"SupportEmail": "",
|
"SupportEmail": "",
|
||||||
"CustomTermsOfServiceEnabled": false,
|
"CustomTermsOfServiceEnabled": false,
|
||||||
|
@ -307,7 +287,7 @@
|
||||||
"Scope": "",
|
"Scope": "",
|
||||||
"AuthEndpoint": "",
|
"AuthEndpoint": "",
|
||||||
"TokenEndpoint": "",
|
"TokenEndpoint": "",
|
||||||
"UserApiEndpoint": "",
|
"UserAPIEndpoint": "",
|
||||||
"DiscoveryEndpoint": "",
|
"DiscoveryEndpoint": "",
|
||||||
"ButtonText": "",
|
"ButtonText": "",
|
||||||
"ButtonColor": ""
|
"ButtonColor": ""
|
||||||
|
@ -319,7 +299,7 @@
|
||||||
"Scope": "profile email",
|
"Scope": "profile email",
|
||||||
"AuthEndpoint": "https://accounts.google.com/o/oauth2/v2/auth",
|
"AuthEndpoint": "https://accounts.google.com/o/oauth2/v2/auth",
|
||||||
"TokenEndpoint": "https://www.googleapis.com/oauth2/v4/token",
|
"TokenEndpoint": "https://www.googleapis.com/oauth2/v4/token",
|
||||||
"UserApiEndpoint": "https://people.googleapis.com/v1/people/me?personFields=names,emailAddresses,nicknames,metadata",
|
"UserAPIEndpoint": "https://people.googleapis.com/v1/people/me?personFields=names,emailAddresses,nicknames,metadata",
|
||||||
"DiscoveryEndpoint": "",
|
"DiscoveryEndpoint": "",
|
||||||
"ButtonText": "",
|
"ButtonText": "",
|
||||||
"ButtonColor": ""
|
"ButtonColor": ""
|
||||||
|
@ -331,7 +311,7 @@
|
||||||
"Scope": "User.Read",
|
"Scope": "User.Read",
|
||||||
"AuthEndpoint": "https://login.microsoftonline.com/common/oauth2/v2.0/authorize",
|
"AuthEndpoint": "https://login.microsoftonline.com/common/oauth2/v2.0/authorize",
|
||||||
"TokenEndpoint": "https://login.microsoftonline.com/common/oauth2/v2.0/token",
|
"TokenEndpoint": "https://login.microsoftonline.com/common/oauth2/v2.0/token",
|
||||||
"UserApiEndpoint": "https://graph.microsoft.com/v1.0/me",
|
"UserAPIEndpoint": "https://graph.microsoft.com/v1.0/me",
|
||||||
"DiscoveryEndpoint": "",
|
"DiscoveryEndpoint": "",
|
||||||
"DirectoryId": ""
|
"DirectoryId": ""
|
||||||
},
|
},
|
||||||
|
@ -342,7 +322,7 @@
|
||||||
"Scope": "profile openid email",
|
"Scope": "profile openid email",
|
||||||
"AuthEndpoint": "",
|
"AuthEndpoint": "",
|
||||||
"TokenEndpoint": "",
|
"TokenEndpoint": "",
|
||||||
"UserApiEndpoint": "",
|
"UserAPIEndpoint": "",
|
||||||
"DiscoveryEndpoint": "",
|
"DiscoveryEndpoint": "",
|
||||||
"ButtonText": "",
|
"ButtonText": "",
|
||||||
"ButtonColor": "#145DBF"
|
"ButtonColor": "#145DBF"
|
||||||
|
@ -403,9 +383,9 @@
|
||||||
"Verify": true,
|
"Verify": true,
|
||||||
"Encrypt": true,
|
"Encrypt": true,
|
||||||
"SignRequest": false,
|
"SignRequest": false,
|
||||||
"IdpUrl": "",
|
"IdpURL": "",
|
||||||
"IdpDescriptorUrl": "",
|
"IdpDescriptorURL": "",
|
||||||
"IdpMetadataUrl": "",
|
"IdpMetadataURL": "",
|
||||||
"ServiceProviderIdentifier": "",
|
"ServiceProviderIdentifier": "",
|
||||||
"AssertionConsumerServiceURL": "",
|
"AssertionConsumerServiceURL": "",
|
||||||
"SignatureAlgorithm": "RSAwithSHA1",
|
"SignatureAlgorithm": "RSAwithSHA1",
|
||||||
|
@ -447,8 +427,7 @@
|
||||||
"NetworkInterface": "",
|
"NetworkInterface": "",
|
||||||
"BindAddress": "",
|
"BindAddress": "",
|
||||||
"AdvertiseAddress": "",
|
"AdvertiseAddress": "",
|
||||||
"UseIpAddress": true,
|
"UseIPAddress": true,
|
||||||
"UseExperimentalGossip": true,
|
|
||||||
"EnableGossipCompression": true,
|
"EnableGossipCompression": true,
|
||||||
"EnableExperimentalGossipEncryption": false,
|
"EnableExperimentalGossipEncryption": false,
|
||||||
"ReadOnlyConfig": true,
|
"ReadOnlyConfig": true,
|
||||||
|
@ -479,7 +458,7 @@
|
||||||
"MaxUsersForStatistics": 2500
|
"MaxUsersForStatistics": 2500
|
||||||
},
|
},
|
||||||
"ElasticsearchSettings": {
|
"ElasticsearchSettings": {
|
||||||
"ConnectionUrl": "http://localhost:9200",
|
"ConnectionURL": "http://localhost:9200",
|
||||||
"Username": "elastic",
|
"Username": "elastic",
|
||||||
"Password": "changeme",
|
"Password": "changeme",
|
||||||
"EnableIndexing": false,
|
"EnableIndexing": false,
|
||||||
|
@ -525,8 +504,8 @@
|
||||||
"DownloadExportResults": false,
|
"DownloadExportResults": false,
|
||||||
"GlobalRelaySettings": {
|
"GlobalRelaySettings": {
|
||||||
"CustomerType": "A9",
|
"CustomerType": "A9",
|
||||||
"SmtpUsername": "",
|
"SMTPUsername": "",
|
||||||
"SmtpPassword": "",
|
"SMTPPassword": "",
|
||||||
"EmailAddress": "",
|
"EmailAddress": "",
|
||||||
"SMTPServerTimeout": 1800
|
"SMTPServerTimeout": 1800
|
||||||
}
|
}
|
||||||
|
@ -538,7 +517,7 @@
|
||||||
"PluginSettings": {
|
"PluginSettings": {
|
||||||
"Enable": true,
|
"Enable": true,
|
||||||
"EnableUploads": false,
|
"EnableUploads": false,
|
||||||
"AllowInsecureDownloadUrl": false,
|
"AllowInsecureDownloadURL": false,
|
||||||
"EnableHealthCheck": true,
|
"EnableHealthCheck": true,
|
||||||
"Directory": "./plugins",
|
"Directory": "./plugins",
|
||||||
"ClientDirectory": "./client/plugins",
|
"ClientDirectory": "./client/plugins",
|
||||||
|
@ -546,18 +525,24 @@
|
||||||
"PluginStates": {
|
"PluginStates": {
|
||||||
"com.mattermost.nps": {
|
"com.mattermost.nps": {
|
||||||
"Enable": true
|
"Enable": true
|
||||||
|
},
|
||||||
|
"focalboard": {
|
||||||
|
"Enable": true
|
||||||
|
},
|
||||||
|
"playbooks": {
|
||||||
|
"Enable": true
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"EnableMarketplace": true,
|
"EnableMarketplace": true,
|
||||||
"EnableRemoteMarketplace": true,
|
"EnableRemoteMarketplace": true,
|
||||||
"AutomaticPrepackagedPlugins": true,
|
"AutomaticPrepackagedPlugins": true,
|
||||||
"RequirePluginSignature": false,
|
"RequirePluginSignature": false,
|
||||||
"MarketplaceUrl": "https://api.integrations.mattermost.com",
|
"MarketplaceURL": "https://api.integrations.mattermost.com",
|
||||||
"SignaturePublicKeyFiles": [],
|
"SignaturePublicKeyFiles": [],
|
||||||
"ChimeraOAuthProxyUrl": ""
|
"ChimeraOAuthProxyURL": ""
|
||||||
},
|
},
|
||||||
"DisplaySettings": {
|
"DisplaySettings": {
|
||||||
"CustomUrlSchemes": [],
|
"CustomURLSchemes": [],
|
||||||
"ExperimentalTimezone": true
|
"ExperimentalTimezone": true
|
||||||
},
|
},
|
||||||
"GuestAccountsSettings": {
|
"GuestAccountsSettings": {
|
||||||
|
@ -573,8 +558,8 @@
|
||||||
"RemoteImageProxyOptions": ""
|
"RemoteImageProxyOptions": ""
|
||||||
},
|
},
|
||||||
"CloudSettings": {
|
"CloudSettings": {
|
||||||
"CWSUrl": "https://customers.mattermost.com",
|
"CWSURL": "https://customers.mattermost.com",
|
||||||
"CWSAPIUrl": "https://portal.internal.prod.cloud.mattermost.com"
|
"CWSAPIURL": "https://portal.internal.prod.cloud.mattermost.com"
|
||||||
},
|
},
|
||||||
"FeatureFlags": {
|
"FeatureFlags": {
|
||||||
"TestFeature": "off",
|
"TestFeature": "off",
|
||||||
|
@ -583,10 +568,13 @@
|
||||||
"CollapsedThreads": true,
|
"CollapsedThreads": true,
|
||||||
"EnableRemoteClusterService": false,
|
"EnableRemoteClusterService": false,
|
||||||
"AppsEnabled": false,
|
"AppsEnabled": false,
|
||||||
"PluginIncidentManagement": "1.14.3",
|
"PluginPlaybooks": "",
|
||||||
"PluginApps": "",
|
"PluginApps": "",
|
||||||
"PluginFocalboard": "",
|
"PluginFocalboard": "",
|
||||||
"TimedDND": false
|
"TimedDND": false,
|
||||||
|
"PermalinkPreviews": true,
|
||||||
|
"GlobalHeader": true,
|
||||||
|
"AddChannelButton": "by_team_name"
|
||||||
},
|
},
|
||||||
"ImportSettings": {
|
"ImportSettings": {
|
||||||
"Directory": "./import",
|
"Directory": "./import",
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
SOURCE_URL=https://releases.mattermost.com/5.39.0/mattermost-enterprise-5.39.0-linux-amd64.tar.gz
|
SOURCE_URL=https://releases.mattermost.com/6.0.2/mattermost-enterprise-6.0.2-linux-amd64.tar.gz
|
||||||
SOURCE_SUM=ac0adea65fa8c9a0dcb0effcb4fab2c101b65ac246b205dd5514bfa9f1c22ed4
|
SOURCE_SUM=4580a435a350c9401d50972e720a47e2551eba889a51b976991c6b906a2ac1fd
|
||||||
SOURCE_SUM_PRG=sha256sum
|
SOURCE_SUM_PRG=sha256sum
|
||||||
SOURCE_FORMAT=tar.gz
|
SOURCE_FORMAT=tar.gz
|
||||||
SOURCE_IN_SUBDIR=true
|
SOURCE_IN_SUBDIR=true
|
||||||
|
|
|
@ -11,6 +11,7 @@ TimeoutStartSec=3600
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=10
|
RestartSec=10
|
||||||
WorkingDirectory=__FINALPATH__
|
WorkingDirectory=__FINALPATH__
|
||||||
|
RuntimeDirectory=__APP__
|
||||||
User=__APP__
|
User=__APP__
|
||||||
Group=__APP__
|
Group=__APP__
|
||||||
LimitNOFILE=49152
|
LimitNOFILE=49152
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
SOURCE_URL=https://releases.mattermost.com/5.39.0/mattermost-team-5.39.0-linux-amd64.tar.gz
|
SOURCE_URL=https://releases.mattermost.com/6.0.2/mattermost-team-6.0.2-linux-amd64.tar.gz
|
||||||
SOURCE_SUM=07175b78b0a6e14601d93ac8363e541eadcf95943338892a80640208211284b9
|
SOURCE_SUM=56a2148e8cac5c40ac700fed4cd52c875c512fa0dce5e54f1414af7513f0cb8e
|
||||||
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": "5.39.0~ynh1",
|
"version": "6.0.2~ynh1",
|
||||||
"url": "http://www.mattermost.org/",
|
"url": "http://www.mattermost.org/",
|
||||||
"upstream": {
|
"upstream": {
|
||||||
"license": "GPL-3.0-only",
|
"license": "GPL-3.0-only",
|
||||||
|
@ -32,8 +32,7 @@
|
||||||
"install": [
|
"install": [
|
||||||
{
|
{
|
||||||
"name": "domain",
|
"name": "domain",
|
||||||
"type": "domain",
|
"type": "domain"
|
||||||
"example": "domain.org"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "path",
|
"name": "path",
|
||||||
|
@ -52,13 +51,11 @@
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "admin",
|
"name": "admin",
|
||||||
"type": "user",
|
"type": "user"
|
||||||
"example": "johndoe"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "password",
|
"name": "password",
|
||||||
"type": "password",
|
"type": "password"
|
||||||
"example": "Choose a password"
|
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"name": "version",
|
"name": "version",
|
||||||
|
|
|
@ -144,6 +144,7 @@ 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"
|
||||||
|
|
||||||
|
@ -163,19 +164,6 @@ ynh_script_progression --message="Configuring a systemd service..." --weight=2
|
||||||
# Create a dedicated systemd config
|
# Create a dedicated systemd config
|
||||||
ynh_add_systemd_config
|
ynh_add_systemd_config
|
||||||
|
|
||||||
#=================================================
|
|
||||||
# CREATE ADMIN AND FIRST TEAM
|
|
||||||
#=================================================
|
|
||||||
|
|
||||||
team_name=$(echo "$team_display_name" | iconv -f utf8 -t ascii//TRANSLIT//IGNORE | sed -e 's/[^[:alnum:]]/-/g' | tr -s '-' | tr A-Z a-z)
|
|
||||||
|
|
||||||
pushd "$final_path"
|
|
||||||
ynh_exec_warn_less ynh_exec_as $app bin/mattermost user create --username "$admin" --email "$email" --password "$password" --locale "$language" --system_admin
|
|
||||||
ynh_exec_warn_less ynh_exec_as $app bin/mattermost user verify "$admin"
|
|
||||||
ynh_exec_warn_less ynh_exec_as $app bin/mattermost team create --name "$team_name" --display_name "$team_display_name" --email "$email"
|
|
||||||
ynh_exec_warn_less ynh_exec_as $app bin/mattermost team add "$team_name" "$admin"
|
|
||||||
popd
|
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# INTEGRATE SERVICE IN YUNOHOST
|
# INTEGRATE SERVICE IN YUNOHOST
|
||||||
#=================================================
|
#=================================================
|
||||||
|
@ -191,6 +179,26 @@ ynh_script_progression --message="Starting a systemd service..." --weight=2
|
||||||
# Start a systemd service
|
# Start a systemd service
|
||||||
ynh_systemd_action --service_name=$app --action=start --log_path=systemd --line_match="Started Mattermost"
|
ynh_systemd_action --service_name=$app --action=start --log_path=systemd --line_match="Started Mattermost"
|
||||||
|
|
||||||
|
#=================================================
|
||||||
|
# CREATE ADMIN AND FIRST TEAM
|
||||||
|
#=================================================
|
||||||
|
ynh_script_progression --message="Create the first administrator and team..." --weight=1
|
||||||
|
|
||||||
|
team_name=$(echo "$team_display_name" | iconv -f utf8 -t ascii//TRANSLIT//IGNORE | sed -e 's/[^[:alnum:]]/-/g' | tr -s '-' | tr A-Z a-z)
|
||||||
|
|
||||||
|
pushd "$final_path"
|
||||||
|
export MMCTL_LOCAL=true
|
||||||
|
export MMCTL_LOCAL_SOCKET_PATH="$local_socket_path"
|
||||||
|
|
||||||
|
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 users add "$team_name" "$admin"
|
||||||
|
popd
|
||||||
|
|
||||||
|
# Now that the first user is created, disable mmctl passwordless access
|
||||||
|
ynh_replace_string '"EnableLocalMode": true' '"EnableLocalMode": false' "$final_path/config/config.json"
|
||||||
|
ynh_systemd_action --service_name=$app --action=restart --log_path=systemd --line_match="Started Mattermost"
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# SETUP SSOWAT
|
# SETUP SSOWAT
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
|
@ -185,8 +185,8 @@ yunohost service add $app --description="Collaboration platform built for develo
|
||||||
#=================================================
|
#=================================================
|
||||||
ynh_script_progression --message="Starting a systemd service..." --weight=2
|
ynh_script_progression --message="Starting a systemd service..." --weight=2
|
||||||
|
|
||||||
# A lengthy database migration runs when upgrading from a version < 5.38.
|
# A lengthy database migration runs when upgrading from a version < 6.0.
|
||||||
if dpkg --compare-versions "$previous_upstream_version" lt "5.38.0"
|
if dpkg --compare-versions "$previous_upstream_version" lt "6.0.0"
|
||||||
then
|
then
|
||||||
ynh_print_warn --message="Lengthy database migrations will now run. This may take a while..."
|
ynh_print_warn --message="Lengthy database migrations will now run. This may take a while..."
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Add table
Reference in a new issue