[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] 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] 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] 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] 1- my analysis [12:34] 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] 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] hi Trebly - not sure what you mean by #4072 sorry [12:39] polom y'all [12:44] hi ricks99 [12:44] has anyone looked/tested 6.5? ok to send annoucements? [12:50] sorry, maybe over the w/end [12:57] k [12:59] I published the whislist and bug #4072 (and many others). [12:59] I got a problem of database. [12:59] As I had no answer at all, I search the error by trace into the execution. [12:59] 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] For this problem solution and so that this could not happen anymore to anybody I make proposals. [12:59] I ask to the developper what they think about, and I first talk to you about this. [12:59] I don't know what can be is in project, why nothing more that the actual solution has not been done etc. [13:05] why me? [13:06] (sorry, very busy) [13:06]  [13:09] 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] 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] 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] 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] 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] 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] well, right now, processUpdateQueue kind of gets called on every page, there is no way to skip it [15:27] it has to be called manually, but there is no global switch to set it off [15:28] 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] the call on "sort of every page" can stay though [15:29] doesn't running once at the end do it? [15:30] if you specify the number to process, otherwise it only does 10 of them [15:30] and processing 100's times out in the browser [15:30] i added a q & d link on admin/search but it's not ideal [15:31] 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] sylvie added something for cron and I was thinking we should build on top of that [15:38] but I never really had time to look into it [15:39] the tracker thing? i did think about it but thought something more similar to installer/shell.php seemed better [15:39] I don't think it had anything to do with trackers [15:39] just cron job management inside tiki, and you set a single job as cron for everything [15:40] ah, newsletters - tiki-batch_send_newsletter.php [15:42] can't find anything much else (searching for cron) [15:44] it was either on doc.t.o/Tiki7 or doc.t.o/Tiki8 [15:47] aha http://doc.tiki.org/Batch (was tiki 6) [15:50] 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] your call, might want to ping sylvie to see what she had in mind [16:04] ok, i'll probably commit once i've tested some more and then check (running out of week) [16:05] I know the feeling [16:05] 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] I didn't need it [16:08] :) (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] lphuberdeau: Did you get my message yesterday about adding a new event, tiki.wiki.view? [16:39] I did not [16:39] lphuberdeau: I wanted to run it by you and see what you thought. [16:40] sounds good, although adding the base tiki.view event for completeness would be good too [16:40] ok, will do. [16:40] Thanks [16:41] 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] right now, you'd have to bind some function to the event [16:42] there isn't really support for discovery at this stage [16:45] Could we use just use Zend? [16:51] lphuberdeau: ? [16:51] that is quite a vague question [16:52] what component do you have in mind? [16:53] Just as zend starts up, when our classes are automatically added, couldn't be just add a bind inside one of them? [16:55] ok of the files [16:55] 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] they are not automatically added [16:56] the prefix is registered, and when a class is requested, it is loaded [16:56] that's the __autoload() mechanism in php [16:57] Ah, very good. [16:58] So we need to come up with a way to trigger event plugins automatically, right? [16:59] scanning files evey time is not really an option [16:59] ok, so tiki-setup it is then. [17:01] *** AldenisZen has joined #tikiwiki [17:01] *** xavi2 has joined #tikiwiki [17:02] 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] lphuberdeau: Is all that is needed the following? - [17:09] $events->bind('tiki.wiki.view', 'tiki.view'); [17:09] something like that [17:10] tikiwiki: 03robertplummer * r39129 10/trunk/lib/setup/events.php: [NEW] Added a new event tiki.wiki.view [17:10] lphuberdeau: done [17:17] lphuberdeau: In TikiLib::events()->bind(), how do we run static functions from classes? [17:18] pretty sure there are samples in that file [17:20] got it, "Event_Lib::defer" [17:21] kind of like a normal php callback unless I am mistaken [17:30] *** Wilkins has quit IRC (Ping timeout: 240 seconds) [17:30] that's not really a static method [17:30] 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] polom [19:41] 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] anyone know.. how to get a count of the # of items in a category? [20:08] 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] tikiwiki: 03pkdille * r39130 10/branches/8.x/db/tiki-secdb_8.1_mysql.sql: [REL] Preparing 8.2 release [20:17] tikiwiki: 03pkdille * r39131 10/branches/8.x/lib/setup/twversion.class.php: [REL] Preparing 8.2 release [20:23] yay 8.2! [20:24] tikiwiki: 03pkdille * r39132 10/branches/8.x/README: [REL] Update README file for 8.2 [20:24] hello Marc :-) [20:25] hi pkdille - well done with the releases! [20:27] hello jonny :-) thanks ! [20:27] 8.1/6.5 ... when to b announced? [20:30] tikiwiki: 03pkdille * r39133 10/branches/8.x/lang/ (49 files in 49 dirs): [REL] Update language.php files for 8.2 [20:31] 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] tikiwiki: 03pkdille * r39134 10/branches/8.x/changelog.txt: [REL] Update changelog.txt for 8.2 [20:32] i'll plan to send out monday morning. [20:32] are both only security patches? [20:33] 6.5 had some security patches and some language translations [20:33] ...I didn't look into 8.2.... but I guess there are more fixes / patches [20:33] k. [20:33] tx [20:34] anyone know how to get # of items in a category? ^^^ [20:35] tikiwiki: 03pkdille * r39135 10/branches/8.x/copyright.txt: [REL] Update copyright.txt for 8.2 [20:37] tikiwiki: 03pkdille * r39136 10/branches/8.x/db/tiki-secdb_8.2_mysql.sql: [REL] SecDB for 8.2 [20:42] ricks99: try $categlib->get_category_objects($id) [20:42] doesn't look like there's one to just get the count [20:42] tikiwiki: 03pkdille * r39137 10/tags/8.2/: [REL] Tagging release [20:43] what does that return? an array of all items in category $id? [20:44] gotta be some existing way (i haven't found it yet) -- on the tree when browsing categories, we display the count [20:44] sorry, can't go digging now - get_category_objects probably returns an array with 'cant' and 'data' in it [20:45] k. tx for the pointer [20:46] try looking in tiki-browse_categories.php (and tpl) for how it's done there [20:48] it just calls $tree :( [20:48] *** marclaporte has quit IRC (Read error: Connection reset by peer) [20:49] probably even slower if you just want the count [20:49] jonnyb: hi [20:50] hi RobertPlummer [20:50] 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] 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] 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] I was thinking of sending the highlighted text back to the server and getting a serialized position of the highlighted text. [20:52] but dom is always flacky. [20:52] not off hand - do you know xpath? [20:54] I do, but even still, I don't think that would be the answer. [20:54] There must be a better way! [20:55] there's an xml thing in PEAR, but it's v tricky on html [20:55] 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] If I had my new parser written, this would be easy. [20:57] :D [21:00] jonnyb: I was thinking of writing a regex that was basically the highlighted text. [21:00] putting a "." between each word. [21:00] It would probably work.... [21:01] probably ;) [21:02] what's this for? [21:02] TextBacklink protocol. [21:02] It is pretty complicated. [21:03] I can show you the specs if you want to see them. [21:05] 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] polom [21:24] reading backlog from today [21:24] polom xavi2 [21:25] hello xavi [21:25] 8.2 is now alive :-) [21:25] the packages are on sourceforge [21:26] I've just tested the tar.gz which seems to install, but i didn't do any further tests [21:28] 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] hi jonnyb & pkdille [21:29] * xavi still reading (lots of activity today in irc it seems) [21:34] congrats pkdille and all involved for the packaging of 6.5 and 8.2! [21:34] I can give a go to one package [21:35] 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] long time with no relaxing night like these last days ... :-) [21:36] sounds nice xavi - except for the movie maybe? [21:36] :-D [21:36] Gloria watching a movie... me relaxing and chatting on irc ;-) [21:36] greetings from Gloria [21:36] jonnyb: I found the answer I think ;). Just make sure there is a good root to select from with rangy. [21:36] problem averted. [21:36] polom xavi! [21:36] I have to head out in a few. [21:37] polom RobertPlummer :-) [21:37] * jonnyb wonders why he didn't investigate properly when the client said "a few thousand items" [21:37] :-) [21:37] jonnyb: how many thousands? [21:37] isn't csv import enough? [21:37] 15+ :O [21:37] (sory to disturb you brain bandwidth) [21:38] s/sory/sorry [21:38] ok [21:38] and csv import trigger timeout or something? [21:38] i have intermittent gaps while rebuilding stuff [21:38] ah, ok, not nice [21:39] *** redflo has joined #tikiwiki [21:39] i've written a sprawling great script that is supposed to just import (and update) modified ones [21:39] ok [21:40] 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] polom [22:16] hi fabricius [22:16] ah nice jonnyb - long time no see ;-) [22:17] indeed - been madness past few weeks [22:39] *** pkdille has quit IRC (Remote host closed the connection) [23:01] 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