Re: [Dspace-tech] auto add shib users to group

2011-04-15 Thread Sarah Ryder


In case anyone is interested, the cause of my problem was this setting in 
the config:


 Session invalidation #

# Enable or disable session invalidation upon login or logout.
# This feature is enabled by default to help prevent session hijacking
# but may cause problems for shibboleth, etc
#
# webui.session.invalidate = true

We switched that to false and our users were mapped to the group upon 
login.


Thanks!

-Sarah Ryder
Web Development
Hampshire College
413.559.5477

On Fri, 8 Apr 2011, Lehtilä Tapani wrote:


As far as I know, the attributes may differ in different Shibboleth 
installation. I suggest you set the log level in DEBUG at 
config/log4j.properties. Then you can check from  DSpace logs what the real 
attributes are after you have logged in.

In our case the settings which need to be configured are
authentication.shib.role-header and authentication.shib.role.[role_name], 
role_name can be for example Staff and Students. That role_name you can check 
from role-header attribute.

P.S. Remember to change that log level back to info, because it will collect a 
lot of logs at debug level.

Tapani

--
Tapani Lehtilä, Tampere University of Technology / Library
tapani.leht...@tut.fi +358 40 849 0208
P.O.Box 537, 33101 Tampere Finland
Street address:
Korkeakoulunkatu 10, 33720 Tampere, Finland


-Original Message-
From: Kevin P. Foote [mailto:kpfo...@iup.edu]
Sent: Thursday, April 07, 2011 11:39 PM
To: Sarah Ryder
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] auto add shib users to group


I believe there is one more setting in there somewhere ..

it relates to what your consuming as the role attribute I believe..
cant remember off the top of my head.

In my case i'm using ePPA


--
thanks
 kevin.foote

On Thu, 7 Apr 2011, Sarah Ryder wrote:

-
- Hi folks
-
- We're using Shibboleth authentication w/ DSpace 1.7.1 and we'd like
to
- make it so that all of our users are added to a DSpace group when
they
- login. Does anyone know if this is possible and how?
-
- I assumed that the following lines in dspace.cfg (see below) would
allow
- for this, so I set:
- authentication.shib.default-roles = member
- authentication.shib.role.member = hampusers
-
- I already created the group called hampusers, but no users are added
to
- the group when they login. I picked the word member to use for the
role,
- but I picked that out of thin air just assuming that it could be any
word.
-
- I also don't see anything regarding roles in the dspace log when
users
- authenticate.
-
- Any insight or help would be much appreciated. Thanks!
-
- # when user is fully authN on IdP but would not like to release
- # his/her roles to DSpace (for privacy reason?), what should be
- # the default roles be given to such users?
- # The values are separated by semi-colon or comma
- # authentication.shib.default-roles = Staff, Walk-ins
- authentication.shib.default-roles = member
-
- # The following mappings specify role mapping between IdP and Dspace.
- # the left side of the entry is IdP's role (prefixed with
- # authentication.shib.role.) which will be mapped to
- # the right entry from DSpace. DSpace's group as indicated on the
- # right entry has to EXIST in DSpace, otherwise user will be
identified
- # as 'anonymous'. Multiple values on the right entry should be
separated
- # by comma. The values are CASE-Sensitive. Heuristic one-to-one
mapping
- # will be done when the IdP groups entry are not listed below (i.e.
- # if X group in IdP is not specified here, then it will be mapped
- # to X group in DSpace if it exists, otherwise it will be mapped
- # to simply 'anonymous')
- #
- # Given sufficient demand, future release could support regex for the
- mapping
- # special characters need to be escaped by \
- #authentication.shib.role.Senior\ Researcher = Researcher, Staff
- #authentication.shib.role.Librarian = Administrator
- authentication.shib.role.member = hampusers
-
-
- -Sarah Ryder
- Web Development
- Hampshire College
- 413.559.5477
-
- -
-
- Xperia(TM) PLAY
- It's a major breakthrough. An authentic gaming
- smartphone on the nation's most reliable network.
- And it wants your games.
- http://p.sf.net/sfu/verizon-sfdev
- ___
- DSpace-tech mailing list
- DSpace-tech@lists.sourceforge.net
- https://lists.sourceforge.net/lists/listinfo/dspace-tech
-


--
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


--
Xperia(TM) PLAY
It's a major

[Dspace-tech] auto add shib users to group

2011-04-07 Thread Sarah Ryder

Hi folks

We're using Shibboleth authentication w/ DSpace 1.7.1 and we'd like to 
make it so that all of our users are added to a DSpace group when they 
login. Does anyone know if this is possible and how?

I assumed that the following lines in dspace.cfg (see below) would allow 
for this, so I set:
authentication.shib.default-roles = member
authentication.shib.role.member = hampusers

I already created the group called hampusers, but no users are added to 
the group when they login. I picked the word member to use for the role, 
but I picked that out of thin air just assuming that it could be any word.

I also don't see anything regarding roles in the dspace log when users 
authenticate.

Any insight or help would be much appreciated. Thanks!

# when user is fully authN on IdP but would not like to release
# his/her roles to DSpace (for privacy reason?), what should be
# the default roles be given to such users?
# The values are separated by semi-colon or comma
# authentication.shib.default-roles = Staff, Walk-ins
authentication.shib.default-roles = member

# The following mappings specify role mapping between IdP and Dspace.
# the left side of the entry is IdP's role (prefixed with
# authentication.shib.role.) which will be mapped to
# the right entry from DSpace. DSpace's group as indicated on the
# right entry has to EXIST in DSpace, otherwise user will be identified
# as 'anonymous'. Multiple values on the right entry should be separated
# by comma. The values are CASE-Sensitive. Heuristic one-to-one mapping
# will be done when the IdP groups entry are not listed below (i.e.
# if X group in IdP is not specified here, then it will be mapped
# to X group in DSpace if it exists, otherwise it will be mapped
# to simply 'anonymous')
#
# Given sufficient demand, future release could support regex for the 
mapping
# special characters need to be escaped by \
#authentication.shib.role.Senior\ Researcher = Researcher, Staff
#authentication.shib.role.Librarian = Administrator
authentication.shib.role.member = hampusers


-Sarah Ryder
Web Development
Hampshire College
413.559.5477

--
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] Messages.properties doesn't exist

2011-03-31 Thread Sarah Ryder

Hi folks

We're running DSpace 1.7.0 here now (fresh install, but we upgraded our 
old 1.3.2 db). Everything seems to be working well, except that I'd like 
to customize our displayed item metadata and 
[dspace-source]/config/language-packs/Messages.properties does not exist.

I've tried creating a Messages.properties w/ just a few items in it that 
we want customized. If I create the language-packs directory w/ this file 
in it and rebuild, it doesn't do anything. If I put the file into 
[dspace-source]/modules/jspui/src/main/resources, then it seems to 
completely overwrite all default item displays as blank and only shows the 
custom items that in the file.

Am I missing something here? How does one customize meta display in 
version 1.7 without an existing Messages.properties file? Any help would 
be much appreciated.

Thanks!

-Sarah Ryder
Web Development
Hampshire College
413.559.5477

--
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] advanced search question

2009-06-05 Thread Sarah Ryder

Does anybody know if it is possible to customize the advanced search so 
that collections, in addition to communities, appear in the search 
dropdown box?

Thanks

-Sarah Ryder
Web Development
Hampshire College
413.559.5477

--
OpenSolaris 2009.06 is a cutting edge operating system for enterprises 
looking to deploy the next generation of Solaris that includes the latest 
innovations from Sun and the OpenSource community. Download a copy and 
enjoy capabilities such as Networking, Storage and Virtualization. 
Go to: http://p.sf.net/sfu/opensolaris-get
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] browse config

2009-05-29 Thread Sarah Ryder

Richard, that helps tremendously!  Seems as though the BrowseIndex code 
was just breaking on the dashes (numbers seem to be ok) so I've changed my 
qualifiers in every place necessary, rebuilt and redeployed and all is 
well.  And yes, datecreated was defined lower down as 
webui.itemlist.sort-option.2 = datecreated:dc.date.created:date which it 
seems I had forgotten about.

