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

build(deps): bump org.eclipse.jetty.http2:http2-server from 9.4.53.v20231009 to 9.4.54.v20240208 #516

Open
wants to merge 103 commits into
base: 7_x-prod
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
103 commits
Select commit Hold shift + click to select a range
2ab6776
Port some configs from DSpace 6
alanorth Aug 4, 2022
6acd451
dspace/config: enable localhost:4000 for REST API
alanorth Aug 4, 2022
b271ee9
dspace.cfg: disable extra "browse by"
alanorth Aug 4, 2022
405b823
dspace: add controlled vocabularies
alanorth Aug 5, 2022
c2c8629
dspace/config: import latest spider lists
alanorth Aug 5, 2022
5d1d318
dspace/config: adjust usage statistics
alanorth Sep 6, 2022
5384713
dspace.cfg: override ImageMagick density
alanorth Nov 1, 2022
1f1637a
dspace.cfg: enable eperson.subscription.onlynew
alanorth Dec 8, 2022
432a95a
dspace/config: enable LDAP authentication
alanorth Dec 11, 2022
fa0b68d
Add IDs to controlled vocabularies
alanorth Feb 27, 2023
81b537d
Add IDs to dcterms-subject.xml
alanorth Feb 28, 2023
0d53447
discovery.xml: add some CGSpace filters
alanorth Mar 2, 2023
15c1189
discovery.xml: update default filters
alanorth Mar 2, 2023
a5d4b30
discovery.xml: more filter adjustments
alanorth Mar 2, 2023
c039a61
discovery.xml: add more facets
alanorth Mar 2, 2023
8fa18f9
dspace/config/spiders: update agents
alanorth Mar 3, 2023
3b26b51
dspace.cfg: increase thumbnail size to 500px
alanorth Mar 10, 2023
17c96c2
dspace: use CG Core fields for CrossRef import
alanorth May 31, 2023
423fe46
dspace: use cg.identifier.doi for Datacite import
alanorth May 31, 2023
e9ae0e7
dspace: use CG Core fields for PubMed import
alanorth May 31, 2023
a2ac77f
Add dspace/config/default.license
alanorth Jun 13, 2023
412e5d9
dspace/config: import submission forms again
alanorth Jun 14, 2023
c581c77
dspace/config: enable Sherpa Romeo summary for ISSNs
alanorth Jun 14, 2023
a2f98c3
dspace.cfg: enable item counts aka "strengths"
alanorth Jun 16, 2023
df17503
dspace/config: dc.date.issued → dcterms.issued
alanorth Jun 16, 2023
537e178
dspace/config: enable LDAP authentication
alanorth Jun 21, 2023
d966a08
dspace/config: use OU=ILRIHUB in ldap group map
alanorth Jun 21, 2023
fc6c939
dspace/config: disable ldap groupmap
alanorth Jun 21, 2023
a4e3a96
dspace/config: update abstract in discovery.xml
alanorth Jun 21, 2023
30f1d51
dspace/config: remove subregion value pairs from submission form
alanorth Jun 27, 2023
cd7eb52
dspace/config: update discovery.xml
alanorth Jun 27, 2023
472dbae
dspace/config: update discovery.xml
alanorth Jun 28, 2023
289911a
dspace/config: remove srsc from submission-forms.xml
alanorth Jun 29, 2023
95cd2bd
dspace.cfg: enable linked browse for some fields
alanorth Jul 26, 2023
f555b1d
dspace-rest: allow bundleName parameter in bitstream endpoint
alanorth Aug 14, 2023
211d89b
discovery.xml: move subject facet up
alanorth Aug 30, 2023
328437a
discovery.xml: add publisher to search facets
alanorth Aug 31, 2023
44d09c6
discovery.xml: Update indexes
alanorth Sep 4, 2023
09cad95
submission-forms.xml: use input type tag for more fields
alanorth Sep 8, 2023
3ea3de3
submission-forms.xml: move CRPs down
alanorth Sep 8, 2023
f3dcb2c
submission-forms.xml: move SDGs down
alanorth Sep 8, 2023
c90d722
submission-forms.xml: add CGIAR Impact Platforms
alanorth Sep 8, 2023
364772e
submission-forms.xml: indicate CRPs are 2012-2021
alanorth Sep 8, 2023
7552489
dspace.cfg: disable automatic browses for some fields
alanorth Sep 8, 2023
334fb62
submission-forms.xml: revert some changes to tags
alanorth Sep 10, 2023
563bcf7
submission-forms.xml: don't use tag input type
alanorth Sep 10, 2023
068c2c1
submission-forms.xml: fix AGROVOC field
alanorth Sep 11, 2023
6e9bfcb
discovery.xml: re-work facets
alanorth Sep 11, 2023
63ed990
dspace/config: remove browse links
alanorth Sep 12, 2023
f9846a0
dspace.cfg: add Google Analytics key
alanorth Sep 18, 2023
4a154c7
submission-forms.xml: update CGIAR Impact Platforms
alanorth Sep 21, 2023
4420c03
dspace/config/modules: disable automatic Discovery reindexing
alanorth Sep 25, 2023
b181136
dspace: disable versioning
alanorth Oct 3, 2023
be188c9
discovery.xml: re-order sort fields for MyDSpace
alanorth Oct 3, 2023
6d7c863
dspace/config/dspace.cfg: enable assumelogin
alanorth Oct 11, 2023
ce373c1
dspace/config/crosswalks: update OAI mods crosswalk
alanorth Oct 17, 2023
f8a3b22
dspace/config/crosswalks: update other crosswalks
alanorth Oct 17, 2023
ec40d2b
Revert "dspace/config: disable ldap groupmap"
alanorth Oct 30, 2023
efe221b
dspace/config/log4j2.xml: reduce noisy logs
alanorth Nov 2, 2023
47898f2
discovery.xml: minor adjustment to date sorting
alanorth Nov 6, 2023
937d93e
dspace/config: add more bot overrides
alanorth Nov 23, 2023
55f0558
dspace/config: update OAI mods crosswalk
alanorth Nov 30, 2023
e54377a
dspace/config: update ORCID in submission form
alanorth Dec 1, 2023
eae64f7
dspace/config: make DOI non-repeatable in submission form
alanorth Dec 5, 2023
e466924
dspace/config: make series name/number not repeatable
alanorth Dec 5, 2023
e40c42a
dspace/config/spiders: remove ^mozilla from spiders
alanorth Dec 12, 2023
e2ae3b7
dspace/config: make related reference repeatable
alanorth Dec 27, 2023
2dff0b8
Add country code tagger curation task
alanorth Jan 2, 2024
474554e
dspace/config: add CGIAR Trust Fund to sponsors
alanorth Jan 8, 2024
1df42d6
Add ilri scripts
alanorth Jan 8, 2024
c130866
dspace/config: remove subregion browse
alanorth Jan 8, 2024
aa406af
dspace/config: update ORCID identifiers
alanorth Jan 9, 2024
d4b1ce1
dspace/solr: Increase maxBooleanClauses for all cores
alanorth Jan 9, 2024
c6922c2
dspace/config: add controlled vocabulary for publishers
alanorth Jan 10, 2024
bcb131f
dspace/config: update affiliations
alanorth Jan 14, 2024
054d7ac
dspace/config: update author controlled vocab
alanorth Jan 16, 2024
26e43db
dspace/config: update Initiative name
alanorth Jan 18, 2024
f9684e6
dspace/config: update author
alanorth Jan 22, 2024
9214331
ilri: set connection read_only for dry run
alanorth Jan 23, 2024
363ced1
dspace/config: update ORCID identifiers
alanorth Jan 23, 2024
d6dbfe1
dspace/config: add cg.place to submission-forms.xml
alanorth Jan 24, 2024
8c3e04b
dspace/config: adjust submission form
alanorth Jan 26, 2024
9085840
dspace/config: add project identifier to submission form
alanorth Jan 26, 2024
809e5cc
dspace/config: add IFPRI publication rank to submission form
alanorth Jan 26, 2024
54e7516
dspace/config: remove incorrect ORCID identifier
alanorth Feb 1, 2024
c976557
dspace/config: update sponsor hint in submission form
alanorth Feb 1, 2024
b592182
dspace/config: move common languages in submission form
alanorth Feb 1, 2024
805dc42
dspace/config: remove some old donors from vocabulary
alanorth Feb 1, 2024
92397f1
dspace/config: minor update on submission form hint
alanorth Feb 1, 2024
49268fe
dspace/config: remove duplicate ORCID identifier
alanorth Feb 2, 2024
4b7449d
dspace/config: update controlled vocabulary for ORCID identifiers
alanorth Feb 6, 2024
f21324a
dspace/config: add controlled vocabulary for project identifier
alanorth Feb 8, 2024
5069380
dspace/config: only show ISSN for journal articles
alanorth Feb 9, 2024
c8a74e9
dspace/config: minor tweak to related reference
alanorth Feb 9, 2024
c048fa2
submission-forms.xml: re-work some URL fields
alanorth Feb 22, 2024
052e3a7
dspace: fix author name in controlled vocabulary
alanorth Feb 26, 2024
f18b32f
dspace/config: fix IFPRI project identifier
alanorth Feb 27, 2024
991dabf
dspace/config: update author controlled vocabulary
alanorth Feb 27, 2024
1a7dbc1
dspace/config: update project identifiers
alanorth Feb 29, 2024
dd9bbf1
dspace: disable controlled vocabulary for journal
alanorth Mar 1, 2024
7f3de2c
dspace: update controlled vocabulary for affiliation
alanorth Mar 3, 2024
b167b83
dspace: remove duplicate authors
alanorth Mar 5, 2024
47f89d1
build(deps): bump org.eclipse.jetty.http2:http2-server
dependabot[bot] Mar 5, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
22 changes: 18 additions & 4 deletions dspace-rest/src/main/java/org/dspace/rest/ItemsResource.java
Original file line number Diff line number Diff line change
Expand Up @@ -443,7 +443,7 @@ public Response addItemMetadata(@PathParam("item_id") String itemId,
@POST
@Path("/{item_id}/bitstreams")
public Bitstream addItemBitstream(@PathParam("item_id") String itemId, InputStream inputStream,
@QueryParam("name") String name, @QueryParam("description") String description,
@QueryParam("name") String name, @QueryParam("description") String description, @QueryParam("bundleName") String bundleName,
@QueryParam("groupId") String groupId, @QueryParam("year") Integer year,
@QueryParam("month") Integer month,
@QueryParam("day") Integer day, @QueryParam("userIP") String user_ip,
Expand All @@ -467,15 +467,29 @@ public Bitstream addItemBitstream(@PathParam("item_id") String itemId, InputStre
log.trace("Creating bitstream in item.");
org.dspace.content.Bundle bundle = null;
org.dspace.content.Bitstream dspaceBitstream = null;
List<Bundle> bundles = itemService.getBundles(dspaceItem, org.dspace.core.Constants.CONTENT_BUNDLE_NAME);
List<Bundle> bundles = dspaceItem.getBundles();

// add bitstream to specified bundle
if (bundleName == null) {
bundleName = "ORIGINAL";
}
for (Bundle existingBundle : bundles)
{
if (existingBundle.getName().equals(bundleName))
{
bundle = existingBundle;
break;
}
}

if (bundles != null && bundles.size() != 0) {
bundle = bundles.get(0); // There should be only one bundle ORIGINAL.
}
if (bundle == null) {
log.trace("Creating bundle in item.");
dspaceBitstream = itemService.createSingleBitstream(context, inputStream, dspaceItem);
log.trace("Creating bundle "+bundleName+" in item.");
dspaceBitstream = itemService.createSingleBitstream(context, inputStream, dspaceItem, bundleName);
} else {

log.trace("Getting bundle from item.");
dspaceBitstream = bitstreamService.create(context, bundle, inputStream);
}
Expand Down
1,037 changes: 1,037 additions & 0 deletions dspace/config/controlled-vocabularies/cg-contributor-affiliation.xml

Large diffs are not rendered by default.

787 changes: 787 additions & 0 deletions dspace/config/controlled-vocabularies/cg-contributor-donor.xml

Large diffs are not rendered by default.

87 changes: 87 additions & 0 deletions dspace/config/controlled-vocabularies/cg-coverage-subregion.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,87 @@
<?xml version="1.0" encoding="utf-8"?>
<!-- Subregions need to be defined both here and in input-forms.xml (for Atmire L&R) -->
<node id="Subregion" label="">
<isComposedBy>
<node id="1" label="Alberta" />
<node id="2" label="An Giang" />
<node id="3" label="Andhra Pradesh" />
<node id="4" label="Ashanti" />
<node id="5" label="Assam" />
<node id="6" label="Badulla" />
<node id="7" label="Bali" />
<node id="8" label="Balochistan" />
<node id="9" label="Bamako" />
<node id="10" label="Bihar" />
<node id="11" label="British Columbia" />
<node id="12" label="Cajamarca" />
<node id="13" label="California" />
<node id="14" label="Cauca" />
<node id="15" label="Chhattisgarh" />
<node id="16" label="Dakar" />
<node id="17" label="Delaware" />
<node id="18" label="Florida" />
<node id="19" label="Gampaha" />
<node id="20" label="Gandaki" />
<node id="21" label="Guanajuato" />
<node id="22" label="Gujarat" />
<node id="23" label="Haryana" />
<node id="24" label="Helmand" />
<node id="25" label="Himachal Pradesh" />
<node id="26" label="Houaphan" />
<node id="27" label="Iowa" />
<node id="28" label="Iringa" />
<node id="29" label="Jambi" />
<node id="30" label="Jharkhand" />
<node id="31" label="Kaabong" />
<node id="32" label="Kalimantan" />
<node id="33" label="Kampala" />
<node id="34" label="Kandal" />
<node id="35" label="Karnali" />
<node id="36" label="Karnataka" />
<node id="37" label="Kasungu" />
<node id="38" label="Kerala" />
<node id="39" label="Khon Kaen" />
<node id="40" label="Kunduz" />
<node id="41" label="Kwazulu-Natal" />
<node id="42" label="Lima" />
<node id="43" label="Limpopo" />
<node id="44" label="Madhya Pradesh" />
<node id="45" label="Maharashtra" />
<node id="46" label="Maputo" />
<node id="47" label="Masvingo" />
<node id="48" label="Meghalaya" />
<node id="49" label="Mendoza" />
<node id="50" label="Missouri" />
<node id="51" label="Nabeul" />
<node id="52" label="Nagaland" />
<node id="53" label="Nebraska" />
<node id="54" label="New South Wales" />
<node id="55" label="New York" />
<node id="56" label="Odisha" />
<node id="57" label="Osh" />
<node id="58" label="Pando" />
<node id="59" label="Punjab" />
<node id="60" label="Queensland" />
<node id="61" label="Rajasthan" />
<node id="62" label="Rajshahi" />
<node id="63" label="Riau" />
<node id="64" label="Sabah" />
<node id="65" label="Sahel" />
<node id="66" label="Salyan" />
<node id="67" label="Sindh" />
<node id="68" label="South Australia" />
<node id="69" label="Sulawesi" />
<node id="70" label="Tamil Nadu" />
<node id="71" label="Telangana" />
<node id="72" label="Texas" />
<node id="73" label="Tigray" />
<node id="74" label="Turkana" />
<node id="75" label="Uttar Pradesh" />
<node id="76" label="Uttarakhand" />
<node id="77" label="Victoria" />
<node id="78" label="Washington" />
<node id="79" label="West Bengal" />
<node id="80" label="Western Cape" />
<node id="81" label="Yogyakarta" />
</isComposedBy>
</node>
Loading