[kune-commits] r1679 - in trunk: . img/screenshots src/main/java/cc/kune/chat/client/actions src/main/java/cc/kune/gspace/client/tool src/main/java/cc/kune/gspace/client/tool/selector src/main/resources src/test/java/cc/kune/selenium/login src/test/java/cc/kune/selenium/spaces

Vicente J. Ruiz Jurado vjrj_ at ourproject.org
Sat Feb 11 21:34:44 CET 2012


Author: vjrj_
Date: 2012-02-11 21:34:43 +0100 (Sat, 11 Feb 2012)
New Revision: 1679

Added:
   trunk/src/main/resources/wiab.ks
Modified:
   trunk/.classpath
   trunk/TODO
   trunk/img/screenshots/kune-home-stats.png
   trunk/img/screenshots/kune-inbox.png
   trunk/img/screenshots/kune-newgroup.png
   trunk/img/screenshots/kune-register.png
   trunk/img/screenshots/kune-social-net.png
   trunk/pom.xml
   trunk/src/main/java/cc/kune/chat/client/actions/ChatAboutContentBtn.java
   trunk/src/main/java/cc/kune/gspace/client/tool/AbstractClientTool.java
   trunk/src/main/java/cc/kune/gspace/client/tool/selector/ToolSelectorItemPanel.java
   trunk/src/main/resources/wave-server.properties
   trunk/src/test/java/cc/kune/selenium/login/ScreenCastsViaSeleniumTests.java
   trunk/src/test/java/cc/kune/selenium/spaces/GroupSpacePageObject.java
Log:
NEW - # 127: Generate some screencast while doing automate testing 
http://kune.ourproject.org/issues/ticket/127
CLOSED - # 101: HTTPS support & by default in Kune 
http://kune.ourproject.org/issues/ticket/101

Modified: trunk/.classpath
===================================================================
--- trunk/.classpath	2012-02-09 19:53:42 UTC (rev 1678)
+++ trunk/.classpath	2012-02-11 20:34:43 UTC (rev 1679)
@@ -13,19 +13,19 @@
   <classpathentry kind="var" path="M2_REPO/aopalliance/aopalliance/1.0/aopalliance-1.0.jar" sourcepath="M2_REPO/aopalliance/aopalliance/1.0/aopalliance-1.0-sources.jar"/>
   <classpathentry kind="var" path="M2_REPO/avalon-framework/avalon-framework/4.1.3/avalon-framework-4.1.3.jar"/>
   <classpathentry kind="var" path="M2_REPO/backport-util-concurrent/backport-util-concurrent/3.1/backport-util-concurrent-3.1.jar" sourcepath="M2_REPO/backport-util-concurrent/backport-util-concurrent/3.1/backport-util-concurrent-3.1-sources.jar"/>
-  <classpathentry kind="var" path="M2_REPO/org/waveprotocol/box/0.3.10/box-0.3.10.jar"/>
-  <classpathentry kind="var" path="M2_REPO/org/waveprotocol/box-src/0.3.10/box-src-0.3.10.jar" sourcepath="M2_REPO/org/waveprotocol/box-src/0.3.10/box-src-0.3.10-sources.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/waveprotocol/box/0.3.11/box-0.3.11.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/waveprotocol/box-src/0.3.11/box-src-0.3.11.jar" sourcepath="M2_REPO/org/waveprotocol/box-src/0.3.11/box-src-0.3.11-sources.jar"/>
   <classpathentry kind="var" path="M2_REPO/org/beanshell/bsh/2.0b4/bsh-2.0b4.jar"/>
   <classpathentry kind="var" path="M2_REPO/c3p0/c3p0/0.9.1/c3p0-0.9.1.jar" sourcepath="M2_REPO/c3p0/c3p0/0.9.1/c3p0-0.9.1-sources.jar"/>
   <classpathentry kind="var" path="M2_REPO/cglib/cglib-nodep/2.1_3/cglib-nodep-2.1_3.jar" sourcepath="M2_REPO/cglib/cglib-nodep/2.1_3/cglib-nodep-2.1_3-sources.jar"/>
   <classpathentry kind="var" path="M2_REPO/classworlds/classworlds/1.1-alpha-2/classworlds-1.1-alpha-2.jar"/>
