summaryrefslogtreecommitdiffstats
path: root/server/src
Commit message (Collapse)AuthorAgeFilesLines
* Added headers support for WebSphere Portal. (#13491)7.1.13Sauli Tähkäpää2014-03-261-0/+35
| | | | Change-Id: Ib5396f8e5c28232d560406542530c034ab1f657d
* Improved portlet configuration resolution. (#7814)Sauli Tähkäpää2014-03-262-37/+77
| | | | | | | | Refactored static path resolution in VaadinPortletService. Refactored theme name resolution in VaadinPortletService. Refactored widgetset name resolution in VaadinPortletService. Change-Id: I44c5ffaa7530383843205aadd8da7642899a04c9
* Improve error message when reusing UI instance (#13457)Leif Åstrand2014-03-131-1/+12
| | | | Change-Id: I49ec1e837a1a2a04dfadef5fd5fb5b6fd10ffcbc
* reduce frequency of session locking and StreamingProgressEvents (#13155)Fabian Lange2014-03-131-13/+36
| | | | | | | | | | | | This change introduces throttling of streaming progress events. Before a event was fired once a buffer was filled. However as the buffer is only 4kb in size, fast uploads would trigger massive amounts of events. This change is backwards incompatible on a logical level. Before this change, a listener would get contentLength/4kb events, while after this change the amount is limited to one progress event per 500ms. Change-Id: I5da092ec4488971b8554b68b44c346057bfcc0e0
* Fixed trailing slash trimming in VaadinPortletService.Sauli Tähkäpää2014-03-131-9/+5
| | | | Change-Id: Ia9f6230219adfb1fcb29b88ad819e3209770e1fc
* Class AbstractTransactionalQuery should be public (#12285)Edoardo Vacchi2014-03-121-1/+1
| | | | | | | | | | | | | | | AbstractTransactionalQuery was not visible outside its package (default visibility). Added `public`. Making this class public avoids lots of boilerplate code when making alternate implementations of a QueryDelegate. A standard TableQuery does a lot of introspection on the DB schema. If the schema is known beforehand, alternate implementations may specify this information explicitly, and inherit from AbstractTransactionalQuery to reuse part of the implementation. Change-Id: I7d6b399ed7c755941ee9be7931a2ba80e812b5ab
* Do not fail assertion if re-setting the same lock (#13440)Artur Signell2014-03-101-2/+7
| | | | Change-Id: I2e7e9dcf8739a04583d8e42a86a1fede36011813
* Update to Atmosphere 1.0.18.vaadin3 to fix regressions (#13299).Artur Signell2014-03-051-1/+1
| | | | Change-Id: I028e29c4d39a032dd2a3cf24dff111ee52e50f44
* Fix fallback from websocket when behind proxy (#13299)Artur Signell2014-03-041-1/+1
| | | | Change-Id: Id12cb97816afde4363caea20ff30376ff9cdb173
* Fix SQLContainer paging and caching issue (#11199)Teemu Suo-Anttila2014-02-251-79/+101
| | | | Change-Id: I884c0f0a27a124a49698b141ac63c93950df428d
* Do not prevent deployment if Atmosphere init fails (#13199)Artur Signell2014-02-222-5/+18
| | | | Change-Id: I07e23bcdea6b2bd23a37651a804a537690fb1311
* Javadoc formatting fixupLeif Åstrand2014-02-131-43/+42
| | | | Change-Id: If0ddad3f71c5f2cea2c4ed3514ffd392b1489f21
* Fix typo (#11186)Artur Signell2014-02-061-1/+1
| | | | Change-Id: I3b1077f5962a196285b01f4784fe10914607e07b
* Use Calendar as sender for action handlers (#13191)Henri Sara2014-01-301-2/+2
| | | | | | | | The sender parameter to action handlers is now the Calendar instance rather than an instance of a private RPC implementation class. This was probably broken by an earlier refactoring. Change-Id: If15cf232e7578eb55617f45db6b9304f5e80fed5
* Add deprecated expand ratio methods to FormLayout (#12876)Artur Signell2014-01-211-0/+19
| | | | | | | | | | FormLayout has never implemented expand ratios but does not tell the developer about it either. Throwing an UnsupportedOperationException would make this very clear but at the same time would break existing applications which use the methods or which handle AbstractOrderedLayouts in a generic way. Change-Id: I0208f91c3c07aff98a78153887fbbea9dbc1d3d1
* Do not throw NPE for equals(null) (#8910)Artur Signell2014-01-215-0/+18
| | | | Change-Id: Ie9a658911c9f2722e518dedbe181c24e5ace07db
* Remove references to read/write through modes (#13184)Artur Signell2014-01-211-40/+18
| | | | Change-Id: Iaa268b7a85ad5c56cd42f4f7516da4b55c8f3306
* Ensure widgetset compile messages go to stdout (#7516)Artur Signell2014-01-211-28/+47
| | | | Change-Id: Ibd6efa1db419e2dcf1d5f5d97c2a5c988d99a230
* Upload control with empty selection (#9602)Tomi Virtanen2014-01-071-12/+2
| | | | | | Event is now sent on submit even if no file is selected. Removed forceSubmit UIDL attribute and replaced it with a UploadClientRpc call. Added TestBench3 test. Change-Id: Id32b82532ec34e61a9c0718413fd1755015d2c30
* Fixed spelling mistake in log message.John Ahlroos2014-01-071-1/+1
| | | | Change-Id: Ib43cca840a8f66b13d14a84b629068a53e8f4c9d
* Allow user to override Atmosphere init params set by Vaadin (#13088)Johannes Dahlström2013-12-181-1/+13
| | | | Change-Id: Iea7c7978240f79cb7c9586b472e94da53d625ba7
* Backported null value support for NestedMethodProperty to 7.1 (#12884)Jarno Rantala2013-12-163-10/+19
| | | | | | | | Support for null values in NestedMethodProperty was already implemented in master branch (#11435) This changeset includes changesets made for that. Change-Id: I10696467f792e234326075bbcdd5aad487905a7e Merge: no
* Do not throw NPE if conversion messages is null (#12962)Artur Signell2013-12-031-8/+9
| | | | Change-Id: Ie2b95ed4da89e2c5ab8b462300a6f4bd28dc7570
* Catch and log exceptions in session lifecycle listeners (#12915)Henri Sara2013-11-272-3/+51
| | | | Change-Id: Ie8638f010d74c569c5ff56e91c95e23a5cb92c9b
* Fixes NPE in TreeTable.setContainerDS(null) (#12928)Thomas2013-11-081-2/+2
| | | | Change-Id: I7f3148e51d216dfe20a11c8a5fd922f43cbc673b
* Minimal fix for error handling with streaming (#12578)Artur Signell2013-11-071-2/+14
| | | | | | There are still issues in PushHandler where the wrong resource is used but these should not be as critical. They will be fixed in #12920 Change-Id: Ife8d3694bdb6ee29c5b4adbd8988cc0346c4fe3f
* Send window position data back to server after drag (#12885)Thomas2013-11-061-0/+10
| | | | Change-Id: I9ca766b0e06390c7ab90f9cbd4996b83032789db
* Updated to Atmosphere 1.0.18.vaadin1 (#12891)Artur Signell2013-11-051-1/+1
| | | | Change-Id: I5387c9f5eca1eb7941fbd4565d4b6f3cb95a5a0f
* Add StringToLongConverter for automatic handling of long values (#12225)Artur Signell2013-10-302-0/+80
| | | | | | | Backported from master Change-Id: Ibb91d28aab3731486c84d09547c7af641f39610a Merge: no
* Remove out of order flush() (#12283)Artur Signell2013-10-241-2/+0
| | | | | | | | | | | Writer.flush() is specified as: "Flushes the stream. If the stream has saved any characters from the various write() methods in a buffer, write them immediately to their intended destination. Then, if that destination is another character or byte stream, flush it. Thus one flush() invocation will flush all the buffers in a chain of Writers and OutputStreams." Change-Id: Iecafdbb13a7a26a48300d2967c25c705f5bf1e38
* Revert broken fix and test (#12446)Johannes Dahlström2013-10-222-23/+14
| | | | | | | | | | | | The timeoutInterval variable needs to be part of per-UI state for the code to work correctly. Storing it in a servlet-global MetadataWriter instance is both semantically wrong and a race condition. Also, the test currently throws NPE if assertions are enabled. This reverts commit f595d057951523baf35a797692376dfa5de0bc8d. Change-Id: Ia6d1383b2c112b86ce60c75a3ebb9f10da545d4a
* Added more exception handling to PushHandler (#12578, #11882)Marc Englund2013-10-211-5/+45
| | | | | | PushHandler now catches Exception and calls ErrorHandler more. Change-Id: I7032c00f717b1dae34f4352abc035b1b398c7cfc
* Fix serialization issue (#12703)Artur Signell2013-10-181-1/+3
| | | | Change-Id: Ibdced8cdc3200ccfef2750e32fc8bf8dc544f1ae
* Reverted button click() logic check (#12743)Artur Signell2013-10-161-1/+1
| | | | | | | | The isConnectorEnabled() method should only to be used to check if the client side is allowed to interact with the button, not on the server side (isConnectorEnabled() is false if the component is not attached to a UI) Change-Id: I56cd93a1041432199337148f5c4a1449a825c5bc
* Validate that the connector is enabled before triggering actions for it (#12743)Artur Signell2013-10-154-12/+116
| | | | | | Automated test enabled only for IE9-IE11 because of #12785 Change-Id: I265e5d1ead3fa56469861c5a98dcc9d0106d1051
* Fixed swallower access. Now error handler logs exceptions. (#12703)Felype Santiago Ferreira2013-10-154-2/+106
| | | | Change-Id: If8fe00e10c7ec56cbd8753ff88d4816613a340f2
* Update to atmosphere javascript 2.0.3-vaadin1 (#12241, #12127)Artur Signell2013-10-142-4/+4
| | | | | | | Build vaadinPush.js from the released version instead of having a separate javascript version in the project Change-Id: I37aac284216c8ec6efd03c242e639e88854f11fd
* Handle ClientMethodInvocation serialization with JSONArray as parameterPekka Hyvönen2013-10-111-0/+54
| | | | | | (#12532) Change-Id: I67306d2b9d151614f72455063b0d01423aeed4c1
* Make the various Writers member fields instead of local variables (#12446)Johannes Dahlström2013-10-102-14/+23
| | | | Change-Id: I9ca101edf6df41702b27635da9f749bdac5bf5f4
* Recreate transient pendingAccessQueue in readObject() (#12456)Johannes Dahlström2013-10-081-9/+17
| | | | | | This prevents a race condition in getPendingAccessQueue(). Change-Id: I1b8d013119e5963ed6083b7dd17afccd3a915e42
* Prefixes GET parameters in Liferay with portlet namespace #12602John Ahlroos2013-09-272-4/+36
| | | | Change-Id: I9939a7af83482e136ed0d146accdeec0cd9f10ea
* Fixes issue with Table not scrolling completely to the end #12651John Ahlroos2013-09-261-4/+28
| | | | | | | | Made the Table notice if the user is trying to scroll to an item on the last "page" and in those cases actually scroll to that item, not just to the page's first item as it did before. Change-Id: I47df33c75aa9b7e4f9a5f4bd5daeb301028517e8
* Clarified error message (#12583)Artur Signell2013-09-161-2/+5
| | | | Change-Id: I542046158f6e78c8bb26aaee110bd5b123ae13e6
* Ensure PushConnection is properly cleaned up on disconnect (#12226, #12522)Johannes Dahlström2013-09-132-36/+56
| | | | Change-Id: I0bab199632554655ef92a624f5654852b4b157d1
* NullPointerException in DateToSqlDateConverter (#12284)Edoardo Vacchi2013-09-131-0/+9
| | | | | | | | | | DateToSqlDateConverter throws a NullPointerException when the provided value is null, thus violating the interface contract. If the provided value is null, then the methods should return null. Missing test case included Change-Id: If08225c2a6ae7c3103e47d3817a5d45469c7bf4f
* NullPointerException in TableQuery.fetchMetadata() (#11403)Edoardo Vacchi2013-09-131-1/+3
| | | | | | | Trivial patch. The finally block lacks a check for null before attempting to invoke table.close() Change-Id: Ib32f1d75fef4bd442652ca60a2b7df6aa45d7fa7
* Use non-obfuscated version of vaadinPush.js when not in production (#12527)Artur Signell2013-09-101-2/+9
| | | | Change-Id: I8e0baec2391b140e6a72eedf6606fd2792c735bc
* Added a comment that hopefully explains the NULL_OBJECT #12509Jonatan Kronqvist2013-09-091-0/+16
| | | | Change-Id: I99ea86d8842324884dda3a5c392f37e8d4a7acf6
* Allow storing and restoring null instances in CurrentInstance #125097.1.5Jonatan Kronqvist2013-09-091-7/+24
| | | | Change-Id: Icf82377b0d47166d59e8be5f2f8b450d654302d7
* Protect CurrentInstance instances from garbage collection (#12509)Leif Åstrand2013-09-052-236/+74
| | | | Change-Id: I9ec103a1a42d8888d6f680f477393807223740cf