[00:24] *** jonnyb has quit IRC (Quit: nite nite)
[00:24] *** RobertPlummer has joined #tikiwiki
[00:26] *** JoernOtt1 has joined #tikiwiki
[00:26] *** JoernOtt has quit IRC (Disconnected by services)
[00:44] *** RobertPlummer has quit IRC (Ping timeout: 248 seconds)
[01:12] *** gillesm has quit IRC (Quit: Quitte)
[01:36] *** Caarrie|away is now known as Caarrie|sleeping
[02:06] *** RobertPlummer has joined #tikiwiki
[02:06] *** RobertPlummer has quit IRC (Client Quit)
[02:06] *** goj has quit IRC (Ping timeout: 240 seconds)
[02:18] *** goj has joined #tikiwiki
[02:30] *** AldenisZen has joined #tikiwiki
[02:31] *** Caarrie has joined #tikiwiki
[02:31] *** Caarrie|sleeping has quit IRC (Disconnected by services)
[02:31] *** Caarrie is now known as Caarrie|sleeping
[03:46] *** nkoth|nelson has joined #tikiwiki
[05:11] *** AldenisZen has quit IRC (Ping timeout: 240 seconds)
[05:15] *** nkoth|nelson has quit IRC (Quit: nkoth|nelson)
[06:23] *** pkdille has quit IRC (Remote host closed the connection)
[06:31] <CIA-68> tikiwiki: 03pkdille * r39126 10/trunk/lib/setup/twversion.class.php: [REL] add 6.5 version change for trunk
[07:28] *** redflo has joined #tikiwiki
[08:05] *** chealer has quit IRC (Ping timeout: 240 seconds)
[08:05] *** chealer_ has joined #tikiwiki
[08:18] *** Wilkins has joined #tikiwiki
[08:29] *** chealer_ has quit IRC (Quit: Konversation terminated!)
[09:10] *** JoernOtt1 has quit IRC (Quit: Leaving.)
[09:10] *** JoernOtt has joined #tikiwiki
[09:16] *** redflo has quit IRC (Quit: Leaving.)
[09:30] *** rodrigoprimo has joined #tikiwiki
[09:38] *** sandroandrade has joined #tikiwiki
[09:41] *** sandroandrade has quit IRC (Remote host closed the connection)
[09:59] *** xavi has joined #tikiwiki
[10:14] *** jonnyb has joined #tikiwiki
[10:38] <CIA-68> tikiwiki: 03sampaioprimo * r39127 10/branches/proposals/6.x/lang/pt-br/language.php: backporting pt-br translations
[10:49] *** gillesm has joined #tikiwiki
[11:31] *** Caarrie|sleeping is now known as Caarrie|away
[11:33] *** gillesm has quit IRC (Quit: Quitte)
[11:40] *** gillesm has joined #tikiwiki
[12:21] *** Trebly has joined #tikiwiki
[12:27] *** ricks99 has joined #tikiwiki
[12:34] <Trebly> <jonnyb> Hi, happy to meet you again here. What do you think about my #4072. The practical incident is closed (it cost  a lot of time to find), because I found in detail de differences between my db and the validated list of patch, but :
[12:34] <Trebly> 1- my analysis
[12:34] <Trebly> 2- my solution for a better and heavy reliability, which is able to be a filter which can filter any error of structure
[12:34] <Trebly> 3- It remains after db data upgrade the risk of failure of coherency , after Mysql coherency checkup, TIKI coherency which need a lot of checkups corresponding to the level of the product linked with upgrades of DB columns and records management rules.
[12:36] <jonnyb> hi Trebly - not sure what you mean by #4072 sorry
[12:39] <ricks99> polom y'all
[12:44] <jonnyb> hi ricks99 
[12:44] <ricks99> has anyone looked/tested 6.5? ok to send annoucements?
[12:50] <jonnyb> sorry, maybe over the w/end
[12:57] <ricks99> k
[12:59] <Trebly> <jonnyb> I published the whislist and bug #4072 (and many others).
[12:59] <Trebly> I got a problem of database.
[12:59] <Trebly> As I had no answer at all, I search the error by trace into the execution.
[12:59] <Trebly> The error was a not coherency into database that the installer couldn't solve and was asking in loop to be run without changing anything.
[12:59] <Trebly> For this problem solution and so that this could not happen anymore to anybody I make proposals.
[12:59] <Trebly> I ask to the developper what they think about, and I first talk to you about this.
[12:59] <Trebly> I  don't know what can be is in project, why nothing more that the actual solution has not been done etc.
[13:05] <jonnyb> why me?
[13:06] <jonnyb> (sorry, very busy)
[13:06] <jonnyb> 
[13:09] <CIA-68> tikiwiki: 03jonnybradley * r39128 10/trunk/ (4 files in 4 dirs): [ENH] unified search: Expose process queue to admin/search and add some simple links for processing it
[13:34] <Trebly> <jonnyb> You specially you, but you know, I believe so, with whom I can study this subject and build an advanced proposal avoiding to work alone in a wrong direction  
[13:35] <Trebly> Sorry miswriting : Not specially you, but you know, I believe so, with whom I can study this subject and build an advanced proposal avoiding to work alone in a wrong direction 
[13:36] <jonnyb> thanks Trebly, but i can't get into anything like this for a while - maybe next month/year?
[13:37] *** gillesm has quit IRC (Quit: Quitte)
[13:53] <Tiki|bot>  New Forum Posts: Check list avec la table des matieres - http://tiki.org/tiki-view_forum_thread.php?forumId=7&comments_parentId=42756
[14:00] *** radek82 has joined #tikiwiki
[15:10] *** nkoth|nelson has joined #tikiwiki
[15:10] *** nkoth|nelson has quit IRC (Client Quit)
[15:11] *** nkoth|nelson has joined #tikiwiki
[15:17] <jonnyb> hi lphuberdeau - is there an existing script to run processUpdateQueue from shell/cron? (i just wrote one anyway but thought i should check - i called it lib/search/shell.php)
[15:26] <lphuberdeau> well, right now, processUpdateQueue kind of gets called on every page, there is no way to skip it
[15:27] <lphuberdeau> it has to be called manually, but there is no global switch to set it off
[15:28] <jonnyb> i'm working on a big tracker that needs lots of items importing often and the queue gets really big, so i want to set up a cron job to process them in the background - what i've done seems to work ok but thought i should check
[15:29] <jonnyb> the call on "sort of every page" can stay though
[15:29] <lphuberdeau> doesn't running once at the end do it?
[15:30] <jonnyb> if you specify the number to process, otherwise it only does 10 of them
[15:30] <jonnyb> and processing 100's times out in the browser
[15:30] <jonnyb> i added a q & d link on admin/search but it's not ideal
[15:31] <jonnyb> i think we should also have an "official" way to be able to do index rebuild from cron, rather than just the devtools script i copied form the doc page a while back
[15:38] <lphuberdeau> sylvie added something for cron and I was thinking we should build on top of that
[15:38] <lphuberdeau> but I never really had time to look into it
[15:39] <jonnyb> the tracker thing? i did think about it but thought something more similar to installer/shell.php seemed better
[15:39] <lphuberdeau> I don't think it had anything to do with trackers
[15:39] <lphuberdeau> just cron job management inside tiki, and you set a single job as cron for everything
[15:40] <jonnyb> ah, newsletters - tiki-batch_send_newsletter.php
[15:42] <jonnyb> can't find anything much else (searching for cron)
[15:44] <lphuberdeau> it was either on doc.t.o/Tiki7 or doc.t.o/Tiki8
[15:47] <jonnyb> aha http://doc.tiki.org/Batch (was tiki 6)
[15:50] <jonnyb> seems quite involved, more to do with changing tracker item status - a simple shell.php in the right place seems cleaner to me
[15:57] *** nkoth|nelson has quit IRC (Quit: nkoth|nelson)
[16:02] <lphuberdeau> your call, might want to ping sylvie to see what she had in mind
[16:04] <jonnyb> ok, i'll probably commit once i've tested some more and then check (running out of week)
[16:05] <lphuberdeau> I know the feeling
[16:05] <jonnyb> while you're there, i was looking into the analyser stuff as i was needing better searching on numbers and i see there is a TextNum analyser in zend but we don't use it - was there a reason do you recall?
[16:08] <lphuberdeau> I didn't need it
[16:08] <jonnyb> :) (i've worked around it now... mostly)
[16:26] *** chealer_ has joined #tikiwiki
[16:29] *** chealer_ is now known as chealer
[16:34] *** RobertPlummer has joined #tikiwiki
[16:36] *** JoernOtt has quit IRC (Quit: Leaving.)
[16:39] <RobertPlummer> lphuberdeau: Did you get my message yesterday about adding a new event, tiki.wiki.view?
[16:39] <lphuberdeau> I did not
[16:39] <RobertPlummer> lphuberdeau: I wanted to run it by you and see what you thought.
[16:40] <lphuberdeau> sounds good, although adding the base tiki.view event for completeness would be good too
[16:40] <RobertPlummer> ok, will do.
[16:40] <RobertPlummer> Thanks
[16:41] <RobertPlummer> lphuberdeau: Another issue, I want to "drop in" a plugin that runs on all tiki pages if needed, how would that best be integrated by using this new tiki.wiki.view event?
[16:42] <lphuberdeau> right now, you'd have to bind some function to the event
[16:42] <lphuberdeau> there isn't really support for discovery at this stage
[16:45] <RobertPlummer> Could we use just use Zend?
[16:51] <RobertPlummer> lphuberdeau: ?
[16:51] <lphuberdeau> that is quite a vague question
[16:52] <lphuberdeau> what component do you have in mind?
[16:53] <RobertPlummer> Just as zend starts up, when our classes are automatically added, couldn't be just add a bind inside one of them?
[16:55] <RobertPlummer> ok of the files
[16:55] <RobertPlummer> for instance, Feed/TextBacklink.php, in that file I could have a bind outside of the class that automatically binds it to the page load event.
[16:56] <lphuberdeau> they are not automatically added
[16:56] <lphuberdeau> the prefix is registered, and when a class is requested, it is loaded
[16:56] <lphuberdeau> that's the __autoload() mechanism in php
[16:57] <RobertPlummer> Ah, very good.
[16:58] <RobertPlummer> So we need to come up with a way to trigger event plugins automatically, right?
[16:59] <lphuberdeau> scanning files evey time is not really an option
[16:59] <RobertPlummer> ok, so tiki-setup it is then.
[17:01] *** AldenisZen has joined #tikiwiki
[17:01] *** xavi2 has joined #tikiwiki
[17:02] <lphuberdeau> event listeners kind of need to be included in lib/setup/events.php before the inheritence is defined
[17:03] *** xavi has quit IRC (Ping timeout: 255 seconds)
[17:09] <RobertPlummer> lphuberdeau: Is all that is needed the following? - 
[17:09] <RobertPlummer> $events->bind('tiki.wiki.view', 'tiki.view');
[17:09] <lphuberdeau> something like that
[17:10] <CIA-68> tikiwiki: 03robertplummer * r39129 10/trunk/lib/setup/events.php: [NEW] Added a new event tiki.wiki.view
[17:10] <RobertPlummer> lphuberdeau: done
[17:17] <RobertPlummer> lphuberdeau: In TikiLib::events()->bind(), how do we run static functions from classes?
[17:18] <lphuberdeau> pretty sure there are samples in that file
[17:20] <RobertPlummer> got it, "Event_Lib::defer"
[17:21] <lphuberdeau> kind of like a normal php callback unless I am mistaken
[17:30] *** Wilkins has quit IRC (Ping timeout: 240 seconds)
[17:30] <lphuberdeau> that's not really a static method
[17:30] <lphuberdeau> it's just any method on a lib registered for TikiLib::lib()
[18:51] *** nkoth|nelson has joined #tikiwiki
[19:01] *** lphuberdeau has quit IRC (Ping timeout: 252 seconds)
[19:02] *** lphuberdeau has joined #tikiwiki
[19:33] *** ricks99 has quit IRC (Quit: Get the best-selling Tiki books (paperback and ebook) at http://www.lulu.com/spotlight/ricks99)
[19:39] <marclaporte> polom
[19:41] <jonnyb> hi marclaporte 
[19:45] *** lphuberdeau has quit IRC (Ping timeout: 268 seconds)
[19:46] *** lphuberdeau has joined #tikiwiki
[19:52] *** gillesm has joined #tikiwiki
[19:53] *** ricks99 has joined #tikiwiki
[19:58] *** lphuberdeau has quit IRC (Ping timeout: 248 seconds)
[20:04] *** rodrigoprimo has quit IRC (Quit: Leaving.)
[20:07] <ricks99> anyone know.. how to get a count of the # of items in a category?
[20:08] <ricks99> i'd like to add the total number of items within the categpath.tpl
[20:10] *** gillesm has quit IRC (Quit: Quitte)
[20:12] *** pkdille has joined #tikiwiki
[20:16] <CIA-68> tikiwiki: 03pkdille * r39130 10/branches/8.x/db/tiki-secdb_8.1_mysql.sql: [REL] Preparing 8.2 release
[20:17] <CIA-68> tikiwiki: 03pkdille * r39131 10/branches/8.x/lib/setup/twversion.class.php: [REL] Preparing 8.2 release
[20:23] <marclaporte> yay 8.2!
[20:24] <CIA-68> tikiwiki: 03pkdille * r39132 10/branches/8.x/README: [REL] Update README file for 8.2
[20:24] <pkdille> hello Marc :-)
[20:25] <jonnyb> hi pkdille - well done with the releases!
[20:27] <pkdille> hello jonny :-) thanks !
[20:27] <ricks99> 8.1/6.5 ... when to b announced?
[20:30] <CIA-68> tikiwiki: 03pkdille * r39133 10/branches/8.x/lang/ (49 files in 49 dirs): [REL] Update language.php files for 8.2
[20:31] <pkdille> Some of us should do some tests before .... maybe in 1 or 2 days .... 6.5 seems to be ok (nobody claimed)....let's wait also with 8.2 (once the job is done...)
[20:31] <CIA-68> tikiwiki: 03pkdille * r39134 10/branches/8.x/changelog.txt: [REL] Update changelog.txt for 8.2
[20:32] <ricks99> i'll plan to send out monday morning.
[20:32] <ricks99> are both only security patches?
[20:33] <pkdille> 6.5 had some security patches and some language translations
[20:33] <pkdille> ...I didn't look into 8.2.... but I guess there are more fixes / patches
[20:33] <ricks99> k.
[20:33] <ricks99> tx
[20:34] <ricks99> anyone know how to get # of items in a category? ^^^
[20:35] <CIA-68> tikiwiki: 03pkdille * r39135 10/branches/8.x/copyright.txt: [REL] Update copyright.txt for 8.2
[20:37] <CIA-68> tikiwiki: 03pkdille * r39136 10/branches/8.x/db/tiki-secdb_8.2_mysql.sql: [REL] SecDB for 8.2
[20:42] <jonnyb> ricks99: try $categlib->get_category_objects($id)
[20:42] <jonnyb> doesn't look like there's one to just get the count
[20:42] <CIA-68> tikiwiki: 03pkdille * r39137 10/tags/8.2/: [REL] Tagging release
[20:43] <ricks99> what does that return? an array of all items in category $id?
[20:44] <ricks99> gotta be some existing way (i haven't found it yet) -- on the tree when browsing categories, we display the count
[20:44] <jonnyb> sorry, can't go digging now - get_category_objects probably returns an array with 'cant' and 'data' in it
[20:45] <ricks99> k. tx for the pointer
[20:46] <jonnyb> try looking in tiki-browse_categories.php (and tpl) for how it's done there
[20:48] <ricks99> it just calls $tree :(
[20:48] *** marclaporte has quit IRC (Read error: Connection reset by peer)
[20:49] <jonnyb> probably even slower if you just want the count
[20:49] <RobertPlummer> jonnyb: hi
[20:50] <jonnyb> hi RobertPlummer 
[20:50] <RobertPlummer> jonnyb: I started integrating rangy, as you know, and I like it, it seems to work well.  There is a function called "serialize" in it that gets the dom object offsets of each object that is highlighted and returns it as a string.
[20:51] <RobertPlummer> It is awesome!,  the page highlights without giving any text, the problem is that it is very very unreliable even within the same browser.
[20:52] <RobertPlummer> I was wondering, do you know of a way to compare text on a php level that allows for some dom modification so that I can re-highlight based off that?
[20:52] <RobertPlummer> I was thinking of sending the highlighted text back to the server and getting a serialized position of the highlighted text.
[20:52] <RobertPlummer> but dom is always flacky.
[20:52] <jonnyb> not off hand - do you know xpath?
[20:54] <RobertPlummer> I do, but even still, I don't think that would be the answer.
[20:54] <RobertPlummer> There must be a better way!
[20:55] <jonnyb> there's an xml thing in PEAR, but it's v tricky on html
[20:55] <RobertPlummer> highlighted text is no good to convert to html, highlighted text doesn't have to be html compliant, meaning you can select the bottom of a table, or half of one object and another of the next.
[20:57] <RobertPlummer> If I had my new parser written, this would be easy.
[20:57] <jonnyb> :D
[21:00] <RobertPlummer> jonnyb: I was thinking of writing a regex that was basically the highlighted text.
[21:00] <RobertPlummer> putting a "." between each word.
[21:00] <RobertPlummer> It would probably work....
[21:01] <RobertPlummer> probably ;)
[21:02] <jonnyb> what's this for?
[21:02] <RobertPlummer> TextBacklink protocol.
[21:02] <RobertPlummer> It is pretty complicated.
[21:03] <RobertPlummer> I can show you the specs if you want to see them.
[21:05] <jonnyb> sorry, no spare brain-bandwidth, deep in a huge tracker...
[21:17] *** ricks99 has quit IRC (Quit: Get the best-selling Tiki books (paperback and ebook) at http://www.lulu.com/spotlight/ricks99)
[21:23] <xavi2> polom
[21:24] <xavi2> reading backlog from today
[21:24] <jonnyb> polom xavi2 
[21:25] <pkdille> hello xavi
[21:25] <pkdille> 8.2 is now alive :-)
[21:25] <pkdille> the packages are on sourceforge
[21:26] <pkdille> I've just tested the tar.gz which seems to install, but i didn't do any further tests
[21:28] <jonnyb> thanks pkdille - i'll try and test over the weekend (but the packaging script has been pretty reliable for several versions now)
[21:28] *** xavi2 is now known as xavi
[21:29] <xavi> hi jonnyb & pkdille
[21:29] * xavi still reading (lots of activity today in irc it seems)
[21:34] <xavi> congrats pkdille and all involved for the packaging of 6.5 and 8.2!
[21:34] <xavi> I can give a go to one package
[21:35] <xavi> we are in a wooden house in a camping next to the Pyriness, and some free time in front of me while watching a movie :-)
[21:35] <xavi> long time with no relaxing night like these last days ... :-)
[21:36] <jonnyb> sounds nice xavi - except for the movie maybe?
[21:36] <xavi> :-D
[21:36] <xavi> Gloria watching a movie... me relaxing and chatting on irc  ;-)
[21:36] <xavi> greetings from Gloria
[21:36] <RobertPlummer> jonnyb: I found the answer I think ;).  Just make sure there is a good root to select from with rangy.
[21:36] <RobertPlummer> problem averted.
[21:36] <RobertPlummer> polom xavi!
[21:36] <RobertPlummer> I have to head out in a few.
[21:37] <xavi> polom RobertPlummer :-)
[21:37] * jonnyb wonders why he didn't investigate properly when the client said "a few thousand items"
[21:37] <xavi> :-)
[21:37] <xavi> jonnyb: how many thousands?
[21:37] <xavi> isn't csv import enough?
[21:37] <jonnyb> 15+  :O 
[21:37] <xavi> (sory to disturb you brain bandwidth)
[21:38] <xavi> s/sory/sorry
[21:38] <xavi> ok
[21:38] <xavi> and csv import trigger timeout or something?
[21:38] <jonnyb> i have intermittent gaps while rebuilding stuff
[21:38] <xavi> ah, ok, not nice
[21:39] *** redflo has joined #tikiwiki
[21:39] <jonnyb> i've written a sprawling great script that is supposed to just import (and update) modified ones
[21:39] <xavi> ok
[21:40] <jonnyb> i'll try and commit an example (or stick it on dev.t.o somewhere)
[21:54] *** RobertPlummer has quit IRC (Ping timeout: 244 seconds)
[22:14] *** fabricius has joined #tikiwiki
[22:14] <fabricius> polom
[22:16] <jonnyb> hi fabricius 
[22:16] <fabricius> ah nice jonnyb - long time no see ;-)
[22:17] <jonnyb> indeed - been madness past few weeks
[22:39] *** pkdille has quit IRC (Remote host closed the connection)
[23:01] <jonnyb> nite all...
[23:01] *** jonnyb has quit IRC (Quit: I am going outside... I may be some time...)
[23:01] *** radek82 has quit IRC (Quit: Leaving)
[23:19] *** Trebly has quit IRC (Ping timeout: 268 seconds)
[23:30] *** redflo has quit IRC (Quit: Leaving.)
[23:36] *** Trebly has joined #tikiwiki
[23:58] *** xavi has left