Commit graph

94 commits

Author SHA1 Message Date
Dirk-Jan Wassink
00db753dbd Reverted changes for AddFileOptions 2018-08-21 08:58:39 +02:00
Dirk-Jan Wassink
9b0735d2c6 Fixed locale types thanks to feedback 2018-08-20 15:13:34 +02:00
Dirk-Jan Wassink
518f815f75 Added generic to file getters for the meta object 2018-07-23 09:59:35 +02:00
Dirk-Jan Wassink
6ad8d0384a Typed a part of the internal uppy state 2018-07-20 16:37:56 +02:00
Dirk-Jan Wassink
1319731e28 Fixed a few issues with uppy/core types, Fixes #954 2018-07-20 14:10:17 +02:00
Artur Paikin
ba6fb78fe4
Merge pull request #961 from transloadit/chroe/autoProceed-false-default
[WIP] core: `autoProceed: false` by default
2018-07-19 23:14:11 -04:00
Artur Paikin
95f98140fe
Merge pull request #968 from transloadit/fix/set-plugin-state
Fix `setPluginState`
2018-07-19 10:46:12 -04:00
Renée Kooi
3d81557229
Merge pull request #966 from pekala/prevent-uncaught-exception-on-chunk-error
Catch and handle errors in prepareUploadPart of S3 multipart upload
2018-07-19 14:07:49 +02:00
Maciek Pekala
1102ebd43c
Catch and handle errors in prepareUploadPart 2018-07-19 13:32:58 +02:00
Renée Kooi
013eed33f9
Fix setPluginState
I broke this in the object rest spread PR. I noticed the Dashboard was
throwing errors when trying to access `pluginState.target.filter()`.
Added a bunch of tests + fixed that method!
2018-07-19 13:02:23 +02:00
Maciek Pekala
ce60103fea
Abort all chunk requests when aborting the multipart upload 2018-07-17 23:35:40 +02:00
Renée Kooi
68b4529ec7
Add object rest spread transform
Object rest spread was standardised this year so it's safe to use. It
has shipped in major browsers and Node. Because Uppy uses immutable
state we can make a lot of gains in terseness and readability by using
the new object syntaxes, I think.

I updated one place where we were using Object.assign; I think we can
merge it like this first and then update the other places when we are
changing stuff there anyway.
2018-07-16 14:28:55 +02:00
Renée Kooi
22612dcdd1
core: Fix allowedFileTypes type 2018-07-16 10:49:29 +02:00
Artur Paikin
06b8c5f766 fix types
@goto-bus-stop am i doing the right thing here?
2018-07-15 23:38:36 -04:00
Artur Paikin
fd5294c40a update docs, examples and tests to not set autoProceed: false, since that’s the default now 2018-07-15 23:35:44 -04:00
Artur Paikin
bbf6c0893f Set autoProceed: false by default 2018-07-15 23:35:14 -04:00
todd
1f8e52106e Merge branch 'master' of https://github.com/transloadit/uppy into font_family 2018-07-16 10:34:36 +09:00
Ifedapo .A. Olarewaju
c4f7d33c69
Merge pull request #937 from transloadit/broader-server-pattern
refactor: allow Array, RegExp, and String for serverPattern
2018-07-14 09:30:28 +01:00
Ifedapo Olarewaju
c6ba46d6e2 refactor: use plugin id in error message 2018-07-14 09:17:05 +01:00
Artur Paikin
68f4f6b720
Merge pull request #950 from leods92/fix_s3_on_ie11
Fix S3 plugin for browsers without support to responseURL
2018-07-10 20:26:59 -04:00
Leonardo Schlossmacher
65bb56e1e5 Fix S3 plugin for browsers without support to responseURL 2018-07-07 18:42:43 +02:00
Ifedapo Olarewaju
40f4e2dc5e fix: fix wrong 'no files available' msg flash
Fixes #908
2018-07-01 13:20:09 +01:00
Ifedapo Olarewaju
ef95ef2441 refactor: allow Array, RegExp, and String for serverPattern 2018-07-01 12:43:40 +01:00
Ifedapo .A. Olarewaju
561e290926
Merge pull request #925 from transloadit/customheaders-uppyserver
feature: add support for custom headers sent to uppy-server
2018-06-30 12:16:17 +01:00
Ifedapo Olarewaju
c8132ba546 feature: add support for custom headers sent to uppy-server 2018-06-30 11:34:58 +01:00
Renée Kooi
f9a9762dfa
Release
- uppy@0.26.0
 - @uppy/aws-s3-multipart@0.26.0
 - @uppy/aws-s3@0.26.0
 - @uppy/core@0.26.0
 - @uppy/dashboard@0.26.0
 - @uppy/drag-drop@0.26.0
 - @uppy/dropbox@0.26.0
 - @uppy/file-input@0.26.0
 - @uppy/form@0.26.0
 - @uppy/golden-retriever@0.26.0
 - @uppy/google-drive@0.26.0
 - @uppy/informer@0.26.0
 - @uppy/instagram@0.26.0
 - @uppy/progress-bar@0.26.0
 - @uppy/provider-views@0.26.0
 - @uppy/react@0.26.0
 - @uppy/redux-dev-tools@0.26.0
 - @uppy/server-utils@0.26.0
 - @uppy/status-bar@0.26.0
 - @uppy/store-default@0.26.0
 - @uppy/store-redux@0.26.0
 - @uppy/thumbnail-generator@0.26.0
 - @uppy/transloadit@0.26.0
 - @uppy/tus@0.26.0
 - @uppy/url@0.26.0
 - @uppy/utils@0.26.0
 - @uppy/webcam@0.26.0
 - @uppy/xhr-upload@0.26.0