Thanks so much for your help, I really appreciate it!

-Sarah Ryder
Web Development
Hampshire College
413.559.5477

On Fri, 29 May 2009, Richard Jones wrote:

 Hi Sarah,

 Does anyone know if there is an updated version of the browse configuration 
 page? This page in the wiki is relevant to older versions of DSpace: 
 http://wiki.dspace.org/index.php/Modify_browse_fields_(JSP)
 
 The old browse configuration made sense to me, but for some reason I'm not 
 wrapping my head around how to change some browse configs.  What I 
 currently have works, but not the way our librarians want it to work.
 
 My current settings are:
 webui.browse.index.1 = datecreated:item:datecreated
 webui.browse.index.2 = author:metadata:dc.contributor.*:text
 webui.browse.index.3 = title:item:title
 webui.browse.index.4 = subject:metadata:dc.material.*:text
 
 I want to change the author browse index to only index a specific 
 contributor field, which is contributor.1-sort-name, but if I alter the 
 setting to be webui.browse.index.2 = 
 author:metadata:dc.contributor.1-sort-name:text then I get an error when 
 trying to index.  Same thing happens if I change 
 subject:metadata:dc.material.*:text to 
 subject:metadata:dc.material.art-architecture:text. 

 Looking at the part of the BrowseIndex code which parses the configuration, 
 it appears that the metadata field declaration cannot contain numbers or 
 special characters, so your configuration is breaking on the 1 and the -. 
 I think that counts as a bug.

 The fix is probably relatively straightforward, but would require you to 
 rebuild and redeploy your DSpace instance.  Let me know if this is viable, 
 and I can help you out.

 I also am unsure of the datecreated browse index.  I want to make sure it 
 is indexing the field date.created, but I can't quite tell if that's what 
 it's doing.
 

 Anything with item on the right hand side refers to an actual list of 
 items, and the final part of the configuration tells the browse system which 
 sort term configuration to use.  So:

 webui.browse.index.1 = datecreated:item:datecreated

 Tells the browse system to create an item level browse on the sort 
 configuration datecreated.  This is should be configured further down as 
 something like:

 webui.itemlist.sort-option.2 = datecreated:dc.date.created:date

 Telling the browse system which metadata field to sort by 
 (dc.date.created), and the datatype of that metadata field (date).

 Hope that helps,

 Cheers,

 Richard

 -- 
 Richard Jones
 Head Repository Systems Architect, Symplectic Limited
 e: rich...@symplectic.co.uk
 t: 0845 026 4755
 t: +44 (0)207 7334036
 w: http://www.symplectic.co.uk/


--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers  brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing,  
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA,  Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] [Dspace-general] OR09 DSpace User Group Mtg Recordings Available

2009-05-28 Thread Sarah Ryder

Haha well technically there's ies4linux 
(http://www.tatanka.com.br/ies4linux/page/Main_Page), though I've played 
around with it a bit and it doesn't work all that well.  ;)

-Sarah Ryder
Web Development
Hampshire College
413.559.5477

On Thu, 28 May 2009, Mark H. Wood wrote:

 On Wed, May 27, 2009 at 07:34:12PM -0500, Valorie Hollister wrote:
 Recordings of the presentations from the DSpace User Group Mtg at OR09
 are now available. Follow the links below. If you have trouble viewing
 them in Firefox, try Internet Explorer instead.

 Okay, where do I get Internet Explorer for Linux?

 -- 
 Mark H. Wood, Lead System Programmer   mw...@iupui.edu
 Friends don't let friends publish revisable-form documents.


--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers  brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing,  
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA,  Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] browse config

2009-05-28 Thread Sarah Ryder

Does anyone know if there is an updated version of the browse 
configuration page? This page in the wiki is relevant to older versions of 
DSpace: http://wiki.dspace.org/index.php/Modify_browse_fields_(JSP)

