diff options
author | Christoph Wurst <ChristophWurst@users.noreply.github.com> | 2020-04-15 13:39:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-15 13:39:35 +0200 |
commit | 51fc07be3d2ef9a4d5dbe847a071f4f34bf0eb88 (patch) | |
tree | 29b3f625c12419839baea57aa42c1d6394de23ac | |
parent | c43174a7e67bba88f13d777d29801d9bccdc133e (diff) | |
parent | efb3481d413e4d1116c392ab2425a67c25f769da (diff) | |
download | nextcloud-server-51fc07be3d2ef9a4d5dbe847a071f4f34bf0eb88.tar.gz nextcloud-server-51fc07be3d2ef9a4d5dbe847a071f4f34bf0eb88.zip |
Merge pull request #20481 from ACTom/add-mindmap-mimetype
Add mindmap mimetype.
-rw-r--r-- | core/js/mimetypelist.js | 6 | ||||
-rw-r--r-- | resources/config/mimetypealiases.dist.json | 5 | ||||
-rw-r--r-- | resources/config/mimetypemapping.dist.json | 3 |
3 files changed, 12 insertions, 2 deletions
diff --git a/core/js/mimetypelist.js b/core/js/mimetypelist.js index 760d503f23e..bd9b2bd69f1 100644 --- a/core/js/mimetypelist.js +++ b/core/js/mimetypelist.js @@ -101,7 +101,10 @@ OC.MimeTypeList={ "text/x-python": "text/code", "text/x-shellscript": "text/code", "web": "text/code", - "application/internet-shortcut": "link" + "application/internet-shortcut": "link", + "application/km": "mindmap", + "application/x-freemind": "mindmap", + "application/vnd.xmind.workbook": "mindmap" }, files: [ "application", @@ -118,6 +121,7 @@ OC.MimeTypeList={ "image", "link", "location", + "mindmap", "package-x-generic", "text", "text-calendar", diff --git a/resources/config/mimetypealiases.dist.json b/resources/config/mimetypealiases.dist.json index 922ef7acf12..332daea197b 100644 --- a/resources/config/mimetypealiases.dist.json +++ b/resources/config/mimetypealiases.dist.json @@ -101,6 +101,9 @@ "text/x-python": "text/code", "text/x-shellscript": "text/code", "web": "text/code", - "application/internet-shortcut": "link" + "application/internet-shortcut": "link", + "application/km": "mindmap", + "application/x-freemind": "mindmap", + "application/vnd.xmind.workbook": "mindmap" } diff --git a/resources/config/mimetypemapping.dist.json b/resources/config/mimetypemapping.dist.json index 59f0e0a17cb..c59dfaefd30 100644 --- a/resources/config/mimetypemapping.dist.json +++ b/resources/config/mimetypemapping.dist.json @@ -85,6 +85,7 @@ "kdc": ["image/x-dcraw"], "key": ["application/x-iwork-keynote-sffkey"], "keynote": ["application/x-iwork-keynote-sffkey"], + "km": ["application/km"], "kml": ["application/vnd.google-earth.kml+xml"], "kmz": ["application/vnd.google-earth.kmz"], "kra": ["application/x-krita"], @@ -104,6 +105,7 @@ "mkd": ["text/markdown"], "mef": ["image/x-dcraw"], "mkv": ["video/x-matroska"], + "mm": ["application/x-freemind"], "mobi": ["application/x-mobipocket-ebook"], "mov": ["video/quicktime"], "mp3": ["audio/mpeg"], @@ -201,6 +203,7 @@ "xlt": ["application/vnd.ms-excel"], "xltm": ["application/vnd.ms-excel.template.macroEnabled.12"], "xltx": ["application/vnd.openxmlformats-officedocument.spreadsheetml.template"], + "xmind": ["application/vnd.xmind.workbook"], "xml": ["application/xml", "text/plain"], "xrf": ["image/x-dcraw"], "yaml": ["application/yaml", "text/plain"], |