Commit graph

4881 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
fee5e05917 add autoProceed: true to tests 2018-07-19 23:35:42 -04: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
9228c7a247 update uppy docs with autoProceed: false 2018-07-19 23:07:32 -04:00
Artur Paikin
04800c9a1a Publish 0.26 post 2018-07-19 13:13:54 -04:00
Artur Paikin
796dd3eaf5
Merge pull request #969 from transloadit/doc/dashboard-locale
website: Mention Status Bar strings in Dashboard documentation.
2018-07-19 11:26:10 -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
74835fc11d
changelog: add recent changes 2018-07-19 14:34:16 +02:00
Renée Kooi
71f6311aac
changelog: syntax fix 2018-07-19 14:31:26 +02:00
Renée Kooi
c4e3a5fcdc
website: Mention Status Bar strings in Dashboard documentation. 2018-07-19 14:15:00 +02: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
Renée Kooi
044250d706
Merge pull request #962 from transloadit/website-sizes
Update stats page with bundle sizes for each package.
2018-07-19 14:07:33 +02:00
Renée Kooi
f5824fb390
website: use html + add thumbnail-generator to bundle sizes 2018-07-19 14:04:23 +02:00
Maciek Pekala
1102ebd43c
Catch and handle errors in prepareUploadPart 2018-07-19 13:32:58 +02:00
Renée Kooi
71d1f4dd4e
Merge pull request #967 from pekala/abort-chunk-requests-when-aborting-upload
Abort all chunk requests when aborting the S3 multipart upload
2018-07-19 13:08:49 +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
Artur Paikin
a9a16c053d
Merge pull request #963 from transloadit/website-examples
Use src/ files in website examples.
2018-07-18 19:56:47 -04:00
Renée Kooi
fedfb98fa7 Split integration tests and add one using create-react-app (#952)
* Split up integration tests.

* Remove unused bits from xhr-limit integration test.

* Use a shared base config for local and remote webdriver tests.

* Remove npmignores

These are no longer needed because we publish from packages/* and not
the root.

* Keep xhr-limit disabled because it still does not work

* Extract integration test helper functions to utils.js.

* Stash React integration test stub

* Fix build steps for CRA integration test.

* Add Webpack CSS test and CRA mount/unmount test

* Add DashboardModal integration tests.

* Add suites to wdio so we can run single tests.

* Fix create-react-app CI build.
2018-07-18 11:24:55 +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
e0a5aa0ee9 Enable netlify (#951)
Sticking settings in netlify.toml so that they can be changed by all
collaborators, not just me (unfortunately Netlify team accounts cost $$$)
2018-07-17 10:13:53 +02:00
Artur Paikin
65409a11ba
Merge pull request #959 from transloadit/chore-docs-readme
Readme edits and docs improvements
2018-07-16 16:39:26 -04:00
Artur Paikin
9c50b0af56 @uppy/xhr-upload and fix link 2018-07-16 16:39:12 -04:00
Artur Paikin
748ef7ac60
Merge pull request #965 from transloadit/feature/object-rest-spread
Add object rest spread transform
2018-07-16 13:03:14 -04:00
Artur Paikin
9306f6d852 Merge branch 'chroe/autoProceed-false-default' of https://github.com/transloadit/uppy into chroe/autoProceed-false-default 2018-07-16 10:36:32 -04: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
1c27adb858
Fix updating _config.yml if it does not yet exist. 2018-07-16 13:00:28 +02:00
Renée Kooi
040ff822d5
Use src/ files in website examples.
Uses a custom Browserify plugin that turns resolved
`@uppy/xyz/lib/index.js` paths into `@uppy/xyz/src/index.js`. We can
move that plugin to a different file and use it in other places later.
It's a bit of a hack but this is easier than maintaining an aliasify
config for every package, I think.

(Also took this opportunity to ES6ify the examples build script using
`const` / arrows / Set.)
2018-07-16 12:23:11 +02:00
Renée Kooi
243fffde1f
Add header ID for bundle sizes. 2018-07-16 11:26:36 +02:00
Renée Kooi
aa14ac4ba8
Style the table with classes. 2018-07-16 11:24:12 +02:00
Renée Kooi
08ef184c22
add size disclaimer 2018-07-16 11:13:22 +02:00
Renée Kooi
bcb20ac062
Move bundle sizes to a table 2018-07-16 11:13:22 +02:00
Renée Kooi
29a7225e3a
Update stats page with bundle sizes for each package. 2018-07-16 11:13:22 +02:00
Renée Kooi
22612dcdd1
core: Fix allowedFileTypes type 2018-07-16 10:49:29 +02:00
Artur Paikin
13902c0eba remove more autoProceed: false from examples 2018-07-15 23:58:22 -04:00
Artur Paikin
38e324cdb2 add hideRetryButton and hidePauseResumeCancelButtons to status-bar docs 2018-07-15 23:52:57 -04: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
Artur Paikin
69171a8a2c remove api.md 2018-07-15 23:13:38 -04:00
Artur Paikin
ba67f1f2a1 turn Try it live link into a button 2018-07-15 23:02:08 -04:00
Artur Paikin
ec5e2fed3a add Polyfills 2018-07-15 23:01:49 -04:00
Artur Paikin
cc7edeff9e Update examples and link plugins to documentation pages 2018-07-15 22:42:02 -04:00
Artur Paikin
944cbdf382
Merge pull request #907 from NowServingUs/font_family
Font family
2018-07-15 21:42:40 -04:00
todd
1f8e52106e Merge branch 'master' of https://github.com/transloadit/uppy into font_family 2018-07-16 10:34:36 +09:00
todd
5e5ee376c0 update to not use inherit but added !default 2018-07-16 10:33:48 +09:00
Artur Paikin
4955320310
Merge pull request #957 from transloadit/doc/php-highlight
doc: Fix highlighting of PHP snippets
2018-07-15 18:21:50 -04:00