IRC log for #koha, 2012-08-13

← Previous day | Today | Next day → | Search | Index

All times shown according to UTC.

Time Nick Message
00:38 Irma1 joined #koha
00:53 BobB joined #koha
03:37 mtompset joined #koha
03:38 mtompset who
03:38 Oops... wrong window. :)
03:38 Greetings, #koha.
04:06 cait joined #koha
04:47 mtompset Greetings, cait
04:48 cait hi mtompset
04:48 mtompset Looks like the GBSD was a success.
04:49 I feel bad for not being able to participate. This backup project is taking a lot of my CPU power, so I can't do both Koha and it. :(
04:55 mtj mtompset, i run my backups using nice, ioince
04:56 mtompset No, I was running simulations on the code I wrote, to confirm it was written properly.
04:56 mtj ... which fixes my 'cpu problems with backups' perfectly
04:56 mtompset And it wasn't so much CPU power as memory.
04:56 My poor netbook only has 2GB of RAM.
04:57 A VM of 512 and Windows 7 = 512MB left.
04:57 not to mention, I'm copying files, here there and everywhere in an attempt to organize them.
04:58 Too hard to track several open windows.
04:58 druthb joined #koha
04:59 mtj just get a proper dev system to to that work
04:59 mtompset That would be the proper solution... but that costs money.
04:59 I'm a volunteer getting paid based on donations.
04:59 I don't have that moeny.
05:00 money.
05:00 The netbook is a Christmas gift.
05:02 mtj you cant find a 'spare' pc anywhere? i have so many... i give cant give them away
05:04 cait hm found an interesting bug with email encoding, someone an expert in this?
05:05 bug is coming :)
05:05 mtj mtompset, like you... i experimented doing dev work on VMs running on my laptop
05:06 it was pretty frustrating :/
05:06 mtompset Not for the next few months.
05:06 When I return to Canada, I will get access to a desktop.
05:07 Well, it is only frustrating when there are so many things I want to do.
05:07 Generally, for one thing... it works well enough.
05:08 cait bug 8626
05:08 huginn 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8626 normal, P5 - low, ---, oleonard, NEW , Encoding problem with = in cart emails
05:08 mtj mtompset: good news, i haven just seen rangi's and eythain's 'zareason' laptops
05:09 they are so grunty, i think you could run serious VMs on them
05:09 16 gig memory, i5 or i7 etc
05:10 mtompset Sounds nice.
05:10 Actually, kf... if you look =51 means ascii character Q.
05:10 * druthb has an i5 with 8 gig.  It's got the chops for everything I need.  :)
05:10 mtompset it should be easy to fix that bug.
05:11 cait mtompset: so much I know now - but I don't know what the correct settings are
05:11 mtj the thing that drove me crazy with laptop VMs was - a thrashing VM caused your gui to become unresponsive
05:11 cait so far I can only tell that quoted-printable seems not to work
05:13 mtompset it isn't the quoted-printable so much as not escaping the =.
05:14 cait ok, but how do you escape it correctly? I am a bit stuck on this right now
05:15 mtompset Is it perl creating this email?
05:16 cait yes
05:16 mtompset opac-basket.pl?
05:16 opac-sendbasket.pl
05:17 cait http://git.koha-community.org/[…]f48345b3cdec058ce
05:17 mtj hmm , perhaps Email::Simple fixes this stuff
05:17 ? -> http://search.cpan.org/~rjbs/E[…]b/Email/Simple.pm
05:18 cait hm I am a bit worried to include another dependency
05:19 mtj well, its a great dep to add :)
05:20 mtompset I was thinking perhaps CGI has an encode URL function which would do it.
05:20 But I have to read the code to determine where I would put it.
05:21 mtj cait, if we fix a bunch of email-encoding bugs with Email::Simple, then it is worth it
05:22 cait not sure we got the problem everywhere even
05:22 I only ran into it because I wanted to bring back the urls pointing to the catalog
05:22 mtompset http://search.cpan.org/~markst[…]AUTOESCAPING_HTML
05:22 cait and I had urls in my data that had =
05:22 mtompset: not sure html is our problem here - it's a text mail
05:22 mtompset but that might not be sufficient.
05:23 mtj cait, i think the problem is everywhere :) we just havent noticed it yet...
05:24 cait not sure really, I think most mails don't include the links
05:24 mtompset http://search.cpan.org/~gaas/M[…]otedPrint/Perl.pm
05:25 cait do we have to use quoted-printable even?
05:25 mtompset good question... I haven't hunted for other valid settings.
05:25 BobB joined #koha
05:25 mtompset Though, if you use HTML email, then use could use the CGI escapeHTML.
05:26 I think the use of quoted printable is to support text-only email clients.
05:26 mtj mtompset, html in email is bad :)
05:27 mtompset spam filters are more likely to block it, yes.
05:27 mtj cait, i added my comment to the bug ticket
05:28 cait thx mtj :)
05:28 I will pick a few more minds today to see if we can do with something we already use
05:28 mtj mtompset, yes... but html-emails are bad for other reasons, too
05:28 cait right now I am happy to have tracked down the problem ... it took me quite a while
05:30 mtj cait, potentially all emails generated by Koha have the same subtle bug, as this?
05:30 cait mtj: it used to work before we changed the cart template generation
05:30 mtj ... if they dont use something like Email::Simple
05:30 cait mtj: but also back then the diacritics were broken, so I think somewhere in between there might be a way
05:31 mtj aah, ok - interesting....
05:31 mtompset http://en.wikipedia.org/wiki/MIME#Content-Type
05:31 interesting read.
05:33 mtj yeah, email stuff gets pretty tricky, pretty quick
05:34 mtompset opac-sendshelf.pl would have a similar problem./
05:34 cait what about: http://perldoc.perl.org/MIME/QuotedPrint.html
05:34 mtompset: yes, but that's broken in translated templates anyway, if we get the cart right, we can port it to all other places
05:35 mtompset Yes, cait. That's what I pointed at before. :)
05:35 cait mtompset: yours is a cpan module - i think this one is core?
05:37 mtompset Okay, I had a ::Perl on mine. :P
05:38 cait ok, continuing research
05:39 mtj ok, i gotta scoot now....
05:39 mtompset Have fun. See you later, mtj.
05:40 mtj but, as a final thought.. theres a good chance that koha handles this bug correctly, somewhere else...
05:41 it might be worth having a quick look/grep thru the code, to check that
05:42 mbalmer joined #koha
05:43 mtj i think ive bumped into this bug before in Koha, so its also probably been fixed before?  :)
05:44 ok, ciao #koha...
05:44 mbalmer g'day
05:47 cait bye mtj :)
05:47 mtompset strange...
05:48 I don't think this bug exists on 3.6.x, cait
05:48 cait no it doesn't
05:48 mtompset Only on master?
05:48 cait but in 3.6.x all diacritics are broken
05:48 so that's not much better
05:48 we changed the way the cart email is sent because translations were totally broken, we just didn't get it quite right yet
05:48 but I think I have an idea
05:49 mtompset question...
05:49 wahanui question is probably "What is the meaning of life, the universe and everything?"
05:49 mtompset There are TWO things in the email that is sent, right?
05:50 The ermail message and an attachment?
05:51 I'm wondering if the base64 encoded section works.
05:51 If so, then we could put base64 encoding for the message itself.
05:53 cait hm
05:54 mtompset I'm looking at 3.6.3 code, myself.
05:55 cait maybe using encode_qp in the right place is enough
05:56 mtompset But you said the diacritics were broken.
05:56 cait try umlauts in 3.6.3
05:57 mtompset I can't.
05:57 The library turned off login's.
05:57 cait ah
05:57 mtompset I have the power to change that, but not the authority. :(
05:57 cait there is a send cart  function in staff as wel
06:00 mtompset Okay... but I think mail is busted on our server. :(
06:00 I never could figure out how to get it set up.
06:07 cait ah
06:07 I think we can get it working with encode_qp which doesn't need an additional module
06:09 mtompset Probably.
06:09 But then you'll likely still have the same diacritic problem.
06:10 so line 146 becomes $body = encode_qp($1);
06:12 Though, I wonder if perhaps it should be encode_qp(encode("UTF-8",$1));
06:12 and possibly solve diacritic problems too?
06:13 I'm just thinking out loud. :)
06:16 cait mtompset: nope, that breaks the diacritics again
06:16 I tried it
06:17 i think because it's already utf-8 - you could double encode
06:17 would
06:17 mtompset Ah... okay...
06:18 but encode_qp works and the diacritics don't break?
06:27 cait doesn't look like they do
06:27 I have hebrew, umlauts, some spanish accents
06:31 in general the way we get the data is is not good... but that's out of the scope of the bug
06:33 julian_m joined #koha
06:34 hdl joined #koha
06:36 mtompset is is?
06:37 Salutations, julian_m hdl
06:37 julian_m hello mtompset
06:41 cait mtompset: using an old way to do that.. prints out some information not correctly, like too many subfields
06:41 hi julian_m and hdl
06:41 and brb :)
06:41 julian_m hello cait
06:49 francharb joined #koha
06:49 francharb Good morning #koha
06:56 hdl1 joined #koha
07:00 sophie_m joined #koha
07:01 mtompset Greetings, francharb
07:01 francharb Hi mtompset
07:04 sophie_m hello #koha
07:06 mtompset Greetings, sophie_m
07:06 Greetings, matts
07:06 matts hi !
07:08 rangi evening
07:12 gaetan_B joined #koha
07:12 gaetan_B hello
07:25 rangi hmm when i said yes post to the list, i didnt mean all at once!
07:27 * mtompset laughs, "That's why I didn't answer."
07:29 kf joined #koha
08:20 rangi hi magnuse
08:20 magnuse kia ora #koha
08:21 hiya rangi
08:21 kf morning magnuse :)
08:21 magnuse guten morgen kf
08:26 mtompset Greetings magnuse rangi
08:27 magnuse hiya mtompset
08:39 oops: http://lists.koha-community.org/ - anyone from biblibre (?) feel like fixing that?
08:39 huh, that was weird
08:39 now it works
08:39 rangi heh
08:40 magnuse at first try i got a "this site is insecure" thing
08:40 then i made an exception for it and was taken to some kind og admin login
08:40 but now it works
08:40 rangi oh its just a self signed cert
08:40 which are often more secure than the 'secure' ones
08:41 which is why the way browsers check them is dumb
08:41 i use the eff https everywhere firefox plugin, with the ssl observatory
08:46 * magnuse should check that out
08:46 rangi https://www.eff.org/https-everywhere
08:46 magnuse still weird that i got somewhere other than the lists page, though
08:47 rangi https://www.eff.org/observatory
08:47 bad redirect maybe?
08:48 magnuse might be
08:51 @wunder boo
08:51 huginn magnuse: The current temperature in Bodo, Norway is 15.0°C (10:20 AM CEST on August 13, 2012). Conditions: Partly Cloudy. Humidity: 82%. Dew Point: 12.0°C. Pressure: 30.24 in 1024 hPa (Steady).
08:52 magnuse the sun is shining from a clear sky - summer at last! ;-)
08:52 rangi heh
08:52 @wunder nzwn
08:52 huginn rangi: The current temperature in Wellington, New Zealand is 11.0°C (8:00 PM NZST on August 13, 2012). Conditions: Partly Cloudy. Humidity: 76%. Dew Point: 7.0°C. Pressure: 29.65 in 1004 hPa (Steady).
08:53 magnuse pft ;-)
08:53 kf @wunder Konstanz
08:53 huginn kf: The current temperature in Taegerwilen, Taegerwilen, Germany is 20.2°C (10:50 AM CEST on August 13, 2012). Conditions: Partly Cloudy. Humidity: 79%. Dew Point: 16.0°C. Pressure: 29.98 in 1015 hPa (Steady).
08:54 magnuse @wunder marseille
08:54 kf nice day for eythian to arrive here
08:54 huginn magnuse: The current temperature in Marseille, France is 26.0°C (10:30 AM CEST on August 13, 2012). Conditions: Mostly Cloudy. Humidity: 65%. Dew Point: 19.0°C. Pressure: 29.89 in 1012 hPa (Steady).
08:54 kf left #koha
08:54 magnuse ouch, too hot!
08:54 drojf joined #koha
08:54 drojf good day #koha
08:55 rangi hi drojf
08:55 drojf hey rangi
08:57 magnuse hiya drojf
09:00 drojf hei magnuse
09:00 * drojf is sneezing a lot
09:01 drojf hope it's allergy related and not rangi's flu
09:02 magnuse ooh, data virus?
09:02 rangi heh
09:03 kf joined #koha
09:03 magnuse wb kf
09:03 kf :)
09:03 had to reboot :)
09:05 drojf hi kf :)
09:05 rangi windows rules!
09:05 drojf it does?
09:05 rangi yeah rebooting is awesome, i miss it
09:05 drojf hahaha
09:07 magnuse rangi: you *can* reboot linux too, you know ;-)
09:08 kf lol
09:08 rangi i think i did last year once
09:08 :)
09:10 magnuse hm, i have to reboot every now and then after a software upgrade?
09:10 usually a new kernel, i guess
09:10 but that might not count
09:11 rangi yeah i reboot for new kernels, but i generally only change kernel if there is a security issue
09:12 * magnuse does whatever ubuntu update manager tells him to
09:12 rangi :)
09:15 chris_n` joined #koha
09:17 oleonard joined #koha
09:17 rangi what the heck is oleonard doing awake?
09:18 * oleonard grumbles groggily
09:18 oleonard 5 days offline and worrying about work I guess
09:19 magnuse ooh, addicted!
09:21 kf :)
09:21 oleonard Trying to catch up on the mobile theme saga
09:21 magnuse there's a mobile theme saga?
09:21 * magnuse never did catch up with the lists after his holiday...
09:21 kf lots of patches to sign off on from jared
09:22 oleonard: uhoh, I just rmembered thta I wanted to test your patch for moving the js libraries :(
09:22 oleonard Yeah, I'm confused about why there is a new bug for that
09:22 mtompset Hmmm... "addicted"... that reminds me of a Robert Palmer song: http://youtu.be/ZNERRLdT-JA
09:23 oleonard I haven't read up properly yet
09:23 rangi ah yep, its been done in a nice way now, as a separate theme, rather than as a drop in replacement
09:23 kf oleonard: I think it's a little different, moving images and other things
09:24 oleonard rangi, is that because it was changing the default appearance of the OPAC as well, not just showing a mobile view for smaller devices?
09:24 rangi yup
09:24 http://opac.koha.workbuffer.org/ <-- quite nice mind
09:24 but different
09:24 but it gives a good opportunity to fix the themes
09:24 with a working example
09:25 the nice thing is, the themes step down, like the languages do, so if masthead.inc and the css file are really all you changed, thats all that actually needs to be in your theme
09:26 im hoping that if we get this tidied away, all the other people who have done mobile themes, might submit them in usable forms :)
09:26 mtompset which bug/patch is being discussed?
09:26 magnuse rangi: good plan :-)
09:27 oleonard mtompset, Bug 8597
09:27 huginn 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8597 enhancement, P5 - low, ---, fcapovilla, Needs Signoff , New theme for the OPAC with a mobile view
09:32 mtompset very nice!
09:33 oleonard So I guess back to the drawing board again with Bug 4048
09:33 huginn 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=4048 normal, P5 - low, ---, oleonard, Patch doesn't apply , CSS and JS libs must be outside of translated paths
09:34 kf oleonard: oh :(
09:35 magnuse rangi: you planning on signing off on that?
09:35 rangi on what? the 4 bugs to do with the new theme? nope
09:35 i had too much input
09:35 to sign off
09:39 magnuse fair enough :-)
09:42 oleonard brb
09:52 oleonard joined #koha
09:54 magnuse wb oleonard ;-)
09:58 oleonard Has anyone else tried testing Bug 8623?
09:58 huginn 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8623 normal, P5 - low, ---, oleonard, Needs Signoff , Javascript libraries should be outside theme directories
09:59 oleonard The second patch isn't applying for me
10:00 rangi lemme check
10:01 nope not for me, i suspect its dependent on an earlier patch
10:02 yeah based on 46e0c09
10:04 needs the patch for 8622 first
10:04 bug 8622
10:04 huginn 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8622 major, P3, ---, jcamins, Needs Signoff , Koha themes broken
10:07 magnuse jcamins++
10:07 kf jcamins++ :)
10:08 mtompset jcamins?
10:08 wahanui jcamins is A-Grade developper on Koha willing to rewrite it from top to bottom. Good Luck jcamins
10:08 mtompset At least the theming parts of it. ;)
10:09 rangi nope, to his credit he didnt cop out and take the easy way out, he fixed things, instead of rewriting
10:15 kf oh no
10:15 belated happy birthday wishes to you magnuse!
10:16 magnuse thanks!
10:17 kf it was saturday, right? 11th?
10:17 magnuse yup
10:18 mtompset What's the age mod 10?
10:18 oleonard Happy  birthday magnuse!
10:18 rangi happy birthday!
10:19 magnuse thank you, thank you!
10:20 mtompset Happy Belated Birthday. :)
10:20 magnuse mtompset: 9 (if i'm not mistaken - "$x % 10" in perl, right?)
10:20 mtompset Ah, you avoided the decade switch. Congrats.
10:21 magnuse :-)
10:21 not sure i will manageme to avoid it next year, though
10:22 mtompset You can, if you change the base of your age. ;)
10:22 But then it isn't really a decade. :)
10:22 magnuse ah, clever!
10:24 * kf has decided to switch to another version numbering theme next year
10:25 kf kf release chocolate chip cookie maybe
10:28 oleonard When you release a new version do you have to tell some people their software is no longer compatible?
10:29 kf hm I don't think so?
10:30 oleonard Lucky for us
10:48 mtompset The second digit represents how much dark chocolate is in the cookie?
10:49 The third digit is the number of cookies made?
10:49 * magnuse starts work on his most ambitious koha project so far: bug 8628
10:49 huginn 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8628 enhancement, P5 - low, ---, magnus, ASSIGNED , Add digital signs to the OPAC
10:49 kf ooh
10:49 mtompset The first digit is eating session number?
10:49 kf I am reading the rfc right now
10:50 can you give an example for a sign?
10:50 magnuse what it will look like?
10:50 or what it will contain?
10:50 kf hm both? :)
10:50 magnuse hehe
10:51 i have some screenshots (mockups) from the customer, i have asked if i can share them, just to be on the safe side
10:51 kf ok :)
10:51 magnuse one use is "recently returned items", or "new items" or "items on a specific theme"
10:52 anything the library wants to "show off"
10:53 oleonard rangi, shouldn't 8623 depend on, rather than block 8622?
10:55 rangi probably
11:06 jcamins_away oleonard, we still need bug 4048 for css and javascript, just not for lib.
11:06 huginn 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=4048 normal, P5 - low, ---, oleonard, RESOLVED DUPLICATE, CSS and JS libs must be outside of translated paths
11:07 jcamins_away Wait, just css. Javascript is translated.
11:09 * jcamins_away goes to pack.
11:09 kf jcamins_away: no it's not
11:12 rangi wait that? yes it is? why do we bother putting the _( stuff then?
11:13 kf it is
11:13 but not the .js files
11:13 and they were talking about which directoreis to move out of theme/language
11:13 go to sleep
11:13 ;)
11:14 jwagner joined #koha
11:22 magnuse kf: screenshots (mockups) added to the wiki page
11:22 kf cool
11:22 ooooh pretty
11:23 magnuse yeah, i did not make those :-)
11:23 (Viktor did)
11:23 kf viktor++ :)
11:23 and greetings to him :)
11:23 magnuse yup, Viktor++
11:24 * magnuse wanders off in search of lunch
11:26 clrh hello
11:26 I'm back
11:26 kf welcome back clrh
11:26 how was your vacation?
11:26 clrh thanks kf
11:27 too short as all vacations but great as all holidays :)
11:44 nengard joined #koha
11:48 kf clrh: :)
11:53 nengard joined #koha
11:55 oleonard joined #koha
11:58 oleonard jcamins_away, I don't think there's any reason anymore to keep 4048 open based on the work you've been doing. New work can just be submitted against your bug reports
12:02 edveal joined #koha
12:07 * oleonard will return later
12:14 * mtompset waves bye.
12:36 bornie21 joined #koha
12:39 bornie21 hey everyone I am an IT technician and recently did a koha setup for our Library in Mutare, Zimbabwe and am facing challenges in creating authority records(infact I dont knw wht those are)
12:40 nengard jcamins is the authorities expert :)
12:43 tcohen joined #koha
12:43 tcohen morining #koha
12:46 mveron joined #koha
12:47 magnuse bornie21: sounds like reading up on authority records might be a good idea: http://www.loc.gov/marc/uma/ (i don't know much about them myself, though...)
12:49 hdl1 bornie21: hi.
12:49 if I can be of any help
12:57 bornie21 joined #koha
13:04 libsysguy joined #koha
13:05 libsysguy joined #koha
13:21 NateC joined #koha
13:21 talljoy joined #koha
13:27 jcamins_away bornie21: always ask questions in-channel.
13:27 You probably don't need authority records, if you're not sure what they are.
13:38 wajasu mornin
13:39 i tried to test/signoff on a few bugs last week.
13:40 bug 4222 was an interesting read
13:40 huginn 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=4222 major, P2, ---, srdjan, Failed QA , Nonpublic note not appearing in the staff client
13:42 wajasu there was a concern in the bug discussion about breaking things with some custom mapping or usage in 942x nonpublic note
13:42 i talked toby user and they said they used that field for spine label related stuff.
13:44 kf wajasu: they don't have to change their mappings
13:44 wajasu ok
13:45 kf wajasu: and in theory they can also map another field to the new field in items - although I would recommend moving the spine label related information in another place and work to go with the standard
13:45 but it shoudl not break anything
13:45 wajasu ok i'll reattempt that one today.
13:46 kf I think we needed to make it a real column in the db - it's a good change, figuring out how to do it in a safe way is a bit trickier, but you won't lose data
13:46 maximep joined #koha
13:47 wajasu i have many questions on the bugs i attempted.
13:48 bug 5858 - should that be in discussion, or should i try to signoff?
13:48 huginn 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=5858 enhancement, P5 - low, ---, gmcharlt, Needs Signoff , Default frameworks missing many MARC21 tags
13:51 magnuse wajasu: looked like in discussion to me too, really
13:51 wajasu ok
13:51 maximep good morning =)
13:55 oh wow, jcamins did amazing job on bug 8597. I didn't even know you could have multiple theme and change them with the opacthemes syspref o_O
13:55 huginn 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8597 enhancement, P5 - low, ---, fcapovilla, Needs Signoff , New theme for the OPAC with a mobile view
13:55 maximep jcamins++
13:55 wajasu bug 7720 - i started on this. one applied, I think "Location" dissappeard from the holdings tabl for an opac user.  So i tried to create a holding, but i always got an error "Too many holds".
13:55 huginn 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=7720 enhancement, P5 - low, ---, kyle.m.hall, Needs Signoff , Ambiguity in OPAC Details location.
13:56 wajasu maybe bug 4045 needs fixing first for me to work on 7720
13:56 huginn 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=4045 critical, P5 - low, ---, gmcharlt, Needs Signoff , No check for maximum number of allowed holds.
13:57 * wizzyrea waves
13:59 wajasu as i was working on overdue notices, I noticed cirrculation rules had an entry for "Holds allowed".  Must I configure a circ rule to get max number of holds allowed to work?
14:15 bug8382 - i think for me to test this i kept getting "You must define a budget in Administration".   created a vendor,  created a budget/fund. i can't get further. must i do planning?
14:16 i can't create an order because i still get "You must define a budget in Administration"
14:16 kf wajasu: did you mark the budget as active?
14:17 wajasu yes
14:17 kf hm.
14:17 wajasu even tried locked/unlocked.
14:17 kf and you created a fund for it?
14:17 and allocated money for the fund?
14:17 wajasu yup.  $400 available
14:17 kf oh, and also, try setting it to be for your library
14:17 that you are logged in at
14:18 acq is very restrictice
14:18 restrictive
14:18 wajasu where do i assign the library?
14:18 kf in the fund
14:18 restrict to - library and then choose your home library
14:19 wajasu i see
14:19 edveal left #koha
14:19 wajasu there is/was a popup  showing MPL whic i am signed in as (midway)
14:20 i even set teh fund filter, and it show the fund
14:21 wizzyrea wajasu: yes you must have a default circ rule to allow holds
14:21 for all-all
14:22 wajasu wizzyrea: thanks.  I'll do that and retry setting a hold.and testing tht bug.
14:22 kf wizzyrea++ :)
14:23 bbl bye all :)
14:23 kf left #koha
14:24 bornie21 hey guys I am Koha newbie and I have been trying to add a new book in the catalog and on saving, I can't find when I do a search in the OPAC
14:25 wizzyrea searching faq?
14:25 wahanui searching faq is probably at http://koha-community.org/documentation/faq/
14:25 wizzyrea :)
14:25 bornie21 ok thnx let me see if I can find anything
14:28 wajasu bornie21: if you just set things up, you might need to configure/run the zebra search server (zebrasrv should be running) if you are running zebra. And look into running rebuild_zebra.pl -b -a -r  to get teh zebra indexes generated.
14:30 i signed off on bug8607 and as kf mentioned i might try to do a followup fix for the fine to display correctly.  Fine: $0.00 USD  instead of Fine: USD
14:31 drojf joined #koha
14:35 tcohen thanks for signing wajasu
14:37 wajasu tcohen: glad you did that work! it was sorely needed.
14:38 ago43 joined #koha
14:42 tcohen its the second time I do it wajasu! hahaha
14:43 hope this one has more consensus
14:43 (is that the way of saying it in english?)
14:43 wajasu pey
14:43 yes
14:43 magnuse wajasu++
14:44 dinnertime!
14:48 rambutan joined #koha
15:06 rambutan @seen life
15:06 huginn rambutan: I have not seen life.
15:21 fcapovilla joined #koha
15:25 wajasu i created a budget, then a fund for that budget, assigning it to my library (no restriction), and whenever i go to aquisitions, it still wants me to define a budget :(
15:25 its active. money is available.
15:27 running master sandard  install for testing
15:28 wait
15:28 i'm in my vendor now
15:28 receive shipment.
15:34 i open my basket, but it wants a budget/fund defined.
15:36 but i have one defined. with a fund.
15:37 wizzyrea hm I'm not seeing that problem
15:37 how much is in your fund?
15:37 wajasu i have two, one for 800 and one for 400 (base-level remaining)
15:38 fund codes (Fc1 and FC2)
15:38 they are Funds for "fall budget 2012"
15:38 so they are accosiated with that budget
15:39 wizzyrea i'm not having this issue :(
15:39 wajasu must i associate the budget with the vendor? or does that happend when an order is placed.
15:39 wizzyrea no, you shouldn't need to do that
15:39 does it do it on master or only with the patch you're testing
15:39 * wizzyrea is on master
15:40 wajasu master but i am in a patch branch. let me try with fresh master, to see if patch influenced it.
15:42 wizzyrea lol however, I can't increase the quantity of an order above 0
15:43 tcohen any advise on how to deal with this problem?
15:43 http://bmayor.biblio.unc.edu.a[…]earch.pl?q=biblia
15:44 bag left #koha
15:44 bag joined #koha
15:44 bag left #koha
15:45 wajasu tcohen: are you printing labels?
15:45 wizzyrea no, just a search result
15:45 wajasu or just search?
15:45 bag joined #koha
15:45 tcohen nope
15:45 wizzyrea in the result set are there records with really uncommon characters?
15:46 tcohen is there a way to get that result set outside from koha?
15:46 wizzyrea well can you see it in the staff client?
15:46 tcohen I'm sure there's a broken record
15:46 wizzyrea say the cataloging search
15:46 tcohen same error on staff interface
15:46 wizzyrea oo. yikes.
15:46 cataloging search too?
15:47 more -> cataloging
15:47 sophie_m left #koha
15:47 wizzyrea search from there
15:47 tcohen mmm
15:47 in staff interface it says the same
15:47 BUT...
15:47 it referes to http://bmayor.biblioadmin.unc.[…]biblionumber=1945
15:47 wizzyrea \o/ squee
15:48 tcohen http://bmayor.biblio.unc.edu.a[…]biblionumber=1945
15:48 wizzyrea dunno, the record looks ok http://bmayor.biblio.unc.edu.a[…]biblionumber=1945
15:48 for 1945
15:49 tcohen YES, IT LOOKS OK
15:49 sorry
15:49 wizzyrea hehe sok
15:49 anything in the log/
15:49 ?
15:50 tcohen search.pl: utf8 "\\xC3" does not map to Unicode at /usr/lib/perl/5.14/Encode.pm line 174., referer: http://bmayor.biblioadmin.unc.[…]biblionumber=1945
15:51 wizzyrea would that record be the only result for that query?
15:58 melia joined #koha
16:03 tcohen wizzyrea, how can I know which records that search returns?
16:04 hdl1 tcohen: try and look at either zebra logs or type the rpn query in yaz-client console
16:04 tcohen thanks hdl1
16:05 wajasu i did a fresh kohaclone. make, make install, new budget, new fund, Still have the message "You must define a budget in Administration" on acquisitions page.
16:05 i must be dowing something wrong?  restriction = none
16:06 my library is set to midway
16:07 bornie21 joined #koha
16:16 Callender joined #koha
16:22 rambutan left #koha
16:23 jcamins_away wajasu there was a bug about that. Can't kook from phine.
16:24 look
16:24 phone
16:24 wajasu ok just found bug 8452
16:24 huginn 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8452 minor, P5 - low, ---, koha-bugs, NEW , "You must define a budget in Administration" always shows on acqui-home.pl
16:24 jcamins_away yes.
16:25 tcohen, problem is marc 8. Run touch all biblios on rhat record only.
16:26 wizzyrea interesting that I wasn't seeing that
16:27 really ought to blow away this testing DB I guess.
16:45 wajasu ok. i added a patron "staff" with aquisitions permissions, and  superlibrarian
16:46 i went to add an order.  i could not edit quantity, but i could pick the fund.
16:46 so i am stuck trying to edit the quantity field.
16:47 must i create a ACQ framework?
16:48 hdl1 wajasu: creating an ACQ framework is quite a good idea if you mean tu use acquisition.
16:48 You can duplicate default framework into ACQ for quick first useage
16:48 wajasu ok
16:51 wizzyrea yea, That's where I got stuck too
16:53 wajasu is there a feature to dup an existing?  can't figure it out from "New framework"
16:54 ok. i have to click marc structure and it offers to create from default.
16:58 when editing accounting details, i can't edit the quantity still :(
16:58 so i can't save the order.
17:00 Hmm.
17:03 going to lunch. maybe that will help.
17:07 wizzyrea yup I couldn't change the quantity either
17:07 the rest I didn't get stuck on
17:09 oleonard joined #koha
17:10 oleonard Hi #koha
17:12 wizzyrea hey oleonard
17:12 wahanui i guess oleonard is still here, if you just wish hard enough. or Koha's master UI designer
17:19 gaetan_B bye !
17:19 tcohen jcamins_away: sorry, I was having lunch
17:19 could you elaborate?
17:20 oleonard Feeling better wizzyrea?
17:20 wajasu let anyone who can create an order in aquisitions (i.e. make quantity >1 ) please stand up :)
17:20 tcohen bin/maintenance/touch_all_biblios.pl
17:20 nengard if you don't enter a password for a patron does it leave the pw field blank? I have someone asking for a report of patrons without passwords, but I'm getting no data
17:21 wizzyrea oy yes I think so
17:21 how about you?
17:22 for a while there was a default password of !
17:22 oleonard Better.
17:22 wizzyrea I think we fixed it though, it's been ages ago
17:23 nengard that i remember, removing the !
17:24 but if we removed that does that means it's NULL? or is there something in there no matter what?
17:24 wajasu i need to be able to create an order to signoff bug 8382
17:24 huginn 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8382 blocker, P1 - high, ---, christophe.croullebois, Needs Signoff , It is not possible to cancel an order when receiving on a filtered page in parcel.pl
17:26 jcamins tcohen: just as well, I was traveling.
17:27 tcohen: touch_all_biblios.pl --where='biblionumber=whatever'
17:30 wajasu ok. i fugured out how to get the quantity increased.  i had to click "Add" in the section above. (also refer to bug 1966)
17:30 huginn 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=1966 enhancement, P3, ---, henridamien, NEW , Allow manual editing of Qty
17:33 wajasu boy, acquisitions needs usability work.   maybe a hint to "Add" in the section above, next to the required field.  plus document how to "dup" a frawwork, by adding ACQ, then clicking "MARC structure"... and finally add some documentation.
17:33 let alone, i must be a not suprelibrarian biblionumber to even add orders.
17:34 now onto my signoff test
17:36 adnc_ joined #koha
17:38 oleonard When was it we were supposed to have fixed that "!" password bug?
17:39 * oleonard just created a new patron and the value stored in the password field in the database is "!"
17:43 fcapovilla I remember that : its in AddMember. The default behavior when you try to create a user without a password is to use "!" as the password :
17:43 $data{'password'} = ($data{'password'})? md5_base64($data{'password'}) : '!';
17:45 oleonard ...which is okay because you can't submit a password which hashes to "!"
17:46 fcapovilla yep, I'm still searching why it lets you connect with that
17:46 oleonard What do you mean?
17:47 fcapovilla I did some tests a long time ago and could connect to the user account using "!"
17:47 Dunno if it still works
17:50 oleonard It doesn't if borrowers.password = "!"
17:50 fcapovilla Forget what I said, looks like it got fixed. I said that was a long time ago
18:09 jcamins fcapovilla: did you get the final patch for the new theme from my github?
18:10 fcapovilla No, I tried to apply all your patchs on a copy of master to make sure everything was up to date
18:10 But files like ccsr/en/css/opac.css aren't present in your patchs
18:10 wajasu i'm working on signoff test for bug8382.  can someone help me confirm the intent. it looks like a javascript fix to enabling cancelling an order via a filter. But I get "Can't delete order and catalog record"
18:11 jcamins Ah, yeah, that was why you had problems with the CSS. The patch with the CSS, javascript, and images was too big to attach to bugzilla, so it is in my github repository.
18:11 I'll take a look at the new patch.
18:13 fcapovilla I tried to make the new preferences work in the prog and ccsr theme, but the OpacShowFiltersPulldownMobile and OpacShowLibrariesPulldownMobile depended too much on our masthead.inc modifications, so they only apply to the ccsr theme now.
18:13 jcamins fcapovilla: to confirm, the change to opac.css should be in the ccsr theme too, right?
18:14 fcapovilla yes
18:14 jcamins Yeah, there is -- unfortunately -- no way around that.
18:23 fcapovilla: the new patch works great. I am going to push it all to my Github, and obsolete the patches on bugzilla so people know to sign off on the branch.
18:24 fcapovilla ok, thank you
18:33 oleonard So nengard did you read back about the "!" password?
18:34 nengard not yet - but i can :)
18:34 oleonard Short answer: You can query for password = "!"
18:34 nengard cause it's still doing that?
18:34 wasn't that a security problem?
18:35 jcamins No, the security problem was hashing the "!"
18:35 oleonard No, the problem was that the same value was getting hashed and saved for every patron
18:43 nengard thanks all
18:44 next question
18:44 i thought i reported a bug for the suggestions message on the homepage showing the count of all suggestions instead of limited to branch but i can't find it - anyone happen to know where i hid this bug report?
18:44 :)
18:46 drojf fcapovilla: how would i make the mobile view appear? there is a link to ccsr in the bug comments, but if i resize the window with that site it does not change anything
18:46 nengard bug 8274
18:46 found it
18:46 huginn 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8274 major, P5 - low, ---, koha-bugs, NEW , count of suggestions on main page wrong
18:48 jcamins drojf: you have to resize it to very small.
18:48 drojf i resized it to tiny
18:48 jcamins Oh, okay.
18:48 I had trouble with it for a while because I didn't realize just how small a phone screen is.
18:49 drojf yes i thought that were my problem after reading it again, but even if i resize it to a little black and a little grey that does not make a difference
18:49 we should have free smartphones for testers ;)
18:50 jcamins drojf: http://screencast.com/t/M1ZdBLhco54c
18:50 (that's my instance, not Sherbrooke)
18:51 fcapovilla Also : Your browser must support viewport media queries :P
18:51 jcamins Guess that means it won't work with IE8?
18:51 oleonard joined #koha
18:52 fcapovilla Are there mobile phones with IE8?
18:52 jcamins fcapovilla: I highly doubt it.
18:52 fcapovilla We tested it on a windows mobile phone and it worked
18:52 jcamins The only version of IE I have is 8.
18:54 IE8 does not support media queries. :)
18:55 drojf hm maybe my iceweasel doesn't then
18:55 oleonard old version drojf?
18:57 drojf it says 10.0.6
18:57 no idea if that is old, i kind of lost track of numbering of firefox and thunderbird
18:58 oleonard Shouldn't be too old. Why do you think media queries aren't working?
18:58 drojf because i can't get the mobile css to appear
18:59 bug 8597 that is
18:59 huginn 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8597 enhancement, P5 - low, ---, fcapovilla, Needs Signoff , New theme for the OPAC with a mobile view
18:59 jcamins Oh, I forgot to obsolete the patches.
19:00 tcohen jcamins: touch_all_biblio didn't fix it
19:00 jcamins drojf: you know that you need to get the patches from my github repo, and apply 8622 first, right?
19:00 drojf jcamins: to see the demo??
19:00 jcamins Oh, no.
19:00 oleonard rangi had a test install didn't he?
19:00 jcamins I thought you had moved on to testing bug 8597.
19:04 tcohen jcamins: a noob question, how should I see if a record is marc8 ?
19:04 drojf works alright in konqueror and a standalone firefox i use with tor (10.0.5). maybe some plugin is to blame
19:05 jcamins tcohen: unfortunately, usually one has to use a hex editor.
19:05 tcohen the thing is I need to find that record
19:06 jcamins tcohen: didn't you identify the record?
19:06 \xC3 is usually from an acute, I think.
19:06 tcohen I have a log that says some record is to blame
19:06 didn't see anything strnge in it
19:09 jcamins If you open up the record directly in the staff client, are you able to edit it?
19:30 Does anyone remember that really cool git command for cutting up a commit?
19:31 git add -p
19:32 oleonard counter-intuitive.
19:32 rangi Morning
19:32 jcamins oleonard: you do a reset, then you add it up.
19:33 In... uhhh... p[arts]?
19:33 drojf morning rangi
19:33 jcamins: "cut up"?
19:34 jcamins drojf: yeah, I have one commit.
19:34 Soon I will have two.
19:34 rangi @wunder nzwn
19:34 huginn rangi: The current temperature in Wellington, New Zealand is 7.0°C (7:00 AM NZST on August 14, 2012). Conditions: Scattered Clouds. Humidity: 93%. Dew Point: 6.0°C. Pressure: 29.83 in 1010 hPa (Rising).
19:34 jcamins Both of which will be modifying one file.
19:34 rangi Lies
19:35 wajasu i'm struggling to get holds working.  i added circ rule with holds alloed count 2.  my prefs are default.  any ideas?
19:36 rangi Are they on loan?
19:36 oleonard wajasu: You have a circ rule set up for default library, default patron, default item type?
19:36 wajasu i can't see an option in OPAC for a patron to place a hold.    not on loan   fresh test install with newly added biblios/items.
19:37 ALL,ALL
19:37 rangi You might need allowholdonshelf syspref switched then
19:38 If that's off it only allows one's for items on loan
19:38 cait joined #koha
19:40 wajasu rangi: Yes. the syspref was needed.
19:41 rangi I'm helping! I'm helping!
19:41 :-)
19:41 cait lol
19:41 don't know what this is all about, but still :)
19:42 wajasu :)
19:47 rangi Ahh Manos welcome to the mad world of library science
19:47 jcamins lol
19:47 rangi Your logic has no place here
19:48 libsysguy rangi did you say we were able to use DBIx::Class?
19:48 ^^ a long time ago
19:52 rangi I'm not the boss, but I wouldn't reject a patch just cos it did
19:52 libsysguy heh
19:52 rangi I'd like to see us using the schema first
19:53 Instead of kohastructure.sql
19:53 libsysguy I'm only one programmer rangi :p
19:53 I'm not trying to earn jcamins status of re-writing all of koha
19:53 jcamins lol
19:53 libsysguy but ill split it with him
19:53 jcamins You take the unpleasant bits.
19:53 libsysguy jcamins you take searching
19:53 jcamins Awww.
19:54 OKay, fine.
19:54 libsysguy ill take fixing the database structure
19:54 rangi That actually takes very little work
19:54 jcamins Looks like I got Koha's theme support, too.
19:54 libsysguy oleonard you're in charge theming
19:54 oh apparently not, jcamins called it
19:54 rangi what bits do you want :p
19:54 jcamins libsysguy: nah, once the theming works, oleonard gets to redo our themes so they are attractive. :)
19:54 maximep im in charge of mobile theming :p
19:55 rangi None I'll just tell you you did it wrong
19:55 libsysguy ok cool, I expect this done by the end of the week so rangi has time to reject all of our code
19:56 its like a koha code fire sale
19:56 everything must go
19:56 :p
19:56 rangi Read my blogpost first :-P
19:56 libsysguy yeah yeah i saw it
19:57 unit tests first
19:57 rangi Or its just compound interest on our technical debt
19:57 libsysguy lost your kids, there is a unit test to find them
19:57 jcamins libsysguy: also the one on rewriting.
19:58 libsysguy and our debt is starting to look like the US treasury :p
19:58 oh I haven't seen that one
20:02 rangi http://blog.bigballofwax.co.nz[…]no-not-like-that/
20:02 libsysguy haha i just looked it up via your twitter
20:03 cait libsysguy: what do I get? :)
20:03 libsysguy I think its worth noting that catalyst generates unit test files for you when you use the autogenerator for modules :)
20:03 cait what do you want?
20:03 jcamins cait: the translation system needs some additions.
20:04 cait eew
20:04 oleonard Hunh, what, did someone say my name?
20:04 * oleonard wakes up
20:04 libsysguy jcamins: you can't call ->id on a normal result set, it has to be a DBIx::Class object :'(
20:04 cait that's too mean, can I get something else?
20:06 * oleonard is pretty fond of telling people they did it wrong too
20:06 rangi Ok my stop bbiab
20:06 jcamins libsysguy: didn't you ask me how to do it with DBIx::Class?
20:06 (hint: yes)
20:07 libsysguy umm I probably did
20:07 thinking that ->execute was part of dbix::class
20:08 jcamins Use last_insert_id directly after the insert statement.
20:08 Sorry, only way to do it.
20:08 And, use transactions.
20:08 $dbh->begin_work (work) $dbh->commit
20:09 libsysguy might just make this module use dbix class
20:09 jcamins I see no reason not to.
20:09 Use transactions anyway.
20:10 libsysguy is there a better way to design the table so I don't have to do this dance
20:10 jcamins Probably.
20:10 libsysguy well hell
20:10 lol
20:12 i could cheat and do a select to update it again
20:13 jcamins Or you could just use last_insert_id, which is probably the right way to do it.
20:13 And a transaction.
20:13 libsysguy in conjunction with transaction to avoid a race condition
20:13 jcamins Right.
20:14 Plus, we should be using transactions more.
20:15 Whenever we have a series of SQL statements that are mutually interdependent, in fact.
20:15 libsysguy agreed
20:20 aarkerio joined #koha
20:20 kathryn joined #koha
20:22 rangi back
20:23 libsysguy jcamins do you know if autocommit is set to true anywhere?
20:23 jcamins libsysguy: it is by default.
20:23 Using begin_work will automatically disable it.
20:23 wajasu testing bug 8215
20:24 huginn 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8215 enhancement, P5 - low, ---, kyle, Needs Signoff , Add Course Reserves
20:24 jcamins At least, I think it is set by default.
20:25 libsysguy hmm ok
20:25 ill guess I'll turn it off
20:26 this is really feeling like one road block after another
20:26 rangi no, dont turn it off
20:26 use transactions!
20:26 wajasu i did a perl Makefile.PL, make, make install.  Some code was missing for a standard install, I expect some make/install routine copies it so it ends up in cgi-bin/cources-reserves/...
20:26 libsysguy rangi that is what i was trying to do
20:27 rangi begin_work switches it off for that transaction
20:27 libsysguy ahh
20:27 rangi you dont need to mess with autocommit
20:27 libsysguy ok well that makes sense
20:27 jcamins That's what I just said.
20:27 libsysguy do I have to use the ->do() function or can I still use prepare and execute
20:28 sorry jcamins no points for you :p
20:28 jcamins begin_work turns it off.
20:28 rangi you can still prepare and execute
20:28 libsysguy jk jcamins++ rangi++
20:29 wajasu also when i tried to run it after an install, no table exists for courses (which I think needs to be created).  do I need to run some update database after patches that might create tables? or should the webinstaller pop up? i need to know if i should tell the patch writer to add tables creation somehwere or is it my mistake?
20:29 jcamins wajasu: when you are testing things, you have to run updatedatabase manually.
20:29 wajasu ok. i'm such a newbie.
20:30 rangi this is where DBIx::Class::Schema would be handy :)
20:30 cait wajasu: your first test was a good one  - I sounds like this is a bug in the patch
20:31 wajasu: the new dirctory for the module needs to get added to a file so that it's copied for standard installations
20:31 rangi wajasu: yep, cait is right
20:31 cait wajasu: if you want to run the update database, go into kohaversion.pl file, increase the number of the version there by one - run the webinstaller, it will come up when you go to a page in staff - reset the number it's former value and save
20:32 then you should be good to go for testing :)
20:32 and I would fail qa for the first and note on the bug
20:32 perhaps try testing in a dev installation if you want to continue testing, until this is fixed
20:34 wajasu there is a  Use of bare << to mean <<"" is deprecated at ./installer/data/mysql/updatedatabase.pl line 5318.  I see <<<<<<< HEAD  in updatedatabase.pl  at that line.
20:35 is that a bad patch too?
20:35 rangi that means it applied with a conflict
20:35 when you applied it, it should have given you some kinda message about that
20:35 if you go git status now
20:35 you should see it saying both modified
20:36 cait hm
20:36 or it's in the patch already
20:36 wajasu: do you have the bug number?
20:36 and thx for testing :) wajasu++
20:36 wajasu: are you looking at bug 8551 or bug 8215?
20:37 huginn 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8551 enhancement, P5 - low, ---, pelletiermaxime, NEW , Course reserves
20:37 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8215 enhancement, P5 - low, ---, kyle, Needs Signoff , Add Course Reserves
20:37 wajasu no conflict in git status.  i used    git am -i -u -3 <thepatch>
20:37 cait it's not your fault, it's the patch
20:37 http://bugs.koha-community.org[…]ment.cgi?id=11131
20:37 rangi sounds like the patch is bad
20:37 that can go straigt to patch does not apply
20:38 cait hm failed qa I would say
20:38 it does apply, but it's broken in 2 ways
20:38 jcamins Yeah, I'd agree with cait, I think.
20:41 wajasu i'm going to list all the ways i can find in the fail.   1) some code is missing for  staff interface,  2) conflict in updatedatabase.pl
20:42 jcamins wajasu: a useful check for conflict markers and syntax errors is to run `prove t xt` in your kohaclone directory.
20:42 wajasu ok
20:43 cait wajasu: maybe point out you did a standard install and the files were not created - i think it only happens on standard installs :)
20:43 which means it's extra cool that you found it
20:47 rangi if it doesnt work in standard chances are would be broken in packages too
20:47 so good catch
20:50 jcamins drojf: any objections to me squashing two additional spelling corrections into your follow-up on bug 8185 and then asking you to sign off on it?
20:50 huginn 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8185 enhancement, P5 - low, ---, tajoli, Needs Signoff , Plugin for linking records in MARC21
20:52 drojf jcamins: not all
20:52 err
20:52 not at all
20:53 * drojf goes to bed, feels flu-ish
20:53 rangi yuck
20:53 flu sux
20:53 drojf i already slept 4 hours aftwer uni, but so tired
20:53 g'night, or back soon if i cannot sleep
20:54 jcamins drojf: when you feel like doing something easy tomorrow, you can sign off on bug 8185 again.
20:55 drojf cool, will do
20:57 oleonard joined #koha
20:58 rangi oleonard is a mibbit user now??
20:58 oleonard Stuck in a building with IRC blocked
20:58 rangi ahh
20:58 luddites
20:58 :)
20:59 oleonard No IRC, no git.
20:59 rangi but all the viruses you want!
20:59 is that nelsonville?
20:59 oleonard No, Chauncey. On a PC running XP built in 2002
20:59 rangi ahhh nice!
21:00 oleonard Filling in for a vacationing co-worker
21:00 rangi i think i visted there too, i think stephen took me to all the branches on that first visit
21:00 in 2003 .. wow, that was a while ago
21:00 jcamins rangi: maybe you used the same computer!
21:00 I'm trying to figure out how to handle bug 8634.
21:00 huginn 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8634 enhancement, P5 - low, ---, oleonard, NEW , Themes should be user-selectable
21:00 rangi heh
21:01 oleonard It was probably my computer then
21:01 jcamins I've come up with having opacthemes be multi-select like opaclanguages.
21:01 And adding an OPACDefaultTheme
21:01 (and equivalent for intranet)
21:01 * oleonard honestly doesn't like the idea of user-selectable themes
21:01 jcamins No?
21:01 rangi oleonard: the reason i like it
21:01 is so you can have the kids opac pc
21:02 and the holy crap im blind opac
21:02 with super large print
21:02 oleonard Hm... Yeah...
21:04 jcamins My feeling is if you don't want your users to have choices, you should should just not give them any.
21:04 oleonard rangi do you still have the mobile theme demo up?
21:04 jcamins Choose the theme you want them to use, and disable all the others.
21:04 rangi i do
21:04 opac.koha.workbuffer.org
21:04 oleonard Thx
21:04 rangi you can just resize your browser window to see what it degrades to
21:04 its quite nifty
21:05 jcamins But if you make it configurable, it works with kiosks.
21:05 * oleonard has been working on a responsive design for the library's web site for the past couple of weeks
21:05 rangi ahh cool
21:06 oleonard I wonder if you can trigger a state change based on the browser's zoom level
21:06 jcamins I think I've ruled out adding a link at the bottom to select the theme.
21:07 (from the user's side)
21:07 oleonard jcamins: So at least you're thinking of letting the library choose which themes are available
21:07 jcamins oleonard: right. Same as languages.
21:07 fcapovilla Fun fact: In firefox, zooming the browser will trigger the mobile view.
21:07 jcamins Only, not with a theme chooser at the bottom because I think that's unnecessary mess.
21:07 oleonard Drupal has it as an option on the user's account jcamins
21:08 fcapovilla: But not in Chrome. Why?
21:08 jcamins That only works if you are logging all the kiosks in.
21:08 fcapovilla oleonard: dunno, it just doesn't work :(
21:08 * oleonard pictures patrons coming to the desk and saying "Why does this OPAC look so weird?"
21:09 oleonard ..staff going and changing the OPAC theme back to what the patron expects
21:09 jcamins If you don't use kiosks, you wouldn't want to provide any options.
21:09 oleonard I see, you mean a locked-down config
21:09 jcamins Right.
21:10 magnus_away was proposing something like it for suggestions.
21:11 oleonard http://blog.55minutes.com/2012[…]and-browser-zoom/
21:11 jcamins: suggestions?
21:11 wahanui suggestions are broken at the moment - I can't accept those for German :(
21:11 jcamins My thinking is that the theme selector would be available only on certain themes, so once you switched to kiosk mode, you'd have to delete the cookie.
21:11 oleonard: like...
21:12 bug 8628.
21:12 huginn 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8628 enhancement, P5 - low, ---, magnus, ASSIGNED , Add digital signs to the OPAC
21:12 rambutan joined #koha
21:13 jcamins At least, that's what it sounded like he was planning on doing.
21:16 wajasu yes, i am planning on mentioning the standard install.
21:22 cait forget suggestions
21:22 wahanui cait: I forgot suggestions
21:27 cait bye all
21:27 oleonard Bye cait
21:27 jcamins Bye.
21:27 wajasu ok, should it be failed QA or Patch doesn't apply   (course_reserve)
21:27 jcamins Failed QA, because the patch applied.
21:27 oleonard failed qa
21:27 wajasu ok
21:28 jcamins (Patch doesn't apply means "I wasn't able to even start testing this")
21:31 wajasu jcamins: should i try bug 8185 or should you work that one?
21:31 huginn 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8185 enhancement, P5 - low, ---, tajoli, Needs Signoff , Plugin for linking records in MARC21
21:31 jcamins wajasu: I tested it and signed off on it.
21:32 However, I also needed to adjust the follow-up, so someone else needs to test it to confirm I didn't screw anything up. :)
21:32 wajasu you fast
21:32 jcamins wajasu: I started yesterday.
21:33 wajasu i have about 8 that i tried this weekend, so i am trying to get some answers on IRC today to move through them
21:33 * jcamins likes that strategy.
21:34 jcamins BTW, where are you located? I thought you were in NZ, but you ate lunch at the same time I did.
21:34 wajasu TX
21:34 wizzyrea ah same as libsysguy
21:35 jcamins Hm. Definitely not NZ. :)
21:35 wajasu i signed off on bug 8607 and  kf said i can try to followup patch the fine display so I guess I'll look at C4:Letter.pm
21:35 huginn 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8607 critical, P5 - low, ---, jonathan.druart, Signed Off , overdue_notices is broken
21:36 wajasu i'm really happy to have the index-daemon working because its just a 30 second wait in testing with cataloging. :)
21:36 wizzyrea why wait 30!
21:36 ;)
21:36 I have mine set to 5 lol.
21:36 wajasu :)
21:37 rangi hey wizzyrea :)
21:37 jcamins I had mine set to 5.
21:37 wizzyrea oh hi :)
21:37 jcamins Then I started switching back and forth between databases, confusing the heck out of Zebra, so I disabled zebraqueue indexing.
21:37 wizzyrea ah yea that'd do it
21:38 wajasu so to run the prove test stuff, i guess i have to have the memcached modules installed to prevent failing.
21:38 jcamins No.
21:38 Oh, wait, I see what you mean.
21:38 Yes, you should have all required modules installed.
21:39 wajasu its no required :)
21:39 jcamins Hmmm...
21:39 You should have optional ones, too, probably.
21:39 Especially all the Test::* modules.
21:43 wajasu those last 6 or seven aren't in deb sqeeze repos OR koha-community, so i must CPAN them i guess.
21:44 jcamins Which 6 or 7?
21:44 There are about a half dozen that aren't needed.
21:44 Probably those.
21:44 rangi wajasu: can you paste into
21:44 paste?
21:44 wahanui paste is found at http://paste.koha-community.org
21:45 pastebot "wajasu" at 127.0.0.1 pasted "my test environment aug13th 2012 missing modules" (18 lines) at http://paste.koha-community.org/95
21:46 jcamins Test::MockModule is needed.
21:46 Wait, no it isn't.
21:46 Not yet.
21:46 Others are not.
21:47 wajasu i'm grabbing  it from cpan unless someone knows of packages somewhere.
21:47 jcamins You don't need any of them.
21:47 My apt repo is currently down for server moving.
21:48 wajasu i haven't needed them.  but for prove to work.
21:48 jcamins Right.
21:48 You don't need any of them for prove.
21:48 At least, I don't think you do.
21:49 The Moose and Data stuff is for solr, which is exempted from the load test.
21:49 The CHI stuff is optional.
21:49 It falls back to less capable caching.
21:49 pastebot "wajasu" at 127.0.0.1 pasted "my test environment aug13th 2012 prove xt" (24 lines) at http://paste.koha-community.org/96
21:50 jcamins Hmmm... well, you can certainly install CHI from CPAN.
21:50 I'm not sure why it's doing that...
21:51 So, yeah, using CPAN for CHI and CHI::Driver::Memcached is probably easiest.
21:51 If my apt repo were available, I'd point you to it, but it's not, and won't be for a few weeks.
21:52 wajasu grabbing CHI .. from cpan
21:54 i wonder if we can't just have a perl module package that gets built by jenkins and the project just depends on that.  maybe for the common architecture cases (x86 x64). and stick it in the PERL5LIB. or is that too complicated.
21:55 jcamins wajasu: there's a bug for that.
21:55 wajasu i'm learning there is a bug for everything already.
21:55 jcamins lol
21:55 Yep.
21:57 Okay... list of files that does not contain the specified string... any ideas how to get that?
21:58 oleonard See ya #koha
21:58 rambutan left #koha
21:59 wizzyrea later people
22:00 rangi cya wajasu
22:00 doh
22:00 cya wizzyrea
22:00 wajasu cya
22:00 jcamins -L
22:04 wajasu when something is "push"ed does that mean its in  master?
22:05 rangi if it says pushed to master
22:05 then yep
22:05 you can look at the history of a bug
22:05 often it will go pushed to master
22:05 then pushed to stable
22:05 jcamins and I usually note in the comments too
22:05 eg
22:06 Pushed to 3.8.x will be in 3.8.4
22:06 while paul_p is away, some bug fixes i am pushing to 3.8.x
22:06 but leaving the status as passed qa, so paul can push to master when he gets back
22:06 but this is an abnormal situation
22:07 wajasu so bug queries that show state Push mean?
22:07 ready to be considerd for push to stable?
22:08 rangi it means that the column is too small
22:08 and it really says pushed to stable or pushed to master
22:08 if you click on one, you'll see :)
22:10 pastebot "wajasu" at 127.0.0.1 pasted "my test environment aug13th 2012part2 prove xt" (32 lines) at http://paste.koha-community.org/97
22:10 wajasu Ahh
22:10 jcamins Oh, missing Cache::Memcached::Fast.
22:11 Apparently not in the same package as Cache::Memcached.
22:12 Wait.. mystery solved.
22:12 Cache::Memcached was never listed as required.
22:12 Even though it was.
22:12 *Optional, rather
22:12 wajasu grabbed it.running prove xt ...
22:13 jcamins No bug for that.
22:15 wajasu Can't locate Test/YAML/Valid.pm
22:17 jcamins Hm.
22:17 That's not listed either, is it?
22:17 wajasu grabbed it. now running prove t xt ...
22:17 jcamins This is excellent.
22:18 wajasu All tests successful
22:19 jcamins Excellent.
22:19 wajasu maybe you can add that bug, to request those. unless you have another process for master. or should i add it.
22:20 jcamins I just added the bug and patched it.
22:20 Bug 8636.
22:20 huginn 04Bug http://bugs.koha-community.org[…]w_bug.cgi?id=8636 major, P5 - low, ---, jcamins, Needs Signoff , Some dependencies are not listed by the installer
22:20 jcamins As I said.
22:20 Excellent. :)
22:20 wajasu you fast
22:20 so what is prove? perl test framework? or koha specific?
22:20 jcamins I do my best. :)
22:20 Yeah, perl test framework.
22:22 wajasu have you aver used a fitnesse based test environment?   koha really could use it.  because non programmers can write tests, and patches would have to pass tests to get submitted.
22:23 it worked well in an airline app.   add biblio, add authority, etc, place hold, are described via a web app, and tests saved in a directory, and checked in. it was simple.
22:24 then when folks change koha, they must past tests to see if they broke existing functionaility.
22:24 rangi that would rule
22:25 wajasu http://fitnesse.org/FrontPage.FitServers.PerL
22:25 you can right tests for use cases.
22:25 rangi cool
22:26 wajasu if you want, i'll try to set it up. and expose you to my test environment. and write a patch.
22:26 rangi that would be fantastic
22:27 and if you can show it to a few non devs and see what they think, if they like it we can make it official
22:27 it has a plugin for jenkins too
22:27 wajasu it works well. when you have lots of side effects.    someone works on aquisitions, and breaks authorities would show up.
22:27 rangi https://wiki.jenkins-ci.org/di[…]S/Fitnesse+Plugin
22:27 wajasu yup
22:28 rangi so tests people write can just get added to our jenkins test suite
22:28 wajasu you can right tests and use fixtures (or custom ones) to make writing tests easier.
22:28 rangi if you made writing tests easier, i will beer you many beverages at kohacon next year
22:29 wajasu you can group them (slow ones), integration ones, multithreaded ones,
22:29 rangi sweet
22:29 * jcamins too.
22:29 wajasu ok. i'' play with it tonight and expose it to you tomorrow on the web against my test VM.
22:30 jcamins Woohoo!
22:30 wajasu++
22:30 rangi sweet thank you
22:30 wajasu before you know it you will have thousands of cases.  and refactoring won't be as intimidating.
22:32 jcamins From your mouth to the ears of a hundred thousand librarians.
22:32 The problem is the whole web-based nature, I think.
22:34 wajasu i uses this in a distributed java thick client, that supported what if scenarios, for rerouting flights.  you can imagine the interactions with FAA rules engines.
22:34 it will help with circulation rules
22:35 jcamins That would be *awesome*.
22:35 You know, maybe we need a prog2 theme.
22:36 Absolute barebones.
22:36 Access a bib record and nothing but the bib record shows up.
22:36 etc.
22:36 Then test against that.
22:37 wajasu you will ike this.  its fast, and spits out helpful context to debug.
22:37 jcamins :)
22:37 wajasu i'm grabbing dinner, then will work on it.
22:37 * jcamins calls it a day and goes to lay out dinner.
22:45 maximep left #koha
23:11 papa joined #koha

← Previous day | Today | Next day → | Search | Index

koha1