Commit graph

309 commits

Author SHA1 Message Date
Renée Kooi
c2b0488885
Minify with recent uglify-js and create prod source map. 2017-09-28 15:50:23 +02:00
Renée Kooi
dd383c79bf
build: Add common-shakeify and browser-pack-flat for dist files. 2017-09-28 15:42:30 +02:00
Renée Kooi
4d93e0ac85
tus,xhrupload: Replace promise-settle with own version 2017-09-25 12:29:42 +02:00
Renée Kooi
5c30557ffc
Update eslint 2017-09-22 23:09:32 +02:00
Renée Kooi
9af6b2fea6 Merge pull request #170 from goto-bus-stop/feature/react
High-level React Components
2017-09-22 16:36:58 +02:00
Artur Paikin
fb89c4b9c4 Release 0.19.1 2017-09-20 18:29:28 -04:00
Artur Paikin
6ab486ea0e we need tape for acceptance tests for now 2017-09-20 17:11:11 -04:00
Renée Kooi
c465155186
react: Use prop-types package. 2017-09-18 14:40:30 +02:00
René Kooi
f962fb4c14
uppy-react: Add initial React Dashboard component. 2017-09-18 14:37:41 +02:00
Artur Paikin
7838f19a32 Release 0.19.0 2017-09-16 00:08:25 -04:00
Artur Paikin
a4668d4f96 Merge remote-tracking branch 'origin/master'
# Conflicts:
#	src/core/Core.js
#	src/plugins/Dashboard/index.js
2017-09-15 23:56:18 -04:00
Artur Paikin
9e81166e11 remove tap-spec, update package-lock 2017-09-15 23:51:02 -04:00
Renée Kooi
dadfa9c0ce Merge pull request #334 from goto-bus-stop/chore/update-tus
deps: Update tus-js-client
2017-09-11 15:49:51 +02:00
Renée Kooi
51fb7f5c49
deps: Update tus-js-client
`tus-js-client` v1.4.4 and up will resume an upload when you reuse the
`tus.Upload` instance, where previously it wouldn't.
2017-09-11 14:21:00 +02:00
Renée Kooi
76e1d0e600
website: Use minified bundle for disc 2017-09-11 11:02:19 +02:00
Renée Kooi
383aa85025 Merge pull request #323 from goto-bus-stop/rm-upload-complete
core: Remove `core:upload-complete` event.
2017-09-11 09:59:30 +02:00
Artur Paikin
5d30474c43 Merge pull request #310 from richardwillars/jest-tests
Jest tests
2017-09-09 19:14:18 -04:00
Renée Kooi
d4e5daa630
xhrupload,tus: Use promise-settle 2017-09-09 14:08:41 +02:00
Rich Willars
540c02b6b0 Add jest tests
Adds tests for src/core/Utils

Ports translator tests to jest

Adds tests for core/index

Added code coverage report

Adds tests for core/UppySocket

Adds tests to src/core and cleanup of test directory

Switched from import to require as the project supports node v4

Runs tests using Babel for backwards compatibilty

Adds src/core state tests

Adds src/core reset & close tests

Updates stagnant snapshot

Adds tests for preprocessors and postprocessors in src/core/Core.js

Adds tests for uploaders and metadata in src/core/Core

Adds tests for adding and removing files in src/core/Core

Adds test for getFile
2017-09-08 17:18:58 +01:00
Renée Kooi
2d1848b7c1
Release 0.18.1 2017-09-04 19:59:09 +02:00
Renée Kooi
a77d3d405d
Update namespace-emitter 2017-08-18 16:26:43 +02:00
Artur Paikin
bf26c24aac Release 0.18.0 2017-08-16 01:24:36 +03:00
Artur Paikin
e608785499 don’t auto-generate docs for now 2017-08-16 00:59:26 +03:00
Artur Paikin
46dcffb172 refactor web:generated-docs 2017-08-16 00:26:05 +03:00
Artur Paikin
4001ab700b Merge branch 'master' into feature/restore-files 2017-08-15 21:20:13 +03:00
Artur Paikin
9aa0326d42 more docs, restructure them, hide guide for now 2017-08-04 18:45:26 +02:00
Renée Kooi
2ae8e3f5e4
Keep track of ongoing uploads in state; allow restoring uploads
Each upload() now generates a unique ID and stores the relevant file IDs
in state. It now also keeps track of which `step` in the 'pipeline' the
upload is at.

