Commit Graph

775 Commits

Author SHA1 Message Date
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
6773021e68 Fixed bug - bitstreams uploaded to editor could sometimes go to the wrong
bundle, now goes to first "ORIGINAL" bundle


git-svn-id: http://scm.dspace.org/svn/repo/trunk@778 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2004-03-04 20:22:22 +00:00
David Stuve
bbc025bd2b Now only displays collections you have permission to submit to when
you choose 'submit' from my DSpace page


git-svn-id: http://scm.dspace.org/svn/repo/trunk@777 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2004-03-04 05:59:35 +00:00
David Stuve
1ed9325159 added findAuthorized() method to find collections you had a permission
on (say for submitting)


git-svn-id: http://scm.dspace.org/svn/repo/trunk@776 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2004-03-04 05:56:04 +00:00
David Stuve
146357554f Added methods removePoliciesActionFilter() that removes policies for
an object that match an action, and can do -1 as a wildcard.


git-svn-id: http://scm.dspace.org/svn/repo/trunk@775 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2004-03-03 00:13:04 +00:00
David Stuve
39279bed2b Removed unused columns: public, end/start dates, eperson (item keeps eperson)
git-svn-id: http://scm.dspace.org/svn/repo/trunk@774 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2004-03-02 23:18:54 +00:00
David Stuve
87b96923de Added method to return array of groups authorized to perform an action
on an object.


git-svn-id: http://scm.dspace.org/svn/repo/trunk@773 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2004-03-02 22:21:37 +00:00
David Stuve
9fce6e2de9 Doesn't print out full text while indexing any more.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@772 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2004-03-02 22:20:06 +00:00
David Stuve
59c0d93358 Bugfix - was combining bundles twice in some cases.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@771 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2004-03-02 22:16:09 +00:00
David Stuve
5b838144a1 Added getBitstreamByName() method
git-svn-id: http://scm.dspace.org/svn/repo/trunk@770 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2004-03-02 22:10:00 +00:00
David Stuve
1ed8713a28 Makes thumbnails of JPEGs and GIFs
git-svn-id: http://scm.dspace.org/svn/repo/trunk@769 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2004-03-02 22:07:44 +00:00
David Stuve
65fe00b1da Displays thumbnail if available, edit link turned into button.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@768 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2004-03-02 22:06:33 +00:00
David Stuve
9b7ff37c7f added JPEG and GIF filter entries
git-svn-id: http://scm.dspace.org/svn/repo/trunk@767 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2004-03-02 22:05:34 +00:00
Robert Tansley
5d1e430286 Reinstating newer versions of JARs that were accidentally overwritten with
older versions.


git-svn-id: http://scm.dspace.org/svn/repo/trunk@766 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2004-03-02 14:51:38 +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
David Stuve
58139bcc20 Variable enum renamed to eNum to avoid conflict with 1.5's new enum keyword.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@764 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2004-03-02 04:59:24 +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
3ae047d113 Added canEdit() method, which knows about collection editors
and which collection owns the item.


git-svn-id: http://scm.dspace.org/svn/repo/trunk@762 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2004-02-26 22:37:16 +00:00
David Stuve
ec94e70e9e Cleaned up some old code that wasn't doing anything.
git-svn-id: http://scm.dspace.org/svn/repo/trunk@761 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2004-02-26 21:50:03 +00:00
David Stuve
ce530edbd8 Added permissions checks since it is no longer protected by admin-only
filter.


git-svn-id: http://scm.dspace.org/svn/repo/trunk@760 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2004-02-26 21:46:30 +00:00
David Stuve
53e290318d now only displays bitstreams in 'ORIGINAL' bundle
displays 'Edit' link in both views if you have permission


git-svn-id: http://scm.dspace.org/svn/repo/trunk@759 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2004-02-26 21:45:38 +00:00
David Stuve
1700626be8 item editor link now points to tools
git-svn-id: http://scm.dspace.org/svn/repo/trunk@758 9c30dcfa-912a-0410-8fc2-9e0234be79fd
2004-02-26 21:43:53 +00:00
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