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.
* 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
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.
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).
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.
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.
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
* 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".