<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"><html><head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body>A new request with request id 7680 has been created by koha-devel-request@lists.koha-community.org. Short info on the request is : <br><br>Title : Koha-devel Digest, Vol 201, Issue 20<br>Category : <br>Description : <div>Send Koha-devel mailing list submissions to<br>    koha-devel@lists.koha-community.org<br><br>To subscribe or unsubscribe via the World Wide Web, visit<br>    https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel<br>or, via email, send a message with subject or body 'help' to<br>    koha-devel-request@lists.koha-community.org<br><br>You can reach the person managing the list at<br>    koha-devel-owner@lists.koha-community.org<br><br>When replying, please edit your Subject line so it is more specific<br>than "Re: Contents of Koha-devel digest..."<br><br><br>Today's Topics:<br><br>   1. Re: [Koha] Circulation Rules: Parent and Child Item Type<br>      (Michael Hafen)<br>   2. Re: Mojolicious controllers for Koha plugins (Renvoize, Martin)<br><br><br>----------------------------------------------------------------------<br><br>Message: 1<br>Date: Mon, 22 Aug 2022 08:42:19 -0600<br>From: Michael Hafen <michael.hafen@washk12.org><br>To: "Ms. Naveen Ali" <naveen@neduet.edu.pk><br>Cc: Katrin Fischer <katrin.fischer.83@web.de>,<br>    koha@lists.katipo.co.nz,  koha-devel@lists.koha-community.org<br>Subject: Re: [Koha-devel] [Koha] Circulation Rules: Parent and Child<br>    Item Type<br>Message-ID:<br>    <CAAh7Udm3vp7jfYgBf5Ti0Khh=dd4RDvXeJCqLpPXgXzF6oN4pg@mail.gmail.com><br>Content-Type: text/plain; charset="utf-8"<br><br>I do that once a year for my school district.  I do it in the database<br>though.  There is currently no other way to update multiple circulation<br>rules that I'm aware of.<br><br>On Sun, Aug 21, 2022 at 11:06 PM Ms. Naveen Ali <naveen@neduet.edu.pk><br>wrote:<br><br>> Thank you very much Caroline for the response and Katrin for the<br>> confirmation.<br>><br>> Is it possible to batch update multiple circulation rules of one library?<br>><br>> The problem I am facing is that I have around 60+ item types for which<br>> lending rule (with hard due date) has to be updated every semester.<br>><br>> I just need to update the hard due date.<br>><br>> It would be very convenient if I could do it in one go.<br>><br>> With best regards,<br>><br>> Naveen Ali<br>><br>> ITM-JE (EAKL)<br>> Inst Representative for<br>> HEC Digital Library Resources.<br>> NEDUET, Karachi.<br>><br>><br>> ----- Original Message -----<br>> From: "Katrin Fischer" <katrin.fischer.83@web.de><br>> To: koha@lists.katipo.co.nz<br>> Sent: Thursday, 18 August, 2022 3:58:03 PM<br>> Subject: Re: [Koha] Circulation Rules: Parent and Child Item Type<br>><br>> ><br>> > As far as I know, the rule for the parent type only applies to<br>> > children for the "checkouts allowed" rule. This may have changed<br>> > since, but when the parent/child item types were introduced, it was<br>> > like this.<br>><br>> I believe this is still correct!<br>><br>> Katrin<br>><br>><br>> _______________________________________________<br>><br>> Koha mailing list  http://koha-community.org<br>> Koha@lists.katipo.co.nz<br>> Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha<br>> _______________________________________________<br>> Koha-devel mailing list<br>> Koha-devel@lists.koha-community.org<br>> https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel<br>> website : https://www.koha-community.org/<br>> git : https://git.koha-community.org/<br>> bugs : https://bugs.koha-community.org/<br>><br><br><br>-- <br>Michael Hafen<br>Washington County School District Technology Department<br>Systems Analyst<br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20220822/45d99360/attachment-0001.htm><br><br>------------------------------<br><br>Message: 2<br>Date: Mon, 22 Aug 2022 21:43:09 +0100<br>From: "Renvoize, Martin" <martin.renvoize@ptfs-europe.com><br>To: David Cook <dcook@prosentient.com.au><br>Cc: Kyle Hall <kyle@bywatersolutions.com>,  Koha Devel<br>    <koha-devel@lists.koha-community.org>,  Tomas Cohen Arazi<br>    <tomascohen@theke.io><br>Subject: Re: [Koha-devel] Mojolicious controllers for Koha plugins<br>Message-ID:<br>    <CAB7SL8C_hGFcj_mXV8fdUmii1nW0MyVRJBSxk9b0uVFJWDEiSg@mail.gmail.com><br>Content-Type: text/plain; charset="utf-8"<br><br>This looks great, I'll have a go at QA when I have a fresher brain tomorrow.<br><br>On Fri, 19 Aug 2022, 1:24 am , <dcook@prosentient.com.au> wrote:<br><br>> Awesome! Thanks, Kyle!<br>><br>><br>><br>> I would love to get this into 22.11.<br>><br>><br>><br>> David Cook<br>><br>> Senior Software Engineer<br>><br>> Prosentient Systems<br>><br>> Suite 7.03<br>><br>> 6a Glen St<br>><br>> Milsons Point NSW 2061<br>><br>> Australia<br>><br>><br>><br>> Office: 02 9212 0899<br>><br>> Online: 02 8005 0595<br>><br>><br>><br>> *From:* Kyle Hall <kyle@bywatersolutions.com><br>> *Sent:* Friday, 19 August 2022 1:14 AM<br>> *To:* dcook@prosentient.com.au<br>> *Cc:* koha-devel@lists.koha-community.org; Tomas Cohen Arazi <<br>> tomascohen@theke.io>; Renvoize, Martin <martin.renvoize@ptfs-europe.com><br>> *Subject:* Re: Mojolicious controllers for Koha plugins<br>><br>><br>><br>> Excellent! Tested and signed off on everything :)<br>><br>><br>><br>> Kyle<br>><br>><br>><br>><br>><br>> On Thu, Aug 18, 2022 at 3:04 AM <dcook@prosentient.com.au> wrote:<br>><br>> Thanks, Kyle!<br>><br>><br>><br>> Leveraging some past work, I was able to put something together fairly<br>> quickly. I’ve posted it to<br>> https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31380<br>><br>><br>><br>> It has two dependent bug reports but I’ve posted patches for them too, and<br>> they’re fairly straightforward.<br>><br>><br>><br>> It should be very easy to test, so hopefully you can have a look and let<br>> me know what you think.<br>><br>><br>><br>> David Cook<br>><br>> Senior Software Engineer<br>><br>> Prosentient Systems<br>><br>> Suite 7.03<br>><br>> 6a Glen St<br>><br>> Milsons Point NSW 2061<br>><br>> Australia<br>><br>><br>><br>> Office: 02 9212 0899<br>><br>> Online: 02 8005 0595<br>><br>><br>><br>> *From:* Kyle Hall <kyle@bywatersolutions.com><br>> *Sent:* Tuesday, 16 August 2022 9:27 PM<br>> *To:* dcook@prosentient.com.au<br>> *Cc:* koha-devel@lists.koha-community.org; Tomas Cohen Arazi <<br>> tomascohen@theke.io>; Renvoize, Martin <martin.renvoize@ptfs-europe.com><br>> *Subject:* Re: Mojolicious controllers for Koha plugins<br>><br>><br>><br>> That sounds great to me David! I'll 100% assist you with testing and qa!<br>><br>><br>><br>> On Tue, Aug 16, 2022 at 3:42 AM <dcook@prosentient.com.au> wrote:<br>><br>> Hi all,<br>><br>><br>><br>> I was just writing a Koha plugin to do a big data export, but I realize<br>> that it’s probably going to timeout, because Koha plugins run under<br>> Plack::App::CGIBin which buffers the entire response before it returns it<br>> to Apache to return to the client browser. It’s the reason Koha uses CGI<br>> instead of Plack for export.pl<br>><br>><br>><br>> While we can use Mojolicious controllers with Koha plugins when it adds<br>> REST API endpoints, we can’t do that for Koha plugins themselves.<br>><br>><br>><br>> This is a topic that I’ve touched on before, and there are challenges when<br>> it comes to Authentication and Templates, but they’re solvable challenges:<br>><br>> https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26791 “Build<br>> Mojolicious controller replacement for export.pl”<br>><br>> https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28325 “Build<br>> Mojolicious controller replacement for tools-home.pl”<br>><br>><br>><br>> We could just start by supporting “tool” and “report” with the Mojolicious<br>> controllers, and that would just mean plugins-home.pl detecting that<br>> there is Mojolicious support in that plugin, and then building a URL to<br>> “/staff/plugins/run” instead of “/cgi-bin/koha/plugins/run.pl” for<br>> instance.<br>><br>><br>><br>> That Mojolicious controller would really just need to check<br>> authentication/authorization, which is very doable with a fairly minor<br>> refactor.<br>><br>><br>><br>> If I could get the support of just a couple other people, I’d be happy to<br>> do a lot of the authoring (or testing or whatever needs to be done just to<br>> get it done).<br>><br>><br>><br>> By using Mojolicious controllers for select plugins, we’d also be able to<br>> shake out any issues without causing any regressions in core Koha, and then<br>> hopefully be able to start refactoring core Koha too…<br>><br>><br>><br>> Anyways, please give it some consideration, and ask me if you have any<br>> questions.<br>><br>><br>><br>> I’ll be looking more into export problems tomorrow, so I might end up<br>> going a different route for the sake of time in the short-term, but I think<br>> we should still be looking at shifting away from CGI and Plack::App::CGIBin<br>> due to their limitations…<br>><br>><br>><br>> David Cook<br>><br>> Senior Software Engineer<br>><br>> Prosentient Systems<br>><br>> Suite 7.03<br>><br>> 6a Glen St<br>><br>> Milsons Point NSW 2061<br>><br>> Australia<br>><br>><br>><br>> Office: 02 9212 0899<br>><br>> Online: 02 8005 0595<br>><br>><br>><br>><br>><br>> --<br>><br>> Kyle M. Hall<br>><br>> Loose Cannon, ByWater Solutions<br>><br>> kyle@bywatersolutions.com<br>> https://bywatersolutions.com <http://bywatersolutions.com/><br>><br>> *What is Koha? <http://bywatersolutions.com/what-is-koha/>*<br>><br>><br>><br>> --<br>><br>> Kyle M. Hall<br>><br>> Loose Cannon, ByWater Solutions<br>><br>> kyle@bywatersolutions.com<br>> https://bywatersolutions.com <http://bywatersolutions.com/><br>><br>> *What is Koha? <http://bywatersolutions.com/what-is-koha/>*<br>><br>-------------- next part --------------<br>An HTML attachment was scrubbed...<br>URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20220822/b347e6ab/attachment.htm><br><br>------------------------------<br><br>Subject: Digest Footer<br><br>_______________________________________________<br>Koha-devel mailing list<br>Koha-devel@lists.koha-community.org<br>https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel<br>website : https://www.koha-community.org/<br>git : https://git.koha-community.org/<br>bugs : https://bugs.koha-community.org/<br><br><br>------------------------------<br><br>End of Koha-devel Digest, Vol 201, Issue 20<br>*******************************************<br></div><br><br>NOTE: You are receiving this mail because, the Requester/Technician wanted you to get notified on this request creation.<br></body></html>