Commit graph

45 commits

Author SHA1 Message Date
Murderlon
fe96096c3d
Merge branch 'master' into 2.0
* master: (23 commits)
  A bit of polish (#2986)
  Companion: Fix typescript error
  Companion: Fix invalid referrer crashing the process
  Publish 1.30 blog post
  Release
  Build: Companion needs to be built before locale-pack
  Release
  Fix build: locale-pack first, integrations second
  changelog for 1.30
  Release
  Update package.json
  Only log info if debug is true (#2855)
  build(deps): bump prismjs from 1.23.0 to 1.24.0 (#2971)
  Angular Integration (#2871)
  ci: don't run markdown tests in type tests
  Add types for `uppy.once` method (#2965)
  build: lint fixes in build scripts
  Fix typo in docs/progressbar.md (#2962)
  Document `uppy.once` in `docs/uppy.md` (#2960)
  Add `props` example to docs/vue.md (#2959)
  ...
2021-07-07 15:32:38 +02:00
Antoine du Hamel
c48064ba56
doc: lint JS code snippets (#2954)
* doc: lint JS code snippets

* deps: update `lint-staged` deps

* Fix remaining lint warnings and errors

Co-authored-by: Artur Paikin <artur@arturpaikin.com>
2021-07-04 19:32:50 +02:00
Artur Paikin
4b782ffbbb Release 2021-06-30 23:07:21 +01:00
Antoine du Hamel
c315329399
Remove IE polyfills and special casing (#2947)
* Remove IE polyfills and special casing

* dashboard: remove `resize-observer-polyfill`

* deps: remove url-parse to use global `URL` instead

* Update documentation for browser support

* Add a migration guide

* Update e2e test platforms

* Remove polyfills from examples and add those missing in CDN bundle

* Use Node.js v16.x on CI because of `AbortController`

* Update bundle builder to produce two builds: `uppy.js` without polyfills, `uppy.legacy.js` with polyfills.

* Upgrade create-react-app deps

* remove null coalescing operator as it's not supported by the build chain

* disable Safari testing (for now)


Co-authored-by: Renée Kooi <renee@kooi.me>
2021-06-28 11:34:51 +02:00
Antoine du Hamel
56c86e2f18
doc: use ESM syntax in code snippets (#2953)
In preparation for a future release of Uppy which drop support for
CommonJS, we should start nudging our users to use ESM syntax.

Fixes: https://github.com/transloadit/uppy/issues/2951
2021-06-22 10:30:24 +02:00
Merlijn Vos
ecec3d3213
Split Plugin into BasePlugin and extended UIPlugin (#2944) 2021-06-18 13:23:16 +02:00
Merlijn Vos
3b3e8a440c
Upgrade Preact to latest (#2926) 2021-06-16 12:46:19 +02: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
Artur Paikin
23e4a537a6 Release 2021-05-28 11:54:17 +01:00
Artur Paikin
12b7bd34e8 Release 2021-05-27 21:35:08 +01:00
Artur Paikin
1751241362 Release 2021-03-31 23:59:08 +01:00
Stanislav Červeňák
5fafa7b7a9
image-editor: fix flipHorizontal string (#2815)
Co-authored-by: Renée Kooi <renee@kooi.me>
2021-03-17 14:37:08 +01:00
Kevin van Zonneveld
764c2ccada
Update Linter (#2796)
* relocate .vscode

* Switch to transloadit linter

* Update .eslintrc.json

* autofix code

* unlink and install eslint-config-transloadit@1.1.1

* Change 0 to "off"

* Don't change 'use strict'

* Do not vertically align

* disable key-spacing

* add import/no-extraneous-dependencies per package

* add more react/a11y warnings

* Revert "autofix code"

This reverts commit 14c8a8cde8.

* add import/no-extraneous-dependencies per example and main package

* autofix code (2)

* Allow devDependencies in ./bin

* Change import/no-extraneous-dependencies to warn again

* upgrade linter

* Set import/no-extraneous-dependencies to warn
2021-03-15 16:25:17 +00:00
Renée Kooi
4bf1072363
Release 2021-03-10 13:11:28 +01:00
Artur Paikin
7d162b0dcc Release 2021-02-26 03:37:58 +00:00
Renée Kooi
bcdac14c46
image-editor: add missing dependency, closes #2770 2021-02-24 15:10:13 +01:00
Artur Paikin
e1efe07927 Release 2021-01-27 16:22:43 +00:00
Renée Kooi
c81780230d
Add all the CI badges (#2725)
* Add all the CI badges

* flip the CI / npm version order

* add github actions tests badges to all package readmes

* remove |

Co-authored-by: Artur Paikin <artur@arturpaikin.com>
2021-01-13 00:30:59 +00:00
Artur Paikin
1493a807fe Release 2020-12-23 18:04:51 +00:00
Artur Paikin
a6a28eac67
dashboard: add autoopen for file editors (image-editor) (#2681)
* final-file-added event for when the last file in the batch has been added

* intoduce autoOpenFileEditor — open when the last file (image) from a batch has beed added

* make cropping box more visible

* add docs

* final-file-added --> files-added
2020-12-18 21:27:48 +00:00
Artur Paikin
1bfe1995eb Release 2020-11-16 11:51:59 +00:00
Artur Paikin
ce92b6b919
Image editor zoom button and types fix (#2632)
* fix zoom button

* fix types
2020-11-14 13:59:38 +00:00
ifedapoolarewaju
3ff9ab042f
Release 2020-11-13 11:52:51 +01:00
Konstantin Epishev
becf60208b
Image editor optional buttons (#2615)
* add types for image editor actions

* image editor actions customization

* add docs about image editor customization

* minor button code refactor

Co-authored-by: Artur Paikin <artur@arturpaikin.com>
2020-11-12 19:16:19 +00:00
ifedapoolarewaju
7bf5ca55a7
Release 2020-09-07 12:40:44 +01:00
Andrew
0533357d61
Remove the --save flag (#2503) 2020-09-04 14:32:21 +02:00
ifedapoolarewaju
32e5445fac
Release 2020-08-17 15:08:07 +01:00
Renée Kooi
335079d222
deps: upgrade ESLint to v7 (#2460) 2020-08-13 12:46:22 +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
ifedapoolarewaju
36ab6f1d49
Release 2020-07-30 15:52:20 +01:00
Renée Kooi
6151b33700
Release 2020-07-21 16:49:28 +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
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
916d7cb320 Editor component, сanEditFile() and conditional “edit file” button, based on 2020-07-10 23:41:56 +01:00
Artur Paikin
a831837773 Connect image-editor and Dashboard, try rotation 2020-06-30 17:24:59 +01:00
Artur Paikin
42552ba3a6 cleanup 2020-06-23 15:25:30 +01:00
Artur Paikin
25f4f405fe Move cropping to a standalone image-editor plugin 2020-06-20 16:10:16 +01:00