-  <classpathentry kind="var" path="M2_REPO/org/waveprotocol/client/0.3.10/client-0.3.10.jar"/>
-  <classpathentry kind="var" path="M2_REPO/org/waveprotocol/client-common/0.3.10/client-common-0.3.10.jar"/>
-  <classpathentry kind="var" path="M2_REPO/org/waveprotocol/client-common-src/0.3.10/client-common-src-0.3.10.jar" sourcepath="M2_REPO/org/waveprotocol/client-common-src/0.3.10/client-common-src-0.3.10-sources.jar"/>
-  <classpathentry kind="var" path="M2_REPO/org/waveprotocol/client-scheduler-src/0.3.10/client-scheduler-src-0.3.10.jar" sourcepath="M2_REPO/org/waveprotocol/client-scheduler-src/0.3.10/client-scheduler-src-0.3.10-sources.jar"/>
-  <classpathentry kind="var" path="M2_REPO/org/waveprotocol/client-src/0.3.10/client-src-0.3.10.jar" sourcepath="M2_REPO/org/waveprotocol/client-src/0.3.10/client-src-0.3.10-sources.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/waveprotocol/client/0.3.11/client-0.3.11.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/waveprotocol/client-common/0.3.11/client-common-0.3.11.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/waveprotocol/client-common-src/0.3.11/client-common-src-0.3.11.jar" sourcepath="M2_REPO/org/waveprotocol/client-common-src/0.3.11/client-common-src-0.3.11-sources.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/waveprotocol/client-scheduler-src/0.3.11/client-scheduler-src-0.3.11.jar" sourcepath="M2_REPO/org/waveprotocol/client-scheduler-src/0.3.11/client-scheduler-src-0.3.11-sources.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/waveprotocol/client-src/0.3.11/client-src-0.3.11.jar" sourcepath="M2_REPO/org/waveprotocol/client-src/0.3.11/client-src-0.3.11-sources.jar"/>
   <classpathentry kind="var" path="M2_REPO/org/cobogw/gwt/cobogw/1.3.1/cobogw-1.3.1.jar"/>
-  <classpathentry kind="var" path="M2_REPO/org/waveprotocol/common-src/0.3.10/common-src-0.3.10.jar" sourcepath="M2_REPO/org/waveprotocol/common-src/0.3.10/common-src-0.3.10-sources.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/waveprotocol/common-src/0.3.11/common-src-0.3.11.jar" sourcepath="M2_REPO/org/waveprotocol/common-src/0.3.11/common-src-0.3.11-sources.jar"/>
   <classpathentry kind="var" path="M2_REPO/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0.jar" sourcepath="M2_REPO/commons-beanutils/commons-beanutils/1.7.0/commons-beanutils-1.7.0-sources.jar"/>
   <classpathentry kind="var" path="M2_REPO/commons-cli/commons-cli/1.2/commons-cli-1.2.jar" sourcepath="M2_REPO/commons-cli/commons-cli/1.2/commons-cli-1.2-sources.jar"/>
   <classpathentry kind="var" path="M2_REPO/commons-codec/commons-codec/1.4/commons-codec-1.4.jar" sourcepath="M2_REPO/commons-codec/commons-codec/1.4/commons-codec-1.4-sources.jar"/>
@@ -34,8 +34,8 @@
   <classpathentry kind="var" path="M2_REPO/commons-io/commons-io/1.3.1/commons-io-1.3.1.jar" sourcepath="M2_REPO/commons-io/commons-io/1.3.1/commons-io-1.3.1-sources.jar"/>
   <classpathentry kind="var" path="M2_REPO/commons-lang/commons-lang/2.5/commons-lang-2.5.jar" sourcepath="M2_REPO/commons-lang/commons-lang/2.5/commons-lang-2.5-sources.jar"/>
   <classpathentry kind="var" path="M2_REPO/commons-logging/commons-logging/1.1/commons-logging-1.1.jar" sourcepath="M2_REPO/commons-logging/commons-logging/1.1/commons-logging-1.1-sources.jar"/>
