Re: [Koha-devel] SIG DIE in returns.pl

2017-11-30 Thread Francesco Rivetti
On 30. nov. 2017 09:57, Fridolin SOMERS wrote: use Carp 'verbose'; $SIG{ __DIE__ } = sub { Carp::confess( @_ ) }; I think it will be applied to all pages (and everything) _AFTER_ this is run the first time on that forked process F ___ Koha-devel ma

Re: [Koha-devel] REST api developments

2017-12-06 Thread Francesco Rivetti
On 22. nov. 2017 20:11, Tomas Cohen Arazi wrote: Dear friends, I write this email to let you know me and the ByWater friends are committed to getting endpoints written, so development projects you are working on can succeed. This is great, thank you! F

Re: [Koha-devel] Bug 18539 - Forbid Koha::Objects->find calls in list context

2017-12-13 Thread Francesco Rivetti
On 13. des. 2017 15:56, Julian Maurice wrote: My question is: why the solution to this problem was to forbid calls in list context while we could simply return an explicit undef? It forces us to write 'scalar' in front of a call that should always return a single value, and in my opinion it's a "

Re: [Koha-devel] Plack only

2018-02-06 Thread Francesco Rivetti
Correct me if I'm wrong, but I thought some auth integrations don't work with plack F On 06. feb. 2018 14:31, Tomas Cohen Arazi wrote: I would like to know if you think there's any reason to keep the CGI mode as default in Koha deployments. I think we should make Plack the default. There are

[Koha-devel] Hi from Oslo, and C4::Auth

2017-03-06 Thread Francesco Rivetti
Hi, I believe most of you met me on IRC as "oha", for the others I'm a software developer working at Deichman library here in Oslo: Nice to meet you all! In the last week, I had a look at C4::Auth, and how the whole authentication, authorization and session management works. I came up with

Re: [Koha-devel] Plack and CGI : where to put initialization code ?

2017-04-10 Thread Francesco Rivetti
On 10. april 2017 10:39, Julian Maurice wrote: I need to execute code at the beginning of every request. For now it's in a BEGIN block. It works well in CGI mode, but not at all with plack (it's only executed once). I tried moving the BEGIN block into a sub init(), calling this sub in the BEGIN b

Re: [Koha-devel] Authenticate to use Webservices/ Koha API

2017-05-11 Thread Francesco Rivetti
Hi, maybe worth mentioning i've started working on this https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=18315 Oha On 2017-05-11 3:49 PM, Paul Poulain wrote: Hi all, Matthias is working on connecting Koha and Coral, and he's facing some problems with authentication. We need to authen