Commit Graph

85 Commits

Author SHA1 Message Date
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
Costantino Perciante 0cccb119ac minor fix due to http session attributes moved into the ckan library
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@131395 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-09-15 14:30:21 +00:00
Costantino Perciante e71ddc9b6c minor fix for session attribute
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@131392 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-09-15 13:59:13 +00:00
Costantino Perciante a625555295 fix due to update ckan library
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@131389 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-09-15 13:50:27 +00:00
Costantino Perciante b109a8b7da Started managing the editor role. Added loading image within iframes and removed when onloading event is fired
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@131357 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-09-14 14:42:46 +00:00
Costantino Perciante 1822ee8c06 Several fixes due to changed ckan utils library
Added support for multiselection in metadata listboxes

git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@131118 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-09-05 16:18:57 +00:00
Costantino Perciante 69fd3467c1 moved to factory ckan utils
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@130934 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-08-02 07:49:24 +00:00
Costantino Perciante a1870c7d04 the ckan connector needs the production root vo name organization as it is on ckan-d4s.d4science.org
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@130686 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-07-22 09:16:50 +00:00
Costantino Perciante 1409810969 minor fix
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@130667 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-07-21 20:23:13 +00:00
Costantino Perciante 36898524ec minor fix for the production root
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@130665 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-07-21 20:17:09 +00:00
Costantino Perciante 854578d2f7 minor fixes to retrieve user's organizations names and titles
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@130608 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-07-20 20:42:39 +00:00
Costantino Perciante 224014aff7 minor fixes and improvements
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@130606 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-07-20 19:29:39 +00:00
Costantino Perciante a788c64667 when the user choose a certain organization the name of the profiles is automatically updated
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@130605 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-07-20 17:14:46 +00:00
Costantino Perciante 82fed8eb45 minor fix
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@130556 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-07-19 15:14:12 +00:00
Francesco Mangiacrapa d593a9c963 Added fix to save Ckan EndPoint and AccessPoint in session
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@130528 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-07-19 10:31:53 +00:00
Francesco Mangiacrapa 1c996a7904 Added code to manage error during read ckan-connenctor runtime resource
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@130473 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-07-18 10:39:45 +00:00
Costantino Perciante 2b9db225fd redirect user to production root catalogue if he is not logged in
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@130109 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-07-07 14:20:44 +00:00
Francesco Mangiacrapa bd30f11a71 Added check to instance portlet outside from portal
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@130099 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-07-07 13:37:04 +00:00
Costantino Perciante e886724721 fixed getCkanUtilsObj() method
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@129875 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-07-04 14:24:53 +00:00
Costantino Perciante 38c73da8e8 fixed getCkanUtilsObj() method
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@129873 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-07-04 14:15:19 +00:00
Costantino Perciante 4c1734bd50 minor fix
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@129847 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-07-04 12:11:43 +00:00
Costantino Perciante 37087d2d4f Ckan information are now stored into http session and are associated to the scope
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@129835 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-07-04 10:44:58 +00:00
Costantino Perciante 86f252b3a3 git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@129811 82a268e6-3cf1-43bd-a215-b396298e98cf 2016-07-02 22:02:34 +00:00
Costantino Perciante c57d8896ee minor fixes
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@129810 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-07-02 22:01:07 +00:00
Costantino Perciante 40b6bb2ad9 the list of licenses, organizations in which the user can publish and product profiles are preloaded and put into session by the ckan portlet
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@129806 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-07-02 21:41:11 +00:00
Costantino Perciante aa1a2868df minor fixes
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@129774 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-07-01 15:01:54 +00:00