Merge pull request #19942 from ACTom/add-mindmap-icon
Add mindmap type file icon
This commit is contained in:
commit
b981cb0718
|
@ -0,0 +1 @@
|
|||
<svg xmlns="http://www.w3.org/2000/svg" height="16" width="16"><path fill="#f41d5c" d="M2.5 1c-.28 0-.5.22-.5.5v13c0 .28.22.5.5.5h11c.28 0 .5-.22.5-.5V4l-3-3H2.5zm4.527 2.121A1.032 1.018 0 018.06 4.14a1.032 1.018 0 01-.561.906l.367 1.902a1.436 1.436 73.095 01.174-.011 1.436 1.436 73.095 011.217.671l1.6-1.05a.78.78 57.865 01-.08-.342.78.78 57.865 01.78-.78.78.78 57.865 01.78.78.78.78 57.865 01-.78.781.78.78 57.865 01-.482-.168l-1.67 1.096a1.436 1.436 73.095 01.073.447 1.436 1.436 73.095 01-.207.74l1.503 1.711a.913.913 61.954 01.51-.158.913.913 61.954 01.914.914.913.913 61.954 01-.914.914.913.913 61.954 01-.914-.914.913.913 61.954 01.131-.47L9.02 9.421a1.436 1.436 73.095 01-.98.387 1.436 1.436 73.095 01-.352-.045l-.965 1.912a.88.88 69.57 01.334.69.88.88 69.57 01-.881.88.88.88 69.57 01-.881-.88.88.88 69.57 01.88-.882.88.88 69.57 01.214.028l.95-1.887a1.436 1.436 73.095 01-.693-.906l-2.097.054a.97.97 72.338 01-.951.788.97.97 72.338 01-.971-.97.97.97 72.338 01.97-.97.97.97 72.338 01.954.805l2.053-.055a1.436 1.436 73.095 01.925-1.34l-.365-1.883a1.032 1.018 0 01-.137.008 1.032 1.018 0 01-1.03-1.017 1.032 1.018 0 011.03-1.018z"/></svg>
|
After Width: | Height: | Size: 1.1 KiB |
|
@ -102,7 +102,10 @@ OC.MimeTypeList={
|
|||
"text/x-python": "text/code",
|
||||
"text/x-shellscript": "text/code",
|
||||
"web": "text/code",
|
||||
"application/internet-shortcut": "link"
|
||||
"application/internet-shortcut": "link",
|
||||
"application/km": "mindmap",
|
||||
"application/x-freemind": "mindmap",
|
||||
"application/vnd.xmind.workbook": "mindmap"
|
||||
},
|
||||
files: [
|
||||
"application",
|
||||
|
@ -119,6 +122,7 @@ OC.MimeTypeList={
|
|||
"image",
|
||||
"link",
|
||||
"location",
|
||||
"mindmap",
|
||||
"package-x-generic",
|
||||
"text",
|
||||
"text-calendar",
|
||||
|
|
|
@ -881,6 +881,9 @@ class CheckerTest extends TestCase {
|
|||
'text/x-shellscript' => 'text/code',
|
||||
'web' => 'text/code',
|
||||
'application/internet-shortcut' => 'link',
|
||||
'application/km' => 'mindmap',
|
||||
'application/x-freemind' => 'mindmap',
|
||||
'application/vnd.xmind.workbook' => 'mindmap'
|
||||
]);
|
||||
|
||||
$this->mimeTypeDetector
|
||||
|
@ -989,6 +992,9 @@ class CheckerTest extends TestCase {
|
|||
'text/x-shellscript' => 'text/code',
|
||||
'web' => 'text/code',
|
||||
'application/internet-shortcut' => 'link',
|
||||
'application/km' => 'mindmap',
|
||||
'application/x-freemind' => 'mindmap',
|
||||
'application/vnd.xmind.workbook' => 'mindmap'
|
||||
]);
|
||||
|
||||
$this->environmentHelper
|
||||
|
@ -997,9 +1003,9 @@ class CheckerTest extends TestCase {
|
|||
->willReturn(\OC::$SERVERROOT . '/tests/data/integritycheck/mimetypeListModified');
|
||||
$signatureDataFile = '{
|
||||
"hashes": {
|
||||
"mimetypelist.js": "dc48de7ad4baa030c5e563350c9a80b274bad783f6f5adbf1595ecef6c6a32e52890a24cb26cddb0aa20193ba52c001150c68d8bfb567f0aed566f4029a190a3"
|
||||
"mimetypelist.js": "23a3fa45757b26795f5cf8f94d9e5bce76fc916288a6458679311b312c167adcf4158ccb2c5c3db791fa0b87703b6c5863afb6c9d790b8cbac5ab3ae8c3418fb"
|
||||
},
|
||||
"signature": "dtNDyufRB1jOG3e\/\/Ng6O3ZPnX5wgt3rrD9SpRQ66cpWlixwvGaI6knH85MkWm3q1c+hTYBipJ\/o+nJxHWoxydMXm+F6mC5MvXWfESB\/ag4fvKe0fg25yKstzlrpIyWwcnmOhLE\/sd7D8LZOQXk72PXsI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