Commit graph

7579 commits

Author SHA1 Message Date
Ifedapo .A. Olarewaju
29e2af05e4
companion: check env for truthy value (#2283)
fixes #2066
2020-05-21 22:14:17 +01:00
Ivaylo Dimitrov
2be9d4f9f8
Add new localization for Bulgarian language [bg_BG] (#2280)
Inherited from the up-to-date en_US localization
2020-05-21 00:19:15 +02:00
Ifedapo .A. Olarewaju
eff4ae9299
companion: validate companion options for non-standalone usage as well (#2275)
this is breaking change since the validation may throw an error
2020-05-20 10:12:04 +01:00
Renée Kooi
547ef058c7
companion-client: add missing dependency, fixes #2266 2020-05-18 14:31:41 +02:00
Renée Kooi
ba4f182c48
aws-s3-multipart: make chunk size configurable, fixes #1543 (#2253) 2020-05-18 14:23:06 +02:00
Renée Kooi
811d763e16
core: add some more suggestions to the incorrect target warning (#2242) 2020-05-15 20:41:39 +02:00
Lars Fernhomberg
817d5ab225
Added option to display error messages for each files in dashboard (#2224)
* Added option to display error messages for each files in dashboard

* Changed default behavior to always show icon

* docs: use default value for `showErrorIconInFileList` like with other options

* rename css class, add it to the Dashboard css, remove the option

Co-authored-by: Renée Kooi <renee@kooi.me>
Co-authored-by: Artur Paikin <artur@arturpaikin.com>
2020-05-15 20:40:44 +02:00
Artur Paikin
43006c2552
drag-drop: Add label for the input for better a11y (#2257)
* add label for the input for better a11y

* Update packages/@uppy/drag-drop/src/index.js

* use this.uppy.id
2020-05-15 17:15:14 +02:00
Stanislav Červeňák
c6af18b80b
Create sk_SK.js (#2261)
* Create sk_SK.js

* Update packages/@uppy/locales/src/sk_SK.js

Co-authored-by: Artur Paikin <artur@arturpaikin.com>
2020-05-14 20:04:41 +02:00
Ifedapo .A. Olarewaju
b5c67e6ea1
companion: check if body is present in error response (#2264)
fixes #2254
2020-05-13 13:49:48 +01:00
Renée Kooi
58cf8e8deb
utils: fix Translator constructor type, fixes #2263 2020-05-13 13:02:04 +02:00
ifedapoolarewaju
5d4dc0ea7c
apply agreed changelog format 2020-05-11 21:53:36 +01:00
ifedapoolarewaju
ec125eec1d
Merge branch 'master' of github.com:transloadit/uppy 2020-05-11 16:13:06 +01:00
ifedapoolarewaju
ba970ba6dd
update release changelog 2020-05-11 16:05:07 +01:00
Renée Kooi
887103ef55
website: list robodog size, sort plugins by name (#2259) 2020-05-11 16:44:44 +02:00
Renée Kooi
d67ff8d884
build: fix type cast 2020-05-08 11:23:36 +02:00
Kevin van Zonneveld
803611ed04
Move @uppy/utils/lib/prettyBytes -> @transloadit/prettier-bytes (#2231)
* Move @uppy/utils/lib/prettyBytes -> @transloadit/prettier-bytes so we can more easily re-use it across projects

* Switch to MIT licensed @transloadit/prettier-bytes

* lockfile fun

* build: add dep for website/inject.js

Co-authored-by: Renée Kooi <renee@kooi.me>
2020-05-07 16:54:13 +02:00
Nico Jones
3ebe9a91be
Hide Progressbar if no upload in progress (#2252)
* Fixing an error that would prevent the ProgressBar from hiding

Fixing an error that would prevent the ProgressBar from hiding, displaying a `0` in the HTML element .uppy-ProgressBar-inner whenever no files were being uploaded. This fix sets the .uppy-ProgressBar element a class, so the user can decide when to hide it (or what to do)

* Update index.js

improved comment

* removed custom class

* Fixing an error that would prevent the ProgressBar from hiding

`state.totalProgress` is not `100`. It's `0` instead   
----------

To reproduce the error:  
```
.use(ProgressBar, {
  target: '._progress_bar_',
  fixed: false,
  hideAfterFinish: true
})
```

This will set a `div` inside the `_progress_bar_` element, and this element will be visible, showing `0` to the user.

The problem is that, currently, the bar only hides when `progress === 100`, but that is never true, as `progress` resets to `0` once the upload has been completed.
That means, it is __always__ visible, and only hidden for a brief period after an upload completes (when the `progress === 100`, briefly).

This fix allows the bar to be hidden also when the progress is `0` (after and before uploads)
2020-05-07 16:37:39 +02:00
Renée Kooi
ef4468934d
tus: use hasProperty util to make this if condition more readable 2020-05-06 13:06:15 +02:00
Renée Kooi
77e197fdda
thumbnail-generator: generate 80% quality jpegs (#2246)
As suggested in #2204. In my unscientific test, this is actually quite a bit faster, by about 33%!
2020-05-05 18:07:58 +02:00
Alexander Zaytsev
57da3a5a80
Dark mode design improvements (#2232)
* Modify highlight/link color

* Paler dashed outline

* Simpler input focus

* Tweak statuses' gray

* Tweak & fix :focus colors

* Swap TabBtn hover/focus colors

* Tweak dark focus outline

* Darker actionBtn

* Webcam button support

* Add isDraggingOver support

* Add ScreenCapture support

* ProviderBrowserItem-inner support

* Better fakeCheckbox support
2020-05-05 18:02:24 +02:00
Renée Kooi
0cc2c360cf
List virtualization and lazy thumbnails (#2161) 2020-05-05 12:22:15 +02:00
Artur Paikin
216e481ed5 Fix ancor scroll overflow
Mentioned here https://github.com/transloadit/uppy/pull/2128#issue-387905559

https://mobile.twitter.com/hakimel/status/1257252729128435712 thanks @nqst ;)
2020-05-04 16:34:28 +02:00
Renée Kooi
93ebc3b389
transloadit: add typings for Companion URL constants (#2244) 2020-05-04 14:03:09 +02:00
Renée Kooi
4ddeacff7a
changelog: remember to remove UPPY_SERVER const from :tl: plugin at 2.0 2020-05-04 12:36:09 +02:00
Renée Kooi
3da7d8938d
Update lockfile. 2020-05-04 11:56:15 +02:00
Renée Kooi
f04e9c80f5
changelog: add 1.14 changes 2020-05-04 11:54:45 +02:00
Tobias L. Maier
e5c854e12a
Add cuid dependency to @uppy/aws-s3 (#2236) 2020-05-02 10:55:26 +02:00
ifedapoolarewaju
57d1fed984
Release 2020-05-01 08:19:45 +01:00
ifedapoolarewaju
379be41560
update package-lock 2020-05-01 08:02:37 +01:00
Ifedapo .A. Olarewaju
a3a48895c0
companion: make it node 8 compatible (temporarily) (#2234) 2020-05-01 07:49:39 +01:00
ifedapoolarewaju
5528c6f6ea
Release 2020-04-30 12:52:46 +01:00
Ifedapo .A. Olarewaju
97b311324d
companion: catch download failures via response status codes (#2223)
* companion: catch download failures via response status codes

* companion: fix test

* companion: refactor provider file download + status code handling
2020-04-30 11:53:59 +01:00
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
4dce124013
examples: fix a case typo :) 2020-04-29 16:34:04 +02:00
Renée Kooi
d043677c16
examples: fix screen capture toggle in dashboard example 2020-04-29 16:03:15 +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
684c59c794
Merge pull request #2222 from transloadit/dark-mode-fixes
Dashboard Dark Mode: move from white to off-white
2020-04-24 13:36:43 +03: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
ecb1a22a3d tel 2020-04-23 14:19:03 +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