Since uploads are now stored in state, I added two methods to manage
them:

 - `createUpload(fileIDs)` to create a new upload. It returns the unique
 ID for the upload.
 - `removeUpload(uploadID)` to remove an upload, because it was
 completed or canceled.

I split off the 'pipeline' logic from the `upload()` method, into a new
private method `runUpload(uploadID)`, and added a `restore(uploadID)`
method that can be used to continue a preexisting upload. `runUpload()`
continues at the `step` stored in state.

The Golden Retriever loops through the existing uploads from the
restored state and `restore(uploadID)`s each of them.
2017-07-24 16:21:52 +02:00
Gavin Boulton
1c4b245f9c Update licence in package.json to match LICENSE file (MIT) 2017-07-21 10:56:54 +01:00
Artur Paikin
9d3c913cb9 Release 0.17.0 2017-07-02 23:37:59 -04:00
Artur Paikin
d271ba30eb merge master into feature/restrictions 2017-07-02 05:11:33 -04:00
Artur Paikin
36568cd9c8 added mime-match, restrictions is object, onBeforeFileAdded and onBeforeUpload callbacks 2017-06-30 13:14:51 -04:00
Artur Paikin
047e51b77b add get-form-data, move things around 2017-06-29 19:06:04 -04:00
Artur Paikin
18d9331e03 Merge pull request #228 from transloadit/doc-example
docs: non bundled example
2017-06-26 17:16:11 -04:00
Artur Paikin
075d99d54a aliasify, package-lock.json 2017-06-26 16:40:52 -04:00
Ifedapo Olarewaju
c264d390f6 docs: non bundled example 2017-06-20 17:05:14 +01:00
Artur Paikin
b5193a866f add aliasify again? 2017-06-19 19:57:47 -04:00
Artur Paikin
8a6f88d9af add npm run dev shortcut to work on Uppy, same as watch:example, but shorter and easier to memorize
//cc @ifedapoolarewaju @goto-bus-stop
2017-06-02 15:21:59 -04:00
Artur Paikin
1f276c1f8c Release 0.16.2 2017-05-31 16:21:12 -04:00
Artur Paikin
f80d4cf064 add package-lock.json 2017-05-31 16:18:51 -04:00
Renée Kooi
4f14342417
Use nanoraf
This speeds up the UI a ton by not reconciling every time if state
is updated frequently. For example, when adding 20 files at once,
previously the UI would reconcile after adding each file, which took
a few ms each time. Especially on a not-supercomputer that could
easily hang the UI for a second or more.

This way the UI reconciliation is sort of detached from the state
updates, and only reconciles up to 60 times per second. In the bulk file
adding case, it only reconciles once after all files have been added.
2017-05-29 13:30:40 +02:00
Artur Paikin
1ad844f609 update prettier-bytes to fix the IE support issue 2017-05-15 13:38:22 -04:00
Artur Paikin
dc8419f2e4 Release 0.16.1 2017-05-13 18:01:48 -04:00
Artur Paikin
6292b969fb downgrade yo-yoify, until https://github.com/shama/yo-yoify/pull/45 is resolved 2017-05-13 17:18:18 -04:00
Artur Paikin
c11c485e6e Release 0.16.0 2017-05-13 02:03:42 -04:00
Artur Paikin
79cca3ca37 selenium-webdriver was removed by accident 2017-05-13 01:02:40 -04:00
Artur Paikin
d1312b08c8 Revert "update uppy-server version"
This reverts commit 7035408adc.
2017-05-13 00:54:06 -04:00
Artur Paikin
7035408adc update uppy-server version 2017-05-12 23:36:13 -04:00
Artur Paikin
f033a3eef3 update babel-plugin-yo-yoify 2017-05-12 23:19:32 -04:00
Artur Paikin
bee20334e9 downgrade es6-promise 2017-05-12 15:54:52 -04:00
Artur Paikin
eaf0ba0ef9 update babel-plugin-es6-promise too 2017-05-12 15:21:09 -04:00