-  <classpathentry kind="var" path="M2_REPO/org/waveprotocol/communication-src/0.3.10/communication-src-0.3.10.jar" sourcepath="M2_REPO/org/waveprotocol/communication-src/0.3.10/communication-src-0.3.10-sources.jar"/>
-  <classpathentry kind="var" path="M2_REPO/org/waveprotocol/concurrencycontrol-src/0.3.10/concurrencycontrol-src-0.3.10.jar" sourcepath="M2_REPO/org/waveprotocol/concurrencycontrol-src/0.3.10/concurrencycontrol-src-0.3.10-sources.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/waveprotocol/communication-src/0.3.11/communication-src-0.3.11.jar" sourcepath="M2_REPO/org/waveprotocol/communication-src/0.3.11/communication-src-0.3.11-sources.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/waveprotocol/concurrencycontrol-src/0.3.11/concurrencycontrol-src-0.3.11.jar" sourcepath="M2_REPO/org/waveprotocol/concurrencycontrol-src/0.3.11/concurrencycontrol-src-0.3.11-sources.jar"/>
   <classpathentry kind="var" path="M2_REPO/net/sourceforge/cssparser/cssparser/0.9.5/cssparser-0.9.5.jar" sourcepath="M2_REPO/net/sourceforge/cssparser/cssparser/0.9.5/cssparser-0.9.5-sources.jar"/>
   <classpathentry kind="var" path="M2_REPO/dom4j/dom4j/1.6.1/dom4j-1.6.1.jar" sourcepath="M2_REPO/dom4j/dom4j/1.6.1/dom4j-1.6.1-sources.jar"/>
   <classpathentry kind="var" path="M2_REPO/net/sf/dozer/dozer/4.0/dozer-4.0.jar" sourcepath="M2_REPO/net/sf/dozer/dozer/4.0/dozer-4.0-sources.jar"/>
@@ -57,7 +57,7 @@
   <classpathentry kind="var" path="M2_REPO/com/allen_sauer/gwt/log/gwt-log/gwt-log/3.0.1/gwt-log-3.0.1.jar"/>
   <classpathentry kind="var" path="M2_REPO/com/google/gwt/gwt-servlet/2.1.1/gwt-servlet-2.1.1.jar" sourcepath="M2_REPO/com/google/gwt/gwt-servlet/2.1.1/gwt-servlet-2.1.1-sources.jar"/>
   <classpathentry kind="var" path="M2_REPO/com/google/gwt/gwt-user/2.1.1/gwt-user-2.1.1.jar" sourcepath="M2_REPO/com/google/gwt/gwt-user/2.1.1/gwt-user-2.1.1-sources.jar"/>
-  <classpathentry kind="var" path="M2_REPO/org/waveprotocol/gwt-util-src/0.3.10/gwt-util-src-0.3.10.jar" sourcepath="M2_REPO/org/waveprotocol/gwt-util-src/0.3.10/gwt-util-src-0.3.10-sources.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/waveprotocol/gwt-util-src/0.3.11/gwt-util-src-0.3.11.jar" sourcepath="M2_REPO/org/waveprotocol/gwt-util-src/0.3.11/gwt-util-src-0.3.11-sources.jar"/>
   <classpathentry kind="var" path="M2_REPO/com/allen_sauer/gwt/voices/gwt-voices/gwt-voices/2.0.0/gwt-voices-2.0.0.jar"/>
   <classpathentry kind="var" path="M2_REPO/com/gwtplatform/gwtp-all/0.5/gwtp-all-0.5.jar" sourcepath="M2_REPO/com/gwtplatform/gwtp-all/0.5/gwtp-all-0.5-sources.jar"/>
   <classpathentry kind="var" path="M2_REPO/com/gwtplatform/gwtp-clients-common/0.5/gwtp-clients-common-0.5.jar" sourcepath="M2_REPO/com/gwtplatform/gwtp-clients-common/0.5/gwtp-clients-common-0.5-sources.jar"/>
