Re: [Dspace-tech] Hide 4 collections in collection-list.xsl

2013-03-13 Thread helix84
I see, you probably had that template already customized and this reverted your changes. Do yo still have the old template? It might be enough to comment out this new one. Then the only thing you really need to add is the condition. In case it's in another template, find the file name of one of

[Dspace-tech] Authorization: Changing rights of Bundle: THUMBNAIL

2013-03-13 Thread Matthias Zipp
Dear all, I'm using DSpace 1.8 with xmlui templates. I'm familiar with the Advanced authorizations tool, but I don't find a way for the following request: I want to change the rights of the Bundle: THUMBNAIL in all items for Anonymous users within a certain collection. Finally anonymous user

Re: [Dspace-tech] Authorization: Changing rights of Bundle: THUMBNAIL

2013-03-13 Thread Hilton Gibson
See: http://wiki.lib.sun.ac.za/index.php/SUNScholar/Item_and_Collection_Permissions. It looks like there is no permission setting for thumbnails. On 13 March 2013 10:53, Matthias Zipp z...@basis5.de wrote: Dear all, I'm using DSpace 1.8 with xmlui templates. I'm familiar with the Advanced

Re: [Dspace-tech] Hide 4 collections in collection-list.xsl

2013-03-13 Thread M. Àngels Pulido
Hello Helix and Hugh, Thank you very much for your help and for your solutions. Everything works fine now: the four collections are not displayed:

[Dspace-tech] DSpace cleanup error

2013-03-13 Thread Hilton Gibson
Hi All I get this error when doing a cleanup with -v. Error: ERROR: update or delete on table bitstream violates foreign key constraint bundle_primary_bitstream_id_fkey on table bundle Detail: Key (bitstream_id)=(67984) is still referenced from table bundle. The fault is in the

Re: [Dspace-tech] XSLT 2.0 crosswalk

2013-03-13 Thread Joseph Greene
Hi Ivan, Paul, I've tested the solution below but now I realise that it has to do with crosswalk testing. Is there any solution for using XSLT 2.0 in a dissemination crosswalk, or would this require serious development? FYI DSpace 1.8.2 Regards, Joseph Joseph Greene Research Repository and

Re: [Dspace-tech] XSLT 2.0 crosswalk

2013-03-13 Thread Joseph Greene
(Sorry Pascal) -- and some answers to my own question, from Helix84 -- http://dspace.2283337.n4.nabble.com/Why-does-DSpace-use-XSLT-1-0-td3750179.html To clarify earlier, I have replaced the file below but not getting any results when I use xslt/xpath 2.0 functions. Perhaps I've missed

Re: [Dspace-tech] XSLT 2.0 crosswalk

2013-03-13 Thread helix84
On Wed, Mar 13, 2013 at 2:37 PM, Joseph Greene joseph.gre...@ucd.ie wrote: (Sorry Pascal) -- and some answers to my own question, from Helix84 -- http://dspace.2283337.n4.nabble.com/Why-does-DSpace-use-XSLT-1-0-td3750179.html To clarify earlier, I have replaced the file below but not getting

[Dspace-tech] DSpace LDAP + TLS

2013-03-13 Thread Walker Sampson
I'm running DSpace 3.1 and would like to set up LDAP. I understand from our own IT that their LDAP requires authenticated bind lookup and TLS encryption. From reading the authentication-ldap.cfg file it appears DSpace does support authenticated bind lookups, but I'm unsure as to whether it

Re: [Dspace-tech] DSpace LDAP + TLS

2013-03-13 Thread Hilton Gibson
Hi Walker We use LDAP with a secure connection. See: http://wiki.lib.sun.ac.za/index.php/SUNScholar/Secure_Internet_Connections And: http://wiki.lib.sun.ac.za/index.php/SUNScholar/User_Management Therefore, once logged in, all traffic is secure, including initial login. Cheers hg On 13 March

Re: [Dspace-tech] DSpace LDAP + TLS

2013-03-13 Thread helix84
On Wed, Mar 13, 2013 at 3:17 PM, Walker Sampson wsamp...@mdah.state.ms.us wrote: I'm running DSpace 3.1 and would like to set up LDAP. I understand from our own IT that their LDAP requires authenticated bind lookup and TLS encryption. From reading the authentication-ldap.cfg file it appears

