Time  Nick         Message
00:15 rangi        i think i just fixed a bug that had been annoying me for ages
00:15 rangi        if ( defined($context->{db_driver}) && $context->{db_driver} eq 'mysql' && $context->{"dbh"} ) {
00:15 rangi        in dbh in C4::Context
00:16 rangi        means, we dont even chekc we are still connnected, we just hand back a dbh object (that may have lost its connection) if we are using mysql
00:16 rangi        i made it
00:16 rangi        if ( defined($context->{db_driver}) && $context->{db_driver} eq 'mysql' && $context->{"dbh"} && $context->{"dbh"}->do("SELECT 1") ) {
00:16 rangi        and now
00:16 rangi        we get
00:16 rangi        Mon Jul 27 20:01:38 2015] DBD::mysql::db do failed: MySQL server has gone away at /usr/share/koha/lib/C4/Context.pm line 849.
00:17 rangi        and it gets a fresh connection
00:19 wizzyrea     \o/ best kind of fix :D
00:20 rangi        makes running Koha under persistance actually safe
00:20 rangi        well sager
00:20 rangi        safer too
00:29 * Francesca  waves at wizzyrea and rangi
03:32 kivilahtio   wow, I thought I really need a beat for today... and I got one :)
03:32 kivilahtio   https://www.youtube.com/watch?v=svngvOLPd5E
06:42 AmitG        hi all
06:49 reiveune     hello
06:57 alex_a       bonjour
07:26 gaetan_B     hello
07:44 cait         morning #koha
07:46 AmitG        hi cait
07:51 drojf        morning
08:51 lari         Hey, I'm working with server-side form validations such as emails and phone numbers and it seems we are using only Email::Valid for now. Instead of having different validators here and there, I think a better idea would be to include all of the validations into one place. Any thoughts?
09:04 cait         lari: what do you mean by different validators?
09:04 kivilahtio   lari: sounds incredibly cool!
09:04 kivilahtio   lari: I am all in for centralizing duplicated code
09:12 lari         cait: For now it appears we only have form validation for e-mails, but in my library we have a validation for phone numbers as well. It would be nice to have these both and maybe something else , all in one place, and bring it out for the community. :)
09:13 seltmann     hello all
09:14 cait         hi seltmann
09:14 seltmann     i have a question: it seems that koha is using smtp to localhost:25 to send mails. is there a way to configure that so it is using sendmail? point is, the server running koha does not provide an smtp server
09:14 cait         lari: I think one reason we stayed away from phone numbers is that it's not easy to define a general format
09:15 cait         lari: but solvable issues i think - maybe could be optional
09:15 cait         seltmann: hm it should be using your mta
09:15 cait         whatever you use
09:16 seltmann     im using nullmailer, so the sendmail executable is normally used. nullmailer does not expose an smtp-server at port 25
09:17 cait         drojf: kivilahtio?
09:17 wahanui      kivilahtio is working to integrate our SMS provider to Koha
09:18 cait         i am not a system administrator - so I don't set up these things. My impression is that people use different things, nullmailer, sendmail, exim - and it's configured outside of Koha
09:18 kivilahtio   seltmann: apt-get install postfix
09:18 kivilahtio   dpkg-reconfigure postfix
09:19 kivilahtio   then use it as a satellite system to prxy email sending through some email server
09:19 kivilahtio   seltmann: that is how I do it. I don't know of any other implemetnations. Propably you can mek it work however you want with much effort
09:20 kivilahtio   seltmann: what I would do had I the need to host our own email servers, create a new LXC container which receives the email proxy requests from Koha.
09:20 kivilahtio   Email is far from my field of expertise and my interestes :)
09:20 cait         kivilahtio: not sure if that wouldn't be a bit much if they just want to test :)
09:21 kivilahtio   cait: the most easiest solution is to sconfigure sendmail to send mail via a proxy
09:22 kivilahtio   for, ex through Google
09:22 cait         ew ;)
09:22 kivilahtio   for testing purposes...
09:22 kivilahtio   I know how you feel
09:22 drojf        i tried to configure nullmailer once and decided to stay away from it. i think there is an article in the wiki about using postfix with a smarthost (like, google, or your own, but a pre-defined account)
09:25 drojf        (that worked for me so i never touched any mta-related stuff again ;)
09:26 seltmann     alright. i try a different approach then. thanks
11:22 vfernandes   hi :)
11:23 vfernandes   there is a problem with Koha RSS search results: http://catalogo.cm-ferreiradozezere.pt/cgi-bin/koha/opac-search.pl?idx=&q=harry+potter&branch_group_limit
11:24 vfernandes   http://catalogo.cm-ferreiradozezere.pt/cgi-bin/koha/opac-search.pl?idx=kw&q=harry%20potter&count=50&sort_by=acqdate_dsc&format=rss2
11:29 cait         vfernandes: it's patched for the newest versions i think
11:29 cait         next release
11:29 cait         bug 14524
11:29 huginn`      04Bug http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14524 major, P5 - low, ---, jonathan.druart, Pushed to Stable , Result list RSS feed broken
11:30 vfernandes   cait thats an encoding problem
11:30 vfernandes   my problem is with the RSS structure
11:30 vfernandes   look at the second link
11:31 vfernandes   the RSS doesn't look correct
11:35 cait         it doesn't work for me at all in 3.18
11:35 cait         or 3.16 - caused by the latest security fixes
11:36 cait         firefox doesn't show me the xml - only offers to subscribe for a dynamic bookmark and that remains empty
11:38 vfernandes   humm on FF the link works fine
11:42 cait         i might have an older problem
11:42 cait         i had the same problem with the bug above
11:42 cait         are you sure the patch doesn't fix the problem?
11:43 vfernandes   I solve the problem of URL encoding using jQuery
11:43 vfernandes   the RSS is now working correctly
11:43 vfernandes   the patch should solve the problem
11:51 cait         cool :)
12:25 tcohen       morning
12:27 cait         morning tcohen :)
12:27 tcohen       hi cait
12:27 tcohen       khall: is this patch yours? http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=41183
12:28 khall        tcohen: nope, doesn't look like mine
12:28 khall        tcohen: looks like it was first uploaded by mailto:stephane.delaune@biblibre.com
12:29 tcohen       khall: thanks
12:29 khall        np!
12:31 drojf        khall: do you have a virtual appliance of 3.16 available? someone on the zebra list says he got 3.16 from your website, but i only see 3.8
12:32 khall        not that I'm aware of drojf
12:33 drojf        curious :) maybe he did an upgrade
12:37 gaetan_B     Stéphane is reiveune here if that helps tcohen
12:39 tcohen       gaetan_B: it's ok, I'm just looking at bug 10961
12:39 huginn`      04Bug http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=10961 critical, P5 - low, ---, kyle, Signed Off , Error in GetMarcBiblio can cause severe data loss
12:39 tcohen       I will ammend the original patch
12:44 tcohen       gaetan_B: stephane's patch has a problem, is he around?
12:47 nlegrand     Hey #koha
12:47 tcohen       hi nlegrand
12:47 nlegrand     hey tcohen :)
12:49 nlegrand     I'm still lost in plugins, I don't understand a part of Koha/Plugins.pm in function GetPlugins: my @plugin_classes = $self->plugins(); (line 61)
12:50 reiveune     tcohen: ping
12:50 nlegrand     And when I try to use the function as said in "Usage": $ perl -MKoha::Plugins -E 'say Koha::Plugins::GetPlugins("report")'
12:50 nlegrand     Can't locate object method "plugins" via package "report" (perhaps you forgot to load "report"?) at /home/koha/koha-src/Koha/Plugins.pm line 61.
12:50 nlegrand     Well, if you're not far away khall maybe you'll have some inputs? ^^
12:51 khall        nlegrand: I do believe that is inherited from Module::Pluggable
12:56 khall        nlegrand: also, you nee to instantiate the object
12:56 khall        Koha::Plugins->new({ enable_plugins => 1 })->GetPlugins( 'report' );
12:59 nlegrand     khall: ho right, thanks :)
12:59 khall        np!
13:02 gaetan_B     tcohen: reiveune is Stéphane
13:03 tcohen       gaetan_B: thanks
13:37 huginn`      New commit(s) kohagit: Bug 13948: DBRev 3.21.00.016 <http://git.koha-community.org/gitweb/?p=koha.git;a=commitdiff;h=aac6c2687155e61f78f34767c2b2e45160658c90> / Bug 13948: Prevent explosion when Template::Plugin::Stash not installed <http://git.koha-community.org/gitweb/?p=koha.git;a=commitdiff;h=c0a52bb1981cea372033ccac02430cba761d3def> / Bug 13948: (QA followup) Make dependency optional <http://git.koha-community.org/gitweb/?p=koha.git;a=commi
14:27 cait         khall: interesting! bug 14610 - do you have specs for that? :)
14:27 huginn`      04Bug http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14610 enhancement, P5 - low, ---, gmcharlt, NEW , Add ability to place document delivery / article requests in Koha
14:27 khall        I'm starting on it right now. I wrote one already that piggy-backed off the holds system, but I don't like that so I'm starting fresh
14:28 cait         we have a library that might be interested in that
14:29 khall        it's nothing too complicated. Patrons pick a record and tell the library what the title, author, pages etc of the part of the book they want are
14:29 cait         sounds good
14:29 cait         maybe if it's already an article, you could pull the information from 773
14:29 vfernandes   exit
14:30 khall        cait: my plan is to add it to the circ rules
14:30 cait         for which items to offere the document delivery option?
14:30 khall        cait: yes, that is correct.
14:30 cait         hmm
14:30 cait         so it's linked to an item, not the record?
14:31 khall        I don't want to assume a record has a 773 but that would be pretty nice as an addition!
14:31 khall        cait: I'm going to make the selection similar to how we do holds so they can choose just the record, or a specific item
14:31 cait         khall: the problem is - the record might have no item :)
14:31 cait         if it's electronic
14:31 cait         that's what i am puzzling about right now
14:32 cait         or if it's an analytic
14:32 cait         i know... i tend to complicate things...
14:32 khall        cait: the request will never have to be linked to a specific item, and nothing will stop a patron from being able to make requests on bibs with no items
14:32 cait         but something i think that needs to be decided in the very beginning
14:33 cait         i will wait to see waht you come up with :)
14:33 cait         it's certainly interesting and something i have been asked about
14:33 khall        I'll let you know when it's worth looking at!
14:33 cait         and if you could keep in mind my 'no items on the record' use case it owuld be great :)
14:33 khall        cait: will do!
16:03 reiveune     bye
16:31 gaetan_B     bye !
17:46 xarragon     Is it normal to have a 999 field magically appended to a record retrieved using GetMarcBiblio
17:48 tcohen       xarragon: i think it will append whatever is mapped
17:49 tcohen       i mean, whatever field+subfield biblio.biblionumber is mapped to
17:53 xarragon     Well in this case it is a test where I build records manually using Test::builder, send them through a bunch of underlying data processing usbroutines. Then as the final test I just retrieve the record using GetMarcBiblio, at which point the 999 tag is magically added somehow.
17:54 xarragon     Hence my tests fails, as they expect the clean record (only having tag 245, subfield a and c).
17:55 tcohen       you need to fix the tests, to address that current behaviour
17:55 tcohen       because I'm sure it is a feature, not a bug
17:57 xarragon     Yeah I guess. When I add the fields manually, with the value 48 (earlier output), they get tunred into the value 52.
17:58 xarragon     That seems to happen in _koha_marc_update_bib_ids
18:02 xarragon     Weird thing is I cant find any info on what tag 999 even is
18:03 xarragon     " locally-defined MARC 21 field 999"
18:11 jcamins      @marc 999
18:11 huginn`      jcamins: unknown tag 999
18:11 jcamins      @marc 952
18:11 wahanui      The 952 field is used by Koha to store item data in MARC21 and is described at http://wiki.koha-community.org/wiki/Holdings_data_fields_%289xx%29
18:11 huginn`      jcamins: unknown tag 952
18:11 jcamins      I believe that page also describes 999.
18:26 xarragon     Many thanks!
18:26 xarragon     I guess it also depends on what framworks are in use, and whether I set those prefs in the test code.
18:27 jcamins      Basically 999 is inviolable.
18:27 tcohen       xarragon: the marc framework <-> koha table mapping is applied no matter what framework you use
18:28 drojf        there is no 999 on that wiki page, just 995 :P
18:28 jcamins      In order for Koha to still be useful you would have to update the Zebra configuration too.
18:29 tcohen       xarragon: do SELECT frameworkcode,tagfield,tagsubfield FROM marc_subfield_structure WHERE kohafield="biblio.biblionumber";
18:29 tcohen       change the mapping to (for example 995$s) and repeat the SELECT
18:29 wahanui      tcohen: that doesn't look right
19:36 bag          anyone ever seen - unable to return item?  Like I just can’t check an item in
19:36 bag          so weird
20:17 drojf        bag: try thinking like an item. what would make you unreturnable?
20:18 drojf        but seriously, never seen it
20:18 bag          the item wants to keep making fine money - so it refuses to return
20:18 drojf        heh
20:19 bag          if I was an item - I would want to be shelved with the cooking books?
20:40 cait         hi #koha
20:52 cait         @later tell pianohacker ping me when you are around?
20:52 huginn`      cait: The operation succeeded.
20:53 tmcmahon     I'm testing 3.20.02 for an upgrade to an old version of Koha (3.06.04) and was wondering if there are any known problems or changes with the hotkeys or accesskeys in the new version intranet interface.
20:53 bag          hey cait pianohacker will be back tomorrow (he’s on a vacation day today)
20:54 cait         cool, no hurry :)
20:54 cait         tmcmahon: hm there are not many hotkeys in Koha - are you thinking of something speicific?
20:59 tmcmahon     cait: On the old version, check out was U, check in was R and search was Q.  The current one has check out=R, check in=Q and search the catalog=U.
21:00 cait         hm i am not aware of a change there - not sure when it happened or why
21:02 bag          hmm I didn’t even know there were hotkeys like that!  I guess I really am a slave of the mouse
21:04 tmcmahon     I think I'm the only one here who will notice.  I like to avoid the mouse if I can.
21:07 drojf        bug 11035
21:07 huginn`      04Bug http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=11035 normal, P5 - low, ---, philippe.blouin, CLOSED FIXED, Replace shortcut plugin jquery.hotkeys.min.js
21:08 rangi        morning
21:08 bag          afternoon rangi
21:08 tmcmahon     huginn`: I think that was one that I saw when i was looking for info on it.  I figured this was different because it was marked closed and fixed.
21:08 huginn`      tmcmahon: I'll give you the answer just as soon as RDA is ready
21:10 drojf        tmcmahon: huginn` is just a bot :) the patch is newer than your old version
21:10 drojf        hi rangi
21:11 * cait       waves
21:12 tmcmahon     It's been a while since I've been here.  Didn't recognize the bot name or what you said before I got the info.  Thanks drojf.
21:12 drojf        tmcmahon: but as far as i understand the patch, it has the shortcuts you were used to
21:13 drojf        so maybe that's not it
21:13 tmcmahon     I'll check it out.
21:14 tmcmahon     The patch is older than the new version that's not working the way I'm used to.
21:17 Francesca    good morning
21:17 wahanui      the only good morning is a dead one
21:18 Francesca    hmmm I may be actually inclined to agree with that this morning
21:23 Francesca    wahanui: botsnack cookie
21:23 wahanui      thanks Francesca :)
21:23 Francesca    @wunder wlg
21:23 huginn`      Francesca: The current temperature in Wellington, New Zealand is 10.0°C (9:00 AM NZST on July 29, 2015). Conditions: Overcast. Humidity: 71%. Dew Point: 5.0°C. Pressure: 29.83 in 1010 hPa (Rising).
21:25 cait         @wunder konstanz
21:25 huginn`      cait: The current temperature in Bodensee Konstanz City, Konstanz, Germany is 16.9°C (11:24 PM CEST on July 28, 2015). Conditions: Overcast. Humidity: 70%. Dew Point: 11.0°C. Pressure: 29.95 in 1014 hPa (Rising).
21:25 Francesca    wanna swap?
21:25 cait         hmmm nope
21:25 Francesca    can't blame you
21:25 Francesca    you've got the warmer weather
21:31 drojf        tmcmahon: shortcuts work for me as intended in master (latest devekeopment version)
21:31 drojf        development even
21:33 cait         Francesca: still not 'normal' for summer! :)
21:34 Francesca    oh dear
21:34 Francesca    but nicer than here!
21:34 Francesca    I'd take slightly warmer but not normal summer over wellington winter any day
21:35 cait         :)
21:36 cdickinson   @wunder lower hutt
21:36 huginn`      cdickinson: The current temperature in Waterloo, Lower Hutt, New Zealand is 8.5°C (9:30 AM NZST on July 29, 2015). Conditions: Overcast. Humidity: 78%. Dew Point: 5.0°C. Windchill: 7.0°C. Pressure: 29.83 in 1010 hPa (Rising).
21:36 cdickinson   bleh
21:36 Francesca    hey does that work for kelburn?
21:36 Francesca    or brooklyn?
21:36 Francesca    I'm curious now
21:36 cdickinson   No idea
21:36 Francesca    lets give it a try
21:36 Francesca    @wunder kelburn
21:36 huginn`      Francesca: Error: No such location could be found.
21:36 Francesca    nope
21:37 cdickinson   just a by the way, Lower Hutt is a city, not a suburb :P
21:37 Francesca    fair enough
21:37 Francesca    :P
21:37 Francesca    IRC is an excellent distraction from early morning lectures
21:37 wizzyrea     must have really been annoying that the wellington birthday party included lower hutt as a suburb of wellington :P
21:37 cdickinson   get back to work, miss
21:38 cdickinson   wizzyrea: I was there for that, it annoyed me abit
21:38 cdickinson   but Petone got its own mention even though it's a suburb of Lower Hutt....
21:39 Francesca    they didn't mention kilbirnie though
21:39 Francesca    not that I could see very easily
21:39 Francesca    hey wizzyrea :)
21:39 cdickinson   well, you were facing the wrong way in the choir group so that's perfectly excusable, Francesca
21:40 Francesca    yeah and when they repeated it at the end I ended up behind really tall people
21:41 cdickinson   ahh, so you stayed behind to watch the rerun
21:41 Francesca    yeah
21:41 Francesca    They moved us into a VIP area
21:41 cdickinson   but you were still stuck behind a tall person?
21:41 cdickinson   Lame
21:42 Francesca    yeah
21:43 Francesca    I'm one of the shortest in the choir
21:43 cdickinson   I know :P
21:43 Francesca    oh shush
21:45 cdickinson   hopefully that's the only time you got the short end of the stick
21:45 drojf        good night
21:45 wahanui      I watch you sleep.
21:45 drojf        nooooo
21:45 Francesca    screepy
21:45 Francesca    *creepy
21:46 cdickinson   wow, the drama of my comment was totally ruined by wahanui
21:46 Francesca    hahahaha upstaged by a bot :P
21:46 Francesca    wahanui botsnack cookie
21:46 wahanui      :)
21:46 cdickinson   I guess I'll go sulk in the shower
21:46 Francesca    hahahaha you do that
21:49 cait         @later tell jajm can you please take a look at kyle's comment on bug 13321?
21:49 huginn`      cait: The operation succeeded.
21:49 cait         khall++
21:51 wizzyrea     ah they talked about kilbirnie, it was one of the ones that scrolled past near Rongotai
21:51 wizzyrea     it was like RONGOTAI and then "kilbirnie lyall bay houghton bay owhiro bay" because we're not special enough for our own slide. ^.^
22:00 wizzyrea     eythian++ for telling me about why I was always having to use the whole stupid URL for pushing to git.
22:01 wizzyrea     life better now.
22:11 cdickinson   @later tell Francesca <wizzyrea> it was like RONGOTAI and then "kilbirnie lyall bay houghton bay owhiro bay" because we're not special enough for our own slide. ^.^
22:11 huginn`      cdickinson: The operation succeeded.
22:12 cdickinson   it made me chuckle
22:12 wizzyrea     there's a video of it out there
22:12 wizzyrea     I was sad, I would have thought that lyall bay was at least on par with rongotai :P
22:12 wizzyrea     it's not rongotai bay, after all.
22:13 wizzyrea     maybe it should be.
22:13 cdickinson   yeah, Lyall Bay has THE beach in Wellington
22:13 wizzyrea     that's a discussion for another day.
22:13 * wizzyrea   lives in melrose, thusly looks at lyall bay every day.
22:13 wizzyrea     and kiddo goes to the school in lyall bay.
22:13 * cdickinson lives in Naenae, where drug kids get busted every other day
22:14 wizzyrea     I don't know if that's a sad trombone moment or not...
22:14 wizzyrea     they took out the comfortable benches in the Kilbirnie town centre because people were "zoning out" on them
22:14 wizzyrea     which is code for "there were too many bums so we put benches with armrests out"
22:15 wizzyrea     which I think is really irritating.
22:16 tcohen       hi
22:16 wahanui      kia ora, tcohen
22:16 cait         hi tcohen
22:16 tcohen       hi cait
22:17 cdickinson   wizzyrea: well, they're not there during the day and normal people aren't usually around at night, so it boggles me why they care about that so much
22:17 cait         hm path for bug 14517 doesn't apply for me :(
22:17 huginn`      04Bug http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14517 major, P5 - low, ---, jonathan.druart, Needs Signoff , Private lists browsing broken in translated staff interface
22:17 cait         ah ok.. dependency
22:17 cait         maybe it IS to late for this
22:17 cdickinson   I don't think I could have said that any less insensitively
22:18 cait         hm and dependency is failed qa
22:39 eythian      hi
22:52 tcohen       hi eythian
22:52 eythian      g'day
23:16 Francesca    hi
23:20 Francesca    anyone around?
23:21 tcohen       hi Francesca
23:21 Francesca    hey tchohen
23:22 Francesca    oops tcohen
23:22 Francesca    can't spell today