Compare commits

...

31 Commits

Author SHA1 Message Date
Francesco Mangiacrapa 500986d455 added exclusion to `javax.ws.rs-api` due to #27083#note-27 2024-04-24 16:35:13 +02:00
Francesco Mangiacrapa 19b0582660 removed -SNAPSHOT to be released 2024-04-23 09:47:48 +02:00
Francesco Mangiacrapa 451ef36018 required SNAPSHOT version to test in DEV 2024-04-23 09:45:12 +02:00
Francesco Mangiacrapa 133fc063ab reverted to 6.30.0 to be released 2024-04-23 09:35:24 +02:00
Francesco Mangiacrapa cca398c124 Creating snapshot to check #27083#note-17 2024-04-23 09:33:29 +02:00
Francesco Mangiacrapa 00e5cea868 replaced social dependencies, see #27083#note-16 2024-04-22 16:40:03 +02:00
Francesco Mangiacrapa cca8c84f6d removed -SNAPSHOT to be released 2024-03-19 10:49:02 +01:00
Francesco Mangiacrapa 2c59016219 Merge pull request 'edit_facility_26115' (!3) from edit_facility_26115 into master
Reviewed-on: #3
2024-03-19 10:38:23 +01:00
Francesco Mangiacrapa 1824c9a7fd Fixing Incident [#26678] 2024-03-01 12:05:43 +01:00
Francesco Mangiacrapa 257a258ff2 commented profiles 2024-02-28 11:10:21 +01:00
Francesco Mangiacrapa 7367f5d1f8 commented profiles 2024-02-28 11:06:29 +01:00
Francesco Mangiacrapa bd6705efcd Enabled maven profile 2024-02-26 11:39:48 +01:00
Francesco Mangiacrapa 01075df11f Added exclusion `org.codehaus.woodstox:stax2-api:jar` version
stax2-api🫙4.1, see #26825#note-6
2024-02-26 10:47:41 +01:00
Francesco Mangiacrapa bd21f9460c commented profiles 2024-02-23 17:29:14 +01:00
Francesco Mangiacrapa 54cc49e012 added maven profiles 2024-02-20 17:50:17 +01:00
Francesco Mangiacrapa eb12960ecc - Moved to maven parent 1.2.0
- Equipped with the new Catalogue Publishing Widget [#26825]
2024-02-20 15:26:27 +01:00
Francesco Mangiacrapa 291eb8a0db Updated README 2023-07-10 10:37:40 +02:00
Francesco Mangiacrapa 30d5d7ca62 Updated README 2023-07-10 09:52:29 +02:00
Francesco Mangiacrapa e772a6a7e1 Updated README 2023-07-10 09:31:09 +02:00
Francesco Mangiacrapa d29fe99b3a Updated Readme 2023-07-08 16:43:36 +02:00
Francesco Mangiacrapa df70bc732f Update 'README.md' 2023-07-05 23:26:36 +02:00
Francesco Mangiacrapa 1de24c97ab Update 'README.md' 2023-07-05 12:50:38 +02:00
Francesco Mangiacrapa aea8982509 Update 'README.md' 2023-07-05 12:49:03 +02:00
Francesco Mangiacrapa 1ccd0d29d1 Update 'README.md' 2023-06-21 10:23:20 +02:00
Francesco Mangiacrapa 59fb473c17 Update 'README.md' 2023-06-21 10:19:20 +02:00
Francesco Mangiacrapa 17143b7822 Removed -SNAPSHOT to be released. 2023-04-04 12:22:37 +02:00
Francesco Mangiacrapa b881b7ba79 Moved to v6.29.0-SNAPSHOT. Using maven-portal-bom v3.8.0-SNAPSHOT 2023-04-03 17:10:29 +02:00
Francesco Mangiacrapa 0c6228d632 Merge branch 'master' of https://code-repo.d4science.org/gCubeSystem/workspace.git 2023-04-03 16:49:41 +02:00
Francesco Mangiacrapa d5bcd53ed4 New version 6.28.7-SNAPSHOT. Due to #24929 2023-04-03 16:22:15 +02:00
Roberto Cirillo 838c0c4072 restored old pom 2022-09-21 14:14:34 +02:00
Roberto Cirillo 422b78ce93 add toolchain plugin to the pom 2022-09-21 12:19:06 +02:00
9 changed files with 391 additions and 62 deletions

View File

@ -1,7 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry excluding="**" kind="src" output="target/workspace-6.28.6-SNAPSHOT/WEB-INF/classes" path="src/main/resources">
<classpathentry kind="src" output="target/workspace-6.30.0/WEB-INF/classes" path="src/main/java">
<attributes>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" output="target/test-classes" path="src/test/java">
<attributes>
<attribute name="test" value="true"/>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
@ -11,29 +19,21 @@
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8">
<attributes>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="con" path="org.eclipse.m2e.MAVEN2_CLASSPATH_CONTAINER">
<attributes>
<attribute name="maven.pomderived" value="true"/>
<attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/>
</attributes>
</classpathentry>
<classpathentry kind="src" output="target/workspace-6.28.6-SNAPSHOT/WEB-INF/classes" path="src/main/java">
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-1.8">
<attributes>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="src" output="target/test-classes" path="src/test/java">
<classpathentry excluding="**" kind="src" output="target/workspace-6.30.0/WEB-INF/classes" path="src/main/resources">
<attributes>
<attribute name="optional" value="true"/>
<attribute name="maven.pomderived" value="true"/>
<attribute name="test" value="true"/>
</attributes>
</classpathentry>
<classpathentry kind="output" path="target/workspace-6.28.6-SNAPSHOT/WEB-INF/classes"/>
<classpathentry kind="output" path="target/workspace-6.30.0/WEB-INF/classes"/>
</classpath>

View File

@ -1,4 +1,4 @@
eclipse.preferences.version=1
lastWarOutDir=/home/francescomangiacrapa/git/workspace/target/workspace-6.28.6-SNAPSHOT
lastWarOutDir=/home/francescomangiacrapa/git/workspace/target/workspace-6.30.0
warSrcDir=src/main/webapp
warSrcDirIsOutput=false

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?><project-modules id="moduleCoreId" project-version="1.5.0">
@ -49,8 +49,62 @@
<wb-module deploy-name="workspace-6.28.6-SNAPSHOT">
<wb-module deploy-name="workspace-6.30.0">
@ -101,7 +155,34 @@
<wb-resource deploy-path="/" source-path="/target/m2e-wtp/web-resources"/>
@ -152,7 +233,34 @@
<wb-resource deploy-path="/" source-path="/src/main/webapp" tag="defaultRootSource"/>
@ -203,7 +311,7 @@
<wb-resource deploy-path="/WEB-INF/classes" source-path="/target/generated-sources/gwt"/>
@ -231,29 +339,6 @@
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/resources"/>
@ -271,10 +356,53 @@
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/java"/>
<dependent-module archiveName="workspace-tree-widget-6.35.2.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/WorkspaceTree/WorkspaceTree">
<wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/resources"/>
<dependent-module archiveName="ckan-metadata-publisher-widget-2.2.1.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/ckan-metadata-publisher-widget/ckan-metadata-publisher-widget">
<dependency-type>uses</dependency-type>
</dependent-module>
<dependent-module archiveName="uri-resolver-manager-1.8.0-SNAPSHOT.jar" deploy-path="/WEB-INF/lib" handle="module:/resource/uri-resolver-manager/uri-resolver-manager">
<dependency-type>uses</dependency-type>
</dependent-module>
@ -325,7 +453,34 @@
<property name="java-output-path" value="/${module}/target/www/WEB-INF/classes"/>
@ -376,7 +531,34 @@
<property name="context-root" value="workspace"/>
@ -427,7 +609,34 @@
</wb-module>

View File

@ -4,6 +4,16 @@
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).
## [v6.30.0] - 2024-02-20
- Moved to maven parent 1.2.0
- Equipped with the new Catalogue Publishing Widget [#26825]
- Fixed Incident [#26678]
## [v6.29.0] - 2023-04-04
- Just to release the patch #24929 in the 'storagehub-client-wrapper'
## [v6.28.6] - 2022-09-05
- Just to release the fixes #23676, #23789 implemented in the ws-tree
@ -75,31 +85,31 @@ Just to include new SHUB model
[#19952] Fixed incident
## [v6.25.0] [r4.25.0] - 2020-08-25
## [v6.25.0] - 2020-08-25
#### Enhancements
[#19600] revisit the "Get Info" Dialog in a modern view
## [v6.24.1] [r4.24.0] - 2020-06-22
## [v6.24.1] - 2020-06-22
[#19493] Just to include the ckan-util-library patched
## [v6.24.0] [r4.23.0] - 2020-05-18
## [v6.24.0] - 2020-05-18
**New Features**
[#19058] Restore operation: the user has to select the destination folder
## [v6.23.2] [r4.22.0] - 2020-04-21
## [v6.23.2] - 2020-04-21
Just to include the new shub-client released
## [v6.23.1] [r4.21.0] - 2020-03-27
## [v6.23.1] - 2020-03-27
Ported to git/jenkins

View File

@ -1,6 +1,6 @@
# gCube Workspace Portlet
# gCube Workspace
The gCube Workspace Portlet is a web-gui to manage the gCube workspace, a collaborative area where users can exchange and organize information objects (workspace items) according to their specific needs.
The gCube Workspace is a web-system (made from many components) that built a web-gui to manage the Workspace in the D4Science infrastructure. The Workspace is a collaborative area where users can exchange and organize information objects (workspace items) according to their specific needs.
Every user of any Virtual Research Environment is provided with this area for the exchange of workspace objects (share) with other users. Such an area is further organized in workspaces as to resemble a classic folder-based file system.
## Built With
@ -8,6 +8,42 @@ Every user of any Virtual Research Environment is provided with this area for th
* [OpenJDK](https://openjdk.java.net/) - The JDK used
* [Maven](https://maven.apache.org/) - Dependency Management
**Uses**
* GWT v.2.7.0. [GWT](http://www.gwtproject.org) is licensed under [Apache License 2.0](http://www.gwtproject.org/terms.html)
* GWT-Bootstrap v.2.3.2.0. [GWT-Bootstrap](https://github.com/gwtbootstrap) is licensed under [Apache License 2.0](http://www.apache.org/licenses/LICENSE-2.0)
* GXT v2.2.5 is licensed under [GPLv3](https://www.gnu.org/licenses/gpl-3.0.html)
**Related Components**
* [Workpsace Tree Widget](https://code-repo.d4science.org/gCubeSystem/workspace-tree-widget)
* [Workpsace Sharing Widget](https://code-repo.d4science.org/gCubeSystem/workspace-sharing-widget)
* [Task Executor Widget](https://code-repo.d4science.org/gCubeSystem/ws-task-executor-widget)
* [Catalogue Metadata Publisher Widget](https://code-repo.d4science.org/gCubeSystem/ckan-metadata-publisher-widget)
* [StorageHub Client Wrapper](https://code-repo.d4science.org/gCubeSystem/storagehub-client-wrapper)
and others. You can discovery all dependencies via dependency hierarchy (e.g. use [dependency:tree](https://maven.apache.org/plugins/maven-dependency-plugin/tree-mojo.html))
## Showcase
**Workspace Home**
<img src="https://gcube.wiki.gcube-system.org/images_gcube/c/cf/Showcase_Workspace.png" style="max-width:800px;" alt="Workspace Home" />
**Workspace 'Context Menu' facility**
<img src="https://gcube.wiki.gcube-system.org/images_gcube/2/2d/Workspace_Context_Menu.png" style="max-width:800px;" alt="Workspace Context Menu" />
**Workspace 'Get Info' facility**
<img src="https://gcube.wiki.gcube-system.org/images_gcube/2/27/Showcase_Workspace_Get_Info.png" style="max-width:800px;" alt="Workspace Get Info" />
<br />
<img src="https://gcube.wiki.gcube-system.org/images_gcube/8/83/Showcase_Workspace_GetInfo3.png" style="max-width:800px;" alt="Workspace Get Info 3" />
**Workspace 'Get Shareable Link' facility**
<img src="https://gcube.wiki.gcube-system.org/images_gcube/7/72/Showcase_Workspace_GetShareableLink.png" style="max-width:800px;" alt="Workspace Get Shareable Link" />
## Documentation
You can find the Workspace documentation at [Wiki gCube Workpsace](https://wiki.gcube-system.org/workspace)

79
pom.xml
View File

@ -6,14 +6,14 @@
<parent>
<artifactId>maven-parent</artifactId>
<groupId>org.gcube.tools</groupId>
<version>1.1.0</version>
<version>1.2.0</version>
<relativePath />
</parent>
<groupId>org.gcube.portlets.user</groupId>
<artifactId>workspace</artifactId>
<packaging>war</packaging>
<version>6.28.6</version>
<version>6.30.0</version>
<name>gCube Workspace Portlet</name>
<description>
gCube Workspace Portlet is a web-gui to manage the gCube workspace, a collaborative area where users can exchange and organize information objects (workspace items) according to their specific needs.
@ -30,6 +30,8 @@
<webappDirectory>${project.build.directory}/${project.build.finalName}</webappDirectory>
<additionalparam>-Xdoclint:none</additionalparam>
<jackson.version>2.8.11</jackson.version>
<gcube-portal-bom-version>3.7.0</gcube-portal-bom-version>
<gxt2.2.5-gwt2.X-version>2.7.0</gxt2.2.5-gwt2.X-version>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
@ -46,13 +48,41 @@
<dependency>
<groupId>org.gcube.distribution</groupId>
<artifactId>maven-portal-bom</artifactId>
<version>3.6.4</version>
<version>${gcube-portal-bom-version}</version>
<type>pom</type>
<scope>import</scope>
</dependency>
</dependencies>
</dependencyManagement>
<profiles>
<!-- PROD profile -->
<!-- <profile> -->
<!-- <id>workspace-release-profile</id> -->
<!-- <activation> -->
<!-- <property> -->
<!-- <name>Release</name> -->
<!-- </property> -->
<!-- </activation> -->
<!-- <properties> -->
<!-- <gcube-portal-bom-version>3.7.0</gcube-portal-bom-version> -->
<!-- </properties> -->
<!-- </profile> -->
<!-- DEV profile -->
<!-- <profile> -->
<!-- <id>workspace-snapshot-profile</id> -->
<!-- <activation> -->
<!-- <property> -->
<!-- <name>!Release</name> -->
<!-- </property> -->
<!-- </activation> -->
<!-- <properties> -->
<!-- <gcube-portal-bom-version>3.8.0-SNAPSHOT</gcube-portal-bom-version> -->
<!-- </properties> -->
<!-- </profile> -->
</profiles>
<dependencies>
<dependency>
@ -122,6 +152,21 @@
<dependency>
<groupId>org.gcube.contentmanagement</groupId>
<artifactId>storage-manager-wrapper</artifactId>
<!-- Resolving conflict (NoSuchMethodError stax2/ri/EmptyIterator) with
version stax2-api:jar:4.1 see https://support.d4science.org/issues/26825#note-5 -->
<exclusions>
<exclusion>
<groupId>org.codehaus.woodstox</groupId>
<artifactId>stax2-api</artifactId>
</exclusion>
</exclusions>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.projectlombok</groupId>
<artifactId>lombok</artifactId>
<version>1.18.4</version>
<scope>provided</scope>
</dependency>
@ -138,6 +183,7 @@
<artifactId>ic-client</artifactId>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.gcube.core</groupId>
<artifactId>common-scope-maps</artifactId>
@ -180,9 +226,26 @@
<dependency>
<groupId>org.gcube.portal</groupId>
<artifactId>social-networking-library</artifactId>
<artifactId>social-library-stubs</artifactId>
<version>[1.0.0-SNAPSHOT, 2.0.0)</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>org.gcube.social-networking</groupId>
<artifactId>social-service-client</artifactId>
<version>[2.0.0-SNAPSHOT, 3.0.0)</version>
<scope>provided</scope>
<exclusions>
<exclusion>
<groupId>org.gcube.portal</groupId>
<artifactId>social-networking-library</artifactId>
</exclusion>
<exclusion>
<groupId>javax.ws.rs</groupId>
<artifactId>javax.ws.rs-api</artifactId>
</exclusion>
</exclusions>
</dependency>
<dependency>
<groupId>org.gcube.applicationsupportlayer</groupId>
@ -195,6 +258,12 @@
<artifactId>workspace-tree-widget</artifactId>
<version>[6.31.3-SNAPSHOT, 7.0.0-SNAPSHOT)</version>
<scope>compile</scope>
<exclusions>
<exclusion>
<groupId>javax.ws.rs</groupId>
<artifactId>javax.ws.rs-api</artifactId>
</exclusion>
</exclusions>
</dependency>
<!-- User Management Core -->
@ -363,4 +432,4 @@
</plugins>
</build>
</project>
</project>

View File

@ -33,11 +33,12 @@
<inherits
name='org.gcube.portlets.widgets.openlayerbasicwidgets.olbasicwidgets' />
<inherits
name='org.gcube.portlets.widgets.mpformbuilder.MetadataProfileFormBuilder' />
<inherits
name='org.gcube.portlets.widgets.ckandatapublisherwidget.CKanMetadataPublisher' />
<!--<inherits name="org.realityforge.gwt.websockets.WebSockets" />-->
<!--<inherits name="org.realityforge.gwt.websockets.WebSockets" /> -->
<!-- Specify the app entry point class. -->
<entry-point

View File

@ -587,6 +587,9 @@ public class AppController implements SubscriberInterface {
new MessageBoxAlert("Error", caught.getMessage(), null);
wsPortlet.getGridGroupContainer().unmask();
//Reload the tree and select the root. Fixing Incident [#26678]
AppControllerExplorer.getEventBus().fireEvent(new LoadTreeEvent(true));
}

1
src/test/.gitignore vendored Normal file
View File

@ -0,0 +1 @@
/resources/