#foswiki 2012-03-06,Tue

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

WhoWhatWhen
gac410pharvey, you triggered a thought. http://foswiki.org/Development/SimplifyNonDeveloperEditingofReleaseManagedTopics Updating foswiki.org now, I can completely ignore local changes. Just blow them all away.
I think that this is all even easier. I've removed my concern.
Today was the planned "Feature Freeze" for Foswiki 1.1.5 ... bugfix only. String freeze coming in 5 days.
okay. Thx pharvey
[00:25]
padraig_lennonping pharvey [00:33]
pharveyhi padraig_lennon [00:35]
padraig_lennonHey.. Just a quick question about WysiwygPlugin.. Is it possible to strip out certain html tags say like <font etc.. or other MS specific html? [00:37]
gac410pharvey - I'm going to defer http://foswiki.org/Development/ConfigurableCookieNamesAndPaths / Item1636 to 1.2 [00:48]
FoswikiBothttp://foswiki.org/Tasks/Item1636 [ Item1636: Extensions.HttpsRedirectPlugin broken with Apache login ] [00:48]
...... (idle for 28mn)
pharveygac410: ok
padraig_lennon: hrm, I don't think so
padraig_lennon: the new TinyMCE in trunk (also available at http://foswiki.org/Extensions/Testing/TinyMCEPlugin - als needs http://foswiki.org/Extensions/Testing/WysiwygPlugin) does a better job of cleaning up pasted word content
(assuming you're pasting)
[01:16]
FoswikiBot[ WysiwygPlugin < Extensions/Testing < Foswiki ] [01:17]
padraig_lennonYes... When certain users use the Wysiwyg editor it adds a lot of additional html [01:20]
pharveypadraig_lennon: please test at http://trunk.foswiki.org/Sandbox to see if it will help - I'm working hard to get this into the official Release01x01 version of TinyMCE & WYSIWYG in the next couple of weeks
FWIW, TinyMCE seems to have some code that can leverage some Micosoft APIs if you're doing the pasting into an Internet Explorer
so you might get better results if you use IE for this task (been a while since I tested, though).
[01:24]
SvenDowideitpadraig_lennon, what pharvey also wants to say, is makeatask with the html at issue, and write a unit test :D [01:26]
pharveythe problem is that WysiwygPlugin assumes people *want* <font> tags sometimes
so actually, the word document would be the thing that I'd want (if TinyMCE isn't doing a good enough job of cleaning it)
[01:26]
SvenDowideitand thats why we need tests - to show what stays and not :) [01:26]
gac410Does it have a "paste special?" [01:26]
SvenDowideitnot entirely [01:27]
pharveyTinyMCE auto-detects word content [01:27]
SvenDowideitdifferent word and windows combos paste different html
so you get extra suuuuuper nef-ity-ness
SvenDowideit hears pharvey screaming from here :)
[01:27]
pharveyOn a similar theme, I really want pasted images to be auto-attached
I guess that's another 1.2 proposal
[01:28]
SvenDowideitand drag&droped ones :) [01:28]
pharvey(it's an easy feature many people wish for)
yep, those are the ones
drag & drop & pasted all look the same to TMCE
[01:28]
SvenDowideitSvenDowideit knows he doesn't want to know :) [01:29]
padraig_lennonpasted images? Christ that would double our userbase here in a very short time.. Number 1 complaint from users.. [01:29]
SvenDowideityou ... need ... to ... report.... these things!
we choose what to work on next based on what people tell us!!!
SvenDowideit mumbles
[01:30]
padraig_lennonI think I have said this about 50 times now.. Didn't know it was do-able.. Will create task in the morning for it.. [01:31]
SvenDowideitgrin
everything is doable
we can implement drag&drop on a vt100 talking to a pdp11
SvenDowideit goes pop
[01:31]
gac410Drag that box of paper tape over here .. [01:32]
SvenDowideitjust don't drop it on my foot like last time! [01:33]
padraig_lennonI'm going to hit the sack here.. pharvey will get some sample (non-confidential) docs and start pasting onto trunk tomorrow.. Chat in the morning all. [01:33]
gac410And please don't drop the box of punched cards. [01:33]
SvenDowideitlaterz :) [01:33]
gac410g'night [01:34]
SvenDowideiti looved dropped punch cards
i used to use them to build overpasses for my matchbox cars
yay! a time where i can say 'i'm sooooo young that'....
[01:34]
gac410Is there ever a case where Render should modify an input form: <input type="text" value="!WikiWord !WikiWord !WikiWord" />
Or should it be protected by a take-out-blocks
[01:39]
SvenDowideitwhat would you protect?
<input type="text" value="SEARCH{} is a common meme" />
[01:40]
gac410I don't know. Bleh. Trying to resolve Item11480. [01:40]
FoswikiBothttp://foswiki.org/Tasks/Item11480 [ Item11480: exclamation (!) marker not protected in input values ] [01:40]
SvenDowideityeah, that one is interesting
as i'm not sure he's right
[01:41]
gac410We convert <input type="text" value="!WikiWord !WikiWord !WikiWord" /> to <input type="text" value="!WikiWord <nop>WikiWord <nop>WikiWord" /> to <input type="text" value="!WikiWord WikiWord WikiWord" /> [01:41]
SvenDowideit! is not protexted
and isn't intended to be protected
it is intended to be a render hint that is removed before it hits the html
[01:41]
gac410The answer is sort-of easy. "!WikiWord is not a wikiword because it's not delimited by white space.
But we remove NOPs as well. So there is no way to submit !WikiWord in an input form?
er. no display !WikiWord as an existing or default value
[01:42]
SvenDowideitsubtle innit
i would expect there needs to be a way to escape the !
[01:43]
gac410ew. \!WikiWord [01:44]
SvenDowideitbut it really gets to be turtles all the way down, and my main thought is - redesign to avoid pain [01:44]
gac410redesign his form? or redesigne render? [01:45]
SvenDowideitredesign the app :)
you know - escaping is a smell telling you to consider doing it differently stuff
seems that i won't be writing that plugin today
[01:45]
gac410Maybe no WikiWord processing should be done when rendering an <input /> block [01:45]
SvenDowideitthat breaks 99% of apps
oh
mm, ok, ic
[01:46]
gac410Yeah but Micha's will work [01:46]
SvenDowideitlol
you have an interesting point really
[01:46]
gac410I was saying only do %MACRO in an input field, never rendering for display (ie linking or escaping wikiwords) [01:47]
SvenDowideitconverting _any_ wiki link / markup inside an input makes a mess, most of the time
yeah
and that would help my apps too
1.2 fodder :/
[01:47]
gac410So an <input> should really be a <noautolink> block automatically [01:47]
SvenDowideitnot just
<input type="text" value="__banana__" />
makes little sense to render to <b>'s either
SvenDowideit kicks pharvey's rendererer :)
[01:47]
gac410er. He made it a 1.1.5 release blocker. I asked to defer - he said no. "but I have no idea how to fix it" [01:48]
SvenDowideitwe can all kick it as a long standing issue
if there is no resolutino, it will not block anything
its his choice to fix it or not
s/his/our/
[01:48]
gac410Anyway I "wrote a test" anyway. [01:49]
SvenDowideitunless... its not a bug in 1.1.0 / 1.0.0 :)
as that would be naf
but i beleive its ancient
[01:49]
gac410Yeah, you are right. We mess up bold, italics, etc:
- <input type=text value=!WikiWord !WikiWord !WikiWord *bold* __boldItalic__ >
+ <input type=text value=!WikiWord <nop>WikiWord <nop>WikiWord <strong>bold</strong> <strong><em>boldItalic</em></strong> >
[01:52]
SvenDowideitrender everything consistently
so ner :)
[01:53]
gac410yeah, but putting any markup in an input field is utter nonsense. ... right? Or does HTML5 support wysiwyg input? [01:55]
SvenDowideitimo it is utter nonsense
most of the time
[01:55]
gac410:p That's the part that bothers me. The rest of the time. [01:55]
SvenDowideitbut could be useful if using them to build up CMS like stuff -
i could imagine making an app that uses hidden stuff to buld up html
add a renderMe class to the input's css
and force pharvey to make F::DOM support it
[01:55]
gac410well I'll poke through render to figure out why. The <nop>s are easy. practically the first statement changes all !WikiWord to <nop>WikiWord
How to stop it is the "interesting part"
[01:57]
SvenDowideitargh!!
they yum upgrade, and now foswiki.fcgi just crashes
FCGI.pm _was_ installed, and now its not?
oh wonnerful
[02:02]
.... (idle for 16mn)
oh argh!
gac410, i set docroot in a vhost
and yes, that can't work
that makes the brute force assumption that your foswiki is the only web service on that system
SvenDowideit has to back that out fast, and use the old way :/
[02:19]
gac410Really - I have vhosts with all sorts of stuff. with different docroots. [02:20]
SvenDowideitok - help me :)
i have a server
lots of http://server/stuff
[02:20]
gac410sympa mailing list manager in one vhost, multipl foswikis in others. [02:21]
SvenDowideitand want to add http://server/foswiki
how do i do that using vhost
[02:21]
gac410Oh.... In same vhost. [02:21]
SvenDowideitits on the same server
adding new dns is out of spec for most people
[02:21]
gac410okay. I guess it needs an alias. I don't think anything I've done precludes alias. [02:22]
SvenDowideitno, i don't either [02:22]
gac410The only reason to drop alias was so htaccess files could be consistent. [02:22]
SvenDowideitits just that vhost has a very big hidden assumption that you are playing with dns
which obviously we need to make more obvious :)
[02:22]
gac410name based vhosts usually do. [02:22]
SvenDowideit'obviously' [02:22]
gac410Thata's the whole point of a vhost. is multiple virtual hostnames. [02:23]
SvenDowideiti was silly and presumed that a non-name based vhost would be more additive
or better said, that 2 vhost definitions of the same name would add to each other
[02:23]
gac410er. didn't even know apache would accept that. Or if it does, only one will get used. [02:24]
SvenDowideity, it silently ignores stuff
which is horrid, cos the user has no feedback from following the wrong doc of ours
[02:24]
gac410there is a "debugvirtualhost" option. that will dump out all the hosts that are recognized, in order,. [02:24]
SvenDowideitwhich is probly too late for the people we want to help most too :/ [02:25]
gac410the wrong doc that says "don't use me" ? [02:25]
SvenDowideitit actually says, try me - i want help
and the biggest whine that IT have, is that users like to try things
[02:25]
gac410Move to trash.
I'm happy with it for my use. I'll grab a copy and be done with trying to make it better. Other stuff to deal with.
[02:26]
SvenDowideitso really, you don't want feedback, on it (i can grok that too)
SvenDowideit has to decide what to use for the next 5 years
[02:27]
gac410Feedback, y. Outrage that it is not ready, with incessant rehashing of it being broken and not ready for use. well, no.
I've grabbed a copy. Feel free to delete, since misleads our users so horribly. Once 1.1.5 is done, I'll try to take another pass at working on it.
[02:29]
SvenDowideiti was pointing out a discovery i just made
i was outraged that i didn't notice it til today
but ok
cos _I_ don't know enough about vhost
[02:30]
gac410I guess we don't know each other's knowledg levels. I've always worked with named vhosts, and realised that they are very independent environments. [02:31]
SvenDowideitwe're supposed to know differnet things :) [02:31]
gac410There are two assumptions in NACG that I didn't realize and need to feed back into it. 1) Alias is required whenever Foswiki is not installed into the root of the vhost. [02:32]
SvenDowideitwhich is why we need to keep bugging each other about assumptions that are not doccoed - others know less, cos we are the experts in this 'thing'
SvenDowideit is more pissy that he probly has to go use the old one now, cos I don't have time to unvhost it either
though.... maybe
[02:32]
gac410Anyway, I might have a fix for Micha's rendering issue. Up to StoreTests with no fails yet. getRenderedVersion doesn't do the Macro expansion. So adding a takeOutBlock for <input> seems to be a successful strategy.
But I still don't think it can go into 1.1.5 - HUGE risk touching the-maze-that-calls-itself-render
A virtual host is just that. It's almost equivalent to running another apache on another port. With SuexecUserGroup it can be a completely different user.
Have you tried just adding the Alias statement ... The ScriptAlias is all handled by the RewriteRules H= ...option.
I know it's too late for you, but once 1.1.5 is out, I'll try to get a vm installed and will work on the non-vhost environment.
[02:34]
pharveyalso, I seem to recall pain moving RewriteRules from non-vhost into a vhost setup.. but too long ago to remember specifics (something to do with apache evaluating them earlier/later in the request, before/after it had decided which filesystem thing it ends up being relative to?) [02:43]
gac410I've only ever used them in a vhost. So no idea.
Okay, All tests passed (2944/3036) [89 skipped + 3 expected failure] 1..75738 with my fix applied for Item11480 I'll stash it, and attach a diff to the task, for Micah to test it.
[02:44]
FoswikiBothttp://foswiki.org/Tasks/Item11480 [ Item11480: exclamation (!) marker not protected in input values ] [02:46]
gac410it was much easier than I thought it would be [02:46]
.... (idle for 18mn)
GithubBot[foswiki] foswiki pushed 1 new commit to Release01x01: http://git.io/dylquw
[foswiki/Release01x01] Item11480: Failing test to show issue - GeorgeClark
[03:04]
***GithubBot has left [03:04]
................... (idle for 1h33mn)
gac410Hm. We don't seem to have any tests that uses SEARCH to complete an input field. [04:37]
pharveygac410: sorry, I haven't kept up with conversation, why isn't Micahel using <literal> ? [04:51]
gac410no idea.
Macros expand but no rendering?
[04:52]
Finally found literal - you are right, it appears that <literal> is a solution for Michaels task. yeesh.
though I think making <input /> tags behave as literal content makes sense.
[05:03]
pharveyPerhaps, but that is the case of all HTML tags
Common example is mangled title="foo" attribute values
[05:09]
gac410good point. So while the value=" " part of an input field should not be subject to rendering, title=" " might very well benefit from it.
Lets see what Michale says. The fix is quite simple, but I am very hesitant to go ahead, and *definitely* not for 1.1.5
No unit tests break, but that doesn't say much unfortunately.
[05:11]
pharveyno, title attributes shouldn't have any HTML markup in them either
I updated Item11480 with my concern(s).
[05:13]
FoswikiBothttp://foswiki.org/Tasks/Item11480 [ Item11480: exclamation (!) marker not protected in input values ] [05:13]
gac410The fix seems simple enough. remove <input .* /> before rendering, and put it back afterwards. My only doubt is if there is something internal to the tag that really should be rendered. [05:14]
pharveyI'd really like to re-title that bug "Foswiki tries to render content inside of HTML attributes"
my concern is that this shouldn't be a special-case to <input> tags only
I am 99% sure that Foswiki::Render shouldn't be touching HTML attributes at all
[05:14]
FoswikiBothttp://trunk.foswiki.org/System/PerlDoc?module=Foswiki::Render [05:15]
SvenDowideitpharvey, mmm, nice [05:16]
gac410we remove others. <script> <comment> <head> <textarea>
er. <!-- --> not <comment> :-D
[05:16]
SvenDowideitSvenDowideit has written tml like: <sometag %MACRO%
where %MACRO then did attr's
[05:16]
pharveySvenDowideit: %MACRO is fine; Render is not [05:17]
gac410That works. Macros are not expanded in that part of the code. [05:17]
pharveyexpandMacros != renderTML [05:17]
SvenDowideitbut, i've never recalled a place where i wanted the rendering
y, was agreeing with you
[05:17]
pharveyah [05:17]
SvenDowideitjust when i thought my productivity for the day was at a low
my new x61t arrives.
[05:17]
pharveyI am 99% sure that Foswiki::Render's output is wholly inappropriate for HTML attribute values, but that 1% doubt has prevented me from doing anything about it [05:17]
SvenDowideitand tada, nothing more will get done [05:17]
pharveywhat's an x61t do? [05:18]
SvenDowideitpharvey, imo we need to think up a 'non-sausage-attr
premis: if we detect html attrs to prevent render
then we can detect class=noSausage
and thus not call render
x61t == tablet version of the notebook we have :)
[05:18]
pharveyI am wondering if we should just banish renderTML from the insides of all <tags> generally
was it a bargain?
[05:19]
SvenDowideitat $275 delivered, i just said ok [05:19]
pharveynifty [05:19]
gac410So michael's bug seems to be exceedingly easy to fix ... But rather than separate "take out " for each type of tag, make it a broader list of tags. [05:19]
SvenDowideitna, the one that went at 8am in the morning for $178 was a bargin [05:19]
pharveylame! [05:20]
SvenDowideitbut i forgot as i was riding the girls to day care
but this one has a sim slot
[05:20]
pharveywhat connectivity? [05:20]
SvenDowideitso i'll think about adding a new tpg sim :)
3.5g i think
[05:20]
pharveynice [05:21]
SvenDowideitway good enough for my non-existant needs
now i am wasting time looking at win8 vs android vs mmm, boot to gecko
rather than writing docco and er, working on detecting old / suboptimal tml
[05:21]
harlanterceiro: you are asleep now, I bet... I created a VirtualHost.cfg file that contains: $VirtualHost{PermittedRedirectHostUrls} = 'http://new.virtu.aul'; and I'm still seeing "Redirect Denied" pages saying: Rename completed, but unsafe redirect to http://new.virt.ual is denied.: the requested host does not match http://main.host.name, and is not in {PermittedRedirectHostUrls}.
except I think I used the right spellings...
[05:23]
..... (idle for 23mn)
SvenDowideitnite :) [05:47]
***gac410 has left [05:47]
SvenDowideitmmm, so, i know how to _set_ a parent to a topic
but how to i unset it?
[05:47]
pharveyis that a trick question? [05:57]
SvenDowideitnope
there's nothing on the oopsmore topic to tell me, no ui, and well, clicking 'set' just goes quietly back to view without changing it
OH F*
so i decided to compare the old ACG
and...
its also hardcoded to use vhost?
ie, its also going to break anyone's server that is not specifically set up for foswiki?
that makes me wonder if i'm just mad
[05:57]
pharveySvenDowideit, isn't vhost optional on ACG?
also: I'm 99% sure my users just delete the topicparent field ... but that's probably in NatEdit
I've had too much coffee. Coffee headache hangover.
[06:09]
SvenDowideitpharvey, dunno - i can't see where :/
coffee - nto good :)
thats why i got a real espresso machine - now i drink less coffee :)
[06:11]
pharveySvenDowideit: I remember now; if you populate the Host Name (optional) and Port (optional) fields, it makes a vhost entry for you
s/and/or
[06:12]
SvenDowideitoh, nice - and - er - confusing!
unless you read the text
which i clearly don't
[06:12]
pharveyI use this to generate an Include-able config fragment
so although I *do* use vhosts, I don't want ACG's vhost directives
[06:13]
SvenDowideity - thats the basic thing i seem to need in the debs/rpms
so windows 8 it is
[06:13]
pharveyI think the output is basically the same, just stripping out the first/last bits
don't you just love it when you get firebug+fox into one of those weird states where your JS simply won't work until you restart the browser
[06:14]
SvenDowideiti'll be honest: no
rpm's are just different :/
[06:16]
pharveyrpm = rps * 60 [06:18]
SvenDowideitif a debian shipped file was modified, it tends to leave it
if someone edited a shipped rpm file, upgrade over-writes it
(assuming that it not marked as a conf file)
I'm ___soooo___ glad that foswiki chose to _not_ ship the ,v files
even though it makes discovering mixed release web topics harder
[06:18]
............... (idle for 1h13mn)
GithubBot[foswiki] foswiki pushed 2 new commits to master: http://git.io/rU_kPA
[foswiki/master] Item11606: try to make the docco more explicit, while still making it clear that ingroup is not limited to USERNAME - SvenDowideit
[foswiki/master] Item11606: better example - sorry, dcommited too early - SvenDowideit
[07:33]
***GithubBot has left [07:33]
FoswikiBothttp://foswiki.org/Tasks/Item11606 [07:34]
GithubBot[foswiki] foswiki pushed 1 new commit to Release01x01: http://git.io/X4qZYg
[foswiki/Release01x01] Item11606: try to make the docco more explicit, while still making it clear that ingroup is not limited to USERNAME - SvenDowideit
[07:46]
***GithubBot has left [07:46]
.... (idle for 17mn)
GithubBot[foswiki] foswiki pushed 1 new commit to Release01x01: http://git.io/Y7yLlw
[foswiki/Release01x01] Item11532: add farbtastic colour chooser to Web Colour - SvenDowideit
[08:03]
***GithubBot has left [08:03]
FoswikiBothttp://foswiki.org/Tasks/Item11532 [08:03]
GithubBot[foswiki] foswiki pushed 1 new commit to master: http://git.io/EYXLyQ
[foswiki/master] Item11532: add farbtastic colour chooser to Web Colour - SvenDowideit
[08:04]
***GithubBot has left [08:04]
........................ (idle for 1h56mn)
harlanterceiro: if you have a chance to look at the VirtualHost.cfg line I posted above, am I doing anything obviously wrong?
this is about PermittedHostRedirectUrls (or whatever)
[10:00]
terceiroharlan: you want PermittedRedirectHostUrls instead?
note the order between "Host" and "Redirect"
[10:10]
harlanPermittedRedirectHostUrls is what I really have. [10:11]
terceirophew [10:12]
harlangood news bad news - I have the right thing but it's not working...
and how do I specify multiple allowed URLs? I ask because for one site I want to allow http://dom.ain and http://www.dom.ain
and I will also likely want to allow http: and https: somewhere else.
[10:12]
terceiroyou add them separated by commas
is that the actual error message?
"Rename completed" seems weird to me
[10:15]
harlanye,s, that's what I got. I'll try it again. [10:16]
terceiroyes, it is
just found that message
[10:16]
harlan'k - I as editing Main.SitePreferences [10:17]
PeterSvendsenHi all, is it possible to create a table with input from a search function that is possible to edit by the user... so e.g. the search function gives the | Document name | and then the user can manually edit and add link to the document..... [10:18]
terceiroharlan: can you post your entire VirtualHost.cfg? [10:21]
harlansure, it is: $VirtualHost{PermittedRedirectHostUrls} = 'http://ic.ptp1588.org';
that's it - one line.
[10:21]
terceiroif you set other preferences then PermittedRedirectHostUrls, do they work? [10:23]
harlanI have not tried.
The only other one I would think to change is the site email admin person.
[10:24]
terceirochange any one, just to test
since VHC does not handle PermittedRedirectHostUrls specially, maybe your .cfg is not being loaded at all
for some weird reason
PeterSvendsen: you can do that by adding a SEARCH to a topic template
[10:24]
harlanOK:
chessie# cat VirtualHost.cfg
$VirtualHost{PermittedRedirectHostUrls} = 'http://ic.ptp1588.org';
$VirtualHost{WebMasterEmail} = 'webmaster@ptp1588.org';
chessie#
[10:27]
terceirobut the SEARCH will be expanded only to create the initial content of the topic [10:27]
harlanand when I edit Main.SitePreferences I still see:
Redirect Denied
Attention
Rename completed, but unsafe redirect to http://ic.ptp1588.org/bin/view/Main/SitePreferences is denied.: The requested host does not match http://fw.networktimefoundation.org, and is not in {PermittedRedirectHostUrls}.
[10:27]
FoswikiBot[ (PTPd Internal Collaboration Wiki login) WebHome < Main < PTPd Internal Collaboration Wiki ] [10:28]
harlanContact webmaster@networktimefoundation.org if you have any questions. [10:28]
terceiroso, it is not loading the .cfg ... [10:28]
harlanthe file is in virtualhosts/ic.ptp1588.org/VirtualHost.cfg [10:29]
terceiroare the other parts of virtualhosting working?
i.e. when you access that domain name do you get different data from when you access under other domain names?
[10:30]
harlanit seems to be working otherwise - I have 2 sites there and there is diffeerent content in each (checking again to be sure) [10:31]
PeterSvendsentercerio ahh sounds like a good idea.. thanks [10:31]
harlanno, when I access the other site I get the former's content. [10:32]
terceiroharlan: did you configure the webserver to serve using the script provided by VHC? [10:33]
harlanI should check to make sure I have the view program stuff changed. [10:33]
terceiroyeah, that should be it [10:33]
harlanI thought I did, bt I will check again. [10:33]
terceiroyou have to redirect all scripts to the one provided by VHC, not only view [10:33]
harlanyeah, that must be it - the main site is not right now either.
I'll make sure that the FastCGIplugin thing is working next. Sigh..
[10:36]
..... (idle for 21mn)
I see the ApacheConfig generator uses <VirtualHost *> and I thought that was supposed to be dangerous - *:80 was preferred. [10:57]
***ChanServ sets mode: +o MichaelDaum [10:57]
MichaelDaumMichaelDaum on cebit .. throat starting to ace ;) [10:58]
ModAcOstCool, how is the atmosphere there? [11:03]
padraig_lennonMichaelDaum - I've added a request for adding the "Saving" dialog to NatEditPlugin like we discussed a few days ago.. http://foswiki.org/Tasks/Item11610
Talked to some heavy users here who said they would love to see that..
[11:12]
harlanI want short URLs, and the config generator produced: Alias / "/homes/websites/fw.networktimefoundation.org/foswiki/bin/foswiki.fcgi/"
that trailing / is a problem...
[11:17]
MichaelDaumpadraig_lennon, thanks for filing the task. will have a look at it. [11:19]
padraig_lennonThanks Michael.. Appreciate it.. [11:22]
harlanDo I want fcgid or fastcgi? [11:25]
MichaelDaumpadraig_lennon, y' still editing 11610? got a patch 4u. [11:26]
padraig_lennonNope.. Have it closed.. Does it not release the lease if I click on Minor Save? [11:26]
MichaelDaumdunno. breakin your lock >:]
MichaelDaum added a 1line patch to get you the "Saving ..." thingy, padraig_lennon
[11:27]
padraig_lennonImplemented it here. Not doing anything and it does not show for Save and Continue any more.. [11:31]
MichaelDaumhm [11:33]
padraig_lennonScrap that.. Its working.. Edited the uncompressed and forgot to minify.. Looks good.. Thanks a million for the quick turnaround on this.. [11:33]
MichaelDaumslight mod coming ... sec...
may I break your edit lock on Item11610 again?
[11:34]
FoswikiBothttp://foswiki.org/Tasks/Item11610 [ Item11610: Add "Saving" dialog using System.JQueryBlockUI similar to Save and Continue ] [11:34]
MichaelDaumor are you on it? [11:34]
padraig_lennonNot on it..
Small change.. But SO much easier for the end-user..
[11:34]
SvenDowideitMichaelDaum: do you have a computer at the stand with a camera?
i read somewhere in passing tha tyou can make long running google hangouts now
[11:49]
MichaelDaumya got a cam. but internet is very slo.
wanna try a nagout?
[11:49]
SvenDowideitcourse, my shiny 'new' computer also has no cam - should really buy a computer that was not made before 2005 [11:50]
MichaelDaumkind of prereq [11:50]
SvenDowideiter, can't myself atm - win8 and ie10 is considered as 'too old to run google+'
but if you set it up to run as a long running hangout, it should maybe run all w/e
SvenDowideit will look for and send you links later - maybe tomorrow
'writing docco' atm :/
[11:50]
MichaelDaumhow to invite people to hanging out [11:51]
SvenDowideitmake it public, and people can join at will :)
but when you create it, you can also invite individually
[11:51]
MichaelDaum's see
how to make it pubic?
[11:52]
SvenDowideitmmm, is downloading an x86 port of android really 'docco'
i think it is public by default
[11:53]
MichaelDaumgot it
https://plus.google.com/u/0/101084964845420026314/posts
[11:53]
harlanIf I tell the FW apache config beast that I am using fastcgi will it do the right things re rewriting or do I also have to follow the rewrite instrucitons on Extenxions.FastCGIEngineContrib? [11:55]
MichaelDaumhttps://plus.google.com/u/0/101084964845420026314/posts/MhA1d9FT6Kb is the link to the h.o. [11:56]
SvenDowideittrying
should be funny
oh, y, really funny - installing
[11:58]
MichaelDaumcould be noise is too high via laptop mic ... even standing next to people talking to them is kind of difficult [11:59]
SvenDowideitah, no good - it installs, but ie10 and g+ don't think its installed
if it doesn't hurt what you're doing, cna you leave it running?
[12:01]
harlanOK, 0400. time for sleep - I'll dig in again tomorrow. [12:11]
SvenDowideitsleep well :) [12:11]
MichaelDaumsure [12:18]
***card.freenode.net sets mode: +o Lavr [12:23]
..... (idle for 21mn)
PeterSvendsenI have made a topictemplate where I in the top have a search function to list some documents and now I would like the result to be somekind of oneshotter so the user can edit the result and add a link to the document.... e.g. headline for the table | Document name | Link | but the search function only enter the "Document name" part... the user now should be able to enter link to the specific document and save the resul in a "
any idea how this could be solved...?
[12:44]
SvenDowideit_andgads.
android on a core2duo is quite nice
need to find a handwriting recognition thing to work with the pen tho
lets see how foswiki wysiwyg edit holds up :)
darn, it doesn't
you can see tinyMCE, but you can't type text.
oh well, nice idea ;)
[12:52]
padraig_lennonHey all. Just wondering something. I subscribe to RSS feeds for Support and Tasks updates. Support gives a summary in the RSS but Tasks does not, which means I have to actually view the page to see what its about. Why is this? [13:09]
SvenDowideit_and1. a bug, 2. someone messed up Tasks.WebRss
make a copy of Tasks.WebRss and play with it til it works again :)
i've not used rss in too long :/
SvenDowideit_and looks at the time, now that its in my TZ, and runs off to bed
[13:10]
padraig_lennonActually copying the Support.WebRss to Tasks.WebRss2 works. Should I overwrite the WebRss altogether? [13:14]
SvenDowideit_andno
the tasks one was originally customised to use the tasks
mmm, ok, maybe
depends on what it does :)
this time i actually go - nite all
[13:14]
padraig_lennonI'll create a task.. [13:15]
Looks like the <rdf:Description is not defined.. [13:24]
MichaelDaumnew public hangout https://plus.google.com/u/0/101084964845420026314/posts/2rbv2SXPPuG [13:33]
.... (idle for 15mn)
padraig_lennonI've updated http://foswiki.org/Tasks/WebAtom2 and this seems to work. It was missing the <summary>$summary</summary> in the search output.. Anyone care to review? [13:48]
MichaelDaumMichaelDaum closed the hangout ... takes down the laptop performance and nobody joint anyway ;) [13:55]
...... (idle for 29mn)
HenroRitchieHello - I am having problems with the send mail notifications
It is a new Foswiki install 1.1.4 on CentOS. Can send mail from console window using sendmail but not from foswiki configure page
[14:24]
jahmonHi, anyone care to help a 1st time Foswiki user?
I'm looking to shorten the url from http://server/foswiki to http://server/wiki
any idea how?
[14:33]
gac410Hi HenroRitchie - have you tried the "configure - email test" function? What happens.
jahmon, that's mostly done in the apache configuration. Are you on a hosted site, or your own server?
HenroRitchie: sorry - I see you said "not from configure page" ... could you pastebin the resulting error messsages
jahmon: and do you know if you are using an apache config file, or .htaccess files
[14:36]
jahmonapache
own server
just a noob
[14:39]
gac410How did you configure apache? edit sample foswiki.conf, use .htaccess files, or Foswiki:Support/ApacheConfigGenerator [14:41]
FoswikiBothttp://foswiki.org/Support/ApacheConfigGenerator [ ApacheConfigGenerator ] [14:41]
HenroRitchieHi gac410 - it replies with Net::sendEmail() returned the following error: Emailing henro@dmem.co.za - ERROR: Exit code 5111808 (19968) from Foswiki::cfg{MailProgram} at /var/www/foswiki/lib/Foswiki/Net.pm line 491. Too many failures sendig mail [14:46]
gac410hm. unfortunately when we run sendmail it's a bit of a black hole. You are on CentOS - do you know if the server has mandatory access control enabled? [14:48]
gmcblack hole? sendmail has a logfile you know :) [14:50]
gac410Have you tried Net::SMTP? That method makes a direct connection to the SMTP server and will record a lot more debugging information.
sendmail is often an alias/wrapper for whatever local agent is installed. exim, postifx, sendmail, ssmtp, ... and they have different debugging / log locations. It's all a black hole to me ;)
[14:50]
HenroRitchiegac410 - I can check mandatory access control. I will try and find log file. I gave up on SMTP and that is why I am on sendmail. SMTP fail with the same error message [14:52]
gac410*same* error? that's really strange. [14:53]
HenroRitchieok not same error
ran the email test again
it can connect to the smtp server
it can´t sorry - ms keyboard messing me around
[14:54]
gac410Does the server get past the HELO / EHLO messages?
oh. it cannot connect. hm. what does connect fail with, or just timeout?
[14:56]
HenroRitchieit just says can´t connect, fails at line 598 [14:57]
gac410And hostname is correct? I'm going to guess it's SELinux / Mandatory Access issues, or maybe a firewall? [14:58]
.............. (idle for 1h5mn)
HenroRitchiehi gac410 - sorry I had to run away for a while
the foswiki and the server are on our internal LAN, the smtp server is off site - and there is ISA in between
[16:03]
..... (idle for 24mn)
gac410HenroRitchie: sorry - speaker was muted. What is an ISA ? If the server is not being permitted to open a connection to the mail server, that will certainly cause issues.
But since sendmail works from shell directly, I'm guessing it's local policy on the server, not the network.
Unfortunately I'm not at all familiar with SELinux controls and CentOS
[16:28]
.................. (idle for 1h29mn)
padraig_lennongac410 - Would you mind giving a quick look at http://foswiki.org/Tasks/Item11611
?
[17:58]
Rich_MorinOur FW install is working nicely, but it requires me to log in every day, in order to edit pages. Is this a feature or an option? [17:59]
padraig_lennonRich_Morin - There is a configuration in configure under Security and Authentication called {Sessions}{ExpireAfter}.. Just increase this.. [18:01]
gac410hang on padraig_lennon lookingn now [18:01]
padraig_lennonSorry I forgot the ? in the first line i wrote. Wasn't trying to rush you.. Thank
s
:)
[18:01]
gac410padraig_lennon: you've lost the task titles
oh... never mind - looks like you fixed that - I had looked earlier.
[18:01]
padraig_lennonYa thought I did fix it. [18:03]
gac410Well from firefox "live bookmarks" I can't see a difference. [18:05]
padraig_lennonAre you using WebAtom or WebRss for feeds? [18:06]
gac410Browsing to WebRss on Firefox
and I actually don't see any difference between WebRss or WebRss2
[18:06]
Rich_Morinpadraig_lennon: Is there a magic number that means "never"? [18:07]
padraig_lennonok. I'll look again.. [18:07]
gac410Babar - can you take a peek at Foswiki::Net around line 481? It's not using sandbox, and it appears that on my system even though bin/configure has captured STDERR, it still goes to the apache log. [18:09]
FoswikiBothttp://trunk.foswiki.org/System/PerlDoc?module=Foswiki::Net [18:09]
padraig_lennonRich_Morin - You could try turning off session {UseClientSessions} altogether? [18:09]
gac410So we don't give as much sendmail debug information as we could, and sendmail is still a black hole :-(
padraig_lennon: ah. WebAtom vs, WebAtom2 the descriptions are not there on Atom, but are on Atom2. WebRss though I don't see any difference
[18:10]
padraig_lennonYa they are very different.. Just trying to get my head around it.. [18:12]
Babargac410: if bin/configure captured it, it shouldn't go there [18:15]
gac410well bin/configure tries to capture it - but it's still showing up in my apache error log - so maybe bin/configure is wrong. [18:15]
Babarfirst, there is no test of the open in configure, which is ba [18:16]
gac410that part is bin/configure around line 888 [18:16]
Babar*bad [18:16]
gac410ah. [18:16]
Babarand caopturing inside a string... I thought that wasn't portable [18:17]
padraig_lennongac410 - any idea why we would need to ENCODE the summary in an RSS feed? [18:17]
gac410padraig_lennon: yes. rss is really really fussy - any markup and it dies. [18:17]
padraig_lennonok [18:18]
gac410I have fought this for a long time and finally have my live bookmarks not failing, so please don't remove any of the <literal> or encoding stuff. [18:18]
padraig_lennon$percntENCODE{\"$formfield(Summary)\" type=\"entity\"}$percnt State: $formfield(CurrentState) -- last changed by <nop>$wikiname Not sure why we would be encoding Summary and not CurrentState or wikiname [18:18]
gac410The state and wikiname are "clean" generally from a list of valid values. The summary can have all sorts of random markup.
Babar: I don't understand "capturing inside a string" ... but anyway, I added a "or die" and it doesn't but STDERR is not captured.
[18:19]
Babaropen STDERR, '>', \$stderr; <--- this puts the output of STDERR inside the string $stderr
there are no file involved
but still, it should work
[18:21]
padraig_lennonShould be ok now.. Changed $percntENCODE{\"$formfield(Summary)\" type=\"entity\"}$percnt to $percntENCODE{\"$summary\" type=\"entity\"}$percnt as thats what we want.. Does it work now for you? [18:23]
Babargac410: To (re)open "STDOUT" or "STDERR" as an in-memory file, close it first: [18:24]
gac410okay thx Babar [18:25]
Babarnot sure you can simply local *STDOUT; close STDOUT then
you might have to dup it
[18:25]
gac410padraig_lennon: no, now you've eliminated the summary formfield That's actually supposed to be the real description of the task search $summary is often bogus. [18:26]
Babaropen my $olderr, '>&', \*STDERR or die "Can't dup STDERR: $!"; [18:26]
gac410If people are opening tasks with invalid summarys, then fix the task. [18:26]
Babarthen do your thing, and then: open STDERR, '>&', $olderr or die "Can't dup OLDERR: $!"; [18:27]
gac410Okay Babar, thanks. I'll poke at it [18:27]
Babarof course, close it again before :) [18:27]
gac410:)
Hm... now I'm confused. How does $olderr get into $stderr to print it.
[18:27]
What is the purpose of $olderr - a place to stash the current STDERR? I'm really not understanding this at all. [18:36]
The capture for STDERR is working, I get prints to STDERR done in Net.pm, but then when Net.pm runs sendmail as a piped command, THOSE STDERR messages end up in apache log.
So something done by Net.pm when it calls Sendmail using |- pipe avoids the capture.
[18:43]
***ChanServ sets mode: +o MichaelDaum_ [18:44]
gac410padraig_lennon: Can you do both the Summary formfield AND the search $summary? I think it's important to keep the official summary, as that's what all the other applications display and it really should be correct. [18:47]
padraig_lennonYa.. Trying to do that.. If I ever figure out how to add newlines in RSS.. :( [18:48]
gac410yeah. Rss is really fussy.
It would be much more helpful to all the queries - ReleaseBlocker, TasksByRelease, etc. if the Summary formfield was just set correctly.
[18:48]
padraig_lennonHow is the summary supposed to be used? I always just thought it was a Title? [18:51]
gac410So Net.pm probably ought to be running the sendmail program using Foswiki::Sandbox. [18:51]
FoswikiBothttp://trunk.foswiki.org/System/PerlDoc?module=Foswiki::Sandbox [18:51]
gac410padraig_lennon: exactly what it says I assume - a one-line description of the problem. It is displayed as the title.
What I've found missing is the "Component" I'd rather not have to go to the task to find out that "Email doesn't work" is referring to some plugin, and not the Core component.
[18:52]
Babar, so regardless of issues in bin/configure, I think the issue is that when Net.pm runs sendmail using open( $MAIL, '|-', $Foswiki::cfg{MailProgram} ) || die "ERROR: Can't send mail using Foswiki::cfg{MailProgram}";
it sidesteps or looses the capture for some reason.
padraig_lennon: another issue - a lot of tasks, the formfield summary is the only information. There is nothing in the body of the topic.
[18:59]
Babargac410: just do what I wrote, it will work. Then I will explain.
or if you want, I code it, you pull it and see it works :)
[19:09]
gac410Thats fine. I think I did what you wrote - hang on I'll pastebin.
http://pastebin.com/D9WpavXP ... is that what you meant
It does capture ... I get the "print STDERR ..." output from Net.pm But I do NOT get any output from sendmail.
sendmail still ends up in apache log.
[19:09]
btw in bin/configure, i'd rather not die if opens fail during the capture. IMO it's better to get the email command to run even if capturing is all wrong, than to have configure die without actually testing email. [19:19]
Babargac410: no, that's not what I wrote :) Ok, I'l update the pastebin
http://pastebin.com/PK0BjqET
[19:28]
gac410The thing is, it really is capturing. Just not the subsequent output from the |-
okay - will try
[19:30]
Babarit's not capturing.. it's getting the print to STDERR
STDERR was overridden locally, so of course that's working
BUT, pipe might write to the old STDERR, because it hasn't been closed,and therefore re-opened
at least that's what the manual is hinting :)
[19:30]
gac410okay. editing now.
close STDERR; in the eval fails close() on unopened filehandle STDERR at configure line 890.
If I comment out that CLOSE, then it all works, except no capture of the piped command, just the prints
if I remove the local *STDERR; then the close is successful, but still no capture :-(
[19:31]
hm. The faq's I'm finding seem to say you need something like IPC's Open3 to do this. that regular pipes won't work. [19:44]
Babarbut they should
ok, thanks for testing, and sorry I was wrong
[19:48]
gac410np -
gac410 appreciates help for the clueless :-)
[19:48]
padraig_lennongac410 - Can you have a look now? http://foswiki.org/Tasks/WebRss2 [19:50]
gac410nice. The formfield summary is in there twice though? In the title and the text? [19:51]
padraig_lennonIt always was.. [19:52]
gac410oh. [19:52]
padraig_lennonI don't think its needed.. [19:52]
gac410Not twice - as long as it's in the title.
Live bookmarks only shows the title,
[19:52]
padraig_lennonThats what confused me with your comment earlier.. I don't think we need the state either as that is in the title as well.. [19:53]
Babargac410: seems the faq agrees with you
but it doesn't make any sense :(
[19:53]
gac410yeah. For live bookmarks, the title is really the important thing. Did it used to have last Changed as well? [19:54]
padraig_lennonNo - See http://foswiki.org/Tasks/WebRss [19:55]
gac410yeah - looking now - it's just slow
Babar, yeah. I'd really like to get better email debug into configure - it's still such a common issue. This is quite annoying.
But touching it scares me because it's such a key piece, and must be cross-platform.
[19:55]
Babarwhich is the fun part :)
and imagine it needs to be able to be played around for unit testing
[19:59]
gac410If I put something silly like 2>&1 onto the sendmail command, it puts the output into the browser. Net.pm doesn't capture stdout.
Unit testing doesn't really do much. It replaces the sendmail routines using monkey patching to push the mail onto a variable for later examination. No mail executed.
Really, net.pm ought to be using Sandbox but I'm not going near that.
Anyway opened Item11612
[19:59]
FoswikiBothttp://foswiki.org/Tasks/Item11612 [ Item11612: bin/configure fails to capture STDERR from mailprogram ] [20:02]
.... (idle for 15mn)
padraig_lennonRight thats it.. Think I finally have http://foswiki.org/Tasks/WebAtom2 and http://foswiki.org/Tasks/WebRss2 working [20:17]
FoswikiBot[ Foswiki's Tasks web ] [20:18]
gac410padraig_lennon: I thought you were trying to add in the search $summary ... still looks like you have formfield $summary twice to me. [20:19]
padraig_lennonFormat is:
Title: $topic - $Summary - $state - $Components - $wikiusername
Description is $summary
You will only see Title using Live Bookmarks
You're right.. I messed it up again :(
[20:22]
Babarpadraig_lennon: hey, what did you think of the draw? [20:25]
padraig_lennonRobbed!! [20:26]
Babarwe were? Truely! [20:26]
padraig_lennonYou missed a few kicks all right.. We're screwed now with O'Connell gone.. [20:26]
Babaroh, we killed O'Connell? I didn't realise that, sorry
missed a few kicks? Our 10 was playing like an ass, and yours was brilliant
[20:28]
padraig_lennonHe did his knee in.. Ya France have a great pack but poor backs.. [20:30]
Babarpoor backs? We have great backs, but you have a hell of a defense
and our backs are great attacker, but not so great defenders :)
you saw the try earned by Malzieu last week? :)
[20:30]
padraig_lennonYa probably.. Ya saw it.. Still think Wales will beat you :)
Fixed the WebRss2 one..
[20:31]
Babarjust saw again the one George North scored against you guys
this guy is awesome
[20:35]
padraig_lennonThey have a number of really good backs.. Look at the Wales try against England.. Guy ripped the ball from a 2nd row and ran about 60m to score under the post.. All these guys are under 25.. Scary.. [20:36]
BabarNorth is 19, iirc [20:37]
padraig_lennonYa.. Cant wait for that game.. England playing Ireland on St. Patricks Day.. should be a good game.. [20:39]
Babaroh man, I need to find a pub [20:41]
awesome! [20:47]
.... (idle for 15mn)
GithubBot[foswiki] foswiki pushed 2 new commits to master: http://git.io/tPb9_A
[foswiki/master] Item11613: nother twitter integration - MichaelDaum
[foswiki/master] Item11613: preparing release - MichaelDaum
[21:02]
***GithubBot has left [21:02]
FoswikiBothttp://foswiki.org/Tasks/Item11613 [21:03]
........ (idle for 38mn)
gac410I don't know Babar - not much hair left I guess. I've tried open3, and even that is not capturing stderr
my $pid = open3(\*MAIL_IN, \*CATCHOUT, \*CATCHERR, "$Foswiki::cfg{MailProgram}");
mailprogram runs just fine, mail is sent, and debug output goes to apache log and not the CATCHERR handle.
[21:41]
Babartry IPC::Run :)
Babar has been told that if I want to lose hair, I should try IPC::Open, and if I want it to just work, I should try IPC::Run
it's in libipc-run-perl
I know, it's another module
but try it and if it works, we'll see
[21:45]
gac410I'll install it - we'll see what happens. [21:49]
....... (idle for 33mn)
phew... yes Babar, IPC::Run will work - captures the results. Will need some processing though as the command is passed in an @array command, parm1, parm2 ... Simple "split" works as long as no parameters need arguments :-( [22:22]
Babarwhat split?
you're building the command, so you shouldn't need to split it back :)
[22:24]
gac410Command /usr/sbin/sendmail -t -v -x set in LocalSite.cfg in mailprogram - needs to be split into an array command plus args.
If you pass it "/usr/sbin/sendmail -v" in a string, you get command not found. It has to be ('/usr/sbin/sendmail', '-v' )
[22:25]
Babarsplit /\s+/ :)
and the only problem you might get is... on windows...
C:\Program Files\Sendmail\bin\sendmail.exe
[22:26]
gac410Well, if param takes an argument. -u Userid ...
In any event, I think it's way too risky for 1.1.5, and needs a module, which is not good either, :-(
[22:27]
btiffinHad to come in and say Thanks. ;) Action Tracker just made me a very happy Release Manager with a huge codebase consolidation pass that we've been delaying. Or at the least, I have a clue where things are at and where they are going. In a few minutes I'll get to scrap a few tens of dozens of postit notes. Err, maybe tomorrow, once the team is happy. So, thanks Mr/Mrs ProjectContributor. [22:32]
gac410gac410 suspects that Foswiki::Sandbox could do a much better job of capturing output by using IPC::Run as well. [22:44]
FoswikiBothttp://trunk.foswiki.org/System/PerlDoc?module=Foswiki::Sandbox [22:44]
Babargac410: if param takes an argument, then they're 2 arguments, so it needs to be 2 entries in the list [22:49]
gac410oh... cool that makes it much easier. [22:49]
Babarit's just the "... ..." and maybe the "\ " [22:50]
***btiffin has left [22:51]
gac410Well it would be really unusual to use sendmail on windows I suspect. [22:51]
BabarI would assume so [22:51]
***HaraldJoerg has left [23:02]
...... (idle for 25mn)
flexibeast has left "QUIT :Leaving." [23:27]
.... (idle for 18mn)
harlanSo I've installed the fcgid-version of the generated config file. Is the fact that I can visit the site and nose around sufficient to show it's working OK?
I ask because I'm still not getting anything differenet from the different virtualhosts.
[23:45]
Where is it documented how to uninstall/remove/disable a plugin? [23:58]
gac410On regular foswiki? Just use bin/configure, Install and Update Extensions, click the uninstall checkbox and submit the screen. [23:59]
harlanthanks!
So that title should be changed to "Manage Extensions"?
[23:59]

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