#foswiki 2011-11-30,Wed

↑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:03]
GithubBot[foswiki] foswiki pushed 1 new commit to Release01x01: http://git.io/-BWkkQ
[foswiki/Release01x01] Item11020: Prepare for release - GeorgeClark
[00:03]
***GithubBot has left [00:03]
FoswikiBothttp://foswiki.org/Tasks/Item11020 [ Item11020: Date field is not formatted according to JSCALENDARCONTRIB_FORMAT setting ] [00:03]
pharveyreally wish CDot & Sven's work was using the submodules checkout :) [00:05]
gac410hey pharvey - Foswiki:Development.ConvertDatesToISO might have some bearing on db integration [00:17]
FoswikiBothttp://foswiki.org/Development.ConvertDatesToISO [ ConvertDatesToISO ] [00:17]
pharveythanks gac410, I think a new isodate type is the most appropriate way forward, rather than clobbering existing wikiapps [00:19]
gac410yeah. might be nice to have a tool that could convert for people who want it. But right - can't touch existing formats. [00:20]
pharveygac410: see also - Foswiki:Development.AllowTypedData [00:24]
FoswikiBothttp://foswiki.org/Development.AllowTypedData [ AllowTypedData ] [00:24]
pharveyI'm struggling to find time to make this a reality in time for Foswiki 2.0 [00:25]
gac410good point - I had forgotten about that proposal. [00:25]
pharveyI really, really, really hope we can get it into Foswiki 2... going without will make it hard to make DB back-ends efficient [00:29]
gac410Maybe work on the isodate can move you a bit along that direction.
anyway - I've released and uploaded JSCalendarContrib version 1.5.0 reverting all the 1.4.x work.
[00:30]
pharvey - is item11287 fixed? Can I close it, should it be documented in 1.1.4?
Er.. Item11287
[00:41]
FoswikiBothttp://foswiki.org/Tasks/Item11287 [ Item11287: Problems running under perl 5.14 ] [00:41]
gac410Looks like the only blockers we have left - Item10015 and Item11203 - the latter is documentation. [00:44]
FoswikiBothttp://foswiki.org/Tasks/Item10015 [ Item10015: Wysiwyg always takes focus when editing a page, even if the text part is at the very bottom. ] http://foswiki.org/Tasks/Item11203 [ Item11203: Upgraders to Foswiki 1.1.4 need a pointer to help with incompatible autocomplete, textboxlist changes ] [00:44]
..... (idle for 21mn)
pharveygac410: there's an issue where under perl 5.14, any Type::REGEX setting gets larger and larger on each save
the way perl stringifies regexes has changed
other than that, perl 5.14 runs clean now
er, the tests run clean anyway
[01:05]
gac410ugh. So when we read it in we have to un-stringify it. [01:06]
pharveywhich means we're missing tests for Type::REGEX [01:06]
gac410Do we even have tests for the Configure types?
gac410 goes look
[01:06]
pharveyit's not that (I think), it's just that we've got code to strip out (?:-ixsm... and perl 5.14 doesn't do that any more
it's when it's populating the <input fields in the configure UI, I think
[01:07]
gac410I'll take a peek - maybe I'll try to upgrade my system to 5.14. bleh - hours of compiling the world
Foswiki::Configure::Types::REGEX.pm has some commented code to strip out ixsm:
[01:08]
FoswikiBothttp://trunk.foswiki.org/System/PerlDoc?module=Foswiki::Configure::Types::REGEX [ (Foswiki login) PerlDoc ] [01:10]
gac410while ( $value =~ s/^\(\?-xism:(.*)\)$/$1/ ) { }
commented out because it makes configure think that the field changed.
[01:10]
pharveyah, I mustnt've seen the comment
gac410: there's a wonderful thing called perlbrew - lets you try out different perls from the safety of your home directory
without trashing system perl
[01:17]
gac410yeah - I was looking at it a while back - bit of a challenge to install on gentoo. [01:17]
pharveyoh
pharvey keeps hearing gentoo hates perl :)
[01:18]
***GithubBot has joined #foswiki [01:18]
GithubBot[foswiki] foswiki pushed 1 new commit to master: http://git.io/fYStrA
[foswiki/master] Item11187: Amended KML, Vector Layers to have Format:KML,GeoJSON,.. - PaulAlexander
[01:18]
***GithubBot has left [01:18]
FoswikiBothttp://foswiki.org/Tasks/Item11187 [ Item11187: Create OpenLayersPlugin ] [01:18]
gac410Not really I don't think. But it does encourage you to use the package manager. [01:18]
cool - latest gentoo ebuilds has perlbrew ebuild for 0.30 [01:29]
....... (idle for 34mn)
***khnz has joined #foswiki
khnz_ has quit IRC (Ping timeout: 252 seconds)
[02:03]
gac410pharvey after perlbrew, I also have to install all the cpan deps over again? [02:09]
pharveygac410, er sadly yes [02:10]
gac410is cpan smart enough to install in a perlbrew location, or am I pointing a gun at my system [02:11]
pharveyTBH I usually go the VM route, given that my interest isn't palying with perls but trying to anticipate failures on a new environment I'm about to use
perlbrew has its own cpan wrapper thing
[02:11]
gac410oh -- okay I'll look for that. perlbrew switch is not working for me - perl doesn't change. but perbrew use seems to be working fine. [02:12]
pharveyoh, hang on.
you perlbrew switch...
gac410: try http://blog.fox.geek.nz/2010/09/installing-multiple-perls-with.html
[02:13]
gac410yes - and it says execute a shell to use perl. but old perl remains. May be gentoo specific - the env can be a bit different. [02:13]
pharveyIIRC I had the same "can't switch" problem because I was missing some stuff you're supposed to hack into your .bashrc
maybe it's just a matter of munging your PATH
[02:14]
gac410well as long as perl use works, I'm happy.
er .. perbrew use.
[02:14]
***dj_segfault has joined #foswiki [02:15]
pharvey#perl monks keep telling everybody how you should always abandon the system perl because system perl always sucks, and that perlbrew will make your life infinitely easier, cure cancer, save kittens, etc. [02:15]
gac410yeah I was missing a bashrc line - switch working. Well I'm pretty happy with gentoo system perl -
hm. cpan doesn't prompt me to setup. :-(
[02:19]
hm Even though TestRunner.pl is running under 5.14.2, it seems to fire off subcommands under 5.12 [02:35]
.... (idle for 18mn)
pharveydamn >:( [02:53]
gac410the only ones that are obvioius is when it's reporting that it's shelling out to run perl.
no idea about the rest.
[02:54]
pharveydo we stomp on the PATH somehow? [02:55]
gac410no idea. [02:55]
pharveysorry, didn't mean to lead you down a blind alley. [02:56]
gac410Example: Running Fn_SEP
Running: /usr/bin/perl5.12.4 -wT -I /var/www/foswiki/trunk/core/test/unit -I /var/www/foswiki/trunk/core/test/unit/CommentPlugin -I /var/www/foswiki/trunk/core/test/unit/EditTablePlugin -
And I think there is one other place that runs a test like that.
okay - rewrite-shebang - and apache is using my 5.14.2 perl - configure confirms
[02:56]
pharveycool [03:03]
***pharvey has quit IRC (Remote host closed the connection)
pharvey has joined #foswiki
[03:12]
gac410pharvey - adding following to Configure::Types::REGEX seems to resolve the growing regexes: unless ( $^V lt v5.14.0 ) { $value =~ s/^\(\?\^:(.*)\)/$1/; } [03:15]
pharveyI was trying to work on a solution that didn't depend on version sniffing, but if it gets 1.1.4 out, that should be fine
just open a new task waitingfor me so I don't forget (there are some other places I need to think about regex stringification
[03:16]
gac410new task or just add it to Item11287 - that is still Urgent / Confirmed [03:17]
FoswikiBothttp://foswiki.org/Tasks/Item11287 [ Item11287: Problems running under perl 5.14 ] [03:18]
gac410Looks like you must enter REGEX initial values in Foswiki.spec as qr/ / instead of simple quoted strings or things still get stringified differently and confused [03:24]
pharveyyeah, not to mention the Config.spec's (Eg. MailerContrib) [03:26]
gac410and somehow I've totally destroyed my LSC - configure crashing with undefined variable in the path checker. [03:27]
wtf - I'm totally dead - seemed like some really simple changes but LSC is no longer being parsed. [03:33]
pharvey:/ [03:34]
gac410nvm - I suspect I must have had a syntax error with the qr/ / change - maybe an embedded slash.
Changing this to qr/$Foswiki::cfg{SystemWebName}\..*|$Foswiki::cfg{TrashWebName}\..*|.*Template$|TWiki\..*/; - kills configure. I don't get it.
Line was $Foswiki::cfg{Cache}{DependencyFilter} = '$Foswiki::cfg{SystemWebName}\..*|$Foswiki::cfg{TrashWebName}\..*|.*Template$|TWiki\..*';
[03:35]
Ah... the problem is that variables inside a ' ' string are not processed - but inside qr/ / they are.
I think it's okay to leave it a quoted string. Configure reports it as changed on the first save, but it doesn't continue to grow.
[03:44]
pharveythis is with your fix? [03:49]
gac410Yeah. [03:50]
pharveycool [03:51]
gac410nah - not cool - still doubles up in some situations. crap.. [03:52]
pharveyI think fundamentally, we need to avoid stripping bits out, and figure out a way that's stringification-neutral [04:00]
gac410yeah. I'm past the doubling. But now it thinks the fields change every save. :=( [04:01]
***wdenk has quit IRC (Ping timeout: 260 seconds) [04:08]
gac410configure is so blasted complicated [04:14]
pharveygac410: if you can make a failing test for Type::REGEX, I'll have a go at it tonight :) [04:14]
gac410There are no unit tests, and I can't figure where things are being stringified. the Type::REGEX is I suspect too late.
REGEX input routine already has the (?^: prepended.
[04:15]
***wdenk has joined #foswiki [04:21]
gac410the Type routine has 3 methods. prompt - passes the read value out to the CGI. The (?^ is already there. equals - used to compare two values. and string2value - processes user input for save into store [04:24]
pharveyoooh, and I just got a Insecure dependency in mkdir while running with -T switch at /usr/local/src/wiki.trin.org.au/core/lib/Foswiki/Configure/Checkers/Log/Dir.pm line 34.
(trunk)
browser back -> retry, it works
[04:35]
gac410That's a mkdir, so next try the directory exists. [04:37]
pharveyif it's tainted though... shouldn't the mkdir fail? :/ [04:39]
gac410doh yes
Though all this stuff is being read from the files, Even if it was entered, it really isn.t
[04:40]
pharveythe second try succeeds, because... it must be a result of the getCfg etting via LocalSite rather than... Config.spec? [04:40]
gac410There really shouldn't be any way to get taint errors. What's the difference - [04:41]
pharveyah, the guessed setting probably gets tainted from some File::Spec/ENV shenanigans [04:41]
***foswiki_irc5 has joined #foswiki [04:41]
foswiki_irc5anyone here [04:42]
pharveyno! :)
pharvey gets coffee, brb
[04:42]
foswiki_irc5damn! [04:42]
gac410I'm getting nowhere with the regex stuff. My code isn't helping.
whats up foswiki_irc5
[04:42]
foswiki_irc5sorry one min..... [04:43]
gac410even stripping out the (?^: it gets added back in somewhere. [04:45]
foswiki_irc5I have a table created with html like this "<table border="1" cellpadding="0" cellspacing="1"> <tbody> <tr> <td>..." and it looks fine. if I go to tinymce edit, the table looks completely different and viewing the raw wiki text shows the html has been changed. I tried playing with STICKYBITS to no avail
is this most likely a tinymce problem
[04:46]
gac410what type of changes occur [04:47]
foswiki_irc5first thing I see is that the end of a table cell gets changed to </tbody></table>...so the table ends [04:48]
gac410pharvey is probably the better one to think about this. ... the table gets ended prematurely ? strange [04:49]
foswiki_irc5it IS a pretty large table...I guess it's possible some of the html is messed up but foswiki renders it properly but tinymce doesn't like it [04:49]
gac410You can possibly avoid by enclosing the table in <sticky> .... </sticky> so tmce leaves it alone. [04:50]
foswiki_irc5going to put it in an html editor and see if tags match up
ok might do that too
[04:50]
pharveyfoswiki_irc5: if you are able to share the HTML with us (I understand you probably don't want to), that would be terrific.
STICKYBITS only tells WysiwygPlugin's HTML2TML conversion process not to bother transforming certain HTML tags.
If the HTML is mal-formed, (TinyMCE is absolutely anal about wanting XHTML-Strict markup), then between TMCE & WysiwygPlugin it can get re-arranged
[04:51]
gac410If your site is publicly reachable, you could pass the page through the validator - http://validator.w3.org [04:54]
foswiki_irc5pharvey: sorry but I want to avoid doing that if possible. gac410: i'll give that validator a shot [05:03]
gac410It will probably report a lot more errors than you expect - but it might point to improperly formatted table. Or just extract out the table itself to a static page and validate that. [05:04]
foswiki_irc5k i found the problem. there are many cells with mutiple lines using <br />
those multiple lines break the table
if I remove all the break tags it's fine. changing it to <br> or <br></br> or %BR% didn't help
[05:15]
pharveyhrm, they shouldn't break it :/ R% or <br/> should really work... [05:19]
gac410foswiki_irc5 - what release of foswiki & tinymce [05:19]
foswiki_irc5foswiki 1.1.3
as for tinymce...
[05:20]
gac410default with 1.1.3? [05:21]
foswiki_irc51.2.2
no this is an experimental version :-/
[05:21]
gac410definitely more pharvey's space. I just tried a simple multiline cell table on 1.1.4 / TMCE 1.1.11 - seemed to work okay [05:24]
pharveyare you sure the <br/>'s are the problem? They seem to work fine with trunk TinyMCEPlugin
foswiki_irc5: which browser?
(and are you the same person I recommended the Testing version to? :-)
test topic at http://trunk.foswiki.org/Sandbox/TestTopic44742
[05:26]
foswiki_irc5firefox 8. ok I played around with it some more and it's not the break tag. i'll show the exact markup
yes i'm that guy
[05:29]
pharveyif you'd rather E-mail to keep it private I can PM you my email [05:30]
foswiki_irc5i created a custom table that shows the problem. please look at raw edit mode in that topic
and then go to wysiwyg edit
[05:31]
pharveyk
ah
yes, I see now
[05:31]
foswiki_irc5same problem in IE9 [05:32]
pharveyyep, it's caused by the way we make HTML2TML work currently.
hrm
[05:32]
foswiki_irc5so this problem will exist in lower tinymce version too? [05:33]
pharveyI think so, yes. You can try on http://foswiki.org/Sandbox which is running (I think) the latest official
but then again, we changed newline behaviour on trunk
[05:33]
foswiki_irc5oh it works in sandbox [05:34]
pharveydamn :) [05:34]
foswiki_irc5so sounds like i can just downgrade tinymce [05:34]
pharveyyep
and I need to add a test case
thank you so much for this. This is the kind of testing I wanted :)
do you have lots of these tables?
I mean: the one-off solution would be to search/replace newlines inside the <table> with R%
[05:34]
foswiki_irc5yes hundreds. i guess no one's tried to edit since i upgraded
until today
[05:36]
pharveycool
do you have time to create a task?
[05:36]
foswiki_irc5do i have to uninstall then install or can I just click reinstall [05:36]
pharveyjust reinstall
but make sure you've removed Extensions/Testing from your repo list
[05:36]
foswiki_irc5yea i'll create task
yea
[05:37]
pharveythanks!
did you get to test many different browsers?
[05:37]
***gac410 has left [05:38]
foswiki_irc5only ie9, ff8 [05:38]
pharveycool [05:38]
foswiki_irc5Item11312: TinyMCE Corrupting HTML Tables [05:42]
FoswikiBothttp://foswiki.org/Tasks/Item11312 [ Item11312: TinyMCE Corrupting HTML Tables ] [05:42]
foswiki_irc5ahhh much better :)
thx
[05:43]
pharveyta [05:50]
foswiki_irc5night [05:59]
***foswiki_irc5 has quit IRC (Ping timeout: 265 seconds) [06:04]
...... (idle for 26mn)
dj_segfault has quit IRC (Quit: Leaving.)
dj_segfault has joined #foswiki
TheBad has joined #foswiki
[06:30]
TheBadHello to all. Why is %<select name="test"> <option value="1"> </option> <option value="2"> </option> </select>% not working. I am not very familar with PHP but I think it should work. [06:35]
***dj_segfault has quit IRC (Quit: Leaving.) [06:38]
schoosTheBad: why PHP? [06:41]
TheBadgood question. What is it? I want to generate a drop down menu and found the select option would be fine. [06:42]
schoosso, why use the % at all? [06:47]
***wdenk has quit IRC (Quit: Leaving.) [06:49]
TheBadBecause I found I have to write it within % [06:49]
schoossorry, i can't follow you
within foswiki topics, you should be able to just write html code, <select> .... </select> would qualify for that already.
[06:50]
TheBadall right. How to create a drop down menu within foswiki where I can selcet option1 and option2? [06:52]
schoosyou already looked at http://foswiki.org/System/DataForms? [06:55]
TheBadLooks good. Thank you for helping [06:56]
***TheBad has quit IRC (Quit: Page closed) [07:00]
.... (idle for 17mn)
pharvey_ has joined #foswiki [07:17]
pharvey_TheBad: would have also recommended Foswiki:Extensions.FlexFormPlugin - then you can do ENDERFOREDIT{fields="MySelectField"}% [07:22]
FoswikiBothttp://foswiki.org/Extensions.FlexFormPlugin [ FlexFormPlugin ] [07:22]
pharvey_er, % RENDERFOREDIT{fields="MySelectField"}% [07:22]
schoospharvey_: he's gone already [07:25]
***MichaelDaum has joined #foswiki
MichaelDaum has quit IRC (Changing host)
MichaelDaum has joined #foswiki
ChanServ sets mode: +o MichaelDaum
[07:25]
ThomasPHaeck has joined #foswiki
pharvey_ has quit IRC (Ping timeout: 255 seconds)
pharvey_ has joined #foswiki
[07:30]
DeanSpicer has quit IRC (Ping timeout: 255 seconds)
DeanSpicer has joined #foswiki
[07:37]
.... (idle for 19mn)
ModAcOst has joined #foswiki [07:57]
ThomasPHaeck has quit IRC (Ping timeout: 244 seconds) [08:03]
....... (idle for 30mn)
CDot has joined #foswiki
IngoK has joined #foswiki
[08:33]
CDotIngoK: you removing that spam? [08:38]
IngoKHi, I think the movieland entries on http://foswiki.org/Community/BlogCentral are spam, arn't they? I would have removed them myself if I would have been able to leave a comment.
CDot: If that's what you mean, yes I can do.
[08:38]
CDotthe moovieland crap [08:39]
IngoKok [08:39]
CDotCDot is destroying the user [08:39]
IngoKSpam is gone. [08:40]
***hnj is now known as henk [08:41]
CDotuser is destroyed [08:41]
***Colas has quit IRC (Ping timeout: 258 seconds) [08:46]
MichaelDaumCDot, I am currently fixing UpdatesPlugin to (1) use VERSION, not RELEASE to do a numeric comparison (2) make the javascript actually use the local rest handler (3) fixing some use of uninit vars here and there
now one thing I need to get straight: why is my svn $Rev of BuildContrib lower than what is on http://foswiki.org/Extensions/BuildContrib#Contrib_Info in the Version cell?
[08:48]
CDotthe reason i changed it to use RELEASE is that =configure= uses RELEASE
%$VERSION% is the subversion number, and will change to a sha1 when we start using git => no numeric compare
[08:49]
MichaelDaumwell basically UpdatesPlugin reported _all_ of my plugins being outdated now [08:49]
IngoKI think we should also be listed here: http://eos.osbf.eu/nc/software-directory/sw/Project/list/index/F/ [08:50]
CDotwell, it isn't wrong, if your RELEASE is inconsistent with f.o
it reports correctly for me
[08:50]
IngoKAt least T* is listed there http://eos.osbf.eu/nc/software-directory/sw/Project/list/index/T/ [08:50]
MichaelDaumit reports all pseudo-installed plugins ... thats wrong [08:50]
CDotand of course, RELEASE works with pseudo-install [08:50]
BabarMichaelDaum: have you noticed gac410's work on JSCalendarContrib? He had to roll back to a very old version, and we were wondering if all you did to it were fixes after Arthur refactored the code, or if you implemented some new features too [08:51]
MichaelDaummy local plugins are _newer_ ... not _outdated [08:51]
CDotno, it's not wrong. You may need to svn update to get the patest plugins in a checkout
MichaelDaum: that's fine - use the configure algorithm for RELASE comparison
[08:51]
MichaelDaumCDot, where do I find it? [08:51]
CDotbut we said we woud keep it simple by using a != compare [08:51]
MichaelDaum!= is wrong because it reports _newer_ stuff as _outdated_ [08:52]
CDotMichaelDaum: somewhere in Foswiki/Configure/... I guess. Checking.
MichaelDaum: "newer" is a narrow edge-case only affecting devs
[08:52]
MichaelDaumreporting newer stuff as outdated is an error in the code, no matter how edgy the case is [08:53]
BabarMichaelDaum: Foswiki::Configure::Dependency::compare_version [08:53]
FoswikiBothttp://trunk.foswiki.org/System/PerlDoc?module=Foswiki::Configure::Dependency [ (Foswiki login) PerlDoc ] [08:53]
MichaelDaumthx [08:53]
Babaroops, forgot an s [08:53]
CDotthanks Babar [08:53]
MichaelDaumbtw I will add an {ExcludeExtensions} feature to exclude some private extensions from being reported to the outside [08:54]
CDotMichaelDaum: ok. Not much anyone can tell from a name, but OK. [08:56]
MichaelDaumThese are extensions of the kind CustomerNameContrib ... which is not okay to post to f.o [08:57]
CDotCDot is amazed how much Foswiki::Configure::Dependency has changed since he first wrote it. Next editor should remove me as author. [08:57]
***Colas has joined #foswiki [08:57]
MichaelDaumf* this needs to be morphed to js
maybe best to rethink this and do the comparison in perl ... and not in jquery.updates.js as it is now
[08:58]
***IngoK has quit IRC (Remote host closed the connection) [08:58]
MichaelDaumCDot, as I see, we need to change UpdatesPlugin a lot still [08:59]
CDotMichaelDaum: well, our original theory was to pass the installed version back to f.o
... which gives us "phone home" potential too
or we could *force* proxy, and do the compare in the local server
though I don't know if we can assume a server can "phone home"
CDot made the proxy optional becuase he has servers where getResource doesn't work
[08:59]
MichaelDaumthe js code should just trigger a rest call "check_for_updates" and inject a >meta name "nr_outdated_plugins" content="int"> ... no more. the msg will then report this.
CDot, bingo
point is: compare_revisions() is sufficiently complex that it shall not be coded redundantly in configure and updatesplugin, one in perl, the other in javascript.
to reuse compare_revisions from configure, all of the check has to go into perl land
the current rest handler already does most of the heavy lifting already anyway
[09:00]
CDoti understand the argument. However, the "server can't phone home" issue might apply
... mind you, in that case =configure= can't phone home either, which makes the check moot
[09:03]
MichaelDaumwhen the server cant phone home, it cant install updates either [09:03]
CDotsnap [09:03]
MichaelDaum:)
okay.
[09:03]
CDotok, so I agree - simplify the JS, do the check in the local server [09:04]
MichaelDaumwill work on this [09:04]
CDotthanks [09:04]
MichaelDaum... after having my 1rst coffee [09:04]
CDotCDot is deep in the guts of tinymce at the moment, and will die if exposed to oxygen [09:04]
MichaelDaumpharvey, on http://foswiki.org/Development/ConvertDatesToISO
epoch seconds vs iso dates
don't get your last argument
storing a point in time should always be definite ... which epoch seconds are
displaying timezone information is only a matter of the view on that data, isnt it?
[09:06]
CDotMichaelDaum: no, the TZ provides an unambiguous clarification of the meaning of a text date
not just a view thing.
[09:11]
MichaelDaum... which always boils down to one specific point in time [09:12]
CDotdidn't hwsnbn go through twiki "fixing" dates? or was that just iso-formatting the output? [09:12]
MichaelDaumthey did a just use iso dates everywhere [09:13]
CDotCDot vaguely recalls seeing some such activity [09:13]
MichaelDaumthing is: same clock time, different TZs => different epoch seconds computed from it. so no info is lost. [09:14]
CDoterm, no. same clock time => TZ ISO date => clock time is a symmetric transform
an ISO date is an unambiguous way to represent an epoch time
an iso date *without* a TZ is broken, hoever
[09:15]
MichaelDaumsure. but epoch seconds are unambiguous already. [09:16]
CDotyeah, but they are unreadable [09:16]
MichaelDaumstore: epoch ... view: according to your locale settings [09:17]
CDotwhereas "2011-11-30T09:17:15Z" is mostly readable [09:17]
MichaelDaumgiggle
I guess internal formats of dates in real databases are epoch-ish as well, not iso date strings.
[09:17]
***MichaelDaum is now known as MichaelDaum_ [09:20]
MichaelDaum_ is now known as MichaelDaum [09:25]
CDotanother issue with epoch secs is the requirement to read the form (to get the schema) when displaying the topic - something we have tried to avoid up to now. [09:28]
ModAcOstIs there any recommended way to set the view template according to the topic type, eg. use template view.a if topic ends on 'a' or according to some macro? [09:30]
pharvey_CDot: I thought we always end up reading the form anyway.
when you do a renderForDisplay
ModAcOst, have you considered Foswiki:Extensions.AutoViewTemplatePlugin (ships with Foswiki 1.1+)? MichaelDaum has a fork of it which responds to other rules as well
[09:31]
FoswikiBothttp://foswiki.org/Extensions.AutoViewTemplatePlugin [ AutoViewTemplatePlugin ] [09:32]
ModAcOstThank you, will look into it. [09:32]
pharvey_Foswiki:Extensions.AutoTemplatePlugin [09:32]
FoswikiBothttp://foswiki.org/Extensions.AutoTemplatePlugin [ AutoTemplatePlugin ] [09:32]
pharvey_the latter is MD's plugin which can respond to topic name rules
MichaelDaum, CDot: normally I'd agree that $epoch is enough, but curating data carefully is a big deal (and the fact is that the TZ offset cannot be recovered after being converted to $epoch secs)
[09:33]
MichaelDaumpharvey_, why not? [09:34]
pharvey_how do you make an integer store two numbers? [09:35]
MichaelDauman epoch second value can be formated in the same TZ it was entered easily.
MichaelDaum got the feeling to miss something
[09:35]
pharvey_after stripping out the TZ offset, the TZ is lost [09:36]
MichaelDaumso do your users explicitly choose the TZ?
or isnt it more impicit
[09:37]
pharvey_no, these data are sucked in automatically from elsewhere
btw I'm not saying Foswiki shouldn't use $epoch
[09:37]
MichaelDaumbut I see your point now too, havent thought about data with explicit TZ information, even a data record with two datetime fields with different TZs... [09:38]
***henk has left "WeeChat 0.3.6" [09:39]
pharvey_it's an edge-case, so probably too boring vs simplicity of $epoch for mainstream Foswiki [09:39]
MichaelDaumit is edgy enuf to make me change my mind [09:39]
pharvey_let me explain a tiny bit more then [09:40]
MichaelDaumyou were right, I am wrong. [09:40]
pharvey_to help with context
it's when we suck in a specimen record
[09:40]
***ArthurClemens has joined #foswiki [09:40]
pharvey_and it may have been captured partially automatically, partially human transcription
the GPS recording system may have recorded the time/date
and the human may also record date
but the PDA isn't necessarliy in the TZ where they make the record
and even though this all results in the same time anyway, even if the PDA is in the wrong TZ (it's still the correct time, just wrong offset)
the "story" behind the time (with its TZ) makes them feel a lot more comfortable when cross-checking with other input data
[09:40]
MichaelDaumpharvey_, got your point. added according comments to the brainstorm topic [09:43]
pharvey_anyway, it's to aid with later data cleaning
cool :)
FWIW postgres seems to record epoch + timezone in its time type
then, there's other issues I won't even bother with: precision (the DB may return just the day, or maybe the minute, or maybe the second)
[09:43]
MichaelDaumya
and then there's the difference between perl's epoch term not being the same as in javascript.
[09:45]
pharvey_when it comes to geo-location, there's even meta-precision (how reliable is the data's precision info ;-) [09:46]
***henk has joined #foswiki [09:46]
MichaelDaumMichaelDaum reconds paul love-hates his job [09:46]
pharvey_hehe [09:46]
henkhi, I just noticed that in the left upper corner it says “Hello Re Su“ for the user with the wikiname “ReSu”. That seems pretty much wrong to me, IMHO that text should either be the WikiName without spaces, or the loginname, or first and last name. Would anyone agree? [09:47]
SvenDowideit_apparently not :) [09:48]
henkIt’s not supposed to make sense then? [09:49]
SvenDowideit_i tried to persuade people that we should have a 'display name'
but it was 'agreed' that WikiName would be assumed to be spaced outable
[09:49]
henkwow [09:50]
SvenDowideit_course, for a vast majority, this supersimplification - of displaying Main.SvenDowideit as Sven Dowideit
is a reasonable thing
[09:50]
henkSounds like an especially stupid decision to me… sorry [09:51]
SvenDowideit_if you cna make a strong case for why its broken for many users, i'm sure we can revisit it
as it (like so many) was a decision made many many years ago
[09:51]
pharvey_sometimes the first + last is extremely long [09:51]
SvenDowideit_and relates to how the rego form was built before that
henk's point seem different from 'length' too
[09:51]
***Zenopus_ has joined #foswiki [09:52]
henkIt just doesn’t make sense to have First and Last Name mandatory on registering and then using it nowhere, not even in a place where it would sound a lot better than just cutting the WikiName at some point someone thought would make sense. [09:52]
SvenDowideit_(basically, i was hoping to work displayname into the mapper api, but no-one agreed with me at the time)
henk ah, now you're actually pointing out something important :)
[09:52]
pharvey_I think I read somewhere that the only mistake you can make when designing a schema to hold names, is to assume anything about the structure of names (like that there is any first or last parts) :) [09:52]
SvenDowideit_please, remember, we've been doing this for so long, that we __often__ miss the trees for the woods [09:53]
***Zenopus has quit IRC (Ping timeout: 252 seconds) [09:53]
henkSvenDowideit_: I’ll try to. [09:53]
pharvey_pharvey_ wonders what FooMcBar would look like.... Foo Mc Bar ? [09:53]
***Zenopus_ is now known as Zenopus [09:53]
SvenDowideit_basically - your point is very 'doh' - we have firstname lastname fields [09:53]
henkpharvey_: Which is exactly what’s happening here, right? [09:53]
SvenDowideit_we should reiggen use them [09:53]
pharvey_yep [09:54]
SvenDowideit_and only fall back on old naffness WIKINAME if they're not set
SvenDowideit_ asks henk to open a task......
which is yet another way to a. get him involved, and b. a way to get him involved :D
[09:54]
CDotfirstname, lastname is a bad thing. "Given name" and "Surname" less bad, but still bleagh if you only have one name :-( [09:55]
SvenDowideit_point is that what we have is better than what we display [09:56]
CDotCDot used to store given name, surname and nick-name, any two of which could be empty [09:56]
SvenDowideit_the discussion if what we have is bad is separable :p [09:56]
henkSvenDowideit_: IMHO(!) the registration process should _easily_ be modifiable to make first, last, and wikiname optional. Either loginname or wikiname must be given. In all places where a users name is to be referenced it should be the users wikiname or login name whichever is set and whichever the user set to be preferred in his settings. In the greeting however the precedence should be 1. Firstname, 2.
loginname, 3. Wikiname
SvenDowideit_: I would, if I didn’t need an account for that.
[09:57]
CDotto me (minority of one, probably) wikiname == a nickname [09:57]
pharvey_er, I think I already made a task somewhere [09:57]
henkpharvey_: You made one for me regarding the registration customization. [09:58]
SvenDowideit_SvenDowideit_ gives up - henk, i'd fix it, but i'd need to make an effort [09:58]
MichaelDaumCDot, doesn't getResource() already use {PROXY}{Host, Port}? [09:58]
SvenDowideit_and atm, i'm so extremely demotivated that i've not even had breakfast :/ [09:58]
MichaelDaumgetExternalResource that is [09:58]
CDotMichaelDaum: yes; and? [09:58]
MichaelDaumwhat's the new ProxyUrl about in UpdatesPlugin? [09:58]
CDotit's not a "true" proxy. The ProxyUrl points at a URL that can be used instead of f.o
it doesn't simply shovel the request on to f.o - it does some smart processing in the server
[09:59]
MichaelDaum... which is going to be the default soon anyway, right? [10:00]
CDotright# [10:00]
MichaelDaumMichaelDaum simplifying this part a bit [10:00]
SvenDowideit_would apparently, the .pm domain is being opened up in 7 days
anyone in the eu can rego foswiki.pm :)
[10:01]
CDotwhere is .pm?
Martinique! Cool
[10:03]
***Zenopus_ has joined #foswiki
Zenopus has quit IRC (Ping timeout: 248 seconds)
Zenopus_ is now known as Zenopus
Zenopus_ has joined #foswiki
Zenopus has quit IRC (Ping timeout: 248 seconds)
Zenopus_ is now known as Zenopus
[10:05]
MichaelDaum is now known as MichaelDaum_
MichaelDaum_ is now known as MichaelDaum
[10:26]
pharvey_quick IRC poll
I'm too dyslexic to get hilite/hilight/highlite/highlight correct
[10:36]
***vu2mhk has joined #foswiki [10:37]
pharvey_what else could we call the pseudo-thing that replaces chili
%JQREQUIRE{"...something..."}%
[10:37]
vu2mhkHello I need help installing Foswiki
Can anyone help?
[10:37]
pharvey_prettycode sounds naff. So I'm tossing up between %JQREQUIRE{syntax}% or code
vu2mhk: that's what this channel is for, just ask :)
[10:38]
vu2mhkwow thanks pharvey
I have a site at www.acres-wild.com where I have been trying to install Foswiki unsuccessfully for last several years
[10:38]
CDotpharvey: soap [10:39]
pharvey_soap? [10:39]
vu2mhkSorry what do mean by soap? [10:39]
***ArthurClemens has quit IRC (Ping timeout: 244 seconds) [10:39]
pharvey_vu2mhk, several years? (we're having two conversations at once, please continue) [10:39]
CDotpharvey: or "gild" (as in gilding the lily)
or "jalapeno"
[10:40]
pharvey_I was hoping for more boring suggestions :P [10:41]
vu2mhkSo I have uploaded the files and tried to follow instructions on setting the permissions etc but the CONFIGURE file does not seem to open and give INTERNAL SERVER ERROR [10:42]
CDot"nicely", "pretty", "cool" - all pretty boring [10:42]
pharvey_So, %JQREQUIRE{"syntax"}% isn't descriptive enough
MichaelDaum: thoughts?
[10:42]
MichaelDaumsoap like in web-service would clash [10:43]
pharvey_vu2mhk: do you have access to server logs?
vu2mhk: is it apache2 on linux?
[10:43]
MichaelDaumpharvey_, hilite or prettify [10:43]
CDot%JQREQUIRE{"prettify"}% works for me [10:44]
vu2mhkapache I think [10:44]
pharvey_I'm too dyslexic to spell hilite correctly each time :P [10:44]
vu2mhkno I don't have access to the logs... or at least I don't know how to do that :-) [10:44]
MichaelDaumprettify then [10:44]
CDot... except that google-code-prettify could be confused with it [10:44]
MichaelDaumthats by purpose I guess [10:45]
CDothttp://code.google.com/p/google-code-prettify/ [10:45]
pharvey_prettify is still unbranded enough to work, I think [10:45]
CDotthey use <pre class="prettyprint"> [10:46]
MichaelDaumthe default prettifier backend will be the google one, [10:46]
CDotpharvey: "prettify" has been around as a verb wince at least the 1970's
^w^s
[10:46]
MichaelDaumthose classes need a mapping to allow other backends to be used as well [10:46]
pharvey_sure. [10:46]
MichaelDaum:) [10:47]
pharvey_vu2mhk, do you have root access to the server?
or is it on a shared host?
[10:48]
vu2mhkyes it is a shared host. on HOstgator [10:48]
pharvey_for example, debian systems usually store apache logs in /var/log/apache2/...
ah
[10:48]
***ArthurClemens has joined #foswiki [10:49]
pharvey_vu2mhk, sometimes shared hosts give you access to logs relevant to your domain
do you have a cpanel thing?
[10:50]
vu2mhkyes [10:51]
pharvey_is there any access to logs from there? [10:51]
vu2mhksec
opening cpanel....
ok so there is a section called LOGS there....
and one under that called ERROR LOGS
it says Last 300 Error Log messages in reverse order:
[10:51]
pharvey_vu2mhk: try http://pastebin.com if you want to share some bulk text [10:58]
***MichaelDaum is now known as MichaelDaum_ [10:59]
vu2mhkok but what text would you like to see as the logs are mainly about visitor access and not any system errors [11:00]
pharvey_ERROR LOGS should contain errors pertaining to the /bin/configure 500 error
(I hope)
[11:01]
***MichaelDaum_ is now known as MichaelDaum [11:01]
vu2mhkok so I can paste the info from the ERROR log onto pastebin. I have signed up.
Not sure how to paste the info there so you can see it
[11:03]
pharvey_oh, you usually don't need to sign up, but ok [11:04]
vu2mhkso I just paste it there in my page? [11:05]
pharvey_you just paste the text into the pastebin paste area and press submit
then it generates a URL
and you paste the URL here
it's like tinyurl (if you've heard of that), but for text rather than websites
tinyurl/bit.ly/goo.gl etc
[11:05]
vu2mhkhttp://pastebin.com/WFaBB6dG
pharvery, Does that seem right? I have sent the URL
[11:06]
pharvey_vu2mhk: that's right, except this doesn't seem to contain any errors relevant to bin/configure :(
I guess it's possible your webhost isn't giving you those errors in this log.
[11:08]
***terceiro has quit IRC (Quit: Ex-Chat) [11:09]
vu2mhkouch.... so what next? [11:10]
henkThrow away cpanel
SvenDowideit_: Tell me about motivation…
[11:11]
pharvey_it'd be helpful to know if they're running a perl environment that meets Foswiki's requirements [11:12]
vu2mhkhmmm... well not yet henk :-) [11:12]
henkvu2mhk: The sooner the better! [11:12]
pharvey_other things that can go wrong: permissions on the file are incorrect... your webhost has strange requirements for running cgi scripts (that should be documented somewhere).
vu2mhk: so I guess if I were you, I'd try to get a very simple perl script to run without errors
[11:12]
vu2mhkyou mean not use the one that is comes on the host site?
Also any idea how I can do that?
[11:14]
pharvey_in foswiki's bin/ directory, there should be scripts like: configure, view, edit, save... [11:15]
vu2mhkyes [11:15]
pharvey_try creating a new file containing something like this: http://pastebin.com/ERXgXNc4 [11:15]
vu2mhkthere is configure for sure and that is the one that does not work [11:15]
pharvey_Hrm, I wonder if your webhost is using perl 5.14
there's been some fixes for perl 5.14 which aren't in Foswiki 1.1.3
[11:16]
vu2mhksec I can find out about version.... brb [11:16]
pharvey_vu2mhk: you usually need add execute permission on cgi scripts [11:16]
***Colas has quit IRC (Ping timeout: 258 seconds) [11:25]
vu2mhkperl version is 5.8.8 [11:26]
pharvey_ok [11:26]
vu2mhkso is that version ok with foswiki? [11:26]
pharvey_yes [11:27]
***Colas has joined #foswiki [11:38]
foswiki_irc4 has joined #foswiki [11:52]
foswiki_irc4Hi folks, I'm looking for some help with the TagMePlugin, I tried to autmatically create a new topic with the save script and add a tag to it. But somehow I cann't get it to work. The topic is created but without the tag. I really would apreciate help. Thanks [12:05]
.... (idle for 19mn)
***dj_segfault has joined #foswiki [12:24]
Martin_ has joined #foswiki
foswiki_irc4 has quit IRC (Quit: Page closed)
packoman has joined #foswiki
[12:31]
packomanhey everybod. [12:36]
SvenDowideit_mmmm [12:36]
packomanshort question: what is the recommended way for uploading large files to foswiki? [12:36]
SvenDowideit_WikiApp-ified DashboardContrib
http://foswiki.org/Main/SvenDowideit
packoman i use scp
[12:36]
packomanI am taking dvd-isos and the like
ok. and how do I attach them
[12:36]
SvenDowideit_and then the updateAttachmentPlugin
http://foswiki.org/Extensions/UpdateAttachmentsPlugin
[12:37]
packoman"As this is a RestHandler? based plugin, you can trigger it to run from a suitably authenticated URL (it will only update topics your user as permission to edit) - for example, to update the Sandbox web "
what is a "suitably authenticated URL"?
one inside my wiki?
will I need do something to get this working?
[12:39]
SvenDowideit_you'll need to install it, and then enable it form configure [12:40]
packomanok.
so nothing more than that
then I am good. if I have problems you'll hear from me ;)
@pharvey: sorry that I have been absent the past weeks and not continuing the BibtexFormfiledPlugin-baby.
I am currently drowning in work
[12:40]
are autoattachments deprecated?
I found a topic on that and thought I had seen the plugin(?) somewhere. So I was surprised when I saw that topic about it's deprecation just now
[12:47]
SvenDowideit_the core functionality is deprecated
because it slows every view request down
but its still there incase some people need it
[12:50]
packomanok. good to know. cause if I hadn't found the topic on the deprecation I might have used it
thanks
[12:51]
SvenDowideit_i owuld have hoped that the setting in configure would also tell you :) [12:55]
packomanhm. actually I was just look for it and I didn't find where to activate it. honestly I wasn't really close to making the mistake, since I started googling before actually trying to activate it. But I just had the AutoAttachmentPlugin in the back of my mind since I looked at it long ago. And the UpdateAttachmentsPlugin in the installation list of plugins is described as:
"A batched alternative to AutoAttachments (adds and removes attachments)"
which doesn't really sound like it is actually the *recommended* way. Anyway as long as I know all is good
:)
[12:58]
SvenDowideit_vu2mhk http://foswiki.org/Sandbox/FoswikiHelp#foo_2 [13:01]
***dj_segfault has quit IRC (Quit: Leaving.) [13:01]
CDotCDot wonders if there's a single bit of DVD ripper software out there that actually works :-( [13:02]
SvenDowideit_giggle
http://foswiki.org/Main/SvenDowideit
as a wikiapp
i'll bet I did something wrong, but its all in the WikiApps web
[13:03]
henkCDot: I just use mencoder… [13:04]
SvenDowideit_i'm somewhat curious how the lack of namespacing will affect things [13:04]
CDothenk: it's mencoder that keeps dying on me [13:04]
SvenDowideit_CDot's ripping chinese dvds :) [13:04]
CDot(using it via k9copy)
SvenDowideit: no, I'm ripping a mate's holiday DVD; he wants it on FB, but has lost the source
[13:04]
henkCDot: Without k9copy too? [13:05]
CDotnot tried without k9copy - scared of the mencoder options :-( [13:05]
***ArthurClemens has quit IRC (Read error: Connection reset by peer)
ArthurClemens has joined #foswiki
[13:05]
CDotcan't get Handbrake to work either. It's looking like the mencoder options hell is beckoning [13:08]
henkCDot: "mencoder -vf crop=<INSERT_PROPER_VALUES> -oac copy -aid 130 -ovc lavc -lavcopts vcodec=mpeg4:vpass=1:mbd=2:trell:v4mv:turbo" is an alias I set some time ago [13:08]
***DeanSpicer has quit IRC (Ping timeout: 244 seconds) [13:08]
CDotCDot has no idea what most of those options mean [13:08]
henksame vor aid of course and you probably have to increase vpass after the first run. The mencoder manpage and homepage have command line examples for common use cases too. [13:09]
***DeanSpicer has joined #foswiki [13:09]
CDothmph; mplayer won't play the DVD either. Odd..... [13:10]
ArthurClemensCDot: http://www.wikihow.com/Rip-DVDs-with-VLC [13:11]
CDotArthurClemens: giving it a try..... [13:12]
ArthurClemensSvenDowideit: looks good that personal page [13:18]
SvenDowideit_ArthurClemens :) its a start
gotta make it cfg-able
and i need to work out how to over-ride the WikiApps install/try automation
as i'm doing something with it that i shouldn't
[13:19]
CDotSvenDowideit: override it? all it does is copy a bunch of topics..... [13:23]
SvenDowideit_i'm starting to wonder about using the same thing for the sidebar - for users that want one :)
CDot exactly
and for http://foswiki.org/Main/SvenDowideit
http://foswiki.org/WikiApps/WikiDashboardOverview
[13:23]
CDotyay! /me had added a button to TMCE! WTF is it so difficult? [13:24]
SvenDowideit_i'm abusing that [13:24]
ArthurClemensI have once created an interaction design for an intranet that used IBM websphere 2. Each component has a management page, for instance to select RSS feeds [13:24]
SvenDowideit_as it doesn't need the topics to be copied to try it out :)
yup, that needs to happen too :/
[13:24]
ArthurClemensbut dragging the order, and minifying should be done by just clicking
so it looks a dashboard is a place for mini apps
[13:24]
SvenDowideit_minify works, dragging works - but all un-persistently
for me its also a quick look into the larger apps that i'm using
[13:25]
ArthurClemensI wonder where the display of those apps is managed, css and such [13:26]
SvenDowideit_atm, each widget is its own topic [13:26]
ArthurClemensbecause the dashboard cannot know which apps will be shown [13:26]
SvenDowideit_and there's nothing styling them at all, but i want to try to keep each in that one topic
as in, WikiApp.MyTasksWidget should contain everything needed for the my tasks widget
though I'm also going to prod the idea of putting all the widget definitions into the Form definition topic :)
(if) there is only one widget for a forms app
[13:26]
vu2mhkSven, thanks for link but did not understand how to use it. My problem is setting up foswiki on my site. [13:42]
CDotvu2mhk: I think he was pointing you at http://fosiki.com/Foswiki_debian/
which will allow you to set it up on Ubuntu
[13:46]
SvenDowideit_i sure was
and will thus dissappear :)
mmm
can someone quickly fix http://foswiki.org/System/PatternSkinCssCookbookNoLeftBar
so that it works for standard patternskin _and_ foswiki site pattern?
[13:47]
packomanok. so great thing the UpdateAttachmentPlugin works, BUT there is one drawback. Alle those little PNG's created by the LatexPlugin are now also being attached to the topics. Which have names like "latex9c516c0238b0b3530b774899dcc0cf5a.png" and in some topics there are alot of them
is there a way to filter what is attached?
eg with a regular expression or something?
Furthermore what I don't understand, is that I called the REST-handler with just the name of the topic I wanted to update, but it update the whole Main-web not just that topic
oh. and is it a problem that my files in PUB that I upload end up having ROOT-permissions and not those of www-data?
since I upload them using SCP...
[13:51]
vu2mhkCDot and Sven sorry for the confusion. I was not asking about Ubuntu. That was just me editing into a someone elses sandbox query that was about Ubuntu. I want to set up independently on my site www.acres-wild.com and have uploaded all the files but it gives server error when I try to run CONFIGURE. That is where I am at present. Any help appreciated. [13:55]
henkvu2mhk: Find the proper logs [13:59]
***Martin_ has quit IRC (Remote host closed the connection) [14:01]
vu2mhkHenk sadly I got no further help from the hostgator guys. They gave me 8 lines of log that was a part of what I found on cpanel [14:02]
SvenDowideit_i would request a refund and move to a more helpfu hoster - like dreamhost
i just removed 3 separate hostgator spam accounts from foswiki.org
and honestly, its almost impossible to guess how any hoster has set up their stuff
last time i did it for someone (on another unhelpful hoster) it took the better part of a day of my time
[14:03]
CDotSvenDowideit: how do you know they were spam accounts? Silly names? [14:04]
SvenDowideit_and thus cost the person involved much more than their hosting bill for their lves.
CDot yup
[14:04]
packomanum. upload an HTML attachment I get the following:
You don't have permission to access /pub/Main/SoftwareMaple/RV_Aviso_de_recogida_del_maple15linux.html on this server.
any reason why?
the other non-HTML file works
[14:04]
SvenDowideit_probably - your logs will tell you
packoman chances are, incorrect permissions for apache to access the file
[14:05]
packomanhm. but I uploaded it through the wiki
I don't get it
[14:06]
SvenDowideit_in that case, look at the logs, and what the file is really called
the logs tend to tell you the truth, rather than making shit up and wising you knew what was going on
when the logs don't help, then its time for a-wish-in
[14:06]
vu2mhkThanks for suggestion Sven.... will consider it but not sure what it takes to move host. Am a bit nervous about that. But will check out dreamhost details also. Actually I don't need a refund from hostgator as paying monthly the main thing is how to move etc. [14:07]
packomank. [14:07]
SvenDowideit_SvenDowideit_ finds hist f.o dashboard much more useful now that it turns off the sidebar :) [14:07]
packomanhm. are you refering to the foswiki logs
or apache
[14:09]
SvenDowideit_packoman yup
as in, both, tho i use the apache ones first, other people look at the foswiki ones first :)
[14:10]
packomanman. mathematical 'or' darn... [14:11]
***terceiro has joined #foswiki [14:18]
gac410 has joined #foswiki [14:23]
packomanok. so this is weird. I can open the HTML attachment on disk, when I upload it and try to open it from the wiki I get the error. Same thing, when I download it (which I *can*) and open it from disk [14:23]
SvenDowideit_but what do your log files tell you. that will tell you the facts [14:25]
packomanhm. somehow the file also gets screwed up in the process. it has 343KB before upload [14:25]
SvenDowideit_s/will/should/ [14:25]
packomanI can't find any entry in the logs [14:25]
SvenDowideit_nothing in the apache error log file? [14:25]
packomannope
where would you expect it to end up?
eg. in which log file
[14:25]
SvenDowideit_depends on how apache is set up
in my debian boxes /var/log/apache/error.log
[14:26]
packomananyway I can't find an entry [14:26]
SvenDowideit_or one of the custom vhost logs i set up [14:26]
packomanlet me check [14:26]
SvenDowideit_i dont actually parse your statement successfully
as it reads as though you can download the file, but are failing to download the file
which clearly should be a parse issue
[14:27]
packomanok. thanks found it:
[Wed Nov 30 15:22:07 2011] [error] [client 147.96.95.100] client denied by server configuration: /var/www/wiki.monroylab.com/pub/Main/SoftwareMaple/Aviso_de_recogida_del_maple15linux.html, referer: https://147.96.95.60/Main/SoftwareMaple
[14:28]
SvenDowideit_:)
much truthyness in logs
SvenDowideit_ dissapears to pick up girls
[14:28]
packomanok. thanks. I'll try to figure it out [14:29]
henkSvenDowideit_: diss a pear? What’s the point? :-p [14:30]
SvenDowideit_mmm, good, need to buy pears, girls like them [14:30]
gac410Ah packoman. One of the options of ApacheConfigGenerator is to block html attachments to prevent some spamming. [14:31]
jomojomo now understand why most of the foswiki manuals are too complicated… ;) [14:31]
***GithubBot has joined #foswiki [14:32]
GithubBot[foswiki] foswiki pushed 1 new commit to master: http://git.io/askHjg
[foswiki/master] Item11264: - MichaelDaum
[14:32]
***GithubBot has left [14:32]
FoswikiBothttp://foswiki.org/Tasks/Item11264 [ Item11264: create UpdatesPlugin ] [14:32]
gac410I think we are down to one small problem I'd like to fix before generating 1.1.4RC. On perl 5.14 configure messes up regexes on each save due to changes in perl stringificatoin of regexes.
Item11287
[14:33]
FoswikiBothttp://foswiki.org/Tasks/Item11287 [ Item11287: Problems running under perl 5.14 ] [14:34]
packomanguessing it's this one(?):
# Block access to typical spam related attachments
# Except the Foswiki directory which is read only and does have attached html files.
SetEnvIf Request_URI "/pub/.*\.[hH][tT][mM][lL]?$" blockAccess
SetEnvIf Request_URI "/pub/System/.*\.[hH][tT][mM][lL]?$" !blockAccess
[14:34]
gac410yeah that's the one. [14:35]
packomancan I safely comment the line out completely? It's a private wiki... [14:35]
***foswiki_irc9 has joined #foswiki [14:35]
packomanoh. yeah and I trust the people in my group :) [14:35]
gac410yes - it's optional in the ACG. - comment out both SetEnvIf statements. [14:36]
foswiki_irc9hello all, I am proud to say after 2 weeks I am the proud mom of a bouncing baby wiki
gac you have been terrific
this is ba2trinity
[14:36]
gac410excellent. Glad to hear. [14:36]
foswiki_irc9it ended up being a CGI-bin issue in the httpd file
had to dig wayyyyy deep in documentation to find it
anywya
[14:36]
gac410some of the per-distribution differences in apache setup can be really tough. [14:37]
foswiki_irc9hopefully quick question
yeah
exactly
when I go to register users I am getting an error that the register must be called from POST
have you seen this before
[14:37]
packomansecond the statement about terrific. thanks for the help gac, it works now! [14:38]
foswiki_irc9:)
sure
[14:38]
gac410foswiki_irc9: so IIRC this is all a new 1.1.3 installation - nothing old in templates, etc.
are you using "short URL's" if you hover carefully over your links, do they match what is in the url bar.
ie could the links be "/foswiki/bin/... " and then get redirected to "/bin/..."
[14:41]
foswiki_irc9ok [14:42]
gac410If shorturl's is not set up right, then register will be redirected and changed from a post to a get. [14:42]
foswiki_irc9yes this is a new installation
ok
i will verify in foswiki.conf file
[14:42]
gac410just hover over a link on the page.
Where does the browser indicate the click will go - typically shows it on the bottom of the browser.
[14:43]
***Babar sets mode: +oooo ArthurClemens Colas CDot gac410
Babar sets mode: +ooo pharvey_ pharvey terceiro
MichaelDaum is now known as MichaelDaum_
terceiro has quit IRC (Ping timeout: 248 seconds)
MichaelDaum_ is now known as MichaelDaum
[14:45]
BabarMichaelDaum: did you read my earlier warning about JSCalendarContrib btw? [14:49]
foswiki_irc9I am in my chicken and egg phase, i don't have the foswiki.conf file in conf.d because I don't have users in .htpasswd and will get an access denied when I try to setup [14:49]
MichaelDaumMichaelDaum not sure I ever tinkered with jscalendarcontrib besides educated guessing/fixing [14:49]
BabarMichaelDaum: then that's fine :)
foswiki_irc9: just create a dummy .htpasswd: htpasswd -c /path/to/.htpasswd admin
[14:50]
gac410foswiki_irc9: file would be LocalSite.cfg in data directory - nothing to do with foswiki.conf [14:50]
foswiki_irc9ok everytime I add the foswiki.conf file I lose the ability to access the site
even with a dummy .htpasswd file
[14:51]
gac410Babar - what does .htpasswd have to do with register complaining about POST vs. GET [14:51]
foswiki_irc9i need to set the short urls
which I would do in foswiki.conf
apparently
[14:51]
Babargac410: nothing :) [14:52]
gac410what is foswiki.conf ??? are you on debian? [14:52]
foswiki_irc9no rhl [14:52]
Babarah yes, maybe. Like if foswiki.conf is wrong, then register is wrong, and you get the POST vs GET [14:52]
foswiki_irc9it is the .conf file I add to the /etc/httpd/cron.d directory [14:53]
Babarfoswiki.conf = apache.conf
but first...
[14:53]
foswiki_irc9you know the foswiki.http.txt file default thing [14:53]
Babarfoswiki_irc9: gac410 asked you to check what link was displayed on the page
we still have that? I thought we told people to use the ApacheConfigGenerator
[14:53]
foswiki_irc9the instructions list it as a "plan b"
I did use the online generator
[14:54]
gac410we ship a sample - but his site is working right now If the web server lets you get at configure and view, forget about foswiki.conf for now. [14:54]
foswiki_irc9here is the url
https://10.18.112.205/SOCWiki/bin/register?foswiki_redirect_cache=c33a1960a210c1a12bbe18f6f53442b5
ugh forgot to scrup ip - sorry
[14:55]
Babarthis is bad [14:56]
foswiki_irc9nice
that wasn't really what I wanted to hear
[14:56]
Babarbecause the foswiki_redirect_cache means it converted it from POST to GET [14:57]
foswiki_irc9exactly [14:57]
Babarand this is the end URL, not the one displayed on the page, is it? [14:57]
foswiki_irc9and the users aren't registering
not sure I follow
[14:57]
***packoman has left [14:57]
Babarto register, users click some link
or...
[14:57]
foswiki_irc9I went through the register [14:58]
CDotlooks like register is in AuthScripts to me [14:58]
foswiki_irc9when I hit the submit button, I get this
and it says your user wasn't registered because this should come from a POST
what did I do wrong
[14:58]
Babaryes CDot, that was my guess now :)
foswiki_irc9: can you check your AuthScripts please?
[14:58]
foswiki_irc9ok [14:59]
Babarconfigure => Security and Authentication => Login => AuthScripts [14:59]
CDotBabar: actually no, that would give a login?foswiki_redirect_cache= [14:59]
Babaryeah, then... ah, yes [14:59]
foswiki_irc9just to let you know, as I have told gac, I am a hack [14:59]
CDotmore likely the registration is failing because [14:59]
Babarfoswiki_irc9: next, now we've checked that... can you view the HTML in the page where you have the registration form?
and check for the <form method="POST" action="...">
[15:00]
foswiki_irc9the original form or the error
ok
[15:00]
Babarthe original form
paste / scramble the action link
[15:00]
gac410foswiki_irc9: never worry about 10.x.x.x IP's they are not routable in the internet. [15:00]
Babaris it /SOCWiki/bin/register, or ... [15:00]
foswiki_irc9i do know that, but in my company all IP info is confidential even 10.
so I am used to scrubbing
[15:01]
Babarbut we don't know your company :)
oh... pharmaceutical :)
anyway, the action link please (scrubbed)
[15:01]
foswiki_irc9div class="registration"><form name="registration" action="/SOCWiki/bin/register/Main/WebHome" method="post" onsubmit="StrikeOne.submit(this)"><input type='hidden' name='validation_key' value='?63117e879e433d63d4d95ff9f43f4fc8' />
this?
[15:03]
CDotArthurClemens: VLC got 95% of the way through before it crashed. Very slowly. [15:05]
Babarfoswiki_irc9: yes, exactly this
but this looks perfectly fine to me :(
[15:07]
gac410CDot, Babar, anyone with Perl 5.14 available? [15:08]
Babargac410: yes
trying now
already :)
perlbrew ftw!
[15:08]
gac410yeah - i got perbrew (and rewrite-shebang) going last night. (@#$(*& REGEX enconding in configure.
Seems like it is a simple problem. I've stripped the (?^: ) wrapper in Types::REGEX on input, compare and output, in loops, stripping until none present. Debug print shows them as stripped. And Foswiki.cfg still grows.
er. LocalSite.cfg
Even commented out the $value = qr/$value/ in the save - and it still grows.
They grow even with Foswiki says the field is not changed.
Something fundamental in the file I/O maybe?
[15:09]
CDotCDot doubts that [15:13]
gac410well somewhere else in configure other than Foswiki::Configure::Types::REGEX [15:13]
BabarBabar is having issues with perlbrew, encrypted partitions and apache... [15:13]
FoswikiBothttp://trunk.foswiki.org/System/PerlDoc?module=Foswiki::Configure::Types::REGEX [ (Foswiki login) PerlDoc ] [15:13]
Babarneed to recompile my perl 5.14 outside of my encrypted dir :(
let's hope I did it right...
ok, this time I did it properly... so... waiting for perlbrew to do its magic...
[15:13]
gac410What I'm doing is a grep for {NameFilter} before and after the "2nd" save. (remove lsc, save, grep, save, grep )
qr/(?^:[\s\*?~^\$@%`"'&;|<>\[\]#\x00-\x1f])/; is changed to
qr/(?^:(?^:[\s\*?~^\$@%`"'&;|<>\[\]#\x00-\x1f]))/;
[15:18]
Babarthat looks like a perl 5.14 bug to me :) [15:20]
gac410And the "stripping" code I've added all over the place is while ( $value =~ s/^\(\?\^:(.*)\)/$1/ ) { }
I'm wondering if somehow we are causing perl to "loose track" of it being a regex.
what is $value = "$value"; supposed to do?
[15:21]
foswiki_irc9so if my post method is correct
I wonder where I am "losing" it
[15:31]
gac410can you check your apache log - find the initial post - is there a redirect? (Or use firebug to trace the network traffic when you "post" your registration) [15:32]
jomoin my LocalSite.cfg the NameFilter is: qr/(?^:(?^:(?^:(?^:(?^:(?^:(?^:(?^:(?^:(?^:(?^:(?^:(?^:(?^:(?^:(?^:(?^:(?^:(?^:^[^\s\*?~^\$@%`"'&;|<>\x00-\x1f]+$)))))))))))))))))))/; [15:37]
foswiki_irc9ok so here is another oddity, the initial user I "registered" shows up in .htpasswd, but the second one doesn't although I got the error both times, when I try to go to the admin group to add the original user to admin to continue i get an access denied
with this error
Access check on Main.WebHome failed. Action "VIEW": access not allowed on web.
now if I remember this could be in Webpreferences. txt
right
and in there you must be a member of two defined groups to view
(that is how we set up by default) but I can't get anyone into a group
[15:37]
gac410Main.WebPreferences shouldn't have any view restrictions by default.
jomo - are you using perl 5.14?
foswiki_irc9: Does your registration send you and email? If email is not working, then registration will fail part way through.
[15:39]
foswiki_irc9hmmmm, I don't know
i put the email in but didn't get one for myself (the first user)
will check
[15:40]
jomogac410: yes ;)
the regex is growing
[15:41]
gac410So every time you save the config, all your regexes will grow with another (?^: )
I guess we really do need to fix this for 1.1.4.
[15:44]
***terceiro has joined #foswiki [15:45]
ThomasPHaeck has joined #foswiki
terceiro has quit IRC (Quit: Ex-Chat)
[15:51]
gac410Tracing through the save - the extra wrap seems to be added in $this->{valuer}->currentValue($visitee);
Sigh... Valuer.pm sub _getValue has some regex code to strip the ?-xism wrapper. Probably need to add the new 5.14 wrapper as well.
Code says # SMELL: Really shouldn't do this unless we are sure it's an RE, but the probability of this string occurring elsewhere than an RE is so low that we can afford to take the risk.
Babar - that's the fix.
Add while ( $val =~ s/^\(\?\^:(.*)\)$/$1/ ) { } # 5.14 RE wrapper
after the SMELL in Foswiki::Configure::Valuer::_getValue()
[16:00]
FoswikiBothttp://trunk.foswiki.org/System/PerlDoc?module=Foswiki::Configure::Valuer [ (Foswiki login) PerlDoc ] [16:07]
gac410And add a smell into Types::REGEX pointing to the other location of regex cleanup. [16:09]
***Alexander has joined #foswiki
Alexander is now known as Guest34657
Guest34657 is now known as AlexanderSt
[16:15]
gac410That fixes it. regex stops growing. [16:17]
AlexanderStMichaelDaum: Hi Michael, short question regarding solr. is it possible to get an autocomplete request for only one web? [16:17]
gac410Now - do I need to make this conditional on perl 5.14, or is the wrapper unique enough it can just do the clean for any perl. [16:17]
MichaelDaumAlexanderSt, of course: add a filter param to the autocomplete url [16:18]
AlexanderStso its done like : ?filter=web:Schulung
?
[16:19]
MichaelDaumsomething like http...rest...autocomplete?filter=...yes [16:19]
AlexanderSti see, perfect!
thanks
how is your schedule next january...i think we will have some work for you ;)
[16:20]
MichaelDaum02.01. and 16.01.-18.01. are booked already. rest available. [16:24]
gac410Babar, pharvey, committed fix to the growing regexes in configure on perl 5.14. Please check it out. I think this was the last roadblock to 1.1.4 RC [16:28]
Babarcool! [16:29]
***ThomasPHaeck has quit IRC (Ping timeout: 244 seconds)
MichaelDaum is now known as MichaelDaum_
[16:29]
gac410There is the Wysiwyg focus issue, but I'm not going to let that block the release. [16:31]
***GithubBot has joined #foswiki [16:33]
GithubBot[foswiki] foswiki pushed 1 new commit to Release01x01: http://git.io/AUOrKw
[foswiki/Release01x01] Item11287: regex cleanup in configure for 5.14 - GeorgeClark
[16:33]
***GithubBot has left [16:33]
FoswikiBothttp://foswiki.org/Tasks/Item11287 [ Item11287: Problems running under perl 5.14 ] [16:33]
***MichaelDaum_ is now known as MichaelDaum [16:33]
foswiki_irc9hello all, again, when I added the foswiki.conf file my wiki pages quit rendering correctly, now none of the graphics show and the frames are gone
has anyone seen this before
i thought it might be mod-perl
so I went back to cgi
doesn't seem to make a difference
[16:41]
***GithubBot has joined #foswiki [16:46]
GithubBot[foswiki] foswiki pushed 1 new commit to master: http://git.io/0XTP0w
[foswiki/master] Item11287: regex cleanup in configure for 5.14 - GeorgeClark
[16:46]
***GithubBot has left [16:46]
gac410foswiki_irc9: probably your pub path is wrong - can you please pastebin your foswiki.conf? http://pastebin.com/
What are you replacing with foswiki.conf - How is it working without one. It must be configured somehow in apache
[16:52]
***Colas has quit IRC (Ping timeout: 258 seconds)
ModAcOst has quit IRC (Remote host closed the connection)
[16:57]
BabarCDot: how can I debug utf-8?
I mean... I can't trust perl print to show me what's in there... so how do you do it?
[17:04]
foswiki_irc9i am copying to the conf.d directory
it works okay without it, it seems, but configure is open
[17:05]
***henk has left "WeeChat 0.3.6"
foswiki_irc1 has joined #foswiki
[17:06]
foswiki_irc1Hi! I have migrated foswiki to a new server and some previous users are unable to login or change their password. They receive an error that their is no entry in the password system for them.
what is the workaround?
[17:11]
gac410Did you migrate the .htpasswd file?
it's a hidden (on linux) file in the data directory by default
[17:12]
foswiki_irc1Gi Gary! And no, I did not migrate the password file [17:13]
gac410foswiki_irc9: I need to see what you are copying into the conf.d directory. (And what it is replacing.)
foswiki_irc1: That would do it. Need to copy .htpasswd from the old server. Hopefully nobody new has registered on the new site, otherwise you need to merge the files.
[17:13]
foswiki_irc1I honestly don't know if the file is still available from the old server [17:14]
gac410Do you have a backup then? [17:15]
foswiki_irc1What is the typical path to the data directory (Linux/Ubunutu)
Maybe
[17:15]
gac410The email addresses and passwords for your users are in the .htpasswd. [17:15]
foswiki_irc1the funny thing is that most Most users are logging in fine.
ls -al
[17:16]
foswiki_irc9i replace the whole conf file [17:16]
gac410foswiki_irc9. Please pastebin your old conf file, and your new conf file. I have to see them to understand what is wrong. [17:17]
foswiki_irc9# Autogenerated httpd.conf file for Foswiki. [17:17]
foswiki_irc1ok [17:17]
gac410foswiki_irc9 NOT HERE... [17:17]
foswiki_irc1Yeah, I'll try to figure out paste-bin [17:17]
gac410foswiki_irc1 I don't need your files. Tha't for foswiki_irc9 [17:18]
foswiki_irc1ohh, ok! :-) [17:18]
gac410back to foswiki_irc1 with the some users cannot login problem. Get the login name of a user who cannot log in. Is it in the data/.htpasswd file?
format of file is loginname:<encrypted password>:email@address
[17:19]
foswiki_irc1no he's not in their [17:20]
foswiki_irc9i don't kinow what paste-bin is [17:21]
gac410So you can either delete the user topic and entry in WikiUsers.txt, and have them re-register. Or find the old .htpasswd file and restore the entry for that user w/ cut/paste
foswiki_irc9. http://pastebin.com/
[17:21]
foswiki_irc1ok. Where is WikiUsers.txt? in ./data [17:22]
SvenDowideit_wow
we send alot of 500's
guess if we really want to start buzzing, we need to implement the robot rewrite to cached and simplified html
[17:23]
gac410sorry. WikiUsers.txt is the topic Main/WikiUsers you can edit that in the wiki as admin. Don't edit the text file. [17:24]
foswiki_irc1Something's goofy. This list contains only a partial list of my users and the one in question isnt shown
Yet it won't allow his registration because ...
[17:25]
gac410Doe the users topic exist in main. ie Main/<SomMissingUser> [17:26]
foswiki_irc1He's already registered and connl register writes
yes
http://jupiter1/foswiki/bin/view/Main/WikiUsers
[17:26]
gac410Okay - so Topic exists in Main web. but is missing from the Main/WikiUsers topic, and is missing from the .htpasswd file. [17:28]
foswiki_irc1correct [17:28]
gac410Is email configured correctly? Can Foswiki send an email during user registration? [17:28]
foswiki_irc1yes [17:28]
gac410When you migrated, did you copy Main/WikiUsers.txt and data/.htpasswd, or are all the working users newly registered [17:29]
foswiki_irc1Come to think of it. I beleive I copied the entire folders so more than likely they were included. But I honestly can't remember specifics as its been a couple of months [17:30]
gac410I think you need to find your backup of the old wiki. and compare the Main/Wikiusers.txt file and data/.htpasswd files on the old server to the same files on the new server. [17:31]
foswiki_irc1ok- I'm heading for Backupmypc now [17:31]
gac410Or if the user's personal topic exists. Add an entry for the user to Main/WikiUsers, and add an entry in data/.htpasswd loginname::email@address Then password reset ought to work. [17:32]
foswiki_irc1I like the last suggestion best [17:32]
gac410Okay. So for user - let's say it is "JoeMissing" Make sure that Main/JoeMissing exists. Then add the entry JoeMissing to Main.WikiUsers, and carefully!!! (make a backup) edit data/.htpasswd and add JoeMissing::joes@email.addr
Best to do this when nobody can register or change passwords, or you could possibly have a collision of the changes to .htpasswd
If Main.JoeMissing is ... missing ... then they should be able to register
[17:34]
Babar"Insecure dependency in open while running with -T switch " is what I get when I try to use configure on 5.14 :( [17:36]
foswiki_irc1gac410, it still failed. [17:41]
foswiki_irc9ok setup pastebin, now what
how do I let you see it
[17:41]
gac410paste the url here
Babar. I think pharvey ran into something like that - I have not encountered it though.
http://irclogs.foswiki.org/bin/irclogger_log/foswiki?date=2011-11-30,Wed&sel=113#l109
[17:42]
foswiki_irc1do I need to restart apache? [17:45]
CDotpharvey: what happens when you try to push to my github repo? i set it as open to you as I know how..... [17:45]
gac410foswiki_irc1 what fails [17:45]
foswiki_irc1Error: The entry for user JeremyVillalva was missing in the password system. [17:46]
gac410If you are running mod_perl or fcgi and edited .htpasswd, yes you need to restart [17:46]
foswiki_irc1I cannot register the user because it already exists [17:46]
BabarCDot: I think I managed to push to your github repo, so he should be able to too [17:46]
gac410Does topic Main/JeremyVillalva exist? [17:46]
CDotBabar: that's what i thought, but he says he can't :-( [17:47]
gac410Does JeremyVillalva exist in Main/WikiUsers ... in correct alphabetical order? [17:47]
Babarmaybe he did something stupid... like non-fast-forward push? :) [17:47]
gac410And does JeremyVillalva::jeremys@email exist in .htpasswd [17:47]
foswiki_irc1checking
User exists at: http://jupiter1/foswiki/bin/view/Main/JeremyVillalva
[17:47]
gac410Okay - how about in WikiUsers and .htpasswd [17:48]
***padraig_lennon has joined #foswiki [17:50]
foswiki_irc1"/var/www/foswiki/data/.htpasswd" contains :JeremyVillalva::jvillalva@dylanaero.com [17:51]
gac410So last place to check correct location in Main/WikiUsers. If that all looks good, restart apache, and see if that user can do a ResetPassword. [17:53]
SvenDowideit_padraig_lennon http://foswiki.org/Main/SvenDowideit is now in http://foswiki.org/WikiApps/WikiDashboardOverview [17:53]
foswiki_irc9http://pastebin.com/LpH9G2m2 [17:53]
FoswikiBot[ WikiDashboardOverview ] [17:53]
SvenDowideit_and boyo is it not a 'correct' use of WikiApps atm :) [17:53]
gac410foswiki_irc9 This is the failing file? Can you also pastbin the one that is working - I'd like to compare them. [17:55]
foswiki_irc9niether of them are working
they both cause the site to lose frames, etc
the only difference in the two is mod-perl versus cgi
[17:55]
gac410I thought that you were trying to protect configure. [17:56]
foswiki_irc9when i remove the .conf file my pages render correctly again
well, yes, I need the file to do that
but when I "install" it my wiki view breaks
by view I mean the way the pages render
[17:56]
gac410*Something* must be configured in apache for the site to work when you remove foswiki.conf. I'm really confused. [17:56]
foswiki_irc9you and me BOTH
LOL
of course, I have been for about 2 weeks now
if I never see another linux box I will be happy
[17:56]
CDotTest your ignorance of "Computer Programs": http://www.bbc.co.uk/news/magazine-15952227 [17:57]
foswiki_irc9lol [17:57]
padraig_lennonSvenDowideit_ - Kick ass.. [17:57]
foswiki_irc9i smell a set up [17:57]
CDotfoswiki_irc9: linux is lovely; it's like a warm bath of love. [17:58]
foswiki_irc9well that is the first issue, I am not a programmer
network geek
this just sucks
and i learned everything the hard way, didn't go back and get a computer degree until my masters
[17:58]
foswiki_irc1gac410 here is my Main/WikiUsers : http://pastebin.com/waNSwMKf [17:59]
gac410okay that looks good. So what happens if you restart apache and visit Main/ResetPassword, and submit that user. [18:00]
foswiki_irc9and that was business mis, I haven't been a hardcore geek for years (management does that to you) [18:00]
gac410foswiki_irc9 So stepping back a bit. doing nothing. Does your site work correctly - css. graphics, etc. display, you can edit pages, and so on. [18:00]
foswiki_irc1apacghe failed to restart. Wait one [18:00]
foswiki_irc9yes [18:01]
gac410So somewhere apache does have some sort of configuration.
Maybe it's not called foswiki.conf but it is there somewher.
[18:01]
foswiki_irc1please clarify [18:02]
gac410that was for foswiki_irc9 [18:02]
foswiki_irc1I do have a foswiki.conf [18:02]
foswiki_irc9ok
so can I mod the foswiki.conf file to have "only" the section to protect the configure file
[18:02]
foswiki_irc1gac410 where is teh apache log? [18:03]
foswiki_irc9and maybe the .httpd section [18:03]
gac410foswiki_irc1 - depends on your distribution. /var/log/apache ??? every flavor is different.
foswiki_irc9 no. if foswiki and configure is working, there must be another file somewhere.
[18:04]
foswiki_irc9you guys are killing me
;)
[18:05]
gac410What else is in your etc/apache2/conf.d directory. Do any of those contain foswiki configuration. Did someone else configure apache? [18:06]
foswiki_irc9yes
someone else
no, I have to remove it for it to render correctly
[18:07]
gac410foswiki will not work without *some* sort of a configuration in apache. Since you have it working, there must be some configuration someplace. [18:07]
foswiki_irc1gac410 I'm a dip-hit! I forgot to sudo my restart [18:07]
foswiki_irc9can you imagine if I had the chance to screw up apache too, I have made quite the mess with foswiki and it "seems" easy [18:07]
gac410You need to find out what they did. Just adding *more* configuration into conf.d on a working apache is not surprising it breaks things. [18:08]
foswiki_irc1Even so I'm still lgetting a: The entry for user JeremyVillalva was missing in the password system. [18:08]
foswiki_irc9ok so to confirm, I cannot just add the apache login .htpasswd and the configure protection and call the conf file done
i have to include all that other stuff
that I obviously have no idea what does or how breaks
[18:09]
gac410foswiki_irc9 it's probably already there somewhere. You can't just add config. Need to find / modify.
foswiki_irc1. I'm wondering if on 1.1.3, a null password entry UserName::email@addr can't be reset. Could you copy another entry so it has an :<encrypted>: string, restart and try the reset again.
The reset works on 1.1.4 - but maybe I've managed to break something :-(
[18:10]
foswiki_irc1Interesting theory. I'll try it
that may have worked!
wait one!
[18:11]
gac410:-( If that worked, then I may have broken something in the 1.1.4 password handler. With 1.1.4 a null password can be reset. i don't know if that is correct behavior. CDot? [18:17]
CDotgac410: didn't you ask me this before? [18:17]
gac410My theory was that a null password was a "disabled account" - but if the email address was still present, reset was okay [18:17]
CDotSvenDowideit: or was it you? [18:17]
gac410Yes - was sven but I saw the discussion. iirc, you said it was definitely supported and was a "Disabled account" but should reset be permitted if email is valid.
The only way to get the :: null entry is to manually edit the file. So if changing to null, you could also munge up the email address.
If you want to deny reset.
Looking at recent T* changes, they now disable by adding a # in front of the WikiName.
(and added an API to enable/disable accounts :-(
[18:18]
foswiki_irc1gac410 YAY it worked!!!!!!
JeremyVilliva will finally get off my ass! Thanks a million!
[18:20]
jomoguys, as I read this channel longer time, im pretty sure than you are the most helpful people on the whole IRC! [18:21]
CDotgac410: y, I thought it was, but SvenDowideit indicated otherwise [18:21]
gac410foswiki_irc1 great. Though now I need to test and verify behavior on 1.1.4 vs. 1.1.3. [18:21]
CDotjomo: nah, we're just as confused as everyone else; we just need to talk about it! [18:21]
foswiki_irc1May I ask. Where are you on the planet and what do you do profgessionally besides save the downtrodden like myself? [18:22]
gac410gac410 - US east coast - retired [18:22]
CDotfoswiki_irc1: we're spread over the globe, and we do all sorts of different things (though mostly with computers) [18:22]
jomoCDot: nah, try ask somtehing in #perl. The first answer will be: "use strict;" - regardless the question.. ;) [18:22]
CDotCDot - UK - software consultant & taiji teacher [18:23]
gac410yeah pretty much every timezone is covered. somehow. Especially with some rather unusual sleeping habits. ;-) [18:23]
foswiki_irc1sweet. Well thank you again. I'm going to try to catch you later about securing my foswiki site. Keep healthy... As I've comitted our grown organization to Foswiki!!!!!
You guys are all awesome and have developed a phenominal application. Thanks again!
[18:23]
CDotgac410: we're still a bit light in US west coast [18:24]
foswiki_irc1phenominal =phenomenal :-) [18:24]
gac410gac410 is not moving. ;-) [18:24]
CDotgac410: I debated adding that sort of support to htpasswd a long time ago. I decided against it because it couples the UI back into the pw implementation (or so I thought)
awww, go on George, they're not *all* mad in California!
[18:25]
gac410Nope - no way. California is going to slide off into the ocean after "the big one" ... [18:25]
foswiki_irc1I'm holding my tongue on The PRC ... People's Republic of California! [18:26]
gac410gac410 buys oceanfront property in arizona [18:26]
foswiki_irc1Take care ladies and genetlemen. It's always a pleasure! [18:26]
CDotdo you have a white cat and a monocle?
"No, Mr Bond, I expect you to..... code!"
[18:26]
***foswiki_irc1 has quit IRC (Quit: Page closed) [18:27]
gac410Phew.... okay no change. ResetPassword fails for null password entries on 1.1.3 and 1.1.4. [18:31]
CDotgac410: don't we have a unit test for that? /me has a vague emory of writing one [18:32]
gac410it's not a Password test. There is an explicit test in UI::Password for userExists($user) ... that's what blocks the reset [18:34]
***AlexanderSt has quit IRC (Quit: ChatZilla 0.9.87 [Firefox 8.0.1/20111120135848]) [18:34]
gac410HtPasswdUser.pm is happy to reset an empty password.
TopicUserMapping.pm tests that fetchPass returns a password. So a null entry in the password field is equivalent to deleting the entry.
[18:34]
CDotok, so it doesn;t block recreation then [18:38]
gac410Hm. let me try that. The WikiUsers and UserTopic will bloc recreation before you get to passwords I expect [18:39]
***ArthurClemens has quit IRC (Ping timeout: 248 seconds) [18:40]
gac410If you delete the UserTopic and the row in WikiUsers, then registration will fix up the .htpasswd entry
So I guess this is all working correctly.
[18:41]
CDotsounds like it
so what was foswiki_irc*'s problem?
[18:41]
gac410One thing someday we could add is allow an admin to reset the password of a missing user.
I suspect ages ago he migrated servers and didn't copy WikiUsers or .htpasswd.
[18:42]
CDotbut did copy the user topic? [18:43]
gac410So userTopic existed, but no entry in the Mapper or Password system Yes. [18:43]
CDotgotcha. evil. [18:43]
gac410Either that or when he upgraded he overlaid WikiUsers and didn't copy .htpasswd - but effect is the same.
Sounds like the majority of his users registered post upgrade though, so it was only a few early users that were broken
gac410 needs a break. ... off to pack for a quick trip to my Dad
[18:44]
CDoty. enjoy!
CDot has gone for supper
[18:45]
***CDot has quit IRC (Quit: Leaving.) [18:49]
vu2mhk has quit IRC ()
ArthurClemens has joined #foswiki
[18:54]
jomohm… just asked about the regex. from the perl 5.10 here is possible to use "use re 'regexp_pattern' - what decompile the compiled regex. IMHO better way as while ( $val =~ s/^\(\?-xism:(.*)\)$/$1/ ) { }
check http://pastebin.com/Dw1DSEdT
[19:08]
gac410jomo - do you know if that is valid on perl 5.8.8 ? interesting idea. Babar - you are the local perl god ... thoughts? [19:23]
jomomy perl 5.8.9 printed out Unknown "re" subpragma 'regexp_pattern' (known ones are: 'debug', 'debugcolor', 'eval', 'taint') at re line 4 [19:23]
gac410ah - okay that answers that. I think our minimum perl is still 5.8.8, so unfortunately that won't work for us. [19:24]
jomo5.* deprecated.. ;) :)
5.8.*
[19:24]
gac410yeah - but a lot of users still use it. [19:25]
BabarBabar checks... [19:25]
jomook, ofc! I only asked this for a fun - how to decompile a compiled regex.. ;) stackoverflow helps sometimes.. ;) ;) [19:26]
gac410Moving to a minimum perl of 5.10 I suspect would be traumatic [19:26]
Babarnot sure I have.. ah yes, I do. at work :) [19:26]
gac410no - it's a good point-out. Probably ought to add it to the SMELL as a suggested improvement once we require minimum 5.10 [19:27]
jomoby me - anything what is < 5.14 is carp. 5.14 is the 1st perl with really correct unicode.. [19:27]
BabarUnknown "re" subpragma 'regexp_pattern' (known ones are: 'debug', 'debugcolor', 'eval', 'taint') at jomo.pl line 4
so, no can do.
[19:27]
jomook - sure.. ;) [19:27]
Babarbut yes, that's a valid point, that if one day we'll be more strict... [19:28]
gac410I'll update the smell in REGEX.pm and Valuer.pm [19:28]
.... (idle for 16mn)
Here is one listing of perl by distribution - anything better? https://www.socialtext.net/perl5/versions [19:44]
Babarfunny link you put there :) [19:46]
gac410distrowatch has a better list - but you have to look up each distribution individually
Link worked for me - but javascript has to be enabled to see anything.
[19:47]
***GithubBot has joined #foswiki [19:49]
GithubBot[foswiki] foswiki pushed 1 new commit to Release01x01: http://git.io/qRh3_g
[foswiki/Release01x01] Item11287: jomo pointed out regex_pattern - GeorgeClark
[19:49]
***GithubBot has left [19:49]
FoswikiBothttp://foswiki.org/Tasks/Item11287 [ Item11287: Problems running under perl 5.14 ] [19:49]
jomowhat is the correct git command to update my local foswiki repo? (i have done this: git clone git://github.com/foswiki/foswiki.git) what is downloaded 250MB. Now, how to get updates? cd foswiki;git rebase telling me than master is OK. How to checkout Release01x01?
and http://foswiki.org/Development/HowToUseGit is tooooo complicated. I'm pretty sure than here is much easier way as 5 pages… ;)
[19:59]
SvenDowideit_jomo 'git pull remote' ? [20:06]
Babargit pull :p
if he cloned, the default should be ok
plus, git fetch
it's better :)
anyway...
to checkout Release01x01...
[20:08]
jomoyeah - git pull - working. Thanx. I said here is easier way as read 5 pages of docs.. ;) [20:08]
Babargit checkout Release01x01
then you have to git pull again
as you updated master, not Release01x01
[20:09]
SvenDowideit_the 5 pages are for mad people like me that want to commit back into it [20:09]
Babaror like me, who wrote the lot :) [20:10]
SvenDowideit_but you're right, we are looking forward to simplifying
you had to write a lot :) cos we're slow
[20:10]
jomoTHANX!! copypasted everything - now i finally have fresh sources for testing… ;) [20:12]
BabarBabar thinks someone (gac410?) wrote some page for basic usage, which maybe I merged...
jomo: enjoy :)
Babar will try unit tests again with 5.14 :)
[20:12]
gac410All my basic stuff was related to git svn - and part of HowToUseGit.
I have not really tried much with github, or git.foswiki.org
[20:13]
Babarargh... git.foswiki.org...
shhh
you'll wake up Sven, who will blame me not having done that yet.
[20:13]
SvenDowideit_Babar i will not blame you for anything
for at least another 15 minutes ^H^H^H^H^H^H^H^Ha short while :)
[20:14]
***MichaelDaum has quit IRC (Remote host closed the connection) [20:15]
SvenDowideit_SvenDowideit_ has 3 more weeks where i get tue and wed with the girls at daycare, then 3 weeks of travelling, and then, we'll see :/ [20:15]
gac410so if pharvey says that he's happy with the perl 5.14 fixes, I'll build 1.1.4RC - plan on this weekend. Now if we could get the tmce focus bug - and a bit more verbiage on Textboxlist migration :-) [20:17]
jomoif in topic "A" have INCLUDE{B} and in the B have INCLUDE{C} - the %things form the topic "C will be rendered in the topic B or only in the topic A? [20:24]
SvenDowideit_er, weird q
when viewing B, you will get things from C
when viewing A, you will get things from B and C
weird, in the sense that i could interpret your q in a more complicated way, and confuse both of us
[20:27]
Babarthe % things in C will be evaluated... depending on context :)
%WEB% and %TOPIC% will be rendered as A
[20:30]
SvenDowideit_however, Set's and Local's in C will not be brought in
WEB and TOPIC change depending on context
[20:31]
BabarINCLUDINGTOPIC will be rendered as ... hum...
etc... :)
[20:31]
SvenDowideit_BASEWEB and BASETOPIC will be constant
ie, Babar is wrong
[20:32]
Babaryeah, I never know this one :) [20:32]
SvenDowideit_when rendering the INCLUDE{B} portion, TOPIC will == A
but
when rendering the INCLUDE{C} portion, TOPIC will == B
but BASETOPIC will ==A
the reason is history
[20:32]
jomosry was afk… reading.. [20:33]
SvenDowideit_as the nasty way it changesw was implemented before we realised
and so we had to hack BASE* in
[20:33]
jomoso, its depend how some plugins call Foswiki::Func::expandCommonVariables? When something in B calls it, then all %things will get expanded on B if not calling it any plugin some thing will be expanded only in A? hm... [20:36]
FoswikiBothttp://trunk.foswiki.org/System/PerlDoc?module=Foswiki::Func [ (Foswiki login) PerlDoc ] [20:36]
SvenDowideit_er huh?
if B isa topic, then its not calling Foswiki::Func::expandCommonVariables
[20:37]
jomosure do not call it any plugin? [20:38]
SvenDowideit_but certainly, if you write a plugin that expands tml source out of turn
then you've broken things
plugins cna call that func on any text, not necessirily on the topic being rendered
[20:38]
jomoasking what is the standard way - so, plugings SHOULD NOT call expandCommonVariables on topic... [20:39]
SvenDowideit_so 'its complicated'
its more a q of why and when
there is a rendering loop that does things in a particular order
if you subvert that, then things will be different - which might be what you need, but it'll confuse alot of things, and probly break others
[20:39]
jomojomo should study render.pm… ;) [20:40]
SvenDowideit_on the other hand, I _do_ call it, but on other text that is not yet part of the rendering loop for the topic being currently viewed
depends
mostly on what you are trying to acheive
[20:40]
jomocos I wrote a plugin for a thing what i need, and ofc, i called the Foswiki::Func::expandCommonVariables and OFC break a lot of things.. ;)
not a easy write a pluging with the commonTagsHandler ;(
[20:41]
SvenDowideit_true, its a handler you should avoid like the plague
not only is it complicated, but its also slow, and nasty
[20:43]
jomoyeah - but unfortunately, FW haven't any other way do STARTTAG STOPTAG things... [20:43]
SvenDowideit_oh, but it does - but you won't like it :)
'don't do that, think of another way' :)
[20:44]
jomohm.. ;) [20:44]
SvenDowideit_for eg, %IF{"mulit
line"}%
or
* Set SOME=multi
line
[20:44]
jomowill try "thinking of another way" - but - just now havent any idea how to achieve my goal… ;( [20:45]
SvenDowideit_or, na, we need to thing up a better way to start&stop
hehe
if you tell the channel when lots of people are here and awake
i'm sure you might get one useful idea, and at least 2 shite ones from me :)
[20:45]
jomo;) :) 1st must write down the question and translate it to understandable form.. ;) [20:46]
SvenDowideit_na, just write and let us pick holes :P
though i'm dead tired, think i'll goto bed instead
[20:48]
jomogood night.. ;) will ask tomoroow ;) [20:48]
...... (idle for 29mn)
pharvey_abandon ship! [21:17]
***pharvey_ has quit IRC (Quit: ChatZilla 0.9.87 [Iceweasel 7.0.1/20111015075007]) [21:17]
........ (idle for 36mn)
BabarAll tests passed (2970/2973)
1..70180
Release01x01, perl 5.14.2
[21:53]
btw gac410, I like your previous link... Solaris 10, which was out in its latest version in september 2010, was shipping 5.8.4 by default. Same as Ubuntu warty. Which was out in ... october 2004 :) [21:58]
gac410Didn't say it was particularly useful or current - my search skills are ... [21:59]
Babarnah, the link is probably acurate :)
I mean, the data on it
just the "released on" is deceiving...
as, for example, Solaris gets 2 or 3 releases a year (don't remember how many now)
and they put the date of the last one, not the first one...
[22:00]
gac410distrowatch is probably better - but have to check each specific distro [22:01]
Unless another blocker opens in the next couple of day, I'll plan on building 1.1.4RC on Friday late, and installing it onto Foswiki.org. I'll build an "upgrade package" as well.
Then if Lavr is around and can dig out his keys to the kingdom, let's plan on 1.1.4 early next week. depending upon some positive test feedback. and Lavr availability
Translators ... Italian is really close - 117 words left. Polish and Portuguese (Brazil) are under 150 words.
[22:11]
Babaryeah... I wanted to try Polish, but... [22:23]
pharveythanks gac410 closed Item11287 [22:36]
FoswikiBothttp://foswiki.org/Tasks/Item11287 [ Item11287: Problems running under perl 5.14 ] [22:36]
gac410Excellent - Thanks pharvey [22:36]
..... (idle for 21mn)
***foswiki_irc9 has quit IRC (Ping timeout: 265 seconds) [22:57]
......... (idle for 43mn)
terceiro has joined #foswiki
terceiro has quit IRC (Client Quit)
terceiro has joined #foswiki
gac410 has left
[23:40]

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