Commit graph

2777 commits

Author SHA1 Message Date
Renée Kooi
bf694a855e Merge branch 'master' into fix/storeOptions 2017-09-15 17:09:30 +02:00
Renée Kooi
ec7b31a005 Merge pull request #333 from goto-bus-stop/feature/instance-id
Uppy instance ID
2017-09-15 15:14:04 +02:00
Artur Paikin
17368f7be9 Merge pull request #345 from transloadit/fix/restrictions
Adjust checkMinNumberOfFiles
2017-09-14 22:58:57 -04:00
Artur Paikin
7b7aa7d7d9 add type.mime to tests 2017-09-14 22:50:14 -04:00
Artur Paikin
4a85a4d1e0 refactor a little, add file.type.mime (before the migration to mime entirely) add comments 2017-09-14 22:39:21 -04:00
Artur Paikin
1f8a369f4f separate checkMinNumberOfFiles method 2017-09-14 13:20:45 -04:00
Artur Paikin
829713851e Adjust checkMinNumberOfFiles
Fixes #344
2017-09-14 12:51:19 -04:00
Artur Paikin
4e808ca3d2 add aria-hidden to all icons for accessibility, remove console.log 2017-09-14 12:01:19 -04:00
Artur Paikin
8faa0d9a52 Merge pull request #342 from transloadit/fix/calculateTotalProgress
Fix calculateTotalProgress - NaN
2017-09-14 11:15:40 -04:00
Artur Paikin
0eb2448a3d Fix calculateTotalProgress - NaN 2017-09-13 18:50:41 -04:00
Sunil Shrestha
7b7ae236b5 Keep the options for indexedDB to its own namespace 2017-09-13 18:26:00 +03:00
Renée Kooi
99efda8bcc
restore: Store blobs in a single IndexedDB store 2017-09-13 17:25:42 +02:00
Sunil Shrestha
0f375b19b3 Allow to pass the options to IndexedDbStore constructor 2017-09-13 13:50:04 +03:00
Artur Paikin
016557e246 Merge pull request #330 from transloadit/fix/fileID
Better `generateFileID`
2017-09-12 11:10:29 -04:00
Artur Paikin
0e1a4b51a4 Merge pull request #335 from richardwillars/core-tests
[WIP] Remaining tests for src/core.js
2017-09-12 11:09:16 -04:00
Artur Paikin
e69151ca0c Merge pull request #319 from richardwillars/isOnline
Tell Uppy to be offline
2017-09-12 10:59:20 -04:00
Richard Willars
050ecbfa1e Adds tests for checkRestrictions 2017-09-12 15:48:03 +01:00
Richard Willars
abbaed88cd Test for createUpload 2017-09-12 10:50:12 +01:00
Richard Willars
979be04540 Remove upload test 2017-09-12 10:10:21 +01:00
Richard Willars
504a6977ac Adds tests for info messages (and fixes hideInfo method) 2017-09-12 09:09:25 +01:00
Artur Paikin
df659c5417 Merge pull request #328 from transloadit/chore/dashboard
Dashboard: show()/hide()/isOpen()
2017-09-11 21:16:56 -04:00
Artur Paikin
bf0cae6a42 changelog 2017-09-11 14:24:29 -04:00
Artur Paikin
be9ef1b076 docs for openModal, closeModal, isModalOpen 2017-09-11 14:10:01 -04:00
Artur Paikin
91ec5dbdd6 refactor: openModal, closeModal, isModalOpen 2017-09-11 14:09:44 -04:00
Renée Kooi
4d0d62804d
Add example using multiple Uppy instances with RestoreFiles 2017-09-11 18:01:20 +02:00
Artur Paikin
1cdd617b8c return an array always, even with a single item 2017-09-11 10:33:52 -04:00
Richard Willars
6ecaad1bc6 Rename isOnline with updateOnlineStatus and removed params
isOnline renamed to updateOnlineStatus and removes params

updateOnlineStatus default to true

Improved the window.navigator.onLine check

Adds tests for updateOnlineStatus

Removes debug

Fixes isTouchDevice test

File cleanup

Simplifies mock for window.navigator.onLine
2017-09-11 15:01:29 +01:00
Artur Paikin
a08319fde5 lastModified is a number 2017-09-11 09:59:19 -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
Artur Paikin
981a331c10 allow “selector” to be a DOM element in findAllDOMElements too 2017-09-11 09:45:43 -04:00
Renée Kooi
dc1ac4f314
core: Add getID() method. 2017-09-11 15:35:58 +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
e59c5ea420 Merge pull request #332 from goto-bus-stop/feature/min-disc
website: Minify bundle for `disc`
2017-09-11 14:06:42 +02:00
Renée Kooi
61c055df08
docs: -- → em dash 2017-09-11 12:15:29 +02:00
Renée Kooi
03cb1b47d8
changelog: tick off Uppy instance IDs 2017-09-11 12:14:24 +02:00
Renée Kooi
e65348a8fc
restore: Namespace serviceWorker action types 2017-09-11 12:14:00 +02:00
Renée Kooi
31d2e23791
core: Implement id option, ref #256 2017-09-11 12:14:00 +02:00
Renée Kooi
76e1d0e600
website: Use minified bundle for disc 2017-09-11 11:02:19 +02:00
Renée Kooi
47dab77dea
Update lockfile 2017-09-11 10:41:30 +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
6b6ce35927 add findDOMElements that always returns an array of DOM elements 2017-09-10 21:35:10 -04:00
Artur Paikin
80636d125c fix tests
I unfortunately can’t seem to understand this test: `should execute all
the postprocessors when uploading a file` in Core.test.js:
6bee4f427f
eb771774b/src/core/Core.test.js#L388

@richardwillars could you please help explain why the fileID is used
there and how, and if it’s wrong to change it the way I did here?
2017-09-10 20:53:18 -04:00
Artur Paikin
bd8345a166 Better generateFileID
Fixes #317
2017-09-10 19:56:31 -04:00
Artur Paikin
6bee4f427f changelog 2017-09-10 14:24:31 -04:00
Artur Paikin
1e2a722b08 fix FileItem source icon position and copy 2017-09-10 14:24:20 -04:00
Artur Paikin
1c2e4425c8 remove unused styles 2017-09-10 14:12:36 -04:00
Artur Paikin
fbf53b4576 Merge pull request #321 from goto-bus-stop/chore/unmagic
transloadit: remove `this.state` getter
2017-09-09 19:16:33 -04: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
Artur Paikin
06a107da1d changelog 2017-09-08 17:09:17 -04:00