Commit Graph

3103 Commits

Author SHA1 Message Date
Mark H. Wood
4cdfd34a08 Merge pull request #1925 from mwoodiupui/DS-3434
[DS-3434] DSpace fails to start when a database connection pool is supplied through JNDI
2018-02-07 10:25:48 -05:00
Alexander Sulfrian
de1e26b3ee [DS-3822] Don't guess XML structure during ingest
The XML document used during ingestion can contain multiple XML nodes directly
inside the XML root. The crosswalk should not modify the source document, but
only hand it over to the XSLT stylesheet.
2018-01-30 19:09:45 +01:00
Mark H. Wood
e2a771d10d [DS-3434] Look up a bean implementing DataSource instead of accepting any old Object. This should be common to all implementations. 2018-01-23 11:10:51 -05:00
Mark H. Wood
d37670776b [DS-3434] Make some documentation more visible. 2018-01-19 14:54:24 -05:00
Mark H. Wood
49e9e3817e [DS-3434] Look up generic object instead of a specific DataSource subclass. 2018-01-19 14:06:58 -05:00
Mark H. Wood
e640106468 Merge pull request #1820 from mwoodiupui/DS-3667
[DS-3667] Document fundamental persistence support classes.
2018-01-18 15:32:34 -05:00
Philip Vissenaekens
1ea55a4fe6 DS-3800 2018-01-10 10:18:18 +01:00
gressho
bda2f8709c Fix authentication problem in SwordV2 implementation (DS-3310). 2018-01-04 10:59:35 +01:00
marsa
83ec310d0e DS-3769 Set the right hibernate property of org.dspace.eperson.Subscription: ePerson instead of eperson.id 2017-11-27 17:12:18 +01:00
marsa
38d951062c DS-3768 Fixes the harvest solr parse error by setting the requirements and syntaxes of the field location and lastModified properly. 2017-11-27 16:42:28 +01:00
Mark H. Wood
f8244980f0 Merge pull request #1839 from Generalelektrix/dspace-6_x
[DS-3332] Handle resolver is hardcoded in org.dspace.handle.UpdateHandlePrefix
2017-11-20 10:22:02 -05:00
marsaoua
1b90001420 DS-3729: Set the Bitstream deletion flag in the database in case of an item deletion (#1874) 2017-11-16 13:42:32 -06:00
Christian Scheible
5debb078d0 DS-3734 Fixed missing trigger of item last modified date when adding a bitstream. 2017-10-27 14:06:32 +02:00
Terry W Brady
63e6823b62 clarify methods that return all vs archived items 2017-10-16 08:51:35 -07:00
Philip Muench
6f892e70e8 DS-3707, DS-3715: Fixes to item level embargo/privacy in OAI-PMH 2017-10-16 15:28:47 +02:00
ssolim
dd5a277f7b Fix logical error in searchResultCount
GroupServiceImpl searchResultCount returned always 1 when no searchterm was submitted, but was intended to return the count of all groups
2017-10-06 08:58:32 +02:00
Terry W Brady
da5c795804 Add countAllItems methods 2017-10-05 16:22:11 -07:00
Terry W Brady
aa0ced3d10 add pagination methods to find all 2017-10-05 13:50:48 -07:00
Pascal-Nicolas Becker
179141dc4a DS-3700: MediaFilterServiceImpl forgot to close an input stream. 2017-09-29 16:47:58 +02:00
Pascal-Nicolas Becker
e59611b5c7 DS-3627: Cleanup utility leaves files in assetstore 2017-09-28 08:11:53 +02:00
Jakub Řihák
968487b9d2 [DS-3662] DSpace 'logging in' without password or with non-existent e-mail using Shib and Password authentication
Added extra check for empty value of an attribute.
In case that value is Empty, it should not be returned, return 'null' instead.
This prevents passing empty value to other methods, stops the authentication process
and prevents creation of 'empty' DSpace EPerson if autoregister == true and it subsequent
authentication.
2017-09-21 17:40:13 +02:00
Martin Walk
a3ea6d5df8 Add expected license header 2017-09-14 09:21:47 +02:00
Generalelektrix
5948e33517 DS-3332
Centralized most references to http://hdl.handle.net/ and to handle.canonical.prefix to HandleService. Created a new method: getCanonicalPrefix() in HandleService, adjusted getCanonicalForm(). As far as I can tell, remaining references to  http://hdl.handle.net/ shout stay like that since they are used as default values or are just included in documentation sections.
2017-09-12 15:12:12 -04:00
Martin Walk
aa69b2220a Add plugin to index filenames and file descriptions for files in ORIGINAL bundle 2017-09-12 13:01:11 +02:00
Mark H. Wood
fc3ea83049 [maven-release-plugin] prepare for next development iteration 2017-09-07 16:14:13 -04:00
Mark H. Wood
e5cb62997a [maven-release-plugin] prepare release dspace-6.2 2017-09-07 16:14:03 -04:00
Generalelektrix
6626901564 DS-3687
Making key generic for legacy note value since it is not only used in jspui.
2017-09-06 10:28:14 -04:00
Generalelektrix
6b8f072d3e DS-3687 Hard coded note not compatible with multi-lingual sites for legacy stats
Changed hard coded string for reference to a new field in language bundle.
2017-09-06 10:18:50 -04:00
Alexander Sulfrian
41d8668331 AuthorityIndexer: Uncache Item after getting authority values
The AuthorityIndexClient walks over all Items in the repository and generates
all missing AuthorityValues for all of them. After getting the missing values
we need to uncache the Items to free the memory.
2017-08-31 18:52:29 +02:00
Alexander Sulfrian
0082e5b7da AuthorityIndexer: Only use non-null authority values 2017-08-31 18:52:29 +02:00
Alexander Sulfrian
3cb60236d0 AuthorityIndexer: Add possibility to cache new values
Now the DSpaceAuthorityIndexer can cache authority values for specific metadata
content (without an authority key) again.
2017-08-31 18:49:49 +02:00
Alexander Sulfrian
64022a92fb AuthorityIndexer: Remove state
The DSpaceAuthorityIndexer now returns all AuthorityValues for the specified
Items at once. It iterates over all values of all metadata fields (that are
configured for authority) of the item and gets or generates the authority
values for all of them. So it can be called from various threads without the
possibility for concurrent data access.

This currently removes the cache for newly generated authority values.
2017-08-31 18:48:11 +02:00
Alexander Sulfrian
c3214d6f77 AuthorityIndexer: Only handle one item at a time
The DSpaceAuthorityIndexer should only handle one item at a time. If the caller
needs multiple items to be indexed, the Indexer should be called multiple
times.
2017-08-31 18:48:11 +02:00
Alexander Sulfrian
889499105f AuthorityIndexer: Remove unused parameter 2017-08-31 18:48:07 +02:00
Pascal-Nicolas Becker
d753c09b22 DS-3680: Remove problematic unaching. Also see DS-3681 as follow-up. 2017-08-24 18:25:41 +02:00
Pascal-Nicolas Becker
fbb45ba758 DS-3680: clarify that we need to dispatch events before committing 2017-08-24 18:25:20 +02:00
Pascal-Nicolas Becker
014456e1ed Revert "Events must be dispatched after commit() to ensure they can retrieve latest data from DB"
This reverts commit 646936a3d8.
2017-08-24 18:22:58 +02:00
Terry Brady
258b4f00e9 [DS-3602] Ensure Consistent Use of Legacy Id in Usage Queries (#1782)
* ensure that owning Item,Coll,Comm use legacy consistently

* scopeId query

* refine queries

* alter id query

* Commenting the behavior of the id / legacyId search

* Address duplicate disp for DSO w legacy and uuid stats
2017-08-17 23:48:25 +10:00
Tim Donohue
3798a12778 Merge pull request #1824 from tdonohue/DS-3656_and_DS-3648
DS-3656 and DS-3648 : Fix several Hibernate caching / saving issues
2017-08-17 06:53:28 +10:00
Hardy Pottinger
bc82adef5e [DS-3674] copied over input-forms.xml to the test config folder 2017-08-15 14:43:41 -05:00
Mark H. Wood
28bbf4b930 [DS-3667] Take up PR comments and document another class. 2017-08-11 17:02:14 -04:00
Tim Donohue
d4d61eed68 Replace dispatchEvents() call with an actual commit() to ensure changes are saved 2017-08-10 21:27:34 +00:00
Tim Donohue
646936a3d8 Events must be dispatched after commit() to ensure they can retrieve latest data from DB 2017-08-10 21:27:00 +00:00
Tim Donohue
9dd6bb0f08 DS-3648: Don't uncache submitter and related groups. Also DS-3656: Flush changes before evict() 2017-08-10 21:25:38 +00:00
Terry W Brady
1492dfef92 Normalize space 2017-08-09 13:02:04 -07:00
Terry W Brady
8b6c1acab1 Port PR1817, Only request image info if color space 2017-08-09 13:01:17 -07:00
Alan Orth
e88924b7da DS-3517 Allow improved handling of CMYK PDFs
Allow ImageMagick to generate thumbnails with more accurate colors
for PDFs using the CMYK color system. This adds two options to the
dspace.cfg where the user can optionally specify paths to CMYK and
RGB color profiles if they are available on their system (they are
provided by Ghostscript 9.x).

Uses im4java's Info class to determine the color system being used
by the PDF.

See: http://im4java.sourceforge.net/docs/dev-guide.html
2017-08-09 19:45:28 +00:00
Terry Brady
42608e028e Merge pull request #1816 from AlexanderS/fix-discovery-reindex
DS-3660: Fix discovery reindex on metadata change
2017-08-09 12:08:31 -07:00
Mark H. Wood
801f39daeb [DS-3667] Document fundamental persistence support classes. 2017-08-08 23:46:52 -04:00
Alexander Sulfrian
7e68165ded DS-3660: Fix discovery reindex on metadata change
Stored objects may get evicted from the session cache and get into detached
state. Lazy loaded fields are inaccessible and throw an exception on access.

Before using objects they have to be reloaded (retrieved from the
database and associated with the session again).
2017-08-03 16:25:39 +02:00