Re: [Koha-devel] Elasticsearch changing licences

2021-01-15 Thread Thomas Klausner
Hi! On Fri, Jan 15, 2021 at 10:11:20AM +, Hugo Agud Andreu wrote: > as far as I have understood we still could use as ES license is still > open, tha changes only affects to those that change the code of ES > that they will be forced to publish their own developments, as Koha > only uses

[Koha-devel] Porting tools/stage-marc-import.pl to BackgroundJob

2021-01-13 Thread Thomas Klausner
Hi! As suggested on IRC last week, I have opened a bug: https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=27421 But as I'm not sure if the bug tracker or the dev mailing list is the best place to discuss my questions, I'm also posting this here :-) I'm happy to use either bugzilla or

[Koha-devel] The Perl and Raku Conference (In the Cloud)

2021-06-10 Thread Thomas Klausner
Hi! Today starts this years Perl and Raku Conference (still in the cloud, thanks to Corona): https://perlconference.us/tprc-2021-cloud/ As Koha is written in Perl, this event might interest a few of you. You can watch the live stream for free via YouTube, if you want to participate via Zoom

[Koha-devel] some thoughts on #28519 regarding lib

2021-06-15 Thread Thomas Klausner
Hi! without knowing a lot of Koha-internals (still..), I'd strongly prefer to have all the code in a lib dir (as is standard in Perl apps / modules for ages). There are also a lot of tools available to make using code stored `lib` (but not "installed" in the system, i.e. only available in the

Re: [Koha-devel] Perl syntax for strings

2021-06-15 Thread Thomas Klausner
Hi! On Tue, Jun 15, 2021 at 10:19:12AM +0200, Fridolin SOMERS wrote: > I see in Perl code some cases where a string in written with a space between > q or qq or qw and string. > Like : qq /foo bar/ instead of qq/foo bar/ While this works, it is strongly recommended to not use this "feature".

Re: [Koha-devel] Build a roadmap for 21.11

2021-05-12 Thread Thomas Klausner
Hi! On Wed, May 12, 2021 at 10:40:48AM +1000, dc...@prosentient.com.au wrote: > I've been struggling with energy/motivation for Koha outside of work hours, > but I am still interested in working on "Replace CGI scripts with Mojolicious > controllers" and to a lesser extent "Task Scheduler Needs

[Koha-devel] Bug 28022 - MARC subfield 9 not honoring visibility

2021-03-30 Thread Thomas Klausner
Hi! Can anybody here maybe review / comment on my bug report & patch 28022 https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=28022 Here's the patch: https://github.com/domm/Koha/commit/d19abcc23d5793becdd5edca26c4bd2d47fcd33f Greetings, domm -- #!/usr/bin/perl

Re: [Koha-devel] Bug 28022 - MARC subfield 9 not honoring visibility

2021-03-31 Thread Thomas Klausner
Hi! On Wed, Mar 31, 2021 at 02:04:22PM +0100, Renvoize, Martin wrote: > If you're happy to give git-bz a try as Nicolas suggested, that would give > us a head start in terms of onboarding fellow testers and devs.. if not let > me know and I can extract your patch from github for you and submit

Re: [Koha-devel] Bug 28022 - MARC subfield 9 not honoring visibility

2021-04-02 Thread Thomas Klausner
Hi! On Wed, Mar 31, 2021 at 02:04:22PM +0100, Renvoize, Martin wrote: > Welcome aboard the Koha devs. I'm afraid we don't accept github pull I have now attached the patch to the bugzilla ticket using git-bz. > I've come across this exact case a month or so now.. in fact, I have a > vague

Re: [Koha-devel] Switching Koha to ElasticSearch... any problems?

2022-03-31 Thread Thomas Klausner
Hi! On Thu, Mar 31, 2022 at 03:52:45PM +1300, Mason James wrote: > does anyone have any experience running Koha with ES? > > i've done some basic testing (on 20.11) - it seems to work well and its speed > is impressive! (濾 + ) > > - is it generally safe to run in production? > - any major

Re: [Koha-devel] Plack Middleware to isolate library branches via path

2022-04-20 Thread Thomas Klausner
Hi! On Wed, Apr 20, 2022 at 10:56:36AM +1000, dc...@prosentient.com.au wrote: > The timing of your email is interesting! I was just reflecting the other day > about how Koha can't work off anything but the root path. :-) > I have a Catalyst app where I use the out of the box method

[Koha-devel] Plack Middleware to isolate library branches via path

2022-04-19 Thread Thomas Klausner
Hi! A customer wants to access branches/branchgroups via a subpath, instead of the more common / documented way of setting up a subdomain per branch: https://wiki.koha-community.org/wiki/Override_sysprefs_in_Apache_config So instead of https://aaa.library.example.com/ they want

Re: [Koha-devel] ElasticSearch Geoserch

