Skip to content

Commit

Permalink
Merge pull request #29164 from Davgraols/master
Browse files Browse the repository at this point in the history
added support for eml mimetype
  • Loading branch information
Vincent Petry authored Oct 10, 2017
2 parents 4ae42cf + bcb3170 commit 14eb2b8
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
5 changes: 2 additions & 3 deletions core/js/mimetypelist.js
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -108,7 +109,5 @@ OC.MimeTypeList={
"x-office-presentation",
"x-office-spreadsheet"
],
themes: {
"example": []
}
themes: []
};
3 changes: 2 additions & 1 deletion resources/config/mimetypealiases.dist.json
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -76,4 +77,4 @@
"text/x-python": "text/code",
"text/x-shellscript": "text/code",
"web": "text/code"
}
}
1 change: 1 addition & 0 deletions resources/config/mimetypemapping.dist.json
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -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"],
Expand Down

0 comments on commit 14eb2b8

Please sign in to comment.