#foswiki 2016-01-11,Mon

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

WhoWhatWhen
gac410Just installed on foswiki.org ... still checking it out. [00:20]
***Lavr has quit IRC (Ping timeout: 272 seconds)
ChanServ sets mode: +o Lavr
[00:20]
gac410:P Think I found the first bug. bin/configure screws up the name filters.
Reset to default gives: $Foswiki::cfg{NameFilter} = '[\\\\\\\\\\\\s\\\\*?~^\\\\$@%`"\\\'\\\\x26;:|\\\\x3c>\\\\[\\\\]#\\\\x00-\\\\x1f]';
[00:33]
vrurgvrurg is thinking of the future nightmare of merging from master... [00:34]
jomovrurg: merging each master change into your codebase with big changes = probably really an nightmare - even more if you plan split some modules into smaller ones and so on...
jomo havent idea how to solve this...
[00:41]
vrurgjomo: Actually I doubt about splitting modules as this is a perfomance hit in CGI environment. Until it's completely deprecated it's better to stick to this monstrous Foswiki.pm [00:43]
jomoah... yes. the stupid cgi... :( [00:44]
vrurgOtherwise I hope very much that on later stages I get more help from community. For the moment I'd like to get it all working as-is but being Moo and Try::Tiny. When this is done it's the time to architectonic changes.
Meanwhile, anyone having any idea of where var key on FoswikiFnTestCase is used beised if the constructor?
besides...
[00:45]
................................................ (idle for 3h57mn)
***ChanServ sets mode: +o Lynnwood [04:43]
........ (idle for 37mn)
gac410 has left [05:20]
.......................... (idle for 2h5mn)
ChanServ sets mode: +o CDot [07:25]
........... (idle for 51mn)
geetar has left [08:16]
ChanServ sets mode: +o MichaelDaum [08:27]
.............................................. (idle for 3h48mn)
TeQuillaaaAhello
:)
my WebTopBar is at the and of my foswiki :-(
*end
i deinstalled patternskin, and then installed it again ... no the webtopbar ist at the end and when i edit some topics i get the message, that the System.WebTopBarExample were not found
*now
[12:15]
same with WebButtomBarExample and WebLeftBarExample [12:35]
...... (idle for 28mn)
jomolooks like no RM today... [13:03]
***ChanServ sets mode: +o gac410 [13:07]
CDotjomo: I guess not [13:11]
jomogac410: what is the new schedule for the periodic RMs? [13:13]
gac410My initial thoughts was to try to stick with 6 months for minor releases. [13:14]
jomomean release-meetings... [13:14]
TeQuillaaaAwhats better - natskin or patternskin? [13:14]
gac410oh. hm jomo, I don't remember when we decided to restart them. Was is today .. oops [13:17]
jomoTeQuillaaaA: no "better" - just different. ;) natskin is more powerfull, not installed by default, needs more plugins, more configurable - but this also mean, you need more configuration if want customise it - pattern is the default skin... [13:17]
gac410TeQuillaaaA: That's a tough one. Nat is very functional, much more powerful, but much ore complex [13:18]
TeQuillaaaAOkay
but it does not make sense installed both
*to install both
[13:18]
MichaelDaummore complex to install true, but a lot easier to use. [13:19]
gac410Well Patter is default, and should not be un-installed, I don't think. [13:19]
TeQuillaaaA:-/ [13:20]
MichaelDaumanything not installed by default is more complex to install obviously ;) [13:20]
jomo:) [13:21]
TeQuillaaaAi did a mistake :) [13:21]
gac410CDot, I cannot find where the "Default" value in the configure getspec() routine has it's back-slashes doubled ... sometimes [13:22]
TeQuillaaaAi deinstalled patternskin
*uninstalled
[13:22]
gac410hm interesting. Is everything still working :D [13:23]
CDotgac410: depends on context. No alternative to tracing it, I'm afraid. [13:23]
gac410That's what I was afraid of :(
What do you use? Plain old perl debugger?
[13:24]
TeQuillaaaAoh i solved my problem [13:27]
CDotgac410: always use command-line and print STDERR
pretty much the only way to really see what is going on
[13:28]
gac410okay yeah, that's what I've been doing. okay. I'll stick with it. Was just hoping for something less tedious :D
Hi all. Looks like release meetings were supposed to start today. 1/2 hour ago :(
Anyone else want to join #foswiki-release, and I'll grovel for forgiveness ;)
Release 2.1 Beta 1 is running on Foswiki.org
RELEASE MEETING channel #foswiki-release ... (jomo told me to shout)
[13:29]
jomo:) [13:36]
gac410CDot ... care to join? Lynnwood_ anyone else ? Everyone is welcome [13:37]
......... (idle for 40mn)
TeQuillaaaAquestion
http://foswiki.org/System --> how can i set the background color of the button System under "About"
cant find it
[14:17]
JulianLevensSystem.WebPreferences and look for ' * Set WEBBGCOLOR = #B9DAFF' [14:19]
TeQuillaaaAdanke
ups ... thanks
[14:21]
.... (idle for 19mn)
i am looking for a possibility to hide some webs from the webleftbar ... is there a best practise available? [14:40]
gac410use a static web list
The dynamic list is a known performance issue
[14:41]
TeQuillaaaAokay, thanks :) [14:42]
MichaelDaumhi vrurg, are you there? we are currently musing about your hero work on moo. would you like to join #foswiki-release or are you busy atm? [14:54]
TeQuillaaaAgac410: should i delete the content from the WebLeftBarWebsList completely? [15:00]
gac410I think what most do is replace the include of WebLeftBarWebsList either with their own include topic, to avoid upgrade issues, or just put the web list in directly
Really depends if you want a site-wide web list, or maybe different lists in different webs.
[15:01]
TeQuillaaaAthere are webs, which the users do not have to see
but i can use the access control
[15:06]
gac410So a * Web1 * Web2 ... simple bullet list. in which case access control doesn't apply. But access control is what slows down the dynamic list. needing to process webPreferences for every web to consider. [15:07]
TeQuillaaaAokay
and last question today: i have a web with ten subwebs and everything is unfolded in the weblist ... this looks ugly! i want to show only the upper web in the weblst
[15:10]
gac410nothing settable to control subweb expansion, but see Foswiki:System/VarWEBLIST ... you can list the names you want considered. [15:18]
FoswikiBothttp://foswiki.org/System/VarWEBLIST [ VarWEBLIST ] [15:18]
..... (idle for 22mn)
CDotsweeet; comments working in all the ways and all the places expected, and documented :-) [15:40]
jomocongratz ;) [15:41]
gac410Do we need an online or offline discussion on the hosting situation? [15:41]
CDotgac410: is there anything new to report? [15:43]
gac410Only that pharvey heard from rackspace. ... no slots available in free hosting
So we have to pick a provider and start to plan a move. I guess
[15:44]
CDotbudget? [15:45]
GithubBot[distro] cdot created Item13905 (+2 new commits): http://git.io/vzf4S
distro/Item13905 b3c54f3 Crawford Currie: Item13905: implementation of %{...}% comments in topics
distro/Item13905 062ff5e Crawford Currie: Item13905: changed implementation to #{...}#, unit tested more widely
[15:45]
***GithubBot has left [15:45]
FoswikiBothttp://foswiki.org/Tasks/Item13905 [ Item13905: I'd like a way to make FW-level comments in topics. ] [15:45]
CDotthere's an upcoming association meeting. Do we have to raise the sub? [15:46]
gac410See http://foswiki.org/Community/NewFoswikiServer
The GA is on Feb 3rd, we really ought to be well along the move by then. Koen starts paying out of his pocket around then.
[15:46]
CDotif someone can fund the rack, I'd be happy to buy the project a Raspberry Pi to run the server on (about as far as my budget stretches :-( ) [15:47]
gac410The virtual host seems very reasonable. Hetzner looks like the most cost effective. [15:48]
CDotgac410: do you have any idea of the traffic?
do we have to ban all crawlers?
[15:48]
gac410I don't see that we really need dedicated. No idea on traffic. RM keeping me busy enough We'd need to analyze the logs on f.o [15:48]
CDotwhile I'm thinking about it.... where is the port number for f.o sysadmin written down?
CDot has forgotten again
[15:49]
gac410It's not ...
12119
[15:49]
CDotmight be an idea to write it in the wiki somehwere
uebera||: if it's not on the wiki page, then no, we didn't
though if you'd like to price one up, that would be a help
[15:50]
gac410Next hosting meeting is tomorrow 1400Z just noticed that on the page. [15:51]
CDotheh; interesting how that hosting page has different prices if you view it in English [15:52]
uebera||Sorry, didn't get that... "to price one up" = "to make it more expensive"? ;) [15:52]
CDotuebera||: means "work out how much a suitable server would cost"
as in "I'm having a new kitchen fitted. I've asked my builder to price the job up"
lovely bit of English idion for you ;-)
idiom
[15:52]
gac410So why on earth would they have different prices when viewing the page in english, Figure if you need to read in english, you'll be a larger support burden ? [15:54]
CDotno; reckon they just forgot to update the english page when they changed their pricing [15:55]
gac410They are the least expensive one yet it appears. But the use of KVM is a bit concerning. I use it regularly but I/O can be a bit slow. [15:56]
uebera||Seems to be a glitch. The price you see in when looking at the German page applies if you pay for 12 months. This option I can't see on the other page.
s /in when/is when/
[15:56]
gac410Ah [15:56]
CDot10 euros a month..... 120 a year.... very good price [15:57]
uebera||Yes. [15:58]
gac410DNS hosting. 14 eu/year per domain. we have 3 I think. [16:00]
FoswikiBothosting. 14 eu/year per domain. we have 3 I think. is . [16:00]
gac410uebera||: Have you used them? [16:03]
uebera||Yes, I'm using them since 2010. Never had any complaints. Support works fast.
(Unfortunately, I don't get anything from them for saying this :o))
[16:04]
gac410http://hostadvice.com/hosting-company/netcup-reviews/ not much to go on there.
Anyway. ... next official hosting meeting is tomorrow the 12th at 1400 Z if you can join
[16:05]
uebera||Sure, will try. [16:06]
gac410MichaelDaum: the google calendar is not letting me insert an event into the foswiki calendar. Could you please add tomorrow's hosting meeting 1400 Z [16:09]
MichaelDaumI just phoned with my contacts at 1&1 and will check whether they've got an open source sponsoring track for webhosting
gac410, I once emailed the board the edit link to the calendar :/
[16:13]
gac410hm okay I'll look. [16:13]
MichaelDaumthere are chances that 1&1 will sponsor a new f.o server as they are massive open source users. [16:14]
gac410MichaelDaum: Found the link. Followed it. Added an event, and the "drop down" for add to calendar, only lists my personal calendar, Foswiki is not on the list. [16:15]
.... (idle for 15mn)
Hm Our <verbatim> block when inside a verbatim rather breaks rendering.
Nice, thanks MichaelDaum
[16:30]
..... (idle for 21mn)
andreliHello
How do I go about creating a events.log file a day instead of a month.
[16:52]
gac410hm I'm not sure we can easily do that [16:53]
andrelimonthly logs get to big an have in our setting a measurable performance impact [16:53]
gac410andreli: I was working on a LogDispatchContrib which has much more flexible logging, and I think it could have handled that. But the dependencies were complex, and we dropped it from the 2.0 features. It's still out in github but was never released. [16:59]
andreliOk, thanks. So then, I will rotate the logs on the system outside foswiki. [17:00]
gac410It could log to syslogd too. And had modules (which I never tried) for logging to sql.
I'm not sure what would happen if you tried to alter the %yyyy%mm key for Compatibiltiy logger
[17:00]
andrelisyslogd would be a very nice feature, indeed. [17:02]
gac410A sql logger would be a nice improvement for the implementation of eachEventSince processing. Currently it has to find and load all the logfiles for the requested date range. But again, I never added that part.
http://foswiki.org/Extensions/Testing/LogDispatchContrib
[17:08]
MichaelDaumwould be nice to get some sponsoring in place for LogDispatchContrib, andreli ;) [17:11]
gac410I had forgotten about some of the features. Filtering ... for ex sending all authentication login/logout to an auth log
Hm And one missing change from Foswiki 2.0. Configure logs changes to "Notice" level,
[17:12]
andreliI see logging as an admin tool, where as Oh, we as 'eachEventSince' seems to me more like a use case for messaging. For that, we are dabbling with message queues like RabbitMQ. [17:14]
gac410we've gone back & forth with events vs. logging. Our "info" level is more an event. other levels are more suited to logging. But the whole infrastructure is already in place.
An "event queue" could probably be plugged into the log architecture. and filter off interesting events into another messaging path.
The log dispatch rewrite was to try to make it configurable & pluggable. So the core generates information using the well defined log4j event categories and log dispatch passes them to one or more handlers.
[17:15]
andreliThe activities around messaging is not primarily triggered by the wiki. We are looking for a umbrella system including other systems as well. [17:20]
gac410btw, Foswiki 2.0 PlainFile logger should be MUCH better behaved at month-end rollover. Foswiki 1.x *copied* the data to a new log. Foswiki 2.x renames the file.
But on really busy systems, log will still be a bottleneck. LogDispatch can include the $PID in the filename, though that breaks eachEvent, and would require manual merging
[17:22]
........ (idle for 36mn)
***gac410 sets mode: +o JulianLevens [17:59]
gac410All. I added Foswiki:Development.AddFurtherTopicNameControls as a brainstorming / feature proposal to discuss whether or not we need something beyond the old Filter-out Name Filter [18:02]
FoswikiBothttp://foswiki.org/Development.AddFurtherTopicNameControls [ AddFurtherTopicNameControls ] [18:02]
gac410CDot ... Data::Dumper is doubling backslashes. [18:15]
CDotI knew you'd find it :-) [18:18]
gac410well I found why , I still have not found where.
my print Data::Dumper was showing double \\ when read from the file. And I knew THAT wasn't true
[18:18]
CDoterm, that can't be right. Data::Dumper doesn't double backslashes. The input must have doubles already.
did you isolate it down to a command-line use-case?
[18:19]
gac410Yes tools/configure -getspec {NameFilter} [18:20]
CDotooo-errr that's a lot of backslashes [18:21]
gac410And print STDERR on $l at the start of parsing the Config.spec shows the file exactly as read. If I change the print to use Data::Dumper, it doubles the \\
yes indeedy. Sure makes a hash of it. er, or mash...
[18:21]
CDothmmm. My suspicion lands firmly on the REGEX type handler [18:21]
gac410well I'm running out of places to place print. the strangest part is UploadFilter is also a REGEX, and does not get any slash doubling. [18:35]
CDoty, the extra slashes come when it is read
--- a/core/lib/Foswiki/Configure/LoadSpec.pm
+++ b/core/lib/Foswiki/Configure/LoadSpec.pm
@@ -407,6 +407,8 @@ sub parse {
$open->{default} =~ s/'/\\\\'/g;
$open->{default} = "'" . $open->{default} . "'";
}
+ print STDERR "NAMEFILTER $open->{typename} $open->{default}\n"
+ if $keys eq '{NameFilter}';

