tikiwiki: 03chealer * r22377 10/trunk/lib/wiki/histlib.php: [FIX] get_last_changes() cant could be too low. r20841 regression, oops heh, calendar year view does funny stuff with the calendar module I should start working on calendar modules tomorrow in fact, I already did, but for some mysterious reasons, the 3 files I had changed were reverted two days ago, I saw all my changetimes change to a couple minutes interval on my whole Tiki checkout. I had no file left modified from base after that. I didn't find anything in logs. the changetimes didn't change since then. marclaporte: so I'll go to a party in Ottawa the weekend after TikiFest Toronto, which means I'd just need to go to Toronto. Porter sells Quebec -> Toronto plane tickets for ~ 115 CAD. it's quite possible that I'll be present. super! sylvieg: in 3.2 pretty tracker when i'm user with admin rights creating new item doesn't pre-select my username in user selector drop down like in normal tracker item... is it easy to fix ? i have set 1, for the user selector field New Forum Posts: Comments Feature - http://tikiwiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=34953 has anyone had trouble with favicons after an upgrade to v3.2? nope luciash: does the favicon.ico just go in the root directory and does it have to be called favicon? yes for IE6 for others it can be png tikiwiki: 03eromneg * r22378 10/trunk/templates/ (browse_file_gallery.tpl list_file_gallery_content.tpl): [FIX] podcast directory reference re: bug report #2377 hi is tikiwiki planned to go into ubuntu? hi RoyK - i didn't answer cos i don't know - i have heard mention of people getting a debian package together, but it's not my department really (Mac user!) tikiwiki: 03jonnybradley * r22379 10/trunk/_htaccess: [FIX] Allow sefurl links to image gallery thumbnails (legacy) jonnyb: you could look into what it would take to add tw to fink or darwin repos ;) i've never liked either of them - seems like more hassle than they're worth imho for what i have used it for fink does a decent job if needs be i just get the source and make locally sounds like you know more about it than i ;) i tried once to make a universal binary... failed horribly yes, can be painful it was worse then painful i found after the first few it was quite ok - just ignore the 94 pages of error messages that flash past! well since i use fink i had to figure out how to rebuild the libs to be universal and that was a pita and then lead to the app not building at times :S ik - yes, i couldn't really see how fink would help - especially as when i was learning all this on a very early Macintel (nothing precompiled worked) for a basic build without universal it helps a lot, otherwise it is useless RoyK : yes it will poooooooolom :-) Tiki4 is looking good! Keep up the great work everyone! marclaporte: thanks, just don't enable the module controls ! ;) hi marclaporte - i was usinf filegals a lot last night and found loads of bugs :( hi jonnyb , /me found the filegals queries crazy :-p http://epnet.org/midwiki hi luciash - yes, there's some very strange stuff in there i've recreated that site locally so hopefully i'll find a few fixes! the categorisation is totally broken now i am unsure if it was actually good idea to ran away from image gals and try to put everything in filegals :-p we could very well keep them separated and focus in imagegals on improving them and enhance image editing features (we miss rotate a lot e.g.) there was way too much duplicated code, so it was a good decision i tihnk - but some of the weirdness that's gone into filegals doesn't help... can't see what is broken on the link you sent jonnyb no, i was up to 2am hacking at it :) we're ten years old! w00t! so going out for a mexican dinner tonight jonnyb: well, i must admit i haven't looked into it a lot to see the duplicated code if you edit a filegal, setting the category there doesn't work w00t ! nice :) also, on cat admin, you can only assign objects to cats with sub-cats that sort of thing ;) you even converted the geo style to new tableless layout ! cool :) polom hi chealer luciash: geo's about half converted (only the bits that show - mostly) hi chealer hi jonnyb. happy birthday (whoever you are) :) (it's just our pyramid collecting project - 10 years since the first expedition) i see you still use both gallery features there too jonnyb: is that your project? : http://www.pennypyramidproject.com/ no, but how cool is that!? :) our stuff is here: http://epnet.org - with a tiki in development here: http://epnet.org/midwiki tikiwiki: 03sylvieg * r22380 10/trunk/_htaccess: [FIX] big temporary patch in rewrite rules-> must be fixed by having something like forum12?aa=1 and not forum12&aa=1 my friend Danny was making a beer-can pyramid hehe the latter does look more like Tiki tikiwiki: 03jonnybradley * r22381 10/trunk/ (templates/list_file_gallery.tpl tiki-list_file_gallery.php): [FIX] Alpha order for "move to" gallery list I watched a program on Palenque a few weeks ago - impressive. great developers. my fave site, i reckon /me tries AptanaStudio 1.5.1 jQuery support, nice ! :) +1 uses silk icons too :-p i've been on aptana for a couple of months now - totally moved from eclipse pdt now but you need the PDT plugin for Aptana too, isn't it ? no, it has it's own one now the only custom thing i had to do was to remove the aptana svn thing, and use the newest one from tigris (cos i have svn 1.6 installed here) jonnyb: i create new project, select Tiki trunk folder and now it asks me to import JavaScript library jQuery 1.3 jonnyb: should i skip it ? i guess - don't remember seeing that not another --ignore-externals thing is it? that's because i choosed to install additional support for ajax libraries - jQuery i guess but i am unsure if it tries to import its own jQuery to the newly created project or if it detected Tiki alreday has one :-p skipping Create hosted site too hmm, it takes pretty long to create a project compared to eclipse :-p it created index.html... going to kil it immediatelly ;) which quotes are we supposed to use in sql statements now (for strings)? in php ? yup jonnyb: no change for strings - single quotes. actually, no change for identifiers neither best is $this->query='... "string" '; ok, so double quotes will be the future? as php doesn't have to parse it jonnyb: unless you mean around the PHP strings formed by whole SQL statement s jonnyb: unless you want to add backslashes jonnyb: but in any case, no change yet $this->query="... 'string' "; would be slower for php as it expects there can be some $var to be parsed inside jonnyb: double quotes may come in the future - there's probably no interest until we actually support other DBMS-s ok chealer: can the convertQuery handle only single quotes around SQL strings ? you mean ? luciash: convertQuery doesn't deal with SQL string values quoting. it only deals with SQL identifier quoting, converting backticks ok, fine, then i recommend what i said does anyone know if there's a mapping somewhere from object (types) to enabled features? browse category is showing disabled stuff, and it's annoying me thought i could use the user_permissions table, but the types there are plural (i.e. file galleries, not file gallery) $this->query = 'select `someId`,something from tiki_some_table where `someId`,something values(?,"string")'; but there are not many cases "string" would go to be put in the query directly i guess marclaporte: I've started migrating some content into tikiwiki. I came across this bug: http://dev.tikiwiki.org/tiki-view_tracker_item.php?itemId=1661&trackerId=5 , and was wondering how you ended up dealing with it? jonnyb: sorry, spanish village (for me) looks like it's not in there anywhere :( basicly, I'm wondering if I should try to get !, !!, !!! to work with WYSIWYG or teach users to use (bold) for headlines instead. luciash: VALUES in a SELECT? shouldn't that be '`someId`=? AND something =\'string\'' ? oh, sorry, chealer , right, but to save typing you could use something="string" ;) luciash: double quotes around string values? I doubt that's standard SQL. oys: always try to be semantic oys: ! !! !!! should work in wysiwyg in trunk (at least) chealer: well, since we use backticks anyway and convertQuery, i think it really doesn't matter for now or does it ? might be i am wrong we just try to make it easier for devs i thought luciash: I agree that being semantic is nice. It allows e.g. maketoc. it is interpreted in wysiwyg with 3.2, but I can't find a way to create a new headline (without switching to normal editor mode) (and for php performance) luciash: convertQuery() doesn't treat double quotes. I don't think PostgreSQL would like double-quoted string values. chealer: ah, that's what i was asking about... if convertQuery handles that... if not than my suggestion is totally out of discussion... sorry luciash: http://www.postgresql.org/docs/8.4/static/sql-syntax-lexical.html#SQL-SYNTAX-CONSTANTS luciash: I think I didn't realize until now that single-quoted PHP strings caused issues with single-quoted string values luciash: basically, PHP gives us two string quoting choices, both of which conflict with one of SQL's standard quotes. so, backticks *were* an interesting solution in practical terms. jonnyb: then if you care about php performance: $this->query = 'select `someId`,something from tiki_some_table where `someId`=? AND something=\'string\''; jonnyb: if not, then: $this->query = "select `someId`,something from tiki_some_table where `someId`=? AND something='string'"; chealer: interesting, indeed :) thx :) but 'select `someId`,something from tiki_some_table where `someId`=? AND something="string"' seems to work (on mysql here) jonnyb: yes, but it would fail with PostgreSQL as chealer mentioned mysql allows double quotes there ok, ta mysql doesn't care much about SQL standards but tries to be "practical" instead ;) even MySQL will refuse double-quoted string values if you set ANSI_QUOTES: http://dev.mysql.com/doc/refman/5.1/en/identifiers.html tikiwiki: 03jonnybradley * r22382 10/trunk/tiki-browse_categories.php: [FIX] auto_query_args for browse cats true another category thing: on admin categories you seem to only be able to add objects to the cat's parent - is it supposed to be like that? doesn't make sense to me oh no, it's only if you edit a category (then the "add" things all apply to the parent) jonnyb: i think for backward compatibility i have to change the "rel containg type=img or no type=" in colorbox setup, because now the inline content or relative links do not load when you set photo: true as default jonnyb: i will change if href ends with image to add photo only tikiwiki: 03jonnybradley * r22383 10/trunk/categorize_list.php: [FIX] Set $cat_object_exists if $cat_objid is set (needed for filegal edit to show current cats, but possibly others?) luciash: wouldn't it be better to add type=iframe or whatever to non-image links in 'box? mostly it's used for images, no? ok, that could also work i will try marc wanted the img tags to be cleaner - which i think is a good idea - images on pages are quite popular ;) sure, but it could be done same as in shadowbox adding relative or inline content to appear in a 'box is fairly exotic, isn't it? if the link ends with jp(e)g,png,gif then it would do as photo how? it isn't, check facebook ;) you mean with type=img on the end of them all? nope oh? i mean in selector i've never typed anything into facebook to make something like that appear - that's all done in their code we're talking about user's wiki pages, aren't we? coders don't mind that kind of thing - we love it :D something like $jq("a[rel*='box'][href=*'jpg']").colorbox({...}); yes, wiki pages, but we have pretty trackers ;) wouldn't work with filegal images and if you use a wiki page as a template, it's handy and it's handy for normal wiki pages too well, filegals can have type=img in the image links, can't they ? it's non-changeable code by users so no matter if they are there it was like that with shadowbox... but as you say, i can do that the other way around but that's what marc was complaining about something like $jq("a[rel*='box'][href!=*'jpg']").colorbox({...}); maybe you can take it up with him? (marclaporte there?) i have no problem with that, i am just trying to keep it as much backward compatible with shadowbox users as i can (you sent me a mail about this, didn't you - i go read it again ;) ) ah, you don't mean _in_ filegals but with the img wikiplugin inserting _from_ filegals ! yes, in wiki pages i agree, we can do whatever we want in the code _in_ filegals i see it's just trying to make the syntax as simple as possible for the end idiot (sorry, i mean, user) sure i don't want to put the type=img back in there, i am just figuring it out in tiki-jquery.js is the [gallery] bit working for you in filegals? no, it's broken, just removing it the wrong code ah, you want me to have a look at it? all that jq does look very long yes please, just after my commit please of course :) oys : there are some things that are better in wiki than WYSIWYG but I don't know if this is one of them (Wish 1661 is both a feature request and a bug) so maybe it it supposed to work but is broken or it was never coded but should be doable or maybe it's a lot of work, and will always be wiki-only marclaporte: wysiwyg actually appears to interpret !, !! and !!! if I type it in manually. Maybe some time in the future there will be a more newbie-friendly button to "make selected text H2") another issue I was having was using single linebreaks. The next time I went to edit the page, it would all apear on one line. double spacing seems to have solved this. oys : there is that button already, I would think yes, line breaks is often tricky. Did you use WYSIWYG-Wiki profile? dos somebody know if there is a function check perm on one object that include jail checking? I enabled Editor_Dual and Editor_WYSIWYG_Toolbar_Recommended luciash: most of that seems to work here sylvieg: it'll be one of LP's new perms accessor things - one mo, i'll find one user_has_perm_on_onbject doe s not do it now I've disabled all profiles, gone with a clean install and started adding content using regular wiki syntax. once I've added stuff from various sources (foswiki, a frontpage website, various messy word-documents, etc) I'll have another look at the various WYSIWYG profiles. I am trying Perms::get Perms::filter() i tihnk is the one you need oys : : Editor_Dual and Editor_WYSIWYG_Toolbar_Recommended -> I think they are unfinished but must admit i gave in - couldn't get it to work for me (returned nothing for reg, everything for admins) oys: try WYSIWYG_Wiki tikiwiki: 03luciash * r22384 10/trunk/lib/jquery_tiki/tiki-jquery.js: tikiwiki: [REM] ColorBox: commented out code causing problems and which was intended to tikiwiki: detect and distinguish only "box[foo]" from the rel="shadowbox[foo];bar=..." tikiwiki: attributes and be able to group by that for ColorBox "gallery" purposes tikiwiki: [FIX] ColorBox: inline links and relative links (non-images) displayed properly now jonnyb: it's yours for now :) the profiles I just mentioned also broke ((links)) turning them into html-style links (sometimes) jonnyb: now the inline and relative link to print page "Tests" should work jonnyb: display in ColorBox oys : it lookfs like PascalStjean is indeed working on these profiles. Great! ok, checking jonnyb: if you figure out what i commented out it would be great... test on this page before commit ;) marclaporte: I will try that one (even though it says "not functional yet"). but as you mentioned, PascalStjean updated the docs for the other profiles yesterday. oys : we do that to lower expectations :-) jonnyb: oh i forgot there's the thumb=y param missing jonnyb: it is what's inserted from file gallery, right ? in that page? yup yes, in that test page going to correct it i added max=200 to them ;) did the guy fixed the img plugin to display the thumbnail from file gallery instead of just stretched down version of the full image ? not sure... looks like it to me is tiki-js.js flip()'s persistence known to be broken? sometimes jonnyb: doesn't seem so luciash: you're right :( jonnyb: grab the corrected code of the wiki page if you like jonnyb: was that for me? if so, does it work sometimes? chealer: yes, sorry - on some things (like module cols toggle) it's broken - but ok for menu etc jonnyb: different function i guess icntoggl or something jonnyb: yeah, as luciash writes... are you sure that uses flip()? it does call icntoggle directly jonnyb: as you're on it, can you add maxHeight: "100%" under the photo: true ? ;) luciash: don't you think that looks odd with a small image? it's maxHeight not height: ah, ok or maybe put it for all where the comment "// for every link containing ..." is instead of the height: "95%" just replace it that seems more correct to me sounds good hey guys--just started seeing this message when going to my Tiki site: Fatal error: Cannot redeclare a78() (previously declared in /home/centran7/public_html/tikiwiki/db/tiki-db.php(1) : eval()'d code:1) in /home/centran7/public_html/tikiwiki/db/tiki-db-adodb.php(1) : eval()'d code on line 1 Any thoughts? ikeco: which Tiki version do you use? 3.1 at the moment---All was well for a long time, then one day, this error not a new install ikeco: are you aware that Tiki 3.2 was released? tikiwiki: 03chealer * r22385 10/trunk/templates/tiki-admin-include-wiki.tpl: [FIX] HTML special chars encoding polom to you all Does anyone here have admin access to edu.tw.o? I wanted to test out the Workspace GUI, and followed the instructions for adding myself as a Workspace user at the bottom of http://edu.tikiwiki.org/tiki-workspaces_desktop.php?workspaceId=2 , but got a "permission denied" error. re tikiwiki: 03sylvieg * r22386 10/trunk/ (10 files in 5 dirs): [FIX]tracker: fix categ perms checking on tracker items + jail list and stat on items (todo: distinguish perm view, view close... depending on item status) tikiwiki: 03jonnybradley * r22387 10/third_party/jquery/ (5 files in 3 dirs): tikiwiki: [MOD] Update jquery colorbox plugin to latest (1.3.1) tikiwiki: (see http://colorpowered.com/colorbox/core/README for full info) tikiwiki: 03sylvieg * r22388 10/trunk/installer/schema/20091016_categorization_tracker_item_tiki.sql: [FIX]forgotten for 22386 luciash: i got [gallery] working - but had to take out your default iframe line tikiwiki: 03chealer * r22389 10/trunk/ (3 files in 2 dirs): tikiwiki: [FIX] tikiwiki: [FIX] error_reporting overriding tikiwiki: [FIX] undefined notice tikiwiki: 03jonnybradley * r22390 10/trunk/lib/ (tiki-js-sorttable.js tiki-js.js): [FIX] Function adjustThumbnails() was in the wrong file (my fault i think - apologies) jonnyb: np, maybe the rule with "http link = iframe: true" should be the first one instead... my bad or what default iframe you mean ? but we can't have two defaults at once, surely? i guess they override, no ? but how is it supposed to tell? (photo or iframe?) photo for images, flash for flash, iframe for rest basically + inline inline's ok if it always starts with a # it has to distinguish from the rel params or from href if none of the links so it recognizes as same gallery now even with different additional params when there is box[foo] ? rel="box[foo];width=300" and rel="box[foo];width=400" should be same gallery seems to just work (without that line) jonnyb: great ! good work ! i'll commit and we can discuss (but i'm off out in 30 mins) thank you nema problema, i will be afk now as well food ;) tikiwiki: 03jonnybradley * r22391 10/trunk/lib/jquery_tiki/tiki-jquery.js: tikiwiki: [FIX] More on colorbox - removing default for iframe as it conflict with photo being a default. tikiwiki: Links for iframes will need "type=iframe" in the rel to work as an iframe. hey, i was wondering if anyone else is having problems with mods.tikiwiki.org? !help You can get a more complete list of commands that work with this bot at http://tikiwiki.org/TikiBot . if mods is not workink you can find all the code on soruceforge.net k, i'll head over there, thanks jonnyb: it will not work as it used to with shadowbox like this if you don't add anything to extract box[foo] from the rel and use that only to group the objects in a gallery... as i gave you the example with different width or it can be different title, ColorBox will think it is different gallery name thanks for noticing the problem with &display though may i ask why 100% height for slideshow (as you pointed out smaller images will look weird) ? ah, yes - should be minHeight probably max ;) but if it works like css it should be taken already from the first match of rel*='box' so no need to set it there too i thought jonnyb: can i play with it now ? it's all yours :) oh, deeply sorry, i have looked on the wrong side of the diff ;) you actually removed it, good work, bow :-) :-p *g* maybe we need a new pref: feature_jquery_colorbox_compatibility or something? no no cos all that code is quite heavy on page ready - lots of very vague selectors running on all s ah, that's true on the other hand, remembeing the performance links i sent you ;) i will try to speed it up and re-consider what you suggest :) HI! I`m installed tikiwiki on my fresh CentOS 5.3 box, but it`s so slow... how to fix it ? tikiwiki: 03chealer * r22392 10/trunk/ (3 files in 2 dirs): tikiwiki: [ENH] change last_submissions module to new module style (modules-doc). tikiwiki: [FIX] HTML special chars encoding tikiwiki: 03chealer * r22393 10/trunk/templates/ (13 files): tikiwiki: [FIX] HTML special chars encoding tikiwiki: [FIX] colons inside tr blocks polom chealer: how many modules left? marclaporte: I took a one week "break", just restarted. there's probably not much progress since the last time we talked. but 17 significant ones ok tikiwiki: 03chealer * r22394 10/trunk/templates/ (find.tpl tiki-list_articles.tpl): [FIX] HTML special chars encoding tikiwiki: 03chealer * r22395 10/trunk/ (3 files in 2 dirs): tikiwiki: [ENH] change top_articles module to new module style (modules-doc). tikiwiki: [FIX] HTML special chars encoding is there any "HowTo speed up tikiwiki" ? tikiwiki: 03chealer * r22396 10/trunk/ (3 files in 2 dirs): tikiwiki: [ENH] change article_topics module to new module style (modules-doc). tikiwiki: [FIX] HTML special chars encoding tikiwiki: [FIX] broken check to display module contents using randomly defined ix tikiwiki: 03sylvieg * r22397 10/trunk/ (lib/categories/categlib.php tiki-view_tracker_item.php): [FIX]tracker: fix trackeritem working with category transition http://doc.tikiwiki.org/Theme+Control has a link to http://doc.tikiwiki.org/tiki-theme_control.php which is kind of useless in a public document. Unless we grant theme admin priv to Anonymous. do we have a plugin ONCLICK like we have a mouseover? I thiought that in trunk and admin did not have his html cleaned tikiwiki: 03luciash * r22398 10/trunk/lib/jquery_tiki/tiki-jquery.js: [ENH] ColorBox: fixes and enhancements - tested with wiki page links, inline, external, absolute, relative, images, slideshow, FileGals, ImageGals, ... tikiwiki: 03luciash * r22399 10/trunk/lib/jquery_tiki/tiki-jquery.js: forgotten selector