Commit Graph

368 Commits

Author SHA1 Message Date
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 1919d3f2c3 pom.xml and distro updated for release 4.2.1
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@142081 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-02-02 13:32:22 +00:00
Costantino Perciante c9aada8099 minor fix on role retrieval
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@142015 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-02-01 17:11:54 +00:00
Costantino Perciante 911a1b976f added check on organization existence
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@141886 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-01-28 15:51:28 +00:00
Costantino Perciante 7080f55c9e getGroups and getOrganizations now use the newest and fastest ckan-utility-lib's methods which directly query the database
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@141852 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-01-27 10:27:40 +00:00
Costantino Perciante 3427b10f81 minor fixes when retrieving roles and setting them
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@141849 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-01-27 08:35:57 +00:00
Costantino Perciante 872d3852cb gcoreendpoint now implements serializable. Associaiton thread starts only if there are organizations to manage
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@141848 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-01-26 18:29:51 +00:00
Costantino Perciante b3e282c684 minor fixes for grsf-manage widget support
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@141847 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-01-26 18:22:00 +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 7053c761b5 missing imports readded
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@141470 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-01-04 17:46:18 +00:00
Costantino Perciante 620e8670a6 added debug line to check GRSF-Admin role status
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@141439 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-01-02 10:00:17 +00:00
Costantino Perciante 72dffe303b added some more logs. Log is now the Liferay one
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@141406 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-12-26 22:12:33 +00:00
Costantino Perciante e49f7436e4 added GRSF Admin role to let user manage grsf records (the manage product property needs to be enabled on its own)
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@141405 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-12-26 21:17:09 +00:00
Costantino Perciante 7ccca68c9c minor comment fix
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@139994 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-12-13 16:46:40 +00:00
Costantino Perciante 0b91461c62 removed useless imports
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@139985 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-12-13 14:45:27 +00:00
Costantino Perciante 2c9d8935e7 minor fix :changed order of buttons in the main panel
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@139927 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-12-12 16:08:03 +00:00
Costantino Perciante a3c3dd2070 added patch for #6171 (sobigdata). Added more tabs to the portlet to let user perform catalogue navigation more easily
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@139913 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-12-12 13:49:42 +00:00
Costantino Perciante ca4f796b72 annotation key was missed
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@139889 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-12-10 12:33:47 +00:00
Costantino Perciante 81174435c0 minor fix: newTag was not added
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@139886 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-12-10 11:58:31 +00:00
Costantino Perciante 546b0eb582 minor fix for grsf updater service
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@139880 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-12-10 10:54:25 +00:00
Costantino Perciante d585e1bef6 minor fixes
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@139873 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-12-10 09:55:30 +00:00
Costantino Perciante a1874a714e Notification of GRSF update is now performed in one shot to avoid problems. The patch operation is performed at most 5 times in case of errors.
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@139872 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-12-10 09:52:38 +00:00
Costantino Perciante 8e31ba287b minor fix: new status group is now added correctly
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@139868 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-12-09 21:14:04 +00:00
Costantino Perciante f0527298af minor fixes for grsf-update feature. There is one bug left: the annotation message is overridden and not appended
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@139867 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-12-09 19:09:27 +00:00
Costantino Perciante 1b8d716148 style fix for footer in group/organization panels
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@139856 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-12-09 15:11:36 +00:00
Costantino Perciante a124da9f3c minor fixes for GRSF manage form
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@139842 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-12-09 10:40:56 +00:00
Costantino Perciante 933bd6fde3 error message on failed update changed
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@139820 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-12-08 18:33:01 +00:00
Costantino Perciante 81399652d3 minor fixes
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@139819 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-12-08 18:29:52 +00:00
Costantino Perciante 049520f402 improved manage product facility (added enum for status, thread for patching the resource in the catalogue once it has been changed into the knowledge base)
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@139808 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-12-07 17:40:27 +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 eeb2bb2f8f minor fixes
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@135118 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-30 14:25:09 +00:00
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 28f55bad95 minor changelog fix
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@134418 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-21 09:23:51 +00:00
Costantino Perciante 1fa10c4d16 moved to version 1.1.1, changelog.xml updated
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/user/gcube-ckan-datacatalog@134417 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-21 09:21:17 +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