2022-06-29 Thread Thomas Klausner
Hi! On Wed, Jun 29, 2022 at 12:22:32PM +0200, Uwe Dierolf wrote: > we already implemented something like this and are using it within Primo. > > Try it and go to > > https://primo.bibliothek.kit.edu/primo-explore/search?tab=kit=date=KIT > Then search for "php head first" and take the

[Koha-devel] ElasticSearch Geoserch

2022-06-29 Thread Thomas Klausner
Hi! We are currently discussing a project where a customer wants to add a geosearch to Koha (store lat/lng in biblio, use Elastic geo queries [0] together with a leaflet.js map to find biblios in a certain area). I assume that might be of interest to Koha in general? I also assume that this

Re: [Koha-devel] ElasticSearch Geoserch

2022-07-01 Thread Thomas Klausner
Hi! On Thu, Jun 30, 2022 at 09:35:05AM +1000, dc...@prosentient.com.au wrote: > Where in the bib record are you storing the coordinate data? Have you > looked at https://www.loc.gov/marc/bibliographic/bd034.html? It looks > like that field was redescribed in 2021 to perfectly suit your use >

Re: [Koha-devel] Elasticsearch not auto-updating after cataloguing

2022-09-13 Thread Thomas Klausner
Hi! On Tue, Sep 13, 2022 at 02:58:49PM -0400, Philippe Blouin wrote: > Depends on the installation, but where background_jobs_worker.pl runs or not > makes not difference in where the cataloguing->indexing path works. > > It seems to always work when Koha runs on the same machine as ES, and

[Koha-devel] Bug 31654 - Hide non-public libraries from MastheadLibraryPulldown

2022-09-30 Thread Thomas Klausner
Hi! I've just submitted a patch implementing Bug 31654 - Hide non-public libraries from MastheadLibraryPulldown It's quite simple (two lines in two files), and the sponsor (Steiermärkische Landesbibliothek) would be happy if the fix makes it into 22.11. So if there is anything I can do to

[Koha-devel] Merging authority records can corrupt data

2022-09-30 Thread Thomas Klausner
Hi! It seems that merging authorities with lots of linked biblios can lead to data corruption (at least in 21.05): The merging of the auth record itself seems to work, but the linking of the biblios from old to new auth record happens inside a normal synchrone web request. If this requests

Re: [Koha-devel] Merging authority records can corrupt data

2022-09-30 Thread Thomas Klausner
Hi! On Fri, Sep 30, 2022 at 02:11:13PM +, Pedro Amorim wrote: > Not sure if this will help but what is the value of the > *AuthorityMergeLimit* sys pref? > I think the default value is 50 and any authority being merged with more > than 50 linked biblios will be processed by the >

Re: [Koha-devel] Serving Intranet from a subpath

2022-08-15 Thread Thomas Klausner
Hi! On Mon, Aug 15, 2022 at 10:02:18AM +1000, dc...@prosentient.com.au wrote: > I feel like we've had this conversation before but now I can't find a record > of it... Yes, we had the same problem with OPAC, and "solved" it there with a HTML-Rewriting middleware (not very stable, but good

[Koha-devel] Serving Intranet from a subpath

2022-08-12 Thread Thomas Klausner
Hi! (I'm sending this to koha-devel because I guess it's too technical for the general list?) We are running running the "Intranet" inside an actual intranet (i.e. inside a VPN). But this Koha instance is also hosting a related Library whose staff cannot access the VPN. For various reasons it

Re: [Koha-devel] Dockerized Koha

2023-06-21 Thread Thomas Klausner
Hi! On Wed, Jun 21, 2023 at 11:05:56AM +1000, David Cook wrote: > Do we have any appetite for starting to create a production-ready Dockerized > Koha? ++ And while I have a lot of experience with deploying Perl apps using containers like Docker or Podman, I did not manage to get a (usable)

Re: [Koha-devel] Download a record with curl and Koha API

2023-11-03 Thread Thomas Klausner via Koha-devel
he server what format you want via the 'Accept' header: curl -u user:Pwd --request GET 'http://127.0.0.1:8080/api/v1/biblios/' --header 'Accept: application/json' The "content-type" header tell the server the format of the data you're **sending** (but you're not sending anything..) Gr

Re: [Koha-devel] Elasticsearch issue in koha v22.05.06

2023-10-23 Thread Thomas Klausner via Koha-devel
week to take a closer look. Greetings, domm -- Thomas Klausner domm https://domm.plix.at Just another ( Perl | Postgres | Bicycle | Food | Photo | Vinyl ) Hacker Moneglia, Italy, via Puck, 2 day exposure [ 2023-10-14 10:00 > https://domm.plix.at/potd/2023-10

Re: [Koha-devel] Memory footprint of Koha processes

2023-10-24 Thread Thomas Klausner via Koha-devel
f code that are loaded before a `fork` happens. Greetings, domm -- Thomas Klausner domm https://domm.plix.at Just another ( Perl | Postgres | Bicycle | Food | Photo | Vinyl ) Hacker Moneglia, Italy, via Puck, 2 day exposure [ 2023-10-14 10:00 > https://dom