ready to release

This commit is contained in:
Massimiliano Assante 2021-04-06 15:08:38 +02:00
parent b776f1bbe7
commit 1ccb6f519f
4 changed files with 5 additions and 6 deletions

View File

@ -4,7 +4,7 @@
All notable changes to this project will be documented in this file.
This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
## [v1.4.2-SNAPSHOT] - 2021-04-06
## [v1.5.0] - 2021-04-06
Removed legacy auth dependency

View File

@ -13,7 +13,7 @@
<artifactId>workspace-widget-portlet</artifactId>
<packaging>war</packaging>
<name>workspace-widget-portlet Portlet</name>
<version>1.4.2-SNAPSHOT</version>
<version>1.5.0</version>
<description>
Workspace Widget Portlet is a small Front-end component looking like G Drive which exposes the content of the user's workspace or VRE Folders in read only mode.
</description>

View File

@ -37,7 +37,7 @@ public class StorageHubServiceUtil {
* @param itemName
* @param from
* @param offset
* @return
* @return the list of items
*/
public static List<WSItem> getItemChildren(AuthorizedUser authUser, String itemId, String itemName, int from, int offset) {
WSItem toReturn = new WSItem(itemId, itemName, true);
@ -68,7 +68,7 @@ public class StorageHubServiceUtil {
}
toReturn.setChildren(children);
Collections.sort(toReturn.getChildren(), new ItemComparator());
_log.debug("*** Returning children size: "+toReturn.getChildren().size());
_log.debug("Returning children size: "+toReturn.getChildren().size());
return children;
}
/**
@ -166,7 +166,7 @@ public class StorageHubServiceUtil {
UmaJWTProvider.instance.set(umaToken.getRaw());
} catch (InvalidTokenException | MissingTokenException | RefreshException | NotAuthorizedException
| UMAException e1) {
// TODO Auto-generated catch block
_log.warn("could not get UMA Token for context="+currentContext);
e1.printStackTrace();
}
_log.debug("getVREFoldersId, context="+currentContext);

View File

@ -7,7 +7,6 @@
pageContext.setAttribute("currentGroup", GroupLocalServiceUtil.getGroup(PortalUtil.getScopeGroupId(request)));
String currentUsername = PortalUtil.getUser(request).getScreenName();
pageContext.setAttribute("currentUsername", PortalUtil.getUser(request).getScreenName());
;
%>
<script src="<%=renderRequest.getContextPath()%>/js/datatables.min.js"></script>