IRC log for #koha, 2009-06-06

All times shown according to UTC.

Time S Nick Message
12:17 ShunDi hi kf, just got your response email :)
12:18 ShunDi i'll try disabling the query features and see if this makes any difference
12:18 kf hi shunDi, sorry on telephone atm
12:19 ShunDi np
13:04 ShunDi kf: turning off QueryFuzzy did the trick, thanks a bunch for the tip!
13:30 kf youre welcome
13:31 kf im glad I could help
13:48 kf ShunDi? still there?
14:09 ShunDi yep stol
14:09 ShunDi still there ^^
14:13 wizzyrea ok, I've been crashing my nog into this for a week (give or take) now, I'm looking at the patron messaging preferences (all occurrences of this table). I want to hide the row for Upcoming Events, but no matter what I do I can't seem to select it using jquery. It is in it's own div (patron-messaging-prefs), and it seems like it should be a simple matter of selecting the tr:contains('Upcoming Events') that's a child of patron-messaging-prefs... but maybe you
14:14 wizzyrea (or, harder for me but better for the project, we need to make that upcoming events notification hideable via syspref)
14:15 wizzyrea (since it only works with proprietary additional software)
14:16 jwagner I was looking at the OPAC messaging tab myself a bit -- couldn't find any way to even turn off the tab.  What I'd like to see is sysprefs for (a) display whole tab in OPAC or not, (b) display each option in the tab -- so the library could choose what options to give patrons.
14:17 wizzyrea oh, you'll want our enhancements >.>
14:17 wizzyrea it lets you set defaults by patron type
14:17 wizzyrea for add new patron
14:18 jwagner Yes -- that would cross a big section off my eventual to-do list :-)
14:18 wizzyrea they're done, should be in the project now
14:18 wizzyrea you'll probably really like them
14:18 jwagner It's not just by patron type, though (saw the latest enhancements).  The library wants to decide globally whether to display/allow e.g. upcoming events, text messaging, etc.
14:18 wizzyrea isn't that already sysprefs?
14:19 wizzyrea er, lordy... english.. aren't there already sysprefs for that
14:19 gmcharlt not current
14:19 gmcharlt *ly
14:19 gmcharlt there needs to be more work on the admin interface for message types
14:20 wizzyrea oh I think I see... you want to decide which notifications are available to choose
14:20 wizzyrea similar to what I want
14:20 wizzyrea but a grander scale
14:21 gmcharlt yes
14:21 gmcharlt i.e., not something that's reliant on JS hacks
14:22 wizzyrea mmm hacks (tasty)
14:23 jwagner Yes -- I'd like a global setting to allow/disallow display each line in the messaging list, plus a syspref to turn off the whole tab.  Gives better control to the library.
14:24 wizzyrea whole tab = I thought you could already do that?
14:24 wizzyrea but it's been a while since I looked
14:24 gmcharlt yeah, that's the EnhancedMessagingPreferences syspref, unless you're talking about turning it off just for the OPAC
14:25 jwagner I couldn't find a way, even by hacking the template, so I brute-forced it by replacing the entire template with a generic text paragraph.  Problem with turning off the Enhanced Messaging Preference setting is (as I understand it), if that's off hold and advance notices don't work.  The site wants to use those, but not give patrons the various options.
14:26 jwagner Yes, just turn off the options in the OPAC.
14:27 gmcharlt I see
14:27 gmcharlt well, step one is to simply file an enhancement bug if you haven't already
14:27 jwagner The code that generates the tabs in the OPAC screen is kind of murky.  No, haven't filed a bug yet (haven't had time) but it's on my list.
14:28 gmcharlt I mean, pretty much any request of the form "I want this configuration option to be created, or added to the branch/circ matrix level" is going to be wanted by *somebody* eventually
14:29 jwagner Yep.  This can't be the only site that really doesn't want to give patrons an option to turn off their overdue notices....
14:30 gmcharlt that would be another layer of admin, actually
14:31 gmcharlt i.e., library would want to specify that the overdue notices can't be turned off by patron
14:31 gmcharlt but library doesn't necessarily care what messaging mechanism the patron chooses
14:31 gmcharlt as long as at least one method is active
14:31 jwagner The more I looked at it, the more complex it got.  That's why I settled for the brute-force approach for now.  (clicking the messaging tab calls a different template, so I just replaced that template)
14:33 wizzyrea which reminds me about a couple of termiology changes I wanted to make to the messaging stuff
14:34 gmcharlt which are?
14:44 wizzyrea changing the text of the messaging tab to say "message log" instead of messaging
14:44 wizzyrea because that's what it is ^.^
14:44 gmcharlt sure
14:44 wizzyrea and all of the associated labels there
14:45 wizzyrea and another one that i'm not thinking of right now but will when I get into it I'm sure
14:45 wizzyrea buut I figured there was no reason to make you guys change that when I can :)
14:45 wizzyrea afk, coffee
14:52 wizzyrea I might actually make the case that the Upcoming Events should be removed entirely until they sync with the internal calendar.
14:53 wizzyrea or can pull from an iCal
14:53 schuster That way wizzyrea can get in on a patch!  I see how she thinks...
14:53 wizzyrea HA
14:53 wizzyrea well I gotta grab the low hanging fruit lol
15:46 slef should /tmp/sessionlog be replaced by C4::Log calls?
15:47 gmcharlt slef: I think /tmp/sessionlog should be replaced, yes
15:48 slef by C4::Log calls or otherwise?
15:48 gmcharlt C4::Log or perhaps the Log4Perl proposed by acmoore a while back
15:48 gmcharlt my reservation about C4::Log is if we start logging all sessions in action_logs
15:48 slef I don't recall that proposal. Looking for URL
15:49 gmcharlt we really ought to write a purge job for that table
15:50 slef[…]g-td19227795.html
15:50 gmcharlt slef: with proposed patch at[…]ember/001689.html
15:51 slef ok... for now, I think I'll do a small fix for 3.0.2 to cure a local problem
15:52 slef How do I make a patch that squashes lots of commits, by the way? I'm sure I've done it before, but can't remember how.
15:52 gmcharlt slef: one possible minimal fix is adding a koha-conf.xml setting for the location of the sessionlog file, and whether you want it at all
15:52 gmcharlt slef: git rebase --interactive origin
15:53 gmcharlt lets you squash in a branch
15:54 gmcharlt or git merge --squash into a new branch if you don't want to squash in your original branch
16:00 slef thanks
16:16 bigbrovar hi guys .. just installed koha for the university were i work .. runs great although we have not started to use it ..
16:17 bigbrovar i was wondering if anyone could help enlighten me on hardwares like barcode scanners which can be used with koha on a ubuntuserver to make the process of cataloging  easier
16:17 bigbrovar nd also if its possible to creat local users for koha beside the koha admin
16:19 schuster Yes Yes and Yes...
16:19 schuster Barcode readers - these are an input device just like a keyboard - so brand etc really doesn't matter - depends on if you want a USB connector or PS2 connector to your hardware.
16:20 schuster Local users - you create users in circulation to checkout - but then change their permissions for what they have access to - in the opac login/password you assign their login/password.
16:21 schuster That also works at the Koha staff login/password and if you have given them permissions they will have access to what you indicated.
16:21 schuster Hope that helps.
16:23 gmcharlt schuster++ # very quick on the draw
16:23 bigbrovar schuster: alot it did thanks :)
16:25 bigbrovar ok am going to play the oliver twist and ask for more .. we have an ldap thingie going on here so i was wondering if we could make koha authenticate users from ldap? ..
16:26 gmcharlt yes, you can
16:26 bigbrovar and am quite new to linux and seem to understand that is always a good idea to stick with device that works on linux ,, so i would appreciate if anyone could help me with a list of barcode scanner that have worked with linux/koha
16:27 gmcharlt bigbrovar:[…]:development:ldap
16:27 slef @bug 3295 submitted and patch emailed
16:27 munin slef: Bug[…]w_bug.cgi?id=3295 minor, PATCH-Sent, ---,, NEW, sessionlog does not contain real times
16:27 munin slef: Bug[…].cgi?id=submitted could not be retrieved: InvalidBugId
16:27 munin slef: Bug[…]ow_bug.cgi?id=and could not be retrieved: InvalidBugId
16:27 munin slef: Bug[…]_bug.cgi?id=patch could not be retrieved: InvalidBugId
16:27 munin slef: Bug[…]ug.cgi?id=emailed could not be retrieved: InvalidBugId
16:27 slef munin: you suck :)
16:27 munin slef: Error: "you" is not a valid command.
16:27 gmcharlt @dunno add I suck
16:27 munin gmcharlt: The operation succeeded.  Dunno #2 added.
16:27 gmcharlt munin: you suck :)
16:27 munin gmcharlt: I suck
16:29 schuster Bigbrovar - if you are a library you probably already have equipment laying around - again it isn't an OS issue unless you are using USB but I would suspect as long as you have it loaded with standard USB support they would work as well.
16:29 slef gmcharlt: is Perl4Log a 3.2 goal or later?
16:29 gmcharlt slef: getting it added is reasonable for 3.2
16:29 gmcharlt getting all logging handled by it is probably post 3.2
16:30 bigbrovar thanks guys   me = very happy now =))
16:30 gmcharlt do you have any opinion on the framework?
16:30 slef and sessionlog in particular?
16:30 gmcharlt getting it to handle sessionlog would be quick
16:30 gmcharlt so yes
16:30 slef not yet but anything is better than open >>
16:30 slef filing bug
16:33 slef @bug 3296
16:33 munin slef: Bug[…]w_bug.cgi?id=3296 enhancement, P3, ---,, NEW, replace sessionlog with Perl4Log implementation
16:34 slef could we get the Version in those too?
16:34 gmcharlt don't see why not
16:34 slef @bug 3296
16:34 munin slef: Bug[…]w_bug.cgi?id=3296 enhancement, P3, ---,, NEW, replace sessionlog with Perl4Log implementation
16:34 slef what's the ---?
16:35 gmcharlt to clarify, you mean get the version in the @bug response?
16:35 slef yep, if possible
16:36 slef I'm guessing not everyone here is working on all versions at once
16:38 gmcharlt @config supybot.plugins.Bugzilla.bugFormat "bug_severity priority version assigned_to bug_status short_desc"
16:38 munin gmcharlt: The operation succeeded.
16:38 gmcharlt @bug 3296
16:38 munin gmcharlt: Bug[…]w_bug.cgi?id=3296 enhancement, P3, rel_3_2,, NEW, replace sessionlog with Perl4Log implementation
16:39 gmcharlt slef: --- was the target milestone, which we don't really use thus far
16:39 slef gmcharlt: thanks
16:40 slef is it worth adding the sponsorship status to the end or will that get silly fast?
16:40 gmcharlt @config supybot.plugins.Bugzilla.bugFormat "bug_severity priority version assigned_to bug_status cf_sponsorship short_desc"
16:40 munin gmcharlt: The operation succeeded.
16:40 gmcharlt @bug 3296
16:40 munin gmcharlt: Bug[…]w_bug.cgi?id=3296 enhancement, P3, rel_3_2,, NEW, Seeking cosponsors, replace sessionlog with Perl4Log implementation
16:41 gmcharlt @bug 3093
16:41 munin gmcharlt: Bug[…]w_bug.cgi?id=3093 enhancement, PATCH-Sent, HEAD,, ASSIGNED, ---, Enhance placing of holds in staff interface
16:42 gmcharlt @bug 3093
16:42 munin gmcharlt: Bug[…]w_bug.cgi?id=3093 enhancement, PATCH-Sent, HEAD,, ASSIGNED, Sponsored, Enhance placing of holds in staff interface
16:42 gmcharlt @bug 3296
16:42 munin gmcharlt: Bug[…]w_bug.cgi?id=3296 enhancement, P3, rel_3_2,, NEW, Seeking cosponsors, replace sessionlog with Perl4Log implementation
16:42 gmcharlt @config supybot.plugins.Bugzilla.bugFormat "bug_severity priority version assigned_to bug_status short_desc"
16:42 munin gmcharlt: The operation succeeded.
16:42 gmcharlt slef: removed it for now, it's not properly registering --- as the default value for new bugs
16:43 gmcharlt but I don't have a problem including it once I have a moment to figure out how to get it to be accurate
16:44 gmcharlt @config supybot.plugins.Bugzilla.bugFormat "bug_severity priority version assigned_to bug_status cf_sponsorship short_desc"
16:44 munin gmcharlt: The operation succeeded.
16:44 gmcharlt slef: scratch that, was looking at older version of that back
16:49 atz gmcharlt: looking at
16:49 atz select count(*) as total from borrowers,cities where borrowers.select_city=cities.cityid and cityid=?
16:49 atz Unknown column 'borrowers.select_city' in 'where clause'
16:50 atz should I try to fix this or just mark it FIXME?
16:52 gmcharlt atz: I suggest fixing it by either taking out that check (there isn't a real FK between borrowers and cities) or comparing and B_city to cities.city_name and city_zipcode
16:53 gmcharlt I doubt that doing latter is worth the time, though
16:53 gmcharlt or simply comment out the offending lines and do a FIXME in case paul_p and SAN-OP have something more elaborate in mind
17:08 wizzyrea fyi: there's a kohakansas channel on freenode now :P
17:08 wizzyrea is so new it's still wet.
17:09 Sharon I'm sending the invite out to our libraries now
17:09 wizzyrea also a post about it and video instructions on how to get it at
17:10 wizzyrea not that any of YOU would need such instructions
17:30 slef wizzyrea: why freenode?[…]y_a_piece_of_net/
18:15 wizzyrea slef: that's a shame
18:15 wizzyrea it's mostly for testing, to 1. see if our librarians will use it, and 2. gotta start somewhere.
18:41 pianohacker bbl
18:59 gmcharlt atz: I'm thinking that StringSearch ought to be abstracted and moved to C4
19:00 gmcharlt since a gazillion scripts implement some version of it
19:00 atz yeah, but i won't be doing that.  every one of these damn scripts has its own copy/paste hack of StringSearch
19:00 atz most of them take multiple args and use only 1
19:01 wizzyrea curious: what does C4 stand for?
19:01 atz but i agree simple stuff like that should be in a CRUD layer, or at least C4
19:01 atz wizzyrea: "if you touch it, it blows up"
19:01 wizzyrea atz: pbbt wiseacre
19:02 wizzyrea but funny nonetheless
19:02 atz actually i guess an old system used C2
19:02 atz chris told the story at Plano, i think
19:03 gmcharlt wizzyrea:[…]:20&search=Search
19:04 wizzyrea atz: oh, you were only partly kidding
19:05 wizzyrea funny story. I love stuff like that
19:17 chris morning
19:19 chris wizzyrea: hlt used to and i think still do use irc
19:19 chris mostly for doing things like 'can you send a copy of harry potter to levin in the next run, we are out' :)
19:24 wizzyrea Chris: i like it as a solution for distributed workforces so far. in IRC it's always a question of being shy
19:25 wizzyrea or being afraid of looking dumb
19:26 chris this irc server exists because katipo have a distributed office, and its been going for 12 years now :)
19:26 atz or your audience being a bunch of jerks.
19:26 wizzyrea yes, we are fortunate that we have very few jerks here
19:26 wizzyrea none that I can think of, actually
19:27 chris jerks--
19:29 chris coffee++
19:31 wizzyrea what is it, @karma?
19:31 gmcharlt keeps track of ++ and --
19:31 gmcharlt @karma coffee
19:31 munin gmcharlt: Karma for "coffee" has been increased 1 time and decreased 0 times for a total karma of 1.
19:31 gmcharlt @karma jerks
19:31 munin gmcharlt: Karma for "jerks" has been increased 0 times and decreased 1 time for a total karma of -1.
19:31 wizzyrea jerks--
19:31 atz @karma
19:31 munin atz: Highest karma: "gmcharlt" (3), "koha" (2), and "coffee" (1).  Lowest karma: "jerks" (-2), "keeps track of ++ and " (-1), and "sirsi" (-1).
19:31 wizzyrea LOL Sirsi
19:32 wizzyrea Sirsi--
19:32 atz lol "keeps track of "
19:32 wizzyrea i know, I'm giggling about that too
19:32 gmcharlt munin: you can parse better than that
19:32 munin gmcharlt: I suck
19:32 gmcharlt to add to munin's list of error messages, use @dunno
19:32 wizzyrea
19:33 gmcharlt e.g.
19:33 gmcharlt @dunno add downloading the Perl source
19:33 munin gmcharlt: The operation succeeded.  Dunno #3 added.
19:33 wizzyrea @dunno RTFM
19:33 munin wizzyrea: downloading the Perl source
19:33 wizzyrea aww
19:34 wizzyrea oh
19:34 wizzyrea @dunno add RTFM
19:34 munin wizzyrea: Error: You must be registered to use this command. If you are already registered, you must either identify (using the identify command) or add a hostmask matching your current hostmask (using the "hostmask add" command).
19:34 wizzyrea boooo
19:34 gmcharlt wizzyrea: yep, but it's easy to register yourself
19:34 wizzyrea right... der...
19:34 wizzyrea 1m
19:40 chris does munin do weather?
19:40 gmcharlt chris: not currently
19:40 gmcharlt I could load the weather underground plugin, but I was hoping to find a weather plugin that had a more global scope
19:41 chris *nod*
19:41 chris the metar one used to goodish
19:41 wizzyrea ha you've gone irc bot crazy!
19:42 wizzyrea but munin is helpful
19:43 chris lazywebs wht is freezing in F?
19:43 brendan 32 degrees
19:43 chris ta
19:46 wizzyrea is there a known issue with special due dates?
19:53 chris breakfast time bbiab
19:54 pianohacker wizzyrea: How do you mean? Manually specified due dates on the checkout screen?
19:54 wizzyrea on the details screen
19:54 Sharon no, when renewing items at moremembers
19:55 pianohacker Ah. Hrm, not that I know of. What's going on?
19:55 wizzyrea erm, specifying the date doesn't work lol
19:56 pianohacker Hm. That would be a problem, yes :)
19:56 rhcl chris:[…]egrees+centigrade
19:58 schuster LDAP question - how can I check to see if Net::LDAP module is already installed?
19:58 atz perl -e 'use Net::LDAP;'
19:58 pianohacker schuster: If you go to the About screen in Koha, there's a screen under there that will show you also
20:00 schuster Oh hey way cool!  Thanks to both of you... pianohacker - I've seen the tab but just never changed from the first one! hA!
20:00 pianohacker np
20:35 chris back for a little while
20:37 chris trying to think up things to do today, to top yesterdays effort
20:38 chris im not sure i can beat music group, lunch at a cafe 'where's my coffee' shouts kahu, playtime in the park and an ice cream
20:38 chris atarau of course slept through the whole thing, so he is easy to please
20:39 chris oh hey gmcharlt did i show you kahu working on his koha code?
20:42 wizzyrea pic or it didn't happen
20:45 gmcharlt chris: :)
20:45 chris looking for the pic now
20:46 wizzyrea oi this day is never ending lol
20:56 chris i really need to label my photos this is taking ages
20:58 chris[…]p?g2_itemId=11450
20:59 chris[…]p?g2_itemId=11453
20:59 chris he uses one of these fancy graphical interfaces :) (that was about 1.5 years ago)
20:59 gmcharlt kahu++
20:59 Elwell slef: (re freenode) that article is somewhat dated seeing as lilo died ...
21:01 pianohacker Hehe. You've doomed the poor child to summers spent at the computer coding
21:01 chris hehe
21:04 chris the imac is a pretty resilient piece of hardware, its taken a battering
21:04 wizzyrea Oh man you are not kiddig about imacs
21:04 wizzyrea kahu++
21:05 wizzyrea I think I see some of the old opac came from in there...
21:05 wizzyrea <3 kidding
21:05 chris heh
21:05 pianohacker So, so far kahu is beating out sirsi in karma
21:05 wizzyrea this surprises you?
21:05 chris kahu is currently eating his peanut butter on toast with a spoon
21:06 chris because "its better"
21:06 chris when i asked why
21:06 wizzyrea I tend to agree there
21:06 chris you eat toast with a spoon???
21:06 chris weirdo :)
21:06 wizzyrea sometimes
21:06 pianohacker Now, don't make fun of those Kansans and their culture
21:07 chris heh
21:07 wizzyrea ...or lack thereof
21:07 wizzyrea rofl
21:08 chris
21:09 wizzyrea priceless: i stuck a cracker in mom's bum crack this morning and she didn't find it until she went to work.
21:09 pianohacker ... ok
21:09 chris hehe
21:10 wizzyrea where I come from bloobs does not mean blueberry...
21:11 chris kahu has his own dialect
21:11 chris and it changes almost daily
21:11 wizzyrea i love kid dialect
21:12 chris[…]e-are-my-krasses/  <-- he now says "where are my krasses, i cant see anything" when he goes to read a book, from his grandma we think
21:13 chris (they are old ones with no lenses :))
21:20 chris ok toast finished, im back on duty
21:21 wizzyrea gl :)
23:59 atz gmcharlt (or anybody): what's the last patch you've seen from me?
23:59 gmcharlt atz: cleanup
23:59 atz thx
00:03 atz couple more sent
00:22 gmcharlt atz: got 'em
01:03 gmcharlt @load Weather
01:03 munin gmcharlt: Error: No plugin named "Weather" exists.
11:37 slef Elwell: freenode have never rebuked those actions, though.

| Channels | #koha index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary