***: RobertPlummer has joined #tikiwiki
JoernOtt1 has joined #tikiwiki
JoernOtt has quit IRC (Disconnected by services)
RobertPlummer has quit IRC (Ping timeout: 248 seconds)
gillesm has quit IRC (Quit: Quitte)
Caarrie|away is now known as Caarrie|sleeping
RobertPlummer has joined #tikiwiki
RobertPlummer has quit IRC (Client Quit)
goj has quit IRC (Ping timeout: 240 seconds)
goj has joined #tikiwiki
AldenisZen has joined #tikiwiki
Caarrie has joined #tikiwiki
Caarrie|sleeping has quit IRC (Disconnected by services)
Caarrie is now known as Caarrie|sleeping
nkoth|nelson has joined #tikiwiki
AldenisZen has quit IRC (Ping timeout: 240 seconds)
nkoth|nelson has quit IRC (Quit: nkoth|nelson)
pkdille has quit IRC (Remote host closed the connection)
CIA-68: tikiwiki: 03pkdille * r39126 10/trunk/lib/setup/twversion.class.php: [REL] add 6.5 version change for trunk
***: redflo has joined #tikiwiki
chealer has quit IRC (Ping timeout: 240 seconds)
chealer_ has joined #tikiwiki
Wilkins has joined #tikiwiki
chealer_ has quit IRC (Quit: Konversation terminated!)
JoernOtt1 has quit IRC (Quit: Leaving.)
JoernOtt has joined #tikiwiki
redflo has quit IRC (Quit: Leaving.)
rodrigoprimo has joined #tikiwiki
sandroandrade has joined #tikiwiki
sandroandrade has quit IRC (Remote host closed the connection)
xavi has joined #tikiwiki
jonnyb has joined #tikiwiki
CIA-68: tikiwiki: 03sampaioprimo * r39127 10/branches/proposals/6.x/lang/pt-br/language.php: backporting pt-br translations
***: gillesm has joined #tikiwiki
Caarrie|sleeping is now known as Caarrie|away
gillesm has quit IRC (Quit: Quitte)
gillesm has joined #tikiwiki
Trebly has joined #tikiwiki
ricks99 has joined #tikiwiki
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 :
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.
jonnyb: hi Trebly - not sure what you mean by #4072 sorry
ricks99: polom y'all
jonnyb: hi ricks99
ricks99: has anyone looked/tested 6.5? ok to send annoucements?
jonnyb: sorry, maybe over the w/end
ricks99: k
Trebly: <jonnyb> 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.
jonnyb: why me?
(sorry, very busy)
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
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
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
jonnyb: thanks Trebly, but i can't get into anything like this for a while - maybe next month/year?
***: gillesm has quit IRC (Quit: Quitte)
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
***: radek82 has joined #tikiwiki
nkoth|nelson has joined #tikiwiki
nkoth|nelson has quit IRC (Client Quit)
nkoth|nelson has joined #tikiwiki
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)
lphuberdeau: 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
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
the call on "sort of every page" can stay though
lphuberdeau: doesn't running once at the end do it?
jonnyb: 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
lphuberdeau: 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
jonnyb: the tracker thing? i did think about it but thought something more similar to installer/shell.php seemed better
lphuberdeau: 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
jonnyb: ah, newsletters - tiki-batch_send_newsletter.php
can't find anything much else (searching for cron)
lphuberdeau: it was either on doc.t.o/Tiki7 or doc.t.o/Tiki8
jonnyb: 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
***: nkoth|nelson has quit IRC (Quit: nkoth|nelson)
lphuberdeau: your call, might want to ping sylvie to see what she had in mind
jonnyb: ok, i'll probably commit once i've tested some more and then check (running out of week)
lphuberdeau: I know the feeling
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?
lphuberdeau: I didn't need it
jonnyb: :) (i've worked around it now... mostly)
***: chealer_ has joined #tikiwiki
chealer_ is now known as chealer
RobertPlummer has joined #tikiwiki
JoernOtt has quit IRC (Quit: Leaving.)
RobertPlummer: lphuberdeau: Did you get my message yesterday about adding a new event, tiki.wiki.view?
lphuberdeau: I did not
RobertPlummer: lphuberdeau: I wanted to run it by you and see what you thought.
lphuberdeau: sounds good, although adding the base tiki.view event for completeness would be good too
RobertPlummer: 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?
lphuberdeau: right now, you'd have to bind some function to the event
there isn't really support for discovery at this stage
RobertPlummer: Could we use just use Zend?
lphuberdeau: ?
lphuberdeau: that is quite a vague question
what component do you have in mind?
RobertPlummer: 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.
lphuberdeau: 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
RobertPlummer: Ah, very good.
So we need to come up with a way to trigger event plugins automatically, right?
lphuberdeau: scanning files evey time is not really an option
RobertPlummer: ok, so tiki-setup it is then.
***: AldenisZen has joined #tikiwiki
xavi2 has joined #tikiwiki
lphuberdeau: event listeners kind of need to be included in lib/setup/events.php before the inheritence is defined
***: xavi has quit IRC (Ping timeout: 255 seconds)
RobertPlummer: lphuberdeau: Is all that is needed the following? -
$events->bind('tiki.wiki.view', 'tiki.view');
lphuberdeau: something like that
CIA-68: tikiwiki: 03robertplummer * r39129 10/trunk/lib/setup/events.php: [NEW] Added a new event tiki.wiki.view
RobertPlummer: lphuberdeau: done
lphuberdeau: In TikiLib::events()->bind(), how do we run static functions from classes?
lphuberdeau: pretty sure there are samples in that file
RobertPlummer: got it, "Event_Lib::defer"
lphuberdeau: kind of like a normal php callback unless I am mistaken
***: Wilkins has quit IRC (Ping timeout: 240 seconds)
lphuberdeau: that's not really a static method
it's just any method on a lib registered for TikiLib::lib()
***: nkoth|nelson has joined #tikiwiki
lphuberdeau has quit IRC (Ping timeout: 252 seconds)
lphuberdeau has joined #tikiwiki
ricks99 has quit IRC (Quit: Get the best-selling Tiki books (paperback and ebook) at http://www.lulu.com/spotlight/ricks99)
marclaporte: polom
jonnyb: hi marclaporte
***: lphuberdeau has quit IRC (Ping timeout: 268 seconds)
lphuberdeau has joined #tikiwiki
gillesm has joined #tikiwiki
ricks99 has joined #tikiwiki
lphuberdeau has quit IRC (Ping timeout: 248 seconds)
rodrigoprimo has quit IRC (Quit: Leaving.)
ricks99: 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
***: gillesm has quit IRC (Quit: Quitte)
pkdille has joined #tikiwiki
CIA-68: 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
marclaporte: yay 8.2!
CIA-68: tikiwiki: 03pkdille * r39132 10/branches/8.x/README: [REL] Update README file for 8.2
pkdille: hello Marc :-)
jonnyb: hi pkdille - well done with the releases!
pkdille: hello jonny :-) thanks !
ricks99: 8.1/6.5 ... when to b announced?
CIA-68: tikiwiki: 03pkdille * r39133 10/branches/8.x/lang/ (49 files in 49 dirs): [REL] Update language.php files for 8.2
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...)
CIA-68: tikiwiki: 03pkdille * r39134 10/branches/8.x/changelog.txt: [REL] Update changelog.txt for 8.2
ricks99: i'll plan to send out monday morning.
are both only security patches?
pkdille: 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
ricks99: k.
tx
anyone know how to get # of items in a category? ^^^
CIA-68: 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
jonnyb: ricks99: try $categlib->get_category_objects($id)
doesn't look like there's one to just get the count
CIA-68: tikiwiki: 03pkdille * r39137 10/tags/8.2/: [REL] Tagging release
ricks99: 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
jonnyb: sorry, can't go digging now - get_category_objects probably returns an array with 'cant' and 'data' in it
ricks99: k. tx for the pointer
jonnyb: try looking in tiki-browse_categories.php (and tpl) for how it's done there
ricks99: it just calls $tree :(
***: marclaporte has quit IRC (Read error: Connection reset by peer)
jonnyb: probably even slower if you just want the count
RobertPlummer: jonnyb: hi
jonnyb: hi RobertPlummer
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.
jonnyb: not off hand - do you know xpath?
RobertPlummer: I do, but even still, I don't think that would be the answer.
There must be a better way!
jonnyb: there's an xml thing in PEAR, but it's v tricky on html
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.
If I had my new parser written, this would be easy.
jonnyb: :D
RobertPlummer: jonnyb: I was thinking of writing a regex that was basically the highlighted text.
putting a "." between each word.
It would probably work....
probably ;)
jonnyb: what's this for?
RobertPlummer: TextBacklink protocol.
It is pretty complicated.
I can show you the specs if you want to see them.
jonnyb: sorry, no spare brain-bandwidth, deep in a huge tracker...
***: ricks99 has quit IRC (Quit: Get the best-selling Tiki books (paperback and ebook) at http://www.lulu.com/spotlight/ricks99)
xavi2: polom
reading backlog from today
jonnyb: polom xavi2
pkdille: 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
jonnyb: thanks pkdille - i'll try and test over the weekend (but the packaging script has been pretty reliable for several versions now)
***: xavi2 is now known as xavi
xavi: hi jonnyb & pkdille
-: xavi still reading (lots of activity today in irc it seems)
xavi: 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 ... :-)
jonnyb: sounds nice xavi - except for the movie maybe?
xavi: :-D
Gloria watching a movie... me relaxing and chatting on irc ;-)
greetings from Gloria
RobertPlummer: 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.
xavi: polom RobertPlummer :-)
-: jonnyb wonders why he didn't investigate properly when the client said "a few thousand items"
xavi: :-)
jonnyb: how many thousands?
isn't csv import enough?
jonnyb: 15+ :O
xavi: (sory to disturb you brain bandwidth)
s/sory/sorry
ok
and csv import trigger timeout or something?
jonnyb: i have intermittent gaps while rebuilding stuff
xavi: ah, ok, not nice
***: redflo has joined #tikiwiki
jonnyb: i've written a sprawling great script that is supposed to just import (and update) modified ones
xavi: ok
jonnyb: i'll try and commit an example (or stick it on dev.t.o somewhere)
***: RobertPlummer has quit IRC (Ping timeout: 244 seconds)
fabricius has joined #tikiwiki
fabricius: polom
jonnyb: hi fabricius
fabricius: ah nice jonnyb - long time no see ;-)
jonnyb: indeed - been madness past few weeks
***: pkdille has quit IRC (Remote host closed the connection)
jonnyb: nite all...
***: jonnyb has quit IRC (Quit: I am going outside... I may be some time...)
radek82 has quit IRC (Quit: Leaving)
Trebly has quit IRC (Ping timeout: 268 seconds)
redflo has quit IRC (Quit: Leaving.)
Trebly has joined #tikiwiki
xavi has left