#foswiki 2013-02-11,Mon

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

WhoWhatWhen
gac410SvenDowideit: If you're working on the 1.1.17 deb packages, you might look at the patch in Item12382 - though I'm still looking for some validation [04:52]
FoswikiBothttp://foswiki.org/Tasks/Item12382 [ Item12382: Failure sending multiple SSL email messages ] [04:52]
SvenDowideitcoolieo [04:52]
gac410Oh... and the LSC backups should not be an issue. The checker should make sure that the backups are disabled if the directory cannot be written. [04:52]
SvenDowideityeah, i was just reading the patch :) [04:53]
gac410Foswikirev:16399 for the LSC backup fix. ... I hope it is valid for deb pkgs. I tested it as best I could without haveing a debian setup. [04:53]
FoswikiBothttp://trac.foswiki.org/changeset/16399 [ Changeset 16399 – Foswiki ] [04:53]
GithubBot[foswiki] FoswikiBot pushed 1 new commit to Release01x01: https://github.com/foswiki/foswiki/commit/a30d3fac079fc00d1e5b2095228ec94648591562
foswiki/Release01x01 a30d3fa SvenDowideit: Item12389: initial 1.1.7 update work...
[04:55]
***GithubBot has left [04:55]
FoswikiBothttp://foswiki.org/Tasks/Item12389 [ Item12389: debian pkg for 1.1.7 ] [04:55]
***gac410 has left [05:00]
............... (idle for 1h13mn)
lwhalenhey all
Is there a way to make a web other than "main" the first web a user sees when logging in?
[06:13]
...... (idle for 25mn)
GithubBot[foswiki] FoswikiBot pushed 1 new commit to Release01x01: http://git.io/CxouNA
foswiki/Release01x01 11b9b20 SvenDowideit: Item12389: update to newer jquery...
[06:39]
***GithubBot has left [06:39]
FoswikiBothttp://foswiki.org/Tasks/Item12389 [ Item12389: debian pkg for 1.1.7 ] [06:39]
SvenDowideitlwhalen, yes
HomePagePlugin
[06:40]
lwhalensweeeet, thank you! [06:40]
SvenDowideit:) [06:40]
...... (idle for 27mn)
lwhalenerr
is there a way to disable plugins from the command line?
I installed the Avatar plugin, but now am getting this error message in the wiki error logs:
Can't locate Foswiki/Plugins/ImagePlugin.pm
oh wait, bin/configure still works, I can fix this...
[07:07]
hrmm, I think I'm doing something silly with the HomePagePlugin
I've got a web called "TheCompany", but when I put "TheCompany" into the SiteDefautTopic field under bin/configure, it still drops me into the "Main" web
do I need to put the fully-qualified URL
i.e. "wiki.mycompany.com/TheCompany/WebHome"?
[07:18]
........ (idle for 39mn)
jastlwhalen: try TheCompany.WebHome [07:59]
..... (idle for 23mn)
PeterSvendsenHi, I have made a a topic from where the user can generate a weekly report template.... there are 2 sections where e.g the quality report can be generated or the requirement report.... the top works perfect but the 2. try to create Webhome every time and I have no clue what the error could be...... do you have an idea what the normal error is in these cases..... the scripts looks very simular....
<sticky>%STARTSECTION{name="form1" type="section"}%<form id='Create1' action='%SCRIPTURLPATH{"edit"}%/%WEB%/'>......................................................................</form>%ENDSECTION{name="form1" type="section"}%</sticky>
[08:22]
jastwell, the target URL is /bin/edit/Web/
how is Foswiki supposed to guess a topic name other than WebHome from that? :}
[08:24]
PeterSvendsen| Add week and year to the name [weekyear]: | <input id="CreateLabel" type="text" name="TopicTitle" value="RequirementManagementReport%GMTIME{"$week$year"}%" size="40" /><br/> | | %ICON{"newtopic"}% | <input type="submit" value='Create' /> | <input id="CreateTopic1" type="hidden" name="topic" /> <input type="hidden" name="templatetopic" value=%SEARCH{ "RequirementManagementReport" scope="topic" nonoise="on" forma
The topic give a proposal e.g. RequirementManagement72013 (week and year) as topic title
[08:26]
jastyour "topic" form field doesn't set a value, either
TopicTitle doesn't magically determine the topic *name*
[08:27]
PeterSvendsenand the "funny" part is that the section in the top works perfect... it is the section below that doesnt work.... IF I try to move the text from the last section to the first then it is the sectio that worked fine that suddenly doesnt work :/
<input type="hidden" name="TopicTitle" value=topic />
[08:28]
jastyes, the TopicTitle doesn't determine the topic name (filename)
it only determines the title displayed when viewing the topic
[08:29]
PeterSvendsenokay..... what do I miss? [08:29]
jasta proper target URL for the form ;) [08:29]
PeterSvendsenI see the point..... [08:29]
jastyou can't really set both from the same input field without javascript [08:30]
PeterSvendsendo you have an example or could link me to a topic where I can read about it..... [08:30]
jastabout what, exactly? [08:31]
PeterSvendsensorry I wrote it before your last comment about the java script...
there is a java script in front of the first section and form...... I did use the same javascript for the 2. form.... but still aim for webhome.....
[08:33]
***ChanServ sets mode: +o MichaelDaum [08:47]
PeterSvendsenI can see that I have used http://foswiki.org/Support/BestPracticeTip12 as example... but if I create 2 x the example the 2. will not work! [08:50]
jastthese #Create, #CreateLabel and #CreateTopic things are references to "id" attributes in your HTML. IDs must be unique... so the second copy needs to use different ID attributes, and you have to call wikifyOnSubmit twice in the JS, with the two different sets of IDs [08:56]
PeterSvendsensound a bit complex.... so what I have to do is I dont touch the first form..... at the 2. form I copy the javascript as well...... change the form name to another name (form1)......or this correct so far? [09:03]
jastthe form name doesn't matter
at least not for this
the id="" attributes must be different, though
and in the JS you can just duplicate the wikifyOnSubmit(...) line, and put the new ids in there
(note the ids are prefixed with #s in the JS code but not in the HTML itself)
[09:13]
PeterSvendsenthanks jast... I give it a go :) [09:20]
jastbut actually there's a much simpler way now
http://foswiki.org/System/JQueryWikiWord
best look at the example... and here you really only need to change one ID
[09:24]
......... (idle for 40mn)
SvenDowideitpharvey CDot
next time we bumble about with benchmarking
http://www.dagolden.com/index.php/1849/adventures-in-benchmarking-part-1/
[10:05]
.......... (idle for 47mn)
CDotSvenDowideit: he kinda shoots the horse in the comments, where he implies calling a constructor "This::Class->new()" versus "new This::Class()" has an overhead
(it doesn't, as 5 mins spent benchmarks would tell him)
interesting idea benchmarking in subprocesses, though.
doesn't help when doing trivial gross benchmarks like running bin/view, though
cos there are so many associative arrays in the code being benchmarked that the results in a subprocess will still be all over the place :-(
[10:53]
MichaelDaumFoswiki benchmarks is less of a perl issue how to measure times
it is more on standardizing on what to measure
like a 20k web with lots of acls or so. then search.
transclusion
querying meta data
retrieving a non-top revision
as thats where we've got problems in the core atm
transclusions arent so much of a problem but a vital part of foswiki's strength
the range of increasingly more difficult to render pages is quite wide
some of the current slowness in System topics is just because they are badly written or trying to render too much. like CompleteDocumentation or WebIndex.
[11:06]
.... (idle for 15mn)
CDotMichaelDaum: right. And local configuration can have a huge effect too; like, what sort of filesys you use, how many preference files you load, etc etc
I have pretty much given up benchmarking in any more detail than "time ./view" on what I think is a representative page
and even that might be wildly wrong, given variance in behaviour of the various apache accelerators
[11:25]
MichaelDaumwell
a client recently wanted to know where the hot spots are: which topics take extraordinarily long.
and then dive into the causes no matter what they are.
[11:26]
CDotinteresting
and what did you find?
[11:27]
MichaelDaumlots of automatically generated topics with a couple of thousands revisions, for one. [11:28]
CDotaye, no great surprise there :-( [11:28]
MichaelDaumyea. that's been mainly due to rcs slowness and excessive forking going on... [11:29]
CDotdid yu ever try my plain file store? [11:29]
MichaelDaumnever. sorry. [11:29]
CDotyour loss :-) [11:29]
MichaelDaumit might be the right way to kick rcs: simple & no external requirements [11:29]
CDotthat's why I wrote it
KISS
[11:30]
MichaelDaumnother hot spots where badly written %SEARCHes, too many %SEARCHes for a single page and stuff like that
people were generating indexes doing a %SEARCH for each letter in the alphabet ... which of course was overkill
HolidaylistPlugin is quite slow
lots of TML tables on a topic make it very slow due to a problem in TablePlugin adding css to the header zone for each table.
that was a surprise
[11:31]
jastcould have fixed that with an ID :) [11:33]
MichaelDaumswitching off TablePlugin for that one page did it as well as the skin's foswikiTable css was looking nicer than what the users crafted there.
anyway it was a real catching up with twiki from where the client migrated a big wiki to foswiki
as twiki was perceived as being faster in general
the approach was pretty simple: first a time ./view loop over all topics of a web. then pick out the neuralgic topics and nytprof them.
[11:33]
CDoty, pretty much what I do
you didn't fix the TablePlugin problem? I saw that one in the tasks list and poked it a bit, but couldn't contribute much
[11:42]
MichaelDaumnaw
was just reporting what I've found
[11:47]
........... (idle for 54mn)
GithubBot[foswiki] FoswikiBot pushed 1 new commit to master: http://git.io/GwQOTw
foswiki/master d69ec89 MichaelDaum: Item12390: upgraded to latest moment.js version...
[12:41]
***GithubBot has left [12:41]
FoswikiBothttp://foswiki.org/Tasks/Item12390 [ Item12390: upgrade to moment.js 2.0.0 ] [12:41]
................. (idle for 1h22mn)
jastis there anything that prevents illegal characters in attachment names when renaming/moving an attachment via /bin/rename? [14:03]
Babaryes, I think there are checks. [14:03]
jasthm
it passes validateAttachmentName to untaint
oh, right, it doesn't complain about slashes
what happened here is that someone renamed an attachment to make the name contain slashes, and it confused the solr indexer
(I don't even want to know what else might happen because of this)
[14:04]
.................... (idle for 1h38mn)
***ChanServ sets mode: +o MichaelDaum [15:44]
ChanServ sets mode: +o MichaelDaum [15:55]
..................... (idle for 1h40mn)
gac410Howdy CDot: Have you ever looked at Project Honeypot? Looks like they might be a useful option to AWSPI. to block IP's of suspected evil during registration, etc. CPAN:WWW::Honeypot::httpBL [17:35]
CDotyes; I pointed them out to you, too :-) [17:36]
gac410Ah... brain fade for sure. [17:36]
We need an Engine hook that can reject requests very early. I don't see any current plugin hooks that would make sense.
Except for blocking registrations.
[17:46]
Or maybe an alternative to Engine::CGI Engine::CGI::httpBL that can lookup, cache and filter requests [17:52]
..... (idle for 20mn)
CDotgac410: what would be making that decision?
oh, a honeypot ref. OK
I like the "is_search_engine" API too. Could be useful!
[18:12]
lwhalenCDot: I don't know what your application is, but I'm spinning up a foswiki for an internal company wiki and I've found it exceptionally useful to restrict registrations to only allow people with an @companyname.com email address [18:22]
CDotlwhalen: indeed - that's one of the functions of the plugin (SafeWikiPlugin) that a number of us have been working on. [18:23]
lwhalenschweet!
lwhalen is new to Foswiki; a Confluence refugee
[18:23]
CDotwe're looking at ways to filter more effectively by IP address too, for public sites. [18:24]
lwhalenhave you looked at something like mod_security for Apache?
I understand that goes a little outside the ken of foswiki, but if there were a way to hook into it...
[18:25]
CDotno.... adding it to the list [18:32]
........... (idle for 53mn)
***ChanServ sets mode: +o MichaelDaum [19:25]
MichaelDaumgac410, you there?
WikiRingBot, seen pharvey
[19:26]
WikiRingBotWikiRingBot has last seen pharvey 11 Feb 2013 - 11:58 GMT on #foswiki
WikiRingBot has last seen pharvey1 8 Feb 2013 - 13:12 GMT on #foswiki
WikiRingBot has last seen pharvey2 12 Dec 2012 - 08:51 GMT on #foswiki
[19:27]
.................... (idle for 1h37mn)
TilJHi folks. Is it possible to use a 2-factor auth mechanism such as mod_authn_otp with foswiki? It's for a private intranet that I want to enable secure Internet access to without needing a VPN (to save our on-call guys a lot of hassle & time)
My understanding is that mod_authn_otp works with basic auth over SSL. I'm not sure how that plays with foswiki's method of re-using .htpasswd.
At a high level http://foswiki.org/System/UserAuthentication doesn't say that it /won't/ work, but OTP stuff is often full of gotchas so I thought I better check
I'm assuming that it would mean I would have to use the Apache login option
[21:04]
Babarif Apache provides it, foswiki won't care :)
all it needs is for Apache to tell it when a user is logged in, and to map his username to a WikiName
[21:08]
TilJWith OTP, the user's password will "timeout" after a bit. this is configurable (called "linger" mode. This gets around the HTTP statelessness problem, sort of and kind of. Would that do anything weird with foswoki?
For example, if the users password times out and they suddenly start to fail auth, what would the user see in terms of their session?
[21:11]
Babarif it's all done through apache, then apache would stop sending the HTTP_USER along, therefore Foswiki _should_ see him as being disconnected.
haven't tried that specific scenario thouh
*though
[21:12]
TilJthat sounds promising enough to warrant building a test environment anyway :-)
If I can avoid the use of VPN, then access from behind restrictive firewalls gets much easier
[21:13]
....... (idle for 31mn)
thiago_glaucohello fellows
I'm new user of foswiki and have a fresh install at my webserver
and I'm facing a little trouble when I try to edit anything:
I receive this message: There is a risk that someone may be trying to use your identity to change content
and no edition is made.
http://www.perl.blog.br
[21:45]
.... (idle for 19mn)
gac410MichaelDaum: I'm back... now you aren't
thiago_glauco: Does your browser allow cookies and javascript?
[22:06]
..... (idle for 21mn)
thiago_glaucoues.
yes
gac410: I'm supposing I didn't write file permissions right on the server.
gac410: I read in the install guide apache user must have rw permission in some files.
[22:29]
gac410Sorry... eating dinner - I'll be back a bit later. [22:31]
thiago_glaucosure! [22:31]
Babarlet me check then [22:32]
pharveythiago_glauco: is this a default install? No extra plugins, settings you've changed, etc?
Oh Babar: do you know anything about GPT/UEFI and VBox? I eventually got win8 guest working, dd'd my lenovo partitions to a boring old MBR partitioned vdisk... I suddenly feel ignorant of current computing ways, haha. Haven't had to touch EFI since dual-booting my macbooks...
I just couldn't for the life of me get vbox to do anything sensible from the EFI shell
[22:32]
Babarpharvey: last time I tried was a total failure.
thiago_glauco: weird. configure doesn't even work. You sure you configured apache?
[22:36]
pharveyyeah. I learnt all about new commands in windows called BCDEdit and bcdboot ... which got me going eventually [22:36]
thiago_glaucobabar: I restarted a fresh install. So it is not available right now! [22:38]
pharveypharvey wonders how long SecureBoot has been around? It's been a long time since I had a new-ish computer... took me a few goes to get debian installer to work :) [22:38]
Babarsecureboot? It's been about... 1 month? :)
thiago_glauco: ah ok. then usually your issue is because foswiki cannot authenticate your session
do you have a proxy? or some load balancer?
[22:39]
pharveythe symptom is: my x230 completely ignores the linux installation media as if it wasn't there. If you try to force it to boot from the usb with the F12 boot menu, the screen flashes briefly and you return to the F12 boot menu
eventually I discovered I could disable secureboot, and use "legacy" (rather than efi) mode
[22:41]
gac410pharvey, I reverted a change made by TomTomato to your Foswiki:Support.GlossaryMacro [22:50]
FoswikiBothttp://foswiki.org/Support.GlossaryMacro [ GlossaryMacro ] [22:51]
gac410Not sure why the change was made, but it didn't look useful to me. [22:51]
Babarseems pretty useless to me too [22:52]
pharveygac410: thanks. How odd.. [22:58]
Babarpharvey: SecureBoot looses all interest if you can allow it to boot from anything. anything is insecure. [23:05]
pharveyIt's disable-able from BIOS settings. I wonder when they'll simply remove that ability, then people who build grub2 will have to pay MS to sign their bootloader... [23:06]
gac410I think there is a signed loader avaiable now [23:06]
pharveyaccidentally booting from untrusted media is a legit concern, but it's useless if I can't administer the keys/sigs I need to trust
I thought the distros were doing an every-man-for-himself approach
[23:07]
Babarhttp://paritynews.com/software/item/614-the-linux-foundation-secure-boot-pre-bootloader-released
or the more interesting link at the end of the article: http://blog.hansenpartnership.com/linux-foundation-secure-boot-system-released/
[23:09]
gac410I guess a bug in samsung secure boot bios was allowing the secure boot code to brick the device. [23:13]
thiago_glaucogac410: Does foswiki works fine in web hosts shared plans? [23:26]
pharveythiago_glauco: here are some pointers - http://foswiki.org/Support/SharedHosting [23:27]
gac410thiago_glauco: it depends up on the hosting site, but yes, it can work fine. [23:28]
.... (idle for 18mn)
thiago_glaucoGuess there is no problem installing foswiki at web_root directory, right? [23:46]
gac410right. that should be fine. [23:46]

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