IRC log for #koha, 2008-04-25

Today | Next day → | Search | Index

All times shown according to UTC.

Time Nick Message
15:54 owen wb newlogbot
15:54 anyone know why the "Dropbox mode" section of returns.tmpl says "fixme" ?
15:58 acmoore I have a patch that needs to make a database change. is there a policy on database version numbers in updatedatabase.pl to prevent me from stepping on the toes of someone else who's making a similar change right now?
15:58 nengard question about network printers - can someone give me an example of what to enter in each of the three fields? (printer name, queue, type) ... and where do these come from - do they just match the printer settings on your computer?
15:58 owen acmoore, you have to call it, like shotgun
15:58 gmcharlt acmoore: I have 074, but won't be able to commit today - why don't you take it
15:59 acmoore owen, thanks. Is there a running list of who is sitting where so far?
15:59 frederic hello
15:59 gmcharlt acmoore: no; so far QA and RM resolve clashes
15:59 acmoore gmcharlt, does that goof you up at all?
15:59 kados acmoore: yea, I'm fine resolving any conflicts
15:59 gmcharlt acmoore: no, easy for me to deal with
15:59 kados it's a two line fix generally
15:59 acmoore OK. so, I get $DBversion = "3.00.00.074";
15:59 kados I usually edit the patch directly
15:59 acmoore: go for it
16:00 acmoore: I'll test your patch soon as I get it
16:00 acmoore hizzah!
16:03 cait hi #koha
16:03 is it possible to update my koha and get all the nice patches ive seen on the git-page?
16:05 kados cait: yea, you can either download a snapshot, and upgrade, or run in 'dev' mode and rebase every day
16:06 cait first: wheres the difference?
16:06 and second: is there a manual for upgrading somewhere?
16:06 i thought i saw one but cant find it now :(
16:06 kados cait: the INSTALL and INSTALL.debian files have some hints
16:09 cait aah i deleted them from desktop... *sigh*
16:09 but i have another question
16:09 can i mail my improved geman .po-files to you at the end of the weekend?
16:11 i changed a lot and although its not complete i think its really better now than before
16:16 ah, instructions for updating found, thanks for the hint :)
16:24 kados cait: yes, please do
16:24 cait: I will upload it to translate.koha.org
16:24 and add it to Koha's git repo to appear in the release
16:29 cait thx kados
16:36 nengard question about managing suggestions - i talked to hdl about the updates he made - but one part doesn't do what i'd expect it to do.  when on the manage suggestions page if I choose a reason and click the 'mark all with this reason' link nothing happens - i'd expect for all items to be marked with this reason
16:36 URL: koha/suggestion/acceptorrejec​t.pl?op=aorr_confirm#markall
16:37 hdl nengard: the problem was solved by owen.
16:37 as far as i know.
16:37 owen Has that patch been approved?
16:37 nengard hdl do you know when? i just got a new install today and it still doesn't work
16:38 ahh - i guess not yet owen
16:38 but it's good to know it's coming
16:41 kados nengard: I think that patch should be applied now on your install
16:41 nengard: give it a shot
16:41 nengard kados++
16:41 kados nengard: we're talking about owen's patch, right?
16:41 nengard kados it worked - and yes we are
16:41 kados w00t
16:44 owen: have you seen Frederick's YUI Rich Text editor patch (second one)
16:45 owen No, I haven't
16:45 kados - Include a link to YUI SimpleEditor widget. So it's available                                                                                                                                                  
16:45 everywhere in the intranet interface.                                                                                                                                                                        
16:45 - Import locally all required files in yui directory.                                                                                                                                                          
16:45 - Use YUI SimpleEditor in Koha news editor.
16:46 introduces quite a few changes
16:46 mostly additional css,png/js files
16:47 owen A link everywhere for YUI editor widget? Does that mean to convert any textarea to a YUI editor?
16:47 kados I don't think it's quite that comprehensive
16:47 the patch was sent to the list, if you get some time later, have a look, let me know what you think
16:48 owen Okay
17:09 nengard For managing suggestions - looks like there is a character limit on the title field - this may not be a problem, but i entered a title that got chopped off
17:10 hdl kados : frederic is questionning me about the patch workflow.
17:11 do you have a second ?
17:11 kados hdl: sure do
17:11 hdl he sent some patches.
17:11 including one about GoogleBookSearch
17:11 owen nengard: The field in the database is limited to 80 characters, which I agree isn't big enough.
17:11 hdl that he really wants to have included.
17:12 kados hdl: I have added it already
17:12 nengard owen do you want me to submit a bug or are you just going to fix it when you have time?
17:12 kados hdl: bit it is modified from his version, so that you can have google, amazon, or baker and taylor on
17:12 hdl: he can test by creating a new syspref called GoogleJackets
17:12 hdl: and turning it ON
17:12 owen I don't do database modifications, so please file a bug
17:13 hdl sure owen : it should be text or longtext.
17:13 owen hdl: even 255 characters would probably suffice.
17:14 Or maybe it's not worth limiting
17:14 hdl You don't know french librarians :D
17:14 frederic Could someone clarify how the patch submission process work? Several patches I've submitted hadn't been applies, which is great since it means someone tested them, I suppose, and found a reason not to keep them. But I didn't have any feedback. Recently, I received a reject notification from hdl which help to find a solution. But at several occasions, the patches just disappeared.
17:14 Aaahh ok for GoogleBook...
17:15 hdl your YUI editor patch is being inquired and tested.
17:15 frederic hdl: thanks. I'm reading that.
17:16 hdl It seems you could explaine a little bit further : > A link everywhere for YUI editor widget? Does that mean to convert any textarea to a YUI editor?
17:16 Is there any other patch ?
17:16 The one with facets maybe ?
17:17 frederic hdl: yes, GoogleBook (I will take a look on Kados integration) and facets
17:18 hdl your facets modification was quite.... a big trouble for me.
17:18 Modifying all the setup just to have facets in french... quite puzzled me.
17:19 I tried to think of an other possibility.
17:19 frederic A link to YUI Editor is added on every pages. To transform a <textarea> into a YUI SimpleEditor, you just have to code a JavaScript line: example in koha-news.tmpl
17:19 I can open, a server if someone (owen) want to see it in action
17:20 owen Yes, I'd like to see it
17:21 frederic hdl: the other advantage of my solution is that you can tansform any field into a facet. Just like you can add a zebra index modifying zebra config files. That the reason why I do with a text config file put in zebra config file directory
17:22 owen: One minute... I start a server and revert to the appropriate branch
17:22 hdl what about having the facets in the database with their name in the language and a flag that enable facets ?
17:23 kados I think we should just put them in the template for translation
17:24 frederic kados: This way if you want to add a facet, you will have to modify template rather than a config file
17:29 owen: try http://lesc.koha.tamil.fr:8080 -- user test, password test
17:30 if you look at source code, you will see that css,js and resources files are from Yahoo server. But if you turn yuipath it still works
17:31 yui path locally
17:33 owen So when you said "- Include a link to YUI SimpleEditor widget" you mean link to the js source in the global <head> include
17:34 I thought you meant link as in <a href=""></a>
17:34 I would say we need a rich text editor rarely enough that we shouldn't include it globally
17:34 hdl YUi editor is used in News ?
17:35 at least it should never be used in cataloguing
17:37 kados I think the overhead of loading that library with every page probably isn't worth it overall
17:37 except on pages where it's used
17:42 frederic yes, it's globally included. This way if you want to add rich text editor anywhere else, you just have to few lines of javascript in a template
17:42 all those files are cached by web browser, so there isn't any performance issue
17:42 Files are only load the first time
17:43 owen Still, there's no reason to include them globally if they're used in only a few places. If someone wants to edit the template to add the editor, they can add anything they need then.
17:46 frederic owen: My opinion is the exact contrary for the reason I've given: caching. All references to YUI stuff shoul be put in one place, not manually in every template. Otherwise, you end having multiple references to the same files.
17:47 owen frederic: it's just a matter of moving the links to the javascript files from the global include to the top of a couple of templates
17:47 There's no duplication
17:48 frederic owen: ok. As you want. " C
17:49 "Include a link to YUI SimpleEditor widget" means adding those lines of JS:
17:49 var editor = new YAHOO.widget.SimpleEditor('...
17:50 etc. about 8 lines
17:51 And with your method, adding two lines to reference simpleeditor.css and simpleditor-beta-min.js
17:51 hdl frederic: i donot think there is any caching on pages at the moment.
17:51 iirc, there is a cache parameter set to 0 on every page.
17:52 frederic hdl: caching is done automatically by web browser for static resources: css, js, images, etc.
17:52 hdl is it done when cache is set to 0 ?
17:53 frederic hdl: good question?
17:53 owen hdl, what do you mean there is a cache parameter set to 0 on every page?
17:54 You mean the HTTP headers?
17:54 frederic For me, static files are cached in Firefox. I just verified with Firebug
17:56 hdl sub output_html_with_http_headers ($$$) {
17:56    my($query, $cookie, $html) = @_;
17:56    print $query->header(
17:56        -type    => 'text/html',
17:56        -charset => 'UTF-8',
17:56        -cookie  => $cookie,
17:56        -Pragma => 'no-cache',
17:56        -'Cache-Control' => 'no-cache',
17:56
17:56 cait kados: i managed to update koha, thx again
17:57 kados hdl: that is just for pages, not for external content
17:57 hdl: the cache settings for things like images, js, etc., is controlled by your apache settings
17:59 hdl oh.
17:59 i note that$
18:01 frederic yes, cache-control Apache directive how static resources must be cached by client web browser. I suppose Yahoo cache its contents appropriatly (its interest)
18:57 tim When I click on a series in opac-detail.pl in koha3, I get no results.
18:58 koha-opac-error_log shows  opac-search.pl: WARNING: query problem with series=Pendragon  ZOOM error 10014 "CCL parsing error" (addinfo: "Unknown qualifier") from diag-set 'ZOOM' at /usr/share/koha/lib/C4/Search.pm line 382., referer: http://192.168.1.4/cgi-bin/koh[…]=series:Pendragon
19:00 kados tim: that looks like a potential bug
19:00 tim: can you try editing the template and changing series to se
19:00 so the link becomes http://192.168.1.4/cgi-bin/koh[…]pl?q=se:Pendragon
19:00 (or just try that search directly
19:01 tim That worked.
19:01 I just tried the search directly.
19:02 kados tim: wanna submit a patch? :-)
19:02 tim: I'll walk you through the process if you have the time
19:03 tim: and your name will go up in lights :-)
19:03 owen Or: I'm editing opac-detail right now, I can make the change
19:03 (not that I want to steal tim's potential fame!)
19:03 kados hehe
19:04 owen: go ahead, tim and I can find something else if he's interested
19:05 tim I should've asked this earlier.  I'd like to know how to do that, but the school gets out early today and any minute I'm gonna be up to my ears in kids.
19:06 kados tim: no worries ... when you're available let me know
19:06 tim: we also have a pretty detailed wiki page on the topic
19:06 tim: http://wiki.koha.org/doku.php?[…]lopment:git_usage
19:07 tim I'll bookmark that.
20:52 mc good night koha people
10:30 hdl gmcharlt_: kados ?
11:47 hi nengard
11:47 !list
11:47 nengard hiya hdl
11:47 hdl how are you ?
11:48 nengard doing okay
11:49 you?

Today | Next day → | Search | Index

koha1