summaryrefslogtreecommitdiffstats
path: root/WebContent
diff options
context:
space:
mode:
authorJouni Koivuviita <jouni@vaadin.com>2014-06-03 12:58:56 +0300
committerJouni Koivuviita <jouni@vaadin.com>2014-06-03 15:09:11 +0300
commitad452a36795b764aeea2b00e3ceed2bae75d7949 (patch)
tree9b522f8b93464520430d839ab1608fa372efe23a /WebContent
parente65231e6028892bd6847777c5bad982b73278b14 (diff)
parent44eadeaa160152616152cd33f8181d7ab1fa3359 (diff)
downloadvaadin-framework-ad452a36795b764aeea2b00e3ceed2bae75d7949.tar.gz
vaadin-framework-ad452a36795b764aeea2b00e3ceed2bae75d7949.zip
Merge branch 'master' into valo
Conflicts: WebContent/release-notes.html build.properties client/src/com/vaadin/client/ApplicationConfiguration.java Change-Id: I36f075a03350e45c8666832142d7368891af3e59
Diffstat (limited to 'WebContent')
-rw-r--r--WebContent/VAADIN/themes/base/dragwrapper/dragwrapper.scss2
-rw-r--r--WebContent/VAADIN/themes/base/slider/slider.scss3
-rw-r--r--WebContent/VAADIN/themes/base/splitpanel/splitpanel.scss4
-rw-r--r--WebContent/VAADIN/themes/base/treetable/treetable.scss1
-rw-r--r--WebContent/VAADIN/themes/tests-table/styles.css5
-rw-r--r--WebContent/VAADIN/vaadinBootstrap.js67
-rw-r--r--WebContent/css/styles.css34
-rw-r--r--WebContent/release-notes.html153
8 files changed, 131 insertions, 138 deletions
diff --git a/WebContent/VAADIN/themes/base/dragwrapper/dragwrapper.scss b/WebContent/VAADIN/themes/base/dragwrapper/dragwrapper.scss
index e66f02e207..86000abd7c 100644
--- a/WebContent/VAADIN/themes/base/dragwrapper/dragwrapper.scss
+++ b/WebContent/VAADIN/themes/base/dragwrapper/dragwrapper.scss
@@ -6,6 +6,8 @@
-webkit-border-radius: 4px;
border-radius: 4px;
position: relative;
+ -ms-touch-action: none;
+ touch-action: none;
}
[draggable=true] {
-khtml-user-drag: element;
diff --git a/WebContent/VAADIN/themes/base/slider/slider.scss b/WebContent/VAADIN/themes/base/slider/slider.scss
index 9ef94d9d9e..60047bc6db 100644
--- a/WebContent/VAADIN/themes/base/slider/slider.scss
+++ b/WebContent/VAADIN/themes/base/slider/slider.scss
@@ -10,7 +10,6 @@
background: #eee;
border-left: 1px solid #ddd;
border-right: 1px solid #eee;
-
}
.#{$primaryStyleName}-handle {
background: #aaa;
@@ -18,6 +17,8 @@
height: 12px;
margin-top: -5px;
font-size: 0;
+ -ms-touch-action: none;
+ touch-action: none;
}
.#{$primaryStyleName}-vertical {
diff --git a/WebContent/VAADIN/themes/base/splitpanel/splitpanel.scss b/WebContent/VAADIN/themes/base/splitpanel/splitpanel.scss
index bae740257f..968894d92d 100644
--- a/WebContent/VAADIN/themes/base/splitpanel/splitpanel.scss
+++ b/WebContent/VAADIN/themes/base/splitpanel/splitpanel.scss
@@ -15,6 +15,8 @@
background: #ddd;
cursor: e-resize;
cursor: col-resize;
+ -ms-touch-action: none;
+ touch-action: none
}
.v-disabled .#{$primaryStyleName}-hsplitter div {
cursor: default;
@@ -27,6 +29,8 @@
background: #ddd;
cursor: s-resize;
cursor: row-resize;
+ -ms-touch-action: none;
+ touch-action: none;
}
.v-disabled .#{$primaryStyleName}-vsplitter div {
cursor: default;
diff --git a/WebContent/VAADIN/themes/base/treetable/treetable.scss b/WebContent/VAADIN/themes/base/treetable/treetable.scss
index 934e66097c..e4d41eefa8 100644
--- a/WebContent/VAADIN/themes/base/treetable/treetable.scss
+++ b/WebContent/VAADIN/themes/base/treetable/treetable.scss
@@ -26,7 +26,6 @@
.#{$primaryStyleName} .v-table-row .v-table-cell-content,
.#{$primaryStyleName} .v-table-row-odd .v-table-cell-content {
- position: relative;
z-index: 10;
}
diff --git a/WebContent/VAADIN/themes/tests-table/styles.css b/WebContent/VAADIN/themes/tests-table/styles.css
new file mode 100644
index 0000000000..78193c0982
--- /dev/null
+++ b/WebContent/VAADIN/themes/tests-table/styles.css
@@ -0,0 +1,5 @@
+@import url(../reindeer/legacy-styles.css);
+
+.v-table-footer-container, .v-table-cell-wrapper {
+ text-align: center;
+}
diff --git a/WebContent/VAADIN/vaadinBootstrap.js b/WebContent/VAADIN/vaadinBootstrap.js
index bab759b812..df46d8bc72 100644
--- a/WebContent/VAADIN/vaadinBootstrap.js
+++ b/WebContent/VAADIN/vaadinBootstrap.js
@@ -67,7 +67,7 @@
// "v-app-loading" we have only received the HTML
// but not yet started the widget set
// (UIConnector removes the v-app-loading div).
- if (className && className.contains("v-app-loading")) {
+ if (className && className.indexOf("v-app-loading") != -1) {
return false;
}
}
@@ -108,29 +108,29 @@
// No special url defined, use the same URL that loaded this page (without the fragment)
url = window.location.href.replace(/#.*/,'');
}
- url += ((/\?/).test(url) ? "&" : "?") + "v-browserDetails=1";
+ // Timestamp to avoid caching
+ url += ((/\?/).test(url) ? "&" : "?") + "v-" + (new Date()).getTime();
+
+ var params = "v-browserDetails=1";
var rootId = getConfig("v-rootId");
if (rootId !== undefined) {
- url += "&v-rootId=" + rootId;
+ params += "&v-rootId=" + rootId;
}
// Tell the UI what theme it is configured to use
var theme = getConfig('theme');
if (theme !== undefined) {
- url += '&theme=' + encodeURIComponent(theme);
+ params += '&theme=' + encodeURIComponent(theme);
}
- url += "&v-appId=" + appId;
+ params += "&v-appId=" + appId;
var extraParams = getConfig('extraParams')
if (extraParams !== undefined) {
- url += extraParams;
+ params += extraParams;
}
- url += '&' + vaadin.getBrowserDetailsParameters(appId);
-
- // Timestamp to avoid caching
- url += '&v-' + (new Date()).getTime();
+ params += '&' + vaadin.getBrowserDetailsParameters(appId);
var r;
try {
@@ -168,7 +168,9 @@
}
}
};
- r.send(null);
+ // send parameters as POST data
+ r.setRequestHeader("Content-type", "application/x-www-form-urlencoded");
+ r.send(params);
log('sending request to ', url);
};
@@ -229,18 +231,21 @@
loadTheme: loadTheme,
registerWidgetset: function(widgetset, callback) {
log("Widgetset registered", widgetset);
- widgetsets[widgetset].callback = callback;
- for(var i = 0; i < widgetsets[widgetset].pendingApps.length; i++) {
- var appId = widgetsets[widgetset].pendingApps[i];
- log("Starting from register widgetset", appId);
- callback(appId);
+ var ws = widgetsets[widgetset];
+ if (ws && ws.pendingApps) {
+ ws.callback = callback;
+ for(var i = 0; i < ws.pendingApps.length; i++) {
+ var appId = ws.pendingApps[i];
+ log("Starting from register widgetset", appId);
+ callback(appId);
+ }
+ ws.pendingApps = null;
}
- widgetsets[widgetset].pendingApps = null;
},
getBrowserDetailsParameters: function(parentElementId) {
// Screen height and width
- var url = 'v-sh=' + window.screen.height;
- url += '&v-sw=' + window.screen.width;
+ var params = 'v-sh=' + window.screen.height;
+ params += '&v-sw=' + window.screen.width;
// Window height and width
var cw = 0;
@@ -254,12 +259,12 @@
cw = document.documentElement.clientWidth;
ch = document.documentElement.clientHeight;
}
- url += '&v-cw=' + cw + '&v-ch=' + ch;
+ params += '&v-cw=' + cw + '&v-ch=' + ch;
var d = new Date();
- url += '&v-curdate=' + d.getTime();
+ params += '&v-curdate=' + d.getTime();
var tzo1 = d.getTimezoneOffset(); // current offset
var dstDiff = 0;
@@ -276,29 +281,29 @@
}
// Time zone offset
- url += '&v-tzo=' + tzo1;
+ params += '&v-tzo=' + tzo1;
// DST difference
- url += '&v-dstd=' + dstDiff;
+ params += '&v-dstd=' + dstDiff;
// Raw time zone offset
- url += '&v-rtzo=' + rtzo;
+ params += '&v-rtzo=' + rtzo;
// DST in effect?
- url += '&v-dston=' + (tzo1 != rtzo);
+ params += '&v-dston=' + (tzo1 != rtzo);
var pe = document.getElementById(parentElementId);
if (pe) {
- url += '&v-vw=' + pe.offsetWidth;
- url += '&v-vh=' + pe.offsetHeight;
+ params += '&v-vw=' + pe.offsetWidth;
+ params += '&v-vh=' + pe.offsetHeight;
}
// Location
- url += '&v-loc=' + encodeURIComponent(location.href);
+ params += '&v-loc=' + encodeURIComponent(location.href);
// Window name
if (window.name) {
- url += '&v-wn=' + encodeURIComponent(window.name);
+ params += '&v-wn=' + encodeURIComponent(window.name);
}
// Detect touch device support
@@ -313,10 +318,10 @@
}
if (supportsTouch) {
- url += "&v-td=1";
+ params += "&v-td=1";
}
- return url;
+ return params;
}
};
diff --git a/WebContent/css/styles.css b/WebContent/css/styles.css
index 9a5ddc74c1..9bd03ae8bc 100644
--- a/WebContent/css/styles.css
+++ b/WebContent/css/styles.css
@@ -439,3 +439,37 @@ img {
margin: 0em 2em .8em 2em;
float: right;
}
+
+span.fv {
+ padding: 2px 10px;
+ margin-right: 5px;
+ color: rgb(71,174,67);
+ font-weight: bold;
+}
+td.fv {
+ background-color: rgb(206,247,205);
+ text-align: center;
+ border-radius: 3px;
+ font-size: 12px;
+ line-height: 1;
+ font-weight: bold;
+}
+td.bfp {
+ text-align: center;
+ color: rgb(37,114,146);
+ border-radius: 3px;
+
+ padding: 2px 10px;
+ margin-right: 5px;
+ background-color: rgb(216,245,255);
+ font-size: 12px;
+ line-height: 1;
+ font-weight: bold;
+}
+.ticket {
+ text-align: right;
+ padding-left: 5px;
+}
+.pad {
+ padding-left: 5px;
+} \ No newline at end of file
diff --git a/WebContent/release-notes.html b/WebContent/release-notes.html
index eeeea1071d..356675726e 100644
--- a/WebContent/release-notes.html
+++ b/WebContent/release-notes.html
@@ -41,11 +41,12 @@
<ul>
<li><a href="#overview">Overview of Vaadin
@version@ Release</a></li>
- <li><a href="#security-fixes">Security fixes</a></li>
<li><a href="#changelog">Change log for Vaadin
@version@</a></li>
<li><a href="#enhancements">Enhancements in Vaadin
@version-minor@</a></li>
+ <li><a href="#knownissues">Known issues in
+ @version-minor@</a></li>
<li><a href="#limitations">Limitations in
@version-minor@</a></li>
<li><a href="#vaadin">Vaadin Installation</a></li>
@@ -64,67 +65,28 @@
<h2 id="overview">Overview of Vaadin @version@ Release</h2>
<p>
- Vaadin @version@ is a maintenance release that includes a
- number of important bug fixes, as listed in the <a
+ Vaadin @version@ is a minor release that includes a
+ number of new features and bug fixes, as listed in the <a
+ href="#enhancements">list of enhancements</a> and <a
href="#changelog">change log</a> below.
</p>
- <p>
- For a list of enhancements in the last feature release, see
- <a href="#enhancements">Enhancements in Vaadin
- @version-minor@</a> and the <a
- href="http://vaadin.com/download/release/@version-minor@/@version-minor@.0/release-notes.html">Release
- Notes for Vaadin @version-minor@.0</a>.
- </p>
-
<!-- ================================================================ -->
- <h3 id="security-fixes">Security fixes in Vaadin Framework 7.1.11</h3>
-
- <p>
- Vaadin 7.1.11 fixes two security issues discovered during internal review.
- </p>
- <p><b>Escaping of OptionGroup item icon URLs</b></p>
- <p>
- The issue affects OptionGroup with item icons. Proper escaping of the
- src-attribute on the client side was not ensured when using icons for
- OptionGroup items. This could potentially, in certain situations, allow
- a malicious user to inject content, such as javascript, in order to
- perform a cross-site scripting (XSS) attack.
- </p>
- <p>
- In order for an application to be vulnerable, user provided input must
- be used to form a URL used to display an icon for an OptionGroup item,
- when showing that Option Group to other users.<br/>
- The vulnerability has been classified as moderate, due to it's limited
- application.
- </p>
- <p><b>Escaping of URLs in Util.getAbsoluteUrl()</b></p>
- <p>
- The client side Util.getAbsoluteUrl() did not ensure proper escaping
- of the given URL. This could potentially, in certain situations, allow
- a malicious user to inject content, such as javascript, in order to
- perform a cross-site scripting (XSS) attack.
- </p>
- <p>
- The method is used internally by the framework in such a manner that it
- is unlikely this attack vector can be utilized in practice. However,
- third party components, or future use of the method, could make an
- attack viable.<br/>
- The vulnerability has been classified as moderate, due to it's limited
- application.
- </p>
-
<h3 id="changelog">Change log for Vaadin @version@</h3>
<p>This release includes the following closed issues:</p>
- <ul>@release-notes-tickets@
- </ul>
-
+ <table>
+ @release-notes-tickets@
+ <tr><td>&nbsp;</td><td></td></tr>
+ <tr><td class="fv"><span class="vote">Vote</span></td><td colspan="2" class="pad">Enhancements <a href=" https://vaadin.com/support">Vaadin support</a> users have voted for</td></tr>
+ <tr><td class="bfp"><span class="bfp">Priority</span></td><td colspan="2" class="pad">Defects <a href=" https://vaadin.com/support">Vaadin support</a> users have prioritized</td></tr>
+ </table>
+ <br/>
<p>
You can also view the <a
href="http://dev.vaadin.com/query?status=closed&resolution=fixed&milestone=Vaadin+@version@&order=id">list
- of the closed issues</a> at the Vaadin developer's site. .
+ of the closed issues</a> at the Vaadin developer's site.
</p>
<h2 id="enhancements">Enhancements in Vaadin
@@ -196,6 +158,18 @@ $v-app-background-color: hsl(200, 50%, 50%);
<code>$ sass styles.scss styles.css</code></li>
</ul>
+ <h3 id="knownissues">Known issues</h3>
+ <ul>
+ <li>Reconnecting a dropped push connection sometimes fails when using
+ Firefox and streaming or long polling.
+ (<a href="http://dev.vaadin.com/ticket/13578">#13578</a>)
+ </li>
+ <li>Drag'n'drop in a Table doesn't work on touch devices running
+ Internet Explorer (Windows Phone, Surface)
+ (<a href="http://dev.vaadin.com/ticket/13737">#13737</a>)
+ </li>
+ </ul>
+
<h3 id="limitations">Limitations</h3>
<ul>
<li><p>It is currently not possible to specify <tt>font-size</tt>
@@ -210,17 +184,13 @@ $v-app-background-color: hsl(200, 50%, 50%);
href="http://dev.vaadin.com/ticket/11493">#11493</a>)
</li>
<li>HTTP session can not be invalidated while using
- push (<a href="http://dev.vaadin.com/ticket/11721">#11721</a>)
+ push over websockets on Tomcat 7 (<a href="http://dev.vaadin.com/ticket/11721">#11721</a>)
</li>
- <li>Cookies are not available while using push (<a
+ <li>Cookies are not available while using websockets (<a
href="http://dev.vaadin.com/ticket/11808">#11808</a>)
</li>
- <li>Not all proxies are compatible with websockets. If
- you are using push with an incompatible proxy you might
- have to force the transport mode to streaming. Some
- proxies have problems with streaming also - you need to
- ensure that the proxy does not buffer responses for HTTP
- streaming to work.</li>
+ <li>Not all proxies are compatible with websockets or streaming.
+ Use long polling to avoid these problems.</li>
</ul>
<h2 id="vaadin">Vaadin Installation</h2>
@@ -247,8 +217,7 @@ $v-app-background-color: hsl(200, 50%, 50%);
<li>If using Eclipse, use the Vaadin Plugin for
Eclipse, which automatically downloads the Vaadin
- libraries. To use this prerelease version, the plugin
- should be installed from the experimental update site (<tt>http://vaadin.com/eclipse/experimental</tt>).
+ libraries.
</li>
</ul>
@@ -385,30 +354,7 @@ $v-app-background-color: hsl(200, 50%, 50%);
directory of the web application that uses validation.
</p>
- <h2 id="upgrading">Upgrading to Vaadin @version-minor@</h2>
-
- <h3>Upgrading the Eclipse Plugin</h3>
-
- <p>
- Vaadin 7 requires that you use a compatible version of the
- Vaadin Plugin for Eclipse. The stable version of the plugin
- is available from the
- <tt>http://vaadin.com/eclipse</tt>
- update site. Please see the <a
- href="https://vaadin.com/book/vaadin7/-/page/getting-started.eclipse.html#getting-started.eclipse.update">section
- about updating the plugin</a> in the Book of Vaadin and the
- <a href="http://vaadin.com/eclipse">installation
- instructions at the download site</a> for more details.
- </p>
-
- <p>
- You can also use the <i>experimental</i> Vaadin Plugin for
- Eclipse. Its update site is
- <tt>http://vaadin.com/eclipse/experimental</tt>
- .
- </p>
-
- <h3>General Upgrading Instructions</h3>
+ <h2 id="upgrading">Upgrading from Vaadin 7.1 to Vaadin @version-minor@</h2>
<p>When upgrading from an earlier Vaadin version, you must:
</p>
@@ -418,11 +364,8 @@ $v-app-background-color: hsl(200, 50%, 50%);
version. Binary compatibility is only guaranteed for
maintenance releases of Vaadin.</li>
- <li>Recompile any add-ons you have created using the
- new Vaadin</li>
-
<li>Unless using the precompiled widget set, recompile
- your widget set using the new Vaadin version</li>
+ your widget set using the new Vaadin version.</li>
</ul>
<p>Remember also to refresh the project in your IDE to
@@ -461,12 +404,9 @@ $v-app-background-color: hsl(200, 50%, 50%);
the contents of the <tt>vaadin-client-compiled</tt> and <tt>vaadin-themes</tt>
must be extracted to the <tt>ROOT/html/VAADIN</tt> directory
in the Liferay installation. If your portal uses custom
- widgets, install the latest version of <a
- href="http://vaadin.com/directory#addon/vaadin-control-panel-for-liferay">Vaadin
- Control Panel for Liferay</a> for easy widget set
- compilation - when it is available - the add-on is not
- compatible with Vaadin @version@ at the time of this Vaadin
- release. <!-- TODO: Remove note when done --></t>
+ widgets, you can use <a
+ href="http://vaadin.com/directory#addon/liferay-control-panel-plugin-for-vaadin:vaadin">
+ Liferay Control Panel for Vaadin</a> for easy widget set compilation.</t>
</p>
<h2 id="gae">
@@ -584,6 +524,7 @@ $v-app-background-color: hsl(200, 50%, 50%);
<li>Liferay Portal 5.2-6</li>
<li>GateIn Portal 3</li>
<li>eXo Platform 3</li>
+ <li>IBM WebSphere Portal 8</li>
</ul>
<p>
@@ -591,16 +532,16 @@ $v-app-background-color: hsl(200, 50%, 50%);
</p>
<p>
- Vaadin supports the following <b>desktop browsers</b>:
+ Vaadin @version@ supports the following <b>desktop browsers</b>:
</p>
<ul>
- <li>Mozilla Firefox 18-24</li>
- <li>Mozilla Firefox 17 ESR</li>
- <li>Internet Explorer 8-10</li>
- <li>Safari 6</li>
- <li>Opera 12,16</li>
- <li>Google Chrome 23-29</li>
+ <li>Mozilla Firefox 18-29</li>
+ <li>Mozilla Firefox 17 ESR, 24 ESR</li>
+ <li>Internet Explorer 8-11</li>
+ <li>Safari 6-7</li>
+ <li>Opera 12, 16-20</li>
+ <li>Google Chrome 23-34</li>
</ul>
<p>
@@ -611,6 +552,7 @@ $v-app-background-color: hsl(200, 50%, 50%);
<ul>
<li>iOS 5-7</li>
<li>Android 2.3-4</li>
+ <li>Windows Phone 8</li>
</ul>
<p>Vaadin SQL Container supports the following databases:</p>
@@ -642,9 +584,10 @@ $v-app-background-color: hsl(200, 50%, 50%);
<li><a href="http://vaadin.com/directory">vaadin.com/directory
- Add-ons for Vaadin</a></li>
- <li><a href="http://vaadin.com/pro-account">vaadin.com/pro-account
- - Commercial support and tools for Vaadin
- development </a></li>
+ <li><a href="http://vaadin.com/pro-tools">vaadin.com/pro-tools
+ - Commercial tools for Vaadin development</a></li>
+ <li><a href="http://vaadin.com/support">vaadin.com/support
+ - Commercial support for Vaadin development </a></li>
<li><a href="http://vaadin.com/services">vaadin.com/services
- Expert services for Vaadin</a></li>
<li><a href="http://vaadin.com/company">vaadin.com/company