Merge pull request #20481 from ACTom/add-mindmap-mimetype

Add mindmap mimetype.
This commit is contained in:
Christoph Wurst 2020-04-15 13:39:35 +02:00 committed by GitHub
commit 51fc07be3d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 12 additions and 2 deletions

View File

@ -101,7 +101,10 @@ OC.MimeTypeList={
"text/x-python": "text/code", "text/x-python": "text/code",
"text/x-shellscript": "text/code", "text/x-shellscript": "text/code",
"web": "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: [ files: [
"application", "application",
@ -118,6 +121,7 @@ OC.MimeTypeList={
"image", "image",
"link", "link",
"location", "location",
"mindmap",
"package-x-generic", "package-x-generic",
"text", "text",
"text-calendar", "text-calendar",

View File

@ -101,6 +101,9 @@
"text/x-python": "text/code", "text/x-python": "text/code",
"text/x-shellscript": "text/code", "text/x-shellscript": "text/code",
"web": "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"
} }

View File

@ -85,6 +85,7 @@
"kdc": ["image/x-dcraw"], "kdc": ["image/x-dcraw"],
"key": ["application/x-iwork-keynote-sffkey"], "key": ["application/x-iwork-keynote-sffkey"],
"keynote": ["application/x-iwork-keynote-sffkey"], "keynote": ["application/x-iwork-keynote-sffkey"],
"km": ["application/km"],
"kml": ["application/vnd.google-earth.kml+xml"], "kml": ["application/vnd.google-earth.kml+xml"],
"kmz": ["application/vnd.google-earth.kmz"], "kmz": ["application/vnd.google-earth.kmz"],
"kra": ["application/x-krita"], "kra": ["application/x-krita"],
@ -104,6 +105,7 @@
"mkd": ["text/markdown"], "mkd": ["text/markdown"],
"mef": ["image/x-dcraw"], "mef": ["image/x-dcraw"],
"mkv": ["video/x-matroska"], "mkv": ["video/x-matroska"],
"mm": ["application/x-freemind"],
"mobi": ["application/x-mobipocket-ebook"], "mobi": ["application/x-mobipocket-ebook"],
"mov": ["video/quicktime"], "mov": ["video/quicktime"],
"mp3": ["audio/mpeg"], "mp3": ["audio/mpeg"],
@ -201,6 +203,7 @@
"xlt": ["application/vnd.ms-excel"], "xlt": ["application/vnd.ms-excel"],
"xltm": ["application/vnd.ms-excel.template.macroEnabled.12"], "xltm": ["application/vnd.ms-excel.template.macroEnabled.12"],
"xltx": ["application/vnd.openxmlformats-officedocument.spreadsheetml.template"], "xltx": ["application/vnd.openxmlformats-officedocument.spreadsheetml.template"],
"xmind": ["application/vnd.xmind.workbook"],
"xml": ["application/xml", "text/plain"], "xml": ["application/xml", "text/plain"],
"xrf": ["image/x-dcraw"], "xrf": ["image/x-dcraw"],
"yaml": ["application/yaml", "text/plain"], "yaml": ["application/yaml", "text/plain"],