The old browse configuration made sense to me, but for some reason I'm not 
wrapping my head around how to change some browse configs.  What I 
currently have works, but not the way our librarians want it to work.

My current settings are:
webui.browse.index.1 = datecreated:item:datecreated
webui.browse.index.2 = author:metadata:dc.contributor.*:text
webui.browse.index.3 = title:item:title
webui.browse.index.4 = subject:metadata:dc.material.*:text

I want to change the author browse index to only index a specific 
contributor field, which is contributor.1-sort-name, but if I alter the 
setting to be webui.browse.index.2 = 
author:metadata:dc.contributor.1-sort-name:text then I get an error when 
trying to index.  Same thing happens if I change 
subject:metadata:dc.material.*:text to 
subject:metadata:dc.material.art-architecture:text.  I also am unsure of 
the datecreated browse index.  I want to make sure it is indexing the 
field date.created, but I can't quite tell if that's what it's doing.

This is the error I get when running the index update after trying the 
setting change:
Exception in thread main org.dspace.browse.BrowseException: Browse Index 
configuration is not valid: webui.browse.index.2 = 
author:metadata:dc.contributor.1-sort-name:text
at org.dspace.browse.BrowseIndex.init(BrowseIndex.java:220)
at 
org.dspace.browse.BrowseIndex.getBrowseIndices(BrowseIndex.java:676)
at org.dspace.browse.IndexBrowse.init(IndexBrowse.java:150)
at org.dspace.browse.IndexBrowse.main(IndexBrowse.java:618)


Any help would be appreciated!  Thanks.

-Sarah Ryder
Web Development
Hampshire College
413.559.5477

--
Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT 
is a gathering of tech-side developers  brand creativity professionals. Meet
the minds behind Google Creative Lab, Visual Complexity, Processing,  
iPhoneDevCamp as they present alongside digital heavyweights like Barbarian 
Group, R/GA,  Big Spaceship. http://p.sf.net/sfu/creativitycat-com 
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] diacritics browse by author

2009-05-18 Thread Sarah Ryder

Somehow I did not see this email come through, but in Googling around for 
a possible answer to my problem, I happened to see that somebody actually 
did respond to this email I sent last week.

Thank you, Gabrielle!  UTF-8 was set in server.xml for port 8080 but not 
for 8443.  I just added it for 8443 and it worked like a charm!

Re: [Dspace-tech] diacritics browse by author
From: Horan, Gabrielle gabrielle.ho...@eu... - 2009-05-12 10:20

Attachments: Message as HTML
Are you using apache-tomcat connector? If so, check that you have to set 
the tomcat connector to UTF-8 in the server.xml conf file.
Gabrielle.

-Sarah Ryder
Web Development
Hampshire College
413.559.5477

On Mon, 11 May 2009, Sarah Ryder wrote:


 Hi folks

 I recently ran a batch import on an image collection of ours which has a
 number of characters w/ accents, umlauts, etc. within the titles and
 athors' names.  Before I ran the batch import I did a search/replace on
 all diacritics and replaced them w/ the appropriate html numbers (#224;
 for example).  This worked fine for the import and they all seem to
 displaying correctly in the browser, but the problem now is in the browse
 by author link.  If an author has one of these characters in their name
 and a user clicks on the name to retreive all works by this author, they
 get the no entries in index error because the href value for that author
 link is something like this: Ad%C3%A9la%C3%AF+de+Labille-Guiard.  Does
 anyone know if there is a better way to work w/ diacritics to avoid this
 problem?

 Thanks

 -Sarah Ryder
 Web Development
 Hampshire College
 413.559.5477

 --
 The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
 production scanning environment may not be a perfect world - but thanks to
 Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
 Series Scanner you'll get full speed at 300 dpi even with all image
 processing features enabled. http://p.sf.net/sfu/kodak-com
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] item record customization

2009-05-13 Thread Sarah Ryder

Interesting, I didn't realize that.  I just took a look in the 
metadatavalue table and realized that there is a row for every metadata 
field for every item, where text_value is just blank where that item has 
no data for that field.  I suppose that would by my fault for creating the 
dublin_core.xml the wrong way.  I guess I just assumed that if the xml 
value was empty then the batch import would skip over it.