@@ -114,16 +114,16 @@
   <classpathentry kind="var" path="M2_REPO/org/apache/maven/maven-profile/2.0/maven-profile-2.0.jar" sourcepath="M2_REPO/org/apache/maven/maven-profile/2.0/maven-profile-2.0-sources.jar"/>
   <classpathentry kind="var" path="M2_REPO/org/apache/maven/maven-project/2.0/maven-project-2.0.jar" sourcepath="M2_REPO/org/apache/maven/maven-project/2.0/maven-project-2.0-sources.jar"/>
   <classpathentry kind="var" path="M2_REPO/org/apache/maven/maven-repository-metadata/2.0/maven-repository-metadata-2.0.jar" sourcepath="M2_REPO/org/apache/maven/maven-repository-metadata/2.0/maven-repository-metadata-2.0-sources.jar"/>
-  <classpathentry kind="var" path="M2_REPO/org/waveprotocol/media-src/0.3.10/media-src-0.3.10.jar" sourcepath="M2_REPO/org/waveprotocol/media-src/0.3.10/media-src-0.3.10-sources.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/waveprotocol/media-src/0.3.11/media-src-0.3.11.jar" sourcepath="M2_REPO/org/waveprotocol/media-src/0.3.11/media-src-0.3.11-sources.jar"/>
   <classpathentry kind="var" path="M2_REPO/org/mockito/mockito-core/1.8.5/mockito-core-1.8.5.jar" sourcepath="M2_REPO/org/mockito/mockito-core/1.8.5/mockito-core-1.8.5-sources.jar"/>
-  <classpathentry kind="var" path="M2_REPO/org/waveprotocol/model-src/0.3.10/model-src-0.3.10.jar" sourcepath="M2_REPO/org/waveprotocol/model-src/0.3.10/model-src-0.3.10-sources.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/waveprotocol/model-src/0.3.11/model-src-0.3.11.jar" sourcepath="M2_REPO/org/waveprotocol/model-src/0.3.11/model-src-0.3.11-sources.jar"/>
   <classpathentry kind="var" path="M2_REPO/org/mvel/mvel2/2.0.16/mvel2-2.0.16.jar" sourcepath="M2_REPO/org/mvel/mvel2/2.0.16/mvel2-2.0.16-sources.jar"/>
   <classpathentry kind="var" path="M2_REPO/mysql/mysql-connector-java/5.1.13/mysql-connector-java-5.1.13.jar"/>
   <classpathentry kind="var" path="M2_REPO/net/sourceforge/nekohtml/nekohtml/1.9.15/nekohtml-1.9.15.jar" sourcepath="M2_REPO/net/sourceforge/nekohtml/nekohtml/1.9.15/nekohtml-1.9.15-sources.jar"/>
   <classpathentry kind="var" path="M2_REPO/org/objenesis/objenesis/1.0/objenesis-1.0.jar" sourcepath="M2_REPO/org/objenesis/objenesis/1.0/objenesis-1.0-sources.jar"/>
   <classpathentry kind="var" path="M2_REPO/org/codehaus/plexus/plexus-container-default/1.0-alpha-8/plexus-container-default-1.0-alpha-8.jar" sourcepath="M2_REPO/org/codehaus/plexus/plexus-container-default/1.0-alpha-8/plexus-container-default-1.0-alpha-8-sources.jar"/>
   <classpathentry kind="var" path="M2_REPO/org/codehaus/plexus/plexus-utils/1.0.4/plexus-utils-1.0.4.jar" sourcepath="M2_REPO/org/codehaus/plexus/plexus-utils/1.0.4/plexus-utils-1.0.4-sources.jar"/>
