tikiwiki: 03marclaporte * r29910 10/branches/6.x/lib/prefs/global.php: typo
tikiwiki: 03marclaporte * r29911 10/branches/6.x/templates/tiki-kaltura_video.tpl: [ENH] Adding Kaltura embed code example below video
New Forum Posts: 403 error when using fckeditor - http://tiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=38924
tikiwiki: 03marclaporte * r29912 10/branches/6.x/templates/tiki-admin_include_video.tpl: [ENH] Adding some help links in the Kaltura Admin Panel
tikiwiki: 03marclaporte * r29913 10/branches/6.x/templates/ (3 files): [FIX] Attempt to have more consistency in buttons for Kaltura (some things are unclear to me in current interface, so revert or make better fix please). And add another embed code
hi all, which file should I change if I want to change title bar's message as I want (such as adding 'Wiki:' for all wiki pages)?
tikiwiki: 03marclaporte * r29914 10/branches/6.x/templates/tiki-kaltura_video.tpl: fixing up some previous commits to avoid duplicate and to use cleaner wiki plugin syntax
I tried to download http://doc.tiki.org/files/Tiki19beta.pdf but the link is broken. Where should I tell it?
hi, I need to have a
inside another , so I resort into using the HTML plugin in the editor, but all it says is "Plugin execution pending approval" ... .... ... O_o what does it mean?
this is lame.... I need to save the page, and approve the plugin to view it.... but of course it's not working, so I have to go back into editing..... why doesn't it just work in preview mode??
tikiwiki: 03nkoth * r29915 10/branches/6.x/tiki-login.php: [FIX] Prevent modules from showing stuff that anonymous should not see (bug introduced in r28103)
tikiwiki: 03nkoth * r29916 10/branches/6.x/tiki-login.php: [FIX] Re previous commit, reintroduced what was desired behavior of original r28103 properly
yanick_: so called "temporary approval" of plugins that need admin approval for preview purpose, or otherwise "auto approval of plugins if you are an admin "is currently not a feature but yes that might be nice to have.
nkoth, I finally wrote the whole thing directly using inline HTML, it works...
gn all :)
well... it worked in the preview... now the sanitizer screwed it up
stupid plugin security
I approve, and it won't approve... I'm freakin' admin
it show my HTML element right in the preview, but when I save, it shows my HTML code on the page instead of formatting it
damn borken thing
polom
hi chibaguy
hi chealer
polom
hi luci|abroad
hi chibaguy :)
New Forum Posts: Changing Users Passwords - http://tiki.org/tiki-view_forum_thread.php?forumId=6&comments_parentId=38927
Recent Bug: Tracker item: #3572 - - Upgrade to Google Maps Javascript API V3 - http://dev.tiki.org/tiki-view_tracker_item.php?trackerId=5&itemId=3572
does anyone know how to change admin password when we lost it ?
I always did look at tiki.sql where the hashed password for admin is stored and set the admin password back to admin
that's what i do
:)
JoernOtt: thx
polom
a beautifull bug, in tiki6 you cannot change your admin password :)
changi: apparently not via admin users anyway
the confirm action does not work
changi: right, that's exactly what I was looking at
changi: "Click here to confirm your action" does nothing? (JavaScript error)
Luciash: tks for the comment. I will re-upload the BBB interview.
New Forum Posts: Tiki and Webdav - http://tiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=38932
New Forum Posts: Site broken after 4.3-> 5.0 upgrade (search not working) - http://tiki.org/tiki-view_forum_thread.php?forumId=6&comments_parentId=38933
chealer: javascript:document.forms['confirm'].submit();return false; <= that's the problem
polom (uk)
changi: right. I'm wondering why though
changi: document.forms['confirm'] is undefined
document.forms is right
hi jonnyb. maybe you can help with this JavaScript problem...
hi chealer
confirm is the name of an existing form
which page?
jonnyb: the CSRF confirmation page, when clicking "Click here to confirm your action"
it must not do it everywhere, but I get it in 5.x and 6.x, in admin users
you may get it if you click a user
I was looking at http://www.w3.org/TR/DOM-Level-2-HTML/html.html#ID-75708506
it seems we want method namedItem
indeed - that's a bit odd isn't it? i'm not really doing something that needs confirm?
jonnyb: right. that's a separate problem, but I noticed this JS error when trying to fix what you just said
jonnyb: confirm.tpl I believe
{button href="#" _onclick="javascript:document.forms['confirm'].submit();return false;" _text="{tr}Click here to confirm your action{/tr}"}
got it
no js error though
jonnyb: so for you clicking the button works?
yup
in safari
for me, nothing happens (unless I open the console, in which case I see the error)
jonnyb: are you in 6.x?
trying in fx (on branch/6.x)
yeah, I'm in Iceweasel
I get it in Opera too.
also ok in fx
if you go to a user, then click Save (even without changing anything), you get the CSRF confirmation
?
ok, trying that too (with break on error enabled)
ok, got it
wow, even in opera I get 37 HTML validation errors
I don't understand, in the validation page, one of the errors shows the string Generate a password
$("form[name=confirm]") seems to find it ok
which I don't find in the HTML source of the page
why is it name and not id?
jonnyb: probably no good reason, but trying to change to id didn't help here
this seems to work ok for me:
{button _onclick="$("form[name=confirm]")[0].submit();return false;" _ajax="n" _text="{tr}Click here to confirm your action{/tr}"}
jonnyb: what does _ajax=n do?
stops it adding all the loadComponent stuff in the onclick fn
but i don't think that was the cause of that error
however, now when i click on a user name to edit it, when i confirm i go back to the list
:(
i have xajax on
any idea why it's asking to confirm just to edit?
jonnyb: yes, that's a regression from a recent CSRF patching
ok, you on it? ping if i can help...
yes, but I'm still totally confused
1. Why did it work but doesn't anymore? 2. Why is the validator showing code not in the source. 3. Why does {button href="#" _onclick="javascript:$('#confirm').submit();return false;" _text="{tr}Click here to confirm your action{/tr}"} not work, without any error, having switched to id?
you need $('irc://irc.freenode.net/#confirm')[0].submit()
could it be that the validation tool is sending the validator the previous page, before the confirmation form? in both Opera and Firefox??
i mean: $('#confirm')[0].submit()
$('#thing') is the jQuery object, which is also an array of dom elements
which validator are you talking about?
jonnyb: OK. that one fails with "$("#confirm")[0].submit is not a function"
jonnyb: what do you use in Firefox? I use Web Developer's Validate local HTML
i never found one that would do localhost pages
so usually copy the source into validator.w3.org
jonnyb: and in Opera, the one I found in development tools menu, Ctrl+Alt+Maj+U
i don't have opera
jonnyb: yesterday I figured Firefox/Web Developer was buggy so I saved the page and uploaded it to the validator manually. then it failed with 100+ errors, instead of 37
:D
I really couldn't make sense of the errors
jonnyb: I wish we were debugging this side-by-side
how about http://live.tiki.org ?
i'm there
but just doing to make T - brb
I'm afraid I have no working microphone on Linux :-(
$('#confirm')[0] is defined
[object HTMLFormElement]
that should definitely have a submit method: https://developer.mozilla.org/en/DOM/HTMLFormElement
oh... not mic, shame (not much point doing bbb)
yeah :-(
a debian thing?
it must be Linux-related, works on Windows, I think it already worked on Debian too
ah well
back to the confirm thing - you have xajax on?
jonnyb: I turned all AJAX stuff off when I hit the problem
cos sometimes ajax stuff "happens" in a weird scope and you have to tell it to use window.document.forms etc
as you say then, why did it change?
jonnyb: why it's not working anymore? no idea...
I'm trying {button href="#" _onclick="javascript:var conform = $('#confirm')[0];alert(conform);conform.submit();return false;" _text="{tr}Click here to confirm your action{/tr}"}
you mentioned some confirm changes recently?
jonnyb: I fixed missing CSRF checks recently, see http://tikiwiki.svn.sourceforge.net/viewvc/tikiwiki/branches/6.x/tiki-adminusers.php?r1=29485&r2=29651
try: _onclick="javascript:debugger; var conform etc
so it could be that Admin users is more buggy comparing 6.x to 4.x, but it would mean ticketlib2 confirmation screens would be broken everywhere
first thing i'd do is stick a breakpoint in $access->check_authenticity() and see what's in there
jonnyb: OK...what does debugger change?
it shouldn't change anything, just let you see why it's being called, and what it's checking
jonnyb: you think? it's PHP code... we're getting a JS error.
well the js looks ok - i'm sure doc.forms[formName] used to work
jonnyb: me too, but it's causing a JS error now, something is wrong in the HTML/JS now
i'd like to know why it wants confirm of just editing
jonnyb: because one $access->check_authenticity() (the last) is at the wrong place
the other thing i'd suggest is that all those $access->check_authenticity() calls should send some text to say what you're confirming
aha, hadn't got to the bottom yet :)
jonnyb: right, that would be nice. the corresponding parameter for key_check() has always been optional, so I let it that way. there's a lot of work to do on deploying ticketlib2...
New Forum Posts: Calendar questions (recurring event on every other week) - http://tiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=38939
New Forum Posts: File Gallery parent - http://tiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=38938
looks to me like key_check doesn't have a text param
jonnyb: sorry, it must be key_get() then
yup - key_get does - what's the diff?
jonnyb: first you get a key, then you confirm you're doing an authentic request by sending that key in the confirmation form, which calls key_check() to verify it
ok, makes sense
gah, I have no idea what the problem is.
seems to work ok now for me here
(the confirm button)
jonnyb: without code changes?
tikiwiki: 03chealer * r29917 10/branches/6.x/tiki-adminusers.php:
tikiwiki: [FIX] Admin users: CSRF check done when just visualizing a user
tikiwiki: r29651 regression, oops. Thanks Sylvie Greverend. ticketlib2/confirm.tpl still broken
no, with a little change to confirm.tpl
re
the one i pasted here earlier i think
polom luci|abroad
you still abroad?
jonnyb: hey jonny
jonnyb: yeah, I'll try it
(relatively)
jonnyb: again :-p
where now?
switzerland
coo
hi luci|abroad
at vladi´s sister´s
hi chealer :)
nice there? i only went through switzerland once on a bus - looked pretty
yea, it was no much sleep for me before going too, but luckily i was not driving alone
yep, nice, just cloudy today again
oh, and i had lunch in Zurich once
trying to sort out the pictures from tkifest now
*tikifest
i recorded the guy saying "stand clear of the closing doors please" on the subway to jfk
chealer: relax :)
I started debugging this stupid problem yesterday. why does it have to be so hard to debug a trivial JavaScript statement!
sometimes it's the trivial looking ones that are most evil
jonnyb: lol, great :)
jonnyb: hopefully we can make remix soon ;)
jonnyb: with your code, it works, but only because the onclick is truncated before the return false and it follows the href to tiki-adminusers.php, but it doesn't actually submit the form
i found the one i did with the artists and the car, but it's way too long - needs more mixing :)
ah, ok chealer - i'll recheck (properly)
artists and the car ? where ?
ah, @home u mean
not uploaded anywhere yet - i was rambling about it after the ovc remixing thing
yup
jonnyb: presumably some quoting problem
yep yep
oh, right: _onclick="$("form[name=confirm]")[0].submit();return false;"
double quotes used for 2 things
oops
told you, disrupted sleep patterns :)
i'm reverting for a moment - maybe it's something else
luci|abroad: thank you, I'm impatient to see them :-)
jonnyb: hehe
:)
hmm, there's something wrong with that form - it doesn't really have the name "confirm" (or any name)
jonnyb: huum. switching the jquery quoting to single quotes doesn't seem to work neither, although the JS seems fine
jonnyb: right...
in fact the 'name' is the first hidden field (user)
at this point, I would appreciate if somebody else could try to get the confirmation form somewhat validating
or explain why the validator is so unhappy
aha - the first hidden field's name is... "name"!
is that legal?
jonnyb: hum, I don't really see why it wouldn't
it seems to confuse firebug
if the form has a field called "name" as well as an attribute
jonnyb: I don't get the artists and the car
it's a silly video i started editing a while ago - never finished it
jonnyb: I think it's something bigger. most pages here have under 10 similar HTML errors, not 100
and at OVC is was wondering what a "video remix" was
is/i
OK
seems like i'd been making them for ages! :)
we used to call them "scratch videos"
i'm so behind with the times...
anyway, adminusers - i'm going to have a go at changing the name=name thing
I tried another confirm screen in 5.3 - it has a single HTML validation error
ok - think i'd cracked it
it also had a field called "submit", which was overriding the confirm form't property (no strong typing... the dangers)
there might be lots more...
i'll commit this and start searching
the admin users edit form had 13 errors
let's hope it helps
at least the js works now
tikiwiki: 03jonnybradley * r29918 10/branches/6.x/ (templates/tiki-adminusers.tpl tiki-adminusers.php):
tikiwiki: [FIX] adminusers: Can't use element attribute names as names for form fields (like 'name' or 'submit') when using check_authenticity confirmation.
tikiwiki: Also return to tab 1 after saving.
ok chealer - can you see if that helps?
tikiwiki: 03jonnybradley * r29919 10/branches/6.x/styles/layout/layout.css: [FIX] tabs: tabstoggle was breaking tab layout. Removed padding and margin from contents.
can any one see the option at tv.tiki.org where we can use the embed script to place a video clip on a tiki page? - On the kaltura.com side, there use to be a menu where I could pick-up the code. Can you try on your side to verify if you see the Chealer video clip at: http://kaltura.evocatio.com/p/102/sp/10200/raw/entry_id/0_jvebrere/version/0/0_jvebrere.mp4?relocate=f.mp4
tikiwiki: 03jonnybradley * r29920 10/branches/6.x/styles/jqui/options/element.css: [CSS] jqui.element: Coloured links in centre section
yup, i see it - chealer looking good there daniam
daniam: go to the list of entries
then rollover the blue (i) info icon
"Wiki plugin code" at the bottom
jonnyb: no I don't see the Wiki plugin code. Chealer, can you see "Wiki plugin code"?
or go to change details - it's at the bottom of that
or the normal "view" page - it's in the middle there for some reason...
jonnyb: wah, that worked
http://tv.tiki.org/tiki-kaltura_video.php?mediaId=0_jvebrere
yay chealer
now we have to find all the other forms in tiki that use stupid field names :)
well, only the ones that use check_auth
daniam: yes, I see it
is that really plugin syntax BTW?
yup - the new (4.x?) version
OK
hmmm, i get 157 hits for \$_(:?REQUEST|POST)\[['"]name['"]\] in php files - dull...
jonnyb: or understanding what's wrong there. I still get many validation errors
editing a user seems broken in 5.x
really - cos 157 is too many to change (and as you say it shouldn't really be necessary)
so it would be ideal to have a minimal backport
are there validation errors on the confirm form?
indeed
No, this is not what I'm looking for. I'm looking for the embed code. If I'm using the kaltura.com account, the path would be: http://www.kaltura.com/index.php/kmc/kmc3#content|Manage
jonnyb: many, but as I said, it's totally weird. I get 37 on 6.x, over 100 if I save the page and manually make it validate, in which case the errors are completely strange
just trying v.w3.o
jonnyb: if I do the validation via Firefox or Opera, it seems to be validating code which is not actually on the page
(Firefox: Web Developer)
not tried that pluggin
jonnyb: I use it mainly for HTML validation and cookie visualization
no firecookie? (it's good)
jonnyb: it does much more, but the rest is largely superceded by Firebug
validator is about the only thing missing from firebug these days
hello
hi lindon_
hey chealer
Is there any way to import iCal to tikicalendar ?
a bit lonely here now :)
hey lindon_ thanks for the smashing tikifest!
my pleasure!
:-)
using my mousemat now (just around 120th and 7th at the moment ;) )
lindon_: I was just telling jonnyb I wish I was still with him to squash this CSRF confirmation bug. instead I'm getting mad
haha jonnyb
chealer: why don't you fix you mic and we can do bbb?
I know what you mean, still have a few questions I forgot to ask jonny
jonnyb: sorry but I spent enough time trying to get the mic to work again, I was thinking I'd retry next reinstall
jonnyb: guess you made the train?
chealer: ok, just seems like a necessity this century ;)
lindon_: yup - 3 minutes to spare!
Deuns: looks like calendar can only import csv at the moment - maybe there's a converter?
I agree, it's a shame
I'm going to take a break, bbl
ok bibi
jonnyb, ok, I'll look in that direction then, thank you :)
how to use banner in wili tiki
!help
You can get a more complete list of commands that work with this bot at http://tikiwiki.org/TikiBot .
rahul - don't use them myself but have you tried http://doc.tiki.org/Banners ?
tikiwiki: 03marclaporte * r29921 10/branches/5.x/db/ (tiki-secdb_5.1_mysql.sql tiki-secdb_5.2_mysql.sql): delete useless files
yes but got no usefull results
how about trying rick's site - try search for "tiki for smarties"
http://twbasics.keycontent.org
even though I obviously have trouble keeping focused!
hey, some of the pics from tikifest already up: http://picasaweb.google.com/mindbro/TikiFestNewYork2010?authkey=Gv1sRgCLq2qYupvZvFQA#
great pictures - thanks luci!
New Forum Posts: QUestion on Menu behaviour - http://tiki.org/tiki-view_forum_thread.php?forumId=4&comments_parentId=38940
indeed - nice one, thanks luciash
wow. I think I would get vertigo in NYC!
thank you :)
ttrimm: hehe :)
I am originally from Kansas...NOTHING there is that size!
ttrimm: i was born and brought up in London, and even so sometimes NYC takes you breath away
Looking at that photoblog page, it is amazing to me how many photographers go with the default profile icon!!
http://www.photoblogs.com/?adly_id=403841899
ttrimm: you should join us next time ;)
at the tikifest??
yes
I would love to...finances suck at this point
I couldn't even go to RCC this year
it is a photoblog link that marc sent out in FB
but there are like 16 or 20 profile pics but most of those are just a head silhouette...
I NEVER stick with those myself.
one of the first things I change
Hope to go to RCC next year in Boston
SHOULD be able to.
what's RCC?
Recent Changes Camp...I will find a link
meanwhile, there's always BigBlueButton ;)
oh right, yes - heard of it
lindon_: i'm there...
this year it was in Canada. don't have a passport and no money for tickets
jonnyb: me too now
good night and enjoy: http://tv.tiki.org/tiki-index.php?page=HD+Video+Media+Entry+Example
eeep :-p
nn
goody - a bed time movie! :) thx
tikiwiki: 03jonnybradley * r29922 10/branches/6.x/templates/confirm.tpl: [FIX] confirm: xhtml validation - inputs can't be at the root of a form and forms don't have names anymore
tikiwiki: 03jonnybradley * r29923 10/branches/6.x/tiki-edit_perspective.php: [FIX] edit perspectives: Use cookietab
tikiwiki: 03jonnybradley * r29924 10/branches/6.x/tiki-adminusers.php: [FIX] adminusers: Get user list after modifying, instead of before
tikiwiki: 03jonnybradley * r29925 10/branches/6.x/lib/prefs/feature.php: [FIX] prefs: Add some keywords and hints, and homogenise some labels with colons.