Commit graph

769 commits

Author SHA1 Message Date
Jonathan Derrough
4633abc143 Fixed getFileType() when passed a file with an upper case extension
Updated the unit tests
2018-11-23 15:13:08 +01:00
Renée Kooi
2dff153522
Rename transloadit.modal → transloadit.pick 2018-11-22 14:17:05 +01:00
Artur Paikin
cd8fae0ac9 Don’t bundle Core styles with everything, because of CSS conflicts
To use Dashboard, you now have to include the following css:
```js
import '@uppy/core/dist/style.css'
import '@uppy/dashboard/dist/style.css'
```
2018-11-22 13:59:02 +03:00
Ifedapo Olarewaju
e7bb8f0c74 companion: pin grant to known stable version 2018-11-21 02:31:12 +01:00
Artur Paikin
be8a65a3c1
Merge pull request #1153 from transloadit/fix/progress-size
Use file sizes for progress calculations, closes #1132
2018-11-19 18:13:01 +03:00
Artur Paikin
c387f66110
Merge pull request #1157 from msand/patch-1
Fix handling of grant state
2018-11-17 16:33:52 +03:00
Artur Paikin
4714bcb9b7 hide “pleasePressRetry” message, cause it’s too long for mobile 2018-11-16 17:17:08 +03:00
Artur Paikin
c841e242a2 don’t set responseType if it’s empty string, because ie10 was failing with empty string
//cc @goto-bus-stop

IE10 was failing after https://github.com/transloadit/uppy/pull/1150
2018-11-16 17:08:25 +03:00
Artur Paikin
68730f8a1b Fix a bug where Webcam video was overflowing its container 2018-11-16 01:52:11 +03:00
Artur Paikin
677bedf600
Merge pull request #1148 from transloadit/fix/removed-files
Don't pass removed file IDs to next upload step, fixes #1003
2018-11-15 18:13:57 +03:00
Renée Kooi
59bfbce94a
form: Disable form submit buttons while upload is in progress with triggerUploadOnSubmit 2018-11-15 13:19:16 +01:00
Renée Kooi
4fb7226ede
Take files from preexisting file input 2018-11-15 13:19:16 +01:00
Renée Kooi
615581501f
fix join() error 2018-11-15 13:19:16 +01:00
Renée Kooi
0738a649f7
Set triggerUploadOnSubmit 2018-11-15 13:19:15 +01:00
Renée Kooi
c51652bf6b
transloadit: Add AttachFileInputs plugin 2018-11-15 13:19:15 +01:00
Renée Kooi
b27b0ada44
Make transloadit.upload() work 2018-11-15 13:19:15 +01:00
Renée Kooi
6f6a660d6e
Remove u global. 2018-11-15 13:19:15 +01:00
Renée Kooi
9615beb315
tl-preset: Add flat results array to upload result. 2018-11-15 13:19:15 +01:00
Renée Kooi
1c443d3778
preset: Default to the Transloadit-hosted Companion instances. 2018-11-15 13:19:15 +01:00
Renée Kooi
385542d1ee
transloadit.modal 2018-11-15 13:19:15 +01:00
Renée Kooi
9564f39895
wip 2018-11-15 13:19:14 +01:00
Renée Kooi
39bfa4fe77
wip 2018-11-15 13:19:14 +01:00
Mikael Sand
2a03ef306e
Fix linting 2018-11-15 06:10:51 +02:00
Mikael Sand
3c2ddd32fa
Fix handling of grant state
E.g. dropbox wasn't working because state was stored under the dynamic property.
2018-11-14 02:48:38 +02:00
Renée Kooi
714a2373e8
Merge pull request #1129 from craigcbrunner/master
react: Allow Dashboard props width and height to accept a string for 100%
2018-11-12 15:34:08 +01:00
Renée Kooi
79ccb9af70
Move withCredentials back after open() and add IE10 comment 2018-11-12 14:37:13 +01:00
Renée Kooi
613fa8957b
xhr-upload: default responseType to browser default (empty string) 2018-11-12 13:15:09 +01:00
Matthias Bohlen
c8cb89bde0 Convert to "export =" everywhere because...
...the *.js source files use "module.exports = " instead of
"export default".
2018-11-12 12:05:54 +01:00
Renée Kooi
ff5422a417
Use createCipheriv instead of deprecated createCipher. 2018-11-12 11:59:43 +01:00
Renée Kooi
71d8064982
aws-s3: Avoid using responseXML. 2018-11-12 11:30:32 +01:00
Renée Kooi
e7b39e4ef1
aws-s3: Explicitly set responseType: text, fixes #518 2018-11-12 11:24:27 +01:00
Renée Kooi
b169c3cf91
xhr-upload: Add responseType option. 2018-11-12 11:06:36 +01:00
Renée Kooi
c1594eb0f9
react: Allow Dashboard height to accept a string with unit 2018-11-12 10:54:03 +01:00
Renée Kooi
12f64cd136
revert unrelated changes 2018-11-12 10:46:13 +01:00
Renée Kooi
372623867a
Revert unrelated change with hard to predict consequences 2018-11-12 10:39:00 +01:00
Tran Van Sang
40d1310eac
Update uppy.js
Make companion be able to handle multiple server in different paths.
2018-11-09 11:51:47 +09:00
Tran Van Sang
65c127cf7c
Fix: socket does not handle server.path option 2018-11-09 11:40:57 +09:00
Renée Kooi
94a5a3b820
Don't pass removed file IDs to next upload step.
`uppy.removeFile()` already removes the fileID from the
`currentUploads[*].fileIDs` list, so all we need to do is to pass the
updated array instead of the original!

More importantly this adds a test.
2018-11-08 16:42:49 +01:00
Artur Paikin
409b11b7b6 Set response in Core rather than in upload plugins 2018-11-06 16:23:04 +03:00
Renée Kooi
2f3ae8566c
fix tests and totalProgress assignments 2018-11-05 14:12:43 +01:00
Renée Kooi
def187e76b
Use file sizes for progress calculations, closes #1132 2018-11-05 13:47:36 +01:00
Renée Kooi
95883eafe4
status-bar: Do bytes and ETA formatting as late as possible 2018-11-05 13:47:10 +01:00
Matthias Bohlen
b92d6716e5 Merge remote-tracking branch 'upstream/master' 2018-11-04 18:34:31 +01:00
Matthias Bohlen
006f86cffc Removed one non-existing option, added one that was missing. 2018-11-04 18:21:14 +01:00
Matthias Bohlen
fde32fff48 Replace Typescript "export default" by "export =" ...
...because the *real* Javascript code has
    module.exports = <the exported thing>;
instead of
    module.exports.default = <the exported thing>;
2018-11-04 18:19:39 +01:00
Matthias Bohlen
421441824a Add Typescript types for Uppy's React components. 2018-11-04 18:15:29 +01:00
Artur Paikin
5112ecf1f4 better center pause/resume/cancel icons
noticed misalignment in Firefox
2018-11-03 12:39:06 +03:00
craigcbrunner@gmail.com
fbf2b33c24 Allowing width on dashboard to accept a string for 100% 2018-11-02 20:44:05 -07:00
Artur Paikin
47a68a6148 Release 2018-10-31 19:30:39 +03:00
Artur Paikin
09b6ca0c92 update plugin peerDependencies to "@uppy/core": "^0.28.0" before release 2018-10-31 15:47:27 +03:00