#foswiki 2010-06-21,Mon

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

WhoWhatWhen
***Cain` has joined #foswiki
Cain has quit IRC (Ping timeout: 276 seconds)
Cain` is now known as Cain
bluethundr_ has joined #foswiki
bluethundr has quit IRC (Ping timeout: 265 seconds)
bluethundr_ is now known as bluethundr
[00:11]
.................. (idle for 1h29mn)
EugenMayer has quit IRC (Ping timeout: 276 seconds) [01:48]
Sven_Windows has joined #foswiki
SvenDowideit has quit IRC (Changing host)
SvenDowideit has joined #foswiki
niven.freenode.net sets mode: +o SvenDowideit
[01:55]
SvenDowideitdoink.
2 days of emails to catch up on, 2 days of commits, and then 2 days of sleep :)
[01:58]
***Sven_Windows has quit IRC (Client Quit) [01:59]
gac410'evening (or is it morning) SvenDowideit
I think Release branch unit tests will now run successfully with -T
[02:07]
SvenDowideitwowo :)
lets see how my widows goes :)
[02:10]
gac410gac410 shudders [02:10]
SvenDowideitwirrr wirrr wizzz wizzz [02:11]
***EugenMayer has joined #foswiki [02:16]
.... (idle for 15mn)
SvenDowideit2198 of 2214 test cases passed
1..56500
not the worst result :)
[02:31]
gac410is that worse than it was before this weekend?
Just wondering if I broke anything
[02:32]
SvenDowideiti think it might be 2 better :) [02:32]
gac410mainly fixed two taint issues - store's eachChange returned tainted topic names, and added an untaint that cdot added to mailercontrib
plus all the TestRunner fixes to let it read directories safely
[02:34]
SvenDowideitcool :) [02:35]
gac410If I ever find Lavr around, I was going to offer to try to do some of the grunt work getting a 1.0.10 release ready [02:35]
SvenDowideittrunk still has trouble with unlinking on windies
mmm, don't wait :) just do
[02:35]
gac410well, I don't actually have any desire to take on a release manager role, but supporting work I can do ;-) (I'm not mean enough :-D ) [02:36]
SvenDowideitthere's a topic on the formal steps we do - and even validating those and correcting/updating will be extremely useful [02:36]
gac410Yeah - I've mainly been trying to align the fix "status" settings with the actual release of commits in the Release branch. [02:37]
SvenDowideityup - never fear, there are enough of us mean buggers to do that part - its taking time to follow the mechanics that lead to us knowing if its good enough that is missing this time [02:37]
gac410(And I now understand why Lavr would get so frustrated with incorrectly set status) [02:37]
SvenDowideitbingo :)
there is an alternative thing that would be really useful >:}
[02:38]
gac410what's that? [02:38]
SvenDowideitadd more cleverness and automation to the Tasks web [02:38]
gac410Rather than drive from the form settings, why not drive from the svn "log" results? [02:39]
SvenDowideitonce you spend time aligning the status' you've got a pretty good handle on that mess
cos people make too many mistakes
about one in 20 commits is to the wrong task, or with a non-useful message
[02:39]
gac410although it seems as though both directions are needed. found a few fixes that were not committed against release (including one of mine) [02:40]
SvenDowideitso having a second system provides a bit of a checks&balances thing
zactly
[02:40]
gac410yes - can see that. [02:40]
SvenDowideitthat was one of the reasons i added the 'this task ahs commits' icon
to begin to suggest that we can make the list much more informative
mmm, you're right of course.
[02:40]
gac410btw - that app is broken - any topic with " in the description is broke [02:41]
SvenDowideitfoswikibot_, please addatask to change the svn oncommit script to update the 'fixed in' chackbox if a commit is made to somewhere not yet marked in xxx [02:42]
foswikibot_SvenDowideit: ok [02:42]
SvenDowideiti wonder wtf foswikibot_ just did :)
gac410, yup
its an old old app, and i keep looking the other way
[02:42]
gac410Does foswikibot need authority to do things like "seen" - I've seen others do it, but it dosn't like me [02:42]
SvenDowideiti have no idea at all [02:43]
gac410foswikibot_ seen Lavr [02:43]
SvenDowideitfoswikibot_, seen gac410 [02:43]
foswikibot_gac410: Sorry, I've no idea what 'seen Lavr' might be.
SvenDowideit: Sorry, I've no idea what 'seen gac410' might be.
[02:43]
SvenDowideitfoswikibot_, help [02:43]
gac410Okay - works for you too I see :-) [02:43]
foswikibot_SvenDowideit: help info /msg'ed [02:43]
SvenDowideitway too much for poor me it seems [02:44]
gac410Back to unlink comment... unlink in test framework or unlink in core? [02:44]
SvenDowideitdunno - unit tests fail, but i 'demand' that the code is the same - snigger :)
looking at the log msg - i'd say test framework tho
[02:44]
gac410On windows? or linux? [02:45]
SvenDowideitwidows [02:45]
gac410okay - that task is for another day :-) [02:46]
SvenDowideityup
SvenDowideit needs to read too many emails :/
[02:47]
gac410have fun [02:47]
SvenDowideitnite ? :) [02:48]
.... (idle for 17mn)
gac410SvenDowideit: Thx for fixing the unit test /foswiki ... I should have noticed that! [03:05]
SvenDowideitna, we all do it
and its probably my 'contribution for the day'
and on that note - laters, off to feed girls again - they're veritable learning engines - and engines seem to constantly need feeding
[03:06]
...... (idle for 29mn)
***EugenMayer has left [03:36]
............. (idle for 1h4mn)
gac410 has left [04:40]
..... (idle for 23mn)
bluethundr has quit IRC (Quit: bluethundr)
bluethundr has joined #foswiki
bluethundr has quit IRC (Read error: Connection reset by peer)
[05:03]
.......... (idle for 45mn)
smoochkitty has joined #foswiki [05:48]
..... (idle for 21mn)
foswiki_irc3 has joined #foswiki
foswiki_irc3 is now known as pattdi
AndreU has quit IRC (Ping timeout: 245 seconds)
[06:09]
AndreU has joined #foswiki
MartinSeibert has joined #foswiki
[06:16]
verboese has joined #foswiki [06:22]
McAldo has joined #foswiki
MartinKaufmann has joined #foswiki
[06:30]
..... (idle for 20mn)
CDot has joined #foswiki [06:53]
birne has joined #foswiki [06:59]
.... (idle for 15mn)
birne is now known as TeeMutant
MTempest has joined #foswiki
TeeMutant is now known as birne
[07:14]
...... (idle for 25mn)
AndreU has quit IRC (Quit: AndreU) [07:39]
AndreU has joined #foswiki [07:53]
NynkeFokma has joined #foswiki
IngoWolf has joined #foswiki
[07:59]
Colas has quit IRC (Quit: Ex-Chat) [08:12]
........ (idle for 38mn)
verboese has quit IRC (Quit: ChatZilla 0.9.86 [Firefox 3.6.3/20100401080539]) [08:50]
ktwilight_ has joined #foswiki
ktwilight has quit IRC (Read error: Connection reset by peer)
Colas has joined #foswiki
[08:56]
...... (idle for 29mn)
EugenMayer has joined #foswiki [09:29]
ktwilight__ has joined #foswiki
ktwilight_ has quit IRC (Ping timeout: 265 seconds)
MTempest has quit IRC (Disconnected by services)
MTempest_ has joined #foswiki
MTempest_ is now known as MTempest
[09:39]
CDotMTempest: excellent work on the encodings [09:44]
***Colas has quit IRC (Ping timeout: 258 seconds)
Colas has joined #foswiki
[09:48]
OliverKrueger sets mode: +oooo AndreU CDot Colas IngoWolf
OliverKrueger sets mode: +oooo ktwilight__ MartinKaufmann MartinSeibert MTempest
OliverKrueger sets mode: +ooo McAldo MTempest NynkeFokma
[09:55]
MTempestCDot: Thank you [09:58]
CDotdo you think we understand enough now to complete the core conversion to unicode?
or is it still high risk?
[09:59]
***verboese has joined #foswiki [10:03]
MTempestTBH, I don't know what is involved in converting the core to unicode
I can think of good questions to ask.
Like: Do we want to work with unicode codepoints internally in the core, and encode/decode only at the interface to the outside world? I think the answer is yes.
[10:04]
CDotI think so too
I did an experiment a while ago, converting all IO to unicode. Didn't take long, but it showed up the major issue is plugins.
if a plugin assumes that all strings are byte strings, and performs IO/regex analysis on them, it can implode
the minor issue is that performance definitely suffers slightly
[10:08]
MTempestWhat if we added a "handler" or some other indicator whereby plugins show that they can handle wide characters? Then the core could encode/decode when dealing with older plugins, too. [10:11]
***Colas has quit IRC (Ping timeout: 258 seconds) [10:11]
OliverKruegerI think, sooner or later we should make a cut, call it 2.0 and drop certain backward compatibility. Unicode is a good reason to do that. :) [10:11]
MTempest... and kill all custom plugins? Ouch.
I'd rather provide backwards compatibility, even if there is a performance hit when using older plugins.
[10:12]
OliverKruegerIs it possible to write a wrapper? [10:12]
CDotto convert the "old site charset" to unicode and back? No, because some custom plugins assuyme topics are encoded in files on disk using SiteCharset [10:13]
***MichaelDaum has joined #foswiki [10:13]
CDotand we would be changing them to UTF-8
as long as plugins have respected the APIs and used the core regexes there should be no problems
[10:13]
OliverKruegerI guess, 80% of the custom plugins do not. :/ [10:16]
CDot90% o the custom plugins it doesn't matter [10:16]
OliverKruegertrue [10:16]
CDotonly a small subset do file IO [10:16]
***bluethundr has joined #foswiki [10:17]
MTempestWill we provide a tool to convert all existing topics (including the ,v files) to UTF-8 ? [10:18]
CDotgood question [10:20]
MTempestI think we should . I will want one :) [10:20]
CDotmy first thought was: (1) ass a encoding= to the TOPICINFO, and, if it is missing, respect SiteCharset
but always save using UTF8
^ass^add :-/
[10:20]
MTempestIn which case, SiteCharset changes meaning. [10:21]
CDotyes; it changes from "all topics are encoded using this charset" to "if an encoding isn't specified, topics are encoded using this"
so it's like a "default charset"
[10:21]
MTempestok [10:22]
***Colas has joined #foswiki [10:27]
.... (idle for 18mn)
MTempestCurrently, we can run multiple versions of the core on the same set of topics. E.g. f.o and t.f.o. How would we manage that? Could we make the store work with non-UTF-8 files, yet have the core work with unicode internally? [10:45]
***OliverKrueger sets mode: +o MichaelDaum [10:47]
MTempestOr would it be better to release a version of 1.0.x that can also work with encoding= in the TOPICINFO? [10:53]
CDotyou could, as a site-level decision. The encoding used in topics is arbitrary.
UTF8 is just the most general
you could always specify encoding="iso-8859-1" as a default...... no, that gets messy
hmmm, tricky
there's a horrible case where the encoding used to store topics doesn't support the unicode chars in your content. Not sure how to handle that.
[10:56]
MTempestUse Encode::encode($storeCharset, Encode::FB_HTMLCREF)
Encode::encode($storeCharset, $text, Encode::FB_HTMLCREF)
[11:02]
***SvenDowideit_ has joined #foswiki [11:04]
MTempestNot ideal, but it would permit operation alongside another (older) core [11:05]
***OliverKrueger sets mode: +o SvenDowideit_
OliverKrueger sets mode: +o Colas
IngoWolf has quit IRC (Ping timeout: 252 seconds)
[11:06]
..... (idle for 24mn)
CDotsounds a bit of a nightmare to configure/maintain
you could operate an old alongside a new if you you changed the "old" to use UTF8
and then mass-converted the topics + histories to UTF8
[11:32]
BabarBabar won't imagine how long mass converting could take...
when it could be done on the fly when viewing the topic and saving it
strike that. That's a silly idea.
Babar needs more cafeine
[11:35]
MTempestMass-conversion and using UTF-8 everywhere would work.
Babar: It isn't silly - that is the same as CDot's "encoding" TOPICINFO suggestion
What if we provided a contrib for 1.0.9 that implements RcsLite but is also "encoding-in-TOPICINFO-aware"?
[11:36]
Babaryeah, but I don't really understand it... everything should be stored in utf-8, so the site-charset will only be used to guess encoding, as a fallback? [11:38]
CDotBabar: that's the idea
RcsLite doesn't implement all of RCS
if a site depends on rcsdiff, it can't use rcslite
[11:38]
MTempestWhen is rcsdiff used? [11:39]
CDotwhen comparing different revs, i think
for the rcs progs to work, I guess the LANG (and/or LOCALE) will have to be set
CDot isn't sure what they use
maybe they work on bytes; in which case, rcsdiff would have kittens with a UTF8 encoded file
so that can't be right
[11:39]
MTempestBut... RcsLite is recommended for mod_perl and fgci, and when RCS is not available. Does RcsLite itself use rcsdiff? [11:42]
CDotno; it's not rcs that doesn't work, per se, it's the "context diff" mode which is used to display diffs [11:43]
***EugenMayer has quit IRC (Ping timeout: 276 seconds) [11:44]
CDotso you can use rcslite, at the cost of some diff display modes [11:44]
MTempestAh. That makes more sense than no diff at all (which is what I was thinking). [11:46]
CDotI like the idea of a contrib that does the encoding=
the more I think about it, the more sense it makes
[11:48]
MTempestFor that matter, a single contrib could provide encoding-aware versions of both RcsWrap and RcsLite. [11:49]
Babarso a meta or a topicinfo thingy?
"Increment the store version. Topics using old store versions will have to be read by compatibility code which uses the {CharSet} setting in configure. "
Babar quotes http://foswiki.org/Development/UseUTF8
and where is Richard?
Babar thought he was on our side, but it seems he's still on the dark one :(
[11:50]
***terceiro has joined #foswiki [11:55]
Colas has quit IRC (Ping timeout: 258 seconds)
MTempest has quit IRC (Ping timeout: 265 seconds)
[12:04]
SvenDowideit_ has quit IRC (Ping timeout: 240 seconds) [12:14]
MichaelDaum has quit IRC (Remote host closed the connection) [12:21]
Colas has joined #foswiki [12:26]
MTempest has joined #foswiki [12:33]
IngoWolf has joined #foswiki [12:38]
IngoWolfHi
How do I create a button to delete a topic with one click
[12:38]
***gac410 has joined #foswiki
Lynnwood has quit IRC (Quit: Lynnwood)
cstamas has quit IRC (Ping timeout: 265 seconds)
[12:39]
pattdiIngoWolf: a link like this would do it %SCRIPTURL{rename}%/<webName>/<topicName>?newweb=Trash&newtopic=<topicname><randomNumber> [12:50]
MTempestMTempest thinks that might fall foul of strikeone [12:52]
pattdiwrap it in a form [12:52]
IngoWolfpattdi: nice, I tried to, but this just jumps me to the topic, but does not rename it to Trash [12:56]
pattdi: the above link is a nice try, but I want to not update existing links and avoid confirmation [13:01]
pattdiIngoWolf: I don't understand what you mean, you don't want to change the topic name, just the web? [13:06]
IngoWolfpattdi: I want to create a search and have rendered buttons in the result list "delete"
pressing the button shall delete the found topic without the need of any confirmation
and redirect to the search result
[13:07]
***verboese has quit IRC (Remote host closed the connection) [13:07]
IngoWolfdeleting means renaming from We.Topic to Trash.<topicname><randomNumber>
We = Web
[13:08]
pattdiIngoWolf: you don't stictly need the random number but it (as good as) guarantees a unique name in the Trash
^strictly
rename does have a redirectto parameter
so you could perhaps do it the old fashioned way with URLPARAMs
[13:09]
IngoWolfpattdi: how? [13:12]
Babar&confirm=getlease ?
(just guessing)
[13:13]
IngoWolf%SCRIPTURL{rename}%/Web/Topic?newweb=Trash&confirm=off&redirectto=%TOPIC%&newtopic=<topicname><randomNumber>
does not work - alwayst the confirmation page pops up - btw Im using natskin
[13:14]
pattdidon't use confirm
the code just checks for its presence
not what its setting is
newtopic=$topicAUTOINC001
ok the AUTOINC001 doesn't work :(
[13:18]
IngoWolf<topicname><randomNumber> is ok
it increases by 1, if topic is present
[13:25]
pattdiok, that's good, does that mean it's doing what you want it to do? [13:27]
IngoWolfBut redirect fails, it brings me to WebHome of the Web where the deleted Topic existed
pattdi: ^
and confirmation still pops up
[13:27]
pattdistrikeone confirmation?
IngoWolf: you mean the rename confirmation because it doesn't have a unique name from the start?
[13:28]
***pharvey has joined #foswiki [13:31]
pharveyI broke BibliographyPlugin!
bloody amateur
[13:32]
MTempestpharvey: then update the unit tests to show that its broken :p [13:34]
pharvey:P
I'm not sure unit tests would show the failure - persistent perl problem
I am curious why initPlugin gets an undef topicObject on save
[13:35]
pattdiIngoWolf: %SCRIPTURL{rename}%/Web/Topic?newweb=Trash&redirectto=%TOPIC%&newtopic=$topic%SERVERTIME{"$epoch"}% [13:37]
***EugenMayer has joined #foswiki [13:40]
CDotIngoWolf: rename is a bit sensitive; you have to get the params absolutely correct [13:41]
IngoWolfCDot: maybe you have a solution
pattdi: unfortunately using %SERVERTIME{"$epoch"}% brings me to a white page and nothing happens!?
[13:46]
CDotIngoWolf: not at my fingertips. But I do recall it doesn't like bad parameters and is poor at reporting errors. [13:47]
IngoWolfCDot: and how to redirect to %WEB%/%TOPIC% ? [13:49]
CDotusually redirectto=XXX.YYY [13:49]
IngoWolfI dont get it working without confirm - without I have only an complete empty page displayed [13:50]
CDot"without confirm"? You mean strikeone? If so, you probably need a form on the source page to get the strikeone ID. [13:52]
IngoWolfCDot: ah, ok - howto? :-)
form plugin?
[14:04]
***MichaelDaum has joined #foswiki [14:12]
CDotwhatever. strikone automatically handles all forms, regardless of where they come from. [14:23]
IngoWolfOk, I got it working using form plugin - however redirectto brings me always to the WebHome of the deleted topic and not back to the Topic in the Maintainance Web from where I started [14:24]
Babarthen your redirectto must be wrong [14:29]
***TJCRI has joined #foswiki [14:36]
toffe82 has joined #foswiki [14:42]
birne has quit IRC (Quit: ChatZilla 0.9.86 [Firefox 3.6.3/20100401080539]) [14:54]
IngoWolfBabar: it is Web.Topic, maybe a problem with the Web redirect? [14:58]
***IngoWolf has quit IRC (Quit: Page closed)
terceiro has quit IRC (Remote host closed the connection)
[14:58]
MTempestCan any user registered on foswiki.org access trunk.foswiki.org? [15:15]
Babaryeah, within 15 minutes or something [15:16]
MTempestCool - thanks [15:16]
***Babar sets mode: +oooo Colas EugenMayer gac410 MichaelDaum
Babar sets mode: +oo MTempest pharvey
[15:16]
Babarnot sure there is a delay even [15:16]
pharvey: you're sure you want to default TRACE to 1 in Biblio? [15:22]
pharveyjust fixed it - thanks :) [15:23]
Babarthat was fast :) [15:24]
pharveyGlad somebody is reading commits real-time - don't most people read twitter or facebook or something? ;-) [15:26]
CDottwitter is only for people with a 160 character attention span [15:28]
pharveyCDot, it's more depressing than that... 140 chars :P [15:29]
CDotShame we don't all speak Chinese. 140 chars would probably be enough for a novel. [15:30]
MTempestWhat is the encoding for Twitter? [15:30]
pharveyMTempest: you would ask that [15:32]
MTempest:p [15:32]
pharveyI think it's UTF-8: they have exceptions though, eg. bit.ly links aren't counted towards the 140 [15:32]
CDotutf8 [15:32]
pharveys/UTF-8/unicode [15:32]
MTempestIf it is UTF-8, then you have way less than 140 characters [15:32]
pharvey140 human characters
symbols...
[15:33]
Babarread AudreyT post about Twitter non-sense [15:33]
pharveypharvey catches fire [15:33]
***Colas has quit IRC (Ping timeout: 258 seconds) [15:36]
CDothttp://www.youtube.com/watch?v=BeLZCy-_m3s [15:39]
pharveynow to make BibliographyPlugin template-driven, and then my XML/RDF topic dumps will be less silly-looking [15:40]
Babarpharvey: http://pugs.blogs.com/audrey/2009/10/our-paroqial-fermament-one-tide-on-another.html
there is a link to the chinese version if you want too :)
[15:40]
***MichaelDaum has quit IRC (Remote host closed the connection) [15:40]
pharveyBabar: most interesting! [15:45]
***pharvey has quit IRC (Quit: ChatZilla 0.9.86 [Firefox 3.6.3/20100423140709])
terceiro has joined #foswiki
[15:46]
Babaraudreyt is most interesting :) [15:54]
MTempestIndeed [16:04]
***PaulHarvey has joined #foswiki [16:11]
PaulHarvey./nick pharvey [16:12]
***PaulHarvey is now known as pharvey [16:12]
pharveysomething crazy is happening
on 1.0.9 I get $params->{_DEFAULT} with & encoded as &amp;
or is that just writeDebug fooling me
pharvey tries a STDERR
[16:12]
CDotwriteDebug doesn't do any encoding [16:16]
pharveyI have: %FOO{"bar&foo"}%
and in my plugin, print STDERR shows that I get $params->{_DEFAULT} is &amp;
which seems completely and utterly mad
ahhhh. This explains why the macro is only failing when used from a formfield
$formfield(FooThatContains%FOO)
evidently my richtext type isn't rich enough
pharvey goes to the bank
except now I'm not so sure that I am sure
pharvey wonders where the conversion to entities is :/
[16:16]
CDotpharvey: probably in Foswiki::Render::renderFORMFIELD (or similar) [16:21]
pharveyyeah. Except... I'm overriding renderForDisplay... so should not be calling protectFormfieldValue
pharvey will look, thanks
[16:23]
***Colas has joined #foswiki [16:24]
MartinKaufmannIs it possible to have a CALC inside a footer of a SEARCH which does some calculations based on the search result?
Example: http://foswiki.org/Sandbox/TestTopic44543
Why does the 2nd work but not the first?
[16:36]
pharveyCDot: massive rabbit hole investigating the problem - happily, it doesn't affect trunk, so I will make that yetanotherreason to keep working on getting trunk releaseable [16:38]
CDotyou want to watch out for those massive rabbits. they're vicious. [16:39]
MTempestI'm glad I live in Africa. We don't get were-rabbits here. [16:40]
pharveyMartinKaufmann: I upgraded BibliographyPlugin to use registerTagHandler() for a very similar reason to the problem you're seeing with CALC... macros that don't use registerTagHandler() are just too quirky when it comes to "edge" cases :/
MartinKaufmann: Except, reading your example, it sems clear now
doing %CALC probably makes it look for a TML table that isn't built yet
hence why you need $percntCALC, to delay it until after the TML table is built from the search output
[16:41]
***pharvey has quit IRC (Quit: Page closed) [16:43]
MartinKaufmannBut even using $percntCALC doesn't help. [16:44]
***AndreU has quit IRC (Quit: AndreU)
MTempest has quit IRC (Ping timeout: 245 seconds)
pattdi has quit IRC (Ping timeout: 252 seconds)
[16:47]
CDotMartinKaufmann: in answer to your first question, the answer is "sometimes" :-( [16:53]
MartinKaufmannAnd sometimes depends on what exactly? Is this just Spreadsh*tPlugin magic? [16:55]
CDotthe second example works because %CALC is not evaluated until %SEARCH has been expanded
yes, it's magic
it depends to some extent on the PluginsOrder
[16:55]
MartinKaufmannBut I thought using $percnt would delay the CALC as well. [16:55]
CDotbut there are some things you just can't do :-(
I don't know exactly what is happening in your example without detailed analysis. All I know is it's a common problem.
[16:55]
MartinKaufmannOK, thanks. [16:56]
CDotIt can be "solved" by using a plugin to do the search e.g. DBCachePlugin
though that has it's own cluster of problems.
[16:57]
MartinKaufmannI justed wanted to make sure that I didn't miss something obvious. [16:58]
***EugenMayer has left [17:10]
CDotMartinKaufmann: out of frustration, I added a new macro to SpreadlegsPlugin that evaluated at the right place in the evaluation order
unfortunately it won't help you, because you are inspecting data in the table :-(
[17:13]
***smoochkitty_ has joined #foswiki
smoochkitty has quit IRC (Ping timeout: 265 seconds)
smoochkitty_ is now known as smoochkitty
[17:22]
smoochkitty has quit IRC (Quit: ChatZilla 0.9.86 [Firefox 3.6.3/20100401080539])
MartinKaufmann has quit IRC (Quit: leaving)
[17:31]
...... (idle for 27mn)
gac410Looks like we could add ShorterUrl support to LocalSite.cfg by adding to Foswiki.spec:
$Foswiki::cfg{ScriptUrlPaths}{view} = '$Foswiki::cfg{ScriptUrlPath}/view';
Is there a good reason to leave the Paths}{view} undefined, vs' letting configure default it to the {...Path}/view ?
[18:01]
***terceiro has quit IRC (Quit: Fui embora) [18:09]
CDotgac410: shouldn't that be "is there a good reason to set it"? [18:11]
gac410Is there a way to add something to Foswiki.spec and have it "not set" vs. "set to '' " ?
Seems as though if I add it, it will get set to *something* so have to give it a sane default.
By not exposing ...Paths}{view} we make users manually edit LocalSite.cfg to enable the popular shorter URLs.
[18:11]
CDotthe code says not setting itwill result in it being reconstructed from {ScriptUrlPath}
OIC. Hmmm.
[18:13]
gac410Right. It is currently undefined in Foswiki.spec. However once I define it ... [18:14]
CDotas long as it's defined to be whatever it would be constructed to be if it were left undefined (if you follow me) then surely it doesn't matter? [18:15]
gac410So the 'simple' fix is to define it and give it a sane default derived from ScriptUrlPath [18:15]
CDotit would be the same as the code currently generates [18:15]
gac410That's my assumption, but I've been learning not to assume :-) (Bad thing happen (TM) ) [18:15]
CDotit would be quite nice to be able to get rid of that bit of code. it's a bit hairy. [18:16]
gac410But to do that we have to add all of the scripts. I was thinking about just adding view for the ShorterURL users.
I'll open a task and add view to Foswiki.spec as an expert parameter, trunk only, and wait for fallout ;-)
[18:17]
***AndreU has joined #foswiki [18:21]
CDotgotcha.
CDot has gone to eat
[18:22]
***CDot has quit IRC (Quit: Leaving.) [18:24]
foswiki_irc7 has joined #foswiki [18:35]
foswiki_irc7Hey everyone, i'm trying to figure out how to adjust the hieght of the top bar, does anyone know what template I should be looking in? I thought it was "viewtopbar.pattern.tmpl" but when i change the height in there it doesn't do anything. [18:36]
***AndreU has quit IRC (Quit: AndreU) [18:47]
gac410foswiki_irc7: took me a bit to find it.
It's now in the CSS - http://foswiki.org/System/PatternSkinCssCookbook#I_want_to_change_the_height_of_t
[19:01]
........... (idle for 51mn)
***foswiki_irc7_ has joined #foswiki [19:52]
foswiki_irc7_hi, we have a wierd problem on a fosiwki that was upgraded from twiki..... no matter what, it only prints the first two pages of a wiki page...
in fact print preview even only shows the first two pages. Any ideas? Is there a preference that controls this?
[19:53]
.... (idle for 15mn)
***toffe82_ has joined #foswiki [20:09]
gac410It's a bug -
foswiki_irc7_: Hang on a minute - need to look for the fix
[20:09]
foswiki_irc7_thanks [20:10]
***toffe82 has quit IRC (Ping timeout: 245 seconds) [20:11]
gac410foswiki_irc7_ See Item:8615 - It is fixed in the latest PatternSkin that can be downloaded as an updated Extension to 1.0.9. Or it's a simple fix to the CSS file [20:13]
foswikibot_http://foswiki.org/Tasks/Item8615 [20:13]
***leik has joined #foswiki [20:15]
foswiki_irc7_awesome thanks! I'll give it a try [20:15]
.... (idle for 17mn)
***foswiki_irc7 has quit IRC (Quit: Page closed)
AndreU has joined #foswiki
[20:32]
......... (idle for 43mn)
GilmarSantosJr has joined #foswiki [21:17]
Babargac410: T George you broke the unit tests!
hey Gilmar!
[21:23]
***Babar sets mode: +ooo AndreU Colas GilmarSantosJr [21:23]
BabarItem:5608 [21:24]
foswikibot_http://foswiki.org/Tasks/Item5608 [21:24]
gac410Babar: I did? [21:25]
GilmarSantosJrHi, Babar! [21:26]
gac410Babar: The TOCTest? [21:26]
Babaryeah, fixing
the test was buggy :)
[21:27]
gac410Ah - The Foswiki.spec change? [21:27]
Babaryes
with your change, cfg{ScriptUrlPaths}{view} is always defined
and one unit test in TOC wasusing this, badly
fixed.
[21:36]
gac410yeah - the test didn't exactly duplicate what Foswiki.pm does in building the URL. Thanks for fixing it. [21:37]
BabarBabar hope he got it right :)
at least now the test passes
[21:37]
gac410It doesn't fail on my system since I had shorter URL's enabled. [21:37]
BabarGilmarSantosJr: what are you up to these days? Long time no see
you had it enabled, and it was working?
[21:37]
GilmarSantosJrBabar: yeah. I've been very busy :( (some higher priority personal projects) [21:39]
gac410Well - I just ran the TOC test and it passed - and my site is enabled for ShorterURL's by default. yes - enabled and passes.
I'll svn up and try again with your fix.
Still all pass with Paths}{view} set to ''
[21:39]
GilmarSantosJrGilmarSantosJr needs 30-hours days (or to organize tasks better) [21:41]
Babarwe all do :)
gac410: ok, good then :)
[21:42]
gac410So if this proves safe, add to 1.0.10 too? And should I add any other scripts? edit? [21:43]
GilmarSantosJrn8, Babar! [21:48]
***TJCRI has quit IRC (Remote host closed the connection) [21:55]
foswiki_irc7_hi babar, about that printing bug...
I'm not using patternskin, I'm using foswikisite skin. which doesn't have a print.css file....
should I just copy patternskins? with the fix in that
oh babar is gone. anyone else?
[22:03]
...... (idle for 25mn)
***MartinSeibert has left [22:33]
gac410foswiki_irc7_ Did you apply that css fix to the PatternSkin file? [22:43]
foswiki_irc7_yes, and it didn't fix anything [22:44]
gac410I'm not sure - have not done much with FoswikiSiteSkin - but wondering if it uses Pattern for print... :-( Guess not. [22:44]
foswiki_irc7_I put this at the top of print.css:
.patternPrintPage #patternMain { float:none; } /* no left bar */
that's correct?
[22:44]
gac410The no left bar is just a comment - can be ignored.
You might try putting that block - .patternPrintPage #patternMain { float:none; } into FoswikiSiteSkin/style.css
There are some other .patternPrintPage lines in that file.
But I'm no css expert ... unfortunately
I'm guessing that they've combined some of the css files for FoswikiSiteSkin
[22:48]
foswiki_irc7_ Please let me know if patching style.css works. I've updated Item:8615 with this information. [22:55]
foswikibot_http://foswiki.org/Tasks/Item8615 [22:55]
***Lynnwood has joined #foswiki [23:00]
foswiki_irc7_no unfortaunely not... [23:12]
gac410okay - thx. I've set the task waiting for ArthurClemens who is one of the CSS experts. Unfortunately I have no idea how to fix this. [23:12]
foswiki_irc7_ok thanks [23:13]
***iLavr has joined #foswiki
iLavr has quit IRC (Client Quit)
iLavr has joined #foswiki
Bamie_ has joined #foswiki
Bamie_ has quit IRC (Changing host)
Bamie_ has joined #foswiki
Zenopus_ has joined #foswiki
bluethundr has quit IRC (*.net *.split)
Zenopus has quit IRC (*.net *.split)
wdenk has quit IRC (*.net *.split)
Bamieater has quit IRC (*.net *.split)
OliverKrueger has quit IRC (*.net *.split)
WikiRingBot has quit IRC (*.net *.split)
Bamie_ is now known as Bamieater
Zenopus_ is now known as Zenopus
wdenk has joined #foswiki
bluethundr has joined #foswiki
[23:26]
iLavr has quit IRC (Remote host closed the connection)
OliverKrueger has joined #foswiki
GilmarSantosJr has quit IRC (Remote host closed the connection)
toffe82_ has left
[23:42]
NynkeFokma has quit IRC (Quit: Leaving.) [23:59]

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