***: Caarrie|away is now known as Caarrie|sleeping
lphuberdeau has quit IRC (Ping timeout: 250 seconds)
rodrigo_sampaio has quit IRC (Quit: Leaving.)
goj_killedByISP has joined #tikiwiki
goj has quit IRC (Disconnected by services)
goj_killedByISP is now known as goj
coaboa|afk has joined #tikiwiki
coaboa has quit IRC (Ping timeout: 255 seconds)
Trebly has quit IRC (Ping timeout: 264 seconds)
lphuberdeau has joined #tikiwiki
redflo has joined #tikiwiki
Wilkins has joined #tikiwiki
Wilkins has quit IRC (Remote host closed the connection)
Wilkins has joined #tikiwiki CIA-88: tikiwiki: 03chealer * r35928 10/trunk/categorize.php:
tikiwiki: [FIX] Uploads to file gallery hang during upload "Fatal error: Call to a member function check_script() on a non-object" in AJAX response due to undefined $access from FileGalLib->_actionHandler_uploadFile()
tikiwiki: r35706 regression. thanks Nelson Koth ***: redflo has left
Merbster has joined #tikiwiki
redflo has joined #tikiwiki Merbster: Polom! ***: SJ-Jay has joined #tikiwiki SJ-Jay: polom everyone! coaboa|afk: polom back & good morning tikiverse SJ-Jay: what's going on with tiki.org?
can anyone explain how to make multiple selections on the same row with the checkbox tracker field? Tiki|bot: New Forum Posts: Can Tiki show content based on Freetag or Category? Oh and "subroutines" - http://tiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=41992 ***: bonanza has joined #tikiwiki
Caarrie|sleeping is now known as Caarrie|away
that_nima has joined #tikiwiki that_nima: hello ? ***: that_nima is now known as nima SJ-Jay: is it possible to create a custom tracker field type? i need to create af field which links to a file on a network share lphuberdeau: it gets easier in 7 and even more in 8 ***: luciash has joined #tikiwiki luciash: polom lphuberdeau: you essentially need to add a class and register it from 7+ SJ-Jay: we already upgraded to 7.0 Merbster: 7.1* SJ-Jay: 7.1 sorry
:D ***: luciash has quit IRC (Changing host)
luciash has joined #tikiwiki
ChanServ sets mode: +o luciash lphuberdeau: check out lib/core/Tracker/Field/ SJ-Jay: i was hoping to "steal" the code from the attachment field type.. but instead uploading the file, i just wants to register the file location
want* Merbster: lphuberdeau, ok, that makes sense, where to register it? :) ***: luciash changes topic to: #tikiwiki luciash: oops :) ***: luciash changes topic to: Tiki Wiki CMS Groupware - Software made the Wiki Way - Tiki 7.1 is out! Wanna ask something? Just ask. We log the channel @ http://irc.tiki.org (start line with [off] to exclude message from log), type !help to get some help from our bot ;) Enjoy! luciash: !help Tiki|bot: You can get a more complete list of commands that work with this bot at http://tiki.org/TikiBot . lphuberdeau: the registration part is actually different in 7 and 8, but look at Tracker_Field_Factory in both cases
as for the file field, I wouldn't say it's the best one to base yourself on
it's a complicated one SJ-Jay: hmm.. don't know what else to do! :S
we need to link trackers to files located on our network share..
the other way around ofc.. files to trackers! lphuberdeau: just saying file is not the best starting point
because you're creating a link, not upoading a file Merbster: lphuberdeau, we're creatin g a link to a file. So the user has to select the file to generete the link to by using a file explorer popup window (in lack of a better term) lphuberdeau: that's going to be trouble
because the browser might not let you know the path to that file Merbster: how does file upload forms work then? lphuberdeau: the browser does the file reading and sending to the server Merbster: ah. so the chain will break when I want a textual representation of the filepath sent back to the server from the browser?
could it be accomplished with jQuery? lphuberdeau: well, jquery can do it if javascript can do it (no magic), and that might depend on the browser Merbster: company standard is IE8
So that is our "target" as much as I dislike it. lphuberdeau: I wouldn't know about IE Merbster: I have to, but I don't want! :P ***: sylvieg has joined #tikiwiki
ChanServ sets mode: +o sylvieg lphuberdeau: but take a file field and see if you can extract the field's textual value from there Merbster: btw. lphuberdeau do you have a quick answer as to why ointegratelib.php wants a DeclFilter? lphuberdeau: to filter the data ***: rodrigo_sampaio has joined #tikiwiki Merbster: lphuberdeau, hehe I had expected as much :P
But I don't want to do any filtering on what is returned from the Webservice. lphuberdeau: back in a few minutes ***: lphuberdeau has quit IRC (Ping timeout: 246 seconds)
lphuberdeau has joined #tikiwiki lphuberdeau: the thing is that the lib does not expect html, so it filters stuff for security
you might want to specify that filter as a parameter (defaulting to the current situation) and specify your own filter, either adapted to the content or a global rule not to filter if you feel that way Merbster: lphuberdeau, we're just trying to push a string of text to a webservice. no HTML just pure text :) lphuberdeau: the filter won't affect you then
well, it most cases it won't ;) ***: cyrusae has joined #tikiwiki Merbster: I have just supplied the url parameters in performRequest and inserted the params the correct places in the url.
I tried to figure out how it chooses the filter but as far as I can see it defaults to XSS. but that selection is based oin the postBody var. which I did not supply, since it defaults to null I thought it ok to ommit it.
Most other places where performRequest is called they just pass it an URL, no postbody either. lphuberdeau: most requests that it handles are just GET requests Merbster: This would be a post request I guess, since we're posting data and not getting it :P lphuberdeau: yes, although that depends more on the service we're calling Merbster: lphuberdeau, do you have any good ressources to learn about the internals of webservices? cyrusae: hey, it appears like a script of tiki is causing suhosin to crash. thats the snippet: http://paste.pocoo.org/show/455247/ suhosin always answers me with "Aug 9 13:35:40 HAL9000 suhosin[1368]: ALERT - end canary mismatch on efree() - heap overflow detected at 0xb875fba4 (attacker '172.31.80.174', file '/var/www/lib/userslib.php', line 408)" and apache with "[Tue Jul 26 13:25:11 2011] [notice] child pid 1395 exit signal Segmentation fault
(11)" lphuberdeau: try updating PHP
which tiki version is that anyway? cyrusae: its up to date. 7.0 lphuberdeau: 7.0 is not up to date for tiki
7.0 does not exist for PHP ;) cyrusae: php is up to date and tiki has version 7.0 lphuberdeau: what version? cyrusae: 5.3.3-7+squeeze3 lphuberdeau: 5.3.6 is released Merbster: lphuberdeau, I got an error about the DeclFilter, but the request was performed (atleast the data I sent ended up the correct place) lphuberdeau: I looked at the code for that file in 7.0 and I see nothing wrong with the function in which line 408 is contained
and since this is a memory management error, it's more likely to be PHP than tiki CIA-88: tikiwiki: 03robertplummer * r35929 10/trunk/lib/core/WikiParser/Experimental/WikiParser.php: [FIX] moved values around to get parser working, and for very simple text it works now, now off to refine each type/state syntax cyrusae: just added backports to the package-list, but that doesnt update php lphuberdeau: and that code does not rely on by ref variables which sometimes cause trouble
Merbster, error? Merbster: lphuberdeau: Fatal error: Class 'DeclFilter' not found in C:inetpubwwwrootlibointegratelib.php on line 94
do I need to include a defintion
or is an instance it needs? lphuberdeau: that class should autoload if you're in a tiki context Merbster: I am not well equipped to figure out contexts.
I have created a form in a webservice template that calls the php script I have made.
I don't know if that counts as a tikiwiki context or if forms handlers code is out of scope of the rest of the wiki. ***: chibaguy has joined #tikiwiki
ChanServ sets mode: +o chibaguy chibaguy: polom Merbster: my knowledge of php is limited, TikiWiki is the first real PHP code I have worked with. lphuberdeau: you can always include it directly if that fixes it
require_once 'lib/core/DeclFilter.php'; Merbster: I think it's a good bet. I will try. ***: cyrusae has quit IRC (Quit: Verlassend) SJ-Jay: polom chibaguy :) ***: GillesMM has joined #tikiwiki luciash: hi chibaguy ***: RobertPlummer has joined #tikiwiki RobertPlummer: polom all chibaguy: hi SJ-Jay, luciash and all Merbster: Yo! :) CIA-88: tikiwiki: 03sampaioprimo * r35930 10/trunk/tiki-user_watches.php: typo
tikiwiki: 03robertplummer * r35931 10/trunk/lib/parser/ (6 files): Moved the WikiParser to it's new home, lib/parser, and will be creating the linkage there for everything, next commit will be delete of experimental folder
tikiwiki: 03robertplummer * r35932 10/trunk/lib/core/WikiParser/Experimental/: Removed experimental wiki parser from it's old location -: luciash is missing 14th day repeat for Tiki calendar events luciash: s/14th/14-day/ -: luciash going to code it (soon) :-p CIA-88: tikiwiki: 03lphuberdeau * r35933 10/trunk/ (3 files in 2 dirs): [MOD] Removing the local item when edit is pushed to avoid visual conflict and hide the inability to track those changes ***: Wilkins has quit IRC (Ping timeout: 252 seconds) nima: i'm not using wikiwords, when i create a link to a page that doesn't exist ((new page | create a new page)) i get create a new page? where only the ? is a hyperlink
i'd like the whole phrase 'create a new page' to be a link
any ideas ? luciash: not implemented
hack the code lphuberdeau: well, it's not a bit code change CIA-88: tikiwiki: 03sampaioprimo * r35934 10/trunk/lib/test/editlib/ (3 files): mark tests as incomplete lphuberdeau: lib/core/WikiParser/OutputLink.php line 85 nima: was the hack code in reply to me ? lphuberdeau: nima, yes ***: Trebly has joined #tikiwiki nima: okay cheers - i'm new to twiki and i thought i was going mental luciash: nima: yup
nima: not yup to the mental ;)
nima: see the line lphuberdeau mentioned nima: yup. if you see me typing sudo apt-get install into here then you'll know i've gone mental... luciash: :)
that's quite common ppl mistype into irc command line pretty often ;) nima: my sympathies to them
i'm using version 6.2 i think the file might have changed you're talking about the line with the outputLink( '?. array ...
i just need a $page.'?' don't it
*i
oh i see i add it to the attributes string ***: radek82 has joined #tikiwiki CIA-88: tikiwiki: 03lphuberdeau * r35935 10/trunk/ (2 files in 2 dirs): [FIX] CSS class name causes conflicts, too ambiguous lphuberdeau: ah, can't help with 6.2, I don't even remember how the code was back then nima: oh that's fine i think i can wrap my head around this php lphuberdeau: but yeah, if the file exist, it should be in there SJ-Jay: lphuberdeau, do you think it is impossible to pass the local file location path to the webserver? ***: bonanza has quit IRC (Ping timeout: 240 seconds) lphuberdeau: it's actually possible if the form is not set-up to send the files, but that's not the case
actually, I've seen it in some browsers, but I don't think that's a defined behavior SJ-Jay: well.. i just have to do more research at some point.. my desk is stacked with unfinished work.. and just keeps growing! Merbster and me won't be getting that much sleep the next few weeks..
btw i am also having trouble with a tracker.. can you confirm that the file attachments field can only be used once per tracker?
i'm trying to add multiple files per tracker, but just receives this error: Incorrect fieldId: 188
i know for sure this fieldId exist.. and have even tried to replace it with a new! ***: luciash has quit IRC (Ping timeout: 252 seconds) lphuberdeau: yeah, that may be one of the issues with the file field
in Tiki8, it's kind of superseeded by "files", which stores in file galleries, indexes the content and allows multiple fields per item
oh, and allows drag&drop of files, multiple upload, ... ***: bonanza has joined #tikiwiki SJ-Jay: that sounds good! ***: luciash has joined #tikiwiki sylvieg: in tiki6 it was possible to have multiple file fields - with only one file per field CIA-88: tikiwiki: 03lphuberdeau * r35936 10/trunk/lib/ (core/Tracker/Field/ItemLink.php trackers/trackerlib.php): [FIX] Notices lphuberdeau: oh, so that's what the code was trying to do, never figured it out during the conversion CIA-88: tikiwiki: 03lphuberdeau * r35937 10/trunk/ (2 files in 2 dirs): [ENH] Avoiding useless work and printing out the links to local and remote items as appropriate in the synchronization tab SJ-Jay: does anyone know if there is a bug with the tracker image field? ***: nkoth has joined #tikiwiki SJ-Jay: can't get it working..
i've configured the image gallery identical as our file gallery which work
image and file gallery saves the files on a server location.. all permissions are set correctly lphuberdeau: image and file share code if I am correct, both are problematic ;) CIA-88: tikiwiki: 03sylvieg * r35938 10/branches/7.x/lib/trackers/trackerlib.php: [FIX]tracker: speed up 15 times item history function SJ-Jay: my boss made some sketches on how he would like some of the registrations i'm trying to do with trackers.. since this morning i haven't finished anyone yet! :P CIA-88: tikiwiki: 03sylvieg * r35939 10/branches/7.x/installer/schema/20110808_tracker_tiki.sql: [FIX]tracker: incoprrect index ***: nkoth has quit IRC (Quit: nkoth)
flaytos has joined #tikiwiki flaytos: hello CIA-88: tikiwiki: 03sylvieg * r35940 10/branches/7.x/db/tiki.sql: [FIX]tracker: incorrect index flaytos: there's any way of put a calendar in wikitiki? sylvieg: the calendar feature has some modules like incoming_event or calendar_new
{MODULE(module=calendar_new) /} flaytos: ok, thanks :D ***: flaytos has quit IRC (Quit: Page closed) CIA-88: tikiwiki: 03sylvieg * r35941 10/branches/proposals/6.x/ (3 files in 3 dirs): [bp/r 35938, 35939, 35940][FIX]tracker: speed up 15 times item history function+incorrect index SJ-Jay: tracker checkboxes side by side.. possible? lphuberdeau: in Tiki7, you can use the category field to achieve that effect
in Tiki8, there is a multiselect field that does just that SJ-Jay: lphuberdeau, please give me tiki8! lphuberdeau: take it, it's called trunk right now SJ-Jay: arg.. think i'll wait until there's a stable release
don't think it's i good idea when we are releasing our intranet in a month lphuberdeau: that's probably 2 months out SJ-Jay: 100 employees screaming at our faces when things goes wrong.. already having nightmares!
could you explain your suggestion with categories?
i don't see any category options when adding the checkbox field lphuberdeau: it's the category field that has a checkbox option SJ-Jay: oh sylvieg: btw lphuberdeau how multivalues is implemented? I think I saw a comma separated value?
that works for fileId .. but is it risky for drop-down? CIA-88: tikiwiki: 03sampaioprimo * r35942 10/third_party/vfsStream/ (18 files in 2 dirs): [ADD] vfsStream 0.10.0 (used in unit tests to mock the file system)
tikiwiki: 03sampaioprimo * r35943 10/trunk/lib/test/: adding vfsStream as a external repository (used in unit tests to mock the file system)
tikiwiki: 03sampaioprimo * r35944 10/trunk/lib/test/core/Multilingual/MachineTranslation/GoogleTranslateWrapperTest.php:
tikiwiki: fix google machine translation test (it should be independent of google
tikiwiki: return value) Merbster: I have included a form in a template that calls a custom handler I wrote. But whenever I load up the page that contains the webservice plugin that calls this template, the actual form handler is executing this setting my data to " "
I have tried to use isset on the variables to no avail.
But I am confused, shouldn't the form handler only be called when submit is pressed? - not when the containing page is loaded? CIA-88: tikiwiki: 03sampaioprimo * r35945 10/trunk/lib/test/language/ (4 files): remove test to check whether vsfStream class exists lphuberdeau: sylvieg, the dropdown's values are defined in a comma separated format
so storing them the same way is not risky CIA-88: tikiwiki: 03robertplummer * r35946 10/trunk/lib/ (parser/WikiParser.php parser/parserlib.php tikilib.php):
tikiwiki: [FIX] Parser fixes
tikiwiki: [NEW] Started extending parserlib to use WikiParser.php from the automated Jison output
tikiwiki: [NEW] Added parserlib to callable libs in tikilib sylvieg: lphuberdeau: what do you do with value with comma + long values? lphuberdeau: those can't exist in a dropdown, because they would be split
due to the way options are defined sylvieg: hehe luciash: write the comma encoded ? lphuberdeau: ? luciash: e.g.: lphuberdeau%2C the master of php lphuberdeau: ?? Tiki|bot: ??[x]: Usage: ?? <word> [> nick] luciash: or html encoded or ... :-p
%2C is comma lphuberdeau: well, I'm just using what was closest to what was there luciash: i was suggesting what i would do if i needed to write comma in comma separated values
just
meybe misunderstood
maybe lphuberdeau: well, you might try that, but I hope it would double encode your attempt to trick tiki CIA-88: tikiwiki: 03jean-lucnavarro * r35947 10/trunk/lang/fr/language.php: [TRA] more French translations luciash: I hope too :D SJ-Jay: does tracker image field use file gallery og image gallery location? ***: rodrigo_sampaio1 has joined #tikiwiki
rodrigo_sampaio has quit IRC (Ping timeout: 252 seconds) lphuberdeau: might be neither
image galleries are deprecated++ anyway sylvieg: own db table SJ-Jay: i'm going nuts! am i the only one who are experiencing the problem? ***: JKC has joined #tikiwiki SJ-Jay: images just doesn't show.. the classic red cross just appears CIA-88: tikiwiki: 03robertplummer * r35948 10/trunk/lib/parser/ (WikiParser.php parserlib.php): [FIX] Integrations with new parser lib sylvieg: 2 img fields working for me in tiki7
arew you using file attachment or image field? -: sylvieg always confuses witht eh 2 fields CIA-88: tikiwiki: 03lphuberdeau * r35949 10/trunk/lib/wiki-plugins/wikiplugin_map.php: [MOD] Modify the map plugin to act like a locator when no mapfile specified, will grab only items in the center by default ***: nkoth has joined #tikiwiki
Merbster has quit IRC (Read error: Connection reset by peer) JKC: i am trying to set up tiki's unified search, but it includes content in the search that the user does not have access to view (ie its in a restricted category). any way to change that/
? sylvieg: doing a merge ... but all the lang files are in conflict - Do I keep the trunk version? lphuberdeau: some jean-luc has been commiting to french in trunk for a while
so I guess that is the right place to commit language CIA-88: tikiwiki: 03nkoth * r35950 10/trunk/lib/categories/categlib.php: [FIX] If multilingual is on and language is not english, categories with repeated names were not appearing in category field listings. SJ-Jay: hey sylvieg sorry for not replying.. was busy :)
i'm trying to use the image field
file attachment works flawless CIA-88: tikiwiki: 03sylvieg * r35951 10/trunk/ (25 files in 15 dirs): [MRG] Automatic merge, branches/7.x 35708 to 35940 ***: chibaguy has quit IRC (Read error: Connection reset by peer) sylvieg: SJ-Jay: ok - was confused - did you check if files are created in img/trackers dierctory? SJ-Jay: sylvieg, is it possible to configure tracker images to be saed on a shared location?
all other files are saved on our networkshare sylvieg: shared between different tiki sites?
no SJ-Jay: noononon sylvieg: but you can put a symbolic link... the name is a hash so it must be problematic
s/must/could SJ-Jay: oh sylvieg: lphuberdeau: you wrote a feature to add localized comments in a wiki page. I do not remember the name of the feature and where to activate it SJ-Jay: the files are actually saved in img/trackers
can i change this location? sylvieg: lphuberdeau: found it inline comments
SJ-Jay: not sure it is a feature.. I think it is hard coded SJ-Jay: ok..
but still weird that images are not shown sylvieg: check if the files are there is the directory, the perms iof the directory is ok, the fiels are not empty SJ-Jay: can confirm that the images are there.. i expect the perms of the directory is ok, or else the website would not be working?
and the images would not be written to the dir sylvieg: are the fiels non empty? SJ-Jay: well if i open the tracker item there's a red cross
i've used firebug to track the image and alls seems good.. dir is correct, filename is correct :S sylvieg: check if the files are corrct either by copying a file in a name like xxxx.gif if it is a gif file or use hexdump or other to check the content SJ-Jay: hmm dont understand.. you want me to copy the file from the dir to my local machine and rename it to it's original format like jpg? sylvieg: I gave you only ideas to check the content of the file
if there are not weel written can be the utf8 problem... for instance CIA-88: tikiwiki: 03lphuberdeau * r35952 10/trunk/ (6 files in 4 dirs): [FIX] Pass around the values to display the filter form correctly sylvieg: humm can not have the comment inline working on my local. Is there a demo somewhere?
working on demo.tiki.org/7x needs to figure out why it is not working on my local ***: radek82 has quit IRC (Quit: Leaving) lphuberdeau: you need to enable wiki paragraph formatting sylvieg: I did
in fact how did you implement the feature. It is a search on a text taht is commented or it is a marker in the wiki text to refers to the comment? ***: luciash has quit IRC (Ping timeout: 252 seconds) lphuberdeau: there is a marker in the comment and the comment is repositionned in javascript sylvieg: and the marker is the selected text? lphuberdeau: I added a comment on the first line of the home page
on demo.t.o/7.x
I think I need to fix it in trunk because some things changed
although I'm pretty sure I had it working when things changed sylvieg: thx lphuberdeau for your help -: sylvieg be back later (need to buy a fan for my computer) ***: redflo has left
JKC has quit IRC (Quit: Page closed) chealer: polom CIA-88: tikiwiki: 03lphuberdeau * r35953 10/trunk/templates/wiki-plugins/wikiplugin_memberlist.tpl: [FIX] Strange decision not to display as userlink when user cannot be removed from a group Tiki|bot: New Forum Posts: Uncheck the exact match in search module - http://tiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=41998 CIA-88: tikiwiki: 03chealer * r35954 10/trunk/ (lang/de/language.php lang/fr/language.php lib/prefs/auth.php): Admin login: "Multiple authentication backends are supported by Tiki." -> "Tiki supports several authentication methods." ***: Jyhem_laptop has quit IRC (Ping timeout: 250 seconds) CIA-88: tikiwiki: 03chealer * r35955 10/trunk/lang/fr/language.php: French: review r35843 ***: nkoth has quit IRC (Read error: Connection reset by peer)
Jyhem_laptop has joined #tikiwiki
nkoth has joined #tikiwiki
nkoth_ has joined #tikiwiki
nkoth has quit IRC (Read error: Connection reset by peer)
nkoth_ is now known as nkoth
nkoth has quit IRC (Ping timeout: 260 seconds)
rodrigo_sampaio1 has quit IRC (Quit: Leaving.)
radek82 has joined #tikiwiki
nkoth has joined #tikiwiki
nkoth_ has joined #tikiwiki RobertPlummer: chealer: are you the release manager for 8?
Well anyway, chealer, I'm working with LP to ***: nkoth has quit IRC (Ping timeout: 260 seconds)
nkoth_ is now known as nkoth RobertPlummer: move all parser stuff from tikilib to parserlib CIA-88: tikiwiki: 03chealer * r35956 10/trunk/ (lang/fr/language.php templates/filter.tpl): "Select Tag" => "Select Tags" chealer: hi RobertPlummer RobertPlummer: hey chealer chealer: RobertPlummer: I'm not. nobody has volunteered yet
are blogs showing for anyone in trunk? RobertPlummer: I was just wondering if you had any input on the move of parser stuff.
You are (like lp) a wealth of knowledge chealer: RobertPlummer: I don't think so. as I wrote, I didn't study the parser yet. I'm just hoping your job clears it enough to that I feel like digging into it at some point :-) RobertPlummer: lol
Yea, the new parser seems to be pretty solid and will probably cut down about 90% of the code. chealer: RobertPlummer: if anything, my intuition tells me any big piece moved from tikilib is a good thing RobertPlummer: But lp and I feel it should go into 1 place to die eventually. chealer: RobertPlummer: yuhu! :-)
RobertPlummer: did you see Stéphane's mail on the parser yesterday?
the Jison parser RobertPlummer: the parserlib went from about 10 lines to 2k just a few minutes ago.
no, could you resend to me? chealer: RobertPlummer: http://article.gmane.org/gmane.comp.cms.tiki.cvs/67039
RobertPlummer: are you subscribed to tiki-cvs? RobertPlummer: I don't think so.
That parser was based off older version of Jison.
It is somewhat complicated to use jison to first parser js, then convert to php, then test, but the end product saves SO MUCH TIME!
The latest today is WAY better. lphuberdeau: adding 2k lines is great if you took em off tikilib RobertPlummer: Actually working with wiki syntax fine.
yea, chealer: RobertPlummer: OK, I forwarded you my reply RobertPlummer: Thanks buddy!
The new parser does most of the heavy lifting without even breaking a sweat.
And it is unified, we have it in both js and php.
THE SAME lib in both languages. CIA-88: tikiwiki: 03lphuberdeau * r35957 10/trunk/ (3 files in 3 dirs): [FIX] Comment inline adjustments for new comment interface ***: nkoth_ has joined #tikiwiki RobertPlummer: well same parser anyway ***: nkoth has quit IRC (Ping timeout: 260 seconds)
nkoth_ is now known as nkoth RobertPlummer: anyway, I'm going to need help with any of the errors of bringing old to the new, I will do my best to track them down though, but if you guys find any please let me know. chealer: RobertPlummer: yeah, that unified parser is great RobertPlummer: ;)
I think it will make WYSIWYG easy.
As soon as I get this moved (perhaps by days end) I'm going to start on Quasiwyg base ***: nkoth_ has joined #tikiwiki RobertPlummer: The new WYISWYG example
I'm going to take a very complex hack and turn it into a lib done right. ***: nkoth has quit IRC (Ping timeout: 260 seconds)
nkoth_ is now known as nkoth
SJ-Jay has quit IRC (Read error: Connection reset by peer)
nkoth has quit IRC (Read error: Connection reset by peer)
nkoth has joined #tikiwiki RobertPlummer: What is all this plugin fingerprint stuff?
lphuberdeau, chealer ^ lphuberdeau: some plugins need admin auditing before running, and the auditing is handled by the fingerprints, which is essentially a hash for the plugin with arguments RobertPlummer: Yea, but half of them aren't even used in tiki after grepping. lphuberdeau: you mean functions?
yes, many of those are used in few places, mostly in tikilib ***: nkoth_ has joined #tikiwiki CIA-88: tikiwiki: 03lphuberdeau * r35958 10/trunk/lib/tikilib.php: [FIX] Bad merge RobertPlummer: lphuberdeau: hash being plugin name + body + params + instance? lphuberdeau: wouldn't know what instance is in there
essentially, the same plugin fingerprint can be in multiple pages/places in tiki
only needs one approval CIA-88: tikiwiki: 03jean-lucnavarro * r35959 10/trunk/lang/fr/language.php: [TRA] more French translations ***: nkoth has quit IRC (Ping timeout: 260 seconds)
nkoth_ is now known as nkoth
marclaporte has joined #tikiwiki
ChanServ sets mode: +o marclaporte CIA-88: tikiwiki: 03sampaioprimo * r35960 10/trunk/lib/notifications/notificationemaillib.php: [FIX] user receive only one notification when monitoring both topic and thread ***: rodrigo_sampaio has joined #tikiwiki CIA-88: tikiwiki: 03lphuberdeau * r35961 10/trunk/ (lib/Horde/ lib/core/Horde/ tiki-filter-base.php): [FIX] Move in autoload path ***: nkoth_ has joined #tikiwiki CIA-88: tikiwiki: 03sampaioprimo * r35962 10/branches/proposals/6.x/ (5 files in 4 dirs): [bp/35960][FIX] user receive only one notification when monitoring both topic and thread ***: nkoth_ has quit IRC (Client Quit) CIA-88: tikiwiki: 03sampaioprimo * r35963 10/branches/7.x/ (3 files in 3 dirs): [bp/35960][FIX] user receive only one notification when monitoring both topic and thread ***: nkoth has quit IRC (Ping timeout: 250 seconds)
rwik has joined #tikiwiki rwik: does anyone know off the top of their head where I would dump a .js file to call on a wiki page? RobertPlummer: rwik: anywhere in your domain.
rwik: it depends on what it does. rwik: anywhere? I may have used the wrong term with call, but i have a js script which generates a table of contents, and i want to use html to embed it on wysiwyg edited pages CIA-88: tikiwiki: 03lphuberdeau * r35964 10/trunk/lib/profilelib/profilelib.php: [ENH] Profile parser a bit more flexible about what it accepts RobertPlummer: lphuberdeau: you think we should give tikilib a "parse_data" method?
It is called in 170+ locations
I don't mind it so much, if it is auto loaded from parserlib lphuberdeau: well, for convenience you can replace the body in tikilib with some indirection RobertPlummer: lphuberdeau, chealer : I have all error detection on and when I go to load tiki-index.php to try to start to debug, I get a blank page.
Any idea? ***: DarkCalff has quit IRC (Quit: Leaving) RobertPlummer: I have errors on in php.ini and in tiki.
all errors = strict lphuberdeau: might be a syntax error in a file that loads before tiki sets up the error reporting
php -l on all files you have modified locally ***: sylvieg has quit IRC (Quit: Leaving.) CIA-88: tikiwiki: 03jean-lucnavarro * r35965 10/trunk/lang/fr/language.php: [TRA] more French translations ***: rwik has quit IRC (Ping timeout: 252 seconds) CIA-88: tikiwiki: 03marclaporte * r35966 10/trunk/lib/prefs/fgal.php: [MOD] removing zip option on fresh installs to make interface simpler
tikiwiki: 03marclaporte * r35967 10/trunk/lib/prefs/ (global.php style.php): identifying a few more prefs as basic ***: RobertPlummer has quit IRC (Ping timeout: 252 seconds)
RobertPlummer has joined #tikiwiki RobertPlummer: lphuberdeau: sorry my internet burped.
what is php -l? chealer: RobertPlummer: did you check Apache logs? RobertPlummer: yup
How do you force php to display errors?
nm I got it
http://www.polak.ro/force-php-to-display-all-the-error-messager.html
;) chealer: good
RobertPlummer: FWIW, that's what's done in lib/setup/error_reporting.php but there may be an issue with the error handler RobertPlummer: It is,
in parserlib
fyi I'm getting ready to update then commit.
:D
When you are ready lphuberdeau you can jump in and start helping out afterwards.
Woohoo I see a wiki page!
(with new parserlib in place) CIA-88: tikiwiki: 03marclaporte * r35968 10/trunk/lib/wiki-plugins/wikiplugin_map.php: moving Mapserver-needed param to advanced section RobertPlummer: My biggest commit yet coming. CIA-88: tikiwiki: 03robertplummer * r35969 10/trunk/ (35 files in 15 dirs): [ENH] Moved most plugin/parsing functionality from tikilib to parserlib and did my best to hook it all back up in effort to refine the current parser and integrate the new one ***: kstingel has joined #tikiwiki RobertPlummer: Testers wanted! kstingel: how do I import the 7.1 release into my experimental branch? RobertPlummer: don't you branch from it? kstingel: I have no clue how to do so, I've already created a folder ... /branches/experimental/html5_compliance but there's nothing in there at the moment because I didn't know how to copy the initial contents across RobertPlummer: you have to branch from 7.1 and it will create your folder for you based on the branch name, but I could be rong.
wrong. ***: sylvieg has joined #tikiwiki
ChanServ sets mode: +o sylvieg kstingel: so I should delete the folder I created and branch from /tags/7.1 instead? CIA-88: tikiwiki: 03marclaporte * r35970 10/trunk/lib/prefs/feature.php: Redirect to similar wiki page is an interesting feature but it can cause support requests because people visit a page and end up on another. So turning off by default to make Tiki with less surprises by default
tikiwiki: 03lphuberdeau * r35971 10/trunk/templates/ (3 files in 2 dirs): [ENH] Hide empty sections on filters
tikiwiki: 03kstingel * r35972 10/branches/experimental/html5_compliance/: remove empty directory, will replace with branch marclaporte: RobertPlummer : Fatal error: Call to undefined method ParserLib::genPass() in lib/parser/parserlib.php on line 1398 RobertPlummer: change $this to $tikilib
I will fix
It is a BIG commit, sorry for any problems. -: marclaporte is on standby :-) RobertPlummer: marclaporte: are you sure it was on line 1398? marclaporte: that is what the page says
LP is on it
commit coming soon RobertPlummer: I just fixed it CIA-88: tikiwiki: 03robertplummer * r35973 10/trunk/lib/parser/ (WikiParser.php parserlib.php): [FIX] genpass usage from tikilib, from the parserlib fallout RobertPlummer: lphuberdeau: what are you doing, just fixes? marclaporte: Robert is faster!
Fatal error: Call to undefined method ParserLib::how_many_at_start() in lib/parser/parserlib.php on line 2069 lphuberdeau: was looking at the extent of the damage
robert, for class members, you should use private instead of var CIA-88: tikiwiki: 03lphuberdeau * r35974 10/trunk/lib/ (parser/parserlib.php tikilib.php): [FIX] Pointing to wrong lib, plus some minor cleanup sylvieg: lphuberdeau: can you give a clue where to begin to debug inline comment - I can not succeed to have it work in trunk RobertPlummer: lphuberdeau: thanks your help is awesome! lphuberdeau: I fixed it just this afternoon RobertPlummer: inline comment?
~np~Like this?~/np~ lphuberdeau: comments will only appear when you display them, because they are not loaded with the page anymore
different feature robert, nothing to do with the parser this time RobertPlummer: ok
sorry
woohoo I have the new parser plugged into tiki-index.php and it is nearly working! lphuberdeau: checking every function for bad calls now, I ran into a few issues, there has got to be more ***: rodrigo_sampaio1 has joined #tikiwiki RobertPlummer: (ie working is not integrated) sylvieg: Call to undefined method ParserLib::how_many_at_start() in /home/sg/www/html/test/tikitrunkfresh/lib/parser/parserlib.php on line 2066 RobertPlummer: lphuberdeau: THANKS! sylvieg: somebody is on it .. I had the bad idea to svn up RobertPlummer: lol, sorry guys, the pain will be short lived. ***: rodrigo_sampaio has quit IRC (Ping timeout: 252 seconds) CIA-88: tikiwiki: 03sylvieg * r35975 10/trunk/lib/parser/parserlib.php: [FIX]parser: lib chealer: hi kstingel kstingel: hi chealer -: marclaporte cheers kstingel sylvieg: lphuberdeau: thks I have the button Add Comment now (only when the comments div has been displayed once however) chealer: kstingel: experimental branches are all based on trunk, not a certain version. I don't think html5 should be any different if it's meant to be merged back to trunk RobertPlummer: marclaporte: I'm adding a new feature that turns off/on the new parser lib. CIA-88: tikiwiki: 03marclaporte * r35976 10/trunk/templates/admin/include_general.tpl: Moving sender email higher in admin panel because it's really important RobertPlummer: marclaporte: The new parserlib will be completely part of tiki by days end, WOOHOO! kstingel: I'm trying to work out how to create a branch via TortoiseSVN RobertPlummer: kstingel: right click repository, click branch
http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-branchtag.html kstingel: chealer: I was planning on going from 7.1 since that's the current (and it's allegedly HTML5 compliant)
in explorer, or in the repo browser? chealer: kstingel: did you see http://dev.tiki.org/Experimental+Branches ? usually an experimental branch even has to be kept synchronized with trunk via semi-automatic merges from trunk to the experimental branch ***: lphuberdeau has quit IRC (Read error: Connection reset by peer)
Jyhem_laptop has quit IRC (Read error: Connection reset by peer) chealer: kstingel: the point, we won't allow massive changes in the Tiki 7 branch. The branch for about all development is trunk. If you work against Tiki 7, it will be major pain/impossible to merge when you're done.
kstingel: (I for one can't help with TortoiseSVN, I'm afraid few people here use it)
oh. RobertPlummer, are you working on Mac OS or Windows? RobertPlummer: ubuntu chealer: RobertPlummer: oh. sorry, didn't mean that as an insult ;-) RobertPlummer: lol chealer: RobertPlummer: but you have a Macintosh, right? RobertPlummer: I used to use TortoiseSVN for 5 years solid. No mac ***: Jyhem_laptop has joined #tikiwiki
DarkCalf has joined #tikiwiki RobertPlummer: In-fact on ubuntu I use rabbitVCS which is a tortoiseSVN clone. chealer: RobertPlummer: ouch. sorry about that double insult :-)
oh yeah, you may have mentioned that a while ago RobertPlummer: chealer you are hurting my feelings. You like Macs or something?
chealer: Yea, I just use what works ;) chealer: oh, it was more of a GNOME thing
RobertPlummer: no, we had so many people on Mac last time in New York I must have confused you with someone else RobertPlummer: chealer: what do you use? kstingel: chealer: so if I branch from trunk is good? .... I can always keep my 7.1 hacks to my personal site :) chealer: RobertPlummer: I use an IBM laptop with Debian and KDE RobertPlummer: chealer: ah, a real man! chealer: kstingel: it's better, although I'm still not convinced that doing a branch is a good idea. sorry, I haven't had time to reply to your thread yet kstingel: I broke my Linux box :( .... blew the power supply and fried the motherboard (and HDs), no spare box to turn into a replacement chealer: kstingel: *you* broke all of that? how did you manage? kstingel: in my defense, I didn't blow it up ... it was plugged in during heavy storms and when I got back home it was dead ... along with my UPS chealer: OK, that's what I would have thought. still pretty badlucked kstingel: amazingly, I didn't kill the monitor too ... that took me another 6 months, it died of old age (7 yo) RobertPlummer: chealer: how do we check for features now in 8? I forget. chealer: kstingel: what did you mean by "I (we) could safely test for from the 7.1 release without the possibility of inadvertently breaking a page by changing things we shouldn't." kstingel: teenage kids thought main comp needed to be on for them to access net ... didn't think to turn it off when thunder started chealer: RobertPlummer: sorry, I don't understand what by "check for features now in 8"
s/what/what you mean/ RobertPlummer: In parserlib in the middle of parse_data I want to check if a feature is turned on, and based off that I want to use the new parser if it is enabled. chealer: kstingel: haha. yeah, I still try to power off desktops during storms. was it on a power bar? RobertPlummer: chealer: see above kstingel: I'm only new to community editing .. I still tend to think in terms of my knowledge level ... and one of the first changes I planned to make was fix the remaining <br> tags ... they should all be <br />, but I'm worried that might break stuff chealer: RobertPlummer: oh. I imagine checking $prefs['foo'] still works, but I don't remember that there's a better way in trunk RobertPlummer: ok kstingel: as I was writing my reply, I was thinking in terms of what I'm confident doing ... then remembered there's most likely people who know tiki better than me (not hard) who would also look in on my hacks ... oops, edits :) chealer: kstingel: I didn't mean which changes you want to try, I just can't make perfect sense of the above sentence. you want to test *for* 7.1 or *from* 7.1? kstingel: rather than wait to be able to use the code in the next stable release, I want to use the fixes in the current version :) RobertPlummer: marclaporte: getting ready to commit the ability to turn on the new parser for wiki pages (or anything that calls parse_data) -: marclaporte is on standby chealer: kstingel: there will definitely be some people to review your commits CIA-88: tikiwiki: 03robertplummer * r35977 10/trunk/ (4 files in 3 dirs):
tikiwiki: [NEW] Added the ability to turn on wiki parser in parse_data, this is really only for debugging and will probably need moved later.
tikiwiki: [FIX] WikiParser... pesky + again, need to move all dom element creation to another function inside parserlib or even smarty chealer: kstingel: I tend to agree with Louis-Philippe that you should just commit to trunk and trust you will get feedback if things go wrong. could you detail what would be your plan if not? you want to test on your own Tiki 7 website? ***: lphuberdeau has joined #tikiwiki CIA-88: tikiwiki: 03marclaporte * r35978 10/trunk/lib/prefslib.php: [MOD] Advanced prefs are no longer visible by default. http://doc.tiki.org/Tiki8#Admin_panels_-_filtering_basic_and_advanced_preferences kstingel: I have test tikis set up running 6x, 7x, trunk and prop6x so that I can compare proposed fixes for backwards compatibility with current active versions RobertPlummer: marclaporte: fyi plugins don't get $headerlib js files posted for some reason, I will have it fixed soon for the new parser, it is just an fyi.
There are a ton of things it doesn't do yet, but the hardest things have been covered, ie lexing.
marclaporte: correction on that, it does work, just not reading the params correctly will put a damper on things ;) chealer: kstingel: yes, that's good. but why would you do an experimental branch rather than commit directly to trunk? marclaporte: Fatal error: Call to undefined method ParserLib::array_apply_filter() in lib/parser/parserlib.php on line 1018 chealer: kstingel: I don't know how much you know about VCS-s, but with Subversion it's very easy to control changes. if your project really goes bad, the worst that can happen (unless something messy happens) is that we rollback the changes, which is just a one-liner.
kstingel: I think the risk that you pose working directly on trunk is lesser than the risk you work on an experimental branch, have trouble merging these changes to trunk once you're done, and then we lose you work kstingel: chealer: I read somewhere we're not meant to add new directories into /lib/ ... if I don't create a jail, how do I add Smarty3? marclaporte: Stephane should add Smarty3 to trunk this week
<br> -> <br /> is good to do in trunk chealer: kstingel: as Marc said... I recommend you discuss directly on the development list and with Stéphane Casset before doing any work on Smarty 3 kstingel: ok, I'll just knit some more baby beanies and wait until Smarty3 comes in to start my template overhaul then .... and let my FTP client finish in peace .... SVN and FTP are fighting for swap space at the moment
.... and my fingers are cold :) CIA-88: tikiwiki: 03lphuberdeau * r35979 10/trunk/lib/ (parser/parserlib.php tikilib.php): [FIX] Multiple issues extracting the parser code to parserlib lphuberdeau: RobertPlummer, you did a good job searching for calls to the functions you moved, but you forgot to check the remaining relations between tikilib and parserlib
that's where all of the issues were RobertPlummer: What do I need to do now?
lphuberdeau: lphuberdeau: I fixed them
just something to look out for next time you move code around ;) CIA-88: tikiwiki: 03kstingel * r35980 10/third_party/component_version_listing.txt: [NEW] added "component_version_listing.txt", I've been using it to track library versions, thought it may be of use to others RobertPlummer: lphuberdeau: Thanks yoda ***: kstingel is now known as kstingel|away RobertPlummer: the force is strong with lphuberdeau CIA-88: tikiwiki: 03robertplummer * r35981 10/trunk/lib/parser/ (WikiParser.php parserlib.php):
tikiwiki: [FIX] For parsing inline plugins
tikiwiki: [FIX] Removed unneeded function for parsing args
tikiwiki: [FIX] rename of params to args in wikiparser RobertPlummer: lphuberdeau: we made some real progress today!
I have a fully working new parser that looks almost exactly like the old parser.
VERY COOL! marclaporte: kstingel|away : I added your link to http://dev.tiki.org/External+Libraries RobertPlummer: I'm heading out! lphuberdeau: still havn't tested the new parser, I stuck to fixing the old one ***: RobertPlummer has quit IRC (Ping timeout: 252 seconds)
kstingel has joined #tikiwiki
kstingel|away has quit IRC (Ping timeout: 258 seconds)
kstingel is now known as kstingel|away
kstingel|away is now known as kstingel
lphuberdeau has quit IRC (Ping timeout: 255 seconds)
radek82 has quit IRC (Quit: Leaving) CIA-88: tikiwiki: 03kstingel * r35982 10/third_party/component_version_listing.txt: updated to include vfsStream marclaporte: kstingel : did you consider maintaining in a wiki page? kstingel: marclaporte: not yet, I only wrote the file up 2 days ago .... where should I create the page? marclaporte: That info could be on http://dev.tiki.org/External+Libraries
(I added link there)
Wiki page seems easier to update
but if you prefer to maintain in SVN that's fine too :-) kstingel: I saw the link .... just waiting on browser to log me in so I can create the page
will try to keep both updated .... I use the text file for debugging my apps ... gives me an easy way to make sure I'm using the same library versions
oops ... I think I broke tiki ... I tried to login to dev.tiki.org and I broke it .... "Tiki is unable to connect to the database" marclaporte: kstingel : CodeMirror should be 2.1 or something and not 2.0 ? kstingel: only reference I could find in files was to codemirror 2, so I just entered that .... will double check -: marclaporte suggests to put a hyperlink to the project homepage kstingel: will do that for all of them in the tiki page, was a bit untidy for a text file though marclaporte: ok :-) kstingel: :( I can't login, I broke Tiki .... I very very sorry .... honest, I didn't mean to break it marclaporte: hahahahahah
don't worry
you are helping test it :-)
doesn't mean it's you kstingel: it either doesn't like me today, or it wants to forget me :) .... I had ticked the box marked "remember me" marclaporte: MySQL server has gone away : prolly not you kstingel: MySQL is back now .... but Tiki is slow to load -: marclaporte pings changi ***: Indro has joined #tikiwiki Indro: hi all
i have exactly the same problem like this guy http://tiki.org/tiki-view_forum_thread.php?comments_parentId=40360
any idea what i can do?
i cant loggin to tikiwiki anymore, it just displays a blank screen? chealer: Indro: that thread is about a problem logging out Indro: yeah it display only blank screen after i logged out
how i can get site back? chealer: Indro: so you only get blank screens from your site, whether you're authenticated or not? Indro: i cant login after logged out because i get blank screen
so i can check if its work if im authenticated. ;)
can't
any idea what i could do? kstingel: marclaporte: there are 2 sites for JS Calendar, which site do I link to? ... the current (v 2+), or the old (ours) Indro: is there something a i i can do to get ride of the blank screen? chealer: Indro: does the page source contain anything? BTW, what is your native language? Indro: the source code is <div id="Mithelfen" style="display:block;">
german is native. ;) marclaporte: kstingel : JSCalendar is on the way out in favor of jQuery stuff
Is the current still FOSS? chealer: Indro: when did your problem start? kstingel: it was still in the third-party directory when I ran today's update :) Indro: i dont know because i was logged in long time, the problem begans after logged out
since then there is only blank screen
last action was added a module with a menu.
then logged out, blank screen. ***: GillesM has quit IRC (Remote host closed the connection) CIA-88: tikiwiki: 03chealer * r35983 10/trunk/lang/fr/language.js: uniformize translation of "Edit module" chealer: kstingel: you want to put the version in Tiki next to the current upstream version?
kstingel: oh, nevermind Indro: chealer: any idea what i can do? chealer: kstingel: it's not a big deal, you could link to the new version since it links to the old one anyway
Indro: try enabling PHP errors reporting. are you still logged in in any browser? Indro: sadly not anymore. :/
but i think i have enabled it already
where can i find the log? chealer: Indro: are you able to log back in using a URL similar to tiki-login.php?user=admin&pass=12345 ? Indro: doesnt work with that url
just get blank page chealer: Indro: Tiki only logs errors in the output so you would already see them. Apache can also log errors but PHP needs to be configured to do that.
Indro: you did change "12345" to your actual password, right? Indro: it works now, thxx. :)
but when i log out i get blank page again. :/ chealer: Indro: what is there error reporting level set to?
Indro: what is the error reporting level set to? CIA-88: tikiwiki: 03kstingel * r35984 10/third_party/component_version_listing.txt: updated CodeMirror version Indro: where is that setting? chealer: Indro: in the General admin control panel kstingel: have also added the info from the SVN file to http://dev.tiki.org/External+Libraries
... linkage is only available on the Tiki page, I didn't add it to the txt file because it threw my 'table' out of alignment Indro: Show all php errors
is there
where can i find them? ***: kstingel|away has joined #tikiwiki chealer: kstingel: thanks
Indro: a fatal error would just show. do you know Smarty? Indro: not really
i enabled smarty error
but it display still nothing chealer: Indro: OK. did you create custom/user modules? Indro: yes ***: fabricius has joined #tikiwiki chealer: Indro: how many? does any of them display for the Anonymous group? ***: kstingel has quit IRC (Ping timeout: 260 seconds) Indro: i deleted the custom module, now it works again. =)
thanks for your help, really appreciate it. :)