Commit graph

23 commits

Author SHA1 Message Date
Renée Kooi
d378266ef4
tus: Add useFastRemoteRetry option. 2018-05-03 14:04:34 +02:00
Renée Kooi
8226859149
Retain uppy-server error messages, fixes #707
Move the error objects from Uppy Server to a `.cause` property on the
Error instances we emit in `upload-error`. The Error instances now
correctly use the message from the error object reported by Uppy Server.
2018-04-16 12:57:51 +02:00
Artur Paikin
e80b9a75e3
Merge branch 'master' into chore/fileID-to-file 2018-02-25 21:48:59 -05:00
Artur Paikin
09a06e06a3 Attempt to make most events signature be uppy.on('event', file, data) 2018-02-20 18:22:09 -05:00
Renée Kooi
4db25a3e74
tus: Configure uploadUrl for uppy-server uploads 2018-02-19 15:21:37 +01:00
Renée Kooi
a3845214d7
Emit full file objects in most places, fixes #465 2018-02-12 13:37:59 +01:00
Renée Kooi
3a5463cac9
core: Allow plugins to add data to result object
Plugins can resolve a Promise returned from an uploader hook with an
object, and it will be merged into the `{ successful, failed }` result.

This patch also updates the Transloadit plugin to add a `transloadit`
key to the result object, containing an array of completed assemblies.
2018-01-21 18:08:41 +01:00
Artur Paikin
25b0618c45 If resume: false in options, don’t store upload url 2018-01-08 12:51:58 -05:00
Artur Paikin
ba536fe229 Resolve/reject after this.connectToServerSocket(file), refactor excess if/else confitions 2018-01-05 16:47:58 -05:00
Artur Paikin
0f20a4c44a remote upload success/failure should reject/resolve promise too 2017-12-28 17:27:44 -05:00
Artur Paikin
26b049c674 uppy.emit 2017-12-13 00:10:57 -05:00
Artur Paikin
52175e57fe
Merge pull request #448 from transloadit/remote-error-handling
fix: handle remote upload error events #446
2017-12-13 00:10:08 -05:00
Ifedapo Olarewaju
4e11e43755 fix: handle remote upload error events #446 2017-12-11 01:06:18 +01:00
Artur Paikin
ed9aa1a537 🚨this.core to this.uppy everywhere
danger again
2017-12-08 17:34:33 -05:00
Artur Paikin
6f510f4679
Merge branch 'master' into chore/refactors 2017-12-07 17:03:55 -05:00
Artur Paikin
526b506e31 🚨🚨🚨 Remove core: prefix from all events 🚨🚨🚨
Danger! Danger!

`core:upload-progress` becomes `upload-progress` and so on.

Oh my, here goes.
2017-12-07 16:57:24 -05:00
Artur Paikin
209e0e8f38 remove console.log 2017-12-04 10:46:36 -05:00
Renée Kooi
b9dfbdbf39
tus: Only emit upload-started if upload was not restored. 2017-12-04 11:51:14 +01:00
Renée Kooi
d21e5941fb
tus: Start paused when restoring a paused upload. 2017-12-04 11:47:35 +01:00
Artur Paikin
92e1058a45 don’t mutate state in Tus.uploadRemote() 2017-11-28 21:27:26 -05:00
Artur Paikin
1bd1e410d9 move plugins/Plugin.js to core/Plugin.js
to better separate concerns and later split into packages
2017-11-27 22:03:38 -05:00
Renée Kooi
4682f59fc6
xhrupload,tus,transloadit: Ignore errored files. 2017-11-10 16:55:57 +01:00
Renée Kooi
f76d582901
Rename Tus10 to Tus. 2017-10-23 11:49:25 +02:00
Renamed from Tus.js (Browse further)