Commit graph

454 commits

Author SHA1 Message Date
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
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
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
Carter Konz
970ac8df5b
companion,box: Box provider implementation (#2549)
* boilerplate for Box provider

TODO:
  - adapter
  - index
  - website/src/docs
  - tests

* Box provider implementation

- adapter
- index
- npm bufoonery
- lil' fixes

and MORE!

TODO:
- thumbnails 🤬
- tests
- docs

* Box provider: add brand icon, fix file icons

- token issues with thumbnail/logout

* Box provider: fix thumbnails, upload

- fix tokens for box
- implement `size()`
- make debug logging easier to find (bold blue)

learned:
- box needs cookie auth
- thumbnail requests come back as 202s

TODO:
- fix logout with form POST (zoom example)

* Box provider: fix logout

- add client info as formData to revoke post

TODO:
- tests cleanup
- package-lock fix
- docs

* Box provider: docs

TODO:
- tests

* Box provider: cleanup

TODO:
- tests

* fix error msg path for Box

- remove comment

* keeping up

- update ProviderViews import
- fix version string on Box package.json

* companion,box: exclude box from global module/examples while in beta

Co-authored-by: Ifedapo .A. Olarewaju <ifedapoolarewaju@gmail.com>
2020-11-13 15:37:00 +01:00
ifedapoolarewaju
3ff9ab042f
Release 2020-11-13 11:52:51 +01:00
Kevin van Zonneveld
63ac4ebdba
Use new releases domain (#2608) 2020-10-30 19:17:04 +01:00
Artur Paikin
84f7b4d37d Release 2020-10-30 03:27:41 +00:00
Ifedapo .A. Olarewaju
d586a4cf53
companion,unsplash: Unsplash provider (#2431)
* unsplash[wip]: implement unsplash provider + plugin

* unsplash,provider-views,companion-client: fully working unsplash plugin

* unsplash: clean up plugin implementation

* provider-views: refactor CloseWrapper

* companion-client: encode search text before adding it to URL

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

* companion: use object spread over Object.assign

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

* zoom: fix provider-view import

* circle icon

* update locale strings and package-lock

* move truncateString to @uppy/utils and use it for Unsplash name-description conversion, adding .jpg

* use alt_description if description in null

* companion: handle name truncation internally

* companion: handling carriage for truncation + fix urlmeta import

Co-authored-by: Renée Kooi <renee@kooi.me>
Co-authored-by: Artur Paikin <artur@arturpaikin.com>
2020-10-28 19:50:51 +01:00
Renée Kooi
ef5ba9c8fc
webcam: add video source selector (#2492)
* webcam: add showVideoSourceDropdown

* webcam: update video device list when adding/removing a video device

* webcam: cleaner changes

* delete extraneous file

* webcam: store sources data in state

* webcam: regather sources after getting access

* webcam: put the source selector next to the buttons

* webcam: put the video source selection on its own row in mobile view

* website: show webcam video source dropdown

* enable webcam features in dev example

* facingMode takes precedence over deviceId, and not needed when specific device is selected

fixes issue where on mobile (iOS) the device selection was ignored due to facingMode being set to 'user'

* Remove “video source” copy, style select, deal with iOS zoom-in issue

Co-authored-by: Tsy-Jon Lau <tlau@parsys.com>
Co-authored-by: Artur Paikin <artur@arturpaikin.com>
2020-10-18 12:21:59 +01:00
Artur Paikin
d07d27422c Release 2020-10-02 05:41:02 +01:00
Renée Kooi
06f561c691
Fix XHR upload demos, fixes #2517 (#2537) 2020-09-19 13:06:57 +03:00