diff --git a/core/js/mimetypelist.js b/core/js/mimetypelist.js index 89c6e8c4d4e098e6eff1689d2ebf91068b3c0a9d..08b892ce8bbc6ff0a21e6de0b01a48a21b58a337 100644 --- a/core/js/mimetypelist.js +++ b/core/js/mimetypelist.js @@ -56,13 +56,16 @@ OC.MimeTypeList={ "application/vnd.visio": "x-office/document", "application/vnd.wordperfect": "x-office/document", "application/x-7z-compressed": "package/x-generic", + "application/x-bzip2": "package/x-generic", "application/x-cbr": "text", "application/x-compressed": "package/x-generic", "application/x-dcraw": "image", "application/x-deb": "package/x-generic", + "application/x-fictionbook+xml": "text", "application/x-font": "image", "application/x-gimp": "image", "application/x-gzip": "package/x-generic", + "application/x-mobipocket-ebook": "text", "application/x-perl": "text/code", "application/x-photoshop": "image", "application/x-php": "text/code", diff --git a/resources/config/mimetypealiases.dist.json b/resources/config/mimetypealiases.dist.json index 8445198e32c1bf5665e36930f097c1a6027e39d1..8b47867447f14b7ef7b47e84862969f7e3458934 100644 --- a/resources/config/mimetypealiases.dist.json +++ b/resources/config/mimetypealiases.dist.json @@ -1,7 +1,7 @@ { "_comment" : "Array of mimetype aliases.", - "_comment2": "Any changes you make here will be overwritten on an update of ownCloud.", - "_comment3": "Put any custom mappings in a new file mimetypealiases.json in the config/ folder of ownCloud", + "_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", "_comment4": "After any change to mimetypealiases.json run:", "_comment5": "./occ maintenance:mimetype:update-js", @@ -65,6 +65,7 @@ "application/x-font": "image", "application/x-gimp": "image", "application/x-gzip": "package/x-generic", + "application/x-mobipocket-ebook": "text", "application/x-perl": "text/code", "application/x-photoshop": "image", "application/x-php": "text/code", diff --git a/resources/config/mimetypemapping.dist.json b/resources/config/mimetypemapping.dist.json index 00c4e8bf12f2dd9a37cc808752476e87af411b32..a49a04e43f2d84059d9278f4e88da640b26ad912 100644 --- a/resources/config/mimetypemapping.dist.json +++ b/resources/config/mimetypemapping.dist.json @@ -3,8 +3,8 @@ "_comment2": "The first index in the mime type array is the assumed correct mimetype", "_comment3": "and the second (if present] is a secure alternative", - "_comment4": "Any changes you make here will be overwritten on an update of ownCloud", - "_comment5": "Put any custom mappings in a new file mimetypemapping.json in the config/ folder of ownCloud", + "_comment4": "Any changes you make here will be overwritten on an update of Nextcloud", + "_comment5": "Put any custom mappings in a new file mimetypemapping.json in the config/ folder of Nextcloud", "3gp": ["video/3gpp"],