PLT-6924 Added config options to disable file uploads/downloads on mobile (#7049)

Этот коммит содержится в:
Harrison Healey
2017-07-28 13:52:31 -04:00
коммит произвёл Corey Hulen
родитель da6e6ca0bf
Коммит 3c0f082506
5 изменённых файлов: 77 добавлений и 14 удалений

Просмотреть файл

@@ -46,18 +46,10 @@
"TimeBetweenUserTypingUpdatesMilliseconds": 5000,
"EnablePostSearch": true,
"EnableUserTypingMessages": true,
"EnableUserStatuses": true,
"EnableChannelViewedMessages": true,
"EnableUserStatuses": true,
"ClusterLogTimeoutMilliseconds": 2000
},
"ElasticsearchSettings": {
"ConnectionUrl": "http://dockerhost:9200",
"Username": "elastic",
"Password": "changeme",
"EnableIndexing": false,
"EnableSearching": false,
"Sniff": true
},
"TeamSettings": {
"SiteName": "Mattermost",
"MaxUsersPerTeam": 50,
@@ -112,6 +104,8 @@
},
"FileSettings": {
"EnableFileAttachments": true,
"EnableMobileUpload": true,
"EnableMobileDownload": true,
"MaxFileSize": 52428800,
"DriverName": "local",
"Directory": "./data/",
@@ -167,6 +161,9 @@
"AboutLink": "https://about.mattermost.com/default-about/",
"HelpLink": "https://about.mattermost.com/default-help/",
"ReportAProblemLink": "https://about.mattermost.com/default-report-a-problem/",
"AdministratorsGuideLink": "https://about.mattermost.com/administrators-guide/",
"TroubleshootingForumLink": "https://about.mattermost.com/troubleshooting-forum/",
"CommercialSupportLink": "https://about.mattermost.com/commercial-support/",
"SupportEmail": "feedback@mattermost.com"
},
"AnnouncementSettings": {
@@ -287,6 +284,14 @@
"TurnUsername": "",
"TurnSharedKey": ""
},
"ElasticsearchSettings": {
"ConnectionUrl": "http://dockerhost:9200",
"Username": "elastic",
"Password": "changeme",
"EnableIndexing": false,
"EnableSearching": false,
"Sniff": true
},
"DataRetentionSettings": {
"Enable": false
},
@@ -294,4 +299,4 @@
"RunJobs": true,
"RunScheduler": true
}
}
}