Commit 4800fc3b authored by Gilles Mouchard's avatar Gilles Mouchard
Browse files

Added more MIME types.

parent c90833c3
Pipeline #19439 passed with stages
in 9 minutes and 17 seconds
......@@ -864,10 +864,10 @@ class PKM
{ suffixes : [ '.jsp' ], format : 'text', mime_types : [ 'text/x-jsp' ], collection : 'RawSourcecode' },
{ suffixes : [ '.l' ], format : 'text', mime_types : [ 'text/x-lex' ], collection : 'RawSourcecode' },
{ suffixes : [ '.lua' ], format : 'text', mime_types : [ 'text/x-lua' ], collection : 'RawSourcecode' },
{ format : 'text', mime_types : [ 'text/x-matlab' ], collection : 'RawSourcecode' },
{ suffixes : [ '.ml' ], format : 'text', mime_types : [ 'text/x-ml' ], collection : 'RawSourcecode' },
{ suffixes : [ '.m3', '.i3', '.mg', '.ig' ], format : 'text', mime_types : [ 'text/x-modula' ], collection : 'RawSourcecode' },
{ suffixes : [ '.m' ], format : 'text', mime_types : [ 'text/x-objcsrc' ], collection : 'RawSourcecode' },
{ suffixes : [ '.m' ], format : 'text', mime_types : [ 'text/x-matlab' ], collection : 'RawSourcecode' },
{ suffixes : [ '.ocaml', '.mli' ], format : 'text', mime_types : [ 'text/x-ocaml' ], collection : 'RawSourcecode' },
{ suffixes : [ '.rexx' ], format : 'text', mime_types : [ 'text/x-rexx' ], collection : 'RawSourcecode' },
{ suffixes : [ '.r' ], format : 'text', mime_types : [ 'text/x-rsrc' ], collection : 'RawSourcecode' },
......@@ -884,6 +884,11 @@ class PKM
{ suffixes : [ '.v' ], format : 'text', mime_types : [ 'text/x-verilog' ], collection : 'RawSourcecode' },
{ suffixes : [ '.vhd', '.vhdl' ], format : 'text', mime_types : [ 'text/x-vhdl' ], collection : 'RawSourcecode' },
{ suffixes : [ '.y' ], format : 'text', mime_types : [ 'text/x-yacc' ], collection : 'RawSourcecode' },
{ suffixes : [ '.css' ], format : 'text', mime_types : [ 'text/css' ], collection : 'RawSourcecode' },
{ suffixes : [ '.html', '.htm', '.shtml' ], format : 'text', mime_types : [ 'text/html' ], collection : 'RawSourcecode' },
{ suffixes : [ '.jade' ], format : 'text', mime_types : [ 'text/jade' ], collection : 'RawSourcecode' },
{ suffixes : [ '.jsx' ], format : 'text', mime_types : [ 'text/jsx' ], collection : 'RawSourcecode' },
{ suffixes : [ '.less' ], format : 'text', mime_types : [ 'text/less' ], collection : 'RawSourcecode' },
// UML
{ suffixes : [ '.uml' ], format : 'text', collection : 'RawUML' },
......@@ -891,7 +896,7 @@ class PKM
// Documentation
{ suffixes : [ '.pdf' ], format : 'binary', mime_types : [ 'application/pdf' ], collection : 'RawDocumentation' },
{ suffixes : [ '.gdoc' ], format : 'binary', mime_types : [ 'application/vnd.google-apps.document' ], collection : 'RawDocumentation' },
{ suffixes : [ '.docm' ], format : 'binary', mime_types : [ 'application/vnd.ms-word.document.macroenabled.12' ], collection : 'RawDocumentation' },
{ suffixes : [ '.docm', '.dotm' ], format : 'binary', mime_types : [ 'application/vnd.ms-word.document.macroenabled.12' ], collection : 'RawDocumentation' },
{ suffixes : [ '.xps' ], format : 'binary', mime_types : [ 'application/vnd.ms-xpsdocument' ], collection : 'RawDocumentation' },
{ suffixes : [ '.odc' ], format : 'binary', mime_types : [ 'application/vnd.oasis.opendocument.chart' ], collection : 'RawDocumentation' },
{ suffixes : [ '.otc' ], format : 'binary', mime_types : [ 'application/vnd.oasis.opendocument.chart-template' ], collection : 'RawDocumentation' },
......@@ -910,14 +915,23 @@ class PKM
{ suffixes : [ '.odm' ], format : 'binary', mime_types : [ 'application/vnd.oasis.opendocument.text-master' ], collection : 'RawDocumentation' },
{ suffixes : [ '.ott' ], format : 'binary', mime_types : [ 'application/vnd.oasis.opendocument.text-template' ], collection : 'RawDocumentation' },
{ suffixes : [ '.oth' ], format : 'binary', mime_types : [ 'application/vnd.oasis.opendocument.text-web' ], collection : 'RawDocumentation' },
{ suffixes : [ '.ppt', '.pps' ], format : 'binary', mime_types : [ 'application/vnd.ms-powerpoint' ], collection : 'RawDocumentation' },
{ suffixes : [ '.ppsm' ], format : 'binary', mime_types : [ 'application/vnd.ms-powerpoint.slideshow.macroEnabled.12' ], collection : 'RawDocumentation' },
{ suffixes : [ '.pptm' ], format : 'binary', mime_types : [ 'application/vnd.ms-powerpoint.presentation.macroEnabled.12' ], collection : 'RawDocumentation' },
{ suffixes : [ '.pptx' ], format : 'binary', mime_types : [ 'application/vnd.openxmlformats-officedocument.presentationml.presentation' ], collection : 'RawDocumentation' },
{ suffixes : [ '.sldx' ], format : 'binary', mime_types : [ 'application/vnd.openxmlformats-officedocument.presentationml.slide' ], collection : 'RawDocumentation' },
{ suffixes : [ '.ppsx' ], format : 'binary', mime_types : [ 'application/vnd.openxmlformats-officedocument.presentationml.slideshow' ], collection : 'RawDocumentation' },
{ suffixes : [ '.pot' ], format : 'binary', mime_types : [ 'application/vnd.ms-powerpoint' ], collection : 'RawDocumentation' },
{ suffixes : [ '.potm' ], format : 'binary', mime_types : [ 'application/vnd.ms-powerpoint.template.macroEnabled.12' ], collection : 'RawDocumentation' },
{ suffixes : [ '.potx' ], format : 'binary', mime_types : [ 'application/vnd.openxmlformats-officedocument.presentationml.template' ], collection : 'RawDocumentation' },
{ suffixes : [ '.xls' ], format : 'binary', mime_types : [ 'application/vnd.ms-excel' ], collection : 'RawDocumentation' },
{ suffixes : [ '.xlsx' ], format : 'binary', mime_types : [ 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet' ], collection : 'RawDocumentation' },
{ suffixes : [ '.xltx' ], format : 'binary', mime_types : [ 'application/vnd.openxmlformats-officedocument.spreadsheetml.template' ], collection : 'RawDocumentation' },
{ suffixes : [ '.doc', '.dot' ], format : 'binary', mime_types : [ 'application/msword' ], collection : 'RawDocumentation' },
{ suffixes : [ '.docx' ], format : 'binary', mime_types : [ 'application/vnd.openxmlformats-officedocument.wordprocessingml.document' ], collection : 'RawDocumentation' },
{ suffixes : [ '.dotx' ], format : 'binary', mime_types : [ 'application/vnd.openxmlformats-officedocument.wordprocessingml.template' ], collection : 'RawDocumentation' },
{ suffixes : [ '.wps' ], format : 'binary', mime_types : [ 'application/vnd.ms-works' ], collection : 'RawDocumentation' },
{ suffixes : [ '.thmx' ], format : 'binary', mime_types : [ 'application/vnd.ms-officetheme' ], collection : 'RawDocumentation' },
{ suffixes : [ '.3gpp' ], format : 'binary', mime_types : [ 'audio/3gpp' ], collection : 'RawDocumentation' },
{ suffixes : [ '.adp' ], format : 'binary', mime_types : [ 'audio/adpcm' ], collection : 'RawDocumentation' },
{ suffixes : [ '.amr' ], format : 'binary', mime_types : [ 'audio/amr' ], collection : 'RawDocumentation' },
......@@ -1045,12 +1059,7 @@ class PKM
{ suffixes : [ '.xwd' ], format : 'binary', mime_types : [ 'image/x-xwindowdump' ], collection : 'RawDocumentation' },
{ suffixes : [ '.appcache', '.manifest' ], format : 'text', mime_types : [ 'text/cache-manifest' ], collection : 'RawDocumentation' },
{ suffixes : [ '.ics', '.ifb' ], format : 'text', mime_types : [ 'text/calendar' ], collection : 'RawDocumentation' },
{ suffixes : [ '.css' ], format : 'text', mime_types : [ 'text/css' ], collection : 'RawDocumentation' },
{ suffixes : [ '.csv' ], format : 'text', mime_types : [ 'text/csv' ], collection : 'RawDocumentation' },
{ suffixes : [ '.html', '.htm', '.shtml' ], format : 'text', mime_types : [ 'text/html' ], collection : 'RawDocumentation' },
{ suffixes : [ '.jade' ], format : 'text', mime_types : [ 'text/jade' ], collection : 'RawDocumentation' },
{ suffixes : [ '.jsx' ], format : 'text', mime_types : [ 'text/jsx' ], collection : 'RawDocumentation' },
{ suffixes : [ '.less' ], format : 'text', mime_types : [ 'text/less' ], collection : 'RawDocumentation' },
{ suffixes : [ '.markdown', '.md', '.mdtext', '.mkd' ], format : 'text', mime_types : [ 'text/markdown', 'text/x-web-markdown' ], collection : 'RawDocumentation' },
{ suffixes : [ '.mml' ], format : 'text', mime_types : [ 'text/mathml' ], collection : 'RawDocumentation' },
{ suffixes : [ '.mdx' ], format : 'text', mime_types : [ 'text/mdx' ], collection : 'RawDocumentation' },
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment