kune-commits
Threads by month
- ----- 2026 -----
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2025 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2024 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2023 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2022 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2021 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2020 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2019 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2018 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2017 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2016 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2015 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2014 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2013 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2012 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2011 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2010 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2009 -----
- December
- November
- October
- September
- August
- July
- June
- May
- April
- March
- February
- January
- ----- 2008 -----
- December
- November
- October
- September
- August
- July
- June
- May
August 2011
- 2 participants
- 56 discussions
17 Aug '11
#55: kune properties as parameter
---------------------+------------------------------------------------------
Reporter: vjrj | Owner: vjrj
Type: defect | Status: closed
Priority: major | Milestone:
Component: Chat | Version:
Resolution: fixed | Keywords:
Blocking: | Blockedby:
---------------------+------------------------------------------------------
Changes (by vjrj):
* status: new => closed
* resolution: => fixed
--
Ticket URL: <http://kune.ourproject.org/issues/ticket/55#comment:>
kune issues <http://kune.ourproject.org/issues/>
1
0
r1498 - trunk/src/main/java/cc/kune/gspace/client/tool/selector
by Vicente J. Ruiz Jurado 17 Aug '11
by Vicente J. Ruiz Jurado 17 Aug '11
17 Aug '11
Author: vjrj_
Date: 2011-08-17 03:33:52 +0200 (Wed, 17 Aug 2011)
New Revision: 1498
Modified:
trunk/src/main/java/cc/kune/gspace/client/tool/selector/ToolSelectorItem.java
trunk/src/main/java/cc/kune/gspace/client/tool/selector/ToolSelectorItemPresenter.java
trunk/src/main/java/cc/kune/gspace/client/tool/selector/ToolSelectorPresenter.java
Log:
CLOSED - # 62: Tool links should point to the previous content (not the root)
http://kune.ourproject.org/issues/ticket/62
Modified: trunk/src/main/java/cc/kune/gspace/client/tool/selector/ToolSelectorItem.java
===================================================================
--- trunk/src/main/java/cc/kune/gspace/client/tool/selector/ToolSelectorItem.java 2011-08-16 19:51:42 UTC (rev 1497)
+++ trunk/src/main/java/cc/kune/gspace/client/tool/selector/ToolSelectorItem.java 2011-08-17 01:33:52 UTC (rev 1498)
@@ -19,18 +19,21 @@
\*/
package cc.kune.gspace.client.tool.selector;
+import cc.kune.core.shared.domain.utils.StateToken;
import cc.kune.gspace.client.tool.selector.ToolSelectorItemPresenter.ToolSelectorItemView;
public interface ToolSelectorItem {
- String getShortName();
+ String getShortName();
- ToolSelectorItemView getView();
+ ToolSelectorItemView getView();
- void setGroupShortName(String groupShortName);
+ void setGroupShortName(String groupShortName);
- void setSelected(boolean selected);
+ void setSelected(boolean selected);
- void setVisible(boolean visible);
+ void setToken(StateToken token);
+ void setVisible(boolean visible);
+
}
Modified: trunk/src/main/java/cc/kune/gspace/client/tool/selector/ToolSelectorItemPresenter.java
===================================================================
--- trunk/src/main/java/cc/kune/gspace/client/tool/selector/ToolSelectorItemPresenter.java 2011-08-16 19:51:42 UTC (rev 1497)
+++ trunk/src/main/java/cc/kune/gspace/client/tool/selector/ToolSelectorItemPresenter.java 2011-08-17 01:33:52 UTC (rev 1498)
@@ -35,15 +35,12 @@
HasText getLabel();
- // void setTheme(WsTheme oldTheme, WsTheme newTheme);
-
void setSelected(boolean selected);
void setVisible(boolean visible);
}
private final String longName;
- // private final WsThemeManager wsThemePresenter;
private final String shortName;
private StateToken token;
private final ToolSelector toolSelector;
@@ -54,7 +51,6 @@
this.shortName = shortName;
this.longName = longName;
this.toolSelector = toolSelector;
- // this.wsThemePresenter = wsThemePresenter;
}
@Override
@@ -77,12 +73,6 @@
}
});
view.getLabel().setText(longName);
- // wsThemePresenter.addOnThemeChanged(new Listener2<WsTheme, WsTheme>()
- // {
- // public void onEvent(final WsTheme oldTheme, final WsTheme newTheme) {
- // setTheme(oldTheme, newTheme);
- // }
- // });
}
@Override
@@ -95,9 +85,10 @@
view.setSelected(selected);
}
- // private void setTheme(final WsTheme oldTheme, final WsTheme newTheme) {
- // view.setTheme(oldTheme, newTheme);
- // }
+ @Override
+ public void setToken(final StateToken token) {
+ this.token = token;
+ }
@Override
public void setVisible(final boolean visible) {
Modified: trunk/src/main/java/cc/kune/gspace/client/tool/selector/ToolSelectorPresenter.java
===================================================================
--- trunk/src/main/java/cc/kune/gspace/client/tool/selector/ToolSelectorPresenter.java 2011-08-16 19:51:42 UTC (rev 1497)
+++ trunk/src/main/java/cc/kune/gspace/client/tool/selector/ToolSelectorPresenter.java 2011-08-17 01:33:52 UTC (rev 1498)
@@ -31,6 +31,7 @@
import cc.kune.core.client.state.StateManager;
import cc.kune.core.client.state.ToolChangedEvent;
import cc.kune.core.client.state.ToolChangedEvent.ToolChangedHandler;
+import cc.kune.core.shared.domain.utils.StateToken;
import cc.kune.gspace.client.tool.selector.ToolSelectorItemPresenter.ToolSelectorItemView;
import com.google.gwt.event.shared.EventBus;
@@ -42,94 +43,103 @@
import com.gwtplatform.mvp.client.proxy.RevealRootContentEvent;
public class ToolSelectorPresenter extends
- Presenter<ToolSelectorPresenter.ToolSelectorView, ToolSelectorPresenter.ToolSelectorProxy> implements
- ToolSelector {
+ Presenter<ToolSelectorPresenter.ToolSelectorView, ToolSelectorPresenter.ToolSelectorProxy> implements
+ ToolSelector {
- @ProxyCodeSplit
- public interface ToolSelectorProxy extends Proxy<ToolSelectorPresenter> {
- }
+ @ProxyCodeSplit
+ public interface ToolSelectorProxy extends Proxy<ToolSelectorPresenter> {
+ }
- public interface ToolSelectorView extends View {
- void addItem(ToolSelectorItemView item);
- }
+ public interface ToolSelectorView extends View {
+ void addItem(ToolSelectorItemView item);
+ }
- private final HashMap<String, ToolSelectorItem> tools;
+ private final HashMap<String, ToolSelectorItem> tools;
- @Inject
- public ToolSelectorPresenter(final EventBus eventBus, final ToolSelectorView view, final ToolSelectorProxy proxy,
- final StateManager stateManager) {
- super(eventBus, view, proxy);
- tools = new HashMap<String, ToolSelectorItem>();
- stateManager.onStateChanged(true, new StateChangedHandler() {
- @Override
- public void onStateChanged(final StateChangedEvent event) {
- for (final String tool : tools.keySet()) {
- final List<String> enabledTools = event.getState().getEnabledTools();
- if (enabledTools != null && enabledTools.contains(tool)) {
- tools.get(tool).setVisible(true);
- } else {
- tools.get(tool).setVisible(false);
- }
- }
- }
- });
- stateManager.onGroupChanged(true, new GroupChangedHandler() {
- @Override
- public void onGroupChanged(final GroupChangedEvent event) {
- ToolSelectorPresenter.this.onGroupChanged(event.getNewGroup());
- }
- });
- stateManager.onToolChanged(false, new ToolChangedHandler() {
- @Override
- public void onToolChanged(final ToolChangedEvent event) {
- ToolSelectorPresenter.this.onToolChanged(event.getPreviousTool(), event.getNewTool());
- }
- });
- }
-
- @Override
- public void addTool(final ToolSelectorItem item) {
- final String name = item.getShortName();
- if (name == null) {
- throw new UIException("You cannot add a tool without a name");
+ @Inject
+ public ToolSelectorPresenter(final EventBus eventBus, final ToolSelectorView view,
+ final ToolSelectorProxy proxy, final StateManager stateManager) {
+ super(eventBus, view, proxy);
+ tools = new HashMap<String, ToolSelectorItem>();
+ stateManager.onStateChanged(true, new StateChangedHandler() {
+ @Override
+ public void onStateChanged(final StateChangedEvent event) {
+ for (final String tool : tools.keySet()) {
+ final List<String> enabledTools = event.getState().getEnabledTools();
+ if (enabledTools != null && enabledTools.contains(tool)) {
+ tools.get(tool).setVisible(true);
+ } else {
+ tools.get(tool).setVisible(false);
+ }
}
- if (tools.get(name) != null) {
- throw new UIException("A tool with the same name already added");
+ }
+ });
+ stateManager.onGroupChanged(true, new GroupChangedHandler() {
+ @Override
+ public void onGroupChanged(final GroupChangedEvent event) {
+ ToolSelectorPresenter.this.onGroupChanged(event.getNewGroup());
+ }
+ });
+ stateManager.onToolChanged(false, new ToolChangedHandler() {
+ @Override
+ public void onToolChanged(final ToolChangedEvent event) {
+ ToolSelectorPresenter.this.onToolChanged(event.getPreviousTool(), event.getNewTool());
+ }
+ });
+ stateManager.onStateChanged(true, new StateChangedHandler() {
+ @Override
+ public void onStateChanged(final StateChangedEvent event) {
+ final StateToken token = event.getState().getStateToken();
+ if (token.hasAll() || token.hasGroupToolAndFolder()) {
+ tools.get(token.getTool()).setToken(token);
}
- tools.put(name, item);
- item.setSelected(false);
- getView().addItem(item.getView());
+ }
+ });
+ }
+
+ @Override
+ public void addTool(final ToolSelectorItem item) {
+ final String name = item.getShortName();
+ if (name == null) {
+ throw new UIException("You cannot add a tool without a name");
}
+ if (tools.get(name) != null) {
+ throw new UIException("A tool with the same name already added");
+ }
+ tools.put(name, item);
+ item.setSelected(false);
+ getView().addItem(item.getView());
+ }
- private void checkTool(final ToolSelectorItem tool) {
- if (tool == null) {
- throw new UIException("Trying to activate an unregistered tool in client");
- }
-
+ private void checkTool(final ToolSelectorItem tool) {
+ if (tool == null) {
+ throw new UIException("Trying to activate an unregistered tool in client");
}
- void onGroupChanged(final String newGroupName) {
- for (final String name : tools.keySet()) {
- tools.get(name).setGroupShortName(newGroupName);
- }
+ }
+
+ void onGroupChanged(final String newGroupName) {
+ for (final String name : tools.keySet()) {
+ tools.get(name).setGroupShortName(newGroupName);
}
+ }
- void onToolChanged(final String oldTool, final String newTool) {
- Log.debug("Registered tools: " + tools.keySet().toString());
- if (oldTool != null && !oldTool.equals("")) {
- final ToolSelectorItem tool = tools.get(oldTool);
- checkTool(tool);
- tool.setSelected(false);
- }
- if (!newTool.equals("")) {
- final ToolSelectorItem tool = tools.get(newTool);
- checkTool(tool);
- tool.setSelected(true);
- }
+ void onToolChanged(final String oldTool, final String newTool) {
+ Log.debug("Registered tools: " + tools.keySet().toString());
+ if (oldTool != null && !oldTool.equals("")) {
+ final ToolSelectorItem tool = tools.get(oldTool);
+ checkTool(tool);
+ tool.setSelected(false);
}
+ if (!newTool.equals("")) {
+ final ToolSelectorItem tool = tools.get(newTool);
+ checkTool(tool);
+ tool.setSelected(true);
+ }
+ }
- @Override
- protected void revealInParent() {
- RevealRootContentEvent.fire(this, this);
- }
+ @Override
+ protected void revealInParent() {
+ RevealRootContentEvent.fire(this, this);
+ }
}
1
0
Re: [kune-commits] [kune issues] #62: Tool links should point to the previous content (not the root)
by kune issues 17 Aug '11
by kune issues 17 Aug '11
17 Aug '11
#62: Tool links should point to the previous content (not the root)
---------------------+------------------------------------------------------
Reporter: vjrj | Owner: vjrj
Type: defect | Status: closed
Priority: major | Milestone:
Component: Chat | Version:
Resolution: fixed | Keywords:
Blocking: | Blockedby:
---------------------+------------------------------------------------------
Changes (by vjrj):
* status: new => closed
* resolution: => fixed
--
Ticket URL: <http://kune.ourproject.org/issues/ticket/62#comment:>
kune issues <http://kune.ourproject.org/issues/>
1
0
Re: [kune-commits] [kune issues] #70: Implement some kind of "/etc/init.d/kune reload" to reload configuration
by kune issues 16 Aug '11
by kune issues 16 Aug '11
16 Aug '11
#70: Implement some kind of "/etc/init.d/kune reload" to reload configuration
--------------------------+-------------------------------------------------
Reporter: vjrj | Owner: vjrj
Type: enhancement | Status: new
Priority: minor | Milestone:
Component: Server side | Version:
Resolution: | Keywords:
Blocking: | Blockedby:
--------------------------+-------------------------------------------------
Comment(by vjrj):
Something similar to:
http://ptrthomas.wordpress.com/2009/01/24/how-to-start-and-stop-jetty-
revisited/
but instead of stop, to reload the configuration.
--
Ticket URL: <http://kune.ourproject.org/issues/ticket/70#comment:1>
kune issues <http://kune.ourproject.org/issues/>
1
0
Re: [kune-commits] [kune issues] #66: Implement proposals for better usability of Group Space
by kune issues 16 Aug '11
by kune issues 16 Aug '11
16 Aug '11
#66: Implement proposals for better usability of Group Space
--------------------------+-------------------------------------------------
Reporter: vjrj | Owner: vjrj
Type: defect | Status: closed
Priority: major | Milestone:
Component: Group space | Version:
Resolution: duplicate | Keywords:
Blocking: | Blockedby:
--------------------------+-------------------------------------------------
Changes (by vjrj):
* status: new => closed
* resolution: => duplicate
--
Ticket URL: <http://kune.ourproject.org/issues/ticket/66#comment:1>
kune issues <http://kune.ourproject.org/issues/>
1
0
Re: [kune-commits] [kune issues] #64: "Code load failed" Window.alert when server restart
by kune issues 16 Aug '11
by kune issues 16 Aug '11
16 Aug '11
#64: "Code load failed" Window.alert when server restart
--------------------------+-------------------------------------------------
Reporter: vjrj | Owner: vjrj
Type: defect | Status: new
Priority: major | Milestone: 0.1.0
Component: Server side | Version: 0.0.9
Resolution: | Keywords:
Blocking: | Blockedby:
--------------------------+-------------------------------------------------
Comment(by vjrj):
I think this happends when a new GWT client version is not loaded (because
it's cached by the browser)
--
Ticket URL: <http://kune.ourproject.org/issues/ticket/64#comment:1>
kune issues <http://kune.ourproject.org/issues/>
1
0
16 Aug '11
Author: vjrj_
Date: 2011-08-16 21:51:42 +0200 (Tue, 16 Aug 2011)
New Revision: 1497
Added:
trunk/src/main/java/cc/kune/events/
trunk/src/main/java/cc/kune/events/KuneEvents.gwt.xml
trunk/src/main/java/cc/kune/events/client/
trunk/src/main/java/cc/kune/events/client/EventsClientTool.java
trunk/src/main/java/cc/kune/events/client/EventsGinModule.java
trunk/src/main/java/cc/kune/events/client/EventsGinjector.java
trunk/src/main/java/cc/kune/events/client/EventsParts.java
trunk/src/main/java/cc/kune/events/client/actions/
trunk/src/main/java/cc/kune/events/client/actions/DelMeetingMenuItem.java
trunk/src/main/java/cc/kune/events/client/actions/EventsClientActions.java
trunk/src/main/java/cc/kune/events/client/actions/NewMeetingBtn.java
trunk/src/main/java/cc/kune/events/client/actions/OpenMeetingMenuItem.java
trunk/src/main/java/cc/kune/events/server/
trunk/src/main/java/cc/kune/events/server/EventsServerModule.java
trunk/src/main/java/cc/kune/events/server/EventsServerTool.java
trunk/src/main/java/cc/kune/events/shared/
trunk/src/main/java/cc/kune/events/shared/EventsConstants.java
Removed:
trunk/src/main/java/cc/kune/events/client/actions/DelMeetingsMenuItem.java
trunk/src/main/java/cc/kune/events/client/actions/MeetingsClientActions.java
trunk/src/main/java/cc/kune/events/client/actions/NewMeetingsBtn.java
trunk/src/main/java/cc/kune/events/client/actions/OpenMeetingsMenuItem.java
trunk/src/main/java/cc/kune/events/server/MeetingServerModule.java
trunk/src/main/java/cc/kune/events/server/MeetingServerTool.java
trunk/src/main/java/cc/kune/events/shared/MeetingsConstants.java
trunk/src/main/java/cc/kune/meets/KuneMeets.gwt.xml
trunk/src/main/java/cc/kune/meets/client/
trunk/src/main/java/cc/kune/meets/server/
trunk/src/main/java/cc/kune/meets/shared/
Modified:
trunk/src/main/java/cc/kune/Kune.gwt.xml
trunk/src/main/java/cc/kune/client/KuneGinjector.java
trunk/src/main/java/cc/kune/core/server/KuneRackModule.java
trunk/src/main/java/cc/kune/domain/Content.java
trunk/src/main/java/cc/kune/events/client/actions/GoParentFolderBtn.java
trunk/src/test/java/cc/kune/core/server/integration/IntegrationTestHelper.java
Log:
CLOSED - # 95: Rename "Meets" for "Events"
http://kune.ourproject.org/issues/ticket/95
Modified: trunk/src/main/java/cc/kune/Kune.gwt.xml
===================================================================
--- trunk/src/main/java/cc/kune/Kune.gwt.xml 2011-08-16 19:07:23 UTC (rev 1496)
+++ trunk/src/main/java/cc/kune/Kune.gwt.xml 2011-08-16 19:51:42 UTC (rev 1497)
@@ -10,7 +10,7 @@
<inherits name="cc.kune.chat.KuneChat" />
<inherits name="cc.kune.docs.KuneDocs" />
<inherits name="cc.kune.wiki.KuneWiki" />
- <inherits name="cc.kune.meets.KuneMeets" />
+ <inherits name="cc.kune.events.KuneEvents" />
<inherits name="cc.kune.tasks.KuneTasks" />
<inherits name="cc.kune.lists.KuneLists" />
<inherits name="cc.kune.pspace.PSpace" />
Modified: trunk/src/main/java/cc/kune/client/KuneGinjector.java
===================================================================
--- trunk/src/main/java/cc/kune/client/KuneGinjector.java 2011-08-16 19:07:23 UTC (rev 1496)
+++ trunk/src/main/java/cc/kune/client/KuneGinjector.java 2011-08-16 19:51:42 UTC (rev 1497)
@@ -54,12 +54,12 @@
import cc.kune.core.shared.i18n.I18nTranslationService;
import cc.kune.docs.client.DocsGinModule;
import cc.kune.docs.client.DocsGinjector;
+import cc.kune.events.client.EventsGinjector;
+import cc.kune.events.client.EventsGinModule;
import cc.kune.gspace.client.GSpaceGinModule;
import cc.kune.gspace.client.GSpaceGinjector;
import cc.kune.lists.client.ListsGinModule;
import cc.kune.lists.client.ListsGinjector;
-import cc.kune.meets.client.MeetingsGinModule;
-import cc.kune.meets.client.MeetingsGinjector;
import cc.kune.pspace.client.PSpaceGinModule;
import cc.kune.pspace.client.PSpaceParts;
import cc.kune.pspace.client.PSpacePresenter;
@@ -79,10 +79,10 @@
@GinModules({ KuneGinModule.class, CoreGinModule.class, WaveGinModule.class, PSpaceGinModule.class,
GSpaceGinModule.class, DocsGinModule.class, BlogsGinModule.class, ChatGinModule.class,
- WikiGinModule.class, BartersGinModule.class, MeetingsGinModule.class, TasksGinModule.class,
+ WikiGinModule.class, BartersGinModule.class, EventsGinModule.class, TasksGinModule.class,
ListsGinModule.class })
public interface KuneGinjector extends Ginjector, GSpaceGinjector, DocsGinjector, BlogsGinjector,
- WikiGinjector, BartersGinjector, MeetingsGinjector, ChatGinjector, TasksGinjector, ListsGinjector {
+ WikiGinjector, BartersGinjector, EventsGinjector, ChatGinjector, TasksGinjector, ListsGinjector {
/*
* You have to add here all the GWTPresenters (as Provider or AsyncProvider)
Modified: trunk/src/main/java/cc/kune/core/server/KuneRackModule.java
===================================================================
--- trunk/src/main/java/cc/kune/core/server/KuneRackModule.java 2011-08-16 19:07:23 UTC (rev 1496)
+++ trunk/src/main/java/cc/kune/core/server/KuneRackModule.java 2011-08-16 19:51:42 UTC (rev 1497)
@@ -55,9 +55,9 @@
import cc.kune.core.server.rest.TestJSONService;
import cc.kune.core.server.rest.UserJSONService;
import cc.kune.docs.server.DocumentServerModule;
+import cc.kune.events.server.EventsServerModule;
import cc.kune.lists.client.rpc.ListsService;
import cc.kune.lists.server.ListsServerModule;
-import cc.kune.meets.server.MeetingServerModule;
import cc.kune.tasks.server.TaskServerModule;
import cc.kune.wiki.server.WikiServerModule;
@@ -167,7 +167,7 @@
builder.use(new WikiServerModule());
builder.use(new ChatServerModule());
builder.use(new BarterServerModule());
- builder.use(new MeetingServerModule());
+ builder.use(new EventsServerModule());
builder.use(new TaskServerModule());
builder.use(new ListsServerModule());
// builder.use(new GalleryServerModule());
Modified: trunk/src/main/java/cc/kune/domain/Content.java
===================================================================
--- trunk/src/main/java/cc/kune/domain/Content.java 2011-08-16 19:07:23 UTC (rev 1496)
+++ trunk/src/main/java/cc/kune/domain/Content.java 2011-08-16 19:51:42 UTC (rev 1497)
@@ -58,8 +58,8 @@
import cc.kune.core.shared.domain.utils.StateToken;
import cc.kune.docs.shared.DocsConstants;
import cc.kune.domain.utils.HasStateToken;
+import cc.kune.events.shared.EventsConstants;
import cc.kune.lists.shared.ListsConstants;
-import cc.kune.meets.shared.MeetingsConstants;
import cc.kune.tasks.shared.TasksConstants;
import cc.kune.wiki.shared.WikiConstants;
@@ -269,7 +269,7 @@
|| typeId.equals(TasksConstants.TYPE_TASK)
|| typeId.equals(ListsConstants.TYPE_POST)
|| typeId.equals(WikiConstants.TYPE_WIKIPAGE)
- || (typeId.equals(BlogsConstants.TYPE_POST) || typeId.equals(BartersConstants.TYPE_BARTER) || typeId.equals(MeetingsConstants.TYPE_MEETING));
+ || (typeId.equals(BlogsConstants.TYPE_POST) || typeId.equals(BartersConstants.TYPE_BARTER) || typeId.equals(EventsConstants.TYPE_MEETING));
}
public void removeAuthor(final User user) {
Copied: trunk/src/main/java/cc/kune/events/KuneEvents.gwt.xml (from rev 1489, trunk/src/main/java/cc/kune/meets/KuneMeets.gwt.xml)
===================================================================
--- trunk/src/main/java/cc/kune/events/KuneEvents.gwt.xml (rev 0)
+++ trunk/src/main/java/cc/kune/events/KuneEvents.gwt.xml 2011-08-16 19:51:42 UTC (rev 1497)
@@ -0,0 +1,6 @@
+<!DOCTYPE module PUBLIC "-//Google Inc.//DTD Google Web Toolkit 2.1.0//EN" "http://google-web-toolkit.googlecode.com/svn/tags/2.1.0/distro-source/core/…">
+<module>
+ <inherits name="cc.kune.core.KuneCore" />
+ <source path="client" />
+ <source path="shared" />
+</module>
\ No newline at end of file
Copied: trunk/src/main/java/cc/kune/events/client/EventsClientTool.java (from rev 1496, trunk/src/main/java/cc/kune/meets/client/MeetingsClientTool.java)
===================================================================
--- trunk/src/main/java/cc/kune/events/client/EventsClientTool.java (rev 0)
+++ trunk/src/main/java/cc/kune/events/client/EventsClientTool.java 2011-08-16 19:51:42 UTC (rev 1497)
@@ -0,0 +1,65 @@
+/*
+ *
+ * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+package cc.kune.events.client;
+
+import static cc.kune.events.shared.EventsConstants.NAME;
+import static cc.kune.events.shared.EventsConstants.ROOT_NAME;
+import static cc.kune.events.shared.EventsConstants.TYPE_MEETING;
+import static cc.kune.events.shared.EventsConstants.TYPE_ROOT;
+import cc.kune.core.client.registry.ContentCapabilitiesRegistry;
+import cc.kune.core.client.resources.nav.NavResources;
+import cc.kune.core.shared.i18n.I18nTranslationService;
+import cc.kune.gspace.client.tool.FoldableAbstractClientTool;
+import cc.kune.gspace.client.tool.selector.ToolSelector;
+
+import com.google.inject.Inject;
+
+public class EventsClientTool extends FoldableAbstractClientTool {
+
+ @Inject
+ public EventsClientTool(final I18nTranslationService i18n, final ToolSelector toolSelector,
+ final ContentCapabilitiesRegistry cntCapRegistry, final NavResources navResources) {
+ super(NAME, i18n.t(ROOT_NAME), toolSelector, cntCapRegistry, i18n, navResources);
+
+ // registerAclEditableTypes(TYPE_DOCUMENT, TYPE_UPLOADEDFILE);
+ registerAuthorableTypes(TYPE_MEETING);
+ registerDragableTypes(TYPE_MEETING);
+ registerDropableTypes(TYPE_ROOT);
+ // registerPublishModerableTypes();
+ registerRateableTypes(TYPE_MEETING);
+ registerRenamableTypes(TYPE_MEETING);
+ registerTageableTypes(TYPE_MEETING);
+ registerTranslatableTypes(TYPE_MEETING);
+
+ registerIcons();
+ }
+
+ @Override
+ public String getName() {
+ return NAME;
+ }
+
+ private void registerIcons() {
+ registerContentTypeIcon(TYPE_ROOT, navResources.folder());
+ registerContentTypeIcon(TYPE_MEETING, navResources.calendar());
+ registerEmptyMessages(TYPE_ROOT, i18n.t("There isn't any meeting"));
+ }
+
+}
Copied: trunk/src/main/java/cc/kune/events/client/EventsGinModule.java (from rev 1489, trunk/src/main/java/cc/kune/meets/client/MeetingsGinModule.java)
===================================================================
--- trunk/src/main/java/cc/kune/events/client/EventsGinModule.java (rev 0)
+++ trunk/src/main/java/cc/kune/events/client/EventsGinModule.java 2011-08-16 19:51:42 UTC (rev 1497)
@@ -0,0 +1,35 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+package cc.kune.events.client;
+
+import cc.kune.events.client.actions.EventsClientActions;
+
+import com.google.inject.Singleton;
+import com.gwtplatform.mvp.client.gin.AbstractPresenterModule;
+
+public class EventsGinModule extends AbstractPresenterModule {
+
+ @Override
+ protected void configure() {
+ bind(EventsClientTool.class).in(Singleton.class);
+ bind(EventsClientActions.class).in(Singleton.class);
+ }
+
+}
Copied: trunk/src/main/java/cc/kune/events/client/EventsGinjector.java (from rev 1489, trunk/src/main/java/cc/kune/meets/client/MeetingsGinjector.java)
===================================================================
--- trunk/src/main/java/cc/kune/events/client/EventsGinjector.java (rev 0)
+++ trunk/src/main/java/cc/kune/events/client/EventsGinjector.java 2011-08-16 19:51:42 UTC (rev 1497)
@@ -0,0 +1,28 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+package cc.kune.events.client;
+
+import com.google.gwt.inject.client.Ginjector;
+
+public interface EventsGinjector extends Ginjector {
+
+ EventsParts getMeetingsParts();
+
+}
Copied: trunk/src/main/java/cc/kune/events/client/EventsParts.java (from rev 1489, trunk/src/main/java/cc/kune/meets/client/MeetingsParts.java)
===================================================================
--- trunk/src/main/java/cc/kune/events/client/EventsParts.java (rev 0)
+++ trunk/src/main/java/cc/kune/events/client/EventsParts.java 2011-08-16 19:51:42 UTC (rev 1497)
@@ -0,0 +1,42 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+package cc.kune.events.client;
+
+import cc.kune.core.client.state.Session;
+import cc.kune.events.client.actions.EventsClientActions;
+import cc.kune.events.shared.EventsConstants;
+import cc.kune.gspace.client.tool.ContentViewerSelector;
+import cc.kune.gspace.client.viewers.ContentViewerPresenter;
+import cc.kune.gspace.client.viewers.FolderViewerPresenter;
+
+import com.google.inject.Inject;
+import com.google.inject.Provider;
+
+public class EventsParts {
+
+ @Inject
+ public EventsParts(final Session session, final Provider<EventsClientTool> clientTool,
+ final ContentViewerSelector viewerSelector, final EventsClientActions meetsActions,
+ final ContentViewerPresenter contentViewer, final FolderViewerPresenter folderViewer) {
+ clientTool.get();
+ viewerSelector.register(contentViewer, true, EventsConstants.TYPE_MEETING);
+ viewerSelector.register(folderViewer, true, EventsConstants.TYPE_ROOT);
+ }
+}
\ No newline at end of file
Copied: trunk/src/main/java/cc/kune/events/client/actions (from rev 1489, trunk/src/main/java/cc/kune/meets/client/actions)
Copied: trunk/src/main/java/cc/kune/events/client/actions/DelMeetingMenuItem.java (from rev 1489, trunk/src/main/java/cc/kune/meets/client/actions/DelMeetingsMenuItem.java)
===================================================================
--- trunk/src/main/java/cc/kune/events/client/actions/DelMeetingMenuItem.java (rev 0)
+++ trunk/src/main/java/cc/kune/events/client/actions/DelMeetingMenuItem.java 2011-08-16 19:51:42 UTC (rev 1497)
@@ -0,0 +1,34 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+package cc.kune.events.client.actions;
+
+import cc.kune.core.client.resources.CoreResources;
+import cc.kune.core.shared.i18n.I18nTranslationService;
+import cc.kune.gspace.client.actions.DelContentMenuItem;
+
+import com.google.inject.Inject;
+
+public class DelMeetingMenuItem extends DelContentMenuItem {
+
+ @Inject
+ public DelMeetingMenuItem(final I18nTranslationService i18n, final DelContentAction action, final CoreResources res) {
+ super(i18n, action, res);
+ }
+}
Deleted: trunk/src/main/java/cc/kune/events/client/actions/DelMeetingsMenuItem.java
===================================================================
--- trunk/src/main/java/cc/kune/meets/client/actions/DelMeetingsMenuItem.java 2011-08-11 00:58:21 UTC (rev 1489)
+++ trunk/src/main/java/cc/kune/events/client/actions/DelMeetingsMenuItem.java 2011-08-16 19:51:42 UTC (rev 1497)
@@ -1,34 +0,0 @@
-/*
- *
- * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
- * This file is part of kune.
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- */
-package cc.kune.meets.client.actions;
-
-import cc.kune.core.client.resources.CoreResources;
-import cc.kune.core.shared.i18n.I18nTranslationService;
-import cc.kune.gspace.client.actions.DelContentMenuItem;
-
-import com.google.inject.Inject;
-
-public class DelMeetingsMenuItem extends DelContentMenuItem {
-
- @Inject
- public DelMeetingsMenuItem(final I18nTranslationService i18n, final DelContentAction action, final CoreResources res) {
- super(i18n, action, res);
- }
-}
Copied: trunk/src/main/java/cc/kune/events/client/actions/EventsClientActions.java (from rev 1489, trunk/src/main/java/cc/kune/meets/client/actions/MeetingsClientActions.java)
===================================================================
--- trunk/src/main/java/cc/kune/events/client/actions/EventsClientActions.java (rev 0)
+++ trunk/src/main/java/cc/kune/events/client/actions/EventsClientActions.java 2011-08-16 19:51:42 UTC (rev 1497)
@@ -0,0 +1,67 @@
+/*
+ *
+ * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ \*/
+package cc.kune.events.client.actions;
+
+import static cc.kune.events.shared.EventsConstants.TYPE_MEETING;
+import static cc.kune.events.shared.EventsConstants.TYPE_ROOT;
+import cc.kune.core.client.actions.ActionRegistryByType;
+import cc.kune.core.client.i18n.I18nUITranslationService;
+import cc.kune.core.client.resources.CoreResources;
+import cc.kune.core.client.state.Session;
+import cc.kune.core.client.state.StateManager;
+import cc.kune.gspace.client.actions.AbstractFoldableToolActions;
+import cc.kune.gspace.client.actions.ActionGroups;
+import cc.kune.gspace.client.actions.ContentViewerOptionsMenu;
+import cc.kune.gspace.client.actions.ParticipateInContentBtn;
+import cc.kune.gspace.client.actions.RefreshContentMenuItem;
+
+import com.google.inject.Inject;
+import com.google.inject.Provider;
+
+public class EventsClientActions extends AbstractFoldableToolActions {
+ final String[] all = { TYPE_ROOT, TYPE_MEETING };
+ final String[] containers = { TYPE_ROOT };
+ final String[] containersNoRoot = {};
+ final String[] contents = { TYPE_MEETING };
+
+ @Inject
+ public EventsClientActions(final I18nUITranslationService i18n, final Session session,
+ final StateManager stateManager, final ActionRegistryByType registry, final CoreResources res,
+ final Provider<NewMeetingBtn> newMeetingsBtn, final Provider<GoParentFolderBtn> folderGoUp,
+ final Provider<OpenMeetingMenuItem> openContentMenuItem,
+ final Provider<DelMeetingMenuItem> delContentMenuItem,
+ final Provider<ContentViewerOptionsMenu> optionsMenuContent,
+ final Provider<ParticipateInContentBtn> participateBtn,
+ final Provider<RefreshContentMenuItem> refresh) {
+ super(session, stateManager, i18n, registry);
+ actionsRegistry.addAction(ActionGroups.TOOLBAR, optionsMenuContent, all);
+ actionsRegistry.addAction(ActionGroups.TOOLBAR, refresh, all);
+ actionsRegistry.addAction(ActionGroups.TOOLBAR, newMeetingsBtn, containers);
+ actionsRegistry.addAction(ActionGroups.TOOLBAR, participateBtn, contents);
+ actionsRegistry.addAction(ActionGroups.TOOLBAR, folderGoUp, all);
+ actionsRegistry.addAction(ActionGroups.ITEM_MENU, openContentMenuItem, contents);
+ actionsRegistry.addAction(ActionGroups.ITEM_MENU, openContentMenuItem, containersNoRoot);
+ actionsRegistry.addAction(ActionGroups.ITEM_MENU, delContentMenuItem, contents);
+ }
+
+ @Override
+ protected void createPostSessionInitActions() {
+ }
+}
Modified: trunk/src/main/java/cc/kune/events/client/actions/GoParentFolderBtn.java
===================================================================
--- trunk/src/main/java/cc/kune/meets/client/actions/GoParentFolderBtn.java 2011-08-11 00:58:21 UTC (rev 1489)
+++ trunk/src/main/java/cc/kune/events/client/actions/GoParentFolderBtn.java 2011-08-16 19:51:42 UTC (rev 1497)
@@ -17,13 +17,13 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*
*/
-package cc.kune.meets.client.actions;
+package cc.kune.events.client.actions;
import cc.kune.core.client.resources.CoreResources;
import cc.kune.core.client.state.Session;
import cc.kune.core.shared.i18n.I18nTranslationService;
+import cc.kune.events.shared.EventsConstants;
import cc.kune.gspace.client.actions.GoParentContainerBtn;
-import cc.kune.meets.shared.MeetingsConstants;
import com.google.inject.Inject;
@@ -32,7 +32,7 @@
@Inject
public GoParentFolderBtn(final I18nTranslationService i18n, final GoParentContainerAction action,
final CoreResources res, final Session session) {
- super(i18n, action, res, session, MeetingsConstants.TYPE_ROOT);
+ super(i18n, action, res, session, EventsConstants.TYPE_ROOT);
}
}
Deleted: trunk/src/main/java/cc/kune/events/client/actions/MeetingsClientActions.java
===================================================================
--- trunk/src/main/java/cc/kune/meets/client/actions/MeetingsClientActions.java 2011-08-11 00:58:21 UTC (rev 1489)
+++ trunk/src/main/java/cc/kune/events/client/actions/MeetingsClientActions.java 2011-08-16 19:51:42 UTC (rev 1497)
@@ -1,67 +0,0 @@
-/*
- *
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
- * This file is part of kune.
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- \*/
-package cc.kune.meets.client.actions;
-
-import static cc.kune.meets.shared.MeetingsConstants.TYPE_MEETING;
-import static cc.kune.meets.shared.MeetingsConstants.TYPE_ROOT;
-import cc.kune.core.client.actions.ActionRegistryByType;
-import cc.kune.core.client.i18n.I18nUITranslationService;
-import cc.kune.core.client.resources.CoreResources;
-import cc.kune.core.client.state.Session;
-import cc.kune.core.client.state.StateManager;
-import cc.kune.gspace.client.actions.AbstractFoldableToolActions;
-import cc.kune.gspace.client.actions.ActionGroups;
-import cc.kune.gspace.client.actions.ContentViewerOptionsMenu;
-import cc.kune.gspace.client.actions.ParticipateInContentBtn;
-import cc.kune.gspace.client.actions.RefreshContentMenuItem;
-
-import com.google.inject.Inject;
-import com.google.inject.Provider;
-
-public class MeetingsClientActions extends AbstractFoldableToolActions {
- final String[] all = { TYPE_ROOT, TYPE_MEETING };
- final String[] containers = { TYPE_ROOT };
- final String[] containersNoRoot = {};
- final String[] contents = { TYPE_MEETING };
-
- @Inject
- public MeetingsClientActions(final I18nUITranslationService i18n, final Session session,
- final StateManager stateManager, final ActionRegistryByType registry, final CoreResources res,
- final Provider<NewMeetingsBtn> newMeetingsBtn, final Provider<GoParentFolderBtn> folderGoUp,
- final Provider<OpenMeetingsMenuItem> openContentMenuItem,
- final Provider<DelMeetingsMenuItem> delContentMenuItem,
- final Provider<ContentViewerOptionsMenu> optionsMenuContent,
- final Provider<ParticipateInContentBtn> participateBtn,
- final Provider<RefreshContentMenuItem> refresh) {
- super(session, stateManager, i18n, registry);
- actionsRegistry.addAction(ActionGroups.TOOLBAR, optionsMenuContent, all);
- actionsRegistry.addAction(ActionGroups.TOOLBAR, refresh, all);
- actionsRegistry.addAction(ActionGroups.TOOLBAR, newMeetingsBtn, containers);
- actionsRegistry.addAction(ActionGroups.TOOLBAR, participateBtn, contents);
- actionsRegistry.addAction(ActionGroups.TOOLBAR, folderGoUp, all);
- actionsRegistry.addAction(ActionGroups.ITEM_MENU, openContentMenuItem, contents);
- actionsRegistry.addAction(ActionGroups.ITEM_MENU, openContentMenuItem, containersNoRoot);
- actionsRegistry.addAction(ActionGroups.ITEM_MENU, delContentMenuItem, contents);
- }
-
- @Override
- protected void createPostSessionInitActions() {
- }
-}
Copied: trunk/src/main/java/cc/kune/events/client/actions/NewMeetingBtn.java (from rev 1489, trunk/src/main/java/cc/kune/meets/client/actions/NewMeetingsBtn.java)
===================================================================
--- trunk/src/main/java/cc/kune/events/client/actions/NewMeetingBtn.java (rev 0)
+++ trunk/src/main/java/cc/kune/events/client/actions/NewMeetingBtn.java 2011-08-16 19:51:42 UTC (rev 1497)
@@ -0,0 +1,40 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+package cc.kune.events.client.actions;
+
+import cc.kune.common.client.shortcuts.GlobalShortcutRegister;
+import cc.kune.core.client.resources.nav.NavResources;
+import cc.kune.core.shared.i18n.I18nTranslationService;
+import cc.kune.events.shared.EventsConstants;
+import cc.kune.gspace.client.actions.NewContentAction;
+import cc.kune.gspace.client.actions.NewContentBtn;
+
+import com.google.inject.Inject;
+
+public class NewMeetingBtn extends NewContentBtn {
+
+ @Inject
+ public NewMeetingBtn(final I18nTranslationService i18n, final NewContentAction action,
+ final NavResources res, final GlobalShortcutRegister shorcutReg) {
+ super(i18n, action, res.calendarAdd(), shorcutReg, i18n.t("New meeting"),
+ i18n.t("Create a New Meeting here"), i18n.t("New meeting"), EventsConstants.TYPE_MEETING);
+ }
+
+}
Deleted: trunk/src/main/java/cc/kune/events/client/actions/NewMeetingsBtn.java
===================================================================
--- trunk/src/main/java/cc/kune/meets/client/actions/NewMeetingsBtn.java 2011-08-11 00:58:21 UTC (rev 1489)
+++ trunk/src/main/java/cc/kune/events/client/actions/NewMeetingsBtn.java 2011-08-16 19:51:42 UTC (rev 1497)
@@ -1,40 +0,0 @@
-/*
- *
- * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
- * This file is part of kune.
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- */
-package cc.kune.meets.client.actions;
-
-import cc.kune.common.client.shortcuts.GlobalShortcutRegister;
-import cc.kune.core.client.resources.nav.NavResources;
-import cc.kune.core.shared.i18n.I18nTranslationService;
-import cc.kune.gspace.client.actions.NewContentAction;
-import cc.kune.gspace.client.actions.NewContentBtn;
-import cc.kune.meets.shared.MeetingsConstants;
-
-import com.google.inject.Inject;
-
-public class NewMeetingsBtn extends NewContentBtn {
-
- @Inject
- public NewMeetingsBtn(final I18nTranslationService i18n, final NewContentAction action,
- final NavResources res, final GlobalShortcutRegister shorcutReg) {
- super(i18n, action, res.calendarAdd(), shorcutReg, i18n.t("New meeting"),
- i18n.t("Create a New Meeting here"), i18n.t("New meeting"), MeetingsConstants.TYPE_MEETING);
- }
-
-}
Copied: trunk/src/main/java/cc/kune/events/client/actions/OpenMeetingMenuItem.java (from rev 1489, trunk/src/main/java/cc/kune/meets/client/actions/OpenMeetingsMenuItem.java)
===================================================================
--- trunk/src/main/java/cc/kune/events/client/actions/OpenMeetingMenuItem.java (rev 0)
+++ trunk/src/main/java/cc/kune/events/client/actions/OpenMeetingMenuItem.java 2011-08-16 19:51:42 UTC (rev 1497)
@@ -0,0 +1,35 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+package cc.kune.events.client.actions;
+
+import cc.kune.core.client.resources.nav.NavResources;
+import cc.kune.core.shared.i18n.I18nTranslationService;
+import cc.kune.gspace.client.actions.OpenContentMenuItem;
+
+import com.google.inject.Inject;
+
+public class OpenMeetingMenuItem extends OpenContentMenuItem {
+
+ @Inject
+ public OpenMeetingMenuItem(final I18nTranslationService i18n, final OpenContentAction action, final NavResources res) {
+ super(i18n, action, res);
+ }
+
+}
Deleted: trunk/src/main/java/cc/kune/events/client/actions/OpenMeetingsMenuItem.java
===================================================================
--- trunk/src/main/java/cc/kune/meets/client/actions/OpenMeetingsMenuItem.java 2011-08-11 00:58:21 UTC (rev 1489)
+++ trunk/src/main/java/cc/kune/events/client/actions/OpenMeetingsMenuItem.java 2011-08-16 19:51:42 UTC (rev 1497)
@@ -1,35 +0,0 @@
-/*
- *
- * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
- * This file is part of kune.
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- */
-package cc.kune.meets.client.actions;
-
-import cc.kune.core.client.resources.nav.NavResources;
-import cc.kune.core.shared.i18n.I18nTranslationService;
-import cc.kune.gspace.client.actions.OpenContentMenuItem;
-
-import com.google.inject.Inject;
-
-public class OpenMeetingsMenuItem extends OpenContentMenuItem {
-
- @Inject
- public OpenMeetingsMenuItem(final I18nTranslationService i18n, final OpenContentAction action, final NavResources res) {
- super(i18n, action, res);
- }
-
-}
Copied: trunk/src/main/java/cc/kune/events/server (from rev 1489, trunk/src/main/java/cc/kune/meets/server)
Copied: trunk/src/main/java/cc/kune/events/server/EventsServerModule.java (from rev 1489, trunk/src/main/java/cc/kune/meets/server/MeetingServerModule.java)
===================================================================
--- trunk/src/main/java/cc/kune/events/server/EventsServerModule.java (rev 0)
+++ trunk/src/main/java/cc/kune/events/server/EventsServerModule.java 2011-08-16 19:51:42 UTC (rev 1497)
@@ -0,0 +1,29 @@
+/*
+ *
+ * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+package cc.kune.events.server;
+
+import com.google.inject.Binder;
+import com.google.inject.Module;
+
+public class EventsServerModule implements Module {
+ public void configure(final Binder binder) {
+ binder.bind(EventsServerTool.class).asEagerSingleton();
+ }
+}
Copied: trunk/src/main/java/cc/kune/events/server/EventsServerTool.java (from rev 1489, trunk/src/main/java/cc/kune/meets/server/MeetingServerTool.java)
===================================================================
--- trunk/src/main/java/cc/kune/events/server/EventsServerTool.java (rev 0)
+++ trunk/src/main/java/cc/kune/events/server/EventsServerTool.java 2011-08-16 19:51:42 UTC (rev 1497)
@@ -0,0 +1,101 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+package cc.kune.events.server;
+
+import static cc.kune.events.shared.EventsConstants.NAME;
+import static cc.kune.events.shared.EventsConstants.ROOT_NAME;
+import static cc.kune.events.shared.EventsConstants.TYPE_MEETING;
+import static cc.kune.events.shared.EventsConstants.TYPE_ROOT;
+
+import java.net.URL;
+import java.util.Arrays;
+import java.util.Collections;
+import java.util.Date;
+
+import cc.kune.core.server.AbstractServerTool;
+import cc.kune.core.server.content.ContainerManager;
+import cc.kune.core.server.content.ContentManager;
+import cc.kune.core.server.manager.ToolConfigurationManager;
+import cc.kune.core.server.tool.ServerToolTarget;
+import cc.kune.core.server.tool.ServerWaveTool;
+import cc.kune.core.server.utils.UrlUtils;
+import cc.kune.core.shared.domain.ContentStatus;
+import cc.kune.core.shared.domain.GroupListMode;
+import cc.kune.core.shared.i18n.I18nTranslationService;
+import cc.kune.domain.AccessLists;
+import cc.kune.domain.Container;
+import cc.kune.domain.Content;
+import cc.kune.domain.Group;
+import cc.kune.domain.User;
+
+import com.google.inject.Inject;
+
+public class EventsServerTool extends AbstractServerTool implements ServerWaveTool {
+
+ private static final String MEETING_GADGET = "http://mass-mob.appspot.com/massmob/org.ourproject.massmob.client.MassmobGa…";
+ private final URL gadgetUrl;
+
+ @Inject
+ public EventsServerTool(final ContentManager contentManager, final ContainerManager containerManager,
+ final ToolConfigurationManager configurationManager, final I18nTranslationService i18n) {
+ super(NAME, ROOT_NAME, TYPE_ROOT, Arrays.asList(TYPE_MEETING), Arrays.asList(TYPE_ROOT),
+ Collections.<String> emptyList(), Arrays.asList(TYPE_ROOT), contentManager, containerManager,
+ configurationManager, i18n, ServerToolTarget.forGroups);
+ gadgetUrl = UrlUtils.of(MEETING_GADGET);
+ }
+
+ @Override
+ public URL getGadgetUrl() {
+ return gadgetUrl;
+ }
+
+ @Override
+ public Group initGroup(final User user, final Group group, final Object... otherVars) {
+ final Container rootFolder = createRoot(group);
+
+ final Content content = createInitialContent(user, group, rootFolder, i18n.t("Meeting sample"),
+ i18n.t("This is only a meet sample. You can invite other participants to this meeting, "
+ + "but also publish to the general public allowing you to to help in the organization, "
+ + "call and speed-up of events."), TYPE_MEETING, gadgetUrl);
+ contentManager.save(content);
+ return group;
+ }
+
+ @Override
+ public void onCreateContainer(final Container container, final Container parent) {
+ setContainerAcl(container);
+ }
+
+ @Override
+ public void onCreateContent(final Content content, final Container parent) {
+ content.setStatus(ContentStatus.publishedOnline);
+ content.setPublishedOn(new Date());
+ }
+
+ @Override
+ protected void setContainerAcl(final Container container) {
+ final AccessLists meetsAcl = new AccessLists();
+ meetsAcl.getAdmins().setMode(GroupListMode.NORMAL);
+ meetsAcl.getAdmins().add(container.getOwner());
+ meetsAcl.getEditors().setMode(GroupListMode.NORMAL);
+ meetsAcl.getViewers().setMode(GroupListMode.EVERYONE);
+ containerManager.setAccessList(container, meetsAcl);
+ }
+}
Deleted: trunk/src/main/java/cc/kune/events/server/MeetingServerModule.java
===================================================================
--- trunk/src/main/java/cc/kune/meets/server/MeetingServerModule.java 2011-08-11 00:58:21 UTC (rev 1489)
+++ trunk/src/main/java/cc/kune/events/server/MeetingServerModule.java 2011-08-16 19:51:42 UTC (rev 1497)
@@ -1,29 +0,0 @@
-/*
- *
- * Copyright (C) 2007-2009 The kune development team (see CREDITS for details)
- * This file is part of kune.
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- */
-package cc.kune.meets.server;
-
-import com.google.inject.Binder;
-import com.google.inject.Module;
-
-public class MeetingServerModule implements Module {
- public void configure(final Binder binder) {
- binder.bind(MeetingServerTool.class).asEagerSingleton();
- }
-}
Deleted: trunk/src/main/java/cc/kune/events/server/MeetingServerTool.java
===================================================================
--- trunk/src/main/java/cc/kune/meets/server/MeetingServerTool.java 2011-08-11 00:58:21 UTC (rev 1489)
+++ trunk/src/main/java/cc/kune/events/server/MeetingServerTool.java 2011-08-16 19:51:42 UTC (rev 1497)
@@ -1,101 +0,0 @@
-/*
- *
- * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
- * This file is part of kune.
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- */
-package cc.kune.meets.server;
-
-import static cc.kune.meets.shared.MeetingsConstants.NAME;
-import static cc.kune.meets.shared.MeetingsConstants.ROOT_NAME;
-import static cc.kune.meets.shared.MeetingsConstants.TYPE_MEETING;
-import static cc.kune.meets.shared.MeetingsConstants.TYPE_ROOT;
-
-import java.net.URL;
-import java.util.Arrays;
-import java.util.Collections;
-import java.util.Date;
-
-import cc.kune.core.server.AbstractServerTool;
-import cc.kune.core.server.content.ContainerManager;
-import cc.kune.core.server.content.ContentManager;
-import cc.kune.core.server.manager.ToolConfigurationManager;
-import cc.kune.core.server.tool.ServerToolTarget;
-import cc.kune.core.server.tool.ServerWaveTool;
-import cc.kune.core.server.utils.UrlUtils;
-import cc.kune.core.shared.domain.ContentStatus;
-import cc.kune.core.shared.domain.GroupListMode;
-import cc.kune.core.shared.i18n.I18nTranslationService;
-import cc.kune.domain.AccessLists;
-import cc.kune.domain.Container;
-import cc.kune.domain.Content;
-import cc.kune.domain.Group;
-import cc.kune.domain.User;
-
-import com.google.inject.Inject;
-
-public class MeetingServerTool extends AbstractServerTool implements ServerWaveTool {
-
- private static final String MEETING_GADGET = "http://mass-mob.appspot.com/massmob/org.ourproject.massmob.client.MassmobGa…";
- private final URL gadgetUrl;
-
- @Inject
- public MeetingServerTool(final ContentManager contentManager, final ContainerManager containerManager,
- final ToolConfigurationManager configurationManager, final I18nTranslationService i18n) {
- super(NAME, ROOT_NAME, TYPE_ROOT, Arrays.asList(TYPE_MEETING), Arrays.asList(TYPE_ROOT),
- Collections.<String> emptyList(), Arrays.asList(TYPE_ROOT), contentManager, containerManager,
- configurationManager, i18n, ServerToolTarget.forGroups);
- gadgetUrl = UrlUtils.of(MEETING_GADGET);
- }
-
- @Override
- public URL getGadgetUrl() {
- return gadgetUrl;
- }
-
- @Override
- public Group initGroup(final User user, final Group group, final Object... otherVars) {
- final Container rootFolder = createRoot(group);
-
- final Content content = createInitialContent(user, group, rootFolder, i18n.t("Meeting sample"),
- i18n.t("This is only a meet sample. You can invite other participants to this meeting, "
- + "but also publish to the general public allowing you to to help in the organization, "
- + "call and speed-up of events."), TYPE_MEETING, gadgetUrl);
- contentManager.save(content);
- return group;
- }
-
- @Override
- public void onCreateContainer(final Container container, final Container parent) {
- setContainerAcl(container);
- }
-
- @Override
- public void onCreateContent(final Content content, final Container parent) {
- content.setStatus(ContentStatus.publishedOnline);
- content.setPublishedOn(new Date());
- }
-
- @Override
- protected void setContainerAcl(final Container container) {
- final AccessLists meetsAcl = new AccessLists();
- meetsAcl.getAdmins().setMode(GroupListMode.NORMAL);
- meetsAcl.getAdmins().add(container.getOwner());
- meetsAcl.getEditors().setMode(GroupListMode.NORMAL);
- meetsAcl.getViewers().setMode(GroupListMode.EVERYONE);
- containerManager.setAccessList(container, meetsAcl);
- }
-}
Copied: trunk/src/main/java/cc/kune/events/shared (from rev 1489, trunk/src/main/java/cc/kune/meets/shared)
Copied: trunk/src/main/java/cc/kune/events/shared/EventsConstants.java (from rev 1496, trunk/src/main/java/cc/kune/meets/shared/MeetingsConstants.java)
===================================================================
--- trunk/src/main/java/cc/kune/events/shared/EventsConstants.java (rev 0)
+++ trunk/src/main/java/cc/kune/events/shared/EventsConstants.java 2011-08-16 19:51:42 UTC (rev 1497)
@@ -0,0 +1,31 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+package cc.kune.events.shared;
+
+public final class EventsConstants {
+
+ public static final String NAME = "events";
+ public static final String ROOT_NAME = "events";
+ public static final String TYPE_MEETING = NAME + "." + "meeting";
+ public static final String TYPE_ROOT = NAME + "." + "root";
+
+ private EventsConstants() {
+ }
+}
\ No newline at end of file
Deleted: trunk/src/main/java/cc/kune/events/shared/MeetingsConstants.java
===================================================================
--- trunk/src/main/java/cc/kune/meets/shared/MeetingsConstants.java 2011-08-11 00:58:21 UTC (rev 1489)
+++ trunk/src/main/java/cc/kune/events/shared/MeetingsConstants.java 2011-08-16 19:51:42 UTC (rev 1497)
@@ -1,31 +0,0 @@
-/*
- *
- * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
- * This file is part of kune.
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- */
-package cc.kune.meets.shared;
-
-public final class MeetingsConstants {
-
- public static final String NAME = "meets";
- public static final String ROOT_NAME = "meets";
- public static final String TYPE_MEETING = NAME + "." + "meet";
- public static final String TYPE_ROOT = NAME + "." + "root";
-
- private MeetingsConstants() {
- }
-}
\ No newline at end of file
Deleted: trunk/src/main/java/cc/kune/meets/KuneMeets.gwt.xml
===================================================================
--- trunk/src/main/java/cc/kune/meets/KuneMeets.gwt.xml 2011-08-16 19:07:23 UTC (rev 1496)
+++ trunk/src/main/java/cc/kune/meets/KuneMeets.gwt.xml 2011-08-16 19:51:42 UTC (rev 1497)
@@ -1,6 +0,0 @@
-<!DOCTYPE module PUBLIC "-//Google Inc.//DTD Google Web Toolkit 2.1.0//EN" "http://google-web-toolkit.googlecode.com/svn/tags/2.1.0/distro-source/core/…">
-<module>
- <inherits name="cc.kune.core.KuneCore" />
- <source path="client" />
- <source path="shared" />
-</module>
\ No newline at end of file
Modified: trunk/src/test/java/cc/kune/core/server/integration/IntegrationTestHelper.java
===================================================================
--- trunk/src/test/java/cc/kune/core/server/integration/IntegrationTestHelper.java 2011-08-16 19:07:23 UTC (rev 1496)
+++ trunk/src/test/java/cc/kune/core/server/integration/IntegrationTestHelper.java 2011-08-16 19:51:42 UTC (rev 1497)
@@ -38,8 +38,8 @@
import cc.kune.core.server.init.FinderRegistry;
import cc.kune.core.server.properties.PropertiesFileName;
import cc.kune.docs.server.DocumentServerModule;
+import cc.kune.events.server.EventsServerModule;
import cc.kune.lists.server.ListsServerModule;
-import cc.kune.meets.server.MeetingServerModule;
import cc.kune.tasks.server.TaskServerModule;
import cc.kune.wave.server.CustomSettingsBinder;
import cc.kune.wiki.server.WikiServerModule;
@@ -66,7 +66,7 @@
new ListsServerModule(), new RobotApiModule(), new PlatformServerModule(),
new DocumentServerModule(), new ChatServerModule(), new ServerModule(false), federationModule,
new WikiServerModule(), new TaskServerModule(), new BarterServerModule(),
- new MeetingServerModule(), new AbstractModule() {
+ new EventsServerModule(), new AbstractModule() {
@Override
protected void configure() {
bindScope(SessionScoped.class, Scopes.SINGLETON);
1
0
Author: vjrj_
Date: 2011-08-16 21:07:23 +0200 (Tue, 16 Aug 2011)
New Revision: 1496
Added:
trunk/src/main/java/cc/kune/core/server/properties/ReservedWordsRegistry.java
trunk/src/main/java/cc/kune/core/shared/dto/ReservedWordsRegistryDTO.java
trunk/src/main/java/cc/kune/lists/client/actions/ShowSubscribersOfListBtn.java
trunk/src/main/resources/db/update-0016-meetings.sql
Removed:
trunk/src/main/java/cc/kune/core/client/state/ReservedWordsRegistry.java
Modified:
trunk/.classpath
trunk/pom.xml
trunk/script/liquibase-migrate.sh
trunk/script/liquibase-rollback.sh
trunk/src/main/java/cc/kune/common/client/actions/AbstractAction.java
trunk/src/main/java/cc/kune/common/client/actions/Action.java
trunk/src/main/java/cc/kune/core/client/CoreGinModule.java
trunk/src/main/java/cc/kune/core/client/auth/RegisterPresenter.java
trunk/src/main/java/cc/kune/core/client/groups/newgroup/NewGroupPresenter.java
trunk/src/main/java/cc/kune/core/client/resources/CoreMessages.java
trunk/src/main/java/cc/kune/core/client/state/SiteTokens.java
trunk/src/main/java/cc/kune/core/client/state/TokenMatcher.java
trunk/src/main/java/cc/kune/core/server/InitData.java
trunk/src/main/java/cc/kune/core/server/properties/KuneProperties.java
trunk/src/main/java/cc/kune/core/server/rpc/GroupRPC.java
trunk/src/main/java/cc/kune/core/server/rpc/SiteRPC.java
trunk/src/main/java/cc/kune/core/server/rpc/UserRPC.java
trunk/src/main/java/cc/kune/core/shared/dto/InitDataDTO.java
trunk/src/main/java/cc/kune/lists/client/actions/ListsClientActions.java
trunk/src/main/java/cc/kune/lists/client/actions/SubscribeToListBtn.java
trunk/src/main/java/cc/kune/meets/client/MeetingsClientTool.java
trunk/src/main/java/cc/kune/meets/shared/MeetingsConstants.java
trunk/src/main/java/cc/kune/wave/server/KuneWaveManagerDefault.java
trunk/src/main/resources/db/liquibase_changelog.xml
trunk/src/main/resources/kune.properties
trunk/src/test/java/cc/kune/core/client/state/TokenMatcherTest.java
Log:
CLOSED - # 95: Rename "Meets" for "Events"
http://kune.ourproject.org/issues/ticket/95
CLOSED - # 43: Server side Reserved Words (thanks to Alfredo Alvarez)
http://kune.ourproject.org/issues/ticket/43
NEW - # 93: List tool
http://kune.ourproject.org/issues/ticket/93
Modified: trunk/.classpath
===================================================================
--- trunk/.classpath 2011-08-14 11:54:12 UTC (rev 1495)
+++ trunk/.classpath 2011-08-16 19:07:23 UTC (rev 1496)
@@ -1,155 +1,154 @@
-<?xml version="1.0" encoding="UTF-8"?>
<classpath>
- <classpathentry including="**/*.java" kind="src" output="target/test-classes" path="src/test/java"/>
- <classpathentry including="**/*.java" kind="src" path="src/main/java"/>
- <classpathentry excluding="**/*.java" kind="src" path="src/main/resources"/>
- <classpathentry kind="var" path="M2_REPO/javax/inject/javax.inject/1/javax.inject-1.jar" sourcepath="M2_REPO/javax/inject/javax.inject/1/javax.inject-1-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/javax/transaction/jta/1.1/jta-1.1.jar" sourcepath="M2_REPO/javax/transaction/jta/1.1/jta-1.1-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/javax/persistence/persistence-api/1.0/persistence-api-1.0.jar" sourcepath="M2_REPO/javax/persistence/persistence-api/1.0/persistence-api-1.0-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/javax/servlet/servlet-api/2.5/servlet-api-2.5.jar" sourcepath="M2_REPO/javax/servlet/servlet-api/2.5/servlet-api-2.5-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/antlr/antlr/2.7.6/antlr-2.7.6.jar" sourcepath="M2_REPO/antlr/antlr/2.7.6/antlr-2.7.6-sources.jar"/>
- <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/com/google/appengine/appengine-api-1.0-sdk/1.3.1/appengine-api-1.0-sdk-1.3.1.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/org/waveprotocol/box/0.3.1-SNAPSHOT/box-0.3.1-SNAPSHOT.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/waveprotocol/box-src/0.3.1-SNAPSHOT/box-src-0.3.1-SNAPSHOT.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/classworlds/classworlds/1.1-alpha-2/classworlds-1.1-alpha-2.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/waveprotocol/client/0.3.1-SNAPSHOT/client-0.3.1-SNAPSHOT.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/waveprotocol/client-common/0.3.1-SNAPSHOT/client-common-0.3.1-SNAPSHOT.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/waveprotocol/client-common-src/0.3.1-SNAPSHOT/client-common-src-0.3.1-SNAPSHOT.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/waveprotocol/client-scheduler-src/0.3.1-SNAPSHOT/client-scheduler-src-0.3.1-SNAPSHOT.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/waveprotocol/client-src/0.3.1-SNAPSHOT/client-src-0.3.1-SNAPSHOT.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.1-SNAPSHOT/common-src-0.3.1-SNAPSHOT.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"/>
- <classpathentry kind="var" path="M2_REPO/commons-collections/commons-collections/3.2/commons-collections-3.2.jar" sourcepath="M2_REPO/commons-collections/commons-collections/3.2/commons-collections-3.2-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/commons-fileupload/commons-fileupload/1.2/commons-fileupload-1.2.jar" sourcepath="M2_REPO/commons-fileupload/commons-fileupload/1.2/commons-fileupload-1.2-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/commons-httpclient/commons-httpclient/3.1/commons-httpclient-3.1.jar"/>
- <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.1-SNAPSHOT/communication-src-0.3.1-SNAPSHOT.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/waveprotocol/concurrencycontrol-src/0.3.1-SNAPSHOT/concurrencycontrol-src-0.3.1-SNAPSHOT.jar"/>
- <classpathentry kind="var" path="M2_REPO/net/sourceforge/htmlunit/crawl_htmlunit/r5662-gae/crawl_htmlunit-r5662-gae.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"/>
- <classpathentry kind="var" path="M2_REPO/org/hibernate/ejb3-persistence/1.0.2.GA/ejb3-persistence-1.0.2.GA.jar" sourcepath="M2_REPO/org/hibernate/ejb3-persistence/1.0.2.GA/ejb3-persistence-1.0.2.GA-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/com/calclab/emite/emite/r1694/emite-r1694.jar"/>
- <classpathentry kind="var" path="M2_REPO/com/calclab/emite/emite-proxy/0.1/emite-proxy-0.1.jar"/>
- <classpathentry kind="var" path="M2_REPO/net/sf/ezmorph/ezmorph/1.0.3/ezmorph-1.0.3.jar" sourcepath="M2_REPO/net/sf/ezmorph/ezmorph/1.0.3/ezmorph-1.0.3-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/freemarker/freemarker/2.3.8/freemarker-2.3.8.jar"/>
- <classpathentry kind="var" path="M2_REPO/com/google/guava/guava-gwt/r09/guava-gwt-r09.jar"/>
- <classpathentry kind="var" path="M2_REPO/com/google/inject/guice/3.0/guice-3.0.jar" sourcepath="M2_REPO/com/google/inject/guice/3.0/guice-3.0-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/com/google/inject/extensions/guice-assisted-inject/2.0/guice-assisted-inject-2.0.jar"/>
- <classpathentry kind="var" path="M2_REPO/com/google/inject/extensions/guice-persist/3.0/guice-persist-3.0.jar" sourcepath="M2_REPO/com/google/inject/extensions/guice-persist/3.0/guice-persist-3.0-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/com/google/inject/extensions/guice-servlet/3.0/guice-servlet-3.0.jar" sourcepath="M2_REPO/com/google/inject/extensions/guice-servlet/3.0/guice-servlet-3.0-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/com/allen_sauer/gwt/dnd/gwt-dnd/gwt-dnd/3.0.1/gwt-dnd-3.0.1.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/adamtacy/gwt-fx/r464/gwt-fx-r464.jar"/>
- <classpathentry kind="var" path="M2_REPO/com/google/gwt/gwt-gin/1.0-r137/gwt-gin-1.0-r137.jar"/>
- <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.1-SNAPSHOT/gwt-util-src-0.3.1-SNAPSHOT.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/gwtext/gwtext/2.0.5/gwtext-2.0.5.jar"/>
- <classpathentry kind="var" path="M2_REPO/com/gwtextux/gwtextux/0.4.0.924/gwtextux-0.4.0.924.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"/>
- <classpathentry kind="var" path="M2_REPO/com/gwtplatform/gwtp-crawler/0.5/gwtp-crawler-0.5.jar" sourcepath="M2_REPO/com/gwtplatform/gwtp-crawler/0.5/gwtp-crawler-0.5-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/com/gwtplatform/gwtp-dispatch-client/0.5/gwtp-dispatch-client-0.5.jar" sourcepath="M2_REPO/com/gwtplatform/gwtp-dispatch-client/0.5/gwtp-dispatch-client-0.5-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/com/gwtplatform/gwtp-dispatch-server/0.5/gwtp-dispatch-server-0.5.jar" sourcepath="M2_REPO/com/gwtplatform/gwtp-dispatch-server/0.5/gwtp-dispatch-server-0.5-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/com/gwtplatform/gwtp-dispatch-shared/0.5/gwtp-dispatch-shared-0.5.jar" sourcepath="M2_REPO/com/gwtplatform/gwtp-dispatch-shared/0.5/gwtp-dispatch-shared-0.5-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/com/gwtplatform/gwtp-mvp-client/0.5/gwtp-mvp-client-0.5.jar" sourcepath="M2_REPO/com/gwtplatform/gwtp-mvp-client/0.5/gwtp-mvp-client-0.5-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/com/gwtplatform/gwtp-processors/0.5/gwtp-processors-0.5.jar" sourcepath="M2_REPO/com/gwtplatform/gwtp-processors/0.5/gwtp-processors-0.5-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/com/gwtplatform/gwtp-tester/0.5/gwtp-tester-0.5.jar" sourcepath="M2_REPO/com/gwtplatform/gwtp-tester/0.5/gwtp-tester-0.5-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/com/googlecode/gwtupload/gwtupload/0.6.3-compat/gwtupload-0.6.3-compat.jar" sourcepath="M2_REPO/com/googlecode/gwtupload/gwtupload/0.6.3-compat/gwtupload-0.6.3-compat-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/com/extjs/gxt/2.2.1/gxt-2.2.1.jar"/>
- <classpathentry kind="var" path="M2_REPO/com/h2database/h2/1.0.20070617/h2-1.0.20070617.jar"/>
- <classpathentry kind="var" path="M2_REPO/com/calclab/emite/hablar/r1697/hablar-r1697.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/hamcrest/hamcrest-all/1.1/hamcrest-all-1.1.jar" sourcepath="M2_REPO/org/hamcrest/hamcrest-all/1.1/hamcrest-all-1.1-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/hamcrest/hamcrest-core/1.1/hamcrest-core-1.1.jar" sourcepath="M2_REPO/org/hamcrest/hamcrest-core/1.1/hamcrest-core-1.1-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/hibernate/hibernate-annotations/3.4.0.GA/hibernate-annotations-3.4.0.GA.jar" sourcepath="M2_REPO/org/hibernate/hibernate-annotations/3.4.0.GA/hibernate-annotations-3.4.0.GA-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/hibernate/hibernate-c3p0/3.3.1.GA/hibernate-c3p0-3.3.1.GA.jar" sourcepath="M2_REPO/org/hibernate/hibernate-c3p0/3.3.1.GA/hibernate-c3p0-3.3.1.GA-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/hibernate/hibernate-commons-annotations/3.3.0.ga/hibernate-commons-annotations-3.3.0.ga.jar" sourcepath="M2_REPO/org/hibernate/hibernate-commons-annotations/3.3.0.ga/hibernate-commons-annotations-3.3.0.ga-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/hibernate/hibernate-core/3.3.1.GA/hibernate-core-3.3.1.GA.jar" sourcepath="M2_REPO/org/hibernate/hibernate-core/3.3.1.GA/hibernate-core-3.3.1.GA-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/hibernate/hibernate-entitymanager/3.4.0.GA/hibernate-entitymanager-3.4.0.GA.jar" sourcepath="M2_REPO/org/hibernate/hibernate-entitymanager/3.4.0.GA/hibernate-entitymanager-3.4.0.GA-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/hibernate/hibernate-search/3.1.0.GA/hibernate-search-3.1.0.GA.jar" sourcepath="M2_REPO/org/hibernate/hibernate-search/3.1.0.GA/hibernate-search-3.1.0.GA-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/hibernate/hibernate-tools/3.2.3.GA/hibernate-tools-3.2.3.GA.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/hibernate/hibernate-validator/3.1.0.GA/hibernate-validator-3.1.0.GA.jar" sourcepath="M2_REPO/org/hibernate/hibernate-validator/3.1.0.GA/hibernate-validator-3.1.0.GA-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/net/sourceforge/htmlunit/htmlunit/2.7/htmlunit-2.7.jar" sourcepath="M2_REPO/net/sourceforge/htmlunit/htmlunit/2.7/htmlunit-2.7-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/net/sourceforge/htmlunit/htmlunit-core-js/2.7/htmlunit-core-js-2.7.jar" sourcepath="M2_REPO/net/sourceforge/htmlunit/htmlunit-core-js/2.7/htmlunit-core-js-2.7-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/javassist/javassist/3.4.GA/javassist-3.4.GA.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/slf4j/jcl-over-slf4j/1.6.1/jcl-over-slf4j-1.6.1.jar" sourcepath="M2_REPO/org/slf4j/jcl-over-slf4j/1.6.1/jcl-over-slf4j-1.6.1-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/com/beust/jcommander/1.12/jcommander-1.12.jar" sourcepath="M2_REPO/com/beust/jcommander/1.12/jcommander-1.12-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/codehaus/jettison/jettison/1.0-RC2/jettison-1.0-RC2.jar" sourcepath="M2_REPO/org/codehaus/jettison/jettison/1.0-RC2/jettison-1.0-RC2-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/jmagick/jmagick/6.2.6-0/jmagick-6.2.6-0.jar"/>
- <classpathentry kind="var" path="M2_REPO/net/java/dev/jna/jna/3.2.2/jna-3.2.2.jar" sourcepath="M2_REPO/net/java/dev/jna/jna/3.2.2/jna-3.2.2-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/jruby/jruby-complete/1.2.0/jruby-complete-1.2.0.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/jruby/rack/jruby-rack/0.9.4/jruby-rack-0.9.4.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/json/json/20080701/json-20080701.jar" sourcepath="M2_REPO/org/json/json/20080701/json-20080701-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/net/sf/json-lib/json-lib/2.1/json-lib-2.1-jdk15.jar" sourcepath="M2_REPO/net/sf/json-lib/json-lib/2.1/json-lib-2.1-jdk15-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/jsoup/jsoup/1.2.2/jsoup-1.2.2.jar" sourcepath="M2_REPO/org/jsoup/jsoup/1.2.2/jsoup-1.2.2-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/net/sourceforge/findbugs/jsr-305/v0r47/jsr-305-v0r47.jar" sourcepath="M2_REPO/net/sourceforge/findbugs/jsr-305/v0r47/jsr-305-v0r47-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/hibernate/jtidy/r8-20060801/jtidy-r8-20060801.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/jukito/jukito/1.0/jukito-1.0.jar" sourcepath="M2_REPO/org/jukito/jukito/1.0/jukito-1.0-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/junit/junit/4.8.2/junit-4.8.2.jar" sourcepath="M2_REPO/junit/junit/4.8.2/junit-4.8.2-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/liquibase/liquibase-core/1.7.0/liquibase-core-1.7.0.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/liquibase/liquibase-plugin/1.7.0.0/liquibase-plugin-1.7.0.0.jar"/>
- <classpathentry kind="var" path="M2_REPO/log4j/log4j/1.2.16/log4j-1.2.16.jar" sourcepath="M2_REPO/log4j/log4j/1.2.16/log4j-1.2.16-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/logkit/logkit/1.0.1/logkit-1.0.1.jar" sourcepath="M2_REPO/logkit/logkit/1.0.1/logkit-1.0.1-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/apache/lucene/lucene-core/2.4.0/lucene-core-2.4.0.jar" sourcepath="M2_REPO/org/apache/lucene/lucene-core/2.4.0/lucene-core-2.4.0-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/apache/maven/maven-artifact/2.0/maven-artifact-2.0.jar" sourcepath="M2_REPO/org/apache/maven/maven-artifact/2.0/maven-artifact-2.0-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/apache/maven/maven-artifact-manager/2.0/maven-artifact-manager-2.0.jar" sourcepath="M2_REPO/org/apache/maven/maven-artifact-manager/2.0/maven-artifact-manager-2.0-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/apache/maven/maven-model/2.0/maven-model-2.0.jar" sourcepath="M2_REPO/org/apache/maven/maven-model/2.0/maven-model-2.0-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/apache/maven/maven-plugin-api/2.0/maven-plugin-api-2.0.jar" sourcepath="M2_REPO/org/apache/maven/maven-plugin-api/2.0/maven-plugin-api-2.0-sources.jar"/>
- <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.1-SNAPSHOT/media-src-0.3.1-SNAPSHOT.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.1-SNAPSHOT/model-src-0.3.1-SNAPSHOT.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.14/nekohtml-1.9.14.jar" sourcepath="M2_REPO/net/sourceforge/nekohtml/nekohtml/1.9.14/nekohtml-1.9.14-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.1-SNAPSHOT/proto-msg-0.3.1-SNAPSHOT.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/2.0a4/selenium-2.0a4.jar" sourcepath="M2_REPO/org/seleniumhq/selenium/selenium/2.0a4/selenium-2.0a4-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/seleniumhq/selenium/selenium-chrome-driver/2.0a4/selenium-chrome-driver-2.0a4.jar" sourcepath="M2_REPO/org/seleniumhq/selenium/selenium-chrome-driver/2.0a4/selenium-chrome-driver-2.0a4-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/seleniumhq/selenium/selenium-common/2.0a4/selenium-common-2.0a4.jar" sourcepath="M2_REPO/org/seleniumhq/selenium/selenium-common/2.0a4/selenium-common-2.0a4-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/seleniumhq/selenium/selenium-firefox-driver/2.0a4/selenium-firefox-driver-2.0a4.jar" sourcepath="M2_REPO/org/seleniumhq/selenium/selenium-firefox-driver/2.0a4/selenium-firefox-driver-2.0a4-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/seleniumhq/selenium/selenium-htmlunit-driver/2.0a4/selenium-htmlunit-driver-2.0a4.jar" sourcepath="M2_REPO/org/seleniumhq/selenium/selenium-htmlunit-driver/2.0a4/selenium-htmlunit-driver-2.0a4-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/seleniumhq/selenium/selenium-ie-driver/2.0a4/selenium-ie-driver-2.0a4.jar" sourcepath="M2_REPO/org/seleniumhq/selenium/selenium-ie-driver/2.0a4/selenium-ie-driver-2.0a4-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/seleniumhq/selenium/selenium-remote-client/2.0a4/selenium-remote-client-2.0a4.jar" sourcepath="M2_REPO/org/seleniumhq/selenium/selenium-remote-client/2.0a4/selenium-remote-client-2.0a4-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/seleniumhq/selenium/selenium-remote-common/2.0a4/selenium-remote-common-2.0a4.jar" sourcepath="M2_REPO/org/seleniumhq/selenium/selenium-remote-common/2.0a4/selenium-remote-common-2.0a4-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/seleniumhq/selenium/selenium-support/2.0a4/selenium-support-2.0a4.jar" sourcepath="M2_REPO/org/seleniumhq/selenium/selenium-support/2.0a4/selenium-support-2.0a4-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/xalan/serializer/2.7.1/serializer-2.7.1.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/slf4j/slf4j-api/1.6.1/slf4j-api-1.6.1.jar" sourcepath="M2_REPO/org/slf4j/slf4j-api/1.6.1/slf4j-api-1.6.1-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/slf4j/slf4j-log4j12/1.6.1/slf4j-log4j12-1.6.1.jar" sourcepath="M2_REPO/org/slf4j/slf4j-log4j12/1.6.1/slf4j-log4j12-1.6.1-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/jivesoftware/smack/3.1.0/smack-3.1.0.jar"/>
- <classpathentry kind="var" path="M2_REPO/jivesoftware/smackx/3.1.0/smackx-3.1.0.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/jivesoftware/smackx/debugger/smackx-debugger/3.0.4/smackx-debugger-3.0.4.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/yaml/snakeyaml/1.6/snakeyaml-1.6.jar" sourcepath="M2_REPO/org/yaml/snakeyaml/1.6/snakeyaml-1.6-sources.jar"/>
- <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.0.1/testng-6.0.1.jar" sourcepath="M2_REPO/org/testng/testng/6.0.1/testng-6.0.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.1-SNAPSHOT/util-src-0.3.1-SNAPSHOT.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.1-SNAPSHOT/waveinabox-server-0.3-0.3.1-SNAPSHOT.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"/>
- <classpathentry kind="var" path="M2_REPO/xpp3/xpp3_min/1.1.3.4.O/xpp3_min-1.1.3.4.O.jar"/>
- <classpathentry kind="var" path="M2_REPO/com/thoughtworks/xstream/xstream/1.2.2/xstream-1.2.2.jar" sourcepath="M2_REPO/com/thoughtworks/xstream/xstream/1.2.2/xstream-1.2.2-sources.jar"/>
- <classpathentry kind="var" path="M2_REPO/org/xwiki/platform/xwiki-web-gwt-dom/2.3-rc-1/xwiki-web-gwt-dom-2.3-rc-1.jar" sourcepath="M2_REPO/org/xwiki/platform/xwiki-web-gwt-dom/2.3-rc-1/xwiki-web-gwt-dom-2.3-rc-1-sources.jar"/>
- <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
- <classpathentry kind="con" path="com.google.gwt.eclipse.core.GWT_CONTAINER"/>
- <classpathentry kind="output" path="target/kune-0.1.0-SNAPSHOT/WEB-INF/classes"/>
-</classpath>
+ <classpathentry kind="src" path="src/test/java" output="target/test-classes" including="**/*.java"/>
+ <classpathentry kind="src" path="src/main/java" including="**/*.java"/>
+ <classpathentry kind="src" path="src/main/resources" excluding="**/*.java"/>
+ <classpathentry kind="output" path="target/kune-0.1.0-SNAPSHOT/WEB-INF/classes"/>
+ <classpathentry kind="var" path="M2_REPO/javax/inject/javax.inject/1/javax.inject-1.jar" sourcepath="M2_REPO/javax/inject/javax.inject/1/javax.inject-1-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/javax/transaction/jta/1.1/jta-1.1.jar" sourcepath="M2_REPO/javax/transaction/jta/1.1/jta-1.1-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/javax/persistence/persistence-api/1.0/persistence-api-1.0.jar" sourcepath="M2_REPO/javax/persistence/persistence-api/1.0/persistence-api-1.0-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/javax/servlet/servlet-api/2.5/servlet-api-2.5.jar" sourcepath="M2_REPO/javax/servlet/servlet-api/2.5/servlet-api-2.5-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/antlr/antlr/2.7.6/antlr-2.7.6.jar" sourcepath="M2_REPO/antlr/antlr/2.7.6/antlr-2.7.6-sources.jar"/>
+ <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/com/google/appengine/appengine-api-1.0-sdk/1.3.1/appengine-api-1.0-sdk-1.3.1.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/org/waveprotocol/box/0.3.1-SNAPSHOT/box-0.3.1-SNAPSHOT.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/waveprotocol/box-src/0.3.1-SNAPSHOT/box-src-0.3.1-SNAPSHOT.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/classworlds/classworlds/1.1-alpha-2/classworlds-1.1-alpha-2.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/waveprotocol/client/0.3.1-SNAPSHOT/client-0.3.1-SNAPSHOT.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/waveprotocol/client-common/0.3.1-SNAPSHOT/client-common-0.3.1-SNAPSHOT.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/waveprotocol/client-common-src/0.3.1-SNAPSHOT/client-common-src-0.3.1-SNAPSHOT.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/waveprotocol/client-scheduler-src/0.3.1-SNAPSHOT/client-scheduler-src-0.3.1-SNAPSHOT.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/waveprotocol/client-src/0.3.1-SNAPSHOT/client-src-0.3.1-SNAPSHOT.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.1-SNAPSHOT/common-src-0.3.1-SNAPSHOT.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"/>
+ <classpathentry kind="var" path="M2_REPO/commons-collections/commons-collections/3.2/commons-collections-3.2.jar" sourcepath="M2_REPO/commons-collections/commons-collections/3.2/commons-collections-3.2-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/commons-fileupload/commons-fileupload/1.2/commons-fileupload-1.2.jar" sourcepath="M2_REPO/commons-fileupload/commons-fileupload/1.2/commons-fileupload-1.2-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/commons-httpclient/commons-httpclient/3.1/commons-httpclient-3.1.jar"/>
+ <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.1-SNAPSHOT/communication-src-0.3.1-SNAPSHOT.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/waveprotocol/concurrencycontrol-src/0.3.1-SNAPSHOT/concurrencycontrol-src-0.3.1-SNAPSHOT.jar"/>
+ <classpathentry kind="var" path="M2_REPO/net/sourceforge/htmlunit/crawl_htmlunit/r5662-gae/crawl_htmlunit-r5662-gae.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"/>
+ <classpathentry kind="var" path="M2_REPO/org/hibernate/ejb3-persistence/1.0.2.GA/ejb3-persistence-1.0.2.GA.jar" sourcepath="M2_REPO/org/hibernate/ejb3-persistence/1.0.2.GA/ejb3-persistence-1.0.2.GA-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/com/calclab/emite/emite/r1694/emite-r1694.jar"/>
+ <classpathentry kind="var" path="M2_REPO/com/calclab/emite/emite-proxy/0.1/emite-proxy-0.1.jar"/>
+ <classpathentry kind="var" path="M2_REPO/net/sf/ezmorph/ezmorph/1.0.3/ezmorph-1.0.3.jar" sourcepath="M2_REPO/net/sf/ezmorph/ezmorph/1.0.3/ezmorph-1.0.3-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/freemarker/freemarker/2.3.8/freemarker-2.3.8.jar"/>
+ <classpathentry kind="var" path="M2_REPO/com/google/guava/guava-gwt/r09/guava-gwt-r09.jar"/>
+ <classpathentry kind="var" path="M2_REPO/com/google/inject/guice/3.0/guice-3.0.jar" sourcepath="M2_REPO/com/google/inject/guice/3.0/guice-3.0-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/com/google/inject/extensions/guice-assisted-inject/2.0/guice-assisted-inject-2.0.jar"/>
+ <classpathentry kind="var" path="M2_REPO/com/google/inject/extensions/guice-persist/3.0/guice-persist-3.0.jar" sourcepath="M2_REPO/com/google/inject/extensions/guice-persist/3.0/guice-persist-3.0-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/com/google/inject/extensions/guice-servlet/3.0/guice-servlet-3.0.jar" sourcepath="M2_REPO/com/google/inject/extensions/guice-servlet/3.0/guice-servlet-3.0-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/com/allen_sauer/gwt/dnd/gwt-dnd/gwt-dnd/3.0.1/gwt-dnd-3.0.1.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/adamtacy/gwt-fx/r464/gwt-fx-r464.jar"/>
+ <classpathentry kind="var" path="M2_REPO/com/google/gwt/gwt-gin/1.0-r137/gwt-gin-1.0-r137.jar"/>
+ <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.1-SNAPSHOT/gwt-util-src-0.3.1-SNAPSHOT.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/gwtext/gwtext/2.0.5/gwtext-2.0.5.jar"/>
+ <classpathentry kind="var" path="M2_REPO/com/gwtextux/gwtextux/0.4.0.924/gwtextux-0.4.0.924.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"/>
+ <classpathentry kind="var" path="M2_REPO/com/gwtplatform/gwtp-crawler/0.5/gwtp-crawler-0.5.jar" sourcepath="M2_REPO/com/gwtplatform/gwtp-crawler/0.5/gwtp-crawler-0.5-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/com/gwtplatform/gwtp-dispatch-client/0.5/gwtp-dispatch-client-0.5.jar" sourcepath="M2_REPO/com/gwtplatform/gwtp-dispatch-client/0.5/gwtp-dispatch-client-0.5-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/com/gwtplatform/gwtp-dispatch-server/0.5/gwtp-dispatch-server-0.5.jar" sourcepath="M2_REPO/com/gwtplatform/gwtp-dispatch-server/0.5/gwtp-dispatch-server-0.5-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/com/gwtplatform/gwtp-dispatch-shared/0.5/gwtp-dispatch-shared-0.5.jar" sourcepath="M2_REPO/com/gwtplatform/gwtp-dispatch-shared/0.5/gwtp-dispatch-shared-0.5-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/com/gwtplatform/gwtp-mvp-client/0.5/gwtp-mvp-client-0.5.jar" sourcepath="M2_REPO/com/gwtplatform/gwtp-mvp-client/0.5/gwtp-mvp-client-0.5-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/com/gwtplatform/gwtp-processors/0.5/gwtp-processors-0.5.jar" sourcepath="M2_REPO/com/gwtplatform/gwtp-processors/0.5/gwtp-processors-0.5-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/com/gwtplatform/gwtp-tester/0.5/gwtp-tester-0.5.jar" sourcepath="M2_REPO/com/gwtplatform/gwtp-tester/0.5/gwtp-tester-0.5-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/com/googlecode/gwtupload/gwtupload/0.6.3-compat/gwtupload-0.6.3-compat.jar" sourcepath="M2_REPO/com/googlecode/gwtupload/gwtupload/0.6.3-compat/gwtupload-0.6.3-compat-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/com/extjs/gxt/2.2.1/gxt-2.2.1.jar"/>
+ <classpathentry kind="var" path="M2_REPO/com/h2database/h2/1.0.20070617/h2-1.0.20070617.jar"/>
+ <classpathentry kind="var" path="M2_REPO/com/calclab/emite/hablar/r1697/hablar-r1697.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/hamcrest/hamcrest-all/1.1/hamcrest-all-1.1.jar" sourcepath="M2_REPO/org/hamcrest/hamcrest-all/1.1/hamcrest-all-1.1-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/hamcrest/hamcrest-core/1.1/hamcrest-core-1.1.jar" sourcepath="M2_REPO/org/hamcrest/hamcrest-core/1.1/hamcrest-core-1.1-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/hibernate/hibernate-annotations/3.4.0.GA/hibernate-annotations-3.4.0.GA.jar" sourcepath="M2_REPO/org/hibernate/hibernate-annotations/3.4.0.GA/hibernate-annotations-3.4.0.GA-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/hibernate/hibernate-c3p0/3.3.1.GA/hibernate-c3p0-3.3.1.GA.jar" sourcepath="M2_REPO/org/hibernate/hibernate-c3p0/3.3.1.GA/hibernate-c3p0-3.3.1.GA-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/hibernate/hibernate-commons-annotations/3.3.0.ga/hibernate-commons-annotations-3.3.0.ga.jar" sourcepath="M2_REPO/org/hibernate/hibernate-commons-annotations/3.3.0.ga/hibernate-commons-annotations-3.3.0.ga-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/hibernate/hibernate-core/3.3.1.GA/hibernate-core-3.3.1.GA.jar" sourcepath="M2_REPO/org/hibernate/hibernate-core/3.3.1.GA/hibernate-core-3.3.1.GA-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/hibernate/hibernate-entitymanager/3.4.0.GA/hibernate-entitymanager-3.4.0.GA.jar" sourcepath="M2_REPO/org/hibernate/hibernate-entitymanager/3.4.0.GA/hibernate-entitymanager-3.4.0.GA-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/hibernate/hibernate-search/3.1.0.GA/hibernate-search-3.1.0.GA.jar" sourcepath="M2_REPO/org/hibernate/hibernate-search/3.1.0.GA/hibernate-search-3.1.0.GA-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/hibernate/hibernate-tools/3.2.3.GA/hibernate-tools-3.2.3.GA.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/hibernate/hibernate-validator/3.1.0.GA/hibernate-validator-3.1.0.GA.jar" sourcepath="M2_REPO/org/hibernate/hibernate-validator/3.1.0.GA/hibernate-validator-3.1.0.GA-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/net/sourceforge/htmlunit/htmlunit/2.7/htmlunit-2.7.jar" sourcepath="M2_REPO/net/sourceforge/htmlunit/htmlunit/2.7/htmlunit-2.7-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/net/sourceforge/htmlunit/htmlunit-core-js/2.7/htmlunit-core-js-2.7.jar" sourcepath="M2_REPO/net/sourceforge/htmlunit/htmlunit-core-js/2.7/htmlunit-core-js-2.7-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/javassist/javassist/3.4.GA/javassist-3.4.GA.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/slf4j/jcl-over-slf4j/1.6.1/jcl-over-slf4j-1.6.1.jar" sourcepath="M2_REPO/org/slf4j/jcl-over-slf4j/1.6.1/jcl-over-slf4j-1.6.1-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/com/beust/jcommander/1.12/jcommander-1.12.jar" sourcepath="M2_REPO/com/beust/jcommander/1.12/jcommander-1.12-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/codehaus/jettison/jettison/1.0-RC2/jettison-1.0-RC2.jar" sourcepath="M2_REPO/org/codehaus/jettison/jettison/1.0-RC2/jettison-1.0-RC2-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/jmagick/jmagick/6.2.6-0/jmagick-6.2.6-0.jar"/>
+ <classpathentry kind="var" path="M2_REPO/net/java/dev/jna/jna/3.2.2/jna-3.2.2.jar" sourcepath="M2_REPO/net/java/dev/jna/jna/3.2.2/jna-3.2.2-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/jruby/jruby-complete/1.2.0/jruby-complete-1.2.0.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/jruby/rack/jruby-rack/0.9.4/jruby-rack-0.9.4.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/json/json/20080701/json-20080701.jar" sourcepath="M2_REPO/org/json/json/20080701/json-20080701-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/net/sf/json-lib/json-lib/2.1/json-lib-2.1-jdk15.jar" sourcepath="M2_REPO/net/sf/json-lib/json-lib/2.1/json-lib-2.1-jdk15-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/jsoup/jsoup/1.2.2/jsoup-1.2.2.jar" sourcepath="M2_REPO/org/jsoup/jsoup/1.2.2/jsoup-1.2.2-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/net/sourceforge/findbugs/jsr-305/v0r47/jsr-305-v0r47.jar" sourcepath="M2_REPO/net/sourceforge/findbugs/jsr-305/v0r47/jsr-305-v0r47-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/hibernate/jtidy/r8-20060801/jtidy-r8-20060801.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/jukito/jukito/1.0/jukito-1.0.jar" sourcepath="M2_REPO/org/jukito/jukito/1.0/jukito-1.0-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/junit/junit/4.8.2/junit-4.8.2.jar" sourcepath="M2_REPO/junit/junit/4.8.2/junit-4.8.2-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/liquibase/liquibase-core/1.8.1/liquibase-core-1.8.1.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/liquibase/liquibase-plugin/1.8.1.0/liquibase-plugin-1.8.1.0.jar"/>
+ <classpathentry kind="var" path="M2_REPO/log4j/log4j/1.2.16/log4j-1.2.16.jar" sourcepath="M2_REPO/log4j/log4j/1.2.16/log4j-1.2.16-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/logkit/logkit/1.0.1/logkit-1.0.1.jar" sourcepath="M2_REPO/logkit/logkit/1.0.1/logkit-1.0.1-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/lucene/lucene-core/2.4.0/lucene-core-2.4.0.jar" sourcepath="M2_REPO/org/apache/lucene/lucene-core/2.4.0/lucene-core-2.4.0-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/maven/maven-artifact/2.0/maven-artifact-2.0.jar" sourcepath="M2_REPO/org/apache/maven/maven-artifact/2.0/maven-artifact-2.0-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/maven/maven-artifact-manager/2.0/maven-artifact-manager-2.0.jar" sourcepath="M2_REPO/org/apache/maven/maven-artifact-manager/2.0/maven-artifact-manager-2.0-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/maven/maven-model/2.0/maven-model-2.0.jar" sourcepath="M2_REPO/org/apache/maven/maven-model/2.0/maven-model-2.0-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/apache/maven/maven-plugin-api/2.0/maven-plugin-api-2.0.jar" sourcepath="M2_REPO/org/apache/maven/maven-plugin-api/2.0/maven-plugin-api-2.0-sources.jar"/>
+ <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.1-SNAPSHOT/media-src-0.3.1-SNAPSHOT.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.1-SNAPSHOT/model-src-0.3.1-SNAPSHOT.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.14/nekohtml-1.9.14.jar" sourcepath="M2_REPO/net/sourceforge/nekohtml/nekohtml/1.9.14/nekohtml-1.9.14-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.1-SNAPSHOT/proto-msg-0.3.1-SNAPSHOT.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/2.0a4/selenium-2.0a4.jar" sourcepath="M2_REPO/org/seleniumhq/selenium/selenium/2.0a4/selenium-2.0a4-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/seleniumhq/selenium/selenium-chrome-driver/2.0a4/selenium-chrome-driver-2.0a4.jar" sourcepath="M2_REPO/org/seleniumhq/selenium/selenium-chrome-driver/2.0a4/selenium-chrome-driver-2.0a4-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/seleniumhq/selenium/selenium-common/2.0a4/selenium-common-2.0a4.jar" sourcepath="M2_REPO/org/seleniumhq/selenium/selenium-common/2.0a4/selenium-common-2.0a4-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/seleniumhq/selenium/selenium-firefox-driver/2.0a4/selenium-firefox-driver-2.0a4.jar" sourcepath="M2_REPO/org/seleniumhq/selenium/selenium-firefox-driver/2.0a4/selenium-firefox-driver-2.0a4-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/seleniumhq/selenium/selenium-htmlunit-driver/2.0a4/selenium-htmlunit-driver-2.0a4.jar" sourcepath="M2_REPO/org/seleniumhq/selenium/selenium-htmlunit-driver/2.0a4/selenium-htmlunit-driver-2.0a4-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/seleniumhq/selenium/selenium-ie-driver/2.0a4/selenium-ie-driver-2.0a4.jar" sourcepath="M2_REPO/org/seleniumhq/selenium/selenium-ie-driver/2.0a4/selenium-ie-driver-2.0a4-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/seleniumhq/selenium/selenium-remote-client/2.0a4/selenium-remote-client-2.0a4.jar" sourcepath="M2_REPO/org/seleniumhq/selenium/selenium-remote-client/2.0a4/selenium-remote-client-2.0a4-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/seleniumhq/selenium/selenium-remote-common/2.0a4/selenium-remote-common-2.0a4.jar" sourcepath="M2_REPO/org/seleniumhq/selenium/selenium-remote-common/2.0a4/selenium-remote-common-2.0a4-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/seleniumhq/selenium/selenium-support/2.0a4/selenium-support-2.0a4.jar" sourcepath="M2_REPO/org/seleniumhq/selenium/selenium-support/2.0a4/selenium-support-2.0a4-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/xalan/serializer/2.7.1/serializer-2.7.1.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/slf4j/slf4j-api/1.6.1/slf4j-api-1.6.1.jar" sourcepath="M2_REPO/org/slf4j/slf4j-api/1.6.1/slf4j-api-1.6.1-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/slf4j/slf4j-log4j12/1.6.1/slf4j-log4j12-1.6.1.jar" sourcepath="M2_REPO/org/slf4j/slf4j-log4j12/1.6.1/slf4j-log4j12-1.6.1-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/jivesoftware/smack/3.1.0/smack-3.1.0.jar"/>
+ <classpathentry kind="var" path="M2_REPO/jivesoftware/smackx/3.1.0/smackx-3.1.0.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/jivesoftware/smackx/debugger/smackx-debugger/3.0.4/smackx-debugger-3.0.4.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/yaml/snakeyaml/1.6/snakeyaml-1.6.jar" sourcepath="M2_REPO/org/yaml/snakeyaml/1.6/snakeyaml-1.6-sources.jar"/>
+ <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.0.1/testng-6.0.1.jar" sourcepath="M2_REPO/org/testng/testng/6.0.1/testng-6.0.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.1-SNAPSHOT/util-src-0.3.1-SNAPSHOT.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.1-SNAPSHOT/waveinabox-server-0.3-0.3.1-SNAPSHOT.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"/>
+ <classpathentry kind="var" path="M2_REPO/xpp3/xpp3_min/1.1.3.4.O/xpp3_min-1.1.3.4.O.jar"/>
+ <classpathentry kind="var" path="M2_REPO/com/thoughtworks/xstream/xstream/1.2.2/xstream-1.2.2.jar" sourcepath="M2_REPO/com/thoughtworks/xstream/xstream/1.2.2/xstream-1.2.2-sources.jar"/>
+ <classpathentry kind="var" path="M2_REPO/org/xwiki/platform/xwiki-web-gwt-dom/2.3-rc-1/xwiki-web-gwt-dom-2.3-rc-1.jar" sourcepath="M2_REPO/org/xwiki/platform/xwiki-web-gwt-dom/2.3-rc-1/xwiki-web-gwt-dom-2.3-rc-1-sources.jar"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="src" path=".apt_generated" including="**/*.java"/> <classpathentry kind="con" path="com.google.gwt.eclipse.core.GWT_CONTAINER"/>
+</classpath>
\ No newline at end of file
Modified: trunk/pom.xml
===================================================================
--- trunk/pom.xml 2011-08-14 11:54:12 UTC (rev 1495)
+++ trunk/pom.xml 2011-08-16 19:07:23 UTC (rev 1496)
@@ -492,12 +492,12 @@
<dependency>
<groupId>org.liquibase</groupId>
<artifactId>liquibase-core</artifactId>
- <version>1.7.0</version>
+ <version>1.8.1</version>
</dependency>
<dependency>
<groupId>org.liquibase</groupId>
<artifactId>liquibase-plugin</artifactId>
- <version>1.7.0.0</version>
+ <version>1.8.1.0</version>
</dependency>
<dependency>
<groupId>javax.servlet</groupId>
Modified: trunk/script/liquibase-migrate.sh
===================================================================
--- trunk/script/liquibase-migrate.sh 2011-08-14 11:54:12 UTC (rev 1495)
+++ trunk/script/liquibase-migrate.sh 2011-08-16 19:07:23 UTC (rev 1496)
@@ -1,12 +1,13 @@
. script/mvn-vars.sh
-java -jar $M2_REPO/org/liquibase/liquibase-core/1.7.0/liquibase-core-1.7.0.jar \
+java -jar $M2_REPO/org/liquibase/liquibase-core/1.8.1/liquibase-core-1.8.1.jar \
--driver=com.mysql.jdbc.Driver \
--classpath=$M2_REPO/mysql/mysql-connector-java/5.0.5/mysql-connector-java-5.0.5.jar \
--changeLogFile=src/main/resources/db/liquibase_changelog.xml \
--url="jdbc:mysql://localhost/kune_dev" \
--username=kune \
--password=db4kune \
- migrate
+ migrate
+ #clearCheckSums
#java -jar $M2_REPO/org/liquibase/liquibase-core/1.4.1/liquibase-core-1.4.1.jar \
# --defaultsFile=src/main/resources/db/liquibase.properties \
Modified: trunk/script/liquibase-rollback.sh
===================================================================
--- trunk/script/liquibase-rollback.sh 2011-08-14 11:54:12 UTC (rev 1495)
+++ trunk/script/liquibase-rollback.sh 2011-08-16 19:07:23 UTC (rev 1496)
@@ -1,5 +1,5 @@
. script/mvn-vars.sh
-java -jar $M2_REPO/org/liquibase/liquibase-core/1.7.0/liquibase-core-1.7.0.jar \
+java -jar $M2_REPO/org/liquibase/liquibase-core/1.8.1/liquibase-core-1.8.1.jar \
--driver=com.mysql.jdbc.Driver \
--classpath=$M2_REPO/mysql/mysql-connector-java/5.0.5/mysql-connector-java-5.0.5.jar \
--changeLogFile=src/main/resources/db/liquibase_changelog.xml \
Modified: trunk/src/main/java/cc/kune/common/client/actions/AbstractAction.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/AbstractAction.java 2011-08-14 11:54:12 UTC (rev 1495)
+++ trunk/src/main/java/cc/kune/common/client/actions/AbstractAction.java 2011-08-16 19:07:23 UTC (rev 1496)
@@ -47,111 +47,111 @@
*/
public abstract class AbstractAction extends ChangeableObject implements Action {
- public final static AbstractAction NO_ACTION = new NoAction();
+ public final static AbstractAction NO_ACTION = new NoAction();
- /**
- * Creates a new action with no properties set.
- */
- public AbstractAction() {
- // Nothing to do.
- }
+ /**
+ * Creates a new action with no properties set.
+ */
+ public AbstractAction() {
+ // Nothing to do.
+ }
- /**
- * Copy constructor used as a substitute of clone
- */
- @SuppressWarnings("unchecked")
- public AbstractAction(final AbstractAction action) {
- store = (HashMap<String, Object>) action.store.clone();
- }
+ /**
+ * Copy constructor used as a substitute of clone
+ */
+ @SuppressWarnings("unchecked")
+ public AbstractAction(final AbstractAction action) {
+ store = (HashMap<String, Object>) action.store.clone();
+ }
- /**
- * Creates a new action with the specified name. The name is stored as a
- * property with the key {@link Action#NAME}, and no other properties are
- * initialised.
- *
- * @param name
- * the name (<code>null</code> permitted).
- */
- public AbstractAction(final String name) {
- // @PMD:REVIEWED:ConstructorCallsOverridableMethod: by vjrj on 21/05/09
- // 15:19
- putValue(NAME, name);
- }
+ /**
+ * Creates a new action with the specified name. The name is stored as a
+ * property with the key {@link Action#NAME}, and no other properties are
+ * initialised.
+ *
+ * @param name
+ * the name (<code>null</code> permitted).
+ */
+ public AbstractAction(final String name) {
+ // @PMD:REVIEWED:ConstructorCallsOverridableMethod: by vjrj on 21/05/09
+ // 15:19
+ putValue(NAME, name);
+ }
- /**
- * Creates a new action with the specified name and icon. The name is stored
- * as a property with the key {@link Action#NAME}, the icon is stored as a
- * property with the key {@link Action#SMALL_ICON}, and no other properties
- * are initialised.
- *
- * @param name
- * the name (<code>null</code> permitted).
- * @param icon
- * the icon (<code>null</code> permitted).
- */
- public AbstractAction(final String name, final String icon) {
- // @PMD:REVIEWED:ConstructorCallsOverridableMethod: by vjrj on 21/05/09
- // 15:19
- putValue(NAME, name);
- // @PMD:REVIEWED:ConstructorCallsOverridableMethod: by vjrj on 21/05/09
- // 15:19
- putValue(SMALL_ICON, icon);
- }
+ /**
+ * Creates a new action with the specified name and icon. The name is stored
+ * as a property with the key {@link Action#NAME}, the icon is stored as a
+ * property with the key {@link Action#SMALL_ICON}, and no other properties
+ * are initialised.
+ *
+ * @param name
+ * the name (<code>null</code> permitted).
+ * @param icon
+ * the icon (<code>null</code> permitted).
+ */
+ public AbstractAction(final String name, final String icon) {
+ // @PMD:REVIEWED:ConstructorCallsOverridableMethod: by vjrj on 21/05/09
+ // 15:19
+ putValue(NAME, name);
+ // @PMD:REVIEWED:ConstructorCallsOverridableMethod: by vjrj on 21/05/09
+ // 15:19
+ putValue(SMALL_ICON, icon);
+ }
- /**
- * Returns the flag that indicates whether or not the action is enabled.
- *
- * @return The flag.
- *
- * @see #setEnabled(boolean)
- */
- @Override
- public boolean isEnabled() {
- return (Boolean) super.getValue(ENABLED);
- }
+ /**
+ * Returns the flag that indicates whether or not the action is enabled.
+ *
+ * @return The flag.
+ *
+ * @see #setEnabled(boolean)
+ */
+ @Override
+ public boolean isEnabled() {
+ return (Boolean) super.getValue(ENABLED);
+ }
- @Override
- /**
- * Sets the value associated with the specified key and sends a
- * {@link java.beans.PropertyChangeEvent} to all registered listeners. The
- * standard keys are:
- * <ul>
- * <li>{@link #NAME}</li>
- * <li>{@link #SHORT_DESCRIPTION}</li>
- * <li>{@link #LONG_DESCRIPTION}</li>
- * <li>{@link #SMALL_ICON}</li>
- * <li>{@link #ACTION_COMMAND_KEY}</li>
- * <li>{@link #ACCELERATOR_KEY}</li>
- * <li>{@link #MNEMONIC_KEY}</li>
- * </ul>
- * Any existing value associated with the key will be overwritten.
- *
- * @param key
- * the key (not <code>null</code>).
- * @param value
- * the value (<code>null</code> permitted).
- */
- public void putValue(final String key, final Object value) {
- super.putValue(key, value);
- }
+ @Override
+ /**
+ * Sets the value associated with the specified key and sends a
+ * {@link java.beans.PropertyChangeEvent} to all registered listeners. The
+ * standard keys are:
+ * <ul>
+ * <li>{@link #NAME}</li>
+ * <li>{@link #SHORT_DESCRIPTION}</li>
+ * <li>{@link #LONG_DESCRIPTION}</li>
+ * <li>{@link #SMALL_ICON}</li>
+ * <li>{@link #ACTION_COMMAND_KEY}</li>
+ * <li>{@link #ACCELERATOR_KEY}</li>
+ * <li>{@link #MNEMONIC_KEY}</li>
+ * </ul>
+ * Any existing value associated with the key will be overwritten.
+ *
+ * @param key
+ * the key (not <code>null</code>).
+ * @param value
+ * the value (<code>null</code> permitted).
+ */
+ public void putValue(final String key, final Object value) {
+ super.putValue(key, value);
+ }
- /**
- * Sets the flag that indicates whether or not the action is enabled and, if
- * the value of the flag changed from the previous setting, sends a
- * {@link java.beans.PropertyChangeEvent} to all registered listeners (using
- * the property name 'enabled').
- *
- * @param enabled
- * the new flag value.
- *
- * @see #isEnabled()
- */
- @Override
- public void setEnabled(final boolean enabled) {
- putValue(ENABLED, enabled);
- }
+ /**
+ * Sets the flag that indicates whether or not the action is enabled and, if
+ * the value of the flag changed from the previous setting, sends a
+ * {@link java.beans.PropertyChangeEvent} to all registered listeners (using
+ * the property name 'enabled').
+ *
+ * @param enabled
+ * the new flag value.
+ *
+ * @see #isEnabled()
+ */
+ @Override
+ public void setEnabled(final boolean enabled) {
+ putValue(ENABLED, enabled);
+ }
- public void setShortcut(final KeyStroke key) {
- putValue(Action.ACCELERATOR_KEY, key);
- }
+ public void setShortcut(final KeyStroke key) {
+ putValue(Action.ACCELERATOR_KEY, key);
+ }
}
Modified: trunk/src/main/java/cc/kune/common/client/actions/Action.java
===================================================================
--- trunk/src/main/java/cc/kune/common/client/actions/Action.java 2011-08-14 11:54:12 UTC (rev 1495)
+++ trunk/src/main/java/cc/kune/common/client/actions/Action.java 2011-08-16 19:07:23 UTC (rev 1496)
@@ -48,117 +48,116 @@
*/
public interface Action extends ActionListener {
- /**
- * A key to access the KeyStroke used as the accelerator for the action.
- */
- String ACCELERATOR_KEY = "AcceleratorKey";
+ /**
+ * A key to access the KeyStroke used as the accelerator for the action.
+ */
+ String ACCELERATOR_KEY = "AcceleratorKey";
- /**
- * A key to access the action command string for the action.
- */
- String ACTION_COMMAND_KEY = "ActionCommandKey";
+ /**
+ * A key to access the action command string for the action.
+ */
+ String ACTION_COMMAND_KEY = "ActionCommandKey";
- /**
- * A key to access the default property for the action (this is not used).
- */
- String DEFAULT = "Default";
+ /**
+ * A key to access the default property for the action (this is not used).
+ */
+ String DEFAULT = "Default";
- /**
- * A key to access the enabled property for the action.
- */
- String ENABLED = "enabled";
+ /**
+ * A key to access the enabled property for the action.
+ */
+ String ENABLED = "enabled";
- /**
- * A key to access the long description for the action.
- */
- String LONG_DESCRIPTION = "LongDescription";
+ /**
+ * A key to access the long description for the action.
+ */
+ String LONG_DESCRIPTION = "LongDescription";
- /**
- * A key to access the mnemonic for the action.
- */
- String MNEMONIC_KEY = "MnemonicKey";
+ /**
+ * A key to access the mnemonic for the action.
+ */
+ String MNEMONIC_KEY = "MnemonicKey";
- /**
- * A key to access the name for the action.
- */
- String NAME = "Name";
+ /**
+ * A key to access the name for the action.
+ */
+ String NAME = "Name";
- /**
- * A key to access the short description for the action (the short
- * description is typically used as the tool tip text).
- */
- String SHORT_DESCRIPTION = "ShortDescription";
+ /**
+ * A key to access the short description for the action (the short description
+ * is typically used as the tool tip text).
+ */
+ String SHORT_DESCRIPTION = "ShortDescription";
- /**
- * A key to access the icon for the action.
- */
- String SMALL_ICON = "SmallIcon";
+ /**
+ * A key to access the icon for the action.
+ */
+ String SMALL_ICON = "SmallIcon";
- /**
- * A key to access the mnemonic for the action.
- */
- String STYLES = "Styles";
+ /**
+ * A key to access the mnemonic for the action.
+ */
+ String STYLES = "Styles";
- /**
- * Registers a listener to receive notification whenever one of the action's
- * properties is modified.
- *
- * @param listener
- * the listener.
- */
- void addPropertyChangeListener(PropertyChangeListener listener);
+ /**
+ * Registers a listener to receive notification whenever one of the action's
+ * properties is modified.
+ *
+ * @param listener
+ * the listener.
+ */
+ void addPropertyChangeListener(PropertyChangeListener listener);
- /**
- * Returns the value associated with the specified key.
- *
- * @param key
- * the key (not <code>null</code>).
- *
- * @return The value associated with the specified key, or <code>null</code>
- * if the key is not found.
- */
- Object getValue(String key);
+ /**
+ * Returns the value associated with the specified key.
+ *
+ * @param key
+ * the key (not <code>null</code>).
+ *
+ * @return The value associated with the specified key, or <code>null</code>
+ * if the key is not found.
+ */
+ Object getValue(String key);
- /**
- * Returns the flag that indicates whether or not this action is enabled.
- *
- * @return The flag.
- */
- boolean isEnabled();
+ /**
+ * Returns the flag that indicates whether or not this action is enabled.
+ *
+ * @return The flag.
+ */
+ boolean isEnabled();
- /**
- * Sets the value associated with the specified key and sends a
- * {@link PropertyChangeEvent} to all registered listeners. The standard
- * keys are defined in this interface: {@link #NAME},
- * {@link #SHORT_DESCRIPTION}, {@link #LONG_DESCRIPTION},
- * {@link #SMALL_ICON}, {@link #ACTION_COMMAND_KEY},
- * {@link #ACCELERATOR_KEY} and {@link #MNEMONIC_KEY}. Any existing value
- * associated with the key will be overwritten.
- *
- * @param key
- * the key (not <code>null</code>).
- * @param value
- * the value (<code>null</code> permitted).
- */
- void putValue(String key, Object value);
+ /**
+ * Sets the value associated with the specified key and sends a
+ * {@link PropertyChangeEvent} to all registered listeners. The standard keys
+ * are defined in this interface: {@link #NAME}, {@link #SHORT_DESCRIPTION},
+ * {@link #LONG_DESCRIPTION}, {@link #SMALL_ICON}, {@link #ACTION_COMMAND_KEY}
+ * , {@link #ACCELERATOR_KEY} and {@link #MNEMONIC_KEY}. Any existing value
+ * associated with the key will be overwritten.
+ *
+ * @param key
+ * the key (not <code>null</code>).
+ * @param value
+ * the value (<code>null</code> permitted).
+ */
+ void putValue(String key, Object value);
- /**
- * Deregisters a listener so that it no longer receives notification of
- * changes to the action's properties.
- *
- * @param listener
- * the listener.
- */
- void removePropertyChangeListener(PropertyChangeListener listener);
+ /**
+ * Deregisters a listener so that it no longer receives notification of
+ * changes to the action's properties.
+ *
+ * @param listener
+ * the listener.
+ */
+ void removePropertyChangeListener(PropertyChangeListener listener);
- /**
- * Sets the flag that indicates whether or not this action is enabled. If
- * the value changes, a {@link java.beans.PropertyChangeEvent} is sent to
- * all registered listeners.
- *
- * @param b
- * the new value of the flag.
- */
- void setEnabled(boolean b);
+ /**
+ * Sets the flag that indicates whether or not this action is enabled. If the
+ * value changes, a {@link java.beans.PropertyChangeEvent} is sent to all
+ * registered listeners.
+ *
+ * @param b
+ * the new value of the flag.
+ */
+ void setEnabled(boolean b);
} // Action
Modified: trunk/src/main/java/cc/kune/core/client/CoreGinModule.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/CoreGinModule.java 2011-08-14 11:54:12 UTC (rev 1495)
+++ trunk/src/main/java/cc/kune/core/client/CoreGinModule.java 2011-08-16 19:07:23 UTC (rev 1496)
@@ -92,7 +92,6 @@
import cc.kune.core.client.state.ContentCacheDefault;
import cc.kune.core.client.state.HistoryWrapper;
import cc.kune.core.client.state.HistoryWrapperDefault;
-import cc.kune.core.client.state.ReservedWordsRegistry;
import cc.kune.core.client.state.Session;
import cc.kune.core.client.state.SessionDefault;
import cc.kune.core.client.state.SiteTokenListeners;
@@ -105,6 +104,7 @@
import cc.kune.core.client.ws.entheader.EntityHeader;
import cc.kune.core.client.ws.entheader.EntityHeaderPanel;
import cc.kune.core.client.ws.entheader.EntityHeaderPresenter;
+import cc.kune.core.shared.dto.ReservedWordsRegistryDTO;
import cc.kune.core.shared.i18n.I18nTranslationService;
import cc.kune.msgs.client.UserMessagesPanel;
import cc.kune.msgs.client.UserMessagesPresenter;
@@ -200,7 +200,7 @@
s(BeforeSignOut.class);
eagle(SiteTokenListeners.class);
s(SiteTokens.class);
- s(ReservedWordsRegistry.class);
+ s(ReservedWordsRegistryDTO.class);
eagle(TokenMatcher.class);
s(ActionRegistryByType.class);
s(ContentCapabilitiesRegistry.class);
Modified: trunk/src/main/java/cc/kune/core/client/auth/RegisterPresenter.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/auth/RegisterPresenter.java 2011-08-14 11:54:12 UTC (rev 1495)
+++ trunk/src/main/java/cc/kune/core/client/auth/RegisterPresenter.java 2011-08-16 19:07:23 UTC (rev 1496)
@@ -38,6 +38,7 @@
import cc.kune.core.client.state.StateManager;
import cc.kune.core.shared.dto.I18nCountryDTO;
import cc.kune.core.shared.dto.I18nLanguageDTO;
+import cc.kune.core.shared.dto.ReservedWordsRegistryDTO;
import cc.kune.core.shared.dto.SubscriptionMode;
import cc.kune.core.shared.dto.TimeZoneDTO;
import cc.kune.core.shared.dto.UserDTO;
@@ -88,7 +89,6 @@
}
private final Provider<SignIn> signInProvider;
-
private final Provider<UserServiceAsync> userServiceProvider;
@Inject
@@ -148,9 +148,16 @@
});
}
- public void onFormRegister() {
+ private void onFormRegister() {
getView().hideMessages();
- if (getView().isRegisterFormValid()) {
+ final ReservedWordsRegistryDTO reservedWords = session.getInitData().getReservedWords();
+ if (reservedWords.contains(getView().getShortName())) {
+ getView().setShortNameFailed(i18n.t(CoreMessages.NAME_RESTRICTED));
+ getView().setErrorMessage(i18n.t(CoreMessages.NAME_RESTRICTED), NotifyLevel.error);
+ } else if (reservedWords.contains(getView().getLongName())) {
+ getView().setLongNameFailed(i18n.t(CoreMessages.NAME_RESTRICTED));
+ getView().setErrorMessage(i18n.t(CoreMessages.NAME_RESTRICTED), NotifyLevel.error);
+ } else if (getView().isRegisterFormValid()) {
getView().maskProcessing();
final I18nLanguageDTO language = new I18nLanguageDTO();
Modified: trunk/src/main/java/cc/kune/core/client/groups/newgroup/NewGroupPresenter.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/groups/newgroup/NewGroupPresenter.java 2011-08-14 11:54:12 UTC (rev 1495)
+++ trunk/src/main/java/cc/kune/core/client/groups/newgroup/NewGroupPresenter.java 2011-08-16 19:07:23 UTC (rev 1496)
@@ -36,6 +36,7 @@
import cc.kune.core.shared.dto.GroupDTO;
import cc.kune.core.shared.dto.GroupType;
import cc.kune.core.shared.dto.LicenseDTO;
+import cc.kune.core.shared.dto.ReservedWordsRegistryDTO;
import cc.kune.core.shared.i18n.I18nTranslationService;
import cc.kune.gspace.client.options.GroupOptions;
@@ -155,9 +156,16 @@
stateManager.redirectOrRestorePreviousToken();
}
- public void onRegister() {
+ private void onRegister() {
getView().hideMessage();
- if (getView().isFormValid()) {
+ final ReservedWordsRegistryDTO reservedWords = session.getInitData().getReservedWords();
+ if (reservedWords.contains(getView().getShortName())) {
+ getView().setShortNameFailed(i18n.t(CoreMessages.NAME_RESTRICTED));
+ getView().setMessage(i18n.t(CoreMessages.NAME_RESTRICTED), NotifyLevel.error);
+ } else if (reservedWords.contains(getView().getLongName())) {
+ getView().setLongNameFailed(i18n.t(CoreMessages.NAME_RESTRICTED));
+ getView().setMessage(i18n.t(CoreMessages.NAME_RESTRICTED), NotifyLevel.error);
+ } else if (getView().isFormValid()) {
getView().maskProcessing();
final String shortName = getView().getShortName();
final String longName = getView().getLongName();
Modified: trunk/src/main/java/cc/kune/core/client/resources/CoreMessages.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/resources/CoreMessages.java 2011-08-14 11:54:12 UTC (rev 1495)
+++ trunk/src/main/java/cc/kune/core/client/resources/CoreMessages.java 2011-08-16 19:07:23 UTC (rev 1496)
@@ -28,9 +28,11 @@
public final static String FIELD_MUST_BE_BETWEEN_3_AND_15 = "The name must be between 3 and 15 lowercase characters. It can only contain Western characters and numbers";
public final static String FIELD_MUST_BE_BETWEEN_3_AND_15_NO_CHARS = "The name must be between 3 and 15 lowercase characters.";
public final static String GROUP_OPTIONS_DIALOG_TITLE = "Group options";
+ public final static String GROUPNAME_RESTRICTED = "This group name can not be used. Please try with a different name";
public final static String INCORRECT_NICKNAME_EMAIL_OR_PASSWORD = "The username/password is incorrect";
public final static String MEMBERS_NOT_PUBLIC = "The members of this group are not public";
public final static String NAME_IN_ALREADY_IN_USE = "This name is already in use. Please try with a different name";
+ public final static String NAME_RESTRICTED = "This user name can not be used. Please try with a different name";
public final static String NAME_IN_USE = "This name in already in use. Please try with a different name";
public final static String PASSWD_MUST_BE_BETWEEN_6_AND_40 = "The password must be between 6 and 40 characters";
public final static String REGISTER_A_NEW_GROUP_TITLE = "Register a new Group";
Deleted: trunk/src/main/java/cc/kune/core/client/state/ReservedWordsRegistry.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/state/ReservedWordsRegistry.java 2011-08-14 11:54:12 UTC (rev 1495)
+++ trunk/src/main/java/cc/kune/core/client/state/ReservedWordsRegistry.java 2011-08-16 19:07:23 UTC (rev 1496)
@@ -1,27 +0,0 @@
-/*
- *
- * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
- * This file is part of kune.
- *
- * This program is free software: you can redistribute it and/or modify
- * it under the terms of the GNU Affero General Public License as
- * published by the Free Software Foundation, either version 3 of the
- * License, or (at your option) any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
- * GNU Affero General Public License for more details.
- *
- * You should have received a copy of the GNU Affero General Public License
- * along with this program. If not, see <http://www.gnu.org/licenses/>.
- *
- */
-package cc.kune.core.client.state;
-
-import java.util.ArrayList;
-
-@SuppressWarnings("serial")
-public class ReservedWordsRegistry extends ArrayList<String> {
-
-}
Modified: trunk/src/main/java/cc/kune/core/client/state/SiteTokens.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/state/SiteTokens.java 2011-08-14 11:54:12 UTC (rev 1495)
+++ trunk/src/main/java/cc/kune/core/client/state/SiteTokens.java 2011-08-16 19:07:23 UTC (rev 1496)
@@ -19,6 +19,8 @@
*/
package cc.kune.core.client.state;
+import cc.kune.core.shared.dto.ReservedWordsRegistryDTO;
+
import com.google.inject.Inject;
/**
@@ -37,7 +39,7 @@
public final static String WAVEINBOX = "inbox";
@Inject
- public SiteTokens(final ReservedWordsRegistry reserverdWords) {
+ public SiteTokens(final ReservedWordsRegistryDTO reserverdWords) {
reserverdWords.add(ABOUTKUNE);
reserverdWords.add(GROUP_HOME);
reserverdWords.add(HOME);
Modified: trunk/src/main/java/cc/kune/core/client/state/TokenMatcher.java
===================================================================
--- trunk/src/main/java/cc/kune/core/client/state/TokenMatcher.java 2011-08-14 11:54:12 UTC (rev 1495)
+++ trunk/src/main/java/cc/kune/core/client/state/TokenMatcher.java 2011-08-16 19:07:23 UTC (rev 1496)
@@ -24,16 +24,17 @@
import cc.kune.common.client.utils.Pair;
import cc.kune.core.shared.domain.utils.StateToken;
+import cc.kune.core.shared.dto.ReservedWordsRegistryDTO;
import com.google.inject.Inject;
public class TokenMatcher {
private WaverefEncoder encoder;
- private final ReservedWordsRegistry reservedWordsRegistry;
+ private final ReservedWordsRegistryDTO reservedWordsRegistry;
@Inject
- public TokenMatcher(final ReservedWordsRegistry reservedWordsRegistry) {
+ public TokenMatcher(final ReservedWordsRegistryDTO reservedWordsRegistry) {
this.reservedWordsRegistry = reservedWordsRegistry;
}
Modified: trunk/src/main/java/cc/kune/core/server/InitData.java
===================================================================
--- trunk/src/main/java/cc/kune/core/server/InitData.java 2011-08-14 11:54:12 UTC (rev 1495)
+++ trunk/src/main/java/cc/kune/core/server/InitData.java 2011-08-16 19:07:23 UTC (rev 1496)
@@ -26,6 +26,7 @@
import cc.kune.core.server.tool.ToolSimple;
import cc.kune.core.server.users.UserInfo;
import cc.kune.core.shared.dto.GSpaceTheme;
+import cc.kune.core.shared.dto.ReservedWordsRegistryDTO;
import cc.kune.domain.ExtMediaDescrip;
import cc.kune.domain.I18nCountry;
import cc.kune.domain.I18nLanguage;
@@ -55,6 +56,7 @@
private String maxFileSizeInMb;
private String mp3EmbedObject;
private String oggEmbedObject;
+ private ReservedWordsRegistryDTO reservedWords;
private String siteDomain;
private String siteLogoUrl;
private String siteUrl;
@@ -150,6 +152,10 @@
return oggEmbedObject;
}
+ public ReservedWordsRegistryDTO getReservedWords() {
+ return this.reservedWords;
+ }
+
@Deprecated
public String getSiteDomain() {
return siteDomain;
@@ -263,6 +269,10 @@
this.oggEmbedObject = oggEmbedObject;
}
+ public void setReservedWords(final ReservedWordsRegistryDTO reservedWords) {
+ this.reservedWords = reservedWords;
+ }
+
@Deprecated
public void setSiteDomain(final String siteDomain) {
this.siteDomain = siteDomain;
Modified: trunk/src/main/java/cc/kune/core/server/properties/KuneProperties.java
===================================================================
--- trunk/src/main/java/cc/kune/core/server/properties/KuneProperties.java 2011-08-14 11:54:12 UTC (rev 1495)
+++ trunk/src/main/java/cc/kune/core/server/properties/KuneProperties.java 2011-08-16 19:07:23 UTC (rev 1496)
@@ -34,6 +34,7 @@
String IMAGES_THUMBSIZE = "kune.images.thumbsize";
String MP3_EMBEDED_OBJECT = "kune.media.mp3embededobject";
String OGG_EMBEDED_OBJECT = "kune.media.oggembededobject";
+ String RESERVED_WORDS = "kune.server.names.reservedwords";
String SITE_ADMIN_EMAIL = "kune.admin.email";
String SITE_ADMIN_NAME = "kune.admin.name";
String SITE_ADMIN_PASSWD = "kune.admin.password";
Added: trunk/src/main/java/cc/kune/core/server/properties/ReservedWordsRegistry.java
===================================================================
--- trunk/src/main/java/cc/kune/core/server/properties/ReservedWordsRegistry.java (rev 0)
+++ trunk/src/main/java/cc/kune/core/server/properties/ReservedWordsRegistry.java 2011-08-16 19:07:23 UTC (rev 1496)
@@ -0,0 +1,34 @@
+package cc.kune.core.server.properties;
+
+import java.util.ArrayList;
+import java.util.Arrays;
+import java.util.List;
+
+import cc.kune.core.client.errors.DefaultException;
+
+import com.google.inject.Inject;
+import com.google.inject.Singleton;
+
+@Singleton
+public class ReservedWordsRegistry extends ArrayList<String> {
+
+ private static final long serialVersionUID = 7455756500618858360L;
+
+ public static List<String> fromList(final KuneProperties kuneProperties) {
+ return Arrays.asList(kuneProperties.get(KuneProperties.RESERVED_WORDS, "root").replaceAll(" ", "").split(
+ ","));
+ }
+
+ @Inject
+ public ReservedWordsRegistry(final KuneProperties kuneProperties) {
+ super(fromList(kuneProperties));
+ }
+
+ public void check(final String... names) {
+ for (final String name : names) {
+ if (this.contains(name) || this.contains(name.toLowerCase())) {
+ throw new DefaultException("This name is a reserved word and cannot be used");
+ }
+ }
+ }
+}
Modified: trunk/src/main/java/cc/kune/core/server/rpc/GroupRPC.java
===================================================================
--- trunk/src/main/java/cc/kune/core/server/rpc/GroupRPC.java 2011-08-14 11:54:12 UTC (rev 1495)
+++ trunk/src/main/java/cc/kune/core/server/rpc/GroupRPC.java 2011-08-16 19:07:23 UTC (rev 1496)
@@ -28,6 +28,7 @@
import cc.kune.core.server.content.ContentManager;
import cc.kune.core.server.manager.GroupManager;
import cc.kune.core.server.mapper.Mapper;
+import cc.kune.core.server.properties.ReservedWordsRegistry;
import cc.kune.core.shared.domain.AccessRol;
import cc.kune.core.shared.domain.AdmissionType;
import cc.kune.core.shared.domain.SocialNetworkVisibility;
@@ -49,18 +50,21 @@
private final I18nTranslationService i18n;
private final KuneWaveManagerDefault kuneWaveManager;
private final Mapper mapper;
+ private final ReservedWordsRegistry reserverdWords;
private final Provider<UserSession> userSessionProvider;
@Inject
public GroupRPC(final Provider<UserSession> userSessionProvider, final GroupManager groupManager,
final ContentManager contentManager, final Mapper mapper,
- final KuneWaveManagerDefault kuneWaveManager, final I18nTranslationService i18n) {
+ final KuneWaveManagerDefault kuneWaveManager, final I18nTranslationService i18n,
+ final ReservedWordsRegistry reserverdWords) {
this.userSessionProvider = userSessionProvider;
this.groupManager = groupManager;
this.contentManager = contentManager;
this.mapper = mapper;
this.kuneWaveManager = kuneWaveManager;
this.i18n = i18n;
+ this.reserverdWords = reserverdWords;
}
@Override
@@ -101,6 +105,7 @@
public StateToken createNewGroup(final String userHash, final GroupDTO groupDTO,
final String publicDesc, final String tags, final String[] enabledTools) throws DefaultException {
final User user = getUserLogged();
+ reserverdWords.check(groupDTO.getShortName(), groupDTO.getLongName());
final Group group = mapper.map(groupDTO, Group.class);
final Group newGroup = groupManager.createGroup(group, user, publicDesc);
// This is necessary?
Modified: trunk/src/main/java/cc/kune/core/server/rpc/SiteRPC.java
===================================================================
--- trunk/src/main/java/cc/kune/core/server/rpc/SiteRPC.java 2011-08-14 11:54:12 UTC (rev 1495)
+++ trunk/src/main/java/cc/kune/core/server/rpc/SiteRPC.java 2011-08-16 19:07:23 UTC (rev 1496)
@@ -34,10 +34,14 @@
import cc.kune.core.server.mapper.Mapper;
import cc.kune.core.server.properties.ChatProperties;
import cc.kune.core.server.properties.KuneProperties;
+import cc.kune.core.server.properties.ReservedWordsRegistry;
import cc.kune.core.server.tool.ServerToolRegistry;
+import cc.kune.core.server.users.UserInfo;
import cc.kune.core.server.users.UserInfoService;
import cc.kune.core.shared.dto.GSpaceTheme;
import cc.kune.core.shared.dto.InitDataDTO;
+import cc.kune.core.shared.dto.ReservedWordsRegistryDTO;
+import cc.kune.core.shared.dto.UserInfoDTO;
import com.google.inject.Inject;
import com.google.inject.Provider;
@@ -46,14 +50,16 @@
public class SiteRPC implements RPC, SiteService {
private final ChatProperties chatProperties;
private final I18nCountryManager countryManager;
+ private InitData data;
private final ExtMediaDescripManager extMediaDescManager;
private final KuneProperties kuneProperties;
private final I18nLanguageManager languageManager;
private final LicenseManager licenseManager;
private final Mapper mapper;
+ private final ReservedWordsRegistryDTO reservedWords;
private final ServerToolRegistry serverToolRegistry;
+ private final HashMap<String, GSpaceTheme> siteThemes;
private final UserInfoService userInfoService;
- private final UserManager userManager;
private final Provider<UserSession> userSessionProvider;
// TODO: refactor: too many parameters! refactor to Facade Pattern
@@ -64,7 +70,6 @@
final I18nLanguageManager languageManager, final I18nCountryManager countryManager,
final ServerToolRegistry serverToolRegistry, final ExtMediaDescripManager extMediaDescManager) {
this.userSessionProvider = userSessionProvider;
- this.userManager = userManager;
this.userInfoService = userInfoService;
this.licenseManager = licenseManager;
this.mapper = mapper;
@@ -74,6 +79,9 @@
this.countryManager = countryManager;
this.serverToolRegistry = serverToolRegistry;
this.extMediaDescManager = extMediaDescManager;
+ data = loadInitData();
+ siteThemes = getSiteThemes(this.kuneProperties.get(KuneProperties.WS_THEMES).split(","));
+ reservedWords = new ReservedWordsRegistryDTO(ReservedWordsRegistry.fromList(kuneProperties));
}
private String[] getColors(final String key) {
@@ -83,15 +91,45 @@
@Override
@Transactional
public InitDataDTO getInitData(final String userHash) throws DefaultException {
- final InitData data = new InitData();
+ final InitDataDTO dataMapped = mapper.map(data, InitDataDTO.class);
final UserSession userSession = getUserSession();
+ final UserInfo userInfo = userInfoService.buildInfo(userSession.getUser(), userSession.getHash());
+ if (userInfo != null) {
+ dataMapped.setUserInfo(mapper.map(userInfo, UserInfoDTO.class));
+ }
+
+ dataMapped.setgSpaceThemes(siteThemes);
+ dataMapped.setReservedWords(reservedWords);
+ return dataMapped;
+ }
+
+ private HashMap<String, GSpaceTheme> getSiteThemes(final String[] themes) {
+ final HashMap<String, GSpaceTheme> map = new HashMap<String, GSpaceTheme>();
+ for (final String theme : themes) {
+ map.put(theme, getThemeFromProperties(theme));
+ }
+ return map;
+ }
+
+ private GSpaceTheme getThemeFromProperties(final String themeName) {
+ final GSpaceTheme theme = new GSpaceTheme(themeName);
+ theme.setBackColors(getColors(KuneProperties.WS_THEMES + "." + theme.getName() + ".backgrounds"));
+ theme.setColors(getColors(KuneProperties.WS_THEMES + "." + theme.getName() + ".colors"));
+ return theme;
+ }
+
+ private UserSession getUserSession() {
+ return userSessionProvider.get();
+ }
+
+ private InitData loadInitData() {
+ data = new InitData();
data.setSiteUrl(kuneProperties.get(KuneProperties.SITE_URL));
data.setLicenses(licenseManager.getAll());
data.setLanguages(languageManager.getAll());
data.setCountries(countryManager.getAll());
data.setTimezones(TimeZone.getAvailableIDs());
- data.setUserInfo(userInfoService.buildInfo(userSession.getUser(), userSession.getHash()));
data.setChatHttpBase(chatProperties.getHttpBase());
data.setChatDomain(chatProperties.getDomain());
data.setSiteDomain(kuneProperties.get(KuneProperties.SITE_DOMAIN));
@@ -113,27 +151,6 @@
data.setOggEmbedObject(kuneProperties.get(KuneProperties.OGG_EMBEDED_OBJECT));
data.setAviEmbedObject(kuneProperties.get(KuneProperties.AVI_EMBEDED_OBJECT));
data.setExtMediaDescrips(extMediaDescManager.getAll());
- final InitDataDTO map = mapper.map(data, InitDataDTO.class);
- map.setgSpaceThemes(getSiteThemes(this.kuneProperties.get(KuneProperties.WS_THEMES).split(",")));
- return map;
+ return data;
}
-
- private HashMap<String, GSpaceTheme> getSiteThemes(final String[] themes) {
- final HashMap<String, GSpaceTheme> map = new HashMap<String, GSpaceTheme>();
- for (final String theme : themes) {
- map.put(theme, getThemeFromProperties(theme));
- }
- return map;
- }
-
- private GSpaceTheme getThemeFromProperties(final String themeName) {
- final GSpaceTheme theme = new GSpaceTheme(themeName);
- theme.setBackColors(getColors(KuneProperties.WS_THEMES + "." + theme.getName() + ".backgrounds"));
- theme.setColors(getColors(KuneProperties.WS_THEMES + "." + theme.getName() + ".colors"));
- return theme;
- }
-
- private UserSession getUserSession() {
- return userSessionProvider.get();
- }
}
Modified: trunk/src/main/java/cc/kune/core/server/rpc/UserRPC.java
===================================================================
--- trunk/src/main/java/cc/kune/core/server/rpc/UserRPC.java 2011-08-14 11:54:12 UTC (rev 1495)
+++ trunk/src/main/java/cc/kune/core/server/rpc/UserRPC.java 2011-08-16 19:07:23 UTC (rev 1496)
@@ -39,6 +39,7 @@
import cc.kune.core.server.manager.GroupManager;
import cc.kune.core.server.manager.UserManager;
import cc.kune.core.server.mapper.Mapper;
+import cc.kune.core.server.properties.ReservedWordsRegistry;
import cc.kune.core.server.users.UserInfo;
import cc.kune.core.server.users.UserInfoService;
import cc.kune.core.shared.domain.AccessRol;
@@ -63,6 +64,7 @@
private final GroupManager groupManager;
private final I18nTranslationService i18n;
private final Mapper mapper;
+ private final ReservedWordsRegistry reserverdWords;
private final Provider<SessionService> sessionServiceProvider;
private final UserInfoService userInfoService;
private final UserManager userManager;
@@ -77,7 +79,8 @@
@Named(CoreSettings.USE_SOCKETIO) final Boolean useSocketIO, final GroupManager groupManager,
final UserInfoService userInfoService, final Mapper mapper,
final SessionManager waveSessionManager, final CustomWaveClientServlet waveClientServlet,
- final I18nTranslationService i18n, final ContentManager contentManager) {
+ final I18nTranslationService i18n, final ContentManager contentManager,
+ final ReservedWordsRegistry reserverdWords) {
this.sessionServiceProvider = sessionServiceProvider;
this.userSessionProvider = userSessionProvider;
this.userManager = userManager;
@@ -89,20 +92,17 @@
this.waveClientServlet = waveClientServlet;
this.i18n = i18n;
this.contentManager = contentManager;
+ this.reserverdWords = reserverdWords;
}
@Override
@Transactional(rollbackOn = DefaultException.class)
public void createUser(final UserDTO userDTO, final boolean wantPersonalHomepage)
throws DefaultException {
+ reserverdWords.check(userDTO.getShortName(), userDTO.getName());
userManager.createUser(userDTO.getShortName(), userDTO.getName(), userDTO.getEmail(),
userDTO.getPassword(), userDTO.getLanguage().getCode(), userDTO.getCountry().getCode(),
userDTO.getTimezone().getId(), wantPersonalHomepage);
- // final Group userGroup = groupManager.createUserGroup(user,
- // wantPersonalHomepage);
- // // Is this necessary? try to remove (used when we were setting the def
- // // content
- // contentManager.save(userGroup.getDefaultContent());
}
@Override
Modified: trunk/src/main/java/cc/kune/core/shared/dto/InitDataDTO.java
===================================================================
--- trunk/src/main/java/cc/kune/core/shared/dto/InitDataDTO.java 2011-08-14 11:54:12 UTC (rev 1495)
+++ trunk/src/main/java/cc/kune/core/shared/dto/InitDataDTO.java 2011-08-16 19:07:23 UTC (rev 1496)
@@ -50,6 +50,7 @@
private String maxFileSizeInMb;
private String mp3EmbedObject;
private String oggEmbedObject;
+ private ReservedWordsRegistryDTO reservedWords;
private String siteDomain;
private String siteLogoUrl;
private String siteUrl;
@@ -148,6 +149,10 @@
return oggEmbedObject;
}
+ public ReservedWordsRegistryDTO getReservedWords() {
+ return this.reservedWords;
+ }
+
@Deprecated
public String getSiteDomain() {
return siteDomain;
@@ -265,6 +270,10 @@
this.oggEmbedObject = oggEmbedObject;
}
+ public void setReservedWords(final ReservedWordsRegistryDTO reservedWords) {
+ this.reservedWords = reservedWords;
+ }
+
@Deprecated
public void setSiteDomain(final String siteDomain) {
this.siteDomain = siteDomain;
Copied: trunk/src/main/java/cc/kune/core/shared/dto/ReservedWordsRegistryDTO.java (from rev 1489, trunk/src/main/java/cc/kune/core/client/state/ReservedWordsRegistry.java)
===================================================================
--- trunk/src/main/java/cc/kune/core/shared/dto/ReservedWordsRegistryDTO.java (rev 0)
+++ trunk/src/main/java/cc/kune/core/shared/dto/ReservedWordsRegistryDTO.java 2011-08-16 19:07:23 UTC (rev 1496)
@@ -0,0 +1,38 @@
+/*
+ *
+ * Copyright (C) 2007-2011 The kune development team (see CREDITS for details)
+ * This file is part of kune.
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as
+ * published by the Free Software Foundation, either version 3 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU Affero General Public License for more details.
+ *
+ * You should have received a copy of the GNU Affero General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+package cc.kune.core.shared.dto;
+
+import java.util.ArrayList;
+import java.util.List;
+
+import com.google.gwt.user.client.rpc.IsSerializable;
+
+public class ReservedWordsRegistryDTO extends ArrayList<String> implements IsSerializable {
+
+ private static final long serialVersionUID = 4560973224792765637L;
+
+ public ReservedWordsRegistryDTO() {
+ }
+
+ public ReservedWordsRegistryDTO(final List<String> list) {
+ super(list);
+ }
+
+}
Modified: trunk/src/main/java/cc/kune/lists/client/actions/ListsClientActions.java
===================================================================
--- trunk/src/main/java/cc/kune/lists/client/actions/ListsClientActions.java 2011-08-14 11:54:12 UTC (rev 1495)
+++ trunk/src/main/java/cc/kune/lists/client/actions/ListsClientActions.java 2011-08-16 19:07:23 UTC (rev 1496)
@@ -54,6 +54,7 @@
final Provider<OpenFolderMenuItem> openContentMenuItem,
final Provider<RefreshListMenuItem> refresh, final Provider<SubscribeToListBtn> subscribeBtn,
final Provider<OptionsListMenu> optionsMenuContent,
+ final Provider<ShowSubscribersOfListBtn> subscribersCount,
final Provider<SetListOpenessMenuItem> listOpenessMenuItem,
final Provider<ParticipateInContentBtn> participateBtn, final ListsNewMenu listNewMenu,
final NewMenusForTypeIdsRegistry newMenusRegistry, final Provider<ChatAboutContentBtn> chatAbout,
@@ -63,15 +64,16 @@
actionsRegistry.addAction(ActionGroups.TOOLBAR, optionsMenuContent, all);
actionsRegistry.addAction(ActionGroups.TOOLBAR, listNewMenu, containers);
actionsRegistry.addAction(ActionGroups.TOOLBAR, refresh, all);
- actionsRegistry.addAction(ActionGroups.TOOLBAR, subscribeBtn, containersNoRoot);
actionsRegistry.addAction(ActionGroups.TOOLBAR, listOpenessMenuItem, containersNoRoot);
actionsRegistry.addAction(ActionGroups.TOOLBAR, newPostItem, containersNoRoot);
actionsRegistry.addAction(ActionGroups.TOOLBAR, newPostIconBtn, noRoot);
+ actionsRegistry.addAction(ActionGroups.TOOLBAR, subscribeBtn, containersNoRoot);
actionsRegistry.addAction(ActionGroups.TOOLBAR, newListMenuItem, TYPE_ROOT);
actionsRegistry.addAction(ActionGroups.TOOLBAR, newListBtn, TYPE_ROOT);
actionsRegistry.addAction(ActionGroups.TOOLBAR, folderGoUp, contents);
actionsRegistry.addAction(ActionGroups.TOOLBAR, folderGoUp, containers);
actionsRegistry.addAction(ActionGroups.TOOLBAR, participateBtn, contents);
+ actionsRegistry.addAction(ActionGroups.TOOLBAR, subscribersCount, containersNoRoot);
actionsRegistry.addAction(ActionGroups.TOOLBAR, chatAbout, contents);
actionsRegistry.addAction(ActionGroups.ITEM_MENU, openContentMenuItem, contents);
actionsRegistry.addAction(ActionGroups.ITEM_MENU, openContentMenuItem, containersNoRoot);
Added: trunk/src/main/java/cc/kune/lists/client/actions/ShowSubscribersOfListBtn.java
===================================================================
--- trunk/src/main/java/cc/kune/lists/client/actions/ShowSubscribersOfListBtn.java (rev 0)
+++ trunk/src/main/java/cc/kune/lists/client/actions/ShowSubscribersOfListBtn.java 2011-08-16 19:07:23 UTC (rev 1496)
@@ -0,0 +1,23 @@
+package cc.kune.lists.client.actions;
+
+import cc.kune.common.client.actions.AbstractAction;
+import cc.kune.common.client.actions.ui.descrip.ButtonDescriptor;
+import cc.kune.core.client.resources.CoreResources;
+import cc.kune.core.client.state.Session;
+import cc.kune.core.shared.i18n.I18nTranslationService;
+
+import com.google.inject.Inject;
+
+public class ShowSubscribersOfListBtn extends ButtonDescriptor {
+
+ @Inject
+ public ShowSubscribersOfListBtn(final I18nTranslationService i18n, final Session session,
+ final CoreResources res) {
+ super(AbstractAction.NO_ACTION);
+ final int subscribers = session.getContainerState().getAccessLists().getEditors().getList().size();
+ final int posts = session.getContainerState().getContainer().getContents().size();
+ withText(i18n.t("[%d] subscribed, [%d] posts", subscribers, posts));
+ // withToolTip(i18n.t("Subscribe to this list"));
+ withStyles("k-def-docbtn, k-fl, k-noborder, k-no-backimage, k-nobackcolor");
+ }
+}
Modified: trunk/src/main/java/cc/kune/lists/client/actions/SubscribeToListBtn.java
===================================================================
--- trunk/src/main/java/cc/kune/lists/client/actions/SubscribeToListBtn.java 2011-08-14 11:54:12 UTC (rev 1495)
+++ trunk/src/main/java/cc/kune/lists/client/actions/SubscribeToListBtn.java 2011-08-16 19:07:23 UTC (rev 1496)
@@ -17,6 +17,7 @@
&& session.getContainerState().getAccessLists().getEditors().getList().contains(
session.getCurrentUserInfo().getUserGroup());
action.putValue(SubscriteToListAction.ISMEMBER, areYouMember);
+ withStyles("k-fl");
if (!areYouMember) {
withText(i18n.t("Subscribe"));
withIcon(res.add());
Modified: trunk/src/main/java/cc/kune/meets/client/MeetingsClientTool.java
===================================================================
--- trunk/src/main/java/cc/kune/meets/client/MeetingsClientTool.java 2011-08-14 11:54:12 UTC (rev 1495)
+++ trunk/src/main/java/cc/kune/meets/client/MeetingsClientTool.java 2011-08-16 19:07:23 UTC (rev 1496)
@@ -20,6 +20,7 @@
package cc.kune.meets.client;
import static cc.kune.meets.shared.MeetingsConstants.NAME;
+import static cc.kune.meets.shared.MeetingsConstants.ROOT_NAME;
import static cc.kune.meets.shared.MeetingsConstants.TYPE_MEETING;
import static cc.kune.meets.shared.MeetingsConstants.TYPE_ROOT;
import cc.kune.core.client.registry.ContentCapabilitiesRegistry;
@@ -35,7 +36,7 @@
@Inject
public MeetingsClientTool(final I18nTranslationService i18n, final ToolSelector toolSelector,
final ContentCapabilitiesRegistry cntCapRegistry, final NavResources navResources) {
- super(NAME, i18n.t("meets"), toolSelector, cntCapRegistry, i18n, navResources);
+ super(NAME, i18n.t(ROOT_NAME), toolSelector, cntCapRegistry, i18n, navResources);
// registerAclEditableTypes(TYPE_DOCUMENT, TYPE_UPLOADEDFILE);
registerAuthorableTypes(TYPE_MEETING);
Modified: trunk/src/main/java/cc/kune/meets/shared/MeetingsConstants.java
===================================================================
--- trunk/src/main/java/cc/kune/meets/shared/MeetingsConstants.java 2011-08-14 11:54:12 UTC (rev 1495)
+++ trunk/src/main/java/cc/kune/meets/shared/MeetingsConstants.java 2011-08-16 19:07:23 UTC (rev 1496)
@@ -21,9 +21,9 @@
public final class MeetingsConstants {
- public static final String NAME = "meets";
- public static final String ROOT_NAME = "meetings";
- public static final String TYPE_MEETING = NAME + "." + "meet";
+ public static final String NAME = "events";
+ public static final String ROOT_NAME = "events";
+ public static final String TYPE_MEETING = NAME + "." + "meeting";
public static final String TYPE_ROOT = NAME + "." + "root";
private MeetingsConstants() {
Modified: trunk/src/main/java/cc/kune/wave/server/KuneWaveManagerDefault.java
===================================================================
--- trunk/src/main/java/cc/kune/wave/server/KuneWaveManagerDefault.java 2011-08-14 11:54:12 UTC (rev 1495)
+++ trunk/src/main/java/cc/kune/wave/server/KuneWaveManagerDefault.java 2011-08-16 19:07:23 UTC (rev 1496)
@@ -87,9 +87,7 @@
// See: DocumentModifyServiceTest
private static final String NO_ANNOTATION_KEY = null;
private static final List<BundledAnnotation> NO_BUNDLED_ANNOTATIONS = Collections.emptyList();
- private static final List<Element> NO_ELEMENTS = Collections.emptyList();
private static final String NO_TITLE = "";
-
private static final List<String> NO_VALUES = Collections.<String> emptyList();
private static final String NO_WAVE_TO_COPY = null;
Modified: trunk/src/main/resources/db/liquibase_changelog.xml
===================================================================
--- trunk/src/main/resources/db/liquibase_changelog.xml 2011-08-14 11:54:12 UTC (rev 1495)
+++ trunk/src/main/resources/db/liquibase_changelog.xml 2011-08-16 19:07:23 UTC (rev 1496)
@@ -131,4 +131,10 @@
encoding="utf8" stripComments="1" />
<rollback>SELECT * FROM globalize_countries;</rollback>
</changeSet>
+ <changeSet id="20" author="vjrj">
+ <comment>Meetings id migration</comment>
+ <sqlFile path="src/main/resources/db/update-0016-meetings.sql"
+ encoding="utf8" stripComments="1" />
+ <rollback>SELECT * FROM globalize_countries;</rollback>
+ </changeSet>
</databaseChangeLog>
Added: trunk/src/main/resources/db/update-0016-meetings.sql
===================================================================
--- trunk/src/main/resources/db/update-0016-meetings.sql (rev 0)
+++ trunk/src/main/resources/db/update-0016-meetings.sql 2011-08-16 19:07:23 UTC (rev 1496)
@@ -0,0 +1,5 @@
+BEGIN WORK;
+UPDATE `contents` SET typeId='events.meeting' WHERE typeId='meets.meet';
+UPDATE `containers` SET typeId='events.root', toolName='events', name='events' WHERE typeId='meets.root';
+UPDATE `groups_tool_configurations` SET mapkey='events' WHERE mapkey='meets';
+COMMIT;
\ No newline at end of file
Modified: trunk/src/main/resources/kune.properties
===================================================================
--- trunk/src/main/resources/kune.properties 2011-08-14 11:54:12 UTC (rev 1495)
+++ trunk/src/main/resources/kune.properties 2011-08-16 19:07:23 UTC (rev 1496)
@@ -34,6 +34,9 @@
### Other params
+# Reserved words to avoid it's use in the client side for user and group names
+kune.server.names.reservedwords = root,adm,kune,fuck
+
# If defined create a copy of this wave as welcome to new users
# kune.site.welcomewave = w+rtackLTkDCA
kune.site.welcomewave =
Modified: trunk/src/test/java/cc/kune/core/client/state/TokenMatcherTest.java
===================================================================
--- trunk/src/test/java/cc/kune/core/client/state/TokenMatcherTest.java 2011-08-14 11:54:12 UTC (rev 1495)
+++ trunk/src/test/java/cc/kune/core/client/state/TokenMatcherTest.java 2011-08-16 19:07:23 UTC (rev 1496)
@@ -27,6 +27,8 @@
import org.junit.Test;
import org.waveprotocol.wave.util.escapers.jvm.JavaWaverefEncoder;
+import cc.kune.core.shared.dto.ReservedWordsRegistryDTO;
+
public class TokenMatcherTest {
private static final String DEF_SITE_TOKEN = "";
@@ -45,7 +47,7 @@
@Before
public void before() {
- final ReservedWordsRegistry reservedWords = new ReservedWordsRegistry();
+ final ReservedWordsRegistryDTO reservedWords = new ReservedWordsRegistryDTO();
reservedWords.add(SIGNIN_TOKEN);
tokenMatcher = new TokenMatcher(reservedWords);
tokenMatcher.init(JavaWaverefEncoder.INSTANCE);
1
0
Re: [kune-commits] [kune issues] #95: Rename "Meets" for "Events" (was: Rename "Meets" for "Meetings")
by kune issues 16 Aug '11
by kune issues 16 Aug '11
16 Aug '11
#95: Rename "Meets" for "Events"
-----------------------------------------+----------------------------------
Reporter: sam <samer@…> | Owner: vjrj
Type: defect | Status: closed
Priority: trivial | Milestone:
Component: Group space | Version:
Resolution: fixed | Keywords:
Blocking: | Blockedby:
-----------------------------------------+----------------------------------
Changes (by vjrj):
* status: new => closed
* resolution: => fixed
--
Ticket URL: <http://kune.ourproject.org/issues/ticket/95#comment:>
kune issues <http://kune.ourproject.org/issues/>
1
0
16 Aug '11
#43: Server side Reserved Words
--------------------------+-------------------------------------------------
Reporter: vjrj | Owner: vjrj
Type: enhancement | Status: closed
Priority: minor | Milestone:
Component: Server side | Version:
Resolution: fixed | Keywords: easy
Blocking: | Blockedby:
--------------------------+-------------------------------------------------
Changes (by vjrj):
* status: new => closed
* resolution: => fixed
Comment:
Closed, thanks to Alfredo Álvarez
--
Ticket URL: <http://kune.ourproject.org/issues/ticket/43#comment:>
kune issues <http://kune.ourproject.org/issues/>
1
0