update blueimp/jquery-file-upload

This commit is contained in:
Mario Vavti 2019-04-25 11:50:26 +02:00
parent 0ade8be7f7
commit c123fa5422
7 changed files with 34 additions and 26 deletions

10
composer.lock generated
View File

@ -8,16 +8,16 @@
"packages": [ "packages": [
{ {
"name": "blueimp/jquery-file-upload", "name": "blueimp/jquery-file-upload",
"version": "v9.28.0", "version": "v9.30.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/vkhramtsov/jQuery-File-Upload.git", "url": "https://github.com/vkhramtsov/jQuery-File-Upload.git",
"reference": "ff5accfe2e5c4a522777faa980a90cf86a636d1d" "reference": "1fceec556879403e5c1ae32a7c448aa12b8c3558"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/vkhramtsov/jQuery-File-Upload/zipball/ff5accfe2e5c4a522777faa980a90cf86a636d1d", "url": "https://api.github.com/repos/vkhramtsov/jQuery-File-Upload/zipball/1fceec556879403e5c1ae32a7c448aa12b8c3558",
"reference": "ff5accfe2e5c4a522777faa980a90cf86a636d1d", "reference": "1fceec556879403e5c1ae32a7c448aa12b8c3558",
"shasum": "" "shasum": ""
}, },
"type": "library", "type": "library",
@ -59,7 +59,7 @@
"upload", "upload",
"widget" "widget"
], ],
"time": "2018-11-13T05:41:39+00:00" "time": "2019-04-22T09:21:57+00:00"
}, },
{ {
"name": "bshaffer/oauth2-server-php", "name": "bshaffer/oauth2-server-php",

View File

@ -128,6 +128,6 @@ To do so, locate the ImageMagick `policy.xml` configuration file and add the fol
<!-- ... --> <!-- ... -->
<policy domain="delegate" rights="none" pattern="*" /> <policy domain="delegate" rights="none" pattern="*" />
<policy domain="coder" rights="none" pattern="*" /> <policy domain="coder" rights="none" pattern="*" />
<policy domain="coder" rights="read | write" pattern="{GIF,JPEG,PNG}" /> <policy domain="coder" rights="read | write" pattern="{GIF,JPEG,JPG,PNG}" />
</policymap> </policymap>
``` ```

View File

@ -1,6 +1,6 @@
{ {
"name": "blueimp-file-upload", "name": "blueimp-file-upload",
"version": "9.28.0", "version": "9.30.0",
"title": "jQuery File Upload", "title": "jQuery File Upload",
"description": "File Upload widget with multiple file selection, drag&amp;drop support, progress bar, validation and preview images.", "description": "File Upload widget with multiple file selection, drag&amp;drop support, progress bar, validation and preview images.",
"keywords": [ "keywords": [

View File

@ -149,7 +149,9 @@
<span class="preview"></span> <span class="preview"></span>
</td> </td>
<td> <td>
<p class="name">{%=file.name%}</p> {% if (window.innerWidth > 480 || !o.options.loadImageFileTypes.test(file.type)) { %}
<p class="name">{%=file.name%}</p>
{% } %}
<strong class="error text-danger"></strong> <strong class="error text-danger"></strong>
</td> </td>
<td> <td>
@ -185,13 +187,15 @@
</span> </span>
</td> </td>
<td> <td>
<p class="name"> {% if (window.innerWidth > 480 || !file.thumbnailUrl) { %}
{% if (file.url) { %} <p class="name">
<a href="{%=file.url%}" title="{%=file.name%}" download="{%=file.name%}" {%=file.thumbnailUrl?'data-gallery':''%}>{%=file.name%}</a> {% if (file.url) { %}
{% } else { %} <a href="{%=file.url%}" title="{%=file.name%}" download="{%=file.name%}" {%=file.thumbnailUrl?'data-gallery':''%}>{%=file.name%}</a>
<span>{%=file.name%}</span> {% } else { %}
{% } %} <span>{%=file.name%}</span>
</p> {% } %}
</p>
{% } %}
{% if (file.error) { %} {% if (file.error) { %}
<div><span class="label label-danger">Error</span> {%=file.error%}</div> <div><span class="label label-danger">Error</span> {%=file.error%}</div>
{% } %} {% } %}

View File

@ -154,7 +154,9 @@
<span class="preview"></span> <span class="preview"></span>
</td> </td>
<td> <td>
<p class="name">{%=file.name%}</p> {% if (window.innerWidth > 480 || !o.options.loadImageFileTypes.test(file.type)) { %}
<p class="name">{%=file.name%}</p>
{% } %}
<strong class="error"></strong> <strong class="error"></strong>
</td> </td>
<td> <td>
@ -184,9 +186,11 @@
</span> </span>
</td> </td>
<td> <td>
<p class="name"> {% if (window.innerWidth > 480 || !file.thumbnailUrl) { %}
<a href="{%=file.url%}" title="{%=file.name%}" download="{%=file.name%}" {%=file.thumbnailUrl?'data-gallery':''%}>{%=file.name%}</a> <p class="name">
</p> <a href="{%=file.url%}" title="{%=file.name%}" download="{%=file.name%}" {%=file.thumbnailUrl?'data-gallery':''%}>{%=file.name%}</a>
</p>
{% } %}
{% if (file.error) { %} {% if (file.error) { %}
<div><span class="error">Error</span> {%=file.error%}</div> <div><span class="error">Error</span> {%=file.error%}</div>
{% } %} {% } %}

View File

@ -1,6 +1,6 @@
{ {
"name": "blueimp-file-upload", "name": "blueimp-file-upload",
"version": "9.28.0", "version": "9.30.0",
"title": "jQuery File Upload", "title": "jQuery File Upload",
"description": "File Upload widget with multiple file selection, drag&drop support, progress bar, validation and preview images, audio and video for jQuery. Supports cross-domain, chunked and resumable file uploads. Works with any server-side platform (Google App Engine, PHP, Python, Ruby on Rails, Java, etc.) that supports standard HTML form file uploads.", "description": "File Upload widget with multiple file selection, drag&drop support, progress bar, validation and preview images, audio and video for jQuery. Supports cross-domain, chunked and resumable file uploads. Works with any server-side platform (Google App Engine, PHP, Python, Ruby on Rails, Java, etc.) that supports standard HTML form file uploads.",
"keywords": [ "keywords": [

View File

@ -1,20 +1,20 @@
[ [
{ {
"name": "blueimp/jquery-file-upload", "name": "blueimp/jquery-file-upload",
"version": "v9.28.0", "version": "v9.30.0",
"version_normalized": "9.28.0.0", "version_normalized": "9.30.0.0",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/vkhramtsov/jQuery-File-Upload.git", "url": "https://github.com/vkhramtsov/jQuery-File-Upload.git",
"reference": "ff5accfe2e5c4a522777faa980a90cf86a636d1d" "reference": "1fceec556879403e5c1ae32a7c448aa12b8c3558"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/vkhramtsov/jQuery-File-Upload/zipball/ff5accfe2e5c4a522777faa980a90cf86a636d1d", "url": "https://api.github.com/repos/vkhramtsov/jQuery-File-Upload/zipball/1fceec556879403e5c1ae32a7c448aa12b8c3558",
"reference": "ff5accfe2e5c4a522777faa980a90cf86a636d1d", "reference": "1fceec556879403e5c1ae32a7c448aa12b8c3558",
"shasum": "" "shasum": ""
}, },
"time": "2018-11-13T05:41:39+00:00", "time": "2019-04-22T09:21:57+00:00",
"type": "library", "type": "library",
"installation-source": "dist", "installation-source": "dist",
"autoload": { "autoload": {