[Dspace-tech] Handle server limit (99999 items?)

2015-05-07 Thread Alan Orth
Hi,

I'm wondering what happens when the handle server reaches item number
9? Our handle server is currently at 65000 or so, so this could be a
problem for us in the next year or less.

Thanks,

-- 
Alan Orth
alan.o...@gmail.com
https://alaninkenya.org
https://mjanja.ch
"In heaven all the interesting people are missing." -Friedrich Nietzsche
GPG public key ID: 0x8cb0d0acb5cd81ec209c6cdfbd1a0e09c2f836c0
--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Handle server limit (99999 items?)

2015-05-07 Thread Hilton Gibson
Hi Alan

Check: https://www.repository.cam.ac.uk/browse?type=title
They are up to 195598 so far, so 99 seems to be the limit.
One million is not bad?

How is Kenya?

Cheers

hg


*Hilton Gibson*
Ubuntu Linux Systems Administrator
Stellenbosch University Library
http://staff.lib.sun.ac.za/~hgibson/docs/cv/cv.html


On 7 May 2015 at 09:15, Alan Orth  wrote:

> Hi,
>
> I'm wondering what happens when the handle server reaches item number
> 9? Our handle server is currently at 65000 or so, so this could be a
> problem for us in the next year or less.
>
> Thanks,
>
> --
> Alan Orth
> alan.o...@gmail.com
> https://alaninkenya.org
> https://mjanja.ch
> "In heaven all the interesting people are missing." -Friedrich Nietzsche
> GPG public key ID: 0x8cb0d0acb5cd81ec209c6cdfbd1a0e09c2f836c0
>
>
> --
> One dashboard for servers and applications across Physical-Virtual-Cloud
> Widest out-of-the-box monitoring support with 50+ applications
> Performance metrics, stats and reports that give you Actionable Insights
> Deep dive visibility with transaction tracing using APM Insight.
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> List Etiquette:
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>
--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Handle server limit (99999 items?)

2015-05-07 Thread Alan Orth
Thanks for pointing out the Cambridge example, Hilton! So they passed the
event horizon (and lived to tell the tale) before we had to. *phew*

Kenya's great. The GNU/Linux community[0] is getting stronger by the day! :P

Regards,

[0] https://nairobilug.or.ke/

On Thu, May 7, 2015 at 10:27 AM, Hilton Gibson 
wrote:

> Hi Alan
>
> Check: https://www.repository.cam.ac.uk/browse?type=title
> They are up to 195598 so far, so 99 seems to be the limit.
> One million is not bad?
>
> How is Kenya?
>
> Cheers
>
> hg
>
>
> *Hilton Gibson*
> Ubuntu Linux Systems Administrator
> Stellenbosch University Library
> http://staff.lib.sun.ac.za/~hgibson/docs/cv/cv.html
>
>
> On 7 May 2015 at 09:15, Alan Orth  wrote:
>
>> Hi,
>>
>> I'm wondering what happens when the handle server reaches item number
>> 9? Our handle server is currently at 65000 or so, so this could be a
>> problem for us in the next year or less.
>>
>> Thanks,
>>
>> --
>> Alan Orth
>> alan.o...@gmail.com
>> https://alaninkenya.org
>> https://mjanja.ch
>> "In heaven all the interesting people are missing." -Friedrich Nietzsche
>> GPG public key ID: 0x8cb0d0acb5cd81ec209c6cdfbd1a0e09c2f836c0
>>
>>
>> --
>> One dashboard for servers and applications across Physical-Virtual-Cloud
>> Widest out-of-the-box monitoring support with 50+ applications
>> Performance metrics, stats and reports that give you Actionable Insights
>> Deep dive visibility with transaction tracing using APM Insight.
>> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
>> ___
>> DSpace-tech mailing list
>> DSpace-tech@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>> List Etiquette:
>> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>>
>
>


-- 
Alan Orth
alan.o...@gmail.com
https://alaninkenya.org
https://mjanja.ch
"In heaven all the interesting people are missing." -Friedrich Nietzsche
GPG public key ID: 0x8cb0d0acb5cd81ec209c6cdfbd1a0e09c2f836c0
--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] DSPACE stange feature with LDAP authentication

2015-05-07 Thread Olivier Nicole
Hi,

I have just stumbled on the following issue.

Our DPSACE 4.2 users are authenticating againts LDAP, all is working
fine so far.

But recently, one of the administrators changed his email address in
LDAP. The next time he loged in DSpace, he was assigned a new eperson
despite the fact that the username (and even the password) were the
same.

I had to manually change the email associated to that eperson in DSpace
to allow him to connect with his original account.

I am pretty sure this in fact is not a feature, but the ones that know
may enlight me.

Best regards,

Olivier

-- 

--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


[Dspace-tech] Navigating through a collections items in an order

2015-05-07 Thread Stamatis Rapanakis
I would like to ask you if there is a way to view the items of a collection
without having to use the back button but the items page. For example, lets
say that a collection has 10 items. If you click on the collection, its
items are shown ("Sorted by Submit Date in Descending order"). The user
clicks on the first item and it is displayed. If he wants to visit the
second item, he will have to go back (to the page where all the items are
shown) and select it. Does there exist a way to visit the "next" item
directly (e.g. through a button on the items page)?


Regards,

   Stamatis
--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] Not possible to submit new DSpace item

2015-05-07 Thread Hege Johannesen
Hi,

 

It is not possible to submit a new item in DSpace. I have tried both the
DSpace 5.1 Demo Instance and our local installation named BIBSYS Brage
(DSpace 4.1). 

 

The error occure when I go to the page CC-licence in the registration form.
I guess the error is due to an error or a change in the service providing
the CC-licence functionality . You should get the same error in any DSpace
installation where the CC-license step is activated.

 

