[00:04] *** kiilo has quit IRC (Ping timeout: 248 seconds) [01:02] *** Tiki|bot has joined #tikiwiki [01:19] *** kiilo has joined #tikiwiki [01:25] *** kiilo has quit IRC (Ping timeout: 240 seconds) [01:28] *** lindonb has joined #tikiwiki [01:34] *** Caarrie|away is now known as Caarrie|sleeping [02:04] *** coaboa_ has joined #tikiwiki [02:04] *** coaboa has quit IRC (Ping timeout: 246 seconds) [02:41] *** daevermann has joined #tikiwiki [02:44] *** daevermann_ has quit IRC (Ping timeout: 246 seconds) [02:49] *** lindonb has quit IRC (Quit: lindonb) [03:35] tikiwiki: 03chealer * r33947 10/trunk/templates/tiki-admin_include_login.tpl: restore Id comment [03:40] tikiwiki: 03chealer * r33948 10/trunk/templates/tiki-export_tracker.tpl: restore Id comment [05:13] tikiwiki: 03chealer * r33949 10/trunk/ (403 files in 17 dirs): [05:13] tikiwiki: revert r33217 "~MOD~ Remove unused header comment" [05:13] tikiwiki: Ref: http://article.gmane.org/gmane.comp.cms.tiki.cvs/63790 (no answer) [05:34] tikiwiki: 03chealer * r33950 10/trunk/templates/category_related_objects.tpl: [FIX] HTML special characters encoding [05:42] *** JoernOtt has joined #tikiwiki [05:55] *** dthacker has quit IRC (Remote host closed the connection) [06:19] good morning tikiverse [06:20] tikiwiki: 03chealer * r33951 10/trunk/lib/logs/logslib.php: [FIX] Logs: cleaning logs with a certain age leaves some older events (r24869 regression) [06:25] *** dthacker has joined #tikiwiki [06:38] *** JoernOtt has quit IRC (Ping timeout: 260 seconds) [07:11] *** daevermann has quit IRC (Ping timeout: 240 seconds) [07:11] *** daevermann has joined #tikiwiki [07:56] *** chealer has quit IRC (Remote host closed the connection) [08:28] *** chealer has joined #tikiwiki [08:28] *** chealer has quit IRC (Changing host) [08:28] *** chealer has joined #tikiwiki [08:55] *** Wilkins has joined #tikiwiki [09:26] *** JoernOtt has joined #tikiwiki [09:59] *** chibaguy has joined #tikiwiki [09:59] *** ChanServ sets mode: +o chibaguy [09:59] polom [10:41] *** Caarrie|sleeping is now known as Caarrie|away [10:49] *** ricks99 has joined #tikiwiki [11:21] *** LordVan has joined #tikiwiki [11:33] *** ricks99_ has joined #tikiwiki [11:33] *** ricks99 has quit IRC (Remote host closed the connection) [11:33] *** ricks99_ is now known as ricks99 [11:42] *** ricks99 has quit IRC (Remote host closed the connection) [11:52] *** jonnyb has joined #tikiwiki [11:54] polom [11:59] chibaguy: you about? I have a theme option for Ohia ("Cornflower" - sort of pale blue generally with orange boxes) that's mostly finished for 6.x, but was wondering what to do with it... [11:59] *** kiilo has joined #tikiwiki [12:10] hi jonnyb, can it be added to 6.x (proposals) or should it go into trunk and br 7? [12:10] well exactly... [12:11] i know i could make some rules up here but... [12:11] Seems like it could go into 6 since it's an optional extra kind of thing. [12:11] it's sort of too late in 7.x for something [NEW], but it can't hurt much [12:12] have you changed ohia in 7.x to the new modules stuff? [12:12] cos i guess that would need doing for this option... [12:12] I think so. [12:12] Making the adjustments is pretty quick usually. [12:13] i think i might commit to 7.x as it is, merge to trunk, backport it into 6.x and then remove it from 7.x if i (or anyone) don't get time to fix it up properly for 7.0 [12:13] complicated isn't it! :) [12:13] *** SDuensin has left "Leaving" [12:14] yeah. [12:20] I checked ohia.css and it's got the module zone selectors, so if your option css is just the items changed from ohia.css, it should work already in trunk, or nearly so. [12:21] well, some class names or elements may need updating, for backgrounds etc. [12:21] *** JoernOtt has quit IRC (Ping timeout: 252 seconds) [12:43] thanks for checking chibaguy - should be getting there soon... :) [12:43] but first, lunch! [12:52] tikiwiki: 03jonnybradley * r33952 10/third_party/jquery/ (9 files in 3 dirs): [MOD] update jquery.mobile to 1.0 Alpha 4.1 [13:11] *** nkoth has joined #tikiwiki [13:12] *** nkoth has quit IRC (Client Quit) [13:13] *** nkoth_ has joined #tikiwiki [13:14] *** nkoth_ has quit IRC (Client Quit) [13:14] *** nkoth has joined #tikiwiki [13:14] *** nkoth has quit IRC (Client Quit) [13:15] *** nkoth has joined #tikiwiki [13:17] *** nkoth has quit IRC (Client Quit) [13:18] *** nkoth has joined #tikiwiki [13:24] *** radek82 has joined #tikiwiki [13:26] *** sylvieg has quit IRC (Ping timeout: 246 seconds) [13:34] *** sylvieg has joined #tikiwiki [13:34] *** ChanServ sets mode: +o sylvieg [13:35] *** ricks99 has joined #tikiwiki [13:41] *** ricks99 has quit IRC (Remote host closed the connection) [13:41] *** RobertPlummer has joined #tikiwiki [13:42] polom RobertPlummer [13:43] *** ricks99 has joined #tikiwiki [13:44] polom all [13:44] polom jonnyb [13:45] Ok, jonnyb spreadsheet? [13:45] tikiwiki: 03jonnybradley * r33953 10/trunk/ (12 files in 9 dirs): [MRG] Automatic merge, branches/7.x 33907 to 33946 [13:45] RobertPlummer: i'm planning on fixing the revisions of the external at some point... [13:45] exacto! [13:45] you mentioned about doing a synchronised release of sheet [13:45] Yes, that is correct. [13:46] any date planned? [13:46] I need to fix 2 problems with it and then it is golden. [13:48] have you branched yet? [13:51] Not yet [13:51] I've been trying to keep trunk as stable as possible. [13:52] ok, sensible [13:52] yeah, you wouldn't want junk in the trunk [13:52] 'I could go ahead and branch though, nothing holding me back. [13:53] more for you to maintain though, probably best to leave it as late as possible i guess [13:55] what about the other nested externals? jqs5 and the svg thing? [13:58] nested externals? [13:58] externals within externals? [13:59] the externals inside lib/jquery, which is itself an external (always causes me confusion) [13:59] (sounds like the movie Inception) [13:59] lol [13:59] Ideally we'd cut down on how many files are external and only use the ones we need. [13:59] For instance, inside jquery.sheet we external jquery ui, with is not needed. [14:00] Marc wants me to make some progress with svg-edit today, which is something I need to address with you as well. [14:01] tikiwiki: 03jonnybradley * r33954 10/trunk/lib/prefs/mobile.php: [14:01] tikiwiki: [FIX] Keep mobile_perspectives preference from setting unexpectedly in the feature admin panel [14:01] tikiwiki: [bp/r33907] NB: Changes to prefs.php in 7.x need to also now be made in the separate features lib/prefs/ file so they will appear in 8.x onwards [14:05] So in short, would you like me to coordinate with you on when the release happens? [14:05] I'd like to do a v2 beta possibly next week. [14:05] I think too with the beta, I'm going to be dropping support for xml. [14:05] well, just switch the external in 7.x to point to the release branch or tag when it's ready (before 7.0) [14:05] json or html only [14:06] we use json right? [14:06] right [14:06] and you use your own version of it. [14:07] I'll probably be being yours into trunk and dropping what I have currently.... [14:07] Less to maintain on your part and myn. [14:07] yes, one routine should be enough - i haven't looked at them for ages though, so you know best [14:09] On svg-edit, I'm a bit lossed. [14:09] The team seems happy to make me one of the commiters, but have yet to follow through, probably much to do like us. [14:10] oh? I'm unlikely to be less lost :P [14:10] Marc suggested possibly to edit source IN TIKI of svg-edit. [14:10] Rather than using an external. [14:10] hairy [14:10] very very hairy [14:11] well you could always make a copy of their stuff in third_party and external link to that, and then modify that pending feeding it back to the project [14:12] a dream within a dream stuff again? [14:12] :) [14:13] Ok, that sounds fine, I'd like to make some headway on that today... [14:14] not really - just change the svn:external on lib from http://svg-edit.googlecode.com/svn/trunk/editor/ to https://tikiwiki.svn.sourceforge.net/svnroot/tikiwiki/third_party/svg-edit/ [14:18] *** LordVan has quit IRC (Quit: Leaving) [14:30] As for the height issue with codemirror jonnyb, how about we do a check at startup if the textarea is larger than a certain size, lets say window.height * 0.8, if it is, we make it's height window.height * 0.8, otherwise we make it autogrow? [14:31] tikiwiki: 03sylvieg * r33955 10/branches/7.x/lib/wiki-plugins/wikiplugin_tracker.php: [FIX]TRACKER: case itemId={{itemId}} with no itemId on the url-> exit [14:32] I know that is a little left field, but I remember you talking about it, and I'm getting ready to commit what I have here. [14:32] well the textarea height should be set by the row attribute [14:32] tikiwiki: 03sampaioprimo * r33956 10/trunk/lang/pt-br/language.php: pt-br translations [14:32] i think for 7.0 just disable auto-grow, or make it only happen if the TA is empty at the start? [14:37] Then what should the height be? [14:37] sorry - when it starts? [14:38] nm, I tested it inherits from the textarea [14:38] ok, we are good. [14:38] same hight as the textarea i'd think [14:38] :) [14:38] have you fixed this thing with the {code} plugin going weird when you have tiki_p_edit on the page? [14:39] In read only mode? [14:40] Can you give me an example to make sure I have it right? [14:42] I will go ahead and commit this, then I will resolve that issue. [14:44] 1 min - phone [14:44] ok in read-only, bad when you can edit [14:46] tikiwiki: 03sampaioprimo * r33957 10/trunk/lang/pt-br/language.php: Brazilian Portuguese translations done on i18n.tiki.org [14:53] tikiwiki: 03robertplummer * r33958 10/branches/7.x/ (5 files in 4 dirs): [14:53] tikiwiki: [ADD] Parameters syntax and codemirror to smarty textarea block [14:53] tikiwiki: [MOD] flexibleCodeMirror to only start a codemirror instance if it is forced or textarea parameter "codemirror" = "true" [14:53] tikiwiki: [MOD] Added new event binding to document, "plugin_ready", which will fire along with "plugin_##type##_ready" [14:59] tikiwiki: 03sampaioprimo * r33959 10/trunk/lang/fr/language.php: French translations done on i18n.tiki.org [15:02] tikiwiki: 03sampaioprimo * r33960 10/trunk/lang/de/language.php: German translations done on i18n.tiki.org [15:02] tikiwiki: 03sampaioprimo * r33961 10/trunk/lang/hu/language.php: Hungarian translations done on i18n.tiki.org [15:08] Do we have a generic way to have a {button} with a confirm when clicking on it? [15:11] *** rodrigo_sampaio has joined #tikiwiki [15:12] *** marclaporte has joined #tikiwiki [15:12] *** ChanServ sets mode: +o marclaporte [15:16] *** ricks99 has quit IRC (Remote host closed the connection) [15:21] *** radek82 has quit IRC (Quit: Leaving) [15:22] tikiwiki: 03sampaioprimo * r33962 10/branches/proposals/6.x/ (5 files in 4 dirs): [bp/r33946][FIX] blog posts "disappear" for anonymous when upgrading old installations (<=1.9.x) [15:32] *** marclaporte has quit IRC (Read error: Connection reset by peer) [15:34] tikiwiki: 03jonnybradley * r33963 10/branches/7.x/templates/tiki-share.tpl: [FIX] Don't show user selector menu even if there is only one user (admin) - thanks Bernard [15:44] *** chibaguy has quit IRC (Ping timeout: 276 seconds) [15:46] *** nkoth has quit IRC (Quit: nkoth) [15:55] tikiwiki: 03sampaioprimo * r33964 10/branches/7.x/ (6 files in 6 dirs): backporting translations done on i18n.tiki.org [16:02] *** radek82 has joined #tikiwiki [16:05] *** Bernard1 has joined #tikiwiki [16:08] *** radek82 has quit IRC (Quit: Leaving) [16:08] tikiwiki: 03jonnybradley * r33965 10/branches/7.x/ (templates/tiki-share.tpl tiki-share.php): [FIX] share: Use user selector for inter-user messages and some fixes so it actually works [16:12] jonnyb, i remove my comment about "share this page" it's working fine now. [16:13] thanks Bernard1 - i already crossed it out, so it's fine there for a while [16:13] oh you've done it already, cool ;) [16:13] ur too fast for me. ;) [16:14] :) [16:14] tikiwiki: 03jonnybradley * r33966 10/branches/7.x/templates/tiki-objectpermissions.tpl: [FIX] perms: Missing [16:20] *** radek82 has joined #tikiwiki [16:21] RobertPlummer: just svn up'ed and the code plugin now still breaks but in a different way - the TA disappears but codemirror doesn't appear [16:22] the change highlighter buttons everywhere have gone though, so that's good... [16:30] *** Wilkins has quit IRC (Ping timeout: 250 seconds) [16:42] lol [16:42] ok [16:42] I will fix [16:42] :) [16:44] Where does it break specifically? [16:45] Is js minify on? [16:45] on a wiki page when you can edit it [16:45] no [16:45] Oh, refresh your cache for templates ;) [16:46] ah, ok... [16:46] Let me know... [16:46] will do - in the middle of something else at the mo [16:46] ok [16:46] thanks buddy! [16:49] *** chealer has quit IRC (Remote host closed the connection) [16:50] Nope, it is indeed a bug. [16:50] *** Bernard1 has quit IRC (Ping timeout: 252 seconds) [17:03] tikiwiki: 03robertplummer * r33967 10/branches/7.x/lib/codemirror_tiki/codemirror_tiki.js: [FIX] Array value for syntax attribute to array in codemirror [17:08] tikiwiki: 03jonnybradley * r33968 10/branches/7.x/lib/wiki-plugins/wikiplugin_trackerfilter.php: [FIX] trackerfilter: get filters even if $export_action set [17:22] tikiwiki: 03sampaioprimo * r33969 10/trunk/templates/blog_post_status.tpl: proper string handling [17:25] *** majmos has joined #tikiwiki [17:25] hey lphuberdeau - you about? [17:27] *** majmos has quit IRC (Client Quit) [17:29] *** majmos has joined #tikiwiki [17:31] *** majmos has left [17:33] *** majmos has joined #tikiwiki [17:34] *** chealer has joined #tikiwiki [17:34] *** chealer has quit IRC (Changing host) [17:34] *** chealer has joined #tikiwiki [17:34] tikiwiki: 03jonnybradley * r33970 10/branches/7.x/lib/tikilib.php: [FIX] plugin_fingerprint: Previously an empty args array actually had an empty item in it, so simulate that so plugins stay approved after upgrade [17:39] *** ricks99 has joined #tikiwiki [17:40] *** marclaporte has joined #tikiwiki [17:40] *** ChanServ sets mode: +o marclaporte [17:45] ok guys, how can I safely open an image from the file gallery and ensure I'm not breaking any security or anything? [17:45] If it is an svg image, I need to obtain the file as a string. [17:45] tikiwiki: 03jonnybradley * r33971 10/branches/7.x/styles/jqui.css: [FIX] jqui.css: Better .forum_actions [17:46] RobertPlummer: use tiki-download_file.php? [17:46] hmm, see what you mean... [17:47] curl isn't standard for most php and the fopen thing is bad (so i'm told) [17:48] *** chealer has quit IRC (Remote host closed the connection) [17:48] *** chealer has joined #tikiwiki [17:48] *** chealer has quit IRC (Changing host) [17:48] *** chealer has joined #tikiwiki [17:48] wonder if you should just "include" it somehow and capture the output buffer [17:48] messy [17:48] polom [17:52] hi chealer [17:52] hi jonnyb [17:52] jonnyb: why is fopen() bad? [17:52] any idea how RobertPlummer should get the contents of a file in a filegal? [17:52] doesn't is say so on the security admin page? [17:53] the allow_url_fopen thing? [17:54] nm, I can just use $('
').load(); [17:54] oh yes, in js it's ok [17:55] jonnyb: OK for allow_url_fopen in general, but you can use fopen() to open a local file safely [17:55] but you need to pass params and run it as a php file, no? [17:57] hi RobertPlummer. Can I suggest a jQuery.sheet fix? [17:58] sure, you wanna be one of the commiters? [17:58] RobertPlummer: as you want, but I don't intend to fix more for now, it's just a one-liner [17:59] What is the fix? [18:00] RobertPlummer: it's to handle HTML characters in tab names correctly [18:00] ah, cool [18:00] email me from your address you'd like to gain access to in sheet, and I'll approve it. [18:01] *** kit has joined #tikiwiki [18:05] RobertPlummer: in addTab, line 2274 [18:05] RobertPlummer: the content of the a link is not escaped [18:05] so change from "jS.sheetTab(true)" to [18:05] jQuery('
').text(jS.sheetTab(true)).html() [18:06] (apparently there's no better way to HTML escape in JavaScript :-/ [18:06] hey guys, i'm having an issue enabling ajax on a new install of tikiwiki. I recieve a generic error : "Error: the xajax Javascript component could not be included. Perhaps the URL is incorrect? URL: lib/ajax/xajax/xajax_js/xajax_core.js". any thoughts? ajax does not enable at this point. [18:10] RobertPlummer: I'm not sure what you mean, what about the address? it should be used as a username? my address is chealer@gmail.com in any case. [18:10] kit: which version do you use? [18:12] i have installed 6.2 and 6.3, both have the same error in the manner. I am down to server enviornment at this point. [18:12] chealer.... added [18:13] kit: what is the environment? [18:14] iis 7.5 [18:15] kit: right, I heard about that issue on IIS but was unable to reproduce. check if there's any error fetching that file. [18:18] tikiwiki: 03jonnybradley * r33972 10/branches/7.x/lib/tiki-js.js: [FIX] wysiwyg: Fix IE breakage trying to get selection from textarea "using" ckeditor (thanks Geoff) [18:20] RobertPlummer: sorry, what was added? the escaping bit? [18:20] No you as a commiter to jQuery.sheet [18:20] http://code.google.com/p/jquerysheet/ [18:21] You can actually make the changes in 7 and then when you go to commit svn should detect the external and do what it needs to. [18:21] WOOOHOOO! I HAVE SVG-EDIT WORKING! [18:21] WOOHOO! [18:21] yay! [18:22] I just need to make it save and I'll be done, and it'll be ready for 7! [18:22] nice going :) [18:23] I want to go ahead and commit, and then work on edit. [18:23] the tiki way [18:23] RobertPlummer: hum, it doesn't seem to commit it [18:23] What are you using to commit? [18:23] I don't understand how the authentication is supposed to work anyway [18:23] lol, I use rabbitvcs, and it handles it fine. [18:24] RobertPlummer: Aptana and the svn binary. the svn binary does nothing [18:24] Aptana is completely quiet [18:24] Ok, navigate to the folder jquery.sheet, and then try to commit [18:24] RobertPlummer: good for svg-edit [18:24] thanks [18:25] Looks like there have been a bunch of improvements since I tried to integrate it last, and there doesn't need to be the same type of changes we needed. [18:25] We can do a full scale integration. [18:26] RobertPlummer: OK, that does try to commit now, but it fails with Server sent unexpected return value (405 Method Not Allowed) in response to MKACTIVITY request for '/svn/!svn/act/83b3cecb-577f-4161-bce3-b24398f5d83c' [18:26] Aye, you need a real mans svn tool... [18:26] What OS are you on? [18:26] RobertPlummer: Debian testing [18:27] look into rabbitvcs, it is awesome. [18:27] it is just a ui for svn cli, [18:27] I run debian too, and love it. [18:27] It is better than any other svn UI I have seen, windows or linux. [18:31] RobertPlummer: hum, I'm a KDE guy. and really I don't intend to do more contributions so I would prefer if you could commit it than having to learn new VCS software [18:31] I already paid a good SVN toll yesterday [18:31] lol [18:32] ok, no problem [18:34] tikiwiki: 03robertplummer * r33973 10/branches/7.x/ (4 files in 3 dirs): [FIX] draw edit, view only. [18:36] For those who'd like to test svn-edit or Tiki draw ;) - svn up, upload file to file gallery, click wrench, click edit. [18:38] Make sure it is svg [18:39] *** marclaporte has quit IRC (Read error: Connection reset by peer) [18:43] tikiwiki: 03jonnybradley * r33974 10/branches/proposals/6.x/lib/tiki-js.js: [bp/r33972][FIX] wysiwyg: Fix IE breakage trying to get selection from textarea "using" ckeditor (thanks Geoff) [18:57] * jonnyb svn up's [18:57] does somebody know if there is a way to get the fulle url and the sefurl of the current url... seems that some servers give back the sefurl and other the logn one in HTTP_REFERER... [19:00] hi sylvieg - not off hand (thought you would know if anyone did) [19:00] Can someone tell me something about file gallerys? What is needed to post back to tiki-list_file_gallery.php in order to update a file? [19:01] I think thre is code duplication to update a file? [19:02] RobertPlummer: probably just a POST to tiki-upload_file.php? [19:02] or perhaps it posts there to avaoid code duplication [19:05] *** Bernard1 has joined #tikiwiki [19:06] hmm, RobertPlummer - i get the svg editor (full screen) but no image in there - url is: tiki-edit_draw.php?paramurl=tiki-download_file.php?fileId=27 [19:06] which is bad as it has two ? in it [19:06] the second one should be escaped i think [19:08] woops, I forgot to fix something there. [19:08] Ok, in tiki-upload_file.php I see fileId, but what request param holds the file data? [19:09] even with it escaped as %3F it doesn't show anything (and the file is ok) [19:09] $_FILES? [19:09] How do I post it to tiki-upload_file.php? [19:09] tiki-upload_file.php?fileId=1&files=filedata? [19:10] Is that right? [19:10] it's an array - userfile[] [19:10] How do I set that from a querystring though or an ajax post? [19:10] try: tiki-upload_file.php?fileId=1&userfile[0]=filedata [19:10] jonnyb: You think you are soo smart.... [19:10] :) [19:10] as a post but you'll need to set the right form type... [19:11] :P [19:11] enctype="multipart/form-data" [19:11] as an attribute on the form [19:11] right [19:14] *** JoernOtt has joined #tikiwiki [19:21] jonnyb, for an ajax post, I can't use userfile[0], expecially if the file has non url safe characters. [19:21] What other alternatives should I use? [19:21] tikiwiki: 03sylvieg * r33975 10/branches/7.x/tiki-switch_lang.php: [FIX]i18n: very dirty patch: avoid to go to a wiki page when switching from a cat1111 (tiki-browse_cvateories.php) - HTTP_REFERER contains the short url not the long one [19:22] hmm - try escaping it? [19:22] I have to use something like $.post(url, {userfile: data}, successFn); [19:22] With javascript? [19:22] escape("userfile[0]") [19:23] might work... [19:23] seems a little "hacky" [19:23] comes out as userfile%5B0%5D [19:23] ah, got you. [19:23] not reaslly - it's urlencoding [19:24] probably needs doing to the data too [19:24] there's a better encode fn... [19:24] encodeURIComponent() [19:24] See comment above about jonnyb & smart [19:25] jk [19:25] Thanks jonnyb , good find! [19:25] * jonnyb refers to his previous simley [19:30] *** marclaporte has joined #tikiwiki [19:30] *** ChanServ sets mode: +o marclaporte [19:38] So this should work to save file? encodeURIComponent('tiki-upload_file.php?fileId=$fileId&userfile[0]=' + data + '&enctype=multipart/form-data') [19:38] *** ricks99 has quit IRC (Quit: Now available, the first and only Tiki book. Get it at http://twessentials.keycontent.org) [19:39] not sure - that's not really what i meant [19:39] i meant just encode the userfile[0] bit [19:39] ah [19:39] and use ajax as before [19:39] trying... [19:40] it needs to be a POST i believe [19:41] Like this: $.post('tiki-upload_file.php?fileId=$fileId&' + encodeURIComponent('userfile[0]') + '=' + data + '&enctype=multipart/form-data', function() { alert('Success!'); }); [19:41] Is that right? [19:42] no, put the params in an object [19:42] oh, ok [19:42] You da man [19:42] maybe [19:43] the php may still not like it... [19:43] but i think it happens like that elsewhere [19:46] { fileId: $fileId, encodeURIComponent('userfile[0]'): data, enctype: 'multipart/form-data' } fails [19:46] you can't use a function for the start of an object's child name [19:46] What do you think jonnyb? [19:46] Sorry to pester [19:47] um... you need to add the enctype as an attribute of the post [19:47] might need the $.ajax fn for that [19:48] and just use userfile%5B0%5D as the key [19:49] RobertPlummer: hum, I'm following loosely, but I doubt you want to encode userfile[0] if it's a parameter name, you must want to encode the value, data [19:50] maybe you don't need the [0] bit at all - good point chealer [19:51] See comment above in reference to jonny & smart, reference chealer too. [19:51] THanks guys honestly! [20:00] kit : are you finding a solution? [20:14] New Forum Posts: File Gallery Listing error - https://tiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=41066 [20:14] New Forum Posts: Forum posts only displaying "new" icon - https://tiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=41061 [20:14] New Forum Posts: How to track users vs pages? - https://tiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=41059 [20:24] New Forum Posts: File Gallery Listing error - http://tiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=41066 [20:24] New Forum Posts: Forum posts only displaying "new" icon - http://tiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=41061 [20:24] New Forum Posts: How to track users vs pages? - http://tiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=41059 [20:26] *** marclaporte has quit IRC (Read error: Connection reset by peer) [20:32] tikiwiki: 03jonnybradley * r33976 10/branches/7.x/lib/filegals/filegallib.php: [FIX] fgals: catch exception when batch uploading [20:34] *** JoernOtt has quit IRC () [20:55] New Forum Posts: File Gallery Listing error - https://tiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=41066 [20:55] New Forum Posts: Forum posts only displaying "new" icon - https://tiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=41061 [20:55] New Forum Posts: How to track users vs pages? - https://tiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=41059 [21:02] chealer, jonnyb, I found out why it wasen't working.... [21:02] you can't upload files with ajax I guess. [21:02] odd [21:02] usually [21:02] bleh [21:03] so are you making a
? [21:05] New Forum Posts: File Gallery Listing error - http://tiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=41066 [21:05] New Forum Posts: Forum posts only displaying "new" icon - http://tiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=41061 [21:05] New Forum Posts: How to track users vs pages? - http://tiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=41059 [21:05] yuo [21:05] yup [21:05] seems to work better anyway. [21:05] More fluid [21:06] When you are done editing a file, you'd want to go back to the gallery. [21:06] true [21:06] btw; does the svg-edit need to be full page? or is it a bug? (safari) [21:13] Yea, full page only at this time. [21:14] Ok, input type="file" produces a file selector, how to I inject the value into the input's value? [21:14] This is driving me nuts. [21:15] .value(data) ? [21:15] tikiwiki: 03jonnybradley * r33977 10/branches/7.x/templates/tiki-admin_categories.tpl: [FIX] categs: Rogue [21:15] Forget it, I'm just going to write me own sql. [21:15] you're into new territory there RobertPlummer :) [21:16] don't forget permissions checking... not trivial... [21:16] I'm just going to edit one of the file gallery pages, and use the existing stuff. [21:16] at least use the lib function [21:16] please :) [21:19] _actionHandler_uploadFile() i think these days - via $filegallib->action_handler() [21:19] sorry - make that: $filegallib->actionHandler( 'uploadFile', $uploadParams ) [21:23] So does $_FILES become the actual file or just an array of file locations? [21:28] There is just so much that needs to change, I'm almost at a loss. [21:28] is there a function where I can just check if a file is uploadable? [21:28] then just write my own function? [21:29] use the actionHandler thing i think [21:31] tikiwiki: 03sylvieg * r33978 10/branches/7.x/templates/tiki-user_menu.tpl: [FIX]menu: a class to be able to custom the option as in the css menu [21:31] i'd really recommend using tiki-upload_file.php if you can though [21:33] So just go right below line 167 and start with my own method? [21:34] of file tiki-upload_file.php? [21:34] I just want to make sure follow what you guys have done. [21:34] why do you need a new method? [21:35] *** majmos has quit IRC (Quit: Page closed) [21:35] maybe you just need to massage the uploadParams? [21:36] Well extending is what I'd do, but there isn't anything as far as I can see to upload a file from a parameter. [21:36] Everything looks like it is file from $_FILE or directory on my system. [21:36] you need to get $_FILES['userfiles'] set up somehow [21:37] you might be able to write to it somehow [21:37] $_FILES['userfiles'] accepts directories [21:37] (a bit hacky) [21:37] I want to upload a whole file [21:38] Right? [21:38] yup [21:39] but it's just a string really, so you can pass it in $_REQUEST and add an exception on line 2696 [21:40] and set $aFiles['userfile'] to whatever works [21:40] just an array [21:41] need to bypass is_uploaded_file too [21:42] so $aFiles['userfile'] is the actual file? [21:42] or a path? [21:42] and move_uploaded_file on line 2847 [21:42] it's an array saying where the file is etc [21:42] I don't know, if you navigate through that function it really isn't designed for what we're doing.... [21:43] also file_put_contents needs an or... [21:43] getting messy [21:43] But if I start modding all that stuff, it is core. [21:43] I shouldn't mess with core stuff on an experimental, no? [21:43] but probable better then duplicating all that code [21:44] true [21:44] i think it's possible to make a form to submit the data in the usual way [21:45] less mess [21:47] How would you suggest? [21:47] I've tried copying the form directly, no good. [21:47] can't you do something like: $(").append(stuff).submit() [21:48] That is what I'm doing... [21:48] Shall I commit? [21:48] you'll need to make the too [21:49] ok, but that is still supposed to be a path as a value, I don't see how I gain any ground doing that. [21:49] well, i can't get a file to open yet... might be handy :P [21:49] ok [21:49] oh right - hmm [21:49] * sylvieg not sure to follow - but will be pleased with whatver you come with - /me doing fgal tracker field and has the same problem [21:49] hi sylvieg [21:50] hello guys [21:50] tikiwiki: 03robertplummer * r33979 10/branches/7.x/ (3 files in 2 dirs): [FIX] More fixes for tiki draw [21:50] Ok, clear cache, should work fine with svg images. [21:50] for viewing only, [21:51] i'd suggest google next... [21:51] hey sylvieg [21:51] I mean polom sylvieg [21:52] I'm gonna get dinner on, jonny let me know if you come up with a theory. [21:53] * sylvieg is in the dark side with trackers now - doing custom code - because too painful to develop for 6 and for 7 - I hate not to commit [21:53] sounds harsh [21:55] btw did somebody connect a trackerfilter with the newsletter / or mail plugin ? need to connect both [21:56] sounds like fun :P might work [21:56] *** radek82 has quit IRC (Quit: Leaving) [22:03] RobertPlummer: http://goo.gl/jcoQZ has some promising looking hits [22:04] *** Tiki|bot has quit IRC (Ping timeout: 250 seconds) [22:04] *** Tiki|bot has joined #tikiwiki [22:07] *** jonnyb has quit IRC (Quit: I am going outside... I may be some time...) [22:29] *** kit has quit IRC (Quit: Page closed) [22:38] Recent Bug: Tracker item: #3850 - - userlist wiki plugin paramaters sort and group can't be used together - http://dev.tiki.org/tiki-view_tracker_item.php?trackerId=5&itemId=3850 [22:49] *** RobertPlummer has quit IRC (Ping timeout: 252 seconds) [23:13] about tracker, i want to use them to display list of companies. i would like to manage data but the display should be nice (formatting, company name, bold, logo, etc). I don't want to change the rest of the tracker in the site. Is there a way to apply a specific css on a tracker plugin ? or it should be done using something else ? [23:33] *** Bernard1 has quit IRC (Quit: Leaving.) [23:35] *** daevermann has quit IRC (Remote host closed the connection) [23:42] *** lindonb has joined #tikiwiki [23:54] *** rodrigo_sampaio has quit IRC (Ping timeout: 260 seconds)