Commit graph

73 commits

Author SHA1 Message Date
Artur Paikin
47a68a6148 Release 2018-10-31 19:30:39 +03:00
Artur Paikin
c5c3c7fed6
Merge pull request #1097 from transloadit/status-bar/add-spinner
Status Bar: add spinner, pause/resume as small round buttons, different color for encoding
2018-10-31 05:16:23 +03:00
Artur Paikin
92bee3fb8c
Merge pull request #1114 from transloadit/improvement/i18n-packs
Bring back locale packs
2018-10-29 20:13:25 +03:00
Artur Paikin
9ee57bb9bd
Merge branch 'master' into status-bar/add-spinner 2018-10-29 06:22:38 +03:00
Artur Paikin
d75facd331 switch to new circular pause/resume/cancel buttons 2018-10-25 20:51:04 +03:00
Artur Paikin
7a137de079
Merge pull request #1090 from transloadit/revoke-inside-thumbnail-generator
Move preview revocation to thumbnail-generator
2018-10-23 23:05:51 +03:00
Artur Paikin
537b2010f9 Remove unprefixed and unused fadeIn animation
fixes #1115
2018-10-21 11:30:41 -04:00
Artur Paikin
4efc27675c Allow locale inheritance: defaultLocale, this.uppy.locale, this.opts.locale
Mostly what @goto-bus-stop did in 4f51deaaf7 (diff-989af75a364b65c408abe1fc3e7ac0f4R34)

> This patch allows locale keys passed to the main Uppy instance to override default keys in plugins. It's just one idea to kick things off, I'm not attached to this particular implementation.
>
> If we do this we need to make sure that all keys have unique names and that things specific to eg. a single service are "namespaced" (`transloaditEncoding` instead of `encoding`).
>
> The benefit to this is that there is a central point of configuration for languages, so there could be language packs with strings for eg Czech at `@uppy/lang-cz` (or `@uppy/langs/cz`) that would be very easy to use.
2018-10-20 12:49:06 -04:00
Artur Paikin
f9349f249b
Merge pull request #1069 from transloadit/chore/document-events
[WIP] [@uppy/core] Document events, deprecate unused
2018-10-10 20:09:27 -04:00
Artur Paikin
a90d6865e5 Turn Pause/Resume into text buttons, add spinner for uploading and processing — different colors
Colors experimental
2018-10-10 19:39:00 -04:00
Renée Kooi
c916fa5505
Realign expected setState call count after 72a02f55bc 2018-10-08 12:37:29 +02:00
Renée Kooi
72a02f55bc
Move allowNewUpload reset to cancelAll() 2018-10-08 12:13:45 +02:00
Renée Kooi
363643f0dc
Allow new uploads again after reset() 2018-10-08 12:11:50 +02:00
Renée Kooi
d20c48036a
Add test for addFile() after upload() 2018-10-08 12:11:49 +02:00
Renée Kooi
60a8a2e08e
status-bar,dashboard: Hide upload/add button when no new files can be uploaded 2018-10-08 12:11:49 +02:00
Renée Kooi
4f10868425
core: Add allowMultipleUploads: false option. 2018-10-08 12:11:48 +02:00
Renée Kooi
62b1fe9a96
Move preview revocation to thumbnail-generator 2018-10-08 11:30:06 +02:00
Artur Paikin
113d6f09bb Release
- uppy@0.27.5
 - @uppy/aws-s3-multipart@0.27.4
 - @uppy/aws-s3@0.27.4
 - @uppy/core@0.27.3
 - @uppy/dashboard@0.27.5
 - @uppy/drag-drop@0.27.4
 - @uppy/dropbox@0.27.4
 - @uppy/file-input@0.27.4
 - @uppy/form@0.27.4
 - @uppy/golden-retriever@0.27.4
 - @uppy/google-drive@0.27.5
 - @uppy/informer@0.27.4
 - @uppy/instagram@0.27.5
 - @uppy/progress-bar@0.27.4
 - @uppy/provider-views@0.27.4
 - @uppy/react@0.27.5
 - @uppy/redux-dev-tools@0.27.4
 - @uppy/status-bar@0.27.4
 - @uppy/thumbnail-generator@0.27.4
 - @uppy/transloadit@0.27.5
 - @uppy/tus@0.27.5
 - @uppy/url@0.27.5
 - @uppy/webcam@0.27.4
 - @uppy/xhr-upload@0.27.4
