Commit Graph

44 Commits

Author SHA1 Message Date
Costantino Perciante 418d7cb11a Fixed redirection after product creation
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@129632 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-29 10:39:27 +00:00
Costantino Perciante d1c9c4e133 added check in session expired
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@129604 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-28 18:27:04 +00:00
Costantino Perciante 55331b3067 Fixed license list sorting
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@129490 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-28 10:05:23 +00:00
Costantino Perciante 5ab2406ab2 List of licenses, list of user's organizations and list of profiles is now saved into asl session to speed up the retrieval
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@129489 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-28 09:52:04 +00:00
Costantino Perciante ce63c31343 licenses are now shown in sorted order and cc-by has been chosen as the default one
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@129470 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-27 10:36:45 +00:00
Costantino Perciante 18deeed31a scope retrieved from asl and no longer from scopeprovider
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@129468 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-27 10:14:05 +00:00
Costantino Perciante a96155863b fixed ckanutils creation
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@129463 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-27 09:55:06 +00:00
Costantino Perciante 7099328d5f Fixed invalid scope bug when creating the ckanutils library
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@129453 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-27 09:12:15 +00:00
Costantino Perciante a161becebb Changed the dataset word to product almost everywhere
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@129445 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-26 20:11:41 +00:00
Costantino Perciante 452a24f8c7 minor fixes
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@129290 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-22 14:27:55 +00:00
Costantino Perciante 86deeb8ec7 Added check for tags and information for them
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@129239 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-21 16:38:38 +00:00
Costantino Perciante 60e0d25507 goDataset changed to path in order to redirect the user to the just created dataset
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@129236 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-21 16:15:02 +00:00
Costantino Perciante 3f9490f75b update for liferay 6.2.5
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@129197 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-21 12:36:49 +00:00
Costantino Perciante cba1145ac1 git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@129179 82a268e6-3cf1-43bd-a215-b396298e98cf 2016-06-20 10:50:46 +00:00
Costantino Perciante 914a3d440e minor fix
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@129178 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-20 10:50:19 +00:00
Costantino Perciante 651efee64a Encoder class removed (url will have get parameter in clear)
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@129176 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-20 10:40:46 +00:00
Costantino Perciante 4146f6ef77 Minor fixes
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@129171 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-20 10:15:48 +00:00
Costantino Perciante 314ed2ab76 log added
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@129168 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-20 08:30:56 +00:00
Costantino Perciante 94dc457aa3 minor fix
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@129160 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-18 12:01:48 +00:00
Costantino Perciante 445d2d364a The list of organizations in which a sysadmin can publish has every ckan organization
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@129156 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-18 08:13:37 +00:00
Costantino Perciante 96147b6e65 Added filter in order to fetch organizations in which the user can publish
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@129153 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-17 20:43:57 +00:00
Costantino Perciante 7613502aaa The token is now stored into the session as long as it is alive.
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@129148 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-16 16:09:54 +00:00
Costantino Perciante 9086cf43c1 minor fixes
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@129112 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-14 10:48:30 +00:00
Costantino Perciante e248cf0685 minor fix
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@129109 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-14 10:36:50 +00:00
Costantino Perciante 053daea14a Almost all logic for dataset creation as well as resource creation/deletion has been moved into the ckan-util-library
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@129108 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-14 10:35:10 +00:00
Costantino Perciante 0ded532dde Fix on create dataset button freeze
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@129101 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-13 16:29:57 +00:00
Costantino Perciante aaae6ab5c3 Changed query parameter when redirecting to the created dataset
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@129099 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-13 16:21:15 +00:00
Costantino Perciante 6aed0c0ffe css fix
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@129098 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-13 16:08:13 +00:00
Costantino Perciante 90e9c33dd3 Added code to reload the same page after dataset creation
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@129097 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-13 15:40:19 +00:00
Costantino Perciante d24bf215e3 Minor changes
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@129092 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-13 14:30:14 +00:00
Costantino Perciante e80da80e69 Minor fixes
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@129078 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-13 10:29:50 +00:00
Costantino Perciante ec90991661 Moved back to an old user-management version
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@129071 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-13 09:02:53 +00:00
Costantino Perciante 549267ab1c Fix for username (ckan uses name_surname format whereas liferay name.surname)
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@129067 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-10 16:06:31 +00:00
Costantino Perciante 6cd048cba6 Visibility can now be set. Tags can only contain alpha numerical chars
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@129063 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-10 15:16:42 +00:00
Costantino Perciante 9a95392ea1 fix for name translation
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@129062 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-10 14:59:55 +00:00
Costantino Perciante 51c3fb40b1 Minor fixes
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@129050 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-10 10:30:54 +00:00
Costantino Perciante f5dfd39e20 Dataset creation is divided into three steps now (in the case in which the request doesn't come from the workspace)
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@129049 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-10 10:10:18 +00:00
Costantino Perciante ef81439445 The widget is almost finished. Profile information are also shown now.
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@129045 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-09 16:58:19 +00:00
Costantino Perciante 1a2cf0db7b Start adding support for Metadata formats
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@129020 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-08 16:31:54 +00:00
Costantino Perciante 60ecb288d6 Started supporting resource creation by form
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@129011 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-07 15:50:33 +00:00
Costantino Perciante acd1343032 Moved utility methods into the library
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@128996 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-06 16:14:26 +00:00
Costantino Perciante 1e95f70f5f The widget can be also called from outside the workspace now
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@128994 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-06-06 15:24:52 +00:00
Costantino Perciante 66fd421732 Form for dataset metadata creation is almost complete and working. Custom fields must be checked
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@128890 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-05-27 17:08:03 +00:00
Costantino Perciante eadc1b4e8f Project import
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@128866 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-05-26 16:12:53 +00:00