The error is also reported via the «Provide Feedback» tab in the DSpace 5.1
Demo Instance.

 

 

Best regards,

 

Hege Johannesen

Seniorrådgiver / Senior advisor

Telefon: +47 918 97 093

 

  

 

--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Not possible to submit new DSpace item

2015-05-07 Thread KNOWLES Claire
Hi Hege,

We are also experiencing issues on our DSpace 4+ repositories with the CC-API. 
Robin Taylor reported it to Creative Commons yesterday.

Cheers,

Claire

--
Claire Knowles
Library Digital Development Manager
Library and University Collections, Information Services
University of Edinburgh



From: Hege Johannesen 
mailto:hege.johanne...@bibsys.no>>
Date: Thursday, 7 May 2015 11:16
To: dspace-tech 
mailto:dspace-tech@lists.sourceforge.net>>
Subject: [Dspace-tech] Not possible to submit new DSpace item

Hi,

It is not possible to submit a new item in DSpace. I have tried both the DSpace 
5.1 Demo Instance and our local installation named BIBSYS Brage (DSpace 4.1).

The error occure when I go to the page CC-licence in the registration form. I 
guess the error is due to an error or a change in the service providing the 
CC-licence functionality . You should get the same error in any DSpace 
installation where the CC-license step is activated.

The error is also reported via the «Provide Feedback» tab in the DSpace 5.1 
Demo Instance.


Best regards,

Hege Johannesen
Seniorrådgiver / Senior advisor
Telefon: +47 918 97 093

[bibsys_logo_small]

The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.
--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] DSpace V5 New database schema

2015-05-07 Thread Fernando Gómez Romero
 

Hi

I've just upgrade my DSpace version recently from v4.3 to 5.1. I
developed external statistics with some database queries asking for the
group and eperson names. In the v4 schema this was very handy, in tables
epersongroup.name or eperson.firstname/eperson.lastname . 

But in the 5.1 schema I have seen that these name and lastname values
are gone, with some other more. Where can I get that info? It has to be
somewhere because DSpace uses it, but I want to get it for my external
info. 

Thank you so much! 
-- 

FERNANDO GÓMEZ ROMERO
Sección de Informática y Tecnología

Tfn: 954550905
Biblioteca - Universidad de Sevilla
C/ San Fernando, 4
__
 --
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Handle server limit (99999 items?)

2015-05-07 Thread Mark H. Wood
I think 2147483647 or 9223372036854775807 is much more likely as the
limit.

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu


signature.asc
Description: Digital signature
--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] DSpace V5 New database schema

2015-05-07 Thread Mark H. Wood
On Thu, May 07, 2015 at 02:09:57PM +0200, Fernando Gómez Romero wrote:
> I've just upgrade my DSpace version recently from v4.3 to 5.1. I
> developed external statistics with some database queries asking for the
> group and eperson names. In the v4 schema this was very handy, in tables
> epersongroup.name or eperson.firstname/eperson.lastname . 
> 
> But in the 5.1 schema I have seen that these name and lastname values
> are gone, with some other more. Where can I get that info? It has to be
> somewhere because DSpace uses it, but I want to get it for my external
> info. 

These moved into the metadatavalue table in 5.0.  Use eperson_id as
the resource_id, org.dspace.core.Constants.EPERSON or .GROUP as
resource_type_id, and (SELECT metadata_field_id FROM
metadatafieldregistry WHERE metadata_schema_id = (SELECT
metadata_schema_id FROM metadataschemaregistry WHERE namespace =
'http://dspace.org/eperson') AND element = 'firstname') [for example]
as metadata_field_id.

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu


signature.asc
Description: Digital signature
--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] CAS for DSpace 5.1 XMLUI (Mirage 2)

2015-05-07 Thread Graham Faulkner
Hi Hongxing,

Thanks for the reply.  Would you be able to provide a code snippet for your 
CASAuthentication.java’s authenticate() function.  Our 3.1 instance that does 
work is not using the jldap packages you are talking about, so I had tried 
using its approach in 5.1.

Specifically, in our 3.1 instance we have the following code in 
CASAuthentication’s authenticate() method that successfully retrieves the 
user’s email, firstName and lastName values:

public int authenticate(Context context, String username, String password, 
String realm, HttpServletRequest request)
throws SQLException {

try{

if (request.getUserPrincipal() != null) {
AttributePrincipal principal = (AttributePrincipal) 
request.getUserPrincipal();
if (principal != null) {
Map attributes = principal.getAttributes();
String netid =  request.getUserPrincipal().getName();

String email = (String) attributes.get("mail");
String firstName = (String) attributes.get("givenName");
String lastName = (String) attributes.get("sn");

log.info("UserPrincipal.email:  " + email);
log.info("UserPrincipal.firstName:  " + firstName);
log.info("UserPrincipal.lastName:  " + lastName);


EPerson eperson = findEPersonByNetID(context, netid);

// if they entered a netd that matches an eperson and they are 
allowed to login
if (eperson != null){
log.info(" EPerson!=null ");

   if (eperson.getRequireCertificate()) return CERT_REQUIRED;
else if (!eperson.canLogIn())  return BAD_ARGS;

// Logged in OK.
context.setCurrentUser(eperson);
log.info(LogManager.getHeader(context, "authenticate", 
"type=CAS"));
return SUCCESS;
}
// the user does not exist or doesn't have netid set
else{
log.info("EPerson==null ");

eperson = getEpersonByEmail(context, email);
log.info(" EPerson.getEpersonByEmail(context, 
getEmail(request)); ==> " + eperson);

if(eperson!=null){
log.info(" EPerson!=null ");
eperson.setNetid(netid);
eperson.update();
context.setCurrentUser(eperson);
log.info(LogManager.getHeader(context, "authenticate", 
"type=CAS"));
return SUCCESS;
}
// Eperson doens't exist in Dspace
else if (canSelfRegister()){
log.info(" canSelfRegister() ");
context.turnOffAuthorisationSystem();
eperson = EPerson.create(context);

// use netid only but this implies that user has to 
manually update their profile
eperson.setNetid(netid);
eperson.setEmail(email);
eperson.setFirstName(firstName);
eperson.setLastName(lastName);

log.info(" EPerson Created. ");

eperson.setCanLogIn(true);
AuthenticationManager.initEPerson(context, request, 
eperson);
eperson.update();
context.commit();
context.restoreAuthSystemState();
context.setCurrentUser(eperson);

log.info(" return SUCCESS ");

return SUCCESS;
}
else{
// No auto-registration for valid netid
log.warn(LogManager.getHeader(context, "authenticate",
"type=netid_but_no_record, cannot auto-register"));

log.info(" return NO_SUCH_USER ");
return NO_SUCH_USER;
}
}

}
}

}catch (Exception e){
log.error("Unexpected exception caught", e);
}
return BAD_ARGS;
}

