Commit Graph

2689 Commits

Author SHA1 Message Date
Kim Shepherd
069674e7ee [TLC-674] Duplicate Detection service and submission step
Service, submission step, integration tests
2024-03-04 11:39:48 +13:00
frabacche
74bb1be98e coar-notify-7 config QAsecurity submitter-based for coar-notify source 2024-02-29 14:54:23 +01:00
frabacche
6de1089e12 LDN restore configs 2024-02-29 12:59:25 +01:00
frabacche
1266d560d8 Merge remote-tracking branch 'origin/main' into coar-notify-7 2024-02-29 10:14:26 +01:00
frabacche
9b795b7dbd QA restore security, COAR sub section fix emptying request services, restore "openaire" lowercase as a Source. 2024-02-29 10:11:03 +01:00
frabacche
37e38c9ad9 Merge remote-tracking branch 'origin/main' into coar-notify-7 2024-02-29 10:05:40 +01:00
jeffmorin
1a3c0726dc Content reports ported from DSpace 6.x (#8598)
* content Reports

* Fixed CheckStyle errors

* Fixed CheckStyle errors

* Fixed CheckStyle errors

* First batch of fixes: mainly Javadoc, and a bit of code re-engineering

* Fixed CheckStyle errors

* Fixed CheckStyle errors in dspace-server-webapp

* Applied requested changes for DSpace code conventions compliance

* Added GET endpoint to Filtered Items report

* Updated to latest version from main branch

* Fixed missing imports

* Fixed CheckStyle errors

* Fixed H2 database initialization

* Fixed unit tests and an integration test

* Fixed CheckStyle errors

* Fixed CheckStyle errors

* Fixed ItemServiceIT test

* Test without collection criterion

* Fixed max result count in integration test

* Disable findByMetadataQuery test to diagnose errors in other tests

* Disabled ContentReportRestRepositoryIT test to validate existing tests

* Re-enable test in dspace-api

* Re-enabled ContentReportRestRepositoryIT tests to diagnose failures

* Fixed item matching in the second test

* Fixed JSON path error

* Use projections to trigger embedding the owning collection in ItemRest only for the Filtered Items report

* Fixed usage of allowEmbedding() through non-null arguments

* Exclude owning collection from ItemRest when null/empty

* Trying an alternate way to discriminate report-based Item conversions

* Fixed embedded owning collection management

* Replaced ItemConverter with correct version

* Fixed Filtered Collections test in ContentReportRestRepositoryIT

* Fixed test

* Transferred owning collection to a separate class FilteredItemRest

* Rollback to DSpace repo version

* Fixed matcher for Filtered Collections summary

* Fixed matcher for Filtered Collections summary (take 2)

* Add printing mock request results to diagnose remaining problems

* Try logging output through System.err

* Cancelled attempt to print JSON results (does nothing)

* Attempt to fix ContentReportRestRepositoryIT tests

* Removed predefined UUIDs and handles

* Fixed import formatting

* Fixed expected results in ContentReportRestRepositoryIT

* Switched to a custom matcher for the Filtered Item report test

* Fixed import format

* Fixed JSON collection matching in Filtered Items test

* Fixed Filtered Items matcher

* Fixed expected result

* Fixed the test for now...

* Fixed test again

* Disabled non-working test

* Fixed a few typos

* Moved Filtered Collections report business logic to dspace-api

* Fixed outdated controller

* Fixed import and lost @Ignore annotation

* Retrieved a lost test correction

* Fixed Filtered Collections test

* Reverted to the last working version (except for 2nd test, which remains
disabled)

* Moved Filtered Items report business logic to dspace-api

* Fixed import style

* Added switch to enable/disable Content Reports

* Fixed an out-of-date class

* Removed unused imports

* Fixed activation configuration for Content Reports

* Added missing @Test annotation

* A forgotten Hibernate dialect configuration. I also removed obsolete
Oracle settings configuration.

* Switched to GET requests for Content Reports

* Switched to GET requests for Content Reports

* Fixed styling in imports

* Fixed imports

* Cleaned deprecated code

* Simplified regex since trim() method is invoked on each token thereafter

* Added Javadoc in the interface.

* Relocated Content Reports configuration into a new file

* Added "unauthorized" tests and cleaned up code repetitions

* Fixed parameter according to Javadoc

* Fixed Filtered Items test

* Use of @ConditionalOnProperty annotation

* Rolled back to manual parameter managing

* Second try on @ConditionalOnProperty, with proper test configuration

* Rolled back (again) to manual service activation checking (needed for
proper behaviour depending on activation and authorization)

* Eliminated inheritance between FilteredItemRest and ItemRest

* Re-established the type property in FilteredItemRest (and in
FilterCollectionRest for uniformity).

---------

Co-authored-by: Jean-François Morin <jean-francois.morin@bibl.ulaval.ca>
2024-02-28 11:48:16 -06:00
Agustina Martinez
a8e81da7af Update rioxx.xsl
rioxx.xsl: update incorrect COAR version url for 'vor'
2024-02-28 11:17:07 +00:00
Tim Donohue
ff302597c1 Merge pull request #9267 from 4Science/CST-12108-WithdrawnAndReinstate_topics
Create a DSpace Users correction source with REQUEST/WITHDRAWN and REQUEST/REINSTATE topics
2024-02-27 15:08:45 -06:00
frabacche
460dad3096 coar-notify-7 notifyService set usable item-filters, IT ip-range check fix 2024-02-27 13:45:20 +01:00
kshepherd
a158a9b272 Merge pull request #8986 from mirkoscherf/8985-build_fails_when_versioning_is_disabled
fix: add default HandleIdentifierProvider for disabled versioning
2024-02-27 15:33:12 +13:00
kshepherd
386b6f8b1f Merge pull request #9336 from tdonohue/add_swordv2_its
Add more SWORDv2 Integration Tests
2024-02-27 11:43:19 +13:00
frabacche
08277e0dad coar-notify-7 incoming ldn message block configs, new item-filters map, hide coarnotify section on submission, IT fixes 2024-02-26 23:36:32 +01:00
frabacche
79155a26ba coar-notify-7 incoming ldn message block configs, new item-filters map, hide coarnotify section on submission, IT fixes 2024-02-26 23:35:34 +01:00
frabacche
3a5ca68ae5 Merge branch 'main' of github.com:4Science/DSpace into coar-notify-7 2024-02-22 19:14:33 +01:00
frabacche
cca9654da4 coar-notify-7 use only ldn.enabled variable for ldn enabling configuration 2024-02-22 18:49:22 +01:00
Mykhaylo
b18a63a2c7 Merge branch 'main' into CST-12108-WithdrawnAndReinstate_topics 2024-02-22 18:46:14 +01:00
Tim Donohue
422376dd14 Merge pull request #9339 from the-library-code/DataCiteSchema4.5
Update of DataCite crosswalk to metadata schema 4.5
2024-02-22 10:05:35 -06:00
frabacche
333552e43f Merge remote-tracking branch 'github/main' into coar-notify-7 2024-02-22 13:47:37 +01:00
Tim Donohue
ee66e32ac2 Merge pull request #9348 from alexandrevryghem/added-recently-added-section-to-community-page_contribute-main
Added community & collection discovery configurations
2024-02-21 12:16:41 -06:00
frabacche
ad40858bbb coar-notify-7 merge conflicts fixes, ldn configuration fixes 2024-02-21 16:38:34 +01:00
Mykhaylo Boychuk
36bfe58060 [CST-12108] remove creationForm attribute as not needed 2024-02-20 22:50:04 +01:00
Philipp Rumpf
d09d6319f6 MultipleParallelImportMetadataSourceServiceImpl.java
This is what the University of Bamberg
uses (https://fis.uni-bamberg.de) to look up DOIs specified by the
user for import in both the Crossref registry and the DataCite
registry, in parallel.

This source can be specified just once, replacing the Crossref and
DataCite sources by a single entry.
2024-02-20 14:46:01 +00:00
frabacche
1f438d1665 coar-notify-7 comment an old configuration, checkstyle 2024-02-20 14:48:48 +01:00
Mykhaylo Boychuk
7079654f8b [CST-12108] fix community feedback 2024-02-20 13:25:56 +01:00
Mykhaylo Boychuk
a2ee986f7f [CST-12108] move configurations to qaevents.cfg 2024-02-20 13:21:54 +01:00
Pascal-Nicolas Becker
1a567827df Changing a comment on DIM2DataCite.xsl 2024-02-20 12:45:31 +01:00
Mykhaylo Boychuk
536c930dfc [CST-12108] restored sort 2024-02-19 21:46:42 +01:00
frabacche
feb2c8b48d coar-notify-7 sql h2 alignment, java fixes and refactors, configuration fixes 2024-02-19 17:49:30 +01:00
Mykhaylo
a92c478ef4 Merge branch 'main' into CST-12108-WithdrawnAndReinstate_topics 2024-02-19 12:50:07 +01:00
Alexandre Vryghem
725430ea40 Merge remote-tracking branch 'upstream/main' into added-recently-added-section-to-community-page_contribute-main 2024-02-18 16:12:33 +01:00
Alexandre Vryghem
f942465410 110889: Added community & collection discovery configuration 2024-02-18 16:12:07 +01:00
Tim Donohue
fc5ec8f6f0 Merge pull request #9346 from tuub/DS-9345
[DS-9345] Correct the package name of the IIIF search plugin
2024-02-16 11:08:19 -06:00
Tim Donohue
9b0e38a847 Merge pull request #9237 from 4Science/main_CST-12826
ROR Integration - OAI PMH & Orcid
2024-02-16 10:41:32 -06:00
haoueclf
03fe586681 [DS-9345] Correct the package name of the IIIF search plugin 2024-02-16 16:51:41 +01:00
Yannick Paulsen
5db110a19f Update of DataCite crosswalk to metadata schema 4.5 2024-02-16 12:08:00 +01:00
frabacche
094637dc0c coar-notify-7 merge with main 2024-02-16 10:51:11 +01:00
Tim Donohue
eeee029510 Add more ITs to SWORDv2 to verify basic upload, edit, delete functionality. These all pass prior to any SWORDv2 refactoring 2024-02-15 14:58:57 -06:00
Tim Donohue
a986e8e43f Merge pull request #8280 from 4Science/CST-5249_suggestion
Openaire suggestions (publication claim)
2024-02-15 10:24:20 -06:00
Vincenzo Mecca
d6741fd610 Merge remote-tracking branch 'DSpace/main' into main_CST-12826
# Conflicts:
#	dspace-server-webapp/src/test/java/org/dspace/app/rest/RorImportMetadataSourceServiceIT.java
#	dspace/config/spring/api/ror-integration.xml
2024-02-15 10:13:28 +01:00
Tim Donohue
20c8b03c50 Merge pull request #9238 from 4Science/main_CST-12825
ROR Integration - Live Import
2024-02-14 15:16:23 -06:00
frabacche
d7350437f2 coar-notify-7 follow-ups on the community advices 2024-02-14 17:54:08 +01:00
Tim Donohue
dfe951b805 Merge pull request #9259 from toniprieto/configure-submission-form-by-community
Configure Item submission process at community level
2024-02-13 14:04:53 -06:00
Tim Donohue
3ced6586c4 Merge pull request #9194 from 4Science/DURACOM-204
[#9192] Makes forgot-password link removable
2024-02-13 12:31:34 -06:00
Vincenzo Mecca
f75eed90fa Merge remote-tracking branch 'DSpace/main' into main_CST-12826
# Conflicts:
#	dspace/config/spring/api/virtual-metadata.xml.openaire4
2024-02-13 19:14:13 +01:00
Vincenzo Mecca
57a8b650d7 [#9237][CST-12826] Refactors ROR metadata mappings 2024-02-13 19:09:52 +01:00
frabacche
cdaa500be4 Merge branch 'main' into CST-5249_suggestion 2024-02-13 12:03:12 +01:00
frabacche
c2f0c6f331 CST-5249_suggestion datescorer remove date range + docker config fixes 2024-02-13 11:10:54 +01:00
Tim Donohue
adef5528f6 Merge pull request #9231 from amgciadev/fix-9075-b
RIOXX v3 OAI profile support
2024-02-12 09:26:19 -06:00
Vincenzo Mecca
c448e3201a [#9238][CST-12825] Removes oaire-cerif types 2024-02-12 13:28:36 +01:00