-  <classpathentry kind="var" path="M2_REPO/org/waveprotocol/proto-msg/0.3.10/proto-msg-0.3.10.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/waveprotocol/proto-msg/0.3.11/proto-msg-0.3.11.jar"/>
   <classpathentry kind="var" path="M2_REPO/org/quartz-scheduler/quartz/2.1.0/quartz-2.1.0.jar" sourcepath="M2_REPO/org/quartz-scheduler/quartz/2.1.0/quartz-2.1.0-sources.jar"/>
   <classpathentry kind="var" path="M2_REPO/org/w3c/css/sac/1.3/sac-1.3.jar" sourcepath="M2_REPO/org/w3c/css/sac/1.3/sac-1.3-sources.jar"/>
   <classpathentry kind="var" path="M2_REPO/org/seleniumhq/selenium/selenium-android-driver/2.12.0/selenium-android-driver-2.12.0.jar" sourcepath="M2_REPO/org/seleniumhq/selenium/selenium-android-driver/2.12.0/selenium-android-driver-2.12.0-sources.jar"/>
@@ -148,9 +148,9 @@
   <classpathentry kind="var" path="M2_REPO/stax/stax-api/1.0.1/stax-api-1.0.1.jar"/>
   <classpathentry kind="var" path="M2_REPO/org/testng/testng/6.2.1/testng-6.2.1.jar" sourcepath="M2_REPO/org/testng/testng/6.2.1/testng-6.2.1-sources.jar"/>
   <classpathentry kind="var" path="M2_REPO/tigase/tigase-xmltools/3.3.5/tigase-xmltools-3.3.5.jar" sourcepath="M2_REPO/tigase/tigase-xmltools/3.3.5/tigase-xmltools-3.3.5-sources.jar"/>
-  <classpathentry kind="var" path="M2_REPO/org/waveprotocol/util-src/0.3.10/util-src-0.3.10.jar" sourcepath="M2_REPO/org/waveprotocol/util-src/0.3.10/util-src-0.3.10-sources.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/waveprotocol/util-src/0.3.11/util-src-0.3.11.jar" sourcepath="M2_REPO/org/waveprotocol/util-src/0.3.11/util-src-0.3.11-sources.jar"/>
   <classpathentry kind="var" path="M2_REPO/org/apache/maven/wagon/wagon-provider-api/1.0-alpha-5/wagon-provider-api-1.0-alpha-5.jar" sourcepath="M2_REPO/org/apache/maven/wagon/wagon-provider-api/1.0-alpha-5/wagon-provider-api-1.0-alpha-5-sources.jar"/>
-  <classpathentry kind="var" path="M2_REPO/org/waveprotocol/waveinabox-server-0.3/0.3.10/waveinabox-server-0.3-0.3.10.jar"/>
+  <classpathentry kind="var" path="M2_REPO/org/waveprotocol/waveinabox-server-0.3/0.3.11/waveinabox-server-0.3-0.3.11.jar"/>
   <classpathentry kind="var" path="M2_REPO/xalan/xalan/2.7.1/xalan-2.7.1.jar" sourcepath="M2_REPO/xalan/xalan/2.7.1/xalan-2.7.1-sources.jar"/>
   <classpathentry kind="var" path="M2_REPO/xerces/xercesImpl/2.9.1/xercesImpl-2.9.1.jar"/>
   <classpathentry kind="var" path="M2_REPO/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2.jar" sourcepath="M2_REPO/xml-apis/xml-apis/1.0.b2/xml-apis-1.0.b2-sources.jar"/>

Modified: trunk/TODO
===================================================================
--- trunk/TODO	2012-02-09 19:53:42 UTC (rev 1678)
+++ trunk/TODO	2012-02-11 20:34:43 UTC (rev 1679)
@@ -12,10 +12,12 @@
    nick == assigned to
 
 * SHORT-TERM (URGENT)
