Commit graph

1443 commits

Author SHA1 Message Date
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
Renée Kooi
700f084e8a
tus: fix fallback to default fingerprint implementation (#2456) 2020-08-13 10:22:40 +02:00
vedran555
d7d54d3dc0
Enable uploading zero-sized file with aws-s3-multipart-upload (#2451)
Co-authored-by: Renée Kooi <renee@kooi.me>
2020-08-13 09:49:22 +02:00
Andrew
e40cd018e1
Fix: Incorrect File Added Count (#2439)
On the dashboard, when uploading a folder, if files from that folder are not successfully added, the count would still say they are there

For example, If you're using Google Drive, and upload a folder with 3 images and 2 mp3 files. If you also have a restriction set to only allow images, Dashboard would still read something like "5 Files Added", even though only 3 would be there. I resolved this by making the `addFile` method in the `provider-views` package return a boolean value based on whether or not the file was added successfully. I then created a count variable with the `addFolder` method and added to that count for every successful addition. Using that count instead of the total count of files in the folder fixes this problem

Resolves #2038
2020-08-13 09:34:49 +02:00
Renée Kooi
8a1ead8b53
Release 2020-08-10 17:49:30 +02:00
Renée Kooi
857c0a30f1
Use latin c character
These two places were using a different character that looks a lot like
`c` but is not quite `c`.
2020-08-10 16:13:51 +02:00
Renée Kooi
2605353acb
docs: make global companion install bash line copy-pasteable, fixes #2438 2020-08-10 15:56:30 +02:00
Renée Kooi
10e0454950
locales: refresh en_US 2020-08-10 13:21:40 +02:00
Renée Kooi
57c928ee86
aws-s3-multipart: handle server returning numbers as strings 2020-08-10 13:21:11 +02:00
Renée Kooi
cb011179a0
status-bar: Specify default for retryUpload, fixes #2442 2020-08-10 12:40:13 +02:00
Anthony Veaudry
8577db1e74
Adds minFileSize option Closes #2389 (#2394)
Co-authored-by: Renée Kooi <renee@kooi.me>
2020-08-06 16:11:55 +02:00
Renée Kooi
52e5fc062b
companion: make npm run test work on windows (#2399) 2020-08-03 15:12:11 +02:00
Renée Kooi
72b52013e1
dashboard: use correct strings on AddFiles UI (#2426) 2020-08-03 14:17:21 +02:00
Renée Kooi
6f5de4211c
transloadit: fully disable Tus fingerprinting (#2425)
In #2239, I added a backwards compatible implementation for the `resume`
option from tus-js-client v1, but forgot to disable it again in the
Transloadit plugin.

Fixes #2382
2020-08-03 13:27:11 +02:00
ifedapoolarewaju
36ab6f1d49
Release 2020-07-30 15:52:20 +01:00
Ifedapo .A. Olarewaju
2a146957a5
companion: add extensions to zoom file names (#2415)
* companion: add extensions to zoom file names

* companion: use ext map for zoom filenames

* companion: zoom filename txt not palin
2020-07-30 14:25:41 +01:00
Ifedapo .A. Olarewaju
b7369acefd
companion: fix zoom logout endpoint (#2414) 2020-07-30 13:18:21 +01:00
mokutsu-coursera
f1ef5bd809
companion,zoom: add implementation for Zoom plugin and Zoom Provider (#2342)
* [WIP] First pass at adding zoom plugin and zoom companion service for allowing imports from zoom cloud

* WIP. Remove zoom example and move zoom companion code into core companion package, update list endpoint to retrieve based on pagination token or dates available, and get size / download endpoint working.

TO DO:
- fix logout / token expiry
- investigate why test for loading config from file is not working as expected
- confirm pagination works

* Modify provider views to allow for cases with zoom provider when insufficient results exist to enable infinite scroll (but users may need to retrieve older results), update types tests. Linters failing on the provider views files

* Update uppy and companion for the zoom integration to use folders to represent months, and retrieve 1 month at a time.

- clean up code around response data items to explicitly show fields, and match style of other provider methods
- update license date to 2020 across repo
- enable download/uploado of json timeline files
- fix companion test to load credentials from file
- remove front end code no longer required now that folders are being used instead of loading more with button

* Change initial check for user authentication to use same endpoint so we can reuse the same app permission list (ie dont require additional permissions to read user data)

* Clean up zoom provider index file, add api call back to retrieve user account information such as created timestamp and email, fix file icons, remove unused strings, remove license date updates from branch

* Add permission list to grant configurations, remove undefined response body check, update error to match style of other providers, reorder svg attribute to match other icons

* Add request to get user email address for when we are retrieving user meetings and meeting recordings within zoom provider, clean up logout api call

* Update adapter to use meeting UUID when returning the meeting id to match the meeting ID associated with the recording file meeting. This should also resolve issues around reused meeting IDs from zoom.

* Fix companion test

* uppy,robodog: do not add zoom yet

* zoom: add publishConfig

* test: remove uppy.Zoom use from typescript e2e test

Co-authored-by: Renée Kooi <renee@kooi.me>
2020-07-30 11:01:21 +01:00
Andrew
5bc704baf5
dash: Add support for AVIF images in thumbnails (#2406)
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)
2020-07-29 18:46:46 +02:00
Renée Kooi
2d91641ddd
Release 2020-07-29 16:50:45 +02:00
Renée Kooi
a8e8a65664
dashboard: do %{browse} the old-style way, too 2020-07-29 15:20:15 +02:00
Renée Kooi
72965029f2
dashboard: mostly restore backwards compatibility for the browse strings (#2397) 2020-07-29 15:15:51 +02:00
Renée Kooi
8c826313b6
A few docs things (#2371) 2020-07-29 12:17:27 +02:00
Renée Kooi
da80f73dcb
revert #2379 (#2405) 2020-07-29 11:28:24 +02:00
Renée Kooi
1e3bc43fbb
aws-s3: remove redundant check
Brought up by @johnnyperkins in
https://github.com/transloadit/uppy/pull/2391#issuecomment-665329514,
thanks!
2020-07-29 11:23:01 +02:00
Renée Kooi
b9657daebf
dashboard: update preact8-css-transition-group 2020-07-27 13:29:58 +02:00
Jonathan Arbely
7a3b585242
Added new string 'browseFiles' (same as 'browse') (#2396)
If 'browseFiles' isn't defined, the default English text will show, which is ofc. undesired.
2020-07-26 15:27:59 +02:00
Renée Kooi
fa079c033b
locales: remove redundant plural forms from Korean 2020-07-26 15:27:16 +02:00
fingul
0868f39043
Update ko_KR.js (#2395)
Add translation for %{browseFiles} / %{browseFolders}.
Modify some nuiance.
2020-07-26 15:00:09 +02:00
Johnny Perkins
649fd84dd7
aws-s3: better typecheck to prevent accessing undefined var (#2388)
* aws-s3: better typecheck to prevent accessing undefined var

* aws-s3: refactor and test isXml

Co-authored-by: Renée Kooi <renee@kooi.me>
2020-07-23 13:23:08 +02:00
Dmitry Ivakhnenko
aca4bc1517
companion-client: use promise chaining instead of wrapping (#2355)
* use promise chaining instead of wrapping

* fix test
* add fetch polyfill

* resolve logout promise after token have been removed
2020-07-22 10:31:53 +01:00
Renée Kooi
6151b33700
Release 2020-07-21 16:49:28 +02:00
Renée Kooi
2dcd91eed9
locales: stub the new strings 2020-07-21 15:38:58 +02:00
bdirito
4ad07f5f1b
Adds the ability to upload whole folders to dashboard (#2334) 2020-07-21 14:19:00 +02:00
Renée Kooi
8d32b6f5a8
dashboard: preact version fun (#2379) 2020-07-20 20:24:38 +02:00
Renée Kooi
6839a4c0d7
tus: fix typo, fixes #2376 (#2378) 2020-07-20 11:28:43 +02:00
Artur Paikin
96715d3260 image-editor: fix crop/rotate/zoom buttons on mobile 2020-07-19 18:44:30 +01:00
Artur Paikin
1faeb43228 Release 2020-07-19 14:37:55 +01:00
Artur Paikin
5b89211e2c Image Editor can’t edit remote files 2020-07-18 10:38:27 +01:00
Artur Paikin
dc64885660 update package.json and package-lock.json 2020-07-18 10:37:50 +01:00
Ifedapo .A. Olarewaju
e4f8da4386
companion: override grant's default redirect_uri for consistent provider options (#2364)
* companion: override grant's default redirect_uri for consistent provider options

* companion[test]: passing tests
2020-07-17 17:24:54 +01:00
Artur Paikin
5c761b8f36 Merge branch 'master' into dashboard-image-cropping 2020-07-16 18:56:15 +01:00
Artur Paikin
bfa3fd729b Add “beta” 2020-07-16 18:36:09 +01:00
Artur Paikin
5cf40d0f00 pass options and i18n 2020-07-16 18:21:17 +01:00
Artur Paikin
735a2f3c21 Types, locales packages, readme 2020-07-16 17:59:04 +01:00
Artur Paikin
32e2e02102 refactor 2020-07-15 17:23:37 +01:00
Artur Paikin
4a2cff37a9 tweak styles and svg accessibility 2020-07-15 16:55:47 +01:00
Artur Paikin
373a2d0f32 move canEditFile to dashboard/index.js to pass down as a prop 2020-07-15 16:51:42 +01:00