Commit Graph

64 Commits

Author SHA1 Message Date
Luca Frosini 7a434f999a Fixed patch method 2020-12-02 16:57:39 +01:00
Luca Frosini ab0892eaf3 Migrated gCat from Jackson to gCube Jackson 2020-12-01 16:58:36 +01:00
Luca Frosini 2f5b23addf Improved error message 2020-12-01 15:39:06 +01:00
Luca Frosini 8cd17acfe9 fixed typo 2020-12-01 09:57:48 +01:00
Luca Frosini b384c08972 Refactored code which check basic provided information 2020-12-01 09:55:16 +01:00
Luca Frosini 1733b66c05 Implementing patch method 2020-11-30 19:44:15 +01:00
Luca Frosini 861ddc0f4b Fixed recursion 2020-06-23 15:06:27 +02:00
Luca Frosini ae173ccbd4 Adding the user to all supported organization instead of only to the
organization the item is going to be published.
2020-06-23 13:17:58 +02:00
Luca Frosini 7a0dbf48a9 Added check for supported organizations in list/search method 2020-06-22 19:39:29 +02:00
Luca Frosini 1ef0537f0e Fixing feature 2020-06-22 15:51:11 +02:00
Luca Frosini edbf4cd1d0 Fixing the implementation of the feature 2020-06-22 15:39:37 +02:00
Luca Frosini 62bb1d7a50 Added TODO 2020-06-19 18:26:15 +02:00
Luca Frosini d7cbc03f97 Changing the organization behavior to implement the feature. 2020-06-19 17:32:21 +02:00
Luca Frosini cb963dd702 Fixed CHANGELOG 2020-06-19 12:15:19 +02:00
Luca Frosini 85845fb8fc Fixed logger class 2020-05-29 13:04:17 +02:00
Luca Frosini c7ffb6c9ed Removed unneeded line of codes which causes null pointer bug 2020-05-29 13:03:59 +02:00
Luca Frosini a51c7f9312 Social Post is disabled if not explicitly enabled by the client #19295 2020-05-22 15:24:56 +02:00
Luca Frosini 5a382ce556 Fixed bug 2020-02-04 09:45:26 +01:00
Luca Frosini e9e1539e16 Catching situation where the file was not persisted by gcat 2020-02-03 15:50:58 +01:00
Luca Frosini c6f8ffa4fa Skipping file management for files not persisted 2020-01-23 15:04:51 +01:00
Luca Frosini 62a852ca40 Fixed bug on resource update 2020-01-22 17:35:48 +01:00
Luca Frosini b9c6fb995c Catching null object 2019-12-19 16:21:38 +01:00
Luca Frosini cbf7f04655 Added resolver URL check for preprod. 2019-12-19 14:13:44 +01:00
Luca Frosini 78c60541d8 Fixed dev base url 2019-12-19 12:41:38 +01:00
Luca Frosini 2f655c4ff8 Fixed component 2019-12-05 16:32:24 +01:00
Luca Frosini 6580680f6f Fixing code to allow to operate on VO which does not have a
corresponding organization
2019-10-10 14:26:15 +02:00
Luca Frosini c13656d3e3 Fixed javadoc warning 2019-10-04 17:04:50 +02:00
Luca Frosini f96e9e3d41 Fixed allow list for query parameter in list method 2019-10-04 14:42:44 +02:00
Luca Frosini 7322b7d43e Added allowed list of field instead of checking the ones to be rejected
reject
2019-10-04 14:16:34 +02:00
Luca Frosini 78a54707ec Added the possibility to list items by specifying query parameters (used
for direct query on Slr via Ckan package_search API)
2019-10-01 18:00:40 +02:00
Luca Frosini 9779afe1e5 Added organization parameter to allow client to specify the target
organization in item listing (in VO and ROOT) refs #17635
2019-09-27 17:33:10 +02:00
Luca Frosini 56261f96ab Fixed bug which does not allow to create a new cache because the second
had the same name of the first
2019-09-27 17:24:34 +02:00
Luca Frosini f6b97c7b3d Only admin can manage profiles 2019-09-23 11:15:49 +02:00
Luca Frosini d12ed67446 User Cache is per Scope and not per ckan installation. Fixed this issue 2019-09-18 12:58:03 +02:00
Luca Frosini 3f542a763b Fixed HTTP Error 2019-09-18 12:57:30 +02:00
Luca Frosini 8afc2aa2cf Added check for Profile management. Only editor and admin can do that 2019-09-16 15:46:11 +02:00
Luca Frosini 1c64d870f0 User Cache expires avery 15 minutes 2019-09-16 14:55:57 +02:00
Luca Frosini 11cd97e1c7 Formatted code 2019-09-16 14:48:18 +02:00
Luca Frosini 63246f7cce Added user cache 2019-09-16 12:00:49 +02:00
Luca Frosini d59786d415 Removed the dependency from ckan-util-library 2019-09-12 17:58:39 +02:00
Luca Frosini 0ad1df026e Fixing the feature 2019-09-12 16:05:45 +02:00
Luca Frosini 4a7c0f2a70 Code refactored which enable the following functions. For each request
- the requesting user role and email are retrieved via social networking
service and updated on CKAN.
2019-09-12 14:26:24 +02:00
Luca Frosini 635825ebd9 Error message has been moved in a constant 2019-09-09 14:25:27 +02:00
Luca Frosini 8d7e88ff72 Added the possibility to download the XSD which validate the profile
schema
2019-09-09 14:20:09 +02:00
Luca Frosini a7f35422c9 Fixed client error from 400 Bad Request to 405 Method Not Allowed 2019-09-06 16:55:46 +02:00
Luca Frosini a5bdbc6500 Added the capability to get the profile schema in profile collection 2019-09-06 16:38:15 +02:00
Luca Frosini 0986131e1d Merged from release branch
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-publishing/gcat@181278 82a268e6-3cf1-43bd-a215-b396298e98cf
2019-07-22 09:54:05 +00:00
Luca Frosini 8ffe031cf8 Merged from branch of release 4.14.0
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-publishing/gcat@179481 82a268e6-3cf1-43bd-a215-b396298e98cf
2019-05-20 15:23:49 +00:00
Luca Frosini 3627189715 Fixing group and tag generation on Item Validator
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-publishing/gcat@177325 82a268e6-3cf1-43bd-a215-b396298e98cf
2019-02-27 16:36:09 +00:00
Luca Frosini f90b768b39 Fixing group and tag generation on Item Validator
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-publishing/gcat@177319 82a268e6-3cf1-43bd-a215-b396298e98cf
2019-02-27 13:09:44 +00:00