aboutsummaryrefslogtreecommitdiffstats
path: root/server
Commit message (Collapse)AuthorAgeFilesLines
* Support addCloseListener for Notification (#10027)Ahmed Ashour2017-09-274-124/+173
| | | | | Converts Notification to an Extension and adds support for listening to the closing of notifications. Fixes #888
* Eliminate the use of AWT in non-test code (#10094)Henri Sara2017-09-271-3/+21
|
* Convert Embedded not to be a LegacyComponent (#10088)Ahmed Ashour2017-09-271-148/+49
|
* Add option to use PushState instead of URI fragments in Navigator (#10042)Teemu Suo-Anttila2017-09-279-20/+409
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * Navigator now by default uses pushState and normal URLs * added documentation for pushState and updated Navigator documentation * improving docs etc, adding one TODO to be solved before merging * pushState/replaceState no work better with changing titles * Making uri fragment navigator work when not using specially mapped UI * Revert to older default, add annotation for selecting * Fix tests, add null checks * Reorder if-clause, fix tests * Revert unnecessary test change * Use correct variable in UI, fix test clean up * Updates to JavaDocs, fix some methods and tests * Add comments, fix test ui, TODO for fallbacks * Navigation documentation, JavaDocs, removed TODOs * Documentation fixes * Improve JavaDocs * Fix link name in documentation * Improve throws declaration in getLocation * Change documentation about the PushState based navigation * Add since tags * Add since tags for UI
* Store Vaadin session after each updateArtur Signell2017-09-272-0/+21
| | | | | | | This helps clustering solutions know when the session attribute needs to be replicated instead of having to always aggressively replicate all attributes. Resolves #7535
* Implement error level on client side (#9817)Adam Wagner2017-09-279-68/+31
| | | | | | | Add additional class names and style to components and error indicators to distinguish different error levels. Vaadin 8 implementation of #9816. Cherry picked changes and added compatibility package component changes and tests. Resolves #3139
* Fix DataCommunicator parameter not used in Grid constructor (#10075)JenoDK2017-09-263-1/+28
| | | Fixes #9944
* Fix BindingBuilder to always use the same instance (#10004)Teemu Suo-Anttila2017-09-262-23/+51
| | | | | | This allows using BindingBuilder either in a type safe chained manner or with separate calls for the same instance at the cost of less strict type checking. Fixes #9927 Fixes #9619
* Remove unused @VERSION@Ahmed Ashour2017-09-2510-11/+2
|
* Improve Binder value change handling with bean validation (#9988)Teemu Suo-Anttila2017-09-253-115/+273
| | | | | | | Changed values are now only applied to the bean when they pass both field and bean validation. Any change that breaks validation will be pending and is attempted to apply when another change event comes. This patch also makes the order of status change event handler and listener call order. This addresses some of the issues raised in #9955.
* Pass timezone ID from browser to server. (#10041)Piotr Wilkin2017-09-252-364/+390
| | | | Resolves #7911. Prerequisite for #10033.
* Fix typos (#10071)Ahmed Ashour2017-09-252-5/+6
| | | And use varargs in a test.
* Construct array inline (#10068)Ahmed Ashour2017-09-2310-10/+10
| | | And some trivial test enhancements
* Fix javadoc references (#10067)Ahmed Ashour2017-09-2329-55/+28
| | | And remove unused imports.
* Format curly brackets correctly for checkstyle (#10066)Ahmed Ashour2017-09-221-4/+2
|
* Remove unused methods. (#10058)Ahmed Ashour2017-09-223-0/+3
|
* Replace iff with if in javadoc (#10056)Ahmed Ashour2017-09-222-3/+3
|
* Fix unused parameters in javadoc (#10055)Ahmed Ashour2017-09-212-3/+1
|
* Update modifier order to follow Java Specification suggestions (#10050)Ahmed Ashour2017-09-2119-33/+33
| | | Also includes some other minor cleanup.
* Add Upload#setButtonStyleName (#10044)Knoobie2017-09-211-0/+31
|
* Use String.isEmpty() (#10045)Ahmed Ashour2017-09-2116-17/+17
|
* Add scroll logic from TreeGrid to Tree (#10005)Piotr Wilkin2017-09-204-4/+53
| | | Fixes #9967
* Remove unused methods (#10020)Ahmed Ashour2017-09-2013-99/+6
|
* Fix ColorPickerGrid indexingHenri Sara2017-09-201-3/+3
| | | Fixes #9018
* Use interface not Implementation, as method parameterAhmed Ashour2017-09-201-1/+1
|
* Use simple class namesAhmed Ashour2017-09-2013-50/+60
|
* Show validation error selecting invalid date from DateField (#10013)Marco Collovati2017-09-201-1/+1
| | | | | | | | | | Component error was cleared after selecting a date from calendar popup, even if the date is invalid due to validation errors or if user programmatically sets an UserError. This change inverts the order of setValue() and setComponentError(null) in order to preserve errors set by ValueChangeListeners (e.g. Binder validators). Fixes #10011
* Add API for running BindingValidationStatusHandlers (#9966)Teemu Suo-Anttila2017-09-194-12/+111
| | | This patch adds an API to Binding for accessing the validation status handlers from a custom BinderValidationStatusHandler.
* Optimize HierarchyMapper (#10003)Piotr Wilkin2017-09-193-18/+89
| | | Fixes parts of #9951, but does not address the issue of grouping pushed updates.
* Use String.isEmpty()Ahmed Ashour2017-09-198-19/+19
|
* Fix typoAhmed Ashour2017-09-191-5/+5
| | | And change private member to List instead of ArrayList
* Remove unneeded ArrayList constructionAhmed Ashour2017-09-193-7/+7
|
* Fix removeBinding logic (#10002)Piotr Wilkin2017-09-192-12/+73
| | | Fixes and improves on PR #9932.
* Replace iterators with enhanced for loops (#10018)Ahmed Ashour2017-09-193-8/+4
| | | This change also includes some other minor cleanup.
* Remove redundant versions in POMs (#9990)Ahmed Ashour2017-09-141-1/+0
|
* Fix javadoc typos (#9998)Ahmed Ashour2017-09-141-1/+1
|
* Upgrade maven-dependency and -source pluginsAhmed Ashour2017-09-141-1/+0
|
* Simplify conditional logic.Ahmed Ashour2017-09-143-70/+32
|
* Javadoc fixesAhmed Ashour2017-09-131-1/+0
|
* Simplify boolean expressionsAhmed Ashour2017-09-131-1/+1
|
* Fix javadoc for CustomizedSystemMessages (#9970)Michael Benz2017-09-121-2/+5
| | | | | | | | | Fixed two typos in the CustomizedSystemMessages Javadoc. Added the two missing situations: (although AuthenticationError seems not to be used in the server workspace) Authentication error: the client received a 401 (Unauthorized) response from the server. Cookies disabled: the browser does not support cookies reference in documentation: https://vaadin.com/vaadin-documentation-portlet/framework/application/application-errors.html
* Fix incorrect resource name generation (#9957)Dos Moonen2017-09-111-1/+1
| | | | Javadoc has this to say about ClassLoader#getResource(String): "The name of a resource is a '/'-separated path name that identifies the resource." The test fails on Windows because its File.separator does not equal "/".
* Make Servlet related classes more welcoming to DI (#9658)Dos Moonen2017-09-083-31/+128
| | | | VaadinCDIServlet can be made much cleaner when VaadinServletService can be proxied. This also enables specialization, interceptors and delegators.
* Update version to 8.2-SNAPSHOT (#9946)Teemu Suo-Anttila2017-09-081-1/+1
|
* Add missing since tags for 8.2 (#9938)Henri Sara2017-09-073-16/+16
|
* Fix making components visible by push (#9934)Henri Sara2017-09-063-5/+22
| | | | | | | | Fix connector tracker cleanup for the case where a component is hidden by a request and is made visible again by push. This fixes a regression caused by #9305. Fixes #9905
* Add methods to remove Bindings from Binder (#9932)Teemu Suo-Anttila2017-09-052-0/+117
|
* Update Binder isValid() javadoc (#9930)Henri Sara2017-09-051-1/+4
|
* Fix Binder bindInstanceFields code example in JavaDoc (#9929)Teemu Suo-Anttila2017-09-051-1/+1
| | | Closes #8994
* Update DOCTYPE in WidgetSetBuilderHenri Sara2017-08-311-1/+1
|