However, in my attempts to implement this in 5.1 the call to 
request.getUserPrincipal() always returns null, so I can’t proceed with the 
functions to get a Map of the attributes.

Thanks in advance for any help in this matter.

Cheers,

Graham



From: Hongxing Geng [mailto:bi...@athabascau.ca]
Sent: Monday, May 04, 2015 11:35 AM
To: Graham Faulkner
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] CAS for DSpace 5.1 XMLUI (Mirage 2)

Hi Graham,

Sorry for missing your last email. I got firstName, etc information from a LDAP 
server. Thus, in my dspace-api/pom.xml, the following is also included:

   com.novell.ldap
   jldap
   4.3
   

Re: [Dspace-tech] Handle server limit (99999 items?)

2015-05-07 Thread Mark H. Wood
On Thu, May 07, 2015 at 08:35:22AM -0400, Mark H. Wood wrote:
> I think 2147483647 or 9223372036854775807 is much more likely as the
> limit.

The suffix is generated by a DBMS SEQUENCE object.  In PostgreSQL,
handle_seq.max_value is the latter of the above.  (2**63 - 1: the
limit of an SQL BIGINT, or java.lang.Long.MAX_VALUE.)

However, HandleManager.createHandle(Context, DSpaceObject) uses
TableRow.getIntColumn to retrieve it, and this will throw
IllegalArgumentException when the value exceeds the former of the
above (2**31 - 1: java.lang.Integer.MAX_VALUE).

We should fix that.

-- 
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu


signature.asc
Description: Digital signature
--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Handle server limit (99999 items?)

2015-05-07 Thread Hilton Gibson
On 7 May 2015 at 15:31, Mark H. Wood  wrote:

> We should fix that.


​Agreed +1​


*Hilton Gibson*
Ubuntu Linux Systems Administrator
Stellenbosch University Library
http://staff.lib.sun.ac.za/~hgibson/docs/cv/cv.html
--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] SFX links - suppress in collection?

2015-05-07 Thread Searle, Shannon
Hi,

I am currently running a DSpace instance on 4.3 with Mirage, and I have two 
different types of collections. One is harvested from another agency and is 
exclusively open access pdf links, and the other collection is links to 
journals and articles that are available through shibboleth+our SFX server. The 
link works fine for the content of one collection, but is completely unrequired 
and confusing to users in the other. I see that altering the render in older 
versions at the ItemTag.java file will fix it at item level - 
http://sourceforge.net/p/dspace/mailman/message/21618566/ -  my 
java/xml/theming skills are pretty non-existent; is there any way to remove the 
links by collection? I couldn't find anyone who has tried to do this at this 
level previously?

Any help much appreciated...

Thanks!
Shannon

Shannon Searle
Library Systems Integration and Development Officer
Barrington Library
Cranfield University
Shrivenham, Swindon
Wiltshire
SN6 8LA
--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Restricted items published via XOAI

2015-05-07 Thread Germán Biozzoli
Thank you very much Andrea!
It was exactly the problem.

Regards
Germán

2015-05-06 18:25 GMT-03:00 Andrea Schweer :

> Hi Germán,
>
> what version of DSpace are you using? There is a bug around OAI filters in
> DSpace 5.0 and 5.1: https://jira.duraspace.org/browse/DS-2424
>
> cheers,
> Andrea
>
> On 7 May 2015 at 02:49, Germán Biozzoli  wrote:
>
>> Hi people
>>
>> I have few items restricted to a group of users in a collection. The
>> restriction works OK for Discovery search and browse, but not in the
>> context of OAI data provider. I've checked that the request context has the
>> defaultFilter
>>
>> 
>> 
>> 
>> 
>>
>>   ...
>>
>> That uses DSpaceAuthorizationFilter. As far as I can see the items have
>> restriction for all bitstreams and item for READ to the group.
>>
>> Any idea?
>>
>> Thanks & regards
>> Germán
>>
>>
>>
>>
>> --
>> One dashboard for servers and applications across Physical-Virtual-Cloud
>> Widest out-of-the-box monitoring support with 50+ applications
>> Performance metrics, stats and reports that give you Actionable Insights
>> Deep dive visibility with transaction tracing using APM Insight.
>> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
>> ___
>> DSpace-tech mailing list
>> DSpace-tech@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/dspace-tech
>> List Etiquette:
>> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>>
>
>
>
> --
> Dr Andrea Schweer
> IRR Technical Specialist, ITS Information Systems
> The University of Waikato, Hamilton, New Zealand
> +64-7-837 9120
>
--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Handle server limit (99999 items?)

2015-05-07 Thread Peter Dietz
I thought handle (hdl.handle.net) itself was capable of string. So. If
DSpace were to mint a handle like 123456789/12345-theory-of-relativity,
that that would resolve? Even though DSpace is db integer incrementing
handles, its not limited to numeric. We could mint uuid/guid, or at time of
creation, allow the user to customize the handle? 123456789/dietz-thesis

Also, another potential limitation of DSpace's handle is if you had
multiple prefixes. An odd case, but suppose you wanted to have different
handle prefixes: 1234.thesis, 1234.publication, and 1234.media. DSpace
would auto-integer-increment the suffix. So it wouldn't produce
1234.thesis/1, 1234.publication/1, 1234.media/1, but instead 1234.thesis/1,
1234.publication/2, 1234.media/3. Again odd case, so likely no one will
ever run into it.


Peter Dietz
Longsight
www.longsight.com
pe...@longsight.com
p: 740-599-5005 x809

On Thu, May 7, 2015 at 9:52 AM, Hilton Gibson 
wrote:

>
> On 7 May 2015 at 15:31, Mark H. Wood  wrote:
>
>> We should fix that.
>
>
> ​Agreed +1​
>
>
> *Hilton Gibson*
> Ubuntu Linux Systems Administrator
> Stellenbosch University Library
> http://staff.lib.sun.ac.za/~hgibson/docs/cv/cv.html
>
>
>
> --
> One dashboard for servers and applications across Physical-Virtual-Cloud
> Widest out-of-the-box monitoring support with 50+ applications
> Performance metrics, stats and reports that give you Actionable Insights
> Deep dive visibility with transaction tracing using APM Insight.
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> List Etiquette:
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>
--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] CAS for DSpace 5.1 XMLUI (Mirage 2)

2015-05-07 Thread Hongxing Geng
I am using the following to register a user which is called in authenticate 
method: 

private boolean registerUser(String netid) 
throws ClassNotFoundException, SQLException 
{ 
final String host = ConfigurationManager.getProperty("authentication-cas", 
"ldap.hostname"); 
final String searchBase = 
ConfigurationManager.getProperty("authentication-cas", "ldap.search_context"); 
final String firstNameAttr = 
ConfigurationManager.getProperty("authentication-cas", "ldap.givenname_field"); 
final String lastNameAttr = 
ConfigurationManager.getProperty("authentication-cas", "ldap.surname_field"); 
final String emailNameAttr = 
ConfigurationManager.getProperty("authentication-cas", "ldap.email_field"); 
final String searchFilter = 
ConfigurationManager.getProperty("authentication-cas", "ldap.id_field") + "=" + 
netid; 


LDAPConnection lc = new LDAPConnection(); 
int ldapPort = LDAPConnection.DEFAULT_PORT; 
int searchScope = LDAPConnection.SCOPE_SUB; 
int ldapVersion = LDAPConnection.LDAP_V3; 


try { 
lc.connect(host, ldapPort); // bind to the server 
LDAPSearchResults searchResults = lc.search(searchBase, searchScope, 
searchFilter, null, false); // return attrs and values 
if (searchResults.hasMore()) { 
LDAPEntry nextEntry = null; 
nextEntry = searchResults.next(); 
LDAPAttribute gnAttr = nextEntry.getAttribute(firstNameAttr); 
LDAPAttribute snAttr = nextEntry.getAttribute(lastNameAttr); 
LDAPAttribute emailAttr = nextEntry.getAttribute(emailNameAttr); 
firstName = gnAttr.getStringValue(); 
lastName = snAttr.getStringValue(); 
email = emailAttr.getStringValue(); 
log.info("email: " + email); 
} else { 
firstName=null; 
lastName=null; 
email=null; 
return false; 
} 
} catch (LDAPException ex) { 
log.error("LDAP exception caught", ex); 
} 
return true; 
} 


This the authenticate method: 

