#foswiki 2011-11-22,Tue

↑back Search ←Prev date Next date→ Show only urls(Click on time to select a line by its url)

WhoWhatWhen
***GithubBot has joined #foswiki [00:45]
GithubBot[foswiki] foswiki pushed 4 new commits to master: http://git.io/UCBEWg
[foswiki/master] Item10247: fix sorting; add scrollto behaviour - ArthurClemens
[foswiki/master] Item10247: ongoing documentation - ArthurClemens
[foswiki/master] Item10247: make info includable - ArthurClemens
[00:45]
***GithubBot has left [00:45]
FoswikiBothttp://foswiki.org/Tasks/Item10247 [ Item10247: Implementing Base Skin ] [00:45]
***terceiro has quit IRC (Remote host closed the connection) [00:48]
...... (idle for 26mn)
MartinCleaver_ has joined #foswiki
MartinCleaver_ has quit IRC (Changing host)
MartinCleaver_ has joined #foswiki
MartinCleaver has quit IRC (Ping timeout: 248 seconds)
MartinCleaver_ is now known as MartinCleaver
[01:14]
......... (idle for 43mn)
MartinCleaver has quit IRC (Remote host closed the connection)
MartinCleaver_ has joined #foswiki
MartinCleaver_ has quit IRC (Changing host)
MartinCleaver_ has joined #foswiki
[01:57]
........ (idle for 35mn)
gac410Interesting - the Alt-Shift-S Save from full screen doesn't happen on Chrome, Maybe it's a firefox bug? [02:33]
***khnz_ has joined #foswiki
khnz has quit IRC (Ping timeout: 252 seconds)
[02:34]
........... (idle for 54mn)
jomo has quit IRC (Quit: sleeping..)
foswiki_irc6 has joined #foswiki
[03:32]
foswiki_irc6hi got a quick question about upgrading foswiki. The direction seem to imply I should create a new directory that contains the upgraded version of Foswiki and then copy files over from my old installation. What if I just extract the files from the new foswiki archive into my existing foswiki folder and overwrite all files?
That way, I don't have to worry about changing apache configuration to refer to the new directory
or manually copy the non-default directories from my old installation to new
anyone know if that's OK to do?
[03:36]
***MartinCleaver_ has quit IRC (Quit: MartinCleaver_)
jomo has joined #foswiki
[03:38]
..... (idle for 20mn)
wdenk1 has joined #foswiki
wdenk has quit IRC (Ping timeout: 240 seconds)
[04:02]
gac410foswiki_irc6: you still aroun?
What version are you upgrading from / to
[04:07]
foswiki_irc6hey gac410
actually I just saw a note on the website saying for patch releases, I can overwrite
so I just did....
but when I go to Main/WebHome, it still shows 1.1.0
[04:15]
gac410overwrite with the upgrade package, not the full release I hope [04:16]
foswiki_irc6but when I go to my filesystem, I have a releaseNotes.html that shows 1.1.3
yes I used upgrade pkg
where is WIKIVERSION defined
it looks like that wasn't updated
[04:16]
gac410Are you running fastcgi fcgi or mod_perl - if so you need to reload apache. [04:16]
foswiki_irc6because that's what the topic is using
oh yes i am ok
one min
[04:16]
gac410Also check System/InstalledPlugins - That' also shows the installed the release. And shift-reload make sure cache is cleared [04:17]
foswiki_irc6yay :)
This site is running Foswiki version Foswiki-1.1.3, Sat, 16 Apr 2011, build 11475, Plugin API version 2.1
[04:19]
gac410great. [04:19]
foswiki_irc6but much more importantly, I can create new topics again. I hit this problem:
http://foswiki.org/Support/Question903
my users couldn't create topics in any web
due to javascript error
[04:19]
gac410If your server has a mod_expires set so the browsers cache the css, javascript, etc, you need to have people clear cache. [04:20]
foswiki_irc6i do use mod_expires...
ok
[04:21]
gac410the trick to mod_expires, say you have a 10-day expiration. Set it to 1-day, let the 10 days pass, then set to 10 minutes or so. let the day expire. Only then do the upgrade.
and when things seem stable, push it back to 10 days.
[04:22]
foswiki_irc6i'm not seeing where mod_expires is configured
I just see that it's loaded
hows that 10day value set
[04:24]
gac410oh - it would be in your apache config - hang on ...
ExpiresActive on
ExpiresDefault "access plus 11 days"
probably inside some filematch directives limiting the directories and filetypes
By using this you can knock 1/2 second or so off the foswiki response time.
depending on speed of server, network, etc.
[04:26]
foswiki_irc6oh it's in the foswiki conf
<filesmatch "\.(jpe?g|gif|png|css|js)$"> ExpiresActive on ExpiresDefault "access plus 11 days"
[04:29]
gac410So that has told the browser to not even try to fetch the file until the 11 days pass. Changing it now doesn't help.
Need to tell everyone to clear their cache.
[04:30]
foswiki_irc6damn... [04:31]
gac410set a BROADCAST message - [04:31]
pharveydamn indeed. JQuery stuff is versioned via URL params, but there's a lot of system JS that isn't versioned in the URL to force the browser to fetch again in case of upgrades. [04:31]
gac410Oh - visit configure and don't forget to set the correct jquery version -
yeah using that version url param is somewhat questionable. It prevents some web caching from ever caching it.
[04:32]
foswiki_irc61.4.2
is the jquery it's set to
set it to 1.6.1 instead?
[04:35]
gac410there should be a "use default" button. Not sure what 1.1.3's default was.
1.1.4 will move to 1.6.4
[04:35]
foswiki_irc61.4.3
hmm
[04:35]
pharveyFoswiki 1.1.4 will move to jQuery 1.6.4 :) [04:35]
gac410yes [04:36]
foswiki_irc6tempted to just set it to the max [04:36]
pharvey(I thought those numbers might want more context)
foswiki_irc6: most JQueryPlugin releases are designed to work with the newest JQuery they ship with
[04:36]
gac410yeah probably. thanks. [04:36]
pharveyso, I discovered an openssl bug this morning, cost me hours :( [04:37]
foswiki_irc6pharvey: what is this version i'm looking at referring to then
kind of confused why i'm seeing multiple listed if it's supposed to work with the newest
[04:37]
gac410Foswiki 1.1.3 shipped with JQuery 1.4.3 active for new installations.
I would not go any older than that. And I'm not sure about trying newer. JQuery can be pretty fussy.
[04:39]
foswiki_irc6k [04:41]
pharveyfoswiki_irc6: if you upgraded to the latest JQueryPlugin from Foswiki:Extensions.JQueryPlugin or the configure interface, you will see jQuery 1.6.1 [04:45]
FoswikiBothttp://foswiki.org/Extensions.JQueryPlugin [ JQueryPlugin ] [04:45]
foswiki_irc6damn my table behavior in tinymce is still messed up. was hoping upgrading would fix this. in your sandbox, I can create a table like "| a | b |" and when i save in tinymce, foswiki renders it using wiki syntax rather than html [04:46]
pharveyfoswiki_irc6: are there HTML errors?
err, javascript errors
[04:47]
foswiki_irc6my installation changes it to html. also, if I go to raw edit and do | a | b | and then go to tinymce and save, it changes it to html. driving me nuts
let me see...
[04:47]
gac410pharvey: is that all compatible with the other foswiki javascript? Maybe my advice to stick with jq 1.4.3 is wrong. [04:47]
pharveygac410: I remember now, I think in that release we hadn't quite finished auditing all the system js for 1.6 compatibility
er, auditing various jq-plugins, I mean
[04:47]
gac410foswiki_irc6: I have never seen that behavior. pharvey - could some oddball settings be causing wysiwygPlugin to not convert back to tml? [04:48]
pharveysure, WYSIWYGPLUGIN_STICKYBITS can be configured to do this
I'd check what version of TinyMCEPlugin is there too
gac410: the current release of JQueryPlugin has 1.4.3 as default in config.spec
[04:49]
gac410okay - then best to stick with that I suppose. [04:50]
foswiki_irc6no errors in javascript console...but I just saw something really strange happen. I created a table in tiny mce like "|a|b|" and it rendered it properly as TML. then I went back to tinymce and added a second identical table. after I saved, the first table got change to html, the second table literally shows up as "|a|b|" meaning it's not even a table [04:50]
pharveywhich browser? it really sounds like there's a JS error somewhere [04:50]
foswiki_irc6ff 8
don't see anything in firebug
[04:51]
pharveyah, I've not tested in FF8 yet
hrm
how adventurous do you feel? I've got an up-to-date TinyMCE that you can try
foswiki_irc6: foswiki.org/Extensions/Testing/TinyMCEPlugin
http://foswiki.org/Extensions/Testing/TinyMCEPlugin
pharvey curses whatever idiot decided I don't want protocol:// in the address bar
[04:51]
foswiki_irc6can i roll back? i'm worried this tinymce was somehow customized by another admin somewhere a while ago. although...this most recent behavior is really really weird. [04:52]
pharveyfoswiki_irc6: if this behaviour ONLY happens in FF8, I'd give the testing release a try
the newer TMCE has a lot of fixes for IE9 too
[04:53]
gac410Set your expires time down to some short value then - so at least people don't cache what you are testing. [04:53]
foswiki_irc6I can uninstall this test release if needed right? [04:54]
gac410foswiki_irc6: with foswiki 1.1.3, each extension install creates a tarfile in working/configure/pkgbkup .. or something like that.
You should be able to untar it to revert.
[04:54]
pharveyfoswiki_irc6: you can always just use the configure UI to re-install the official TinyMCEPlugin [04:55]
gac410yeah that works to :-) [04:55]
foswiki_irc6k [04:56]
pharveygac410, foswiki_irc6 : actually, TinyMCEPlugin uses versioned URLs, so hopefully (in theory) the expires time shouldn't be a huge issue [04:56]
foswiki_irc6hmmm..is manually editing lib/localsite.cfg different from using bin/configure
I just changed extensionRepositories in bin/configure
but I dont see the test version
[04:57]
pharveyyeah, you don't get to see any warnings configure throws at you :-)
hrm
[04:57]
foswiki_irc6here's my extensionsRep
Foswiki.org=(http://foswiki.org/Extensions/,http://foswiki.org/pub/Extensions/);Local=(http://foswiki.org/Extensions/Testing/,http://foswiki.org/pub/Extensions/Testing/
[04:58]
pharveywhat is the latest version of TinyMCEPlugin according to the configure UI?
also, I hope there's a losing ) on the end
closing*
[04:58]
foswiki_irc6blah parens
yea
[04:58]
gac410Ah - I think testing might need to come first - but maybe not. It's been a while [04:59]
pharveyI think it's last [04:59]
foswiki_irc6i see it now [04:59]
gac410okay you are probably right. [04:59]
foswiki_irc61.2.2 [04:59]
pharveyfoswiki_irc6: that's the testing version [04:59]
foswiki_irc6I can't download http://foswiki.org/pub/Extensions/Testing/BehaviourContrib/BehaviourContrib_installer because of the following error: Not Found fetching installer from http://foswiki.org/pub/Extensions/Testing/ ... succeeded Download failed - I can't download http://foswiki.org/pub/Extensions/Testing/BehaviourContrib/BehaviourContrib_installer because of the following error: Not Found [05:00]
pharvey... interesting [05:00]
foswiki_irc6installation terminated
oh well...looks like it actually installed anyways
[05:00]
pharveythat's a bogus dependency. Thanks for noticing, I'll fix that in the next release.
pharvey wonders why the installer didn't fall-back to foswiki.org/pub/Extensions to get BehaviourContrib
[05:02]
foswiki_irc6ok so using tinymce I created a table with "|a|b|" and another using the insert table button. the first table rendered TML and the second as html
looks like same as before
i had this in ie9 too
[05:04]
pharveycan you put %TINYMCEPLUGIN_STICKYBITS% somewhere and tell us what it expands to
er
sorry
%WYSIWYGPLUGIN_STICKYBITS%
[05:05]
foswiki_irc6wysiwyg? [05:05]
pharveyyeah [05:05]
foswiki_irc6(?!IMG).*=id,lang,title,dir,on.*; A=accesskey,coords,shape,target; BDO=dir; BR=clear; COL=char,charoff,span,valign,width; COLGROUP=align,char,charoff,span,valign,width; DIR=compact; DIV=align,style; DL=compact; FONT=size,face; H[0-9]=align; HR=align,noshade,size,width; LEGEND=accesskey,align; LI=value; OL=compact,start,type; P=align; PARAM=name,type,value,valuetype; PRE=width; Q=cite; TABLE=.*; TBODY=.*; TD=.*; TFOOT=.*; TH=.*; T [05:06]
gac410Does your System.DefaultPreferences, Main.SitePreferences, WebPreferences, or your User topic have a setting for %WYSIWYGPLUGIN_STICKYBITS% (Well what pharvey just asked but I hate wasting keystrokes [05:06]
foswiki_irc6i just put that in user topic
I mean the macro...so it expands
[05:06]
gac410yes correct' [05:07]
pharveythere is also WYSIWYGPLUGIN_PROTECT_EXISTING_TAGS
which might inhibit table conversion if it's got table,td,tr, etc. in it
[05:07]
foswiki_irc6i don't want it to do table conversion though right?
I don't know why it's converting to html
i put wiki syntax in the editor
[05:09]
gac410Hm.... on my 113 system when I put %WYSIWYGPLUGIN_STICKYBITS% in a topic, it's undefined. [05:10]
foswiki_irc6it's set in my SitePreferences
WYSIWYGPLUGIN_PROTECT_EXISTING_TAGS is nowhere to be found
[05:10]
pharveywhat's it set to? in SitePreferences [05:11]
foswiki_irc6* Set WYSIWYGPLUGIN_STICKYBITS = (?!IMG).*=id,lang,title,dir,on.*; A=accesskey,coords,shape,target; BDO=dir; BR=clear; COL=char,charoff,span,valign,width; COLGROUP=align,char,charoff,span,valign,width; DIR=compact; DIV=align,style; DL=compact; FONT=size,face; H[0-9]=align; HR=align,noshade,size,width; LEGEND=accesskey,align; LI=value; OL=compact,start,type; P=align; PARAM=name,type,value,valuetype; PRE=width; Q=cite; TABLE=.* [05:11]
pharveygac410: it's an optional pref... pulls from a section in the WysiwygPlugin if it's undef [05:12]
gac410right - what I was implying is that his system is overriding it which is probably the issue. [05:12]
pharveycool [05:12]
foswiki_irc6so I should get rid of this setting? [05:12]
gac410Isn't TABLE / TD / TBODY / TFOOT / TH ... causing table html markup to be saved [05:13]
pharveyfoswiki_irc6: yes, but if you like the rest of it, just removing the last bit - TABLE=.* might fix the table behviour
"stickybits" is a regex which, if any markup matches, the WYSIWYG won't convert to TML
[05:13]
foswiki_irc6oh....i'd be curious what the default sticky bits are...i dont know when this tbody and all that got added
anyways i'll try
[05:14]
pharveytbody? where is that
pharvey re-reads what foswiki_irc6 pasted more carefully :)
maybe you're better off, commenting-out this set statement
[05:14]
gac410If it causes someone trouble, find out what topics they need it on. It can be set by web, topic, user, ... doesn't need to be a system wide setting.
Look at revision history of SitePreferences and find who did it, and then why.
[05:15]
foswiki_irc6damn unfortunately that didn't fix it [05:16]
pharveyare there STICKYBITS settings elsewhere? [05:17]
foswiki_irc6you mean WYSIWYGPLUGIN_STICKYBITS ?
that's just in my siteprefs
as far as i can tell
[05:17]
gac410pharvey - he is using fastcgi - does apache need restart? Usually not needed for settings like that - but if the plugin does lazy init ... [05:17]
pharveyif in doubt, restart :)
there is some lazy init code, but I don't think it's for prefs
[05:19]
foswiki_irc6restarting [05:19]
***gac410 has left [05:20]
foswiki_irc6YES
fixed pharvey :)
i took out all table tags like table, tbody, tr, etc. do you have cases where you don't want table to be converted to TML?
i think I might just keep it like this
oh i guess when you have a complex table that can't be represented as tml...
padding, border color etc...hmmm
[05:22]
pharveyyep.
foswiki_irc6: it might be worth upgrading to latest testing WysiwygPlugin, if you are interested in the WYSIWYG preserving TML newlines inside of %MACRO{...}% expressions
[05:24]
foswiki_irc6k [05:25]
pharveyalso: please, please provide feedback - the reason I haven't released the new TinyMCE is because I haven't had time to test properly with IE6/7/9
so if you get time, please let us know what browsers you're using, and that they did or did not work :)
also: don't forget to remove the testing repo from your configure settings after you're done with this
[05:25]
foswiki_irc6do you want feedback in the plugin topic somewhere [05:29]
pharveyfoswiki_irc6: anywhere, even the foswiki-discuss ML, but I guess Item10724 would be most efficient [05:33]
FoswikiBothttp://foswiki.org/Tasks/Item10724 [ Item10724: Update to TinyMCE 3.4.7 ] [05:33]
***GithubBot has joined #foswiki [05:35]
GithubBot[foswiki] foswiki pushed 1 new commit to Release01x01: http://git.io/VqUaag
[foswiki/Release01x01] Item11272: Remove bogus BehaviourContrib dep - PaulHarvey
[05:35]
***GithubBot has left [05:35]
FoswikiBothttp://foswiki.org/Tasks/Item11272 [ Item11272: Remove bogus TinyMCEPlugin dependency on BehaviourContrib ] [05:35]
foswiki_irc6just added a comment [05:36]
pharveyis that with the new WysiwygPlugin? [05:37]
foswiki_irc61.1.3 of wysiwygplugin...crap
looks like that came from test branch
i updated that before i removed test branch repository
[05:38]
pharveyconsider these "release candidate" quality - they should be good, just lack testing... [05:39]
foswiki_irc6You want me to downgrade and retry? [05:39]
pharveyif you have time, that would be great! [05:39]
foswiki_irc6sure. you guys helped me a lot. was so frustrated with that table behavior [05:40]
pharveycool
foswiki_irc6: I suspect fixing this newline behviour will mean breaking others... but we have tests for them all. The code basically knows that there aren't any newlines separating your TML input & the HTML table, and then after conversion it all gets flattened into a single table
previously, it arbitrarily added newlines in certain circumstances, which caused problems
but apparently, addressed things like this.
[05:40]
foswiki_irc6the behavior now is quite different
i will put another comment in
[05:44]
***SvenDowideit_ has joined #foswiki
SvenDowideit_ has quit IRC (Changing host)
SvenDowideit_ has joined #foswiki
[05:50]
foswiki_irc6pharvey: i put in what i noticed with wysiwyg 1.1.2 [05:51]
pharveythank you! feedback means a lot to me :-)
ah yes, the table-at-end-of-document problem
foswiki_irc6: if you transition back & forth between tml/html, WysiwygPlugin puts an blank newline after the table for you
although... that was for top-of-document. I thought bottom-of-document was fixed...
[05:51]
foswiki_irc6i had seen this problem a long time ago.... [05:54]
pharveyok, so this isn't a new problem then
I've listed it under Known Issues in the TinyMCEPlugin doc
[05:54]
foswiki_irc6not being able to add text after table...well at that time i couldn't add text...this time it adds text but puts it into last cell [05:54]
pharveyok [05:54]
foswiki_irc6ok its 1am. i'm gonna go pass out
cya later
[05:55]
pharveythanks again [05:57]
***foswiki_irc6 has quit IRC (Ping timeout: 265 seconds) [05:59]
dj_segfaultHi. Trying to use $IF() in a %CALC()%, and the > in my condition gets turned into a &gt; when I save. How do I tell it not to do that? [06:03]
pharveyin WYSIWYG, it needs to be inside a <sticky> (see formats drop-down) [06:04]
dj_segfaultIt's no longer turning it into an HTML entity, but it's also not evaluating the %CALC()%. when I do that.
I tried it just around the > and around the whole %CALC()%
[06:07]
Sorry. Damn! Did CALC() instead of CALC{} PEBCAK. [06:16]
***leik has quit IRC (Ping timeout: 245 seconds) [06:25]
.... (idle for 16mn)
mfladischer has joined #foswiki [06:41]
pharveycool
gotta run :)
[06:41]
***pharvey has quit IRC (Quit: ChatZilla 0.9.87 [Iceweasel 7.0.1/20111015075007]) [06:41]
..... (idle for 22mn)
dj_segfault has quit IRC (Ping timeout: 248 seconds) [07:03]
.... (idle for 15mn)
leik has joined #foswiki [07:18]
..... (idle for 20mn)
MichaelDaum has joined #foswiki
MichaelDaum has quit IRC (Changing host)
MichaelDaum has joined #foswiki
ChanServ sets mode: +o MichaelDaum
[07:38]
..... (idle for 22mn)
MichaelDaumhey guys hope you all had a safe trip back from the foswiki camp :)
Babar, SvenDowideit: which of your cameras was it that we took the photos with on cern/cms?
I'd like to upload them on the blog or somewhere 2gether with Julian's text
ping me when back
MichaelDaum working on leveraging Foswiki::Meta::registerMETA to wiki app space
[08:00]
FoswikiBothttp://trunk.foswiki.org/System/PerlDoc?module=Foswiki::Meta [ (Foswiki login) PerlDoc ] [08:02]
***Colas has quit IRC (Read error: Operation timed out)
denisr has joined #foswiki
[08:02]
ThomasPHaeck has joined #foswiki
CDot has joined #foswiki
[08:11]
BabarMichaelDaum: it was CDot's, iirc
or Sven's. Not sure, but I think the one with the tri-legs was CDot's
(who uploaded already some of his pictures, but I haven't seen those ones, so...)
Babar had a safe trip back from the camp, yes, thank you very much :)
[08:18]
CDottri-legs? [08:18]
***ThomasPHaeck has quit IRC (Ping timeout: 276 seconds) [08:19]
CDotCDot notes that the channel topic needs updating [08:19]
***Babar changes topic to: Download Foswiki 1.1.4 Beta 2 for TESTING http://foswiki.org/Download/FoswikiRelease01x01x04Beta2
Babar sets mode: +oooo CDot leik SvenDowideit_ SvenDowideit
Babar sets mode: +v FoswikiBot
[08:22]
CDotparfait! [08:22]
BabarCDot: we call it trépied in French, which literally translates to three-feet [08:22]
CDotsure, a dolmen [08:22]
Babarno idea how to say that in English though
the stand to take pictures :)
[08:22]
CDotoh, a tripod [08:23]
Babarright
a dolmen is called a ... dolmen, in French :)
as in Astérix :)
[08:23]
CDothttp://www.bbc.co.uk/guernsey/content/articles/2008/10/03/le_trepied_dolmen_feature.shtml [08:23]
Babarok :)
never heard of it before
but hey, the only things like that I ever saw were all in Ireland, and they wouldn't have French names :)
[08:24]
CDotit used to have a lot more feet, but my family stole them to make the family tombs [08:25]
Babaranyway CDot, was it your tripod and your camera which was used to take group pictures at CERN, or was it Sven's? [08:25]
CDotsvens [08:25]
Babarso Micha, you got your answer :) [08:26]
CDotmy tripod, sven's camera [08:26]
Babarping the babysitter [08:26]
***dnavarro has joined #foswiki [08:26]
CDotI have one group picture (taken by Pieter) but it's not very good
so I dodn't bother uploading it
[08:26]
Babarnice mixture of don't and didn't :)
looks almost like a welsch word
[08:26]
CDotnah, welsh would be "dydncht"
they have an aversion to vowels
[08:27]
Babaryeah, I was about to say that you'd need to remove the o
but y is a vowel in French :)
[08:27]
CDotMichaelDaum: I have a group picture taken in front of the CMS picture gallery, will send it to you [08:28]
Babarah... did you guys noticed the pictures where writing something?
I shown it to Pieter who never even noticed :)
another nice demo of... when you're too closed to the tree, you can't see the forest
[08:29]
CDotmo; but I assume it had several 'o's in it.....
MichaelDaum: cancel that; some people are too far out of focus to be worth it
[08:29]
casperfoocan someone point me at how to disable all wiki access without HTTP basic auth? I'd like nothing accessible without a login [08:31]
Babarcasperfoo: with template login?
gac410 just updated the documentation for that
easiest is to put all scripts (but login, logon, and maybe register) in the AuthScripts list
[08:32]
casperfooBabar: no just apache htpasswd [08:33]
Babarah, with htpasswd
then just put the entire site with require valid-user :)
[08:33]
casperfooBabar: yeah login manager Foswiki::LoginManager::ApacheLogin [08:33]
FoswikiBothttp://trunk.foswiki.org/System/PerlDoc?module=Foswiki::LoginManager::ApacheLogin [ (Foswiki login) PerlDoc ] [08:33]
Babarinstead of having some FileMatch or LocationMatch, just remove the match
Babar thinks there is an ApacheConfigGenerator's option to do that
[08:33]
casperfooBabar: yeah I tried that but I could still get at stuff in pub
hmm... didn't see that, know what it might have been called?
[08:34]
Babarstuff in pub is usually in another Directory block
you'd need to put the require there too
[08:35]
MichaelDaumCDot, k. will ping SvenDowideit for the pictures. [08:35]
Babar(and maybe put the Auth definitions a bit higher up [08:35]
casperfooyeah I was just going to slap valid-user on the whole directory [08:35]
Babarthat's the way to do it :)
the easiest one :)
[08:36]
casperfoook I'll mess around with it a bit more, thanks [08:37]
harlanSvenDowideit: ping... [08:37]
Babarharlan: join the line :) [08:38]
harlan:) [08:38]
***Alexander__ has joined #foswiki [08:40]
BabarAlexander__: yeah, after testing and reviewing the doc, I'd be very surprised if Micha managed to have proper topic ordering in WebIndex without hacking the source [08:41]
Alexander__Babar: Good morning... i tried your setenv idea, but it didn´t work [08:41]
Babaryes, sorry... as I just wrote, it can't work :( [08:41]
MichaelDaumBabar, ? [08:42]
BabarMichaelDaum: if you have topics like Töten Toto Tôten Osten Österreich in a web, to have them properly ordered [08:42]
Alexander__Hi michael, we discussed about topiclist sort order yesterday evening [08:42]
Babarin anything that lists the content of a web [08:42]
Alexander__we talked about that a couple of weeks ago [08:42]
Babarunless you sort them through JS :) [08:43]
MichaelDaumoh sorting unicode stuff [08:43]
Alexander__and you told me, that you get a correct sort order in your topic list :) [08:43]
MichaelDaumthere are some cpan packages that replace perl's standard sort with a localeizable thingy ...forgotten its name ... horrible anyways [08:44]
Alexander__hmm...do you run productive utf-8 wikis? [08:44]
MichaelDaumMichaelDaum gives Töten Toto Tôten Osten Österreich a try putting it into a %FORMAT(LIST) [08:44]
Babarjust so we're clear, the right answer is: Osten,Österreich,Toto,Tôten,Töten right?
$ LANG=de_DE.utf8 perl -Mlocale -le'print join",",sort @ARGV' Töten Toto Tôten Osten Österreich
Osten,Österreich,Tôten,Töten,Toto
seems I was wrong :)
but I really don't get the logic...
ah... ok. o == ô == ö, so sort should be done on the other letters
[08:45]
MichaelDaumargh there's no sort for %FORMAT{}
%FORMATLIST{"Töten Toto Tôten Osten Österreich" sort="on"}% => Osten, Toto, Tôten, Töten, Österreich
[08:47]
BabarBabar is too used to Polish now, where ń is a full blown letter, which has its own page in a dictionnary, after n, just like ż and ź are after z :)
yeah, that's the default perl settings
$ perl -le'print join",",sort @ARGV' Töten Toto Tôten Osten Österreich
Osten,Toto,Tôten,Töten,Österreich
[08:48]
MichaelDaumso umpf [08:48]
Babaryou'd have to use locale in the file, which isn't done for Foswiki::Store::VC::Handler [08:49]
FoswikiBothttp://trunk.foswiki.org/System/PerlDoc?module=Foswiki::Store::VC::Handler [ (Foswiki login) PerlDoc ] [08:49]
MichaelDaumAlexander__, I switched my own production wiki to utf8 to see whether I could offer utf8 foswiki to clients...which I backed off from for now
Babar, using locale sort of killed my foswiki as it magically introduced lots of tainted strings.
[08:49]
Babaryes, that's "normal" :)
one nice side-effect of unicode...
[08:50]
MichaelDaumbesides %MAKTEXT not liking it either
(last time I tried)
[08:50]
Babarbecause using locale means you read the locale definition from the disk, so anything which goes through it is considered tainted [08:50]
MichaelDaumso why does it add tainted strings ?
MichaelDaum scratching his skull
[08:50]
Babar(as it has been passed through something you don't control) [08:51]
Alexander__Michael, i think that is exactly what happed here, when we tested it couple of weeks ago...lots of tainted strings. So we had big problems with solr [08:51]
Babardon't worry, you'll get proper unicode support... eventually :) [08:52]
MichaelDaumAlexander__, right ... which made me switch off locale ... paying with strange sorting. [08:52]
Alexander__... and there we are :) [08:52]
casperfoocan someone tell me the format of the htpasswd Foswiki generates? is it just username:password(encrypted):emailaddress ? seems like the easiest way to create a user to me [08:52]
Babarcasperfoo: yes it is [08:52]
casperfoook thanks [08:52]
MichaelDaumAlexander__, sorting "only" looks strange for those topics in webtopiclist that _start_ with an umlaut [08:52]
Alexander__can you explain this behaviour? [08:53]
MichaelDaumexplain? no.
I created a Sandbox.ÜTF8Test and then looked at WebTopicList ... shows up at the bottom, not under U, as users would expect, I guess
[08:54]
Alexander__at least german users... [08:56]
CDotI guess it shows up at the bottom because it starts with a utf8-introducer byte, which is high value (>160 IIRC)
if it starts with ascii then the sort will still be wrong, but not so noticeably
[08:57]
MichaelDaumeven worse: using a %MAKETEXT nocase sorted view template ÜTF8Test shows up part of the T group ... oha [08:58]
CDotCDot looks at his unicode branch, looks at the floor, then looks at the ceiling, whistling innocently.... [08:58]
***MartinRowe has joined #foswiki [08:59]
Babar[09:52:12]:[babar@joanna:~/work/wiki:master(0035363)]:[0]
506 $ git checkout -f unicode
Babar whistles innocently too ...
[09:01]
***pharvey has joined #foswiki
pharvey has quit IRC (Read error: No route to host)
pharvey has joined #foswiki
pharvey has quit IRC (Changing host)
pharvey has joined #foswiki
[09:06]
pharveyAlexander__: FWIW we're using utf-8 on trin.org.au
but there are issues
[09:16]
Alexander__pharvey...i guess that you don´t have any umlaut problem :) [09:16]
pharveyah, is this the http://perldoc.perl.org/perlunicode.html#The-%22Unicode-Bug%22 [09:17]
Alexander__I don´t get the right sort order with iso-8859-1 as well... [09:18]
pharveyreally?
that sounds like something that should work... if it's not working, we need a test for it
[09:19]
Alexander__perhaps i just destroyed everything here ... [09:20]
pharveyrun the unit tests, see what fails [09:20]
CDoterm, the sort order on iso-8859-1 won;t work either, if you think about it
iso-8859-1 represents accented chars in the range 128-255
so they can't possibly *byte* sort into A-Za-z
so Foswiki::Store::VC::Handler *must* use the locale and correct charset
[09:21]
FoswikiBothttp://trunk.foswiki.org/System/PerlDoc?module=Foswiki::Store::VC::Handler [ (Foswiki login) PerlDoc ] [09:22]
BabarCDot: which means we'll have to untaint anything that goes out of it... lovely [09:22]
CDotAlexander__: are you willing to try a bit of code hacking to explore this further?
Babar: anything that goes out of the sort, yes
[09:22]
BabarBabar could write a unit test, but the issue is that... it's a pain to ensure the file encoding of the unit test is proper. Maybe with a \x{} ? [09:23]
CDotBabar: I used Encode:: to convert from the file encoding to the test target encoding
and did a use utf8 on the file to be sure
[09:24]
Babaryeah... I remember the English pound unit test fiasco :) [09:24]
CDotyep. That's the one. [09:25]
pharveyright, right... I was in a parallel universe where Foswiki is using character strings in core [09:25]
CDotthe unicode branch does a 'use utf8' in all source modules, including tests [09:25]
pharveywhich happens with MongoDBPlugin [09:25]
Babar**** Foswiki::Plugins::TablePlugin is a required Foswiki dependency, but it is not installed [09:25]
FoswikiBothttp://trunk.foswiki.org/System/PerlDoc?module=Foswiki::Plugins::TablePlugin [ (Foswiki login) PerlDoc ] [09:25]
Babarlovely... I guess today is not my day :)
(tomorrow isn't looking good either)
[09:25]
CDotBabar: look out the window; is the sun shining? If so, it's your day :-) [09:26]
Babarnope. It's English weather here
cold, foggy and grey
[09:26]
Alexander__CDot: sure [09:28]
CDotBabar: it's not your day :-(
Alexander__: first thing to do is to open lib/Foswiki/Store/VC/Handler.pm in a text editor, and find 'sub getTopicNames'
[09:28]
Alexander__it´s just opened [09:30]
pharveypharvey has @%@$ uninitialzed value in uc ... since updating to perl 5.12 :( [09:30]
CDotCDot wonders if use locale.... no locale will work
Alexander__: see the two lines: sort
map { /^(.*)\.txt$/; $1; }
?
exchange them
[09:30]
Alexander__with? [09:31]
CDotexchange == swap == put them in the opposite order == move sort below map [09:32]
padraig_lennonMorning all, Don't you just love it when you get back to emails after you're away for a few days.. 600 unread.. prob 590 of no interest to me at all... [09:32]
CDotpadraig_lennon: so be brave; just delete them. [09:32]
padraig_lennon:) On occasion I have done.. But it came back to bite me in the end... [09:33]
SvenDowideit_Babar did you happen to have time to make and upload or find a magically smaller vm for vagrant? [09:34]
padraig_lennonCdot, Is there a function to check if an extension is installed and enabled? [09:34]
CDotAlexander__: once you have done that, create an empty line above "my @topicList" and put "{ use locale;" on it (no quotes) [09:34]
SvenDowideit_i'm probly going to have to move stuff around today, my server in brissy finally fell over
yup, cold &foggy here too
[09:34]
CDotpadraig_lennon: $Foswiki::cfg{Plugins}{PadraigsPlugin}{Enabled} ? [09:34]
Alexander__CDot i will give it a try [09:35]
CDotAlexander__: then create an empty line above "closedir($dh)" and put "}" on it [09:35]
BabarSvenDowideit_: yes, I did.
lemme find the URL for you :)
[09:35]
SvenDowideit_schweeeeet :) [09:36]
padraig_lennonThat'll work.. I'm just adding some code to inform the user that if a plugin is required for the wiki app to be tested then it may not be installed on foswiki.org.. Hopefully to avoid confusion.. [09:36]
SvenDowideit_next up will be to try to get ruby and git :( functional on osx
and thats 'boring'
[09:36]
CDotAlexander__: it should end up like this: http://pastebin.com/LrTvbFB6 [09:36]
***goldenfish has joined #foswiki [09:36]
BabarSvenDowideit_: commiting and pushing. And please send your group pictures to Micha [09:36]
***goldenfish has quit IRC (Client Quit) [09:37]
SvenDowideit_ah, goop pics :/
i had a quick look, but i think they're crap
[09:37]
CDotSvenDowideit: ruby on osx? Oh, hahhahhhaaaaaaahhaaaahahahahaha......... [09:37]
SvenDowideit_now i'm wasting time looking for a new camera
CDot :(
[09:37]
CDotwhen you work it out, let me know, will you? [09:37]
BabarBabar has a brand new camera... which is somewhere in the UK now :) [09:38]
MichaelDaumSven, argh. send/upload them anyway. will see what my gimp can do. [09:38]
CDotSvenDowideit:I have been *very* impressed with the new Panasonics [09:38]
SvenDowideit_ok, foto: http://www.flickr.com/photos/svendowideit/sets/72157628078550753/with/6375643285/
pam got one - the 14x zoom
[09:38]
CDotI was playing with a 27X (smart digital) zoom in the airport [09:38]
SvenDowideit_its nice, but... once i go up in size from the ultra compact, i get distracted by the canon g12 [09:39]
pharveyruby on OS X *still* sucks? And I haven't touched the issue since 2006 :) [09:39]
SvenDowideit_14x opticl
i ignore the non-optical bit :)
[09:39]
CDotah yes. the g12 is nice, but bulky [09:39]
SvenDowideit_ya - so doesn't fit my spec at all
but geee, its distracting when i go into the shop
as is the latest slr with a 50mm lense
thats way too much fun
[09:40]
CDotyup. I really wanted something the size of my ixus 70, but I guess the optics..... [09:40]
SvenDowideit_jsut, that i'm not likely to carry it :/ [09:40]
CDotCDot still uses the ixus 70 when out biking [09:41]
SvenDowideit_i'm not that sure taht 14x at f5.9 is worth it for my current use
zactly - thats what i need to replace
those flickr fotos show that i've probly dropped it a few times too often
and there's a hair inside the optics now
[09:41]
CDotbummer [09:42]
SvenDowideit_it is ~5 years old, and i've dropped it off mountains and stuff
so the only annoying thing is how much time is wasted looking at options :)
i wonder what asecond hand camera's like off ebay
[09:42]
Babaryeah... I did that, and then one day a friend offered me some Canon (don't even remember which one, still have the box somewhere) for 100.- CHF, so I couldn't refuse :) [09:43]
SvenDowideit_the nikon p910 18x looked nice - until i found out the video mode had no stabelisation
grin
pointy clicky, and fast start is my main need
but i'm pissed with the group fotos - they were using the tripod, but look like they were hand held by someone with too much coffee
[09:43]
Babarmaybe that's because the earth is moving when the beam is running? :)
(hint: there was no beam in the machine when we took the pictures)
[09:46]
SvenDowideit_darnit :)
i blame the operator mostly
[09:46]
Babarpieter? :p [09:48]
SvenDowideit_na, hist one shot is imo better than all the tripoded ones
with no change in settings
[09:48]
Babarbtw, CDot / padraig_lennon : taxi was on time and not too expensive?
same for Micha / Lavr / Sven btw :)
[09:50]
padraig_lennonYa was on time.. Wasn't that bad actually.. €25 [09:50]
CDotBabar: he was there early; having a cup of copy with the receptionist [09:50]
SvenDowideit_yup, taxi good - 31 euros [09:51]
Babar31 euros? I hope you mean CHF
'cause is it's more expensive to go from CERN to the airport, than from the hotel...
[09:51]
CDotSvenDowideit: I really like the tripoded one; looks like the album cover for a 1980's electronica band [09:52]
Babars/is/if/ [09:52]
CDotbit fuzzy, tho :-( [09:52]
SvenDowideit_thats what i mean, for something on a tripod, its crazy fuzzy
Babar ah, good point ya
chfs
MichaelDaum you told me about a jqueryplugin delay load plugin
[09:56]
MichaelDaumya. [10:00]
SvenDowideit_i didn't find it the other day - can you hint me? [10:00]
MichaelDaumhint is: kick me to type svn ci [10:00]
SvenDowideit_SvenDowideit_ will play some more with DashboardContrib later today or maybe tomorrow [10:00]
MichaelDaumseen the screen I've uploaded? [10:01]
FoswikiBotSorry, I haven't seen the screen I've uploaded. [10:01]
SvenDowideit_depending on the weather - have to do server stuff first :)
MichaelDaum nope
[10:01]
MichaelDaumon the bug item [10:01]
SvenDowideit_SvenDowideit_ clikers [10:01]
pharveyamazing that firebug tells me the single biggest cost of all the ~54 JS & CSS loaded on our page... is a .css file [10:01]
MichaelDaumMichaelDaum not sure what http://foundation.zurb.com/ and http://fluidproject.org/products/infusion/ buys us [10:01]
FoswikiBot[ Fluid - Infusion ] [10:01]
SvenDowideit_i'd much rather use the same css as igoogle or the apache project, but it looks like they're way underspeced
so my next stop was going to be sprint style - steal from http://net.tutsplus.com/tutorials/javascript-ajax/inettuts/
pharvey yup, because all the otehrs cause your file io to hickup
[10:02]
MichaelDaumMichaelDaum fights with blog.f.o upload image ... where is it?
got it ... uh
[10:03]
Alexander__CDot: i get an: Foswiki detected an internal error - please check your Foswiki logs and webserver logs for more information.
Can't locate object method "new" via package "Foswiki::Store::RcsWrap" error
[10:05]
FoswikiBothttp://trunk.foswiki.org/System/PerlDoc?module=Foswiki::Store::RcsWrap [ (Foswiki login) PerlDoc ] [10:05]
SvenDowideit_ok, this is me officially kicking MichaelDaum to svn ci :D [10:05]
CDotAlexander__: sounds like you made a syntax error. If you look in the Apach error log, it should say more
and/or pastebin the whole of sub getTopicNames so we can eyeball it
[10:05]
Alexander__i put your code from pastebin into the handler :) [10:06]
MichaelDaumMichaelDaum confirms dull feeling at the rear end [10:06]
CDotCDot has gone out - back in a coupla hours. Alexander__, keep talking - if no-one advises, I will pick it up when I get back. [10:07]
Alexander__http://pastebin.com/mvaZQwYt [10:09]
MichaelDaumMichaelDaum blogged Sven's photostream
and Julian's text
[10:14]
CDotAlexander__: move the } on line 14 down to below the return statement and you should be fine
CDot has really gone
[10:18]
Alexander__CDot: it´s working! let´s talk later about furhter possible impacts of this hack... [10:21]
BabarAlexander__: the possible impacts is that it might die with taint errors in some odd places :) [10:25]
pharveyAlexander__: FWIW if there's a syntax error, I find it's most reliable to check by doing something like perl -wT -I /path/to/foswiki/lib /path/to/foswiki/lib/Foswiki/Module.pm [10:27]
Babarperl -c! [10:28]
***Babar sets mode: +o pharvey [10:28]
Babar has quit IRC (Ping timeout: 240 seconds)
Babar has joined #foswiki
ChanServ sets mode: +o Babar
[10:33]
Babar has quit IRC (Ping timeout: 244 seconds) [10:43]
Colas has joined #foswiki [10:50]
Colas has quit IRC (Ping timeout: 258 seconds) [11:04]
Babar has joined #foswiki
ChanServ sets mode: +o Babar
[11:10]
sezuan has quit IRC (Ping timeout: 240 seconds)
sezuan has joined #foswiki
MartinCleaver has joined #foswiki
[11:21]
pharvey has quit IRC (Ping timeout: 248 seconds)
MartinCleaver_ has joined #foswiki
Babar has quit IRC (Ping timeout: 244 seconds)
MartinCleaver has quit IRC (Ping timeout: 244 seconds)
MartinCleaver_ is now known as MartinCleaver
Babar has joined #foswiki
ChanServ sets mode: +o Babar
[11:31]
Babar has quit IRC (Ping timeout: 244 seconds)
Babar has joined #foswiki
ChanServ sets mode: +o Babar
[11:47]
.... (idle for 15mn)
SvenDowideit_YAY!!!
http://gpg4browsers.recurity.com/
[12:03]
***MartinCleaver has quit IRC (Quit: MartinCleaver) [12:15]
dj_segfault has joined #foswiki [12:27]
jomoWhat is the best way making "Glossary" in the Foswiki? Mean some way defining used terminology like: "Admin: a person who doing administration.". So, what is best way maintain linkable keyword->meaning data? Make a subweb and make separate topic for each one (and each topic will contain one stance)? How to generate sort of "Glossary" topic from these small topices? Or here is some other way? [12:29]
Alexander__jomo: we are just creating a glossary plugin. you can define a glossary web and the glossary plugin takes all topics into acount. if you activate the glossary plugin, every keyword found in the glossary is marked and get´s a glossary tooltip. [12:35]
***GithubBot has joined #foswiki [12:35]
GithubBot[foswiki] foswiki pushed 1 new commit to Release01x01: http://git.io/G5ZVWA
[foswiki/Release01x01] Item10818:Item11275:Item11254: - MichaelDaum
[12:35]
***GithubBot has left [12:35]
FoswikiBothttp://foswiki.org/Tasks/Item10818 [ Item10818: New groups UI doesn't add groups to a group because =JQueryAjaxHelper?section=user= only lists users ] http://foswiki.org/Tasks/Item11275 [ Item11275: jquery.cookie should return undefined asking for non-defined cookies ]
..http://foswiki.org/Tasks/Item11254 [ Item11254: Replace chili with a generic highlighter module ]
[12:35]
jomoAlexander__: i'm blind but couldn't found any glossary plugin tn the http://foswiki.org/Extensions/WebTopicList - could you please post a link to the plugin? ;) [12:38]
***MartinCleaver has joined #foswiki [12:42]
jomoAlexander__: my english is not the best, so " we are just creating a glossary plugin" probabli mean: we are now developing it and it is not avaliable yet…." - right? :) [12:45]
Alexander__exactly :)
actually, we are testing it with a customer these days
[12:51]
jomo;) cool - will keep monitoring extensionsWeb.. ;) [12:52]
***MartinCleaver has quit IRC (Quit: MartinCleaver) [12:53]
GithubBot has joined #foswiki [13:02]
GithubBot[foswiki] foswiki pushed 1 new commit to Release01x01: http://git.io/Dh5Vvw
[foswiki/Release01x01] Item10646: Missing single quote - PadraigLennon
[13:02]
***GithubBot has left [13:02]
FoswikiBothttp://foswiki.org/Tasks/Item10646 [ Item10646: Documentation updates for 1.1.4 ] [13:02]
***dj_segfault has quit IRC (Ping timeout: 240 seconds) [13:04]
jomoThe above "Release01x01" mean the development version for the future release 1.1.4? or Release01x01 is something other?
Ah - just now see the channel title - 1.1.4 is Release01x01x04
[13:13]
..... (idle for 24mn)
CDotBabar: it should not die with taint errors; the map implicitly untaints the sorted topic names. However there are still potential issues with the NameFilter, and the locale should obviously only be applied when UseLocale is set [13:38]
BabarCDot: yes, I corrected that later in the logs :)
472114044 <@Babar> ah no Alexander__... in fact, we're untainting it on the fly, so it ought not to have any side-effect
472114050 <@Babar> but we can't commit it like that :)
[13:39]
CDotinteresting; I don't see that in my IRC client [13:39]
Babaryeah... was hectic
as my ISP was being DdoS
not sure it made it
[13:39]
CDotk. Yes, you are right, needs work before commit; but the principle is OK, I think [13:40]
Babaryes, I fully agree with the principle
but as you said, it should: test for UseLocale, then require locale and import, like the rest do, and... yes, NameFilter... but maybe that should be some configure warning
[13:40]
***Colas has joined #foswiki [13:42]
GithubBot has joined #foswiki [13:47]
GithubBot[foswiki] foswiki pushed 1 new commit to master: http://git.io/OpfcPw
[foswiki/master] Item11274: added docu; some improvements; ready to use. - MichaelDaum
[13:47]
***GithubBot has left [13:47]
FoswikiBothttp://foswiki.org/Tasks/Item11274 [ Item11274: add latest jquery library ] [13:47]
***MartinCleaver has joined #foswiki
MartinCleaver has quit IRC (Changing host)
MartinCleaver has joined #foswiki
[13:50]
leik has quit IRC (Quit: Leaving) [13:59]
CDotI *think* http://pastebin.com/R5QHAyf7 ought to do it, though a check from someone with data in an odd locale would help [14:12]
Babarnah!
"then require locale and import,"
use local; means it will be used everywhere, all the time
[14:14]
***GithubBot has joined #foswiki [14:16]
GithubBot[foswiki] foswiki pushed 1 new commit to master: http://git.io/AaW7Aw
[foswiki/master] Item11273: improved examples - MichaelDaum
[14:16]
***GithubBot has left [14:16]
FoswikiBothttp://foswiki.org/Tasks/Item11273 [ Item11273: add jquery.loader to load sections async-ly ] [14:16]
CDotnot sure about that; according to perldoc locale, it is scoped
though I'm never sure of the sematics of "use"
[14:23]
SvenDowideit_mmm, ok, does anyone know of a good reason to allow a TMPL:DEF inside a TMPL:DEF ? [14:24]
CDotCDot double-checked, and "use locale" is correct
SvenDowideit: no. TMPL:DEF's are flat and unconditional
embedding them is pointless
[14:25]
SvenDowideit_y, and causes painful bugs
excellent, so i can add that to the list of tasks no-one will do because i raised them
sign
sigh
[14:26]
***MartinCleaver has quit IRC (Remote host closed the connection)
MartinCleaver has joined #foswiki
MartinCleaver has quit IRC (Changing host)
MartinCleaver has joined #foswiki
MartinCleaver has quit IRC (Remote host closed the connection)
[14:32]
CDotSvenDowideit: you should create a pseudonym
e.g. NotSvenHonestNoNoNotSven
or SvenWho
[14:40]
SvenDowideit_yup, that would work, for, er, milliseconds [14:44]
***terceiro has joined #foswiki [14:50]
CDothas anyone heard form Oliver? Is he out of hospital yet? [14:52]
***ArthurClemens has joined #foswiki [14:56]
SvenDowideit_he emailed on sunday to say, he was out
iirc
[14:58]
MichaelDaumhe commented on http://www.linkedin.com/e/9f4q8q-gvau0qa7-3v/ava/81522536/1312287/EMLt_anet_qa_ttle
today
[14:58]
CDotso he did; excellent, he must be on the mend
CDot sends positive vibes to Oliver
[14:59]
.... (idle for 16mn)
jomoCDot: can you explain this? $Foswiki::cfg{NameFilter} = qr/(?^:(?^:(?^:(?^:(?^:(?^:(?^:(?^:(?^:(?^:(?^:(?^:(?^:[\s\*?~^\$@%`"'&;|<>\[\]#\x00-\x1f])))))))))))))/;
WTF these nested (?^ - they are really necessary? (and \x00-\x1f is utf8 aware?)
[15:15]
CDotno, no, and no [15:16]
Babarhe commented on FB today too, and yesterday, and the day before that... :)
CDot: I think that was: yes, no and no
[15:16]
MichaelDaumya seen that. geek. [15:17]
Babarcan you explain this: yes, it's rubbish. are they necessary: no. is it utf8 aware: no [15:17]
jomo;))) [15:17]
CDotBabar: I can't explain why the extra (?:'s appear, so it's a no [15:17]
MichaelDaumMichaelDaum about to create a META:PREFERENCE editor ... able to register and edit any other meta data as well [15:18]
Babaroh, then I think I can explain that one... [15:18]
CDotMichaelDaum: PreferencesPlugin does that, dunnit? [15:18]
Babarlemme dig the code for you [15:18]
CDot'cept it doesn't do other meta-data [15:18]
MichaelDaumCDot, thought it does so only for these inline Set Foo = bars [15:18]
CDotno, works for META:PREFERENCE too [15:19]
MichaelDaumbut only if they already exist...no "add more" button jquery yadda [15:19]
CDotno, it lets you add more
but no jquery AFAIK
CDot challenges MichaelDaum to re-use that code
[15:19]
MichaelDaumbut but ... but it does not allow to %REGISTERMETADATA -> F::Meta::registerMETA()
will lurk
[15:20]
CDotno, cos you only just invented that.... smartarse! [15:20]
MichaelDaumPreferencePlugin is aweful, really. lots of hardcodedness [15:21]
ArthurClemensyup
you can't even set a new var
or get info
[15:22]
MichaelDaumso I am experimenting with something new now [15:23]
CDotCDot hasn't looked at it since hacking it once years ago. It's a TW-special, IIRC [15:23]
MichaelDaumreading meta data definitions from SiteMetaData/WebMetaData topics and register that stuff
then use some QUERY templates to render the editor
[15:23]
ArthurClemenscan it also read and show the currently set value? [15:24]
MichaelDaumyes
it first reads the meta data and outputs it as json. then it formats it using jquery.tmpl
these jquery.tmpl defs are hardcoded for now, e.g. editing meta:prefs has got two input fields and a radio box for to chose beteween local/set
[15:25]
***mfladischer has quit IRC (Remote host closed the connection) [15:27]
MichaelDaumI wished registerMETA would allow to specify the attr type similar to formfields ... and actually render itself using formfield classes...
so rendering the editor would be done using some %EDITMETADATA{"book"}% ... and create a simple edit form
given you registered META:BOOK
[15:27]
***GithubBot has joined #foswiki [15:33]
GithubBot[foswiki] foswiki pushed 1 new commit to Release01x01: http://git.io/t2b_AQ
[foswiki/Release01x01] Item11279: use the locale to ensure sort order is correct. Unit tests should be added to cover this case - CrawfordCurrie
[15:33]
***GithubBot has left [15:33]
FoswikiBothttp://foswiki.org/Tasks/Item11279 [ Item11279: Topic sort order is incorrect if a locale is in use ] [15:33]
***gac410 has joined #foswiki [15:40]
gac410MichaelDaum: Have a moment for a JQuery question - hopefully simple? [15:41]
MichaelDaumhi george, yes sure. [15:41]
BabarCDot: let me get my axe... Did you really commit this? Why do we all keep perltidy'ing stuff, when people don't give a damn???
Babar will implement a perltidy checked when we'll switch to git
MichaelDaum: * added some Config.speck and docu (Help) <--- yummy. Can I have some too, with mayonnaise? :)
[15:41]
gac410We are trying to fix the "alt-shift-S" save issue from full screen TMCE - Added a small jquery hook to try to intercept the "submit" and block it while in fullscreen
hold on and I'll post the one-line patch - have to find it.
[15:42]
MichaelDaumMichaelDaum tosses over some VirtualMayonnaise to Babar [15:43]
gac410jQuery('#save').closest('form').bind('submit',function(event) { alert(); if (tinyMCE.activeEdtor.getParam('fullscreen_is_enabled')) {return false;} });
- Added to foswiki_src.js We've tried many variations including jQuery('#main').bind all of which are active - will cause js errors if mis-typed
- but non of which actually catch the submit.
The alert never pops, so we are not getting far enough to actually do the fullscreen test.
[15:44]
***GithubBot has joined #foswiki [15:45]
GithubBot[foswiki] foswiki pushed 1 new commit to master: http://git.io/ES4DJg
[foswiki/master] Item11264: - MichaelDaum
[15:45]
***GithubBot has left [15:45]
FoswikiBothttp://foswiki.org/Tasks/Item11264 [ Item11264: create UpdatesPlugin ] [15:45]
gac410My *ugly as sin* solution - modifying tmce itself to remove the accesskeys - works - but we'd rather do it external to tmce
pharvey and I have been poking at this the last couple of days - with no success
[15:46]
MichaelDaumgac410, <form id="myForm" /> ...jQuery("#myForm").submit(function() { alert("dont do that"); return false;}); ... is normally sufficiant to intercept the submit
the form element itself is the place where the submit event is triggered... well and anything binding to it must eval to true
erm return true I mean
if one doesn't, the submit gets blocked.
not sure if that is what you mean, gac410
[15:47]
gac410yeah - that's what pharvey thought . Any ideas on how to go about debugging? The edit form is name="main" and I added id="main" [15:48]
CDotBabar: I told you before; I use emacs, which formats the code for me as I type. perltidy just munges it again so it becomes unreadable (IMHO) [15:48]
MichaelDaumtry jQuery("form[name='main']").submit(function() { console.log("main got a submit"); });
to debug it
[15:49]
BabarBabar uses vim, which formats the code too, but then I run it through perltidy using :%s!perltidy -b before I send it [15:50]
gac410So the TMCE editor window has a form named "main" with Save, QuietSave, Save and Continue buttons. When in fullscreen a 2nd TMCE instance starts but the original form is in the background. The access keys on firefox submit the "hidden" form - but not on chrome
Great, thanks. I'll poke around with that and see if I can get some log messages
[15:50]
SvenDowideit_http://foswiki.org/pub/Tasks/Item11268/Dashboardv2.jpg
second version of dashboard
once MichaelDaum has a jquery edit prefs >:}
[15:51]
gac410cool SvenDowideit_ [15:52]
BabarCDot: I have to admit I con't see any logic in the identation of the block around the "sort" in your commit. [15:52]
MichaelDaumSvenDowideit_, yummy. this will be fun. [15:52]
Babarand PBP, or maybe perl hacks, has ways on how to integrate perltidy with emacs. I'll look it up for you tonight :)
SvenDowideit_: digitec? Looking at cameras again? :)
[15:52]
gac410Babar - need to change your nick to tidyBabar :) [15:53]
SvenDowideit_Babar yeah - i htink i'm wanting on that digitech doesn' have stock for tho
canon 310hs
[15:53]
CDotBabar: that would be fine, but only if you can train perltidy not to make such a f**king mess of complex conditions..... [15:53]
SvenDowideit_fast, small with ok battery life and 'good enough' [15:53]
MichaelDaumSvenDowideit_, I've checked in the jquery.loader stuff ... as promissed. [15:54]
BabarCDot: you can tell it not to mess with some parts of the code, yes [15:54]
SvenDowideit_y, i finally noticed the commits ) [15:54]
CDotBabar: I *want* it to mess with the code; I just want it to mess with it *right* [15:54]
SvenDowideit_we use the default perltidy settings atm, but...
if it always ran on commit, then maybe it would work out
[15:54]
Babar#<<< ... #<<< from what the doc tells me [15:55]
SvenDowideit_confusing as all hell to merge if something fails tho [15:55]
CDotCDot tried to retrain perltidy, but gave up - it seems to be the one area it refuses to compromise on [15:55]
BabarCDot: give me a sample file, I'll see what I can do [15:55]
SvenDowideit_>snide remark< if it makes a mess of your code, then your code needs to be written better :p
ie, using lots more function pointers and indirection :D
[15:55]
CDotSvenDowideit: it doesn't make a mess of my code (which is small, clean and terse). It makes a mess of *your* code.
the excess brackets in conditions is the killer
[15:56]
Babar*bam* That's called the boomerang effect, but as an Ossie, I'm sure you're aware of it :) [15:56]
CDotif ((not its(wednesday)) and (isafruit("tomato") or isavegetable($carrot)) [15:57]
SvenDowideit_CDot ah, you mean you don't like what it does to code where i don't mind what it does :( [15:57]
CDotSvenDowideit_: zactly [15:57]
SvenDowideit_that's painful for you [15:57]
CDotcos that's the code I have to read [15:57]
SvenDowideit_btw, thats missing some braces [15:58]
CDotI know, I know [15:58]
Babarand one shouldn't use not or and there :) [15:58]
SvenDowideit_if ((not (its(wednesday))) and (isafruit("tomato") or isavegetable($carrot)) [15:58]
BabarBabar already argued that, but Sven disagrees [15:58]
SvenDowideit_:)
turns out the dfference in precedence is irrelevantish
mmm, irrelephantish
mmm, irrelephantastisch
[15:58]
Babarif( !its(wednesday) && (isafruit('tomato') or isavegetable($carrot)))
sorry
if( !its(wednesday) && (isafruit('tomato') || isavegetable($carrot)))
[15:59]
SvenDowideit_y, i object to && and || stuff because of the bitwise ops
but its pretty irrelevant eitherway
[15:59]
CDotCDot is happy with what babar typed there [16:00]
SvenDowideit_if someone wants to write a style guide forbidding it, then they can write a post-script to change my comits too :) [16:00]
CDotcos && and || are highly readable to me - moreso than and/or which are easily confused with function names [16:00]
gac410MichaelDaum: Must be putting that jquery in the wrong place. If I code a syntax error, it causes an error to the console. But it is not doing anything on submit. [16:00]
***denisr has quit IRC (Quit: Parti) [16:00]
SvenDowideit_i find them readable, my problem was always with the number of silent bugs i've fixed over the years
where someone mis-typed, but the result was so subtle that no-one figured out the missing char
[16:01]
CDotif (a && (b || c)) is less ambiguous than if (a and (b or c)) [16:01]
MichaelDaumgac410, did you wrap it into a jQuery(function($) { code goes here }); document-ready-thingy? [16:01]
SvenDowideit_imo no, but then i detest funciton calls without braces
that one annoys me much much more than and/or
[16:01]
CDotCDot isn't keen on them either, and tries to avoid them [16:02]
gac410No - Added it to TMCE's foswiki.js // Top level setup for tiny MCE editor. Requires tiny_mce.js and foswiki_tiny.js [16:02]
CDotbut I'm more concerned about readability [16:02]
gac410FoswikiTiny.install(); jQuery("form[name='main']").submit(function() { alert(); console.log("main got a submit"); }); [16:02]
MichaelDaumlet me check [16:03]
CDotBabar: if ( ( $linkText eq $Foswiki::cfg{HomeTopicName} )
&& ( $web ne $this->{session}->{webName} ) )
{
$linkText = $web;
}
is a prime example
WTF does it indent the condition so horribly? why break { onto a new line?
[16:03]
SvenDowideit_well, the break { was a very popular style [16:04]
CDotthat code is from Render.pm BTW [16:04]
SvenDowideit_most of the workplaces I was at did it in c & c++ that way
so its 'visually matching'
[16:04]
BabarSvenDowideit_: K&R? :) [16:04]
gac410And I assume the break of the condition is because of the strict line length controls? [16:04]
SvenDowideit_i have alot of trouble caring either way [16:04]
CDotwell, that's an old battle; and I don;t care which, *so long as it's consistent*
I just dislike mixing them up
[16:04]
SvenDowideit_yup, tis surprising [16:05]
CDotanother doozy: my ( $this, $web, $topic, $linkText, $anchor, $linkIfAbsent, $keepWebPrefix,
$params )
= @_;
barf
[16:05]
SvenDowideit_its even weirder that it 'saves 3 lines' by splitting the condition like that [16:05]
MichaelDaumgac410, naw putting the stuff there is too early. document-ready didnt happen yet when FoswikiTiny.install() is called..as far as I can see. [16:05]
SvenDowideit_and then wastes one on the {
ew, thats woeful
[16:05]
MichaelDaumgac410, so the form dom node might simply not be there yet...and thus the event isnt binding [16:06]
SvenDowideit_mind you, easy fix [16:06]
gac410gac410 has learned: If I don't tidy, Babar yells. Tidy, and it's peacefully quiet. Quiet is good. [16:06]
SvenDowideit_my %args = @_;
and force the user of func to re-write everything
i have industrial deafness :(
[16:06]
gac410Hm Okay MichaelDaum thanks. I'll try to find a later location. [16:07]
MichaelDaumalways tidy up your place ... sounds german ;) [16:07]
BabarCDot: it just breaks when it's too long [16:07]
MichaelDaumgac410, you dont need a later "location"
just wrap it into a jQuery(function($) { .... }); and it will fire the code inside on document-ready aka later
[16:07]
CDotBabar: it breask even if I pre-break, which I often do to delimit semantic groups in long param lists [16:08]
Babarit has a default fixed width: The default maximum line length is n=80 characters. [16:08]
gac410Ah. great. Trying now. [16:08]
CDotCDot doesn't like long param lists, but a lot of the code has them [16:08]
Babaryeah, this I agree... when you pre-format it, it doesn't care and does it again. [16:08]
CDotanother grossness: $re = "^($matchWeb\\.)?$topic\$"
; # Updating a META item, Exact match, no delimiters
WTF? It broke the line before the ;? yeuch
[16:10]
***khnz_ is now known as khnz [16:12]
Babaryes, otherwise you should put the comment on the line above, not on the right side of it
that's just bad coding :)
[16:12]
gac410MichaelDaum: magic. Now at least I get some errors on submit. But I'm clueless as to what they mean.
Error: uncaught exception: [Exception... "Not enough arguments [nsIDOMWindowInternal.alert]" nsresult: "0x80570001 (NS_ERROR_XPC_NOT_ENOUGH_ARGS)" location: "JS frame :: http://foswiki.fenachrone.com/pub/System/TinyMCEPlugin/foswiki.js?v=%24Rev%24 :: <TOP_LEVEL> :: line 21" data: no]
[16:13]
MichaelDaumumpf [16:13]
gac410my addition: jQuery(function($) { jQuery("form[name='main']").submit(function() { alert(); console.log("main got a submit"); }); }); [16:13]
MichaelDaum<form name="main"><input type="submit" /></form>
<script>jQuery(function($) { jQuery("form[name='main']").submit(function() { alert("foo"); console.log("main got a submit"); return false}); });</script>
works fine
in some Sandbox.TestTopic
[16:16]
gac410hm. Okay I'll poke at it a bit. [16:17]
MichaelDaum: Some success: the following doesn't get the error: jQuery(function($) { jQuery("form[name='main']").bind('submit',function(event) { if (tinyMCE.activeEdtor.getParam ... [16:28]
MichaelDaumokay looks good [16:29]
gac410But now I'm back into other issues - tinyMCE.activeEditor is undefined :-( [16:29]
MichaelDaumbind("submit", function... and submit(function... are the same in general but...if it worx [16:29]
gac410Doh.. have to speel Edtior write [16:31]
MichaelDaumgiggle [16:31]
gac410cool - it works!
So one more question - is there a way to see *which* button caused the submit. Save, or Cancel for example.
This will let me close one more release blocker. Now if we could get a bit more translation progress I'll build 114RC
[16:32]
MichaelDaumhm not sure [16:34]
gac410okay - not a big deal - probably a real corner case that someone knows to hit alt-shift-c after entering fullscreen to cancel an edit.
I'll search a bit though.
[16:35]
***MichaelDaum has quit IRC (Remote host closed the connection)
GithubBot has joined #foswiki
[16:42]
GithubBot[foswiki] foswiki pushed 2 new commits to master: http://git.io/VPOjqw
[foswiki/master] Item11268: v0.2 - uses the tutorial css and js - SvenDowideit
[foswiki/master] Item11268: fix drag&drop - SvenDowideit
[16:46]
***GithubBot has left [16:46]
FoswikiBothttp://foswiki.org/Tasks/Item11268 [ Item11268: build a User topic dashboard using widgets. ] [16:46]
CDotgac410: padraig_lennon speaks some Spanish - maybe not enough? [16:51]
gac410Unfortunately I never looked at the state of translations prior to 1.1.3, so I don't know if I'm chasing the last few percent that has never been completed. I think in the release annoucnement I'll include % complete for the 90+% translations [16:53]
khnzis someone maintaining SpreadSheetPlugin? [16:54]
gac410I've done some maintenance on it
1.1.4 has some updates
[16:55]
khnzi plan to implement a nl2br function
(like in php)
[16:59]
gac410what is nl2br? [16:59]
khnza function to replace newlines with %BR% or <br/>
i know i can use replace, but ist musst be very simple
for the users
is it okay, should i create a task for it?
[17:00]
gac410khnz: in theory the SpreadSheetPlugin is part of core, and subject to the formal release process. Needs a FeatureProposal. [17:05]
khnzokay, I'll do.
gac410: by the way, is it possible to get Item11003 into 1.1.4?
[17:07]
FoswikiBothttp://foswiki.org/Tasks/Item11003 [ Item11003: TIME* functions do not work properly with dates before 1970 ] [17:07]
gac410Touching Time scares the heck out of me - I hate that we actually do our own time calcs instead of using proven code. It would help if we also had a series of test cases to prove the results correct. [17:09]
***ArthurClemens has quit IRC (Quit: Leaving...) [17:10]
khnzokay, I'll see what I can do. [17:13]
CDotgac410: damn right. Finding a suitable replacement was more than I could manage, though [17:13]
khnzthanks. [17:13]
CDotgac410: yep, a % complete will have to do, until we can find translators [17:14]
gac410CDot - you've done some SSP stuff - how do you feel about the patch in Item11003
My concern is that it might change the foldover values for 2-digit dates. Not sure I understand the code though.
[17:15]
CDotfrom reading what it's doing, it's nothing to do with Foswiki::Time [17:17]
FoswikiBothttp://trunk.foswiki.org/System/PerlDoc?module=Foswiki::Time [ (Foswiki login) PerlDoc ] [17:17]
CDotlooks like it's doing its own time/date parsing [17:18]
gac410No - it's the SSP implementation.
We of course can't have only one time implementation. If we are going to roll our own, might as well do two :-)
[17:18]
CDotoic. Well, my reaction is it looks a bit hit-and-miss, and will stop working in 2080, but I guess we don;t care much about that :-)
CDot will be 120 in 2080, if he's still around
aside from that, it looks sensible
[17:20]
khnzCDot, but only for 2-digit years, 2081 works [17:22]
***MartinRowe has quit IRC (Quit: Leaving.) [17:23]
gac410So ... should I put it into 1.1.4? I hate last-minute changes - Although as an extension, it's easier to fix than building a whole new release. [17:23]
CDothttp://www.break.com/index/javelin-missile-misfire-in-afghanistan-2225837
gac410: kinda depends if you think it's a release blocker. if yes, then yes. If no, then no. Thou art the Release Manager, and if the Release Manager sees that it is good, then it is good. Thus spake the tablets.
[17:24]
khnzi'll try to make a unittest for it [17:26]
gac410Okay - lets get 1.1.4 out as is - and I can pull it into a new SpreadSheetPlugin after release. Due to my other changes, we might need post-114 patches anyway.
khnz: unit test would be great - especially around the dates that fold over from 2xxx to 19xx
Open up a FeatureProposal for the nl2br function assign yourself as committed developer and a date. That starts a 14 day timer for acceptance if nobody objects.
[17:26]
khnzis there a schedule for 1.1.4? [17:28]
gac410We are on Beta2. I've been holding off the RC for more translations, but activity has stopped. So as soon as I fix the javascript issue I'm currently working on I'll generate the RC. Probably in the next day or two.
So clicked = $("#main").find('input[type="submit"]:focus'); returns an [ object Object] according to debugging. But adding a ".name" changes it to undef. How the heck do I get the Name or ID of the object
[17:29]
khnzokay, thanks again [17:31]
CDotkhnz: if you know any speakers of interesting languages, see if you can interest them in doing some translations [17:32]
gac410If user clicks cancel I want to let it go through. Any other click and I alert and reject the submit. [17:32]
CDot$().find returns an array of jquery objects, so [0].attr("name") [17:35]
gac410ah Thanks! I'll get there somewhere with the newfangled stuff. Now were is that punched card for my notes. [17:35]
CDotunder that tangled pile of paper tape.... [17:36]
***Demosthenes has joined #foswiki [17:36]
...... (idle for 28mn)
Colas has quit IRC (Ping timeout: 258 seconds) [18:04]
..... (idle for 21mn)
dnavarro has quit IRC (Ping timeout: 260 seconds) [18:25]
..... (idle for 22mn)
MartinCleaver has joined #foswiki
MartinCleaver has quit IRC (Changing host)
MartinCleaver has joined #foswiki
[18:47]
CDot has quit IRC (Quit: Leaving.) [18:53]
gac410Anyone around - my fix to Item10288 is committed. Needs some cross-browser testing - make sure that Alt-Shift-S save from TinyMCE in full-screen mode is blocked. [18:58]
FoswikiBothttp://foswiki.org/Tasks/Item10288 [ Item10288: Saving in fullscreen mode (via shortcut key) loses changes ] [18:58]
gac410MichaelDaum Item11275 claims Fixed in 1.1.4, but only commits to trunk. Does it need to go into 1.1.4 or change to 1.2 [19:04]
FoswikiBothttp://foswiki.org/Tasks/Item11275 [ Item11275: jquery.cookie should return undefined asking for non-defined cookies ] [19:04]
***GithubBot has joined #foswiki [19:05]
GithubBot[foswiki] foswiki pushed 1 new commit to master: http://git.io/Wa6_Rw
[foswiki/master] Item10288: Prevent accesskey save from full screen - GeorgeClark
[19:05]
***GithubBot has left
ArthurClemens has joined #foswiki
[19:05]
GithubBot has joined #foswiki [19:15]
GithubBot[foswiki] foswiki pushed 1 new commit to master: http://git.io/HfDZMw
[foswiki/master] Item11260: Better document NOSEARCHALL - GeorgeClark
[19:15]
***GithubBot has left [19:15]
FoswikiBothttp://foswiki.org/Tasks/Item11260 [ Item11260: Text when creating a new web ] [19:15]
.... (idle for 17mn)
ArthurClemensLooks cool: http://www.kickstarter.com/projects/printrbot/printrbot-your-first-3d-printer [19:32]
***GithubBot has joined #foswiki [19:32]
GithubBot[foswiki] foswiki pushed 2 new commits to Release01x01: http://git.io/nE1S0Q
[foswiki/Release01x01] Item11260: Better document NOSEARCHALL - GeorgeClark
[foswiki/Release01x01] Item11260: one more reference to NOSEARCHALL - GeorgeClark
[19:32]
***GithubBot has left [19:32]
.... (idle for 15mn)
GithubBot has joined #foswiki [19:47]
GithubBot[foswiki] foswiki pushed 1 new commit to master: http://git.io/ecN8LQ
[foswiki/master] Item11260: one more reference to NOSEARCHALL - GeorgeClark
[19:47]
***GithubBot has left [19:47]
FoswikiBothttp://foswiki.org/Tasks/Item11260 [ Item11260: Text when creating a new web ] [19:47]
***GithubBot has joined #foswiki [20:01]
GithubBot[foswiki] foswiki pushed 1 new commit to master: http://git.io/HWbBZA
[foswiki/master] Item11265: Initial checkin of WikiAppStorePlugin - PadraigLennon
[20:01]
***GithubBot has left [20:01]
FoswikiBothttp://foswiki.org/Tasks/Item11265 [ Item11265: Create Extensions.WikiAppStorePlugin ] [20:01]
***Alexander__ has quit IRC (Quit: ChatZilla 0.9.87 [Firefox 7.0.1/20110928134238]) [20:10]
casperfoocould someone give me a hand with the GenPDFAddOn extension? I'm trying to get a link to "print to PDF" somehow but the usage isn't helping me a lot http://foswiki.org/Extensions/GenPDFAddOn#Usage
looking at the SitePreferences way but I'm new to Foswiki... not sure how one edits them, I'm at the page but don't see how to add new ones
[20:23]
***foswiki_irc0 has joined #foswiki [20:25]
foswiki_irc0any estimate of when 1.1.4 will be released [20:25]
ArthurClemenscasperfoo: just type them
3 spaces * Set MYVAR = myvalue
[20:33]
casperfooso do I edit the actual SitePreferences wiki page? [20:33]
ArthurClemensMain.SitePreferences [20:33]
casperfooyeah [20:34]
***leik has joined #foswiki [20:34]
casperfooI've edited the wikitext as recommended in the usage, the value of the setting being the <span>...</span> part, and it shows as a setting when I use the Edit Settings button, but I don't see any sort of PDF link still
I'm looking at the 4th bullet here http://foswiki.org/Extensions/GenPDFAddOn#Usage
[20:35]
ArthurClemensdid you edit with Wiki text or with the WYSIWYG? [20:39]
casperfoowikitext direct, checked I have the three spaces
when I view the site preferences page (not in edit mode, or editing settings) it shows the variable but blank, maybe becaues it's a span as the value, but does show a PDF GIF and that generates a PDF of the current page, but I don't see that PDF GIF on any other pages
I don't think it's getting picked up correctly
[20:40]
ArthurClemensperhaps the macro value should not run on multiple lines (just guessing) [20:43]
casperfooI pulled it all onto one actually yeah
so just to be clear, if I go to Main.SitePreferences, I'm clicking the edit link (not edit settings), switch from wysiwyg to wikitext mode, and paste in the text exactly as it appears in the 4th bullet of http://foswiki.org/Extensions/GenPDFAddOn#Usage (on the same line)?
seems like maybe it needs to be escaped or something, I see the % macros in the rest of the page but not the [[ ]] kind of markup
[20:45]
***foswiki_irc0 has quit IRC (Ping timeout: 265 seconds) [20:49]
ArthurClemensdo you see a pdf icon at the right of the variable?
I cannot get it work either
gac410: do you know anything about GenPFGAddOn?
(you should because your name is on there)
[20:58]
casperfoothe only place it showed was on the SitePreferences page, and it was actually in the lower right for me
I think it was rendering it there because it was part of the wikitext, not getting picked up correctly by the system as a "system preference" maybe
[21:03]
ArthurClemensI think so too
the first bullet says to use the skin setting
ah look, it does: at the bottom
append ?cover=genpdf to the url
[21:05]
casperfooyeah I saw that... and it works, except I don't want to take away the Print Version link :/ I'd like both... [21:06]
ArthurClemensand the link doesn't work either :-(
there ought to be a PDF plugin that does work
right, http://foswiki.org/Extensions/PublishPlugin
[21:06]
casperfooit did actually generate a PDF for me
yes there ought to be! I'll check that one out...
[21:08]
gac410casperfoo: You should be able to add a link as an alternative to replacing the print link.
sorry - I was out for a bit.
I believe PublishPlugin and GenPdfAddOn both use htmldoc under the covers. GenPdf is more single topic or topic hierarchy focused. PublilshPlugin can do whole webs. (From my vague memories)
To get the PDF gif on multiple pages it needs to go into a template.
[21:13]
casperfoocould you give me some detail on how to do that? I'm looking at bullet #1 of http://foswiki.org/Extensions/GenPDFAddOn#Usage
the link on the bottom would be fine and that is supposed to be easiest, I'd just like both printable version and PDF links
[21:17]
gac410okay hang on - have to look at the code. It's been a long time [21:18]
casperfoothanks--sorry I'm really new to Foswiki [21:18]
gac410no problem. So you would prefer option 1 - add a pdf option to every page, but in addition to the print link. [21:19]
***MartinCleaver has quit IRC (Quit: MartinCleaver) [21:23]
casperfooideally, yes [21:25]
gac410okay - working on it. [21:26]
casperfoobut I'm pretty much open to any method of having a print-to-PDF link/graphic/whatever anywhere on the page, I'm just trying to have it on every page
and still the normal print version link
looking at PublishPlugin vs GenPdfAddOn, the latter does seem more suited to my needs, as you said
[21:26]
gac410I'll pastebin an alternate template. Rather than replace view.genpdf.tmpl, I'd recommend creating a view.mypdf.tmpl, and then updating your site preferences to Set SKIN = mypdf,pattern
casperfoo See http://pastebin.com/4LWx9nph Save that as templates/view.mypdf.tmpl
(or a name of your choice view.<skinname>.tmpl and activate by Set SKIN = skinname,pattern
[21:28]
casperfoook let me give it a whirl [21:34]
gac410oops - they both print and pdf have the same accesskey - probably best to change one to an unused key. (Allows alt-shift-p to print ) [21:35]
casperfooI _just_ noticed that!
hahaha
[21:37]
gac410I suppose it's not too bad the dup. Alt-shift-p jumps the focus to print, then pdf, alternately. [21:37]
casperfooand it's working perfectly [21:38]
gac410great! [21:38]
casperfoothank-you very much gac410 (also to you ArthurClemens)
I guess someone should update the wiki at http://foswiki.org/Extensions/GenPDFAddOn#Usage :)
[21:39]
gac410If you can, open a task against GenPDFAddOn - requesting support for both Print and PDF [21:39]
casperfoosure, where do I do that exactly? [21:39]
gac410foswiki.org/Tasks/GenPDFAddOn
then click file a bug or new feature request
[21:39]
casperfoodone http://foswiki.org/Tasks/Item11280 [21:51]
gac410Thanks casperfoo [21:58]
casperfooa question on organizing content--I'm making a Recipes "web" (part of the wiki but not the whole thing), and I want to have like breakfast, lunch, dinner, etc. sections below that in the hierarchy, would you recommend subwebs or just topics and then make recipes topics with those as parents? [22:06]
gac410Just topics - subwebs are overkill by the sounds of what you describe. Better used for isolating search, access controls, etc
Unless you expect to have a really large number of recipes
[22:08]
casperfoowell not really, no, just personal
so if you setup your parent/child relationship nicely then using this https://casper.foord.ca/wiki/System/HierarchicalNavigation you can sort of get an autogenerated list for the WebHome?
is the left sidebar always one level deep?
[22:09]
gac410Search is your friend, and probably better than hierarchy. For example our Tasks web is flat - But has all sorts of structure. EggSandwich could be breakfast, lunch or dinner, for example [22:11]
casperfootrue, I guess I'm just looking for a way to browse, how would you do that if you're just plain hungry and it's dinnertime? [22:12]
gac410If you look at Tasks for example,. Topic has form. You clicked on Tasks/GenPDFAddOn - that did a search for Topics where the component matched GenPDFAddOn
A task can apply to multiple components. FoswikiStore, and FoswikiMeta for example. Searching on either finds those that apply.
Take a good look through the topics that make up the Tasks system. Tasks/Component Tasks/ItemTemplate
Putting data into a Form makes it queryable using the QuerySearch. and is much more flexible than a simple hierarchy.
[22:15]
casperfoohm ok I'll explore.. thanks [22:22]
........ (idle for 37mn)
jayenHi, I'm trying to get kinosearch working, but the webpage keeps giving me Main/WebHome and running bin/kinosearch gives 'The requested URL was not found on this server.' [22:59]
running it in the CLI, that is [23:07]
gac410Did you run configure and the the switchboard entry populated for a new script? [23:08]
jayeni ran configure from the web
where do i check the switchboard
[23:10]
gac410I've never used kinosearch - but verify that a Switchboard entry is in your LocalSite.cfg [23:10]
jayenthere's no switchboard in there
should there be other switchboards?
oh wait there
are
case-sensitivity
none for kino, though
[23:11]
gac410$Foswiki::cfg{SwitchBoard}{compare} = { for example
$Foswiki::cfg{SwitchBoard}{kinosearch} = [ should be there. See example in lib/Foswiki/Contrib/KinoSearchContrib/Config.spec
[23:11]
jayenyeha, it's in configspec, but not localsite [23:13]
gac410Running configure and saving the configuration *should* copy it over. [23:15]
jayenrunning configure on the CLI was no help [23:15]
gac410no - unfortunately configure is only web based
woudl be nice though :-)
[23:16]
jayenno errors on STDERR
i've used configure on CLI before. just for vieweing, not for actual changes.
[23:16]
casperfoodon't you have to enable plugins too?
with the configure program
[23:18]
gac410It's a Contrib - so nothing to enable.
Switchboard is one of those "special" settings. Just edit the config. Change *something* and save. It won't tell you that SwitchBoard was changed, but it should be there.
And without a switchboard, you get a 404. Can be maddening
[23:18]
jayenyup, enabled kinosearch debug and now it's in localsite.cfg
i only got a 404 with kinosearch CLI. with FCGI, i got Main/WebHome
it was maddening
[23:21]
gac410Ah - because with fcgi, bin/kinosearch is not actually used. [23:22]
jayeni installed the extensino a few times. didn't think i had to change a setting. should i file a task? [23:23]
gac410Hard to say how we'd fix it. We don't want overhead of Foswiki searching for every Config.spec, loading them, and merging missing for every transaction.
But it would be nice if configure would detect & warn that config needs merge
[23:24]
jayencan you have that overhead when you install an extension? [23:25]
gac410It's structural - config isn't loaded for the installer run - and installer has a cli version as well. I really don't know how to fix it.
Or I should say it's loaded differently. Configure loads the config without expanding variables. Foswiki (and installer) has to load it expanding indirect parameters to get usable paths, etc.
[23:27]
jayencan you restructure it so this overhead part can be called from the installer and from configure? [23:29]
gac410configure is very complex. Written by .. not me. It would be a huge amount of work.
Item9794
[23:30]
FoswikiBothttp://foswiki.org/Tasks/Item9794 [ Item9794: configure incorrectly aledges that there are no changes to save ] [23:31]
jayenmaybe then just a note after installer installs something? saying that you may need to change something in configure to enable a contrib? [23:31]
gac410Item2103 [23:32]
FoswikiBothttp://foswiki.org/Tasks/Item2103 [ Item2103: configure is overly agressive in not saving unchanged values ] [23:32]
jayenso there's text now to remind you to enable the plugin, and i can understand it's difficult to restructure to put the configure tick box right there, so maybe additional text in the case a config.spec contains a switchboard entry? [23:36]
gac410I guess best be it to open another task. [23:37]
jayennot a featureproposal? [23:37]
gac410No - Task. Configure should warn that a switchboard entry needs to be created or something like that. [23:38]
jayenok [23:38]
gac410how to do that That's for another night ;-) [23:38]
jayen:) [23:38]
Item 11282 [23:45]
gac410I've commented on Item11282 and set it to confirmed. [23:52]
FoswikiBothttp://foswiki.org/Tasks/Item11282 [ Item11282: Configure should warn that a switchboard entry needs to be created ] [23:52]
jayengreat, thanks
is it possible to call kinoupdate when an attachment is uploaded?
[23:54]
gac410wtf - MyItems has broken the WebLeftBar (well... right bar) on both foswiki.org and trunk.foswiki.org [23:57]

↑back Search ←Prev date Next date→ Show only urls(Click on time to select a line by its url)