Commit graph

7390 commits

Author SHA1 Message Date
ifedapoolarewaju
1096c7e6af
website: optionally point to companion with graph instagram API 2020-03-03 17:41:14 +01:00
ifedapoolarewaju
1938f16fd8
Add 1.9.5 Release changelog 2020-02-28 12:41:04 +01:00
ifedapoolarewaju
7bfc3e7e5f
Release 2020-02-28 12:15:39 +01:00
Ifedapo .A. Olarewaju
4d00ef3429
Merge pull request #2096 from transloadit/oauth-redirect-state
companion: read state from session in oauth-redirect controller
2020-02-28 10:54:35 +01:00
ifedapoolarewaju
a09d76b0c3
update changelog 2020-02-28 10:39:12 +01:00
ifedapoolarewaju
b59d5b4fb6
companion: use state in session in tests 2020-02-27 18:45:12 +01:00
ifedapoolarewaju
7fc4490bb8
companion: read state from session in oauth-redirect controller 2020-02-27 17:28:30 +01:00
ifedapoolarewaju
0bf6e6bd0b
Add 1.9.4 Release changelog 2020-02-27 14:05:36 +01:00
ifedapoolarewaju
ca37f093fe
Release 2020-02-27 13:45:01 +01:00
Ifedapo .A. Olarewaju
7525440229
Merge pull request #2094 from transloadit/fix-http
companion: return the right httpAgent when protocol value contains ":"
2020-02-27 13:26:16 +01:00
ifedapoolarewaju
9b17cf2037
companion: return the right httpAgent when protocol value contains ":" 2020-02-27 12:58:48 +01:00
ifedapoolarewaju
c5750367b7
Add urgency to 1.9.3 changelog 2020-02-26 20:08:36 +01:00
Felipe Gallinari
2f01b49edc
locales: fix pluralization in pt_BR (#2093) 2020-02-26 13:14:19 +01:00
ifedapoolarewaju
a88d564962
Release 1.9.3 changelog 2020-02-26 11:10:07 +01:00
ifedapoolarewaju
b20bc7e1f1
Release 2020-02-26 10:41:36 +01:00
Ifedapo .A. Olarewaju
d98384989f
Merge pull request #2083 from transloadit/validate-url
companion: add stronger validation for urls sent via URL plugin
2020-02-25 12:51:30 +01:00
ifedapoolarewaju
9355c1e313
test: fix truthy check 2020-02-25 12:33:27 +01:00
ifedapoolarewaju
f69e1b1203
test: improve test conditions for IP blocker 2020-02-25 12:12:51 +01:00
ifedapoolarewaju
9a3e27855d
companion: add tests for private IPs blocker 2020-02-25 11:49:29 +01:00
Renée Kooi
191ab53846
companion: use same ts version for deploy 2020-02-24 16:00:09 +01:00
Renée Kooi
fab5c80bfc
Update outdated type dependencies. 2020-02-24 15:32:59 +01:00
Renée Kooi
f984c0901f
Upgrade tsd. 2020-02-24 15:27:33 +01:00
Andy Chong
59bfaf0d20
react/drag-drop: add a type test and document shared props (#2003)
* Update react-dragdrop.md

DragDrop component only accept `uppy` and `locale` props according to the type declared.
```
import { Uppy, Locale } from './CommonTypes';

export interface DragDropProps {
  uppy: Uppy;
  locale?: Locale;
}

/**
 * React component that renders an area in which files can be dropped to be
 * uploaded.
 */
declare const DragDrop: React.ComponentType<DragDropProps>;
export default DragDrop;```

* drag-drop: accept a number for width/height

* docs: add back dragdrop props

* docs: use the same option style as previously [skip ci]

Co-authored-by: Renée Kooi <renee@kooi.me>
2020-02-24 15:13:01 +01:00
Renée Kooi
926cf8ee6d
changelog: remember to upgrade to Preact X for 2.0 2020-02-24 14:12:11 +01:00
Cellvin Chung
6e869a2fc1
Update zh_TW.js (#2075)
* Update zh_TW.js

improved translation quality

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

* npx eslint --fix

Co-authored-by: Artur Paikin <artur@arturpaikin.com>
Co-authored-by: Renée Kooi <renee@kooi.me>
2020-02-24 14:06:01 +01:00
Adam Elmore
513f2f8611
make s3 signed url expiry configurable in companion (#2085)
* make s3 signed url expiry configurable in companion

* add 'expires' option to the companion docs
2020-02-24 11:16:04 +01:00
ifedapoolarewaju
d50dd2a324
chore: use transloadit.com in tests 2020-02-24 09:41:14 +01:00
ifedapoolarewaju
aa1fa38718
companion: allow ip addresses and redirects, but validate against private IPs 2020-02-24 01:33:34 +01:00
Ifedapo .A. Olarewaju
dc3b46039c
website: enable facebook in example (#2076) 2020-02-20 13:37:34 +00:00
ifedapoolarewaju
4aeef4dac0
companion: validate URL ip address via dns lookup 2020-02-20 14:02:19 +01:00
SpazzMarticus
9dfda7593d
Locale DE_de added new keys. (#2084)
Added keys are `noDuplicates` and `noNewAlreadyUploading`
2020-02-19 15:22:35 +01:00
ifedapoolarewaju
924482a7ae
companion: only validate URL for FQDN when debug is off 2020-02-19 11:30:30 +01:00
ifedapoolarewaju
35d51b5d12
companion: add stronger validation for urls sent via URL plugin 2020-02-19 11:16:56 +01:00
Renée Kooi
f5e0298fa5
changelog: fix dates, closes #2081 2020-02-19 10:48:10 +01:00
Artur Paikin
17578e83dc
build: contributors:save fix — the node.js version (#2078)
* Create update-contributors.js

* move `## Contributors` out of `<!--contributors-->`

* use execa

* Update bin/update-contributors.js

Co-Authored-By: Renée Kooi <renee@kooi.me>

* yes, it’s not pretty, but it works?

* switch to execa again: showLogin --> showlogin

thanks @goto-bus-stop

Co-authored-by: Renée Kooi <renee@kooi.me>
2020-02-18 15:36:14 +01:00
Naveed Ahmad
dd3f72aef3
Fix#2071 Check the availability isTypeSupported api before call… (#2072)
* Check the availability isTypeSupported api before calling.

This will fix #2071

* Run `eslint --fix`

Co-authored-by: Renée Kooi <renee@kooi.me>
2020-02-17 12:26:03 +01:00
Artur Paikin
b328a86e9e Release 1.9.2 changelog 2020-02-14 23:29:23 +01:00
Artur Paikin
2c98271103 Release 2020-02-14 23:17:48 +01:00
Artur Paikin
0f5166905c Update package-lock.json 2020-02-14 15:25:40 +01:00
Artur Paikin
3492476075 Add onedrive to uppy package.json 2020-02-14 13:57:12 +01:00
Ifedapo .A. Olarewaju
643305605c
Merge pull request #2055 from transloadit/conditional-cookie
companion: only set cookies for providers that need it
2020-02-13 11:08:19 +01:00
Artur Paikin
1205b9c467 Update CHANGELOG.md 2020-02-13 00:13:11 +01:00
Renée Kooi
8cd801eb3d
ci: the Travis warning lied about this property. The one it suggests does not work! 2020-02-12 16:45:02 +01:00
Renée Kooi
be66c47deb
Actually check types (#1918)
* types: stronger typings

* Remove remaining `declare module` things for uppy.use

* Format types standard-style-like

* Add `target` properties to plugin typings

* Add type for `replaceTargetContent` option

* xhr-upload: allow lowercase method

* opt in to stricter typechecks

* use the strictly typed version in all typings tests

* endtoend: use strict types in typescript test

* Add some comments to the typings file so IDEs will warn about untyped use()

* informer: remove obsolete option from typings

* react: generate prop types based on actual options types

* react: update types

* react: fix import in typings test

* companion-client: add `pluginId` property to ProviderOptions type

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

* core: remove some `any` types

* *: add locale string types

* *: generate locale typings

* core: fix LocaleStrings<> type

* dashboard: add locale string type tests

* tus: inherit options typings from tus-js-client

* transloadit: add missing options types

* ci: do the required build steps before testing typings

* Support TokenStorage in types, add `title?: string` options

* form: update typings

* types: put TokenStorage type in dependents

* Document Uppy.StrictTypes

* if we pin at least we should use the latest

* Allow document.querySelector

I think it's a eslint-plugin-compat bug that it's marking querySelector
as not available in Android Chrome 78.

Co-authored-by: Ifedapo .A. Olarewaju <ifedapoolarewaju@gmail.com>
2020-02-12 16:22:09 +01:00
Renée Kooi
d7b92cc04e
Merge branch 'master' into conditional-cookie 2020-02-12 14:54:40 +01:00
Roman Scher
68639c2bb8
Add Content-Type header to presigned url example (#2061)
* Add Content-Type header to presigned url example

Prevents the main presigned url example from failing in many cases, as the browser does not assign a content type in many cases, but a content type is required by S3. Based on issue https://github.com/transloadit/uppy/issues/1233

* docs: code style

Co-authored-by: Renée Kooi <renee@kooi.me>
2020-02-12 14:52:57 +01:00
Kevin van Zonneveld
4a7fc46aa5 Update CHANGELOG.md 2020-02-12 14:49:43 +01:00
Kevin van Zonneveld
1ee3c46f79 Merge branch 'master' of github.com:transloadit/uppy 2020-02-12 14:19:53 +01:00
Kevin van Zonneveld
073290ba8b Update CHANGELOG.md 2020-02-12 14:19:50 +01:00
Renée Kooi
bd8ba95406
ci: fix warnings about yml format on travis (#2067)
* ci: fix warnings about yml format on travis

see for ex https://travis-ci.org/transloadit/uppy/jobs/649366326/config

* update lockfile
2020-02-12 13:57:26 +01:00