Mark Diggory
5e5cd8cf4f
Remove vestigial History tables from database schema and add DROP TABLE in update schemas.
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2536 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-15 19:58:12 +00:00
James Rutherford
c6599aafcb
Moved all database creation SQL into the main database_schema.sql, removing the old DAO-specific file. Updated the build.xml to reflect changes.
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2488 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2008-01-08 11:04:41 +00:00
Richard Jones
9b9522d190
Complete initial implementation of the external identification mechanism. This includes a generalised object and storage model for external identifiers, as well as tools to manage the plugin stack for allowing pluggable identification mechanisms. There is a partial implementation of all the handle kit, which is still to be finalised, but which allows for assignment of handles to all DSpaceObjects, and will currently resolve handles only to DSpace Items. This new object model and process is then implemented throughout the dspace-api, and dspace-jspui modules, but will currently not work with the dspace-xmlui module (it will not currently compile against the dspace-api module, and will continue to remain inactive until the API for external and internal identifiers has been stabilised and changes can be propagated) or the dspace-lni module. There are additional changes to the dspace-jspui module which improve the display mechanics for both external and internal identifiers. Please note: the changes have not been tested in all contexts, and bugs will undoubtedly remain in areas such as RSS feeds, statistical reports, and so on.
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2458 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-12-21 12:25:59 +00:00
Richard Jones
977a58d054
fix uuid assignment and storage mechanism throughout core object model. This adds relevant ObjectIdentifier management techniques to the object model, and manages their creation, assignment, update and removal through the DAO layer. It also adds a de-normalised index of uuids for rapid access to the content objects. The URIServlet is updated to be able to resolve UUID based URLs to the DSpaceObject which they pertain to. Currently, the handle and other external identifier mechanisms are not in line with this code, so they will not function yet. Also attached are database schema files for creating the relevant underlying storage in postgres.
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2445 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-12-14 16:19:54 +00:00
Mark Diggory
f1c004f5b0
This commit introduces the DAO prototype to trunk. This merge contains the works of James Rutherford (jrutherford) et. al. found in the DAO prototype branch revision number 1502 located here:
...
http://dspace-sandbox.googlecode.com/svn/branches/dao-prototype/
Further details can be found at the following WIKI page http://wiki.dspace.org/DSpace_1.6
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2417 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-12-10 17:00:07 +00:00
Mark Diggory
ce6c29b497
r8715@libaxis1 (orig r2412): grahamtriggs | 2007-12-01 06:17:19 -0500
...
Updated schema to remove the old browse tables that are no longer used
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2413 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-12-02 05:00:17 +00:00
Mark Diggory
d09592f42f
r8499@libaxis1 (orig r2364): grahamtriggs | 2007-11-26 05:21:46 -0500
...
Changed 'number' column to 'count' as number is a reserved word in Oracle
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2385 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-26 20:28:33 +00:00
Richard Jones
242d43a696
Option to generate community and collection "strength" as a batch job
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2329 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-11-12 12:00:32 +00:00
Graham Triggs
ce443e40bc
More stable metadata import (SFP 1670093). Also:
...
- fix database_schema.sql errors (Postgres).
- fix browse index ant task
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2123 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-08-07 22:54:53 +00:00
Graham Triggs
bbde6d286b
Added missing page_reached column for Configurable Submission
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2113 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-08-03 12:19:33 +00:00
James Rutherford
e6921c0343
(James Rutherford)
...
- Fixed SF bug #1614546 get rid of unused mets_bitstream_id column
Fresh installs will no longer create this unused column, and the 1.4 -> 1.5
updater script will remove the column if it exists.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@2009 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-06-12 18:13:51 +00:00
Claudia Juergen
24422f5a05
SF Patch 1450491 i18n configurable multilingualism support
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@1947 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2007-05-18 13:50:29 +00:00
Scott Yeadon
18cabf4b4f
SF bug #1456988 - database-schema.sql and database-schema_13_14.sql inconsistencies
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@1502 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2006-04-06 06:06:55 +00:00
Robert Tansley
6274c0521a
(Robert Tansley)
...
- UNIQUE constraint applied to schema namespace + short_id (not element).
Fixed bug SF #1460515 .
git-svn-id: http://scm.dspace.org/svn/repo/trunk@1490 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2006-03-29 22:03:14 +00:00
Scott Yeadon
6737f4c329
SF Patch #1455107 - MetadataValue Database Index
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@1465 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2006-03-27 04:54:58 +00:00
Jim Downing
27d72438fe
Checksum Checker, minus a little documentation and a couple of refactorings.
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@1408 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2006-01-20 16:13:20 +00:00
Robert Tansley
9e4cb86aae
(Aneesh Joy)
...
- Browse by subject feature; SF Patch #1193600
git-svn-id: http://scm.dspace.org/svn/repo/trunk@1398 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2006-01-12 21:47:31 +00:00
Robert Tansley
5cb6fbdeca
(Robert Tansley)
...
- Drop unique community name constraint
git-svn-id: http://scm.dspace.org/svn/repo/trunk@1380 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2005-11-22 20:53:51 +00:00
Robert Tansley
5a5c51179e
(Robert Tansley)
...
- Bitstream file sizes now stored in BIGINT column size_bytes.
Fixes SF bug #1035366
- Queries involving booleans now have Oracle/PostgreSQL-neutral SQL syntax;
removes some DB-dependent code from business logic layer
git-svn-id: http://scm.dspace.org/svn/repo/trunk@1374 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2005-11-17 19:02:04 +00:00
Robert Tansley
8a66267869
(Martin Hald, Larry Stone, Robert Tansley)
...
- Support for multiple (flat) metadata schemas
NOTE: Still some items to do
git-svn-id: http://scm.dspace.org/svn/repo/trunk@1373 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2005-11-16 21:40:53 +00:00
Scott Yeadon
edb9e4bb77
SF Patch# EPerson Group enhancement - allow groups within groups
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@1325 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2005-10-13 05:49:39 +00:00
Robert Tansley
629d50dfff
(Tim DiLauro et al)
...
- Added indices recommended by John Hopkins University
git-svn-id: http://scm.dspace.org/svn/repo/trunk@1192 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2005-04-21 17:03:54 +00:00
Richard Jones
d35caf33f8
fix referential integrity omission for collection table
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@1185 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2005-04-19 08:59:07 +00:00
Scott Yeadon
a7b957e70e
SF Patch #1110951 - LDAP Authentication Patch
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@1178 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2005-04-08 05:48:36 +00:00
Scott Yeadon
b90d4208a8
SF patch #1149684 Group and Collection Admin bug fix
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@1159 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2005-04-05 01:38:18 +00:00
Richard Jones
bbe7e5041d
Database schema changes for supervision orders system incorporated
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@1137 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2005-03-23 14:20:58 +00:00
Robert Tansley
d9a39db5fb
Item.last_modified changed to be TIMESTAMP WITH TIME ZONE
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@922 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2004-05-14 19:06:54 +00:00
Richard Rodgers
3a0288aa38
Part of fix for bug SF# 917560 (sub-community browse). Fix consists of addition
...
of a new table 'Communities2Item' which contains the entire mapping of parent
communities to items (i.e. one row for each comm-item pair). This table is
substituted in all the community-restricted views used in the browse:
communityitembydate, communityitembyauthor, etc
git-svn-id: http://scm.dspace.org/svn/repo/trunk@837 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2004-04-07 19:58:26 +00:00
Robert Tansley
5bd1d4cdfd
Checking in sub-community support for Richard
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@790 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2004-03-09 18:32:31 +00:00
Austin Kim
5712348b6f
Checking in persistent bitstream IDs
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@779 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2004-03-04 21:19:28 +00:00
David Stuve
3e3d844435
Fixed syntax error in Bundle - comma in wrong place, DB was not happy...
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@765 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2004-03-02 06:17:38 +00:00
Austin Kim
916a8bd728
Checking in HTMLSupport
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@763 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2004-02-27 21:15:52 +00:00
David Stuve
a961b72cea
added field in item for 'owning collection' and 'name' in bundles
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@742 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2004-02-24 18:21:14 +00:00
Greg McClellan?
cba328e534
Updated schema. Changed names of two views to shorten them to get around some data migration problems.
...
CollectionItemsByDateAccessioned -> CollectionItemsByDateAccession
CommunityItemsByDateAccessioned -> CommunityItemsByDateAccession
git-svn-id: http://scm.dspace.org/svn/repo/trunk@666 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2003-04-28 20:16:02 +00:00
Robert Tansley
3fbba58455
- Implemented OAI resumption tokens for ListRecords requests. Implements
...
SF feature request #620658 .
- Modified DB schema for items. Now items have a 'last_modified' property,
which is updated whenever the item is modified (obviously.) This date is
used for the harvesting.
- Optimised Item.java/DCType.java: Now, DCType.java loads in all DC types
up front so that Item.java does not have to do more queries to get the
elements and qualifiers. Greatly reduces number of SQL queries per harvest.
- Added upgrade script to set last_modified date for items that need them.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@644 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2003-04-11 17:49:06 +00:00
David Stuve
891f237e71
added 11 indices, essentially to any table row that was heavily
...
queried, and the table was large - sort_authors, sort_titles,
handles, resourcepolicy-objecttype & id, dcvalue-itemid, etc.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@620 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2003-04-07 19:04:54 +00:00
Robert Tansley
83d07d36b2
Database schema change required for multiple bitstream stores.
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@600 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2003-04-04 19:07:30 +00:00
Robert Tansley
aa3d4ab719
Updated source code license.
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@535 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-11-01 17:59:17 +00:00
Robert Tansley
c97c8f38a9
Item deletion and tombstones supported. SF feature request #620656
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@453 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-10-21 13:56:10 +00:00
Robert Tansley
32d570d052
Self-registration now permitted, subject to configuration
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@449 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-10-18 14:34:55 +00:00
Robert Tansley
ed9f5052fa
- Implemented e-mail subscription (new item notification).
...
- Updated DB schema:
* New "subscription" table
* EPerson: renamed "active" to "can_log_in", and added "last_active",
"self_registered" and "sub_frequency" columns (unused right now, but
easier to make the changes at once)
- Updated EPerson object to reflect table changes, and callers of EPerson
object
- Removed MIT-only filters from web.xml
git-svn-id: http://scm.dspace.org/svn/repo/trunk@446 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-10-18 11:22:00 +00:00
David Stuve
7b6d65b339
added sort_author column in itembyauthor table
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@426 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-10-01 20:30:06 +00:00
Robert Tansley
8bbc66d709
- Removed unused "public" field from resourcepolicy
...
- Now creates special anonymous and administrator groups
git-svn-id: http://scm.dspace.org/svn/repo/trunk@390 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-09-16 14:14:37 +00:00
Robert Tansley
35e9b51a53
Some database changes for dealing with concurrent ID generation problems.
...
(SF bug #495059 )
- SQL file separated into database_schema.sql, for creating the schema,
clean-database.sql, which removes tables, views etc. from an existing
DSpace database, and update-sequences.sql which resets the ID generators,
but is only used after an SQL dump which sets explicit primary keys.
- Sequences for primary key generation added to SQL schema
- SQL function "getnextid" added as an abstraction for access to those sequences
- Database manager now uses getnextid() SQL function to get IDs - this means
other DB backends can hide ID generation specifics behind this
- Minor tweak to HistoryManager, which was accessing DB manager's in-memory
ID generator directly - now it doesn't do this.
- Old, now unnecessary "reset ID generator" admin servlet/JSP removed
git-svn-id: http://scm.dspace.org/svn/repo/trunk@362 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-09-09 19:44:33 +00:00
Robert Tansley
4cf29737b5
fileextension.id renamed to fileextension.file_extension_id in keeping with
...
conventions used elsewhere in the schema
git-svn-id: http://scm.dspace.org/svn/repo/trunk@357 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-09-06 14:23:29 +00:00
David Stuve
30241d3ab8
modified resourcepolicy table
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@331 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-08-30 14:37:27 +00:00
Robert Tansley
992de42a17
formatidentifier table renamed to fileextension.
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@274 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-08-15 18:12:27 +00:00
Robert Tansley
16c8dc047b
Cleaned-up submission UI
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@232 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-07-22 17:38:21 +00:00
Robert Tansley
eefb15465a
- Removed DCResult
...
- Renamed workflow-related columns in Collection:
reviewers => workflow_step_1
approvers => workflow_step_2
editors => workflow_step 3
git-svn-id: http://scm.dspace.org/svn/repo/trunk@63 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-05-30 21:02:39 +00:00
David Stuve
a7264d107c
resourcepolicy edits
...
renamed resource_filter => container_type_id
renamed resource_filter_arg => container_id
del notes
del eperson_owner
del priority
git-svn-id: http://scm.dspace.org/svn/repo/trunk@59 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2002-05-30 17:56:45 +00:00