From 5b9eabf4bc8cdaab81c8c3d7af78391e487995c1 Mon Sep 17 00:00:00 2001 From: Daniel Szasz Date: Fri, 19 Aug 2016 07:29:51 +0300 Subject: [PATCH 1/2] Update the mime types with the relevant types for "apple-iWorks" (pages, numbers, keynote). Now the files are treated like a file when are in "Single file" mode. --- resources/config/mimetypealiases.dist.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/resources/config/mimetypealiases.dist.json b/resources/config/mimetypealiases.dist.json index 8b47867447f..56a9e65c83d 100644 --- a/resources/config/mimetypealiases.dist.json +++ b/resources/config/mimetypealiases.dist.json @@ -65,6 +65,9 @@ "application/x-font": "image", "application/x-gimp": "image", "application/x-gzip": "package/x-generic", + "application/x-iwork-keynote-sffkey": "keynote", + "application/x-iwork-numbers-sffnumbers": "numbers", + "application/x-iwork-pages-sffpages": "pages", "application/x-mobipocket-ebook": "text", "application/x-perl": "text/code", "application/x-photoshop": "image", From da1c51882bc7ba090f96fb57d6de8f19d55f4e24 Mon Sep 17 00:00:00 2001 From: Morris Jobke Date: Tue, 30 Aug 2016 10:28:29 +0200 Subject: [PATCH 2/2] update to proper icons and run occ command to update JS file --- core/js/mimetypelist.js | 3 +++ resources/config/mimetypealiases.dist.json | 6 +++--- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/core/js/mimetypelist.js b/core/js/mimetypelist.js index 08b892ce8bb..e1b9dba14af 100644 --- a/core/js/mimetypelist.js +++ b/core/js/mimetypelist.js @@ -65,6 +65,9 @@ OC.MimeTypeList={ "application/x-font": "image", "application/x-gimp": "image", "application/x-gzip": "package/x-generic", + "application/x-iwork-keynote-sffkey": "x-office/presentation", + "application/x-iwork-numbers-sffnumbers": "x-office/spreadsheet", + "application/x-iwork-pages-sffpages": "x-office/document", "application/x-mobipocket-ebook": "text", "application/x-perl": "text/code", "application/x-photoshop": "image", diff --git a/resources/config/mimetypealiases.dist.json b/resources/config/mimetypealiases.dist.json index 56a9e65c83d..602f70393ae 100644 --- a/resources/config/mimetypealiases.dist.json +++ b/resources/config/mimetypealiases.dist.json @@ -65,9 +65,9 @@ "application/x-font": "image", "application/x-gimp": "image", "application/x-gzip": "package/x-generic", - "application/x-iwork-keynote-sffkey": "keynote", - "application/x-iwork-numbers-sffnumbers": "numbers", - "application/x-iwork-pages-sffpages": "pages", + "application/x-iwork-keynote-sffkey": "x-office/presentation", + "application/x-iwork-numbers-sffnumbers": "x-office/spreadsheet", + "application/x-iwork-pages-sffpages": "x-office/document", "application/x-mobipocket-ebook": "text", "application/x-perl": "text/code", "application/x-photoshop": "image",