Commit Graph

738 Commits

Author SHA1 Message Date
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
Greg McClellan
ae9b60910d Fix for SF bug #850790. Changed to link back to use the collections handle.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@707 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2003-12-04 16:44:53 +00:00
Greg McClellan
230ef4db3e Added "-source" to end of directory name (i.e., dspace-1.1.1.1-source)
git-svn-id: http://scm.dspace.org/svn/repo/trunk@706 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2003-12-04 16:42:57 +00:00
David Stuve
d917f96bf0 delete() now removes any pending subscriptions
git-svn-id: http://scm.dspace.org/svn/repo/trunk@705 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2003-10-20 18:52:32 +00:00
David Stuve
ad90d7fd81 Item.update() now re-indexes the item - update() now accordingly throws
an IOException, which had to be propogated...


git-svn-id: http://scm.dspace.org/svn/repo/trunk@704 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2003-10-20 18:49:28 +00:00
Robert Tansley
12dbc32a8a Fixed a bug whereby locally modified versions of the 'grant license' and
'submission complete' screens weren't picked up.


git-svn-id: http://scm.dspace.org/svn/repo/trunk@703 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2003-10-09 18:08:58 +00:00
Robert Tansley
34b232ae29 Fixed a typo
git-svn-id: http://scm.dspace.org/svn/repo/trunk@702 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2003-09-08 15:17:53 +00:00
Robert Tansley
8ff566712c Added 'javadoc' target that makes javadocs for everything
git-svn-id: http://scm.dspace.org/svn/repo/trunk@701 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2003-09-03 13:34:58 +00:00
David Stuve
9d9a9eb072 Added method getActionText() to get the displayable text for the action,
making for cleaner JSPs (single method call, not lots of tests to cover
up null action values, etc.)


git-svn-id: http://scm.dspace.org/svn/repo/trunk@699 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2003-07-16 17:03:53 +00:00
David Stuve
4739c803a4 Made resistant to resourcepolicies that were mostly null (no action ID set).
git-svn-id: http://scm.dspace.org/svn/repo/trunk@698 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2003-07-16 17:01:59 +00:00
David Stuve
fe15687198 Fixed problem with JSPs generating error with empty policies (action is null.)
git-svn-id: http://scm.dspace.org/svn/repo/trunk@697 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2003-07-16 14:12:31 +00:00
David Stuve
bc03027d4b Modified to return today's date if last modified date is null in database
git-svn-id: http://scm.dspace.org/svn/repo/trunk@696 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2003-07-10 23:30:07 +00:00
David Stuve
e0d264dfae removed creation of last_modified from the Item() constructor, it was overwriting
the actual last_modified date


git-svn-id: http://scm.dspace.org/svn/repo/trunk@695 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2003-07-09 18:02:01 +00:00
David Stuve
c50ed1e21b Added methods to remove all policies for a DSpace object that refer to a
particular Group (useful for taking away the rights of a particular group)


git-svn-id: http://scm.dspace.org/svn/repo/trunk@694 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2003-07-08 21:58:54 +00:00
David Stuve
2f03520aab Now checks jsp and assetstore directories for zero-length files.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@693 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2003-07-02 15:08:58 +00:00
David Stuve
8dbd597e59 Importing an item with a workflow now suppresses the first workflow email.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@692 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2003-07-02 14:57:43 +00:00