diff --git a/.settings/org.eclipse.wst.common.component b/.settings/org.eclipse.wst.common.component
index 073c9e0..7d33a49 100644
--- a/.settings/org.eclipse.wst.common.component
+++ b/.settings/org.eclipse.wst.common.component
@@ -4,18 +4,6 @@
-
- uses
-
-
- uses
-
-
- uses
-
-
- uses
-
diff --git a/src/main/java/org/gcube/portlets/user/newsfeed/server/NewsServiceImpl.java b/src/main/java/org/gcube/portlets/user/newsfeed/server/NewsServiceImpl.java
index a86d57f..1585a1d 100644
--- a/src/main/java/org/gcube/portlets/user/newsfeed/server/NewsServiceImpl.java
+++ b/src/main/java/org/gcube/portlets/user/newsfeed/server/NewsServiceImpl.java
@@ -88,7 +88,7 @@ public class NewsServiceImpl extends RemoteServiceServlet implements NewsService
private static final String SESSION_ADMIN_ATTR = "SESSION_ADMIN_ATTR";
private static final String USER_SETTINGS_ATTR = "USER_SETTINGS_ATTR";
- public static final String TEST_SCOPE = "/gcube/devsec/OpenAireDevVRE";
+ public static final String TEST_SCOPE = "/gcube/devsec/devVRE";
private String APP_ID;
@@ -143,7 +143,7 @@ public class NewsServiceImpl extends RemoteServiceServlet implements NewsService
*/
public String getDevelopmentUser() {
String user = NewsConstants.TEST_USER;
-// user = "costantino.perciante";
+ // user = "costantino.perciante";
return user;
}
/**
@@ -759,7 +759,7 @@ public class NewsServiceImpl extends RemoteServiceServlet implements NewsService
//send the notification to the mentioned users, if any
if (mentionedUsers != null && mentionedUsers.size() > 0) {
ArrayList toPass = new ArrayList();
-
+
// among the mentionedUsers there could be groups of people
Map uniqueUsersToNotify = new HashMap<>();
@@ -1009,7 +1009,7 @@ public class NewsServiceImpl extends RemoteServiceServlet implements NewsService
private boolean isUsers(Feed tocheck, String username) {
return (tocheck.getEntityId().equals(username));
}
-
+
/**
*
* @return true if the user is a portal administrator or not
diff --git a/src/main/webapp/WEB-INF/web.xml b/src/main/webapp/WEB-INF/web.xml
index 4f93f03..07e84d6 100644
--- a/src/main/webapp/WEB-INF/web.xml
+++ b/src/main/webapp/WEB-INF/web.xml
@@ -14,7 +14,7 @@
newsServlet
/newsfeed/newsServlet
-
+
scopeService
org.gcube.portlets.user.gcubewidgets.server.ScopeServiceImpl
@@ -24,17 +24,27 @@
scopeService
/newsfeed/scopeService
-
+
checkServlet
org.gcube.portlets.widgets.sessionchecker.server.SessionCheckerServiceImpl
-
+
checkServlet
/newsfeed/checksession
+
+ imageservices
+ org.gcube.portlets.widgets.imagepreviewerwidget.server.ImageOrientationServicesImpl
+
+
+
+ imageservices
+ /newsfeed/imageservices
+
+
NewsFeed.html