A new request with request id 7680 has been created by koha-devel-request@lists.koha-community.org. Short info on the request is :

Title : Koha-devel Digest, Vol 201, Issue 20
Category :
Description :
Send Koha-devel mailing list submissions to
    koha-devel@lists.koha-community.org

To subscribe or unsubscribe via the World Wide Web, visit
    https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
or, via email, send a message with subject or body 'help' to
    koha-devel-request@lists.koha-community.org

You can reach the person managing the list at
    koha-devel-owner@lists.koha-community.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Koha-devel digest..."


Today's Topics:

1. Re: [Koha] Circulation Rules: Parent and Child Item Type
(Michael Hafen)
2. Re: Mojolicious controllers for Koha plugins (Renvoize, Martin)


----------------------------------------------------------------------

Message: 1
Date: Mon, 22 Aug 2022 08:42:19 -0600
From: Michael Hafen <michael.hafen@washk12.org>
To: "Ms. Naveen Ali" <naveen@neduet.edu.pk>
Cc: Katrin Fischer <katrin.fischer.83@web.de>,
    koha@lists.katipo.co.nz, koha-devel@lists.koha-community.org
Subject: Re: [Koha-devel] [Koha] Circulation Rules: Parent and Child
    Item Type
Message-ID:
    <CAAh7Udm3vp7jfYgBf5Ti0Khh=dd4RDvXeJCqLpPXgXzF6oN4pg@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

I do that once a year for my school district. I do it in the database
though. There is currently no other way to update multiple circulation
rules that I'm aware of.

On Sun, Aug 21, 2022 at 11:06 PM Ms. Naveen Ali <naveen@neduet.edu.pk>
wrote:

> Thank you very much Caroline for the response and Katrin for the
> confirmation.
>
> Is it possible to batch update multiple circulation rules of one library?
>
> The problem I am facing is that I have around 60+ item types for which
> lending rule (with hard due date) has to be updated every semester.
>
> I just need to update the hard due date.
>
> It would be very convenient if I could do it in one go.
>
> With best regards,
>
> Naveen Ali
>
> ITM-JE (EAKL)
> Inst Representative for
> HEC Digital Library Resources.
> NEDUET, Karachi.
>
>
> ----- Original Message -----
> From: "Katrin Fischer" <katrin.fischer.83@web.de>
> To: koha@lists.katipo.co.nz
> Sent: Thursday, 18 August, 2022 3:58:03 PM
> Subject: Re: [Koha] Circulation Rules: Parent and Child Item Type
>
> >
> > As far as I know, the rule for the parent type only applies to
> > children for the "checkouts allowed" rule. This may have changed
> > since, but when the parent/child item types were introduced, it was
> > like this.
>
> I believe this is still correct!
>
> Katrin
>
>
> _______________________________________________
>
> Koha mailing list http://koha-community.org
> Koha@lists.katipo.co.nz
> Unsubscribe: https://lists.katipo.co.nz/mailman/listinfo/koha
> _______________________________________________
> Koha-devel mailing list
> Koha-devel@lists.koha-community.org
> https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
> website : https://www.koha-community.org/
> git : https://git.koha-community.org/
> bugs : https://bugs.koha-community.org/
>


--
Michael Hafen
Washington County School District Technology Department
Systems Analyst
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20220822/45d99360/attachment-0001.htm>

------------------------------

Message: 2
Date: Mon, 22 Aug 2022 21:43:09 +0100
From: "Renvoize, Martin" <martin.renvoize@ptfs-europe.com>
To: David Cook <dcook@prosentient.com.au>
Cc: Kyle Hall <kyle@bywatersolutions.com>, Koha Devel
    <koha-devel@lists.koha-community.org>, Tomas Cohen Arazi
    <tomascohen@theke.io>
Subject: Re: [Koha-devel] Mojolicious controllers for Koha plugins
Message-ID:
    <CAB7SL8C_hGFcj_mXV8fdUmii1nW0MyVRJBSxk9b0uVFJWDEiSg@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

This looks great, I'll have a go at QA when I have a fresher brain tomorrow.

On Fri, 19 Aug 2022, 1:24 am , <dcook@prosentient.com.au> wrote:

> Awesome! Thanks, Kyle!
>
>
>
> I would love to get this into 22.11.
>
>
>
> David Cook
>
> Senior Software Engineer
>
> Prosentient Systems
>
> Suite 7.03
>
> 6a Glen St
>
> Milsons Point NSW 2061
>
> Australia
>
>
>
> Office: 02 9212 0899
>
> Online: 02 8005 0595
>
>
>
> *From:* Kyle Hall <kyle@bywatersolutions.com>
> *Sent:* Friday, 19 August 2022 1:14 AM
> *To:* dcook@prosentient.com.au
> *Cc:* koha-devel@lists.koha-community.org; Tomas Cohen Arazi <
> tomascohen@theke.io>; Renvoize, Martin <martin.renvoize@ptfs-europe.com>
> *Subject:* Re: Mojolicious controllers for Koha plugins
>
>
>
> Excellent! Tested and signed off on everything :)
>
>
>
> Kyle
>
>
>
>
>
> On Thu, Aug 18, 2022 at 3:04 AM <dcook@prosentient.com.au> wrote:
>
> Thanks, Kyle!
>
>
>
> Leveraging some past work, I was able to put something together fairly
> quickly. I’ve posted it to
> https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=31380
>
>
>
> It has two dependent bug reports but I’ve posted patches for them too, and
> they’re fairly straightforward.
>
>
>
> It should be very easy to test, so hopefully you can have a look and let
> me know what you think.
>
>
>
> David Cook
>
> Senior Software Engineer
>
> Prosentient Systems
>
> Suite 7.03
>
> 6a Glen St
>
> Milsons Point NSW 2061
>
> Australia
>
>
>
> Office: 02 9212 0899
>
> Online: 02 8005 0595
>
>
>
> *From:* Kyle Hall <kyle@bywatersolutions.com>
> *Sent:* Tuesday, 16 August 2022 9:27 PM
> *To:* dcook@prosentient.com.au
> *Cc:* koha-devel@lists.koha-community.org; Tomas Cohen Arazi <
> tomascohen@theke.io>; Renvoize, Martin <martin.renvoize@ptfs-europe.com>
> *Subject:* Re: Mojolicious controllers for Koha plugins
>
>
>
> That sounds great to me David! I'll 100% assist you with testing and qa!
>
>
>
> On Tue, Aug 16, 2022 at 3:42 AM <dcook@prosentient.com.au> wrote:
>
> Hi all,
>
>
>
> I was just writing a Koha plugin to do a big data export, but I realize
> that it’s probably going to timeout, because Koha plugins run under
> Plack::App::CGIBin which buffers the entire response before it returns it
> to Apache to return to the client browser. It’s the reason Koha uses CGI
> instead of Plack for export.pl
>
>
>
> While we can use Mojolicious controllers with Koha plugins when it adds
> REST API endpoints, we can’t do that for Koha plugins themselves.
>
>
>
> This is a topic that I’ve touched on before, and there are challenges when
> it comes to Authentication and Templates, but they’re solvable challenges:
>
> https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=26791 “Build
> Mojolicious controller replacement for export.pl”
>
> https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28325 “Build
> Mojolicious controller replacement for tools-home.pl”
>
>
>
> We could just start by supporting “tool” and “report” with the Mojolicious
> controllers, and that would just mean plugins-home.pl detecting that
> there is Mojolicious support in that plugin, and then building a URL to
> “/staff/plugins/run” instead of “/cgi-bin/koha/plugins/run.pl” for
> instance.
>
>
>
> That Mojolicious controller would really just need to check
> authentication/authorization, which is very doable with a fairly minor
> refactor.
>
>
>
> If I could get the support of just a couple other people, I’d be happy to
> do a lot of the authoring (or testing or whatever needs to be done just to
> get it done).
>
>
>
> By using Mojolicious controllers for select plugins, we’d also be able to
> shake out any issues without causing any regressions in core Koha, and then
> hopefully be able to start refactoring core Koha too…
>
>
>
> Anyways, please give it some consideration, and ask me if you have any
> questions.
>
>
>
> I’ll be looking more into export problems tomorrow, so I might end up
> going a different route for the sake of time in the short-term, but I think
> we should still be looking at shifting away from CGI and Plack::App::CGIBin
> due to their limitations…
>
>
>
> David Cook
>
> Senior Software Engineer
>
> Prosentient Systems
>
> Suite 7.03
>
> 6a Glen St
>
> Milsons Point NSW 2061
>
> Australia
>
>
>
> Office: 02 9212 0899
>
> Online: 02 8005 0595
>
>
>
>
>
> --
>
> Kyle M. Hall
>
> Loose Cannon, ByWater Solutions
>
> kyle@bywatersolutions.com
> https://bywatersolutions.com <http://bywatersolutions.com/>
>
> *What is Koha? <http://bywatersolutions.com/what-is-koha/>*
>
>
>
> --
>
> Kyle M. Hall
>
> Loose Cannon, ByWater Solutions
>
> kyle@bywatersolutions.com
> https://bywatersolutions.com <http://bywatersolutions.com/>
>
> *What is Koha? <http://bywatersolutions.com/what-is-koha/>*
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.koha-community.org/pipermail/koha-devel/attachments/20220822/b347e6ab/attachment.htm>

------------------------------

Subject: Digest Footer

_______________________________________________
Koha-devel mailing list
Koha-devel@lists.koha-community.org
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-devel
website : https://www.koha-community.org/
git : https://git.koha-community.org/
bugs : https://bugs.koha-community.org/


------------------------------

End of Koha-devel Digest, Vol 201, Issue 20
*******************************************


NOTE: You are receiving this mail because, the Requester/Technician wanted you to get notified on this request creation.