Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

backport 7808 to 4.2.x #7813

Closed
wants to merge 262 commits into from
Closed

backport 7808 to 4.2.x #7813

wants to merge 262 commits into from

Conversation

juanluisrp
Copy link
Contributor

josegar74 and others added 30 commits August 16, 2023 11:40
* WMS time dimension - basic support for time intervals

* WMS time dimension - basic support for time intervals. Code refactor
If we cannot find publishedAfter then default to publishedBefore so that no emails are sent.
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 3.10.0 to 3.12.0.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](actions/setup-java@v3.10.0...v3.12.0)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…opies when the workflow is enabled (#7269)

* Metadata index set of records - index the approved and working copies when the workflow is enabled

* Fix overview indexing for metadata approved with working copy

* Fix categories  indexing for metadata approved with  working copy
Try to improve memory usage when downloading attachments. In some cases, records with many thumbnails looks to have difficulties to be printed to PDF.

Co-authored-by: Juan Luis Rodríguez Ponce <juanluisrp@geocat.net>
* Use resource files for messages

* Fix to use public method to get locale
The breaking of links in a word is turned around, it's not for all links anymore but the break now has to be added to the exception in order to avoid side effects on the majority of links
Declare dutch language field for organisation to be able to create facet on this field.

It may help fixing #7252
Do not switch encoding of protocol if mimetype is empty.
Preserve CharacterString if no mimetype.
…lue. (#7232)

* Metadata editor / recommended values for fields show an empty value. Fixes #7231

* Metadata editor / recommended values for fields show an empty value - fix radio mode

* Metadata editor / recommended values for fields - fix selected value in radio mode
* Moved png away from main page.

* Typos

* Lowercase method name

* Typo 'registerd'

* Typos
geonetworkbuild and others added 28 commits February 9, 2024 09:15
* Separate docs for _search and _msearch

Updated summary and description to differentiate these two end points.

* remove mention of q query parameter

---------

Co-authored-by: Jody Garnett <jody.garnett@gmail.com>
… samples (#7732)

* Documentation / Elasticsearch query endpoint - query samples

* Add step by step instructions for running eamples

* Update docs/manual/docs/api/search.md

Co-authored-by: François Prunayre <fx.prunayre@gmail.com>

* Update docs/manual/docs/api/search.md

Co-authored-by: François Prunayre <fx.prunayre@gmail.com>

* Update docs/manual/docs/api/search.md

Co-authored-by: François Prunayre <fx.prunayre@gmail.com>

---------

Co-authored-by: Jose García <josegar74@gmail.com>
Co-authored-by: Jody Garnett <jody.garnett@gmail.com>
Co-authored-by: François Prunayre <fx.prunayre@gmail.com>
Co-authored-by: Francois Prunayre <fx.prunayre@gmail.com>
…ges to the users in the same group (#7744)

* Create a metadata / Add dynamic and download privileges to the users in the same group

* Update core/src/main/java/org/fao/geonet/kernel/datamanager/base/BaseMetadataOperations.java

Co-authored-by: Ian <ianwallen@hotmail.com>

---------

Co-authored-by: Jose García <josegar74@gmail.com>
Co-authored-by: Ian <ianwallen@hotmail.com>
Signed-off-by: Jody Garnett <jody.garnett@gmail.com>
Signed-off-by: Jody Garnett <jody.garnett@gmail.com>
Co-authored-by: Jose García <josegar74@gmail.com>
Remove handlebars.js and use loadsh template instead already included in GN.
* Fix ISO19139 German labels

Backport #7761.
---------

Co-authored-by: Jose García <josegar74@gmail.com>
Co-authored-by: Juan Luis Rodríguez Ponce <juanluisrp@gmail.com>
* Fix HTML syntax in users.html. Fix extra quote and remove form-control class from checkbox.
* Fix alignment of checkbox

Backport #7764.

Co-authored-by: Juan Luis Rodríguez <juanluisrp@gmail.com>
…XML in order to fix duplicate operation Id

- By having multiple @RequestMapping was causing to create operation id as getRecordAs and getRecordAs_1

Fixed @ApiResponse so that it returns a resource.
And fixed getRecord response for 403 and 404 so that it is only text mime types as it does not make sense to return a zip file on 403 errors.
… and missing /subportal endpoint (#7780)

* Fix duplicate GET operation on /{portal}/api/sources
Add missing /subportal endpoint.

* Update services/src/main/java/org/fao/geonet/api/sources/SourcesApi.java

Change endpoint to avoid conflict

* Merge getSubPortals into getSources so that there is only one GET api for the operation.
This fixes the bug with 2 GET operation on /{portal}/api/sources

---------

Co-authored-by: Ian Allen <ianwallen@hotmail.com>
Without this fix springdoc would randomly pick between 2 conflicting schemas and this could produce incorrect results in the open api spec.

Co-authored-by: Ian Allen <ianwallen@hotmail.com>
… in open api spec (#7783)

The reason the response was missing was because MetadataStatusResponse was extending MetadataStatus which contains a bunch of objects that caused issues with spring docs.
This fix removes the extends and moves the required fields into MetadataStatusResponse

Co-authored-by: Ian Allen <ianwallen@hotmail.com>
… not supported by openAPI specification (#7785)

Backport #7572

* Removed @RequestHeader for "Accept" headers as it is not supported by openAPI specification.

From the following
    https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.2.md#fixed-fields-10
    If in is "header" and the name field is "Accept", "Content-Type" or "Authorization", the parameter definition SHALL be ignored.

* Update services/src/main/java/org/fao/geonet/api/registries/vocabularies/KeywordsApi.java

Co-authored-by: Jose García <josegar74@gmail.com>
…7787)

* Replace the 'unlock' icon with the 'lock open' icon which is clearer. This new icon has more visual differences with the lock icon and it's therefore easier for a user to see the difference.

* Update the `set privileges` popup with the new icon

---------

Co-authored-by: Michel Gabriel <michel.gabriel@geocat.net>
Backport #7778.
Co-authored-by: Jose García <josegar74@gmail.com>
Backport #7789.

Co-authored-by: Jose García <josegar74@gmail.com>
… feature (#7796)

* Decouple metadata user feedback from metadata rating feature

* Update web/src/main/webapp/WEB-INF/classes/setup/sql/data/data-db-default.sql
…ic page, this page doesn't include JS libs (#7797)

Co-authored-by: Jose García <josegar74@gmail.com>
Backport of #7808.
Bumps [actions/setup-java](https://github.com/actions/setup-java) from 4.0.0 to 4.1.0.
- [Release notes](https://github.com/actions/setup-java/releases)
- [Commits](actions/setup-java@v4.0.0...v4.1.0)

---
updated-dependencies:
- dependency-name: actions/setup-java
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
@juanluisrp juanluisrp closed this Feb 29, 2024
@juanluisrp juanluisrp deleted the backport-7808-to-4.2.x branch February 29, 2024 09:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet