Commit Graph

190 Commits

Author SHA1 Message Date
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 6418d1a510 Footer added to My Organizations Page
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@130815 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-07-26 10:39:41 +00:00
Costantino Perciante 69c832d8ef the list of vres is now a list of organizations
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@130699 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-07-22 10:48:52 +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 0ea26bce58 minor fixes
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@130673 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-07-22 07:56:20 +00:00
Costantino Perciante 5e0467a79a ensure that the ckan connector add the user to the organizations first, then call the utility library
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@130672 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-07-22 07:55:35 +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 7a7a33d311 pom fixes
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@130637 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-07-21 12:56:11 +00:00
Costantino Perciante c66b170e7f minor improvement
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@130612 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-07-20 21:59:07 +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
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 15afca7aab Updated README
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@130476 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-07-18 10:45:00 +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 ded7fa39a9 pom fixed
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@130056 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-07-07 09:38:45 +00:00
Costantino Perciante 88816c2a77 fixed pom, changelog and readme file
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@129985 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-07-06 09:34:09 +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