a bad result from adding the examples as dependencies of the root
repository is that they now don't have access to the npm binaries they
need to run in their own folder, because they are installed into the
root repository instead.
this works around that issue.
we may need to consider undoing that change and making the examples work
as standalone projects again, that's easier to understand.
fixes#2024 for now.
* Move stats to plugin list, add table with versions of all plugins
* Update Hexo to 4.0, and other deps too
* update hexo-filter-github-emojis dependecy, run lerna bootstrap
* re-create package-lock.json
* crap, it adds body/html to any document now, and this is a partial :(
* companion: temporary fix for ts compile error
* fix netlify maybe
* node 12 is lts
* revert attempted netlify command fix
* update package-lock.json
So it works in browser-ish, but non-DOM, environments. Will use the
global `URL` API if available, and fall back to url-parse, which has a
compatible-enough API.
Fixes https://github.com/transloadit/uppy/issues/1720
* xhr-upload: redo limit option using different strategy
* xhr-upload: fix marking requests as done
* Move duplicate createEventTracker definitions to @uppy/utils
* tus: new cancellation for local uploads
* tus: fix cancelling queued uploads
* tus: fix wrong name
* aws-s3-multipart: smol refactor
* aws-s3-multipart: new cancellation style
* aws-s3: new cancellation
* utils: port limitPromises test to RateLimitedQueue
* timing fix?
* tus: new cancellation on websocket
* xhr-upload: implement cancellation for remote uploads
* aws-s3-multipart: port to new cancellation
* utils: remove limitPromises
* xhr-upload: remove pause/resume code
* xhr-upload: clean up event listeners
* xhr-upload: extract progress timer to separate class
* Move ProgressTimeout class to utils
* utils: update typings
* Fix lint
* tus: make pause/resume respect the rate limiting queue
* tus: try to explain some of the tricky things at play in the Tus#upload method
* aws-s3-multipart: add missing { abort: true }
* aws-s3-multipart: make pause/resume respect the rate limiting queue
* eslintrc.json - fixed eslint warnings for jsdoc
* Revert "eslintrc.json - fixed eslint warnings for jsdoc"
This reverts commit 50b24773ce.
* eslintrc.json - allow indentation in jsdoc comments
* xhr-upload: fix promise return value
* tus: fix promise return value
* tus: add missing `return () => {}`
* utils: typing export type fixes
* tus: add more jsdoc
* companion-client: add missing SocketOptions type
* utils: fix more export typings
* core,companion-client,tus: more typings tweaking
* companion-client: test fix 😩
* companion-client: add type for Socket#open
* tus: fix emit() call
* add local cancellation fuzz....ish? test
* Add file.data.relativePath to the file.id
* Don’t add/overwrite a file if a file with the same id already exsists, issue a warning
* override @uppy/tus fingerprint to uppy’s file.id
* combine cordove/react native handling, don’t log twice
* always use onError for errors in addFile
* use file.meta.relativePath instead of file.data.relativePath
what do you think, @lakesare?
* update tests to include allowing/diallowing duplicates and file.id generation with relativePath
* update tus-js-client
* refactor error handling for addFile and upload into a mutual _showOrLogErrorAndThrow method
* explain duplicate files and relativePath
* throw TypeError vs Error when allowedFileTypes is not an array
* fix tests
* tweak docs
* Emit restriction-failed for all restriction errors, move it to _showOrLogErrorAndThrow
* Update eslint
* Do eslint --fix
* Do not access Object.prototype method 'hasOwnProperty' from target object
* utils: add hasProperty
* eslint --fix
* Disable quote-props for locale files
* add back quotes in locale files
* revert locale files to state on master
* Update react-scripts
* lerna link convert
* ci: use npm ci
* update lockfile
* companion: set `bin` to source file
Since typescript doesn't actually transform anything, we can just use
this.
In a next major version we could set `noEmit: true` in the tsconfig and
stop publishing `lib`.
* companion: do chmod +x on start-server.js
* build: remove obsolete lerna config
* build: explicitly install latest versions when building e2e tests for ci
* Remove versions from private packages
* fix regex
* try fix
* ci: force npm to install to endtoend folder
* ci: fold up e2e build output
* Update netlify deploy preview command
* Remove mentions of npm run bootstrap
* Edit .github/CONTRIBUTING.md instead
* companion: add proxy executable
* companion: fix publish
* Downgrade jest to appease create-react-app
* build: update webdriverio to v5
* build: update wdio services config syntax
* e2e test updates for wdio 5
* Sync pinned versions between repo root and companion
* build: enable all e2e tests for this PR run
* waitForExist
* test: await browser.url() calls
* test: awaitify url-plugin test
* test: use sauceConnect
* test: upload files to sauce before using them
* fall back to fakechoosefile a lot?
* fall back to fakechoosefile more
* Disable file selection on saucelabs
* test: need to await this thing
* test: make more-sure that the input is visible
* test: use currently low load transloadit region so i dont have to wait
* test: update but disable xhr-limit
* test: change the order
* test: newer firefoxes
* test: change the order back
* kinda sucks that they only have super old browsers on linux
* ci: disable url-plugin and transloadit e2e tests again
* test: use local tus-node-server for integration tests
* test: use envify to check env variables and select appropriate URL
* test: use companion.test:1080 for tus uploads on Travis
* test: fix env vars in typescript and CRA tests
* test: use getBoundingClientRect, may work better in android
* test: try getSize AND getBoundingClientRect
* test: do not check image width in android
* test: allow retrying tests that are prone to flakiness
* test: be more verbose during e2e tests
* test: force <input> visibility in more tests
* test: warn if using test:endtoend not on CI
* dashboard: reduce rerendering of FileItems
* dashboard: move pure HOC to util file
* dashboard: memoize arrays passed to child elements too
* dashboard: fix memoize-one import when bundler used `module` key
* /examples/dev - added drag-drop plugin dev environment
* @uppy/drag-drop - moved isDragDropSupported() to @uppy/utils
* @uppy/drag-drop - got rid of drag-drop npm library
* examples/dev - made compiled files placed in /output instead of /lib
* ~/examples/dev - made watchify only watch files once
* @uppy/drag-drop - add onPaste
* /examples/dev - readded html css override-attempts
* @uppy/drag-drop - made whole area clickable, and made it accessible
* @uppy/drag-drop - removed excessive outline in firefox
* change dragText classname to browse, minor spacing and order changes
It's outdated and brings in a million outdated dependencies (notably,
babel 6 and for some reason eslint 4)
Instead we can directly use the standard-jsx config and configure it to
use `h` as the react createElement function just like standard-preact
does internally.