Commit Graph

53 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 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 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 62a852ca40 Fixed bug on resource update 2020-01-22 17:35:48 +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 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 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 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
Luca Frosini efec120695 Merged from branch of release 4.13.1 ref #12988
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-publishing/gcat@177280 82a268e6-3cf1-43bd-a215-b396298e98cf
2019-02-26 13:58:06 +00:00
Luca Frosini 3e13bbbdde Refs #13306: gCat MUST enforce extra field "searchable" in published Items
Task-Url: https://support.d4science.org/issues/13306

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-publishing/gcat@177054 82a268e6-3cf1-43bd-a215-b396298e98cf
2019-02-08 15:49:30 +00:00
Luca Frosini 280a41dbad Refs #13306: gCat MUST enforce extra field "searchable" in published Items
Task-Url: https://support.d4science.org/issues/13306

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-publishing/gcat@177053 82a268e6-3cf1-43bd-a215-b396298e98cf
2019-02-08 14:39:09 +00:00
Luca Frosini d1a7a9c16b Refs #13306: gCat MUST enforce extra field "searchable" in published Items
Task-Url: https://support.d4science.org/issues/13306

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-publishing/gcat@177052 82a268e6-3cf1-43bd-a215-b396298e98cf
2019-02-08 14:31:29 +00:00
Luca Frosini e1de49f00f Refs #13307: Item List must use package_search in place of package_list
Task-Url: https://support.d4science.org/issues/13307

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-publishing/gcat@177051 82a268e6-3cf1-43bd-a215-b396298e98cf
2019-02-08 14:17:09 +00:00
Luca Frosini 8f27af53e0 Refs #13307: Item List must use package_search in place of package_list
Task-Url: https://support.d4science.org/issues/13307

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-publishing/gcat@177049 82a268e6-3cf1-43bd-a215-b396298e98cf
2019-02-08 13:40:57 +00:00
Luca Frosini 5066cae1ee Refs #13307: Item List must use package_search in place of package_list
Task-Url: https://support.d4science.org/issues/13307

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-publishing/gcat@177045 82a268e6-3cf1-43bd-a215-b396298e98cf
2019-02-08 11:25:19 +00:00
Luca Frosini 6f2e32337f Refs #13306: gCat MUST enforce extra field "searchable" in published Items
Task-Url: https://support.d4science.org/issues/13306

git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-publishing/gcat@177044 82a268e6-3cf1-43bd-a215-b396298e98cf
2019-02-08 11:04:20 +00:00
Luca Frosini e1e7a413ba Merged from branch of release 4.13.0
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-publishing/gcat@177043 82a268e6-3cf1-43bd-a215-b396298e98cf
2019-02-08 10:10:59 +00:00
Luca Frosini b6891d4d89 Using gcat-api refs #13216
git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-publishing/gcat@176866 82a268e6-3cf1-43bd-a215-b396298e98cf
2019-01-29 16:46:22 +00:00