#foswiki 2011-11-23,Wed

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

WhoWhatWhen
***ArthurClemens has quit IRC (Remote host closed the connection)
ArthurClemens has joined #foswiki
[00:04]
terceiro has quit IRC (Remote host closed the connection) [00:09]
dj_segfault has joined #foswiki
GithubBot has joined #foswiki
[00:15]
GithubBot[foswiki] foswiki pushed 1 new commit to Release01x01: http://git.io/3YYQvg
[foswiki/Release01x01] Item9526: Uncommitted translations in the last 4 hours - WikiTranslationGnome
[00:18]
***GithubBot has left [00:18]
FoswikiBothttp://foswiki.org/Tasks/Item9526 [ Item9526: Translation work (needed for Pootle auto-checkin - please don´t close) ] [00:18]
......... (idle for 43mn)
***dj_segfault has quit IRC (Quit: Leaving.)
dj_segfault has joined #foswiki
dj_segfault has quit IRC (Client Quit)
ArthurClemens has quit IRC (Ping timeout: 245 seconds)
[01:01]
Plazma has quit IRC (Quit: leaving) [01:13]
pharvey has joined #foswiki [01:21]
pharveyjoelio: there's an EasyMacroPlugin-based glossary solution at http://foswiki.org/Support/BestPracticeTip16
(FWIW)
I'm trying to find time to convert our own usage of it into something that uses SemanticLinksPlugin, though; then all the topics that make use of the glossary term can easily be displayed on the glossary term's topic
Debian went to gnome3 recently - struggled for a few hours - then tried xfce (which I've used only a handful of times over the last 10 years) and got it going in ~30mins... :(
Something is really wrong when a piece of software I've used for a decade, has a new version that's more alien to me than a totally unfamiliar alternative
[01:22]
gac410pharvey - what did you upgrade windows?
pharvey - does Foswiki:Tasks/MyItems render properly for you? I
[01:39]
FoswikiBothttp://foswiki.org/Tasks/MyItems [ MyItems ] [01:40]
gac410I'v lost the right side bar
It's down at the bottom - like there is a unclosed div or something.
[01:40]
....... (idle for 34mn)
pharveyupgrade windows? Nah, dist-upgrade on Debian testing, brought in a whole bunch of gnome3 stuff (including gnome-shell)..
can't move the clock, couldn't delete an unwanted panel, couldn't move the widgets around..
[02:15]
gac410Yeah I read back in the log a bit and saw it was a debian update. I never really liked gnome. [02:15]
pharveyI never hated it enough to bother switching
until now :)
I don't think I've really felt I was using an optimal desktop environment, since AmigaOS (with about 16 different tweak/hack apps to fill in missing functionality :-)
but primarily I think that's because the z-index of windows on AmigaOS was carefully respected
just clicking on a window didn't bring it to front. You could click a button to make it come to front, or use the layering button to make it cycle around the z-index
[02:16]
***MartinCleaver has joined #foswiki
MartinCleaver has quit IRC (Changing host)
MartinCleaver has joined #foswiki
[02:18]
pharvey... and as such, it was really hard to make an app that accidentally stole focus when the user didn't want it
but anyway
gac410: that sidebar is all wonky on my screen too
[02:19]
gac410I wonder what changed. hmmm [02:19]
***dj_segfault has joined #foswiki [02:21]
pharveywhy is there <noscript><p><img src="http://stats.foswiki.org/piwik.php?idsite=1" style="border:0" alt=""/></p></noscript> in the <head>?
it's making the validator barf all over the place (assumes a missing </head> at that point)
[02:22]
***MartinCleaver has quit IRC (Remote host closed the connection) [02:23]
pharveygac410: ---+ heading sytnax inside <!-- HTML comments --> does weird things
on the bright side... I've now got perl 5.14, so I guess Debian 7 will skip 5.12
[02:25]
***dj_segfault has quit IRC (Read error: Connection reset by peer)
khnz_ has joined #foswiki
[02:32]
pharveygac410: fixed it, I think
oh wait
yeah, I think it's ok now
[02:34]
gac410What was it pharvey - [02:35]
pharvey--+ inside a <!-- HTML comment --> [02:36]
gac410--+ really? That's active inside a comment?
I thought everything was ignored until the --> (except for nested comments that are indeed not supported)
[02:36]
pharveywell, the validator cries, and apparently FF7 does too (I've noticed this causing weirdness before). [02:37]
***khnz has quit IRC (Ping timeout: 252 seconds) [02:37]
gac410yup - works fine. Who changed what? [02:37]
pharveyI have a feeling I broke it when I did the NeedsMerge thing [02:37]
gac410Strange. It was looking good until sometime today. [02:41]
pharveywell, I was the previous one to edit that page
I guess it's possible something magically fixed itself
I suspect the <!-- --+ thing has a subtle and annoyingly non-deterministic failure mode
[02:45]
gac410oh - when you get a chance, if you have some other browsers - please checkout my fix for the alt-shift-s data loss issue. [02:48]
....... (idle for 32mn)
pharvey - Will Item2174 get picked up in 1.1.5, or should I slot for 1.2. Trying to scrub the remaining "1.1.4" listed Tasks. [03:20]
FoswikiBothttp://foswiki.org/Tasks/Item2174 [ Item2174: WysiwygPlugin removes line breaks ] [03:20]
pharveygac410: in retrospect I should've put it in 1.1.4 - but I definitely don't want to wait til 1.2 [03:21]
gac410Well maybe we can do a 1.1.5 sooner. I'd really like to get us to release more often. [03:21]
pharveythat would be awesome :) [03:21]
gac410When Lavr picks up maybe he can focus on 1.2, and I'll do the janitorial stuff for 1.1.5, or swap - however. [03:22]
......... (idle for 41mn)
***wdenk has joined #foswiki
wdenk1 has quit IRC (Ping timeout: 248 seconds)
[04:03]
pharvey has quit IRC (Quit: ChatZilla 0.9.87 [Iceweasel 7.0.1/20111015075007]) [04:14]
.... (idle for 17mn)
GithubBot has joined #foswiki [04:31]
GithubBot[foswiki] foswiki pushed 1 new commit to Release01x01: http://git.io/Yh7ytA
[foswiki/Release01x01] Item10629: Make sure Compare demo works - GeorgeClark
[04:31]
***GithubBot has left [04:31]
FoswikiBothttp://foswiki.org/Tasks/Item10629 [ Item10629: CompareRevisionsAddOn demo topic cannot demo when the ,v file is not distributed ] [04:31]
.... (idle for 16mn)
***GithubBot has joined #foswiki [04:47]
GithubBot[foswiki] foswiki pushed 1 new commit to master: http://git.io/c_ROMQ
[foswiki/master] Item10629: Make sure Compare demo works - GeorgeClark
[04:47]
***GithubBot has left [04:47]
pharvey has joined #foswiki [04:55]
...... (idle for 28mn)
gac410 has left [05:23]
GithubBot has joined #foswiki [05:33]
GithubBot[foswiki] foswiki pushed 1 new commit to Release01x01: http://git.io/lC0Ang
[foswiki/Release01x01] Item10629: Make sure example matches screenshots - GeorgeClark
[05:33]
***GithubBot has left [05:33]
FoswikiBothttp://foswiki.org/Tasks/Item10629 [ Item10629: CompareRevisionsAddOn demo topic cannot demo when the ,v file is not distributed ] [05:33]
.......... (idle for 47mn)
***mfladischer has joined #foswiki [06:20]
..... (idle for 21mn)
pharvey has left [06:41]
......... (idle for 41mn)
leik has quit IRC (Ping timeout: 240 seconds) [07:22]
..... (idle for 20mn)
ThomasPHaeck has joined #foswiki [07:42]
CDot has joined #foswiki
BenjaminWilk has joined #foswiki
[07:55]
BenjaminWilkhello
which plugin can i use to integrate a video in a topic?
[07:59]
SvenDowideit_there's an ObjectPlugin iirc [08:01]
***pharvey has joined #foswiki [08:03]
BenjaminWilkcan i embed it too? [08:04]
***dnavarro has joined #foswiki
leik has joined #foswiki
[08:14]
leikgma [08:17]
***dnavarro has quit IRC (Ping timeout: 260 seconds)
pharvey has quit IRC (Ping timeout: 240 seconds)
pharvey has joined #foswiki
pharvey has quit IRC (Client Quit)
pharvey has joined #foswiki
denisr has joined #foswiki
[08:20]
.... (idle for 17mn)
MartinRowe has joined #foswiki [08:43]
leikhey pharvey, my mongo is missing certain topics.... I guess the import skips them and the only thing I see possible is a date field problem [08:52]
pharveyleik: anything special about the missing topics? [08:53]
leikyes, the date format
on a specific formfield
[08:53]
pharveyhrm
can you see the topic in a mongo shell?
something like: db.current.find({_topic: 'MyTopic'})
[08:54]
leikWe used to have "10.31.2010" as opposed to default "31 oct 2010"
after an edit the field now gets "31 oct 2010" (or more like 23 Nov 2011 but anyway) and it suddenly works
[08:54]
pharveyleik: this doesn't sound like a mongo issue - there's been lots of fixes in JSCalendarContrib which handles the date formfield type
leik: so I'm confused if mongo is missing the topic, or just can't match it
[09:02]
leikI saw one specific topic missing from a SEARCH type=query, that's how I saw the issue. After edit/save the date field is 'corrected' and it shows in the query
I'm trying to mongo search but have to find another missing first :)
But before I edited and saved the topic, I could not even do a SEARCH{ "name='theTopic'" type="query"..... drew blank
[09:03]
pharveysaving forces it to load I guess [09:05]
***dnavarro has joined #foswiki [09:05]
pharveyleik: let come up with a query to count the topics known to mongo for a given web [09:05]
leikHmm, now I've set JSCalendarContrib's format to %d.%m.%Y that should be 31.10.2010 right? When editing the calendar pops up sayin 'undefined NaN' [09:09]
pharveyare you using current JSCalendarContrib? [09:09]
leikyes [09:10]
pharveyleik: db.current.find({_latestIsLoaded: 1}).count()
should match the number of *.txt files in the web
[09:12]
***Babar sets mode: +ooo CDot leik pharvey [09:14]
leik47 files diff, i.e. more txt files [09:17]
***Alexander__ has joined #foswiki
padraig_lennon has quit IRC ()
[09:18]
Alexander__CDot: Hi, i still get the right sort oder in the topiclist and no error appeared with your hack in handler.pm. do you have any idea, if this hack could effect some errors in foswiki? [09:25]
CDotAlexander__: what errors did you have in mind? I already checked in updated code..... should be released in 1.1.4 [09:26]
BabarAlexander__: yeah, I updated my comments yesterday but it never made it here. So no, his code is clean, it shouldn't have any impact [09:27]
Alexander__ok i see! perfect...
when will you release 1.1.4 officically?
[09:29]
pharveyGeorge mentioned he wanted to do an RC1 in the next day or two [09:34]
***padraig_lennon has joined #foswiki [09:36]
leikpharvey, I found one that's not queryable. Actually the only difference here is the first line %META
The one not workin is: %META:TOPICINFO{author="BaseUserMapping_333" date="1310385868" format="1.1" version="3"}%
Comparing that to another who's is queryable.
[09:38]
pharveyexport FOSWIKI_ASSERTS=1 and then re-do ./rest /MongoDBPlugin/update -updateweb... [09:39]
leikWhat does BaseUserMapping_333 mean?
I do find it manually in mongo with the db.current.find
export as in bash shell
[09:39]
sorry, I don't find anything.. [09:51]
***pharvey has quit IRC (Ping timeout: 258 seconds) [09:55]
leikand when the format of a date field is different (stored is 31.10.2010) when editing topic and clicking it just default to value of "1 Jan 1970". That's nice.... [10:00]
SvenDowideit_mmmm
user topics get created with some terrible gumpf.
form name == %META:FORM{name="%25USERSWEB%25.UserForm"}%
which seems to result in the UserFormViewTemplate not getting used
and i presume this is why arthur then hard codes personalinfocontrib to the VIEW_TEMPLATE
thus preventing us from allowing others to render differently :(
%META:PREFERENCE{name="VIEW_TEMPLATE" title="VIEW_TEMPLATE" type="Local" value="PersonalInfoUserView"}%
which makes me think we have 2 bugs here - the hardcoding of VIEW_TEMPLATE which is future eating :/
and AutoViewTemplatePlugin not groking and (probably ignoring) the web portion of the form name
SvenDowideit_ decides thats enough depression for the day, and potters off to do some washing
[10:01]
***pharvey has joined #foswiki
ArthurClemens has joined #foswiki
[10:07]
GithubBot has joined #foswiki [10:16]
GithubBot[foswiki] foswiki pushed 1 new commit to master: http://git.io/lwY1qw
[foswiki/master] Item11265: some doc improvements - CrawfordCurrie
[10:16]
***GithubBot has left [10:16]
FoswikiBothttp://foswiki.org/Tasks/Item11265 [ Item11265: Create Extensions.WikiAppStorePlugin ] [10:16]
pharveyleik: that's not nice - we've had a flurry of 1970 fixes, so you need to ping Babar who's in charge of that bug ;-)
although that sounds like you've got dates stored in a different format to the one you're using
[10:30]
Babarleik: which version are you running?
this sounds like a 1.1.2 bug, iirc
(the date not recognised => null => epoch)
[10:31]
leikwell, I'm kinda depressed right now... and have so much other stuff to do.. but one of them is testin VERDE for VDI so that's more "attractive" atm :) [10:32]
pharveyleik: export FOSWIKI_ASSERTS=1 or use bin/LocalLib.cfg to enable asserts and then do another ./rest /MongoDBPlugin/update to see if it gives more warnings/errors [10:32]
leikBabar, that sounds about right, not recognizing the format -> epoch. [10:33]
***BenjaminWilk has quit IRC (Ping timeout: 265 seconds) [10:33]
leikThere is no bin/LocalLib.cfg only the txt, should I copy it and make one? [10:34]
pharveyyeah, I know what you mean. I've been wrestling bugs in the whole damn linux stack, from libopenssl 1.0.0 bugs to CPAN crap not liking perl 5.12 to Mongo + Foswiki weirdness, but at least I've got rid of my unicoded corruption problems :)
yep, that's the idea
and un-comment the line near the top which mentions FOSWIKI_ASSERTS = 1
[10:34]
leikand I guess set the $foswikiLibPath [10:35]
pharveyI usually set it... dunno if you have to... but the comment implies it's needed
pharvey wasted 4 hrs on the openssl bug >:(
which clearly means I'm an idiot who wastes time on useless tasks like upgrading software
[10:35]
CDotpharvey: if you have unicode, the rest is just icing ;-) [10:41]
pharveyuntil the next CGI.pm or FCGI.pm update breaks it all again :P
... or MongoDB, for that matter
pharvey can appreciate that LWP::UserAgent 6.0+ refuses to connect to sites with self-signed certs, but didn't anticipate the openssl bug
likelihood a given problem is PEBKAC >> bug
[10:41]
leikdon't get any errors during import
don't find anyway
checking mongdb.log, fw errors.log and debug.log
apache errors.log
[10:45]
pharveyok :(
anything special about the missing .txt that aren't in mongo? It can't really be the date values... surely
I've noticed that mongo has trouble refreshing its copy of a topic if the .txt vs ,v are "out of sync"
[10:47]
leikBut I see that CLI perl -T save -topic Web.Topic does so that the first line changes, and voila the topic is possible to query [10:49]
pharveyeg. the rev number is less than the latest rev in mong
are these .txt files manipulated outside of fowiki?
leik, btw the BaseUserMapping_nnn are aliases for things like Nobody, WikiGuest, AdminUser etc.
333 is WikiGuest I think
[10:49]
leikI think there's two issues... first the date format, just has todo with epoch etc... then the first line with META that makes the topic not show in query
Here's the first line of a topic before and after a simple CLI save, first one is not possible to search qwith query agaist
%META:TOPICINFO{author="BaseUserMapping_333" date="1310385926" format="1.1" version="2"}%
%META:TOPICINFO{_authorWikiName="AdminUser" author="BaseUserMapping_333" date="1322045121" format="1.1" version="3"}%
[10:51]
pharveythe _authorWikiName thing is annoying, but I'm 99% sure this isn't the cause of your problem
leik, what's your MongoDB perl versoin? perl -e 'use MongoDB; print $MongoDB::VERSION';
[10:53]
leikthe authorWikiName isn't showing so it's not annoying at all.. though sometimes it shows :) haven't seen the logic yet [10:55]
pharveyyeah, I was supposed to fix that bug today [10:55]
leikmongo 0.45 [10:55]
pharveyok. [10:55]
leikdon't worry, you're not gonna run out of bugs :) [10:57]
pharveypharvey considers ditching this computer stuff and becoming a hot air balloon pilot
btw if you can come up with another "missing" topic, please run rlog TheMissingTopic.txt against it
I want to know if the RCS version is the same as the META:TOPICINFO version
maybe we should have a special ASSERT(topic exists in mongo) after it's been loaded
[10:58]
leikjust for the record, the topic is find-able in mongo and viewable with and without view_template [11:00]
pharveyer, so I'm confused now... I thought you said there were missing topics
and we checked that comparing the .count() result with the *.txt count
[11:01]
leikyeah....there's a diff between mongo and count of txt files [11:03]
pharveymaybe my .find() isn't good enough
but are you saying you can't see any "missing" topics now?
[11:03]
leikThat was in the beginning, but then I manually did the find you suggested and the non queryable topic is _not_ a candidate for missing txt og ,v
the find with mongo CLI
[11:04]
pharveyok [11:04]
leikdb.current.find({_latestIsLoaded: 1}).count() gives different than ls *txt | wc -l [11:05]
pharveyare any of the .txt missing ,v files? [11:05]
leikno [11:05]
pharveyI must admit I haven't done this check on my own systems yet
so maybe my .find() is wrong
[11:05]
leikSo one problem is that the search doesn't find the topic when the first line with META is without _authorWikiName
So it seems to me
[11:07]
pharveyhrm, that's not the case on my wiki
as I've been researching it :)
oh crap.
[11:08]
leikthat's nic :) like when the dentist goes "ouch!" [11:09]
pharveyhehe
hrm, I just had an idea of where to look for this bug
I hope I'm wrong :)
[11:09]
leikI hope you're right :) [11:13]
Alexander__I have a question regarding the BuildContrib. How do you use the trackingcode? I don´t get it completly... [11:24]
pharveytrackingcode? [11:26]
CDotAlexander__: it's an informational code added to the sources of anything you build. It allows you to maintain a database of *who* you have released the extension to. Thus, if someone shows up with a copy that you don't recognise, you can track it back to the source.
it's primarily for my use, though anyone else can obviously use it too :-)
[11:26]
Alexander__i think it´s interesting...i´m just investigating how we can manage the complexity of x distributed wikis with y different configurations... [11:28]
CDotAlexander__: hmmm. Well, I didn't consider using it for that, as i would normally track "distributed wikis" using a tool like git or subversion
using git for e.g. you can simply create a branch for each of the Y configurations
[11:29]
***GithubBot has joined #foswiki [11:31]
GithubBot[foswiki] foswiki pushed 1 new commit to master: http://git.io/jkGYBQ
[foswiki/master] Item11268: play around with css to make it a little more like the original - SvenDowideit
[11:31]
***GithubBot has left [11:31]
FoswikiBothttp://foswiki.org/Tasks/Item11268 [ Item11268: build a User topic dashboard using widgets. ] [11:31]
Alexander__hmm...but if the customer is updating the wiki via configure the branch doesnt fit with reality [11:31]
CDotit can do if, for example, you host a github that allows them to check in to the branch
CDot does not do that, is just exploring possibilities
[11:32]
Alexander__...yes there could be an automatic checkin after downloading from an extensions host...
that´s the next issue...i would like to provide updates within one extensions server. Every customer should get an unique id and according to this id the customer has the possibility to download extension updates...
right now, we have an extensions server and every customer can see every extension provided there.
this ok for customized qwiki extensions we are providing but that is not ok for customer specific extensions :)
[11:34]
***pharvey_ has joined #foswiki
pharvey has quit IRC (Ping timeout: 244 seconds)
pharvey_ is now known as pharvey
pharvey has quit IRC (Changing host)
pharvey has joined #foswiki
[11:43]
CDotAlexander__: I solved that by using Foswiki access controls to limit what each customer could see in a common Extensions web
since access to the pub folder is also restricted (by viewfile) it's a complete solution.
note that using this approach means that the UpdatesPlugin can be used for customers to get notification of available updates
[11:55]
SvenDowideit_+1 for ACL's in a custom Extensions web
i do that too - its alot more pain for those that i also make a debian repo for, but thats extra credit
(i make one dev repo per client so that their secret hidden etc etc are not at all visible to others
mmm, looks like i'm going to get nothing done today :( oh well gotta go again
[11:59]
.... (idle for 19mn)
***ThomasPHaeck has quit IRC (Ping timeout: 276 seconds) [12:20]
ModAcOst has joined #foswiki [12:25]
pharvey has quit IRC (Quit: ChatZilla 0.9.87 [Iceweasel 7.0.1/20110930065748]) [12:37]
..... (idle for 24mn)
Alexander__ has quit IRC (Read error: Connection reset by peer) [13:01]
Colas has joined #foswiki [13:08]
MartinCleaver has joined #foswiki
MartinCleaver has quit IRC (Changing host)
MartinCleaver has joined #foswiki
[13:22]
JulianLevens has joined #foswiki [13:32]
JulianLevensNot having much luck with Vagrant
The configured Debian-squeeze.box is either not there or I need some sort of access permission
[13:33]
.... (idle for 19mn)
Babaryeah, wait...
crap!
sorry, my fault
I promised Sven yesterday that I would fix it
and... I fell asleep
doing it now
[13:52]
ok, push'ed [13:57]
hum... tried it locally with my local vagrant, and it seems to work. It downloaded the basebox, installed it, then imported it, and now it's running the installation
so JulianLevens: git pull
then: vagrant up
[14:04]
***gac410 has joined #foswiki [14:07]
Babarah yes, this recipe is made to run the unit tests, so... it might stop for ages at: [default] [Wed, 23 Nov 2011 14:06:47 +0000] INFO: bash[run_unitTests] sh("bash" "/tmp/chef-script20111123-1330-1mvlj6d-0") [14:08]
***JulianLevens has quit IRC (Ping timeout: 244 seconds) [14:18]
gac410Anyone please verify fix for Item10288 - Need to make sure that the javascript I wrote is reasonably cross-platform [14:21]
FoswikiBothttp://foswiki.org/Tasks/Item10288 [ Item10288: Saving in fullscreen mode (via shortcut key) loses changes ] [14:21]
***JulianLevens has joined #foswiki [14:25]
JulianLevensYes finally fetching the box, not the fastest connection but getting there [14:25]
Babarit's your connection, not mine :) [14:37]
JulianLevensQuite, local Wi-Fi connection but now done. Let the provisioning commence [14:38]
Babaras I wrote, when it starts running the unit tests, you can stop it :)
ERROR: Failed: Release01x01 => 2 failures:
PasswordTests::test_htpasswd_plain
VCStoreTests::verify_Inconsistent_getRevisionAtTime_VCStoreTests_RcsWrap
[14:45]
gac410Babar - those have been passing here - What platform? [14:46]
BabarDebian64. it's the vagrant image :)
first one could be that it's missing the module
[14:48]
gac410VCStoreTests::verify_NoHistory_implicitSave_VCStoreTests_RcsWrap fails ere [14:48]
Babarbut it shouldn't fail, it should be an expected fail [14:48]
gac410Nope never mind - epoch was off by 1 - timing issue. Worked 2nd time.
htpasswd-plain ... I don't recall that needs any special dependencies - to do a plain text compare?
[14:49]
***leik has quit IRC (Quit: Leaving) [14:49]
gac410plain doesn't have an dependencies. [14:52]
BabarPasswordTests::test_htpasswd_plain
fails here
[14:53]
gac410Passes here.
okay - we have a test ordering issue. Passes in the full PasswordTests - Fails when run individually .
[14:54]
Babartrue. Weird it failed on the full unit tests then.. .I'll check the logs [14:57]
gac410Looks like there is a user in the database with a missing password under some conditions. Probably a prior test established the user. [14:59]
Babarbut, the test should add the user... [15:00]
gac410User mole is missing a password [15:00]
Babaryes, I put the same message as you :)
mole => { pass => '', emails => 'mole@hill' }
seems to be fair enough to me :)
[15:01]
gac410Some of the tests explicitly are for a missing password. Looks like the auto tests add the password. So if Auto runs first, which it must on my system then plain passes. [15:02]
Babaroh, and I got shitloads of: WARNING: UpdatesPlugin has no module defined, it might not load!
I have to save LocalSite.cfg again?
[15:03]
gac410Amazing that we've gone this long without hitting that error. - plainfile one [15:03]
BabarI'm guessing nobody ever ran this test alone :)
*** AUTO TESTS WILL FAIL: missing Crypt::PasswdMD5
[15:04]
gac410Yeah. Actually the error is that the AutoTests writes a new htpasswd file. [15:06]
no - it's the autotest adding plainpasswordx to a user who is supposed to have a missing password .... and some other test bug. [15:11]
CDotusers should be torn down at the end of tests
if a test is leaving a user around, it is a bad test
[15:12]
gac410There is a hash of users to test against, not the users file itself. One test modifies the "to-be-tested" cases. [15:13]
Babarreally?
# Limited support to autodetect a plain text password. # It fails if the password is 13 characters long, since it could # also be a crypt password which is more likely. $users1->{mole}->{pass} = 'plainpasswordx';
argh
[15:14]
gac410test_htpasswd_auto right. The next line modifies the "expected results"
But password verification for a missing plain password is all broken - everything falls apart.
[15:15]
Babarlet's put some ugly: local %users1 = %users1;
argh, no, can't do that, it's a ref...
crap!
[15:16]
gac410I just added a line at the end of the test to change it back to ''
of course then plain always fails. The doTest routine isn't set up to handle a missing password - :-(
A missing password should always fail iirc - argh...
I'll have to work on it tonight (10-12 hours from now) Have to get on the road for Thanksgiving holiday - time with family today/tomorrow.
So ... for a corner case of a corner case. With plaintext passwords, should a missing password entry == login with no password, or == login not possible.
[15:17]
CDotgac410: have fun slaughtering innocent turkeys! [15:23]
gac410yum. [15:23]
JulianLevensEnjoy all the trimmings too [15:28]
gac410Thanks
Foswiki/Users/HtPasswdUser.pm routine checkPassword - it does "return 0 unless ($encryptedPassword)" Change to "defined $encryptedPassword)" allows a "missing password" to validate.
[15:28]
***SvenDowideit_ has quit IRC (Read error: Connection reset by peer) [15:31]
padraig_lennonHey all, just following up on the WikiAppStorePlugin on the mailing lists. Has anyone any further thoughts on it? [15:32]
gac410And in the unit test, same thing. PasswordTests around line 69, $this->assert( defined $encrapted{$user} ); instead of just ( $encrapted{$user} )
But lord knows if I'm opening up any holes.
It may be safer to say a missing password can never validate. Though there is some argument to be made that a special Guest / no password login could be useful in some cases.
[15:32]
JulianLevensBabar, I've logged into the VBox with putty via SSH. But no web-service, the suggested http://localhost:8080 is not available. With ps -A I cannot see an httpd, next? [15:35]
gac410padraig_lennon: Just wondering -- is the WikiApp installer a "subset" of the normal extension installer - only permits changes to Topics, probably has tighter access controls. [15:35]
***mfladischer has quit IRC (Remote host closed the connection) [15:36]
gac410Do we want/need yet another installer, Or would it make sense to carve out a version of the extension installer that could be used more widely.
May not be possible .. just thinking out loud.
[15:36]
padraig_lennonIn a manner yes.. the plugin as it stands simply copies the topics defined in a manifest pref variable to a personalized sandbox web called Sandbox/<UserName> and provides links to the raw=all mode of each of the same topics which comprise the Wiki app. Its very simple.. Doesn't touch user permissions..
If the plugin was installed on foswiki.org/trunk we could test out the workflow.. That might be easier as it depends on some topics being present on the WikiApps web..
[15:38]
BabarJulianLevens: you let chef finish?
lemme check :)
[15:39]
CDotgac410: by "missing password" do you mean a user with a null password in .htpasswd?
cos a null password means - IIRC - "don't let this idiot log in, and don't let them re-register again using this name"
[15:39]
JulianLevensI could, I stopped the unit tests as suggested, can I restart yet skip these tests
I should run the tests eventually of course
[15:40]
CDotpadraig_lennon: are you OK with my doc edits? [15:41]
padraig_lennonJust looking at them now... [15:41]
***MartinRowe has quit IRC (Quit: Leaving.) [15:43]
padraig_lennonYa look good..
I was thinking CDot that the same plugin could be used to showcase wiki apps on a local install as well. In this case we would define a configure setting which would point locally or remotely.. e.g. foswiki.org
or both
[15:44]
gac410CDot, excellent thanks. So we don't want to change that behavior. I'll make sure that is tested tonight unless someone else gets to it. [15:46]
CDotyes. But the point is that "showcasing" and "installing" a wikiapp is the same operation
"hsowcasing" is just "installing" the app to "Sandbox" with the extra step of creating the user web
i.e. "Sandbox/DemoMe"
gac410: safe drive
[15:46]
***gac410 has left [15:47]
padraig_lennonI suppose so.. You're essentially "installing" to a sandbox area.. [15:47]
CDotzactly [15:47]
padraig_lennonSo are we all agreed on renaming the plugin to WikiAppInstallerPlugin? [15:48]
***SvenDowideit_ has joined #foswiki [15:48]
CDot+1 [15:48]
padraig_lennonShould we just leave it open for a while to see what others think or just fire ahead? I doubt it makes much difference really.. [15:49]
CDotnah, go ahead and rename. I really doubt apple would be troubled by a "WikiApp" store, but it's not the best name anyway [15:58]
padraig_lennonok.. Whats the best approach to renaming the plugin in svn? Should I try and rollback the 2 checkins?
"svn mv" I assume..
[15:59]
***denisr has quit IRC (Quit: Parti)
Enrique has joined #foswiki
Enrique has quit IRC (Client Quit)
[16:10]
CDoty [16:12]
***EnriqueCadalso has joined #foswiki
JulianLevens has quit IRC (Read error: Connection reset by peer)
[16:15]
padraig_lennonCDot.. Thats done now.. [16:23]
***JulianLevens has joined #foswiki
GithubBot has joined #foswiki
[16:29]
GithubBot[foswiki] foswiki pushed 2 new commits to master: http://git.io/ZJXxLw
[foswiki/master] Item11265: Renaming to WikiAppInstallerPlugin - PadraigLennon
[foswiki/master] Item11265: Forgot to rename the url parameter - PadraigLennon
[16:31]
***GithubBot has left [16:31]
FoswikiBothttp://foswiki.org/Tasks/Item11265 [ Item11265: Create Extensions.WikiAppStorePlugin ] [16:31]
***mtempest_ has joined #foswiki
mtempest_ has quit IRC (Changing host)
mtempest_ has joined #foswiki
[16:33]
JulianLevensBabar, I had to restart windows. I'd left a vagrant process running and could not regain control (did not know what to kill) [16:43]
BabarJulianLevens: vagrant halt
should kill it :)
[16:43]
JulianLevensWindows lost the path settings, so vagrant was not recognised, fixed that but now complains about not finding java 1.5 or higher again!
Vagrant halt didn't kill it. That's what was odd
[16:44]
Babaryeah, that's odd [16:45]
JulianLevensAnyway need to go home now. I'll try again tomorrow [16:45]
Babarthere is also vagrant destroy, as a last resort
it will then rebuild and reconfigure the box upon the next vagrant up
[16:45]
JulianLevensEven vagrant status would complain of another vagrant process already running. I found a .vagrant file (default active contents) maybe I should have killed that instead
Bye
[16:47]
***JulianLevens has quit IRC (Quit: JulianLevens) [16:47]
Colas has quit IRC (Ping timeout: 258 seconds) [16:52]
Babarnah, the .vagrant file is the ID of the VM
if you kill that file, the VM will stay there
and Vagrant can't control it
but he's gone anyway...
[16:59]
..... (idle for 21mn)
***mtempest_ has quit IRC (Ping timeout: 240 seconds)
terceiro has joined #foswiki
[17:20]
.... (idle for 18mn)
jomo has quit IRC (Quit: sleeping..) [17:39]
t35t0r has joined #foswiki
t35t0r has quit IRC (Client Quit)
[17:48]
EnriqueCadalso has quit IRC () [18:02]
CDotSvenDowideit: there's an IXUS 115 coming up in Amazon's Black Friday deals in 16 mins. £82. [18:14]
***procopio has joined #foswiki
dnavarro has quit IRC (Quit: Leaving)
[18:19]
ArthurClemens has quit IRC (Ping timeout: 244 seconds) [18:26]
procopiohi
i was interested in having a word count for a topic
is there a "nice" way to do that?
[18:28]
Babarwrite a plugin :)
my $wordcount = $text =~ /\w+/g;
[18:30]
procopiowouldn't that count everything in the topic?
including META ...and other "nonreadable" data
?
hi babar!
[18:34]
***foolove has joined #foswiki [18:34]
foolovehi just wondering has anyone moved from foswiki to confluence [18:35]
Babarfoolove: why would anyone consider that? :)
procopio: most likely, yes
[18:35]
procopiowell .... how could i have a "readble" word count? [18:36]
foolovesomeone who is open minded to learning new things along with working in an environment that does not have an approval for foswiki but already has approval for confluence
i cant get foswiki approved
[18:36]
Babar:( [18:36]
procopioshould we just wait for them in a dark alley ...
and let them know they are wrong ;)
[18:38]
***Alexander__ has joined #foswiki [18:47]
Alexander__Hi there...where can i find the 1.1.4 branch in svn?
is there a branch?
is it the 1x1 branch that will be tagged for 1.1.4 later on?
[18:49]
***MartinCleaver has quit IRC (Quit: MartinCleaver)
MartinCleaver has joined #foswiki
MartinCleaver has quit IRC (Changing host)
MartinCleaver has joined #foswiki
[18:57]
CDotAlexander__: the 1.1 branch will be tagged to create the RC, yes. [19:01]
***ArthurClemens has joined #foswiki [19:01]
Alexander__ok, thanks [19:01]
CDotfoolove: if you want to use Confluence, you need to talk to Martin Seibert at Seibert media [19:02]
Alexander__CDot: what about Item10825... that patch will not be included in 1.1.4..or is it even not necessary anymore? [19:04]
FoswikiBothttp://foswiki.org/Tasks/Item10825 [ Item10825: using save in a rest call destroys character encoding ] [19:04]
CDotAlexander__: no, the patch will not be included - it is wrong, as I read the analysis later in the topic. I doubt that a solution is possible until we solve unicode in the core (which is in progress for 1.2, but won't make 1.1.4)
I can't comment whether it is necessary or not - I haven't investigated.
[19:09]
Alexander__i read that you opened a branch for unicode foswiki, is it a public branch? [19:09]
***foolove has quit IRC (Ping timeout: 244 seconds) [19:10]
CDotpublic for reading, yes
BTW I think the patch is *not* needed if you have SiteCharset == utf-8, but I have not tested.
[19:10]
Alexander__ok, can i explore it in github? [19:10]
CDothttps://github.com/cdot/foswiki - the branch is called 'unicode' [19:11]
***ArthurClemens has quit IRC (Quit: ArthurClemens) [19:11]
CDotif you want to contribute, then we are desperate to get people testing amd experimenting with it [19:12]
Alexander__do you completly mirror the whole foswiki project? [19:12]
CDotaye
pharvey tried playing with submodules, but advised against it so long as we are using git-svn (at least, I think that's why)
[19:13]
***ArthurClemens has joined #foswiki [19:14]
Alexander__do you use it comercially? [19:15]
CDotin what sense? you mean, do I sell a package based on foswiki? no. Do I support people using it? yes. [19:16]
Alexander__ok...so you don´t have to pay for github i think? [19:17]
CDotnope
that branch is purely open source work
CDot is *not* getting paid for working on unicode
[19:17]
Alexander__hmm...i think it would make sense for us to move to github, but we have the need of resticted areas where we can work on customer issues... [19:19]
CDotyou can always set up your own github. [19:20]
***procopio has quit IRC (Read error: Connection timed out) [19:20]
Alexander__jep...but can i still mirror the foswiki github?
...could i integrate foswiki git into my "personal" git?
[19:23]
***foolove has joined #foswiki [19:26]
jomo has joined #foswiki [19:33]
procopio has joined #foswiki [19:40]
CDotno idea - I'm not a git expert. Ask Babar. [19:43]
***CDot has quit IRC (Quit: Leaving.)
foolove has quit IRC (Ping timeout: 252 seconds)
foolove has joined #foswiki
[19:45]
Zenopus has quit IRC () [19:56]
Zenopus has joined #foswiki [20:04]
foolove has quit IRC (Ping timeout: 245 seconds) [20:12]
.... (idle for 16mn)
foolove has joined #foswiki
procopio has quit IRC (Quit: ChatZilla 0.9.87 [Firefox 8.0/20111104165243])
[20:28]
ModAcOst has quit IRC (Remote host closed the connection)
Alexander__ has quit IRC (Quit: ChatZilla 0.9.87 [Firefox 8.0.1/20111120135848])
[20:34]
....... (idle for 30mn)
EnriqueCadalso has joined #foswiki
foswiki_irc7 has joined #foswiki
[21:04]
foswiki_irc7Hello
I have never installed Foswiki on Linux before
only windows
(easy-slacker)
I have it up and I can get into the system web, but when I login, I cannot see anything but the system web, I get an access denied for any others
I manually added myself to the admingroup in the config file
no luck
since I am, at best, a linux hack, I am not even sure where to begin the troubleshooting
[21:07]
EnriqueCadalsoHello. You can start here http://foswiki.org/Support/SettingFileAccessRightsLinuxUnix [21:10]
foswiki_irc7Access Denied, Attention, Access check on Main.WebHome failed. Action "View", access not allowed on web
this applies to 1.1 -1.3 also?
[21:11]
EnriqueCadalsoHave you been modifying the ALLOWTOPICVIEW settings in WebPreference topics in other webs? [21:13]
ArthurClemensit looks like you have a permission issue on foswiki level, not on linux level [21:13]
***SvenDowideit_ has quit IRC (Read error: Operation timed out) [21:13]
foswiki_irc7not that I know of :s but that doesn't mean....
I set everything to chown apache
[21:14]
EnriqueCadalsoby default ALLOWTOPICVIEW is open to anyone... [21:14]
foswiki_irc7in the foswiki directory
have only edited manually, LocalSite.cfg, LocalLib.cfg and .htpasswd (and the group site)
[21:14]
EnriqueCadalsoyes, but ArthurClemems is right, it seems on foswiki level. [21:15]
foswiki_irc7ok
i can work with that
go back through foswiki cfg files
[21:15]
EnriqueCadalsoanyway, to be sure about linux permissions is ok. Be sure about apache user, in debian is not apache but www-data. [21:16]
foswiki_irc7rhl [21:16]
EnriqueCadalsoyou could go by the filesystem and check if in .../foswiki/data/Main/WebPreferences.txt there is a line * Set ALLOWWEBVIEW= (with nothing else next to the = sign), It there is something there remove it. But anyway if you are using the admin account it shouldn't have any effect. You should be able to see everything...
but first run the script in http://foswiki.org/Support/SettingFileAccessRightsLinuxUnix, it wont make any harm.
[21:19]
foswiki_irc7cool, thanks, I am not venturing too far away though, wish I had found ya'll about 2 this morning. ;) [21:22]
***EnriqueCadalso has quit IRC () [21:26]
EnriqueCadalso has joined #foswiki [21:33]
pharvey has joined #foswiki [21:39]
pharveyincidentally, TinyMCE has a wordcount plugin.
For procopio: * Set TINYMCEPLUGIN_ADDITIONAL_MCEPLUGINS = wordcount
[21:40]
***foolove has quit IRC (Ping timeout: 258 seconds) [21:50]
.... (idle for 15mn)
t35t0r has joined #foswiki [22:05]
EnriqueCadalso has quit IRC (Ping timeout: 265 seconds) [22:16]
foswiki_irc7ok, so I went to the webpreferences.txt and removed the two groups that were listed after ALLOWWEBVIEW and now I don't even get the Wiki forbidden anymore, now I get Forbidden You don't have permission to access /foswiki/bin/view/System/WebHome on this server.
sigh
ran the script
[22:21]
***foolove has joined #foswiki [22:23]
ArthurClemenspharvey: I renamed the wordcount FAQ, hope you don't mind [22:27]
Babarah... show me please :)
Babar gave a really stupid idea before leaving for diner :)
[22:27]
***pharvey_ has joined #foswiki [22:29]
pharvey_ArthurClemens: sure, no problem :) [22:29]
***ArthurClemens has quit IRC (Quit: Leaving...)
t35t0r has quit IRC (Quit: Leaving)
[22:32]
foolove has quit IRC (Ping timeout: 248 seconds) [22:39]
gac410 has joined #foswiki
gac410 has quit IRC (Changing host)
gac410 has joined #foswiki
gac410 has quit IRC (Remote host closed the connection)
gac410 has joined #foswiki
[22:45]
EnriqueCadalso has joined #foswiki
foolove has joined #foswiki
[22:55]
...... (idle for 27mn)
foolove has quit IRC (Ping timeout: 240 seconds)
jomo has quit IRC (Quit: sleeping..)
[23:26]
gac410 has quit IRC (Remote host closed the connection)
gac410 has joined #foswiki
[23:35]
jomo has joined #foswiki [23:47]
pharvey has quit IRC (Ping timeout: 248 seconds) [23:56]

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