I should be good to just delete all the metadatavalue rows where the 
text_value field is blank and alter my script for creating dublin_core.xml 
files for the future.

Thanks for the info, Stuart!

-Sarah Ryder
Web Development
Hampshire College
413.559.5477

On Wed, 13 May 2009, Stuart Lewis wrote:

 Hi Sarah,

 Only showing metadata fields that have a value for a given item is the
 default behaviour for DSpace.

 Could you share with us a screenshot showing an example of you have /
 what you want?

 Thanks,


 Stuart Lewis
 Digital Services Programmer
 Te Tumu Herenga The University of Auckland Library
 Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand
 Ph: 64 9 373-7599 x81928
 http://www.library.auckland.ac.nz/



 -Original Message-
 From: Sarah Ryder [mailto:sry...@hampshire.edu]
 Sent: Wednesday, 13 May 2009 8:05 a.m.
 To: dspace-tech@lists.sourceforge.net
 Subject: [Dspace-tech] item record customization


 Hello

 We're using the jsp interface and our librarians would like to
 de-clutter
 the simple and full item record pages by only showing metadata fields
 that have a value for that item.  As far as I can tell this is not an
 option that can be set in the configuration.  Is that the case or can
 this be configured somewhere?  Has anybody else run across the want/need

 for this and put the change into place?

 Thanks

 -Sarah Ryder
 Web Development
 Hampshire College
 413.559.5477

 
 --
 The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
 production scanning environment may not be a perfect world - but thanks
 to
 Kodak, there's a perfect scanner to get the job done! With the NEW KODAK
 i700
 Series Scanner you'll get full speed at 300 dpi even with all image
 processing features enabled. http://p.sf.net/sfu/kodak-com
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] item record customization

2009-05-12 Thread Sarah Ryder

Hello

We're using the jsp interface and our librarians would like to de-clutter 
the simple and full item record pages by only showing metadata fields 
that have a value for that item.  As far as I can tell this is not an 
option that can be set in the configuration.  Is that the case or can 
this be configured somewhere?  Has anybody else run across the want/need 
for this and put the change into place?

Thanks

-Sarah Ryder
Web Development
Hampshire College
413.559.5477

--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] diacritics browse by author

2009-05-11 Thread Sarah Ryder

Hi folks

I recently ran a batch import on an image collection of ours which has a 
number of characters w/ accents, umlauts, etc. within the titles and 
athors' names.  Before I ran the batch import I did a search/replace on 
all diacritics and replaced them w/ the appropriate html numbers (#224; 
for example).  This worked fine for the import and they all seem to 
displaying correctly in the browser, but the problem now is in the browse 
by author link.  If an author has one of these characters in their name 
and a user clicks on the name to retreive all works by this author, they 
get the no entries in index error because the href value for that author 
link is something like this: Ad%C3%A9la%C3%AF+de+Labille-Guiard.  Does 
anyone know if there is a better way to work w/ diacritics to avoid this 
problem?

Thanks

-Sarah Ryder
Web Development
Hampshire College
413.559.5477

--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] ldap login

2009-04-28 Thread Sarah Ryder

Ahh perfect, I was missing the latter.  Thanks, Stuart!

-Sarah Ryder
Web Development
Hampshire College
413.559.5477

