]> source.dussan.org Git - nextcloud-server.git/commitdiff
recognize LDIF (and schema) file types 2966/head
authorArthur Schiwon <blizzz@arthur-schiwon.de>
Fri, 6 Jan 2017 11:25:16 +0000 (12:25 +0100)
committerArthur Schiwon <blizzz@arthur-schiwon.de>
Fri, 6 Jan 2017 11:25:16 +0000 (12:25 +0100)
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
core/js/mimetypelist.js
resources/config/mimetypemapping.dist.json

index e1b9dba14afae37ed2b2e9a2c1eb0f2bf528af49..89558e21086c195657d84800bef60f46af62fa99 100644 (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",
index a49a04e43f2d84059d9278f4e88da640b26ad912..99638b6c02dc321a42685be386da8165e05ce908 100644 (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"],
        "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"],