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

Bump com.github.lookfirst:sardine from 5.1-GEONETWORK to 5.12 #249

Open
wants to merge 83 commits into
base: geocat_v4.2.3_report_custom_gracefull
Choose a base branch
from

Commits on Mar 31, 2023

  1. Configuration menu
    Copy the full SHA
    a480657 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    55600b8 View commit details
    Browse the repository at this point in the history
  3. [gn]: fix mdview mdLanguages

    avoid having duplicates, main lang is duplicated in otherLanguage
    fgravin authored and cmangeat committed Mar 31, 2023
    Configuration menu
    Copy the full SHA
    e282c7a View commit details
    Browse the repository at this point in the history
  4. [geocat]: SQL migration to v4.

    Geocat / SQL migration to v4 - before/after startup. Virtual CSW are now portals.
    
    geocat.ch / DB Migration.
    
    geocat.ch / Group logo is not internal setting anymore.
    
    enable INSPIRE validation.
    fxprunayre authored and cmangeat committed Mar 31, 2023
    Configuration menu
    Copy the full SHA
    d3dafc1 View commit details
    Browse the repository at this point in the history
  5. [geocat]: virtual CSW to portal rewrite rule.

    MGEO_SB-839
    fxprunayre authored and cmangeat committed Mar 31, 2023
    Configuration menu
    Copy the full SHA
    6a2bc93 View commit details
    Browse the repository at this point in the history
  6. [geocat]: add thesaurus.

    thesaurus from prod
    fxprunayre authored and cmangeat committed Mar 31, 2023
    Configuration menu
    Copy the full SHA
    17fb168 View commit details
    Browse the repository at this point in the history
  7. [geocat]: build geocat gn4 as geocat gn3.10 was built

    use actions/checkout@v2 with submodule recursive so to get a deployable container.
    search for es as located in eks (no dot in host).
    fix for 'Invalid character found in the request target'.
    tomcat:8.0-jre8 -> tomcat:8.5.85-jre8
    - use pip3
    - need unzip
    - disable ajp connector
    activate tests
    process ressources
    cmangeat committed Mar 31, 2023
    Configuration menu
    Copy the full SHA
    c1c74bd View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    815cee0 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    f45f0db View commit details
    Browse the repository at this point in the history
  10. [geocat]: map / configuration.

    ui: set map context to EPSG:21781
    fxprunayre authored and cmangeat committed Mar 31, 2023
    Configuration menu
    Copy the full SHA
    3d9a612 View commit details
    Browse the repository at this point in the history
  11. Configuration menu
    Copy the full SHA
    6cb18b7 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    4b22080 View commit details
    Browse the repository at this point in the history
  13. [geocat]: search results / grid mode only.

    pull 'is harvested or not lock' left in grid result
    cmangeat committed Mar 31, 2023
    Configuration menu
    Copy the full SHA
    aa832b5 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    cb2814c View commit details
    Browse the repository at this point in the history
  15. [geocat]: custom label.

    cmangeat committed Mar 31, 2023
    Configuration menu
    Copy the full SHA
    30d9aac View commit details
    Browse the repository at this point in the history
  16. [geocat]: restore geoshop.

    fix specific code in related directive for shop
    fxprunayre authored and cmangeat committed Mar 31, 2023
    Configuration menu
    Copy the full SHA
    2d8e5df View commit details
    Browse the repository at this point in the history
  17. Configuration menu
    Copy the full SHA
    e3fc23e View commit details
    Browse the repository at this point in the history
  18. [geocat]: editor board facet config.

    fxprunayre authored and cmangeat committed Mar 31, 2023
    Configuration menu
    Copy the full SHA
    da444de View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    6c5cebe View commit details
    Browse the repository at this point in the history