$open->{keys} = $keys;
unless ($isEnhancing) {
you can see the default value is saved as a string, not a regex
hmmm. So why didn't it get saved as a qr//?
[18:36]
gac410right. but it also comes in as a string. That routine only applies if string has qr\ \ [18:37]
CDoty, I know [18:37]
gac410no we don't use qr ... they are stripped [18:37]
CDotI see NameFilter as '^[^\\s\\*?~^\\$@%`"\'&;|<>\\x00-\\x1f]+$' in config.spec [18:38]
gac410right. That's what happens if you don't click "Appy Defaults"
Notice though it has a reset button in the UI, so even though it is identical LocalSite and Foswiki.Spec, the UI thinks' it's different
[18:38]
CDotit's still wrong [18:39]
gac410every \\ becomes \\\\
We need the \\ for the regex to work in javascript iirc
[18:39]
CDotargh, I see some horrible code [18:40]
gac410probably mine :D [18:40]
CDotjust above where I gave you that patch; look at the use of $1
$open->{default} = $1;
way beyond the point where $1 was populaated, far too late
[18:40]
gac410right. but a print STDERR right after that, the backslashes are NOT doubled.
I was going to say... but if you Data::Dumper $open just before the push, the \\ is doubled. But darn, that's Dumper doing that. It's not doubled there.
Which means it probably is not doubled in the tools/configuer -getspec either because it uses Data::Dumper.
[18:41]
CDota print right at the head of that block shows the \'s doubled
wierd; it's when it reads Foswiki.spec
[18:43]
gac410gac410 has been pulling hair. And that's not good. :P
Dont' forget the input is already doubled. It's the doubling of the doubles
[18:47]
CDotoh: from Foswiki.spec, I see $Foswiki::cfg{NameFilter} = '[\\\\\\s\\*?~^\\$@%`"\'\\x26;:|\\x3c>\\[\\]#\\x00-\\x1f]'; [18:47]
gac410Single backslash is not doubled but double backslash becomes quad [18:47]
CDotno, single backslash is doubled. Two single backslashes become four. [18:48]
gac410But UploadFilter does not get any doubling at all
it has single backslashes
[18:48]
CDoty. going to have to eval that regex, see what it *really* is [18:49]
gac410It does work in it's default state. WebTopicCreator does properly filter and the unit test for it works.
RobustnessTests iirc
The value itself is never doubled, only the Default
hm Well Robustness tests the AttachmentNameFilter, but that has the same issues.
[18:50]
CDotbasically the namefilter backslashes a whole load of characters that don't need to be backslashed
but the namefilter is a string, which is used in a regex. Regexes have special backslashes, like \s, and those need to be doubled in the source string
[18:54]
gac410the NameFilter is a string, so the \ has to be \\ so that it iappears in the regex, ... and you type faster than me. [18:55]
CDotCDot uses *four* fingers [18:55]
gac410right. so \x in the regex starts as \\x in the string. [18:55]
CDotyes; and \x26 \s \\x26
as
[18:55]
gac410The NameFilter is a bit special because it has to survive the trip through json to the javascript filtering
A couple of the characters are in hex instead of literal because of that.
[18:56]
CDotit shouldn't be special, it's just a string
oh, ok
it doesn;t say that in the doc :-(
[18:56]
gac410I don't remember now which no. gac410--
gac410--
I guess I can't relinquish karma
[18:57]
CDotok, so, it looks to me like the getspec report is correct
it has the right number os backslashes, AFAICT
[18:58]
gac410er.... it has twice the number in default than appear in the value [18:58]
CDotno. You are looking at a json encoded string.
once that string is interpreted in the JS, it is seen as '[\\\\\\s\\*?~^\\$@%`"\'\\x26;:|\\x3c>\\[\\]#\\x00-\\x1f]'
note the quotes
that is then eval'ed in the JS to get the *real* value
[18:59]
gac410But if you click the "reset" button it breaks the setting. [18:59]
CDotright, so the problem is in the type module for REGEX, as I suggested [19:00]
gac410And it shows it as not matching. So the issue is in the REGEX type handler, where it compares the two strings?
damn you type faster again :P
[19:00]
CDotTypes.REGEX = Types.STRING.extend({
});
restoreDefaultValue: function() {
this.useVal(this.spec['default']);
},
useVal: function(val) {
this.$ui.val(val);
},
so I'd expect any STRING types with slashes in to be similarly mangled....?
[19:01]
gac410And the extra encoding commit ff546e21c4ff15661c91e7f5345a0c5bcdca37cf
Encode & and < in {NameFilter} as browser compalin about malformed json
[19:02]
CDotdifferent issue [19:03]
gac410right. You just asked about missing doc :) [19:03]
CDotcan you set a STRING value to something with backslashes and check if it resets correctly? [19:03]
gac410UploadFilter. Works fine I think [19:03]
CDotUploadFilter is a REGEX [19:04]
gac410Oh... gotcha [19:04]
CDotand I bet it *doesn't* work
?(\..*)
should be ?(\\..*)
[19:04]
gac410currently locked out of my test system ;P hang on [19:06]
CDotLoginNameFilterIn looks wrong as well [19:06]
gac410Yeah. I added a \\ to the AuthRealm in config.spec and it gets messed up too
er Foswiki.spec
[19:07]
CDotgood. consistency is good.
$Foswiki::cfg{LoginNameFilterIn} = '^[^\s\*?~^\$@%`"\'&;|<>\x00-\x1f]+$';
looks really odd
OIC - \$ inside [] just means \ and $
[19:08]
gac410cdot, actually AuthRealm is not completely messed up. but something is still not right. I added a \\ to the Foswiki.spec, and bootstrapped.
the value shows a single \. and Reset changes it back to \\
But I'm not seing the \\\\ that we see in NameFilter So a bit different String vs Regex
no... it's the same. never mind.
the \\\\ is only seen in the -getspec
[19:09]
CDotok, so, Foswiki.spec NameFIlter should be: '[\\\s\\*?~^\$@%`"\'\x26;:|\x3c>\[\]#\x00-\x1f]'
ah, wait, are those escapes right for JS as well?
[19:13]
gac410the name filter string in LocalSite.cfg should be [\\\\\\s\\*?~^\\$@%`"\'\\x26;:|\\x3c>\\[\\]#\\x00-\\x1f]
er... I'm getting confused.
[19:14]
CDoty, it's the same in JS
no, what I said is the case
my Foswiki.spec (now) contains:
$Foswiki::cfg{NameFilter} = '[\\\s\\*?~^\$@%`"\'\x26;:|\x3c>\[\]#\x00-\x1f]';
[19:15]
gac410The big thing is to make sure that WebCreateNewTopic also filters out backslash, $, ", #, ... [19:17]
CDotCDot tries it [19:17]
gac410Actually I think you have an exra \ before *
unless * is somehow special
It seems to be working fine with non-doubled \
$Foswiki::cfg{NameFilter} = '[\\\s\*?~^\$@%`"\'\x26;:|\x3c>\[\]#\x00-\x1f]';
And... stripping all the extra \ from AttachmentNameFilter, RobustnessTests all work fine.
So with the exception of \\ needed to actually filter the backslash, this all works without doubling.
[19:18]
CDoty, the \\* should be just *
and the \$ should be just $
erm, there needs to be a \\ in there though
CDot recommends developing a simply unit testcase for this
[19:24]
gac410RobustnessTests has one for AttachmentNameFilter
I think it's pretty thorough
[19:25]
CDotbut none for NameFilter? [19:26]
gac410No. Ah. sanitizeAttachment used to use the NameFilter. Now they are split, and it uses AttachmentName [19:27]
CDotCDot doesn;t see one [19:27]
gac410It tests sanitizeAttachmentName. which uses the name filters.
The only difference between AttachmentNameFilter and NameFilter, should be the colon and space, both disallowed in NameFilter, allowed in AttachmentNameFilter
[19:27]
CDotok [19:30]
gac410That was part of 2.1 changes, when those two filters split.
colon is a *new* restriction. Because of collision with Interwiki links caused some rather messy %INCLUDE breakage of all things.
[19:30]
CDotand the hash sign: # ? [19:31]
gac410Need to filter it ... it breaks URLs I think [19:31]
CDotk [19:32]
gac410I can't recall if that was addd recently, or has been there a long time.
The # was added in 2010, on Item1224
[19:32]
FoswikiBothttp://foswiki.org/Tasks/Item1224 [ Item1224: Underscores in topic name with WebTopicCreator are not possible ] [19:33]
CDotok
well, looks like my NameFilter works fine
$Foswiki::cfg{NameFilter} = '[\s*?~^$@%`"\'&|<:>\[\]#\x00-\x1f]';
if there are encoding problems in configure, then it's configure's job to deal with them; encoding chars in Foswiki.spec is not a solution
[19:34]
gac410Even in javascript? I am sure we initially had to encode < and & [19:35]
CDotdoesn't matter, as I said, it's configure's problem to deal with that
but if WebCreateNewTopic is driben off NameFilter, there's no problem.
[19:35]
gac410Ah.. .or actually maybe JQuery's FOSWIKI.pm which coverts Config.spec to HTML
I'm trying to recall It might have been validation errors, and browser sensitive.
Item12659
[19:36]
FoswikiBothttp://foswiki.org/Tasks/Item12659 [ Item12659: NAMEFILTER setting in jQuery.extend causes invalid XHTML ] [19:37]
gac410And Item12179 as well [19:38]
FoswikiBothttp://foswiki.org/Tasks/Item12179 [ Item12179: JQueryPlugin::FOSWIKI: not properly escaping NAMEFILTER preference. ] [19:38]
gac410It looks like the fix to Item12179 might have addressed the issue so that the encoding hack was not needed. But the quick fix was never reverted,. [19:40]
CDotseems to work OK for me :-/ [19:40]
gac410MichaelDaum changed how the strings were built. [19:40]
CDotaha
that would explain it
[19:40]
gac410y. That's good, so we can eliminate some cruft in LocalSite & Foswiki.spec and still have happiness. [19:41]
CDotI just ran through a configure cycle, resetting the NameFilter and saving, and it worked fine. What should I have been expecting?
ah wait, i think I see the problem
[19:44]
gac410For one thing, if the reset button is showing after a bootstrap, then something is broken [19:46]
CDotno, take that back, it looks fine
I didn;t bootstrap. I will delete from LocalSite.cfg and try again
anyway, I'm confident that the revised Foswiki.spec is (more) correct
and I can't see any problems in configure
so I'm going for some supper. cya!
[19:46]
gac410okay great... Can you commit?
and push?
[19:49]
CDotgood lord no; I'm in some random branch, and the code is all over the place [19:49]
gac410Oh.... :( [19:49]
CDot$Foswiki::cfg{NameFilter} = '[\s*?~^$@%`"\'&|<:>\[\]#\x00-\x1f]'; [19:49]
gac410And no code changes? [19:50]
CDot$Foswiki::cfg{AttachmentNameFilter} = '[*?~^$@%`"\'&|<>\\[\\]#\\x00-\\x1f]';
no code changes
[19:50]
gac410Ah... okay great. I'll apply and check it out. [19:50]
CDotoops, that was from LocalSite,.cfg
$Foswiki::cfg{NameFilter} = '[\s*?~^$@%`"\'&|<:>\[\]#\x00-\x1f]';
and
[19:50]
gac410Why \\ in aNF [19:50]
CDot# removed.
$Foswiki::cfg{AttachmentNameFilter} = '[*?~^$@%`"\'&|<>\[\]#\x00-\x1f]';
are the right ones for Foswiki.spec
[19:51]
gac410er. no \\ to filter backslash? [19:51]
CDotnot needed
\ is funny in a single-quote string
it *only* escapes ' and character escapes
[19:51]
gac410I'm still not seeing it. But I'll test
Have a good dinner
[19:52]
...... (idle for 28mn)
Darn... CDot ... no go. We have to filter backslash. A topic name containing a backslash causes SEARCH to assert.
And once you enter a \\ backslash into the Foswiki spec, you get the stuck "reset to default value" button.
but... it doesn't actually change the value. It's a dummy reset, so we need a fix to the REGEX type to deal with the compare.
[20:20]
................................. (idle for 2h42mn)
dldlis there a way to change TOC style without redefining CSS?
(i.e. some kind of MACRO / Site Preference somewhere)
[23:04]

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