From bcb3170370efee6516b326279880bc1ca826f474 Mon Sep 17 00:00:00 2001 From: David Date: Fri, 6 Oct 2017 16:35:42 +0200 Subject: [PATCH] added support for eml mimetype --- core/js/mimetypelist.js | 5 ++--- resources/config/mimetypealiases.dist.json | 3 ++- resources/config/mimetypemapping.dist.json | 1 + 3 files changed, 5 insertions(+), 4 deletions(-) mode change 100644 => 100755 core/js/mimetypelist.js mode change 100644 => 100755 resources/config/mimetypealiases.dist.json mode change 100644 => 100755 resources/config/mimetypemapping.dist.json diff --git a/core/js/mimetypelist.js b/core/js/mimetypelist.js old mode 100644 new mode 100755 index c87fce813dae..52b9e8053c07 --- a/core/js/mimetypelist.js +++ b/core/js/mimetypelist.js @@ -75,6 +75,7 @@ OC.MimeTypeList={ "application/zip": "package/x-generic", "database": "file", "httpd/unix-directory": "dir", + "message/rfc822": "text", "text/css": "text/code", "text/csv": "x-office/spreadsheet", "text/html": "text/code", @@ -108,7 +109,5 @@ OC.MimeTypeList={ "x-office-presentation", "x-office-spreadsheet" ], - themes: { - "example": [] -} + themes: [] }; \ No newline at end of file diff --git a/resources/config/mimetypealiases.dist.json b/resources/config/mimetypealiases.dist.json old mode 100644 new mode 100755 index ac07208339a6..5a66a7bcc8da --- a/resources/config/mimetypealiases.dist.json +++ b/resources/config/mimetypealiases.dist.json @@ -66,6 +66,7 @@ "application/zip": "package/x-generic", "database": "file", "httpd/unix-directory": "dir", + "message/rfc822": "text", "text/css": "text/code", "text/csv": "x-office/spreadsheet", "text/html": "text/code", @@ -76,4 +77,4 @@ "text/x-python": "text/code", "text/x-shellscript": "text/code", "web": "text/code" -} \ No newline at end of file +} diff --git a/resources/config/mimetypemapping.dist.json b/resources/config/mimetypemapping.dist.json old mode 100644 new mode 100755 index 2ffd356cc046..789a16f4500c --- a/resources/config/mimetypemapping.dist.json +++ b/resources/config/mimetypemapping.dist.json @@ -39,6 +39,7 @@ "dot": ["application/msword"], "dotx": ["application/vnd.openxmlformats-officedocument.wordprocessingml.template"], "dv": ["video/dv"], + "eml": ["message/rfc822"], "eot": ["application/vnd.ms-fontobject"], "epub": ["application/epub+zip"], "eps": ["application/postscript"],