diff options
author | Julius Härtl <jus@bitgrid.net> | 2021-10-11 09:03:01 +0200 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2021-10-12 15:14:25 +0200 |
commit | 0d2e05a0b57723b9f3dddc3ef2ad59c1844d7697 (patch) | |
tree | df2763c4f7f4dcb3cbbfd85a0da88cc0ad0310a8 /resources | |
parent | 62947867ce6b7408e565f4cab0c788dfac8fb128 (diff) | |
download | nextcloud-server-0d2e05a0b57723b9f3dddc3ef2ad59c1844d7697.tar.gz nextcloud-server-0d2e05a0b57723b9f3dddc3ef2ad59c1844d7697.zip |
Add OpenDocument flat mimetypes and x-office/drawing alias
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'resources')
-rw-r--r-- | resources/config/mimetypealiases.dist.json | 6 | ||||
-rw-r--r-- | resources/config/mimetypemapping.dist.json | 4 |
2 files changed, 10 insertions, 0 deletions
diff --git a/resources/config/mimetypealiases.dist.json b/resources/config/mimetypealiases.dist.json index 9d0c070d1fa..891b9a72ce5 100644 --- a/resources/config/mimetypealiases.dist.json +++ b/resources/config/mimetypealiases.dist.json @@ -55,7 +55,13 @@ "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.graphics": "x-office/drawing", + "application/vnd.oasis.opendocument.graphics-template": "x-office/drawing", "application/vnd.oasis.opendocument.text-web": "x-office/document", + "application/vnd.oasis.opendocument.text-flat-xml": "x-office/document", + "application/vnd.oasis.opendocument.spreadsheet-flat-xml": "x-office/spreadsheet", + "application/vnd.oasis.opendocument.graphics-flat-xml": "x-office/drawing", + "application/vnd.oasis.opendocument.presentation-flat-xml": "x-office/presentation", "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", diff --git a/resources/config/mimetypemapping.dist.json b/resources/config/mimetypemapping.dist.json index b38046aef32..54bf073fb80 100644 --- a/resources/config/mimetypemapping.dist.json +++ b/resources/config/mimetypemapping.dist.json @@ -127,6 +127,10 @@ "ots": ["application/vnd.oasis.opendocument.spreadsheet-template"], "otp": ["application/vnd.oasis.opendocument.presentation-template"], "otg": ["application/vnd.oasis.opendocument.graphics-template"], + "fodt": ["application/vnd.oasis.opendocument.text-flat-xml"], + "fods": ["application/vnd.oasis.opendocument.spreadsheet-flat-xml"], + "fodg": ["application/vnd.oasis.opendocument.graphics-flat-xml"], + "fodp": ["application/vnd.oasis.opendocument.presentation-flat-xml"], "oga": ["audio/ogg"], "ogg": ["audio/ogg"], "ogv": ["video/ogg"], |