Commit Graph

892 Commits

Author SHA1 Message Date
Graham Triggs
3b4e9a778e Fix to SF bug #1827521 - recent submissions not showing sub-community submissions.
- adds communities2item table maintenance back into browse, includes new SQL to query the community hierarchy more efficiently than the Item/Community API
- by extension, fixes a problem where items in an upgraded database can't be deleted due to their existence in communities2item
- also, changes Harvest to use communities2item instead of community2item, so RSS feeds will work on the same basis of recent submissions, and include the sub-community content

git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2447 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-12-16 22:41:40 +00:00
Graham Triggs
bac57b5e0c Improved efficiency of scoped browsing by replacing an IN with an EXISTS
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2437 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-12-13 23:48:50 +00:00
Graham Triggs
08a038b17d Improve efficiency of pruning excess information from browse tables
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2436 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-12-13 23:04:59 +00:00
Mark Diggory
f7f8500155 Allow X509Authentication to be triggered from Login Choices page as well. Default is old behavior, This allows one to maintain the site under http and only protect certificate login page with https for certificate authentication. Implicit X509 Authentication is not ideal in relation to default Internet Explorer behavior.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2435 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-12-13 19:26:33 +00:00
Graham Triggs
7bd52205f6 *Massively* sped up the index prune methods (which means instatiating / withdrawing / editing items is *much* faster)
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2434 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-12-13 17:37:59 +00:00
Graham Triggs
ef4151816e Significantly speed up the submission process, by reducing the work the browse code does if it can assume that the item has never been indexed
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2432 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-12-13 15:33:53 +00:00
Graham Triggs
1f32543a19 Made a number of methods in the submission steps protected instead of private, to make it easier to extend the provided steps
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2414 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-12-03 14:30:56 +00:00
Tim Donohue
e891212fdf Small addition of a "Skip" flag to MediaFilterManager/filter-media. Allows one to specific a list of identifiers (communities/collections/items) to SKIP during filtering process. Updated documentation to explain this new flag.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2410 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-30 18:14:41 +00:00
Tim Donohue
6e377ffd94 Small bug fix to MediaFilterManager (found a cast to MediaFilter rather than to new FormatFilter). Fixed some comments.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2407 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-29 17:55:45 +00:00
Graham Triggs
603b82a006 Improved browse configuration (ability to hide sort options from the browse controls, can set left-hand navigation to asc and/or desc lists). Improves normalisation of titles.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2406 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-29 11:58:05 +00:00
Graham Triggs
68bc714dfd Changed getBrowseIndices to respect order in dspace.cfg
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2400 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-28 22:34:57 +00:00
Mark Diggory
c88190c161 Add capability to filter bitstream which match a specific name.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2399 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-28 21:27:02 +00:00
Mark Diggory
25e83a7b0e New options for ItemImporter to support bitstream permissions and descriptions
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2398 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-28 21:07:34 +00:00
Tim Donohue
055a30715f Removed comments which had "UIUC" in them...whoops!
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2396 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-28 16:06:58 +00:00
Tim Donohue
2afd7ffefa Applying SF patch #1589429 - "Self-Named" Media Filters (i.e. MediaFilter Plugins!)
[This original patch was modified slightly to leave the existing MediaFilter abstract class intact, 
and instead create a new FormatFilter interface which MediaFilter now implements]