public int authenticate(Context context, 
String netid, 
String password, 
String realm, 
HttpServletRequest request) 
throws SQLException 
{ 
final String ticket = request.getParameter("ticket"); 
final String service = request.getRequestURL().toString(); 
log.info(LogManager.getHeader(context, "login", " ticket: " + ticket)); 
log.info(LogManager.getHeader(context, "login", "service: " + service)); 


if (ticket != null) 
{ 
try 
{ 
String validate = ConfigurationManager.getProperty("authentication-cas", 
"cas.validate.url"); 
log.info(LogManager.getHeader(context, "login", "CAS ticket: " + ticket)); 
log.info(LogManager.getHeader(context, "login", "CAS service: " + service)); 
if (validate == null) 
{ 
throw new ServletException("No CAS validation URL specified. You need to set 
property 'cas.validate.url'"); 
} 


// Validate ticket (it is assumed that CAS validator returns the user network 
ID) 
netid = validate(service, ticket, validate); 
if (netid == null) 
{ 
throw new ServletException("Ticket '" + ticket + "' is not valid"); 
} 

registerUser(netid); // this method retrieve firstname, lastname, email info 
from LDAP 


// Locate the eperson in DSpace 
EPerson eperson = null; 
try 
{ 
// eperson = EPerson.findByNetid(context, netid.toLowerCase()); 
eperson = EPerson.findByEmail(context, email); 
} 
catch (SQLException e) 
{ 
log.error("cas findbynetid failed"); 
log.error(e.getStackTrace()); 
} 


// if they entered a netd that matches an eperson and they are allowed to login 
if (eperson != null) 
{ 
// e-mail address corresponds to active account 
if (eperson.getRequireCertificate()) 
{ 
// they must use a certificate 
return CERT_REQUIRED; 
} 
else if (!eperson.canLogIn()) { 
return BAD_ARGS; 
} 


// Logged in OK. 
HttpSession session = request.getSession(false); 
if (session!=null) { 
session.setAttribute("loginType", "CAS"); 
} 


context.setCurrentUser(eperson); 
log.info(LogManager.getHeader(context, "authenticate", "type=CAS")); 


return SUCCESS; 
} 


// the user does not exist in DSpace so create an eperson 
else 
{ 
if (canSelfRegister(context, request, netid) ) 
{ 
// TEMPORARILY turn off authorisation 
// Register the new user automatically 
context.setIgnoreAuthorization(true); 
eperson = EPerson.create(context); 
// use netid only but this implies that user has to manually update their 
profile 
eperson.setNetid(netid); 


// if you wish to automatically extract further user details: email, first_name 
and last_name 
// enter your method here: e.g. query LDAP or RDBMS etc. 
/* e.g. 
* registerUser(netid); 
* */ 
eperson.setEmail(email); 


eperson.setFirstName(firstName); 
eperson.setLastName(lastName); 

eperson.setLanguage("en"); 
eperson.setRequireCertificate(false); 
eperson.setSelfRegistered(false); 


eperson.setCanLogIn(true); 
AuthenticationManager.initEPerson(context, request, eperson); 
eperson.update(); 
context.commit(); 
context.setIgnoreAuthorization(false); 
context.setCurrentUser(eperson); 
log.warn(LogManager.getHeader(context, "authenticate", 
netid + " type=CAS auto-register")); 
return SUCCESS; 
} 
else 
{ 
// No auto-registration for valid netid 
log.warn(LogManager.getHeader(co

Re: [Dspace-tech] Submision process: select collection step. Control how collection names are shown in drop-down list.

2015-05-07 Thread Peter Dietz
Hi Ricardo,

The "community.name > collection.name" is all done in the code:
https://github.com/DSpace/DSpace/blob/master/dspace-api/src/main/java/org/dspace/app/util/CollectionDropDown.java#L46-L75


Peter Dietz
Longsight
www.longsight.com
pe...@longsight.com
p: 740-599-5005 x809

On Mon, Apr 27, 2015 at 7:31 AM, RICARDO EITO BRUN 
wrote:

> Dear colleagues,
> I would like to know whether it is possible to change - by configuration -
> the way collection names are shown in the drop-down list of the submission
> process.
>
> By default, the name of the community, sub-community and collection is
> shown. Is there any way to display only the name of the collection, and
> avoid showing the community name?
>
> I have tried to find some data in the documentation, but I did not have
> success.
>
> Thanks in advance,
>
> Ricardo
>
> --
> RICARDO EITO BRUN
> Universidad Carlos III de Madrid
>
>
> --
> One dashboard for servers and applications across Physical-Virtual-Cloud
> Widest out-of-the-box monitoring support with 50+ applications
> Performance metrics, stats and reports that give you Actionable Insights
> Deep dive visibility with transaction tracing using APM Insight.
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> List Etiquette:
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>
--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] Embargoed items showing in recent submissions and collection browse pages

2015-05-07 Thread Alcides Carlos de Moraes Neto
Hello all,

I manage a 3.2 dspace installation here. I configured it to use the simple
embargo form, and it works.
But all the embargoed items show in the page listings, specifically, recent
submissions and collection browsing.

I tested the embargo functionality on the dspace demo site, and the items
are shown there as well.

Is there a way to hide them?
--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] spider ip recognition

2015-05-07 Thread Anthony Petryk
We're having a similar problem (DSpace 4.3).

Here's an example: http://www.ruor.uottawa.ca/handle/10393/23938/statistics.  
These stats seem high for this item (although we could be wrong about that), 
but what's more peculiar is all the traffic from China.  We've run through all 
the options for the "stats-util" command but the numbers remain the same.  Note 
that when we run "stats-util - u" (update the IP lists), we always get the 
message "Not modified - so not downloaded".  I'm guessing that the spider lists 
by domain name or user-agent are more current?  

Anyway, we want to determine whether these stats are bona fide or whether 
there's something wrong with the spider detection.  From the documentation it 
seems we have to query Solr directly to do this.  Not being an expert in Solr, 
I'm hoping someone on this list could provide the query that retrieves *all the 
stats for a given item* (i.e. what's listed under "Common stored fields for all 
usage events" in the documentation).

Thanks for your time,

Anthony

Anthony Petryk
Emerging Technologies Librarian | Bibliothécaire des technologies émergentes
uOttawa Library | Bibliothèque uOttawa
613-562-5800 x4650
apet...@uottawa.ca


-Original Message-
From: Mark H. Wood [mailto:mw...@iupui.edu] 
Sent: Friday, April 24, 2015 9:42 AM
To: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] spider ip recognition

On Thu, Apr 23, 2015 at 05:39:01PM +, Monika C. Mevenkamp wrote:
> I found a couple of really suspicious numbers in my solr stats, aka lots of 
> entries were marked as isBot=false although the probably should has been 
> isBot=true.
> 
> In the config file  I use
> 
> spiderips.urls = http://iplists.com/google.txt, \
>  http://iplists.com/inktomi.txt, \
>  http://iplists.com/lycos.txt, \
>  http://iplists.com/infoseek.txt, \
>  http://iplists.com/altavista.txt, \
>  http://iplists.com/excite.txt, \
>  http://iplists.com/northernlight.txt, \
>  http://iplists.com/misc.txt, \
>  http://iplists.com/non_engines.txt
> 
> 
> I could not find downloadable lists for Bing, Baidu, Yahoo.
> The best I saw was:   
> http://myip.ms/info/bots/Google_Bing_Yahoo_Facebook_etc_Bot_IP_Addresses.html
> Is that reliable  ?
> 
> Does anybody out there have lists / sources that they can share ?

What version of DSpace are you running?  Recent versions can also recognize 
spiders by regular expression matching of the domain name or
UserAgent: string.  (However, that only works for new entries.  I've recently 
found that some of the tools for loading and grooming the stat.s core don't use 
SpiderDetector and are oblivious of these newer
patterns.)

> Also: does the dspace code gracefully deal with IP address patterns ?

That depends on what is considered graceful.  The code (in
org.dspace.statistics.util.IPTable) accepts patterns in three forms:

  11.22.33.44-11.22.33.55
  11.22.33.44
  11.22.33

Addresses in the first form may be suffixed with a CIDR mask-length, but it is 
currently ignored.

If I've understood the code, a range (the first form) is assumed to differ only 
in the fourth octet.  It will match all addresses between "44" and "55" within 
the /24 containing the start of the range.

The second form is an exact match of a single address.

The third form is a match of the first 24 bits -- an entire Class C subnet.

There is no provision for IPv6.

--
Mark H. Wood
Lead Technology Analyst

University Library
Indiana University - Purdue University Indianapolis
755 W. Michigan Street
Indianapolis, IN 46202
317-274-0749
www.ulib.iupui.edu

--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] SFX links - suppress in collection?

2015-05-07 Thread Stuart Yeates
I would be tempted to see whether the link can be hidden in CSS. If possible 
this would be the minimally intrusive method.


cheers

stuart


--
I have a new phone number: 04 463 5692
https://www.facebook.com/VUWLibrary / https://www.facebook.com/TKMPC



From: Searle, Shannon 
Sent: Friday, 8 May 2015 3:15 a.m.
To: dspace-tech@lists.sourceforge.net
Subject: [Dspace-tech] SFX links - suppress in collection?

Hi,

I am currently running a DSpace instance on 4.3 with Mirage, and I have two 
different types of collections. One is harvested from another agency and is 
exclusively open access pdf links, and the other collection is links to 
journals and articles that are available through shibboleth+our SFX server. The 
link works fine for the content of one collection, but is completely unrequired 
and confusing to users in the other. I see that altering the render in older 
versions at the ItemTag.java file will fix it at item level - 
http://sourceforge.net/p/dspace/mailman/message/21618566/ -  my 
java/xml/theming skills are pretty non-existent; is there any way to remove the 
links by collection? I couldn't find anyone who has tried to do this at this 
level previously?

Any help much appreciated...

Thanks!
Shannon

Shannon Searle
Library Systems Integration and Development Officer
Barrington Library
Cranfield University
Shrivenham, Swindon
Wiltshire
SN6 8LA
--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] SFX links - suppress in collection?

2015-05-07 Thread Hilton Gibson
Hi Shannon

Perhaps this will help:
https://github.com/DSpace/DSpace/blob/master/dspace/config/dspace.cfg#L1914-L1922

Cheers

hg

*Hilton Gibson*
Ubuntu Linux Systems Administrator
Stellenbosch University Library
http://staff.lib.sun.ac.za/~hgibson/docs/cv/cv.html


On 7 May 2015 at 17:15, Searle, Shannon  wrote:

>  Hi,
>
>
>
> I am currently running a DSpace instance on 4.3 with Mirage, and I have
> two different types of collections. One is harvested from another agency
> and is exclusively open access pdf links, and the other collection is links
> to journals and articles that are available through shibboleth+our SFX
> server. The link works fine for the content of one collection, but is
> completely unrequired and confusing to users in the other. I see that
> altering the render in older versions at the ItemTag.java file will fix it
> at item level - http://sourceforge.net/p/dspace/mailman/message/21618566/
> -  my java/xml/theming skills are pretty non-existent; is there any way to
> remove the links by collection? I couldn’t find anyone who has tried to do
> this at this level previously?
>
>
>
> Any help much appreciated…
>
>
>
> Thanks!
>
> Shannon
>
>
>
> Shannon Searle
> Library Systems Integration and Development Officer
> Barrington Library
> Cranfield University
> Shrivenham, Swindon
> Wiltshire
> SN6 8LA
>
>
> --
> One dashboard for servers and applications across Physical-Virtual-Cloud
> Widest out-of-the-box monitoring support with 50+ applications
> Performance metrics, stats and reports that give you Actionable Insights
> Deep dive visibility with transaction tracing using APM Insight.
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> List Etiquette:
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>
--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] SFX links - suppress in collection?

2015-05-07 Thread Searle, Shannon
Hi Hilton,

Thanks, but disabling it in dspace.cfg supresses it everywhere – I just want it 
suppressed in one collection? I will have look at the CSS and see what can be 
done there if anything as Stuart suggested.

Cheers,
Shannon

From: Hilton Gibson [mailto:hilton.gib...@gmail.com]
Sent: 07 May 2015 21:16
To: Searle, Shannon
Cc: dspace-tech@lists.sourceforge.net
Subject: Re: [Dspace-tech] SFX links - suppress in collection?

Hi Shannon

Perhaps this will help: 
https://github.com/DSpace/DSpace/blob/master/dspace/config/dspace.cfg#L1914-L1922

Cheers

hg

Hilton Gibson
Ubuntu Linux Systems Administrator
Stellenbosch University Library
http://staff.lib.sun.ac.za/~hgibson/docs/cv/cv.html


On 7 May 2015 at 17:15, Searle, Shannon 
mailto:s.sea...@cranfield.ac.uk>> wrote:
Hi,

I am currently running a DSpace instance on 4.3 with Mirage, and I have two 
different types of collections. One is harvested from another agency and is 
exclusively open access pdf links, and the other collection is links to 
journals and articles that are available through shibboleth+our SFX server. The 
link works fine for the content of one collection, but is completely unrequired 
and confusing to users in the other. I see that altering the render in older 
versions at the ItemTag.java file will fix it at item level - 
http://sourceforge.net/p/dspace/mailman/message/21618566/ -  my 
java/xml/theming skills are pretty non-existent; is there any way to remove the 
links by collection? I couldn’t find anyone who has tried to do this at this 
level previously?

Any help much appreciated…

Thanks!
Shannon

Shannon Searle
Library Systems Integration and Development Officer
Barrington Library
Cranfield University
Shrivenham, Swindon
Wiltshire
SN6 8LA

--
One dashboard for servers and applications across Physical-Virtual-Cloud
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] DCAT May meeting: May 12th, 15:00 UTC/GMT - 11:00 EDT

2015-05-07 Thread Maureen P. Walsh
Hello,

*The DCAT call is a place where both technical and non-technical people are
very welcome!*

The next DCAT meeting is May 12th, 15:00 UTC/GMT - 11:00 EDT
https://wiki.duraspace.org/display/cmtygp/DCAT+Meeting+May+2015


We will be discussing and gathering feedback on the drafts of the
Three-year Strategic Plan for DSpace:
https://wiki.duraspace.org/display/DSPACE/Strategic+Planning

Preparing for the call

   1. Review the current Strategic Planning
    work
   2. Review the Use Case Analysis
    work
   3. Flesh out and/or comment on the Use Cases marked as incomplete
   

We hope many of you can join us for the call, but if not, please post your
comments and feedback on the meeting's wiki page
.

And a reminder that there will be a face-to-face DSpace Developers / DCAT
meeting at OR2015

Date: Monday, June 8 (workshop day)
Time: 1:30-5:00pm
Location: Hyatt Regency hotel (conference hotel), room Regency D
PLEASE SIGN UP (on the meeting wiki page) if you plan to attend: DevMtg
2015-06-08 - OR15 Meeting


Looking forward to a great discussion,

Bram Luyten and Maureen Walsh
DCAT Co-Chairs
--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

[Dspace-tech] (Corrected link) DCAT May meeting: May 12th, 15:00 UTC/GMT - 11:00 EDT

2015-05-07 Thread Maureen P. Walsh
Hello,

*The DCAT call is a place where both technical and non-technical people are
very welcome!*

The next DCAT meeting is May 12th, 15:00 UTC/GMT - 11:00 EDT
CORRECTED LINK:
https://wiki.duraspace.org/display/cmtygp/DCAT+Meeting+May+2015

We will be discussing and gathering feedback on the drafts of the
Three-year Strategic Plan for DSpace
https://wiki.duraspace.org/display/DSPACE/Strategic+Planning

Preparing for the call

   1. Review the current Strategic Planning
    work
   2. Review the Use Case Analysis
    work
   3. Flesh out and/or comment on the Use Cases marked as incomplete
   

We hope many of you can join us for the call, but if not, please post your
comments and feedback on the meeting's wiki page
.

And a reminder that there will be a face-to-face DSpace Developers / DCAT
meeting at OR2015

Date: Monday, June 8 (workshop day)
Time: 1:30-5:00pm
Location: Hyatt Regency hotel (conference hotel), room Regency D
PLEASE SIGN UP (on the meeting wiki page) if you plan to attend: DevMtg
2015-06-08 - OR15 Meeting


Looking forward to a great discussion,

Bram Luyten and Maureen Walsh
DCAT Co-Chairs
--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] DSPACE stange feature with LDAP authentication

