--- 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 #webgui | 12:36 |
-!- scrottie [~scrottie@dsl01-ppp-5119.fastq.com] has joined #webgui | 13:40 |
-!- mode/#webgui [+o scrottie] by ChanServ | 13: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 #webgui | 14: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 #webgui | 15:52 |
-!- mode/#webgui [+v bartjol] by ChanServ | 15:52 |
SDuensin | Morning. | 16:09 |
+bartjol | hi | 16:24 |
SDuensin | Hey bartjol | 16:25 |
+bartjol | what's up? | 16:26 |
+bartjol | I'm only upgrading WebGUI | 16: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 #webgui | 16:39 |
-!- mode/#webgui [+o khenn] by ChanServ | 16: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 #webgui | 17:19 |
-!- stDavid [~stDavid@166.137.10.74] has quit [Read error: Connection reset by peer] | 17:43 |
-!- perlmonkey2 [~perlmonke@m3c5636d0.tmodns.net] has joined #webgui | 17:55 |
-!- mode/#webgui [+v perlmonkey2] by ChanServ | 17:55 |
+perlmonkey2 | why didn't 8 go with an orm? | 17:56 |
+perlmonkey2 | if 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 #webgui | 18:02 |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 18:02 |
+perlmonkey2 | hey perlDreamer | 18:05 |
+perlDreamer | hi, perlmonkey2! | 18:05 |
+perlDreamer | good to see you back to visit! | 18:05 |
+perlDreamer | how are things? | 18:05 |
+perlmonkey2 | perlDreamer what r u up to these days? | 18:07 |
+perlmonkey2 | fine. working for the man these days :( | 18:07 |
+perlDreamer | perlmonkey2, it's good to have any job these days | 18:07 |
* perlDreamer is working on WebGUI 8 | 18:07 |
+perlmonkey2 | bah corp jobs r easy to get cause no one with talent wants one. | 18:08 |
+perlmonkey2 | 8 looks like a lot of fun. i missed the boat on it as i was playing with gae and nosql. | 18:09 |
+perlDreamer | what's gae? | 18:09 |
+perlDreamer | and there's still plenty to do on 8, if you're interested | 18:09 |
+perlmonkey2 | but gae had free hosting for clients. hard to beat | 18:09 |
+perlDreamer | http://www.webgui.org/8 | 18:09 |
+perlDreamer | just pick a ticket | 18:10 |
* perlDreamer gets called for breakfast | 18:12 |
+perlmonkey2 | looked it over last night. might pock up a ticket tonight. | 18:13 |
+perlmonkey2 | google app engine | 18:13 |
+perlmonkey2 | looks loke most of 8 is done | 18:13 |
+bartjol | well perlmonkey2 I believe there is still some work to do | 18:34 |
+bartjol | like making assets editable | 18:34 |
+perlDreamer | that's happening right now, bartjol | 18:36 |
+perlDreamer | preaction and scrottie are working on it | 18:36 |
+bartjol | a, very good | 18:38 |
+bartjol | that feature sucked | 18:38 |
* perlDreamer goes to the gym, happy in the knowledge that bartjol is now pleased with WebGUI 8 | 18:41 |
+bartjol | well, off to my laundry | 18: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 #webgui | 18:53 |
-!- mode/#webgui [+v perlmonkey2] by ChanServ | 18:53 |
-!- daviddelikat [~user@h69-129-206-153.mdsnwi.broadband.dynamic.tds.net] has joined #webgui | 18:55 |
@preaction | have we mined Krang for ideas? i'm reading this blog post and it seems to be very WebGUI-like | 19:20 |
+perlDreamer | what's the link to Krang? | 19:49 |
@preaction | http://proudtouseperl.com/ | 19:50 |
+perlDreamer | Krang is more like Bricolage then WebGUI, from what I remember | 19:50 |
+perlDreamer | it's for publishing, not really applications | 19:51 |
@preaction | ah | 19:51 |
@preaction | i 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 activity | 19:52 |
+perlDreamer | I've noticed that across the board | 19:53 |
+perlDreamer | less forum activity | 19:53 |
@preaction | yeah | 19:53 |
+perlDreamer | fewer bug postings, less karma activity | 19:53 |
+perlDreamer | less IRC chatter | 19:53 |
@preaction | i'm also thinking people are waiting in breathless anticipation of 8, probably fearing a repeat of 7.0 | 19:53 |
@preaction | well, we've got some new faces / evangelists | 19:53 |
+perlDreamer | preaction, maybe we need a WebGUI post on proudtouseperl, to complement the Krang post? | 19:54 |
@preaction | JT'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 |
@preaction | note the date on that post: May 2009 | 19:54 |
+perlDreamer | what's JT worried about? | 19:56 |
@preaction | the lack of activity, the seeming lack of interest. perhaps the stigma of the WebGUI name | 19:57 |
@preaction | i think we've just bitten off a huge chunk and while we chew we can't be biting other stuff | 19:57 |
@preaction | but then, as the showrunner, it's my job to have the optimism and ambition to spread around the project | 19:57 |
-!- perlmonkey2 [~perlmonke@m3c5636d0.tmodns.net] has quit [Read error: Connection reset by peer] | 19:59 |
-!- perlmonkey2 [~perlmonke@m3c5636d0.tmodns.net] has joined #webgui | 19:59 |
-!- mode/#webgui [+v perlmonkey2] by ChanServ | 19:59 |
+perlDreamer | preaction maybe we should try to get a post on the new perl.com, instead | 19:59 |
+perlDreamer | they just relaunched | 20:00 |
@preaction | but 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 |
@preaction | er... what's $recordCount inside the ProgressBar? | 20:01 |
@preaction | it doesn't look like it's ever used | 20:01 |
+perlDreamer | iirc, 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 width | 20:01 |
@preaction | there was an ( if counter > 600 { counter = 0 } ) code in there | 20:02 |
+perlDreamer | oh, I bet that was meant to (but apparently doesn't) set a different maximum width | 20:02 |
+perlDreamer | instead of being fixed at 600 | 20:02 |
@preaction | i'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 |
@preaction | ahh | 20:03 |
+perlDreamer | how can you know the percentages beforehand? | 20:03 |
+perlDreamer | take purge, for example, or anything which has to work hierarchially | 20:04 |
@preaction | getDescendantCount | 20:04 |
+perlDreamer | or the number of photos in a zip archive | 20:04 |
@preaction | "open the zip archive", "load it into a folder", "load individual photos". <- three "tasks" | 20:04 |
+perlDreamer | progressBar should be converted to Moose, too | 20:05 |
-!- perlmonkey2 [~perlmonke@m3c5636d0.tmodns.net] has quit [Read error: Connection reset by peer] | 20:05 |
-!- perlmonkey2 [~perlmonke@m4c5636d0.tmodns.net] has joined #webgui | 20:05 |
-!- mode/#webgui [+v perlmonkey2] by ChanServ | 20:05 |
CIA-61 | webgui: Doug Bell WebGUI8 * r6081ea3 / lib/WebGUI/ProgressBar.pm : | 20:09 |
CIA-61 | webgui: fix progressbar to work inside new admin console | 20:09 |
CIA-61 | webgui: This is a horrible hack and needs to be fixed to shore up the | 20:09 |
CIA-61 | webgui: ProgressBar's API before API freeze - http://bit.ly/9khH83 | 20:09 |
CIA-61 | webgui: Doug Bell WebGUI8 * r69bd44b / share/upgrades/7.9.10-8.0.0/admin_progress_bar.wgpkg : add new progressbar template - http://bit.ly/bs62RQ | 20:09 |
CIA-61 | webgui: Doug Bell WebGUI8 * rcbb8c0e / lib/WebGUI/ProgressBar.pm : add docs and total() accessor - http://bit.ly/cV8m8v | 20:09 |
CIA-61 | webgui: Doug Bell WebGUI8 * r8bd28e1 / lib/WebGUI/AssetHelper/Copy.pm : | 20:09 |
CIA-61 | webgui: update Copy to work with ProgressBar and streaming | 20:09 |
CIA-61 | webgui: ProgressBar needs to handle streaming itself. When it does, all | 20:09 |
CIA-61 | webgui: AssetHelpers that use ProgressBar will need to remove their own | 20:09 |
CIA-61 | webgui: streaming handlers and just use ProgressBar's - http://bit.ly/cSb0AY | 20:09 |
@preaction | ok, what the hell makes it choose between showing every commit and just showing the result of the push? | 20:10 |
+perlDreamer | CIA is constipated | 20:16 |
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui | 20:22 |
-!- mode/#webgui [+o bopbop] by ChanServ | 20: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 #webgui | 20:36 |
-!- mode/#webgui [+v perlmonkey2] by ChanServ | 20: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 #webgui | 20:49 |
-!- mode/#webgui [+v perlmonkey2] by ChanServ | 20:49 |
-!- fokat [~lem@190.72.138.110] has joined #webgui | 20:53 |
CIA-61 | webgui: Doug Bell WebGUI8 * rb8905ed / lib/WebGUI/AssetHelper/Cut.pm : cut AssetHelper now works (+7 more commits...) - http://bit.ly/9qX2Yx | 20:55 |
-!- perlmon19 [~perlmonke@m365636d0.tmodns.net] has joined #webgui | 20:57 |
-!- perlmonkey2 [~perlmonke@m465636d0.tmodns.net] has quit [Read error: Connection reset by peer] | 20:57 |
-!- perlmonkey2 [~perlmonke@m465636d0.tmodns.net] has joined #webgui | 21:01 |
-!- mode/#webgui [+v perlmonkey2] by ChanServ | 21:01 |
-!- perlmon19 [~perlmonke@m365636d0.tmodns.net] has quit [Read error: Connection reset by peer] | 21:01 |
-!- perlmon82 [~perlmonke@m365636d0.tmodns.net] has joined #webgui | 21: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 |
@scrottie | http://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 |
@preaction | ha, nice | 21:26 |
+perlDreamer | lunch break | 21:57 |
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has quit [Quit: bye] | 22:34 |
@preaction | if we can Lock an asset, how does one Unlock one? | 22:37 |
+perlDreamer | good question | 22:38 |
-!- scrottie [~scrottie@dsl01-ppp-5119.fastq.com] has quit [Ping timeout: 248 seconds] | 22:38 |
+perlDreamer | technically, you can't lock an Asset | 22:39 |
+perlDreamer | an asset is locked when it's edited by someone outside of your current versiontag | 22:39 |
@preaction | right, you just add a revision | 22:39 |
@preaction | but if autocommit is turned on, i never join a version tag | 22:39 |
+perlDreamer | then it would only show as locked while it's being edited by another user, for a very short period of time | 22:39 |
+perlDreamer | until they hit save | 22:39 |
-!- fokat [~lem@190.72.138.110] has quit [Quit: Ex-Chat] | 23:38 |
-!- scrottie [~scrottie@70.96.30.143] has joined #webgui | 23:40 |
-!- mode/#webgui [+o scrottie] by ChanServ | 23:40 |
-!- carogray [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has quit [Quit: Leaving.] | 23:46 |
+perlDreamer | scrottie, you feeling a little schizophrenic today? | 23:46 |
@scrottie | who me? | 23:47 |
scrottie0 | never! | 23:47 |
+perlDreamer | classic case if even I've seen one | 23:47 |
+perlDreamer | probably happened at DEFCON | 23:47 |
+perlDreamer | it looks like a machine that gives a free haircut, but once the bowl is over your head... | 23:48 |
@scrottie | if you've ever suspected that friend-of-a-friend is a coke head, go to DEFCON. you'll find out. | 23:48 |
@scrottie | and haircuts were $15 >=) | 23:49 |
-!- fokat [~lem@190.72.138.110] has joined #webgui | 23:49 |
@scrottie | was getting cabin fever so I relocated to a Tempe coffee shop. | 23:51 |
CIA-61 | webgui: Scott Walters WebGUI8 * r13c27bc / lib/WebGUI/Exception.pm : | 23:52 |
CIA-61 | webgui: Fix bad interaction with Test::Class: | 23:52 |
CIA-61 | webgui: "Operation "eq": no method found, left argument in overloaded package WebGUI::Error..." - http://bit.ly/9b6Lw2 | 23:52 |
@scrottie | they only had one style though: http://www.flickr.com/photos/sportsaction/4847526134/ | 23:56 |
@scrottie | oh, I spent some time with this baby: http://www.flickr.com/photos/blackfeathers/4856839203/ | 23:56 |
--- Day changed Thu Aug 05 2010 |
@scrottie | http://www.flickr.com/photos/itstactical/4844180827/ # last one, I swear... $15 mohawks for EFF dispensed right in middle of the contest room | 00:01 |
-!- scrottie [~scrottie@70.96.30.143] has quit [Ping timeout: 265 seconds] | 00:54 |
-!- scrottie [~scrottie@70.96.30.143] has joined #webgui | 01:08 |
-!- mode/#webgui [+o scrottie] by ChanServ | 01: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-61 | webgui: Doug Bell WebGUI8 * r1b0ec95 / (5 files in 2 dirs): New Content pane is working (+5 more commits...) - http://bit.ly/bDvJRX | 01: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 #webgui | 02:53 |
knowmad | whoa, it's a small crowd tonite; anyone hanging around? | 02:54 |
-!- perlmonkey2 [~perlmonke@96.18.42.134] has joined #webgui | 02:57 |
-!- mode/#webgui [+v perlmonkey2] by ChanServ | 02: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 #webgui | 03:22 |
-!- daviddelikat [~user@h69-129-206-153.mdsnwi.broadband.dynamic.tds.net] has joined #webgui | 03:33 |
-!- scrottie [~scrottie@dsl01-ppp-5119.fastq.com] has joined #webgui | 03:40 |
-!- mode/#webgui [+o scrottie] by ChanServ | 03: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 #webgui | 04:32 |
@scrottie | boy 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-61 | webgui: 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/afrjvV | 05:20 |
-!- perlDreamer [~colink@198.236.242.3] has joined #webgui | 05:21 |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 05:21 |
@scrottie | how was the zoo? | 05:23 |
+perlDreamer | I'm still here! The zoo concert area has wifi | 05:29 |
@scrottie | sounds like one happenin' place | 05:30 |
-!- stDavid [~stDavid@72-255-12-231.client.stsn.net] has joined #webgui | 05:31 |
@scrottie | way 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 |
+perlmonkey2 | Get Froyo and you don't need public wifi anymore. | 05:40 |
-!- stDavid [~stDavid@72-255-12-231.client.stsn.net] has joined #webgui | 05:41 |
+perlDreamer | perlmonkey2, isn't Froyo frozen yogurt? | 05:41 |
+perlmonkey2 | I mean the Froyo made from bits. | 05:41 |
+perlmonkey2 | Android 2.2 | 05:42 |
+perlmonkey2 | I take my wifi hotspot/tether with me every where :P | 05:42 |
+perlDreamer | Did I mention that the zoo also sells beer, wine, and elephant ears? | 05:58 |
+perlDreamer | of course, 2 of those are not very conducive to good programming, so I didn't buy any wine or elephant ears | 06:08 |
+perlDreamer | and my wife is in nursing school, so I didn't buy any beer either | 06:08 |
-!- stDavid_ [~stDavid@mobile-166-137-137-228.mycingular.net] has joined #webgui | 06:10 |
+perlmonkey2 | perlDreamer: what does nursing school have to do with beer? | 06:10 |
+perlDreamer | it's really expensive | 06:10 |
+perlDreamer | beer consumption has dropped 100% since she started | 06:11 |
+perlDreamer | which means I haven't bought any beer this year yet | 06:11 |
-!- stDavid [~stDavid@72-255-12-231.client.stsn.net] has quit [Ping timeout: 265 seconds] | 06:12 |
+perlmonkey2 | I am dumbfounded | 06:12 |
+perlDreamer | I thought you were Oklahoman | 06:12 |
+perlmonkey2 | What is life without beer. Empty and desolate. | 06:12 |
-!- stDavid_ is now known as stDavid | 06:12 |
+perlDreamer | less filling? | 06:12 |
+perlmonkey2 | Without beer, there is no hope, little chance at love. We can not be surprised, nor feel joy. | 06:13 |
+perlDreamer | you're a little over the top there, dude | 06:14 |
+perlDreamer | how's the great windmill project of 2009 progressing? | 06:14 |
+perlmonkey2 | Yeah, I don't think that played as funny over IRC as it was in my head. | 06:15 |
+perlDreamer | oh no, it was great, but it made you sound lonely and desperate | 06:16 |
+perlmonkey2 | hah, 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 |
+perlDreamer | and THAT will definitely affect your chances of love | 06:16 |
+perlmonkey2 | hah | 06:16 |
-!- stDavid [~stDavid@mobile-166-137-137-228.mycingular.net] has quit [Ping timeout: 258 seconds] | 06:16 |
+perlDreamer | likely because your wife is likely to whack you with a spare arc-welder | 06:17 |
+perlmonkey2 | I did end up getting a welder. And its turned out to be way handier than I ever would have thought. | 06:18 |
+perlDreamer | that's cool | 06:18 |
+perlmonkey2 | Did you know I started raising livestock? Goats so far. But hope to mix in cattle someday. | 06:18 |
+perlDreamer | I didn't know that. | 06:18 |
+perlDreamer | Are they tasty? Do they go crunch? | 06:18 |
+perlmonkey2 | I can't bring myself to eat one. | 06:19 |
+perlmonkey2 | They have personalities and are pretty smart. | 06:19 |
+perlDreamer | yeah, I've tried some goat curry at a local indian restaurant. It's not as good as sheep. | 06:20 |
+perlmonkey2 | Which is why I want to move to cattle. | 06:20 |
+perlDreamer | but sheep are dumb, too | 06:20 |
+perlDreamer | they program in Atari BASIC | 06:20 |
+perlmonkey2 | hah | 06:20 |
+perlDreamer | I hear goats are into Ruby, or Squeak | 06:20 |
@scrottie | hey! | 06:20 |
+perlDreamer | there's one now... | 06:20 |
@scrottie | next you'll be making remarks about my odor. | 06:21 |
+perlDreamer | scrottie, Arizona is downwind from Oregon, I'd never know | 06:21 |
+perlmonkey2 | oh 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 |
+perlDreamer | later, dude | 06:22 |
+perlDreamer | scrottie, no offense intended, personally to you, goats, or ruby and squeak hackers | 06:22 |
+perlDreamer | but sheep are dumb! | 06:22 |
@scrottie | that was in response to AtariBASIC, actually. | 06:23 |
@scrottie | which 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.php | 06:23 |
-!- stDavid [~stDavid@mobile-166-137-137-228.mycingular.net] has joined #webgui | 06:24 |
@scrottie | wait, 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 #webgui | 06:34 |
-!- stDavid_ [~stDavid@72-255-12-231.client.stsn.net] has quit [Client Quit] | 06:35 |
+perlDreamer | preaction, in addition to .rss for dispatch, I also want .login, and .switchAdminOn | 06:36 |
-!- stDavid [~stDavid@mobile-166-137-137-228.mycingular.net] has quit [Ping timeout: 258 seconds] | 06:36 |
+perlDreamer | .edit would be nice, too | 06:37 |
+perlDreamer | and, of course, to complement .rss, we need .rdf and .atom | 06:37 |
+perlDreamer | Calendar needs .ical | 06:37 |
+perlDreamer | ooh, and think about .wgkpg! | 06:38 |
+perlDreamer | export any asset as a package, right as a URL | 06:38 |
+perlDreamer | time to pack up and go home, folks | 06: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-61 | webgui: 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/d4Eeus | 07:40 |
-!- kaare [~kaare@langebro.adapt.dk] has joined #webgui | 08:37 |
-!- kaare is now known as Guest44900 | 08:38 |
-!- Guest44900 is now known as kaare_ | 08:59 |
-!- bartjol [~bartjol@kantoor.procolix.com] has joined #webgui | 10:32 |
-!- mode/#webgui [+v bartjol] by ChanServ | 10:32 |
@scrottie | hrm. 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 |
@scrottie | is this a bug? who knows where that template went or what should be used in its place? | 10:42 |
@scrottie | the 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.state | 10:44 |
@scrottie | the 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 |
+bartjol | oh | 10:56 |
+bartjol | let me have a loog whether it is in my db | 10:56 |
+bartjol | nope | 11:01 |
+bartjol | I think this is a bug | 11:02 |
+bartjol | scrottie | 11:03 |
@scrottie | preaction and/or perlDreamer will know what to do! All I have to do is stay alive until morning. | 11:03 |
@scrottie | heya bartjol | 11:03 |
+bartjol | it is in the upgrade scripts | 11:03 |
@scrottie | oh, hmm. let's see. | 11:03 |
+bartjol | upgrades/upgrade_7.7.15-7.7.16.pl: [ qw/PBnav00000000000bullet PBtmpl0000 000000000048/ ] ##Bulleted List <- Vertical Menu | 11:03 |
+bartjol | and some others | 11:03 |
+bartjol | isn't that template working group stuff? anyway, I think it should be replace by the PBnav00000000000bullet assetId | 11:05 |
+bartjol | which does exist in my db | 11:05 |
@scrottie | I'm naively guessing that it's still a bug that the template isn't in the create.sql in master. | 11:06 |
+bartjol | well | 11:06 |
@scrottie | or a bug that it isn't PBnav00000000000bullet =) | 11:06 |
+bartjol | well, one of both | 11:07 |
+bartjol | but, I seem to remember that the veritcalmenu template was replaced | 11:07 |
@scrottie | I suppose I should go actually look at these, but right now, they're just names... symbols... to me. | 11:08 |
+bartjol | nop, it is in Navigation.pm | 11:09 |
+bartjol | the template should have been (and has been) purged | 11:09 |
@scrottie | "it is in Navigation.pm"... pardon, what is in there? | 11:12 |
* scrottie looks in the git log | 11:12 |
+bartjol | oh, I suppose the default template | 11:13 |
+bartjol | :/data/WebGUI/docs$ grep -R PBtmpl0000000000000048 ../lib/WebGUI | 11:13 |
+bartjol | ../lib/WebGUI/Asset/Wobject/Navigation.pm: defaultValue => 'PBtmpl0000000000000048' | 11:13 |
+bartjol | ok, since you should be sleeping, I'll get it in the right order | 11:13 |
@scrottie | heh | 11:14 |
+bartjol | the default template in navigation.pm is PBtmpl0000000000000048 | 11:14 |
+bartjol | this does not exist | 11:14 |
@scrottie | I'm rather fond of this time of night =) | 11:14 |
+bartjol | becaude it has been removeed in 7.7.16 | 11:14 |
@scrottie | good detective work. | 11:14 |
@scrottie | "in there" = in the upgrade script. makes sense now. | 11:15 |
+bartjol | so, the bug is not that the template does not exist, but that there is a reference to the template | 11:15 |
@scrottie | I wouldn't have thought to check out old versions to snoop through upgrade scripts. | 11:15 |
@scrottie | yup. | 11:15 |
+bartjol | I only checked the upgrade scripts | 11:15 |
@scrottie | it looks like that affects master as well as WebGUI8. new tests for WebGUI triggered that problem. | 11:16 |
+bartjol | well, this bug has been there too long | 11: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 #webgui | 11:17 |
+bartjol | scrottie if you want to blame people: http://www.webgui.org/use/bugs/tracker/10665 :P | 11:18 |
@scrottie | simple mistakes aren't worthy of blame. I reserve blame for particularly short-sighted, hastily written, ugly-on-ugly code. | 11:19 |
+bartjol | oh, like the setlanguage stuff | 11:20 |
+bartjol | well, but this is one more bug resolved, before it got reported | 11:21 |
@scrottie | you've got my permission to patch it, or I'm happy to do so. either way. you figured it out. | 11:22 |
+bartjol | my git repo is a bit scrwed up | 11:22 |
+bartjol | so please, go ahead | 11:23 |
@scrottie | heh, okay. I like to keep three or four repos laying around =) | 11:23 |
+bartjol | anything else? | 11:25 |
@scrottie | I 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 |
+bartjol | don't forget to put it in the chagelog | 11:26 |
@scrottie | righto. | 11:26 |
+bartjol | well, I just started working, it is 10.30 am | 11:27 |
CIA-61 | webgui: Scott Walters master * rb70ad2e / (2 files in 2 dirs): WebGUI/Asset/Wobject/Navigation.pm was still using obsolete template PBtmpl0000000000000048 - http://bit.ly/9vpkZZ | 11:55 |
CIA-61 | webgui: Scott Walters WebGUI8 * r7a56c72 / lib/WebGUI/Asset/Wobject/Navigation.pm : | 11:55 |
CIA-61 | webgui: WebGUI/Asset/Wobject/Navigation.pm was still using obsolete template PBtmpl0000000000000048 | 11:55 |
CIA-61 | webgui: Fixes #11765 - http://bit.ly/aFSoud | 11:55 |
@scrottie | hrmmrm. | 11:57 |
CIA-61 | webgui: Scott Walters master * r6a09708 / (2 files in 2 dirs): | 12:01 |
CIA-61 | webgui: WebGUI/Asset/Wobject/Navigation.pm was still using obsolete template PBtmpl0000000000000048. | 12:01 |
CIA-61 | webgui: Fixes #11765. - http://bit.ly/9A5E2Q | 12:01 |
+bartjol | hrmmrm? | 12:11 |
@scrottie | redo. forgot the "fixes #" bit. | 12:12 |
+bartjol | ah | 12:14 |
-!- scrottie [~scrottie@dsl01-ppp-5119.fastq.com] has quit [Ping timeout: 245 seconds] | 12:16 |
scrottie0 | yup. think I'm going to keep this $1/day prepaid wireless data service. | 12:44 |
* scrottie0 sighs | 12:44 |
scrottie0 | alright, good night / good day. | 12:47 |
+bartjol | goodnight | 13:03 |
-!- daviddelikat [~user@h69-129-206-153.mdsnwi.broadband.dynamic.tds.net] has joined #webgui | 14: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 #webgui | 14: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 #webgui | 15: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 #webgui | 16:07 |
-!- MrHairgrease [~martin@194.171.50.69] has joined #webgui | 16:17 |
-!- mode/#webgui [+v MrHairgrease] by ChanServ | 16:17 |
SDuensin | Greetings. | 16:17 |
+MrHairgrease | Greasings! | 16:17 |
+MrHairgrease | preaction, are you there? | 16:21 |
-!- perlDreamer [~colink@pool-173-50-255-102.ptldor.fios.verizon.net] has joined #webgui | 16:21 |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 16:22 |
+MrHairgrease | oh colin | 16:22 |
+MrHairgrease | just the guy I'm looking for | 16:22 |
+MrHairgrease | =) | 16:22 |
+MrHairgrease | Do you have time? | 16:22 |
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has joined #webgui | 16:25 |
-!- zylopfa [~zylopfa@0x555116f0.adsl.cybercity.dk] has joined #webgui | 16: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 #webgui | 16: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 #webgui | 17:01 |
-!- ckotil [~ckotil@snare.grnoc.iu.edu] has joined #webgui | 17:12 |
+perlDreamer | I have a little time, what's up sir? | 17:22 |
+MrHairgrease | oh, I found a performance hog | 17:29 |
+MrHairgrease | problem is in getContentLastModified in Folder | 17:29 |
+MrHairgrease | that is calling the same method on it's children | 17:29 |
+perlDreamer | it has to do that, so that it can tell any containers of the Folder itself | 17:30 |
+perlDreamer | Layouts work the same way | 17:30 |
+MrHairgrease | which becomes a problem if those children children are folders as well | 17:30 |
+MrHairgrease | and their childrens | 17:30 |
+MrHairgrease | etc | 17:30 |
+MrHairgrease | it only needs to recurse one level deep | 17:30 |
+MrHairgrease | but goes al the way down | 17:30 |
+MrHairgrease | compare these numbers | 17:30 |
+MrHairgrease | before: | 17:30 |
+MrHairgrease | Profile of run_fotoalbum.pl for 64.8s, executing 11022136 statements and 2622879 subroutine calls in 412 source files and 106 string evals. | 17:31 |
+MrHairgrease | After: | 17:31 |
+MrHairgrease | Profile of run_fotoalbum.pl for 4.64s, executing 587621 statements and 149525 subroutine calls in 412 source files and 106 string evals. | 17:31 |
+MrHairgrease | brb phone | 17:31 |
+perlDreamer | me, too | 17:31 |
-!- stDavid [~stDavid@166.137.8.41] has joined #webgui | 17:33 |
+MrHairgrease | ok back | 17:43 |
+MrHairgrease | anyway | 17:43 |
+perlDreamer | still on phone | 17:43 |
+perlDreamer | what's the diff between before/after | 17:44 |
+MrHairgrease | the after case was after chcanging the method in folder as follows | 17:44 |
+MrHairgrease | http://webgui.pastebin.com/2wbWVFYn | 17:44 |
+MrHairgrease | very very crude | 17:44 |
+MrHairgrease | but at least a proof of oncept | 17:45 |
+MrHairgrease | btw. most time in the after case is consumed by JSON, for reading the config fiel etc. | 17:45 |
+MrHairgrease | I'm running this from an utility script | 17:45 |
+MrHairgrease | and the folder on which I run it contains many subfolders and ~ 12k image assets below it | 17:46 |
+MrHairgrease | not directly of course | 17:46 |
+perlDreamer | yeah, in a hierarchy | 17:46 |
ckotil | i might be onto a bug where search asset isn't indexing the sql report asset | 17:47 |
+MrHairgrease | anyway. This also affects page layouts with a lot of descendants. | 17:47 |
+perlDreamer | MrHairgrease, I think a better fix would be to check to see if the child asset is a container | 17:48 |
+perlDreamer | and if it's a container, it should ony check the revisionDate | 17:48 |
+perlDreamer | instead of getContentLastModified | 17:48 |
+MrHairgrease | seems reasionable | 17:48 |
+MrHairgrease | except | 17:48 |
+MrHairgrease | that Layout::getContentLastModified calls super for finding mtime | 17:48 |
+MrHairgrease | which returns lastModified | 17:48 |
+MrHairgrease | which is (I guess) different from revisionDate | 17:49 |
+MrHairgrease | right? | 17:49 |
+MrHairgrease | I agree that the stow 'solution' is real bad | 17:49 |
+perlDreamer | could be, yes. In any case, checking a container shouldn't make it recurse, which ever date is called | 17:49 |
+MrHairgrease | but its only purpose was to see whether that was the performance issue | 17:50 |
+perlDreamer | yeah, and it definitely helped you find it! | 17:50 |
+MrHairgrease | no | 17:50 |
+MrHairgrease | that was Devel::NYTProf | 17:50 |
+MrHairgrease | getLineage being called 40000+ times smelled somewhat funny =) | 17:51 |
ckotil | demo webgui site is able to search sql report asset. dunno why my site doesnt seem to do the same. | 17:51 |
+MrHairgrease | I'll fix this issue either tomorrow or somewhere next week | 17:51 |
+bartjol | ckotil: so except for your site, have you seen it somewhere else? | 17:52 |
ckotil | no | 17:52 |
+bartjol | anything in logs about it? | 17:52 |
ckotil | not that ive seen | 17:53 |
+bartjol | mmm, getting harder to find then | 17:55 |
ckotil | bartjol: would errors indexing this asset appear in webgui.log? | 17:56 |
+bartjol | strange, it is not in my selectlist of asset types to search in the search asset | 17:57 |
+bartjol | well, it can be that they can't get instantiated | 17:57 |
ckotil | yeah, for my search asset, i dont have anythinkg checked | 17:57 |
+bartjol | that would give an error | 17:57 |
ckotil | but that's how it is on the demo site too | 17:57 |
+bartjol | and it is inder the search root? | 17:58 |
+bartjol | just for certainty | 17:58 |
ckotil | yes | 17:58 |
ckotil | well actually | 17:58 |
ckotil | no | 17:59 |
ckotil | !! that was the issue. damn | 17:59 |
ckotil | sorry about that | 17:59 |
ckotil | iirc, 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 it | 17:59 |
+perlDreamer | no, you really don't want users seeing hits on Templates | 18:00 |
+bartjol | ah | 18:00 |
+perlDreamer | and internal snippets and navs ans stuff | 18:00 |
+bartjol | not necessary indeed | 18:00 |
+bartjol | this is the good kind of paranoia | 18:00 |
+bartjol | so, bug fixed? :) | 18:01 |
ckotil | the reason my sql report asset wasnt included in the search is because it had a different base URL | 18:01 |
+perlDreamer | base URL won't matter, only position in the hierarchy | 18:01 |
+bartjol | lineage++ | 18:01 |
ckotil | ok lemme verify that this asset is actually in the correct lineage | 18:02 |
ckotil | ahh | 18:02 |
ckotil | tis not. | 18:02 |
* ckotil smacks his forehead | 18:02 |
+bartjol | np | 18:02 |
ckotil | our 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 |
ckotil | and i never caught it. excellent. | 18:03 |
ckotil | thanks guys | 18:03 |
+bartjol | well, a fresh look helps | 18:03 |
ckotil | definately | 18:04 |
+perlDreamer | bartjol++ | 18:05 |
+bartjol | yeah, scrottie had a long night and helped him too this morning | 18:07 |
+bartjol | something with references to old templateId's | 18:08 |
+bartjol | oh, perlDreamerdid we have an appointment for the hackathon, I don't remember. Something tells me you were going to help me with something | 18:09 |
+perlDreamer | I saw that commit this morning | 18:09 |
+perlDreamer | at first, it confused me a little because it wasn't backported to 7.8 | 18:09 |
+perlDreamer | but then i remembered that there's no more 7.8 after last tuesday | 18:10 |
+perlDreamer | 7.9 will be stable on Tuesday | 18:10 |
+bartjol | yeah, he found out that it was wrong | 18:10 |
+bartjol | ow | 18:10 |
+perlDreamer | ow? | 18:10 |
+bartjol | that might be a problem with shop sites | 18:10 |
+perlDreamer | how come? | 18:10 |
+bartjol | mainly paydrivers | 18:11 |
+bartjol | custom | 18:11 |
+perlDreamer | yes, they'll need to be upgraded | 18:11 |
+bartjol | and template | 18:11 |
+bartjol | joeri did the ideal driver | 18:11 |
+perlDreamer | really? what is it? | 18:11 |
+bartjol | the template? well, the build is just a bit different | 18:12 |
+bartjol | build is a strange word in this context | 18:12 |
+perlDreamer | I mean, what's the ideal paydriver? | 18:12 |
+bartjol | the looping through the item is different, so we have to redo that | 18:12 |
+bartjol | oh | 18:12 |
+bartjol | http://www.ideal.nl/?lang=eng-GB | 18:13 |
+perlDreamer | oh, i see. not "ideal" as in perfect, ideal as in company name | 18:13 |
+bartjol | I think it is native dutch | 18:13 |
+bartjol | off course programs the ideal paydriver | 18:13 |
+bartjol | insert joeri into last comment | 18:14 |
+bartjol | that's how they program at oqapi, bugfree | 18:14 |
+perlDreamer | uh huh, guaranteed "bugfree" | 18:15 |
+bartjol | they call it feature-rich | 18:15 |
+perlDreamer | I know the shop changes are painful, but hopefully the benefit of having a 2-page checkout will outweigh that | 18:18 |
+perlDreamer | the paydriver changes are pretty trivial | 18:19 |
+perlDreamer | but the template changes are not | 18:19 |
+bartjol | I agree that the cheking out has improved | 18:20 |
+bartjol | it might be a threshold for some sites | 18: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 |
scrottie0 | if I had learned, I would never have stopped. | 20:01 |
+perlDreamer | there's no more 7.8, scrottie | 20:01 |
+perlDreamer | after next week, you need to remember to backpot to 7.9 :) | 20:01 |
scrottie0 | I need to write a script... | 20:14 |
+perlDreamer | start with /data/WebGUI/sbin/_utility.skeleton | 20:14 |
-!- scrottie [~scrottie@dsl01-ppp-5119.fastq.com] has joined #webgui | 20:18 |
-!- mode/#webgui [+o scrottie] by ChanServ | 20:19 |
+perlDreamer | preaction, dispatch is done. I can merge in as soon as you review | 20:42 |
+perlDreamer | I'm going to write some .rss, .atom, .rdf dispatch plugin for RSS feeds next | 20:43 |
+perlDreamer | well, okay | 20:58 |
+perlDreamer | I'm going to debug the Content/Asset.pm plugin first, THEN I'm going to write the RSS dispatch code. | 20:59 |
+perlDreamer | woot! That works, too | 21:00 |
+perlDreamer | back to the crusade to purge C::IO from WebGUI 8 | 21:01 |
@scrottie | which ::IO? | 21:07 |
+perlDreamer | Class::InsideOut | 21:07 |
@scrottie | ahh. Ahhh. | 21:07 |
+perlDreamer | how is the getEditForm work coming, scrottie? | 21:10 |
@scrottie | I've made fantastic progress on making the test suite take forever to run. | 21:11 |
* scrottie looks at the latest run's output | 21:12 |
+perlDreamer | forever as in long time, or forever as in "infinite loop"? | 21:12 |
@scrottie | oh yeah, that's right. | 21:12 |
@scrottie | merely a long time. I haven't reached infinite loop level slowness yet. | 21:12 |
@scrottie | oh 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 |
@scrottie | boom, primary key violating, things blow up. | 21:13 |
@scrottie | violation. | 21:13 |
@scrottie | that's where I last left off. | 21:14 |
+perlDreamer | www_editSave should either be called an an asset with assetId=new, or should add a new revision | 21:15 |
@scrottie | the 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 |
@scrottie | makes sense. | 21:15 |
@scrottie | let'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 |
@scrottie | comparing 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 |
@scrottie | grepping out only the ones that have a 'label' field helped a lot. | 21:24 |
@scrottie | this feels hackish to the point of being rigged. | 21:25 |
@scrottie | I'm tempted to test against the PSGI interface using Web::Scraper. | 21:25 |
@scrottie | when 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 |
@scrottie | oofda. I need another latte. either that or a beer. though tequila would do in a pinch. | 21:26 |
@scrottie | it's hard to justify taking the high road on development when you're already slow. | 21:27 |
@scrottie | anyway, I'll start to be chattier about this since I think I have myself basically oriented in here. | 21:31 |
@scrottie | maybe I'll stick my Test::Class::Asset into a gist and push that up for comment. | 21:37 |
@scrottie | right 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 #webgui | 00: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 |
@scrottie | WebGUI::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 |
@scrottie | http://gist.github.com/510473 ... the database suggests that that field isn't getting set also. | 01:09 |
@scrottie | contrary 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-61 | webgui: Colin Kuskie WebGUI8 * r679c467 / lib/WebGUI/AssetHelper/ExportHtml.pm : Fix a double $i18n syntax warning. - http://bit.ly/d7FoxZ | 01:16 |
* scrottie goes off on a bender to figure what the heck shortcuts are supposed to do | 01:20 |
@scrottie | ah. WebGUI/AssetClipboard.pm creates shortcuts and it passes a value in for that field. hmm. | 01:24 |
@scrottie | bah. 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 |
+perlDreamer | scrottie | 01:34 |
+perlDreamer | Shortcut has 3 functions | 01:34 |
+perlDreamer | #1 is the most prevalent | 01:34 |
+perlDreamer | it's like a symbolic link to an asset | 01:34 |
+perlDreamer | so that you can display stuff in multiple places, but only maintain it in 1 place | 01:34 |
* scrottie nods | 01:35 |
+perlDreamer | It only ever shortcuts the view method, though | 01:35 |
+perlDreamer | that is important to remember | 01:35 |
+perlDreamer | in Function #1, the shortcut can override properties in the original asset | 01:35 |
+perlDreamer | title, templates, privileges, whatever | 01:36 |
+perlDreamer | so, you could build a CS on one page | 01:36 |
+perlDreamer | and shortcut it to another page with a different number of displayed threads, for example | 01:36 |
@scrottie | hrm. | 01:36 |
+perlDreamer | in function #2, it's part of the Dashboard | 01:37 |
+perlDreamer | in that context, it's called a dashlet | 01:37 |
+perlDreamer | in function #3, and this is so rare I've never heard of it being used ever | 01:37 |
+perlDreamer | it will function like the RandomAssetProxy macro, and pick an asset to shortcut based on asset metadata | 01:37 |
+perlDreamer | does that help? | 01:38 |
@scrottie | yes, thank you... | 01:39 |
@scrottie | hrm. 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 |
+perlDreamer | it can help for some assets | 01:42 |
CIA-61 | webgui: Colin Kuskie WebGUI8 * rbe42b71 / (4 files in 3 dirs): Migrate CartItem from Class::InsideOut to Moose. - http://bit.ly/9sVUrX | 02:25 |
@scrottie | afk a few... | 02:43 |
+perlDreamer | dinner-time! | 03:10 |
-!- stDavid [~stDavid@72-255-36-208.client.stsn.net] has joined #webgui | 03:29 |
-!- carogray [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has joined #webgui | 03: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 #webgui | 03:43 |
+perlDreamer | back later | 03: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 #webgui | 05:32 |
-!- mode/#webgui [+v perlmonkey2] by ChanServ | 05:33 |
+perlmonkey2 | Wonder if I could get my fortune 500 company who's sites are built around websphere could be convinced to move to WebGUI. | 05:34 |
+perlmonkey2 | To do this I will require three unicorns, a leprechaun, and several pounds of pixie dust. | 05:35 |
@scrottie | I have never heard of sales doing a dog and pony show with unicrons and leprechauns. I bet it would work though. | 05:37 |
@scrottie | sales *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 #webgui | 10:23 |
-!- mode/#webgui [+v bartjol] by ChanServ | 10:23 |
-!- carogray [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has joined #webgui | 13:24 |
-!- MrHairgrease [~martin@194.171.50.69] has joined #webgui | 13:57 |
-!- mode/#webgui [+v MrHairgrease] by ChanServ | 13:57 |
-!- vayde [~vayde@71-34-32-110.mpls.qwest.net] has joined #webgui | 14:44 |
-!- daviddelikat [~user@h69-128-106-50.mdsnwi.dedicated.static.tds.net] has joined #webgui | 16:09 |
SDuensin | Howdy | 16:19 |
+MrHairgrease | Greesings! | 16:19 |
+MrHairgrease | Greasings, even | 16:19 |
* bartjol slips | 16:19 |
-!- fokat [~lem@190.72.138.110] has joined #webgui | 16:20 |
SynQ | under the shower | 16:27 |
+MrHairgrease | hrm, batjol slips while synq is greasing in the shower? | 16:28 |
SynQ | greasing the hair of someone? | 16:32 |
* MrHairgrease usually degreases while showering | 16:32 |
+bartjol | oh, 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 blacklist | 16:44 |
-!- ColinHarman [~ColinHarm@mail.blue-ridge.org] has joined #webgui | 16:47 |
-!- patspam [~patspam@cpe-66-65-190-131.nyc.res.rr.com] has joined #webgui | 16:47 |
+MrHairgrease | bartjol: maybe you can remove the users tied to the email addresses you want to block from the post group? | 16:50 |
+bartjol | well, it is more for my out of office automated mail | 16:51 |
+MrHairgrease | hmm | 16:51 |
+bartjol | that gets posted, so best is to sign off for the week for the maillists | 16:51 |
+MrHairgrease | I don't think you can do that out of the bvox | 16:51 |
+bartjol | but that is a bit of a far fetch | 16:51 |
+MrHairgrease | The mail fetch thingy should filter these messages I guess. | 16:52 |
+bartjol | yeah, because normaly I don't see very much spam | 16:52 |
+MrHairgrease | Anyway, your out-of-office message is only being sent once to the list so that won't be a biggie, I'd say | 16:53 |
+MrHairgrease | However, if you want to make WebGUI::Mail::Get smarter, you should look into using Mail::DeliveryStatus::BounceParser | 16:53 |
+MrHairgrease | It also tries to detect out of office mail. | 16:54 |
+MrHairgrease | I've only used it to detect bounced messages, though. | 16:54 |
+MrHairgrease | Which works fine. | 16:54 |
+bartjol | aha, well, 1 hour is not enough to fix that prolly | 16:55 |
+MrHairgrease | nope | 16:55 |
-!- fokat [~lem@190.72.138.110] has quit [Ping timeout: 248 seconds] | 17:12 |
ckotil | http://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 |
ckotil | i 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 assetIndex | 17:42 |
ckotil | as an example. | 17:42 |
+bartjol | that depends on what you select | 17:43 |
ckotil | select where? in teh search asset? | 17:43 |
+bartjol | ow wait | 17:43 |
ckotil | i just was just referrencing that wiki article bc it contains the most up2date list of data that is contained within assetIndex | 17:44 |
+bartjol | I was looking at the report | 17:44 |
ckotil | http://www.webgui.org/community-wiki/webgui-search-system is lacking | 17:44 |
+bartjol | well, at the moment you can't | 17:47 |
ckotil | ok | 17:47 |
+bartjol | unless you edit/replace search | 17:47 |
ckotil | right | 17:47 |
+bartjol | especially the resultset tmpl_vars can be enhanced | 17:47 |
+bartjol | but that is only the set | 17:48 |
+bartjol | not the search | 17:48 |
+bartjol | you'll have to work it out with a sqlreport | 17:48 |
ckotil | so creationDate is in the resultSet. how do you search for a creationDate? mm/dd/yyyy doesnt seem to work | 17:48 |
+bartjol | at the moment it isn't | 17:48 |
ckotil | ah, so you could create a sqlreport to search by whatever; creationDate for example. | 17:49 |
+bartjol | yes | 17:49 |
ckotil | ok | 17:49 |
+bartjol | select * from assetIndex where creationDate="myEpoch"; | 17:50 |
+bartjol | it is stored as epoch | 17:50 |
ckotil | yeah. i hope mysql can do conversion from mm/dd/yyyy to epoch | 17:50 |
ckotil | does sqlreport do pre macro processing? | 17:50 |
+bartjol | yeah, but I don't know the syntax by heart | 17:51 |
ckotil | could have a macro do the conversion | 17:51 |
ckotil | sub getResultSet { | 17:51 |
+MrHairgrease | http://dev.mysql.com/doc/refman/5.0/en/date-and-time-functions.html | 17:51 |
ckotil | does contain assetIndex.creationDate | 17:51 |
+bartjol | the processing is optional | 17:51 |
ckotil | cool | 17:51 |
+bartjol | but instead of executing macro's you better read the doc MrHairgrease posted | 17:52 |
ckotil | yeah, more efficient | 17:52 |
+bartjol | yeah, but I think you'll manage, I have to go | 17:52 |
ckotil | thanks for the tips | 17:53 |
-!- bartjol [~bartjol@kantoor.procolix.com] has left #webgui [] | 17:53 |
+MrHairgrease | use unix_timestamp() and from_unixtime() | 17:53 |
ckotil | right | 17:53 |
+MrHairgrease | eg: | 17:54 |
+MrHairgrease | select * from asset where creationDate = unix_timestamp( 'yyyy-mm-dd 00:00:00' ); | 17:55 |
+MrHairgrease | Note that that doesn't work cxorrectly | 17:55 |
+MrHairgrease | unless you asset was created at exactyly 00:00:00 | 17:55 |
+MrHairgrease | what exactly are you looking for? | 17:57 |
ckotil | just 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 searches | 17:57 |
+MrHairgrease | hmm, yeah it's not perfect. | 17:58 |
ckotil | i was just looking into leveraging stop words | 17:58 |
+MrHairgrease | dunno too much about the search asset though | 17:58 |
+MrHairgrease | I almost never use it. | 17:58 |
ckotil | but 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 help | 17:58 |
ckotil | ive turned webgui into a decent documentation system. the nav asset allowed us to create a nice Table of Contents for this doc system | 17:59 |
+MrHairgrease | well, you can limit the asset class | 17:59 |
+MrHairgrease | so if your search for files | 17:59 |
+MrHairgrease | limit the assets to WG::A::File(::Image) | 17:59 |
+MrHairgrease | I'm not sure | 18:00 |
+MrHairgrease | but I think the filenames of the actual file that are uploaded are also indexed | 18:00 |
ckotil | yeah, ive been messing with limiting assets. | 18:00 |
+MrHairgrease | So if you add pdf to your search, it should find mostly pdf's | 18:00 |
ckotil | yeah, and it does. but again, it returns a lot of crap | 18:01 |
ckotil | one 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 neat | 18:01 |
ckotil | all in a single db. which allow us to search everything if the user so chooses. | 18:02 |
+MrHairgrease | yeah, I think there's little you can do about the crap... | 18:02 |
+MrHairgrease | not until webgui switches to a better serach engine that is | 18:02 |
ckotil | ive got my fingers crossed that it will happen in WG8 | 18:02 |
ckotil | i saw the roadmap, and it's a litlte ways down the list. but i can still dream | 18:02 |
+MrHairgrease | I think it's on the road map | 18:03 |
+MrHairgrease | yeah | 18:03 |
-!- MrHairgrease [~martin@194.171.50.69] has left #webgui [] | 18:21 |
ckotil | any 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 #webgui | 18:25 |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 18:25 |
-!- stDavid [~stDavid@72-255-37-164.client.stsn.net] has joined #webgui | 18:31 |
-!- perlmonkey2 [~perlmonke@m365636d0.tmodns.net] has joined #webgui | 19:04 |
-!- stDavid [~stDavid@72-255-37-164.client.stsn.net] has quit [Quit: zzzzzzzzzz] | 19:04 |
-!- mode/#webgui [+v perlmonkey2] by ChanServ | 19:04 |
+perlmonkey2 | is 8 far enough along to deg apps against ot? | 19:05 |
+perlDreamer | on dnot' tkinh os | 19:05 |
+perlmonkey2 | r u mocking my phone irc skillz? | 19:06 |
+perlDreamer | totally | 19:06 |
+perlDreamer | 8 is not that ready yet | 19:06 |
+perlDreamer | it's not even beta | 19:06 |
+perlDreamer | which means you need to help us get it ready! | 19:07 |
+perlmonkey2 | lookes like all the tickets left r not for core features. | 19:07 |
+perlDreamer | believe it or not, there aren't that many features set for 8 | 19:10 |
+perlDreamer | 8 is a reorg and cleanup for the most part | 19:10 |
+perlDreamer | so there's lots and lots of work to do | 19:10 |
* perlDreamer gets called to breakfast | 19:10 |
+perlDreamer | yum choco-cinnamon pancakes | 19:27 |
+perlDreamer | this is too funny:http://blastr.com/2010/08/image-of-the-day-ufo-sigh.php | 19:30 |
-!- perlmonkey2 [~perlmonke@m365636d0.tmodns.net] has quit [Ping timeout: 240 seconds] | 19:46 |
-!- perlmonkey2 [~perlmonke@m465636d0.tmodns.net] has joined #webgui | 19:48 |
-!- mode/#webgui [+v perlmonkey2] by ChanServ | 19: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 #webgui | 20:01 |
-!- mode/#webgui [+v perlmonkey2] by ChanServ | 20: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 #webgui | 20:36 |
-!- perlmon90 [~perlmonke@m365636d0.tmodns.net] has joined #webgui | 20:57 |
-!- perlmonkey2 [~perlmonke@m465636d0.tmodns.net] has quit [Read error: Connection reset by peer] | 20:57 |
+perlDreamer | WebGUI::DateTime seems to be rather useless as a Moose type | 21:04 |
+perlDreamer | because it kind of wants to get a session object | 21:04 |
-!- khenn [~frank@122.sub-75-205-139.myvzw.com] has joined #webgui | 21:05 |
-!- mode/#webgui [+o khenn] by ChanServ | 21:05 |
perlmon90 | why cant it just require a session in the constructor? | 21:06 |
@preaction | it does | 21:06 |
perlmon90 | the why cant it be a moose obj? | 21:07 |
@preaction | it can, but it's also a Type. so we can say has 'something' => ( isa => 'WebGUI::DateTime' ) | 21:07 |
perlmon90 | looks good to me | 21:08 |
perlmon90 | hah didnt know how good i had it at pb | 21:10 |
+perlDreamer | yes, but via type coercion you can't give it a session object | 21:10 |
+perlDreamer | and with a session object, there are some things it won't do? | 21:10 |
perlmon90 | get to use modern perl libs and get paid to do it. | 21:10 |
@preaction | well, it did take a lot of effort to get to this point, perlmon90 | 21:11 |
+perlDreamer | uh, without a session object, there are some things it won't do | 21:11 |
perlmon90 | we understood :P | 21:11 |
@preaction | by effort i mean yelling at stubborn people who wouldn't listen | 21:12 |
perlmon90 | yeah you fought the long hard fight and won | 21:13 |
@preaction | so far | 21:13 |
perlmon90 | while 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 #webgui | 21:17 |
+perlDreamer | perlmon90, how much time/effort do you have? | 21:18 |
+perlDreamer | we've got raw gruntwork, like removing duplicate i18n data | 21:19 |
@preaction | the 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 jobs | 21:20 |
+perlDreamer | preaction: do you have an idea about the "new improved API" for that? | 21:20 |
@preaction | yes, none. | 21:20 |
@preaction | the standard controls are completely changing, and if you need an edit button yourself for some purpose you can make your own | 21:21 |
+perlDreamer | session->icon->edit is used by 34 different packages in WebGUI | 21:23 |
+perlDreamer | seems like we should provide a handy way to do that | 21:23 |
@preaction | perhaps an ^Icon macro instead? | 21:23 |
+perlDreamer | icon parameters have embedded quotes and commas | 21:26 |
+perlDreamer | how about we just provide a sane, small API for it? | 21:26 |
+perlDreamer | Session->icon->_whatever should just be a small wrapper around 1 internal method for making the icon | 21:27 |
@preaction | so <a href="<tmpl_var url>">^Icon("edit");</a> <- not good? | 21:27 |
+perlDreamer | instead of having almost the same code in ~10 different methods | 21:27 |
+perlDreamer | not strong enough to handle onclick, hover, etc | 21:27 |
* perlDreamer is lazy | 21:28 |
@preaction | <a href="<tmpl_var url>" onmouseover="whatever i want">^Icon("edit");</a> | 21:28 |
+perlDreamer | I don't want to replace session->icon->edit in 34 files with templates | 21:28 |
+perlDreamer | if every screen was templated, it wouldn't bad, but few of the Admin screens where those edit and other icon buttons are used are templated | 21:29 |
+perlDreamer | it's all string-work | 21:29 |
+perlDreamer | $output .= $session->icon->edit($session, $url, $this, $that); | 21:30 |
perlmon90 | perlDreamer thats the probelm, all the tickets look like real wprk amd not like fun | 21:30 |
@preaction | all the Admin screens are changing though | 21:30 |
+perlDreamer | okay | 21:31 |
+perlDreamer | sidebar: have you reviewed the dispatch branch in my repo? | 21:32 |
@preaction | not yet, is it ready for review? | 21:32 |
+perlDreamer | oh yeah. I tested it out and it's lovely | 21:33 |
+perlDreamer | I even wrote the .rss/.rdf/.atom dispatch | 21:33 |
+perlDreamer | and then I almost got in trouble | 21:33 |
@preaction | perlmon90: 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:..." urls | 21:33 |
+perlDreamer | because I want to add .login, .adminOn and .edit | 21:33 |
perlmon90 | ok after work ill check it out. | 21:34 |
+perlDreamer | oh, and Calendars should do .ical | 21:35 |
+perlDreamer | and Galleries need to manually do .rss, maybe albums too | 21:35 |
+perlDreamer | and I think .wgpkg should export the current package | 21:35 |
+perlDreamer | uh, current as a package | 21:35 |
+perlDreamer | except that we actually make .wgpkg files, so that might now work real well | 21:36 |
@preaction | that wgpkg thing might require special permissions, but it's certainly worth looking into | 21:36 |
+perlDreamer | how about the iffy stuff like login, edit and admin? | 21:36 |
@preaction | hm? | 21:37 |
+perlDreamer | .login should do the same as ?op=auth;method=init | 21:38 |
+perlDreamer | .adminOn should do ?op=switchOnAdmin | 21:38 |
+perlDreamer | and likewise for off | 21:38 |
+perlDreamer | and .edit should do ?func=edit | 21:38 |
+perlDreamer | but they're much easier to remember | 21:38 |
+perlDreamer | and not likely to collide with existing URLs | 21:38 |
perlmon90 | these are default inherited aspects? | 21:39 |
@preaction | not 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/login | 21:39 |
+perlDreamer | the problem with that is now you're occupying the URL space | 21:40 |
+perlDreamer | /home/edit could be a real asset | 21:40 |
+perlDreamer | that's why I think URL extensions are safer | 21:40 |
+perlDreamer | home.edit is still RESTful, and you're not likely to find it in the real world as a URL | 21:41 |
@preaction | true | 21:42 |
@preaction | and perhaps we'll just leave it to a case-by-case basis, not all www_* can be .* methods | 21:42 |
@preaction | but adminOn/adminOff don't need it (new admin console doesn't get turned on, just visited) | 21:42 |
+perlDreamer | yeah, I'm still stuck in 7-ville I think | 21:42 |
@preaction | and 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 soap | 21:43 |
perlmon90 | poetry | 21:43 |
+perlDreamer | perlbot: wax | 21:44 |
perlbot | perlDreamer: No factoid found. Did you mean one of these: [.WA.us] [.WI.us] [.ws] [.WY.us] [which] [ws] | 21:44 |
+perlDreamer | perlbot: 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 |
perlbot | perlDreamer: 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 |
+perlDreamer | which www_* methods couldn't be .* extensions? | 21:46 |
@preaction | well, viewThing should probably be it's own URL of some kind | 21:47 |
@preaction | that sorta thing | 21:47 |
@preaction | also, WebGUI::Keyword should transform into this: http://drupal.org/node/774892 | 21:47 |
+perlDreamer | http://www.webgui.org/storyManager/keyword/keywordToCheck | 21:50 |
@preaction | it would fix our wiki taxonomy problems | 21:50 |
+perlDreamer | ? | 21:50 |
@preaction | sorry? | 21:50 |
+perlDreamer | WebGUI URls are always human readable, so I was thinking that instead of node/digits | 21:51 |
@preaction | perlmon90: 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 mediawiki | 21:51 |
perlmon90 | that could be cool | 21:51 |
+perlDreamer | how about migrating from TinyMCE to YUI Editor? | 21:52 |
@preaction | we 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 iframes | 21:52 |
@preaction | so however the tinymce does it, the yui rich editor could do it | 21:53 |
perlmon90 | that sounds like css fun | 21:53 |
@preaction | CSS and JS. you'd have to parse out the special divs and create <table> from it | 21:54 |
@preaction | plus you'd get huge cred in the YUI dev community for that one, even if they never accept it into core YUI | 21:54 |
perlmon90 | so every time it is rendered it must render be parsed then corrrected? slow btowsers will show this ugliness. | 21:55 |
@preaction | tinymce does it though, how do they do it? | 21:56 |
@preaction | and no, you'd change it to <table> before putting it back into the form to be processed by the back end | 21:56 |
perlmon90 | ill give it a pook tonight | 21: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 #webgui | 22:08 |
@preaction | ooh, WGFS might be fun: handling PROPFIND requests with the output that DAV clients expect, and handling PUT requests | 22:10 |
CIA-61 | webgui: Colin Kuskie WebGUI8 * rad9d560 / lib/WebGUI/Shop/CartItem.pm : Remove duplicate default in CartItem options. - http://bit.ly/aKthra | 22:21 |
-!- fokat [~lem@190.72.138.110] has joined #webgui | 22: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 |
@preaction | the more i think about it, the more i believe that the little edit toolbars that we insert into pages should go away | 00:09 |
@preaction | inside 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 view | 00:10 |
@preaction | Layouts 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 anymore | 00:10 |
@scrottie | I love the edit toolbars =( | 00:31 |
@scrottie | even 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 |
@scrottie | it's simply awesome. | 00:32 |
@scrottie | perhaps pointless, but awesome. | 00:33 |
@scrottie | that's the first thing I'd show someone if I were trying to sell them. | 00:33 |
@preaction | it 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 be | 00:34 |
@preaction | it's a very obvious "Click here to edit" | 00:34 |
@preaction | and also prevents accidental edits, you have to click there and be in the edit form | 00:35 |
@preaction | i'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 not | 00:37 |
@preaction | i 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 |
@preaction | in 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 getToolbar | 00:38 |
@preaction | alternatively, 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 automatically | 00:40 |
@preaction | or, really, getToolbar only works when admin is on. so i could just edit it, no? | 00:41 |
@preaction | and having that toolbar there does not preclude having inline-editable content | 00:43 |
@preaction | anyway, to find out why the fuck editSave doesn't work anymore... | 00:44 |
@scrottie | hrmmrm. | 00:46 |
@preaction | got it. stupid www_add v. www_edit thing | 00:47 |
@scrottie | one shot deal -- "show edit widgets on this screen" ? | 00:47 |
@scrottie | oh, wait, you're working on that too? | 00:47 |
@preaction | that's a possibility, but i was thinking more like amaya (the W3's HTML thing) | 00:47 |
@preaction | yeah, for the moment | 00:47 |
@scrottie | are you mucking around in these tests you pointed at me a couple days ago? | 00:47 |
@preaction | no, i'm just getting some of the real code working to make sure the new content menu works correctly | 00:48 |
@scrottie | alright. 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 |
@preaction | the 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 lot | 00:49 |
@preaction | so we will no matter what need those tests | 00:49 |
@scrottie | yeah. | 00:49 |
@preaction | www_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 nods | 00:50 |
CIA-61 | webgui: Doug Bell WebGUI8 * r7dc57ce / lib/WebGUI/Asset.pm : allow both className (new) and class (backcompat) (+9 more commits...) - http://bit.ly/97nsWi | 01:01 |
CIA-61 | webgui: Doug Bell WebGUI8 * r6d6e576 / lib/WebGUI/Asset/Wobject/Article.pm : fix typo preventing Article from add/edit - http://bit.ly/bGjaCy | 01:03 |
-!- perlmonkey2 [~perlmonke@96.18.42.134] has joined #webgui | 01:34 |
-!- mode/#webgui [+v perlmonkey2] by ChanServ | 01:34 |
+perlmonkey2 | If I grab 8 from the repo, any chance I can get it up and running over a cell phone internet connection? | 01:35 |
@preaction | the repo is a pretty large download | 01:38 |
+perlmonkey2 | can't remember, are you on github now/ | 01:38 |
+perlmonkey2 | ? | 01:38 |
@preaction | yes | 01:38 |
+perlmonkey2 | Is 8 a branch of webgui? | 01:39 |
@preaction | yes, it's the WebGUI8 branch | 01:40 |
+perlmonkey2 | oh wow, github has these nice tools so I can figure this stuff out for myself without putting static on #webgui :{ | 01:40 |
+perlmonkey2 | :P | 01:40 |
@preaction | oh, another possibly fun project: http://github.com/preaction/webgui/tree/diff make the t/Asset/revisionChanges.t and t/VersionTag/changes.t tests work | 01:42 |
@preaction | (add String::Diff to WebGUI 7.x to show changes between revisions and all changes in version tags) | 01:43 |
+perlmonkey2 | I'm not sure that qualifies as fun :P | 01:44 |
@preaction | hence possibly | 01:45 |
@preaction | i'd find it fun, but that's mainly because i'll be doing janitorial work for the next 6 months | 01:45 |
@preaction | oh, 5 months | 01:45 |
+perlmonkey2 | All on 8? | 01:52 |
+perlmonkey2 | Just cleaning it up? | 01:52 |
@preaction | yeah, those tickets on http://webgui.org/8 have to be closed | 01:53 |
@preaction | cleaning up not 8, but rather cleaning up 7-0 for 8 | 01:53 |
@preaction | evil constructs go away or at least better alternatives put in their place | 01:53 |
+perlmonkey2 | nice | 01:54 |
+perlmonkey2 | I'll try to get Plack up and running tonight and if so check out a ticket. | 01:54 |
+perlmonkey2 | perldreamer already pack it up for the day? | 02:00 |
@preaction | probably. had some early support calls, so probably took off early | 02:02 |
-!- waxhead [~pete@ppp121-45-217-60.lns20.cbr1.internode.on.net] has quit [Ping timeout: 258 seconds] | 02:03 |
+perlmonkey2 | I didn't realize he supported end users. Cool. | 02:04 |
@preaction | he's a contractor for us, handling the PB support boards Wed-Fri (I got Mon-Tues now) | 02:05 |
+perlmonkey2 | JT give you lots of time to work on 8? Or still working on 10 different things? | 02:06 |
@preaction | still working on 10 different things, just 7 of them are WebGUI 8 things | 02:07 |
+perlmonkey2 | hah, nice | 02:07 |
-!- waxhead [~pete@ppp121-45-217-60.lns20.cbr1.internode.on.net] has joined #webgui | 02: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 #webgui | 02:36 |
CIA-61 | webgui: Doug Bell WebGUI8 * ra13fee0 / lib/WebGUI/AssetVersioning.pm : add getRevisionDates method - http://bit.ly/cqdE3T | 02:42 |
CIA-61 | webgui: Doug Bell WebGUI8 * rfd524c9 / lib/WebGUI/Session/Style.pm : add revisions to asset data in admin console - http://bit.ly/9Sw223 | 02:42 |
CIA-61 | webgui: Doug Bell WebGUI8 * r0f9500b / (lib/WebGUI/AssetVersioning.pm lib/WebGUI/Session/Style.pm): fix my tyops - http://bit.ly/cqq5gt | 02:42 |
CIA-61 | webgui: Doug Bell WebGUI8 * r455f850 / www/extras/admin/admin.js : history now works. JS needs locale month names - http://bit.ly/cxxHiJ | 02:42 |
-!- waxhead_ [~pete@ppp121-45-217-60.lns20.cbr1.internode.on.net] has quit [Ping timeout: 265 seconds] | 02:48 |
@scrottie | WebGUI::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 |
@scrottie | the property declaration for templateId specifies a default value. | 02:49 |
@scrottie | my 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 |
@preaction | is it being set as "default" or as "defaultValue"? | 02:51 |
@preaction | hm... | 02:51 |
@scrottie | default. | 02:51 |
@preaction | no, it shouldn't be getting cleared out | 02:51 |
@preaction | what does the database have for that field? | 02:52 |
@preaction | perhaps the database has that field empty, and the database is overriding the default (when it should instead be the default) | 02:52 |
@scrottie | sometimes it has the expected default value, some times it's blank. I haven't found the pattern yet. | 02:52 |
@scrottie | hrm. it's creating the asset from scratch. | 02:53 |
@scrottie | or I thought it was. | 02:53 |
@preaction | newById is getting it from the DB, only way to really create a new asset is to $parent->addChild | 02:54 |
@scrottie | right. | 02:55 |
@scrottie | hrm. | 02:55 |
@preaction | but good luck on the heisenbug | 02:57 |
* preaction calls it a week | 02:57 |
@scrottie | WebGUI::Asset::addChild calls WebGUI::Asset::addRevision calls WebGUI::Asset::newById calls WebGUI::Asset::Wobject::Navigation::new... | 02:58 |
@preaction | wait, addRevision calls newById? | 02:58 |
@scrottie | alright, take it easy. find a hammock in someone's backyard, preferably someone who also has beer in their fridge. | 02:58 |
@preaction | that doesn't sound right, but i don't have the wherewithal to know why | 02:58 |
@scrottie | I didn't put that together until I said aloud that it was an asset being newly created. | 02:59 |
@scrottie | cool. I'll continue to play with it. | 02:59 |
@preaction | Haarg or perlDreamer would be the best for that question. newById should function as newByDynamicClass used to (just named a lot better) | 02:59 |
Haarg | what is the actual bug being worked on? | 03:02 |
@scrottie | Navigation loses its templateId... templateId goes undef. www_view blows up. | 03:03 |
@scrottie | perhaps other assets have the same problem. this one just runs first in the tests. | 03:03 |
Haarg | which test is this? | 03:04 |
@scrottie | hmm, 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 |
@scrottie | it'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 |
@scrottie | I can push it up though. | 03:05 |
-!- perlmonkey2 [~perlmonke@96.18.42.134] has quit [Ping timeout: 265 seconds] | 03:06 |
@scrottie | it isn't doing anything interesting at that point though... it's just calling addChild( { className => 'WebGUI::Asset::Wobject::Navigation' } ... ) | 03:07 |
@scrottie | well, 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 |
@scrottie | but 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 |
@scrottie | is there anyone in this room who sees this question and simply isn't sure of the answer? | 03:16 |
Haarg | from 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 updates | 03:16 |
Haarg | the values of the new object based on itself. | 03:16 |
Haarg | so the end result should be an object with the correct values and matching db info. | 03:16 |
Haarg | but there would be an object created with all undefs along the way | 03:17 |
Haarg | maybe that has something to do with your problem? | 03:17 |
Haarg | i'm not entirely clear on the exact issue you are hitting. | 03:17 |
@scrottie | maybe. not sure. I have to read through all of these trigger stack dumps. | 03:17 |
@scrottie | well, 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 |
Haarg | not on the end result, no | 03:18 |
Haarg | are 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 |
@scrottie | addRevision does that call. | 03:22 |
@scrottie | I'm not clear on the semantics for when trigger runs. the docs say it happens after the assignment. | 03:23 |
Haarg | assignment 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 |
Haarg | might help if you have something you can push. | 03:25 |
Haarg | the 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 #webgui | 03:26 |
@scrottie | yeah. the least I can do here is pare this down to a simple, repeatable test. | 03:26 |
@scrottie | right now I'm still trying to get a handle on this one. | 03:26 |
@scrottie | hrm. this is interesting. should addChild(), in two different calls, return an asset of the same assetId? | 03:26 |
Haarg | not unless you specify the asset id when calling it | 03:27 |
Haarg | preaction, 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 all | 03:29 |
@preaction | agreed. i'll add it to the tracker ;) | 03:30 |
@preaction | i have to go and do that for 7.9 stable too, so monday | 03:31 |
@scrottie | I'm going to afk a bit here to make a grocery store run... | 03:42 |
@scrottie | think I've figured this one out. simple, stupid, as usual. | 03:43 |
@scrottie | I'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 #webgui | 04:38 |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 04:38 |
-!- daviddelikat [~user@h69-129-206-153.mdsnwi.broadband.dynamic.tds.net] has joined #webgui | 04: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 #webgui | 04: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 #webgui | 05: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 #webgui | 05: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 #webgui | 06:31 |
elnino | eoi | 06: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 #webgui | 08: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 #webgui | 11: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 #webgui | 11: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 |
@scrottie | http://gist.github.com/512638 fwiw... current state of the Test::Class::Asset test. | 12:51 |
@scrottie | didn'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 #webgui | 13: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 #webgui | 13:38 |
-!- carogray [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has joined #webgui | 14:48 |
-!- daviddelikat [~user@h69-129-206-153.mdsnwi.broadband.dynamic.tds.net] has joined #webgui | 15: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 #webgui | 17:28 |
-!- khenn [~frank@62.sub-75-207-38.myvzw.com] has joined #webgui | 17:37 |
-!- mode/#webgui [+o khenn] by ChanServ | 17:37 |
-!- khenn [~frank@62.sub-75-207-38.myvzw.com] has quit [Client Quit] | 17:38 |
-!- fokat [~lem@200.84.244.194] has joined #webgui | 17:45 |
-!- perlmonkey2 [~perlmonke@96.18.42.134] has joined #webgui | 17:57 |
-!- mode/#webgui [+v perlmonkey2] by ChanServ | 17:57 |
-!- daviddelikat [~user@h69-129-206-153.mdsnwi.broadband.dynamic.tds.net] has joined #webgui | 18:41 |
-!- daviddelikat [~user@h69-129-206-153.mdsnwi.broadband.dynamic.tds.net] has quit [Quit: Leaving.] | 18:51 |
+perlmonkey2 | Haarg: you around? Question about W8. You say you get 370 pages/s with PSGI and 430 with normal mod_perl? | 18:54 |
+perlmonkey2 | could someone check in the create.sql for 8? | 19:51 |
-!- daviddelikat [~user@h69-129-206-153.mdsnwi.broadband.dynamic.tds.net] has joined #webgui | 20:00 |
@scrottie | perlmonkey2, 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 |
+perlmonkey2 | scrottie cool, thanks. The wre works with 8? | 20:38 |
@scrottie | PSGI 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 |
+perlmonkey2 | scrottie thanks again | 20:38 |
@scrottie | perlmonkey2, 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 |
@scrottie | no problem. | 20:38 |
+perlmonkey2 | Yeah, I think I'll skip the WRE for now. | 20:39 |
@scrottie | glad to have help testing and playing with WebGUI8. | 20:39 |
+perlmonkey2 | heh, we'll see if I can even get it running first :P | 20: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 #webgui | 22:00 |
-!- mode/#webgui [+v perlmonkey2] by ChanServ | 22:00 |
-!- perlmonkey2 [~perlmonke@96.18.42.134] has quit [Ping timeout: 265 seconds] | 22:09 |
-!- perlmonkey2 [~perlmonke@m345636d0.tmodns.net] has joined #webgui | 23:40 |
-!- mode/#webgui [+v perlmonkey2] by ChanServ | 23: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 #webgui | 00:14 |
-!- perlmonkey2 [~perlmonke@m445636d0.tmodns.net] has joined #webgui | 01:29 |
-!- mode/#webgui [+v perlmonkey2] by ChanServ | 01:29 |
-!- perlmonkey2 [~perlmonke@m445636d0.tmodns.net] has quit [Ping timeout: 265 seconds] | 02:17 |
-!- khenn [~frank@38.109.178.3] has joined #webgui | 03:04 |
-!- mode/#webgui [+o khenn] by ChanServ | 03:04 |
-!- perlmonkey2 [~perlmonke@m345636d0.tmodns.net] has joined #webgui | 03:12 |
-!- mode/#webgui [+v perlmonkey2] by ChanServ | 03:12 |
-!- khenn_ [~frank@38.109.178.3] has joined #webgui | 03:27 |
-!- mode/#webgui [+o khenn_] by ChanServ | 03:27 |
-!- khenn [~frank@38.109.178.3] has quit [Read error: Connection reset by peer] | 03:27 |
-!- khenn_ is now known as khenn | 03: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 #webgui | 03: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 #webgui | 04:26 |
-!- khenn_ [~frank@38.109.178.3] has joined #webgui | 05:17 |
-!- mode/#webgui [+o khenn_] by ChanServ | 05:17 |
-!- khenn [~frank@38.109.178.3] has quit [Read error: Connection reset by peer] | 05:17 |
-!- khenn_ is now known as khenn | 05:17 |
@preaction | patspam is the one who's been running PSGI benches, last i knew he tweaked it up to a few thousand requests per second | 05: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 #webgui | 11: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 #webgui | 13:03 |
-!- carogray [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has joined #webgui | 14:26 |
-!- khenn [~frank@38.109.178.3] has quit [Quit: khenn] | 15:39 |
-!- perlmonkey2 [~perlmonke@96.18.42.134] has joined #webgui | 16:14 |
-!- mode/#webgui [+v perlmonkey2] by ChanServ | 16:14 |
-!- ColinHarman [~ColinHarm@mail.blue-ridge.org] has joined #webgui | 16: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 #webgui | 16:31 |
-!- ColinHarman [~ColinHarm@mail.blue-ridge.org] has quit [Quit: ColinHarman] | 16:56 |
-!- ColinHarman [~ColinHarm@mail.blue-ridge.org] has joined #webgui | 16:56 |
+perlmonkey2 | kind 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 |
@preaction | yeah, i don't work nearly as hard anymore | 18:31 |
-!- carogray [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has joined #webgui | 18:55 |
-!- perlmonkey2 [~perlmonke@96.18.42.134] has quit [Ping timeout: 265 seconds] | 19:46 |
-!- perlmonkey2 [~perlmonke@96.18.42.134] has joined #webgui | 19:49 |
-!- mode/#webgui [+v perlmonkey2] by ChanServ | 19: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 ChanServ | 22:19 |
-!- perlmonkey2 [~perlmonke@m3b5636d0.tmodns.net] has joined #webgui | 22:26 |
-!- mode/#webgui [+v perlmonkey2] by ChanServ | 22:27 |
+perlmonkey2 | How do I configure a site with plack? | 22:28 |
+perlmonkey2 | weird question | 22:30 |
+perlmonkey2 | ah, app.psgi holds the clue. | 22:31 |
+perlmonkey2 | holy moly, the new webgui site setup is sweet. | 22:35 |
@scrottie | w00t! | 22:47 |
@scrottie | yeah, plackup. good old plackup. | 22:47 |
@scrottie | I'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 #webgui | 23:06 |
+perlmonkey2 | hmm, was running on the latest 7 db, with plack, then updated to the 8 db, and now the admin isn't working. | 23:16 |
+perlmonkey2 | ah, bad session | 23:17 |
-!- zylopfa [~zylopfa@0x555116f0.adsl.cybercity.dk] has joined #webgui | 23:22 |
-!- scrottie [~scrottie@dsl01-ppp-5119.fastq.com] has quit [Ping timeout: 265 seconds] | 23:23 |
zylopfa | Greetings, 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 file | 23:24 |
zylopfa | doing something like this: | 23:25 |
zylopfa | adela/anders-de-la-cour-nyhedsbrev/7-skridt-til-omsaetning.pdf | 23: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 #webgui | 00:36 |
-!- mode/#webgui [+v perlmonkey2] by ChanServ | 00:36 |
+perlmonkey2 | Anyone have any good recommendations for books? | 00:53 |
zylopfa | What topic? | 00:54 |
+perlmonkey2 | zylopfa: I read just about everything | 00:56 |
zylopfa | Try "The Creature from Jekyll Island", awesome book but a little brick like. But don't let that scare you | 00:57 |
+perlmonkey2 | A book about the Fed? | 00:58 |
+perlmonkey2 | Not out for the kindle yet, I'll put it on my wish list. | 00:59 |
zylopfa | I read it in 3 sittings, its very well written | 00:59 |
+perlmonkey2 | Sounds a little conspiracy theory-ish, but it should be a fun read. | 01:01 |
zylopfa | yeah it is somewhat but when you read it you get your doubts | 01:02 |
+perlmonkey2 | hah, I already have my doubts. But the culprit is more often plain incompetence than conspiracy :P | 01:03 |
zylopfa | haa yeah you might be right there | 01:04 |
zylopfa | you always have to judge for yourself, both sides. | 01:04 |
+perlmonkey2 | anyone know of a good example of the 8 branch using the plack interface? | 01:14 |
+perlmonkey2 | wha? if ($path =~ qr{^/abcdefghijklmnopqrstuvwxyz$}) { | 01:17 |
+perlmonkey2 | hahahahah http://localhost:5000/abcdefghijklmnopqrstuvwxyz | 01:18 |
+perlmonkey2 | pretty cool bit of example code | 01: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-61 | webgui: Colin Kuskie master * r7a21887 / (2 files in 2 dirs): Fix a bad call to quote_identifer. Fixes bug #11766. - http://bit.ly/cylIPk | 02:29 |
-!- perlmonkey2 [~perlmonke@96.18.42.134] has joined #webgui | 02:56 |
-!- mode/#webgui [+v perlmonkey2] by ChanServ | 02: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 #webgui | 03:59 |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 04: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 #webgui | 04:39 |
-!- mode/#webgui [+v perlmonkey2] by ChanServ | 04:39 |
+perlDreamer | how hackest thou, perlmonkey2? | 04:45 |
+perlmonkey2 | perlDreamer: hah, well I got plack up and running and have been piddling trying to see how it works with apache. | 04:45 |
+perlmonkey2 | I know through mod_perl, etc, but trying to figure out how to configure that. | 04:46 |
+perlDreamer | I haven't gone beyond fixing and writing API | 04:46 |
+perlmonkey2 | was just looking through tickets for something to start poking at when you yelled. | 04:46 |
+perlDreamer | I've been working on removing Class::InsideOut, but as far as a I know, everything else is fair game | 04:47 |
+perlmonkey2 | This progressbar one looks simple enough. | 04:47 |
+perlmonkey2 | perlDreamer: if we're touching code, are we also moosifying it? | 05:11 |
+perlmonkey2 | Wait, is the plan for starman to replace apache? | 05:18 |
+perlmonkey2 | or 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 #webgui | 06:51 |
-!- scrottie [~scrottie@dsl01-ppp-5119.fastq.com] has joined #webgui | 08:16 |
-!- kaare [~kaare@langebro.adapt.dk] has joined #webgui | 08:28 |
-!- kaare is now known as Guest68571 | 08:29 |
-!- Guest68571 is now known as kaare_ | 10:35 |
-!- mode/#webgui [+o scrottie] by ChanServ | 10:35 |
-!- carogray [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has joined #webgui | 12: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 #webgui | 12:49 |
-!- carogray [~Caroline@108.110.52.157] has joined #webgui | 13: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 #webgui | 13:18 |
-!- zylopfa [~zylopfa@0x555116f0.adsl.cybercity.dk] has joined #webgui | 14:07 |
zylopfa | Hello Webguians | 14:07 |
@scrottie | heya zolopfa | 14:39 |
zylopfa | scrottie, do you know how i make a Content handler to return a pdf file and not just a link to it | 14:45 |
zylopfa | like i have track something in the content handler and then serve the pdf file directly | 14: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 #webgui | 15:14 |
@scrottie | WebGUI::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 #webgui | 15:26 |
zylopfa | I think its what i am looking for! thanks a lot | 15:39 |
@scrottie | hey, no problem. let me know how that comes out. I'm curious. | 15:45 |
zylopfa | sweet thanks i will | 15:45 |
-!- perlmonkey2 [~perlmonke@m475636d0.tmodns.net] has joined #webgui | 15:59 |
-!- mode/#webgui [+v perlmonkey2] by ChanServ | 15: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 |
+perlmonkey2 | what's the word | 16:40 |
SDuensin | Morning. | 16:40 |
SDuensin | Confusion. :-) | 16:40 |
SDuensin | Been trying to get a cluster running. Seems to run. VMs won't start. No idea. | 16:41 |
@scrottie | mm? what kind of cluster? | 16:46 |
SDuensin | Ganeti | 16:57 |
+perlmonkey2 | with starman wg will be si much easier to deploy. hobbyist can easily use it now | 17:29 |
zylopfa | Haa nice | 17:42 |
zylopfa | I hope there will be a new developer book with webgui 9 | 17:43 |
zylopfa | 8 | 17: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 #webgui | 17:43 |
-!- mode/#webgui [+v Radix_] by ChanServ | 17: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 #webgui | 17:47 |
-!- mode/#webgui [+v Radix_] by ChanServ | 17: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 #webgui | 17:51 |
-!- mode/#webgui [+v Radix_] by ChanServ | 17:51 |
-!- perlDreamer [~colink@pool-173-50-255-102.ptldor.fios.verizon.net] has joined #webgui | 18:07 |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 18:07 |
-!- perlmonkey2 [~perlmonke@m475636d0.tmodns.net] has quit [Quit: -a-] | 18:19 |
-!- perlmonkey2 [~perlmonke@m475636d0.tmodns.net] has joined #webgui | 18:20 |
-!- mode/#webgui [+v perlmonkey2] by ChanServ | 18:20 |
+perlDreamer | I feel like I'm in a demented version of that old Dunkin' Donuts commercial | 18:22 |
+perlDreamer | "Time to fix the bugs" | 18:22 |
+perlmonkey2 | better than what im doing | 18:27 |
+perlDreamer | okay, perlmonkey2, I'll bits. What are you doing? | 18:29 |
+perlDreamer | s/bits/bite | 18:29 |
+perlmonkey2 | db2 hell. | 18:30 |
+perlmonkey2 | at a 1000% ibm shop and i want to crawl under my desk. | 18:31 |
+perlDreamer | as long as Mrs. Monkey2 is there with you, it sounds like a good idea | 18:32 |
+perlmonkey2 | no have an office now. strict network rules so no im irc from work pc. | 18:33 |
+perlmonkey2 | i mean an office that isnt 20 feet from my wofe | 18:34 |
+perlDreamer | i c | 18:36 |
+perlmonkey2 | yes i broke down and got a real job. dont ever do it. | 18:37 |
+perlDreamer | Gots to pay the bills and feed the goats somehow | 18:41 |
zylopfa | does 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 file | 18:41 |
zylopfa | Its something with sending the mime type and then the streaming of the date | 18:41 |
zylopfa | data | 18:42 |
+perlDreamer | zylopfa, checkout Content/Asset, and search for the string "stream" | 18:42 |
+perlDreamer | it should show you how to do that | 18:42 |
+perlDreamer | but, you shouldn't need a custom content handler to do that | 18:42 |
zylopfa | you are a pal!! | 18:42 |
zylopfa | The content handler does more | 18:43 |
+perlDreamer | okay | 18:43 |
zylopfa | its kind og a newsletter thing | 18:43 |
@preaction | it's a good WebGUI day! | 18:44 |
zylopfa | Always! | 18:46 |
zylopfa | but what particular has happend this day Sir? | 18:46 |
@preaction | well, every day is a good WebGUI day, so today is a good WebGUI day | 18:46 |
+perlDreamer | Good morning, preaction! You're bright and chipper today. | 18:46 |
@preaction | better than the alternative | 18:47 |
zylopfa | yeah true preaction | 18:47 |
@preaction | plus, we get to prioritize the bug lists today | 18:47 |
+perlDreamer | now, go throw down some java, eat some chow, and LOOK AT MY ACCURSED, WRETCHED dispatch branch | 18:47 |
+perlDreamer | please :) | 18:47 |
@preaction | and there was some other important thing i needed... right! evaluate the dispatch stuff | 18:47 |
zylopfa | Would it be a good idea to make Content handlers configurable like Wobjects? | 18:48 |
@preaction | er.. your webgui is forked from pdonelan's? | 18:48 |
+perlDreamer | it was originally | 18:48 |
@preaction | zylopfa: what do you mean? you mean like a definition sub? | 18:48 |
@preaction | ahh | 18:48 |
zylopfa | yeah preaction | 18:48 |
@preaction | zylopfa: no. content handlers, the entire list is potentially run through every request | 18:48 |
+perlDreamer | ooh, just thought of another good one for dispatch! | 18:49 |
+perlDreamer | CSV export | 18:49 |
@preaction | so having to look up properties from the database is very bad | 18:49 |
zylopfa | Sweet | 18:49 |
zylopfa | thanks preaction | 18:49 |
zylopfa | yeah you are totally right | 18:49 |
@preaction | zylopfa: are you trying to do the Subscription Code thing? or is that some other dude? | 18:49 |
+perlDreamer | hmm, CSS specificity says that IDs have higher priority than classes, yes? | 18:51 |
@preaction | yes | 18:51 |
zylopfa | http://webgui.pastebin.org/462113 preaction | 18:52 |
@preaction | google "css specificity", it's a bit complex | 18:52 |
zylopfa | I am making a kind of newsletter handler, that handles signups and confirmation email and logging of who read it and stuff like that | 18:52 |
@preaction | zylopfa: 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 this | 18:53 |
+perlDreamer | zylopfa, it also sounds like the Newsletter Asset | 18:53 |
zylopfa | ohh nice! | 18:53 |
zylopfa | I dont like the Newsletter asset, cause i dont understand it | 18:53 |
zylopfa | Its chained to the Collaboration system | 18:53 |
zylopfa | and I dont understand the mechanics | 18:53 |
zylopfa | how you can make a collaboration system into a newsletter | 18:53 |
zylopfa | I think basically its posting to the subscribers when there is a new thread started | 18:54 |
+perlDreamer | yes, that's exactly what it does | 18:54 |
zylopfa | But I think its too complex for making | 18:54 |
@preaction | you can e-mail in to the collab system | 18:55 |
@preaction | the madmongers.org collab never gets posted to, it just handles mail dispatch | 18:55 |
zylopfa | yeah preaction thats a good thing, I made a pop3 mail system using some of that | 18:55 |
zylopfa | I should really upgrade my production WebGUIS | 18:56 |
zylopfa | but the most that i am afraid of is ruining the Collaboration systems on the sites | 18:56 |
zylopfa | I guess all i gotta do is read the gotchas | 18:56 |
zylopfa | Is there a way that you just install the newest webgui and then importing the old data? | 18:57 |
@preaction | we 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.9 | 18:57 |
zylopfa | Sick preaction , I have had some strange errors though when upgrading, something with Feed workflows making errors | 18:58 |
zylopfa | http://webgui.pastebin.org/462139 these errors i get all the time as it is | 18:59 |
zylopfa | There isnt any syndicated content on the sites atm | 18:59 |
@preaction | the "Could not instantiate object" was a bug that was fixed | 19:00 |
zylopfa | ohh nice | 19:00 |
zylopfa | I might fix it if i upgrade? | 19:00 |
@preaction | what version are you running? | 19:00 |
zylopfa | 7.6.35-stable on that pastebin i posted | 19:01 |
@preaction | yeah, i think i remember there were some latent bugs in the 7.6 series that were not fixed before 7.7 went stable | 19:02 |
@preaction | there's a community (read: perlDreamer) released 7.6.35.2 | 19:02 |
zylopfa | haa! | 19:02 |
zylopfa | I am very annoyed with errors in the logs, but most they come when i upgraded | 19:03 |
zylopfa | But I will try to rid them away now | 19:03 |
zylopfa | We have to fix pagination also | 19:03 |
zylopfa | in all the assets using it | 19:03 |
+perlDreamer | what's wrong with pagination? | 19:04 |
zylopfa | if you got 2 assets that paginates on the same page, one of them shows nothing | 19:04 |
zylopfa | if you go to page 2 on one of them | 19:04 |
zylopfa | because the pagination variables are the same | 19:04 |
@preaction | no, because you've left the page layout asset | 19:04 |
@preaction | look up "asset focus" in the webgui wiki | 19:05 |
+perlDreamer | yes | 19:05 |
@preaction | perlDreamer: we do have an asset focus FAQ in the wiki right? | 19:05 |
+perlDreamer | I don't know, preaction | 19:05 |
zylopfa | I have a page where it does just that preaction | 19:05 |
+perlDreamer | it may be mentioned in some of the articles, but I don't think we have a specific page for that | 19:05 |
zylopfa | And i posted the error some time ago then one asset was changed but it needs to be done in all that use pagination | 19:06 |
zylopfa | Say if you go to this site: | 19:06 |
zylopfa | http://zyloshand.globalcontrol.biz/forum/zylos-hand-forum/general-forum?pn=2 | 19:06 |
zylopfa | then you can see the tagwall in the top right shows nothing | 19:07 |
@preaction | ahh | 19:07 |
zylopfa | cause it thinks its being paginated | 19:07 |
zylopfa | when its the other asset which is | 19:07 |
@preaction | perhaps instead for that tagwall you'd like the Chatbox asset? is designed for just that | 19:07 |
zylopfa | yeah I thought of that also | 19:07 |
zylopfa | But it doesn't solve the problem!! | 19:08 |
@preaction | it's not in core webgui yet, there are some things it needs, but it works perfectly | 19:08 |
@preaction | no, not in webgui, but it solves your problem | 19:08 |
zylopfa | awesome i saw it on the bazaar i think | 19:08 |
zylopfa | Should we fix it in webgui? | 19:08 |
@preaction | i have a better solution to the problem, collab/2 with the new asset dispatch | 19:08 |
@preaction | no more ?pn= | 19:08 |
zylopfa | ohh nice | 19:08 |
+perlDreamer | pagination! yeah, totally | 19:08 |
@preaction | that's the problem: we use too much ?query= params. way too much | 19:09 |
zylopfa | haa yeah | 19:09 |
@preaction | zylopfa: yes, is on bazaar, but that's older version probably than the one in my github: github.com/preaction | 19:09 |
zylopfa | Sweet thanks! | 19:09 |
@preaction | and 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 |
@preaction | perlDreamer: you're quite lacking in comments, but i'll add some | 19:10 |
zylopfa | I can do the i18n | 19:10 |
zylopfa | I have to learn testing, it seems very arcane to me | 19:11 |
+perlDreamer | The code is self-documenting, and needs no comments | 19:11 |
zylopfa | I have read the developer guide many times | 19:11 |
@preaction | riiiiiiiiight | 19:11 |
@preaction | perlDreamer: 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 #webgui | 19:12 |
-!- mode/#webgui [+v perlmonkey2] by ChanServ | 19:12 |
zylopfa | Outch | 19:12 |
+perlDreamer | zylopfa is right. If you don't know what func does, then you shouldn't be messing around with dispatch, Content/*.pm | 19:13 |
zylopfa | haa yeah, I do know it though | 19:13 |
@preaction | but you should be able to LEARN from the code | 19:13 |
zylopfa | it propably gets picked up by the Asset thinkn in Contenthandlers | 19:13 |
zylopfa | and then works on that asset | 19:13 |
zylopfa | in the url | 19:13 |
+perlmonkey2 | perlDreamer can i pm u? | 19:16 |
+perlDreamer | anytime, dude | 19:16 |
zylopfa | guys when upgrading should i do 1 release at a time? Or from one minor version to the next? | 19:18 |
+perlDreamer | if by minor, you mean from 7.6 to 7.7, then yes | 19:19 |
zylopfa | yeah | 19:19 |
+perlDreamer | however, stop versions may require extra stopping points | 19:19 |
+perlDreamer | check out the stop versions page in the wiki for the list of known ones | 19:19 |
zylopfa | thanks a lot Sir | 19:19 |
zylopfa | Backing up before upgrading is your friend ;D | 19:29 |
@preaction | the upgrade.pl will do it for you, but you should backup /data/WebGUI as well | 19:30 |
zylopfa | just taring everything from /data/* manually also | 19:30 |
+perlmonkey2 | will wg have a packaged config for a proxy server? if so nginx? | 19:32 |
+perlmonkey2 | in 8 | 19:32 |
zylopfa | Does captchas get cached? Just backing up and see i got like 10.000 captcha.something.gif on one of my sites | 19:32 |
zylopfa | :O they are still running over the tar output | 19:33 |
zylopfa | thats strange | 19:33 |
zylopfa | they are located in public/uploads/temp | 19:34 |
@preaction | temp is cleared out every 24h | 19:34 |
zylopfa | thats crazy they are still running | 19:34 |
zylopfa | isnt 10k a lot of captchas? | 19:34 |
@preaction | one is created anew for each request | 19:35 |
zylopfa | ok then i think its good i upgrade doesn't seem to have run it then | 19:36 |
-!- perlmonkey2 [~perlmonke@m475636d0.tmodns.net] has quit [Read error: Connection reset by peer] | 19:36 |
-!- perlmonkey2 [~perlmonke@m475636d0.tmodns.net] has joined #webgui | 19:37 |
-!- mode/#webgui [+v perlmonkey2] by ChanServ | 19:37 |
+perlDreamer | Haarg: would you accept a patch that changes the default behavior of wgd ls? | 19:43 |
+perlDreamer | I'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 |
Haarg | maybe | 19:44 |
Haarg | can you give me an example where that is important to do? | 19:45 |
+perlDreamer | I want to see if an asset exists in a site | 19:45 |
+perlDreamer | so i tried to do wgd ls root/import/default-asset-subsciption | 19:45 |
+perlDreamer | that returned nothing, since it doesn't have children | 19:45 |
+perlDreamer | maybe I'm going about it the wrong way? | 19:45 |
Haarg | i have a couple thoughts | 19:47 |
Haarg | first is that it should be setting the error code on exit if it isn't found, but it doesn't seem to be | 19:48 |
Haarg | so that should be fixed | 19:48 |
+perlDreamer | well, it is found | 19:48 |
Haarg | yeah, but for something that doesn't exist | 19:48 |
Haarg | i don't really like the idea that you proposed because it is inconsistant | 19:48 |
Haarg | unfortunately assets can't quite be treated the same as file system entries | 19:49 |
Haarg | is this for something you are trying to script? | 19:50 |
+perlDreamer | I wanted to check lots of sites, to see if they have that asset or not | 19:51 |
+perlDreamer | maybe by using wgd for-each | 19:53 |
+perlDreamer | but that's not that useful either, since you can't tell which output comes from which site | 19:54 |
Haarg | yes you can | 19:54 |
Haarg | wgd for-each -p -w'ls root' | 19:54 |
CIA-61 | webgui: 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/b6tSLL | 20:20 |
zylopfa | Now we are upgrading!! | 20:35 |
* perlDreamer says sheepishly, "Thanks, Haarg" | 20:35 |
zylopfa | haa ;D | 20:35 |
zylopfa | Its good advice and help from this irc channel | 20:35 |
-!- perlmonkey2 [~perlmonke@m475636d0.tmodns.net] has quit [Quit: -a-] | 20:36 |
Haarg | might make sense to update the documentation to make that type of use more obvious | 20:37 |
-!- perlmonkey2 [~perlmonke@m375636d0.tmodns.net] has joined #webgui | 20:37 |
-!- mode/#webgui [+v perlmonkey2] by ChanServ | 20:37 |
-!- seriftron [~tessa@97.66.185.250] has joined #webgui | 20:38 |
+perlDreamer | I like -0 even better than -p, since I can post process with grep/ack/perl | 20:39 |
seriftron | is 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 |
@scrottie | lots to read this morning.. | 20:42 |
+perlDreamer | seriftron, in the thread display (main CS view template), you get all asset properties, and keywords | 20:42 |
+perlDreamer | no metadata | 20:42 |
+perlDreamer | a small macro would do it, but it would have to be written from scratch | 20:42 |
@preaction | seriftron: that doesn't mean it can't be added, of course | 20:43 |
seriftron | i guess it would be similar to the Page macro (which can access metadata values) and i could pass in the field name and assetid | 20:43 |
@preaction | i 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 something | 20:43 |
seriftron | right, 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 easily | 20:44 |
+perlDreamer | that sounds more like the "userDefined fields in every asset" RFE | 20:45 |
+perlDreamer | would that work for you, seriftron? | 20:46 |
+perlDreamer | come to think of it, userDefined fields should be available in the CS template, now | 20:46 |
+perlDreamer | however, they're not in the default templates | 20:46 |
seriftron | i believe so. what is the difference between userDefined fields and metadata? | 20:47 |
@preaction | right, 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 metadata | 20:47 |
@preaction | they're both technically metadata | 20:47 |
+perlDreamer | before metadata, there was userDefined fields | 20:47 |
+perlDreamer | they only exist in a few assets | 20:47 |
+perlDreamer | metadata exists everywhere | 20:47 |
zylopfa | Lads I was wondering something, you know Form Controls | 20:48 |
+perlDreamer | metadata has to be enabled, and it can impact a site's performance | 20:48 |
@preaction | and then if form fields were configurable, you could do very fun things like have a JsonTable field with defined columns, or a DataTable metadata field | 20:48 |
@preaction | everything impacts performance :p | 20:48 |
zylopfa | I made new ones but i have to "Hack" at the Dataform asset to be able to use it in them | 20:48 |
@preaction | but 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 reasons | 20:48 |
+perlDreamer | zylopfa, there's an RFE to switch the DataForm to use DynamicField instead of hardcoding the usable fields | 20:49 |
+perlDreamer | Taxonomy? | 20:49 |
zylopfa | ahh nice | 20:49 |
seriftron | it 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 wiki | 20:50 |
+perlDreamer | seriftron, for the CS, it's just template variables | 20:50 |
+perlDreamer | you'd add them to the appropriate template, Post Edit form, Thread view, CS view, etc. | 20:50 |
+perlDreamer | they're documented in the online help | 20:50 |
seriftron | thanks, i'll take a look | 20:52 |
+perlDreamer | preaction: re performance, when Metadata is enabled, every page hit incurs an extra write, since it's tracking which assets' metadata is the most popular | 20:54 |
+perlDreamer | so, it's a little bigger than userDefined fields :) | 20:55 |
@preaction | that could be enabled/disabled. that particular tracking thing | 20:59 |
+perlDreamer | definitely | 21:02 |
zylopfa | YESS!! Just upgraded to the latest webgui and errors seems to have vanished | 21:08 |
-!- perlmonkey2 [~perlmonke@m375636d0.tmodns.net] has quit [Ping timeout: 245 seconds] | 21:19 |
-!- perlmonkey2 [~perlmonke@m475636d0.tmodns.net] has joined #webgui | 21:20 |
-!- mode/#webgui [+v perlmonkey2] by ChanServ | 21:20 |
-!- perlmonkey2 [~perlmonke@m475636d0.tmodns.net] has quit [Client Quit] | 21:22 |
zylopfa | do you guys know if the fine survey wobject needs new browsers when creating new surveys? | 21:23 |
+perlDreamer | new browsers? | 21:27 |
zylopfa | when i use it here it only says "Loading..." | 21:28 |
zylopfa | when i get into editing the survey itself | 21:28 |
zylopfa | I could try it on the test site i guess to see if its my webgui install | 21:28 |
+perlDreamer | check the webgui log for errors, and set the logging level to something like INFO, or DEBUG for a little while | 21:30 |
+perlDreamer | Survey is still beta | 21:30 |
zylopfa | Damn nothing on my site, only info , no errors. Works on the webgui demo site | 21:31 |
zylopfa | I am using the same version as the demo site on webgui.org | 21:32 |
-!- seriftron [~tessa@97.66.185.250] has left #webgui [] | 21:33 |
zylopfa | Looks totaly awesome the new survey thing, but cant work other than on the demo site :( | 21:35 |
@scrottie | dammit, I go all week without checking email and that's the week that everyone decides to email me urgent questions. | 21:35 |
@scrottie | I thought skype was quiet. | 21:35 |
zylopfa | haa damn it scrottie | 21:36 |
@scrottie | three communications channels is one too many. | 21:36 |
@preaction | i've got them all trained to do e-mail rather than skype. skype requires me to derail and drop everything | 21:36 |
zylopfa | yeah its no good when you code | 21:36 |
@scrottie | that's true but I didn't have them trained and this change caught me by surprise. | 21:37 |
@preaction | especially when it's "how do i use 'patch' again?" | 21:37 |
zylopfa | like this: man patch | 21:37 |
+perlDreamer | patch -q1 < some.patch; #crap; call preaction on skype | 21:39 |
zylopfa | anyone know if the Survey wobject is different on the webgui demo site than the 7.8.24 stable? | 21:40 |
+perlDreamer | they should be the same | 21:40 |
zylopfa | I am unable to get to func=editSurvey mode | 21:40 |
zylopfa | it just stands in the loading screen | 21:40 |
zylopfa | no errors in the log even with debug level logging | 21:40 |
+perlDreamer | restarted the server after changing the log level? | 21:41 |
@scrottie | WebGUI/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 |
+perlDreamer | scrottie, look for all templates with the namespace ZipArchive | 21:42 |
zylopfa | yeah its default to '' | 21:42 |
+perlDreamer | set the default to that | 21:43 |
zylopfa | you propablt should create a new template with namespace ZipArchiveAsset | 21:43 |
+perlDreamer | yeah, what zylopfa said | 21:43 |
zylopfa | mostly the wobjects come with default templates though but this one has none it seems | 21:44 |
zylopfa | controls,error,fileUrl,fileIcon,pageError,noInitialPage,noFileSpecified is the template variables you can use | 21:45 |
@scrottie | I'm going to take it that it should blow up when no or an invalid template is specified. | 21:45 |
zylopfa | yeah it will | 21:45 |
+perlDreamer | scrottie, blowing up would be bad | 21:45 |
+perlDreamer | it won't do that in 7.x | 21:45 |
zylopfa | "couldn't initialize template" or so | 21:45 |
zylopfa | in the error log | 21:45 |
@scrottie | well, it raises an exception. | 21:45 |
+perlDreamer | then that exception needs to be trapped and handled | 21:45 |
@scrottie | okay. 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 |
zylopfa | yeah it doesnt seem to test for the templateId if its defined | 21:46 |
+perlDreamer | scrottie, what I recommend is: file a bug for the missing default against 7.x | 21:46 |
@scrottie | zylopfa, I saw some code in there for that but it isn't entirely working. | 21:46 |
+perlDreamer | and then in 8, fix the lack of exception handling in the Form plugin | 21:46 |
* scrottie nods slowly. and drools. | 21:47 |
* perlDreamer passes scrottie a hankie | 21:47 |
zylopfa | In the prepareView sub, it just assign the templateid, but not checking if its set | 21:47 |
+perlDreamer | that's another bug | 21:48 |
+perlDreamer | it should throw a TemplateNotFound exception | 21:48 |
zylopfa | scrottie, what version are you using of webgui? | 21:48 |
+perlDreamer | 8 | 21:48 |
zylopfa | I dont see anything there at all that test for the templateId is defined | 21:48 |
zylopfa | The Asset.pm will propablt write an error in the logfile | 21:49 |
+perlDreamer | ZipArchive is a pretty rare asset | 21:49 |
-!- perlmonkey2 [~perlmonke@m475636d0.tmodns.net] has joined #webgui | 21:51 |
-!- mode/#webgui [+v perlmonkey2] by ChanServ | 21: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 |
zylopfa | I tried to put a ZypArchive on the testsite | 21:52 |
zylopfa | without changing anything | 21:52 |
-!- perlmonkey2 [~perlmonke@m475636d0.tmodns.net] has quit [Client Quit] | 21:52 |
@scrottie | WebGUI::Error::InvalidParam->throw(error => 'newById must get an assetId'); | 21:53 |
zylopfa | Seems just to take "Default Zip Archive" template | 21:53 |
zylopfa | Dont know if Asset.pm just finds the first template in the namespace and assigns it | 21:54 |
@scrottie | thanks for the suggestions and comments. | 21:54 |
zylopfa | if none is selected | 21:54 |
@scrottie | doesn't seem to. reading through the codepath, I didn't see anything about template namespaces. time to go rtfm =) | 21:54 |
zylopfa | In the code its set to '' | 21:54 |
zylopfa | scrottie, | 21:56 |
zylopfa | In Asset.pm in line 2349 | 21:57 |
@scrottie | huh? | 21:58 |
@scrottie | what sets what to? | 21:58 |
zylopfa | Naa nothing there | 21:59 |
zylopfa | must be done in the asset edit form | 21:59 |
zylopfa | scrottie, i figured it out | 22:25 |
zylopfa | Webgui/Form/Template | 22:25 |
zylopfa | .pm | 22:25 |
zylopfa | Line 172, the formfield for 'template' gets all templates for the namespace and populate the selectbox | 22:26 |
zylopfa | when you save a ZipArchive, that has not got a default template you just get the first template in the namespace defined in teh ziparchives definition | 22:27 |
zylopfa | HOWEVER! If there weren't any templates in the import branch or anywhere else from the start, you would get unhandled errors | 22:28 |
@scrottie | what'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 |
@scrottie | no user interaction required, and no speculation needed about possible codepaths. | 22:34 |
zylopfa | ahh ok scrottie, the reason it works is cause of the Template.pm form field though | 22:34 |
@preaction | works or fails, whichever | 22:35 |
@scrottie | I 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 |
@preaction | the form field shouldn't blow up on lack of template, it should just pick the first one (so, no value at all) | 22:35 |
zylopfa | you can do like: my $templateList = WebGUI::Asset::Template->getList( $session, $self->get( 'namespace' ), $onlyCommitted ); | 22:36 |
zylopfa | you got the namespace from the Asset | 22:36 |
@scrottie | preaction, wait, during www_view, if there's no template, it should pick one out, on the spot? | 22:36 |
zylopfa | and from the list created there use the first template | 22:36 |
@preaction | lack 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 |
@preaction | ohhh | 22:36 |
@preaction | that | 22:36 |
zylopfa | if there isnt defined a defalut for the asset | 22:36 |
@preaction | no, during www_view if there's no template it should throw the appropriate WebGUI::Error::ObjectNotFound::Template or whathaveyou | 22:37 |
zylopfa | yeah | 22:37 |
@scrottie | ahh. alright. | 22:37 |
zylopfa | the reason it works from the web is cause of the selectbox created by Template.pm in the /webgui/forms | 22:37 |
zylopfa | it takes the first template in the namespace and assigns that to the new assets templateid | 22:38 |
@scrottie | preaction, 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 |
@scrottie | zylopfa, I'm not doing any of that right now. I probably should be. but I'm not. | 22:39 |
@preaction | ziparchive doesn't have a template, and shouldn't have a templateId afaik... ziparchive works... weirdly... | 22:39 |
zylopfa | Just saying why it in practice work even though its not defined | 22:39 |
zylopfa | no no preaction it DOES have a template | 22:39 |
@scrottie | zylopfa, ahh, got ya now. but it looks like the plot thickens even more. | 22:39 |
@scrottie | I see a template in the template table for that namespace... | 22:40 |
@preaction | ah... hmm... | 22:40 |
zylopfa | the edit form for ZipArchive creates the "template id" selectbox | 22:40 |
@scrottie | hrm. hmm, hmm, hmm. | 22:40 |
@preaction | but a ziparchive is just an entry point to a tree of real html files on the file system | 22:40 |
zylopfa | from all templates in the namespace of the asset | 22:40 |
@preaction | also, perlDreamer, Haarg, any reason to NOT get rid of ZipArchive? | 22:40 |
@scrottie | I 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 |
@scrottie | s/tests/working tests/ | 22:41 |
+perlDreamer | preaction, what do we replace it with? | 22:41 |
@preaction | Nothing. Nothing at all. | 22:41 |
@scrottie | I 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 |
+perlDreamer | doesn't seem like we should get rid of it without providing a way for users to do the same thing, some other way | 22:41 |
zylopfa | scrottie, treat it as an error, would be if a template wasnt in the import node | 22:41 |
zylopfa | with the assets namespace | 22:42 |
+perlDreamer | does the WebGUI Site project have any data about usage for that Asset | 22:42 |
+perlDreamer | ? | 22:42 |
zylopfa | What does it do btw? | 22:42 |
@preaction | i don't know | 22:42 |
@preaction | you upload a .zip file, and it extracts it into an uploads folder and shows the root index.html as the www_view page | 22:43 |
@scrottie | okay. 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 |
zylopfa | ahh 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 balance | 22:45 |
@preaction | ooh, asset dispatch could improve the ziparchive's functionality hugely! | 22:45 |
@preaction | we could make it USEFUL! | 22:45 |
+perlDreamer | no | 22:45 |
+perlDreamer | just less ugly | 22:45 |
@scrottie | heh. maybe I should open a ticket and let it go for now then. | 22:45 |
@preaction | entire sections of your site, with real URLs, created and maintained with external programs! | 22:45 |
+perlDreamer | but if we get rid of it, we have to provide a way to not break peoples sites | 22:45 |
@preaction | scrottie: it's just an idea, we at least need it to work as it does presently | 22:46 |
@scrottie | of 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 |
+perlDreamer | it should have a default templateId | 22:47 |
@scrottie | just a thought. | 22:47 |
@preaction | that would be the correct fix, yes | 22:47 |
+perlDreamer | every template should have a default | 22:47 |
zylopfa | scrottie, just put the default template in | 22:48 |
zylopfa | ZipArchiveTMPL00000001 | 22:48 |
zylopfa | and then the bug is off | 22:49 |
@scrottie | yeah, yeah, yeah. | 22:50 |
zylopfa | its a bug in the asset it should be corrected | 22:50 |
* scrottie sighs | 22:50 |
zylopfa | :O | 22:50 |
@scrottie | zylopfa, 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 |
zylopfa | I mean if i made an asset for the bazaar with that error it would not work cause its not in the main distro | 22:50 |
zylopfa | ohh sorry | 22:51 |
zylopfa | thought you was making a test suite | 22:51 |
zylopfa | I can fix it for you | 22:51 |
@scrottie | working on a test suite and fixing bugs as I go. | 22:51 |
@scrottie | no 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 |
zylopfa | wasnt ment to be rude | 22:52 |
@scrottie | zylopfa, 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 |
+perlDreamer | whenever you try to instanciate an asset, it should throw an exception | 22:53 |
+perlDreamer | every time | 22:54 |
+perlDreamer | it's up to WebGUI to handle the exceptions correctly | 22:54 |
* scrottie nods at perlDreamer. | 22:54 |
zylopfa | propably like perlDreamer says | 22:55 |
@scrottie | yup. 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 |
zylopfa | haa ofc! | 22:55 |
@scrottie | I could hop a flight to Santa Monica and hit the beach =) | 23:00 |
zylopfa | sounds good | 23:00 |
+perlDreamer | scrottie, fixing bugs is like doing pushups | 23:01 |
+perlDreamer | it's good exercise | 23:01 |
@preaction | and nobody likes doing it | 23:06 |
@scrottie | except zylopfa, and why deprive him of the pleasure? | 23:07 |
zylopfa | was just trying to help :( | 23:08 |
+perlDreamer | zylopfa, never trust a smiling person from Arizona | 23:08 |
@scrottie | oh, I'm just playing with ya. | 23:09 |
zylopfa | haa <3 | 23:09 |
@scrottie | cheer 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 running | 23:42 |
@scrottie | w00t. | 23:50 |
-!- stDavid [~stdavid@166.137.8.25] has joined #webgui | 23:53 |
--- Day changed Tue Aug 10 2010 |
-!- fokat [~lem@200.84.244.194] has joined #webgui | 00:06 |
-!- stDavid [~stdavid@166.137.8.25] has quit [Quit: Adios] | 00:18 |
-!- Netsplit *.net <-> *.split quits: perlbot | 01:17 |
-!- Netsplit over, joins: perlbot | 01:18 |
CIA-61 | webgui: 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/bA1rBL | 01:27 |
@scrottie | ... | 01:29 |
@scrottie | okay, that commit conflicts. | 01:29 |
+perlDreamer | it's only 22 characters | 01:37 |
+perlDreamer | well, okay, 23 | 01:37 |
@scrottie | still, what would possess you to do the very same thing you know I'm doing? | 01:39 |
@scrottie | apart from arguing with a friend about the merits of reimplementing IPC over top of IPC. but maybe you were doing that too. | 01:39 |
+perlDreamer | you posted a bug | 01:40 |
+perlDreamer | I fix bugs | 01:40 |
+perlDreamer | you didn't say you were going to fix it | 01:41 |
@scrottie | I think I said as much in a long conversation with zylopfa. | 01:41 |
zylopfa | damn i am updating my production server with new webgui but i get errors in testEnvirnoment | 01:42 |
zylopfa | rgw stupid mysql wont link | 01:42 |
zylopfa | the | 01:42 |
zylopfa | /usr/bin/ld: skipping incompatible /data/wre/prereqs/lib/mysql/libmysqlclient.a when searching for -lmysqlclient | 01:42 |
zylopfa | I dont understand how it can go wrong | 01:42 |
@scrottie | I'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 |
@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:43 |
-!- waxhead [~pete@ppp121-45-217-60.lns20.cbr1.internode.on.net] has joined #webgui | 01:44 |
@scrottie | I 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 #webgui | 01:44 |
-!- mode/#webgui [+v perlmonkey2] by ChanServ | 01:45 |
@scrottie | anyway, 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 |
+perlDreamer | just put a note in the ticket that you're going to work on it | 01:45 |
+perlDreamer | or assign it to yourself | 01:46 |
+perlDreamer | and we won't step on toes again | 01:46 |
@scrottie | alright, alright. | 01:46 |
+perlDreamer | I'm sorry for making you do a conflicted merge | 01:46 |
@scrottie | it's okay. sorry I'm cranky. | 01:46 |
+perlmonkey2 | aaaahhh, that was sweet. | 01:46 |
@scrottie | I need to get away from the computer. | 01:46 |
+perlDreamer | I hear British Columbia is nice this time of the year. | 01:47 |
+perlDreamer | You can stop by Portland on the way through, and I'll buy you a beer | 01:48 |
@scrottie | ha, I am so taking you up on that. | 01:49 |
@scrottie | I've got a friend in Portland and the girl's parents are in Seattle. | 01:49 |
+perlmonkey2 | The 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 |
zylopfa | Fuck i have problems. are there known problems with installing webgui wre 32 bit on a 64 bit system? | 01:52 |
@scrottie | perlmonkey2, um, yes. | 01:52 |
+perlmonkey2 | zylopfa: what problems. I used to run it on a 64 bit system no problem./ | 01:53 |
+perlmonkey2 | scrottie 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 |
zylopfa | I am getting wierd errors, it says DBD::mysql isnt installed when running testEnvirnoment.pl | 01:54 |
+perlDreamer | zylopfa, setenvironment.sh? | 01:54 |
zylopfa | then it will install it from cpan and then it quirks | 01:54 |
+perlmonkey2 | So 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 |
zylopfa | yesh sorry sh | 01:54 |
+perlmonkey2 | wow, I feel better. That was cathartic :P | 01:55 |
zylopfa | yeah i ran that perlDreamer | 01:55 |
+perlDreamer | keep flirting with the help desk chick, perlmonkey2, and Mrs. Monkey2 will fix the boredom problem | 01:55 |
zylopfa | It builds the module from the right mysql uincludes in the wre dir | 01:55 |
@scrottie | perlmonkey2, 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 |
+perlmonkey2 | perlDreamer: hah, she wouldn't, but her 3 large brothers would :P | 01:55 |
@preaction | at her behest, of course | 01:56 |
@scrottie | okay, that was *not* what I meant to say. | 01:56 |
zylopfa | But 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 |
+perlmonkey2 | preaction: actually it would be a race to see if my family got to me before her's did. | 01:56 |
zylopfa | wops didnt mean to put scrottie there | 01:56 |
+perlmonkey2 | scrottie hahah, just read that. | 01:56 |
+perlmonkey2 | wait, doesn't the wre include dbd::mysql? | 01:57 |
@scrottie | having wife+kids at home restricts you from doing a lot more than flirting, including restricting you from ruffling political feathers. | 01:57 |
zylopfa | Guess I gotta put wre from the testserver onto the production server by copying then | 01:57 |
+perlmonkey2 | scrottie 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 :P | 01:58 |
+perlmonkey2 | higher | 01:58 |
@preaction | to be honest, JT is a lot to put up with even on the best of days... | 01:59 |
@preaction | and also to be honest, i'm in charge of WebGUI now ;) | 01:59 |
+perlmonkey2 | preaction: really? | 02:00 |
+perlmonkey2 | preaction: you're the main cheese on managing wG? | 02:01 |
@preaction | yep. i'm pumpking/project manager/what-have-you | 02:01 |
@scrottie | I sometimes get the feeling that my desk is situated on top of a lot of graves. | 02:01 |
@preaction | scrottie: aren't all desks? | 02:01 |
@scrottie | hmm =-) | 02:02 |
+perlmonkey2 | preaction: that is awesome. congratulations. boss of a major open source project, I think you're one of the big guys now. | 02:02 |
+perlmonkey2 | hah | 02:02 |
+perlmonkey2 | scrottie++ | 02:02 |
@preaction | we will be once i turn WebGUI back into a major open source project | 02:02 |
+perlmonkey2 | That's why we wear that noose around our necks while at the desks. | 02:02 |
@preaction | the Monarch has his hands in many sinister soups | 02:02 |
+perlDreamer | great, now we have to go through the whole obeisance and prostration thing again | 02:03 |
+perlmonkey2 | heh, 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 |
@preaction | i'm planning nothing more than the complete, total, and utter destruction of our major enemy, Drupal | 02:04 |
@scrottie | 1. 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 |
+perlmonkey2 | oh, Doug's the Monarch? Do we call you "Your Majesty" or just "Your Dudeness"? | 02:04 |
+perlmonkey2 | hahaha, death to Drupal. | 02:04 |
@scrottie | oh, 2.5. good documentation. | 02:04 |
@preaction | but 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 |
zylopfa | Isnt Drupal dead already? | 02:05 |
@scrottie | I wrote Acme::RPC in response to a friend's description of one aspect of Drupal. | 02:05 |
+perlmonkey2 | preaction: because it is easy to set up, scales decently, and only gets you hacked once a month. | 02:05 |
+perlDreamer | it's dirt simple to install PHP on cheap hosting, and PHP programmers are a dime a dozen? | 02:05 |
zylopfa | yeah | 02:06 |
+perlmonkey2 | but 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 decision | 02:06 |
zylopfa | haa true | 02:06 |
@preaction | that's the biggest bullshit excuse we've been using to not look at drupal's real strengths | 02:07 |
+perlmonkey2 | preaction: don't you have the market cornered on large foss customers? | 02:07 |
@preaction | 'webgui cannot be installed on $5 hosters' | 02:07 |
+perlmonkey2 | foss using customers, I mean. | 02:07 |
@preaction | whitehouse.gov is using drupal, and contributing back drupal modules even | 02:07 |
zylopfa | :O' | 02:08 |
@scrottie | warm 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 |
@scrottie | warm 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 |
@scrottie | people shouldn't wind up like me with a %&@#-list of annoyances and gotchas. | 02:09 |
+perlmonkey2 | I for one am in love with never dealing with apreaq2 again. | 02:09 |
@scrottie | need to back away from corner cases and really nail the first user experience. | 02:10 |
+perlmonkey2 | preaction: well, why is whitehouse.gov using drupal? | 02:10 |
+perlmonkey2 | wait, the government is using a POS php cms? | 02:10 |
-!- elnino_ [~ninow@c-98-240-143-131.hsd1.mn.comcast.net] has joined #webgui | 02:10 |
+perlDreamer | yup | 02:10 |
elnino_ | hellO! | 02:11 |
+perlmonkey2 | with 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 |
zylopfa | Greetings elnino_ | 02:11 |
+perlDreamer | elnino, only thing with clouds is the wiki | 02:11 |
@scrottie | DEFCON was not kind to Drupal. | 02:11 |
elnino_ | hello zylopfa | 02:11 |
+perlDreamer | and the Story Manager | 02:11 |
elnino_ | ok. thanks. perlDreamer. I was just hoping. =) | 02:12 |
+perlDreamer | elnino_, it's a very small macro to add that | 02:12 |
+perlDreamer | or core change, either way | 02:12 |
elnino_ | macro? | 02:12 |
* elnino_ all ears | 02:12 |
@preaction | perlmonkey2: yes, there was a huge brouhaha over Drupal being chosen | 02:12 |
+perlDreamer | yeah, it could be done with a small macro | 02:12 |
+perlDreamer | it would take the assetId of the CS, and generate a cloud for it | 02:13 |
* perlDreamer has to go fry some pork for dinner, bbl | 02:13 |
@preaction | scrottie: 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 yet | 02:13 |
zylopfa | Well imo fuck the default design, if people wanna make some serious shit they make their own templates | 02:14 |
@preaction | elnino_: 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 macro | 02:14 |
@preaction | zylopfa: 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 dropdown | 02:15 |
@preaction | the new site starter shows you a half-dozen styles and lets you pick | 02:15 |
@preaction | i wanted a dozen, but it seems that nobody was onboard | 02:15 |
zylopfa | yeah preaction perhaps, but the most important is a well thought of system, templates is just templated in the end of the day | 02: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 |
@preaction | elnino_: AssetAspect? | 02:16 |
elnino_ | yes! | 02:16 |
+perlmonkey2 | preaction: for what its worth those half dozen are very nice looking. | 02:17 |
@preaction | it 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 website | 02: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 |
@preaction | perlmonkey2: 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.99 | 02:17 |
@preaction | yes, it's in the core | 02:18 |
@preaction | WebGUI 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 |
zylopfa | I am going to build the wre from source then, then maybe the mysql::dbd will not link to the wrong lib | 02:37 |
@preaction | bonne chance | 02:37 |
@scrottie | hmm. 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 |
@scrottie | as 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 tag | 02:42 |
elnino_ | s/tag/cloud | 02:43 |
@scrottie | the 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 |
@preaction | elnino_: 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 parlance | 02: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 |
@preaction | scrottie: 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 stuff | 02:44 |
@scrottie | right. it's not my intention to test everything. | 02:45 |
@preaction | elnino_: 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 |
@scrottie | I'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 |
@scrottie | simply, 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 |
@preaction | scrottie: 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 |
@preaction | ah | 02:46 |
@preaction | the 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 same | 02:46 |
@preaction | html forms are kinda funny that way | 02:46 |
@scrottie | hrm. | 02:47 |
@preaction | there's a WebGUI::Form::Control->isInForm or something that tries to detect that | 02:47 |
@preaction | but some simply assume they're in always | 02:47 |
@scrottie | WebGUI::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 |
@scrottie | okay, 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 |
@preaction | ah, yeah, looks like isInRequest passes to hasParam by default | 02:48 |
@preaction | but WebGUI::Form::CheckList has to override isInRequest to look for a hidden value | 02:49 |
@preaction | so yes, perhaps it should check isInRequest before it does anything (it, i assume, is processEditForm?) | 02:49 |
@scrottie | mmmm... yes. | 02:50 |
@scrottie | isInRequest as implemented doesn't seem to short-circuit to a true in the cases where the control element is a checkbox... | 02:54 |
@scrottie | so that would need to change or be augmented. | 02:54 |
@preaction | i think it can't, because of the way the CheckList is made | 02:55 |
@preaction | but for now if we just check the API call, it's up to the API to DTRT | 02:55 |
-!- perlmonkey2 [~perlmonke@96.18.42.134] has quit [Ping timeout: 240 seconds] | 03:05 |
CIA-61 | webgui: Scott Walters WebGUI8 * r13e7d4c / lib/WebGUI/Asset/File/ZipArchive.pm : Fix: WebGUI::Asset::File::ZipArchive specifies a default template of '' - http://bit.ly/ac402J | 03:26 |
CIA-61 | webgui: Scott Walters WebGUI8 * rb7cb774 / lib/WebGUI/Asset/Wobject/UserList.pm : | 03:26 |
CIA-61 | webgui: Avoid warnings about odd numbers of form elements. session->form->process | 03:26 |
CIA-61 | webgui: will return () when called in list context so force scalar context and it | 03:26 |
CIA-61 | webgui: nicely gives us an undef. - http://bit.ly/brKpie | 03:26 |
CIA-61 | webgui: 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/9iKuHb | 03:31 |
+perlDreamer | scrottie, those last set of commits don't seem to have tests | 03:36 |
+perlDreamer | do they make currently failing tests pass? | 03:36 |
@scrottie | perlDreamer, yeah, sorry. the tests are based on the stuff in t/tests/Test/WebGUI but I haven't pushed them up yet. | 03:37 |
@scrottie | the warnings fixes just cut down on spam. other things I've been committing fix tests in there. | 03:37 |
@scrottie | the 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 |
@scrottie | I did push up a peek of the current state of it into a gist the other day. | 03:38 |
@scrottie | every time something blows up, I have to figure out if I'm doing the tests wrong or the code is wrong. | 03:38 |
+perlDreamer | well, starting wednesday I'll be doing the merge of 7.9.11 into WebGUI 8 | 03:39 |
+perlDreamer | that's nigh-on-impossible to do with failing tests that pass, then fail, than pass, etc. | 03:39 |
@scrottie | srand(42). | 03:39 |
@scrottie | hrm. | 03:39 |
@scrottie | I don't know how long until these tests are all passing. | 03:40 |
@scrottie | it'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 |
@scrottie | also, 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 |
@scrottie | I'm open to suggestions for how to handle this. | 03:43 |
@scrottie | all 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 #webgui | 03:47 |
-!- mode/#webgui [+v perlmonkey2] by ChanServ | 03: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-61 | webgui: Scott Walters WebGUI8 * rd57d9ff / lib/WebGUI/Asset/Wobject/WikiMaster.pm : | 04:02 |
CIA-61 | webgui: Don't blow up on view when there are no WebGUI::Asset::WikiPage | 04:02 |
CIA-61 | webgui: child objects under us to feature. Also, the only reason that -1 | 04:02 |
CIA-61 | webgui: on the rand works is because Perl is nice. - http://bit.ly/bbT6Br | 04:02 |
-!- perlmonkey2 [~perlmonke@96.18.42.134] has joined #webgui | 04:16 |
-!- mode/#webgui [+v perlmonkey2] by ChanServ | 04: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 |
@scrottie | do you have a URL or number for that bug? | 04:22 |
@preaction | elnino_: now i remember why it was supposed to be a TagCloud asset, it needed to be able to show the results of a single keyword | 04:28 |
+perlmonkey2 | preaction: 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 fixed | 04:33 |
@preaction | perlmonkey2: WebGUI::AssetHelper::CopyBranch, it's something like $session->response->stream( sub { ... } ); | 04:40 |
@preaction | then that huge subref contains the WebGUI::ProgressBar->run command (which takes another subref) | 04:41 |
+perlmonkey2 | ah, found it. Thanks | 04:41 |
+perlmonkey2 | That makes more sense after looking at the plack docs. | 04:42 |
* scrottie & # bbl | 04:48 |
CIA-61 | webgui: Colin Kuskie master * rb5ef9fc / lib/WebGUI/Keyword.pm : Add POD for the new sortOrder option to Keyword's getMatchingAssets - http://bit.ly/cOTU8A | 04:58 |
+perlDreamer | Should have caught that earlier | 04:58 |
+perlDreamer | preaction, maybe a TagCloud AssetAspect? | 05:00 |
+perlDreamer | just refactor out what's in WikiMaster, and maybe StoryArchive and then make something reusable out of it? | 05:00 |
@preaction | sure, but then a TagCloud asset to span across an entire site would be nice too | 05:00 |
+perlDreamer | that would be a very skinny Asset :) | 05:01 |
@preaction | yeah, 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 |
+perlDreamer | a 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 |
+perlDreamer | that's what I meant by skinny, hardly any code to it at all | 05:27 |
@preaction | it'd need a view method | 05:27 |
@preaction | right, all DataTable does is pass off it's real functionality to WebGUI::Form::DataTable | 05:27 |
@preaction | Article... well... | 05:28 |
+perlDreamer | yeah, Article could use a rewrite | 05:28 |
CIA-61 | webgui: 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/dr1I9v | 05:28 |
+perlDreamer | I think I'm going to wrap it up for tonight, so let me tell you where I'm at | 05:32 |
+perlDreamer | The spectre PID bug, I'd like to use Proc::ProcessTable for checking the process table. | 05:32 |
+perlDreamer | It absolutely does not work on Windows though | 05:32 |
+perlDreamer | I've tried to work around the Account formatting bug, and got nowhere. | 05:33 |
+perlDreamer | Trex'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 slowly | 05:33 |
@preaction | i'll be available tomorrow to fix bugs before the release | 05:34 |
+perlDreamer | first thing tomorrow, I'm going to work on the shunt upgrade | 05:34 |
+perlDreamer | 'night | 05: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 #webgui | 06:58 |
-!- kaare [~kaare@langebro.adapt.dk] has joined #webgui | 08:41 |
-!- kaare is now known as Guest77124 | 08: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 #webgui | 09: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 #webgui | 13:49 |
-!- Netsplit *.net <-> *.split quits: waxhead | 13:55 |
-!- Netsplit over, joins: waxhead | 14:04 |
-!- daviddelikat [~user@h69-129-206-153.mdsnwi.broadband.dynamic.tds.net] has joined #webgui | 14:43 |
-!- vayde [~vayde@63-228-37-47.mpls.qwest.net] has joined #webgui | 14: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 #webgui | 14: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 #webgui | 14: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 #webgui | 14: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 #webgui | 15: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 #webgui | 15:58 |
-!- SquOnk [~emhn@190.72.138.110] has joined #webgui | 16:36 |
SquOnk | Greetings | 16:36 |
SquOnk | preaction: You mentioned that 7.9 does not have SWF files, right? | 16:37 |
-!- perlmonkey2 [~perlmonke@m445636d0.tmodns.net] has joined #webgui | 16:38 |
-!- mode/#webgui [+v perlmonkey2] by ChanServ | 16:38 |
SquOnk | Suggestions on 576912? | 16:49 |
SquOnk | Oops. Wrong window | 16:51 |
SDuensin | Morning. | 16:56 |
+perlmonkey2 | how goes 8 dec? | 17:00 |
+perlmonkey2 | dev | 17:00 |
-!- mducharme [~nothing@S0106000e0cc03cff.wp.shawcable.net] has joined #webgui | 17: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 #webgui | 17:38 |
-!- perlmonkey2 [~perlmonke@m445636d0.tmodns.net] has quit [Ping timeout: 252 seconds] | 17:38 |
-!- fokat [~lem@190.72.138.110] has joined #webgui | 17: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 #webgui | 18:08 |
-!- perlmonkey2 [~perlmonke@m475636d0.tmodns.net] has joined #webgui | 18:29 |
-!- mode/#webgui [+v perlmonkey2] by ChanServ | 18:29 |
-!- vayde_ [~vayde@63-228-39-102.mpls.qwest.net] has joined #webgui | 18: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 #webgui | 18:40 |
-!- mode/#webgui [+o khenn] by ChanServ | 18: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 #webgui | 18:45 |
zylopfa | Anyone here know how to build the wresource on a 64 bit rh fedora system? keeps getting build error when building DBD-mysql-4.010 | 18:46 |
zylopfa | pretty annoying :( | 18:47 |
zylopfa | and cant use the 32 bit build wre cause then sytem says the DBI isnt installed and want it installed | 18:47 |
@preaction | you need to check out the latest WRE from github, there are problems with the 0.9.3 building on 64-bit | 18:47 |
zylopfa | then it fails building it | 18:47 |
zylopfa | You think it will work preaction ? | 18:47 |
@preaction | er... it should build its own DBI no matter what | 18:48 |
zylopfa | and how will i get to github? | 18:48 |
zylopfa | It wont tried on 2 different 64 bit machines | 18:48 |
@preaction | http://github.com/plainblack/wrebuild | 18:48 |
zylopfa | but if there is a new experimental | 18:48 |
zylopfa | thanks a lot Sir | 18:48 |
@preaction | it still won't build as 64-bit, last i knew, but it might work as 32-bit | 18:48 |
@preaction | as long as you have all the proper 32-bit compatibility libraries | 18:48 |
zylopfa | yeah i cant build on 32 in my 64 bit environ it fucked up last time | 18:49 |
zylopfa | yeah priopably dont have the 32 bit ones | 18:49 |
zylopfa | I dont know hwy it wont buildon 64 bit | 18:50 |
zylopfa | I mean all the libries it needs is in the wre | 18:50 |
@preaction | the 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 build | 18:51 |
zylopfa | yeah i got that on the other server i tried to build on | 18:52 |
zylopfa | If i wanna upgrade webgui on my production server i have to reload the os to 32 bit | 18:53 |
@preaction | just the WRE. webgui runs fine | 18:53 |
zylopfa | yeah webfgui is fine | 18:54 |
zylopfa | its architecture neutral | 18:54 |
zylopfa | Can you even install a 32 bit os on a dual core 64 bit system? | 18:55 |
@preaction | yes | 18:58 |
zylopfa | I will do that then, and await the 64bit wre | 18:59 |
zylopfa | cant afford production site to be so low in the release | 18:59 |
zylopfa | Its pretty painless to restore the site | 18:59 |
zylopfa | so i just make the latest wre for it | 18:59 |
zylopfa | and install it | 18:59 |
zylopfa | and do webgui incremental upgrades | 19:00 |
zylopfa | My 32 bit test system i upgraded with 0 sweat | 19:00 |
-!- tavisto [~tavisto@pool-71-186-22-44.gdrpmi.dsl-w.verizon.net] has joined #webgui | 19:01 |
-!- mode/#webgui [+o tavisto] by ChanServ | 19: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 #webgui | 19:08 |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 19:08 |
+perlDreamer | morning, everybody! | 19:08 |
+perlDreamer | Today is a great WebGUI day | 19:08 |
@preaction | it is indeed a great WebGUI day! | 19:08 |
+perlDreamer | have y'all fixed all the bugs for me already? | 19:10 |
@preaction | nope! | 19:10 |
+perlDreamer | I love how you guys aren't greedy and share | 19:10 |
ckotil | is 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 |
+perlDreamer | ckotil, that screen isn't templated | 19:12 |
+perlDreamer | so you'd have to change WebGUI/Operation/VersionTag.pm | 19:12 |
ckotil | ok | 19:14 |
zylopfa | greetings fine perlDreamer | 19:15 |
+perlDreamer | howdy, zylopfa | 19:16 |
+perlDreamer | how are things back east? | 19:16 |
zylopfa | I am having problems building wre 64 bit | 19:16 |
zylopfa | need my production server up to speed | 19:16 |
zylopfa | but it seems i have to downgrade it to 32bit os instead untill the 64 bit can be build | 19:16 |
+perlDreamer | zylopfa, have you checked the forums and wiki for help on this? | 19:16 |
zylopfa | Yeah | 19:17 |
+perlDreamer | no help? | 19:17 |
zylopfa | Some had some tips like .build.sh --ia64 but i did that | 19:17 |
ckotil | zylopfa: i think i ran into a ismiliar problem and ended up building the OS as 32bit | 19:17 |
zylopfa | yeah some had the same problem but not stated how it was done exactly | 19:17 |
zylopfa | haa ckotil thats my aproach now | 19:17 |
zylopfa | I am backing up the home directories and the etc and mail config files now | 19:17 |
zylopfa | then i install the new os this night | 19:18 |
ckotil | i dont remmeber what exactly prevented me from building the wre on a 64bit OS | 19:18 |
ckotil | this was almost 2 yrs ago now | 19:18 |
zylopfa | I got problems building the mod_dbd module for mysql | 19:19 |
ckotil | heh. 2 yrs and 2 days ago actually | 19:19 |
zylopfa | ohh :O | 19:19 |
zylopfa | you have a good memory | 19:19 |
+perlDreamer | mod_dbd? | 19:19 |
ckotil | been thinking about rebuilding the wre lately. but was gonna wait for the next wre release | 19:19 |
zylopfa | yeah the databasemodule for mod perl | 19:19 |
zylopfa | for mysql | 19:19 |
@preaction | ckotil: 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 |
@preaction | otherwise i could set a UI Level of 6 or 7 on that | 19:20 |
+perlDreamer | preaction, the individual controls in the screen aren't UI'd | 19:20 |
@preaction | perlDreamer: but they could be, quite easily | 19:20 |
+perlDreamer | oh yeah, just saying that they aren't currently | 19:20 |
ckotil | preaction: 'it's esoteric' accoridng to some of my users | 19:21 |
zylopfa | now i backed up the /etc, /home /root and the /data directories should be fine then | 19:21 |
ckotil | engineer types, they wanna know what every last detail is/does | 19:21 |
@preaction | ckotil: okay, so if it's esoteric, then they know what it is/does | 19:22 |
ckotil | yeah, im just used to it i guess. fresh eyes must see the approve/deny page differently | 19:23 |
+perlmonkey2 | perlDreamer my phone says u aaid something to me. but i dont seee anything | 19:25 |
+perlDreamer | it must have been last night, perlmonkey2 | 19:28 |
+perlDreamer | you can check the IRC logs at mentalhouse.net | 19:28 |
@preaction | damnit. 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 |
zylopfa | I can make something in perl to do it | 19:33 |
+perlmonkey2 | glueing wget ti validators shiuld take just a few minutes. | 19:35 |
zylopfa | yeah or using lwp | 19:35 |
+perlmonkey2 | . | 19:36 |
+perlmonkey2 | does lwp do multiple requests? | 19:36 |
@preaction | it will also have to be able to log in as admin | 19:36 |
@preaction | WWW::Mechanize would do it | 19:36 |
zylopfa | ahh yeah then you need a service script or what its called in webgui | 19:37 |
@preaction | log in as admin because the problems i'm finding right now are in the Account stuff, so you need a valid user | 19:37 |
+perlDreamer | utility script | 19:37 |
zylopfa | yeah | 19:37 |
+perlDreamer | preaction, for that bug, I downloaded a copy of the site with the issue | 19:38 |
@preaction | it's the greenportal style, it has way-too-specific selectors for the white text | 19:38 |
+perlmonkey2 | migut as well tjrow in jslint ro the valodatoe | 19:39 |
+perlDreamer | perlmonkey2, you either need a bigger keyboard, or smaller thumbs ;) | 19:39 |
+perlmonkey2 | my autocorrect is broke | 19:39 |
@preaction | sounds good to me | 19:39 |
-!- fokat [~lem@190.72.138.110] has joined #webgui | 19:44 |
@preaction | yay! bugs++ | 19:44 |
+perlDreamer | just merged dispatch, testing | 19:48 |
CIA-60 | webgui: Doug Bell master * r89c1afd / (3 files in 2 dirs): fix 11758: formatting on account stuff is wrong - http://bit.ly/cj4lqM | 19:52 |
@preaction | bugs--! yay! | 19:53 |
@preaction | now i'll fix the one i added | 19: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 #webgui | 19:57 |
-!- mode/#webgui [+v perlmonkey2] by ChanServ | 19:57 |
+perlDreamer | preaction, that was fixed in 8 | 19:57 |
+perlDreamer | well, partially | 19:58 |
@preaction | really? the editSettingsForm has been rewritten to use WebGUI::FormBuilder and return a WebGUI::FormBuilder::Fieldset? | 19:58 |
@preaction | even that would be a horrible way to introspect to find what the setting for the style template is | 19:58 |
+perlDreamer | no, not that much, but it's using Moose, so FormBuilder would just be a step away | 20:01 |
+perlDreamer | wait a sec | 20:04 |
+perlDreamer | can't you just build an object and ask it? | 20:04 |
+perlDreamer | it's a valid method | 20:04 |
+perlDreamer | and it talks to the db | 20:04 |
+perlDreamer | and it inherits from Account.pm, so the method name shouldn't vary | 20:05 |
@preaction | look at what editSettingsForm and editSettingsFormSave do: one gives you HTML, one processes direct from the session->form | 20:06 |
@preaction | so 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 saved | 20:07 |
@preaction | that sounds like worse than any code i've ever written ever | 20:07 |
+perlDreamer | but you don't have to parse the form | 20:07 |
+perlDreamer | each plugin has a method to provide that information | 20:08 |
-!- perlmonkey2 [~perlmonke@m375636d0.tmodns.net] has quit [Read error: Connection reset by peer] | 20:08 |
+perlDreamer | getLayoutTemplateId | 20:08 |
@preaction | but 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 #webgui | 20:08 |
-!- mode/#webgui [+v perlmonkey2] by ChanServ | 20:09 |
+perlDreamer | I see | 20:09 |
+perlDreamer | there's no corresponding "set" method for that | 20:09 |
@preaction | i need to SET the style template ID | 20:09 |
-!- vayde [~vayde@63-228-51-145.mpls.qwest.net] has joined #webgui | 20: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-60 | webgui: Doug Bell master * r994f0aa / (3 files in 2 dirs): | 20:26 |
CIA-60 | webgui: fix 11770 Starter needs to set all account plugins | 20:26 |
CIA-60 | webgui: Refactored HomePage wizard to have a method to update | 20:26 |
CIA-60 | webgui: all places where the style template needs to be updated - http://bit.ly/ctE7ds | 20:26 |
CIA-60 | webgui: 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/d6DH8i | 20:34 |
CIA-60 | webgui: Colin Kuskie master * r3e95468 / t/Content/SiteIndex.t : Update this test for the new default content. Fix a duplicated test description. - http://bit.ly/96tnpc | 20:38 |
+perlDreamer | one more test to fix... | 20:41 |
CIA-60 | webgui: Colin Kuskie master * r711f8d6 / t/Keyword.t : Update Keyword test for new default content. - http://bit.ly/c17rWp | 20:41 |
@preaction | curses! right as i push! | 20:42 |
CIA-60 | webgui: Doug Bell master * r0ed496a / (2 files in 2 dirs): | 20:43 |
CIA-60 | webgui: fix 11771 Default newsletter template not set | 20:43 |
CIA-60 | webgui: Pro tip: Never do what I just did. Ever. 8 removes the need for it. - http://bit.ly/cN9x9q | 20:43 |
CIA-60 | webgui: Doug Bell master * ra751c3a / lib/WebGUI/Asset/Wobject/Collaboration.pm : fix edit screen name for collab subclasses - http://bit.ly/ctqphU | 20:43 |
-!- danny_mk [~chatzilla@173-166-55-113-newengland.hfc.comcastbusiness.net] has joined #webgui | 20:46 |
-!- mode/#webgui [+v danny_mk] by ChanServ | 20:46 |
+perlDreamer | preaction, 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 #webgui | 21:01 |
-!- mode/#webgui [+v perlmonkey2] by ChanServ | 21:01 |
* scrottie staggers out of bed | 21: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 #webgui | 21:16 |
-!- perlmonkey2 [~perlmonke@m375636d0.tmodns.net] has quit [Read error: Connection reset by peer] | 21:25 |
-!- perlmonkey2 [~perlmonke@m475636d0.tmodns.net] has joined #webgui | 21:25 |
-!- mode/#webgui [+v perlmonkey2] by ChanServ | 21:25 |
+perlmonkey2 | why root an n1? | 21:42 |
+perlmonkey2 | wrong chan? | 21:43 |
SDuensin | hehehe | 22:06 |
SDuensin | The question is, why NOT? | 22:06 |
@preaction | that's never a good question. | 22:06 |
CIA-60 | webgui: Doug Bell master * r731ae38 / (lib/WebGUI/DateTime.pm t/DateTime.t): add webgui to strftime conversion sub - http://bit.ly/9bg4io | 22:06 |
CIA-60 | webgui: Doug Bell master * r625da8b / (4 files in 4 dirs): fix 11432 DataTable date input - http://bit.ly/cMTzWs | 22: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 #webgui | 22:07 |
-!- mode/#webgui [+v perlmonkey2] by ChanServ | 22:07 |
@preaction | that's it. perlDreamer anything you see on the bug list that we need to fix? looks to me like we got them all | 22:08 |
@preaction | oh | 22:08 |
@preaction | wait | 22:08 |
@preaction | kristi's new bug | 22:08 |
@preaction | CURSE YOU BOPBOP! | 22:08 |
@scrottie | ick. | 22:12 |
-!- perlmonkey2 [~perlmonke@m475636d0.tmodns.net] has quit [Ping timeout: 265 seconds] | 22:18 |
-!- perlmonkey2 [~perlmonke@m375636d0.tmodns.net] has joined #webgui | 22:22 |
-!- mode/#webgui [+v perlmonkey2] by ChanServ | 22:22 |
CIA-60 | webgui: 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/azvuAd | 22:29 |
@preaction | 6 bugs down today | 22:30 |
elnino_ | when you roll back, you lose the changes right? or do they go back into penidng? | 22:30 |
+perlDreamer | they are gone | 22:30 |
+perlDreamer | history | 22:30 |
elnino_ | darn | 22:30 |
@preaction | we 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 specific | 22:30 |
+perlDreamer | still in a database backup | 22:30 |
elnino_ | I wanted to see the site before I changed it. | 22:30 |
elnino_ | and get a screen shot. | 22:31 |
+perlDreamer | oh, hm | 22:31 |
+perlDreamer | I think you can view old asset versions | 22:31 |
+perlDreamer | one page at a time | 22: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 |
+perlDreamer | preaction, even if we remove GreenPortal, that one site will still be problematic | 22:31 |
@preaction | i don't know what that one site is, and i'm not referring to it | 22:32 |
@preaction | this 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 text | 22:32 |
+perlDreamer | ah | 22:33 |
+perlDreamer | elnino_, there should be a "view" button next to the assets in the version tag | 22:34 |
+perlDreamer | just click it | 22:34 |
+perlDreamer | it will work only for that first click | 22:34 |
elnino_ | yep.. thanks! | 22:34 |
+perlDreamer | all subsequent clicks on navs, links, etc, will lose the special ?revisionDate=\d+ query param | 22: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 |
+perlDreamer | bummer | 22:38 |
+perlDreamer | how 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-90 | 22: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 #webgui | 23: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 #webgui | 23: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-60 | webgui: Scott Walters WebGUI8 * r7eda8f7 / t/tests/Test/WebGUI/Asset.pm : | 00:15 |
CIA-60 | webgui: Numerous corrections to tests. | 00:15 |
CIA-60 | webgui: Currently, "Looks like you failed 62 tests of 3882". | 00:15 |
CIA-60 | webgui: Many transient, non-deterministic failures lurk and specific asset types need special cases added in test subclasses. - http://bit.ly/bnFxwA | 00: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 #webgui | 00:20 |
+perlmonkey2 | r all the proposed updates to form:: doje for 8? | 00:20 |
+perlmonkey2 | done | 00:20 |
@preaction | perlmonkey2: they are all in WebGUI::FormBuilder, but there are a couple non-critical methods that need to be done i think | 00:23 |
@preaction | all the changes to WebGUI::Form::Controls are done though | 00:23 |
+perlmonkey2 | nice, maybe when i finish progressbar i can wrap up corma | 00:26 |
+perlmonkey2 | forms too | 00:26 |
+perlDreamer | perlmonkey2, you probably have nightmare time typing passwords | 00:34 |
+perlmonkey2 | i use the voice to text feature. easier to say up up down down left roght left right aba | 00:36 |
+perlmonkey2 | cant even type it | 00: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 #webgui | 00:42 |
+perlDreamer | anyone 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 |
@preaction | http://tldp.org/LDP/abs/html/index.html <- that's the one i always use | 00:44 |
-!- perlmonkey2 [~perlmonke@m375636d0.tmodns.net] has quit [Ping timeout: 252 seconds] | 00:49 |
+perlDreamer | mmm, yes | 00:50 |
+perlDreamer | now we can make variables | 00:50 |
+perlDreamer | this is good | 00:50 |
+perlDreamer | also the -v switch to ls is very good | 00:50 |
+perlDreamer | preaction: http://gist.github.com/518097 | 00:59 |
@preaction | nice | 01:00 |
+perlDreamer | ./merger.sh 7.9 | 01:00 |
+perlDreamer | builds the whole merged upgrade packge | 01:00 |
@tavisto | preaction, 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 |
@preaction | it's doing what it's doing now, so probably just the little one for now | 01:02 |
@tavisto | sounds good | 01:02 |
@preaction | i wanted input, i wanted more, but nobody bothered and now it's 58 minutes until the feature freeze... | 01:02 |
@preaction | and i've still got bugs to fix! | 01:02 |
@tavisto | yep well I was too busy playing solitaire | 01:03 |
@scrottie | make more noise. | 01:03 |
@scrottie | asking for input isn't the same as asking for any input from anyone. | 01:04 |
@scrottie | perlDreamer, I pushed up the Test::Class tests, as they stand. I'll stop pushing things until I can coordinate with you. | 01:04 |
@preaction | scrottie: it was months back. during the early days of 7.9 | 01:04 |
@scrottie | oh. | 01:04 |
@preaction | and i'd remind people about once a month | 01:04 |
@preaction | that's how we finally got the new default content | 01:05 |
+perlDreamer | scrottie, I'll sync up and check things out tomorrow | 01:05 |
@tavisto | yep, Doug did a good job keeping on it. Just not enough people or time | 01:05 |
@scrottie | ah, thought this was something from a couple of days ago. | 01:07 |
@tavisto | and Doug, the freeze is at 6pm PDT, so we're 2hrs 58 minutes away | 01:07 |
@scrottie | I 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 #webgui | 01:15 |
CIA-60 | webgui: Colin Kuskie master * r07b4258 / (2 files in 2 dirs): Shunt upgrade code from 7.8.24 to 7.9.11 - http://bit.ly/9z9Hg7 | 01:17 |
+perlDreamer | I think we need to change how we do upgrade subs | 01:24 |
+perlDreamer | if they include something other than WebGUI::Asset, WebGUI::Storage, they should do a require inside the sub | 01:24 |
+perlDreamer | instead of putting stuff at the top | 01:24 |
@preaction | or they could just do a use inside the sub if you wanted | 01:25 |
+perlDreamer | yeah, as long as it's _inside_ the sub, so it comes with the sub on merges and manual copy/moves | 01:25 |
CIA-60 | webgui: Colin Kuskie master * r2003f05 / docs/upgrades/upgrade_7.8.24-7.9.11.pl : Add missing module use line for WikiPage. - http://bit.ly/bWmFeI | 01:25 |
CIA-60 | webgui: Colin Kuskie master * re10f2c7 / docs/upgrades/upgrade_7.8.24-7.9.11.pl : Add more missing module lines. - http://bit.ly/aUnLXl | 01:25 |
+perlDreamer | the shunt upgrade is debugged and running on default content | 01:26 |
+perlDreamer | I'll regenerate the merged upgrade package just before we release | 01:26 |
+perlDreamer | to handle last second template adds | 01:26 |
Haarg | perlDreamer, for that merge package generator, there are two problems i see | 01:28 |
Haarg | first is that i don't think it will get the packages in the correct order | 01:28 |
Haarg | second is that it may include storage files that aren't used | 01:29 |
+perlDreamer | I won't argue about storage files, because I think you're right | 01:30 |
+perlDreamer | but I'm pretty sure the ordering is fine | 01:30 |
+perlDreamer | ls -v sorts them the right way | 01:30 |
+perlDreamer | in "version" order | 01:30 |
Haarg | ah | 01:30 |
Haarg | gnu extension | 01:30 |
Haarg | won't work on os x | 01:30 |
+perlDreamer | as long as it dies, that's okay | 01:31 |
Haarg | nope | 01:31 |
Haarg | -v Force unedited printing of non-graphic characters; this is the default when output is not to a terminal. | 01:31 |
+perlDreamer | hm, silent death is bad | 01:31 |
+perlDreamer | I'll add a note to the script that you have to use gnu ls, or else | 01:32 |
+perlDreamer | I'd rather do it all in perl, as a wgd plugin | 01:32 |
+perlDreamer | but I had 2/3 of it done in shell already | 01:32 |
-!- perlmonkey2 [~perlmonke@96.18.42.134] has joined #webgui | 01:33 |
-!- mode/#webgui [+v perlmonkey2] by ChanServ | 01:33 |
+perlDreamer | Haarg, are there _any_ gnu-like utilities in Mac OS? | 01:34 |
+perlDreamer | sort has --version-sort | 01:34 |
Haarg | all the base utils are bsd based | 01:34 |
@preaction | i'm trying macport's coreutils package to see if i can get gnu ls from there | 01:34 |
+perlDreamer | well, that means for portability, we'd have to use perl, or manually implement sort ourselves | 01:35 |
+perlDreamer | I'll look into that for the next shunt upgrade | 01:36 |
+perlDreamer | how about storage locations | 01:36 |
+perlmonkey2 | ProgressBar->run is mostly impenetrable. | 01:36 |
+perlDreamer | we could look to see if each one exists now, and only include it if it does | 01:36 |
+perlmonkey2 | perlDreamer: hah, you're running a mac now? I'm so sorry man. | 01:36 |
@preaction | perlmonkey2: yeah, frodwith does some fun evil black magic in there | 01:37 |
+perlDreamer | no, I'm using Ubuntu | 01:37 |
+perlDreamer | Haarg was pointing out that I'd written something that guaranteed my job security :) | 01:37 |
+perlmonkey2 | perlDreamer: the wdg ls idea you were talking about the other day? | 01:37 |
+perlmonkey2 | preaction: yeah, that can't be the best way to do it. It's just so ugly. | 01:38 |
+perlDreamer | Haarg showed me the right way to do what I wanted to do | 01:38 |
+perlDreamer | wgd for-each -0 -f -w'ls asset_url' | 01:38 |
+perlDreamer | then I can post process as needed | 01:38 |
@preaction | perlmonkey2: 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 solution | 01:39 |
Haarg | ls -d packages-7.9.* | perl -e'print map{$_->[1]}sort{$a->[0]<=>$b->[0]}map{/(\d+)$/;[$1,$_]}<>' | 01:40 |
+perlmonkey2 | preaction: well you explaining what it does goes a long ways towards me understanding what's going on. | 01:40 |
@preaction | Haarg, perlDreamer: The MacPorts "coreutils" package installs gnu ls as "gls" | 01:40 |
Haarg | there's probably a better way but that would work | 01:40 |
Haarg | yeah, it's easy enough to get gnu utils | 01:41 |
+perlDreamer | except on Linux systems, it won't be called gls | 01:41 |
Haarg | simpler if you don't need to though | 01:41 |
+perlDreamer | let me try this other sorter that Haarg just posted | 01:41 |
+perlDreamer | Haarg, let's talk more about the storage locations | 01:42 |
Haarg | ls -d packages-7.9.* | sort -t. -g -k3 | 01:42 |
-!- daviddelikat [~user@h69-129-206-153.mdsnwi.broadband.dynamic.tds.net] has quit [Quit: Leaving.] | 01:44 |
+perlDreamer | due to me specifying that it should be run from inside the directory, it needs to be -k5, but it works | 01:45 |
+perlDreamer | Haarg, why do you think it will have unused storage locations? | 01:47 |
Haarg | old revisions of the same asset | 01:47 |
Haarg | their storage files will be extracted | 01:47 |
Haarg | then the .json files will be overwritten | 01:47 |
Haarg | but the old version's storage location will remain | 01:48 |
-!- daviddelikat [~user@h69-129-206-153.mdsnwi.broadband.dynamic.tds.net] has joined #webgui | 01:49 |
+perlDreamer | so, during the rename to assetId, I should check to see if the assetId file already exists | 01:50 |
+perlDreamer | if it does, I can open the old file, find the storageId, and remove that file | 01:50 |
Haarg | probably easier to do it a different way | 01:50 |
+perlDreamer | find the name of all storage locations when I'm done, and remove any that don't exist? | 01:52 |
Haarg | instead of *.storage in the tar czf | 01:52 |
Haarg | perl -MJSON=decode_json -le'for(@ARGV){open $fh, "<", $_;local $/;$f=<$fh>;print "$_.storage" for @{decode_json($f)->{storage}}}' *.json | sort -u | 01:52 |
+perlDreamer | there are 35 unused storage locations | 01:56 |
CIA-60 | webgui: Colin Kuskie master * rb45c693 / docs/upgrades/packages-7.8.24-7.9.11/merged.wgpkg : Remove unused storage locations. - http://bit.ly/9vpcM7 | 02:01 |
+perlmonkey2 | Is 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 |
@preaction | do a CopyBranch on the Import Node, With Descendants | 02:05 |
+perlmonkey2 | preaction: thanks | 02:06 |
+perlmonkey2 | This page says TOADO. I'm guessing something went wrong. | 02:14 |
@preaction | what page? | 02:15 |
@preaction | i'm guessing it's a to-do spelled like an 8 year old who listens to too much Zappa | 02:15 |
+perlmonkey2 | hah, I was trying to find the CopyBranch option and was in the tree view of the import node. | 02:16 |
@preaction | click on Asset Helpers in the admin bar | 02:16 |
+perlmonkey2 | And that popped up as a JS alert. | 02:16 |
+perlmonkey2 | Did the session managing change? I think I've found an edgecase where sessions get broken. | 02:17 |
@preaction | session managing? | 02:19 |
CIA-60 | webgui: Doug Bell master * rbd4e7a2 / (3 files in 3 dirs): | 02:22 |
CIA-60 | webgui: fix 11768 Edit Branch does not update wgaccess | 02:22 |
CIA-60 | webgui: I can't seem to reproduce this problem in the tests... - http://bit.ly/bNMtzF | 02:22 |
CIA-60 | webgui: Colin Kuskie master * rcb2bb75 / (7 files in 4 dirs): Remove notes and diags - http://bit.ly/b3pYGW | 02:32 |
+perlDreamer | we're leaking two scratch variables, somewhere | 02:33 |
+perlDreamer | aside from that, the tests are pretty clean right now | 02:33 |
+perlmonkey2 | preaction: user sessions. | 02:34 |
+perlmonkey2 | preaction: 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 |
@preaction | perlmonkey2: how about we start with what problem you are having? | 02:35 |
+perlmonkey2 | Seems like if I do refreshes while in Admin mode, I get the same admin page, but can't do anything. | 02:36 |
+perlmonkey2 | preaction: yeah, I'll not waste your time. Next time it happens I'll carefully note what occurred and file a bug report. | 02:36 |
@preaction | so would it be evil if, in order to work around WebGUI::Text being the most horrible thing ever, I required a new prerequisite | 02:38 |
+perlmonkey2 | something better than Text::CSV? | 02:39 |
@preaction | no, something to normalize line-endings | 02:39 |
+perlmonkey2 | like \n vs \r? | 02:39 |
@preaction | Text::CSV has the same problem: you have to magically know what kind of line endings the CSV file you are about to parse has | 02:39 |
+perlDreamer | every CSV module has that problem, from what I've seen on CPAN | 02:40 |
@preaction | http://search.cpan.org/~audreyt/PerlIO-eol-0.14/eol.pm <- what if we fix it at the IO layer? | 02:40 |
+perlDreamer | how does it tell if we have \r\n inside quotes, as opposed to the "real" end of the line? | 02:42 |
@preaction | the Text::CSV module handles that | 02:42 |
@preaction | that's what the binary => 1 thing does | 02:43 |
+perlDreamer | I'm sorry, I wasn't clear | 02:43 |
+perlDreamer | how does PerlIO::eol tell the difference? | 02:43 |
@preaction | difference of what? | 02:43 |
+perlDreamer | between \r,\n inside quotes, and at the end of the line | 02:44 |
@preaction | it doesn't, because we don't care: someone is trying to make a line break somehow | 02:44 |
+perlDreamer | so if I pass it "\r\n",007,GoldFinger\r"this",006,that\r | 02:45 |
+perlDreamer | it won't break the CSV file? | 02:45 |
@preaction | okay, first and foremost: CSV was never ever ever meant to handle that. | 02:45 |
@preaction | so if someone tries to give us that, we rightfully deserve to spit in their face | 02:46 |
+perlDreamer | it's manually line wrapped input | 02:46 |
+perlDreamer | I think if you built a Thingy with a text area in it, you could make that | 02:46 |
@preaction | the "\r\n"? when \r is the line-ending, as your example has at the end? | 02:46 |
+perlDreamer | sure, Firefox does that right now | 02:47 |
@preaction | if the \n is in there, someone is being malicious | 02:47 |
+perlDreamer | \r\n would be valid content to a text-area | 02:47 |
@preaction | i 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 Thingy | 02:47 |
@preaction | perlDreamer: but then they'd ALL be \r\n, not half or almost half or just more than half | 02:48 |
+perlDreamer | I don't think we can count on any user generated input being sane | 02:50 |
+perlDreamer | SquOnk had the most reliable idea that's been offered so far | 02:51 |
+perlDreamer | and that's to show the user what we think they gave us | 02:51 |
+perlDreamer | and ask them to validate it | 02:51 |
@preaction | then how do they fix it? | 02:51 |
+perlDreamer | there's a Try Again button | 02:51 |
+perlDreamer | that asks WebGUI to choose the next out of a list of line endings | 02:52 |
@preaction | a magic try again button? | 02:52 |
+perlDreamer | yup | 02:52 |
@preaction | no | 02:52 |
+perlDreamer | why not? | 02:52 |
+perlDreamer | first, try \r | 02:52 |
+perlDreamer | then try \r\n | 02:53 |
+perlDreamer | then use \n | 02:53 |
+perlDreamer | the user never has to know about line endings | 02:53 |
+perlDreamer | or choose them | 02:53 |
@preaction | when 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 \r | 02:53 |
@preaction | no, they're just going to get pissed off about clicking Try Again twice every time they have to upload to a Thingy | 02:53 |
CIA-60 | webgui: 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/axsZ6Y | 02:54 |
+perlDreamer | I 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 not | 02:58 |
+perlDreamer | but there ought to be some really thorough testing of ugly CSV files to make sure it works | 02:58 |
+perlDreamer | so that when we find out where it breaks, we don't break other stuff trying to fix it | 02:59 |
CIA-60 | webgui: khenn master * r1ef6f19 / lib/WebGUI/Asset/Wobject/AssetReport.pm : Removed inheritance of Installable Aspect which was there for testing purposes only - http://bit.ly/bc3GeA | 02:59 |
+perlmonkey2 | You know what OS is uploading to you | 03:02 |
@preaction | perlmonkey2: how? | 03:04 |
+perlmonkey2 | preaction: user-agent almost always includes OS. | 03:07 |
+perlmonkey2 | Although you could get a windows file from a linux submit. | 03:07 |
+perlmonkey2 | hasn't someone solved this problem? Surely some ninja has developed the best(tm) heuristic for determining line endings. | 03:08 |
+perlmonkey2 | I 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-60 | webgui: khenn master * r8c83d15 / (2 files in 2 dirs): Fixed documentation and i18n issues - http://bit.ly/9qtVIW | 03:11 |
CIA-60 | webgui: Colin Kuskie master * rc51b256 / (2 files in 2 dirs): Merge AssetReport into the shunt upgrade. - http://bit.ly/95xAjM | 03:13 |
CIA-60 | webgui: Colin Kuskie master * rf91d025 / etc/WebGUI.conf.original : Add AssetReport to the default WebGUI config file. - http://bit.ly/9E7FSg | 03: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, bbiaw | 03:19 |
@scrottie | laters... | 03:19 |
-!- elnino_ [~ninow@c-98-240-143-131.hsd1.mn.comcast.net] has quit [Quit: Leaving] | 03:27 |
@scrottie | okay, time to get myself cleaned up and go say hi to the real world. | 03:54 |
@preaction | good luck, i'll keep the antibiotics on standby | 03:54 |
+perlmonkey2 | Strange, log in log out, restart server, refresh page, nothing is allowing me to turn on admin. Was just working. | 04:03 |
+perlDreamer | WebGUI is too keen to allow you to fool it, perlmonkey2 | 04:04 |
+perlmonkey2 | heh, ?admin=on doens't work :P | 04:05 |
@preaction | check the error log | 04:05 |
+perlDreamer | op=switchOnAdmin | 04:05 |
@preaction | not in 8 | 04:05 |
+perlmonkey2 | /var/log/webgui.log shows nothing when I click to turn on admin | 04:06 |
+perlmonkey2 | no js errors. Nothing. | 04:07 |
@preaction | might want to bump the log level up to INFO | 04:09 |
+perlmonkey2 | hmm, 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 |
@preaction | do you have wgdev installed? wgd reset -d <- easy way to get to a working environment | 04:10 |
+perlmonkey2 | preaction: nope, but I'll just blow away the db and start over. | 04:12 |
+perlDreamer | perlmonkey2: wget http://www.haarg.org/wgdev | 04:14 |
+perlDreamer | that'll get you a wgd to use | 04:15 |
+perlDreamer | or is it http://www.haarg.org/wgd? | 04:15 |
+perlDreamer | one of those | 04:15 |
+perlDreamer | but no need to clone a repo, or do anything | 04:15 |
Haarg | wgd | 04:15 |
+perlDreamer | you really should have wgd, if only for wgd reset | 04:15 |
+perlDreamer | wgd edit | 04:15 |
+perlDreamer | wgd help | 04:15 |
CIA-60 | webgui: khenn master * r21f23bf / (2 files in 2 dirs): Added Template Help for Asset Report - http://bit.ly/by9L0h | 04:16 |
CIA-60 | webgui: khenn master * r91d4aa3 / (3 files in 2 dirs): Fixed i18n inside templates. Fixed URL of folder to match asset - http://bit.ly/bgjBXk | 04:16 |
CIA-60 | webgui: khenn master * radf3fe6 / (3 files in 3 dirs): Merge branch 'master' of git@github.com:plainblack/webgui - http://bit.ly/cCwPDT | 04:16 |
+perlmonkey2 | perlDreamer: is there a github link so I can keep up to date? | 04:17 |
+perlmonkey2 | brb have to go move the water. | 04:17 |
+perlDreamer | http://www.github.com/haarg/wgdev? | 04:17 |
@preaction | perlmonkey2: look up haarg on github | 04:17 |
Haarg | http://haarg.org/wgd for latest release as a single file | 04:17 |
@preaction | perlDreamer: anything you need me to do? i'm satisfied with the bug list for now | 04:22 |
-!- fokat [~lem@190.72.138.110] has quit [Quit: Ex-Chat] | 04:35 |
CIA-60 | webgui: khenn master * rc398930 / (3 files in 3 dirs): Fixed international problem in JavaScript file - http://bit.ly/dBuJb5 | 04:44 |
+perlDreamer | Haarg, I thought we went through the UserList asset and decided that you couldn't abuse it with unvalidated input? | 04:58 |
Haarg | we decided that it wasn't a huge security issue and that you couldn't get access to extra data or modify anything | 04:59 |
Haarg | still a bug though | 04:59 |
Haarg | if you search for something with a quote in it you'll get errors | 04:59 |
Haarg | so it's not a security bug | 05:01 |
@tavisto | preaction, 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 |
@preaction | tavisto: just give me the one new pic you want and i'll handle it | 05:06 |
@preaction | perlDreamer: i'm fixing the WebGUI::pluggable hole | 05:06 |
+perlDreamer | I'm looking at UserList, and wondering why it's in the core | 05:06 |
@preaction | they were just so darned proud of finally contributing something! | 05:06 |
CIA-60 | webgui: Doug Bell master * rbb2e321 / (3 files in 3 dirs): fix 11773 Pluggable allows arbitrary module load - http://bit.ly/btW9i7 | 05:18 |
+perlDreamer | preaction: you should try dies_ok | 05:19 |
+perlDreamer | from Test::Exception | 05:19 |
CIA-60 | webgui: Doug Bell master * re71ce09 / lib/WebGUI/Storage.pm : add "pm" to list of verboten uploads - http://bit.ly/9dZe7l | 05:19 |
@preaction | i was going to, but i was not sure we had Test::Exception as a prereq | 05:19 |
+perlDreamer | we do | 05:19 |
+perlDreamer | to be honest, I think we could take about any testing module as a preref, since Moose and its descendants use it | 05:20 |
+perlDreamer | except for Test::Sweet | 05:20 |
CIA-60 | webgui: Doug Bell master * rda4f2f0 / lib/WebGUI/Pluggable.pm : graham's regex makes more sense than mine - http://bit.ly/bpnxnn | 05:21 |
CIA-60 | webgui: Doug Bell master * r7861679 / t/Pluggable.t : add a test for :::: - http://bit.ly/cCjs8q | 05:26 |
CIA-60 | webgui: Doug Bell master * r50d81eb / t/Pluggable.t : use Test::Exception instead - http://bit.ly/aMwawt | 05:26 |
-!- perlmonkey2 [~perlmonke@96.18.42.134] has quit [Ping timeout: 258 seconds] | 05:31 |
CIA-60 | webgui: 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/azQIwf | 05:36 |
CIA-60 | webgui: khenn master * rda2b55d / (4 files in 3 dirs): Merge branch 'master' of git@github.com:plainblack/webgui - http://bit.ly/9eeilR | 05:36 |
+perlDreamer | preaction, Haarg: aren't these SQL clauses identical | 05:53 |
+perlDreamer | column like "value" | 05:53 |
+perlDreamer | column = "value" | 05:53 |
+perlDreamer | or is like case insensitive? | 05:54 |
@preaction | i believe like implies case-insensitivity | 05:54 |
+perlDreamer | yup | 05:54 |
+perlDreamer | I'm almost done with the UserList SQL injection | 05:56 |
+perlDreamer | I need to serve some ice cream to the troops first | 05:56 |
-!- elnino [~ninow@c-98-240-143-131.hsd1.mn.comcast.net] has joined #webgui | 05:57 |
elnino | hi! | 05:57 |
elnino | when in /root/import, and you're viewing in via tha asset manager. | 05:58 |
elnino | and then you click on "back to site" | 05:58 |
elnino | what is that view called? | 05:58 |
elnino | folder view? | 05:58 |
@preaction | elnino: well. it's the folder view plus the Fail Safe style | 06:00 |
@preaction | perlDreamer: "the"? you mean the 2 dozen? | 06:00 |
elnino | ok. I'll call it that in my rfe | 06:00 |
elnino | nite! | 06:07 |
-!- elnino [~ninow@c-98-240-143-131.hsd1.mn.comcast.net] has quit [Quit: Leaving] | 06:07 |
+perlDreamer | preaction, "the" can be plural in English... | 06:16 |
* perlDreamer looks shiftily from side to side for bopbop to come racing in with a big stick | 06:16 |
@preaction | but injection needs an 's' | 06:16 |
CIA-60 | webgui: khenn master * r6e9a15c / lib/WebGUI/Asset/Wobject/AssetReport.pm : Fixed issues with sort order - http://bit.ly/9Lckk1 | 06:17 |
+perlDreamer | "injection" can be plural in English, too | 06:17 |
@preaction | SHENANIGANS | 06:18 |
+perlDreamer | please give that the once over for me | 06:19 |
+perlDreamer | http://gist.github.com/518421 | 06:19 |
@preaction | looks good to me | 06:20 |
@preaction | wait, what about checking sortBy that it's valid | 06:21 |
@preaction | see what Frank did with valid_column or whathaveyou | 06:21 |
CIA-60 | webgui: Doug Bell master * r1a22d13 / lib/WebGUI/Asset/Wobject/AssetReport.pm : document why we only allow admins to add - http://bit.ly/aFLSNO | 06:23 |
+perlDreamer | preaction, nothing like real column validity in there | 06:35 |
+perlDreamer | there is a secure_identifier | 06:35 |
@preaction | yeah that one | 06:35 |
+perlDreamer | which splits column and table into parts and quotes both | 06:35 |
+perlDreamer | but UserList does the same thing | 06:35 |
+perlDreamer | $sortBy = join '.', map { $dbh->quote_identifier($_) } split /\./, $sortBy; | 06:35 |
@preaction | ah | 06:35 |
@preaction | that wasn't part of the patch, so i didn't see it | 06:35 |
+perlDreamer | it was original | 06:35 |
@preaction | yeah, that looks like it's actually validated against a list of possibles | 06:36 |
@preaction | looks good to me, it's 11pm and i stopped caring 4 hours ago. | 06:37 |
+perlDreamer | go to bed, I'll do the release and associated work | 06:37 |
+perlDreamer | right after the kiddos go to bed | 06:37 |
CIA-60 | webgui: Colin Kuskie master * r0e7bc7a / (2 files in 2 dirs): Fix use of raw param calls in UserList. Fixes bug #11774 - http://bit.ly/bSkOHq | 06:37 |
@preaction | perlDreamer: one more bug fix quick! | 06:42 |
@preaction | nevermind. i'll just post it, it's not a blocking problem | 06:43 |
+perlDreamer | GO TO BED! | 06:43 |
+perlDreamer | BED, you know that horizontal thing with the soft sheets and blankets!!??? | 06:43 |
CIA-60 | webgui: Colin Kuskie master * r6eba088 / t/Asset/File/setfile.t : Update test to accomodate new restriction on uploading .pm files. - http://bit.ly/bDkCMK | 06:50 |
@preaction | wtf, didn't we do that before? i remember changing it and i remember you having to update the test after me | 06:51 |
CIA-60 | webgui: Colin Kuskie master * r19199ca / (2 files in 2 dirs): Fix bugs in AssetReport code, and test. - http://bit.ly/batubW | 06:58 |
@preaction | remind me to write a nastygram to frank for that one. | 07:04 |
+perlDreamer | is the .pm stuff supposed to be added everywhere? | 07:07 |
+perlDreamer | it's only in addFileFromFileSytem, not addFileFromFormPost | 07:07 |
+perlDreamer | preaction: it's not in addFileFromScalar, either | 07:08 |
CIA-60 | webgui: Colin Kuskie master * r38788f1 / (t/Storage.t t/supporting_collateral/littleTextFile): Use a safe file for doing upload and addFile tests. - http://bit.ly/cDQPVF | 07:11 |
CIA-60 | webgui: Colin Kuskie master * rd06b7b5 / t/Shop/Vendor.t : Fix a test with random false fails. - http://bit.ly/b6aqlI | 07:25 |
CIA-60 | webgui: Colin Kuskie master * r26f34a3 / docs/upgrades/packages-7.8.24-7.9.11/merged.wgpkg : Updated merged WebGUI package. - http://bit.ly/dq0M1R | 07:31 |
CIA-60 | webgui: Colin Kuskie master * rf8c65f4 / docs/create.sql : Ready for 7.9.11 release. - http://bit.ly/cbeG53 | 07:37 |
-!- gugod [~gugod@114-32-222-155.HINET-IP.hinet.net] has joined #webgui | 07:48 |
-!- gugod [~gugod@114-32-222-155.HINET-IP.hinet.net] has quit [Client Quit] | 07:48 |
CIA-60 | webgui: root master * r63865eb / lib/WebGUI.pm : WebGUI 7.9.11 is stable. - http://bit.ly/9HCEXF | 07:55 |
-!- kaare [~kaare@langebro.adapt.dk] has joined #webgui | 08:15 |
-!- kaare is now known as Guest80931 | 08:15 |
CIA-60 | webgui: Colin Kuskie master * re55e7d2 / (4 files in 4 dirs): Ready for 7.9.12 development. - http://bit.ly/9gppVt | 08:18 |
@tavisto | good work all.. time for sleep | 08:20 |
+perlDreamer | later, tavisto | 08:20 |
@tavisto | night | 08: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 #webgui | 11: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 #webgui | 14:10 |
-!- mode/#webgui [+v MrHairgrease] by ChanServ | 14:10 |
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has joined #webgui | 15:01 |
-!- ryuu_ro [~rory@194.171.50.69] has joined #webgui | 15: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 #webgui | 15:46 |
SDuensin | Morning. | 16:00 |
-!- perlmonkey2 [~perlmonke@m415636d0.tmodns.net] has joined #webgui | 16:16 |
-!- mode/#webgui [+v perlmonkey2] by ChanServ | 16:16 |
-!- mducharme [~nothing@S0106000e0cc03cff.wp.shawcable.net] has joined #webgui | 16:54 |
-!- perlDreamer [~colink@pool-173-50-255-102.ptldor.fios.verizon.net] has joined #webgui | 16:57 |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 16:57 |
+perlDreamer | morning, folks | 17:05 |
+MrHairgrease | GOOD MORNING! | 17:06 |
+perlDreamer | Greasings! | 17:07 |
+MrHairgrease | indeed | 17:07 |
+perlDreamer | hey, why did you go and break webgui.org? | 17:08 |
+MrHairgrease | i 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 #webgui | 17:50 |
-!- mode/#webgui [+v perlmonkey2] by ChanServ | 17:50 |
-!- xootom [5eaba154@gateway/web/freenode/ip.94.171.161.84] has joined #webgui | 17:55 |
xootom | strange 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 #webgui | 18:00 |
+perlDreamer | xootom, we're working on that problem right now | 18:02 |
xootom | ah ok thanks :) | 18:02 |
+MrHairgrease | is it related to the wg.org issue? | 18:02 |
+perlDreamer | most likely | 18:02 |
xootom | I 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 |
Haarg | CHI isn't used with the default config anyway so it shouldn't be a problem. | 18:03 |
+perlDreamer | there are some missing dependencies, like Test::Warnings, and one other that I forget off the top of my head | 18:04 |
Haarg | wreservice 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 |
+perlDreamer | the really funny thing, Haarg, is that curl says that there's really a page there | 18:05 |
+perlDreamer | it doesn't report a 404 | 18:05 |
+perlDreamer | but wget, and LWP do | 18:05 |
xootom | yeah 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 gugod | 18:07 |
Haarg | curl gets a 404 too, but it doesn't show you the http response code by default | 18:07 |
+perlDreamer | curl showed me a real page | 18:08 |
Haarg | yes | 18:08 |
+perlDreamer | but maybe it's the NotFound page... | 18:08 |
Haarg | because there is a real page | 18:08 |
Haarg | seems like Content::Asset doesn't have anything to use the default page for '/' | 18:12 |
+perlDreamer | yes, it's due to dispatch | 18:12 |
-!- perlmonkey2 [~perlmonke@m315636d0.tmodns.net] has quit [Ping timeout: 265 seconds] | 18:21 |
-!- perlmonkey2 [~perlmonke@m315636d0.tmodns.net] has joined #webgui | 18:22 |
-!- mode/#webgui [+v perlmonkey2] by ChanServ | 18:22 |
+perlDreamer | Haarg, can I throw a test bug your way? | 18:34 |
Haarg | i can take a look | 18:35 |
-!- daviddelikat [~user@h69-128-106-50.mdsnwi.dedicated.static.tds.net] has quit [Quit: Leaving.] | 18:35 |
+perlDreamer | If, in a test, the defaultPage is set to a test asset, it's not cleaned up | 18:35 |
+perlDreamer | i think the settings should be restored before the asset and version tag cleanup happens | 18:35 |
-!- tavisto [~tavisto@pool-71-186-22-44.gdrpmi.dsl-w.verizon.net] has joined #webgui | 18:38 |
-!- mode/#webgui [+o tavisto] by ChanServ | 18:38 |
CIA-60 | webgui: Colin Kuskie master * r02121fb / (3 files in 3 dirs): Fix problems with getting the default page. Fixes bug #11778. - http://bit.ly/9iRweA | 18:39 |
+perlDreamer | xootom: if you grab a copy of the that patch and apply it, will fix the monitoring problems | 18:39 |
xootom | thank you | 18:39 |
Haarg | perlDreamer, that seems like a reasonable change to make to the testing stuff. might make the code rather ugly though. | 18:43 |
xootom | great, that's done it | 18:44 |
+perlDreamer | Haarg: maybe it's best that we leave it as it is, and just do what I did by hand in t/Content/Asset.t | 18:46 |
* perlDreamer goes to the gym to relax for a bit | 18:47 |
-!- perlmonkey2 [~perlmonke@m315636d0.tmodns.net] has quit [Read error: Connection reset by peer] | 19:57 |
-!- perlmonkey2 [~perlmonke@m415636d0.tmodns.net] has joined #webgui | 19:58 |
-!- mode/#webgui [+v perlmonkey2] by ChanServ | 19:58 |
-!- MrHairgrease [~martin@194.171.50.69] has left #webgui [] | 19:59 |
-!- perlmon8 [~perlmonke@m315636d0.tmodns.net] has joined #webgui | 20:02 |
-!- perlmonkey2 [~perlmonke@m415636d0.tmodns.net] has quit [Read error: Connection reset by peer] | 20:02 |
-!- rizen [~rizen@69.71.243.243] has joined #webgui | 20:02 |
-!- mode/#webgui [+o rizen] by ChanServ | 20:02 |
-!- vayde [~vayde@70-59-75-125.mpls.qwest.net] has joined #webgui | 20: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 frodwith | 20:23 |
-!- perlmon8 [~perlmonke@m315636d0.tmodns.net] has quit [Read error: Connection reset by peer] | 20:24 |
-!- perlmonkey2 [~perlmonke@m415636d0.tmodns.net] has joined #webgui | 20:24 |
-!- mode/#webgui [+v perlmonkey2] by ChanServ | 20:24 |
CIA-60 | webgui: Graham Knop WebGUI8 * r996acb5 / lib/WebGUI/Asset/Wobject/SQLReport.pm : fix typo in SQLReport - http://bit.ly/dlyHC0 | 20:29 |
-!- perlmonkey2 [~perlmonke@m415636d0.tmodns.net] has quit [Read error: Connection reset by peer] | 20:38 |
-!- perlmonkey2 [~perlmonke@m415636d0.tmodns.net] has joined #webgui | 20:39 |
-!- mode/#webgui [+v perlmonkey2] by ChanServ | 20:39 |
+perlDreamer | Haarg, you've exceeded your weekly bug limit | 20:51 |
+perlDreamer | in order to file more bugs, they have to be accompanied with patches and or tests | 20:51 |
Haarg | i keep thinking of potential security problems | 20:51 |
Haarg | and all of the ones i think of turn out to exist | 20:52 |
* scrottie nods at Haarg | 20: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 #webgui | 20:57 |
-!- perlmon67 [~perlmonke@m415636d0.tmodns.net] has joined #webgui | 21:05 |
-!- perlmonkey2 [~perlmonke@m415636d0.tmodns.net] has quit [Read error: Connection reset by peer] | 21:05 |
@preaction | perlDreamer: 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 again | 21:15 |
perlmon67 | preaction short on hands? | 21:19 |
@preaction | perlmon67: no. just violations of policy that i allowed because i have no spine | 21:20 |
perlmon67 | doh | 21:20 |
-!- perlmonkey2 [~perlmonke@m415636d0.tmodns.net] has joined #webgui | 21:32 |
-!- mode/#webgui [+v perlmonkey2] by ChanServ | 21:32 |
-!- perlmon67 [~perlmonke@m415636d0.tmodns.net] has quit [Read error: Connection reset by peer] | 21:32 |
* perlDreamer passes preaction a spine | 21:34 |
+perlDreamer | I have to have extra because I have kids | 21:34 |
ryuu_ro | don't let them know you have a couple of spines | 21:35 |
ryuu_ro | they will try harder to break them :) | 21:36 |
-!- perlmonkey2 [~perlmonke@m415636d0.tmodns.net] has quit [Client Quit] | 21:37 |
+perlDreamer | ryuu_ro, may you be blessed with lots of gifted, smart and stubborn children | 21:38 |
ryuu_ro | hmmmm, I only have one spine at the moment so I need to gather some before taking that road | 21:40 |
-!- perlmonkey2 [~perlmonke@m415636d0.tmodns.net] has joined #webgui | 21:40 |
-!- mode/#webgui [+v perlmonkey2] by ChanServ | 21:40 |
-!- perlmonkey2 [~perlmonke@m415636d0.tmodns.net] has quit [Quit: -a-] | 21:44 |
-!- perlmonkey2 [~perlmonke@m315636d0.tmodns.net] has joined #webgui | 21:55 |
-!- mode/#webgui [+v perlmonkey2] by ChanServ | 21:55 |
-!- perlmonkey2 [~perlmonke@m315636d0.tmodns.net] has quit [Client Quit] | 22:00 |
-!- perlmonkey2 [~perlmonke@m315636d0.tmodns.net] has joined #webgui | 22:00 |
-!- mode/#webgui [+v perlmonkey2] by ChanServ | 22: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 #webgui | 22:15 |
-!- mode/#webgui [+v perlmonkey2] by ChanServ | 22: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 #webgui | 22:36 |
@preaction | perlDreamer: which one are you working on? | 22:51 |
+perlDreamer | still working on the Matrix | 22:51 |
+perlDreamer | it's busted by the last bugfix | 22:51 |
@preaction | fun! | 22:52 |
+perlDreamer | I missed some corner cases in the dash escaping | 22:52 |
+perlDreamer | do you want me to sideline it for some other bugs? | 22:52 |
@preaction | i'll start on the remote holes in graham's list | 22:52 |
CIA-60 | webgui: Doug Bell master * r0957759 / (3 files in 3 dirs): fix 11779 SQLReport can run arbitrary queries - http://bit.ly/ansB6T | 22:52 |
@preaction | no, just wondering so i can do something | 22:52 |
@preaction | we might need to fast-track updating our shared hosting sites though | 22:52 |
+perlDreamer | to 7.9.12? | 22:53 |
@preaction | yes | 22:53 |
+perlDreamer | not tonight | 22:53 |
@preaction | no | 22:55 |
@preaction | but within a week or two | 22:56 |
+perlDreamer | but before the WUC | 22:57 |
@preaction | yes | 22:57 |
+perlDreamer | in javascript, hash keys can contain dashes, right? | 23:07 |
@preaction | quote them | 23:07 |
@preaction | and then they can contain anything | 23:07 |
Haarg | preaction you are going to hate me | 23:13 |
Haarg | /*! UPDATE userProfileData SET firstName="foo" WHERE */ "SELECT"="SELECT" | 23:13 |
@preaction | mysql lets you do that? nice | 23:15 |
Haarg | or | 23:15 |
Haarg | -- SELECT\nUPDATE userProfileData SET firstName="foo" | 23:15 |
@preaction | so comments should also be removed before running | 23:15 |
@preaction | but i'll add those cases to queryIsValid as well | 23:15 |
Haarg | http://dev.mysql.com/doc/refman/5.1/en/comments.html | 23:16 |
@scrottie | eeep | 23:19 |
@scrottie | the blackhats are way ahead of you, preaction. | 23:19 |
* perlDreamer has to run an errand, bbiaw | 23:20 |
@preaction | always | 23:20 |
-!- daviddelikat [~user@h69-128-106-50.mdsnwi.dedicated.static.tds.net] has joined #webgui | 23:20 |
CIA-60 | webgui: Colin Kuskie master * r0f475dd / t/Asset/Wobject/Matrix.t : Update the test to handle safe (- => _____) listingIds. - http://bit.ly/b7oSBE | 23:21 |
@scrottie | http://dev.mysql.com/doc/refman/5.1/en/privileges-provided.html#priv_file ... this privilege should be disabled. | 23:23 |
@scrottie | by install, or whatever. | 23:23 |
Haarg | pretty sure it is with the wre | 23:24 |
@preaction | yep. pretty sure the WRE just does GRANT ALL ON db.* | 23:24 |
CIA-60 | webgui: Doug Bell master * r4e9a2c0 / (3 files in 3 dirs): fix possible vulnerability loading template parser - http://bit.ly/bPKIpH | 23:38 |
CIA-60 | webgui: Doug Bell master * r39e3c4f / docs/changelog/7.x.x.txt : update changelog - http://bit.ly/9veZze | 23:56 |
CIA-60 | webgui: Doug Bell master * r6b1e02f / (3 files in 3 dirs): fixed possible vulnerability loading help files - http://bit.ly/95dspl | 23:56 |
--- Day changed Thu Aug 12 2010 |
-!- rizen [~rizen@69.71.243.243] has quit [Quit: rizen] | 00:03 |
+perlDreamer | preaction, what do we have left? | 00:08 |
@preaction | package and ziparchive bypasses storage security | 00:08 |
@preaction | i'm doing full test runs to verify my last few commits | 00: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 #webgui | 00:10 |
+perlDreamer | I'll work on those | 00:10 |
+perlDreamer | also, all the Storage upload methods need to be changed to rename .pm files | 00:11 |
+perlDreamer | which is going to wreak havoc with the Bazaar | 00:11 |
@preaction | they should be zipped, and i could swear i added pm to the list of verboten extentions | 00:12 |
+perlDreamer | you did, to one of the methods | 00:12 |
+perlDreamer | we need to extract out that list, and make it a package variable | 00:12 |
+perlDreamer | In fact, I'm going to do that now, so that I can use it on the ZipArchive and package methods | 00:13 |
-!- carogray1 [~Caroline@70-12-41-46.pools.spcsdns.net] has quit [Read error: Connection reset by peer] | 00:21 |
@preaction | getting some test failures on syndicated content | 00:24 |
+perlDreamer | yes | 00:24 |
+perlDreamer | part of it is that the SVN server isn't up yet | 00:24 |
@preaction | ah, because svn.webgui.org's rss feed sucks | 00:25 |
@preaction | changing it to github's feed for webgui how about | 00:25 |
+perlDreamer | we need a better RSS feed to pull from | 00:25 |
+perlDreamer | sure | 00:25 |
+perlDreamer | really, it should be a live test | 00:25 |
+perlDreamer | and we can supply the RSS feed | 00:25 |
CIA-60 | webgui: Doug Bell master * r1f99da3 / t/Asset/Wobject/SyndicatedContent.t : fix syndicated content test with a new RSS url - http://bit.ly/bAoGEw | 00:27 |
-!- daviddelikat [~user@h69-128-106-50.mdsnwi.dedicated.static.tds.net] has quit [Quit: Leaving.] | 00:27 |
+perlDreamer | preaction: http://gist.github.com/519805 | 00:28 |
+perlDreamer | same extensions, everywhere | 00:28 |
+perlDreamer | uh, if we change the ZipArchive to rename HTML files, won't it be useless? | 00:29 |
@preaction | heh, yep | 00:29 |
ryuu_ro | goodnight guys | 00:29 |
+perlDreamer | later, rory | 00:29 |
@preaction | cya | 00:29 |
+perlDreamer | so.... ? | 00:29 |
-!- ryuu_ro [~rory@5357069A.cable.casema.nl] has quit [Quit: ryuu_ro] | 00:29 |
+perlDreamer | so we move it to the Bazaar? | 00:30 |
@preaction | you didn't want to! :( | 00:30 |
* perlDreamer is fatigued | 00:30 |
+perlDreamer | like I said before, I'm not particularly enamored with it, but I don't think we should just remove it | 00:31 |
+perlDreamer | putting it into the Bazaar isn't quite as bad | 00:31 |
@preaction | ziparchive needs to be a special case then, everything in that list except htm/html | 00:33 |
CIA-60 | webgui: 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/aV2EKr | 00:56 |
-!- tavisto [~tavisto@pool-71-186-22-44.gdrpmi.dsl-w.verizon.net] has joined #webgui | 00:57 |
-!- mode/#webgui [+o tavisto] by ChanServ | 00:57 |
+perlDreamer | preaction: i've got the package one done, too | 01:23 |
@preaction | so the only one remaining is the form->get() returning lists in list context | 01:38 |
@preaction | i don't think that one can be fixed in any easy way | 01:40 |
-!- waxhead_ [~pete@ppp121-45-217-60.lns20.cbr1.internode.on.net] has joined #webgui | 01:44 |
CIA-60 | webgui: 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/bxZu8d | 01:47 |
+perlDreamer | preaction, no, it's ack and crawl by hand | 01:48 |
@preaction | the only real danger is if that allows bypassing of security checks | 01:48 |
+perlDreamer | form->get() ? | 01:49 |
@preaction | yes | 01:49 |
+perlDreamer | how? | 01:50 |
@preaction | for example, in www_add, the url is gotten directly from the form, bypassing loadModule and the checks therein | 01:50 |
+perlDreamer | that means that loadModule should have a check, too | 01:50 |
+perlDreamer | either that, or Form::Classname needs stricter checks | 01:51 |
@preaction | it does, but it reimplements WebGUI::Pluggable and misses some of the checks pluggable does | 01:51 |
@preaction | no, i could give the form three "url" fields: "url", "className", "WebGUI::Asset::..::..::..::something" | 01:51 |
+perlDreamer | then, it needs to be called in scalar context | 01:53 |
+perlDreamer | so only one of them gets called | 01:53 |
+perlDreamer | returned | 01:53 |
+perlDreamer | you evil query building fiend | 01:53 |
-!- perlmonkey2 [~perlmonke@96.18.42.134] has joined #webgui | 01:54 |
-!- mode/#webgui [+v perlmonkey2] by ChanServ | 01:54 |
* perlDreamer goes back to looking at the ZipArchive, and wishing that he didn't feel so responsible | 01:55 |
+perlDreamer | fewer assets, less i18n, less memory... | 01:55 |
@preaction | yeah, this is evil stuff that i'd never think about. luckily we have graham and paul that do this kind of thinking | 01:55 |
+perlDreamer | time to get our evil on! | 02:00 |
+perlmonkey2 | A ProgressBar fell on me. | 02:01 |
+perlDreamer | I'll get a rope | 02:02 |
+perlmonkey2 | That's what the fat guy says at the end of Road House. | 02:02 |
+perlDreamer | are you calling me a fat guy? | 02:03 |
+perlDreamer | now I'm really going to get my evil on | 02:03 |
@preaction | oh you've really done it now | 02:03 |
+perlmonkey2 | perlDreamer: isn't fat, he's obtuse | 02:03 |
+perlmonkey2 | convex? | 02:03 |
+perlDreamer | Supersized! | 02:03 |
+perlDreamer | actually, I figure if I get big enough, I'll displace enough atmosphere that the troposphere will expand | 02:05 |
+perlDreamer | this will cause additional drag on the ISS, which will make it deorbit | 02:05 |
+perlmonkey2 | about time that piece of junk was decommissioned. | 02:05 |
+perlDreamer | if I time it just right, I can aim it at $dayJob-1 | 02:05 |
+perlmonkey2 | hah | 02:05 |
+perlDreamer | now, since I've just blown any semblence of plausability out the door | 02:06 |
+perlDreamer | I should go back to fixing the ZipArchive | 02:06 |
+perlDreamer | that's it | 02:08 |
+perlDreamer | I give up preaction | 02:08 |
+perlDreamer | this thing sucks | 02:08 |
+perlDreamer | it will try to untar a .tarp file | 02:08 |
+perlDreamer | and unzip a .zipper file | 02:08 |
+perlDreamer | it needs to die | 02:08 |
@preaction | it can be fixed! i believe in you! | 02:09 |
+perlDreamer | why are you wearing my hat? | 02:09 |
+perlDreamer | YOU are supposed to be the dynamic agent of change | 02:09 |
+perlDreamer | and I am supposed to be the stodgy user advocate | 02:10 |
@preaction | just need to File::Find after the extract and piss in the attackers' cheerios | 02:10 |
@preaction | because removing it at this point will probably be more work than this fix | 02:10 |
+perlDreamer | it's going to take me at least 10 minutes to forgive you for doing this | 02:11 |
@preaction | that's okay | 02:11 |
+perlmonkey2 | I keep writing tests to figure out how what's going on in the progressbar monkeypatch and am getting nowhere. | 02:17 |
@preaction | the monkeypatch is local, only that code is affected if you're inside the subref | 02:17 |
+perlmonkey2 | That is definitely the kind of code that coudl use some comments. | 02:17 |
+perlmonkey2 | but what is being passed to plask? | 02:18 |
@preaction | a subref that, when called, inits the progress bar and starts writing content | 02:19 |
+perlmonkey2 | and I don't follow. It looks like what is passed is the monkeypatch. | 02:19 |
@preaction | no, 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 to | 02:20 |
+perlmonkey2 | but $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 #webgui | 03:34 |
-!- mode/#webgui [+v perlmonkey2] by ChanServ | 03:34 |
+perlDreamer | preaction, that's the Zip Archive all fixed | 03:38 |
@preaction | yay | 03:38 |
CIA-60 | webgui: Colin Kuskie master * r7251cc2 / (3 files in 3 dirs): Secure and fix the Zip Archive. - http://bit.ly/aKIUZR | 03:39 |
+perlDreamer | I'll check the list, do you know of anything off the top of your head that we should do next? | 03:39 |
@preaction | yeah, the release | 03:39 |
@preaction | the only thing left is the form->get() in list context thing | 03:39 |
* perlDreamer will start the release dance | 03:40 |
+perlDreamer | Ooga booga ooga booga | 03:40 |
* scrottie pounds the drums | 03:40 |
+perlDreamer | Great gods of software development, hear my call | 03:40 |
* perlDreamer smokes a test suite | 03:43 |
+perlDreamer | I offer up these electrons as a pleasing aroma, a sacrifice | 03:44 |
CIA-60 | webgui: Colin Kuskie master * rd92fc76 / t/supporting_collateral/extensions.tar : Add a new test collateral file. - http://bit.ly/bCKp0K | 04:05 |
CIA-60 | webgui: Colin Kuskie master * ra12278e / docs/create.sql : Preparing for 7.9.12 release. - http://bit.ly/acQWpN | 04:07 |
+perlDreamer | yay! monitorage | 04:18 |
+perlDreamer | oaky, 7.9.13 is out | 04:37 |
+perlDreamer | and ready to be developed on | 04:37 |
CIA-60 | webgui: Colin Kuskie master * rb2924bd / (4 files in 4 dirs): Ready fro 7.9.13 development. - http://bit.ly/bfnRNr | 04:38 |
+perlmonkey2 | I'm out on the progressbar. That stuff is just silly. | 04:43 |
+perlmonkey2 | Way too smart for me. | 04:44 |
+perlDreamer | don't sell yourself shoft, perlmonkey2, you got da hacks | 04:44 |
+perlmonkey2 | I don't think I'm going to get pushing onto a stack, doing something else, then popping the stack. | 04:45 |
@scrottie | perlmonkey2, formulate more specific questions about what you're looking at and trying to do. make little reports and post them as gists. | 04:46 |
@scrottie | add narratives. half the time I do that, I wind up answering my own question. | 04:46 |
@scrottie | or work on something else =) | 04:48 |
+perlmonkey2 | I need less complicated clockwork to work on. Surely there has to be a ticket that doesn't involve magic. | 04:48 |
+perlmonkey2 | I can't stand it, wG8 branch AssetHelper::CopyBranch lines what are the points of 122 and 124? | 04:50 |
+perlmonkey2 | I mean, push adds to the end of the array and pop pops the end of hte array, right? | 04:51 |
@scrottie | well, 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 |
@scrottie | one 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 |
@scrottie | I agree this stuff needs a lot more comments. | 04:54 |
+perlmonkey2 | I'm looking for something fun, and that would be the opposite :P | 04:55 |
+perlmonkey2 | Anyways, on to url handlers or some such. | 04:55 |
@scrottie | to each his own. I'd love to go nuts with doc patches. | 04:56 |
+perlmonkey2 | doc patches? | 04:56 |
@scrottie | machine language is for computers. code is for hu-mans. | 04:56 |
@scrottie | commits that do nothing but add documentation... POD, comments, whatever. | 04:56 |
+perlmonkey2 | and what's a url handler in a config file even look like :P | 04:57 |
+perlmonkey2 | ah, ic see. | 04:57 |
@scrottie | in 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 |
+perlmonkey2 | That could be fun. | 04:59 |
-!- perlmonkey2 [~perlmonke@96.18.42.134] has left #webgui [] | 05:06 |
+perlDreamer | scrottie, I can revert faster than you write and commit | 05:46 |
@scrottie | that wouldn't be entirely bad if you were kind enough to leave the commits there were actually correct. | 05:50 |
+perlDreamer | but if you're spamming the core, I'm not likely to check very closely | 05:51 |
@scrottie | I'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 |
@preaction | scrottie: 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 fixed | 07:00 |
@preaction | so i say go for it | 07:00 |
* scrottie nods | 07:04 |
@preaction | and i can think of at least five people, former and current webgui developers, who will sing your praises for it ;) | 07:05 |
@scrottie | haha | 07:07 |
CIA-60 | webgui: Colin Kuskie WebGUI8 * re43745c / lib/WebGUI/Asset/Wobject/WikiMaster.pm : Trap exceptions when trying to get the featured wiki page. - http://bit.ly/9clbM4 | 07:48 |
@scrottie | perlDreamer, should I be pushing stuff again to WebGUI8? | 07:56 |
+perlDreamer | scrottie, while we're doing a release, you only have to avoid pushing to the branch that we're releasing | 07:56 |
+perlDreamer | for the debug work that you're doing in WebGUI8, I'll work around whatever merge issues there are | 07:57 |
@scrottie | right. I couldn't remember what you said you were doing other than tests that started and stopped failing randomly would be problematic. | 07:57 |
+perlDreamer | yeah, when the tests get broken, its best not to commit until that's all fixed | 07:57 |
+perlDreamer | for example, t/run_assets.t is pretty useless right now, and it runs for a very, very long time | 07:58 |
+perlDreamer | you are running the entire test suite before committing, right? | 07:58 |
@scrottie | well, run_assets.t is in much better shape | 07:58 |
@scrottie | a mix... I've been doing a lot of perl -e 'Test::Whatever->new->runtests()' essentially | 07:59 |
@scrottie | I'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.t | 08:02 |
+perlDreamer | that is better | 08:03 |
@scrottie | a good chunk of those are "Failed test 'new revision tagId is current working tag'" | 08:03 |
@scrottie | I 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 |
+perlDreamer | that sounds like autocommit | 08:04 |
@scrottie | heh, we both did the same thing to WikiMaster.pm. | 08:05 |
@scrottie | er, no, technically, I think we both went after the same problem: http://gist.github.com/520347 | 08:05 |
+perlDreamer | no | 08:06 |
@scrottie | thoughts? it seems cleaner to me to avoid the case that causes the exception rather than catching an exception. | 08:06 |
+perlDreamer | all Asset constructors throw exceptions | 08:06 |
@scrottie | but that's assuming... | 08:07 |
+perlDreamer | so that will die if the requested asset is broken | 08:07 |
+perlDreamer | you have to eval it | 08:07 |
+perlDreamer | it won't return undef, like the version 7 code | 08:07 |
@scrottie | hrm. okay. mind if I mix both of those patches together, and make sure there is an assetId and trap errors as well? | 08:07 |
@scrottie | the 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 |
+perlDreamer | yeah, the only thing I did was make sure that newById won't kill the current page request | 08:08 |
@scrottie | okay. cool. | 08:08 |
+perlDreamer | so, if there's no featuredId, that whole section can be skipped | 08:08 |
+perlDreamer | but if there is, and the asset's broken, it has to be eval'ed, otherwise it will die unnecessarily | 08:09 |
-!- kaare [~kaare@langebro.adapt.dk] has joined #webgui | 08:09 |
-!- kaare is now known as Guest74346 | 08:10 |
@scrottie | right. | 08:10 |
@scrottie | cool. | 08:10 |
CIA-60 | webgui: 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/cp1VrI | 08:15 |
+perlDreamer | speaking 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 them | 08:15 |
+perlDreamer | findBrokenAssets.pl | 08:15 |
@scrottie | "getProperties agrees with getEditForm->getFieldsRecursive" ... a lot of the failures are that one, too. | 08:16 |
@scrottie | some email was flying about that script recently... I made a note of that. | 08:16 |
@scrottie | what I should do is read it and see what it does exactly. | 08:17 |
+perlDreamer | it's not all inclusive | 08:19 |
+perlDreamer | it keeps getting extended as we find more edge cases | 08:19 |
+perlDreamer | the merge with 7.9.12 will fix some of the broken tests | 08:20 |
+perlDreamer | like t/Mail/Send.t, and SyndicatedContent.t | 08:20 |
CIA-60 | webgui: Scott Walters WebGUI8 * r5d50866 / t/tests/Test/WebGUI/Asset.pm : | 08:23 |
CIA-60 | webgui: Add support for additional, required per-package constructor args. | 08:23 |
CIA-60 | webgui: 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-60 | webgui: 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/bOUbyO | 08:23 |
+perlDreamer | scrottie, you're right about those fixed class names needing to be moved out of Test::WebGUI::Asset | 08:24 |
+perlDreamer | t/Asset.t, or t/Asset/Asset.t would be good landing zones | 08:24 |
+perlDreamer | Test::WebGUI::Asset started out as t/Asset.t, so they may even be duplicated | 08:25 |
-!- tavisto [~tavisto@pool-71-186-22-44.gdrpmi.dsl-w.verizon.net] has quit [Quit: tavisto] | 08:26 |
+perlDreamer | scrottie, there's another problem I'm seeing | 08:28 |
+perlDreamer | Moose and SUPER:: don't get along well | 08:28 |
+perlDreamer | like in the WebGUI/Asset/Wobject/Collaboration.pm | 08:28 |
+perlDreamer | it needs to use around, or super instead | 08:28 |
+perlDreamer | around is better, because super doesn't always play well with roles | 08:29 |
* scrottie makes a note | 08:30 |
+perlDreamer | are you using a particular comment or tag for work that you need to come back to later? | 08:31 |
+perlDreamer | we might as well be consistent about it | 08:31 |
@scrottie | XXX, but I try not to commit anything with XXX in it... | 08:32 |
@scrottie | the Test::Class Asset.pm is an exception | 08:32 |
@scrottie | I think I've seen "Todo" (and apparently "Toado") elsewhere. | 08:32 |
+perlDreamer | Toado? | 08:33 |
+perlDreamer | weird | 08:33 |
@scrottie | I 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 it | 08:33 |
@scrottie | ack disagrees. | 08:33 |
@scrottie | http://gist.github.com/520381 # it looks like there are only eight distinct failures happening | 08:40 |
+perlDreamer | the line marked 745 looks like another typo I put in when converting to Moose | 08:41 |
@scrottie | whoops, 7. | 08:41 |
@scrottie | I thought so too but the names match. | 08:42 |
+perlDreamer | not only that, but the i18n for the download options from the master branch got lost | 08:47 |
+perlDreamer | I'll add that back in | 08:48 |
+perlDreamer | i18n is a forever battle | 08:48 |
+perlDreamer | people keep committing code without it in perl, JS and templates, and it's a bear to track down | 08:48 |
@scrottie | hrm. | 08:48 |
+perlDreamer | I wrote a perl critic policy to automatically check the validity of labels | 08:49 |
+perlDreamer | but it doesn't know how to check to see if they're needed or not | 08:49 |
+perlDreamer | and frodwith is too clever in writing ways to make getting the i18n object easier for devs | 08:49 |
+perlDreamer | but very hard for code scrapers to follow | 08:49 |
+perlDreamer | scrottie, what does WebGUI::Exception look like in your branch? | 08:52 |
@scrottie | ack SUPER | wc -l # 342 | 08:53 |
+perlDreamer | not all modules use Moose | 08:53 |
+perlDreamer | ack SUPER Asset/ | 08:53 |
@scrottie | 13c27bc38bca01718a33ffb328c4ab0a69b6f119 ... "Fix bad interaction with Test::Class: "Operation "eq": no method found, left argument in overloaded package WebGUI::Error..."" | 08:54 |
@scrottie | last commit mine, on WebGUI::Exception | 08:54 |
+perlDreamer | the module was completely rewritten, and git won't merge on it any more | 08:55 |
@scrottie | if you want to blow away my changes, I can re-make them if necessary. | 08:55 |
+perlDreamer | that wasn't the problem | 08:58 |
+perlDreamer | the problem was adding in all the POD, and changing the formatting | 08:58 |
+perlDreamer | it gave git a headache, and it just puked and cat'ed the files together with <<<< ==== >>>> glue | 08:59 |
@scrottie | git diff 29c01ffad7211f227bf29878c82d318f905b7a3a..13c27bc38bca01718a33ffb328c4ab0a69b6f119 /data/WebGUI/lib/WebGUI/Exception.pm | 08:59 |
@scrottie | I'm not seeing any formatting or POD changes... just a few lines added. | 09:00 |
+perlDreamer | they probably predate your work then | 09:00 |
@scrottie | http://gist.github.com/520412 | 09:00 |
@scrottie | changing the end to look like that was my commit | 09:01 |
@scrottie | 'eq' and 'ne' defs | 09:01 |
+perlDreamer | that wasn't the problem | 09:01 |
+perlDreamer | try git show master:lib/WebGUI/Exception.pm | 09:01 |
+perlDreamer | and then look at it in the WebGUI8 branch itself | 09:01 |
+perlDreamer | they're way different | 09:01 |
+perlDreamer | we should backport the 8 file into 7 | 09:01 |
+perlDreamer | for future ease of work, and good docs | 09:02 |
@scrottie | nice. | 09:02 |
@scrottie | here's something I've been dreading asking about... scott@Microknoppix:/data/WebGUI/lib/WebGUI/Asset$ ack defaultValue | wc -l # 135 | 09:03 |
@scrottie | my understanding is 'defaultValue' means nothing to Moose::Meta::Attribute | 09:03 |
+perlDreamer | that is correct | 09:04 |
+perlDreamer | much better to use default | 09:04 |
+perlDreamer | however, that's ALL Form code | 09:04 |
+perlDreamer | including hand built stuff in other www_ methods | 09:04 |
* scrottie nods | 09:04 |
+perlDreamer | if it's in the Asset definition stuff, then it should be default | 09:04 |
@scrottie | I couldn't find any logic for handling 'defaultValue'... are those simply ignored? | 09:04 |
+perlDreamer | it's passed to the Form plugin | 09:04 |
@scrottie | er, in the context of the M::M::Attribute and the property definitions | 09:05 |
+perlDreamer | yes, it's ignored | 09:05 |
@scrottie | alright. I was confused as heck about why things were working as well as they were if so many were wrong. | 09:05 |
+perlDreamer | working fine, but not providing anything useful to the object attribute | 09:05 |
+perlDreamer | that's why I switched a bunch of them to default :) | 09:05 |
@scrottie | heh | 09:05 |
+perlDreamer | unfortunately, while hand fixing 65 packages, I didn't always remember to go back and do them uniformly | 09:06 |
@scrottie | yeah. | 09:06 |
+perlDreamer | I did, however, start a script to bulk convert sub description into WebGUI::Definition::Asset code | 09:07 |
@scrottie | sub definition you mean? | 09:07 |
+perlDreamer | yeah | 09:08 |
@scrottie | interesting. but wasn't the bulk of this already done by hand? | 09:08 |
+perlDreamer | no | 09:08 |
+perlDreamer | the script helps with formatting and bulk conversion work | 09:08 |
+perlDreamer | but special cases like options, sub refs, etc have to still be done by hand | 09:08 |
+perlDreamer | http://gist.github.com/520426 | 09:09 |
+perlDreamer | I call it moosify | 09:09 |
+perlDreamer | and I run it as a filter in vim, passing it the i18n namespace | 09:09 |
@scrottie | yow. I'd have taken the PPI route or something. | 09:11 |
+perlDreamer | it's just a little filter | 09:11 |
+perlDreamer | you should have seen the 1-liners from the 6.9 series | 09:11 |
+perlDreamer | coverting i18n | 09:12 |
+perlDreamer | and removing global session objects | 09:12 |
+perlDreamer | and changing from numeric Ids to GUIDs | 09:12 |
+perlDreamer | everything is merged and syntax clean | 09:17 |
+perlDreamer | now, does it really work? | 09:17 |
* scrottie flips a coin | 09:21 |
-!- Guest74346 is now known as kaare_ | 09:42 |
+perlDreamer | well, it doesn't really work | 09:43 |
-!- ryuu_ro [~rory@194.171.50.69] has joined #webgui | 09:50 |
@scrottie | =( | 09:51 |
+perlDreamer | we'll make ryuu_ro fix it | 09:51 |
+perlDreamer | he's married now, and has tons of extra time on his hands | 09:52 |
ryuu_ro | well good morning to you too :) | 09:52 |
@scrottie | hrm. 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 |
@scrottie | before I commit this "fix", should that field have jumped tabs like that? | 10:12 |
+perlDreamer | I don't know | 10:12 |
+perlDreamer | I'd check the version history of that section of code with git blame | 10:13 |
@scrottie | I tried to figure out how the thing decided which tab to add it to and came up blank. | 10:13 |
@scrottie | alright, cool. | 10:13 |
+perlDreamer | in the property call, there should be a tab => 'some_tab', field | 10:13 |
@scrottie | "fix $name_of_function_changes_are_in" is not a helpful commit message. | 10:15 |
+perlDreamer | is that a general comment, or am I guilty of something? | 10:15 |
* scrottie glares at preaction | 10:15 |
@scrottie | ooh, no, YOU aren't guilty. | 10:15 |
+perlDreamer | not _this_ time ;) | 10:16 |
@scrottie | teehee | 10:16 |
@scrottie | most of my recent commits should just be titled "make the error message go away". | 10:16 |
@scrottie | it 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 |
+perlDreamer | well, be sure you note which error message it was, or scrottie may get mad at you later for having a vague commit message | 10:18 |
+perlDreamer | okay, I just went past 18 hours today | 10:27 |
+perlDreamer | I'll have to finish merge fixing tomorrow | 10:27 |
+perlDreamer | 'night, all | 10:27 |
CIA-60 | webgui: 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/b4Rojv | 10:27 |
-!- perlDreamer [~colink@pool-173-50-255-102.ptldor.fios.verizon.net] has quit [Quit: Leaving.] | 10:28 |
CIA-60 | webgui: Scott Walters WebGUI8 * r8f616a9 / lib/WebGUI/Asset/File.pm : addField takes the key/value pairs unrolled, not as a hash ref. - http://bit.ly/9UZAoa | 10:49 |
CIA-60 | webgui: 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/aDGvUy | 12:09 |
@scrottie | I 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 |
@scrottie | I thought the universe was imploding there. | 12:16 |
CIA-60 | webgui: 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/cyTJbQ | 12:37 |
-!- bipolar [~bipolar@offsitesysadmin.com] has quit [Ping timeout: 248 seconds] | 13:22 |
-!- bipolar [~bipolar@offsitesysadmin.com] has joined #webgui | 13:24 |
-!- carogray [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has joined #webgui | 14:04 |
-!- kaare_ [~kaare@langebro.adapt.dk] has quit [Read error: Connection reset by peer] | 15:11 |
-!- perlmonkey2 [~perlmonke@m435636d0.tmodns.net] has joined #webgui | 16:10 |
-!- mode/#webgui [+v perlmonkey2] by ChanServ | 16:10 |
-!- daviddelikat [~user@h69-128-106-50.mdsnwi.dedicated.static.tds.net] has joined #webgui | 16: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 #webgui | 16:49 |
-!- MrHairgrease [~martin@194.171.50.69] has joined #webgui | 17:07 |
-!- mode/#webgui [+v MrHairgrease] by ChanServ | 17:07 |
+MrHairgrease | howdy! | 17:07 |
+MrHairgrease | can 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 #webgui | 17:30 |
-!- mode/#webgui [+o tavisto] by ChanServ | 17:30 |
-!- ryuu_ro [~rory@194.171.50.69] has left #webgui [] | 17:36 |
-!- ryuu_ro_ [~rory@194.171.50.69] has joined #webgui | 17: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 #webgui | 18:06 |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 18:06 |
+perlDreamer | preaction: we've been slighted | 18:07 |
+perlDreamer | freshmeat rejected the 7.9.12 release notice, saying that since we had one on Wednesday they're too close together | 18:07 |
-!- perlmonkey2 [~perlmonke@m435636d0.tmodns.net] has quit [Quit: -a-] | 18:22 |
-!- perlmonkey2 [~perlmonke@m435636d0.tmodns.net] has joined #webgui | 18:22 |
-!- mode/#webgui [+v perlmonkey2] by ChanServ | 18:22 |
-!- perlmonkey2 [~perlmonke@m435636d0.tmodns.net] has quit [Ping timeout: 240 seconds] | 18:27 |
-!- perlmonkey2 [~perlmonke@m435636d0.tmodns.net] has joined #webgui | 18:29 |
-!- mode/#webgui [+v perlmonkey2] by ChanServ | 18: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 #webgui | 19:03 |
-!- daviddelikat [~user@h69-128-106-50.mdsnwi.dedicated.static.tds.net] has quit [Read error: Connection reset by peer] | 19:07 |
+perlDreamer | does anyone know if Moose attribute triggers are called as methods, or if they just receive $self? | 19:08 |
+MrHairgrease | I think they are called as normal functions | 19:08 |
+MrHairgrease | oh | 19:10 |
+MrHairgrease | I'm wrong | 19:10 |
+MrHairgrease | The 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 |
+perlDreamer | hm, then I must be having a Role problem | 19:11 |
+MrHairgrease | You do pass a subref to you trigger def, don you? | 19:11 |
+perlDreamer | yes | 19:12 |
+perlDreamer | and that's the problem | 19:12 |
+perlDreamer | it's a reference to the current subroutine | 19:13 |
+perlDreamer | so by the time it gets to Asset/File.pm, it can't be fixed | 19:13 |
+perlDreamer | I'll have to provide a wrapper for each one... | 19:13 |
+perlDreamer | and then override _that_ in the Role | 19:13 |
+MrHairgrease | hmm | 19:15 |
+MrHairgrease | seems like it's being called as a normal function: | 19:15 |
+MrHairgrease | if ($self->has_trigger) { $self->trigger->($instance, $value, @old); } | 19:15 |
+MrHairgrease | sorry for the garbled crap | 19:16 |
+perlDreamer | I'm fluent in garbled crap | 19:16 |
+perlDreamer | we have history, dude | 19:16 |
+MrHairgrease | anyway, that's in Moose::Meta::Attribute::set_value | 19:16 |
+MrHairgrease | If I understand correctly, you want to be able to override the sub the trigger set to? | 19:18 |
+perlDreamer | yes | 19:18 |
+perlDreamer | I did this... | 19:18 |
+perlDreamer | http://gist.github.com/521227 | 19:18 |
+perlDreamer | which seems evil, but works | 19:19 |
+MrHairgrease | would an after method modifier do the job for you? | 19:19 |
+perlDreamer | after gets called whenever the method is accessed | 19:20 |
+perlDreamer | for write or read | 19:20 |
+MrHairgrease | yeah, that's true | 19:23 |
+MrHairgrease | what about overriding the attribute in the subclass with the + notation? | 19:24 |
+MrHairgrease | could that work? | 19:24 |
+perlDreamer | you can't override triggers | 19:24 |
+perlDreamer | I just looked that up ;) | 19:24 |
+MrHairgrease | hehe | 19:25 |
+MrHairgrease | great minds... | 19:25 |
+perlDreamer | I can only aspire to your engineering greatness | 19:25 |
+MrHairgrease | my guess would be that your best bet is sending an email to the moose list | 19:25 |
+perlDreamer | yeah, or maybe #moose | 19:26 |
+MrHairgrease | or i could probably write a trait | 19:26 |
+perlDreamer | or, at some point, frodwith will wake up and say something | 19:26 |
@frodwith | whaa | 19:26 |
+perlDreamer | frodwith, I want an overridable trigger in a Moose attribute | 19:27 |
+perlDreamer | and a pony | 19:27 |
+MrHairgrease | everybody wants a pony | 19:27 |
+perlDreamer | functional solution: http://gist.github.com/521227 | 19:27 |
+perlDreamer | bug seems bugly | 19:27 |
+MrHairgrease | that's just unnice | 19:28 |
+perlDreamer | yes, bugly eq 'butt ugly' =~ s/tt //; | 19:28 |
@frodwith | step back with me for a moment | 19:28 |
@frodwith | and tell me what we're trying to accomplish. | 19:28 |
@frodwith | high level, no reference to triggers :-p | 19:29 |
+perlDreamer | assets have ownerUserId, groupIdView and groupIdEdit properties | 19:29 |
+perlDreamer | if the asset also has a storageId, the .wgaccess file in the storage location tracks those properties | 19:29 |
+perlDreamer | in the past, that was done via overriding update | 19:29 |
+perlDreamer | now that we have Moose, update may not be called | 19:30 |
+perlDreamer | so I want to tie the updating of that .wgaccess file directly to the attributes | 19:30 |
@frodwith | so, whenever someone sets storageId, update the .wgaccess file | 19:30 |
+perlDreamer | no | 19:30 |
+perlDreamer | whenever some sets ownerUserId, groupIdView, groupIdEdit | 19:31 |
@frodwith | oh | 19:31 |
@frodwith | ok | 19:31 |
@frodwith | -if- it has a storagid | 19:31 |
@frodwith | and they set those thing | 19:31 |
@frodwith | *things | 19:31 |
+perlDreamer | yes, and do it in a way so that I only have say 1 thing to get it done | 19:32 |
@frodwith | ahahhh, and triggers can't be overridden | 19:32 |
@frodwith | -I- see. | 19:32 |
+perlDreamer | so I wrapped a method call in a sub | 19:32 |
+perlDreamer | and I can override the method call | 19:32 |
+perlDreamer | with a Role | 19:32 |
+MrHairgrease | perlDreamer | 19:32 |
+MrHairgrease | nm | 19:32 |
+MrHairgrease | I just came up with the same wrapper you did. | 19:33 |
+perlDreamer | You're a genius! | 19:33 |
@frodwith | trigger => sub { $_[0]->niceOverridableMethod } | 19:33 |
@frodwith | ? | 19:33 |
+MrHairgrease | that would prolly work | 19:33 |
+perlDreamer | that's kind of what I did, without the explicit wrapper | 19:34 |
+MrHairgrease | it's in effect the same thing perldreamer came up with | 19:34 |
@frodwith | *nod* | 19:34 |
+MrHairgrease | there you have it again | 19:34 |
+MrHairgrease | great minds... | 19:34 |
+MrHairgrease | =) | 19:34 |
@frodwith | so | 19:34 |
@frodwith | why don't we like it | 19:34 |
+perlDreamer | seems awkward | 19:34 |
+perlDreamer | it's better without the explicit wrapper sub | 19:35 |
@frodwith | if we had | 19:35 |
@frodwith | trigger => 'niceOverridableMethod' | 19:35 |
+MrHairgrease | I wouldn't mind that much | 19:35 |
@frodwith | would it still seem awkard? | 19:35 |
@frodwith | awkward, either | 19:35 |
+perlDreamer | no | 19:35 |
+perlDreamer | it would be better | 19:35 |
@frodwith | so trigger => sub { $_[0]->method } is just a funny way of writing that | 19:36 |
@frodwith | not so bad | 19:36 |
+MrHairgrease | especially considreing you already have to wrap every ref in a sub ref anyway | 19:36 |
+MrHairgrease | it's looks pretty moosi to me | 19:36 |
@frodwith | it's like the builder / default dichotomy | 19:37 |
+perlDreamer | exactly | 19:37 |
@frodwith | builder => 'foo' is just a funny way to write default => sub { shift->foo } | 19:37 |
@frodwith | it wouldn't be -terribly- hard to add to moose, actually. I wonder if the moose cabal would approve. | 19:38 |
@frodwith | it'd make an easy MooseX:: too | 19:38 |
@frodwith | MooseX::TriggerMethods | 19:38 |
+perlDreamer | except that I think you can override builder methods (as strings) more easily than wrapping the subs | 19:39 |
@frodwith | or so | 19:39 |
+perlDreamer | personally, I like the strings better | 19:39 |
@frodwith | oh, yes, they're certainly easier to read | 19:39 |
@frodwith | but the same thing is going on | 19:39 |
+perlDreamer | well, no | 19:40 |
+perlDreamer | the sub refs can't be overridden | 19:40 |
+perlDreamer | the strings can, since they go through MRO | 19:40 |
@frodwith | no, but if all they're doing is calling a method | 19:40 |
@frodwith | and the method can be overridden | 19:40 |
@frodwith | good times are had by all | 19:40 |
+perlDreamer | wrappers are good for candy bars | 19:41 |
@frodwith | I don't understand why we're talking about wrappers | 19:41 |
+perlDreamer | that extra anonymous sub | 19:41 |
@frodwith | you know it's funny | 19:43 |
@frodwith | if they just did... | 19:43 |
@frodwith | $object->$trigger($old, $new) | 19:43 |
@frodwith | it could be a string or a subref | 19:43 |
@frodwith | I wonder what they -are- doing | 19:43 |
+MrHairgrease | ok. 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 |
+perlDreamer | if it's a subref, it's a reference to a particular subroutine. Is that still overridable? | 19:44 |
SDuensin | Hello at last! | 19:44 |
@frodwith | no | 19:45 |
@frodwith | but i mean | 19:45 |
@frodwith | all the behavior is in the method | 19:45 |
@frodwith | the subref just calls the method, which accomplishes the same thing | 19:45 |
+MrHairgrease | anyway... gotta go. see you guys later | 19:45 |
@frodwith | as if you had a methond name there | 19:45 |
@frodwith | *wave MrHairgrease* | 19:46 |
-!- MrHairgrease [~martin@194.171.50.69] has left #webgui [] | 19:46 |
@frodwith | oh but I see why you made it a sub on its own | 19:47 |
@frodwith | cause you have to do it to three different attributes | 19:47 |
+perlDreamer | yes, that's not ideal, either | 19:47 |
+perlDreamer | since if you update all 3 attributes, it writes the file three times | 19:48 |
@frodwith | well it has to, doesn't it? | 19:48 |
@frodwith | i mean, it doesn't know you're going to set these seperately | 19:48 |
-!- daviddelikat [~user@h69-128-106-50.mdsnwi.dedicated.static.tds.net] has joined #webgui | 19:48 |
+perlDreamer | in the old, override-update way of doing it, it checked all three and just wrote once | 19:49 |
+perlDreamer | It'll be slower, but I only had to write the code once | 19:49 |
+perlDreamer | and it's not done all that often | 19:49 |
@frodwith | i guess you could keep around a "is wgaccess dirty" state | 19:49 |
@frodwith | no but i suppose it'd still be dirty | 19:49 |
@frodwith | bah. | 19:49 |
+perlDreamer | yeah, it's better than it was | 19:50 |
+perlDreamer | I need a few hours to build a prepareView Role, too | 19:50 |
+perlDreamer | I'm tired of seeing the same 12 lines scattered through 30 different files | 19:50 |
@frodwith | I'm tired of writing them | 19:51 |
+perlDreamer | wouldn't it be nice to say: with 'WebGUI::Role::Asset::PrepareView' | 19:51 |
@frodwith | I think it's kind of funny that "port to Moose" has partially turned into "oh, and refactor everything too" | 19:51 |
@frodwith | good! but funny :) | 19:52 |
+perlDreamer | some of it was forced, because overriding update is bad | 19:52 |
+perlDreamer | it all started with Role::Asset::AlwaysHidden | 19:52 |
+perlDreamer | I also tried to get Wobject split into 2 Roles | 19:53 |
+perlDreamer | one for Database Collateral, and one for Asset-y kind of stuff | 19:53 |
+perlDreamer | but it was pointed out that time is short, and work is large | 19:53 |
@frodwith | how'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 |
@frodwith | that way it wouldn't be slower for the update case | 19:54 |
+perlDreamer | phone, brb | 19:55 |
+perlDreamer | that's not a bad idea | 19:56 |
-!- perlmonkey2 [~perlmonke@m435636d0.tmodns.net] has quit [Quit: -a-] | 20:16 |
-!- perlmonkey2 [~perlmonke@m435636d0.tmodns.net] has joined #webgui | 20:17 |
-!- mode/#webgui [+v perlmonkey2] by ChanServ | 20:17 |
-!- perlmonkey2 [~perlmonke@m435636d0.tmodns.net] has left #webgui [] | 20:18 |
Haarg | frodwith, perlDreamer, re: wgaccess | 21:22 |
Haarg | shouldn't it only be written by ->write ? | 21:22 |
+perlDreamer | what if it didn't change? | 21:23 |
Haarg | you could have the trigger stuff to track if it is dirty | 21:23 |
+perlDreamer | so, we around write and check there? | 21:24 |
Haarg | yeah | 21:24 |
Haarg | honestly it might make sense to have properties track their dirty state all the time | 21:24 |
Haarg | could prove useful elsewhere | 21:25 |
+perlDreamer | it would make for smaller writes | 21:25 |
Haarg | MooseX::TrackDirty::Attributes | 21:26 |
Haarg | probably wouldn't want to use that but might be a useful reference | 21:29 |
Haarg | fixFilenames is vulnerable | 21:37 |
Haarg | the regex isn't bound to the end of the string | 21:37 |
Haarg | blah.pm.pm will be renamed to blah_pm.txt.pm | 21:37 |
+perlDreamer | is that a valid Module name? | 21:38 |
+perlDreamer | can I use it? | 21:38 |
Haarg | the new pluggable will reject it | 21:38 |
+perlDreamer | that's an answer to a different question | 21:38 |
Haarg | use is a compile time function so how it acts isn't relevant | 21:39 |
Haarg | pluggable works with filenames | 21:40 |
Haarg | it will now reject anything other than word characters, so it won't allow you to load a filename like that | 21:41 |
+perlDreamer | I can't use it, or require it, so whether Pluggable is used or not, it won't work | 21:42 |
Haarg | with the new pluggable, correct | 21:42 |
Haarg | so not really vulnerable on its own | 21:42 |
+perlDreamer | you can "do" it, but it doesn't seem to do anything | 21:43 |
Haarg | either do or require would execute it | 21:43 |
+perlDreamer | I think you should try it | 21:44 |
Haarg | try what? | 21:44 |
+perlDreamer | because I can't get it to do anything bad | 21:44 |
+perlDreamer | make some file, Blah_pm.txt.pm | 21:44 |
+perlDreamer | and try and put some code in it | 21:44 |
+perlDreamer | then try to use, require or do that file in another script | 21:44 |
+perlDreamer | ah, there we go | 21:45 |
+perlDreamer | do won't do it | 21:45 |
+perlDreamer | but require will | 21:45 |
Haarg | http://gist.github.com/521466 | 21:47 |
+perlDreamer | I'll file a bug that we need to anchor the regex | 21:49 |
@scrottie | http://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 |
Haarg | it should only do that if getAutoCommitWorkflowId returns a workflow id | 21:57 |
Haarg | which it usually won't | 21:57 |
Haarg | in 7 at least | 21:58 |
@scrottie | hrm. okay, it is. I assumed it always did. maybe it should be named getAutoCommitWorkflowIdSometimes =) | 21:58 |
@scrottie | autoCommitId is ``pbworkflow000000000003'' at /data/WebGUI/lib/WebGUI/AssetVersioning.pm line 97. | 21:58 |
Haarg | there's a lot of stuff wrong with the design of that stuff | 21:58 |
@scrottie | yeah, 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 |
Haarg | what kind of asset are you dealing with? | 21:59 |
@scrottie | anyway, thank you. that's helpful. there's always a wrong premise in these "why won't" questions. | 22:00 |
+perlDreamer | scrottie, be sure to run coverage on whatever test changes you make | 22:00 |
+perlDreamer | those tests were written by the people who altered the version tag modes to check lots of stuff | 22:00 |
@scrottie | run 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 |
@scrottie | but if I start rigging tests to pass and the I note the change in coverage, that could be useful. | 22:02 |
@scrottie | and the I... | 22:02 |
* scrottie sighs | 22:02 |
+perlDreamer | oh yeah | 22:02 |
+perlDreamer | but, if you remove a bunch of stuff to make "unbroken tests", that would be bad | 22:02 |
@scrottie | yeah, 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 |
+perlDreamer | before it's committed, bring it up someplace so we don't have to count on someone reading commit comments or code comments and fix stuff | 22:04 |
+perlDreamer | there's no need to commit stuff that you know to be bad | 22:04 |
@scrottie | those 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 |
@scrottie | alright. 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 base | 22:06 |
* scrottie chuckles | 22:06 |
@scrottie | if 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 |
@scrottie | if the methods should just "do whatever" and the tests should just "expect whatever", this is useless. | 22:07 |
+perlDreamer | that's the problem though, it's small but incredibly complex and entangled | 22:08 |
+perlDreamer | and maybe you could clarify "expect whatever" with a specific example? | 22:08 |
@scrottie | if 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 |
Haarg | the 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 |
+perlDreamer | if you're writing tests that way, you're right, the tests are broken | 22:09 |
+perlDreamer | if you don't understand it, it's not the time to test it | 22:10 |
@scrottie | I 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 |
@scrottie | if you do anything else, you're just using mucking about to trick yourself. | 22:10 |
+perlDreamer | scrottie, assuming that the existing tests do that would be wrong. | 22:11 |
@scrottie | correct. | 22:11 |
@scrottie | afk a few to eat some random fried things wrapped in a tortilla. | 22:12 |
@scrottie | by 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 |
@scrottie | er, when I talk about | 22:42 |
@scrottie | Haarg, 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, WebG | 23:08 |
@scrottie | UI::Asset::MapPoint, perhaps others. those redefine getAutoCommitWorkflowId() in their subclasses. | 23:08 |
@scrottie | I have the test rigged to skip if grepping the stash of the asset's package turns up a 'getAutoCommitWorkflowId' entry. | 23:09 |
@scrottie | that'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-60 | webgui: Scott Walters WebGUI8 * rf1fe99a / lib/WebGUI/Asset/Wobject/Collaboration.pm : Use super() instead of SUPER. - http://bit.ly/ddsig1 | 23:19 |
CIA-60 | webgui: Scott Walters WebGUI8 * rf51ef19 / lib/WebGUI/Asset/Story.pm : | 23:19 |
CIA-60 | webgui: 'getStoryRichEdit' was never implemented and there is no 'parent' method. | 23:19 |
CIA-60 | webgui: 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-60 | webgui: The StoryForm field does richEditId => $archive->richEditorId. Perhaps this is the desired approach? - http://bit.ly/cfNYw4 | 23:19 |
-!- vayde [~vayde@71-34-34-82.mpls.qwest.net] has quit [Remote host closed the connection] | 23:20 |
+perlDreamer | scrottie, that's exactly the kind of stuff I was talking about | 23:20 |
@scrottie | am I being naughty? | 23:20 |
+perlDreamer | incautious | 23:20 |
@scrottie | I'm not sure about that. I did a lot of footwork first. | 23:21 |
+perlDreamer | getStoryRichEdit should most likely be $self->getParent->richEditorId | 23:21 |
@scrottie | the 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 |
@scrottie | maybe it should be that, but whoever translated from 7.x to 8 "translated" that by uncommenting code that was commented out. | 23:22 |
@scrottie | regardless, you did not have to "dig through patches" to be alerted. | 23:22 |
@scrottie | and in no way did I lessen test coverage to get the test to pass. | 23:22 |
@scrottie | my ignorance of the API is not helping me here though. that I'll concede. | 23:23 |
+perlDreamer | technically, I did dig through patches to get that | 23:23 |
+perlDreamer | if I didn't try to review every commit made, I wouldn't have seen it | 23:23 |
@scrottie | right, but you didn't have to dig through the patch to be alerted to it. | 23:23 |
+perlDreamer | the commit comment was very thorough, and that helped point out to me that there was a problem with that patch | 23:24 |
@scrottie | the 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 |
@scrottie | anyway, 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 |
@scrottie | I'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 |
@scrottie | I promise you, I will continue to try to operate with a high level of caution. but I will make mistakes also. | 23:26 |
@scrottie | I'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 |
@scrottie | so I'm trying to be conservative in that regard too. ignorance brings about fear. | 23:29 |
+perlDreamer | there's a lot of brokenness in the 8 right now | 23:30 |
+perlDreamer | that's for sure | 23: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 immediate | 23:31 |
+perlDreamer | I'm tied up with support and broken Post comitting myself | 23:31 |
@scrottie | cool. 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 |
@scrottie | it's such a problem that I try hard to be only overtly aggressive. cuts down on confusion. | 23:33 |
@scrottie | if I don't make it as a programmer, I think I'll take some Cisco and RedHat certification classes. | 23:33 |
@khenn | is there a way to tell git to cherry-pick all of the revisions up to the current one for a particular file? | 23:35 |
@khenn | I 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 branch | 23:35 |
@scrottie | git merge might be what you want... | 23:36 |
@scrottie | does that do single files? | 23:36 |
+perlDreamer | I thought it just did branches | 23:36 |
+perlDreamer | but I don't know | 23:37 |
+perlDreamer | man git-merge tells all :) | 23:37 |
@scrottie | nm. yeah. | 23:37 |
@scrottie | fire up kompare and manually move over changes visually, without the pleasure of git deltas? | 23:38 |
@khenn | it's not a big deal | 23:38 |
@khenn | I just thought there might be a quick way to do it | 23:39 |
--- Day changed Fri Aug 13 2010 |
-!- carogray [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has joined #webgui | 00:19 |
-!- daviddelikat [~user@h69-128-106-50.mdsnwi.dedicated.static.tds.net] has quit [Read error: Connection reset by peer] | 00:20 |
+perlDreamer | hm, why would committing a post cause the parent thread to be uncommitted? | 00:30 |
-!- SynQ_ [koen@ringbreak.dnd.utwente.nl] has joined #webgui | 00:31 |
-!- khenn_ [~frank@99-111-115-201.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui | 00:33 |
-!- mode/#webgui [+o khenn_] by ChanServ | 00:33 |
-!- Netsplit *.net <-> *.split quits: @khenn, SynQ | 00:34 |
-!- khenn_ is now known as khenn | 00:34 |
-!- britneypire [~britneypi@212-198-248-35.rev.numericable.fr] has joined #webgui | 00:34 |
-!- Netsplit *.net <-> *.split quits: SDuensin, @frodwith, britneypire, mducharme, Haarg, @scrottie, carogray, @khenn, +Radix_, spacebat | 00:36 |
-!- Netsplit over, joins: @khenn, carogray, mducharme, +Radix_, @scrottie, SDuensin, spacebat, @frodwith, Haarg | 00:39 |
-!- perlmonkey2 [~perlmonke@96.18.42.134] has joined #webgui | 00:41 |
-!- mode/#webgui [+v perlmonkey2] by ChanServ | 00:41 |
-!- Netsplit over, joins: Haarg | 00: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 |
@scrottie | slowly, slowly... | 02:27 |
+perlDreamer | hang in there, scottie! | 02:27 |
+perlDreamer | you've made more progress than me today | 02:27 |
-!- tavisto [~tavisto@pool-71-186-22-44.gdrpmi.dsl-w.verizon.net] has quit [Quit: tavisto] | 02:29 |
@scrottie | I haven't had to do any support work... | 02:30 |
+perlDreamer | I did 1 request today | 02:31 |
+perlDreamer | it looks like changing the .wgaccess stuff in Asset.pm may have broken the Post commit chain | 02:32 |
+perlDreamer | if so, I should be able to back out that change, commit the merge, and then fix it again | 02:32 |
+perlDreamer | that would be nice | 02:32 |
@scrottie | well, 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 |
@scrottie | third time's the charm! | 02:33 |
+perlDreamer | laundromat? :) | 02:33 |
@scrottie | nope, 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 |
@scrottie | I'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 |
@scrottie | I've been chasing about with him for ages. I keep not being in town, etc. | 02:34 |
@scrottie | even 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 |
+perlDreamer | he must make great shirts | 02:35 |
@scrottie | this guy takes the cranky cake. | 02:35 |
@scrottie | well, printing an arbitrary number, doing the artwork, making the screen was $50. | 02:36 |
@scrottie | and the detail is fantastic. he does amazing work, to my uneducated eye. | 02:36 |
@scrottie | if I can catch up with him earlier rather than later, I should be able to get myself back online from Tempe. | 02:38 |
+perlDreamer | somehow, I just blew away all the work | 02:44 |
+perlDreamer | in git | 02:44 |
+perlDreamer | crap | 02:45 |
* scrottie frowns | 02:46 |
@scrottie | blew it away in a way where it isn't in some detached branch? | 02:46 |
+perlDreamer | ah, good call! | 02:49 |
+perlDreamer | the merge is committed | 02:49 |
+perlDreamer | but I can't pull any new changes in | 02:49 |
+perlDreamer | when it does, it tells me I have a merge conflict in Shop/TransactionItem.pm | 02:49 |
@scrottie | well, I stuck at git, but if you want to tell me about the state of things, I'll listen. | 02:49 |
+perlDreamer | but when I fix it, it doesn't see it | 02:49 |
@scrottie | at least. | 02:49 |
+perlDreamer | I edit the file, resolve the merge, add it | 02:49 |
+perlDreamer | then try to rebase | 02:49 |
+perlDreamer | and it doesn't see it | 02:50 |
@scrottie | ugh... there are a few magic commands... "git rebase --continue" is one | 02:50 |
@scrottie | to tell it to finish doing the thing it was doing when it hit a conflict | 02:50 |
+perlDreamer | yup, git pull; vim someFile; git add someFile; git rebase continue | 02:50 |
+perlDreamer | then :"No changes - did you forget to use 'git add'?" | 02:51 |
@scrottie | when 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 #webgui | 02:51 |
-!- perlmonkey21 [~perlmonke@96.18.42.134] has left #webgui [] | 03:15 |
-!- vayde [~vayde@71-34-34-82.mpls.qwest.net] has joined #webgui | 03:51 |
-!- vayde [~vayde@71-34-34-82.mpls.qwest.net] has quit [Ping timeout: 260 seconds] | 04:06 |
* perlDreamer calls it a night | 04: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 #webgui | 04:19 |
-!- mode/#webgui [+o tavisto] by ChanServ | 04:19 |
-!- vayde [~vayde@71-34-34-82.mpls.qwest.net] has joined #webgui | 04: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 #webgui | 06:51 |
-!- tavisto [~tavisto@pool-71-186-22-44.gdrpmi.dsl-w.verizon.net] has quit [Quit: tavisto] | 06:54 |
nuba | tavisto: 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 WebGUI | 06:55 |
-!- kaare [~kaare@langebro.adapt.dk] has joined #webgui | 08:41 |
-!- kaare is now known as Guest70679 | 08: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 #webgui | 10:02 |
-!- mode/#webgui [+v Radix_] by ChanServ | 10: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 #webgui | 10:37 |
-!- mode/#webgui [+v Radix_] by ChanServ | 10:37 |
-!- Radix_ [quasselcor@203.161.71.161.static.amnet.net.au] has quit [Client Quit] | 10:41 |
* scrottie0 grins at nuba | 10:58 |
-!- Guest70679 is now known as kaare_ | 11:20 |
scrottie0 | cheers to you for holding a YAPC. | 11:22 |
-!- perlDreamer [~colink@pool-173-50-255-102.ptldor.fios.verizon.net] has joined #webgui | 12:10 |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 12: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 #webgui | 12:10 |
-!- perlDreamer [~colink@pool-173-50-255-102.ptldor.fios.verizon.net] has quit [Ping timeout: 265 seconds] | 12:46 |
scrottie0 | http://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 #webgui | 13:46 |
-!- mode/#webgui [+v Radix_] by ChanServ | 13:46 |
-!- ryuu_ro [~rory@194.171.50.69] has joined #webgui | 14:12 |
-!- carogray [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has joined #webgui | 15:05 |
-!- vayde [~vayde@63-226-183-210.mpls.qwest.net] has joined #webgui | 15:55 |
-!- daviddelikat [~user@h69-129-206-153.mdsnwi.broadband.dynamic.tds.net] has joined #webgui | 16: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 #webgui | 16:27 |
xootom | hi 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 #webgui | 16:37 |
SDuensin | FrIdAy! Made it! | 16:47 |
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui | 17:05 |
-!- mode/#webgui [+o bopbop] by ChanServ | 17:05 |
-!- plainhao [~plainhao@mail.xbiotica.com] has joined #webgui | 17:05 |
-!- MrHairgrease [~martin@194.171.50.69] has joined #webgui | 17:08 |
-!- mode/#webgui [+v MrHairgrease] by ChanServ | 17: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 #webgui | 17:23 |
-!- xootom [5eaba154@gateway/web/freenode/ip.94.171.161.84] has joined #webgui | 17: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 #webgui | 18: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 #webgui | 18:40 |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 18:40 |
-!- ryuu_ro [~rory@194.171.50.69] has quit [Quit: ryuu_ro] | 18:41 |
+MrHairgrease | w00t | 18:53 |
+MrHairgrease | PayPal ExpressCheckout almost has recurring billing support | 18:54 |
+MrHairgrease | ! | 18:54 |
+MrHairgrease | When dev on 7.10 begins I'll push the changes | 18: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 #webgui | 19:21 |
ckotil | nice | 20:03 |
-!- fokat [~lem@190.72.138.110] has joined #webgui | 20: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 #webgui | 20:28 |
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has quit [Quit: bye] | 21:12 |
scrottie0 | stupid X locking up... | 21:19 |
+perlDreamer | scrottie, I have an interim merge done of master into 8 | 21:52 |
+perlDreamer | it's up until 7.9.11 | 21:52 |
CIA-60 | webgui: Colin Kuskie WebGUI8 * r7b21894 / (81 files in 31 dirs): Merge commit '63865eb39f5dd86b1b868b586787b0539f64525a' into WebGUI8. up to 7.9.11 - http://bit.ly/9YFEI8 | 21:53 |
+perlDreamer | it has extra failing tests, t/Asset/File.t, t/Execution/app.t, t/app/PSGI.t, and t/Asset/Wobject/SyndicatedContent.t | 21:53 |
+perlDreamer | these will be fixed by the next merge, which I'm going to start now | 21:53 |
* scrottie0 nods | 21:57 |
scrottie0 | awesome. | 21:57 |
+perlDreamer | I tried everything, and I could not get it to pull after that merge | 22:03 |
+perlDreamer | so I ended up blowing away the original work, and doing it in 2 chunks | 22:03 |
scrottie0 | hrm. | 22:11 |
+perlDreamer | yay! Merge all done | 22:25 |
+perlDreamer | there is one unresolved file | 22:25 |
+perlDreamer | t/Asset/File.t | 22:25 |
+perlDreamer | when I fix Asset.pm, it ends up breaking 5 Post tests | 22:26 |
scrottie0 | define "fix" | 22:26 |
CIA-60 | webgui: Colin Kuskie WebGUI8 * r3e8e2d4 / (36 files in 16 dirs): Merge branch 'master' into WebGUI8. Merged up to 7.9.12 - http://bit.ly/ay8sWd | 22:26 |
+perlDreamer | it's the subroutine wrapping stuff from yesterday? About writing the .wgaccess files via a Role | 22:26 |
scrottie0 | ah | 22:27 |
+perlDreamer | for 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-60 | webgui: Colin Kuskie WebGUI8 * r113f9d4 / t/run_asset.t : Restore file deleted from repo, t/run_asset.t - http://bit.ly/c3kVgF | 22:32 |
-!- SynQ_ is now known as SynQ | 23:28 |
-!- mode/#webgui [+v SynQ] by ChanServ | 23:29 |
+SynQ | and so solaris dies | 23:30 |
+perlDreamer | eh, that's just a rumor | 23:31 |
+SynQ | no it isn't | 23:31 |
+SynQ | http://news.slashdot.org/story/10/08/13/1850232/The-Future-of-OpenSolaris-Revealed | 23:31 |
+SynQ | proof! | 23:31 |
+SynQ | perlDreamer: do you still think it is a rumor? | 23:35 |
+perlDreamer | that's a leaked memo | 23:35 |
+SynQ | agreed | 23:35 |
* perlDreamer is old, grumpy and skeptical | 23:35 |
+SynQ | opensolaris is frozen for a long time now | 23:36 |
+SynQ | at least (if anything) this memo, if it's true, will bring clarity about where oracle stands towards solaris | 23:36 |
+SynQ | but if Solaris 11 comes at an Oracle price it's not going to be for me anytime soon | 23:37 |
+SynQ | I was never a big fan of Solaris | 23:37 |
+perlDreamer | I like it better than HPUX | 23:37 |
+SynQ | having been forced to copile perl on it way back in 1997/1998 | 23:38 |
+SynQ | HPUX 11 was way better to compile perl on than Solaris 6 was :) | 23:38 |
+SynQ | since then I have moved to real open systems | 23:38 |
+SynQ | I have even moved away from RedHat way back when they killed the 'open' version in 2001 | 23:39 |
+perlDreamer | if openSolaris does go away, it would be nice if they'd release the patents | 23:39 |
+SynQ | it doesn't go away | 23:39 |
+SynQ | it will just not really be open | 23:39 |
* perlDreamer should read the memo | 23:39 |
+SynQ | inded | 23:39 |
+SynQ | indeed | 23:39 |
+SynQ | and I need a better (less crappy) keyboard | 23:40 |
+SynQ | I keep missing stokes | 23:40 |
scrottie0 | I'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 |
scrottie0 | given that, and given Oracle's past behavior, that would seem unlikely. | 23:41 |
@preaction | oracle: struggling to be relevant in an open-source world | 23:41 |
scrottie0 | Ellison 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 |
scrottie0 | for that act of hubris, dbas were punished. | 23:43 |
@preaction | nice. just paint a target why don't you? | 23:43 |
+SynQ | I'd say oracle is not struggling at all | 23:44 |
-!- vayde [~vayde@63-226-183-210.mpls.qwest.net] has quit [Ping timeout: 248 seconds] | 23:44 |
@preaction | not financially, but for relevance. everyone i know shudders at "I have an Oracle database" | 23:45 |
+SynQ | as I see it there are now only 4 real 'OS' vendors for the server market left: Microsoft, Apple, Oracle and RedHat | 23:45 |
scrottie0 | Freescale, 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 |
+SynQ | which scares me | 23:45 |
+SynQ | and I'm going to put my bets on RedHat | 23:45 |
+SynQ | at least they have a proven open-source policy | 23:45 |
scrottie0 | Cobalt Qube was MIPS (originally). the only reason that vanished was Sun bought them and killed them. | 23:48 |
scrottie0 | when 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 |
scrottie0 | the 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-60 | webgui: 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/d15ZKo | 23:52 |
-!- vayde [~vayde@63-226-182-110.mpls.qwest.net] has joined #webgui | 23:59 |
+perlDreamer | frodwith, did you have to do that right after I merged? | 23:59 |
--- Day changed Sat Aug 14 2010 |
@frodwith | did I break something? | 00:00 |
+perlDreamer | no, but I just merged _everything_ into 8 | 00:00 |
+perlDreamer | now it's everything-1 | 00:00 |
@frodwith | :-x | 00:00 |
-!- vayde [~vayde@63-226-182-110.mpls.qwest.net] has quit [Ping timeout: 246 seconds] | 00:03 |
* perlDreamer is afk for a bit | 00:08 |
@preaction | i 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 WUC | 00:10 |
+SynQ | ah | 00:10 |
@preaction | but opinion from the peanut gallery: An asset edit form should not care where it will be saved to, correct? | 00:11 |
@preaction | if 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 form | 00:12 |
@preaction | is this a behavior we'd like to keep? | 00:12 |
+SynQ | what ever happened to OpenID in webgui? | 00:13 |
@preaction | SynQ: it isn't possible to have more than one active, visitor-enabled auth method in WebGUI | 00:14 |
@preaction | until 7.9 at least | 00:14 |
+SynQ | 7.9 is stable isn't it? | 00:14 |
@preaction | and even 7.9 has caveats: so far the Twitter-based auth bypasses profile creation restraints | 00:14 |
@preaction | yes | 00:14 |
+SynQ | so it's not possible? | 00:14 |
+SynQ | it wouldn't work? | 00:14 |
@preaction | JT has also expressed interest in creating a Facebook-based auth for me | 00:14 |
@preaction | no, it is NOW, it wasn't back when it was created | 00:15 |
+SynQ | ah | 00:15 |
@preaction | so the code out there in the bazaar which I never got to work might be able to be added soon | 00:15 |
+SynQ | I'm looking over the 'feature requests' page | 00:15 |
@preaction | i never got the one there to work, otherwise it'd already be in | 00:15 |
+SynQ | what surprises me | 00:16 |
@frodwith | i don't think i understand your question preaction | 00:16 |
@preaction | frodwith: which one? the one about asset edit forms requiring you to fill in data about where it will be submitted? | 00:16 |
@frodwith | yeah that one | 00:17 |
-!- vayde [~vayde@65-103-4-156.mpls.qwest.net] has joined #webgui | 00:17 |
+SynQ | is that of the first 25 requests at the top of the page only 4 have been submitted in 2010 | 00:17 |
+SynQ | and none are younger then 3 months | 00:17 |
@preaction | a lot of karma have been contributed to older ones | 00:18 |
+SynQ | you mean: not a lot of karma have been contributed to the newer ones :) | 00:19 |
@preaction | frodwith: why should a form assume or care about how it will be handled? | 00:19 |
@frodwith | forms have actions | 00:19 |
@preaction | frodwith: 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 submitted | 00:20 |
@frodwith | what is a form, in this context? | 00:20 |
@preaction | the asset edit form | 00:20 |
@frodwith | are we talking about rendered html, or some object? | 00:20 |
@preaction | a WebGUI::FormBuilder object | 00:20 |
+SynQ | I think it would be best if I go to bed now :) | 00:20 |
@frodwith | night SynQ ^^ | 00:21 |
+SynQ | night frodwith, preaction | 00:21 |
@preaction | night | 00:21 |
+SynQ | ~ | 00:21 |
@frodwith | so, one of Asset's methods is returning a FormBuilder | 00:21 |
@preaction | yes | 00:22 |
@frodwith | and it's already got it all filled out where it's supposed to be submitted to | 00:22 |
@preaction | no, it doesn't | 00:22 |
@frodwith | then I don't understand the dilemma | 00:22 |
@preaction | but i'm having a problem: since www_ methods are impossible to extend (only override), i need the same boilerplate in every www_edit method | 00:23 |
@frodwith | which boilerplate is that old bean? | 00:23 |
@preaction | my $f = $self->getEditForm; # Add func hidden element; # add correct action URL; | 00:24 |
@frodwith | soooooo how about a getFilledOutEditFormWithNeatHiddenElementsAndCorrectActionUrl | 00:25 |
@frodwith | in the base class | 00:25 |
@frodwith | camel case: it's more readable than underscores! | 00:25 |
@preaction | getWwwEditForm! yeah that sounds good... | 00:25 |
@preaction | and then it can be removed later when i fix www_ methods to be extensible by having an introspectable template object passed back | 00:26 |
@frodwith | or left in | 00:26 |
@frodwith | no one has ever complained about code being-too- well factored | 00:26 |
@frodwith | when we rewrite everything in perl 6 for WebGUI 20, can we start using underscores | 00:27 |
@frodwith | pretty please | 00:27 |
scrottie0 | oh yeah they do. | 00:27 |
@preaction | no, never | 00:27 |
@preaction | and i feel dirty writing getWwwEditForm and getWwwAddForm | 00:27 |
scrottie0 | have you seen some of this Java code where developers drop patterns like rappers drop F bombs? | 00:27 |
scrottie0 | use Code::Splice. | 00:28 |
scrottie0 | or better yet, Acme::ComeFrom. | 00:29 |
@frodwith | they're working in Java, scrottie. It has all the expressive power of a hunk of rock. | 00:29 |
@frodwith | they need their patterns. | 00:29 |
scrottie0 | they still get carried away and over do it. | 00:30 |
* perlDreamer is out again | 00:31 |
-!- perlDreamer [~colink@pool-173-50-255-102.ptldor.fios.verizon.net] has quit [Quit: Leaving.] | 00:31 |
CIA-60 | webgui: Doug Bell WebGUI8 * r156d4e2 / share/upgrades/7.9.12-8.0.0/pbtmplblankstyle000001.wgpkg : remove admin toggle from blank style - http://bit.ly/9php02 | 00:42 |
CIA-60 | webgui: Doug Bell WebGUI8 * r6857ad6 / lib/WebGUI/Asset/Template.pm : | 00:42 |
CIA-60 | webgui: add www_edit boilerplate | 00:42 |
CIA-60 | webgui: This will be removed when forms can be directly added to | 00:42 |
CIA-60 | webgui: templates and template objects can be passed around. Finally www_ | 00:42 |
CIA-60 | webgui: methods will be extendible! - http://bit.ly/cNcUgn | 00:42 |
@preaction | why does MooseX::GetOpt rely on Mouse? | 00:58 |
@preaction | oh, no, Text::XSlate relies on MouseX::GetOpt | 00:58 |
@preaction | enjoyable... | 00:59 |
-!- daviddelikat1 [~user@h69-129-206-153.mdsnwi.broadband.dynamic.tds.net] has joined #webgui | 02: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 |
scrottie0 | I'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 |
scrottie0 | c96e23f0 (JT Smith 2002-11-04 07:25:34 +0000 324) my ($value, $uiLevel) = rearrange([qw(value uiLevel)], @p); | 09:27 |
scrottie0 | rearrange() comes from CGI::Util(). it's undocumented. | 09:28 |
scrottie0 | or virtually undocumented. | 09:28 |
scrottie0 | how 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 #webgui | 09:33 |
scrottie0 | http://slowass.net/~scott/tmp/formbuilder.png | 12:13 |
scrottie0 | # Looks like you failed 13 tests of 3950. | 12:53 |
scrottie0 | http://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 #webgui | 15:14 |
-!- khenn [~frank@99-111-115-201.lightspeed.mdsnwi.sbcglobal.net] has quit [Quit: khenn] | 17:00 |
@preaction | scrottie0: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 |
@preaction | scrottie0: 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 |
Haarg | preaction, is there a reason fixWgaccess.pl manually sets the privileges instead of using ->setPrivileges ? | 17:13 |
@preaction | Haarg: File->update doesn't use setPrivileges, and that's where i remembered the code coming from | 17:23 |
@preaction | so no, no reason whatsoever | 17:23 |
Haarg | i guess that's a separate bug then | 17:25 |
CIA-60 | webgui: Graham Knop master * r04c49fb / (lib/WebGUI/Asset/File.pm sbin/fixWgaccess.pl): use setPrivileges on files instead of doing it manually - http://bit.ly/bXO5c0 | 17:27 |
CIA-60 | webgui: Graham Knop WebGUI8 * rb7b633b / sbin/fixWgaccess.pl : update fixWgaccess.pl for WebGUI 8 - http://bit.ly/cP8ruA | 17:28 |
-!- khenn [~frank@cpe-174-102-246-142.wi.res.rr.com] has joined #webgui | 18:31 |
-!- mode/#webgui [+o khenn] by ChanServ | 18:31 |
-!- fokat [~lem@200.84.244.194] has joined #webgui | 19:06 |
-!- daviddelikat [~user@h69-129-206-153.mdsnwi.broadband.dynamic.tds.net] has joined #webgui | 23: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 |
scrottie0 | preaction, cool, thanks. | 01:14 |
scrottie0 | I 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 #webgui | 02:01 |
-!- khenn [~frank@cpe-174-102-246-142.wi.res.rr.com] has quit [Quit: khenn] | 03:15 |
CIA-60 | webgui: Colin Kuskie WebGUI8 * r11ac13c / (12 files in 6 dirs): Prune out a method call from db->dbh->quote_identifier. - http://bit.ly/9EJFOJ | 03:52 |
-!- khenn [~frank@99-111-115-201.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui | 05:29 |
-!- mode/#webgui [+o khenn] by ChanServ | 05:29 |
-!- fokat [~lem@200.84.244.194] has quit [Read error: Connection timed out] | 05:49 |
-!- fokat [~lem@200.84.244.194] has joined #webgui | 05: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 #webgui | 06:36 |
-!- daviddelikat1 [~user@h69-129-206-153.mdsnwi.broadband.dynamic.tds.net] has joined #webgui | 11: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 #webgui | 13:54 |
-!- zylopfa [~zylopfa@0x555116f0.adsl.cybercity.dk] has joined #webgui | 20:36 |
zylopfa | Greetings Webguians | 20: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 #webgui | 23: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 #webgui | 00: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 #webgui | 01:04 |
-!- mode/#webgui [+v Radix_] by ChanServ | 01: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 #webgui | 08:11 |
-!- kaare is now known as Guest23710 | 08:11 |
CIA-60 | webgui: 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/a06BvW | 09:18 |
CIA-60 | webgui: Colin Kuskie master * r8f7bbda / (3 files in 3 dirs): Fixes bug #11780: anchor filename regex to the end of the string. - http://bit.ly/9OrJSg | 09: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 #webgui | 11:37 |
-!- mode/#webgui [+v Radix_] by ChanServ | 11:37 |
-!- carogray [~Caroline@108.122.168.205] has joined #webgui | 12: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 #webgui | 15:12 |
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has joined #webgui | 15:23 |
-!- kaare_ [~kaare@langebro.adapt.dk] has quit [Remote host closed the connection] | 15:55 |
SDuensin | Morning. | 16:09 |
-!- daviddelikat [~user@h69-128-106-50.mdsnwi.dedicated.static.tds.net] has joined #webgui | 16:13 |
-!- bartjol [~bartjol@kantoor.procolix.com] has joined #webgui | 17:17 |
-!- mode/#webgui [+v bartjol] by ChanServ | 17:17 |
-!- tavisto [~tavisto@pool-71-186-22-44.gdrpmi.dsl-w.verizon.net] has joined #webgui | 17:56 |
-!- mode/#webgui [+o tavisto] by ChanServ | 17: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 #webgui | 18:05 |
-!- bartjol [~bartjol@kantoor.procolix.com] has left #webgui [] | 18:41 |
@preaction | it's a good WebGUI day! | 18:45 |
-!- perlDreamer [~colink@pool-173-50-255-102.ptldor.fios.verizon.net] has joined #webgui | 18:50 |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 18:50 |
+perlDreamer | morning, everybody | 18:50 |
CIA-60 | webgui: 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/9PJcUC | 19:13 |
+perlDreamer | preaction: can you think of any good reason that Form/YesNo shouldn't be a sub class of Form/List.pm ? | 19:19 |
+perlDreamer | and Form/RadioList specifically? | 19:19 |
@preaction | List types return lists of values | 19:19 |
+perlDreamer | unless they're RadioLists, or SelectBoxen | 19:20 |
@preaction | then no | 19:20 |
@preaction | perlDreamer: regarding that regression you just fixed, did you figure out what khenn's changed code was doing and why? i couldn't figure it out | 19:38 |
@khenn | changed code where? | 19:39 |
@preaction | in the Post asset, with the attachment loop generation | 19:39 |
@preaction | http://www.webgui.org/use/bugs/tracker/11782 | 19:40 |
+perlDreamer | I think it was an overefficient check | 19:40 |
+perlDreamer | it was meant to prevent trying to get the thumbnail for something that wasn't an image | 19:41 |
@preaction | so it was a performance thing? | 19:41 |
+perlDreamer | I think the performance part got mixed in with trying to call getThumbnailUrl on something that didn't have thumbnails | 19:41 |
+perlDreamer | because that will throw an error | 19:41 |
@preaction | could you write a test please? | 19:42 |
+perlDreamer | you betcha! | 19:42 |
@khenn | no | 19:42 |
+perlDreamer | I can't write a test? | 19:42 |
@khenn | it wasn't a performance thing | 19:42 |
@khenn | if I recall correctly | 19:42 |
@khenn | the stuff I did related to attachments in Post | 19:42 |
@khenn | was to prevent empty, orphaned attachment folders from being created | 19:43 |
+perlDreamer | khenn: git show 82e52fd8 | 19:44 |
+perlDreamer | that's the commit in question | 19:44 |
@khenn | oh | 19:51 |
@khenn | right | 19:51 |
@khenn | this was something else | 19:51 |
@khenn | I changed this code for exactly the reason it describes in my comment | 19:52 |
@khenn | if you uploaded a ppt | 19:52 |
@khenn | or word | 19:52 |
@khenn | or anything that wasn't an image to a CS | 19:52 |
@khenn | it would throw an error in the log | 19:52 |
@khenn | same thing would happen if you uploaded an image that didn't have an icon | 19:53 |
@khenn | so docx | 19:53 |
@khenn | er not an image | 19:53 |
@khenn | a file w/o an associated icon | 19:53 |
+perlDreamer | yeah, because it would try to call getThumbnailUrl | 19:53 |
@khenn | right | 19:54 |
@khenn | I refactored some of the stuff | 19:54 |
@khenn | so it wouldn't make multiple calls to isImage | 19:54 |
+perlDreamer | preaction: http://gist.github.com/527301 | 20:07 |
+perlDreamer | how does that look? | 20:08 |
CIA-60 | webgui: Colin Kuskie master * r7c3d572 / t/Asset/Post.t : Add tests for attachment_loop handling in the Post. - http://bit.ly/aE229j | 20:10 |
@preaction | perlDreamer: looks fine, thanks | 20:10 |
+perlDreamer | do we have any projects to work on for the hackathon yet? Or is it itch scratching? | 20:10 |
@preaction | probably itch-scratching, or we could knock out the top RFEs for 7.10 | 20:23 |
+perlDreamer | I like that idea, we haven't done top RFE's in a long time | 20:24 |
@preaction | plus the openID one is actually possible now | 20:24 |
@khenn | we could always finish the blog asset we started last year | 20:30 |
@khenn | I still have my half finished aspect | 20:30 |
@preaction | but 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 users | 20:32 |
@khenn | I was being facetious =p | 20:34 |
@preaction | Haarg: 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 commit | 20:43 |
Haarg | it would mess up every checkout/branch | 20:44 |
Haarg | which author is messed up? | 20:45 |
@preaction | http://github.com/plainblack/webgui/commit/acd3fded451dba51d996edcd504efa51f25785b4 | 20:47 |
@preaction | it says Randall Schwartz, it needs to be Randall Whitman | 20:48 |
Haarg | wonder how that happened | 20:49 |
@preaction | but also, yung isn't linked to his github, nor kaleb | 20:49 |
Haarg | have examples of that? | 20:50 |
@preaction | if we can do it, we can do it later when we have to close the repo for perltidy anyway | 20:50 |
@preaction | http://github.com/plainblack/webgui/commits?page=92 | 20:50 |
@preaction | ] | 20:50 |
Haarg | it's possible to change, but it will break every branch or checkout anyone has. | 20:50 |
@preaction | which perltidy will do as well | 20:50 |
Haarg | so anything that isn't on plainblack's github repo will be broken | 20:50 |
Haarg | why would perltidy do that? | 20:50 |
@preaction | from what i've been reading, they just have to rebase it | 20:50 |
Haarg | possibly | 20:51 |
Haarg | if they have merges they will get fucked | 20:51 |
@preaction | if you've made a commit, and we've perltidied, the merge will conflict 90% | 20:51 |
@preaction | i'll just tell him we can't do it for now | 20:52 |
Haarg | some of the users i didn't get emails to use for their account so i just used user@webgui-svn | 20:53 |
@preaction | ahh, so that's probably how github links it | 20:53 |
Haarg | yes | 20:53 |
@preaction | so if he created a github account, added "dwrandall@webgui-svn" to his e-mail addresses, it should show his username instead | 20:54 |
Haarg | yes | 20:54 |
Haarg | you might ask for a real email to use if you did decide to rewrite the repo at some point in the future. | 20:55 |
@preaction | eh, this way works better for now. | 20:58 |
-!- scrottie [~scrottie@dsl01-ppp-5119.fastq.com] has joined #webgui | 21:01 |
-!- mode/#webgui [+o scrottie] by ChanServ | 21:01 |
scrottie0 | Randall Schwartz is complaining... there's a shocker. | 21:05 |
Haarg | actually it's someone else complaining that they got attributed as randall schwartz | 21:07 |
@scrottie | oh. | 21:07 |
Haarg | i may look up my files from the conversion | 21:07 |
Haarg | not sure how that got screwed up | 21:07 |
scrottie0 | fix the attributions in 8 before the release and have everyone sync at some point before/while the change is made? dunno. | 21:08 |
Haarg | it could certainly be done, and doing it at the same time as perltidy would be as good a time as ever. | 21:10 |
CIA-60 | webgui: 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/aM9Ff1 | 21:12 |
@khenn | are the only valid status values "approved", "archived", and "pending" or is there a "denied" as well? | 21:42 |
+perlDreamer | I've never seen "denied" | 21:42 |
+perlDreamer | when a tag is denied, it goes back to pending | 21:42 |
+perlDreamer | where "it" = the asset | 21:43 |
@khenn | that's what I thought | 21:44 |
@khenn | thanks | 21:44 |
SDuensin | Holy crap. IE is 15 years old today. | 21:51 |
+perlDreamer | From processing in WebGUI is convoluted | 21: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 #webgui | 22: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 #webgui | 23:41 |
-!- fokat [~lem@190.72.138.110] has joined #webgui | 23:42 |
--- Day changed Tue Aug 17 2010 |
@scrottie | it looks like my linode is trying to guess passwords for you all. sorry about that. | 00:10 |
@scrottie | I'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 |
@scrottie | fwiw, I don't use my home passwords for work stuff and vice versa. | 00:19 |
@scrottie | and 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 #webgui | 00: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 #webgui | 01:17 |
-!- mode/#webgui [+o scrottie] by ChanServ | 01:19 |
-!- tavisto [~tavisto@pool-71-186-22-44.gdrpmi.dsl-w.verizon.net] has quit [Quit: tavisto] | 01:43 |
@scrottie | I have gotta invest in one of those really fast Internet connections everyone has. | 02:25 |
@preaction | yeah, 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 content | 02:42 |
@preaction | the 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 |
@preaction | while i was using Chrome | 02:42 |
@preaction | and the URL in the location bar changed, so i had no idea what domain i had mistyped | 02:43 |
@scrottie | I wonder if Cox's business class cable still does that. blocking ports would be problematic too. | 03:06 |
@scrottie | and 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 #webgui | 04:53 |
-!- mode/#webgui [+o tavisto] by ChanServ | 04: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 #webgui | 08:14 |
-!- kaare is now known as Guest4464 | 08: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 #webgui | 09:15 |
-!- ryuu_ro [~rory@5357069A.cable.casema.nl] has joined #webgui | 10:01 |
-!- carogray [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has joined #webgui | 14:18 |
-!- vayde [~vayde@63-226-153-96.mpls.qwest.net] has joined #webgui | 14: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 #webgui | 15:18 |
-!- daviddelikat [~user@h69-128-106-50.mdsnwi.dedicated.static.tds.net] has joined #webgui | 15:25 |
-!- fokat [~lem@190.72.138.110] has joined #webgui | 15:41 |
SDuensin | Greetings. | 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 #webgui | 16:07 |
-!- mode/#webgui [+v bartjol] by ChanServ | 16:07 |
scrottie | morning. | 16:13 |
* scrottie is still at it from last night... ugh... | 16:13 |
SDuensin | ugh | 16:13 |
scrottie | not exactly work... just IT stuff. proto-work. | 16:13 |
SDuensin | i used to do that. now i have kids! | 16:14 |
scrottie | I hear those cost you a lot of sleep too, at least at first. | 16:14 |
SDuensin | you have no NO idea! :-) | 16:15 |
-!- kaare_ [~kaare@langebro.adapt.dk] has quit [Remote host closed the connection] | 16:21 |
+bartjol | whohoo 5 minute bug fix | 17:00 |
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui | 17:03 |
-!- mode/#webgui [+o bopbop] by ChanServ | 17:03 |
-!- xootom [5eaba154@gateway/web/freenode/ip.94.171.161.84] has joined #webgui | 17:18 |
+bartjol | xootom: have you tried the bugfix? | 17:20 |
xootom | for the thumbnails? | 17:21 |
+bartjol | the resolutions | 17:21 |
+bartjol | the sorrt order | 17:21 |
xootom | ah no haven't seen that maybe my email's delayed | 17:21 |
+bartjol | it is comparing strings instead of numbers | 17:21 |
xootom | ah thought so | 17:21 |
+bartjol | so it was an easy fix | 17:21 |
xootom | great :) | 17:22 |
+bartjol | and my test site didn't crash, but did sort in the right order | 17:22 |
xootom | yes that's fixed it thanks! | 17:26 |
-!- carogray [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has left #webgui [] | 17:30 |
+bartjol | ah, nice | 17:30 |
+bartjol | glad to be of help | 17:30 |
-!- khenn [~frank@71-90-29-5.dhcp.ftbg.wi.charter.com] has joined #webgui | 17:34 |
-!- mode/#webgui [+o khenn] by ChanServ | 17:34 |
xootom | Just 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 |
+bartjol | guest? not visitor? | 17:46 |
-!- tavisto [~tavisto@pool-71-186-22-44.gdrpmi.dsl-w.verizon.net] has joined #webgui | 17:47 |
-!- mode/#webgui [+o tavisto] by ChanServ | 17:47 |
-!- carogray [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has joined #webgui | 17:47 |
+bartjol | xootom: I can imagine that a cs has a commit with approval post workflow and that everybody can post, not sure whether that is the case | 17:57 |
xootom | just looking at it, appears to be pages worth of changes to a calendar event, hundreds per minute | 17:58 |
+bartjol | whoa | 17:58 |
+bartjol | commit it! :P | 17:58 |
xootom | viewing each change, can't see any changes and the content looks legit | 17:59 |
xootom | looking at the calendar itself, everybody can view but that's it, and it has commit without approval | 18:01 |
+bartjol | mmm | 18:06 |
+bartjol | and spectre runs normally? | 18:08 |
+bartjol | well, good luck, have to go | 18: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 #webgui | 18:25 |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 18:25 |
-!- ryuu_ro [~rory@5357069A.cable.casema.nl] has quit [Quit: ryuu_ro] | 18:28 |
+perlDreamer | bopbop, that's not a bug in the calendar | 18:30 |
@bopbop | no? | 18:30 |
+perlDreamer | you shouldn't be up that late | 18:30 |
@bopbop | :) | 18:30 |
+perlDreamer | you should be sleeping at midnight | 18:30 |
@bopbop | I agree | 18:30 |
+perlDreamer | that's part of our new family-friendly initiative | 18:30 |
@bopbop | sounds great to me | 18:31 |
@bopbop | can we get rid of anything before 7AM too? | 18:31 |
+perlDreamer | oh sure, but that would be an RFE | 18:32 |
@bopbop | shucks - I'll need more karma | 18:32 |
+perlDreamer | I can loan you some | 18:34 |
@preaction | bopbop: what's the problem? | 18:37 |
@bopbop | look at the Adobe Calendar page on Plain Black | 18:38 |
@bopbop | I broke it | 18:38 |
@bopbop | I tried to enter midnight as an end time | 18:38 |
@preaction | i see the bug, fun! | 18:38 |
@bopbop | yup | 18:38 |
@preaction | midnight would technically be the next day | 18:38 |
@preaction | 12:00am is the first minute of tomorrow | 18:39 |
@preaction | was the error about "start time must be before end time" or whathaveyou? | 18:39 |
@preaction | we could special-case that situation, it's a very technical and exact definition, and we are not building webgui for technical and exact people | 18:40 |
@bopbop | yes, it was that start time must be before end time | 18:40 |
-!- ryuu_ro [~rory@5357069A.cable.casema.nl] has joined #webgui | 18:41 |
@bopbop | so, technically I have to pick 23:59 to be on the same day | 18:41 |
@bopbop | or 00:01 to be on the next? | 18:41 |
@bopbop | there's no exact midnight? | 18:42 |
@preaction | no, there is an exact midnight, but it's on the next day | 18:42 |
@bopbop | blah | 18:42 |
@bopbop | ok | 18:42 |
@bopbop | so do I pick 00:00 on the next date? | 18:43 |
@bopbop | start 22:00 on 8/24 and end at 00:00 on 8/25 | 18:43 |
@preaction | right | 18:43 |
@bopbop | sigh | 18:43 |
@bopbop | that's far too difficult | 18:43 |
@bopbop | I had to think about it | 18:43 |
@bopbop | well, if you can at least fix the page for me so I can see my calendar again I'd much obliged | 18:44 |
@bopbop | I'd BE much obliged | 18:44 |
@bopbop | I need it to keep me where I need to be | 18:44 |
@preaction | yes, as i said we can special-case that midnight thing. it's technically correct, which only matters to a beaurocrat | 18:45 |
@bopbop | k | 18:45 |
@preaction | bopbop: if you need faster resolution on something, post it to the support boards | 18:45 |
@bopbop | k | 18:45 |
+perlDreamer | preaction: are you going to fix that one (should I do another bug?) | 18:47 |
@preaction | go ahead, i've got 8 problems (but a bug ain't one) | 18:48 |
@preaction | i 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 |
+perlDreamer | preaction: I think there's a wiki page with some of that on webgui.org | 18:50 |
@preaction | i'll verify and add any pages tonight at madison.pm | 18:50 |
+perlDreamer | speaking of madison.pm... | 18:51 |
@bopbop | preaction: is there a limit to how many assets you can cut or delete at one time inside the asset panel? | 18:51 |
@preaction | bopbop: no. why? | 18:52 |
@bopbop | seems like I can only delete 10 at at ime | 18:52 |
@bopbop | time | 18:52 |
@bopbop | cut seems better | 18:52 |
@bopbop | I'll try to test my delete again to see if I run into a limit again | 18:52 |
@preaction | delete may not be using the progress bar as it is supposed to | 18:53 |
-!- plainhao [~plainhao@mail.xbiotica.com] has joined #webgui | 19: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 #webgui | 19:33 |
-!- ryuu_ro [~rory@5357069A.cable.casema.nl] has quit [Quit: ryuu_ro] | 20:28 |
+perlDreamer | preaction: 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 |
@preaction | no | 20:39 |
@preaction | the 600 is the max height or width at the same aspect ratio as the original | 20:39 |
+perlDreamer | at some point, I did this: git show 25213877 | 20:46 |
+perlDreamer | no comment other than "fix a bad sort" | 20:46 |
@preaction | what do we all think about punishing regressions severely? | 20:48 |
Haarg | punishing how? | 20:49 |
@preaction | i was thinking a probationary period where your commit bit is revoked and you have to commit through someone with a commit bit | 20:50 |
Haarg | might be better to finish the stuff i did on smoke | 20:51 |
@preaction | i've found that without a strict policy in place, people feel they can abuse the codebase | 20:51 |
Haarg | so people get notified of problems | 20:51 |
Haarg | with a strict policy in place they still tend to do so | 20:52 |
Haarg | perlDreamer, that sort should be changed back to a numeric sort really | 20:54 |
Haarg | probably with some reformatting to do it properly though and avoid warnings | 20:54 |
+perlDreamer | it's the tests! | 20:55 |
+perlDreamer | the Album uses pure numeric resolutions, but the tests set it to \d+x\d+ | 20:56 |
+perlDreamer | preaction, we have so few committers that I think perhaps just yelling at the person would work | 21:01 |
-!- carogray1 [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has joined #webgui | 21:09 |
-!- carogray1 [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has left #webgui [] | 21:11 |
CIA-60 | webgui: Colin Kuskie master * r09ff643 / lib/WebGUI/Asset.pm : Explicit scalar for getting the URL form param in Asset.pm. - http://bit.ly/aREf9Q | 21:19 |
CIA-60 | webgui: 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/df5YZb | 21:19 |
+perlDreamer | that needs an explicit test, too for sorting checks | 21:26 |
+perlDreamer | I'll add it after lunch | 21:26 |
scrottie | hmm. | 22:18 |
SquOnk | Greetings. | 22:23 |
* SquOnk fighting to get 7.9 into Squeeze | 22:23 |
SquOnk | BTW, my visa has been granted so I see you guys at WUC2010 :-) | 22:24 |
@preaction | yay | 22:24 |
SquOnk | It'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 |
scrottie | http://niemann.blogs.nytimes.com/2010/08/03/red-eye/ | 22:27 |
@preaction | i think there is, but the drive isn't so bad | 22:27 |
SquOnk | preaction: How long's the drive from Chicago? | 22:29 |
@preaction | 2.5 hours | 22:29 |
SquOnk | I rather fly in. | 22:30 |
SquOnk | 3 hours SVMI-KMIA, plus immigration and customs | 22:30 |
SquOnk | Layover | 22:30 |
SquOnk | 4 hours KMIA-KORD | 22:30 |
SquOnk | I'm not driving :-) | 22:30 |
@preaction | depending on when you arrive the buses may not be running, madison's not so big to have 24/7 public transportation | 22:32 |
@preaction | oh, cab, i suppose | 22:32 |
-!- plainhao [~plainhao@mail.xbiotica.com] has quit [Quit: plainhao] | 22:32 |
SquOnk | preaction: I'll figure it out :-) | 22:32 |
SquOnk | preaction: I walk a lot anyway... | 22:33 |
@preaction | what hotel you staying at? the concourse? the airport's a little bit out of the way of downtown | 22:34 |
SquOnk | preaction: I'm going to try to stay at the Concourse, yes. | 22:34 |
SquOnk | preaction: 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 |
@preaction | madison's rather sprawled out for its population, though there are bike rentals around too | 22: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 #webgui | 23:22 |
-!- daviddelikat [~user@h69-128-106-50.mdsnwi.dedicated.static.tds.net] has quit [Ping timeout: 255 seconds] | 23:24 |
CIA-60 | webgui: Colin Kuskie master * r80c906b / (2 files in 2 dirs): Really fix sorting numerically for resolutions. Added tests to check it. - http://bit.ly/c6131K | 23:31 |
+perlDreamer | yay! I didn't break the calendar | 23:39 |
+perlDreamer | underground did | 23:39 |
-!- scrottie [~scrottie@dsl01-ppp-5119.fastq.com] has joined #webgui | 23:41 |
-!- mode/#webgui [+o scrottie] by ChanServ | 23:41 |
-!- scrottie0 [~scott@li25-98.members.linode.com] has joined #webgui | 23:49 |
+perlDreamer | I'm sorry, but we only allow 1 scrottie per IRC channel | 23:57 |
+perlDreamer | one of you is going to have to leave | 23:57 |
--- Day changed Wed Aug 18 2010 |
* scrottie tries to stare down scrottie0 | 00:01 |
* scrottie0 tries to stare down scrottie | 00:01 |
scrottie0 | ugh. I smell like a camel. | 00:03 |
+perlDreamer | foreach $scrottie ($session->getScrotties) { dump Bucket => $scrottie } | 00:09 |
SquOnk | map { dump Bucket => $_ } $session->getScrotties | 00:12 |
SquOnk | FUNctional programming is FUN | 00:12 |
+perlDreamer | Fairly UNintelligible? | 00:13 |
@scrottie | use perl5i; $session->getScrotties->Data::Dumper::Dumper; | 00:13 |
SquOnk | perlDreamer: Actually, it tends to be clearer | 00:13 |
@scrottie | actually, not even perl5i there. | 00:13 |
+perlDreamer | Fouled-Up Nonrecognizable? | 00:13 |
SquOnk | perlDreamer: Not necessarily in Perl, though. | 00:13 |
SquOnk | perlDreamer: map and grep are among the Perl Best Practices one should get used to. | 00:14 |
SquOnk | perlDreamer: For performance reasons even. | 00:14 |
@scrottie | http://search.cpan.org/~sartak/autobox-Closure-Attributes-0.04/lib/autobox/Closure/Attributes.pm sums it up nicely =) | 00:14 |
@scrottie | not to mention being an awesome hack. | 00:14 |
SquOnk | perlDreamer: There are several functional aspects of Perl that most people don't recognize as being functional, and are both cool and efficient. | 00:15 |
SquOnk | Maybe I'll preach a bit of high order Perl at WUC2010 ;-P | 00:15 |
* perlDreamer has read parts of HOP, SquOnk | 00:15 |
* scrottie hopes perlDreamer and SquOnk will read the brief story in the a::C::A POD =) | 00:15 |
+perlDreamer | just having fun with acronyms at your expense | 00:16 |
SquOnk | perlDreamer: That's one of the cooler books the Perl community has | 00:16 |
SquOnk | scrottie: It's funny, yes. | 00:16 |
@scrottie | THEN LAUGH. | 00:16 |
SquOnk | scrottie: I guess someone sneaked in my "Programming Languages I" course and transliterated into a Zen-style story ;-) | 00:16 |
SquOnk | There's an excellent book alongside a programming environment named Mozart that illustrates those points in a very didactic way. | 00:17 |
SquOnk | I'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 |
SquOnk | Objects = Functional Programming + Closures over State | 00:18 |
SquOnk | Where State is a generic datatype. | 00:19 |
SquOnk | Most programming vices come from not having been exposed to functional programming early on. | 00:19 |
SquOnk | That's my theory, anyway. | 00:20 |
@scrottie | don'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 |
@scrottie | it uses the 'ops' module to disable the = and related operators in the VM. | 00:20 |
@scrottie | tada! | 00:20 |
-!- daviddelikat1 [~user@h69-128-106-50.mdsnwi.dedicated.static.tds.net] has quit [Quit: Leaving.] | 00:23 |
SquOnk | scrottie: That's oughly cute. | 00:26 |
-!- r3c4ll [~r3c4ll@190.75.114.103] has joined #webgui | 00:35 |
r3c4ll | hi | 00:35 |
+perlDreamer | hello | 00:36 |
@scrottie | hey r3c4ll. | 00:38 |
r3c4ll | I'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 |
+perlDreamer | you need root access to install it | 00:41 |
+perlDreamer | unless you have someone else host it for you, of course | 00:41 |
@preaction | presently you must have a shell to install it, unless someone makes a cpanel plugin for webgui | 00:41 |
r3c4ll | ok thank you ;) | 00:41 |
SquOnk | r3c4ll: aptitude install webgui | 00:42 |
r3c4ll | hi Mr. SquOnk :D | 00:42 |
@preaction | that too | 00:42 |
@scrottie | I 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 |
@scrottie | but I suppose aptitude would be nice. if you're into that sort of thing. which I'm not. | 00:44 |
SquOnk | scrottie: What do you mean "you want CPAN"? | 00:44 |
+perlDreamer | he wants to cpan WebGUI | 00:44 |
@preaction | cpan install WebGUI | 00:44 |
@scrottie | I want WebGUI on CPAN. | 00:44 |
+perlDreamer | you could put it there now, but it won't do you any good | 00:44 |
@preaction | haarg and i share that vision | 00:44 |
+perlDreamer | you need to have mysql rights, and apache config rights, and all sorts of other things | 00:45 |
SquOnk | preaction: I see. | 00:45 |
SquOnk | preaction: Well, the first step is to turn WebGUI to a proper CPAN distribution layout. | 00:45 |
@preaction | SquOnk: better for you too, as there are easy tools to change cpan distros into dpkg | 00:45 |
@preaction | yes, that's what haarg has been doing in webgui 8 | 00:46 |
SquOnk | preaction: Yep, dh-make-perl | 00:46 |
@scrottie | http://search.cpan.org/~dpavlin/Fuse-DBI-0.08/examples/webgui.pl ... that's interesting. | 00:47 |
@scrottie | mount that somewhere under web root =) | 00:47 |
SquOnk | preaction: Then the MySQL rights and Apache config could be handled by Debian's packaging tools for that... | 00:48 |
@preaction | might not work under a current WebGUI, looks like it's from 2004 | 00:48 |
SquOnk | ...and Module::Install allows for an install_script that could do all those things for non-Debian installs. | 00:49 |
Haarg | more likely it would be a separate script | 00:49 |
@preaction | yes, and there are things that WGDev does that WebGUI::Command will do (included with webgui), and WebGUI::Command will do other management as well | 00:49 |
@preaction | a lot of what the WRE does will be included with WebGUI itself instead | 00:50 |
@preaction | that 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 |
Haarg | part 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 |
Haarg | and it's also stalled on yui from a cdn | 00:53 |
@preaction | ah, yeah, i should get on that... | 00:54 |
+perlDreamer | Haarg: what kind of encoding is "spa%DF" ? | 00:56 |
@preaction | URL encoding | 00:57 |
+perlDreamer | that's something else that dispatch broke | 00:57 |
+perlDreamer | UTF-8 URLs | 00:58 |
@preaction | yay! | 00:58 |
@preaction | just make sure to write a test expositing it before you fix | 00:58 |
+perlDreamer | aye, aye sir! | 00:59 |
+perlDreamer | Oregon is getting its own branch of the Pirate party | 00:59 |
+perlDreamer | http://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=AFQjCNGKx0rPbOm3OcM0C44LgLNLGJsfnA | 01:00 |
@preaction | i like that "it's going to die because dems and reps will steal their ideas" | 01:02 |
@scrottie | no stealing from pirates! that's not fair! | 01:02 |
@preaction | neither 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 preaction | 01:03 |
@scrottie | save it for when there's beer and too little else to talk about. | 01:03 |
+perlDreamer | September 2nd | 01:03 |
SquOnk | Heh | 01:06 |
SquOnk | I have to talk to the dutch guys into bringing me some beer... | 01:06 |
SquOnk | I wonder what to bring myself, though. | 01:07 |
@scrottie | hrm? Madison is dry? | 01:07 |
SquOnk | Venezuelan beer is not what it used to be nowadays. Just another pilsener. | 01:07 |
+perlDreamer | SquOnk: Madison has many good beers | 01:07 |
+perlDreamer | from local breweries | 01:08 |
@preaction | no, madison has excellent beer. i would say the best you can get outside of Belgium | 01:08 |
SquOnk | I won't bring white cheeses to Wisconsin | 01:08 |
SquOnk | preaction: LOL | 01:08 |
SquOnk | perlDreamer: Oh, I'll try them all, for sure. | 01:08 |
* perlDreamer will bring a wheeled cart to bring you home | 01:08 |
@preaction | we're a bunch of German immigrants, of course we can brew beer | 01:08 |
SquOnk | perlDreamer: Wishful thinking | 01:08 |
SquOnk | I know. I'll bring venezuelan chocolate | 01:09 |
SquOnk | Are you guys into dark chocolate? Like 93% cocoa, almost no sugar? | 01:09 |
@preaction | i am, but most of my fellow wisconsinites feel that "Hershey's" produces actual chocolate | 01:10 |
@scrottie | I'm down. I don't know if I have a well developed pallet but I do enjoy dark chocolate. | 01:10 |
SquOnk | All 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 |
+perlDreamer | rhum? Is that like rum? | 01:11 |
@scrottie | I don't know what I can bring from Arizona. racial profiling? | 01:11 |
@scrottie | it's kind of a wasteland here. | 01:12 |
@scrottie | rhum _really_ sounds good right now. | 01:12 |
SquOnk | perlDreamer: Yep | 01:12 |
SquOnk | http://www.chocolatetradingco.com/magazine.asp?id=213 | 01:12 |
SquOnk | Dark Chuao chocolate. As good as it gets. | 01:12 |
@preaction | hmm... perhaps use dark chuao to brew a dark lager | 01:15 |
@scrottie | I'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/66ead7785a45d7facaa3db440519349a4cc02790 | 01:19 |
-!- waxhead_ [~pete@ppp121-45-217-60.lns20.cbr1.internode.on.net] has joined #webgui | 01:19 |
+perlDreamer | scrottie, the Test::Class tutorial tells you how to do that | 01:19 |
@scrottie | would that .pl be better off somewhere else or perhaps just not part of the source tree? | 01:19 |
+perlDreamer | without a script | 01:19 |
@scrottie | oh. | 01:19 |
@scrottie | right-o. I'll keep the thing to myself then. | 01:19 |
+perlDreamer | just Google for ovid Test::Class | 01:19 |
r3c4ll | SquOnk, i go to Chuao every time i can... it is every two weeks aprox ;) | 01:19 |
+perlDreamer | and it will tell you what to do | 01:20 |
@scrottie | meh. my stupid script works for my purposes. I'll just leave it uncommited then. | 01:20 |
@scrottie | my brain is full right now. | 01:20 |
+perlDreamer | the French have a saying for that condition, scrottie | 01:21 |
@scrottie | oh, 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 |
+perlDreamer | it's called, "Waaaaaaaaaaah" | 01:23 |
@scrottie | Sadly, 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 |
@scrottie | not polluting the source tree is a much higher priority ;) | 01:24 |
CIA-60 | webgui: Scott Walters WebGUI8 * rba953a6 / lib/WebGUI/Asset/Wobject/Carousel.pm : | 01:25 |
CIA-60 | webgui: Use the Form::ReadOnly control rather than the raw interface; | 01:25 |
CIA-60 | webgui: WebGUI::FormBuilder::Tab is not a subclass of WebGUI::HTMLForm and doesn't implement raw(). - http://bit.ly/bHUcCA | 01:25 |
CIA-60 | webgui: Scott Walters WebGUI8 * r420fcde / lib/WebGUI/Asset/Wobject/Poll.pm : | 01:25 |
CIA-60 | webgui: Use the Form::ReadOnly control rather than the raw interface; | 01:25 |
CIA-60 | webgui: WebGUI::FormBuilder::Tab is not a subclass of WebGUI::HTMLForm and doesn't implement raw(). - http://bit.ly/ca7aCp | 01:25 |
@scrottie | incidentally, 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 |
@preaction | nice | 01:30 |
@scrottie | there are stories to be heard, I have no doubt. | 01:31 |
@preaction | and beer to drink while hearing them | 01:32 |
@scrottie | I 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 #webgui | 01:45 |
-!- fokat [~lem@190.72.138.110] has quit [Ping timeout: 265 seconds] | 01:48 |
-!- fokat [~lem@190.72.138.110] has joined #webgui | 02: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 #webgui | 02:31 |
-!- mode/#webgui [+o khenn] by ChanServ | 02:31 |
+perlDreamer | Lesson learned for today | 02:45 |
+perlDreamer | Don't use a perl module and 8 extra lines of code... | 02:46 |
+perlDreamer | when 1 line of core perl will do the right thing | 02:46 |
@scrottie | perl -e 'dump' ? | 02:46 |
+perlDreamer | no | 02:46 |
+perlDreamer | I used URI-new($url) to get an easy, clean split of the URL path into fragments | 02:47 |
@scrottie | sounds reasonable. | 02:47 |
+perlDreamer | however, that encoded the URL, which borked all the UTF-8 characters in it | 02:47 |
@scrottie | that sounds unreasonable. | 02:48 |
@scrottie | it should just be parsing it, not encoding or escaping stuff. | 02:48 |
+perlDreamer | so, instead of URI->new($url); $uri->path_fragments; munge all path fragments for utf8 | 02:48 |
+perlDreamer | I just did split /\// | 02:49 |
@scrottie | for the sake of safety when programming perl, always remember: never touch the data. | 02:50 |
@scrottie | you'll get a rash, it'll get germs on it. it's not good. | 02:50 |
@scrottie | I recommend five layers of encapsulation. | 02:50 |
CIA-60 | webgui: 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/dezVWZ | 02: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 |
@scrottie | I need a progress bar. | 03:04 |
+perlDreamer | Be nice to my Story Manager code. I'm an overprotective parent | 03:05 |
+perlDreamer | Yargh! | 03:06 |
+perlDreamer | How is it, in 9 years of WebGUI, that no one has complained about i18n in the time chooser? | 03:06 |
@scrottie | I didn't only ask its parent before taking it on a date, I asked its parent's parent. | 03:07 |
+perlDreamer | that's real thorough | 03:08 |
@scrottie | I 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 |
@scrottie | not that that saves any time or effort in debugging. | 03:09 |
+perlDreamer | no, Moose does not make stack traces or perl -d any easier | 03:29 |
+perlDreamer | preaction: 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 wish | 03:30 |
-!- perlDreamer [~colink@pool-173-50-255-102.ptldor.fios.verizon.net] has quit [Ping timeout: 265 seconds] | 03:39 |
@scrottie | hrm. 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 #webgui | 03: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 #webgui | 04:12 |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 04: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 #webgui | 04: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 #webgui | 04:26 |
+perlDreamer | scrottie, you're not supposed to be here anymore | 04:27 |
+perlDreamer | remember, 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 |
+perlDreamer | holy crap! patspam's in the hospital! | 04:28 |
CIA-60 | wrebuild: Colin Kuskie master * r6270382 / wre/sbin/wremonitor.pl : Force monitoring of modperl processes, too in wremonitor.pl - http://bit.ly/cgdbGG | 04:30 |
CIA-60 | wrebuild: Colin Kuskie master * r577f160 / (16 files in 5 dirs): Merge branch 'master' of github.com:plainblack/wrebuild - http://bit.ly/aZFMjy | 04: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 #webgui | 04:51 |
-!- mode/#webgui [+o khenn] by ChanServ | 04: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 #webgui | 05:16 |
-!- mducharme [~nothing@S0106000e0cc03cff.wp.shawcable.net] has joined #webgui | 05:34 |
-!- daviddelikat [~user@h69-129-206-153.mdsnwi.broadband.dynamic.tds.net] has joined #webgui | 05: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 #webgui | 06: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 #webgui | 06:16 |
-!- mode/#webgui [+o khenn] by ChanServ | 06:16 |
-!- carogray [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has joined #webgui | 06: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 #webgui | 06:30 |
-!- mode/#webgui [+o tavisto] by ChanServ | 06: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 #webgui | 07: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 #webgui | 07: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 #webgui | 09:09 |
-!- ryuu_ro [~rory@194.171.50.69] has joined #webgui | 09: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 #webgui | 10: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 #webgui | 12:44 |
-!- mode/#webgui [+v bartjol] by ChanServ | 12:44 |
-!- carogray [~Caroline@c-75-68-17-12.hsd1.nh.comcast.net] has joined #webgui | 13:43 |
-!- daviddelikat [~user@h69-129-206-153.mdsnwi.broadband.dynamic.tds.net] has joined #webgui | 14: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 #webgui | 14:45 |
-!- stDavid [~stDavid@static-72-64-138-146.tampfl.fios.verizon.net] has joined #webgui | 15: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 #webgui | 15:45 |
-!- daviddelikat [~user@h69-128-106-50.mdsnwi.dedicated.static.tds.net] has joined #webgui | 16:14 |
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui | 16:30 |
-!- mode/#webgui [+o bopbop] by ChanServ | 16:30 |
SDuensin | Greetings. | 16:42 |
+bartjol | howdy | 16:53 |
-!- ryuu_ro [~rory@194.171.50.69] has quit [Ping timeout: 252 seconds] | 17:30 |
-!- SVIFI [~svifi@5.datapartner.fi] has joined #webgui | 17:33 |
SVIFI | a question: how to make table with invisible border in webgui default editor | 17:33 |
SVIFI | whatever style or border color/thickness/collapse etc I put it still is visible | 17:34 |
SVIFI | ? | 17:34 |
@preaction | visible in the editor? or on the page after you save it? | 17:34 |
SVIFI | in the page afterwards | 17:34 |
@preaction | your page's stylesheet could be overriding the editor's settings | 17:35 |
SVIFI | i edit HTML, and it seems like webgui overwrites some code which makes it visible again | 17:35 |
@preaction | that's also possible if you're using IE6 or 7, but i've only seen that for images | 17:35 |
SVIFI | is there any way to exclude any preset stylsheet options for just one case? | 17:35 |
@preaction | assign 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 |
@preaction | the <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 level | 17:37 |
SVIFI | right, I have been experimenting with it already | 17:38 |
SVIFI | I will try ... | 17:38 |
SVIFI | with ID | 17:38 |
SVIFI | hm | 17:39 |
SVIFI | still visible, in fact | 17:39 |
SVIFI | when I set background-color: #FFFFFF; in style head tags | 17:40 |
@preaction | run your page through the validator, make sure your browser isn't caching, and if those fail then paste a URL here | 17:40 |
SVIFI | the lower part of border disappears, but higher one remains | 17:40 |
SVIFI | http://www.datapartner.fi/en/customers/overview-by-industry | 17:42 |
SVIFI | this is the url with the table on top | 17:42 |
-!- perlDreamer [~colink@pool-173-50-255-102.ptldor.fios.verizon.net] has joined #webgui | 17:43 |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 17:43 |
+perlDreamer | good morning, everybody! | 17:43 |
SDuensin | Hey perlDreamer | 17:43 |
SVIFI | good evening, here | 17:43 |
@preaction | SVIFI: your markup is invalid | 17:44 |
SDuensin | And SVIFI and anyone else I missed. | 17:44 |
+perlDreamer | SVIFI: I should have said, "TimeZone appropriate greeting" | 17:44 |
@preaction | http://validator.w3.org/check?uri=http://www.datapartner.fi/en/customers/overview-by-industry&charset=(detect+automatically)&doctype=Inline&group=0 | 17:44 |
SVIFI | oh btw | 17:45 |
@preaction | SVIFI: and though you have border: 0px solid; you also have border-bottom: and border-right: which override that | 17:46 |
SVIFI | i forgotten its not committed so you see old version | 17:46 |
@preaction | finally, you need to override the td style for the #_mc_tmp | 17:46 |
@preaction | something like #_mc_tmp td { border: none } | 17:47 |
-!- tavisto [~tavisto@pool-71-186-22-44.gdrpmi.dsl-w.verizon.net] has joined #webgui | 17:51 |
-!- mode/#webgui [+o tavisto] by ChanServ | 17:51 |
+bartjol | preaction, are you ready for a dutch person in your home? | 17:55 |
@preaction | can one ever be truly ready for that? | 17:55 |
+bartjol | nope | 17:56 |
@preaction | plus you'll have to fight with frodwith for which sleeping arrangement is whose | 17:56 |
+bartjol | well, I suppose I have the last choice | 17:56 |
SVIFI | preaction thanks, the ID method worked with #id td {...} | 17:57 |
SVIFI | I appreciate it! | 17:57 |
@preaction | np, that's what we're here for | 17:57 |
-!- SVIFI [~svifi@5.datapartner.fi] has quit [] | 18:05 |
+bartjol | what, is the bug tracker not a support forum? | 18:49 |
@preaction | never has been, ha ha, never will | 18:49 |
+bartjol | darn, I just wanted to add all my issues from work to the tracker | 18:52 |
-!- bartjol [~bartjol@kantoor.procolix.com] has quit [Quit: Leaving.] | 19:28 |
-!- xootom [5eaba154@gateway/web/freenode/ip.94.171.161.84] has joined #webgui | 19:52 |
xootom | anyone using the webgui shop? | 19:54 |
@preaction | yes | 19:54 |
xootom | i'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 enabled | 19:55 |
xootom | do i need to do anything else? | 19:55 |
@preaction | cash and paypal do not support recurring transactions | 19:55 |
@preaction | paypal will soon, but for now it's really only credit card for subscriptions | 19:55 |
xootom | ahh i see, can i stop the subscriptions recurring? | 19:55 |
@preaction | not 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 hourglass | 19:56 |
xootom | ok i'll have a play anyway thanks | 19:57 |
scrottie | yarrr. | 20:02 |
scrottie | perlDreamer, I wasn't here, the computer was doing its own thing, and what happened to patspam? bastard okay? | 20:04 |
scrottie | hospital > morgue =| | 20:04 |
-!- xootom [5eaba154@gateway/web/freenode/ip.94.171.161.84] has quit [Quit: Page closed] | 20:08 |
+perlDreamer | scrottie, apparently patspam has salmonella | 20:35 |
@preaction | oh fun | 20:40 |
@bopbop | perlDreamer: that page is ok now - I didn't mean to give my post a mad face | 20:51 |
+perlDreamer | that's cool. I just hate to have you waiting for a fix | 20:51 |
@bopbop | nah, all's good | 20:51 |
scrottie | brb. store across the street. | 20:51 |
+perlDreamer | this SQL query fragment: http://gist.github.com/535651 | 21:04 |
+perlDreamer | seems like it's overkill | 21:04 |
+perlDreamer | the GROUP BY and HAVING clauses would be overridden by the ORDER clause | 21:04 |
@preaction | no | 21:05 |
@preaction | first they get grouped, then they get ordered | 21:05 |
@preaction | so group by removes old revisions of assets | 21:05 |
@preaction | order by orders the remaining rows | 21:05 |
+perlDreamer | would it help to know that the query does not really return the latest version of the Posts? | 21:05 |
@preaction | limit 1 causes the whole thing to be unnecessary, but you never know when someone will change that | 21:06 |
SDuensin | I 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 |
+perlDreamer | SDuensin, there's an OpenID patch that can be applied to WebGUI 7.x | 21:22 |
+perlDreamer | but in 8 we'll be rewriting Auth, and integrating in OpenID | 21:22 |
+perlDreamer | at least as a consumer, perhaps a supplier | 21:22 |
SDuensin | Not 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 |
@preaction | we don't have time to rewrite auth completely in 8, just smooth out some rough spots and refactor a bit | 21:23 |
SDuensin | I did it once before, but it was horribly hackish. | 21:23 |
@preaction | SDuensin: that sounds insecure. unless you're using an SSO system that shares tokens | 21:23 |
@preaction | 7.9 has Twitter-based auth. 7.10 will most likely have facebook auth | 21:23 |
SDuensin | Well, see, that's kind of what I'm asking. :-) | 21:23 |
SDuensin | I 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 |
SDuensin | I want to iframe some other stuff into my site and I don't want them to have to log in twice. | 21:25 |
@preaction | look at OAuth, that is most likely what you want | 21:26 |
@preaction | but you'd need to write the handlers yourself | 21:26 |
@preaction | and that other site would need to handle oauth as well | 21:26 |
@preaction | no matter what you're going to need something on that other site | 21:26 |
SDuensin | The other side is my code, so I can do that. | 21:27 |
SDuensin | OAuth is kinda cool. Seems overkill for what I need though. | 21:30 |
@preaction | anyone 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 |
+perlDreamer | you mean as opposed to getWebguiProperty from Session/Style.pm? | 21:40 |
@preaction | right | 21:41 |
@preaction | a better version of that | 21:42 |
+perlDreamer | that means changing a lot of templates | 21:42 |
@preaction | they actually use that instead of the ^Extras macro? | 21:44 |
@preaction | it'd be nice to say "window.webgui.extras(fragment)", a set of real functions instead of that hacky crap | 21:47 |
@preaction | just like how the YAHOO global object works | 21:48 |
+perlDreamer | I was wrong. There are no core templates that use that | 21:49 |
@preaction | yay! | 21:49 |
+perlDreamer | but there are bunch of core JS in www/extras | 21:49 |
@preaction | yeah, that's easy to grep/replace though | 21:49 |
+perlDreamer | ack | xargs perl -pi -e ROCKS | 21:49 |
+perlDreamer | however, now there's a conundrum | 21:50 |
+perlDreamer | Someone posted a SC bug about UTF-8 | 21:50 |
+perlDreamer | I can fix it by removing a line | 21:50 |
+perlDreamer | utf8::downgrade($value) | 21:50 |
+perlDreamer | but I don't know what will break if I do that | 21:50 |
@preaction | if you don't know, that means we haven't tested enough :( | 21:51 |
+perlDreamer | There are no tests for that | 21:51 |
@preaction | sadface | 21:51 |
+perlDreamer | I'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 one | 21:51 |
@preaction | since we can never seem to reliably reproduce, that may be what we need to do | 21:52 |
+perlDreamer | Haarg: ping for historical context | 21:53 |
Haarg | ? | 21:55 |
+perlDreamer | scrollback about SC, please | 21:55 |
Haarg | give me a minute | 21:55 |
+perlDreamer | Do you remember the history of the utf8::downgrade on line 173 of Asset/Wobject/SyndicatedContent.pm? | 21:56 |
+perlDreamer | also, the good news is that I have a snapshot of the file that causes this bug to appear | 21:57 |
Haarg | do you have the url as well? | 21:57 |
Haarg | sc issues depend on http headers as well | 21:58 |
+perlDreamer | http://psv.netwerk.to/nieuws/rss.xml | 21:58 |
Haarg | the issue has a few parts | 21:58 |
+perlDreamer | I captured the headers when I downloaded it | 21:58 |
+perlDreamer | it doesn't say that it's UTF8 encoded in the headers, only in the XML tag | 21:58 |
Haarg | encoding can be specified as an http header, in the mime type, or in the xml prolog | 21:59 |
Haarg | or sometimes is more than one of those places | 21:59 |
Haarg | we use decoded_content | 22:01 |
Haarg | which will deal with the first two of those decoding parts | 22:02 |
Haarg | but there are cases where it will 'decode' into utf8 even though it doesn't convert to characters | 22:04 |
Haarg | but instead basically has the bytes but marked as utf8 | 22:04 |
Haarg | so the downgrade is basically supposed to attempt to convert the string into bytes, so that XML::FeedPP can deal with the encoding | 22:05 |
Haarg | but obviously it sometimes doesn't work | 22:05 |
+perlDreamer | like this case | 22:05 |
Haarg | unfortunately i don't have the url that i was dealing with that led me to add that line | 22:05 |
Haarg | and when i attempted to make tests i couldn't get anything to work at all | 22:06 |
Haarg | there 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 cases | 22:07 |
Haarg | but it's even painful to get perl to generate stuff in those forms | 22:08 |
Haarg | and trying to debug it is hard because it isn't even easy to look at the contents of the strings | 22:08 |
+perlDreamer | what do you think about my idea of breaking it, and waiting for people to submit more test cases? | 22:08 |
+perlDreamer | re debug: I still want perl to tell me what the encoding is | 22:09 |
+perlDreamer | but I know it can't really do that | 22:09 |
Haarg | all perl has is the utf8 flag | 22:09 |
Haarg | which doesn't tell you the encoding, but does tell you how perl is handling it | 22:10 |
Haarg | and the fact that utf8 != UTF-8 doesn't help much | 22:10 |
+perlDreamer | yeah | 22:11 |
+perlDreamer | so, if I'm going to go ahead with this idea about building tests, I really have to wash the data through LWP | 22:13 |
+perlDreamer | which means setting up a small HTTP server so that LWP can suck it down, and then the SC can touch it | 22:13 |
Haarg | you shouldn't need to run it through lwp | 22:13 |
Haarg | for testing what is needed roughly is | 22:14 |
Haarg | content as bytes (utf8 off) content as characters (utf8 on) content with each byte as a character (utf8 on) | 22:15 |
Haarg | latin1 as both latin1 and as UTF-8 | 22:16 |
Haarg | and something like russian | 22:17 |
Haarg | oh, and handing each of those to XML::FeedPP, sometimes with and sometimes without the xml prolog | 22:19 |
Haarg | or rather, sometimes with and sometimes without the encoding specified in the prologo | 22:19 |
Haarg | probably also need stuff that is utf8-on but is actually ISO-8859-5 | 22: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 |
@preaction | it's cool that git lets me commit locally, but that doesn't lend itself to fun discussions here about my commits | 00:36 |
-!- daviddelikat [~user@h69-128-106-50.mdsnwi.dedicated.static.tds.net] has quit [Read error: Connection reset by peer] | 00:49 |
scrottie | run your own bot like CIA-60 locally =) | 00:51 |
@preaction | i could write a commit hook that would spam #webgui | 00:52 |
@preaction | |
---|