Tiki|bot: New Forum Posts: Google map and KML - http://tiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=42486 ***: goj has quit IRC (Disconnected by services)
goj_killedByISP has joined #tikiwiki
goj_killedByISP is now known as goj
JoernOtt2 has joined #tikiwiki
Joern|sleep has quit IRC (Ping timeout: 252 seconds)
coaboa|afk has joined #tikiwiki
coaboa has quit IRC (Ping timeout: 248 seconds)
lindonb has joined #tikiwiki
AldenisZen has quit IRC (Ping timeout: 248 seconds)
lindonb has left
arildb has joined #tikiwiki
Merbster has joined #tikiwiki
JoernOtt2 has quit IRC ()
redflo has joined #tikiwiki
Bernard1 has joined #tikiwiki Merbster: polom ***: Wilkins_ has joined #tikiwiki
fabricius has joined #tikiwiki fabricius: polom ***: jp_ has joined #tikiwiki jp_: hi there, how can I filter trackerlist ta
by field that contains text or not Merbster: jp_, you can filter on fields in trackerlist. jp_: or maybe use negation for filterfield
Merbster, yes, that is what I normally do, but for now I have to filter trackerlist by field that is "" or not ***: Wilkins_ is now known as Wilkins jp_: in case that is "" simple filtervalue="" do the thing, but how to negate such thing? Merbster: jp_, I guess you have to experiment
jp_, sometimesI look at the phpå code to figure out what options are available for ap lugin, the documentation is not always entirely up to date. jp_: documentation usually isn't up to date ;) ok, I will go by php code, thanks ***: jp_ has quit IRC (Quit: Page closed)
arildb has quit IRC (Read error: Connection reset by peer)
arildb has joined #tikiwiki Bernard1: polom fabricius: polom Bernard1 Bernard1: :(
sorry (r2l smileys) :D fabricius: hehehe ***: coaboa|afk has quit IRC (Remote host closed the connection) CIA-12: tikiwiki: 03yonixxx * r38313 10/branches/proposals/6.x/tiki-newsletter_archives.php: [FIX]Newsletter archives permission
tikiwiki: 03yonixxx * r38314 10/branches/proposals/6.x/templates/sent_newsletters.tpl: [FIX]Newsletter archives permission and style tag
tikiwiki: 03yonixxx * r38315 10/branches/proposals/6.x/templates/tiki-newsletter_archives.tpl: [FIX]Newsletter archives permission and style tag ***: Caarrie|sleeping is now known as Caarrie|away CIA-12: tikiwiki: 03yonixxx * r38316 10/branches/8.x/tiki-newsletter_archives.php: [FIX]Newsletter archives permission
tikiwiki: 03yonixxx * r38317 10/branches/8.x/templates/sent_newsletters.tpl: [FIX]Newsletter archives permission and style tag and minor
tikiwiki: 03yonixxx * r38318 10/branches/8.x/templates/tiki-newsletter_archives.tpl: [FIX]Newsletter archives permission and style tag and minor -: Bernard1 crossing finger non will do "nou ! nou ! nou !" on me. :) Merbster: I am using tikilib and categorieslib to write some glueware between wiki and our ERP system. But in order to use tiki's libs I need a session with a valid login. How would I login programmatically? ***: ricks99 has joined #tikiwiki
marclaporte has joined #tikiwiki
ChanServ sets mode: +o marclaporte Merbster: polom ricks99 and marclaporte ***: Jyhem_laptop has joined #tikiwiki CIA-12: tikiwiki: 03sylvieg * r38319 10/trunk/lib/ (articles/artlib.php wiki-plugins/wikiplugin_articles.php): {ENF]ARTICLES: param articleId: to choose the article to display and notArticleId not to display article ricks99: polom y'all ***: rodrigoprimo has joined #tikiwiki CIA-12: tikiwiki: 03durkin10 * r38320 10/branches/8.x/ (4 files in 4 dirs): Correct implementation of favicons. ***: lphuberdeau has quit IRC (Ping timeout: 260 seconds)
RobertPlummer has joined #tikiwiki
lphuberdeau has joined #tikiwiki CIA-12: tikiwiki: 03sept_7 * r38321 10/trunk/ (lib/init/smarty.php tiki-edit_templates.php): [FIX] Try to fix Smarty {include} with the transition to Smarty 3 RobertPlummer: polom devs CIA-12: tikiwiki: 03sept_7 * r38322 10/trunk/styles/layout/layout.css: [FIX] Align edit section icons... Tiki|bot: New Forum Posts: Ideas for Modules - make them tabbable - http://tiki.org/tiki-view_forum_thread.php?forumId=14&comments_parentId=42487 CIA-12: tikiwiki: 03lphuberdeau * r38323 10/branches/8.x/templates/tiki-list_trackers.tpl: [ENH] Layout improvement to avoid tiny columns
tikiwiki: 03lphuberdeau * r38324 10/branches/8.x/lib/filegals/scormlib.php: [MOD] Store the link to the file as part of the SCORM metadata tracker item Merbster: is tikilib->create_page() a performance hog? lphuberdeau: Merbster: It does a lot of work
but the bigger part of it these days is the fact that it updates the index too Merbster: lphuberdeau, Ok. I was speculating it was something like that. Thanks for the verification. :) lphuberdeau: If you need to call it multiple times, you'll get a performance bump by wrapping the series of calls around a transaction
which will make sure the index is updated only once Merbster: lphuberdeau, how can I do that?
wrap it in a transaction that is. lphuberdeau: $transaction = $tikilib->begin();
// ...
$transaction->commit() Merbster: And wrap it around tikilib->create_page ? lphuberdeau: it's not an actual db transaction yet ;)
well, multiple calls to create_page()
groups the index writes Merbster: ok.
nice to know :) lphuberdeau: but really, sites with large write volumes are better off disabling incremental indexing and doing a full re-index periodically
you get stale index issues, but that's manageable in most cases Merbster: lphuberdeau, I have been writing glueware last week that uses tikilib and categories lib to create pages and categories automatically based on data from our ERP system.
lphuberdeau, So I don't mind if it takes a minute or two. lphuberdeau: yup, that could benefit from a transaction Merbster: lphuberdeau, will that "transaction" trick work with all calls to tikilib? lphuberdeau: well, it's actually part of TikiDb marclaporte: polom Merbster: lphuberdeau, You are implying it will work everywhere?
(that implements TikiDB) lphuberdeau: but yeah, works with everything that involves the incremental indexing, and thanks to arildb, will also handle transactions when we make the switch to InnoDB official
TikiDb::get()->begin() will work as well ;) ***: radek82 has joined #tikiwiki lphuberdeau: it's not deployed much as it was pretty much added 2 weeks ago
but it's currently used for a few batch operations Tiki|bot: New Forum Posts: A problem with user and group watches! - http://tiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=42488 Merbster: lphuberdeau, what happens if several queries are executed within the aforementioned codeblock?
several _different_ queries lphuberdeau: in the future, it will create a database transaction, but for the moment, it's just a trick to prevent the index commit Merbster: lphuberdeau, nice. arildb: lphuberdeau and Merbster: Please not that if you intent to prepare for transactions, always contain the transaction scope within a try/catch block to make sure the transaction is completed as expected lphuberdeau: arildb, my roadmap is to move most actions to the MVC broker and make sure transactions are handled properly at that level arildb: lphuberdeau: ok lphuberdeau: for the other places, it should be easy enough to grep the begin/commit usage and fix it later
actually, they would be prime targets to move to MVC CIA-12: tikiwiki: 03sept_7 * r38325 10/branches/8.x/ (lib/init/smarty.php tiki-edit_templates.php): [FIX/bp 38321] Try to fix Smarty {include} with the transition to Smarty 3 Merbster: arildb, it is noted. Thanks :)
I have a tiki 8 SVN which doesn't implement this (I only upgrade when I have a need and so far stuff is working here). ***: redflo has quit IRC (Quit: Leaving.)
Merbster has quit IRC (Quit: Leaving)
nkoth|nelson has joined #tikiwiki RobertPlummer: marclaporte: polom
marclaporte: Is there an existing feature in Tiki that allows you to moderate wiki? marclaporte: yes RobertPlummer: marclaporte: url? marclaporte: http://doc.tiki.org/Flagged+Revisions RobertPlummer: cool!
marclaporte: Working on textback-link protocol chealer: polom
Bernard1: are you here? RobertPlummer: chealer: polom
chealer: Used syntaxHighlighter recently, any more complaints?
(other than broken mode dependencies)
(Which I think will have to wait till v9) CIA-12: tikiwiki: 03sampaioprimo * r38326 10/branches/8.x/ (4 files in 3 dirs): `cat svn-commit.2.tmp` lphuberdeau: RobertPlummer: I have one! When using lists, it would be nice that the content of the list items not be green and use the formatting too chealer: hi RobertPlummer :-) lphuberdeau: # Some __info__! RobertPlummer: lphuberdeau: Codemirror doesn't support nesting states. lphuberdeau: really? RobertPlummer: lphuberdeau: But changing the list color is no big deal. chealer: RobertPlummer: I do have one, still about the scrollbars, let me see... RobertPlummer: lphuberdeau: Yea, real bummer. lphuberdeau: could you make it that the green and indent only applies to the # or *, but the rest of the line just be text? chealer: oh, I'm surprised too
hi lphuberdeau lphuberdeau: really looked like a state machine you had full control over when I looked at the code RobertPlummer: lphuberdeau: That'd be doable. chealer: good idea RobertPlummer: lphuberdeau: I'm sure it is possible, but I've not seen it in practice. lphuberdeau: to me, only the marker is the list syntax, the rest really is text, and right now it kind of looks like a comment RobertPlummer: lphuberdeau: good idea
lphuberdeau: I will take a look at it and change as soon as I get a chance.
lphuberdeau: But as for functionality, syntaxHighlighter = good to go? chealer: lphuberdeau: you were right about the TRACKERSTAT issue, it was caused by my categlib refactoring. I fixed in r38310. thanks for investigating
RobertPlummer: I have regressions in http://ido.ath.cx:8080/tiki/8.x/Services again. for a while we got that page to work perfectly the last time, but after you left I found these issues RobertPlummer: chealer, what is the regression? chealer: RobertPlummer: the clear problem is the third last CODE plugin call, the one with 2 scrollbars in section PLUGINS: Code
that one clearly shouldn't have a horizontal scrollbar RobertPlummer: chealer: When looking at source, I see "{CODE}{CODE}" lphuberdeau: chealer: np, I can usually fix the issues caused by refactoring quite fast, because it's usually just a mis-spelled variable, but that code seemed a bit harder than I could spend time on RobertPlummer: chealer: Looks like a nested code plugin call. chealer: RobertPlummer: hum, oops. OK, will cleanup that page RobertPlummer: chealer: THat is probably the problem.
(I didn't fix it) chealer: lphuberdeau: yes, just investigating helped and I was able to spot the issue quickly after identifying it was my commit lphuberdeau: I figured you'd find it faster as you made it a 100 times nkoth|nelson: RobertPlummer: how does wordwrap work in codemirror? RobertPlummer: nkoth|nelson: It doesn't
nkoth|nelson: codemirror doesn't support soft breaks.
in v2 nkoth|nelson: ok, thanks. will wait for v3... RobertPlummer: nkoth|nelson: At first it was making the page super wide, so I just added overflow: auto, and made it scrollable, which is more like a code editor.
nkoth|nelson: Oh come on, turn it on! nkoth|nelson: lol, yes I had that superwide problem a week ago, and I see it is fixed nw RobertPlummer: nkoth|nelson: Yea, in most cases, it makes things much easier to edit.
nkoth|nelson: I think the lack of a soft break is actually a nice feature. Although it would be nice to turn it on or off.
nkoth|nelson: I always get mixed up with real breaks/soft breaks when editing in a textarea. nkoth|nelson: I can't selectively keep it on for certain pages right? (because it works ok, in fact better, oon some pages and then I hit one page where it is just totally irritating (e.g. due to lack of soft wrap) RobertPlummer: nkoth|nelson: That is correct, it is an on/off thing. nkoth|nelson: also, say I change the highlighter, is that a global thing? RobertPlummer: lphuberdeau: Did you see the new jQuery event I added in 8? chealer: RobertPlummer: oh you're right, it's actually a CODE plugin call inside a CODE plugin call. but the inner one is not parsed RobertPlummer: chealer: Which would be correct behavior. lphuberdeau: RobertPlummer, nope, what is it? RobertPlummer: lphuberdeau: It is partially integrated, it uses a timeout and calls is(':visible') on the item untill it is visible.
lphuberdeau: I looked tons of places, couldn't find the answer, I needed it to list things correctly with codemirror.
lphuberdeau: It is an awesome event, one that should be in jQuery core I feel. chealer: RobertPlummer: note that non-parsed plugin calls inside a CODE plugin are shown fine in other places (the QUOTE call just above and the FANCYTABLE at the end) lphuberdeau: so it does stuff when the container becomes visible? RobertPlummer: $(obj).visible(function() {}); CIA-12: tikiwiki: 03jonnybradley * r38327 10/branches/8.x/lib/ (2 files in 2 dirs): [FIX] carousel plugin: Add a small timeout to help loading failures on first reload (also add .carousel CSS class to help styling) RobertPlummer: lphuberdeau: Right lphuberdeau: yeah, there are a few places where that can be handy RobertPlummer: chealer: I'm not sure I understand your problem.
lphuberdeau: It isn't fully integrated, ie there is no trigger("visible"), and it stacks calls with no management.
lphuberdeau: So it can use some improvement, but it is a very nice feature to have. lphuberdeau: well, there is a hook that can be improved later, so good enough
try to make it better for 9 ;) RobertPlummer: lphuberdeau: My view as well. ***: ricks99 has quit IRC (Quit: Get the best-selling Tiki books (paperback and ebook) at http://www.lulu.com/spotlight/ricks99)
ricks99 has joined #tikiwiki lphuberdeau: sylvieg, quick question, any known source of WSOD in 6.4 trackers, likely involving image fields? Tiki|bot: New Forum Posts: No search bar at Milkyway theme - http://tiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=42491 chealer: RobertPlummer: I checked more. The wrap 1 breaks the display. I think the correct behavior would be to display the entire code (no scrollbars) ***: GillesM has joined #tikiwiki chealer: RobertPlummer: there is another case which shouldn't have scrollbars in that page, the one in Autonumbering in headings ***: rodrigoprimo has quit IRC (Ping timeout: 244 seconds)
lphuberdeau has quit IRC (Read error: Connection reset by peer) Tiki|bot: New Forum Posts: AD setup on new installation of TW7 - http://tiki.org/tiki-view_forum_thread.php?forumId=17&comments_parentId=42493 ***: jonnyb has joined #tikiwiki jonnyb: polom all CIA-12: tikiwiki: 03jonnybradley * r38328 10/branches/8.x/lib/init/smarty.php: [FIX] smarty 3: Make sure $style_base is set and don't use tikidomain if empty chealer: hi jonnyb -: chealer also checking Smarty 3 jonnyb: hi chealer - looks like another blocker unblocked! :) ***: rodrigoprimo has joined #tikiwiki chealer: pretty much :-) ricks99: have a quick profiles question... currently when i try to export a site to YAML, is PREFERENCES the only object type currently available? jonnyb: hi ricks99 - yes, i'm afraid so
been meaning to fix the tracker one (sylvieg started it but it got broken in the tracker revamp) ricks99: OK. For items that are not automatically exported, is it enough to simply add PREFERNCE = VALUE to the YAML?
for example, the blog handler http://profiles.tiki.org/Blog+Handler does not list all the possible fields/prefs for blogs and blog posts.
can I simply add them? is the YAML name identical to the Tiki pref?
for example, for the blog post object, i want to include an excerpt. Is it as simple as excerpt = FOO ? jonnyb: ricks99: no, i don't think so - check the handler syntax on profiles.t.o - each object has it's own names for things ricks99: right. but for blogs, for example, i don't see the "excerpt" field in the handler example CIA-12: tikiwiki: 03jonnybradley * r38330 10/trunk/ (19 files in 11 dirs): [MRG] Automatic merge, branches/8.x 38294 to 38328 ricks99: does that mean it is unsupported?
are there some things that you cannot pre-load with a profile? jonnyb: usually you can see the pattern of how things are named for profiles, and usually the code will have a go at it, so worth trying? ricks99: yes. thats what i thought.
tx jonnyb
last profiles question from rick... jonnyb: i'm checking the code... 1 mo ricks99: anyone know if profiles (or more specficially, the YAML) can be copyrighted?
is YAML treated the same as any other codebase jonnyb: i'd have thought so - i'd guess a CC one would be appropriate (but IANAL ;) ) ricks99: thats what i was thinking. tx again jonnyb: it's not really functional code, more like a recipe i'd say
looking at Tiki_Profile_InstallHandler_Blog it seems excerpt isn't handled (nothing after post_heading) ricks99: ok. so not all options are possible via YAML. only a specfic sub-set
hm..
tx for the info jonnyb: just the ones that existed when it was written i'd guess - not hard to add missing ones (i'll try if i get some spare time ;) ) ricks99: im sure you've got LOTS of spare time. Tx ***: Wilkins has quit IRC (Ping timeout: 258 seconds) marclaporte: RobertPlummer: https://trunkdev.tiki.org/tiki-editpage.php?page=Online%20Publishing%20House the horizontal scroll is nicer indeed
https://trunkdev.tiki.org/tiki-editpage.php?page=Online%20Publishing%20House (try going in full page edit mode) ***: GillesM has quit IRC (Remote host closed the connection)
RobertPlummer has left
RobertPlummer has joined #tikiwiki
RobertPlummer has left
RobertPlummer has joined #tikiwiki
arildb has quit IRC (Read error: Connection reset by peer)
arildb has joined #tikiwiki marclaporte: RobertPlummer: codemirror: is it intentional that ! and !! are the same size? CIA-12: tikiwiki: 03sampaioprimo * r38331 10/branches/8.x/templates/canonical.tpl: [FIX] wrong if condition to generate canonial url was always evaluating to true jonnyb: just need to sanity check some behaviour in tracker csv import - either it should replace an item in the same tracker if itemId is in the csv data and it matches an existing item, or it should make a new one right? It seems there's a 3rd option which i don't understand in $trklib->import_csv() CIA-12: tikiwiki: 03sampaioprimo * r38332 10/branches/7.x/ (. templates/canonical.tpl): [bp/r38331][FIX] wrong if condition to generate canonial url was always evaluating to true
tikiwiki: 03sampaioprimo * r38333 10/trunk/ (4 files in 3 dirs): [MRG] Automatic merge, branches/8.x 38328 to 38329
tikiwiki: 03chealer * r38334 10/branches/8.x/templates/tiki-edit_templates.tpl:
tikiwiki: [FIX] Edit templates: restore save button which doesn't save a style-specific template and style-specific templates deletion link (style_local is not a preference, r9574 regression)
tikiwiki: [FIX] HTML special characters encoding chealer: thanks rodrigoprimo RobertPlummer: marclaporte: Probably not.
marclaporte: Let me take a look ***: rodrigoprimo has quit IRC (Ping timeout: 260 seconds) RobertPlummer: marclaporte: Yes it is.
marclaporte: I can't really change the size of the text in the editor.
marclaporte: I'm just showing that it is header-fyd.
marclaporte: Would it also be an acceptable fix to only highlight the "!" at the beginning of the block of script?
marclaporte: lp proposed a fix for order/unordered lists where only the first char is highlighted.
marclaporte: If I change this behaivoir, it will affect all block-level syntaxes, including header. ***: lphuberdeau has joined #tikiwiki CIA-12: tikiwiki: 03chealer * r38335 10/branches/8.x/tiki-edit_templates.php: [FIX] Edit templates: also create subdirectories of style-specific templates directories if they don't exist ***: GillesM has joined #tikiwiki
GillesM has quit IRC (Remote host closed the connection) CIA-12: tikiwiki: 03chealer * r38336 10/branches/8.x/lib/prefs/feature.php: mark feature_edit_templates as experimental
tikiwiki: 03chealer * r38337 10/trunk/templates/tiki-edit_templates.tpl: [FIX] Smarty notice "Undefined variable: template"
tikiwiki: 03jonnybradley * r38338 10/branches/8.x/lib/trackers/trackerlib.php:
tikiwiki: [FIX] tracker import: Set-up data in auto_inc tracker fields for new items and
tikiwiki: remove strange "third option" for importing new items but keeping a nonexistent
tikiwiki: itemId which would lead to database problems (as it's an auto_increment index).
tikiwiki: 03chealer * r38339 10/branches/8.x/lib/init/smarty.php: [FIX] MultiTiki: when including Smarty templates, look for them in the domain's default templates directory (r36090 regression)
tikiwiki: 03chealer * r38340 10/trunk/lib/init/smarty.php: [REF] remove unused _smarty_include() (useless from r36090) RobertPlummer: lphuberdeau: You around? lphuberdeau: yes RobertPlummer: lphuberdeau: I need some help in php, not sure how to accomplish.
lphuberdeau: For universal reports, I'm creating a definition parsing capability.
lphuberdeau: The form object is where you build it, and then send it back to the server to create your repor.t marclaporte: RobertPlummer: no need to change anything for ! and !!, I was just curious RobertPlummer: Names are like this rootReportObject_childAttribute_childAttribute.
marclaporte: Thanks Marc
lphuberdeau: I need a way to turn the naming convention used in forms to turn into relational objects.
in this case:
Tracker->value = 1
Tracker->Field->23
in javascript result[tracker]=1;result[tracker_field] = 23;
I want to go from obj_obj as mear text, to full object relation...
obj->obj CIA-12: tikiwiki: 03jonnybradley * r38341 10/trunk/ (7 files in 5 dirs): [MRG] Automatic merge, branches/8.x 38329 to 38339 RobertPlummer: lphuberdeau: So I'm sorry so confusing.
lphuberdeau: I don't know the terminology of what I'm trying to do, which is part of the problem. lphuberdeau: classes are usually UpperCase_Underscore_ForDirectory
I don't really get what you're asking RobertPlummer: lphuberdeau: Case is not an issue, it might even be upper case. I just need a clean way to go from form to class. lphuberdeau: you mean HTTP form? RobertPlummer: lphuberdeau:From a definition we create a generic json string, the string is used in generation of the form used to create the universal report.
lphuberdeau: I need a way to read what was generated.
lphuberdeau: What the user sets everything to.
lphuberdeau: so I was thinking, because form's use the input's name, I'd just use that. lphuberdeau: I still don't get what you're trying to do RobertPlummer: lphuberdeau: So it is a shortcut method of hierarchy from the definition. lphuberdeau: any code I can look at as a reference? RobertPlummer: tracker is sort of the root item, and it can have attributes. lphuberdeau: definition of what? RobertPlummer: universal reports
it is a made up thing.
Take a look in trunk at lib/core/UniversalReports/
Builder.js and Builder.php do most of the work.
Builder.js takes a definition that you create and generates a form from it. lphuberdeau: ...updating... RobertPlummer: lphuberdeau: So for instance a base item to report from is Tracker.
lphuberdeau: Trackers can be joined, so there can be multi trackers, multi of many values, and some values are depandant on another value.
For instance, tracker fields, you wouldn't want to list all tracker fields in you entire db, only those assiciated to a tracker.
to you have hierarchy of dependency "tracker_field" as an example.
to=>so
tracker is the base item, with field as value found after the dependancy was met. lphuberdeau: looking at the code RobertPlummer: I just want a simple way or turning tracker_field into an array in php tracker array or object in php.
ok lphuberdeau: I see a bunch of empty functions RobertPlummer: take a look at the definition for tracker. lphuberdeau: a sign you're trying to work out too many details at once RobertPlummer: fn = definition
lphuberdeau: I have most of the functionality there already, need to commit it.
lphuberdeau: I just want to turn "tracker_field=0" into an array of array("tracker"=>array("field"=0)); lphuberdeau: ah RobertPlummer: or rather array("tracker_field"=0); to this: array("tracker"=>array("field"=0)); lphuberdeau: there is something for that somewhere RobertPlummer: lol
lol lol lol
lphuberdeau: I figured that much. CIA-12: tikiwiki: 03jonnybradley * r38342 10/branches/8.x/lib/init/smarty.php: [FIX] smarty: TikiLib doesn't exist in the installer lphuberdeau: it does the filter~content=stugg => filter['content'] = stuff handling for search RobertPlummer: lphuberdeau: Where should I look? lphuberdeau: I don't remember just now, searching
TikiFilter_PrepareInput
takes the separator as a constructor argument
tiki-setup_base.php line 494 for usage, also some unit tests I believe CIA-12: tikiwiki: 03jonnybradley * r38343 10/trunk/ (. lib/init/smarty.php): [MRG] Automatic merge, branches/8.x 38339 to 38342 chealer: jonnyb: regarding Carousel again, there is still a small problem with it on http://themes.tiki.org/Themes - there are 2 404 errors about the problematic images we discussed not long ago
jonnyb: that page uses $jq('#carousel').infiniteCarousel().show(); jonnyb: yes, needs to use $('#carousel').tiki('carousel') instead (been telling Gary for ages)
but now it should use the carousel wiki plugin really chealer: jonnyb: you read my mind... http://themes.tiki.org/Infinite_carousel advises to use something similar to what the homepage uses. jonnyb: i added a comment there a while ago
(or somewhere) chealer: jonnyb: oh, didn't realize they were in file galleries cool.
jonnyb: when you say you've been telling Gary for ages, does that need to be changed in many places? is it more than changing the homepage and perhaps the documentation page? jonnyb: possibly others, but those two certainly chealer: jonnyb: I see your comment, thanks RobertPlummer: lphuberdeau: it is like a well orchestrated ballet.
lphuberdeau: Committing in a min. lphuberdeau: RobertPlummer: you mean it's boring and old-fashioned? RobertPlummer: lphuberdeau: no it works great.
lphuberdeau: Is it old fashoined? Is there a better way you think? lphuberdeau: no, it's fine RobertPlummer: lphuberdeau: I added a method to TikiFilter_PrepareInput that allows you to use it as static. lphuberdeau: why? RobertPlummer: Like this: TikiFilter_PrepareInput::delimiter('_')->prepair($array); chealer: jonnyb: I suppose the plugin wouldn't allow to have captions link to the themes? jonnyb: should do - not tested RobertPlummer: lphuberdeau: It seemed like a lot of code just to use such a simple method.
lphuberdeau: I can remove it if you like. lphuberdeau: 2 lines? RobertPlummer: :)
1 line as apposed to 2 is half as much code. ***: rodrigoprimo has joined #tikiwiki RobertPlummer: 50% less code here, 50% less there, pretty soon, you see impact everywhere.
lphuberdeau: My question to you is, "Why not?" lphuberdeau: just not the kind of component that's used very frequently chealer: jonnyb: the plugin uses the file's name and its description, but doesn't parse anything. I suppose the description could be parsed jonnyb: indeed - there are quite a few css improvements needed too (after 8.0 i was thinking) CIA-12: tikiwiki: 03robertplummer * r38344 10/trunk/ (5 files in 3 dirs):
tikiwiki: [NEW] Added parser ability and some testing to universal reports builder, made use of PrepareInput to do so.
tikiwiki: [NEW] Added new static method to TikiFilter_PrepareInput::delimiter() that returns itself for usage. ***: lphuberdeau has quit IRC (Read error: Connection reset by peer) chealer: hum, file descriptions are currently treated by nl2br ***: rodrigoprimo1 has joined #tikiwiki
rodrigoprimo has quit IRC (Ping timeout: 244 seconds) chealer: jonnyb: I tried to switch to the plugin anyway but the size is reduced. do you see where it's coming from?
the div sets a width and a height
it's in progress now, there are two carousels for comparison, the top one uses the wikiplugin jonnyb: chealer: i thought the plugin wasn't setting the div size - maybe it's in css somewhere? chealer: jonnyb: Firebug shows it as inline CSS on the wpcarousel div, but it's not in the HTML source
so something starting from the tiki handler must set it
jonnyb: but the tiki handler is not called with these dimensions in its parameters jonnyb: no, it's the js that's doing that - if you look at the page source it's not there chealer: jonnyb: right, that's what I tried to say (it's not in the HTML source) jonnyb: maybe there's a little one in that gallery - seem to be more thumbnails on the plugin one chealer: jonnyb: and the tiki handler itself does not touch dimensions... jonnyb: nope
still work in progress i guess... chealer: jonnyb: ooh... I see, indeed jonnyb: (since tiki 4! :) ) chealer: the newsletters image is 120x73 jonnyb: maybe it picks the smallest one as the default chealer: yeah, seems to (sorry, that didn't come to me as a possibility)
can we move files between galleries? jonnyb: yup - worked for me last time i tried chealer: oh, yes, there's an action for that at the bottom of file listings
thanks jonnyb ***: lphuberdeau has joined #tikiwiki chealer: (moved to Others) Bernard1: Hi all, hi jonnyb i rechecked the bug of the module parameters while within another module we discuss a few days ago. It is still there (http://www.shocksite.com/8x.html/), didn't you say it was corrected in 8 ? jonnyb: hi Bernard1 - yes, i thought so chealer: ooh, we lose links, but we get descriptions for free :-)
hi Bernard1. did you get Jonny's mail from this morning about your commit 38315? lphuberdeau: Bernard1, if I can make a recommendation, use a different font chealer: oh, I just notice that the theme screenshot thumbnails in the carousel are just a crop of the upper left corner of the full size screenshots :-/
and no tooltips when hovering over the thumbnails :-( sylvieg: hello. Do we have something like I can download a file if I enter one code that is in a tracker or in the params of a plugin? or I can use a token to give me access to a membership? chealer: ...and that's actually an upstream jQuery Infinite Carousel bug; http://www.catchmyfame.com/2009/12/30/huge-updates-to-jquery-infinite-carousel-version-2-released/comment-page-3/#comment-12381 lphuberdeau: sylvieg, token access is essentially a code, you could have a GET form to input it, or joining a group which has access to a file with a code (that might not be in, but it might be on my roadmap for 9) Bernard1: chealer: i've just recheck… didn't see the email. Hu, again ? sylvieg: lphuberdeau: where are the token values stored? lphuberdeau: tiki_auth_tokens chealer: Bernard1: see http://sourceforge.net/mailarchive/forum.php?thread_name=078D7389-E5BA-41DC-B0E7-32391C56AD7C%40nospaces.net&forum_name=tikiwiki-cvs sylvieg: I thought Nelson wrote a membership on token .. but can not find out some doc... chealer: Bernard1: also, do you know how backporting works? fixes for old branches are supposed to be done on newer branches before. so for Tiki 6, you should first commit to 8.x, and then to proposals/6.x.
Bernard1: see https://dev.tiki.org/Quality+Team#How_it_works for more information Bernard1: lphuberdeau: you don't like the font on shocksite.com ? Usually people like it. I'll be glad you tell me more (not readable ? don't like it, etc) lphuberdeau: Bernard1, reminds me of ComicSans, and that's a terrible thing if you want me to trust anything written on that site Bernard1: chealer: ok got the message now. I understand about <br />. The template title (<h3>) is dam close to the content and i though it was a bad idea to add a class for the h3. But ok i got the point. lphuberdeau: Bernard1, when I search for something and end up on a site with a font of that sort, I press back and never come again ***: xavi has joined #tikiwiki lphuberdeau: pretty sure I'm not alone Bernard1: lphuberdeau: Arf… i don't see comicsans there but ok if you see it, surely other will do. Thanks for your comment. fabricius: Hello Bernard1: ;)
Hi torsten fabricius: I want to try the pdf printing from Tiki and would need shell_etoxec activated - has s.th. to do with php.ini - what I would need to do?
Imean to activate shell_exec Bernard1: chealer: i tried previously to commit in trunk "Devs should work on their fixes and enhancements in trunk" but i couldn't. I conclude that commit was closed for trunk fabricius: would this make root access necessary? lphuberdeau: fabricus, you need root access on the server fabricius: ah thx ***: ricks99 has quit IRC (Quit: Get the best-selling Tiki books (paperback and ebook) at http://www.lulu.com/spotlight/ricks99) fabricius: lphuberdeau: is this a major thing, or would it make sense to ask the providers support to activate? lphuberdeau: a shared provider will never accept that Bernard1: jonnyb: you suggest me to avoid suing a module in a module and to explode my header into several modules. I tried but i don't see how. If you can find sometime tomorrow i'll be happy to stole 5mn from your time so you light me the way. jonnyb: Bernard1: i'll try :)
bbl chealer: Bernard1: why couldn't you?
Bernard1: By the way, in this case you don't have to commit to trunk, as we are in a semi-automatic merging period from 8.x to trunk, so fixed committed to 8.x will [semi-]automatically move to trunk
Bernard1: what is important is to commit on 8.x before proposals/6.x
I notice that jQuery Infinite Carousel is fairly buggy :-/
jonnyb: thanks, that got rid of the errors. what do you think of http://themes.tiki.org/Themes now? RobertPlummer: chealer: Slider is a much better plugin imho that does a very similar task.
(that is why we integrated it) CIA-12: tikiwiki: 03sampaioprimo * r38345 10/trunk/ (3 files in 3 dirs): improve get_translation_percentage.php
tikiwiki: 03sampaioprimo * r38346 10/trunk/lib/test/language/ (CollectFilesTest.php CollectFilesVfsStreamTest.php): merge Language_CollectFilesVfsStreamTest and Language_CollectFilesTest rodrigoprimo1: chealer: I have a guess about the massive changes in the strings order done by get_strings.php when changi|busy created branches/8.x
chealer: but I need someone with PHP running on Windows to test
chealer: do you have access to a machine running Windows with PHP? marclaporte are you available to help? chealer: rodrigoprimo1: mine, but I'm under UNIX
rodrigoprimo1: can you explain? arildb: rodrigoprimo1: I am running Windows. It's almost bedtime for me, but if it's a small thing...please explain rodrigoprimo1: arildb: it should be quick. please on a updated tiki trunk run "php get_strings.php lang=pt-br" and send lang/pt-br/language.php file to me arildb: rodrigoprimo1: OK chealer: RobertPlummer: looks nice. it has thumbnails? RobertPlummer: chealer: It just handles direct content.
chealer: wiki syntax, images, videos, etc. chealer: RobertPlummer: yes, but can it display thumbnails of contents? RobertPlummer: chealer: If you feed it that, yes. ***: Bernard1 has quit IRC (Quit: Leaving.) RobertPlummer: chealer: How do you intend on making it display a thumbnail?
Is there a plugin for it? chealer: RobertPlummer: I see there are tabs at the bottom of the plugin in the demo. can these tab "labels" contain thumbnails instead of text?
RobertPlummer: currently Carousel does display thumbnails, although they're broken rodrigoprimo1: chealer: readdir() function is used by get_strings.php to collect the files. this function will return the files according to the order used by the file system. so I'm guessing that a few translators using windows committed language files (including the French one) after updating them with get_strings.php. and then when we run get_strings.php again against the same file on linux we get massive changes in the strings order.
chealer: if I'm write, when changi|busy did http://sourceforge.net/apps/trac/tikiwiki/changeset/38037 he was probably using an operating system other than linux chealer: rodrigoprimo1: I see the idea, but I doubt he was rodrigoprimo1: chealer: there is a harmless change that might fix this problem
chealer: I will replace opendir/readdir with scandir
chealer: scandir returns the files in alphabetical order (hopefully using the same criterias independently of the os) chealer: seems like a good idea rodrigoprimo1: arildb: thanks for the file arildb: rodrigoprimo1: Did you find what you were looking for? rodrigoprimo1: arildb: I will check it now
arildb, chealer: I don't know if the problem is with readdir(), but now I'm sure that there is a big different in the strings ordering depending on the operating system arildb: rodrigoprimo1: glad you got some info out of it chealer: rodrigoprimo1: well, if we have a bug to fix there, that's good enough, the next release is still just a RC anyway CIA-12: tikiwiki: 03sampaioprimo * r38347 10/trunk/lib/language/CollectFiles.php: get_strings.php: attempt to make the strings order independent of os ***: jonnyb has quit IRC (Quit: I am going outside... I may be some time...) chealer: rodrigoprimo1: I'll let you know if it happens again arildb: rodrigoprimo1: would you like me to test the latest commit, too? chealer: thanks rodrigoprimo1: arildb: I was about to ask you that arildb: :-)...will do rodrigoprimo1: arildb: yes, please
chealer: the next time we run get_strings.php after 38347 we expect to have huge changes in the order of the strings in language.php files
chealer: but hopefully this won't be a problem in the future chealer: rodrigoprimo1: OK, true. let's just make sure we do that before RC 1 so we can see if it's stable at the time of RC 1 rodrigoprimo1: chealer: the old get_strings.php also used readdir() so this might explain why sometimes we had the impression that it was changing way too much chealer: yay :-) rodrigoprimo1: chealer: afaik, the problem was only related with the strings ordering. not with the translations, so it is not a real problem for the release. but of course it is a good idea to keep an eye open to this. ***: shaun_ has joined #tikiwiki rodrigoprimo1: bbl shaun_: Hey guys, So I took your advice, upgraded to 7.2. When I log in using a domain user. I still get a blank white screen. I only upgraded the database. I did not erase it and start over. chealer: rodrigoprimo1: yes, it's just that such a big change to files was too scary to ship untested as we weren't sure what was happening (plus, it shouldn't happen anyway) shaun_: and there are no errors being displayed still when I view the wiki logs. arildb: rodrigoprimo1: new language.php file sent ***: arildb has quit IRC (Quit: Leaving) rodrigoprimo1: chealer: fyi, the files generated by get_strings.php on windows and linux after 38347 are identical
chealer: I will update all language files both on trunk and 8.x chealer: rodrigoprimo1: good news, thank you ;-) rodrigoprimo1: chealer: welcome
chealer: anyway, since the get_strings.php is still new, we should still be alert for anything unusual in the language files ***: RobertPlummer has quit IRC (Ping timeout: 255 seconds) CIA-12: tikiwiki: 03sampaioprimo * r38348 10/branches/8.x/ (. lib/language/CollectFiles.php): [bp/r38347]get_strings.php: attempt to make the strings order independent of os (after informing chealer) ***: xavi has left shaun_: I'm frustrated. I really want to give tikiwiki a try. But i have been battleing it for 3 weeks now. and im no closer to getting this working that i was 3 weeks ago. Im willing to give it one last try.
does anyone have a proven method for getting tikiwiki up and running on a windows machine? and configured to work with ldap?
My ldap users just get a blank screen, and there are no errors reported anywhere that will give me a clue to troubleshoot. nkoth|nelson: shaun_: the last time I got a tiki running on a windows machine was about 6 months ago usung tiki 6
with LDAP shaun_: now, after upgrading to 7.2. i cant get to the ldab tab on the fresh installation to configure ldap. *sigh* nkoth|nelson: shaun_: is this server on the Internet, or do you perhaps have a test machine reachable by remote desktop I can play with? ***: rodrigoprimo1 has quit IRC (Quit: Leaving.)
radek82 has quit IRC (Quit: Leaving) shaun_: it is not on the internet. i would love to try and work out a remote desktop session. CIA-12: tikiwiki: 03sampaioprimo * r38349 10/trunk/lang/ (49 files in 49 dirs): update language files after change in get_strings.php ordering algorithm nkoth|nelson: shaun_: do you have "Write LDAP debug Information in Tiki Logs" checked? and right after the user logs in what is the last message you see in tiki-syslog.php ? CIA-12: tikiwiki: 03sampaioprimo * r38350 10/branches/8.x/lang/ (49 files in 49 dirs): update language files after change in get_strings.php ordering algorithm ***: shaun_ has quit IRC (Ping timeout: 265 seconds)
shaun_ has joined #tikiwiki shaun_: nkoth|nelson ldab error reporting is checked.
im back using the tii 6.4 LTS nkoth|nelson: shaun_, ok what is the last log entry in tiki-syslog.php when a user tries to login? shaun_: Connect Host: ldap://172.22.1.10:389. Binddn: shaun at... line 220 ....ldap.php
is there another section i should check that might be more helpfull? nkoth|nelson: shaun_ we need to find out how to see the full message, do you have time right now to poke at the code? shaun_: there is a tool tip that pops up. and it will display the whole message. nkoth|nelson: what is it? shaun_: i have about 30mins to dabble. sure... lets do it.
i just left out the path to the php. nkoth|nelson: so it's line 220 of lib/auth/ldap.php ? Let me get there first shaun_: actually....
yes. that is the correct path.
i dont know if this is another factor.
but i did use easy php. nkoth|nelson: shaun_: just so I can make sure the error reporting is working, can you try changing your ldap bind settings in tiki slightly so that it should not work?
and see what is logged? shaun_: yes. lets see if i can break it;)
so i changd the ip address of the ldap server. it still allowed me to log in as the network user i added. and still displayed a blank screen. now i will try to log in as a user i have never attempted before. nkoth|nelson: what does the tiki-syslog.php say this time? shaun_: time is 15.49. its 3:49pm right now. so thats correct.
im sorry, i misunderstood.
it gave the same exact message as before. wth no errors anything. nkoth|nelson: same IP? shaun_: and same blank page. it looks like i can type anything in there and get it.
nope. different ip. nkoth|nelson: sure, that message is sent before the attempt, not after shaun_: you suggested i change the ldap settings so they would break. well i figured changing the ip would break it;) nkoth|nelson: shaun_: now can you try and check php.ini to see if the setting for display_errors? shaun_: the php.ini? nkoth|nelson: yes shaun_: im not familiar with your referance. nkoth|nelson: look in Windows explorer in C:php
is there a file php.ini there? shaun_: i do not have a "php.ini" file i do have c:easyphpphpphp.ini-production and php.ini-development nkoth|nelson: search for php.ini in your windows search ***: fabricius has quit IRC (Remote host closed the connection) nkoth|nelson: Ifrom easyphp's website, I think it is in c:windows shaun_: dont have it.
wait. sorry. jumped the gun.
found it. nkoth|nelson: edit it with notepad/wordpad shaun_: c:easyphpphp.ini nkoth|nelson: search for "display_errors" shaun_: ok. opened.
i have two of them. nkoth|nelson: two of what? shaun_: c:easyphpapacheephp.ini and c:easyphpconf_filesphp.ini nkoth|nelson: shaun_ : I am not sure which one applies, google is no help. anyway, try both ***: fabricius has joined #tikiwiki fabricius: ola lphuberdeau: tiki-phpinfo.php should indicate where the php.ini file is taken nkoth|nelson: shaun_: yes, if you point your browser to tiki-phpinfo.php, it should tell you where it is taken shaun_: the one in conf_files is the initialize file. and the one in apachee is created by easyphp.
apachee is the one. ***: fabricius_ has joined #tikiwiki shaun_: so, what am i looking for? nkoth|nelson: "display_errors" shaun_: = on nkoth|nelson: search for duplicates of it in the same file, make sure they are not commented shaun_: one is commented in the overview of what they all mean and defines default settings.
and the only other one is listed after that "display_errors = on"
arround line 540. nkoth|nelson: well, check for "error_reporting" as well shaun_: error_reporting = E_ALL | ~E_STRICT nkoth|nelson: ok, that is fine, now I wonder why there are no errirs shaun_: it is curious.
im out of time. i will contact you toamrrow. Thanks. ***: shaun_ has quit IRC (Quit: Page closed)
RobertPlummer has joined #tikiwiki
RobertPlummer has left CIA-12: tikiwiki: 03chealer * r38351 10/trunk/lib/trackers/trackerlib.php: TrackerLib: expand comment on filter_categ_items()