Commit Graph

142 Commits

Author SHA1 Message Date
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 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 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 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 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
Costantino Perciante 3e00bc4a7a role check fixed
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@129149 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-16 16:10:50 +00:00
Costantino Perciante ec3402799f minor fix
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@129123 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-14 15:52:00 +00:00
Costantino Perciante 173d46f710 Partially implemented the role check method to retrieve the user permissions
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@129121 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-14 15:42:59 +00:00
Costantino Perciante ca18c10e23 Minor fixes
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@129115 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-14 11:02:40 +00:00
Costantino Perciante 9279a3c19f Added jquery files
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@129095 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-13 15:21:12 +00:00
Costantino Perciante cfe72fe3e1 Embedded ckan-metadata widget and ignored target directory
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@129079 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-13 10:54:15 +00:00
Francesco Mangiacrapa d7a9786971 moved from private svn
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@129070 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-13 07:48:29 +00:00