-
-
Notifications
You must be signed in to change notification settings - Fork 21
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
Georchestra gn4.4.5 rebase #297
Conversation
… dynamic privileges are not set
…en the metadata has 1 WMS layer (#7646) * Metadata editor / Fix javascript error in the add thumbnail option when the metadata has 1 WMS layer: Error: [orderBy:notarray] http://errors.angularjs.org/1.8.2/orderBy/notarray\?p0\=%7B%22resource%22%3A%7B%22ref%22%3A%22172%22%2C%22refParent%22%3A%22171%22%2C%22name%22%3A%222%22%2C%22url%22%3A%22https%3A%2F%2Fmaps-cartes.ec.gc.ca%2Farcgis%2Fservices%2FDMS%2FStressCumulatifLittorales%2FMapServer%2FWMSServer%3Frequest%3DGetCapabilities%26service%3DWMS%22%2C%22title%22%3A%22Metadata%20WMS%20layer%22%2C%22abstract%22%3A%22The%20ISO19115%20metadata%20standard%20is%20the%20preferred%20metadata%20standard%20to%20use.%20If%20unsure%20what%20templates%20to%20start%20with%2C%20use%20this%20one.%22%2C%22protocol%22%3A%22OGC%3AWMS%22%7D%7D at lib.js?v=65b94734a63ca8491dba95d7439baf1be02c2450:21:168 * Metadata editor / Improve layer configuration init. (#96) * Metadata editor / Improve layer configuration init. Related to geonetwork/core-geonetwork#7646. * Metadata editor / Improve layer configuration init. * Metadata editor / Remove log. --------- Co-authored-by: François Prunayre <[email protected]>
Follow up of geonetwork/core-geonetwork#7591 (comment) Fix form content when adding * a resource maintenance and then User defined maintenance frequency * or temporal resolution in ISO19115-3
…eters. By default injectable parameters are excluded from request parameters. Map is one of those object however it does occur where map objects are supplied as parameters and they should be added to open api spec. There are currently no cases where a map is injected on purpose into the request parameters. This will fix issues with missing request parameters documentation which are based on Map objects.
This fixes bug where some apis will not execute correctly from the swagger pager due to the wrong enum value being supplied. i.e. visibility should be using enum values PUBLIC/PRIVATE instead of public/private in formatters/zip api, the format should be SIMPLE/PARTIAL/FULL instead of simple/partial/full
…sources being returned. Update attachment api "Get a metadata resource" should indicate that gets a file resource Also "Create a new resource" should identify that it consumes any resources Update keywords api "Download a thesaurus by name" should indicate that gets a file resource
…ceLib / Sonarlint improvements (#7692) * Remove empty class SourcesLib and deprecated/unused methods in ResourceLib * Sonalint improvements
Updated-dependencies: - dependency-name: commons-fileupload:commons-fileupload dependency-type: direct:production --- In GN it is only used in SiteApi class in the services module. Other occurrences are introduced by openrdf-utils dependency. --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Juan Luis Rodríguez <[email protected]>
…nd configuring-search-fields (#7696) * Addressing docs translation glitch #7687- fixes adding-static-pages and configuring-search-fields * Addressing docs translation glitch #7687- fixes creating-custom-editor
* Add a role and feature matrix to the GeoNetwork documentation * Removed to entries that are no longer available * Update docs/manual/docs/administrator-guide/managing-users-and-groups/index.md --------- Co-authored-by: Jose García <[email protected]>
* Remove non required data-translate directive usage in gnMetadataGroupUpdater directive * Enable preemptive in CSW http requests with credentials. Fixes #5492 Co-authored-by: josegar74 <[email protected]>
Bumps [stCarolas/setup-maven](https://github.com/stcarolas/setup-maven) from 4 to 5. - [Release notes](https://github.com/stcarolas/setup-maven/releases) - [Commits](stCarolas/setup-maven@v4...v5) --- updated-dependencies: - dependency-name: stCarolas/setup-maven dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump org.json:json from 20140107 to 20240205 Bumps [org.json:json](https://github.com/douglascrockford/JSON-java) from 20140107 to 20240205. - [Release notes](https://github.com/douglascrockford/JSON-java/releases) - [Changelog](https://github.com/stleary/JSON-java/blob/master/docs/RELEASES.md) - [Commits](https://github.com/douglascrockford/JSON-java/commits) --- updated-dependencies: - dependency-name: org.json:json dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <[email protected]> * Add org.json:json to dependency management Remove the version from common/pom.xml and add the dependency to dependencyManagement section of root pom.xml. --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: Juan Luis Rodríguez <[email protected]>
Removed unused dependency on jslint-maven-plugin from web-ui.
* Vertical extent label modification * fetching unit from index - default frontend fallback - example default value in -3 indexer
* Update to Elasticsearch 8. Use of Elasticsearch Java API Client instead of Java High Level REST Client * Update to Elasticsearch 8 / WFS indexing draft. (#88) * Update to Elasticsearch 8 / remove TODOs * Update Elasticsearch client to version 8.11.3 * Elasticsearch / Update maven plugin. * Associated record / Store all relations in index / Remove experimental feature, not used. Related to #4912 * Elasticsearch / Update maven plugin configuration. Avoid error like ERROR: Elasticsearch exited unexpectedly, with exit code 143 * Elasticsearch / Update MetadataUtils.getAssociated to retrieve scripted overview field * Elasticsearch / Update MetadataUtils.getAssociated remove TODO comment * Elasticsearch / Fix and refactor index readonly health check * Elasticsearch / Log query error details * Elasticsearch / Sonarlint improvements * Elasticsearch / WrapperQuery use base64 encoded JSON string query. * Elasticsearch / Remove unused commented code from EsSearchManager * Elasticsearch / More strict Xlink query based on UUID and fix check on hits. A request may return no hits but can be used to check number of hits. In such case we should avoid using hits.hits.size and use hits.total.value to get number of match. * Elasticsearch / Health check / Fix number of hits info. * Elasticsearch / Cleaning / No need to retrieve hits to only get matches. * Elasticsearch / Deprecated field [include] used, expected [includes] instead. * Elasticsearch / Remove 'Clear XLink cache' from Administration > Tools, clear the Xlink cache automatically before indexing and remove non-implemented code to retrieve metadata with XLink (not required anymore) * Kibana / Update install instruction Related to elastic/kibana#82521. * Elasticsearch / Remove unused imports * Kibana / Update default dashboards. * Elasticsearch / Documentation / Update Elasticsearch version * Elasticsearch / Fix logger module name typo --------- Co-authored-by: François Prunayre <[email protected]>
…adata with the option 'Generate UUID'
Updated summary and description to differentiate these two end points.
* 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 <[email protected]> * Update docs/manual/docs/api/search.md Co-authored-by: François Prunayre <[email protected]> * Update docs/manual/docs/api/search.md Co-authored-by: François Prunayre <[email protected]> --------- Co-authored-by: Jody Garnett <[email protected]> Co-authored-by: François Prunayre <[email protected]>
…figuration (#7702) * Standard / ISO19115-3 / Editor configuration / Add support for custom label on date field Add support to label override for `cit:date` element: eg. ```xml <field xpath="/mdb:MD_Metadata/mdb:identificationInfo/*/mri:citation/*/cit:date" or="date" in="/mdb:MD_Metadata/mdb:identificationInfo/*/mri:citation/*" name="Date de la donnée"/> ``` * Standard / ISO19115-3 / Handle setting to hide time in calendar Was only supported in ISO19139
…t (#7700) * Standard / ISO19115-3 / Improve french translation for temporal extent * Update codelists.xml
Co-authored-by: Jose García <[email protected]>
Make sure it is clear to report a vulnerability directly through Github.
This can facilitate customization of the style of the editor. Previously only the tab identifier was provided making more difficult to define global editor styles common for all tabs and was not providing simple way to customize the side panel.
A number of DCAT related vocabularies are published using OWL format describing a concept schema and concepts. eg. https://mobilitydcat-ap.github.io/controlled-vocabularies/network-coverage/latest/index.html ```xml <owl:NamedIndividual rdf:about="https://w3id.org/mobilitydcat-ap/mobility-theme/accesibility-information-for-vehicles"> <rdf:type rdf:resource="http://www.w3.org/2004/02/skos/core#Concept"/> <skos:broader rdf:resource="https://w3id.org/mobilitydcat-ap/mobility-theme/data-content-sub-category"/> <skos:broader rdf:resource="https://w3id.org/mobilitydcat-ap/mobility-theme/public-transport-non-scheduled-transport"/> <skos:inScheme rdf:resource="https://w3id.org/mobilitydcat-ap/mobility-theme"/> <skos:prefLabel xml:lang="en">Accesibility information for vehicles</skos:prefLabel> </owl:NamedIndividual> ``` Add the possibility to import those files directly by converting them from OWL to SKOS format supported by GeoNetwork. API changes: * when using the `stylesheet` parameter of the upload thesaurus operation, restrict the use to known file in `xslt/services/thesaurus/` folder. Also some Sonar lint items. Funded by Wallonia region (SPW)
…in the same group (#7679) * 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 <[email protected]> --------- Co-authored-by: Ian <[email protected]>
building this branch with the following steps on debian 12/java 17
i get a proper debian package for testing:
|
db upgrade on an empty 4.2.8 from current master blows hard:
havent looked deeper in the other db upgrade bits. i'll do a new branch in the geonetwork_minimal_datadir repo with the latest schema versions edit that's https://github.com/georchestra/geonetwork_minimal_datadir/tree/gn4.4.5 |
in https://georchestra.example.org/geonetwork/srv/eng/admin.console#/dashboard/information it says 4.4.1 for Application version and |
I think it's because branch for 4.2 and 4.4 have diverged when 4.2.6 was out. but migrations scripts should have approximately the same things inside. |
i have a bunch of this in the logs when visiting the ui, but it shows apparently fine:
i suppose it's due to missing imageio jar somewhere or because java17 is used to run tomcat. It wasn't happening on the same environment with gn 4.2.8 so maybe a missing jar in the war ? the caller is |
i've had a look at the db content and edit: that's probably geonetwork/core-geonetwork#7656 edit2: the commit adding the new |
|
4e80a4e
to
f98ba76
Compare
Ready for geOrchestra 24.1.x |
as said in georchestra/georchestra#4273 merging this PR to a branch named |
maybe it should also get the 5 commits that landed to 4.2.x cf georchestra-gn4.4.5-rebase...georchestra-gn4.2.x |
Agree ! I've updated the destination branch, and the 5 commits will be inside normally. |
can't harm anyone to merge since the target branch is not used yet by anything... |
geOrchestra/geonetwork checklist