[dspace-tech] Community list page

2016-12-21 Thread Sisay Webshet
Hello.
I'm using DSpace 5.5-Mirage2. I want to bring the Community list page to 
the front page like this (https://archive.nyu.edu/).

Any help is greatly appreciated.

Thank you.
Sisay,W

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] DSpace 6.0 : problem with LDAP authentication in REST API

2016-12-21 Thread Terry Brady
The Shibboleth issue is still open.  I suspect that you are running into
the same issue with LDAP.

It would be good to know if anyone on the list can confirm that REST/LDAP
authentication works in DSpace 6.

Terry

On Wed, Dec 21, 2016 at 7:45 AM, Devaux Cédric 
wrote:

> Hello,
>
> I want to use LDAP Authentication with Rest and there is a problem.
> The LDAP authentication ( /login ) seems OK  : response 200 and in
> dspace.log :
> *2016-12-21 11:09:52,551 INFO org.dspace.authenticate.LDAPAuthentication @
> *@*.*::authenticate:type=ldap*
> *2016-12-21 11:09:52,551 INFO org.dspace.eperson.EPersonServiceImpl @
> *@*.*::update_eperson:eperson_id=39...*
>
> But when I check the authentication (/status) with the JSESSIONID from the
> /login response, "authenticated" is false :
> * standalone="yes"?>6falsetrue6.0*
>
> It's OK with Password Authentication with Rest (but the response to
> /status request is different, without apiVersion and sourceVersion  :
> * standalone="yes"?>true**true
> )*
>
> I'd like to know if someone has ever successfully used LDAP authentication
> in Rest Api or if it's a bug like with Shibboleth Authentication (
> https://jira.duraspace.org/browse/DS-2898 , https://jira.duraspace.org/
> browse/DS-3108 ) ?
>
> Regards,
> Cedric
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to dspace-tech+unsubscr...@googlegroups.com.
> To post to this group, send email to dspace-tech@googlegroups.com.
> Visit this group at https://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Terry Brady
Applications Programmer Analyst
Georgetown University Library Information Technology
http://georgetown-university-libraries.github.io/

425-298-5498 (Seattle, WA)

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] Is this a possible kind of search?

2016-12-21 Thread Terry Brady
Are you attempting to create a query or to create a facet?

If you are building a query, who will run the query?  Does it need to be
run through the DSpace UI, or can it be run in the background?

Reading your initial note, it sounds like you would like to define a
facet.  Your initial plan to add a bean to discovery.xml should accomplish
what you need.

Assuming you want to create a facet, here are some suggestions.

   - If you wish to create a sidebar facet, add your new bean to the list
   of filters and to the list of sidebar facets.
   - After you deploy your updated discovery.xml file, you must re-index
   your repository for the filter/facet to take effect

The following gist file illustrates a number of custom facets and filters
that we have defined in our repository:
https://gist.github.com/terrywbrady/d31fc1bcb9567204470f

Terry

On Wed, Dec 21, 2016 at 1:26 AM, Evgeni Dimitrov 
wrote:

> Hi helix84,
>
> My thoughts are rather in this direction:
>
> To add somewhere? some code? so that only when the search filter
> "relation" is applied (with value XXX), to have:
> - a new temporary field relation_kind added - with value isformatof - for
> every record with (relation.isformatof XXX)
> - a new temporary field relation_kind added - with value isreferencedby -
> for every record with (relation.isreferencedby XXX)
>
> And to have a facet over relation_kind.
>
> Anyway, if you think that this is not a viable option, could you please
> elaborate on your initial suggestion. Where and how to use this query. And
> where is this notation described. I have not seen anything similar. Thank
> you again.
>
> Best regards
> Evgeni
>
>
> On Tuesday, December 20, 2016 at 6:23:04 PM UTC+2, helix84 wrote:
>>
>> The query you want is:
>>
>> (relation.isbasedon:[* TO *] OR relation.isformatof:[* TO *] OR
>>  relation.isreferencedby:[* TO *]) AND your_identifier:123
>>
>> Then use faceting as usual.
>>
>>
>> Regards,
>> ~~helix84
>>
>> Compulsory reading: DSpace Mailing List Etiquette
>> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>>
>>
>> On Tue, Dec 20, 2016 at 3:29 PM, Evgeni Dimitrov 
>> wrote:
>>
>>> I am wondering - is it possible to have a search like this:
>>>
>>> - to find all items, which have in any of
>>> relation.isbasedon, relation.isformatof, relation.isreferencedby etc.
>>>
>>> certain value (the identifier of certain item);
>>>
>>> - then to have a facet "relation" with values
>>> isbasedon (1)
>>> isformatof (1)
>>> isreferencedby (3)
>>>
>>> I mean - is it possible to have this without too much coding? I am using
>>> xmlui - Mirage.
>>>
>>> --
>>> You received this message because you are subscribed to the Google
>>> Groups "DSpace Technical Support" group.
>>> To unsubscribe from this group and stop receiving emails from it, send
>>> an email to dspace-tech...@googlegroups.com.
>>> To post to this group, send email to dspac...@googlegroups.com.
>>> Visit this group at https://groups.google.com/group/dspace-tech.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> --
> You received this message because you are subscribed to the Google Groups
> "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to dspace-tech+unsubscr...@googlegroups.com.
> To post to this group, send email to dspace-tech@googlegroups.com.
> Visit this group at https://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.
>



