Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2021-10-11 10:03:01 +0300
committerJulius Härtl <jus@bitgrid.net>2021-10-12 16:14:25 +0300
commit0d2e05a0b57723b9f3dddc3ef2ad59c1844d7697 (patch)
treedf2763c4f7f4dcb3cbbfd85a0da88cc0ad0310a8 /resources
parent62947867ce6b7408e565f4cab0c788dfac8fb128 (diff)
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.json6
-rw-r--r--resources/config/mimetypemapping.dist.json4
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"],