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.apache.commons:commons-configuration2 from 2.9.0 to 2.10.1 #518

Open
wants to merge 110 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
110 commits
Select commit Hold shift + click to select a range
c0dca35
Port some configs from DSpace 6
alanorth Aug 4, 2022
9ef5274
dspace/config: enable localhost:4000 for REST API
alanorth Aug 4, 2022
ddf5fca
dspace.cfg: disable extra "browse by"
alanorth Aug 4, 2022
9be7d5e
dspace: add controlled vocabularies
alanorth Aug 5, 2022
dec1cef
dspace/config: import latest spider lists
alanorth Aug 5, 2022
b9621ec
dspace/config: adjust usage statistics
alanorth Sep 6, 2022
91454a7
dspace.cfg: override ImageMagick density
alanorth Nov 1, 2022
728b769
dspace.cfg: enable eperson.subscription.onlynew
alanorth Dec 8, 2022
900d07a
dspace/config: enable LDAP authentication
alanorth Dec 11, 2022
29c5cdd
Add IDs to controlled vocabularies
alanorth Feb 27, 2023
d89ebf8
Add IDs to dcterms-subject.xml
alanorth Feb 28, 2023
8f1ad8a
discovery.xml: add some CGSpace filters
alanorth Mar 2, 2023
3c2dda8
discovery.xml: update default filters
alanorth Mar 2, 2023
34ceacb
discovery.xml: more filter adjustments
alanorth Mar 2, 2023
ba4f99c
discovery.xml: add more facets
alanorth Mar 2, 2023
fabc10f
dspace/config/spiders: update agents
alanorth Mar 3, 2023
bb556de
dspace.cfg: increase thumbnail size to 500px
alanorth Mar 10, 2023
482f26f
dspace: use CG Core fields for CrossRef import
alanorth May 31, 2023
35a3573
dspace: use cg.identifier.doi for Datacite import
alanorth May 31, 2023
b95b9d8
dspace: use CG Core fields for PubMed import
alanorth May 31, 2023
291fb70
Add dspace/config/default.license
alanorth Jun 13, 2023
52aa0de
dspace/config: import submission forms again
alanorth Jun 14, 2023
965efee
dspace/config: enable Sherpa Romeo summary for ISSNs
alanorth Jun 14, 2023
c10d10f
dspace.cfg: enable item counts aka "strengths"
alanorth Jun 16, 2023
45692bd
dspace/config: dc.date.issued → dcterms.issued
alanorth Jun 16, 2023
7bab1c6
dspace/config: enable LDAP authentication
alanorth Jun 21, 2023
8a4f09a
dspace/config: use OU=ILRIHUB in ldap group map
alanorth Jun 21, 2023
02ea0fe
dspace/config: disable ldap groupmap
alanorth Jun 21, 2023
3dd65a4
dspace/config: update abstract in discovery.xml
alanorth Jun 21, 2023
7171f54
dspace/config: remove subregion value pairs from submission form
alanorth Jun 27, 2023
fbba54b
dspace/config: update discovery.xml
alanorth Jun 27, 2023
a86f83a
dspace/config: update discovery.xml
alanorth Jun 28, 2023
790a8e2
dspace/config: remove srsc from submission-forms.xml
alanorth Jun 29, 2023
a12ed54
dspace.cfg: enable linked browse for some fields
alanorth Jul 26, 2023
09761eb
dspace-rest: allow bundleName parameter in bitstream endpoint
alanorth Aug 14, 2023
8e3d0b1
discovery.xml: move subject facet up
alanorth Aug 30, 2023
2cfb275
discovery.xml: add publisher to search facets
alanorth Aug 31, 2023
1c58d88
discovery.xml: Update indexes
alanorth Sep 4, 2023
e9b7a23
submission-forms.xml: use input type tag for more fields
alanorth Sep 8, 2023
da54f2f
submission-forms.xml: move CRPs down
alanorth Sep 8, 2023
af109eb
submission-forms.xml: move SDGs down
alanorth Sep 8, 2023
96b2832
submission-forms.xml: add CGIAR Impact Platforms
alanorth Sep 8, 2023
4fb778c
submission-forms.xml: indicate CRPs are 2012-2021
alanorth Sep 8, 2023
4b11a05
dspace.cfg: disable automatic browses for some fields
alanorth Sep 8, 2023
94381c8
submission-forms.xml: revert some changes to tags
alanorth Sep 10, 2023
3aa8bd4
submission-forms.xml: don't use tag input type
alanorth Sep 10, 2023
143da08
submission-forms.xml: fix AGROVOC field
alanorth Sep 11, 2023
1a59647
discovery.xml: re-work facets
alanorth Sep 11, 2023
6bf6ae6
dspace/config: remove browse links
alanorth Sep 12, 2023
518390d
dspace.cfg: add Google Analytics key
alanorth Sep 18, 2023
0cf406b
submission-forms.xml: update CGIAR Impact Platforms
alanorth Sep 21, 2023
27c1dde
dspace/config/modules: disable automatic Discovery reindexing
alanorth Sep 25, 2023
cc3601b
dspace: disable versioning
alanorth Oct 3, 2023
95e9630
discovery.xml: re-order sort fields for MyDSpace
alanorth Oct 3, 2023
92b8cd4
dspace/config/dspace.cfg: enable assumelogin
alanorth Oct 11, 2023
8774021
dspace/config/crosswalks: update OAI mods crosswalk
alanorth Oct 17, 2023
c09982e
dspace/config/crosswalks: update other crosswalks
alanorth Oct 17, 2023
3af7deb
Revert "dspace/config: disable ldap groupmap"
alanorth Oct 30, 2023
2be0d49
dspace/config/log4j2.xml: reduce noisy logs
alanorth Nov 2, 2023
ff4b3f2
discovery.xml: minor adjustment to date sorting
alanorth Nov 6, 2023
b4d4ce4
dspace/config: add more bot overrides
alanorth Nov 23, 2023
18894e0
dspace/config: update OAI mods crosswalk
alanorth Nov 30, 2023
59e668c
dspace/config: update ORCID in submission form
alanorth Dec 1, 2023
38d1611
dspace/config: make DOI non-repeatable in submission form
alanorth Dec 5, 2023
38e6030
dspace/config: make series name/number not repeatable
alanorth Dec 5, 2023
ce50d27
dspace/config/spiders: remove ^mozilla from spiders
alanorth Dec 12, 2023
6bb9b4f
dspace/config: make related reference repeatable
alanorth Dec 27, 2023
0d8d68c
Add country code tagger curation task
alanorth Jan 2, 2024
3a72927
dspace/config: add CGIAR Trust Fund to sponsors
alanorth Jan 8, 2024
c2b0bc0
Add ilri scripts
alanorth Jan 8, 2024
3572456
dspace/config: remove subregion browse
alanorth Jan 8, 2024
19c55ad
dspace/config: update ORCID identifiers
alanorth Jan 9, 2024
bfa463e
dspace/solr: Increase maxBooleanClauses for all cores
alanorth Jan 9, 2024
460f628
dspace/config: add controlled vocabulary for publishers
alanorth Jan 10, 2024
b179536
dspace/config: update affiliations
alanorth Jan 14, 2024
c48725d
dspace/config: update author controlled vocab
alanorth Jan 16, 2024
411d609
dspace/config: update Initiative name
alanorth Jan 18, 2024
c9c3a6d
dspace/config: update author
alanorth Jan 22, 2024
31349ae
ilri: set connection read_only for dry run
alanorth Jan 23, 2024
ca76f7f
dspace/config: update ORCID identifiers
alanorth Jan 23, 2024
a93da55
dspace/config: add cg.place to submission-forms.xml
alanorth Jan 24, 2024
4eaae13
dspace/config: adjust submission form
alanorth Jan 26, 2024
1e8ac8d
dspace/config: add project identifier to submission form
alanorth Jan 26, 2024
0f3dc95
dspace/config: add IFPRI publication rank to submission form
alanorth Jan 26, 2024
70de2fa
dspace/config: remove incorrect ORCID identifier
alanorth Feb 1, 2024
2b3f73f
dspace/config: update sponsor hint in submission form
alanorth Feb 1, 2024
b82a329
dspace/config: move common languages in submission form
alanorth Feb 1, 2024
333e4a5
dspace/config: remove some old donors from vocabulary
alanorth Feb 1, 2024
b947823
dspace/config: minor update on submission form hint
alanorth Feb 1, 2024
f90c42c
dspace/config: remove duplicate ORCID identifier
alanorth Feb 2, 2024
f66faa4
dspace/config: update controlled vocabulary for ORCID identifiers
alanorth Feb 6, 2024
958017e
dspace/config: add controlled vocabulary for project identifier
alanorth Feb 8, 2024
05338da
dspace/config: only show ISSN for journal articles
alanorth Feb 9, 2024
4fe1df4
dspace/config: minor tweak to related reference
alanorth Feb 9, 2024
041dc95
submission-forms.xml: re-work some URL fields
alanorth Feb 22, 2024
8f29715
dspace: fix author name in controlled vocabulary
alanorth Feb 26, 2024
401c395
dspace/config: fix IFPRI project identifier
alanorth Feb 27, 2024
13a7d33
dspace/config: update author controlled vocabulary
alanorth Feb 27, 2024
8485184
dspace/config: update project identifiers
alanorth Feb 29, 2024
c7306f8
dspace: disable controlled vocabulary for journal
alanorth Mar 1, 2024
80ebe6c
dspace: update controlled vocabulary for affiliation
alanorth Mar 3, 2024
11b7665
dspace: remove duplicate authors
alanorth Mar 5, 2024
9ccf0d5
dspace/config: update UNICEF in controlled vocabularies
alanorth Mar 8, 2024
4247393
ilri/generate_thumbnails.py: use webp for thumbnails
alanorth Mar 8, 2024
d3d5fc3
ilri/generate_thumbnails.py: minor optimization
alanorth Mar 8, 2024
4bea31f
ilri/generate_thumbnails.py: use f-strings
alanorth Mar 8, 2024
86d2c6f
ilri/generate_thumbnails.py: run black
alanorth Mar 8, 2024
d18259b
ilri/generate_thumbnails.py: bump version
alanorth Mar 8, 2024
f5826fc
dspace/config: update ORCID identifiers
alanorth Mar 19, 2024
4f71216
build(deps): bump org.apache.commons:commons-configuration2
dependabot[bot] Mar 21, 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.

786 changes: 786 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