WebGUI irc logs from: 2011-05.log

--- Log opened Sun May 01 00:00:01 2011
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui01:42
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has quit [Read error: Connection reset by peer]05:20
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Read error: Operation timed out]08:22
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui12:36
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Quit: Leaving.]16:39
-!- gugod [~gugod@114-32-222-155.HINET-IP.hinet.net] has quit [Ping timeout: 276 seconds]18:20
-!- kaare__ [~kaare@91.100.9.171.generic-hostname.arrownet.dk] has joined #webgui18:40
-!- kaare__ [~kaare@91.100.9.171.generic-hostname.arrownet.dk] has quit [Remote host closed the connection]18:43
-!- gugod [~gugod@114-32-222-155.HINET-IP.hinet.net] has joined #webgui18:51
-!- daviddelikat [~user@adsl-76-204-91-139.dsl.mdsnwi.sbcglobal.net] has joined #webgui23:07
-!- daviddelikat1 [~user@76.201.148.64] has joined #webgui23:28
-!- daviddelikat [~user@adsl-76-204-91-139.dsl.mdsnwi.sbcglobal.net] has quit [Ping timeout: 260 seconds]23:30
-!- daviddelikat1 [~user@76.201.148.64] has quit [Ping timeout: 240 seconds]23:51
-!- daviddelikat [~user@99.154.0.28] has joined #webgui23:51
--- Day changed Mon May 02 2011
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui00:05
-!- daviddelikat [~user@99.154.0.28] has quit [Ping timeout: 240 seconds]00:10
-!- jimX11 [~jjm@n128-227-81-249.xlate.ufl.edu] has joined #webgui00:26
-!- daviddelikat [~user@ppp-70-226-168-0.dsl.mdsnwi.ameritech.net] has joined #webgui00:59
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Quit: Leaving.]01:22
-!- daviddelikat1 [~user@ppp-70-226-168-0.dsl.mdsnwi.ameritech.net] has joined #webgui02:18
-!- daviddelikat [~user@ppp-70-226-168-0.dsl.mdsnwi.ameritech.net] has quit [Ping timeout: 248 seconds]02:21
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has joined #webgui03:34
-!- mode/#webgui [+o pbcj] by ChanServ03:34
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has quit [Client Quit]03:34
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has quit [Quit: Leaving.]05:50
-!- jimX11 [~jjm@n128-227-81-249.xlate.ufl.edu] has quit [Quit: Leaving]07:48
-!- kaare_ [~kaare@langebro.adapt.dk] has joined #webgui08:58
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui10:13
-!- mode/#webgui [+v BartJol] by ChanServ10:13
-!- carogray1 [~Caroline@173-125-234-112.pools.spcsdns.net] has joined #webgui12:53
-!- carogray [~Caroline@173-125-234-112.pools.spcsdns.net] has joined #webgui12:58
-!- carogray1 [~Caroline@173-125-234-112.pools.spcsdns.net] has quit [Ping timeout: 252 seconds]13:00
-!- carogray1 [~Caroline@173-125-234-112.pools.spcsdns.net] has joined #webgui13:03
-!- carogray [~Caroline@173-125-234-112.pools.spcsdns.net] has quit [Ping timeout: 240 seconds]13:04
-!- carogray1 [~Caroline@173-125-234-112.pools.spcsdns.net] has quit [Ping timeout: 276 seconds]13:08
-!- carogray [~Caroline@173.155.68.71] has joined #webgui13:08
-!- carogray1 [~Caroline@173-125-234-112.pools.spcsdns.net] has joined #webgui13:13
-!- carogray [~Caroline@173.155.68.71] has quit [Ping timeout: 240 seconds]13:14
-!- carogray [~Caroline@173-125-234-112.pools.spcsdns.net] has joined #webgui13:17
-!- carogray1 [~Caroline@173-125-234-112.pools.spcsdns.net] has quit [Ping timeout: 240 seconds]13:17
-!- carogray1 [~Caroline@173-115-84-78.pools.spcsdns.net] has joined #webgui13:34
-!- carogray [~Caroline@173-125-234-112.pools.spcsdns.net] has quit [Ping timeout: 240 seconds]13:36
-!- carogray1 [~Caroline@173-115-84-78.pools.spcsdns.net] has quit [Ping timeout: 240 seconds]13:55
-!- carogray [~Caroline@173-115-84-78.pools.spcsdns.net] has joined #webgui13:56
-!- carogray1 [~Caroline@108.113.230.159] has joined #webgui14:14
-!- carogray [~Caroline@173-115-84-78.pools.spcsdns.net] has quit [Ping timeout: 240 seconds]14:15
-!- carogray [~Caroline@174-152-120-49.pools.spcsdns.net] has joined #webgui14:21
-!- carogray1 [~Caroline@108.113.230.159] has quit [Ping timeout: 252 seconds]14:22
-!- carogray1 [~Caroline@173-115-84-78.pools.spcsdns.net] has joined #webgui14:24
-!- carogray [~Caroline@174-152-120-49.pools.spcsdns.net] has quit [Ping timeout: 276 seconds]14:26
-!- carogray [~Caroline@173-100-252-156.pools.spcsdns.net] has joined #webgui14:36
-!- carogray1 [~Caroline@173-115-84-78.pools.spcsdns.net] has quit [Ping timeout: 264 seconds]14:36
-!- carogray1 [~Caroline@173-100-208-238.pools.spcsdns.net] has joined #webgui14:43
-!- carogray [~Caroline@173-100-252-156.pools.spcsdns.net] has quit [Ping timeout: 240 seconds]14:43
-!- carogray [~Caroline@108.111.10.117] has joined #webgui14:45
-!- carogray1 [~Caroline@173-100-208-238.pools.spcsdns.net] has quit [Ping timeout: 248 seconds]14:47
-!- carogray1 [~Caroline@173-115-84-78.pools.spcsdns.net] has joined #webgui14:49
-!- carogray [~Caroline@108.111.10.117] has quit [Ping timeout: 240 seconds]14:50
-!- carogray1 [~Caroline@173-115-84-78.pools.spcsdns.net] has quit [Client Quit]14:50
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has joined #webgui15:07
SDuensinMorning.15:46
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui15:49
-!- kaare_ [~kaare@langebro.adapt.dk] has quit [Ping timeout: 246 seconds]16:41
-!- jimX11 [~jjm@ip98-180-60-146.ga.at.cox.net] has joined #webgui16:57
carograyquick help? what is template syntax for <tmp_if....17:40
carograyfor if someone is logged in  - not admin on, but logged in,  cannot find it quickly17:41
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has joined #webgui17:47
-!- mode/#webgui [+o pbcj] by ChanServ17:47
-!- sbaur [~Adium@130.157.145.37] has joined #webgui18:03
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui18:06
-!- mode/#webgui [+v perlDreamer] by ChanServ18:06
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui18:06
-!- mode/#webgui [+o bopbop] by ChanServ18:07
-!- khenn [a6898c23@gateway/web/freenode/ip.166.137.140.35] has joined #webgui18:07
-!- mode/#webgui [+o khenn] by ChanServ18:07
@khennmorning!18:07
+perlDreamerhey khenn!18:07
@khennI'm sad I had to miss rizen's dancer talk last month18:08
@khennI'm telecommute 2 days a week now so I will hopefully make it this month for WG8!!18:08
+perlDreamerWebGUI 8 is going to be released this month.18:08
@khennyeah?18:09
@khennthat's awesome18:09
+perlDreamerSince it's too early for preaction to be awake, I feel free to spread unsubstantiated rumors about 818:09
@khennheh18:10
+perlDreameralthough, given the huge progress he's been making recently, that's probably not too far from the truth18:13
CIA-16webgui: Colin Kuskie master * r944c760 / (5 files in 5 dirs): Make makeUrlCompliant as deprecated, and updated POD and subroutines accordingly. - http://bit.ly/ijdec318:21
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has quit [Quit: Leaving.]18:27
-!- khenn [a6898c23@gateway/web/freenode/ip.166.137.140.35] has quit [Ping timeout: 252 seconds]18:28
-!- khenn [a6898c23@gateway/web/freenode/ip.166.137.140.35] has joined #webgui18:36
-!- mode/#webgui [+o khenn] by ChanServ18:36
* scrottie0 parsed "miss rizen's dancer talk" as "Ms. Rizen's Dancer talk"18:52
@khennheh18:53
SDuensinBring on 8!19:00
ckotilsweet19:08
-!- kaare_ [~kaare@91.100.9.171.generic-hostname.arrownet.dk] has joined #webgui19:25
-!- Netsplit *.net <-> *.split quits: vayde, Getty20:11
-!- Netsplit over, joins: vayde, Getty20:12
carograytrying again - could I use <tmpl_if GroupViewId....Syntax> <tmp_if> for some groups if logged in to see some content - it's  a specific link hard-coded into a manual (non-dynamic) navigation.21:22
carograyI am just not sure how this works - 21:22
scrottie0yo might want the GroupText macro21:23
scrottie0you21:23
scrottie0that wouldn't be doing tmpl_if, sadly.  there is something of a disconnect there.21:24
-!- jimX11 [~jjm@ip98-180-60-146.ga.at.cox.net] has quit [Quit: Leaving]21:24
scrottie0which template are you editing?  which asset is it a template for?21:26
scrottie0what are you actually testing... whether they're allowed to view the content?21:29
+perlDreamerya, GroupText macro is the way to do that, although sometimes in can give you fits with quotes and such21:33
+perlDreameryet another thing we could do better with Template::Toolkit21:33
@preactionis there anything TT can't do better?21:34
carograyso... 21:43
carograyI thought I could do it with Template Toolkit, but it is the template for the home page and a default page ie. the page layout template21:44
carograyI just want to throw something in there quickly21:44
carograyIf I do Template Tookit I have to redo the whole template x 221:44
carograyI am having problems remembering how to spell my name right now, afraid I will pull the whole site down if I try to change these templates to TT21:45
+perlDreamercarogray, then use the GroupText macro21:46
+perlDreamerbe sure to escape double quotes and commas in the HTML that you want to show21:46
+perlDreamerbecause they can cause macro parsing errors21:46
carograycan you spell it out for me? this is the bit I want only visible for members of 3 groups, board, staff, board and staff, or perhaps the group board, or the group staff, because if you are a member of either you are a member of board and staff - bit I want viewable only by these groups:21:49
carogray<li class="off"><a href="^/;home/laccm-intranet" class="navLink">LACCM Intranet</a></li>21:49
+perlDreamerwell, to use the macro well, you'll need to set up 1 Group that holds all the groups that should see the link21:51
+perlDreamerthen you do21:51
+perlDreamer^GroupText(GroupName,<li class="off"><a href="^/;home/laccm-intranet" class="navLink">LACCM Intranet</a></li>);21:52
+perlDreamerI think that will do it21:52
+perlDreameror, you may need to escape all those double quotes in there21:53
+perlDreamer^GroupText(GroupName,<li class=\"off\"><a href=\"^/;home/laccm-intranet\" class=\"navLink\">LACCM Intranet</a></li>);21:53
carograyperfect!22:01
carograythanks so much!22:01
+perlDreameryou're welcome carogray22:01
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has quit [Quit: bye]22:37
carograyperldreamer: perfect! It worked perfectly, quickly, easily and painlessly! You are my hero - once again! Thank you so much!23:24
CIA-16webgui: Colin Kuskie master * r6153477 / (24 files in 18 dirs): Add new MapPoint code for geolocation, Thingy searching and indexing and a macro for rendering thing data outside of the Thingy. - http://bit.ly/jUcXDN23:51
--- Day changed Tue May 03 2011
* perlDreamer goes to pickup kids from school00:00
-!- kaare_ [~kaare@91.100.9.171.generic-hostname.arrownet.dk] has quit [Ping timeout: 276 seconds]00:05
-!- KlausH [~KlausH@pD9528895.dip0.t-ipconnect.de] has joined #webgui00:19
+perlDreamerKlausH!00:41
KlausHhi. will we have a WUC this year?00:42
+perlDreamerI haven't heard any plans for a WUC this year, so I suspect not00:42
KlausHno Webgui 8, no WUC :-(00:42
+perlDreamerno WebGUI 8 yet00:43
+perlDreamerbut coming soon00:43
+perlDreamerpreaction has been committing tons of code, and it's will be released before Perl 600:43
+perlDreamerbefore Christmas00:43
+perlDreamerbefore the world ends in 2012, for sure00:43
KlausHgreat!00:43
KlausHwill help a lot for endig the world.00:44
scrottie0https://gist.github.com/952439 ...00:44
+perlDreamerno clue, scrottie0, I haven't run any wg8 code since November/December-ish00:45
scrottie0hrm, diagnostic output made a lot more sense before I pasted it.00:45
+perlDreameryou sure you're not having local problems again?00:45
scrottie0of course not.  in fact, that's the first thing I suspect.00:45
@preactiondid the test case run WebGUI::Test->waitForAllForks?00:46
scrottie0if this were 7, I'd assume all tests were passing for everyone else but here I don't know what the status is supposed to be.00:46
scrottie0that's how I stumbled into this.00:46
scrottie0it waits forever there.00:46
@preactionhmm...00:46
scrottie0that's when it actually creates an entry in the table.00:46
@preactioni'd say that my waitForAllForks code is bad then00:46
scrottie0I'll continue chasing this, I just wanted to alert people what I was doing.00:46
scrottie0nope.  looking at the database, there's an unfinished one in there.  sometimes.00:47
@preactionor worse, the fork code is bad. but i'd check my wait first00:47
scrottie0non-deterministic.00:47
@preactionhm...00:47
@preactionis there a child process even?00:47
scrottie0sometimes.00:47
@preactionand when that child process is there, the db entry is too?00:47
scrottie0yup.00:47
+perlDreamerfork code seems to work in 700:48
@preactionit shouldn't be doing anything that intense. is it running or blocked on something?00:48
scrottie0"$self->sendRequestToMaster($request) or $self->forkAndExec($request);"... if there's no $pipe open to a master process because WebGUI::Fork->init was never called as happens in tests, that's when these trouble seem to happen.00:48
scrottie0if init is called, forkAndExec() never runs as a backup and sendRequestToMaster works reliably.00:49
+perlDreamerKlausH, did my response to the makeUrlCompliant bug make sense?00:49
scrottie0dunno.  still tracing that bit.00:49
@preactionhm... on my laptop no master process does warn, but still works correctly. maybe that's not true of all systems00:51
scrottie0oh yeah.  that's what I wanted to say... I'm thinking of getting rid of WebGUI::Test->waitForAllForks in favor of addToCleanup / cleanupGuard logic.00:52
scrottie0but I'm not sure how many tests wind up creating forks.  that could be unmanagable.00:52
scrottie0or maybe I'll just make it a test failure if waitForAllForks don't finish in a certain amount of time.00:53
@preactionwaitForAllForks turns async into sync, that was why i wrote it, but if you have a better idea it's welcome00:54
scrottie0this is all yak shaving... all I want to do is fix something else that really gave me grief before but I want to make sure I'm not breaking things in process.00:55
scrottie0nasty, naughty, evil Zoot...00:56
+perlDreamerscrottie0: I don't think hardly any tests accidently make forks, since you have to call *InFork directly00:57
+perlDreamerplus,  you could always change it and run it and see what goes into an infinite loop00:58
* scrottie0 nods00:58
CIA-16webgui: Scott Walters WebGUI8 * r6e12a8f / lib/WebGUI/Test.pm : simple cleanup logic for WebGUI::Fork; mark the fork "completed" even though it may not be just so that the next test that wants to do waitForAllForks doesn't get hung up on our fork - http://bit.ly/kf7ozZ01:01
-!- khenn [a6898c23@gateway/web/freenode/ip.166.137.140.35] has quit [Ping timeout: 252 seconds]01:02
+perlDreamerscrottie0, that was fast!  How long did it take your box to run the whole test suite?01:02
scrottie0I can't finish the test suite.  have I mentioned?  I did take some effort to test *that*, thought, but I'm still glad for any feedback.01:03
scrottie0I can always count on sarcasm after each commit.01:03
scrottie0I agree though.  the test suite needs a test suite.01:04
scrottie0I haven't commit changes for other tests to *use* that and I won't unless I can do a clean run through the test suite.01:04
@preactionthat's what was happening?01:05
scrottie0huh?01:05
@preactionthe previous wait waited but the fork didn't mark itself as completed?01:05
scrottie0don't know.  still trying to sort this out.  don't know if it's left over or where execution gets hung up.01:07
scrottie0just wanted to feel people out on it so I better knew which directions could I reasonably take this.01:07
scrottie0aha.  the forked process biffs it.  I'm not sure closing STDERR is the way to fly in this case...01:09
scrottie0we're still using test plans in WebGUI 8?  bah.01:20
scrottie0what's this?  these source code files contain ASCII?  lame.01:21
CIA-16webgui: Scott Walters WebGUI8 * ree212a1 / (lib/WebGUI/Test.pm t/AssetHelper/Copy.t): 01:27
CIA-16webgui: WebGUI::Test::waitForAllForks optionally taking a number of seconds to wait;01:27
CIA-16webgui: t/AssetHelper/Copy.t using this as one of its tests; this creates a test failure out of a test suite deadlock for me - http://bit.ly/lMHCXI01:27
scrottie0okay, I lied, slightly, but test suites themselves occupy a strange place.  sorry perlDreamer.  if my changes to the tests have introduced test failures for you *and* the failure is in the test suite, not the app itself, please feel free to back them out and I'll sort it out later.01:29
scrottie0I'm going to afk here for a while.01:29
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has quit [Read error: Connection reset by peer]02:03
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has joined #webgui02:12
CIA-16webgui: Colin Kuskie master * red4ab25 / sbin/testEnvironment.pl : Set the correct version of the Google geocoder module. - http://bit.ly/mqhBSH02:16
-!- sbaur [~Adium@130.157.145.37] has quit [Quit: Leaving.]02:33
-!- KlausH [~KlausH@pD9528895.dip0.t-ipconnect.de] has quit [Read error: Connection reset by peer]03:12
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has quit []04:17
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has quit [Ping timeout: 252 seconds]04:18
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Ping timeout: 252 seconds]04:34
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui04:35
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Ping timeout: 246 seconds]05:45
CIA-16webgui: Colin Kuskie master * r88c9fa8 / lib/WebGUI/Help/Asset_Thingy.pm : Remove the fields variable from the template variable help for Asset_Thing, viewThingData. - http://bit.ly/mwhANl06:07
CIA-16webgui: Colin Kuskie master * r62f1f98 / docs/create.sql : Preparing for 7.10.15 release. - http://bit.ly/lsDiD806:09
+perlDreamer29 minutes, that has to be some kind of world record06:29
CIA-16webgui: Colin Kuskie master * re0491ac / (4 files in 4 dirs): Ready for 7.10.16 development. - http://bit.ly/iYOvYy06:29
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has quit [Quit: Leaving.]06:29
-!- Radix_ changed the topic of #webgui to: [7.9.27-stable | 7.10.15-beta | WRE 0.9.3] Before you ask, check the wiki: http://wiki.webgui.org | Pastebin: http://webgui.pastebin.com06:30
-!- kaare_ [~kaare@langebro.adapt.dk] has joined #webgui08:32
-!- mducharme-work [~nothing@206.188.121.4] has quit [Read error: Connection reset by peer]09:01
-!- mducharme-work [~nothing@206.188.121.4] has joined #webgui09:02
scrottie0https://gist.github.com/952884 ... in Admin.t, in this one test, I was having multiple problems... the API dies if asset isn't passed in to the call to WebGUI::AssetHelper::Cut->new09:14
scrottie0and the test was failing when the forkId didn't match between the two calls to WebGUI::Fork.  this should differ.09:14
scrottie0I'd like to fix stuff like this but I want to get a more clear idea of the state of the test suite for other people.  was the Admin.t www_processAssetHelper test failing for anyone else?  or die-ing even...?09:15
scrottie0are there failing tests and die-ing tests in general in the WG8 suite...?09:16
scrottie0if one earlier test dies, it cleans up the test config file, and then the WebGUI::Fork process dies trying to open the config file and never cleans itself up, and then the test suite hangs later... and this test *should* be die-ing for multiple reasons... it seems odd that no one else is running into this same race condition.09:19
scrottie0(hangs forever waiting for the imploded WebGUI::Fork to finish, that is)09:20
@preactionthere are some failing tests yes, EMSSubmission.t comes to mind09:20
scrottie0okay.  just want to make sure that I'm barking up trees that actually exist.09:20
@preactioni have been working on the frontend, so it's possible i've screwed up some tests09:21
scrottie0or possibily exist.09:21
scrottie0re: WebGUI::AssetHelper::Cut->new requiring an asset => $assetOb parameter in disagreement with the test, was this meant to change?  can I update the test?  or was that change unintentional?09:22
@preactionthat was meant to change09:22
* scrottie0 nods09:22
scrottie0excellent.  thank you.09:23
@preactionthe old API was to pass the asset into process(), but that had some problems09:23
CIA-16webgui: Scott Walters WebGUI8 * r5b5a7e9 / t/Admin.t : 09:28
CIA-16webgui: "the old API was to pass the asset into process(), but that had some problems" according to preaction, re: WebGUI::AssetHelper::Cut->new now requiring an asset parameter.09:28
CIA-16webgui: fixes www_processAssetHelper test; several others in there still fail for me. this fix fixes a WebGUI::Fork leak. I'm sure there are more. - http://bit.ly/mqylbw09:28
* scrottie0 &09:28
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui09:45
-!- mode/#webgui [+v BartJol] by ChanServ09:45
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui10:04
-!- CIA-16 [~CIA@208.69.182.149] has quit [Read error: Operation timed out]10:30
-!- CIA-70 [~CIA@208.69.182.149] has joined #webgui10:34
-!- carogray [~Caroline@72-63-66-21.pools.spcsdns.net] has joined #webgui13:03
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui14:31
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Ping timeout: 260 seconds]14:44
-!- carogray [~Caroline@72-63-66-21.pools.spcsdns.net] has quit [Quit: Leaving.]14:50
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has joined #webgui15:05
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui15:48
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Quit: Leaving.]16:03
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui16:26
-!- mode/#webgui [+o bopbop] by ChanServ16:26
-!- kaare_ [~kaare@langebro.adapt.dk] has quit [Ping timeout: 240 seconds]16:30
-!- kaare_ [~kaare@91.100.9.171.generic-hostname.arrownet.dk] has joined #webgui17:02
-!- khenn [a6898b1b@gateway/web/freenode/ip.166.137.139.27] has joined #webgui17:04
-!- mode/#webgui [+o khenn] by ChanServ17:04
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has quit [Read error: Connection reset by peer]17:21
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has joined #webgui17:30
-!- mode/#webgui [+o pbcj] by ChanServ17:30
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has joined #webgui17:32
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has quit [Quit: Leaving.]17:39
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has quit [Read error: Connection reset by peer]17:41
-!- plainhao [~plainhao@208.75.85.237] has joined #webgui17:51
-!- sbaur [~Adium@130.157.145.37] has joined #webgui18:07
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Ping timeout: 276 seconds]19:01
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui19:03
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Ping timeout: 252 seconds]19:18
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui19:19
-!- khenn [a6898b1b@gateway/web/freenode/ip.166.137.139.27] has quit [Ping timeout: 252 seconds]20:20
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has quit [Ping timeout: 260 seconds]22:09
scrottie0frodwith, how would you feel about something else being done with forked process stderr than having it directed to /dev/null?  and any suggestions what?  minimally, I'm imagining catching the eval in daemonize and calling log warn with the details.22:14
@pbcjlol22:15
@pbcjI was just typing "quiet in here today"22:15
scrottie0can't just say "it's quiet in here".  you have to find something to make noise about.22:15
@frodwithcould tie stderr with Tie::Log4perl22:15
@frodwithor equivalent22:15
scrottie0forked code is still run in the WebGUI style with the WebGUI API, so it seems like continuing to do the same thing with errors makes the most sense to me.  in fact, it furthers the illusion.22:16
scrottie0er, hmm, strike that last remark.  that's just confused/confusing.22:17
@frodwithcapturing it instead of sending it to the bitbucket is a good idea though.22:17
scrottie0I could do that, but I feel like a run-time error should be caught at the top level and logged as an error or warning, if nothing else.22:17
@frodwithStuff that happens off in forked land can be kind of evil to debug.22:17
scrottie0yeah, I just discovered that the other day.22:18
@frodwithDoesn't it trap dies already, and stuff them into the fork's error field in the db?22:18
scrottie0forks were being created then soon vanishing without updating the database and the test suite was hanging waiting for them.  process gone.  no clue why.22:18
scrottie0hmmm.22:19
@frodwithmostly what's evil about fork debugging is debugging Fork itself, not the client code it's running. Or so I thought.22:19
scrottie0I think that's part of the problem... most of the tests fail over to the forkAndExec method22:19
scrottie0but nope, looks like init() doesn't either22:20
scrottie0daemonize just falls from the eval { } to POSIX::_exit(0)22:20
@frodwithWell, it'd be nice if it did.22:20
* scrottie0 nods22:20
scrottie0shall I commit something?  or would you like to see what I'm doing first?22:20
scrottie0I'm looking at the WG8 copy here.  it might be out of date too.22:21
@frodwithI trust you, but I'll look at it if it makes you feel better :)22:21
scrottie0cool =)22:21
scrottie0runRequest sets error.  ah.  forkAndExec calls runCmd which calls runRequest.  init also calls those.  aha.  okay, it looks like what was happening was, in runRequest, the WebGUI::Session->open() was what was failing (test makes a temp config file and it's possible for it to vanish before the CPU context changes and the Fork initializes, ugh) 22:26
scrottie0and that's before the eval { } in there that sets error.  so I think I'll just make that eval { } enclose a bit more stuff.22:27
scrottie0should fix it.22:27
scrottie0duh, no.  if we can't open the session, we can't log stuff or access the database.22:46
@frodwiththis is all starting to sound familiar23:00
@frodwithmaybe leave it the way it is, except add a comment that says "I know, I know, but we can't log the error if the session isn't open yet."23:01
scrottie0yeah.  leaving it for now.23:14
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Ping timeout: 240 seconds]23:37
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui23:50
--- Day changed Wed May 04 2011
-!- kaare_ [~kaare@91.100.9.171.generic-hostname.arrownet.dk] has quit [Read error: Operation timed out]00:01
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui00:07
-!- plainhao [~plainhao@208.75.85.237] has quit [Quit: plainhao]00:13
CIA-70webgui: Doug Bell WebGUI8 * r1962317 / lib/WebGUI/Asset/Wobject/Dashboard.pm : fix Dashboard edit form - http://bit.ly/lTtHat01:12
CIA-70webgui: Doug Bell WebGUI8 * r74b8e36 / lib/WebGUI/Command/test_content.pm : add all the other assets - http://bit.ly/mdwNbT01:12
CIA-70webgui: Doug Bell WebGUI8 * r40805ce / lib/WebGUI/Asset.pm : log the error when we have one, don't just return it - http://bit.ly/lx9J0P01:12
CIA-70webgui: Doug Bell WebGUI8 * r7389128 / (lib/WebGUI/Image.pm lib/WebGUI/Image/Graph.pm): 01:13
CIA-70webgui: must have a width/height in order to set width/height01:13
CIA-70webgui: Failing to give a proper width/height will cause ImageMagick to die01:13
CIA-70webgui: with an assertion error - http://bit.ly/lLqZyT01:13
CIA-70webgui: Scott Walters WebGUI8 * rd6ad085 / t/Admin.t : cope with extra fields returned and fix apparent errors in the t/Admin.t tests to make them pass - http://bit.ly/mHpdKY01:16
CIA-70webgui: Scott Walters WebGUI8 * r3e59d0f / (t/AssetHelper/ChangeUrl.t t/AssetHelper/ExportHtml.t): no zombie forks a test criteria - http://bit.ly/mIch3j01:16
CIA-70webgui: Scott Walters WebGUI8 * rc8f2810 / t/AssetHelper/Duplicate.t : no zombie forks as a test criteria - http://bit.ly/klNFtq01:16
CIA-70webgui: Scott Walters WebGUI8 * r57e0fe8 / t/Fork.t : no zombie forks as a test criteria - http://bit.ly/m9VNPF01:17
scrottie0grep -e 'not ok' prove2.log | grep -v 'TODO' | wc -l # 5601:19
scrottie0fwiw.01:19
@preactionyeah, i'm gonna fix all the tests i've broke01:19
@preactionbefore i move on to my next task01:20
scrottie0oh, okay.  then I don't have to.01:20
scrottie0I'll just... um... do something else.01:21
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui01:24
CIA-70webgui: Doug Bell WebGUI8 * rdaaf45b / (5 files): remove accordion JS (+6 more commits...) - http://bit.ly/iB7nNM01:48
-!- sbaur [~Adium@130.157.145.37] has quit [Quit: Leaving.]02:29
-!- carogray1 [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui03:28
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has quit [Ping timeout: 240 seconds]03:31
-!- carogray1 [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has quit [Read error: Connection reset by peer]05:01
-!- kaare_ [~kaare@91.100.9.171.generic-hostname.arrownet.dk] has joined #webgui07:24
-!- kaare_ [~kaare@91.100.9.171.generic-hostname.arrownet.dk] has quit [Ping timeout: 276 seconds]09:18
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui10:20
-!- mode/#webgui [+v BartJol] by ChanServ10:20
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Ping timeout: 240 seconds]11:29
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui11:33
-!- carogray [~Caroline@108.113.132.48] has joined #webgui12:58
-!- carogray [~Caroline@108.113.132.48] has quit [Ping timeout: 240 seconds]13:14
-!- carogray [~Caroline@184-221-172-248.pools.spcsdns.net] has joined #webgui13:18
-!- preaction [~preaction@li79-149.members.linode.com] has quit [Quit: ZNC - http://znc.sourceforge.net]13:54
-!- preaction [~preaction@li79-149.members.linode.com] has joined #webgui13:59
-!- andyiomoon1 [~andyiomoo@CPE-58-161-21-39.ebcz1.win.bigpond.net.au] has joined #webgui14:21
-!- andyiomoon2 [~andyiomoo@CPE-58-161-21-39.ebcz1.win.bigpond.net.au] has joined #webgui14:23
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Ping timeout: 260 seconds]14:25
-!- andyiomoon1 [~andyiomoo@CPE-58-161-21-39.ebcz1.win.bigpond.net.au] has quit [Ping timeout: 240 seconds]14:25
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui14:25
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Client Quit]14:25
-!- andyiomoon2 [~andyiomoo@CPE-58-161-21-39.ebcz1.win.bigpond.net.au] has quit [Ping timeout: 260 seconds]14:29
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui14:33
-!- carogray [~Caroline@184-221-172-248.pools.spcsdns.net] has quit [Ping timeout: 276 seconds]14:49
-!- carogray [~Caroline@75-147-63-198-NewEngland.hfc.comcastbusiness.net] has joined #webgui14:52
-!- carogray [~Caroline@75-147-63-198-NewEngland.hfc.comcastbusiness.net] has quit [Ping timeout: 240 seconds]14:56
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has joined #webgui14:58
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has quit [Read error: Connection reset by peer]15:06
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has joined #webgui15:16
-!- plainhao [~plainhao@208.75.85.237] has joined #webgui16:04
SDuensinMourning.17:05
+BartJolah, Scott is in a joyous mood again I see17:07
SDuensinI'm in my fuzzy cube in an office that makes Dilbert look like he has the best job in the world.17:09
+BartJolwhoa, is there a comic about you?17:09
SDuensinThey tried, but too many readers committed suicide after reading it.17:09
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Quit: Leaving.]17:22
-!- sbaur [~Adium@130.157.145.37] has joined #webgui17:53
-!- mode/#webgui [+o preaction] by ChanServ18:16
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui18:20
-!- mode/#webgui [+v perlDreamer] by ChanServ18:20
+BartJolperlDreamer: pbcj I reanabled your accounts18:21
+BartJolre-enabled18:21
@pbcjexcellent18:21
+perlDreamerthanks, sir!18:21
+perlDreamerwe were afraid that it was a prelude to the Dutch declaring war18:21
+perlDreamerfirst they cut-off your accounts18:21
+perlDreamerthen they expel the diplomats18:21
+perlDreamerthen they come and drink all your bier18:22
+perlDreamerafter that, it gets nasty18:22
@pbcjfirst you get the money...18:22
+BartJolwe tried that with the beer18:22
+BartJolour invasion wasn't big enough18:22
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has quit [Quit: Leaving.]18:30
+perlDreamerhm, do you think he went to get reinforcements?18:33
-!- khenn [~frank@99-111-115-201.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui18:35
-!- mode/#webgui [+o khenn] by ChanServ18:35
-!- kaare_ [~kaare@91.100.9.171.generic-hostname.arrownet.dk] has joined #webgui18:57
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has quit [Quit: Leaving.]20:18
@preactionwhat is the difference between AdminToggle and EditableToggle?20:47
-!- mducharme-laptop [~MDucharme@35-121-188-206.rev.knet.ca] has joined #webgui20:53
mducharme-laptopafternoon20:53
mducharme-laptopI'm getting an error upgrading one site from 7.9.14 to 7.9.1520:54
mducharme-laptopother sites upgrade properly20:54
mducharme-laptophttp://pastebin.com/jbU4ipTE20:55
@preactionthat isn't an error, it's a warning. is there any problem the site is having?20:55
mducharme-laptopI don't know, when I saw that I got scared and reverted back20:56
mducharme-laptopif you think it's probably safe to ignore I will reupgrade and check20:58
mducharme-laptopI wish there was an easier way of knowing what perl modules I have to install than going through the gotchas file with a fine tooth comb21:02
CIA-70webgui: Doug Bell WebGUI8 * r311db7b / (2 files in 2 dirs): remove the old asset manager from the config file (+6 more commits...) - http://bit.ly/lQ49er21:02
SDuensinWhy not run test-environment?21:02
@preactionsbin/testEnvironment.pl21:02
SDuensinYea.  Taht one.21:02
mducharme-laptopright but then I can't use webguiupdate.pl, I have to like manually upload the new testEnvironment.pl to the server and run that first21:03
@preactionscrottie0: a metric fuckton of tests just got fixed, i'm going over the www::mechanize ones now21:03
mducharme-laptopdo I not?21:04
@preactionall webguiupdate.pl does is 1) download webgui 2) run /data/WebGUI/sbin/upgrade.pl21:04
mducharme-laptopI know21:04
mducharme-laptopwhich totally messes everything up if you haven't installed the perl modules first21:05
mducharme-laptopI find that very bizarre21:05
@preactioni say that because it's very simple, something you could do yourself with wget21:06
mducharme-laptopwhy does webguiupdate.pl not download webgui, then run testEnvironment, then run uprade.pl21:06
CIA-70webgui: Doug Bell WebGUI8 * r2b42142 / t/Asset/AssetClipboard.t : went overboard on deleting from this test - http://bit.ly/lUo6bB21:06
mducharme-laptoper upgrade21:06
@preactioni'm fairly certain the next WRE will not have a webguiupdate.pl21:06
@preactionand the current WRE doesn't do testEnvironment because nobody's added that21:07
SDuensinYea.  Nuke it instead of making it work.  :-P21:07
@preactionno, much of the WRE's functionality is going into WebGUI itself21:07
scrottie0preaction, thanks for that.  I hope it didn't sound like I was on your case over failing tests.  I'm glad to have a little spare time here and do whatever with it.21:07
@preactionscrottie0: no, you reminded me of something i was all ready to completely neglect21:08
@preactionSO THANKS A LOT21:08
scrottie0YOU'RE WELCOME21:08
mducharme-laptopwell I got 64-bit wre running on opensuse without much problem21:09
@preactionthat's fairly surprising really :p21:09
scrottie0actually, I was perfectly happy with the test suite just running till the end, failing some tests.  that would let me see if I were breaking more tests.21:09
@preactioneh, i made some major changes and need to take the time to make the tests match those changes.21:10
mducharme-laptopok it looks like everything is fine21:26
mducharme-laptopI guess I can ignore those messages then21:26
mducharme-laptopthis is strange21:27
mducharme-laptopunder "Statistics" how many active sessions should there be?21:27
mducharme-laptopfor a small site21:27
mducharme-laptopthis says 13831021:27
@preactiondo your sessions expire?21:28
mducharme-laptopto me that seems like an unusually high number of sessions21:28
mducharme-laptophmm?21:28
@preactionis spectre running?21:28
@preactiondid you set your sessions so that they never expire? it's in settings21:28
scrottie0kompare has one example in its DESCRIPTION:  cvs diff | kompare -o -21:28
mducharme-laptoppreaction - session timeout is set to one hour21:30
mducharme-laptopand yes spectre is running21:30
@preactionthen maybe the workflow activity that cleans up expired sessions isn't running right21:31
@preactionor at all21:31
mducharme-laptopthis is a newly setup server, I  moved the site over from an old server21:32
mducharme-laptopI had an older 64-bit server running the 32-bit wre, and I ran into issues compiling a perl module because of the difference, so I built my own WRE on a new 64-bit server and moved the old sites over21:33
@preactionthen maybe that old server was affected by the problem, i know the delete expired sessions workflow used to not complete if you had too many sessions. that bug was fixed21:33
mducharme-laptopoh ok21:34
mducharme-laptopit could be21:34
mducharme-laptopwe upgraded from like 7.8.15 or something21:34
@preactionanyone want to take a guess at how WebGUI will handle two test runs at the same time?21:43
-!- mducharme-laptop [~MDucharme@35-121-188-206.rev.knet.ca] has quit [Quit: Leaving.]21:44
CIA-70webgui: Doug Bell WebGUI8 * recbaca5 / (2 files): formbuilder templatevar prefix must contain the underscore now - http://bit.ly/iGydNv21:49
@preactionfairly well, as it turns out21:52
CIA-70webgui: Doug Bell WebGUI8 * r4a8b4c6 / t/Asset/Asset.t : class is now className for www_add - http://bit.ly/iGnd9S21:53
CIA-70webgui: Doug Bell WebGUI8 * rcdcbf53 / t/Asset/Asset.t : 21:53
CIA-70webgui: getToolbarState and toggleToolbar no longer exist21:53
CIA-70webgui: The toolbar can be put in any page, and the toggle is now simply21:53
CIA-70webgui: if you are in the Turn Admin On group - http://bit.ly/mpx2Bb21:53
CIA-70webgui: Doug Bell WebGUI8 * r0c23ba8 / t/Asset/AssetClipboard.t : perhaps a good plan is in order... - http://bit.ly/kRxJDK21:59
scrottie0I'm getting a lot of "ERROR: Unable to run handler on WebGUI::Content::AssetManager: Could not load WebGUI::Content::AssetManager beca22:04
scrottie0use Can't locate WebGUI/Content/AssetManager.pm in @INC"22:04
@preactionyeah, you need to wgd reset -d --config22:04
scrottie0oh.22:04
@preactioni just added the upgrade that will remove the assetmanager content handler22:04
scrottie0ahh.  right.22:04
scrottie0kompare chokes on git's diff output, diff'ing vs /dev/null in particular for new files.  do KDE developers really use cvs?  that's kind of amazing.22:06
scrottie0bah.22:06
scrottie0need fewer fonts.  random programs I fire up magically support ttf and then decide that 'crackaddict' is a good font to show code diffs in.22:08
scrottie0hmm, maybe they're right.22:08
-!- mducharme-laptop [~MDucharme@35-121-188-206.rev.knet.ca] has joined #webgui22:20
mducharme-laptophrm22:40
mducharme-laptopanother question....22:40
mducharme-laptopI had seen in a screenshot before the thingy allowed some sort of "LDAP Connection" field type22:40
-!- kaare_ [~kaare@91.100.9.171.generic-hostname.arrownet.dk] has quit [Ping timeout: 276 seconds]22:40
mducharme-laptopthat field type doesn't appear to be in the latest stable release22:40
@preactionldap connection fields probably won't work in the thingy22:44
mducharme-laptopdammit23:19
mducharme-laptopI want some easy way of having a company directory23:20
mducharme-laptopwithout having to reinvent the wheel23:20
mducharme-laptopwe used to use novell's eGuide for that but they discontinued that23:21
scrottie0funny how software that people hate never gets discontinued.23:25
mducharme-laptopwell it's just annoying that when we already have all the staff names, titles, addresses and phone numbers in LDAP we can't just use that23:29
mducharme-laptopinstead we have paper phone lists typed up in word23:29
mducharme-laptopand other manually entered things23:29
@preactionand with that commit, the EMSSubmissionForm fixed, I take lunch!23:33
CIA-70webgui: Doug Bell WebGUI8 * rb0da37e / (8 files in 4 dirs): fix EMSSubmissionForm and all its tests - http://bit.ly/kB6WFC23:34
--- Day changed Thu May 05 2011
-!- plainhao [~plainhao@208.75.85.237] has quit [Quit: plainhao]00:05
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui00:06
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui00:22
-!- mode/#webgui [+v perlDreamer] by ChanServ00:22
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Quit: Leaving.]01:06
-!- daviddelikat [~user@ppp-70-226-168-0.dsl.mdsnwi.ameritech.net] has joined #webgui01:20
-!- daviddelikat1 [~user@ppp-70-226-168-0.dsl.mdsnwi.ameritech.net] has quit [Ping timeout: 246 seconds]01:23
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has quit [Quit: Leaving.]01:57
-!- carogray [~Caroline@173-100-32-254.pools.spcsdns.net] has joined #webgui02:32
-!- sbaur [~Adium@130.157.145.37] has quit [Quit: Leaving.]02:34
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has quit [Quit: Leaving.]02:39
-!- carogray1 [~Caroline@173-100-32-254.pools.spcsdns.net] has joined #webgui02:40
-!- carogray [~Caroline@173-100-32-254.pools.spcsdns.net] has quit [Read error: Connection reset by peer]02:40
-!- carogray [~Caroline@108.117.94.43] has joined #webgui02:48
-!- carogray1 [~Caroline@173-100-32-254.pools.spcsdns.net] has quit [Ping timeout: 246 seconds]02:49
-!- carogray [~Caroline@108.117.94.43] has quit [Ping timeout: 240 seconds]02:54
-!- carogray [~Caroline@107.26.65.40] has joined #webgui02:54
-!- carogray [~Caroline@107.26.65.40] has quit [Ping timeout: 260 seconds]03:10
-!- carogray [~Caroline@108.97.251.151] has joined #webgui03:16
-!- carogray [~Caroline@108.97.251.151] has quit [Ping timeout: 276 seconds]03:22
-!- carogray [~Caroline@173-142-222-127.pools.spcsdns.net] has joined #webgui03:24
-!- carogray1 [~Caroline@173-145-41-169.pools.spcsdns.net] has joined #webgui03:32
-!- mducharme-laptop [~MDucharme@35-121-188-206.rev.knet.ca] has quit [Quit: Leaving.]03:33
-!- carogray [~Caroline@173-142-222-127.pools.spcsdns.net] has quit [Ping timeout: 248 seconds]03:35
-!- carogray1 [~Caroline@173-145-41-169.pools.spcsdns.net] has quit [Ping timeout: 240 seconds]03:43
-!- carogray [~Caroline@174-154-176-196.pools.spcsdns.net] has joined #webgui03:55
-!- carogray [~Caroline@174-154-176-196.pools.spcsdns.net] has quit [Ping timeout: 264 seconds]04:00
-!- carogray [~Caroline@174-157-249-237.pools.spcsdns.net] has joined #webgui04:01
scrottie004:05
scrottie0who04:05
-!- carogray [~Caroline@174-157-249-237.pools.spcsdns.net] has quit [Read error: Connection reset by peer]04:09
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has quit [Ping timeout: 276 seconds]04:32
scrottie0error handling has changed a lot.05:28
scrottie0that's making things interesting here.05:28
scrottie0canShowDebug and related things are gone.05:29
scrottie0oh heck yeah.  heck heck yeah.05:47
scrottie0I need to devise a test to prove that I haven't broken streaming here.05:48
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has joined #webgui06:11
-!- mode/#webgui [+o pbcj] by ChanServ06:11
scrottie0unrelatedly, I wonder if I should be shot dead if I commit code that read, in part, $Log::Log4perl::Logger::APPENDER_BY_NAME{mainlog}->{appender}->{fh}->print(...)06:17
scrottie0and damn hell Log4Perl's internals are disguesting.06:18
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has quit []06:18
-!- scrottie0 [~scott@li25-98.members.linode.com] has quit [Quit: Leaving]06:19
-!- scrottie [~scott@li25-98.members.linode.com] has joined #webgui06:19
-!- mode/#webgui [+o scrottie] by ChanServ06:19
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Ping timeout: 248 seconds]07:09
-!- kaare_ [~kaare@91.100.9.171.generic-hostname.arrownet.dk] has joined #webgui07:51
-!- Radix__ [quasselcor@203.161.71.161.static.amnet.net.au] has joined #webgui08:07
-!- mode/#webgui [+v Radix__] by ChanServ08:07
-!- Radix_ [quasselcor@203.161.71.161.static.amnet.net.au] has quit [Read error: Connection reset by peer]08:07
-!- kaare_ [~kaare@91.100.9.171.generic-hostname.arrownet.dk] has quit [Ping timeout: 276 seconds]08:26
-!- elnino [~ninow@user-38q47pn.cable.mindspring.com] has joined #webgui08:37
elninohi....can anyone at webgui tell me what you have set for group_concat_max_len on your hosting servers, or maybe tell me who to ask?08:38
elninoit seems i'm hitting a limit somewhere.08:38
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui10:03
-!- mode/#webgui [+v BartJol] by ChanServ10:03
-!- preaction [~preaction@li79-149.members.linode.com] has quit [Ping timeout: 246 seconds]10:18
-!- preaction [~preaction@li79-149.members.linode.com] has joined #webgui10:21
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Ping timeout: 240 seconds]11:02
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui11:13
-!- waxhead [~pete@ppp121-45-197-46.lns20.cbr1.internode.on.net] has joined #webgui11:55
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui12:11
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui13:00
-!- mode/#webgui [+v perlDreamer] by ChanServ13:00
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has quit [Quit: Leaving.]13:25
-!- waxhead [~pete@ppp121-45-197-46.lns20.cbr1.internode.on.net] has quit [Ping timeout: 240 seconds]13:32
-!- waxhead [~pete@ppp121-45-197-46.lns20.cbr1.internode.on.net] has joined #webgui13:49
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui15:15
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui15:46
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui16:02
-!- mode/#webgui [+o bopbop] by ChanServ16:02
elninogood morning! Can anyone at webgui tell me what you have set for group_concat_max_len on your hosting servers, or maybe tell me who to ask? I'm hitting a limit somewhere.16:37
+BartJoleeeh, where is that setting?16:38
elninomy.cnf somewhere apparently.16:38
+BartJolah16:38
+BartJoloff course16:39
+BartJolwell, ik appears that is not defaullt set in the wre my.cnf16:40
+BartJols/ik/it/16:40
elninohmm.16:40
elninoapparently the defaul tis supposed to be 1024.. I'm assuming that's characters....16:41
+BartJolor bits...16:41
elninodo you see if max_allowed_packet is set anywhere on webgui's hosting servers?16:41
+BartJolmax_allowed_packet=16M16:42
elninothat allso affects group_concat_max_len16:42
elnino16M is big enough. =)16:42
+BartJolI believe 16M is default16:42
elninowell I don't know what do do now.. It's definately my mysql. I'm hitting a limit at about 400 characters. I'm building a hyperlink using concat_group. and it worked fine. untill I started adding a "onclick" property to the a tag.16:46
-!- mducharme-laptop [~MDucharme@35-121-188-206.rev.knet.ca] has joined #webgui16:46
elninoits the most gnarly mysql statement I've ever written.16:47
SDuensinMorning.16:47
elninoBartJol - you're looking at the webgui's hosting servers? or just webgui code?16:48
+BartJol1 of our servers that runs WebGUI16:48
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has left #webgui []16:49
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui16:49
-!- mode/#webgui [+v BartJol] by ChanServ16:49
elninodo yo know who I'd ask about plainblacks' servers?16:49
+BartJoleveryone with a star before there name, except bop-bop I suppose16:49
+BartJolmaybe perldreamer16:50
elninopreaction is sleeping without a star...16:50
+BartJolah, he should know too16:51
elninosorry to ping you all, preation, frodwith, khenn, scrottie, but do any of you know what the setting of group_concat_max_len or max_allowed_packet is set to on your hosting servers? or who should i ask?16:52
@frodwithpreaction is probably the one to ask, but he's probably asleep.16:53
elninothank you.17:04
+BartJolthey don't allow dutch people on their servers17:09
elninolol - thanks for your help BartJol17:10
* elnino steps away for acouple hours17:22
-!- plainhao [~plainhao@208.75.85.237] has joined #webgui17:40
-!- mode/#webgui [+o preaction] by ChanServ17:40
+BartJolmmmm, strange i18n17:41
+BartJol"You really don't need to know more than that."17:41
+BartJolin Asset_Dashboard.isInitialized17:42
+BartJolit makes me only curious17:42
@scrottiepeople who ask too many questions about WebGUI are never heard from again.17:46
+BartJolthey are sucked into the plain black hole?17:46
@scrottieexactly.  where CPU load is so high that time stands still and no processes make it out of the vent horizon.17:48
@scrottieevent17:48
+BartJoland committing more translations17:49
+BartJol99.8%17:49
@scrottieis there a policy on monkey patches, glob wraps, and other dubious incantantions?17:58
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui17:59
-!- mode/#webgui [+v perlDreamer] by ChanServ17:59
* scrottie waves to perlDreamer17:59
+perlDreameryo dude!17:59
@scrottieyoo.17:59
@scrottieI want to add Devel::StackTrace::WithLexicals to testEnvironment for WG8.  comments on that?  myself, I'd prefer if testEnvironment.pl did a "try to install it but if that fails, don't worry about it" thing for optional modules.18:04
@scrottieor maybe it does and I'm reading this wrong.18:04
+BartJoldutch translation is complete once again18:09
@scrottieBartJol++18:09
+BartJolthat was a while ago18:09
-!- kaare_ [~kaare@91.100.9.171.generic-hostname.arrownet.dk] has joined #webgui18:11
+perlDreamersorry BartJol, that shouldn't have taken as long as it did18:21
@scrottiewhy is it that when I right click the edit tab, I don't get a menu?18:24
@scrottiegoing to be very annoyed if I can't right click and open edit links in new tabs in the WG8 admin18:24
@scrottieJS is great but unobtrusive JS is da domb18:25
@scrottiebomb18:25
@scrottieda DOM?18:25
@preactionthat doesn't quite work yet, actually18:27
@preactionit's supposed to, but doesn't18:27
@scrottieah, okay.  I forgive then.  an IOU is fine.18:27
@preactiona bunch of the menus don't work yet, only the one in the admin bar and the ones in the page icons18:28
@preactionnot the ones on the Tree view yet18:28
* scrottie nods18:28
@scrottieshould make Mckenzie do new templates for the edit view.18:28
@preactionwait, you mean right-click on the edit page?18:28
@scrottieright click on the grey Edit icon18:28
@scrottiethat goes eg above chunks of content in a page layout after you turn admin on.18:29
@preactionoh monkey. that's a button now, you'll have to alt-click18:29
@preactioni could certainly change it away from a button into a button-looking link that could then allow right-click "Open In New Tab"18:29
@scrottieI for one would be very glad for that but I don't know where it fits in the grand scheme of things18:30
@preaction6 of one, half-dozen of the other. as long as it looks the same, which shouldn't be difficult to do18:30
@scrottieI can see about doing that too if you're already doing something.18:31
@scrottiewith more than a couple of people, deciding becomes more of a hurdle than doing.18:31
@preactionsure, go ahead18:31
@scrottiew00t.18:31
@preactionthough, you should be able to right-click on the Edit menu option maybe?18:32
@preactionwhich reminds me those need to be ordered somehow. i don't think that order is predictable yet18:32
@scrottieyeah, looks so.18:33
@scrottiere: right click edit in the drop down18:33
@preactionbut still, making the button into a link would make things easier18:33
@scrottieer, no... links to the same url with '#' after it18:34
@scrottiere: the drop down18:34
@preactionweird18:34
@preactionoh, right, onclick handler18:34
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has quit [Quit: Leaving.]18:36
@scrottieonly asking because I'm trying to test my own stuff here, not nagging about undone stuff... but what's the status of the progress bar?  'copy branch' gives me a dialogue box with a stringified hash refence in it.  edit branch on /root/import seems to give a progress bar but it goes too quick for me to accept that it actuallyed copied root/import to the clipboard.18:53
@scrottienot the old progress bar, mind you, but dhtmly one in a small grey rectangle in middle of the screen.18:54
@preactionthere are some bugs in my handling of the fork progresstree18:59
* scrottie nods18:59
@preactionnot sure what the hashref is doing during the copybranch though18:59
@scrottiecool.18:59
@preactionthe Tree view ones work, i think i screwed them up for the normal helpers during that though19:00
@scrottiefwiw, every copy in the tree view copies 0 / 1 in the progress bar.19:04
@preactionyeah, i think i'm using the wrong var for the "total number of things to copy"19:06
@preactionbut right now i'd really like to know how passing userId=3 into a form turns into userId=5 when it's submitted...19:06
@scrottiesounds like a job for tie + Carp::cluck.19:07
@preactionbut it's only when WebGUI::Form::Control gets hold of it... the plack request has the correct data and returns the correct data when asked...19:11
@preactionand that would be because the name is wrong and it's returning the list of params which is then stringified into the number of params, 519:12
@preactionperl -d saves the day again19:12
-!- mducharme-lapto1 [~MDucharme@35-121-188-206.rev.knet.ca] has joined #webgui19:21
-!- mducharme-laptop [~MDucharme@35-121-188-206.rev.knet.ca] has quit [Ping timeout: 258 seconds]19:23
CIA-70webgui: Doug Bell WebGUI8 * r423e19a / (lib/WebGUI/Form/Guid.pm lib/WebGUI/Form/ReadOnly.pm): remember to pass the definition up the stack... - http://bit.ly/mifuVD19:24
-!- mducharme-laptop [~MDucharme@35-121-188-206.rev.knet.ca] has joined #webgui19:24
-!- mducharme-lapto1 [~MDucharme@35-121-188-206.rev.knet.ca] has quit [Ping timeout: 258 seconds]19:28
-!- BartJol [~bart@5ED0408C.cm-7-1b.dynamic.ziggo.nl] has joined #webgui19:47
-!- mode/#webgui [+v BartJol] by ChanServ19:47
-!- mducharme-lapto1 [~MDucharme@35-121-188-206.rev.knet.ca] has joined #webgui20:02
-!- mducharme-lapto2 [~MDucharme@35-121-188-206.rev.knet.ca] has joined #webgui20:05
-!- mducharme-laptop [~MDucharme@35-121-188-206.rev.knet.ca] has quit [Ping timeout: 258 seconds]20:06
elninohi everyone! I'm back!20:07
@scrottiehi elnino!20:07
@scrottieelnino, character encoding interacts badly with field size limits.20:08
elninocharacter encoding?20:08
@scrottieyeah.  mysql likes to store things as utf-8.20:09
-!- mducharme-lapto1 [~MDucharme@35-121-188-206.rev.knet.ca] has quit [Ping timeout: 258 seconds]20:09
@scrottiebut it doesn't compute the actual size of the thing in utf-8, it just goes worse-case and assumes three bytes per character.  I think.20:09
@scrottiecreate your table with charset=ascii.20:09
elninoright. I don't think my question had anythign to do with encoding.. I was just wondering what the limit was for group_concat20:09
elninomy query is performing a query on a table created by webgui - via thingy.20:09
@scrottieah.20:10
@scrottieI was going to say next that I had no idea if I was reading you correctly.20:10
elninooh..20:10
@scrottieor if that's what the problem is.  just *sounded* like something.20:10
elninoI created a thingy, and have got a nifty query going on it. that works.20:10
@scrottieI'm scared.20:11
elninoit outputs a hyperlink20:11
@scrottienooooooooo!!20:11
elninobut now I want to add an "onclick" property to my output20:11
elninoI have to..20:11
elninobut once I added an onclick to it, the output exceeds 400 characters and gets cut off.20:12
elninocreating invalid html20:12
elninoThe other alternative is to use jquery to add the onclick perperty.20:12
elninoreason I'm adding the onclick property is that I'm using google analytics to track the outbound links I'm creating.20:12
@scrottieoh, hmm.  no idea where that limit is.20:12
elninomy.cnf20:12
@scrottiereally?20:12
elninobut I don't have access to plainblacks servers.20:12
elninoaccording to the mysql docs.20:13
@scrottiewhat has a 400 char limit?20:13
elninogroup_concat_max_len20:13
@scrottiedammit.  the more I learn about MySQL, the more I learn that Postgres really has their house in order.20:13
@scrottieseriously.20:13
* scrottie sighs20:13
@scrottieyou probably don't have admin access to the database either.20:14
elninocorrect.20:14
elninoI'm just a customer.20:14
elninoBarjol said that max_allowed_packet is set to 16M20:14
elnino, which also affects the limit.20:14
elninoI really don't know what I'm talking about either. =( All I know ismy output is getting cut off. and it's produced by a group_concat statement. 20:15
elninoand using the default sql report template, it's still being cut off, so it isn't my custom report template20:17
@scrottielooks like they raised it in newer MySQLs.20:17
@scrottie1024.20:18
elninodefault is supposed to be 1024 - I would THINK that is long enough for me to output 400 character.s.. right??20:18
-!- mducharme-lapto2 [~MDucharme@35-121-188-206.rev.knet.ca] has quit [Quit: Leaving.]20:18
@scrottieugh.  well, ...20:18
@scrottieMySQL sucks.20:18
elninoI think we established that. =) lol I don't know any better db. so I have no opinion.20:19
elninobut if you go changing it on me, I'm not going to be happy. 20:19
elninolol20:19
@scrottieyeah.  that's the rub.20:20
@scrottiewe're entrenched.20:20
elninoso tell me what you know.. is 1024 enough for me?20:20
@scrottieshow global variables where Variable_name = 'group_concat_max_len' -- this would let you confirm the setting20:20
elninoI can't do a show command. I would of if I could of.20:20
@scrottiecan you open / have you opened a support ticket for this?20:20
elninonope.20:20
elninoI thought it was an easy answer.20:20
elnino=)20:21
@scrottiecouldn't a SQLReport do a show command?20:21
elninonope. not last time I looked.20:21
@scrottiebut that's mostly just a diversion.20:21
@scrottiehuh.  I've never tried.20:21
elninoactually know. the webgui db conection setup area doesn't allow me to add that provision.20:21
@scrottieI know painfully little about PlainBlack's hosting but hopefully someone can tweak that, at least experimentally.  and they should be able to do it without restarting mysql.20:22
elninos/know/no20:22
elninooh, and yes, I *Can* open a ticket. I thought you asked if I *did*20:23
@scrottiethe way I phrased that, I was kinda asking two questions at the same time ;)20:23
* elnino will do that now.20:24
+perlDreameryou may have to make "show" an allowed keyword in the DatabaseLink that the SQL Report uses20:24
elninoI can't seem to be able to dothat.. am I missing somethign?20:25
elninoI'm using the webgui's database link.20:25
elninoit's a "thingy"20:25
elninoshould I recreate a new webgui db link?20:25
elninowhat would the parambeters be?20:25
+perlDreamerlet's try this on a demo site...20:26
+perlDreamerhm, that's correct20:27
elninothe dblink? or package up my thingy?20:27
+perlDreamerthe dblink20:27
+perlDreamerif you have a hosting type question about the db, it would be best to ask on the support board20:27
+perlDreamerall PB's hosting is based off the WRE, so everything would be handled the same way20:27
+perlDreamerI checked on 1 hosting server, and it's 102420:29
+perlDreamerif every UTF-8 character was 3 bytes, then 400 wouldn't be enough20:30
elninoso this is where I stumped scrottie. Is 1024, enough for me to output 402 characters?20:30
elninoyou're fast...20:30
+perlDreamerI've been doing this for a while :)20:30
elninoi'm glad i'm not crazy.20:30
+perlDreamerI've known you for a while, and haven't known you to be crazy either20:30
elninois there a psecific board I go to request this to be increased? or do I go a different route and play with jquery to accomplish  the same thing?20:31
elninothank you... lol20:31
+perlDreamerwhat's the specific problem?20:31
elninoI've got an impressive sql statemtn for a thingy I wrote, and i'm exceeding the concat_group limit. =)20:32
+perlDreamerpreaction, if you'd consider my latest Thingy ticket about packaging with and without table data, I'd love an opinion20:32
@preactionit was packaged without table data because there was the other import/export method20:32
+perlDreamerah, good point!20:33
@preactionin theory you could tie the two together, that might be nice20:33
@preactionthe future plan is to make packages more editable, so putting a csv blob in there might be good20:33
+perlDreamerelnino, what's the SQL statement?20:33
elninoI'll put it on pastebin....20:33
+perlDreamerpreaction, so for now, this isn't a bug20:33
@preactionit would be a feature if you want to do it20:34
+perlDreamerit'd be nice to have an option to do it, or not, based on the usage case20:34
+perlDreamerbut we can get the data, and that's what matters for now20:34
elninohttp://pastebin.com/zGi5tQS220:35
+perlDreamerhuh20:36
+perlDreamerif you had 10 rows with a 40 character entry, that'd be 40020:37
+perlDreamerah, hang on20:38
+perlDreamerit's group_concating the created URL's20:38
+perlDreamerthose are big20:38
+perlDreamerI'm guessing something on the order of 150 characters per entry20:39
elninoyep.20:39
elninoin those hrefs, you see an "a" that is where a file path is supposed to tbe20:39
elninos/tbe/be20:39
elninoI shorted it to "a" to see if it was a limit I was reaching.20:40
elninoso I would say that each hyper link could be ...20:40
elninoI figured 25020:40
+perlDreameryeah, it's too big for more than 1 or 2 links20:41
elninowell, and the group concat is currently creating 1 or two links. but if more sound file formats come out, we'll be looking at 3 or 4 links.20:41
elninoso.20:42
+perlDreamerhere are some options20:42
+perlDreameruse JS to post-process the SQL Report output20:42
elninoI can use jquery to create the onclick for now, but if more file formats come out, i'll be hitting the limit again.20:42
+perlDreamerhow about using the Thingy AJAX interfaces to do this?  Would that work?20:42
elninoMy brain doesn't compute AJAX. It was hard enought o use yahoo api to make this a cool sortable table.  =)20:43
+perlDreamerit may not be as hard as you think20:44
+perlDreamereach cell has a custom formatter20:44
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has quit [Quit: napping]20:44
+perlDreamerand you can probably make asyncRequests to lookup information for each cell20:44
+perlDreamerit would be slow though20:44
elninowait....l. my children are having a break down.. Can I come back in an hour or two?20:45
+perlDreamersure :)20:45
elninosorry. thanks!20:46
elninooh.. and jsut so you can see, this is what it's producing: http://www.standfirm.us/download/alphabetical20:50
elninothat's before I'm adding the onclick for google analytics - at which I'm hitting the limit.20:52
-!- mducharme-laptop [~MDucharme@206.188.121.35] has joined #webgui20:53
+perlDreamerelnino, I don't see any clipping going on, which row are you having problems with?20:56
+perlDreamerI mean, you can save a little bit by taking out the "constant" strings like "with voice" and putting them into the template20:57
elninothis is where it works.. I have an open version tag, where I'm adding the onclick property which is maxing the limit and clipping the output.20:57
+perlDreamerin fact...20:57
+perlDreamerah, I see20:57
+perlDreamerwhich templating system are you using?20:58
elninothe default.20:58
+perlDreamerif you switched to Template::Toolkit20:58
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui20:58
-!- mode/#webgui [+o bopbop] by ChanServ20:58
+perlDreameryou could probably just output the unique bits as a delimited string20:58
+perlDreamerthen use TT to split it and generate the links20:59
+perlDreamerthat gets  you out of the group_concat limit by only returning the "important" bits20:59
+perlDreamerand putting the formatting logic into a template, where it really works well20:59
+perlDreamerit would mean learning TT though20:59
+perlDreamerbut there are good resources for that20:59
+perlDreamerand TT should be part of a standard hosting package20:59
+perlDreamerpreaction, my TT pain is up to about 4 days per week21:01
@preactionyay?21:01
+perlDreamerperhaps, but when I get to 5 I'm going to start planning a 7.x transition to TT to be discussed21:02
+perlDreamerbecause it just sucks the hoops that people have to jump through21:02
elninowell.21:04
+perlDreamerelnino, here's a link to split in TT: http://template-toolkit.org/docs/manual/VMethods.html#method_split21:04
elninothe "with voice" and the "live" was something he threw at me at the last minute. I have another version tag tha tI'm trying to put those in separate columns. so that part wil go away.21:05
elninos/part/issue21:05
elninoI see though the value of using TT21:06
elninofot the other stuff.21:06
elninoI went down the group concat road because I origianlly wanted to do a sql query with sub querys that followed the one to many relationship stucture I have going.I don't know if you vaguely remember that conversation.21:08
+perlDreamerI do21:08
elninoas a hosting customer, do I have the optoin to use TT?21:09
+perlDreamerI believe so, however it's my turn to tend to kids21:13
+perlDreamerI'll get you an answer in about 30 minutes or so21:13
elnino=)21:16
elninoI looked. I don't currently have the option.21:24
+perlDreamerwhere is this site hosted?21:31
elninowith you.21:34
elninowell, at plainblack. 21:34
+perlDreamer:)21:34
+perlDreamerdoes it have more than domain name attached to it?21:34
elninoyes. I have about 4/5 aliases21:35
elninopilgrimsongs.us is the "real" one21:35
+perlDreamerit's enabled now21:38
elninothx! - Ill go that route...21:39
@scrottie1.5 gigs of RAM to show the error page?  sure!21:45
+perlDreamerthat's some stack trace21:50
@scrottieData::Dumper of all of the lexicals for each frame plus all of the arguments for each frame21:51
@scrottie30 odd frames deep21:51
@scrottiewith big fat objects21:51
* scrottie vomits code all over the repo21:58
+perlDreamerwell, it doesn't help that session is a huge nasty recursive object either21:58
CIA-70webgui: Scott Walters WebGUI8 * r742db18 / (lib/WebGUI.pm lib/WebGUI/Middleware/Session.pm): don't force an extra layer of streaming as doing so bypasses plack middlewares. - http://bit.ly/johZZC21:58
CIA-70webgui: Scott Walters WebGUI8 * ra97c1c9 / lib/WebGUI/Middleware/StackTrace.pm : 21:59
CIA-70webgui: middleware based on Plack::Middleware::StackTrace that also dumps all of the assets in a YUI tree view21:59
CIA-70webgui: because that seemed like a good idea at the time. - http://bit.ly/mwosqo21:59
CIA-70webgui: Scott Walters WebGUI8 * r81b69f8 / share/upgrades/7.10.4-8.0.0/documentation_free-documentation.wgpkg : API doc Wiki page moved from http://www.webgui.org/community-wiki/api to http://www.webgui.org/wiki/api - http://bit.ly/iTEhms21:59
CIA-70webgui: Scott Walters WebGUI8 * r617ca06 / (lib/WebGUI/Middleware/StackTrace.pm sbin/testEnvironment.pl): 21:59
CIA-70webgui: Tweak which stack frames WebGUI::Middleware::StackTrace skips for HTML and text21:59
CIA-70webgui: output; add the modules it uses to testEnvironment.pl; comment out the dumping21:59
CIA-70webgui: of the asset tree for now; silence a warning in testEnvironment.pl by tweaking21:59
CIA-70webgui: module test/load order - http://bit.ly/mphzb921:59
CIA-70webgui: Scott Walters WebGUI8 * r59a22f4 / (lib/WebGUI/Middleware/StackTrace.pm share/site.psgi): 21:59
CIA-70webgui: set recursion limit to 1 for dumped lexicals and function args; with unlimited depth, it was21:59
@scrottieI should have cherry-pick -n'd some of those commits and rolled them up together.  sorry.  I keep thinking I'm about to wash my hands of it, testing it a bit more, and then fussing with it again.21:59
CIA-70webgui: making my Mozilla shoot to 1.5gigs and taking the server and browser forever to get the21:59
CIA-70webgui: error page up.21:59
CIA-70webgui: keep the HTML of the original page and tack it on to the end of the stack trace.21:59
CIA-70webgui: add WebGUI::Middleware::StackTrace to the default site.psgi in place of the standard StackTrace,21:59
CIA-70webgui: but leave a comment for the other one in case people prefer it. - http://bit.ly/lKFgaY21:59
CIA-70webgui: Scott Walters WebGUI8 * r2f45f30 / lib/WebGUI/Middleware/StackTrace.pm : Doc improvements - http://bit.ly/l0iQrU22:08
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has quit [Quit: bye]22:19
+perlDreamertime to go running22:31
CIA-70webgui: Scott Walters WebGUI8 * r8485707 / t/PSGI/StackTrace.t : Basic tests for WebGUI::Middleware::StackTrace - http://bit.ly/mc31sx22:58
-!- sbaur [~Adium@130.157.145.37] has joined #webgui23:33
@preactionshortcut needs to get rid of all functionality that is not shortcutting an asset...23:40
-!- kaare_ [~kaare@91.100.9.171.generic-hostname.arrownet.dk] has quit [Ping timeout: 252 seconds]23:47
@preactionhuh. how did some of these tests work at all...23:51
CIA-70webgui: Doug Bell WebGUI8 * r475a885 / (lib/WebGUI/Asset/Shortcut.pm t/Asset/Shortcut/forms.t): shortcut now takes ?visitor=1 to edit visitor prefs from dashboard - http://bit.ly/jaL8ff23:53
CIA-70webgui: Doug Bell WebGUI8 * ref2727f / (2 files in 2 dirs): update usedBy when redeeming subscription code - http://bit.ly/lrzJEn23:53
CIA-70webgui: Doug Bell WebGUI8 * re34d1ad / t/Asset/Snippet.t : shortcut no longer overrides getToolbar, so stop testing it - http://bit.ly/mtbL4r23:55
CIA-70webgui: Doug Bell WebGUI8 * r6ae2862 / t/Asset/Wobject/EventManagementSystem.t : all template vars have "controls" now - http://bit.ly/lAOz8523:56
CIA-70webgui: Doug Bell WebGUI8 * r65f3f35 / t/Asset/Wobject/GalleryAlbum/view.t : class is now className when doing www_add - http://bit.ly/mi9BdG23:57
+BartJolwhoa, wg8 is booming23:59
--- Day changed Fri May 06 2011
@preactionwe're very close to an alpha00:00
@preactioni'm right now making all our tests pass00:00
@preactionthen i'll probably test the upgrade against a local copy of pb.com and wg.org and if that works, mark an alpha00:01
@preactionwhile i then go and fix helpdesk and automat for 8 so pb.com and wg.org can be actually upgraded00:01
+perlDreamerand KarmaGifter, and the Karma payment plugin00:02
+perlDreamerand whatever raft of other custom software's running on that box00:02
@preactionright00:02
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Quit: Leaving.]01:13
-!- BartJol [~bart@5ED0408C.cm-7-1b.dynamic.ziggo.nl] has left #webgui []01:42
@scrottieperl -e '*d = *a;  print $d[0];'01:43
@scrottie"String evals will no longer fail after 2 billion scopes have been compiled"01:51
@preactionwho's a jigga what?01:56
@preactioni suppose for long long long long running processes01:57
-!- plainhao [~plainhao@208.75.85.237] has quit [Quit: plainhao]02:03
-!- sbaur [~Adium@130.157.145.37] has quit [Quit: Leaving.]02:32
-!- mducharme-laptop [~MDucharme@206.188.121.35] has quit [Read error: Connection reset by peer]02:38
CIA-70webgui: Doug Bell WebGUI8 * ra476f09 / t/Asset/Wobject/Shelf.t : Shelf no longer has importProducts or exportProducts, they're AssetHelpers - http://bit.ly/k0pGwx02:52
CIA-70webgui: Doug Bell WebGUI8 * r140b5a5 / (2 files in 2 dirs): move Shelf tests into AssetHelper tests (and fix the thing) - http://bit.ly/mKjffD02:52
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has quit [Quit: Leaving.]03:14
-!- mducharme-laptop [~MDucharme@35-121-188-206.rev.knet.ca] has joined #webgui03:16
@scrottieDateTime doesn't list its deps very well... needs Class::ISA and List::MoreUtils and...03:18
@scrottieDBD::mysql doesn't build cleanly on 5.14.0-rc203:19
@scrottieImageMagick is apparently just on crack03:21
@scrottieI say we replace it with NetPBM.03:22
@scrottiehrm, making an Image::Magick-work-a-like API based on NetPBM would be fun, if I were targetting an incomplete solution03:26
CIA-70webgui: Doug Bell WebGUI8 * r18dd9a4 / (2 files in 2 dirs): move export product tests and fix the export product helper - http://bit.ly/mlzp8803:28
CIA-70webgui: Doug Bell WebGUI8 * rd7339c9 / t/Asset/Wobject/StoryArchive.t : class is now className in www_add - http://bit.ly/mliJlI03:30
CIA-70webgui: Doug Bell WebGUI8 * r36923dc / t/Asset/Wobject/WikiMaster/search.t : class is now className in www_add - http://bit.ly/lUKlqg03:30
CIA-70webgui: Doug Bell WebGUI8 * r61eff5b / t/Asset/dispatch.t : the default URL is /, not the empty string - http://bit.ly/kLPqHt03:37
CIA-70webgui: Doug Bell WebGUI8 * rbf75ed1 / t/Content/SiteIndex.t : we now cache the requested URL inside the session, fix it for tests - http://bit.ly/jrvNRT03:37
CIA-70webgui: Doug Bell WebGUI8 * rf33f4db / t/Macro/AdminText.t : admin mode is always on for admins - http://bit.ly/m6eQyT03:37
@preaction6 failing test scripts left!03:41
@scrottie#   Failed test 'use Crypt::SSLeay;'03:43
CIA-70webgui: Doug Bell WebGUI8 * r2e720d6 / (lib/WebGUI/Shop/PayDriver/Ogone.pm t/Shop/PayDriver/Ogone.t): getEditForm returns FormBuilder and csrfToken should be added by www_edit - http://bit.ly/lgot5I03:44
CIA-70webgui: Doug Bell WebGUI8 * r0693e33 / t/Shop/ShipDriver/FlatRate.t : getEditForm is a FormBuilder and doesnt include csrfToken (added by www_edit) - http://bit.ly/k2yNQg03:46
@preactionOne of these pictures was rotated 90 degrees and then back again by Imagemagick. guess which one?03:52
@preactionhttp://dl.dropbox.com/u/226725/Screen%20shot%202011-05-05%20at%207.51.31%20PM.png03:52
CIA-70webgui: Doug Bell WebGUI8 * r6b0cd93 / (t/Storage.t t/Storage/Image.t): i'm not testing that imagemagick does it correctly... - http://bit.ly/mbhUQI04:02
elninoHELLO!  THANK YOU  for http://www.webgui.org/wgtv/template-toolkit-introduction and http://www.webgui.org/ht_to_tt!!!04:11
@preactionthank bopbop and frodwith respectively04:11
elninothank you thank you! 04:12
@preactionscrottie: except for the POD test, all the tests should be fixed now, but you might want to make a run and check anyway. my test set is limited to "doug's laptop running OS X 10.6 in some strange unreleased WRE version"04:15
@scrottiecool.  yeah, I'll do before and after the Plack "fix".  thank you.04:19
@scrottiePOE::API::Peek falls apart under 5.14.04:20
@scrottiethough I think the tests that I would cause to fail don't exist and need to be written.04:36
@scrottieI don't see Class::InsideOut used anywhere but it's still in testEnvironment.pl.  kill?04:38
@preactionplease04:38
@preactionand take great joy in it04:38
* scrottie nods04:39
@scrottieI wish I knew how much time I had to spend on this.  I could plan my time better if I weren't going hour by hour.04:39
CIA-70webgui: Scott Walters WebGUI8 * r13a2c35 / lib/WebGUI/Middleware/StackTrace.pm : 04:43
CIA-70webgui: Get rid of the cargo culted code about sending a text reply if the browser didn't specify04:43
CIA-70webgui: that it understands HTML. This interacts badly with Plack::Test and doesn't have much of04:43
CIA-70webgui: a point in real life anyway, and I accidentally sent the test up that dends on this being04:43
CIA-70webgui: gone without sending this too. Argh. If I could send up a coherent commit just once... - http://bit.ly/kOGLgJ04:43
CIA-70webgui: Scott Walters WebGUI8 * ra4744e9 / sbin/testEnvironment.pl : Doug and Colin did the work of removing all use of Class::InsideOut so now we can celebrate. - http://bit.ly/jMGU9b04:44
-!- mducharme-laptop [~MDucharme@35-121-188-206.rev.knet.ca] has quit [Quit: Leaving.]04:48
* scrottie &04:50
-!- mducharme-laptop [~MDucharme@thsnmb01dc1-195-111.dynamic.mtsallstream.net] has joined #webgui06:03
-!- elnino [~ninow@user-38q47pn.cable.mindspring.com] has quit [Quit: Leaving]06:22
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has quit [Quit: Leaving.]07:01
-!- elnino [~ninow@user-38q47pn.cable.mindspring.com] has joined #webgui07:08
elninohi. in the template world, is session.var.adminOn a hash array reference?07:09
@preactionno, it's just a boolean07:10
elninoso.. I was all excited about http://www.webgui.org/ht_to_tt, but it didn't seem to work. 07:10
elninoit converted session.var.adminOn into session_var_adminOn - would that be correct?07:11
elninoI'm trying to debug the resulting tt and just want to make sure I'm reading this correclty.07:11
@preactionyes, TT requires that any var with . becomes _07:11
@preactionbecause . is reserved by TT's use07:12
@preactionso if it says it has a . in the help, it should be a _ instead07:12
elninothe converter also converted     <tmpl_loop debug_loop> to07:13
elninoFOREACH item IN debug_loop; FOREACH [item]07:13
elninowould that be a correct conversion?07:13
elninoI would think it would simply be:07:14
elninoFOREACH debug_loop07:14
@preactionno, it's FOREACH item IN debug_loop07:15
@preactionthen inside the loop, you refer to item07:15
elninonot occording to http://www.webgui.org/wgtv/template-toolkit-introduction presentation.... Oh I'm so confused.07:16
@preactionhttp://template-toolkit.org/docs/manual/Syntax.html <- the definitive source07:16
@preactionalso, http://template-toolkit.org/docs/manual/Directives.html07:17
@preactionspecifically http://template-toolkit.org/docs/manual/Directives.html#section_FOREACH07:17
elninoyes, that's where I started to ask here. Cause they didn't agree.  =)07:17
@preactionthey're both correct, but the one the converter did is better07:17
elninowhat it converted didn't work, and i made sure I changd the "template type" too07:18
elninoeven my controls don't show up for the report.07:19
elnino[% IF session_var_adminOn %]07:19
elnino    <p>[% controls %]</p>07:19
elnino[% END %]07:19
elninooh.  I guess they do. something else is preventing them from displaying.07:20
elninoI guess I'll go and include each line back in at a time.07:20
elninoThanks!07:20
-!- gugod [~gugod@114-32-222-155.HINET-IP.hinet.net] has quit [Ping timeout: 264 seconds]07:44
elninoAH HA!07:56
-!- gugod [~gugod@114-32-222-155.HINET-IP.hinet.net] has joined #webgui07:56
elninodid that show up?07:56
elninodarn.07:57
elninothere is a 07:57
elninoslash  *<![CDATA[*  slash07:57
elninoshowing up in my html code.. that shouldn't be there. 07:57
elninoI'm thinking I need a filter of some sort.. the CDATA thing is breaking the javascript I'm trying to output.07:58
-!- gugod [~gugod@114-32-222-155.HINET-IP.hinet.net] has quit [Ping timeout: 246 seconds]08:00
-!- mducharme-laptop [~MDucharme@thsnmb01dc1-195-111.dynamic.mtsallstream.net] has quit [Quit: Leaving.]08:01
@preaction/*<![CDATA[*/ you mean?08:16
elninoyes. It appears and I don't know how to get rid o fit.08:16
@preactionas long as it has a matching /*]]>*/ at the end and you're using an XHTML doctype, it shouldn't matter08:16
elninooh but i todes, it's surrounding my javascript and rendering it to nothing. That's why I couldn't see anything. it's the only difference I see between the TT and HT08:17
elninos/i todes/it does08:17
elninoOt08:18
elninoopps08:18
elninoit does have that  slash*]] stuff at the end...08:18
elninoI'll do a pastebin.08:18
elninohttp://pastebin.com/fPEGygPj - I stripped out a lot of the javascript08:21
@preactionwhat is the error you're getting?08:22
@preactionand pastebin the entire thing08:22
@preactionthe template preferably08:22
elninohttp://pastebin.com/6ucEhhac - here is the template as produced by the converter on webgui.org - works perfect! except for the CDATA stuff.08:24
-!- gugod [~gugod@114-32-222-155.HINET-IP.hinet.net] has joined #webgui08:24
@preactionthere is no cdata stuff in there. did you turn on the compressed or minified template?08:25
elninocompressed08:25
@preactionthat is probably what's doing it then08:25
elninoright. the cdata is appearing in the output.08:25
elninooh. let me try that then.08:25
elninoOK.. so I turned "packed" off and the CDATA disappeared. but report is still not displaying. grr. back to drawing board again.08:27
@preactionthe cdata block is not incorrect, it is the correct way to escape non-XML inside of XML08:28
@preactionotherwise the <a href> and everything needs to be &lt;a href&gt; to be valid XML08:28
elninoI think I found it... my attempt at debugging.08:28
elninodarn.  08:30
elninodidn't work.08:30
elninothis is the output http://pastebin.com/4dgy0X3H08:35
elninoI'm missing commas.. let me fix that...08:36
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has joined #webgui08:38
-!- mode/#webgui [+o pbcj] by ChanServ08:38
@preactionyou've got some barewords in there08:41
@preactionjavascript: pageTracker._trackPageview(/mp3/voice/a); <- /mp3/voice/a needs quotes08:41
@preactionalso, onclick doesn't need javascript:08:42
@preactionalso it's all lowercase08:42
@preaction(onclick)08:42
elninook I change that too. I copied from google  =)08:42
elninoit was the comma.  not sure why [% UNLESS loop.last %],[% END %] doesn't work. 08:47
elninothat's what the converter gave me.08:47
elninoI'll fix the pagetracker now.08:47
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has quit []08:57
-!- andyiomoon [~andyiomoo@vpn246-12.cc.swin.edu.au] has joined #webgui09:19
-!- andyiomoon1 [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui09:21
-!- andyiomoon [~andyiomoo@vpn246-12.cc.swin.edu.au] has quit [Ping timeout: 240 seconds]09:23
elninothanks preaction I'm going to sleep now. The whole pagetracker thing I'm changing my mind on - instead I'll will be using jquery because of group_concat limit issues.09:26
elninogood night!09:26
-!- elnino [~ninow@user-38q47pn.cable.mindspring.com] has quit [Quit: Leaving]09:29
-!- preaction [~preaction@li79-149.members.linode.com] has quit [Quit: ZNC - http://znc.sourceforge.net]09:58
-!- preaction_ [~preaction@li79-149.members.linode.com] has joined #webgui10:00
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui10:08
-!- mode/#webgui [+v BartJol] by ChanServ10:08
-!- cromartie-x182 [~cromartie@24.229.243.68.res-cmts.sm.ptd.net] has joined #webgui10:42
-!- cromartie-x182 [~cromartie@24.229.243.68.res-cmts.sm.ptd.net] has left #webgui []10:42
-!- perlbot [simcop2387@isuckatdomains.net] has quit [Ping timeout: 246 seconds]13:04
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui13:49
-!- plainhao [~plainhao@208.75.85.237] has joined #webgui15:47
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui16:41
-!- mode/#webgui [+o bopbop] by ChanServ16:41
SDuensinFrIdAy!16:51
-!- andyiomoon1 [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Quit: Leaving.]17:02
-!- sbaur [~Adium@130.157.145.37] has joined #webgui17:30
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui17:56
-!- mode/#webgui [+v perlDreamer] by ChanServ17:56
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has joined #webgui17:57
-!- mode/#webgui [+o pbcj] by ChanServ17:57
@pbcjmornin'17:59
-!- kaare_ [~kaare@91.100.9.171.generic-hostname.arrownet.dk] has joined #webgui18:03
sbaurhappy friday!18:06
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has quit [Quit: Leaving.]18:08
-!- mode/#webgui [+o preaction_] by ChanServ18:33
-!- preaction_ is now known as preaction18:47
CIA-70webgui: Doug Bell WebGUI8 * r5cefff9 / t/Workflow/Activity/RemoveOldCarts.t : make RemoveOldCarts test more robust - http://bit.ly/jOUMJD21:20
+perlDreamerpreaction: need a backport to 7.x?21:21
@preactionmaybe?21:21
@preactionit could probably use it, that test fails when run in conjunction with any other shop test that fails to clean up every cart21:22
+perlDreamerlike, in parallel?21:25
+perlDreamerevery test should clean up carts21:25
+perlDreameranyway21:25
+perlDreamerif it doesn't then I can give you a boot21:25
+perlDreamersince I likely wrote all those tests21:25
+perlDreamerand I should know better21:26
@preactionsure they should, but other tests shouldn't care what carts are there before it21:27
+perlDreamerpreaction, I have to run, but I got to thinking about 7.10 and a feature freeze22:24
+perlDreamerwhen should we freeze?22:24
@preactioni was thinking when 8 goes beta22:25
@preactionwell, after 8 goes beta we'll announce it22:25
+perlDreamerso, give a few weeks for the stragglers, then lock it down?22:25
@preactionmore like give 8 beta a few weeks to calm down then lock 7.1022:26
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has quit [Quit: bye]22:27
-!- daviddelikat [~user@ppp-70-226-168-0.dsl.mdsnwi.ameritech.net] has quit [Ping timeout: 240 seconds]23:06
-!- kaare_ [~kaare@91.100.9.171.generic-hostname.arrownet.dk] has quit [Ping timeout: 260 seconds]23:40
--- Day changed Sat May 07 2011
-!- perlbot [simcop2387@isuckatdomains.net] has joined #webgui00:01
+perlDreamerbah00:24
+perlDreamer8 will wow the world00:24
@preaction"wow, i can't believe they released it in this state"00:25
-!- preaction [~preaction@li79-149.members.linode.com] has left #webgui ["Leaving"]00:25
-!- preaction [~preaction@li79-149.members.linode.com] has joined #webgui00:25
-!- mode/#webgui [+o preaction] by ChanServ00:25
CIA-70webgui: Colin Kuskie master * r3e161b3 / (2 files in 2 dirs): Fix a typo in the new Map template help variables. Fixes bug #12121 - http://bit.ly/lORzAb00:40
+perlDreamernow, come on preaction00:42
+perlDreameryou and I have clearly defined roles00:42
+perlDreameryou get to be the young, dynamic architecture wizard00:43
CIA-70webgui: Colin Kuskie webgui-7.9 * r2a7f859 / (2 files in 2 dirs): Fix a typo in the new Map template help variables. Fixes bug #12121 - http://bit.ly/lJhulz00:43
+perlDreamerand I am the old, crotchety, cynical, skeptical maintenance engineer00:43
@preactioni object to three of those words :p00:43
+perlDreamerif you start being cynical, I'll have to be young or dynamic00:43
+perlDreamerand that won't be pretty00:43
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui01:03
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has quit [Quit: Leaving.]01:03
-!- plainhao [~plainhao@208.75.85.237] has quit [Quit: plainhao]01:06
-!- waxhead [~pete@ppp121-45-197-46.lns20.cbr1.internode.on.net] has quit [Quit: Ex-Chat]01:15
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Quit: Leaving.]01:31
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has quit []01:35
-!- sbaur [~Adium@130.157.145.37] has quit [Quit: Leaving.]02:10
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has quit [Quit: Leaving.]03:31
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui03:57
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has quit [Read error: Connection reset by peer]05:00
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Ping timeout: 260 seconds]07:40
-!- kaare_ [~kaare@91.100.9.171.generic-hostname.arrownet.dk] has joined #webgui08:44
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui17:58
-!- docster_ [~docster@10.187-available-ethint-fratm-cc.sccoast.net] has joined #webgui18:15
docster_Hello friends. I am trying to upgrade from 7.9.23-stable to 7.9.27-stable but it runs instantly and returns:   Setting site upgrade completed...OK   NO UPGRADES NECESSARY    Then when I check the Stats it is still  7.9.2318:20
docster_I started this upgrade because AFTER upgrading to 7.9.23 we started getting this error in the log file: .WikiMasterKeywords' doesn't exist     I was hoping 7.9.27 would fix that. 18:24
docster_WikiMasterKeywords table still does not exist in my database after multiple upgrades. Does anyone know where I can get the schema for it?18:35
docster_I found the create table schema for WikiMasterKeywords in the docs/create.sql file for anyone else that runs into this.  There seems to be a bug when upgrading from 7.8.14-stable to 7.9.23-stable where this table is not created.  I know there was a bug posted and closed as "unreproducible"  on this but it also just happened to me on 10 of our sites.  So somehow, someway, in some version, the WikiMasterKeywords table is not be19:02
docster_created.   Anyway, we are fine now.  ;o)19:02
-!- docster_ [~docster@10.187-available-ethint-fratm-cc.sccoast.net] has left #webgui []19:03
-!- elnino [~ninow@user-38q47pn.cable.mindspring.com] has joined #webgui20:34
elninoopenid scares the bejeebies out of me. Can anyone convince me why it shouldn't?20:36
elninoand does facebook use openid? they aren't listed o openid's website. I know I know, this isn't webgui related, but I trust you guys and you're all smarter than me.. =)20:41
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Ping timeout: 248 seconds]21:21
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui21:36
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Ping timeout: 252 seconds]22:44
--- Day changed Sun May 08 2011
-!- kaare_ [~kaare@91.100.9.171.generic-hostname.arrownet.dk] has quit [Ping timeout: 276 seconds]01:22
-!- arcanez [arcanez@warpedreality.org] has joined #webgui03:23
arcanezseen rizen03:23
arcanezperlbot: bad bot03:23
perlbotarcanez: No factoid found. Did you mean one of these: [bethbot]  03:23
-!- elnino [~ninow@user-38q47pn.cable.mindspring.com] has quit [Quit: Leaving]06:09
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui08:03
-!- kaare_ [~kaare@91.100.9.171.generic-hostname.arrownet.dk] has joined #webgui08:06
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Ping timeout: 264 seconds]08:08
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui08:09
-!- lem_ [~lem@weston-69.65.87.205.myacc.net] has joined #webgui08:09
-!- lem_ is now known as Guest269508:10
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Client Quit]08:10
-!- Guest2695 [~lem@weston-69.65.87.205.myacc.net] has quit [Client Quit]08:10
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui09:20
-!- kaare_ [~kaare@91.100.9.171.generic-hostname.arrownet.dk] has quit [Ping timeout: 260 seconds]09:37
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Quit: Ex-Chat]09:42
-!- mducharme1 [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui12:32
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Ping timeout: 240 seconds]12:33
-!- kaare_ [~kaare@91.100.9.171.generic-hostname.arrownet.dk] has joined #webgui18:02
-!- kaare_ [~kaare@91.100.9.171.generic-hostname.arrownet.dk] has quit [Read error: Operation timed out]23:14
--- Day changed Mon May 09 2011
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui03:45
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has quit [Read error: Connection reset by peer]05:15
-!- kaare_ [~kaare@langebro.adapt.dk] has joined #webgui08:45
-!- Haarg [~haarg@haarg.org] has quit [Quit: Leaving]10:03
-!- Haarg [~haarg@haarg.org] has joined #webgui10:04
-!- Haarg [~haarg@haarg.org] has quit [Excess Flood]10:04
-!- Haarg [~haarg@haarg.org] has joined #webgui10:05
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui10:31
-!- mode/#webgui [+v BartJol] by ChanServ10:31
-!- waxhead [~pete@ppp121-45-197-46.lns20.cbr1.internode.on.net] has joined #webgui12:20
-!- carogray [~Caroline@174-146-225-64.pools.spcsdns.net] has joined #webgui13:18
-!- carogray [~Caroline@174-146-225-64.pools.spcsdns.net] has quit [Ping timeout: 246 seconds]13:22
-!- carogray [~Caroline@108.96.165.210] has joined #webgui13:28
-!- carogray1 [~Caroline@108.96.165.210] has joined #webgui13:40
-!- carogray [~Caroline@108.96.165.210] has quit [Read error: Connection reset by peer]13:40
-!- carogray1 [~Caroline@108.96.165.210] has quit [Ping timeout: 240 seconds]13:54
-!- carogray [~Caroline@72-61-220-206.pools.spcsdns.net] has joined #webgui13:58
-!- khenn [~frank@99-111-115-201.lightspeed.mdsnwi.sbcglobal.net] has quit [Quit: khenn]14:00
-!- khenn [~frank@99-111-115-201.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui14:02
-!- mode/#webgui [+o khenn] by ChanServ14:02
-!- khenn [~frank@99-111-115-201.lightspeed.mdsnwi.sbcglobal.net] has quit [Quit: khenn]14:13
-!- carogray [~Caroline@72-61-220-206.pools.spcsdns.net] has quit [Ping timeout: 240 seconds]14:35
-!- waxhead [~pete@ppp121-45-197-46.lns20.cbr1.internode.on.net] has quit [Quit: Ex-Chat]14:52
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has joined #webgui15:21
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui16:30
-!- mode/#webgui [+o bopbop] by ChanServ16:30
SDuensinGreetings.16:57
arcanezwhere is that rizen fellow16:59
-!- kaare_ [~kaare@langebro.adapt.dk] has quit [Ping timeout: 258 seconds]17:03
-!- khenn [a6898bee@gateway/web/freenode/ip.166.137.139.238] has joined #webgui17:04
-!- mode/#webgui [+o khenn] by ChanServ17:04
+BartJolarcanez: he doen't hang out here too much lately17:35
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui17:37
arcanezthat doesn't sound like much fun :(17:46
+BartJolnope17:48
arcanezdoes he irc _at all_?17:48
+BartJolnow and then17:48
+BartJolI also have the problem of 7 hours time difference with him17:48
+BartJolso it might also be that that is part of the problem17:49
arcanez.nl?17:49
+BartJolyes17:49
arcanezgreat as everyone says?17:49
+BartJoloff course17:49
@preactionhe doesn't do much webgui work these days17:51
arcanezall lacuna? :)17:51
@preactionthat and www.thegamecrafter.com 2.017:51
@preactionfortunately he left a capable lieutenant in charge of the webgui17:52
arcanezI just wanted to talk to him about Facebook::Graph :)17:52
@preactionhe might be in #lacuna-expanse17:53
@preactionnm, e-mail perhaps?17:53
arcanezis he responsive on that?17:54
@preactionas far as i know yes, but i've got an in17:56
@preactionotherwise if there's a github repo, he'll probably respond to tickets17:57
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui17:59
-!- mode/#webgui [+v perlDreamer] by ChanServ17:59
+perlDreamermorning, folks17:59
+perlDreamerBartJol, you can give Rory a big high-five for posting that reCaptcha bug18:00
arcanezk18:03
-!- sbaur [~Adium@130.157.145.37] has joined #webgui18:03
CIA-70webgui: Paul Driver master * rf153882 / (3 files in 3 dirs): rfe #12123: Layouts related for export purposes - http://bit.ly/jctU3g18:04
+perlDreamerfrodwith, pretty soon WebGUI will just export the whole thing :)18:05
@frodwith:(18:05
+perlDreamerwell, you already get related layouts18:06
+perlDreamerand if the layouts export all their children...18:06
@frodwiththey don't, actually18:06
+perlDreamermaybe I should read your code intead of making dumb comments based on the commit messages18:06
@frodwithit's not a dumb comment18:07
arcanezwebgui runs on mod_perl?18:07
@frodwithI had/have the same concern18:07
@frodwithyeah arcanez, although webgui 8 is a psgi app18:07
+BartJolperlDreamer: he just left the building18:07
@frodwithperlDreamer: having slept on it some, I think exporting the container (without exporting the siblings) makes a lot of sense. The idea is, exporting this may invalidate these other assets, so export them as well.  You're not going to invalidate siblings (usually) but you will invalidate parents.18:10
@frodwithSo it's not the whole tree, it's just me, some other guys, and some number of my direct ancestors. Which isn't so bad.18:11
+perlDreamerI don't get the "exporting this may invalidate these other assets" part.18:11
@frodwithlet's say you've got an article on a layout18:12
+perlDreamerk18:12
@frodwithand you've exported your whole site at some point18:12
@frodwithso you've got a static version of your site sitting around18:12
@frodwithand you go and edit the article18:12
+perlDreamerah, okay18:12
@frodwithnow, you don't want to export your whole site again, cause it took an hour18:12
@frodwithyeah, you've got it18:12
@frodwith:)18:12
+perlDreamerand in the odd case I was thinking of18:13
+perlDreamerI want to export a branch of my site18:13
+perlDreamerthis is the first export ever18:13
+perlDreamerthere's a related asset "over there"18:13
+perlDreamerand I not only get it, but it's container as well18:13
@frodwithin that case, I think you wouldn't want to export related assets at all18:14
+perlDreamerprobably18:14
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has quit [Quit: napping]18:15
+perlDreamerit would certainly wreak havoc with the funky broken navigation that would be generated on the related asset18:18
@frodwithI think exporting subparts of an asset tree will never work perfectly.  I mean, you have assetproxies, possible links to things you didn't export through navs, asset reports, who the heck knows what else18:19
@frodwithI mean, I suppose you could monkeypatch Asset::New and see what all gets loaded when you export the page18:20
+perlDreameryeah, like the UserList asset, which can give you links to user profiles18:20
+perlDreamerany other kind of account link18:20
@frodwithyeah18:20
+perlDreameractually, anything that isn't an asset won't export well18:20
+perlDreamerFilePump content18:21
@frodwithi think static stuff generally avoids talking about users at all though18:21
@frodwithWe should start making cpalamara hang out in here or something. They're the only folks I know who make heavy use of static exporting, but they use it a TON.18:23
CIA-70webgui: Colin Kuskie master * r34eda69 / (docs/changelog/7.x.x.txt lib/WebGUI/Form/Captcha.pm): Update the recaptcha api URLs. Fixes bug #12125 - http://bit.ly/khiHcW18:25
CIA-70webgui: Colin Kuskie webgui-7.9 * r68aa549 / (docs/changelog/7.x.x.txt lib/WebGUI/Form/Captcha.pm): Update the recaptcha api URLs. Fixes bug #12125 - http://bit.ly/kxBjME18:25
-!- arcanez [arcanez@warpedreality.org] has left #webgui []18:29
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui18:44
-!- mode/#webgui [+o bopbop] by ChanServ18:44
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has joined #webgui18:52
-!- mode/#webgui [+o pbcj] by ChanServ18:53
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has quit [Quit: Leaving.]18:53
-!- khenn [a6898bee@gateway/web/freenode/ip.166.137.139.238] has quit [Ping timeout: 252 seconds]19:17
-!- khenn [a6898bee@gateway/web/freenode/ip.166.137.139.238] has joined #webgui20:17
-!- mode/#webgui [+o khenn] by ChanServ20:17
+perlDreamerpreaction: so the folks at Google have bought Recaptcha20:49
+perlDreamerand this month they've decided to stop using the old recaptcha URLs20:49
SDuensinOh fun.20:50
+perlDreamerand use bright shiny new google URLs for doing recatpcha fetches and verifies20:50
+perlDreamerI have fixed that bug for 7.9 and 7.1020:50
+perlDreamerbut there are folks out there with earlier versions20:50
+perlDreamerdo we release an advisory with patches, or just notify them so they can upgrade?20:50
@preactionperlDreamer: i'd say notify them so they can upgraydd20:59
+perlDreamerhm either you need coffee, of you're secretly saying that upgrading is a gray issue20:59
+perlDreamerbut I'll do that20:59
@preactionit's not tat big of a deal20:59
sbaurum, I'd say upgrading is a huge deal for some of us...21:02
SDuensinUpgrading scares me.21:03
+perlDreamersbaur, in the advisory I'll post a link to the bug21:03
+perlDreamerthe bug lists the commit to fix the bug21:04
+perlDreamerso it can be backported by anyone who is stuck due to custom code or lack of resources to do it21:04
+perlDreamerin, fact, if you're curious, it's this one http://bit.ly/khiHcW21:05
sbaurThanks pD. Now I just have to remember which of my servers/sites are using recaptcha...21:06
+perlDreamerare your servers using the same version of WebGUI?21:07
+perlDreamerif so, then just patch 1, then copy Form/Captcha to the rest21:07
sbaurcurrently, they are, but probably not for much longer21:07
sbauryup21:08
sbaurbut it would be good to have a site in mind to test on after the patch is applied :-)21:08
+perlDreamertrue21:08
+perlDreameryou're using WebGUI 7.6?21:09
sbaur7.5.4021:09
+perlDreamerhm, wgd has a "for-each" command21:09
+perlDreamerwhere it will do another command on each site via the config files21:09
* sbaur hasn't played with wgd at all yet21:09
+perlDreamerwgd is a life saver21:10
+perlDreamerfor example, to find the sites using recaptcha21:10
+perlDreamerwgd for-each setting useRecaptcha21:10
+perlDreamerwill help you find that21:10
sbaurnice21:10
+perlDreamerHaarg did lots of work to make sure it would work with earlier versions of WebGUi21:10
+perlDreamerso it might be worth a try21:11
+perlDreamerotherwise, a little script will do the same thing21:11
Haargi still need to fix the documentation in wgd.  it fails to load properly on a number of systems and i can't reproduce it so it's kind of hard to fix.21:13
+perlDreamerdoes wgd work back to 7.5.40 Haarg?21:14
sbaurActually, i think my only recaptcha using site is the one hosted with you on a shared server, so I'm off the hook. I say this because the recaptcha doc I wrote for the wiki, says start with 7.6.11 or higher, and that's my only site that qualifies! Yay, I'm off the hook for an immediate fix :-)21:14
+perlDreameryay!21:14
HaargperlDreamer it should21:14
+perlDreamerGo learn wgd anyway sbaur.  You'll be happy you did :)21:14
sbaurIt's on my list already...21:14
HaargperlDreamer, have you seen any servers where wgd fails to load its documentation?21:17
+perlDreamerno, but I haven't really looked, either21:18
+perlDreamerI'll start keeping my eyes open21:18
+perlDreamerI know that on my Ubuntu box it works fine21:18
+perlDreamerand on every CentOS box I've ever looked at21:18
Haarggenerally the short help work but long help fails21:18
Haargand by generally i mean that's the reports i've gotten.  i can't reproduce it and it doesn't seem due to particular versions of a module.21:19
+perlDreamerwhoa21:19
+perlDreamergot one right now21:19
+perlDreamerwhat would you like to know?21:19
Haarghmm21:19
+perlDreamerthis is a WRE using site 0.9.321:20
+perlDreamerCentOS 5.5 (shouldn't matter that much)21:20
Haargcan you try running from wgd source instead of the single file?21:20
Haarggive me a minute and i can get you a tarball so you don't have to build it21:20
+perlDreamerthanks :)21:20
+perlDreamerperl 5.10.021:21
Haargrecent version of dzil actually did add a thing to help me fix it so it's easy to get all the build prereqs21:22
Haarghttp://haarg.org/temp/WGDev-0.1105090.tar.gz21:22
+perlDreamerthis is odd21:23
+perlDreamerI ran perl Makefile.PL21:24
+perlDreamerand it build a makefile21:24
+perlDreamerran make21:24
+perlDreamerthen when I ran make test it complains about Try::Tiny missing21:24
+perlDreamermaybe a missing dependency?21:24
Haargpossibly21:24
+perlDreamerlet me install that, then run make test again21:24
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has quit [Quit: napping]21:25
+perlDreamernope21:26
Haarg?21:26
+perlDreamerlong help still not working21:26
+perlDreamerbut Try::Tiny should still be added21:27
Haargok, that's a start.  so definitely something wrong with the code and not the packaging.21:27
Haargyeah.  it's only a test prereq and the recommended install has been the single script version so tests haven't been a priority.21:27
+perlDreameroh, okay21:27
Haargbut yeah, i'll fix that21:27
+perlDreamerand perl -d didn't like running wgd21:28
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui21:32
-!- mode/#webgui [+o bopbop] by ChanServ21:33
Haargcan you add some debugging to lib/WGDev/Help.pm to see where it has the pod text and where it loses it?21:33
+perlDreameralready there21:33
Haargin the package_pod sub21:33
+perlDreamerit says there's no POD21:36
+perlDreamerversion problems with Pod::Select maybe?21:37
Haargwhere does it say there's no pod?21:37
+perlDreamerI added some code after every ->throw in package_pod21:37
+perlDreamerand all of them printed21:37
+perlDreamerso then I asked it show me the pod that it had found21:37
+perlDreamerand it was empty21:38
Haargwhat about $raw_pod ?21:38
Haargit kind of seems like it's the parse_from_filehandle call that isn't working for some reason.21:39
Haargwhat version of Pod::Select do you have?21:39
Haargi remember checking that before though and the error was happening with the same version i'm using21:40
+perlDreamerraw_pod is okay21:40
+perlDreamerand the POD is okay, too, I forgot to install the code before rerunning 21:40
Haargwhat do you mean by 'the POD' exactly?21:41
+perlDreamerwell, package_pod returns POD that it found in the requested file21:42
+perlDreamerand if there are sections requested, then they get filtered and that's returned instead21:42
+perlDreamerso, at the end I added warn "$pod";21:42
+perlDreamerand I get POD21:42
Haargso is long help still failing?21:42
+perlDreameryes21:42
Haargwhat happens exactly?21:43
Haargalso what do you get from wgd commands ?21:43
+perlDreamerwgd commands: http://gist.github.com/96309521:44
Haargok so that's working.  had a report of that not loading the descriptions.21:44
+perlDreamerbottom part of what comes out when I run my modifed/debugged wgd help ls http://gist.github.com/96310121:45
Haargcan you try running it as not root?21:46
+perlDreamerwhen not root, it works21:47
Haargwell that's a start.21:47
+perlDreamerthe if statement is bein triggered at the bottom of package_perldoc21:48
Haarggive me a minute and i'll have another version for you to test21:48
Haargwhat is your umask?21:49
+perlDreamer002221:50
+perlDreamerfor root21:50
+perlDreamerand for me, 000221:50
+perlDreamerin that if statement, $? is 25621:50
Haargyeah.  it's probably another variant of the problem i worked around before.21:50
Haargperldoc tries to drop privs21:51
Haargso the temp file written out is inaccessible21:51
+perlDreamerbut root usually supersedes permissions21:51
Haargit switches to another user21:52
+perlDreamerah21:52
Haargso that it isn't root anymore21:52
+perlDreamerseems odd that Pod::Perldoc doesn't have any POD21:54
-!- jimX11 [~jjm@n128-227-81-249.xlate.ufl.edu] has joined #webgui21:57
+perlDreamermorning, jimX1121:57
jimX11howdy21:57
Haargi'm fishing through internals right now :/21:57
Haargno worse than i've done before though21:58
+perlDreamerHaarg, I'm thinking about a run22:02
+perlDreamerare you close so that I should wait?22:02
Haargtwo minutes and we'll see22:02
Haargok, it's going to take me a while longer22:04
+perlDreamerI'll go for a run, that'll give you plenty of time22:04
+perlDreamerit was an ugly run, I hope you had better time coding, Haarg22:44
Haarghttp://haarg.org/temp/WGDev-0.1105090.tar.gz updated22:45
+perlDreamerworks well22:46
Haargcool22:46
+perlDreamerI get formatted *roff output as both root and a normal user22:47
Haargthe pod parsing modules are all pretty crufty and terrible to work with22:51
Haargdoes the formatting look correct?  having the package name at the top and being the correct width?22:58
+perlDreamerI'm on a call, I'll check that in a bit22:59
CIA-70wgdev: Graham Knop master * r69ac91e / (lib/WGDev/Command/Base.pm lib/WGDev/Command/Help.pm): allow help errors to propagate - http://bit.ly/jqY0lN23:24
CIA-70wgdev: Graham Knop master * r2cf4c58 / lib/WGDev/Help.pm : 23:24
CIA-70wgdev: drop privileges before writing temp file for perldoc23:24
CIA-70wgdev: This moves the entire process of writing the temp file for perldoc into23:24
CIA-70wgdev: the subprocess. Before creating any directories or files, it drops23:24
CIA-70wgdev: privileges using Pod::Perldoc's drop_privs_maybe method. This should23:24
CIA-70wgdev: guarantee they can be read by perldoc. - http://bit.ly/mGt23w23:24
CIA-70wgdev: Graham Knop master * rdb91021 / (README dist.ini): improve build instructions - http://bit.ly/kW4m7223:24
CIA-70wgdev: Graham Knop master * r88de6e3 / Changes : 23:24
CIA-70wgdev: v0.110509023:24
CIA-70wgdev:  - fix documentation when run as root - http://bit.ly/iTw6Y123:24
-!- khenn [a6898bee@gateway/web/freenode/ip.166.137.139.238] has quit [Ping timeout: 249 seconds]23:44
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has quit [Quit: bye]23:44
-!- SquOnk [~emhn@186.93.207.12] has joined #webgui23:59
SquOnkGreetings.23:59
+perlDreamergreets, SquOnk23:59
SquOnkperlDreamer: How can I get the value of a metadata field inside a template?23:59
--- Day changed Tue May 10 2011
* perlDreamer vaguely remembers that there is a getMetaDataAsTemplateVariables method?00:00
+perlDreamerit may not be implemented in all templates00:00
SquOnk...yeah, I saw that, but couldn't figure out how it works.00:00
* SquOnk is a tad slow today00:00
+perlDreameryeah, I hear ya00:00
SquOnkHaving a new Android phone has to do with that ;-)00:01
+perlDreamerfrom what I'm seeing in processTemplate, they should already be there00:01
+perlDreamerso, if you have metadata enabled on the site00:01
+perlDreamerand an Asset has fields00:01
+perlDreamerthere will be a by-name interface to the metadata values for that field00:01
SquOnkperlDreamer: Do you mean plain <tmpl_var my-metadata-field>?00:01
+perlDreameryup00:02
+perlDreamerany template processed by processTemplate will have that in it00:02
SquOnkWell, it's the *simplest* cleanest solution, now that I think of it.00:02
SquOnkBut as I said before, I'm a tad slow today.00:02
+perlDreamerWebGUI is renowned for it's simple and clean solutions00:02
SquOnkHad to deal with Tomcat7 during the morning, so I might have lost a few thousand neurons.00:02
* perlDreamer is out to pick up kids, back in 2000:04
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Ping timeout: 260 seconds]00:05
+perlDreamerHaarg, is there a new wgd available for download?00:21
+perlDreamerI know for existing sites we can wgd update00:22
Haarghttp://haarg.org/wgd has been updated.  i'm not sticking tarballs anywhere at this point because it's a bunch of extra work.00:22
+perlDreamersure00:23
+perlDreamerbetween git and wgd, do you get a lot of requests for tarballs?00:24
Haargnot really00:24
Haargi'm pretty just recommending the single file dist at this point because it's easier for me to update and easier for users as well.00:25
+perlDreamerI use it all the time00:25
+perlDreamerit's hard to beat wget http://haarg.org/wgd00:25
Haargalso, i was wrong about Try::Tiny.  it is needed for WGDev itself, not just the tests.00:34
Haargbut the single file dist packages it in, so it wasn't causing problems for users00:35
-!- SquOnk [~emhn@186.93.207.12] has quit [Quit: Yippie kay-ai-yay, fudder muckers!]00:42
+perlDreamerHaarg, if I try to run a utility script in another directory01:01
+perlDreamerI sh ould be able to pass wgd the -R switch and have it run, yes?01:01
Haargusing the util command?  iirc it changes to the sbin directory before running scripts.01:02
+perlDreamerhm, so running install scripts outside of /data/WebGUI/sbin is not okay?01:03
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has quit [Read error: Connection reset by peer]01:04
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has joined #webgui01:04
-!- mode/#webgui [+o pbcj] by ChanServ01:04
Haargthe util scripts like to assume that you are in sbin when they are run01:04
Haargi think that's been fixed, but wgd aims to work with older versions as well01:04
+perlDreamerI figured that since wgd would set the environment by reading preload.custom it would work anyway02:03
+perlDreamerI guess I'm on the very fringes of DWIM02:03
Haargthe problem isn't finding the libraries, it's finding the webgui root.  older util scripts just use '..' as the root dir, so there's really no solution except being in sbin.  if the script you want to run will work when run from any directory, it would probably.  don't remember it tweaks the actual util script filename.02:07
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has quit [Ping timeout: 276 seconds]02:15
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has quit []02:20
-!- sbaur [~Adium@130.157.145.37] has quit [Quit: Leaving.]02:26
-!- carogray [~Caroline@107.33.217.184] has joined #webgui02:31
-!- carogray [~Caroline@107.33.217.184] has quit [Ping timeout: 240 seconds]02:35
+perlDreamerpreaction: does FormBuilder generate template variables as it stands today?02:37
-!- carogray [~Caroline@108.127.24.14] has joined #webgui02:40
CIA-70wgdev: Graham Knop master * rb1d282e / (19 files in 7 dirs): Perl::Critic fixes (+5 more commits...) - http://bit.ly/lgDcsM02:50
-!- carogray1 [~Caroline@108.121.193.148] has joined #webgui02:51
HaargperlDreamer, i merged in a couple of your changes (with package importing)02:51
+perlDreamerthanks! :)02:51
Haargif you get a chance to test them i'd appreciate it02:52
Haargalso re: https://github.com/perlDreamer/wgdev/commit/993a026d48f9abbb1ef6733534e699d5a905ea7202:52
+perlDreamerpoorly made?02:52
Haargif that used a wgdev config setting for those defaults instead of being hard coded02:52
Haargand if it used the WGDev::File->matched_find thing i just added, i would include it02:53
-!- carogray [~Caroline@108.127.24.14] has quit [Ping timeout: 240 seconds]02:53
+perlDreamerI think I can do that02:53
+perlDreamerbut it won't be for several days02:53
Haargi think i recommended you use the copy_deeply thing even though it's not really appropriate in that case.  my bad.02:53
Haargit's just a build process so it doesn't need to extra existence / size tests.  basically just needs to mkpath and copy.02:54
@scrottiefrodwith, one of the things on my todo list is "talk to Paul about the new bugboard".  someone told me that it's essentially finished and just needs testing.  is this the case?03:11
@frodwithmore or less, bug me about it during business hours :)03:11
@scrottieheh, will do.03:11
@preactionperlDreamer: the Asset Edit Form is being generated completely via FormBuilder template variables03:27
-!- carogray1 [~Caroline@108.121.193.148] has quit [Quit: Leaving.]03:33
-!- carogray [~Caroline@108.121.193.148] has joined #webgui03:35
-!- carogray [~Caroline@108.121.193.148] has quit [Quit: Leaving.]04:05
+perlDreamerthanks, preaction.  I had forgotten the difference between the FormBuilder template variables, and the Form plugin template variables04:48
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui05:24
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has quit [Quit: Leaving.]05:47
-!- fokat [~lem@186.188.103.132] has joined #webgui06:04
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui06:32
+perlDreamerfew things in life are as good as watching Thundarr the Barbarian while the WebGUI test suite runs06:47
CIA-70webgui: Colin Kuskie webgui-7.9 * rfd88c5c / docs/create.sql : Preparing for 7.9.28 release. - http://bit.ly/lFqkG306:58
CIA-70webgui: Colin Kuskie webgui-7.9 * r2d9ef3f / (4 files in 4 dirs): Ready for 7.9.29 development. - http://bit.ly/iDVtzP07:10
+perlDreamerwell, except for releasing new versions of WebGUI07:16
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has quit [Quit: Leaving.]08:09
-!- fokat [~lem@186.188.103.132] has quit [Quit: Ex-Chat]08:27
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Read error: Operation timed out]10:09
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui10:23
-!- mode/#webgui [+v BartJol] by ChanServ10:23
-!- kaare_ [~kaare@langebro.adapt.dk] has joined #webgui10:32
-!- kaare_ [~kaare@langebro.adapt.dk] has quit [Ping timeout: 260 seconds]12:49
-!- carogray [~Caroline@184-218-51-188.pools.spcsdns.net] has joined #webgui12:54
-!- carogray [~Caroline@184-218-51-188.pools.spcsdns.net] has quit [Ping timeout: 240 seconds]13:01
-!- carogray [~Caroline@184.237.88.103] has joined #webgui13:10
-!- carogray [~Caroline@184.237.88.103] has quit [Ping timeout: 258 seconds]13:15
-!- carogray [~Caroline@173-115-63-230.pools.spcsdns.net] has joined #webgui13:23
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui13:24
-!- carogray [~Caroline@173-115-63-230.pools.spcsdns.net] has quit [Ping timeout: 248 seconds]13:35
-!- carogray [~Caroline@108.110.172.46] has joined #webgui13:40
-!- carogray1 [~Caroline@184-229-190-92.pools.spcsdns.net] has joined #webgui13:46
-!- carogray [~Caroline@108.110.172.46] has quit [Ping timeout: 240 seconds]13:46
-!- carogray1 [~Caroline@184-229-190-92.pools.spcsdns.net] has quit [Ping timeout: 240 seconds]13:59
-!- carogray [~Caroline@108.117.47.20] has joined #webgui14:02
-!- carogray [~Caroline@108.117.47.20] has quit [Ping timeout: 263 seconds]14:33
-!- carogray [~Caroline@174-152-119-225.pools.spcsdns.net] has joined #webgui14:34
-!- jimX11 [~jjm@n128-227-81-249.xlate.ufl.edu] has quit [Quit: Leaving]14:40
-!- carogray [~Caroline@174-152-119-225.pools.spcsdns.net] has quit [Quit: Leaving.]14:46
-!- jimX11 [~jjm@n128-227-81-249.xlate.ufl.edu] has joined #webgui15:11
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has joined #webgui15:14
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui16:07
-!- mode/#webgui [+o bopbop] by ChanServ16:07
-!- fokat [~lem@190.204.78.19] has joined #webgui16:46
-!- sbaur [~Adium@130.157.145.37] has joined #webgui17:52
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has quit [Quit: Leaving.]18:29
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui19:02
-!- mode/#webgui [+v perlDreamer] by ChanServ19:02
+perlDreamermicrosoft bought Skype19:03
SDuensinThat's not funny.19:05
@preactioneh, it could be good for both of them. ms knows how to do integration, but they just never do it for their consumer products, only their business products19:06
@preactionwhereas apple doesn't have business products19:06
+perlDreamerI guess as long as they don't drop the Linux and Apple ports it'll be fine19:06
SDuensinYea.  MS can integrate.  Just look at Games for Windows.  :-P19:07
@preactioni don't think they'd drop those ports, they make money19:08
@preactiongames for windows is a side-effect of using DirectX APIs on the Xbox really19:09
@scrottieMS also kills the Linux version and screws up the Mac version.19:12
* perlDreamer goes to the gym and ponders scrottie's words with the global truth they contain19:13
SDuensinWell, one less IM client I need to run.19:13
@preactionscrottie: as you're testing, could you keep an eye out for anything that looks wrong visually? I'm certain I didn't catch all the changes with removing the old admin console bits20:02
@scrottiesure, will do.20:03
@scrottiethe one thing I've noticed, the YUI buttons line-breaking, I think you've already mentioned.20:04
@preactionnot that i remember20:05
@scrottiesomething about the buttons being "too big"?  hmm.20:08
@preactionprobably20:10
@preactionthe default size is rather massive20:10
@preactionbut honestly i like the bigger buttons20:10
-!- fokat [~lem@190.204.78.19] has quit [Quit: Ex-Chat]20:14
SDuensinAnyone ever have IE7 load your JS but not execute the code that's not in functions?20:20
+perlDreamersure, it's due to an error in the JS (according to IE7)20:22
+perlDreamerI've had a little success with using IE8's JS debugger when that happens20:22
SDuensinI figured that, but I've yet to hit on the right google search terms to learn about it.  :-)20:23
SDuensinAnd I'm stuck at work with ONLY IE7 installed.  <sigh>20:23
+perlDreamerinstall VirtualBox and run another copy of windows in a VM20:23
SDuensinNot allowed.20:23
SDuensinHonestly, I'm somewhat surprised I was able to create a new document.20:24
+perlDreamerShame on you for documenting!20:24
SDuensinIt was a JS document!  :-P20:24
+perlDreamershame on your for using JS!20:26
@scrottiebuy Windows hosting somewhere, install VNC on it at home, and use the Flash VNC viewer to access it.20:26
@scrottiego work for PlainBlack.  I have Safari, Firefox, Chrome, a few MSIEs, Mosaic, lynx, w3m, links and several others installed.20:27
SDuensinI'm already ssh'ed out to chat.  May as well.  20:27
SDuensinPlainBlack tried to hire me.  Sadly, I can't survive on the starting salary.  :-(20:28
@preactionthat's not that many, really. you need e-mail accounts with all major webmail providers, and eudora and thunderbird and evolution20:28
@scrottieI know.  I love joining a good nagfest.20:28
SDuensinIE7 reports no problems loading the script.  Makes debugging even MORE FUN!20:28
@scrottieI think I've got a Seamonkey laying around somewhere... 20:28
@preactioni maintain there was precious little nagging before THAT GUY showed up20:28
@scrottieKonq.20:28
@scrottiehere's what we should do for a UI for WebGUI 9:  http://trollingwithclass.files.wordpress.com/2010/09/simonextreme2.png20:30
+perlDreamerWebGUI 9 is going to be all command-line20:31
SDuensinYEEEEEEEEES!20:31
@preactionincluding viewing20:38
@preactionpeople will need to point their gopher client to gopher://example.com20:38
SDuensinGOPHER!20:38
@preactionwe may also support telnet20:38
@scrottiegopher rocks.  been meanign to add gopher support to Continuity for ages.20:38
@preactionperlDreamer: got a minute?20:53
+perlDreameryeah20:53
+perlDreamerit's better than doing CSS debugging :)20:53
@preactionwhat process did you use to merge 7.10 and 8? is it documented somewhere i can take a look?20:53
+perlDreamerIt's a very simple process, and it's not documented20:54
@preactioni've got 11 releases worth of 7.10 to merge, which should be fun considering all the changes made20:54
+perlDreamerif you try to merge more than 1 subversion at a time you'll kill yourself20:54
+perlDreamerwhat I did was do a merge after each 7.10 release20:54
+perlDreamerthen, resolve all conflicts20:54
+perlDreamerrun t/00_compile.t to make sure it's clean20:54
@preactionre-run the tests20:54
+perlDreamerthen, run the whole suite until it's clean20:54
+perlDreamerthen, merge the next sub-point20:55
@preactionbut merge like: git checkout 8; git merge v7.10.5?20:55
@preactionor rebase?20:55
+perlDreamerdue to ignorance, I always rebased, and I would pick a specific commit each time20:55
* perlDreamer knows no other way to merge20:56
@preactioni'll try git rebase v7.10.5 and see what happens20:56
@preactiontags should define a commit, in theory20:56
+perlDreamerthere will be conflict and woe but be stalwardt in the face of merging20:56
@preactionmy sheild is sturdy and my sword is strong!20:56
* perlDreamer passes preaction a bow and arrow for long range combat20:57
+perlDreamerand a set of Gauntlets of Ogre Power20:57
* preaction is off to save Princess Zelda20:57
+perlDreamerYou have to merge if you have the urge20:57
+perlDreameror, if you want to release 8.0 as an early beta20:58
@preactionalpha, sure20:58
@preactioni have consulted the mighty wizard of Knop and he says I should just merge to v7.10.15 in one go21:02
+perlDreamerI don't often argue with Lord Knop, but after trying that for several weeks I can tell you which one left me with more hair on my head21:03
+perlDreamerbut, do as you wish21:03
@scrottieyes, Lord Knop would win the remaining hair battle, fo' sho'.21:04
@preactioni have just found the awesome that is vim's "fugitive" plugin and vim's diff support. i merged, it had conflicts, I use :Gdiff and it shows me each original copy and the conflicted copy and i get to choose21:16
+perlDreamerblogggin?21:16
+perlDreamerhttp://www.vim.org/scripts/script.php?script_id=297521:18
@preactionmaybe, it seems a goodly choice21:18
@preactionyes, that21:18
@preactionnow i just have to show my buffer number so i can use diffget and diffput21:19
CIA-70webgui: Scott Walters WebGUI8 * rdd6a297 / www/extras/admin/toolbar.js : make the admin view [Edit] controls right-click-able so I can continue to right-click-open-in-new-tab them. - http://bit.ly/l31UPd21:40
CIA-70webgui: Scott Walters WebGUI8 * r2d31f72 / (share/site.psgi t/PSGI/ConfigMiddleware.t): 21:40
CIA-70webgui: PSGI entry points (#11632) -- add a plackMiddleware section to the config file; modify share/site.psgi to load from it.21:40
CIA-70webgui: This is minimal in implementation right now in that there's no support for passing args, which would generally be objects21:40
CIA-70webgui: mixed with strings, to the middlewares being added, as would be necessary if the .psgi files were to be largely migrated21:40
CIA-70webgui: to the config files. I agree that it's important that upgrade scripts be able to add middleware (probably custom ones21:40
CIA-70webgui: that know how to get the session from %$env) but I'm not convinced of the utility of moving much logic out of21:40
CIA-70webgui: share/site.psgi. - http://bit.ly/kVdp3d21:40
+perlDreamerlunch time :D21:43
* scrottie ate all of the left over curry for breakfast =(21:44
@scrottieso, oatmeal for lunch.21:44
@preactionscrottie: changing WebGUI::Content::* into middlewares?21:56
@scrottieat the moment?  nope.  guess that's the next step on that last ticket.21:59
@scrottieseems like that would create a merge disaster.21:59
@scrottiehrm, maybe I can wrap for them for the time being.22:02
@preactionno worries, having a way to migrate is the first API establishment step22:02
@preactionmigration can take time22:02
-!- jimX11 [~jjm@n128-227-81-249.xlate.ufl.edu] has quit [Quit: Leaving]22:08
@scrottieif all of the content handlers get moved to middlewarehood, then execution never goes through WebGUI.pm.  the top level of WebGUI.pm.  that skips header generation, cleaning up session after streamed responses, error catching22:08
@scrottiealso it means that each and every stupid content handler appears on the stack in an error stack trace, even if it decided not to run.22:09
@scrottieI wonder if it wouldn't be better to migrate some of these on a case by case basis rather than trying to migrate them for the sake of it.22:10
@scrottieor I suppose all of the stuff that WebGUI.pm does could be itself moved to a middleware.22:11
@scrottiereally, this isn't a bad design at all, the way it is now.  I'd be more inclined to go back to what I was doing yesterday... getting async database going inside of corona.22:12
@scrottiethoughts welcome.  guess I'll comment on the ticket though.22:12
Haargseems like converting them to plack apps would make more sense than middleware22:12
@scrottieyeah.  they don't get mounted on a specific URL, and having a bunch of apps be stand-alone when they're useless by themselves also seems silly.22:13
@scrottieI can think of a lot more interesting ways to make WebGUI less monolithic.22:13
Haargi guess you are right about the url thing.  i'd think main motivation for converting them would be to reduce the number of redundant plugin points.22:19
Haargbeen a while since i thought about it.  not sure how important it is.  i think the config file part was probably the most important part.22:20
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has quit [Quit: bye]22:21
@scrottieI could imagine this being factored different so that the admin was a different "app" from WebGUI itself, one that banged a lot of JSON accessors to do its work but otherwise stood alone.22:22
@scrottiethat would also further the cause of the gopher and telnet interfaces.22:24
Haargrereading the ticket it doesn't really say why we were deciding to move everything to middleware.  some of them it certainly makes sense to do that with, but others it probably doesn't matter.22:25
@scrottiemy reply there was just a copy of my remark here, but I might have misunderstood preaction's question.22:26
@scrottiehrm, I don't imagine setNoHeader being much use in a non-CGI environment.22:27
@scrottieI don't think this can be supported.22:27
@preactioni was just looking for info, it has unfortunately been a while since i've perused the 8 ticket list as well. perhaps i should revisit and comment on them again22:28
@scrottieunless the goal is just to keep two headers from being sent...?  22:28
@scrottiebut I don't see any examples of it being used in the main codebase22:28
Haargthat's what it looks like scrottie22:28
Haargheh, i was looking at the content handlers for which ones would work better as middleware.  first example i thought of was Maintenance.  turns out it was already converted but the old one still exists for some reason.22:32
@scrottiemaybe people want to put the site into maintenance mode while working on the maintenance page.22:33
Haargthe combination of moose and plack does make stack traces really terrible22:41
@scrottieyeah.22:42
* scrottie sighs22:42
@scrottiewith all of the magic going on in Moose, why aren't they tail-calling that away or something?22:42
@scrottieoptional verbosity setting...?22:43
@preactioni forgot all the wacky stuff we added to the 7.10 series22:54
@preactiondashlets, weird search entries, map stuff, template preview22:55
@scrottiewhat, preview, not live view?  weak.22:56
@preactionthat's what i said, but it was Requested22:56
+perlDreamerscrottie, the Moose people take bad hits for Moose's speed.  Maybe the tail-calling would slow it down?23:30
--- Day changed Wed May 11 2011
-!- cj [~cjac@adsl-207-32-169-17.rockisland.net] has joined #webgui00:21
cjhey folks00:21
Haarggreetings00:21
Haargtail calling would speed it up if anything.  and runtime speed isn't really a problem with Moose.  main issue is startup speed.00:22
cjso, I'm looking for a CRM type of thing that allows me to sell and maintain subscription services + e-mail customers their invoices + generate PDFs for me to print and mail for those customers who don't use computers :)00:23
cjI expect webgui would probably be a fine choice for this type of thing, eh?00:23
@preactionit depends on how intimate you want to get with WebGUI's Way Of Doing Things, but yes00:24
@preactionwww.thegamecrafter.com <- does almost exactly what you mentioned00:24
cjpreaction: I've spent a few months digging around in the code, so I'm a little familiar now.  If it starts being useful then I may have moneys to throw at you and scrottie to do it for me :)00:24
@preactionthe generate PDFs thing doesn't happen though, that part you'd have to create00:25
cjalright.  I could probably cobble something together.00:25
@preactionand i've looked into HTML -> PDF converters, they universally suck. you'd be better off creating a way for WebGUI to display docbook or whatever format you would want to use that could then be made into PDFs00:25
cjso, I'm spinning up a xen VM.  The dom0's only got 2G and I've allocated about 1G of that already.  I'm going to put a big-ip in front of it to offload the ssl bits and do caching.  I'll run the mysql db on a different machine, too.  Do you think I could run webgui in 512M, provided I strip out the features I don't need?00:27
@preactionsurely00:28
@preaction1-2G is "as configured in the WRE with OS and leeway factored in"00:28
cjgood to hear.  I'll get things spun up, then.00:29
@preactionwe're running about 80-90M per apache fork though00:29
cjalright.  I've got a bit of flexibility, and if it starts paying for itself, I should be able to migrate it to its own iron00:31
cjwhat size disk should I allocate?00:32
@preactionWebGUI itself is only 20M, WRE 80M, so whatever you need to keep those PDFs around00:35
@preactionhopefully by the time it starts paying for itself you can upgrade to 8, which has even more flexibility00:36
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Ping timeout: 260 seconds]00:40
-!- daviddelikat [~user@ppp-70-226-168-0.dsl.mdsnwi.ameritech.net] has joined #webgui00:47
@preactionmerge from 7.10.4 - 7.10.15 done! running test00:52
+perlDreamerGood job, preaction!01:01
@scrottieperl -p -i -e 's{http->setCacheControl}{response->setCacheControl}' `ack -l 'http->setCacheControl'` # this is going to bite me in the ass for sure01:05
+perlDreamerscrottie, just make sure it's an atomic commit, and it can be quickly fixed01:11
+perlDreameralso, save some finger typing and use the -pi switch instead of -p -i01:11
@preactionam i supposed to override update() anymore? or write()? or what should I do?01:23
@scrottiehmm?01:24
@preactioncollaboration has a new feature to update subscriber list when the viewing permissions have changed. it was implemented by overriding WebGUI::Asset->update(), but that doesn't work anymore01:25
@preactioni think i have to do around 'groupIdView' => sub {...} instead01:26
@scrottieyech.01:30
@scrottiecouldn't update() be overridden in a more specific fashion?  inject a base class in a subclass somewhere or something...?01:31
@preactionnot sure, moose bitches about update() already existing (probably the role composed one in)01:32
@preactionso most likely if i did around update it would work01:32
@preactionbut groupIdView is the only value I care about01:32
@preactioncrap. forgot about the upgrade path...01:33
Haargseems like that should be a trigger on groupIdView, although there is some oddness with triggers and object init iirc01:33
@scrottiemaybe Asset::update should do something ... for my $k ( keys %$hashref ) { $self->can("update_$k")->( $hashref->{$v} ) if $self->can("update_$k") }01:34
@scrottieor that.01:34
@preactionbut how do I add a trigger? the property is defined in WebGUI::Asset, not WebGUI::Asset::Wobject::Collaboration01:34
Haargthat's the entire point of having individual accessors.  you can just add triggers or other behaviors to them without messing with update01:34
@preactiondoes has '+groupIdView' ?01:35
@preactionwork01:35
@preactionif it doesn't it should, so i'll check01:36
-!- jimX11 [~jjm@n128-227-81-249.xlate.ufl.edu] has joined #webgui01:36
+perlDreamerit won't work, because it's wg8 specific01:51
+perlDreameryou can emulate a trigger with around, or after01:52
+perlDreamereither one would work01:52
+perlDreameror you can do what I did with the file permissions stuff, and provide a generic empty trigger and override that in various Asset classes01:52
-!- preaction [~preaction@li79-149.members.linode.com] has quit [Quit: ZNC - http://znc.sourceforge.net]01:58
-!- preaction [~preaction@li79-149.members.linode.com] has joined #webgui02:00
-!- mode/#webgui [+o preaction] by ChanServ02:03
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has quit [Read error: Connection reset by peer]02:07
-!- vayde [~vayde@184-100-124-64.mpls.qwest.net] has quit [Ping timeout: 260 seconds]02:12
-!- vayde [~vayde@67-4-153-252.mpls.qwest.net] has joined #webgui02:25
-!- sbaur [~Adium@130.157.145.37] has quit [Quit: Leaving.]02:28
@scrottienewByDymamicClass is gone?  but stuff still uses it...?02:58
* scrottie reads git log. okay.02:59
-!- preaction [~preaction@li79-149.members.linode.com] has quit [Quit: ZNC - http://znc.sourceforge.net]03:14
-!- preaction [~preaction@li79-149.members.linode.com] has joined #webgui03:17
-!- mode/#webgui [+o preaction] by ChanServ03:17
-!- vayde [~vayde@67-4-153-252.mpls.qwest.net] has quit [Ping timeout: 246 seconds]03:32
-!- vayde [~vayde@67-4-141-90.mpls.qwest.net] has joined #webgui03:45
+perlDreamernewById :)04:13
@scrottieyeah.  after I'm done testing my breakage, I'll fix that breakage... there are still a few newByDynamicClass floating around... perhaps from merges.04:15
+perlDreamermost likely from merges04:15
+perlDreamerwouldn't it be cool if you could make a git hook that updated those things automatically during a merge?04:19
@scrottiehrm.  could do an Acme::CodePolice type thing but instead of deleting your project, it fixes it.04:21
@scrottiealso, strong typing was invested for this reason.04:30
+perlDreamerno04:33
@scrottiepretty please?04:33
+perlDreamerstrong typing was infested because it make it hard to do a+104:33
+perlDreamerwhich everyone knows should be b04:34
@scrottieI thought you liked stricture in all of its various forms.04:34
+perlDreamerperldreamerian strictures have more to do with testing than variable typing04:34
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui04:56
@scrottiepedantic might have been a better word.05:03
jimX11Is Template Toolkit in WebGUI modified in some way to only allow hash references to be passed and not arrays?  I'm having trouble passing something like this {foo=>[1,2,3]}05:16
jimX11but {foo => { bar => baz}} works.  And in the  the {foo=>[1,2,3]} case, I don't even process the variable in the template, I just pass it.05:17
@scrottieno idea...05:17
+perlDreamerjimX11, the data structure is originally based on HTML::Template05:17
@scrottiere: modified, WebGUI doesn't come with a copy of Template Toolkit but instead uses the standard CPAN distro of it05:18
+perlDreamerso you can have loops of data05:18
+perlDreamerbut the "data" is hashes05:18
+perlDreamerso, {foo => {bar => baz}} is fine05:18
+perlDreamerbut not the other05:18
+perlDreamerunless you foo => [ {bar => baz}, {buz => biz}] etc05:19
jimX11ok05:19
@preactionarrays for TT templates work fine, see WebGUI::Asset::Template::Parser->downgrade05:19
@preactionbut they only work in TT templates, not H::T or H::T::E05:20
+perlDreamerclient specific version of wG?05:20
jimX11I see no downgrade method in WebGUI::Asset::Template::Parser05:23
@preactionit's in the 7.10 series05:23
jimX11Oh, I'm so close.  I'm using 7.9.14.05:24
jimX11So in 7.9.14 I gotta use the key => key shuffle, then?05:25
@preactionmap { name => $_ } @values or something yeah05:29
jimX11ok.05:29
jimX11Yea.  Also I'll have to throw in something to preserve the order too, I guess.05:31
@preactionH::T takes an arrayref of hashrefs for loops05:32
@preactionwhich is ordered05:32
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has quit [Read error: Connection reset by peer]05:37
+perlDreamerI'd like to order a pizza with hash and glob refs, please05:41
+perlDreamerextra cheese05:41
@scrottiewaiter, is this a stash in hash and glob pizza!?05:45
jimX11So a db call returning [ [22,44,66],[10,20,30]] becomes what?05:45
@scrottiein my05:45
jimX11becomes this: ( ( {22=>22}, {44=>44}, {66=>66}), ( {10 => 10},{20=>20},{30=>30}))05:47
+perlDreamerthat wouldn't be very useful05:47
+perlDreamerthink about returning arrays of hashrefs intead of arrays of arrays05:47
+perlDreamer[ { col1 => 22, col2 => 44, col3 => 66},{col1 => 10, col2 => 20, col3 => 30}]05:48
jimX11and sort on the keys to get the order back.05:48
+perlDreamersure05:49
jimX11So how am I using TT2 but needing H:T syntax?  Does TT2 go through H:T in WebGUI?05:50
+perlDreamerit all goes through the same template parsing system05:53
+perlDreamerso, the limitations of one apply to all05:53
@preactionwhich is why downgrade exists in 7.10, to allow the features of TT to be used without breaking H::T completely05:54
jimX11ok05:54
jimX11thanks05:54
+perlDreamerpreaction, just to remind me, can you say something like, 'If we weren't pressed for time we'd rip out H::T by the roots and replace it.'?05:54
@preactionwe'd rip out H::T but i'm not sure getting rid of the template plugin point is a good idea. maybe different Template assets for different parsers instead...05:56
@preactionTT is faster than H::T, but slower than others if you don't need all the features TT provides05:56
@preactionand who knows what tomorrow will bring?05:56
+perlDreamerAccording to Google, tomorrow will bring Toy Story 305:57
+perlDreamerhttp://www.google.com/search?client=ubuntu&channel=fs&q=what+will+tomorrow+bring%3F&ie=utf-8&oe=utf-806:01
jimX11Which is more consistent, turning this [ [22,44,66],[10,20,30]] into this [ { col1 => 22, col2 => 44, col3 => 66},{col1 => 10, col2 => 20, col3 => 30}] or06:08
jimX11{c1 => { c1 => 22, c2 => 44, c3 => 66}, c2 => {col1 => 10, col2 => 20, col3 => 30}}06:09
+perlDreamerthe first06:09
jimX11k06:09
* perlDreamer has to bake some bread now, I'll be back on tomorrow06:10
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has quit [Quit: Leaving.]06:10
-!- jimX11 [~jjm@n128-227-81-249.xlate.ufl.edu] has quit [Quit: Leaving]07:36
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui07:55
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Ping timeout: 240 seconds]08:11
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui10:41
-!- mode/#webgui [+v BartJol] by ChanServ10:41
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui10:42
-!- mducharme1 [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Read error: Connection reset by peer]11:19
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has quit [Quit: Leaving.]11:41
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui11:52
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has left #webgui []12:23
-!- carogray [~Caroline@184.241.111.54] has joined #webgui12:50
-!- carogray [~Caroline@184.241.111.54] has quit [Ping timeout: 260 seconds]12:59
-!- carogray [~Caroline@108.113.223.56] has joined #webgui14:12
-!- carogray1 [~Caroline@184-200-59-255.pools.spcsdns.net] has joined #webgui14:31
-!- carogray [~Caroline@108.113.223.56] has quit [Ping timeout: 240 seconds]14:33
-!- carogray1 [~Caroline@184-200-59-255.pools.spcsdns.net] has quit [Ping timeout: 240 seconds]14:36
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has joined #webgui15:13
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has quit [Read error: Connection reset by peer]15:16
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has joined #webgui15:26
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui16:07
-!- mode/#webgui [+o bopbop] by ChanServ16:07
+BartJoljust out of interest, are there plans to rewrite the map asset for openstreet maps?16:15
SDuensinWelcome to Wednesday.  That is all.16:46
@preactionBartJol: no, but all the information should be in the template. you might be able to create one17:35
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui17:39
CIA-70webgui: Paul Driver master * r6a01296 / (5 files in 5 dirs): rfe #12127: AssetProperty macro - http://bit.ly/ka3cTb17:44
-!- sbaur [~Adium@130.157.145.37] has joined #webgui17:56
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui18:00
-!- mode/#webgui [+v perlDreamer] by ChanServ18:00
-!- khenn [a68988b5@gateway/web/freenode/ip.166.137.136.181] has joined #webgui18:05
-!- mode/#webgui [+o khenn] by ChanServ18:05
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui18:05
@khennhey18:12
@khenndoes anyone remember the name of the site that offers free website styles?18:12
@khennI think WG uses a few in the startup script18:12
+perlDreameroswd.org?18:15
@khennperhpas18:15
@khennthanks pd18:15
@khennI'll check that out18:15
+perlDreamermost of the other designs came from the awesome Ning18:22
+BartJolyeah, after that I had too much karma to spend18:36
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has quit [Quit: Leaving.]18:51
-!- fallout [~fallout@75-135-66-252.dhcp.mdsn.wi.charter.com] has joined #webgui19:39
CIA-70webgui: Rory Zweistra master * r7beec1d / lib/WebGUI/Mail/Send.pm : Fixed typo that prevented to get the company name from the settings table - http://bit.ly/jnRqnK19:44
CIA-70webgui: Graham Knop master * r458b1a1 / lib/WebGUI/Mail/Send.pm : 19:44
CIA-70webgui: Merge pull request #10 from roryzweistra/master19:44
CIA-70webgui: Fixed typo in Send.pm - http://bit.ly/mlAdjQ19:44
@preactiondid the exportRelatedAssets go into 7.10.15? i'm merging 8 and i've got a test that's failing, but I can't find the code that would make it pass20:16
@preactionit's not in the merge, and it's not in the 7.10.15 tarball i downloaded20:16
+perlDreamerit's in there20:18
+perlDreamer"exportGetRelatedAssetIds"20:18
-!- jimX11 [~jjm@ip98-180-60-146.ga.at.cox.net] has joined #webgui20:18
@preactionwtf. i'm looking right at the WebGUI.pm released as 7.10.15 and it is not here20:19
@preactionin the StoryArchive asset?20:19
+perlDreamerAsset/Story20:20
+perlDreamerStory exports related topics20:20
+perlDreamerI think that's how it was used20:20
+perlDreamerack -l exportGetRelatedAssetIds20:20
@preactionah, maybe that's why20:20
@preactionfound it. new -> newById20:22
+perlDreameralso newByDynamicClass -> newById20:32
+perlDreamerscrottie and I chatted about that last night20:32
* scrottie nods20:32
+perlDreamerand about all we agreed upon was that I was pedantic20:32
@scrottiethere are a few newByDyanmicClass calls floating around in there again but I'm yak shaving at the moment20:33
@scrottiehrm.  at every moment?20:33
+perlDreamerI'm not sure, but possibly20:33
+perlDreamerhere, for a second, I'll switch from pedantic to annoyed and irritable20:34
@scrottieI'm glad we can agree on irritable.20:35
@preactioni love when errors get thrown but are completely blank!20:35
@scrottieat least we have that in common.20:35
+perlDreamerIf one is writing code, and you feel the need to reimplement Test::Simple in your own private lingo, then you're just making it more difficult for people to contribute to your test20:35
+perlDreameryeah, I don't like me when I'm irritable, I'll stick with pedantic20:39
@preactioni also love when your phone stops delivering calls and text messages but is otherwise completely operational, and only a restart fixes it20:44
@preactionoh look, i got paged a couple times!20:45
@scrottieperl needs a \).20:45
@scrottieWebGUI 9 is going to use autodie.21:03
-!- jimX11 [~jjm@ip98-180-60-146.ga.at.cox.net] has quit [Ping timeout: 252 seconds]21:04
@scrottieit's not that I want to work on Plack stuff, but I keep stepping in it...21:04
CIA-70webgui: Scott Walters WebGUI8 * rd2c8670 / (lib/WebGUI/Test.pm t/Asset/AssetExportHtml.t): (log message trimmed)21:05
CIA-70webgui: Introduce WebGUI::Test::getPage2, similar to WebGUI::Test::getPage, that makes21:05
CIA-70webgui: requests using Plack::Test and attempts to maintain getPage's API.21:05
CIA-70webgui: Change three tests in t/Asset/AssetExportHtml.t to use this instead.21:05
CIA-70webgui: Backstory:21:05
CIA-70webgui: Forthcoming WebGUI::Session::HTTP, ::Request, ::Responses mucking abouts broke21:05
CIA-70webgui: some tests that use WebGUI::Test::getPage; in the case of t/Asset/AssetExportHtml.t,21:05
@preactionoh crap, i could've saved you time21:06
+perlDreamergetPage* needs to die21:06
@preactionscrottie: there's WebGUI::Test::Mechanize now21:06
* scrottie grunts21:08
@scrottieokay, I'll try to sort that out21:08
@scrottiemy inclination is to make getPage2 a wrapper around this with a simplified interface to make it easier to convert tests (which I expect to find a lot more of failing now)... but this code is kinda gluey-hand-wavey... 21:13
@scrottieI'm jumping through hoops to set the wgSession cookie and plug a session for it into the database for the correct user... this might be doing that but I can't tell... is it?  should I move that over?21:13
@scrottieI could test it and see I suppose...21:13
+perlDreamerthat's what WebGUI::Test::Mechanize will do for you21:14
@scrottieit takes a userId.  hmm.21:14
@scrottieno, this should work.  the WebGUI::Middleware::Session layer isn't used in favor of just setting up session here.  cool.21:15
mducharme-workafternoon21:21
@scrottieheya mducharme-work21:21
mducharme-workquestion - how can I make userlist visible to visitors?21:21
@scrottiedo you want an answer optimized for quickness of implementation or niceness of result?21:21
@scrottiea SQLReport could pull from the users table.21:22
mducharme-workI am using the user list wobject and it works for authenticated users but displays nothing for visitors21:22
mducharme-workthe ideal thing would be to have an LDAPReport that could pull directly from LDAP but there is no such thing21:23
@scrottievisitors are all essentially the same user, so there isn't much to display...21:23
mducharme-workyou do not understand21:23
mducharme-workwe do not give phone numbers for our offices on our website21:24
mducharme-workbecause we have multiple offices21:24
mducharme-workinstead we rely on the corporate phone directory on our website for people to know what number to call to get someone21:24
mducharme-worknovell discontinued their web based corporate phone directory product21:24
mducharme-workwhich we used to have running in an iframe in webgui21:24
mducharme-workI need for someone going to our company's website to see a listing of staff21:25
mducharme-workand their phone numbers21:25
mducharme-workwithout having to log in21:25
mducharme-workhttp://www.ktc.ca/home/about-us/staff-directory21:25
mducharme-workthat's what it looks like right now21:25
@scrottieokay, can't this user list wobject be set viable by 'Visitor'?21:25
mducharme-workwhich doesn't work21:25
mducharme-workor would you say that that is acceptable?21:25
mducharme-workI don't think it's the wobject itself21:26
@scrottieI don't see anything acceptable in a typical day ;)21:26
@scrottieis this a bug or a configuration matter?21:26
@scrottieI'd have to dig into the code to learn more, but I wonder if user profiles are hidden or the like.21:27
+perlDreamermducharme-work, profile information is never shown to the user Visitor.21:28
+perlDreamerthe UserList wobject may be able to override that, maybe not21:29
+perlDreamerTry the Override Public Profile option, it may do the trick21:29
+perlDreamerotherwise, you can build a SQL Report to mine the userProfileData table directly21:30
mducharme-workok21:31
mducharme-workcan the person still open the users profile and view their photo etc21:31
+perlDreamerno21:31
mducharme-workwith the sqlreport gadget21:31
+perlDreamerno, but you can list the phone number21:31
+perlDreamerit's a privacy issue, where you don't want bots being able to mine your site for confidential information21:32
+perlDreameremail address, physical addresses, skype contacts, phone numbers, etc21:32
mducharme-workI understand that21:32
mducharme-workbut this is making us manually have to create a new phone list21:32
mducharme-workwhen we already have one in ldap21:32
mducharme-workand we already have one in webgui through ldap21:32
mducharme-workit's just stupid21:33
mducharme-workoh and we have a third one in the form of a word document21:33
+perlDreameryou could modify the core to allow visitor to see profile information21:33
+perlDreamerand hand maintain that whenever you upgrade21:33
@scrottieSQLReport that does update userSession set userId='someNonVisitorGuestUser' where sessionId = ?, and JavaScript that picks out the sessionId and hits that "report"...?21:33
@scrottiekludges.  get yer kludges.  we got kludges.  right here.21:34
+perlDreamerit'd be cleaner to put in a feature/setting that would allow Visitor to see user profiles21:34
@scrottieyeah.21:34
+perlDreamerbecause in companies I guess you want your information out there21:34
@scrottiemore users should be doing git pull --rebase to upgrade.21:34
@scrottieheck, I'd really like to see an auto-update feature, and that would be one way to implement it.  stick the site in maint mode, git pull, run upgrades, take it out of maint mode, all from a workflow task.21:35
-!- daviddelikat [~user@ppp-70-226-168-0.dsl.mdsnwi.ameritech.net] has quit [Read error: Connection reset by peer]21:35
@scrottiestick git in the WRE.21:35
@scrottieunclean merge?  reset back to where they were before and send an "oops, sorry" email.21:36
+perlDreamermducharme-work: the stuff that would need to be changed is in WebGUI::User, sub profileIsViewable21:37
mducharme-workok21:38
+perlDreamerI'd estimate that adding a setting to do that, with i18n and testing and everything else required to go into the core would take several hours to do21:40
mducharme-workthat's when you know what you're doing of course21:40
@scrottieperlDreamer, preaction, thoughts on the Want module?21:40
+perlDreamerscrottie, never heard of it21:41
+perlDreamermducharme-work, there are lots of people who you could contract to do it, including Plain Black21:41
@scrottieor you could probably guess / get suggestions at which few lines to comment out in there =)21:41
+perlDreameriirc, mducharme-work does know perl21:42
mducharme-workI used to code perl a long time ago21:42
mducharme-workI've probably forgotten almost everything21:42
@scrottieyou can probably still read it, even as it's spoken today.21:43
mducharme-workI also wonder why you developed your own help desk plugin for webgui21:44
@scrottiewas there another WebGUI helpdesk plugin floating around already...?21:44
+perlDreameryeah, we wonder why we did that too, sometimes21:45
mducharme-workno, but there are some really good perl-based help desk systems21:45
mducharme-workwe use OTRS for instance21:45
@scrottieah.  often the question is integration is a larger one than that of "really good".21:45
mducharme-workthat doesn't do much good if the help desk is a tinkertoy in comparison21:46
@scrottieif someone needs a really good help desk, they probably won't care so much about integration, or else they'll be happy to do all of the work involved in integrating it.21:46
@scrottiedepends.  sometimes lots of integrated tinker toys is just what people want.21:46
@scrottieeasily integrated.21:46
mducharme-workthere isn't all that much integration work involved in OTRS actually21:47
@scrottieand if they want integrates really good stuff, that's hard to do.  people charge a lot of money doing that work all of the time in IT.21:47
@scrottiewe're happy to integrate WebGUI with really nice products.21:47
mducharme-workto what extent is the webgui help desk really integrated into other webgui components?21:47
+perlDreamernot at all21:48
+perlDreamerit uses WebGUI users and Groups21:48
+perlDreamera workflow activity21:48
@scrottiefrodwidth's plack-mounted-assets automatically integrate almost any Plack app into WebGUI =)21:48
+perlDreamerand some templates21:48
@scrottieit's integrated in the sense that site admins can click a few things and add it at a certain location to the site.21:48
@scrottieI imagine there has been some work done here, but reverse-proxying in other apps over HTTP has potential, too.21:50
@scrottieas it is, there aren't many feature requests posted for integrating with other things.  perhaps this is something people want and don't realize they want.  perhaps time should be spent finding nice apps to integrate and integrating with them.  that sort of thing tends to have a hellish maintenance obligation though.21:55
@scrottie"Unable to find session cookie! at /data/WebGUI/lib/WebGUI/Test/Mechanize.pm line 81."  hrm.21:59
@scrottiefixing this as best as I can22:12
mducharme-workthe users and groups thing is easy enough to do with otrs, it can plug into any sql authentication source with any schema pretty much22:12
@scrottiepatches welcome.22:12
mducharme-workit can plug into multiple simultaneous auth sources as well22:12
-!- CIA-70 [~CIA@208.69.182.149] has quit [Read error: Operation timed out]22:13
mducharme-workthe hard part is the UI integration22:13
@scrottieer, I mean, perhaps PlainBlack shouldn't have written their help desk.  dunno.  you may be right.  no idea.22:13
mducharme-workit would be nice if there was a way of using JSR portlets as wobjects22:18
@scrottiedo-able.  Inline::Java is an amazing piece of technology.22:18
mducharme-workthat would give a much greater range of integrations for webgui.. but you'd need some sort of shim to tomcat to accomplish that22:18
mducharme-workahh22:18
@scrottieyeah.  process size would go up a lot.22:18
mducharme-workb/c a lot of the time you are having to reinvent the wheel, when there is already a JSR portlet that does something22:19
@scrottiegenerally when there are two camps, the camps don't envy what the other camp has... otherwise there wouldn't be two camps.22:20
@scrottiefor various reasons, Java tends to be expensive to deploy.22:21
@scrottieheck, for 8, we're optimizing away Apache as a simplification/optimization.22:21
@scrottieI'm all for building bridges, but the efforts aren't purely redundant.22:22
@scrottieif anything, other Perl CMSes are redundant with WebGUI ;)22:23
@preactionRT and Bugzilla exist. we could have integrated those via auth plugins or somesuch22:33
mducharme-workpreaction - I was suggesting OTRS because it is perl as well and is more full featured for help desks than RT actually.. bugzilla is still best from a software development angle22:55
mducharme-workour help desk used to use RT but we moved off it due to the lack of features22:55
@preactiona plack app using the plack app wobject could take advantage of webgui's global site search even22:56
+perlDreamerthe Plack app wobject maps indexContent in the low-lying plack app?  that is cool!22:58
@preactionno, you'd have to map it yourself, but it could be done22:58
mducharme-workwe would love to have OTRS integrated into our webgui22:58
mducharme-workat the moment we just do an inframe in webgui, we do not have integrated auth then, but it's the same username/password because they both use the same LDAP source22:59
mducharme-worker iframe22:59
@preactionauth plugins aren't too bad and getting better22:59
@scrottiewait, I thought you said that it is really easy to integrate them, and OTRS can do arbitrary queries against an arbitrary database22:59
mducharme-workyes23:00
@scrottieor maybe I'm missing what else exactly should be integrated...23:01
@scrottieI guess that goes back to the reverse proxying arbitrary HTTP thing23:01
mducharme-workSSO23:01
mducharme-workwe have both using the same login23:01
mducharme-workbut single sign on is a different story23:01
mducharme-workthe credentials do not get passed along23:01
@preactionmake the WebGUI auth set both cookies23:02
@scrottieits cookie might correspond to something in its databsae.  might have to web scrape the login form there.23:03
@preactioni think i like our helpdesk v2 better though. OTRS seems like a great ticketing system, but we need more of a project management system (or to get out of that game entirely)23:03
@preactionOTRS is very bold. much orange and brightness...23:03
@scrottiethe more work you do, the more work you find you still need to do.  keeping things simple on purpose is often a great strategy.  text editors are equally good at about all things.23:04
@scrottietrying to make the bug board better at project management or bugs or anything would make it worse at the others unless a lot of work went in contrary.23:04
@scrottiesometimes simple is good.23:04
@scrottieas it is, people can use it for all sorts of silly things not related to any of those tasks.23:04
@preactionof course. i'd prefer a dead-simple ticket tracker and a bigger app that read that tracker's data to figure stuff out23:04
@preactionwhich is the plan i hope23:05
@preactionright now we don't have any talking between the PMS and the helpdesk, which necessitates copying data between them manually23:05
@preactionand our PMS is rather haphazard as well. timetracker as a standalone with super sekrit functions if it's "linked" to a PMS system23:06
mducharme-workOTRS does project management sorta23:06
mducharme-workin the ITSM version23:06
@preactionah, the demo i tried didn't make it very obvious23:06
mducharme-workthe change management system can be used for projects23:06
@scrottiedatasharing between "mounted" apps that you're just proxying for/embedding/authenticating against/for gets even nastier.23:06
mducharme-workyou create work orders, create dependencies between them23:07
@scrottieas soon as people have SSO, then they want data workflows.23:07
mducharme-workit displays a gantt chart type thing23:07
mducharme-workmost of the features in OTRS only appear when you install the ITSM add on23:07
mducharme-workthey really should put the ITSM stuff into the core, IMO23:07
@scrottieembedding a copy of an entire other project is a bit of a challenge.  you have to keep pulling changes and merging those with your local changes which envariably happen.23:08
mducharme-workeven if you don't run an ITIL shop it still adds a lot of features into the core23:08
@scrottieI argue for a smaller WebGUI core, personally.23:08
mducharme-workscrottie you misunderstand23:09
mducharme-workI mean OTRS should integrate the ITSM add on into the OTRS core23:09
@scrottieagain?23:09
@scrottieoh23:09
mducharme-workb/c people install OTRS by itself and that only has about 1/3 the features of the ITSM version, so it doesn't give a good idea of what it can do23:09
@scrottieA new indie Atari Jaguar game just came out!  I need to find my BJL cable and a machine with a parallel port and load that sucker up.23:10
mducharme-workthe OTRS core by itself is not that much better than RT at basic help desk, it's only when you go to ITSM that the features significantly increase23:10
@preactionthat sucks. i'm trying to get rid of our project manager, but I can't unless we have something else to use23:10
@preactionand if the OTRS demo doesn't include ITSM, then they can't know if it's good23:11
mducharme-workbrb have to reboot23:17
-!- mducharme-work [~nothing@206.188.121.4] has quit [Read error: Connection reset by peer]23:18
-!- khenn [a68988b5@gateway/web/freenode/ip.166.137.136.181] has quit [Ping timeout: 252 seconds]23:21
@preaction1 day to do the merge. 1 day to fix the tests.23:27
fallout1 ring to rule them all?23:27
@scrottietarget is still moving.23:27
@scrottieCIA left before I unleashed the spam.23:27
@preactiongotta do a full test run before i can consider this "done" before i can pull your changes23:28
* scrottie nods23:28
@scrottieprobably won't happen right now but I'm thinking about modifying the text that gets output in tests to not include assetIds, date stamps, and things like that23:28
@scrottiedetails that change every time bog down trying to diff output from two test runs23:29
@scrottiecomments welcome / consider yourselves warned23:29
@preactionthe test description text? sounds a good idea23:30
@scrottieyeah, test description text.23:31
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has quit [Quit: napping]23:42
-!- jimX11 [~jjm@n128-227-81-249.xlate.ufl.edu] has joined #webgui23:48
--- Day changed Thu May 12 2011
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Ping timeout: 246 seconds]00:05
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has quit [Quit: Leaving.]00:06
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has joined #webgui00:10
-!- mode/#webgui [+o pbcj] by ChanServ00:10
* scrottie waves to pbcj00:11
@pbcjsup sup00:11
@scrottiehow goes stuff?00:11
@pbcjgoingly =)00:11
@scrottieplaying with WebGUI 8.00:11
@scrottieyay, yay.00:11
@pbcjI saw the chatter00:11
@scrottieI keep getting stucked into this testing/Plack vortex.00:12
@pbcjI all of a sudden feel like the only kid on the block without a new bike00:12
@scrottiesucked00:12
@scrottiehrm.  it must have been 8 or 10 months since I got to.  so, feel bad, but not alone.00:13
@pbcjso, how does static template vars from config strike the room?00:15
@pbcjpreaction: I'm looking at you00:15
@scrottiehmm?00:16
@pbcjI'm working on branding for a few clients, I'd like to have something configurable that gets passed into the templates00:17
@pbcjthis would support branching using TT's INCLUDE directive: http://template-toolkit.org/docs/manual/Directives.html#section_INCLUDE00:17
@preactionbut afaik webgui's use of TT doesn't work well w/ include00:18
@preactioncan't include assets, of course, and i'm not sure where files would get included from00:18
@preactioni'd love to create a provider that would allow you to include assets, but i haven't found anyone to do it yet00:18
@preactionand if you have INCLUDE working, you don't need anything in the config file, no?00:21
+perlDreamerall righty, I have a test that exposes the Serializer bug and a patch to fix it00:22
+perlDreamernow, time to wade through RT00:22
@pbcjwell, I'd still prefer have one template to package, rather than one that needs only a small customization when spawning a newly branded site00:22
@pbcjI haven't tested include yet, I came here first00:23
@pbcjand now I'm discouraged =(00:23
@preactioni'm surprised there aren't Setting or Config macros00:23
@pbcjindeed00:24
@scrottieoften programming is the art of quickly exhuasting non-workable solutions.00:24
+perlDreamerwouldn't macros happen too late?00:24
@preactiontoo late for what?00:24
@pbcjmacros are isolated, so it doesn't matter00:24
@pbcjtemplate vars don't get passed in automagically00:24
+perlDreameriirc, macros get evaluated after the template gets parsed00:25
+perlDreamerso if you wanted to macro in something, it's too late to use it in the template eval stage00:25
@scrottiefrodwidth was playing with some hackery that found every variable on the stack and passed them in.00:25
+perlDreamerin 700:25
@scrottieer, frodwith00:26
@pbcjas long as the vars are still around, the timing of it doesn't matter, I think00:26
@preactionthey're not vars though, that's the difference between vars and macros00:26
Haargit would be pretty easy to extend the template toolkit usage to allow macros to be called by templates directly00:26
@preactionmacros happen last, after templates are parsed00:26
@preactionand yes, there's what graham said00:26
@preactionand barring that, it'd be possible to provide TT with read-only bits of the session00:27
@preactionbut the current method we would have to do it would be to add proper variables in either Asset::Template->process or Asset->processTemplate00:28
@pbcjI was more thinking that processTemplate could stick the current template vars into a collection that macro process could have access to00:28
@preactionhuh?00:29
@preactionif you want macros to be parsed at the same time as the templates, the best way would be for TT to execute the macro directly with some function we give it00:29
@pbcjright, the reason I can't use something like ^ProcessTemplate(..); is because the template vars aren't available in the macro, otherwise, if they were, the macro could just call processTemplate(.., thoseVars)00:30
@preactioni don't know what you mean00:31
@preactionyou wanted config values to be available in the template. a combination of macros and a TT function to call those macros could provide that00:32
@preactionfor INCLUDE assets, you need a custom Template::Provider object to read asset:// links or something00:32
@pbcjI get that00:32
@preactionboth of which are projects i would support and want completed00:32
@pbcjperhaps it's me, I'm sick as hell right now.  I'm mixing two ideas.00:34
-!- dreamersgirl [~chatzilla@137.53.249.130] has joined #webgui00:35
@pbcj1) having something from the config file that is available within the templates.  Easy enough.  I could modify the assets involved and put the value in, but I thought config would be the way to go for part 2.00:35
-!- carogray [~Caroline@173-145-113-91.pools.spcsdns.net] has joined #webgui00:36
-!- dreamersgirl [~chatzilla@137.53.249.130] has quit [Quit: ChatZilla 0.9.86.1 [Firefox 4.0.1/20110413222027]]00:39
@pbcj2)  in a template:    <div>every site has this, but this is specific content: [%ProcessTemplate("/customized-sub-template")%]</div>00:39
@preactionyou would be better off making [% INCLUDE asset:/customized-sub-template %]00:40
+perlDreameryup00:40
@pbcjyes00:40
+perlDreamercuz users can't get to a config file to customize it00:41
@pbcjyeah, come to think of it, that may not be needed at all00:42
@pbcjsince every branded site would have it's own /customized/ subtree aside from the common content00:42
@pbcjokay, that will work.. sounds like pD volunteered00:42
+perlDreamerpD does not write new code any longer, only fix customer sites and old code00:43
+perlDreamerwhen 8 is released, they'll take him out into the back 40 and bludgeon him with an IBM XT computer00:43
@preactioncome on. we'd have more class than that00:43
@preactionyou'd get an Atari ST at least00:44
+perlDreamerI was hoping for a 386-DX with math co-processor, but the old and defunct can't be choosy00:44
@pbcjDX400:45
@pbcjbut, even then, that's a lot of work for us00:45
@pbcjTRS-8000:45
@pbcjit's lightweight and versatile00:46
@pbcjshows 'em who's boss and won't leave a mark00:46
Haarghttp://gist.github.com/967452 patch on webgui 8, untested00:48
Haargshould let you do [% USE Macro; macro.FileUrl(blah) %]00:48
@pbcjright on man00:50
Haargalthough making a custom provider for webgui to allow INCLUDEs like preaction was showing, the simplest thing to do is add the session to the vars.  then plugins can do whatever they need without resorting to padwalker.00:52
falloutie8 doesn't like wegbui.org =(00:54
falloutand i don't like ie800:54
Haargfallout, what problems are you seeing?00:56
Haargor do you actually mean wegbui.org because i make that typo constantly00:58
falloutthey are layout related-  mainly, open tickets sometimes appears in full, sometimes it's cut off at the bottom of its parent00:58
falloutheh, no, this is webgui.org00:59
fallouti have a bug open somewhere that i haven't had time to look into00:59
Haargah yeah i see what you mean.  it doesn't expand to show the entire ticket tracker01:00
Haargnot for the data table at least01:00
falloutyeah, there are other (seemingly related) effects01:00
-!- carogray1 [~Caroline@173-142-200-215.pools.spcsdns.net] has joined #webgui01:00
falloutsimilar things happen when submitting bugs- but you can make things disappear behind other items01:00
falloutetc01:00
-!- carogray [~Caroline@173-145-113-91.pools.spcsdns.net] has quit [Ping timeout: 240 seconds]01:01
@pbcjis it mostly the helpdesk?  it could use some TLC.01:01
fallouti'm still not clear what all is part of helpdesk..01:02
@pbcjeverything you see when the url is /bugs01:02
fallout<301:03
-!- daviddelikat [~user@ppp-70-226-164-54.dsl.mdsnwi.ameritech.net] has joined #webgui01:05
@pbcjwhat I meant, was, the helpdesk asset could use some TLC, wink wink nudge... earn some fame and lots of karma ;)01:05
@preactionit already got TLC, it just hasn't been finished for one reason or another01:06
@preactionhelpdesk v2 is just sitting in a github repo somewhere01:07
@pbcjoh, then, what I mean is.. blame preaction01:07
@preactioni'd blame frodwith more than preaction, but preaction is going to migrate v2 to 8 and everyone will be happy then01:07
fallouti'm just going to point at everyone except me01:08
@preactionbut when you point, 3 fingers are pointing back at you01:08
falloutaww01:08
Haargpreaction, should i add that template toolkit session passing thing to 8/7.10?01:09
@preactionHaarg: go for it01:10
@pbcj... / 7.7.2101:10
@preactionpbcj: they should upgrade01:10
Haargwhat about the additional template plugin namespace thing i had in that patch?01:10
Haargit's an extremely simple change.  could be backported to any version extremely easily.01:11
@preactioni'd say yes, but it would need tests01:11
@pbcjI'm going to have to go an alternate route due to client contraints, I don't think I can sell a full upgrade at this time01:12
@preactionso when i'm done with this, i can write a simple test for it and then put it in01:12
@preactionpbcj: as graham mentioned, backport it. it's a retardedly simple patch01:12
-!- carogray1 [~Caroline@173-142-200-215.pools.spcsdns.net] has quit [Read error: Connection reset by peer]01:12
-!- carogray [~Caroline@173-142-200-215.pools.spcsdns.net] has joined #webgui01:12
@pbcjgrahams thing doesn't solve my problem, I think01:12
Haargi've just been throwing out related ideas i had so i'm not sure what problem you were actually dealing with01:13
Haargwhat are you trying to do?01:13
@pbcjI want to process a subtemplate with the same template vars as the host template01:13
@pbcjso that custom template content may be broken out01:14
@preactionthat won't do that then01:14
Haargwell01:14
Haargit could be made to do something along those lines01:14
Haargwould be kind of ugly though01:14
@pbcjthis is why I was talking about storing the template vars somewhere01:14
@pbcjand that would be ugly01:14
@pbcjwe're going uglier but less hacky01:15
Haargbasically, with that patch, you could write a template toolkit plugin to do pretty much anything you want01:15
@pbcjget the vars hash that was passed in?01:15
@pbcjand pass it to a subtemplate01:15
Haargthe plugin would have access to those variables.  the nastier part would be the actual processing of the subtemplate.01:16
@preactionwhich a Template::Provider class would do elegantly01:16
-!- carogray [~Caroline@173-142-200-215.pools.spcsdns.net] has quit [Ping timeout: 240 seconds]01:17
Haargyeah, but that's harder than a one line patch01:17
@preactionyes01:17
-!- carogray [~Caroline@32.178.80.139] has joined #webgui01:19
Haargactually01:19
Haargwith _session in there01:19
+perlDreamerwouldn't it make sense to see if content brought in by an INCLUDE directive is reprocessed in the context of the template?01:21
@preactionlooks like Template::Provider only requires you to override two methods, and should be very long to WebgUI::Asset->newById(...)->view01:21
Haargyou could make a plugin 'SubTemplate', used like [% USE SubTemplate('block_name','url-goes-here'); PROCESS block_name %]01:21
Haargwould be pretty easy to do as well01:21
Haargmaybe it isn't as beautiful as asking for the template directly, but would involve less changes to core.01:22
@preactionhow about I go ahead and make the new template provider to see if i'm write about it being 20 lines after i'm done merging these damnable tests01:23
@preactiongives me more wow for my presentation next week01:23
Haargyou'd want to also handle something like 'template:url-blah' for the use case pbcj is talking about01:25
@preactionright, because template doesn't use view01:26
@preactionthough pbcj could just as easily use a snippet01:27
Haarghe wants to process the other template though, not include the view of it01:28
@preactionProvider does INCLUDE, PROCESS, and that other one01:28
@preactionINSERT, is the other one01:29
HaargINSERT is for raw files, it doesn't go through provider01:29
Haargthe difference between include and process is just the variables that are passed to them01:30
@preactionTemplate::Provider::_template_content begs to differ with you01:30
@preactionThis method returns the content of the template for all C<INCLUDE>, C<PROCESS>, and C<INSERT> directives.01:30
@preactionthe Subclassing section of Template::Provider's docs01:31
Haargeh, i guess so01:31
Haargstill though it's a difference in how the content of the template is processed.  the two behaviors i was talking about are assets (call view on them and return static text) and templates (return their template, able to be processed as a template)01:33
Haargfor an asset that you are trying to include i'd think you'd want PROCESS, INCLUDE, and INSERT to all behave the same01:34
Haargunless you actually want the output of an asset to be able to be processed as a template01:35
@preactionyes01:36
Haargwell i guess that works too01:36
@preactiontemplate snippets01:36
@preactionor crazy collab setups01:37
@preactionKUH01:37
@preactionRAISEY01:37
sbaurSo, I've played around with TT just a little bit (in 7.5.40) but we couldn't get INCLUDE to work at all. What magic sauce are we missing?01:38
@preactionnothing. it doesn't work01:38
@preactionthere's no way to set where it looks for files, is the problem01:38
Haargwe don't specify any include paths, so it can't be used without patching core01:38
@preactionmuch less grabbing assets, which is what we're discussing now01:39
@preactioni could add the config stuff while i'm at it too01:39
sbaurok, thanks for the clarification01:39
@preactioni could just check if the asset is a template and return template instead of view01:40
sbaurseems to me creating a directory in or at the same level as public in the domains section would be a handy default include path...01:40
@preactionbut even that directory is configurable01:40
@preactionwell, uploads is. the parent dir doesn't matter to webgui01:41
Haargthe main reason i mentioned the template: thing is that i was thinking that it would be less surprising if you couldn't use an asset view as a template01:41
Haargsince it roughly serves as a replacement for assetproxy01:42
Haargall you have to do is use INCLUDE or PROCESS in one place where it should be IMPORT, and you have all kinds of security issues01:42
@preactionbut then we can't have snippets that define functions that you can use later01:44
Haarguse a template if you want it to be templatable01:44
Haargor make whoever is writing the template explicitly ask for it as a template01:45
@preactionbut it's not a template, it's a set of functions and cannot be processed by itself.01:45
@preactionbut then you have the same security problems, no?01:46
Haargthe issue is that if someone wants to include an asset like they would have done with assetproxy, they would do something like01:46
Haarg[% INCLUDE asset:asset-url %]01:47
Haargwhich will be a security problem01:47
Haargif they have to say template:asset-url then they are asking for it as a template01:47
@preactiononly if asset-url was created by a user we don't trust01:47
@preactionso doing INCLUDE asset:$postId would be very bad indeed01:47
Haargyes but all kinds of things get included with assetproxy01:48
Haargincluding plenty of user content01:48
@preactionisn't that what INSERT is for then? or IMPORT or what-not?01:48
@preactionINSERT asset:asset-url01:48
Haargyes, but you just forgot what it was01:49
Haargdo you think a site admin is going to remember when there are three options?01:49
Haargi think being secure by default seems like the best option.  if the user goes to the extra effort to do something insecure that's ok, but they should be forced to think about it first.01:50
Haargsomething like template: forces them to think more than the difference between PROCESS/INCLUDE/INSERT01:51
Haargi guess i don't see the issue with forcing people to use template assets to store template components01:52
@preactioneh, there isn't one really01:53
@preactionbut what you've said sounds like i can't have asset: in provider, because provider does process include and insert01:53
jimX11A TT2 question, WebGUI verions less that 7.10 need template vars passed in HTML::Template style as hashrefs or as an array ref of hash refs.  Can I pass it a hashref where the value is an object?01:53
@preactionno01:54
@preactionH::T will die01:54
jimX11H:T will die, but I'm using TT2.01:55
+perlDreamerthat doesn't stop the user from building new, custom templates in H::T01:56
Haargpreaction, looking at provider a bit more, INSERT only works with static files01:56
Haargor wait i'm dumb01:57
Haargok.  it would be simpler to do what you were thinking, just providing asset view able to be processed as a template.  but you could also override load and force all three mechanisms to work the same.01:58
-!- carogray [~Caroline@32.178.80.139] has quit [Read error: Connection reset by peer]02:01
-!- carogray [~Caroline@32.178.80.139] has joined #webgui02:02
-!- carogray [~Caroline@32.178.80.139] has quit [Read error: Connection reset by peer]02:06
-!- carogray [~Caroline@32.178.80.139] has joined #webgui02:06
Haargpbcj, if preaction doesn't get the provider thing worked out, or if it can't be used for the client for some reason, i'd recommend using the patch i just committed, then writing a tt plugin to do the including.  Template::Context provides easy methods to include templates or define blocks or similar.02:06
@pbcjthx, problem is for client A I have no budget and am locked into an old version, and for client B, I likely have budget, but tackling that problem is a ways down the todo list02:08
@preactionoh always02:09
Haargthis stuff should all be simple to backport at least, so it shouldn't be a huge problem that it's an old version02:10
@pbcjyes, but they aren't using TT to begin with, and that's what I don't have budget for02:15
@pbcjhowever, this could likely solve it for client B.02:15
@pbcjI want an overall solution that simplifies branding, for both a single site serving multiple urls, and several individual instances02:16
-!- carogray [~Caroline@32.178.80.139] has quit [Ping timeout: 258 seconds]02:19
fallouti need some easy bugs to wade into wg with02:25
@preactionyou might find it easier to start with 8, if you can get it to work02:27
@pbcjcan I start over and just start with 8?02:27
@preactionspeaking of which, how's that going scrottie? does anything work on your system yet? can i breathe a sigh of relief?02:27
falloutheh02:28
@preactionpbcj: no. you don't get 8. no 8 for you!02:28
falloutcj you have vm's02:28
@pbcjyes, but I get paid for this, so ..02:28
* pbcj is pinned squarely under the man's thumb02:28
@preactionpbcj: i'm trying, i really am. i'm skipping so much and cutting corners and making dark promises to powerful gods to get this shit out the door so you can has02:29
falloutwell, are there major issues with installing 8?02:29
@preactionit's pre-alpha02:29
falloutif it's similar to issues of old i think i'll survive02:29
@pbcjI got it to work, once upon a time02:29
fallouterm.02:29
@preactionthat's as succinct as i can get it02:29
@preactioni'm working on trying to push alpha within a couple weeks02:29
falloutwill it get me karma is really the question i should be asking i suppose ;)02:30
@scrottieanything work on my system?  hmm?02:30
* scrottie was afk02:30
@scrottieI haven't worked up the courage (or lack of immediate things to deal with) to do much with WebGUI8, but it's been doing a good job of not really doing much.02:30
-!- sbaur [~Adium@130.157.145.37] has quit [Quit: Leaving.]02:31
@preactionat least it's doing a good job02:31
@scrottieI guess I could test the UI some more.02:32
@preactionfallout: afaik there aren't many easy bugs, but perlDreamer would know for sure. you might have better luck attacking the RFE boards02:32
falloutroger.02:32
falloutappreciate it02:32
@scrottiefallout, yeah, even help testing would be good.  a big picture of how it's coming together would seem useful.02:32
+perlDreamerthere's the PayPal locale bug02:32
@pbcjfallout: I'd be willing to send you a stuffed octopus named 'gooey', and perlDreamer might be convinced to send you cookies. 02:32
falloutwoot02:33
falloutgood enough.02:33
+perlDreamerthat's about as easy as it gets02:33
@scrottieinstall is easy.  I fixed up the README that comes with it to include the things that idiots like me tend to forget.02:33
+perlDreamerbut you need to test BOTH PayPal plugins, since they have different locale setting/form variables02:33
+perlDreamerand the bug should be fixed in the master branch02:33
+perlDreamernot WebGUI802:33
+perlDreamerand we can talk about how to backport it to 7.902:33
falloutideal =)  am looking.02:35
+perlDreamerHaarg, what do you remember about this commit: 4350966866835f4a4a468d261fe2284577033c2702:37
+perlDreamerit turns out that if a site has urlExtensions enabled, and they import a style package, that it breaks the AssetProxy links to other assets since their URLs were changed02:38
+perlDreamerso, I was thinking of reverting that commit, and adding in a check to duplicate instead02:38
Haargi don't really know02:39
-!- daviddelikat [~user@ppp-70-226-164-54.dsl.mdsnwi.ameritech.net] has quit [Ping timeout: 240 seconds]02:49
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has quit [Quit: Leaving.]02:58
cjfallout: hmm?03:11
-!- fokat [~lem@186.93.207.12] has joined #webgui03:13
cjI do have vms, but why do you mention this?03:13
@preactioncj: wrong cj i think. there's a pbcj03:14
cjah.  roger.03:15
-!- fokat [~lem@186.93.207.12] has quit [Ping timeout: 264 seconds]03:18
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui03:19
@scrottiecj, how's the WebGUI based cart going?03:24
-!- fokat [~lem@186.93.207.12] has joined #webgui03:27
cjscrottie: I set it down so I could get some $work done.  I'm hoping I'll have it up within the next month so I can get that PCI compliance checkbox checked.03:33
-!- lem_ [~lem@186.93.207.12] has joined #webgui03:41
-!- fokat [~lem@186.93.207.12] has quit [Ping timeout: 240 seconds]03:41
-!- lem_ is now known as Guest2761203:41
-!- Guest27612 [~lem@186.93.207.12] has quit [Quit: Ex-Chat]04:05
@scrottieFile assets should always give IO::File::WithPath objects to PSGI, instead of the current redirecting or streaming behavior.  (#11688) ...04:36
@scrottiethat seems to be working now but I'll have to write tests and commit tomorrow.04:36
@scrottiesite.psgi looks at the config and enables either XSendfile or Static as appropriate04:36
@preactionawesome!04:37
@preactioni was worried about that one04:37
@scrottieat this point, some of this Plack stuff just needs simplified...04:37
@preactionplack itself? or our usage of it?04:41
@scrottiethe usage of it.04:42
@scrottieWebGUI.pm is trying to figure out which scenario things are running in and it really doesn't need to care, for the most part.04:42
@scrottieexcept I want to move content type guessing for streamed filehandles up to the top level there.04:43
@scrottiemost places won't need to call sendHeader.  that can be done at the top level and probably no where else.04:44
@scrottiethat can be rolled into the Request's finalize() method in a subclass.04:45
@preactionagreed04:46
@scrottieso, Plack continues to simplify everything.  yay, yay!04:46
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has quit []04:50
@preactionwhat if we got rid of lineage, used URLs to build the tree, and allowed assets to have as many URLs as they wanted?04:51
* preaction dons asbestos robe04:51
@scrottielineage vs url mostly confuses people, I think.04:53
@scrottieit seems like mostly a chance for things to be out of sync.04:53
@preactionit confused the hell out of me, yeah04:53
@preactionbut i also understand the benefit of arbitrary URLs04:53
@scrottieI think we should shoot for that for 9.04:53
@scrottieusually people pick their URL and then stuff under it goes under it and gets automatically named from the title.04:54
@scrottiethat wouldn't change.04:54
@preactionwe'd need a "canonical" URL to keep those automatic names predictable04:56
@scrottieImageMagick doesn't work in 5.16 yet.  if I wind up with some extra time here, I'm seriously thinking about doing an API-alike based on NetPBM.  perhaps I'll call it Image::Magick::Sucks04:57
@preactioni'll keep it in mind. i should probably put together my 9 wishlist someday04:57
@scrottiepostgres.04:57
@preactionwhy not a Graphics::Primitive plugin or what-not?04:57
@preaction9 would have an ORM, so yes.04:58
@scrottiehmm, that sounds like a good idea.04:58
@scrottieugh.  that's a discussion for another time.04:58
@preactionheh04:58
-!- frodwith [~frodwith@helios.tapodi.net] has left #webgui []04:58
jimX11Hmmm, ORMs04:58
jimX11DBIx::Class is making things so simple04:59
@preactionwell, in theory 8 will have an ORM, but not everything will use it. it's something that has to be developed over time. i should probably write all that plan down too04:59
@scrottieI hope to god I'm able to pull myself up out of Web programming again by then if it is the case.04:59
-!- frodwith [~frodwith@helios.tapodi.net] has joined #webgui05:01
-!- mode/#webgui [+o frodwith] by ChanServ05:01
@preactionyou can't escape! it's PROGRESS! JOIN US!05:04
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has quit [Read error: Connection reset by peer]05:20
-!- daviddelikat [~user@ppp-70-226-170-46.dsl.mdsnwi.ameritech.net] has joined #webgui05:43
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui10:25
-!- mode/#webgui [+v BartJol] by ChanServ10:25
-!- waxhead [~pete@ppp121-45-197-46.lns20.cbr1.internode.on.net] has joined #webgui11:24
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui14:33
-!- plainhao [~plainhao@208.75.85.237] has joined #webgui14:34
SDuensinThursday.  I never could get the hang of Thursdays.16:44
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has quit [Read error: Connection reset by peer]17:19
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui17:28
falloutSDuensin:  well, i'm sure you'll get lots of practice17:38
SDuensin:-)17:39
SDuensin(Nobody gets my quotes!  What kind of geeks are you?!)17:39
+BartJolwe just ignore them :P17:40
SDuensinlol17:41
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui17:54
-!- mode/#webgui [+v perlDreamer] by ChanServ17:54
-!- sbaur [~Adium@130.157.145.37] has joined #webgui17:55
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui18:09
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has joined #webgui18:14
-!- mode/#webgui [+o pbcj] by ChanServ18:14
@pbcjmornin18:14
+perlDreameryo, pbcj18:14
@pbcj=)  finally starting to get over this bout.  rhinovirus 3, chris 018:15
+perlDreamerI keep tellin' ya, you spend too much time with weight on both feet, and you're droppin' yer left18:17
+perlDreamerthat's why he's got you on the ropes18:17
+perlDreamernow, keep shifting your weight, move move move18:17
@pbcjstick and move18:17
+perlDreamerand keep that left up, otherwise he's going to make hamburger out of ya18:17
+BartJolwhat, not playing supertuxcart?18:25
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has quit [Quit: Leaving.]18:27
@scrottieSDunsin, geeks aren't awake at that hour.18:30
@scrottieORMs aren't the future.  they're just another tragic chapter in history.18:31
@pbcjORMs are a stepping stone18:32
@scrottieORMs are an attempt to replicate the working set in yet another place because copying data around is so much fun.18:34
@preactionwhy do you hate jesus?18:34
@preactionjesus loves ORMs18:34
@pbcjORMs are suppose to add an abstraction layer, albeit a specific abstraction.  nHibernate was pretty nice.  db4o even better.18:38
* pbcj begins the flame war18:38
@pbcjso I have a simpler solution to my subtemplating problem.  apparently you can send subs to TT.  with a little closure, I think this would be enough to provide subtemplating.18:47
@pbcj$t->process( \$template, { $vars, subtemplate => sub { $t->process( $_[0], ... } } ) || bail;18:47
@pbcjidea from: http://stackoverflow.com/questions/1285441/calling-outside-modules-in-template-toolkit-without-plugins18:47
@pbcjis this a bad idea?18:47
+perlDreameranything is better than giving them the whole session18:51
+perlDreameronce an underprivileged user has a session, they can rewrite passwords, give themselves group membership18:52
+perlDreamerand other things for fun and profit18:52
@preactionwe don't allow full perl blocks19:00
@preactionand without downgrade(), i'm not sure how the subs will make it to the template19:01
@pbcjI'd be a core change19:01
@pbcjIt'd19:01
@pbcjand only work for TT19:01
@preactionand we already have it, in the downgrade() sub. if you allow subrefs to be ported through, it'll work19:02
@preactionas for eval_perl, let me get you a patch here quick19:02
@preactionhttps://gist.github.com/ede0a91762b998ee99a8 <- that adds to graham's patch to also allow you to configure TT directly from the config file in the "template" config key19:04
@preactionso you could do "template" : { EVAL_PERL : 1 } and enable eval_perl19:04
@preactionif you're using pre 5.10 perl, you need to change //= into: defined $something ? $something : $default19:05
@pbcjhrm, I was actually thinking I could put it in base template, and had started down that road as a test19:12
@pbcjthis is probably riddled with perl noob mistakes, but this is what I was going for: https://gist.github.com/5444b48de7bfeeb594b819:12
* pbcj has not run that code. don't shoot me19:12
@preactionthat won't work with H::T, and will break any H::T template19:12
@pbcjscrew H::T19:13
@pbcjI was proud of my little solution, too.  Thanks dad :/19:15
@pbcj"children, thank your father"19:15
-!- CIA-80 [cia@cia.atheme.org] has joined #webgui19:36
-!- mducharme-work [~nothing@206.188.121.4] has joined #webgui19:40
-!- perlbot [simcop2387@isuckatdomains.net] has quit [Remote host closed the connection]19:57
-!- perlbot [simcop2387@isuckatdomains.net] has joined #webgui19:57
-!- CIA-80 [cia@cia.atheme.org] has quit [Remote host closed the connection]20:01
-!- CIA-82 [cia@cia.atheme.org] has joined #webgui20:23
-!- jimX11 [~jjm@n128-227-81-249.xlate.ufl.edu] has quit [Quit: Leaving]20:40
-!- fokat [~lem@190.204.78.19] has joined #webgui20:50
-!- fokat [~lem@190.204.78.19] has quit [Ping timeout: 240 seconds]21:01
Haargpbcj, if you apply my patch to add _session to vars, you can then use a plugin like this21:55
Haarghttp://gist.github.com/96919221:55
Haargand do [% USE WGTemplate; WGTemplate.process('url-here') %]21:56
@pbcjstill need the vars passed, though21:57
Haarg$context->process keeps the vars21:57
@pbcjoh, saweet21:58
@pbcjthis still puts session in vars tho22:12
@preaction_ vars cant be accessed from the template22:12
@preactiononly from plugins and such22:12
@pbcjoh, right, I think I discovered that once22:12
@pbcjnice22:12
@pbcjthen, purrrfect22:13
@pbcjty22:13
-!- CIA-82 [cia@cia.atheme.org] has quit []22:20
@pbcjCIA is not doing well today22:22
+perlDreamerHe needs some Botspo-Bismal22:32
-!- mducharme-work [~nothing@206.188.121.4] has quit [Quit: Leaving.]22:33
-!- mducharme-work [~nothing@206.188.121.4] has joined #webgui22:35
-!- CIA-82 [cia@cia.atheme.org] has joined #webgui22:40
-!- mducharme-work [~nothing@206.188.121.4] has quit [Quit: Leaving.]22:46
-!- mducharme-work [~nothing@206.188.121.4] has joined #webgui22:52
@scrottiehttp://pghpw.org/ppw2011/ ... I'm thinking about putting in "WebGUI 8 as a Plack Web Development Framework".23:34
@scrottiebtw, there are six days left for priority consideration of PPW talks.23:37
--- Day changed Fri May 13 2011
-!- plainhao [~plainhao@208.75.85.237] has quit [Quit: plainhao]00:12
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has quit []00:15
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Ping timeout: 260 seconds]00:43
-!- lem_ [~lem@186.93.207.12] has joined #webgui01:04
-!- fokat [~lem@186.93.207.12] has joined #webgui01:04
-!- lem_ is now known as Guest751601:04
-!- fokat [~lem@186.93.207.12] has quit [Client Quit]01:06
-!- Netsplit *.net <-> *.split quits: ckotil, SDuensin, @frodwith, sbaur, +Radix__, vayde, perlbot, @preaction, Getty, Haarg, (+12 more, use /NETSPLIT to show all of them)01:41
-!- Netsplit over, joins: Guest7516, mducharme-work, CIA-82, perlbot, sbaur, +perlDreamer, carogray, waxhead, daviddelikat, @frodwith (+12 more)01:45
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has quit [Quit: Leaving.]01:56
-!- jimX11 [~jjm@n128-227-81-249.xlate.ufl.edu] has joined #webgui02:09
-!- sbaur [~Adium@130.157.145.37] has quit [Quit: Leaving.]02:37
-!- Guest7516 [~lem@186.93.207.12] has quit [Quit: Ex-Chat]03:27
CIA-82webgui: Scott Walters WebGUI8 * r7a994b5 / (6 files in 6 dirs): (log message trimmed)04:11
CIA-82webgui: File assets should always give IO::File::WithPath objects to PSGI, instead of the current redirecting or streaming behavior. (#11688)04:11
CIA-82webgui: New API method: WebGUI::Response::sendFile; it, as appropriate, calls04:11
CIA-82webgui: setRedirect or setStreamedFile, depending on enableStreamingUploads config var.04:11
CIA-82webgui: setStreamedFile now kicks off the XSendfile process.04:11
CIA-82webgui: File.pm now uses this instead of trying to set both a redirect and a stream.04:11
CIA-82webgui: IO::File::WithPath blows up if a file doesn't exist so this raises an exception04:11
* scrottie &04:12
-!- carogray1 [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui04:37
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has quit [Ping timeout: 240 seconds]04:39
-!- mducharme1 [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui05:11
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Ping timeout: 258 seconds]05:13
-!- carogray1 [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has quit [Read error: Connection reset by peer]05:21
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui05:23
-!- mode/#webgui [+v perlDreamer] by ChanServ05:24
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has quit [Quit: Leaving.]05:46
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui07:12
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Ping timeout: 250 seconds]07:21
-!- mducharme-work [~nothing@206.188.121.4] has quit [Read error: Connection reset by peer]07:44
-!- mducharme-work [~nothing@206.188.121.4] has joined #webgui07:45
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui08:49
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui10:29
-!- mode/#webgui [+v BartJol] by ChanServ10:29
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has quit [Quit: Leaving.]12:01
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui13:05
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has quit [Read error: Operation timed out]14:23
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui14:24
-!- mode/#webgui [+v BartJol] by ChanServ14:24
-!- daviddelikat [~user@ppp-70-226-170-46.dsl.mdsnwi.ameritech.net] has quit [Read error: Connection reset by peer]15:29
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui16:23
-!- carogray1 [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui16:40
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has quit [Ping timeout: 246 seconds]16:43
SDuensinFrIdAy13tH!16:50
-!- fokat [~lem@186.93.207.12] has joined #webgui17:25
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has joined #webgui17:48
-!- mode/#webgui [+o pbcj] by ChanServ17:48
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has quit [Quit: Leaving.]18:48
-!- fokat [~lem@186.93.207.12] has quit [Quit: Ex-Chat]19:41
@scrottieGOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOD MORNING VIETNAM19:41
@scrottieoh, hell.19:41
@scrottieit is.19:41
@scrottieso that's why I stabbed myself with a rusty nail this morning.19:42
SDuensinWell that was silly.19:43
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Ping timeout: 250 seconds]19:55
-!- sbaur [~Adium@130.157.145.37] has joined #webgui21:00
@preactionso since I wrote WebGUI::Template::Provider today, does that mean it's the unholy spawn of our evil dark lord, Mr. Fuzzydrawers?21:41
@scrottievi lib/WebGUI.pm ... :w ... lib/WebGUI.pm: 209 lines, 6666 characters.21:49
@preactionoh god, it's STARTING21:50
@scrottieI guess wc -c would be easier.21:50
@scrottiehrm, I should write a smoker bot that runs prove --verbose, captures the output in a log file, and commits the results back in a file to the repo.  then if you want to go muck things up, you know you always have before test results to diff/kompare against.21:52
-!- rizen [~rizen@71-87-113-102.dhcp.mdsn.wi.charter.com] has joined #webgui22:28
-!- mode/#webgui [+o rizen] by ChanServ22:28
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui22:42
-!- mode/#webgui [+v perlDreamer] by ChanServ22:42
-!- fokat [~lem@190.72.135.232] has joined #webgui23:11
-!- fokat [~lem@190.72.135.232] has quit [Ping timeout: 264 seconds]23:20
-!- daviddelikat [~user@ppp-70-226-170-46.dsl.mdsnwi.ameritech.net] has joined #webgui23:29
--- Day changed Sat May 14 2011
-!- rizen [~rizen@71-87-113-102.dhcp.mdsn.wi.charter.com] has quit [Quit: rizen]00:37
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has quit [Quit: Leaving.]01:37
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has quit []02:03
@preactionI CAN FINALLY CHECK IN THIS MERGE!02:13
@preactionfull test suite runs expectedly dirty! only POD.t and Whitespace.t fail!02:14
@preactiongit add lib t02:14
@preactionthat's the wrong window02:14
CIA-82webgui: Doug Bell WebGUI8 * r277faae / (848 files in 205 dirs): (log message trimmed)02:21
CIA-82webgui: Merge commit 'v7.10.15' into 802:21
CIA-82webgui: Conflicts:02:21
CIA-82webgui:  docs/gotcha.txt02:21
CIA-82webgui:  docs/previousVersion.sql02:21
CIA-82webgui:  docs/templates.txt02:21
CIA-82webgui:  lib/WebGUI.pm02:21
CIA-82webgui: Doug Bell WebGUI8 * r677ac97 / (89 files in 28 dirs): 02:21
CIA-82webgui: Merge branch 'WebGUI8' of github.com:plainblack/webgui into 802:21
CIA-82webgui: Conflicts:02:21
CIA-82webgui:  lib/WebGUI.pm02:21
CIA-82webgui:  lib/WebGUI/Auth/WebGUI.pm02:21
CIA-82webgui:  sbin/findBrokenAssets.pl02:21
CIA-82webgui:  sbin/testEnvironment.pl - http://bit.ly/k0dBsw02:21
sbaurcongrats preaction!02:25
-!- sbaur [~Adium@130.157.145.37] has quit [Quit: Leaving.]02:27
-!- jimX11 [~jjm@n128-227-81-249.xlate.ufl.edu] has quit [Quit: Leaving]03:18
-!- carogray1 [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has quit [Ping timeout: 246 seconds]04:29
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui04:29
@scrottiepreaction, just between you and I, I think you should release a public beta of WebGUI8 at midnight.04:43
@preaction11:59 perhaps?04:43
@scrottieworks.04:43
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has quit [Read error: Connection reset by peer]05:26
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui13:24
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui13:27
-!- KlausH [~KlausH@pD952A00E.dip0.t-ipconnect.de] has joined #webgui14:02
-!- KlausH [~KlausH@pD952A00E.dip0.t-ipconnect.de] has quit [Client Quit]14:02
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Quit: Leaving.]15:11
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has quit [Quit: Leaving.]17:35
-!- rizen [~rizen@71-87-113-102.dhcp.mdsn.wi.charter.com] has joined #webgui18:55
-!- mode/#webgui [+o rizen] by ChanServ18:55
-!- rizen [~rizen@71-87-113-102.dhcp.mdsn.wi.charter.com] has quit [Quit: rizen]20:14
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui22:04
--- Day changed Sun May 15 2011
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui03:38
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has quit [Quit: Leaving.]04:47
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui05:04
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has quit [Read error: Connection reset by peer]05:25
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Remote host closed the connection]06:19
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui06:52
-!- lem_ [~lem@weston-69.65.87.205.myacc.net] has joined #webgui06:52
-!- lem_ is now known as Guest4066506:53
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Client Quit]06:53
-!- Guest40665 [~lem@weston-69.65.87.205.myacc.net] has quit [Remote host closed the connection]07:11
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui07:31
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Remote host closed the connection]08:36
-!- mducharme1 [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Read error: Connection reset by peer]09:21
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui09:22
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Ping timeout: 252 seconds]09:34
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui11:43
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui12:08
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has quit [Quit: Leaving.]12:29
-!- waxhead [~pete@ppp121-45-197-46.lns20.cbr1.internode.on.net] has quit [Quit: Ex-Chat]13:17
-!- carogray [~Caroline@173-142-249-32.pools.spcsdns.net] has joined #webgui13:58
-!- carogray [~Caroline@173-142-249-32.pools.spcsdns.net] has quit [Quit: Leaving.]15:03
-!- Radix__ [quasselcor@203.161.71.161.static.amnet.net.au] has quit [Ping timeout: 260 seconds]15:21
-!- Radix_ [quasselcor@203.161.71.161.static.amnet.net.au] has joined #webgui15:24
-!- mode/#webgui [+v Radix_] by ChanServ15:24
-!- carogray [~Caroline@184-201-247-71.pools.spcsdns.net] has joined #webgui15:38
-!- carogray1 [~Caroline@173-101-178-251.pools.spcsdns.net] has joined #webgui16:11
-!- carogray [~Caroline@184-201-247-71.pools.spcsdns.net] has quit [Ping timeout: 240 seconds]16:12
-!- carogray [~Caroline@184-201-164-223.pools.spcsdns.net] has joined #webgui17:19
-!- carogray1 [~Caroline@173-101-178-251.pools.spcsdns.net] has quit [Ping timeout: 264 seconds]17:21
-!- carogray1 [~Caroline@173-125-51-11.pools.spcsdns.net] has joined #webgui17:37
-!- carogray [~Caroline@184-201-164-223.pools.spcsdns.net] has quit [Ping timeout: 240 seconds]17:38
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui18:26
-!- carogray1 [~Caroline@173-125-51-11.pools.spcsdns.net] has quit [Ping timeout: 260 seconds]18:43
-!- carogray [~Caroline@72-60-248-68.pools.spcsdns.net] has joined #webgui18:50
-!- carogray1 [~Caroline@173-125-127-35.pools.spcsdns.net] has joined #webgui18:58
-!- carogray [~Caroline@72-60-248-68.pools.spcsdns.net] has quit [Ping timeout: 260 seconds]19:01
-!- carogray1 [~Caroline@173-125-127-35.pools.spcsdns.net] has quit [Read error: Connection reset by peer]19:10
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Read error: Operation timed out]22:58
--- Day changed Mon May 16 2011
-!- carogray [~Caroline@dsl254-110-098.nyc1.dsl.speakeasy.net] has joined #webgui00:44
-!- waxhead [~pete@ppp121-45-197-46.lns20.cbr1.internode.on.net] has joined #webgui01:40
-!- Baub [~ilikegyro@cblmdm24-53-133-235.buckeyecom.net] has joined #webgui02:58
-!- Baub [~ilikegyro@cblmdm24-53-133-235.buckeyecom.net] has quit [Quit: Baub]03:49
-!- carogray [~Caroline@dsl254-110-098.nyc1.dsl.speakeasy.net] has quit [Quit: Leaving.]03:54
-!- carogray [~Caroline@dsl254-110-098.nyc1.dsl.speakeasy.net] has joined #webgui04:06
-!- andyiomoon [~andyiomoo@vpn246-8.cc.swin.edu.au] has joined #webgui04:16
-!- carogray [~Caroline@dsl254-110-098.nyc1.dsl.speakeasy.net] has quit [Quit: Leaving.]04:26
-!- andyiomoon1 [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui05:46
-!- andyiomoon [~andyiomoo@vpn246-8.cc.swin.edu.au] has quit [Ping timeout: 252 seconds]05:49
-!- carogray [~Caroline@dsl254-110-098.nyc1.dsl.speakeasy.net] has joined #webgui05:52
-!- andyiomoon1 [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Ping timeout: 260 seconds]05:54
-!- carogray [~Caroline@dsl254-110-098.nyc1.dsl.speakeasy.net] has quit [Quit: Leaving.]05:59
-!- carogray [~Caroline@dsl254-110-098.nyc1.dsl.speakeasy.net] has joined #webgui06:10
-!- carogray [~Caroline@dsl254-110-098.nyc1.dsl.speakeasy.net] has quit [Quit: Leaving.]06:16
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui07:58
-!- gugod [~gugod@114-32-222-155.HINET-IP.hinet.net] has quit [Ping timeout: 240 seconds]10:22
-!- gugod [~gugod@114-32-222-155.HINET-IP.hinet.net] has joined #webgui10:22
-!- ryuu_ro [~rory@D57D69B6.static.ziggozakelijk.nl] has joined #webgui11:23
-!- waxhead [~pete@ppp121-45-197-46.lns20.cbr1.internode.on.net] has quit [Quit: Ex-Chat]13:31
-!- carogray [~Caroline@dsl254-110-098.nyc1.dsl.speakeasy.net] has joined #webgui13:36
-!- carogray [~Caroline@dsl254-110-098.nyc1.dsl.speakeasy.net] has quit [Quit: Leaving.]13:44
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui14:19
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui14:59
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Client Quit]15:00
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui15:01
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui15:02
-!- mode/#webgui [+v BartJol] by ChanServ15:03
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Client Quit]15:03
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui15:04
-!- jimX11 [~jjm@n128-227-81-249.xlate.ufl.edu] has joined #webgui16:30
-!- jimX11 [~jjm@n128-227-81-249.xlate.ufl.edu] has quit [Client Quit]16:32
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Read error: Operation timed out]16:33
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui16:35
SDuensinGreetings.16:50
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has joined #webgui16:56
-!- mode/#webgui [+o pbcj] by ChanServ16:56
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Quit: Leaving.]17:12
-!- jimX11 [~jjm@ip98-180-60-146.ga.at.cox.net] has joined #webgui17:28
-!- ryuu_ro_ [~rory@D57D69B6.static.ziggozakelijk.nl] has joined #webgui17:45
-!- ryuu_ro_ [~rory@D57D69B6.static.ziggozakelijk.nl] has quit [Client Quit]17:45
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui17:46
-!- mode/#webgui [+v perlDreamer] by ChanServ17:46
-!- ryuu_ro [~rory@D57D69B6.static.ziggozakelijk.nl] has quit [Ping timeout: 246 seconds]17:47
-!- sbaur [~Adium@130.157.145.37] has joined #webgui17:57
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has quit [Quit: Leaving.]19:04
-!- mducharme-work [~nothing@206.188.121.4] has quit [Quit: Leaving.]20:11
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Ping timeout: 240 seconds]21:04
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui21:40
-!- cj_ [~cjac@adsl-207-32-169-17.rockisland.net] has joined #webgui22:28
-!- cj [~cjac@adsl-207-32-169-17.rockisland.net] has quit [Ping timeout: 276 seconds]22:28
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Ping timeout: 246 seconds]23:17
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Ping timeout: 260 seconds]23:32
--- Day changed Tue May 17 2011
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui00:04
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Client Quit]00:05
CIA-82webgui: Paul Driver master * rc1a2918 / (4 files in 4 dirs): fixed #12129: AdminBar calls canAdd as an object method - http://bit.ly/iuwgWG00:13
CIA-82webgui: Paul Driver webgui-7.9 * red2a50d / (4 files in 4 dirs): fixed #12129: AdminBar calls canAdd as an object method - http://bit.ly/kTijeG00:17
CIA-82webgui: Paul Driver webgui-7.9 * r0d66ad4 / t/Asset/Asset.t : Whoops. Monkey::Patch wasn't used. - http://bit.ly/lSSc0G00:17
CIA-82webgui: Paul Driver master * r4af2c84 / t/Asset/Asset.t : Whoops. Monkey::Patch wasn't used. - http://bit.ly/kQoC2H00:18
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has quit [Quit: Leaving.]01:13
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui02:05
-!- sbaur [~Adium@130.157.145.37] has quit [Quit: Leaving.]02:27
jimX11how can I generate a new session id?  This ain't it: $session->id->generate03:00
@scrottieare you calling the docs a liar?03:04
@scrottiewhat error do you get?03:05
@preactiondo you mean you want a new session?03:05
@preactionor just an ID?03:05
jimX11just an id03:05
jimX11well it could be me.03:05
@preactionthen yes, session->id->generate03:05
@scrottieI might guess that you have a $self but not a $session.  does the module load?03:05
jimX11Hmm.03:05
@scrottieis there anything in the mod_perl error log about this module?03:06
Haargwhat does generate give you that is different from what you are expecting?03:06
jimX11In a loop I'm generating ids using a session - maybe it's because I"m missusing a test session - and the id is the same on the second loop iteration.03:07
jimX11my $session = WebGUI::Test->session;03:07
@scrottiepaste the code around this loop into a gist.github.com gist?03:07
jimX11is my seesion.03:07
@scrottieor use +http://webgui.pastebin.com03:08
jimX11https://gist.github.com/97563603:08
Haargpastebin doesn't have subdomains like that anymore actually03:09
-!- targz [~gmac@heaton.plus.com] has joined #webgui03:09
jimX11the first iteration produces this webgui id "-fIlDviRwGlRqU5V1mtarw" and an insert is done.  The second iteration fails because the same webgui id is use.03:10
jimX11...and the db had a constraint forceing the webgui id to be unique.03:11
jimX11well, I made a test loop and that craeted new ids (just as the docs say).  So must be something in my loop.03:13
jimX11ok, session->id->generate is the right thing to use here.  Just checking my assumptions (because at least one of the is wrong).03:14
targzI'm planning a WebGUI deployment for later this year. Any idea when WebGUI8 might be released?03:16
targzI'd really like a Plack/PSGI-based version to work with.03:17
@scrottietargz, check out a copy now and test it.03:19
@scrottiethere are some architectual changes that still need to be made, it needs testing (including an official alpha test release), and there are some assets that haven't been updated for WebGUI 8 yet.03:20
targzI could test now but that doesn't help me plan my deployment. Is a rough timeframe taking shape or is it a way off yet?03:21
@scrottieregardless, even if you deploy 7 and let 8 settle a bit, it should be an easy upgrade if you haven't written any assets or content handlers yourself.  you should just be able to swap WebGUIs and run updates.03:21
@scrottiepreaction will have to speak to that.03:21
targzIt's more a case of trying out new server options with PSGI eg. Starman, nginx etc.03:22
@preactioni'm planning on the alpha in june. beta when i feel stable enough (not less than 2 months after alpha, during which time I'll be making the new WRE and some other stuff)03:23
@preactionnormal beta cycle rules apply from that point: 7.10 goes stable, 8 is new beta, some months pass, features added that didn't require API changes, 8 goes stable03:23
targzSounds like the back end of this year then. Good to have some idea. Thanks.03:23
@preactionas long as you write no custom code, the upgrade should happen as normal, though i'll get a feel for that in these coming weeks03:24
@scrottiea lot of this has to do with how brave you are.03:25
@preactionindeed03:25
@preactionbut with a full test run passing and every asset's edit form working, there's really nothing more to be done except release something to the universe03:25
@scrottiefwiw, we're stoked about Plack too.03:25
@scrottiehave those Test::Class tests seen the light of day any time recently?03:27
@preactioncrap, you're right. those don't get run with a normal run...03:28
@scrottiethey're too obnoxious.  but they might be worth running manually.03:28
targzWhere can I get WebGUI 8 source code? Can't see anything on the website.03:33
@preactionhttp://github.com/plainblack/WebGUI8 i think03:33
@preactionhttps://github.com/plainblack/WebGUI/tree/WebGUI8 <- nope, this03:34
jimX11thanks for the tips, the problem was in the method chaining.03:43
targzThe fie I downloaded is labelled ... v7.10.15 ... Is that the correct one?03:50
@preactiontargz: no, you need to clone the git repo and checkout the WebGUI8 branch03:50
targzRight. So it's a Git job.03:51
jimX11where can I read about adding a user via the command line?  Maybe something in /data/wre/sbin will help?04:00
@preactionwgd might be able to do it04:00
@preactionmaybe not. looks to only be able to test the security of passwords04:01
HaarguserImport.pl can do some user manipulation04:02
Haargit's kind of painful to work with though04:02
jimX11ok.04:04
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui04:22
-!- mode/#webgui [+v perlDreamer] by ChanServ04:22
-!- targz [~gmac@heaton.plus.com] has left #webgui []04:27
+perlDreamerwhat's the magic CPAN invocation to tell it just to install all these temporary modules needed for building other modules?05:17
@preactionEM_MM_USEDEFAULT=1 maybe? dunno05:26
@preactioncpanm maybe?05:26
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Quit: Ex-Chat]05:45
+perlDreamermmm, cpanm!05:48
Haargo conf build_requires_install_policy yes06:34
+perlDreamerthanks Haarg07:04
-!- elnino [~ninow@user-38q47pn.cable.mindspring.com] has joined #webgui07:30
elninohi. Is there a way to sort the items in a list that is generated by "thingy" - the drop lists when creating a new record, or searching for data are a weird order.07:30
@preactionno, but that might be an outstanding RFE07:32
elninook.  and is there a way for the search fields to be OR instead of AND? I'm getting two drop lists, and I HAVE to choose from both. I'm looking at the templates to see if I can add a "blank" row07:33
CIA-82webgui: Colin Kuskie master * r2ab9773 / lib/WebGUI/Shop/PayDriver/PayPal/ExpressCheckout.pm : Remove variables that were not being used. - http://bit.ly/kVFzeP07:34
CIA-82webgui: Colin Kuskie master * rd796412 / t/Asset/Story.t : Update Asset/Story.t for changes to exportGetRelatedAssetIds now exporting the container as well. - http://bit.ly/lQxBVA07:34
CIA-82webgui: Colin Kuskie master * raaa2d8e / t/Asset/Shortcut/010-linked-asset.t : Update shortcut exporting test for changes to exportGetRelatedAssetIds exporting the container by default. - http://bit.ly/kg9V4C07:37
jimX11well, I'm pullint the column names dynamically, but I can't get the template to show it because of that no-array-refs-only-hashes constraint.  Actually I pulled the column names and those aren't suitable for display. So I'll go back and add more meta data - the display name.07:53
elninoare you talk to me?07:54
+perlDreamerpreaction: heads up.  There's some intermittent bug in AssetLineage.t07:55
jimX11elnino:sorry wrong window.07:55
elninolol. that's ok. it kinda sounded related to what I was doing. =)07:55
@preactionperlDreamer: what happens?07:56
+perlDreamerhttp://www.webgui.org/use/bugs/tracker/1213007:56
+perlDreamersetRank fails to move an asset07:56
CIA-82webgui: Colin Kuskie master * re33c41b / t/Asset/AssetLineage.t : Add more tests around a test that fails intermittently in AssetLineage.t - http://bit.ly/kMt2zt07:58
@preactionjimX11: you should have a data structure that looks like this: columns => [ { name => 'name', label => 'Name' } ... ], rows => [ { row => [ { name => 'Value' } ... ] }, { row => [ { name => 'Value2' } ] } ] }07:58
@preactionthe DataTable asset does something like it, iirc07:58
@preactionperlDreamer: that has to be a recent happenstance. perhaps git bisect can help you?07:58
+perlDreamerI don't think it's recent, I think it's rare07:58
+perlDreamerand I can't duplicate it07:59
+perlDreamerbut I've got the test log that shows what'sup07:59
+perlDreamerif I hadn't had to spend the last hour fixing test failures from RFE's I may have never seen it even this time07:59
@pbcjHaarg, got that TT plugin working.  ended up like this: https://gist.github.com/975976  this way it can branch to a H::T08:00
CIA-82webgui: Colin Kuskie master * r669a071 / docs/create.sql : Preparing for 7.10.16 release. - http://bit.ly/iNOipy08:00
@pbcj[% USE SubTemplate; SubTemplate.process('/other-template') %]08:00
@pbcjthx for your assist on that08:01
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui08:02
jimX11preaction: the data escapes the hash requirement because it's an object.  Arrays of objects get past the H:T induced hash constraint.  Hmm, that's another solution, turn the array into an object, a simple object that has only a value method.08:03
@preactionH:T would choke on it, but since it's client code and not core code it doesn't matter what H:T does to it if you're using TT08:04
@preactionbut working with H:T means massaging the data into what H:T expects, even if that requires a few dozen map { } calls08:04
+perlDreamerpreaction, the new AssetProperty macro lets you pull any property from a macro without doing group checks08:08
+perlDreameris that legal?08:08
-!- elnino [~ninow@user-38q47pn.cable.mindspring.com] has quit [Quit: Leaving]08:08
+perlDreamerlet me try that again08:08
+perlDreamerpreaction, the new AssetProperty macro lets you pull any property from any asset without doing privilege checks08:08
@preactionperhaps ask the author if that's a requirement? i could go either way really08:10
+perlDreamerI'm probably just being paranoid again08:11
+perlDreamernever mind08:11
-!- Haarg [~haarg@haarg.org] has quit [Quit: Leaving]08:15
-!- Haarg [~haarg@haarg.org] has joined #webgui08:16
@scrottiebash needs the perl /x flag for commands.08:16
@scrottieor maybe I need to investigate perl shells.08:17
CIA-82webgui: Colin Kuskie master * rbba52dd / (4 files in 4 dirs): Ready for 7.10.17 development. - http://bit.ly/kU4WYy08:20
Haargthat assetproperty thing does seem dangerous to me.  allowing site admins direct access to the api like that seems nasty, in addition to the security issue due to the lack of group checks.08:24
jimX11preaction: I thought I could use just use a block like this { $_ => $_ } instead of { name => $_ } for map. But some columns aren't displayed (ids) and those have undef values.  So that's why { name => $_ } is better.  I ask because the data works, but just for one specialty table (needles).08:34
jimX11I ask because the data is displayed for the one specialty table, but the real tables may show cases that require what you suggest  rows => [{row => [ {name => ...(ack).08:36
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has quit [Quit: Leaving.]08:44
@preactionwait a minute. aren't files supposed to be included in packages?09:02
-!- ryuu_ro [~rory@D57D69B6.static.ziggozakelijk.nl] has joined #webgui09:02
@preactionthe actual file contents?09:02
@scrottiehrm.  I have in the past wgd package'd up pngs and moved them over.09:03
@scrottieI don't know in which cases that works... if it only works on File assets, or if it works on anything with a storageId, or what.  I'm guessing the illusion is imperfect.09:03
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui09:03
@preactionmaybe it's because these are collab posts and the attachments don't come with them?09:04
* scrottie waves to andyiomoon09:04
@preactionlike dataform entries don't come with the dataform09:04
@preactionnope, attachments are included with posts.09:04
@preactionwhy do i always have to find bugs when it's a data recovery emergency?09:05
@scrottieuh oh.09:05
@preactioni'm fine, i can get the data, it's just annoying09:05
@preactionthe package wouldn't import, had to do it three times, somehow repeating it make it eventually work09:05
@preactionbut the package didn't export any files... because the files weren't there because the assets were from the backup but the files were not09:06
@preactionso that's not a bug09:06
@preactionjust out of sync data09:06
@preactionbut having to import three times...09:06
@preactionmaybe because the storageId was there but there was no data?09:06
@scrottiecould be.09:07
@preactionit's 1:00am. i'm not going to go digging, but i will leave a note to dig tomorrow09:07
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Client Quit]09:08
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui09:08
@scrottie"my $storage  = $asset->exportPackage;" seems to be the heart of package building.09:08
@scrottieand importPackage() to import them.09:09
* andyiomoon doffs lid to scrottie09:09
@scrottieready for another exciting day, andyiomoon?09:09
andyiomoonboy am I!!!09:10
andyiomoonthat might have sounded a little too enthusiastic09:10
@scrottieenthusiasm often doesn't last ;)09:11
-!- jimX11 [~jjm@ip98-180-60-146.ga.at.cox.net] has quit [Quit: Leaving]09:12
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has quit [Ping timeout: 276 seconds]09:13
@preactionand for some reason tar didn't extract all the images correctly, or worse those images are missing...09:16
@scrottiehrm.  'info'/'debug' level logging is going to have to be retained, I think.09:16
@preactionmost definitely09:17
@scrottie(I can't remember right now what you wrote earlier)09:17
@preactionfatal needed to go away because all errors are potentially recoverable and logging an error should not include a die()09:18
@scrottieexceptions are just die.  if stuff isn't caught, it could be.  but yeah, commingling two ideas tends to cause confusion.  on the other hand, the I've seen a lot of code that is too eager to catch and blackhole errors.09:21
@scrottiethere's something nice about being able to turn debug volume to 11 when you're testing a failure scenario.09:22
@preactioni agree that people who over zealously catch errors deserve all the ill that befalls them (and more)09:23
-!- ryuu_ro [~rory@D57D69B6.static.ziggozakelijk.nl] has quit [Quit: ryuu_ro]10:09
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui10:23
-!- mode/#webgui [+v BartJol] by ChanServ10:23
@scrottiekill it with fire.10:41
-!- waxhead [~pete@ppp121-45-197-46.lns20.cbr1.internode.on.net] has joined #webgui10:58
-!- Radix_ changed the topic of #webgui to: [7.9.27-stable | 7.10.16-beta | WRE 0.9.3] Before you ask, check the wiki: http://wiki.webgui.org | Pastebin: http://webgui.pastebin.com12:54
-!- waxhead [~pete@ppp121-45-197-46.lns20.cbr1.internode.on.net] has quit [Quit: Ex-Chat]14:47
-!- jimX11 [~jjm@ip98-180-60-146.ga.at.cox.net] has joined #webgui14:59
-!- daviddelikat [~user@ppp-70-226-170-46.dsl.mdsnwi.ameritech.net] has quit [Read error: Connection reset by peer]15:21
-!- daviddelikat [~user@ppp-70-226-170-46.dsl.mdsnwi.ameritech.net] has joined #webgui15:54
jimX11wreservice.pl --restart modperl give a "FAILED!" message.  The log /data/wre/va\16:05
jimX11r/logs/modperl.error.log look normal "resuming normal operations" but modperl a\16:05
jimX11ppears to have not restarted.  What's another trouble-shooting step?16:05
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Quit: Leaving.]16:13
jimX11I'm guessing one of my modules fails to compile, but no mention of that in the log.16:17
+BartJoljimX11: sometimes I see a FAILED message, while actually modperl is fine16:26
+BartJolbut in yeurcase it doesn't look like it16:26
+BartJolI think yopu can adjust the log level16:27
jimX11BartJol: I'll adjust the log level and see if something turns up in the logs.  Thanks.16:27
+BartJolin the wre it is in modperl.conf in /data/wre/etc16:28
SDuensinOnly Tuesday!?  ACK!16:41
jimX11BartJol: The error was a syntax error in my module.  I need food in my belly.  That's the root cause.16:52
+BartJol:)16:53
+BartJolwell, bon appetit16:53
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has joined #webgui17:33
-!- mode/#webgui [+o pbcj] by ChanServ17:33
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui17:54
-!- mode/#webgui [+v perlDreamer] by ChanServ17:54
-!- sbaur [~Adium@130.157.145.37] has joined #webgui17:55
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has quit [Quit: Leaving.]18:09
-!- rizen [~rizen@71-87-113-102.dhcp.mdsn.wi.charter.com] has joined #webgui18:31
-!- mode/#webgui [+o rizen] by ChanServ18:31
+perlDreamerpreaction: got some action on the Data::Serializer::JSON bug report18:37
+perlDreamerthe author is hesitant to accept the patch, because the author of JSON provided the original18:38
@rizenhe's just the author of json, what does he know about it? =)18:38
+perlDreameroh sure, take his side!18:39
+perlDreamerwhat do you know about authoring large, popular software programs?18:39
@rizennothing18:40
@rizeni've only authored large unpopular programs18:40
@rizenmany times18:40
@rizen=)18:40
+perlDreamer4th times the charm!18:42
+perlDreamerokay, so if someone got up early and made you white chocolate pancakes with raspberry syrup, would you turn up your nose at it?18:42
@rizensounds awfully sweet. i'd say, throw that crap away and make me an omelet!18:43
@rizen=)18:43
+perlDreamerfrom now on, I'm only making the kids spaghetti with peanut butter and worchestershire sauce18:44
HaargperlDreamer, i think for the purposes of that Data::Serializer::JSON issue, using utf8 encoding and decoding would probably be the way to go19:08
@preactionhttp://www.webgui.org/use/bugs/tracker/12132 <- fun bug I found at 2:00am last night!19:09
+perlDreameroooohhhh, very evil!19:15
@preactionnow i just gotta find out why the frankenstein package i made completely blew up19:24
CIA-82webgui: Doug Bell WebGUI8 * r01b9d95 / lib/WebGUI/Asset/RichEdit.pm : fix RichEdit merge - http://bit.ly/klsoRP19:49
@preactionshould inheriting from WebGUI::Asset load WebGUI::Definition::Asset for you?19:52
@preactioni can reduce this Hello World asset by a line, and a confusing error19:53
@preactionnope, can't figure it out, i can't import it into the parent class, that doesn't seem to work right. i can't call init_meta myself, because it doesn't get the define() keyword I need20:06
jimX11lunch anyone?  Bean nachos.  Hmm.20:20
+perlDreamerpreaction, I did a little digging into that bug and I'm confused20:36
+perlDreamerwww_lock calls addRevision20:37
+perlDreameraddRevision creates a tag if it doesn't exist20:37
+perlDreameror if the parent doesn't have an open tag20:37
+perlDreameror if there's no autocommit workflowId20:37
+perlDreamerI mean, on the surface it looks fine20:37
@preactionshit21:07
@preactionshit shit shit21:07
@preactionthen i don't even know21:07
@preactioni was looking at 8, which does things differently21:07
@preactionthen i don't know what happened.21:10
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has joined #webgui21:26
+perlDreamerlater this week I'll try to write some tests, and let them do the talkin'21:40
-!- knowmad [~knowmad@adsl-070-148-067-249.sip.clt.bellsouth.net] has joined #webgui21:43
knowmadi need to add a reply-to header to emails sent via DataForm; is there a way to do that wihout creating a custom DataForm asset?21:45
@preactionknowmad: add it to the existing DataForm asset and send us a patch?21:46
@preactionthough, isn't there a global reply-to address in the settings?21:46
@preactionit has to be different than From:? 21:46
knowmadi didn't see one but let me check again...21:47
knowmadi would think that others would have run into this problem of emails getting rejected if you use the submitter's email address as the From field value; need a way to easily reply to the submitter without using their email in the From field21:48
@preactionbut yes, if it's not there, i approve the RFE21:49
knowmadwhen you say "global reply-to address in the settings", do you mean in the DataForm.pm definition?21:49
knowmadpreaction: there is a reply-to option in WebGUI::Mail::Send so adding a reply-to field in settings is easy21:51
knowmadunfortunately, i need to be able to populate that with a value from the dataform21:52
knowmadoh, wait, I should be able to do it the same way we handle from, subject, cc, etc21:52
@preactionyeah, that21:53
knowmadok, i'll submit an rfe and patch21:54
+perlDreamerit would probably be best to extend the default field set that's setup to add the Reply-To: Field in there21:55
-!- rizen [~rizen@71-87-113-102.dhcp.mdsn.wi.charter.com] has quit [Quit: rizen]21:57
jimX11I should escape $gui in this: $self->session->icon->edit('func=editRow;guid=$gui'); rigth?  And I can use the escape method from WebGUI::Session::Url 22:42
@scrottiehttps://github.com/miyagawa/Plack-Middleware-InteractiveDebugger22:42
+perlDreamerGUID's are URL safe, jimX1122:42
CIA-82webgui: Doug Bell WebGUI8 * r1f75069 / lib/WebGUI/Asset.pm : allow assetName to be a normal, non-i18n string - http://bit.ly/iN4By923:21
CIA-82webgui: Doug Bell WebGUI8 * r587d494 / (2 files in 2 dirs): add Template Toolkit plugins/extentions - http://bit.ly/muddFD23:21
CIA-82webgui: Doug Bell WebGUI8 * r72d32d6 / lib/WebGUI/Template/Provider.pm : clarify returning from try/catch - http://bit.ly/izQVWu23:28
knowmadperlDreamer: thanks for the input; i think that we're on the same page; i'm looking at adding a section to the defFieldConfig in definition()23:32
knowmad my expectation is that this would then add a new field to the data form23:32
@preactionyes, most likely23:33
knowmadon another topic, i need to integrate an external script into a WebGUI site23:33
knowmadthanks preaction23:33
knowmadit will take form input, process it and return output23:34
knowmadi'm looking for quick and maintainable (realizing that these may be mutually exclusive)23:34
knowmadideally, i'd like the output to be handled by a wG template; any suggestions? ideas?23:34
@preactioni'd say an asset, it would have to be23:38
@preactionparsing the output yourself and then giving it to a template23:38
knowmaddo i need a wobject or can i get by with a plain asset?23:39
knowmadBelieve it or not, I've never written one so I'm kinda looking forward to the opportunity23:40
@preactionwobject adds style templates, so you probably want a wobject23:40
@preactionwish i had 8 out, i'm writing a presentation right now about HelloWorld asset and a simple DBIx::Class wobject23:41
knowmadyeah, we probably do; now to learn about wobjects ;)23:41
knowmaddo you have an ETA on the release of 8?23:41
@preactioni'm planning on an alpha next month. a beta when pb.com and wg.org are settled and stable23:42
@preactionalpha will be like a beta cycle, only with an alpha name and not stopping 7.9 stable dev23:42
knowmadexcellent23:44
@preactionanyone care to comment on the state of the 8-apps presentation so far? http://preaction.github.com/WebGUI/8-apps.html23:53
HaargperlDreamer, re Data::Serializer::JSON, have you tried using it with utf8 encoding turned on for both encode and decode?23:55
+perlDreamerno, I just used what we use internally23:55
+perlDreamerfrom_json and to_json23:55
+perlDreamerwhich the docs say will handle UTF8 correctly23:55
--- Day changed Wed May 18 2011
Haargif you are storing it in a text column yes00:01
Haargfrom_json is the same as JSON->new->decode()00:01
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui00:01
Haargif you store the data in a blob or something binary, letting JSON do the encoding/decoding is fine00:03
+perlDreamerI think part of the problem is that we don't know what it's going to be stored as00:23
+perlDreamerthe backend could be anything00:23
+perlDreamerso, for context, I came across that when I tried to use CHI, with Fast_MMAP, with JSON as the serializer00:24
+perlDreamerthe site that was using it had smart quotes, which all broke with JSON as the serializer00:24
+perlDreamerworked fine with Storable, but the original version of Storable was writing stuff that it couldn't read00:25
+perlDreamerso the site would throw a 500 error00:25
Haargfor things like that, having it not encoded is probably wrong, but due to perl internals probably works anyway00:25
Haargi think for a cache system you should probably always be assuming the backend is dealing in bytes00:26
+perlDreamercurrently it's encoding asymmetrically00:26
Haargyeah, with something like fastmmap though, it probably just goes directly to the internal representation00:26
Haargwhich just happens to be utf8ish00:26
Haargand so it round trips correctly by luck00:26
+perlDreamerhm00:27
Haargi could be wrong about that, but i think what is needed is to encode and decode both with utf8 on00:27
+perlDreamerso you would s/JSON->new->decode($_[1]);/JSON->new->utf8->decode($_[1]);/00:27
Haargfor the caching thing yes00:27
jimX11$session->url returns a WebGUI::Session::Url object.  Can I get the url of the session using that?  I want the url to use as the form value of the action attribute.00:30
+perlDreameryou'd use the URL of the asset for that00:30
+perlDreamer$self->getUrl00:30
jimX11thanks00:30
+perlDreamerif you every really did want the page url from the session, $session->url->page00:31
-!- SquOnk [~emhn@186.93.207.12] has joined #webgui00:35
SquOnkGreetings.00:35
-!- cj_ [~cjac@adsl-207-32-169-17.rockisland.net] has quit [Ping timeout: 252 seconds]00:36
+perlDreameryo, SquOnk00:36
SquOnkNeed a hint. This site has many polls, however the "current" poll should be on the main page. They're using a Shortcut to the current poll.00:36
-!- cj [~cjac@adsl-207-32-169-17.rockisland.net] has joined #webgui00:37
+perlDreamerwhat defines "current"?00:37
SquOnkThey want people to vote, but instead of going to the poll page to see the results, they want the results to be displayed in the Shortcut.00:37
+perlDreamersorry00:37
SquOnkperlDreamer: Whichever one they shortcut and paste in the main page.00:37
+perlDreamerthat's an Asset focus problem00:37
+perlDreamerwhen they vote, you go into the Asset00:37
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Read error: Operation timed out]00:38
SquOnkExactly. I told them that. Is there any way to prevent that?00:38
+perlDreamerchange the Poll to submit ajax?00:38
+perlDreamerand pull data via AJAX?00:38
+perlDreamerI'm pretty sure the ajax submit can happen with just a template change00:38
+perlDreamerbut pulling the data can't00:38
SquOnkperlDreamer: Haven't done that.00:39
+perlDreamerunless you forced a page reload or something00:39
+perlDreamerSquOnk, there are lots of examples of making AJAX requests in WebGUI00:41
+perlDreamerand if a JS-hating bigot like me can do it, then esteemed university professors can do it too00:41
SquOnkperlDreamer: Oh, but I'm not doing it.00:42
SquOnkperlDreamer: *They* are doing it.00:42
+perlDreamerah00:42
+perlDreamerit would be a cool RFE to add a real AJAX API to the Poll00:44
-!- knowmad [~knowmad@adsl-070-148-067-249.sip.clt.bellsouth.net] has quit [Ping timeout: 248 seconds]00:46
+perlDreamerpreaction, re 8-presentation, have you had time to check out the InnoDB migration code?00:50
@preactionit is not part of the upgrade yet, no00:50
* SquOnk wonders about the Pg-based version00:53
+perlDreamerSquOnk, we're just waiting for your patches :)00:54
SquOnkperlDreamer: :)00:54
+perlDreameractually, there have been a couple of different people who have asked about that now00:55
+perlDreamerand a db agnostic way of running wG would make the demo system very easy00:55
+perlDreamersomething that is SQLite backed, for example00:55
SquOnkperlDreamer: "db agnostic" implies DBIx::Class00:56
+perlDreamerno, it implies working with lots of other database backends00:56
+perlDreamerconverting WebGUI to DBIx::Class would be about the same amount of work, or more, than converting it to Moose00:56
+perlDreamerthat was close to two years00:56
@preactionit wouldn't have to be DBIC though00:56
SquOnkperlDreamer: By using DBIx::Class, you can use any database supported by Perl, even those that aren't databases (like DBD over CSV files or Excel worksheets :-)00:57
+perlDreamergoing through all the SQL to make sure it works with Postgres I think would be a smaller task00:57
+perlDreamerSquOnk, I'm sold on the concept00:57
+perlDreamerTotally think we should go with some kind of ORM00:57
-!- knowmad [~knowmad@99-112-245-79.lightspeed.chrlnc.sbcglobal.net] has joined #webgui00:57
+perlDreamerbut that's a different concept than making sure wG's current SQL works on pG00:57
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has quit [Read error: Connection reset by peer]00:59
CIA-82webgui: Chris Hanson master * r75c86a6 / www/extras/yui-webgui/build/map/map.js : Map: moved point at which hideLoading occurs to avoid potential bug. - http://bit.ly/iYl6y801:08
-!- knowmad [~knowmad@99-112-245-79.lightspeed.chrlnc.sbcglobal.net] has quit [Ping timeout: 246 seconds]01:10
CIA-82webgui: Graham Knop tt-asset-plugin * rd1f93b8 / lib/WebGUI/Template/Plugin/Asset.pm : add Asset template plugin (+1074 more commits...) - http://bit.ly/iCpBOG01:11
CIA-82webgui: Chris Hanson webgui-7.9 * r1b16d70 / www/extras/yui-webgui/build/map/map.js : Map: moved point at which hideLoading occurs to avoid potential bug. - http://bit.ly/iiZorz01:14
jimX11i have a package using a base of WebGUI::Asset::Wobject.  If I pass func=foo, then the method www_foo is called, I think.  But it doesn't seem to be.  The view method seems to be called still.01:31
CIA-82webgui: Doug Bell WebGUI8 * r72667d0 / lib/WebGUI/FormBuilder/Role/HasObjects.pm : add process() sub for FormBuilder - http://bit.ly/inwbRk01:31
+perlDreamerjimX11, check for syntax errors in the www_foo func, the webgui.log file tells all01:39
jimX11ok01:39
jimX11it was a syntax error.  I'm avoiding syntax errors from here on.  I'm a syntax-vegan from here on.01:48
-!- SquOnk [~emhn@186.93.207.12] has quit [Quit: Yippie kay-ai-yay, fudder muckers!]01:58
@scrottiejimX11, you are keeping an eye on your modperl error log, right?02:12
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has quit []02:25
-!- sbaur [~Adium@130.157.145.37] has quit [Quit: Leaving.]02:26
jimX11well, I can't figure it out.  02:36
jimX11maybe I incorrect case?  This should send it to www_editRow: ?func=editRow; 02:37
jimX11I put tracer messages in the view method and in the www_editRow method.  Only the tracer text in view is in the log.02:38
jimX11perlDreamer: Looking for some error in my package that causes ?func=foo to not go to www_foo, I threw the baby out with the bath water and removed all code from the package except 4 methods, view view_foo  definition (it's a subclass of WebGUI::Asset::Wobject)and prepareView.  I restarted modperl and still ?func=foo runs the view method (the view method is just 1 line return "hello world").04:15
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui04:24
jimX11I even removed use directives applied to my other packages.04:31
+perlDreamerI have no idea05:10
+perlDreamerwhen I visit /home/untitled?func=foo05:11
+perlDreamerI get the output of the foo method05:11
+perlDreamerif you were to go to /home?func=foo05:11
jimX11oh05:11
jimX11yea05:11
+perlDreameryou'd be trying to get foo from the layout containing the untitled asset05:11
+perlDreamerremember, layouts ALWAYS show the view method of their child assets05:11
+perlDreamerif you want to call a method directly on a child asset, you hve to use ITS url instead05:12
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Read error: Operation timed out]05:23
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui05:24
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has quit [Read error: Connection reset by peer]05:40
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Read error: Connection timed out]05:44
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has quit [Quit: Leaving.]05:45
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui05:48
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Ping timeout: 246 seconds]06:37
-!- andyiomoon1 [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui06:52
-!- andyiomoon1 [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Client Quit]06:53
-!- Netsplit *.net <-> *.split quits: jimX1107:09
-!- Netsplit over, joins: jimX1107:12
-!- jimX11 [~jjm@ip98-180-60-146.ga.at.cox.net] has quit [Quit: Leaving]07:16
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Ping timeout: 252 seconds]08:11
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui08:21
-!- ryuu_ro [~rory@D57D69B6.static.ziggozakelijk.nl] has joined #webgui10:02
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui10:30
-!- mode/#webgui [+v BartJol] by ChanServ10:30
-!- waxhead [~pete@ppp121-45-197-46.lns20.cbr1.internode.on.net] has joined #webgui12:00
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui13:43
-!- carogray [~Caroline@173-100-163-224.pools.spcsdns.net] has joined #webgui15:00
-!- gugod [~gugod@114-32-222-155.HINET-IP.hinet.net] has quit [Ping timeout: 252 seconds]15:11
-!- gugod [~gugod@114-32-222-155.HINET-IP.hinet.net] has joined #webgui15:30
-!- knowmad [~knowmad@adsl-070-148-067-249.sip.clt.bellsouth.net] has joined #webgui16:00
-!- carogray [~Caroline@173-100-163-224.pools.spcsdns.net] has quit [Ping timeout: 246 seconds]16:26
-!- fokat [~lem@66.0.48.131] has joined #webgui17:07
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has joined #webgui17:12
-!- mode/#webgui [+o pbcj] by ChanServ17:12
-!- ryuu_ro [~rory@D57D69B6.static.ziggozakelijk.nl] has quit [Quit: ryuu_ro]17:16
SDuensinGreetings.17:25
@pbcjmorn'17:30
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has joined #webgui17:44
-!- targz [~gmac@heaton.plus.com] has joined #webgui17:52
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui17:53
-!- mode/#webgui [+v perlDreamer] by ChanServ17:53
targzNeed help getting WebGUI8. Have git cloned the repo and 'git checkout WebGUI8'. What next?17:53
targzDon't see any app.psgi file 17:54
+perlDreamerit's /data/WebGUI/app.psgi17:57
+perlDreamerwell, or whereever you installed WebGUI, in the top level directory17:57
-!- jimX11 [~jjm@n128-227-81-249.xlate.ufl.edu] has joined #webgui17:57
targzno /data17:58
+perlDreamerwhere did you install WebGUI?17:58
targzIt was a git clone, not a download17:58
+perlDreamerall right, where did you clone WebGUI?17:59
targzI was prev. advised to clone the git repo17:59
targzcloned into webgui directory17:59
@preactionso it should be webgui/WebGUI/app.psgi no?17:59
@preactionwhere's the lib directory? app.psgi should be in the same directory as lib and README and a few other files18:00
+perlDreamerapp.psgi is in the git repo18:00
@preactionalso, you might be interested in http://preaction.github.com/WebGUI/8-apps.html18:00
+perlDreamerdefinitely18:00
targzall I see is asset_status.ods, docs, etc, lib, sbin, t, var, www18:00
targzlib contains Spectre, WebGUI, WebGUI.pm18:01
+perlDreamergithub says it's in there: https://github.com/plainblack/webgui/tree/WebGUI818:01
-!- sbaur [~Adium@130.157.145.37] has joined #webgui18:02
targzNot the URL I used18:02
@preactionwho did you clone from?18:02
targzhttps://github.com/preaction/webgui.git18:02
targzMaybe explains it18:02
@preactionyeah, that's out of date18:02
+perlDreameroh, that's not the right place18:02
@preactionbut you can fix that easy18:02
targzWhy is that the main URL listed on GitHub then?18:03
@preactiongit remote rm origin; git remote add origin git@github.com:plainblack/webgui.git18:03
@preactionuh... it should not be, where is it listed?18:03
targzLink from here: https://github.com/preaction18:04
@preactiontargz: i have a personal fork of WebGUI, but WebGUI's main repo is in the Plain Black organization18:05
targzAnyway, I have the correct URL now so thanks.18:08
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui18:08
-!- mode/#webgui [+o bopbop] by ChanServ18:08
-!- targz [~gmac@heaton.plus.com] has left #webgui []18:11
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui18:42
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has quit [Quit: Leaving.]18:43
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has quit [Quit: bye]19:12
-!- rizen [~rizen@69.71.243.242] has joined #webgui19:13
-!- mode/#webgui [+o rizen] by ChanServ19:13
-!- mode/#webgui [-o rizen] by pbcj19:21
-!- BugSlasherMcGurk [~rizen@69.71.243.246] has joined #webgui19:32
-!- mode/#webgui [+o BugSlasherMcGurk] by ChanServ19:32
-!- rizen [~rizen@69.71.243.242] has quit [Ping timeout: 246 seconds]19:35
-!- BugSlasherMcGurk is now known as rizen19:35
-!- mode/#webgui [-o rizen] by pbcj19:45
-!- mode/#webgui [-o+o pbcj rizen] by preaction19:46
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has left #webgui []19:46
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has joined #webgui19:46
-!- mode/#webgui [+o pbcj] by ChanServ19:46
-!- fokat [~lem@66.0.48.131] has quit [Ping timeout: 258 seconds]20:31
-!- fokat [~lem@66.0.48.131] has joined #webgui20:36
+perlDreamerif only paypal sandbox testing had frequent purchaser points...20:49
SDuensinWhat?  PayPal?20:50
SDuensinPlease tell me you're making a decent PP driver.  :-)20:50
+perlDreamerdepends on what you mean by "decent"20:51
SDuensinOne I can sell subscriptions to a group with.20:51
+perlDreamerit would help if it was more straight-forward on how to do that20:52
+perlDreamerwith PayPal Standard, you can only buy one subscription at a time20:52
+perlDreamerwith Express, there's a whole bunch of hoops, and you're still limited in the number you can buy at a time20:52
+perlDreamerI think it's twelve20:52
+perlDreamerITransact doesn't have any of those limitations20:54
SDuensinBut ITransact is expensive as hell.20:56
SDuensinAnd they're a PITA with all their questions about what you're going ot sell, how much it'll cost, yadda yadda yadda - and then if you deviate from that you have to start all over again!20:57
+perlDreamerexpensive?  PayPal charges 9% for transactions21:03
+perlDreamerITransact, last time I checked, charged 3% plus a monthly fee21:03
SDuensinOn my volume, they're expensive.  :-P21:04
@scrottieMaybe you need to set up a ccbill payment driver.21:06
@scrottieThey specialize in recurring payments.21:07
+perlDreamerfor better or worse, people are going to demand paypal21:08
SDuensinPayment solutions suck.21:08
+perlDreamerindeed21:09
+perlDreamerthe reason that I now know so much is that we had a customer come and ask for recurring payments with PayPal21:10
SDuensinYea.  ME!  :-P21:10
+perlDreameroh no, there was another21:10
* scrottie watches a while(...) { $asset->purge } run. always makes ya a little nervous...21:10
@scrottieone guy was in here using WebGUI in the industry that ccbill caters to.21:11
-!- rizen [~rizen@69.71.243.246] has quit [Quit: rizen]21:11
SDuensinI had looked at ccbill.  Forgot why I didn't mess with them.  May have been impatient that day.  Those services like to hide their rates.21:12
@scrottieIf customers have questions or complains, ccbill makes it easy to get a live operator.21:14
@scrottieI interviewed with ccbill but their lawyers decided that they couldn't legally hire me =)21:14
SDuensinOh yea?  That's nice.21:14
SDuensin!??!21:14
-!- cj [~cjac@adsl-207-32-169-17.rockisland.net] has quit [Ping timeout: 260 seconds]21:15
-!- cj [~cjac@adsl-207-32-169-17.rockisland.net] has joined #webgui21:15
+perlDreamerSDuensin, scrottie told you that they make it a point of making it easy to get to a live operator21:36
+perlDreamerand scrottie metabolic status is in question21:36
SDuensinhehe21:37
@preactionWebGUI 8 is officially capable of running plainblack.com22:03
@preactionthe upgrade worked without a hitch, though it took about 20 minutes, and the site works22:03
+perlDreamerhelpdesk22:03
+perlDreamerkarma gifter22:03
@preactionnot migrated yet22:03
+perlDreamerthe whole 9 yards?22:03
@preactionworking on it22:03
@preactionbut the WebGUI 8 core works22:03
+perlDreamergood work!22:03
+perlDreameris it beautiful?22:03
+perlDreameris it blindingly fast?22:03
@preactionit is beautiful. it is not blindingly fast, but my laptop is not a production environment22:04
@pbcjit's no lie, I saw it22:05
@preactionso, now to blog about this, my presentation, and yay!22:05
SDuensinWG8 and PayPal in the same day?  You guys are an evil tease!22:20
@preactiondeal with it, tough guy22:22
SDuensin:-P22:23
* SDuensin REALLY needs PayPal subscriptions. Not being able to sell those is keeping his new service offline!22:23
+perlDreamerSDuensin, you must not really want it that badly, otherwise you'd write it yourself22:25
* perlDreamer knows that you can wield an editor22:25
SDuensinI can, but I've been up to my eyes in other editors.22:26
knowmadI need some advice. I'm trying to implement a random background image (via CSS) into the homepage for a site such that when the page refreshes a random image is displayed22:33
knowmadI have this working great using content profiling or even  the random asset proxy22:33
knowmadhowever, if i'm not logged in, webgui is caching the image and only refreshing about once a minute22:34
@preactionjavascript, i'd say22:34
knowmadis there any way around this in webgui? 22:34
@preactionor ads22:34
knowmadohh, i like that idea22:34
@preactionads keep rotating, bypassing the burst cache22:34
knowmadthought javascript may be easier to manage22:35
knowmadok, good ones!22:35
knowmadthanks22:35
CIA-82webgui: Doug Bell WebGUI8 * rb1a5276 / lib/WebGUI/Command.pm : do not buffer command output - http://bit.ly/lTXRrz23:19
CIA-82webgui: Doug Bell WebGUI8 * re5012d3 / lib/WebGUI/Command/upgrade.pm : App::Cmd options are normalized to lower-case - http://bit.ly/merv9h23:19
@scrottieis this another instance of page layouts caching for guests?23:20
@scrottieI have a test-less, doc-less fix for that somewhere.23:20
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Read error: Operation timed out]23:22
--- Day changed Thu May 19 2011
+perlDreamerscrottie, that's exactly what it is00:00
+perlDreamerMaybe we should change it from hardcoded, to setting a cache timeout for visitors on the layout, like we do with other assets00:01
+perlDreamerthen, in 8, we make it a Role00:01
-!- SquOnk [~emhn@186.93.207.12] has joined #webgui00:11
SquOnkGreetings.00:11
+perlDreamerhowdy SquOnk00:13
SquOnkperlDreamer: I have a template question today.00:13
SquOnk(customers trying to do strange things)00:14
+perlDreameras customers can sometimes be wont to do00:14
SquOnkYeah, well.00:14
SquOnkIt's like this:00:14
@scrottieyeah, that's what the patch is.  configurable cache timeout for guests.00:14
SquOnk(let me login to a webgui installation to use the English names)00:14
SquOnkperlDreamer: They've added a Gallery and set Default View to List Albums00:15
SquOnkperlDreamer: Now, they are working on the Template to List Albums. They want that template to show every photo of every album.00:16
@preaction(which reminds me that was a mistake. Album should be able to stand alone)00:16
SquOnkperlDreamer: After a quick glance at the Template Help, I suggested something along the lines of...00:16
SquOnk<tmpl_loop albums>...<tmpl_loop file_loop>... (use photo vars here) ... </tmpl_loop> ... </tmpl_loop>00:17
SquOnkBut it doesn't work.00:18
-!- kthakore [~kthakore@li136-101.members.linode.com] has joined #webgui00:18
kthakorehi scrottie 00:18
@preactionit won't, the list albums screen doesn't get the file list00:18
@preactionit'd take forever to generate all that00:18
+perlDreamerright, read the template variable help00:18
+perlDreamerone cannot randomly pick and choose template variables from various templates, mix them in, and expect them to work00:19
SquOnkpreaction, perlDreamer: So, what would you suggest.00:19
@preactionto really fix the Gallery: Album goes away, use Folder instead. Photo goes away, adds its features to Image.00:19
+perlDreamerthat won't fix it00:19
@preactionYou could AssetProxy() the albums in00:19
@preactionit's a start. people really just want Folders00:20
+perlDreamerthat might fix it, but then you have to change the template everytime a new album is added00:20
@preactionthat could be overcome fairly simply, adding a folder would be a function of the Gallery which would set the right template00:20
SquOnkWe suggested an Album for lack of a better option for what they're trying to do.00:20
@preactionthey want folders of images, no?00:20
@preactionwith the features that Gallery provides: resolutions, comments, EXIF, etc...00:21
SquOnkpreaction: They can *get away* with what they want using them, I reckon.00:21
@preactionin that case, Albums are what they want, but in order to get the actual files, you'd either need a custom Gallery subclass, or some kind of AssetProxy setup00:21
SquOnkpreaction: They want to build a fancy JS scroller with the front pages of every section of every newspaper each day.00:21
SquOnkpreaction: So, they are using a Gallery to hold everything, an Album for each newspaper, and a Photo for each section front page.00:22
SquOnkpreaction: They only need to show the image. They won't be using any of the EXIF properties.00:22
@preactiona navigation and AssetProxy maybe?00:23
@preactionFolders to organize the Images, a Navigation to display the JS scroller, and AssetProxy to put the image inside the scroller00:23
@preactionnot sure if that's worse or not00:23
@preactionthough a Nav should work just as well using Gallery as the container00:24
SquOnkpreaction: The Navigation will make it impossible for them. They see Navigations as some kind of ju-ju white man's magic thing.00:24
@preactionso the Navigation shows the JS scroller of the Gallery00:24
@preactionit just lists a bunch of assets, which is what they want00:24
@preactionotherwise a custom gallery subclass overriding view_listAlbums to add the album files would work00:25
+perlDreamerDon't photos have isHidden hardcoded?00:25
@preactionnavs can ignore isHidden00:25
SquOnkI think it's just a plain Folder.00:26
SquOnk...of Folders.00:26
@preactionthen you'd definitely want a navigation. you can't reach inside the folders that a folder is listing00:26
SquOnkA folder of dates in ISO format, with Folders for each newspaper, holding the images for the front pages.00:26
SquOnkpreaction: Yep.00:26
@preactionfor the JS bit i mean, otherwise it's perfectly navigable00:26
@scrottieoh, hey kthakore00:27
@preactioni wish i could tell you there was a JS service you could use, but you don't get that until 800:27
SquOnkpreaction: Their JS thing just wants a bulleted list, so yes.00:27
@preactionyeah, should work great00:27
SquOnkpreaction: All right. Let me see how can I explain that to them so their ears don't start bleeding.00:28
@preactioni wonder sometimes about replacing most of our asset classes with prototypes, then i take my prozac00:28
kthakorescrottie: :p took a while but I won't hold it against you00:29
@preactionwe don't need a forum, we could use folders of articles!00:29
SquOnklol00:29
@preactiona forum is a navigation into a set of folders of articles00:29
@scrottiekthakore, yeah, I'm an IRC slob.  I'm running irc-II for crying out loud.00:29
@preactioncould seriously do some crazy stuff with just Layout, Folder, Article, Template, Navigation, File/Image00:30
@preactionoh, right, and a JS interface to work with the lot00:31
-!- cj_ [~cjac@adsl-207-32-169-17.rockisland.net] has joined #webgui00:32
-!- cj [~cjac@adsl-207-32-169-17.rockisland.net] has quit [Ping timeout: 260 seconds]00:32
@scrottiekthakore, have you seen http://search.cpan.org/~gphat/Graphics-Primitive-0.60/lib/Graphics/Primitive.pm ?  preaction showed that to me.00:33
@scrottiepluggability is a nice feature.00:34
kthakorescrottie: a little yeah00:34
kthakorebut haven't used it00:35
kthakoreor preused it in detail00:35
kthakoreIt interfaces with http://search.cpan.org/~gphat/Graphics-Primitive-Driver-GD-0.01/00:36
kthakoreso that can't be bad00:36
kthakorehi preaction, scrottie made me wander in here with treats. 00:37
@scrottiessh.  don't tell people I'm dispensing candy.00:37
@preactioncookies?00:40
@scrottiego away.  the van is full.00:40
-!- knowmad [~knowmad@adsl-070-148-067-249.sip.clt.bellsouth.net] has quit [Ping timeout: 260 seconds]00:55
-!- cj_ [~cjac@adsl-207-32-169-17.rockisland.net] has quit [Ping timeout: 248 seconds]00:57
kthakorecan't compile ImageMagick Perl module01:04
@scrottieare you a Debian user?01:04
-!- cj [~cjac@adsl-207-32-169-17.rockisland.net] has joined #webgui01:04
@scrottieif so, do you have the dev versions of the library installed?  libmagickcore-dev it might be01:05
kthakoreyeah01:10
kthakoreI have that01:10
kthakoresome mmx instruction problems again01:10
* kthakore pathces01:10
@scrottienot surprised but thought I'd double check.01:10
kthakorecrap still problems01:13
kthakoresigh01:13
-!- fokat [~lem@66.0.48.131] has quit [Ping timeout: 258 seconds]01:14
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Quit: Leaving.]01:21
kthakoreoh wow ImageMagick is so broken 01:22
kthakorehttp://search.cpan.org/~jcristy/PerlMagick-6.67/01:23
kthakorenewest versions only fails01:23
@scrottieI would guess that an antique version would work.  hrm, I have 6.5.8 here.01:26
kthakoreok01:26
kthakoredoing a manual01:28
kthakore cannot find -lperl01:29
kthakorewtf ...01:29
@scrottieare you running 5.14?  if so, Image::Magick was one of the things that wouldn't build against it.  tragically, DBD::mysql was another.01:31
@scrottie(when I tried it)01:31
@scrottieDBD::mysql was easily fixed though01:32
-!- fokat [~lem@66.0.48.131] has joined #webgui01:34
kthakore5.12.201:36
kthakorewow why won't this compile01:38
kthakorejeez today is not my day01:38
kthakorefirst house gets broken into then nothing works01:38
+perlDreamermaybe they broke perl while they were in there01:39
kthakoreperlDreamer++ LOL I needed that01:39
-!- fokat [~lem@66.0.48.131] has quit [Ping timeout: 258 seconds]01:44
jimX11where in webgui8 can I find an example of WebGUI::FormBuilder using addField("Guid", ...) ? 01:45
-!- SquOnk [~emhn@186.93.207.12] has quit [Quit: Yippie kay-ai-yay, fudder muckers!]01:53
jimX11I'll just hide it using $f->addField("hidden", name => "Guid", value => $guid);01:54
+perlDreamerif you set the name to guid, will that still match what DBIx::Class expects?01:55
kthakorescrottie: my error now says it can't find -lperl01:56
kthakorewhich is so weird01:56
@scrottiehrm.  if you have a perlbrew perl, that's not entirely unsurprising.02:02
jimX11perlDreamer: No it won't.  I'm reading WebGUI::Form::Guid02:02
@scrottiewhich build system is Image::Magick using so that I can avoid that build system in the future?  I'm just kidding.  ExtUtils all the way.02:03
@scrottiefix is build system dependant but quick fix is to just edit the Makefile and correct the LIBS line02:03
kthakore..02:04
@scrottieto do -L wherrever your prewbrew'd libs dir is02:04
kthakorewhich libs though?02:04
kthakoreI can't find the libperl.so02:04
kthakoreall I see is libperl.a02:04
@scrottiehuh, perlbrew might not have built you one.02:04
@scrottieshould still work.02:04
@scrottie -L/whatever/ -llibperl  should find an .a or .so02:04
@scrottieassuming /whatever/ actually contains one of the two.02:05
kthakoreright02:05
@scrottiethe build system should have extracted perl's own libs directory from the perl itself but you can f just about anything up in software.02:06
@scrottieI guess if you really want to cut to the chase, you can do /home/kthakore/lib/or_whatever/libperl.a right in the LIBS= line02:06
kthakoredid t/usr/bin/ld: /home/kthakore/.perl5/perls/current/lib/5.12.2/x86_64-linux/CORE//libperl.a(op.o): relocation R_X86_64_32S against `PL_sv_yes' can not be used when making a shared object; recompile with -fPIC02:08
kthakoresigh02:08
kthakoreeven the dist perl is giving me trouble02:08
kthakoreok so Image::Magick going away needs to happen a lot02:09
kthakoreheh02:09
@scrottieI take issue with putting entire perl installs inside . directories.02:09
@scrottieand I don't know what "relocation R_X86_64_32S" is.02:10
@scrottiebut it kind of suggests that 32 bit and 64 bit code are being linked together, which ain't gunna happen.02:10
+perlDreamerthat's worse than mixing chocolate and peanut butter!02:11
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has quit [Read error: Connection reset by peer]02:12
* scrottie frowns02:17
+perlDreameryay! successfully talked to PayPal!02:18
@scrottie7.9.13 ... looking at a DataForm... couldn't figure out how to view what was constructed... eventually went and looked it up in the content designers guide.  says that the default view (I'm an admin) should have an 'Add a field' link in a bar that I recognize as not having that.  ack'd for 'Add a field'; found it in the i18n files.  then ack'd for the identifier used in the i18n files and got 0 hits.  searched templates in the database, ditto.02:19
+perlDreameryou have to be in admin mode02:20
@scrottieguess I should read the git log...02:20
@scrottiethank perlDreamer.02:22
@scrottiewould it be redundant to add that to the docs?02:23
@scrottieer, the wiki page..?02:24
-!- preaction_ [~preaction@li79-149.members.linode.com] has joined #webgui02:26
-!- sbaur [~Adium@130.157.145.37] has quit [Quit: Leaving.]02:26
-!- Netsplit *.net <-> *.split quits: vayde, @preaction02:32
-!- knowmad [~knowmad@rrcs-70-60-108-89.midsouth.biz.rr.com] has joined #webgui02:36
-!- Netsplit over, joins: vayde02:39
-!- knowmad [~knowmad@rrcs-70-60-108-89.midsouth.biz.rr.com] has quit [Read error: Connection reset by peer]02:39
-!- carogray [~Caroline@173-100-163-224.pools.spcsdns.net] has joined #webgui02:40
-!- knowmad [~knowmad@rrcs-70-60-108-89.midsouth.biz.rr.com] has joined #webgui02:43
+perlDreamerscrottie, I think it'd be fine02:48
-!- knowmad [~knowmad@rrcs-70-60-108-89.midsouth.biz.rr.com] has quit [Ping timeout: 264 seconds]02:50
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui03:04
-!- carogray [~Caroline@173-100-163-224.pools.spcsdns.net] has quit [Quit: Leaving.]03:14
-!- knowmad [~knowmad@rrcs-70-60-108-89.midsouth.biz.rr.com] has joined #webgui03:17
jimX11html from the method toHtml from WebGUI::FormBuilder looks odd.  Maybe I'm not using it properly.  The html had a form followed by table rows and table data tags, but no starting table tag or ending table tag.03:20
-!- knowmad [~knowmad@rrcs-70-60-108-89.midsouth.biz.rr.com] has quit [Ping timeout: 248 seconds]03:28
@scrottiefeel free to a paste the code of how you're using it into a gist.03:36
jimX11my $f= WebGUI::FormBuilder->new($session);03:37
jimX11    $f->addField("Integer",03:37
jimX11               name => 'gauge',03:37
jimX11               value => 55,03:37
jimX11               label => 'Gauge',03:37
jimX11       );03:37
jimX11$f->toHtml03:38
jimX11and out comes html like this:03:38
@scrottieoh, naughty programmer03:38
@scrottiepaste your code into http://gist.github.com and then tell us the URL.03:38
jimX11k03:39
@scrottiehrm, trying that snippet there in a mini test program, I'm not seeing that.03:42
@scrottieno table goop, at least.  it doesn't close the <form>.  not sure if it is is supposed to.  haven't touched formbuilder in a while.03:43
jimX11https://gist.github.com/97992703:44
jimX11it does close the form03:44
jimX11but I doesn't render properly I think because of the missing table starting and ending tags.03:45
@scrottiehttps://gist.github.com/97992803:45
@scrottiejives with the synopsis.03:47
jimX11thanks, I'm doing something incorrectly, again.03:47
@scrottiehmm?  mine didn't work right either.03:48
jimX11oh?  I'm still looking  at it and my code ....03:49
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has quit [Read error: Connection reset by peer]03:51
jimX11One point that might be the cause, I'm using  WebGUI::FormBuilder from verion 8 but the site it runs on is running  7.9.14.03:52
jimX11I pulled in 8 packages from WebGui 8 into 7.9.14.03:54
jimX11By pulled, I mean just copied them from lib/WebGUI/FormBuilder in a git check out to the 7.9.14 site.03:55
jimX11scrottie: yea, no closing form on yours, maybe it's just a human cut-n-paste error (assuming your human).04:04
jimX11your=you're (my bad)04:11
-!- knowmad [~knowmad@99-112-245-79.lightspeed.chrlnc.sbcglobal.net] has joined #webgui04:16
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has quit [Quit: Leaving.]04:31
@scrottieuh... 04:42
@scrottiethat requires qualification beyond "FormBuilder isn't working"04:43
kthakorehi scrottie 05:06
kthakorearound?05:06
@scrottieyup05:06
@scrottiesup?05:06
kthakoreI am having a real big problem with Image::Magick can I ignore that for the rest of WebGUI install?05:06
jimX11scrottie: thanks.05:06
@scrottiehrm.  hmm, hmm, hmm.  you can comment it out in a few places, run tests, and note which tests fail (they would fail when they try to create an instance of the Image::Magick object but the use lines were commented out)05:08
@scrottieso you'd be replacing it with something else without having it as a reference.  but that's not impossible.05:08
@scrottiestill, if the only problem is some library linking thing, that kinda puts it in Linux turf, not even ImageMagick or Perl build system turf.05:08
@scrottieI should also note the idea of replacing it isn't trivial05:11
kthakoreyep notice that05:11
@scrottieit gets used to crop images, rotate them, make thumbnails... nothing too serious but uses of it are littered around05:11
-!- knowmad [~knowmad@99-112-245-79.lightspeed.chrlnc.sbcglobal.net] has quit [Ping timeout: 252 seconds]06:15
-!- ThePing [~phycho@174.127.64.107] has joined #webgui06:21
-!- ThePing [~phycho@174.127.64.107] has left #webgui []06:21
jimX11I've never used a post with a get at the same time.  Will that work?  the get part is where the url had 'func=foo' which is in the action of the form, but the form uses POST.  Maybe instead the func=foo should just be a hidden variable?06:26
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Ping timeout: 240 seconds]06:52
@scrottieit isn't a POST and GET at the same time... you're only doing one or the other... and you'd be doing a POST in this case.  yes, you can do a POST to a URL with a ?foo=bar on the end of it.07:08
@scrottieand it usually works correctly but the server does have a chance to botch it07:08
@scrottieclassic ASP distinguishes whether data arrived in the body or as a parameter on the URL07:09
jimX11scrottie: what does WebGUI do?07:09
@scrottiedoes not distinguish between the two07:09
@scrottiemixing them together.07:09
jimX11I think Firefox is inserting the td and tr junk.  So mixing works, ok.07:09
@scrottiethat sounds unlikely.07:10
@scrottieyou can always 'warn' the output of FormBuilder and read it at the console07:10
jimX11yea, the tr's and td's are in text from a simple test.07:12
jimX11I think it's the mixing of 8 and 7.9.14.  Also my git check out of 8 was a bit stale I found out.07:12
@scrottieyou haven't fixed that problem?07:13
jimX11I haven't found out why there are td's and tr's in the html from the toHtml method, no.07:13
jimX11but, I've noticed another problem, that may be related.  The form doesn't do anything when I hit the submit button.07:14
@scrottieI think you really want the latest WebGUI 8 code here07:15
jimX11Ok.  I'll copy over the updated files I just got from git.07:15
jimX11using subversion I can do a "svn status" what is the equivalent in git?  So I know what version I'm using.07:16
jimX11sorry, I meant the equivalent of "svn info"07:17
@scrottieI don't remember svn07:20
@scrottieyou might try 'git status' though07:21
@scrottiewhat info do you want out of git?07:21
jimX11I want to know what "version" of webgui 8 I have. 07:22
@scrottiegit itself doesn't do version... it hash commit hashes07:23
@scrottieso there's two ways to do that.  you can speak in terms of the hash of the last commit you see in 'git log', or you figure do 'git tag' and see what tags there are07:24
@scrottieman git-tag07:24
jimX11ok07:24
@scrottieI don't think things in the WebGUI 8 branch have been tagged07:25
@scrottieso you'll just get a lot of 7.x.x tags07:25
@scrottiefor 8, you'll have to speak in terms of hashes until there's an alpha and then beta07:25
jimX11just did git tag, right lots of 7.x.x branches.  How can I see the hash I'm currently using?07:25
jimX11oh, git log is what you said.07:27
jimX11that works.07:27
@scrottietags just take you to a particular commit hash07:27
@scrottiewhich represents a point in history07:27
@scrottie'git tag' lists them.  you can check one out, then you'll be on that tag.  you can create new tags.  that's all I know about that.07:28
jimX11a little like a branch in subversion.  or a tag in cvs.07:28
jimX11git log was what I wanted.  Thanks.07:28
@scrottiekind of.  git has a few things going... it also has branches.07:29
@scrottietags aren't the most used git feature...07:29
jimX11FormBuilder has had some changes recently according to the log, using the latest version might help.07:29
-!- jimX11 [~jjm@n128-227-81-249.xlate.ufl.edu] has quit [Quit: Leaving]08:19
-!- ryuu_ro [~rory@D57D69B6.static.ziggozakelijk.nl] has joined #webgui09:00
-!- andyiomoon [~andyiomoo@vpn246-17.cc.swin.edu.au] has joined #webgui09:37
-!- andyiomoon1 [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui09:41
+Radix_I'm still yet to learn git properly - but these might be handy - http://progit.org/book/ and http://mislav.uniqpath.com/2010/07/git-tips/09:42
-!- andyiomoon [~andyiomoo@vpn246-17.cc.swin.edu.au] has quit [Ping timeout: 260 seconds]09:42
+Radix_Ahh... silly me.. he's no longer here anyway09:57
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui10:20
-!- mode/#webgui [+v BartJol] by ChanServ10:20
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui14:24
kthakoremorning14:47
-!- jimX11 [~jjm@n128-227-81-249.xlate.ufl.edu] has joined #webgui15:26
+BartJolmorning15:39
jimX11BarJol:howdy15:44
-!- vayde [~vayde@67-4-141-90.mpls.qwest.net] has quit [Read error: Connection reset by peer]15:51
-!- SquOnk [~emhn@fuhrer.ldc.usb.ve] has joined #webgui15:51
SquOnkGreetings.15:51
SquOnkI'm changing the Display Template for an Asset Report. I started out with the Default, and the Assets I want are there.15:51
SquOnkThe Assets have some metadata properties I want listed in the report.15:51
SquOnkAccording to the Template Help, inside the asset_loop I can use asset_info to get access to the particular Asset's info.15:52
SquOnkI thought of using it to access the metadata fields, but it didn't work.15:52
SquOnkI started looking at the code in AssetReport.pm and I can't find any references to the asset_info field. Maybe I'm missing something?15:53
-!- vayde [~vayde@67-4-141-90.mpls.qwest.net] has joined #webgui15:53
SquOnkIn any case, how can I access the metadata fields of an Asset that's listed by an Asset Report?15:53
+BartJolisn't that included with extraHeadTags?16:00
SquOnkBartJol: My *own* metadata fields? How would I go about fetching them? extraHeadTags.name-of-my-field?16:02
+BartJolmmm, maybe not, sorry, bit short on time, as I get bugged by australians16:04
SquOnkBartJol: Thanks anyway :-)16:05
SquOnkAnd I have to go to class in 20 mins.16:05
+BartJolgive or follow?16:05
SquOnkBartJol: Give.16:12
SquOnkBartJol: Actually an exam.16:12
SquOnkBartJol: 20%16:12
SquOnkWell, the code in AssetReport.pm is calling WebGUI::Asset->get on each Asset included in the report.16:13
SquOnkAs far as I can see W::A->get does not return the metadata field.16:13
SquOnkSince the metadata fields are available on every template (and, in fact, the Report metadata fields *are* available), I think an indirection is needed.16:14
SquOnkOtherwise, I'm unable to use the metadata fields of Assets listed by an Asset Report.16:14
SquOnkWould that be a bug or an RFE?16:15
SquOnk'cause it's the current show-stopper for production :-)16:15
SquOnkWell, gotta go. I think there's a quick fix for it, and perhaps will try later.16:16
+BartJolI'm afraid it is an RFE, 16:16
SquOnkHopefully preaction_ will read the backlog.16:16
SquOnkBartJol: I can see it both ways.16:17
SquOnkBartJol: Thanks for your time. I've got to go pick up the exams at the Department.16:17
SquOnkSee you guys later.16:17
-!- SquOnk [~emhn@fuhrer.ldc.usb.ve] has quit [Quit: Yippie kay-ai-yay, fudder muckers!]16:17
-!- andyiomoon1 [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Quit: Leaving.]16:29
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui16:35
kthakorescrottie: morning. Around?17:01
SDuensinMorning at last!  I get to work this morning, and just as I reach the gate, they CLOSE THE BASE!  Arrgh!17:13
-!- knowmad [~knowmad@adsl-070-148-067-249.sip.clt.bellsouth.net] has joined #webgui17:16
jimX11How does WebGUI::Test know where the config file is?  I have a $session from WebGUI::Test, but it doesn't know where the config is.  Is it an environmental variable?17:19
+BartJolI believe you set that first in your env, I seem to recaal something like that17:19
jimX11I want to do this from a test: $session->config->get('dsn');17:19
+BartJolbut it is a year ago17:20
jimX11BartJol: ok.17:20
jimX11BartJol: yea, that's it.  WEBGUI_CONFIG17:20
+BartJolthat one17:21
+BartJolmy memory stills works!!!!!!!!!17:21
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui17:24
-!- mode/#webgui [+v perlDreamer] by ChanServ17:24
jimX11BartJol: fault tolerant memory, sweet.17:31
-!- ryuu_ro [~rory@D57D69B6.static.ziggozakelijk.nl] has quit [Quit: ryuu_ro]17:32
kthakoreIs anyone trying webgui8 from git? I am getting a weird error runing the server.17:32
jimX11I pulled it from git, but I'm not running it from git.  Is it a git pull question?17:36
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui17:42
kthakorejimX11: no17:42
kthakorejimX11: I set it up just how the README mentioned17:42
kthakoreI used the etc/WebGUI.conf.original as the configuration with wgd17:43
kthakorethen I copied the www/examples to the domain... so on17:43
kthakorebut I am getting this error when I run it with plack17:43
kthakoreCan't use string ("") as a subroutine ref while "strict refs" in use at /home/kthakore/.perl5/perls/perl-5.12.2/lib/site_perl/5.12.2/Plack/App/URLMap.pm line 7117:43
jimX11kthakore: while you might get git help from me, you won't get any useful plack from me.  Sorry.17:49
kthakorejimX11: can you get webgui8 running ?17:54
+BartJolmmm, too long ago I installed that17:55
jimX11kthakore: no, I'm sort of backporting a package from webgui8 to webgui7.  So my only work with webgui8 is pulling package from it and puttin them in 717:55
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has joined #webgui17:55
-!- mode/#webgui [+o pbcj] by ChanServ17:55
kthakoreok17:55
kthakorewell it is seriously broke17:55
* kthakore hunts the plack interfaces17:56
kthakorepreaction_: around?17:56
+perlDreamer'tis a little early for preaction_17:56
+perlDreamerstatistically speaking of course17:56
kthakoreok17:58
kthakorehmm17:58
kthakoresigh found it17:59
kthakoreunmet deps17:59
kthakorenope great ... w/e18:00
+perlDreamerdid you run the testEnvironment.pl script to check for dependencies?18:02
kthakoreyeah18:02
+perlDreamerand it missed the dependency?18:02
kthakoresome how18:02
kthakoreHTML::Template::Expr Geo::Coder::Googlev318:03
kthakoreI am checking my logs18:03
kthakoreI think I might have closed the terminal by accident18:03
kthakoreanyway it still doesn't fix the server problem18:03
+perlDreamerHTML::Template::Expr is supposed to be optional, but I think it's actually not since you have to load WebGUI::Asset::Template::HTMLTemplateExpr18:06
+perlDreamerand Geo::Coder::Googlev3 is required and is checked by testE18:06
kthakoreHere is my stack output http://paste.scsys.co.uk/10556418:09
+perlDreamerwow, so core WebGUI 8 requires Devel::StackTrace and a bunch of others?18:29
+perlDreamernormally those things are made optional for developers18:29
+perlDreamerbunch == 2...18:29
kthakoreperlDreamer: I give up for now ... gonna work on something else. If you are trying webGUI8 can you let me know if it works for you?18:31
+perlDreamersure, I'll do that after i get through depenedency problems18:32
kthakoreoh have fun with that ... that took me a while 18:32
+perlDreamerha! done18:32
+perlDreamerwhen I run plackup app.psgi18:32
+perlDreamerI get no errors/warnings or anything18:32
+perlDreamerhm, but there are CSS based rendering problems with the Underground style18:34
kthakoreaw man18:39
kthakorecan you tell me how you set it up?18:39
kthakorewhat config file do you use?18:39
+perlDreamerI have a standard one that I use for all my development18:39
+perlDreamerthe the URL Mapping should be autogenerated18:39
+perlDreamercheck to see if you have any bad config files in /data/WebGUI/etc18:40
-!- knowmad [~knowmad@adsl-070-148-067-249.sip.clt.bellsouth.net] has quit [Ping timeout: 260 seconds]18:40
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has quit [Quit: Leaving.]18:40
-!- mode/#webgui [+o preaction_] by ChanServ18:45
-!- preaction_ is now known as preaction18:46
kthakoreok18:50
kthakoreperlDreamer: where is /data/WebGUI I mean18:50
kthakoreI just run it in the git dir18:50
+perlDreamerlast I checked, WebGUI still had to be run out of /data18:51
kthakorehttp://paste.scsys.co.uk/10556718:52
kthakoreoh!18:52
kthakoreI need to move it ot /data ?18:52
kthakoresigh so I have to run it as root?18:52
+perlDreamerpreaction, is that still true?  Is WebGUI locked into /data/?18:52
@preactionperlDreamer: 8 isn't, WebGUI::Paths gets rid of it18:56
+perlDreamerokay18:56
+perlDreamerany clue as to this wackiness of kthakore's about null plackurl maps?18:57
CIA-82webgui: Colin Kuskie master * r5229413 / (docs/changelog/7.x.x.txt lib/WebGUI/Shop/Cart.pm): -0.00 ne 0.00. Handle both cases of ~0 when checking out to intercept and finish the transaction immediately. - http://bit.ly/jZW23s18:59
CIA-82webgui: Colin Kuskie webgui-7.9 * r436c894 / lib/WebGUI/i18n/English/PayDriver_ExpressCheckout.pm : Fix copy/paste errors from other i18n modules into ExpressCheckout. - http://bit.ly/iNCDaU19:00
CIA-82webgui: Colin Kuskie webgui-7.9 * r8750b18 / (docs/changelog/7.x.x.txt lib/WebGUI/Shop/Cart.pm): -0.00 ne 0.00. Handle both cases of ~0 when checking out to intercept and finish the transaction immediately. - http://bit.ly/iALKt619:00
@preactionno, i'd say try to run the test suite and see what happens19:00
kthakoreok19:01
@preactionthere are a few tests that go through the entire process19:01
jimX11kthakore: do you have root access?  If so, maybe just link /data to your 8 repo?19:01
kthakorejimX11: yeah I was trying that19:01
kthakorepreaction: um do I just do prove -t for the tests?19:02
@preactionyes, after setting the WEBGUI_CONFIG env variable to the webgui config file19:02
@preactionor you could get wgdev and do "wgd test"19:02
kthakoreok19:03
* jimX11 never used the -t flag in prove.19:03
kthakorewhat should WEBUI_CONFIG point to?19:03
@preactionthe webgui config file you created19:03
kthakoreetc/WebGUI.conf.original ?19:03
kthakoreI was trying to run the example provided19:04
@preactionno, you need a copy of that config file with dsn, dbuser, and dbpass set correctly19:04
+perlDreamerah, that would explain it19:05
kthakoreok19:06
-!- mducharme-work [~nothing@206.188.121.4] has joined #webgui19:07
kthakoreis it possible to use postgreSQL instead of MySQL?19:07
@preactionprobably not19:09
kthakoreok19:12
kthakorewhere is the mysql .sql I should load ?19:12
@preactionfor 8, share/create.sql19:12
@preactionfor 7, docs/create.sql19:12
kthakoreah that is why19:13
* kthakore facepalms19:14
kthakoreok thanks19:14
@preactionkinda weird error message for that though. perhaps we need to trap it somehow...19:14
kthakoreindeed19:14
@preactionoh. now i get it. there were no config files that app.psgi recognized to load site.psgi into the mapper19:14
@preactionso somehow a "" got put in there, and then treated as a subref19:15
kthakorewell it is with $script_name19:15
kthakoreparameter to the Middleware19:15
kthakorewhat is the default config filename webgui looks for?19:15
@preactionthere is none19:15
kthakorehmm what about just throwing a missing config file HTML content19:16
@preactioneach site needs its own config file, so it checks a directory19:16
@preactionyeah, that's gonna be the most likely scenario "No config files, bailing out"19:16
@preactionor "Cannot connect to database, bailing out"19:16
jimX11WebGUI::Form::Combo adds _new when a new option is picked.  Any way to turn that off?  DBIx::Class takes handles update or insert for me.19:17
@preactionprobably not, you'll just have to filter it a bit for now19:18
jimX11ok19:18
kthakoreor /win 219:34
kthakorepreaction: the create.sql I used seems to be missing a coloumn for one of the tables, based on the test. Also a lot of the tests are failing due to that reason. 19:37
kthakorehttp://paste.scsys.co.uk/10557019:37
kthakoreshould I add that coloumn?19:37
kthakoreUnknown column 'privacyFields' in 'field list'19:37
kthakoreomfg I still get the same error. The DB is set up and everything!19:41
* kthakore cries19:41
carograyHi all, is the only asset in WebGUI that has RSS - collaboration system - I have never understood Thingy but Thingy looks like a way we could present all court forms and users could search by form name, number, title, court where form is used, updated/revision date etc.19:41
carograyThingy doesn't have RSS feed does it?19:42
+perlDreamernope19:45
+perlDreamerSyndicated Content has RSS feeds19:45
+perlDreamerGallery has RSS feeds19:45
+perlDreamerbut not Thingy19:46
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Ping timeout: 246 seconds]19:46
kthakoreI guess I should take a break now ... been trying this for too long19:47
carograyhuh - is syndicated content ...like collaboration system?19:47
+perlDreamernope19:47
carograygiven my description of need for searchable database of forms what would  you suggest would be the best approach?19:47
+perlDreamercarogray, the Content Manager's Guide wiki on webgui.org covers most of the Assets19:47
carograyok19:47
+perlDreameroh, I'd go Thingy all the way19:48
+perlDreamerespecially if you use 7.1019:48
+perlDreamersince Thingy can use the WebGUI Search, instead of just its own built in one19:48
carograywhat about "publishing" 19:48
carograyso other sites could update their forms based on our database?19:49
+perlDreamerThingy has an AJAX interface for remote access, but you may run into privilege problems with it19:50
+perlDreamerthat would require writing a bunch o' JavaScript, of course19:51
carograyok - just wondering... the first step is to get the database and then maybe down the line we can figure out how to publish. will keep in mind your suggestions to pass along to someone more erudite in these matters than yours truly.19:55
+perlDreamerwell, you know that if you need extra programming, support, javascripting,templating etc. that Plain Black would be happy to help out.19:56
+perlDreamerthere's only so much you can do via an IRC channel19:56
carograyright - thanks so much.19:57
@preactionkthakore: right, because create.sql is the un-upgraded sql (because 8 has not technically been released)20:03
@preactioncreate.sql is built by our build process, and since there hasn't yet been a build of 8, it's 7.10.15 (the last merge i did)20:03
@preactionbut that's easy: sbin/webgui.pl upgrade --doit --skipBackup20:04
kthakoreugh it wants me to be superuser20:14
kthakoresigh20:14
+perlDreamerkthakore, that's usually due to write permission on the log file, or the uploads directory20:17
+perlDreamerlog file is chosen in WebGUI/etc/log.conf20:17
+perlDreameruploadsPath is in the WebGUI config file itself20:18
@preactioni think upgrade explicitly checks for superuser20:18
+perlDreamerisn't there a switch for that?20:18
@preactionperhaps, webgui.pl help upgrade might show it20:18
+perlDreamer--override in upgrade.pl20:18
+perlDreamerno idea about webgui.pl20:19
+perlDreameryou know, when you release 8, I'm going to be pretty useless20:19
@preactionwhy?20:19
+perlDreamerwell, so much has changed and I've either forgotten it or haven't learned it yet20:20
+perlDreamerlike WebGUI::Paths20:20
+perlDreamerwebgui.pl20:20
+perlDreamerplack20:20
+perlDreamerthat's probably just the tip of the iceberg20:20
kthakoreI mangaged it20:20
kthakoreI ran the upgrade 20:20
kthakorebut there is no change to share/create.sql20:20
+perlDreamer<insert quote re Yoda and taking students who are too old>20:20
@preactionit doesn't change create.sql, it changes the site's databases20:21
@preactionthe idea being that during development, create.sql + upgrade = bleeding edge version (so we can test the upgrade)20:21
kthakoreah ok20:21
@preactionwgdev's build tool would create the create.sql20:22
+perlDreamerthat's something else we need to double check before the release, is the wgdev build process20:23
+perlDreamerand that's not going to be simple, since it'll have to work for both 7.x and 8.x for a while20:23
+perlDreamermaybe it won't be too bad20:25
+perlDreamerrelease wg8 will need a functional 8.x codebase though, while 7.x can use the bundled wgd20:26
+perlDreamerHaarg, I had a case the other day where wgdev needed Try::Tiny.  It doesn't seem to be bundled.20:26
+perlDreamerthis was a 7.7 install, so it didn't have it installed for core requirements20:26
kthakoreHow do I tell webgui to use my conf file when I start it in plackup?20:29
@preactionapp.psgi loads all the configs20:30
kthakoreright I get that20:31
kthakoreI have a WebGUI.conf file20:31
kthakoreI set that to WEBGUI_CONF and run plack20:31
@preactionin the same directory as WebGUI.conf.original?20:31
kthakorenow I do20:32
kthakoreIT WORKS!20:32
kthakoreok great!20:32
kthakorenow to see how to swap out Image::Magick for GD/Cairo/Graphics::PRimitives20:33
+perlDreamerImage::Magick is used by...20:35
+perlDreamerAsset/Image, Storage, Asset/File/GalleryFile, Asset/File/GalleryFile/Photo, 20:35
+perlDreamerImage.pm and sub-classes20:35
+perlDreamerthose are the places to check20:36
kthakoreperlDreamer: great thanks. I was thinking of refactoring out Image::Magick out to WebGUI::Graphics first 20:38
kthakorethen start swapping out Image::Magick there20:39
+perlDreamerhm, we're trying to avoid wrapper classes like that nowadays20:39
+perlDreamerthey almost cause more problems than they're worth20:39
+perlDreamerfor example, we don't wrap Plack::Response or Request, we sub-class and extend them20:39
+perlDreamerinstead of wrapping CHI, we just use it directly20:39
@preactionGraphics::Primitive should be the wrapper class, is what i think20:40
+perlDreamerwill it dispatch to others?20:40
@preactionthen we can provide a way to configure it from the config file20:40
@preactionyes, Graphics::Primitive supports drivers for GD and Cairo/Pango20:40
@preactionno support for IM yet, but if it did, then everyone could get everything20:40
@preactionthough making WebGUI::Graphics use Graphics::Primitive would be fine to start20:41
kthakoreI didn't plan on keeping WebGUI::Graphics around20:42
kthakoreI wanted to ensure everything is in one place to handle first20:42
kthakorethen I can experiment with GD/Cairo easily20:42
kthakorewhat do you think?20:42
@preactionah, mais oui20:42
@preactionsounds a good plan20:42
kthakoreok I will have my results on github soon.20:43
kthakorebtw I seem to have lost the admin page :(20:43
kthakorecan't find the turn admin on link20:43
@preactiondid you login?20:44
@preactionif I'm reading this correctly, we can use Thingy to create DBIx::Class::Result objects http://www.modernperlbooks.com/mt/2011/05/testing-dbix-models-without-the-database.html20:48
+perlDreamerwhat's the advantage of that?20:49
@preactiona single, unified interface to both DBIC objects and Thingy data20:50
+perlDreamerbut who is using DBIC in WebGUI?20:51
@preactionjimX11?20:51
+perlDreamerhm20:51
+perlDreamerthat would be a complete refactoring of that new asset, wouldn't it?20:52
@preactionand my idea that the website should be able to have a bunch of schemas, including content-manager-created ones20:52
+perlDreamerI mean, are you proposing slaving the Thingy to these DBIC schemas?20:52
@preactionnot slaving, co-existing20:52
+perlDreamersounds like something we should keep in mind for the 8.x rework of Thingy :)20:53
@preactionexactly20:53
kthakoreyeah I logged in20:57
@preactiontry ?op=admin then?21:03
kthakoreyeah tried that21:06
kthakoreno luck21:06
kthakorethe log shows21:07
kthakore Could not load WebGUI::Macro::AdminBar because Can't locate WebGUI/Macro/AdminBar.pm in @INC (@INC contains: lib t/lib 21:08
kthakorethere is no AdminBar ... in lib21:08
@preactionhm.. it shouldn't be trying to21:12
@preactionand that shouldn't prevent the page from loading, anything else in there?21:12
+perlDreamerAdminBar is still in WebGUI.conf.original21:14
kthakorein the log?21:14
+perlDreamerso any newly generated conf file will have them, too21:14
kthakorepreaction: I have to get. Nothing in the log after I comment out AdminBar21:17
@preactionchange etc/log.conf "ERROR" to "INFO" and try again maybe?21:17
@preactioni'll fix the AdminBar problem21:17
+perlDreamershould probably check for other outdated entries in there21:20
@preactionalready did21:21
CIA-82webgui: Doug Bell WebGUI8 * raf2abb7 / etc/WebGUI.conf.original : fix outdated macros in conf.original - http://bit.ly/lQWcGY21:21
jimX11preaction: I'm on a conf call ...21:52
kthakorepreaction: thanks22:12
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has quit [Ping timeout: 246 seconds]22:16
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui22:17
kthakorepreaction: http://paste.scsys.co.uk/10557522:23
+perlDreamerthat looks like the upgrade may not have run successfully22:29
+perlDreamerrunning the upgrade should remove all instances of the AdminBar macro from all templates22:32
jimX11preaction: I'm all ears, if you need my ear.22:32
@preactionyeah, and install the template that newById is looking for22:32
@preactionjimX11: no, i was telling perlDreamer that you were using DBIC in WebGUI22:32
jimX11preaction: ok22:33
-!- SquOnk [~emhn@186.93.207.12] has joined #webgui22:53
SquOnkGreetings22:53
+perlDreamerwhat's shakin', SquOnk?22:54
* perlDreamer goes running.22:56
SquOnkpreaction: Did you read the backlog this morning?23:21
@preactionno23:21
* scrottie was out... doctors appointment (I never do that...)23:27
@preactionSquOnk: that's an RFE, and it should be a single line change. let me find where it would be23:27
@scrottiekthakore, you didn't run upgrades.23:28
@scrottiekthakore, if the install instructions are wrong, I want to know about it.  if you just didn't read them, uh, that's a different matter.23:28
@scrottieI told you to read the install notes twice and then repeated that particular bit of it too.23:29
@preactionSquOnk: 175 of lib/WebGUI/Asset/Wobject/AssetReport.pm push(@{$var->{'asset_loop'}}, { %{$returnAsset->get}, %{$returnAsset->getMetaDataAsTemplateVariables} });23:29
@preactiontest it out, put it in a patch, and we'll include it23:29
SquOnkpreaction: That's what I patched :-)23:31
SquOnkpreaction: Will test and RFE tonight. I believe it will make it into 7.10, but NOT into 7.9, right?23:31
@preactioncorrect23:31
SquOnkpreaction: Good. It's a one line patch, so my customer can live with that.23:32
SquOnkpreaction: One question, though.23:32
SquOnkpreaction: If I understand correctly, that will bring the Asset Metadata properties *only* in the asset_loop scope, thus shadowing the Asset Report's metadata fields. Am I right?23:33
@preactioninside the loop, yes23:33
@preactionif you used a TT template, you could get around that23:33
SquOnkpreaction: Good.23:34
SquOnkpreaction: Works like a charm, my friend.23:38
@preactionsweet23:38
@scrottiepreaction:  RFC:  WebGUI8 should automatically run any outstanding upgrades when launched, to keep people like myself and kthakore from failing to correct run upgrades and make upgrading it as easy as doing a git pull / restart.23:38
@scrottiecorrectly23:38
Haargit currently doesn't know which upgrades have been run because it keeps track of that by version number23:39
@scrottieright.  if the version number of WebGUI doesn't match the version in the database, it needs to run upgrades.23:40
@scrottieso, rephrasing, should automatically run upgrades when launched if db and code version don't match23:40
Haargyeah, but that won't handle the case you mentioned, because doing git pull wouldn't change your version number23:41
@scrottieWebGUI8 doesn't have releases yet.  is that the only problem?  even then, it would notice that 7.10.x ne 823:41
@scrottiedevelopers will have to deal with this until 8 starts getting subversions.23:42
@preactionyes, which is soon23:42
@scrottieexcept for that pesky first-8 run23:42
Haargif you are developing on 8, then your db version is already at 823:42
@preactionor we could even just bail out if the db version and the code version don't match23:42
@scrottieHaarg, unless you loaded the create.sql that comes with 823:42
@scrottiethat's an option too, but I'm imagining this streamlined auto-update feature so that we're not plagued with pathologically antique .dpkgs23:43
Haargbut in that case you know that upgrades are needed23:43
@preactioni worry about doing things automatically that could destroy sites if done wrongly or unnecessarily23:44
Haargif you are already importing create.sql, just change your process to also do an upgrade23:44
@preactionwgd reset does exactly that, even23:44
@scrottiehow about this.  if your versions don't match, it asks you for credit card number, takes out a large life insurance policy on you, and then emails the Russian mafia.23:44
@preactionchange that to email me, and you've got a deal23:44
@preactioni do desperately need a new fur coat23:44
Haargi think having the psgi bail out of the version numbers don't match would make sense23:44
* scrottie nods23:45
@scrottieokay.23:45
Haargwell maybe not bail out23:45
Haargbut do something23:45
Haargbecause when you are upgrading you want it to be able to show the maintenance page23:45
@scrottiewe could do an environment variable... WEBGUI_VERSION_OVERRIDE23:45
SquOnkpreaction: There you go, RFEd23:46
@preactiondanke, SquOnk 23:46
@scrottiedefault to failing on startup on mismatch but allow override23:46
@scrottiepeople could always change the version in the db too.23:46
Haargthis is something that server admins will have to deal with often though, so making it annoying would be bad23:47
@scrottieif the versions don't match, it should be a matter of running upgrades.23:48
Haargalternatively, have it store the current version in settings all the time and show the maint page based on that23:48
@scrottieI wanted to do that automatically =P23:48
@scrottiethe maint page needs a "turn admin on!" link.23:48
@scrottie(yes, I know, but still, seeing the maint page is just going to confuse people)23:48
Haargit already does that during upgrade but having it just always there would be fine as well23:49
Haargbasically, using version numbers alone, there isn't any way to detect if upgrades are required when doing dev work.  so i pretty much always just do wgd reset.23:50
@scrottieyeah, that's fine for dev.23:50
Haarghaving it fail in a friendlier way would be good though23:50
+perlDreamerno tests on that AssetReport RFE?23:52
@scrottiesounds like false positives aren't really a problem (if upgrades do run, the version numbers will match).  false negatives (it doesn't think you need to do upgrades because versions match, but really you're adding changes to a version) only happens in dev.  file.23:52
@scrottiefine.23:53
@scrottiethis doesn't have to be perfect, only an improvement, and it can be improved again later.23:54
@scrottienothing in code is ever perfect.23:54
CIA-82wgdev: Graham Knop master * r0ff9ffb / Changes : 23:59
CIA-82wgdev: v0.110519023:59
CIA-82wgdev:  - add missing Try::Tiny prereq23:59
CIA-82wgdev:  - fix to directory copy code23:59
CIA-82wgdev:  - add overwrite option to package importing23:59
CIA-82wgdev:  - improve package importing error reporting23:59
CIA-82wgdev:  - improve script packing (+6 more commits...) - http://bit.ly/jhnkPd23:59
--- Day changed Fri May 20 2011
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui00:01
+perlDreamerThanks Haarg!00:03
+perlDreameryou rock00:03
SquOnkWell, gotta go.00:11
SquOnkpreaction: Thanks again.00:11
-!- SquOnk [~emhn@186.93.207.12] has quit [Quit: Yippie kay-ai-yay, fudder muckers!]00:11
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Quit: Leaving.]00:58
-!- knowmad [~knowmad@99-112-245-79.lightspeed.chrlnc.sbcglobal.net] has joined #webgui00:59
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has quit []01:52
kthakorehi scrottie ok this is what I had to do to get webGUI8 to work02:54
kthakorescrottie: 3) $ wgd reset --upgrade -F etc/WebGUI.conf 02:54
kthakorethen I had to drop the db and run create.sql again on it02:54
@scrottiegood.  yeah, that runs upgrades, which fixes that.02:54
@scrottieokay, bad.02:55
kthakoreyeah which I didn't get why02:55
kthakore:(02:55
@scrottiedatabase changes are the vast majority of what upgrades do.02:55
kthakoreok02:55
@scrottieupgrades change stuff in the database and config file, but mostly in the database.02:55
@scrottierun upgrades again to avoid futher problems... wgd reset --upgrade02:55
kthakoreright but with the -F tag02:55
kthakoreit doesn't listen to WEBGUI_CONF02:55
@scrottieyou should have WBGUI_ROOT=/whereever02:56
@scrottieyeah, gotta do WEBGUI_ROOT I think.02:56
kthakoreah02:56
kthakorethat is not in the README02:56
kthakore'The site psgi file uses the WEBGUI_CONFIG environment variable to find the config.'02:56
Haargit's probably easiest to set WEBGUI_CONF to the full path of the config02:56
kthakorethat is all I see02:56
HaargWEBGUI_ROOT is a wgd thing02:56
@scrottieyeah, was just looking at the README02:57
kthakorescrottie: ok so it was just ambiougous then. Just add 'full path to config' for WEBGUI_CONF02:57
kthakore?02:57
@scrottiedocs/install.txt has it02:57
kthakoreah ok02:57
kthakoreI didn't know if to read that02:58
kthakoreok also there are some template breakage I don't know how to fix02:58
kthakorepreaction told me to install template stuff for these WARNS/ERRORS http://paste.scsys.co.uk/10557502:59
Haargkthakore, are you just trying to get a stock webgui 8 install going?02:59
kthakoreit looks at /home/crystalx but I dont have that02:59
kthakoreHaarg: the github, so I can work on swapping Image::Magick out for GD or Cairo03:00
kthakorejust some example website is all I need03:00
Haargok03:00
@scrottieyeah, the upgrade script takes the Macro::AdminBar out of your config file.03:00
Haargso you have your database set up and in the config file.  what about uploads?03:00
@scrottieit is no longer a macro in WebGUI8.03:00
@scrottieI had the same problem.03:00
@scrottieuploads is in doc/install.txt now.03:01
kthakorescrottie: I am not sure what that means. macro for /home/crystalx stuff?03:01
@scrottieto support extension, a lot of plug-in-y stuff gets registered in the config file, including "macros".03:02
Haargbasically, if you have a config file with a database and uploads set up, you should be able to run03:02
Haargwgd reset --dev03:02
@scrottiemacros get parsed out of templates and other stuff, code run, and the output replaced in03:02
Haargand get everything working03:02
@scrottieI think a "Content Handler" replaces it.03:03
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has quit [Quit: Leaving.]03:04
kthakoreok03:04
kthakoreis having spectre.pl running necessary?03:04
@scrottienot really03:04
@scrottienot for dev03:04
@scrottiein the admin tab, there's a "workflows" thing.  the stuff in there that runs peroidically won't run without it, fwiw.03:05
kthakoreHaarg: thanks for the wgd reset --dev tip!03:07
Haargwe really need a site creation script, it's just been low priority because the people working on stuff already have things set up03:08
kthakoreok 'Turn Admin On!' is still not working for me03:09
@scrottieoh, heck... there's a .pl in there that fires up a web server that sets up the WRE by templating stuff into place, including httpd.conf03:09
@scrottie... but it's terrible03:09
Haargyeah the wre's stuff for that isn't great, and it really needs to be in webgui itself03:10
@scrottiekthakore, remind me where you're at exactly?  you loaded a new database, ran upgrades...03:10
kthakorescrottie: almost all of docs/install.pl except for spectre.pland wgd reset --dev is done03:11
@scrottiescripts to maintain httpd.conf are as old as web hosting itself...03:11
@scrottiethe art has not advanced.03:11
@scrottiewgd reset --upgrade ... has this been done?03:11
@scrottieif not, it shouldn't hurt to do it again03:11
Haarg--dev includes that03:12
@scrottiethought maybe he upgraded but didn't do --dev yet for some reason03:12
@scrottieokay.  admin is not going to work until you upgrade.  the create.sql and .conf you get are for a 7.10.x.  they aren't for 8.003:12
@scrottieand it's probably better that way.  the upgrade path should be well tested going into an 8.0 release.03:13
kthakorerunning the upgrade gets warnings like03:14
kthakore Use of uninitialized value in pattern match (m//) at /home/kth03:14
@scrottiehrm.03:14
kthakoreadmin worked03:14
kthakoreI did absolute paths in the config file03:15
@scrottiegood.03:15
kthakoreI was doing relatives before03:15
@scrottiedid you ever get Image::Magick working, out of curiosity?03:15
kthakoreyeah03:15
* scrottie nods03:15
kthakoreloads of black magic 03:15
kthakoreI had to compile it against Debian's libperl manually03:16
kthakorethen patch it for mmx and 64bit03:16
kthakorewhich was pointlessly wasteful03:16
kthakoreas it was only having that problem with my architecture .... so I can't even give the module a patch to add03:17
@scrottieon my long list of things to do, I want to do a ccpp -- pure perl C compiler that translates .c, .h etc into perl so you can build XS stuff even without a C compiler toolchain.  for linking, I'd use chromatic's NCBI or whatever it's called.03:17
kthakoreoh ... yeah that will be a long long long list of todo03:17
@scrottieno kidding.03:17
* kthakore shudders03:17
@scrottieyikes.03:18
kthakoreok how do i add a bunch of content/plugins to use the Image functionality of WebGUI8 03:18
kthakoresorry I haven't use WebGUI8 before03:18
@scrotties'ok03:18
@preactionPoll uses the most of WebGUI::Graphics03:19
@scrottiethere's some ImageGallery stuff too03:19
@preactionotherwise Image assets create thumbnails using the methods in WebGUI::Storage03:19
@scrottiein the admin bar, there's a New Content tab.  you have to add these things (Poll, Image Gallery, etc) from there.03:19
@scrottieit gives you a screen to configure the thing then adds it asa  child of the page you're currently looking at (which works best if you're looking at something that is a Page Layout).03:19
@scrottieI'm not sure how good test coverage currently is but I'd be happy to write some tests for you.03:20
kthakoreok03:21
kthakoregreat ... I ran into another bug/config issue03:21
kthakoreI do New Content->Basic->Poll03:21
kthakoreand nothing happens03:22
kthakoreclicking any of the edit buttons doesn't do anything either03:22
@scrottiedoes your browser's developer widgetplexdealie have any information about .js files it failed to find/load?03:23
kthakoreCouldn't call method www_edit on asset for url: /home Root cause: Can't locate object method "getValue" via package03:23
kthakorethat is the error03:23
@preactionoh humph03:23
@preactionone sec03:23
kthakoreWebGUI::Asset::dispatch[759] Couldn't call method www_edit on asset for url: /home Root cause: Can't locate object method "getValue" via package "WebGUI::Asset::RichEdit" at lib/WebGUI/Asset/RichEdit.pm line 517. 03:24
@preactiondo a pull and it should be fixed03:24
@scrottieyou *should* get a delightful enhanced Plack::Middleware::StackTrace if things blow up and you have developer mode on03:24
@preactiongetValue went gone a long time ago03:24
CIA-82webgui: Doug Bell WebGUI8 * r258d939 / lib/WebGUI/Asset/RichEdit.pm : remove getValue for the third time maybe? - http://bit.ly/kkCHnT03:24
kthakore:)03:24
* kthakore loves finding bugs and getting fixes just for doing simple things03:25
CIA-82webgui: Graham Knop WebGUI8 * r2a73f5a / lib/WebGUI/Asset.pm : fix undefined warnings - http://bit.ly/mAjMww03:25
kthakoreworks03:26
@scrottieat mysql, do:  insert into settings (name, value) values ('showDebug', 1); insert into settings (name, value) values ('ipDebug', '127.0.0.1');03:26
Haargor wgd reset --debug03:26
@scrottieoh, huh.03:27
@scrottiebtw, wgd db   is really handy03:27
Haargit doesn't stick in the ipDebug thing actually03:27
kthakoreCan't add image gallery now03:29
kthakoreinsert into settings (name, value) values ('showDebug', 1); insert into settings (name, value) values ('ipDebug', '127.0.0.1');03:29
kthakoreoops03:29
kthakoreWebGUI::Asset::dispatch[760] Couldn't call method www_add on asset for url: /home Root cause: newById must get an assetId03:29
@scrottiemmm... does it say where that was called from, before that?03:30
@scrottieyou'll have to restart the thing for the stack traces to kick in03:30
kthakoreok03:31
kthakoreno stack traces yet ...03:33
kthakoreI will do the wgd reset --debug then03:33
@scrottieperl t/PSGI/StackTrace.t    ... that should figure out if that's working03:35
Haargif you did --dev, debug mode should already be on03:35
kthakoreok03:36
kthakorehttp://paste.scsys.co.uk/10560503:38
@scrottieheh... export WEBGUI_LIVE=103:39
@scrottiethat actually needs to go away03:39
@scrottie(and then try again)03:39
kthakorethe test?03:42
kthakoreor the webapp?03:42
kthakoretest is fine03:43
@scrottiethe test... good.  okay.  it's probably not perfect.03:44
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has quit [Ping timeout: 246 seconds]03:44
@scrottieI need to rework what happens when stuff gets caught works a bit.03:44
@scrottieor someone does.03:44
@scrottieerrors deeper inside WebGUI are likely getten eaten right now03:45
kthakoreyay!03:45
kthakoreok I will take a break then start preping for Image::Magick refactor03:46
kthakoreI am just going to ack the heck out of it03:46
kthakoreand move it to a WebGUI::Graphics where I can play with GD/Cairo03:46
kthakoreI will fork WebGUI8 onto my github and get you guys to try my fork03:46
kthakoreso I don't waste all my time fiddling with server setup03:47
kthakoreis that good?03:47
@scrottieno complaints here.03:47
kthakorecool03:47
kthakoreneed to clean up fucking water damage some more03:48
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Ping timeout: 246 seconds]04:09
-!- jjm_ [~jjm@ip98-180-60-146.ga.at.cox.net] has joined #webgui04:24
-!- jjm_ is now known as jimX11_04:32
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui04:53
-!- jimX11_ [~jjm@ip98-180-60-146.ga.at.cox.net] has quit [Quit: Leaving]05:37
-!- knowmad [~knowmad@99-112-245-79.lightspeed.chrlnc.sbcglobal.net] has quit [Ping timeout: 240 seconds]07:07
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui07:19
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Ping timeout: 240 seconds]07:26
CIA-82webgui: Scott Walters WebGUI8 * rc011dda / (README docs/install.txt): README and docs/install fixes. - http://bit.ly/jLCD4K07:38
-!- ryuu_ro [~rory@D57D69B6.static.ziggozakelijk.nl] has joined #webgui09:16
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui10:36
-!- mode/#webgui [+v BartJol] by ChanServ10:36
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Quit: Leaving.]12:10
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui12:21
-!- mducharme-work [~nothing@206.188.121.4] has quit [Read error: Connection reset by peer]13:42
-!- mducharme-work [~nothing@206.188.121.4] has joined #webgui13:43
-!- knowmad [~knowmad@99-112-245-79.lightspeed.chrlnc.sbcglobal.net] has joined #webgui14:09
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui14:31
-!- knowmad [~knowmad@99-112-245-79.lightspeed.chrlnc.sbcglobal.net] has quit [Ping timeout: 260 seconds]14:39
-!- ekennedy [~ekennedy@173-118-184-146.pools.spcsdns.net] has joined #webgui15:59
-!- ekennedy [~ekennedy@173-118-184-146.pools.spcsdns.net] has left #webgui []15:59
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui16:14
-!- mode/#webgui [+o bopbop] by ChanServ16:14
-!- ryuu_ro_ [~rory@D57D69B6.static.ziggozakelijk.nl] has joined #webgui16:50
-!- ryuu_ro_ [~rory@D57D69B6.static.ziggozakelijk.nl] has quit [Client Quit]16:50
-!- ryuu_ro [~rory@D57D69B6.static.ziggozakelijk.nl] has quit [Read error: Operation timed out]16:51
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Quit: Leaving.]17:01
+BartJoljoy : http://www.webgui.org/use/bugs/tracker/1213517:04
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has joined #webgui17:06
-!- mode/#webgui [+o pbcj] by ChanServ17:06
@pbcj'mornin17:07
+BartJolmorning17:07
-!- fokat [~lem@66.0.48.131] has joined #webgui17:30
-!- knowmad [~knowmad@adsl-070-148-067-249.sip.clt.bellsouth.net] has joined #webgui17:30
kthakoremorning17:55
+BartJolhowdy17:59
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui18:17
-!- mode/#webgui [+v perlDreamer] by ChanServ18:17
+BartJolhey colin it is da man who alles testen can18:25
+BartJolperlDreamer: did you add the Geo::Coder::Googlev3 lib?18:28
+perlDreamerno, and not likely too either18:28
+BartJolI see your name in a possible related bug18:28
+perlDreamermissing dependencies should be filed on rt.cpan.org against the distribution18:28
+BartJolah18:28
+BartJolsorry, wrong place18:28
+BartJolshame on me18:28
+perlDreamerif they refuse to fix it, then we can add something to WebGUI to cover their badness18:28
+perlDreamerwe don't assign blame, we just throw boots18:29
+BartJolmmm, missing my errors, because I haven't enabled endless scrolling18:33
+perlDreamerI wish I was in The Netherlands right now18:37
+perlDreamerbecause that would mean that Friday is almost over18:37
kthakorehmm it seems the image uploader is not working :\18:37
-!- knowmad [~knowmad@adsl-070-148-067-249.sip.clt.bellsouth.net] has quit [Ping timeout: 246 seconds]18:42
+BartJolI send the bug in18:42
+BartJolhttps://rt.cpan.org/Ticket/Display.html?id=6834318:42
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has quit [Quit: Leaving.]18:46
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui18:55
-!- mode/#webgui [+v BartJol] by ChanServ18:55
-!- fokat [~lem@66.0.48.131] has quit [Ping timeout: 258 seconds]19:04
-!- carogray1 [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui19:20
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has quit [Read error: Connection reset by peer]19:21
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has quit [Quit: Leaving.]19:31
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has quit [Quit: bye]19:58
@preactionkthakore: check your uploadsPath in your webgui config file. also check the error log20:52
kthakorepreaction: Checked it20:56
kthakoreAlso I set up a test suite for image features here20:57
kthakorehttps://github.com/kthakore/webgui/commit/20082dd2935d31c218074fbe88f88ab6edfbf69e20:57
kthakoreis that correct?20:57
@preactionshould be yeah20:58
@preactioneverything we do with images should be covered by those tests, if those tests cover it ;)20:58
@preactioni'll take a look inside Poll.t to see how well the graphs are covered20:58
kthakorecool ok20:59
kthakoreI am gettign a lot of fails with these test already tough20:59
@preactionthey're checked if they're generated, which is really all we can do reliably. we're not going for exactly the same rendering20:59
@preactionsbin/testEnvironment.pl runs clean?20:59
kthakoreyeah21:00
kthakorewgd test fails alot too21:00
kthakoreI can upload now21:00
kthakoreI just had to clear the cache21:00
kthakorewgd reset fixed it21:01
@preactiondo me a favor and: wgd test --reset="-d --config" -A -v --debug 2>&1 | tee test.log <- and pastebin the output? it'll take a bit to run though21:01
kthakoreok21:02
kthakoreImage test results in the meantime http://paste.scsys.co.uk/10584521:02
kthakorepreaction: I get bad parameter provided21:05
@preactionoh, you need wgd -Fconfigfile21:05
kthakoreok21:05
@preactionprobably21:06
kthakoresame problem21:06
@preactionnot in the right directory maybe?21:06
kthakoreNo WebGUI root directory available.21:08
kthakoreI was able to run test before21:08
kthakoreshould I set WEBGUI_ROOT ?21:08
@preactionhow/where did you do wgd test before? that's the place21:08
@preactionyes, that'll do it probably21:08
kthakoreas soon as I do that21:10
kthakoreI get bad parameter21:10
kthakoregah21:10
@preactionperhaps run the previous test that worked with the -v --debug options and pipe the output to a file?21:11
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Ping timeout: 240 seconds]21:11
-!- fokat [~lem@66.0.48.131] has joined #webgui21:12
kthakorenope21:12
kthakoreit just refuses to work now21:13
@preactionawesome!21:13
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui21:15
kthakorehah21:16
kthakoredid you have a look at the image test results? HOw do I make those things pass?21:16
@preactioni've looked at the results, but haven't done any digging yet. responding to some e-mail first21:19
kthakorecool21:21
* kthakore runs away to break stuff 21:21
kthakore:)21:21
@scrottieheh, I was up late doing the same thing... taking inventory of those... should have pasted my work.  oops.21:25
kthakore:P21:26
@scrottieI think I have some that you don't...21:26
kthakoreI haz broekn many thungs21:26
kthakore:\21:26
@scrottiethen I got distracted with the problem of actually testing the output of the PNGs and remembered that I had some PNG writing code laying around... it's really tiny, about 20 lines.21:26
@scrottieI decided to try to adapt it to reading PNGs in pure perl.  then I was up until 2am.21:27
@scrottieit's a lot easier to write PNGs than read them.  PNG has a lot of options and scenarios and edge cases but you can ignore all of that and just write a naive PNG in one format.21:28
@scrottiehttps://gist.github.com/98348521:28
@scrottielet me post my last test run too... 21:28
kthakoreok21:30
kthakorebtw image galleries, image crop and thumbnails don't work for me21:31
@scrottieI'd be interested to see the output of prove --verbose for those21:31
kthakoreok21:31
@scrottieactually, if you do prove --verbose, I can kompare yours and mine21:31
kthakorehttps://gist.github.com/98349821:31
@scrottieokay, https://gist.github.com/983485 has my prove --verbose output in it.21:31
kthakorethose are the broken Image stuff right now21:32
@scrottiehrm, need more context.21:32
kthakoreadding gallery21:33
kthakoreand setting thumbnail size21:33
kthakoretwo failing things right now21:33
kthakoreand 2 logger events21:33
kthakorescrottie: verbose tests http://paste.scsys.co.uk/10584621:35
@scrottiewgd test --reset="-d --config" -A -v --debug 2>&1 | tee test.log    ... please do do that21:36
kthakoreok21:36
@scrottienot finding 'adding gallery' or 'setting thumbnail size' searching that file21:36
@scrottiein t/Asset/File/Image.t21:36
@preactiononly one failing test, and it's TODO :(21:36
kthakorescrottie: I was doing that by hand in the webapp21:36
@scrottieah.21:36
kthakorescrottie: can't run wgd anymore21:37
@scrottieare you getting proper stack traces now?  that would be really handy for investigating run-time errors.21:37
kthakoreit complains about no WebGUI root directory21:37
@scrottieexport WEBGUI_ROOT=/data/WebGUI  # or whereever you put it... app.psgi should be in that dir21:38
kthakoreI think I should do a clean 'install' again21:38
@scrottieno, that's just the lack of an environment variable it's complainable about, unless you deleted everything out of there21:38
kthakorenow I get Bad parameter provided.21:38
kthakoresigh21:38
kthakoreI dunno what broke that21:38
@scrottieI hate that one.  I don't know what that's about.21:38
@preactionusually the config file parameter21:38
@scrottiewhat's echo $WEBGUI_CONFIG say, if anything?21:38
@preactiontry WEBGUI_CONFIG instead of -F maybe?21:39
kthakoreok21:39
@scrottiemost WebGUI users create a little .sh file to set up environment variables (in the case of 8, WEBGUI_ROOT and PERL5LIB) and then source that before working on WebGUI stuff21:39
kthakorehttp://paste.scsys.co.uk/10584721:40
@scrottiemine says:  export PERL5LIB='/data/WebGUI/lib:/data/WebGUI/t/lib'; export WEBGUI_CONFIG='/data/WebGUI/etc/www.example.com.conf'21:40
kthakoreyeah it is serious broken now21:41
kthakoregreat21:41
@scrottieno wgd commands work?  not even wgd db -F ... ?21:42
kthakorenothing21:42
@scrottietry absolute paths for PERL5LIB etc?21:42
@preactionhumph. your script works for me after i change the config file to my own21:43
@scrottienext step would be asking Haarg please for a better diagnostic message, or else adding one yourself to wgd.21:44
kthakorescrottie: try absolute paths. Same problem21:44
kthakoreI am cleaning up my test_env and starting again21:44
kthakoreI am going to just have symlinks to lib now instead all of webgui git21:45
@preactionif you export WEBGUI_DEBUG=1 you should be able to do prove directly21:45
kthakorepreaction: how do you mean directly? I do that right now.21:45
@scrottiequick and dirty, you could patch your wgd to dump a stack trace when it goes to give that error message.  that might give a clue.21:45
@preactionwgd test is a wrapper around App::Prove, --debug sets WEBGUI_DEBUG21:46
HaargWGDEV_DEBUG=1 will give you stack traces21:46
Haargit's most likely something with WEBGUI_ROOT21:46
@scrottie[ -f $WEBGUI_ROOT/app.psgi ] || echo "WEBGUI_ROOT wrong"21:47
Haargwhat i would recommend is unsetting WEBGUI_ROOT, and just having WEBGUI_CONFIG set to the absolute path for your config file21:48
kthakoreHaarg: ok21:48
kthakoreNo WebGUI root directory available21:49
@scrottieI should really always run everything strace | grep getenv to see what environment variables I can set to do things.21:49
@scrottie[ -f /$WEBGUI_CONFIG ] || echo "bah"21:49
@scrottiehrm, no, that's wrongt.21:50
kthakorewhould having lots of symlinks mess with wgd ?21:50
Haargyes21:50
kthakoresigh21:50
kthakoreok21:50
kthakorescrottie: preaction Haarg let me clean up21:50
kthakorewhat about just lib as symlink?21:50
@scrottiethis stuff likes to compute relative paths, often .. or ../..21:51
Haargi'd start with just having everything in one directory with no symlinks.21:52
@scrottiemv */* */*/* */*/*/* */*/*/*/* */*/*/*/*/* .21:52
kthakoreshit21:54
kthakoreI cleaned up everything21:54
kthakorestill not working 21:54
kthakorewtf happened21:54
* kthakore reads back bash_history21:55
@preactioni'm chasing a theory about different perl versions, i've been using 5.10.1, i'm gonna run the whole suite on 5.12.2 and others maybe21:55
kthakorebut it was working jsut this morning21:56
kthakorehow the fuck21:56
Haargso you have a webgui git checkout, with a config file in etc, WEBGUI_ROOT is not set, and WEBGUI_CONFIG is set to your config file's absolute path.21:56
kthakoreyeah21:56
@scrottie5.14 worked pretty well after I fixed one little bit of DBD::mysql and commented all of the 'use Image::Magick' lines.  Image::Magick was *not* going to build.21:56
Haargwhat do you get if you run wgd config command ?21:56
kthakoreNo WebGUI root directory available.21:56
kthakoreno output21:56
@scrottiethe .conf file is in etc inside the root of the thing you checked out from git, right?21:57
kthakore/home/kthakore/Documents/Development/Work/test_env/etc/WebGUI.conf21:57
kthakorethat is the output21:57
@scrottiehead and tail .conf... does it look like the JSON got cut off on either end?21:57
kthakoreyeah .. missing a {21:57
kthakorewtf21:57
kthakorehow21:57
kthakoreand my .conf is all changed21:58
* kthakore looks at git21:58
kthakore....21:58
@scrottieinterrupted at the wrong moment and not doing the mv shuffle.21:58
kthakorethis happened after I ran ./wgb --dev thing21:58
@scrottieWebGUI and the tests treat the .conf file as read-write.21:58
@scrottiesee Config::JSON.21:58
@scrottieWebGUI::Config uses that.21:58
kthakoreright21:59
Haargpreaction, all the upgrade scripts got brought along with the merge22:00
@preactioni'm checking other perls because on of these test failures is a failure in a regexp to grab the file extension, which is really weird22:01
@preactionCannot determine source for t/Asset/Wobject/StoryTopic.t <- and i dunno wtf's going on there22:02
@preactionand of course i just deleted all my VMs to free up space to load pb.com's database...22:02
@preactionoh, right, i should merge all those pull requests that are pending22:03
-!- knowmad [~knowmad@adsl-070-148-067-249.sip.clt.bellsouth.net] has joined #webgui22:04
CIA-82webgui: Doug Bell WebGUI8 * r65752f2 / lib/WebGUI/Template/Plugin/Asset.pm : 22:08
CIA-82webgui: Merge pull request #12 from haarg/tt-asset-plugin22:08
CIA-82webgui: Adds an Asset plugin for Template Toolkit - http://bit.ly/k08bir22:08
kthakoreok complete clean app, no symblink, new database22:09
kthakoresame problem with wgd22:09
@scrottiemmmm, you repaired your config file?22:11
kthakoreyeah22:11
kthakoreI can paste my config file22:11
kthakorehttp://paste.scsys.co.uk/10584922:12
@scrottieif it can parse it, you should get some other error22:12
kthakoreactually this one I mean22:13
kthakorehttp://paste.scsys.co.uk/10585022:13
@scrottiedon't know.  something strange is going on.  permissions are wrong or something.  I suggest you do the WGDEV_DEBUG thing Haarg suggested and try to figure out where things are going wrong.22:17
kthakoreTRACE of the whole thing http://paste.scsys.co.uk/10585122:19
kthakoreWGDev::X::BadParameter->throw( is called22:19
kthakoreline 78522:19
kthakorewhat is that called for?22:20
Haargkthakore, give me a minute22:22
@scrottie>> /loader/0x217b910/WGDev.pm:69:         if (   -d $path22:22
@scrottiejust above it.22:22
kthakoreyeah22:22
kthakorelooking at what $path is22:22
kthakore/home/kthakore/Documents/Development/Work/test_env at /loader/0x1b7dba0/WGDev.pm line 69.\22:22
kthakoreseems fine22:22
kthakore && -e File::Spec->catfile( $path, 'etc', 'WebGUI.conf.original' )22:23
kthakorewtf why?22:23
kthakoreit looks for that file but why?22:23
kthakoregot rid of that22:23
Haargit needs some indication if the directory is a valid webgui root22:23
kthakoreworks awesome22:24
@scrottieit seems to want it not to be a directory.  if( -d )  Throw22:24
kthakorenot it was the WebGUI thing22:24
kthakore-e File::Spec->catfile( $path, 'etc', 'WebGUI.conf.original' )22:24
kthakoreI am missing that file22:24
kthakorecause I mv22:24
* kthakore strangles himself22:24
Haargthat file should exist in any normal webgui root directory, so i used it22:24
@scrottieah, else throw22:24
kthakoreHaarg: it was my fault I didn't know that22:24
* kthakore strangles himself and commits sepakky22:25
kthakoresigh22:25
@scrottieoooooooooooooooOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOoooooooooooooooooooooOOOOOOOOOOOOOOOOOOOOOOOooooooooo22:25
Haargwell, my super special error message was extremely helpful tracking it down22:25
Haarg'bad parameter'22:25
kthakoreHaarg: ... erm no22:25
kthakorebut it was fun22:25
kthakore:)22:25
@scrottiethis explains why wgd does this same thing to me some times22:25
kthakorecan I patch that for the love of gawd?22:25
kthakoreHaarg: ?22:25
Haargyeah something should be done to improve that22:25
@scrottiejust a bit earlier I was saying that it did that for me some times and I wasn't sure why.22:26
@scrottiegithub.com/haarg/wgd I think22:26
@scrottiehttp://github.com/haarg/wgdev.git22:26
kthakoreokie22:26
kthakorepatch soon22:26
@scrottie:q22:27
@scrottieahem.22:27
kthakoreeyeball lick?22:27
@scrottiekill -9 $$22:27
@scrottieteehee22:27
@scrottieI had a bugger.  fixed!22:27
kthakorescrottie: you are making less and less sense22:27
@scrottietongue can't reach eyeballs, only buggers.22:27
@preactionperlDreamer: got a minute? do you remember who/where that Thingy patch went?22:28
CIA-82webgui: Doug Bell master * rc471728 / (2 files in 2 dirs): 22:28
CIA-82webgui: add metadata to assets inside an AssetReport22:28
CIA-82webgui: Thanks to SquOnk for the patch. - http://bit.ly/lhVlFF22:28
CIA-82webgui: Doug Bell master * r9b5f14d / docs/changelog/7.x.x.txt : always forget a changelog... maybe I need a git hook... - http://bit.ly/k8ubYY22:28
@preactionperlDreamer: nm, i found it22:28
kthakorescrottie: Haarg pretty please https://github.com/haarg/wgdev/pull/2222:32
Haargkthakore, as is that patch isn't going to work, but i'm fixing stuff elsewhere so it will.22:33
kthakoreoh ok22:34
kthakoreHaarg: I would have helped22:34
kthakorebut if you got it cherrio22:34
@scrottieI want to change how Config::JSON replaces the config file but I want at least another pair of eyes and I should probably be sending a push request to someone.  thoughts?22:34
kthakorewhere do I point my pair of eyes?22:35
@preactioni can be the eyes, JT would be the Config::JSON maintainer22:35
Haargi can take a look.  what is the problem you want to fix?22:35
Haargi wrote the current config writing thing iirc22:35
@scrottieahhh22:36
Haargi still want to come up with a better way to handle included files but haven't come up with a good strategy yet22:36
@scrottieHaarg, https://github.com/scrottie/config-json/commit/cc41ea153be45c5a2665940ea5b1518a5a42a55022:39
-!- mducharme-work [~nothing@206.188.121.4] has quit [Ping timeout: 258 seconds]22:39
@scrottiebasically, unless you replace one file with another using rename, the operation is subject to race conditions and interruption.  write() isn't even atomic.  the system can change which process is on the CPU during the course of a large write.22:40
Haargyeah.  the reason for the past ugliness was to prevent problems with the disk getting full.  but your thing is almost certainly better.22:40
Haargoh, i think i remember why i ended up with the ugly thing i made22:41
@scrottieyeah.  I was surprised how careful the code was when I went to look at it.22:41
Haargdidn't want to potentially mess with the file owner22:41
Haargi don't know if that's really important though.22:41
@scrottiehrm.  that's a good point, but my two cents is avoiding interruption is more significant.22:42
@scrottieI should write some tests for this before sending a pull request.22:42
@scrottieor sending one on IRC ;)22:43
Haargi'd probably go with your version.  simpler than mine, and as you say protecting against race conditions is probably more important.22:44
@scrottiehrm, I could totally write tests that simulated low disc space conditions, but that might make people angry.22:46
@scrotties/simulated/actuated/22:46
Haarghah22:46
kthakorelunch/outsideness &22:48
-!- knowmad [~knowmad@adsl-070-148-067-249.sip.clt.bellsouth.net] has quit [Quit: knowmad]22:48
-!- knowmad [~knowmad@adsl-070-148-067-249.sip.clt.bellsouth.net] has joined #webgui22:50
CIA-82webgui: Doug Bell master * r1fa9110 / (5 files in 4 dirs): 23:00
CIA-82webgui: Merge commit '1966cc02a70752'23:00
CIA-82webgui: Conflicts:23:00
CIA-82webgui:  lib/WebGUI/Asset/Wobject/Thingy.pm - http://bit.ly/jFwcDv23:00
@preactionfinally zylopfa's work is merged. i gotta keep better track of contributions...23:00
kthakorescrottie: preaction Haarg the tee test.log command http://paste.scsys.co.uk/10585723:13
@preactionawesome. i'll take a closer look when i get back from some errands23:17
kthakorepreaction: it only took a couple hours lol23:18
@preactionyeah, --debug takes a while, as it does a lot more testing23:18
kthakoreoh I meant even the ability to run that command23:18
kthakorehah23:18
kthakorethat Bad Parameter thing23:18
@preactionwhat was the end problem?23:19
@scrottieif www.example.com.conf wasn't in etc, it decided it was the wrong directory.23:21
kthakorescrottie: nope23:21
kthakoreit had to be /etc/WebGUI.conf.original23:21
@scrottieah, sorry23:21
kthakorethat file needed to exist23:21
kthakorewhich seemed counter intuitive to me23:22
kthakorebut I dunno maybe that makes sense23:22
@preactionoh, the reset needs it to build a new config from when doing reset="-d --config" probably23:23
Haargi just needed some kind of indication it was actually a webgui root directory.  just so happens i chose the same file you chose to move.23:23
@preactionor that23:23
* preaction &23:23
Haargand yeah that is a required file for webgui & wgdev.  the real issue is just the error message23:24
kthakoreHaarg: yeah. The only reason it was counterintuitive to me was that in other webapps mv *.original *. is fine23:24
kthakoregreat new errors :)23:25
kthakoreerror WebGUI::Macro::_processMacro[179] No macro with name i18n defined.23:25
Haargyaaay error time to celebrate!23:26
Haargadd to the config file in macros: "i18n" : "International", 23:27
kthakoreok23:29
kthakoreI already have 23:30
kthakore"International" : "International",23:30
Haargyeah, they should both be in there23:30
--- Day changed Sat May 21 2011
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui00:06
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Client Quit]00:06
+perlDreamerthat i18n macro synonym is supposed to be added during the upgrade to 8.x00:14
Haargit should be in WebGUI.conf.original though and it apparently isn't00:15
-!- knowmad [~knowmad@adsl-070-148-067-249.sip.clt.bellsouth.net] has quit [Quit: knowmad]00:55
-!- knowmad [~knowmad@adsl-070-148-067-249.sip.clt.bellsouth.net] has joined #webgui00:55
-!- fokat [~lem@66.0.48.131] has quit [Ping timeout: 258 seconds]01:07
-!- knowmad [~knowmad@adsl-070-148-067-249.sip.clt.bellsouth.net] has quit [Quit: knowmad]01:07
-!- knowmad [~knowmad@adsl-070-148-067-249.sip.clt.bellsouth.net] has joined #webgui01:07
-!- knowmad [~knowmad@adsl-070-148-067-249.sip.clt.bellsouth.net] has quit [Ping timeout: 240 seconds]01:16
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has quit []01:51
+perlDreamerthat's fixed easily enough02:37
CIA-82webgui: Colin Kuskie WebGUI8 * rf4bd6d3 / etc/WebGUI.conf.original : Add the i18n alias to the default WebGUI configuration file. - http://bit.ly/iX4Vji02:38
kthakoreaww I was gonna add that02:38
+perlDreamerI waited two hours to give ya the chance02:45
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui02:48
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has quit [Quit: Leaving.]02:59
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Read error: Connection reset by peer]03:04
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui03:05
-!- carogray1 [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has quit [Ping timeout: 246 seconds]03:48
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui06:40
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Ping timeout: 260 seconds]07:43
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui12:01
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has quit [Quit: Leaving.]12:14
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui12:24
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Quit: Leaving.]15:55
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has quit [Read error: Connection reset by peer]17:40
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui17:48
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has quit [Quit: Leaving.]17:55
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui18:34
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has quit [Quit: Leaving.]18:41
jimX11If I subclass WebGUI::Asset::Wobject does the subclass inherit a "new" method?  Doesn't seem to.18:57
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui19:03
-!- kthakore [~kthakore@li136-101.members.linode.com] has quit [Quit: Lost terminal]19:03
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Ping timeout: 244 seconds]19:18
@scrottieperldoc WebGUI::Asset19:55
@scrottieWebGUI::Asset::Wobjects are WebGUI::Assets19:55
@scrottiethere are a few ways to construct them... a few different new methods19:56
jimX11scrottie:thanks20:19
-!- gugod [~gugod@114-32-222-155.HINET-IP.hinet.net] has quit [Ping timeout: 250 seconds]20:30
-!- gugod [~gugod@114-32-222-155.HINET-IP.hinet.net] has joined #webgui20:31
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Ping timeout: 260 seconds]23:04
-!- fallout [~fallout@75-135-66-252.dhcp.mdsn.wi.charter.com] has quit [Read error: Operation timed out]23:20
-!- kthakore [~kthakore@li136-101.members.linode.com] has joined #webgui23:29
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui23:31
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui23:50
--- Day changed Sun May 22 2011
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui01:27
-!- fallout [~fallout@75-135-66-252.dhcp.mdsn.wi.charter.com] has joined #webgui01:28
kthakorehallo02:15