-** Connection persistence
-java.io.NotSerializableException: org.eclipse.jetty.websocket.WebSocketConnectionD13$WSFrameConnection
-java.io.NotSerializableException: com.glines.socketio.server.transport.jetty.JettyContinuationTransportHandler
-
+** deploy automatize (update)
+*** copy jar
+*** copy via rsync gwt compilation (no delete to prevent code fail message)
+*** copy the jar and the compilation to other sites in the same lan
+*** update /etc/kune (if needed)
+*** migrate the database (if needed)
 ** group.inexistentTool nasty error
 ** calendar support
 *** gwt-cal + http://ical4j.sourceforge.net/introduction.html

Modified: trunk/img/screenshots/kune-home-stats.png
===================================================================
(Binary files differ)

Modified: trunk/img/screenshots/kune-inbox.png
===================================================================
(Binary files differ)

Modified: trunk/img/screenshots/kune-newgroup.png
===================================================================
(Binary files differ)

Modified: trunk/img/screenshots/kune-register.png
===================================================================
(Binary files differ)

Modified: trunk/img/screenshots/kune-social-net.png
===================================================================
(Binary files differ)

Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml	2012-02-09 19:53:42 UTC (rev 1678)
+++ trunk/pom.xml	2012-02-11 20:34:43 UTC (rev 1679)
@@ -19,7 +19,7 @@
     <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
     <slf4j.version>1.6.1</slf4j.version>
     <openjpa.version>2.0.1</openjpa.version>
-    <wiab.version>0.3.10</wiab.version>
+    <wiab.version>0.3.11</wiab.version>
     <skipTests>true</skipTests>
   </properties>
   <repositories>

Modified: trunk/src/main/java/cc/kune/chat/client/actions/ChatAboutContentBtn.java
===================================================================
--- trunk/src/main/java/cc/kune/chat/client/actions/ChatAboutContentBtn.java	2012-02-09 19:53:42 UTC (rev 1678)
+++ trunk/src/main/java/cc/kune/chat/client/actions/ChatAboutContentBtn.java	2012-02-11 20:34:43 UTC (rev 1679)
@@ -21,7 +21,7 @@
 
 import cc.kune.chat.client.ChatClient;
 import cc.kune.common.client.actions.ActionEvent;
-import cc.kune.common.client.actions.ui.descrip.ButtonDescriptor;
+import cc.kune.common.client.actions.ui.descrip.MenuItemDescriptor;
 import cc.kune.common.client.notify.NotifyUser;
 import cc.kune.common.client.utils.SimpleResponseCallback;
 import cc.kune.common.shared.i18n.I18nTranslationService;
@@ -30,11 +30,12 @@
 import cc.kune.core.client.state.Session;
 import cc.kune.core.shared.domain.utils.StateToken;
 import cc.kune.core.shared.dto.AccessRolDTO;
+import cc.kune.gspace.client.actions.ContentViewerOptionsMenu;
 
 import com.google.inject.Inject;
 import com.google.inject.Provider;
 
-public class ChatAboutContentBtn extends ButtonDescriptor {
+public class ChatAboutContentBtn extends MenuItemDescriptor {
 
   public static class ChatAboutContentAction extends RolAction {
 
@@ -78,9 +79,9 @@
 
   @Inject
   public ChatAboutContentBtn(final ChatAboutContentAction action, final CoreResources res,
-      final I18nTranslationService i18n) {
+      final ContentViewerOptionsMenu optionsMenu, final I18nTranslationService i18n) {
     super(action);
     this.withIcon(res.emiteRoom()).withToolTip(i18n.t("Chat and comment on this")).withText(
-        i18n.t("Chat about")).withStyles("k-def-docbtn, k-fl").withId(ID);
+        i18n.t("Chat about")).withStyles("k-def-docbtn, k-fl").withId(ID).withParent(optionsMenu, false);
   }
 }

Modified: trunk/src/main/java/cc/kune/gspace/client/tool/AbstractClientTool.java
===================================================================
--- trunk/src/main/java/cc/kune/gspace/client/tool/AbstractClientTool.java	2012-02-09 19:53:42 UTC (rev 1678)
+++ trunk/src/main/java/cc/kune/gspace/client/tool/AbstractClientTool.java	2012-02-11 20:34:43 UTC (rev 1679)
@@ -29,7 +29,7 @@
       final ToolSelector toolSelector) {
     final ToolSelectorItemPresenter presenter = new ToolSelectorItemPresenter(shortName, longName,
         tooltip, toolSelector);
-    final ToolSelectorItemPanel panel = new ToolSelectorItemPanel();
+    final ToolSelectorItemPanel panel = new ToolSelectorItemPanel(shortName);
     presenter.init(panel);
   }
 

