#foswiki 2012-10-09,Tue

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

WhoWhatWhen
gac410Strange behavior with Foswiki:System.ChangeEmailAddress - See Foswiki:Support.Question1178. Easy to recreate on foswiki.org, but I can't recreate locally. [01:11]
FoswikiBothttp://foswiki.org/System.ChangeEmailAddress [ ChangeEmailAddress ] http://foswiki.org/Support.Question1178. [01:11]
.......... (idle for 49mn)
GithubBot[foswiki] FoswikiBot pushed 1 new commit to master: http://git.io/TtyPHQ
[foswiki/master] Item12023: Use our @ISA, not use base - GeorgeClark
[02:00]
***GithubBot has left [02:00]
FoswikiBothttp://foswiki.org/Tasks/Item12023 [ Item12023: write a Log::Dispatch based Logger ] [02:00]
............................ (idle for 2h19mn)
***wdenk has quit IRC (Ping timeout: 264 seconds) [04:19]
.................................... (idle for 2h59mn)
BabarTimothe replied :) [07:18]
...... (idle for 25mn)
MichaelDaummorning
how save is it to git pull / svn up today?
from trunk
[07:43]
Babardepends what you mean by safe. [07:44]
MichaelDaumI guess I wait a few commit cycles until things settled. the thread on the ML as well as the diff looked a bit worrisome [07:47]
vHDhi...is it possible to select the last selected tab in a tabpane after reloading the topic or after using a submit-button? in the url there is only a random jqTab-id. [07:48]
Babaroh, you mean Timothe's commit?
his commit is good. I mean, the code itself is good. He replied to all my concerns, and most of the issue he has is having to maintain the code for both wikis, so he tries to keep the diff minimal.
he will most likely "fix" my concerns, but that doesn't change the code
[07:50]
MichaelDaumvHD, %TABPANE{select="%URLPARAM{"tab"}%"}% .... %TAB{id="last"}%...%ENDTAB% ... %ENDTABPANE% ... then call the page with http://...?tab=last [07:52]
Babarthe only problems were the ones raised by gac410, and these are more usability than anything else [07:52]
MichaelDaumBabar, ah ok. I could not make much sense of what was going on. I am not familiar with smime [07:52]
Babarfrom what I understood, gac410 implemented some rudimentary things to enable SMIME usage, so that admins could use google as a mail server (iirc)
Timothe took it to the next level by implementing full SMIME support
[07:53]
MichaelDaumwhat is smime? [07:54]
Babarit's some encryption mechanism [07:54]
MichaelDaumfor smtp? [07:54]
Babaryes [07:54]
MichaelDaumoic [07:54]
BabarS/MIME (Secure/Multipurpose Internet Mail Extensions) [07:55]
MichaelDaumpretty generic tagline [07:55]
Babarin fact, I don't even think George implemented SMIME, just some TLS version of SMTP
S/MIME requires certificates for encryption/signature, which is the part Timothe added
[07:56]
MichaelDaumcool thing
MichaelDaum svnupping now
[07:57]
....... (idle for 31mn)
jastMichaelDaum: living on the edge, eh? :) (also, good morning!) [08:28]
vHDMichaelDaum, thanks for it. it works. [08:30]
jastS/MIME sounds so generic because it's based on MIME... just adds a different type of part or something [08:30]
...... (idle for 26mn)
vHDactionsearch can put out a sorted table, but how can i make the result-table of a actionsearch sortable? [08:56]
...................................... (idle for 3h7mn)
***mrintegrity__ has left [12:03]
.... (idle for 16mn)
schoos has quit IRC (Ping timeout: 240 seconds) [12:19]
............ (idle for 55mn)
gac410Babar, Actually, I ported S/MIME code that Timothe had put in a task or feature request at some point. It was all his to begin with.
The S/MIME code allows Foswiki to sign server generated emails.
On the concerns I posted to Timothe, one was addressed in the parent class that I missed. The other is philosophy - he doesn't think we should show dependencies unless there is an error. Too much noise. I disagree.
Regarding $Rev ... I've reviewed all uses of $Rev. I was thinking we should add a 3-digit version to each module that is part of the published API, and use that version for them, just like we do for the Plugins API.
I've made a change to all the modules using $Rev, to use: +our $VERSION = "1.200"; $VERSION = eval $VERSION; But I have not checked them in yet.
I wanted to get some opinions. The only one I have no ideas how to address is the VERSION string in Foswiki.pm :(
[13:14]
Babarwhy the eval?
why not: our $VERSION = 1.2;
[13:22]
gac410Hm. It "does the right thing" in converting the string to the recommended perl version number. Hang on let me find the reference. It came from a Comment in Plugins.pm
# If we go to 3.x, let's re-instate a 3-digit decimal version format, i.e. 3.000
# http://www.dagolden.com/index.php/369/version-numbers-should-be-boring/
BTW ... regarding the @ISA ... I did test the code and it was all working without the Use statement.
[13:24]
foswiki_irc9Hello, I have been asking previously too about a problem with creating new and editing existing topics. I have so far been unable to resolve the issue.
I started with a clean install of 1.1.5, then added custom plugins and data.
[13:30]
gac410foswiki_irc9: what goes wrong? [13:38]
Babarcorelist version
FoswikiBot: corelist version
[13:47]
FoswikiBotBabar: version was first released with perl 5.009 (released on 2003-10-27) [13:48]
Babarwe really should ditch 5.8 :) [13:48]
gac410yup. [13:48]
Babarthen we could use: our $VERSION = v1.2; [13:48]
foswiki_irc9I try to create a topic and get shown that Warning!Confirmation Required screen, I confirm, then I am taken to the login mask again, although I am logged in already,I log in, and then see thenessage that the page does not exist.
When I try to edit, the editor opens, but after confirmation I just land on the page as it was, no changes applied.
[13:57]
gac410What type of login are you using? Apache or Template. And when you are prompted again to login, is it by redirect to the login page, or a browser popup. [13:59]
jastdo you, per chance, have javascript disabled? [13:59]
gac410Or cookies. [13:59]
jastor both. or everything. ;) [13:59]
gac410And... if you are using the same hostname, have you cleared your browser cache? [14:00]
foswiki_irc9Template login, its not a browswer popup [14:02]
gac410Babar, for the $Rev... the other common use was as a comment in the =TML markup. for PerlDoc. I was thinking the way around that would be to have the Doc INCLUDE handler also expand the $VERSION if available, and dump the comment.
Did you migrate your LocalSite.cfg, or did you create a new one using bin/configure?
[14:03]
foswiki_irc9Doesnt seem to be a cache issue either. I created a new and adjusted the settings. [14:05]
gac410foswiki_irc9: as jast said, it does sound like javascript might not be enabled. Do you run a script blocker? [14:05]
foswiki_irc9no, checked that too [14:05]
gac410But you always get a new "Confirm" dialog - for every save. Was it working before you migrated your data? [14:07]
foswiki_irc9I dont think I tried creating new pages back then. I remember editing, after migrating some of the data, and it was already working with difficulty, after several confirmations or something like that.
and yes, Confirm every time, for new topics and editing
[14:08]
gac410When you copied your data, you should not have copied data/System or pub/System. Also if you had modified templates, they should not be just copied, but changes need to be merged.
The extra confirmations seems to point at Javascript or cookies.. That's the "StrikeOne" protection. You can temporarily disable StrikeOne in bin/configure to see if it resolves the confirmations. But that's really not the right solution.
bin/configure. Security and Authentication tab, Sessions tab, {Validation}{Method}
[14:09]
foswiki_irc9Set it to none and managed to create a new topic
I dont think I overwrote anything in pub/System or data/System
[14:13]
gac410how about templates [14:13]
foswiki_irc9Templates in any System folder? that might be possible [14:15]
gac410the "templates" directory sits along side data, pub, lib, ... in the foswiki directory. [14:16]
foswiki_irc9ah! [14:16]
gac410It's best to not change templates, but instead, create new templates and enable them with SKIN settings. [14:17]
foswiki_irc9Otherwise I would have to merge each file individually? [14:18]
gac410yes. Templates are difficult to modify.
And changes there would definitely break things.
[14:18]
foswiki_irc9I think that might be the source of the problem. I will delete all from that folder, and restore the original files there. Then see what to do with any modified templates..
Thanks a lot for the help!
[14:19]
gac410sure. Glad to help. good luck with it. [14:20]
.................................. (idle for 2h49mn)
AlexanderStHi there, we just recognized an error with our customized WorkflowPlugin and attaching via the wysiwyg-editor. If i attach a file to the still not existing topic, the templatetopic is not expanded. Is there any possibility to "send" some information from the edit session to the attach session? [17:09]
........... (idle for 51mn)
***gac410 has left [18:00]
..................... (idle for 1h42mn)
LynnwoodAnyone around been using current versions of NatSkin/NatEdit (from svn)?
A user has pointed out a problem with editing tables in WYSIWYG and I'm trying to figure it out.
[19:42]
gac410Lynnwood: is it specific to NatSkin? Wysiwyg editor has had a lot of changes [19:43]
LynnwoodThey indicated that the buttons to add new rows to the table do not work. I tested (I personally hardly ever use WYSIWYG), and it appears to me the real problem is in the styling of the tables.
Hey gac410 - i think it is specific to NatSkin cause it's in the styling.
I tried switching skins (by modifying the edit url) and the problem when away.
Basically, the issue is that the table has no borders.
[19:43]
gac410okay. MichaelDaum_ would be the one to find. [19:45]
Lynnwoody
just thought i'd ask
thansk
[19:45]
gac410Can you recreate on trunk.foswiki.org? I think that uses NatEdit by default. Not NatSkin though. [19:45]
Lynnwoodi'll give it a try later. [19:46]
........ (idle for 39mn)
zastaphdoes a shorter version of http://foswiki.org/System/InstallationGuide exist?
I'm like 15% through and already lost
[20:25]
gac410Not really. What platform are you installing on? [20:26]
zastaphubuntu
first im told to chmod -R www-data:www-data fosdir, then later to remove it again from bin and pub
would rather just have the commands than all the text
[20:26]
gac410Ah.... okay. You might actually want to ignore the InstallationGuide and use the .deb packages [20:26]
zastaphdidnt find it with aptitude search [20:27]
gac410You have to add a repo. hang on.
See http://fosiki.com/Foswiki_debian/
Installing the .deb should leave you with a fully operational wiki. No need to manually configure stuff at least initially. You will eventually want to enable email and tailor your config.
[20:27]
zastaphits not a ppa right? [20:29]
gac410But when apt-get is completed, you should be able to point your browser at yourhost/foswiki/bin/view and see the wiki.
Hm. Foswiki anyway is pure perl, so not sure if ppa or x86 makes a difference, but I'm not a debian user.
[20:30]
zastaphjust rare (if ever) I add manually to sources.list on ubuntu
ubuntu uses aptitude ppa's
[20:31]
gac410no idea what ppa's are. I thought ubuntu was debian based and could install .deb packages. [20:32]
zastaphhttps://launchpad.net/ubuntu/+ppas [20:33]
gac410If you want to continue with the install guide, let me know where you left off and I'll try to help. [20:33]
zastaphsure will try [20:34]
gac410SvenDowideit builds the .deb packages, nothing ppa related that I'm aware of. Last time I tried them they worked great. [20:35]
zastaphyep it seems to work, thanks [20:41]
hmm a bit strange that it enforces a wiki name when I'm installing this myself
email too
and short urls seem not activated when installing by .deb
.. /foswiki/bin/view/Main/WebHome
[20:52]
Babarthere is a file to activate shorter urls with the .deb [20:58]
zastaphbut I dont actually access the .deb i just add something to sources.list [21:00]
gac410Yes. /etc/foswiki/ShorterUrl.conf
Right. You added the fosiki debian repo to sources, and then when you did the apt-get it downloaded and installed a .deb package.
[21:00]
zastaphwhat do I do with ShorterUrl.conf [21:01]
gac410There are instructions in it. [21:02]
zastaphyep that worked
is it possible to disable WikiName and email requirement?
[21:04]
gac410What do you mean by disable WikiName? You don't want users on your site to be identified?
The config I'm pretty sure has email disabled by default.
[21:05]
zastaphim the only user.. and I prefer to use a handle/nick
yes it is, but yet an email (with confirmation) is required to signup a user
[21:06]
gac410Right. The concepts of WikiName is rather deep in Foswiki. I think you can disable authentication altogether, and not have any security. [21:08]
zastaphim all for convention over configuration, but personalization is different :p [21:13]
gac410Not sure I understand. Anyway, Foswiki is primarily focused on Enterprise type deployments, where identifying who is pretty important. [21:14]
zastaphi dont know how many times I've completed the wiki matrix form by now :) [21:15]
gac410Certainly there are single user deployments out there. But it's not a primary focus of the development. [21:15]
zastaphlooking for the wiki to suit my specific needs
need a wiki for documentation
[21:15]
gac410in the bin/configure interface, there are settings for LoginManager, UserMapping, and PasswordManager. They can be combined to create a open wiki without needing users. [21:16]
zastaphyes I tried dokuwiki :) [21:17]
gac410See http://foswiki.org/System/UserAuthentication (or on your own site). It provides some guidance on different authentication scenarios.
Or try http://foswiki.org/Support/UserAuthenticationSupplement#Open_system (And click the "Show recommended config settings" link)
(unfortunately that particular page leaves a lot to be desired. It was started, but never completed :( )
[21:19]
zastaphthanks will look later.. gotta go now [21:23]
***zastaph has left [21:23]
sneexgac410: How good your apache regex skills? [21:29]
gac410Babar, SvenDowideit, ... any guidance on adding a $VERSION of 1.200 to the core modules that currently depend upon $Rev? Commit, Stash, or Trash
sneex: er .. well. I guess it depends. Sometimes I manage to muddle through.
[21:29]
sneexlet give you a ponder then
redirectmatch permanent ^/fh/(?!FHShutdown\.html)(*\.gif|*\.css)(.*)$ /fh/FHShutdown.html
[21:30]
gac410If you are dealing with mod_rewrite, enabling the debug logging is very helpful, but very very verbose on a busy system. [21:30]
sneexno, it is mod_alias [21:31]
gac410What are you trying to do... Helps to try to decipher the regex.
I've done a lot more with mod_rewrite than mod_alias.
[21:31]
sneexI want to redirect EVERYTHING except css gifs and the one page FHSHutdown
see?
brb got to start my stupid vpn again -- keeps kicking me out
[21:32]
gac410With mod_rewrite, the statements are processed in order, so you could match and pass through your exceptions, and then redirect everything else. [21:35]
sneexyep, I got it working i mod_rewrite but Im not supposed to use that in PROD
besides my syntax for that redirect is wrong - it gives me: Regular expression could not be compiled.
well, I got to go build stuff -- cya later Cheers :)
[21:36]
BabarI don't think you can achieve what you want with a simple RewriteMatch
doing negative matching with regex is a real pain
with RewriteRules it is much easier
[21:42]
sneexno, I must use a rewriterule and thats that [21:42]
gac410Sounds like you need a new server admin :D [21:42]
sneexcya tomorrow if I can make it [21:43]
Babar$ echo -e '/fh/foo\n/fh/bar.css\n/fh/FHShutdown.html\n/fh/foo.gif\n/fh/blue.html' | perl -nle'print if m#^/fh/(?!(?:FHShutdown\.html$|.*\.(?:gif|css)$))#'
/fh/foo
/fh/blue.html
too bad he's gone. It seems it works after all :)
so, for sneex: RedirectMatch permanent ^/fh/(?!(?:FHShutdown\.html$|.*\.(?:gif|css)$)) /fh/FHShutdown.html
[21:48]
gac410Yeah... I was starting down that path a bit .. until he left. His parenthesis in the regex were a bit whacked [21:49]
Babarand in fact...
so, for sneex: RedirectMatch permanent ^/fh/(?!.*\.(?:gif|css)$) /fh/FHShutdown.html is most likely enough
[21:49]
gac410hopefully his apache pcre lib will support that regex. [21:50]
GithubBot[foswiki] FoswikiBot pushed 1 new commit to master: http://git.io/H4ldTA
[foswiki/master] Item11612: Add IPC::Run - GeorgeClark
[22:00]
***GithubBot has left [22:00]
FoswikiBothttp://foswiki.org/Tasks/Item11612 [ Item11612: bin/configure fails to capture STDERR from mailprogram ] [22:00]
...... (idle for 28mn)
sneexsneex I'm waiting for the merge and compile >< Slooooooo [22:28]
gac410sneex: did you check the logs - Babar has a version of RedirectMatch that should hopefully work. [22:39]
sneexreally? Um; let me look [22:43]
Babar412235049 <@Babar> so, for sneex: RedirectMatch permanent ^/fh/(?!.*\.(?:gif|css)$) /fh/FHShutdown.html is most likely enough [22:45]
sneexsaid it after I left earlier :( Not in logs [22:45]
Babarthe logs as in the one on the web, as per the topic's URL :) [22:45]
sneexRedirectMatch permanent ^/fh/(?!FHShutdown\.html(?:gif|css)$) /fh/FHShutdown.html
Il try that
I'll*
Babar: understood
[22:46]
Babarno...
the next one
and what you pasted... no idea where you got that
[22:47]
sneexNo to this: RedirectMatch permanent ^/fh/(?!FHShutdown\.html(?:gif|css)$) /fh/FHShutdown.html ??? [22:47]
Babarbut that's not what I wrote
no. this makes no sense
[22:47]
sneexI know but I dont want to redirect FHShutdown [22:48]
Babarit's not what I wrote, and not what's on the web. Where did you find that? [22:48]
sneexyou just posted it upthere [22:49]
Babarand why would you care? You're redirecting it to itself...
I wrote a version with it excluded
412235018 <@Babar> so, for sneex: RedirectMatch permanent ^/fh/(?!(?:FHShutdown\.html$|.*\.(?:gif|css)$)) /fh/FHShutdown.html
[22:49]
sneexI need *just* that page and its css and gifs -- nothing else [22:49]
Babarbut thought it was useless, as it will end up being redirected to itself, so got rid of it
ah... right. But it will loop. true
[22:49]
sneexHmmm maybe not -- let me chk [22:50]
Babaranyway, you've got both versions [22:50]
sneexkk
brb
[22:50]
It works ! lol TYTYTY :) [22:55]
But I need to fix one small thing LOL : RedirectMatch permanent ^/fh/(?!FHShutdown\.html(!?:gif|css)$) /fh/FHShutdown.html ??? because the graphics are in graphics/ and aren't making it
It does work; I retyped it wrong :( I should have said (?!(?:FHShutdown\.html$|.*\.(?:gif|css)$))
Thx Babar
[23:00]
Babardo you still need to prevent the graphics? 'cause they should be matched by my regex
as long as the files end in .gif or .css, and are in /fh/, it should work
[23:09]
sneexNo, they are going -- I ahd mistyped what yuo told me :P
hd*
Grrr
had*
I cant type
[23:10]
gac410Okay, so Babar, not to be annoying but. ;) That change of the VERSION string. do you think that needs a feature proposal on top of the "Move to Git" proposal to hash it out ... [23:18]
BabarI think we should discuss this, and I'm with you on that one. Dunno if feature proposal, or just discuss on wiki/email... [23:25]
gac410Hm. Maybe I'll commit the change on trunk, and send a wider email asking for a review, That way there something concrete to throw stones at. Things have been pretty quiet lately, I have opened a number of feat requests that draw few comments, no objections.
And solicit advice on what to do with the Foswiki version string, which is a much bigger problem :(
I just changed all the "1.2.0" feature requests to "1.2". The ReleasePlan query was looking for 1.2, and we had a mixture, the majority just using 1.2.
[23:27]
Babarok :) [23:31]
gac410I'm going to checkin my change to Foswiki::Net to use IPC::Run, so that we can capture stderr from sendmail. I'd like to also change Sandbox, but as that will impact a lot of other uses, I'm chickening out. [23:32]
FoswikiBothttp://trunk.foswiki.org/System/PerlDoc?module=Foswiki::Net [23:32]
gac410Net only uses it for sendmail, which is only used on *nix family I think.
crap. My local perltidy left one trailing space. I tidied twice to confirm it really should be there. But f.o rejected it.
[23:33]
GithubBot[foswiki] FoswikiBot pushed 1 new commit to master: http://git.io/xFE6Xw
[foswiki/master] Item11612: Use IPC::Run in Foswiki::Net - GeorgeClark
[23:44]
***GithubBot has left [23:44]
FoswikiBothttp://foswiki.org/Tasks/Item11612 [ Item11612: bin/configure fails to capture STDERR from mailprogram ] [23:44]
gac410Babar, who gets the webmaster@foswiki.org messages. I'm running the mail test function on trunk.foswiki.org to try IPC::Run on FreeBSD [23:45]
Babarthe admins [23:56]
gac410Hm. Am I an admin? I don't recall getting messages. Anyway, I'll try not to do it too often. I'm going to add the -d option and try it one more time. I don't think we normally send mail from trunk, so mucking with the mailprogram setting hopefully won't hurt. [23:58]
Babardo you receive all the other cron emails?
like the apache overload ones
[23:59]
gac410Hm. Yes I get them. [23:59]

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