Re: [Koha-devel] SIP Authentication broken when LDAP Auth Enabled

2015-07-27 Thread Fridolin SOMERS
Hie, dirty bug. you should open a bug report. http://bugs.koha-community.org/bugzilla3/ If you try to authenticate with "kohasipuser" in OPAC, does it work ? Regards, Le 08/07/2015 19:39, Bernard Shiundu a écrit : We have been running KOHA with ldap authentication enabled and are now trying to

Re: [Koha-devel] SIP Authentication broken when LDAP Auth Enabled

2015-07-27 Thread Bernard Shiundu
Hello Fridolin, The bug is filed on bugzilla (Bug 14507) and yes the kohasipuser can login on the OPAC ... On Mon, Jul 27, 2015 at 10:13 AM, Fridolin SOMERS < fridolin.som...@biblibre.com> wrote: > Hie, dirty bug. > you should open a bug report. > http://bugs.koha-community.org/bugzilla3/ > > If

Re: [Koha-devel] Bug 13906: the start of Auth/Web test rewritting of Olli-Antti Kivilahti

2015-07-27 Thread Kivilahti Olli-Antti
Hi there! You cannot test 14540 without applying all the dependencies, including the TestObjectFactories. Olli-Antti Kivilahti Järjestelmäkeittäjä vaarakirjastot.fi +358 50 449 7763 --Powered by Kubuntu Linux! On 24.07.2015 16:00, Tajoli Zeno wrote: > Hi, > > Il 24/07/2015 14:41, Kivilahti Olli

[Koha-devel] Koha::Object

2015-07-27 Thread Kivilahti Olli-Antti
Hi there! I was looking for anykind of Interface implementation for Perl, and I found Moose and Class::Interface. I cant but wonder why we are not using Moose for Koha::Object. Apparently it works nicely with DBIx as well. -- Olli-Antti Kivilahti Järjestelmäkeittäjä vaarakirjastot.fi +358 50

Re: [Koha-devel] Koha::Object

2015-07-27 Thread Kyle Hall
Since Koha::Object(s) is used for with inheritance interfaces aren't really necessary. Simply declaring Koha::Object(s) as a base for your module will mean those methods already exists. The only time you need to define one of those methods is if you need to override the base behavior ( to add error

Re: [Koha-devel] Koha::Object

2015-07-27 Thread Mark Tompsett
Greetings, Because we were already using Class::Accessor? I don't know why. Also, Moose is much heavier than Mouse or Moo. Those are my guesses. GPML, Mark Tompsett -Original Message- From: Kivilahti Olli-Antti Sent: Monday, July 27, 2015 6:58 AM To: Koha-devel@lists.koha-community.

Re: [Koha-devel] Koha::Object

2015-07-27 Thread Kivilahti Olli-Antti
Thanks for all the replies! I am not a Moose-fan so just curious. I use Interfaces to create a contract between objects so different implementations can fill the same role. Just like they are intended to be used :) I am not implying to force some kind of an Interface-mechanism to Koha::Object.

Re: [Koha-devel] Koha::Object

2015-07-27 Thread Kyle Hall
I think authentication is the perfect way to use interfaces in Koha! That way we can have a standard API for authentication be it internal, ldap, cas, or whatever! Right now the way C4::Auth and it's ilk are mixed together definitely creates headaches when attempting to debug authentication issues.

Re: [Koha-devel] Koha::Object

2015-07-27 Thread Robin Sheat
Kyle Hall schreef op ma 27-07-2015 om 07:22 [-0400]: > I think authentication is the perfect way to use interfaces in Koha! > That way we can have a standard API for authentication be it internal, > ldap, cas, or whatever! Right now the way C4::Auth and it's ilk are > mixed together definitely crea

Re: [Koha-devel] Koha::Object

2015-07-27 Thread Kivilahti Olli-Antti
Hi there! Have you taken a look at this? Bug 7174 - Authentication rewriting It is not configuration file -driven, but it is almost 100% of what you described with some added bonuses. With a looong list of complex dependencies. Oll

Re: [Koha-devel] Koha::Object

2015-07-27 Thread Robin Sheat
Kivilahti Olli-Antti schreef op di 28-07-2015 om 03:57 [+]: > Have you taken a look at this? > > Bug 7174 - Authentication rewriting > > It is not configuration file -driven, but it is almost 100% of what > you described with some added bonuses. I haven't had a chance to yet, still trying to

Re: [Koha-devel] Koha::Object

2015-07-27 Thread Kivilahti Olli-Antti
We are very much looking forward to the ES-thing, and certainly will be one of the early adopters. Hoping to help you Q1 2016, if our schedule holds (which it certainly hasn't regarding the Koha REST API). Thanks for the link! Olli-Antti Kivilahti Järjestelmäkeittäjä vaarakirjastot.fi +358 50 4