-- 
Terry Brady
Applications Programmer Analyst
Georgetown University Library Information Technology
http://georgetown-university-libraries.github.io/

425-298-5498 (Seattle, WA)

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] DSpace 6.0 : problem with LDAP authentication in REST API

2016-12-21 Thread Devaux Cédric
Hello,

I want to use LDAP Authentication with Rest and there is a problem.
The LDAP authentication ( /login ) seems OK  : response 200 and in dspace.log :
2016-12-21 11:09:52,551 INFO org.dspace.authenticate.LDAPAuthentication @ 
*@*.*::authenticate:type=ldap
2016-12-21 11:09:52,551 INFO org.dspace.eperson.EPersonServiceImpl @ 
*@*.*::update_eperson:eperson_id=39...

But when I check the authentication (/status) with the JSESSIONID from the 
/login response, "authenticated" is false :
6falsetrue6.0

It's OK with Password Authentication with Rest (but the response to /status 
request is different, without apiVersion and sourceVersion  :
true**true
 )

I'd like to know if someone has ever successfully used LDAP authentication in 
Rest Api or if it's a bug like with Shibboleth Authentication ( 
https://jira.duraspace.org/browse/DS-2898 , 
https://jira.duraspace.org/browse/DS-3108 ) ?

Regards,
Cedric

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Modification of the View Usage Statistics Page

2016-12-21 Thread Anselm Olweny
Hello Members,

I would like help in modifying the View Usage Statistics Page as follows. 

I would like to view the users who have accessed a category, collection or 
items including the dates in which they made the access.

Would really appreciate if any one can show or help in making this 
modification. I am currently using dspace 5.3 with Mirage 2 theme

Looking forward to any response

Thanks

Anselm

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] Getting /solr/search/select was not found

2016-12-21 Thread Tony Brian Albers
Found it.

the port number was missing for solr in local.cfg

Merry Christmas :D

/tony

On 12/21/2016 11:23 AM, Tony Brian Albers wrote:
> Hi guys,
>
> I've set up a vanille DS 6.0 install, and when I try to use "browse by
> authors" I get the following error:
>
> Expected mime type application/octet-stream but got text/html.  HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">  404 Not
> Found  Not Found The requested URL
> /solr/search/select was not found on this server. 
>
>
> I'm unable to figure out where this is going wrong, tomcat runs
> everything on port 8080, and in catalina.out it says that solr has been
> deployed successfully.
>
> Any help is appreciated.
>
> TIA
>
> /tony
>

-- 
Best regards,

Tony Albers
Systems administrator, IT-development
State and University Library, Victor Albecks Vej 1, 8000 Aarhus C, Denmark.
Tel: +45 2566 2383 / +45 8946 2316

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


[dspace-tech] Getting /solr/search/select was not found

2016-12-21 Thread Tony Brian Albers
Hi guys,

I've set up a vanille DS 6.0 install, and when I try to use "browse by 
authors" I get the following error:

Expected mime type application/octet-stream but got text/html.   404 Not 
Found  Not Found The requested URL 
/solr/search/select was not found on this server. 


I'm unable to figure out where this is going wrong, tomcat runs 
everything on port 8080, and in catalina.out it says that solr has been 
deployed successfully.

Any help is appreciated.

TIA

/tony
-- 
Best regards,

Tony Albers
Systems administrator, IT-development
State and University Library, Victor Albecks Vej 1, 8000 Aarhus C, Denmark.
Tel: +45 2566 2383 / +45 8946 2316

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] Is this a possible kind of search?

