Commit graph

1490 commits

Author SHA1 Message Date
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
Enrique Mejia
ae4b9df31e
core: add postprocess progress when upload success (#2535)
* core: add postprocess progress when upload success

* Update packages/@uppy/core/src/index.js

Co-authored-by: Renée Kooi <renee@kooi.me>
2020-10-15 01:55:53 +01:00
Alexander Alepis
f71d1cad21
Update el_GR.js with more proper wording for Drag'n'Drop (#2578)
The existing word describing drag n drop, while technically correct, is a bit weird when seen on a website. 
This commit changes it into a more proper word.
2020-10-15 01:54:06 +01:00
Ferdinand
889cdb7959
Update de_DE.js (#2574)
Add missing camera texts
2020-10-15 01:53:36 +01:00
Kanin Peanviriyakulkit
9cc38a962d
Update th_TH.js (#2571)
Update TH language same as master branch.
2020-10-06 12:50:42 +01:00
Shlomo Zalman Heigh
3856afa238
companion: add option to hide welcome page and metrics (#2521)
* companion: add option to hide welcome and metrics

* fix scoping error

* fix lint errors
2020-10-05 11:20:04 +01:00
Artur Paikin
d07d27422c Release 2020-10-02 05:41:02 +01:00
mokutsu-coursera
969815fa31
Include meeting name in file name, and include meeting data in response object so it is available in later uppy lifecycle methods when interacting with file object (#2547) 2020-10-02 04:51:23 +01:00
Shlomo Zalman Heigh
91c7ea03ae
Tus: add withCredentials, fix #2518 (#2544)
Co-authored-by: Renée Kooi <renee@kooi.me>
2020-09-28 11:56:47 +02:00
mokutsu-coursera
f3a4deb7f5
Add support for uploading nested folders (#2557) 2020-09-26 13:28:16 +01:00
Renée Kooi
b13d91effb
locales: remove unused plural forms for zh_CN 2020-09-21 12:32:11 +02:00
Renée Kooi
25b232eccc
Fix missing preact.h import, enable lint for that
Fixes #2539
2020-09-21 11:41:06 +02:00
Shlomo Zalman Heigh
90589c3f1c
fix username not updating when switching OneDrive accounts (#2538) 2020-09-21 10:13:37 +02:00
Artur Paikin
986e3986fe Release 2020-09-17 00:11:50 +03:00
mokutsu-coursera
46aad2ab94
Zoom Plugin - Fix meeting timestamp for user timezones and explicitly include moment-timezone dependency (#2525)
* Explicitly add moment timezone as a dependency and fix timezones for queries and displaying data to be based on user zoom timezone setting

* wip

* Remove async/await to match other providers, add comment to explain to/from conversion from local time to UTC

* Update comment, rename meetingInfo to plural to indicate multiple are retrieved
2020-09-16 12:39:43 +03:00
Renée Kooi
e6b876c419
dashboard: remove preact-css-transition-group (#2444)
Unfortunately I can't figure out how to make the dependencies and
versions work out well here.

Instead, this uses a custom slide transition component. It is much more
simple than preact-css-transition-group, which supports animating groups
of components. The `<Slide />` component:

- can only support one element, that either exists or does not exist
- requires that the child element takes a `className` property, that it
  passes onto its root element
- only uses `setTimeout()` for when the transition finishes
  (in preact-css-transition-group, the `transitionend` event is used,
  which is more _accurate_ but less _reliable_)
- hardcodes the transition duration
- hardcodes the transition name

This makes it much more limited. Hopefully the reduced complexity is
worth it.

If we have other transitions in the future, we can copy-paste this
component.
2020-09-15 14:59:45 +03:00
Johnny Perkins
32228fc0ef
provider-views: Fix mutating state where not intended (#2504)
* provider-views: fix mutating state where not intended

* provider-views: fix jsdoc mismatch
2020-09-15 14:41:34 +03:00
mokutsu-coursera
d85912f0e1
Fix truncation and ellipses for very long file names (#2533) 2020-09-15 14:05:32 +03:00
mokutsu-coursera
12f9f5f2f5
companion: Zoom Plugin - Fix cases where a meeting UUID has slashes (#2526)
* Add double encoding for uuids with slashes

* Add comment explaining uuid vs id and double encoding
2020-09-15 00:00:47 +01:00
phil714
0245b12596
Fixed translation of uploadingX in french locale (#2523)
Co-authored-by: phil714 <philippedeschesnes@civalgo.com>
2020-09-14 13:42:42 +02:00
mokutsu-coursera
497605f1d4
Update readme pages for npm (#2527)
* Update zoom readme for npm page

* Update provider plugin readme files
2020-09-14 08:56:14 +03:00
Kevin van Zonneveld
e23106ebe4 Change status.transloadit.com to the more isolated transloaditstatus.com 2020-09-12 07:59:03 +02:00
mokutsu-coursera
7b9ec97070
companion: update the pagination limit / boundary on the zoom provider (#2511)
* Fix zoom provider date pagination so that it retrieves the correct start of the next month.

* Add comments to why we are checking dates and try to make initialization of date ranges more readable
2020-09-11 16:58:34 +01:00
mokutsu-coursera
276a7eb2d5
companion: fix cc type files for zoom provider and filter out timeline files (#2508) 2020-09-09 10:31:34 +01:00
Jmales
fc1967bd0a
Added pt_PT and fixed some typos in pt_BR. (#2510)
Co-authored-by: Renée Kooi <renee@kooi.me>
2020-09-07 14:58:55 +02:00
ifedapoolarewaju
7bf5ca55a7
Release 2020-09-07 12:40:44 +01:00
Andrew
0533357d61
Remove the --save flag (#2503) 2020-09-04 14:32:21 +02:00
Ifedapo .A. Olarewaju
d1d0dc930b
companion: remove support for legacy instagram API (#2499) 2020-09-02 22:45:49 +01:00
kode-ninja
c5383528fb
Improved validateParameters() error message (#2480)
Added the invalid "params" to the error message so it'll be easier to understand the problem and how to fix it
2020-09-02 16:47:25 +02:00
Iman Ghasrfakhri
53cf7b7fe6
Improve fa_IR Translations (#2494) 2020-09-02 16:46:15 +02:00
Tunghsiao Liu
609f38c8dd
locales: fix missleading strings for zh_CN (#2498) 2020-09-02 13:58:28 +02:00
Renée Kooi
46c366389f
react-native: fix lint 2020-09-02 13:22:08 +02:00
Johnny Perkins
39420461c8
companion: exclude non downloadable files in fetched list for dropbox (#2493) 2020-09-01 11:56:18 +01:00
Ifedapo .A. Olarewaju
84718fe122
companion: fix multipart upload (#2490) 2020-08-31 16:10:25 +01:00
Renée Kooi
c5a8ac8c59
react-native: remove extraneous comma 2020-08-31 13:19:50 +02:00
Andrew
15e97f5c65
react-native: Fix react native expo permissions (#2418)
* dash: Add support for AVIF images in thumbnails

I added support to load thumbnails when uploading AVIF images, by adding 'avif' to the regex. I also updated the unit test.

Note that support for this is dependant on browser support, and currently only Chrome 85+ and Firefox 77+ support it (Firefox requires flag to be set to allow it)

* Allowed HTML Attributes to be passed via props

This fix still needs some work, as certain attributes could be passed to Uppy or as an HTML attribute, such as target

When this is fixed, this will resolve #2403

* fix: Fixed issues caused by moved dependencies

* Revert "Allowed HTML Attributes to be passed via props"

This reverts commit d7f8076fb3.

* Fixed dependencies
2020-08-31 11:53:45 +01:00
Calvin Yu
a4693ed8e4
companion: Support running standalone with custom options (#2428)
* Support running standalone with custom options

* Move server.js logic into index.js
2020-08-31 09:48:40 +01:00
Renée Kooi
9c8ff48d90
aws-s3-multipart: fix stuck upload with limit: 1 (#2475)
Fixes #2463

There was an issue with the timing of the `_uploadParts()` call. That
function is responsible for _starting_ the upload of multiple parts of
the file. It can start up to `limit` simultaneous uploads, depending on
how many parts are currently uploading.

`_uploadParts()` was called during the completion code for an individual
part. However, the `partsInProgress` state would not be updated until
_after_ the completion code had run. So, inside `_uploadParts()`, it
would see an outdated `partsInProgress` value. Often, this worked OK (if
not optimally) because there would likely be another part in progress,
and once _that_ finished, there would be space again in the
`partsInProgress` value. However, this was _not_ the case if `limit` was
set to 1. In that case, the first part would finish, then we would enter
`_uploadParts()`, and it would see that we were at the limit: it would
not start a new part upload. After, it would never be called again.

This moves the `_uploadParts()` call to _after_ the part upload
completion code. It is now inside `_uploadParts()`, which I think
generally makes the sequencing a bit more clear. Everything related to a
single part upload now has to be complete before `_uploadParts()` runs
again.
2020-08-31 10:24:34 +02:00
Enrique Mejia
886f059694
companion: add calculated content-length for multipart uploads (#2466)
* companion: add calculated content-length for formdata and body cases

* companion: append fieldname and emit error in form data

Co-authored-by: Ifedapo .A. Olarewaju <ifedapoolarewaju@gmail.com>

* companion: change _handleUploadMultipart to _onMultipartComplete

* companion: use async fs.stat

Co-authored-by: Enrique Jhonatan Mejia Venegas <enrique.mejia@LIM-WS1807.local>
Co-authored-by: Ifedapo .A. Olarewaju <ifedapoolarewaju@gmail.com>
2020-08-28 13:02:58 +01:00
Ifedapo .A. Olarewaju
063c015539
companion: validate url for truthy value (#2484) 2020-08-27 11:07:52 +02:00
Renée Kooi
bf48826dba
aws-s3: add default locale for MiniXHRUpload, fixes #2459 (#2477) 2020-08-27 10:29:51 +02:00
Lea Anthony
9b749e6119
fix: translations for capturing (#2482) 2020-08-27 10:29:08 +02:00
Renée Kooi
f3721ba16a
Update Jest to v26, raise Companion requirements to Node.js >= 10.20.1 (#2472) 2020-08-20 11:22:58 +02:00
Renée Kooi
769bd9747d
webcam: add videoConstraints option (#2362)
* allow webcam to accept constraints as option

* webcam: add typings for `videoConstraints`

* docs: update docs for the new webcam videoConstraints option

* Update website/src/docs/webcam.md

* webcam: prefer videoConstraints.facingMode over facingMode

* webcam: merge in setOptions

* webcam: handle case where constraints cannot be satisfied

Co-authored-by: Kevin Southworth <kevin.southworth@webascender.com>
2020-08-19 14:20:21 +01:00
ifedapoolarewaju
32e5445fac
Release 2020-08-17 15:08:07 +01:00
Ifedapo .A. Olarewaju
f311e34bfe
companion: add deauthorization callback endpoint (#2470)
* companion: add deauthorization callback endpoint

* companion: remove custom option

* companion: fix test
2020-08-17 12:26:35 +01:00
Ifedapo .A. Olarewaju
76e3bb8ad7
companion: remove ouath scopes for zoom (#2464)
* companion: remove ouath scopes for zoom

* companion: fix test
2020-08-14 12:30:24 +01:00
Renée Kooi
335079d222
deps: upgrade ESLint to v7 (#2460) 2020-08-13 12:46:22 +02:00
Renée Kooi
35ca9a84f8
Release 2020-08-13 10:51:47 +02:00
Renée Kooi
3cd5791f0d
transloadit: add auth.expires type, fixes #2454 (#2457) 2020-08-13 10:40:58 +02:00