Time  Nick          Message
00:14 * jcamins     gazes in befuddlement at the subroutine he just discovered in C4::Circulation. sub TooMany.
00:20 rangi         heh there be dragons
00:21 rangi         i think about 50 ppl have poked at that
00:21 jcamins       And did anyone ever figure out what the sub's name referred to?
00:22 jcamins       Myshkin suggests it's the number of times I try to use my computer when he's waiting for petting.
00:26 jcamins       GetRecordValue = a sub to use to get something that is neither a value nor part of a record
00:34 rangi         i think toomany issues of a given item
00:34 rangi         is what it used to do
00:35 jcamins       Thankfully that's not code I need to look at, but I'm a little perplexed by what "too many issues" means.
00:49 rangi         checkouts in your parlance :)
00:55 jcamins       rangi: I know what you mean by issues.
00:55 jcamins       What I'm not sure of is too many in what context.
00:56 jcamins       The item has been issued too many times, historically? The book has been issued too many times without being discharged?
00:58 jcamins       Oh.
00:59 jcamins       I'm tearing my hair out wondering why I keep on getting an error from MARC::Field::update.
00:59 jcamins       It would be because there is no 942 field.
01:17 jcamins       My favorite comment that I've seen today: # Otherwise, it'd need a POD.
01:19 jcamins       The comment, by the way, is inaccurate.
01:19 jcamins       POD is very much required.
01:47 rangi         jcamins: this borrower has too many current issues of this type
01:49 jcamins       rangi: ah.
01:49 jcamins       Thanks.
02:53 jcamins_away  git_hooks++
04:37 Oak           kia ora #koha
04:39 cait          hi #koha
04:40 Oak           hello cait :)
04:41 cait          hi Oak
10:24 Oak           \o
11:13 vfernandes    guys one question... how it works the Koha Offline application?
11:15 eythian_home  vfernandes: there was some documentation about that that was sent to the Koha list just a few days ago, if you have a look in the list archives you should be able to find it.
11:18 vfernandes    ok... but what is the structure of one KOC file
11:20 eythian_home  I don't know. Probably creating one and looking at it is your best bet.
11:24 vfernandes    humm ok
12:25 oleonard      Hi everyone
12:27 kf            hi oleonard :)
12:27 kf            very quiet day today
12:28 oleonard      Quiet week
12:31 kf            hm only on #koha
12:54 * oleonard    thinks he'll bug fix again today. It's just too much fun.
12:56 kf            don't tempt me! :)
12:57 * oleonard    throws his arms in the air and shouts Wheeeeeeee!!
12:57 kf            meany
12:57 * sekjal      has just written his first patch for a Dokuwiki plugin... not as much fun as patching Koha, to be sure
12:57 oleonard      Why not sekjal?
12:58 sekjal        I've gotten used to Perl... going back to PHP is less exciting for me
12:58 sekjal        also, the feature I just added is... very very limited
12:58 sekjal        not even necessarily a good idea
12:58 oleonard      :)
13:09 kf            sekjal: now I am curious :)
13:09 sekjal        kf:  there is a plugin for Dokuwiki that will reformat a date string into "XX days since|until <somemessage>"
13:10 sekjal        it's called Countdown
13:10 sekjal        my feature is to just display the XX part, so you can do other math on the result
13:10 kf            ah :)
13:10 kf            sound snot too bad of a feature
13:11 kf            I mean, doesn't sound like a bad idea :)
13:12 sekjal        my first pass at it doesn't handle units other than days very well...
13:12 sekjal        not sure if it's worth fixing or not
13:12 sekjal        mostly I just want a way to highlight things that are going to expire "soon"
13:21 kf            Oak++
13:23 oleonard      ?
13:25 kf            nice mail
13:33 jcamins_away  @later tell druthb See you June 4 in Kansas City! :D
13:33 huginn        jcamins_away: The operation succeeded.
14:03 oleonard      addbooks.pl requires "edit_catalogue" permission, but the template checks for "CAN_user_editcatalogue_edit_catalogue" in a couple of places. Is it just me or is that nonsensical?
14:03 oleonard      If you "CAN'T_user_editcatalogue_edit_catalogue" you can't get to the page!
14:04 oleonard      the follow-up question is: Shouldn't you be able to get to that page if you have edit_items permission?
14:06 hdl1          oleonard: druth: jcamins_away: is there any cronjob to regularly update/create patrons from an LDAP in the koha version ? Has there ever been any need for that ? We had... But we may be quite
14:07 hdl1          unusual
14:07 * oleonard    has no idea.
14:07 oleonard      druthb I think is traveling back home today
14:08 oleonard      Seems logical to me though
14:09 sekjal        hdl1: would this be to pre-populate the Koha DB with users from the LDAP, before their first login to the OPAC?
14:11 hdl1          sekjal: yep
14:11 hdl1          or to update accounts from LDAP regularly...
14:12 sekjal        wouldn't work with auth_by_bind, since you wouldn't have the account passwords.
14:12 sekjal        but if that's not a problem, I think it could be a pretty handy feature
14:12 sekjal        I recall folks asking for something like that back in my support-vendor days
14:13 wizzyrea      oleonard: I think the syspref is like, "asking a question" - can the user editcatalogue (major permission group) Edit the Catalogue (minor permission)
14:14 hdl1          sekjal: all you would need is a user with read access.
14:14 hdl1          iirc we have that working with an auth_by_bind
14:15 oleonard      I don't understand what you're getting at wizzyrea
14:15 kf            oleonard++
14:16 sekjal        hdl1:  it's possible, if the LDAP had such a user.  my experience tends to be with Active Directory connections, which don't like doing that
14:16 wizzyrea      it's ok, i'm probably not making sense.
14:17 wizzyrea      also, good morning
14:18 hdl1          mmm could be.
14:19 oleonard      Am I correct that this syntax will give access to users with either one or the other permission?
14:19 oleonard      flagsrequired   => { editcatalogue => 'edit_catalogue', editcatalogue => 'edit_items' },
14:19 oleonard      Seems to be the case based on my test but I wanted to make sure
14:28 oleonard      Or does that require both?
14:28 hdl           sekjal: bug 8123
14:28 huginn        04Bug http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8123 enhancement, P5 - low, ---, gmcharlt, NEW , cronjob to pre-populate/Update patrons from ldap data
14:29 hdl           if of some interest
14:29 sekjal        hdl:  cool
14:32 oleonard      Or maybe it only requires the second one :P
15:03 reiveune      bye
15:28 oleonard      wizzyrea still around?
15:29 wizzyrea      yessir
15:29 oleonard      Did you figure out what you needed to know about putting an item edit link on the detail page?
15:30 oleonard      Seems like a reasonable idea to me
15:30 wizzyrea      well mostly I just didn't want to go to the trouble of doing it if you thought it was not a good idea.
15:31 wizzyrea      but yes, I think I did. :)
15:31 * oleonard    wonders if we shouldn't go ahead and put both edit and delete links?
15:32 wizzyrea      well...
15:38 oleonard      welllllll...
15:41 wizzyrea      I suppose you could want to delete from that page too
15:41 wizzyrea      if we had the in-table editing thinger we could get rid of additem.pl altogether.
15:42 wizzyrea      well, the editing and deleting portions of it anyway
16:02 datadoctor    @wunderground Kent, OH
16:02 huginn        datadoctor: I suck
16:02 datadoctor    oops wrong code
16:03 datadoctor    It's the most beautiful day here - what am I doing in a windowless office?
16:03 datadoctor    ...Looking at code...
16:04 kf            you have a windowless office? :(
16:04 kf            @wunder Konstanz
16:04 huginn        kf: The current temperature in Konstanz, Germany is 16.0°C (6:00 PM CEST on May 18, 2012). Conditions: Partly Cloudy. Humidity: 51%. Dew Point: 9.0°C. Pressure: 29.86 in 1011 hPa (Rising).
16:04 * kf          is sitting right nedt to the open window
16:04 datadoctor    I do like having an office...
16:04 datadoctor    @wunder Kent, OH
16:04 huginn        datadoctor: The current temperature in Kent State Geography, Kent, Ohio is 23.6°C (12:03 PM EDT on May 18, 2012). Conditions: Clear. Humidity: 30%. Dew Point: 5.0°C. Pressure: 30.18 in 1022 hPa (Steady).
16:05 datadoctor    Luckily I get called out to solve computer problems, so I circulate through the whole library.
16:05 oleonard      http://buttersafe.com/2012/05/17/swimsuit-season/
16:05 datadoctor    Our resident artist, Lori, just painted a beautiful moonscape on the window for the Children's department, with astronauts and space creatures.
16:44 bag           @wunder 93109
16:44 huginn        bag: The current temperature in K6LCM-Westside/Mesa, Santa Barbara, California is 19.1°C (9:44 AM PDT on May 18, 2012). Conditions: Haze. Humidity: 68%. Dew Point: 13.0°C. Pressure: 29.91 in 1013 hPa (Rising).  Wind Advisory in effect until 3 am PDT Saturday... 
16:45 oleonard      Hi ByWaterians
16:46 * kf          waves
16:46 wizzyrea      datadoctor ooh! picture?
16:51 bag           heh hi :P
16:58 * oleonard    welcomes wizzyrea to the patch party
16:58 wizzyrea      there was a patch party?
16:58 wizzyrea      s/was/is
16:58 oleonard      Admission: one patch.
16:58 wizzyrea      :D
16:58 * wizzyrea    has quite a few of those already
16:59 wizzyrea      but not today, necessarily
16:59 wizzyrea      guess I should send that to the list too
17:09 Oak           kia ora #koha
17:09 Oak           time to go home kf
17:09 kf            you are right Oak :)
17:09 Oak           pack up
17:09 Oak           :)
17:09 kf            in 2 minutes
17:10 kf            waitng for this import to finish
17:10 Oak           okay fine. 2 minutes.
17:10 Oak           :)
18:01 cait          slef: around?
18:11 jcamins       kyleh: I saw your changes to the plugins code.
18:12 jcamins       The unzipping looks better.
18:16 jcamins       kyleh: I'm still concerned about +Exec in the plugins directory, and the fact that using plugins doesn't require *both* a configuration setting in koha-conf.xml (defaulting to off) and a syspref.
18:17 jcamins       kyleh: I didn't mention this yesterday, but an additional issue from a security point of view is that there's no way to disable uploading from the client and still enable plugins. That should be possible from koha-conf.xml.
18:20 jcamins       melia: well, at least you're getting feedback on the bug, even if a sign off is not yet forthcoming, right?
18:20 jcamins       :)
18:20 melia         yes, definitely!
18:44 jcamins       wizzyrea: while you're adding a floating menu, add a "clone" button.
18:44 jcamins       :)
18:55 kyleh         jcamins: I can add a setting in koha-conf.xml, I'm not sure what we can do about the +Exec, isn't it required for apache to be able to run the perl scripts?
18:55 jcamins       kyleh: right, that's why I think the thing to do is use Module::Load::Conditional.
18:56 kyleh         jcamins: I still don't grok that module, any chance you'd want to write a followup to mine ; )
18:56 kyleh         does anyone know what saved_sql.cache_expiry does?
18:57 jcamins       kyleh: yes, it sets when the cached report expires.
18:57 jcamins       kyleh: I'm not sure why it's not allowed to be NULL, because it definitely was allowed to be NULL in the patch I did.
18:57 kyleh         it's an int(11), can't be null. In master you cannot save an sql report as it cannot be null.
18:58 jcamins       kyleh: right, I mean, there's no reason it shouldn't be allowed to be NULL.
18:58 kyleh         should I just patch it to allow it to be null then?
18:58 jcamins       kyleh: yes.
18:58 kyleh         will do!
18:59 jcamins       kyleh: another option would be to set it to 0, but, as I said, that shouldn't be necessary.
18:59 jcamins       I guess option C is to do both, so we can be double-sure. ;)
18:59 kyleh         setting to 0 would bypass the need for a db rev, I think I'll go with that.
19:00 jcamins       kyleh: good point. That's my favorite option too now that you mention it.
19:05 kyleh         bug 8128 patch submitted
19:05 huginn        04Bug http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8128 blocker, P5 - low, ---, gmcharlt, Needs Signoff , can't seem to run new sql reports
19:05 jcamins       If cait doesn't have a chance, I'll sign off when I get a chance (probably not until tomorrow, alas).
19:06 cait          not sure I can... accounting
19:06 cait          *sigh*
19:08 jcamins       Right, cait _definitely_ can't sign off.
19:08 jcamins       If neither nengard nor magnuse get to it before I do, I'll sign off on it.
19:34 nengard_lunch jcamins i can sign off but it won't count
19:34 * wizzyrea    might get to that right now
19:34 jcamins       Even better, we can delegate to wizzyrea. :)
19:35 nengard       i signed off
19:35 nengard       you can sign off on mine
19:38 wizzyrea      yup, assuming it passes tests, i'm done testing
19:38 wizzyrea      works a treat.
19:38 wizzyrea      passes *automated tests
19:54 sekjal        happy weekend, everyone!
22:35 druthb        o/