* Only handle drag events with files
* Added modification to drag-drop package as well
* Use some() instead of find() for broader browser support
* `dataTransfer.types` is not a real array in IE10
* introduce canHandleRootDrop, so we can check if dragged items are supported by some plugin
* drag-drop should check for allowNewUpload
* refactor and simplify
* expose events for Dashboard too
* move event handler call to the bottom
Co-authored-by: Renée Kooi <renee@kooi.me>
Co-authored-by: Artur Paikin <artur@arturpaikin.com>
* move transloadit2 test into transloadit, remove the former
* Update endtoend-build-tests
* Revert "move transloadit2 test into transloadit, remove the former"
This reverts commit ff25d4b8cd.
* Revert "Update endtoend-build-tests"
This reverts commit 723f48fc03.
* rename transloadit2 to transloadit-assembly-options
* timeout option is nested now https://webdriver.io/docs/api/element/waitForExist/
* refactor cors middleware to avoid duplicates
* Make more ACAH headers default
Add the following headers to access-control-allow-headers by default:
Authorization, Origin, Content-Type, Accept
They are needed for basic operation. See https://github.com/transloadit/uppy/issues/3021
therefore also remove custom middlewares in examples and standalone
* Update outdated readme for S3
AWS now requires JSON instead of XML format
* Update packages/@uppy/companion/src/server/middlewares.js
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
* Update packages/@uppy/companion/src/server/middlewares.js
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
* fix review comments
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
* Make uploadUrls recommended
- warn on startup if uploadUrls is not specified as not specifying it is a security risk
- improve docs to make it more clear why uploadUrls should be specified (say that uploadUrls is required even though it is not, due to backward compatibility)
- no longer require_tld (it gives a false security) - fixes#2831
* Apply suggestions from code review
* Apply suggestions from code review
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
* remove `example: []`
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
* @uppy/core: move `Uppy` class to its own module
Fixes: https://github.com/transloadit/uppy/issues/3220
* Rename snapshot file
* Update docs
* Update website/src/_posts/2021-08-2.0.md
Co-authored-by: Merlijn Vos <merlijn@soverin.net>
* Update migration guide
* Do not bundle preact with non-UI plugin packages
Co-authored-by: Merlijn Vos <merlijn@soverin.net>
* WIP
* Write section about TS type changes
* Fix typos
* Ignore some eslint code block warnings
* update authors info
* add margin for PostAuthor
* edit post, add draft cover
* Add section about S3 pre-sign batches
* Give attribution to martin-brennan
* Add links
* Add missing link
* Tiny fixes
* Apply suggestions from code review
* Update 2021-XX-XX.md
* Update image and add table of contents
* Improve sentences, add highlights since 1.0
* Update hightlights since 1.0
* Change file name, update title, fix description and image on /blog
* Update hightlights since 1.0
* Different hr md syntax, just to unbreak syntax highlighting in my vscode
It started treating the remainder of the post as yaml
* Add support notice for 1.0
* Iteration
* Disable disqus comments
* Better post date appearance + better "Continue reading" link
* Add .PostAuthors Wrapper
* Tweak .PostAuthor
* Underline author name on hover
* Nicer Author(s) section
* Not that pale date
* iterate on the 2.0 blog post more
* Remove duplicate sentence
* add cut: <!--more-->
* Fix image placement
* Remove merge conflict
* Remove `lerna` mention as notable upgrade
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
* Update website/src/_posts/2021-08-30.31.md
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
* Premature save
Work in progress!
* A round of polish
* Update website/src/_posts/2021-08-30.31.md
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
* Update website/src/_posts/2021-08-30.31.md
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
Co-authored-by: Artur Paikin <artur@arturpaikin.com>
Co-authored-by: Kevin van Zonneveld <kevin@vanzonneveld.net>
Co-authored-by: Alexander Zaytsev <nqst@users.noreply.github.com>
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
Co-authored-by: AJvanLoon <ajvanloon@gmail.com>
* @uppy/dashboard: fix metafield form validation
Browsers without support for the HTML `form` attribute would misbehave,
making it impossible to validate the form at all, and potentially validate an
unrelated upper form if users are embeding Uppy inside a a `<form>`.
Fixes: https://github.com/transloadit/uppy/issues/3111
* Add comments
* Fix docs and types