Re: [Dspace-tech] DSpace cleanup error

2013-03-13 Thread Michael White
Hi, I get this error when doing a cleanup with -v. Error: ERROR: update or delete on table bitstream violates foreign key constraint bundle_primary_bitstream_id_fkey on table bundle Detail: Key (bitstream_id)=(67984) is still referenced from table bundle. Is there a query that can fix

Re: [Dspace-tech] Authorization: Changing rights of Bundle: THUMBNAIL

2013-03-13 Thread Matthias Zipp
Hi, thank you! It gives me an idea. So I could generate a list off all handles that I need and write a script similar to this: [dspace]/bin/dspace curate -t mytask -i 123456789/123 -r - And in mytask I put something to modify the rights of a bundle. Is this correct so far? But finally in the

Re: [Dspace-tech] DSpace LDAP + TLS

2013-03-13 Thread Hilton Gibson
Hilton's response is in this case inaccurate, because he's talking only about securing the connection of DSpace with the client I did not look at port 636 because I was not sure what to do with the cert on the server side. Anyway our LDAP connection is behind our campus firewall but if yours is

Re: [Dspace-tech] Authorization: Changing rights of Bundle: THUMBNAIL

2013-03-13 Thread helix84
That's correct. I'll send you something similar off-list, because it's not cleaned up (a one-off task I wrote). Regards, ~~helix84 Compulsory reading: DSpace Mailing List Etiquette https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Re: [Dspace-tech] DSpace LDAP + TLS

2013-03-13 Thread helix84
On Wed, Mar 13, 2013 at 4:17 PM, Hilton Gibson hilton.gib...@gmail.com wrote: Hilton's response is in this case inaccurate, because he's talking only about securing the connection of DSpace with the client I did not look at port 636 because I was not sure what to do with the cert on the

[Dspace-tech] Command line remove communities

2013-03-13 Thread Mark Ehle
Folks - I have been working on a batch importing script that works most of the time just fine, but today it created around 100 bogus communities before I caught it. Rather than try to delete them from the web interface, is there a command line way to do that? I know that you can use the map files

Re: [Dspace-tech] DSpace LDAP + TLS

2013-03-13 Thread Walker Sampson
Thank you both for the feedback, and helix84 for posting an issue on it - much obliged. As it stands now TLS is rigid requirement for LDAP, so LDAPS doesn't appear to be an option. The repository runs behind a firewall but other LDAP clients do not. In any case there are alternatives, and if

Re: [Dspace-tech] DSpace LDAP + TLS

2013-03-13 Thread Hilton Gibson
Found this on wikipedia: It should be noted that some LDAPS client libraries only encrypt communication, they do not check the host name against the name in the supplied certificate.[13]http://en.wikipedia.org/wiki/Lightweight_Directory_Access_Protocol#cite_note-13 LDAPS was used with LDAPv2,

Re: [Dspace-tech] DSpace cleanup error

2013-03-13 Thread Brian Freels-Stendel
Hi there, You should be able to get past this by updating the primary_bitstream_id field to Null for those records that refer to deleted bitstreams. For postgresql, try Update bundle set primary_bitstream_id = 'NULL' where bundle_id in (select bundle_id from bundle, bitstream where deleted =

Re: [Dspace-tech] Command line remove communities

2013-03-13 Thread Mark Ehle
I was able to script the community-filiator command to put all the unwanted communities under a dummy community and then delete the dummy. Problem solved. On Wed, Mar 13, 2013 at 2:56 PM, Mark Ehle marke...@gmail.com wrote: Folks - I have been working on a batch importing script that works

Re: [Dspace-tech] Command line remove communities

2013-03-13 Thread Lighton Phiri
I thought that utility was merely meant for handling relationships. Do you mind sharing the script(s) and approach you used? Lighton Phiri http://lightonphiri.org On 13 March 2013 23:29, Mark Ehle marke...@gmail.com wrote: I was able to script the community-filiator command to put all the

Re: [Dspace-tech] Command line remove communities

2013-03-13 Thread Mark Ehle
Well, it wasn't much of a script, really - I just put the commands: /dspace/bin/dspace community-filiator -s -p (handle of the dummy community) -c (handle of a community to be deleted) /dspace/bin/dspace community-filiator -s -p (handle of the dummy community) -c (handle of next community to be