Commit Graph

221 Commits

Author SHA1 Message Date
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 bedbe09eaa annotation is trimmed
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@135106 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-30 10:57:38 +00:00
Costantino Perciante 55907603bb Minor fixes
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@135100 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-30 10:25:40 +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 80a4718f91 footer updated in groups and organizations panels
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@135000 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-28 16:15:29 +00:00
Costantino Perciante 384023ee10 minor fixes
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@134753 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-25 09:38:35 +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
Costantino Perciante 972cb408aa minor fix to get highestRole function
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@133972 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-08 22:10:16 +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 56ed7f78bf Added hide border property in portlet.xml
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@133864 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-03 15:49:01 +00:00
Costantino Perciante 4e6bee32c5 minor fix
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@133842 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-03 09:59:51 +00:00
Costantino Perciante b7c24a86fe query parameters are always decoded on portal rendering
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@133833 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-02 22:19:49 +00:00
Francesco Mangiacrapa 4fa83e2e07 This fix should resolve the logout from CKAN before browser window is closed
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@133739 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-10-28 15:39:06 +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 e2d786340c minor fixes due to updated widget and ckan util library
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@131960 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-09-28 10:30:59 +00:00
Costantino Perciante ab7518009d minor fix for role button
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@131941 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-09-28 07:40:02 +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 229e66c08c minor fix in utils class
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@131765 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-09-23 16:49:04 +00:00
Costantino Perciante d81fa0499f minor fix when checking roles
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@131761 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-09-23 16:42:24 +00:00
Costantino Perciante 228f4b4193 minor fix when logout is performed but session was expired
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@131740 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-09-23 10:53:48 +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 4d14d83409 Fixed ckan logout
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@131566 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-09-21 08:40:42 +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 521ca0bdad removed forced mapping for production root organization
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@131367 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-09-14 16:06:49 +00:00
Costantino Perciante ab767fcc51 minor fix for highestRoleMethod
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@131359 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-09-14 15:11:38 +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 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 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 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
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
Costantino Perciante 7d164c7566 modal height reduced to 500px
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@129157 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-18 08:18:46 +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