Commit graph

1312 commits

Author SHA1 Message Date
Ifedapo .A. Olarewaju
81f61d3c33
companion: mask secrets present in log messages (#2214)
* companion: mask secrets present in log messages

* companion: escape secrets that should be masked

* companion: log error stacks optionally

* companion: restore old node enging compatibility

* companion: refactor conditional error response
2020-04-30 10:37:31 +01:00
Renée Kooi
6e2dfd7c0f
Release 2020-04-29 17:45:02 +02:00
Renée Kooi
9fb55428b5
thumbnail-generator: use new exifr.rotation() API (#2230)
* thumbnail-generator: use new exifr.rotation() API

* thumbnail-generator: remove test, outdated comment
2020-04-28 14:59:21 +02:00
Renée Kooi
8fd3f591d0
test: make endtoend tests runnable with local IEDriverServer 2020-04-27 15:38:35 +02:00
Renée Kooi
e38fcf7d2d
locales: remove obsolete strings from non-English languages 2020-04-27 13:40:08 +02:00
Alexander Zaytsev
edb0508bce Merge branch 'master' into dark-mode-fixes 2020-04-24 13:35:22 +03:00
Renée Kooi
8e5b86b839
Dependency and CI updates (#2217) 2020-04-24 11:05:47 +02:00
Artur Paikin
63a9e4ea60 Revert "remove extra space"
This reverts commit 4f534d97b5.
2020-04-24 10:13:33 +02:00
Artur Paikin
4f534d97b5 remove extra space
@kiloreux was the space intended here, what do you think?
2020-04-24 09:43:45 +02:00
Artur Paikin
df9739e24a remove unused strings 2020-04-24 09:32:15 +02:00
Flo
273439a1a5
Update FR locale (#2216) 2020-04-24 09:29:40 +02:00
Artur Paikin
53138f48f8 move from white to off-white 2020-04-24 09:17:37 +02:00
Artur Paikin
908598c5d8
Fix build locales (#2221)
* add empty userAgent

//cc @MikeKovarik

* remove unused locale strings

* remove i18n from aws-s3 — it was unused?

/cc @goto-bus-stop
2020-04-23 11:54:07 +02:00
Renée Kooi
6072b1625f
screen-capture: add type tests (#2218) 2020-04-23 10:57:58 +02:00
Romain Preston
4e1f21ce5f
fix double encoding of the upload params (#2220) 2020-04-22 15:16:57 +02:00
Renée Kooi
3277339899
companion: improve obscuring sensitive values in standalone server (#2219) 2020-04-22 14:39:38 +02:00
Artur Paikin
320d73e46b
Exifr use .js (#2215)
* Revert "Revert "Use .js import for exifr in Thumbnail Generator (#2195)""

This reverts commit bf1ad04b86.

* upgrade exifr
2020-04-22 09:57:51 +02:00
Artur Paikin
a6c8ef15e1
ScreenCapture plugin for screenshots / screen recordings (#2132)
* Finnish locale semantics improved

* Finnish semantics improved

* Screen capture initial commit

* Fix. Removed audio constraint from video.

* ui improvements

* so Lerna doesn’t try to publish as private

* refactor, tweak icons

* remove commented code from webcam styles

* Check for MediaRecorder (hides button in Safari) and refactor everything

* update readme

* beta for now

Co-authored-by: Miika Jukakoski <miika.jukakoski@ourmind.io>
2020-04-21 20:47:20 +02:00
Artur Paikin
ed8a494875
Mark network errors as NetworkError (#2110)
* Add NetworkError error type and isNetworkError utility check

* Detect network errors in tus and xhr-upload

Co-Authored-By: Ifedapo .A. Olarewaju <ifedapoolarewaju@gmail.com>

* add NetworkError check to RequestClient in companion-client

* return false if !xhr 🙈

* move catch so that only errors from _checkMinNumberOfFiles are caught — errors from uploads are logged in `upload-error` already

//cc @goto-bus-stop

* Add NetworkError to MiniXHRUpload in aws-s3

//cc @goto-bus-stop

* Add tests

//cc @ifedapoolarewaju

* pass xhr to NetworkError

* add logging in catch of uppy.upload()

* start error message with “This looks like a network error”

* originalRequest --> request, return NetworkError right away

* check for NetworkError in `delete` as well

do we need it in preflight too, @ifedapoolarewaju?

* remove redundant error message re-declaration

* _showOrLogErrorAndThrow, but don’t showInformer

Co-authored-by: Ifedapo .A. Olarewaju <ifedapoolarewaju@gmail.com>
2020-04-21 10:36:49 +02:00
Ifedapo .A. Olarewaju
1141e3c6a0
companion,xhr-upload,aws-s3: send useFormData option in companion (#2178)
fixes #2039
2020-04-20 20:14:20 +01:00
Ryan Schumacher
87c4deb45c
Remove duplicate check of element type (#2210) 2020-04-20 11:26:41 +02:00
Ignacio G
eb82c5c15a
Fixing Safari type error (#2207) 2020-04-18 14:48:09 +02:00
Zachary Lawson
b02bb2c517
Update README.md (#2206)
Update Heroku instructions to reflect the latest version which includes Facebook and OneDrive providers
2020-04-17 10:40:43 +02:00
kiloreux
e101256350
Fixes and upgrades (#2198) 2020-04-16 22:38:46 +02:00
Louis-Michel Couture
c2df2e4699
More accurate french translation of powered by (#2203) 2020-04-16 13:09:08 +02:00
ifedapoolarewaju
323233488f
Release 2020-04-15 20:07:42 +01:00
Ifedapo .A. Olarewaju
cf0fff137f
companion: mimetype could be empty :/ (#2201) 2020-04-15 19:48:00 +01:00
Artur Paikin
5752662a93 Release 2020-04-14 22:25:47 +02:00
Artur Paikin
bf1ad04b86 Revert "Use .js import for exifr in Thumbnail Generator (#2195)"
This reverts commit 4b1297f71a.
2020-04-14 22:17:36 +02:00
Ifedapo .A. Olarewaju
9979d38bfa
Set gsuite file extensions (#2194)
* companion: add file extensions to gsuite file names + send back target mimetypes

* companion: don't iterate "undefined"
2020-04-14 20:39:12 +02:00
ifedapoolarewaju
73f2aaea37
test: use random urls to avoid confusion 2020-04-14 16:28:19 +01:00
Ifedapo .A. Olarewaju
b27d678161
companion: fix uploader protocol validation (#2197)
* companion: fix uploader protocol validation

fixes #2188

* test: use correct tus URL

* companion: make it support node 6
2020-04-14 13:32:00 +01:00
Arthur Puyou
4b1297f71a
Use .js import for exifr in Thumbnail Generator (#2195)
Current build tools seem to have issues importing .cjs files
2020-04-14 14:02:31 +02:00
Ifedapo .A. Olarewaju
3304358954
companion: set debug based on NODE_ENV only if the env is available to begin with (#2189) 2020-04-13 23:21:46 +01:00
Artur Paikin
d85185559d
Dashboard tablist IE10 flex fix and refactor (#2192)
* Refactor Dashboard provider list flexbox styles to work in IE10

* Refactor and cleanup

* tweak title width
2020-04-13 10:45:48 +02:00
Renée Kooi
7bf390abda
add markdown linting using remark (#2181)
* build: add markdown linting

* build: support markdown front matter

* build: fail remark lint on warnings

* Fix markdown lint warnings

* changelog: fix markdown errors, allow literal URLs

* ci: add markdown lint step

* website: regenerate contributing.md

* build: properly ignore vendor and built files from remark-lint

* build: add private packages to lerna config
2020-04-13 09:48:11 +02:00
ifedapoolarewaju
0481589f3b
Release 2020-04-08 17:37:56 +01:00
Ifedapo .A. Olarewaju
37ecb0d114
companion: favor xlsx, docx, ppt formats when export gsuite files (#2182) 2020-04-08 16:54:58 +01:00
Renée Kooi
f053124b89
locales: remove legacy translations that have been re-translated
We're only missing Norwegian still from the old locale set.
2020-04-08 12:04:04 +02:00
Ifedapo .A. Olarewaju
40bb4989e8
companion: use full path for provider URL when the root path depends on user input (#2176) 2020-04-06 13:25:36 +01:00
Renée Kooi
ab76448508
aws-s3: handle upload internally instead of deferring to xhr-up… (#2060)
* aws-s3: handle actual upload internally instead of deferring to XHRUpload

* aws-s3: add a comment explaining the mess

* aws-s3: move XHRUpload code into a separate class

* utils: support prioritization in rate limiting queue

* aws-s3: remove old implementation

* core,status-bar: account for pre/postprocessing files in progress calculations

* changelog: add entry for this PR

* utils: Support cancellation in `RateLimitedQueue#wrapPromiseFunction`

* s3: remove preprocessing stage, only use upload-* events

* utils: remove console.log

* aws-s3: comment out duplicate `upload-started`

* xhr-upload: reorder `ProgressTimeout` creation for readability

* aws-s3: apply 7d972e0 to MiniXHRUpload

* aws-s3: apply 4ed7508 to MiniXHRUpload
2020-04-06 13:53:21 +02:00
Renée Kooi
ad14a01ae9
aws-s3: fix missing typescript type for metaFields option
https://github.com/transloadit/uppy/pull/1866#issuecomment-608366065
2020-04-06 12:05:47 +02:00
Artur Paikin
a9a00b1d81
Pass hideUploadButton to Dashboard in Robodog too (#2169)
* Pass hideUploadButton to Dashboard in Robodog too

* add proudlyDisplayPoweredByUppy and theme
2020-04-06 11:31:41 +02:00
Renée Kooi
9247c4e024
dashboard: add theme option to typescript typings. 2020-04-06 11:24:56 +02:00
ifedapoolarewaju
7cb93d7502
companion: fix type check errors 2020-04-05 18:01:46 +01:00
Ifedapo .A. Olarewaju
8ecfa9749e
aws-s3-multipart: emit upload-error when companion returns error during upload instantiation (#2168) 2020-04-05 17:18:44 +02:00
Artur Paikin
4eee20aa18 Release 2020-04-01 22:29:44 +02:00
Ifedapo .A. Olarewaju
7d972e09a4
tus,xhr-upload: emit error when companion returns error during upload creation (#2166) 2020-04-01 22:14:45 +02:00
Artur Paikin
89c04b8516
Add facebook and onedrive (#2167)
🙈
2020-04-01 21:14:10 +02:00
Renée Kooi
700863e46e
Release 2020-04-01 17:32:30 +02:00