2015-05-07 Thread Andrea Schweer

  
  
Hi Olivier,

On 07/05/15 20:09, Olivier Nicole
  wrote:


  Our DPSACE 4.2 users are authenticating againts LDAP, all is working
fine so far.

But recently, one of the administrators changed his email address in
LDAP. The next time he loged in DSpace, he was assigned a new eperson
despite the fact that the username (and even the password) were the
same.


I think this is just a matter of how your LDAP authentication is
configured and what data comes through from LDAP. Have a look at the
configuration reference:
https://wiki.duraspace.org/display/DSDOC4x/Authentication+Plugins#AuthenticationPlugins-ConfiguringLDAPAuthentication

I believe DSpace uses this property as the DSpace username:

  

  
Property:
  
  
email_field
  


  
Example Value:
  
  
email_field = mail
  


  
Informational Note:
  
  
This is the LDAP object field where the user's email
  address is stored. "mail" is the default and the most
  common for LDAP servers. If the mail field is not found
  the username will be used as the email address when
  creating the eperson object.
  

  


To me it looks like you have set this to the e-mail field. 

This is perhaps a little counter-intuitive, but what (I think)
happens is this:

  
person goes to login screen, enters username (not e-mail
address) and password
  
DSpace talks to LDAP and verifies that the password is correct
for the username
  