2016-12-21 Thread Evgeni Dimitrov
Hi helix84,

My thoughts are rather in this direction:

To add somewhere? some code? so that only when the search filter "relation" 
is applied (with value XXX), to have:
- a new temporary field relation_kind added - with value isformatof - for 
every record with (relation.isformatof XXX)
- a new temporary field relation_kind added - with value isreferencedby - 
for every record with (relation.isreferencedby XXX)

And to have a facet over relation_kind.

Anyway, if you think that this is not a viable option, could you please 
elaborate on your initial suggestion. Where and how to use this query. And 
where is this notation described. I have not seen anything similar. Thank 
you again.

Best regards
Evgeni


On Tuesday, December 20, 2016 at 6:23:04 PM UTC+2, helix84 wrote:
>
> The query you want is:
>
> (relation.isbasedon:[* TO *] OR relation.isformatof:[* TO *] OR
>  relation.isreferencedby:[* TO *]) AND your_identifier:123
>
> Then use faceting as usual.
>
>
> Regards,
> ~~helix84
>
> Compulsory reading: DSpace Mailing List Etiquette
> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>
>
> On Tue, Dec 20, 2016 at 3:29 PM, Evgeni Dimitrov  > wrote:
>
>> I am wondering - is it possible to have a search like this:
>>
>> - to find all items, which have in any of
>> relation.isbasedon, relation.isformatof, relation.isreferencedby etc.
>>
>> certain value (the identifier of certain item);
>>
>> - then to have a facet "relation" with values
>> isbasedon (1)
>> isformatof (1)
>> isreferencedby (3)
>>
>> I mean - is it possible to have this without too much coding? I am using 
>> xmlui - Mirage.
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "DSpace Technical Support" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to dspace-tech...@googlegroups.com .
>> To post to this group, send email to dspac...@googlegroups.com 
>> .
>> Visit this group at https://groups.google.com/group/dspace-tech.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.


Re: [dspace-tech] Importing Metadata through CSV

2016-12-21 Thread helix84
Create a new empty collection via the web administration interface and use
its handle. Any existing collection would work, too.


Regards,
~~helix84

Compulsory reading: DSpace Mailing List Etiquette
https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette


On Wed, Dec 21, 2016 at 6:36 AM,  wrote:

> just need to know more about second point. what collection handle to use
> for new item (collection name or last two element numeric elements from url
> like http://10.50.240.204:8080/xmlui/handle/123456789/18059).
>
>
> On Tuesday, December 20, 2016 at 4:34:13 PM UTC+5, helix84 wrote:
>>
>> Please, always reply to the mailing list, not directly to me.
>>
>> 1) If you want to add new items, change all the IDs in the "id" to "+".
>> 2) Change all the handles in the "collection" column to an existing
>> collection.
>> 3) If you use Excel, make sure it didn't screw up the date format in the
>> "dc.date.issued" column. You can find the date formats accepted by DSpace
>> here:
>>
>> https://github.com/DSpace/DSpace/blob/dspace-5_x/dspace-api/
>> src/test/java/org/dspace/util/MultiFormatDateParserTest.java#L57-L78
>> 
>>
>>
>> On Tue, Dec 20, 2016 at 12:14 PM, Muhammmad Asif 
>> wrote:
>>
>>> Thank You very much. i have tried the method but getting following
>>> error. i need to get my csv file corrected for importing in dpsace.
>>>
>>> java.lang.NumberFormatException: For input string: ""
>>>
>>> Cocoon stacktrace [show]
>>>
>>> Java stacktrace [show]
>>>
>>> Java full stacktrace [show]
>>>
>>
>> I tried importing the file and apart from the considerations above, I
>> didn't run into any issue similar to yours.
>>
>> Send the full stack trace including the "Java full stacktrace"
>> information.
>>
>>
>> Regards,
>> ~~helix84
>>
>> Compulsory reading: DSpace Mailing List Etiquette
>> https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette
>>
>> --
> You received this message because you are subscribed to the Google Groups
> "DSpace Technical Support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to dspace-tech+unsubscr...@googlegroups.com.
> To post to this group, send email to dspace-tech@googlegroups.com.
> Visit this group at https://groups.google.com/group/dspace-tech.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"DSpace Technical Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to dspace-tech+unsubscr...@googlegroups.com.
To post to this group, send email to dspace-tech@googlegroups.com.
Visit this group at https://groups.google.com/group/dspace-tech.
For more options, visit https://groups.google.com/d/optout.