2018-06-28 17:12:13 +02:00
Renée Kooi
3fa82562ad
Update peerDependencies to @uppy/core@^0.26.0. 2018-06-28 17:09:31 +02:00
Renée Kooi
f31adbb1be
transloadit: Add tests for types. 2018-06-28 16:30:25 +02:00
Renée Kooi
294f53eba1
webcam: Fix 'picture' mode typo. 2018-06-28 16:30:25 +02:00
Renée Kooi
9891e974bf
Add type tests for the Dashboard. 2018-06-28 16:30:25 +02:00
Renée Kooi
75898555c3
Fix typings for @uppy/aws-s3-multipart. 2018-06-28 16:30:24 +02:00
Renée Kooi
36e5a82393
Use a single typescript config for all types tests. 2018-06-28 16:30:24 +02:00
Renée Kooi
73202c2108
Add uppy.use() overloads to plugin typings. 2018-06-28 16:30:13 +02:00
Renée Kooi
7a639e1610
Use the UppyFile type where relevant. 2018-06-28 16:30:13 +02:00
Renée Kooi
1588b9d8bf
Add types tests for @uppy/core. 2018-06-28 16:30:10 +02:00
Artur Paikin
4684a3e1f3
Merge pull request #924 from transloadit/export-plugin
Export Plugin class from @uppy/core.
2018-06-28 09:43:43 -04:00
Renée Kooi
5d9abc518c
Fix version numbers 2018-06-28 15:41:15 +02:00
Renée Kooi
632c95a094
Remove unused runPromiseSequence util. 2018-06-28 14:15:17 +02:00
Renée Kooi
07eb4fc0b9
Move truncateString util into @uppy/dashboard. 2018-06-28 14:00:17 +02:00
Renée Kooi
a59efea878
Remove unused getArrayBuffer util. 2018-06-28 13:58:03 +02:00
Renée Kooi
e875df7996
Move copyToClipboard util into @uppy/dashboard. 2018-06-28 13:56:40 +02:00
Renée Kooi
72689d01ac
Export Plugin class from @uppy/core. 2018-06-28 12:20:21 +02:00
Artur Paikin
ade214e5aa change focus to solid line for all elements 2018-06-27 18:48:01 -04:00
Artur Paikin
919c2d5510 improve on tabs overflow 2018-06-27 18:47:33 -04:00
Artur Paikin
b974244c7f fix Dashboards tabs overflow by adding scroll; improve scroll
added 'momentum' style scrolling behavior, see https://github.com/yunusga/postcss-momentum-scrolling
2018-06-27 18:23:35 -04:00
Renée Kooi
e83509b689
Remove whatwg-fetch polyfill. 2018-06-25 16:25:59 +02:00
Renée Kooi
2bf3a76c6a
Use lerna bootstrap --hoist.
This installs dependencies of individual packages to the root folder
when possible. This way we don't install 10 copies of preact during
development.
2018-06-25 16:23:56 +02:00
Renée Kooi
336711df26
Fix import in @uppy/informer readme example. 2018-06-25 15:06:37 +02:00
Artur Paikin
356585f4af update to status-bar and xhr-upload in: tests, website, dependencies, examples 2018-06-21 16:20:55 -04:00
Artur Paikin
04bde4fac8 @uppy/xhrupload --> @uppy/xhr-upload 2018-06-21 16:05:12 -04:00