Commit Graph

58 Commits

Author SHA1 Message Date
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
Francesco Mangiacrapa a3f1b12453 Added toLowerCase
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@129220 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-21 15:23:17 +00:00
Francesco Mangiacrapa 9567a9dbc2 Added code to check if a group is a VRE
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@129219 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-21 15:17:24 +00:00
Francesco Mangiacrapa 08d8210c29 added log
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@129211 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-21 14:14:13 +00:00
Francesco Mangiacrapa 7107ac4892 added code to put list of VREs to ckan-connector
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@129210 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-21 14:12:27 +00:00
Costantino Perciante ad19179018 Fixed import for liferay 6.2.5
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@129196 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-21 09:27:57 +00:00
Francesco Mangiacrapa 53d8d47dfd added web.xml for servlet 3.0
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@129192 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-20 16:44:59 +00:00
Francesco Mangiacrapa a4a8416d0d added comment
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@129188 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-20 15:25:41 +00:00
Francesco Mangiacrapa d47ce041cc uncommented getRole
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@129185 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-20 15:08:46 +00:00
Francesco Mangiacrapa a1f5e29d65 fixed path info redirect
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@129184 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-20 14:05:58 +00:00
Francesco Mangiacrapa 67faf855c2 Added logic to manage pathInfo and query in order to perform redirect to right URI from ckan-connector
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@129181 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-20 13:22:21 +00:00
Francesco Mangiacrapa 2a6eb5065e removed "/"
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@129175 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-20 10:37:19 +00:00
Francesco Mangiacrapa 49e08f2333 Added code and web.xml context parameter in order to hide header from portal
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@129173 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-20 10:36:54 +00:00
Costantino Perciante eb2bb850f7 minor fix
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@129163 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-18 15:01:04 +00:00
Costantino Perciante d706509bd8 minor fix
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@129161 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-18 12:01:58 +00:00
Costantino Perciante 60b93329ec Check first if the user is a ckan sysadmin (in this case he can edit/add without further checks), then if he is a editor/admin or simple member
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@129159 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-18 11:58:31 +00:00
Costantino Perciante 4490c079e5 Minor fixes
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@129158 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-18 08:25:17 +00:00