2015-06-03 15:52:00 +03:00
|
|
|
{
|
2015-07-08 20:09:10 +03:00
|
|
|
"_comment" : "Array of mimetype aliases.",
|
2016-08-19 10:55:38 +03:00
|
|
|
"_comment2": "Any changes you make here will be overwritten on an update of Nextcloud.",
|
|
|
|
"_comment3": "Put any custom mappings in a new file mimetypealiases.json in the config/ folder of Nextcloud",
|
2015-07-08 20:09:10 +03:00
|
|
|
|
|
|
|
"_comment4": "After any change to mimetypealiases.json run:",
|
2016-04-26 17:29:36 +03:00
|
|
|
"_comment5": "./occ maintenance:mimetype:update-js",
|
2015-07-08 20:09:10 +03:00
|
|
|
"_comment6": "Otherwise your update won't propagate through the system.",
|
2015-06-03 15:52:00 +03:00
|
|
|
|
2019-05-27 23:56:35 +03:00
|
|
|
|
2015-07-09 14:57:09 +03:00
|
|
|
"application/coreldraw": "image",
|
2015-09-22 15:34:07 +03:00
|
|
|
"application/epub+zip": "text",
|
|
|
|
"application/font-sfnt": "image",
|
|
|
|
"application/font-woff": "image",
|
2017-06-14 01:26:01 +03:00
|
|
|
"application/gpx+xml": "location",
|
2015-09-22 15:34:07 +03:00
|
|
|
"application/illustrator": "image",
|
|
|
|
"application/javascript": "text/code",
|
2015-07-09 14:57:09 +03:00
|
|
|
"application/json": "text/code",
|
2015-09-22 15:34:07 +03:00
|
|
|
"application/msaccess": "file",
|
2015-07-09 14:57:09 +03:00
|
|
|
"application/msexcel": "x-office/spreadsheet",
|
2016-01-18 02:38:53 +03:00
|
|
|
"application/msonenote": "x-office/document",
|
2015-07-09 14:57:09 +03:00
|
|
|
"application/mspowerpoint": "x-office/presentation",
|
|
|
|
"application/msword": "x-office/document",
|
|
|
|
"application/octet-stream": "file",
|
2015-09-22 15:34:07 +03:00
|
|
|
"application/postscript": "image",
|
|
|
|
"application/rss+xml": "application/xml",
|
2015-07-09 14:57:09 +03:00
|
|
|
"application/vnd.android.package-archive": "package/x-generic",
|
2016-01-18 02:38:53 +03:00
|
|
|
"application/vnd.lotus-wordpro": "x-office/document",
|
2017-06-14 12:02:05 +03:00
|
|
|
"application/vnd.garmin.tcx+xml": "location",
|
|
|
|
"application/vnd.google-earth.kml+xml": "location",
|
|
|
|
"application/vnd.google-earth.kmz": "location",
|
2015-07-09 14:57:09 +03:00
|
|
|
"application/vnd.ms-excel": "x-office/spreadsheet",
|
|
|
|
"application/vnd.ms-excel.addin.macroEnabled.12": "x-office/spreadsheet",
|
|
|
|
"application/vnd.ms-excel.sheet.binary.macroEnabled.12": "x-office/spreadsheet",
|
|
|
|
"application/vnd.ms-excel.sheet.macroEnabled.12": "x-office/spreadsheet",
|
|
|
|
"application/vnd.ms-excel.template.macroEnabled.12": "x-office/spreadsheet",
|
2015-09-22 15:34:07 +03:00
|
|
|
"application/vnd.ms-fontobject": "image",
|
2015-07-09 14:57:09 +03:00
|
|
|
"application/vnd.ms-powerpoint": "x-office/presentation",
|
|
|
|
"application/vnd.ms-powerpoint.addin.macroEnabled.12": "x-office/presentation",
|
|
|
|
"application/vnd.ms-powerpoint.presentation.macroEnabled.12": "x-office/presentation",
|
|
|
|
"application/vnd.ms-powerpoint.slideshow.macroEnabled.12": "x-office/presentation",
|
|
|
|
"application/vnd.ms-powerpoint.template.macroEnabled.12": "x-office/presentation",
|
2018-07-06 16:16:21 +03:00
|
|
|
"application/vnd.ms-visio.drawing.macroEnabled.12": "application/vnd.visio",
|
|
|
|
"application/vnd.ms-visio.drawing": "application/vnd.visio",
|
|
|
|
"application/vnd.ms-visio.stencil.macroEnabled.12": "application/vnd.visio",
|
|
|
|
"application/vnd.ms-visio.stencil": "application/vnd.visio",
|
|
|
|
"application/vnd.ms-visio.template.macroEnabled.12": "application/vnd.visio",
|
|
|
|
"application/vnd.ms-visio.template": "application/vnd.visio",
|
2015-07-09 14:57:09 +03:00
|
|
|
"application/vnd.ms-word.document.macroEnabled.12": "x-office/document",
|
|
|
|
"application/vnd.ms-word.template.macroEnabled.12": "x-office/document",
|
|
|
|
"application/vnd.oasis.opendocument.presentation": "x-office/presentation",
|
|
|
|
"application/vnd.oasis.opendocument.presentation-template": "x-office/presentation",
|
|
|
|
"application/vnd.oasis.opendocument.spreadsheet": "x-office/spreadsheet",
|
|
|
|
"application/vnd.oasis.opendocument.spreadsheet-template": "x-office/spreadsheet",
|
|
|
|
"application/vnd.oasis.opendocument.text": "x-office/document",
|
|
|
|
"application/vnd.oasis.opendocument.text-master": "x-office/document",
|
|
|
|
"application/vnd.oasis.opendocument.text-template": "x-office/document",
|
|
|
|
"application/vnd.oasis.opendocument.text-web": "x-office/document",
|
|
|
|
"application/vnd.openxmlformats-officedocument.presentationml.presentation": "x-office/presentation",
|
|
|
|
"application/vnd.openxmlformats-officedocument.presentationml.slideshow": "x-office/presentation",
|
|
|
|
"application/vnd.openxmlformats-officedocument.presentationml.template": "x-office/presentation",
|
|
|
|
"application/vnd.openxmlformats-officedocument.spreadsheetml.sheet": "x-office/spreadsheet",
|
|
|
|
"application/vnd.openxmlformats-officedocument.spreadsheetml.template": "x-office/spreadsheet",
|
|
|
|
"application/vnd.openxmlformats-officedocument.wordprocessingml.document": "x-office/document",
|
|
|
|
"application/vnd.openxmlformats-officedocument.wordprocessingml.template": "x-office/document",
|
2016-01-18 02:38:53 +03:00
|
|
|
"application/vnd.visio": "x-office/document",
|
|
|
|
"application/vnd.wordperfect": "x-office/document",
|
2015-07-09 14:57:09 +03:00
|
|
|
"application/x-7z-compressed": "package/x-generic",
|
2016-03-04 22:09:52 +03:00
|
|
|
"application/x-bzip2": "package/x-generic",
|
2015-09-22 15:34:07 +03:00
|
|
|
"application/x-cbr": "text",
|
2015-07-09 14:57:09 +03:00
|
|
|
"application/x-compressed": "package/x-generic",
|
|
|
|
"application/x-dcraw": "image",
|
|
|
|
"application/x-deb": "package/x-generic",
|
2016-07-03 12:13:08 +03:00
|
|
|
"application/x-fictionbook+xml": "text",
|
2015-09-22 15:34:07 +03:00
|
|
|
"application/x-font": "image",
|
2015-07-09 14:57:09 +03:00
|
|
|
"application/x-gimp": "image",
|
|
|
|
"application/x-gzip": "package/x-generic",
|
2016-08-30 11:28:29 +03:00
|
|
|
"application/x-iwork-keynote-sffkey": "x-office/presentation",
|
|
|
|
"application/x-iwork-numbers-sffnumbers": "x-office/spreadsheet",
|
|
|
|
"application/x-iwork-pages-sffpages": "x-office/document",
|
2016-08-19 10:55:38 +03:00
|
|
|
"application/x-mobipocket-ebook": "text",
|
2015-07-09 14:57:09 +03:00
|
|
|
"application/x-perl": "text/code",
|
|
|
|
"application/x-photoshop": "image",
|
|
|
|
"application/x-php": "text/code",
|
|
|
|
"application/x-rar-compressed": "package/x-generic",
|
|
|
|
"application/x-tar": "package/x-generic",
|
|
|
|
"application/x-tex": "text",
|
|
|
|
"application/xml": "text/html",
|
|
|
|
"application/yaml": "text/code",
|
|
|
|
"application/zip": "package/x-generic",
|
2015-09-22 15:34:07 +03:00
|
|
|
"database": "file",
|
2015-07-09 14:57:09 +03:00
|
|
|
"httpd/unix-directory": "dir",
|
|
|
|
"text/css": "text/code",
|
|
|
|
"text/csv": "x-office/spreadsheet",
|
2015-09-22 15:34:07 +03:00
|
|
|
"text/html": "text/code",
|
|
|
|
"text/x-c": "text/code",
|
2015-09-22 18:56:48 +03:00
|
|
|
"text/x-c++src": "text/code",
|
2015-09-22 15:34:07 +03:00
|
|
|
"text/x-h": "text/code",
|
|
|
|
"text/x-java-source": "text/code",
|
2017-06-14 12:47:44 +03:00
|
|
|
"text/x-ldif": "text/code",
|
2015-09-22 15:34:07 +03:00
|
|
|
"text/x-python": "text/code",
|
|
|
|
"text/x-shellscript": "text/code",
|
2019-05-27 22:54:58 +03:00
|
|
|
"web": "text/code",
|
2020-04-14 20:19:58 +03:00
|
|
|
"application/internet-shortcut": "link",
|
|
|
|
"application/km": "mindmap",
|
|
|
|
"application/x-freemind": "mindmap",
|
2021-01-22 12:35:37 +03:00
|
|
|
"application/vnd.xmind.workbook": "mindmap",
|
|
|
|
"image/targa": "image/tga"
|
2015-06-03 15:52:00 +03:00
|
|
|
}
|
|
|
|
|