chore: avoid repackaging of google elemental dep and use it directly (#12459)
(#12416)
The google elemental dependency is not OSGi compatible so it's
repackaged into shared module to use it directly from there. But there
is a custom Vaadin version of google elemental dep and it's OSGi
compatible. Flow uses this version and to be able to use FW in MPR the
versions should match. So the Vaadin google elemental dep is added
instead of repackaging.
Authored-by: Denis <denis@vaadin.com>
* Improve thread safety (#12395)
See: https://vaadin.com/forum/thread/17522264/concurrentmodificationexception-in-vaadin-shared-on-karaf-4-2-x
* Fix incompatible selenium version in test module. (#12397)
* Fixed a dependency version in a karaf test module. (#12399)
* Checkstyle tweaks to DateField widgets. (#12400)
- Added and updated JavaDocs.
- Updated comments.
- Updated to use non-deprecated method calls.
- Removed unnecessary warning suppressions.
- Suppressed warnings for unavoidable deprecation.
* fix: set Vaadin session attribute using lock in reinitializeSession (#12401)
* Cherry picked unit test from Flow
See https://github.com/vaadin/flow/pull/11538
* Fix missing import
* Cherry pick fix from Flow
* deprecate vaadin-snasphots repo (#12405)
* deprecate vaadin-snasphots repo
* Update chrome version to 93
* add more screenshots
* fix: Add MPR UI id request parameter (#12412)
* fix: Add MPR UI id request parameter
Related-to https://github.com/vaadin/multiplatform-runtime/issues/85
* test: Remove redundant non-empty param test
* test: Remove leftovers
* fix: Init window.mprUiId earlier than window.vaadin
* Add missing '='
* Update links shown by license checker (#12402)
vaadin.com/pro does no longer have the info
* fix: Add row limit to DataCommunicator row data requests (#12415)
* Add row limit to DataCommunicator row data requests
* Add missing constant
* Add unit test
* Add test for extending Grid
* Fixed test
Co-authored-by: Tatu Lund <tatu@vaadin.com>
Co-authored-by: Anna Koskinen <Ansku@users.noreply.github.com>
Co-authored-by: Zhe Sun <31067185+ZheSun88@users.noreply.github.com>
Co-authored-by: Mikhail Shabarov <61410877+mshabarov@users.noreply.github.com>
- Added and updated JavaDocs.
- Deprecated unused fields and methods that update them.
- Suppressed unavoidable deprecated calls.
- Switched other deprecated calls to use currently recommended calls.
- Added and updated JavaDocs.
- Added default cases to Switch statements.
- Deprecated unused fields.
- Switched to use non-deprecated calls where possible.
Updates to TreeGrid's ensureAvailability handling. (#12374)
- Always update the availability request range when more or less data
becomes available. Otherwise e.g. programmatically expanding a TreeGrid
row can lead to discarding a lot of the new data right after receiving
it.
Fixes #12372
Reworked and cleaned up client-side TabSheet and Accordion. (#12357)
- Added and corrected JavaDocs.
- Deprecated unused public methods.
- Fixed first tab style logic in TabSheet.
- Fixed navigation focus logic in TabSheet.
- Fixed tab width bookkeeping for scrolling TabSheet tabs.
- Renamed private methods and variables for clarity.
- Removed unnecessary or duplicated private methods.
- Reworked some logic to clarify it and to better match my understanding
of what's supposed to happen within those methods.
- Updated some deprecated method calls to use currently recommended
solutions.
- Added and updated regression tests.
Add detection of HCL Digital Experience rebranding (#12242)
On HCL Digital Experience 8.5.5 CF19, the `getPortalInfo()` method returns
"hcl digital experience/8.5", breaking detection of the servlet engine.
This ultimately leads to methods such as `getHeader()` to return NULL, as
the upstream HTTP request is not retrieved.
Updated the version of vaadin-context-menu (#12363)
Moving to new version removes the warning
com.vaadin.event.EventRouter addListener WARNING: Adding listeners with type Object is deprecated, event listener should extend SerializableEventListener
fix: Prevent deadlock in findOrCreateVaadinSession (#12355)
It is possible findOrCreateVaadinSession leaves session locked if HTTP session is invalidated in an another thread between lockSession and unlockSession calls. This PR changes the implementation so that this can no longer happen.
fixes: #12352