Commit Graph

110 Commits

Author SHA1 Message Date
Francesco Mangiacrapa 2855d07340 Merged with branch version task/19559 2020-07-03 17:15:11 +02:00
Francesco Mangiacrapa 4ad00d7340 Added feature Upload to Zenodo 2020-01-21 17:12:29 +01:00
Francesco Mangiacrapa 7e64f191c3 Working on integration of Publisher on Zenodo 2019-12-09 17:19:42 +01:00
Francesco Mangiacrapa 5a4cdab8d6 Fixing Bug #18212 2019-12-05 14:26:23 +01:00
Francesco Mangiacrapa 750f907c0f removed "LOADING ********* FROM "+VIEW_JSP
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@181397 82a268e6-3cf1-43bd-a215-b396298e98cf
2019-08-01 12:19:50 +00:00
Francesco Mangiacrapa d762ae0da1 just added a patch code to run the catlaogue portlet by Eclipse
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@179744 82a268e6-3cf1-43bd-a215-b396298e98cf
2019-06-10 08:31:43 +00:00
Francesco Mangiacrapa ec01c921a2 Completed Task #12286: Align portlet container labels to the new CKAN mapping
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@171248 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-08-30 15:35:45 +00:00
Costantino Perciante 751a33413d minor fix while parsing user current url
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@164595 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-02-27 13:32:40 +00:00
Costantino Perciante caee8604e9 minor dependency fix
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@164566 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-02-23 15:19:07 +00:00
Costantino Perciante 082a8d21fa ignore url parameters
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@164532 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-02-22 15:15:15 +00:00
Costantino Perciante 0ec0aee49f added automatic check of Item Catalogue resource. it is needed for writing posts
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@164530 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-02-22 15:08:22 +00:00
Costantino Perciante f9710ffbb5 minor fixes
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@163124 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-02-09 14:39:52 +00:00
Costantino Perciante 53eb63ead6 avoid checks for vre different than the current one if there is no need (i.e. view per vre is enabled)
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@162996 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-02-06 17:33:00 +00:00
Costantino Perciante 2a325c457d view per vre doesn't follow the context written into the the resource DataCatalogueUrlToContext map. It is directly read from the current context
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@162019 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-01-09 15:02:36 +00:00
Costantino Perciante 533f73b836 give high priority to path if it is already set when the user lands on the catalogue
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@159006 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-12-01 17:06:25 +00:00
Costantino Perciante 83eacef2df management buttons set to hidden when view is set per vre
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@158866 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-11-28 13:41:53 +00:00
Costantino Perciante 05e287c17e removed handler for logout - added view per vre
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@158855 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-11-28 11:53:16 +00:00
Costantino Perciante d317dcf8fe fix for query parameters when no user is logged in (portlet outside portal)
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@157538 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-10-24 17:21:29 +00:00
Costantino Perciante 3872211b58 updates due to changes for ticket 7933 into the widget and metadata profile discovery
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@147225 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-04-27 14:45:15 +00:00
Costantino Perciante f176194088 moved checks for items' manage facility in the grsf-widget
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@142659 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-02-16 17:36:09 +00:00
Costantino Perciante 613228b4af When switching among tabs the ckan-connector is no longer invoked since it is useless.
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@142586 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-02-15 17:49:48 +00:00
Costantino Perciante ca58bc998e avoid calling ckan logout if the portlet is accessed from outside
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@142212 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-02-03 17:24:11 +00:00
Francesco Mangiacrapa 738f4f4435 git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@142208 82a268e6-3cf1-43bd-a215-b396298e98cf 2017-02-03 17:06:49 +00:00
Costantino Perciante c9aada8099 minor fix on role retrieval
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@142015 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-02-01 17:11:54 +00:00
Costantino Perciante 7080f55c9e getGroups and getOrganizations now use the newest and fastest ckan-utility-lib's methods which directly query the database
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@141852 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-01-27 10:27:40 +00:00
Costantino Perciante 7a05901a47 GRSF management facility has been moved into a dedicated widget. At most one organization plus a role is sent to the ckan connector. The others, if any, will be managed by the portlet/widget itself.
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@141844 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-01-26 17:47:46 +00:00
Costantino Perciante c793a06e5b added code to speed up connection on ckan, but it is still slow sometimes (vres and role of the user in that vres are sent)
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@141795 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-01-25 17:30:53 +00:00
Costantino Perciante 7053c761b5 missing imports readded
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@141470 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-01-04 17:46:18 +00:00
Costantino Perciante 620e8670a6 added debug line to check GRSF-Admin role status
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@141439 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-01-02 10:00:17 +00:00
Costantino Perciante 72dffe303b added some more logs. Log is now the Liferay one
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@141406 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-12-26 22:12:33 +00:00
Costantino Perciante e49f7436e4 added GRSF Admin role to let user manage grsf records (the manage product property needs to be enabled on its own)
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@141405 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-12-26 21:17:09 +00:00
Costantino Perciante 7ccca68c9c minor comment fix
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@139994 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-12-13 16:46:40 +00:00
Costantino Perciante a1874a714e Notification of GRSF update is now performed in one shot to avoid problems. The patch operation is performed at most 5 times in case of errors.
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@139872 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-12-10 09:52:38 +00:00
Costantino Perciante a124da9f3c minor fixes for GRSF manage form
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@139842 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-12-09 10:40:56 +00:00
Costantino Perciante 81399652d3 minor fixes
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@139819 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-12-08 18:29:52 +00:00
Costantino Perciante 049520f402 improved manage product facility (added enum for status, thread for patching the resource in the catalogue once it has been changed into the knowledge base)
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@139808 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-12-07 17:40:27 +00:00
Costantino Perciante 79229daa5e minor fixes: when a product change status also its current groups and tags need to be updated
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@135117 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-30 14:18:51 +00:00
Costantino Perciante 001789ded1 Minor fixes
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@135098 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-30 10:17:30 +00:00
Costantino Perciante b843a2b551 minor fixes and patch product thread class to implement
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@135074 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-29 17:42:27 +00:00
Costantino Perciante 20193083df Added code to supprt GRSF product editing. It needs to be tested
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@135054 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-29 16:20:50 +00:00
Costantino Perciante 70a07ac0c7 moved to version 1.2.0 due to several changes. Removed asl session too
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@134752 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-25 09:37:56 +00:00
Costantino Perciante d7d3e2fc08 groups tab modified to be equal to the organization one (a list of groups' titles and roles)
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@134415 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-21 09:12:24 +00:00
Costantino Perciante d0a912b954 started implementing the groups panel. Added a loading icon on the organizations page, while waiting for the list to be returned
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@134404 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-20 21:33:51 +00:00
Costantino Perciante 99db1074b2 put in session groups of the user
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@134319 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-17 13:31:01 +00:00
Costantino Perciante f4eea2427a minor fixes
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@134316 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-17 13:17:29 +00:00
Costantino Perciante 846f5209f2 minor fixes
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@134104 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-11 18:18:02 +00:00
Francesco Mangiacrapa 3cd1cf0d52 TASK #5615 completed
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@133899 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-04 12:01:35 +00:00
Costantino Perciante 902df89242 minor changes due to modified underneath widget and library
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@131995 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-09-28 14:44:27 +00:00
Costantino Perciante f27fda3d63 Specified the role the user has for each organization
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@131933 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-09-27 16:38:33 +00:00
Costantino Perciante 3c0f371ef2 removed rpc call to check who's the current user
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@131734 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-09-23 10:41:40 +00:00