Re: [Koha-devel] New OPAC design

2019-04-01 Thread dcook
It's 11am April 2nd in Australia and... yep. Yep. Yep. Fridolin is a wizard. David Cook Systems Librarian Prosentient Systems 72/330 Wattle St Ultimo, NSW 2007 Australia Office: 02 9212 0899 Direct: 02 8005 0595 -Original Message- From: koha-devel-boun...@lists.koha-community.org On B

Re: [Koha-devel] DateTime->now usage

2019-05-01 Thread dcook
Great catch, Tomas. I totally agree. David Cook Systems Librarian Prosentient Systems 72/330 Wattle St Ultimo, NSW 2007 Australia Office: 02 9212 0899 Direct: 02 8005 0595 From: koha-devel-boun...@lists.koha-community.org On Behalf Of Renvoize, Martin Sent: Wednesday, 1 May 201

Re: [Koha-devel] Koha 19.05.00 Released

2019-06-02 Thread dcook
Congrats, Nick! And good luck, Martin! David Cook Systems Librarian Prosentient Systems 72/330 Wattle St Ultimo, NSW 2007 Australia Office: 02 9212 0899 Direct: 02 8005 0595 From: koha-devel-boun...@lists.koha-community.org On Behalf Of Renvoize, Martin Sent: Friday, 31 May 201

Re: [Koha-devel] Object for cataloguing module in action_logs

2019-07-03 Thread dcook
They’re the biblionumber when info is “biblio” and itemnumber when info is “item”. If they don’t correspond with your biblio or items tables, I’d suggest looking at deletedbiblio and deleteditems to see if the IDs are in there. David Cook Systems Librarian Prosentient Systems 72/330 W

Re: [Koha-devel] Problems searching callnumbers with Koha and ICU

2019-07-10 Thread dcook
Hi Mason, Can you tell us what version of Zebra you're running? And what is your exact query? According to https://packages.debian.org/stretch/idzebra-2.0, you're probably running Zebra 2.0.59, unless you're pulling packages from Indexdata's APT repository. I discovered a ICU bug in Zebra 2.0.

Re: [Koha-devel] Problems searching callnumbers with Koha and ICU

2019-07-10 Thread dcook
HI again, Mason, I just remembered a little trick that you might find useful. Try the following: echo "PZ 7 .W663 1984" | yaz-icu -x -c /path/to/phrases-icu.xml echo "PZ 7 .W663 1984" | yaz-icu -x -c /path/to/words-icu.xml That should show you how the string is normalized and tokenized for inde

[Koha-devel] Virtualbox 6.0 compatible with Hyper-V

2019-07-11 Thread dcook
Hi all Windows users, Just mentioning that Virtualbox 6.0 apparently can use Hyper-V as a backend, so if you're frustrated because Docker Desktop uses Hyper-V, which prevents you from using VMware or Virtualbox, your prayers have now seemingly been answered. I haven't tried it out, but that

Re: [Koha-devel] items.itype FK constraint?

2019-07-30 Thread dcook
If we set items.itype to NULL, aren’t we potentially causing problems for people who want to JOIN “statistics” and “items” tables? Do we already have software logic to prevent Item Types from being deleted if they’re used in items or biblioitems? David Cook Systems Librarian Prosentien

[Koha-devel] Removing data from hea.koha-community.org

2019-09-01 Thread dcook
Hi all, Do we have any process for removing data from hea.koha-community.org? For instance, say that a library permanently closes, or just no longer wants to be listed? David Cook Systems Librarian Prosentient Systems 72/330 Wattle St Ultimo, NSW 2007 Australia Office: 02 9212

[Koha-devel] IndependentBranches == "softno" on SIP server

2019-09-01 Thread dcook
Hi all, I've been getting errors on a SIP server that indicate that "IndependentBranches" is non-zero. However, both MySQL and Memcached have said that "IndependentBranches" is zero. So I added some logging to the SIP server, and it's saying that the value of "IndependentBranches" - at the

Re: [Koha-devel] IndependentBranches == "softno" on SIP server

2019-09-02 Thread dcook
Oh. I've found something interesting! lib/Koha/Patron.pm uses "checkPrevCheckout" instead of "CheckPrevCheckout", which is why I wasn't finding it with my case-sensitive grep. In C4::Circulation::CanBookBeIssued, I think it is very likely that C4::Context->preference("checkPrevCheckout") is c

[Koha-devel] Run Koha::Caches->flush_L1_caches() on SIP Server