2018-09-27 16:31:35 -04:00
Artur Paikin
04f3f723eb
Merge pull request #1058 from transloadit/chore/cancelAll-removeFile
Call `removeFile` on each file when doing `cancelAll`
2018-09-26 18:32:32 -04:00
Artur Paikin
aa39c4820c update cancelAll test to check for files and uploads 2018-09-26 18:24:02 -04:00
Artur Paikin
bfd4166b93 dirch _removeUpload calls 2018-09-26 17:35:41 -04:00
Artur Paikin
a075ee5a14 add check for resumableUploads before executing pauseResume, change id to name in getPlugin 2018-09-20 19:04:47 -04:00
Artur Paikin
7c19386114 Save actual plugin instance instead of plugin.id in this.parent 2018-09-19 19:21:42 -04:00
Artur Paikin
b9b53da4ec add onMount to Plugin from @uppy/core
Called when plugin is mounted, whether in DOM or into another plugin. Needed because sometimes plugins are mounted separately/after `install`, so this.el and this.parent might not be available in `install`. This is the case with @uppy/react plugins, for example.
2018-09-19 19:09:31 -04:00
Artur Paikin
4819ff33ce Release
- uppy@0.27.4
 - @uppy/aws-s3-multipart@0.27.3
 - @uppy/aws-s3@0.27.3
 - @uppy/companion@0.14.4
 - @uppy/core@0.27.2
 - @uppy/dashboard@0.27.4
 - @uppy/drag-drop@0.27.3
 - @uppy/dropbox@0.27.3
 - @uppy/file-input@0.27.3
 - @uppy/form@0.27.3
 - @uppy/golden-retriever@0.27.3
 - @uppy/google-drive@0.27.4
 - @uppy/informer@0.27.3
 - @uppy/instagram@0.27.4
 - @uppy/progress-bar@0.27.3
 - @uppy/provider-views@0.27.3
 - @uppy/react@0.27.4
 - @uppy/redux-dev-tools@0.27.3
 - @uppy/status-bar@0.27.3
 - @uppy/thumbnail-generator@0.27.3
 - @uppy/transloadit@0.27.4
 - @uppy/tus@0.27.4
 - @uppy/url@0.27.4
 - @uppy/webcam@0.27.3
 - @uppy/xhr-upload@0.27.3
2018-09-18 19:46:24 -04:00
Artur Paikin
6463f9e1a4 call removeFile on each file when doing cancelAll 2018-09-14 16:27:41 -04:00
Artur Paikin
8df497fff5 store offset sizes in variables 2018-09-10 11:59:49 -04:00
Artur Paikin
7dcf843231 improve wording: “closing body tag” 2018-09-06 09:47:10 -04:00
Artur Paikin
d92809ab6b Note that the <script> tag should come at the bottom of the page
See https://github.com/transloadit/uppy/issues/1042
2018-09-05 15:05:20 -04:00
Renée Kooi
b343d8ed9e
Release
- uppy@0.27.3
 - @uppy/aws-s3-multipart@0.27.2
 - @uppy/aws-s3@0.27.2
 - @uppy/companion-client@0.27.2
 - @uppy/companion@0.14.3
 - @uppy/core@0.27.1
 - @uppy/dashboard@0.27.3
 - @uppy/drag-drop@0.27.2
 - @uppy/dropbox@0.27.2
 - @uppy/file-input@0.27.2
 - @uppy/form@0.27.2
 - @uppy/golden-retriever@0.27.2
 - @uppy/google-drive@0.27.3
 - @uppy/informer@0.27.2
 - @uppy/instagram@0.27.3
 - @uppy/progress-bar@0.27.2
 - @uppy/provider-views@0.27.2
 - @uppy/react@0.27.3
 - @uppy/redux-dev-tools@0.27.2
 - @uppy/status-bar@0.27.2
 - @uppy/thumbnail-generator@0.27.2
 - @uppy/transloadit@0.27.3
 - @uppy/tus@0.27.3
 - @uppy/url@0.27.3
 - @uppy/utils@0.27.1
 - @uppy/webcam@0.27.2
 - @uppy/xhr-upload@0.27.2
