Commit graph

7168 commits

Author SHA1 Message Date
ifedapoolarewaju
83d3fcb4e4
website: add facebook to dashboard example 2019-11-04 15:45:07 +01:00
Renée Kooi
13ad48c1f5
docs: update contributing.md now that lerna supports 2FA 2019-11-04 11:57:54 +01:00
Renée Kooi
d8ae9b35ff
changelog: add 1.6.0 version table 2019-11-04 10:59:08 +01:00
Renée Kooi
c370dba0b6
Release 2019-11-04 10:56:06 +01:00
Renée Kooi
5f5f23289e
changelog: 1.6 2019-11-04 10:34:34 +01:00
Artur Paikin
4e54483e61 core: setOptions for Core and plugins (#1728)
* Add a method to update options in Core

* Add a method to update options in Plugin (for any plugins)

* Allow re-initializing i18n locales after they’ve been updated with .setOptions

* use rest spread instead of Object.assign

* override setOptions in plugins to include i18nInit

* merge restrictions object in setOptions

* check that newOpts exists

* add spread ...

* don’t double merge

* add i18nInit to all plugins that use translation strings

* add setOptions tests to Core and Dashboard

* add setOptions docs for Core and Plugins

* fix tests for thumbnail-generator by adding plugins: {} to mock core

cause ThumbnailGenerator now calls this.setPluginState, which expects `core.state.plugins`

* also update meta with setOptions if it’s passed, change the way this.opts is set in core

@goto-bus-stop does this look ok? merging restrictions opts in core

* if locale was passed to setOptions(), call plugin.setOptions() on all plugins, so that i18n updates

* add Dashboard test that checks if locale is updated from Core via setOptions()

* Reafactor website Dashboard example to use setOptions and allow selecting a locale

🎉
2019-11-04 10:33:30 +01:00
Ifedapo .A. Olarewaju
a7df18ecfa
Merge pull request #1925 from transloadit/document-companion
docs: update companion documentation
2019-11-01 11:07:53 +01:00
Renée Kooi
1ab63aa395
examples: support COMPANION_AWS_ENDPOINT env var in aws+companion example 2019-11-01 10:29:55 +01:00
ifedapoolarewaju
e4546be8ad
docs: update companion documentation 2019-10-31 09:18:42 +01:00
Alexis Hope
07b250dc25 Add a note about response parameter (#1921)
* remove response parameter from upload error

* upload-error repsonse parameter
2019-10-30 12:18:22 +01:00
Artur Paikin
b51c32105d
Better styling, remove checkboxes (#1913)
//cc @tim-kos
2019-10-29 15:54:02 +03:00
Renée Kooi
d4097f09bf
transloadit: send Transloadit-Client header with HTTP API reque… (#1919)
* Send Transloadit-Client headers with API requests.

* Conditionally add xhr/s3 versions

* transloadit: less verbose

* fix `this`
2019-10-28 19:43:03 +01:00
Ifedapo .A. Olarewaju
1c61e02d57
Merge pull request #1909 from transloadit/terminat-tus-upload
tus,companion: terminate tus upload on-upload cancel
2019-10-28 15:39:00 +01:00
Ifedapo .A. Olarewaju
2f05729a0c
Merge pull request #1901 from transloadit/lgtm-security-issues
companion: conditionally set Access-Control-Allow-Credentials
2019-10-28 13:46:06 +01:00
Óli Tómas
542f668f1c Added Icelandic 🇮🇸 (#1916)
* Added Icelandic

* eslint --fix
2019-10-28 12:57:28 +01:00
HuyDD
0ef77e24b0 fix: provider views breadcrumbs is failed to render (#1914)
* fix: provider views's breadcrumbs is failed to render

* fix eslint

* provider-views: use JSX syntax for Breadcrumbs
2019-10-28 11:55:02 +01:00
Ifedapo .A. Olarewaju
ed1405d9c4
Merge pull request #1917 from transloadit/dropbox-thumbnail-size
companion: set a more visible thumbnail size for dropbox
2019-10-28 11:38:48 +01:00
ifedapoolarewaju
0a2387bf1f
companion: set a more visible thumbnail size for dropbox
fixes #1904
2019-10-27 09:07:16 +01:00
ifedapoolarewaju
bad02f9a69
tus: wait for previous request to get aborted 2019-10-27 08:09:36 +01:00
Artur Paikin
b72674c8dc Add Facebook and OneDrive to readme 2019-10-25 18:42:19 +03:00
Craig S. (sercraig)
114f00da21 Minor wording and formatting changes (#1900)
* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md
2019-10-25 18:37:19 +03:00
Aaron Ross
44bcea6d03 add UppyFile.response typing (#1882)
* add UppyFile.response typing

* add some `file.response` type tests
2019-10-25 16:23:30 +02:00
Juliano
073937d512 fix: skip upload-success event for a file that has been removed (#1875)
* fix: skip upload-success event for a file that has been removed

* eslint --fix
2019-10-25 13:16:59 +02:00
Renée Kooi
0f269fc054
utils: accept sync functions in wrapPromiseFunction() (#1910)
* utils: add failing test for wrapPromiseFunction(syncFn)

* utils: promisify non-promise-returning functions in wrapPromiseFunction()
2019-10-25 11:07:06 +02:00
Artur Paikin
3d2d23092a
Fix image size for smaller images in grid layout; also make sure checkbox never shrinks (#1897) 2019-10-24 12:59:38 +03:00
Ifedapo .A. Olarewaju
d15e7c76a5
Merge pull request #1911 from transloadit/upgrade-connect-redis
companion: upgrade connect-redis
2019-10-24 10:55:39 +01:00
ifedapoolarewaju
79958b1d51
companion: upgrade connect-redis
fixes #1899
2019-10-23 15:09:26 +01:00
Matthias Kunnen
ddb8f4e702 Allow passing meta type to upload-success and complete events (#1879) 2019-10-23 15:03:46 +02:00
Steve Robinson
14acebc43d Add S3 useAccelerateEndpoint to Companion (#1884)
Expose S3 client's useAccelerateEndpoint option that enables usage of Transfer Acceleration endpoint - https://docs.aws.amazon.com/AmazonS3/latest/dev/transfer-acceleration.html
2019-10-23 15:01:49 +02:00
ifedapoolarewaju
c7828139ed
tus,companion: terminate tus upload on-upload cancel
fixes #1544
2019-10-23 11:27:44 +01:00
ifedapoolarewaju
9b90c808b5
companion: set Access-Control-Allow-Credentials only when request origin is whitelisted 2019-10-21 08:41:20 +01:00
Mark Skelton
84c3eda830 docs: Rename markypython username (#1898) 2019-10-19 09:05:07 +02:00
Ifedapo .A. Olarewaju
94d764c841
Merge pull request #1886 from transloadit/facebook-grid-view
facebook, provider-views: support list + grid view for facebook
2019-10-16 15:39:31 +03:00
Ifedapo .A. Olarewaju
731114735e
provider-views: remove debug log 2019-10-14 18:24:44 +03:00
Ifedapo .A. Olarewaju
95e0707fcb
provider-views: object spread
Co-Authored-By: Renée Kooi <renee@kooi.me>
2019-10-14 18:23:19 +03:00
Renée Kooi
0d233eca88
changelog: 1.5.2 2019-10-14 16:55:14 +02:00
Renée Kooi
aea91d00db
Release 2019-10-14 16:49:30 +02:00
Renée Kooi
d474ffeb42
Merge branch 'master' of github.com:transloadit/uppy 2019-10-14 16:45:57 +02:00
Renée Kooi
b2f158e45e
Release 2019-10-14 16:43:19 +02:00
Renée Kooi
68858c34fb
changelog: 1.5.1 2019-10-14 16:40:57 +02:00
Renée Kooi
b501b7fce2
Let lerna ask for OTP 2019-10-14 16:37:13 +02:00
Renée Kooi
dc4420e019
dashboard: fix retry icons on individual files (#1888)
The `...props` object that we were spreading into `<FileProgress />`
contained another, different `error` prop, which was empty for
individual file upload failures. By putting the `...props` spread in
front, the file-specific error takes precedence over the global error.

Fixes #1881
2019-10-14 16:32:30 +02:00
Renée Kooi
abaf7947c0
aws-s3-multipart: advance queue after local file upload complet… (#1887)
I must've tested with just remote files and missed these missing bits in
the local file upload code 😩

Will do a patch release asap when this lands.
2019-10-14 16:32:14 +02:00
Kevin van Zonneveld
9d940193c4
Update CHANGELOG.md 2019-10-14 13:50:23 +02:00
Renée Kooi
d5bb8fc167
facebook,onedrive: fix package.json descriptions 2019-10-14 13:30:42 +02:00
ifedapoolarewaju
c2e3e1b611
facebook, provider-views: support grid view for facebook 2019-10-14 04:50:51 +03:00
Artur Paikin
fea453b7a9 Add css require to Robodog docs 2019-10-12 17:23:39 +03:00
Renée Kooi
50bbeb0245
core: provide default error message (#1880)
We were already doing `if (file.error)` in places, now that is
guaranteed to work even if the error message was empty or the error
object is custom and doesn't have a `.message` property.
2019-10-11 16:42:40 +02:00
Artur Paikin
d3e8779d36
Publish 1.5 post 2019-10-11 17:31:36 +03:00
Renée Kooi
a1eeaa386b
Update babel-eslint and jest
Fixes the `no-unused-vars` issue.

Disables the preflight check in CRA, it has its own isolated module tree
so it was useless anyway.
2019-10-11 16:11:52 +02:00