Commit graph

462 commits

Author SHA1 Message Date
Antoine du Hamel
d6fb14dfb1 deps: upgrade typescript version 2021-07-07 16:53:00 +02:00
Antoine du Hamel
f3b90b0726 deps: re-organize React dependencies 2021-07-07 15:49:42 +02:00
Antoine du Hamel
e4c53bdad7 deps: remove rimraf in favor of built-in fs.rm 2021-07-07 15:48:23 +02:00
Murderlon
fe96096c3d
Merge branch 'master' into 2.0
* master: (23 commits)
  A bit of polish (#2986)
  Companion: Fix typescript error
  Companion: Fix invalid referrer crashing the process
  Publish 1.30 blog post
  Release
  Build: Companion needs to be built before locale-pack
  Release
  Fix build: locale-pack first, integrations second
  changelog for 1.30
  Release
  Update package.json
  Only log info if debug is true (#2855)
  build(deps): bump prismjs from 1.23.0 to 1.24.0 (#2971)
  Angular Integration (#2871)
  ci: don't run markdown tests in type tests
  Add types for `uppy.once` method (#2965)
  build: lint fixes in build scripts
  Fix typo in docs/progressbar.md (#2962)
  Document `uppy.once` in `docs/uppy.md` (#2960)
  Add `props` example to docs/vue.md (#2959)
  ...
2021-07-07 15:32:38 +02:00
Artur Paikin
4b782ffbbb Release 2021-06-30 23:07:21 +01:00
Artur Paikin
ea9f891417 Update package.json 2021-06-30 20:12:59 +01:00
Merlijn Vos
acb6566ec0
Always enable strict types and remove .run method (#2957)
* Always use strict types and remove `.run` method

* Remove accidental package-lock.json files

* Actually remove `.run` method
2021-06-30 12:05:10 +01:00
Andrew
8f4cc89a9e
Angular Integration (#2871)
* feature(integration): initial Angular framework implementation

* Package cleanup

* Actually add the components this time

* fix rendering bug

* Add documentation

* dependency fixes

* add broken example

* Make locales ignore angular

* dependency updates

* Update package-lock.json

* Fix broken example

* Make example consistent with docs

* angular: Update styling advice

* angular: Build system stuff

* angular: Escape dependency hell

* angular: Add dashboard-modal component

* angular: Update package.json/prepare for release

* angular: Fix styling bugs

* add Angular dependencies

* Update README.md

* lint fixes — those deps are in root

* Update README.md

Co-authored-by: Adam Medford <adammedford@gmail.com>
Co-authored-by: Artur Paikin <artur@arturpaikin.com>
2021-06-30 11:36:57 +01:00
Antoine du Hamel
c315329399
Remove IE polyfills and special casing (#2947)
* Remove IE polyfills and special casing

* dashboard: remove `resize-observer-polyfill`

* deps: remove url-parse to use global `URL` instead

* Update documentation for browser support

* Add a migration guide

* Update e2e test platforms

* Remove polyfills from examples and add those missing in CDN bundle

* Use Node.js v16.x on CI because of `AbortController`

* Update bundle builder to produce two builds: `uppy.js` without polyfills, `uppy.legacy.js` with polyfills.

* Upgrade create-react-app deps

* remove null coalescing operator as it's not supported by the build chain

* disable Safari testing (for now)


Co-authored-by: Renée Kooi <renee@kooi.me>
2021-06-28 11:34:51 +02:00
Merlijn Vos
ecec3d3213
Split Plugin into BasePlugin and extended UIPlugin (#2944) 2021-06-18 13:23:16 +02:00
Merlijn Vos
3b3e8a440c
Upgrade Preact to latest (#2926) 2021-06-16 12:46:19 +02:00
Artur Paikin
23e4a537a6 Release 2021-05-28 11:54:17 +01:00
Artur Paikin
12b7bd34e8 Release 2021-05-27 21:35:08 +01:00
Artur Paikin
a87e8a8b80 Release 2021-05-11 23:15:55 +01:00
Artur Paikin
209a0079d3 Release 2021-05-05 21:50:17 +01:00
Andrew
f4e99fa7bf
Base upgrades (#2856) 2021-04-19 16:20:23 +02:00
Artur Paikin
1751241362 Release 2021-03-31 23:59:08 +01:00
Artur Paikin
0f5ea3a827 add private to vue3 example 2021-03-31 23:27:48 +01:00
Artur Paikin
9b667a33f1 remove version from vue example as well 2021-03-31 23:11:58 +01:00
Artur Paikin
f4f05b8842 try removing version from private package so maybe Lerna ignores it for release 2021-03-31 22:51:05 +01:00
Artur Paikin
1fcb99540c
Add @uppy/drop-target — drag and drop files on any existing DOM element (#2836)
* Add dom-target plugin

* add dom-target to bundle and website — had trouble with css otherwise

* cleanup and dev setup

* newline at the end, restore inline: false by default

* dom-target --> drop-target, remove paste

* add docs, bundle, website example

* add types

@goto-bus-stop this should probably be something other than Uppy.PluginTarget since it won’t accept an uppy plugin?

* fix types

* Update examples/dev/Dashboard.js

Co-authored-by: Renée Kooi <renee@kooi.me>

* type string | Element

* Update packages/@uppy/drop-target/package.json

Co-authored-by: Renée Kooi <renee@kooi.me>

* Update packages/@uppy/drop-target/package.json

Co-authored-by: Renée Kooi <renee@kooi.me>

* Update examples/dev/Dashboard.js

Co-authored-by: Renée Kooi <renee@kooi.me>

* Create package-lock.json

* Update package-lock.json

* Update package-lock.json

Co-authored-by: Renée Kooi <renee@kooi.me>
2021-03-31 16:29:03 +01:00
Renée Kooi
cb1a41234a
Workspaces (#2835) 2021-03-31 14:04:18 +02:00
Mikael Finstad
415681f659
Use cors module instead of custom cors logic (#2823)
* use cors module instead of custom cors logic #2762

- adds support for regex COMPANION_CLIENT_ORIGINS_REGEX
- encapsulate custom cors header merge logic in own middleware
- pull out non cors logic from middleware
- unit test the cors middleware

* fix capitalization

Co-authored-by: Julian Gruber <julian@juliangruber.com>

Co-authored-by: Julian Gruber <julian@juliangruber.com>
2021-03-26 19:38:23 +00:00
Kevin van Zonneveld
7e465338cf
Upgrade to eslint-config-transloadit@1.2.0 (#2830)
* Upgrade to eslint-config-transloadit@1.2.0

* allow console.log for /bin files

* Reduce noise in PR
2021-03-25 13:51:50 +01:00
Andrew
58f996c0e4
Vue 3 support (#2755)
* basic support

* improved support

* Add all components (still buggy)

* revert && Add lockfile

* Small fixes

* import .eslintrc from master

* Fix shadowing issue

* Update packages/@uppy/vue/src/utils.js

Co-authored-by: Renée Kooi <renee@kooi.me>

Co-authored-by: Artur Paikin <artur@arturpaikin.com>
Co-authored-by: Renée Kooi <renee@kooi.me>
2021-03-24 16:01:45 +00:00
Renée Kooi
c1d15abf10
error on import lint failure + some misc lint fixes (#2813)
Co-authored-by: Artur Paikin <artur@arturpaikin.com>
2021-03-20 11:02:49 +01:00
Kevin van Zonneveld
764c2ccada
Update Linter (#2796)
* relocate .vscode

* Switch to transloadit linter

* Update .eslintrc.json

* autofix code

* unlink and install eslint-config-transloadit@1.1.1

* Change 0 to "off"

* Don't change 'use strict'

* Do not vertically align

* disable key-spacing

* add import/no-extraneous-dependencies per package

* add more react/a11y warnings

* Revert "autofix code"

This reverts commit 14c8a8cde8.

* add import/no-extraneous-dependencies per example and main package

* autofix code (2)

* Allow devDependencies in ./bin

* Change import/no-extraneous-dependencies to warn again

* upgrade linter

* Set import/no-extraneous-dependencies to warn
2021-03-15 16:25:17 +00:00
Renée Kooi
4bf1072363
Release 2021-03-10 13:11:28 +01:00
dependabot[bot]
fd1d6d7324
build(deps): bump elliptic from 6.5.2 to 6.5.4 (#2794)
Bumps [elliptic](https://github.com/indutny/elliptic) from 6.5.2 to 6.5.4.
- [Release notes](https://github.com/indutny/elliptic/releases)
- [Commits](https://github.com/indutny/elliptic/compare/v6.5.2...v6.5.4)

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-03-08 18:16:49 +00:00
Artur Paikin
7d162b0dcc Release 2021-02-26 03:37:58 +00:00
Renée Kooi
8ae7213f78
Release 2021-02-12 11:58:46 +01:00
Renée Kooi
1177e59c55
dev: add transloadit+S3, transloadit+XHR test uploaders 2021-02-12 11:41:08 +01:00
Artur Paikin
2eabc33099 Release 2021-02-10 18:55:14 +00:00
Artur Paikin
7c55bd855e Release 2021-01-28 16:08:14 +00:00
Artur Paikin
e1efe07927 Release 2021-01-27 16:22:43 +00:00
Renée Kooi
f6b9106dbe
examples: update configs for Companion 2.0+ 2021-01-21 14:50:07 +01:00
Artur Paikin
1493a807fe Release 2020-12-23 18:04:51 +00:00
Artur Paikin
13edc8ed1e Update package.json 2020-12-23 17:51:38 +00:00
Artur Paikin
80ca74ba38 remove version, add example to package.json 2020-12-23 17:38:26 +00:00
Artur Paikin
bbd04778be svelte-example should be private 2020-12-23 17:28:56 +00:00
Andrew
ff3127f663
Svelte integration (#2671)
* Added basic components

* Updated README

* Added LICENSE

* Added basic doucmentation

* svelte: Fixed CSS issues

* svelte: Added CSS to docs

* svelte: Removed favicon

* svelte: Configured build system and CSS

* svelte: Updated docs for better CSS

* svelte: Disable TSD for svelte

* fix: fixed svelte building issues

* Update packages/@uppy/svelte/package.json

Co-authored-by: Artur Paikin <artur@arturpaikin.com>

* add svelte to locale-packes build ignore

* upgrade typescript

This might get reverted, but it upgrades from Typescript version 3.7.5 to 3.9.3

* remove devDependencies from svelte and vue packages

* Update packages/@uppy/svelte/package.json

Co-authored-by: Renée Kooi <renee@kooi.me>

* slight tweak for docs and readme

* try to switch to file urls for vue and svelte

Co-authored-by: Artur Paikin <artur@arturpaikin.com>
Co-authored-by: Renée Kooi <renee@kooi.me>
2020-12-23 13:45:26 +00:00
Andrew
80b5ace47d
Added FileInput component to React (#2706)
Co-authored-by: Artur Paikin <artur@arturpaikin.com>
2020-12-18 21:21:12 +00:00
dependabot[bot]
0f165508f8
Bump ecstatic from 3.3.2 to 4.1.4 (#2695)
* Bump ecstatic from 3.3.2 to 4.1.4

Bumps [ecstatic](https://github.com/jfhbrook/node-ecstatic) from 3.3.2 to 4.1.4.
- [Release notes](https://github.com/jfhbrook/node-ecstatic/releases)
- [Changelog](https://github.com/jfhbrook/node-ecstatic/blob/master/CHANGELOG.md)
- [Commits](https://github.com/jfhbrook/node-ecstatic/compare/3.3.2...4.1.4)

Signed-off-by: dependabot[bot] <support@github.com>

* update lockfile

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Renée Kooi <renee@kooi.me>
2020-12-16 19:27:58 +00:00
Renée Kooi
a03a1ed7d6
use tusd.tusdemo.net (#2691) 2020-12-16 15:08:40 +01:00
Renée Kooi
38599e3aa2
Release 2020-12-11 21:17:27 +01:00
Andrew Kachnic
ef0722cbc6
Fixed build errors
Both test:type and lint were failing, so I fixed the issues
2020-11-26 06:54:25 -05:00
Artur Paikin
68a23d9ff1 Release 2020-11-25 23:33:54 +00:00
Artur Paikin
fb1bf6e714 remove version so lerna igonres 2020-11-25 23:19:51 +00:00
Andrew
b082e54029
Vue integration (#2500)
* Basic setup

* Updated some documentation

* Cleanup some useless files

* Added docs to website

* Re-add package.json

* Added module

* Update vue.md

* Update DOCS.md

* Starting writing docs

* Fix my own spelling mistake

* Add a proper README and LICENSE

* Some quick fixes

* Update Dashboard.vue

* Added shallow-equal

* Try adding an example to test vue integration locally

* Temporarily fixed build and example

* Small documentation fixes

* Added Vue 3 example

* Added proper bundling and typescript for vue

* Added full typescript support for integration

All @uppy/vue components now support TypeScript and are strongly typed.

* Massive docs improvement for @uppy/vue

* Fix small type error in dashboard-modal

* Slight documentation changes

* Add typescript types file to package.json

* Trim down dependencies

* Fix building with Vue

I added it to a list of ignored packages as it builds a little weird

* Updated example

* Converted .vue files to .ts

* Setup .js files for @uppy/vue

* Fixed small rendering bug

* Delete package-lock.json

* Delete package-lock.json

* Delete package-lock.json

* Update packages/@uppy/vue/package.json

Co-authored-by: Artur Paikin <artur@arturpaikin.com>

* Some cleaning for @uppy/vue

* Delete components.d.ts

* Removed Vue 3 example

* Update typescript stuff for @uppy/vue

* Documentation update for @uppy/vue

I changed to menu text to 'Other Integrations'

Co-authored-by: Artur Paikin <artur@arturpaikin.com>
2020-11-25 22:59:06 +00:00
Artur Paikin
1bfe1995eb Release 2020-11-16 11:51:59 +00:00