2018-09-03 16:00:24 +02:00
Kevin van Zonneveld
67af833fdb
More uppy server -> companion renames (#1037)
* Some uppy server -> companion renames

* Fix typos

* Implement most of @goto-bus-stop's feedback

* Nuke Create React App readme

* An Companion -> A Companion

* Companion server -> instance
2018-09-03 14:48:03 +02:00
Renée Kooi
055bd611d9
Merge pull request #971 from DJWassink/master
Fixed a few issues with uppy/core types
2018-08-23 13:35:49 +02:00
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
Artur Paikin
400329e632 Release
- uppy@0.27.0
 - @uppy/aws-s3-multipart@0.27.0
 - @uppy/aws-s3@0.27.0
 - @uppy/companion-client@0.27.0
 - @uppy/companion@0.14.0
 - @uppy/core@0.27.0
 - @uppy/dashboard@0.27.0
 - @uppy/drag-drop@0.27.0
 - @uppy/dropbox@0.27.0
 - @uppy/file-input@0.27.0
 - @uppy/form@0.27.0
 - @uppy/golden-retriever@0.27.0
 - @uppy/google-drive@0.27.0
 - @uppy/informer@0.27.0
 - @uppy/instagram@0.27.0
 - @uppy/progress-bar@0.27.0
 - @uppy/provider-views@0.27.0
 - @uppy/react@0.27.0
 - @uppy/redux-dev-tools@0.27.0
 - @uppy/status-bar@0.27.0
 - @uppy/store-default@0.27.0
 - @uppy/store-redux@0.27.0
 - @uppy/thumbnail-generator@0.27.0
 - @uppy/transloadit@0.27.0
 - @uppy/tus@0.27.0
 - @uppy/url@0.27.0
 - @uppy/utils@0.27.0
 - @uppy/webcam@0.27.0
 - @uppy/xhr-upload@0.27.0
2018-08-11 22:29:46 +01:00
Artur Paikin
b1beef974f
Merge pull request #960 from transloadit/fix/window-react-native
Fix @uppy/core window !== undefined check for React Native
2018-08-08 18:35:44 -04:00
Artur Paikin
3947f047f4 check for both window and addEventListener
allows Uppy to work in React Native
2018-08-08 17:58:24 -04:00
Artur Paikin
c3a1be2c62
Merge branch 'master' into feature/dashboard-ui-notabs 2018-07-27 22:50:35 -04:00
Artur Paikin
5662a3448e .uppy-Dashboard--wide --> .uppy-size--md, .uppy-size--lg 2018-07-27 22:24:11 -04:00
Artur Paikin
3a58827f54 colors, sizes 2018-07-26 14:45:48 -04:00
Artur Paikin
f128b45867 fix the Url styling 2018-07-25 17:49:16 -04:00
Artur Paikin
32ec76c7f0 change $screen-medium to accomodate for the close X button 2018-07-25 17:34:32 -04:00
Artur Paikin
6392014d3a remove all: initial
it’s been causing problems with repeated css rules that we have when using styles from multiple plugins since Lerna
2018-07-25 17:34:05 -04:00
Artur Paikin
0b609c378f remove unused styles, add moz font smoothing 2018-07-24 20:11:10 -04: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
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
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