Commit graph

8166 commits

Author SHA1 Message Date
Julian Gruber
a785f7deeb
Companion: Fix invalid referrer crashing the process 2021-07-04 20:02:10 +02:00
Artur Paikin
b601da6cb2 Publish 1.30 blog post 2021-07-02 20:52:46 +01:00
Artur Paikin
0e6cfee8db Release 2021-07-02 16:40:58 +01:00
Artur Paikin
ab959b019c Build: Companion needs to be built before locale-pack 2021-07-02 16:31:16 +01:00
Artur Paikin
606431f3fe Release 2021-07-02 16:19:29 +01:00
Artur Paikin
0ec27377c7 Fix build: locale-pack first, integrations second 2021-07-02 16:18:09 +01:00
Artur Paikin
2e0361925f changelog for 1.30 2021-07-01 18:54:41 +01:00
Artur Paikin
4b782ffbbb Release 2021-06-30 23:07:21 +01:00
Artur Paikin
ea9f891417 Update package.json 2021-06-30 20:12:59 +01:00
Masao Kitamura
0682223f51
Only log info if debug is true (#2855)
* Only log info if debug is true

* Add option logClientVersion

defaults to true

* Update companion.md

Co-authored-by: Mikael Finstad <finstaden@gmail.com>
Co-authored-by: Artur Paikin <artur@arturpaikin.com>
2021-06-30 12:50:51 +01:00
dependabot[bot]
ae209ffa7e
build(deps): bump prismjs from 1.23.0 to 1.24.0 (#2971)
Bumps [prismjs](https://github.com/PrismJS/prism) from 1.23.0 to 1.24.0.
- [Release notes](https://github.com/PrismJS/prism/releases)
- [Changelog](https://github.com/PrismJS/prism/blob/master/CHANGELOG.md)
- [Commits](https://github.com/PrismJS/prism/compare/v1.23.0...v1.24.0)

---
updated-dependencies:
- dependency-name: prismjs
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2021-06-30 11:45:27 +01:00
Andrew
8f4cc89a9e
Angular Integration (#2871)
* feature(integration): initial Angular framework implementation

* Package cleanup

* Actually add the components this time

* fix rendering bug

* Add documentation

* dependency fixes

* add broken example

* Make locales ignore angular

* dependency updates

* Update package-lock.json

* Fix broken example

* Make example consistent with docs

* angular: Update styling advice

* angular: Build system stuff

* angular: Escape dependency hell

* angular: Add dashboard-modal component

* angular: Update package.json/prepare for release

* angular: Fix styling bugs

* add Angular dependencies

* Update README.md

* lint fixes — those deps are in root

* Update README.md

Co-authored-by: Adam Medford <adammedford@gmail.com>
Co-authored-by: Artur Paikin <artur@arturpaikin.com>
2021-06-30 11:36:57 +01:00
Antoine du Hamel
285a13670d ci: don't run markdown tests in type tests 2021-06-29 19:11:54 +02:00
a-kriya
3c8fbe8d87
Add types for uppy.once method (#2965)
Co-authored-by: Merlijn Vos <merlijn@soverin.net>
2021-06-28 09:26:04 +02:00
Renée Kooi
ee2f527395 build: lint fixes in build scripts 2021-06-24 15:12:16 +02:00
a-kriya
229f070cf8
Fix typo in docs/progressbar.md (#2962) 2021-06-24 15:06:47 +02:00
a-kriya
6afc518fda
Document uppy.once in docs/uppy.md (#2960)
Co-authored-by: Merlijn Vos <merlijn@soverin.net>
2021-06-24 13:47:52 +02:00
Julio Montoya
1336ed31d8
Add props example to docs/vue.md (#2959) 2021-06-23 17:04:11 +02:00
Artur Paikin
77ab7e426d
Update BACKLOG.md 2021-06-21 14:15:28 +01:00
Antoine du Hamel
8b1b794b73
Add comments around empty setState calls (#2931) 2021-06-19 11:23:18 +01:00
Antoine du Hamel
2c996d7043
react-native: refactor takePictureWithExpo (#2946) 2021-06-17 11:53:01 +01:00
Artur Paikin
0de837d645 temporarily add cheerio-select-tmp to devDependencies to fix tests 2021-06-15 19:09:35 +03:00
Cruaier
d0bde78ec6
#2920 fixed standalone server to initiate itself on explicit function… (#2924)
* #2920 fixed standalone server to initiate itself on explicit function call

* refactored standalone server module export

* fixed unit tests related to new companion standalone export, set the jest timeout slightly higher

Co-authored-by: Thomas Benndorf <thomas@br24.com>
2021-06-15 11:27:19 +01:00
Artur Paikin
a3f652037d
Update BACKLOG.md 2021-06-15 10:58:26 +01:00
Mikael Finstad
397f03d85d
Google drive shortcuts (#2917)
* Implement google drive shortcut support

Also add encodeURIComponent to url params
Closes #2698

* fix lint
2021-06-15 09:16:41 +01:00
Merlijn Vos
f80e1951df
Update BACKLOG.md 2021-06-14 15:39:31 +02:00
Andrew
9a9860ac8f
Allowed HTML Attributes to be passed via props (#2891)
* Allowed HTML Attributes to be passed via props

This fix still needs some work, as certain attributes could be passed to Uppy or as an HTML attribute, such as target

When this is fixed, this will resolve #2403

* Removed shared attributes

I removed the ability to use certain attributes ('width', 'height', and 'target') and pass them down as Props to the div due to that fact that Uppy relies on them

* Add typescript types for the HTML attributes

* Moved common.js to getHTMLProps.js

* Fixed import

* Converted `possibleStandardNames` to an Array

* Fix import

* Fix tests
2021-06-14 13:11:37 +01:00
Merlijn Vos
33dbe58cb3
Expose drag-drop events (#2914)
* Expose drag-drop events

* we need to call DragDrop.renderArrowSvg without this, since it’s now static

* Update docs based on feedback

Co-authored-by: Artur Paikin <artur@arturpaikin.com>
2021-06-14 12:22:01 +01:00
Antoine du Hamel
0c510ee799
add more granular image rotation control (#2838)
* add more granular image rotation control

Fixes: https://github.com/transloadit/uppy/issues/2636

* fixup! add more granular image rotation control

* fixup! add more granular image rotation control

* fixup! add more granular image rotation control

* fixup! add more granular image rotation control

* add input-range-scss dependency

* Modify the rotation slider

- Better visual styles for the slider
- Position a toggle in the center of the slider
- Make it work better on moblile
- 90° rotation: rotate counterclockwise
- 90° rotation: update icon

* Use black background for the canvas when rotating (instead of gray)

* Use smaller range for granular rotation input

* Optimize event listeners

* Fix styles and state unsyncronisation

* Update package-lock.json

Co-authored-by: Alexander Zaytsev <nqst@users.noreply.github.com>
Co-authored-by: Artur Paikin <artur@arturpaikin.com>
2021-06-13 14:31:19 +01:00
Antoine du Hamel
4575d67f07
Translator: refactor interpolate (#2903)
* Translator: refactor interpolate

Fixes types and small code edits:
`<regex>[Symbol.split](<string>)` is equivalent to
`String.prototype.split.call(<string>, <regex>)` and potentially more
readable (the downside it's not compatible with IE, which may be why we
currently use the latter).

Refs: https://github.com/transloadit/uppy/pull/2899

* Update packages/@uppy/utils/src/Translator.js

* Revert RegExp Symbol for IE compat
2021-06-13 11:23:55 +01:00
Nilesh Suthar
7d5bdddaa6
return fileId or error in plugin.addFile (#2919)
In the case of an invalid URL, this is no proper way to handle an error. `uppy.state.info` only show the error without any info that due to which URL error was thrown. 
So returning the error or file so it can be handled as need. throwing the error will not be backward compatible
2021-06-08 13:50:31 +01:00
Merlijn Vos
74cc44bba3
Fix eslint uppy package imports (#2915) 2021-06-07 15:43:14 +01:00
Merlijn Vos
f2d30420f3
Mention the file name in exceedsSize error message (#2918)
* Mention the file name in exceedsSize error message

* Fix implementation and tests

* Undo accidental commited changes
2021-06-07 15:42:41 +01:00
Artur Paikin
d4c5d715b6
Update BACKLOG.md 2021-06-07 15:04:34 +01:00
Artur Paikin
222c26945b
Update CHANGELOG.md 2021-06-07 15:03:04 +01:00
AJvanLoon
fae701a4a2
Some polish (#2913) 2021-06-01 18:17:04 +01:00
Antoine du Hamel
1aa17533ee
core: enrich error event for use from postproocessor (#2909)
Fixes: https://github.com/transloadit/uppy/issues/2840
2021-05-31 12:43:18 +01:00
Murderlon
44679babf5
Edit and publish website/src/_posts/2021-04-1.29.md 2021-05-31 12:08:02 +02:00
Artur Paikin
e86ee41be3 add 1.29 post draft 2021-05-29 23:29:46 +01:00
Artur Paikin
75883b06f6 Update CHANGELOG.md 2021-05-29 23:28:27 +01:00
Artur Paikin
e37a09895d 1.29.1 changelog 2021-05-28 23:19:30 +01:00
Artur Paikin
e32524dd2d Revert "Update release"
This reverts commit db0eceeb75.
2021-05-28 12:00:11 +01:00
Artur Paikin
23e4a537a6 Release 2021-05-28 11:54:17 +01:00
Artur Paikin
db0eceeb75 Update release 2021-05-28 11:43:17 +01:00
Artur Paikin
f3da58f328 Release 2021-05-28 11:09:38 +01:00
Artur Paikin
a1bf76b194 Update package-lock.json 2021-05-28 10:26:17 +01:00
Artur Paikin
12b7bd34e8 Release 2021-05-27 21:35:08 +01:00
Artur Paikin
53cf7f14b5 npm audit fix 2021-05-27 21:01:26 +01:00
Artur Paikin
7bdaba3021
types: Add logout, Translator.translate and Translator.translateArray (#2899)
* Add logout, Translator.translate and Translator.translateArray

* Update index.d.ts

* Update index.d.ts

* Update index.js
2021-05-26 16:26:16 +01:00
Renée Kooi
bc54aeb3f5
companion: support relative redirect URLs in responses (#2901) 2021-05-26 10:28:40 +02:00