Commit Graph

57 Commits

Author SHA1 Message Date
Francesco Mangiacrapa 5a4cdab8d6 Fixing Bug #18212 2019-12-05 14:26:23 +01:00
Francesco Mangiacrapa ff0591d494 Bug fix regarding
Task #12286: Align portlet container labels to the new CKAN mapping

git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@171250 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-08-30 15:58:50 +00:00
Francesco Mangiacrapa ec01c921a2 Completed Task #12286: Align portlet container labels to the new CKAN mapping
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@171248 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-08-30 15:35:45 +00:00
Francesco Mangiacrapa 234a64ee00 Working on Task #12286: Align portlet container labels to the new CKAN mapping
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@171245 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-08-30 13:19:49 +00:00
Costantino Perciante 1aa6abb031 fix for #11210
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@164449 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-02-20 14:51:25 +00:00
Costantino Perciante 2b3d7f3cbd added check and event class for reverting GRSF operations
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@162887 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-02-04 11:05:22 +00:00
Costantino Perciante 533f73b836 give high priority to path if it is already set when the user lands on the catalogue
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@159006 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-12-01 17:06:25 +00:00
Costantino Perciante 83eacef2df management buttons set to hidden when view is set per vre
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@158866 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-11-28 13:41:53 +00:00
Costantino Perciante 9d9f548eb3 manage panel hide when user is not admin nor vre manager
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@158045 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-10-31 11:17:44 +00:00
Costantino Perciante 6f9a110038 fixed dom message about explore_vres_landing_page
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@146700 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-04-07 16:43:26 +00:00
Costantino Perciante 5011dbc176 sending message via dom for explore_vres_landing_page
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@146690 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-04-07 14:16:32 +00:00
Costantino Perciante 0d5c92e005 share link widget embedded
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@146521 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-04-03 14:43:36 +00:00
Costantino Perciante 613228b4af When switching among tabs the ckan-connector is no longer invoked since it is useless.
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@142586 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-02-15 17:49:48 +00:00
Costantino Perciante c307f279a6 ckan_hide_header cookie set as session-like cookie: now expires when the browser is closed
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@142446 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-02-10 09:04:03 +00:00
Costantino Perciante a775694e67 moved the cookie setter before iframe's url is set
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@142216 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-02-04 07:50:30 +00:00
Costantino Perciante 5947db3dd8 set cookie to hide banner when no user is logged in
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@142215 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-02-03 21:45:04 +00:00
Costantino Perciante ca58bc998e avoid calling ckan logout if the portlet is accessed from outside
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@142212 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-02-03 17:24:11 +00:00
Francesco Mangiacrapa 0f9425b55f git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@142211 82a268e6-3cf1-43bd-a215-b396298e98cf 2017-02-03 17:12:16 +00:00
Francesco Mangiacrapa 738f4f4435 git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@142208 82a268e6-3cf1-43bd-a215-b396298e98cf 2017-02-03 17:06:49 +00:00
Costantino Perciante 7a05901a47 GRSF management facility has been moved into a dedicated widget. At most one organization plus a role is sent to the ckan connector. The others, if any, will be managed by the portlet/widget itself.
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@141844 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-01-26 17:47:46 +00:00
Costantino Perciante c793a06e5b added code to speed up connection on ckan, but it is still slow sometimes (vres and role of the user in that vres are sent)
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@141795 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-01-25 17:30:53 +00:00
Costantino Perciante 3774df4535 minor fixes. Also fixed the css of the modal to avoid conflicts with the one shown when session expires
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@135122 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-30 15:06:13 +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 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
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 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
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 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 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 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 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 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 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 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 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 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
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 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
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 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