aboutsummaryrefslogtreecommitdiffstats
path: root/server
Commit message (Collapse)AuthorAgeFilesLines
* feat: Update POMs and bump build dependency versionsupdate-minor-depsPatrik Lindström2024-11-072-3/+5
| | | | | | | | | * Ignores VS code project file and updates to .project * Updates DTD hrefs from HTTP to HTTPS * Updates commons-io, commons-cli, commons-codec, hsqldb and animal-sniffer * Fixes dependency management violations * Includes Maven Flatten Plugin for cleaner release POMs * Updates Atmosphere version
* chore: Downgrade snapshot version for free version (#12635)Patrik Lindström2024-11-061-1/+1
|
* Update copyright year range (#12507)Anna Koskinen2022-01-11555-555/+555
|
* Update Liferay kernel version to support 7.4.3.5 GA5 (#12503)Tatu Lund2021-12-301-1/+1
|
* chore: Add comment in Styles (#12480)Tatu Lund2021-11-171-0/+2
|
* fix: Check if injected CSS String is already in the list of injected styles ↵Tatu Lund2021-11-162-4/+49
| | | | | | | | | | | (#12479) * Check if injected CSS String is already in the list of injected styles * Change to package for unit testing * Unit test * Add missing imports
* Support Liferay 7.4.3 kernel version (#12477)Tatu Lund2021-11-111-1/+1
|
* feat: Add better API to configure maximum allowed rows (#12466)Tatu Lund2021-11-032-4/+22
| | | | | | | * feat: Add better API to configure maximum allowed rows * Add unit test Co-authored-by: Olli Tietäväinen <ollit@vaadin.com>
* Remove obsolete comment and assert in Binder (#12456)Tatu Lund2021-10-281-3/+1
|
* fix: avoid ConcurrentModificationException in Binder (#12458)Tatu Lund2021-10-272-7/+37
|
* fix: don't update bean property which is read-only bound (#12457)Tatu Lund2021-10-272-1/+72
|
* fix: Ensure that side effects of readBean does not set hasChanges true (#12455)Tatu Lund2021-10-272-1/+23
|
* Fixed JavaDoc for setting page title. (#12433)Anna Koskinen2021-10-171-2/+2
|
* fix: Add row limit to DataCommunicator row data requests (#12415)Tatu Lund2021-09-303-0/+42
| | | | | | | | | | | * Add row limit to DataCommunicator row data requests * Add missing constant * Add unit test * Add test for extending Grid * Fixed test
* fix: Add MPR UI id request parameter (#12412)Mikhail Shabarov2021-09-281-0/+6
| | | | | | | | | | | | | * 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 '='
* fix: set Vaadin session attribute using lock in reinitializeSession (#12401)Tatu Lund2021-09-162-4/+58
| | | | | | | | | * Cherry picked unit test from Flow See https://github.com/vaadin/flow/pull/11538 * Fix missing import * Cherry pick fix from Flow
* Update project to 8.15-SNAPSHOT (#12392)Zhe Sun2021-08-311-1/+1
|
* chore: Update liferay kernel version (#12387)Tatu Lund2021-08-261-1/+1
| | | Enables to use Liferay 7.4.x
* Cleaned out old references to removed buildhelpers and widgets modules. (#12383)Anna Koskinen2021-08-251-3/+0
|
* Update to Jsoup 1.14.2 (#12381)Tatu Lund2021-08-244-6/+20
|
* Add detection of HCL Digital Experience rebranding (#12242)Marcello Barnaba2021-08-091-1/+1
| | | | | | | 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.
* fix: Prevent deadlock in findOrCreateVaadinSession (#12355)Tatu Lund2021-08-091-11/+30
| | | | | 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
* fix: Avoid processing value change event due writing back of converted value ↵Tatu Lund2021-08-062-1/+35
| | | | | (#12360) This is both a optimization by skipping duplicate validation round and avoids ConcurrentModificationExpectation being thrown certain corner cases.
* Deprecating Flash component. (#12348)Anna Koskinen2021-07-261-1/+4
| | | Also added missing JavaDocs.
* Checkstyle fixes (#12347)Anna Koskinen2021-07-232-2/+28
| | | | | | | | | | | | - Added, completed, and corrected JavaDocs. - Added an assert to enforce a condition that has always been required. - Added default sections to switch blocks. - Added wildcards. - Deprecated unused methods and variables. - Removed inner assignments. - Removed unused private variables and calls that do nothing. - Updated deprecated calls to use currently recommended versions. - Updated warning suppressions. - ...and some auto-formatting.
* fix: Reuse existing filesystem (#12346)Anna Koskinen2021-07-222-2/+53
| | | Modified cherry-pick of https://github.com/vaadin/flow/pull/11428
* Checkstyle fixes (#12339)Anna Koskinen2021-07-151-3/+0
| | | | | | | | | | | | | | - Added missing default sections to switch blocks. - Added missing JavaDocs and JavaDoc parameters. - Added wildcards where possible. - Deprecated unused method. - Fixed JavaDoc formatting. - Removed inner assignments. - Removed unused imports. - Removed unused variables. - Removed warning suppressions that were unnecessary or about boxing (not tracked by coding conventions). - Suppressed warnings about rawtypes, deprecation, and unchecked where couldn't be avoided.
* Code cleanup (#12333)Anna Koskinen2021-07-0817-121/+188
| | | | | | | | | | | | | | | | - removed unused private methods - removed unused private variables - removed unnecessary initializations - removed unnecessary substring(0) - removed inner assignments - renamed private methods that started with upper case - renamed static final variables to use upper case - converted to use non-deprecated options - suppressed unavoidable warnings - divided long Strings to multiple lines - added missing types - added missing JavaDoc parameters - formatting - updated comments & JavaDocs
* fix: don't serve directories as static files (#12325)Anna Koskinen2021-06-234-9/+793
| | | | | | | Also prevents opening FileSystem for unknown schemes. Modified cherry-picks of https://github.com/vaadin/flow/pull/11072 , https://github.com/vaadin/flow/pull/11147 , and https://github.com/vaadin/flow/pull/11235
* fix: add JavaDoc warning to avoid using ResponseWriter for directories (#12324)Anna Koskinen2021-06-151-0/+7
| | | | | | * fix: add JavaDoc warning to avoid using ResponseWriter for directories Cherry-picked from: https://github.com/vaadin/flow/pull/11112
* Update Atmosphere (#12293)Tatu Lund2021-05-171-1/+1
| | | Fixes concurrency issue with UUIDBroadcasterCache that may lead to loss of packets and thus repeated resynchronizations when using Push.
* Update Liferay kernel dependency range to [7.0.0,12.0.0) (#12290)Tatu Lund2021-05-041-1/+1
| | | Fixes: https://github.com/vaadin/framework/issues/12285
* Fix validation in non-buffered Grid editor (#12281)Tarek Oraby2021-04-281-0/+5
| | | | | Handle possible race condition by disabling the editor's widget while awaiting validation from the server. Fixes #12270
* Add browser specific handling in setRows (#12141)Tatu Lund2021-04-191-2/+5
| | | | | | | | | | | * Add browser specific handling in setRows Fixes: https://github.com/vaadin/framework/issues/10138 Fixes: https://github.com/vaadin/framework/issues/7878 * Enforced minimum height to 1 rows and added a test. Co-authored-by: Anna Koskinen <anna@vaadin.com>
* Update 8.14-SNAPSHOT and release note (#12261)Zhe Sun2021-04-141-1/+1
|
* feat: Add API to control whether Binder converts back to presentation (#12246)Tatu Lund2021-03-182-3/+55
| | | #12132 fixed an old bug, conversion was not done back, which was a regression from Vaadin 7. However since the bug has been present long time, it has become established behavior, thus there may be need to disable conversion back to presentation sometimes, thus this API as added.
* Add missing 8.13 since tag (#12236)Zhe Sun2021-03-112-3/+3
|
* Fix updating Grid's item set when details rows are open. (#12231)Anna Koskinen2021-03-081-0/+10
| | | | | | | | | | - Old details should close. - New details should open. - If some row has details in both old and new item set, the details row contents should get updated. - Updating details row contents should not break the positioning of the rows and details below. Fixes #12211
* Prevent NPE in comparison (#12218)Tatu Lund2021-03-051-1/+1
| | | Fixes: https://github.com/vaadin/framework/issues/12207
* Update copyright year range. (#12215)Anna Koskinen2021-03-04555-555/+555
| | | | * Update copyright year range.
* update to Atmosphere runtime 2.4.30.vaadin3 (#12214)Olli Tietäväinen2021-03-031-1/+1
|
* Remove whitespace-maven-plugin and formatter-maven-plugin. (#12213)Anna Koskinen2021-03-031-8/+0
| | | | | - These plugins cause significant problems for many Windows developers, and since most active maintainers are currently included in that group, the plugins have been deemed more trouble than they are worth.
* Merged column headers should work within declarative Grid. (#12206)Anna Koskinen2021-02-262-10/+15
| | | | | | | | | - null check to prevent NPE from the merged column headers - convert to internal columnIds for merge handling - use correct cell in merge handling - switch away from streams in merge handling for easier readability - regression test Fixes: #10464
* Add API to prevent invalid input when integrated range validator is used ↵Tatu Lund2021-02-191-1/+34
| | | | | | | (#12168) Do not fire DateField's value change event if the new date is not within the range. Fixes: #12163
* Added missing file ending (#12202)Anna Koskinen2021-02-161-0/+0
|
* Clear out ClientCache when UI is detached to prevent a minor memory leak ↵Anna Koskinen2021-02-111-0/+15
| | | | | | | | | | | | | (#12199) * Clear out ClientCache when UI is detached to prevent a minor memory leak Implemented with a listener rather than direct call from UI.detach() in order to avoid new public API, since the whole feature has been marked for removal. This doesn't yet prevent the cache or the type map from getting slightly bloated during the UI's lifetime. See: #3705
* Dead code removal (#12187)Tatu Lund2021-02-041-3/+0
|
* fix: use time-constant comparison for CSRF tokens (#12188)Tatu Lund2021-02-011-1/+5
| | | | | | This hardens the framework against a theoretical timing attack based on comparing how quickly a request with an invalid CSRF token is rejected. Cherry-picked from: https://github.com/vaadin/flow/pull/9875
* fix: use time-constant comparison for security tokens (#12189)Tatu Lund2021-01-293-3/+18
| | | | | | | | | This is the same as https://github.com/vaadin/framework/pull/12188, but also applied for the upload security key and the push id since both of those are also used to protect against cross-site attacks. In addition, documentation for the push id is clarified to point out its role. Cherry-picked from: https://github.com/vaadin/flow/pull/9896
* DateField value should actively adjust to the set resolution. (#12183)7.7.23Anna Koskinen2021-01-226-40/+108
|