tikiwiki: 03pkdille * r39126 10/trunk/lib/setup/twversion.class.php: [REL] add 6.5 version change for trunk tikiwiki: 03sampaioprimo * r39127 10/branches/proposals/6.x/lang/pt-br/language.php: backporting pt-br translations 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 : 1- my analysis 2- my solution for a better and heavy reliability, which is able to be a filter which can filter any error of structure 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. hi Trebly - not sure what you mean by #4072 sorry polom y'all hi ricks99 has anyone looked/tested 6.5? ok to send annoucements? sorry, maybe over the w/end k I published the whislist and bug #4072 (and many others). I got a problem of database. As I had no answer at all, I search the error by trace into the execution. 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. For this problem solution and so that this could not happen anymore to anybody I make proposals. I ask to the developper what they think about, and I first talk to you about this. I don't know what can be is in project, why nothing more that the actual solution has not been done etc. why me? (sorry, very busy)  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 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 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 thanks Trebly, but i can't get into anything like this for a while - maybe next month/year? New Forum Posts: Check list avec la table des matieres - http://tiki.org/tiki-view_forum_thread.php?forumId=7&comments_parentId=42756 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) well, right now, processUpdateQueue kind of gets called on every page, there is no way to skip it it has to be called manually, but there is no global switch to set it off 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 the call on "sort of every page" can stay though doesn't running once at the end do it? if you specify the number to process, otherwise it only does 10 of them and processing 100's times out in the browser i added a q & d link on admin/search but it's not ideal 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 sylvie added something for cron and I was thinking we should build on top of that but I never really had time to look into it the tracker thing? i did think about it but thought something more similar to installer/shell.php seemed better I don't think it had anything to do with trackers just cron job management inside tiki, and you set a single job as cron for everything ah, newsletters - tiki-batch_send_newsletter.php can't find anything much else (searching for cron) it was either on doc.t.o/Tiki7 or doc.t.o/Tiki8 aha http://doc.tiki.org/Batch (was tiki 6) seems quite involved, more to do with changing tracker item status - a simple shell.php in the right place seems cleaner to me your call, might want to ping sylvie to see what she had in mind ok, i'll probably commit once i've tested some more and then check (running out of week) I know the feeling 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? I didn't need it :) (i've worked around it now... mostly) lphuberdeau: Did you get my message yesterday about adding a new event, tiki.wiki.view? I did not lphuberdeau: I wanted to run it by you and see what you thought. sounds good, although adding the base tiki.view event for completeness would be good too ok, will do. Thanks 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? right now, you'd have to bind some function to the event there isn't really support for discovery at this stage Could we use just use Zend? lphuberdeau: ? that is quite a vague question what component do you have in mind? Just as zend starts up, when our classes are automatically added, couldn't be just add a bind inside one of them? ok of the files 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. they are not automatically added the prefix is registered, and when a class is requested, it is loaded that's the __autoload() mechanism in php Ah, very good. So we need to come up with a way to trigger event plugins automatically, right? scanning files evey time is not really an option ok, so tiki-setup it is then. event listeners kind of need to be included in lib/setup/events.php before the inheritence is defined lphuberdeau: Is all that is needed the following? - $events->bind('tiki.wiki.view', 'tiki.view'); something like that tikiwiki: 03robertplummer * r39129 10/trunk/lib/setup/events.php: [NEW] Added a new event tiki.wiki.view lphuberdeau: done lphuberdeau: In TikiLib::events()->bind(), how do we run static functions from classes? pretty sure there are samples in that file got it, "Event_Lib::defer" kind of like a normal php callback unless I am mistaken that's not really a static method it's just any method on a lib registered for TikiLib::lib() polom hi marclaporte anyone know.. how to get a count of the # of items in a category? i'd like to add the total number of items within the categpath.tpl tikiwiki: 03pkdille * r39130 10/branches/8.x/db/tiki-secdb_8.1_mysql.sql: [REL] Preparing 8.2 release tikiwiki: 03pkdille * r39131 10/branches/8.x/lib/setup/twversion.class.php: [REL] Preparing 8.2 release yay 8.2! tikiwiki: 03pkdille * r39132 10/branches/8.x/README: [REL] Update README file for 8.2 hello Marc :-) hi pkdille - well done with the releases! hello jonny :-) thanks ! 8.1/6.5 ... when to b announced? tikiwiki: 03pkdille * r39133 10/branches/8.x/lang/ (49 files in 49 dirs): [REL] Update language.php files for 8.2 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...) tikiwiki: 03pkdille * r39134 10/branches/8.x/changelog.txt: [REL] Update changelog.txt for 8.2 i'll plan to send out monday morning. are both only security patches? 6.5 had some security patches and some language translations ...I didn't look into 8.2.... but I guess there are more fixes / patches k. tx anyone know how to get # of items in a category? ^^^ tikiwiki: 03pkdille * r39135 10/branches/8.x/copyright.txt: [REL] Update copyright.txt for 8.2 tikiwiki: 03pkdille * r39136 10/branches/8.x/db/tiki-secdb_8.2_mysql.sql: [REL] SecDB for 8.2 ricks99: try $categlib->get_category_objects($id) doesn't look like there's one to just get the count tikiwiki: 03pkdille * r39137 10/tags/8.2/: [REL] Tagging release what does that return? an array of all items in category $id? gotta be some existing way (i haven't found it yet) -- on the tree when browsing categories, we display the count sorry, can't go digging now - get_category_objects probably returns an array with 'cant' and 'data' in it k. tx for the pointer try looking in tiki-browse_categories.php (and tpl) for how it's done there it just calls $tree :( probably even slower if you just want the count jonnyb: hi hi 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. It is awesome!, the page highlights without giving any text, the problem is that it is very very unreliable even within the same browser. 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? I was thinking of sending the highlighted text back to the server and getting a serialized position of the highlighted text. but dom is always flacky. not off hand - do you know xpath? I do, but even still, I don't think that would be the answer. There must be a better way! there's an xml thing in PEAR, but it's v tricky on html 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. If I had my new parser written, this would be easy. :D jonnyb: I was thinking of writing a regex that was basically the highlighted text. putting a "." between each word. It would probably work.... probably ;) what's this for? TextBacklink protocol. It is pretty complicated. I can show you the specs if you want to see them. sorry, no spare brain-bandwidth, deep in a huge tracker... polom reading backlog from today polom xavi2 hello xavi 8.2 is now alive :-) the packages are on sourceforge I've just tested the tar.gz which seems to install, but i didn't do any further tests thanks pkdille - i'll try and test over the weekend (but the packaging script has been pretty reliable for several versions now) hi jonnyb & pkdille congrats pkdille and all involved for the packaging of 6.5 and 8.2! I can give a go to one package 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 :-) long time with no relaxing night like these last days ... :-) sounds nice xavi - except for the movie maybe? :-D Gloria watching a movie... me relaxing and chatting on irc ;-) greetings from Gloria jonnyb: I found the answer I think ;). Just make sure there is a good root to select from with rangy. problem averted. polom xavi! I have to head out in a few. polom RobertPlummer :-) :-) jonnyb: how many thousands? isn't csv import enough? 15+ :O (sory to disturb you brain bandwidth) s/sory/sorry ok and csv import trigger timeout or something? i have intermittent gaps while rebuilding stuff ah, ok, not nice i've written a sprawling great script that is supposed to just import (and update) modified ones ok i'll try and commit an example (or stick it on dev.t.o somewhere) polom hi fabricius ah nice jonnyb - long time no see ;-) indeed - been madness past few weeks nite all...