DSpace gets the e-mail address for this username from LDAP
  
DSpace looks up that e-mail address in its eperson table to find
the corresponding DSpace account; creates a new one if none is
found
  


So when the person changed his address, DSpace could not match the
new address to an existing account, so it set up a new account with
the new e-mail address. 

To get the behaviour you're after, you could change this property
and point it to whichever field the username comes through from
LDAP. However, that would mean you'd have to change the eperson
table in DSpace to hold the username rather than the e-mail address,
which in turn would mean that DSpace can no longer send e-mails to
people (unless you're using hierarchical LDAP and
username@institution is a valid e-mail address for everyone, in
which case you could use the netid_email_domain property described
in the documentation to construct the e-mail address). It's been a
while since I last set up LDAP authentication, but I believe we're
using the netid mechanism.

Someone with more LDAP experience may have a better solution for
you.

cheers,
Andrea
-- 
Dr Andrea Schweer
IRR Technical Specialist, ITS Information Systems
The University of Waikato, Hamilton, New Zealand
  


--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Embargoed items showing in recent submissions and collection browse pages

2015-05-07 Thread Andrea Schweer
Hi,

On 08/05/15 06:35, Alcides Carlos de Moraes Neto wrote:
> I manage a 3.2 dspace installation here. I configured it to use the 
> simple embargo form, and it works.
> But all the embargoed items show in the page listings, specifically, 
> recent submissions and collection browsing.
>
> I tested the embargo functionality on the dspace demo site, and the 
> items are shown there as well.
>
> Is there a way to hide them?