Modified: trunk/src/main/java/cc/kune/gspace/client/tool/selector/ToolSelectorItemPanel.java
===================================================================
--- trunk/src/main/java/cc/kune/gspace/client/tool/selector/ToolSelectorItemPanel.java	2012-02-09 19:53:42 UTC (rev 1678)
+++ trunk/src/main/java/cc/kune/gspace/client/tool/selector/ToolSelectorItemPanel.java	2012-02-11 20:34:43 UTC (rev 1679)
@@ -43,6 +43,8 @@
   interface ToolSelectorItemPanelUiBinder extends UiBinder<Widget, ToolSelectorItemPanel> {
   }
 
+  public static final String TOOL_ID_PREFIX = "k-tool-item-";
+
   private static ToolSelectorItemPanelUiBinder uiBinder = GWT.create(ToolSelectorItemPanelUiBinder.class);
 
   @UiField
@@ -58,8 +60,9 @@
   @UiField
   FocusPanel self;
 
-  public ToolSelectorItemPanel() {
+  public ToolSelectorItemPanel(final String shortName) {
     initWidget(uiBinder.createAndBindUi(this));
+    ensureDebugId(TOOL_ID_PREFIX + shortName);
     setVisibleImpl(false);
     iconLeft.setVisible(false);
   }
@@ -131,4 +134,5 @@
     self.addStyleDependentName("nofocus");
     self.removeStyleDependentName("focus");
   }
+
 }

Modified: trunk/src/main/resources/wave-server.properties
===================================================================
--- trunk/src/main/resources/wave-server.properties	2012-02-09 19:53:42 UTC (rev 1678)
+++ trunk/src/main/resources/wave-server.properties	2012-02-11 20:34:43 UTC (rev 1679)
@@ -106,7 +106,7 @@
 enable_ssl = false
 
 # Path to keystore containg the ssl certificates to server
-ssl_keystore_path = ./wiab.ks
+ssl_keystore_path = src/main/resources/wiab.ks
 
 #Password to the keystore
-ssl_keystore_password = changer_me
+ssl_keystore_password = fafafa

Added: trunk/src/main/resources/wiab.ks
===================================================================
(Binary files differ)


Property changes on: trunk/src/main/resources/wiab.ks
___________________________________________________________________
Name: svn:mime-type
   + application/octet-stream

Modified: trunk/src/test/java/cc/kune/selenium/login/ScreenCastsViaSeleniumTests.java
===================================================================
--- trunk/src/test/java/cc/kune/selenium/login/ScreenCastsViaSeleniumTests.java	2012-02-09 19:53:42 UTC (rev 1678)
+++ trunk/src/test/java/cc/kune/selenium/login/ScreenCastsViaSeleniumTests.java	2012-02-11 20:34:43 UTC (rev 1679)
@@ -133,6 +133,7 @@
      * chat.getTalkBox(jids).sendKeys(Keys.chord(Keys.ALT, "C")); //
      * chat.close();
      */
+
     // group space
     showTitleSlide(t("Group space (collaboration space)"),
         t("Here you can create groups and collaborate within them"));

