fabricius: haven't seen that one yet :) i like the older ones, e.g. the conCERNed pfffft lool tikiwiki: 03chealer * r37439 10/branches/7.x/templates/modules/mod-search.tpl: [bp/r37187][FIX] HTML special characters encoding tikiwiki: 03chealer * r37440 10/branches/proposals/6.x/templates/modules/mod-search.tpl: [bp/r37439][FIX] HTML special characters encoding tikiwiki: 03chealer * r37441 10/branches/6.x/templates/modules/mod-search.tpl: [bp/r37439][FIX] HTML special characters encoding good morning & polom tikiverse G'mornin everybody! :) hi merbster does one know how to display a preview of a pdf in a wiki page? i do coaboa, you just use the plugin mediaplayer When categorizing tracker items. are they categorized in the normal fashion through "tiki_category_objects" or is the category of the item only stored on the field? SJ-Jay: oh, does it display pdf? cool thx coaboa, it sure does! ;) {MEDIAPLAYER(src="http://foo/file.pdf", width=, height= style= )}{MEDIAPLAYER} thx, did not thought of this plugin to use for pdf ;-) me neither.. but luckely we all can help each other! :D unfortunatelly the mediaplayer plugin doesn't display the pdf just downloads it. ff and chrome any hints? @ trunk inspecting: there is a iframe class: mp4downloader_tagChecked, may this cause the pdf not to display but to download? coaboa, Do you have the PDF plugin in your browser? coaboa, I am pretty sure you need adobes acrobat reader installed and a compatible browser plugin to show the pdf? Or else the browser won't know how to handle it and then just try to download it. Oh let me check. thaught this would be serverside PDF is client side. atleast showing of it ;-) y. slapping myself don't I can do that for you lol it looks like at ubuntu there is only a pdf plugin for ff. :-( so we probably have to generate jpg previews to display our boks proper @ all browsers. coaboa, sounds like something that is not entirely easy to do. (atleast if it needs to be automagic) y. hoped to get arount that conversion step New Forum Posts: Probleme bei der Installation - http://tiki.org/tiki-view_forum_thread.php?forumId=10&comments_parentId=42286 Does anyone know how tracker items are categorized? :S I mean, at the database level not how to do it in wiki Tiki* Merbster: sry, I do not know, cause I never had a usecase to categorise items ... I would try to cat some and then check in the appropriate dab-table fabricius, I am doing exactly that, but nothing pops up in the expected table. But Tiki can see that the item is properly categorized. ah anyway, I thought you would do that Merbster: did you check tiki_categorized_objects and tiki_category_objacts aswell (in sql) -a +e yes. Problem is, it does not use the "original item id" somewhere it maps between a tracker item ID and a "catobjectid" whatever that is. oh I found out I have no idea, why this is and if that makes sense, but in my mind that point fromtiki_tracker_items to tiki_categorized_objects or tiki_category_objects ah - tell me pls fabricius, problem is, tiki_objects is used. So there's an entry created in tiki_objects that refers to the itemId. So it's the tiki_object that is categorized in tiki_category_objects aha and what's the story with tiki_categorized_objacts? objects Tikis db scheme is unlike anything I've seen before :P sry New Forum Posts: Probleme bei der Installation - https://tiki.org/tiki-view_forum_thread.php?forumId=10&comments_parentId=42286 New Forum Posts: Permission to move files requires File Galleries Admin access? - https://tiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=42276 New Forum Posts: TikiWiki developers on vacation? - https://tiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=42274 It seems to be independantly grown over years fabricius, From what I can figure out, just by looking at the data, all tiki objects end up there, wether it's a page, tracker item, article whtaver. so in the end, all finally is an object with an individual Id an you have different ways to trigger an object fabricius, I am not into the details yet. fabricius, but basically yes. I suspect it's a way of collection all tiki objects across the different types so that objectIds are not conflicting across different DB tables. (allthough I am only speculating) New Forum Posts: Probleme bei der Installation - http://tiki.org/tiki-view_forum_thread.php?forumId=10&comments_parentId=42286 New Forum Posts: Permission to move files requires File Galleries Admin access? - http://tiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=42276 New Forum Posts: TikiWiki developers on vacation? - http://tiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=42274 Merbster: is it true that tik build for every category db request a md5 to use as key? wouldn't it make sense to store those values ina table rather than recalulate those with every request? *tiki *in a coaboa, I have not seen any MD5s used in caategorizing objects coaboa, but either way, if you are using MD5 as a key, generated from an object you'd have to generate the value to even look it up? You can't look up a value without having it on hand and telling the DB what to look for :P $category_objectid = md5("category" . $category_id); which (as of one of our devs (with not that much tiki experience) is a huge waste on performance coaboa, I can't find anything in the category tables that uses and MD5 sum. But I am not sure. Maybe the MD5 sum is used elsewhere in tiki code to compare if two objects are equal, I would expect MD5 generated on the same object will be equal, but you have to refer to md5 docs to be certain Basically I dislike the idea of using Md5 sums as keys as there is a very, very, very small chance there will be colliding values (but small chance is still more than no chance) yes that an other ting my brother pointed out that md5 might not be unique enough to be used as unque key ;-) *thing most DBs have functionality to generate globally unique keys But you ahve to make huuuge systems. I have always just used an int (or bigint) column. but again it doesn't LOOK like the md5 sum is used in hte database (or atleast stored there in any of the category tables) but it might be used for something different. coaboa, but. if your tiki is not slow, don't fix it ;-) tikiwiki: 03jonnybradley * r37442 10/trunk/lib/core/Tracker/Field/ (Dropdown.php File.php Image.php): [FIX] trackers: strict notices tikiwiki: 03chibaguy * r37443 10/branches/7.x/templates/module.tpl: tikiwiki: [bp/r35632][MOD] Class clearfix needed (to contain child elements) to style tikiwiki: module div id="mod-module_name" (div nested within div class="module_name") when tikiwiki: nobox=y is set. Useful for added styling of box-logo, for example. I agree with the md5 usd in users_objectpermissions. It should never habe been designed like this - but it is hard to reverse.... but it is ok - because it is an md5 on an unique value - so there will ne no conflict sylvieg, THank you for the elaboration :) polom !help You can get a more complete list of commands that work with this bot at http://tiki.org/TikiBot . hi. i've spotted quite some inline styles in different places. shouldn't those be removed? the TRACKERFILTER in 6.x LTS loses the parameters when paginating. The pagination happens to live in the TRACKERLIST code and smartytiki. Has anyone solved that already? smallest morning svn up in a long time, only 7 files modified luciash, did you notice a weird loading effect in firefox recently? when I go on doc.t.o, everything seems fine, but on trunk, the content first appears with no styling at all, then it applies Is there a way to get the category of the current wikipage via. js? lphuberdeau: You mentioned moving some functions up TikiDb in the innodb branch before merging with trunk. Are you on the case? arildb, I was counting on you to make those changes RobertPlummer, I modified that huge SQL query in the trackerquerylib to support the category of the tracker items. Maybe we should look at merging our codes when you have the time? ok. I will look at it. I guess the functions in question are: isMySQLFulltextSearchSupported, getCurrentEngine, hasInnoDB and getEngines all from installlib yes ok tikiwiki: 03sampaioprimo * r37445 10/branches/7.x/ (. lib/reportslib.php tiki-user_reports_send.php): [bp/36110]tiki-user_reports_send.php works without previous configuration tikiwiki: 03sampaioprimo * r37446 10/branches/proposals/6.x/ (6 files in 4 dirs): [bp/36110]tiki-user_reports_send.php works without previous configuration Would it be useful to have a PHP script that is focused on delivering data about tiki objects to JS ? i.e. asking what category a specific wiki page or article is in through a JS postback (or something like it) ? really depends on what you want to do with it, because it could create a lot of calls to the server tikiwiki: 03lphuberdeau * r37448 10/trunk/templates/tiki-view_tracker_item.tpl: [FIX] Item display looking up the wrong fields, leading to more fields being displayed lphuberdeau, Yes if mis-used. But I see no other way of, for example, exposing categories of the page to JS? wait I just remembered seeing something some days ago in regard to querying tiki about data you want to use in JS it should be possible to do that without the additional call New Forum Posts: Menü anpassen - http://tiki.org/tiki-view_forum_thread.php?forumId=10&comments_parentId=42297 lphuberdeau, I forgot to mention this is under the assumption that I cannot touch "official" tiki code. And also wideining the potential use of the {JQ()} plugin that is an horrible assumption to have LOL yes get your commit access already lphuberdeau, I would really hate to pollute tikis code with my company related hacks. make them features, not hacks I will on the long run. polom in* lphuberdeau: i haven't noticed that what u described earlier luciash, do you test under FF? I'm under 6.0.2 now lphuberdeau: i can have a look on my local trunk copy but i didn't review recent styling changes on trunk to be honest i test under FF too, yep tikiwiki: 03lphuberdeau * r37449 10/trunk/ (templates/tiki-view_tracker.tpl tiki-view_tracker.php): [FIX] Insert form displaying the wrong fields tikiwiki: 03lphuberdeau * r37450 10/trunk/lib/core/Tracker/Item.php: [FIX] Prevent editing a field you cannot see, unless it is a new item lphuberdeau, that is actually why I asked, if it would be useful for others, since I find it useful in regard to the JQ plugin I can see various uses for it but I think that it has to set the grounds for more than just the categories ofcourse. I just gave categories as an example type, id, label, categories, maybe even permissions lphuberdeau: I am lazy: what kind of communication did you use for the tracker sync? xml_rpc? xmlrpc is long dead hi sylvieg it uses the MVC layer with JSON services intertiki is still workinf on it ... ok thx pretty much all of the code is in lib/core/Services/Tracker/SyncController.php , but it also calls other services to get user lists and such actually, lot of that is dispatched to the field handlers tikiwiki: 03arildb * r37451 10/branches/experimental/innodb/ (3 files in 3 dirs): [REF] Move MySQL informational functions from installlib to TikiDb lphuberdeau: I have done the refactoring. Can you look at the dynamic preferences, which should get rid of the "MySQL fulltext search" in the config search results? lphuberdeau: i don't see any CSS delay on my local copy of trunk with FF 6.0.2 lphuberdeau: must be feature specific thanks, I'll try digging a bit more lphuberdeau: perhaps some JS lib recently added/modified or something else what could affect the default styles lphuberdeau: let me know if you find out how to reproduce I need to plan to rsync between fgal between tikis - I suppose I can use the same code than for Trackers sync whole file galleries? there is already a FIle COntroller.. perhaps I have nothing to do there is something to pull files from a URL already keeps it as a source and auto-update, but it's per-file Where did you use the File controller? the tracker field "files" uses it ah ok thx I guess if you want to sync a whole filegal, the easiest way is to pull the list of files and then get them to be pulled by URL quite a simple process because it won't duplicate files with the same source quick admin has grown in trunk, nice :) if it keeps growing too much, it will become a full fledged admin menu and be not so quick anymore luciash: agreed, it is awesome, very intuitive. lphuberdeau: I wouldn't mind a "more" button that is sort of a simplified admin panel. but yes, too much = unusable. I think modules and look&feel might not belong there A question about category permissions. If a category tree is used, e.g. parentCat -> subCat, and a page is associated with subCat, will the permission search only check subCat or both parentCat and subCat? more of a configuration thing than a day to day activity arildb: direct category only ok, so only subCat' thanks there are tools (or used to be at least) to copy permission to child perms and such lphuberdeau: true, my concern also ;) i think now it is still ok though i'd keep modules there as they overtook the role of l&f custom code textareas and they're pretty day to day activity for site admins look and feel icon could be retired maybe from the quick admin btw, why do i get syntax error now in pretty tracker template where it worked just fine with backticks in 6.x and lower ??? Syntax Error in template "wiki:User Posts template" on line 3 "<br /> {assign var='postId' value=`$items[user].itemId`}" - Unexpected "`" luciash smarty 3 is not always compatible with smarty 2 syntax you don't need the backtick there but i need the backticks i suppose, or is there a workaround now in smarty 3 to get arrayed values ? value=$items[user].itemId should work just fine ok, if it works in smarty 3 ... i will test thanks pretty sure it worked in smarty2 as well i am pretty sure it didn't work in smarty 2 otherwise i wouldn't care to put the backticks there ;) they're not even on my keyboard :-p but even better is to not need the [user] bit (which is a hortrible copy-paste from the old days) and use foreach instead of section it's not even about iterating over users anyway it is iterating over user's items i believe one user curren t user that's not what the smarty code means user is just a name provided in the section parameters as a key ah, maybe i messed up the code in between the Tiki versions -- it worked once but now it seems you're right anyway, i removed the backticks and now i get another funny one: Syntax Error in template "wiki:User Posts template" on line 4 "<br /> {self_link delete=$postId _onclick=confirm('Are you sure you want to delete this post ?');}{icon _id=cross alt='Remove'}{/self_link}" PHP function 'confirm' not allowed by security setting PHP function ? lol you need quotes around the _onclick attribute it worked as JS function in earlier Tiki versions smarty 3 wants quotes around arguments now ah, i see, thanks unless it's a single token seems i will have to study smarty whole lotta again smarty 3 w00t, it sorta works now in trunk again, thanks lphuberdeau do you have a stack trace of the error you had? I can probably manage to trap those errors to prevent tiki from crashing lphuberdeau: it wasn't crashing whole tiki, just reported the errors in the content of the wiki page which is huge improvement over older tiki versions where it just didn't display anything in the page or crashed whole tiki oh good lphuberdeau: yep, very good yesterday I fixed the user modules, which were crashing the whole tiki lphuberdeau: great so I expected this one would crash everything as well hi lphuberdeau lphuberdeau: are you aware that comment notification in trackers stopped working in trunk? are you still working on tracker comments? good morning lphuberdeau: I'm assuming that this is related with the changes you did recently but I haven't checked well, not so recently the old tracker comments are gone, just gone comments now use the standard comments used throughout tiki so there may be some UIs to adjust, I don't know about notifications lphuberdeau: ok, thanks. I will check what is going on. tikiwiki: 03lphuberdeau * r37452 10/trunk/lib/userslib.php: [FIX] This does not make any sense, if it was yours, make it less clever. arildb, do you think your branch is good enough to merge? northern poloms does anyone know the best way to get the list of (names of) categories on the "current object"? jonnyb polom hi RobertPlummer jonnyb Merbster I think is working on something that will help with that, but I don't know right off. jonnyb, In what context? JS, PHP or wikipage in php - hi Merbster jonnyb, if "categories used in templates" are enabled $objectCategoryIds is usually fille dwith the current pages categories i found a clunky way - using globals, get_object_categories() then get_category_name on each one but it's messy well, a less messy way would involve writing a function just for that souldn't be dependant on that - this is for module visibility/invisibility by category don't worry - i'll get it working then optimise later (ha ha!) jonnyb, I just decided to write code that can query tiki objects for categories not JUST categories but all kinds of stuff that (at first) the tiki_object table contains hmmm, you'd have thought all that code is already in there somewhere... jonnyb is it? I haven't really founda nything that makes working with object categories easy (except $objectCategoryIds variable Actually filtering modiles on current page cateogry is something I still need to do a workaround for. sorry RobertPlummer - is it what? jonnyb: (11:34:26 AM) JonnyB: hmmm, you'd have thought all that code is already in there somewhere... i don't know - i thought getting the list of categories would be there! :) tikiwiki: 03lphuberdeau * r37453 10/trunk/tiki-index.php: [FIX] Let the sefurl handling code figure out if the link should be a sefurl or not hi jonnyb hi luciash @jonnyb would you have a minute to help me sort out a little issue with wikiplugin_trackerFileter_getFilters and friends? Checkboxes, dropdowns and radios aren't doing what I want them to as they lose the selection (other text fields are okay). @jonnyb Looks like there is something with filtervalue and exactvalue not used as they should in ...get_session_filters() tikiwiki: 03jonnybradley * r37454 10/trunk/ (2 files in 2 dirs): [FIX] mod change category: Repair broken logic on "shy" and "path" params (others maybe be broken too but at least this restores basic functionality) sorry no philback , not in trackers at the moment (and no minutes spare in foreseeable future) @jonnyb too bad... Did you ever got those filters to work with checkboxes across calls with session_filters='y' set? Just that and I am set. I am talking 6.x no, not heard of session_filters i'm afraid (mind you, it's probably something i wrote and have forgotten ;) ) the filters should work ok in 6 without that afaik (whatever it is) mmh, ok. Nevermind. New tracker revamp will be welcome but there is still a lot of things in the 6.X version. tikiwiki: 03jonnybradley * r37455 10/trunk/lib/modules/modlib.php: tikiwiki: [ENH] modules: Allow visibility to be controlled by object categories. Separate tikiwiki: show and hide parameters, which can both be multiple categories, should allow tikiwiki: enough flexibility for most use cases (possibly some fine tuning to do on the tikiwiki: logic here) lphuberdeau: Yes, I think the InnoDB branch is good enough to merge tikiwiki: 03chealer * r37456 10/trunk/lib/rss/rsslib.php: [REF] update_item(): explain implementation bbl Hi all, installing new tiki from trunk is quite enoying due to lots of notices. Any way to turn them off? lphuberdeau: regarding the merge of InnoDB. I haven't done this before, but I will give it a try. I assume the steps are 1. Update InnoDB to the latest trunk revision 2. Merge InnoDB back into trunk. Can you confirm? there is a php script for it The scripts tend to use tools I don't have and are often Linux dependent. I am using Windows and ToroiseSVN. Seems to have a similar functionality (successful so far). I just need to confirm the procedure gta74: for your install? yes, see the general admin panel. I think even the installer offers it. New Forum Posts: Clickable image slideshow - http://tiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=42299 tikiwiki: 03arildb * r37457 10/branches/experimental/innodb/ (28 files in 15 dirs): [MRG] Automatic merge, trunk 37426 to 37456 InnoDN is now updated to trunk, and I am getting ready to merge the InnoDB branch to trunk. hi chealer. it's a fresh install and i'm on the welcom screen. But i cant see an option to turn off notices. will try and install tiki Any tips before I start. How should the update be documented: "Automatic merge...."? gta74: it's in step 7 "Configure the General Settings" arildb: it could look like that: http://sourceforge.net/apps/trac/tikiwiki/changeset/24869 ok. Thanks chealer: I got an error... Querying mergeinfo requires version 3 of the FSFS filesystem schema; filesystem '/nfs/sf-svn-symlinks/tikiwiki/db' uses only version 2 any idea? lphuberdeau: fyi, I was wrong. tracker item comments notification is working. it is just that the behavior is inconsistent. for tracker item the author the receives a notification for tracker item comment the author doesn't receive a notification. arildb: when doing what? chealer: I was trying to reintegrate the innodb branch to my trunk working copy oooh, candy module tabs arildb: how did you try? chealer: Using the merge reintegrate command in TortoiseSVN arildb: hum, can't help with that. I've never merged a branch, even on UNIX chealer: me neither :-( lphuberdeau: are you still here? in a meeting, sorry ok chealer: Got it going using a different method (merging 2 different trees). ...exciting, since I have never done this before. Hope I don't f* up too much I assume that it's possible to recover any revision from SVN, if worse comes to worse tikiwiki: 03mlustenberg * r37458 10/trunk/lib/parser/parserlib.php: tikiwiki: [MOD] parserlib: use the "background-color" style tag to define the background color instead of the none specific "background" tag. tikiwiki: This change is required for the Visual Wiki (ohterwise the background color cannot be manipulated using the UI of the CKE). arildb: it is arildb: but diff should be able to tell you what will happen tikiwiki: 03gta74 * r37459 10/trunk/lang/de/language.php: [TRA] some translations chealer: I am syncing the trees now. Still waiting for the result chealer: will certainly do a diff afterwards, before proceeding tikiwiki: 03robertplummer * r37460 10/trunk/ (lib/sheet/grid.php tiki-view_sheets.php): [FIX] Making csv file handling a bit more robust tikiwiki: 03mlustenberg * r37461 10/trunk/lib/test/editlib/EditLibTest.php: [ENH] Testing for EditLib (more fixes needed: color specifications cannot be nested) tikiwiki: 03mlustenberg * r37462 10/trunk/lib/ (test/editlib/EditLibTest.php wiki/editlib.php): EditLib intermediate commit (color tags must not be nested) how do I add a js script before the boduy abd not after? hi sylvieg. if you don't mind, why? supose I have tio use