Commit graph

251 commits

Author SHA1 Message Date
Renée Kooi
a67a558eec
Working test
Add tests for thumbnail:* events.

Show build output

Try adding a non image file?

fixes

Add -b flags to local acceptance tests

fix hanging thumbnail test

Add a corrupt image

revoke

Require passing integration tests

extended debugging?

Try more browser versions

it helps to pick a browser that's available

sort stuff in .travis.yml and add whitespace for easier navigation

[REVERT BEFORE MERGE] only run acceptance tests on this pr

make sure lerna publishes stuff to local

do git tag version during integration test

update lerna

fix install / bootstrap execution order

?

--no-ci

dont do npm ls because it errors with lerna

set a git branch name

blehbleh

ughhhhhhhhhhhh

onerror?

no onerror i guess

onerror 2

Revert "onerror 2"

This reverts commit 64d88551fa1cd337b27e25d16a604dd781a15b43.

onerror 3

more debug data

disable browsers that work

fix syntax for older browsers

thumbnails suite

check different edge versions

abc

use addeventlistener for error, which is different from onerror

no clue

skip thumb test in edge or whatever

Re enable other browsers.

re enable tasks

fix edge skip

this one was intentionally disabled

Remove debug leftovers

edge → supportschoosefile

:ready → :all-generated
2018-10-01 15:18:49 +02:00
Renée Kooi
a68bcc1459
Use FileInput in thumbnails test 2018-10-01 11:36:17 +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
f5d6ab96e7 use uppy-Root in status-bar when it’s mounted in DOM
similar to Dashboard
2018-09-27 15:50:48 -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
bdc33ae6a0
Merge pull request #1062 from transloadit/fix/onMount
[@uppy/core] Add onMount and this.parent to Plugin
2018-09-26 18:28:11 -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
0e91afbee6 Use require('resize-observer-polyfill').default || require('resize-observer-polyfill')
> I think we need to do: require('resize-observer-polyfill').default || require('resize-observer-polyfill'), to support both the transpiled version of its ES module format and its CommonJS format. A bit like we did here (although for a different related reason): 4684a3e1f3/packages/%40uppy/form/src/index.js (L3-L5)
2018-09-26 17:05:22 -04:00
Eldar Zakiryanov
a0a1c56fbd
Removed console.log('ЗДЕСЬ Я') 2018-09-25 10:49:03 +06:00
Artur Paikin
dae9186a6c
Merge pull request #1063 from transloadit/improvement/dashboard-plusBtn-limit
[@uppy/dashboard] Only show the plus button if selected file count !== maxNumberOfFiles
2018-09-20 12:09:37 -04:00
Artur Paikin
b2206f636f props.totalFileCount < props.maxNumberOfFiles, check to see if maxNumberOfFiles even exists? 2018-09-20 11:54:20 -04:00
Renée Kooi
323c4486f9
transloadit: fix logging assembly ID 2018-09-20 16:16:03 +02:00
Artur Paikin
ac945e1460 Only show the plus button if selected file count !== maxNumberOfFiles 2018-09-19 23:30:52 -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
f8020d877b add commented parent.hideAllPanels call
in case we need to manually close Dashboard panels, we now have a `this.parent` propety on Plugins, which means we can do `this.uppy.getPlugin(this.parent)` instead of `this.uppy.getPlugin('Dashboard')` — no need to know plugin id, see https://github.com/transloadit/uppy/issues/1057
2018-09-19 19:13:52 -04:00
Artur Paikin
e16b71886b move this.el.addEventListener to onMount
so that they are only set when `this.el` is actually available
2018-09-19 19:11:22 -04:00
Artur Paikin
06eda75be4 call hideAllPanels on file-added
I believe this was removed because we were doing `addFile` right away when it was selected in `Providers`, which is not the case now, so safe to close Dashboard panels when a file is added.
2018-09-19 19:10:36 -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
5b5b3a3a6d remove console.log 2018-09-18 18:58:29 -04:00
Artur Paikin
f1752e262a
Merge pull request #1055 from transloadit/feature/dashboard-showSelectedFiles
[Dashboard] add showSelectedFiles option
2018-09-17 23:27:45 -04:00
Artur Paikin
6463f9e1a4 call removeFile on each file when doing cancelAll 2018-09-14 16:27:41 -04:00
Artur Paikin
26842c9aa4 Fix incorrect title (tooltip) message on file preview by refactoring
Fixes #1033
2018-09-13 17:06:01 -04:00
Artur Paikin
ca27fb3dc5 allow hiding selected files list with showSelectedFiles 2018-09-13 16:22:27 -04:00
Artur Paikin
7e63e3822a Add resize-observer-polyfill to @uppy/dashboard/package.json and update package-lock.json 2018-09-12 15:20:29 -04:00
Artur Paikin
41929c47d0 Replace updateDashboardElWidth with ResizeObserver 2018-09-12 15:19:50 -04:00
Artur Paikin
06817206f2 Improve the “info bar” with note and “powered by uppy” positioning on mobile 2018-09-11 17:38:36 -04:00
Artur Paikin
8df497fff5 store offset sizes in variables 2018-09-10 11:59:49 -04:00
Artur Paikin
26037ac145 Add paddings and remove outline-offset for tab buttons so that the outline is visible 2018-09-10 10:18:32 -04:00
Ifedapo .A. Olarewaju
312d078996
Merge pull request #978 from pauln/feature/team-drives
Google Drive: Support Team Drives
2018-09-09 16:39:48 +01:00
Ifedapo .A. Olarewaju
4cf7ef9c39
Merge pull request #1030 from tranvansang/patch-2
Fix bug: oauth always redirects to root path
2018-09-09 16:37:55 +01: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
kiloreux
7f84a3989c Fix certificate for companion @kvz (#1041) 2018-09-05 11:43:30 +02: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
Renée Kooi
0590b823ef transloadit: throw and warn when using the old Uppy Server URL (#1038)
Shows up in the informer and in the console when trying to upload a file
from a remote source. Kinda sucks that you have to actually do it, but
this is the easiest place to implement it…else we have to look at other
plugins' private options and hope that users are adding the plugins in
an order that makes that possible.
2018-09-03 15:29:53 +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
5d6a587801
Merge pull request #1034 from firesharkstudios/pr-fix-cordova-file-issue
Fix for Cordova mangling new File instances
2018-09-03 12:22:29 +02:00
Renée Kooi
c86b7e29fa
npm run lint -- --fix 2018-09-03 12:04:41 +02:00
Renée Kooi
0db6099e3b
Merge pull request #1035 from transloadit/fix/tl-ssl
transloadit: Use https endpoint for status fetching.
2018-09-03 11:47:57 +02:00
Renée Kooi
0bb0b87edc
dashboard: Fix removing resize event listener, fixes #1031. 2018-09-03 11:45:06 +02:00
Renée Kooi
3b7264c376
transloadit: Use https endpoint for status fetching.
Fixes #1032
2018-09-03 11:15:11 +02:00
Kent Johnson
0c245855ba Fix for Cordova mangling new File instances 2018-09-02 19:46:22 -05:00
Renée Kooi
eb0c681455 transloadit: Only use socket.io's WebSocket transport. (#1029)
There is not much benefit to this (except saving a few HTTP requests)
but if we do this we'll see if anyone's firewalls are blocking WS or
something. Then one day in the future we can switch to plain WebSockets
instead of socket.io to shed 20KB once the Transloadit backend supports
it.
2018-08-30 22:03:36 +02:00
Tran Van Sang
ce2b1aad0c
Fix bug: oauth always redirects to root path
Even when `server.path` is not null, oauth (`grant`) config is to always redirect to root url
2018-08-30 21:58:25 +09:00
Renée Kooi
5bf4ed96f4 thumbnail-generator: Remove image clear code, fixes #1025. (#1028)
It will be garbage collected soon anyway.
2018-08-30 13:27:10 +02:00
Renée Kooi
d5de77d03b aws-s3-multipart: Proper cleanup on cancellation, fixes #992 (#1021)
Previously, cancelling an upload would not reset all upload-related
objects used by the S3 Multipart plugin. With this patch, cancellation
behaves similarly to files being removed (they are conceptually similar).
2018-08-27 14:34:22 +02:00
Renée Kooi
f958638455 utils: Add fallback to getFileType (#1022)
If we can't determine the file type, use the generic
'application/octet-stream' type. This way `file.type` will always be
defined and uploaders don't have to worry about it being `null` or
whatever.
2018-08-27 14:33:56 +02:00
Renée Kooi
4781d26bf5
Merge pull request #1017 from transloadit/fix/983
status-bar: Show number of started uploads, fixes #983
2018-08-27 10:44:18 +02:00