Commits on Jan 29, 2024

  1. [geocat]: ISO19139.che plugin.

    ISO19139 / Subtemplate / Indexing / Multilingual support.
    
    Update to 4.0.6
    
    up to 4.0.7 for che schema
    
    geocat.ch / Add default XSL formatter.
    
    geocat.ch / Formatter / Plug XSL formatter for che:* records.
    
    geocat.ch / iso19139.che / JSONLD / Rely on ISO19139.
    
    geocat.ch / Make test ok.
    
    first build/deploy with no tests
    
    ISO19139.che / Add missing dependency.
    
    geocat.ch / Editor / Add overview manager.
    
    geocat.ch / Remove INSPIRE validation.
    
    geocat.ch / API / GMO3 export and formatter config
    
    che contact index and replacer
    
    che schema is subtemplate aware
    
    che contact replacer
    
    use root instead of _root when looking for subtemplates
    
    index contact elem a specfic che way
    
    do not index extent as keyword
    
    iso19139che to iso19139 formatter
    
    provide gm03/iso19139 to iso19139che conversion scripts for import / harvesting
    
    custom che indexation
    
    multilang orgs for ressources
    
    schema plugin evol, copy paste from iso19139
    
    use iso che label for topic
    
    there can be many keywords from the same thesaurus
    
    add failing test, duplicat elangger when index
    
    add online ressource protocol
    
    make online resources indexing multilingual
    
    no ref. to subtemplate replacers in che schema as subtemplate replacers postponed
    fxprunayre authored and cmangeat committed Jan 29, 2024
    Configuration menu
    Copy the full SHA
    e8c308e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ace8269 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    9ddc594 View commit details
    Browse the repository at this point in the history
  4. [geocat]: ui, set default geoadmin WMTS as https

    replace 20140520 by current as not recognized anymore
    fgravin authored and cmangeat committed Jan 29, 2024
    Configuration menu
    Copy the full SHA
    9ef03da View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    02fcbfa View commit details
    Browse the repository at this point in the history
  6. [geocat]: Map service / Avoid error when adding geoadmin bg layer

    This is specific to the geoadmin base layer in geocat.ch
    jahow authored and cmangeat committed Jan 29, 2024
    Configuration menu
    Copy the full SHA
    71a12f6 View commit details
    Browse the repository at this point in the history
  7. [geocat]: search / Fix search results layout

    This does _not_ fix the underlying issue.
    jahow authored and cmangeat committed Jan 29, 2024
    Configuration menu
    Copy the full SHA
    df68b50 View commit details
    Browse the repository at this point in the history
  8. Configuration menu
    Copy the full SHA
    9ea3b5c View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    fae9394 View commit details
    Browse the repository at this point in the history
  10. Configuration menu
    Copy the full SHA
    2bcc358 View commit details
    Browse the repository at this point in the history
  11. [geocat]: add a rewrite rule for md.viewer

    redirect to catalog.searc#/home
    fgravin authored and cmangeat committed Jan 29, 2024
    Configuration menu
    Copy the full SHA
    22177a7 View commit details
    Browse the repository at this point in the history
  12. Configuration menu
    Copy the full SHA
    88f9c4e View commit details
    Browse the repository at this point in the history
  13. [geocat]: avoid first iso topic category code to be ignored (rogaton …

    …of classic iso category handling)
    cmangeat committed Jan 29, 2024
    Configuration menu
    Copy the full SHA
    f48c0d1 View commit details
    Browse the repository at this point in the history
  14. Configuration menu
    Copy the full SHA
    67a484c View commit details
    Browse the repository at this point in the history
  15. Configuration menu
    Copy the full SHA
    97ccc81 View commit details
    Browse the repository at this point in the history
  16. [geocat]: fix URL validation

    add a missing specific method in XSLUtil.java
    fgravin authored and cmangeat committed Jan 29, 2024
    Configuration menu
    Copy the full SHA
    23b1834 View commit details
    Browse the repository at this point in the history
  17. [geocat]: set default schema iso19139.che

    strictly, root being MD_Format ou EX_Extent is not sufficient to discriminate between iso19139 and iso 19139.che, but choose che as it is the default
    cmangeat committed Jan 29, 2024
    Configuration menu
    Copy the full SHA
    620f4de View commit details
    Browse the repository at this point in the history
  18. [geocat]: perform validation upon md whose subtemplate have been subs…

    …titued
    
    valid md are the one with no error report
    have to look for error, not for report
    cmangeat committed Jan 29, 2024
    Configuration menu
    Copy the full SHA
    94aea7b View commit details
    Browse the repository at this point in the history
  19. Configuration menu
    Copy the full SHA
    3d2989c View commit details
    Browse the repository at this point in the history
  20. Configuration menu
    Copy the full SHA
    da1d532 View commit details
    Browse the repository at this point in the history
  21. Configuration menu
    Copy the full SHA
    b8ac63b View commit details
    Browse the repository at this point in the history
  22. Configuration menu
    Copy the full SHA
    d398ff4 View commit details
    Browse the repository at this point in the history
  23. Configuration menu
    Copy the full SHA
    5e772f1 View commit details
    Browse the repository at this point in the history
  24. Configuration menu
    Copy the full SHA
    7a1a15d View commit details
    Browse the repository at this point in the history
  25. Configuration menu
    Copy the full SHA
    03affae View commit details
    Browse the repository at this point in the history
  26. translations

    fix Rumantsch translation in editor
    links -> liens
    fgravin authored and cmangeat committed Jan 29, 2024
    Configuration menu
    Copy the full SHA
    551ab40 View commit details
    Browse the repository at this point in the history
  27. Configuration menu
    Copy the full SHA
    6364938 View commit details
    Browse the repository at this point in the history
  28. Configuration menu
    Copy the full SHA
    9499938 View commit details
    Browse the repository at this point in the history
  29. Configuration menu
    Copy the full SHA
    aa9a9ab View commit details
    Browse the repository at this point in the history
  30. Configuration menu
    Copy the full SHA
    fc5321b View commit details
    Browse the repository at this point in the history
  31. Configuration menu
    Copy the full SHA
    3e5fe28 View commit details
    Browse the repository at this point in the history
  32. [geocat]: don't let socket connection troubles make idle connections …

    …testing testing too long
    
    up sql socket connection timeout to 10 s.
    cmangeat committed Jan 29, 2024
    Configuration menu
    Copy the full SHA
    9b0b296 View commit details
    Browse the repository at this point in the history
  33. Configuration menu
    Copy the full SHA
    50983a3 View commit details
    Browse the repository at this point in the history
  34. trigger build

    cmangeat committed Jan 29, 2024
    Configuration menu
    Copy the full SHA
    fb5bffd View commit details
    Browse the repository at this point in the history
  35. Configuration menu
    Copy the full SHA
    72ae60f View commit details
    Browse the repository at this point in the history
  36. Configuration menu
    Copy the full SHA
    04ce71f View commit details
    Browse the repository at this point in the history
  37. Configuration menu
    Copy the full SHA
    4453fe9 View commit details
    Browse the repository at this point in the history
  38. add log4j-web for tomcat

    cmangeat committed Jan 29, 2024
    Configuration menu
    Copy the full SHA
    6dbd434 View commit details
    Browse the repository at this point in the history
  39. Configuration menu
    Copy the full SHA
    2d264a0 View commit details
    Browse the repository at this point in the history
  40. Configuration menu
    Copy the full SHA
    40eb6af View commit details
    Browse the repository at this point in the history
  41. Configuration menu
    Copy the full SHA
    b588096 View commit details
    Browse the repository at this point in the history
  42. Configuration menu
    Copy the full SHA
    a5a7e68 View commit details
    Browse the repository at this point in the history
  43. [gn] Support negative dates for temporal extents

    House keeping GeonetTestFixture and relevant Integration tests cleanup aroud SpringLocalServiceInvoker
    sebr72 authored and cmangeat committed Jan 29, 2024
    Configuration menu
    Copy the full SHA
    b465966 View commit details
    Browse the repository at this point in the history
  44. Less aggressive housekeeping in update-fixed-info.xsl

    let carriage return when copying test from default default language locale to default characterString
    cmangeat committed Jan 29, 2024
    Configuration menu
    Copy the full SHA
    f70804c View commit details
    Browse the repository at this point in the history
  45. Revert "Record view / Display bounding polygon if set"

    This reverts commit 3219dea.
    cmangeat committed Jan 29, 2024
    Configuration menu
    Copy the full SHA
    b1e54fd View commit details
    Browse the repository at this point in the history
  46. INSPIRE conformity improvement (#234)

    * geocat.ch / INSPIRE conformity / Remove enumration extension
    
    iso19139.che extend topic category enumeration and conversion to
    ISO19139 does not remove them. Produced XML is invalid with the
    following:
    
    ```
    XML document 'file.xml', record '8698bf0b-fceb-4f0f-989b-111e7c4af0a4': 'Validation failed: 752:87: cvc-enumeration-valid: Value 'planningCadastre_Planning' is not facet-valid with respect to enumeration '[farming, biota, boundaries, climatologyMeteorologyAtmosphere, economy, elevation, environment, geoscientificInformation, health, imageryBaseMapsEarthCover, intelligenceMilitary, inlandWaters, location, oceans, planningCadastre, society, structure, transportation, utilitiesCommunication]'. It must be a value from the enumeration.'.
    ```
    
    Proposal: Remove all extended values.
    
    * geocat.ch / INSPIRE / Support nilReason in boolean geonetwork/core-geonetwork@9755269.
    
    * geocat.ch / INSPIRE / Backport of geonetwork/core-geonetwork#6617.
    
    * geocat.ch / INSPIRE / ISO19139 conversion / Better conversion of multilingual URLs.
    
    * geocat.ch / INSPIRE / Configure which INSPIRE test suite to run.
    
    * geocat.ch / INSPIRE / Process to improve conformity.
    
    * geocat.ch / INSPIRE / Process to improve conformity.
    
    * geocat.ch / INSPIRE / Configure ETF CC for services. Increase checks in case of slow validation.
    
    * geocat.ch / INSPIRE themes / Migration from Eionet URI to INSPIRE registry.
    
    * geocat.ch / INSPIRE / Improve conformity / Topic category mapping, distributorFormat.
    
    * geocat.ch / INSPIRE conformity / SDS category encoded as Anchor. Backport geonetwork/core-geonetwork#6664. Conformance editing with 3 states conform/not/unknown.
    
    * geocat.ch / INSPIRE conformity tests.
    
    * geocat.ch / INSPIRE / Add thesaurus required for conformity.
    
    * geocat.ch / INSPIRE themes / Migration from Eionet URI to INSPIRE registry.
    
    ---------
    
    Co-authored-by: Francois Prunayre <[email protected]>
    2 people authored and cmangeat committed Jan 29, 2024
    Configuration menu
    Copy the full SHA
    107e3b7 View commit details
    Browse the repository at this point in the history
  47. Configuration menu
    Copy the full SHA
    99ed5ab View commit details
    Browse the repository at this point in the history
  48. Configuration menu
    Copy the full SHA
    216161a View commit details
    Browse the repository at this point in the history
  49. Apply prettier to changed files

    sebr72 authored and cmangeat committed Jan 29, 2024
    Configuration menu
    Copy the full SHA
    daef1e5 View commit details
    Browse the repository at this point in the history
  50. API / CSV export / Add support for custom export. (#7132)

    * API / CSV export / Add support for custom export.
    
    Current CSV export is based on XSL transformations and can be hard to use when user is interested in element with multiple values (eg. online source, contacts).
    
    Default CSV export remains the same but add the possibility to customize the export with 2 additional parameters to create custom export:
    
    * `loopElementXpath`: element to loop on eg. use
    `.` for the metadata
    `.//gmd:CI_ResponsibleParty` for all contacts in ISO19139,
    `.//gmd:transferOptions/*/gmd:onLine/*` for all online resources in ISO19139.
    
    * `propertiesXpath`: columns to extract eg.
    `gmd:identificationInfo/*/gmd:citation/*/gmd:title//text()` for the title.
    
    Also add parameters for defining separators:
    * `sep` for column separator
    * `internalSep` when multiple values are stored in a field
    
    User can then build custom reports from the API:
    
    eg. Export Contact with role,org,email
    http://localhost:8080/srv/api/records/csv?bucket=s101&loopElementXpath=.//gmd:CI_ResponsibleParty&propertiesXpath=gmd:role/*/@codeListValue&propertiesXpath=gmd:organisationName/*/text()&propertiesXpath=.//gmd:electronicMailAddress/*/text()
    
    eg. Export Online source with protocol,url,name,desc
    http://localhost:8080/srv/api/records/csv?bucket=s101&loopElementXpath=.//gmd:transferOptions/*/gmd:onLine/*&propertiesXpath=gmd:protocol/*/text()&propertiesXpath=gmd:linkage/*/text()&propertiesXpath=gmd:name/*/text()&propertiesXpath=gmd:description/*/text()
    
    eg. Export Metadata with title,alternateTitle,status,maintenanceFreq,...
    http://localhost:8080/srv/api/records/csv?bucket=s101&loopElementXpath=.&propertiesXpath=gmd:identificationInfo/*/gmd:citation/*/gmd:title//text()&propertiesXpath=gmd:identificationInfo/*/gmd:citation/*/gmd:alternateTitle//text()&propertiesXpath=gmd:identificationInfo/*/gmd:status/*/@codeListValue&propertiesXpath=gmd:identificationInfo/*//gmd:maintenanceAndUpdateFrequency/*/@codeListValue&propertiesXpath=gmd:identificationInfo/*//gmd:otherConstraints//text()&propertiesXpath=gmd:identificationInfo/*/gmd:topicCategory//text()&propertiesXpath=gmd:identificationInfo/*/gmd:language/*/@codeListValue&propertiesXpath=gmd:identificationInfo/*/gmd:graphicOverview/*/gmd:fileName/*/text()
    
    Functions from XPath v1 can also be used eg. `count`
    http://localhost:8080/srv/api/records/csv?bucket=s101&loopElementXpath=.&propertiesXpath=count(gmd:identificationInfo/*/gmd:descriptiveKeywords)
    
    For all exports 2 columns are added first:
    * UUID
    * permalink
    
    When using XPath, it is recommended to export records in same schema (or at least same base schema). If not, then XPath error messages are returned in cells unless XPath provided do not require namespaces. Users have to configure a proper selection to avoid mixing schema.
    
    * Sonarlint.
    
    * API / CSV export / Add support for custom export / Resolve XLinks if enabled.
    fxprunayre authored and cmangeat committed Jan 29, 2024
    Configuration menu
    Copy the full SHA
    74ce332 View commit details
    Browse the repository at this point in the history
  51. Configuration menu
    Copy the full SHA
    9d4c480 View commit details
    Browse the repository at this point in the history
  52. [geocat] Set XSRF cookie path to /

    fgravin authored and cmangeat committed Jan 29, 2024
    Configuration menu
    Copy the full SHA
    0553c64 View commit details
    Browse the repository at this point in the history
  53. Configuration menu
    Copy the full SHA
    a23faca View commit details
    Browse the repository at this point in the history
  54. While using the filesystem harvester: Delete datadir when deleting me…

    …tadata from db. This needs to be reported in GN.
    sebr72 authored and cmangeat committed Jan 29, 2024
    Configuration menu
    Copy the full SHA
    4503de8 View commit details
    Browse the repository at this point in the history
  55. [geocat] Add link to https://www.geocat.ch/datahub/search/ (datahub) …

    …in menu bar
    “benoitregamey” authored and cmangeat committed Jan 29, 2024
    Configuration menu
    Copy the full SHA
    541b692 View commit details
    Browse the repository at this point in the history
  56. Maintenance Swagger API to clean data dir of orphaned metadata absent…

    … from DB (#252)
    
    * add maintenance entry point
    
    * list datadir dir at metadata level
    
    * Log orphanedDataPath into a File
    
    * stream of strings to log at the end
    
    * 'improve' logs outputs
    
    * delete files
    
    * Code cleanup
    
    * Add new Counter for not deleted path, and refactoring
    
    * polish
    
    ---------
    
    Co-authored-by: christophe mangeat <[email protected]>
    sebr72 and cmangeat committed Jan 29, 2024
    Configuration menu
    Copy the full SHA
    e403a5b View commit details
    Browse the repository at this point in the history
  57. Use Java 21 for Sonarcloud plugin (#7622)

    Sonarcloud analyzer now requires at least Java 17.
    juanluisrp authored and cmangeat committed Jan 29, 2024
    Configuration menu
    Copy the full SHA
    ae19a31 View commit details
    Browse the repository at this point in the history
  58. SEO / Set HTML head title and description

    Currently HTML head description is set to an empty value. Google is
    indexing the cookie warning in GeoNetwork case when no HTML head is found (probably because it is the first HTML text content found).
    
    Use the service metadata configured for the main node (see admin >
    settings > record to use for GetCapabilities) and same for portal.
    
    If no service metadata record configured, default title and description
    to node name (or site name for the main portal).
    
    Follow up of:
    * geonetwork/core-geonetwork@611be2a
    * geonetwork/core-geonetwork#4758
    fxprunayre authored and cmangeat committed Jan 29, 2024
    Configuration menu
    Copy the full SHA
    229aff8 View commit details
    Browse the repository at this point in the history
  59. [geocat] Add Google Analytics Tag to html pages, only in production

    switch google analytics 4 to google tag manager
    Benoît Regamey authored and cmangeat committed Jan 29, 2024
    Configuration menu
    Copy the full SHA
    f5a0710 View commit details
    Browse the repository at this point in the history

Commits on Feb 26, 2024

  1. on subtemplate's update, trigger indexation for every md referencing it

    rely on metadataIndexer.batchIndexInThreadPool for async indexing
    test threadPoolIndexation starts for expected md
    throw exception when updating a subtemplate too resource hungry (too many md to index, i.e. more than 10000)
    cmangeat committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    3718541 View commit details
    Browse the repository at this point in the history
  2. trigger build

    cmangeat committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    407c537 View commit details
    Browse the repository at this point in the history
  3. change basemap to greyscale swisstopo in EPSG:3857

    “benoitregamey” authored and cmangeat committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    974d8b5 View commit details
    Browse the repository at this point in the history
  4. set global CRS to EPSG:3857 and add support for EPSG:2056 (LV95)

    “benoitregamey” authored and cmangeat committed Feb 26, 2024
    Configuration menu
    Copy the full SHA
    e95f551 View commit details
    Browse the repository at this point in the history

Commits on Feb 27, 2024

  1. Bump com.github.lookfirst:sardine from 5.1-GEONETWORK to 5.12

    Bumps [com.github.lookfirst:sardine](https://github.com/lookfirst/sardine) from 5.1-GEONETWORK to 5.12.
    - [Release notes](https://github.com/lookfirst/sardine/releases)
    - [Commits](https://github.com/lookfirst/sardine/commits/sardine-5.12)
    
    ---
    updated-dependencies:
    - dependency-name: com.github.lookfirst:sardine
      dependency-type: direct:production
    ...
    
    Signed-off-by: dependabot[bot] <[email protected]>
    dependabot[bot] authored Feb 27, 2024
    Configuration menu
    Copy the full SHA
    cd71123 View commit details
    Browse the repository at this point in the history