From: nutra-bot Date: Wed, 27 Jul 2022 19:10:20 +0000 (+0000) Subject: update mattermost stuff, deleted nested config lol X-Git-Url: https://git.nutra.tk/v1?a=commitdiff_plain;h=d4d6d1f2ef737622979f53b6134092d0028ffda0;p=nutratech%2Fvps-root.git update mattermost stuff, deleted nested config lol --- diff --git a/opt/mattermost/config/config.json b/opt/mattermost/config/config.json index 54a8a77..43ba236 100644 --- a/opt/mattermost/config/config.json +++ b/opt/mattermost/config/config.json @@ -26,7 +26,7 @@ "EnableCommands": true, "EnablePostUsernameOverride": false, "EnablePostIconOverride": false, - "GoogleDeveloperKey": "AIzaSyC_Q9xL_O0-ffiU-YzKceZ9kopmdslcyzg", + "GoogleDeveloperKey": "", "EnableLinkPreviews": true, "EnablePermalinkPreviews": true, "RestrictLinkPreviews": "", @@ -48,11 +48,11 @@ "AllowCookiesForSubdomains": false, "ExtendSessionLengthWithActivity": true, "SessionLengthWebInDays": 30, - "SessionLengthWebInHours": 1440, + "SessionLengthWebInHours": 720, "SessionLengthMobileInDays": 30, - "SessionLengthMobileInHours": 1440, + "SessionLengthMobileInHours": 720, "SessionLengthSSOInDays": 30, - "SessionLengthSSOInHours": 1440, + "SessionLengthSSOInHours": 720, "SessionCacheInMinutes": 10, "SessionIdleTimeoutInMinutes": 43200, "WebsocketSecurePort": 443, @@ -87,7 +87,7 @@ "EnableBotAccountCreation": false, "EnableSVGs": false, "EnableLatex": false, - "EnableInlineLatex": false, + "EnableInlineLatex": true, "EnableAPIChannelDeletion": false, "EnableLocalMode": false, "LocalModeSocketLocation": "/var/tmp/mattermost_local.socket", @@ -191,13 +191,13 @@ "EnableFileAttachments": true, "EnableMobileUpload": true, "EnableMobileDownload": true, - "MaxFileSize": 1048576, + "MaxFileSize": 104857600, "MaxImageResolution": 33177600, "MaxImageDecoderConcurrency": -1, "DriverName": "local", "Directory": "./data/", "EnablePublicLink": false, - "ExtractContent": false, + "ExtractContent": true, "ArchiveRecursion": false, "PublicLinkSalt": "odx3o8du3nknt74sjiuf8z1784bq5bgu", "InitialFont": "nunito-bold.ttf", @@ -207,7 +207,7 @@ "AmazonS3PathPrefix": "", "AmazonS3Region": "", "AmazonS3Endpoint": "s3.amazonaws.com", - "AmazonS3SSL": false, + "AmazonS3SSL": true, "AmazonS3SignV2": false, "AmazonS3SSE": false, "AmazonS3Trace": false @@ -220,7 +220,7 @@ "UseChannelInEmailNotifications": false, "RequireEmailVerification": false, "FeedbackName": "Mattermost Notification", - "FeedbackEmail": "noreply@dev.nutra.tk", + "FeedbackEmail": "admin@dev.nutra.tk", "ReplyToAddress": "", "FeedbackOrganization": "", "EnableSMTPAuth": false, @@ -230,8 +230,8 @@ "SMTPPort": "25", "SMTPServerTimeout": 10, "ConnectionSecurity": "", - "SendPushNotifications": true, - "PushNotificationServer": "127.0.0.1:8066", + "SendPushNotifications": false, + "PushNotificationServer": "http://127.0.0.1:8066", "PushNotificationContents": "full", "PushNotificationBuffer": 1000, "EnableEmailBatching": false, @@ -264,7 +264,7 @@ "AboutLink": "https://docs.mattermost.com/about/product.html/", "HelpLink": "https://mattermost.com/default-help/", "ReportAProblemLink": "https://mattermost.com/default-report-a-problem/", - "SupportEmail": "noreply@dev.nutra.tk", + "SupportEmail": "support@dev.nutra.tk", "CustomTermsOfServiceEnabled": false, "CustomTermsOfServiceReAcceptancePeriod": 365, "EnableAskCommunityLink": true @@ -565,9 +565,7 @@ "ChimeraOAuthProxyURL": "" }, "DisplaySettings": { - "CustomURLSchemes": [ - "git" - ], + "CustomURLSchemes": [], "ExperimentalTimezone": true }, "GuestAccountsSettings": { diff --git a/opt/mpns/config/build.txt b/opt/mpns/config/build.txt new file mode 100644 index 0000000..139597f --- /dev/null +++ b/opt/mpns/config/build.txt @@ -0,0 +1,2 @@ + + diff --git a/opt/mpns/config/mattermost-push-proxy.json b/opt/mpns/config/mattermost-push-proxy.json new file mode 100644 index 0000000..ef0fb17 --- /dev/null +++ b/opt/mpns/config/mattermost-push-proxy.json @@ -0,0 +1,36 @@ +{ + "ListenAddress":":8066", + "ThrottlePerSec":300, + "ThrottleMemoryStoreSize":50000, + "ThrottleVaryByHeader":"X-Forwarded-For", + "EnableMetrics": false, + "ApplePushSettings":[ + { + "Type":"apple", + "ApplePushUseDevelopment":false, + "ApplePushCertPrivate":"", + "ApplePushCertPassword":"", + "ApplePushTopic":"com.mattermost.Mattermost" + }, + { + "Type":"apple_rn", + "ApplePushUseDevelopment":false, + "ApplePushCertPrivate":"", + "ApplePushCertPassword":"", + "ApplePushTopic":"com.mattermost.react.native" + } + ], + "AndroidPushSettings":[ + { + "Type":"android", + "AndroidApiKey":"AAAAYwMNiGQ:APA91bHHhQwlbcTaKOc_6CjCCUysLNEPQK9qsiAeUzTBmeY2WoUuqtmsKSq2joTKzyGDw8R4KqZHklUh4-JJ3ut6Uyg8Th5B54yp4luIcKcaNFxbhG9Lh40wJ9O9CqXaQIHoeAAQtoCk" + }, + { + "Type":"android_rn", + "AndroidApiKey":"AAAAYwMNiGQ:APA91bHHhQwlbcTaKOc_6CjCCUysLNEPQK9qsiAeUzTBmeY2WoUuqtmsKSq2joTKzyGDw8R4KqZHklUh4-JJ3ut6Uyg8Th5B54yp4luIcKcaNFxbhG9Lh40wJ9O9CqXaQIHoeAAQtoCk" + } + ], + "EnableConsoleLog": true, + "EnableFileLog": false, + "LogFileLocation": "" +}