WebGUI irc logs from: 2010-08.log

--- Log opened Wed Aug 04 11:24:50 2010
-!- scrottie [~scrottie@dsl01-ppp-5119.fastq.com] has quit [Remote host closed the connection]11:24
-!- carogray [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has joined #webgui12:36
-!- scrottie [~scrottie@dsl01-ppp-5119.fastq.com] has joined #webgui13:40
-!- mode/#webgui [+o scrottie] by ChanServ13:40
@scrottie"Looks like you failed 305 tests of 3149." ... now with vastly less blowing up!13:53
-!- daviddelikat1 [~user@h69-129-206-153.mdsnwi.broadband.dynamic.tds.net] has joined #webgui14:22
-!- daviddelikat [~user@h69-129-206-153.mdsnwi.broadband.dynamic.tds.net] has quit [Ping timeout: 276 seconds]14:26
-!- daviddelikat1 [~user@h69-129-206-153.mdsnwi.broadband.dynamic.tds.net] has quit [Quit: Leaving.]15:19
-!- bartjol [~bartjol@kantoor.procolix.com] has joined #webgui15:52
-!- mode/#webgui [+v bartjol] by ChanServ15:52
SDuensinMorning.16:09
+bartjolhi16:24
SDuensinHey bartjol16:25
+bartjolwhat's up?16:26
+bartjolI'm only upgrading WebGUI16:26
-!- khenn [~frank@99-111-115-201.lightspeed.mdsnwi.sbcglobal.net] has quit [Quit: khenn]16:38
-!- khenn [~frank@99-111-115-201.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui16:39
-!- mode/#webgui [+o khenn] by ChanServ16:40
-!- kaare_ [~kaare@langebro.adapt.dk] has quit [Remote host closed the connection]16:41
-!- khenn [~frank@99-111-115-201.lightspeed.mdsnwi.sbcglobal.net] has quit [Quit: khenn]17:04
-!- stDavid [~stDavid@166.137.10.74] has joined #webgui17:19
-!- stDavid [~stDavid@166.137.10.74] has quit [Read error: Connection reset by peer]17:43
-!- perlmonkey2 [~perlmonke@m3c5636d0.tmodns.net] has joined #webgui17:55
-!- mode/#webgui [+v perlmonkey2] by ChanServ17:55
+perlmonkey2why didn't 8 go with an orm?17:56
+perlmonkey2if u respond use my nick so my phone flashes. corporate ants cant run irc on work machines.18:01
-!- perlDreamer [~colink@pool-173-50-255-102.ptldor.fios.verizon.net] has joined #webgui18:02
-!- mode/#webgui [+v perlDreamer] by ChanServ18:02
+perlmonkey2hey perlDreamer 18:05
+perlDreamerhi, perlmonkey2!18:05
+perlDreamergood to see you back to visit!18:05
+perlDreamerhow are things?18:05
+perlmonkey2perlDreamer what r u up to these days?18:07
+perlmonkey2fine. working for the man these days :(18:07
+perlDreamerperlmonkey2, it's good to have any job these days 18:07
* perlDreamer is working on WebGUI 818:07
+perlmonkey2bah corp jobs r easy to get cause no one with talent wants one.18:08
+perlmonkey28 looks like a lot of fun. i missed the boat on it as i was playing with gae and nosql.18:09
+perlDreamerwhat's gae?18:09
+perlDreamerand there's still plenty to do on 8, if you're interested18:09
+perlmonkey2but gae had free hosting for clients. hard to beat18:09
+perlDreamerhttp://www.webgui.org/818:09
+perlDreamerjust pick a ticket18:10
* perlDreamer gets called for breakfast18:12
+perlmonkey2looked it over last night. might pock up a ticket tonight.18:13
+perlmonkey2google app engine18:13
+perlmonkey2looks loke most of 8 is done18:13
+bartjolwell perlmonkey2 I believe there is still some work to do18:34
+bartjollike making assets editable18:34
+perlDreamerthat's happening right now, bartjol18:36
+perlDreamerpreaction and scrottie are working on it18:36
+bartjola, very good18:38
+bartjolthat feature sucked18:38
* perlDreamer goes to the gym, happy in the knowledge that bartjol is now pleased with WebGUI 818:41
+bartjolwell, off to my laundry18:41
-!- bartjol [~bartjol@kantoor.procolix.com] has quit [Quit: Leaving.]18:41
-!- perlmonkey2 [~perlmonke@m3c5636d0.tmodns.net] has quit [Quit: -a-]18:49
-!- perlmonkey2 [~perlmonke@m3c5636d0.tmodns.net] has joined #webgui18:53
-!- mode/#webgui [+v perlmonkey2] by ChanServ18:53
-!- daviddelikat [~user@h69-129-206-153.mdsnwi.broadband.dynamic.tds.net] has joined #webgui18:55
@preactionhave we mined Krang for ideas? i'm reading this blog post and it seems to be very WebGUI-like19:20
+perlDreamerwhat's the link to Krang?19:49
@preactionhttp://proudtouseperl.com/19:50
+perlDreamerKrang is more like Bricolage then WebGUI, from what I remember19:50
+perlDreamerit's for publishing, not really applications19:51
@preactionah19:51
@preactioni need to start up the black blog or some kind of blog again... we're suffering from the same problem Perl is: lack of noticeable activity19:52
+perlDreamerI've noticed that across the board19:53
+perlDreamerless forum activity19:53
@preactionyeah19:53
+perlDreamerfewer bug postings, less karma activity19:53
+perlDreamerless IRC chatter19:53
@preactioni'm also thinking people are waiting in breathless anticipation of 8, probably fearing a repeat of 7.019:53
@preactionwell, we've got some new faces / evangelists19:53
+perlDreamerpreaction, maybe we need a WebGUI post on proudtouseperl, to complement the Krang post?19:54
@preactionJT's worried, i'm optimistic, but i have to get this load off my shoulders and have time to execute Plan Long View part Deux (wherein we assault the enemy on the beaches)19:54
@preactionnote the date on that post: May 200919:54
+perlDreamerwhat's JT worried about?19:56
@preactionthe lack of activity, the seeming lack of interest. perhaps the stigma of the WebGUI name19:57
@preactioni think we've just bitten off a huge chunk and while we chew we can't be biting other stuff19:57
@preactionbut then, as the showrunner, it's my job to have the optimism and ambition to spread around the project19:57
-!- perlmonkey2 [~perlmonke@m3c5636d0.tmodns.net] has quit [Read error: Connection reset by peer]19:59
-!- perlmonkey2 [~perlmonke@m3c5636d0.tmodns.net] has joined #webgui19:59
-!- mode/#webgui [+v perlmonkey2] by ChanServ19:59
+perlDreamerpreaction maybe we should try to get a post on the new perl.com, instead19:59
+perlDreamerthey just relaunched20:00
@preactionbut it'd be me, i don't have time. i'm already freaking out about the WUC now that I know how much WebGUI 8 is going to be there (and how much WebGUI 8 I don't have and didn't think I needed)20:00
@preactioner... what's $recordCount inside the ProgressBar?20:01
@preactionit doesn't look like it's ever used20:01
+perlDreameriirc, it keeps track of how far we've progressed, so we can reset the progress bar to 0 once we've gotten past a maximum width20:01
@preactionthere was an ( if counter > 600 { counter = 0 } ) code in there20:02
+perlDreameroh, I bet that was meant to (but apparently doesn't) set a different maximum width20:02
+perlDreamerinstead of being fixed at 60020:02
@preactioni'm changing the progressbar to work with percentages, so you give it the number of tasks (or calculate it as the first step) and then it will update the progress bar accordingly (the YUI bar doesn't do open-ended stuff well)20:03
@preactionahh20:03
+perlDreamerhow can you know the percentages beforehand?20:03
+perlDreamertake purge, for example, or anything which has to work hierarchially20:04
@preactiongetDescendantCount20:04
+perlDreameror the number of photos in a zip archive20:04
@preaction"open the zip archive", "load it into a folder", "load individual photos". <- three "tasks"20:04
+perlDreamerprogressBar should be converted to Moose, too20:05
-!- perlmonkey2 [~perlmonke@m3c5636d0.tmodns.net] has quit [Read error: Connection reset by peer]20:05
-!- perlmonkey2 [~perlmonke@m4c5636d0.tmodns.net] has joined #webgui20:05
-!- mode/#webgui [+v perlmonkey2] by ChanServ20:05
CIA-61webgui: Doug Bell WebGUI8 * r6081ea3 / lib/WebGUI/ProgressBar.pm : 20:09
CIA-61webgui: fix progressbar to work inside new admin console20:09
CIA-61webgui: This is a horrible hack and needs to be fixed to shore up the20:09
CIA-61webgui: ProgressBar's API before API freeze - http://bit.ly/9khH8320:09
CIA-61webgui: Doug Bell WebGUI8 * r69bd44b / share/upgrades/7.9.10-8.0.0/admin_progress_bar.wgpkg : add new progressbar template - http://bit.ly/bs62RQ20:09
CIA-61webgui: Doug Bell WebGUI8 * rcbb8c0e / lib/WebGUI/ProgressBar.pm : add docs and total() accessor - http://bit.ly/cV8m8v20:09
CIA-61webgui: Doug Bell WebGUI8 * r8bd28e1 / lib/WebGUI/AssetHelper/Copy.pm : 20:09
CIA-61webgui: update Copy to work with ProgressBar and streaming20:09
CIA-61webgui: ProgressBar needs to handle streaming itself. When it does, all20:09
CIA-61webgui: AssetHelpers that use ProgressBar will need to remove their own20:09
CIA-61webgui: streaming handlers and just use ProgressBar's - http://bit.ly/cSb0AY20:09
@preactionok, what the hell makes it choose between showing every commit and just showing the result of the push?20:10
+perlDreamerCIA is constipated20:16
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui20:22
-!- mode/#webgui [+o bopbop] by ChanServ20:22
-!- daviddelikat [~user@h69-129-206-153.mdsnwi.broadband.dynamic.tds.net] has quit [Quit: Leaving.]20:30
-!- perlmonkey2 [~perlmonke@m4c5636d0.tmodns.net] has quit [Read error: Connection reset by peer]20:32
-!- perlmonkey2 [~perlmonke@96.18.42.134] has joined #webgui20:36
-!- mode/#webgui [+v perlmonkey2] by ChanServ20:36
-!- perlmonkey2 [~perlmonke@96.18.42.134] has quit [Ping timeout: 276 seconds]20:42
* scrottie reads scroll...20:45
-!- perlmonkey2 [~perlmonke@m465636d0.tmodns.net] has joined #webgui20:49
-!- mode/#webgui [+v perlmonkey2] by ChanServ20:49
-!- fokat [~lem@190.72.138.110] has joined #webgui20:53
CIA-61webgui: Doug Bell WebGUI8 * rb8905ed / lib/WebGUI/AssetHelper/Cut.pm : cut AssetHelper now works (+7 more commits...) - http://bit.ly/9qX2Yx20:55
-!- perlmon19 [~perlmonke@m365636d0.tmodns.net] has joined #webgui20:57
-!- perlmonkey2 [~perlmonke@m465636d0.tmodns.net] has quit [Read error: Connection reset by peer]20:57
-!- perlmonkey2 [~perlmonke@m465636d0.tmodns.net] has joined #webgui21:01
-!- mode/#webgui [+v perlmonkey2] by ChanServ21:01
-!- perlmon19 [~perlmonke@m365636d0.tmodns.net] has quit [Read error: Connection reset by peer]21:01
-!- perlmon82 [~perlmonke@m365636d0.tmodns.net] has joined #webgui21:12
-!- perlmonkey2 [~perlmonke@m465636d0.tmodns.net] has quit [Ping timeout: 276 seconds]21:14
-!- perlmon82 [~perlmonke@m365636d0.tmodns.net] has quit [Quit: -a-]21:17
@scrottiehttp://www.securityweek.com/hacker-uses-xss-and-google-streetview-data-determine-physical-location ... that was a fun talk, and Samy is a Perl guy.  He was at YAPC too.21:23
@preactionha, nice21:26
+perlDreamerlunch break21:57
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has quit [Quit: bye]22:34
@preactionif we can Lock an asset, how does one Unlock one?22:37
+perlDreamergood question22:38
-!- scrottie [~scrottie@dsl01-ppp-5119.fastq.com] has quit [Ping timeout: 248 seconds]22:38
+perlDreamertechnically, you can't lock an Asset22:39
+perlDreameran asset is locked when it's edited by someone outside of your current versiontag22:39
@preactionright, you just add a revision22:39
@preactionbut if autocommit is turned on, i never join a version tag22:39
+perlDreamerthen it would only show as locked while it's being edited by another user, for a very short period of time22:39
+perlDreameruntil they hit save22:39
-!- fokat [~lem@190.72.138.110] has quit [Quit: Ex-Chat]23:38
-!- scrottie [~scrottie@70.96.30.143] has joined #webgui23:40
-!- mode/#webgui [+o scrottie] by ChanServ23:40
-!- carogray [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has quit [Quit: Leaving.]23:46
+perlDreamerscrottie, you feeling a little schizophrenic today?23:46
@scrottiewho me?23:47
scrottie0never!23:47
+perlDreamerclassic case if even I've seen one23:47
+perlDreamerprobably happened at DEFCON23:47
+perlDreamerit looks like a machine that gives a free haircut, but once the bowl is over your head...23:48
@scrottieif you've ever suspected that friend-of-a-friend is a coke head, go to DEFCON.  you'll find out.23:48
@scrottieand haircuts were $15 >=)23:49
-!- fokat [~lem@190.72.138.110] has joined #webgui23:49
@scrottiewas getting cabin fever so I relocated to a Tempe coffee shop.23:51
CIA-61webgui: Scott Walters WebGUI8 * r13c27bc / lib/WebGUI/Exception.pm : 23:52
CIA-61webgui: Fix bad interaction with Test::Class:23:52
CIA-61webgui: "Operation "eq": no method found, left argument in overloaded package WebGUI::Error..." - http://bit.ly/9b6Lw223:52
@scrottiethey only had one style though:  http://www.flickr.com/photos/sportsaction/4847526134/23:56
@scrottieoh, I spent some time with this baby:  http://www.flickr.com/photos/blackfeathers/4856839203/23:56
--- Day changed Thu Aug 05 2010
@scrottiehttp://www.flickr.com/photos/itstactical/4844180827/  # last one, I swear... $15 mohawks for EFF dispensed right in middle of the contest room00:01
-!- scrottie [~scrottie@70.96.30.143] has quit [Ping timeout: 265 seconds]00:54
-!- scrottie [~scrottie@70.96.30.143] has joined #webgui01:08
-!- mode/#webgui [+o scrottie] by ChanServ01:09
* perlDreamer is off to the zoo, where there's wifi!01:34
-!- perlDreamer [~colink@pool-173-50-255-102.ptldor.fios.verizon.net] has quit [Quit: Leaving.]01:34
CIA-61webgui: Doug Bell WebGUI8 * r1b0ec95 / (5 files in 2 dirs): New Content pane is working (+5 more commits...) - http://bit.ly/bDvJRX01:57
-!- scrottie [~scrottie@70.96.30.143] has quit [Read error: Operation timed out]02:46
-!- knowmad [~william@adsl-074-170-007-083.sip.clt.bellsouth.net] has joined #webgui02:53
knowmadwhoa, it's a small crowd tonite; anyone hanging around?02:54
-!- perlmonkey2 [~perlmonke@96.18.42.134] has joined #webgui02:57
-!- mode/#webgui [+v perlmonkey2] by ChanServ02:57
-!- knowmad [~william@adsl-074-170-007-083.sip.clt.bellsouth.net] has left #webgui []03:07
-!- carogray [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has joined #webgui03:22
-!- daviddelikat [~user@h69-129-206-153.mdsnwi.broadband.dynamic.tds.net] has joined #webgui03:33
-!- scrottie [~scrottie@dsl01-ppp-5119.fastq.com] has joined #webgui03:40
-!- mode/#webgui [+o scrottie] by ChanServ03:40
-!- carogray [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has quit [Read error: Connection reset by peer]04:25
-!- stDavid [~stDavid@166.137.8.35] has joined #webgui04:32
@scrottieboy this Test::Class suite takes a long time to run...05:08
-!- stDavid [~stDavid@166.137.8.35] has quit [Read error: Connection reset by peer]05:10
CIA-61webgui: Scott Walters WebGUI8 * re1ebb5d / lib/WebGUI/Asset/Wobject/Map.pm : Fix typo in property initialization to satisfy Test::Class test for t_11_getEditForm. - http://bit.ly/afrjvV05:20
-!- perlDreamer [~colink@198.236.242.3] has joined #webgui05:21
-!- mode/#webgui [+v perlDreamer] by ChanServ05:21
@scrottiehow was the zoo?05:23
+perlDreamerI'm still here!  The zoo concert area has wifi05:29
@scrottiesounds like one happenin' place05:30
-!- stDavid [~stDavid@72-255-12-231.client.stsn.net] has joined #webgui05:31
@scrottieway better than Vegas.  Vegas only has tigers and music.  no WiFi.05:32
-!- stDavid [~stDavid@72-255-12-231.client.stsn.net] has quit [Read error: Connection reset by peer]05:39
+perlmonkey2Get Froyo and you don't need public wifi anymore.05:40
-!- stDavid [~stDavid@72-255-12-231.client.stsn.net] has joined #webgui05:41
+perlDreamerperlmonkey2, isn't Froyo frozen yogurt?05:41
+perlmonkey2I mean the Froyo made from bits.05:41
+perlmonkey2Android 2.205:42
+perlmonkey2I take my wifi hotspot/tether with me every where :P05:42
+perlDreamerDid I mention that the zoo also sells beer, wine, and elephant ears?05:58
+perlDreamerof course, 2 of those are not very conducive to good programming, so I didn't buy any wine or elephant ears06:08
+perlDreamerand my wife is in nursing school, so I didn't buy any beer either06:08
-!- stDavid_ [~stDavid@mobile-166-137-137-228.mycingular.net] has joined #webgui06:10
+perlmonkey2perlDreamer: what does nursing school have to do with beer?06:10
+perlDreamerit's really expensive06:10
+perlDreamerbeer consumption has dropped 100% since she started06:11
+perlDreamerwhich means I haven't bought any beer this year yet06:11
-!- stDavid [~stDavid@72-255-12-231.client.stsn.net] has quit [Ping timeout: 265 seconds]06:12
+perlmonkey2I am dumbfounded06:12
+perlDreamerI thought you were Oklahoman06:12
+perlmonkey2What is life without beer.  Empty and desolate.  06:12
-!- stDavid_ is now known as stDavid06:12
+perlDreamerless filling?06:12
+perlmonkey2Without beer, there is no hope, little chance at love. We can not be surprised, nor feel joy.  06:13
+perlDreameryou're a little over the top there, dude06:14
+perlDreamerhow's the great windmill project of 2009 progressing?06:14
+perlmonkey2Yeah, I don't think that played as funny over IRC as it was in my head.06:15
+perlDreameroh no, it was great, but it made you sound lonely and desperate06:16
+perlmonkey2hah, windmills.  The more I researched the less appealing it was.  I would need a huge tower to get any real power around my house as I have maybe 40 50' trees on my place.06:16
+perlDreamerand THAT will definitely affect your chances of love06:16
+perlmonkey2hah06:16
-!- stDavid [~stDavid@mobile-166-137-137-228.mycingular.net] has quit [Ping timeout: 258 seconds]06:16
+perlDreamerlikely because your wife is likely to whack you with a spare arc-welder06:17
+perlmonkey2I did end up getting a welder.  And its turned out to be way handier than I ever would have thought.06:18
+perlDreamerthat's cool06:18
+perlmonkey2Did you know I started raising livestock?  Goats so far.  But hope to mix in cattle someday.06:18
+perlDreamerI didn't know that.06:18
+perlDreamerAre they tasty?  Do they go crunch?06:18
+perlmonkey2I can't bring myself to eat one.06:19
+perlmonkey2They have personalities and are pretty smart.06:19
+perlDreameryeah, I've tried some goat curry at a local indian restaurant.  It's not as good as sheep.06:20
+perlmonkey2Which is why I want to move to cattle.06:20
+perlDreamerbut sheep are dumb, too06:20
+perlDreamerthey program in Atari BASIC06:20
+perlmonkey2hah06:20
+perlDreamerI hear goats are into Ruby, or Squeak06:20
@scrottiehey!06:20
+perlDreamerthere's one now...06:20
@scrottienext you'll be making remarks about my odor.06:21
+perlDreamerscrottie, Arizona is downwind from Oregon, I'd never know06:21
+perlmonkey2oh man, past my bed time.  Silly corporate job with their fixed working hours and wanting me in an actual office.  Hasta la bananna.  06:22
+perlDreamerlater, dude06:22
+perlDreamerscrottie, no offense intended, personally to you, goats, or ruby and squeak hackers06:22
+perlDreamerbut sheep are dumb!06:22
@scrottiethat was in response to AtariBASIC, actually.06:23
@scrottiewhich is way better than Sinclair BASIC, at least, even though Rev.B had a nasty bug:  http://www.atarimagazines.com/compute/issue61/323_1_INSIGHT_Atari.php06:23
-!- stDavid [~stDavid@mobile-166-137-137-228.mycingular.net] has joined #webgui06:24
@scrottiewait, that's not even the one I was thinking of.06:24
-!- perlmonkey2 [~perlmonke@96.18.42.134] has quit [Ping timeout: 265 seconds]06:26
-!- stDavid_ [~stDavid@72-255-12-231.client.stsn.net] has joined #webgui06:34
-!- stDavid_ [~stDavid@72-255-12-231.client.stsn.net] has quit [Client Quit]06:35
+perlDreamerpreaction, in addition to .rss for dispatch, I also want .login, and .switchAdminOn06:36
-!- stDavid [~stDavid@mobile-166-137-137-228.mycingular.net] has quit [Ping timeout: 258 seconds]06:36
+perlDreamer.edit would be nice, too06:37
+perlDreamerand, of course, to complement .rss, we need .rdf and .atom06:37
+perlDreamerCalendar needs .ical06:37
+perlDreamerooh, and think about .wgkpg!06:38
+perlDreamerexport any asset as a package, right as a URL06:38
+perlDreamertime to pack up and go home, folks06:43
-!- perlDreamer [~colink@198.236.242.3] has quit [Quit: Leaving.]06:43
@scrottie%&*@.07:10
-!- daviddelikat [~user@h69-129-206-153.mdsnwi.broadband.dynamic.tds.net] has quit [Quit: Leaving.]07:16
CIA-61webgui: Scott Walters WebGUI8 * r6df4703 / lib/WebGUI/Role/Asset/RssFeed.pm : Fix typo in property initialization to satisfy Test::Class test for t_11_getEditForm. - http://bit.ly/d4Eeus07:40
-!- kaare [~kaare@langebro.adapt.dk] has joined #webgui08:37
-!- kaare is now known as Guest4490008:38
-!- Guest44900 is now known as kaare_08:59
-!- bartjol [~bartjol@kantoor.procolix.com] has joined #webgui10:32
-!- mode/#webgui [+v bartjol] by ChanServ10:32
@scrottiehrm.  WebGUI::Asset::Wobject::Navigation specifies a templateId of default      => 'PBtmpl0000000000000048', but no such template or asset record exists.  I'm using the newest create SQL from master to setup WebGUI8.10:41
@scrottieis this a bug?  who knows where that template went or what should be used in its place?10:42
@scrottiethe call to www_editSave is now blowing up for two different reasons, this being one of them, the other being something perhaps related to database state where it tries to create duplicate assetData (and other table) records for an assetId.state10:44
@scrottiethe whole thing is quickly reaching a point where MySQL decides its in middle of a transaction and refuses to start another one.  I don't yet know what that's about.10:45
+bartjoloh10:56
+bartjollet me have a loog whether it is in my db10:56
+bartjolnope11:01
+bartjolI think this is a bug11:02
+bartjolscrottie11:03
@scrottiepreaction and/or perlDreamer will know what to do!  All I have to do is stay alive until morning.11:03
@scrottieheya bartjol11:03
+bartjolit is in the upgrade scripts11:03
@scrottieoh, hmm.  let's see.11:03
+bartjolupgrades/upgrade_7.7.15-7.7.16.pl:        [ qw/PBnav00000000000bullet PBtmpl0000                                                                                    000000000048/ ]  ##Bulleted List <- Vertical Menu11:03
+bartjoland some others11:03
+bartjolisn't that template working group stuff? anyway, I think it should be replace by the PBnav00000000000bullet assetId11:05
+bartjolwhich does exist in my db11:05
@scrottieI'm naively guessing that it's still a bug that the template isn't in the create.sql in master.11:06
+bartjolwell11:06
@scrottieor a bug that it isn't PBnav00000000000bullet =)11:06
+bartjolwell, one of both11:07
+bartjolbut, I seem to remember that the veritcalmenu template was replaced11:07
@scrottieI suppose I should go actually look at these, but right now, they're just names... symbols... to me.11:08
+bartjolnop, it is in Navigation.pm11:09
+bartjolthe template should have been (and has been) purged11:09
@scrottie"it is in Navigation.pm"... pardon, what is in there?11:12
* scrottie looks in the git log11:12
+bartjoloh, I suppose the default template11:13
+bartjol:/data/WebGUI/docs$ grep -R PBtmpl0000000000000048 ../lib/WebGUI11:13
+bartjol../lib/WebGUI/Asset/Wobject/Navigation.pm:                defaultValue => 'PBtmpl0000000000000048'11:13
+bartjolok, since you should be sleeping, I'll get it in the right order11:13
@scrottieheh11:14
+bartjolthe default template in navigation.pm is PBtmpl000000000000004811:14
+bartjolthis does not exist11:14
@scrottieI'm rather fond of this time of night =)11:14
+bartjolbecaude it has been removeed in 7.7.1611:14
@scrottiegood detective work.11:14
@scrottie"in there" = in the upgrade script.  makes sense now.11:15
+bartjolso, the bug is not that the template does not exist, but that there is a reference to the template11:15
@scrottieI wouldn't have thought to check out old versions to snoop through upgrade scripts.11:15
@scrottieyup.11:15
+bartjolI only checked the upgrade scripts11:15
@scrottieit looks like that affects master as well as WebGUI8.  new tests for WebGUI triggered that problem.11:16
+bartjolwell, this bug has been there too long11:16
-!- waxhead [~pete@ppp121-45-217-60.lns20.cbr1.internode.on.net] has quit [Quit: Ex-Chat]11:17
-!- waxhead [~pete@ppp121-45-217-60.lns20.cbr1.internode.on.net] has joined #webgui11:17
+bartjolscrottie if you want to blame people: http://www.webgui.org/use/bugs/tracker/10665 :P11:18
@scrottiesimple mistakes aren't worthy of blame.  I reserve blame for particularly short-sighted, hastily written, ugly-on-ugly code.11:19
+bartjoloh, like the setlanguage stuff11:20
+bartjolwell, but this is one more bug resolved, before it got reported11:21
@scrottieyou've got my permission to patch it, or I'm happy to do so.  either way.  you figured it out.11:22
+bartjolmy git repo is a bit scrwed up11:22
+bartjolso please, go ahead11:23
@scrottieheh, okay.  I like to keep three or four repos laying around =)11:23
+bartjolanything else?11:25
@scrottieI probably should wrap it pretty quick here but I've got a long way to go before all of these tests are passing.  plus it takes a long time to run them.  I wouldn't wait around if I were you.11:26
+bartjoldon't forget to put it in the chagelog11:26
@scrottierighto.11:26
+bartjolwell, I just started working, it is 10.30 am11:27
CIA-61webgui: Scott Walters master * rb70ad2e / (2 files in 2 dirs): WebGUI/Asset/Wobject/Navigation.pm was still using obsolete template PBtmpl0000000000000048 - http://bit.ly/9vpkZZ11:55
CIA-61webgui: Scott Walters WebGUI8 * r7a56c72 / lib/WebGUI/Asset/Wobject/Navigation.pm : 11:55
CIA-61webgui: WebGUI/Asset/Wobject/Navigation.pm was still using obsolete template PBtmpl000000000000004811:55
CIA-61webgui: Fixes #11765 - http://bit.ly/aFSoud11:55
@scrottiehrmmrm.11:57
CIA-61webgui: Scott Walters master * r6a09708 / (2 files in 2 dirs): 12:01
CIA-61webgui: WebGUI/Asset/Wobject/Navigation.pm was still using obsolete template PBtmpl0000000000000048.12:01
CIA-61webgui: Fixes #11765. - http://bit.ly/9A5E2Q12:01
+bartjolhrmmrm?12:11
@scrottieredo.  forgot the "fixes #" bit.12:12
+bartjolah12:14
-!- scrottie [~scrottie@dsl01-ppp-5119.fastq.com] has quit [Ping timeout: 245 seconds]12:16
scrottie0yup.  think I'm going to keep this $1/day prepaid wireless data service.12:44
* scrottie0 sighs12:44
scrottie0alright, good night / good day.12:47
+bartjolgoodnight13:03
-!- daviddelikat [~user@h69-129-206-153.mdsnwi.broadband.dynamic.tds.net] has joined #webgui14:20
-!- kaare_ [~kaare@langebro.adapt.dk] has quit [Remote host closed the connection]14:45
-!- vayde [~vayde@71-34-32-110.mpls.qwest.net] has joined #webgui14:51
-!- daviddelikat [~user@h69-129-206-153.mdsnwi.broadband.dynamic.tds.net] has quit [Quit: Leaving.]15:18
-!- ColinHarman [~ColinHarm@mail.blue-ridge.org] has joined #webgui15:53
-!- ColinHarman [~ColinHarm@mail.blue-ridge.org] has quit [Client Quit]15:58
-!- daviddelikat [~user@h69-128-106-50.mdsnwi.dedicated.static.tds.net] has joined #webgui16:07
-!- MrHairgrease [~martin@194.171.50.69] has joined #webgui16:17
-!- mode/#webgui [+v MrHairgrease] by ChanServ16:17
SDuensinGreetings.16:17
+MrHairgreaseGreasings!16:17
+MrHairgreasepreaction, are you there?16:21
-!- perlDreamer [~colink@pool-173-50-255-102.ptldor.fios.verizon.net] has joined #webgui16:21
-!- mode/#webgui [+v perlDreamer] by ChanServ16:22
+MrHairgreaseoh colin16:22
+MrHairgreasejust the guy I'm looking for16:22
+MrHairgrease=)16:22
+MrHairgreaseDo you have time?16:22
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has joined #webgui16:25
-!- zylopfa [~zylopfa@0x555116f0.adsl.cybercity.dk] has joined #webgui16:34
-!- daviddelikat [~user@h69-128-106-50.mdsnwi.dedicated.static.tds.net] has quit [Quit: Leaving.]16:34
-!- ckotil [~ckotil@snare.grnoc.iu.edu] has quit [Remote host closed the connection]16:35
-!- daviddelikat [~user@h69-128-106-50.mdsnwi.dedicated.static.tds.net] has joined #webgui16:47
-!- vayde [~vayde@71-34-32-110.mpls.qwest.net] has quit [Remote host closed the connection]16:58
-!- vayde [~vayde@71-34-32-110.mpls.qwest.net] has joined #webgui17:01
-!- ckotil [~ckotil@snare.grnoc.iu.edu] has joined #webgui17:12
+perlDreamerI have a little time, what's up sir?17:22
+MrHairgreaseoh, I found a performance hog17:29
+MrHairgreaseproblem is in getContentLastModified in Folder17:29
+MrHairgreasethat is calling the same method on it's children17:29
+perlDreamerit has to do that, so that it can tell any containers of the Folder itself17:30
+perlDreamerLayouts work the same way17:30
+MrHairgreasewhich becomes a problem if those children children are folders as well17:30
+MrHairgreaseand their childrens17:30
+MrHairgreaseetc17:30
+MrHairgreaseit only needs to recurse one level deep17:30
+MrHairgreasebut goes al the way down17:30
+MrHairgreasecompare these numbers17:30
+MrHairgreasebefore:17:30
+MrHairgreaseProfile of run_fotoalbum.pl for 64.8s, executing 11022136 statements and  2622879 subroutine calls in 412 source files and 106 string evals.17:31
+MrHairgreaseAfter:17:31
+MrHairgreaseProfile of run_fotoalbum.pl for 4.64s, executing 587621 statements and  149525 subroutine calls in 412 source files and 106 string evals.17:31
+MrHairgreasebrb phone17:31
+perlDreamerme, too17:31
-!- stDavid [~stDavid@166.137.8.41] has joined #webgui17:33
+MrHairgreaseok back17:43
+MrHairgreaseanyway 17:43
+perlDreamerstill on phone17:43
+perlDreamerwhat's the diff between before/after17:44
+MrHairgreasethe after case was after chcanging the method in folder as follows17:44
+MrHairgreasehttp://webgui.pastebin.com/2wbWVFYn17:44
+MrHairgreasevery very crude17:44
+MrHairgreasebut at least a proof of oncept17:45
+MrHairgreasebtw. most time in the after case is consumed by JSON, for reading the config fiel etc.17:45
+MrHairgreaseI'm running this from an utility script17:45
+MrHairgreaseand the folder on which I run it contains many subfolders and ~ 12k image assets below it17:46
+MrHairgreasenot directly of course17:46
+perlDreameryeah, in a hierarchy17:46
ckotili might be onto a bug where search asset isn't indexing the sql report asset17:47
+MrHairgreaseanyway. This also affects page layouts with a lot of descendants.17:47
+perlDreamerMrHairgrease, I think a better fix would be to check to see if the child asset is a container17:48
+perlDreamerand if it's a container, it should ony check the revisionDate17:48
+perlDreamerinstead of getContentLastModified17:48
+MrHairgreaseseems reasionable17:48
+MrHairgreaseexcept17:48
+MrHairgreasethat Layout::getContentLastModified calls super for finding mtime17:48
+MrHairgreasewhich returns lastModified17:48
+MrHairgreasewhich is (I guess) different from revisionDate17:49
+MrHairgreaseright?17:49
+MrHairgreaseI agree that the stow 'solution' is real bad17:49
+perlDreamercould be, yes.  In any case, checking a container shouldn't make it recurse, which ever date is called17:49
+MrHairgreasebut its only purpose was to see whether that was the performance issue17:50
+perlDreameryeah, and it definitely helped you find it!17:50
+MrHairgreaseno17:50
+MrHairgreasethat was Devel::NYTProf17:50
+MrHairgreasegetLineage being called 40000+ times smelled somewhat funny =)17:51
ckotildemo webgui site is able to search sql report asset. dunno why my site doesnt seem to do the same.17:51
+MrHairgreaseI'll fix this issue either tomorrow or somewhere next week17:51
+bartjolckotil: so except for your site, have you seen it somewhere else?17:52
ckotilno17:52
+bartjolanything in logs about it?17:52
ckotilnot that ive seen17:53
+bartjolmmm, getting harder to find then17:55
ckotilbartjol: would errors indexing this asset appear in webgui.log?17:56
+bartjolstrange, it is not in my selectlist of asset types to search in the search asset17:57
+bartjolwell, it can be that they can't get instantiated17:57
ckotilyeah, for my search asset, i dont have anythinkg checked17:57
+bartjolthat would give an error17:57
ckotilbut that's how it is on the demo site too17:57
+bartjoland it is inder the search root?17:58
+bartjoljust for certainty17:58
ckotilyes17:58
ckotilwell actually17:58
ckotilno17:59
ckotil!!  that was the issue. damn17:59
ckotilsorry about that17:59
ckotiliirc, i didnt set it to root bc i dindt want templates to be returned in search. but that might have been me being overly paranoid about it17:59
+perlDreamerno, you really don't want users seeing hits on Templates18:00
+bartjolah18:00
+perlDreamerand internal snippets and navs ans stuff18:00
+bartjolnot necessary indeed18:00
+bartjolthis is the good kind of paranoia18:00
+bartjolso, bug fixed? :)18:01
ckotilthe reason my sql report asset wasnt included in the search is because it had a different base URL18:01
+perlDreamerbase URL won't matter, only position in the hierarchy18:01
+bartjollineage++18:01
ckotilok lemme verify that this asset is actually in the correct lineage18:02
ckotilahh18:02
ckotiltis not.18:02
* ckotil smacks his forehead18:02
+bartjolnp18:02
ckotilour documentation 'guru' has been on my back for months about the searching. it's because all of his content is outside of the search assets scope.18:03
-!- stDavid [~stDavid@166.137.8.41] has quit [Read error: Connection reset by peer]18:03
ckotiland i never caught it. excellent. 18:03
ckotilthanks guys18:03
+bartjolwell, a fresh look helps18:03
ckotildefinately18:04
+perlDreamerbartjol++18:05
+bartjolyeah, scrottie had a long night and helped him too this morning18:07
+bartjolsomething with references to old templateId's18:08
+bartjoloh, perlDreamerdid we have an appointment for the hackathon, I don't remember. Something tells me you were going to help me with something18:09
+perlDreamerI saw that commit this morning18:09
+perlDreamerat first, it confused me a little because it wasn't backported to 7.818:09
+perlDreamerbut then i remembered that there's no more 7.8 after last tuesday18:10
+perlDreamer7.9 will be stable on Tuesday18:10
+bartjolyeah, he found out that it was wrong18:10
+bartjolow18:10
+perlDreamerow?18:10
+bartjolthat might be a problem with shop sites18:10
+perlDreamerhow come?18:10
+bartjolmainly paydrivers18:11
+bartjolcustom18:11
+perlDreameryes, they'll need to be upgraded18:11
+bartjoland template18:11
+bartjoljoeri did the ideal driver18:11
+perlDreamerreally?  what is it?18:11
+bartjolthe template? well, the build is just a bit different18:12
+bartjolbuild is a strange word in this context18:12
+perlDreamerI mean, what's the ideal paydriver?18:12
+bartjolthe looping through the item is different, so we have to redo that18:12
+bartjoloh18:12
+bartjolhttp://www.ideal.nl/?lang=eng-GB18:13
+perlDreameroh, i see.  not "ideal" as in perfect, ideal as in company name18:13
+bartjolI think it is native dutch18:13
+bartjoloff course programs the ideal paydriver18:13
+bartjolinsert joeri into last comment18:14
+bartjolthat's how they program at oqapi, bugfree18:14
+perlDreameruh huh, guaranteed "bugfree"18:15
+bartjolthey call it feature-rich18:15
+perlDreamerI know the shop changes are painful, but hopefully the benefit of having a 2-page checkout will outweigh that18:18
+perlDreamerthe paydriver changes are pretty trivial18:19
+perlDreamerbut the template changes are not18:19
+bartjolI agree that the cheking out has improved18:20
+bartjolit might be a threshold for some sites18:21
-!- bartjol [~bartjol@kantoor.procolix.com] has quit [Quit: Leaving.]18:48
-!- MrHairgrease [~martin@194.171.50.69] has left #webgui []19:03
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has quit [Read error: Connection reset by peer]19:51
scrottie0"at first, it confused me a little because it wasn't backported to 7.8" ... I always forget that one.19:59
scrottie0if I had learned, I would never have stopped.20:01
+perlDreamerthere's no more 7.8, scrottie20:01
+perlDreamerafter next week, you need to remember to backpot to 7.9 :)20:01
scrottie0I need to write a script...20:14
+perlDreamerstart with /data/WebGUI/sbin/_utility.skeleton20:14
-!- scrottie [~scrottie@dsl01-ppp-5119.fastq.com] has joined #webgui20:18
-!- mode/#webgui [+o scrottie] by ChanServ20:19
+perlDreamerpreaction, dispatch is done.  I can merge in as soon as you review20:42
+perlDreamerI'm going to write some .rss, .atom, .rdf dispatch plugin for RSS feeds next20:43
+perlDreamerwell, okay20:58
+perlDreamerI'm going to debug the Content/Asset.pm plugin first, THEN I'm going to write the RSS dispatch code.20:59
+perlDreamerwoot!  That works, too21:00
+perlDreamerback to the crusade to purge C::IO from WebGUI 821:01
@scrottiewhich ::IO?21:07
+perlDreamerClass::InsideOut21:07
@scrottieahh.  Ahhh.21:07
+perlDreamerhow is the getEditForm work coming, scrottie?21:10
@scrottieI've made fantastic progress on making the test suite take forever to run.21:11
* scrottie looks at the latest run's output21:12
+perlDreamerforever as in long time, or forever as in "infinite loop"?21:12
@scrottieoh yeah, that's right.21:12
@scrottiemerely a long time.  I haven't reached infinite loop level slowness yet.21:12
@scrottieoh yeah.  that's right... in getAnchoredAsset, my $asset = $parents[-1]->addChild({ className => $test->class, ... }); winds up creating the same assetId that, a few lines later in the test, $asset->www_editSave; also tries to create.21:13
@scrottieboom, primary key violating, things blow up.21:13
@scrottieviolation.21:13
@scrottiethat's where I last left off.21:14
+perlDreamerwww_editSave should either be called an an asset with assetId=new, or should add a new revision21:15
@scrottiethe few misc bug fixes I pushed up were hard won.  in this situation, it's not obvious whether the test is at fault or the code and it's been a bit of both.21:15
@scrottiemakes sense.21:15
@scrottielet's see.  t_11_getEditForm was trying to compare two radically different datastructures.  I have the test script doing some unsightly munging to get them both into similar shapes before comparing them, including filtering out three fields that just don't match:  Keywords, Class Name and Asset ID.21:22
@scrottiecomparing form elements to properties, I'd get:  Missing: 25 references\nExtra: 37 references in diagnostics from Test::Deep.  vice versa:  Missing: 40 references\nExtra: 28 references.21:24
@scrottiegrepping out only the ones that have a 'label' field helped a lot.21:24
@scrottiethis feels hackish to the point of being rigged.21:25
@scrottieI'm tempted to test against the PSGI interface using Web::Scraper.21:25
@scrottiewhen fields were added/removed from various forms, the various tests would have to be updated to match... which feels more official but less cool than mining the fields out of the class through property inspection.21:26
@scrottieoofda.  I need another latte.  either that or a beer.  though tequila would do in a pinch.21:26
@scrottieit's hard to justify taking the high road on development when you're already slow.21:27
@scrottieanyway, I'll start to be chattier about this since I think I have myself basically oriented in here.21:31
@scrottiemaybe I'll stick my Test::Class::Asset into a gist and push that up for comment.21:37
@scrottieright now, it looks like someone put matt's script archive into the microwave and it blew up.21:37
-!- zylopfa [~zylopfa@0x555116f0.adsl.cybercity.dk] has quit [Quit: Leaving]22:24
--- Day changed Fri Aug 06 2010
-!- stDavid [~stdavid@166.137.8.41] has joined #webgui00:34
-!- stDavid [~stdavid@166.137.8.41] has quit [Quit: Adios]00:56
-!- vayde [~vayde@71-34-32-110.mpls.qwest.net] has quit [Remote host closed the connection]01:08
@scrottieWebGUI::Asset::Shortcut... shortcutToAssetId... what sets this?  I might be missing something, but in 7 and 8, I don't see any code that actually ever sets the thing.01:09
@scrottiehttp://gist.github.com/510473 ... the database suggests that that field isn't getting set also.01:09
@scrottiecontrary to my normal operating mode, I didn't go off on a bender to figure out what the heck this shortcut stuff and why a simple www_view needs to call it on a bunch of assets...01:10
CIA-61webgui: Colin Kuskie WebGUI8 * r679c467 / lib/WebGUI/AssetHelper/ExportHtml.pm : Fix a double $i18n syntax warning. - http://bit.ly/d7FoxZ01:16
* scrottie goes off on a bender to figure what the heck shortcuts are supposed to do01:20
@scrottieah.  WebGUI/AssetClipboard.pm creates shortcuts and it passes a value in for that field.  hmm.01:24
@scrottiebah.  tracing fiften stack frames deep only to figure out that the thing is accessible bad data left earlier.01:30
-!- daviddelikat [~user@h69-128-106-50.mdsnwi.dedicated.static.tds.net] has quit [Quit: Leaving.]01:33
+perlDreamerscrottie01:34
+perlDreamerShortcut has 3 functions01:34
+perlDreamer#1 is the most prevalent01:34
+perlDreamerit's like a symbolic link to an asset01:34
+perlDreamerso that you can display stuff in multiple places, but only maintain it in 1 place01:34
* scrottie nods01:35
+perlDreamerIt only ever shortcuts the view method, though01:35
+perlDreamerthat is important to remember01:35
+perlDreamerin Function #1, the shortcut can override properties in the original asset01:35
+perlDreamertitle, templates, privileges, whatever01:36
+perlDreamerso, you could build a CS on one page01:36
+perlDreamerand shortcut it to another page with a different number of displayed threads, for example01:36
@scrottiehrm.01:36
+perlDreamerin function #2, it's part of the Dashboard01:37
+perlDreamerin that context, it's called a dashlet01:37
+perlDreamerin function #3, and this is so rare I've never heard of it being used ever01:37
+perlDreamerit will function like the RandomAssetProxy macro, and pick an asset to shortcut based on asset metadata01:37
+perlDreamerdoes that help?01:38
@scrottieyes, thank you...01:39
@scrottiehrm.  I should try pulling assets up in a web browser more when I'm investigating them just to get some context for what's going on.01:42
+perlDreamerit can help for some assets01:42
CIA-61webgui: Colin Kuskie WebGUI8 * rbe42b71 / (4 files in 3 dirs): Migrate CartItem from Class::InsideOut to Moose. - http://bit.ly/9sVUrX02:25
@scrottieafk a few...02:43
+perlDreamerdinner-time!03:10
-!- stDavid [~stDavid@72-255-36-208.client.stsn.net] has joined #webgui03:29
-!- carogray [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has joined #webgui03:43
-!- stDavid [~stDavid@72-255-36-208.client.stsn.net] has quit [Ping timeout: 245 seconds]03:43
-!- stDavid [~stDavid@72-255-36-208.client.stsn.net] has joined #webgui03:43
+perlDreamerback later03:53
-!- perlDreamer [~colink@pool-173-50-255-102.ptldor.fios.verizon.net] has quit [Quit: Leaving.]03:53
-!- stDavid [~stDavid@72-255-36-208.client.stsn.net] has quit [Quit: zzzzzzzzzz]04:36
-!- fokat [~lem@190.72.138.110] has quit [Quit: Ex-Chat]04:40
-!- perlmonkey2 [~perlmonke@96.18.42.134] has joined #webgui05:32
-!- mode/#webgui [+v perlmonkey2] by ChanServ05:33
+perlmonkey2Wonder if I could get my fortune 500 company who's sites are built around websphere could be convinced to move to WebGUI.05:34
+perlmonkey2To do this I will require three unicorns, a leprechaun, and several pounds of pixie dust.05:35
@scrottieI have never heard of sales doing a dog and pony show with unicrons and leprechauns.  I bet it would work though.05:37
@scrottiesales *is* well known for using large amounts of pixie dust though.05:37
-!- carogray [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has quit [Read error: Connection reset by peer]05:40
-!- perlmonkey2 [~perlmonke@96.18.42.134] has quit [Ping timeout: 276 seconds]06:42
-!- bartjol [~bartjol@kantoor.procolix.com] has joined #webgui10:23
-!- mode/#webgui [+v bartjol] by ChanServ10:23
-!- carogray [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has joined #webgui13:24
-!- MrHairgrease [~martin@194.171.50.69] has joined #webgui13:57
-!- mode/#webgui [+v MrHairgrease] by ChanServ13:57
-!- vayde [~vayde@71-34-32-110.mpls.qwest.net] has joined #webgui14:44
-!- daviddelikat [~user@h69-128-106-50.mdsnwi.dedicated.static.tds.net] has joined #webgui16:09
SDuensinHowdy16:19
+MrHairgreaseGreesings!16:19
+MrHairgreaseGreasings, even16:19
* bartjol slips16:19
-!- fokat [~lem@190.72.138.110] has joined #webgui16:20
SynQunder the shower16:27
+MrHairgreasehrm, batjol slips while synq is greasing in the shower?16:28
SynQgreasing the hair of someone?16:32
* MrHairgrease usually degreases while showering16:32
+bartjoloh, is there a way to block my emails from becoming posts in the forum? I do see the option to get mails and place them as post in the forum, but no blacklist16:44
-!- ColinHarman [~ColinHarm@mail.blue-ridge.org] has joined #webgui16:47
-!- patspam [~patspam@cpe-66-65-190-131.nyc.res.rr.com] has joined #webgui16:47
+MrHairgreasebartjol: maybe you can remove the users tied to the email addresses you want to block from the post group?16:50
+bartjolwell, it is more for my out of office automated mail16:51
+MrHairgreasehmm16:51
+bartjolthat gets posted, so best is to sign off for the week for the maillists16:51
+MrHairgreaseI don't think you can do that out of the bvox16:51
+bartjolbut that is a bit of a far fetch16:51
+MrHairgreaseThe mail fetch thingy should filter these messages I guess.16:52
+bartjolyeah, because normaly I don't see very much spam16:52
+MrHairgreaseAnyway, your out-of-office message is only being sent once to the list so that won't be a biggie, I'd say16:53
+MrHairgreaseHowever, if you want to make WebGUI::Mail::Get smarter, you should look into using Mail::DeliveryStatus::BounceParser16:53
+MrHairgreaseIt also tries to detect out of office mail.16:54
+MrHairgreaseI've only used it to detect bounced messages, though. 16:54
+MrHairgreaseWhich works fine.16:54
+bartjolaha, well, 1 hour is not enough to fix that prolly16:55
+MrHairgreasenope16:55
-!- fokat [~lem@190.72.138.110] has quit [Ping timeout: 248 seconds]17:12
ckotilhttp://www.webgui.org/community-wiki/find-most-recent-with-assetindex tells us that as of webgui 7.5 all of the data that assetIndex contains. is it possible to search for just a certain piece of data? such as username, creation date, or keywords, meanwhile excluding everything else? 17:40
-!- ColinHarman [~ColinHarm@mail.blue-ridge.org] has quit [Quit: ColinHarman]17:41
ckotili wanna search by creationDate, and not include assets that happen to contain that date in say the title, synopsis, keywords, or any other piece of data that is also in the assetIndex17:42
ckotilas an example.17:42
+bartjolthat depends on what you select17:43
ckotilselect where? in teh search asset?17:43
+bartjolow wait17:43
ckotili just was just referrencing that wiki article bc it contains the most up2date list of data that is contained within assetIndex17:44
+bartjolI was looking at the report17:44
ckotilhttp://www.webgui.org/community-wiki/webgui-search-system is lacking17:44
+bartjolwell, at the moment you can't17:47
ckotilok17:47
+bartjolunless you edit/replace search17:47
ckotilright17:47
+bartjolespecially the resultset tmpl_vars can be enhanced17:47
+bartjolbut that is only the set17:48
+bartjolnot the search17:48
+bartjolyou'll have to work it out with a sqlreport17:48
ckotilso creationDate is in the resultSet. how do you search for a creationDate? mm/dd/yyyy doesnt seem to work17:48
+bartjolat the moment it isn't17:48
ckotilah, so you could create a sqlreport to search by whatever; creationDate for example.17:49
+bartjolyes17:49
ckotilok17:49
+bartjolselect * from assetIndex where creationDate="myEpoch";17:50
+bartjolit is stored as epoch17:50
ckotilyeah. i hope mysql can do conversion from mm/dd/yyyy to epoch17:50
ckotildoes sqlreport do pre macro processing? 17:50
+bartjolyeah, but I don't know the syntax by heart17:51
ckotilcould have a macro do the conversion17:51
ckotilsub getResultSet {17:51
+MrHairgreasehttp://dev.mysql.com/doc/refman/5.0/en/date-and-time-functions.html17:51
ckotildoes contain assetIndex.creationDate17:51
+bartjolthe processing is optional17:51
ckotilcool17:51
+bartjolbut instead of executing macro's you better read the doc MrHairgrease posted17:52
ckotilyeah, more efficient 17:52
+bartjolyeah, but I think you'll manage, I have to go17:52
ckotilthanks for the tips17:53
-!- bartjol [~bartjol@kantoor.procolix.com] has left #webgui []17:53
+MrHairgreaseuse unix_timestamp() and from_unixtime()17:53
ckotilright17:53
+MrHairgreaseeg:17:54
+MrHairgreaseselect * from asset where creationDate = unix_timestamp( 'yyyy-mm-dd 00:00:00' );17:55
+MrHairgreaseNote that that doesn't work cxorrectly17:55
+MrHairgreaseunless you asset was created at exactyly 00:00:0017:55
+MrHairgreasewhat exactly are you looking for?17:57
ckotiljust digging into the depths of the search asset. I really want to learn how to refine my searches. I have lots of cruft getting returned in my searches17:57
+MrHairgreasehmm, yeah it's not perfect.17:58
ckotili was just looking into leveraging stop words17:58
+MrHairgreasedunno too much about the search asset though17:58
+MrHairgreaseI almost never use it.17:58
ckotilbut if i could add knobs to say, search by document/file type , i.e. .doc .pdf, or search just by username, or just by creation date. i think that could really help17:58
ckotilive turned webgui into a decent documentation system. the nav asset allowed us to create a nice Table of Contents for this doc system17:59
+MrHairgreasewell, you can limit the asset class17:59
+MrHairgreaseso if your search for files17:59
+MrHairgreaselimit the assets to WG::A::File(::Image)17:59
+MrHairgreaseI'm not sure18:00
+MrHairgreasebut I think the filenames of the actual file that are uploaded are also indexed18:00
ckotilyeah, ive been messing with limiting assets.18:00
+MrHairgreaseSo if you add pdf to your search, it should find mostly pdf's18:00
ckotilyeah, and it does. but again, it returns a lot of crap18:01
ckotilone thing ive done with our webgui is we have 20 something sites under 1 global site. which allows us to search for documents under each of the 20 sites by navigating to the lower site. but you can also perform a global search from anywhere. which is kind of neat18:01
ckotilall in a single db. which allow us to search everything if the user so chooses.18:02
+MrHairgreaseyeah, I think there's little you can do about the crap...18:02
+MrHairgreasenot until webgui switches to a better serach engine that is18:02
ckotilive got my fingers crossed that it will happen in WG818:02
ckotili saw the roadmap, and it's a litlte ways down the list. but i can still dream18:02
+MrHairgreaseI think it's on the road map18:03
+MrHairgreaseyeah18:03
-!- MrHairgrease [~martin@194.171.50.69] has left #webgui []18:21
ckotilany ideas for differentiating between '.doc' and 'doc' short for documentation , when performing a search?18:24
-!- perlDreamer [~colink@pool-173-50-255-102.ptldor.fios.verizon.net] has joined #webgui18:25
-!- mode/#webgui [+v perlDreamer] by ChanServ18:25
-!- stDavid [~stDavid@72-255-37-164.client.stsn.net] has joined #webgui18:31
-!- perlmonkey2 [~perlmonke@m365636d0.tmodns.net] has joined #webgui19:04
-!- stDavid [~stDavid@72-255-37-164.client.stsn.net] has quit [Quit: zzzzzzzzzz]19:04
-!- mode/#webgui [+v perlmonkey2] by ChanServ19:04
+perlmonkey2is 8 far enough along to deg apps against ot?19:05
+perlDreameron dnot' tkinh os19:05
+perlmonkey2r u mocking my phone irc skillz?19:06
+perlDreamertotally19:06
+perlDreamer8 is not that ready yet19:06
+perlDreamerit's not even beta19:06
+perlDreamerwhich means you need to help us get it ready!19:07
+perlmonkey2lookes like all the tickets left r not for core features.19:07
+perlDreamerbelieve it or not, there aren't that many features set for 819:10
+perlDreamer8 is a reorg and cleanup for the most part19:10
+perlDreamerso there's lots and lots of work to do19:10
* perlDreamer gets called to breakfast19:10
+perlDreameryum choco-cinnamon pancakes19:27
+perlDreamerthis is too funny:http://blastr.com/2010/08/image-of-the-day-ufo-sigh.php19:30
-!- perlmonkey2 [~perlmonke@m365636d0.tmodns.net] has quit [Ping timeout: 240 seconds]19:46
-!- perlmonkey2 [~perlmonke@m465636d0.tmodns.net] has joined #webgui19:48
-!- mode/#webgui [+v perlmonkey2] by ChanServ19:48
-!- patspam [~patspam@cpe-66-65-190-131.nyc.res.rr.com] has quit [Quit: Leaving.]19:54
-!- perlmonkey2 [~perlmonke@m465636d0.tmodns.net] has quit [Read error: Connection reset by peer]20:01
-!- perlmonkey2 [~perlmonke@m465636d0.tmodns.net] has joined #webgui20:01
-!- mode/#webgui [+v perlmonkey2] by ChanServ20:01
-!- daviddelikat [~user@h69-128-106-50.mdsnwi.dedicated.static.tds.net] has quit [Quit: Leaving.]20:33
-!- daviddelikat [~user@h69-128-106-50.mdsnwi.dedicated.static.tds.net] has joined #webgui20:36
-!- perlmon90 [~perlmonke@m365636d0.tmodns.net] has joined #webgui20:57
-!- perlmonkey2 [~perlmonke@m465636d0.tmodns.net] has quit [Read error: Connection reset by peer]20:57
+perlDreamerWebGUI::DateTime seems to be rather useless as a Moose type21:04
+perlDreamerbecause it kind of wants to get a session object21:04
-!- khenn [~frank@122.sub-75-205-139.myvzw.com] has joined #webgui21:05
-!- mode/#webgui [+o khenn] by ChanServ21:05
perlmon90why cant it just require a session in the constructor?21:06
@preactionit does21:06
perlmon90the why cant it be a moose obj?21:07
@preactionit can, but it's also a Type. so we can say has 'something' => ( isa => 'WebGUI::DateTime' )21:07
perlmon90looks good to me21:08
perlmon90hah didnt know how good i had it at pb21:10
+perlDreameryes, but via type coercion you can't give it a session object21:10
+perlDreamerand with a session object, there are some things it won't do?21:10
perlmon90get to use modern perl libs and get paid to do it.21:10
@preactionwell, it did take a lot of effort to get to this point, perlmon9021:11
+perlDreameruh, without a session object, there are some things it won't do21:11
perlmon90we understood :P21:11
@preactionby effort i mean yelling at stubborn people who wouldn't listen21:12
perlmon90yeah you fought the long hard fight and won21:13
@preactionso far21:13
perlmon90while you're online, you know my skillz (minus some atrophy from java python dev) any tickets u think i could take?21:15
-!- xootom [5eaba154@gateway/web/freenode/ip.94.171.161.84] has joined #webgui21:17
+perlDreamerperlmon90, how much time/effort do you have?21:18
+perlDreamerwe've got raw gruntwork, like removing duplicate i18n data21:19
@preactionthe icon stuff would be nice, WebGUI::Session::Icon goes away, and all the famfamfam icons in www/extras/icon are used, but it's mostly gruntwork, muckraking, dirty cleanup jobs21:20
+perlDreamerpreaction: do you have an idea about the "new improved API" for that?21:20
@preactionyes, none.21:20
@preactionthe standard controls are completely changing, and if you need an edit button yourself for some purpose you can make your own21:21
+perlDreamersession->icon->edit is used by 34 different packages in WebGUI21:23
+perlDreamerseems like we should provide a handy way to do that21:23
@preactionperhaps an ^Icon macro instead?21:23
+perlDreamericon parameters have embedded quotes and commas21:26
+perlDreamerhow about we just provide a sane, small API for it?21:26
+perlDreamerSession->icon->_whatever should just be a small wrapper around 1 internal method for making the icon21:27
@preactionso <a href="<tmpl_var url>">^Icon("edit");</a> <- not good?21:27
+perlDreamerinstead of having almost the same code in ~10 different methods21:27
+perlDreamernot strong enough to handle onclick, hover, etc21:27
* perlDreamer is lazy21:28
@preaction<a href="<tmpl_var url>" onmouseover="whatever i want">^Icon("edit");</a> 21:28
+perlDreamerI don't want to replace session->icon->edit in 34 files with templates21:28
+perlDreamerif every screen was templated, it wouldn't bad, but few of the Admin screens where those edit and other icon buttons are used are templated21:29
+perlDreamerit's all string-work21:29
+perlDreamer$output .= $session->icon->edit($session, $url, $this, $that);21:30
perlmon90perlDreamer thats the probelm, all the tickets look like real wprk amd not like fun21:30
@preactionall the Admin screens are changing though21:30
+perlDreamerokay21:31
+perlDreamersidebar: have you reviewed the dispatch branch in my repo?21:32
@preactionnot yet, is it ready for review?21:32
+perlDreameroh yeah.  I tested it out and it's lovely21:33
+perlDreamerI even wrote the .rss/.rdf/.atom dispatch21:33
+perlDreamerand then I almost got in trouble21:33
@preactionperlmon90: there's some fun stuff to do with that dispatch stuff maybe? ".rss" urls can be handled directly by the RssFeed aspect. "www_keyword" in the wiki could be mapped to "Keyword:..." urls21:33
+perlDreamerbecause I want to add .login, .adminOn and .edit21:33
perlmon90ok after work ill check it out.21:34
+perlDreameroh, and Calendars should do .ical21:35
+perlDreamerand Galleries need to manually do .rss, maybe albums too21:35
+perlDreamerand I think .wgpkg should export the current package21:35
+perlDreameruh, current as a package21:35
+perlDreamerexcept that we actually make .wgpkg files, so that might now work real well21:36
@preactionthat wgpkg thing might require special permissions, but it's certainly worth looking into21:36
+perlDreamerhow about the iffy stuff like login, edit and admin?21:36
@preactionhm?21:37
+perlDreamer.login should do the same as ?op=auth;method=init21:38
+perlDreamer.adminOn should do ?op=switchOnAdmin21:38
+perlDreamerand likewise for off21:38
+perlDreamerand .edit should do ?func=edit21:38
+perlDreamerbut they're much easier to remember21:38
+perlDreamerand not likely to collide with existing URLs21:38
perlmon90these are default inherited aspects?21:39
@preactionnot for now. in the future i suspect they'll be /edit and other stuff. not sure how i want /login and /admin to work (i don't like that i can't www.example.com/login21:39
+perlDreamerthe problem with that is now you're occupying the URL space21:40
+perlDreamer/home/edit could be a real asset21:40
+perlDreamerthat's why I think URL extensions are safer21:40
+perlDreamerhome.edit is still RESTful, and you're not likely to find it in the real world as a URL21:41
@preactiontrue21:42
@preactionand perhaps we'll just leave it to a case-by-case basis, not all www_* can be .* methods21:42
@preactionbut adminOn/adminOff don't need it (new admin console doesn't get turned on, just visited)21:42
+perlDreameryeah, I'm still stuck in 7-ville I think21:42
@preactionand login... that's a whole nother ball of wax that needs to be burned and spread upon the ashes of the fallen that we may have soap21:43
perlmon90poetry21:43
+perlDreamerperlbot: wax21:44
perlbotperlDreamer: No factoid found. Did you mean one of these: [.WA.us] [.WI.us] [.ws] [.WY.us] [which] [ws]  21:44
+perlDreamerperlbot: wax is <preaction> that's a whole nother ball of wax that needs to be burned and spread upon the ashes of the fallen that we may have soap21:44
perlbotperlDreamer: Stored wax is <preaction> that's a whole nother ball of wax that needs to be burned and spread upon the ashes of the fallen that we may have soap  21:44
+perlDreamerwhich www_* methods couldn't be .* extensions?21:46
@preactionwell, viewThing should probably be it's own URL of some kind21:47
@preactionthat sorta thing21:47
@preactionalso, WebGUI::Keyword should transform into this: http://drupal.org/node/77489221:47
+perlDreamerhttp://www.webgui.org/storyManager/keyword/keywordToCheck21:50
@preactionit would fix our wiki taxonomy problems21:50
+perlDreamer?21:50
@preactionsorry?21:50
+perlDreamerWebGUI URls are always human readable, so I was thinking that instead of node/digits21:51
@preactionperlmon90: another possible fun task: I want more choices of Rich Editors. Perhaps a Markdown one that could be used in the wiki for those used to mediawiki21:51
perlmon90that could be cool21:51
+perlDreamerhow about migrating from TinyMCE to YUI Editor?21:52
@preactionwe want to migrate to a default YUI rich editor too, but it doesn't support tables. you could make it support tables using <divs>. somehow the tinymce supports tables inside content-editable iframes21:52
@preactionso however the tinymce does it, the yui rich editor could do it21:53
perlmon90that sounds like css fun21:53
@preactionCSS and JS. you'd have to parse out the special divs and create <table> from it21:54
@preactionplus you'd get huge cred in the YUI dev community for that one, even if they never accept it into core YUI21:54
perlmon90so every time it is rendered it must render be parsed then corrrected? slow btowsers will show this ugliness.21:55
@preactiontinymce does it though, how do they do it?21:56
@preactionand no, you'd change it to <table> before putting it back into the form to be processed by the back end21:56
perlmon90ill give it a pook tonight21:56
-!- xootom [5eaba154@gateway/web/freenode/ip.94.171.161.84] has quit [Ping timeout: 252 seconds]21:57
-!- stDavid [~stDavid@72-255-12-98.client.stsn.net] has joined #webgui22:08
@preactionooh, WGFS might be fun: handling PROPFIND requests with the output that DAV clients expect, and handling PUT requests22:10
CIA-61webgui: Colin Kuskie WebGUI8 * rad9d560 / lib/WebGUI/Shop/CartItem.pm : Remove duplicate default in CartItem options. - http://bit.ly/aKthra22:21
-!- fokat [~lem@190.72.138.110] has joined #webgui22:28
-!- vayde [~vayde@71-34-32-110.mpls.qwest.net] has quit [Remote host closed the connection]22:28
-!- perlmon90 [~perlmonke@m365636d0.tmodns.net] has quit [Quit: -a-]22:48
-!- daviddelikat [~user@h69-128-106-50.mdsnwi.dedicated.static.tds.net] has quit [Quit: Leaving.]22:49
-!- stDavid [~stDavid@72-255-12-98.client.stsn.net] has quit [Quit: zzzzzzzzzz]23:03
-!- perlDreamer [~colink@pool-173-50-255-102.ptldor.fios.verizon.net] has quit [Ping timeout: 265 seconds]23:34
-!- khenn [~frank@122.sub-75-205-139.myvzw.com] has quit [Read error: Connection reset by peer]23:37
--- Day changed Sat Aug 07 2010
@preactionthe more i think about it, the more i believe that the little edit toolbars that we insert into pages should go away00:09
@preactioninside the 8 admin console, you have access to all those functions for the current asset in the Asset Helpers menu, and for all child assets on the Tree view00:10
@preactionLayouts will need to retain positioning, and I believe that having inline editing on the View tab would be a nice feature, but those toolbars aren't necessary anymore00:10
@scrottieI love the edit toolbars =(00:31
@scrottieeven if you can work without them, they really drive home the idea that you can click on the page and edit it -- that the site is not just read/write text but read/write logic.00:32
@scrottieit's simply awesome.00:32
@scrottieperhaps pointless, but awesome.00:33
@scrottiethat's the first thing I'd show someone if I were trying to sell them.00:33
@preactionit is easier than saying "Double-click on a piece of content and you can change it", which is what i had imagined the inline editor to be00:34
@preactionit's a very obvious "Click here to edit"00:34
@preactionand also prevents accidental edits, you have to click there and be in the edit form00:35
@preactioni'm trying to keep the getToolbar sub around, that's the thing. i just don't want to use it by default for the admin console, because i currently don't know if the user is in the admin console or not00:37
@preactioni could set a flag when they enter the admin console, but i can't tell when they leave unless they leave in a specific way (clicking a link that unsets the flag)00:37
@preactionin the 7.x series, admin mode is a toggle. in 8, it's a screen. we've discussed options like "add something to the end of asset URLs", but what's an asset url? or "put a placeholder in and fill it in later", but that either requires editing every asset's template or editing the behavior of getToolbar00:38
@preactionalternatively, i can ignore turning admin back off for now (which is the plan for the WUC) and find a way to make sure the user is in the admin mode, and if they're not switch it off automatically00:40
@preactionor, really, getToolbar only works when admin is on. so i could just edit it, no?00:41
@preactionand having that toolbar there does not preclude having inline-editable content00:43
@preactionanyway, to find out why the fuck editSave doesn't work anymore...00:44
@scrottiehrmmrm.00:46
@preactiongot it. stupid www_add v. www_edit thing00:47
@scrottieone shot deal -- "show edit widgets on this screen" ?00:47
@scrottieoh, wait, you're working on that too?00:47
@preactionthat's a possibility, but i was thinking more like amaya (the W3's HTML thing)00:47
@preactionyeah, for the moment00:47
@scrottieare you mucking around in these tests you pointed at me a couple days ago?00:47
@preactionno, i'm just getting some of the real code working to make sure the new content menu works correctly00:48
@scrottiealright.  no problem, just keep me appraised if you are and I can push stuff more aggressively.  though honestly you'd probably still just run circles around me.00:49
@preactionthe www_add / www_editSave API needs to be redone, but we don't have time before the WUC and I need it to work. which i'm liking a lot00:49
@preactionso we will no matter what need those tests00:49
@scrottieyeah.00:49
@preactionwww_add should instead of calling $newAsset->www_edit, get the $newAsset->getEditForm and send the result to the user. basically thus: www_editSave should not do both things: (1) save an asset (2) create a new asset (that should be www_addSave)00:50
* scrottie nods00:50
CIA-61webgui: Doug Bell WebGUI8 * r7dc57ce / lib/WebGUI/Asset.pm : allow both className (new) and class (backcompat) (+9 more commits...) - http://bit.ly/97nsWi01:01
CIA-61webgui: Doug Bell WebGUI8 * r6d6e576 / lib/WebGUI/Asset/Wobject/Article.pm : fix typo preventing Article from add/edit - http://bit.ly/bGjaCy01:03
-!- perlmonkey2 [~perlmonke@96.18.42.134] has joined #webgui01:34
-!- mode/#webgui [+v perlmonkey2] by ChanServ01:34
+perlmonkey2If I grab 8 from the repo, any chance I can get it up and running over a cell phone internet connection?01:35
@preactionthe repo is a pretty large download01:38
+perlmonkey2can't remember, are you on github now/01:38
+perlmonkey2?01:38
@preactionyes01:38
+perlmonkey2Is 8 a branch of webgui?01:39
@preactionyes, it's the WebGUI8 branch01:40
+perlmonkey2oh wow, github has these nice tools so I can figure this stuff out for myself without putting static on #webgui :{01:40
+perlmonkey2:P01:40
@preactionoh, another possibly fun project: http://github.com/preaction/webgui/tree/diff make the t/Asset/revisionChanges.t and t/VersionTag/changes.t tests work01:42
@preaction(add String::Diff to WebGUI 7.x to show changes between revisions and all changes in version tags)01:43
+perlmonkey2I'm not sure that qualifies as fun :P01:44
@preactionhence possibly01:45
@preactioni'd find it fun, but that's mainly because i'll be doing janitorial work for the next 6 months01:45
@preactionoh, 5 months01:45
+perlmonkey2All on 8?01:52
+perlmonkey2Just cleaning it up?01:52
@preactionyeah, those tickets on http://webgui.org/8 have to be closed01:53
@preactioncleaning up not 8, but rather cleaning up 7-0 for 801:53
@preactionevil constructs go away or at least better alternatives put in their place01:53
+perlmonkey2nice01:54
+perlmonkey2I'll try to get Plack up and running tonight and if so check out a ticket.01:54
+perlmonkey2perldreamer already pack it up for the day?02:00
@preactionprobably. had some early support calls, so probably took off early02:02
-!- waxhead [~pete@ppp121-45-217-60.lns20.cbr1.internode.on.net] has quit [Ping timeout: 258 seconds]02:03
+perlmonkey2I didn't realize he supported end users.  Cool.02:04
@preactionhe's a contractor for us, handling the PB support boards Wed-Fri (I got Mon-Tues now)02:05
+perlmonkey2JT give you lots of time to work on 8?  Or still working on 10 different things?02:06
@preactionstill working on 10 different things, just 7 of them are WebGUI 8 things02:07
+perlmonkey2hah, nice02:07
-!- waxhead [~pete@ppp121-45-217-60.lns20.cbr1.internode.on.net] has joined #webgui02:10
-!- waxhead [~pete@ppp121-45-217-60.lns20.cbr1.internode.on.net] has quit [Ping timeout: 240 seconds]02:20
-!- waxhead_ [~pete@ppp121-45-217-60.lns20.cbr1.internode.on.net] has joined #webgui02:36
CIA-61webgui: Doug Bell WebGUI8 * ra13fee0 / lib/WebGUI/AssetVersioning.pm : add getRevisionDates method - http://bit.ly/cqdE3T02:42
CIA-61webgui: Doug Bell WebGUI8 * rfd524c9 / lib/WebGUI/Session/Style.pm : add revisions to asset data in admin console - http://bit.ly/9Sw22302:42
CIA-61webgui: Doug Bell WebGUI8 * r0f9500b / (lib/WebGUI/AssetVersioning.pm lib/WebGUI/Session/Style.pm): fix my tyops - http://bit.ly/cqq5gt02:42
CIA-61webgui: Doug Bell WebGUI8 * r455f850 / www/extras/admin/admin.js : history now works. JS needs locale month names - http://bit.ly/cxxHiJ02:42
-!- waxhead_ [~pete@ppp121-45-217-60.lns20.cbr1.internode.on.net] has quit [Ping timeout: 265 seconds]02:48
@scrottieWebGUI::Asset::newById does (in part) return $class->new($session, $assetId, $revisionDate);  ... $class happens to be WebGUI::Asset::Wobject::Navigation.  a trigger in the property declaration templateId does a stack trace and tells me that field, templateId, just got zero'd out with that line of newById being the previous thing on the call stack.02:49
@scrottiethe property declaration for templateId specifies a default value.02:49
@scrottiemy Moose is weak.  is it normal for a call to a constructor to zero out default values from properties?  or am I reading this wrong?02:50
@preactionis it being set as "default" or as "defaultValue"?02:51
@preactionhm... 02:51
@scrottiedefault.02:51
@preactionno, it shouldn't be getting cleared out02:51
@preactionwhat does the database have for that field?02:52
@preactionperhaps the database has that field empty, and the database is overriding the default (when it should instead be the default)02:52
@scrottiesometimes it has the expected default value, some times it's blank.  I haven't found the pattern yet.02:52
@scrottiehrm.  it's creating the asset from scratch.02:53
@scrottieor I thought it was.02:53
@preactionnewById is getting it from the DB, only way to really create a new asset is to $parent->addChild02:54
@scrottieright.02:55
@scrottiehrm.02:55
@preactionbut good luck on the heisenbug02:57
* preaction calls it a week02:57
@scrottieWebGUI::Asset::addChild calls WebGUI::Asset::addRevision calls WebGUI::Asset::newById calls WebGUI::Asset::Wobject::Navigation::new...02:58
@preactionwait, addRevision calls newById?02:58
@scrottiealright, take it easy.  find a hammock in someone's backyard, preferably someone who also has beer in their fridge.02:58
@preactionthat doesn't sound right, but i don't have the wherewithal to know why02:58
@scrottieI didn't put that together until I said aloud that it was an asset being newly created.02:59
@scrottiecool.  I'll continue to play with it.02:59
@preactionHaarg or perlDreamer would be the best for that question. newById should function as newByDynamicClass used to (just named a lot better)02:59
Haargwhat is the actual bug being worked on?03:02
@scrottieNavigation loses its templateId... templateId goes undef.  www_view blows up.03:03
@scrottieperhaps other assets have the same problem.  this one just runs first in the tests.03:03
Haargwhich test is this?03:04
@scrottiehmm, it looks like addRevision, just a few lines down, goes on to try to stick correct information into the asset.  I was just confused about whether Moose was doing what it's supposed to be there... if that constructor call should be clearing out that property.03:04
@scrottieit's one of the Test::Class ones.  I haven't pushed my version up.  as I said yesterday, it looks like matt's script archive got microwaved and blew up.03:05
@scrottieI can push it up though.03:05
-!- perlmonkey2 [~perlmonke@96.18.42.134] has quit [Ping timeout: 265 seconds]03:06
@scrottieit isn't doing anything interesting at that point though... it's just calling addChild( { className => 'WebGUI::Asset::Wobject::Navigation' } ... )03:07
@scrottiewell, at the point that this trigger kicks in and gives me a stack trace.  then later it stumbles on that being undef and blows up.03:07
@scrottiebut now I'm realizing that perhaps it gets repopulated at that point and then later undef'ed again.  I'd really like someone to tell me if that's normal Moose behavior though... 03:08
@scrottie $class->new($session, $assetId, $revisionDate); ... for Navigation, should that cause a trigger to run for the templateId property that reports templateId being set to undef?03:09
@scrottieis there anyone in this room who sees this question and simply isn't sure of the answer?03:16
Haargfrom my reading of the code, the way it should work is that addChild uses newByPropertyHashRef to create an asset on memory without going to the database, using Moose's default initialization stuff.  then addRevision is called, which creates a record in the database and initializes an object from that (newById).  that object will have every property set as undef because that is what is in the database.  the previous in memory object then updates03:16
Haarg the values of the new object based on itself.03:16
Haargso the end result should be an object with the correct values and matching db info.03:16
Haargbut there would be an object created with all undefs along the way03:17
Haargmaybe that has something to do with your problem?03:17
Haargi'm not entirely clear on the exact issue you are hitting.03:17
@scrottiemaybe.  not sure.  I have to read through all of these trigger stack dumps.03:17
@scrottiewell, for the moment, my problem is this:  I'm wondering if calling ->new on WG::A::W::Navigation with four values should, as Moose is expected to work, cause default values in other fields to be overwritten with undef.03:18
Haargnot on the end result, no03:18
Haargare you specifically meaning calling ->new({property hash})?  that should be using moose's standard initialization stuff, which will use the default values, not undef.03:20
@scrottieaddRevision does that call.03:22
@scrottieI'm not clear on the semantics for when trigger runs.  the docs say it happens after the assignment.03:23
Haargassignment either by the initializer or by calling the setter.  but not due to the default value being evaluated.03:24
-!- carogray [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has quit [Quit: Leaving.]03:24
Haargmight help if you have something you can push.03:25
Haargthe way moose handles this stuff is pretty straight forward, but with all the extra crap we have for asset creation/initialization it makes it a mess to track through.03:26
-!- carogray [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has joined #webgui03:26
@scrottieyeah.  the least I can do here is pare this down to a simple, repeatable test.03:26
@scrottieright now I'm still trying to get a handle on this one.03:26
@scrottiehrm.  this is interesting.  should addChild(), in two different calls, return an asset of the same assetId?03:26
Haargnot unless you specify the asset id when calling it03:27
Haargpreaction, if might be good if there was stuff on the 8 tracker to mark things either as blocking 8.0 or as complete before 8.0 or not at all03:29
@preactionagreed. i'll add it to the tracker ;)03:30
@preactioni have to go and do that for 7.9 stable too, so monday03:31
@scrottieI'm going to afk a bit here to make a grocery store run... 03:42
@scrottiethink I've figured this one out.  simple, stupid, as usual.03:43
@scrottieI'll try to clean up tests and push that up tonight too.03:43
-!- perlDreamer [~colink@pool-173-50-255-102.ptldor.fios.verizon.net] has joined #webgui04:38
-!- mode/#webgui [+v perlDreamer] by ChanServ04:38
-!- daviddelikat [~user@h69-129-206-153.mdsnwi.broadband.dynamic.tds.net] has joined #webgui04:39
-!- perlDreamer [~colink@pool-173-50-255-102.ptldor.fios.verizon.net] has quit [Quit: Leaving.]04:55
-!- waxhead_ [~pete@ppp121-45-217-60.lns20.cbr1.internode.on.net] has joined #webgui04:56
-!- waxhead_ [~pete@ppp121-45-217-60.lns20.cbr1.internode.on.net] has quit [Ping timeout: 276 seconds]05:08
-!- waxhead_ [~pete@ppp121-45-217-60.lns20.cbr1.internode.on.net] has joined #webgui05:20
-!- fokat [~lem@190.72.138.110] has quit [Ping timeout: 276 seconds]05:40
-!- waxhead_ [~pete@ppp121-45-217-60.lns20.cbr1.internode.on.net] has quit [Read error: Operation timed out]05:43
-!- waxhead [~pete@ppp121-45-217-60.lns20.cbr1.internode.on.net] has joined #webgui05:44
-!- waxhead [~pete@ppp121-45-217-60.lns20.cbr1.internode.on.net] has quit [Ping timeout: 240 seconds]05:49
-!- daviddelikat [~user@h69-129-206-153.mdsnwi.broadband.dynamic.tds.net] has quit [Quit: Leaving.]06:05
-!- carogray [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has quit [Read error: Connection reset by peer]06:24
-!- elnino [~ninow@c-98-240-143-131.hsd1.mn.comcast.net] has joined #webgui06:31
elninoeoi06:31
-!- elnino [~ninow@c-98-240-143-131.hsd1.mn.comcast.net] has quit [Quit: Leaving]07:55
-!- waxhead [~pete@ppp121-45-217-60.lns20.cbr1.internode.on.net] has joined #webgui08:07
-!- waxhead [~pete@ppp121-45-217-60.lns20.cbr1.internode.on.net] has quit [Ping timeout: 276 seconds]10:46
-!- waxhead [~pete@ppp121-45-217-60.lns20.cbr1.internode.on.net] has joined #webgui11:02
-!- waxhead [~pete@ppp121-45-217-60.lns20.cbr1.internode.on.net] has quit [Ping timeout: 276 seconds]11:09
-!- xootom [5eaba154@gateway/web/freenode/ip.94.171.161.84] has joined #webgui11:11
-!- xootom [5eaba154@gateway/web/freenode/ip.94.171.161.84] has quit [Ping timeout: 252 seconds]11:29
@scrottie /data/WebGUI/lib/WebGUI/Asset/File/ZipArchive.pm needs a templateId.  '' ain't cutting it.12:40
* scrottie0 &12:40
@scrottiehttp://gist.github.com/512638 fwiw... current state of the Test::Class::Asset test.12:51
@scrottiedidn't quite get around to getting it fixed up.  got sidetracked some infrastructure that it turns out I didn't need to have... Plack form processing and the faked request stuff.12:52
-!- waxhead [~pete@ppp121-45-217-60.lns20.cbr1.internode.on.net] has joined #webgui13:20
-!- waxhead [~pete@ppp121-45-217-60.lns20.cbr1.internode.on.net] has quit [Ping timeout: 265 seconds]13:26
-!- waxhead [~pete@ppp121-45-217-60.lns20.cbr1.internode.on.net] has joined #webgui13:38
-!- carogray [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has joined #webgui14:48
-!- daviddelikat [~user@h69-129-206-153.mdsnwi.broadband.dynamic.tds.net] has joined #webgui15:17
-!- daviddelikat [~user@h69-129-206-153.mdsnwi.broadband.dynamic.tds.net] has quit [Quit: Leaving.]16:30
-!- xootom [5eaba154@gateway/web/freenode/ip.94.171.161.84] has joined #webgui17:28
-!- khenn [~frank@62.sub-75-207-38.myvzw.com] has joined #webgui17:37
-!- mode/#webgui [+o khenn] by ChanServ17:37
-!- khenn [~frank@62.sub-75-207-38.myvzw.com] has quit [Client Quit]17:38
-!- fokat [~lem@200.84.244.194] has joined #webgui17:45
-!- perlmonkey2 [~perlmonke@96.18.42.134] has joined #webgui17:57
-!- mode/#webgui [+v perlmonkey2] by ChanServ17:57
-!- daviddelikat [~user@h69-129-206-153.mdsnwi.broadband.dynamic.tds.net] has joined #webgui18:41
-!- daviddelikat [~user@h69-129-206-153.mdsnwi.broadband.dynamic.tds.net] has quit [Quit: Leaving.]18:51
+perlmonkey2Haarg: you around?  Question about W8.  You say you get 370 pages/s with PSGI and 430 with normal mod_perl?18:54
+perlmonkey2could someone check in the create.sql for 8?19:51
-!- daviddelikat [~user@h69-129-206-153.mdsnwi.broadband.dynamic.tds.net] has joined #webgui20:00
@scrottieperlmonkey2, you should be able to snag the latest of the 7.x create.sql and use that.  wgd reset will use that, run some upgrades, and it should be good to go.  or as good as it gets.20:36
+perlmonkey2scrottie cool, thanks.  The wre works with 8?20:38
@scrottiePSGI performance varies with which PSGI server you use.  some of them are light and small and have few or no deps.  but WebGUI 8 is also doing Moose.  I think it was preaction who had a PSGI branch apart from WebGUI 8.  you'd have to ask him about benchmarks on that.20:38
+perlmonkey2scrottie thanks again20:38
@scrottieperlmonkey2, it should, mostly, but I'm guessing that you'll have to add some more perl modules.  I have a hand-rolled dev environment.20:38
@scrottieno problem.20:38
+perlmonkey2Yeah, I think I'll skip the WRE for now.20:39
@scrottieglad to have help testing and playing with WebGUI8.20:39
+perlmonkey2heh, we'll see if I can even get it running first :P20:39
@scrottie>=)20:39
-!- xootom [5eaba154@gateway/web/freenode/ip.94.171.161.84] has quit [Ping timeout: 252 seconds]20:42
-!- perlmonkey2 [~perlmonke@96.18.42.134] has quit [Ping timeout: 248 seconds]21:08
-!- carogray [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has quit [Ping timeout: 265 seconds]21:09
-!- perlmonkey2 [~perlmonke@96.18.42.134] has joined #webgui22:00
-!- mode/#webgui [+v perlmonkey2] by ChanServ22:00
-!- perlmonkey2 [~perlmonke@96.18.42.134] has quit [Ping timeout: 265 seconds]22:09
-!- perlmonkey2 [~perlmonke@m345636d0.tmodns.net] has joined #webgui23:40
-!- mode/#webgui [+v perlmonkey2] by ChanServ23:40
-!- perlmonkey2 [~perlmonke@m345636d0.tmodns.net] has quit [Ping timeout: 265 seconds]23:53
--- Day changed Sun Aug 08 2010
-!- stDavid [~stDavid@static-72-64-138-146.tampfl.fios.verizon.net] has joined #webgui00:14
-!- perlmonkey2 [~perlmonke@m445636d0.tmodns.net] has joined #webgui01:29
-!- mode/#webgui [+v perlmonkey2] by ChanServ01:29
-!- perlmonkey2 [~perlmonke@m445636d0.tmodns.net] has quit [Ping timeout: 265 seconds]02:17
-!- khenn [~frank@38.109.178.3] has joined #webgui03:04
-!- mode/#webgui [+o khenn] by ChanServ03:04
-!- perlmonkey2 [~perlmonke@m345636d0.tmodns.net] has joined #webgui03:12
-!- mode/#webgui [+v perlmonkey2] by ChanServ03:12
-!- khenn_ [~frank@38.109.178.3] has joined #webgui03:27
-!- mode/#webgui [+o khenn_] by ChanServ03:27
-!- khenn [~frank@38.109.178.3] has quit [Read error: Connection reset by peer]03:27
-!- khenn_ is now known as khenn03:27
-!- scrottie [~scrottie@dsl01-ppp-5119.fastq.com] has quit [Ping timeout: 258 seconds]03:30
-!- scrottie [~scrottie@dsl01-ppp-5119.fastq.com] has joined #webgui03:43
-!- perlmonkey2 [~perlmonke@m345636d0.tmodns.net] has quit [Remote host closed the connection]03:57
-!- carogray [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has joined #webgui04:26
-!- khenn_ [~frank@38.109.178.3] has joined #webgui05:17
-!- mode/#webgui [+o khenn_] by ChanServ05:17
-!- khenn [~frank@38.109.178.3] has quit [Read error: Connection reset by peer]05:17
-!- khenn_ is now known as khenn05:17
@preactionpatspam is the one who's been running PSGI benches, last i knew he tweaked it up to a few thousand requests per second05:38
-!- carogray [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has quit [Quit: Leaving.]05:43
-!- waxhead [~pete@ppp121-45-217-60.lns20.cbr1.internode.on.net] has quit [Quit: Ex-Chat]10:35
-!- daviddelikat1 [~user@h69-129-206-153.mdsnwi.broadband.dynamic.tds.net] has joined #webgui11:17
-!- daviddelikat [~user@h69-129-206-153.mdsnwi.broadband.dynamic.tds.net] has quit [Ping timeout: 248 seconds]11:19
-!- scrottie [~scrottie@dsl01-ppp-5119.fastq.com] has quit [Ping timeout: 265 seconds]12:38
-!- scrottie [~scrottie@dsl01-ppp-5119.fastq.com] has joined #webgui13:03
-!- carogray [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has joined #webgui14:26
-!- khenn [~frank@38.109.178.3] has quit [Quit: khenn]15:39
-!- perlmonkey2 [~perlmonke@96.18.42.134] has joined #webgui16:14
-!- mode/#webgui [+v perlmonkey2] by ChanServ16:14
-!- ColinHarman [~ColinHarm@mail.blue-ridge.org] has joined #webgui16:17
-!- ColinHarman [~ColinHarm@mail.blue-ridge.org] has quit [Read error: Connection reset by peer]16:31
-!- ColinHarman [~ColinHarm@mail.blue-ridge.org] has joined #webgui16:31
-!- ColinHarman [~ColinHarm@mail.blue-ridge.org] has quit [Quit: ColinHarman]16:56
-!- ColinHarman [~ColinHarm@mail.blue-ridge.org] has joined #webgui16:56
+perlmonkey2kind of quiet in here on weekends.17:40
-!- carogray [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has quit [Ping timeout: 265 seconds]17:57
@preactionyeah, i don't work nearly as hard anymore18:31
-!- carogray [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has joined #webgui18:55
-!- perlmonkey2 [~perlmonke@96.18.42.134] has quit [Ping timeout: 265 seconds]19:46
-!- perlmonkey2 [~perlmonke@96.18.42.134] has joined #webgui19:49
-!- mode/#webgui [+v perlmonkey2] by ChanServ19:49
-!- ColinHarman [~ColinHarm@mail.blue-ridge.org] has quit [Quit: ZZzzzZzZzz...]20:09
-!- perlmonkey2 [~perlmonke@96.18.42.134] has quit [Ping timeout: 265 seconds]20:15
-!- stDavid [~stDavid@static-72-64-138-146.tampfl.fios.verizon.net] has quit [Quit: stDavid]21:31
-!- mode/#webgui [+o scrottie] by ChanServ22:19
-!- perlmonkey2 [~perlmonke@m3b5636d0.tmodns.net] has joined #webgui22:26
-!- mode/#webgui [+v perlmonkey2] by ChanServ22:27
+perlmonkey2How do I configure a site with plack?22:28
+perlmonkey2weird question22:30
+perlmonkey2ah, app.psgi holds the clue.22:31
+perlmonkey2holy moly, the new webgui site setup is sweet.22:35
@scrottiew00t!22:47
@scrottieyeah, plackup.  good old plackup.22:47
@scrottieI'm going to head out and do some errands and chores in a bit here then I'll probably coffee shop it later.22:48
-!- elnino [~ninow@c-98-240-143-131.hsd1.mn.comcast.net] has joined #webgui23:06
+perlmonkey2hmm, was running on the latest 7 db, with plack, then updated to the 8 db, and now the admin isn't working.23:16
+perlmonkey2ah, bad session23:17
-!- zylopfa [~zylopfa@0x555116f0.adsl.cybercity.dk] has joined #webgui23:22
-!- scrottie [~scrottie@dsl01-ppp-5119.fastq.com] has quit [Ping timeout: 265 seconds]23:23
zylopfaGreetings, anyone know how i return an asset (which is a pdf file in this case), with the content type app/pdf, instead of getting the container asset with a link to the file23:24
zylopfadoing something like this:23:25
zylopfaadela/anders-de-la-cour-nyhedsbrev/7-skridt-til-omsaetning.pdf23:25
zylopfa             my $asset = WebGUI::Asset->newByUrl($session,"linkto/file.pdf");23:25
zylopfa             if (defined $asset) {23:25
zylopfa                  $session->asset($asset);23:25
zylopfa                  $asset->prepareView();23:25
zylopfa                  my $output = $asset->view;23:25
zylopfa                  return $output;23:25
zylopfa                }23:25
-!- perlmonkey2 [~perlmonke@m3b5636d0.tmodns.net] has quit [Remote host closed the connection]23:48
--- Day changed Mon Aug 09 2010
-!- elnino [~ninow@c-98-240-143-131.hsd1.mn.comcast.net] has quit [Quit: Leaving]00:08
-!- perlmonkey2 [~perlmonke@96.18.42.134] has joined #webgui00:36
-!- mode/#webgui [+v perlmonkey2] by ChanServ00:36
+perlmonkey2Anyone have any good recommendations for books?00:53
zylopfaWhat topic?00:54
+perlmonkey2zylopfa: I read just about everything00:56
zylopfaTry "The Creature from Jekyll Island", awesome book but a little brick like. But don't let that scare you00:57
+perlmonkey2A book about the Fed?00:58
+perlmonkey2Not out for the kindle yet, I'll put it on my wish list.00:59
zylopfaI read it in 3 sittings, its very well written00:59
+perlmonkey2Sounds a little conspiracy theory-ish, but it should be a fun read.01:01
zylopfayeah it is somewhat but when you read it you get your doubts01:02
+perlmonkey2hah, I already have my doubts.  But the culprit is more often plain incompetence than conspiracy :P01:03
zylopfahaa yeah you might be right there01:04
zylopfayou always have to judge for yourself, both sides.01:04
+perlmonkey2anyone know of a good example of the 8 branch using the plack interface?01:14
+perlmonkey2wha?  if ($path =~ qr{^/abcdefghijklmnopqrstuvwxyz$}) {01:17
+perlmonkey2hahahahah http://localhost:5000/abcdefghijklmnopqrstuvwxyz  01:18
+perlmonkey2pretty cool bit of example code01:19
-!- zylopfa [~zylopfa@0x555116f0.adsl.cybercity.dk] has quit [Quit: Leaving]01:53
-!- perlmonkey2 [~perlmonke@96.18.42.134] has quit [Ping timeout: 240 seconds]02:16
CIA-61webgui: Colin Kuskie master * r7a21887 / (2 files in 2 dirs): Fix a bad call to quote_identifer. Fixes bug #11766. - http://bit.ly/cylIPk02:29
-!- perlmonkey2 [~perlmonke@96.18.42.134] has joined #webgui02:56
-!- mode/#webgui [+v perlmonkey2] by ChanServ02:56
-!- carogray [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has quit [Ping timeout: 245 seconds]03:03
-!- perlDreamer [~colink@pool-173-50-255-102.ptldor.fios.verizon.net] has joined #webgui03:59
-!- mode/#webgui [+v perlDreamer] by ChanServ04:00
-!- daviddelikat1 [~user@h69-129-206-153.mdsnwi.broadband.dynamic.tds.net] has quit [Quit: Leaving.]04:02
-!- perlmonkey2 [~perlmonke@96.18.42.134] has quit [Ping timeout: 248 seconds]04:07
-!- perlmonkey2 [~perlmonke@96.18.42.134] has joined #webgui04:39
-!- mode/#webgui [+v perlmonkey2] by ChanServ04:39
+perlDreamerhow hackest thou, perlmonkey2?04:45
+perlmonkey2perlDreamer: hah, well I got plack up and running and have been piddling trying to see how it works with apache.04:45
+perlmonkey2I know through mod_perl, etc, but trying to figure out how to configure that.04:46
+perlDreamerI haven't gone beyond fixing and writing API04:46
+perlmonkey2was just looking through tickets for something to start poking at when you yelled.04:46
+perlDreamerI've been working on removing Class::InsideOut, but as far as a I know, everything else is fair game04:47
+perlmonkey2This progressbar one looks simple enough.04:47
+perlmonkey2perlDreamer: if we're touching code, are we also moosifying it?05:11
+perlmonkey2Wait, is the plan for starman to replace apache?05:18
+perlmonkey2or at least mod_perl?05:22
-!- perlmonkey2 [~perlmonke@96.18.42.134] has quit [Ping timeout: 265 seconds]05:51
-!- perlDreamer [~colink@pool-173-50-255-102.ptldor.fios.verizon.net] has quit [Quit: Leaving.]06:43
-!- waxhead [~pete@ppp121-45-217-60.lns20.cbr1.internode.on.net] has joined #webgui06:51
-!- scrottie [~scrottie@dsl01-ppp-5119.fastq.com] has joined #webgui08:16
-!- kaare [~kaare@langebro.adapt.dk] has joined #webgui08:28
-!- kaare is now known as Guest6857108:29
-!- Guest68571 is now known as kaare_10:35
-!- mode/#webgui [+o scrottie] by ChanServ10:35
-!- carogray [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has joined #webgui12:06
-!- carogray [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has quit [Read error: Connection reset by peer]12:25
-!- waxhead [~pete@ppp121-45-217-60.lns20.cbr1.internode.on.net] has quit [Read error: Connection reset by peer]12:44
-!- waxhead [~pete@ppp121-45-217-60.lns20.cbr1.internode.on.net] has joined #webgui12:49
-!- carogray [~Caroline@108.110.52.157] has joined #webgui13:02
-!- waxhead [~pete@ppp121-45-217-60.lns20.cbr1.internode.on.net] has quit [Quit: Ex-Chat]13:16
-!- waxhead [~pete@ppp121-45-217-60.lns20.cbr1.internode.on.net] has joined #webgui13:18
-!- zylopfa [~zylopfa@0x555116f0.adsl.cybercity.dk] has joined #webgui14:07
zylopfaHello Webguians14:07
@scrottieheya zolopfa14:39
zylopfascrottie, do you know how i make a Content handler to return a pdf file and not just a link to it14:45
zylopfalike i have  track something in the content handler and then serve the pdf file directly14:45
-!- carogray [~Caroline@108.110.52.157] has quit [Read error: Connection reset by peer]14:46
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has joined #webgui15:14
@scrottieWebGUI::Asset::File, at the end of the source, has an example of sending a file, but I don't know if that would interact badly in the case of a content handler.  I suspect it would interact badly.15:24
-!- daviddelikat [~user@h69-128-106-50.mdsnwi.dedicated.static.tds.net] has joined #webgui15:26
zylopfaI think its what i am looking for! thanks a lot15:39
@scrottiehey, no problem.  let me know how that comes out.  I'm curious.15:45
zylopfasweet thanks i will15:45
-!- perlmonkey2 [~perlmonke@m475636d0.tmodns.net] has joined #webgui15:59
-!- mode/#webgui [+v perlmonkey2] by ChanServ15:59
-!- waxhead [~pete@ppp121-45-217-60.lns20.cbr1.internode.on.net] has quit [Quit: Ex-Chat]16:17
-!- kaare_ [~kaare@langebro.adapt.dk] has quit [Remote host closed the connection]16:21
+perlmonkey2what's the word16:40
SDuensinMorning.16:40
SDuensinConfusion.  :-)16:40
SDuensinBeen trying to get a cluster running.  Seems to run.  VMs won't start.  No idea.16:41
@scrottiemm?  what kind of cluster?16:46
SDuensinGaneti16:57
+perlmonkey2with starman wg will be si much easier to deploy. hobbyist can easily use it now17:29
zylopfaHaa nice17:42
zylopfaI hope there will be a new developer book with webgui 917:43
zylopfa817:43
-!- Radix_ [quasselcor@203.161.71.161.static.amnet.net.au] has quit [Quit: No Ping reply in 180 seconds.]17:43
-!- Radix_ [quasselcor@203.161.71.161.static.amnet.net.au] has joined #webgui17:43
-!- mode/#webgui [+v Radix_] by ChanServ17:43
-!- Radix_ [quasselcor@203.161.71.161.static.amnet.net.au] has quit [Client Quit]17:47
-!- Radix_ [quasselcor@203.161.71.161.static.amnet.net.au] has joined #webgui17:47
-!- mode/#webgui [+v Radix_] by ChanServ17:47
-!- fokat [~lem@200.84.244.194] has quit [Quit: Ex-Chat]17:50
-!- Radix_ [quasselcor@203.161.71.161.static.amnet.net.au] has quit [Client Quit]17:51
-!- Radix_ [quasselcor@203.161.71.161.static.amnet.net.au] has joined #webgui17:51
-!- mode/#webgui [+v Radix_] by ChanServ17:51
-!- perlDreamer [~colink@pool-173-50-255-102.ptldor.fios.verizon.net] has joined #webgui18:07
-!- mode/#webgui [+v perlDreamer] by ChanServ18:07
-!- perlmonkey2 [~perlmonke@m475636d0.tmodns.net] has quit [Quit: -a-]18:19
-!- perlmonkey2 [~perlmonke@m475636d0.tmodns.net] has joined #webgui18:20
-!- mode/#webgui [+v perlmonkey2] by ChanServ18:20
+perlDreamerI feel like I'm in a demented version of that old Dunkin' Donuts commercial18:22
+perlDreamer"Time to fix the bugs"18:22
+perlmonkey2better than what im doing18:27
+perlDreamerokay, perlmonkey2, I'll bits.  What are you doing?18:29
+perlDreamers/bits/bite18:29
+perlmonkey2db2 hell.18:30
+perlmonkey2at a 1000% ibm shop and i want to crawl under my desk.18:31
+perlDreameras long as Mrs. Monkey2 is there with you, it sounds like a good idea18:32
+perlmonkey2no have an office now. strict network rules so no im irc from work pc.18:33
+perlmonkey2i mean an office that isnt 20 feet from my wofe18:34
+perlDreameri c18:36
+perlmonkey2yes i broke down and got a real job. dont ever do it.18:37
+perlDreamerGots to pay the bills and feed the goats somehow18:41
zylopfadoes anyone know how i can feed a file to the user, i wanna let him click a link (to a Contenthandler). that will do some logging and then serve him a pdf file18:41
zylopfaIts something with sending the mime type and then the streaming of the date18:41
zylopfadata18:42
+perlDreamerzylopfa, checkout Content/Asset, and search for the string "stream"18:42
+perlDreamerit should show you how to do that18:42
+perlDreamerbut, you shouldn't need a custom content handler to do that18:42
zylopfayou are a pal!!18:42
zylopfaThe content handler does more18:43
+perlDreamerokay18:43
zylopfaits kind og a newsletter thing18:43
@preactionit's a good WebGUI day!18:44
zylopfaAlways!18:46
zylopfabut what particular has happend this day Sir?18:46
@preactionwell, every day is a good WebGUI day, so today is a good WebGUI day18:46
+perlDreamerGood morning, preaction!  You're bright and chipper today.18:46
@preactionbetter than the alternative18:47
zylopfayeah true preaction 18:47
@preactionplus, we get to prioritize the bug lists today18:47
+perlDreamernow, go throw down some java, eat some chow, and LOOK AT MY ACCURSED, WRETCHED dispatch branch18:47
+perlDreamerplease :)18:47
@preactionand there was some other important thing i needed... right! evaluate the dispatch stuff18:47
zylopfaWould it be a good idea to make Content handlers configurable like Wobjects?18:48
@preactioner.. your webgui is forked from pdonelan's?18:48
+perlDreamerit was originally18:48
@preactionzylopfa: what do you mean? you mean like a definition sub?18:48
@preactionahh18:48
zylopfayeah preaction 18:48
@preactionzylopfa: no. content handlers, the entire list is potentially run through every request18:48
+perlDreamerooh, just thought of another good one for dispatch!18:49
+perlDreamerCSV export18:49
@preactionso having to look up properties from the database is very bad18:49
zylopfaSweet18:49
zylopfathanks preaction 18:49
zylopfayeah you are totally right18:49
@preactionzylopfa: are you trying to do the Subscription Code thing? or is that some other dude?18:49
+perlDreamerhmm, CSS specificity says that IDs have higher priority than classes, yes?18:51
@preactionyes18:51
zylopfahttp://webgui.pastebin.org/462113 preaction 18:52
@preactiongoogle "css specificity", it's a bit complex18:52
zylopfaI am making a kind of newsletter handler, that handles signups and confirmation email and logging of who read it and stuff like that18:52
@preactionzylopfa: that looks like a wizard. are you using 7.9? look at WebGUI::Wizard, it's a nice little framework for multi-step processes like this18:53
+perlDreamerzylopfa, it also sounds like the Newsletter Asset18:53
zylopfaohh nice!18:53
zylopfaI dont like the Newsletter asset, cause i dont understand it18:53
zylopfaIts chained to the Collaboration system18:53
zylopfaand I dont understand the mechanics18:53
zylopfahow you can make a collaboration system into a newsletter18:53
zylopfaI think basically its posting to the subscribers when there is a new thread started18:54
+perlDreameryes, that's exactly what it does18:54
zylopfaBut I think its too complex for making18:54
@preactionyou can e-mail in to the collab system18:55
@preactionthe madmongers.org collab never gets posted to, it just handles mail dispatch18:55
zylopfayeah preaction thats a good thing, I made a pop3 mail system using some of that 18:55
zylopfaI should really upgrade my production WebGUIS18:56
zylopfabut the most that i am afraid of is ruining the Collaboration systems on the sites18:56
zylopfaI guess all i gotta do is read the gotchas18:56
zylopfaIs there a way that you just install the newest webgui and then importing the old data?18:57
@preactionwe haven't had any huge regressions causing data loss in years, and there are currently none in the entire upgrade path from 5.8 to 7.918:57
zylopfaSick preaction , I have had some strange errors though when upgrading, something with Feed workflows making errors18:58
zylopfahttp://webgui.pastebin.org/462139 these errors i get all the time as it is18:59
zylopfaThere isnt any syndicated content on the sites atm18:59
@preactionthe "Could not instantiate object" was a bug that was fixed19:00
zylopfaohh nice19:00
zylopfaI might fix it if i upgrade?19:00
@preactionwhat version are you running?19:00
zylopfa7.6.35-stable on that pastebin i posted19:01
@preactionyeah, i think i remember there were some latent bugs in the 7.6 series that were not fixed before 7.7 went stable19:02
@preactionthere's a community (read: perlDreamer) released 7.6.35.219:02
zylopfahaa!19:02
zylopfaI am very annoyed with errors in the logs, but most they come when i upgraded19:03
zylopfaBut I will try to rid them away now19:03
zylopfaWe have to fix pagination also19:03
zylopfain all the assets using it19:03
+perlDreamerwhat's wrong with pagination?19:04
zylopfaif you got 2 assets that paginates on the same page, one of them shows nothing19:04
zylopfaif you go to page 2 on one of them19:04
zylopfabecause the pagination variables are the same19:04
@preactionno, because you've left the page layout asset19:04
@preactionlook up "asset focus" in the webgui wiki19:05
+perlDreameryes19:05
@preactionperlDreamer: we do have an asset focus FAQ in the wiki right?19:05
+perlDreamerI don't know, preaction19:05
zylopfaI have a page where it does just that preaction 19:05
+perlDreamerit may be mentioned in some of the articles, but I don't think we have a specific page for that19:05
zylopfaAnd i posted the error some time ago then one asset was changed but it needs to be done in all that use pagination19:06
zylopfaSay if you go to this site:19:06
zylopfahttp://zyloshand.globalcontrol.biz/forum/zylos-hand-forum/general-forum?pn=219:06
zylopfathen you can see the tagwall in the top right shows nothing19:07
@preactionahh19:07
zylopfacause it thinks its being paginated19:07
zylopfawhen its the other asset which is19:07
@preactionperhaps instead for that tagwall you'd like the Chatbox asset? is designed for just that19:07
zylopfayeah I thought of that also19:07
zylopfaBut it doesn't solve the problem!!19:08
@preactionit's not in core webgui yet, there are some things it needs, but it works perfectly19:08
@preactionno, not in webgui, but it solves your problem19:08
zylopfaawesome i saw it on the bazaar i think19:08
zylopfaShould we fix it in webgui?19:08
@preactioni have a better solution to the problem, collab/2 with the new asset dispatch19:08
@preactionno more ?pn=19:08
zylopfaohh nice19:08
+perlDreamerpagination!  yeah, totally19:08
@preactionthat's the problem: we use too much ?query= params. way too much19:09
zylopfahaa yeah19:09
@preactionzylopfa: yes, is on bazaar, but that's older version probably than the one in my github: github.com/preaction19:09
zylopfaSweet thanks!19:09
@preactionand if you want it in the core and can do a little bit of work, we can help with what little needs to be done (i18n some and testing some other)19:10
@preactionperlDreamer: you're quite lacking in comments, but i'll add some19:10
zylopfaI can do the i18n19:10
zylopfaI have to learn testing, it seems very arcane to me 19:11
+perlDreamerThe code is self-documenting, and needs no comments19:11
zylopfaI have read the developer guide many times 19:11
@preactionriiiiiiiiight19:11
@preactionperlDreamer: i'm thinking mainly for those who don't know what "func" does. 19:11
-!- perlmonkey2 [~perlmonke@m475636d0.tmodns.net] has quit [Read error: Connection reset by peer]19:11
-!- perlmonkey2 [~perlmonke@m475636d0.tmodns.net] has joined #webgui19:12
-!- mode/#webgui [+v perlmonkey2] by ChanServ19:12
zylopfaOutch19:12
+perlDreamerzylopfa is right.  If you don't know what func does, then you shouldn't be messing around with dispatch, Content/*.pm19:13
zylopfahaa yeah, I do know it though19:13
@preactionbut you should be able to LEARN from the code19:13
zylopfait propably gets picked up by the Asset thinkn in Contenthandlers19:13
zylopfaand then works on that asset19:13
zylopfain the url19:13
+perlmonkey2perlDreamer can i pm u?19:16
+perlDreameranytime, dude19:16
zylopfaguys when upgrading should i do 1 release at a time? Or from one minor version to the next?19:18
+perlDreamerif by minor, you mean from 7.6 to 7.7, then yes19:19
zylopfayeah19:19
+perlDreamerhowever, stop versions may require extra stopping points19:19
+perlDreamercheck out the stop versions page in the wiki for the list of known ones19:19
zylopfathanks a lot Sir19:19
zylopfaBacking up before upgrading is your friend ;D19:29
@preactionthe upgrade.pl will do it for you, but you should backup /data/WebGUI as well19:30
zylopfajust taring everything from /data/* manually also19:30
+perlmonkey2will wg have a packaged config for a proxy server? if so nginx?19:32
+perlmonkey2in 819:32
zylopfaDoes captchas get cached? Just backing up and see i got like 10.000 captcha.something.gif on one of my sites19:32
zylopfa:O they are still running over the tar output19:33
zylopfathats strange19:33
zylopfathey are located in public/uploads/temp19:34
@preactiontemp is cleared out every 24h19:34
zylopfathats crazy they are still running19:34
zylopfaisnt 10k a lot of captchas?19:34
@preactionone is created anew for each request19:35
zylopfaok then i think its good i upgrade doesn't seem to have run it then19:36
-!- perlmonkey2 [~perlmonke@m475636d0.tmodns.net] has quit [Read error: Connection reset by peer]19:36
-!- perlmonkey2 [~perlmonke@m475636d0.tmodns.net] has joined #webgui19:37
-!- mode/#webgui [+v perlmonkey2] by ChanServ19:37
+perlDreamerHaarg: would you accept a patch that changes the default behavior of wgd ls?19:43
+perlDreamerI'd like wgd ls to work more like /bin/ls, where it displays the requested "file" if it isn't a directory (doesn't have children)19:43
Haargmaybe19:44
Haargcan you give me an example where that is important to do?19:45
+perlDreamerI want to see if an asset exists in a site19:45
+perlDreamerso i tried to do wgd ls root/import/default-asset-subsciption19:45
+perlDreamerthat returned nothing, since it doesn't have children19:45
+perlDreamermaybe I'm going about it the wrong way?19:45
Haargi have a couple thoughts19:47
Haargfirst is that it should be setting the error code on exit if it isn't found, but it doesn't seem to be19:48
Haargso that should be fixed19:48
+perlDreamerwell, it is found19:48
Haargyeah, but for something that doesn't exist19:48
Haargi don't really like the idea that you proposed because it is inconsistant19:48
Haargunfortunately assets can't quite be treated the same as file system entries19:49
Haargis this for something you are trying to script?19:50
+perlDreamerI wanted to check lots of sites, to see if they have that asset or not19:51
+perlDreamermaybe by using wgd for-each19:53
+perlDreamerbut that's not that useful either, since you can't tell which output comes from which site19:54
Haargyes you can19:54
Haargwgd for-each -p -w'ls root'19:54
CIA-61webgui: Colin Kuskie master * ra1b1eaf / (2 files in 2 dirs): Add the default email subscription template again, since it seems to be missing from the 7.8 sites that got upgraded. - http://bit.ly/b6tSLL20:20
zylopfaNow we are upgrading!!20:35
* perlDreamer says sheepishly, "Thanks, Haarg"20:35
zylopfahaa ;D20:35
zylopfaIts good advice and help from this irc channel20:35
-!- perlmonkey2 [~perlmonke@m475636d0.tmodns.net] has quit [Quit: -a-]20:36
Haargmight make sense to update the documentation to make that type of use more obvious20:37
-!- perlmonkey2 [~perlmonke@m375636d0.tmodns.net] has joined #webgui20:37
-!- mode/#webgui [+v perlmonkey2] by ChanServ20:37
-!- seriftron [~tessa@97.66.185.250] has joined #webgui20:38
+perlDreamerI like -0 even better than -p, since I can post process with grep/ack/perl20:39
seriftronis there a way to access custom metadata fields for an asset via template loop? using the collaboration system in this case...i'd like to retrieve metadata values i've set on threads in the main collaboration system template.20:40
@scrottielots to read this morning..20:42
+perlDreamerseriftron, in the thread display (main CS view template), you get all asset properties, and keywords20:42
+perlDreamerno metadata20:42
+perlDreamera small macro would do it, but it would have to be written from scratch20:42
@preactionseriftron: that doesn't mean it can't be added, of course20:43
seriftroni guess it would be similar to the Page macro (which can access metadata values) and i could pass in the field name and assetid20:43
@preactioni think we should improve how metadata works. it's generally useful, especially when all you need to do is add a few extra fields to a Post or something20:43
seriftronright, we run into this with our clients a lot. we get most of what we need from the asset out of the box, with the exception of a few custom fields that we need to be able to access easily20:44
+perlDreamerthat sounds more like the "userDefined fields in every asset" RFE20:45
+perlDreamerwould that work for you, seriftron?20:46
+perlDreamercome to think of it, userDefined fields should be available in the CS template, now20:46
+perlDreamerhowever, they're not in the default templates20:46
seriftroni believe so. what is the difference between userDefined fields and metadata?20:47
@preactionright, but userDefined fields require a large amount of setup by a technical user. metadata is done by content managers, which are the people who need the metadata20:47
@preactionthey're both technically metadata20:47
+perlDreamerbefore metadata, there was userDefined fields20:47
+perlDreamerthey only exist in a few assets20:47
+perlDreamermetadata exists everywhere20:47
zylopfaLads I was wondering something, you know Form Controls20:48
+perlDreamermetadata has to be enabled, and it can impact a site's performance20:48
@preactionand then if form fields were configurable, you could do very fun things like have a JsonTable field with defined columns, or a DataTable metadata field20:48
@preactioneverything impacts performance :p20:48
zylopfaI made new ones but i have to "Hack" at the Dataform asset to be able to use it in them20:48
@preactionbut i'm just trying to talk to some people about why we're losing to Drupal, and I suspect Metadata and Taxonomy are two big reasons20:48
+perlDreamerzylopfa, there's an RFE to switch the DataForm to use DynamicField instead of hardcoding the usable fields20:49
+perlDreamerTaxonomy?20:49
zylopfaahh nice20:49
seriftronit sounds like userDefined fields would be appropriate. can someone explain how to set those up? i haven't found much on the subject in the wiki20:50
+perlDreamerseriftron, for the CS, it's just template variables20:50
+perlDreameryou'd add them to the appropriate template, Post Edit form, Thread view, CS view, etc.20:50
+perlDreamerthey're documented in the online help20:50
seriftronthanks, i'll take a look20:52
+perlDreamerpreaction: re performance, when Metadata is enabled, every page hit incurs an extra write, since it's tracking which assets' metadata is the most popular20:54
+perlDreamerso, it's a little bigger than userDefined fields :)20:55
@preactionthat could be enabled/disabled. that particular tracking thing20:59
+perlDreamerdefinitely21:02
zylopfaYESS!! Just upgraded to the latest webgui and errors seems to have vanished21:08
-!- perlmonkey2 [~perlmonke@m375636d0.tmodns.net] has quit [Ping timeout: 245 seconds]21:19
-!- perlmonkey2 [~perlmonke@m475636d0.tmodns.net] has joined #webgui21:20
-!- mode/#webgui [+v perlmonkey2] by ChanServ21:20
-!- perlmonkey2 [~perlmonke@m475636d0.tmodns.net] has quit [Client Quit]21:22
zylopfado you guys know if the fine survey wobject needs new browsers when creating new surveys?21:23
+perlDreamernew browsers?21:27
zylopfawhen i use it here it only says "Loading..."21:28
zylopfawhen i get into editing the survey itself21:28
zylopfaI could try it on the test site i guess to see if its my webgui install21:28
+perlDreamercheck the webgui log for errors, and set the logging level to something like INFO, or DEBUG for a little while21:30
+perlDreamerSurvey is still beta21:30
zylopfaDamn nothing on my site, only info , no errors. Works on the webgui demo site21:31
zylopfaI am using the same version as the demo site on webgui.org21:32
-!- seriftron [~tessa@97.66.185.250] has left #webgui []21:33
zylopfaLooks totaly awesome the new survey thing, but cant work other than on the demo site :(21:35
@scrottiedammit, I go all week without checking email and that's the week that everyone decides to email me urgent questions.21:35
@scrottieI thought skype was quiet.21:35
zylopfahaa damn it scrottie 21:36
@scrottiethree communications channels is one too many.21:36
@preactioni've got them all trained to do e-mail rather than skype. skype requires me to derail and drop everything21:36
zylopfayeah its no good when you code21:36
@scrottiethat's true but I didn't have them trained and this change caught me by surprise.21:37
@preactionespecially when it's "how do i use 'patch' again?"21:37
zylopfalike this: man patch21:37
+perlDreamerpatch -q1 < some.patch; #crap; call preaction on skype21:39
zylopfaanyone know if the Survey wobject is different on the webgui demo site than the 7.8.24 stable?21:40
+perlDreamerthey should be the same21:40
zylopfaI am unable to get to func=editSurvey mode21:40
zylopfait just stands in the loading screen21:40
zylopfano errors in the log even with debug level logging21:40
+perlDreamerrestarted the server after changing the log level?21:41
@scrottieWebGUI/Asset/File/ZipArchive.pm ... WebGUI8... is it just me or is the templateId default actually specified as ''?  if so, this makes me wonder if this is perhaps _not_ supposed to blow up on templates it can't find?  if not, does anyone have a suggestion for which template should be used, or, alternatively, a heuristic for deciding which template should be plugged into there?21:41
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has quit [Read error: Connection reset by peer]21:42
+perlDreamerscrottie, look for all templates with the namespace ZipArchive21:42
zylopfayeah its default to ''21:42
+perlDreamerset the default to that21:43
zylopfayou propablt should create a new template with namespace ZipArchiveAsset21:43
+perlDreameryeah, what zylopfa said21:43
zylopfamostly the wobjects come with default templates though but this one has none it seems21:44
zylopfacontrols,error,fileUrl,fileIcon,pageError,noInitialPage,noFileSpecified is the template variables you can use21:45
@scrottieI'm going to take it that it should blow up when no or an invalid template is specified.21:45
zylopfayeah it will21:45
+perlDreamerscrottie, blowing up would be bad21:45
+perlDreamerit won't do that in 7.x21:45
zylopfa"couldn't initialize template" or so21:45
zylopfain the error log21:45
@scrottiewell, it raises an exception.21:45
+perlDreamerthen that exception needs to be trapped and handled21:45
@scrottieokay.  I think I shall do that after I try to fix what I can of these dangling template references.  this is good for debugging.21:46
zylopfayeah it doesnt seem to test for the templateId if its defined21:46
+perlDreamerscrottie, what I recommend is: file a bug for the missing default against 7.x21:46
@scrottiezylopfa, I saw some code in there for that but it isn't entirely working.21:46
+perlDreamerand then in 8, fix the lack of exception handling in the Form plugin21:46
* scrottie nods slowly. and drools.21:47
* perlDreamer passes scrottie a hankie21:47
zylopfaIn the prepareView sub, it just assign the templateid, but not checking if its set21:47
+perlDreamerthat's another bug21:48
+perlDreamerit should throw a TemplateNotFound exception21:48
zylopfascrottie, what version are you using of webgui?21:48
+perlDreamer821:48
zylopfaI dont see anything there at all that test for the templateId is defined21:48
zylopfaThe Asset.pm will propablt write an error in the logfile21:49
+perlDreamerZipArchive is a pretty rare asset21:49
-!- perlmonkey2 [~perlmonke@m475636d0.tmodns.net] has joined #webgui21:51
-!- mode/#webgui [+v perlmonkey2] by ChanServ21:51
@scrottie"newById must get an assetId" ... /data/WebGUI/lib/WebGUI/Asset.pm line 1774 ... is how it blows up for me when a template doesn't exist.  at the very least, that isn't particularly descriptive ;)21:51
zylopfaI tried to put a ZypArchive on the testsite21:52
zylopfawithout changing anything21:52
-!- perlmonkey2 [~perlmonke@m475636d0.tmodns.net] has quit [Client Quit]21:52
@scrottieWebGUI::Error::InvalidParam->throw(error => 'newById must get an assetId');21:53
zylopfaSeems just to take "Default Zip Archive" template21:53
zylopfaDont know if Asset.pm just finds the first template in the namespace and assigns it21:54
@scrottiethanks for the suggestions and comments.21:54
zylopfaif none is selected21:54
@scrottiedoesn't seem to.  reading through the codepath, I didn't see anything about template namespaces.  time to go rtfm =)21:54
zylopfaIn the code its set to ''21:54
zylopfascrottie, 21:56
zylopfaIn Asset.pm in line 234921:57
@scrottiehuh?21:58
@scrottiewhat sets what to?21:58
zylopfaNaa nothing there 21:59
zylopfamust be done in the asset edit form21:59
zylopfascrottie, i figured it out22:25
zylopfaWebgui/Form/Template22:25
zylopfa.pm22:25
zylopfaLine 172, the formfield for 'template' gets all templates for the namespace and populate the selectbox22:26
zylopfawhen you save a ZipArchive, that has not got a default template you just get the first template in the namespace defined in teh ziparchives definition22:27
zylopfaHOWEVER! If there weren't any templates in the import branch or anywhere else from the start, you would get unhandled errors22:28
@scrottiewhat's happening in this case is a little more primitive.  a test suite creates an instance of every sort of object (or some approximation thereof), performs a simple edit on it, and renders the result.22:33
@scrottieno user interaction required, and no speculation needed about possible codepaths.22:34
zylopfaahh ok scrottie, the reason it works is cause of the Template.pm form field though22:34
@preactionworks or fails, whichever22:35
@scrottieI know what's going wrong... the question is just how this case should be handled (don't blow up on lack of template, how to decide which template to stick in there if one goes in there)22:35
@preactionthe form field shouldn't blow up on lack of template, it should just pick the first one (so, no value at all)22:35
zylopfayou can do like: my $templateList    = WebGUI::Asset::Template->getList( $session, $self->get( 'namespace' ), $onlyCommitted );22:36
zylopfayou got the namespace from the Asset22:36
@scrottiepreaction, wait, during www_view, if there's no template, it should pick one out, on the spot?22:36
zylopfaand from the list created there use the first template22:36
@preactionlack of template can happen multiple times, one of which is "template got deleted but is still referenced by assets". this is usually a huge problem that we try to protect against, but it should not prevent the user from changing the template in the asset (otherwise can't fix the problem)22:36
@preactionohhh22:36
@preactionthat22:36
zylopfaif there isnt defined a defalut for the asset22:36
@preactionno, during www_view if there's no template it should throw the appropriate WebGUI::Error::ObjectNotFound::Template or whathaveyou22:37
zylopfayeah22:37
@scrottieahh.  alright.22:37
zylopfathe reason it works from the web is cause of the selectbox created by Template.pm in the /webgui/forms22:37
zylopfait takes the first template in the namespace and assigns that to the new assets templateid22:38
@scrottiepreaction, yeah, a while ago in scroll I noted that ZipArchive's property for templateId had a default of '' and wondered if, given that, blowing up on lack of template was the right thing to do (eg, in the case of creating a ZipArchive from scratch in a test suite and then rendering it)22:38
@scrottiezylopfa, I'm not doing any of that right now.  I probably should be.  but I'm not.22:39
@preactionziparchive doesn't have a template, and shouldn't have a templateId afaik... ziparchive works... weirdly...22:39
zylopfaJust saying why it in practice work even though its not defined 22:39
zylopfano no preaction it DOES have a template22:39
@scrottiezylopfa, ahh, got ya now.  but it looks like the plot thickens even more.22:39
@scrottieI see a template in the template table for that namespace...22:40
@preactionah... hmm...22:40
zylopfathe edit form for ZipArchive creates the "template id" selectbox22:40
@scrottiehrm.  hmm, hmm, hmm.22:40
@preactionbut a ziparchive is just an entry point to a tree of real html files on the file system22:40
zylopfafrom all templates in the namespace of the asset22:40
@preactionalso, perlDreamer, Haarg, any reason to NOT get rid of ZipArchive?22:40
@scrottieI don't have specs, tests, or working code, and somehow from that I have to infer working tests and code =P  but I have very helpful compatriots.22:40
@scrotties/tests/working tests/22:41
+perlDreamerpreaction, what do we replace it with?22:41
@preactionNothing. Nothing at all.22:41
@scrottieI don't remember if it's the case with this one, but a lot of these are blowing up when something else includes them in the layout 22:41
+perlDreamerdoesn't seem like we should get rid of it without providing a way for users to do the same thing, some other way22:41
zylopfascrottie, treat it as an error, would be if a template wasnt in the import node22:41
zylopfawith the assets namespace22:42
+perlDreamerdoes the WebGUI Site project have any data about usage for that Asset22:42
+perlDreamer?22:42
zylopfaWhat does it do btw?22:42
@preactioni don't know22:42
@preactionyou upload a .zip file, and it extracts it into an uploads folder and shows the root index.html as the www_view page22:43
@scrottieokay.  I might need to research this one a bit more.  I didn't do the other stuff that I said I was going to do so I should do that other stuff first.  whee!22:44
zylopfaahh ok preaction 22:44
* perlDreamer does not love the ZipArchive, but will hold to his position of being old, stodgy, and resistant to change for the sake of balance22:45
@preactionooh, asset dispatch could improve the ziparchive's functionality hugely!22:45
@preactionwe could make it USEFUL!22:45
+perlDreamerno22:45
+perlDreamerjust less ugly22:45
@scrottieheh.  maybe I should open a ticket and let it go for now then.22:45
@preactionentire sections of your site, with real URLs, created and maintained with external programs!22:45
+perlDreamerbut if we get rid of it, we have to provide a way to not break peoples sites22:45
@preactionscrottie: it's just an idea, we at least need it to work as it does presently22:46
@scrottieof course... not going to leave a test failing... but as an alternative to figuring the what, why and how of templates in the thing I could plug in the one template for it and make the test pass.22:47
+perlDreamerit should have a default templateId22:47
@scrottiejust a thought.22:47
@preactionthat would be the correct fix, yes22:47
+perlDreamerevery template should have a default22:47
zylopfascrottie, just put the default template in22:48
zylopfaZipArchiveTMPL0000000122:48
zylopfaand then the bug is off22:49
@scrottieyeah, yeah, yeah.22:50
zylopfaits a bug in the asset it should be corrected22:50
* scrottie sighs22:50
zylopfa:O22:50
@scrottiezylopfa, did I mention that I'm working on tests and fixing the bugs that I find?  telling me to fix the bug when I'm asking about the best way to fix the bug is slightly redundant.22:50
zylopfaI mean if i made an asset for the bazaar with that error it would not work cause its not in the main distro22:50
zylopfaohh sorry22:51
zylopfathought you was making a test suite22:51
zylopfaI can fix it for you22:51
@scrottieworking on a test suite and fixing bugs as I go.22:51
@scrottieno problem.  I'm grateful for your help.  but you don't have to tell me to fix bugs.  that's what I'm doing ;)22:51
zylopfa       templateId=>{22:52
zylopfa                                tab=>"display",22:52
zylopfa                                label=>$i18n->get('template label'),22:52
zylopfa                                namespace=>"ZipArchiveAsset",22:52
zylopfa                                fieldType=>'template',22:52
zylopfa                                defaultValue=>'ZipArchiveTMPL00000001'22:52
zylopfa                        },22:52
zylopfawasnt ment to be rude22:52
@scrottiezylopfa, I started asking about the general case on this one... "should this barf in general?"... because I've stumbled on a number of these.  I've fixed them exactly like that.  but it's made me wonder if maybe the thing wasn't supposed to be raising an exception on them.22:53
+perlDreamerwhenever you try to instanciate an asset, it should throw an exception22:53
+perlDreamerevery time22:54
+perlDreamerit's up to WebGUI to handle the exceptions correctly22:54
* scrottie nods at perlDreamer.22:54
zylopfapropably like perlDreamer says22:55
@scrottieyup.  preaction agrees.  now I'm trying to bring zylopfa up on the situation to figure out if he really wants to fix all of my bugs for me given that I'm conscripted to fix bugs =)22:55
zylopfahaa ofc!22:55
@scrottieI could hop a flight to Santa Monica and hit the beach =)23:00
zylopfasounds good23:00
+perlDreamerscrottie, fixing bugs is like doing pushups23:01
+perlDreamerit's good exercise23:01
@preactionand nobody likes doing it23:06
@scrottieexcept zylopfa, and why deprive him of the pleasure?23:07
zylopfawas just trying to help :(23:08
+perlDreamerzylopfa, never trust a smiling person from Arizona23:08
@scrottieoh, I'm just playing with ya.23:09
zylopfahaa <323:09
@scrottiecheer up.23:09
-!- daviddelikat [~user@h69-128-106-50.mdsnwi.dedicated.static.tds.net] has quit [Quit: Leaving.]23:15
* perlDreamer goes for a bike ride and errand running23:42
@scrottiew00t.23:50
-!- stDavid [~stdavid@166.137.8.25] has joined #webgui23:53
--- Day changed Tue Aug 10 2010
-!- fokat [~lem@200.84.244.194] has joined #webgui00:06
-!- stDavid [~stdavid@166.137.8.25] has quit [Quit: Adios]00:18
-!- Netsplit *.net <-> *.split quits: perlbot01:17
-!- Netsplit over, joins: perlbot01:18
CIA-61webgui: Colin Kuskie master * r9fafa25 / (docs/changelog/7.x.x.txt lib/WebGUI/Asset/File/ZipArchive.pm): Give ZipArchives a default template. Fixes bug #11769. - http://bit.ly/bA1rBL01:27
@scrottie...01:29
@scrottieokay, that commit conflicts.01:29
+perlDreamerit's only 22 characters01:37
+perlDreamerwell, okay, 2301:37
@scrottiestill, what would possess you to do the very same thing you know I'm doing?01:39
@scrottieapart from arguing with a friend about the merits of reimplementing IPC over top of IPC.  but maybe you were doing that too.01:39
+perlDreameryou posted a bug01:40
+perlDreamerI fix bugs01:40
+perlDreameryou didn't say you were going to fix it01:41
@scrottieI think I said as much in a long conversation with zylopfa.01:41
zylopfadamn i am updating my production server with new webgui but i get errors in testEnvirnoment01:42
zylopfargw stupid mysql wont link01:42
zylopfathe01:42
zylopfa/usr/bin/ld: skipping incompatible /data/wre/prereqs/lib/mysql/libmysqlclient.a when searching for -lmysqlclient01:42
zylopfaI dont understand how it can go wrong01:42
@scrottieI'm nervous about scripting git.  I have a hard getting it right manually.  I'd like to have it post the bug and close it immediately with the commit hash from git... but this whole rebasing thing is freaking me out.01:43
@scrottieit keeps telling me that it's rebasing changes when I pull but I can't for the life of me figure out whether it really is or not.01:43
-!- waxhead [~pete@ppp121-45-217-60.lns20.cbr1.internode.on.net] has joined #webgui01:44
@scrottieI think I need to turn that off and do it manually.  as it is, sometimes stuff I don't want to send up that I've forgotten about goes up because it automagically got rebased.  I'm used to darcs.01:44
-!- perlmonkey2 [~perlmonke@96.18.42.134] has joined #webgui01:44
-!- mode/#webgui [+v perlmonkey2] by ChanServ01:45
@scrottieanyway, if I'm careful about committing after opening a ticket and you beat me to the punch, I'm going to press ahead more aggressively on automating this then I'm going to commit all sorts of garbage I don't want to.01:45
+perlDreamerjust put a note in the ticket that you're going to work on it01:45
+perlDreameror assign it to yourself01:46
+perlDreamerand we won't step on toes again01:46
@scrottiealright, alright.01:46
+perlDreamerI'm sorry for making you do a conflicted merge01:46
@scrottieit's okay.  sorry I'm cranky.01:46
+perlmonkey2aaaahhh, that was sweet.01:46
@scrottieI need to get away from the computer.01:46
+perlDreamerI hear British Columbia is nice this time of the year.01:47
+perlDreamerYou can stop by Portland on the way through, and I'll buy you a beer01:48
@scrottieha, I am so taking you up on that.01:49
@scrottieI've got a friend in Portland and the girl's parents are in Seattle.01:49
+perlmonkey2The thing I've never understood about big company jobs is that they'd prefer to pay you to sit and do nothing rather than break procedure.  I feel like the contractors who were paid to take paper from one desk and place it on another desk.01:50
zylopfaFuck i have problems. are there known problems with installing webgui wre 32 bit on a 64 bit system?01:52
@scrottieperlmonkey2, um, yes.01:52
+perlmonkey2zylopfa: what problems.  I used to run it on a 64 bit system no problem./01:53
+perlmonkey2scrottie it's like you're getting paid so you feel like you should be working.  But the trouble ticket you sent out to get access to the servers that have the code you need to work on isn't getting answered.  The cute girl at the help desk is fulling willing to flirt, but in no way will jump your ticket to someone who can help.01:54
zylopfaI am getting wierd errors, it says DBD::mysql isnt installed when running testEnvirnoment.pl01:54
+perlDreamerzylopfa, setenvironment.sh?01:54
zylopfathen it will install it from cpan and then it quirks01:54
+perlmonkey2So you just sit and look at the same thousand lines of code you were looking at 4 hours ago and think how boring your life has become, but at least you're getting paid a silly amount to do nothing, which only helps a tiny bit.01:54
zylopfayesh sorry sh01:54
+perlmonkey2wow, I feel better.  That was cathartic :P01:55
zylopfayeah i ran that perlDreamer 01:55
+perlDreamerkeep flirting with the help desk chick, perlmonkey2, and Mrs. Monkey2 will fix the boredom problem01:55
zylopfaIt builds the module from the right mysql uincludes in the wre dir01:55
@scrottieperlmonkey2, whether you have a wife and kids limits your options here, but in cases like that, I tend to *make* my job interesting.01:55
+perlmonkey2perlDreamer: hah, she wouldn't, but her 3 large brothers would :P01:55
@preactionat her behest, of course01:56
@scrottieokay, that was *not* what I meant to say.01:56
zylopfaBut it quirks in compiling it at:01:56
zylopfa<scrottie> it keeps telling me that it's rebasing changes when I pull but I can't for the life of me figure out whether it really is or not.01:56
+perlmonkey2preaction: actually it would be a race to see if my family got to me before her's did.01:56
zylopfawops didnt mean to put scrottie there01:56
+perlmonkey2scrottie hahah, just read that.01:56
+perlmonkey2wait, doesn't the wre include dbd::mysql?01:57
@scrottiehaving wife+kids at home restricts you from doing a lot more than flirting, including restricting you from ruffling political feathers.01:57
zylopfaGuess I gotta put wre from the testserver onto the production server by copying then01:57
+perlmonkey2scrottie I'm probably about to jump ship for an equally boring but hire paying job.  Too bad I screwed up with pb, didn't know how good I had it and all I had to put up with was JT :P01:58
+perlmonkey2higher01:58
@preactionto be honest, JT is a lot to put up with even on the best of days...01:59
@preactionand also to be honest, i'm in charge of WebGUI now ;)01:59
+perlmonkey2preaction: really?02:00
+perlmonkey2preaction: you're the main cheese on managing wG?  02:01
@preactionyep. i'm pumpking/project manager/what-have-you02:01
@scrottieI sometimes get the feeling that my desk is situated on top of a lot of graves.02:01
@preactionscrottie: aren't all desks?02:01
@scrottiehmm =-)02:02
+perlmonkey2preaction: that is awesome.  congratulations.  boss of a major open source project, I think you're one of the big guys now.02:02
+perlmonkey2hah02:02
+perlmonkey2scrottie++02:02
@preactionwe will be once i turn WebGUI back into a major open source project02:02
+perlmonkey2That's why we wear that noose around our necks while at the desks.02:02
@preactionthe Monarch has his hands in many sinister soups02:02
+perlDreamergreat, now we have to go through the whole obeisance and prostration thing again02:03
+perlmonkey2heh, cool, any hints on what he's up to?  And besides 8, what are you doing to make wg a bigger foss project?02:03
@preactioni'm planning nothing more than the complete, total, and utter destruction of our major enemy, Drupal02:04
@scrottie1. Plack-ification 2. Small, understandable core 3. CPAN 4. Slashdot/reddit/digg whoring 5. endless Internet pissing matches.  I can taste the future!02:04
+perlmonkey2oh, Doug's the Monarch?  Do we call you "Your Majesty" or just "Your Dudeness"?02:04
+perlmonkey2hahaha, death to Drupal.02:04
@scrottieoh, 2.5.  good documentation.02:04
@preactionbut before we destroy, we must first understand. there's a real reason people are using it besides "they're idiots and php programmers are a dime a dozen"02:05
zylopfaIsnt Drupal dead already?02:05
@scrottieI wrote Acme::RPC in response to a friend's description of one aspect of Drupal.02:05
+perlmonkey2preaction: because it is easy to set up, scales decently, and only gets you hacked once a month.02:05
+perlDreamerit's dirt simple to install PHP on cheap hosting, and PHP programmers are a dime a dozen?02:05
zylopfayeah02:06
+perlmonkey2but 8 was retardly (my special needs research cousin will kick my arse for using that word) simple to set up.02:06
@preaction'dirt simple to install PHP on cheap hosting' <- that's not a factor in whitehouse.gov's decision02:06
zylopfahaa true02:06
@preactionthat's the biggest bullshit excuse we've been using to not look at drupal's real strengths02:07
+perlmonkey2preaction: don't you have the market cornered on large foss customers?02:07
@preaction'webgui cannot be installed on $5 hosters'02:07
+perlmonkey2foss using customers, I mean.02:07
@preactionwhitehouse.gov is using drupal, and contributing back drupal modules even02:07
zylopfa:O'02:08
@scrottiewarm fuzzies.  WebGUI holds them back.  it's a small club of people who dig in enough to understand how the thing works.  people who do tend to say, "huh, I did something like this a long time ago but didn't run with it".  that's a warm fuzzy that good docs could offer.  there's the warm fuzzies of shopping for and installing the parts you want... this the fuzzies that cpanm and apt give you.02:08
@scrottiewarm fuzzy of firing it up under cpanel or the like, on your cheap-o provider, at the push of a button.  people like programs that start from the beginning in not giving them grief.02:09
@scrottiepeople shouldn't wind up like me with a %&@#-list of annoyances and gotchas.02:09
+perlmonkey2I for one am in love with never dealing with apreaq2 again.02:09
@scrottieneed to back away from corner cases and really nail the first user experience.02:10
+perlmonkey2preaction: well, why is whitehouse.gov using drupal?02:10
+perlmonkey2wait, the government is using a POS php cms?02:10
-!- elnino_ [~ninow@c-98-240-143-131.hsd1.mn.comcast.net] has joined #webgui02:10
+perlDreameryup02:10
elnino_hellO!02:11
+perlmonkey2with probably 500 zillion zero day exploits just waiting to be foudn?02:11
elnino_are there tags/tag clouds on collaboration systems in 7.8?02:11
zylopfaGreetings elnino_ 02:11
+perlDreamerelnino, only thing with clouds is the wiki02:11
@scrottieDEFCON was not kind to Drupal.02:11
elnino_hello zylopfa02:11
+perlDreamerand the Story Manager02:11
elnino_ok. thanks. perlDreamer. I was just hoping.  =)02:12
+perlDreamerelnino_, it's a very small macro to add that02:12
+perlDreameror core change, either way02:12
elnino_macro?02:12
* elnino_ all ears02:12
@preactionperlmonkey2: yes, there was a huge brouhaha over Drupal being chosen02:12
+perlDreameryeah, it could be done with a small macro02:12
+perlDreamerit would take the assetId of the CS, and generate a cloud for it02:13
* perlDreamer has to go fry some pork for dinner, bbl02:13
@preactionscrottie: agreed, the first WebGUI experience used to be a big blue screen with horrible looking stuff and a walkthrough wizard to create a horrible looking site. we've removed that, but we've got a ways to go yet02:13
zylopfaWell imo fuck the default design, if people wanna make some serious shit they make their own templates02:14
@preactionelnino_: don't limit the macro to collaboration and it could be put into core. take how the wiki generates the cloud and just dump it into a macro02:14
@preactionzylopfa: but we should convince people that WebGUI is pretty by giving them something pretty to look at. not everyone is a designer. wordpress lets you just go to it by unzipping some files and choosing a theme from a dropdown02:15
@preactionthe new site starter shows you a half-dozen styles and lets you pick02:15
@preactioni wanted a dozen, but it seems that nobody was onboard02:15
zylopfayeah preaction perhaps, but the most important is a well thought of system, templates is just templated in the end of the day02:16
elnino_you guys came up with a name for plugins.. like asset attribute, or asset something...that could be written for any asset/wobject. am I making sense?02:16
elnino_what was that term? 02:16
@preactionelnino_: AssetAspect?02:16
elnino_yes!02:16
+perlmonkey2preaction: for what its worth those half dozen are very nice looking.02:17
@preactionit would be better as a macro, i believe. then any content manager can add a tag cloud of any part of their website into any part of their website02:17
elnino_that's basically what you're looking for, right? I think that was a buzz word before 7.8 came out. did that "technology" come to fruition?02:17
@preactionperlmonkey2: i scoured the bazaar for the only few i could find acceptable and modern. i found three. the other three are the normal three default styles that have shipped with 7.x since 6.9902:17
@preactionyes, it's in the core02:18
@preactionWebGUI 8 has moved to Roles, but the concept is the same. a bit of functionality you can include in your asset with a line or two 02:19
zylopfaI am going to build the wre from source then, then maybe the mysql::dbd will not link to the wrong lib02:37
@preactionbonne chance02:37
@scrottiehmm.  it looks like if you pass a form with fields missing, those fields get ''.  it doesn't distinguish between a field not having been passed and the field passed with a zero length value.  but there's logic in there to.  it could.02:41
@scrottieas long as WebGUI is making all of its own forms, it doesn't matter.  if people make their own, this would clobber values.02:41
elnino_preaction, Im thinking out loud here.  so Im thinking the macro would dispay the cloud with admin tured off, and when admin is turned on, it would allow the user to enter tags for the asset's container the macro is contained in? 02:42
elnino_im thinking the macro would be put into the post's template, so the user can enter the tags.02:42
elnino_and may another macro  be used to dispplay the tag02:42
elnino_s/tag/cloud02:43
@scrottiethe test stuff is jumping through a hoop right now to pick out the current values of fields and pumping those into $session->request->setup_body(), but this leaves me feeling less than satisfied.  thoughts?02:43
@preactionelnino_: no. tags are generated from the asset's "keywords". the keywords just exist, they are added when editing an asset. the Post asset has keywords. tags and keywords are semantically equal in WebGUI's parlance02:43
elnino_ah. I though it was a different field/table. I didn't look. that would be much easier the way you have it. =)02:44
@preactionscrottie: you shouldn't have to test all the properties in the base Asset test class, just that a few changes to properties work, especially anything special-cased. any more and you're testing deeper than just the Asset stuff02:44
@scrottieright.  it's not my intention to test everything.02:45
@preactionelnino_: it is a different field/table, but it's already in every asset that exists (it's a hacky job of it, but it works)02:45
@scrottieI'm just thinking the current design is a bit fragile and I'm tempted to make it less fragile.02:45
elnino_perfect.02:45
@scrottiesimply, if a field isn't included in an HTML form, when that form submits, it shouldn't clobber that field.  it should leave it as-is.02:45
@preactionscrottie: i was thinking just mainly title, menu title, url. and yes there are some changes to the www_editSave sub that will be added (no more assetId="new" stuff, that'll be handled by a new www_addSave method)02:46
@preactionah02:46
@preactionthe rub there is how do we know it wasn't actually included? buttons are only included when they're clicked. checkboxes are only included when they're checked. radio buttons the same02:46
@preactionhtml forms are kinda funny that way02:46
@scrottiehrm.02:47
@preactionthere's a WebGUI::Form::Control->isInForm or something that tries to detect that02:47
@preactionbut some simply assume they're in always02:47
@scrottieWebGUI::Session::Form::hasParam is what I noticed but I didn't test it or look at it carefully to decide if it really was what I thought it was.02:47
@scrottieokay, that gets messier.  trying to do that heuristic dependent on field type also doesn't feel very clean.02:48
* scrottie makes a note and puts it aside for now.02:48
@preactionah, yeah, looks like isInRequest passes to hasParam by default02:48
@preactionbut WebGUI::Form::CheckList has to override isInRequest to look for a hidden value02:49
@preactionso yes, perhaps it should check isInRequest before it does anything (it, i assume, is processEditForm?)02:49
@scrottiemmmm... yes.02:50
@scrottieisInRequest as implemented doesn't seem to short-circuit to a true in the cases where the control element is a checkbox... 02:54
@scrottieso that would need to change or be augmented.02:54
@preactioni think it can't, because of the way the CheckList is made02:55
@preactionbut for now if we just check the API call, it's up to the API to DTRT02:55
-!- perlmonkey2 [~perlmonke@96.18.42.134] has quit [Ping timeout: 240 seconds]03:05
CIA-61webgui: Scott Walters WebGUI8 * r13e7d4c / lib/WebGUI/Asset/File/ZipArchive.pm : Fix: WebGUI::Asset::File::ZipArchive specifies a default template of '' - http://bit.ly/ac402J03:26
CIA-61webgui: Scott Walters WebGUI8 * rb7cb774 / lib/WebGUI/Asset/Wobject/UserList.pm : 03:26
CIA-61webgui: Avoid warnings about odd numbers of form elements. session->form->process03:26
CIA-61webgui: will return () when called in list context so force scalar context and it03:26
CIA-61webgui: nicely gives us an undef. - http://bit.ly/brKpie03:26
CIA-61webgui: Scott Walters WebGUI8 * rc1a9184 / lib/WebGUI/Asset/Wobject/Gallery.pm : Force scalar context to avoid getting () back and the associated odd number of elements in hash warnings. - http://bit.ly/9iKuHb03:31
+perlDreamerscrottie, those last set of commits don't seem to have tests03:36
+perlDreamerdo they make currently failing tests pass?03:36
@scrottieperlDreamer, yeah, sorry.  the tests are based on the stuff in t/tests/Test/WebGUI but I haven't pushed them up yet.03:37
@scrottiethe warnings fixes just cut down on spam.  other things I've been committing fix tests in there.03:37
@scrottiethe tests are co-evolving with the code.  that's terribly un-ideal, I realize, and one of the side effects of that is I haven't committed the changes to the test suite yet.03:38
@scrottieI did push up a peek of the current state of it into a gist the other day.03:38
@scrottieevery time something blows up, I have to figure out if I'm doing the tests wrong or the code is wrong.03:38
+perlDreamerwell, starting wednesday I'll be doing the merge of 7.9.11 into WebGUI 803:39
+perlDreamerthat's nigh-on-impossible to do with failing tests that pass, then fail, than pass, etc.03:39
@scrottiesrand(42).03:39
@scrottiehrm.03:39
@scrottieI don't know how long until these tests are all passing.03:40
@scrottieit's... um... it does a permutation... each test against subclass... so I guess I could estimate.  but the n of n tests output is missing.03:41
@scrottiealso, it's having the O(N**2) problem... the more tests I fix, the longer it takes to run to the point something else blows up.03:42
@scrottieI'm open to suggestions for how to handle this.03:43
@scrottieall I can think right now is to push up a current state of the tests on tuesday and then I can just refrain from pushing anything for a while until you're happy with the merge.03:44
-!- perlmonkey2 [~perlmonke@96.18.42.134] has joined #webgui03:47
-!- mode/#webgui [+v perlmonkey2] by ChanServ03:47
elnino_peraction. OK!! I have myself a tagcloud macro!03:49
elnino_except, when I click on it, it doesn't bring me to a search result.03:49
elnino_and I kinda whated to display the keywords each hyperlinked IN the post. so you can do a search on related posts.03:51
elnino_not quite sure how I can do. Probably another macro. =)03:51
-!- perlmonkey2 [~perlmonke@96.18.42.134] has quit [Ping timeout: 276 seconds]03:53
elnino_preaction - I misspelled your name above. =(03:55
elnino_kinda like peraction.03:55
-!- zylopfa [~zylopfa@0x555116f0.adsl.cybercity.dk] has quit [Quit: Leaving]04:01
elnino_I'm thinking the collaboration system's search has to be modified to accept the url parameter of "keyword"04:02
CIA-61webgui: Scott Walters WebGUI8 * rd57d9ff / lib/WebGUI/Asset/Wobject/WikiMaster.pm : 04:02
CIA-61webgui: Don't blow up on view when there are no WebGUI::Asset::WikiPage04:02
CIA-61webgui: child objects under us to feature. Also, the only reason that -104:02
CIA-61webgui: on the rand works is because Perl is nice. - http://bit.ly/bbT6Br04:02
-!- perlmonkey2 [~perlmonke@96.18.42.134] has joined #webgui04:16
-!- mode/#webgui [+v perlmonkey2] by ChanServ04:16
elnino_or, really, every asset needs to have something simiar to wikiMaster's www_byKeyword func. the CS's search doesn't handle "keywords" I tried entering my keyword in the CS's search and it couldn't find the post by the keyword. But that's been a bug - it was on webgui.org's site too, and maybe I'm running somethign too old.04:20
@scrottiedo you have a URL or number for that bug?04:22
@preactionelnino_: now i remember why it was supposed to be a TagCloud asset, it needed to be able to show the results of a single keyword04:28
+perlmonkey2preaction: in the progressbar ticket what do you mean that in AssetHelpers there are examples of plack streaming?  I don't see any examples.04:33
elnino_scrottie - its an old bug from 7.6 era that I believe has been fixed04:33
@preactionperlmonkey2: WebGUI::AssetHelper::CopyBranch, it's something like $session->response->stream( sub { ... } );04:40
@preactionthen that huge subref contains the WebGUI::ProgressBar->run command (which takes another subref)04:41
+perlmonkey2ah, found it.  Thanks04:41
+perlmonkey2That makes more sense after looking at the plack docs.04:42
* scrottie & # bbl04:48
CIA-61webgui: Colin Kuskie master * rb5ef9fc / lib/WebGUI/Keyword.pm : Add POD for the new sortOrder option to Keyword's getMatchingAssets - http://bit.ly/cOTU8A04:58
+perlDreamerShould have caught that earlier04:58
+perlDreamerpreaction, maybe a TagCloud AssetAspect?05:00
+perlDreamerjust refactor out what's in WikiMaster, and maybe StoryArchive and then make something reusable out of it?05:00
@preactionsure, but then a TagCloud asset to span across an entire site would be nice too05:00
+perlDreamerthat would be a very skinny Asset :)05:01
@preactionyeah, but so's datatable or article (well, article is pretty bloated really, but you get the idea)05:02
-!- perlmonkey2 [~perlmonke@96.18.42.134] has quit [Remote host closed the connection]05:05
+perlDreamera TagCloud asset shouldn't need to be much more than sub def {5-10 lines of i18n, icon and table}, and use Class::C3; use base qw/WebGUI::AssetAspect::TagCloud WebGUI::Asset::Wobject/; 1;05:26
+perlDreamerthat's what I meant by skinny, hardly any code to it at all05:27
@preactionit'd need a view method05:27
@preactionright, all DataTable does is pass off it's real functionality to WebGUI::Form::DataTable05:27
@preactionArticle... well...05:28
+perlDreameryeah, Article could use a rewrite05:28
CIA-61webgui: Colin Kuskie master * rb8917d4 / (2 files in 2 dirs): Make sure that keywords are always returned in alphabetical order in the WikiMaster byKeyword view. - http://bit.ly/dr1I9v05:28
+perlDreamerI think I'm going to wrap it up for tonight, so let me tell you where I'm at05:32
+perlDreamerThe spectre PID bug, I'd like to use Proc::ProcessTable for checking the process table.05:32
+perlDreamerIt absolutely does not work on Windows though05:32
+perlDreamerI've tried to work around the Account formatting bug, and got nowhere.05:33
+perlDreamerTrex's .wgaccess bug should be an easy fix, the corresponding upgrade sub to fix any current bad wgaccess files will make the upgrade run quite slowly05:33
@preactioni'll be available tomorrow to fix bugs before the release05:34
+perlDreamerfirst thing tomorrow, I'm going to work on the shunt upgrade05:34
+perlDreamer'night05:34
-!- perlDreamer [~colink@pool-173-50-255-102.ptldor.fios.verizon.net] has quit [Quit: Leaving.]05:34
-!- mducharme [~nothing@S0106000e0cc03cff.wp.shawcable.net] has joined #webgui06:58
-!- kaare [~kaare@langebro.adapt.dk] has joined #webgui08:41
-!- kaare is now known as Guest7712408:42
-!- Guest77124 is now known as kaare_09:05
-!- CIA-61 [~CIA@208.69.182.149] has quit [Ping timeout: 248 seconds]09:17
-!- CIA-60 [~CIA@208.69.182.149] has joined #webgui09:49
-!- mducharme [~nothing@S0106000e0cc03cff.wp.shawcable.net] has quit [Read error: Connection reset by peer]11:17
-!- carogray [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has joined #webgui13:49
-!- Netsplit *.net <-> *.split quits: waxhead13:55
-!- Netsplit over, joins: waxhead14:04
-!- daviddelikat [~user@h69-129-206-153.mdsnwi.broadband.dynamic.tds.net] has joined #webgui14:43
-!- vayde [~vayde@63-228-37-47.mpls.qwest.net] has joined #webgui14:47
-!- daviddelikat [~user@h69-129-206-153.mdsnwi.broadband.dynamic.tds.net] has quit [Quit: Leaving.]14:52
-!- daviddelikat [~user@h69-129-206-153.mdsnwi.broadband.dynamic.tds.net] has joined #webgui14:53
-!- daviddelikat [~user@h69-129-206-153.mdsnwi.broadband.dynamic.tds.net] has quit [Client Quit]14:53
-!- daviddelikat [~user@h69-129-206-153.mdsnwi.broadband.dynamic.tds.net] has joined #webgui14:56
-!- daviddelikat [~user@h69-129-206-153.mdsnwi.broadband.dynamic.tds.net] has quit [Client Quit]14:56
-!- daviddelikat [~user@h69-129-206-153.mdsnwi.broadband.dynamic.tds.net] has joined #webgui14:59
-!- daviddelikat [~user@h69-129-206-153.mdsnwi.broadband.dynamic.tds.net] has quit [Client Quit]14:59
-!- daviddelikat [~user@h69-128-106-50.mdsnwi.dedicated.static.tds.net] has joined #webgui15:11
-!- daviddelikat [~user@h69-128-106-50.mdsnwi.dedicated.static.tds.net] has quit [Ping timeout: 276 seconds]15:16
-!- daviddelikat [~user@h69-128-106-50.mdsnwi.dedicated.static.tds.net] has joined #webgui15:58
-!- SquOnk [~emhn@190.72.138.110] has joined #webgui16:36
SquOnkGreetings16:36
SquOnkpreaction: You mentioned that 7.9 does not have SWF files, right?16:37
-!- perlmonkey2 [~perlmonke@m445636d0.tmodns.net] has joined #webgui16:38
-!- mode/#webgui [+v perlmonkey2] by ChanServ16:38
SquOnkSuggestions on 576912?16:49
SquOnkOops. Wrong window16:51
SDuensinMorning.16:56
+perlmonkey2how goes 8 dec? 17:00
+perlmonkey2dev17:00
-!- mducharme [~nothing@S0106000e0cc03cff.wp.shawcable.net] has joined #webgui17:03
-!- kaare_ [~kaare@langebro.adapt.dk] has quit [Remote host closed the connection]17:06
-!- fokat [~lem@200.84.244.194] has quit [Ping timeout: 260 seconds]17:08
-!- perlmon1 [~perlmonke@m475636d0.tmodns.net] has joined #webgui17:38
-!- perlmonkey2 [~perlmonke@m445636d0.tmodns.net] has quit [Ping timeout: 252 seconds]17:38
-!- fokat [~lem@190.72.138.110] has joined #webgui17:49
-!- perlmon1 [~perlmonke@m475636d0.tmodns.net] has quit [Quit: -a-]18:08
-!- carogray1 [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has joined #webgui18:08
-!- perlmonkey2 [~perlmonke@m475636d0.tmodns.net] has joined #webgui18:29
-!- mode/#webgui [+v perlmonkey2] by ChanServ18:29
-!- vayde_ [~vayde@63-228-39-102.mpls.qwest.net] has joined #webgui18:34
-!- vayde [~vayde@63-228-37-47.mpls.qwest.net] has quit [Ping timeout: 240 seconds]18:35
-!- khenn [~frank@99-111-115-201.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui18:40
-!- mode/#webgui [+o khenn] by ChanServ18:40
-!- vayde_ [~vayde@63-228-39-102.mpls.qwest.net] has quit [Ping timeout: 240 seconds]18:44
-!- zylopfa [~zylopfa@0x555116f0.adsl.cybercity.dk] has joined #webgui18:45
zylopfaAnyone here know how to build the wresource on a 64 bit rh fedora system? keeps getting build error when building DBD-mysql-4.01018:46
zylopfapretty annoying :( 18:47
zylopfaand cant use the 32 bit build wre cause then sytem says the DBI isnt installed and want it installed18:47
@preactionyou need to check out the latest WRE from github, there are problems with the 0.9.3 building on 64-bit18:47
zylopfathen it fails building it18:47
zylopfaYou think it will work preaction ?18:47
@preactioner... it should build its own DBI no matter what18:48
zylopfaand how will i get to github?18:48
zylopfaIt wont tried on 2 different 64 bit machines18:48
@preactionhttp://github.com/plainblack/wrebuild18:48
zylopfabut if there is a new experimental18:48
zylopfathanks a lot Sir18:48
@preactionit still won't build as 64-bit, last i knew, but it might work as 32-bit18:48
@preactionas long as you have all the proper 32-bit compatibility libraries18:48
zylopfayeah i cant build on 32 in my 64 bit environ it fucked up last time18:49
zylopfayeah priopably dont have the 32 bit ones18:49
zylopfaI dont know hwy it wont buildon 64 bit18:50
zylopfaI mean all the libries it needs is in the wre18:50
@preactionthe trouble i've run into with the current head is OpenSSL refusing to build on 64bit, and thus every lib that relies on it refusing to build18:51
zylopfayeah i got that on the other server i tried to build on18:52
zylopfaIf i wanna upgrade webgui on my production server i have to reload the os to 32 bit18:53
@preactionjust the WRE. webgui runs fine18:53
zylopfayeah webfgui is fine18:54
zylopfaits architecture neutral18:54
zylopfaCan you even install a 32 bit os on a dual core 64 bit system?18:55
@preactionyes18:58
zylopfaI will do that then, and await the 64bit wre18:59
zylopfacant afford production site to be so low in the release18:59
zylopfaIts pretty painless to restore the site18:59
zylopfaso i just make the latest wre for it18:59
zylopfaand install it18:59
zylopfaand do webgui incremental upgrades19:00
zylopfaMy 32 bit test system i upgraded with 0 sweat19:00
-!- tavisto [~tavisto@pool-71-186-22-44.gdrpmi.dsl-w.verizon.net] has joined #webgui19:01
-!- mode/#webgui [+o tavisto] by ChanServ19:01
-!- fokat [~lem@190.72.138.110] has quit [Ping timeout: 240 seconds]19:07
-!- SquOnk [~emhn@190.72.138.110] has quit [Ping timeout: 245 seconds]19:07
-!- perlDreamer [~colink@pool-173-50-255-102.ptldor.fios.verizon.net] has joined #webgui19:08
-!- mode/#webgui [+v perlDreamer] by ChanServ19:08
+perlDreamermorning, everybody!19:08
+perlDreamerToday is a great WebGUI day19:08
@preactionit is indeed a great WebGUI day!19:08
+perlDreamerhave y'all fixed all the bugs for me already?19:10
@preactionnope!19:10
+perlDreamerI love how you guys aren't greedy and share19:10
ckotilis it possible to hide the 'With Selected:   MOVE TO -> PURGE' text within the approve/deny versoin tag? its confusing some of my users, and rather than train them to ignore (or use it to their benefit) i think it would be easier to hide it.19:12
+perlDreamerckotil, that screen isn't templated19:12
+perlDreamerso you'd have to change WebGUI/Operation/VersionTag.pm19:12
ckotilok 19:14
zylopfagreetings fine perlDreamer 19:15
+perlDreamerhowdy, zylopfa19:16
+perlDreamerhow are things back east?19:16
zylopfaI am having problems building wre 64 bit19:16
zylopfaneed my production server up to speed19:16
zylopfabut it seems i have to downgrade it to 32bit os instead untill the 64 bit can be build19:16
+perlDreamerzylopfa, have you checked the forums and wiki for help on this?19:16
zylopfaYeah19:17
+perlDreamerno help?19:17
zylopfaSome had some tips like .build.sh --ia64 but i did that19:17
ckotilzylopfa: i think i ran into a ismiliar problem and ended up building the OS as 32bit19:17
zylopfayeah some had the same problem but not stated how it was done exactly19:17
zylopfahaa ckotil thats my aproach now19:17
zylopfaI am backing up the home directories and the etc and mail config files now19:17
zylopfathen i install the new os this night19:18
ckotili dont remmeber what exactly prevented me from building the wre on a 64bit OS19:18
ckotilthis was almost 2 yrs ago now19:18
zylopfaI got problems building the mod_dbd module for mysql19:19
ckotilheh. 2 yrs and 2 days ago actually19:19
zylopfaohh :O19:19
zylopfayou have a good memory19:19
+perlDreamermod_dbd?19:19
ckotilbeen thinking about rebuilding the wre lately. but was gonna wait for the next wre release19:19
zylopfayeah the databasemodule for mod perl19:19
zylopfafor mysql19:19
@preactionckotil: what are they finding confusing? the fact that it exists? i'd rather make it more clear than remove it. they never want to delete things from version tags? or move things to other version tags?19:20
@preactionotherwise i could set a UI Level of 6 or 7 on that19:20
+perlDreamerpreaction, the individual controls in the screen aren't UI'd19:20
@preactionperlDreamer: but they could be, quite easily19:20
+perlDreameroh yeah, just saying that they aren't currently19:20
ckotilpreaction: 'it's esoteric' accoridng to some of my users19:21
zylopfanow i backed up the /etc, /home /root and the /data directories should be fine then19:21
ckotilengineer types, they wanna know what every last detail is/does19:21
@preactionckotil: okay, so if it's esoteric, then they know what it is/does19:22
ckotilyeah, im just used to it i guess. fresh eyes must see the approve/deny page differently19:23
+perlmonkey2perlDreamer my phone says u aaid something to me. but i dont seee anything19:25
+perlDreamerit must have been last night, perlmonkey219:28
+perlDreameryou can check the IRC logs at mentalhouse.net19:28
@preactiondamnit. we do not have the manpower to keep putting in little CSS and HTML problems into WebGUI... anyone up for contributing an automated HTML/CSS validator that will crawl a WebGUI demo site?19:33
zylopfaI can make something in perl to do it19:33
+perlmonkey2glueing wget ti validators shiuld take just a few minutes.19:35
zylopfayeah or using lwp19:35
+perlmonkey2.19:36
+perlmonkey2does lwp do multiple requests? 19:36
@preactionit will also have to be able to log in as admin19:36
@preactionWWW::Mechanize would do it19:36
zylopfaahh yeah then you need a service script or what its called in webgui19:37
@preactionlog in as admin because the problems i'm finding right now are in the Account stuff, so you need a valid user19:37
+perlDreamerutility script19:37
zylopfayeah19:37
+perlDreamerpreaction, for that bug, I downloaded a copy of the site with the issue19:38
@preactionit's the greenportal style, it has way-too-specific selectors for the white text19:38
+perlmonkey2migut as well tjrow in jslint ro the valodatoe19:39
+perlDreamerperlmonkey2, you either need a bigger keyboard, or smaller thumbs ;)19:39
+perlmonkey2my autocorrect is broke19:39
@preactionsounds good to me19:39
-!- fokat [~lem@190.72.138.110] has joined #webgui19:44
@preactionyay! bugs++19:44
+perlDreamerjust merged dispatch, testing19:48
CIA-60webgui: Doug Bell master * r89c1afd / (3 files in 2 dirs): fix 11758: formatting on account stuff is wrong - http://bit.ly/cj4lqM19:52
@preactionbugs--! yay!19:53
@preactionnow i'll fix the one i added19:53
@preaction<3 that WebGUI::Account modules can't be introspected... 19:56
-!- perlmonkey2 [~perlmonke@m475636d0.tmodns.net] has quit [Read error: Connection reset by peer]19:56
-!- perlmonkey2 [~perlmonke@m375636d0.tmodns.net] has joined #webgui19:57
-!- mode/#webgui [+v perlmonkey2] by ChanServ19:57
+perlDreamerpreaction, that was fixed in 819:57
+perlDreamerwell, partially19:58
@preactionreally? the editSettingsForm has been rewritten to use WebGUI::FormBuilder and return a WebGUI::FormBuilder::Fieldset?19:58
@preactioneven that would be a horrible way to introspect to find what the setting for the style template is19:58
+perlDreamerno, not that much, but it's using Moose, so FormBuilder would just be a step away20:01
+perlDreamerwait a sec20:04
+perlDreamercan't you just build an object and ask it?20:04
+perlDreamerit's a valid method20:04
+perlDreamerand it talks to the db20:04
+perlDreamerand it inherits from Account.pm, so the method name shouldn't vary20:05
@preactionlook at what editSettingsForm and editSettingsFormSave do: one gives you HTML, one processes direct from the session->form20:06
@preactionso sure, i could parse the HTML and guess which fields are template fields (i know what the style templates are so that's not too bad), then use that name try to save the form and see what setting gets saved20:07
@preactionthat sounds like worse than any code i've ever written ever20:07
+perlDreamerbut you don't have to parse the form20:07
+perlDreamereach plugin has a method to provide that information20:08
-!- perlmonkey2 [~perlmonke@m375636d0.tmodns.net] has quit [Read error: Connection reset by peer]20:08
+perlDreamergetLayoutTemplateId20:08
@preactionbut that gets me the actual ID. how do i know what it's saved to in the settings table?20:08
-!- perlmonkey2 [~perlmonke@m475636d0.tmodns.net] has joined #webgui20:08
-!- mode/#webgui [+v perlmonkey2] by ChanServ20:09
+perlDreamerI see20:09
+perlDreamerthere's no corresponding "set" method for that20:09
@preactioni need to SET the style template ID20:09
-!- vayde [~vayde@63-228-51-145.mpls.qwest.net] has joined #webgui20:11
-!- carogray1 [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has left #webgui []20:20
-!- zylopfa [~zylopfa@0x555116f0.adsl.cybercity.dk] has quit [Quit: Leaving]20:23
CIA-60webgui: Doug Bell master * r994f0aa / (3 files in 2 dirs): 20:26
CIA-60webgui: fix 11770 Starter needs to set all account plugins20:26
CIA-60webgui: Refactored HomePage wizard to have a method to update20:26
CIA-60webgui: all places where the style template needs to be updated - http://bit.ly/ctE7ds20:26
CIA-60webgui: Colin Kuskie master * r6130165 / (2 files): Move StoryTopic upgrade sub for storySortOrder into the present release, instead of the previous one. (+28 more commits...) - http://bit.ly/d6DH8i20:34
CIA-60webgui: Colin Kuskie master * r3e95468 / t/Content/SiteIndex.t : Update this test for the new default content. Fix a duplicated test description. - http://bit.ly/96tnpc20:38
+perlDreamerone more test to fix...20:41
CIA-60webgui: Colin Kuskie master * r711f8d6 / t/Keyword.t : Update Keyword test for new default content. - http://bit.ly/c17rWp20:41
@preactioncurses! right as i push!20:42
CIA-60webgui: Doug Bell master * r0ed496a / (2 files in 2 dirs): 20:43
CIA-60webgui: fix 11771 Default newsletter template not set20:43
CIA-60webgui: Pro tip: Never do what I just did. Ever. 8 removes the need for it. - http://bit.ly/cN9x9q20:43
CIA-60webgui: Doug Bell master * ra751c3a / lib/WebGUI/Asset/Wobject/Collaboration.pm : fix edit screen name for collab subclasses - http://bit.ly/ctqphU20:43
-!- danny_mk [~chatzilla@173-166-55-113-newengland.hfc.comcastbusiness.net] has joined #webgui20:46
-!- mode/#webgui [+v danny_mk] by ChanServ20:46
+perlDreamerpreaction, I challenge thee, so a commit snickersnee!20:49
-!- perlmonkey2 [~perlmonke@m475636d0.tmodns.net] has quit [Ping timeout: 276 seconds]20:56
-!- perlmonkey2 [~perlmonke@m375636d0.tmodns.net] has joined #webgui21:01
-!- mode/#webgui [+v perlmonkey2] by ChanServ21:01
* scrottie staggers out of bed21:09
-!- daviddelikat [~user@h69-128-106-50.mdsnwi.dedicated.static.tds.net] has quit [Quit: Leaving.]21:15
-!- daviddelikat [~user@h69-128-106-50.mdsnwi.dedicated.static.tds.net] has joined #webgui21:16
-!- perlmonkey2 [~perlmonke@m375636d0.tmodns.net] has quit [Read error: Connection reset by peer]21:25
-!- perlmonkey2 [~perlmonke@m475636d0.tmodns.net] has joined #webgui21:25
-!- mode/#webgui [+v perlmonkey2] by ChanServ21:25
+perlmonkey2why root an n1? 21:42
+perlmonkey2wrong chan?21:43
SDuensinhehehe22:06
SDuensinThe question is, why NOT?22:06
@preactionthat's never a good question.22:06
CIA-60webgui: Doug Bell master * r731ae38 / (lib/WebGUI/DateTime.pm t/DateTime.t): add webgui to strftime conversion sub - http://bit.ly/9bg4io22:06
CIA-60webgui: Doug Bell master * r625da8b / (4 files in 4 dirs): fix 11432 DataTable date input - http://bit.ly/cMTzWs22:06
* SDuensin has root on an Incredible.22:06
-!- perlmonkey2 [~perlmonke@m475636d0.tmodns.net] has quit [Ping timeout: 252 seconds]22:07
-!- perlmonkey2 [~perlmonke@m475636d0.tmodns.net] has joined #webgui22:07
-!- mode/#webgui [+v perlmonkey2] by ChanServ22:07
@preactionthat's it. perlDreamer anything you see on the bug list that we need to fix? looks to me like we got them all22:08
@preactionoh22:08
@preactionwait22:08
@preactionkristi's new bug22:08
@preactionCURSE YOU BOPBOP!22:08
@scrottieick.22:12
-!- perlmonkey2 [~perlmonke@m475636d0.tmodns.net] has quit [Ping timeout: 265 seconds]22:18
-!- perlmonkey2 [~perlmonke@m375636d0.tmodns.net] has joined #webgui22:22
-!- mode/#webgui [+v perlmonkey2] by ChanServ22:22
CIA-60webgui: Doug Bell master * rabd2e09 / (docs/changelog/7.x.x.txt lib/WebGUI/Asset/Post.pm): fix 11772 Metadata in post doesn't set default - http://bit.ly/azvuAd22:29
@preaction6 bugs down today22:30
elnino_when you roll back, you lose the changes right? or do they go back into penidng?22:30
+perlDreamerthey are gone22:30
+perlDreamerhistory22:30
elnino_darn22:30
@preactionwe need to remove the GreenPortal style, or come up with a special "dark" CSS file to use, or fix it so it's not so damned specific22:30
+perlDreamerstill in a database backup22:30
elnino_I wanted to see the site before I changed it.22:30
elnino_and get a screen shot.22:31
+perlDreameroh, hm22:31
+perlDreamerI think you can view old asset versions22:31
+perlDreamerone page at a time22:31
elnino_no. I tried.22:31
elnino_oh. I see.22:31
elnino_I was in the version manager. I'll try your idea.22:31
+perlDreamerpreaction, even if we remove GreenPortal, that one site will still be problematic22:31
@preactioni don't know what that one site is, and i'm not referring to it22:32
@preactionthis is the DataTable asset now, it has a white background, but the greenportal style puts a heavy emphasis on white text. more emphasis than YUI does on needing black text22:32
+perlDreamerah22:33
+perlDreamerelnino_, there should be a "view" button next to the assets in the version tag22:34
+perlDreamerjust click it22:34
+perlDreamerit will work only for that first click22:34
elnino_yep.. thanks!22:34
+perlDreamerall subsequent clicks on navs, links, etc, will lose the special ?revisionDate=\d+ query param22:34
elnino_darn. doest work, because i didn't modify the page, I was only modifiygin the template files. =p oh.well.22:38
elnino_I tried copying ?func=view;revision=128145778 and reapplying but that didn't work either.22:38
+perlDreamerbummer22:38
+perlDreamerhow about taking a dump, making a site on the side, and rolling back there?22:39
* perlDreamer is off for an errand, back in 60-9022:39
-!- daviddelikat [~user@h69-128-106-50.mdsnwi.dedicated.static.tds.net] has quit [Quit: Leaving.]23:01
-!- daviddelikat [~user@h69-128-106-50.mdsnwi.dedicated.static.tds.net] has joined #webgui23:01
-!- carogray [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has quit [Quit: Leaving.]23:09
-!- danny_mk [~chatzilla@173-166-55-113-newengland.hfc.comcastbusiness.net] has quit [Quit: ChatZilla 0.9.86 [Firefox 3.6/20100115144158]]23:29
-!- daviddelikat [~user@h69-128-106-50.mdsnwi.dedicated.static.tds.net] has quit [Quit: Leaving.]23:46
-!- daviddelikat [~user@h69-128-106-50.mdsnwi.dedicated.static.tds.net] has joined #webgui23:46
--- Day changed Wed Aug 11 2010
-!- vayde [~vayde@63-228-51-145.mpls.qwest.net] has quit [Remote host closed the connection]00:01
CIA-60webgui: Scott Walters WebGUI8 * r7eda8f7 / t/tests/Test/WebGUI/Asset.pm : 00:15
CIA-60webgui: Numerous corrections to tests.00:15
CIA-60webgui: Currently, "Looks like you failed 62 tests of 3882".00:15
CIA-60webgui: Many transient, non-deterministic failures lurk and specific asset types need special cases added in test subclasses. - http://bit.ly/bnFxwA00:15
-!- daviddelikat [~user@h69-128-106-50.mdsnwi.dedicated.static.tds.net] has quit [Quit: Leaving.]00:19
-!- daviddelikat [~user@h69-128-106-50.mdsnwi.dedicated.static.tds.net] has joined #webgui00:20
+perlmonkey2r all the proposed updates to form:: doje for 8?00:20
+perlmonkey2done 00:20
@preactionperlmonkey2: they are all in WebGUI::FormBuilder, but there are a couple non-critical methods that need to be done i think00:23
@preactionall the changes to WebGUI::Form::Controls are done though00:23
+perlmonkey2nice, maybe when i finish progressbar i can wrap up corma00:26
+perlmonkey2forms too 00:26
+perlDreamerperlmonkey2, you probably have nightmare time typing passwords00:34
+perlmonkey2i use the voice to text feature. easier to say up up down down left roght left right aba00:36
+perlmonkey2cant even type it00:37
-!- daviddelikat [~user@h69-128-106-50.mdsnwi.dedicated.static.tds.net] has quit [Quit: Leaving.]00:41
-!- daviddelikat [~user@h69-128-106-50.mdsnwi.dedicated.static.tds.net] has joined #webgui00:42
+perlDreameranyone have a good, simple bash programming reference online?00:42
-!- daviddelikat [~user@h69-128-106-50.mdsnwi.dedicated.static.tds.net] has quit [Client Quit]00:42
@preactionhttp://tldp.org/LDP/abs/html/index.html <- that's the one i always use00:44
-!- perlmonkey2 [~perlmonke@m375636d0.tmodns.net] has quit [Ping timeout: 252 seconds]00:49
+perlDreamermmm, yes00:50
+perlDreamernow we can make variables00:50
+perlDreamerthis is good00:50
+perlDreameralso the -v switch to ls is very good00:50
+perlDreamerpreaction: http://gist.github.com/51809700:59
@preactionnice01:00
+perlDreamer./merger.sh 7.901:00
+perlDreamerbuilds the whole merged upgrade packge01:00
@tavistopreaction, for the template picker in the setup screen, are you just going to have the small thumbnail screenshot? Or when people move their mouse over the image will it show a larger version as well?  (Im doing screenshots right now)01:02
@preactionit's doing what it's doing now, so probably just the little one for now01:02
@tavistosounds good01:02
@preactioni wanted input, i wanted more, but nobody bothered and now it's 58 minutes until the feature freeze...01:02
@preactionand i've still got bugs to fix!01:02
@tavistoyep well I was too busy playing solitaire01:03
@scrottiemake more noise.01:03
@scrottieasking for input isn't the same as asking for any input from anyone.01:04
@scrottieperlDreamer, I pushed up the Test::Class tests, as they stand.  I'll stop pushing things until I can coordinate with you.01:04
@preactionscrottie: it was months back. during the early days of 7.901:04
@scrottieoh.01:04
@preactionand i'd remind people about once a month01:04
@preactionthat's how we finally got the new default content01:05
+perlDreamerscrottie, I'll sync up and check things out tomorrow01:05
@tavistoyep, Doug did a good job keeping on it. Just not enough people or time01:05
@scrottieah, thought this was something from a couple of days ago.01:07
@tavistoand Doug, the freeze is at 6pm PDT, so we're 2hrs 58 minutes away01:07
@scrottieI think I'm going to head out in a couple of hours and leave today as a short day and then pick up some slack tomorrow.01:10
-!- daviddelikat [~user@h69-129-206-153.mdsnwi.broadband.dynamic.tds.net] has joined #webgui01:15
CIA-60webgui: Colin Kuskie master * r07b4258 / (2 files in 2 dirs): Shunt upgrade code from 7.8.24 to 7.9.11 - http://bit.ly/9z9Hg701:17
+perlDreamerI think we need to change how we do upgrade subs01:24
+perlDreamerif they include something other than WebGUI::Asset, WebGUI::Storage, they should do a require inside the sub01:24
+perlDreamerinstead of putting stuff at the top01:24
@preactionor they could just do a use inside the sub if you wanted01:25
+perlDreameryeah, as long as it's _inside_ the sub, so it comes with the sub on merges and manual copy/moves01:25
CIA-60webgui: Colin Kuskie master * r2003f05 / docs/upgrades/upgrade_7.8.24-7.9.11.pl : Add missing module use line for WikiPage. - http://bit.ly/bWmFeI01:25
CIA-60webgui: Colin Kuskie master * re10f2c7 / docs/upgrades/upgrade_7.8.24-7.9.11.pl : Add more missing module lines. - http://bit.ly/aUnLXl01:25
+perlDreamerthe shunt upgrade is debugged and running on default content01:26
+perlDreamerI'll regenerate the merged upgrade package just before we release01:26
+perlDreamerto handle last second template adds01:26
HaargperlDreamer, for that merge package generator, there are two problems i see01:28
Haargfirst is that i don't think it will get the packages in the correct order01:28
Haargsecond is that it may include storage files that aren't used01:29
+perlDreamerI won't argue about storage files, because I think you're right01:30
+perlDreamerbut I'm pretty sure the ordering is fine01:30
+perlDreamerls -v sorts them the right way01:30
+perlDreamerin "version" order01:30
Haargah01:30
Haarggnu extension01:30
Haargwon't work on os x01:30
+perlDreameras long as it dies, that's okay01:31
Haargnope01:31
Haarg  -v      Force unedited printing of non-graphic characters; this is the default when output is not to a terminal.01:31
+perlDreamerhm, silent death is bad01:31
+perlDreamerI'll add a note to the script that you have to use gnu ls, or else01:32
+perlDreamerI'd rather do it all in perl, as a wgd plugin01:32
+perlDreamerbut I had 2/3 of it done in shell already01:32
-!- perlmonkey2 [~perlmonke@96.18.42.134] has joined #webgui01:33
-!- mode/#webgui [+v perlmonkey2] by ChanServ01:33
+perlDreamerHaarg, are there _any_ gnu-like utilities in Mac OS?01:34
+perlDreamersort has --version-sort01:34
Haargall the base utils are bsd based01:34
@preactioni'm trying macport's coreutils package to see if i can get gnu ls from there01:34
+perlDreamerwell, that means for portability, we'd have to use perl, or manually implement sort ourselves01:35
+perlDreamerI'll look into that for the next shunt upgrade01:36
+perlDreamerhow about storage locations01:36
+perlmonkey2ProgressBar->run is mostly impenetrable.01:36
+perlDreamerwe could look to see if each one exists now, and only include it if it does01:36
+perlmonkey2perlDreamer: hah, you're running a mac now?  I'm so sorry man.01:36
@preactionperlmonkey2: yeah, frodwith does some fun evil black magic in there01:37
+perlDreamerno, I'm using Ubuntu01:37
+perlDreamerHaarg was pointing out that I'd written something that guaranteed my job security :)01:37
+perlmonkey2perlDreamer: the wdg ls idea you were talking about the other day?01:37
+perlmonkey2preaction: yeah, that can't be the best way to do it.  It's just so ugly.01:38
+perlDreamerHaarg showed me the right way to do what I wanted to do01:38
+perlDreamerwgd for-each -0 -f -w'ls asset_url'01:38
+perlDreamerthen I can post process as needed01:38
@preactionperlmonkey2: best way to do what? it monkeypatches subroutines to add reporting, then it runs the original subref passed in. i think it's a wonderful solution01:39
Haargls -d packages-7.9.* | perl -e'print map{$_->[1]}sort{$a->[0]<=>$b->[0]}map{/(\d+)$/;[$1,$_]}<>'01:40
+perlmonkey2preaction: well you explaining what it does goes a long ways towards me understanding what's going on.01:40
@preactionHaarg, perlDreamer: The MacPorts "coreutils" package installs gnu ls as "gls"01:40
Haargthere's probably a better way but that would work01:40
Haargyeah, it's easy enough to get gnu utils01:41
+perlDreamerexcept on Linux systems, it won't be called gls01:41
Haargsimpler if you don't need to though01:41
+perlDreamerlet me try this other sorter that Haarg just posted01:41
+perlDreamerHaarg, let's talk more about the storage locations01:42
Haargls -d packages-7.9.* | sort -t. -g -k301:42
-!- daviddelikat [~user@h69-129-206-153.mdsnwi.broadband.dynamic.tds.net] has quit [Quit: Leaving.]01:44
+perlDreamerdue to me specifying that it should be run from inside the directory, it needs to be -k5, but it works01:45
+perlDreamerHaarg, why do you think it will have unused storage locations?01:47
Haargold revisions of the same asset01:47
Haargtheir storage files will be extracted01:47
Haargthen the .json files will be overwritten01:47
Haargbut the old version's storage location will remain01:48
-!- daviddelikat [~user@h69-129-206-153.mdsnwi.broadband.dynamic.tds.net] has joined #webgui01:49
+perlDreamerso, during the rename to assetId, I should check to see if the assetId file already exists01:50
+perlDreamerif it does, I can open the old file, find the storageId, and remove that file01:50
Haargprobably easier to do it a different way01:50
+perlDreamerfind the name of all storage locations when I'm done, and remove any that don't exist?01:52
Haarginstead of *.storage in the tar czf01:52
Haargperl -MJSON=decode_json -le'for(@ARGV){open $fh, "<", $_;local $/;$f=<$fh>;print "$_.storage" for @{decode_json($f)->{storage}}}' *.json | sort -u01:52
+perlDreamerthere are 35 unused storage locations01:56
CIA-60webgui: Colin Kuskie master * rb45c693 / docs/upgrades/packages-7.8.24-7.9.11/merged.wgpkg : Remove unused storage locations. - http://bit.ly/9vpcM702:01
+perlmonkey2Is there a progressbar in the default site?  This all looks way too complicated for a simple progressbar and I want to see why it is so entwined with wG.02:04
@preactiondo a CopyBranch on the Import Node, With Descendants02:05
+perlmonkey2preaction: thanks02:06
+perlmonkey2This page says TOADO.  I'm guessing something went wrong.02:14
@preactionwhat page?02:15
@preactioni'm guessing it's a to-do spelled like an 8 year old who listens to too much Zappa02:15
+perlmonkey2hah, I was trying to find the CopyBranch option and was in the tree view of the import node.02:16
@preactionclick on Asset Helpers in the admin bar02:16
+perlmonkey2And that popped up as a JS alert.02:16
+perlmonkey2Did the session managing change?  I think I've found an edgecase where sessions get broken.02:17
@preactionsession managing?02:19
CIA-60webgui: Doug Bell master * rbd4e7a2 / (3 files in 3 dirs): 02:22
CIA-60webgui: fix 11768 Edit Branch does not update wgaccess02:22
CIA-60webgui: I can't seem to reproduce this problem in the tests... - http://bit.ly/bNMtzF02:22
CIA-60webgui: Colin Kuskie master * rcb2bb75 / (7 files in 4 dirs): Remove notes and diags - http://bit.ly/b3pYGW02:32
+perlDreamerwe're leaking two scratch variables, somewhere02:33
+perlDreameraside from that, the tests are pretty clean right now02:33
+perlmonkey2preaction: user sessions.  02:34
+perlmonkey2preaction: I don't know what the hell I'm talking about.  The way wG knows who's logged in?  Cookie SID's which are used to pull session data from the DB?02:35
@preactionperlmonkey2: how about we start with what problem you are having?02:35
+perlmonkey2Seems like if I do refreshes while in Admin mode, I get the same admin page, but can't do anything.02:36
+perlmonkey2preaction: yeah, I'll not waste your time.  Next time it happens I'll carefully note what occurred and file a bug report.02:36
@preactionso would it be evil if, in order to work around WebGUI::Text being the most horrible thing ever, I required a new prerequisite02:38
+perlmonkey2something better than Text::CSV?02:39
@preactionno, something to normalize line-endings02:39
+perlmonkey2like \n vs \r?02:39
@preactionText::CSV has the same problem: you have to magically know what kind of line endings the CSV file you are about to parse has02:39
+perlDreamerevery CSV module has that problem, from what I've seen on CPAN02:40
@preactionhttp://search.cpan.org/~audreyt/PerlIO-eol-0.14/eol.pm <- what if we fix it at the IO layer?02:40
+perlDreamerhow does it tell if we have \r\n inside quotes, as opposed to the "real" end of the line?02:42
@preactionthe Text::CSV module handles that02:42
@preactionthat's what the binary => 1 thing does02:43
+perlDreamerI'm sorry, I wasn't clear02:43
+perlDreamerhow does PerlIO::eol tell the difference?02:43
@preactiondifference of what?02:43
+perlDreamerbetween \r,\n inside quotes, and at the end of the line02:44
@preactionit doesn't, because we don't care: someone is trying to make a line break somehow02:44
+perlDreamerso if I pass it "\r\n",007,GoldFinger\r"this",006,that\r02:45
+perlDreamerit won't break the CSV file?02:45
@preactionokay, first and foremost: CSV was never ever ever meant to handle that.02:45
@preactionso if someone tries to give us that, we rightfully deserve to spit in their face02:46
+perlDreamerit's manually line wrapped input02:46
+perlDreamerI think if you built a Thingy with a text area in it, you could make that02:46
@preactionthe "\r\n"? when \r is the line-ending, as your example has at the end?02:46
+perlDreamersure, Firefox does that right now02:47
@preactionif the \n is in there, someone is being malicious02:47
+perlDreamer\r\n would be valid content to a text-area02:47
@preactioni don't care about 100%, all i want is that 90% of normal cases: A windows user is uploading a CSV they created on windows into a Thingy02:47
@preactionperlDreamer: but then they'd ALL be \r\n, not half or almost half or just more than half02:48
+perlDreamerI don't think we can count on any user generated input being sane02:50
+perlDreamerSquOnk had the most reliable idea that's been offered so far02:51
+perlDreamerand that's to show the user what we think they gave us02:51
+perlDreamerand ask them to validate it02:51
@preactionthen how do they fix it?02:51
+perlDreamerthere's a Try Again button02:51
+perlDreamerthat asks WebGUI to choose the next out of a list of line endings02:52
@preactiona magic try again button?02:52
+perlDreameryup02:52
@preactionno02:52
+perlDreamerwhy not?02:52
+perlDreamerfirst, try \r02:52
+perlDreamerthen try \r\n02:53
+perlDreamerthen use \n02:53
+perlDreamerthe user never has to know about line endings02:53
+perlDreameror choose them02:53
@preactionwhen does Try Again stop working? What does Try Again even mean? why can't we even try to guess what the line ending might be before assuming it is \r02:53
@preactionno, they're just going to get pissed off about clicking Try Again twice every time they have to upload to a Thingy02:53
CIA-60webgui: khenn master * r22da7c4 / (10 files in 9 dirs): initial release of Asset Report asset allowing reports to be created using asset properties. - http://bit.ly/axsZ6Y02:54
+perlDreamerI don't think PerlIO::eol is going to do the right thing, but I don't think it's worth arguing about since by now you would have tried it to see if it works, or not02:58
+perlDreamerbut there ought to be some really thorough testing of ugly CSV files to make sure it works02:58
+perlDreamerso that when we find out where it breaks, we don't break other stuff trying to fix it02:59
CIA-60webgui: khenn master * r1ef6f19 / lib/WebGUI/Asset/Wobject/AssetReport.pm : Removed inheritance of Installable Aspect which was there for testing purposes only - http://bit.ly/bc3GeA02:59
+perlmonkey2You know what OS is uploading to you03:02
@preactionperlmonkey2: how?03:04
+perlmonkey2preaction: user-agent almost always includes OS.03:07
+perlmonkey2Although you could get a windows file from a linux submit.03:07
+perlmonkey2hasn't someone solved this problem?  Surely some ninja has developed the best(tm) heuristic for determining line endings.03:08
+perlmonkey2I should stop saying "some ninja".  Because if I want to use a descriptor implying someones ultimate awesomeness I'd say "some pirate".03:10
CIA-60webgui: khenn master * r8c83d15 / (2 files in 2 dirs): Fixed documentation and i18n issues - http://bit.ly/9qtVIW03:11
CIA-60webgui: Colin Kuskie master * rc51b256 / (2 files in 2 dirs): Merge AssetReport into the shunt upgrade. - http://bit.ly/95xAjM03:13
CIA-60webgui: Colin Kuskie master * rf91d025 / etc/WebGUI.conf.original : Add AssetReport to the default WebGUI config file. - http://bit.ly/9E7FSg03:15
-!- daviddelikat [~user@h69-129-206-153.mdsnwi.broadband.dynamic.tds.net] has quit [Quit: Leaving.]03:16
* perlDreamer has to make dinner for the boys, bbiaw03:19
@scrottielaters...03:19
-!- elnino_ [~ninow@c-98-240-143-131.hsd1.mn.comcast.net] has quit [Quit: Leaving]03:27
@scrottieokay, time to get myself cleaned up and go say hi to the real world.03:54
@preactiongood luck, i'll keep the antibiotics on standby03:54
+perlmonkey2Strange, log in log out, restart server, refresh page, nothing is allowing me to turn on admin.  Was just working.04:03
+perlDreamerWebGUI is too keen to allow you to fool it, perlmonkey204:04
+perlmonkey2heh, ?admin=on doens't work :P04:05
@preactioncheck the error log04:05
+perlDreamerop=switchOnAdmin04:05
@preactionnot in 804:05
+perlmonkey2/var/log/webgui.log shows nothing when I click to turn on admin04:06
+perlmonkey2no js errors.  Nothing.04:07
@preactionmight want to bump the log level up to INFO04:09
+perlmonkey2hmm, logged out, logged in, turn on admin, and edit boxes pop up on the wobjects, but the menu doesn't show up and the link for turn admin on statys the same.  Ahh, "Can't find revision date for assetId".  How did I break wG so quickly?04:09
@preactiondo you have wgdev installed? wgd reset -d <- easy way to get to a working environment04:10
+perlmonkey2preaction: nope, but I'll just blow away the db and start over.04:12
+perlDreamerperlmonkey2: wget http://www.haarg.org/wgdev04:14
+perlDreamerthat'll get you a wgd to use04:15
+perlDreameror is it http://www.haarg.org/wgd?04:15
+perlDreamerone of those04:15
+perlDreamerbut no need to clone a repo, or do anything04:15
Haargwgd04:15
+perlDreameryou really should have wgd, if only for wgd reset04:15
+perlDreamerwgd edit04:15
+perlDreamerwgd help04:15
CIA-60webgui: khenn master * r21f23bf / (2 files in 2 dirs): Added Template Help for Asset Report - http://bit.ly/by9L0h04:16
CIA-60webgui: khenn master * r91d4aa3 / (3 files in 2 dirs): Fixed i18n inside templates. Fixed URL of folder to match asset - http://bit.ly/bgjBXk04:16
CIA-60webgui: khenn master * radf3fe6 / (3 files in 3 dirs): Merge branch 'master' of git@github.com:plainblack/webgui - http://bit.ly/cCwPDT04:16
+perlmonkey2perlDreamer: is there a github link so I can keep up to date?04:17
+perlmonkey2brb have to go move the water.04:17
+perlDreamerhttp://www.github.com/haarg/wgdev?04:17
@preactionperlmonkey2: look up haarg on github04:17
Haarghttp://haarg.org/wgd for latest release as a single file04:17
@preactionperlDreamer: anything you need me to do? i'm satisfied with the bug list for now04:22
-!- fokat [~lem@190.72.138.110] has quit [Quit: Ex-Chat]04:35
CIA-60webgui: khenn master * rc398930 / (3 files in 3 dirs): Fixed international problem in JavaScript file - http://bit.ly/dBuJb504:44
+perlDreamerHaarg, I thought we went through the UserList asset and decided that you couldn't abuse it with unvalidated input?04:58
Haargwe decided that it wasn't a huge security issue and that you couldn't get access to extra data or modify anything04:59
Haargstill a bug though04:59
Haargif you search for something with a quote in it you'll get errors04:59
Haargso it's not a security bug05:01
@tavistopreaction, if there are other screenshots attached to the packages in the marketplace, do I need to remove them all and only upload the 1 new pic I want? Or can you tell the style wizard which image you want it to use for the preview?05:04
@preactiontavisto: just give me the one new pic you want and i'll handle it05:06
@preactionperlDreamer: i'm fixing the WebGUI::pluggable hole05:06
+perlDreamerI'm looking at UserList, and wondering why it's in the core05:06
@preactionthey were just so darned proud of finally contributing something!05:06
CIA-60webgui: Doug Bell master * rbb2e321 / (3 files in 3 dirs): fix 11773 Pluggable allows arbitrary module load - http://bit.ly/btW9i705:18
+perlDreamerpreaction: you should try dies_ok05:19
+perlDreamerfrom Test::Exception05:19
CIA-60webgui: Doug Bell master * re71ce09 / lib/WebGUI/Storage.pm : add "pm" to list of verboten uploads - http://bit.ly/9dZe7l05:19
@preactioni was going to, but i was not sure we had Test::Exception as a prereq05:19
+perlDreamerwe do05:19
+perlDreamerto be honest, I think we could take about any testing module as a preref, since Moose and its descendants use it05:20
+perlDreamerexcept for Test::Sweet05:20
CIA-60webgui: Doug Bell master * rda4f2f0 / lib/WebGUI/Pluggable.pm : graham's regex makes more sense than mine - http://bit.ly/bpnxnn05:21
CIA-60webgui: Doug Bell master * r7861679 / t/Pluggable.t : add a test for :::: - http://bit.ly/cCjs8q05:26
CIA-60webgui: Doug Bell master * r50d81eb / t/Pluggable.t : use Test::Exception instead - http://bit.ly/aMwawt05:26
-!- perlmonkey2 [~perlmonke@96.18.42.134] has quit [Ping timeout: 258 seconds]05:31
CIA-60webgui: khenn master * r3141a6e / (2 files in 2 dirs): Fixed injection issues with SQL. Fixed a JS issue introduced in previous bug fix. - http://bit.ly/azQIwf05:36
CIA-60webgui: khenn master * rda2b55d / (4 files in 3 dirs): Merge branch 'master' of git@github.com:plainblack/webgui - http://bit.ly/9eeilR05:36
+perlDreamerpreaction, Haarg: aren't these SQL clauses identical05:53
+perlDreamercolumn like "value"05:53
+perlDreamercolumn = "value"05:53
+perlDreameror is like case insensitive?05:54
@preactioni believe like implies case-insensitivity05:54
+perlDreameryup05:54
+perlDreamerI'm almost done with the UserList SQL injection05:56
+perlDreamerI need to serve some ice cream to the troops first05:56
-!- elnino [~ninow@c-98-240-143-131.hsd1.mn.comcast.net] has joined #webgui05:57
elninohi!05:57
elninowhen in /root/import, and you're viewing in via tha asset manager.05:58
elninoand then you click on "back to site"05:58
elninowhat is that view called?05:58
elninofolder view?05:58
@preactionelnino: well. it's the folder view plus the Fail Safe style06:00
@preactionperlDreamer: "the"? you mean the 2 dozen?06:00
elninook. I'll call it that in my rfe06:00
elninonite!06:07
-!- elnino [~ninow@c-98-240-143-131.hsd1.mn.comcast.net] has quit [Quit: Leaving]06:07
+perlDreamerpreaction, "the" can be plural in English...06:16
* perlDreamer looks shiftily from side to side for bopbop to come racing in with a big stick06:16
@preactionbut injection needs an 's'06:16
CIA-60webgui: khenn master * r6e9a15c / lib/WebGUI/Asset/Wobject/AssetReport.pm : Fixed issues with sort order - http://bit.ly/9Lckk106:17
+perlDreamer"injection" can be plural in English, too06:17
@preactionSHENANIGANS06:18
+perlDreamerplease give that the once over for me06:19
+perlDreamerhttp://gist.github.com/51842106:19
@preactionlooks good to me06:20
@preactionwait, what about checking sortBy that it's valid06:21
@preactionsee what Frank did with valid_column or whathaveyou06:21
CIA-60webgui: Doug Bell master * r1a22d13 / lib/WebGUI/Asset/Wobject/AssetReport.pm : document why we only allow admins to add - http://bit.ly/aFLSNO06:23
+perlDreamerpreaction, nothing like real column validity in there06:35
+perlDreamerthere is a secure_identifier06:35
@preactionyeah that one06:35
+perlDreamerwhich splits column and table into parts and quotes both06:35
+perlDreamerbut UserList does the same thing06:35
+perlDreamer    $sortBy = join '.', map { $dbh->quote_identifier($_) } split /\./, $sortBy;06:35
@preactionah06:35
@preactionthat wasn't part of the patch, so i didn't see it06:35
+perlDreamerit was original06:35
@preactionyeah, that looks like it's actually validated against a list of possibles06:36
@preactionlooks good to me, it's 11pm and i stopped caring 4 hours ago.06:37
+perlDreamergo to bed, I'll do the release and associated work06:37
+perlDreamerright after the kiddos go to bed06:37
CIA-60webgui: Colin Kuskie master * r0e7bc7a / (2 files in 2 dirs): Fix use of raw param calls in UserList. Fixes bug #11774 - http://bit.ly/bSkOHq06:37
@preactionperlDreamer: one more bug fix quick!06:42
@preactionnevermind. i'll just post it, it's not a blocking problem06:43
+perlDreamerGO TO BED!06:43
+perlDreamerBED, you know that horizontal thing with the soft sheets and blankets!!???06:43
CIA-60webgui: Colin Kuskie master * r6eba088 / t/Asset/File/setfile.t : Update test to accomodate new restriction on uploading .pm files. - http://bit.ly/bDkCMK06:50
@preactionwtf, didn't we do that before? i remember changing it and i remember you having to update the test after me06:51
CIA-60webgui: Colin Kuskie master * r19199ca / (2 files in 2 dirs): Fix bugs in AssetReport code, and test. - http://bit.ly/batubW06:58
@preactionremind me to write a nastygram to frank for that one.07:04
+perlDreameris the .pm stuff supposed to be added everywhere?07:07
+perlDreamerit's only in addFileFromFileSytem, not addFileFromFormPost07:07
+perlDreamerpreaction: it's not in addFileFromScalar, either07:08
CIA-60webgui: Colin Kuskie master * r38788f1 / (t/Storage.t t/supporting_collateral/littleTextFile): Use a safe file for doing upload and addFile tests. - http://bit.ly/cDQPVF07:11
CIA-60webgui: Colin Kuskie master * rd06b7b5 / t/Shop/Vendor.t : Fix a test with random false fails. - http://bit.ly/b6aqlI07:25
CIA-60webgui: Colin Kuskie master * r26f34a3 / docs/upgrades/packages-7.8.24-7.9.11/merged.wgpkg : Updated merged WebGUI package. - http://bit.ly/dq0M1R07:31
CIA-60webgui: Colin Kuskie master * rf8c65f4 / docs/create.sql : Ready for 7.9.11 release. - http://bit.ly/cbeG5307:37
-!- gugod [~gugod@114-32-222-155.HINET-IP.hinet.net] has joined #webgui07:48
-!- gugod [~gugod@114-32-222-155.HINET-IP.hinet.net] has quit [Client Quit]07:48
CIA-60webgui: root master * r63865eb / lib/WebGUI.pm : WebGUI 7.9.11 is stable. - http://bit.ly/9HCEXF07:55
-!- kaare [~kaare@langebro.adapt.dk] has joined #webgui08:15
-!- kaare is now known as Guest8093108:15
CIA-60webgui: Colin Kuskie master * re55e7d2 / (4 files in 4 dirs): Ready for 7.9.12 development. - http://bit.ly/9gppVt08:18
@tavistogood work all.. time for sleep08:20
+perlDreamerlater, tavisto08:20
@tavistonight08:20
-!- tavisto [~tavisto@pool-71-186-22-44.gdrpmi.dsl-w.verizon.net] has quit [Quit: tavisto]08:20
-!- perlDreamer [~colink@pool-173-50-255-102.ptldor.fios.verizon.net] has quit [Quit: Leaving.]08:49
-!- mducharme [~nothing@S0106000e0cc03cff.wp.shawcable.net] has quit [Read error: Connection reset by peer]11:19
-!- Guest80931 is now known as kaare_11:29
-!- carogray [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has joined #webgui11:57
-!- carogray [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has quit [Quit: Leaving.]12:26
-!- MrHairgrease [~martin@194.171.50.69] has joined #webgui14:10
-!- mode/#webgui [+v MrHairgrease] by ChanServ14:10
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has joined #webgui15:01
-!- ryuu_ro [~rory@194.171.50.69] has joined #webgui15:24
-!- kaare_ [~kaare@langebro.adapt.dk] has quit [Remote host closed the connection]15:41
-!- daviddelikat [~user@h69-128-106-50.mdsnwi.dedicated.static.tds.net] has joined #webgui15:46
SDuensinMorning.16:00
-!- perlmonkey2 [~perlmonke@m415636d0.tmodns.net] has joined #webgui16:16
-!- mode/#webgui [+v perlmonkey2] by ChanServ16:16
-!- mducharme [~nothing@S0106000e0cc03cff.wp.shawcable.net] has joined #webgui16:54
-!- perlDreamer [~colink@pool-173-50-255-102.ptldor.fios.verizon.net] has joined #webgui16:57
-!- mode/#webgui [+v perlDreamer] by ChanServ16:57
+perlDreamermorning, folks17:05
+MrHairgreaseGOOD MORNING!17:06
+perlDreamerGreasings!17:07
+MrHairgreaseindeed17:07
+perlDreamerhey, why did you go and break webgui.org?17:08
+MrHairgreasei figured, why not?17:08
-!- waxhead [~pete@ppp121-45-217-60.lns20.cbr1.internode.on.net] has quit [Quit: Ex-Chat]17:10
-!- daviddelikat [~user@h69-128-106-50.mdsnwi.dedicated.static.tds.net] has quit [Quit: Leaving.]17:18
-!- ryuu_ro [~rory@194.171.50.69] has quit [Ping timeout: 265 seconds]17:31
-!- perlmonkey2 [~perlmonke@m415636d0.tmodns.net] has quit [Ping timeout: 246 seconds]17:49
-!- perlmonkey2 [~perlmonke@m315636d0.tmodns.net] has joined #webgui17:50
-!- mode/#webgui [+v perlmonkey2] by ChanServ17:50
-!- xootom [5eaba154@gateway/web/freenode/ip.94.171.161.84] has joined #webgui17:55
xootomstrange problem here, have just upgraded to 7.9.11, when I wreservice restart all services, modperl and modproxy fail to start, however the site is actually running... any ideas?18:00
-!- daviddelikat [~user@h69-128-106-50.mdsnwi.dedicated.static.tds.net] has joined #webgui18:00
+perlDreamerxootom, we're working on that problem right now18:02
xootomah ok thanks :)18:02
+MrHairgreaseis it related to the wg.org issue?18:02
+perlDreamermost likely18:02
xootomI did have to force install CHI in cpan to get all the requisite modules... hope that doesn't come back to bite me ....18:03
HaargCHI isn't used with the default config anyway so it shouldn't be a problem.18:03
+perlDreamerthere are some missing dependencies, like Test::Warnings, and one other that I forget off the top of my head18:04
Haargwreservice checks that the response from the server is a HTTP 200.  if the home page is giving a 404, which it apparently is, wreservice will report a failure to start when in fact the services are running fine.18:04
+perlDreamerthe really funny thing, Haarg, is that curl says that there's really a page there18:05
+perlDreamerit doesn't report a 40418:05
+perlDreamerbut wget, and LWP do18:05
xootomyeah i've got montastic saying  22 - HTTP page not retrieved. The requested url was not found or returned another error with the HTTP error code being  400  or  above. 18:05
-!- gugod` is now known as gugod18:07
Haargcurl gets a 404 too, but it doesn't show you the http response code by default18:07
+perlDreamercurl showed me a real page18:08
Haargyes18:08
+perlDreamerbut maybe it's the NotFound page...18:08
Haargbecause there is a real page18:08
Haargseems like Content::Asset doesn't have anything to use the default page for '/'18:12
+perlDreameryes, it's due to dispatch18:12
-!- perlmonkey2 [~perlmonke@m315636d0.tmodns.net] has quit [Ping timeout: 265 seconds]18:21
-!- perlmonkey2 [~perlmonke@m315636d0.tmodns.net] has joined #webgui18:22
-!- mode/#webgui [+v perlmonkey2] by ChanServ18:22
+perlDreamerHaarg, can I throw a test bug your way?18:34
Haargi can take a look18:35
-!- daviddelikat [~user@h69-128-106-50.mdsnwi.dedicated.static.tds.net] has quit [Quit: Leaving.]18:35
+perlDreamerIf, in a test, the defaultPage is set to a test asset, it's not cleaned up18:35
+perlDreameri think the settings should be restored before the asset and version tag cleanup happens18:35
-!- tavisto [~tavisto@pool-71-186-22-44.gdrpmi.dsl-w.verizon.net] has joined #webgui18:38
-!- mode/#webgui [+o tavisto] by ChanServ18:38
CIA-60webgui: Colin Kuskie master * r02121fb / (3 files in 3 dirs): Fix problems with getting the default page. Fixes bug #11778. - http://bit.ly/9iRweA18:39
+perlDreamerxootom: if you grab a copy of the that patch and apply it, will fix the monitoring problems18:39
xootomthank you18:39
HaargperlDreamer, that seems like a reasonable change to make to the testing stuff.  might make the code rather ugly though.18:43
xootomgreat, that's done it18:44
+perlDreamerHaarg: maybe it's best that we leave it as it is, and just do what I did by hand in t/Content/Asset.t18:46
* perlDreamer goes to the gym to relax for a bit18:47
-!- perlmonkey2 [~perlmonke@m315636d0.tmodns.net] has quit [Read error: Connection reset by peer]19:57
-!- perlmonkey2 [~perlmonke@m415636d0.tmodns.net] has joined #webgui19:58
-!- mode/#webgui [+v perlmonkey2] by ChanServ19:58
-!- MrHairgrease [~martin@194.171.50.69] has left #webgui []19:59
-!- perlmon8 [~perlmonke@m315636d0.tmodns.net] has joined #webgui20:02
-!- perlmonkey2 [~perlmonke@m415636d0.tmodns.net] has quit [Read error: Connection reset by peer]20:02
-!- rizen [~rizen@69.71.243.243] has joined #webgui20:02
-!- mode/#webgui [+o rizen] by ChanServ20:02
-!- vayde [~vayde@70-59-75-125.mpls.qwest.net] has joined #webgui20:08
* frodwith just independently discovered the home page bug.20:14
* frodwith should pay more attention to the irc channel.20:14
* scrottie nods at frodwith20:23
-!- perlmon8 [~perlmonke@m315636d0.tmodns.net] has quit [Read error: Connection reset by peer]20:24
-!- perlmonkey2 [~perlmonke@m415636d0.tmodns.net] has joined #webgui20:24
-!- mode/#webgui [+v perlmonkey2] by ChanServ20:24
CIA-60webgui: Graham Knop WebGUI8 * r996acb5 / lib/WebGUI/Asset/Wobject/SQLReport.pm : fix typo in SQLReport - http://bit.ly/dlyHC020:29
-!- perlmonkey2 [~perlmonke@m415636d0.tmodns.net] has quit [Read error: Connection reset by peer]20:38
-!- perlmonkey2 [~perlmonke@m415636d0.tmodns.net] has joined #webgui20:39
-!- mode/#webgui [+v perlmonkey2] by ChanServ20:39
+perlDreamerHaarg, you've exceeded your weekly bug limit20:51
+perlDreamerin order to file more bugs, they have to be accompanied with patches and or tests20:51
Haargi keep thinking of potential security problems20:51
Haargand all of the ones i think of turn out to exist20:52
* scrottie nods at Haarg20:53
-!- tavisto [~tavisto@pool-71-186-22-44.gdrpmi.dsl-w.verizon.net] has quit [Quit: tavisto]20:57
-!- ryuu_ro [~rory@5357069A.cable.casema.nl] has joined #webgui20:57
-!- perlmon67 [~perlmonke@m415636d0.tmodns.net] has joined #webgui21:05
-!- perlmonkey2 [~perlmonke@m415636d0.tmodns.net] has quit [Read error: Connection reset by peer]21:05
@preactionperlDreamer: let's clear out what bugs we can and get a .12 out there. i'd like to not have you be up until midnight again21:15
perlmon67preaction short on hands? 21:19
@preactionperlmon67: no. just violations of policy that i allowed because i have no spine21:20
perlmon67doh21:20
-!- perlmonkey2 [~perlmonke@m415636d0.tmodns.net] has joined #webgui21:32
-!- mode/#webgui [+v perlmonkey2] by ChanServ21:32
-!- perlmon67 [~perlmonke@m415636d0.tmodns.net] has quit [Read error: Connection reset by peer]21:32
* perlDreamer passes preaction a spine21:34
+perlDreamerI have to have extra because I have kids21:34
ryuu_rodon't let them know you have a couple of spines21:35
ryuu_rothey will try harder to break them :)21:36
-!- perlmonkey2 [~perlmonke@m415636d0.tmodns.net] has quit [Client Quit]21:37
+perlDreamerryuu_ro, may you be blessed with lots of gifted, smart and stubborn children21:38
ryuu_rohmmmm, I only have one spine at the moment so I need to gather some before taking that road21:40
-!- perlmonkey2 [~perlmonke@m415636d0.tmodns.net] has joined #webgui21:40
-!- mode/#webgui [+v perlmonkey2] by ChanServ21:40
-!- perlmonkey2 [~perlmonke@m415636d0.tmodns.net] has quit [Quit: -a-]21:44
-!- perlmonkey2 [~perlmonke@m315636d0.tmodns.net] has joined #webgui21:55
-!- mode/#webgui [+v perlmonkey2] by ChanServ21:55
-!- perlmonkey2 [~perlmonke@m315636d0.tmodns.net] has quit [Client Quit]22:00
-!- perlmonkey2 [~perlmonke@m315636d0.tmodns.net] has joined #webgui22:00
-!- mode/#webgui [+v perlmonkey2] by ChanServ22:01
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has quit [Read error: Connection reset by peer]22:11
-!- perlmonkey2 [~perlmonke@m315636d0.tmodns.net] has quit [Read error: Connection reset by peer]22:13
-!- perlmonkey2 [~perlmonke@m315636d0.tmodns.net] has joined #webgui22:15
-!- mode/#webgui [+v perlmonkey2] by ChanServ22:15
-!- xootom [5eaba154@gateway/web/freenode/ip.94.171.161.84] has quit [Ping timeout: 252 seconds]22:23
-!- perlmonkey2 [~perlmonke@m315636d0.tmodns.net] has quit [Quit: -a-]22:36
-!- carogray [~Caroline@174-152-35-103.pools.spcsdns.net] has joined #webgui22:36
@preactionperlDreamer: which one are you working on?22:51
+perlDreamerstill working on the Matrix22:51
+perlDreamerit's busted by the last bugfix22:51
@preactionfun!22:52
+perlDreamerI missed some corner cases in the dash escaping22:52
+perlDreamerdo you want me to sideline it for some other bugs?22:52
@preactioni'll start on the remote holes in graham's list22:52
CIA-60webgui: Doug Bell master * r0957759 / (3 files in 3 dirs): fix 11779 SQLReport can run arbitrary queries - http://bit.ly/ansB6T22:52
@preactionno, just wondering so i can do something22:52
@preactionwe might need to fast-track updating our shared hosting sites though22:52
+perlDreamerto 7.9.12?22:53
@preactionyes22:53
+perlDreamernot tonight22:53
@preactionno22:55
@preactionbut within a week or two22:56
+perlDreamerbut before the WUC22:57
@preactionyes22:57
+perlDreamerin javascript, hash keys can contain dashes, right?23:07
@preactionquote them23:07
@preactionand then they can contain anything23:07
Haargpreaction you are going to hate me23:13
Haarg/*! UPDATE userProfileData SET firstName="foo" WHERE */ "SELECT"="SELECT"23:13
@preactionmysql lets you do that? nice23:15
Haargor23:15
Haarg-- SELECT\nUPDATE userProfileData SET firstName="foo"23:15
@preactionso comments should also be removed before running23:15
@preactionbut i'll add those cases to queryIsValid as well23:15
Haarghttp://dev.mysql.com/doc/refman/5.1/en/comments.html23:16
@scrottieeeep23:19
@scrottiethe blackhats are way ahead of you, preaction.23:19
* perlDreamer has to run an errand, bbiaw23:20
@preactionalways23:20
-!- daviddelikat [~user@h69-128-106-50.mdsnwi.dedicated.static.tds.net] has joined #webgui23:20
CIA-60webgui: Colin Kuskie master * r0f475dd / t/Asset/Wobject/Matrix.t : Update the test to handle safe (- => _____) listingIds. - http://bit.ly/b7oSBE23:21
@scrottiehttp://dev.mysql.com/doc/refman/5.1/en/privileges-provided.html#priv_file ... this privilege should be disabled.23:23
@scrottieby install, or whatever.23:23
Haargpretty sure it is with the wre23:24
@preactionyep. pretty sure the WRE just does GRANT ALL ON db.*23:24
CIA-60webgui: Doug Bell master * r4e9a2c0 / (3 files in 3 dirs): fix possible vulnerability loading template parser - http://bit.ly/bPKIpH23:38
CIA-60webgui: Doug Bell master * r39e3c4f / docs/changelog/7.x.x.txt : update changelog - http://bit.ly/9veZze23:56
CIA-60webgui: Doug Bell master * r6b1e02f / (3 files in 3 dirs): fixed possible vulnerability loading help files - http://bit.ly/95dspl23:56
--- Day changed Thu Aug 12 2010
-!- rizen [~rizen@69.71.243.243] has quit [Quit: rizen]00:03
+perlDreamerpreaction, what do we have left?00:08
@preactionpackage and ziparchive bypasses storage security00:08
@preactioni'm doing full test runs to verify my last few commits00:09
-!- carogray [~Caroline@174-152-35-103.pools.spcsdns.net] has quit [Ping timeout: 265 seconds]00:09
-!- carogray1 [~Caroline@70-12-41-46.pools.spcsdns.net] has joined #webgui00:10
+perlDreamerI'll work on those00:10
+perlDreameralso, all the Storage upload methods need to be changed to rename .pm files00:11
+perlDreamerwhich is going to wreak havoc with the Bazaar00:11
@preactionthey should be zipped, and i could swear i added pm to the list of verboten extentions00:12
+perlDreameryou did, to one of the methods00:12
+perlDreamerwe need to extract out that list, and make it a package variable00:12
+perlDreamerIn fact, I'm going to do that now, so that I can use it on the ZipArchive and package methods00:13
-!- carogray1 [~Caroline@70-12-41-46.pools.spcsdns.net] has quit [Read error: Connection reset by peer]00:21
@preactiongetting some test failures on syndicated content00:24
+perlDreameryes00:24
+perlDreamerpart of it is that the SVN server isn't up yet00:24
@preactionah, because svn.webgui.org's rss feed sucks00:25
@preactionchanging it to github's feed for webgui how about00:25
+perlDreamerwe need a better RSS feed to pull from00:25
+perlDreamersure00:25
+perlDreamerreally, it should be a live test00:25
+perlDreamerand we can supply the RSS feed00:25
CIA-60webgui: Doug Bell master * r1f99da3 / t/Asset/Wobject/SyndicatedContent.t : fix syndicated content test with a new RSS url - http://bit.ly/bAoGEw00:27
-!- daviddelikat [~user@h69-128-106-50.mdsnwi.dedicated.static.tds.net] has quit [Quit: Leaving.]00:27
+perlDreamerpreaction: http://gist.github.com/51980500:28
+perlDreamersame extensions, everywhere00:28
+perlDreameruh, if we change the ZipArchive to rename HTML files, won't it be useless?00:29
@preactionheh, yep00:29
ryuu_rogoodnight guys00:29
+perlDreamerlater, rory00:29
@preactioncya00:29
+perlDreamerso.... ?00:29
-!- ryuu_ro [~rory@5357069A.cable.casema.nl] has quit [Quit: ryuu_ro]00:29
+perlDreamerso we move it to the Bazaar?00:30
@preactionyou didn't want to! :(00:30
* perlDreamer is fatigued00:30
+perlDreamerlike I said before, I'm not particularly enamored with it, but I don't think we should just remove it00:31
+perlDreamerputting it into the Bazaar isn't quite as bad00:31
@preactionziparchive needs to be a special case then, everything  in that list except htm/html00:33
CIA-60webgui: Colin Kuskie master * r9f724a7 / (docs/changelog/7.x.x.txt lib/WebGUI/Storage.pm t/Storage.t): block the same set of extensions in http, scalar and file uploads in Storage. - http://bit.ly/aV2EKr00:56
-!- tavisto [~tavisto@pool-71-186-22-44.gdrpmi.dsl-w.verizon.net] has joined #webgui00:57
-!- mode/#webgui [+o tavisto] by ChanServ00:57
+perlDreamerpreaction: i've got the package one done, too01:23
@preactionso the only one remaining is the form->get() returning lists in list context01:38
@preactioni don't think that one can be fixed in any easy way01:40
-!- waxhead_ [~pete@ppp121-45-217-60.lns20.cbr1.internode.on.net] has joined #webgui01:44
CIA-60webgui: Colin Kuskie master * r13a222f / (docs/changelog/7.x.x.txt lib/WebGUI/Storage.pm t/Storage.t): Block files with dangerous names from coming in via Storage untar. - http://bit.ly/bxZu8d01:47
+perlDreamerpreaction, no, it's ack and crawl by hand01:48
@preactionthe only real danger is if that allows bypassing of security checks01:48
+perlDreamerform->get() ?01:49
@preactionyes01:49
+perlDreamerhow?01:50
@preactionfor example, in www_add, the url is gotten directly from the form, bypassing loadModule and the checks therein01:50
+perlDreamerthat means that loadModule should have a check, too01:50
+perlDreamereither that, or Form::Classname needs stricter checks01:51
@preactionit does, but it reimplements WebGUI::Pluggable and misses some of the checks pluggable does01:51
@preactionno, i could give the form three "url" fields: "url", "className", "WebGUI::Asset::..::..::..::something"01:51
+perlDreamerthen, it needs to be called in scalar context01:53
+perlDreamerso only one of them gets called01:53
+perlDreamerreturned01:53
+perlDreameryou evil query building fiend01:53
-!- perlmonkey2 [~perlmonke@96.18.42.134] has joined #webgui01:54
-!- mode/#webgui [+v perlmonkey2] by ChanServ01:54
* perlDreamer goes back to looking at the ZipArchive, and wishing that he didn't feel so responsible01:55
+perlDreamerfewer assets, less i18n, less memory...01:55
@preactionyeah, this is evil stuff that i'd never think about. luckily we have graham and paul that do this kind of thinking01:55
+perlDreamertime to get our evil on!02:00
+perlmonkey2A ProgressBar fell on me.02:01
+perlDreamerI'll get a rope02:02
+perlmonkey2That's what the fat guy says at the end of Road House.02:02
+perlDreamerare you calling me a fat guy?02:03
+perlDreamernow I'm really going to get my evil on02:03
@preactionoh you've really done it now02:03
+perlmonkey2perlDreamer: isn't fat, he's obtuse02:03
+perlmonkey2convex?02:03
+perlDreamerSupersized!02:03
+perlDreameractually, I figure if I get big enough, I'll displace enough atmosphere that the troposphere will expand 02:05
+perlDreamerthis will cause additional drag on the ISS, which will make it deorbit02:05
+perlmonkey2about time that piece of junk was decommissioned.02:05
+perlDreamerif I time it just right, I can aim it at $dayJob-102:05
+perlmonkey2hah02:05
+perlDreamernow, since I've just blown any semblence of plausability out the door02:06
+perlDreamerI should go back to fixing the ZipArchive02:06
+perlDreamerthat's it02:08
+perlDreamerI give up preaction02:08
+perlDreamerthis thing sucks02:08
+perlDreamerit will try to untar a .tarp file02:08
+perlDreamerand unzip a .zipper file02:08
+perlDreamerit needs to die02:08
@preactionit can be fixed! i believe in you!02:09
+perlDreamerwhy are you wearing my hat?02:09
+perlDreamerYOU are supposed to be the dynamic agent of change02:09
+perlDreamerand I am supposed to be the stodgy user advocate02:10
@preactionjust need to File::Find after the extract and piss in the attackers' cheerios02:10
@preactionbecause removing it at this point will probably be more work than this fix02:10
+perlDreamerit's going to take me at least 10 minutes to forgive you for doing this02:11
@preactionthat's okay02:11
+perlmonkey2I keep writing tests to figure out how what's going on in the progressbar monkeypatch and am getting nowhere.02:17
@preactionthe monkeypatch is local, only that code is affected if you're inside the subref02:17
+perlmonkey2That is definitely the kind of code that coudl use some comments.02:17
+perlmonkey2but what is being passed to plask?02:18
@preactiona subref that, when called, inits the progress bar and starts writing content02:19
+perlmonkey2and I don't follow.  It looks like what is passed is the monkeypatch.02:19
@preactionno, the monkeypatching is done by the "wrap" argument to ProgressBar->run(). inside run() it parses the wrap argument and wraps the subs it is told to02:20
+perlmonkey2but $url is what is passed to psgi.  $url is the return from the monkeypatch eval.02:22
-!- perlmonkey2 [~perlmonke@96.18.42.134] has left #webgui []02:53
-!- perlmonkey2 [~perlmonke@96.18.42.134] has joined #webgui03:34
-!- mode/#webgui [+v perlmonkey2] by ChanServ03:34
+perlDreamerpreaction, that's the Zip Archive all fixed03:38
@preactionyay03:38
CIA-60webgui: Colin Kuskie master * r7251cc2 / (3 files in 3 dirs): Secure and fix the Zip Archive. - http://bit.ly/aKIUZR03:39
+perlDreamerI'll check the list, do you know of anything off the top of your head that we should do next?03:39
@preactionyeah, the release03:39
@preactionthe only thing left is the form->get() in list context thing03:39
* perlDreamer will start the release dance03:40
+perlDreamerOoga booga ooga booga03:40
* scrottie pounds the drums03:40
+perlDreamerGreat gods of software development, hear my call03:40
* perlDreamer smokes a test suite03:43
+perlDreamerI offer up these electrons as a pleasing aroma, a sacrifice03:44
CIA-60webgui: Colin Kuskie master * rd92fc76 / t/supporting_collateral/extensions.tar : Add a new test collateral file. - http://bit.ly/bCKp0K04:05
CIA-60webgui: Colin Kuskie master * ra12278e / docs/create.sql : Preparing for 7.9.12 release. - http://bit.ly/acQWpN04:07
+perlDreameryay! monitorage04:18
+perlDreameroaky, 7.9.13 is out04:37
+perlDreamerand ready to be developed on04:37
CIA-60webgui: Colin Kuskie master * rb2924bd / (4 files in 4 dirs): Ready fro 7.9.13 development. - http://bit.ly/bfnRNr04:38
+perlmonkey2I'm out on the progressbar.  That stuff is just silly.04:43
+perlmonkey2Way too smart for me.04:44
+perlDreamerdon't sell yourself shoft, perlmonkey2, you got da hacks04:44
+perlmonkey2I don't think I'm going to get pushing onto a stack, doing something else, then popping the stack.04:45
@scrottieperlmonkey2, formulate more specific questions about what you're looking at and trying to do.  make little reports and post them as gists.04:46
@scrottieadd narratives.  half the time I do that, I wind up answering my own question.04:46
@scrottieor work on something else =)04:48
+perlmonkey2I need less complicated clockwork to work on.  Surely there has to be a ticket that doesn't involve magic.04:48
+perlmonkey2I can't stand it, wG8 branch AssetHelper::CopyBranch lines what are the points of 122 and 124?04:50
+perlmonkey2I mean, push adds to the end of the array and pop pops the end of hte array, right?04:51
@scrottiewell, you could try taking it out and see what happens, or you could address your question directly to preaction since he seems to be responsible.04:52
@scrottieone of my favorite little tricks is running a test with Devel::Trace in effect, capturing that to a file, changing something, running it again, and running kompare on the two outputs.04:53
@scrottieI agree this stuff needs a lot more comments.04:54
+perlmonkey2I'm looking for something fun, and that would be the opposite :P04:55
+perlmonkey2Anyways, on to url handlers or some such.04:55
@scrottieto each his own.  I'd love to go nuts with doc patches.04:56
+perlmonkey2doc patches?04:56
@scrottiemachine language is for computers.  code is for hu-mans.04:56
@scrottiecommits that do nothing but add documentation... POD, comments, whatever.04:56
+perlmonkey2and what's a url handler in a config file even look like :P04:57
+perlmonkey2ah, ic see.04:57
@scrottiein fact, if the crazy starts to take hold, I'm likely to start commiting a bunch of documentation that may or may not be correct and then watch people scramble to correct it >=)04:59
+perlmonkey2That could be fun.04:59
-!- perlmonkey2 [~perlmonke@96.18.42.134] has left #webgui []05:06
+perlDreamerscrottie, I can revert faster than you write and commit05:46
@scrottiethat wouldn't be entirely bad if you were kind enough to leave the commits there were actually correct.05:50
+perlDreamerbut if you're spamming the core, I'm not likely to check very closely05:51
@scrottieI'm going to go out on a limb here and assume that the level of filtering will be appropriately calibrated to the amount of work that actually went into the hypothetical doc patches.05:52
@preactionscrottie: to be quite honest, if you go nuts with docs patches, anything that's wrong will have to be corrected, but it will give me an exact spot that needs to be fixed07:00
@preactionso i say go for it07:00
* scrottie nods07:04
@preactionand i can think of at least five people, former and current webgui developers, who will sing your praises for it ;)07:05
@scrottiehaha07:07
CIA-60webgui: Colin Kuskie WebGUI8 * re43745c / lib/WebGUI/Asset/Wobject/WikiMaster.pm : Trap exceptions when trying to get the featured wiki page. - http://bit.ly/9clbM407:48
@scrottieperlDreamer, should I be pushing stuff again to WebGUI8?07:56
+perlDreamerscrottie, while we're doing a release, you only have to avoid pushing to the branch that we're releasing07:56
+perlDreamerfor the debug work that you're doing in WebGUI8, I'll work around whatever merge issues there are07:57
@scrottieright.  I couldn't remember what you said you were doing other than tests that started and stopped failing randomly would be problematic.07:57
+perlDreameryeah, when the tests get broken, its best not to commit until that's all fixed07:57
+perlDreamerfor example, t/run_assets.t is pretty useless right now, and it runs for a very, very long time07:58
+perlDreameryou are running the entire test suite before committing, right?07:58
@scrottiewell, run_assets.t is in much better shape07:58
@scrottiea mix... I've been doing a lot of perl -e 'Test::Whatever->new->runtests()' essentially07:59
@scrottieI'm running the whole set right now.  and yeah, it takes a long time.08:00
@scrottie"# Looks like you failed 39 tests of 3907." for run_tests.t08:02
+perlDreamerthat is better08:03
@scrottiea good chunk of those are "Failed test 'new revision tagId is current working tag'"08:03
@scrottieI haven't sat down yet to figure out exactly how the revision stuff is supposed to work.  That might be something where it gets fixed once and works everywhere.08:04
+perlDreamerthat sounds like autocommit08:04
@scrottieheh, we both did the same thing to WikiMaster.pm.08:05
@scrottieer, no, technically, I think we both went after the same problem:  http://gist.github.com/52034708:05
+perlDreamerno08:06
@scrottiethoughts?  it seems cleaner to me to avoid the case that causes the exception rather than catching an exception.08:06
+perlDreamerall Asset constructors throw exceptions08:06
@scrottiebut that's assuming...08:07
+perlDreamerso that will die if the requested asset is broken08:07
+perlDreameryou have to eval it08:07
+perlDreamerit won't return undef, like the version 7 code08:07
@scrottiehrm.  okay.  mind if I mix both of those patches together, and make sure there is an assetId and trap errors as well?08:07
@scrottiethe thing I fixed was this... if there were no Wiki pages in a Wiki, then $featuredId would be undef, and that would absolutely not work.08:08
+perlDreameryeah, the only thing I did was make sure that newById won't kill the current page request08:08
@scrottieokay.  cool.08:08
+perlDreamerso, if there's no featuredId, that whole section can be skipped08:08
+perlDreamerbut if there is, and the asset's broken, it has to be eval'ed, otherwise it will die unnecessarily08:09
-!- kaare [~kaare@langebro.adapt.dk] has joined #webgui08:09
-!- kaare is now known as Guest7434608:10
@scrottieright.08:10
@scrottiecool.08:10
CIA-60webgui: Scott Walters WebGUI8 * rc74572b / lib/WebGUI/Asset/Wobject/Survey.pm : Fix typo in '_doAfterTimeLimit_options' call from property definition. (+5 more commits...) - http://bit.ly/cp1VrI08:15
+perlDreamerspeaking of broken assets, if you're ever find a site with them, there's a script in sbin that will report, fix and/or delete them08:15
+perlDreamerfindBrokenAssets.pl08:15
@scrottie"getProperties agrees with getEditForm->getFieldsRecursive" ... a lot of the failures are that one, too.08:16
@scrottiesome email was flying about that script recently... I made a note of that.08:16
@scrottiewhat I should do is read it and see what it does exactly.08:17
+perlDreamerit's not all inclusive08:19
+perlDreamerit keeps getting extended as we find more edge cases08:19
+perlDreamerthe merge with 7.9.12 will fix some of the broken tests08:20
+perlDreamerlike t/Mail/Send.t, and SyndicatedContent.t08:20
CIA-60webgui: Scott Walters WebGUI8 * r5d50866 / t/tests/Test/WebGUI/Asset.pm : 08:23
CIA-60webgui: Add support for additional, required per-package constructor args.08:23
CIA-60webgui: Give better diagnostics on which properties don't appear in forms and vice versa so I can hopefully figure out the rhyme and reason to those that don't match.08:23
CIA-60webgui: When an edit form takes attachmentsJson, stick some in there so it doesn't get upset and to give it a workout. - http://bit.ly/bOUbyO08:23
+perlDreamerscrottie, you're right about those fixed class names needing to be moved out of Test::WebGUI::Asset08:24
+perlDreamert/Asset.t, or t/Asset/Asset.t would be good landing zones08:24
+perlDreamerTest::WebGUI::Asset started out as t/Asset.t, so they may even be duplicated08:25
-!- tavisto [~tavisto@pool-71-186-22-44.gdrpmi.dsl-w.verizon.net] has quit [Quit: tavisto]08:26
+perlDreamerscrottie, there's another problem I'm seeing08:28
+perlDreamerMoose and SUPER:: don't get along well08:28
+perlDreamerlike in the WebGUI/Asset/Wobject/Collaboration.pm08:28
+perlDreamerit needs to use around, or super instead08:28
+perlDreameraround is better, because super doesn't always play well with roles08:29
* scrottie makes a note08:30
+perlDreamerare you using a particular comment or tag for work that you need to come back to later?08:31
+perlDreamerwe might as well be consistent about it08:31
@scrottieXXX, but I try not to commit anything with XXX in it...08:32
@scrottiethe Test::Class Asset.pm is an exception08:32
@scrottieI think I've seen "Todo" (and apparently "Toado") elsewhere.08:32
+perlDreamerToado?08:33
+perlDreamerweird08:33
@scrottieI don't remember who, but someone was in the channel the other day commenting that a dialogue popped up with that spelling of Todo in it08:33
@scrottieack disagrees.08:33
@scrottiehttp://gist.github.com/520381 # it looks like there are only eight distinct failures happening08:40
+perlDreamerthe line marked 745 looks like another typo I put in when converting to Moose08:41
@scrottiewhoops, 7.08:41
@scrottieI thought so too but the names match.08:42
+perlDreamernot only that, but the i18n for the download options from the master branch got lost08:47
+perlDreamerI'll add that back in08:48
+perlDreameri18n is a forever battle08:48
+perlDreamerpeople keep committing code without it in perl, JS and templates, and it's a bear to track down08:48
@scrottiehrm.08:48
+perlDreamerI wrote a perl critic policy to automatically check the validity of labels08:49
+perlDreamerbut it doesn't know how to check to see if they're needed or not08:49
+perlDreamerand frodwith is too clever in writing ways to make getting the i18n object easier for devs08:49
+perlDreamerbut very hard for code scrapers to follow08:49
+perlDreamerscrottie, what does WebGUI::Exception look like in your branch?08:52
@scrottieack SUPER | wc -l # 34208:53
+perlDreamernot all modules use Moose08:53
+perlDreamerack SUPER Asset/08:53
@scrottie13c27bc38bca01718a33ffb328c4ab0a69b6f119 ... "Fix bad interaction with Test::Class: "Operation "eq": no method found, left argument in overloaded package WebGUI::Error...""08:54
@scrottielast commit mine, on WebGUI::Exception08:54
+perlDreamerthe module was completely rewritten, and git won't merge on it any more08:55
@scrottieif you want to blow away my changes, I can re-make them if necessary.08:55
+perlDreamerthat wasn't the problem08:58
+perlDreamerthe problem was adding in all the POD, and changing the formatting08:58
+perlDreamerit gave git a headache, and it just puked and cat'ed the files together with <<<< ==== >>>> glue08:59
@scrottiegit diff 29c01ffad7211f227bf29878c82d318f905b7a3a..13c27bc38bca01718a33ffb328c4ab0a69b6f119 /data/WebGUI/lib/WebGUI/Exception.pm08:59
@scrottieI'm not seeing any formatting or POD changes... just a few lines added.09:00
+perlDreamerthey probably predate your work then09:00
@scrottiehttp://gist.github.com/52041209:00
@scrottiechanging the end to look like that was my commit09:01
@scrottie'eq' and 'ne' defs09:01
+perlDreamerthat wasn't the problem09:01
+perlDreamertry git show master:lib/WebGUI/Exception.pm09:01
+perlDreamerand then look at it in the WebGUI8 branch itself09:01
+perlDreamerthey're way different09:01
+perlDreamerwe should backport the 8 file into 709:01
+perlDreamerfor future ease of work, and good docs09:02
@scrottienice.09:02
@scrottiehere's something I've been dreading asking about... scott@Microknoppix:/data/WebGUI/lib/WebGUI/Asset$ ack defaultValue  | wc -l # 13509:03
@scrottiemy understanding is 'defaultValue' means nothing to Moose::Meta::Attribute09:03
+perlDreamerthat is correct09:04
+perlDreamermuch better to use default09:04
+perlDreamerhowever, that's ALL Form code09:04
+perlDreamerincluding hand built stuff in other www_ methods09:04
* scrottie nods09:04
+perlDreamerif it's in the Asset definition stuff, then it should be default09:04
@scrottieI couldn't find any logic for handling 'defaultValue'... are those simply ignored?09:04
+perlDreamerit's passed to the Form plugin09:04
@scrottieer, in the context of the M::M::Attribute and the property definitions09:05
+perlDreameryes, it's ignored09:05
@scrottiealright.  I was confused as heck about why things were working as well as they were if so many were wrong.09:05
+perlDreamerworking fine, but not providing anything useful to the object attribute09:05
+perlDreamerthat's why I switched a bunch of them to default :)09:05
@scrottieheh09:05
+perlDreamerunfortunately, while hand fixing 65 packages, I didn't always remember to go back and do them uniformly09:06
@scrottieyeah.09:06
+perlDreamerI did, however, start a script to bulk convert sub description into WebGUI::Definition::Asset code09:07
@scrottiesub definition you mean?09:07
+perlDreameryeah09:08
@scrottieinteresting.  but wasn't the bulk of this already done by hand?09:08
+perlDreamerno09:08
+perlDreamerthe script helps with formatting and bulk conversion work09:08
+perlDreamerbut special cases like options, sub refs, etc have to still be done by hand09:08
+perlDreamerhttp://gist.github.com/52042609:09
+perlDreamerI call it moosify09:09
+perlDreamerand I run it as a filter in vim, passing it the i18n namespace09:09
@scrottieyow.  I'd have taken the PPI route or something.09:11
+perlDreamerit's just a little filter09:11
+perlDreameryou should have seen the 1-liners from the 6.9 series09:11
+perlDreamercoverting i18n09:12
+perlDreamerand removing global session objects09:12
+perlDreamerand changing from numeric Ids to GUIDs09:12
+perlDreamereverything is merged and syntax clean09:17
+perlDreamernow, does it really work?09:17
* scrottie flips a coin09:21
-!- Guest74346 is now known as kaare_09:42
+perlDreamerwell, it doesn't really work09:43
-!- ryuu_ro [~rory@194.171.50.69] has joined #webgui09:50
@scrottie=(09:51
+perlDreamerwe'll make ryuu_ro fix it09:51
+perlDreamerhe's married now, and has tons of extra time on his hands09:52
ryuu_rowell good morning to you too :)09:52
@scrottiehrm.  in /data/WebGUI/lib/WebGUI/Asset/File/Image.pm, it was doing my $template = $f->getTab('display')->getField('templateId') so it could diddle some options in there.  $template was coming back undef.  changing it to this makes it not undef again:  my $template = $f->getTab('properties')->getField('templateId');10:12
@scrottiebefore I commit this "fix", should that field have jumped tabs like that?10:12
+perlDreamerI don't know10:12
+perlDreamerI'd check the version history of that section of code with git blame10:13
@scrottieI tried to figure out how the thing decided which tab to add it to and came up blank.10:13
@scrottiealright, cool.10:13
+perlDreamerin the property call, there should be a tab => 'some_tab', field10:13
@scrottie"fix $name_of_function_changes_are_in" is not a helpful commit message.10:15
+perlDreameris that a general comment, or am I guilty of something?10:15
* scrottie glares at preaction10:15
@scrottieooh, no, YOU aren't guilty.10:15
+perlDreamernot _this_ time ;)10:16
@scrottieteehee10:16
@scrottiemost of my recent commits should just be titled "make the error message go away".10:16
@scrottieit would be nice if WebGUI/FormBuilder/Role/HasFields.pm had a getTab method that recursed through the tabs under it looking for the field so you didn't have to hard-code paths to fields.  small potatoes in the scheme of things I guess.10:18
+perlDreamerwell, be sure you note which error message it was, or scrottie may get mad at you later for having a vague commit message10:18
+perlDreamerokay, I just went past 18 hours today10:27
+perlDreamerI'll have to finish merge fixing tomorrow10:27
+perlDreamer'night, all10:27
CIA-60webgui: Scott Walters WebGUI8 * r7d41ade / lib/WebGUI/Asset/File.pm : WebGUI::Asset::File::Image::getEditForm counts on having the templateId tab be under the 'display' tab so lock it down to there. - http://bit.ly/b4Rojv10:27
-!- perlDreamer [~colink@pool-173-50-255-102.ptldor.fios.verizon.net] has quit [Quit: Leaving.]10:28
CIA-60webgui: Scott Walters WebGUI8 * r8f616a9 / lib/WebGUI/Asset/File.pm : addField takes the key/value pairs unrolled, not as a hash ref. - http://bit.ly/9UZAoa10:49
CIA-60webgui: Scott Walters WebGUI8 * r773fadc / (2 files in 2 dirs): Pass empty JSON for icalFeeds field in Calendar until I can get good sample data; makes Calendar Test::Asset tests pass. - http://bit.ly/aDGvUy12:09
@scrottieI had the most confusing bug-hunting session on that one... I was specifying empty JSON of '[]' but, in fetching form parameters, it was coming back with a string of the form "ARRAY(0xdeadbeef)".  I was convinced my "[]" was being eval'd somewhere but it wasn't.  the codepath was just different than I expected and something else *was* initializing it with [].12:16
@scrottieI thought the universe was imploding there.12:16
CIA-60webgui: Scott Walters WebGUI8 * r2d1dcf2 / t/tests/Test/WebGUI/Asset.pm : Default postProcessMergedProperties in case our child class doesn't have one. Oops. - http://bit.ly/cyTJbQ12:37
-!- bipolar [~bipolar@offsitesysadmin.com] has quit [Ping timeout: 248 seconds]13:22
-!- bipolar [~bipolar@offsitesysadmin.com] has joined #webgui13:24
-!- carogray [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has joined #webgui14:04
-!- kaare_ [~kaare@langebro.adapt.dk] has quit [Read error: Connection reset by peer]15:11
-!- perlmonkey2 [~perlmonke@m435636d0.tmodns.net] has joined #webgui16:10
-!- mode/#webgui [+v perlmonkey2] by ChanServ16:10
-!- daviddelikat [~user@h69-128-106-50.mdsnwi.dedicated.static.tds.net] has joined #webgui16:11
-!- vayde [~vayde@70-59-75-125.mpls.qwest.net] has quit [Ping timeout: 258 seconds]16:49
-!- vayde [~vayde@71-34-34-82.mpls.qwest.net] has joined #webgui16:49
-!- MrHairgrease [~martin@194.171.50.69] has joined #webgui17:07
-!- mode/#webgui [+v MrHairgrease] by ChanServ17:07
+MrHairgreasehowdy!17:07
+MrHairgreasecan I consider storing country in the addressbook (and the country form plugin for that matter) with fullname instead of ISO land codes a bug?17:08
-!- tavisto [~tavisto@pool-71-186-22-44.gdrpmi.dsl-w.verizon.net] has joined #webgui17:30
-!- mode/#webgui [+o tavisto] by ChanServ17:30
-!- ryuu_ro [~rory@194.171.50.69] has left #webgui []17:36
-!- ryuu_ro_ [~rory@194.171.50.69] has joined #webgui17:39
-!- ryuu_ro_ [~rory@194.171.50.69] has quit [Client Quit]17:39
-!- perlDreamer [~colink@pool-173-50-255-102.ptldor.fios.verizon.net] has joined #webgui18:06
-!- mode/#webgui [+v perlDreamer] by ChanServ18:06
+perlDreamerpreaction: we've been slighted18:07
+perlDreamerfreshmeat rejected the 7.9.12 release notice, saying that since we had one on Wednesday they're too close together18:07
-!- perlmonkey2 [~perlmonke@m435636d0.tmodns.net] has quit [Quit: -a-]18:22
-!- perlmonkey2 [~perlmonke@m435636d0.tmodns.net] has joined #webgui18:22
-!- mode/#webgui [+v perlmonkey2] by ChanServ18:22
-!- perlmonkey2 [~perlmonke@m435636d0.tmodns.net] has quit [Ping timeout: 240 seconds]18:27
-!- perlmonkey2 [~perlmonke@m435636d0.tmodns.net] has joined #webgui18:29
-!- mode/#webgui [+v perlmonkey2] by ChanServ18:29
-!- carogray [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has quit [Read error: Connection reset by peer]18:56
-!- carogray [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has joined #webgui19:03
-!- daviddelikat [~user@h69-128-106-50.mdsnwi.dedicated.static.tds.net] has quit [Read error: Connection reset by peer]19:07
+perlDreamerdoes anyone know if Moose attribute triggers are called as methods, or if they just receive $self?19:08
+MrHairgreaseI think they are called as normal functions19:08
+MrHairgreaseoh19:10
+MrHairgreaseI'm wrong19:10
+MrHairgreaseThe trigger is called after an attribute's value is set. It is called as a method on the object, and receives the new and old values as its arguments.19:10
+perlDreamerhm, then I must be having a Role problem19:11
+MrHairgreaseYou do pass a subref to you trigger def, don you?19:11
+perlDreameryes19:12
+perlDreamerand that's the problem19:12
+perlDreamerit's a reference to the current subroutine19:13
+perlDreamerso by the time it gets to Asset/File.pm, it can't be fixed19:13
+perlDreamerI'll have to provide a wrapper for each one...19:13
+perlDreamerand then override _that_ in the Role19:13
+MrHairgreasehmm19:15
+MrHairgreaseseems like it's being called as a normal function:19:15
+MrHairgreaseif ($self->has_trigger) {         $self->trigger->($instance, $value, @old);     } 19:15
+MrHairgreasesorry for the garbled crap19:16
+perlDreamerI'm fluent in garbled crap19:16
+perlDreamerwe have history, dude19:16
+MrHairgreaseanyway, that's in Moose::Meta::Attribute::set_value 19:16
+MrHairgreaseIf I understand correctly, you want to be able to override the sub the trigger set to?19:18
+perlDreameryes19:18
+perlDreamerI did this...19:18
+perlDreamerhttp://gist.github.com/52122719:18
+perlDreamerwhich seems evil, but works19:19
+MrHairgreasewould an after method modifier do  the job for you?19:19
+perlDreamerafter gets called whenever the method is accessed19:20
+perlDreamerfor write or read19:20
+MrHairgreaseyeah, that's true19:23
+MrHairgreasewhat about overriding the attribute in the subclass with the + notation?19:24
+MrHairgreasecould that work?19:24
+perlDreameryou can't override triggers19:24
+perlDreamerI just looked that up ;)19:24
+MrHairgreasehehe19:25
+MrHairgreasegreat minds...19:25
+perlDreamerI can only aspire to your engineering greatness19:25
+MrHairgreasemy guess would be that your best bet is sending an email to the moose list19:25
+perlDreameryeah, or maybe #moose19:26
+MrHairgreaseor i could probably write a trait19:26
+perlDreameror, at some point, frodwith will wake up and say something19:26
@frodwithwhaa19:26
+perlDreamerfrodwith, I want an overridable trigger in a Moose attribute19:27
+perlDreamerand a pony19:27
+MrHairgreaseeverybody wants a pony19:27
+perlDreamerfunctional solution: http://gist.github.com/52122719:27
+perlDreamerbug seems bugly19:27
+MrHairgreasethat's just unnice19:28
+perlDreameryes, bugly eq 'butt ugly' =~ s/tt //;19:28
@frodwithstep back with me for a moment19:28
@frodwithand tell me what we're trying to accomplish.19:28
@frodwithhigh level, no reference to triggers :-p19:29
+perlDreamerassets have ownerUserId, groupIdView and groupIdEdit properties19:29
+perlDreamerif the asset also has a storageId, the .wgaccess file in the storage location tracks those properties19:29
+perlDreamerin the past, that was done via overriding update19:29
+perlDreamernow that we have Moose, update may not be called19:30
+perlDreamerso I want to tie the updating of that .wgaccess file directly to the attributes19:30
@frodwithso, whenever someone sets storageId, update the .wgaccess file19:30
+perlDreamerno19:30
+perlDreamerwhenever some sets ownerUserId, groupIdView, groupIdEdit19:31
@frodwithoh19:31
@frodwithok19:31
@frodwith-if- it has a storagid19:31
@frodwithand they set those thing19:31
@frodwith*things19:31
+perlDreameryes, and do it in a way so that I only have say 1 thing to get it done19:32
@frodwithahahhh, and triggers can't be overridden19:32
@frodwith-I- see.19:32
+perlDreamerso I wrapped a method call in a sub19:32
+perlDreamerand I can override the method call19:32
+perlDreamerwith a Role19:32
+MrHairgreaseperlDreamer19:32
+MrHairgreasenm19:32
+MrHairgreaseI just came up with the same wrapper you did.19:33
+perlDreamerYou're a genius!19:33
@frodwithtrigger => sub { $_[0]->niceOverridableMethod }19:33
@frodwith?19:33
+MrHairgreasethat would prolly work19:33
+perlDreamerthat's kind of what I did, without the explicit wrapper19:34
+MrHairgreaseit's in effect the same thing perldreamer came up with19:34
@frodwith*nod*19:34
+MrHairgreasethere you have it again19:34
+MrHairgreasegreat minds...19:34
+MrHairgrease=)19:34
@frodwithso19:34
@frodwithwhy don't we like it19:34
+perlDreamerseems awkward19:34
+perlDreamerit's better without the explicit wrapper sub19:35
@frodwithif we had19:35
@frodwithtrigger => 'niceOverridableMethod'19:35
+MrHairgreaseI wouldn't mind that much19:35
@frodwithwould it still seem awkard?19:35
@frodwithawkward, either19:35
+perlDreamerno19:35
+perlDreamerit would be better19:35
@frodwithso trigger => sub { $_[0]->method } is just a funny way of writing that19:36
@frodwithnot so bad19:36
+MrHairgreaseespecially considreing you already have to wrap every ref in a sub ref anyway 19:36
+MrHairgreaseit's looks pretty moosi to me19:36
@frodwithit's like the builder / default dichotomy19:37
+perlDreamerexactly19:37
@frodwithbuilder => 'foo' is just a funny way to write default => sub { shift->foo }19:37
@frodwithit wouldn't be -terribly- hard to add to moose, actually.  I wonder if the moose cabal would approve.19:38
@frodwithit'd make an easy MooseX:: too19:38
@frodwithMooseX::TriggerMethods19:38
+perlDreamerexcept that I think you can override builder methods (as strings) more easily than wrapping the subs19:39
@frodwithor so19:39
+perlDreamerpersonally, I like the strings better19:39
@frodwithoh, yes, they're certainly easier to read19:39
@frodwithbut the same thing is going on19:39
+perlDreamerwell, no19:40
+perlDreamerthe sub refs can't be overridden19:40
+perlDreamerthe strings can, since they go through MRO19:40
@frodwithno, but if all they're doing is calling a method19:40
@frodwithand the method can be overridden19:40
@frodwithgood times are had by all19:40
+perlDreamerwrappers are good for candy bars19:41
@frodwithI don't understand why we're talking about wrappers19:41
+perlDreamerthat extra anonymous sub19:41
@frodwithyou know it's funny19:43
@frodwithif they just did...19:43
@frodwith$object->$trigger($old, $new)19:43
@frodwithit could be a string or a subref19:43
@frodwithI wonder what they -are- doing19:43
+MrHairgreaseok. I'd say send an email to the moose list or drop the question at #moose, and see if they have a nicer solution 19:43
+perlDreamerif it's a subref, it's a reference to a particular subroutine.  Is that still overridable?19:44
SDuensinHello at last!19:44
@frodwithno19:45
@frodwithbut i mean19:45
@frodwithall the behavior is in the method19:45
@frodwiththe subref just calls the method, which accomplishes the same thing19:45
+MrHairgreaseanyway... gotta go. see you guys later19:45
@frodwithas if you had a methond name there19:45
@frodwith*wave MrHairgrease*19:46
-!- MrHairgrease [~martin@194.171.50.69] has left #webgui []19:46
@frodwithoh but I see why you made it a sub on its own19:47
@frodwithcause you have to do it to three different attributes19:47
+perlDreameryes, that's not ideal, either19:47
+perlDreamersince if you update all 3 attributes, it writes the file three times19:48
@frodwithwell it has to, doesn't it?19:48
@frodwithi mean, it doesn't know you're going to set these seperately19:48
-!- daviddelikat [~user@h69-128-106-50.mdsnwi.dedicated.static.tds.net] has joined #webgui19:48
+perlDreamerin the old, override-update way of doing it, it checked all three and just wrote once19:49
+perlDreamerIt'll be slower, but I only had to write the code once19:49
+perlDreamerand it's not done all that often19:49
@frodwithi guess you could keep around a "is wgaccess dirty" state19:49
@frodwithno but i suppose it'd still be dirty19:49
@frodwithbah.19:49
+perlDreameryeah, it's better than it was19:50
+perlDreamerI need a few hours to build a prepareView Role, too19:50
+perlDreamerI'm tired of seeing the same 12 lines scattered through 30 different files19:50
@frodwithI'm tired of writing them19:51
+perlDreamerwouldn't it be nice to say: with 'WebGUI::Role::Asset::PrepareView'19:51
@frodwithI think it's kind of funny that "port to Moose" has partially turned into "oh, and refactor everything too"19:51
@frodwithgood! but funny :)19:52
+perlDreamersome of it was forced, because overriding update is bad19:52
+perlDreamerit all started with Role::Asset::AlwaysHidden19:52
+perlDreamerI also tried to get Wobject split into 2 Roles19:53
+perlDreamerone for Database Collateral, and one for Asset-y kind of stuff19:53
+perlDreamerbut it was pointed out that time is short, and work is large19:53
@frodwithhow's this: update_wgAccess or whatever only gets called if updating_right_now isn't set.  Update sets updating_right_now before calling all those attributes, and then calls update_wgAccess on its own.19:54
@frodwiththat way it wouldn't be slower for the update case19:54
+perlDreamerphone, brb19:55
+perlDreamerthat's not a bad idea19:56
-!- perlmonkey2 [~perlmonke@m435636d0.tmodns.net] has quit [Quit: -a-]20:16
-!- perlmonkey2 [~perlmonke@m435636d0.tmodns.net] has joined #webgui20:17
-!- mode/#webgui [+v perlmonkey2] by ChanServ20:17
-!- perlmonkey2 [~perlmonke@m435636d0.tmodns.net] has left #webgui []20:18
Haargfrodwith, perlDreamer, re: wgaccess21:22
Haargshouldn't it only be written by ->write ?21:22
+perlDreamerwhat if it didn't change?21:23
Haargyou could have the trigger stuff to track if it is dirty21:23
+perlDreamerso, we around write and check there?21:24
Haargyeah21:24
Haarghonestly it might make sense to have properties track their dirty state all the time21:24
Haargcould prove useful elsewhere21:25
+perlDreamerit would make for smaller writes21:25
HaargMooseX::TrackDirty::Attributes21:26
Haargprobably wouldn't want to use that but might be a useful reference21:29
HaargfixFilenames is vulnerable21:37
Haargthe regex isn't bound to the end of the string21:37
Haargblah.pm.pm will be renamed to blah_pm.txt.pm21:37
+perlDreameris that a valid Module name?21:38
+perlDreamercan I use it?21:38
Haargthe new pluggable will reject it21:38
+perlDreamerthat's an answer to a different question21:38
Haarguse is a compile time function so how it acts isn't relevant21:39
Haargpluggable works with filenames21:40
Haargit will now reject anything other than word characters, so it won't allow you to load a filename like that21:41
+perlDreamerI can't use it, or require it, so whether Pluggable is used or not, it won't work21:42
Haargwith the new pluggable, correct21:42
Haargso not really vulnerable on its own21:42
+perlDreameryou can "do" it, but it doesn't seem to do anything21:43
Haargeither do or require would execute it21:43
+perlDreamerI think you should try it21:44
Haargtry what?21:44
+perlDreamerbecause I can't get it to do anything bad21:44
+perlDreamermake some file, Blah_pm.txt.pm21:44
+perlDreamerand try and put some code in it21:44
+perlDreamerthen try to use, require or do that file in another script21:44
+perlDreamerah, there we go21:45
+perlDreamerdo won't do it21:45
+perlDreamerbut require will21:45
Haarghttp://gist.github.com/52146621:47
+perlDreamerI'll file a bug that we need to anchor the regex21:49
@scrottiehttp://gist.github.com/521485 ... www_editSave, the way the code is written, will always create a new VersionTag when updating an existing asset.  is this the correct behavior?  it seems to match what 7.x does.  the test has different ideas about the matter.21:56
Haargit should only do that if getAutoCommitWorkflowId returns a workflow id21:57
Haargwhich it usually won't21:57
Haargin 7 at least21:58
@scrottiehrm.  okay, it is.  I assumed it always did.  maybe it should be named getAutoCommitWorkflowIdSometimes =)21:58
@scrottieautoCommitId is ``pbworkflow000000000003'' at /data/WebGUI/lib/WebGUI/AssetVersioning.pm line 97.21:58
Haargthere's a lot of stuff wrong with the design of that stuff21:58
@scrottieyeah, I've been putting off dealing with the broken asset versioning tests.  the hodge-podgeness of it makes discerning reason behind it difficult.21:59
Haargwhat kind of asset are you dealing with?21:59
@scrottieanyway, thank you.  that's helpful.  there's always a wrong premise in these "why won't" questions.22:00
+perlDreamerscrottie, be sure to run coverage on whatever test changes you make22:00
+perlDreamerthose tests were written by the people who altered the version tag modes to check lots of stuff22:00
@scrottierun coverage on the changes?  please explain.  I guess I'm still operating in the mental mode where the tests blow up a few tests in and abort, so there was effectively zero coverage before.22:01
@scrottiebut if I start rigging tests to pass and the I note the change in coverage, that could be useful.22:02
@scrottieand the I...22:02
* scrottie sighs22:02
+perlDreameroh yeah22:02
+perlDreamerbut, if you remove a bunch of stuff to make "unbroken tests", that would be bad22:02
@scrottieyeah, no.  cases where I have to cheat to make tests pass, people will be let know.  I haven't gotten to that point on this and if I do, it'll at least go into the commit comments.  the one case that really stands out there is comparing Form objects to what getProperties come back with.22:03
+perlDreamerbefore it's committed, bring it up someplace so we don't have to count on someone reading commit comments or code comments and fix stuff22:04
+perlDreamerthere's no need to commit stuff that you know to be bad22:04
@scrottiethose match sometimes but lots of them don't with lots of random added or missing things.  that's going to take some kind of massaging it looks like.  enumerating the differences in the test sublcasses is the only fix I can think of.22:04
@scrottiealright.  yeah, I agree.  that's why I bring this up now.22:04
* perlDreamer waits for preaction to chime in and tell me I'm completely off base22:06
* scrottie chuckles22:06
@scrottieif that happens, I'll argue the point.  if there's no consensus on how even this small amount of the API should work, we're hosed.22:07
@scrottieif the methods should just "do whatever" and the tests should just "expect whatever", this is useless.22:07
+perlDreamerthat's the problem though, it's small but incredibly complex and entangled22:08
+perlDreamerand maybe you could clarify "expect whatever" with a specific example?22:08
@scrottieif I take whatever gets returned from an API call and then mindlessly, without understand the significance of it, hard-code the test to expect that, I'm not really checking that the API works in any particular way.22:09
Haargthe entangled bit is the nasty part.  in the name of making things easier for developers various parts have gotten really nasty and end up not being very good for developers after all.22:09
+perlDreamerif you're writing tests that way, you're right, the tests are broken22:09
+perlDreamerif you don't understand it, it's not the time to test it22:10
@scrottieI guess it goes back to scientific method... you devise a test that will reliably distinguish two different cases, and then you test your test by predicting what your test should come back with, then you run your test and see if the result matches the expected output.22:10
@scrottieif you do anything else, you're just using mucking about to trick yourself.22:10
+perlDreamerscrottie, assuming that the existing tests do that would be wrong.22:11
@scrottiecorrect.22:11
@scrottieafk a few to eat some random fried things wrapped in a tortilla.22:12
@scrottieby the way, when talk about committing garbage, I'm just being self deprecating.  I'm not actually planning on committing garbage on purpose.22:41
@scrottieer, when I talk about22:42
@scrottieHaarg, re: what kind of asset are you dealing with?, oops, missed the question the first time through.  all of 'em!  I initially started passing skipAutoCommitWorkflows to addRevision() as was being done in the calls to addChild() but being told that getAutoCommitWorkflowId() should generally not return true cast doubt upon whether that's a fix or just masking a problem.  but some assets continued to suffer... Test::WebGUI::Asset::Story, WebG23:08
@scrottieUI::Asset::MapPoint, perhaps others.  those redefine getAutoCommitWorkflowId() in their subclasses.23:08
@scrottieI have the test rigged to skip if grepping the stash of the asset's package turns up a 'getAutoCommitWorkflowId' entry.23:09
@scrottiethat's hackish.  I should make the Test::Class subclasses return true from a method call if the corresponding asset is known to redefine getAutoCommitWorkflowId().  but the experiment worked.23:10
-!- carogray [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has quit [Read error: Connection reset by peer]23:12
CIA-60webgui: Scott Walters WebGUI8 * rf1fe99a / lib/WebGUI/Asset/Wobject/Collaboration.pm : Use super() instead of SUPER. - http://bit.ly/ddsig123:19
CIA-60webgui: Scott Walters WebGUI8 * rf51ef19 / lib/WebGUI/Asset/Story.pm : 23:19
CIA-60webgui: 'getStoryRichEdit' was never implemented and there is no 'parent' method.23:19
CIA-60webgui: This was commented out in 7.x and apparently got uncommented without being implemented (which is okay but I've gotta comment it out again... it's gotta be done).23:19
CIA-60webgui: The StoryForm field does richEditId => $archive->richEditorId. Perhaps this is the desired approach? - http://bit.ly/cfNYw423:19
-!- vayde [~vayde@71-34-34-82.mpls.qwest.net] has quit [Remote host closed the connection]23:20
+perlDreamerscrottie, that's exactly the kind of stuff I was talking about23:20
@scrottieam I being naughty?23:20
+perlDreamerincautious23:20
@scrottieI'm not sure about that.  I did a lot of footwork first.23:21
+perlDreamergetStoryRichEdit should most likely be $self->getParent->richEditorId23:21
@scrottiethe test only fails because that was blowing up, and all it does is call two methods that don't exist and never existed.23:21
@scrottiemaybe it should be that, but whoever translated from 7.x to 8 "translated" that by uncommenting code that was commented out.23:22
@scrottieregardless, you did not have to "dig through patches" to be alerted.23:22
@scrottieand in no way did I lessen test coverage to get the test to pass.23:22
@scrottiemy ignorance of the API is not helping me here though.  that I'll concede.23:23
+perlDreamertechnically, I did dig through patches to get that23:23
+perlDreamerif I didn't try to review every commit made, I wouldn't have seen it23:23
@scrottieright, but you didn't have to dig through the patch to be alerted to it.23:23
+perlDreamerthe commit comment was very thorough, and that helped point out to me that there was a problem with that patch23:24
@scrottiethe commit message raising red flags was nearly as good as my saying something and I think that, given the circumstances (which I've outlined), it was an appropriate level of caution.  if the test needed something more than code not blowing up to pass, I would have asked.23:24
@scrottieanyway, perhaps I was wrong, but it looked to me like a pretty clear cut case of code being accidentally uncommented and nothing more.23:25
@scrottieI'm feeling argumentitive today.  that's a clear sign I need fresh air.  I've been putting off going to the laundromat for... oh, a month.  I might have to nip out and do that.23:25
@scrottieI promise you, I will continue to try to operate with a high level of caution.  but I will make mistakes also.23:26
@scrottieI've got another little snafu here that makes me nervous... I want to test some of this stuff in the admin UI, but a lot of that isn't working correctly.  it's kind of a chicken and egg thing.  I have this fear that if I do something that should be sane like that ($self->getParent->richEditorId), that even if tests pass, it'll do something really bizarre to the UI.23:29
@scrottieso I'm trying to be conservative in that regard too.  ignorance brings about fear.23:29
+perlDreamerthere's a lot of brokenness in the 8 right now23:30
+perlDreamerthat's for sure23:30
@scrottie( perl /data/WebGUI/t/run_asset.t 2>&1 )  > run_asset10.txt ... I have to wait for that to run before I can test your suggested change... I think I'll hit the laundromat, test your fix (for not blowing up-ness at least) and then push that.  so please be patient.23:30
* perlDreamer isn't expecting anything immediate23:31
+perlDreamerI'm tied up with support and broken Post comitting myself23:31
@scrottiecool.  just didn't want you to think me being slow was passive aggressiveness.  it's hard to tell with digitized communications some times.23:31
@scrottieit's such a problem that I try hard to be only overtly aggressive.  cuts down on confusion.23:33
@scrottieif I don't make it as a programmer, I think I'll take some Cisco and RedHat certification classes.23:33
@khennis there a way to tell git to cherry-pick all of the revisions up to the current one for a particular file?23:35
@khennI have a file that I've updated many many times over the past two months and I finally want to cherry pick it into another branch23:35
@scrottiegit merge might be what you want...23:36
@scrottiedoes that do single files?23:36
+perlDreamerI thought it just did branches23:36
+perlDreamerbut I don't know23:37
+perlDreamerman git-merge tells all :)23:37
@scrottienm.  yeah.23:37
@scrottiefire up kompare and manually move over changes visually, without the pleasure of git deltas?23:38
@khennit's not a big deal23:38
@khennI just thought there might be a quick way to do it23:39
--- Day changed Fri Aug 13 2010
-!- carogray [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has joined #webgui00:19
-!- daviddelikat [~user@h69-128-106-50.mdsnwi.dedicated.static.tds.net] has quit [Read error: Connection reset by peer]00:20
+perlDreamerhm, why would committing a post cause the parent thread to be uncommitted?00:30
-!- SynQ_ [koen@ringbreak.dnd.utwente.nl] has joined #webgui00:31
-!- khenn_ [~frank@99-111-115-201.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui00:33
-!- mode/#webgui [+o khenn_] by ChanServ00:33
-!- Netsplit *.net <-> *.split quits: @khenn, SynQ00:34
-!- khenn_ is now known as khenn00:34
-!- britneypire [~britneypi@212-198-248-35.rev.numericable.fr] has joined #webgui00:34
-!- Netsplit *.net <-> *.split quits: SDuensin, @frodwith, britneypire, mducharme, Haarg, @scrottie, carogray, @khenn, +Radix_, spacebat00:36
-!- Netsplit over, joins: @khenn, carogray, mducharme, +Radix_, @scrottie, SDuensin, spacebat, @frodwith, Haarg00:39
-!- perlmonkey2 [~perlmonke@96.18.42.134] has joined #webgui00:41
-!- mode/#webgui [+v perlmonkey2] by ChanServ00:41
-!- Netsplit over, joins: Haarg00:41
-!- perlmonkey2 [~perlmonke@96.18.42.134] has quit [Ping timeout: 252 seconds]01:44
@scrottie# Looks like you failed 25 tests of 3950.02:27
@scrottieslowly, slowly...02:27
+perlDreamerhang in there, scottie!02:27
+perlDreameryou've made more progress than me today02:27
-!- tavisto [~tavisto@pool-71-186-22-44.gdrpmi.dsl-w.verizon.net] has quit [Quit: tavisto]02:29
@scrottieI haven't had to do any support work...02:30
+perlDreamerI did 1 request today02:31
+perlDreamerit looks like changing the .wgaccess stuff in Asset.pm may have broken the Post commit chain02:32
+perlDreamerif so, I should be able to back out that change, commit the merge, and then fix it again02:32
+perlDreamerthat would be nice02:32
@scrottiewell, aside from being on at a reasonable hour, today might be shortish again for me today.  there's something I should go to this evening.02:33
@scrottiethird time's the charm!02:33
+perlDreamerlaundromat? :)02:33
@scrottienope, just got back from there... took forever to find places to hang everything up.02:33
-!- carogray [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has quit [Quit: Leaving.]02:33
@scrottieI've been dealing with a guy to have shirts made who is a bit of a Luddite... reads his email once a week, no PayPal, no cell phone... the only way to really find him is to go by the bike co-op on art night.02:34
@scrottieI've been chasing about with him for ages.  I keep not being in town, etc.02:34
@scrottieeven then, he does things like locks himself in the shop before its open, leaves when someone shows up, waits until half an hour after its closed again, comes back... so you have to leave him notes.02:35
+perlDreamerhe must make great shirts02:35
@scrottiethis guy takes the cranky cake.02:35
@scrottiewell, printing an arbitrary number, doing the artwork, making the screen was $50.02:36
@scrottieand the detail is fantastic.  he does amazing work, to my uneducated eye.02:36
@scrottieif I can catch up with him earlier rather than later, I should be able to get myself back online from Tempe.02:38
+perlDreamersomehow, I just blew away all the work02:44
+perlDreamerin git02:44
+perlDreamercrap02:45
* scrottie frowns02:46
@scrottieblew it away in a way where it isn't in some detached branch?02:46
+perlDreamerah, good call!02:49
+perlDreamerthe merge is committed02:49
+perlDreamerbut I can't pull any new changes in02:49
+perlDreamerwhen it does, it tells me I have a merge conflict in Shop/TransactionItem.pm02:49
@scrottiewell, I stuck at git, but if you want to tell me about the state of things, I'll listen.02:49
+perlDreamerbut when I fix it, it doesn't see it02:49
@scrottieat least.02:49
+perlDreamerI edit the file, resolve the merge, add it02:49
+perlDreamerthen try to rebase02:49
+perlDreamerand it doesn't see it02:50
@scrottieugh... there are a few magic commands... "git rebase --continue" is one02:50
@scrottieto tell it to finish doing the thing it was doing when it hit a conflict02:50
+perlDreameryup, git pull; vim someFile; git add someFile; git rebase continue02:50
+perlDreamerthen :"No changes - did you forget to use 'git add'?"02:51
@scrottiewhen I get terminally confused (or git is confused, I'm not sure which), I just roll back then start cherry-picking.02:51
-!- perlmonkey21 [~perlmonke@96.18.42.134] has joined #webgui02:51
-!- perlmonkey21 [~perlmonke@96.18.42.134] has left #webgui []03:15
-!- vayde [~vayde@71-34-34-82.mpls.qwest.net] has joined #webgui03:51
-!- vayde [~vayde@71-34-34-82.mpls.qwest.net] has quit [Ping timeout: 260 seconds]04:06
* perlDreamer calls it a night04:18
-!- perlDreamer [~colink@pool-173-50-255-102.ptldor.fios.verizon.net] has quit [Quit: Leaving.]04:18
-!- tavisto [~tavisto@pool-71-186-22-44.gdrpmi.dsl-w.verizon.net] has joined #webgui04:19
-!- mode/#webgui [+o tavisto] by ChanServ04:19
-!- vayde [~vayde@71-34-34-82.mpls.qwest.net] has joined #webgui04:20
-!- vayde [~vayde@71-34-34-82.mpls.qwest.net] has quit [Remote host closed the connection]04:31
-!- scrottie [~scrottie@dsl01-ppp-5119.fastq.com] has quit [Ping timeout: 245 seconds]05:41
-!- nuba [~nuba@pauleira.com] has joined #webgui06:51
-!- tavisto [~tavisto@pool-71-186-22-44.gdrpmi.dsl-w.verizon.net] has quit [Quit: tavisto]06:54
nubatavisto: hi Tavis, I'm helping organizing YAPC::Brasil 2010 (www.yapcbrasil.org.br) and was wondering if you guys wouldn't be interested in sending someone to talk about WebGUI06:55
-!- kaare [~kaare@langebro.adapt.dk] has joined #webgui08:41
-!- kaare is now known as Guest7067908:42
-!- Radix_ [quasselcor@203.161.71.161.static.amnet.net.au] has quit [Quit: No Ping reply in 180 seconds.]10:02
-!- Radix_ [quasselcor@203.161.71.161.static.amnet.net.au] has joined #webgui10:02
-!- mode/#webgui [+v Radix_] by ChanServ10:02
-!- Radix_ [quasselcor@203.161.71.161.static.amnet.net.au] has quit [Ping timeout: 240 seconds]10:06
-!- Radix_ [quasselcor@203.161.71.161.static.amnet.net.au] has joined #webgui10:37
-!- mode/#webgui [+v Radix_] by ChanServ10:37
-!- Radix_ [quasselcor@203.161.71.161.static.amnet.net.au] has quit [Client Quit]10:41
* scrottie0 grins at nuba10:58
-!- Guest70679 is now known as kaare_11:20
scrottie0cheers to you for holding a YAPC.11:22
-!- perlDreamer [~colink@pool-173-50-255-102.ptldor.fios.verizon.net] has joined #webgui12:10
-!- mode/#webgui [+v perlDreamer] by ChanServ12:10
-!- mducharme [~nothing@S0106000e0cc03cff.wp.shawcable.net] has quit [Read error: Connection reset by peer]12:10
-!- mducharme [~nothing@S0106000e0cc03cff.wp.shawcable.net] has joined #webgui12:10
-!- perlDreamer [~colink@pool-173-50-255-102.ptldor.fios.verizon.net] has quit [Ping timeout: 265 seconds]12:46
scrottie0http://use.perl.org/~pudge/journal/40493 ... if we wait long enough, we can have *some* perl site to migrate to WebGUI.  they're having a fire sale on 'em.12:48
-!- Radix_ [quasselcor@203.161.71.161.static.amnet.net.au] has joined #webgui13:46
-!- mode/#webgui [+v Radix_] by ChanServ13:46
-!- ryuu_ro [~rory@194.171.50.69] has joined #webgui14:12
-!- carogray [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has joined #webgui15:05
-!- vayde [~vayde@63-226-183-210.mpls.qwest.net] has joined #webgui15:55
-!- daviddelikat [~user@h69-129-206-153.mdsnwi.broadband.dynamic.tds.net] has joined #webgui16:01
-!- kaare_ [~kaare@langebro.adapt.dk] has quit [Remote host closed the connection]16:02
-!- mducharme [~nothing@S0106000e0cc03cff.wp.shawcable.net] has quit [Read error: Connection reset by peer]16:10
-!- xootom [5eaba154@gateway/web/freenode/ip.94.171.161.84] has joined #webgui16:27
xootomhi all, seem to have a bug in one of my sites where a collaboration system with default submission template and 5 attachments is showing the same thumbnail for each, even though clicking through shows the correct photo, has anyone else had this?16:28
-!- xootom [5eaba154@gateway/web/freenode/ip.94.171.161.84] has quit [Quit: Page closed]16:36
-!- xootom [5eaba154@gateway/web/freenode/ip.94.171.161.84] has joined #webgui16:37
SDuensinFrIdAy!  Made it!16:47
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui17:05
-!- mode/#webgui [+o bopbop] by ChanServ17:05
-!- plainhao [~plainhao@mail.xbiotica.com] has joined #webgui17:05
-!- MrHairgrease [~martin@194.171.50.69] has joined #webgui17:08
-!- mode/#webgui [+v MrHairgrease] by ChanServ17:08
-!- xootom [5eaba154@gateway/web/freenode/ip.94.171.161.84] has quit [Quit: Page closed]17:23
-!- mducharme [~nothing@S0106000e0cc03cff.wp.shawcable.net] has joined #webgui17:23
-!- xootom [5eaba154@gateway/web/freenode/ip.94.171.161.84] has joined #webgui17:26
-!- daviddelikat [~user@h69-129-206-153.mdsnwi.broadband.dynamic.tds.net] has quit [Ping timeout: 246 seconds]17:31
-!- daviddelikat [~user@h69-129-206-153.mdsnwi.broadband.dynamic.tds.net] has joined #webgui18:23
-!- daviddelikat [~user@h69-129-206-153.mdsnwi.broadband.dynamic.tds.net] has quit [Read error: Connection reset by peer]18:36
-!- perlDreamer [~colink@pool-173-50-255-102.ptldor.fios.verizon.net] has joined #webgui18:40
-!- mode/#webgui [+v perlDreamer] by ChanServ18:40
-!- ryuu_ro [~rory@194.171.50.69] has quit [Quit: ryuu_ro]18:41
+MrHairgreasew00t18:53
+MrHairgreasePayPal ExpressCheckout almost has recurring billing support18:54
+MrHairgrease!18:54
+MrHairgreaseWhen dev on 7.10 begins I'll push the changes18:54
-!- MrHairgrease [~martin@194.171.50.69] has left #webgui []19:13
-!- daviddelikat [~user@h69-129-206-153.mdsnwi.broadband.dynamic.tds.net] has joined #webgui19:21
ckotilnice20:03
-!- fokat [~lem@190.72.138.110] has joined #webgui20:03
-!- xootom [5eaba154@gateway/web/freenode/ip.94.171.161.84] has quit [Quit: Page closed]20:06
-!- fokat [~lem@190.72.138.110] has quit [Ping timeout: 265 seconds]20:12
-!- fokat [~lem@190.72.138.110] has joined #webgui20:28
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has quit [Quit: bye]21:12
scrottie0stupid X locking up...21:19
+perlDreamerscrottie, I have an interim merge done of master into 821:52
+perlDreamerit's up until 7.9.1121:52
CIA-60webgui: Colin Kuskie WebGUI8 * r7b21894 / (81 files in 31 dirs): Merge commit '63865eb39f5dd86b1b868b586787b0539f64525a' into WebGUI8. up to 7.9.11 - http://bit.ly/9YFEI821:53
+perlDreamerit has extra failing tests, t/Asset/File.t, t/Execution/app.t, t/app/PSGI.t, and t/Asset/Wobject/SyndicatedContent.t21:53
+perlDreamerthese will be fixed by the next merge, which I'm going to start now21:53
* scrottie0 nods21:57
scrottie0awesome.21:57
+perlDreamerI tried everything, and I could not get it to pull after that merge22:03
+perlDreamerso I ended up blowing away the original work, and doing it in 2 chunks22:03
scrottie0hrm.22:11
+perlDreameryay!  Merge all done22:25
+perlDreamerthere is one unresolved file22:25
+perlDreamert/Asset/File.t22:25
+perlDreamerwhen I fix Asset.pm, it ends up breaking 5 Post tests22:26
scrottie0define "fix"22:26
CIA-60webgui: Colin Kuskie WebGUI8 * r3e8e2d4 / (36 files in 16 dirs): Merge branch 'master' into WebGUI8. Merged up to 7.9.12 - http://bit.ly/ay8sWd22:26
+perlDreamerit's the subroutine wrapping stuff from yesterday?  About writing the .wgaccess files via a Role22:26
scrottie0ah22:27
+perlDreamerfor some reason I haven't tracked down, the writing of the .wgaccess file causes the parent thread of a Post to go from approved, to pending (uncommitted)22:30
CIA-60webgui: Colin Kuskie WebGUI8 * r113f9d4 / t/run_asset.t : Restore file deleted from repo, t/run_asset.t - http://bit.ly/c3kVgF22:32
-!- SynQ_ is now known as SynQ23:28
-!- mode/#webgui [+v SynQ] by ChanServ23:29
+SynQand so solaris dies23:30
+perlDreamereh, that's just a rumor23:31
+SynQno it isn't23:31
+SynQhttp://news.slashdot.org/story/10/08/13/1850232/The-Future-of-OpenSolaris-Revealed23:31
+SynQproof!23:31
+SynQperlDreamer: do you still think it is a rumor?23:35
+perlDreamerthat's a leaked memo23:35
+SynQagreed23:35
* perlDreamer is old, grumpy and skeptical23:35
+SynQopensolaris is frozen for a long time now23:36
+SynQat least (if anything) this memo, if it's true, will bring clarity about where oracle stands towards solaris23:36
+SynQbut if Solaris 11 comes at an Oracle price it's not going to be for me anytime soon23:37
+SynQI was never a big fan of Solaris23:37
+perlDreamerI like it better than HPUX23:37
+SynQhaving been forced to copile perl on it way back in 1997/199823:38
+SynQHPUX 11 was way better to compile perl on than Solaris 6 was :)23:38
+SynQsince then I have moved to real open systems23:38
+SynQI have even moved away from RedHat way back when they killed the 'open' version in 200123:39
+perlDreamerif openSolaris does go away, it would be nice if they'd release the patents23:39
+SynQit doesn't go away23:39
+SynQit will just not really be open23:39
* perlDreamer should read the memo23:39
+SynQinded23:39
+SynQindeed23:39
+SynQand I need a better (less crappy) keyboard23:40
+SynQI keep missing stokes23:40
scrottie0I'm sure you've seen the flurry of media about Oracle suing Google for Google's use of Oracles patented, copyrighted Java technology in Google's smartphones.23:40
scrottie0given that, and given Oracle's past behavior, that would seem unlikely.23:41
@preactionoracle: struggling to be relevant in an open-source world23:41
scrottie0Ellison made life hell for people trying to admin Oracle when he stood up and declared there to be no remote exploits in Oracle.23:42
scrottie0for that act of hubris, dbas were punished.23:43
@preactionnice. just paint a target why don't you?23:43
+SynQI'd say oracle is not struggling at all23:44
-!- vayde [~vayde@63-226-183-210.mpls.qwest.net] has quit [Ping timeout: 248 seconds]23:44
@preactionnot financially, but for relevance. everyone i know shudders at "I have an Oracle database"23:45
+SynQas I see it there are now only 4 real 'OS' vendors for the server market left: Microsoft, Apple, Oracle and RedHat23:45
scrottie0Freescale, a Motorola spin off, still makes the 68k line.  they're up to 800mhz.  I have this ambition to start a Unix vendor selling pizza box workstations based around the 68k CPU, just like SGI, HP (indirectly through Apollo), NCR, Apple (A/UX before NeXT and Mach), Sun, and so many before.23:45
+SynQwhich scares me23:45
+SynQand I'm going to put my bets on RedHat23:45
+SynQat least they have a proven open-source policy23:45
scrottie0Cobalt Qube was MIPS (originally).  the only reason that vanished was Sun bought them and killed them.  23:48
scrottie0when Microsoft announced NT, they tried to get the Unix providers to sign on.  SGI swore they'd hop on the bandwagon.  Microsoft was promising easier management than Unix, getting rid of their in-house development costs, etc.  basicallly, join us or we'll crush you.  Sun was the only major vendor to strongly reassure their customers that Solaris would continue.  this proved to be a huge boon for them.23:49
scrottie0the Unix market largely killed themselves... between being inaccessible, closed, incompat, and just failing to even commit to their customers that they would have a future.23:50
CIA-60webgui: Paul Driver master * r890a94d / (docs/changelog/7.x.x.txt lib/WebGUI/Workflow/Instance.pm): Stop realtime run on deleted wf instances - http://bit.ly/d15ZKo23:52
-!- vayde [~vayde@63-226-182-110.mpls.qwest.net] has joined #webgui23:59
+perlDreamerfrodwith, did you have to do that right after I merged?23:59
--- Day changed Sat Aug 14 2010
@frodwithdid I break something?00:00
+perlDreamerno, but I just merged _everything_ into 800:00
+perlDreamernow it's everything-100:00
@frodwith:-x00:00
-!- vayde [~vayde@63-226-182-110.mpls.qwest.net] has quit [Ping timeout: 246 seconds]00:03
* perlDreamer is afk for a bit00:08
@preactioni am now officially tired of trying to override www_ methods and having it be an exercise in futility and causing code duplication... i will be fixing this after the WUC00:10
+SynQah00:10
@preactionbut opinion from the peanut gallery: An asset edit form should not care where it will be saved to, correct? 00:11
@preactionif the default asset edit form already fills in where it will be saved to (with an action URL and a func hidden element), it can't be directly dropped into another form00:12
@preactionis this a behavior we'd like to keep?00:12
+SynQwhat ever happened to OpenID in webgui?00:13
@preactionSynQ: it isn't possible to have more than one active, visitor-enabled auth method in WebGUI00:14
@preactionuntil 7.9 at least00:14
+SynQ7.9 is stable isn't it?00:14
@preactionand even 7.9 has caveats: so far the Twitter-based auth bypasses profile creation restraints00:14
@preactionyes00:14
+SynQso it's not possible?00:14
+SynQit wouldn't work?00:14
@preactionJT has also expressed interest in creating a Facebook-based auth for me00:14
@preactionno, it is NOW, it wasn't back when it was created00:15
+SynQah00:15
@preactionso the code out there in the bazaar which I never got to work might be able to be added soon00:15
+SynQI'm looking over the 'feature requests' page00:15
@preactioni never got the one there to work, otherwise it'd already be in00:15
+SynQwhat surprises me00:16
@frodwithi don't think i understand your question preaction00:16
@preactionfrodwith: which one? the one about asset edit forms requiring you to fill in data about where it will be submitted?00:16
@frodwithyeah that one00:17
-!- vayde [~vayde@65-103-4-156.mpls.qwest.net] has joined #webgui00:17
+SynQis that of the first 25 requests at the top of the page only 4 have been submitted in 201000:17
+SynQand none are younger then 3 months00:17
@preactiona lot of karma have been contributed to older ones00:18
+SynQyou mean: not a lot of karma have been contributed to the newer ones :)00:19
@preactionfrodwith: why should a form assume or care about how it will be handled?00:19
@frodwithforms have actions00:19
@preactionfrodwith: sure, once we know what we're doing with it. but that's the www_ method's job to know where it's going to be submitted00:20
@frodwithwhat is a form, in this context?00:20
@preactionthe asset edit form00:20
@frodwithare we talking about rendered html, or some object?00:20
@preactiona WebGUI::FormBuilder object00:20
+SynQI think it would be best if I go to bed now :)00:20
@frodwithnight SynQ ^^00:21
+SynQnight frodwith, preaction 00:21
@preactionnight00:21
+SynQ~00:21
@frodwithso, one of Asset's methods is returning a FormBuilder00:21
@preactionyes00:22
@frodwithand it's already got it all filled out where it's supposed to be submitted to00:22
@preactionno, it doesn't00:22
@frodwiththen I don't understand the dilemma00:22
@preactionbut i'm having a problem: since www_ methods are impossible to extend (only override), i need the same boilerplate in every www_edit method00:23
@frodwithwhich boilerplate is that old bean?00:23
@preactionmy $f = $self->getEditForm; # Add func hidden element; # add correct action URL; 00:24
@frodwithsoooooo how about a getFilledOutEditFormWithNeatHiddenElementsAndCorrectActionUrl00:25
@frodwithin the base class00:25
@frodwithcamel case: it's more readable than underscores!00:25
@preactiongetWwwEditForm! yeah that sounds good...00:25
@preactionand then it can be removed later when i fix www_ methods to be extensible by having an introspectable template object passed back00:26
@frodwithor left in00:26
@frodwithno one has ever complained about code being-too- well factored00:26
@frodwithwhen we rewrite everything in perl 6 for WebGUI 20, can we start using underscores00:27
@frodwithpretty please00:27
scrottie0oh yeah they do.00:27
@preactionno, never00:27
@preactionand i feel dirty writing getWwwEditForm and getWwwAddForm00:27
scrottie0have you seen some of this Java code where developers drop patterns like rappers drop F bombs?00:27
scrottie0use Code::Splice.00:28
scrottie0or better yet, Acme::ComeFrom.00:29
@frodwiththey're working in Java, scrottie.  It has all the expressive power of a hunk of rock.00:29
@frodwiththey need their patterns.00:29
scrottie0they still get carried away and over do it.00:30
* perlDreamer is out again00:31
-!- perlDreamer [~colink@pool-173-50-255-102.ptldor.fios.verizon.net] has quit [Quit: Leaving.]00:31
CIA-60webgui: Doug Bell WebGUI8 * r156d4e2 / share/upgrades/7.9.12-8.0.0/pbtmplblankstyle000001.wgpkg : remove admin toggle from blank style - http://bit.ly/9php0200:42
CIA-60webgui: Doug Bell WebGUI8 * r6857ad6 / lib/WebGUI/Asset/Template.pm : 00:42
CIA-60webgui: add www_edit boilerplate00:42
CIA-60webgui: This will be removed when forms can be directly added to00:42
CIA-60webgui: templates and template objects can be passed around. Finally www_00:42
CIA-60webgui: methods will be extendible! - http://bit.ly/cNcUgn00:42
@preactionwhy does MooseX::GetOpt rely on Mouse?00:58
@preactionoh, no, Text::XSlate relies on MouseX::GetOpt00:58
@preactionenjoyable...00:59
-!- daviddelikat1 [~user@h69-129-206-153.mdsnwi.broadband.dynamic.tds.net] has joined #webgui02:13
-!- daviddelikat [~user@h69-129-206-153.mdsnwi.broadband.dynamic.tds.net] has quit [Ping timeout: 264 seconds]02:13
-!- fokat [~lem@190.72.138.110] has quit [Ping timeout: 246 seconds]03:25
-!- vayde [~vayde@65-103-4-156.mpls.qwest.net] has quit [Remote host closed the connection]03:40
scrottie0I've been getting a string of calls from 877 area code and prive numbers... I hope no one is actually trying to reach mome.  more likely, it's election spam.04:03
-!- carogray [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has quit [Read error: Connection reset by peer]06:56
scrottie0c96e23f0 (JT Smith         2002-11-04 07:25:34 +0000 324)         my ($value, $uiLevel) = rearrange([qw(value uiLevel)], @p);09:27
scrottie0rearrange() comes from CGI::Util().  it's undocumented.09:28
scrottie0or virtually undocumented.09:28
scrottie0how is it that people read through strange code in unrelated modules, understand convulted stuff like that, then later think, oh, that's exactly the routine I need to call to munge this data?09:29
-!- nuba [~nuba@pauleira.com] has quit [Read error: Connection reset by peer]09:33
-!- nuba [~nuba@pauleira.com] has joined #webgui09:33
scrottie0http://slowass.net/~scott/tmp/formbuilder.png12:13
scrottie0# Looks like you failed 13 tests of 3950.12:53
scrottie0http://github.com/scrottie/webgui/commit/5c6064104f5372cd6db00e7b356c7548fec1b41e ... feedback requested on that design for implementing raw() in terms of WebGUI::FormBuilder.  It seems adequately non-messy (the addition does) to me but perhaps it's unworkable or missing something.  it needs tests.  it needs HTML parsing tests built with Web::Scraper.  I'll do that later, before I push to the plainblack repo.  probably.13:15
* scrottie0 &13:16
-!- carogray [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has joined #webgui15:14
-!- khenn [~frank@99-111-115-201.lightspeed.mdsnwi.sbcglobal.net] has quit [Quit: khenn]17:00
@preactionscrottie0:I thought I had excised all the calls to ->raw, but looks like I missed a few. The problem is that raw() is a hack and a ReadOnly field does almost the same thing (and is just as much of a hack, but remains useful when not used for hacks).17:04
@preactionscrottie0: If you change the fields in the Carousel getEditForm from "raw" to "ReadOnly" they should just work (the "html" key will need to be "value" too).17:04
Haargpreaction, is there a reason fixWgaccess.pl manually sets the privileges instead of using ->setPrivileges ?17:13
@preactionHaarg: File->update doesn't use setPrivileges, and that's where i remembered the code coming from17:23
@preactionso no, no reason whatsoever17:23
Haargi guess that's a separate bug then17:25
CIA-60webgui: Graham Knop master * r04c49fb / (lib/WebGUI/Asset/File.pm sbin/fixWgaccess.pl): use setPrivileges on files instead of doing it manually - http://bit.ly/bXO5c017:27
CIA-60webgui: Graham Knop WebGUI8 * rb7b633b / sbin/fixWgaccess.pl : update fixWgaccess.pl for WebGUI 8 - http://bit.ly/cP8ruA17:28
-!- khenn [~frank@cpe-174-102-246-142.wi.res.rr.com] has joined #webgui18:31
-!- mode/#webgui [+o khenn] by ChanServ18:31
-!- fokat [~lem@200.84.244.194] has joined #webgui19:06
-!- daviddelikat [~user@h69-129-206-153.mdsnwi.broadband.dynamic.tds.net] has joined #webgui23:56
-!- daviddelikat1 [~user@h69-129-206-153.mdsnwi.broadband.dynamic.tds.net] has quit [Ping timeout: 240 seconds]23:57
--- Day changed Sun Aug 15 2010
scrottie0preaction, cool, thanks.01:14
scrottie0I might merge and push some stuff up later but I'm going to be mostly doing other things this weekend.01:15
-!- gugod [~gugod@sh1.opcafe.net] has quit [Read error: Operation timed out]02:01
-!- gugod [~gugod@sh1.opcafe.net] has joined #webgui02:01
-!- khenn [~frank@cpe-174-102-246-142.wi.res.rr.com] has quit [Quit: khenn]03:15
CIA-60webgui: Colin Kuskie WebGUI8 * r11ac13c / (12 files in 6 dirs): Prune out a method call from db->dbh->quote_identifier. - http://bit.ly/9EJFOJ03:52
-!- khenn [~frank@99-111-115-201.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui05:29
-!- mode/#webgui [+o khenn] by ChanServ05:29
-!- fokat [~lem@200.84.244.194] has quit [Read error: Connection timed out]05:49
-!- fokat [~lem@200.84.244.194] has joined #webgui05:52
-!- carogray [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has quit [Read error: Connection reset by peer]05:53
-!- fokat [~lem@200.84.244.194] has quit [Ping timeout: 252 seconds]06:35
-!- fokat [~lem@200.84.244.194] has joined #webgui06:36
-!- daviddelikat1 [~user@h69-129-206-153.mdsnwi.broadband.dynamic.tds.net] has joined #webgui11:15
-!- daviddelikat [~user@h69-129-206-153.mdsnwi.broadband.dynamic.tds.net] has quit [Ping timeout: 245 seconds]11:17
-!- carogray [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has joined #webgui13:54
-!- zylopfa [~zylopfa@0x555116f0.adsl.cybercity.dk] has joined #webgui20:36
zylopfaGreetings Webguians20:36
-!- daviddelikat1 [~user@h69-129-206-153.mdsnwi.broadband.dynamic.tds.net] has quit [Ping timeout: 258 seconds]22:43
-!- daviddelikat [~user@h69-129-206-153.mdsnwi.broadband.dynamic.tds.net] has joined #webgui23:07
--- Day changed Mon Aug 16 2010
-!- daviddelikat [~user@h69-129-206-153.mdsnwi.broadband.dynamic.tds.net] has quit [Read error: Connection reset by peer]00:07
-!- scrottie0 [~scott@li25-98.members.linode.com] has quit [Ping timeout: 240 seconds]00:12
-!- scrottie0 [~scott@li25-98.members.linode.com] has joined #webgui00:13
-!- Radix_ [quasselcor@203.161.71.161.static.amnet.net.au] has quit [Quit: No Ping reply in 180 seconds.]01:04
-!- Radix_ [quasselcor@203.161.71.161.static.amnet.net.au] has joined #webgui01:04
-!- mode/#webgui [+v Radix_] by ChanServ01:04
-!- zylopfa [~zylopfa@0x555116f0.adsl.cybercity.dk] has quit [Quit: Leaving]01:26
-!- carogray [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has quit [Read error: Connection reset by peer]05:05
-!- plainhao [~plainhao@mail.xbiotica.com] has quit [Quit: plainhao]05:50
-!- fokat [~lem@200.84.244.194] has quit [Quit: Ex-Chat]07:05
-!- kaare [~kaare@langebro.adapt.dk] has joined #webgui08:11
-!- kaare is now known as Guest2371008:11
CIA-60webgui: Colin Kuskie master * r05c287c / (3 files in 3 dirs): Thingy add/edit via AJAX returned nothing useful, and lied about error status. Fixes bug #11781. - http://bit.ly/a06BvW09:18
CIA-60webgui: Colin Kuskie master * r8f7bbda / (3 files in 3 dirs): Fixes bug #11780: anchor filename regex to the end of the string. - http://bit.ly/9OrJSg09:24
-!- Radix_ [quasselcor@203.161.71.161.static.amnet.net.au] has quit [Remote host closed the connection]11:37
-!- Radix_ [quasselcor@203.161.71.161.static.amnet.net.au] has joined #webgui11:37
-!- mode/#webgui [+v Radix_] by ChanServ11:37
-!- carogray [~Caroline@108.122.168.205] has joined #webgui12:58
-!- Guest23710 is now known as kaare_14:07
-!- carogray [~Caroline@108.122.168.205] has quit [Read error: Connection reset by peer]14:53
-!- fokat [~lem@190.72.138.110] has joined #webgui15:12
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has joined #webgui15:23
-!- kaare_ [~kaare@langebro.adapt.dk] has quit [Remote host closed the connection]15:55
SDuensinMorning.16:09
-!- daviddelikat [~user@h69-128-106-50.mdsnwi.dedicated.static.tds.net] has joined #webgui16:13
-!- bartjol [~bartjol@kantoor.procolix.com] has joined #webgui17:17
-!- mode/#webgui [+v bartjol] by ChanServ17:17
-!- tavisto [~tavisto@pool-71-186-22-44.gdrpmi.dsl-w.verizon.net] has joined #webgui17:56
-!- mode/#webgui [+o tavisto] by ChanServ17:56
-!- mducharme [~nothing@S0106000e0cc03cff.wp.shawcable.net] has quit [Read error: Connection reset by peer]18:04
-!- mducharme [~nothing@S0106000e0cc03cff.wp.shawcable.net] has joined #webgui18:05
-!- bartjol [~bartjol@kantoor.procolix.com] has left #webgui []18:41
@preactionit's a good WebGUI day!18:45
-!- perlDreamer [~colink@pool-173-50-255-102.ptldor.fios.verizon.net] has joined #webgui18:50
-!- mode/#webgui [+v perlDreamer] by ChanServ18:50
+perlDreamermorning, everybody18:50
CIA-60webgui: Colin Kuskie master * r7976066 / (docs/changelog/7.x.x.txt lib/WebGUI/Asset/Post.pm): Lookup file icon for all attachments, and thumbnail for all images. Fixes bug #11782. - http://bit.ly/9PJcUC19:13
+perlDreamerpreaction: can you think of any good reason that Form/YesNo shouldn't be a sub class of Form/List.pm ?19:19
+perlDreamerand Form/RadioList specifically?19:19
@preactionList types return lists of values19:19
+perlDreamerunless they're RadioLists, or SelectBoxen19:20
@preactionthen no19:20
@preactionperlDreamer: regarding that regression you just fixed, did you figure out what khenn's changed code was doing and why? i couldn't figure it out19:38
@khennchanged code where?19:39
@preactionin the Post asset, with the attachment loop generation 19:39
@preactionhttp://www.webgui.org/use/bugs/tracker/1178219:40
+perlDreamerI think it was an overefficient check19:40
+perlDreamerit was meant to prevent trying to get the thumbnail for something that wasn't an image19:41
@preactionso it was a performance thing?19:41
+perlDreamerI think the performance part got mixed in with trying to call getThumbnailUrl on something that didn't have thumbnails19:41
+perlDreamerbecause that will throw an error19:41
@preactioncould you write a test please?19:42
+perlDreameryou betcha!19:42
@khennno19:42
+perlDreamerI can't write a test?19:42
@khennit wasn't a performance thing19:42
@khennif I recall correctly19:42
@khennthe stuff I did related to attachments in Post19:42
@khennwas to prevent empty, orphaned attachment folders from being created19:43
+perlDreamerkhenn: git show 82e52fd819:44
+perlDreamerthat's the commit in question19:44
@khennoh19:51
@khennright19:51
@khennthis was something else19:51
@khennI changed this code for exactly the reason it describes in my comment19:52
@khennif you uploaded a ppt19:52
@khennor word19:52
@khennor anything that wasn't an image to a CS19:52
@khennit would throw an error in the log19:52
@khennsame thing would happen if you uploaded an image that didn't have an icon19:53
@khennso docx19:53
@khenner not an image19:53
@khenna file w/o an associated icon19:53
+perlDreameryeah, because it would try to call getThumbnailUrl19:53
@khennright19:54
@khennI refactored some of the stuff19:54
@khennso it wouldn't make multiple calls to isImage19:54
+perlDreamerpreaction:  http://gist.github.com/52730120:07
+perlDreamerhow does that look?20:08
CIA-60webgui: Colin Kuskie master * r7c3d572 / t/Asset/Post.t : Add tests for attachment_loop handling in the Post. - http://bit.ly/aE229j20:10
@preactionperlDreamer: looks fine, thanks20:10
+perlDreamerdo we have any projects to work on for the hackathon yet?  Or is it itch scratching?20:10
@preactionprobably itch-scratching, or we could knock out the top RFEs for 7.1020:23
+perlDreamerI like that idea, we haven't done top RFE's in a long time20:24
@preactionplus the openID one is actually possible now20:24
@khennwe could always finish the blog asset we started last year20:30
@khennI still have my half finished aspect20:30
@preactionbut it won't get finished, and if it gets "finished", it will be half-assed and then put into the core, causing problems and disillusionment from the users20:32
@khennI was being facetious =p20:34
@preactionHaarg: would it be possible/good to change the author of extremely old commits in the git repo? someone's complaining they are incorrectly credited in the git commit20:43
Haargit would mess up every checkout/branch20:44
Haargwhich author is messed up?20:45
@preactionhttp://github.com/plainblack/webgui/commit/acd3fded451dba51d996edcd504efa51f25785b420:47
@preactionit says Randall Schwartz, it needs to be Randall Whitman20:48
Haargwonder how that happened20:49
@preactionbut also, yung isn't linked to his github, nor kaleb20:49
Haarghave examples of that?20:50
@preactionif we can do it, we can do it later when we have to close the repo for perltidy anyway20:50
@preactionhttp://github.com/plainblack/webgui/commits?page=9220:50
@preaction]20:50
Haargit's possible to change, but it will break every branch or checkout anyone has.20:50
@preactionwhich perltidy will do as well20:50
Haargso anything that isn't on plainblack's github repo will be broken20:50
Haargwhy would perltidy do that?20:50
@preactionfrom what i've been reading, they just have to rebase it20:50
Haargpossibly20:51
Haargif they have merges they will get fucked20:51
@preactionif you've made a commit, and we've perltidied, the merge will conflict 90%20:51
@preactioni'll just tell him we can't do it for now20:52
Haargsome of the users i didn't get emails to use for their account so i just used user@webgui-svn20:53
@preactionahh, so that's probably how github links it20:53
Haargyes20:53
@preactionso if he created a github account, added "dwrandall@webgui-svn" to his e-mail addresses, it should show his username instead20:54
Haargyes20:54
Haargyou might ask for a real email to use if you did decide to rewrite the repo at some point in the future.20:55
@preactioneh, this way works better for now.20:58
-!- scrottie [~scrottie@dsl01-ppp-5119.fastq.com] has joined #webgui21:01
-!- mode/#webgui [+o scrottie] by ChanServ21:01
scrottie0Randall Schwartz is complaining... there's a shocker.21:05
Haargactually it's someone else complaining that they got attributed as randall schwartz21:07
@scrottieoh.21:07
Haargi may look up my files from the conversion21:07
Haargnot sure how that got screwed up21:07
scrottie0fix the attributions in 8 before the release and have everyone sync at some point before/while the change is made?  dunno.21:08
Haargit could certainly be done, and doing it at the same time as perltidy would be as good a time as ever.21:10
CIA-60webgui: Colin Kuskie master * rdecfa80 / (4 files in 2 dirs): Change the YesNo form plugin to be a subclass of RadioList. Fix rendering problems with RadioList. Fixes bug #11777 - http://bit.ly/aM9Ff121:12
@khennare the only valid status values "approved", "archived", and "pending" or is there a "denied" as well?21:42
+perlDreamerI've never seen "denied"21:42
+perlDreamerwhen a tag is denied, it goes back to pending21:42
+perlDreamerwhere "it" = the asset21:43
@khennthat's what I thought21:44
@khennthanks21:44
SDuensinHoly crap.  IE is 15 years old today.21:51
+perlDreamerFrom processing in WebGUI is convoluted21:52
* scrottie remembers CERN line-mode.21:56
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has quit [Ping timeout: 246 seconds]22:22
-!- carogray [~Caroline@108.127.159.175] has joined #webgui22:30
-!- fokat [~lem@190.72.138.110] has quit [Remote host closed the connection]23:25
-!- vayde [~vayde@63-226-153-96.mpls.qwest.net] has joined #webgui23:41
-!- fokat [~lem@190.72.138.110] has joined #webgui23:42
--- Day changed Tue Aug 17 2010
@scrottieit looks like my linode is trying to guess passwords for you all.  sorry about that.00:10
@scrottieI'm going to be off the clock a bit here reinstall this.00:11
-!- daviddelikat [~user@h69-128-106-50.mdsnwi.dedicated.static.tds.net] has quit [Read error: Connection reset by peer]00:19
@scrottiefwiw, I don't use my home passwords for work stuff and vice versa.00:19
@scrottieand I don't think I've logged into anything indirectly through there.00:20
-!- carogray [~Caroline@108.127.159.175] has quit [Quit: Leaving.]00:33
-!- carogray [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has joined #webgui00:58
-!- scrottie [~scrottie@dsl01-ppp-5119.fastq.com] has quit [Ping timeout: 255 seconds]01:04
-!- scrottie [~scrottie@dsl01-ppp-5119.fastq.com] has joined #webgui01:17
-!- mode/#webgui [+o scrottie] by ChanServ01:19
-!- tavisto [~tavisto@pool-71-186-22-44.gdrpmi.dsl-w.verizon.net] has quit [Quit: tavisto]01:43
@scrottieI have gotta invest in one of those really fast Internet connections everyone has.02:25
@preactionyeah, i finally caved in (mainly because i couldn't find a no-bullshit internet connection at any speed). the bullshit is fun to deal with (my isp does nxdomain redirects), but it is easier to enjoy streaming content02:42
@preactionthe best part was their "opt-out" procedure. instead of redirecting me to a charter-branded page, it would redirect me to a page that looked like the Safari NXDOMAIN page. 02:42
@preactionwhile i was using Chrome02:42
@preactionand the URL in the location bar changed, so i had no idea what domain i had mistyped02:43
@scrottieI wonder if Cox's business class cable still does that.  blocking ports would be problematic too.03:06
@scrottieand the replacing ads in pages you view.  and sending RST packets.03:08
-!- perlDreamer [~colink@pool-173-50-255-102.ptldor.fios.verizon.net] has quit [Quit: Leaving.]03:23
-!- fokat [~lem@190.72.138.110] has quit [Ping timeout: 240 seconds]03:57
-!- vayde [~vayde@63-226-153-96.mpls.qwest.net] has quit [Remote host closed the connection]04:16
-!- carogray [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has quit [Ping timeout: 265 seconds]04:23
-!- tavisto [~tavisto@pool-71-186-22-44.gdrpmi.dsl-w.verizon.net] has joined #webgui04:53
-!- mode/#webgui [+o tavisto] by ChanServ04:53
-!- tavisto [~tavisto@pool-71-186-22-44.gdrpmi.dsl-w.verizon.net] has quit [Client Quit]04:55
-!- scrottie0 [~scott@li25-98.members.linode.com] has quit [Remote host closed the connection]07:19
-!- kaare [~kaare@langebro.adapt.dk] has joined #webgui08:14
-!- kaare is now known as Guest446408:14
-!- Guest4464 is now known as kaare_08:48
-!- gugod [~gugod@sh1.opcafe.net] has quit [Ping timeout: 264 seconds]09:13
-!- gugod [~gugod@114-32-222-155.HINET-IP.hinet.net] has joined #webgui09:15
-!- ryuu_ro [~rory@5357069A.cable.casema.nl] has joined #webgui10:01
-!- carogray [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has joined #webgui14:18
-!- vayde [~vayde@63-226-153-96.mpls.qwest.net] has joined #webgui14:44
-!- waxhead_ [~pete@ppp121-45-217-60.lns20.cbr1.internode.on.net] has quit [Quit: Ex-Chat]14:49
-!- scrottie [~scrottie@dsl01-ppp-5119.fastq.com] has quit [Ping timeout: 276 seconds]14:55
-!- scrottie [~scrottie@dsl01-ppp-5119.fastq.com] has joined #webgui15:18
-!- daviddelikat [~user@h69-128-106-50.mdsnwi.dedicated.static.tds.net] has joined #webgui15:25
-!- fokat [~lem@190.72.138.110] has joined #webgui15:41
SDuensinGreetings.15:52
-!- khenn [~frank@99-111-115-201.lightspeed.mdsnwi.sbcglobal.net] has quit [Quit: khenn]16:01
-!- bartjol [~bartjol@kantoor.procolix.com] has joined #webgui16:07
-!- mode/#webgui [+v bartjol] by ChanServ16:07
scrottiemorning.16:13
* scrottie is still at it from last night... ugh...16:13
SDuensinugh16:13
scrottienot exactly work... just IT stuff.  proto-work.16:13
SDuensini used to do that.  now i have kids!16:14
scrottieI hear those cost you a lot of sleep too, at least at first.16:14
SDuensinyou have no NO idea!  :-)16:15
-!- kaare_ [~kaare@langebro.adapt.dk] has quit [Remote host closed the connection]16:21
+bartjolwhohoo 5 minute bug fix17:00
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui17:03
-!- mode/#webgui [+o bopbop] by ChanServ17:03
-!- xootom [5eaba154@gateway/web/freenode/ip.94.171.161.84] has joined #webgui17:18
+bartjolxootom: have you tried the bugfix?17:20
xootomfor the thumbnails?17:21
+bartjolthe resolutions17:21
+bartjolthe sorrt order17:21
xootomah no haven't seen that maybe my email's delayed17:21
+bartjolit is comparing strings instead of numbers17:21
xootomah thought so 17:21
+bartjolso it was an easy fix17:21
xootomgreat :)17:22
+bartjoland my test site didn't crash, but did sort in the right order17:22
xootomyes that's fixed it thanks!17:26
-!- carogray [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has left #webgui []17:30
+bartjolah, nice17:30
+bartjolglad to be of help17:30
-!- khenn [~frank@71-90-29-5.dhcp.ftbg.wi.charter.com] has joined #webgui17:34
-!- mode/#webgui [+o khenn] by ChanServ17:34
xootomJust found an uncommitted version tag on my site by Guest.. how's that happened, not seen it before? Guest / 15/08/2010 01:35:12 (Autotag).17:45
+bartjolguest? not visitor?17:46
-!- tavisto [~tavisto@pool-71-186-22-44.gdrpmi.dsl-w.verizon.net] has joined #webgui17:47
-!- mode/#webgui [+o tavisto] by ChanServ17:47
-!- carogray [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has joined #webgui17:47
+bartjolxootom: I can imagine that a cs has a commit with approval post workflow and that everybody can post, not sure whether that is the case17:57
xootomjust looking at it, appears to be pages worth of changes to a calendar event, hundreds per minute17:58
+bartjolwhoa17:58
+bartjolcommit it! :P17:58
xootomviewing each change, can't see any changes and the content looks legit 17:59
xootomlooking at the calendar itself, everybody can view but that's it, and it has commit without approval18:01
+bartjolmmm18:06
+bartjoland spectre runs normally?18:08
+bartjolwell, good luck, have to go18:09
-!- bartjol [~bartjol@kantoor.procolix.com] has quit [Quit: Leaving.]18:10
-!- perlDreamer [~colink@pool-173-50-255-102.ptldor.fios.verizon.net] has joined #webgui18:25
-!- mode/#webgui [+v perlDreamer] by ChanServ18:25
-!- ryuu_ro [~rory@5357069A.cable.casema.nl] has quit [Quit: ryuu_ro]18:28
+perlDreamerbopbop, that's not a bug in the calendar18:30
@bopbopno?18:30
+perlDreameryou shouldn't be up that late18:30
@bopbop:)18:30
+perlDreameryou should be sleeping at midnight18:30
@bopbopI agree18:30
+perlDreamerthat's part of our new family-friendly initiative18:30
@bopbopsounds great to me18:31
@bopbopcan we get rid of anything before 7AM too?18:31
+perlDreameroh sure, but that would be an RFE18:32
@bopbopshucks - I'll need more karma18:32
+perlDreamerI can loan you some18:34
@preactionbopbop: what's the problem?18:37
@bopboplook at the Adobe Calendar page on Plain Black18:38
@bopbopI broke it18:38
@bopbopI tried to enter midnight as an end time18:38
@preactioni see the bug, fun!18:38
@bopbopyup18:38
@preactionmidnight would technically be the next day18:38
@preaction12:00am is the first minute of tomorrow18:39
@preactionwas the error about "start time must be before end time" or whathaveyou?18:39
@preactionwe could special-case that situation, it's a very technical and exact definition, and we are not building webgui for technical and exact people18:40
@bopbopyes, it was that start time must be before end time18:40
-!- ryuu_ro [~rory@5357069A.cable.casema.nl] has joined #webgui18:41
@bopbopso, technically I have to pick 23:59 to be on the same day18:41
@bopbopor 00:01 to be on the next?18:41
@bopbopthere's no exact midnight?18:42
@preactionno, there is an exact midnight, but it's on the next day18:42
@bopbopblah18:42
@bopbopok18:42
@bopbopso do I pick 00:00 on the next date?18:43
@bopbopstart 22:00 on 8/24 and end at 00:00 on 8/2518:43
@preactionright18:43
@bopbopsigh18:43
@bopbopthat's far too difficult18:43
@bopbopI had to think about it18:43
@bopbopwell, if you can at least fix the page for me so I can see my calendar again I'd much obliged 18:44
@bopbopI'd BE much obliged18:44
@bopbopI need it to keep me where I need to be18:44
@preactionyes, as i said we can special-case that midnight thing. it's technically correct, which only matters to a beaurocrat18:45
@bopbopk18:45
@preactionbopbop: if you need faster resolution on something, post it to the support boards18:45
@bopbopk18:45
+perlDreamerpreaction: are you going to fix that one (should I do another bug?)18:47
@preactiongo ahead, i've got 8 problems (but a bug ain't one)18:48
@preactioni think we need to write some howtos for all the troubleshooting we ask people to do. i'm tired of repeating "bump you log level by going into ... and changing ERROR to INFO"18:49
+perlDreamerpreaction: I think there's a wiki page with some of that on webgui.org18:50
@preactioni'll verify and add any pages tonight at madison.pm18:50
+perlDreamerspeaking of madison.pm...18:51
@bopboppreaction: is there a limit to how many assets you can cut or delete at one time inside the asset panel?18:51
@preactionbopbop: no. why?18:52
@bopbopseems like I can only delete 10 at at ime18:52
@bopboptime18:52
@bopbopcut seems better18:52
@bopbopI'll try to test my delete again to see if I run into a limit again18:52
@preactiondelete may not be using the progress bar as it is supposed to18:53
-!- plainhao [~plainhao@mail.xbiotica.com] has joined #webgui19:05
-!- xootom [5eaba154@gateway/web/freenode/ip.94.171.161.84] has quit [Quit: Page closed]19:23
-!- SquOnk [~emhn@190.72.138.110] has joined #webgui19:33
-!- ryuu_ro [~rory@5357069A.cable.casema.nl] has quit [Quit: ryuu_ro]20:28
+perlDreamerpreaction: did resolutions in the Gallery used to look like 600x800, instead of only "600"?20:36
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has quit [Quit: bye]20:36
@preactionno20:39
@preactionthe 600 is the max height or width at the same aspect ratio as the original20:39
+perlDreamerat some point, I did this: git show 2521387720:46
+perlDreamerno comment other than "fix a bad sort"20:46
@preactionwhat do we all think about punishing regressions severely?20:48
Haargpunishing how?20:49
@preactioni was thinking a probationary period where your commit bit is revoked and you have to commit through someone with a commit bit20:50
Haargmight be better to finish the stuff i did on smoke20:51
@preactioni've found that without a strict policy in place, people feel they can abuse the codebase20:51
Haargso people get notified of problems20:51
Haargwith a strict policy in place they still tend to do so20:52
HaargperlDreamer, that sort should be changed back to a numeric sort really20:54
Haargprobably with some reformatting to do it properly though and avoid warnings20:54
+perlDreamerit's the tests!20:55
+perlDreamerthe Album uses pure numeric resolutions, but the tests set it to \d+x\d+20:56
+perlDreamerpreaction, we have so few committers that I think perhaps just yelling at the person would work21:01
-!- carogray1 [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has joined #webgui21:09
-!- carogray1 [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has left #webgui []21:11
CIA-60webgui: Colin Kuskie master * r09ff643 / lib/WebGUI/Asset.pm : Explicit scalar for getting the URL form param in Asset.pm. - http://bit.ly/aREf9Q21:19
CIA-60webgui: Colin Kuskie master * reac7fe8 / (6 files in 3 dirs): Gallery resolutions are integers. Fixed sorting the resolutions, and fixed the tests to not use bad resolutions. Fixes bug #11787 - http://bit.ly/df5YZb21:19
+perlDreamerthat needs an explicit test, too for sorting checks21:26
+perlDreamerI'll add it after lunch21:26
scrottiehmm.22:18
SquOnkGreetings.22:23
* SquOnk fighting to get 7.9 into Squeeze22:23
SquOnkBTW, my visa has been granted so I see you guys at WUC2010 :-)22:24
@preactionyay22:24
SquOnkIt's going to be a long flight though...22:26
SquOnk...I haven't checked, but I don't think there's a KMIA-KMSN flight.22:26
scrottiehttp://niemann.blogs.nytimes.com/2010/08/03/red-eye/22:27
@preactioni think there is, but the drive isn't so bad22:27
SquOnkpreaction: How long's the drive from Chicago?22:29
@preaction2.5 hours22:29
SquOnkI rather fly in.22:30
SquOnk3 hours SVMI-KMIA, plus immigration and customs22:30
SquOnkLayover22:30
SquOnk4 hours KMIA-KORD22:30
SquOnkI'm not driving :-)22:30
@preactiondepending on when you arrive the buses may not be running, madison's not so big to have 24/7 public transportation22:32
@preactionoh, cab, i suppose22:32
-!- plainhao [~plainhao@mail.xbiotica.com] has quit [Quit: plainhao]22:32
SquOnkpreaction: I'll figure it out :-)22:32
SquOnkpreaction: I walk a lot anyway...22:33
@preactionwhat hotel you staying at? the concourse? the airport's a little bit out of the way of downtown22:34
SquOnkpreaction: I'm going to try to stay at the Concourse, yes.22:34
SquOnkpreaction: I've seen the map, yes. I still don't know the time I'll be arriving, but worst case scenario I'll take a cab.22:35
@preactionmadison's rather sprawled out for its population, though there are bike rentals around too22:35
-!- scrottie [~scrottie@dsl01-ppp-5119.fastq.com] has quit [Quit: Leaving]22:39
-!- daviddelikat1 [~user@h69-128-106-50.mdsnwi.dedicated.static.tds.net] has joined #webgui23:22
-!- daviddelikat [~user@h69-128-106-50.mdsnwi.dedicated.static.tds.net] has quit [Ping timeout: 255 seconds]23:24
CIA-60webgui: Colin Kuskie master * r80c906b / (2 files in 2 dirs): Really fix sorting numerically for resolutions. Added tests to check it. - http://bit.ly/c6131K23:31
+perlDreameryay! I didn't break the calendar23:39
+perlDreamerunderground did23:39
-!- scrottie [~scrottie@dsl01-ppp-5119.fastq.com] has joined #webgui23:41
-!- mode/#webgui [+o scrottie] by ChanServ23:41
-!- scrottie0 [~scott@li25-98.members.linode.com] has joined #webgui23:49
+perlDreamerI'm sorry, but we only allow 1 scrottie per IRC channel23:57
+perlDreamerone of you is going to have to leave23:57
--- Day changed Wed Aug 18 2010
* scrottie tries to stare down scrottie000:01
* scrottie0 tries to stare down scrottie00:01
scrottie0ugh.  I smell like a camel.00:03
+perlDreamerforeach $scrottie ($session->getScrotties) { dump Bucket => $scrottie }00:09
SquOnkmap { dump Bucket => $_ } $session->getScrotties00:12
SquOnkFUNctional programming is FUN00:12
+perlDreamerFairly UNintelligible?00:13
@scrottieuse perl5i; $session->getScrotties->Data::Dumper::Dumper;00:13
SquOnkperlDreamer: Actually, it tends to be clearer00:13
@scrottieactually, not even perl5i there.00:13
+perlDreamerFouled-Up Nonrecognizable?00:13
SquOnkperlDreamer: Not necessarily in Perl, though.00:13
SquOnkperlDreamer: map and grep are among the Perl Best Practices one should get used to.00:14
SquOnkperlDreamer: For performance reasons even.00:14
@scrottiehttp://search.cpan.org/~sartak/autobox-Closure-Attributes-0.04/lib/autobox/Closure/Attributes.pm sums it up nicely =)00:14
@scrottienot to mention being an awesome hack.00:14
SquOnkperlDreamer: There are several functional aspects of Perl that most people don't recognize as being functional, and are both cool and efficient.00:15
SquOnkMaybe I'll preach a bit of high order Perl at WUC2010 ;-P00:15
* perlDreamer has read parts of HOP, SquOnk00:15
* scrottie hopes perlDreamer and SquOnk will read the brief story in the a::C::A POD =)00:15
+perlDreamerjust having fun with acronyms at  your expense00:16
SquOnkperlDreamer: That's one of the cooler books the Perl community has00:16
SquOnkscrottie: It's funny, yes.00:16
@scrottieTHEN LAUGH.00:16
SquOnkscrottie: I guess someone sneaked in my "Programming Languages I" course and transliterated into a Zen-style story ;-)00:16
SquOnkThere's an excellent book alongside a programming environment named Mozart that illustrates those points in a very didactic way.00:17
SquOnkI'm trying to switch to Mozart for the theoretical part of Programming Languages I...00:18
SquOnk...'cause the practical part is taught in Haskell and Prolog, and sometimes Ruby.00:18
SquOnkObjects = Functional Programming + Closures over State00:18
SquOnkWhere State is a generic datatype.00:19
SquOnkMost programming vices come from not having been exposed to functional programming early on.00:19
SquOnkThat's my theory, anyway.00:20
@scrottiedon't remember if I pushed it to CPAN, but somewhere I have a little Acme hack that gives you true functional programming in perl.00:20
@scrottieit uses the 'ops' module to disable the = and related operators in the VM.00:20
@scrottietada!00:20
-!- daviddelikat1 [~user@h69-128-106-50.mdsnwi.dedicated.static.tds.net] has quit [Quit: Leaving.]00:23
SquOnkscrottie: That's oughly cute.00:26
-!- r3c4ll [~r3c4ll@190.75.114.103] has joined #webgui00:35
r3c4llhi00:35
+perlDreamerhello00:36
@scrottiehey r3c4ll.00:38
r3c4llI'm looking what is webgui, and my first question is... it can be installed from cpanel or i need root (ssh) access to install it?00:40
+perlDreameryou need root access to install it00:41
+perlDreamerunless you have someone else host it for you, of course00:41
@preactionpresently you must have a shell to install it, unless someone makes a cpanel plugin for webgui00:41
r3c4llok thank you ;)00:41
SquOnkr3c4ll: aptitude install webgui00:42
r3c4llhi Mr. SquOnk :D00:42
@preactionthat too00:42
@scrottieI want CPAN.  And I want a small base install that doesn't scare the bejesus out of people and lots and lots of little parts they can add.00:43
@scrottiebut I suppose aptitude would be nice.  if you're into that sort of thing.  which I'm not.00:44
SquOnkscrottie: What do you mean "you want CPAN"?00:44
+perlDreamerhe wants to cpan WebGUI00:44
@preactioncpan install WebGUI00:44
@scrottieI want WebGUI on CPAN.00:44
+perlDreameryou could put it there now, but it won't do you any good00:44
@preactionhaarg and i share that vision00:44
+perlDreameryou need to have mysql rights, and apache config rights, and all sorts of other things00:45
SquOnkpreaction: I see.00:45
SquOnkpreaction: Well, the first step is to turn WebGUI to a proper CPAN distribution layout.00:45
@preactionSquOnk: better for you too, as there are easy tools to change cpan distros into dpkg00:45
@preactionyes, that's what haarg has been doing in webgui 800:46
SquOnkpreaction: Yep, dh-make-perl00:46
@scrottiehttp://search.cpan.org/~dpavlin/Fuse-DBI-0.08/examples/webgui.pl ... that's interesting.00:47
@scrottiemount that somewhere under web root =)00:47
SquOnkpreaction: Then the MySQL rights and Apache config could be handled by Debian's packaging tools for that...00:48
@preactionmight not work under a current WebGUI, looks like it's from 200400:48
SquOnk...and Module::Install allows for an install_script that could do all those things for non-Debian installs.00:49
Haargmore likely it would be a separate script00:49
@preactionyes, and there are things that WGDev does that WebGUI::Command will do (included with webgui), and WebGUI::Command will do other management as well00:49
@preactiona lot of what the WRE does will be included with WebGUI itself instead00:50
@preactionthat FUSE thing is only a few dozen lines, shouldn't be too hard to update for current WebGUIs. and wgd already has a nice serialization language for assets...00:52
Haargpart of the current dilemma i had was figuring out the best way to handle relocation, to handle both a source install and a CPAN install.00:53
Haargand it's also stalled on yui from a cdn00:53
@preactionah, yeah, i should get on that...00:54
+perlDreamerHaarg: what kind of encoding is "spa%DF" ?00:56
@preactionURL encoding00:57
+perlDreamerthat's something else that dispatch broke00:57
+perlDreamerUTF-8 URLs00:58
@preactionyay!00:58
@preactionjust make sure to write a test expositing it before you fix00:58
+perlDreameraye, aye sir!00:59
+perlDreamerOregon is getting its own branch of the Pirate party00:59
+perlDreamerhttp://www.google.com/url?sa=t&source=web&cd=1&ved=0CB8QqQIwAA&url=http%3A%2F%2Fwww.katu.com%2Fnews%2Flocal%2F100865474.html&ei=XwZrTPJqhZayA4PCwY4P&usg=AFQjCNGKx0rPbOm3OcM0C44LgLNLGJsfnA01:00
@preactioni like that "it's going to die because dems and reps will steal their ideas"01:02
@scrottieno stealing from pirates!  that's not fair!01:02
@preactionneither of those groups want more gov't transparency and accountability (or at least, that's what their policies have shown)01:02
* preaction </politics>01:02
* scrottie nods at preaction01:03
@scrottiesave it for when there's beer and too little else to talk about.01:03
+perlDreamerSeptember 2nd01:03
SquOnkHeh01:06
SquOnkI have to talk to the dutch guys into bringing me some beer...01:06
SquOnkI wonder what to bring myself, though.01:07
@scrottiehrm?  Madison is dry?01:07
SquOnkVenezuelan beer is not what it used to be nowadays. Just another pilsener.01:07
+perlDreamerSquOnk: Madison has many good beers01:07
+perlDreamerfrom local breweries01:08
@preactionno, madison has excellent beer. i would say the best you can get outside of Belgium01:08
SquOnkI won't bring white cheeses to Wisconsin01:08
SquOnkpreaction: LOL01:08
SquOnkperlDreamer: Oh, I'll try them all, for sure.01:08
* perlDreamer will bring a wheeled cart to bring you home01:08
@preactionwe're a bunch of German immigrants, of course we can brew beer01:08
SquOnkperlDreamer: Wishful thinking01:08
SquOnkI know. I'll bring venezuelan chocolate01:09
SquOnkAre you guys into dark chocolate? Like 93% cocoa, almost no sugar?01:09
@preactioni am, but most of my fellow wisconsinites feel that "Hershey's" produces actual chocolate01:10
@scrottieI'm down.  I don't know if I have a well developed pallet but I do enjoy dark chocolate.01:10
SquOnkAll right, that's what I'm bringing then...01:11
SquOnk...and maybe some rhum.01:11
SquOnk(I don't drink rhum, but venezuelan rhum is among the best)01:11
+perlDreamerrhum?  Is that like rum?01:11
@scrottieI don't know what I can bring from Arizona.  racial profiling?01:11
@scrottieit's kind of a wasteland here.01:12
@scrottierhum _really_ sounds good right now.01:12
SquOnkperlDreamer: Yep01:12
SquOnkhttp://www.chocolatetradingco.com/magazine.asp?id=21301:12
SquOnkDark Chuao chocolate. As good as it gets.01:12
@preactionhmm... perhaps use dark chuao to brew a dark lager01:15
@scrottieI'm thinking of dropping a simple script to run individual classes through the Test::Class framework thing into t/tests/Test/WebGUI/:  http://github.com/scrottie/webgui/commit/66ead7785a45d7facaa3db440519349a4cc0279001:19
-!- waxhead_ [~pete@ppp121-45-217-60.lns20.cbr1.internode.on.net] has joined #webgui01:19
+perlDreamerscrottie, the Test::Class tutorial tells you how to do that01:19
@scrottiewould that .pl be better off somewhere else or perhaps just not part of the source tree?01:19
+perlDreamerwithout a script01:19
@scrottieoh.01:19
@scrottieright-o.  I'll keep the thing to myself then.01:19
+perlDreamerjust Google for ovid Test::Class01:19
r3c4llSquOnk, i go to Chuao every time i can... it is every two weeks aprox ;)01:19
+perlDreamerand it will tell you what to do01:20
@scrottiemeh.  my stupid script works for my purposes.  I'll just leave it uncommited then.01:20
@scrottiemy brain is full right now.01:20
+perlDreamerthe French have a saying for that condition, scrottie01:21
@scrottieoh, so if I refuse to learn a Test::Class one-liner, you're going to make me learn a French saying instead.  I see.  well, hit me, I guess.01:22
+perlDreamerit's called, "Waaaaaaaaaaah"01:23
@scrottieSadly, I can't follow every tangent that crosses my path.  I have to shove that onto the end of the list here.01:23
@scrottie"I'll do it later".01:24
@scrottienot polluting the source tree is a much higher priority ;)01:24
CIA-60webgui: Scott Walters WebGUI8 * rba953a6 / lib/WebGUI/Asset/Wobject/Carousel.pm : 01:25
CIA-60webgui: Use the Form::ReadOnly control rather than the raw interface;01:25
CIA-60webgui: WebGUI::FormBuilder::Tab is not a subclass of WebGUI::HTMLForm and doesn't implement raw(). - http://bit.ly/bHUcCA01:25
CIA-60webgui: Scott Walters WebGUI8 * r420fcde / lib/WebGUI/Asset/Wobject/Poll.pm : 01:25
CIA-60webgui: Use the Form::ReadOnly control rather than the raw interface;01:25
CIA-60webgui: WebGUI::FormBuilder::Tab is not a subclass of WebGUI::HTMLForm and doesn't implement raw(). - http://bit.ly/ca7aCp01:25
@scrottieincidentally, on top of everything else, today is going to be a short day.  I have to bail 6ish.  girl is back from Copenhagen tonight and some friends are back from a month long tour down the Pacific Coast highway.01:26
@preactionnice01:30
@scrottiethere are stories to be heard, I have no doubt.01:31
@preactionand beer to drink while hearing them01:32
@scrottieI didn't want to say anything, but yes.  I have to bite that bullet.01:33
-!- SquOnk [~emhn@190.72.138.110] has quit [Read error: Connection reset by peer]01:44
-!- SquOnk [~emhn@190.72.138.110] has joined #webgui01:45
-!- fokat [~lem@190.72.138.110] has quit [Ping timeout: 265 seconds]01:48
-!- fokat [~lem@190.72.138.110] has joined #webgui02:00
-!- khenn [~frank@71-90-29-5.dhcp.ftbg.wi.charter.com] has quit [Quit: khenn]02:01
-!- khenn [~frank@146.sub-75-207-182.myvzw.com] has joined #webgui02:31
-!- mode/#webgui [+o khenn] by ChanServ02:31
+perlDreamerLesson learned for today02:45
+perlDreamerDon't use a perl module and 8 extra lines of code...02:46
+perlDreamerwhen 1 line of core perl will do the right thing02:46
@scrottieperl -e 'dump' ?02:46
+perlDreamerno02:46
+perlDreamerI used URI-new($url) to get an easy, clean split of the URL path into fragments02:47
@scrottiesounds reasonable.02:47
+perlDreamerhowever, that encoded the URL, which borked all the UTF-8 characters in it02:47
@scrottiethat sounds unreasonable.02:48
@scrottieit should just be parsing it, not encoding or escaping stuff.  02:48
+perlDreamerso, instead of URI->new($url); $uri->path_fragments; munge all path fragments for utf802:48
+perlDreamerI just did split /\//02:49
@scrottiefor the sake of safety when programming perl, always remember:  never touch the data.02:50
@scrottieyou'll get a rash, it'll get germs on it.  it's not good.02:50
@scrottieI recommend five layers of encapsulation.02:50
CIA-60webgui: Colin Kuskie master * r4bf7eb4 / (3 files in 3 dirs): Fix UTF-8 URL handling in dispatch. Added tests for creating assets and accessing assets with UTF-8 urls. Fixes bug #11785 - http://bit.ly/dezVWZ02:56
* scrottie did some digging around on the canPostStories failures in the Test::Class tests before finding out that story->getParent->getParent is the wrong class. working...03:04
@scrottieI need a progress bar.03:04
+perlDreamerBe nice to my Story Manager code.  I'm an overprotective parent03:05
+perlDreamerYargh!03:06
+perlDreamerHow is it, in 9 years of WebGUI, that no one has complained about i18n in the time chooser?03:06
@scrottieI didn't only ask its parent before taking it on a date, I asked its parent's parent.03:07
+perlDreamerthat's real thorough03:08
@scrottieI don't think there's anything wrong with the code.  The t/Asset/Story.t test is mostly good in 8.x.  it's just blowing up in the Test::Class tests.  so it seems the ancestry is just off somehow.  investigating... *most* of the fixes so far have been fixes to the tests, not the code.  well, a bit over half.03:08
@scrottienot that that saves any time or effort in debugging.03:09
+perlDreamerno, Moose does not make stack traces or perl -d any easier03:29
+perlDreamerpreaction: we're having BBQ mesquite chicken, home-made crescent rolls and some kind of veggie.  We'll have extras, so you can bebop over if you wish03:30
-!- perlDreamer [~colink@pool-173-50-255-102.ptldor.fios.verizon.net] has quit [Ping timeout: 265 seconds]03:39
@scrottiehrm.  some of these are now passing.  I'm not sure why.  and the diagnostic output suggests that it shouldn't be blowing up either.  re-running everything.  heading out.03:44
-!- carogray [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has quit [Quit: Leaving.]03:55
-!- carogray [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has joined #webgui03:59
-!- SquOnk [~emhn@190.72.138.110] has quit [Quit: Yippie kay-ai-yay, fudder muckers!]04:08
-!- scrottie [~scrottie@dsl01-ppp-5119.fastq.com] has quit [Ping timeout: 240 seconds]04:12
-!- perlDreamer [~colink@pool-173-50-255-102.ptldor.fios.verizon.net] has joined #webgui04:12
-!- mode/#webgui [+v perlDreamer] by ChanServ04:12
-!- carogray [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has quit [Read error: Connection reset by peer]04:18
-!- carogray1 [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has joined #webgui04:18
-!- khenn [~frank@146.sub-75-207-182.myvzw.com] has quit [Quit: khenn]04:21
-!- scrottie [~scrottie@dsl01-ppp-5119.fastq.com] has joined #webgui04:26
+perlDreamerscrottie, you're not supposed to be here anymore04:27
+perlDreamerremember, lunch with the recently returned girlfriend and the bike riders?04:27
-!- fokat [~lem@190.72.138.110] has quit [Quit: Ex-Chat]04:28
+perlDreamerholy crap!   patspam's in the hospital!04:28
CIA-60wrebuild: Colin Kuskie master * r6270382 / wre/sbin/wremonitor.pl : Force monitoring of modperl processes, too in wremonitor.pl - http://bit.ly/cgdbGG04:30
CIA-60wrebuild: Colin Kuskie master * r577f160 / (16 files in 5 dirs): Merge branch 'master' of github.com:plainblack/wrebuild - http://bit.ly/aZFMjy04:30
-!- tavisto [~tavisto@pool-71-186-22-44.gdrpmi.dsl-w.verizon.net] has quit [Quit: tavisto]04:46
-!- khenn [~frank@146.sub-75-207-182.myvzw.com] has joined #webgui04:51
-!- mode/#webgui [+o khenn] by ChanServ04:51
-!- khenn [~frank@146.sub-75-207-182.myvzw.com] has quit [Quit: khenn]04:57
-!- mducharme [~nothing@S0106000e0cc03cff.wp.shawcable.net] has quit [Read error: Connection reset by peer]05:11
-!- fokat [~lem@200.84.244.194] has joined #webgui05:16
-!- mducharme [~nothing@S0106000e0cc03cff.wp.shawcable.net] has joined #webgui05:34
-!- daviddelikat [~user@h69-129-206-153.mdsnwi.broadband.dynamic.tds.net] has joined #webgui05:37
-!- scrottie [~scrottie@dsl01-ppp-5119.fastq.com] has quit [Ping timeout: 276 seconds]05:50
-!- scrottie [~scrottie@dsl01-ppp-5119.fastq.com] has joined #webgui06:02
-!- fokat [~lem@200.84.244.194] has quit [Ping timeout: 240 seconds]06:16
-!- r3c4ll [~r3c4ll@190.75.114.103] has quit [Ping timeout: 255 seconds]06:16
-!- khenn [~frank@99-111-115-201.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui06:16
-!- mode/#webgui [+o khenn] by ChanServ06:16
-!- carogray [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has joined #webgui06:22
-!- carogray1 [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has quit [Read error: Connection reset by peer]06:22
-!- tavisto [~tavisto@pool-71-186-22-44.gdrpmi.dsl-w.verizon.net] has joined #webgui06:30
-!- mode/#webgui [+o tavisto] by ChanServ06:30
-!- tavisto [~tavisto@pool-71-186-22-44.gdrpmi.dsl-w.verizon.net] has quit [Quit: tavisto]06:39
-!- carogray [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has quit [Quit: Leaving.]06:45
-!- r3c4ll [~r3c4ll@190.75.114.103] has joined #webgui07:25
-!- scrottie [~scrottie@dsl01-ppp-5119.fastq.com] has quit [Ping timeout: 276 seconds]07:46
-!- perlDreamer [~colink@pool-173-50-255-102.ptldor.fios.verizon.net] has quit [Quit: Leaving.]07:50
-!- scrottie [~scrottie@dsl01-ppp-5119.fastq.com] has joined #webgui07:58
-!- scrottie [~scrottie@dsl01-ppp-5119.fastq.com] has quit [Ping timeout: 248 seconds]08:56
-!- scrottie [~scrottie@dsl01-ppp-5119.fastq.com] has joined #webgui09:09
-!- ryuu_ro [~rory@194.171.50.69] has joined #webgui09:38
-!- gugod [~gugod@114-32-222-155.HINET-IP.hinet.net] has quit [Ping timeout: 265 seconds]09:40
-!- gugod [~gugod@sh1.opcafe.net] has joined #webgui10:06
-!- daviddelikat [~user@h69-129-206-153.mdsnwi.broadband.dynamic.tds.net] has quit [Ping timeout: 240 seconds]10:11
-!- bartjol [~bartjol@kantoor.procolix.com] has joined #webgui12:44
-!- mode/#webgui [+v bartjol] by ChanServ12:44
-!- carogray [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has joined #webgui13:43
-!- daviddelikat [~user@h69-129-206-153.mdsnwi.broadband.dynamic.tds.net] has joined #webgui14:11
-!- daviddelikat [~user@h69-129-206-153.mdsnwi.broadband.dynamic.tds.net] has quit [Read error: Connection reset by peer]14:18
-!- daviddelikat [~user@h69-129-206-153.mdsnwi.broadband.dynamic.tds.net] has joined #webgui14:45
-!- stDavid [~stDavid@static-72-64-138-146.tampfl.fios.verizon.net] has joined #webgui15:07
-!- daviddelikat [~user@h69-129-206-153.mdsnwi.broadband.dynamic.tds.net] has quit [Read error: Connection reset by peer]15:37
-!- fokat [~lem@190.72.138.110] has joined #webgui15:45
-!- daviddelikat [~user@h69-128-106-50.mdsnwi.dedicated.static.tds.net] has joined #webgui16:14
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui16:30
-!- mode/#webgui [+o bopbop] by ChanServ16:30
SDuensinGreetings.16:42
+bartjolhowdy16:53
-!- ryuu_ro [~rory@194.171.50.69] has quit [Ping timeout: 252 seconds]17:30
-!- SVIFI [~svifi@5.datapartner.fi] has joined #webgui17:33
SVIFIa question: how to make table with invisible border in webgui default editor17:33
SVIFIwhatever style or border color/thickness/collapse etc I put it still is visible17:34
SVIFI?17:34
@preactionvisible in the editor? or on the page after you save it?17:34
SVIFIin the page afterwards17:34
@preactionyour page's stylesheet could be overriding the editor's settings17:35
SVIFIi edit HTML, and it seems like webgui overwrites some code which makes it visible again17:35
@preactionthat's also possible if you're using IE6 or 7, but i've only seen that for images17:35
SVIFIis there any way to exclude any preset stylsheet options for just one case?17:35
@preactionassign a class or an ID to the table and use CSS to select it like: <table id="whatever">...</table> <style type="text/css">#whatever { border: 0; padding: 0; margin: 0; border-spacing: 0; }17:36
@preactionthe <style> tag should go in the extra head tags block on the Metadata tab. if you can't see that, you need to raise your UI level17:37
SVIFIright, I have been experimenting with it already17:38
SVIFII will try ...17:38
SVIFIwith ID17:38
SVIFIhm17:39
SVIFIstill visible, in fact17:39
SVIFIwhen I set background-color: #FFFFFF; in style head tags17:40
@preactionrun your page through the validator, make sure your browser isn't caching, and if those fail then paste a URL here17:40
SVIFIthe lower part of border disappears, but higher one remains17:40
SVIFIhttp://www.datapartner.fi/en/customers/overview-by-industry17:42
SVIFIthis is the url with the table on top17:42
-!- perlDreamer [~colink@pool-173-50-255-102.ptldor.fios.verizon.net] has joined #webgui17:43
-!- mode/#webgui [+v perlDreamer] by ChanServ17:43
+perlDreamergood morning, everybody!17:43
SDuensinHey perlDreamer17:43
SVIFIgood evening, here17:43
@preactionSVIFI: your markup is invalid17:44
SDuensinAnd SVIFI and anyone else I missed.17:44
+perlDreamerSVIFI: I should have said, "TimeZone appropriate greeting"17:44
@preactionhttp://validator.w3.org/check?uri=http://www.datapartner.fi/en/customers/overview-by-industry&charset=(detect+automatically)&doctype=Inline&group=017:44
SVIFIoh btw17:45
@preactionSVIFI: and though you have border: 0px solid; you also have border-bottom: and border-right: which override that17:46
SVIFIi forgotten its not committed so you see old version17:46
@preactionfinally, you need to override the td style for the #_mc_tmp17:46
@preactionsomething like #_mc_tmp td { border: none }17:47
-!- tavisto [~tavisto@pool-71-186-22-44.gdrpmi.dsl-w.verizon.net] has joined #webgui17:51
-!- mode/#webgui [+o tavisto] by ChanServ17:51
+bartjolpreaction, are you ready for a dutch person in your home?17:55
@preactioncan one ever be truly ready for that?17:55
+bartjolnope17:56
@preactionplus you'll have to fight with frodwith for which sleeping arrangement is whose17:56
+bartjolwell, I suppose I have the last choice17:56
SVIFIpreaction thanks, the ID method worked with #id td {...}17:57
SVIFII appreciate it!17:57
@preactionnp, that's what we're here for17:57
-!- SVIFI [~svifi@5.datapartner.fi] has quit []18:05
+bartjolwhat, is the bug tracker not a support forum?18:49
@preactionnever has been, ha ha, never will18:49
+bartjoldarn, I just wanted to add all my issues from work to the tracker18:52
-!- bartjol [~bartjol@kantoor.procolix.com] has quit [Quit: Leaving.]19:28
-!- xootom [5eaba154@gateway/web/freenode/ip.94.171.161.84] has joined #webgui19:52
xootomanyone using the webgui shop? 19:54
@preactionyes19:54
xootomi'm just setting up a subscription, haven't used the shop stuff before, when i go to my cart the payment methods drop down is empty even though cash and paypal are set up and enabled19:55
xootomdo i need to do anything else?19:55
@preactioncash and paypal do not support recurring transactions19:55
@preactionpaypal will soon, but for now it's really only credit card for subscriptions19:55
xootomahh i see, can i stop the subscriptions recurring?19:55
@preactionnot that i'm aware of, i may have either planned out or written code for that too, but another bit of my code lost to the ages, like the sand in an hourglass19:56
xootomok i'll have a play anyway thanks19:57
scrottieyarrr.20:02
scrottieperlDreamer, I wasn't here, the computer was doing its own thing, and what happened to patspam?  bastard okay?20:04
scrottiehospital > morgue =|20:04
-!- xootom [5eaba154@gateway/web/freenode/ip.94.171.161.84] has quit [Quit: Page closed]20:08
+perlDreamerscrottie, apparently patspam has salmonella20:35
@preactionoh fun20:40
@bopbopperlDreamer: that page is ok now - I didn't mean to give my post a mad face20:51
+perlDreamerthat's cool.  I just hate to have you waiting for a fix20:51
@bopbopnah, all's good20:51
scrottiebrb.  store across the street.20:51
+perlDreamerthis SQL query fragment: http://gist.github.com/53565121:04
+perlDreamerseems like it's overkill21:04
+perlDreamerthe GROUP BY and HAVING clauses would be overridden by the ORDER clause21:04
@preactionno21:05
@preactionfirst they get grouped, then they get ordered21:05
@preactionso group by removes old revisions of assets21:05
@preactionorder by orders the remaining rows21:05
+perlDreamerwould it help to know that the query does not really return the latest version of the Posts?21:05
@preactionlimit 1 causes the whole thing to be unnecessary, but you never know when someone will change that21:06
SDuensinI think we've talked about this before, but has anyone implemented SSO with WebGUI?  As in, using WebGUI as the authority for users in other software?21:20
+perlDreamerSDuensin, there's an OpenID patch that can be applied to WebGUI 7.x21:22
+perlDreamerbut in 8 we'll be rewriting Auth, and integrating in OpenID21:22
+perlDreamerat least as a consumer, perhaps a supplier21:22
SDuensinNot really what I want.  I'd like a user to be able to sign in on my WebGUI site and then when they follow a link to a non-WebGUI item, carry the auth info along with them.21:22
@preactionwe don't have time to rewrite auth completely in 8, just smooth out some rough spots and refactor a bit21:23
SDuensinI did it once before, but it was horribly hackish.21:23
@preactionSDuensin: that sounds insecure. unless you're using an SSO system that shares tokens21:23
@preaction7.9 has Twitter-based auth. 7.10 will most likely have facebook auth21:23
SDuensinWell, see, that's kind of what I'm asking.  :-)21:23
SDuensinI was thinking of passing a GUID to the secondary site in the URL and then that site can query the WG database to match the GUID up with a user.  The GUID would only be valid for a few minutes.21:24
SDuensinI want to iframe some other stuff into my site and I don't want them to have to log in twice.21:25
@preactionlook at OAuth, that is most likely what you want21:26
@preactionbut you'd need to write the handlers yourself21:26
@preactionand that other site would need to handle oauth as well21:26
@preactionno matter what you're going to need something on that other site21:26
SDuensinThe other side is my code, so I can do that.21:27
SDuensinOAuth is kinda cool.  Seems overkill for what I need though.21:30
@preactionanyone else think we need a window.webgui JS object that has access to a bunch of stuff? like the current asset URL and junk?21:38
+perlDreameryou mean as opposed to getWebguiProperty from Session/Style.pm?21:40
@preactionright21:41
@preactiona better version of that21:42
+perlDreamerthat means changing a lot of templates21:42
@preactionthey actually use that instead of the ^Extras macro?21:44
@preactionit'd be nice to say "window.webgui.extras(fragment)", a set of real functions instead of that hacky crap21:47
@preactionjust like how the YAHOO global object works21:48
+perlDreamerI was wrong.  There are no core templates that use that21:49
@preactionyay!21:49
+perlDreamerbut there are bunch of core JS in www/extras21:49
@preactionyeah, that's easy to grep/replace though21:49
+perlDreamerack | xargs perl -pi -e ROCKS21:49
+perlDreamerhowever, now there's a conundrum21:50
+perlDreamerSomeone posted a SC bug about UTF-821:50
+perlDreamerI can fix it by removing a line21:50
+perlDreamerutf8::downgrade($value)21:50
+perlDreamerbut I don't know what will break if I do that21:50
@preactionif you don't know, that means we haven't tested enough :(21:51
+perlDreamerThere are no tests for that21:51
@preactionsadface21:51
+perlDreamerI'm very tempted to write a test for this, fix it, and wait for bug reports to roll in and to test and fix each one21:51
@preactionsince we can never seem to reliably reproduce, that may be what we need to do21:52
+perlDreamerHaarg: ping for historical context21:53
Haarg?21:55
+perlDreamerscrollback about SC, please21:55
Haarggive me a minute21:55
+perlDreamerDo you remember the history of the utf8::downgrade on line 173 of Asset/Wobject/SyndicatedContent.pm?21:56
+perlDreameralso, the good news is that I have a snapshot of the file that causes this bug to appear21:57
Haargdo you have the url as well?21:57
Haargsc issues depend on http headers as well21:58
+perlDreamerhttp://psv.netwerk.to/nieuws/rss.xml21:58
Haargthe issue has a few parts21:58
+perlDreamerI captured the headers when I downloaded it21:58
+perlDreamerit doesn't say that it's UTF8 encoded in the headers, only in the XML tag21:58
Haargencoding can be specified as an http header, in the mime type, or in the xml prolog21:59
Haargor sometimes is more than one of those places21:59
Haargwe use decoded_content22:01
Haargwhich will deal with the first two of those decoding parts22:02
Haargbut there are cases where it will 'decode' into utf8 even though it doesn't convert to characters22:04
Haargbut instead basically has the bytes but marked as utf822:04
Haargso the downgrade is basically supposed to attempt to convert the string into bytes, so that XML::FeedPP can deal with the encoding22:05
Haargbut obviously it sometimes doesn't work22:05
+perlDreamerlike this case22:05
Haargunfortunately i don't have the url that i was dealing with that led me to add that line22:05
Haargand when i attempted to make tests i couldn't get anything to work at all22:06
Haargthere are any number of possible messed up ways that the content could come back from LWP as, so we really need to have tests for those cases22:07
Haargbut it's even painful to get perl to generate stuff in those forms22:08
Haargand trying to debug it is hard because it isn't even easy to look at the contents of the strings22:08
+perlDreamerwhat do you think about my idea of breaking it, and waiting for people to submit more test cases?22:08
+perlDreamerre debug: I still want perl to tell me what the encoding is22:09
+perlDreamerbut I know it can't really do that22:09
Haargall perl has is the utf8 flag22:09
Haargwhich doesn't tell you the encoding, but does tell you how perl is handling it22:10
Haargand the fact that utf8 != UTF-8 doesn't help much22:10
+perlDreameryeah22:11
+perlDreamerso, if I'm going to go ahead with this idea about building tests, I really have to wash the data through LWP22:13
+perlDreamerwhich means setting up a small HTTP server so that LWP can suck it down, and then the SC can touch it22:13
Haargyou shouldn't need to run it through lwp22:13
Haargfor testing what is needed roughly is22:14
Haargcontent as bytes (utf8 off) content as characters (utf8 on) content with each byte as a character (utf8 on)22:15
Haarglatin1 as both latin1 and as UTF-822:16
Haargand something like russian22:17
Haargoh, and handing each of those to XML::FeedPP, sometimes with and sometimes without the xml prolog22:19
Haargor rather, sometimes with and sometimes without the encoding specified in the prologo22:19
Haargprobably also need stuff that is utf8-on but is actually ISO-8859-522:20
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has quit [Quit: bye]23:08
-!- r3c4ll [~r3c4ll@190.75.114.103] has quit [Ping timeout: 240 seconds]23:35
--- Log closed Wed Aug 18 23:58:32 2010
--- Log opened Thu Aug 19 00:26:29 2010
-!- stDavid [~stDavid@static-72-64-138-146.tampfl.fios.verizon.net] has quit [Quit: zzzzzzzzzz]00:26
@preactionit's cool that git lets me commit locally, but that doesn't lend itself to fun discussions here about my commits00:36
-!- daviddelikat [~user@h69-128-106-50.mdsnwi.dedicated.static.tds.net] has quit [Read error: Connection reset by peer]00:49
scrottierun your own bot like CIA-60 locally =)00:51
@preactioni could write a commit hook that would spam #webgui00:52
@preaction