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