* Show errors in logs always. nullLogger --> justErrorsLogger
Reasoning: too often we ended up showing errors in the Informer bubble, but not in the console, which is wrong and annoying. Devs still have an option to silence logs or direct them elsewhere by setting a custom logger
* Hide pause/resume buttons when error occures
* Update tests
* Update website/src/docs/uppy.md
Co-Authored-By: Renée Kooi <renee@kooi.me>
Co-authored-by: Renée Kooi <renee@kooi.me>
Because not a soul leaves a comment via Discourse, because Discourse doesn't allow embeded comments, and Jeff Atwood has made it clear, they never will.
Update `prepareUploadPart` contract to accept an optional `headers` property in the returned value.
If `headers` are present, they will be sent along the S3 presigned URL
Fixes#1984
* Move stats to plugin list, add table with versions of all plugins
* Update Hexo to 4.0, and other deps too
* update hexo-filter-github-emojis dependecy, run lerna bootstrap
* re-create package-lock.json
* crap, it adds body/html to any document now, and this is a partial :(
* companion: temporary fix for ts compile error
* fix netlify maybe
* node 12 is lts
* revert attempted netlify command fix
* update package-lock.json
* [feature] - Add new ‘showRecordingLength’ prop for the Webcam plugin. When this is true, it counts the duration of a recording and displays it to the user. Add a test for generating the correct duration of the recording.
* Update packages/@uppy/webcam/src/style.scss
Co-Authored-By: Artur Paikin <artur@arturpaikin.com>
* Added i18n for the recording length counter and update Readme. Fix Webcam styles where some styles were not in alphabetical order.
* Update packages/@uppy/webcam/src/style.scss
Co-Authored-By: Artur Paikin <artur@arturpaikin.com>
Added i18n for the recording length counter and update Readme. Fix Webcam styles where some styles were not in alphabetical order.
* locales: Rename es_GL → gl_ES
the `es-GL` locale means Spanish in Greenland.
`gl-ES` means Galician in Spain.
I just renamed the file here which is a breaking change. I think that's
acceptable for the locales package, as it isn't a dependency of anything
else. `@uppy/locales@2.0` doesn't affect anything. what do y'all think?
* locales: add backwords compat module for es_GL
* add comment with reasoning
* docs: use the same form ID in all robodog samples
So that copy-pasting parts from different samples together will work.
* docs: uppercase Robodog variable in samples
The CDN bundle exports an uppercase variable, but we used lowercase in
many samples for importing and using the npm module. This consistently
uppercases the R so you can copy-paste code from CJS examples into a
project that uses the CDN build.
* 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
🎉