Skip to content

Commit

Permalink
[bot] updates mime-info database from upstream
Browse files Browse the repository at this point in the history
  • Loading branch information
ju1ius authored and github-actions[bot] committed Apr 22, 2024
1 parent 69c0347 commit b2f6265
Show file tree
Hide file tree
Showing 6 changed files with 302 additions and 82 deletions.
8 changes: 5 additions & 3 deletions src/Resources/db/aliases.php
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@
'application/x-msword' => 'application/msword',
'zz-application/zz-winassoc-doc' => 'application/msword',
'application/ms-tnef' => 'application/vnd.ms-tnef',
'application/vnd.stardivision.writer-global' => 'application/vnd.stardivision.writer',
'application/vnd.sun.xml.base' => 'application/vnd.oasis.opendocument.database',
'application/x-parquet' => 'application/vnd.apache.parquet',
'application/x-pcap' => 'application/vnd.tcpdump.pcap',
'application/pcap' => 'application/vnd.tcpdump.pcap',
'application/x-wordperfect' => 'application/vnd.wordperfect',
Expand All @@ -81,6 +81,7 @@
'application/x-dbase' => 'application/vnd.dbf',
'application/x-dbf' => 'application/vnd.dbf',
'text/ecmascript' => 'application/ecmascript',
'application/x-nx-xci' => 'application/x-nintendo-switch-xci',
'application/x-wii-iso-image' => 'application/x-wii-rom',
'application/x-wbfs' => 'application/x-wii-rom',
'application/x-wia' => 'application/x-wii-rom',
Expand Down Expand Up @@ -222,8 +223,8 @@
'image/x-panasonic-raw2' => 'image/x-panasonic-rw2',
'image/vnd.mozilla.apng' => 'image/apng',
'image/vnd.ms-photo' => 'image/jxr',
'application/docbook+xml' => 'application/x-docbook+xml',
'application/vnd.oasis.docbook+xml' => 'application/x-docbook+xml',
'application/x-docbook+xml' => 'application/docbook+xml',
'application/vnd.oasis.docbook+xml' => 'application/docbook+xml',
'image/x-djvu' => 'image/vnd.djvu',
'image/x.djvu' => 'image/vnd.djvu',
'image/x-fits' => 'application/fits',
Expand Down Expand Up @@ -267,6 +268,7 @@
'text/rdf' => 'application/rdf+xml',
'text/rss' => 'application/rss+xml',
'text/x-opml' => 'text/x-opml+xml',
'text/spreadsheet' => 'application/x-sylk',
'text/x-comma-separated-values' => 'text/csv',
'text/x-csv' => 'text/csv',
'text/x-c' => 'text/x-csrc',
Expand Down
33 changes: 19 additions & 14 deletions src/Resources/db/globs.php
Original file line number Diff line number Diff line change
Expand Up @@ -137,16 +137,17 @@
'gnd' => [new GlobLiteral('application/gnunet-directory', 50, 5)],
'tnef' => [new GlobLiteral('application/vnd.ms-tnef', 50, 6)],
'tnf' => [new GlobLiteral('application/vnd.ms-tnef', 50, 5)],
'sdc' => [new GlobLiteral('application/vnd.stardivision.calc', 50, 5)],
'sds' => [new GlobLiteral('application/vnd.stardivision.chart', 50, 5)],
'sda' => [new GlobLiteral('application/vnd.stardivision.draw', 50, 5)],
'sdd' => [new GlobLiteral('application/vnd.stardivision.impress', 50, 5)],
'sdp' => [new GlobLiteral('application/vnd.stardivision.impress', 50, 5), new GlobLiteral('application/sdp', 50, 5)],
'smd' => [new GlobLiteral('application/x-genesis-rom', 50, 5), new GlobLiteral('application/vnd.stardivision.mail', 10, 5)],
'smf' => [new GlobLiteral('application/vnd.stardivision.math', 50, 5)],
'sdw' => [new GlobLiteral('application/vnd.stardivision.writer', 50, 5)],
'vor' => [new GlobLiteral('application/vnd.stardivision.writer', 50, 5)],
'sgl' => [new GlobLiteral('application/vnd.stardivision.writer', 50, 5)],
'sdc' => [new GlobLiteral('application/vnd.stardivision.calc', 50, 5), new GlobLiteral('application/x-starcalc', 40, 5)],
'sds' => [new GlobLiteral('application/vnd.stardivision.chart', 50, 5), new GlobLiteral('application/x-starchart', 40, 5)],
'sda' => [new GlobLiteral('application/vnd.stardivision.draw', 50, 5), new GlobLiteral('application/x-stardraw', 40, 5)],
'sdd' => [new GlobLiteral('application/vnd.stardivision.impress', 50, 5), new GlobLiteral('application/x-starimpress', 40, 5)],
'smd' => [new GlobLiteral('application/x-genesis-rom', 50, 5), new GlobLiteral('application/x-starmail', 10, 5)],
'smf' => [new GlobLiteral('application/vnd.stardivision.math', 50, 5), new GlobLiteral('application/x-starmath', 40, 5)],
'sdw' => [new GlobLiteral('application/vnd.stardivision.writer', 50, 5), new GlobLiteral('application/x-starwriter', 40, 5)],
'vor' => [new GlobLiteral('application/vnd.stardivision.writer', 50, 5), new GlobLiteral('application/x-starwriter', 40, 5)],
'sgl' => [new GlobLiteral('application/vnd.stardivision.writer-global', 50, 5), new GlobLiteral('application/x-starwriter-global', 40, 5)],
'sdp' => [new GlobLiteral('application/sdp', 50, 5), new GlobLiteral('application/vnd.stardivision.impress-packed', 10, 5)],
'sdm' => [new GlobLiteral('application/vnd.stardivision.mail', 50, 5)],
'sxc' => [new GlobLiteral('application/vnd.sun.xml.calc', 50, 5)],
'stc' => [new GlobLiteral('application/vnd.sun.xml.calc.template', 50, 5)],
'sxd' => [new GlobLiteral('application/vnd.sun.xml.draw', 50, 5)],
Expand Down Expand Up @@ -178,6 +179,7 @@
'odb' => [new GlobLiteral('application/vnd.oasis.opendocument.database', 50, 5)],
'odi' => [new GlobLiteral('application/vnd.oasis.opendocument.image', 50, 5)],
'oxt' => [new GlobLiteral('application/vnd.openofficeorg.extension', 50, 5)],
'parquet' => [new GlobLiteral('application/vnd.apache.parquet', 50, 9)],
'apk' => [new GlobLiteral('application/vnd.android.package-archive', 50, 5)],
'sis' => [new GlobLiteral('application/vnd.symbian.install', 50, 5)],
'sisx' => [new GlobLiteral('x-epoc/x-sisx-app', 50, 6)],
Expand Down Expand Up @@ -270,6 +272,7 @@
'3ds' => [new GlobLiteral('application/x-nintendo-3ds-rom', 50, 5), new GlobLiteral('image/x-3ds', 50, 5)],
'cci' => [new GlobLiteral('application/x-nintendo-3ds-rom', 50, 5)],
'3dsx' => [new GlobLiteral('application/x-nintendo-3ds-executable', 50, 6)],
'xci' => [new GlobLiteral('application/x-nintendo-switch-xci', 50, 5)],
'pce' => [new GlobLiteral('application/x-pc-engine-rom', 50, 5)],
'wad' => [new GlobLiteral('application/x-doom-wad', 80, 5), new GlobLiteral('application/x-wii-wad', 50, 5)],
'm7' => [new GlobLiteral('application/x-thomson-cartridge-memo7', 50, 4)],
Expand Down Expand Up @@ -736,6 +739,7 @@
'srf' => [new GlobLiteral('image/x-sony-srf', 50, 5)],
'sr2' => [new GlobLiteral('image/x-sony-sr2', 50, 5)],
'arw' => [new GlobLiteral('image/x-sony-arw', 50, 5)],
'lrf' => [new GlobLiteral('application/x-sony-bbeb', 50, 5)],
'png' => [new GlobLiteral('image/png', 50, 5), new GlobLiteral('image/apng', 40, 5)],
'apng' => [new GlobLiteral('image/apng', 50, 6)],
'rle' => [new GlobLiteral('image/rle', 50, 5)],
Expand All @@ -759,8 +763,8 @@
'xcf.gz' => [new GlobLiteral('image/x-compressed-xcf', 50, 8)],
'xcf.bz2' => [new GlobLiteral('image/x-compressed-xcf', 50, 9)],
'dcm' => [new GlobLiteral('application/dicom', 50, 5)],
'dbk' => [new GlobLiteral('application/x-docbook+xml', 50, 5)],
'docbook' => [new GlobLiteral('application/x-docbook+xml', 50, 9)],
'dbk' => [new GlobLiteral('application/docbook+xml', 50, 5)],
'docbook' => [new GlobLiteral('application/docbook+xml', 50, 9)],
'djvu' => [new GlobLiteral('image/vnd.djvu', 50, 6), new GlobLiteral('image/vnd.djvu+multipage', 50, 6)],
'djv' => [new GlobLiteral('image/vnd.djvu', 50, 5), new GlobLiteral('image/vnd.djvu+multipage', 50, 5)],
'eps' => [new GlobLiteral('image/x-eps', 50, 5)],
Expand Down Expand Up @@ -844,8 +848,8 @@
'opml' => [new GlobLiteral('text/x-opml+xml', 50, 6)],
'sgml' => [new GlobLiteral('text/sgml', 50, 6)],
'sgm' => [new GlobLiteral('text/sgml', 50, 5)],
'sylk' => [new GlobLiteral('text/spreadsheet', 50, 6)],
'slk' => [new GlobLiteral('text/spreadsheet', 50, 5)],
'sylk' => [new GlobLiteral('application/x-sylk', 50, 6)],
'slk' => [new GlobLiteral('application/x-sylk', 50, 5)],
'tsv' => [new GlobLiteral('text/tab-separated-values', 50, 5)],
'gv' => [new GlobLiteral('text/vnd.graphviz', 50, 4)],
'jad' => [new GlobLiteral('text/vnd.sun.j2me.app-descriptor', 50, 5)],
Expand Down Expand Up @@ -1104,6 +1108,7 @@
'openvpn' => [new GlobLiteral('application/x-openvpn-profile', 50, 9)],
'ovpn' => [new GlobLiteral('application/x-openvpn-profile', 50, 6)],
'mrpack' => [new GlobLiteral('application/x-modrinth-modpack+zip', 50, 8)],
'qbrew' => [new GlobLiteral('application/x-qbrew', 50, 7)],
'cbor' => [new GlobLiteral('application/cbor', 50, 6)],
'eris' => [new GlobLiteral('application/x-eris-link+cbor', 50, 6)],
'gbrjob' => [new GlobLiteral('application/x-gerber-job', 50, 8)],
Expand Down
24 changes: 20 additions & 4 deletions src/Resources/db/icons.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
'application/illustrator' => 'image-x-generic',
'application/mac-binhex40' => 'package-x-generic',
'application/mathematica' => 'x-office-document',
'application/mbox' => 'text-x-generic',
'application/mbox' => 'emblem-mail',
'application/x-partial-download' => 'package-x-generic',
'application/oda' => 'x-office-document',
'application/x-wwf' => 'x-office-document',
Expand Down Expand Up @@ -72,12 +72,23 @@
'application/vnd.visio' => 'x-office-document',
'application/msword' => 'x-office-document',
'application/msword-template' => 'x-office-document',
'application/x-starcalc' => 'x-office-spreadsheet',
'application/x-starchart' => 'x-office-spreadsheet',
'application/x-stardraw' => 'image-x-generic',
'application/x-starimpress' => 'x-office-presentation',
'application/x-starmail' => 'emblem-mail',
'application/x-starmath' => 'x-office-document',
'application/x-starwriter' => 'x-office-document',
'application/x-starwriter-global' => 'x-office-document',
'application/vnd.stardivision.calc' => 'x-office-spreadsheet',
'application/vnd.stardivision.chart' => 'x-office-spreadsheet',
'application/vnd.stardivision.draw' => 'image-x-generic',
'application/vnd.stardivision.impress' => 'x-office-presentation',
'application/vnd.stardivision.impress-packed' => 'x-office-presentation',
'application/vnd.stardivision.mail' => 'emblem-mail',
'application/vnd.stardivision.math' => 'x-office-document',
'application/vnd.stardivision.writer' => 'x-office-document',
'application/vnd.stardivision.writer-global' => 'x-office-document',
'application/vnd.sun.xml.calc' => 'x-office-spreadsheet',
'application/vnd.sun.xml.calc.template' => 'x-office-spreadsheet',
'application/vnd.sun.xml.draw' => 'image-x-generic',
Expand Down Expand Up @@ -109,6 +120,7 @@
'application/vnd.oasis.opendocument.database' => 'x-office-document',
'application/vnd.oasis.opendocument.image' => 'image-x-generic',
'application/vnd.openofficeorg.extension' => 'x-office-document',
'application/vnd.apache.parquet' => 'x-office-spreadsheet',
'application/vnd.symbian.install' => 'package-x-generic',
'x-epoc/x-sisx-app' => 'package-x-generic',
'application/vnd.wordperfect' => 'x-office-document',
Expand Down Expand Up @@ -379,8 +391,9 @@
'application/zip' => 'package-x-generic',
'application/vnd.rn-realmedia' => 'video-x-generic',
'application/x-ufraw' => 'image-x-generic',
'application/x-sony-bbeb' => 'x-office-document',
'application/dicom' => 'image-x-generic',
'application/x-docbook+xml' => 'x-office-document',
'application/docbook+xml' => 'x-office-document',
'image/vnd.djvu+multipage' => 'x-office-document',
'image/x-photo-cd' => 'media-optical',
'inode/directory' => 'folder',
Expand All @@ -389,23 +402,26 @@
'message/external-body' => 'text-x-generic',
'message/news' => 'text-x-generic',
'message/partial' => 'text-x-generic',
'message/rfc822' => 'text-x-generic',
'message/x-gnu-rmail' => 'text-x-generic',
'message/rfc822' => 'emblem-mail',
'message/x-gnu-rmail' => 'emblem-mail',
'model/iges' => 'x-office-document',
'model/gltf-binary' => 'image-x-generic',
'model/gltf+json' => 'image-x-generic',
'model/vrml' => 'x-office-document',
'model/obj' => 'image-x-generic',
'model/mtl' => 'image-x-generic',
'text/calendar' => 'x-office-calendar',
'application/rss+xml' => 'text-html',
'application/atom+xml' => 'text-html',
'text/x-opml+xml' => 'text-html',
'application/x-sylk' => 'x-office-spreadsheet',
'text/vnd.graphviz' => 'x-office-document',
'application/x-ace' => 'package-x-generic',
'application/xml-dtd' => 'text-x-generic',
'text/x-genie' => 'text-x-generic',
'application/hta' => 'text-html',
'text/x-component' => 'text-html',
'text/x-ldif' => 'x-office-address-book',
'text/markdown' => 'x-office-document',
'text/x-sass' => 'text-x-generic',
'text/x-scss' => 'text-x-generic',
Expand Down
Loading

0 comments on commit b2f6265

Please sign in to comment.