Commit Graph

74 Commits

Author SHA1 Message Date
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
Costantino Perciante 5577c0715e editor cannot publish, so he won't see the Publish button
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@130553 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-07-19 14:48:31 +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
Francesco Mangiacrapa e11eb818aa Added onResize set height for iFrame in order to avoid page refresh delay
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@130455 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-07-18 09:42:22 +00:00
Francesco Mangiacrapa cc169e6d6a Added code to read postMessage from CKan template in oder to set iFrame height after page loading
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@130454 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-07-18 09:34:34 +00:00
Francesco Mangiacrapa 420ee338f4 Added set height for iFrame in order to have only internal scroll
Disabled Window scroll

git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@130449 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-07-15 16:19:05 +00:00
Costantino Perciante 60f784cd04 added handler on form close
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@130352 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-07-14 10:17:53 +00:00
Costantino Perciante 0e8851ce75 minor fix
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@130337 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-07-14 08:28:10 +00:00
Costantino Perciante 98cdbaa6ce minor fix
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@130325 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-07-13 16:16:31 +00:00
Costantino Perciante daad41d0e9 portlet displayed name changed
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@130174 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-07-08 13:41:08 +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 63b1d52f31 start polling moved
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@129911 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-07-05 10:57:02 +00:00
Costantino Perciante c31d59d3c5 added widget to check session expired
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@129906 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-07-05 10:13:40 +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 cd7ea087bf minor fix
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@129807 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-07-02 21:51:54 +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
Francesco Mangiacrapa 5ab9489dc3 Added i-frame to perform a ckan disconnet during browser closing
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@129773 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-07-01 14:51:51 +00:00
Costantino Perciante 30231815de Start handling window closing event for ckan logout
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@129765 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-07-01 13:36:20 +00:00
Costantino Perciante f78e01c1e4 Fixed roles check
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@129707 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-30 15:22:37 +00:00
Costantino Perciante 425b890bac backogrund image fixed on my organizations page
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@129671 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-30 09:52:15 +00:00
Costantino Perciante 043fd0430c The portlet now works also outside the portal with no user logged in. Of course, just the home and statistics buttons are shown. In order to make it properly working, the ckan token must be removed from the session when the user logouts from liferay
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@129662 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-29 16:35:01 +00:00
Costantino Perciante b00f2993c4 My Organizations page created
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@129654 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-29 14:50:18 +00:00
Costantino Perciante f5fe2d0b1f Fixed redirection after product creation
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@129633 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-29 10:39:37 +00:00
Francesco Mangiacrapa 27ab6ac956 Added fix to handle path into Get Parameter
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@129611 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-29 09:25:46 +00:00
Francesco Mangiacrapa 5ba5151323 Added test code to perform CKAN logout
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@129498 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-28 10:45:24 +00:00
Francesco Mangiacrapa d7a7922126 Logout from ckan through new servlet
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@129484 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-27 14:58:01 +00:00
Francesco Mangiacrapa 01da3f0a93 Added ckan logut read response
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@129467 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-27 10:06:28 +00:00
Costantino Perciante d04b8adc20 fixed ckanutils creation
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@129464 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-27 09:55:43 +00:00
Costantino Perciante ee5218ad24 edit product disabled because it is not available yet
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@129460 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-27 09:52:19 +00:00
Francesco Mangiacrapa 6bcc6db773 Fixed code on Ckan Logout
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@129456 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-27 09:41:05 +00:00
Francesco Mangiacrapa a3b2acbb2a Added getResponseCode to Ckan logout
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@129455 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-27 09:31:13 +00:00
Costantino Perciante 0ae2fe5236 Fixed invalid scope bug when creating the ckanutils library
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@129452 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-27 09:10:47 +00:00
Francesco Mangiacrapa 5405ca56c1 3751: Create Ckan Data Catalogue Portlet
Task-Url: https://support.d4science.org/issues/3751

Added My Groups Link

git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@129390 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-23 16:30:01 +00:00
Francesco Mangiacrapa 7fe5e298b8 3751: Create Ckan Data Catalogue Portlet
Task-Url: https://support.d4science.org/issues/3751

Added code to perfom logout during browser closing
Updated and fixed CkanConnectorAccessPoint

git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@129352 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-23 12:57:20 +00:00
Francesco Mangiacrapa eb23d0318c Updated functionalities bar in order to avoid browser refresh
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@129341 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-23 10:49:45 +00:00
Costantino Perciante 835def2d71 Start managing the refresh of the iframe content only, without reload the whole page on redirect
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@129323 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-22 16:40:38 +00:00
Costantino Perciante a5237b1c70 Roles (into liferay) changed
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@129312 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-22 15:31:47 +00:00
Costantino Perciante 568d54e0cd Home button added
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@129306 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-22 15:09:57 +00:00
Costantino Perciante c6586b9a47 Fixed retrieve role methods
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@129305 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-22 14:56:16 +00:00
Costantino Perciante 49590c8632 css fix
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@129292 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-22 14:34:16 +00:00
Costantino Perciante d47ec3dfaa Added show statistics, show datasets, show organizations buttons
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@129289 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-22 14:23:51 +00:00