git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2393 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-27 22:03:24 +00:00
Stuart Lewis
133de48176 (Richard Jones) S.F. Patch 1659868 Improved database level debugging
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2392 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-27 10:02:09 +00:00
Graham Triggs
9f382c3438 Fixed connection / context leak in ItemCounter
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2366 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-26 11:03:40 +00:00
Graham Triggs
54058b0aff Changed 'number' column to 'count' as number is a reserved word in Oracle
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2364 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-26 10:21:46 +00:00
Graham Triggs
3ddbccad9b Fix problems with strength counter (SQLException doesn't nest Throwable, incorrect cast of Community dso)
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2363 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-26 09:51:43 +00:00
Graham Triggs
105c772e57 More Oracle compatibility fixes - date truncation
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2362 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-26 09:10:39 +00:00
Graham Triggs
e807a057de Fix Oracle compatibility - must supply sequence value on insert
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2361 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-25 22:24:26 +00:00
Graham Triggs
a7cfd21ed1 Fixed browsing of authors in Item Mapper so that you only need to specify a partial name
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2354 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-21 12:39:54 +00:00
Mark Diggory
08ac88062e Reinitialize Browse tables anytime IntializeDatabase is called.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2346 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-14 17:35:10 +00:00
Mark Diggory
2001749ce0 Wrap SQLExceptions in ItemCounter with ItemCountExceptions and wrap ItemCountExceptions in Collection and Community in RuntimeExceptions.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2339 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-12 23:39:13 +00:00
Richard Jones
813ca2b557 add missing import statements in Community and Collection for item counter
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2337 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-12 16:09:33 +00:00
Richard Jones
8d7b59f45d Option to generate community and collection "strength" as a batch job
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2328 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-12 11:59:47 +00:00
Graham Triggs
8a7e41a5fe Moved CreativeCommons xsl files from java directory to resources so that they are correctly added to the JAR
(otherwise, CreativeCommons class can't be created due to missing resources in static initialisation)

git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2327 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-12 10:20:27 +00:00
Mark Diggory
dd4473d449 license
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2319 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-07 17:31:46 +00:00
Mark Diggory
24867750c9 dropping excess info logging.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2316 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-06 22:44:39 +00:00
Mark Diggory
c305b3bbf0 CreativeCommons RDF processing based on XSL Transform.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2314 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-06 22:28:48 +00:00
Mark Diggory
e570f0bc39 CreativeCommons license cleanup CLI
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2313 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-06 22:27:50 +00:00
Graham Triggs
c46b3d9d3b Fixed generation of the Creative Commons RDF, including the parsing change for the cc namespace.
git-svn-id: http://scm.dspace.org/svn/repo/branches/dspace-1_5_x@2312 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-06 12:43:56 +00:00
Graham Triggs
8c2692ea7d Add the capability to define in which order the index should be listed by default (ascending or descending)
Also, removed two uses of 'magic' strings - replaced with static values from SortOption

git-svn-id: http://scm.dspace.org/svn/repo/trunk@2259 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-10-24 11:47:31 +00:00
Richard Jones
4d1706b383 (Andre Bollini)
add null checks to dc metadata lookups in BrowseItem

git-svn-id: http://scm.dspace.org/svn/repo/trunk@2255 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-10-22 12:12:51 +00:00
Andrea Bollini
1db6ad8882 more info in Exception message
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2254 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-10-19 16:42:53 +00:00
Stuart Lewis
5f35de8ebd (Robert Tansley) SF Patch #1566572 Item metadata in XHTML head <meta> elements
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2250 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-10-11 15:55:37 +00:00
Scott Phillips
dc7bee8347 (Scott Phillips) Modified ItemImport so that when testing, i.e. the -t flag, each metadata field that is being added is check to see if it exists. If the field does not exist then an error message is printed, and the test continues.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2230 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-10-02 23:06:56 +00:00
Graham Triggs
961d03ea33 Fix itemRemoved method to correctly clear entries from the general item / withdrawn item tables.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2214 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-09-24 20:35:21 +00:00
Graham Triggs
c39aa5b780 Always make item removal update the browse tables (may have entries in 'admin' tables).
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2213 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-09-24 20:17:11 +00:00
Stuart Lewis
e42cb88744 (Stuart Lewis) SF Patch #1799575 New EPersonConsumer event consumer
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2212 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-09-21 13:48:48 +00:00
Graham Triggs
bcf7cc64a5 Fix a 'starts with' browsing bug
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2205 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-09-18 16:13:17 +00:00
Mark Diggory
08d4b0c908 Hardwire initialization and destruction of Browse tables into IntializeDatabase.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2200 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-09-17 18:44:55 +00:00
Graham Triggs
a9225f6022 Added ability to specify a character set to be used when sending an email. Can be set as a default value in dspace.cfg, or (overridden) by an email template by specifying a charset: line.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2198 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-09-17 15:39:36 +00:00
Graham Triggs
6a90077cb1 Ensure that the item is in the archive and eligible for indexing before adding it to Lucene
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2197 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-09-17 15:38:10 +00:00
Graham Triggs
800a77bfe1 Added getPoliciesForGroup method, updated API to make use of Java 5 syntax
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2196 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-09-13 15:15:09 +00:00
James Rutherford
fa2fcea6b5 Fixed a minor bug in the SubmissionConfigReader constructor
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2181 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-09-06 17:09:35 +00:00
Graham Triggs
4f7b5c8424 Fixed metadata mapping so that it can export metadata items that contain a dollar sign!
Also added extra protection for items without bitstreams.

git-svn-id: http://scm.dspace.org/svn/repo/trunk@2174 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-08-30 11:10:07 +00:00
Stuart Lewis
a4c696de8c SF Patch 1743188 Patch for Request #1145499 - Move Items
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2171 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-08-28 15:05:50 +00:00
Stuart Lewis
0ab5d3bad4 SF Patch #1591871 Docs for google and html sitemaps
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2170 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-08-28 11:05:15 +00:00
Robert Tansley
311eb7ae28 (Robert Tansley / Barhatov Andrew)
- Authentication code moved to new org.dspace.authenticate package
- Added IP Authentication (SF patch #1566820).


git-svn-id: http://scm.dspace.org/svn/repo/trunk@2168 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-08-27 22:40:09 +00:00