***: Tiki|bot has joined #tikiwiki
kiilo has joined #tikiwiki
kiilo has quit IRC (Ping timeout: 240 seconds)
lindonb has joined #tikiwiki
Caarrie|away is now known as Caarrie|sleeping
coaboa_ has joined #tikiwiki
coaboa has quit IRC (Ping timeout: 246 seconds)
daevermann has joined #tikiwiki
daevermann_ has quit IRC (Ping timeout: 246 seconds)
lindonb has quit IRC (Quit: lindonb) CIA-126: tikiwiki: 03chealer * r33947 10/trunk/templates/tiki-admin_include_login.tpl: restore Id comment
tikiwiki: 03chealer * r33948 10/trunk/templates/tiki-export_tracker.tpl: restore Id comment
tikiwiki: 03chealer * r33949 10/trunk/ (403 files in 17 dirs):
tikiwiki: revert r33217 "~MOD~ Remove unused header comment"
tikiwiki: Ref: http://article.gmane.org/gmane.comp.cms.tiki.cvs/63790 (no answer)
tikiwiki: 03chealer * r33950 10/trunk/templates/category_related_objects.tpl: [FIX] HTML special characters encoding ***: JoernOtt has joined #tikiwiki
dthacker has quit IRC (Remote host closed the connection) coaboa_: good morning tikiverse CIA-126: tikiwiki: 03chealer * r33951 10/trunk/lib/logs/logslib.php: [FIX] Logs: cleaning logs with a certain age leaves some older events (r24869 regression) ***: dthacker has joined #tikiwiki
JoernOtt has quit IRC (Ping timeout: 260 seconds)
daevermann has quit IRC (Ping timeout: 240 seconds)
daevermann has joined #tikiwiki
chealer has quit IRC (Remote host closed the connection)
chealer has joined #tikiwiki
chealer has quit IRC (Changing host)
chealer has joined #tikiwiki
Wilkins has joined #tikiwiki
JoernOtt has joined #tikiwiki
chibaguy has joined #tikiwiki
ChanServ sets mode: +o chibaguy chibaguy: polom ***: Caarrie|sleeping is now known as Caarrie|away
ricks99 has joined #tikiwiki
LordVan has joined #tikiwiki
ricks99_ has joined #tikiwiki
ricks99 has quit IRC (Remote host closed the connection)
ricks99_ is now known as ricks99
ricks99 has quit IRC (Remote host closed the connection)
jonnyb has joined #tikiwiki jonnyb: polom
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... ***: kiilo has joined #tikiwiki chibaguy: hi jonnyb, can it be added to 6.x (proposals) or should it go into trunk and br 7? jonnyb: well exactly...
i know i could make some rules up here but... chibaguy: Seems like it could go into 6 since it's an optional extra kind of thing. jonnyb: it's sort of too late in 7.x for something [NEW], but it can't hurt much
have you changed ohia in 7.x to the new modules stuff?
cos i guess that would need doing for this option... chibaguy: I think so.
Making the adjustments is pretty quick usually. jonnyb: 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
complicated isn't it! :) ***: SDuensin has left "Leaving" chibaguy: yeah.
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.
well, some class names or elements may need updating, for backgrounds etc. ***: JoernOtt has quit IRC (Ping timeout: 252 seconds) jonnyb: thanks for checking chibaguy - should be getting there soon... :)
but first, lunch! CIA-126: tikiwiki: 03jonnybradley * r33952 10/third_party/jquery/ (9 files in 3 dirs): [MOD] update jquery.mobile to 1.0 Alpha 4.1 ***: nkoth has joined #tikiwiki
nkoth has quit IRC (Client Quit)
nkoth_ has joined #tikiwiki
nkoth_ has quit IRC (Client Quit)
nkoth has joined #tikiwiki
nkoth has quit IRC (Client Quit)
nkoth has joined #tikiwiki
nkoth has quit IRC (Client Quit)
nkoth has joined #tikiwiki
radek82 has joined #tikiwiki
sylvieg has quit IRC (Ping timeout: 246 seconds)
sylvieg has joined #tikiwiki
ChanServ sets mode: +o sylvieg
ricks99 has joined #tikiwiki
ricks99 has quit IRC (Remote host closed the connection)
RobertPlummer has joined #tikiwiki jonnyb: polom RobertPlummer ***: ricks99 has joined #tikiwiki RobertPlummer: polom all
polom jonnyb
Ok, jonnyb spreadsheet? CIA-126: tikiwiki: 03jonnybradley * r33953 10/trunk/ (12 files in 9 dirs): [MRG] Automatic merge, branches/7.x 33907 to 33946 jonnyb: RobertPlummer: i'm planning on fixing the revisions of the external at some point...
exacto!
you mentioned about doing a synchronised release of sheet RobertPlummer: Yes, that is correct. jonnyb: any date planned? RobertPlummer: I need to fix 2 problems with it and then it is golden. jonnyb: have you branched yet? RobertPlummer: Not yet
I've been trying to keep trunk as stable as possible. jonnyb: ok, sensible radek82: yeah, you wouldn't want junk in the trunk RobertPlummer: 'I could go ahead and branch though, nothing holding me back. jonnyb: more for you to maintain though, probably best to leave it as late as possible i guess
what about the other nested externals? jqs5 and the svg thing? RobertPlummer: nested externals?
externals within externals? jonnyb: the externals inside lib/jquery, which is itself an external (always causes me confusion) RobertPlummer: (sounds like the movie Inception)
lol
Ideally we'd cut down on how many files are external and only use the ones we need.
For instance, inside jquery.sheet we external jquery ui, with is not needed.
Marc wants me to make some progress with svg-edit today, which is something I need to address with you as well. CIA-126: tikiwiki: 03jonnybradley * r33954 10/trunk/lib/prefs/mobile.php:
tikiwiki: [FIX] Keep mobile_perspectives preference from setting unexpectedly in the feature admin panel
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 RobertPlummer: So in short, would you like me to coordinate with you on when the release happens?
I'd like to do a v2 beta possibly next week.
I think too with the beta, I'm going to be dropping support for xml. jonnyb: well, just switch the external in 7.x to point to the release branch or tag when it's ready (before 7.0) RobertPlummer: json or html only jonnyb: we use json right? RobertPlummer: right
and you use your own version of it.
I'll probably be being yours into trunk and dropping what I have currently....
Less to maintain on your part and myn. jonnyb: yes, one routine should be enough - i haven't looked at them for ages though, so you know best RobertPlummer: On svg-edit, I'm a bit lossed.
The team seems happy to make me one of the commiters, but have yet to follow through, probably much to do like us. jonnyb: oh? I'm unlikely to be less lost :P RobertPlummer: Marc suggested possibly to edit source IN TIKI of svg-edit.
Rather than using an external.
hairy
very very hairy jonnyb: 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 RobertPlummer: a dream within a dream stuff again?
:)
Ok, that sounds fine, I'd like to make some headway on that today... jonnyb: 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/ ***: LordVan has quit IRC (Quit: Leaving) RobertPlummer: 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? CIA-126: 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 RobertPlummer: 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. jonnyb: well the textarea height should be set by the row attribute CIA-126: tikiwiki: 03sampaioprimo * r33956 10/trunk/lang/pt-br/language.php: pt-br translations jonnyb: i think for 7.0 just disable auto-grow, or make it only happen if the TA is empty at the start? RobertPlummer: Then what should the height be? jonnyb: sorry - when it starts? RobertPlummer: nm, I tested it inherits from the textarea
ok, we are good. jonnyb: same hight as the textarea i'd think
:)
have you fixed this thing with the {code} plugin going weird when you have tiki_p_edit on the page? RobertPlummer: In read only mode?
Can you give me an example to make sure I have it right?
I will go ahead and commit this, then I will resolve that issue. jonnyb: 1 min - phone
ok in read-only, bad when you can edit CIA-126: tikiwiki: 03sampaioprimo * r33957 10/trunk/lang/pt-br/language.php: Brazilian Portuguese translations done on i18n.tiki.org
tikiwiki: 03robertplummer * r33958 10/branches/7.x/ (5 files in 4 dirs):
tikiwiki: [ADD] Parameters syntax and codemirror to smarty textarea block
tikiwiki: [MOD] flexibleCodeMirror to only start a codemirror instance if it is forced or textarea parameter "codemirror" = "true"
tikiwiki: [MOD] Added new event binding to document, "plugin_ready", which will fire along with "plugin_##type##_ready"
tikiwiki: 03sampaioprimo * r33959 10/trunk/lang/fr/language.php: French translations done on i18n.tiki.org
tikiwiki: 03sampaioprimo * r33960 10/trunk/lang/de/language.php: German translations done on i18n.tiki.org
tikiwiki: 03sampaioprimo * r33961 10/trunk/lang/hu/language.php: Hungarian translations done on i18n.tiki.org sylvieg: Do we have a generic way to have a {button} with a confirm when clicking on it? ***: rodrigo_sampaio has joined #tikiwiki
marclaporte has joined #tikiwiki
ChanServ sets mode: +o marclaporte
ricks99 has quit IRC (Remote host closed the connection)
radek82 has quit IRC (Quit: Leaving) CIA-126: 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) ***: marclaporte has quit IRC (Read error: Connection reset by peer) CIA-126: 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 ***: chibaguy has quit IRC (Ping timeout: 276 seconds)
nkoth has quit IRC (Quit: nkoth) CIA-126: tikiwiki: 03sampaioprimo * r33964 10/branches/7.x/ (6 files in 6 dirs): backporting translations done on i18n.tiki.org ***: radek82 has joined #tikiwiki
Bernard1 has joined #tikiwiki
radek82 has quit IRC (Quit: Leaving) CIA-126: 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 Bernard1: jonnyb, i remove my comment about "share this page" it's working fine now. jonnyb: thanks Bernard1 - i already crossed it out, so it's fine there for a while Bernard1: oh you've done it already, cool ;)
ur too fast for me. ;) jonnyb: :) CIA-126: tikiwiki: 03jonnybradley * r33966 10/branches/7.x/templates/tiki-objectpermissions.tpl: [FIX] perms: Missing </div> ***: radek82 has joined #tikiwiki jonnyb: 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
the change highlighter buttons everywhere have gone though, so that's good... ***: Wilkins has quit IRC (Ping timeout: 250 seconds) RobertPlummer: lol
ok
I will fix jonnyb: :) RobertPlummer: Where does it break specifically?
Is js minify on? jonnyb: on a wiki page when you can edit it
no RobertPlummer: Oh, refresh your cache for templates ;) jonnyb: ah, ok... RobertPlummer: Let me know... jonnyb: will do - in the middle of something else at the mo RobertPlummer: ok
thanks buddy! ***: chealer has quit IRC (Remote host closed the connection) RobertPlummer: Nope, it is indeed a bug. ***: Bernard1 has quit IRC (Ping timeout: 252 seconds) CIA-126: tikiwiki: 03robertplummer * r33967 10/branches/7.x/lib/codemirror_tiki/codemirror_tiki.js: [FIX] Array value for syntax attribute to array in codemirror
tikiwiki: 03jonnybradley * r33968 10/branches/7.x/lib/wiki-plugins/wikiplugin_trackerfilter.php: [FIX] trackerfilter: get filters even if $export_action set
tikiwiki: 03sampaioprimo * r33969 10/trunk/templates/blog_post_status.tpl: proper string handling ***: majmos has joined #tikiwiki jonnyb: hey lphuberdeau - you about? ***: majmos has quit IRC (Client Quit)
majmos has joined #tikiwiki
majmos has left
majmos has joined #tikiwiki
chealer has joined #tikiwiki
chealer has quit IRC (Changing host)
chealer has joined #tikiwiki CIA-126: 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 ***: ricks99 has joined #tikiwiki
marclaporte has joined #tikiwiki
ChanServ sets mode: +o marclaporte RobertPlummer: ok guys, how can I safely open an image from the file gallery and ensure I'm not breaking any security or anything?
If it is an svg image, I need to obtain the file as a string. CIA-126: tikiwiki: 03jonnybradley * r33971 10/branches/7.x/styles/jqui.css: [FIX] jqui.css: Better .forum_actions jonnyb: RobertPlummer: use tiki-download_file.php?
hmm, see what you mean...
curl isn't standard for most php and the fopen thing is bad (so i'm told) ***: chealer has quit IRC (Remote host closed the connection)
chealer has joined #tikiwiki
chealer has quit IRC (Changing host)
chealer has joined #tikiwiki jonnyb: wonder if you should just "include" it somehow and capture the output buffer
messy chealer: polom jonnyb: hi chealer chealer: hi jonnyb
jonnyb: why is fopen() bad? jonnyb: any idea how RobertPlummer should get the contents of a file in a filegal?
doesn't is say so on the security admin page?
the allow_url_fopen thing? RobertPlummer: nm, I can just use $('<div />').load(); jonnyb: oh yes, in js it's ok chealer: jonnyb: OK for allow_url_fopen in general, but you can use fopen() to open a local file safely jonnyb: but you need to pass params and run it as a php file, no? chealer: hi RobertPlummer. Can I suggest a jQuery.sheet fix? RobertPlummer: sure, you wanna be one of the commiters? chealer: RobertPlummer: as you want, but I don't intend to fix more for now, it's just a one-liner RobertPlummer: What is the fix? chealer: RobertPlummer: it's to handle HTML characters in tab names correctly RobertPlummer: ah, cool
email me from your address you'd like to gain access to in sheet, and I'll approve it. ***: kit has joined #tikiwiki chealer: RobertPlummer: in addTab, line 2274
RobertPlummer: the content of the a link is not escaped
so change from "jS.sheetTab(true)" to
jQuery('<div />').text(jS.sheetTab(true)).html()
(apparently there's no better way to HTML escape in JavaScript :-/ kit: 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. chealer: 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.
kit: which version do you use? kit: 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. RobertPlummer: chealer.... added chealer: kit: what is the environment? kit: iis 7.5 chealer: kit: right, I heard about that issue on IIS but was unable to reproduce. check if there's any error fetching that file. CIA-126: 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) chealer: RobertPlummer: sorry, what was added? the escaping bit? RobertPlummer: No you as a commiter to jQuery.sheet
http://code.google.com/p/jquerysheet/
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.
WOOOHOOO! I HAVE SVG-EDIT WORKING!
WOOHOO! jonnyb: yay! RobertPlummer: I just need to make it save and I'll be done, and it'll be ready for 7! jonnyb: nice going :) RobertPlummer: I want to go ahead and commit, and then work on edit.
the tiki way chealer: RobertPlummer: hum, it doesn't seem to commit it RobertPlummer: What are you using to commit? chealer: I don't understand how the authentication is supposed to work anyway RobertPlummer: lol, I use rabbitvcs, and it handles it fine. chealer: RobertPlummer: Aptana and the svn binary. the svn binary does nothing
Aptana is completely quiet RobertPlummer: Ok, navigate to the folder jquery.sheet, and then try to commit chealer: RobertPlummer: good for svg-edit RobertPlummer: thanks
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.
We can do a full scale integration. chealer: 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' RobertPlummer: Aye, you need a real mans svn tool...
What OS are you on? chealer: RobertPlummer: Debian testing RobertPlummer: look into rabbitvcs, it is awesome.
it is just a ui for svn cli,
I run debian too, and love it.
It is better than any other svn UI I have seen, windows or linux. chealer: 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
I already paid a good SVN toll yesterday RobertPlummer: lol
ok, no problem CIA-126: tikiwiki: 03robertplummer * r33973 10/branches/7.x/ (4 files in 3 dirs): [FIX] draw edit, view only. RobertPlummer: For those who'd like to test svn-edit or Tiki draw ;) - svn up, upload file to file gallery, click wrench, click edit.
Make sure it is svg ***: marclaporte has quit IRC (Read error: Connection reset by peer) CIA-126: 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) -: jonnyb svn up's sylvieg: 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... jonnyb: hi sylvieg - not off hand (thought you would know if anyone did) RobertPlummer: 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? sylvieg: I think thre is code duplication to update a file? jonnyb: RobertPlummer: probably just a POST to tiki-upload_file.php? sylvieg: or perhaps it posts there to avaoid code duplication ***: Bernard1 has joined #tikiwiki jonnyb: 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
which is bad as it has two ? in it
the second one should be escaped i think RobertPlummer: woops, I forgot to fix something there.
Ok, in tiki-upload_file.php I see fileId, but what request param holds the file data? jonnyb: even with it escaped as %3F it doesn't show anything (and the file is ok) sylvieg: $_FILES? RobertPlummer: How do I post it to tiki-upload_file.php?
tiki-upload_file.php?fileId=1&files=filedata?
Is that right? jonnyb: it's an array - userfile[] RobertPlummer: How do I set that from a querystring though or an ajax post? jonnyb: try: tiki-upload_file.php?fileId=1&userfile[0]=filedata RobertPlummer: jonnyb: You think you are soo smart....
:) jonnyb: as a post but you'll need to set the right form type...
:P
enctype="multipart/form-data"
as an attribute on the form RobertPlummer: right ***: JoernOtt has joined #tikiwiki RobertPlummer: jonnyb, for an ajax post, I can't use userfile[0], expecially if the file has non url safe characters.
What other alternatives should I use? CIA-126: 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 jonnyb: hmm - try escaping it? RobertPlummer: I have to use something like $.post(url, {userfile: data}, successFn);
With javascript? jonnyb: escape("userfile[0]")
might work... RobertPlummer: seems a little "hacky" jonnyb: comes out as userfile%5B0%5D RobertPlummer: ah, got you. jonnyb: not reaslly - it's urlencoding
probably needs doing to the data too
there's a better encode fn...
encodeURIComponent() RobertPlummer: See comment above about jonnyb & smart
jk
Thanks jonnyb , good find! -: jonnyb refers to his previous simley ***: marclaporte has joined #tikiwiki
ChanServ sets mode: +o marclaporte RobertPlummer: So this should work to save file? encodeURIComponent('tiki-upload_file.php?fileId=$fileId&userfile[0]=' + data + '&enctype=multipart/form-data') ***: ricks99 has quit IRC (Quit: Now available, the first and only Tiki book. Get it at http://twessentials.keycontent.org) jonnyb: not sure - that's not really what i meant
i meant just encode the userfile[0] bit RobertPlummer: ah jonnyb: and use ajax as before RobertPlummer: trying... jonnyb: it needs to be a POST i believe RobertPlummer: Like this: $.post('tiki-upload_file.php?fileId=$fileId&' + encodeURIComponent('userfile[0]') + '=' + data + '&enctype=multipart/form-data', function() { alert('Success!'); });
Is that right? jonnyb: no, put the params in an object RobertPlummer: oh, ok
You da man jonnyb: maybe
the php may still not like it...
but i think it happens like that elsewhere RobertPlummer: { fileId: $fileId, encodeURIComponent('userfile[0]'): data, enctype: 'multipart/form-data' } fails
you can't use a function for the start of an object's child name
What do you think jonnyb?
Sorry to pester jonnyb: um... you need to add the enctype as an attribute of the post
might need the $.ajax fn for that
and just use userfile%5B0%5D as the key chealer: 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 jonnyb: maybe you don't need the [0] bit at all - good point chealer RobertPlummer: See comment above in reference to jonny & smart, reference chealer too.
THanks guys honestly! marclaporte: kit : are you finding a solution? Tiki|bot: New Forum Posts: File Gallery Listing error - https://tiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=41066
New Forum Posts: Forum posts only displaying "new" icon - https://tiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=41061
New Forum Posts: How to track users vs pages? - https://tiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=41059
New Forum Posts: File Gallery Listing error - http://tiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=41066
New Forum Posts: Forum posts only displaying "new" icon - http://tiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=41061
New Forum Posts: How to track users vs pages? - http://tiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=41059 ***: marclaporte has quit IRC (Read error: Connection reset by peer) CIA-126: tikiwiki: 03jonnybradley * r33976 10/branches/7.x/lib/filegals/filegallib.php: [FIX] fgals: catch exception when batch uploading ***: JoernOtt has quit IRC () Tiki|bot: New Forum Posts: File Gallery Listing error - https://tiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=41066
New Forum Posts: Forum posts only displaying "new" icon - https://tiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=41061
New Forum Posts: How to track users vs pages? - https://tiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=41059 RobertPlummer: chealer, jonnyb, I found out why it wasen't working....
you can't upload files with ajax I guess.
odd jonnyb: usually
bleh
so are you making a <form>? Tiki|bot: New Forum Posts: File Gallery Listing error - http://tiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=41066
New Forum Posts: Forum posts only displaying "new" icon - http://tiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=41061
New Forum Posts: How to track users vs pages? - http://tiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=41059 RobertPlummer: yuo
yup
seems to work better anyway.
More fluid
When you are done editing a file, you'd want to go back to the gallery. jonnyb: true
btw; does the svg-edit need to be full page? or is it a bug? (safari) RobertPlummer: Yea, full page only at this time.
Ok, input type="file" produces a file selector, how to I inject the value into the input's value?
This is driving me nuts. jonnyb: .value(data) ? CIA-126: tikiwiki: 03jonnybradley * r33977 10/branches/7.x/templates/tiki-admin_categories.tpl: [FIX] categs: Rogue </b> RobertPlummer: Forget it, I'm just going to write me own sql. jonnyb: you're into new territory there RobertPlummer :)
don't forget permissions checking... not trivial... RobertPlummer: I'm just going to edit one of the file gallery pages, and use the existing stuff. jonnyb: at least use the lib function
please :)
_actionHandler_uploadFile() i think these days - via $filegallib->action_handler()
sorry - make that: $filegallib->actionHandler( 'uploadFile', $uploadParams ) RobertPlummer: So does $_FILES become the actual file or just an array of file locations?
There is just so much that needs to change, I'm almost at a loss.
is there a function where I can just check if a file is uploadable?
then just write my own function? jonnyb: use the actionHandler thing i think CIA-126: 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 jonnyb: i'd really recommend using tiki-upload_file.php if you can though RobertPlummer: So just go right below line 167 and start with my own method?
of file tiki-upload_file.php?
I just want to make sure follow what you guys have done. jonnyb: why do you need a new method? ***: majmos has quit IRC (Quit: Page closed) jonnyb: maybe you just need to massage the uploadParams? RobertPlummer: 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.
Everything looks like it is file from $_FILE or directory on my system. jonnyb: you need to get $_FILES['userfiles'] set up somehow
you might be able to write to it somehow RobertPlummer: $_FILES['userfiles'] accepts directories jonnyb: (a bit hacky) RobertPlummer: I want to upload a whole file
Right? jonnyb: yup
but it's just a string really, so you can pass it in $_REQUEST and add an exception on line 2696
and set $aFiles['userfile'] to whatever works
just an array
need to bypass is_uploaded_file too RobertPlummer: so $aFiles['userfile'] is the actual file?
or a path? jonnyb: and move_uploaded_file on line 2847
it's an array saying where the file is etc RobertPlummer: I don't know, if you navigate through that function it really isn't designed for what we're doing.... jonnyb: also file_put_contents needs an or...
getting messy RobertPlummer: But if I start modding all that stuff, it is core.
I shouldn't mess with core stuff on an experimental, no? jonnyb: but probable better then duplicating all that code
true
i think it's possible to make a form to submit the data in the usual way
less mess RobertPlummer: How would you suggest?
I've tried copying the form directly, no good. jonnyb: can't you do something like: $("<form action=xx enctype=yy>).append(stuff).submit() RobertPlummer: That is what I'm doing...
Shall I commit? jonnyb: you'll need to make the <input type=file /> too RobertPlummer: ok, but that is still supposed to be a path as a value, I don't see how I gain any ground doing that. jonnyb: well, i can't get a file to open yet... might be handy :P RobertPlummer: ok jonnyb: oh right - hmm -: sylvieg not sure to follow - but will be pleased with whatver you come with - /me doing fgal tracker field and has the same problem jonnyb: hi sylvieg sylvieg: hello guys CIA-126: tikiwiki: 03robertplummer * r33979 10/branches/7.x/ (3 files in 2 dirs): [FIX] More fixes for tiki draw RobertPlummer: Ok, clear cache, should work fine with svg images.
for viewing only, jonnyb: i'd suggest google next... RobertPlummer: hey sylvieg
I mean polom sylvieg
I'm gonna get dinner on, jonny let me know if you come up with a theory. -: 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 jonnyb: sounds harsh sylvieg: btw did somebody connect a trackerfilter with the newsletter / or mail plugin ? need to connect both jonnyb: sounds like fun :P might work ***: radek82 has quit IRC (Quit: Leaving) jonnyb: RobertPlummer: http://goo.gl/jcoQZ has some promising looking hits ***: Tiki|bot has quit IRC (Ping timeout: 250 seconds)
Tiki|bot has joined #tikiwiki
jonnyb has quit IRC (Quit: I am going outside... I may be some time...)
kit has quit IRC (Quit: Page closed) Tiki|bot: 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 ***: RobertPlummer has quit IRC (Ping timeout: 252 seconds) Bernard1: 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 ? ***: Bernard1 has quit IRC (Quit: Leaving.)
daevermann has quit IRC (Remote host closed the connection)
lindonb has joined #tikiwiki
rodrigo_sampaio has quit IRC (Ping timeout: 260 seconds)