Commit graph

7753 commits

Author SHA1 Message Date
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
Ifedapo .A. Olarewaju
97db6f3d43
website[docs]: add add-on section to Zoom docs (#2452) 2020-08-11 17:42:36 +01:00
Renée Kooi
20d540ee58
changelog: make-version-table 2020-08-11 14:52:42 +02:00
Renée Kooi
2fdf880064
tus: docs-deprecate autoRetry (#2347)
* tus: deprecate autoRetry

`autoRetry` retries failed uploads when the user's internet connection
comes back up after an outage. It's not totally clear from the name that
that is what it does: it could also just retry automatically after a
failure generally.

This feature can be implemented by users like this:
```js
uppy.on('back-online', () => {
  uppy.retryAll()
})
```
I think that's clearer than `autoRetry: true`, and we don't even have
to come up with a name!

Since the implementation is trivial and the functionality is independent
of tus, it probably shouldn't live in the plugin. Users can copy the
three lines from the docs and use it that way. We could also consider
moving it into `@uppy/core`.

* tus: fill in pr url

* tus: revert runtime deprecation

* changelog: remove deprecated `autoRetry` in 2.0
2020-08-11 13:37:15 +01:00
Ifedapo .A. Olarewaju
f35f1c610b
website[docs]: add documentation for zoom plugin (#2448) 2020-08-11 10:33:46 +01:00
Renée Kooi
8a1ead8b53
Release 2020-08-10 17:49:30 +02:00
Renée Kooi
ee2ff16ce4
changelog: 1.20 2020-08-10 17:40:11 +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
Alexander Zaytsev
d0c827a4a8
Bunch of website fixes (#2433) 2020-08-06 15:01:08 +02:00
Renée Kooi
21f3a8596e
Re-enable Safari on Sauce (#2430) 2020-08-03 17:56:13 +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
Ifedapo .A. Olarewaju
53702d79cf
website: enable zoom example conditionally + remove conditional instagram graph example (#2422) 2020-07-31 15:44:57 +01:00
ifedapoolarewaju
0658050840
Release changelog 2020-07-30 16:39:24 +01:00
ifedapoolarewaju
cb6ba02493
Merge branch 'master' of github.com:transloadit/uppy 2020-07-30 15:56:12 +01:00
ifedapoolarewaju
36ab6f1d49
Release 2020-07-30 15:52:20 +01:00
Elena Lape
a27266e96a
Merge pull request #2417 from transloadit/ph-banner
Remove PH link from Transloadit banner
2020-07-30 15:12:24 +01:00
Elena Lape
7cdbd70d84
Remove PH link from Transloadit banner 2020-07-30 14:48:54 +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
a81e357e32
changelog: 1.19.1 2020-07-29 17:02:43 +02:00
Renée Kooi
2d91641ddd
Release 2020-07-29 16:50:45 +02:00
Renée Kooi
4ff28bee2a
website: also escape output in dragdrop example 2020-07-29 16:43:20 +02:00
Renée Kooi
3286f935e9
website: fix unescaped html output, thanks Shivprsad Sammbhare
Reported by https://linkedin.com/in/shivprasadsambhare
2020-07-29 15:26:38 +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
Elena Lape
e2bcc57810
Add PH link to top Transloadit banner (#2400) 2020-07-27 16:38:58 +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
Renée Kooi
a0a4bef6ab
build: commit lerna's lockfile change 2020-07-26 15:26:49 +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
Renée Kooi
d8b1eadf49
build: fix source map generation 2020-07-23 12:40:06 +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
5e4a99a113
changelog: update for 1.19.0 2020-07-21 16:44:42 +02:00