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

Geonetwork 4.4 #261

Closed
wants to merge 1,055 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1055 commits
Select commit Hold shift + click to select a range
d9d2567
Standard / ISO19115-3 / Formatter / Layout improvements (#7187)
fxprunayre Jul 12, 2023
aebd8d8
changed english display text for batch editor xpath gn_add and gn_upd…
archaeogeek Jun 14, 2023
f8c3f60
Standard / ISO19115-3 / Do not declare main language in other languag…
fxprunayre Jul 12, 2023
6d34a41
Translations / Add better message in case of harvester save issue.
fxprunayre Jul 12, 2023
c774e9c
Missing translations.
joachimnielandt Jun 28, 2023
e59ff9f
Bad configuration of a harvester could prevent geonetwork startup
joachimnielandt Jun 28, 2023
6637e48
Proposal to disable harvesters.
joachimnielandt Jun 29, 2023
d1c835a
Java header.
fxprunayre Jul 12, 2023
c5f5cd3
System info / Add env variables related to database migration and har…
fxprunayre Jul 12, 2023
9c7f329
Increase the limit to retrieve the related metadata in the search res…
josegar74 Jul 12, 2023
ef80b7a
ArcSDE harvester / If the metadata stored in ArcSDE is matched agains…
josegar74 Jul 12, 2023
60a2411
Standard / ISO19139 / Indexing / Temporal range in GML 3.2.0 (#7218)
fxprunayre Jul 13, 2023
83e4a51
Prettier.
fxprunayre Jul 13, 2023
808ea26
Record view / Decorate map with geographic identifier or description.…
fxprunayre Jul 13, 2023
6d3fa62
Prettier formatting updates (#7222)
josegar74 Jul 13, 2023
f079bd0
ISO19139 - Improve metadata full view for contacts when fields inform…
josegar74 Jul 13, 2023
b5e7fa3
Record view / Contact / Move website to popup (#7220)
fxprunayre Jul 13, 2023
1ff1ceb
Update to version 4.4.x (#7223)
josegar74 Jul 13, 2023
fe55a75
Use Apache Commons StringUtils to join keywords in atom service descr…
josegar74 Jul 13, 2023
9d74ff1
[BP] Use Apache Commons StringUtils to join keywords in atom service …
josegar74 Jul 13, 2023
4ea7d38
Merge branch 'main' into lib-spring5java11
josegar74 Jul 13, 2023
782dc83
Update GitHub actions configuration
josegar74 Jul 13, 2023
218e608
Update harvesters/src/main/java/org/fao/geonet/kernel/harvest/harvest…
josegar74 Jul 14, 2023
0f87a94
Update harvesters/src/main/java/org/fao/geonet/kernel/harvest/harvest…
josegar74 Jul 14, 2023
a8e8612
Update harvesters/src/main/java/org/fao/geonet/kernel/harvest/harvest…
josegar74 Jul 14, 2023
625c638
Update harvesters/src/main/java/org/fao/geonet/kernel/harvest/harvest…
josegar74 Jul 14, 2023
6706324
Update services/src/main/java/org/fao/geonet/api/OpenApiController.java
josegar74 Jul 14, 2023
4d573f1
Remove Java 8 maven configuration
josegar74 Jul 14, 2023
b00187f
Update GitHub actions configuration
josegar74 Jul 14, 2023
835159a
Update GitHub actions configuration
josegar74 Jul 14, 2023
b4c7758
Update status emails to contain link to metadata which does not conta…
ianwallen Jul 16, 2023
9799602
Update status emails to contain link to metadata which does not conta…
ianwallen Jul 16, 2023
650258a
Update MetadataExtentApiTest hashes, probably images differ due to JV…
josegar74 Jul 17, 2023
8235b44
Add support for OL Attributions (#7062)
ianwallen Jul 18, 2023
3e7548e
[BP] Add support for OL Attributions (#7062)
ianwallen Jul 18, 2023
ede63fb
Map viewer / 'Default map' javascript error. Fixes #7228
josegar74 Jul 18, 2023
2cd8b77
[BP] Map viewer / 'Default map' javascript error. Fixes #7228
josegar74 Jul 18, 2023
d9b9cbd
When authenticating user, only update the usergroups in the database …
ianwallen Jul 19, 2023
a033ef0
[BP]When authenticating user, only update the usergroups in the datab…
ianwallen Jul 19, 2023
c1cf3c5
Fix wmsQueue clear method logic
josegar74 Jul 21, 2023
c1091bc
Update skin.xsl so that it works better in nojs mode. (#7015)
ianwallen Jul 21, 2023
855438e
[BP] Update skin.xsl so that it works better in nojs mode. (#7015)
ianwallen Jul 21, 2023
16f4c91
Escape {{ to avoid error parsing argument. (#7237)
ianwallen Jul 24, 2023
dc90499
[BP] Escape {{ to avoid error parsing argument. (#7237)
ianwallen Jul 24, 2023
e5d0a42
Update Github actions for 4.2.x branch (#7225)
josegar74 Jul 25, 2023
80f5a99
[BP] Fix wmsQueue clear method logic
josegar74 Jul 21, 2023
e49ae9c
fix(ods): add CI_OnlineResource linkages for ods v1
tkohr Jul 26, 2023
16df866
Fix German typo of the label for 'otherRestrictions' (#7245)
josegar74 Jul 28, 2023
ea02c45
[BP] Fix German typo of the label for 'otherRestrictions' (#7245)
josegar74 Jul 28, 2023
5e74d8a
Fix record history parameter name. Related to #7074 (#7249)
josegar74 Jul 28, 2023
59e85a0
[BP] Fix record history parameter name. Related to #7074 (#7249)
josegar74 Jul 28, 2023
f551ccf
feat(ods): use ods explore api for CI_OnlineResource linkages
tkohr Jul 26, 2023
37224cf
Use http proxy in DOI client
josegar74 Jul 28, 2023
631f9e2
Fix DOI logging
josegar74 Jul 31, 2023
5bf08c7
Fix deletion sequence in editor: wait for DOM update before saving
CMath04 Aug 1, 2023
992d26b
Allow mulitple conditional default tabs in a single editor view
CMath04 May 11, 2023
b8e33ee
Fix directive to display the most popular records, to display the mos…
josegar74 Aug 16, 2023
96c7824
Make editor snippets referenceable and reusable
CMath04 May 12, 2023
6b406be
Add XmlTransient annotation to ISODate.getDateAndTimeUtc
josegar74 Jul 25, 2023
93b22a2
Merge pull request #7186 from geonetwork/lib-spring5java11
fxprunayre Aug 16, 2023
f9c8612
[BP] Use http proxy in DOI client
josegar74 Jul 28, 2023
c4cb9dd
[BP] Fix DOI logging
josegar74 Jul 31, 2023
720d46f
[BP] Fix directive to display the most popular records, to display th…
josegar74 Aug 16, 2023
7f2f4e4
[BP] Add XmlTransient annotation to ISODate.getDateAndTimeUtc
josegar74 Jul 25, 2023
8775478
Standard / ISO19115-3 / Processing / Metadata contact lost. (#7278)
fxprunayre Aug 16, 2023
646d4f7
[BP] Standard / ISO19115-3 / Processing / Metadata contact lost. (#7278)
fxprunayre Aug 16, 2023
7fa3a8d
[BP] Fix deletion sequence in editor: wait for DOM update before saving
CMath04 Aug 1, 2023
10ed271
Fix error that would occur when there were duplicate languages. (#7275)
ianwallen Aug 18, 2023
8495e75
[BP] Fix error that would occur when there were duplicate languages. …
ianwallen Aug 18, 2023
d26daf3
WMS time dimension - basic support for time intervals (#7280)
josegar74 Aug 18, 2023
a84a30a
[BP] WMS time dimension - basic support for time intervals (#7280)
josegar74 Aug 18, 2023
76e7028
Full view on working copy fails. Fixes #7270
josegar74 Aug 18, 2023
9fba634
[BP] Full view on working copy fails. Fixes #7270
josegar74 Aug 18, 2023
0dcc9f0
Handle empty allGroupOpsAfter instead of throwing error.
ianwallen Aug 9, 2023
61941e8
[BP] Handle empty allGroupOpsAfter instead of throwing error.
ianwallen Aug 9, 2023
6328b7c
Metadata editor / display metadata uuid for remote resources if the m…
josegar74 Aug 3, 2023
3057de6
[BP] Metadata editor / display metadata uuid for remote resources if …
josegar74 Aug 3, 2023
3b97f93
Bump actions/setup-java from 3.10.0 to 3.12.0 (#7239)
dependabot[bot] Aug 23, 2023
7a972b1
Metadata index set of records - index the approved and working copies…
josegar74 Aug 24, 2023
8f1238e
[BP] Bump actions/setup-java from 3.10.0 to 3.12.0 (#7239)
dependabot[bot] Aug 23, 2023
87f4693
[BP] Metadata index set of records - index the approved and working c…
josegar74 Aug 24, 2023
f6382a8
API / Attachements / Stream files to servlet response (#7287)
fxprunayre Aug 24, 2023
622ebc9
[BP] API / Attachements / Stream files to servlet response (#7287)
fxprunayre Aug 24, 2023
562f3a0
Use resource files for messages (#7281)
zhngamy Aug 24, 2023
e3107ee
fix ui issue (#7256)
wangf1122 Aug 24, 2023
9edc96b
INSPIRE / Validation / Add API usage.
fxprunayre Aug 22, 2023
9f330a3
[BP] Use resource files for messages (#7281)
zhngamy Aug 24, 2023
48a3dc6
[BP] fix ui issue (#7256)
wangf1122 Aug 24, 2023
4dc5911
Update AbstractHttpRequest to use system proxy defined in JAVA_OPTS
josegar74 Jul 25, 2023
6742ea6
Update GeonetHttpRequestFactory to use system proxy defined in JAVA_OPTS
josegar74 Aug 2, 2023
3d88c9d
Metadata tooltips - improve the check method to try to find a match a…
josegar74 Jul 28, 2023
2eb2653
ISO19139 / ISO19115-3.2018 / Don't index resource identifiers with em…
josegar74 Jul 31, 2023
e679d59
Set html emails as utf-8
ianwallen Jul 26, 2023
3129a88
Extend keyword picker directive to support displaying all the suggest…
josegar74 Jul 14, 2023
51de002
API / CSV export / Add support for custom export. (#7132)
fxprunayre Aug 24, 2023
fa391a2
[BP] Update AbstractHttpRequest to use system proxy defined in JAVA_OPTS
josegar74 Jul 25, 2023
1f6730e
[BP] Update GeonetHttpRequestFactory to use system proxy defined in J…
josegar74 Aug 2, 2023
0df0026
[BP] ISO19139 / ISO19115-3.2018 / Don't index resource identifiers wi…
josegar74 Jul 31, 2023
4b5b14e
[BP] Set html emails as utf-8
ianwallen Jul 26, 2023
edd7aad
Do not break link in the middle of a word.
MichelGabriel Aug 24, 2023
71d40a1
Search / Aggregation on organisation in Dutch (#7290)
fxprunayre Aug 24, 2023
57b5452
[BP] Do not break link in the middle of a word.
MichelGabriel Aug 24, 2023
6c4bed2
[BP] Search / Aggregation on organisation in Dutch (#7290)
fxprunayre Aug 24, 2023
b43f881
WMS tile images - if HEAD request fails, default to OL image src set
josegar74 Aug 29, 2023
59c9b0e
Standard / ISO / Mimefiletype encoding.
fxprunayre Aug 25, 2023
3a33b6e
Metadata editor / recommended values for fields show an empty value. …
josegar74 Aug 29, 2023
b45a697
Notifications / Errors / Fix message on group creation (#7295)
fxprunayre Aug 29, 2023
5a67b96
[BP] WMS tile images - if HEAD request fails, default to OL image src…
josegar74 Aug 29, 2023
4acf93b
[BP] Standard / ISO / Mimefiletype encoding.
fxprunayre Aug 25, 2023
ba3ea19
[BP] Metadata editor / recommended values for fields show an empty va…
josegar74 Aug 29, 2023
63de4d5
[BP] Notifications / Errors / Fix message on group creation (#7295)
fxprunayre Aug 29, 2023
9f43df8
Extend ElasticSearch proxy to filter out elements defined in the sche…
josegar74 Aug 30, 2023
9548439
Fix metadata editor tooltips close button when using the icon mode
josegar74 Aug 30, 2023
3333c4c
[BP] Fix metadata editor tooltips close button when using the icon mode
josegar74 Aug 30, 2023
d7f905f
Editor / Top bar / Avoid hiding editor tabs with tool bar actions. (#…
fxprunayre Aug 30, 2023
9008874
Record view / Lineage & Quality section improvements (#7180)
fxprunayre Aug 30, 2023
cc24b33
Minor cleanup (#7301)
joachimnielandt Aug 30, 2023
6ed555d
[BP] Minor cleanup (#7301)
joachimnielandt Aug 30, 2023
94261f7
Merge branch '424-multipleinstances' into ha
fxprunayre Aug 31, 2023
71ed6ed
Merge branch '440-harvesterscheduleconfig' into ha
fxprunayre Aug 31, 2023
ec8b0b9
Fix the check to display the Transfer ownership option in the metadat…
josegar74 Aug 31, 2023
a063b81
[BP] Fix the check to display the Transfer ownership option in the me…
josegar74 Aug 31, 2023
62ead22
Fix permalink option in the application footer
josegar74 Sep 1, 2023
942eae8
[BP] Fix permalink option in the application footer
josegar74 Sep 1, 2023
dca23ed
Updated embedded documentation on naming convention for postprocessin…
Sep 1, 2023
21f7a5f
[BP] Updated embedded documentation on naming convention for postproc…
Sep 1, 2023
7fb4cea
Bump actions/checkout from 3 to 4 (#7318)
dependabot[bot] Sep 5, 2023
8e70dfc
[BP] Bump actions/checkout from 3 to 4 (#7318)
dependabot[bot] Sep 5, 2023
a64ccd0
Merge pull request #7253 from tkohr/core-main-ods-api
jahow Sep 6, 2023
cffac20
feat(ods): use ods explore api for CI_OnlineResource linkages
tkohr Jul 26, 2023
7d5422c
Hide thumbnail image in metadata page when the image can't be loaded …
josegar74 Sep 7, 2023
a0cbe44
[BP] Hide thumbnail image in metadata page when the image can't be lo…
josegar74 Sep 7, 2023
093caf0
fix(ods): add CI_OnlineResource linkages for ods v1
tkohr Jul 26, 2023
79865d1
INSPIRE ATOM - retrieve the metadata ATOM feed using only the resourc…
josegar74 Sep 7, 2023
2b188b8
[BP] INSPIRE ATOM - retrieve the metadata ATOM feed using only the re…
josegar74 Sep 7, 2023
96ac3ca
Merge remote-tracking branch 'origin/main' into ha
fxprunayre Sep 7, 2023
4e2e182
API / Sitemap / Improve speed
fxprunayre Sep 6, 2023
260719a
Fix robots.txt and sitemap 500 errors if no right content type is pro…
juanluisrp Sep 11, 2023
39932f0
[BP] Fix robots.txt and sitemap 500 errors if no right content type i…
juanluisrp Sep 11, 2023
6f2819a
Library / Update to wro4j 1.10.1 (#7315)
fxprunayre Sep 11, 2023
f895d1b
Batch editing / Update xpath spec link
fxprunayre Sep 12, 2023
1d1e364
[BP] Batch editing / Update xpath spec link
fxprunayre Sep 12, 2023
05dbac8
Remove configuration for the UI setting 'isMenubarAccessible', remove…
josegar74 Sep 13, 2023
ebcfdde
HA / Added hostname to the system information panel.
fxprunayre Sep 13, 2023
e3858fd
[BP] Remove configuration for the UI setting 'isMenubarAccessible', r…
josegar74 Sep 13, 2023
91b404d
HA / Introducing scheduled refresh of harvesterjobs.
fxprunayre Sep 13, 2023
3fc13fb
Test / Add new properties.
fxprunayre Sep 13, 2023
2d10959
Test / Remove duplicated prop.
fxprunayre Sep 14, 2023
0a95b58
Jetty / Form config consistent with default docker one
fxprunayre Sep 18, 2023
a53fc64
Jetty / Update version and fix sending mail
fxprunayre Sep 18, 2023
68f7829
User feedback API fixes:
josegar74 Sep 19, 2023
1718a02
[BP] User feedback API fixes:
josegar74 Sep 19, 2023
89194c6
Indexing / Do not create empty object if no text (#7294)
fxprunayre Sep 20, 2023
4083c63
Batch Editing access level in general system settings (#7238)
wangf1122 Sep 20, 2023
db0c9d7
[BP] Batch Editing access level in general system settings (#7238)
wangf1122 Sep 20, 2023
51c6fa4
Indexing / Do not create empty object if no text (#7349)
fxprunayre Sep 21, 2023
7d6a395
[BP] Indexing / Do not create empty object if no text (#7294)
fxprunayre Sep 20, 2023
3609c5d
Metadata editor / link to remote dataset improvements (#7324)
josegar74 Sep 21, 2023
e60c4d5
[BP] Indexing / Do not create empty object if no text (#7349)
fxprunayre Sep 21, 2023
39a36ac
Record view / Social network link points to permalink. (#7347)
fxprunayre Sep 21, 2023
08dc480
Map / Localisation / Empty results if no query (#7338)
fxprunayre Sep 21, 2023
29c7db5
[BP] Map / Localisation / Empty results if no query (#7338)
fxprunayre Sep 21, 2023
40d1e09
DOI / ISO19115-3 / Support DOI set in resource identifier or distribu…
fxprunayre Sep 21, 2023
72b8521
Adding schemapublication_dir to admin info panel
joachimnielandt Sep 21, 2023
5d175f1
Display metadata user and group owner in the transfer ownership dialog
josegar74 Aug 31, 2023
7c2fc3b
RSS / Fix number of records parameter
fxprunayre Aug 30, 2023
0a95eb4
Standard / ISO / Labels improvements (#7341)
fxprunayre Sep 21, 2023
b486ff2
Fix write after response commit on proxy response (#7353)
juanluisrp Sep 22, 2023
0a7171b
[BP] Fix write after response commit on proxy response (#7353)
juanluisrp Sep 22, 2023
e8d195d
Update xalan dependency (remove potential vuln) (#7140)
bernhardreiter Sep 22, 2023
dc68eea
Record view / Add configuration to support statistics on more than 10…
fxprunayre Sep 22, 2023
50cfa4c
Prevent invalid date written into xml (#7321)
wangf1122 Sep 22, 2023
5f45376
[BP] Prevent invalid date written into xml (#7321)
wangf1122 Sep 22, 2023
a409ffe
Fix HTML/Javascript prettier formatting / main branch
josegar74 Sep 22, 2023
45a68bf
Portal / RSS feeds point to current portal (#7343)
fxprunayre Sep 22, 2023
024681c
[BP] Portal / RSS feeds point to current portal (#7343)
fxprunayre Sep 22, 2023
6249b79
Fix HTML/Javascript prettier formatting / 4.2.x branch (#7356)
josegar74 Sep 22, 2023
6422395
Editor / Preserve scroll position on Firefox
fxprunayre Sep 21, 2023
e50ded2
Create metadata category - check doesn't exist a category with the sa…
josegar74 Sep 25, 2023
76c1dd5
[BP] Create metadata category - check doesn't exist a category with t…
josegar74 Sep 25, 2023
439b07a
Don't override proxy configuration when saving the settings, if the h…
josegar74 Sep 25, 2023
eaaff20
Map / WPS / Add support for custom parameter CRS
fxprunayre Sep 18, 2023
e8e64c7
WFS layer improvements (#7317)
fxprunayre Sep 25, 2023
f216176
Java doc. Check also GeoNetworkDataDirectory for description of folders.
fxprunayre Sep 25, 2023
0e1b413
Update harvesters/src/main/java/org/fao/geonet/kernel/harvest/Refresh…
fxprunayre Sep 25, 2023
0ce9c60
Add icons for related types (association and initiative) (#7264)
MichelGabriel Sep 25, 2023
83b6c4c
[BP] WFS layer improvements (#7317)
fxprunayre Sep 25, 2023
a4d4618
[BP] Add icons for related types (association and initiative) (#7264)
MichelGabriel Sep 25, 2023
4a61c8a
Map / WMS dimension saved in map (#7339)
fxprunayre Sep 25, 2023
052431f
[BP] Map / WMS dimension saved in map (#7339)
fxprunayre Sep 25, 2023
bf36605
Display the login menu for authenticated users when the setting 'gnCf…
josegar74 Sep 25, 2023
25f3b89
[BP] Display the login menu for authenticated users when the setting …
josegar74 Sep 25, 2023
ac11145
Add a new DOI icon (#7357)
MichelGabriel Sep 26, 2023
d2582e1
Fix CORSInterceptor, usage of a variable before is defined. Related t…
josegar74 Sep 26, 2023
731cb84
[BP] Fix CORSInterceptor, usage of a variable before is defined. Rela…
josegar74 Sep 26, 2023
07a51e6
Editor / Online source / Fix button icon
fxprunayre Sep 25, 2023
2d8e711
Indexing / Bounding Polygon / Reproject if needed #7340
Namascae Sep 27, 2023
4f9b1f2
[BP] Editor / Online source / Fix button icon
fxprunayre Sep 25, 2023
f185de7
Indexing / Bounding Polygon / Coordinate order (#7364)
fxprunayre Sep 27, 2023
91edc70
[BP] Indexing / Bounding Polygon / Reproject if needed #7340
Namascae Sep 27, 2023
2b8e097
[BP] Indexing / Bounding Polygon / Coordinate order (#7364)
fxprunayre Sep 27, 2023
2221501
Merge pull request #7337 from geonetwork/ha
fxprunayre Sep 28, 2023
02953eb
Improved handling of empty titles (#7362)
joachimnielandt Sep 28, 2023
c38b5ca
[BP] Improved handling of empty titles (#7362)
joachimnielandt Sep 28, 2023
4c3e20e
Add support for emails with subdomains (#7314)
sebr72 Sep 28, 2023
45b138e
Standard / ISO19110 improvements
fxprunayre Sep 28, 2023
6bcdf6e
[BP] Add support for emails with subdomains (#7314)
sebr72 Sep 28, 2023
208bc3f
fix for untranslated userRecord and userRecords labels in user admin …
Sep 28, 2023
4cd4bb8
[BP] fix for untranslated userRecord and userRecords labels in user a…
Sep 28, 2023
787cfd6
[BP] Standard / ISO19110 improvements
fxprunayre Sep 28, 2023
04a4c6f
Formatter / Remove unused Groovy mode. (#7346)
fxprunayre Sep 29, 2023
bd6cb1f
Map viewer / context map / only WMS layers have dimensions information
josegar74 Sep 29, 2023
5229912
[BP] Map viewer / context map / only WMS layers have dimensions infor…
josegar74 Sep 29, 2023
b173630
Send metadata mail notifications for public metadata when is re-appro…
josegar74 Sep 29, 2023
4569d68
[BP] Send metadata mail notifications for public metadata when is re-…
josegar74 Sep 29, 2023
4388436
Move datastorage providers to maven modules and include them in the b…
josegar74 Sep 29, 2023
182b4f3
Fix working copy display so that links go to working copy (#7248)
ianwallen Sep 29, 2023
56c1b89
[BP] Fix working copy display so that links go to working copy (#7248)
ianwallen Sep 29, 2023
6b0baee
Map viewer / Option to configure WMS tiling (#7312)
josegar74 Sep 29, 2023
85d0c3a
[BP] Map viewer / Option to configure WMS tiling (#7312)
josegar74 Sep 29, 2023
f1e2f2b
Groups maintenance / fix the display of the metadata owned by a group…
josegar74 Sep 29, 2023
1132dd9
[BP] Groups maintenance / fix the display of the metadata owned by a …
josegar74 Sep 29, 2023
7f3230b
Record view / Support multiple status.
fxprunayre Sep 28, 2023
73f22eb
[BP] Record view / Support multiple status.
fxprunayre Sep 28, 2023
1579d52
batch edit user profile check in APIs (#7243)
wangf1122 Sep 29, 2023
d9ea38d
[BP] batch edit user profile check in APIs (#7243)
wangf1122 Sep 29, 2023
d2b8747
User Manual refresh using Markdown and MkDocs (#7329)
jodygarnett Oct 2, 2023
031b52c
[BP] User Manual refresh using Markdown and MkDocs (#7329)
jodygarnett Oct 2, 2023
11a08de
Create CNAME
juanluisrp Oct 2, 2023
3e764fe
Workflow / Related records of the draft (#7377)
fxprunayre Oct 2, 2023
a2eb2c9
[BP] Workflow / Related records of the draft (#7377)
fxprunayre Oct 2, 2023
d6c2907
Update MkDocs configuration to publish to gh-pages branch (#7375)
josegar74 Oct 2, 2023
73c696e
[BP] Update MkDocs configuration to publish to gh-pages branch (#7375)
josegar74 Oct 2, 2023
6482aed
Update Java version and include the information in the readme.html in…
josegar74 Oct 3, 2023
ca85e1f
Fixed typos for SOURCE.md (#7384)
SuperOctocat Oct 3, 2023
3cf5249
[BP] Fixed typos for SOURCE.md (#7384)
SuperOctocat Oct 3, 2023
2b82962
Documentation 4.4: Update Java references to Java 11, update link to …
josegar74 Oct 3, 2023
f4b57bd
Jetty bundle / Add JAVA_OPTS configuration for the /monitor/metrics e…
josegar74 Oct 3, 2023
5145869
Documentation 4.2: Update link to the 4.2 manual and release scripts …
josegar74 Oct 3, 2023
a1e9ce7
Make samples generate new uuid so that they don't overwrite any exist…
Aug 15, 2023
dd03e1b
Changed GENERATEUUID to NOTHING based on discussion on issue #7274
ianwallen Sep 29, 2023
788d6b4
[BP] Changed GENERATEUUID to NOTHING based on discussion on issue #7274
ianwallen Sep 29, 2023
362917a
Doc / Changelog / 4.2.6 and 4.4.0 (#7392)
fxprunayre Oct 4, 2023
cabe4fd
Doc / Changelog / 4.2.6. (#7393)
fxprunayre Oct 4, 2023
d7b4ae6
Update version to 4.2.6-0
josegar74 Oct 4, 2023
19b9edb
Update version to 4.4.0-0
fxprunayre Oct 4, 2023
0200c53
Merge branch '4.2.6' into georchestra-gn4.2.x-rebase
f-necas Nov 16, 2023
7293bc8
Merge tag '4.4.0' into 4.4.0-rebase
f-necas Nov 16, 2023
09c98a1
feat: implement georchestra needs
f-necas Nov 16, 2023
8ddc309
feat: update submodules for 4.4.0
f-necas Nov 16, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
14 changes: 8 additions & 6 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,10 +13,10 @@ name: "CodeQL"

on:
push:
branches: [ main ]
branches: [ 4.2.x ]
pull_request:
# The branches below must be a subset of the branches above
branches: [ main ]
branches: [ 4.2.x ]
schedule:
- cron: '44 20 * * 5'

Expand All @@ -38,12 +38,14 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3

uses: actions/checkout@v4
with:
show-progress: 'false'

- name: Setup Java JDK
uses: actions/setup-java@v3.5.1
uses: actions/setup-java@v3.12.0
with:
java-version: 8
java-version: 11
# Java distribution. See the list of supported distributions in README file
distribution: temurin
# The package type (jdk, jre, jdk+fx, jre+fx)
Expand Down
6 changes: 4 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ git*.properties
*/*/.*
*/*/target/
*/target/
.*/
GeoNetwork*
**/.idea
**/.settings
#GeoNetwork*
/geonetwork*
camel-harvesters/wfsfeature-harvester/logs
changes-*
Expand Down Expand Up @@ -81,6 +82,7 @@ web/src/main/webapp/WEB-INF/data/wro4j-cache*
web/src/main/webapp/WEB-INF/data_*
web/src/main/webapp/WEB-INF/metadata_subversion/
web/src/main/webapp/WEB-INF/server.prop
web/src/main/webapp/WEB-INF/prebuilt
web/src/main/webapp/data/
web/src/main/webapp/doc/en
web/src/main/webapp/doc/fr
Expand Down
3 changes: 0 additions & 3 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,3 @@
[submodule "web-ui/src/main/resources/catalog/lib/bootstrap-table"]
path = web-ui/src/main/resources/catalog/lib/bootstrap-table
url = https://github.com/wenzhixin/bootstrap-table.git
[submodule "docs/manuals"]
path = docs/manuals
url = https://github.com/geonetwork/doc.git
1 change: 1 addition & 0 deletions CNAME
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
docs.geonetwork-opensource.org
10 changes: 5 additions & 5 deletions SECURITY.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ Each GeoNetwork release is supported with bug fixes for a limited period, with p
- We recommend to update to latest incremental release as soon as possible to address security vulnarabilities.
- Some overlap is provided when major versions are announced with both a current version and a maintenance version being made available to provide time for organizations to upgrade.

| Version | Supported | Comment |
| ----------- | ------------------ |------------------------ |
| 4.2.x | :white_check_mark: | Current version |
| 4.0.x | :white_check_mark: | Maintenance version |
| 3.12.x | :white_check_mark: | Maintenance version |
| Version | Supported | Comment |
|---------| ------------------ |------------------------ |
| 4.4.x | :white_check_mark: | Current version |
| 4.2.x | :white_check_mark: | Maintenance version |
| 3.12.x | :white_check_mark: | Maintenance version |

If your organisation is making use of a GeoNetwork version that is no longer in use by the community all is not lost. You can volunteer on the developer list to make additional releases, or engage with one of our [Commercial Support](https://www.osgeo.org/service-providers/?p=geonetwork) providers.

Expand Down
2 changes: 1 addition & 1 deletion cachingxslt/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<parent>
<groupId>org.geonetwork-opensource</groupId>
<artifactId>geonetwork</artifactId>
<version>4.2.2-georchestra</version>
<version>4.4.0-georchestra</version>
</parent>


Expand Down
9 changes: 0 additions & 9 deletions code_quality/findbugs-excludes.xml
Original file line number Diff line number Diff line change
Expand Up @@ -230,15 +230,6 @@
<Bug pattern="DC_DOUBLECHECK"/>
<Method name="getSupportedExts"/>
</Match>
<Match>
<Class name="org.fao.geonet.api.records.formatters.groovy.util.AssociatedLink"/>
<Bug pattern="EQ_DOESNT_OVERRIDE_EQUALS"/>
<Method name="equals"/>
</Match>
<Match>
<Class name="org.fao.geonet.api.records.formatters.groovy.util.LinkType"/>
<Bug pattern="URF_UNREAD_PUBLIC_OR_PROTECTED_FIELD"/>
</Match>
<Match>
<Class name="org.fao.geonet.api.regions.ListRegionsResponse"/>
<Bug pattern="URF_UNREAD_FIELD"/>
Expand Down
33 changes: 13 additions & 20 deletions common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
<parent>
<groupId>org.geonetwork-opensource</groupId>
<artifactId>geonetwork</artifactId>
<version>4.2.2-georchestra</version>
<version>4.4.0-georchestra</version>
</parent>


Expand Down Expand Up @@ -85,6 +85,10 @@
<groupId>org.apache.jcs</groupId>
<artifactId>jcs</artifactId>
</dependency>
<dependency>
<groupId>xalan</groupId>
<artifactId>serializer</artifactId>
</dependency>
<dependency>
<groupId>net.sf.saxon</groupId>
<artifactId>saxon</artifactId>
Expand Down Expand Up @@ -178,6 +182,14 @@
<groupId>org.bitbucket.cowwoc</groupId>
<artifactId>diff-match-patch</artifactId>
</dependency>
<dependency>
<groupId>javax.annotation</groupId>
<artifactId>javax.annotation-api</artifactId>
</dependency>
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
</dependency>
</dependencies>

<build>
Expand Down Expand Up @@ -207,25 +219,6 @@
</plugins>
</build>
</profile>
<profile>
<id>jdk11+</id>
<activation>
<jdk>[11,)</jdk>
</activation>
<properties>
<java.version>11</java.version>
</properties>
<dependencies>
<dependency>
<groupId>javax.annotation</groupId>
<artifactId>javax.annotation-api</artifactId>
</dependency>
<dependency>
<groupId>javax.xml.bind</groupId>
<artifactId>jaxb-api</artifactId>
</dependency>
</dependencies>
</profile>
</profiles>
<properties>
<rootProjectDir>${basedir}/..</rootProjectDir>
Expand Down
24 changes: 12 additions & 12 deletions common/src/main/java/org/fao/geonet/utils/AbstractHttpRequest.java
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2001-2016 Food and Agriculture Organization of the
* Copyright (C) 2001-2023 Food and Agriculture Organization of the
* United Nations (FAO-UN), United Nations World Food Programme (WFP)
* and United Nations Environment Programme (UNEP)
*
Expand Down Expand Up @@ -83,7 +83,7 @@ public class AbstractHttpRequest {
private boolean useProxy;
private String proxyHost;
private int proxyPort;
private ArrayList<NameValuePair> alSimpleParams = new ArrayList<NameValuePair>();
private ArrayList<NameValuePair> alSimpleParams = new ArrayList<>();
private String postData;
private boolean preemptiveBasicAuth;
private HttpClientContext httpClientContext;
Expand Down Expand Up @@ -303,9 +303,9 @@ protected HttpRequestBase setupHttpMethod() throws IOException {
}

if (host == null || protocol == null) {
throw new IllegalStateException(String.format(getClass().getSimpleName() + " is not ready to be executed: \n\tprotocol: '%s' " +
throw new IllegalStateException(String.format("%s is not ready to be executed: \n\tprotocol: '%s' " +
"\n\tuserinfo: '%s'\n\thost: '%s' \n\tport: '%s' \n\taddress: '%s'\n\tquery '%s'" +
"\n\tfragment: '%s'", protocol, userInfo, host, port, address, query, fragment));
"\n\tfragment: '%s'", getClass().getSimpleName(), protocol, userInfo, host, port, address, query, fragment));
}

HttpRequestBase httpMethod;
Expand Down Expand Up @@ -352,25 +352,25 @@ protected HttpRequestBase setupHttpMethod() throws IOException {

protected String getSentData(HttpRequestBase httpMethod) {
URI uri = httpMethod.getURI();
StringBuilder sentData = new StringBuilder(httpMethod.getMethod()).append(" ").append(uri.getPath());
StringBuilder sentDataValue = new StringBuilder(httpMethod.getMethod()).append(" ").append(uri.getPath());

if (uri.getQuery() != null) {
sentData.append("?" + uri.getQuery());
sentDataValue.append("?" + uri.getQuery());
}

sentData.append("\r\n");
sentDataValue.append("\r\n");

for (Header h : httpMethod.getAllHeaders()) {
sentData.append(h);
sentDataValue.append(h);
}

sentData.append("\r\n");
sentDataValue.append("\r\n");

if (httpMethod instanceof HttpPost) {
sentData.append(postData);
sentDataValue.append(postData);
}

return sentData.toString();
return sentDataValue.toString();
}

private Element soapEmbed(Element elem) {
Expand All @@ -393,7 +393,7 @@ protected Element soapUnembed(Element envelope) throws BadSoapResponseEx {

List<Element> list = body.getChildren();

if (list.size() == 0)
if (list.isEmpty())
throw new BadSoapResponseEx(envelope);

return list.get(0);
Expand Down
56 changes: 56 additions & 0 deletions common/src/main/java/org/fao/geonet/utils/Env.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
//=============================================================================
//=== Copyright (C) 2001-2023 Food and Agriculture Organization of the
//=== United Nations (FAO-UN), United Nations World Food Programme (WFP)
//=== and United Nations Environment Programme (UNEP)
//===
//=== This program is free software; you can redistribute it and/or modify
//=== it under the terms of the GNU General Public License as published by
//=== the Free Software Foundation; either version 2 of the License, or (at
//=== your option) any later version.
//===
//=== This program is distributed in the hope that it will be useful, but
//=== WITHOUT ANY WARRANTY; without even the implied warranty of
//=== MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
//=== General Public License for more details.
//===
//=== You should have received a copy of the GNU General Public License
//=== along with this program; if not, write to the Free Software
//=== Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
//===
//=== Contact: Jeroen Ticheler - FAO - Viale delle Terme di Caracalla 2,
//=== Rome - Italy. email: [email protected]
//==============================================================================

package org.fao.geonet.utils;

import org.apache.commons.lang.StringUtils;

public final class Env {

/**
* Retrieves an environment variable with this priority:
* - Java environment variable.
* - System environment variable.
* - Default value provided as parameter.
*
* @param propertyName
* @param defaultValue
* @return
*/
public static String getPropertyFromEnv(String propertyName, String defaultValue) {
// Check if provided in Java environment variable
String propertyValue = System.getProperty(propertyName);

if (StringUtils.isEmpty(propertyValue)) {
// System environment variable
propertyValue = System.getenv(propertyName.toUpperCase().replace('.', '_'));
}

if (StringUtils.isEmpty(propertyValue)) {
propertyValue = defaultValue;
}

return propertyValue;
}

}
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (C) 2001-2016 Food and Agriculture Organization of the
* Copyright (C) 2001-2023 Food and Agriculture Organization of the
* United Nations (FAO-UN), United Nations World Food Programme (WFP)
* and United Nations Environment Programme (UNEP)
*
Expand Down Expand Up @@ -200,6 +200,7 @@ public HttpClientBuilder getDefaultHttpClientBuilder() {
final HttpClientBuilder builder = HttpClientBuilder.create();
builder.setRedirectStrategy(new LaxRedirectStrategy());
builder.disableContentCompression();
builder.useSystemProperties();

synchronized (this) {
if (connectionManager == null) {
Expand Down Expand Up @@ -249,40 +250,40 @@ public void closeIdleConnections(long idleTimeout, TimeUnit tunit) {

private static class AdaptingResponse extends AbstractClientHttpResponse {

private final CloseableHttpResponse _response;
private final CloseableHttpClient _client;
private final CloseableHttpResponse response;
private final CloseableHttpClient client;

public AdaptingResponse(CloseableHttpClient client, CloseableHttpResponse response) {
this._response = response;
this._client = client;
this.response = response;
this.client = client;
}

@Override
public int getRawStatusCode() throws IOException {
return _response.getStatusLine().getStatusCode();
return response.getStatusLine().getStatusCode();
}

@Override
public String getStatusText() throws IOException {
return _response.getStatusLine().getReasonPhrase();
return response.getStatusLine().getReasonPhrase();
}

@Override
public void close() {
IOUtils.closeQuietly(_response);
IOUtils.closeQuietly(_client);
IOUtils.closeQuietly(response);
IOUtils.closeQuietly(client);
}

@Override
public InputStream getBody() throws IOException {
return _response.getEntity().getContent();
return response.getEntity().getContent();
}

@Override
public HttpHeaders getHeaders() {
final HttpHeaders httpHeaders = new HttpHeaders();

final Header[] headers = _response.getAllHeaders();
final Header[] headers = response.getAllHeaders();

for (Header header : headers) {
final HeaderElement[] elements = header.getElements();
Expand Down
Loading
Loading