WebGUI irc logs from: 2008-01.log

--- Log opened Tue Jan 01 00:00:28 2008
-!- vayde [n=vayde@c-24-118-7-216.hsd1.mn.comcast.net] has quit [Remote closed the connection]00:48
-!- dionak [n=dkidd@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui00:54
-!- dionak [n=dkidd@cpe-024-074-132-143.carolina.res.rr.com] has left #webgui []00:54
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [No route to host]01:28
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui02:22
-!- mode/#webgui [+o preaction] by ChanServ02:22
-!- dionak [n=dkidd@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui03:40
-!- dionak [n=dkidd@cpe-024-074-132-143.carolina.res.rr.com] has left #webgui []03:40
CIA-19WebGUI: colin * r5217 /WebGUI/t/Asset/Asset.t: add tests for getTitle and getMenuTitle05:18
CIA-19WebGUI: colin * r5218 /WebGUI/t/Asset/Asset.t: tests for getToolbarState, toggleToolbar and getUiLevel06:18
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit ["Leaving"]06:21
-!- SDuensin [n=Scott@12-217-75-184.client.mchsi.com] has quit [Read error: 110 (Connection timed out)]08:21
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui10:17
-!- mode/#webgui [+o preaction] by ChanServ10:17
CIA-19WebGUI: doug * r5219 /branch/doug-experimental/lib/WebGUI/ (Asset/Report.pm i18n/English/Asset_Report.pm): Nightly checkin because you forgot14:03
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Connection timed out]14:50
-!- SDuensin [n=Scott@12-217-75-184.client.mchsi.com] has joined #WebGUI15:10
-!- Radix__ [n=Radix@203.161.71.161.static.amnet.net.au] has joined #webgui18:11
-!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has quit [Read error: 110 (Connection timed out)]18:30
-!- vayde [n=vayde@c-24-118-7-216.hsd1.mn.comcast.net] has joined #webgui19:38
-!- Haarg [n=haarg@66-188-98-191.dhcp.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"]19:55
perlmonkey2Hello?20:23
perlmonkey2Everyone still hung over?20:23
-!- vayde [n=vayde@c-24-118-7-216.hsd1.mn.comcast.net] has quit [Remote closed the connection]20:40
-!- BartJol [n=Administ@54-167.surfsnel.dsl.internl.net] has joined #webgui21:38
BartJolwell happy new year everybody21:39
-!- BartJol [n=Administ@54-167.surfsnel.dsl.internl.net] has left #webgui []21:45
CIA-19WebGUI: colin * r5220 /WebGUI/t/Asset/Asset.t: 21:48
CIA-19WebGUI: Add the failing test for assetAddPrivileges back in, but don't run it.21:48
CIA-19WebGUI: Add tests for assetUiLevel and getUiLevel.21:48
CIA-19WebGUI: colin * r5221 /WebGUI/t/Asset/Asset.t: Coverage tests for assetExists.23:48
--- Day changed Wed Jan 02 2008
-!- dannymk [n=danny@68.15.55.161] has joined #webgui00:10
dannymkcap10morgan, please contact me when you get a chance.  I would like to add your patch to my module, however I have a few questions.00:12
-!- perlmonkey2 [n=perlmonk@ip68-97-51-70.ok.ok.cox.net] has quit ["Leaving."]00:33
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui00:43
-!- mode/#webgui [+o preaction] by ChanServ00:43
dannymkHi preaction01:18
dannymkhappy new year.01:18
@preactionindeed01:18
dannymkI am in the process of adding Authentication 2.0 to the OpenId module01:19
@preactionnice01:20
dannymkas you requested.   However, the rest will have to wait.  Just started a new Perl training job that is taking up a lot of my time.01:21
dannymkHave you seen cap10morgan on this channel in the last month?01:22
@preactionno problem, i've finally got time and my own branch to start experimenting with, but i've got some productivity things to do first (since everything I do would be so much easier if I didn't copy/paste it every single time, and instead subclassed it)01:22
@preactionyes, once in a while01:22
dannymkI need to talk to him about his patch.  Where can I find his email?01:25
@preactionis his profile private?01:26
dannymkyes01:26
@preactionyou might want to just reply to the thread, he'll get an e-mail if he's subscribed to it01:29
dannymkDone!01:29
dannymkI also would like to work on the WChat object.  Since I have been away a while I expect someone else took on the module.01:30
dannymkhas it been worked on?01:30
@preactionnope, we've been busy on other things01:30
dannymkDarn, I need to work on that too.01:31
@preactionI've got a little ajax-enabled Shoutbox asset though, if you want the code for that01:31
dannymkReally would love to have that Chat WObject01:31
@preactioni made it as part of the WUC last october01:31
@preactionyou still haven't gotten it? we tried about 10 different ways01:31
dannymkyes, I have it now.  Just have not worked on the code01:32
@preactionah01:32
dannymkwould like it to be done!  :-P01:32
dannymkGuess, I have to work on it.01:32
@preactionit'd be nice, to be sure01:32
@preactionbut imho there are more important things. the chat wobject is a flashy eye-candy thing, i've got internal mechanical things that i need to work on to make webgui better01:33
@preactionthat isn't to say that the chat wobject won't bring more people into webgui than my work01:33
dannymkyou guys have your hands full and that is why I help when I can.01:35
dannymkI appreciate the software.  It is clean, simple and somewhat well documented.01:35
dannymk:-)01:35
@preactionhave you seen the new URL / Content handlers, they're insanely awesome01:35
@preactionthe new developments in 7.5 (HEAD) are going to kick even more ass than 7.4 did01:36
@preactionperlbot crud01:38
@preactionperlbot learn crud as Create, Retrieve, Update, Delete -- the four corners of a proper database management tool01:38
perlbotadded crud to the database01:38
-!- vayde [n=vayde@c-24-118-7-216.hsd1.mn.comcast.net] has joined #webgui01:40
dannymkNot yet, very immersed in this new project I have in my new job01:47
@preactionunderstandable, new jobs are always fun01:47
dannymkI hate sysadmin/developer work but I hae to make a living :-)01:47
dannymkhae=have01:47
@preactionwhy do you hate sysadmin/developer work? what would you rather be doing?01:47
dannymkthat is why I don't login during the day any longer01:47
dannymkI just rather be just a developer01:47
@preactionah01:48
dannymkin these jobs I have to be a jack of all trades.  Sysadmin, DBA, Developer, Designer, etc...01:48
@preactioneh, i'm a generalist. i learned how to be a developer, and now that i've got a very decent job doing that, i'm teaching myself how to sysadmin / netadmin / network, etc..01:48
@preactioni like knowing as much as possible about everything01:48
dannymkI have been doing it almost 20 years and my mind can't take all the junk :-(01:49
dannymkjust too much to learn01:49
dannymkdon't mind working on stuff a bit but when it becomes part of my job then it becomes a problem01:50
dannymkthat is why I left my last job after 18 years01:50
dannymkwas tired of carrying the DBA01:50
@preactionanother middle manager trying to cut corners by making you work three jobs?01:51
dannymkNO, we had a sysadmin which I had to train then we had an older guy that really did not understand Oracle working as an Oracle DBA01:52
@preactionmuch fun01:55
@preactionas they say, everyone gets promoted just to their level of incompetence01:55
@preactioni feel that some people are better at faking competence than others01:55
dannymkPeter principle all the way, but that is the motto of the federal govt.01:56
dannymkoops, did I say that :-)01:56
@preactionsurprisingly we've got a few gov't clients, and they're very helpful when it comes to testing / exercising the code we write for them01:57
dannymkAh, not every office is like that01:58
@preactioni mean, we've probably doubled the size of WebGUI with one of our projects, and there remain little-to-no bugs in their code since they're so thorough in tracking them down01:58
dannymkGood to know.01:59
@preactionbut, it just means they've got competent people. that and their entire department lives and breathes their website01:59
@preactionwhich is another testament to the stability and usefulness of WebGUI ;)02:00
dannymkwell, that may be a well designed office.  Can't say the same for the place I worked.02:00
dannymkyup.02:00
@preactionit's almost as if the bigger an office gets, the more people rubbing shoulders and bumping elbows, the more BS gets floated around, the more market-speak team-building d'ya-have-a-second-to-help-this-guy-every-day-for-his-entire-career, and in a creative business like software development, the best people can't thrive02:02
dannymkah, you have experience in this area :-)02:10
dannymkLOL.  Well, I hope the new year brings us better circumstances.  Take care and again,  Happy New Year....02:11
dannymklater...02:12
-!- dannymk [n=danny@68.15.55.161] has quit ["Leaving"]02:12
-!- vayde [n=vayde@c-24-118-7-216.hsd1.mn.comcast.net] has quit ["Exit- stage left"]03:45
asciihow ya like dstat03:59
asciierp04:00
CIA-19WebGUI: colin * r5222 /WebGUI/t/Asset/Asset.t: 04:48
CIA-19WebGUI: Cover several other small utility routines. More getNotFound04:48
CIA-19WebGUI: tests need to be written.04:48
-!- Haarg [n=haarg@66-188-98-191.dhcp.mdsn.wi.charter.com] has joined #webgui06:17
-!- mode/#webgui [+o Haarg] by ChanServ06:18
-!- perlmonkey2 [n=perlmonk@ip68-97-51-70.ok.ok.cox.net] has joined #webgui07:38
-!- perlmonkey2 [n=perlmonk@ip68-97-51-70.ok.ok.cox.net] has quit ["Leaving."]08:13
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui09:36
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Success]10:11
-!- AMH_henry [n=henry@alphamega-dmp.xs4all.nl] has joined #webgui10:43
-!- Haarg [n=haarg@66-188-98-191.dhcp.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"]12:19
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui12:19
-!- mode/#webgui [+o preaction] by ChanServ12:19
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)]12:48
-!- BartJol [n=Administ@host1.procolix.nl] has joined #webgui12:50
-!- SDuensin [n=Scott@12-217-75-184.client.mchsi.com] has quit ["Leaving"]14:08
-!- SDuensin [n=Scott@49.sub-75-207-93.myvzw.com] has joined #WebGUI15:45
SDuensinGreetings.15:47
BartJolhi15:50
AMH_bobHAPPY NEWYEAR!!!!15:52
BartJoldito15:52
Radix__Yeah, a belated Happy New Year from me too guys :)15:53
SDuensinBlah.  New Year means I had to go back to work.  :-P16:12
Radix__I'm off until monday16:26
Radix__but I wish I was back at work16:27
Radix__40'C tomorrow, no aircon at home, and power shortages to boot16:27
Radix__tempted to go in tomorrow and take monday off in lieu ;)16:29
Radix__Oh no.. maybe not.. monday is forecast for 40'C too16:30
BartJolAustralian whether isn't much fun, I understand16:30
BartJolwheather16:30
Radix__Actually for most of the year it's great16:31
Radix__just summer sucks16:31
Radix__you get days where it's 40-45'C16:31
Radix__last week we had a temp of 45.5'c16:31
-!- Haarg [n=haarg@66-188-98-191.dhcp.mdsn.wi.charter.com] has joined #webgui16:31
-!- mode/#webgui [+o Haarg] by ChanServ16:31
Radix__highest on record for december since 1963 16:31
Radix__jan/feb always sucks for temps16:32
Radix__http://www.bom.gov.au/cgi-bin/wrap_fwo.pl?IDW12300.txt16:32
BartJolhere it's about 1 C16:32
Radix__yah, well our temp doesn't really go that low generally.. or very rarely ;)16:32
nubasummer here in Rio sucks a bit too16:37
nubatoo hot sometimes16:37
nubathanks god for A/C16:38
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui16:50
-!- mode/#webgui [+o rizen] by ChanServ16:50
-!- khenn [n=khenn@24-159-239-186.dhcp.mdsn.wi.charter.com] has joined #WebGUI17:55
-!- mode/#webgui [+o khenn] by ChanServ17:55
@khennhappy new year =)17:55
-!- AMH_henry [n=henry@alphamega-dmp.xs4all.nl] has left #webgui []18:03
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has left #webgui []18:07
-!- BartJol [n=Administ@host1.procolix.nl] has left #webgui []18:08
-!- wgGuest26 [n=wgGuest2@168.8.72.205] has joined #webgui18:21
-!- wgGuest26 is now known as teflond0n18:22
teflond0nanyone here have any luck importing users into a database for webgui?18:23
teflond0nstill havent had any luck with the userImport.pl18:23
Radix__I had no problems at all with userImport.pl18:24
Radix__What's happening exactly? are you getting errors?18:25
teflond0nits saying DateTime isnt defined....   for some reason the perl mods arent wanting to cooperate18:25
teflond0nis there another way to just have it import a csv file or something18:30
@rizenyou need to set a TZ environment variable18:30
@rizenlike TZ=America/Chicago18:31
Radix__tzselect should help with that18:36
Radix__or tzconfig18:36
Radix__you're going to have other issues later on if you don't sort out the DateTime issue now anyway18:37
nubaspectre would fail for me with 'Cannot determine local time zone' 18:38
nubauntil I did a "cp /usr/share/zoneinfo/America/Sao_Paulo /etc/localtime"18:38
nubado your /etc/localtime file exists?18:39
Radix__actually /etc/localtime should be a symlink - and the correct way to configure it is to use tzselect or tzconfig18:50
-!- perlmonkey2 [n=perlmonk@casr-dev.fwsm2ppuser.ou.edu] has joined #webgui18:52
nubamakes sense18:53
nubacp worked fine for me tho ;)18:54
nubahey, freebsd's tzsetup prefers "cp" too, just tested and it makes a copy, not a symlink18:56
Radix__it'll work.. just not as nice as a symlink ;)18:57
Radix__ubuntu/debian/centos all create symlinks18:57
nubamaybe it's a "Junior" sindrome, these linux kids, always choosing to do different than their daddy (freebsd) ;D18:58
Radix__pfft18:59
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has joined #webgui19:04
-!- perlmonkey2 [n=perlmonk@casr-dev.fwsm2ppuser.ou.edu] has quit ["Leaving."]19:17
-!- perlmonkey2 [n=perlmonk@casr-dev.fwsm2ppuser.ou.edu] has joined #webgui19:21
teflond0ni do see the etc/localtime file19:24
teflond0nbut I am running it on Mac osx19:25
teflond0nnot sure if that will cause any issues with it19:25
teflond0nhey nuba since I live near the Atlanta, GA area would should it be /usr/share/zoneinfo/America/New_York ?19:38
Radix__if it's in the same timezone as you, then yeah, that'd work19:44
perlDreamer... and WebGUI slowly wakes up from its week-long slumber19:44
nuba'morning, webgui!19:46
-!- Radix__ [n=Radix@203.161.71.161.static.amnet.net.au] has quit ["Windows doesn't have users, it has hostages."]19:46
teflond0nanyone know what the equivalent would be in osx for the tzconfig or tzsetup19:56
perlDreamersorry, I don't use osx19:56
@rizenyou shouldn't need it on osx19:59
nubai think you can find that under "system preferences"20:00
@rizenosx sets it automatically when you edit your clock20:00
@rizenperhaps you're not using the right perl20:00
@rizendid you do20:00
@rizen. /data/wre/sbin/setenvironment.sh20:00
@rizennote the dot and the space that come before the command20:00
teflond0ni did the command from that directory so it was ./data/wre/sbin/setenvironment.sh20:02
teflond0nno spaces20:02
teflond0nwould it be bad to comment that out in the userImport where it asks for the DateTime20:15
teflond0ner possible20:17
teflond0nrizen any more suggestions20:18
@rizenthat's bad20:18
@rizenand you need the space20:18
@rizenit's absolutely important20:19
@rizenthat's almost certainly where your problem is at this point20:19
@rizenand if it's not, i'd recommend you get plain black support20:19
-!- torben78 [n=torben@pD95EFDFD.dip.t-dialin.net] has joined #webgui20:25
perlmonkey2Making the YUI widgets look good is killing me.20:30
@khennwhich ones?20:30
perlmonkey2rizen: I'm not that great at layout/design.  Is there a way to make regular html inputs look sexy, because the YUI widgets are too hard to manipulate given they are buried in like 3 objects when created with JS.20:30
perlmonkey2khenn: Menu and buttons.20:30
@khennthe newest yui menu is all CSS based20:31
@khennnever played with the buttons20:31
@khennbut we've made some pretty cool looking drop down menus20:31
perlmonkey2khenn: When selecting a question type in the menu, I dynamically generate options for that question type.  The divs grows and shrinks and I have to do a bunch of crazy stuff to make them look like I want.20:32
@khennhmm, I guess I'm not following.  You lost me with "question type"20:33
@rizenhe's working on the survey20:34
@rizenit's a new ajax style interface for the survey20:34
@khennah20:34
perlmonkey2If they had a menu option that was multiple select, I'd just use that.  20:34
@rizenpm2, i'm not a good one to ask. both khenn and preaction have played with yui a lot more than me20:34
@rizeni just use it for adding functionality to form controls20:35
perlmonkey2There button objects, while prettier than radio buttons, are still large and clunky.20:35
perlmonkey2s/there/their/20:35
perlmonkey2I could use css to make them pretty, but that isn't what I do :)20:35
perlDreamerrizen: I think maxscience/iPhoneGuy had a 3rd alias that was also mac related20:35
@khenncss is how to make stuff in yui pretty though20:36
@khennso you will definitely find it difficult to do w/o it20:36
@rizenperlmonkey2 if you make it work and then give me some sort of documentation on one css classes and ids you've exposed20:37
@rizeni can have our designer come up with the pretty css for you20:37
@rizenor rather, i'll just introduce you to our designer when he comes back from vacation20:37
perlmonkey2rizen: that would be great.  20:37
perlmonkey2rizen: I guess that means I can stop futzing with the layout and just throw it on the page and worry about functionality.20:38
@rizenyup20:38
@rizenwhat's your email address, i'll send an introductory email to steve 20:39
teflond0ncan anyone let me know where the sql database is that contains the list of users ?20:49
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui20:49
-!- mode/#webgui [+o preaction] by ChanServ20:49
perlDreamerit called "users"20:49
perlDreamerand the groups one is called "groups"20:50
ckotilwhat about settings?20:50
perlDreamerhmmmm20:50
perlDreamerI think it's called settings20:50
ckotili dont get it.20:50
perlDreamerand the one for assets is called asset20:50
ckotilwho came up with that scheme?20:50
perlDreamersome guy named JT20:50
ckotilhe's too smart.20:51
@rizenhe's an idiot20:51
@rizenyou give him too much credit20:51
perlDreamerwhat?  you mean he didn't come up with that schema?20:51
ckotilcoworker of mine installed the new wre on RH5.20:51
ckotilhe said it the installation was a breeze.20:52
ckotiland it was really easy to setup 3 sites.20:52
ckotilhe rarely touches webgui, but since i talk about it all the time he decided to try it out.20:52
@rizennice20:52
-!- torben78 [n=torben@pD95EFDFD.dip.t-dialin.net] has left #webgui []20:53
perlmonkey2I set of the WRE on cent5.1 a few weeks ago and it was extremely nice.20:54
@rizenyou guys have no idea how glad it makes me to hear that20:56
perlmonkey2I wanted to throw out an idea and see what people thought.  Since disk is becoming really cheap, but CPU/Ram is still expensive as far as hosting is concerned.  What about a Wobject that would allow files to be remotely hosted, but WebGUI would treat them like local files?  Maybe build in DAV support, or something like it?20:56
@rizenit means that the 400+ hours that I put into WRE 0.8 was worth it20:56
perlmonkey2rizen: Yeah, I would never use anything but the WRE for production now.20:56
@rizenpm2: re your idea, i'd need further description to understand what you'd want and why before i could make a judgement20:57
perlmonkey2rizen: Like the file pile but would store the files on a remote file server.20:57
@rizenwhy would that be good?20:59
@rizenthat would actually increase the use of the CPU and memory because then all those files would have to be served through mod_perl so it could request them from the dav server20:59
@rizenthat is unless the dav server also had a straight http url for the file and you were willing to expose that url directly to your users21:00
perlmonkey2rizen: I was actually thinking that WebGUI would do a one time authen for the users ip, and the remote file server would directly serve to them that once.21:00
perlmonkey2This may be a solution that doesn't really fit any given problem though.21:01
@rizenhrmm.. i guess off the top of my head i can't see anyone actually using that so it's not something i'd allow in the core21:01
@rizeni do want to go the other way around however21:01
@rizeni want to create a dav interface into webgui21:02
nubai've been toying about the idea of sending static content somewhere else, too21:02
@rizenso you can use webgui as a file store21:02
nubakeeping only the webgui brains running in my dedicated box, 21:02
nubaand push uploads etc to a cheap hosting elsewhere21:02
@rizennuba, you can already do that21:02
nubayou can do that with modproxy and rewrites, yeah21:02
@rizenyou can just push all the static uploads to a file server using a remote mount21:02
nubabut how about sync etc?21:02
nubasuppose there's no remote mounting21:03
@rizenand then change your uploads folder to point to http://files.example.com/uploads/21:03
nubayou won't see that in the feature list of these mega-cheap hosting plans21:03
perlDreameryou also won't see WebGUI there, nuba21:03
perlDreamerunfortunately21:03
@rizenyou can use ftp as a remote mount21:03
nubayeah, thats why i dont even think about pushing webgui there21:03
nubajust the uploads etc21:03
@rizenyou can also use FUSE scpfs21:03
perlmonkey2those mega cheap hosters allow ftp21:03
perlmonkey2I've found that those mega cheap hosters are also extremely slow.  They brag about 1 million TB connections to the net, but the reality is like 128kb21:04
nubayeah, then theres the latency between uploading the file to the webgui host and it being pushed to the cheapass server21:04
perlDreamerrizen: tonight could you please turn on the -v switch to testCodebase so I can diagnose the failing DeleteExpiringWorkflows test?21:06
perlDreameractually, doesn't have to be tonight.  Any night would be good.21:06
nubato be honest, i didnt stop to think thoroughly about this yet, of coupling webgui dox + cheapass server21:10
nubafor now a single dedicated box is good enough for me21:11
nubaa seducing "next step" lately has been checking the amazon's EC2 thing21:12
perlDreamerI looked at that as a smoke testing platform21:13
perlDreamerSeemed expensive for a volunteer budget21:13
nubainstead of ugly hacking and glueing of scattered hosting services here and there21:13
-!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has joined #webgui21:16
-!- mode/#webgui [+v Radix_] by ChanServ21:16
nubarizen: wont PB.com be interested in funding the smoke test box?21:16
perlDreamerthey run a smoke test now21:18
perlDreamerbut I was thinking bigger.  Multiple OS'es, multiple WRE's21:18
nubai see. like a testing farm.21:18
perlDreameryeah21:18
perlDreamerit's been really hard to get other people into testing wG21:18
nubawhat are the requirements if one wants to help?21:21
perlDreamerthere are two main testing needs21:22
perlDreamer1) We need lots more tests to be written21:22
perlDreamerand that can be done piecemeal21:23
perlDreamer2) I think we need a testing aggregator to take smoke reports from lots of users and coallate them21:23
perlDreamerbut we don't have the lots of users part yet so it's a lower priority21:23
@rizenpd: just turned on the -v flag, please let me know when we can turn it off again21:24
perlDreamerokay.  Tomorrow should be good to turn off.  It will just make a BIG smoke report tonight21:24
perlDreamerhm.  Maybe I should add in diagnostics so we can truly do it in one shot...21:24
perlDreamerI think a test may be leaking Session information, which is why the test DeleteExpiredSession test is failing21:25
@rizenpd, i have a spare box running vmware that i use for compiling and testing the wre on multiple platforms (everything except mac and windows)21:25
@rizenhowever, the problem with using that is when it comes time to build a new WRE, i'll have to resetup all the tests again21:26
@rizenthat's more work for me21:26
perlDreamerright21:26
@rizenand i'm already a big bottlekneck21:26
perlDreamerit would be good if it was scriptable21:26
perlDreamerthe host would instanciate the virtual sessions, run a test on them, submit the smoke report for each21:27
perlDreamerbut I don't know if that is possible on VMware or not21:27
perlDreamerbesides, it would be good to get more people in the community involved if possible21:27
nubavmware has a perl api21:27
nubaso you could switch machines on, off, etc with a script if you want21:28
@rizenall the vmware hosts are up all the time21:28
@rizenso we don't need to turn them on or off21:28
@rizenit's a beefy box21:28
@rizendual proc xeon with 4gigs of ram21:28
@rizenso it can actually run about 6 os'es at the same time reliably21:28
nubanice21:29
@rizenpd, i could give you access to the box if you would like to set it up as a test system for multiple platforms21:29
nubasounds like you're proud of you muscle car^H^H^Hserver ;)21:29
perlDreamersounds like I need start researching aggregators then :)21:30
nubawebgui@home21:30
perlDreamersmolder21:30
@rizenwe could have them all post to the smoke tests forum21:30
perlDreameryes, but aggregators can also generate reports with the data, like "This test started failing on this platform at that SVN rev"21:31
perlDreamerbut while the research gets done, it wouldn't hurt to post them21:31
@rizenah21:32
@rizenthat's very cool21:32
@rizeni didn't know such a thing was even possible21:32
@rizenyou rock pd21:32
@rizenbtw, hop on IM and i'll give you the login info for that box21:33
nubarizem, why is it a good idea for spectre to handle tasks to a mod_perl enabled httpd instead of launching a WebGUI::Session-enabled, lean, script?21:38
nubarizen*21:38
@rizenfor lots of reasons21:39
@rizen1) spectre is single threaded21:39
@rizenso if something crashes21:39
@rizenit would crash spectre21:39
@rizenby keeping spectre small and clean, less chance of crash21:39
@rizen2) the mod_perl processes are already running so why not use them instead of loading all that code into ram yet again21:40
@rizen3) you can load balance workflows by adding more webgui nodes21:40
@rizenand thusly the workflow engine can grow with your web site21:40
@rizenis that good enough?21:40
nubayou could work around 1 with 'perl spectre_worker_instance.pl "do stuff"' with return code21:40
@rizeni could, and i did in the early versions of it21:41
@rizenbut 2 and 3 made me realize that was dumb21:41
nubaok, thanks for the reply21:42
nubaanother thing: i was editing some branches having many posts (about 3k total), and when clicking on 'save' the mod_proxy httpd would timeout while waiting for the mod_perl httpd's reply to the post. I didnt check the code but I risk guessing a branch edit means finding every descendant asset and creating a revision, creating the workflow instances, etc, all in a single request, is that right? 21:48
@preactionyeah21:50
nubaand then, these timeouts became such a pita, and the toones of workflows became such a pita, that i deleted the entire site, and migrated again from scratch, this time adjusting all I wanted while creating the asset, to avoid "branch edits"21:53
nubabut basically, the idea is that "branch edit" dont seem to be scaling the way it works now21:57
@rizenthey don't scale well right now21:58
@rizenit's on my todo list to fix eventualy21:58
@rizenthey work fine if you have less than 100 children21:58
@rizenbut if you have more than 1000 children they are a concern21:58
nubak22:00
nubai wonder if slicing the work with a recursive approach would be better, doing stuff like 1) edit me, 2) queue the task of editing for my children.22:02
@rizenit needs to be fixed in one of two ways22:03
nubajust my $0.0222:03
@rizeneither generate a workflow that will make all the edits to children22:03
@rizenor change the screen to stream informtation back to the browser22:03
@rizenas it makes changes22:03
@rizenso that it doesn't time out22:03
@rizenand the user gets immediate feedback22:04
nubayup22:04
-!- rizen is now known as rizenisafk22:04
-!- teflond0n [n=wgGuest2@168.8.72.205] has quit []22:22
-!- wgGuest53 [n=wgGuest5@168.8.72.205] has joined #webgui22:22
nubai had more questions but can wait 'till hes not afkb anymore ;)22:23
-!- wgGuest53 is now known as spanishinquisiti22:23
nubaspanishinquisiti: nobody expected you here22:24
nubaNOBODY expects the Spanish Inquisition!22:25
spanishinquisitisi`22:25
nubawell i'll paste the questions here, so rizen can asnwer later if he wants, or not at all..22:26
nuba1) is WebGU::Session memory-hungry or its just me? While importing the 3k posts (photo gallery, each post w/ at least one pic), i had to do it in chunks (of about a hundred posts each), otherwise the import script would grow to eat all available memory and then die.22:29
nubathats all for now :)22:34
@preactionWebGUI::Session is huge, yes. but it has everything inside of it22:41
@preactionthere are things though, that might be able to be taken out when developing/running utility scripts, such as the query log, if it's possible22:41
perlDreamerpreaction: have you ever tinkered with Test::Builder?22:56
@preactionnot as such, no22:56
perlDreamerI've been trying to fix the problem with TODO tests with wg::Test::Maker::* and haven't had any luck22:56
@preactiondo we assume that anyone running SVN HEAD does a resetdev after every svn update? (or at least, if things break spectacularly)?23:02
perlDreamerif things break spectacularly, resetdev is the first thing I do23:02
@preactionor should we start instituting a plan to make running HEAD more managable, if/when the new upgrade system is implemented23:02
@preactionoh, dur, new upgrade system negates the need for it23:03
perlDreamerwhat's the new upgrade system?23:03
@preactionwhen it gets implemented: it's basically a way for each commit to SVN to be a "release"23:04
@preactionreleases are based on patches, which may or may not have associated collateral / executables23:04
@preactionof course, there's a -stable and -unstable branch, etc... full-featured, etc...23:05
perlDreamerrizenisafk: amazon is getting into the self-publishing biz.  I don't know how their rates compare to Lulu23:11
perlDreamerThat should help locate the extra session leaker.23:17
CIA-19WebGUI: colin * r5223 /WebGUI/t/lib/WebGUI/Test.pm: add more diagnostics to help find the leaking session. These will be removed or hidden behind conditionals later23:18
@preactionit's possible to test the operation of a utility script, correct?23:34
@preactioni suppose the better question is should I? if it's being added to core23:34
perlDreamerI would, but I'm prejudiced that way23:38
perlDreamerI think new "Perl" way to do script testing is to wrap the guts in a module23:38
perlDreamerand both the script and test exercise the guts23:38
perlDreamerkind of MVC for scripts23:38
@preactionit's for migrating different types of content into a Gallery, i don't like the idea of putting "addAlbumFromCollaborationThread" in the Gallery, though the idea does have merit23:44
@preactionit's just the modular way seems messy and the monolithic way seems messy23:44
perlDreameror make a Gallery::Utility module?23:44
@preactionah, true23:44
@preactionthat sounds good, i'll do that23:45
@preactionthen i can also add the addAlbumFromFilesystem and i think there was another script that they wanted23:45
perlDreamercool!23:47
perlDreameryou're right about the messiness.23:49
perlDreamerEither it's all monolithic and you have to drive it with system calls23:50
perlDreameror you pull it into two pieces23:50
perlDreamerwhich both need documentation, etc23:50
@preactionit'll be good writing the Gallery::Utility framework though, and provide a way for people to make their own migration things23:52
--- Day changed Thu Jan 03 2008
perlDreamerSo hopefully by tomorrow I'll have the failing DeleteExpiredSessions test diagnosed00:07
perlDreamerand that will just leave us with the TODO'ed and SKIP'ed Gallery* tests00:07
perlDreamerthe eternally failing i18n label tests00:07
perlDreamerand the help.t test which is failing on empty Gallery* keys00:07
@preactionthe failing i18n/help tests are false keys00:07
@preactionyeah00:07
@preactioni'll be working on all that for the next week or two, so no need to worry about those00:08
perlDreamersome of the i18n are false keys, the rest are from WebGUI::Setup and nested scope with i18n calls00:08
@preaction(admittedly, in addition to new dev)00:08
@preactionbut there is one i'm still wondering about: one test in the gallery still fails00:08
@preactionTest::Deep says "expected 6, recieved 6"00:08
@preactionso afaik it should pass00:08
perlDreamerWell, yes and no.00:09
perlDreamerThat's actually a false warning00:09
perlDreamerI worked on that a little yesterday00:09
perlDreamerCheck the commit log and that test for more info00:09
@preactionk00:09
perlDreamerThe "real" problem is that asset sizes are wrong between the two methods of fetching the file_loop00:09
@preactionoh, ew00:10
perlDreameryeah, one says 311 bytes, the other says 31300:10
perlDreameronly two bytes different00:10
perlDreamervery strange00:10
@preactionso we leave it for now?00:10
@preactioni mean, hiding it behind TODO or SKIP seems wron00:10
@preactiong00:10
perlDreamerI TODO'ed it for now, so that when it gets fixed it will "Unexpectedly pass"00:11
@preactionsounds good00:11
-!- vayde [n=vayde@c-24-118-7-216.hsd1.mn.comcast.net] has joined #webgui00:14
perlDreamervayde: can you take this guy? http://www.zedshaw.com/rants/rails_is_a_ghetto.html00:25
vaydesure.  want me to rip his lungs out?00:26
perlDreamerNah.  He's only ranting at ruby people.00:26
perlDreamerbesides, if you break his toes one by one it's better00:26
vaydedunno if I have the patience for that.  I tend to prefer one good hard cross to the throat00:27
@preactionthis post, from the first few paragraphs, sounds like pure win00:27
vaydethough as I glance down this page, I feel the urge to do a similar page for the morons who originally wrote the code I'm hacking these days00:28
vaydedoStuff(\%$ref);00:28
vaydelong time no chat preaction, how's things?00:29
perlDreamerThat might actually be useful, as I think it creates a "safe" ref back to $ref that doesn't allow stomping on it.00:29
perlDreamerbut it could be written more clearly00:29
@preactiondoStuff sounds like fun00:29
@preactionthings going about as normal, much new ideas but no time to implement them00:29
vaydeyeah, it *could* be useful like that perlDreamer, but they thought they had the original $ref to wrik with00:29
vaydesweet.  Just before christmas I finished rewriting this one site's code a 3rd time cos the morons supporting it don't think that changing a site I'm migrating will affect the schedule00:30
vaydeeven the project managers are starting to talk about buying me a ticket to go 'talk' to the bozos00:31
nubaheh00:32
@preactionlol00:32
nuba>Their ideas were horrendously lame. I swear if someone says they.re starting a social network I.m gonna beat them with the heel of my shoe.00:33
nubapoor guy00:33
CIA-19WebGUI: graham * r5224 /branch/WebGUI_7.4/ (docs/changelog/7.x.x.txt lib/WebGUI/AssetTrash.pm): fix: Assets with no committed versions may be left as orphans when parent is purged00:33
perlDreamerHaarg: You beastie.  Hack on!00:33
-!- SDuensin [n=Scott@49.sub-75-207-93.myvzw.com] has quit ["Leaving"]00:35
-!- khenn_ [n=khenn@24-159-239-186.dhcp.mdsn.wi.charter.com] has joined #WebGUI00:36
vaydejeez this guy's got a head of steam going.  where did you find this?00:39
-!- khenn_ [n=khenn@24-159-239-186.dhcp.mdsn.wi.charter.com] has quit [Read error: 104 (Connection reset by peer)]00:39
perlDreamerslashdot00:39
-!- khenn_ [n=khenn@24-159-239-186.dhcp.mdsn.wi.charter.com] has joined #WebGUI00:39
vaydehmm, musta missed it this morning.  Bank woulda filtered it out anyway00:40
perlDreamerit just popped up within the last hour or so00:40
perlDreameryou woulda seen it tomorrow00:40
@preactionthe argument on ThoughtWorks and the Consulting thing is spot-on00:42
CIA-19WebGUI: graham * r5225 / (3 files in 3 dirs): 00:48
CIA-19WebGUI: Merged revisions 5224 via svnmerge from00:48
CIA-19WebGUI: https://svn.webgui.org/plainblack/branch/WebGUI_7.400:48
CIA-19WebGUI: ........00:48
CIA-19WebGUI:  r5224 | graham | 2008-01-02 16:18:53 -0600 (Wed, 02 Jan 2008) | 1 line00:48
CIA-19WebGUI:  fix: Assets with no committed versions may be left as orphans when parent is purged00:48
CIA-19WebGUI: ........00:48
CIA-19WebGUI: chrisn * r5226 /WebGUI/ (6 files in 5 dirs): 00:48
CIA-19WebGUI: Add fine-grained export controls. You can now specify whether you want specific00:48
CIA-19WebGUI: assets to be exportable. If any of an asset's parents aren't exportable, that00:48
CIA-19WebGUI: asset also won't be exportable.00:48
-!- perlmonkey2 [n=perlmonk@casr-dev.fwsm2ppuser.ou.edu] has quit ["Leaving."]00:49
perlDreamerapeiron: with a default of 0, won't that disable exporting for the whole site when the user upgrades?00:51
@apeironperlDreamer, hm.00:51
perlDreameror am I reading the sense of the bit backwards?00:52
@apeironNo, you've got it right.00:52
-!- khenn [n=khenn@24-159-239-186.dhcp.mdsn.wi.charter.com] has quit [Read error: 110 (Connection timed out)]00:53
@apeironperlDreamer, But on the other hand, if it defaults to 1, those who *don't* want to export the entire site when they upgrade have to change a lot of assets.00:55
perlDreamerExactly, but currently wG allows exporting the entire site.  At the very least I think it would need something in the gotchas.txt file for the release.00:56
perlDreamerand, they'd only need to change the website root (defaultAsset), since it checks all parents00:56
perlDreamerso, if the default is 1, then you set any "node" to 0 to disable all of its children from exporting00:57
@apeironGood point, sir.00:57
@preactionyeah, i'm with colin: every upgrade must maintain the status quo. if they want change, they can do the work01:01
@preactionis there an edit branch entry for the exportable property?01:01
@apeironNot yet anyway.01:02
perlDreamerpreaction: I'm in violent agreement with you preaction, with the caveat "maintain the status quo whenever possible".01:04
perlDreamerIn any case, I think this is a cool feature to add to wG01:04
@apeironViolent agreement? 01:04
@apeironYou're taking up arms? :)01:04
perlDreamerYou ever watch an arguement where two people totally agree with one another but disagree on semantics?01:05
perlDreamer"violent agreement"01:05
CIA-19WebGUI: chrisn * r5227 /WebGUI/ (lib/WebGUI/Asset.pm docs/upgrades/upgrade_7.4.18-7.5.0.pl): Maintain status quo and keep the default of exporting all assets.01:18
-!- SDuensin [n=Scott@12-217-75-184.client.mchsi.com] has joined #WebGUI02:13
-!- rizenisafk is now known as rizen02:22
@rizennuba: WebGUI::Session is not memory hungry that I know of. Are you sure it wasn't just your script? Could you provide me with your script so I could use it as a test case?02:23
@rizenpreaction: yes we assume that svn update means reset dev in a lot of cases02:24
@rizenperldreamer, do you have a link to the amazon self publish?02:25
perlDreamerre amazon: AP article: http://news.yahoo.com/s/ap/20080102/ap_on_hi_te/business_of_life;_ylt=AhD5AwPjqeEzMAkaVBdrWqMDW7oF02:28
perlDreameramazon in particular: createspace.com02:28
CIA-19WebGUI: colin * r5228 /WebGUI/docs/upgrades/upgrade_7.4.18-7.5.0.pl: reorder upgrade steps so that addIsExportable happens before we try to update the templates02:33
CIA-19WebGUI: colin * r5229 /WebGUI/t/Asset/Asset.t: update plan and invert test for new default for isExportable02:33
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Connection timed out]02:41
-!- rizen is now known as rizenisafk02:46
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has quit ["Download Gaim: http://gaim.sourceforge.net/"]02:53
-!- vayde [n=vayde@c-24-118-7-216.hsd1.mn.comcast.net] has quit [Remote closed the connection]04:33
-!- khenn [n=khenn@24-159-239-186.dhcp.mdsn.wi.charter.com] has joined #WebGUI04:38
-!- mode/#webgui [+o khenn] by ChanServ04:38
-!- khenn_ [n=khenn@24-159-239-186.dhcp.mdsn.wi.charter.com] has quit [Connection reset by peer]04:38
-!- rizenisafk [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit []05:17
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui06:01
-!- mode/#webgui [+o preaction] by ChanServ06:01
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Success]06:28
-!- perlDreamer [n=colink@pool-71-117-209-28.ptldor.fios.verizon.net] has joined #webgui06:49
-!- mode/#webgui [+v perlDreamer] by ChanServ06:49
-!- perlDreamer [n=colink@pool-71-117-209-28.ptldor.fios.verizon.net] has quit ["Leaving."]07:58
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui08:28
-!- mode/#webgui [+o rizen] by ChanServ08:28
-!- rizen is now known as rizenisafk08:28
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui08:54
-!- mode/#webgui [+o preaction] by ChanServ08:54
-!- CIA-48 [n=CIA@208.69.182.149] has joined #WebGUI09:02
-!- CIA-19 [n=CIA@208.69.182.149] has quit [Client Quit]09:03
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Connection timed out]09:14
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui09:31
-!- Radix__ [n=Radix@203.161.71.161.static.amnet.net.au] has joined #webgui09:39
-!- Radix|- [n=Radix@203.161.71.161.static.amnet.net.au] has joined #webgui09:46
-!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has quit [Read error: 110 (Connection timed out)]09:57
-!- Radix__ [n=Radix@203.161.71.161.static.amnet.net.au] has quit [Read error: 110 (Connection timed out)]10:01
-!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has joined #webgui10:27
-!- mode/#webgui [+v Radix_] by ChanServ10:27
-!- Radix|- [n=Radix@203.161.71.161.static.amnet.net.au] has quit [Read error: 110 (Connection timed out)]10:45
-!- Radix__ [n=Radix@203.161.71.161.static.amnet.net.au] has joined #webgui11:08
-!- BartJol [n=Administ@host1.procolix.nl] has joined #webgui11:11
-!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has quit [Read error: 110 (Connection timed out)]11:26
-!- diakopter [n=diakopte@pdpc/supporter/active/diakopter] has joined #webgui11:33
-!- BartJo1 [n=Administ@host1.procolix.nl] has joined #webgui13:39
-!- BartJol [n=Administ@host1.procolix.nl] has quit [Read error: 110 (Connection timed out)]13:45
-!- SDuensin [n=Scott@12-217-75-184.client.mchsi.com] has quit ["Leaving"]14:18
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui14:27
-!- mode/#webgui [+o rizen] by ChanServ14:27
-!- rizenisafk [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit [Read error: 104 (Connection reset by peer)]14:27
-!- crythias [n=gyoung@fl-69-68-148-96.sta.embarqhsd.net] has quit [Read error: 113 (No route to host)]14:27
-!- crythias [n=gyoung@fl-69-68-148-96.sta.embarqhsd.net] has joined #webgui15:48
-!- mode/#webgui [+v crythias] by ChanServ15:48
-!- SDuensin [n=Scott@74.sub-75-207-208.myvzw.com] has joined #WebGUI15:55
SDuensinGreetings.15:56
-!- spanishinquisiti [n=wgGuest5@168.8.72.205] has quit []17:18
-!- nuba [n=nuba@hq.imaterial.org] has quit ["Reconnecting"]17:22
-!- nuba [n=nuba@hq.imaterial.org] has joined #webgui17:22
-!- nuba [n=nuba@hq.imaterial.org] has quit [Client Quit]17:23
-!- nuba [n=nuba@hq.imaterial.org] has joined #webgui17:23
-!- perlmonkey2 [n=perlmonk@casr-dev.fwsm2ppuser.ou.edu] has joined #webgui17:34
BartJo1yeah, just made my first sql report with template and it works!17:57
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has quit ["Leaving."]18:15
-!- khenn [n=khenn@24-159-239-186.dhcp.mdsn.wi.charter.com] has quit [Remote closed the connection]18:19
-!- khenn [n=khenn@24-159-239-186.dhcp.mdsn.wi.charter.com] has joined #WebGUI18:20
-!- mode/#webgui [+o khenn] by ChanServ18:20
-!- BartJo1 [n=Administ@host1.procolix.nl] has left #webgui []18:34
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has joined #webgui19:11
perlDreamerNow, that's what I call a test log!19:12
perlmonkey2Setting visibility to hidden in a div should make all the children of that dom be inivisible.  That is unless you are using YUI which will laugh at your css and make you cry.19:27
nubaheh19:28
perlmonkey2Even doing this after all the YUI objects have been created does nothing: var temp = document.getElementById("editanswer");19:29
perlmonkey2146             temp.setattribute("visibility","hidden");19:29
perlmonkey2I need a stick to beat YUI with.19:29
* nuba handles perlmonkey2 a large trout19:30
* perlmonkey2 wraps it in tinfoil and butter and places it over a camp fire.19:31
nubavery good, indeed its better to tell horror stories at night about YUI than resorting to violence :)19:32
nubaYUI the CSS eater19:33
perlmonkey2heh19:34
perlmonkey2I can't be too mad at it, I have some groovy drag and drop boxes with some totally cool menus that change dynammically depending on what you click.  Looks slick.19:35
perlmonkey2My JS-foo was rusty.  setattribute is not synonymous with .style.19:44
perlDreamerrizen: ping19:50
@rizenpong19:50
perlDreamerdoes each child apache process end up with a session?19:51
@rizenno19:51
@rizeneach page request ends up with a session19:51
@rizenand the session is destroyed at the end of the request19:51
perlDreamerhow 'bout each spectre runner?19:51
@rizenwhen i say destroyed i mean closed by the way, not deleted19:51
perlDreamerright19:52
@rizenspectre does the same thing because as far as webgui is concerned it's just another web browser19:52
@rizenand spectre keeps track of the session id cookie just like a browser, so it reuses the cookie for subsequent requests19:52
@rizenmust get lunch now, be back in 10 min19:53
perlDreamerit's okay, you can have 3019:53
@rizenback20:00
@rizeni can eat lunch whilst answering your questions20:00
@rizenmmmmmm. leftover meatloaf sandwiches20:01
perlDreamerWell, instead of digging, let me tell you what I see from the big test log of 200820:11
perlDreamerThe tests start with 3 pre-existing sessions.20:11
perlDreamerSessions also seem to be added and deleted, regardless of whether or not the test creates and cleans them up20:12
perlDreamerso I was trying to figure out where they might come from20:12
perlDreamerhere's the summary of the session info:20:13
perlDreamerhttp://webgui.pastebin.com/m61f4134220:13
perlDreamerso that's the mystery20:13
perlDreamerthe good news is that it has little, if anything to do with the DeleteExpiredSessions test failing20:13
@rizenis that session objects or session ids?20:14
perlDreamersession ids20:14
perlDreamerselect sessionId from userSession20:14
@rizenall the tests get the session from WebGUI::Test->getSession though don't they?20:14
perlDreameryes and no20:14
@rizenso if there's a problem wouldn't it be there?20:15
perlDreamerthey all get their main session from getSession20:15
perlDreamerbut some of them create auxiliary sessions for testing using Session->opn20:15
perlDreameropen20:15
* perlDreamer digs a little20:16
@rizenthere shouldn't be many of those though, so it should be easy to locate and clean up problematic ones, right?20:16
perlDreameryes, but the first test run does not create 3 additional sessions20:16
perlDreamerthey were there before20:17
perlDreamerthe test started20:17
CIA-48WebGUI: jt * r5230 /tools/makerelease.pl: added verbose option and turned on <pre> blocks in message board formatting20:18
perlDreamerto me it looks like something else aside from the test is using the database20:18
@rizenwell the build script uses the database20:20
@rizento construct the create.sql20:20
@rizenthe tests actually run as part of the nightly build process20:21
@rizenwhich has to generate a create.sql script20:21
@rizenthat means it also runs the upgrade script20:22
@rizenit does that before the test process starts running20:22
perlDreamerthat would explain it20:32
perlDreamerI did find a test that is leaking sessions20:32
perlDreamerSession/Scratch.t20:32
nubarizen: do we stick with the Locator name for the map asset?20:44
nubamaybe Map instead?20:44
@rizendon't care20:45
nubak20:45
nubajust so you know, im back working on it since yesterday20:45
@rizennice20:46
nubaive cleaned up my notes, and now I happen to know webgui's api better, so im rebooting the project and reusing some of the stuff i wrote hastly in aug/0720:47
nubawhat do you recommend, check out the head or work on 7.4.19-stable?20:47
perlDreamerusually, all new dev is supposed to happen on HEAD20:48
CIA-48WebGUI: colin * r5231 /WebGUI/t/ (Session/Scratch.t Workflow/Activity/DeleteExpiredSessions.t): 20:48
CIA-48WebGUI: Clean up all temporary session info in Session/Scratch.t20:48
CIA-48WebGUI: Add a preliminary run of DeleteExpiredSessions to DeleteExpiredSessions.t20:48
CIA-48WebGUI: to clean up any old, funky sessions which might just be lying around20:48
CIA-48WebGUI: and interfering with the test.20:48
@rizencheck out head20:48
@rizenfeel free to branch head for your own work if need be like preaction did for the calendar20:49
@rizenthat way you can continuously commit20:49
@rizenand not lose any work if your computer dies20:49
@rizenthen you can merge back to head when you're done20:49
-!- wgGuest40 [n=wgGuest4@c-24-5-38-30.hsd1.ca.comcast.net] has joined #webgui21:12
-!- wgGuest40 [n=wgGuest4@c-24-5-38-30.hsd1.ca.comcast.net] has quit [Client Quit]21:12
-!- wgGuest99 [n=wgGuest9@c-24-5-38-30.hsd1.ca.comcast.net] has joined #webgui21:12
-!- wgGuest99 [n=wgGuest9@c-24-5-38-30.hsd1.ca.comcast.net] has quit [Client Quit]21:12
perlDreamerrizen: please pull the -v switch from the nightly smoke test run.  That test should pass now.21:13
@rizenok21:31
CIA-48WebGUI: jt * r5232 /tools/makerelease.pl: don't need the -v anymore21:33
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit []22:12
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui22:17
-!- mode/#webgui [+o rizen] by ChanServ22:18
-!- crythias [n=gyoung@fl-69-68-148-96.sta.embarqhsd.net] has quit ["Leaving."]22:30
-!- crythias [n=gyoung@fl-69-68-148-96.sta.embarqhsd.net] has joined #webgui22:37
-!- mode/#webgui [+v crythias] by ChanServ22:37
nubachecking out HEAD to my SVK mirror..22:54
nubawill branch from there22:54
-!- crythias [n=gyoung@fl-69-68-148-96.sta.embarqhsd.net] has left #webgui []22:55
-!- crythia3 [n=gyoung@fl-69-68-148-96.sta.embarqhsd.net] has joined #webgui23:13
-!- crythia3 [n=gyoung@fl-69-68-148-96.sta.embarqhsd.net] has left #webgui []23:13
nubaactually, head, body, limbs, etc.23:16
perlDreamernuba: was it hard to plug WebGUI's SVN into SVK?23:18
perlDreamerI've wanted to try for years, but haven't spent the time to actually do it23:18
nubajust followed http://www.webgui.org/community-wiki/subversion23:18
perlDreamerand then import that into your SVK repo?23:19
perlDreamernm, I see there's a new section in there23:19
nubayeah, the only thing missing there is "svk depotmap --init"23:20
nubait me took about 30 mins to go from rev 1 to rev 523223:23
nubait was like history flashing before my eyes! :D23:25
perlDreamerit imported the whole thing?  That would be huge!23:30
nuba157M    .svk/23:31
nubanot as mammothy as i expected, too23:32
perlDreamerI kinda wish we also had imported the CVS history into there, too.23:33
nubais that still available somewhere?23:46
perlDreamermaybe.  if it's anywhere, it would be on sourceforge23:46
perlDreamerproject name pbwebgui23:47
CIA-48WebGUI: colin * r5233 /WebGUI/t/Asset/Post.t: 23:48
CIA-48WebGUI: AssetTrash bugfix exposes bad test code. There's no need to23:48
CIA-48WebGUI: purge when you can roll back a commit container asset like the CS.23:48
nubaits still there http://pbwebgui.cvs.sourceforge.net/pbwebgui/23:52
perlDreamercool23:53
nubagoes as far as beta 3.7.0 23:53
perlDreamerresearching the history in SVN is a little tricky because there was a repo reorg last year23:53
nubayep23:54
--- Day changed Fri Jan 04 2008
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit []00:15
nubahey, how do you guys go about running HEAD? manually check upgrade_7.4.18-7.5.0.pl for changes every update?00:24
nubai just got a fatal cause column isExportable didnt exist yet..00:25
perlDreamerwhat rev did you pull?00:26
nubais this a mistake (whoever added it to upgrade_7.4.18-7.5.0.pl forgot to add it to create.sql) ?00:26
-!- SDuensin [n=Scott@74.sub-75-207-208.myvzw.com] has quit ["Leaving"]00:26
perlDreamerIt's not a mistake, since create.sql is for VERSION-100:26
perlDreameryou install create.sql and then run the updater00:27
nuba5234 00:27
perlDreamerthat's also what I'm running, and it installs fine00:27
perlDreamercan you paste your resetdev script output please?00:28
nubaok. now, what about keeping it in sync?00:28
nubaits manual tracking of upgrade_7.4.18-7.5.0.pl, isnt it?00:28
nubai mean, the way to go00:29
perlDreameryou mean between your branch and HEAD?00:29
perlDreameryes, manually00:29
nubaok, thx00:29
nubai've no resetdev below /data/00:31
nubais that edible?00:32
nuba:)00:32
perlDreamerit's a script that everyone has made.00:32
perlDreamerthere should be one in the core00:32
nubathis is on wre 0.7.00:33
nubais it a wre script?00:33
perlDreamerI don't use the wre, so I'm not sure00:33
perlDreamersee this: http://webgui.pastebin.com/m681280b00:33
nubathanks00:38
nubai'll modify this to fit my setup00:39
nubaso this is THE resetdev?00:39
perlDreamerno, it's just mine00:40
perlDreamerfor THE resetdev, I'd ask a Plain Black staffer00:41
nubalooks like something useful to have at  https://svn.webgui.org/svnweb/plainblack/browse/tools/00:41
-!- vayde [n=vayde@c-24-118-7-216.hsd1.mn.comcast.net] has joined #webgui00:51
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui00:54
-!- mode/#webgui [+o preaction] by ChanServ00:54
-!- vayde [n=vayde@c-24-118-7-216.hsd1.mn.comcast.net] has quit [Remote closed the connection]00:55
nubaperlDreamer: you may want to look into upgrade.pl's --skipBackup --skipDelete --skipMaintenance for line 18 of http://webgui.pastebin.com/m681280b01:14
nubato make it faster01:15
perlDreamerthanks, nuba!01:16
perlDreamerpreaction: does the WRE have a builtin resetdev script?01:17
@preactionnot that i'm aware of01:17
@preactionthere's a better solution that graham was working on that didn't require so many passwords, but dunno how far he gots01:17
@preactioni made some of my own improvements to resetdev, but it's still a hack01:17
perlDreamercare to share?01:18
@preactionone sec01:18
perlDreamerjust don't paste it directly channel.  It makes Doug mad.01:18
@preactionhttp://webgui.pastebin.com/m96d02d101:21
nubagood, incorporating lines 16-20 into my hacked version of pD's resetdev lookalike01:24
perlDreamernuba: you only need to do that if you want to go through the initial site setup01:24
perlDreamerif I understand what's going on correctly01:25
nubayeah, i got it01:25
@preaction16 is the site setup, 17 is show debug more, 18-20 is start with auto-commit and real-time workflows01:25
perlDreamerI have an idea01:26
perlDreamerWhy don't we make one that is universal, in two flavors01:26
perlDreamerWRE and non-WRE?01:26
perlDreamerand then check them into the /tools area in SVN?01:26
@preactionthere's a tools area?01:27
perlDreamerYeah01:27
perlDreamerIt's at the top-level01:27
nubahttps://svn.webgui.org/svnweb/plainblack/browse/tools/01:27
nubaor maybe, if you're going to try doing it WRE/non-WRE neutral, at WebGUI/sbin01:28
@preactionit should be possible to do one resetdev for both WRE and non-WRE, with some decent sanity checks01:30
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui01:32
-!- mode/#webgui [+o rizen] by ChanServ01:32
perlDreamerhail, rizen01:32
@rizenonly here for 32 seconds01:33
@rizendon't hail me =(01:33
perlDreamerah01:33
perlDreamernot hailed like a taxi-cab, hail like greeted with honor and respect01:33
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit [Client Quit]01:34
perlmonkey2If anyone cares the survey system is coming along nicely.  Tomorrow I'll put something public up for those who care to see how it is going.01:52
perlmonkey2It isn't tied to WebGUI yet, just javascript scalfolding for creating surveys.01:52
perlmonkey2g'night.01:52
-!- perlmonkey2 [n=perlmonk@casr-dev.fwsm2ppuser.ou.edu] has quit ["Leaving."]01:52
@preactionshould've gotten him his own branch01:59
perlDreameryeah02:00
-!- dionak [n=dkidd@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui02:12
dionakperlDreamer, are you awake?02:12
perlDreamerI'm here02:17
perlDreamerwell, kinda here anyway02:22
perlDreamerdionak: I'll be bouncing back and forth between two cubes, but I'm around.02:22
dionakperlDreamer: Hm. Sounds like you're busy. You had asked the other day if I have read Perl Best Practices and I just wanted to answer. It is on my list but has not been completely read yet. 02:23
perlDreameryes, I remember that. I had a question about stringy eval, but it's since been answered by JT checking in WebGUI::Pluggable02:31
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui02:36
-!- mode/#webgui [+o rizen] by ChanServ02:36
dionakinteresting...02:41
@rizenwhat is?02:41
dionakWebGUI::Pluggable02:41
@rizenoh, i'm quite proud of how it turned out02:43
dionakI can see why. :) I didn't realize you were planning a plugin system. How are you envisioning this to be used? 02:44
dionakit looks like you've been doing quite a bit of work.02:45
@rizenmost of the work i'm doing these days hasn't shown up in svn yet02:45
@rizenonly little things02:45
@rizenbut if you look at the pluggable urls, content handlers, or auth system (WebGUI::Operation::Auth) you'll see how it's used02:46
dionaklooking..02:46
@rizentonight i'll convert macros and some other plugin points to use it as well02:46
dionakthats really cool, JT02:46
@rizenWebGUI::Pluggable is meant to be used at all plugin points to provide a speedy, easy, and secure way of loading plugins02:47
dionakso we could create our own plugin for a new auth method, for instance...02:47
@rizenyou always could, it's just that now there's a standard way that all plugins are loaded, rather than having each plugin system write it's own mechanism for loading them02:47
@rizenWebGUI::Pluggable is really meant to be used by core developers that create plugin entry points02:48
@rizennot so much for people who write plugins02:48
dionakah, ok.02:48
@rizenso if at some point you decided "JT, I think that session sub-objects should be pluggable?" 02:49
@rizeni'd say, great, let's use WebGUI::Pluggable to make that happen02:49
dionakgotcha02:50
@rizenhave you seen the pluggable URL and content handlers02:56
@rizeni would think that those would probably be quite useful to Knowmad02:56
dionaki'm trying to envision how to use that02:57
perlDreameryou could use it to call PHP02:58
dionakso we could setup urls that handle content in a certain way?02:58
@rizenwell for URL handlers02:58
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has quit ["Download Gaim: http://gaim.sourceforge.net/"]02:58
@rizenyou can write a custom application at a specific URL that is not an asset02:59
@rizentherefore it doesn't load the asset system on those requests02:59
@rizenand thusly is much faster02:59
@rizenand less resource intensive02:59
dionaknice...02:59
dionakso we could use that for integrating software 02:59
dionakwhich we do a lot02:59
@rizenalso, some people don't want to write assets because they are too complicated, or you never want more than one instance of it on a site02:59
@rizenabsolutely02:59
@rizenthat's a great example02:59
@rizenyou still have all of webgui's resources available, but you choose how to use them03:00
@rizenrather than being confined to the asset architecture03:00
@rizenfor reusable content objects, asssets are great03:00
dionakwow, that's really very useful. 03:00
@rizenbut for integration, assets are rarely great03:00
@rizenand for content handlers...have you ever wished you could have  your own pluggable operations?03:00
dionakyea, 03:01
@rizenwell with content handlers you could make your own operations system that would do whatever you wanted it to do03:01
@rizeninstead of op= you could have knowmad=03:02
@rizenas in /page?knowmad=dothis03:02
@rizenall the existing ops will still work03:02
@rizenbut now you can add your own things03:02
@rizenand since it's not using the op= interface03:02
@rizenyou don't have to worry about conflicting with future changes in webgui03:02
@rizenbecause knowmad= is your own namespace03:02
dionakso if i wanted to use another piece of software for say, forums or blogging or whatnot, I could just hook it in? That will certainly open up the possibilities for selling the CMS. 03:03
@rizenoh yeah03:03
dionakYea, that will work well. I'm looking forward to trying that03:03
@rizenever since i built the asset system into webgui it has become more of a cms and less of a framework03:03
@rizenit's moving away from it's framework roots03:03
@rizenso i decided it needs to get back tot he basics03:03
@rizenwhich is why i introduced pluggable url and content handlers03:04
@rizenif you're interested, there's an article in the black blog that explains it a little03:04
dionakcool, i'll share it with the group and check out the blog. Btw, I just noticed how few articles are on Sitepoint.com for perl.  Looks like a good writing opportunity.03:05
@rizennever even heard of that site03:06
@rizenbut if it's low on perl articles, you're right03:06
@rizena great opportunity03:06
dionakit's a top site on the web03:07
dionakcheck it out. i have to grab some dinner. thanks for the info!03:07
-!- dionak [n=dkidd@cpe-024-074-132-143.carolina.res.rr.com] has left #webgui []03:07
-!- dionak [n=dkidd@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui03:07
-!- dionak [n=dkidd@cpe-024-074-132-143.carolina.res.rr.com] has quit []03:08
-!- SDuensin [n=Scott@12-217-75-184.client.mchsi.com] has joined #WebGUI03:12
CIA-48WebGUI: jt * r5234 /WebGUI/lib/WebGUI/Macro.pm: switched macro system to use WebGUI::Pluggable03:18
CIA-48WebGUI: jt * r5235 /WebGUI/lib/WebGUI/Operation.pm: converted WebGUI::Operation to use WebGUI::Pluggable03:33
-!- nuba [n=nuba@hq.imaterial.org] has quit [Remote closed the connection]03:50
-!- nuba [n=nuba@hq.imaterial.org] has joined #webgui04:59
nuba'night folks05:15
@rizenhowdy05:15
nubaoff to bed!05:15
@rizenbye05:16
@preactionalthough i get annoyed by it, i am liking how the writing of tests are revealing bugs in almost completely unrelated areas07:15
-!- crythias [n=gyoung@fl-69-68-148-96.sta.embarqhsd.net] has joined #webgui07:15
-!- mode/#webgui [+v crythias] by ChanServ07:15
@preactionlatest bug: I seem to get intermittent "Cannot call purgeRevision on an undefined value" when rolling back a version tag containing Threads, but rolling back by going into the site itself works just fine07:16
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit []08:09
CIA-48WebGUI: doug * r5236 /WebGUI/ (6 files in 6 dirs): Added migration utility for Gallery08:33
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui09:35
-!- BartJol [n=Administ@host1.procolix.nl] has joined #webgui10:54
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit ["Leaving"]12:20
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui12:23
-!- mode/#webgui [+o preaction] by ChanServ12:23
-!- crythias [n=gyoung@fl-69-68-148-96.sta.embarqhsd.net] has quit [Read error: 104 (Connection reset by peer)]13:48
CIA-48WebGUI: doug * r5237 /branch/doug-experimental/ (3 files in 3 dirs): Nightly checkin because you forgot14:03
-!- SDuensin [n=Scott@12-217-75-184.client.mchsi.com] has quit ["Leaving"]14:12
-!- SDuensin [n=Scott@120.sub-75-205-40.myvzw.com] has joined #WebGUI15:38
SDuensinFrIdAy!15:38
BartJolgood morning to you15:55
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui16:48
-!- mode/#webgui [+o rizen] by ChanServ16:48
-!- wgGuest01 [n=wgGuest0@user-3e888277.tcl115.dsl.pol.co.uk] has joined #webgui16:54
-!- wgGuest01 [n=wgGuest0@user-3e888277.tcl115.dsl.pol.co.uk] has quit [Client Quit]16:57
-!- wgGuest03 [n=wgGuest0@user-3e888277.tcl115.dsl.pol.co.uk] has joined #webgui16:58
-!- wgGuest03 is now known as lrobinson17:00
-!- wgGuest40 [n=wgGuest4@adsl190-28-33-172.epm.net.co] has joined #webgui17:05
wgGuest40hello17:05
wgGuest40i have a question17:05
wgGuest40a macro can return a array of elements?17:06
BartJolwell I think so17:07
BartJolit might complicate your return statement17:09
-!- perlmonkey2 [n=perlmonk@casr-dev.fwsm2ppuser.ou.edu] has joined #webgui17:13
wgGuest40why?17:13
wgGuest40why the return statement will be complicated?17:14
BartJolwell, just a layout thingy, if all the output is placed on one line without delimiters17:16
BartJolI'm not an expert in these matters, just trying to help...17:17
@rizenmacro can't return an array17:18
@rizenit must return a string17:18
@rizenthat said, if you want it to return a comma delimited string17:18
@rizenthat string could then be passed in to to another macro17:18
wgGuest40ok17:22
wgGuest40thanks17:23
-!- wgGuest40 [n=wgGuest4@adsl190-28-33-172.epm.net.co] has quit []17:28
-!- crythias [n=gyoung@fl-69-68-148-96.sta.embarqhsd.net] has joined #webgui17:29
-!- mode/#webgui [+v crythias] by ChanServ17:29
perlmonkey2It could return a Storable object which could be any complex data structure.17:42
perlmonkey2oh, they left.17:42
perlmonkey2freeze is so underutialized :P17:42
@rizenfreeze is bad17:42
@rizenand not allowed in webgui17:42
perlmonkey2serializing is bad?17:43
@rizenactually storable isn't allowed in webgui17:43
@rizenno serializing is good17:43
@rizenstorable is bad17:43
@rizenbecause it's binary storage, which is architecture dependant17:43
@rizenso it's not portable17:43
@rizenwe recommend serializing to json17:43
perlmonkey2hmm......so freezing on my x64-86 won't thaw on my x86?17:44
perlmonkey2json is good too.  json is also underutialized.  it is especially good for moving data to/from JS :)17:45
perlmonkey2FYI: Storable has 'nstore' which is arch independant.17:52
BartJolwell, it's weekend for me, beers, here I come18:08
-!- BartJol [n=Administ@host1.procolix.nl] has left #webgui []18:09
@rizenit's supposed to be arch independent18:09
@rizenbut we had some problems with it a while back18:09
@rizenpeople transitioning from PPC to intel on mac lost a bunch of poll data as a result18:10
@rizenso we decided then that it was time for it to go away18:10
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has quit [Read error: 110 (Connection timed out)]18:14
perlmonkey2Wow, well that sucks.  I won't be using Storable anymore then.19:00
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has joined #webgui19:24
perlDreameryeah!  "Clean" test results again!19:24
-!- lrobinson [n=wgGuest0@user-3e888277.tcl115.dsl.pol.co.uk] has left #webgui []19:26
-!- ascii [n=ascii@host-64-139-233-19.nctv.com] has quit ["leaving"]19:54
@rizenwahoo pd20:00
@rizennice job20:00
-!- perlmonkey2 [n=perlmonk@casr-dev.fwsm2ppuser.ou.edu] has quit ["Leaving."]20:09
perlDreamerrizen: Do the modules in Operation/*.pm need to be Plug'ed, too?20:21
@rizenare there any other than auth that load plugins?20:21
@rizeni don't think so20:21
@rizeni already made Operation.pm use pluggable20:22
perlDreamerSeveral of the modules load things using eval.20:22
@rizenoh20:22
perlDreamerSpellCheck, Workflow20:22
@rizenthen yes we should do it20:22
@rizenoh good point20:22
@rizeni forgot about those20:22
@rizenyou want me to do it, or are you going to do it?20:22
@rizeni suppose i should20:22
perlDreamerI can do a few of them today20:22
@rizeni shouldn't make you clean up my mess20:22
@rizenthat's bad20:22
@rizeni'll do it20:23
perlDreameras you wish20:23
@rizeni'll do it now20:23
perlDreamerack eval Operation/*20:23
@rizeni'm going to leave commerce as is for now20:23
@rizensince i'm working on replacing it20:23
@rizenooh20:24
@rizeni should be using $class->can in WebGUI::Pluggable20:25
@rizenthat would be a good extra check20:25
perlDreamerwould that work on procedural code?20:25
perlDreameror just on objects?20:25
@rizenno just on the objects20:25
@rizeni don't think that would work on procedural20:25
@rizenbut if it would, that would be sweet20:25
@rizencould you look that up for me?20:25
perlDreameryup20:26
perlDreamerno procedural code20:26
perlDreamerand doesn't work on AUTOLOADs20:26
@rizenoh crap20:30
@rizenthen maybe i shouldn't do it20:30
@rizenbecause then i can't use instanciate() on form controls20:30
perlDreamernot unless you call the form directly, instead of going through WebGUI::Form20:31
perlDreameriirc, WGBP says that AUTOLOAD is not recommended20:31
perlDreamerbut I don't know if we've thought that far ahead yet20:31
@rizenyeah, but autoload makes the form system usable20:32
@rizenwithout it, the form system wouldn't be nearly as cool20:32
@rizenwow there are a lot of plugin points in webgui that i forgot about20:42
@khennlike what?20:43
@rizenform controls, workflow activities, form helpers, workflow helpers20:43
@rizenjust to name 420:43
perlDreamerAsset constructors20:43
perlDreameri18n20:43
perlDreamerHelp20:43
@rizenno, you did the last 220:44
@rizenand i know about asset, i just don't know how to do that one yet20:44
perlDreamerI was just adding to the list of plugin points20:44
@rizenit's a bit more complicated20:44
@rizenoh, i thought this was a list of ones i forgot20:44
@rizennot a complete list20:44
@khennyeah the ones you forgot20:44
perlDreamermy bad20:44
@khennpd just started listing them all =)20:44
@rizenfor a complete list we also have auth modules, macros, url and content handlers20:44
@rizenoh and any object for that matter20:47
@rizenas a parameter to a workflow activity20:47
perlDreamerwhoa20:53
perlDreamerI think I found the first WebGUI constructor that doesn't take a session object20:53
@rizenwhich is?20:54
perlDreamerWebGUI::Search::Index20:54
@rizenthat's a mistake if that's the case20:54
@rizenit certainly should have a session20:55
perlDreamerhm20:55
perlDreamerI guess it does get a session, but it takes an asset as an argument20:56
perlDreamerit must get the session from that20:56
@rizenah20:56
@rizenyeah it doesn't make sense to pass it in twice20:56
@rizenpd could you look at line 323 of WebGUI::Workflow::Instance for me21:01
perlDreamersure21:02
-!- perlmonkey2 [n=perlmonk@ip68-97-51-70.ok.ok.cox.net] has joined #webgui21:02
@rizenit seems like that shouldn't work21:02
@rizenbecause $params is an array reference21:02
@rizenand i think it should be @{$params} to make it work21:03
@rizenbut there haven't been any complaints, so i don't know what's up21:03
perlDreamermaybe they don't take params yet?21:03
perlDreameror all expect array references?21:03
perlDreamermy Workflow/Spectre-fu isn't that great21:07
perlDreamerbut it looks like it's creating itself over again21:07
perlDreamerbecause $class and $method come from $self, rather than the activity21:07
perlDreamerobviously, I'm not paying enough attention in the Workflow class :)21:10
@rizeni think i'm going to stop second guessing myself21:10
@rizenit's obviously working or workflows everywhere would be going to hell in a handbasket21:11
perlDreamerin my Workflow Instance table, all classes and methods are NULL21:12
@rizenyou probably only have maintenance workflows up right now21:13
@rizenwhich have no objects21:13
@rizenmost workflows are maintenance type21:13
@rizenbut approval workflows work on version tags21:13
@rizenand lots of other workflows work on groups and users21:13
perlDreameryou're right, I don't have any of those running right now21:14
@rizenworkflow is kind of an insane bitch21:14
@rizenbut i'm glad i wrote it21:14
@rizenit makes so many other things in webgui so much nicer21:14
perlDreamerI'll understand it better once I've tested it21:14
@rizenlike the new commerce system for example21:14
perlDreamerI'll understand that once I've tested it, too21:17
@rizenyou won't have to test that21:17
* perlDreamer briefly considers changing his nick to V'GER21:17
@rizeni'm building it doing test driven dev21:18
@rizenholy crap, i just cut about 40 lines out of WebGUI::Workflow::Instance due to WebGUI::Pluggable21:18
perlDreamerrefactoring rocks21:19
@rizenoverall I'd say WebGUI::Pluggable has eliminated about 250 lines of code21:19
@rizenoh wait, ->can will work with the forms system21:27
@rizenbecause it's in the AUTOLOAD method that we call can21:27
@rizenwe're not calling it on an autoload method21:28
CIA-48WebGUI: jt * r5238 /WebGUI/lib/WebGUI/ (4 files in 3 dirs): converted workflow system to use WebGUI::Pluggable21:34
-!- cap10morgan [n=cap10mor@vc1-868-3.adsl.indra.com] has joined #webgui21:41
cap10morganshould ?op=spectreGetSiteData ever return an empty json object? (i.e. just "{}")21:41
@rizenno, at the very least it should have 2 nodes, the workflow and schedule nodes21:42
@rizeni forget the exact labeling21:42
cap10morganok, that's what i thought21:42
cap10morganhmm, my sites are returning empty objects21:42
cap10morganon 7.4.1421:42
cap10morgani'll try restarting21:42
@rizenthose nodes may be empty if you have no schedules or workflows21:42
@rizenbut they should at least exist21:42
perlDreameris there anything in your webgui.log?21:42
cap10morganright21:43
cap10morganno, i need to turn up the logging level though21:43
perlDreamerthere is one way for it to return {}21:43
perlDreamerand that's if you make an out of subnet request21:43
cap10morganperlDreamer: ah, that could be21:44
perlDreamersee line 62 of Operation/Spectre.pm in HEAD for an example21:44
perlDreamerif the request is out of subnet, it will issue a security warning and then fall through to the bottom21:44
cap10morganyep, that was it21:44
cap10morganthanks pD21:44
perlDreamerno sweat21:44
@rizenpd you around?22:11
@rizeni don't understand what i'm looking at in WebGUI::Operation::Help _loadHelp22:11
@rizenoh nevermind22:12
@rizennow i do22:12
@rizencrap22:14
@rizeni don't know how to load it though22:14
CIA-48WebGUI: jt * r5239 /WebGUI/lib/WebGUI/ (4 files in 2 dirs): migrated forms system to use WebGUI::Pluggable22:18
CIA-48WebGUI: jt * r5240 /WebGUI/lib/WebGUI/Operation/ProfileSettings.pm: converted to use WebGUI::Pluggable22:18
@preactionwould non-508-compliant asset templates in the core be considered a minor/cosmetic bug?22:32
@rizendepends upon the asset22:33
@preactionor since WebGUI is international, is there an international standard we can achieve?22:33
@preactioni seem to be getting bunches of questions about 508 and accessibility these days22:33
@rizenthe internatlonal standard is WAI compliance put forth by the W3C, however many countries (including the US) require their own compliance standards22:33
@rizenfor example, the project manager asset as far as i'm concerned, doesn't need to be WAI compliant because it is an intranet style app22:34
@preactionmy reply is invariably: depends on what the designer does, but a minor audit i conducted gave a few places where we could improve (if we're not, in fact, breaking 508)22:34
@rizenhowever, any app used by the general public should be WAI or section 508 compliant22:34
@preactionah, of course22:34
@preactionthe Collab System being one of those that might need a little 508 help22:34
@rizenprobably22:35
@rizenit's such a big ass app these days22:35
@preactioninaccessible tables, there needs to be all manners of weird tags in tables22:35
@preactionthat too22:35
-!- perlmonkey2 [n=perlmonk@ip68-97-51-70.ok.ok.cox.net] has quit ["Leaving."]23:01
CIA-48WebGUI: doug * r5241 /WebGUI/ (10 files in 4 dirs): Removed old .tmpl files from upgrades. All upgrade collateral must now be in .wgpkg packages23:03
@rizensoooooooooooo cooool23:04
@rizeni'm going to have to bring that up in one of the black blog NEXT posts23:04
perlDreamerrizen: I'd split it into two parts23:32
perlDreamer1) the load23:32
perlDreamer2) the data access23:32
@rizeni'm thinking about leaving it as is23:33
@rizensince it's a special case anyway23:33
@rizenor does that seem bad?23:33
perlDreamer"It's always easy to stay within strong boundaries."23:36
perlDreamerI'd covert the load to use Pluggable23:36
@rizenyour mom is a ______23:38
@preactionwhen a workflow activity has an error, it's supposed to increment the priority level, correct?23:38
perlDreamerex-nurse23:38
@rizenin spectre yes23:39
@rizennot in the workflow table23:39
@preactionok23:39
@preactionseems to not be happening, which is causing the same 5 activities to keep running over and over. i'll try to find out why23:40
@rizenblame apeiron23:41
@rizenit's fun23:41
@apeironNo, see, that's apeiron v1.0, the 2.0 model isn't fun any more.23:42
@apeironHowever, recent versions of khenn are still fun to blame.23:42
perlDreamerdoes it throw an exception when falsely blamed?23:42
@apeironOf course.23:43
perlDreamermust be good code then23:44
@rizenlet's try23:45
@rizenmy $apeiron = $pb->getEmployee("chris");23:46
@rizensay $apeiron->blame;23:46
perlDreameryou forgot to catch the exception23:46
@rizeni'm waiting to see die output23:47
@rizenso far nothing is printing23:47
@rizenthis is a slow program23:47
@rizenhrmmm...maybe it's hung23:47
@preactionit's backed up with errors from other processes23:47
@rizeni guess i'll have to kill it23:47
@rizen`killall apeiron`23:47
-!- apeiron was kicked from #webgui by rizen [rizen]23:48
perlDreamerit's a remote process, all you did was detach it23:48
@rizenthat seemed to work23:48
-!- vayde [n=vayde@c-24-118-7-216.hsd1.mn.comcast.net] has joined #webgui23:49
@rizenoh no23:49
@rizenkill one employee object and an old one pops up in it's place23:49
-!- cap10morgan [n=cap10mor@vc1-868-3.adsl.indra.com] has left #webgui []23:49
@rizenping vayde23:50
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui23:50
-!- mode/#webgui [+o apeiron] by ChanServ23:50
@rizenhrm23:51
@preactionresurrected!23:51
@rizenit's not responding either23:51
@rizenbut the apeiron process spawned again23:51
@rizenit appears that killall needs a --stay-dead option23:51
@preactionso the getSuspendedQueue in spectre is supposed to have the same priority as the original workflow. and the "workingPriority" is the new priority that spectre itself uses?23:51
perlDreamerI told you that this was just a remote connection23:51
@apeironError: caught fatal MessingWithApeiron exception! Aborting...23:52
@rizenfinally some output from that damn program23:52
@rizeni guess he was right, you can't blame him without trapping the exception23:53
vaydehey rizen, how you been?23:53
@rizenpreaction: that sounds right, but i don't know unless i look at the code23:53
@rizenterrible23:53
@rizenwow i must need a new computer23:53
@rizenmy ping command took forever to respond23:53
@rizenand it didn't follow protocol either23:53
@rizenthe vayde program is broken23:54
vaydelol.  yeah.  I get that alot23:54
--- Day changed Sat Jan 05 2008
@preactionlooks like it's just the spectre.pl --status message, it doesn't show the right working priority for suspended workflows, i expect because they're added to the suspended queue at their original priority00:04
-!- khenn_ [n=khenn@24-159-239-186.dhcp.mdsn.wi.charter.com] has joined #WebGUI00:15
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit []00:16
-!- khenn_ [n=khenn@24-159-239-186.dhcp.mdsn.wi.charter.com] has quit [Remote closed the connection]00:27
-!- khenn [n=khenn@24-159-239-186.dhcp.mdsn.wi.charter.com] has quit [Read error: 104 (Connection reset by peer)]00:28
-!- khenn [n=khenn@24-159-239-186.dhcp.mdsn.wi.charter.com] has joined #WebGUI00:28
-!- mode/#webgui [+o khenn] by ChanServ00:28
@preactionthere's still legacy workflow activities that have a 60-second run-time, would it be cool if I made that configurable? i've got 26000 e-mails and a site that seems to add them faster than they can be removed00:29
perlDreamerI think 60 seconds might be an "important" number00:30
perlDreamerlike, the spectre time ping interval00:30
@preactionit was, but that was changed iirc00:30
@preactionbecause now we have the workingPriority thing00:31
perlDreamerwell, if that's so (and admittedly, my spectre-fu is weak) then it should be okay to configure it.  TMRFE buy-in is always good.00:31
@preactioni updated the time, the job runs every minute now, but it still only gets rid of about 20 each time, which takes (say) two minutes (due to spectre overhead and other factors)00:32
@preactionperlbot math (26000 / 20 * 2) / 60 / 2400:33
perlbot1.8055555555555600:33
perlDreamer20 email/minute seems very, very slow00:33
@preactionit'll take two DAYS to get through these...00:33
perlDreamerwhich server is that?00:33
@preactionthe Alumni site00:33
@preactionthey continue to stress parts of WebGUI that I don't think anybody else does00:34
perlDreamerI meant, which email server?  sendmail, qmail, exchange .. ?00:34
@preactionwe use sendmail iirc00:34
perlDreamerand it will take two days as long as no new ones are added00:35
@preactionthey have applications that allow them to send large HTML-formatted mails00:35
perlDreamerand they're using the collab as an email list server?00:35
@preactionto every user in their database00:35
@preaction20,000+00:35
@preactionso i think they used it once, maybe twice (since they can also configure who gets the messages, so not everyone has to)00:35
-!- crythias [n=gyoung@fl-69-68-148-96.sta.embarqhsd.net] has left #webgui []00:35
@preactionso i was thinking some sort of message priority / first-in-first-out system00:36
@preactionsince important messages like lost passwords and welcome messages with important instructions are not getting sent out because they're behind (ordered by what though) other, less important messages00:36
perlDreamerA FIFO system will still block, but the messaging priority sounds good.00:37
@preactionordered by priority first, FIFO second (to make sure there's absolutely no chance that this kind of thing can happen again, unless the priorities are messed up00:37
perlDreamerI see. ORDER BY priority, dateSubmitted00:38
@preactionso i propose both really, because if you send a huge mass at the same priority, and then add another mass, but expect the first to be send before the second, you'll be disappointed00:38
@preactionlaugh, i'm up to 28000 now :p00:39
perlDreamersee, that's 10% more in 5 minutes00:39
perlDreamerwe need to find a better way to do large messages/large recipient sets00:40
@preactionsince most of there are the same message? but it's possible to personalize, no?00:41
@preactionisn't that what the "toGroup" thing in mailQueue is for?00:41
perlDreamersure, but would a forking dispatcher help?  Is sendmail the limiting factor, or is it Spectre?00:42
@preactionthe application generates a list, but it could generate a Group instead00:42
@preactionit seems like some get sent faster than others00:42
perlDreamerI'll be back in a while00:43
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has quit ["Download Gaim: http://gaim.sourceforge.net/"]00:43
-!- vayde [n=vayde@c-24-118-7-216.hsd1.mn.comcast.net] has quit [Remote closed the connection]01:25
@preactionperlbot math (28000 / 20 * 2) / 60 / 2401:29
perlbot1.9444444444444401:29
CIA-48WebGUI: chrisn * r5242 /WebGUI/lib/WebGUI/Asset.pm: 02:48
CIA-48WebGUI: Add a check in update() for whether isExportable exists, preventing problems02:48
CIA-48WebGUI: with users upgrading from previous versions of WebGUI. Tested in an upgrade02:48
CIA-48WebGUI: from 7.4.0 -> SVN head (i.e., 7.5.0).02:48
-!- SDuensin [n=Scott@120.sub-75-205-40.myvzw.com] has quit ["Leaving"]02:52
CIA-48WebGUI: chrisn * r5243 /WebGUI/docs/upgrades/upgrade_7.4.18-7.5.0.pl: Add a missing \t in the output of addIsExportable.03:33
CIA-48WebGUI: colin * r5244 /WebGUI/t/lib/WebGUI/Test.pm: 04:33
CIA-48WebGUI: Keep the session tracking, but hide it behind an environment04:33
CIA-48WebGUI: variable to keep the line noise down. Also, add user and04:33
CIA-48WebGUI: group tracking.04:33
-!- SDuensin [n=Scott@12-217-75-184.client.mchsi.com] has joined #WebGUI05:49
CIA-48WebGUI: colin * r5245 /WebGUI/t/Asset/Asset.t: 06:18
CIA-48WebGUI: Add a stub test for newByDynamicUrl, that really should06:18
CIA-48WebGUI: have been a stub test for update.06:18
CIA-48WebGUI: Add tests for getNotFound, testing what is returned for both06:18
CIA-48WebGUI: a page and a Snippet.06:18
-!- perlDreamer [n=colink@pool-71-117-209-28.ptldor.fios.verizon.net] has joined #webgui06:19
-!- mode/#webgui [+v perlDreamer] by ChanServ06:19
+perlDreamerpreaction: are you awake and willing to answer inane testing related questions?06:19
@preactionthat depends, are you inane enough to handle the answer?06:19
+perlDreamermaybe06:19
@preactionthen fire away06:23
+perlDreamerI'm having no luck trying to use Test::Builder to TODO-ify tests in Test::Maker06:23
* nuba wonders if hes inane enough to watch the exchange..06:23
+perlDreamerSo I'm wondering why it isn't working06:24
+perlDreamerthe only thing I can think of is that it's OO instead of procedural06:24
* diakopter lurks06:24
nubadiakopter: want some popcorn?06:25
@preactionso because Test::More doesn't see that it's currently inside of a named TODO: block at some nesting depth, it doesn't truly label them as TODO?06:25
diakopternuba: i have plenty, thank you06:25
+perlDreamerRight06:25
+perlDreamerMaybe I should commit the code06:25
+perlDreamerIt's harmless (useless)06:26
+perlDreamerso you can look06:26
@preactionk06:27
+perlDreamerit's in06:27
+perlDreamerthe code is straight out of the Test::Builder::Module docs06:27
@preactionperhaps todo_skip would be better? does that work?06:29
+perlDreameryes and no06:29
+perlDreamerskip will make the tests not run06:29
+perlDreamerI want these tests to run06:29
+perlDreamerI wonder06:32
+perlDreamersince nothing is exported, import is never called06:32
@preactionlook at Test::Builder and look for <level> and tell me if that's what we're looking for06:32
+perlDreamerI did.  The Builder docs are bad06:33
+perlDreamerThat's why I chose Builder::Module06:33
+perlDreamerbut maybe the whole premise is wrong06:33
CIA-48WebGUI: colin * r5246 /WebGUI/t/lib/WebGUI/Test/ (Maker.pm Maker/Permission.pm): add prototype Test code to allow Test::Maker modules to handle TODO06:33
+perlDreamerand I should include that stuff in new06:33
+perlDreamerI'll try retrofitting to tht06:35
+perlDreamerthat06:35
@preactionuhm, is there two package statements in WebGUI::Test::Maker now?06:35
+perlDreamerNo.  Why do you ask?06:36
@preactionit looks like the entire module got duplicated and pasted into itself06:36
@preactionweird06:36
@preactioni think it might've been there for a while06:37
@preactionit should only be 192 lines, not 38406:37
@preactionsame thing with Test::Maker::Permission06:38
+perlDreamerthe svn repo looks okay06:38
+perlDreamermy local copy looks okay06:38
+perlDreamerfor Test::Maker06:38
+perlDreamerI'll check Permission next06:38
+perlDreamerIt looks okay, too.06:38
@preactionha, i think it's because i'm looking at a different codebase :p06:39
@preactionyeah :p06:39
+perlDreamerphew06:39
@preactionis there a test i can use to play with? I'm going to start messing around with Test::Builder and/or Test::More to see why it's happening06:40
+perlDreamerAsset/Asset.t06:40
+perlDreamersee the commented out code for canAddMaker206:41
@preactionk06:41
+perlDreamerthat's also what I'm using, so it should be easy to duplicate results06:41
@preactionso i uncomment the code and try that?06:41
+perlDreameryes06:41
+perlDreamerand also the TODO code down below that calls the run method06:41
@preactionk06:42
+perlDreamerlevel looks right.  It should kick things up 1 level06:44
@preactionso 92 and 93 are failing, when in fact they should be TODOing06:44
+perlDreamerright, they should fail AND be TODO'ed06:44
@preactionright, but it's not one level, they've decended a level because they're being called inside the Test::Maker06:45
@preactionthough i really don't quite understand it06:45
@preactionok() is called in Test::Builder, up one level would be the TODO: block, up one more would be main::, in a normal situation06:46
@preactionso if ok in Test::Builder is instead called in Test::Maker, which is called in a TODO: block, which is called from main, it would need to go up one more, no?06:47
+perlDreameryes06:47
+perlDreamerso adding 1 to Test::Builder::Level, localized?06:47
@preactionlets try06:47
@preactionomg it works06:48
+perlDreamerusing Builder::Module?06:48
@preactionadding 'local $Test::Builder::Level = $Test::Builder::Level+1;' as line 189 (or somewhere at the top of the run() sub)06:50
@preactioni think it's using Builder::Module, it's using runUsers()06:50
+perlDreamerYou're a genius06:51
+perlDreamerYou know what happens now right?06:51
+perlDreamerI have to bow to you.06:51
@preactionbut then, wouldn't that runUsers introduce another level of depth?06:51
@preactionso why does it work?06:51
+perlDreamermaybe it's caller depth, not stack depth06:52
+perlDreamerwe're two packages deep, regardless of how many subroutines are called06:52
@preactionthat sounds weird. Test::Builder uses caller() to try to find it, isn't that the stack depth?06:53
+perlDreamerI'm not sure.06:53
@preactionmeh, i expect it'll be an exercise for a later day, after we find another way to break things ;)06:53
* perlDreamer bows06:54
+perlDreamerThanks for collaborating, preaction06:54
@preactionnp, interesting problems are always fun, i don't come across nearly enough in my daily work ;)06:55
+perlDreamerany luck with the email bomb?06:55
@preactionnew ways on how to manage site-wide collateral data and reporting are so boring i'm making some superclasses that will cut my work by at least 70%06:55
@preactionyes and no, the e-mails have stopped increasing, but there's nothing i can do to keep things going faster really06:56
@preactionit only came to our attention because of some problems with version tags, perpetual.06:56
+perlDreameryeah, I found another good buglet today06:56
+perlDreamerbut it's not really fixable06:56
+perlDreamerIf you instanciate an object inside a version tag, then commit the object06:56
@preactioni've put enough logging info it's pouring out of my eyeballs and i can't find the exact piece of code causing a workflow activity to be created and the version tag and all assets gets destroyed, but the activity remains06:56
+perlDreamerweird06:57
@preactionthe bug graham fixed last week might cause it, so i'll be putting that patch in06:57
+perlDreameryeah, it mucks things up if you purge a parent before a child now06:57
@preactionthey're getting upgraded to the first 7.5.0 beta as soon as it gets released, so there's that blessing (right now they're running a patched 7.4.13)06:57
@preactioni think there might also be a problem with trying to create a child while the parent is still in a pending state, but i could've swore i tried that one already06:58
+perlDreameris it a collab system?06:58
+perlDreamerif so, there's definitely a problem06:59
@preactioncustom application allowing users to post photos, stores those photos in a folder06:59
@preactionseems that most of the problems happen when the folder is created06:59
+perlDreamerif a child ever has to get getParent, it will puke06:59
+perlDreamergetParent can't find uncommitted parents06:59
@preactionthat... doesn't sound good06:59
+perlDreamerit's exactly what we found in the Gallery/Album tests07:00
@preactiongetParent should, imho, always get the parent. if there's no committed parent it should get the uncommitted one07:00
@preactionbut then, how could there be a committed child ... because i don't test for that before allowing children to be added to Gallery07:01
+perlDreamerso long as you don't access a method that calls getParent, you can do anything you like07:01
+perlDreamerI think all the containers should override and extend addChild to make sure of it07:02
+perlDreamerright now it's checked in the interface, but not the API07:02
nubahey guys, quick question: on the maps asset im generating some javascript which I'd think would be better if using a template instead of mixing perl code and many chunks of HEREDOCs or string concats..07:03
+perlDreamertemplating tends to be slow07:04
+perlDreamerhow about sprintf?07:04
nubathe thing is, if I create a template, chances are the users could delete it and break the asset07:04
@preactionthat's the chance you take with all assets07:05
@preactionTime Tracker, Project Manager, huge parts have javascript that unless copied perfectly will break07:06
@preactioni would suggest a snippet though, or if it's absolutely necessary for all asset functionality, a script in the Extras folder07:06
+perlDreamerbut I think it's variable, that's why he wants to template it07:06
@preactionyou could either include it yourself using session->http->setScript or have the template do it07:07
@preactionoh07:07
@preactionno way to make it an Object of some kind?07:07
+perlDreamernuba: for stuff like that I use sprintf with a heredoc.  It's the lightest weight template available in pure, core perl.07:07
nubai wanted to throw it in the headBlock of the template, just to figure out that headBlock isnt processed, just included as is in the head.07:08
@preactioni would offer up the Event www_edit method as an example of how that can go horribly horribly wrong07:08
@preactionput it on top of the markup in the Template area, or make it an object of some kind that you instanciate in the template part07:09
nubapersonally, i'm inclined to embed a template in a $javascript_template scalar, and process it07:09
nubapossibly with TT instead of HTML::Template if it starts to get more complicated. would that be ok?07:10
nubaor thats not the webgui way?07:10
@preactionno way to just write out some JSON? 07:10
+perlDreamerpreaction: I see what you mean.  But you're still using quoting and string concat vs a HEREDOC/sprintf07:10
nubawell if I write JSON then i'll move the complexity to javascript. 07:11
+perlDreamernuba: there's no "good" way to do it.  It's either slow or ugly.07:11
nubai'd rather keep it in perl07:11
nubaby complexity i mean the decisions of what javascript to run07:12
nubai'd rather decide at the perl code what javascript to create07:12
@preactionnot sure on the policy of TT v. HTML::Template. I hear rumors of moving to TT exclusively using an updated WebGUI::Asset::Template07:13
@preactionbut i don't know what'll happen to them07:13
@preactioni expect HTML::Template will remain the defacto standard for now07:13
nubai think i'll stick with heredocs for now07:13
nubabut thanks guys for the input07:13
+perlDreamerI heard rizen talk about the templating, too, preaction.  There's a HTML::Template dialect in TT now.07:16
@preactionperlDreamer, imma commit this, the test is commenting up07:16
@preactionyeah, that's what he was talking about i think07:16
+perlDreameralready committed07:16
@preactionoh k07:16
CIA-48WebGUI: colin * r5247 /WebGUI/t/lib/WebGUI/Test/ (Maker.pm Maker/Permission.pm): make Maker/Permission.pm handle TODO tests07:18
CIA-48WebGUI: colin * r5248 /WebGUI/t/Asset/Asset.t: convert the commented out code into TODOs07:18
nubalooks like $session->style->setRawHeadTags is my new friend..07:20
+perlDreamerit's good stuff07:23
+perlDreamerit even has a test suite07:23
CIA-48WebGUI: doug * r5249 /WebGUI/t/lib/WebGUI/Test/ (Maker.pm Maker/HTML.pm Maker/Permission.pm): fixed Test::Maker::HTML Level. added some comments for future generations07:33
CIA-48WebGUI: colin * r5250 /WebGUI/t/Asset/Asset.t: refine the one newByDynamicClass test07:48
+perlDreamernow if only I could get the related bug fixed with addAssetPrivilege, we could resolve the test and unTODO it07:51
-!- perlDreamer [n=colink@pool-71-117-209-28.ptldor.fios.verizon.net] has quit ["Leaving."]07:52
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit ["Leaving"]09:27
-!- CIA-48 [n=CIA@208.69.182.149] has quit [Remote closed the connection]12:10
-!- CIA-20 [n=CIA@208.69.182.149] has joined #WebGUI12:17
-!- vayde [n=vayde@c-24-118-7-216.hsd1.mn.comcast.net] has joined #webgui16:37
-!- vayde [n=vayde@c-24-118-7-216.hsd1.mn.comcast.net] has quit [Remote closed the connection]17:22
-!- vayde [n=vayde@c-24-118-7-216.hsd1.mn.comcast.net] has joined #webgui17:48
-!- vayde [n=vayde@c-24-118-7-216.hsd1.mn.comcast.net] has quit ["Exit- stage left"]18:29
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui19:55
-!- mode/#webgui [+o preaction] by ChanServ19:55
diakopterJT: you around?19:56
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Connection timed out]20:18
-!- vayde [n=vayde@c-24-118-7-216.hsd1.mn.comcast.net] has joined #webgui20:59
-!- vayde [n=vayde@c-24-118-7-216.hsd1.mn.comcast.net] has quit [Remote closed the connection]21:37
CIA-20WebGUI: colin * r5251 /WebGUI/lib/WebGUI/Asset/Wobject/Gallery/Utility.pm: remove whitespace interfering with POD formatting22:18
-!- danny_mk [n=danny@68.15.55.161] has joined #webgui22:18
--- Day changed Sun Jan 06 2008
-!- danny_mk [n=danny@68.15.55.161] has quit ["Leaving"]00:42
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui01:27
-!- mode/#webgui [+o preaction] by ChanServ01:27
-!- vayde [n=vayde@c-24-118-7-216.hsd1.mn.comcast.net] has joined #webgui02:45
-!- vayde [n=vayde@c-24-118-7-216.hsd1.mn.comcast.net] has quit [Remote closed the connection]02:54
-!- vayde [n=vayde@c-24-118-7-216.hsd1.mn.comcast.net] has joined #webgui05:57
-!- vayde [n=vayde@c-24-118-7-216.hsd1.mn.comcast.net] has quit ["Exit- stage left"]06:45
-!- khenn_ [n=khenn@24-159-239-186.dhcp.mdsn.wi.charter.com] has joined #WebGUI09:52
-!- khenn [n=khenn@24-159-239-186.dhcp.mdsn.wi.charter.com] has quit [Read error: 113 (No route to host)]10:08
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)]12:25
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui13:04
-!- mode/#webgui [+o preaction] by ChanServ13:04
-!- BartJol [n=Administ@54-167.surfsnel.dsl.internl.net] has joined #webgui15:59
-!- vayde [n=vayde@c-24-118-7-216.hsd1.mn.comcast.net] has joined #webgui16:58
-!- vayde [n=vayde@c-24-118-7-216.hsd1.mn.comcast.net] has quit ["Exit- stage left"]17:18
-!- vayde [n=vayde@c-24-118-7-216.hsd1.mn.comcast.net] has joined #webgui18:04
-!- BartJol [n=Administ@54-167.surfsnel.dsl.internl.net] has left #webgui []18:08
-!- khenn_ [n=khenn@24-159-239-186.dhcp.mdsn.wi.charter.com] has quit []19:21
--- Day changed Mon Jan 07 2008
-!- danny_mk [n=danny@68.15.55.161] has joined #webgui00:21
-!- danny_mk [n=danny@68.15.55.161] has quit ["Leaving"]00:26
-!- SynQ [n=koen@host1.procolix.nl] has left #webgui []02:23
-!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui02:27
-!- mode/#webgui [+v Radix-wrk] by ChanServ02:27
-!- vayde [n=vayde@c-24-118-7-216.hsd1.mn.comcast.net] has quit ["Exit- stage left"]05:49
+Radix-wrkanyone about?08:01
+Radix-wrkI've got an old 6.8.10 webgui setup - can I download the latest wre and upgrade it using that to the latest?08:03
-!- dapperedodo [n=joeri@77.163.53.25] has joined #webgui09:01
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui09:42
-!- Radix-wrk [n=Jesse@203.161.68.67] has quit ["Leaving"]09:47
AMH_bobHallo Diego,10:24
AMH_bobHeb je een link naar de opzet gemaakt voor de product catalogue?10:24
-!- BartJol [n=Administ@host1.procolix.nl] has joined #webgui10:31
BartJoldoes anyone knows what version of WebGUI is currently on the translation site? we plan to try to keep the Dutch translation up to date, but I can't find the version. Is it always the one most recent?10:37
-!- besonen_mobile_ [n=besonen_@71-220-198-145.eugn.qwest.net] has joined #webgui11:21
-!- besonen_mobile [n=besonen_@71-220-198-145.eugn.qwest.net] has quit [Read error: 104 (Connection reset by peer)]11:23
xdangershouldn't the read_limit be a little higher by default than 64Mb?12:20
xdangerhttp://www.webgui.org/community-wiki/server-wont-upload-big-files12:20
BartJolmaybe someyhing to do with users that randomly uploading files12:23
-!- SDuensin [n=Scott@12-217-75-184.client.mchsi.com] has quit ["Leaving"]14:01
-!- BartJol [n=Administ@host1.procolix.nl] has quit [Read error: 110 (Connection timed out)]15:37
-!- BartJol [n=Administ@host1.procolix.nl] has joined #webgui15:51
-!- SDuensin [n=Scott@153.sub-75-206-47.myvzw.com] has joined #WebGUI15:53
SDuensinGreetings.15:55
BartJolSame question as this morning (at least morning for me), is the WebGUI version on the translation server always the latest version?16:47
nubaBartJol: i believe whoever is working on any translation for webgui, is using the translation server17:05
BartJolwell, no\17:06
nubasince most people would prefer a web based interface than editing the source files, i guess17:06
BartJolArjan is working on a local machine17:06
BartJoland I'm not sure whether he commited the translation17:06
nubathe translation server also has the convenience of automatically keeping track of new strings as they're added to the releases17:06
BartJolI know17:07
nubawell in the early days you had to mail JT the translation to be imported there17:07
BartJolI remember from my first translation a couple of years ago17:07
BartJolbut, is the server always running the latest (stable) version?17:08
nubadunno17:10
BartJolbut probably we will be using the PB translation server in the future17:11
nubaoh sorry i just  read you question again, i got it wrong17:11
nubai thought you asked if the translations at the translation server were always the latest ones17:11
nubayou were asking about the webgui version tho17:11
nubamy bad17:11
BartJolno sweat, thanks17:11
BartJolis the script I send you working?17:11
nubai didnt use it yet, im hacking other pressing things atm17:12
nubabut i'll have use for it, thanks for sending :)17:12
nubajust not while this deadlines are breathing in my neck :/17:13
BartJol:)17:13
BartJoloff course17:13
-!- dapperedodo [n=joeri@77.163.53.25] has left #webgui []17:24
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has left #webgui []18:18
-!- BartJol [n=Administ@host1.procolix.nl] has left #webgui []18:40
-!- perlmonkey2 [n=perlmonk@ip68-97-51-70.ok.ok.cox.net] has joined #webgui18:48
-!- perlmonkey2 [n=perlmonk@ip68-97-51-70.ok.ok.cox.net] has quit ["Leaving."]18:51
-!- wgGuest26 [n=wgGuest2@86.121.144.173] has joined #webgui19:40
wgGuest26hello19:41
wgGuest26i have a small problem at installation19:41
wgGuest26ca someone please helpme ?19:41
-!- wgGuest26 [n=wgGuest2@86.121.144.173] has quit [Client Quit]19:42
-!- wgGuest82 [n=wgGuest8@86.121.144.173] has joined #webgui19:43
wgGuest82hello19:43
wgGuest82someone can help me with a problem at installation please?19:44
nubawhats going wrong?19:50
wgGuest82hello nuba20:13
wgGuest82when i am runnig wreconsole.pl i am getting this message20:14
wgGuest82[root@localhost sbin]# /usr/bin/perl wreconsole.pl20:14
wgGuest82'jsonToObj' will be obsoleted. Please use 'from_json' instead. at /usr/lib/perl5/vendor_perl/5.8.8/Config/JSON.pm line 13420:15
wgGuest82'jsonToObj' will be obsoleted. Please use 'from_json' instead. at wreconsole.pl line 102420:15
wgGuest82malformed JSON string, neither array, object, number, string or atom, at character offset 0 ["(end of string)"] at 20:15
@preactionwhy are you using your system's perl when you should be using the WRE's perl?20:31
wgGuest82i did not knew20:35
@preactionbest to do this: . /data/wre/sbin/setenvironment.sh <- note the space between the . and the /20:36
@preactionthen just "perl wreconsole.pl" or even just "wreconsole.pl"20:37
@preactionthe JSON that ships with the WRE should wokr20:37
wgGuest82one moment20:37
wgGuest82i try this now20:37
@preactionbut, if you could open up a new terminal, do a perldoc -l JSON, and let me know what the $VERSION is, I would appreciate it20:38
@preactionif they're going to deprecate something, we're going to need to prepare for it20:38
wgGuest82ok20:40
wgGuest821 sec please20:40
wgGuest82the version of perl is 5.8.8 and version of webgui si 0.8.120:42
@preactioni mean what version of the JSON module you were using that gave you that error20:44
@preactionalso, just to make sure, you're using the WRE 0.8.1, which probably downloaded WebGUI 7.4.1820:45
wgGuest82yes i am using wre 0.8.120:47
wgGuest82in the JSON.pm i found a variabile that states version=2.0420:48
wgGuest82i dont have much experience with perl modules20:48
wgGuest82perldoc -l JSON echo the path /usr/lib/perl5/5.8.8/JSON.pm20:50
wgGuest82perldoc -l JSON echo the path /usr/lib/perl5/site_perl/5.8.8/JSON.pm20:50
@preactionnow open up that file and look for $VERSION21:02
wgGuest82i found $JSON::VERSION='2.04'21:04
@preactionthat works, thanks21:04
wgGuest82$XS_VERSION='2.01'21:04
wgGuest82ok21:05
-!- perlmonkey2 [n=perlmonk@ip68-97-51-70.ok.ok.cox.net] has joined #webgui21:24
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has joined #webgui21:48
perlDreamerto answer BartJol's question from this morning, I believe the translation server runs off of SVN HEAD, not the latest stable version.21:51
wgGuest82perldreamer can you help me with some problems at installation please21:56
wgGuest82?21:56
perlDreamerwhat kind of problems are you having, wgGuest82?21:56
wgGuest82one moment please21:58
wgGuest82'jsonToObj' will be obsoleted. Please use 'from_json' instead. at /usr/lib/perl5/vendor_perl/5.8.8/Config/JSON.pm line 13421:59
wgGuest82this is the error i getting22:00
perlDreamerAre you using the WRE?22:00
wgGuest82JSON is version 2.0422:00
wgGuest82perl is 5.8.822:00
wgGuest82i am running red hat with wre 0.8.122:00
perlDreamerthe WRE supplies its own JSON and perl and apache and mysql22:01
perlDreameryou must not be running it22:01
perlDreamerdid you run . setEnvironment from the WRE sbin directory?22:01
wgGuest82i don run apache or mysql22:01
wgGuest82yes22:01
perlDreamerwhat does perl -v report?22:01
perlDreameractually, hold on a sec22:02
perlDreamerhow can you run WebGUI without using apache or mysql?22:02
wgGuest82This is perl, v5.8.8 built for i38622:02
wgGuest82etc22:02
wgGuest82i am using apache22:03
wgGuest82i just dont have the service started22:03
perlDreamerwhat are you doing to produce the error message?22:04
wgGuest82perl wreconsole.pl22:04
wgGuest82after that localhost.localdomain:6083422:04
perlDreamerand you continue to get this error message after you do the . setEnvironment ?22:04
wgGuest82yes22:04
perlDreamerwhich shell are you using?22:05
wgGuest82bash22:05
wgGuest82after i run setenviroment.sh i run echo $? and it returns 022:06
perlDreamerplease do echo $PATH > myPath and paste it using the pastebin site in the title.  webgui.pastebin.com22:06
perlDreamerthen paste the URL here22:06
perlDreamerit's not possible that you run the setenvironment script and still point to an operating system perl library.22:07
nubabesides the jsonToObj warnings wgGuest82 is getting this too22:07
nubawgGuest82> malformed JSON string, neither array, object, number, string or atom, at character offset 0 ["(end of string)"] at22:07
nubalooks like a malformed json file to me22:07
wgGuest82hello nuba22:07
wgGuest82you're back22:08
nubayup. im always online on irc, even if im not at the computer, i leave the client connected here22:09
wgGuest82http://webgui.pastebin.com/d3e852bf522:09
-!- ckotil [n=newtrino@snare.grnoc.iu.edu] has quit [Remote closed the connection]22:09
-!- ckotil [n=newtrino@snare.grnoc.iu.edu] has joined #webgui22:09
nubajust found out this week's FLOSS is about YUI22:09
-!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: CIA-2022:09
nubaFLOSS Weekly 23: The Yahoo User Interface Library22:10
nubahttp://twit.tv/floss2322:10
perlDreamerwgGuest82: your path is not being set by the setEnvironment script22:10
perlDreamerso it's still pointing to the system perl, not the WRE one22:11
-!- Netsplit over, joins: CIA-2022:11
perlDreamerand hence your JSON warning about obsolence22:11
wgGuest82you are right22:11
wgGuest82how do i corect this22:11
perlDreamerI _think_ the setenvironment script is in /data/wre/sbin22:11
perlDreamerhead over there and see if I'm right22:12
perlDreamerI don't use the WRE myself22:12
wgGuest82yes it is there22:12
wgGuest82and from there i run it22:12
nubayou run it with . /data/wre/sbin/setenvironment22:13
perlDreamer. <space> setenvironment ?22:13
nubaits a dot, a space, then 22:13
nuba/data/wre/sbin/setenvironment22:13
perlDreameryeah, what nuba said22:13
wgGuest82yes22:13
wgGuest82i try again now22:13
nubait would be nice havin setenvironment setting a $WRE variable22:14
nubaso you could just ask people to paste here the output of echo $WRE22:14
nubaor maybe echo $SHELL $WRE22:16
perlDreamerI like it.  Make it an RFE and I'll see if I can implement it.22:16
wgGuest82guys thanks for the help22:16
wgGuest82it is working now22:17
nubacool22:17
wgGuest82i probably messed up something22:17
perlDreamerI'm guessing your earlier problem was not specifying the whole path to setenvironment22:17
perlDreamerbut in any case, I'm glad it's working for you now22:17
wgGuest82i run wreconsole.pl with the perl from wre22:17
wgGuest82thks for you help and patience22:17
wgGuest82have a good night22:18
wgGuest82:d22:18
nubayou too22:18
nubaoh also22:18
nubayou can change your nick with /nick mynewnick22:18
nubaso you can hang out here with a proper nick instead of wgGuestxx if you want22:18
-!- wgGuest82 is now known as Bodanel22:19
Bodanelok22:19
nubathere you go22:20
Bodaneli dont use irc channels so much22:20
@apeironAlthough if you're gonna do that, you may as well get a proper IRC client. :) irc.freenode.net, #webgui22:20
nubanext time a Bodanel joins here we may remember its you :)22:20
Bodanelil do that22:20
Bodanelok22:20
Bodanelyou will see me again22:21
Bodanelnow i am experimenting webgui22:21
Bodanelbye everybody22:21
perlDreamerlater22:21
nubahave fun22:21
@apeironCiao, have fun.22:21
-!- Bodanel [n=wgGuest8@86.121.144.173] has quit []22:37
perlDreamerHe was very persistent.  That's a  good trait in new users23:10
@preactionas long as he learns / listens23:10
perlDreamer"indeed"23:11
nubayeah23:19
nubahe seemed thankful, and looking forward to come back as he goes experimenting23:20
nubait would be good if experimenters of today turned channel regulars of tomorrow :)23:20
@preactioni'm starting to think there needs to be a measure of critical installed mass to start upping the population here23:25
nubaworried it could turn all of us into 1st level of customer support ? :)23:27
nubathat can be scary :/23:27
@preactionnot really, we kinda are23:29
@preactionfor my purpose, in order to keep on top of what's going on in the WebGUI community, i read every board and post when it's appropriate23:30
@preactionusually when i notice something that could be wrong with WebGUI, such as the new JSON API that's going to cause problems unless we switch23:31
-!- SDuensin [n=Scott@153.sub-75-206-47.myvzw.com] has quit ["Leaving"]23:50
--- Day changed Tue Jan 08 2008
Radix__woohoo.. my source build of the wre completed00:32
Radix__didn't think that was ever going to happen to be honest :)00:34
@preaction:p oh ye of little faith00:41
Radix__it kept on failing at GSSAPI00:46
Radix__it'd try and install Authen::SASL, which had a required module gssapi and it would always fail to install00:47
Radix__I found the right things to apt-get to get it working in the end00:47
@preactionwhat version of debian/ubuntu?00:48
Radix__still wouldn't build tho.. so ended up doing a full clean and rebuild and went to bed00:48
Radix__debian 4, etch00:48
@preactionmight want to post a build log to the dev list with the difficulties you went through00:48
CIA-20WebGUI: doug * r5252 /WebGUI/ (4 files in 4 dirs): Added userDefined fields to GalleryAlbum assets. Modified Gallery::Utility to migrate userDefined fields from Threads to GalleryAlbums. Added tests for the previous.00:48
Radix__the prebuilt one didn't work.. wanted a specific version of glibc00:48
Radix__would it be worth packaging this one up as a binary for debian 4?00:49
perlDreamerpreaction: could you please add asset committing to the Gallery Utility test while your'e working on it?00:49
@preactionis that why the purgeRevision is failing?00:50
perlDreameryes00:50
@preactionbetter question: is that a bug in purgeRevision?00:50
perlDreamerperhaps, but why get the working tag if you're not going to commit it?00:50
@preactionto isolate my changes and be able to roll them all back at the end00:51
perlDreamerthat won't isolate your changes since each addChild will get the current working tag anyway00:51
@preactionit also creates the working tag so that i have it to be able to roll it back without having to go look for it00:52
perlDreamerI didn't know that uncommitted tags could be rolled back00:52
perlDreamerI'll have to study the versioning code some more00:53
@preactionall a rollback does is purge all the assets in the version tag00:54
@preactionrather, all the revisions00:54
@preactionrevisions can be pending and still be purged00:54
perlDreamerI see00:55
perlDreamerbut then you're still stuck with getParent always failing00:55
@preactionis getParent versioning-aware? that might be a bug too00:56
-!- ascii [n=ascii@host-64-139-233-19.nctv.com] has joined #webgui01:16
-!- SDuensin [n=Scott@12-217-75-184.client.mchsi.com] has joined #WebGUI01:33
perlDreamerpreaction: my biggest frustration is always trying to figure out what is a bug in code, vs poorly written code.01:47
perlDreamerIn other words, who is wrong?01:47
perlDreamerOnly rizen can answer that question01:48
perlDreamersince he wrote it01:48
@preactioni tend to think about what I would want, i would want versioning to be a completely-working method to change as much as I want without pushing them to the live version until i'm satisfied01:49
@preactionno matter if i'm using code or actually editing it myself01:49
@preactionso to say, the "spirit" of the code, not the letter ;)01:49
perlDreamerIf rizen's cool with changing that, I'm perfectly cool with it too.  I just like passing test suites01:50
@preactioni'm more a fan of failing test suites, it exposes bugs ;)01:50
@preactioncorrect tests that fail ;)01:50
perlDreamerwell, if y'all have a weekly kind of meeting, maybe you could bring it up and talk it through01:51
perlDreamerif the API can change or be altered/fixed, then it should be done01:51
@preactionnot sure if those are API issues really, some parts of the Asset class just aren't very aware of versioning, and we're running into them a lot01:55
@preactioni can write something to the dev list about it01:55
@preaction... and after an hour of migrating content, i begin to worry that the script is just spinning its gears...01:58
-!- elnino [n=ninow@user-38q49cv.cable.mindspring.com] has joined #webgui01:59
elninohi.  The help file system is very powerful with the i18n support and all, but my macros are really only useful to us. Is there a way I can write help files within WebGUI, without having to create a corresponding i18n file as well?02:01
perlDreamerno02:01
perlDreameralthough the macro help has been pulled out of the core and put into the wiki instead02:01
perlDreameryou could take a similar approach02:01
-!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui02:03
-!- mode/#webgui [+v Radix-wrk] by ChanServ02:03
elninoso, my custom macros will no longer list automatically in the webgui help?02:03
perlDreamerit's been a while since i've worked in that system02:06
perlDreamerI think they'll list02:06
perlDreamerI don't think they link anymroe02:06
perlDreamerthat's as of 7.4, btw02:08
elninoThat's too bad, It was certainly convienent to see al the "help" in one place.  But Good to know before I spend all my time writing .pm help files.  Is there 02:08
elninoI'll look at the 7.4 readme/history to see if I can figure it out...02:08
elninoThanks!02:08
@preactioni'm thinking about re-writing the Settings tab in order to (a) accomodate as much stuff from the .conf file as possible and (b) since there'll be a whole slew of new stuff, adding some search capabilities to make setting things easier02:13
@preactionyea or ney? it's a longer-term project, since the Report asset is first02:13
@preactionsomething like CompizConfig Settings Manager, with the tabs on the side and a searchbar thingy02:14
nubatwo thumbs here for moving things from .conf to Setting!02:16
nubathumbs up, that is02:16
@preactionin order to start up, though, the DSN, database user, and database password must remain in the config file, but those are unlikely to ever need changing, whereas installing assets requires changing config02:17
elninoThe only thing the change log says is that they removed the Table of Contents - which is where the macros help files were linked into. I suspect that there are people out there that have put in a lot of time customizing help, I'm surprised that this was removed? Was this a reqeust?02:18
@preactionit's a performance issue, i18n is loaded into memory, being Perl data structures02:18
@preactionwithout the i18n for the Help files, we cut something like 12M resident02:18
@preactioniirc. the IRC logs have the true answer02:19
elninoHmm. That makes sense> I guess I would have had it as an install option. But I'm glad I found out before writing a bunch of help files.02:19
elninore config: less config files more settings via the application I think is much easier. Sounds good to me.02:20
nubai like config files having just as little as required to boot02:21
-!- elnino [n=ninow@user-38q49cv.cable.mindspring.com] has quit ["Leaving"]02:21
@preactionactually i'll have to look. i'm pretty sure preload.perl does some magic with the configured class names. that might have to change to use either Module::Pluggable or WebGUI::Pluggable02:22
@preactionwhich could increase the resident size, since all the classes in WebGUI::Form, WebGUI::Macro, WebGUI::Asset WebGUI::Workflow::Activity will be loaded at the get-go, no matter if any site is configured to use them02:23
nubatrue02:25
perlDreamerpreaction: you might want to check the IRC archives for a discussion on that02:27
perlDreamerrizen hasn't been favorable about that in the past02:27
perlDreamersomething about the config being loaded on startup, where as settings are hit on every request02:28
@preactionhumph... sounds like a challenge to me ;)02:28
@preactionbut yes, that would be bad02:28
perlDreameryou know where the online archives are...02:29
nubaare the irclogs archived somewhere?02:29
perlDreameryes02:29
perlDreamerjukka does it for us02:29
perlDreamerhttp://mentalhouse.net/irc/logs/webgui/02:29
nubacool. i've got irssi on auto-logging, but of course that works only when im here :)02:30
@preactioni'll write something to download them and index them later :p02:32
@preactionwould it be prudent to make an Asset/api.t test that can be copy/pasted to make sure that all assets conform to the same API? perhaps an additional one for Wobjects?02:35
@preactiongod.. give me a week off and just see what explodes out of my head :P02:35
perlDreamerpreaction: I think the real answer is Test::Class02:36
perlDreamercopy and paste is bad02:36
perlDreamervery bad02:36
nubapreaction: wget -r to download, grep to search :)02:36
@preactionooh02:36
@preactionnuba, thanks02:36
@preactionperlDreamer, will investigate before i start writing this api test for my new Report interface02:37
nubagrep -i to make it case insensitive, and -C 10 to give you 10 lines beore and after each grep hit02:37
perlDreamerI'd love to see the Gallery tests refactored to reuse code, rather than copy and paste02:37
-!- Khaytsus [i=wally@khayts.us] has joined #webgui02:37
KhaytsusI updated my WebGUI from 7.3.18 to 7.3.22, no problem.  Updated 7.3.22 to 7.4.19 and now when I restart httpd I get this:02:38
KhaytsusError loading WebGUI::Asset::Template::TemplateToolkit! - Can't locate Template.pm02:38
KhaytsusDidn't have any upgrade errors...  And I'm not finding anything on this error.  Any suggestions?  The website sorta shows, but doesn't load much beyond the main page content.02:38
@preactionKhaytsus, is Template installed?02:39
perlDreamerIt's probably coming through the config file, with TT as a plug-in02:39
KhaytsusIs it separate?  I'm really not sure02:39
KhaytsusLet me look at config02:39
@preactionTemplate is perl's Template Toolkit02:39
@preactionTT or TT202:40
KhaytsusHmm, let me check that02:40
KhaytsusTemplate::Toolkit ?02:40
@preactionperlDreamer, i like Test::Class. I like it a lot. it could compartmentalize our tests immensely (each test sub could create its own version tag and rollback after its done)02:40
@preactionKhaytsus, no. it's just Template02:41
perlDreameryes02:41
@preactionTemplate.pm02:41
perlDreamerbut think of the rewrite02:41
* perlDreamer shudders02:41
@preactionperlDreamer, admittedly, but if we can use it going forward02:41
perlDreamerI agree, but I won't have time myself to work on it until after the testing book chapter is written02:42
perlDreamerit would need a branch02:42
perlDreamer'cause we won't make 7.5 either02:42
@preactionand it's an ugly rewrite, but it doesn't have to be a rewrite really, they can co-exist until the Test::Class heirarchy covers enough02:42
Khaytsuspreaction: Okay I'm a moron, I'm not sure where to find that then..  cpan I'm coming up with a bunch of template related stuff, but.02:42
@preactionKhaytsus, try cpan Bundle-Template perhaps?02:42
@preactiondurno though02:42
@preactionyou don't need to install it02:43
@preactionunless you actually use it02:43
* perlDreamer heads home02:43
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has quit ["Download Gaim: http://gaim.sourceforge.net/"]02:43
KhaytsusOkay, let me peep in the config now02:43
KhaytsusAha, I found their website02:43
Khaytsusduh, just "install Template"02:43
@preactionyou can just remove the WebGUI::Asset::Template::TemplateToolkit from your Template Plugins section02:43
* Khaytsus hugs preaction 02:46
KhaytsusNothing in the config, but installing TT2 did it :D02:46
KhaytsusThank you!02:48
KhaytsusDo you happen to know one other question?  I had some collaboration systems set to 1 year archive, didn't really mean to..  Is there an *easy* way to find the articles, assuming I can't just search for them?  Ie:  I want to unarchive all of them.  I've searched Assets all over, they stashed anywhere together?02:48
@preactionthey're all in the database. they're in the same place, really, just have a different state02:50
@preactionsearch the wiki for "magic numbers"02:50
@preactionsorry, it's "status"02:50
KhaytsusI saw a reference to that, let me read it closer02:52
KhaytsusSo the most direct method is sql queries for status=archived ?02:55
@preactionyeah02:55
@preactionotherwise, though i don't know what other consequences this might have, just update assetData set status=approved where status=archived02:55
@preactionif i'm not mistaken, the only thing that uses the archived status is the collab system02:56
Khaytsusk02:56
@preactionstandard disclaimers apply03:01
Khaytsusyep, I'm umm..  attempting a select first..  sql is not a strength :)03:04
Khaytsusaha, got it03:04
Khaytsusselect title from assetData where status like 'archived';03:05
KhaytsusLooks safe03:05
Khaytsushmm, I see dups..  I wonder if it archives old versions03:07
@preactionprobably. not sure if the archive system is version-aware03:08
KhaytsusI'm reading the entries to see03:09
-!- metanil [n=akhadka@137.48.138.72] has joined #webgui03:12
Khaytsusaha yeah I can do selective updates with a title,revisionDate query03:13
KhaytsusYep, that worked.  I had to edit something else so it would let me commmit, then the 'fixed' threads are showing :)03:34
@preactionoh, since you did a raw DB edit, clear the cache by rm -rf /tmp/WebGUICache03:37
Khaytsusrestart httpd and/or spectre?03:38
KhaytsusHmm, why can't I find the "help" level..  It's extremely wordy right now in settings etc03:40
metanilhello everyone03:40
metanilwhat should i do if want to aggregate some articles and show it in new article page? .. is there any assets/tool available?03:40
@preactionlike from an RSS feed?03:48
-!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has joined #webgui03:48
-!- mode/#webgui [+v Radix_] by ChanServ03:48
-!- Radix__ [n=Radix@203.161.71.161.static.amnet.net.au] has quit [Read error: 104 (Connection reset by peer)]03:49
metanilyes03:51
metanilactually i want to show them in my dashboard(asset).03:53
@preactioni think you'd need to make a Syndicated Content asset, and then you can make that available to the dashboard03:54
@preactionbut i'm not an expert on the dashboard at all03:54
@preactionif there's not one already, it would be a good idea to write a tutorial on the WebGUI wiki on adding content widgets to the dashboard.03:54
+Radix-wrkyay.. I got my new WRE/WebGUI install working :)03:55
@preactionwoot!03:55
@preactionis it just me, or is this channel been unusually active since the new year?03:56
+Radix-wrknow to recreate the content I had before (couldn't be bothered upgrading as only had a few pages and it was still using 6.8.10)03:56
metanilSo currently we don't have syndicated content asset.. right?04:05
@preactionmetanil, what do you mean? There's a Syndicated Content asset04:06
@preactionnot sure if it's allowed in dashboards04:06
+Radix-wrkyeah, you can use it in dashboards04:07
+Radix-wrkI use it at work to get the weather info on our intranet dashboard04:07
@preactiondashboard is a crazy-powerful piece of worksmanship that needs to start coming into its own. i wonder how many people actually use it04:07
@preactionsounds like a good poll for WebGUI.org04:08
+Radix-wrkI didn't really get a feel for how to use the dashboard until I went to the WUC and someone mentioned it04:10
+Radix-wrkit's an unusual, but very cool asset04:11
metaniloops.. it was only available after logging using admin user04:11
@preactionthat's probably a ui level issue04:12
-!- vayde [n=vayde@c-24-118-7-216.hsd1.mn.comcast.net] has joined #webgui04:19
metanili think the URL to RSS should be pointed to something which return RSS .. right?04:27
@preactionhover over the label for "URL to RSS", it should pop-up a little help box04:27
metanilyes.. i did it. and rss site will return like charm.04:28
metanilbut nothing showed up if pointed to some articles. 04:28
metanili mean articles(assets) of webgui04:28
@preactionso it's not an RSS feed at all04:31
@preactionyou might be able to make a shortcut to the page, or make shortcuts to those assets, or something of that nature04:31
metanillike link?04:31
@preactionno, Shortcut04:32
@preactiona Shortcut asset04:32
metanilhmmm04:32
@preactiona Redirect asset is more like a link. a Shortcut allows you to do fun things04:32
@preactionlike override templates, content, title, url, groups, etc...04:32
metanilbut i don't see any assets that called something "shortcut"..04:33
metanilBTW, i'm quite new to webgui 04:33
@preactioni know. you might be interested in buying some of the books that plainblack offers, as this place is not really to be used for people learning how to do things in WebGUI04:34
@preactionah, you have to click on the More link in the asset manager to get Create Shortcut04:34
@preactionthen you can move that shortcut where you want it04:35
@preactionit's not going to be an aggragate, unless you shortcut the page (then it'll get the page, which gets all the articles on the page)04:36
@preactionconsequently, you might prefer to use a Collaboration System just so you can get the RSS feed it produces04:36
@preaction(instead of Articles)04:36
metanilhmmm..04:40
metanili'm looking at shortcut.. 04:40
metanilits cool!04:40
@preactionit's crazy. there are some seriously awesome things you can do with them04:42
@preactionand they work great with dashboards04:42
metanilya.. but the i have to do aggregation manually to each articles description.04:45
metanili cannot automate it.. so i think if i change the source code for description in shortcut asset, then it will work.04:46
-!- ascii [n=ascii@host-64-139-233-19.nctv.com] has quit ["leaving"]04:46
metanilbtw, when i log out and then log in why it tries remain in same page (rather than home page)?04:56
@preactionbecause that's how it works. it's more convenient imho04:58
@preactionyou can change that, but i forget how04:58
@preactionsomething like returnUrl or proceed04:58
@preactionprobably returnUrl04:58
+Radix-wrkHmm.. if I have the wre/webgui on 80/81 - and I have another apache server running a couple of static html/php websites on port 82/83/84/85 etc.. what's the best way to add them to the wre modproxy setup without breaking any of the wre addsite functionality?05:08
@preactioncreating new "sitename.modproxy" with <VirtualHost> blocks?05:09
@preactionshouldn't interfere with addsite05:09
+Radix-wrkyeah?  okay.. that'd do it then05:09
@preactioni'd advise against adding anything to httpd.modproxy.conf05:09
+Radix-wrkyeah, was thinking the same05:09
@preactionsince i think that can be overwritten by the wreconsole.pl script05:09
+Radix-wrkwasn't sure what the best way to do it was tho :)05:09
@preactiondunno if wreconsole does things intelligently. i think httpd.modproxy.conf is just a processed template output now05:10
+Radix-wrkcheers doug05:11
@preactionthough you might want to not try to make a new site using the addsite script with the same name as one of the site you're adding manually05:11
+Radix-wrkyah, that'd be silly :)05:12
@preactionthe old wre 0.7 would cheerfully overwrite everything05:12
@preactioni don't know if the new WRE 0.8 changed that05:12
metanilreturnUrl is macro?05:29
@preactionno, it's a url parameter05:29
metanilany example.. actually url parameter has to be some value.05:37
metanilhttp://webgui.example.com/home/utilities?op=auth;method=logout;op=returnUrl;05:37
metanil?05:37
metanili searched both wiki and forum.. but couldn't get results.05:38
-!- vayde [n=vayde@c-24-118-7-216.hsd1.mn.comcast.net] has quit ["Exit- stage left"]05:40
@preactionthe url parameter is named "returnUrl", and again, i'm not sure05:41
@preactionthe value would be the url you want them returned to05:41
metanilhmm.. i think both proceed and returnUrl is not working.. .. its showing same page.05:44
@preactionnot sure it's supposed to work when logging out, but i'm pretty sure it works when logging in05:45
metanilhmm.. lets try then.05:46
@preactionsorry, it's "redirectAfterLogin"05:46
metanilo o.. 05:47
metanilit should be parameter while login in  right?05:47
metanilnot while logging out.05:47
@preactiondunno if any of it works. looks like it's a session scratch, not really a url parameter.05:48
metaniloops05:48
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui06:10
-!- mode/#webgui [+o rizen] by ChanServ06:10
-!- perlmonkey2 [n=perlmonk@ip68-97-51-70.ok.ok.cox.net] has quit ["Leaving."]06:16
metanilhttp://webgui.pastebin.com/d48841d30 is the code which makes redirection after login .. right?08:09
@preactionyes. it gets the session scratch variable08:10
metanilso if i don't want redirection (or redirection to only one page) we need to modify this file OR is there exists a same thing from webgui admin console.08:20
@preactionyou can set the appropriate scratch variable if you want08:21
@preactioni'd suggest making a macro that would set the scratch variable08:22
@preactionmodifications to that file would need to be maintained through upgrades, which could get annoying08:22
metanilhmm..08:23
@preactionyou could even make a simple, stupid macro called SetScratch that would take a scratch name and set the value. post it onto an RFE and i could probably get it into WebGUI core08:27
@preactionor, at least, draw the developers' attention to the fact that there's no easy way to redirect after login08:28
metanilhmm.. first i'll try it by myself.08:32
-!- dapperedodo [n=joeri@77.163.53.25] has joined #webgui08:54
metanilis the webgui configuration file is /data/WebGUI/etc/WebGUI.conf.original?09:07
@preactionno, that's the original one. there should be something in there like www.example.com.conf09:07
@preactionwith your site name09:07
metaniloo09:08
metanilya09:08
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui09:28
metanili did http://webgui.pastebin.com/d38e39cd but its still not working.09:42
metanili did this through macro09:42
-!- Radix-wrk [n=Jesse@203.161.68.67] has quit ["Leaving"]09:49
metanilit now worked!!09:52
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit []09:58
-!- AMH_henry [n=henry@alphamega-dmp.xs4all.nl] has joined #webgui10:12
-!- AMH_henry [n=henry@alphamega-dmp.xs4all.nl] has left #webgui []10:12
-!- AMH_henry [n=henry@alphamega-dmp.xs4all.nl] has joined #webgui10:12
-!- AMH_henry [n=henry@alphamega-dmp.xs4all.nl] has left #webgui []10:12
-!- BartJol [n=Administ@host1.procolix.nl] has joined #webgui10:44
BartJolmorning11:46
@preactionmorning11:47
BartJolhee11:47
BartJolmaybe you know11:47
@preactionoh i expect i might11:48
BartJoldo you know the policy of the version management on the translation server11:48
BartJolwhen it is replaced11:48
BartJolwhat version it is currently11:48
@preactionit's taken out of SVN HEAD11:49
@preactionfrom what i understand11:49
@preactionmaybe it's current beta / testing11:49
@preactionyeah, that sounds more accurate, current beta / testing11:49
BartJolah, mmm11:49
@preactionit's running on plainblack.com11:49
BartJolyes11:49
@preactionlet me finish this ugly SQL statement and i'll check for real11:50
BartJolok11:50
BartJolthanks11:50
BartJolit also might be usefull to have a banner "currently we are translating WebGUI version x.x.x" you don't see the version even in the html or the exported tar11:52
BartJolor maybe you can, I'm quite stupid you know11:52
@preactionwriting an SQL query that can extract text from HTML is not fun. but it's even worse when the HTML is not well-formed or valid...11:53
BartJolis that why you are up so late?11:53
BartJolor are you watching the pre-elections?11:54
@preactionthat's why i'm up so late11:54
BartJolcan imagine11:54
@preaction12 hours watching a long migration script run multiple times to fix bugs, and now a couple hours fixing bugs in a different client's SQLReports that I wrote to make RSS feeds11:55
@preactionlesson learned number 1) Don't force SQLReports into doing things it can't handle11:55
@preaction2) Don't let anyone tell you "We only want this." They don't know it yet, but they want more.11:55
BartJolsound familiar11:55
BartJolespecially #211:56
@preactioncan't go back now though, the original spec was for something that wouldn't even do what this SQLReport does :(11:56
BartJolbut does it have to extract from html documents or from generated html?11:59
BartJolnot that i can help you with this... sorry11:59
BartJoljust moral support: those bastard customers!12:00
@preactionit extracts from html that's copy/pasted into an HTMLArea, i could've swore i cleaned it up some, since there were already problems with bad markup, but apparently not enough12:02
@preactionbut no parser that i know of can make bad html into well-formed html12:02
@preactionanyway, the i18n editor pulls from /data/WebGUI, so it's the same webgui that plainblack.com is running12:03
@preactionthat's where the template comes from, the files are saved outside of that and then committed to SVN12:03
BartJolah, ok, that's nice to know12:03
BartJolso each upgrade of plainblack also updates the translation server12:04
BartJolis there a possibilty that we can get a notification before pb.com is upgraded?12:04
@preactionin essence, yes. there will be new variables to edit, if any12:05
@preactionpb.com is upgraded immediately before every WebGUI release12:05
@preactionso if you know when the release is, you know when pb.com is being updated12:05
BartJolah, just keep checking the forum, irc aand website12:06
@preactionor use your RSS reader to subscribe to the plainblack.com newsfeed, or the webgui.org newsfeed12:06
BartJolah, that might be wise12:07
BartJolthanks12:07
@preactionnp12:07
BartJolgood luck with the sql rreport12:09
BartJoland don't forget to sleep12:09
-!- dapperedodo [n=joeri@77.163.53.25] has left #webgui []13:02
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Connection timed out]13:29
-!- BartJol [n=Administ@host1.procolix.nl] has left #webgui []13:47
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui15:21
-!- mode/#webgui [+o preaction] by ChanServ15:21
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)]15:55
-!- bartjol [n=Bart_Jol@host1.procolix.nl] has joined #webgui16:21
-!- perlmonkey2 [n=perlmonk@ip68-97-51-70.ok.ok.cox.net] has joined #webgui16:51
perlmonkey2Were any webgui sites effected by this weekends injection attacks (I would assume no)?16:51
bartjolnot as far as I know, everything seems to be ok here16:56
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui17:04
-!- mode/#webgui [+o rizen] by ChanServ17:04
-!- perlmonkey2 [n=perlmonk@ip68-97-51-70.ok.ok.cox.net] has quit ["Leaving."]17:13
-!- bartjo1 [n=Bart_Jol@host1.procolix.nl] has joined #webgui17:14
-!- khenn [n=khenn@24-159-239-186.dhcp.mdsn.wi.charter.com] has joined #WebGUI17:16
-!- mode/#webgui [+o khenn] by ChanServ17:16
-!- bartjol [n=Bart_Jol@host1.procolix.nl] has quit [Read error: 110 (Connection timed out)]17:32
-!- bartjo1 [n=Bart_Jol@host1.procolix.nl] has quit [Read error: 110 (Connection timed out)]17:41
-!- bartjol [n=Bart_Jol@host1.procolix.nl] has joined #webgui18:26
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has left #webgui []18:28
-!- bartjol [n=Bart_Jol@host1.procolix.nl] has left #webgui []18:35
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has joined #webgui19:31
perlDreamerrizen: the problem is that there aren't enough whackos19:35
@rizenare you referring to tbb?19:35
perlDreameryup19:35
@rizenwell if all whackos are as good as you, i'll take 10,000 please19:36
perlDreamerI'm an off-the-curve whacko19:37
perlDreamerfew are as whacked as me19:37
perlDreamerexcept for you19:37
@rizenevery time i think about contributors i think, how do i get more colins19:39
perlDreamertuba playing church webmaster perl bigots are rare19:41
perlDreamerespecially chip designers who have crappy jobs with lots of spare time for daytime hackery19:43
@rizenhehe19:43
@rizenso true19:44
@rizenmaybe there are others where you work19:44
perlDreamerWell, there's a python bigot across the hall19:44
perlDreamerAnd one guy who builds cars from scratch19:44
perlDreamer(not at work)19:44
@rizeni could send you some t-shirts, gooeys, and wg stickers so you can start a covert webgui contributors group where you work19:44
@rizenthey don't have to be coders19:44
perlDreamerI'll start with Tim and Peter!19:45
@rizenarticle writers, template designers, documentation writers, etc are all welcome19:45
@rizenmust go get food now19:45
-!- rizen is now known as rizenishungry19:45
perlDreamerI don't know man19:46
perlDreamerEating is the number one contributor to obesity19:46
perlDreamerCauses gas19:47
perlDreamerThink of how your water bill would shrink if you could throw away that toilet19:47
perlDreamermedical studies have shown that a lower metabolism (caused by reduced food intake) extends life19:47
-!- perlmonkey2 [n=perlmonk@casr-dev.fwsm2ppuser.ou.edu] has joined #webgui19:50
perlmonkey2Yay, all I have to do is ad  a method for the drag and drop reorder of questions and the questions should be mostly done in the survey.  Then cut and paste a lot of code for the questions.  Do the survey load and survey save.  And then I'm mostly done with the survey edit part of the project.  And since the WebGUI and survey display should be more like normal CGI dev, it shoudl go fast.  Maybe by Friday this thing can be in Alpa :D20:10
perlDreamerpeople won't ever run a test suite on a production database, right?20:10
perlmonkey2/for the questions/for the answer types/20:10
* perlDreamer goes to the gym21:14
nubaperlmonkey2: eating less, working out.. jeesh!21:22
nubaweirdo21:22
nubaoops, that was for perlDreamer 21:22
-!- rizenishungry is now known as rizen21:22
perlmonkey2yeah, I do the opposite.21:22
nubayeah, eating out, working less, sounds much better ;)21:34
perlDreamerworks for me :)22:27
-!- besonen_mobile_ [n=besonen_@71-220-198-145.eugn.qwest.net] has quit [Read error: 104 (Connection reset by peer)]22:43
-!- besonen_mobile_ [n=besonen_@71-220-198-145.eugn.qwest.net] has joined #webgui22:43
perlDreamerI love Test::Deep22:56
nubadeep love?22:57
perlDreamerdeep test love22:58
perlDreamerIt provides a way to check that an element in a data structure is a number along with a fudge factor22:58
perlDreamerso that it makes it easy to compare times22:58
CIA-20WebGUI: colin * r5253 /WebGUI/ (lib/WebGUI/Session/Id.pm t/Session/Id.t): 23:03
CIA-20WebGUI: Add a method that returns the regexp used to validate generated GUIDs. This should23:03
CIA-20WebGUI: prevent the regexp from proliferating all through tests and code.23:03
CIA-20WebGUI: Also, add a test for the method, which just checks that it returns a regexp.23:03
perlDreamerpreaction: Hey buddy, got your ears on?  What's your 10-20?23:04
perlDreamerI've been looking at PassiveProfiling and wondering how bad the impact would be of using getLineage instead of the SQL query in addPage23:06
-!- wgGuest89 [n=wgGuest8@host162.braishfield.com] has joined #webgui23:10
perlDreamerwgGuest89: what's up?23:11
@rizenperlDreamer, don't make the switch23:18
@rizenit will be worse23:18
perlDreamerok23:19
perlDreamerI've been reading WGBP and thinking a lot about encapsulation and DRY23:20
* perlDreamer solemnly swears not to let the air out of wG's tires.23:21
-!- wgGuest89 [n=wgGuest8@host162.braishfield.com] has quit []23:23
-!- wgGuest29 [n=wgGuest2@host162.braishfield.com] has joined #webgui23:23
-!- wgGuest29 [n=wgGuest2@host162.braishfield.com] has quit [Client Quit]23:23
-!- wgGuest11 [n=wgGuest1@host162.braishfield.com] has joined #webgui23:23
wgGuest11Hello everyone23:24
perlDreamerwgGuest11: Hello23:24
perlDreamerDo you have a question to ask23:24
wgGuest11I do23:25
perlDreamerWell, let's have it, man!23:25
perlDreamerDon't be shy23:25
perlDreamerSail it on out here.23:25
wgGuest11For some reason typing from IE it's extremely slow, so please bare with me23:25
wgGuest11In our company, we have users authenticating via NT domain.  Can NT authentication be added to WebGUI 0.8.0?23:28
perlDreamerYes, but it would take a custom Authentication plugin23:28
perlDreamerAlso, WebGUI is at version 7.4.xx, the WRE is at 0.8.0 (and currently at 0.8.1)23:29
wgGuest11you can tell I'm new to this23:31
perlDreamerIt's not a problem.23:31
perlDreamerWe were all new at one point23:31
wgGuest11Is there any custom plugin created? That you know of.  I thought I saw something about that on the forum but for version 623:32
@rizenversion 5 had one23:32
@rizencalled SMB auth23:32
@rizenbut it would need to be rewritten23:32
@rizento match the 7.x auth system23:32
@rizenit used to be included in webgui, but everyone ditched NT domains for active directory domains a long time ago, so we got rid of the module23:33
perlDreamerwell, almost everyone :)23:33
@rizenhehe23:33
wgGuest11What can you suggest I do?  I not a programmer.  Experts-exchange? :)23:34
@rizenhire plain black to make it23:35
@rizenexperts exchange likely won't help you becaue they aren't familiar with webgui23:35
@rizenyou need to hire a webgui specialist23:35
@rizenperlDreamer consulting might be able to help you out too23:36
perlDreamerI've heard that perlDreamer consulting is booked up through mid February with Commerce and Book work23:36
perlDreamerbesides, Plain Black knows the Auth stuff inside and out23:40
wgGuest11Do you any idea how much something like that would cost?23:57
--- Day changed Wed Jan 09 2008
* perlmonkey2 thinks .oO(If you have to ask)00:00
nubamaybe an arm, maybe an arm and a leg, you'll have to ask 'em00:02
nuba:D00:02
wgGuest11"maybe an arm, maybe an arm and a leg, you'll have to ask 'em " Don't scare me please.  00:04
wgGuest11:)00:04
nubahehe00:07
perlDreamerwgGuest11: it would take a while to look at, but offhand/unofficially/don't quote me I would say it would be several k$ as an outer bound.00:08
nubamyself, i can ensure you, and you can quote me on that, that zero dollars will certainly be a lower bound :)00:09
wgGuest112 , 3 , 4?  I just need to have an idea if it's worthless or if I should wait until we migrate to AD.  Also, can LDAP be used with NT?  Maybe using OpenLDAP?00:09
nubai think there's no chance they'll ask for less than zero dollars 00:10
wgGuest11"or less than zero dollars "  ????00:10
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui00:10
-!- mode/#webgui [+o preaction] by ChanServ00:10
nubasorry im feeling a bit comic today. thats what happens when mathematicians act funny.00:10
wgGuest11lol00:10
wgGuest11don't confuse me more. As a latino, I'm already confused enough.00:11
nubacool, where are you from?00:12
nubaim from Brazil, but I wouldn't say we are inherently confused00:13
wgGuest11PR but live in FL00:13
wgGuest11I know nuba... :) 00:14
nubaso, wgGuest11, this channel is mostly a hangout place for people in the webgui community,00:15
nubasome plainblack staffers are around, but im not sure this is the best place to get a quote from them00:15
nubaif none of them replies, your best bet is calling them or sending an email, contacts should be easy to find at the website00:17
perlmonkey2If I weren't so busy, I would offer to do it for 1 million dollars.00:18
wgGuest11you are mean00:19
wgGuest11lol00:19
perlmonkey2Just betting, I'd say somewhere between 2-4$00:19
wgGuest11I was just trying to get a freebie :)  I noticed there was something already created for version 6 and I figured why not to ask.00:19
wgGuest11Can anyone suggest a good starting point to learn Perl?00:20
@preactionperlbot learn perl00:21
perlbothttp://learn.perl.org/library/beginning_perl/00:21
perlDreamergo Haarg!00:22
perlDreamerHe's famous now.00:22
@preactionuhoh00:22
wgGuest11perlbot learn perl, a book?00:24
wgGuest11never mind00:24
perlDreamerLearning Perl, by Randal Schwartz is a good book to use to learn perl00:24
wgGuest11how about the blackpearl00:25
perlDreamerI've heard that's good, too, but unless you're a programmer, you may want to start down a notch or two.00:25
@preactionthe perl black book is what JT always recommends, but I prefer Learning Perl and Beginning Perl00:25
@preactionLearning Perl is for those who know how to program and want to learn how to do it in Perl. Beginning Perl is for those who don't know how to program00:26
@preactionBP taught me how to program, for that matter00:26
wgGuest11I started school in Computer Science and then moved to Networking.  I know basic of C++, VB .net00:27
nubayou can throw in Mastering Algorithms in Perl, too, if you want to increase the computer science content of your perl studies00:28
@preactionif you know programming concepts already, Learning Perl and Programming Perl (the llama and the camel) are probably your best bets00:28
wgGuest11http://www.perl101.org/00:29
wgGuest11Cool, guys, thanks a whole lot for your help.  Take it easy00:29
nubatalking about books, anyone reading MJD's Higher Order Perl?00:30
perlmonkey2nuba: Actually that reminds me.  I ordered that like a month ago and it never showed up00:30
wgGuest11need books, www.ebookee.com :)00:30
nubai've just started on it and its good so far00:30
-!- wgGuest11 [n=wgGuest1@host162.braishfield.com] has quit []00:30
perlmonkey2The new surveys will be made up of sections of questions.  Can anyone think of any options a section shoudl have besides randomizing the questions it contains?  00:36
@preactionrequired / optional?00:36
@preactiontimed?00:37
@preaction(just brainstorming here, up to you of course)00:37
perlmonkey2the qeuestions themselves have optional options.....I wonder if that should be settable in the section to make it global....I like it.00:37
@preactionprobably need a "description"00:37
perlmonkey2not sure what to do about timed......00:37
@preactionyeah, timed might be far more trouble than its worth00:37
perlmonkey2I have a header text, which will all a text to come before a new set of questions.  you can have empty sections to have a page just of text seperating questions.00:38
@preactionit'd need a JS timer that would submit with the questions00:38
perlmonkey2preaction: perhaps a little simpler?  Just have the timestamp of when the survey was opened and compare the the latest question submission.  If time has run out, post "so sorry", if time has not ran out, post normally but with the "time left" data posted for the JS to display.00:39
perlmonkey2But that might be a survey wide attribute rather than sections.....but I like the way you're thinking.00:40
@preactionright, but then you run into the problem where they don't get to submit what they've completed00:40
@rizenpm2 the second option is probably better00:40
@rizenand can't be cheated00:40
@preactiona la standardized testing00:40
@rizensections might have section pointers00:40
@preactioni suppose a message, or a periodic submit after questions. perhaps "timer" should be a global thing00:40
@rizenlike after you've completed this section, what section do you go to next00:41
@preactionsave your progress every once in a while00:41
perlmonkey2sections will go in order, but question answers can be dragged onto questions in other sections.  So you can have three questions in S1 that go to S2, S3, S4, depending on the answer.00:41
@rizenpeople seem to like colors too00:41
@rizenmaybe sections should have a color00:42
@rizeni have no idea why or how you'd apply that00:42
@rizensorry, just spewing nonsense00:42
perlmonkey2I mean three answers in S1Q1 so S1Q1A1 goes to S1 etc.00:42
@rizeni'll stop now00:42
perlmonkey2I like the color idea....in the edit screen was going to make sections a different colored bar in the questions div.00:42
perlmonkey2http://www.lostokies.com:81/tree.html only new question does anything for now.  00:43
perlmonkey2also, something is wrong with it in opera....haven't diagnosed.00:43
perlmonkey2rizen: I'll really need your graphics guy.  I keep moving the buttons around but can't find a layout I like.00:46
@rizenhe's back from vacation00:46
@rizendid you email him?00:46
perlmonkey2The questions div could grow to hundreds in size.  Answers will probably have an upper bound of 20.  So there could be a situation where a person has to scroll waaay down to click on a question to edit, then scroll waaay back up to edit it in the edit box.  00:47
perlmonkey2That will be party solved by sections being clickable so that they hide all the questions in them.00:47
perlmonkey2not yet.00:47
perlmonkey2but I will tonight00:47
@rizennice fix00:50
@rizeni like that, the closing sections thing00:50
perlmonkey2rizen: Sorry, work.  01:23
perlmonkey2but yes, I hated the idea of hundreds of questions scrolling down forever, so the "tree"-ish sections idea pretty much solves it.01:24
perlmonkey2rizen: I'll email your guy when I get home (I don't use my personal email at work).01:25
-!- perlmonkey2 [n=perlmonk@casr-dev.fwsm2ppuser.ou.edu] has quit ["Leaving."]01:25
nubaany recommendations for javascript debugging? besides firebug..02:02
@apeironnuba, I've been using Firebug in tandem with the Web Developer plugin.02:03
@apeironAlthough I imagine someone else here probably has a better suggestion. :)02:03
nubaim using both here too02:06
nubathx anyway, lets see if someone else posts something else..02:11
-!- cap10morgan_ [n=cap10mor@vc1-868-3.adsl.indra.com] has joined #webgui02:16
cap10morgan_in the 0.8.0 addsite script, when it calls $site->create(), it sends parameters named "siteDatabaseUser" and "siteDatabasePassword" but then the create sub looks for params named "databaseUser" and "databasePassword". Is it changing the name somewhere or am I looking at the wrong thing?02:29
-!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui02:42
-!- mode/#webgui [+v Radix-wrk] by ChanServ02:42
perlDreamerI'm looking at the SVN version, and it's exactly the same there02:44
perlDreamerI'd say it's a bug02:44
perlDreamergood catch!02:44
-!- vayde [n=vayde@c-24-118-7-216.hsd1.mn.comcast.net] has joined #webgui02:46
cap10morgan_ah, i see :)02:46
CIA-20WebGUI: colin * r5254 /WebGUI/t/PassiveProfiling.t: beginning to write tests for PassiveProfiling. This is so I can learn how to test Asset->logView02:48
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has quit ["Download Gaim: http://gaim.sourceforge.net/"]03:03
-!- cap10morgan_ [n=cap10mor@vc1-868-3.adsl.indra.com] has quit []03:16
-!- khenn_ [n=khenn@24-159-239-186.dhcp.mdsn.wi.charter.com] has joined #WebGUI03:59
-!- khenn__ [n=khenn@24-159-239-186.dhcp.mdsn.wi.charter.com] has joined #WebGUI04:04
-!- khenn_ [n=khenn@24-159-239-186.dhcp.mdsn.wi.charter.com] has quit [Read error: 104 (Connection reset by peer)]04:04
-!- Haarg [n=haarg@66-188-98-191.dhcp.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"]04:09
-!- khenn [n=khenn@24-159-239-186.dhcp.mdsn.wi.charter.com] has quit [Read error: 113 (No route to host)]04:16
-!- vayde [n=vayde@c-24-118-7-216.hsd1.mn.comcast.net] has quit [Remote closed the connection]04:52
-!- perlDreamer [n=colink@pool-71-117-209-28.ptldor.fios.verizon.net] has joined #webgui05:45
-!- mode/#webgui [+v perlDreamer] by ChanServ05:45
-!- vayde [n=vayde@c-24-118-7-216.hsd1.mn.comcast.net] has joined #webgui05:59
-!- Haarg [n=haarg@66-188-98-191.dhcp.mdsn.wi.charter.com] has joined #webgui06:09
-!- mode/#webgui [+o Haarg] by ChanServ06:09
-!- vayde [n=vayde@c-24-118-7-216.hsd1.mn.comcast.net] has quit [Remote closed the connection]06:17
-!- khenn__ [n=khenn@24-159-239-186.dhcp.mdsn.wi.charter.com] has quit []06:29
-!- cap10morgan [n=cap10mor@206-124-31-113.denver.dsl.forethought.net] has joined #webgui07:00
metanilthe name of the template is "style 03" with URL "style_03" .. but the body is referencing "style3/*****.jpg"..07:11
metanilwhere is folder "style3".. how can i change that jpg file?07:11
+perlDreamerthere may not be a folder with that url07:11
+perlDreamerremember, in WebGUI URLs are decoupled from physical organization07:12
+perlDreamerso then you ask, "Well, how am I supposed to find it?"07:12
metanilyes exactly07:12
+perlDreamerin admin mode, if you go to that URL, you should get an editing bar for the image, or the edit form07:12
+perlDreameralso, changing default wG components isn't recommended, since an upgrade could undo your work07:13
+perlDreamerit's probably better to make a copy and work on that instead07:13
@preactionbut then he has to change every asset to use his new style07:13
metanilcopy means creating another template right?07:13
+perlDreameryes07:13
metanilyes i did that. 07:14
metanilthats why.. the new template is referecing the old image. 07:14
metanil:D07:14
+perlDreamerpreaction: what's the name of that thing that lets people edit assets hierarchically?07:14
metanilwhat should be name of new 'style3/***.jpg'?07:14
+perlDreameranything you want07:14
metanilas style3 will reference to old want..07:15
@preactionEdit Tree, or Edit Branch or something07:15
+perlDreameryeah, that's it07:15
@preactionthere's also a nice wiki article on how to do just about everything to create your own style07:15
+perlDreamerthanks, my brain is shot tonight07:15
@preactioneh, i'm working on 16-hour-day number 207:15
+perlDreamerI did something like that once, 16 hour days, 7 days/week for 3 months07:16
@preaction8 doing normal work and 8 doing things that will make my normal work easier and more efficient07:16
+perlDreamerIt was nuts07:16
@preactionjeesus. i couldn't manage that for more than 3 weeks07:16
+perlDreamerIt's a little easier with a wife, aside from not seeing her and my boys, since she can do laundry and cook food07:17
+perlDreamerbut we vowed to never do that again07:17
+perlDreamerever07:17
+perlDreamerso take it easy on yourself07:17
@preactionah, remind me to get my live-in girlfriend to start doing her fair share ;)07:18
+perlDreamerotherwise, I'll have to come out to Wisconsin and chew you out07:18
@preactionyou'll like what i'm making, trust me07:18
+perlDreamerI'm patient, I can wait a few more days for it07:18
@preactionoh, btw, did you want your own branch? for anything?07:18
+perlDreamernot right now07:18
@preactionk07:18
+perlDreamerI'm pretty tied up with writing a book chapt