Commit Graph

38 Commits

Author SHA1 Message Date
Leif Åstrand
bd923f394c Detach previous UI with the same window.name (#10338, #12255)
Change-Id: I15234985f1591d6af383c6e014679762619d5000
2013-07-31 14:24:40 +00:00
Leif Åstrand
a46c97bd79 Verify CSRF token before accepting new CSRF connection (#11635)
* Can't open push connection during client-side init because CSRF token
is not available at that point. This allows simplifying the
initialization because the push state will not be checked until the
first response has been processed.
* Add helper for checking the CSRF token

Change-Id: I31da1ac669dc9a581cbd66f58c07f10ea4b8b676
2013-04-25 12:15:48 +00:00
Leif Åstrand
4f7377be46 Move push mode to UI and add @Push annotation (#11506)
Change-Id: Idc0e5e00a8f3ddd3f56d87484089c290d52715c2
2013-04-18 10:36:45 +03:00
Leif Åstrand
eed51a5d58 Ignore duplicate ?restartApplication during UI init (#11587)
Change-Id: I8d3519bbf0ec47ec66bf08faea15ca00eb45af66
2013-04-12 09:53:08 +00:00
Artur Signell
bd3bb24a36 Merge commit 'e4c9eda51082a443822b66864df2fe14be7dc6d7'
Conflicts:
	uitest/test.xml

Change-Id: I2c82fa7117b21bddad313abdd2f3f43143317c12
2013-03-21 08:59:51 +02:00
Artur Signell
e4c9eda510 Enable a Vaadin applications to be re-initialized if if has been re-added to the same page (#8350)
Change-Id: I30dbc14f00108fa699694ecd1d37679d8a0dff4b
2013-03-20 15:09:15 +02:00
John Ahlroos
34a6ebad40 Added IE10 touch support detection #9216
Change-Id: I3e5b2266b641901590b7806a04c6ef8c68fbe0f4
2013-03-05 10:49:12 +00:00
Jonatan Kronqvist
cdb2776cd2 Allow customization of the widgetset url in order to be able to remove the '?timestamp' part of the default url #10422
Change-Id: I561ba82d027b9207ed67fd7a861b0d6602e02024
2012-12-04 10:44:51 +02:00
Anna Koskinen
faf6b3861d Added prefix "v-" to internal parameters (#10156)
Change-Id: I79ac824bc19fa42b976954148e69d54fb91b77ab
2012-11-30 13:00:07 +02:00
Artur Signell
e451bc52fd Fall back to activex xml http if XMLHttpRequest is disabled (#10423)
Change-Id: I91eeaae42859cd056943b5fd040a0d107ed4ec6e
2012-11-29 16:16:10 +02:00
Leif Åstrand
7620e3ad01 Set bootstrap error using innerHTML instead of document.write (#9735)
* Also remove the testbench hook so waitForVaadin can continue
* Add automatic test

Change-Id: I6a6e53f23af9746f33977dfdb3768870956943f2
2012-11-23 11:21:31 +02:00
Leif Åstrand
57fd06617a Revert "Don't require browserDetailsUrl when embedding (#10122)"
The change caused the wrong URL to be included in some browser details requests.

This reverts commit 38c2ad6ff4
2012-11-05 11:00:55 +00:00
Leif Åstrand
38c2ad6ff4 Don't require browserDetailsUrl when embedding (#10122)
Change-Id: I2c6d5518d1e6adc4a502a8ad646e784f93ece4a3
2012-11-02 13:40:47 +02:00
Leif Åstrand
13d5b3e989 Bootstrap UI using relative URLs with servlets (#6771)
* Configure widgetset using URLs relative to the requested page
* Provide a Util method for getting an absolute URL from a relative URL
* Test by using an embedded Jetty acting as a transparent proxy
* Make /embed1 use the Buttons test to enable testing UIDL requests

Change-Id: I4ef9b40e3954ae16b682d743a339f4360db40d4d
2012-10-08 10:35:02 +00:00
Johannes Dahlström
e80c00ebd8 Add Page.getLocation() (#9249)
* Send the whole window location, not just fragment, in bootstrap and when the fragment changes
* BrowserDetails now has URI getLocation() instead of String getUriFragment()
* Keep FragmentChangeListeners as-is, should perhaps change to LocationChangeListeners at some point
* Implement Page.getFragment() by means of Page.getLocation()
* Differentiate between no fragment (null) and empty fragment ("") as java.net.URI does

Change-Id: I1da1ea0664304d0c121a57e85d127fe48605e940
2012-10-05 14:10:03 +03:00
Leif Åstrand
55841c374c Remove default bootstrap parameter support (#9824)
Also remove the code that used to set the pathInfo parameter which is
never used.

Change-Id: I0ec7cc8453766bccf9527bfcf5e78411364da5f0
2012-10-02 12:34:28 +03:00
Artur Signell
08ef970d37 Added a dummy value to the parameter to make Websphere happy (#9776)
Change-Id: If44a4705fe6c2d9ce381924b2d2a47de532a712c
2012-09-28 19:47:47 +03:00
Henri Sara
ea08980bf3 Add missing semicolons to vaadinBootstrap.js
Change-Id: I7917798ab2f3bf092b2c3e18f173f720e9e43e49
2012-09-28 11:07:43 +00:00
Leif Åstrand
44e15e19d3 Fix logic error in initialPath handling (#9747) 2012-09-25 13:01:35 +03:00
Artur Signell
6544f598f5 Show internal error reponses for browser details request (#8243) 2012-09-24 21:43:24 +03:00
Leif Åstrand
5f0952f60e Only use UI from web.xml for requests without additional path (#9722) 2012-09-24 16:36:07 +03:00
Leif Åstrand
8679f49c5e Refactor UI bootstrap (#9443) 2012-08-31 19:00:00 +03:00
Leif Åstrand
b3e2adea17 Pass initial request details through the browser (#8232)
By passing the details through the browser, we don't need any state
mapped to a rootId that could be sent multiple times by caching in the
browser

Old test updated to test for this
2012-01-04 19:07:34 +02:00
Leif Åstrand
f473865edc Actually ignore subsequent defaults (#8226) 2012-01-04 10:46:28 +02:00
Leif Åstrand
bfd26a62cf #8226 Don't throw exception when defaults are already defined 2012-01-04 10:42:23 +02:00
Leif Åstrand
dd99cac73f #8190 Recorder no longer waits for Vaadin application to load 2012-01-02 14:26:39 +02:00
Leif Åstrand
e8856d80d8 Add / to the base of the browser details request url 2011-12-20 10:09:40 +02:00
Leif Åstrand
1dbec3df48 Support the second bootstrap request in portlets (#8052) 2011-12-19 16:58:34 +02:00
Leif Åstrand
dcb22a0e3e Logging from bootstrap only if debug is enabled 2011-12-19 12:57:54 +02:00
Leif Åstrand
129b0c8464 Ensure WebBrowser is updated and available from BrowserDetails (#8098) 2011-12-15 14:22:22 +02:00
Leif Åstrand
5c481e2535 #8052 Restore Portlet support 2011-12-14 17:10:59 +02:00
Leif Åstrand
e71fa8c497 Pass window.name back to the browser to help detecting browser refresh 2011-12-01 23:00:49 +02:00
Leif Åstrand
1184bbd59c Improved bootstrap logging 2011-11-29 12:40:14 +02:00
Leif Åstrand
6063d00f5a Add support for deferred Root init and early widgetset loading 2011-11-28 13:42:02 +02:00
Leif Åstrand
cb5f080e53 Rework bootstrap to support loading widgetset without application 2011-11-28 12:59:34 +02:00
Leif Åstrand
55948aefe8 Initial support for lazy root creation 2011-11-25 16:04:20 +02:00
Leif Åstrand
58f5ab84c4 Set vaadin.debug to make ?debug in the URL work 2011-11-24 16:57:53 +02:00
Leif Åstrand
0b4297ddd2 Introduce vaadinBootstrap.js and use it to init the widgetset 2011-11-24 15:33:22 +02:00