XYZ-35: Added Support for GlobalRelay Compliance Export Format

* Added username to ChannelMemberHistory struct in anticipation of supporting GlobalRelay in Compliance Export
* Removed translation from debug output - this makes it complicated to use utils functions from tests in the enterprise repo
* Added an advanced email function that allows for greater control over message details. Updated MessageExport config to support GlobalRelay. Added attachment support to InBucket unit tests
* Moving templates in from enterprise to solve test issues
* Added export format to diagnostics
* Changed email attachment code to use FileBackend so that S3 storage is properly supported
Этот коммит содержится в:
Jonathan
2018-02-07 09:02:46 -05:00
коммит произвёл GitHub
родитель b2ee507793
Коммит d3e934d07a
17 изменённых файлов: 413 добавлений и 51 удалений

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

@@ -131,10 +131,6 @@
"id": "api.admin.upload_brand_image.too_large.app_error",
"translation": "Unable to upload file. File is too large."
},
{
"id": "api.api.init.parsing_templates.debug",
"translation": "Parsing server templates at %v"
},
{
"id": "api.api.init.parsing_templates.error",
"translation": "Failed to parse server templates %v"
@@ -4858,6 +4854,14 @@
"id": "model.config.is_valid.message_export.batch_size.app_error",
"translation": "Message export job BatchSize must be a positive integer"
},
{
"id": "model.config.is_valid.message_export.export_type.app_error",
"translation": "Message export job ExportFormat must be one of either 'actiance' or 'globalrelay'"
},
{
"id": "model.config.is_valid.message_export.global_relay_email_address.app_error",
"translation": "Message export job GlobalRelayEmailAddress must be set to a valid email address"
},
{
"id": "model.config.is_valid.message_export.daily_runtime.app_error",
"translation": "Message export job DailyRuntime must be a 24-hour time stamp in the form HH:MM."
@@ -7082,6 +7086,10 @@
"id": "utils.mail.new_client.auth.app_error",
"translation": "Failed to authenticate on SMTP server"
},
{
"id": "utils.mail.sendMail.attachments.write_error",
"translation": "Failed to write attachment to email"
},
{
"id": "utils.mail.new_client.helo.error",
"translation": "Failed to to set the HELO to SMTP server %v"
@@ -7158,10 +7166,6 @@
"id": "web.create_dir.error",
"translation": "Failed to create directory watcher %v"
},
{
"id": "web.dir_fail.error",
"translation": "Failed in directory watcher %v"
},
{
"id": "web.do_load_channel.error",
"translation": "Error in getting users profile for id=%v forcing logout"
@@ -7266,18 +7270,10 @@
"id": "web.parsing_templates.debug",
"translation": "Parsing templates at %v"
},
{
"id": "web.parsing_templates.error",
"translation": "Failed to parse templates %v"
},
{
"id": "web.post_permalink.app_error",
"translation": "Invalid Post ID"
},
{
"id": "web.reparse_templates.info",
"translation": "Re-parsing templates because of modified file %v"
},
{
"id": "web.reset_password.expired_link.app_error",
"translation": "The password reset link has expired"