2019-09-18 Thread dcook
Hi all, Who are the SIP experts? I've noticed that Koha::Caches->flush_L1_caches() never gets run on the SIP Server, and this means that the SIP Server can get stuck with old cached values that can never be changed without a restart. I've opened https://bugs.koha-community.org/bugzilla

Re: [Koha-devel] A case against some uses of C4::Context->userenv

2019-09-29 Thread dcook
Totally agree too. Also makes unit testing a million times easier. David Cook Systems Librarian Prosentient Systems 72/330 Wattle St Ultimo, NSW 2007 Australia Office: 02 9212 0899 Direct: 02 8005 0595 From: Koha-devel On Behalf Of Renvoize, Martin Sent: Saturday, 28 September

Re: [Koha-devel] API use in intranet and OPAC

2019-10-07 Thread dcook
I agree with Katrin. I think we need to be careful to think as developers in the open source GLAM space rather than the less accountable corporate space. While I’m a few years out of date when it comes to accessibility, I do still have some friends who are experts in that area and could get thei

Re: [Koha-devel] API use in intranet and OPAC

2019-10-07 Thread dcook
Testing is always an interesting one. I’d say unit tests for the API functions and unit tests for the controller functions. You could mock the API for the latter. For integration tests, you could use selenium to test the integration between the two. Alternatively, manual integration tests.

[Koha-devel] Turn on DEBUG for Koha Plack instance

2019-10-07 Thread dcook
Hi all, How do you (temporarily) turn on DEBUG mode for Koha Plack? I looked inside and out and nothing I tried seemed to work? David Cook Systems Librarian Prosentient Systems 72/330 Wattle St Ultimo, NSW 2007 Australia Office: 02 9212 0899 Direct: 02 8005 0595 signature.as

Re: [Koha-devel] API use in intranet and OPAC

