[MM-19880] Limit size of file inside Zip archive before JSON parsing for Slack Import (#12514)

* Limit size of files inside Zip archive before JSON parsing for Slack import

* Use specific log message when skipping file in Slack import zip due to size

* Updated max size for slack import
Этот коммит содержится в:
Abhisek Datta
2019-12-02 23:25:34 +05:30
коммит произвёл Daniel Schalla
родитель 6bb2cae219
Коммит b45e11b28c
2 изменённых файлов: 10 добавлений и 0 удалений

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

@@ -1878,6 +1878,10 @@
"id": "api.slackimport.slack_import.zip.app_error",
"translation": "Unable to open the Slack export zip file.\r\n"
},
{
"id": "api.slackimport.slack_import.zip.file_too_large",
"translation": "{{.Filename}} in zip archive too large to process for Slack import\r\n"
},
{
"id": "api.status.user_not_found.app_error",
"translation": "User not found"