Commit graph

236 commits

Author SHA1 Message Date
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
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
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
Renée Kooi
a4c43abd8b transloadit: Lazy load socket.io-client. (#1019) 2018-08-23 16:32:18 +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
Renée Kooi
70f1176c44
status-bar: Show number of started uploads, fixes #983
Previously this would list the number of in-progress uploads, but once
an upload is finished it is no longer in progress.

Now it lists the number of uploads that were started, i.e. are in
progress or completed.
2018-08-23 13:01:04 +02:00
Renée Kooi
bd6c2c36ae
Release
- uppy@0.27.2
 - @uppy/companion@0.14.2
 - @uppy/dashboard@0.27.2
 - @uppy/google-drive@0.27.2
 - @uppy/instagram@0.27.2
 - @uppy/react@0.27.2
 - @uppy/transloadit@0.27.2
 - @uppy/tus@0.27.2
 - @uppy/url@0.27.2
2018-08-23 12:38:49 +02:00
Paul Nicholls
6eb74440f6 Google Drive: Tidy up Team Drive implementation
Tidy up Team Drive implementation, based on PR comments:
- state.plugins[this.id] -> this.getPluginState()
- toggleCheckbox override cleaned up
- Team Drive ID logic moved to getItemRequestPath
2018-08-22 15:21:13 +12:00
Renée Kooi
ed5f73c6f5 Transloadit refactors + socket fallback (#1011)
* transloadit: Add an Assembly class to handle status updates.

* transloadit: Replace StatusSocket with new Assembly class.

* transloadit: Draft new Golden Retriever integration

* transloadit: Refetch Assembly status on events.

* transloadit: Update `assemblies` state when new status was fetched.

* transloadit: Move assembly options extraction to a class

* transloadit: use AssemblyOptions class directly for assembly options tests

* transloadit: move attachAssemblyMetadata to a class method.

* transloadit: Remove obsolete dependency.

* transloadit: Reconnect to assemblies after restore.

* tus: Always store uploadUrl

This was changed in: https://github.com/transloadit/uppy/pull/507
but actually, the uploadUrl is required by GoldenRetriever, _especially_
when `resume` is false.

* transloadit: Move `afterUpload()` closures to AssemblyWatcher class

* transloadit: Prefix private methods with _

* transloadit: Replace 2kb url-parse with custom helper.

* transloadit: Semi consistent comment width

* transloadit: Capitalise "Assembly".
2018-08-21 15:23:31 +02:00
Dirk-Jan Wassink
00db753dbd Reverted changes for AddFileOptions 2018-08-21 08:58:39 +02:00
Renée Kooi
4df2c9aa8f
Uppy Server → Uppy Companion in some more places 2018-08-20 15:19:57 +02:00
Dirk-Jan Wassink
9b0735d2c6 Fixed locale types thanks to feedback 2018-08-20 15:13:34 +02:00
Abdelhadi Khiati
39ae875bbb Use transloadit repository 2018-08-17 11:53:18 +01:00
Abdelhadi Khiati
bd37477463 Prepare for PR 2018-08-16 23:11:32 +01:00
Abdelhadi Khiati
840c0fca54 Change var to avoid default 2018-08-16 22:57:16 +01:00
Abdelhadi Khiati
4c9c4818db remove env 2018-08-16 22:41:14 +01:00
Abdelhadi Khiati
b8d41f7b76 Added base64 2018-08-16 22:33:44 +01:00
Abdelhadi Khiati
8cbe6697dd echo debugging 2018-08-16 16:50:21 +01:00