card-mod-machines 0.11.6 → 0.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/file/all_script_machine_output/file.js +68 -35959
- metadata +13 -89
- data/vendor/jquery_file_upload/CONTRIBUTING.md +0 -15
- data/vendor/jquery_file_upload/LICENSE.txt +0 -21
- data/vendor/jquery_file_upload/README.md +0 -107
- data/vendor/jquery_file_upload/angularjs.html +0 -211
- data/vendor/jquery_file_upload/basic-plus.html +0 -226
- data/vendor/jquery_file_upload/basic.html +0 -136
- data/vendor/jquery_file_upload/bower-version-update.js +0 -16
- data/vendor/jquery_file_upload/bower.json +0 -64
- data/vendor/jquery_file_upload/cors/postmessage.html +0 -75
- data/vendor/jquery_file_upload/cors/result.html +0 -24
- data/vendor/jquery_file_upload/css/jquery-ui-demo-ie8.css +0 -21
- data/vendor/jquery_file_upload/css/jquery-ui-demo.css +0 -67
- data/vendor/jquery_file_upload/css/jquery.fileupload-noscript.css +0 -22
- data/vendor/jquery_file_upload/css/jquery.fileupload-ui-noscript.css +0 -17
- data/vendor/jquery_file_upload/css/jquery.fileupload-ui.css +0 -57
- data/vendor/jquery_file_upload/css/jquery.fileupload.css +0 -37
- data/vendor/jquery_file_upload/css/style.css +0 -15
- data/vendor/jquery_file_upload/img/loading.gif +0 -0
- data/vendor/jquery_file_upload/img/progressbar.gif +0 -0
- data/vendor/jquery_file_upload/index.html +0 -255
- data/vendor/jquery_file_upload/jquery-ui.html +0 -252
- data/vendor/jquery_file_upload/js/app.js +0 -101
- data/vendor/jquery_file_upload/js/cors/jquery.postmessage-transport.js +0 -126
- data/vendor/jquery_file_upload/js/cors/jquery.xdr-transport.js +0 -89
- data/vendor/jquery_file_upload/js/jquery.fileupload-angular.js +0 -437
- data/vendor/jquery_file_upload/js/jquery.fileupload-audio.js +0 -113
- data/vendor/jquery_file_upload/js/jquery.fileupload-image.js +0 -326
- data/vendor/jquery_file_upload/js/jquery.fileupload-jquery-ui.js +0 -161
- data/vendor/jquery_file_upload/js/jquery.fileupload-process.js +0 -178
- data/vendor/jquery_file_upload/js/jquery.fileupload-ui.js +0 -714
- data/vendor/jquery_file_upload/js/jquery.fileupload-validate.js +0 -125
- data/vendor/jquery_file_upload/js/jquery.fileupload-video.js +0 -113
- data/vendor/jquery_file_upload/js/jquery.fileupload.js +0 -1486
- data/vendor/jquery_file_upload/js/jquery.iframe-transport.js +0 -224
- data/vendor/jquery_file_upload/js/main.js +0 -75
- data/vendor/jquery_file_upload/js/vendor/jquery.ui.widget.js +0 -748
- data/vendor/jquery_file_upload/package.json +0 -55
- data/vendor/jquery_file_upload/server/gae-go/app.yaml +0 -12
- data/vendor/jquery_file_upload/server/gae-go/app/main.go +0 -361
- data/vendor/jquery_file_upload/server/gae-go/static/favicon.ico +0 -0
- data/vendor/jquery_file_upload/server/gae-go/static/robots.txt +0 -2
- data/vendor/jquery_file_upload/server/gae-python/app.yaml +0 -17
- data/vendor/jquery_file_upload/server/gae-python/main.py +0 -204
- data/vendor/jquery_file_upload/server/gae-python/static/favicon.ico +0 -0
- data/vendor/jquery_file_upload/server/gae-python/static/robots.txt +0 -2
- data/vendor/jquery_file_upload/server/php/Dockerfile +0 -38
- data/vendor/jquery_file_upload/server/php/UploadHandler.php +0 -1411
- data/vendor/jquery_file_upload/server/php/docker-compose.yml +0 -9
- data/vendor/jquery_file_upload/server/php/index.php +0 -15
- data/vendor/jquery_file_upload/test/index.html +0 -172
- data/vendor/jquery_file_upload/test/test.js +0 -1292
- data/vendor/jquery_rails/CHANGELOG.md +0 -359
- data/vendor/jquery_rails/CONTRIBUTING.md +0 -132
- data/vendor/jquery_rails/Gemfile +0 -22
- data/vendor/jquery_rails/MIT-LICENSE +0 -21
- data/vendor/jquery_rails/README.md +0 -75
- data/vendor/jquery_rails/Rakefile +0 -59
- data/vendor/jquery_rails/VERSIONS.md +0 -62
- data/vendor/jquery_rails/jquery-rails.gemspec +0 -26
- data/vendor/jquery_rails/lib/jquery-rails.rb +0 -1
- data/vendor/jquery_rails/lib/jquery/assert_select.rb +0 -149
- data/vendor/jquery_rails/lib/jquery/rails.rb +0 -8
- data/vendor/jquery_rails/lib/jquery/rails/engine.rb +0 -6
- data/vendor/jquery_rails/lib/jquery/rails/version.rb +0 -9
- data/vendor/jquery_rails/test/assert_select_jquery_test.rb +0 -85
- data/vendor/jquery_rails/test/test_helper.rb +0 -6
- data/vendor/jquery_rails/vendor/assets/javascripts/jquery.js +0 -11008
- data/vendor/jquery_rails/vendor/assets/javascripts/jquery.min.js +0 -5
- data/vendor/jquery_rails/vendor/assets/javascripts/jquery.min.map +0 -1
- data/vendor/jquery_rails/vendor/assets/javascripts/jquery2.js +0 -9814
- data/vendor/jquery_rails/vendor/assets/javascripts/jquery2.min.js +0 -4
- data/vendor/jquery_rails/vendor/assets/javascripts/jquery2.min.map +0 -1
- data/vendor/jquery_rails/vendor/assets/javascripts/jquery3.js +0 -10364
- data/vendor/jquery_rails/vendor/assets/javascripts/jquery3.min.js +0 -2
- data/vendor/jquery_rails/vendor/assets/javascripts/jquery3.min.map +0 -1
- data/vendor/jquery_rails/vendor/assets/javascripts/jquery_ujs.js +0 -555
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: card-mod-machines
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.12.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ethan McCutchen
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2021-05
|
13
|
+
date: 2021-07-05 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: card
|
@@ -18,14 +18,14 @@ dependencies:
|
|
18
18
|
requirements:
|
19
19
|
- - '='
|
20
20
|
- !ruby/object:Gem::Version
|
21
|
-
version: 1.
|
21
|
+
version: 1.102.0
|
22
22
|
type: :runtime
|
23
23
|
prerelease: false
|
24
24
|
version_requirements: !ruby/object:Gem::Requirement
|
25
25
|
requirements:
|
26
26
|
- - '='
|
27
27
|
- !ruby/object:Gem::Version
|
28
|
-
version: 1.
|
28
|
+
version: 1.102.0
|
29
29
|
- !ruby/object:Gem::Dependency
|
30
30
|
name: execjs
|
31
31
|
requirement: !ruby/object:Gem::Requirement
|
@@ -52,56 +52,56 @@ dependencies:
|
|
52
52
|
requirements:
|
53
53
|
- - '='
|
54
54
|
- !ruby/object:Gem::Version
|
55
|
-
version: 0.
|
55
|
+
version: 0.12.0
|
56
56
|
type: :runtime
|
57
57
|
prerelease: false
|
58
58
|
version_requirements: !ruby/object:Gem::Requirement
|
59
59
|
requirements:
|
60
60
|
- - '='
|
61
61
|
- !ruby/object:Gem::Version
|
62
|
-
version: 0.
|
62
|
+
version: 0.12.0
|
63
63
|
- !ruby/object:Gem::Dependency
|
64
64
|
name: card-mod-format
|
65
65
|
requirement: !ruby/object:Gem::Requirement
|
66
66
|
requirements:
|
67
67
|
- - '='
|
68
68
|
- !ruby/object:Gem::Version
|
69
|
-
version: 0.
|
69
|
+
version: 0.12.0
|
70
70
|
type: :runtime
|
71
71
|
prerelease: false
|
72
72
|
version_requirements: !ruby/object:Gem::Requirement
|
73
73
|
requirements:
|
74
74
|
- - '='
|
75
75
|
- !ruby/object:Gem::Version
|
76
|
-
version: 0.
|
76
|
+
version: 0.12.0
|
77
77
|
- !ruby/object:Gem::Dependency
|
78
78
|
name: card-mod-list
|
79
79
|
requirement: !ruby/object:Gem::Requirement
|
80
80
|
requirements:
|
81
81
|
- - '='
|
82
82
|
- !ruby/object:Gem::Version
|
83
|
-
version: 0.
|
83
|
+
version: 0.12.0
|
84
84
|
type: :runtime
|
85
85
|
prerelease: false
|
86
86
|
version_requirements: !ruby/object:Gem::Requirement
|
87
87
|
requirements:
|
88
88
|
- - '='
|
89
89
|
- !ruby/object:Gem::Version
|
90
|
-
version: 0.
|
90
|
+
version: 0.12.0
|
91
91
|
- !ruby/object:Gem::Dependency
|
92
92
|
name: card-mod-carrierwave
|
93
93
|
requirement: !ruby/object:Gem::Requirement
|
94
94
|
requirements:
|
95
95
|
- - '='
|
96
96
|
- !ruby/object:Gem::Version
|
97
|
-
version: 0.
|
97
|
+
version: 0.12.0
|
98
98
|
type: :runtime
|
99
99
|
prerelease: false
|
100
100
|
version_requirements: !ruby/object:Gem::Requirement
|
101
101
|
requirements:
|
102
102
|
- - '='
|
103
103
|
- !ruby/object:Gem::Version
|
104
|
-
version: 0.
|
104
|
+
version: 0.12.0
|
105
105
|
description: ''
|
106
106
|
email:
|
107
107
|
- info@decko.org
|
@@ -121,82 +121,6 @@ files:
|
|
121
121
|
- set/right/machine_cache.rb
|
122
122
|
- set/right/machine_input.rb
|
123
123
|
- set/right/machine_output.rb
|
124
|
-
- vendor/jquery_file_upload/CONTRIBUTING.md
|
125
|
-
- vendor/jquery_file_upload/LICENSE.txt
|
126
|
-
- vendor/jquery_file_upload/README.md
|
127
|
-
- vendor/jquery_file_upload/angularjs.html
|
128
|
-
- vendor/jquery_file_upload/basic-plus.html
|
129
|
-
- vendor/jquery_file_upload/basic.html
|
130
|
-
- vendor/jquery_file_upload/bower-version-update.js
|
131
|
-
- vendor/jquery_file_upload/bower.json
|
132
|
-
- vendor/jquery_file_upload/cors/postmessage.html
|
133
|
-
- vendor/jquery_file_upload/cors/result.html
|
134
|
-
- vendor/jquery_file_upload/css/jquery-ui-demo-ie8.css
|
135
|
-
- vendor/jquery_file_upload/css/jquery-ui-demo.css
|
136
|
-
- vendor/jquery_file_upload/css/jquery.fileupload-noscript.css
|
137
|
-
- vendor/jquery_file_upload/css/jquery.fileupload-ui-noscript.css
|
138
|
-
- vendor/jquery_file_upload/css/jquery.fileupload-ui.css
|
139
|
-
- vendor/jquery_file_upload/css/jquery.fileupload.css
|
140
|
-
- vendor/jquery_file_upload/css/style.css
|
141
|
-
- vendor/jquery_file_upload/img/loading.gif
|
142
|
-
- vendor/jquery_file_upload/img/progressbar.gif
|
143
|
-
- vendor/jquery_file_upload/index.html
|
144
|
-
- vendor/jquery_file_upload/jquery-ui.html
|
145
|
-
- vendor/jquery_file_upload/js/app.js
|
146
|
-
- vendor/jquery_file_upload/js/cors/jquery.postmessage-transport.js
|
147
|
-
- vendor/jquery_file_upload/js/cors/jquery.xdr-transport.js
|
148
|
-
- vendor/jquery_file_upload/js/jquery.fileupload-angular.js
|
149
|
-
- vendor/jquery_file_upload/js/jquery.fileupload-audio.js
|
150
|
-
- vendor/jquery_file_upload/js/jquery.fileupload-image.js
|
151
|
-
- vendor/jquery_file_upload/js/jquery.fileupload-jquery-ui.js
|
152
|
-
- vendor/jquery_file_upload/js/jquery.fileupload-process.js
|
153
|
-
- vendor/jquery_file_upload/js/jquery.fileupload-ui.js
|
154
|
-
- vendor/jquery_file_upload/js/jquery.fileupload-validate.js
|
155
|
-
- vendor/jquery_file_upload/js/jquery.fileupload-video.js
|
156
|
-
- vendor/jquery_file_upload/js/jquery.fileupload.js
|
157
|
-
- vendor/jquery_file_upload/js/jquery.iframe-transport.js
|
158
|
-
- vendor/jquery_file_upload/js/main.js
|
159
|
-
- vendor/jquery_file_upload/js/vendor/jquery.ui.widget.js
|
160
|
-
- vendor/jquery_file_upload/package.json
|
161
|
-
- vendor/jquery_file_upload/server/gae-go/app.yaml
|
162
|
-
- vendor/jquery_file_upload/server/gae-go/app/main.go
|
163
|
-
- vendor/jquery_file_upload/server/gae-go/static/favicon.ico
|
164
|
-
- vendor/jquery_file_upload/server/gae-go/static/robots.txt
|
165
|
-
- vendor/jquery_file_upload/server/gae-python/app.yaml
|
166
|
-
- vendor/jquery_file_upload/server/gae-python/main.py
|
167
|
-
- vendor/jquery_file_upload/server/gae-python/static/favicon.ico
|
168
|
-
- vendor/jquery_file_upload/server/gae-python/static/robots.txt
|
169
|
-
- vendor/jquery_file_upload/server/php/Dockerfile
|
170
|
-
- vendor/jquery_file_upload/server/php/UploadHandler.php
|
171
|
-
- vendor/jquery_file_upload/server/php/docker-compose.yml
|
172
|
-
- vendor/jquery_file_upload/server/php/index.php
|
173
|
-
- vendor/jquery_file_upload/test/index.html
|
174
|
-
- vendor/jquery_file_upload/test/test.js
|
175
|
-
- vendor/jquery_rails/CHANGELOG.md
|
176
|
-
- vendor/jquery_rails/CONTRIBUTING.md
|
177
|
-
- vendor/jquery_rails/Gemfile
|
178
|
-
- vendor/jquery_rails/MIT-LICENSE
|
179
|
-
- vendor/jquery_rails/README.md
|
180
|
-
- vendor/jquery_rails/Rakefile
|
181
|
-
- vendor/jquery_rails/VERSIONS.md
|
182
|
-
- vendor/jquery_rails/jquery-rails.gemspec
|
183
|
-
- vendor/jquery_rails/lib/jquery-rails.rb
|
184
|
-
- vendor/jquery_rails/lib/jquery/assert_select.rb
|
185
|
-
- vendor/jquery_rails/lib/jquery/rails.rb
|
186
|
-
- vendor/jquery_rails/lib/jquery/rails/engine.rb
|
187
|
-
- vendor/jquery_rails/lib/jquery/rails/version.rb
|
188
|
-
- vendor/jquery_rails/test/assert_select_jquery_test.rb
|
189
|
-
- vendor/jquery_rails/test/test_helper.rb
|
190
|
-
- vendor/jquery_rails/vendor/assets/javascripts/jquery.js
|
191
|
-
- vendor/jquery_rails/vendor/assets/javascripts/jquery.min.js
|
192
|
-
- vendor/jquery_rails/vendor/assets/javascripts/jquery.min.map
|
193
|
-
- vendor/jquery_rails/vendor/assets/javascripts/jquery2.js
|
194
|
-
- vendor/jquery_rails/vendor/assets/javascripts/jquery2.min.js
|
195
|
-
- vendor/jquery_rails/vendor/assets/javascripts/jquery2.min.map
|
196
|
-
- vendor/jquery_rails/vendor/assets/javascripts/jquery3.js
|
197
|
-
- vendor/jquery_rails/vendor/assets/javascripts/jquery3.min.js
|
198
|
-
- vendor/jquery_rails/vendor/assets/javascripts/jquery3.min.map
|
199
|
-
- vendor/jquery_rails/vendor/assets/javascripts/jquery_ujs.js
|
200
124
|
homepage: https://decko.org
|
201
125
|
licenses:
|
202
126
|
- GPL-3.0
|
@@ -222,7 +146,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
222
146
|
- !ruby/object:Gem::Version
|
223
147
|
version: '0'
|
224
148
|
requirements: []
|
225
|
-
rubygems_version: 3.
|
149
|
+
rubygems_version: 3.2.15
|
226
150
|
signing_key:
|
227
151
|
specification_version: 4
|
228
152
|
summary: decko machines
|
@@ -1,15 +0,0 @@
|
|
1
|
-
Please follow these pull request guidelines:
|
2
|
-
|
3
|
-
1. Update your fork to the latest upstream version.
|
4
|
-
|
5
|
-
2. Follow the coding conventions of the original source files (indentation, spaces, brackets layout).
|
6
|
-
|
7
|
-
3. Code changes must pass JSHint validation with the `.jshintrc` settings of this project.
|
8
|
-
|
9
|
-
4. Code changes must pass the QUnit tests defined in the `test` folder.
|
10
|
-
|
11
|
-
5. New features should be covered by accompanying QUnit tests.
|
12
|
-
|
13
|
-
6. Keep your commits as atomic as possible, i.e. create a new commit for every single bug fix or feature added.
|
14
|
-
|
15
|
-
7. Always add meaningful commit messages.
|
@@ -1,21 +0,0 @@
|
|
1
|
-
MIT License
|
2
|
-
|
3
|
-
Copyright © 2010 Sebastian Tschan, https://blueimp.net
|
4
|
-
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
7
|
-
in the Software without restriction, including without limitation the rights
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
10
|
-
furnished to do so, subject to the following conditions:
|
11
|
-
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
13
|
-
copies or substantial portions of the Software.
|
14
|
-
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
-
SOFTWARE.
|
@@ -1,107 +0,0 @@
|
|
1
|
-
# jQuery File Upload Plugin
|
2
|
-
|
3
|
-
## Demo
|
4
|
-
[Demo File Upload](https://blueimp.github.io/jQuery-File-Upload/)
|
5
|
-
|
6
|
-
## Description
|
7
|
-
File Upload widget with multiple file selection, drag&drop support, progress bars, validation and preview images, audio and video for jQuery.
|
8
|
-
Supports cross-domain, chunked and resumable file uploads and client-side image resizing. Works with any server-side platform (PHP, Python, Ruby on Rails, Java, Node.js, Go etc.) that supports standard HTML form file uploads.
|
9
|
-
|
10
|
-
## Setup
|
11
|
-
* [How to setup the plugin on your website](https://github.com/blueimp/jQuery-File-Upload/wiki/Setup)
|
12
|
-
* [How to use only the basic plugin (minimal setup guide).](https://github.com/blueimp/jQuery-File-Upload/wiki/Basic-plugin)
|
13
|
-
|
14
|
-
## Features
|
15
|
-
* **Multiple file upload:**
|
16
|
-
Allows to select multiple files at once and upload them simultaneously.
|
17
|
-
* **Drag & Drop support:**
|
18
|
-
Allows to upload files by dragging them from your desktop or filemanager and dropping them on your browser window.
|
19
|
-
* **Upload progress bar:**
|
20
|
-
Shows a progress bar indicating the upload progress for individual files and for all uploads combined.
|
21
|
-
* **Cancelable uploads:**
|
22
|
-
Individual file uploads can be canceled to stop the upload progress.
|
23
|
-
* **Resumable uploads:**
|
24
|
-
Aborted uploads can be resumed with browsers supporting the Blob API.
|
25
|
-
* **Chunked uploads:**
|
26
|
-
Large files can be uploaded in smaller chunks with browsers supporting the Blob API.
|
27
|
-
* **Client-side image resizing:**
|
28
|
-
Images can be automatically resized on client-side with browsers supporting the required JS APIs.
|
29
|
-
* **Preview images, audio and video:**
|
30
|
-
A preview of image, audio and video files can be displayed before uploading with browsers supporting the required APIs.
|
31
|
-
* **No browser plugins (e.g. Adobe Flash) required:**
|
32
|
-
The implementation is based on open standards like HTML5 and JavaScript and requires no additional browser plugins.
|
33
|
-
* **Graceful fallback for legacy browsers:**
|
34
|
-
Uploads files via XMLHttpRequests if supported and uses iframes as fallback for legacy browsers.
|
35
|
-
* **HTML file upload form fallback:**
|
36
|
-
Allows progressive enhancement by using a standard HTML file upload form as widget element.
|
37
|
-
* **Cross-site file uploads:**
|
38
|
-
Supports uploading files to a different domain with cross-site XMLHttpRequests or iframe redirects.
|
39
|
-
* **Multiple plugin instances:**
|
40
|
-
Allows to use multiple plugin instances on the same webpage.
|
41
|
-
* **Customizable and extensible:**
|
42
|
-
Provides an API to set individual options and define callback methods for various upload events.
|
43
|
-
* **Multipart and file contents stream uploads:**
|
44
|
-
Files can be uploaded as standard "multipart/form-data" or file contents stream (HTTP PUT file upload).
|
45
|
-
* **Compatible with any server-side application platform:**
|
46
|
-
Works with any server-side platform (PHP, Python, Ruby on Rails, Java, Node.js, Go etc.) that supports standard HTML form file uploads.
|
47
|
-
|
48
|
-
## Requirements
|
49
|
-
|
50
|
-
### Mandatory requirements
|
51
|
-
* [jQuery](https://jquery.com/) v. 1.6+
|
52
|
-
* [jQuery UI widget factory](https://api.jqueryui.com/jQuery.widget/) v. 1.9+ (included): Required for the basic File Upload plugin, but very lightweight without any other dependencies from the jQuery UI suite.
|
53
|
-
* [jQuery Iframe Transport plugin](https://github.com/blueimp/jQuery-File-Upload/blob/master/js/jquery.iframe-transport.js) (included): Required for [browsers without XHR file upload support](https://github.com/blueimp/jQuery-File-Upload/wiki/Browser-support).
|
54
|
-
|
55
|
-
### Optional requirements
|
56
|
-
* [JavaScript Templates engine](https://github.com/blueimp/JavaScript-Templates) v. 2.5.4+: Used to render the selected and uploaded files for the Basic Plus UI and jQuery UI versions.
|
57
|
-
* [JavaScript Load Image library](https://github.com/blueimp/JavaScript-Load-Image) v. 1.13.0+: Required for the image previews and resizing functionality.
|
58
|
-
* [JavaScript Canvas to Blob polyfill](https://github.com/blueimp/JavaScript-Canvas-to-Blob) v. 2.1.1+:Required for the image previews and resizing functionality.
|
59
|
-
* [blueimp Gallery](https://github.com/blueimp/Gallery) v. 2.15.1+: Used to display the uploaded images in a lightbox.
|
60
|
-
* [Bootstrap](http://getbootstrap.com/) v. 3.2.0+
|
61
|
-
* [Glyphicons](http://glyphicons.com/)
|
62
|
-
|
63
|
-
The user interface of all versions, except the jQuery UI version, is built with [Bootstrap](http://getbootstrap.com/) and icons from [Glyphicons](http://glyphicons.com/).
|
64
|
-
|
65
|
-
### Cross-domain requirements
|
66
|
-
[Cross-domain File Uploads](https://github.com/blueimp/jQuery-File-Upload/wiki/Cross-domain-uploads) using the [Iframe Transport plugin](https://github.com/blueimp/jQuery-File-Upload/blob/master/js/jquery.iframe-transport.js) require a redirect back to the origin server to retrieve the upload results. The [example implementation](https://github.com/blueimp/jQuery-File-Upload/blob/master/js/main.js) makes use of [result.html](https://github.com/blueimp/jQuery-File-Upload/blob/master/cors/result.html) as a static redirect page for the origin server.
|
67
|
-
|
68
|
-
The repository also includes the [jQuery XDomainRequest Transport plugin](https://github.com/blueimp/jQuery-File-Upload/blob/master/js/cors/jquery.xdr-transport.js), which enables limited cross-domain AJAX requests in Microsoft Internet Explorer 8 and 9 (IE 10 supports cross-domain XHR requests).
|
69
|
-
The XDomainRequest object allows GET and POST requests only and doesn't support file uploads. It is used on the [Demo](https://blueimp.github.io/jQuery-File-Upload/) to delete uploaded files from the cross-domain demo file upload service.
|
70
|
-
|
71
|
-
### Custom Backends
|
72
|
-
|
73
|
-
You can add support for various backends by adhering to the specification [outlined here](https://github.com/blueimp/jQuery-File-Upload/wiki/JSON-Response).
|
74
|
-
|
75
|
-
## Browsers
|
76
|
-
|
77
|
-
### Desktop browsers
|
78
|
-
The File Upload plugin is regularly tested with the latest browser versions and supports the following minimal versions:
|
79
|
-
|
80
|
-
* Google Chrome
|
81
|
-
* Apple Safari 4.0+
|
82
|
-
* Mozilla Firefox 3.0+
|
83
|
-
* Opera 11.0+
|
84
|
-
* Microsoft Internet Explorer 6.0+
|
85
|
-
|
86
|
-
### Mobile browsers
|
87
|
-
The File Upload plugin has been tested with and supports the following mobile browsers:
|
88
|
-
|
89
|
-
* Apple Safari on iOS 6.0+
|
90
|
-
* Google Chrome on iOS 6.0+
|
91
|
-
* Google Chrome on Android 4.0+
|
92
|
-
* Default Browser on Android 2.3+
|
93
|
-
* Opera Mobile 12.0+
|
94
|
-
|
95
|
-
### Supported features
|
96
|
-
For a detailed overview of the features supported by each browser version, please have a look at the [Extended browser support information](https://github.com/blueimp/jQuery-File-Upload/wiki/Browser-support).
|
97
|
-
|
98
|
-
## Contributing
|
99
|
-
**Bug fixes** and **new features** can be proposed using [pull requests](https://github.com/blueimp/jQuery-File-Upload/pulls).
|
100
|
-
Please read the [contribution guidelines](https://github.com/blueimp/jQuery-File-Upload/blob/master/CONTRIBUTING.md) before submitting a pull request.
|
101
|
-
|
102
|
-
## Support
|
103
|
-
This project is actively maintained, but there is no official support channel.
|
104
|
-
If you have a question that another developer might help you with, please post to [Stack Overflow](http://stackoverflow.com/questions/tagged/blueimp+jquery+file-upload) and tag your question with `blueimp jquery file upload`.
|
105
|
-
|
106
|
-
## License
|
107
|
-
Released under the [MIT license](https://opensource.org/licenses/MIT).
|
@@ -1,211 +0,0 @@
|
|
1
|
-
<!DOCTYPE HTML>
|
2
|
-
<!--
|
3
|
-
/*
|
4
|
-
* jQuery File Upload Plugin AngularJS Demo
|
5
|
-
* https://github.com/blueimp/jQuery-File-Upload
|
6
|
-
*
|
7
|
-
* Copyright 2013, Sebastian Tschan
|
8
|
-
* https://blueimp.net
|
9
|
-
*
|
10
|
-
* Licensed under the MIT license:
|
11
|
-
* https://opensource.org/licenses/MIT
|
12
|
-
*/
|
13
|
-
-->
|
14
|
-
<html lang="en">
|
15
|
-
<head>
|
16
|
-
<!-- Force latest IE rendering engine or ChromeFrame if installed -->
|
17
|
-
<!--[if IE]>
|
18
|
-
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
19
|
-
<![endif]-->
|
20
|
-
<meta charset="utf-8">
|
21
|
-
<title>jQuery File Upload Demo - AngularJS version</title>
|
22
|
-
<meta name="description" content="File Upload widget with multiple file selection, drag&drop support, progress bars, validation and preview images, audio and video for AngularJS. Supports cross-domain, chunked and resumable file uploads and client-side image resizing. Works with any server-side platform (PHP, Python, Ruby on Rails, Java, Node.js, Go etc.) that supports standard HTML form file uploads.">
|
23
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
24
|
-
<!-- Bootstrap styles -->
|
25
|
-
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css">
|
26
|
-
<!-- Generic page styles -->
|
27
|
-
<link rel="stylesheet" href="css/style.css">
|
28
|
-
<!-- blueimp Gallery styles -->
|
29
|
-
<link rel="stylesheet" href="https://blueimp.github.io/Gallery/css/blueimp-gallery.min.css">
|
30
|
-
<!-- CSS to style the file input field as button and adjust the Bootstrap progress bars -->
|
31
|
-
<link rel="stylesheet" href="css/jquery.fileupload.css">
|
32
|
-
<link rel="stylesheet" href="css/jquery.fileupload-ui.css">
|
33
|
-
<!-- CSS adjustments for browsers with JavaScript disabled -->
|
34
|
-
<noscript><link rel="stylesheet" href="css/jquery.fileupload-noscript.css"></noscript>
|
35
|
-
<noscript><link rel="stylesheet" href="css/jquery.fileupload-ui-noscript.css"></noscript>
|
36
|
-
<style>
|
37
|
-
/* Hide Angular JS elements before initializing */
|
38
|
-
.ng-cloak {
|
39
|
-
display: none;
|
40
|
-
}
|
41
|
-
</style>
|
42
|
-
</head>
|
43
|
-
<body>
|
44
|
-
<div class="navbar navbar-default navbar-fixed-top">
|
45
|
-
<div class="container">
|
46
|
-
<div class="navbar-header">
|
47
|
-
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target=".navbar-fixed-top .navbar-collapse">
|
48
|
-
<span class="icon-bar"></span>
|
49
|
-
<span class="icon-bar"></span>
|
50
|
-
<span class="icon-bar"></span>
|
51
|
-
</button>
|
52
|
-
<a class="navbar-brand" href="https://github.com/blueimp/jQuery-File-Upload">jQuery File Upload</a>
|
53
|
-
</div>
|
54
|
-
<div class="navbar-collapse collapse">
|
55
|
-
<ul class="nav navbar-nav">
|
56
|
-
<li><a href="https://github.com/blueimp/jQuery-File-Upload/tags">Download</a></li>
|
57
|
-
<li><a href="https://github.com/blueimp/jQuery-File-Upload">Source Code</a></li>
|
58
|
-
<li><a href="https://github.com/blueimp/jQuery-File-Upload/wiki">Documentation</a></li>
|
59
|
-
<li><a href="https://blueimp.net">© Sebastian Tschan</a></li>
|
60
|
-
</ul>
|
61
|
-
</div>
|
62
|
-
</div>
|
63
|
-
</div>
|
64
|
-
<div class="container">
|
65
|
-
<h1>jQuery File Upload Demo</h1>
|
66
|
-
<h2 class="lead">AngularJS version</h2>
|
67
|
-
<ul class="nav nav-tabs">
|
68
|
-
<li><a href="basic.html">Basic</a></li>
|
69
|
-
<li><a href="basic-plus.html">Basic Plus</a></li>
|
70
|
-
<li><a href="index.html">Basic Plus UI</a></li>
|
71
|
-
<li class="active"><a href="angularjs.html">AngularJS</a></li>
|
72
|
-
<li><a href="jquery-ui.html">jQuery UI</a></li>
|
73
|
-
</ul>
|
74
|
-
<br>
|
75
|
-
<blockquote>
|
76
|
-
<p>File Upload widget with multiple file selection, drag&drop support, progress bars, validation and preview images, audio and video for AngularJS.<br>
|
77
|
-
Supports cross-domain, chunked and resumable file uploads and client-side image resizing.<br>
|
78
|
-
Works with any server-side platform (PHP, Python, Ruby on Rails, Java, Node.js, Go etc.) that supports standard HTML form file uploads.</p>
|
79
|
-
</blockquote>
|
80
|
-
<br>
|
81
|
-
<!-- The file upload form used as target for the file upload widget -->
|
82
|
-
<form id="fileupload" action="https://jquery-file-upload.appspot.com/" method="POST" enctype="multipart/form-data" data-ng-app="demo" data-ng-controller="DemoFileUploadController" data-file-upload="options" data-ng-class="{'fileupload-processing': processing() || loadingFiles}">
|
83
|
-
<!-- Redirect browsers with JavaScript disabled to the origin page -->
|
84
|
-
<noscript><input type="hidden" name="redirect" value="https://blueimp.github.io/jQuery-File-Upload/"></noscript>
|
85
|
-
<!-- The fileupload-buttonbar contains buttons to add/delete files and start/cancel the upload -->
|
86
|
-
<div class="row fileupload-buttonbar">
|
87
|
-
<div class="col-lg-7">
|
88
|
-
<!-- The fileinput-button span is used to style the file input field as button -->
|
89
|
-
<span class="btn btn-success fileinput-button" ng-class="{disabled: disabled}">
|
90
|
-
<i class="glyphicon glyphicon-plus"></i>
|
91
|
-
<span>Add files...</span>
|
92
|
-
<input type="file" name="files[]" multiple ng-disabled="disabled">
|
93
|
-
</span>
|
94
|
-
<button type="button" class="btn btn-primary start" data-ng-click="submit()">
|
95
|
-
<i class="glyphicon glyphicon-upload"></i>
|
96
|
-
<span>Start upload</span>
|
97
|
-
</button>
|
98
|
-
<button type="button" class="btn btn-warning cancel" data-ng-click="cancel()">
|
99
|
-
<i class="glyphicon glyphicon-ban-circle"></i>
|
100
|
-
<span>Cancel upload</span>
|
101
|
-
</button>
|
102
|
-
<!-- The global file processing state -->
|
103
|
-
<span class="fileupload-process"></span>
|
104
|
-
</div>
|
105
|
-
<!-- The global progress state -->
|
106
|
-
<div class="col-lg-5 fade" data-ng-class="{in: active()}">
|
107
|
-
<!-- The global progress bar -->
|
108
|
-
<div class="progress progress-striped active" data-file-upload-progress="progress()"><div class="progress-bar progress-bar-success" data-ng-style="{width: num + '%'}"></div></div>
|
109
|
-
<!-- The extended global progress state -->
|
110
|
-
<div class="progress-extended"> </div>
|
111
|
-
</div>
|
112
|
-
</div>
|
113
|
-
<!-- The table listing the files available for upload/download -->
|
114
|
-
<table class="table table-striped files ng-cloak">
|
115
|
-
<tr data-ng-repeat="file in queue" data-ng-class="{'processing': file.$processing()}">
|
116
|
-
<td data-ng-switch data-on="!!file.thumbnailUrl">
|
117
|
-
<div class="preview" data-ng-switch-when="true">
|
118
|
-
<a data-ng-href="{{file.url}}" title="{{file.name}}" download="{{file.name}}" data-gallery><img data-ng-src="{{file.thumbnailUrl}}" alt=""></a>
|
119
|
-
</div>
|
120
|
-
<div class="preview" data-ng-switch-default data-file-upload-preview="file"></div>
|
121
|
-
</td>
|
122
|
-
<td>
|
123
|
-
<p class="name" data-ng-switch data-on="!!file.url">
|
124
|
-
<span data-ng-switch-when="true" data-ng-switch data-on="!!file.thumbnailUrl">
|
125
|
-
<a data-ng-switch-when="true" data-ng-href="{{file.url}}" title="{{file.name}}" download="{{file.name}}" data-gallery>{{file.name}}</a>
|
126
|
-
<a data-ng-switch-default data-ng-href="{{file.url}}" title="{{file.name}}" download="{{file.name}}">{{file.name}}</a>
|
127
|
-
</span>
|
128
|
-
<span data-ng-switch-default>{{file.name}}</span>
|
129
|
-
</p>
|
130
|
-
<strong data-ng-show="file.error" class="error text-danger">{{file.error}}</strong>
|
131
|
-
</td>
|
132
|
-
<td>
|
133
|
-
<p class="size">{{file.size | formatFileSize}}</p>
|
134
|
-
<div class="progress progress-striped active fade" data-ng-class="{pending: 'in'}[file.$state()]" data-file-upload-progress="file.$progress()"><div class="progress-bar progress-bar-success" data-ng-style="{width: num + '%'}"></div></div>
|
135
|
-
</td>
|
136
|
-
<td>
|
137
|
-
<button type="button" class="btn btn-primary start" data-ng-click="file.$submit()" data-ng-hide="!file.$submit || options.autoUpload" data-ng-disabled="file.$state() == 'pending' || file.$state() == 'rejected'">
|
138
|
-
<i class="glyphicon glyphicon-upload"></i>
|
139
|
-
<span>Start</span>
|
140
|
-
</button>
|
141
|
-
<button type="button" class="btn btn-warning cancel" data-ng-click="file.$cancel()" data-ng-hide="!file.$cancel">
|
142
|
-
<i class="glyphicon glyphicon-ban-circle"></i>
|
143
|
-
<span>Cancel</span>
|
144
|
-
</button>
|
145
|
-
<button data-ng-controller="FileDestroyController" type="button" class="btn btn-danger destroy" data-ng-click="file.$destroy()" data-ng-hide="!file.$destroy">
|
146
|
-
<i class="glyphicon glyphicon-trash"></i>
|
147
|
-
<span>Delete</span>
|
148
|
-
</button>
|
149
|
-
</td>
|
150
|
-
</tr>
|
151
|
-
</table>
|
152
|
-
</form>
|
153
|
-
<br>
|
154
|
-
<div class="panel panel-default">
|
155
|
-
<div class="panel-heading">
|
156
|
-
<h3 class="panel-title">Demo Notes</h3>
|
157
|
-
</div>
|
158
|
-
<div class="panel-body">
|
159
|
-
<ul>
|
160
|
-
<li>The maximum file size for uploads in this demo is <strong>999 KB</strong> (default file size is unlimited).</li>
|
161
|
-
<li>Only image files (<strong>JPG, GIF, PNG</strong>) are allowed in this demo (by default there is no file type restriction).</li>
|
162
|
-
<li>Uploaded files will be deleted automatically after <strong>5 minutes or less</strong> (demo files are stored in memory).</li>
|
163
|
-
<li>You can <strong>drag & drop</strong> files from your desktop on this webpage (see <a href="https://github.com/blueimp/jQuery-File-Upload/wiki/Browser-support">Browser support</a>).</li>
|
164
|
-
<li>Please refer to the <a href="https://github.com/blueimp/jQuery-File-Upload">project website</a> and <a href="https://github.com/blueimp/jQuery-File-Upload/wiki">documentation</a> for more information.</li>
|
165
|
-
<li>Built with the <a href="http://getbootstrap.com/">Bootstrap</a> CSS framework and Icons from <a href="http://glyphicons.com/">Glyphicons</a>.</li>
|
166
|
-
</ul>
|
167
|
-
</div>
|
168
|
-
</div>
|
169
|
-
</div>
|
170
|
-
<!-- The blueimp Gallery widget -->
|
171
|
-
<div id="blueimp-gallery" class="blueimp-gallery blueimp-gallery-controls" data-filter=":even">
|
172
|
-
<div class="slides"></div>
|
173
|
-
<h3 class="title"></h3>
|
174
|
-
<a class="prev">‹</a>
|
175
|
-
<a class="next">›</a>
|
176
|
-
<a class="close">×</a>
|
177
|
-
<a class="play-pause"></a>
|
178
|
-
<ol class="indicator"></ol>
|
179
|
-
</div>
|
180
|
-
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
|
181
|
-
<script src="https://ajax.googleapis.com/ajax/libs/angularjs/1.3.15/angular.min.js"></script>
|
182
|
-
<!-- The jQuery UI widget factory, can be omitted if jQuery UI is already included -->
|
183
|
-
<script src="js/vendor/jquery.ui.widget.js"></script>
|
184
|
-
<!-- The Load Image plugin is included for the preview images and image resizing functionality -->
|
185
|
-
<script src="https://blueimp.github.io/JavaScript-Load-Image/js/load-image.all.min.js"></script>
|
186
|
-
<!-- The Canvas to Blob plugin is included for image resizing functionality -->
|
187
|
-
<script src="https://blueimp.github.io/JavaScript-Canvas-to-Blob/js/canvas-to-blob.min.js"></script>
|
188
|
-
<!-- Bootstrap JS is not required, but included for the responsive demo navigation -->
|
189
|
-
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script>
|
190
|
-
<!-- blueimp Gallery script -->
|
191
|
-
<script src="https://blueimp.github.io/Gallery/js/jquery.blueimp-gallery.min.js"></script>
|
192
|
-
<!-- The Iframe Transport is required for browsers without support for XHR file uploads -->
|
193
|
-
<script src="js/jquery.iframe-transport.js"></script>
|
194
|
-
<!-- The basic File Upload plugin -->
|
195
|
-
<script src="js/jquery.fileupload.js"></script>
|
196
|
-
<!-- The File Upload processing plugin -->
|
197
|
-
<script src="js/jquery.fileupload-process.js"></script>
|
198
|
-
<!-- The File Upload image preview & resize plugin -->
|
199
|
-
<script src="js/jquery.fileupload-image.js"></script>
|
200
|
-
<!-- The File Upload audio preview plugin -->
|
201
|
-
<script src="js/jquery.fileupload-audio.js"></script>
|
202
|
-
<!-- The File Upload video preview plugin -->
|
203
|
-
<script src="js/jquery.fileupload-video.js"></script>
|
204
|
-
<!-- The File Upload validation plugin -->
|
205
|
-
<script src="js/jquery.fileupload-validate.js"></script>
|
206
|
-
<!-- The File Upload Angular JS module -->
|
207
|
-
<script src="js/jquery.fileupload-angular.js"></script>
|
208
|
-
<!-- The main application script -->
|
209
|
-
<script src="js/app.js"></script>
|
210
|
-
</body>
|
211
|
-
</html>
|