Commit Graph

8847 Commits

Author SHA1 Message Date
Peter Dietz
059dcc1145 Log all exceptions from DSBitstore 2016-01-07 13:47:16 -05:00
Peter Dietz
5130e694be Disable s3storage from defaults 2016-01-07 13:47:16 -05:00
Peter Dietz
73b102a5a1 Fix DSBitstore register bitstream 2016-01-07 13:47:16 -05:00
Peter Dietz
efc7bd949c Update dspace.cfg with updated assetstore config 2016-01-07 13:47:16 -05:00
Peter Dietz
28400c1437 Fix checksum findBitstreams with not recent checksum 2016-01-07 13:47:16 -05:00
Peter Dietz
905445c864 DS-2863 Stop checksum checker from crashing 2016-01-07 13:47:16 -05:00
Peter Dietz
903a43c61b Change BitstreamStorageService to use BitStore interface, adding S3 storage 2016-01-07 13:12:03 -05:00
KevinVdV
e51ba3f5b6 [DS-2629] Add ability to filter Excel (xls and xlsx) files for full text searching small tweaks:
* Ensured compilation against latest master
* Removed the verbose print extracted text as it would really clutter the output
* Compressed the string to inputStream from 3 lines into a single one.
* Removed obsolete constructor call to the "ExtractorFactory"
* Removed a TODO that I verified
2016-01-07 12:27:45 +01:00
Ed Goulet
a052516b49 Include default config entries for ExcelFilter 2016-01-07 12:01:03 +01:00
Ed Goulet
2467d15fb3 DS-2629 mediafilter addition: ExcelFilter.java 2016-01-07 12:00:56 +01:00
Kevin Van de Velde
1ec396d4d9 Merge pull request #1233 from KevinVdV/DS-2976-protected-entity-constructor
[DS-2976] Ensure all database entities have a protected constructor
2016-01-06 08:45:55 +01:00
Tim Donohue
35e2242902 Remove all major Lucene configurations. 2016-01-05 16:30:23 -06:00
Tim Donohue
6f2a515208 Remove all Lucene API search classes (deprecated since 4.0) 2016-01-05 16:28:58 -06:00
Tim Donohue
a3cec584e4 Update JSPUI ControlledVocabularySearchServlet to use Discovery. Remove old Lucene search JSPs. Other minor updates 2016-01-05 16:27:53 -06:00
Tim Donohue
34676493f7 Remove XMLUI ArtifactBrowser and SearchArtifacts aspects (both Lucene based). Update OpenURLReader to use Discovery. Other minor cleanup 2016-01-05 16:26:28 -06:00
Tim Donohue
ce86b9c512 Remove Lucene launcher commands 2016-01-04 16:28:39 -06:00
Tim Donohue
3e93d6e55d Remove obsolete references to deprecated DSIndexer class 2016-01-04 16:27:52 -06:00
Ivo Prajer
501e40d87e Reapply DS-2218 fix (PR#929). Removed extra semicolon in the sql command, added check for "up-to-date", fix updating metadata values, basic logging to DSpace log and SQL exception handling. Changed, customized, added user message and repaired their order. Fixed return codes and some typos. Changed re-index engine from DSIndexer to Discovery and info text about manual re-indexing. Changes in SQL formatting and formatting of code. 2016-01-04 16:23:35 -06:00
Ivan Masár
9abbc2a0ed fix X-Forward-For -> X-Forwarded-For in dspace.cfg 2015-12-30 09:35:15 +01:00
Facundo Gabriel Adorno
52a3f62dc9 Modify XPath expression when retrieving a workflow step
When we have two workflows, W1 and W2, and W2 has a first
step with a ID equal to other step ID in W1, WorkflowFactory
retrieves erroneously the step in W1 when we ask about the
first step in W2.

To prevent this, the corresponding XPath expression was modified.
2015-12-28 13:58:50 -03:00
KevinVdV
69bdb15b3c [DS-2976] Ensure all database entities have a protected constructor 2015-12-24 15:28:26 +01:00
aleksanderkotbury
da507bd256 remove unused import. 2015-12-24 14:40:33 +01:00
aleksanderkotbury
2a775ca3a3 DS-2975 delete item using itemService 2015-12-24 14:37:41 +01:00
aleksanderkotbury
0934603e12 DS-2975 - remove item from dspace 2015-12-24 14:10:31 +01:00
aleksanderkotbury
89ed289214 Merge remote-tracking branch 'upstream/master' into DS-2784-jersey2
Conflicts:
	dspace-rest/src/main/java/org/dspace/rest/HandleResource.java
2015-12-24 13:49:27 +01:00
kshepherd
ee6b2f54a8 [DS-2187] Remove XMLUI AdvancedSearchUtils, StatisticsSearchResultTransformer, search-results.js and Statistics sitemap mappings
- Removed pattern matches for "search", "simple-search", "advanced-search", "handle/*/*/search", "handle/*/*/simple-search", "handle/*/*/advanced-search" in XMLUI Statistics sitemap.map and inserted comments to indicate this removal
(part of me wants to remap some discover stuff into /search since that's such an obvious/common URL pattern...)
- Removed StatisticsSearchResultTransformer transformer mapping from Statistics sitemap.xmap
- Removed dspace-xmlui\src\main\webapp\static\js\search-results.js
- Removed org.dspace.app.xmlui.aspect.statistics.StatisticsSearchResultTransformer
- Removed org.dspace.app.xmlui.aspect.artifactbrowser.AdvancedSearchUtils
2015-12-22 16:14:20 -06:00
Kim Shepherd
6348fc641e [DS-2187] More DSQuery usages: XMLUI OpenSearch, AdvancedSearch
DSQuery dependency (outside org.dspace.search) removal, continued:
====

Removing org.dspace.app.xmlui.opensearch.StandardOpenSearchGenerator:
 - Removed map:generator mapping for StandardOpenSearchGenerator in XMLUI sitemap.xmap
 - This generator was matched on pattern "open-search/" in XMLUI sitemap.xmap. I've remapped
that pattern to DiscoveryOpenSearchGenerator (also mapped on open-search/discovery) to try and
keep things working as smoothly as possible, and added a comment to that effect.
 - Removed org.app.xmlui.opensearch.StandardOpenSearchGenerator class

Removed (unused) import in org.dspace.app.xmlui.aspect.administrative.mapper.SearchItemForm

Removing org.dspace.app.xmlui.aspect.artifactbrowser.AbstractSearch and implementations:
 - AdvancedSearch and AdvancedSearchLoggerAction:
   - Removed mapping for pattern match "advanced-search" and "handle/*/*/advanced-search", added comments indicating removal, removed transformer mapping from ArtifactBrowser sitemap.xmap
   - Removed mapping for pattern match "advanced-search" (includes map:act for AdvancedSearchLoggerAction) and "handle/*/*/advanced-search" (also includes map:act for AdvancedSearchLoggerAction), added comments indicating removal, removed action mapping for AdvancedSearchLoggerAction, removed transformer mapping for AdvancedSearch from SearchArtifacts sitemap.xmap (I have a feeling SearchArtifacts as a whole should be pulled out now, but will revisit that later)

   - Note: I'm leaving i18n keys for xmlui.ArtifactBrowser.AdvancedSearch alone until I can be sure that they can be safely removed or moved without stuffing up anyone's UI
   - Removed org.dspace.app.xmlui.aspect.artifactbrowser.AdvancedSearch class
   - Removed org.dspace.app.xmlui.aspect.artifactbrowser.AdvancedSearchLoggerAction class
2015-12-22 16:11:51 -06:00
Tim Donohue
17ec3aaeb6 Remove DatabaseLegacyReindexer bean from Spring config 2015-12-22 16:08:35 -06:00
kshepherd
8fdd88594a [DS-2160] [DS-2187] Remove non-nested usages of DSIndexer and some easy non-nested usages of DSQuery
DSIndexer dependency (outside org.dspace.search) removal: (complete)
====
Removed (unused) java class import from MediaFilter
Removed ItemImport DSIndexer.setBatchProcessingMode references, removed java class import
Removed FlyWay allback to DatabaseLegacyReindexer, removed DatabaseLegacyReindexer class

DSQuery dependency (outside org.dspace.search) removal: (WIP)
====
Removed org.dspace.app.webui.search.LuceneRequestProcessor and dependencies/imports in:
 - its reference in dspace.cfg, JSPUI Discovery section, updated comments to reflect removal
 - (unused) class import in org.dspace.app.webui.servlet.AdvancedSearchServlet
 - (unused) class import in org.dspace.app.webui.servlet.OpenSearchServlet
 - (unused) class import in org.dspace.app.webui.servlet.SimpleSearchServlet
 - (unused) class import in org.dspace.app.webui.servlet.admin.ItemMapServlet

Removed org.dspace.xmlui.aspect.adminstrative.mapper.LuceneSearchRequestProcessor and its reference in dspace.cfg, XMLUI Discovery section, updated comments to reflect removal.

Notes: org.dspace.app.webui.search now only contains SearchRequestProcessor and
SearchProcessorException. SearchReqeuestProcessor is now only implemented by
org.dspace.app.webui.discovery.DiscoverySearchRequestProcessor. Would it make sense to move
these classes into org.dspace.app.webui.discovery and refactor references to
SearchProcessorException accordingly? Or is it safer for unknown customisations to leave as
is?

org.dspace.app.xmlui.opensearch.DiscoveryOpenSearchGenerator and
org.dspace.app.xmlui.opensearch.StandardOpenSearchGenerator had their summary comments mixed
up - I swapped these back around. No removal of StandardOpenSearchGenerator yet, needs closer
inspection of usage in sitemap, pattern mapping etc.
2015-12-22 16:07:53 -06:00
helix84
76c617e8c6 Merge pull request #1187 from KevinVdV/DS-2913-fix-community-statistics-logging
[DS-2913] Fix community parent logging infinite loop
2015-12-21 21:46:07 +01:00
rradillen
67cdd41846 DS-2962: Robots.txt disallows site /discovery but not /handle/*/disover 2015-12-21 13:56:20 +01:00
Pascal-Nicolas Becker
cfd1056e32 DS-2888: Support language tags as well for twobox fields. 2015-12-18 14:56:15 +01:00
Terry Brady
9ed74125c4 change class name from HierarchyRepository to HierarchySite 2015-12-16 18:52:18 -08:00
Terry Brady
f16a8b0cb7 change class name from HierarchyRepository to HierarchySite 2015-12-16 18:51:54 -08:00
Kevin Van de Velde
00c5485c42 Merge pull request #988 from christian-scheible/DS-2648
[DS-2648] Full text available sidebar facet for Discovery
2015-12-16 16:25:08 +01:00
philip Vissenaekens
b31496326c DS-2945 2015-12-16 11:50:13 +01:00
helix84
c2d15cb419 Merge pull request #1220 from bram-atmire/DS-2936-master
DS-2936 REST-API /handle endpoint broken
2015-12-16 00:56:17 +01:00
Bram Luyten
363b89985a DS-2936 REST-API /handle endpoint broken 2015-12-15 22:19:57 +01:00
Mark H. Wood
cc142cb321 [DS-2767] Try to look up a DataSource in JNDI, returning DSpace-configured DataSource if not found. 2015-12-14 16:39:34 -05:00
Bram Luyten
d08605dd91 Adding class to ensure REST API can register itself during startup 2015-12-11 21:13:52 +00:00
aleksanderkotbury
226c170f08 [DS-2784] schema update - legacy id removed 2015-12-11 19:39:04 +01:00
aleksanderkotbury
cc4dd7063f Merge branch 'master' into DS-2784-jersey2
Conflicts:
	dspace-rest/src/main/java/org/dspace/rest/BitstreamResource.java
2015-12-11 19:28:09 +01:00
helix84
ccfec39bb5 Merge pull request #1210 from kohts/DS-2315
DS-2315: export Simple Archive Format without bitstreams
2015-12-11 10:05:41 +01:00
Petya Kohts
6ca6d9060f logging item handle during export (when available) 2015-12-11 01:20:28 +03:00
helix84
e41f4d9853 Merge pull request #1013 from tuub/DS-2623
DS-2623: Add different file descriptions for multiple files after upload
2015-12-10 18:33:41 +01:00
helix84
df4f511beb Merge pull request #1213 from KevinVdV/DS-2942-fix-template-items-edit
[DS-2942] Fix (template) item metadata edit
2015-12-10 15:17:54 +01:00
KevinVdV
b6d409d402 [DS-2942] Fix (template) item metadata edit 2015-12-10 11:27:01 +01:00
Petya Kohts
104f6cacbd DS-2315: export Simple Archive Format without bitstreams 2015-12-07 17:43:43 +00:00
Ivan Masár
1ea7305eba fix invalid syntax of suggested SQL 2015-12-04 10:17:41 +01:00
Ivan Masár
c8761f253f DS-2934 Add an empty "local" metadata namespace 2015-12-04 09:41:48 +01:00