On Tue, 28 Apr 2009, Stuart Lewis wrote:

 Hi Sarah,

 If you have ldap.enable set to true, and LDAPAuthentication set in
 plugin.sequence.org.dspace.authenticate.AuthenticationMethod then it
 should just do it.

 However, the URL used to present the login screen (ldap-login or
 password-login) isn't actually a problem, as the user should get
 authenticated via LDAP irrespective of the login screen. DSpace tries to
 authenticate with the username and password combination given in all of
 the authentication methods listed in
 plugin.sequence.org.dspace.authenticate.AuthenticationMethod until it
 finds one which succeeds. So your LDAP username and passwords should
 work on the password-login page too.

 Thanks,

 Stuart Lewis
 Digital Services Programmer
 Te Tumu Herenga The University of Auckland Library
 Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand
 Ph: 64 9 373-7599 x81928
 http://www.library.auckland.ac.nz/


 -Original Message-
 From: Sarah Ryder [mailto:sry...@hampshire.edu]
 Sent: Tuesday, 28 April 2009 6:28 a.m.
 To: dspace-tech@lists.sourceforge.net
 Subject: [Dspace-tech] ldap login


 Hi folks

 I'm wondering if there is a way to redirect all login screens to the
 ldap
 login screen instead of the normal login screen.

 For example, I can change the login link on the sidebar to point
 directly
 to the ldap login url (https://mydomain.edu:8443/jspui/ldap-login), but
 if a user is not logged in and they click on something for which they
 need to be logged in, they are bounced to the traditional login screen
 (https://mydomain.edu:8443/jspui/password-login).  Is there a
 configuration change I can make so that the users get bounced to the
 ldap
 login screen globally?

 Thanks!

 -Sarah Ryder
 Web Development
 Hampshire College
 413.559.5477

 
 --
 Crystal Reports #45; New Free Runtime and 30 Day Trial
 Check out the new simplified licensign option that enables unlimited
 royalty#45;free distribution of the report engine for externally facing

 server and web deployment.
 http://p.sf.net/sfu/businessobjects
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


--
Register Now  Save for Velocity, the Web Performance  Operations 
Conference from O'Reilly Media. Velocity features a full day of 
expert-led, hands-on workshops and two days of sessions from industry 
leaders in dedicated Performance  Operations tracks. Use code vel09scf 
and Save an extra 15% before 5/3. http://p.sf.net/sfu/velocityconf
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] ldap login

2009-04-27 Thread Sarah Ryder

Hi folks

I'm wondering if there is a way to redirect all login screens to the ldap 
login screen instead of the normal login screen.

For example, I can change the login link on the sidebar to point directly 
to the ldap login url (https://mydomain.edu:8443/jspui/ldap-login), but 
if a user is not logged in and they click on something for which they 
need to be logged in, they are bounced to the traditional login screen 
(https://mydomain.edu:8443/jspui/password-login).  Is there a 
configuration change I can make so that the users get bounced to the ldap 
login screen globally?

Thanks!

-Sarah Ryder
Web Development
Hampshire College
413.559.5477

--
Crystal Reports #45; New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty#45;free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] batch import, nothing happening

2009-04-20 Thread Sarah Ryder

Hi folks

I'm running 1.5.1 on a Debian server and I'm attempting to run a batch 
import (just w/ 1 item and 4 files at the moment to test).  I'm running 
the following command:
dsrun org.dspace.app.itemimport.ItemImport --add 
--eperson=sj...@hampshire.edu --collection=1 --source=/tmp/dva0001 
--mapfile=/tmp/dva0001_map.txt

and nothing seems to be happening at all.  There are no errors.. as the 
script runs the output looks normal and a map file is generated but the 
map file
is empty and there is no entry in the item database.

The /tmp/dva0001 directory contains a contents file which lists all 4 of 
the jpg files that are also in the directory (1 per line) and a 
dublin_core.xml
file which is in the standard format of:
dublin_core
 dcvalue element=title qualifier=noneA Tale of Two 
Cities/dcvalue
 dcvalue element=date 
qualifier=issued1990/dcvalue/dublin_core
/dublin_core

I'm thinking the problem may be due to some customizations in the 
metadata registry.  Does anyone have any ideas or suggestions?

Thanks

-Sarah Ryder
Web Development
Hampshire College
413.559.5477

--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] batch import, nothing happening

2009-04-20 Thread Sarah Ryder


Haha I definitely just had one of those moments where I had to slap myself 
in the forehead for not noticing that.  Thanks for pointing that out!  8)


-Sarah Ryder
Web Development
Hampshire College
413.559.5477

On Mon, 20 Apr 2009, Claudia Jürgen wrote:


Hi Sarah,

you got the source file wrong. The source file must contain one directory per 
item to be imported. Try


mkdir /tmp/testimport/item01
cp /tmp/dva0001/* /tmp/testimport/item01

then run
dsrun org.dspace.app.itemimport.ItemImport
-a -e sj...@hampshire.edu -collection=1 -s /tmp/testimport -mapfile 
/tmp/testimport_map.txt


Hope that helps

Claudia Jürgen


Sarah Ryder schrieb:

Hi folks

I'm running 1.5.1 on a Debian server and I'm attempting to run a batch 
import (just w/ 1 item and 4 files at the moment to test).  I'm running the 
following command:
dsrun org.dspace.app.itemimport.ItemImport --add 
--eperson=sj...@hampshire.edu --collection=1 --source=/tmp/dva0001 
--mapfile=/tmp/dva0001_map.txt


and nothing seems to be happening at all.  There are no errors.. as the 
script runs the output looks normal and a map file is generated but the map 
file

is empty and there is no entry in the item database.

The /tmp/dva0001 directory contains a contents file which lists all 4 of 
the jpg files that are also in the directory (1 per line) and a 
dublin_core.xml

file which is in the standard format of:
dublin_core
 dcvalue element=title qualifier=noneA Tale of Two 
Cities/dcvalue
 dcvalue element=date 
qualifier=issued1990/dcvalue/dublin_core

/dublin_core

I'm thinking the problem may be due to some customizations in the metadata 
registry.  Does anyone have any ideas or suggestions?


Thanks

-Sarah Ryder
Web Development
Hampshire College
413.559.5477


--
Stay on top of everything new and different, both inside and around Java 
(TM) technology - register by April 22, and save

$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. Use priority code 
J9JMT32. http://p.sf.net/sfu/p

___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
--
Stay on top of everything new and different, both inside and 
around Java (TM) technology - register by April 22, and save
$200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco.
300 plus technical and hands-on sessions. Register today. 
Use priority code J9JMT32. http://p.sf.net/sfu/p___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] order list of bitstreams

2007-06-05 Thread Sarah Ryder

Hi Folks

I'm running 1.4.2 and I just came across a question that I can't seem to 
find the answer to.  Is there a way to specify the order in which the 
bitstreams appear on a record?  For example, I have 3 bitstreams (none 
of which are primary bitstreams) in each record and each bitstream has
a sequence id.  I was under the impression that the bitstream with
sequence id 1 would appear at the top of the list and 3 at the bottom,
but it is appearing in the opposite order, 3 at the top and 1 at the 
bottom.  Does anybody know why this is or if it's easy to change?

Thank you

-Sarah Ryder
Web Development
Hampshire College
413.559.5477

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] order list of bitstreams

2007-06-05 Thread Sarah Ryder


Thanks, Claudia.  That's what I figured, but I wasn't sure if there was a 
better way.


-Sarah Ryder
Web Development
Hampshire College
413.559.5477

On Tue, 5 Jun 2007, Claudia Jürgen wrote:


Hi Sarah,

if you want to change this you must change

org.dspace.app.webui.jsptag.ItemTag.java (referring to 1.4.2)
listBitstreams()

sunny greetings

Claudia Jürgen
University of Dortmund


Sarah Ryder schrieb:

Hi Folks

I'm running 1.4.2 and I just came across a question that I can't seem to 
find the answer to.  Is there a way to specify the order in which the 
bitstreams appear on a record?  For example, I have 3 bitstreams (none of 
which are primary bitstreams) in each record and each bitstream has

a sequence id.  I was under the impression that the bitstream with
sequence id 1 would appear at the top of the list and 3 at the bottom,
but it is appearing in the opposite order, 3 at the top and 1 at the 
bottom.  Does anybody know why this is or if it's easy to change?


Thank you

-Sarah Ryder
Web Development
Hampshire College
413.559.5477

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] browse by jump to order

2007-04-20 Thread Sarah Ryder


Ahh, makes sense.  Thank you!!

-Sarah Ryder
Web Development
Hampshire College
413.559.5477

On Fri, 20 Apr 2007, Claudia Jürgen wrote:


Hi Sarah,

this is correct. The value is set in
org.dspace.browse.BrowseScope.java

   public BrowseScope(Context context)
   {
   this.context = context;
   scope = null;
   focus = null;
   total = 21;
   numberBefore = 3;
   }

as numberBefore.

This is usual index behavior to show the surroundings too, so the user got 
a better point of orientation.


sunny greetings

Claudia Jürgen



Sarah Ryder schrieb:
I noticed that when you are browsing by title, author, etc and you use the 
jump to feature along the top of the page to get to records beginning with 
a certain letter, the records that are listed always include records that 
begin with the previous letter.  Does anybody know if there is a reason why 
the actual record that you're looking for is always listed as the third or 
fourth option down?  Is there an easy way to change this?


Thanks!

-Sarah Ryder
Web Development
Hampshire College
413.559.5477

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] browse by jump to order

2007-04-20 Thread Sarah Ryder

I noticed that when you are browsing by title, author, etc and you use the 
jump to feature along the top of the page to get to records beginning with 
a certain letter, the records that are listed always include records that 
begin with the previous letter.  Does anybody know if there is a reason 
why the actual record that you're looking for is always listed as the 
third or fourth option down?  Is there an easy way to change this?

Thanks!

-Sarah Ryder
Web Development
Hampshire College
413.559.5477

-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


Re: [Dspace-tech] browse by jump to order

2007-04-20 Thread Sarah Ryder

Actually, DSpace DOES highlight the matched record.  DSpace is smart!

I assumed context was the reason behind the functionality, but our 
librarians here were asking me the question and asking me to change
it.  Go figure.  ;)

Thanks

-Sarah Ryder
Web Development
Hampshire College
413.559.5477

On Fri, 20 Apr 2007, Dorothea Salo wrote:

 Does anybody know if there is a reason
 why the actual record that you're looking for is always listed as the
 third or fourth option down?

 It's a librarian thing. The idea is that if the record you asked for
 is listed first, but turns out *not* to be the record you actually
 want, you can't see if the record you actually want is just before the
 record you got.

 Unfortunately, most library systems (not just DSpace!) aren't smart
 enough to highlight the matched record in order to catch the user's
 eye and ease the exact usability frustration that led you to ask this
 question. I wonder how hard a patch that would be?

 Dorothea

 -
 This SF.net email is sponsored by DB2 Express
 Download DB2 Express C - the FREE version of DB2 express and take
 control of your XML. No limits. Just data. Click to get it now.
 http://sourceforge.net/powerbar/db2/
 ___
 DSpace-tech mailing list
 DSpace-tech@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/dspace-tech


-
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] customize itemlist with thumbnail

2007-04-10 Thread Sarah Ryder

Hey folks

What I'd like to do is customize the itemlist in Dspace to display a 
thumbnail (this way the user can see the thumbnail while they're browsing 
rather than having to click on a link to see it).  I can probably 
do this without using filter-media to even create a thumbnail, since one 
of my bitstreams (I have 4 bitstreams per record, and each is the same 
image but in a different size) is already thumbnail size.  Has anyone 
already done this and, if so, was it difficult to setup?

Thanks for any input or suggestions you may be able to provide!

-Sarah Ryder
Web Development
Hampshire College
413.559.5477

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech


[Dspace-tech] ui customization question

2007-03-26 Thread Sarah Ryder

Hello All

I'm attempting to change the display on my item search to reflect different 
metadata.  I've changed dspace.cfg to change the functionality, and I've also 
changed Message.properties to reflect the proper display items, but for some 
reason on my search results and item display page I'm getting the following for 
labels:
???itemlist.dc.date???
???itemlist.dc.title.preferred???
and
???metadata.dc.title.preferred???
???metadata.dc.date???

The functionality seems to be working, but the labels are incorrect.  Is there 
maybe something I need to do/run after changing Message.properties?

Thanks in advance for any suggestions you may have.

-Sarah Ryder
Web Development
Hampshire College
413.559.5477

-
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT  business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.phpp=sourceforgeCID=DEVDEV
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech