Skip to content

main#4

Open
bradbrowne wants to merge 3795 commits into
mapdojo:masterfrom
geonetwork:main
Open

main#4
bradbrowne wants to merge 3795 commits into
mapdojo:masterfrom
geonetwork:main

Conversation

@bradbrowne
Copy link
Copy Markdown

No description provided.

jodygarnett and others added 30 commits June 23, 2025 18:03
* Static pages / add support for mail links

* Static pages / update documentation page

* Update common/src/main/java/org/fao/geonet/utils/EmailUtil.java

Co-authored-by: Juan Luis Rodríguez Ponce <juanluisrp@gmail.com>

* Update common/src/test/java/org/fao/geonet/utils/EmailUtilTest.java

Co-authored-by: Juan Luis Rodríguez Ponce <juanluisrp@gmail.com>

* Update common/src/test/java/org/fao/geonet/utils/EmailUtilTest.java

---------

Co-authored-by: Juan Luis Rodríguez Ponce <juanluisrp@gmail.com>
* Fix content type returned in resized attachmetns

If the attachment is a image and it's resized it is always converted to PNG. Send the `image/png` content type header and change the file name to .png extension.
It also add the Content-Length header to the response.

Fixes #8558.

* Use constants for the Respose headers names
* add session filter for oidc

* add more steps to clean up authentication and logout request in filter
…o add new elements, when the tooltips mode is icon (#8664)
- Data services doesn't have distributions
* Header / Portal / Hide logo if not set

Avoid to display a broken image if portal logo is not defined.

* Admin / Portal / Enable save on logo change.

* Admin / Portal:

- Save button enabled when selecting a source.
- After saving the source, use the selectSource method to setup the form properly.

---------

Co-authored-by: Jose García <josegar74@gmail.com>
* CSW Server / Fix processing of wildcard queries.

* Remove System.out and commented code
* Formatter / DCAT / Improve dct:references and mime type mapping

* If record is children do not duplicate it in siblings
* Use specialized relations instead of generic dct:references
* Improve mapping for media type

* Formatter / DCAT / Add JPEG2000 mapping

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

* Formatter / DCAT / Add additional format mappings

---------

Co-authored-by: Jose García <josegar74@gmail.com>
…ematrons as warnings (#8911)

* Metadata editor / validation report / display errors for optional schematrons as warnings

* Update web-ui/src/main/resources/catalog/locales/en-editor.json

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

---------

Co-authored-by: François Prunayre <fx.prunayre@gmail.com>
…rUtil (#8905)

* Update bearer token auth to use access token in OAuth2SecurityProviderUtil.java 

Update bearer token auth to use access token in OAuth2SecurityProviderUtil.java

* Remove indentation

* Update bean condition in Oauth2 util

* Update Update bean condition in SessionExpirationFilter.java
* Multilingual rating emails

* revert unnecessary change
* Fix WMS cannot be added to map

* Fix only one record's layers can be added to the map
* Leadership policy change

Falling back to committer leadership, with updated to reflect committer responsibilities for ongoing health of project.

* Update project leadership to reflect active committer responsibilites
* revise based on feedback
* Update based on slightly smarter API script
  The script avoid double counting when the same individual reviews a PR multiple times.
* focus on venv instructions
* Update docs/manual/docs/overview/authors.md
  Co-authored-by: Ian <ianwallen@hotmail.com>
* revise roles
* revised based on feedaback

---------

Co-authored-by: Ian <ianwallen@hotmail.com>
* Delete resources when a new working copy is cancelled

* Delete resources only after commit

* Only revert draft a previous state when draft is not new
* Create new getDoc and getIndexMessages methods in IndexService

* Create new index report directive

* Fix license year

* Add documentation

* Fix for 4.4

* Only return indexingErrorMsg from index call and refactor

* Remove unused import

* prettier formatting
* Migrate OAIPMH server to Elasticsearch

* Migrate OAIPMH server to Elasticsearch / Update documentation

* Migrate OAIPMH server API to Spring MVC

* Migrate OAIPMH server to Elasticsearch / fix total calculation

* OAIPMH server / Sonarlint improvements

* OAIPMH server / Fix base URL

* OAIPMH server / Model API parameters and Sonarlint improvements

* OAIPMH server / Remove non valid chars from the value to match the xslt filename to apply

* OAIPMH server / Preserve _ in conversion file name. The default oai_dc value is using it.

* OAIPMH server / Documentation with more examples.

* OAIPMH server / Refactor / Move conversion oai_dc to formatter.

* OAIPMH server improvements

* As in v3, do not add a filter on schema depending on prefix (the prefix was only defining the conversion to use)
* Update to current Elasticsearch client
* Better error message
* Improve conversion by using formatters:
  * if metadataPrefix is the record schema plugin identifier, use the XML as is
  * if metadataPrefix is available as a formatter, use the formatter
  * if not, skip the record

* OAIPMH server / Documentation with more examples and details.

* OAIPMH server / Update test and fix date format in response.

* OAIPMH server / Add new formatter to test.

* OAIPMH server / Display API in SpringDoc

* OAIPMH server / Converter / Log exception if any.

---------

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

Error reported:

```
2025-06-12T13:39:44,264 ERROR [geonetwork.index] - Parsing invalid JSON node { "code": "FR-33071536800305-IFR-LERN-"Titre"", "codeSpace": "", "link": "" } for property resourceIdentifier. Error is: Unexpected character ('T' (code 84)): was expecting comma to separate Object entries
 at [Source: REDACTED (`StreamReadFeature.INCLUDE_SOURCE_IN_LOCATION` disabled); line: 1, column: 41]
```


eg.
```xml
          <cit:identifier>
            <mcc:MD_Identifier>
              <mcc:authority />
              <mcc:code>
                <gco:CharacterString>FR-33071536800305-IFR-LERN-"Titre"</gco:CharacterString>
              </mcc:code>
            </mcc:MD_Identifier>
          </cit:identifier>
```
…nce (#8755)

* Standard / ISO19115-3 / From ISO19139 conversion / Fix metadatareference

For example, when importing  https://sextant.ifremer.fr/geonetwork/srv/api/records/ffab290d-decd-4a92-bc8c-94da8c6a45dd/formatters/xml
associated resource are not properly encoded

```xml
<mri:metadataReference>1aaaea8c-8724-465f-831c-5d1e67bacefe</mri:metadataReference>
```
instead of
```xml
<mri:metadataReference uuidref="1aaaea8c-8724-465f-831c-5d1e67bacefe"/>
```

* Standard / ISO19115-3 / From ISO19139 conversion / Fix metadatareference / Copy all xlink attributes

eg. https://sextant.ifremer.fr/geonetwork/srv/api/records/45218382-4036-4c14-b09c-c3bef3484e80/formatters/xml
This PR updates the `.gn-img-modal` class in `gn.less` by replacing `width: 95vw` with `width: fit-content` and `max-width: 95vw`. This ensures the modal dynamically adjusts to the image size, addressing layout inconsistencies.
* stac init

* stac from openData

* stac works a little / Not STACAI

* license and links seems OK

* contact temporal and spacial extents

* harvest assets thumbnails but doesn't work ( cross origin problem ? )

* clean XSL - step 1

* second clean

* clean step 3

* import collections as series

* thumbnails OK

* contact done with duplication in metadata contact ( need to be reviewed)

* contact et provider feedbacks

* rework links

* Clean xsl and rename

* Clean xsl

* Clean xsl

* mutualisation contacts

* assets and simplification

* contact et provider externalised

* clean

* code review feedback

* code review feedback 2

* code review feedback end
tylerjmchugh and others added 30 commits April 24, 2026 16:46
* This PR contains an API change.
* Add recordPrivilege field to GroupPrivilege
* Display record privilege groups as yellow in privileges panel
* Add legend for reserved and record privilege groups in privileges panel
* Add test for recordPrivilege field in sharing response
* Verify that the GET /{uuid}/sharing endpoint correctly sets
recordPrivilege
* Fix code style in MetadataSharingApi and GroupPrivilege
* Rename legend color classes to avoid Bootstrap 5 name collision
* Add gn- prefix to legend CSS classes
* Hide record privilege legend entry when no such groups exist
* Update managing privileges docs with panel colour coding

---------

Co-authored-by: Juan Luis Rodriguez Ponce <juanluisrp@gmail.com>
* Setting / fix setting editable method.

It was setting the internal value instead of the editable value

* Update domain/src/main/java/org/fao/geonet/domain/Setting.java

Co-authored-by: Juan Luis Rodríguez Ponce <juanluisrp@gmail.com>

* Fix javadoc comment

---------

Co-authored-by: Juan Luis Rodríguez Ponce <juanluisrp@gmail.com>
Sort region entries by display name using localeCompare() in
gnRegionService.loadRegion() so both the metadata editor region picker
and the search form multi-select show results in A-Z order regardless
of backend insertion order.
Document the application banner setting introduced in #8416.
Includes screenshots for the configuration UI and the banner
as displayed in the public search page.
…n't exist (#8350)

* Batch editing - In XPATH replace mode don't try to add a node if doesn't exist

* Batch editing - In XPATH replace mode don't try to add a node if doesn't exist - Fix unit tests
Removed log4j-slf4j-impl dependency from pom.xml.
```
[WARNING] 'dependencies.dependency.(groupId:artifactId:type:classifier)' must be unique: org.apache.logging.log4j:log4j-slf4j-impl:jar -> duplicate declaration of version (?) @ line 72, column 17
```
Adds the missing "Upgrading from GeoNetwork 3.0 Guidance" section to
oai-pmh.md so the anchor referenced from the maintainer guide updating
page resolves correctly.
* ISO19139 / Add missing namespaces to doi remove process

* Remove duplicated namespace

---------

Co-authored-by: Juan Luis Rodríguez Ponce <juanluisrp@gmail.com>
…estriction (#9263)

* Add new static page status so that administrators respect the group requirement

**API Changes**

* Implement suggestions
* Fix isReviewer in manage record menu

* Fix js error and method parameters
* Fix history not updated when setting privileges to none

* Fix test
* Add MD_SecurityConstraintsUserNote search capability

* Add UserNotes to ISO19139 indexing

---------

Co-authored-by: WANGF <feifei.wang@dfo-mpo.gc.ca>
Fix typos, grammar issues, RST artifacts, broken links, and convert
bare/vague links to descriptive Markdown links.
…groups (#9297)

When harvesting a GeoNetwork 4 instance running a newer version, the
/api/sources and /api/groups responses may contain fields unknown to the
local Source/Group domain classes (e.g. datahubEnabled). Configure the
ObjectMapper with FAIL_ON_UNKNOWN_PROPERTIES=false so those fields are
silently ignored instead of aborting the harvest.

Add regression tests that stub doExecute() to return JSON with unknown
fields and verify the client deserializes successfully.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.