Do they show up even when you are not logged in? DSpace 3 uses access 
rights awareness 
(https://wiki.duraspace.org/display/DSDOC3x/Discovery#Discovery-Accessitembasedresults)
 
for this, so in theory you should only see the item in the recent 
submissions lists etc when you're logged in as a user who has READ 
permissions on the item.

cheers,
Andrea

-- 
Dr Andrea Schweer
IRR Technical Specialist, ITS Information Systems
The University of Waikato, Hamilton, New Zealand


--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Not possible to submit new DSpace item

2015-05-07 Thread Hege Johannesen
Hi Claire,

 

Case closed. Now there are no problems when submitting a new item in DSpace.
No need to de-activate the CC-licence step in the repository.

 

 

Best regards,

 

Hege Johannesen

Seniorrådgiver / Senior advisor

Telefon: +47 918 97 093

 

  bibsys_logo_small

 

 

.  

 

 

 

Fra: KNOWLES Claire [mailto:claire.know...@ed.ac.uk] 
Sendt: 7. mai 2015 12:42
Til: Hege Johannesen; dspace-tech@lists.sourceforge.net
Emne: Re: [Dspace-tech] Not possible to submit new DSpace item

 

Hi Hege,

 

We are also experiencing issues on our DSpace 4+ repositories with the
CC-API. Robin Taylor reported it to Creative Commons yesterday.

 

Cheers,

 

Claire

 

--

Claire Knowles

Library Digital Development Manager

Library and University Collections, Information Services

University of Edinburgh

 

 

 

From: Hege Johannesen 
Date: Thursday, 7 May 2015 11:16
To: dspace-tech 
Subject: [Dspace-tech] Not possible to submit new DSpace item

 

Hi,

 

It is not possible to submit a new item in DSpace. I have tried both the
DSpace 5.1 Demo Instance and our local installation named BIBSYS Brage
(DSpace 4.1). 

 

The error occure when I go to the page CC-licence in the registration form.
I guess the error is due to an error or a change in the service providing
the CC-licence functionality . You should get the same error in any DSpace
installation where the CC-license step is activated.

 

The error is also reported via the «Provide Feedback» tab in the DSpace 5.1
Demo Instance.

 

 

Best regards,

 

Hege Johannesen

Seniorrådgiver / Senior advisor

Telefon: +47 918 97 093

 

  bibsys_logo_small

 

--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] Embargoed items showing in recent submissions and collection browse pages

2015-05-07 Thread Andrea Schweer
Hi,

On 08/05/15 10:00, Terry Brady wrote:
> From my experience in DSpace 3, the browse indexes were not aware of 
> access rights.  All items appeared in browse. Restricted item did not 
> appear faceted (discovery) navigation for an unauthenticated user.
>
> This issue was resolved for me after upgrading to DSpace 4.

Thanks Terry -- we skipped DSpace 3 because of issues around embargoes 
(ie went straight from 1.8.x to 4.x), so I'm never too sure what the 
expected DSpace 3 behaviour is. Plus most of "my" repositories are quite 
heavily customised around embargoed/dark items anyway.

> Since the Demo site is running the current version of DSpace, I am 
> surprised that the embargo items are not being hidden.

That does sound strange. I don't have time to try this out, but I'd check
- that the embargoed items still show up in the recently added list when 
you aren't logged in -- this really shouldn't be the case if the 
authorisation policies are correct
- that the authorisation policy for the item doesn't allow READ for the 
Anonymous group -- I could imagine that either something went wrong with 
setting the permissions, or the permissions are restricting only the 
file but not the entire item.

cheers,
Andrea

-- 
Dr Andrea Schweer
IRR Technical Specialist, ITS Information Systems
The University of Waikato, Hamilton, New Zealand


--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


Re: [Dspace-tech] Embargoed items showing in recent submissions and collection browse pages

2015-05-07 Thread Terry Brady
>From my experience in DSpace 3, the browse indexes were not aware of access
rights.  All items appeared in browse. Restricted item did not appear
faceted (discovery) navigation for an unauthenticated user.

This issue was resolved for me after upgrading to DSpace 4.

Since the Demo site is running the current version of DSpace, I am
surprised that the embargo items are not being hidden.




On Thu, May 7, 2015 at 2:34 PM, Andrea Schweer 
wrote:

> Hi,
>
> On 08/05/15 06:35, Alcides Carlos de Moraes Neto wrote:
> > I manage a 3.2 dspace installation here. I configured it to use the
> > simple embargo form, and it works.
> > But all the embargoed items show in the page listings, specifically,
> > recent submissions and collection browsing.
> >
> > I tested the embargo functionality on the dspace demo site, and the
> > items are shown there as well.
> >
> > Is there a way to hide them?
>
> Do they show up even when you are not logged in? DSpace 3 uses access
> rights awareness
> (
> https://wiki.duraspace.org/display/DSDOC3x/Discovery#Discovery-Accessitembasedresults
> )
> for this, so in theory you should only see the item in the recent
> submissions lists etc when you're logged in as a user who has READ
> permissions on the item.
>
> cheers,
> Andrea
>
> --
> Dr Andrea Schweer
> IRR Technical Specialist, ITS Information Systems
> The University of Waikato, Hamilton, New Zealand
>
>
>
> --
> One dashboard for servers and applications across Physical-Virtual-Cloud
> Widest out-of-the-box monitoring support with 50+ applications
> Performance metrics, stats and reports that give you Actionable Insights
> Deep dive visibility with transaction tracing using APM Insight.
> http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
> ___
> DSpace-tech mailing list
> DSpace-tech@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/dspace-tech
> List Etiquette:
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>



-- 
Terry Brady
Applications Programmer Analyst
Georgetown University Library Information Technology
https://www.library.georgetown.edu/lit/code
425-298-5498 (Seattle, WA)
--
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette