Commit Graph

9725 Commits

Author SHA1 Message Date
Pascal-Nicolas Becker
f0a6b51f34 Remove unneccessary second Context in RDFConsumer
fixes #8152
2022-02-08 16:19:33 +01:00
Kim Shepherd
7af52a0883 [DS-4131] Fix zip import handling to avoid path traversal exploit 2022-01-14 13:25:59 +13:00
Kim Shepherd
f7758457b7 [DS-4133] Improve URL handling in Controlled Vocab JSPUI servlet 2022-01-14 13:12:00 +13:00
Tim Donohue
e196e748ad Merge pull request #7995 from mwoodiupui/7988-6x
Avoid exporting metadata of mapped Item more than once.
2021-11-11 16:16:51 -06:00
Mark H. Wood
7626a57461 Merge branch 'dspace-6_x' into 7988-6x 2021-10-13 16:52:23 -04:00
Mark H. Wood
89918cdeb6 Avoid exporting mapped Item more than once. #7988 2021-10-13 16:38:14 -04:00
Tim Donohue
b53f351e03 Merge pull request #2339 from atmire/DS-4157
DS-4157: Save and Exit on workflow edit metadata
2021-09-17 16:50:49 -05:00
Tim Donohue
a610d25114 Merge pull request #3350 from alanorth/DS-4589-nodejs-version
DS-4589: Update Node.js to version 12 LTS
2021-09-14 08:53:05 -05:00
Alan Orth
83623027fe dspace-xmlui-mirage2/readme.md: Update nvm notes 2021-09-10 13:38:24 +03:00
Alan Orth
9a0b89cd5d dspace-xmlui-mirage2/readme.md: Recommend Node.js v12.x 2021-09-10 13:38:24 +03:00
Alan Orth
687f2cd3ef DS-4589: Update Node.js to version 12 in tests
This updates the Node.js version used in GitHub CI to match the one
used by Mirage 2's pom.xml. Also, don't install grunt here because
it seems to already exist and fails during GitHub CI runs:

> added 1 package from 1 contributor in 2.397s
> /usr/local/bin/grunt -> /usr/local/lib/node_modules/grunt/bin/grunt
> + grunt@1.4.1
> updated 2 packages in 4.709s
> npm ERR! code EEXIST
> npm ERR! syscall symlink
> npm ERR! path ../lib/node_modules/grunt-cli/bin/grunt
> npm ERR! dest /usr/local/bin/grunt
> npm ERR! errno -17
> npm ERR! EEXIST: file already exists, symlink
> '../lib/node_modules/grunt-cli/bin/grunt' -> '/usr/local/bin/grunt'
> npm ERR! File exists: /usr/local/bin/grunt

If we skip installing grunt here it still exists (from somewhere)
and the build succeeds. Perhaps it's a GitHub CI cache issue?
2021-09-10 13:38:24 +03:00
Alan Orth
4419515b85 DS-4589: Update Node.js to version 12 LTS
We currently build Mirage 2 with Node.js version 8, which stopped
receiving support in 2019-12. We should use a currently supported
Node.js LTS version. Mirage 2 builds successfully with version 10
and 12, but version 10 also stopped receiving support as of early
2021, which leaves only version 12 as an option.

See: https://nodejs.org/en/about/releases
See: https://en.wikipedia.org/wiki/Node.js#Releases
2021-09-10 13:38:24 +03:00
Tim Donohue
efb71f377a Merge pull request #2124 from KingKrimmson/DS-3873_PDFBoxThumbnail_fix_6_x
DS-3873 Limit the usage of PDFBoxThumbnail to PDFs
2021-09-09 16:06:26 -05:00
Tim Donohue
c11f727541 Merge pull request #3080 from UoEMainLibrary/DS-4562
[DS-4562] - Change maxwait default to 10 seconds
2021-09-09 16:03:54 -05:00
Tim Donohue
12cb440235 Merge pull request #7940 from UoEMainLibrary/orcidnpe
Protecting against possibly missing values supplied by Orcid and logg…
2021-09-09 15:59:54 -05:00
Hrafn Malmquist
a64c6836f2 Protecting against possibly missing values supplied by Orcid and logging the error. 2021-09-09 21:25:12 +01:00
Hrafn Malmquist
574e25496a Merge pull request #2451 from AlexanderS/fix-generator-permissions
DS-304, DS-1922: METS generator should check for READ permissions
2021-09-09 20:02:33 +01:00
Tim Donohue
43108352dd Merge pull request #3250 from UoEMainLibrary/DS-4580
DS-4580 Update confidence when editing record
2021-09-07 16:49:13 -05:00
Tim Donohue
b9d8ad97ef Merge pull request #2649 from 4Science/dspace-6_x-fix_itemMapper
Use findByCollection method to retrieve only archived item in ItemMapServlet (6.x)
2021-09-03 16:53:53 -05:00
Tim Donohue
654689246c Merge pull request #2493 from atmire/DS-4328-6x
DS-4328
2021-09-03 16:53:01 -05:00
Tim Donohue
af0171e78e Merge pull request #2550 from saiful-semantic/patch-4362
Patch for DS-4362
2021-09-03 16:49:07 -05:00
Tim Donohue
c0e0db7536 Merge pull request #2662 from TexasDigitalLibrary/dspace-6_x-3725
DS-3725: Adds 'id' property to 'default' and 'site' DiscoveryConfiguration
2021-09-03 15:59:20 -05:00
Tim Donohue
1db04e8728 Merge pull request #2161 from KingKrimmson/DS-3976_Reduce_ItemCounter_Init_6_x
DS-3976 Reduce itemCounter init
2021-09-03 15:11:58 -05:00
Tim Donohue
7308c56246 Merge pull request #2490 from Georgetown-University-Libraries/ds4208
[DS-4208] Fix hidden field creation issue when browsing by date
2021-09-03 14:12:21 -05:00
Tim Donohue
bfa16d9a5f Merge pull request #2558 from TexasDigitalLibrary/DS-3891
DS-3891: fixes minor security issue with HTML opened in a separate tab
2021-09-03 14:03:15 -05:00
nwoodward
9b91d1c478 added rel="noopener" to outgoing links 2021-09-03 12:52:59 -05:00
Tim Donohue
5af28f46b4 Merge branch 'dspace-6_x' into ds4208 2021-09-03 12:24:01 -05:00
Tim Donohue
29a8d1f119 Merge pull request #1801 from AlexanderS/fix/default-license-on-ingest
DS-3643: Use correct license on ingest
2021-09-03 09:23:15 -05:00
Tim Donohue
728c789649 Merge pull request #2439 from the-library-code/DS-4260-dspace6
DS-4260: Remove non-existing command from oai harvester's help
2021-09-01 15:08:04 -05:00
kshepherd
37ff44ec50 Merge pull request #3162 from UoEMainLibrary/DS-4574
[DS-4574] v. 6 - Upgrade DBCP2 dependency
2021-08-24 10:27:43 +12:00
Hrafn Malmquist
f34d81f9ef Merge pull request #2753 from bram-atmire/DS-4493
DS-4493 prevent empty string assignment for language
2021-08-23 10:09:34 +01:00
kshepherd
787b536c76 Merge pull request #2374 from J4bbi/DS-4190
[DS-4190] Word-break CSS class breaks words without hyphens in Firefox…
2021-08-12 14:10:05 +12:00
kshepherd
7e11f9f3a8 Merge pull request #2389 from J4bbi/DS-4201
[DS-4201] Do not pass starts_with if browsing an item index.
2021-08-12 14:09:44 +12:00
Hrafn Malmquist
da3154b045 Merge pull request #2742 from TexasDigitalLibrary/dspace-6_x-update_pdfbox
bump up pdfbox version on 6.x to match main branch
Haven't tested myself.
There's one approval and this is a minor upgrade of deps.
2021-07-24 22:35:27 +01:00
Hrafn Malmquist
9fc9a42157 Merge pull request #3333 from alanorth/DS-4587
DS-4587: update spider user agent file for more accurate Solr usage statistics
2021-07-24 20:47:10 +01:00
Hrafn Malmquist
f25a665375 Merge pull request #3336 from alanorth/DS-4588
DS-4588: fix case-insensitive spiderdetector test
2021-07-24 20:36:32 +01:00
nwoodward
4bbe97477b bump up pdfbox version again to match main 2021-07-24 09:51:58 -05:00
nwoodward
a1c7fc12fa bump up pdfbox version again to match main 2021-07-24 09:39:39 -05:00
nicholas
55eda19767 bump up pdfbox version to match master branch 2021-07-24 09:28:03 -05:00
kshepherd
9a935de69c Merge pull request #3228 from UoEMainLibrary/DS-4579
[DS-4579] Re-enable HTTP Ranges support
2021-07-24 12:22:59 +12:00
Hrafn Malmquist
073c320dec Merge pull request #2465 from KingKrimmson/DS-4293__Known_Supported_label_fix
DS-4293 Fix Known/Supported labels in UploadStep/UploadWithEmbargoStep
2021-07-23 23:45:50 +01:00
Alan Orth
00530a9753 DS-4588: fix case-insensitive spiderdetector test
We should not use the string "FirefOx" to test the validity of our
spider user agent patterns because it is not a valid user agent in
the first place. The Mozilla Firefox browser uses patterns such as
this:

Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Firefox/91.0

The test currently matches the following regular expression:

^firefox$

In this case, if a client *did* connect with a single-word string
such as "Firefox" or "firefox" it would definitely be a non-human
user and we should not log a statistics hit.

If the goal of the test is to check *valid* human user agents aga-
inst case-insensitive regular expression matching, then we should
use the following:

mozilla/5.0 (x11; linux x86_64; rv:91.0) gecko/20100101 firefox/91.0
2021-07-22 21:41:47 +03:00
Alan Orth
87bb92a8e7 DS-4587: Update the spider user agent file
This updates the included spider user agent file to the latest from
the COUNTER-Robots project. DSpace's own copy is over five years old
and is missing a bunch of new patterns, which greatly decreases the
accuracy of the Solr usage statistics.

See: https://jira.lyrasis.org/browse/DS-4587
See: https://github.com/atmire/COUNTER-Robots/releases/tag/2021-07-05
2021-07-22 19:09:33 +03:00
Hrafn Malmquist
17109243ff Merge pull request #2276 from toniprieto/DS-4034-strip-diacritics
DS-4034 - The "first few letters" search doesn't work with diacritics
2021-07-21 17:03:47 +01:00
Hrafn Malmquist
b16f1a5622 Merge pull request #1800 from atmire/DS-2852_6.x
DS-2852 - Discovery label fix for authority display value
2021-07-19 23:20:36 +01:00
Hrafn Malmquist
e0e7a2a391 Merge pull request #2317 from bram-atmire/DS-4135-Scholar-Escaping
DS-4135 prevent escaping for citation_ tags
2021-07-19 01:48:40 +01:00
Hrafn Malmquist
2683f11719 Merge pull request #2918 from kshepherd/DS-4508_javascript_dependencies_6x
[DS-4508] Update JQuery, JQueryUI and other JS dependencies
2021-07-18 23:20:17 +01:00
Hrafn Malmquist
ee25bbbe3f Merge pull request #3275 from IordanisKostelidis/dspace-6_x
fixes restlet's blocked repository - dspace 6.x
2021-07-17 13:19:49 +01:00
Iordanis Kostelidis
2f45f00723 fixes DSpace#3247 2021-07-17 12:18:46 +03:00
Hrafn Malmquist
1b810186e4 DS-4574. Updated dependencies commons-dbcp2 to 2.1.1 -> 2.8.0 and commons-pool2 2.4.2 -> 2.10.0. 2021-07-16 21:48:26 +01:00