Browse Source

recognize LDIF (and schema) file types

Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
tags/v12.0.0beta1
Arthur Schiwon 7 years ago
parent
commit
68a0f8e153
No account linked to committer's email address
2 changed files with 3 additions and 0 deletions
  1. 1
    0
      core/js/mimetypelist.js
  2. 2
    0
      resources/config/mimetypemapping.dist.json

+ 1
- 0
core/js/mimetypelist.js View File

@@ -86,6 +86,7 @@ OC.MimeTypeList={
"text/x-c": "text/code",
"text/x-c++src": "text/code",
"text/x-h": "text/code",
"text/x-ldif": "text/code",
"text/x-java-source": "text/code",
"text/x-python": "text/code",
"text/x-shellscript": "text/code",

+ 2
- 0
resources/config/mimetypemapping.dist.json View File

@@ -78,6 +78,7 @@
"key": ["application/x-iwork-keynote-sffkey"],
"keynote": ["application/x-iwork-keynote-sffkey"],
"kra": ["application/x-krita"],
"ldif": ["text/x-ldif"],
"lwp": ["application/vnd.lotus-wordpro"],
"m2t": ["video/mp2t"],
"m4a": ["audio/mp4"],
@@ -142,6 +143,7 @@
"rss": ["application/rss+xml"],
"rtf": ["text/rtf"],
"rw2": ["image/x-dcraw"],
"schema": ["text/plain"],
"sgf": ["application/sgf"],
"sh-lib": ["text/x-shellscript"],
"sh": ["text/x-shellscript"],

Loading…
Cancel
Save