#foswiki 2015-04-23,Thu

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

WhoWhatWhen
oopsallberrysnow on to my next problem, I get a mismatched address error with my ssl cert even though the cert says yoursite.com and the url i go to is https://yoursite.com
I know its not foswiki related
[00:00]
gac410Hm SSL certificates don't play well with apache virtual hosts. The problem is that the https:// connection is encrypted BEFORE the hostname can be read from the GET request. [00:01]
oopsallberrysah [00:02]
gac410There are ways around it. lets see if I can find. It's a browser feature on recent browsers, plus apache config. [00:02]
oopsallberrysthank you [00:02]
gac410I can't remember it now. I'll have to google around a bit.
https://www.digicert.com/ssl-support/apache-secure-multiple-sites-sni.htm
https://www.digicert.com/ssl-certificate-installation-apache.htm
[00:04]
oopsallberrysthats the guide i actually followed to get this far :P [00:07]
gac410HM Well it's the SNI feature that causes the browser to include the server name in the request.
As part of the SSL / TLS handshake. It may also require browser tweaks.
[00:08]
oopsallberrysi'll have to play around with the configuration more, that short url thing was the bigger thing that was bothering me [00:09]
gac410https://wiki.apache.org/httpd/NameBasedSSLVHostsWithSNI
If server is dedicated, then you can just configure foswiki as the only server dedicated on port 443, and SNI isn't needed.
Rather than using a vhost statement
[00:09]
oopsallberrysnot sure how to set that up :( [00:11]
gac410Well SNI should work fine. provided all the right versions of openssl, etc are installed. [00:12]
oopsallberrysok [00:13]
..................................................... (idle for 4h22mn)
***gac410 has left [04:35]
............... (idle for 1h12mn)
ChanServ sets mode: +o CDot [05:47]
.... (idle for 15mn)
ChanServ sets mode: +o MichaelDaum [06:02]
.................. (idle for 1h28mn)
GithubBot[distro] cdot pushed 1 new commit to master: http://git.io/vf8DW
distro/master 4296db1 Comment: Item13378: fix broken function that has been wrong for who knows how many years
[07:30]
***GithubBot has left [07:30]
................ (idle for 1h17mn)
GithubBot[distro] MichaelDaum pushed 1 new commit to master: http://git.io/vf4fh
distro/master 7964c8d MichaelDaum: Item13381: fixed redirecting to the right place......
[08:47]
***GithubBot has left [08:47]
.................................. (idle for 2h47mn)
timlegg3MichaelDaum - Does Solr's "Profession" equal a Job Title? [11:34]
MichaelDaumtimlegg3, by default it uses the fields in https://demo.michaeldaumconsulting.com/bin/view/System/UserForm
... which is called Profession
you may however use whatever field you want. You'd have to customize the sidebar in a https://demo.michaeldaumconsulting.com/bin/view/System/SolrWikiUsersViewTemplate derivation
using something like %TMPL:P{"solr::facet" id="field_JobTitle_s" title="%MAKETEXT{"Profession"}%" hidesingle="false" }%
[11:36]
timlegg3Ah. I had to create a Custom LdapUserView for the values I wanted from Active Directory
Which I assume the concept of Profession is aproximately = to Canadain Job Titles
[11:38]
MichaelDaumhave a look at LdapNgPlugin's config
there's a setting called {Ldap}{PersonAttributes}
which maps AD properties to solr fields
such as title => Profession
company => OrganizationName, c => Country, ... etc
whenever solr indexes a topic with a $Foswiki::cfg{Ldap}{PersonDataForm} = 'UserForm' attached to it, will it ask AD for additional info as listed in $Foswiki::cfg{Ldap}{PersonAttribures}
and index them
[11:39]
timlegg3I will takes a look - I have pretty much figured out the skin so my search works as required. The only other item is changes which still shows me changes in a webs [11:42]
....... (idle for 30mn)
***ChanServ sets mode: +o Lynnwood [12:12]
.... (idle for 18mn)
ChanServ sets mode: +o gac410 [12:30]
..... (idle for 24mn)
Lynnwoodmorning gac410 - I see you saw my notes on Installation Guide part 2 rewrite and did some edits on it.
i think it was modest improvement on what was there before.
i'm going to be out most of day today but just wanted to touch base before i left.
[12:54]
gac410Lynnwood: a few minor edits. I checked both of your Sandbox topic into git, so the versions on trunk.foswiki.org should be your versinos. [12:55]
Lynnwoodexcellent! thanks so much [12:55]
gac410Thank you . they are indeed more usable. [12:55]
Lynnwoodi look forward to trying out beta2 [12:56]
gac410Yeah. if the fix stream is quiet I'll plan to build it late today or tomorrow. Need to track down the recent failing unit tests though. [12:57]
Lynnwoodi've been writing scripts for video tutorials on installation. i'm going to do one first on 1.1.9 as test run but anticipate having one for 1.2 when it's ready. [12:57]
gac410Cool [12:57]
Lynnwoodi'm looking forward to trying my hand at it. I working now to get my own notes on process down pat [12:57]
gac410One more topic that GuilainC thought was pretty bad is System/AdminSkillsAssumptions [12:58]
LynnwoodI'll try to take a look at it. [13:00]
GuilainCI've plan to work on at the end of the afternoon (around 18:00 GMT) [13:04]
gac410For anyone interested in checking it out, I added a SSL option to the http://foswiki.org/Support/ApacheConfigGenerator24
gac410 is not sure he likes the new foswikiFormstep div's. On 1.1.9 they add some framing around each div. On 1.2.0, it all runs together into one big area
I may need to add --- hr dividers into ApacheConfigGenerator to make it somewhat more readable on Foswiki 1.2.0
[13:16]
TarboxHello! Is it possible to automatically delete a user's user topic when their account disappears from ldap? [13:30]
.... (idle for 18mn)
jastTarbox: not currently supported... and if due to an error condition LdapContrib *thinks* that the account (or *all* accounts) disappeared... you're going to regret a feature like that :} [13:48]
TarboxI have thought of that but I need to do something. :\
I can always cross reference our sql server for "Is this agent actually fired?"
[13:48]
gac410Generally removing users in a wiki has side effects, because the users are forever remembered in the topic revision histories, etc. Unless they are read only. [13:50]
MichaelDaumTarbox, normally the LdapUserViewTemplate should flag the account being disabled or n/a. Then admins can simply delete the user topic (move to trash) [13:50]
jastyeah, but if it was a feature in LdapContrib, that wouldn't know anything about your SQL server [13:50]
Tarboxtrue true [13:50]
MichaelDaumor move to an Archive web
"Alumnis"
[13:51]
jastwhy is that in ablative form? ;) [13:51]
MichaelDaumit may be better to simply keep the user topics where they are and thus block this WikiName from being reused again [13:51]
TarboxHow do I set up an Alumni web that makes topic histories consistent? [13:51]
jastwikiname links in topic histories will break when you move the user topics, no matter where
*where to
[13:52]
gac410You can use something like FindElsewherePlugin to resolve them [13:52]
TarboxWow. I almost need that plugin. We do similar things alot with include.
How does that plugin interact with solrsearch?
[13:57]
gac410No idea [14:00]
Ah ... MichaelDaum CDot The Fn_LANGUAGES tests fail when site is utf8. I's a test issue, it has hardcoded entities. I've been trying to figure out how to fix it and I'm getting nowhere.
Expected:'de$<Deutsch>,en$<English>,fr$<Fran#e7;ais>&,it$<Italiano>' But got:'de$<Deutsch>,en$<English>,fr$<Fran#c3;#a7;ais>&,it$<Italiano>'
I assume I need to encode the Expected string into the site charset somehow.
[14:05]
CDotgac410: I'd guess so. The strings should start out life as "perl strings" (i.e. internal unicode). You can convert that to a string in the site encoding using $octets = Encode::encode_utf8($string)
sorry, using $octets = Encode::encode($Foswiki::cfg{Site}{CharSet}, $string, Encode::FB_CROAK)
[14:18]
jastfew strings in foswiki start out as unicode character strings
shouldn't matter in this case, though
the difference is pretty complicated anyway
for latin-1 strings, that is
[14:23]
gac410I assume the test currently has Français as an ISO-8859-1 string
So $expected = Encode::encode($Foswiki::cfg{Site}{CharSet}, 'Français', Encode::FB_CROAK) And then assert $expected eq $actual
yes indeedy, thank's CDot, jast ... that fixes it.
[14:25]
GithubBot[distro] gac410 pushed 1 new commit to master: http://git.io/vfRef
distro/master bf32616 George Clark: Item12888: Fn_LANGUAGES fails on utf8 sites...
[14:33]
***GithubBot has left [14:33]
CDot:-)
*all* string literals in perl should be thought of as unicode strings. The source file might be encoded using iso-8859-1 (or utf8 if use utf8 is in force) but by the time the interpreter has parsed the file, they will be perl-internal-unicode
[14:36]
gac410CDot .. Can't install TopicInteractionPlugin ... Can't call method "addChild" on an undefined value at /var/www/data/Foswiki-1.2.0_Beta_1/lib/Foswiki/Configure/Package.pm line 456. [14:40]
CDotffs [14:40]
gac410That's why jomo reopened that task.
Simulate works fine. When I ran an actuall install it crashes.
[14:40]
CDotlooks like Package.pm is assuming a .spec where none exists
CDot clones TopicInteractionPlugin for a closer look
[14:41]
gac410It might be a dependency
I'm running asimulate again
[14:42]
CDotCDot is guessing it's JQueryPlugin related [14:43]
gac410Maybe FlexForm? trying that one solo
Nope. :(
[14:44]
CDoty, it's trying to install a dependency
non-specific problem; it's just that the spec isn't being passed in
[14:47]
gac410And no indication of which one. :(
I think it might be RenderPlugin That's the only missing dep now on my system and it still crashes.
[14:47]
GithubBot[distro] cdot pushed 1 new commit to master: http://git.io/vfRLK
distro/master c3bd2e2 Comment: Item13357: missed passing the through to recursive call for dependencies
[14:52]
***GithubBot has left [14:52]
CDotfixed against Item13357 [14:52]
gac410Of course now it all installed fine... ah.. good you found it. Great [14:52]
Okay. NatSkin and TopicInteractionPlugin all installed okay ... but I cannot save the configuration :(
SAVE ABORTED: undef given as value for {DBCacheContrib}{AlwaysUpdateCache}, but the spec is not undefok
I think that's a spec issue maybe?
Damn. Can't get there from here. There is no tab for the DBCacheContrib, so I cannot "define" it. But I can't reload configure without losing the 78 pending changes.
Okay CDot ...any ideas? A "force" flag on the save to ignore errors?
Actually DBCacheContrib Config.spec has a default. It's been missed somehow: $Foswiki::cfg{DBCacheContrib}{AlwaysUpdateCache} = $FALSE;
And it's an old spec file, so no overrides, not undefok, not emptyok.
[15:02]
CDotdunno; the $FALSE is maybe mapping to undef somehow?
CDot does not favour a "force" option
[15:08]
gac410Save, Load and LoadSpec all have our $FALSE = 0;
Well you know jomo will reopen the task on this one :D
[15:09]
CDotwe really could do with a simple extension that we can use to cook up errors like this one
can't use the UnitTestContrib because it gets pseudo-installed too much
besides, need to test download install
[15:10]
gac410yeah
As jomo said, the NatSkin is a bit of an Acid test. Lots of dependencies, large complex extensions, Actually it looks really good if this is the last error.
[15:11]
CDoty, but it's a huge workload to isolate the errors when they happen [15:13]
gac410I agree.
Hm... trying to find this stuff in the DOM, I've tripped over autosaveSandbox.SomeNewTopic with the full topic text, expires "Fri, 27 Mar 2015 01:10:25 GMT"
Why/how is the dom polluted with something from a month ago, after numerous reinstalls, reboots, etc.
It's part of something called "localstorage"
[15:13]
CDotlocalStorage is a browser API used to store .... things ... locally
it offers a lot more storage than cookies
[15:19]
gac410yeah... I've been reading about it. I guess it's nothing to worry about. [15:19]
CDotyou can check the contents using the chrome debugger - under "Resources" [15:19]
gac410Yeah, I'm on Firefox. Firebug shows it as well. That's how I discovered it. [15:20]
CDotI didn't know it was used in FW JS [15:20]
gac410I wonder if it's tinymce? I remember reading something about autosave somewhere. [15:20]
CDotmebbe. [15:21]
jasta
sorry, network was down, things happened
[15:27]
CDot{DBCacheContrib}{AlwaysUpdateCache} is a BOOLEAN. They are inherently "nullok"
:-/
[15:32]
gac410Should they also be undefok [15:32]
..... (idle for 20mn)
GithubBot[distro] cdot pushed 1 new commit to master: http://git.io/vfRwj
distro/master a09e7cb Comment: Item13357: BOOLEAN types are implicitly undefok. Plus fixed some doc. Plus fixed load of a Config.spec not terminated by 1; in DEBUG mode. Plus fixed session expiry in an environment where there is no WorkingDir
[15:52]
***GithubBot has left [15:52]
CDotgac410: the check in the Save wizard doesn't draw that distinction. [15:53]
..... (idle for 22mn)
gac410Thanks CDot ... After pull, the save went fine. I'll rebuild a new beta and try it all from the top. [16:15]
TarboxIs there a button to push to make text under headers automatically indent or do I need to start hacking the css? [16:16]
gac410There is a new indent syntax coming in 1.2 ... 3-spaces : But nothing on 1.1.9 [16:16]
TarboxI'm in 1.2! :P
wow that's nice.
Wow that's perfect. Love you guys.
Is there a foswiki preferred way to change the styling on ---+++ headers?
[16:17]
gac410Change the "Theme" if you are using PatternSkin [16:19]
TarboxUsing NatSkin. [16:19]
gac410MichaelDaum might have a suggested solution. no idea here. [16:19]
TarboxMeh I've already got my own selfish css tagged on top of natskin, I was just wondering if there was another place. [16:20]
gac410Hm. I think we need a Checker on {Plugins}{JEditableContribPlugin}{Enabled} ... to add a note that it is only enabled on older versions of JQuery [16:20]
MichaelDaumTarbox, to quickly add custom css create a topic Main.SiteHtmlHead with a <verbatim>%STARTINCLUDE<style>h2 { some custom styles} </style>%STOPINCLUDE%</verbatim> [16:26]
TarboxThank you. [16:26]
MichaelDaumor per web: WebHtmlHead
defaults in System.SiteHtmlHead
see docu at System.NatSkin#WebComponents
[16:26]
gac410CDot... jomo will be happy. Fresh install, Installed NatSkin and let it resolve all the deps. 78 config settings updated, no errors, and no checker warnings or errors after reloading configure. [16:29]
MichaelDaumit still requires a Set SKIN = nat [16:31]
gac410I'm just trying to make sure that Configure is happy [16:32]
MichaelDaumyay [16:32]
gac410looks good though with just a ?skin=nat added to the url.
Hm... maybe a css issue on my browser? The "UserName" and "Logout" links at the upper right corner are rendered with about 1/3 of the icons and text cropped off by the page border.
[16:33]
MichaelDaumthat's because a plain ?skin=nat doesn't suffice [16:35]
gac410Ah... same on chrome [16:35]
MichaelDaum?skin=customato.nat,nat fixes it
... which is added automatically by the ThemeEngine in case the SKIN preference is nat
[16:35]
gac410Yup. looks good now.
Okay, well good, a very cursory check, this seems to install without errors and runs fine on a fresh beta build of 1.2.0
Probably about the only annoying buglet is the "undef" path error on initial bootstrap visit to bin/configure. But it resolves after first save.
[16:36]
gac410 wonders why UpdatesPlugin even needs {Plugins}{UpdatesPlugin}{ConfigureUrl}: [16:44]
Tarboxsince you guys coughed up the indent function so readily... is there a way to force a <ol> to start with a particular number in 1.2? [16:46]
gac410I have not tried it with 1.2, but http://foswiki.org/Extensions/ExplicitNumberingPlugin gives you more control over lists.
CDot, since the file system paths are split out into a separate tab from the URL paths, things are no where as cluttered as they were. Do you object to removing EXPERT from the file system paths? Otherwise all the checking wizards are completely hidden
[16:49]
CDotNo - though I might have split it further, into "File System Paths" and "Store Paths" (pub and data) [17:02]
gac410I can do that if you want [17:02]
CDotnot a big deal, though
nah, leave it, it's not that important
[17:02]
gac410Okay. I'll make that tab and most of the paths visible by default. I'll leave TempfilePath as expert
gac410 was wondering also about whether PermittedRedirectUrls should be expert or not. It can be "emptyok" though, we don't need the "undefok" which adds the checkbox to the UI.
[17:03]
CDotCDot dislikes the "lightbulb" icon used for wizards intensely
it's fine for operations like validation, but "find new extensions" as a lightbulb? meh
[17:05]
gac410yeah me too. I'd much rather have it look like a button. I tried to change the CSS and made a real mess of it. [17:05]
CDotreally? OK [17:06]
gac410gac410 doesn't do css very well. :) [17:06]
CDotI think there must have been work on the CSS to make it *not* like a button [17:06]
gac410I also wanted to make the font for the wizard a little darker, but could not find where it gets set to gray. My poor eyes... [17:06]
CDotline 153 of configure.uncopmressed.css - comment out those three lines
to get button-fu back
font colour is at line 168
again, just ocmment that line out
[17:08]
gac410hm Maybe just add a border with a radius, and darken the text. Rather than reverting fully back to a button. [17:10]
jomohi, Simply GREAT! Just installed NatSkin - and without any error - AcidTest is passed. ;)
jomo closed the http://foswiki.org/Tasks/Item13364 (with an small comment) :) :) - the new extension/configure is much much better. ;)
[17:16]
CDotgac410: you can't have your cacke and eat it;-)
cake
[17:17]
gac410gac410 is cutting/pasting. have it back to a button mostly.
Okay. I have them much more buttonish, gradient, darker text #666, and text goes to #000 on hover.
Now as long as MichaelDaum doesn't object too much :D
[17:18]
CDotgac410: try http://pastebin.com/6DGL6X9i
should be a happy compromise between us and Michaellvelli
[17:23]
gac410:) [17:23]
CDotthe :not(.class) css selector is a real life-saver at times :-) [17:24]
gac410looks good to me. Makes the wizard buttons more obvious that they are going to go do something, instead of just manipulation of the element.
hm... one more tweak. The text goes white over light grey when hovering
Can't read it when hovering and about to click. ... now what did that say?
[17:26]
GithubBot[distro] gac410 pushed 1 new commit to master: http://git.io/vf08Y
distro/master 282f1cc George Clark: Item12381: Reveal the File System paths...
[17:33]
***GithubBot has left [17:33]
gac410I updated the spec. Leaving the CSS to you :) [17:34]
GithubBot[distro] cdot pushed 1 new commit to master: http://git.io/vf0Bu
distro/master 79e29de Comment: Item13364: user experience improvement; see buttons as buttons
[17:38]
***GithubBot has left [17:38]
GithubBot[distro] gac410 pushed 1 new commit to master: http://git.io/vf0E7
distro/master e36ba71 George Clark: Item13364: But don't reverse text when hovering buttons...
[17:45]
***GithubBot has left [17:45]
.... (idle for 19mn)
timlegg3With NatSkin if I want to provide links would it be best to use System.SiteLinks, Main.WebLinks or System.WebLinks - I assume a WebLinks topic in a particular Web will override either of these? [18:04]
....... (idle for 30mn)
jomoWhen i reportted a year ago a Task, what still have the state "New" - but in the 1.2 trunk it works OK - to what i should set the new state? "No action required" or "Closed" ? [18:34]
TarboxA weblinks in a particular web will override SiteLinks. Only SiteLinks will show up in every web [18:34]
gac410jomo: which task [18:34]
jomohttp://foswiki.org/Tasks/Item13330 [18:35]
gac410That one needs to go Waiting for Release. It's fixed and the issue was most likely in 1.1.9 as well. [18:35]
jomojoking with the "year ago" :)
ah so - ok, so doing nothing with it..
[18:35]
gac410yeah I'll take care of it. [18:36]
FranzJosefGiglerbusy building a new beta georg? ;-) [18:38]
gac410Not quite yet. I wanted jomo to be happy with his "acid test" which he seems to be.
And I think GuilainC and Lynnwood_ are going to update some of the documentation a bit more.
[18:39]
jomoLOL :) :) - THANK YOU - im really happy - and honestly, the new confugure is much better now ;) [18:40]
gac410We really need to figure out how to get some more translators working. Some of the language states are pretty sad. [18:40]
FranzJosefGiglerthx Jozef for reporting back the issues regarding configure, I was disappointed with the usability too, but did not find time to give feedback [18:42]
jomo:) thank cdot/gac410 for fixing :) [18:43]
gac410gac410 does the haranguing, cdot the fixing [18:43]
FranzJosefGigleryou're right, time for yet another VirtualBeer :-)
hope 1.2 will get released soonish, so the developers can give more TLC to older plugins
[18:43]
GuilainCI think this topic need to be rewritten too http://foswiki.org/Download.OtherFoswikiInstallers
isn't it ?
I suggest to reorganise in anti-chronologic :
---++ trunk
---++ 1.2 Beta x (today beta 2)
---++ 1.1.9
what do you think ?
let me a try in Sandbox, and see ?
damned ! this topic is pretty not up to date too : http://foswiki.org/System.UpgradeGuide
[18:59]
gac410I have mixed emotions about them. The debian/rpm pkgs have enough issues that I'd rather not advertise them.
Try http://foswiki.org/System/UpgradeGuide01x02
[19:02]
GuilainCah ok ;) [19:03]
gac410Anything in foswiki.org is 1.1.9 [19:03]
GuilainCso update link from InstallGuide01x02 [19:03]
gac410except when given the 01x02 suffix, in that case it's a symlink into trunk.foswiki.org
Once foswiki.org is upgraded to 1.2,. then it will be correct again.
[19:03]
timlegg3Thanks Tarbox [19:04]
gac410for now, the guide is (reasonably?) accurate for anyone upgrading to Foswiki 1.1.9
The focus of OtherFoswikiInstallers should be our "Current Release" ... covering alternate packages
[19:04]
GuilainCok
so we don't link specially to *01x02 ?
[19:05]
gac410ie. the 1.1.9 vmware image, 1.1.9 windows installer, .deb and .rpm packages.
No. 01x02 topics will go away ... except for ReleaseNotes01x02
As there is a ReleaseNotes01x01 and ReleaseNotes01x00
[19:05]
jomoThe svn based installation is still actual? The topic contains a chapter "Running From Subversion"... [19:06]
gac410Gah... no that needs to be git. :(
One of the topics I missed.
[19:06]
GuilainCis what i see
ok, the best is to make suggestion in sandbox as Lynnwood_ do ?
and you check/mixed gac410 ?
[19:07]
gac410er... check/mixed ???
I worked through Development web and updated / rewrote all of the Subversion related topics ... I missed the OtherFoswikiInstallers
I'll just update the Subversion part. Give me a couple of minutes.
[19:07]
GuilainCI want to say, for the process : I made correction on an Sandbox topic (over Lynwood topic) you get the diff, you accept or not in the git repo ? [19:09]
gac410If you made it after I updated git, I'll have to manually handle it. [19:10]
GuilainCso tell me what's the best process for making suggestion :D
for you
I'm just afraid to work directly on Git... but if needed...
[19:10]
gac410If you already edited, I can do the diff [19:11]
GuilainCI don't have made any change, for the moment, everything is on a paper :)
that's why I ask :)
[19:12]
jomojomo is an gitdiot... [19:13]
gac410Just edit the topic in sandbox and I'll diff it. [19:13]
GuilainCok gac410, let's go !
hum to be sure System/InstallationGuide01x02 = Sandbox/InstallationGuide01x02Rewrite
or System/InstallationGuide01x02 is newer ?
if you don't know, i will make a diff
[19:13]
gac410I think I made some updates after I copied it over, so System/InstallationGuide01x02 is newer.
It's a link into the git checkout so it will always be the latest.
[19:15]
GuilainCok, re-import in sandbox [19:16]
gac410I fixed http://foswiki.org/Download/OtherFoswikiInstallers for the Subversion -> github update. [19:16]
GuilainCgreat :) I will make you a suggestion [19:17]
gac410Unfortunately without Sven, the Windows, Debian, and RedHat "Other Installers" will all be backlevel.
They will end up relegated to http://foswiki.org/Download/ArchivedOtherFoswikiInstallers
[19:20]
GuilainCIMHO there still are installer available for older version
not for current
is IMHO an important diff between available for an older version and totaly out of date
gac410, InstallationGuide is to apache centric
is there somewhere a topic which present in detail the configuration of all the other web server ?
for making something like "for other web server, see System.WebServer
[19:25]
gac410Documentation for other web servers is very sparse. There are some Support topics but nothing updated for 1.2
People have made many attempts at install documentation. A lot of it is very out of date.
It's a wiki, so it suffers from wiki-like illnesses ... gradually decaying information
We've always focused the official release docs on Apache.
[19:34]
GuilainCok [19:38]
gac410MichaelDaum has kept this one up to date: http://foswiki.org/Support/FoswikiOnNginx
though again not updated for 1.2.
This is the doc for Lighttpd http://foswiki.org/Support/LighttpdBestPractice
our IIS doc is very out of date. We have no developers working with IIS: http://foswiki.org/Support/FoswikiOnWin2KR2IISAndActivePerl
[19:39]
GuilainCIMHO, we need to have an index page like WebServer
which link toward different other topic and precise, if up to date or not
[19:42]
gac410Maybe the InstallationGuide could have an index right in it. [19:42]
GuilainCis it english ;
The first two use an a Apache config file
[19:43]
gac410This document covers installation of Foswiki on Apache. For other web servers, see ...
The first two ...???
[19:43]
GuilainChum could be good but InstallationGuide is pretty big...
it's en extract form the installationguide "The first two use an a Apache config file"
that's why i ask
for me is not an english sentence
but is not my native language
:
:D
After "Step 4: Configure the web server " line 1 of 1 §
an other extract : "there are three methods. First is... .... ... and Third is ..."
where is the second ?! :D
[19:44]
gac410Right. There are 3 ways to configure apache. Two of them use an apache configuration file. (either generated or manually edited) The third uses .htaccess files.
It is referencing the Method 1: Method 2: bullets below. That's the first 2.
[19:46]
GuilainCI've understand, after reading the reste :D
rephrase the first § to be more introducing, because is detailed after
[19:49]
gac410There are three different methods to use when you configure the Apache web server. They are defined in more detail below. The first two ... [19:50]
.... (idle for 18mn)
jmk0hi there, got a security question. I'm creating a plugin to generate links to Doxygen documentation and ran up against the issue of the security of the root URL. What's the best way to prevent people from setting the root URL to something malicious? [20:08]
gac410Oh... the root URL your plugin uses? [20:09]
jmk0yeah
i.e. it will generate a url like d8/daf/classblahblah_1_1meh__coll__puml.png
[20:09]
gac410Stuff like that it's best to put in a Config.spec file and configure it using bin/configure. That's limited on who can update the config. [20:10]
jmk0ok
thanks :)
[20:10]
gac410The Spec file has a special format, There is some docs out on Support web. I was just looking. Easiest is to find another plugin and do what they did :)
See http://foswiki.org/System/DevelopingPlugins#Structure_of_a_Config.spec_file
[20:12]
GuilainChum... in foswiki docu I'm always estonnished how twiki (and trademark) are cited
i'm not a specialize, but a quick google give me that : http://www.autodesk.com/company/legal-notices-trademarks/trademarks/guidelines-for-use
which confuse me more...
nevermind,
gac410, my version of InstallationGuide could be find here : http://foswiki.org/Sandbox/InstallationGuide01x02Rewrite
don't forget to correct my english mistake
[20:15]
gac410okay. I'll compare it [20:17]
GuilainCat least, and discuss (or not) if you disagree
let's go to rewrite "admin skills" (big work here...)
[20:17]
jmk0fwiw I think the ImagePlugin configuration is defined incorrectly
it's missing the {Plugins} hash key
[20:27]
gac410Some of the older plugins put stuff in the root. This has been a moving target over the years
{Plugins} is now recommended to ONLY be for the Module and Enabled keys.
I think the configuration is recommended to go under {Extensions}\
Configure itself doesn't care much. The location of the keys in the menu structure depends upon the ---+ ----++ ... headings
[20:28]
jmk0...
ignoring that for the moment, how do I get the configure script to refresh?
[20:31]
gac410just hit reload? [20:33]
jmk0browser warns me against refreshing for post data [20:34]
gac410Okay, then you can just put the cursor on the URL and hit enter. [20:34]
jmk0fair enough, but that seems a bit wonky [20:37]
gac410It's unusual to need to reload, unless you are a developer. so nothing is in it to intentinoally refresh [20:37]
jmk0ok ok :-/ [20:38]
.... (idle for 15mn)
gac410GuilainC: The ApacheConfigGenerator24 will replace ApacheConfigGenerator before we release 1.2.0. It was intentional to not reference both generators. [20:53]
GuilainCoops
!
so in this case, the help in "step 4"
I quote :"The configuration shipped with Foswiki is for Apache 2.2 or earlier. Apache 2.4 has changed the syntax of the configuration file. Ensure that mod_access_compat is enabled for backwards compatibility when using Apache 2.4, or use the updated Foswiki:Support.ApacheConfigGenerator24 config generator. "
need to be updated
[20:54]
gac410Right. That may have snuck in :) [20:56]
GuilainCso the shipped config file is for apache 2.4 ? [20:56]
gac410No. It's still for 2.2. But mod_access_compat will let it work with 2.4 [20:57]
GuilainChum and why to not go to the 2.4 by default ?
I say that, because event debian, should pass to the 2.4 on this saturday
(new stable version)
[20:57]
gac410Because 2.4 config will not work on 2.2 which is still in the majority. But 2.2 config will work on 2.4 [20:58]
GuilainCok good reason ! :) [20:58]
gac410I think I'll add a note about "Other web servers" in the "Before you start" [20:59]
GuilainCyou don't like what i've done ?
In the 5-minute install ?
is it unreadable ?
as you like, I'm just think it's need to point out that foswiki run under ngix & co
more an more people, don't use/ doesn't want use apache
[21:02]
jomoright... me is one of them... :) [21:05]
gac410No I'm thinking it should be more focused. Maybe even a <div...> This document is focused on Apache. For documentation on other web servers, refer to (links to foswiki.org) ...</div>
The configure on apache step should be focused on apache, not digress to other servers.
Actually right at the top - the first sentence, says ...on Linux with the Apache web server. So maybe extend that. For information on other web servers see: <bullets linking to Foswiki.org topics>
[21:05]
GuilainCyou're right, is at the top level
but what's interesting si what I haven't seen the "apache specific" at the top of page.
all the sentence should not be in bold
my first rewrite : http://foswiki.org/Sandbox/AdminSkillsAssumptionsRewrite
please feel free to edit comment
[21:21]
gac410I'm thinking it should be above the contents. So the first thing the user reads. [21:23]
jmk0or skims over :) [21:24]
GuilainCyou're right, (you) tell it [21:24]
gac410I like it. [21:24]
GuilainCthe first sentence is :"This guide describes the steps for manually installing Foswiki, with specific steps for installations on Linux with the Apache web server."
is clearly apache...
so I don't see it !
perhaps refrase like for upgrading
Other Web server ? : see Foswiki:Documentation.WebServer
let me proposed this
[21:24]
gac410WebServerConfiguration ?
It's interesting reading the pure HTML version of the InstallationGuide. Generated with the release. No color, much more difficult to read.
[21:27]
GuilainCsure, italic and bold need to be more used
so i rephrase InstallationGuide
title
and first sentece
sentence
and so, I think I've made my foswiki homework today
... need to sleep before leaving tomorrow for week-end
[21:28]
gac410okay thanks. I'll work through them and merge them into the git versions. [21:29]
GuilainCdon't hesitate to refuse [21:29]
gac410Then have Lynnwood_ review them and build Beta 2 tomorrow night. [21:29]
GuilainCall my apacheConfiguration24 stuff [21:29]
gac410Yeah I'll put that back to just ApacheConfigGenerator [21:29]
GuilainCok, good to hear that, I will come back on monday [21:30]
gac410I added https: configuration information to the ApacheConfigGenerator24 [21:30]
GuilainCwhere I will on my debian upgrade (jessie should be here !! :D)
and then.. beta 2 install & testing
[21:30]
gac410sounds good [21:31]
GuilainChttps is a simple url rewrite ? [21:31]
gac410No... I mean the apache SSL configuration statements [21:31]
GuilainCah...
virtual host ?
take a quick look
[21:31]
gac410That's already there. optional [21:31]
GuilainChum [21:32]
gac410If you fill in the hostname/port it generates the vhost statement [21:32]
GuilainCdon't know how is done in other place, but for me, one host = one certificat, so I'm just making an https rewrite and is ok... (is what i've done before... but was it an virtual host ?! i don't think so...)
ok, I will need to use it for beta 2 install/testing
so it will be a good try
[21:33]
gac410If your apache is enabled for SNI and you use modern browsers you can use certificates on name based virtual hosts [21:34]
GuilainCok, don't know all of that,
I'm pretty new in ssl certif :)
even if I dream for a long time to set up my own Certificat authority
[21:35]
gac410yeah it's complex [21:36]
GuilainCyes, especially when I think of it :) [21:36]
gac410the issue with vhostts, is the certificate is chosen before the hostname is sent. Hostname is part of the encryped request. [21:36]
GuilainCI add complexity by my requirements analysis :D
oh...
seems to be "strange" IMHO
[21:36]
gac410So SNI is a TLS extension that passes the vhost name during the SSL/TLS handshake before the channel is encrypted [21:37]
GuilainCbut if is like Apache do... Apache has right :D
ok, i will read on that
last thing, InstallationGuidePart2 will be for the next week or Beta 3/ release
ah and AdminSkillsAssumptions
is based on the previous topic, but with a free interpretation
and with my experience added
[21:37]
gac410I liked your rewrite. I'll review and check it in. I'm hoping we will not need beta3
gotta go. supper
[21:38]
GuilainCok, quickly what's the planning for the release
beta 2 saturday
and realease ?
realease = release
(when I'm tired)
UpgradeGuide seems to need improvement too
[21:38]
gac410After beta 2, if no new tasks, or nothing major, I'll push to get the translations back to 100% and we'll build an RC. Then if NO checkins after a few days, will re-release 1.2
Anything major will trigger a beta 3
And any checksin means we need to build an RC2
[21:51]
GuilainCok
so 1.2 should be release, in the quickest in one month, in the latest in two/three month
[21:55]
gac410hopefully < 1 month. [21:57]
GuilainChope :D [21:57]
gac410It depends on how many more bugs jomo finds :D [21:57]
GuilainC:D
so goodnight
[21:57]
gac410goodnight [21:57]
jomo:)
gn
[21:58]
.......... (idle for 49mn)
gac410howdy Lynnwood [22:47]
.............. (idle for 1h6mn)
GithubBot[distro] gac410 pushed 1 new commit to master: http://git.io/vfuPx
distro/master 435f4f3 George Clark: Item13364: Eliminate error in UpdatePlugin...
[23:53]
***GithubBot has left [23:53]
gac410Lynnwood: Are you updating any topics? I'm going to try to fit some of GuilainC's suggestions, but I'll edit in git [23:56]

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