Commit Graph

107 Commits

Author SHA1 Message Date
Francesco Mangiacrapa d1ced8f867 Working on [Feature #13074] integration with 'openlayer-basic-widgets'
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@177243 82a268e6-3cf1-43bd-a215-b396298e98cf
2019-02-22 14:15:25 +00:00
Francesco Mangiacrapa ea24c207dc fixing the [Incident #12563] Error when trying to publish the content of a workspace folder into the catalogue</Change>
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@171733 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-09-28 08:26:22 +00:00
Costantino Perciante 232be5c370 minor fix
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@164563 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-02-23 14:23:33 +00:00
Costantino Perciante 60d3b61185 minor fix for support of #11139
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@163125 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-02-09 14:40:21 +00:00
Costantino Perciante 52f93bdcd2 minor fix due to DataCatalogue interface update
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@163100 82a268e6-3cf1-43bd-a215-b396298e98cf
2018-02-09 09:55:44 +00:00
Costantino Perciante f73277c929 minor fixes
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@147224 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-04-27 14:24:21 +00:00
Costantino Perciante 755191ad50 added code to retrieve the tag or group value from a field if it has to be used that way as well
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@147133 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-04-25 16:11:13 +00:00
Costantino Perciante b13612460a fixed checkIfDatasetExists (validation is performed by taking into account the user's selected organization)
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@147132 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-04-25 14:14:59 +00:00
Costantino Perciante acd37a3f80 Started working on improving widget with new metadata model (v.3), related ticket is 7933
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@147128 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-04-25 13:41:27 +00:00
Costantino Perciante f098932e6a fixed error thrown on create item
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@146956 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-04-19 12:39:59 +00:00
Costantino Perciante 521901629f system:type property is now added automatically. Fixed discovery tags vocabulary class
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@146619 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-04-06 12:42:00 +00:00
Costantino Perciante 7d5e7a4978 added temporary code for vocabulary of tags
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@146590 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-04-05 16:42:07 +00:00
Costantino Perciante e735426d24 minor changes
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@144751 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-03-08 15:36:06 +00:00
Costantino Perciante e666ee4366 minor fix for twin columns widget
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@144202 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-02-23 15:25:12 +00:00
Costantino Perciante f7d30e099a added support for ticket #7207
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@144145 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-02-22 16:40:16 +00:00
Costantino Perciante e68b6442e5 changed Product to Item term. pom.xml version incremented
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@142579 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-02-15 16:10:22 +00:00
Costantino Perciante 563387cfae catalog url is generated unencrypted
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@142027 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-02-01 17:30:10 +00:00
Costantino Perciante a7a1a9b637 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/widgets/ckan-metadata-publisher-widget@141851 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-01-27 10:27:18 +00:00
Costantino Perciante 19f7f71e02 moved back to gcore endpoint for social facilities. Some minor fixes on groups/orgs retrieval
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@141846 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-01-26 18:00:55 +00:00
Costantino Perciante 2b1cedf78a Check of permissions is now performed in the widget when needed. Changed some code to reflect changes in the ckan-util-library
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@141792 82a268e6-3cf1-43bd-a215-b396298e98cf
2017-01-25 17:29:47 +00:00
Costantino Perciante 77bb40e003 moved to Liferay logging system
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@141407 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-12-26 22:15:29 +00:00
Costantino Perciante f75a291489 getOrgName fixed: now it retrieves the groups per scope
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@141391 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-12-22 22:53:30 +00:00
Costantino Perciante 7ea5014870 Product url custom field is automatically added after publication of the product itself
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@139881 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-12-10 10:58:41 +00:00
Costantino Perciante f7da157540 duplicated custom fields (i.e., with same keys) are now supported
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@139745 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-12-07 09:58:11 +00:00
Costantino Perciante 9699fd9fcc the code for generating the url has been moved into the ckan catalogue lib
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@139734 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-12-06 18:09:02 +00:00
Costantino Perciante 430c5f36ff removed asl session
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@134751 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-25 09:32:50 +00:00
Costantino Perciante aa347fe109 added dataset url into the email for the group administrators
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@134320 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-17 13:39:00 +00:00
Costantino Perciante 9e1c853f33 added check to retrieve groups already stored by the portlet
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@134318 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-17 13:29:58 +00:00
Costantino Perciante cf300cf7e3 a message is now sent to group administrators when a product is added to their groups
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@134315 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-17 13:08:22 +00:00
Costantino Perciante cb02953847 minor fixes
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@134215 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-16 09:25:35 +00:00
Costantino Perciante 1cfb02adb8 minor fixes
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@134161 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-15 09:40:13 +00:00
Costantino Perciante a40e25a3c4 groups association is now supported by the widget
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@134148 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-14 17:37:45 +00:00
Costantino Perciante 483dd77608 minor fixes
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@134125 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-14 16:07:03 +00:00
Costantino Perciante d23ad12b9e dev user fixed
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@134112 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-13 21:39:23 +00:00
Costantino Perciante f71602cbdd resource manager finished
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@134111 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-13 21:38:27 +00:00
Costantino Perciante 1cf1c8a366 minor fixes
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@134106 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-11 18:31:05 +00:00
Costantino Perciante 78c831b980 The widget with the new file picker is almost finished. Tests will follow
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@134000 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-09 18:13:39 +00:00
Costantino Perciante 41915d6745 Resource picker widget is almost finished
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@133955 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-08 14:17:41 +00:00
Costantino Perciante f00a350156 url encoded at server side
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@133832 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-02 22:10:44 +00:00
Costantino Perciante 1fef1620da minor fixes
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@133797 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-02 10:47:20 +00:00
Costantino Perciante 6c2cae5e1a notifications activated for product catalogue user
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@133784 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-11-02 09:20:56 +00:00
Costantino Perciante efaa3669fe Added code to create a post when a new product is added to the catalogue. Searchable field is set to true when the created dataset is private
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@133744 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-10-28 16:47:40 +00:00
Costantino Perciante a9d2a076a5 removed cleaner thread for .catalogue folder after failed publication. The folder and its content are now renamed and the timestamp is append to these names to avoid conflicts
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@132887 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-10-07 08:44:31 +00:00
Costantino Perciante c3267a79ec added code to remove the folder in the .catalogue area if an error arises and the product is not published
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@132883 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-10-06 19:22:39 +00:00
Costantino Perciante a7c24dc919 added hashmap which stores couple <organization name, scope>
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@132811 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-10-06 12:24:05 +00:00
Costantino Perciante 6017ee35af minor fix: the role the user will have into a group is the one he/she has into the organization in which the product is going to be published
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@132003 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-09-28 16:14:39 +00:00
Costantino Perciante c8df6dea6a Group creation and management are now supported. Moved resources classes onto another package.
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@131994 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-09-28 14:41:55 +00:00
Costantino Perciante baddb2e8cb minor fixes due to change into ckan library
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@131819 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-09-26 16:49:16 +00:00
Costantino Perciante 175d431b33 added check for title and dataset id
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@131778 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-09-26 10:15:05 +00:00
Costantino Perciante 52d3efce0c minor fix when checking roles. Support for copying files in catalogue area almost finished
git-svn-id: http://svn.d4science-ii.research-infrastructures.eu/gcube/trunk/portlets/widgets/ckan-metadata-publisher-widget@131766 82a268e6-3cf1-43bd-a215-b396298e98cf
2016-09-23 16:50:16 +00:00