2019-10-14 Thread dcook
This certainly makes me wonder. In Australia, JAWS appears to be the recommended Microsoft Windows screen reader (https://www.visionaustralia.org/information/adaptive-technology/using-technology/computer-screen-readers), and the Wikipedia entry says that Internet Explorer is the recommended bro

[Koha-devel] Submitting Debian packages to Koha's APT repository

2019-11-26 Thread dcook
Hi all, Joonas Kylmälä and I have been waiting about 2 months for a Debian package dependency on “Bug 13193 - Make Memcached usage fork safe” https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13193. I don’t know if Mirko is just busy or hasn’t seen it, but is there any way that we c

Re: [Koha-devel] Submitting Debian packages to Koha's APT repository

2019-11-27 Thread dcook
I had a feeling that you were going to suggest that, Chris. Hehe. That does sound reasonable, although it seems like a very large time commitment at this point. (I’ve thought about taking over the idzebra-2.0 package but that one has seemed like too much time/responsibility as well, which is

Re: [Koha-devel] Submitting Debian packages to Koha's APT repository

2019-11-27 Thread dcook
Well, that's the part where I'm confused. If Joonas or I package the dependency, can we get it into the Koha APT repo ASAP? My first priority is resolving Bug 13193 as soon as possible. Martin has already agreed to push the change, but we're just waiting on the dependency being available. I fi

Re: [Koha-devel] Submitting Debian packages to Koha's APT repository

2019-11-28 Thread dcook
Hi Martin, Thanks for your message. That all makes a lot of sense. I’d be happy to provide additional support for packaging, but I’m unaware of the processes for providing it. (I can’t commit to taking on the Packaging manager role, but I’m happy to support the person in that role.) T

Re: [Koha-devel] Submitting Debian packages to Koha's APT repository

2019-11-28 Thread dcook
Read through https://wiki.debian.org/Teams/DebianPerlGroup and https://wiki.debian.org/Teams/DebianPerlGroup/Welcome, so I’ve signed up to Salsa and sent a Debian Perl Group introduction email. We’ll see how that goes. Depending on the process, I might add details to the Koha wiki suggesting

[Koha-devel] Docker Registry for Koha Community for koha-testing-docker?

2019-12-04 Thread dcook
Hi all (and especially Tomas), What would people think about the Koha Community hosting its own Docker Registry rather than relying on Docker Hub? I have no issues with Docker Hub, but as a community we like to run our own infrastructure and I was thinking this might be a nice one to in-hou

Re: [Koha-devel] Upgrade db to v19.11

2019-12-16 Thread dcook
I'll just add that the Debian package is built from a tarball, but - as Katrin says - it installs the files differently than a "single" tarball installation would. It's the same code in the end, but it's installed differently. (If you run something like "dpkg -L koha-common" you can get a good s

[Koha-devel] "Get desktop application" link

2020-01-08 Thread dcook
Hi all, I'm just poking around on 19.11 and I notice the "Get desktop application" link on /cgi-bin/koha/circ/circulation-home.pl points to ByWater's Github. Is that an optimal link or should it be pointing to a Koha Community resource? David Cook Systems Librarian Prosentient Systems 7

Re: [Koha-devel] Build the easy way throws error

2020-01-12 Thread dcook
Probably a good idea to use koha-dpkg, as I think that’s fairly widely used now. However, if you’re feeling adventurous, you can try https://gitlab.com/minusdavid/koha-deb-builder-docker. It probably won’t work the first time, as I’m having issues where some dependencies (libcache-perl

Re: [Koha-devel] "Get desktop application" link

2020-01-12 Thread dcook
That sounds reasonable. I don’t really have a solution in mind, but just wondered about it from a branding perspective. Maybe https://gitlab.com/koha-community/koha-offline-circulation? Then again, maybe it’s worthwhile keeping it affiliated with Bywater, since it’s not part of Koha per se?

Re: [Koha-devel] "Get desktop application" link

2020-01-15 Thread dcook
Hehe. Yep. I don't think that it's widely used, but it's used out in the wild in Australia. I keep meaning to look at the one from ByWater so that we could retire ours. David Cook Systems Librarian Prosentient Systems 72/330 Wattle St Ultimo, NSW 2007 Australia Office: 02 9212 0899 Direct: 02

[Koha-devel] Missing optional Net::Z3950::SimpleServer dependency causes ~/koha prove t to fail

2020-01-21 Thread dcook
Technically, Net::Z3950::SimpleServer is an optional dependency, so the test suite probably shouldn't fail if it's not installed? I'll just look at installing it, so it shouldn't be a big drama, but just wondering what people think about this. David Cook Systems Librarian Prosentient Syst

[Koha-devel] External Independent Security Audits of Koha

2020-01-27 Thread dcook
Hi all, Sending this first to the dev list, and might send to the general list depending on responses. Has anyone in the Koha community commissioned an external independent security audit of Koha? I know people do their own pen testing and security audits, but has anyone paid for an externa

Re: [Koha-devel] Trouble in setting up kohadevbox on Win10 prof

2020-02-02 Thread dcook
Hey Indranil, I’m not sure if kohadevbox is getting much love and attention, especially on Windows, anymore. Happy to be corrected if I’m wrong but I think many people are moving / have moved to koha-testing-docker: https://gitlab.com/koha-community/koha-testing-docker. The documen

Re: [Koha-devel] Trouble in setting up kohadevbox on Win10 prof

2020-02-03 Thread dcook
Damn, sorry to hear that. I have some things to say on that topic, but I'll add them to the Gitlab issue. David Cook Systems Librarian Prosentient Systems 72/330 Wattle St Ultimo, NSW 2007 Australia Office: 02 9212 0899 Direct: 02 8005 0595 -Original Message- From: Koha-devel On Behal

Re: [Koha-devel] Trouble in setting up kohadevbox on Win10 prof

2020-02-03 Thread dcook
By the way, everyone, I think I've demonstrated on https://gitlab.com/koha-community/koha-testing-docker/issues/140 how to get koha-testing-docker working again, if you're having any issues with it. David Cook Systems Librarian Prosentient Systems 72/330 Wattle St Ultimo, NSW 2007 Australia Off

Re: [Koha-devel] Trouble in setting up kohadevbox on Win10 prof

2020-02-03 Thread dcook
Yeah, Virtualbox/VMware can't be used at the same time as Hyper-V. Theoretically, the latest Virtualbox can use Hyper-V as a backend, but I couldn't get it to work in practice. Personally, I've completely moved away from Virtualbox and over to Hyper-V. Docker Desktop uses Hyper-V out of the bo

Re: [Koha-devel] Koha mirror on gitlab.com not updated ?

2020-02-04 Thread dcook
I know some folk at Gitlab. Let me see if I can be a squeaky wheel to get us some oil. David Cook Systems Librarian Prosentient Systems 72/330 Wattle St Ultimo, NSW 2007 Australia Office: 02 9212 0899 Direct: 02 8005 0595 -Original Message- From: Koha-devel On Behalf Of Julian Maurice

Re: [Koha-devel] Koha mirror on gitlab.com not updated ?

2020-02-05 Thread dcook
I’ve been in touch with someone at Gitlab, and they pointed out that https://gitlab.com/gitlab-com/support-forum/issues/4590 is just a forum rather than a bug tracker per se. That said, I see Gitlab employees commenting on other “support-forum” issues like https://gitlab.com/gitlab-com/support-

[Koha-devel] Starting/stopping koha-testing-docker

2020-02-05 Thread dcook
Hi all, Is there a trick for stopping and starting koha-testing-docker, when using docker-compose, so that you can re-use the same containers? I stop/start containers all the time on other projects, and I swear that Tomas told me how to do it with koha-testing-docker, but koha_koha_1 keeps

Re: [Koha-devel] Starting/stopping koha-testing-docker

2020-02-06 Thread dcook
Hi Agustin, Thanks for your email. However, I think that perhaps you misunderstand me. I’m not trying to re-create the containers; I’m trying to re-use/re-start the existing containers. Your first suggestion will recreate the containers by destroying the old ones. That means I can’t re-

Re: [Koha-devel] Starting/stopping koha-testing-docker

2020-02-06 Thread dcook
Thanks, Tomas, but the issue isn’t the database. I was probably misleading in my original email. The issue is that the /kohadevbox/run.sh script tries to re-provision the koha_koha_1 server, and it fatally fails to do so. Before doing the setup, it should do a test to see if it needs to do the s

[Koha-devel] Adding peer review status to article records

2020-02-16 Thread dcook
Hi all, I have a library interested in adding peer review status to their article records in Koha. The short-term solution is to use a local MARC field and do a code customization for it. However, peer review status is the kind of thing that the library industry will probably see more a

Re: [Koha-devel] Adding peer review status to article records

2020-02-16 Thread dcook
It does have me thinking. we already have the biblio_metadata table set up to allow arbitrary metadata to be added to a bibliographic record. Really we just need a system for doing CRUD, have code for rendering views of the data, and code for allowing that data to be searchable*. In terms of CR

[Koha-devel] Alternative views for search results and detail pages?

2020-02-16 Thread dcook
Hi all, What do people think about replacing the XSLTs with Template Toolkit templates for search results and detail pages? Considering that the OPAC Detail XSLT is 2000 lines and the Search Result XSLT is 1500 lines (and that doesn't include the utility XSLT) maybe that's a bit ambitious.

Re: [Koha-devel] About SMS integration with KOHA 19.11 from Bangladesh.

2020-02-17 Thread dcook
Could you be more specific about what SMS Gateway you’re trying to use and how you’re trying to use it? You could take a look at https://metacpan.org/pod/SMS::Send::UK::Kapow and model your own SMS driver on that (which itself is just building off of SMS::Send::Driver https://metacpan.org/po

Re: [Koha-devel] Minimal docker images for Koha

2020-02-17 Thread dcook
Hi Julian, Awesome to see you playing with Docker. I love Docker and I've been thinking about assembling similar Docker images for Koha, but haven't had the time, so hurray for you doing it! I couldn't get your first URL to work as I think that's an authorised user link. Is it safe to say that

Re: [Koha-devel] Minimal docker images for Koha

2020-02-17 Thread dcook
That sounds reasonable regarding buster-slim. I was thinking a minimal Koha in terms of something that would never really be entered, but rather re-generated if there were any problems. But I agree about it not being worth trying to get the smallest image possible. I think that's small image si

Re: [Koha-devel] Minimal docker images for Koha

2020-02-18 Thread dcook
"unzip" is used for C4/ImportExportFramework.pm, tools/picture-upload.pl, and tools/upload-cover-image.pl. O ./plugins/plugins-upload.pl uses Archive::Extract! Very interesting. There might be merit to not using a pure Perl implementation for pictures, as they may not be as performant as the

Re: [Koha-devel] Minimal docker images for Koha

2020-02-18 Thread dcook
Mmm that’s a good point. The smaller attack surface is something I harp on about a lot when it comes to making minimal images. That’s actually led me down some very fun rabbit holes about operating systems and Linux in particular. For instance, here’s the Dockerfile for ubuntu:latest. It’s ac

Re: [Koha-devel] Minimal docker images for Koha

2020-02-18 Thread dcook
Funny I was just looking at https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=15032. One of these days we should push forward more on queues: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22417. David Cook Systems Librarian Prosentient Systems 72/330 Wattle St Ultimo, NSW

Re: [Koha-devel] Minimal docker images for Koha

2020-02-19 Thread dcook
Exactly! I would love to see a task queue based record importer. (I keep thinking about a Koha plugin to provide a web ui for scheduling OAI-PMH harvesting, and then third-party applications that can consume from the task queue, stage the records… probably via the REST API… and then enqueue task

Re: [Koha-devel] Minimal docker images for Koha

2020-02-20 Thread dcook
Cool! Nice one, Julian! David Cook Systems Librarian Prosentient Systems 72/330 Wattle St Ultimo, NSW 2007 Australia Office: 02 9212 0899 Direct: 02 8005 0595 -Original Message- From: Julian Maurice Sent: Thursday, 20 February 2020 7:27 PM To: dc...@prosentient.com.au; 'Kyle Hall' Cc:

Re: [Koha-devel] Minimal docker images for Koha

2020-02-20 Thread dcook
Actually, now that I think about it, I assume an Apache-less Koha would also lose support for web-facing OPAC plugins (like the EBSCO EDS plugin)? David Cook Systems Librarian Prosentient Systems 72/330 Wattle St Ultimo, NSW 2007 Australia Office: 02 9212 0899 Direct: 02 8005 0595

Re: [Koha-devel] Minimal docker images for Koha

2020-02-23 Thread dcook
It could just be that I misunderstand how the plugins work with Plack, but when I use Koha via CGI, this is the path that is being used: /plugin/Koha/Plugin/EDS/opac/eds-search.pl?q=Search?query-1=AND,:{test}&default=1. I don’t think that would work using https://github.com/jajm/koha-docker/blo

[Koha-devel] Problems when using multiple CGI objects in a CGI script

2020-02-24 Thread dcook
Hi all, Just thought I'd share an issue I encountered today. You can see the details at https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24719, but it boils down to how using multiple CGI objects (using the CGI module) can lead to unexpected behaviour. In this case, file uploads we

Re: [Koha-devel] Minimal docker images for Koha

2020-03-01 Thread dcook
I'd also note that in production you'd probably want to use a reverse proxy in the same container as Starman for performance reasons, since the reverse proxy will do better than Starman at serving static assets. On a different Perl project, I've used HTTP::Server::PSGI for development, and it do

Re: [Koha-devel] Minimal docker images for Koha

2020-03-02 Thread dcook
Could you speak more to that one, Kyle? I was thinking the other day how Varnish could be used to cache responses for static assets, but that would still put load on the Plack server for the initial requests. Maybe not enough to be significant though. Would be interesting to experiment.

Re: [Koha-devel] Saying farewell to QueryParser

2020-03-02 Thread dcook
Great job Martin, Jonathan, and Katrin! Sad to say goodbye to all the effort put into the QueryParser, but I think it was the right time for it to go too. Hopefully some of the ideas behind it can be used to improve things in the future. David Cook Systems Librarian Prosentient Systems

[Koha-devel] Holds Queue vs Holds to Pull

2020-03-02 Thread dcook
Hi all, What is the purpose of the "Holds Queue" page? As far as I can tell, it duplicates "Holds to Pull" but requires a separate cronjob and extra database tables and so on. David Cook Systems Librarian Prosentient Systems 72/330 Wattle St Ultimo, NSW 2007 Australia Office:

Re: [Koha-devel] Minimal docker images for Koha

2020-03-02 Thread dcook
Having a reverse proxy web server in a separate container with a shared volume for static assets would add management overhead though. Arguably, you could automate that overhead, but I’m not sure if much would be gained by putting the reverse proxy in a separate container. I know other projects

Re: [Koha-devel] Holds Queue vs Holds to Pull

2020-03-03 Thread dcook
Thanks for that, Phil! The majority of my libraries are single-branch, so that explains my experiences more. I imagine that must only apply to bib-level holds and not specific item holds. David Cook Systems Librarian Prosentient Systems 72/330 Wattle St Ultimo, NSW 2007 Australia

[Koha-devel] Javascript errors in OPAC

2020-03-04 Thread dcook
Hi all (and especially Owen), I'm noticing some odd Javascript errors in the OPAC in 19.11 and master. Steps to reproduce: 1. Go to the OPAC and open the F12 dev tools. 2. Click on "Log in to your account" 3. Note the following in your console logs jquery-3.4.1.min_19.120

Re: [Koha-devel] Javascript errors in OPAC

2020-03-04 Thread dcook
Thanks for replying so quickly, Jonathan. Based on https://www.w3schools.com/Bootstrap/bootstrap_ref_js_modal.asp, I’d say that it should actually be a CSS ID selector. In this case #loginModal. This makes sense because when I was debugging the Jquery, it was failing to use “/cgi-bin/koha/o

Re: [Koha-devel] Javascript errors in OPAC

2020-03-04 Thread dcook
After writing some patches and doing some testing here’s the results: 1. Jonathan’s idea of using “#” instead of “/cgi-bin/koha/opac-user.pl” works. 2. My idea of using “#loginModal” instead of “/cgi-bin/koha/opac-user.pl” (and disabling our a.login-link.loginModal-trigger click ha

Re: [Koha-devel] Koha packaging problems (Deb10/Buster)

2020-03-10 Thread dcook
It seems like a lot of APT repositories out there follow the structure of "http:///debian/dists//". While I don't think we necessarily have to be dogmatic about it, it does seem like most people would expect that kind of repo format? It seems to me it would be easier to add/drop support for a O

Re: [Koha-devel] Koha packaging problems (Deb10/Buster)

2020-03-10 Thread dcook
Oh I wanted to add too that if management of the APT repository is challenging, perhaps we should look at using additional tools? I haven't used "aptly" before, but I thought about taking a look at it once. David Cook Systems Librarian Prosentient Systems 72/330 Wattle St Ultimo, NSW 2007 Austr

Re: [Koha-devel] Email::MesageID module and koha-testing-docker

2020-03-11 Thread dcook
That `docker system prune -a` command could have unexpected consequences if you use Docker for anything other than koha-testing-docker. My suggestion is typically to fetch the latest koha-testing-docker git directory and to run "docker-compose pull" which will fetch the latest Docker images li

[Koha-devel] REST API not working in koha-testing-docker?

2020-03-11 Thread dcook
Hi all, I'm finally getting around to playing with the REST API, but it's not quite working as expected. In koha-testing-docker (with the latest koha-testing-docker git repo and Docker images as of this writing), I'm getting the following in the browser: 1. 200 OK a. http://l

Re: [Koha-devel] REST API not working in koha-testing-docker?

2020-03-12 Thread dcook
asco...@gmail.com> > escribió: I use Postman which has richer authentication options. Dcook: this is related to not using plack, right? El jue., 12 de marzo de 2020 06:50, David Nind mailto:david.n...@gmail.com> > escribió: * > 500 Internal Server error (with no obvious mes

Re: [Koha-devel] REST API not working in koha-testing-docker?

2020-03-12 Thread dcook
Hi Arthur, Thanks for your comprehensive reply. Sorry I just noticed it after replying to everyone else who CCed me directly. I'm not interested in using browser extensions, but thanks for sharing your experience. It looks like the 500 Internal Server Errors probably related to Koha no

Re: [Koha-devel] Koha packaging problems (Deb10/Buster)

2020-03-12 Thread dcook
Wait a minute... why do we need to pin libmojolicious-perl? Thanks to Ere's work on https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=22522, Koha should be able to work with Mojolicious 8 now (and Mojolicious::Plugin::OpenAPI 2.21 and JSON::Validator 3.18). Admittedly it's only in mast

Re: [Koha-devel] REST API not working in koha-testing-docker?

2020-03-12 Thread dcook
Hey Tomas, I listed some steps to reproduce at https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24862. I haven’t drilled down deep enough yet, but I’m thinking it might relate to cookies for anonymous sessions. Can you elaborate on what you mean by “concat $_ to the case of 500

Re: [Koha-devel] REST API not working in koha-testing-docker?

2020-03-12 Thread dcook
Ah, interesting. I haven’t drilled down that far yet. I’ve been doing lots of multitasking and out of the office. Probably won’t have a chance to look at this again for at least a few days minimum. David Cook Systems Librarian Prosentient Systems 72/330 Wattle St Ultimo, NSW 2007 Austral

Re: [Koha-devel] Koha packaging problems (Deb10/Buster)

2020-03-15 Thread dcook
Hmm that is tricky. I've run through a few different scenarios in my head but they all have pros and cons. No obvious winner. I think maybe your idea of a main Koha repo and separate Debian specific repos is the best compromise. That way all supported Linux distros can gets access to all sup

Re: [Koha-devel] remote training on Koha & covid-19

2020-03-15 Thread dcook
Sometimes we have to do remote training for geographical/financial reasons. On our end, we just need to use software that allows us to share our screen and audio/audiovisual, so that we can demonstrate / lecture. Then on their end, they can use a computer lab, a meeting room w/ BYOD (bring you

Re: [Koha-devel] Koha:::Logger configuration maintenance

2020-03-19 Thread dcook
I’ve been thinking a bit about this lately. At the development level, we should be able to push out new configuration with new releases. At the implementation/deployment level, we should be able to customize that configuration, but then it seems like it is the implementor’s responsibilit

Re: [Koha-devel] Fwd: Koha and Ebsco OpenAthens

2020-03-24 Thread dcook
That’s interesting, Alex! I didn’t know that OpenAthens could work as a SAML IdP. Paul, looking at https://docs.openathens.net/display/public/MD/Connections, it looks like you could use SAML, LDAP, CAS, ADFS, or API. Mabye you could use one of the LDAP or CAS connectors with Koha? We’ve

[Koha-devel] Looking for signoff for "Bug 24537 - Allow IP ranges in ILS-DI:AuthorizedIPs using Net::Netmask"

2020-03-31 Thread dcook
Hi all, I'd love it if someone could test and signoff Bug 24537 https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24537. It should be a pretty easy one to test following the test plan. Happy to trade signoffs too. Have a hectic few days coming up, but hoping to spend a fair bit

Re: [Koha-devel] On-site checkouts and circulation types proposal

2020-03-31 Thread dcook
Hey Lari, I had never even heard of on-site checkouts before reading your email. My vote is whatever makes things simplest for librarians. The current circulation and fines rules system is so complex that I have yet to meet a librarian who understands it intuitively. That said, I feel like Ow

Re: [Koha-devel] On-site checkouts and circulation types proposal

2020-04-01 Thread dcook
Wow I got that completely wrong. My apologies. In that case, nothing further to add, except to reiterate that we really should get as much user input as possible, so I'm glad Jonathan suggested the general list. (Not to say that users always know what is best, but I know they often have a very

Re: [Koha-devel] problem with sudo a2enmod mpm_itk

2020-04-21 Thread dcook
As Michael was saying, it would be good to know which OS and OS version you’re using. I’m guessing you’re using Debian or Ubuntu, but which version? Did you follow the instructions at https://wiki.koha-community.org/wiki/Koha_on_Debian or https://wiki.koha-community.org/wiki/Koha_on_ubuntu_-

Re: [Koha-devel] problem with sudo a2enmod mpm_itk

2020-04-22 Thread dcook
Hi Christian, It looks like you have libapache2-mpm-itk installed, but you made some typo mistakes in the other command I sent you. That should have been “ls /etc/apache2/mods-available” instead of “ls / etc / apache2 / mods-available”. I recently installed Koha 19.11.04 on a Ubuntu 18.04

Re: [Koha-devel] New technical changes for 20.05?

2020-04-24 Thread dcook
I'm intrigued! Is the idea that there would be "Technical release notes" for developers and regular "Release notes" for end users? Recently I was trying to summarize changes that were relevant for end users, and it was a tricky picking through technical changes vs user functionality changes.

[Koha-devel] OS-specific Debian packages

2020-04-30 Thread dcook
Hi all (and especially Mirko), I know there was some talk about how some Debian packages need to be stored in OS-specific Apt repos. Do we have a list of those? I think I have one to add. http://debian.koha-community.org/koha/pool/main/libc/libcryptx-perl/current. 19.11 says that it's remov

[Koha-devel] Plugins should support simple signing for security/verifiability

2020-04-30 Thread dcook
Hi all, I've just written a patch that adds simple signing for security/verifiability to Koha plugins: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=24632. By default, it doesn't really do anything, but if you enable the "RequirePluginSignatures" system preference, you will only

[Koha-devel] Adding fonts to Koha for label creator

2020-05-04 Thread dcook
Hi all, How does one add fonts to Koha for the label creator? I'm curious about adding "Arial" ( or rather LiberationSans-Regular.ttf as matched by fc-match) and "Arial Bold" (or rather Roboto-Regular.ttf as matched by fc-match) to the Koha label creator. I see we have a hard-coded list

Re: [Koha-devel] Adding fonts to Koha for label creator

2020-05-04 Thread dcook
Thanks Chris and Bernardo for getting back to me so quickly. That’s good to know, although from the user experience point of view I don’t think that it’ll be sufficient, since it would still have the old font name in the web UI. I’ll take a deeper look today and report back. David C

[Koha-devel] Use Supervisor to manage Koha processes?

2020-05-04 Thread dcook
Hi all, What do people think about using Supervisor (http://supervisord.org/ ) to manage Koha processes? Actually, as I say that, it looks like Petter Goksøyr Åsen may have already done it years ago: https://gitlab.deichman.no/digibib/koha-docker/commit/9cf892b1ef086d15c634a7 59be51b88ea2f9

[Koha-devel] Making CGISESSID cookie more secure

2020-05-04 Thread dcook
Hi all, I know it's a tough one to test, but could someone check out https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25360? When using HTTPS, it sets the secure flag on the CGISESSID, so that the cookie can't be sent over an unencrypted HTTP request. It won't break HTTP, but it w

Re: [Koha-devel] Adding fonts to Koha for label creator

2020-05-05 Thread dcook
Thanks again for your help! I’ve tried your suggestion, and I tried adding options to C4::Creators::Lib with mappings in koha-conf.xml. Both ideas worked. For now, I think I’ll advise people to use your suggestion (and use Javascript to change the labels in the Staff client). I’ve ope

Re: [Koha-devel] Adding fonts to Koha for label creator

2020-05-05 Thread dcook
Ok I have a patch at https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=25384. I haven’t applied it locally, so I’m not super invested in this approach at this point. Open to feedback and testing! (Really I should add some unit tests to t/db_dependent/Creators/Lib.t and t/Creators.t

Re: [Koha-devel] KTD: ES6 as default, support for ES7

2020-05-06 Thread dcook
I wasn’t at the meeting, but that all sounds good to me. I’d love to see progress on the Elasticsearch front. David Cook Systems Librarian Prosentient Systems 72/330 Wattle St Ultimo, NSW 2007 Australia Office: 02 9212 0899 Online: 02 8005 0595 From: Koha-devel On Behalf Of Tom

Re: [Koha-devel] Adding fonts to Koha for label creator

2020-05-06 Thread dcook
Thanks for reviewing the patch and adding that comment, Chris. It is very appreciated. Perhaps Bernardo or someone else will be able to test and sign off. Happy to do more work on this one if necessary. David Cook Systems Librarian Prosentient Systems 72/330 Wattle St Ultimo, NSW 200

[Koha-devel] limit in subquery causing issues with SQL report?

2020-05-07 Thread dcook
Hi all, I haven't investigated this deep enough to open a Bugzilla report, but has anyone else had the experience of a limit in a subquery causing issues with the surrounding SQL query? I had a subquery in the select statement with a limit of 1, and it was causing my output to only display

[Koha-devel] Improving usability of Tools > Upload feature w/ Copy Link button

2020-05-13 Thread dcook
Hi all, Just sharing that I've posted a patch that adds a "Copy link" button the Tools > Upload feature, which makes it easier to link to files that have been uploaded into Koha. For example, uploading a photo of the library via "Tools > Upload" and then copying the link and pasting it int

[Koha-devel] Bad koha-common.postinst in 19.11.05

2020-05-14 Thread dcook
Hi all, Anyone else getting this in their 19.11.05 upgrade output: /var/lib/dpkg/info/koha-common.postinst: 155: [: !log4perl_component: unexpected operator Looks like a little typo David Cook Systems Librarian Prosentient Systems 72/330 Wattle St Ultimo, NSW 2007 Australia

[Koha-devel] Debian packaging problems for master and 19.11

2020-05-18 Thread dcook
Hi all, You may or may not have noticed, but there are a few outstanding bugs for the Debian packaging for master and 19.11. I've contributed patches to all of them, so I can't really move them forward, but it would be great if other folk could take a look at these ASAP. I know packagi

[Koha-devel] How to make self-referential URLs in Koha

2020-05-18 Thread dcook
Hi all, With some recent code, I've been using creating self-referential URL in Koha using CGI->url(), and passing it as a value. With CGI, the URL is correct (ie starting with /cgi-bin/koha). With Plack, it's not, because the OPAC is mounted as "/opac". I worked around this by rewriting t

Re: [Koha-devel] How to make self-referential URLs in Koha

2020-05-19 Thread dcook
So happy to see responses to this ^_^ Owen: It looks like we’d need to do a search and replace in the templates and the code. So I think it could involve a lot of kicking of tires. That said, we could do it incrementally. We could work through it all module by module, and then remove the “/c

[Koha-devel] Plugin Security, Plugin Repositories, etc

2020-05-21 Thread dcook
Hi all, I was doing my morning reading, and noticed that Microsoft have a Windows Package Manager in the works (https://www.theverge.com/2020/5/20/21264739/microsoft-windows-package-manag er-preview-download). While that might not be newsworthy for many people interested in FOSS, you might reco

[Koha-devel] Alerting users to breaking changes / backwards incompatibility

2020-05-27 Thread dcook
Hi all, I was just thinking how a lot of SQL reports will return unexpected results when we merge the deleted* tables with their live/active counterparts. What do people think about a modal popup in the reports (on a per user basis) alerting them to how they may need to update their report

Re: [Koha-devel] Alerting users to breaking changes / backwards incompatibility

2020-05-27 Thread dcook
Oh great. I don’t think I’ve seen that? David Cook Systems Librarian Prosentient Systems 72/330 Wattle St Ultimo, NSW 2007 Australia Office: 02 9212 0899 Online: 02 8005 0595 From: Tomas Cohen Arazi Sent: Thursday, 28 May 2020 9:53 AM To: David Cook Cc: koha-devel Subject: Re:

  1   2   3   4   >