Modified: trunk/src/test/java/cc/kune/selenium/spaces/GroupSpacePageObject.java
===================================================================
--- trunk/src/test/java/cc/kune/selenium/spaces/GroupSpacePageObject.java	2012-02-09 19:53:42 UTC (rev 1678)
+++ trunk/src/test/java/cc/kune/selenium/spaces/GroupSpacePageObject.java	2012-02-11 20:34:43 UTC (rev 1679)
@@ -22,12 +22,20 @@
 import org.openqa.selenium.WebElement;
 import org.openqa.selenium.support.FindBy;
 
+import cc.kune.blogs.shared.BlogsConstants;
+import cc.kune.chat.shared.ChatConstants;
 import cc.kune.core.client.sitebar.search.EntitySearchPanel;
 import cc.kune.core.client.sn.actions.AddEntityToThisGroupAction;
 import cc.kune.core.client.sn.actions.AddNewBuddiesAction;
 import cc.kune.core.client.sn.actions.registry.UserSNConfActions;
+import cc.kune.docs.shared.DocsConstants;
+import cc.kune.events.shared.EventsConstants;
+import cc.kune.gspace.client.tool.selector.ToolSelectorItemPanel;
+import cc.kune.lists.shared.ListsConstants;
 import cc.kune.selenium.PageObject;
 import cc.kune.selenium.SeleniumConstants;
+import cc.kune.tasks.shared.TasksConstants;
+import cc.kune.wiki.shared.WikiConstants;
 
 public class GroupSpacePageObject extends PageObject {
 
@@ -37,27 +45,27 @@
   public WebElement addNewBuddieTextBox;
   @FindBy(id = SeleniumConstants.GWTDEV + AddEntityToThisGroupAction.ADD_NEW_MEMBER_TEXTBOX)
   public WebElement addNewMemberTextBox;
-  @FindBy(xpath = "//div[2]/div/div[3]/div/span")
+  @FindBy(id = ToolSelectorItemPanel.TOOL_ID_PREFIX + BlogsConstants.NAME)
   public WebElement blogTool;
-  @FindBy(xpath = "//div[2]/div/div[4]/div/span")
+  @FindBy(id = ToolSelectorItemPanel.TOOL_ID_PREFIX + ChatConstants.NAME)
   public WebElement chatTool;
-  @FindBy(xpath = "//div[3]/div/div[2]/div/div/div/span")
+  @FindBy(id = ToolSelectorItemPanel.TOOL_ID_PREFIX + DocsConstants.NAME)
   public WebElement docTool;
-  @FindBy(xpath = "//div[2]/div/div[6]/div/span")
+  @FindBy(id = ToolSelectorItemPanel.TOOL_ID_PREFIX + EventsConstants.NAME)
   public WebElement eventTool;
   @FindBy(xpath = "//td/img")
   public WebElement firstAvatarOfGroup;
   @FindBy(xpath = "//td[2]/div/div/table/tbody/tr/td")
   public WebElement firstFromSuggestionBox;
-  @FindBy(xpath = "//div[2]/div/div[5]/div/span")
+  @FindBy(id = ToolSelectorItemPanel.TOOL_ID_PREFIX + ListsConstants.NAME)
   public WebElement listTool;
   @FindBy(id = SeleniumConstants.GWTDEV + EntitySearchPanel.OK_ID)
   public WebElement searchEntitiesOk;
   @FindBy(xpath = "//div[3]/div/button")
   public WebElement socialNetOptions;
-  @FindBy(xpath = "//div[2]/div/div[7]/div/span")
+  @FindBy(id = ToolSelectorItemPanel.TOOL_ID_PREFIX + TasksConstants.NAME)
   public WebElement taskTool;
-  @FindBy(xpath = "//div[2]/div/div[7]/div/span")
+  @FindBy(id = ToolSelectorItemPanel.TOOL_ID_PREFIX + WikiConstants.NAME)
   public WebElement wikiTool;
 
 }




More information about the kune-commits mailing list