Browse Source

Updated some mimetypes

* c++ and cpp now both map to code
remotes/origin/certificate-external-storage-visibility
Roeland Jago Douma 10 years ago
parent
commit
57ceee13a9
  1. 1
      core/js/mimetypelist.js
  2. 1
      resources/config/mimetypealiases.dist.json
  3. 2
      resources/config/mimetypemapping.dist.json

1
core/js/mimetypelist.js

@ -74,6 +74,7 @@ OC.MimeTypeList={
"text/csv": "x-office/spreadsheet", "text/csv": "x-office/spreadsheet",
"text/html": "text/code", "text/html": "text/code",
"text/x-c": "text/code", "text/x-c": "text/code",
"text/x-c++src": "text/code",
"text/x-h": "text/code", "text/x-h": "text/code",
"text/x-java-source": "text/code", "text/x-java-source": "text/code",
"text/x-python": "text/code", "text/x-python": "text/code",

1
resources/config/mimetypealiases.dist.json

@ -74,6 +74,7 @@
"text/csv": "x-office/spreadsheet", "text/csv": "x-office/spreadsheet",
"text/html": "text/code", "text/html": "text/code",
"text/x-c": "text/code", "text/x-c": "text/code",
"text/x-c++src": "text/code",
"text/x-h": "text/code", "text/x-h": "text/code",
"text/x-java-source": "text/code", "text/x-java-source": "text/code",
"text/x-python": "text/code", "text/x-python": "text/code",

2
resources/config/mimetypemapping.dist.json

@ -36,7 +36,7 @@
"csv": ["text/csv"], "csv": ["text/csv"],
"cvbdl": ["application/x-cbr"], "cvbdl": ["application/x-cbr"],
"c": ["text/x-c"], "c": ["text/x-c"],
"c++": ["text/x-c"],
"c++": ["text/x-c++src"],
"dcr": ["image/x-dcraw"], "dcr": ["image/x-dcraw"],
"deb": ["application/x-deb"], "deb": ["application/x-deb"],
"dng": ["image/x-dcraw"], "dng": ["image/x-dcraw"],

Loading…
Cancel
Save