IRC log for #koha, 2013-09-06

All times shown according to UTC.

Time S Nick Message
00:06 rangi dcook: http://catalyst.net.nz/Library[…]chnology_Workshop
00:08 dcook Wow, that sounds awesome
00:08 dcook Catalyst++
00:09 dcook PS The breadcrumb link at the bottom is running into and overlapping the footer :/
00:10 rangi ahh annoying
00:16 dcook Any ideas for what will come of the ideas from the workshop?
01:24 BobB joined #koha
02:01 mtompset What is mc-itype?
02:03 jcamins Item-level item-type, I think.
02:04 jcamins You should check.
02:05 mtompset I think it is related to the itemtypes table.
02:05 mtompset I was looking at http://bywatersolutions.com/20[…]ull-down-in-koha/ which triggered the question.
02:05 jcamins Why don't you just check the code?
02:06 dcook ^^
02:07 dcook ccl.properties and/or records.abs would tell you in a jiffy
02:07 * dcook thinks it might be a synonym of itype or itemtype or some such
02:10 mtompset ccl.properties and records.abs are not code they are configuration files. :P
02:11 mtompset I wouldn't have known what configuration files to go looking in.
02:12 jcamins mtompset: the easy solution to this is a little utility you may have heard of before.
02:12 jcamins It's called grep and is incredibly useful.
02:13 mtompset true enough, but brute forcing a hunt is less efficient than an educated guess.
02:30 * eythian prefers 'ack' to 'grep' these days.
02:31 dcook I've heard people mention ack from time to time, but haven't used it yet
02:31 dcook Any reason for the preference, eythian?
02:31 eythian mostly because it's better.
02:32 dcook hehe
02:32 dcook Fair enough
02:50 dcook I love Git
02:50 dcook Just sayin'
03:28 mtompset dcook: ack is one less keypress too. ;)
03:47 mtompset Have a great day, #koha.
04:15 fredy_ joined #koha
04:20 dcook I had forgotten about http://ratings.koha-community.org/...
05:09 cait joined #koha
05:10 * cait waves
05:11 dcook hey ya cait :)
05:12 cait hi dcook
05:12 cait :)
05:52 * dcook notices "Search engine configuration" in Koha > Administration
05:52 dcook That's promising
05:52 dcook jcamins's work with the QueryParser, I presume?
05:52 cait solr
05:52 dcook I thought solr worked had stalled with Koha
05:53 cait there is an experimental implementation and that's part of it
05:53 dcook \o/
05:53 dcook That's awesome
05:53 dcook Despite having become familiar with Zebra over the past year, I would like to play with Solr...
05:53 dcook Plus we already use it for Dspace
06:05 cait left #koha
06:42 reiveune joined #koha
06:43 reiveune hello
06:44 dcook salut reiveune :)
06:54 waylonR joined #koha
06:56 waylonR okay, hello all.. i may of screwed up. i did a git pull, and now i have a whole lot of modified files, and git checkout complains of them.. i never modified them... do i just do a rebase to resolve this?
06:57 dcook Well...
06:57 dcook When you say that you did a git pull, what did you merge?
06:58 dcook What I mean is...are your local modifications on a different branch?
06:58 dcook Actually, it probably doesn't matter.
06:58 waylonR well, I did git pull, then solved a conflict, commited that, then git pulled again... and now i have this problem.
06:58 dcook If you're confident that you didn't modify them, you could try git clean : If you're on a branch where you'r
06:58 dcook Ack
06:58 dcook https://www.kernel.org/pub/sof[…]cs/git-clean.html
06:58 paul_p joined #koha
06:58 dcook That's one reason why I never git pull
06:58 dcook Fetch then Rebase ftw
06:59 paul_p hello #koha
06:59 waylonR hmm.. how does one get all of ones commits?
06:59 dcook salut paul_p
06:59 * waylonR wants to make sure i have my commits backed up.
06:59 dcook What do you have for branches?
06:59 waylonR hmm? branches i created myself.
07:00 dcook Right
07:00 alex_a joined #koha
07:00 * dcook ponders how to explain
07:00 dcook Git clean will wipe your working directory
07:01 dcook So that you'll be back to HEAD
07:01 dcook If you've already committed your changes, you'll be fine
07:01 lds joined #koha
07:01 dcook To be honest, if you have loads of modified files...
07:02 dcook That often happens when it struggles to checkout or you interrupt a rebase
07:02 dcook What remote branch are you tracking?
07:03 waylonR ooo.. i can git log --all --author="Waylon"
07:03 dcook Yep
07:05 dcook bonjour alex_a et lds
07:06 alex_a bonjour dcook
07:08 lds hello
07:10 waylonR so, just git clean, should do the trick eh dcook?
07:12 dcook You might need to use one of the other switches like -x or -d I think, but yeah
07:12 dcook Or...
07:12 dcook git reset --hard HEAD
07:13 dcook Actually, probably reset
07:13 * dcook is trying to remember why he suggested clean
07:13 dcook Reset is the way to go
07:13 dcook :p
07:13 dcook That'll take you back to your last commit
07:14 dcook You might also have to do something like...git rebase --am or git rebase --abort...it should've let you know on the screen though
07:15 waylonR 9055?
07:15 waylonR bug 9055?
07:15 huginn` Bug http://bugs.koha-community.org[…]w_bug.cgi?id=9055 enhancement, P5 - low, ---, wrobertson1981, Patch doesn't apply , Mandumah.com's multiple branch search, multiple branch security mod
07:16 waylonR waylonR?
07:16 wahanui you are the 34rd developer of Koha, currently working for Mandumah.com, a digital library archive. Hes currently porting koha 3.0 modifications to Koha 3.10. So far so good, with one patch on bugzilla already. Bug 9055
07:16 dcook 34rd?
07:17 waylonR yup.
07:17 waylonR oh..
07:17 dcook hehe
07:17 waylonR i was the 33rd.. but
07:17 waylonR someone missed out someone on a list.
07:18 dcook So you originally committed some patches back in 2005?
07:19 waylonR back before git i think...svn...? i spotted a flaw in the new marc system? its been a while.
07:19 dcook Quite the hiatus
07:20 dcook Well, welcome back ;)
07:20 dcook I don't envy you porting 3.0 to 3.10
07:20 dcook Wait...3.10...
07:20 dcook So Mandumah is currently on 3.10 and you're porting over all the old 3.0 commits?
07:20 dcook Sounds like exactly the situation I was in before with 3.8
07:20 waylonR nope
07:21 dcook no?
07:21 wahanui http://i.imgur.com/hVVuP.jpg
07:21 waylonR mandumah is currently using koha3.0.0pre2
07:21 waylonR modded.
07:21 dcook Poor mandumah
07:21 waylonR cherrypicked fixes, before i got to it.
07:22 dcook You were saying that people are wanting your recent fixes...
07:22 dcook But if mandumah is still running 3.0, what's the time crunch?
07:22 dcook If you don't mind me asking :p
07:23 waylonR whenever, we just upgraded to a two server system, and its currently running quite well.
07:24 waylonR ideally though, i want to get it done before end of year. my wife and I are about to spin up a internet cafe... hoping that I'll be able to do devel still, but we'll see.
07:24 dcook Were you recently saying that your boss was thinking of moving to a different system or was that someone else?
07:25 waylonR that was me
07:28 lds joined #koha
07:53 * magnuse waves
07:53 dcook hey ya magnuse :)
07:54 magnuse hiya dcook
07:54 magnuse dcook++ for research on bug 10421
07:54 huginn` Bug http://bugs.koha-community.org[…]_bug.cgi?id=10421 enhancement, P5 - low, ---, kyle.m.hall, Failed QA , Add cron script to delete deleted records
07:57 dcook :D
07:57 dcook Thanks, magnuse
07:57 dcook It's something I've wondered about for years
07:57 magnuse hehe
07:57 dcook Seemed like a good time to figure out some stuff
07:57 magnuse yay
07:57 dcook Still not sure that I get it 100% but...better than nothing
07:58 dcook Latest iteration of the oai-pmh harvester...
07:58 sophie_m joined #koha
07:58 dcook 1626 insertions
07:59 dcook And there I was thinking that I never write any patches that aren't tiny :p
08:01 dcook salut sophie_m :)
08:01 sophie_m hello dcook and #koha
08:04 alex_a_ joined #koha
08:12 waylonR okay, back from a long call with a webhoster wanting some support, installing cpanel... oh fun, trying to explain to him that it might be best to set up a domain name server with domains that it'll serve, before actually pointing the domain name registration at it.... ah... oh well.. its only for one domain currently, so i let him do it...
08:13 waylonR dcook, git clean cleaned all the files that didn't exist in the git... but prehaps you mean git reset --hard HEAD?
08:16 dcook Yeah, I posted that earlier ;)
08:16 dcook <waylonR> so, just git clean, should do the trick eh dcook?
08:16 dcook <dcook> You might need to use one of the other switches like -x or -d I think, but yeah
08:16 dcook <dcook> Or...
08:16 dcook <dcook> git reset --hard HEAD
08:16 dcook <dcook> Actually, probably reset
08:16 dcook  dcook is trying to remember why he suggested clean
08:16 dcook <dcook> Reset is the way to go
08:16 dcook <dcook> :p
08:16 waylonR thanks.. yeah.. long phonecall.. and got lost
08:16 dcook No worries. I shouldn't even be here right now :p
08:17 dcook Just catching up on email before I meet up with my wife for dinner
08:17 waylonR don't be late
08:17 dcook Git reset --hard HEAD almost always solves the problem
08:17 dcook I've only had to use git clean...once or twice
08:17 dcook I can't remember why in hindsight
08:17 waylonR fatal: Could not reset index file to revision 'HEAD'.
08:17 dcook Some sort of hiccup while changing versions I think
08:17 waylonR ack.
08:18 dcook That's...not good
08:18 dcook Mmm, you might need to cancel the rebase
08:18 waylonR no, its not. now every file is modified.
08:18 waylonR didn't start the rebase in the first place.
08:18 dcook Ah right, git pull does a fetch+merge, doesn't it
08:19 dcook I never pull myself. I always fetch then rebase
08:19 waylonR oh wait
08:19 waylonR git status only lists three changed files.
08:21 waylonR fixed it.
08:21 waylonR using git checkout -- koha-tmpl/intranet-tmpl/lib/tiny_m​ce/plugins/advhr/editor_plugin.js
08:21 waylonR oh.. maybe the second git reset did it too.
08:22 dcook Probs
08:23 dcook You said that you were tracking against the git.koha-community.org website before...but you didn't mention the branch
08:23 dcook If you're submitting to the community, master would make sense
08:23 dcook But if you have mods which won't be submitted back (which you indicated to me before), you'll probably want to choose a stable version
08:23 dcook But I'll drop it there. I know I've said that to you repeatedly for the last couple hours :p
08:24 waylonR well... both then... ill develop it on HEAD, then drop it to a stable version once all the mods are done.
08:24 waylonR shouldn't be that difficult to take it back to whatever stable version there is at the time.
08:25 waylonR Could take a while as it is anyway.
08:25 dcook You'd be surprised
08:25 waylonR by the time this is done, there might be a 3.14
08:25 dcook I sincerely imagine so
08:25 dcook feature freeze?
08:25 wahanui feature freeze is, like, 3 October 2013
08:25 dcook 3.14?
08:25 wahanui well, 3.14 is coming out in November, so anything that gets bumped shouldn't be waiting too long.
08:25 waylonR ah... damn.
08:26 waylonR So, i should focus on bug 9055 and get it done for 3.14 eh?
08:26 huginn` Bug http://bugs.koha-community.org[…]w_bug.cgi?id=9055 enhancement, P5 - low, ---, wrobertson1981, Patch doesn't apply , Mandumah.com's multiple branch search, multiple branch security mod
08:26 * dcook shrugs
08:26 dcook However you want to do things
08:27 * dcook takes a look at the bug
08:28 waylonR 6 users waiting for it, one being nengard.. .so its nothing to be sneezed at.
08:28 waylonR nengard?
08:28 wahanui nengard is fast
08:28 waylonR dpavlin?
08:28 wahanui Taking over the world is trivial for this one...
08:28 waylonR ...
08:28 waylonR elliot?
08:28 waylonR elliott?
08:29 waylonR eliott?
08:29 dcook I've pondered this one before
08:29 waylonR mirko?
08:29 wahanui well, mirko is drojf
08:29 waylonR drojf?
08:29 wahanui i guess drojf is from Germany and developing Koha on a raspberry pi!
08:29 dcook What to you do for people who aren't signed in ?
08:29 waylonR damn..
08:29 waylonR mtompset?
08:29 wahanui i think mtompset is disliking finding bugs while testing.
08:30 waylonR well, this is for a private library, so im thinking, for people who arn't signed in, they're limited to the virtualhost/branch they accessed
08:30 waylonR for a public library thatis.
08:31 dcook Mmm, so it would require OpacPublic to be disabled first...ok. Makes sense.
08:31 dcook Yeah, I think this could be neat.
08:31 dcook Focus on it ;)
08:32 waylonR nope... doesn't need opacpublic to be disabled. koha having branch variable in its virtualhost, and CSS overrides... each library can have different css, and branch will set it so only those books in that branch can be seen.
08:32 waylonR or searched.
08:33 matts joined #koha
08:33 waylonR so, for instance, a township could have a branch loaded in a cities koha system, and the users would not know it, all they see is their towns koha, as long as they are using the towns library virtualhost
08:33 waylonR makes sense?
08:34 dcook Yep. I saw some of that code a while ago, but never really had reason to really delve into it myself. Interesting.
08:35 dcook Then with your patch they could bypass that a bit?
08:35 dcook You'll definitely need a detailed test plan for that one
08:36 waylonR hmm? if they put in branches in the virtualhost, more than just the one, then they could be selected, prehaps yeah. but thats not what you mean?
08:36 waylonR what do you mean?
08:39 waylonR what time do you have to be gone, dcook?
08:51 sophie_m joined #koha
09:47 alex_a joined #koha
10:05 waylonR okay.. what is the SearchableBranches pref?
10:05 waylonR SearchableBranches?
10:06 waylonR ah.. thats my change, i think.
10:06 NateC joined #koha
10:52 waylonR okay, gotta go. laters all.
10:59 gaetan_B joined #koha
11:00 gaetan_B left #koha
11:12 jwagner joined #koha
11:37 drnoe joined #koha
11:50 collum joined #koha
12:13 nengard joined #koha
12:18 SJVNH3VN5TQ3YH joined #koha
12:19 SJVNH3VN5TQ3YH joined #koha
12:21 nengard left #koha
12:30 mtompset joined #koha
12:30 mtompset Greetings, #koha.
12:35 mtompset Hmmm... what's up with the mass delete of t/db_dependent/lib/KohaTest pm's?
12:38 tcohen joined #koha
12:38 jcamins They're useless.
12:38 jcamins Therefore we might as well remove them.
12:39 mtompset Were they useful at some point?
12:40 jcamins I presume they must have been, but honestly I couldn't tell you when or why.
12:40 jcamins @wunder 11375
12:40 huginn` jcamins: The current temperature in Glendale, Glendale, New York is 16.3°C (8:28 AM EDT on September 06, 2013). Conditions: Mostly Cloudy. Humidity: 53%. Dew Point: 7.0°C. Pressure: 30.25 in 1024 hPa (Rising).
12:40 jcamins It is absolutely gorgeous today.
12:41 mtompset @wunder l7e 5y5
12:41 huginn` mtompset: The current temperature in Schomberg, Ontario is 12.7°C (8:41 AM EDT on September 06, 2013). Conditions: Scattered Clouds. Humidity: 88%. Dew Point: 11.0°C. Pressure: 30.30 in 1026 hPa (Rising).
12:42 mtompset It's nice in the sun, but a little cool in the mornings now.
12:42 * jcamins likes cool.
12:42 jcamins I even like cold.
12:42 jcamins Cold = bread baking weather
12:43 mtompset Interesting association.
12:43 mtompset Second day of JK for my son. Riding the bus is a new experience for him.
12:44 jcamins JK = Junior Kindergarten?
12:44 mtompset Yes.
12:44 jcamins How's that different from preschool?
12:44 mtompset JK = 4 years old.
12:45 jcamins Preschool = 3yo?
12:45 mtompset I believe preschool is 2 and 3 year olds.
12:45 jcamins Ah.
12:45 jcamins Interesting.
12:45 wahanui interesting is sometimes good and sometimes bad
12:45 mtompset Given the country hopping I have done, Ezra really hasn't done pre-school.
12:45 mtompset Though, we did put him in daycare to get interaction with other kids.
12:48 jcamins Wow. Based on this article, Oyster sounds like what book borrowing should be like.
12:49 mtompset "this article" is not a URL. ;)
12:49 alex_a joined #koha
12:51 oleonard joined #koha
12:53 oleonard Hi #koha
12:53 * oleonard would have been here sooner but had to listen to the catalogers rant about RDA for a while
12:57 jcamins oleonard: you mean they haven't decided that RDA is a good idea?
12:57 jcamins Weird.
12:58 oleonard their trouble is that the records they get from Z39.50 are all a weird mishmash of RDA and AACR2 and they're trying to figure out what to do with them
12:58 * jcamins suggests cleansing with fire.
12:58 oleonard Even OCLC is putting out Frankenstein records
13:00 oleonard Do they take out the RDA and make it straight AACR2? Do they take out the AACR2 and make it as RDA as they know how? Do they keep it a mix?
13:00 oleonard They want to do it *correctly* but they don't know what is the best way
13:02 * jcamins suggests picketing in protest of MARC.
13:02 oleonard :P
13:15 tcohen morning #koha
13:19 mtompset Greetings, oleonard tcohen.
13:20 sophie_m joined #koha
13:20 mtompset oleonard: Sometimes perfection gets in the way of good?
13:21 oleonard True, but you still have to figure out where good is.
13:21 mtompset Yes. Good counter point.
13:22 * mtompset grumbles about things not working when he is actually trying to make the test plan for a bug report.
13:24 maximep joined #koha
13:25 cait joined #koha
13:25 mtompset Greetings, maximep cait. :)
13:26 * cait waves
13:26 tcohen hi cait"
13:26 cait hi tcohen
13:26 cait :)
13:26 cait on my way home now... long train ride
13:27 tcohen wifi?
13:29 mtompset ARG! I hate pop-up windows that lose focus.
13:29 maximep good morning =)
13:31 tcohen gmcharlt around?
13:37 * mtompset mutters about forgetting to follow all the test plans steps and being frustrated pointlessly for a couple minutes.
13:39 cait tcohen: umts :)
13:42 tcohen so lots of fun :-D
13:45 mtompset umts?
13:46 oleonard http://en.wikipedia.org/wiki/U[…]unications_System maybe?
13:48 cait tcohen: better than no internet :)
13:48 cait ... but right now it's too slow to open that wiki page to check
13:48 cait @wunder Konstanz
13:48 huginn` cait: The current temperature in Taegerwilen, Taegerwilen, Germany is 26.7°C (3:15 PM CEST on September 06, 2013). Conditions: Clear. Humidity: 59%. Dew Point: 18.0°C. Pressure: 29.89 in 1012 hPa (Steady).
13:49 tcohen if you already have the koha-qa tools, you might have some fun
13:50 cait i will try later, when i get into th enicer train
13:52 cait oleonard: i think that one yes
13:53 * cait tries a git pull
13:55 cait bbiab
13:56 cait left #koha
14:00 * mtompset grumbles about javascripts failing.
14:02 druthb Hi, grumbly mtompset!
14:02 mtompset A grumbly mtompset is a productive mtompset. :P
14:03 mtompset Greetings, druthb. :)
14:03 druthb :)
14:03 * mtompset grumbles some more.
14:04 druthb If you were working on javascript, and *not* grumbling, I'd be worried.
14:04 mtompset Okay, I am no javascript expert, but why would one script work and one script not work when the difference is the value being set?!
14:04 druthb evil magics.
14:05 mtompset When javascript is involved, maybe.
14:05 mtompset when javascript?
14:05 mtompset When javascript?
14:05 oleonard If the value is the only difference, then the problem is the value?
14:05 druthb javascript?
14:05 wahanui javascript is an implementation of INTERCAL on Interstates
14:05 druthb wahanui:  javascript is also super, super evil.
14:05 wahanui okay, druthb.
14:05 mtompset it's an upload plug in for 856$u.
14:06 mtompset The upload portion works fine in populating the field.
14:06 oleonard evil?!
14:06 mtompset The delete portion which is to blank the field doesn't.
14:06 druthb not just a little evil.  The awesome JS wranglers (like you, oleonard) are the true genius mages.
14:08 mtompset Ah... okay... debugging idea.
14:08 mtompset How do I do an annoying popup dialogue box in javascript?
14:08 oleonard alert("foo");
14:09 oleonard But use the Firebug (or similar) console for less annoyance and more detail
14:09 tcohen console.log()
14:09 mtompset firebug in a popup window?
14:10 oleonard The firebug console can display debugging information for you without having to use an alert()
14:10 oleonard console.log("foo"); as tcohen said
14:11 oleonard That works in any browser that has a decent developer tool built in
14:11 mtompset okay... back to the debugging.
14:21 mtompset Nope... that theory is out the window... the value of the parameter is set correctly. I don't get why the field isn't blanking.
14:26 Barrc joined #koha
14:28 oleonard mtompset: Do a paste of the code if you'd like more eyes on it
14:28 mtompset just about to do that. :)
14:28 pastebot "mtompset" at 127.0.0.1 pasted "My javascript frustration." (23 lines) at http://paste.koha-community.org/199
14:29 mtompset And [% index %] is set properly.
14:31 oleonard You getting an error?
14:33 mtompset No.
14:33 mtompset It just doesn't blank the field.
14:34 mtompset Hmm... there is a jquery.js file not found.
14:34 mtompset But I think that's a side error, not the cause error.
14:35 oleonard You can't use jquery if jquery is not found
14:35 mtompset Hmmm... dollar is not defined?!
14:35 mtompset Is there a space?!
14:35 oleonard $ is the jquery object
14:36 mtompset Okay... that explains why it fails to blank.
14:37 mtompset BINGO!
14:37 mtompset I think I found it.
14:38 oleonard Oh?
14:39 mtompset It wasn't a side error.
14:39 mtompset There was wrong jquery.js line in one template, but not the other.
14:39 mtompset fixed it... solved my problem.
14:40 mtompset Using [% interface %] not [% themelang %]
14:41 mtompset oleonard++ # thanks for the eyes.
14:41 gmcharlt tcohen: what's up?
14:41 paul_p joined #koha
14:42 mtompset Saverio Pialli's request is reasonable, but I really dislike what they did to the Koha logo on their page.
14:45 oleonard I agree, however I don't think that's something we can control
14:49 gmcharlt well, as a trademark image it would be better if at the very least asked
14:50 gmcharlt as a data point, that modification of the logo would absolutely not fly in Evergreen-land, and would eventually turn into a matter for the SFC if requests to adhere to Evergreen's TM policy were ignored
14:51 mtompset Not to mention "Koha by <company name>" implies they wrote it.
14:51 oleonard ...which is a reason why Koha needs better institutional structure if we want to be able to handle things like that
14:51 gmcharlt obviously, we're in a different situation here (*sigh*) but I'm willing to make the request
14:51 oleonard I don't take it that way mtompset, but I suppose some might
14:52 mtompset "provided by" "via"... or other phrasings are clearer.
14:58 mtompset SFC?
14:58 mtompset Scottish Funding Council?
14:58 mtompset Ah... Software Freedom Conservancy
14:59 oleonard Although we might try the Scottish Funding Council if the  Software Freedom Conservancy doesn't work out
15:00 mtompset As long as we don't resort to the System File Checker under Windows. ;)
15:01 mtompset I'm having difficulty connecting to the SFC's website.
15:01 huginn` New commit(s) kohagit: Bug 10574 - mute the "upgrading from 3.2" message <http://git.koha-community.org/[…]265c06a6f8ed73f10>
15:07 cait joined #koha
15:10 mtompset Welcome back, cait. :)
15:19 Barrc left #koha
15:21 mtompset jcamins: question for you regarding 6874's behaviour, and perhaps a tweak I need to do before submitting my test plan and such... The current functionality prevents uploading the same file twice, even if you choose different sub-directories. Does that make sense?
15:21 reiveune bye
15:21 reiveune left #koha
15:31 mtompset Well, time for lunch... crazy schedule, here I come! :)
15:31 mtompset Have a great day, #koha.
15:54 oleonard javascript?
15:54 wahanui i think javascript is super, super evil.
15:54 * oleonard is feeling that at the moment
15:54 rambutan joined #koha
15:55 tcohen gmcharlt: I managed to write a unit test for "flat cookie array" :-D
15:55 * druthb comforts oleonard.
15:55 gmcharlt tcohen++
15:56 oleonard I know a unit test for a flat cookie array,but when I'm done they're all gone: http://imgur.com/e71MZ7e
15:57 tcohen heh
15:57 gmcharlt oleonard++
15:58 gmcharlt @quote add <oleonard> I know a unit test for a flat cookie array, but when I'm done they're all gone: http://imgur.com/e71MZ7e
15:58 huginn` gmcharlt: The operation succeeded.  Quote #275 added.
16:03 * cait waves
16:04 cait now i missed the cookies? :)
16:04 cait tcohen: would you be able to help me mock a cgi object? *wonders* i need to write a unit test for a change to the ils-di  auth
16:04 tcohen np
16:06 cait tcohen: hmmm! :)
16:06 cait tcohen: i might work on it a bit during the weekend, i have the patch with the change and a test plan... just really stuck on how to test it :(
16:06 cait automated tested :)
16:07 tcohen i know nothing about ils-di, but can manage to create a proper context for testing a CGI script
16:08 cait :)
16:21 * druthb saved a cookie for cait.
16:22 cait yay!
16:44 * cait thinks tcohen has fled now
16:55 * cait lays out a cookie trap
16:55 huginn` New commit(s) kohagit: Bug 10727: Replace carriage return with when printing hold notices <http://git.koha-community.org/[…]3c440cd9e3594eb8a> / Bug 10656: (follow-up) handle OPAC sorting of authvals where lib_opac is NULL <http://git.koha-community.org/[…]4b503cf53789b75a5> / Bug 10656: improve sorting of shelving location and collections
16:57 rambutan a Malaise trap baited with cookies?  https://en.wikipedia.org/wiki/Malaise_trap
16:59 cait rambutan: mate cookies - for tcohen :)
17:05 oleonard Oh Olivia Leonard, why don't you know your own email address?
17:06 tcohen back from lunch
17:07 tcohen_ joined #koha
17:14 drojf joined #koha
17:14 pastebot "tcohen" at 172.16.248.213 pasted "cait: a sample CGI parameters set test" (11 lines) at http://paste.koha-community.org/201
17:14 cait1 joined #koha
17:17 tcohen cait1?
17:17 wahanui i think cait1 is not sure how much they paid :(
17:19 cait1 oh?
17:19 * cait1 has on idea what wahanui is talking about
17:19 cait1 tcohen:  :)
17:19 cait1 tcohen: was just wondering if you saw my link and might have na idea - but have to switch trains soon now
17:19 * cait1 hands tcohen the mate cookie
17:20 tcohen it will of course depend on what you need on your environment, but it should look like in http://paste.koha-community.org/201
17:21 tcohen oh, that sample test doesn't pass koha-qa :-(
17:22 tcohen :-P
17:22 cait1 tcohen: :P
17:22 cait1 it's a draft!
17:24 tcohen on my UT for the language selection by URL parameter I had to mock the 'C4::Auth::checkauth' method
17:24 cait1 can't load the page, internet too slow :(
17:24 cait1 did you see my pm?
17:24 tcohen yes, my sample is based on what you sent
17:28 cait joined #koha
17:29 cait left #koha
17:30 tcohen #koha: why all { ref($_) eq 'CGI::Cookie' } @cookies
17:30 tcohen raises: "Can't call method "all" without a package or object reference"
17:31 jcamins tcohen: use List::MoreUtils qw(all)?
17:31 tcohen why?
17:32 tcohen oh, I want to use a class method as a static function...
17:32 tcohen thanks jcamins!!
18:06 cait joined #koha
18:06 * cait waves
18:09 cait tcohen: that looks so easy!
18:09 cait i will test it right away
18:09 tcohen :-D
18:10 cait cross fingers? :)
18:10 tcohen how can I cast a veriable to a class?
18:10 cait um
18:10 cait no idea?
18:10 cait :(
18:10 tcohen bless $_, 'CGI::Cookie' ????
18:10 cait no idea?
18:10 cait sorry, but i am not sure if I understand the question even
18:10 jcamins tcohen: what are you trying to do?
18:11 jcamins That would work, I think, but it scares me.
18:11 tcohen any { ($_->name eq 'KohaOpacLanguage') and ($_->value eq 'es-ES') } @cookies
18:11 tcohen looks like I cannot do that on $_
18:12 tcohen its a CGI::Cookie array
18:12 jcamins How about $_->{'name'}?
18:13 tcohen do u like beer jcamins?
18:13 tcohen i owe u one :-D
18:13 * jcamins does not, actually.
18:13 jcamins :D
18:13 tcohen oh
18:13 jcamins I can't drink anything with bubbles.
18:13 jcamins It's really weird.
18:13 jcamins A friend of mine actually brews bubble-less beer for me.
18:13 tcohen heh
18:16 * cait is grateful jcamins showed up
18:19 cait tcohen: looks promising
18:20 drojf1 joined #koha
18:27 mtompset joined #koha
18:27 mtompset Greetings, #koha.
18:27 huginn` New commit(s) kohagit: Bug 10771: remove disused statistical reports cronjobs <http://git.koha-community.org/[…]909f2c1ed7a384bd1>
18:36 oleonard Dear everyone: If you're posting a screencast, consider resizing your browser to just below "freakin' huge" in case someone wants to watch it in a non-maximized window.
18:37 senator oleonard++
18:37 senator pet peeve of mine too
18:39 huginn` New commit(s) kohagit: Bug 10426: Remove unused sub GetCcodes from Koha.pm <http://git.koha-community.org/[…]36e8d446f4bc52a9e>
18:41 cait tcohen++
18:41 cait got it working!
18:41 tcohen cait++
18:44 mtompset karma hug fest!
18:44 wahanui hug fest! has neutral karma
18:44 mtompset oleonard++
18:44 mtompset cait++
18:44 mtompset tcohen++
18:45 mtompset oleonard: What screen size would be best? 800x600?
18:46 oleonard Myself, I choose the smallest size that will most comfortably display the information I'm trying to convey
18:47 mtompset So even 640x480 would okay sometimes?
18:47 oleonard Why not?
18:47 * mtompset shrugs, "I don't see a reason why not."
18:47 mtompset I just know that my 1280x1024 is probably too large for many people.
18:48 jcamins mtompset: a good rule is to take up as little space as possible and as much space as necessary, and make sure that your page will look good at any resolution, smaller or larger.
18:48 cait lol - I wondered why hte test kept failing, then noticed, that of course i haven't changed the routine yet :) tests first!
18:53 pianohacker joined #koha
18:55 oleonard Hi pianohacker
18:56 mtompset Greetings, pianohacker. :)
18:58 tcohen hi mtompset
18:58 tcohen leaving now #koha, have a nice weekend everyone
18:59 oleonard You too tcohen
18:59 mtompset Have a good weekend. :)
19:00 mtompset Better get to the bus stop. Can't afford to be late for my son. :)
19:00 mtompset Have a great day (24 hour period), #koha. :)
19:03 cait tcohen++ again :)
19:04 cait gmcharlt++ too :)
19:06 rambutan Anybody using Perfect Forward Secrecy on their Koha servers? Anybody see a need for PFS on an ILS server?
19:21 dnoe joined #koha
19:21 jwagner joined #koha
19:21 Irma joined #koha
19:21 kathryn joined #koha
19:21 BigRig joined #koha
19:21 moodaepo1 joined #koha
19:21 huginn` joined #koha
19:21 senator joined #koha
19:21 clrh joined #koha
19:21 huginn` Oh no, not this fool again
19:24 collum joined #koha
19:24 matts_away joined #koha
19:24 mtj joined #koha
19:24 aquaman joined #koha
19:24 khall joined #koha
19:25 dbs joined #koha
19:25 druthb_away joined #koha
19:25 tweetbot joined #koha
19:25 gmcharlt joined #koha
19:25 cjh joined #koha
19:25 jcamins joined #koha
19:25 pastebot joined #koha
19:25 drojf joined #koha
19:25 maximep joined #koha
19:25 mcooper joined #koha
19:25 Joubu joined #koha
19:25 phasefx_1 joined #koha
19:25 ibeardslee joined #koha
19:59 oleonard Bye #koha
20:26 collum left #koha
20:34 maximep left #koha
21:17 cait joined #koha
22:19 drnoe_away left #koha
22:23 rambutan left #koha
22:41 tcohen joined #koha
23:14 twirlip joined #koha
23:39 cait left #koha
23:44 tcohen hi every1
23:45 jcamins tcohen: I thought you were out for the weekend?
23:45 tcohen almost :-D
23:46 tcohen gotta cook some knishes for granma's birthday tomorrow
23:47 jcamins :)
23:47 * jcamins loves knishes.
23:48 * tcohen too
23:49 tcohen i've just read in wikipedia that knishes are popular in NYC
23:49 tcohen "The first knish bakery was founded in New York in 1910"
23:50 jcamins I didn't realize that they existed outside of the New York area, actually.
23:50 jcamins Do you bake them or fry them?
23:51 jcamins BTW, l'shana tovah.
23:51 tcohen baked
23:51 tcohen toda rava
23:52 * jcamins likes fried knishes best.
23:53 jcamins Not that I ever make them.
23:53 tcohen never tried actually
23:53 jcamins Actually, we have a knish restaurant a few blocks away.
23:53 tcohen i might try to fry some
23:53 jcamins http://knishnosh.com/
23:53 * tcohen just remembered he got invited to jcamins' if he's around in NYC
23:54 jcamins Indeed you did. You just have to make it to NYC, and you get a nice dinner. :)
23:54 tcohen :)
23:54 tcohen this time its reno, i'm getting closer
23:54 jcamins :)
23:54 jcamins Mmm. Rugelach.
23:55 jcamins I should have planned ahead and made challah.
23:55 tcohen :-D
23:56 tcohen gotta run before the shop closes
23:56 tcohen bye jcamins!
23:56 jcamins So long.
23:56 jcamins Enjoy your knish.
23:59 jcamins *knishs
23:59 jcamins I always forget that knish as a Yiddish word has -s for the plural.

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