1
0
mirror of https://github.com/coltoneshaw/CS-Repro-Mattermost.git synced 2025-12-23 10:01:30 +01:00

Added make file and modified how it works

This commit is contained in:
coltoneshaw
2023-02-15 11:47:47 -05:00
parent fdfe8c1eaa
commit 1f51321fb3
12 changed files with 348 additions and 414 deletions

BIN
files/.DS_Store vendored

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@@ -89,7 +89,7 @@
"EnableSVGs": true,
"EnableLatex": true,
"EnableInlineLatex": true,
"PostPriority": false,
"PostPriority": true,
"EnableAPIChannelDeletion": false,
"EnableLocalMode": true,
"LocalModeSocketLocation": "/var/tmp/mattermost_local.socket",
@@ -100,12 +100,14 @@
"ThreadAutoFollow": true,
"CollapsedThreads": "always_on",
"ManagedResourcePaths": "",
"EnableCustomGroups": true
"EnableCustomGroups": true,
"SelfHostedPurchase": true,
"AllowSyncedDrafts": true
},
"TeamSettings": {
"SiteName": "Mattermost",
"MaxUsersPerTeam": 50,
"EnableUserCreation": true,
"EnableUserCreation": false,
"EnableOpenServer": false,
"EnableUserDeactivation": false,
"RestrictCreationToDomains": "",
@@ -119,7 +121,7 @@
"MaxChannelsPerTeam": 2000,
"MaxNotificationsPerChannel": 1000,
"EnableConfirmNotificationsToChannel": true,
"TeammateNameDisplay": "username",
"TeammateNameDisplay": "full_name",
"ExperimentalViewArchivedChannels": true,
"ExperimentalEnableAutomaticReplies": false,
"LockTeammateNameDisplay": false,
@@ -142,7 +144,7 @@
"ConnMaxIdleTimeMilliseconds": 300000,
"MaxOpenConns": 300,
"Trace": false,
"AtRestEncryptKey": "d44qwusbidpssy13zw6cr9idp43mgw5w",
"AtRestEncryptKey": "c6j9z5bzbsargtkk17fxcjuyw7yetkdd",
"QueryTimeout": 30,
"DisableDatabaseSearch": false,
"MigrationsStatementTimeoutSeconds": 100000,
@@ -154,11 +156,12 @@
"ConsoleJson": true,
"EnableColor": false,
"EnableFile": true,
"FileLevel": "INFO",
"FileLevel": "DEBUG",
"FileJson": true,
"FileLocation": "",
"EnableWebhookDebugging": true,
"EnableDiagnostics": true,
"VerboseDiagnostics": false,
"EnableSentry": true,
"AdvancedLoggingConfig": ""
},
@@ -202,7 +205,7 @@
"EnablePublicLink": false,
"ExtractContent": true,
"ArchiveRecursion": false,
"PublicLinkSalt": "o57y33mz89b5jjxibuyxyjds6s8tcxxd",
"PublicLinkSalt": "5dt8nrqjspnjikmb7yaz9kwesanaqcf5",
"InitialFont": "nunito-bold.ttf",
"AmazonS3AccessKeyId": "",
"AmazonS3SecretAccessKey": "",
@@ -217,8 +220,8 @@
"AmazonS3RequestTimeoutMilliseconds": 30000
},
"EmailSettings": {
"EnableSignUpWithEmail": true,
"EnableSignInWithEmail": true,
"EnableSignUpWithEmail": false,
"EnableSignInWithEmail": false,
"EnableSignInWithUsername": true,
"SendEmailNotifications": true,
"UseChannelInEmailNotifications": false,
@@ -347,13 +350,13 @@
"BaseDN": "dc=planetexpress,dc=com",
"BindUsername": "cn=admin,dc=planetexpress,dc=com",
"BindPassword": "GoodNewsEveryone",
"UserFilter": "(objectClass=banana)",
"UserFilter": "(objectClass=Person)",
"GroupFilter": "(objectClass=Group)",
"GuestFilter": "",
"EnableAdminFilter": true,
"EnableAdminFilter": false,
"AdminFilter": "(memberof=cn=admin_staff,ou=people,dc=planetexpress,dc=com)",
"GroupDisplayNameAttribute": "cn",
"GroupIdAttribute": "dn",
"GroupIdAttribute": "cn",
"FirstNameAttribute": "givenName",
"LastNameAttribute": "sn",
"EmailAttribute": "mail",
@@ -449,7 +452,7 @@
"IdleConnTimeoutMilliseconds": 90000
},
"MetricsSettings": {
"Enable": false,
"Enable": true,
"BlockProfileRate": 0,
"ListenAddress": ":8067"
},
@@ -461,7 +464,8 @@
"UseNewSAMLLibrary": false,
"EnableSharedChannels": false,
"EnableRemoteClusterService": false,
"EnableAppBar": false
"EnableAppBar": false,
"PatchPluginsReactDOM": false
},
"AnalyticsSettings": {
"MaxUsersForStatistics": 2500
@@ -471,8 +475,8 @@
"Username": "elastic",
"Password": "changeme",
"EnableIndexing": true,
"EnableSearching": false,
"EnableAutocomplete": false,
"EnableSearching": true,
"EnableAutocomplete": true,
"Sniff": true,
"PostIndexReplicas": 1,
"PostIndexShards": 1,
@@ -532,14 +536,14 @@
},
"PluginSettings": {
"Enable": true,
"EnableUploads": false,
"EnableUploads": true,
"AllowInsecureDownloadURL": false,
"EnableHealthCheck": true,
"Directory": "./plugins",
"ClientDirectory": "./client/plugins",
"Plugins": {
"playbooks": {
"BotUserID": "kkx51t3yytrabj9dfjtzyaazdw"
"BotUserID": "qy9ge6fgcjf35yc5ugb93r65fh"
}
},
"PluginStates": {
@@ -575,7 +579,7 @@
"ExperimentalTimezone": true
},
"GuestAccountsSettings": {
"Enable": false,
"Enable": true,
"AllowEmailAccounts": true,
"EnforceMultifactorAuthentication": false,
"RestrictCreationToDomains": ""

View File

@@ -0,0 +1,139 @@
{
"ServiceSettings": {
"LicenseFileLocation": "config/license.mattermost-enterprise",
"AllowedUntrustedInternalConnections": "cs-repro-keycloak:8080 cs-repro-keycloak"
},
"LogSettings": {
"EnableConsole": true,
"ConsoleLevel": "DEBUG",
"ConsoleJson": true,
"EnableColor": false,
"EnableFile": true,
"FileLevel": "INFO",
"FileJson": true,
"FileLocation": "",
"EnableWebhookDebugging": true,
"EnableDiagnostics": true,
"EnableSentry": true,
"AdvancedLoggingConfig": ""
},
"ExperimentalAuditSettings": {
"FileEnabled": false,
"FileName": "",
"FileMaxSizeMB": 100,
"FileMaxAgeDays": 0,
"FileMaxBackups": 0,
"FileCompress": false,
"FileMaxQueueSize": 1000,
"AdvancedLoggingConfig": ""
},
"NotificationLogSettings": {
"EnableConsole": true,
"ConsoleLevel": "DEBUG",
"ConsoleJson": true,
"EnableColor": false,
"EnableFile": true,
"FileLevel": "INFO",
"FileJson": true,
"FileLocation": "",
"AdvancedLoggingConfig": ""
},
"LdapSettings": {
"Enable": true,
"EnableSync": true,
"LdapServer": "openldap",
"LdapPort": 10389,
"ConnectionSecurity": "",
"BaseDN": "dc=planetexpress,dc=com",
"BindUsername": "cn=admin,dc=planetexpress,dc=com",
"BindPassword": "GoodNewsEveryone",
"UserFilter": "(objectClass=banana)",
"GroupFilter": "(objectClass=Group)",
"GuestFilter": "",
"EnableAdminFilter": true,
"AdminFilter": "(memberof=cn=admin_staff,ou=people,dc=planetexpress,dc=com)",
"GroupDisplayNameAttribute": "cn",
"GroupIdAttribute": "dn",
"FirstNameAttribute": "givenName",
"LastNameAttribute": "sn",
"EmailAttribute": "mail",
"UsernameAttribute": "uid",
"NicknameAttribute": "",
"IdAttribute": "uid",
"PositionAttribute": "",
"LoginIdAttribute": "uid",
"PictureAttribute": "",
"SyncIntervalMinutes": 60,
"SkipCertificateVerification": false,
"PublicCertificateFile": "",
"PrivateKeyFile": "",
"QueryTimeout": 60,
"MaxPageSize": 0,
"LoginFieldName": "",
"LoginButtonColor": "#0000",
"LoginButtonBorderColor": "#2389D7",
"LoginButtonTextColor": "#2389D7",
"Trace": true
},
"SamlSettings": {
"Enable": true,
"EnableSyncWithLdap": true,
"EnableSyncWithLdapIncludeAuth": true,
"IgnoreGuestsLdapSync": false,
"Verify": false,
"Encrypt": false,
"SignRequest": false,
"IdpURL": "http://localhost:8080/realms/master/protocol/saml",
"IdpDescriptorURL": "http://localhost:8080/realms/master",
"IdpMetadataURL": "http://cs-repro-keycloak:8080/realms/master/protocol/saml/descriptor",
"ServiceProviderIdentifier": "mattermost",
"AssertionConsumerServiceURL": "http://localhost:8065/login/sso/saml",
"SignatureAlgorithm": "RSAwithSHA1",
"CanonicalAlgorithm": "Canonical1.0",
"ScopingIDPProviderId": "",
"ScopingIDPName": "",
"IdpCertificateFile": "samlCert.crt",
"PublicCertificateFile": "",
"PrivateKeyFile": "",
"IdAttribute": "id",
"GuestAttribute": "",
"EnableAdminAttribute": false,
"AdminAttribute": "",
"FirstNameAttribute": "",
"LastNameAttribute": "",
"EmailAttribute": "email",
"UsernameAttribute": "username",
"NicknameAttribute": "",
"LocaleAttribute": "",
"PositionAttribute": "",
"LoginButtonText": "keycloak",
"LoginButtonColor": "#34a28b",
"LoginButtonBorderColor": "#2389D7",
"LoginButtonTextColor": "#ffffff"
},
"MetricsSettings": {
"Enable": true,
"BlockProfileRate": 0,
"ListenAddress": ":8067"
},
"ElasticsearchSettings": {
"ConnectionURL": "http://cs-repro-elasticsearch:9200",
"EnableIndexing": true,
"EnableSearching": true,
"EnableAutocomplete": true,
"Sniff": true,
"PostIndexReplicas": 1,
"PostIndexShards": 1,
"ChannelIndexReplicas": 1,
"ChannelIndexShards": 1,
"UserIndexReplicas": 1,
"UserIndexShards": 1,
"AggregatePostsAfterDays": 365,
"PostsAggregatorJobStartTime": "03:00",
"IndexPrefix": ""
},
"PluginSettings": {
"Enable": true,
"EnableUploads": true
}
}