David Stuve
b199ce8505
item editor moved from dspace-admin to tools, and tools
...
protected by registered-only filter
git-svn-id: http://scm.dspace.org/svn/repo/trunk@757 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2004-02-26 21:42:59 +00:00
David Stuve
0e84eb039a
PDFFilter now puts 'Extracted text' in the new bitstream's description.
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@756 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2004-02-26 21:35:44 +00:00
David Stuve
d533348966
MediaFilters now put an entry in the Bitstream's description field.
...
HTML and Word filters put 'Extracted text' in the description.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@755 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2004-02-26 21:34:31 +00:00
David Stuve
1482913b2c
Relocated from dspace-admin to tools directory
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@754 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2004-02-26 20:38:53 +00:00
David Stuve
fa4617fda3
Fixed bug - bitstream format of new file was being set after the update()
...
method, so it never made it into the database.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@753 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2004-02-26 16:34:41 +00:00
David Stuve
696e5d5ec2
jsps for item editor moved to their new home in /tools
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@752 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2004-02-25 23:49:02 +00:00
David Stuve
7464c32531
removed display of eperson and start/end dates from authorization editor
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@751 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2004-02-24 18:49:31 +00:00
David Stuve
ea284626a7
was missing copyright notice at top
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@750 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2004-02-24 18:46:54 +00:00
David Stuve
477bd2db24
creating a new bundle gets the ORIGINAL name, and multiple bitstreams are
...
added to that bundle instead of getting a new one
git-svn-id: http://scm.dspace.org/svn/repo/trunk@749 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2004-02-24 18:44:15 +00:00
David Stuve
8c9d1b1103
Now bundle that's created gets set with ORIGINAL name
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@748 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2004-02-24 18:37:18 +00:00
David Stuve
088f9d37b6
When importing an item, now puts license in LICENSE bundle, and other
...
files in 'ORIGINAL' bundle
git-svn-id: http://scm.dspace.org/svn/repo/trunk@747 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2004-02-24 18:34:31 +00:00
David Stuve
2b671d6ec3
Sets owning collection when item is installed.
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@746 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2004-02-24 18:32:33 +00:00
David Stuve
dd9376a91b
Looks for extracted text in each item's TEXT bundle, and adds it to index.
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@745 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2004-02-24 18:27:29 +00:00
David Stuve
539a46ddcb
added get/set methods for bundle name
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@744 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2004-02-24 18:25:43 +00:00
David Stuve
bfa569c90e
added COLLECTION_EDITOR action/role
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@743 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2004-02-24 18:22:04 +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
David Stuve
f96bbd1d61
creating bundles now requires a name, find bundles can take a name
...
introduced 'owning collection', and skips authorization on
modifying an item if the user is a COLLECTION_EDITOR for this item
git-svn-id: http://scm.dspace.org/svn/repo/trunk@741 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2004-02-24 18:17:57 +00:00
David Stuve
3f4ca1c636
Libraries used for text extraction:
...
jakarta-poi.jar - MS file formats access
PDFBox.jar - pdf utilities
tm-extractors.jar - classes that wrap poi and pdfbox
git-svn-id: http://scm.dspace.org/svn/repo/trunk@740 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2004-02-24 18:03:10 +00:00
David Stuve
37075cfc35
MediafilterManager - command line tool to do media filtering
...
MediaFilter - parent class for all filters
HTMLFilter, WordFilter, PDFFilter - classes that process these formats
git-svn-id: http://scm.dspace.org/svn/repo/trunk@739 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2004-02-24 17:51:24 +00:00
David Stuve
7df196dc76
Configuration for MediaFilterManager - contains bitstream format names
...
and the names of classes that filter those formats.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@738 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2004-02-24 17:49:02 +00:00
David Stuve
2e724d7650
Utility to upgrade asset stores to v1.2 - combines multiple bitstreams into
...
a single bundle and assigns ORIGINAL and LICENSE to the bundles.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@737 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2004-02-24 17:37:48 +00:00
Grace Carpenter
2d4d8c52c8
Fix for bug 810757. Removed exception handling from doDSGet, since Lucene exceptions are now handled in DSQuery.doQuery().
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@736 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2004-02-23 19:45:42 +00:00
Grace Carpenter
ac19cc2d64
Fix for bug 810757. Added errorMsg member variable to allow error messages generated during Lucene search to be communicated to JSP's.
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@735 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2004-02-23 19:44:15 +00:00
Grace Carpenter
01699bb834
Fix for bug 810757. Added code to catch TokenMgrErr. For all handled exceptions (TokenMgrErr, ParseException, NumberFormat Exception) set QueryResults.errorMsg to appropriate error message.
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@734 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2004-02-23 19:42:27 +00:00
Grace Carpenter
65007821c7
Fix for bug 810757. Added code to check the QueryResults object for an error message, and display it if it exists.
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@733 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2004-02-23 19:40:00 +00:00
Robert Tansley
7015848134
Added 'nocache' attribute to dspace:layout JSP tag. nocache="true" sets
...
appropriate HTTP headers to stop browsers caching the page, causing potential
back-button related mishaps. Unfortunately only seems to work with pages
read by a POST. GET pages can still be reached by the 'back' button. Although
this is consistent with REST architecture, it does mean some issues may remain
git-svn-id: http://scm.dspace.org/svn/repo/trunk@732 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2004-02-23 18:32:44 +00:00
Robert Tansley
6adf858a20
build_wars target now makes sure the jsp/local directory exists (it will fail
...
if it doesn't)
git-svn-id: http://scm.dspace.org/svn/repo/trunk@731 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2004-02-19 14:44:08 +00:00
Robert Tansley
1b48943aeb
Fixes to .war file build:
...
- I'd broken 'localised' JSPs. Now the localised JSPs replace the default ones
during the build process, avoiding any runtime checking.
- build_wars now a separate target.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@730 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2004-02-13 20:46:57 +00:00
Robert Tansley
edb47922ea
Reference to tombstone.jsp now has required preceding / so that version in
...
jsp/local will be used, if there.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@729 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2004-02-10 15:17:43 +00:00
Robert Tansley
b9c008a41d
Removed some lines which referred to $log_filename which used to be a
...
command line argument but isn't any more.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@728 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2004-02-10 14:54:50 +00:00
Robert Tansley
6729f33e46
DSpace database connection pool parameters now configurable via dspace.cfg.
...
Original defaults are used if values are not specified in dspace.cfg, for
backwards compatibility.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@727 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2004-02-06 21:43:01 +00:00
Robert Tansley
ec9e23e1f5
Changed build process to avoid use of symlinks, which have caused so many
...
problems for people installing DSpace with Tomcat. Instead, two .war files
are created which can simply be dropped in the appropriate place for Tomcat
or other servlet container. A simple LoadDSpaceConfig servlet then loads in
the dspace.cfg (from a config parameter in the web.xml contained within each
.war) and initialises log4j with the appropriate properties file.
A few other cleanups:
- Removed redundant ${basedir} references
- update and fresh_install targets now give useful hints as to what to do next
- fresh_install target builds search + browse indices and config files for
3rd party tools (i.e. bin/index-all and bin/install-configs)
git-svn-id: http://scm.dspace.org/svn/repo/trunk@726 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2004-02-04 19:21:53 +00:00
Grace Carpenter
8226aa9ab3
Fix for #747489 . Added code in create() to set handle on newly created
...
Community object.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@725 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2004-02-02 18:13:28 +00:00
David Stuve
f559a057da
Clarified javadoc for removeBitstream to change 'does not remove bitstream'
...
to 'removes bitstream only if this is the only reference to it'.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@724 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2004-02-02 05:43:49 +00:00
David Stuve
ecabb5bba4
Submitted files all go into the same bundle now. License however, gets its own bundle.
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@723 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2004-02-02 05:42:20 +00:00
David Stuve
ab99fdfd35
Updated to Lucene 1.3 final!
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@722 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2004-01-30 21:37:52 +00:00
Grace Carpenter
ae21ce2d29
Fix for #747489 . Added code in create() to set handle on newly created
...
Collection object.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@721 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2004-01-30 20:45:50 +00:00
David Stuve
ca6219606f
Can now select multiple epeople to add to a group, and they will all be added.
...
Added method getIntParameters() to UIUtil that returns an array of ints
git-svn-id: http://scm.dspace.org/svn/repo/trunk@720 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2004-01-29 01:09:22 +00:00
David Stuve
e22229c32e
version 1.1 of commons-dbcp.jar and 5.3.3 of handle.jar files
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@719 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2004-01-28 19:35:31 +00:00
Robert Tansley
331d6c3b7f
Tries to make temp upload dir, in case it's not /tmp (which it shouldn't
...
really be.)
No longer copies servlet.jar to install_dir/lib. Tomcat's messages explaining
it was skipping over this were causing confusion.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@718 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2004-01-28 16:01:01 +00:00
David Stuve
5e2624b7fc
Can now export items with multiple bitstreams that have the same name.
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@717 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2004-01-28 05:59:50 +00:00
Robert Tansley
078a06ad18
Re-applied the fix to the 'can't edit or delete people after sorting the list'
...
bug which got lost in the /admin -> /dspace-admin move
git-svn-id: http://scm.dspace.org/svn/repo/trunk@716 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2004-01-27 21:03:04 +00:00
David Stuve
f864c2df25
library update: commons, oro, pool, log4j
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@715 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2004-01-27 19:03:47 +00:00
David Stuve
70a1a6073a
removed /admin jsp files, moved to /dspace-admin
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@714 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2004-01-27 08:36:48 +00:00
David Stuve
86f4a9f527
Removing /admin jsps, moved to /dspace-admin
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@713 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2004-01-27 08:31:25 +00:00
David Stuve
36fea2a508
moved /admin to /dspace-admin to avoid name conflict with tomcat's /admin
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@712 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2004-01-27 08:23:09 +00:00
Robert Tansley
564aa767ae
OAI-related changes:
...
- set structure exposed via OAI is now flat list of collections (in preparation
for 'sub-communities' feature)
- set specs are now more-or-less Handles - ':' and '/' changed to '_' to
follow OAI-PMH spec (characters in set spec must be safe for query section
of a URL). e.g. hdl:123.456/789 -> hdl_123.456_789
- org.dspace.search.Harvest now only accepts Collections as scope
(no longer needed, would take needless effort to take into account
sub-communities)
- bad set specs now handled properly (bad argument error given), fixed SF
bug #832374 .
- Updated oaicat.jar to latest (1.5.17)
- Qualified DC 'contributor.author' now mapped to unqualified DC 'creator'
for plain oai_dc export, to fit in with general behaviour of rest of OAI-PMH
community (particularly eprint community)
git-svn-id: http://scm.dspace.org/svn/repo/trunk@711 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2004-01-26 20:01:13 +00:00
Robert Tansley
7dae6e48f9
Can now edit/delete epeople after sorting the list. Fixes SF bug #810792
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@710 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2004-01-23 14:41:36 +00:00
Greg McClellan
5bf24aabd0
Fix for browse by date bug. Updated some SQL to make the system behave properly when there are more than 21 items with the same date.
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@709 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2003-12-17 20:53:16 +00:00
Greg McClellan
11c3761e85
Implemented Richard's fix for the bug where the years don't show up properly in the pop-up menu.
...
git-svn-id: http://scm.dspace.org/svn/repo/trunk@708 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2003-12-17 15:42:54 +00:00