--- Log opened Sun May 01 00:00:01 2011 |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui | 01: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 #webgui | 12: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 #webgui | 18: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 #webgui | 18:51 |
-!- daviddelikat [~user@adsl-76-204-91-139.dsl.mdsnwi.sbcglobal.net] has joined #webgui | 23:07 |
-!- daviddelikat1 [~user@76.201.148.64] has joined #webgui | 23: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 #webgui | 23:51 |
--- Day changed Mon May 02 2011 |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui | 00: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 #webgui | 00:26 |
-!- daviddelikat [~user@ppp-70-226-168-0.dsl.mdsnwi.ameritech.net] has joined #webgui | 00: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 #webgui | 02: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 #webgui | 03:34 |
-!- mode/#webgui [+o pbcj] by ChanServ | 03: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 #webgui | 08:58 |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui | 10:13 |
-!- mode/#webgui [+v BartJol] by ChanServ | 10:13 |
-!- carogray1 [~Caroline@173-125-234-112.pools.spcsdns.net] has joined #webgui | 12:53 |
-!- carogray [~Caroline@173-125-234-112.pools.spcsdns.net] has joined #webgui | 12: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 #webgui | 13: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 #webgui | 13:08 |
-!- carogray1 [~Caroline@173-125-234-112.pools.spcsdns.net] has joined #webgui | 13: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 #webgui | 13: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 #webgui | 13: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 #webgui | 13:56 |
-!- carogray1 [~Caroline@108.113.230.159] has joined #webgui | 14: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 #webgui | 14: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 #webgui | 14: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 #webgui | 14: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 #webgui | 14: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 #webgui | 14: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 #webgui | 14: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 #webgui | 15:07 |
SDuensin | Morning. | 15:46 |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 15: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 #webgui | 16:57 |
carogray | quick help? what is template syntax for <tmp_if.... | 17:40 |
carogray | for if someone is logged in - not admin on, but logged in, cannot find it quickly | 17:41 |
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has joined #webgui | 17:47 |
-!- mode/#webgui [+o pbcj] by ChanServ | 17:47 |
-!- sbaur [~Adium@130.157.145.37] has joined #webgui | 18:03 |
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui | 18:06 |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 18:06 |
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui | 18:06 |
-!- mode/#webgui [+o bopbop] by ChanServ | 18:07 |
-!- khenn [a6898c23@gateway/web/freenode/ip.166.137.140.35] has joined #webgui | 18:07 |
-!- mode/#webgui [+o khenn] by ChanServ | 18:07 |
@khenn | morning! | 18:07 |
+perlDreamer | hey khenn! | 18:07 |
@khenn | I'm sad I had to miss rizen's dancer talk last month | 18:08 |
@khenn | I'm telecommute 2 days a week now so I will hopefully make it this month for WG8!! | 18:08 |
+perlDreamer | WebGUI 8 is going to be released this month. | 18:08 |
@khenn | yeah? | 18:09 |
@khenn | that's awesome | 18:09 |
+perlDreamer | Since it's too early for preaction to be awake, I feel free to spread unsubstantiated rumors about 8 | 18:09 |
@khenn | heh | 18:10 |
+perlDreamer | although, given the huge progress he's been making recently, that's probably not too far from the truth | 18:13 |
CIA-16 | webgui: Colin Kuskie master * r944c760 / (5 files in 5 dirs): Make makeUrlCompliant as deprecated, and updated POD and subroutines accordingly. - http://bit.ly/ijdec3 | 18: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 #webgui | 18:36 |
-!- mode/#webgui [+o khenn] by ChanServ | 18:36 |
* scrottie0 parsed "miss rizen's dancer talk" as "Ms. Rizen's Dancer talk" | 18:52 |
@khenn | heh | 18:53 |
SDuensin | Bring on 8! | 19:00 |
ckotil | sweet | 19:08 |
-!- kaare_ [~kaare@91.100.9.171.generic-hostname.arrownet.dk] has joined #webgui | 19:25 |
-!- Netsplit *.net <-> *.split quits: vayde, Getty | 20:11 |
-!- Netsplit over, joins: vayde, Getty | 20:12 |
carogray | trying 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 |
carogray | I am just not sure how this works - | 21:22 |
scrottie0 | yo might want the GroupText macro | 21:23 |
scrottie0 | you | 21:23 |
scrottie0 | that 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 |
scrottie0 | which template are you editing? which asset is it a template for? | 21:26 |
scrottie0 | what are you actually testing... whether they're allowed to view the content? | 21:29 |
+perlDreamer | ya, GroupText macro is the way to do that, although sometimes in can give you fits with quotes and such | 21:33 |
+perlDreamer | yet another thing we could do better with Template::Toolkit | 21:33 |
@preaction | is there anything TT can't do better? | 21:34 |
carogray | so... | 21:43 |
carogray | I 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 template | 21:44 |
carogray | I just want to throw something in there quickly | 21:44 |
carogray | If I do Template Tookit I have to redo the whole template x 2 | 21:44 |
carogray | I 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 TT | 21:45 |
+perlDreamer | carogray, then use the GroupText macro | 21:46 |
+perlDreamer | be sure to escape double quotes and commas in the HTML that you want to show | 21:46 |
+perlDreamer | because they can cause macro parsing errors | 21:46 |
carogray | can 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 |
+perlDreamer | well, to use the macro well, you'll need to set up 1 Group that holds all the groups that should see the link | 21:51 |
+perlDreamer | then you do | 21:51 |
+perlDreamer | ^GroupText(GroupName,<li class="off"><a href="^/;home/laccm-intranet" class="navLink">LACCM Intranet</a></li>); | 21:52 |
+perlDreamer | I think that will do it | 21:52 |
+perlDreamer | or, you may need to escape all those double quotes in there | 21:53 |
+perlDreamer | ^GroupText(GroupName,<li class=\"off\"><a href=\"^/;home/laccm-intranet\" class=\"navLink\">LACCM Intranet</a></li>); | 21:53 |
carogray | perfect! | 22:01 |
carogray | thanks so much! | 22:01 |
+perlDreamer | you're welcome carogray | 22:01 |
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has quit [Quit: bye] | 22:37 |
carogray | perldreamer: perfect! It worked perfectly, quickly, easily and painlessly! You are my hero - once again! Thank you so much! | 23:24 |
CIA-16 | webgui: 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/jUcXDN | 23:51 |
--- Day changed Tue May 03 2011 |
* perlDreamer goes to pickup kids from school | 00: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 #webgui | 00:19 |
+perlDreamer | KlausH! | 00:41 |
KlausH | hi. will we have a WUC this year? | 00:42 |
+perlDreamer | I haven't heard any plans for a WUC this year, so I suspect not | 00:42 |
KlausH | no Webgui 8, no WUC :-( | 00:42 |
+perlDreamer | no WebGUI 8 yet | 00:43 |
+perlDreamer | but coming soon | 00:43 |
+perlDreamer | preaction has been committing tons of code, and it's will be released before Perl 6 | 00:43 |
+perlDreamer | before Christmas | 00:43 |
+perlDreamer | before the world ends in 2012, for sure | 00:43 |
KlausH | great! | 00:43 |
KlausH | will help a lot for endig the world. | 00:44 |
scrottie0 | https://gist.github.com/952439 ... | 00:44 |
+perlDreamer | no clue, scrottie0, I haven't run any wg8 code since November/December-ish | 00:45 |
scrottie0 | hrm, diagnostic output made a lot more sense before I pasted it. | 00:45 |
+perlDreamer | you sure you're not having local problems again? | 00:45 |
scrottie0 | of course not. in fact, that's the first thing I suspect. | 00:45 |
@preaction | did the test case run WebGUI::Test->waitForAllForks? | 00:46 |
scrottie0 | if 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 |
scrottie0 | that's how I stumbled into this. | 00:46 |
scrottie0 | it waits forever there. | 00:46 |
@preaction | hmm... | 00:46 |
scrottie0 | that's when it actually creates an entry in the table. | 00:46 |
@preaction | i'd say that my waitForAllForks code is bad then | 00:46 |
scrottie0 | I'll continue chasing this, I just wanted to alert people what I was doing. | 00:46 |
scrottie0 | nope. looking at the database, there's an unfinished one in there. sometimes. | 00:47 |
@preaction | or worse, the fork code is bad. but i'd check my wait first | 00:47 |
scrottie0 | non-deterministic. | 00:47 |
@preaction | hm... | 00:47 |
@preaction | is there a child process even? | 00:47 |
scrottie0 | sometimes. | 00:47 |
@preaction | and when that child process is there, the db entry is too? | 00:47 |
scrottie0 | yup. | 00:47 |
+perlDreamer | fork code seems to work in 7 | 00:48 |
@preaction | it 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 |
scrottie0 | if init is called, forkAndExec() never runs as a backup and sendRequestToMaster works reliably. | 00:49 |
+perlDreamer | KlausH, did my response to the makeUrlCompliant bug make sense? | 00:49 |
scrottie0 | dunno. still tracing that bit. | 00:49 |
@preaction | hm... on my laptop no master process does warn, but still works correctly. maybe that's not true of all systems | 00:51 |
scrottie0 | oh 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 |
scrottie0 | but I'm not sure how many tests wind up creating forks. that could be unmanagable. | 00:52 |
scrottie0 | or maybe I'll just make it a test failure if waitForAllForks don't finish in a certain amount of time. | 00:53 |
@preaction | waitForAllForks turns async into sync, that was why i wrote it, but if you have a better idea it's welcome | 00:54 |
scrottie0 | this 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 |
scrottie0 | nasty, naughty, evil Zoot... | 00:56 |
+perlDreamer | scrottie0: I don't think hardly any tests accidently make forks, since you have to call *InFork directly | 00:57 |
+perlDreamer | plus, you could always change it and run it and see what goes into an infinite loop | 00:58 |
* scrottie0 nods | 00:58 |
CIA-16 | webgui: 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/kf7ozZ | 01:01 |
-!- khenn [a6898c23@gateway/web/freenode/ip.166.137.140.35] has quit [Ping timeout: 252 seconds] | 01:02 |
+perlDreamer | scrottie0, that was fast! How long did it take your box to run the whole test suite? | 01:02 |
scrottie0 | I 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 |
scrottie0 | I can always count on sarcasm after each commit. | 01:03 |
scrottie0 | I agree though. the test suite needs a test suite. | 01:04 |
scrottie0 | I 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 |
@preaction | that's what was happening? | 01:05 |
scrottie0 | huh? | 01:05 |
@preaction | the previous wait waited but the fork didn't mark itself as completed? | 01:05 |
scrottie0 | don't know. still trying to sort this out. don't know if it's left over or where execution gets hung up. | 01:07 |
scrottie0 | just wanted to feel people out on it so I better knew which directions could I reasonably take this. | 01:07 |
scrottie0 | aha. the forked process biffs it. I'm not sure closing STDERR is the way to fly in this case... | 01:09 |
scrottie0 | we're still using test plans in WebGUI 8? bah. | 01:20 |
scrottie0 | what's this? these source code files contain ASCII? lame. | 01:21 |
CIA-16 | webgui: Scott Walters WebGUI8 * ree212a1 / (lib/WebGUI/Test.pm t/AssetHelper/Copy.t): | 01:27 |
CIA-16 | webgui: WebGUI::Test::waitForAllForks optionally taking a number of seconds to wait; | 01:27 |
CIA-16 | webgui: 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/lMHCXI | 01:27 |
scrottie0 | okay, 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 |
scrottie0 | I'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 #webgui | 02:12 |
CIA-16 | webgui: Colin Kuskie master * red4ab25 / sbin/testEnvironment.pl : Set the correct version of the Google geocoder module. - http://bit.ly/mqhBSH | 02: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 #webgui | 04:35 |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Ping timeout: 246 seconds] | 05:45 |
CIA-16 | webgui: 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/mwhANl | 06:07 |
CIA-16 | webgui: Colin Kuskie master * r62f1f98 / docs/create.sql : Preparing for 7.10.15 release. - http://bit.ly/lsDiD8 | 06:09 |
+perlDreamer | 29 minutes, that has to be some kind of world record | 06:29 |
CIA-16 | webgui: Colin Kuskie master * re0491ac / (4 files in 4 dirs): Ready for 7.10.16 development. - http://bit.ly/iYOvYy | 06: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.com | 06:30 |
-!- kaare_ [~kaare@langebro.adapt.dk] has joined #webgui | 08: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 #webgui | 09:02 |
scrottie0 | https://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->new | 09:14 |
scrottie0 | and the test was failing when the forkId didn't match between the two calls to WebGUI::Fork. this should differ. | 09:14 |
scrottie0 | I'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 |
scrottie0 | are there failing tests and die-ing tests in general in the WG8 suite...? | 09:16 |
scrottie0 | if 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 |
@preaction | there are some failing tests yes, EMSSubmission.t comes to mind | 09:20 |
scrottie0 | okay. just want to make sure that I'm barking up trees that actually exist. | 09:20 |
@preaction | i have been working on the frontend, so it's possible i've screwed up some tests | 09:21 |
scrottie0 | or possibily exist. | 09:21 |
scrottie0 | re: 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 |
@preaction | that was meant to change | 09:22 |
* scrottie0 nods | 09:22 |
scrottie0 | excellent. thank you. | 09:23 |
@preaction | the old API was to pass the asset into process(), but that had some problems | 09:23 |
CIA-16 | webgui: Scott Walters WebGUI8 * r5b5a7e9 / t/Admin.t : | 09:28 |
CIA-16 | webgui: "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-16 | webgui: 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/mqylbw | 09:28 |
* scrottie0 & | 09:28 |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui | 09:45 |
-!- mode/#webgui [+v BartJol] by ChanServ | 09:45 |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui | 10: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 #webgui | 10:34 |
-!- carogray [~Caroline@72-63-66-21.pools.spcsdns.net] has joined #webgui | 13:03 |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 14: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 #webgui | 15:05 |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 15: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 #webgui | 16:26 |
-!- mode/#webgui [+o bopbop] by ChanServ | 16: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 #webgui | 17:02 |
-!- khenn [a6898b1b@gateway/web/freenode/ip.166.137.139.27] has joined #webgui | 17:04 |
-!- mode/#webgui [+o khenn] by ChanServ | 17: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 #webgui | 17:30 |
-!- mode/#webgui [+o pbcj] by ChanServ | 17:30 |
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has joined #webgui | 17: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 #webgui | 17:51 |
-!- sbaur [~Adium@130.157.145.37] has joined #webgui | 18: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 #webgui | 19: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 #webgui | 19: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 |
scrottie0 | frodwith, 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 |
@pbcj | lol | 22:15 |
@pbcj | I was just typing "quiet in here today" | 22:15 |
scrottie0 | can't just say "it's quiet in here". you have to find something to make noise about. | 22:15 |
@frodwith | could tie stderr with Tie::Log4perl | 22:15 |
@frodwith | or equivalent | 22:15 |
scrottie0 | forked 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 |
scrottie0 | er, hmm, strike that last remark. that's just confused/confusing. | 22:17 |
@frodwith | capturing it instead of sending it to the bitbucket is a good idea though. | 22:17 |
scrottie0 | I 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 |
@frodwith | Stuff that happens off in forked land can be kind of evil to debug. | 22:17 |
scrottie0 | yeah, I just discovered that the other day. | 22:18 |
@frodwith | Doesn't it trap dies already, and stuff them into the fork's error field in the db? | 22:18 |
scrottie0 | forks 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 |
scrottie0 | hmmm. | 22:19 |
@frodwith | mostly what's evil about fork debugging is debugging Fork itself, not the client code it's running. Or so I thought. | 22:19 |
scrottie0 | I think that's part of the problem... most of the tests fail over to the forkAndExec method | 22:19 |
scrottie0 | but nope, looks like init() doesn't either | 22:20 |
scrottie0 | daemonize just falls from the eval { } to POSIX::_exit(0) | 22:20 |
@frodwith | Well, it'd be nice if it did. | 22:20 |
* scrottie0 nods | 22:20 |
scrottie0 | shall I commit something? or would you like to see what I'm doing first? | 22:20 |
scrottie0 | I'm looking at the WG8 copy here. it might be out of date too. | 22:21 |
@frodwith | I trust you, but I'll look at it if it makes you feel better :) | 22:21 |
scrottie0 | cool =) | 22:21 |
scrottie0 | runRequest 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 |
scrottie0 | and 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 |
scrottie0 | should fix it. | 22:27 |
scrottie0 | duh, no. if we can't open the session, we can't log stuff or access the database. | 22:46 |
@frodwith | this is all starting to sound familiar | 23:00 |
@frodwith | maybe 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 |
scrottie0 | yeah. 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 #webgui | 23: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 #webgui | 00:07 |
-!- plainhao [~plainhao@208.75.85.237] has quit [Quit: plainhao] | 00:13 |
CIA-70 | webgui: Doug Bell WebGUI8 * r1962317 / lib/WebGUI/Asset/Wobject/Dashboard.pm : fix Dashboard edit form - http://bit.ly/lTtHat | 01:12 |
CIA-70 | webgui: Doug Bell WebGUI8 * r74b8e36 / lib/WebGUI/Command/test_content.pm : add all the other assets - http://bit.ly/mdwNbT | 01:12 |
CIA-70 | webgui: Doug Bell WebGUI8 * r40805ce / lib/WebGUI/Asset.pm : log the error when we have one, don't just return it - http://bit.ly/lx9J0P | 01:12 |
CIA-70 | webgui: Doug Bell WebGUI8 * r7389128 / (lib/WebGUI/Image.pm lib/WebGUI/Image/Graph.pm): | 01:13 |
CIA-70 | webgui: must have a width/height in order to set width/height | 01:13 |
CIA-70 | webgui: Failing to give a proper width/height will cause ImageMagick to die | 01:13 |
CIA-70 | webgui: with an assertion error - http://bit.ly/lLqZyT | 01:13 |
CIA-70 | webgui: 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/mHpdKY | 01:16 |
CIA-70 | webgui: Scott Walters WebGUI8 * r3e59d0f / (t/AssetHelper/ChangeUrl.t t/AssetHelper/ExportHtml.t): no zombie forks a test criteria - http://bit.ly/mIch3j | 01:16 |
CIA-70 | webgui: Scott Walters WebGUI8 * rc8f2810 / t/AssetHelper/Duplicate.t : no zombie forks as a test criteria - http://bit.ly/klNFtq | 01:16 |
CIA-70 | webgui: Scott Walters WebGUI8 * r57e0fe8 / t/Fork.t : no zombie forks as a test criteria - http://bit.ly/m9VNPF | 01:17 |
scrottie0 | grep -e 'not ok' prove2.log | grep -v 'TODO' | wc -l # 56 | 01:19 |
scrottie0 | fwiw. | 01:19 |
@preaction | yeah, i'm gonna fix all the tests i've broke | 01:19 |
@preaction | before i move on to my next task | 01:20 |
scrottie0 | oh, okay. then I don't have to. | 01:20 |
scrottie0 | I'll just... um... do something else. | 01:21 |
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui | 01:24 |
CIA-70 | webgui: Doug Bell WebGUI8 * rdaaf45b / (5 files): remove accordion JS (+6 more commits...) - http://bit.ly/iB7nNM | 01: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 #webgui | 03: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 #webgui | 07: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 #webgui | 10:20 |
-!- mode/#webgui [+v BartJol] by ChanServ | 10: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 #webgui | 11:33 |
-!- carogray [~Caroline@108.113.132.48] has joined #webgui | 12: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 #webgui | 13: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 #webgui | 13:59 |
-!- andyiomoon1 [~andyiomoo@CPE-58-161-21-39.ebcz1.win.bigpond.net.au] has joined #webgui | 14:21 |
-!- andyiomoon2 [~andyiomoo@CPE-58-161-21-39.ebcz1.win.bigpond.net.au] has joined #webgui | 14: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 #webgui | 14: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 #webgui | 14: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 #webgui | 14: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 #webgui | 14: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 #webgui | 15:16 |
-!- plainhao [~plainhao@208.75.85.237] has joined #webgui | 16:04 |
SDuensin | Mourning. | 17:05 |
+BartJol | ah, Scott is in a joyous mood again I see | 17:07 |
SDuensin | I'm in my fuzzy cube in an office that makes Dilbert look like he has the best job in the world. | 17:09 |
+BartJol | whoa, is there a comic about you? | 17:09 |
SDuensin | They 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 #webgui | 17:53 |
-!- mode/#webgui [+o preaction] by ChanServ | 18:16 |
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui | 18:20 |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 18:20 |
+BartJol | perlDreamer: pbcj I reanabled your accounts | 18:21 |
+BartJol | re-enabled | 18:21 |
@pbcj | excellent | 18:21 |
+perlDreamer | thanks, sir! | 18:21 |
+perlDreamer | we were afraid that it was a prelude to the Dutch declaring war | 18:21 |
+perlDreamer | first they cut-off your accounts | 18:21 |
+perlDreamer | then they expel the diplomats | 18:21 |
+perlDreamer | then they come and drink all your bier | 18:22 |
+perlDreamer | after that, it gets nasty | 18:22 |
@pbcj | first you get the money... | 18:22 |
+BartJol | we tried that with the beer | 18:22 |
+BartJol | our invasion wasn't big enough | 18:22 |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has quit [Quit: Leaving.] | 18:30 |
+perlDreamer | hm, do you think he went to get reinforcements? | 18:33 |
-!- khenn [~frank@99-111-115-201.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui | 18:35 |
-!- mode/#webgui [+o khenn] by ChanServ | 18:35 |
-!- kaare_ [~kaare@91.100.9.171.generic-hostname.arrownet.dk] has joined #webgui | 18:57 |
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has quit [Quit: Leaving.] | 20:18 |
@preaction | what is the difference between AdminToggle and EditableToggle? | 20:47 |
-!- mducharme-laptop [~MDucharme@35-121-188-206.rev.knet.ca] has joined #webgui | 20:53 |
mducharme-laptop | afternoon | 20:53 |
mducharme-laptop | I'm getting an error upgrading one site from 7.9.14 to 7.9.15 | 20:54 |
mducharme-laptop | other sites upgrade properly | 20:54 |
mducharme-laptop | http://pastebin.com/jbU4ipTE | 20:55 |
@preaction | that isn't an error, it's a warning. is there any problem the site is having? | 20:55 |
mducharme-laptop | I don't know, when I saw that I got scared and reverted back | 20:56 |
mducharme-laptop | if you think it's probably safe to ignore I will reupgrade and check | 20:58 |
mducharme-laptop | I 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 comb | 21:02 |
CIA-70 | webgui: Doug Bell WebGUI8 * r311db7b / (2 files in 2 dirs): remove the old asset manager from the config file (+6 more commits...) - http://bit.ly/lQ49er | 21:02 |
SDuensin | Why not run test-environment? | 21:02 |
@preaction | sbin/testEnvironment.pl | 21:02 |
SDuensin | Yea. Taht one. | 21:02 |
mducharme-laptop | right but then I can't use webguiupdate.pl, I have to like manually upload the new testEnvironment.pl to the server and run that first | 21:03 |
@preaction | scrottie0: a metric fuckton of tests just got fixed, i'm going over the www::mechanize ones now | 21:03 |
mducharme-laptop | do I not? | 21:04 |
@preaction | all webguiupdate.pl does is 1) download webgui 2) run /data/WebGUI/sbin/upgrade.pl | 21:04 |
mducharme-laptop | I know | 21:04 |
mducharme-laptop | which totally messes everything up if you haven't installed the perl modules first | 21:05 |
mducharme-laptop | I find that very bizarre | 21:05 |
@preaction | i say that because it's very simple, something you could do yourself with wget | 21:06 |
mducharme-laptop | why does webguiupdate.pl not download webgui, then run testEnvironment, then run uprade.pl | 21:06 |
CIA-70 | webgui: Doug Bell WebGUI8 * r2b42142 / t/Asset/AssetClipboard.t : went overboard on deleting from this test - http://bit.ly/lUo6bB | 21:06 |
mducharme-laptop | er upgrade | 21:06 |
@preaction | i'm fairly certain the next WRE will not have a webguiupdate.pl | 21:06 |
@preaction | and the current WRE doesn't do testEnvironment because nobody's added that | 21:07 |
SDuensin | Yea. Nuke it instead of making it work. :-P | 21:07 |
@preaction | no, much of the WRE's functionality is going into WebGUI itself | 21:07 |
scrottie0 | preaction, 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 |
@preaction | scrottie0: no, you reminded me of something i was all ready to completely neglect | 21:08 |
@preaction | SO THANKS A LOT | 21:08 |
scrottie0 | YOU'RE WELCOME | 21:08 |
mducharme-laptop | well I got 64-bit wre running on opensuse without much problem | 21:09 |
@preaction | that's fairly surprising really :p | 21:09 |
scrottie0 | actually, 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 |
@preaction | eh, i made some major changes and need to take the time to make the tests match those changes. | 21:10 |
mducharme-laptop | ok it looks like everything is fine | 21:26 |
mducharme-laptop | I guess I can ignore those messages then | 21:26 |
mducharme-laptop | this is strange | 21:27 |
mducharme-laptop | under "Statistics" how many active sessions should there be? | 21:27 |
mducharme-laptop | for a small site | 21:27 |
mducharme-laptop | this says 138310 | 21:27 |
@preaction | do your sessions expire? | 21:28 |
mducharme-laptop | to me that seems like an unusually high number of sessions | 21:28 |
mducharme-laptop | hmm? | 21:28 |
@preaction | is spectre running? | 21:28 |
@preaction | did you set your sessions so that they never expire? it's in settings | 21:28 |
scrottie0 | kompare has one example in its DESCRIPTION: cvs diff | kompare -o - | 21:28 |
mducharme-laptop | preaction - session timeout is set to one hour | 21:30 |
mducharme-laptop | and yes spectre is running | 21:30 |
@preaction | then maybe the workflow activity that cleans up expired sessions isn't running right | 21:31 |
@preaction | or at all | 21:31 |
mducharme-laptop | this is a newly setup server, I moved the site over from an old server | 21:32 |
mducharme-laptop | I 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 over | 21:33 |
@preaction | then 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 fixed | 21:33 |
mducharme-laptop | oh ok | 21:34 |
mducharme-laptop | it could be | 21:34 |
mducharme-laptop | we upgraded from like 7.8.15 or something | 21:34 |
@preaction | anyone 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-70 | webgui: Doug Bell WebGUI8 * recbaca5 / (2 files): formbuilder templatevar prefix must contain the underscore now - http://bit.ly/iGydNv | 21:49 |
@preaction | fairly well, as it turns out | 21:52 |
CIA-70 | webgui: Doug Bell WebGUI8 * r4a8b4c6 / t/Asset/Asset.t : class is now className for www_add - http://bit.ly/iGnd9S | 21:53 |
CIA-70 | webgui: Doug Bell WebGUI8 * rcdcbf53 / t/Asset/Asset.t : | 21:53 |
CIA-70 | webgui: getToolbarState and toggleToolbar no longer exist | 21:53 |
CIA-70 | webgui: The toolbar can be put in any page, and the toggle is now simply | 21:53 |
CIA-70 | webgui: if you are in the Turn Admin On group - http://bit.ly/mpx2Bb | 21:53 |
CIA-70 | webgui: Doug Bell WebGUI8 * r0c23ba8 / t/Asset/AssetClipboard.t : perhaps a good plan is in order... - http://bit.ly/kRxJDK | 21:59 |
scrottie0 | I'm getting a lot of "ERROR: Unable to run handler on WebGUI::Content::AssetManager: Could not load WebGUI::Content::AssetManager beca | 22:04 |
scrottie0 | use Can't locate WebGUI/Content/AssetManager.pm in @INC" | 22:04 |
@preaction | yeah, you need to wgd reset -d --config | 22:04 |
scrottie0 | oh. | 22:04 |
@preaction | i just added the upgrade that will remove the assetmanager content handler | 22:04 |
scrottie0 | ahh. right. | 22:04 |
scrottie0 | kompare 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 |
scrottie0 | bah. | 22:06 |
scrottie0 | need 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 |
scrottie0 | hmm, maybe they're right. | 22:08 |
-!- mducharme-laptop [~MDucharme@35-121-188-206.rev.knet.ca] has joined #webgui | 22:20 |
mducharme-laptop | hrm | 22:40 |
mducharme-laptop | another question.... | 22:40 |
mducharme-laptop | I had seen in a screenshot before the thingy allowed some sort of "LDAP Connection" field type | 22:40 |
-!- kaare_ [~kaare@91.100.9.171.generic-hostname.arrownet.dk] has quit [Ping timeout: 276 seconds] | 22:40 |
mducharme-laptop | that field type doesn't appear to be in the latest stable release | 22:40 |
@preaction | ldap connection fields probably won't work in the thingy | 22:44 |
mducharme-laptop | dammit | 23:19 |
mducharme-laptop | I want some easy way of having a company directory | 23:20 |
mducharme-laptop | without having to reinvent the wheel | 23:20 |
mducharme-laptop | we used to use novell's eGuide for that but they discontinued that | 23:21 |
scrottie0 | funny how software that people hate never gets discontinued. | 23:25 |
mducharme-laptop | well 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 that | 23:29 |
mducharme-laptop | instead we have paper phone lists typed up in word | 23:29 |
mducharme-laptop | and other manually entered things | 23:29 |
@preaction | and with that commit, the EMSSubmissionForm fixed, I take lunch! | 23:33 |
CIA-70 | webgui: Doug Bell WebGUI8 * rb0da37e / (8 files in 4 dirs): fix EMSSubmissionForm and all its tests - http://bit.ly/kB6WFC | 23: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 #webgui | 00:06 |
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui | 00:22 |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 00: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 #webgui | 01: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 #webgui | 02: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 #webgui | 02: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 #webgui | 02: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 #webgui | 02:54 |
-!- carogray [~Caroline@107.26.65.40] has quit [Ping timeout: 260 seconds] | 03:10 |
-!- carogray [~Caroline@108.97.251.151] has joined #webgui | 03: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 #webgui | 03:24 |
-!- carogray1 [~Caroline@173-145-41-169.pools.spcsdns.net] has joined #webgui | 03: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 #webgui | 03: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 #webgui | 04:01 |
scrottie0 | | 04:05 |
scrottie0 | who | 04: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 |
scrottie0 | error handling has changed a lot. | 05:28 |
scrottie0 | that's making things interesting here. | 05:28 |
scrottie0 | canShowDebug and related things are gone. | 05:29 |
scrottie0 | oh heck yeah. heck heck yeah. | 05:47 |
scrottie0 | I 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 #webgui | 06:11 |
-!- mode/#webgui [+o pbcj] by ChanServ | 06:11 |
scrottie0 | unrelatedly, 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 |
scrottie0 | and 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 #webgui | 06:19 |
-!- mode/#webgui [+o scrottie] by ChanServ | 06: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 #webgui | 07:51 |
-!- Radix__ [quasselcor@203.161.71.161.static.amnet.net.au] has joined #webgui | 08:07 |
-!- mode/#webgui [+v Radix__] by ChanServ | 08: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 #webgui | 08:37 |
elnino | hi....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 |
elnino | it seems i'm hitting a limit somewhere. | 08:38 |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui | 10:03 |
-!- mode/#webgui [+v BartJol] by ChanServ | 10: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 #webgui | 10:21 |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Ping timeout: 240 seconds] | 11:02 |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui | 11:13 |
-!- waxhead [~pete@ppp121-45-197-46.lns20.cbr1.internode.on.net] has joined #webgui | 11:55 |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui | 12:11 |
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui | 13:00 |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 13: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 #webgui | 13:49 |
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui | 15:15 |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 15:46 |
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui | 16:02 |
-!- mode/#webgui [+o bopbop] by ChanServ | 16:02 |
elnino | good 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 |
+BartJol | eeeh, where is that setting? | 16:38 |
elnino | my.cnf somewhere apparently. | 16:38 |
+BartJol | ah | 16:38 |
+BartJol | off course | 16:39 |
+BartJol | well, ik appears that is not defaullt set in the wre my.cnf | 16:40 |
+BartJol | s/ik/it/ | 16:40 |
elnino | hmm. | 16:40 |
elnino | apparently the defaul tis supposed to be 1024.. I'm assuming that's characters.... | 16:41 |
+BartJol | or bits... | 16:41 |
elnino | do you see if max_allowed_packet is set anywhere on webgui's hosting servers? | 16:41 |
+BartJol | max_allowed_packet=16M | 16:42 |
elnino | that allso affects group_concat_max_len | 16:42 |
elnino | 16M is big enough. =) | 16:42 |
+BartJol | I believe 16M is default | 16:42 |
elnino | well 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 #webgui | 16:46 |
elnino | its the most gnarly mysql statement I've ever written. | 16:47 |
SDuensin | Morning. | 16:47 |
elnino | BartJol - you're looking at the webgui's hosting servers? or just webgui code? | 16:48 |
+BartJol | 1 of our servers that runs WebGUI | 16:48 |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has left #webgui [] | 16:49 |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui | 16:49 |
-!- mode/#webgui [+v BartJol] by ChanServ | 16:49 |
elnino | do yo know who I'd ask about plainblacks' servers? | 16:49 |
+BartJol | everyone with a star before there name, except bop-bop I suppose | 16:49 |
+BartJol | maybe perldreamer | 16:50 |
elnino | preaction is sleeping without a star... | 16:50 |
+BartJol | ah, he should know too | 16:51 |
elnino | sorry 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 |
@frodwith | preaction is probably the one to ask, but he's probably asleep. | 16:53 |
elnino | thank you. | 17:04 |
+BartJol | they don't allow dutch people on their servers | 17:09 |
elnino | lol - thanks for your help BartJol | 17:10 |
* elnino steps away for acouple hours | 17:22 |
-!- plainhao [~plainhao@208.75.85.237] has joined #webgui | 17:40 |
-!- mode/#webgui [+o preaction] by ChanServ | 17:40 |
+BartJol | mmmm, strange i18n | 17:41 |
+BartJol | "You really don't need to know more than that." | 17:41 |
+BartJol | in Asset_Dashboard.isInitialized | 17:42 |
+BartJol | it makes me only curious | 17:42 |
@scrottie | people who ask too many questions about WebGUI are never heard from again. | 17:46 |
+BartJol | they are sucked into the plain black hole? | 17:46 |
@scrottie | exactly. where CPU load is so high that time stands still and no processes make it out of the vent horizon. | 17:48 |
@scrottie | event | 17:48 |
+BartJol | and committing more translations | 17:49 |
+BartJol | 99.8% | 17:49 |
@scrottie | is 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 #webgui | 17:59 |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 17:59 |
* scrottie waves to perlDreamer | 17:59 |
+perlDreamer | yo dude! | 17:59 |
@scrottie | yoo. | 17:59 |
@scrottie | I 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 |
@scrottie | or maybe it does and I'm reading this wrong. | 18:04 |
+BartJol | dutch translation is complete once again | 18:09 |
@scrottie | BartJol++ | 18:09 |
+BartJol | that was a while ago | 18:09 |
-!- kaare_ [~kaare@91.100.9.171.generic-hostname.arrownet.dk] has joined #webgui | 18:11 |
+perlDreamer | sorry BartJol, that shouldn't have taken as long as it did | 18:21 |
@scrottie | why is it that when I right click the edit tab, I don't get a menu? | 18:24 |
@scrottie | going to be very annoyed if I can't right click and open edit links in new tabs in the WG8 admin | 18:24 |
@scrottie | JS is great but unobtrusive JS is da domb | 18:25 |
@scrottie | bomb | 18:25 |
@scrottie | da DOM? | 18:25 |
@preaction | that doesn't quite work yet, actually | 18:27 |
@preaction | it's supposed to, but doesn't | 18:27 |
@scrottie | ah, okay. I forgive then. an IOU is fine. | 18:27 |
@preaction | a bunch of the menus don't work yet, only the one in the admin bar and the ones in the page icons | 18:28 |
@preaction | not the ones on the Tree view yet | 18:28 |
* scrottie nods | 18:28 |
@scrottie | should make Mckenzie do new templates for the edit view. | 18:28 |
@preaction | wait, you mean right-click on the edit page? | 18:28 |
@scrottie | right click on the grey Edit icon | 18:28 |
@scrottie | that goes eg above chunks of content in a page layout after you turn admin on. | 18:29 |
@preaction | oh monkey. that's a button now, you'll have to alt-click | 18:29 |
@preaction | i 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 |
@scrottie | I for one would be very glad for that but I don't know where it fits in the grand scheme of things | 18:30 |
@preaction | 6 of one, half-dozen of the other. as long as it looks the same, which shouldn't be difficult to do | 18:30 |
@scrottie | I can see about doing that too if you're already doing something. | 18:31 |
@scrottie | with more than a couple of people, deciding becomes more of a hurdle than doing. | 18:31 |
@preaction | sure, go ahead | 18:31 |
@scrottie | w00t. | 18:31 |
@preaction | though, you should be able to right-click on the Edit menu option maybe? | 18:32 |
@preaction | which reminds me those need to be ordered somehow. i don't think that order is predictable yet | 18:32 |
@scrottie | yeah, looks so. | 18:33 |
@scrottie | re: right click edit in the drop down | 18:33 |
@preaction | but still, making the button into a link would make things easier | 18:33 |
@scrottie | er, no... links to the same url with '#' after it | 18:34 |
@scrottie | re: the drop down | 18:34 |
@preaction | weird | 18:34 |
@preaction | oh, right, onclick handler | 18:34 |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has quit [Quit: Leaving.] | 18:36 |
@scrottie | only 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 |
@scrottie | not the old progress bar, mind you, but dhtmly one in a small grey rectangle in middle of the screen. | 18:54 |
@preaction | there are some bugs in my handling of the fork progresstree | 18:59 |
* scrottie nods | 18:59 |
@preaction | not sure what the hashref is doing during the copybranch though | 18:59 |
@scrottie | cool. | 18:59 |
@preaction | the Tree view ones work, i think i screwed them up for the normal helpers during that though | 19:00 |
@scrottie | fwiw, every copy in the tree view copies 0 / 1 in the progress bar. | 19:04 |
@preaction | yeah, i think i'm using the wrong var for the "total number of things to copy" | 19:06 |
@preaction | but 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 |
@scrottie | sounds like a job for tie + Carp::cluck. | 19:07 |
@preaction | but 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 |
@preaction | and 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, 5 | 19:12 |
@preaction | perl -d saves the day again | 19:12 |
-!- mducharme-lapto1 [~MDucharme@35-121-188-206.rev.knet.ca] has joined #webgui | 19:21 |
-!- mducharme-laptop [~MDucharme@35-121-188-206.rev.knet.ca] has quit [Ping timeout: 258 seconds] | 19:23 |
CIA-70 | webgui: 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/mifuVD | 19:24 |
-!- mducharme-laptop [~MDucharme@35-121-188-206.rev.knet.ca] has joined #webgui | 19: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 #webgui | 19:47 |
-!- mode/#webgui [+v BartJol] by ChanServ | 19:47 |
-!- mducharme-lapto1 [~MDucharme@35-121-188-206.rev.knet.ca] has joined #webgui | 20:02 |
-!- mducharme-lapto2 [~MDucharme@35-121-188-206.rev.knet.ca] has joined #webgui | 20:05 |
-!- mducharme-laptop [~MDucharme@35-121-188-206.rev.knet.ca] has quit [Ping timeout: 258 seconds] | 20:06 |
elnino | hi everyone! I'm back! | 20:07 |
@scrottie | hi elnino! | 20:07 |
@scrottie | elnino, character encoding interacts badly with field size limits. | 20:08 |
elnino | character encoding? | 20:08 |
@scrottie | yeah. 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 |
@scrottie | but 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 |
@scrottie | create your table with charset=ascii. | 20:09 |
elnino | right. I don't think my question had anythign to do with encoding.. I was just wondering what the limit was for group_concat | 20:09 |
elnino | my query is performing a query on a table created by webgui - via thingy. | 20:09 |
@scrottie | ah. | 20:10 |
@scrottie | I was going to say next that I had no idea if I was reading you correctly. | 20:10 |
elnino | oh.. | 20:10 |
@scrottie | or if that's what the problem is. just *sounded* like something. | 20:10 |
elnino | I created a thingy, and have got a nifty query going on it. that works. | 20:10 |
@scrottie | I'm scared. | 20:11 |
elnino | it outputs a hyperlink | 20:11 |
@scrottie | nooooooooo!! | 20:11 |
elnino | but now I want to add an "onclick" property to my output | 20:11 |
elnino | I have to.. | 20:11 |
elnino | but once I added an onclick to it, the output exceeds 400 characters and gets cut off. | 20:12 |
elnino | creating invalid html | 20:12 |
elnino | The other alternative is to use jquery to add the onclick perperty. | 20:12 |
elnino | reason I'm adding the onclick property is that I'm using google analytics to track the outbound links I'm creating. | 20:12 |
@scrottie | oh, hmm. no idea where that limit is. | 20:12 |
elnino | my.cnf | 20:12 |
@scrottie | really? | 20:12 |
elnino | but I don't have access to plainblacks servers. | 20:12 |
elnino | according to the mysql docs. | 20:13 |
@scrottie | what has a 400 char limit? | 20:13 |
elnino | group_concat_max_len | 20:13 |
@scrottie | dammit. the more I learn about MySQL, the more I learn that Postgres really has their house in order. | 20:13 |
@scrottie | seriously. | 20:13 |
* scrottie sighs | 20:13 |
@scrottie | you probably don't have admin access to the database either. | 20:14 |
elnino | correct. | 20:14 |
elnino | I'm just a customer. | 20:14 |
elnino | Barjol said that max_allowed_packet is set to 16M | 20:14 |
elnino | , which also affects the limit. | 20:14 |
elnino | I 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 |
elnino | and using the default sql report template, it's still being cut off, so it isn't my custom report template | 20:17 |
@scrottie | looks like they raised it in newer MySQLs. | 20:17 |
@scrottie | 1024. | 20:18 |
elnino | default 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 |
@scrottie | ugh. well, ... | 20:18 |
@scrottie | MySQL sucks. | 20:18 |
elnino | I think we established that. =) lol I don't know any better db. so I have no opinion. | 20:19 |
elnino | but if you go changing it on me, I'm not going to be happy. | 20:19 |
elnino | lol | 20:19 |
@scrottie | yeah. that's the rub. | 20:20 |
@scrottie | we're entrenched. | 20:20 |
elnino | so tell me what you know.. is 1024 enough for me? | 20:20 |
@scrottie | show global variables where Variable_name = 'group_concat_max_len' -- this would let you confirm the setting | 20:20 |
elnino | I can't do a show command. I would of if I could of. | 20:20 |
@scrottie | can you open / have you opened a support ticket for this? | 20:20 |
elnino | nope. | 20:20 |
elnino | I thought it was an easy answer. | 20:20 |
elnino | =) | 20:21 |
@scrottie | couldn't a SQLReport do a show command? | 20:21 |
elnino | nope. not last time I looked. | 20:21 |
@scrottie | but that's mostly just a diversion. | 20:21 |
@scrottie | huh. I've never tried. | 20:21 |
elnino | actually know. the webgui db conection setup area doesn't allow me to add that provision. | 20:21 |
@scrottie | I 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 |
elnino | s/know/no | 20:22 |
elnino | oh, and yes, I *Can* open a ticket. I thought you asked if I *did* | 20:23 |
@scrottie | the way I phrased that, I was kinda asking two questions at the same time ;) | 20:23 |
* elnino will do that now. | 20:24 |
+perlDreamer | you may have to make "show" an allowed keyword in the DatabaseLink that the SQL Report uses | 20:24 |
elnino | I can't seem to be able to dothat.. am I missing somethign? | 20:25 |
elnino | I'm using the webgui's database link. | 20:25 |
elnino | it's a "thingy" | 20:25 |
elnino | should I recreate a new webgui db link? | 20:25 |
elnino | what would the parambeters be? | 20:25 |
+perlDreamer | let's try this on a demo site... | 20:26 |
+perlDreamer | hm, that's correct | 20:27 |
elnino | the dblink? or package up my thingy? | 20:27 |
+perlDreamer | the dblink | 20:27 |
+perlDreamer | if you have a hosting type question about the db, it would be best to ask on the support board | 20:27 |
+perlDreamer | all PB's hosting is based off the WRE, so everything would be handled the same way | 20:27 |
+perlDreamer | I checked on 1 hosting server, and it's 1024 | 20:29 |
+perlDreamer | if every UTF-8 character was 3 bytes, then 400 wouldn't be enough | 20:30 |
elnino | so this is where I stumped scrottie. Is 1024, enough for me to output 402 characters? | 20:30 |
elnino | you're fast... | 20:30 |
+perlDreamer | I've been doing this for a while :) | 20:30 |
elnino | i'm glad i'm not crazy. | 20:30 |
+perlDreamer | I've known you for a while, and haven't known you to be crazy either | 20:30 |
elnino | is 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 |
elnino | thank you... lol | 20:31 |
+perlDreamer | what's the specific problem? | 20:31 |
elnino | I've got an impressive sql statemtn for a thingy I wrote, and i'm exceeding the concat_group limit. =) | 20:32 |
+perlDreamer | preaction, if you'd consider my latest Thingy ticket about packaging with and without table data, I'd love an opinion | 20:32 |
@preaction | it was packaged without table data because there was the other import/export method | 20:32 |
+perlDreamer | ah, good point! | 20:33 |
@preaction | in theory you could tie the two together, that might be nice | 20:33 |
@preaction | the future plan is to make packages more editable, so putting a csv blob in there might be good | 20:33 |
+perlDreamer | elnino, what's the SQL statement? | 20:33 |
elnino | I'll put it on pastebin.... | 20:33 |
+perlDreamer | preaction, so for now, this isn't a bug | 20:33 |
@preaction | it would be a feature if you want to do it | 20:34 |
+perlDreamer | it'd be nice to have an option to do it, or not, based on the usage case | 20:34 |
+perlDreamer | but we can get the data, and that's what matters for now | 20:34 |
elnino | http://pastebin.com/zGi5tQS2 | 20:35 |
+perlDreamer | huh | 20:36 |
+perlDreamer | if you had 10 rows with a 40 character entry, that'd be 400 | 20:37 |
+perlDreamer | ah, hang on | 20:38 |
+perlDreamer | it's group_concating the created URL's | 20:38 |
+perlDreamer | those are big | 20:38 |
+perlDreamer | I'm guessing something on the order of 150 characters per entry | 20:39 |
elnino | yep. | 20:39 |
elnino | in those hrefs, you see an "a" that is where a file path is supposed to tbe | 20:39 |
elnino | s/tbe/be | 20:39 |
elnino | I shorted it to "a" to see if it was a limit I was reaching. | 20:40 |
elnino | so I would say that each hyper link could be ... | 20:40 |
elnino | I figured 250 | 20:40 |
+perlDreamer | yeah, it's too big for more than 1 or 2 links | 20:41 |
elnino | well, 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 |
elnino | so. | 20:42 |
+perlDreamer | here are some options | 20:42 |
+perlDreamer | use JS to post-process the SQL Report output | 20:42 |
elnino | I 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 |
+perlDreamer | how about using the Thingy AJAX interfaces to do this? Would that work? | 20:42 |
elnino | My brain doesn't compute AJAX. It was hard enought o use yahoo api to make this a cool sortable table. =) | 20:43 |
+perlDreamer | it may not be as hard as you think | 20:44 |
+perlDreamer | each cell has a custom formatter | 20:44 |
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has quit [Quit: napping] | 20:44 |
+perlDreamer | and you can probably make asyncRequests to lookup information for each cell | 20:44 |
+perlDreamer | it would be slow though | 20:44 |
elnino | wait....l. my children are having a break down.. Can I come back in an hour or two? | 20:45 |
+perlDreamer | sure :) | 20:45 |
elnino | sorry. thanks! | 20:46 |
elnino | oh.. and jsut so you can see, this is what it's producing: http://www.standfirm.us/download/alphabetical | 20:50 |
elnino | that'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 #webgui | 20:53 |
+perlDreamer | elnino, I don't see any clipping going on, which row are you having problems with? | 20:56 |
+perlDreamer | I mean, you can save a little bit by taking out the "constant" strings like "with voice" and putting them into the template | 20:57 |
elnino | this 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 |
+perlDreamer | in fact... | 20:57 |
+perlDreamer | ah, I see | 20:57 |
+perlDreamer | which templating system are you using? | 20:58 |
elnino | the default. | 20:58 |
+perlDreamer | if you switched to Template::Toolkit | 20:58 |
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui | 20:58 |
-!- mode/#webgui [+o bopbop] by ChanServ | 20:58 |
+perlDreamer | you could probably just output the unique bits as a delimited string | 20:58 |
+perlDreamer | then use TT to split it and generate the links | 20:59 |
+perlDreamer | that gets you out of the group_concat limit by only returning the "important" bits | 20:59 |
+perlDreamer | and putting the formatting logic into a template, where it really works well | 20:59 |
+perlDreamer | it would mean learning TT though | 20:59 |
+perlDreamer | but there are good resources for that | 20:59 |
+perlDreamer | and TT should be part of a standard hosting package | 20:59 |
+perlDreamer | preaction, my TT pain is up to about 4 days per week | 21:01 |
@preaction | yay? | 21:01 |
+perlDreamer | perhaps, but when I get to 5 I'm going to start planning a 7.x transition to TT to be discussed | 21:02 |
+perlDreamer | because it just sucks the hoops that people have to jump through | 21:02 |
elnino | well. | 21:04 |
+perlDreamer | elnino, here's a link to split in TT: http://template-toolkit.org/docs/manual/VMethods.html#method_split | 21:04 |
elnino | the "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 |
elnino | s/part/issue | 21:05 |
elnino | I see though the value of using TT | 21:06 |
elnino | fot the other stuff. | 21:06 |
elnino | I 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 |
+perlDreamer | I do | 21:08 |
elnino | as a hosting customer, do I have the optoin to use TT? | 21:09 |
+perlDreamer | I believe so, however it's my turn to tend to kids | 21:13 |
+perlDreamer | I'll get you an answer in about 30 minutes or so | 21:13 |
elnino | =) | 21:16 |
elnino | I looked. I don't currently have the option. | 21:24 |
+perlDreamer | where is this site hosted? | 21:31 |
elnino | with you. | 21:34 |
elnino | well, at plainblack. | 21:34 |
+perlDreamer | :) | 21:34 |
+perlDreamer | does it have more than domain name attached to it? | 21:34 |
elnino | yes. I have about 4/5 aliases | 21:35 |
elnino | pilgrimsongs.us is the "real" one | 21:35 |
+perlDreamer | it's enabled now | 21:38 |
elnino | thx! - Ill go that route... | 21:39 |
@scrottie | 1.5 gigs of RAM to show the error page? sure! | 21:45 |
+perlDreamer | that's some stack trace | 21:50 |
@scrottie | Data::Dumper of all of the lexicals for each frame plus all of the arguments for each frame | 21:51 |
@scrottie | 30 odd frames deep | 21:51 |
@scrottie | with big fat objects | 21:51 |
* scrottie vomits code all over the repo | 21:58 |
+perlDreamer | well, it doesn't help that session is a huge nasty recursive object either | 21:58 |
CIA-70 | webgui: 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/johZZC | 21:58 |
CIA-70 | webgui: Scott Walters WebGUI8 * ra97c1c9 / lib/WebGUI/Middleware/StackTrace.pm : | 21:59 |
CIA-70 | webgui: middleware based on Plack::Middleware::StackTrace that also dumps all of the assets in a YUI tree view | 21:59 |
CIA-70 | webgui: because that seemed like a good idea at the time. - http://bit.ly/mwosqo | 21:59 |
CIA-70 | webgui: 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/iTEhms | 21:59 |
CIA-70 | webgui: Scott Walters WebGUI8 * r617ca06 / (lib/WebGUI/Middleware/StackTrace.pm sbin/testEnvironment.pl): | 21:59 |
CIA-70 | webgui: Tweak which stack frames WebGUI::Middleware::StackTrace skips for HTML and text | 21:59 |
CIA-70 | webgui: output; add the modules it uses to testEnvironment.pl; comment out the dumping | 21:59 |
CIA-70 | webgui: of the asset tree for now; silence a warning in testEnvironment.pl by tweaking | 21:59 |
CIA-70 | webgui: module test/load order - http://bit.ly/mphzb9 | 21:59 |
CIA-70 | webgui: Scott Walters WebGUI8 * r59a22f4 / (lib/WebGUI/Middleware/StackTrace.pm share/site.psgi): | 21:59 |
CIA-70 | webgui: set recursion limit to 1 for dumped lexicals and function args; with unlimited depth, it was | 21:59 |
@scrottie | I 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-70 | webgui: making my Mozilla shoot to 1.5gigs and taking the server and browser forever to get the | 21:59 |
CIA-70 | webgui: error page up. | 21:59 |
CIA-70 | webgui: keep the HTML of the original page and tack it on to the end of the stack trace. | 21:59 |
CIA-70 | webgui: add WebGUI::Middleware::StackTrace to the default site.psgi in place of the standard StackTrace, | 21:59 |
CIA-70 | webgui: but leave a comment for the other one in case people prefer it. - http://bit.ly/lKFgaY | 21:59 |
CIA-70 | webgui: Scott Walters WebGUI8 * r2f45f30 / lib/WebGUI/Middleware/StackTrace.pm : Doc improvements - http://bit.ly/l0iQrU | 22:08 |
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has quit [Quit: bye] | 22:19 |
+perlDreamer | time to go running | 22:31 |
CIA-70 | webgui: Scott Walters WebGUI8 * r8485707 / t/PSGI/StackTrace.t : Basic tests for WebGUI::Middleware::StackTrace - http://bit.ly/mc31sx | 22:58 |
-!- sbaur [~Adium@130.157.145.37] has joined #webgui | 23:33 |
@preaction | shortcut 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 |
@preaction | huh. how did some of these tests work at all... | 23:51 |
CIA-70 | webgui: 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/jaL8ff | 23:53 |
CIA-70 | webgui: Doug Bell WebGUI8 * ref2727f / (2 files in 2 dirs): update usedBy when redeeming subscription code - http://bit.ly/lrzJEn | 23:53 |
CIA-70 | webgui: Doug Bell WebGUI8 * re34d1ad / t/Asset/Snippet.t : shortcut no longer overrides getToolbar, so stop testing it - http://bit.ly/mtbL4r | 23:55 |
CIA-70 | webgui: Doug Bell WebGUI8 * r6ae2862 / t/Asset/Wobject/EventManagementSystem.t : all template vars have "controls" now - http://bit.ly/lAOz85 | 23:56 |
CIA-70 | webgui: Doug Bell WebGUI8 * r65f3f35 / t/Asset/Wobject/GalleryAlbum/view.t : class is now className when doing www_add - http://bit.ly/mi9BdG | 23:57 |
+BartJol | whoa, wg8 is booming | 23:59 |
--- Day changed Fri May 06 2011 |
@preaction | we're very close to an alpha | 00:00 |
@preaction | i'm right now making all our tests pass | 00:00 |
@preaction | then i'll probably test the upgrade against a local copy of pb.com and wg.org and if that works, mark an alpha | 00:01 |
@preaction | while i then go and fix helpdesk and automat for 8 so pb.com and wg.org can be actually upgraded | 00:01 |
+perlDreamer | and KarmaGifter, and the Karma payment plugin | 00:02 |
+perlDreamer | and whatever raft of other custom software's running on that box | 00:02 |
@preaction | right | 00: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 |
@scrottie | perl -e '*d = *a; print $d[0];' | 01:43 |
@scrottie | "String evals will no longer fail after 2 billion scopes have been compiled" | 01:51 |
@preaction | who's a jigga what? | 01:56 |
@preaction | i suppose for long long long long running processes | 01: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-70 | webgui: Doug Bell WebGUI8 * ra476f09 / t/Asset/Wobject/Shelf.t : Shelf no longer has importProducts or exportProducts, they're AssetHelpers - http://bit.ly/k0pGwx | 02:52 |
CIA-70 | webgui: Doug Bell WebGUI8 * r140b5a5 / (2 files in 2 dirs): move Shelf tests into AssetHelper tests (and fix the thing) - http://bit.ly/mKjffD | 02: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 #webgui | 03:16 |
@scrottie | DateTime doesn't list its deps very well... needs Class::ISA and List::MoreUtils and... | 03:18 |
@scrottie | DBD::mysql doesn't build cleanly on 5.14.0-rc2 | 03:19 |
@scrottie | ImageMagick is apparently just on crack | 03:21 |
@scrottie | I say we replace it with NetPBM. | 03:22 |
@scrottie | hrm, making an Image::Magick-work-a-like API based on NetPBM would be fun, if I were targetting an incomplete solution | 03:26 |
CIA-70 | webgui: Doug Bell WebGUI8 * r18dd9a4 / (2 files in 2 dirs): move export product tests and fix the export product helper - http://bit.ly/mlzp88 | 03:28 |
CIA-70 | webgui: Doug Bell WebGUI8 * rd7339c9 / t/Asset/Wobject/StoryArchive.t : class is now className in www_add - http://bit.ly/mliJlI | 03:30 |
CIA-70 | webgui: Doug Bell WebGUI8 * r36923dc / t/Asset/Wobject/WikiMaster/search.t : class is now className in www_add - http://bit.ly/lUKlqg | 03:30 |
CIA-70 | webgui: Doug Bell WebGUI8 * r61eff5b / t/Asset/dispatch.t : the default URL is /, not the empty string - http://bit.ly/kLPqHt | 03:37 |
CIA-70 | webgui: Doug Bell WebGUI8 * rbf75ed1 / t/Content/SiteIndex.t : we now cache the requested URL inside the session, fix it for tests - http://bit.ly/jrvNRT | 03:37 |
CIA-70 | webgui: Doug Bell WebGUI8 * rf33f4db / t/Macro/AdminText.t : admin mode is always on for admins - http://bit.ly/m6eQyT | 03:37 |
@preaction | 6 failing test scripts left! | 03:41 |
@scrottie | # Failed test 'use Crypt::SSLeay;' | 03:43 |
CIA-70 | webgui: 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/lgot5I | 03:44 |
CIA-70 | webgui: Doug Bell WebGUI8 * r0693e33 / t/Shop/ShipDriver/FlatRate.t : getEditForm is a FormBuilder and doesnt include csrfToken (added by www_edit) - http://bit.ly/k2yNQg | 03:46 |
@preaction | One of these pictures was rotated 90 degrees and then back again by Imagemagick. guess which one? | 03:52 |
@preaction | http://dl.dropbox.com/u/226725/Screen%20shot%202011-05-05%20at%207.51.31%20PM.png | 03:52 |
CIA-70 | webgui: Doug Bell WebGUI8 * r6b0cd93 / (t/Storage.t t/Storage/Image.t): i'm not testing that imagemagick does it correctly... - http://bit.ly/mbhUQI | 04:02 |
elnino | HELLO! THANK YOU for http://www.webgui.org/wgtv/template-toolkit-introduction and http://www.webgui.org/ht_to_tt!!! | 04:11 |
@preaction | thank bopbop and frodwith respectively | 04:11 |
elnino | thank you thank you! | 04:12 |
@preaction | scrottie: 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 |
@scrottie | cool. yeah, I'll do before and after the Plack "fix". thank you. | 04:19 |
@scrottie | POE::API::Peek falls apart under 5.14. | 04:20 |
@scrottie | though I think the tests that I would cause to fail don't exist and need to be written. | 04:36 |
@scrottie | I don't see Class::InsideOut used anywhere but it's still in testEnvironment.pl. kill? | 04:38 |
@preaction | please | 04:38 |
@preaction | and take great joy in it | 04:38 |
* scrottie nods | 04:39 |
@scrottie | I 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-70 | webgui: Scott Walters WebGUI8 * r13a2c35 / lib/WebGUI/Middleware/StackTrace.pm : | 04:43 |
CIA-70 | webgui: Get rid of the cargo culted code about sending a text reply if the browser didn't specify | 04:43 |
CIA-70 | webgui: that it understands HTML. This interacts badly with Plack::Test and doesn't have much of | 04:43 |
CIA-70 | webgui: a point in real life anyway, and I accidentally sent the test up that dends on this being | 04:43 |
CIA-70 | webgui: gone without sending this too. Argh. If I could send up a coherent commit just once... - http://bit.ly/kOGLgJ | 04:43 |
CIA-70 | webgui: 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/jMGU9b | 04: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 #webgui | 06: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 #webgui | 07:08 |
elnino | hi. in the template world, is session.var.adminOn a hash array reference? | 07:09 |
@preaction | no, it's just a boolean | 07:10 |
elnino | so.. I was all excited about http://www.webgui.org/ht_to_tt, but it didn't seem to work. | 07:10 |
elnino | it converted session.var.adminOn into session_var_adminOn - would that be correct? | 07:11 |
elnino | I'm trying to debug the resulting tt and just want to make sure I'm reading this correclty. | 07:11 |
@preaction | yes, TT requires that any var with . becomes _ | 07:11 |
@preaction | because . is reserved by TT's use | 07:12 |
@preaction | so if it says it has a . in the help, it should be a _ instead | 07:12 |
elnino | the converter also converted <tmpl_loop debug_loop> to | 07:13 |
elnino | FOREACH item IN debug_loop; FOREACH [item] | 07:13 |
elnino | would that be a correct conversion? | 07:13 |
elnino | I would think it would simply be: | 07:14 |
elnino | FOREACH debug_loop | 07:14 |
@preaction | no, it's FOREACH item IN debug_loop | 07:15 |
@preaction | then inside the loop, you refer to item | 07:15 |
elnino | not occording to http://www.webgui.org/wgtv/template-toolkit-introduction presentation.... Oh I'm so confused. | 07:16 |
@preaction | http://template-toolkit.org/docs/manual/Syntax.html <- the definitive source | 07:16 |
@preaction | also, http://template-toolkit.org/docs/manual/Directives.html | 07:17 |
@preaction | specifically http://template-toolkit.org/docs/manual/Directives.html#section_FOREACH | 07:17 |
elnino | yes, that's where I started to ask here. Cause they didn't agree. =) | 07:17 |
@preaction | they're both correct, but the one the converter did is better | 07:17 |
elnino | what it converted didn't work, and i made sure I changd the "template type" too | 07:18 |
elnino | even 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 |
elnino | oh. I guess they do. something else is preventing them from displaying. | 07:20 |
elnino | I guess I'll go and include each line back in at a time. | 07:20 |
elnino | Thanks! | 07:20 |
-!- gugod [~gugod@114-32-222-155.HINET-IP.hinet.net] has quit [Ping timeout: 264 seconds] | 07:44 |
elnino | AH HA! | 07:56 |
-!- gugod [~gugod@114-32-222-155.HINET-IP.hinet.net] has joined #webgui | 07:56 |
elnino | did that show up? | 07:56 |
elnino | darn. | 07:57 |
elnino | there is a | 07:57 |
elnino | slash *<![CDATA[* slash | 07:57 |
elnino | showing up in my html code.. that shouldn't be there. | 07:57 |
elnino | I'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 |
elnino | yes. It appears and I don't know how to get rid o fit. | 08:16 |
@preaction | as long as it has a matching /*]]>*/ at the end and you're using an XHTML doctype, it shouldn't matter | 08:16 |
elnino | oh 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 HT | 08:17 |
elnino | s/i todes/it does | 08:17 |
elnino | Ot | 08:18 |
elnino | opps | 08:18 |
elnino | it does have that slash*]] stuff at the end... | 08:18 |
elnino | I'll do a pastebin. | 08:18 |
elnino | http://pastebin.com/fPEGygPj - I stripped out a lot of the javascript | 08:21 |
@preaction | what is the error you're getting? | 08:22 |
@preaction | and pastebin the entire thing | 08:22 |
@preaction | the template preferably | 08:22 |
elnino | http://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 #webgui | 08:24 |
@preaction | there is no cdata stuff in there. did you turn on the compressed or minified template? | 08:25 |
elnino | compressed | 08:25 |
@preaction | that is probably what's doing it then | 08:25 |
elnino | right. the cdata is appearing in the output. | 08:25 |
elnino | oh. let me try that then. | 08:25 |
elnino | OK.. so I turned "packed" off and the CDATA disappeared. but report is still not displaying. grr. back to drawing board again. | 08:27 |
@preaction | the cdata block is not incorrect, it is the correct way to escape non-XML inside of XML | 08:28 |
@preaction | otherwise the <a href> and everything needs to be <a href> to be valid XML | 08:28 |
elnino | I think I found it... my attempt at debugging. | 08:28 |
elnino | darn. | 08:30 |
elnino | didn't work. | 08:30 |
elnino | this is the output http://pastebin.com/4dgy0X3H | 08:35 |
elnino | I'm missing commas.. let me fix that... | 08:36 |
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has joined #webgui | 08:38 |
-!- mode/#webgui [+o pbcj] by ChanServ | 08:38 |
@preaction | you've got some barewords in there | 08:41 |
@preaction | javascript: pageTracker._trackPageview(/mp3/voice/a); <- /mp3/voice/a needs quotes | 08:41 |
@preaction | also, onclick doesn't need javascript: | 08:42 |
@preaction | also it's all lowercase | 08:42 |
@preaction | (onclick) | 08:42 |
elnino | ok I change that too. I copied from google =) | 08:42 |
elnino | it was the comma. not sure why [% UNLESS loop.last %],[% END %] doesn't work. | 08:47 |
elnino | that's what the converter gave me. | 08:47 |
elnino | I'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 #webgui | 09:19 |
-!- andyiomoon1 [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui | 09:21 |
-!- andyiomoon [~andyiomoo@vpn246-12.cc.swin.edu.au] has quit [Ping timeout: 240 seconds] | 09:23 |
elnino | thanks 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 |
elnino | good 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 #webgui | 10:00 |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui | 10:08 |
-!- mode/#webgui [+v BartJol] by ChanServ | 10:08 |
-!- cromartie-x182 [~cromartie@24.229.243.68.res-cmts.sm.ptd.net] has joined #webgui | 10: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 #webgui | 13:49 |
-!- plainhao [~plainhao@208.75.85.237] has joined #webgui | 15:47 |
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui | 16:41 |
-!- mode/#webgui [+o bopbop] by ChanServ | 16:41 |
SDuensin | FrIdAy! | 16:51 |
-!- andyiomoon1 [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Quit: Leaving.] | 17:02 |
-!- sbaur [~Adium@130.157.145.37] has joined #webgui | 17:30 |
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui | 17:56 |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 17:56 |
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has joined #webgui | 17:57 |
-!- mode/#webgui [+o pbcj] by ChanServ | 17:57 |
@pbcj | mornin' | 17:59 |
-!- kaare_ [~kaare@91.100.9.171.generic-hostname.arrownet.dk] has joined #webgui | 18:03 |
sbaur | happy friday! | 18:06 |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has quit [Quit: Leaving.] | 18:08 |
-!- mode/#webgui [+o preaction_] by ChanServ | 18:33 |
-!- preaction_ is now known as preaction | 18:47 |
CIA-70 | webgui: Doug Bell WebGUI8 * r5cefff9 / t/Workflow/Activity/RemoveOldCarts.t : make RemoveOldCarts test more robust - http://bit.ly/jOUMJD | 21:20 |
+perlDreamer | preaction: need a backport to 7.x? | 21:21 |
@preaction | maybe? | 21:21 |
@preaction | it could probably use it, that test fails when run in conjunction with any other shop test that fails to clean up every cart | 21:22 |
+perlDreamer | like, in parallel? | 21:25 |
+perlDreamer | every test should clean up carts | 21:25 |
+perlDreamer | anyway | 21:25 |
+perlDreamer | if it doesn't then I can give you a boot | 21:25 |
+perlDreamer | since I likely wrote all those tests | 21:25 |
+perlDreamer | and I should know better | 21:26 |
@preaction | sure they should, but other tests shouldn't care what carts are there before it | 21:27 |
+perlDreamer | preaction, I have to run, but I got to thinking about 7.10 and a feature freeze | 22:24 |
+perlDreamer | when should we freeze? | 22:24 |
@preaction | i was thinking when 8 goes beta | 22:25 |
@preaction | well, after 8 goes beta we'll announce it | 22:25 |
+perlDreamer | so, give a few weeks for the stragglers, then lock it down? | 22:25 |
@preaction | more like give 8 beta a few weeks to calm down then lock 7.10 | 22: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 #webgui | 00:01 |
+perlDreamer | bah | 00:24 |
+perlDreamer | 8 will wow the world | 00: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 #webgui | 00:25 |
-!- mode/#webgui [+o preaction] by ChanServ | 00:25 |
CIA-70 | webgui: 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/lORzAb | 00:40 |
+perlDreamer | now, come on preaction | 00:42 |
+perlDreamer | you and I have clearly defined roles | 00:42 |
+perlDreamer | you get to be the young, dynamic architecture wizard | 00:43 |
CIA-70 | webgui: 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/lJhulz | 00:43 |
+perlDreamer | and I am the old, crotchety, cynical, skeptical maintenance engineer | 00:43 |
@preaction | i object to three of those words :p | 00:43 |
+perlDreamer | if you start being cynical, I'll have to be young or dynamic | 00:43 |
+perlDreamer | and that won't be pretty | 00:43 |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui | 01: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 #webgui | 03: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 #webgui | 08:44 |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 17:58 |
-!- docster_ [~docster@10.187-available-ethint-fratm-cc.sccoast.net] has joined #webgui | 18: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.23 | 18: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 be | 19: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 #webgui | 20:34 |
elnino | openid scares the bejeebies out of me. Can anyone convince me why it shouldn't? | 20:36 |
elnino | and 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 #webgui | 21: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 #webgui | 03:23 |
arcanez | seen rizen | 03:23 |
arcanez | perlbot: bad bot | 03:23 |
perlbot | arcanez: 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 #webgui | 08:03 |
-!- kaare_ [~kaare@91.100.9.171.generic-hostname.arrownet.dk] has joined #webgui | 08: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 #webgui | 08:09 |
-!- lem_ [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 08:09 |
-!- lem_ is now known as Guest2695 | 08: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 #webgui | 09: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 #webgui | 12: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 #webgui | 18: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 #webgui | 03: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 #webgui | 08:45 |
-!- Haarg [~haarg@haarg.org] has quit [Quit: Leaving] | 10:03 |
-!- Haarg [~haarg@haarg.org] has joined #webgui | 10:04 |
-!- Haarg [~haarg@haarg.org] has quit [Excess Flood] | 10:04 |
-!- Haarg [~haarg@haarg.org] has joined #webgui | 10:05 |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui | 10:31 |
-!- mode/#webgui [+v BartJol] by ChanServ | 10:31 |
-!- waxhead [~pete@ppp121-45-197-46.lns20.cbr1.internode.on.net] has joined #webgui | 12:20 |
-!- carogray [~Caroline@174-146-225-64.pools.spcsdns.net] has joined #webgui | 13: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 #webgui | 13:28 |
-!- carogray1 [~Caroline@108.96.165.210] has joined #webgui | 13: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 #webgui | 13: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 #webgui | 14:02 |
-!- mode/#webgui [+o khenn] by ChanServ | 14: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 #webgui | 15:21 |
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui | 16:30 |
-!- mode/#webgui [+o bopbop] by ChanServ | 16:30 |
SDuensin | Greetings. | 16:57 |
arcanez | where is that rizen fellow | 16: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 #webgui | 17:04 |
-!- mode/#webgui [+o khenn] by ChanServ | 17:04 |
+BartJol | arcanez: he doen't hang out here too much lately | 17:35 |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui | 17:37 |
arcanez | that doesn't sound like much fun :( | 17:46 |
+BartJol | nope | 17:48 |
arcanez | does he irc _at all_? | 17:48 |
+BartJol | now and then | 17:48 |
+BartJol | I also have the problem of 7 hours time difference with him | 17:48 |
+BartJol | so it might also be that that is part of the problem | 17:49 |
arcanez | .nl? | 17:49 |
+BartJol | yes | 17:49 |
arcanez | great as everyone says? | 17:49 |
+BartJol | off course | 17:49 |
@preaction | he doesn't do much webgui work these days | 17:51 |
arcanez | all lacuna? :) | 17:51 |
@preaction | that and www.thegamecrafter.com 2.0 | 17:51 |
@preaction | fortunately he left a capable lieutenant in charge of the webgui | 17:52 |
arcanez | I just wanted to talk to him about Facebook::Graph :) | 17:52 |
@preaction | he might be in #lacuna-expanse | 17:53 |
@preaction | nm, e-mail perhaps? | 17:53 |
arcanez | is he responsive on that? | 17:54 |
@preaction | as far as i know yes, but i've got an in | 17:56 |
@preaction | otherwise if there's a github repo, he'll probably respond to tickets | 17:57 |
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui | 17:59 |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 17:59 |
+perlDreamer | morning, folks | 17:59 |
+perlDreamer | BartJol, you can give Rory a big high-five for posting that reCaptcha bug | 18:00 |
arcanez | k | 18:03 |
-!- sbaur [~Adium@130.157.145.37] has joined #webgui | 18:03 |
CIA-70 | webgui: Paul Driver master * rf153882 / (3 files in 3 dirs): rfe #12123: Layouts related for export purposes - http://bit.ly/jctU3g | 18:04 |
+perlDreamer | frodwith, pretty soon WebGUI will just export the whole thing :) | 18:05 |
@frodwith | :( | 18:05 |
+perlDreamer | well, you already get related layouts | 18:06 |
+perlDreamer | and if the layouts export all their children... | 18:06 |
@frodwith | they don't, actually | 18:06 |
+perlDreamer | maybe I should read your code intead of making dumb comments based on the commit messages | 18:06 |
@frodwith | it's not a dumb comment | 18:07 |
arcanez | webgui runs on mod_perl? | 18:07 |
@frodwith | I had/have the same concern | 18:07 |
@frodwith | yeah arcanez, although webgui 8 is a psgi app | 18:07 |
+BartJol | perlDreamer: he just left the building | 18:07 |
@frodwith | perlDreamer: 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 |
@frodwith | So 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 |
+perlDreamer | I don't get the "exporting this may invalidate these other assets" part. | 18:11 |
@frodwith | let's say you've got an article on a layout | 18:12 |
+perlDreamer | k | 18:12 |
@frodwith | and you've exported your whole site at some point | 18:12 |
@frodwith | so you've got a static version of your site sitting around | 18:12 |
@frodwith | and you go and edit the article | 18:12 |
+perlDreamer | ah, okay | 18:12 |
@frodwith | now, you don't want to export your whole site again, cause it took an hour | 18:12 |
@frodwith | yeah, you've got it | 18:12 |
@frodwith | :) | 18:12 |
+perlDreamer | and in the odd case I was thinking of | 18:13 |
+perlDreamer | I want to export a branch of my site | 18:13 |
+perlDreamer | this is the first export ever | 18:13 |
+perlDreamer | there's a related asset "over there" | 18:13 |
+perlDreamer | and I not only get it, but it's container as well | 18:13 |
@frodwith | in that case, I think you wouldn't want to export related assets at all | 18:14 |
+perlDreamer | probably | 18:14 |
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has quit [Quit: napping] | 18:15 |
+perlDreamer | it would certainly wreak havoc with the funky broken navigation that would be generated on the related asset | 18:18 |
@frodwith | I 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 else | 18:19 |
@frodwith | I mean, I suppose you could monkeypatch Asset::New and see what all gets loaded when you export the page | 18:20 |
+perlDreamer | yeah, like the UserList asset, which can give you links to user profiles | 18:20 |
+perlDreamer | any other kind of account link | 18:20 |
@frodwith | yeah | 18:20 |
+perlDreamer | actually, anything that isn't an asset won't export well | 18:20 |
+perlDreamer | FilePump content | 18:21 |
@frodwith | i think static stuff generally avoids talking about users at all though | 18:21 |
@frodwith | We 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-70 | webgui: 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/khiHcW | 18:25 |
CIA-70 | webgui: 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/kxBjME | 18:25 |
-!- arcanez [arcanez@warpedreality.org] has left #webgui [] | 18:29 |
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui | 18:44 |
-!- mode/#webgui [+o bopbop] by ChanServ | 18:44 |
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has joined #webgui | 18:52 |
-!- mode/#webgui [+o pbcj] by ChanServ | 18: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 #webgui | 20:17 |
-!- mode/#webgui [+o khenn] by ChanServ | 20:17 |
+perlDreamer | preaction: so the folks at Google have bought Recaptcha | 20:49 |
+perlDreamer | and this month they've decided to stop using the old recaptcha URLs | 20:49 |
SDuensin | Oh fun. | 20:50 |
+perlDreamer | and use bright shiny new google URLs for doing recatpcha fetches and verifies | 20:50 |
+perlDreamer | I have fixed that bug for 7.9 and 7.10 | 20:50 |
+perlDreamer | but there are folks out there with earlier versions | 20:50 |
+perlDreamer | do we release an advisory with patches, or just notify them so they can upgrade? | 20:50 |
@preaction | perlDreamer: i'd say notify them so they can upgraydd | 20:59 |
+perlDreamer | hm either you need coffee, of you're secretly saying that upgrading is a gray issue | 20:59 |
+perlDreamer | but I'll do that | 20:59 |
@preaction | it's not tat big of a deal | 20:59 |
sbaur | um, I'd say upgrading is a huge deal for some of us... | 21:02 |
SDuensin | Upgrading scares me. | 21:03 |
+perlDreamer | sbaur, in the advisory I'll post a link to the bug | 21:03 |
+perlDreamer | the bug lists the commit to fix the bug | 21:04 |
+perlDreamer | so it can be backported by anyone who is stuck due to custom code or lack of resources to do it | 21:04 |
+perlDreamer | in, fact, if you're curious, it's this one http://bit.ly/khiHcW | 21:05 |
sbaur | Thanks pD. Now I just have to remember which of my servers/sites are using recaptcha... | 21:06 |
+perlDreamer | are your servers using the same version of WebGUI? | 21:07 |
+perlDreamer | if so, then just patch 1, then copy Form/Captcha to the rest | 21:07 |
sbaur | currently, they are, but probably not for much longer | 21:07 |
sbaur | yup | 21:08 |
sbaur | but it would be good to have a site in mind to test on after the patch is applied :-) | 21:08 |
+perlDreamer | true | 21:08 |
+perlDreamer | you're using WebGUI 7.6? | 21:09 |
sbaur | 7.5.40 | 21:09 |
+perlDreamer | hm, wgd has a "for-each" command | 21:09 |
+perlDreamer | where it will do another command on each site via the config files | 21:09 |
* sbaur hasn't played with wgd at all yet | 21:09 |
+perlDreamer | wgd is a life saver | 21:10 |
+perlDreamer | for example, to find the sites using recaptcha | 21:10 |
+perlDreamer | wgd for-each setting useRecaptcha | 21:10 |
+perlDreamer | will help you find that | 21:10 |
sbaur | nice | 21:10 |
+perlDreamer | Haarg did lots of work to make sure it would work with earlier versions of WebGUi | 21:10 |
+perlDreamer | so it might be worth a try | 21:11 |
+perlDreamer | otherwise, a little script will do the same thing | 21:11 |
Haarg | i 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 |
+perlDreamer | does wgd work back to 7.5.40 Haarg? | 21:14 |
sbaur | Actually, 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 |
+perlDreamer | yay! | 21:14 |
Haarg | perlDreamer it should | 21:14 |
+perlDreamer | Go learn wgd anyway sbaur. You'll be happy you did :) | 21:14 |
sbaur | It's on my list already... | 21:14 |
Haarg | perlDreamer, have you seen any servers where wgd fails to load its documentation? | 21:17 |
+perlDreamer | no, but I haven't really looked, either | 21:18 |
+perlDreamer | I'll start keeping my eyes open | 21:18 |
+perlDreamer | I know that on my Ubuntu box it works fine | 21:18 |
+perlDreamer | and on every CentOS box I've ever looked at | 21:18 |
Haarg | generally the short help work but long help fails | 21:18 |
Haarg | and 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 |
+perlDreamer | whoa | 21:19 |
+perlDreamer | got one right now | 21:19 |
+perlDreamer | what would you like to know? | 21:19 |
Haarg | hmm | 21:19 |
+perlDreamer | this is a WRE using site 0.9.3 | 21:20 |
+perlDreamer | CentOS 5.5 (shouldn't matter that much) | 21:20 |
Haarg | can you try running from wgd source instead of the single file? | 21:20 |
Haarg | give me a minute and i can get you a tarball so you don't have to build it | 21:20 |
+perlDreamer | thanks :) | 21:20 |
+perlDreamer | perl 5.10.0 | 21:21 |
Haarg | recent version of dzil actually did add a thing to help me fix it so it's easy to get all the build prereqs | 21:22 |
Haarg | http://haarg.org/temp/WGDev-0.1105090.tar.gz | 21:22 |
+perlDreamer | this is odd | 21:23 |
+perlDreamer | I ran perl Makefile.PL | 21:24 |
+perlDreamer | and it build a makefile | 21:24 |
+perlDreamer | ran make | 21:24 |
+perlDreamer | then when I ran make test it complains about Try::Tiny missing | 21:24 |
+perlDreamer | maybe a missing dependency? | 21:24 |
Haarg | possibly | 21:24 |
+perlDreamer | let me install that, then run make test again | 21:24 |
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has quit [Quit: napping] | 21:25 |
+perlDreamer | nope | 21:26 |
Haarg | ? | 21:26 |
+perlDreamer | long help still not working | 21:26 |
+perlDreamer | but Try::Tiny should still be added | 21:27 |
Haarg | ok, that's a start. so definitely something wrong with the code and not the packaging. | 21:27 |
Haarg | yeah. 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 |
+perlDreamer | oh, okay | 21:27 |
Haarg | but yeah, i'll fix that | 21:27 |
+perlDreamer | and perl -d didn't like running wgd | 21:28 |
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui | 21:32 |
-!- mode/#webgui [+o bopbop] by ChanServ | 21:33 |
Haarg | can you add some debugging to lib/WGDev/Help.pm to see where it has the pod text and where it loses it? | 21:33 |
+perlDreamer | already there | 21:33 |
Haarg | in the package_pod sub | 21:33 |
+perlDreamer | it says there's no POD | 21:36 |
+perlDreamer | version problems with Pod::Select maybe? | 21:37 |
Haarg | where does it say there's no pod? | 21:37 |
+perlDreamer | I added some code after every ->throw in package_pod | 21:37 |
+perlDreamer | and all of them printed | 21:37 |
+perlDreamer | so then I asked it show me the pod that it had found | 21:37 |
+perlDreamer | and it was empty | 21:38 |
Haarg | what about $raw_pod ? | 21:38 |
Haarg | it kind of seems like it's the parse_from_filehandle call that isn't working for some reason. | 21:39 |
Haarg | what version of Pod::Select do you have? | 21:39 |
Haarg | i remember checking that before though and the error was happening with the same version i'm using | 21:40 |
+perlDreamer | raw_pod is okay | 21:40 |
+perlDreamer | and the POD is okay, too, I forgot to install the code before rerunning | 21:40 |
Haarg | what do you mean by 'the POD' exactly? | 21:41 |
+perlDreamer | well, package_pod returns POD that it found in the requested file | 21:42 |
+perlDreamer | and if there are sections requested, then they get filtered and that's returned instead | 21:42 |
+perlDreamer | so, at the end I added warn "$pod"; | 21:42 |
+perlDreamer | and I get POD | 21:42 |
Haarg | so is long help still failing? | 21:42 |
+perlDreamer | yes | 21:42 |
Haarg | what happens exactly? | 21:43 |
Haarg | also what do you get from wgd commands ? | 21:43 |
+perlDreamer | wgd commands: http://gist.github.com/963095 | 21:44 |
Haarg | ok so that's working. had a report of that not loading the descriptions. | 21:44 |
+perlDreamer | bottom part of what comes out when I run my modifed/debugged wgd help ls http://gist.github.com/963101 | 21:45 |
Haarg | can you try running it as not root? | 21:46 |
+perlDreamer | when not root, it works | 21:47 |
Haarg | well that's a start. | 21:47 |
+perlDreamer | the if statement is bein triggered at the bottom of package_perldoc | 21:48 |
Haarg | give me a minute and i'll have another version for you to test | 21:48 |
Haarg | what is your umask? | 21:49 |
+perlDreamer | 0022 | 21:50 |
+perlDreamer | for root | 21:50 |
+perlDreamer | and for me, 0002 | 21:50 |
+perlDreamer | in that if statement, $? is 256 | 21:50 |
Haarg | yeah. it's probably another variant of the problem i worked around before. | 21:50 |
Haarg | perldoc tries to drop privs | 21:51 |
Haarg | so the temp file written out is inaccessible | 21:51 |
+perlDreamer | but root usually supersedes permissions | 21:51 |
Haarg | it switches to another user | 21:52 |
+perlDreamer | ah | 21:52 |
Haarg | so that it isn't root anymore | 21:52 |
+perlDreamer | seems odd that Pod::Perldoc doesn't have any POD | 21:54 |
-!- jimX11 [~jjm@n128-227-81-249.xlate.ufl.edu] has joined #webgui | 21:57 |
+perlDreamer | morning, jimX11 | 21:57 |
jimX11 | howdy | 21:57 |
Haarg | i'm fishing through internals right now :/ | 21:57 |
Haarg | no worse than i've done before though | 21:58 |
+perlDreamer | Haarg, I'm thinking about a run | 22:02 |
+perlDreamer | are you close so that I should wait? | 22:02 |
Haarg | two minutes and we'll see | 22:02 |
Haarg | ok, it's going to take me a while longer | 22:04 |
+perlDreamer | I'll go for a run, that'll give you plenty of time | 22:04 |
+perlDreamer | it was an ugly run, I hope you had better time coding, Haarg | 22:44 |
Haarg | http://haarg.org/temp/WGDev-0.1105090.tar.gz updated | 22:45 |
+perlDreamer | works well | 22:46 |
Haarg | cool | 22:46 |
+perlDreamer | I get formatted *roff output as both root and a normal user | 22:47 |
Haarg | the pod parsing modules are all pretty crufty and terrible to work with | 22:51 |
Haarg | does the formatting look correct? having the package name at the top and being the correct width? | 22:58 |
+perlDreamer | I'm on a call, I'll check that in a bit | 22:59 |
CIA-70 | wgdev: Graham Knop master * r69ac91e / (lib/WGDev/Command/Base.pm lib/WGDev/Command/Help.pm): allow help errors to propagate - http://bit.ly/jqY0lN | 23:24 |
CIA-70 | wgdev: Graham Knop master * r2cf4c58 / lib/WGDev/Help.pm : | 23:24 |
CIA-70 | wgdev: drop privileges before writing temp file for perldoc | 23:24 |
CIA-70 | wgdev: This moves the entire process of writing the temp file for perldoc into | 23:24 |
CIA-70 | wgdev: the subprocess. Before creating any directories or files, it drops | 23:24 |
CIA-70 | wgdev: privileges using Pod::Perldoc's drop_privs_maybe method. This should | 23:24 |
CIA-70 | wgdev: guarantee they can be read by perldoc. - http://bit.ly/mGt23w | 23:24 |
CIA-70 | wgdev: Graham Knop master * rdb91021 / (README dist.ini): improve build instructions - http://bit.ly/kW4m72 | 23:24 |
CIA-70 | wgdev: Graham Knop master * r88de6e3 / Changes : | 23:24 |
CIA-70 | wgdev: v0.1105090 | 23:24 |
CIA-70 | wgdev: - fix documentation when run as root - http://bit.ly/iTw6Y1 | 23: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 #webgui | 23:59 |
SquOnk | Greetings. | 23:59 |
+perlDreamer | greets, SquOnk | 23:59 |
SquOnk | perlDreamer: 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 |
+perlDreamer | it may not be implemented in all templates | 00:00 |
SquOnk | ...yeah, I saw that, but couldn't figure out how it works. | 00:00 |
* SquOnk is a tad slow today | 00:00 |
+perlDreamer | yeah, I hear ya | 00:00 |
SquOnk | Having a new Android phone has to do with that ;-) | 00:01 |
+perlDreamer | from what I'm seeing in processTemplate, they should already be there | 00:01 |
+perlDreamer | so, if you have metadata enabled on the site | 00:01 |
+perlDreamer | and an Asset has fields | 00:01 |
+perlDreamer | there will be a by-name interface to the metadata values for that field | 00:01 |
SquOnk | perlDreamer: Do you mean plain <tmpl_var my-metadata-field>? | 00:01 |
+perlDreamer | yup | 00:02 |
+perlDreamer | any template processed by processTemplate will have that in it | 00:02 |
SquOnk | Well, it's the *simplest* cleanest solution, now that I think of it. | 00:02 |
SquOnk | But as I said before, I'm a tad slow today. | 00:02 |
+perlDreamer | WebGUI is renowned for it's simple and clean solutions | 00:02 |
SquOnk | Had 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 20 | 00:04 |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Ping timeout: 260 seconds] | 00:05 |
+perlDreamer | Haarg, is there a new wgd available for download? | 00:21 |
+perlDreamer | I know for existing sites we can wgd update | 00:22 |
Haarg | http://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 |
+perlDreamer | sure | 00:23 |
+perlDreamer | between git and wgd, do you get a lot of requests for tarballs? | 00:24 |
Haarg | not really | 00:24 |
Haarg | i'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 |
+perlDreamer | I use it all the time | 00:25 |
+perlDreamer | it's hard to beat wget http://haarg.org/wgd | 00:25 |
Haarg | also, i was wrong about Try::Tiny. it is needed for WGDev itself, not just the tests. | 00:34 |
Haarg | but the single file dist packages it in, so it wasn't causing problems for users | 00:35 |
-!- SquOnk [~emhn@186.93.207.12] has quit [Quit: Yippie kay-ai-yay, fudder muckers!] | 00:42 |
+perlDreamer | Haarg, if I try to run a utility script in another directory | 01:01 |
+perlDreamer | I sh ould be able to pass wgd the -R switch and have it run, yes? | 01:01 |
Haarg | using the util command? iirc it changes to the sbin directory before running scripts. | 01:02 |
+perlDreamer | hm, 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 #webgui | 01:04 |
-!- mode/#webgui [+o pbcj] by ChanServ | 01:04 |
Haarg | the util scripts like to assume that you are in sbin when they are run | 01:04 |
Haarg | i think that's been fixed, but wgd aims to work with older versions as well | 01:04 |
+perlDreamer | I figured that since wgd would set the environment by reading preload.custom it would work anyway | 02:03 |
+perlDreamer | I guess I'm on the very fringes of DWIM | 02:03 |
Haarg | the 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 #webgui | 02:31 |
-!- carogray [~Caroline@107.33.217.184] has quit [Ping timeout: 240 seconds] | 02:35 |
+perlDreamer | preaction: does FormBuilder generate template variables as it stands today? | 02:37 |
-!- carogray [~Caroline@108.127.24.14] has joined #webgui | 02:40 |
CIA-70 | wgdev: Graham Knop master * rb1d282e / (19 files in 7 dirs): Perl::Critic fixes (+5 more commits...) - http://bit.ly/lgDcsM | 02:50 |
-!- carogray1 [~Caroline@108.121.193.148] has joined #webgui | 02:51 |
Haarg | perlDreamer, i merged in a couple of your changes (with package importing) | 02:51 |
+perlDreamer | thanks! :) | 02:51 |
Haarg | if you get a chance to test them i'd appreciate it | 02:52 |
Haarg | also re: https://github.com/perlDreamer/wgdev/commit/993a026d48f9abbb1ef6733534e699d5a905ea72 | 02:52 |
+perlDreamer | poorly made? | 02:52 |
Haarg | if that used a wgdev config setting for those defaults instead of being hard coded | 02:52 |
Haarg | and if it used the WGDev::File->matched_find thing i just added, i would include it | 02:53 |
-!- carogray [~Caroline@108.127.24.14] has quit [Ping timeout: 240 seconds] | 02:53 |
+perlDreamer | I think I can do that | 02:53 |
+perlDreamer | but it won't be for several days | 02:53 |
Haarg | i think i recommended you use the copy_deeply thing even though it's not really appropriate in that case. my bad. | 02:53 |
Haarg | it's just a build process so it doesn't need to extra existence / size tests. basically just needs to mkpath and copy. | 02:54 |
@scrottie | frodwith, 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 |
@frodwith | more or less, bug me about it during business hours :) | 03:11 |
@scrottie | heh, will do. | 03:11 |
@preaction | perlDreamer: the Asset Edit Form is being generated completely via FormBuilder template variables | 03:27 |
-!- carogray1 [~Caroline@108.121.193.148] has quit [Quit: Leaving.] | 03:33 |
-!- carogray [~Caroline@108.121.193.148] has joined #webgui | 03:35 |
-!- carogray [~Caroline@108.121.193.148] has quit [Quit: Leaving.] | 04:05 |
+perlDreamer | thanks, preaction. I had forgotten the difference between the FormBuilder template variables, and the Form plugin template variables | 04:48 |
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui | 05: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 #webgui | 06:04 |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui | 06:32 |
+perlDreamer | few things in life are as good as watching Thundarr the Barbarian while the WebGUI test suite runs | 06:47 |
CIA-70 | webgui: Colin Kuskie webgui-7.9 * rfd88c5c / docs/create.sql : Preparing for 7.9.28 release. - http://bit.ly/lFqkG3 | 06:58 |
CIA-70 | webgui: Colin Kuskie webgui-7.9 * r2d9ef3f / (4 files in 4 dirs): Ready for 7.9.29 development. - http://bit.ly/iDVtzP | 07:10 |
+perlDreamer | well, except for releasing new versions of WebGUI | 07: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 #webgui | 10:23 |
-!- mode/#webgui [+v BartJol] by ChanServ | 10:23 |
-!- kaare_ [~kaare@langebro.adapt.dk] has joined #webgui | 10: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 #webgui | 12: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 #webgui | 13: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 #webgui | 13:23 |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui | 13: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 #webgui | 13:40 |
-!- carogray1 [~Caroline@184-229-190-92.pools.spcsdns.net] has joined #webgui | 13: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 #webgui | 14: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 #webgui | 14: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 #webgui | 15:11 |
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has joined #webgui | 15:14 |
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui | 16:07 |
-!- mode/#webgui [+o bopbop] by ChanServ | 16:07 |
-!- fokat [~lem@190.204.78.19] has joined #webgui | 16:46 |
-!- sbaur [~Adium@130.157.145.37] has joined #webgui | 17: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 #webgui | 19:02 |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 19:02 |
+perlDreamer | microsoft bought Skype | 19:03 |
SDuensin | That's not funny. | 19:05 |
@preaction | eh, 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 products | 19:06 |
@preaction | whereas apple doesn't have business products | 19:06 |
+perlDreamer | I guess as long as they don't drop the Linux and Apple ports it'll be fine | 19:06 |
SDuensin | Yea. MS can integrate. Just look at Games for Windows. :-P | 19:07 |
@preaction | i don't think they'd drop those ports, they make money | 19:08 |
@preaction | games for windows is a side-effect of using DirectX APIs on the Xbox really | 19:09 |
@scrottie | MS 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 contain | 19:13 |
SDuensin | Well, one less IM client I need to run. | 19:13 |
@preaction | scrottie: 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 bits | 20:02 |
@scrottie | sure, will do. | 20:03 |
@scrottie | the one thing I've noticed, the YUI buttons line-breaking, I think you've already mentioned. | 20:04 |
@preaction | not that i remember | 20:05 |
@scrottie | something about the buttons being "too big"? hmm. | 20:08 |
@preaction | probably | 20:10 |
@preaction | the default size is rather massive | 20:10 |
@preaction | but honestly i like the bigger buttons | 20:10 |
-!- fokat [~lem@190.204.78.19] has quit [Quit: Ex-Chat] | 20:14 |
SDuensin | Anyone ever have IE7 load your JS but not execute the code that's not in functions? | 20:20 |
+perlDreamer | sure, it's due to an error in the JS (according to IE7) | 20:22 |
+perlDreamer | I've had a little success with using IE8's JS debugger when that happens | 20:22 |
SDuensin | I figured that, but I've yet to hit on the right google search terms to learn about it. :-) | 20:23 |
SDuensin | And I'm stuck at work with ONLY IE7 installed. <sigh> | 20:23 |
+perlDreamer | install VirtualBox and run another copy of windows in a VM | 20:23 |
SDuensin | Not allowed. | 20:23 |
SDuensin | Honestly, I'm somewhat surprised I was able to create a new document. | 20:24 |
+perlDreamer | Shame on you for documenting! | 20:24 |
SDuensin | It was a JS document! :-P | 20:24 |
+perlDreamer | shame on your for using JS! | 20:26 |
@scrottie | buy Windows hosting somewhere, install VNC on it at home, and use the Flash VNC viewer to access it. | 20:26 |
@scrottie | go work for PlainBlack. I have Safari, Firefox, Chrome, a few MSIEs, Mosaic, lynx, w3m, links and several others installed. | 20:27 |
SDuensin | I'm already ssh'ed out to chat. May as well. | 20:27 |
SDuensin | PlainBlack tried to hire me. Sadly, I can't survive on the starting salary. :-( | 20:28 |
@preaction | that's not that many, really. you need e-mail accounts with all major webmail providers, and eudora and thunderbird and evolution | 20:28 |
@scrottie | I know. I love joining a good nagfest. | 20:28 |
SDuensin | IE7 reports no problems loading the script. Makes debugging even MORE FUN! | 20:28 |
@scrottie | I think I've got a Seamonkey laying around somewhere... | 20:28 |
@preaction | i maintain there was precious little nagging before THAT GUY showed up | 20:28 |
@scrottie | Konq. | 20:28 |
@scrottie | here's what we should do for a UI for WebGUI 9: http://trollingwithclass.files.wordpress.com/2010/09/simonextreme2.png | 20:30 |
+perlDreamer | WebGUI 9 is going to be all command-line | 20:31 |
SDuensin | YEEEEEEEEES! | 20:31 |
@preaction | including viewing | 20:38 |
@preaction | people will need to point their gopher client to gopher://example.com | 20:38 |
SDuensin | GOPHER! | 20:38 |
@preaction | we may also support telnet | 20:38 |
@scrottie | gopher rocks. been meanign to add gopher support to Continuity for ages. | 20:38 |
@preaction | perlDreamer: got a minute? | 20:53 |
+perlDreamer | yeah | 20:53 |
+perlDreamer | it's better than doing CSS debugging :) | 20:53 |
@preaction | what process did you use to merge 7.10 and 8? is it documented somewhere i can take a look? | 20:53 |
+perlDreamer | It's a very simple process, and it's not documented | 20:54 |
@preaction | i've got 11 releases worth of 7.10 to merge, which should be fun considering all the changes made | 20:54 |
+perlDreamer | if you try to merge more than 1 subversion at a time you'll kill yourself | 20:54 |
+perlDreamer | what I did was do a merge after each 7.10 release | 20:54 |
+perlDreamer | then, resolve all conflicts | 20:54 |
+perlDreamer | run t/00_compile.t to make sure it's clean | 20:54 |
@preaction | re-run the tests | 20:54 |
+perlDreamer | then, run the whole suite until it's clean | 20:54 |
+perlDreamer | then, merge the next sub-point | 20:55 |
@preaction | but merge like: git checkout 8; git merge v7.10.5? | 20:55 |
@preaction | or rebase? | 20:55 |
+perlDreamer | due to ignorance, I always rebased, and I would pick a specific commit each time | 20:55 |
* perlDreamer knows no other way to merge | 20:56 |
@preaction | i'll try git rebase v7.10.5 and see what happens | 20:56 |
@preaction | tags should define a commit, in theory | 20:56 |
+perlDreamer | there will be conflict and woe but be stalwardt in the face of merging | 20:56 |
@preaction | my sheild is sturdy and my sword is strong! | 20:56 |
* perlDreamer passes preaction a bow and arrow for long range combat | 20:57 |
+perlDreamer | and a set of Gauntlets of Ogre Power | 20:57 |
* preaction is off to save Princess Zelda | 20:57 |
+perlDreamer | You have to merge if you have the urge | 20:57 |
+perlDreamer | or, if you want to release 8.0 as an early beta | 20:58 |
@preaction | alpha, sure | 20:58 |
@preaction | i have consulted the mighty wizard of Knop and he says I should just merge to v7.10.15 in one go | 21:02 |
+perlDreamer | I 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 head | 21:03 |
+perlDreamer | but, do as you wish | 21:03 |
@scrottie | yes, Lord Knop would win the remaining hair battle, fo' sho'. | 21:04 |
@preaction | i 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 choose | 21:16 |
+perlDreamer | blogggin? | 21:16 |
+perlDreamer | http://www.vim.org/scripts/script.php?script_id=2975 | 21:18 |
@preaction | maybe, it seems a goodly choice | 21:18 |
@preaction | yes, that | 21:18 |
@preaction | now i just have to show my buffer number so i can use diffget and diffput | 21:19 |
CIA-70 | webgui: 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/l31UPd | 21:40 |
CIA-70 | webgui: Scott Walters WebGUI8 * r2d31f72 / (share/site.psgi t/PSGI/ConfigMiddleware.t): | 21:40 |
CIA-70 | webgui: PSGI entry points (#11632) -- add a plackMiddleware section to the config file; modify share/site.psgi to load from it. | 21:40 |
CIA-70 | webgui: This is minimal in implementation right now in that there's no support for passing args, which would generally be objects | 21:40 |
CIA-70 | webgui: mixed with strings, to the middlewares being added, as would be necessary if the .psgi files were to be largely migrated | 21:40 |
CIA-70 | webgui: to the config files. I agree that it's important that upgrade scripts be able to add middleware (probably custom ones | 21:40 |
CIA-70 | webgui: that know how to get the session from %$env) but I'm not convinced of the utility of moving much logic out of | 21:40 |
CIA-70 | webgui: share/site.psgi. - http://bit.ly/kVdp3d | 21:40 |
+perlDreamer | lunch time :D | 21:43 |
* scrottie ate all of the left over curry for breakfast =( | 21:44 |
@scrottie | so, oatmeal for lunch. | 21:44 |
@preaction | scrottie: changing WebGUI::Content::* into middlewares? | 21:56 |
@scrottie | at the moment? nope. guess that's the next step on that last ticket. | 21:59 |
@scrottie | seems like that would create a merge disaster. | 21:59 |
@scrottie | hrm, maybe I can wrap for them for the time being. | 22:02 |
@preaction | no worries, having a way to migrate is the first API establishment step | 22:02 |
@preaction | migration can take time | 22:02 |
-!- jimX11 [~jjm@n128-227-81-249.xlate.ufl.edu] has quit [Quit: Leaving] | 22:08 |
@scrottie | if 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 catching | 22:08 |
@scrottie | also 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 |
@scrottie | I 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 |
@scrottie | or I suppose all of the stuff that WebGUI.pm does could be itself moved to a middleware. | 22:11 |
@scrottie | really, 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 |
@scrottie | thoughts welcome. guess I'll comment on the ticket though. | 22:12 |
Haarg | seems like converting them to plack apps would make more sense than middleware | 22:12 |
@scrottie | yeah. 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 |
@scrottie | I can think of a lot more interesting ways to make WebGUI less monolithic. | 22:13 |
Haarg | i 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 |
Haarg | been 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 |
@scrottie | I 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 |
@scrottie | that would also further the cause of the gopher and telnet interfaces. | 22:24 |
Haarg | rereading 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 |
@scrottie | my reply there was just a copy of my remark here, but I might have misunderstood preaction's question. | 22:26 |
@scrottie | hrm, I don't imagine setNoHeader being much use in a non-CGI environment. | 22:27 |
@scrottie | I don't think this can be supported. | 22:27 |
@preaction | i 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 again | 22:28 |
@scrottie | unless the goal is just to keep two headers from being sent...? | 22:28 |
@scrottie | but I don't see any examples of it being used in the main codebase | 22:28 |
Haarg | that's what it looks like scrottie | 22:28 |
Haarg | heh, 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 |
@scrottie | maybe people want to put the site into maintenance mode while working on the maintenance page. | 22:33 |
Haarg | the combination of moose and plack does make stack traces really terrible | 22:41 |
@scrottie | yeah. | 22:42 |
* scrottie sighs | 22:42 |
@scrottie | with all of the magic going on in Moose, why aren't they tail-calling that away or something? | 22:42 |
@scrottie | optional verbosity setting...? | 22:43 |
@preaction | i forgot all the wacky stuff we added to the 7.10 series | 22:54 |
@preaction | dashlets, weird search entries, map stuff, template preview | 22:55 |
@scrottie | what, preview, not live view? weak. | 22:56 |
@preaction | that's what i said, but it was Requested | 22:56 |
+perlDreamer | scrottie, 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 #webgui | 00:21 |
cj | hey folks | 00:21 |
Haarg | greetings | 00:21 |
Haarg | tail calling would speed it up if anything. and runtime speed isn't really a problem with Moose. main issue is startup speed. | 00:22 |
cj | so, 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 |
cj | I expect webgui would probably be a fine choice for this type of thing, eh? | 00:23 |
@preaction | it depends on how intimate you want to get with WebGUI's Way Of Doing Things, but yes | 00:24 |
@preaction | www.thegamecrafter.com <- does almost exactly what you mentioned | 00:24 |
cj | preaction: 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 |
@preaction | the generate PDFs thing doesn't happen though, that part you'd have to create | 00:25 |
cj | alright. I could probably cobble something together. | 00:25 |
@preaction | and 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 PDFs | 00:25 |
cj | so, 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 |
@preaction | surely | 00:28 |
@preaction | 1-2G is "as configured in the WRE with OS and leeway factored in" | 00:28 |
cj | good to hear. I'll get things spun up, then. | 00:29 |
@preaction | we're running about 80-90M per apache fork though | 00:29 |
cj | alright. I've got a bit of flexibility, and if it starts paying for itself, I should be able to migrate it to its own iron | 00:31 |
cj | what size disk should I allocate? | 00:32 |
@preaction | WebGUI itself is only 20M, WRE 80M, so whatever you need to keep those PDFs around | 00:35 |
@preaction | hopefully by the time it starts paying for itself you can upgrade to 8, which has even more flexibility | 00: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 #webgui | 00:47 |
@preaction | merge from 7.10.4 - 7.10.15 done! running test | 00:52 |
+perlDreamer | Good job, preaction! | 01:01 |
@scrottie | perl -p -i -e 's{http->setCacheControl}{response->setCacheControl}' `ack -l 'http->setCacheControl'` # this is going to bite me in the ass for sure | 01:05 |
+perlDreamer | scrottie, just make sure it's an atomic commit, and it can be quickly fixed | 01:11 |
+perlDreamer | also, save some finger typing and use the -pi switch instead of -p -i | 01:11 |
@preaction | am i supposed to override update() anymore? or write()? or what should I do? | 01:23 |
@scrottie | hmm? | 01:24 |
@preaction | collaboration 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 anymore | 01:25 |
@preaction | i think i have to do around 'groupIdView' => sub {...} instead | 01:26 |
@scrottie | yech. | 01:30 |
@scrottie | couldn't update() be overridden in a more specific fashion? inject a base class in a subclass somewhere or something...? | 01:31 |
@preaction | not sure, moose bitches about update() already existing (probably the role composed one in) | 01:32 |
@preaction | so most likely if i did around update it would work | 01:32 |
@preaction | but groupIdView is the only value I care about | 01:32 |
@preaction | crap. forgot about the upgrade path... | 01:33 |
Haarg | seems like that should be a trigger on groupIdView, although there is some oddness with triggers and object init iirc | 01:33 |
@scrottie | maybe Asset::update should do something ... for my $k ( keys %$hashref ) { $self->can("update_$k")->( $hashref->{$v} ) if $self->can("update_$k") } | 01:34 |
@scrottie | or that. | 01:34 |
@preaction | but how do I add a trigger? the property is defined in WebGUI::Asset, not WebGUI::Asset::Wobject::Collaboration | 01:34 |
Haarg | that's the entire point of having individual accessors. you can just add triggers or other behaviors to them without messing with update | 01:34 |
@preaction | does has '+groupIdView' ? | 01:35 |
@preaction | work | 01:35 |
@preaction | if it doesn't it should, so i'll check | 01:36 |
-!- jimX11 [~jjm@n128-227-81-249.xlate.ufl.edu] has joined #webgui | 01:36 |
+perlDreamer | it won't work, because it's wg8 specific | 01:51 |
+perlDreamer | you can emulate a trigger with around, or after | 01:52 |
+perlDreamer | either one would work | 01:52 |
+perlDreamer | or you can do what I did with the file permissions stuff, and provide a generic empty trigger and override that in various Asset classes | 01: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 #webgui | 02:00 |
-!- mode/#webgui [+o preaction] by ChanServ | 02: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 #webgui | 02:25 |
-!- sbaur [~Adium@130.157.145.37] has quit [Quit: Leaving.] | 02:28 |
@scrottie | newByDymamicClass 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 #webgui | 03:17 |
-!- mode/#webgui [+o preaction] by ChanServ | 03: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 #webgui | 03:45 |
+perlDreamer | newById :) | 04:13 |
@scrottie | yeah. 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 |
+perlDreamer | most likely from merges | 04:15 |
+perlDreamer | wouldn't it be cool if you could make a git hook that updated those things automatically during a merge? | 04:19 |
@scrottie | hrm. could do an Acme::CodePolice type thing but instead of deleting your project, it fixes it. | 04:21 |
@scrottie | also, strong typing was invested for this reason. | 04:30 |
+perlDreamer | no | 04:33 |
@scrottie | pretty please? | 04:33 |
+perlDreamer | strong typing was infested because it make it hard to do a+1 | 04:33 |
+perlDreamer | which everyone knows should be b | 04:34 |
@scrottie | I thought you liked stricture in all of its various forms. | 04:34 |
+perlDreamer | perldreamerian strictures have more to do with testing than variable typing | 04:34 |
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui | 04:56 |
@scrottie | pedantic might have been a better word. | 05:03 |
jimX11 | Is 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 |
jimX11 | but {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 |
@scrottie | no idea... | 05:17 |
+perlDreamer | jimX11, the data structure is originally based on HTML::Template | 05:17 |
@scrottie | re: modified, WebGUI doesn't come with a copy of Template Toolkit but instead uses the standard CPAN distro of it | 05:18 |
+perlDreamer | so you can have loops of data | 05:18 |
+perlDreamer | but the "data" is hashes | 05:18 |
+perlDreamer | so, {foo => {bar => baz}} is fine | 05:18 |
+perlDreamer | but not the other | 05:18 |
+perlDreamer | unless you foo => [ {bar => baz}, {buz => biz}] etc | 05:19 |
jimX11 | ok | 05:19 |
@preaction | arrays for TT templates work fine, see WebGUI::Asset::Template::Parser->downgrade | 05:19 |
@preaction | but they only work in TT templates, not H::T or H::T::E | 05:20 |
+perlDreamer | client specific version of wG? | 05:20 |
jimX11 | I see no downgrade method in WebGUI::Asset::Template::Parser | 05:23 |
@preaction | it's in the 7.10 series | 05:23 |
jimX11 | Oh, I'm so close. I'm using 7.9.14. | 05:24 |
jimX11 | So in 7.9.14 I gotta use the key => key shuffle, then? | 05:25 |
@preaction | map { name => $_ } @values or something yeah | 05:29 |
jimX11 | ok. | 05:29 |
jimX11 | Yea. Also I'll have to throw in something to preserve the order too, I guess. | 05:31 |
@preaction | H::T takes an arrayref of hashrefs for loops | 05:32 |
@preaction | which is ordered | 05:32 |
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has quit [Read error: Connection reset by peer] | 05:37 |
+perlDreamer | I'd like to order a pizza with hash and glob refs, please | 05:41 |
+perlDreamer | extra cheese | 05:41 |
@scrottie | waiter, is this a stash in hash and glob pizza!? | 05:45 |
jimX11 | So a db call returning [ [22,44,66],[10,20,30]] becomes what? | 05:45 |
@scrottie | in my | 05:45 |
jimX11 | becomes this: ( ( {22=>22}, {44=>44}, {66=>66}), ( {10 => 10},{20=>20},{30=>30})) | 05:47 |
+perlDreamer | that wouldn't be very useful | 05:47 |
+perlDreamer | think about returning arrays of hashrefs intead of arrays of arrays | 05:47 |
+perlDreamer | [ { col1 => 22, col2 => 44, col3 => 66},{col1 => 10, col2 => 20, col3 => 30}] | 05:48 |
jimX11 | and sort on the keys to get the order back. | 05:48 |
+perlDreamer | sure | 05:49 |
jimX11 | So how am I using TT2 but needing H:T syntax? Does TT2 go through H:T in WebGUI? | 05:50 |
+perlDreamer | it all goes through the same template parsing system | 05:53 |
+perlDreamer | so, the limitations of one apply to all | 05:53 |
@preaction | which is why downgrade exists in 7.10, to allow the features of TT to be used without breaking H::T completely | 05:54 |
jimX11 | ok | 05:54 |
jimX11 | thanks | 05:54 |
+perlDreamer | preaction, 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 |
@preaction | we'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 |
@preaction | TT is faster than H::T, but slower than others if you don't need all the features TT provides | 05:56 |
@preaction | and who knows what tomorrow will bring? | 05:56 |
+perlDreamer | According to Google, tomorrow will bring Toy Story 3 | 05:57 |
+perlDreamer | http://www.google.com/search?client=ubuntu&channel=fs&q=what+will+tomorrow+bring%3F&ie=utf-8&oe=utf-8 | 06:01 |
jimX11 | Which 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}] or | 06:08 |
jimX11 | {c1 => { c1 => 22, c2 => 44, c3 => 66}, c2 => {col1 => 10, col2 => 20, col3 => 30}} | 06:09 |
+perlDreamer | the first | 06:09 |
jimX11 | k | 06:09 |
* perlDreamer has to bake some bread now, I'll be back on tomorrow | 06: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 #webgui | 07: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 #webgui | 10:41 |
-!- mode/#webgui [+v BartJol] by ChanServ | 10:41 |
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui | 10: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 #webgui | 11: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 #webgui | 12:50 |
-!- carogray [~Caroline@184.241.111.54] has quit [Ping timeout: 260 seconds] | 12:59 |
-!- carogray [~Caroline@108.113.223.56] has joined #webgui | 14:12 |
-!- carogray1 [~Caroline@184-200-59-255.pools.spcsdns.net] has joined #webgui | 14: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 #webgui | 15: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 #webgui | 15:26 |
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui | 16:07 |
-!- mode/#webgui [+o bopbop] by ChanServ | 16:07 |
+BartJol | just out of interest, are there plans to rewrite the map asset for openstreet maps? | 16:15 |
SDuensin | Welcome to Wednesday. That is all. | 16:46 |
@preaction | BartJol: no, but all the information should be in the template. you might be able to create one | 17:35 |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui | 17:39 |
CIA-70 | webgui: Paul Driver master * r6a01296 / (5 files in 5 dirs): rfe #12127: AssetProperty macro - http://bit.ly/ka3cTb | 17:44 |
-!- sbaur [~Adium@130.157.145.37] has joined #webgui | 17:56 |
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui | 18:00 |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 18:00 |
-!- khenn [a68988b5@gateway/web/freenode/ip.166.137.136.181] has joined #webgui | 18:05 |
-!- mode/#webgui [+o khenn] by ChanServ | 18:05 |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui | 18:05 |
@khenn | hey | 18:12 |
@khenn | does anyone remember the name of the site that offers free website styles? | 18:12 |
@khenn | I think WG uses a few in the startup script | 18:12 |
+perlDreamer | oswd.org? | 18:15 |
@khenn | perhpas | 18:15 |
@khenn | thanks pd | 18:15 |
@khenn | I'll check that out | 18:15 |
+perlDreamer | most of the other designs came from the awesome Ning | 18:22 |
+BartJol | yeah, after that I had too much karma to spend | 18: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 #webgui | 19:39 |
CIA-70 | webgui: 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/jnRqnK | 19:44 |
CIA-70 | webgui: Graham Knop master * r458b1a1 / lib/WebGUI/Mail/Send.pm : | 19:44 |
CIA-70 | webgui: Merge pull request #10 from roryzweistra/master | 19:44 |
CIA-70 | webgui: Fixed typo in Send.pm - http://bit.ly/mlAdjQ | 19:44 |
@preaction | did 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 pass | 20:16 |
@preaction | it's not in the merge, and it's not in the 7.10.15 tarball i downloaded | 20:16 |
+perlDreamer | it's in there | 20:18 |
+perlDreamer | "exportGetRelatedAssetIds" | 20:18 |
-!- jimX11 [~jjm@ip98-180-60-146.ga.at.cox.net] has joined #webgui | 20:18 |
@preaction | wtf. i'm looking right at the WebGUI.pm released as 7.10.15 and it is not here | 20:19 |
@preaction | in the StoryArchive asset? | 20:19 |
+perlDreamer | Asset/Story | 20:20 |
+perlDreamer | Story exports related topics | 20:20 |
+perlDreamer | I think that's how it was used | 20:20 |
+perlDreamer | ack -l exportGetRelatedAssetIds | 20:20 |
@preaction | ah, maybe that's why | 20:20 |
@preaction | found it. new -> newById | 20:22 |
+perlDreamer | also newByDynamicClass -> newById | 20:32 |
+perlDreamer | scrottie and I chatted about that last night | 20:32 |
* scrottie nods | 20:32 |
+perlDreamer | and about all we agreed upon was that I was pedantic | 20:32 |
@scrottie | there are a few newByDyanmicClass calls floating around in there again but I'm yak shaving at the moment | 20:33 |
@scrottie | hrm. at every moment? | 20:33 |
+perlDreamer | I'm not sure, but possibly | 20:33 |
+perlDreamer | here, for a second, I'll switch from pedantic to annoyed and irritable | 20:34 |
@scrottie | I'm glad we can agree on irritable. | 20:35 |
@preaction | i love when errors get thrown but are completely blank! | 20:35 |
@scrottie | at least we have that in common. | 20:35 |
+perlDreamer | If 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 test | 20:35 |
+perlDreamer | yeah, I don't like me when I'm irritable, I'll stick with pedantic | 20:39 |
@preaction | i also love when your phone stops delivering calls and text messages but is otherwise completely operational, and only a restart fixes it | 20:44 |
@preaction | oh look, i got paged a couple times! | 20:45 |
@scrottie | perl needs a \). | 20:45 |
@scrottie | WebGUI 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 |
@scrottie | it's not that I want to work on Plack stuff, but I keep stepping in it... | 21:04 |
CIA-70 | webgui: Scott Walters WebGUI8 * rd2c8670 / (lib/WebGUI/Test.pm t/Asset/AssetExportHtml.t): (log message trimmed) | 21:05 |
CIA-70 | webgui: Introduce WebGUI::Test::getPage2, similar to WebGUI::Test::getPage, that makes | 21:05 |
CIA-70 | webgui: requests using Plack::Test and attempts to maintain getPage's API. | 21:05 |
CIA-70 | webgui: Change three tests in t/Asset/AssetExportHtml.t to use this instead. | 21:05 |
CIA-70 | webgui: Backstory: | 21:05 |
CIA-70 | webgui: Forthcoming WebGUI::Session::HTTP, ::Request, ::Responses mucking abouts broke | 21:05 |
CIA-70 | webgui: some tests that use WebGUI::Test::getPage; in the case of t/Asset/AssetExportHtml.t, | 21:05 |
@preaction | oh crap, i could've saved you time | 21:06 |
+perlDreamer | getPage* needs to die | 21:06 |
@preaction | scrottie: there's WebGUI::Test::Mechanize now | 21:06 |
* scrottie grunts | 21:08 |
@scrottie | okay, I'll try to sort that out | 21:08 |
@scrottie | my 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 |
@scrottie | I'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 |
@scrottie | I could test it and see I suppose... | 21:13 |
+perlDreamer | that's what WebGUI::Test::Mechanize will do for you | 21:14 |
@scrottie | it takes a userId. hmm. | 21:14 |
@scrottie | no, this should work. the WebGUI::Middleware::Session layer isn't used in favor of just setting up session here. cool. | 21:15 |
mducharme-work | afternoon | 21:21 |
@scrottie | heya mducharme-work | 21:21 |
mducharme-work | question - how can I make userlist visible to visitors? | 21:21 |
@scrottie | do you want an answer optimized for quickness of implementation or niceness of result? | 21:21 |
@scrottie | a SQLReport could pull from the users table. | 21:22 |
mducharme-work | I am using the user list wobject and it works for authenticated users but displays nothing for visitors | 21:22 |
mducharme-work | the ideal thing would be to have an LDAPReport that could pull directly from LDAP but there is no such thing | 21:23 |
@scrottie | visitors are all essentially the same user, so there isn't much to display... | 21:23 |
mducharme-work | you do not understand | 21:23 |
mducharme-work | we do not give phone numbers for our offices on our website | 21:24 |
mducharme-work | because we have multiple offices | 21:24 |
mducharme-work | instead we rely on the corporate phone directory on our website for people to know what number to call to get someone | 21:24 |
mducharme-work | novell discontinued their web based corporate phone directory product | 21:24 |
mducharme-work | which we used to have running in an iframe in webgui | 21:24 |
mducharme-work | I need for someone going to our company's website to see a listing of staff | 21:25 |
mducharme-work | and their phone numbers | 21:25 |
mducharme-work | without having to log in | 21:25 |
mducharme-work | http://www.ktc.ca/home/about-us/staff-directory | 21:25 |
mducharme-work | that's what it looks like right now | 21:25 |
@scrottie | okay, can't this user list wobject be set viable by 'Visitor'? | 21:25 |
mducharme-work | which doesn't work | 21:25 |
mducharme-work | or would you say that that is acceptable? | 21:25 |
mducharme-work | I don't think it's the wobject itself | 21:26 |
@scrottie | I don't see anything acceptable in a typical day ;) | 21:26 |
@scrottie | is this a bug or a configuration matter? | 21:26 |
@scrottie | I'd have to dig into the code to learn more, but I wonder if user profiles are hidden or the like. | 21:27 |
+perlDreamer | mducharme-work, profile information is never shown to the user Visitor. | 21:28 |
+perlDreamer | the UserList wobject may be able to override that, maybe not | 21:29 |
+perlDreamer | Try the Override Public Profile option, it may do the trick | 21:29 |
+perlDreamer | otherwise, you can build a SQL Report to mine the userProfileData table directly | 21:30 |
mducharme-work | ok | 21:31 |
mducharme-work | can the person still open the users profile and view their photo etc | 21:31 |
+perlDreamer | no | 21:31 |
mducharme-work | with the sqlreport gadget | 21:31 |
+perlDreamer | no, but you can list the phone number | 21:31 |
+perlDreamer | it's a privacy issue, where you don't want bots being able to mine your site for confidential information | 21:32 |
+perlDreamer | email address, physical addresses, skype contacts, phone numbers, etc | 21:32 |
mducharme-work | I understand that | 21:32 |
mducharme-work | but this is making us manually have to create a new phone list | 21:32 |
mducharme-work | when we already have one in ldap | 21:32 |
mducharme-work | and we already have one in webgui through ldap | 21:32 |
mducharme-work | it's just stupid | 21:33 |
mducharme-work | oh and we have a third one in the form of a word document | 21:33 |
+perlDreamer | you could modify the core to allow visitor to see profile information | 21:33 |
+perlDreamer | and hand maintain that whenever you upgrade | 21:33 |
@scrottie | SQLReport that does update userSession set userId='someNonVisitorGuestUser' where sessionId = ?, and JavaScript that picks out the sessionId and hits that "report"...? | 21:33 |
@scrottie | kludges. get yer kludges. we got kludges. right here. | 21:34 |
+perlDreamer | it'd be cleaner to put in a feature/setting that would allow Visitor to see user profiles | 21:34 |
@scrottie | yeah. | 21:34 |
+perlDreamer | because in companies I guess you want your information out there | 21:34 |
@scrottie | more users should be doing git pull --rebase to upgrade. | 21:34 |
@scrottie | heck, 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 |
@scrottie | stick git in the WRE. | 21:35 |
@scrottie | unclean merge? reset back to where they were before and send an "oops, sorry" email. | 21:36 |
+perlDreamer | mducharme-work: the stuff that would need to be changed is in WebGUI::User, sub profileIsViewable | 21:37 |
mducharme-work | ok | 21:38 |
+perlDreamer | I'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 do | 21:40 |
mducharme-work | that's when you know what you're doing of course | 21:40 |
@scrottie | perlDreamer, preaction, thoughts on the Want module? | 21:40 |
+perlDreamer | scrottie, never heard of it | 21:41 |
+perlDreamer | mducharme-work, there are lots of people who you could contract to do it, including Plain Black | 21:41 |
@scrottie | or you could probably guess / get suggestions at which few lines to comment out in there =) | 21:41 |
+perlDreamer | iirc, mducharme-work does know perl | 21:42 |
mducharme-work | I used to code perl a long time ago | 21:42 |
mducharme-work | I've probably forgotten almost everything | 21:42 |
@scrottie | you can probably still read it, even as it's spoken today. | 21:43 |
mducharme-work | I also wonder why you developed your own help desk plugin for webgui | 21:44 |
@scrottie | was there another WebGUI helpdesk plugin floating around already...? | 21:44 |
+perlDreamer | yeah, we wonder why we did that too, sometimes | 21:45 |
mducharme-work | no, but there are some really good perl-based help desk systems | 21:45 |
mducharme-work | we use OTRS for instance | 21:45 |
@scrottie | ah. often the question is integration is a larger one than that of "really good". | 21:45 |
mducharme-work | that doesn't do much good if the help desk is a tinkertoy in comparison | 21:46 |
@scrottie | if 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 |
@scrottie | depends. sometimes lots of integrated tinker toys is just what people want. | 21:46 |
@scrottie | easily integrated. | 21:46 |
mducharme-work | there isn't all that much integration work involved in OTRS actually | 21:47 |
@scrottie | and 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 |
@scrottie | we're happy to integrate WebGUI with really nice products. | 21:47 |
mducharme-work | to what extent is the webgui help desk really integrated into other webgui components? | 21:47 |
+perlDreamer | not at all | 21:48 |
+perlDreamer | it uses WebGUI users and Groups | 21:48 |
+perlDreamer | a workflow activity | 21:48 |
@scrottie | frodwidth's plack-mounted-assets automatically integrate almost any Plack app into WebGUI =) | 21:48 |
+perlDreamer | and some templates | 21:48 |
@scrottie | it'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 |
@scrottie | I imagine there has been some work done here, but reverse-proxying in other apps over HTTP has potential, too. | 21:50 |
@scrottie | as 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 |
@scrottie | fixing this as best as I can | 22:12 |
mducharme-work | the users and groups thing is easy enough to do with otrs, it can plug into any sql authentication source with any schema pretty much | 22:12 |
@scrottie | patches welcome. | 22:12 |
mducharme-work | it can plug into multiple simultaneous auth sources as well | 22:12 |
-!- CIA-70 [~CIA@208.69.182.149] has quit [Read error: Operation timed out] | 22:13 |
mducharme-work | the hard part is the UI integration | 22:13 |
@scrottie | er, I mean, perhaps PlainBlack shouldn't have written their help desk. dunno. you may be right. no idea. | 22:13 |
mducharme-work | it would be nice if there was a way of using JSR portlets as wobjects | 22:18 |
@scrottie | do-able. Inline::Java is an amazing piece of technology. | 22:18 |
mducharme-work | that would give a much greater range of integrations for webgui.. but you'd need some sort of shim to tomcat to accomplish that | 22:18 |
mducharme-work | ahh | 22:18 |
@scrottie | yeah. process size would go up a lot. | 22:18 |
mducharme-work | b/c a lot of the time you are having to reinvent the wheel, when there is already a JSR portlet that does something | 22:19 |
@scrottie | generally when there are two camps, the camps don't envy what the other camp has... otherwise there wouldn't be two camps. | 22:20 |
@scrottie | for various reasons, Java tends to be expensive to deploy. | 22:21 |
@scrottie | heck, for 8, we're optimizing away Apache as a simplification/optimization. | 22:21 |
@scrottie | I'm all for building bridges, but the efforts aren't purely redundant. | 22:22 |
@scrottie | if anything, other Perl CMSes are redundant with WebGUI ;) | 22:23 |
@preaction | RT and Bugzilla exist. we could have integrated those via auth plugins or somesuch | 22:33 |
mducharme-work | preaction - 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 angle | 22:55 |
mducharme-work | our help desk used to use RT but we moved off it due to the lack of features | 22:55 |
@preaction | a plack app using the plack app wobject could take advantage of webgui's global site search even | 22:56 |
+perlDreamer | the Plack app wobject maps indexContent in the low-lying plack app? that is cool! | 22:58 |
@preaction | no, you'd have to map it yourself, but it could be done | 22:58 |
mducharme-work | we would love to have OTRS integrated into our webgui | 22:58 |
mducharme-work | at 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 source | 22:59 |
mducharme-work | er iframe | 22:59 |
@preaction | auth plugins aren't too bad and getting better | 22:59 |
@scrottie | wait, I thought you said that it is really easy to integrate them, and OTRS can do arbitrary queries against an arbitrary database | 22:59 |
mducharme-work | yes | 23:00 |
@scrottie | or maybe I'm missing what else exactly should be integrated... | 23:01 |
@scrottie | I guess that goes back to the reverse proxying arbitrary HTTP thing | 23:01 |
mducharme-work | SSO | 23:01 |
mducharme-work | we have both using the same login | 23:01 |
mducharme-work | but single sign on is a different story | 23:01 |
mducharme-work | the credentials do not get passed along | 23:01 |
@preaction | make the WebGUI auth set both cookies | 23:02 |
@scrottie | its cookie might correspond to something in its databsae. might have to web scrape the login form there. | 23:03 |
@preaction | i 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 |
@preaction | OTRS is very bold. much orange and brightness... | 23:03 |
@scrottie | the 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 |
@scrottie | trying 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 |
@scrottie | sometimes simple is good. | 23:04 |
@scrottie | as it is, people can use it for all sorts of silly things not related to any of those tasks. | 23:04 |
@preaction | of course. i'd prefer a dead-simple ticket tracker and a bigger app that read that tracker's data to figure stuff out | 23:04 |
@preaction | which is the plan i hope | 23:05 |
@preaction | right now we don't have any talking between the PMS and the helpdesk, which necessitates copying data between them manually | 23:05 |
@preaction | and our PMS is rather haphazard as well. timetracker as a standalone with super sekrit functions if it's "linked" to a PMS system | 23:06 |
mducharme-work | OTRS does project management sorta | 23:06 |
mducharme-work | in the ITSM version | 23:06 |
@preaction | ah, the demo i tried didn't make it very obvious | 23:06 |
mducharme-work | the change management system can be used for projects | 23:06 |
@scrottie | datasharing between "mounted" apps that you're just proxying for/embedding/authenticating against/for gets even nastier. | 23:06 |
mducharme-work | you create work orders, create dependencies between them | 23:07 |
@scrottie | as soon as people have SSO, then they want data workflows. | 23:07 |
mducharme-work | it displays a gantt chart type thing | 23:07 |
mducharme-work | most of the features in OTRS only appear when you install the ITSM add on | 23:07 |
mducharme-work | they really should put the ITSM stuff into the core, IMO | 23:07 |
@scrottie | embedding 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-work | even if you don't run an ITIL shop it still adds a lot of features into the core | 23:08 |
@scrottie | I argue for a smaller WebGUI core, personally. | 23:08 |
mducharme-work | scrottie you misunderstand | 23:09 |
mducharme-work | I mean OTRS should integrate the ITSM add on into the OTRS core | 23:09 |
@scrottie | again? | 23:09 |
@scrottie | oh | 23:09 |
mducharme-work | b/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 do | 23:09 |
@scrottie | A 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-work | the 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 increase | 23:10 |
@preaction | that sucks. i'm trying to get rid of our project manager, but I can't unless we have something else to use | 23:10 |
@preaction | and if the OTRS demo doesn't include ITSM, then they can't know if it's good | 23:11 |
mducharme-work | brb have to reboot | 23: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 |
@preaction | 1 day to do the merge. 1 day to fix the tests. | 23:27 |
fallout | 1 ring to rule them all? | 23:27 |
@scrottie | target is still moving. | 23:27 |
@scrottie | CIA left before I unleashed the spam. | 23:27 |
@preaction | gotta do a full test run before i can consider this "done" before i can pull your changes | 23:28 |
* scrottie nods | 23:28 |
@scrottie | probably 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 that | 23:28 |
@scrottie | details that change every time bog down trying to diff output from two test runs | 23:29 |
@scrottie | comments welcome / consider yourselves warned | 23:29 |
@preaction | the test description text? sounds a good idea | 23:30 |
@scrottie | yeah, 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 #webgui | 23: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 #webgui | 00:10 |
-!- mode/#webgui [+o pbcj] by ChanServ | 00:10 |
* scrottie waves to pbcj | 00:11 |
@pbcj | sup sup | 00:11 |
@scrottie | how goes stuff? | 00:11 |
@pbcj | goingly =) | 00:11 |
@scrottie | playing with WebGUI 8. | 00:11 |
@scrottie | yay, yay. | 00:11 |
@pbcj | I saw the chatter | 00:11 |
@scrottie | I keep getting stucked into this testing/Plack vortex. | 00:12 |
@pbcj | I all of a sudden feel like the only kid on the block without a new bike | 00:12 |
@scrottie | sucked | 00:12 |
@scrottie | hrm. it must have been 8 or 10 months since I got to. so, feel bad, but not alone. | 00:13 |
@pbcj | so, how does static template vars from config strike the room? | 00:15 |
@pbcj | preaction: I'm looking at you | 00:15 |
@scrottie | hmm? | 00:16 |
@pbcj | I'm working on branding for a few clients, I'd like to have something configurable that gets passed into the templates | 00:17 |
@pbcj | this would support branching using TT's INCLUDE directive: http://template-toolkit.org/docs/manual/Directives.html#section_INCLUDE | 00:17 |
@preaction | but afaik webgui's use of TT doesn't work well w/ include | 00:18 |
@preaction | can't include assets, of course, and i'm not sure where files would get included from | 00:18 |
@preaction | i'd love to create a provider that would allow you to include assets, but i haven't found anyone to do it yet | 00:18 |
@preaction | and if you have INCLUDE working, you don't need anything in the config file, no? | 00:21 |
+perlDreamer | all righty, I have a test that exposes the Serializer bug and a patch to fix it | 00:22 |
+perlDreamer | now, time to wade through RT | 00:22 |
@pbcj | well, I'd still prefer have one template to package, rather than one that needs only a small customization when spawning a newly branded site | 00:22 |
@pbcj | I haven't tested include yet, I came here first | 00:23 |
@pbcj | and now I'm discouraged =( | 00:23 |
@preaction | i'm surprised there aren't Setting or Config macros | 00:23 |
@pbcj | indeed | 00:24 |
@scrottie | often programming is the art of quickly exhuasting non-workable solutions. | 00:24 |
+perlDreamer | wouldn't macros happen too late? | 00:24 |
@preaction | too late for what? | 00:24 |
@pbcj | macros are isolated, so it doesn't matter | 00:24 |
@pbcj | template vars don't get passed in automagically | 00:24 |
+perlDreamer | iirc, macros get evaluated after the template gets parsed | 00:25 |
+perlDreamer | so if you wanted to macro in something, it's too late to use it in the template eval stage | 00:25 |
@scrottie | frodwidth was playing with some hackery that found every variable on the stack and passed them in. | 00:25 |
+perlDreamer | in 7 | 00:25 |
@scrottie | er, frodwith | 00:26 |
@pbcj | as long as the vars are still around, the timing of it doesn't matter, I think | 00:26 |
@preaction | they're not vars though, that's the difference between vars and macros | 00:26 |
Haarg | it would be pretty easy to extend the template toolkit usage to allow macros to be called by templates directly | 00:26 |
@preaction | macros happen last, after templates are parsed | 00:26 |
@preaction | and yes, there's what graham said | 00:26 |
@preaction | and barring that, it'd be possible to provide TT with read-only bits of the session | 00:27 |
@preaction | but the current method we would have to do it would be to add proper variables in either Asset::Template->process or Asset->processTemplate | 00:28 |
@pbcj | I was more thinking that processTemplate could stick the current template vars into a collection that macro process could have access to | 00:28 |
@preaction | huh? | 00:29 |
@preaction | if 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 it | 00:29 |
@pbcj | right, 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 |
@preaction | i don't know what you mean | 00:31 |
@preaction | you wanted config values to be available in the template. a combination of macros and a TT function to call those macros could provide that | 00:32 |
@preaction | for INCLUDE assets, you need a custom Template::Provider object to read asset:// links or something | 00:32 |
@pbcj | I get that | 00:32 |
@preaction | both of which are projects i would support and want completed | 00:32 |
@pbcj | perhaps 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 #webgui | 00:35 |
@pbcj | 1) 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 #webgui | 00:36 |
-!- dreamersgirl [~chatzilla@137.53.249.130] has quit [Quit: ChatZilla 0.9.86.1 [Firefox 4.0.1/20110413222027]] | 00:39 |
@pbcj | 2) in a template: <div>every site has this, but this is specific content: [%ProcessTemplate("/customized-sub-template")%]</div> | 00:39 |
@preaction | you would be better off making [% INCLUDE asset:/customized-sub-template %] | 00:40 |
+perlDreamer | yup | 00:40 |
@pbcj | yes | 00:40 |
+perlDreamer | cuz users can't get to a config file to customize it | 00:41 |
@pbcj | yeah, come to think of it, that may not be needed at all | 00:42 |
@pbcj | since every branded site would have it's own /customized/ subtree aside from the common content | 00:42 |
@pbcj | okay, that will work.. sounds like pD volunteered | 00:42 |
+perlDreamer | pD does not write new code any longer, only fix customer sites and old code | 00:43 |
+perlDreamer | when 8 is released, they'll take him out into the back 40 and bludgeon him with an IBM XT computer | 00:43 |
@preaction | come on. we'd have more class than that | 00:43 |
@preaction | you'd get an Atari ST at least | 00:44 |
+perlDreamer | I was hoping for a 386-DX with math co-processor, but the old and defunct can't be choosy | 00:44 |
@pbcj | DX4 | 00:45 |
@pbcj | but, even then, that's a lot of work for us | 00:45 |
@pbcj | TRS-80 | 00:45 |
@pbcj | it's lightweight and versatile | 00:46 |
@pbcj | shows 'em who's boss and won't leave a mark | 00:46 |
Haarg | http://gist.github.com/967452 patch on webgui 8, untested | 00:48 |
Haarg | should let you do [% USE Macro; macro.FileUrl(blah) %] | 00:48 |
@pbcj | right on man | 00:50 |
Haarg | although 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 |
fallout | ie8 doesn't like wegbui.org =( | 00:54 |
fallout | and i don't like ie8 | 00:54 |
Haarg | fallout, what problems are you seeing? | 00:56 |
Haarg | or do you actually mean wegbui.org because i make that typo constantly | 00:58 |
fallout | they are layout related- mainly, open tickets sometimes appears in full, sometimes it's cut off at the bottom of its parent | 00:58 |
fallout | heh, no, this is webgui.org | 00:59 |
fallout | i have a bug open somewhere that i haven't had time to look into | 00:59 |
Haarg | ah yeah i see what you mean. it doesn't expand to show the entire ticket tracker | 01:00 |
Haarg | not for the data table at least | 01:00 |
fallout | yeah, there are other (seemingly related) effects | 01:00 |
-!- carogray1 [~Caroline@173-142-200-215.pools.spcsdns.net] has joined #webgui | 01:00 |
fallout | similar things happen when submitting bugs- but you can make things disappear behind other items | 01:00 |
fallout | etc | 01:00 |
-!- carogray [~Caroline@173-145-113-91.pools.spcsdns.net] has quit [Ping timeout: 240 seconds] | 01:01 |
@pbcj | is it mostly the helpdesk? it could use some TLC. | 01:01 |
fallout | i'm still not clear what all is part of helpdesk.. | 01:02 |
@pbcj | everything you see when the url is /bugs | 01:02 |
fallout | <3 | 01:03 |
-!- daviddelikat [~user@ppp-70-226-164-54.dsl.mdsnwi.ameritech.net] has joined #webgui | 01:05 |
@pbcj | what I meant, was, the helpdesk asset could use some TLC, wink wink nudge... earn some fame and lots of karma ;) | 01:05 |
@preaction | it already got TLC, it just hasn't been finished for one reason or another | 01:06 |
@preaction | helpdesk v2 is just sitting in a github repo somewhere | 01:07 |
@pbcj | oh, then, what I mean is.. blame preaction | 01:07 |
@preaction | i'd blame frodwith more than preaction, but preaction is going to migrate v2 to 8 and everyone will be happy then | 01:07 |
fallout | i'm just going to point at everyone except me | 01:08 |
@preaction | but when you point, 3 fingers are pointing back at you | 01:08 |
fallout | aww | 01:08 |
Haarg | preaction, should i add that template toolkit session passing thing to 8/7.10? | 01:09 |
@preaction | Haarg: go for it | 01:10 |
@pbcj | ... / 7.7.21 | 01:10 |
@preaction | pbcj: they should upgrade | 01:10 |
Haarg | what about the additional template plugin namespace thing i had in that patch? | 01:10 |
Haarg | it's an extremely simple change. could be backported to any version extremely easily. | 01:11 |
@preaction | i'd say yes, but it would need tests | 01:11 |
@pbcj | I'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 time | 01:12 |
@preaction | so when i'm done with this, i can write a simple test for it and then put it in | 01:12 |
@preaction | pbcj: as graham mentioned, backport it. it's a retardedly simple patch | 01: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 #webgui | 01:12 |
@pbcj | grahams thing doesn't solve my problem, I think | 01:12 |
Haarg | i've just been throwing out related ideas i had so i'm not sure what problem you were actually dealing with | 01:13 |
Haarg | what are you trying to do? | 01:13 |
@pbcj | I want to process a subtemplate with the same template vars as the host template | 01:13 |
@pbcj | so that custom template content may be broken out | 01:14 |
@preaction | that won't do that then | 01:14 |
Haarg | well | 01:14 |
Haarg | it could be made to do something along those lines | 01:14 |
Haarg | would be kind of ugly though | 01:14 |
@pbcj | this is why I was talking about storing the template vars somewhere | 01:14 |
@pbcj | and that would be ugly | 01:14 |
@pbcj | we're going uglier but less hacky | 01:15 |
Haarg | basically, with that patch, you could write a template toolkit plugin to do pretty much anything you want | 01:15 |
@pbcj | get the vars hash that was passed in? | 01:15 |
@pbcj | and pass it to a subtemplate | 01:15 |
Haarg | the plugin would have access to those variables. the nastier part would be the actual processing of the subtemplate. | 01:16 |
@preaction | which a Template::Provider class would do elegantly | 01:16 |
-!- carogray [~Caroline@173-142-200-215.pools.spcsdns.net] has quit [Ping timeout: 240 seconds] | 01:17 |
Haarg | yeah, but that's harder than a one line patch | 01:17 |
@preaction | yes | 01:17 |
-!- carogray [~Caroline@32.178.80.139] has joined #webgui | 01:19 |
Haarg | actually | 01:19 |
Haarg | with _session in there | 01:19 |
+perlDreamer | wouldn't it make sense to see if content brought in by an INCLUDE directive is reprocessed in the context of the template? | 01:21 |
@preaction | looks like Template::Provider only requires you to override two methods, and should be very long to WebgUI::Asset->newById(...)->view | 01:21 |
Haarg | you could make a plugin 'SubTemplate', used like [% USE SubTemplate('block_name','url-goes-here'); PROCESS block_name %] | 01:21 |
Haarg | would be pretty easy to do as well | 01:21 |
Haarg | maybe it isn't as beautiful as asking for the template directly, but would involve less changes to core. | 01:22 |
@preaction | how 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 tests | 01:23 |
@preaction | gives me more wow for my presentation next week | 01:23 |
Haarg | you'd want to also handle something like 'template:url-blah' for the use case pbcj is talking about | 01:25 |
@preaction | right, because template doesn't use view | 01:26 |
@preaction | though pbcj could just as easily use a snippet | 01:27 |
Haarg | he wants to process the other template though, not include the view of it | 01:28 |
@preaction | Provider does INCLUDE, PROCESS, and that other one | 01:28 |
@preaction | INSERT, is the other one | 01:29 |
Haarg | INSERT is for raw files, it doesn't go through provider | 01:29 |
Haarg | the difference between include and process is just the variables that are passed to them | 01:30 |
@preaction | Template::Provider::_template_content begs to differ with you | 01:30 |
@preaction | This method returns the content of the template for all C<INCLUDE>, C<PROCESS>, and C<INSERT> directives. | 01:30 |
@preaction | the Subclassing section of Template::Provider's docs | 01:31 |
Haarg | eh, i guess so | 01:31 |
Haarg | still 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 |
Haarg | for an asset that you are trying to include i'd think you'd want PROCESS, INCLUDE, and INSERT to all behave the same | 01:34 |
Haarg | unless you actually want the output of an asset to be able to be processed as a template | 01:35 |
@preaction | yes | 01:36 |
Haarg | well i guess that works too | 01:36 |
@preaction | template snippets | 01:36 |
@preaction | or crazy collab setups | 01:37 |
@preaction | KUH | 01:37 |
@preaction | RAISEY | 01:37 |
sbaur | So, 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 |
@preaction | nothing. it doesn't work | 01:38 |
@preaction | there's no way to set where it looks for files, is the problem | 01:38 |
Haarg | we don't specify any include paths, so it can't be used without patching core | 01:38 |
@preaction | much less grabbing assets, which is what we're discussing now | 01:39 |
@preaction | i could add the config stuff while i'm at it too | 01:39 |
sbaur | ok, thanks for the clarification | 01:39 |
@preaction | i could just check if the asset is a template and return template instead of view | 01:40 |
sbaur | seems 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 |
@preaction | but even that directory is configurable | 01:40 |
@preaction | well, uploads is. the parent dir doesn't matter to webgui | 01:41 |
Haarg | the 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 template | 01:41 |
Haarg | since it roughly serves as a replacement for assetproxy | 01:42 |
Haarg | all you have to do is use INCLUDE or PROCESS in one place where it should be IMPORT, and you have all kinds of security issues | 01:42 |
@preaction | but then we can't have snippets that define functions that you can use later | 01:44 |
Haarg | use a template if you want it to be templatable | 01:44 |
Haarg | or make whoever is writing the template explicitly ask for it as a template | 01:45 |
@preaction | but it's not a template, it's a set of functions and cannot be processed by itself. | 01:45 |
@preaction | but then you have the same security problems, no? | 01:46 |
Haarg | the issue is that if someone wants to include an asset like they would have done with assetproxy, they would do something like | 01:46 |
Haarg | [% INCLUDE asset:asset-url %] | 01:47 |
Haarg | which will be a security problem | 01:47 |
Haarg | if they have to say template:asset-url then they are asking for it as a template | 01:47 |
@preaction | only if asset-url was created by a user we don't trust | 01:47 |
@preaction | so doing INCLUDE asset:$postId would be very bad indeed | 01:47 |
Haarg | yes but all kinds of things get included with assetproxy | 01:48 |
Haarg | including plenty of user content | 01:48 |
@preaction | isn't that what INSERT is for then? or IMPORT or what-not? | 01:48 |
@preaction | INSERT asset:asset-url | 01:48 |
Haarg | yes, but you just forgot what it was | 01:49 |
Haarg | do you think a site admin is going to remember when there are three options? | 01:49 |
Haarg | i 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 |
Haarg | something like template: forces them to think more than the difference between PROCESS/INCLUDE/INSERT | 01:51 |
Haarg | i guess i don't see the issue with forcing people to use template assets to store template components | 01:52 |
@preaction | eh, there isn't one really | 01:53 |
@preaction | but what you've said sounds like i can't have asset: in provider, because provider does process include and insert | 01:53 |
jimX11 | A 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 |
@preaction | no | 01:54 |
@preaction | H::T will die | 01:54 |
jimX11 | H:T will die, but I'm using TT2. | 01:55 |
+perlDreamer | that doesn't stop the user from building new, custom templates in H::T | 01:56 |
Haarg | preaction, looking at provider a bit more, INSERT only works with static files | 01:56 |
Haarg | or wait i'm dumb | 01:57 |
Haarg | ok. 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 #webgui | 02: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 #webgui | 02:06 |
Haarg | pbcj, 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 |
@pbcj | thx, 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 list | 02:08 |
@preaction | oh always | 02:09 |
Haarg | this stuff should all be simple to backport at least, so it shouldn't be a huge problem that it's an old version | 02:10 |
@pbcj | yes, but they aren't using TT to begin with, and that's what I don't have budget for | 02:15 |
@pbcj | however, this could likely solve it for client B. | 02:15 |
@pbcj | I want an overall solution that simplifies branding, for both a single site serving multiple urls, and several individual instances | 02:16 |
-!- carogray [~Caroline@32.178.80.139] has quit [Ping timeout: 258 seconds] | 02:19 |
fallout | i need some easy bugs to wade into wg with | 02:25 |
@preaction | you might find it easier to start with 8, if you can get it to work | 02:27 |
@pbcj | can I start over and just start with 8? | 02:27 |
@preaction | speaking of which, how's that going scrottie? does anything work on your system yet? can i breathe a sigh of relief? | 02:27 |
fallout | heh | 02:28 |
@preaction | pbcj: no. you don't get 8. no 8 for you! | 02:28 |
fallout | cj you have vm's | 02:28 |
@pbcj | yes, but I get paid for this, so .. | 02:28 |
* pbcj is pinned squarely under the man's thumb | 02:28 |
@preaction | pbcj: 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 has | 02:29 |
fallout | well, are there major issues with installing 8? | 02:29 |
@preaction | it's pre-alpha | 02:29 |
fallout | if it's similar to issues of old i think i'll survive | 02:29 |
@pbcj | I got it to work, once upon a time | 02:29 |
fallout | erm. | 02:29 |
@preaction | that's as succinct as i can get it | 02:29 |
@preaction | i'm working on trying to push alpha within a couple weeks | 02:29 |
fallout | will it get me karma is really the question i should be asking i suppose ;) | 02:30 |
@scrottie | anything work on my system? hmm? | 02:30 |
* scrottie was afk | 02:30 |
@scrottie | I 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 |
@preaction | at least it's doing a good job | 02:31 |
@scrottie | I guess I could test the UI some more. | 02:32 |
@preaction | fallout: afaik there aren't many easy bugs, but perlDreamer would know for sure. you might have better luck attacking the RFE boards | 02:32 |
fallout | roger. | 02:32 |
fallout | appreciate it | 02:32 |
@scrottie | fallout, yeah, even help testing would be good. a big picture of how it's coming together would seem useful. | 02:32 |
+perlDreamer | there's the PayPal locale bug | 02:32 |
@pbcj | fallout: I'd be willing to send you a stuffed octopus named 'gooey', and perlDreamer might be convinced to send you cookies. | 02:32 |
fallout | woot | 02:33 |
fallout | good enough. | 02:33 |
+perlDreamer | that's about as easy as it gets | 02:33 |
@scrottie | install is easy. I fixed up the README that comes with it to include the things that idiots like me tend to forget. | 02:33 |
+perlDreamer | but you need to test BOTH PayPal plugins, since they have different locale setting/form variables | 02:33 |
+perlDreamer | and the bug should be fixed in the master branch | 02:33 |
+perlDreamer | not WebGUI8 | 02:33 |
+perlDreamer | and we can talk about how to backport it to 7.9 | 02:33 |
fallout | ideal =) am looking. | 02:35 |
+perlDreamer | Haarg, what do you remember about this commit: 4350966866835f4a4a468d261fe2284577033c27 | 02:37 |
+perlDreamer | it 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 changed | 02:38 |
+perlDreamer | so, I was thinking of reverting that commit, and adding in a check to duplicate instead | 02:38 |
Haarg | i don't really know | 02: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 |
cj | fallout: hmm? | 03:11 |
-!- fokat [~lem@186.93.207.12] has joined #webgui | 03:13 |
cj | I do have vms, but why do you mention this? | 03:13 |
@preaction | cj: wrong cj i think. there's a pbcj | 03:14 |
cj | ah. 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 #webgui | 03:19 |
@scrottie | cj, how's the WebGUI based cart going? | 03:24 |
-!- fokat [~lem@186.93.207.12] has joined #webgui | 03:27 |
cj | scrottie: 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 #webgui | 03:41 |
-!- fokat [~lem@186.93.207.12] has quit [Ping timeout: 240 seconds] | 03:41 |
-!- lem_ is now known as Guest27612 | 03:41 |
-!- Guest27612 [~lem@186.93.207.12] has quit [Quit: Ex-Chat] | 04:05 |
@scrottie | File assets should always give IO::File::WithPath objects to PSGI, instead of the current redirecting or streaming behavior. (#11688) ... | 04:36 |
@scrottie | that seems to be working now but I'll have to write tests and commit tomorrow. | 04:36 |
@scrottie | site.psgi looks at the config and enables either XSendfile or Static as appropriate | 04:36 |
@preaction | awesome! | 04:37 |
@preaction | i was worried about that one | 04:37 |
@scrottie | at this point, some of this Plack stuff just needs simplified... | 04:37 |
@preaction | plack itself? or our usage of it? | 04:41 |
@scrottie | the usage of it. | 04:42 |
@scrottie | WebGUI.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 |
@scrottie | except I want to move content type guessing for streamed filehandles up to the top level there. | 04:43 |
@scrottie | most places won't need to call sendHeader. that can be done at the top level and probably no where else. | 04:44 |
@scrottie | that can be rolled into the Request's finalize() method in a subclass. | 04:45 |
@preaction | agreed | 04:46 |
@scrottie | so, Plack continues to simplify everything. yay, yay! | 04:46 |
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has quit [] | 04:50 |
@preaction | what 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 robe | 04:51 |
@scrottie | lineage vs url mostly confuses people, I think. | 04:53 |
@scrottie | it seems like mostly a chance for things to be out of sync. | 04:53 |
@preaction | it confused the hell out of me, yeah | 04:53 |
@preaction | but i also understand the benefit of arbitrary URLs | 04:53 |
@scrottie | I think we should shoot for that for 9. | 04:53 |
@scrottie | usually people pick their URL and then stuff under it goes under it and gets automatically named from the title. | 04:54 |
@scrottie | that wouldn't change. | 04:54 |
@preaction | we'd need a "canonical" URL to keep those automatic names predictable | 04:56 |
@scrottie | ImageMagick 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::Sucks | 04:57 |
@preaction | i'll keep it in mind. i should probably put together my 9 wishlist someday | 04:57 |
@scrottie | postgres. | 04:57 |
@preaction | why not a Graphics::Primitive plugin or what-not? | 04:57 |
@preaction | 9 would have an ORM, so yes. | 04:58 |
@scrottie | hmm, that sounds like a good idea. | 04:58 |
@scrottie | ugh. that's a discussion for another time. | 04:58 |
@preaction | heh | 04:58 |
-!- frodwith [~frodwith@helios.tapodi.net] has left #webgui [] | 04:58 |
jimX11 | Hmmm, ORMs | 04:58 |
jimX11 | DBIx::Class is making things so simple | 04:59 |
@preaction | well, 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 too | 04:59 |
@scrottie | I 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 #webgui | 05:01 |
-!- mode/#webgui [+o frodwith] by ChanServ | 05:01 |
@preaction | you 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 #webgui | 05:43 |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui | 10:25 |
-!- mode/#webgui [+v BartJol] by ChanServ | 10:25 |
-!- waxhead [~pete@ppp121-45-197-46.lns20.cbr1.internode.on.net] has joined #webgui | 11:24 |
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui | 14:33 |
-!- plainhao [~plainhao@208.75.85.237] has joined #webgui | 14:34 |
SDuensin | Thursday. 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 #webgui | 17:28 |
fallout | SDuensin: well, i'm sure you'll get lots of practice | 17:38 |
SDuensin | :-) | 17:39 |
SDuensin | (Nobody gets my quotes! What kind of geeks are you?!) | 17:39 |
+BartJol | we just ignore them :P | 17:40 |
SDuensin | lol | 17:41 |
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui | 17:54 |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 17:54 |
-!- sbaur [~Adium@130.157.145.37] has joined #webgui | 17:55 |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui | 18:09 |
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has joined #webgui | 18:14 |
-!- mode/#webgui [+o pbcj] by ChanServ | 18:14 |
@pbcj | mornin | 18:14 |
+perlDreamer | yo, pbcj | 18:14 |
@pbcj | =) finally starting to get over this bout. rhinovirus 3, chris 0 | 18:15 |
+perlDreamer | I keep tellin' ya, you spend too much time with weight on both feet, and you're droppin' yer left | 18:17 |
+perlDreamer | that's why he's got you on the ropes | 18:17 |
+perlDreamer | now, keep shifting your weight, move move move | 18:17 |
@pbcj | stick and move | 18:17 |
+perlDreamer | and keep that left up, otherwise he's going to make hamburger out of ya | 18:17 |
+BartJol | what, not playing supertuxcart? | 18:25 |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has quit [Quit: Leaving.] | 18:27 |
@scrottie | SDunsin, geeks aren't awake at that hour. | 18:30 |
@scrottie | ORMs aren't the future. they're just another tragic chapter in history. | 18:31 |
@pbcj | ORMs are a stepping stone | 18:32 |
@scrottie | ORMs are an attempt to replicate the working set in yet another place because copying data around is so much fun. | 18:34 |
@preaction | why do you hate jesus? | 18:34 |
@preaction | jesus loves ORMs | 18:34 |
@pbcj | ORMs are suppose to add an abstraction layer, albeit a specific abstraction. nHibernate was pretty nice. db4o even better. | 18:38 |
* pbcj begins the flame war | 18:38 |
@pbcj | so 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 |
@pbcj | idea from: http://stackoverflow.com/questions/1285441/calling-outside-modules-in-template-toolkit-without-plugins | 18:47 |
@pbcj | is this a bad idea? | 18:47 |
+perlDreamer | anything is better than giving them the whole session | 18:51 |
+perlDreamer | once an underprivileged user has a session, they can rewrite passwords, give themselves group membership | 18:52 |
+perlDreamer | and other things for fun and profit | 18:52 |
@preaction | we don't allow full perl blocks | 19:00 |
@preaction | and without downgrade(), i'm not sure how the subs will make it to the template | 19:01 |
@pbcj | I'd be a core change | 19:01 |
@pbcj | It'd | 19:01 |
@pbcj | and only work for TT | 19:01 |
@preaction | and we already have it, in the downgrade() sub. if you allow subrefs to be ported through, it'll work | 19:02 |
@preaction | as for eval_perl, let me get you a patch here quick | 19:02 |
@preaction | https://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 key | 19:04 |
@preaction | so you could do "template" : { EVAL_PERL : 1 } and enable eval_perl | 19:04 |
@preaction | if you're using pre 5.10 perl, you need to change //= into: defined $something ? $something : $default | 19:05 |
@pbcj | hrm, I was actually thinking I could put it in base template, and had started down that road as a test | 19:12 |
@pbcj | this is probably riddled with perl noob mistakes, but this is what I was going for: https://gist.github.com/5444b48de7bfeeb594b8 | 19:12 |
* pbcj has not run that code. don't shoot me | 19:12 |
@preaction | that won't work with H::T, and will break any H::T template | 19:12 |
@pbcj | screw H::T | 19:13 |
@pbcj | I 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 #webgui | 19:36 |
-!- mducharme-work [~nothing@206.188.121.4] has joined #webgui | 19:40 |
-!- perlbot [simcop2387@isuckatdomains.net] has quit [Remote host closed the connection] | 19:57 |
-!- perlbot [simcop2387@isuckatdomains.net] has joined #webgui | 19:57 |
-!- CIA-80 [cia@cia.atheme.org] has quit [Remote host closed the connection] | 20:01 |
-!- CIA-82 [cia@cia.atheme.org] has joined #webgui | 20:23 |
-!- jimX11 [~jjm@n128-227-81-249.xlate.ufl.edu] has quit [Quit: Leaving] | 20:40 |
-!- fokat [~lem@190.204.78.19] has joined #webgui | 20:50 |
-!- fokat [~lem@190.204.78.19] has quit [Ping timeout: 240 seconds] | 21:01 |
Haarg | pbcj, if you apply my patch to add _session to vars, you can then use a plugin like this | 21:55 |
Haarg | http://gist.github.com/969192 | 21:55 |
Haarg | and do [% USE WGTemplate; WGTemplate.process('url-here') %] | 21:56 |
@pbcj | still need the vars passed, though | 21:57 |
Haarg | $context->process keeps the vars | 21:57 |
@pbcj | oh, saweet | 21:58 |
@pbcj | this still puts session in vars tho | 22:12 |
@preaction | _ vars cant be accessed from the template | 22:12 |
@preaction | only from plugins and such | 22:12 |
@pbcj | oh, right, I think I discovered that once | 22:12 |
@pbcj | nice | 22:12 |
@pbcj | then, purrrfect | 22:13 |
@pbcj | ty | 22:13 |
-!- CIA-82 [cia@cia.atheme.org] has quit [] | 22:20 |
@pbcj | CIA is not doing well today | 22:22 |
+perlDreamer | He needs some Botspo-Bismal | 22:32 |
-!- mducharme-work [~nothing@206.188.121.4] has quit [Quit: Leaving.] | 22:33 |
-!- mducharme-work [~nothing@206.188.121.4] has joined #webgui | 22:35 |
-!- CIA-82 [cia@cia.atheme.org] has joined #webgui | 22:40 |
-!- mducharme-work [~nothing@206.188.121.4] has quit [Quit: Leaving.] | 22:46 |
-!- mducharme-work [~nothing@206.188.121.4] has joined #webgui | 22:52 |
@scrottie | http://pghpw.org/ppw2011/ ... I'm thinking about putting in "WebGUI 8 as a Plack Web Development Framework". | 23:34 |
@scrottie | btw, 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 #webgui | 01:04 |
-!- fokat [~lem@186.93.207.12] has joined #webgui | 01:04 |
-!- lem_ is now known as Guest7516 | 01: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 #webgui | 02: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-82 | webgui: Scott Walters WebGUI8 * r7a994b5 / (6 files in 6 dirs): (log message trimmed) | 04:11 |
CIA-82 | webgui: File assets should always give IO::File::WithPath objects to PSGI, instead of the current redirecting or streaming behavior. (#11688) | 04:11 |
CIA-82 | webgui: New API method: WebGUI::Response::sendFile; it, as appropriate, calls | 04:11 |
CIA-82 | webgui: setRedirect or setStreamedFile, depending on enableStreamingUploads config var. | 04:11 |
CIA-82 | webgui: setStreamedFile now kicks off the XSendfile process. | 04:11 |
CIA-82 | webgui: File.pm now uses this instead of trying to set both a redirect and a stream. | 04:11 |
CIA-82 | webgui: IO::File::WithPath blows up if a file doesn't exist so this raises an exception | 04:11 |
* scrottie & | 04:12 |
-!- carogray1 [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui | 04: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 #webgui | 05: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 #webgui | 05:23 |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 05: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 #webgui | 07: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 #webgui | 07:45 |
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui | 08:49 |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui | 10:29 |
-!- mode/#webgui [+v BartJol] by ChanServ | 10: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 #webgui | 13:05 |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has quit [Read error: Operation timed out] | 14:23 |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui | 14:24 |
-!- mode/#webgui [+v BartJol] by ChanServ | 14: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 #webgui | 16:23 |
-!- carogray1 [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui | 16:40 |
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has quit [Ping timeout: 246 seconds] | 16:43 |
SDuensin | FrIdAy13tH! | 16:50 |
-!- fokat [~lem@186.93.207.12] has joined #webgui | 17:25 |
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has joined #webgui | 17:48 |
-!- mode/#webgui [+o pbcj] by ChanServ | 17: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 |
@scrottie | GOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOD MORNING VIETNAM | 19:41 |
@scrottie | oh, hell. | 19:41 |
@scrottie | it is. | 19:41 |
@scrottie | so that's why I stabbed myself with a rusty nail this morning. | 19:42 |
SDuensin | Well 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 #webgui | 21:00 |
@preaction | so since I wrote WebGUI::Template::Provider today, does that mean it's the unholy spawn of our evil dark lord, Mr. Fuzzydrawers? | 21:41 |
@scrottie | vi lib/WebGUI.pm ... :w ... lib/WebGUI.pm: 209 lines, 6666 characters. | 21:49 |
@preaction | oh god, it's STARTING | 21:50 |
@scrottie | I guess wc -c would be easier. | 21:50 |
@scrottie | hrm, 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 #webgui | 22:28 |
-!- mode/#webgui [+o rizen] by ChanServ | 22:28 |
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui | 22:42 |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 22:42 |
-!- fokat [~lem@190.72.135.232] has joined #webgui | 23: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 #webgui | 23: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 |
@preaction | I CAN FINALLY CHECK IN THIS MERGE! | 02:13 |
@preaction | full test suite runs expectedly dirty! only POD.t and Whitespace.t fail! | 02:14 |
@preaction | git add lib t | 02:14 |
@preaction | that's the wrong window | 02:14 |
CIA-82 | webgui: Doug Bell WebGUI8 * r277faae / (848 files in 205 dirs): (log message trimmed) | 02:21 |
CIA-82 | webgui: Merge commit 'v7.10.15' into 8 | 02:21 |
CIA-82 | webgui: Conflicts: | 02:21 |
CIA-82 | webgui: docs/gotcha.txt | 02:21 |
CIA-82 | webgui: docs/previousVersion.sql | 02:21 |
CIA-82 | webgui: docs/templates.txt | 02:21 |
CIA-82 | webgui: lib/WebGUI.pm | 02:21 |
CIA-82 | webgui: Doug Bell WebGUI8 * r677ac97 / (89 files in 28 dirs): | 02:21 |
CIA-82 | webgui: Merge branch 'WebGUI8' of github.com:plainblack/webgui into 8 | 02:21 |
CIA-82 | webgui: Conflicts: | 02:21 |
CIA-82 | webgui: lib/WebGUI.pm | 02:21 |
CIA-82 | webgui: lib/WebGUI/Auth/WebGUI.pm | 02:21 |
CIA-82 | webgui: sbin/findBrokenAssets.pl | 02:21 |
CIA-82 | webgui: sbin/testEnvironment.pl - http://bit.ly/k0dBsw | 02:21 |
sbaur | congrats 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 #webgui | 04:29 |
@scrottie | preaction, just between you and I, I think you should release a public beta of WebGUI8 at midnight. | 04:43 |
@preaction | 11:59 perhaps? | 04:43 |
@scrottie | works. | 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 #webgui | 13:24 |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui | 13:27 |
-!- KlausH [~KlausH@pD952A00E.dip0.t-ipconnect.de] has joined #webgui | 14: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 #webgui | 18:55 |
-!- mode/#webgui [+o rizen] by ChanServ | 18: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 #webgui | 22:04 |
--- Day changed Sun May 15 2011 |
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui | 03: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 #webgui | 05: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 #webgui | 06:52 |
-!- lem_ [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 06:52 |
-!- lem_ is now known as Guest40665 | 06: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 #webgui | 07: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 #webgui | 09:22 |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has quit [Ping timeout: 252 seconds] | 09:34 |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui | 11:43 |
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui | 12: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 #webgui | 13: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 #webgui | 15:24 |
-!- mode/#webgui [+v Radix_] by ChanServ | 15:24 |
-!- carogray [~Caroline@184-201-247-71.pools.spcsdns.net] has joined #webgui | 15:38 |
-!- carogray1 [~Caroline@173-101-178-251.pools.spcsdns.net] has joined #webgui | 16: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 #webgui | 17: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 #webgui | 17: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 #webgui | 18: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 #webgui | 18:50 |
-!- carogray1 [~Caroline@173-125-127-35.pools.spcsdns.net] has joined #webgui | 18: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 #webgui | 00:44 |
-!- waxhead [~pete@ppp121-45-197-46.lns20.cbr1.internode.on.net] has joined #webgui | 01:40 |
-!- Baub [~ilikegyro@cblmdm24-53-133-235.buckeyecom.net] has joined #webgui | 02: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 #webgui | 04:06 |
-!- andyiomoon [~andyiomoo@vpn246-8.cc.swin.edu.au] has joined #webgui | 04: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 #webgui | 05: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 #webgui | 05: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 #webgui | 06: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 #webgui | 07: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 #webgui | 10:22 |
-!- ryuu_ro [~rory@D57D69B6.static.ziggozakelijk.nl] has joined #webgui | 11: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 #webgui | 13: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 #webgui | 14:19 |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 14: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 #webgui | 15:01 |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui | 15:02 |
-!- mode/#webgui [+v BartJol] by ChanServ | 15: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 #webgui | 15:04 |
-!- jimX11 [~jjm@n128-227-81-249.xlate.ufl.edu] has joined #webgui | 16: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 #webgui | 16:35 |
SDuensin | Greetings. | 16:50 |
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has joined #webgui | 16:56 |
-!- mode/#webgui [+o pbcj] by ChanServ | 16: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 #webgui | 17:28 |
-!- ryuu_ro_ [~rory@D57D69B6.static.ziggozakelijk.nl] has joined #webgui | 17: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 #webgui | 17:46 |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 17:46 |
-!- ryuu_ro [~rory@D57D69B6.static.ziggozakelijk.nl] has quit [Ping timeout: 246 seconds] | 17:47 |
-!- sbaur [~Adium@130.157.145.37] has joined #webgui | 17: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 #webgui | 21:40 |
-!- cj_ [~cjac@adsl-207-32-169-17.rockisland.net] has joined #webgui | 22: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 #webgui | 00:04 |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Client Quit] | 00:05 |
CIA-82 | webgui: Paul Driver master * rc1a2918 / (4 files in 4 dirs): fixed #12129: AdminBar calls canAdd as an object method - http://bit.ly/iuwgWG | 00:13 |
CIA-82 | webgui: Paul Driver webgui-7.9 * red2a50d / (4 files in 4 dirs): fixed #12129: AdminBar calls canAdd as an object method - http://bit.ly/kTijeG | 00:17 |
CIA-82 | webgui: Paul Driver webgui-7.9 * r0d66ad4 / t/Asset/Asset.t : Whoops. Monkey::Patch wasn't used. - http://bit.ly/lSSc0G | 00:17 |
CIA-82 | webgui: Paul Driver master * r4af2c84 / t/Asset/Asset.t : Whoops. Monkey::Patch wasn't used. - http://bit.ly/kQoC2H | 00: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 #webgui | 02:05 |
-!- sbaur [~Adium@130.157.145.37] has quit [Quit: Leaving.] | 02:27 |
jimX11 | how can I generate a new session id? This ain't it: $session->id->generate | 03:00 |
@scrottie | are you calling the docs a liar? | 03:04 |
@scrottie | what error do you get? | 03:05 |
@preaction | do you mean you want a new session? | 03:05 |
@preaction | or just an ID? | 03:05 |
jimX11 | just an id | 03:05 |
jimX11 | well it could be me. | 03:05 |
@preaction | then yes, session->id->generate | 03:05 |
@scrottie | I might guess that you have a $self but not a $session. does the module load? | 03:05 |
jimX11 | Hmm. | 03:05 |
@scrottie | is there anything in the mod_perl error log about this module? | 03:06 |
Haarg | what does generate give you that is different from what you are expecting? | 03:06 |
jimX11 | In 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 |
jimX11 | my $session = WebGUI::Test->session; | 03:07 |
@scrottie | paste the code around this loop into a gist.github.com gist? | 03:07 |
jimX11 | is my seesion. | 03:07 |
@scrottie | or use +http://webgui.pastebin.com | 03:08 |
jimX11 | https://gist.github.com/975636 | 03:08 |
Haarg | pastebin doesn't have subdomains like that anymore actually | 03:09 |
-!- targz [~gmac@heaton.plus.com] has joined #webgui | 03:09 |
jimX11 | the 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 |
jimX11 | well, I made a test loop and that craeted new ids (just as the docs say). So must be something in my loop. | 03:13 |
jimX11 | ok, session->id->generate is the right thing to use here. Just checking my assumptions (because at least one of the is wrong). | 03:14 |
targz | I'm planning a WebGUI deployment for later this year. Any idea when WebGUI8 might be released? | 03:16 |
targz | I'd really like a Plack/PSGI-based version to work with. | 03:17 |
@scrottie | targz, check out a copy now and test it. | 03:19 |
@scrottie | there 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 |
targz | I 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 |
@scrottie | regardless, 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 |
@scrottie | preaction will have to speak to that. | 03:21 |
targz | It's more a case of trying out new server options with PSGI eg. Starman, nginx etc. | 03:22 |
@preaction | i'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 |
@preaction | normal 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 stable | 03:23 |
targz | Sounds like the back end of this year then. Good to have some idea. Thanks. | 03:23 |
@preaction | as long as you write no custom code, the upgrade should happen as normal, though i'll get a feel for that in these coming weeks | 03:24 |
@scrottie | a lot of this has to do with how brave you are. | 03:25 |
@preaction | indeed | 03:25 |
@preaction | but 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 universe | 03:25 |
@scrottie | fwiw, we're stoked about Plack too. | 03:25 |
@scrottie | have those Test::Class tests seen the light of day any time recently? | 03:27 |
@preaction | crap, you're right. those don't get run with a normal run... | 03:28 |
@scrottie | they're too obnoxious. but they might be worth running manually. | 03:28 |
targz | Where can I get WebGUI 8 source code? Can't see anything on the website. | 03:33 |
@preaction | http://github.com/plainblack/WebGUI8 i think | 03:33 |
@preaction | https://github.com/plainblack/WebGUI/tree/WebGUI8 <- nope, this | 03:34 |
jimX11 | thanks for the tips, the problem was in the method chaining. | 03:43 |
targz | The fie I downloaded is labelled ... v7.10.15 ... Is that the correct one? | 03:50 |
@preaction | targz: no, you need to clone the git repo and checkout the WebGUI8 branch | 03:50 |
targz | Right. So it's a Git job. | 03:51 |
jimX11 | where can I read about adding a user via the command line? Maybe something in /data/wre/sbin will help? | 04:00 |
@preaction | wgd might be able to do it | 04:00 |
@preaction | maybe not. looks to only be able to test the security of passwords | 04:01 |
Haarg | userImport.pl can do some user manipulation | 04:02 |
Haarg | it's kind of painful to work with though | 04:02 |
jimX11 | ok. | 04:04 |
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui | 04:22 |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 04:22 |
-!- targz [~gmac@heaton.plus.com] has left #webgui [] | 04:27 |
+perlDreamer | what's the magic CPAN invocation to tell it just to install all these temporary modules needed for building other modules? | 05:17 |
@preaction | EM_MM_USEDEFAULT=1 maybe? dunno | 05:26 |
@preaction | cpanm maybe? | 05:26 |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Quit: Ex-Chat] | 05:45 |
+perlDreamer | mmm, cpanm! | 05:48 |
Haarg | o conf build_requires_install_policy yes | 06:34 |
+perlDreamer | thanks Haarg | 07:04 |
-!- elnino [~ninow@user-38q47pn.cable.mindspring.com] has joined #webgui | 07:30 |
elnino | hi. 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 |
@preaction | no, but that might be an outstanding RFE | 07:32 |
elnino | ok. 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" row | 07:33 |
CIA-82 | webgui: Colin Kuskie master * r2ab9773 / lib/WebGUI/Shop/PayDriver/PayPal/ExpressCheckout.pm : Remove variables that were not being used. - http://bit.ly/kVFzeP | 07:34 |
CIA-82 | webgui: 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/lQxBVA | 07:34 |
CIA-82 | webgui: 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/kg9V4C | 07:37 |
jimX11 | well, 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 |
elnino | are you talk to me? | 07:54 |
+perlDreamer | preaction: heads up. There's some intermittent bug in AssetLineage.t | 07:55 |
jimX11 | elnino:sorry wrong window. | 07:55 |
elnino | lol. that's ok. it kinda sounded related to what I was doing. =) | 07:55 |
@preaction | perlDreamer: what happens? | 07:56 |
+perlDreamer | http://www.webgui.org/use/bugs/tracker/12130 | 07:56 |
+perlDreamer | setRank fails to move an asset | 07:56 |
CIA-82 | webgui: Colin Kuskie master * re33c41b / t/Asset/AssetLineage.t : Add more tests around a test that fails intermittently in AssetLineage.t - http://bit.ly/kMt2zt | 07:58 |
@preaction | jimX11: you should have a data structure that looks like this: columns => [ { name => 'name', label => 'Name' } ... ], rows => [ { row => [ { name => 'Value' } ... ] }, { row => [ { name => 'Value2' } ] } ] } | 07:58 |
@preaction | the DataTable asset does something like it, iirc | 07:58 |
@preaction | perlDreamer: that has to be a recent happenstance. perhaps git bisect can help you? | 07:58 |
+perlDreamer | I don't think it's recent, I think it's rare | 07:58 |
+perlDreamer | and I can't duplicate it | 07:59 |
+perlDreamer | but I've got the test log that shows what'sup | 07:59 |
+perlDreamer | if I hadn't had to spend the last hour fixing test failures from RFE's I may have never seen it even this time | 07:59 |
@pbcj | Haarg, got that TT plugin working. ended up like this: https://gist.github.com/975976 this way it can branch to a H::T | 08:00 |
CIA-82 | webgui: Colin Kuskie master * r669a071 / docs/create.sql : Preparing for 7.10.16 release. - http://bit.ly/iNOipy | 08:00 |
@pbcj | [% USE SubTemplate; SubTemplate.process('/other-template') %] | 08:00 |
@pbcj | thx for your assist on that | 08:01 |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui | 08:02 |
jimX11 | preaction: 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 |
@preaction | H: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 TT | 08:04 |
@preaction | but working with H:T means massaging the data into what H:T expects, even if that requires a few dozen map { } calls | 08:04 |
+perlDreamer | preaction, the new AssetProperty macro lets you pull any property from a macro without doing group checks | 08:08 |
+perlDreamer | is that legal? | 08:08 |
-!- elnino [~ninow@user-38q47pn.cable.mindspring.com] has quit [Quit: Leaving] | 08:08 |
+perlDreamer | let me try that again | 08:08 |
+perlDreamer | preaction, the new AssetProperty macro lets you pull any property from any asset without doing privilege checks | 08:08 |
@preaction | perhaps ask the author if that's a requirement? i could go either way really | 08:10 |
+perlDreamer | I'm probably just being paranoid again | 08:11 |
+perlDreamer | never mind | 08:11 |
-!- Haarg [~haarg@haarg.org] has quit [Quit: Leaving] | 08:15 |
-!- Haarg [~haarg@haarg.org] has joined #webgui | 08:16 |
@scrottie | bash needs the perl /x flag for commands. | 08:16 |
@scrottie | or maybe I need to investigate perl shells. | 08:17 |
CIA-82 | webgui: Colin Kuskie master * rbba52dd / (4 files in 4 dirs): Ready for 7.10.17 development. - http://bit.ly/kU4WYy | 08:20 |
Haarg | that 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 |
jimX11 | preaction: 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 |
jimX11 | I 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 |
@preaction | wait a minute. aren't files supposed to be included in packages? | 09:02 |
-!- ryuu_ro [~rory@D57D69B6.static.ziggozakelijk.nl] has joined #webgui | 09:02 |
@preaction | the actual file contents? | 09:02 |
@scrottie | hrm. I have in the past wgd package'd up pngs and moved them over. | 09:03 |
@scrottie | I 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 #webgui | 09:03 |
@preaction | maybe it's because these are collab posts and the attachments don't come with them? | 09:04 |
* scrottie waves to andyiomoon | 09:04 |
@preaction | like dataform entries don't come with the dataform | 09:04 |
@preaction | nope, attachments are included with posts. | 09:04 |
@preaction | why do i always have to find bugs when it's a data recovery emergency? | 09:05 |
@scrottie | uh oh. | 09:05 |
@preaction | i'm fine, i can get the data, it's just annoying | 09:05 |
@preaction | the package wouldn't import, had to do it three times, somehow repeating it make it eventually work | 09:05 |
@preaction | but the package didn't export any files... because the files weren't there because the assets were from the backup but the files were not | 09:06 |
@preaction | so that's not a bug | 09:06 |
@preaction | just out of sync data | 09:06 |
@preaction | but having to import three times... | 09:06 |
@preaction | maybe because the storageId was there but there was no data? | 09:06 |
@scrottie | could be. | 09:07 |
@preaction | it's 1:00am. i'm not going to go digging, but i will leave a note to dig tomorrow | 09: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 #webgui | 09:08 |
@scrottie | "my $storage = $asset->exportPackage;" seems to be the heart of package building. | 09:08 |
@scrottie | and importPackage() to import them. | 09:09 |
* andyiomoon doffs lid to scrottie | 09:09 |
@scrottie | ready for another exciting day, andyiomoon? | 09:09 |
andyiomoon | boy am I!!! | 09:10 |
andyiomoon | that might have sounded a little too enthusiastic | 09:10 |
@scrottie | enthusiasm 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 |
@preaction | and for some reason tar didn't extract all the images correctly, or worse those images are missing... | 09:16 |
@scrottie | hrm. 'info'/'debug' level logging is going to have to be retained, I think. | 09:16 |
@preaction | most definitely | 09:17 |
@scrottie | (I can't remember right now what you wrote earlier) | 09:17 |
@preaction | fatal needed to go away because all errors are potentially recoverable and logging an error should not include a die() | 09:18 |
@scrottie | exceptions 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 |
@scrottie | there's something nice about being able to turn debug volume to 11 when you're testing a failure scenario. | 09:22 |
@preaction | i 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 #webgui | 10:23 |
-!- mode/#webgui [+v BartJol] by ChanServ | 10:23 |
@scrottie | kill it with fire. | 10:41 |
-!- waxhead [~pete@ppp121-45-197-46.lns20.cbr1.internode.on.net] has joined #webgui | 10: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.com | 12: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 #webgui | 14: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 #webgui | 15:54 |
jimX11 | wreservice.pl --restart modperl give a "FAILED!" message. The log /data/wre/va\ | 16:05 |
jimX11 | r/logs/modperl.error.log look normal "resuming normal operations" but modperl a\ | 16:05 |
jimX11 | ppears 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 |
jimX11 | I'm guessing one of my modules fails to compile, but no mention of that in the log. | 16:17 |
+BartJol | jimX11: sometimes I see a FAILED message, while actually modperl is fine | 16:26 |
+BartJol | but in yeurcase it doesn't look like it | 16:26 |
+BartJol | I think yopu can adjust the log level | 16:27 |
jimX11 | BartJol: I'll adjust the log level and see if something turns up in the logs. Thanks. | 16:27 |
+BartJol | in the wre it is in modperl.conf in /data/wre/etc | 16:28 |
SDuensin | Only Tuesday!? ACK! | 16:41 |
jimX11 | BartJol: 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 |
+BartJol | well, bon appetit | 16:53 |
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has joined #webgui | 17:33 |
-!- mode/#webgui [+o pbcj] by ChanServ | 17:33 |
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui | 17:54 |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 17:54 |
-!- sbaur [~Adium@130.157.145.37] has joined #webgui | 17: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 #webgui | 18:31 |
-!- mode/#webgui [+o rizen] by ChanServ | 18:31 |
+perlDreamer | preaction: got some action on the Data::Serializer::JSON bug report | 18:37 |
+perlDreamer | the author is hesitant to accept the patch, because the author of JSON provided the original | 18:38 |
@rizen | he's just the author of json, what does he know about it? =) | 18:38 |
+perlDreamer | oh sure, take his side! | 18:39 |
+perlDreamer | what do you know about authoring large, popular software programs? | 18:39 |
@rizen | nothing | 18:40 |
@rizen | i've only authored large unpopular programs | 18:40 |
@rizen | many times | 18:40 |
@rizen | =) | 18:40 |
+perlDreamer | 4th times the charm! | 18:42 |
+perlDreamer | okay, 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 |
@rizen | sounds awfully sweet. i'd say, throw that crap away and make me an omelet! | 18:43 |
@rizen | =) | 18:43 |
+perlDreamer | from now on, I'm only making the kids spaghetti with peanut butter and worchestershire sauce | 18:44 |
Haarg | perlDreamer, i think for the purposes of that Data::Serializer::JSON issue, using utf8 encoding and decoding would probably be the way to go | 19:08 |
@preaction | http://www.webgui.org/use/bugs/tracker/12132 <- fun bug I found at 2:00am last night! | 19:09 |
+perlDreamer | oooohhhh, very evil! | 19:15 |
@preaction | now i just gotta find out why the frankenstein package i made completely blew up | 19:24 |
CIA-82 | webgui: Doug Bell WebGUI8 * r01b9d95 / lib/WebGUI/Asset/RichEdit.pm : fix RichEdit merge - http://bit.ly/klsoRP | 19:49 |
@preaction | should inheriting from WebGUI::Asset load WebGUI::Definition::Asset for you? | 19:52 |
@preaction | i can reduce this Hello World asset by a line, and a confusing error | 19:53 |
@preaction | nope, 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 need | 20:06 |
jimX11 | lunch anyone? Bean nachos. Hmm. | 20:20 |
+perlDreamer | preaction, I did a little digging into that bug and I'm confused | 20:36 |
+perlDreamer | www_lock calls addRevision | 20:37 |
+perlDreamer | addRevision creates a tag if it doesn't exist | 20:37 |
+perlDreamer | or if the parent doesn't have an open tag | 20:37 |
+perlDreamer | or if there's no autocommit workflowId | 20:37 |
+perlDreamer | I mean, on the surface it looks fine | 20:37 |
@preaction | shit | 21:07 |
@preaction | shit shit shit | 21:07 |
@preaction | then i don't even know | 21:07 |
@preaction | i was looking at 8, which does things differently | 21:07 |
@preaction | then i don't know what happened. | 21:10 |
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has joined #webgui | 21:26 |
+perlDreamer | later 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 #webgui | 21:43 |
knowmad | i 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 |
@preaction | knowmad: add it to the existing DataForm asset and send us a patch? | 21:46 |
@preaction | though, isn't there a global reply-to address in the settings? | 21:46 |
@preaction | it has to be different than From:? | 21:46 |
knowmad | i didn't see one but let me check again... | 21:47 |
knowmad | i 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 field | 21:48 |
@preaction | but yes, if it's not there, i approve the RFE | 21:49 |
knowmad | when you say "global reply-to address in the settings", do you mean in the DataForm.pm definition? | 21:49 |
knowmad | preaction: there is a reply-to option in WebGUI::Mail::Send so adding a reply-to field in settings is easy | 21:51 |
knowmad | unfortunately, i need to be able to populate that with a value from the dataform | 21:52 |
knowmad | oh, wait, I should be able to do it the same way we handle from, subject, cc, etc | 21:52 |
@preaction | yeah, that | 21:53 |
knowmad | ok, i'll submit an rfe and patch | 21:54 |
+perlDreamer | it would probably be best to extend the default field set that's setup to add the Reply-To: Field in there | 21:55 |
-!- rizen [~rizen@71-87-113-102.dhcp.mdsn.wi.charter.com] has quit [Quit: rizen] | 21:57 |
jimX11 | I 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 |
@scrottie | https://github.com/miyagawa/Plack-Middleware-InteractiveDebugger | 22:42 |
+perlDreamer | GUID's are URL safe, jimX11 | 22:42 |
CIA-82 | webgui: Doug Bell WebGUI8 * r1f75069 / lib/WebGUI/Asset.pm : allow assetName to be a normal, non-i18n string - http://bit.ly/iN4By9 | 23:21 |
CIA-82 | webgui: Doug Bell WebGUI8 * r587d494 / (2 files in 2 dirs): add Template Toolkit plugins/extentions - http://bit.ly/muddFD | 23:21 |
CIA-82 | webgui: Doug Bell WebGUI8 * r72d32d6 / lib/WebGUI/Template/Provider.pm : clarify returning from try/catch - http://bit.ly/izQVWu | 23:28 |
knowmad | perlDreamer: 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 form | 23:32 |
@preaction | yes, most likely | 23:33 |
knowmad | on another topic, i need to integrate an external script into a WebGUI site | 23:33 |
knowmad | thanks preaction | 23:33 |
knowmad | it will take form input, process it and return output | 23:34 |
knowmad | i'm looking for quick and maintainable (realizing that these may be mutually exclusive) | 23:34 |
knowmad | ideally, i'd like the output to be handled by a wG template; any suggestions? ideas? | 23:34 |
@preaction | i'd say an asset, it would have to be | 23:38 |
@preaction | parsing the output yourself and then giving it to a template | 23:38 |
knowmad | do i need a wobject or can i get by with a plain asset? | 23:39 |
knowmad | Believe it or not, I've never written one so I'm kinda looking forward to the opportunity | 23:40 |
@preaction | wobject adds style templates, so you probably want a wobject | 23:40 |
@preaction | wish i had 8 out, i'm writing a presentation right now about HelloWorld asset and a simple DBIx::Class wobject | 23:41 |
knowmad | yeah, we probably do; now to learn about wobjects ;) | 23:41 |
knowmad | do you have an ETA on the release of 8? | 23:41 |
@preaction | i'm planning on an alpha next month. a beta when pb.com and wg.org are settled and stable | 23:42 |
@preaction | alpha will be like a beta cycle, only with an alpha name and not stopping 7.9 stable dev | 23:42 |
knowmad | excellent | 23:44 |
@preaction | anyone care to comment on the state of the 8-apps presentation so far? http://preaction.github.com/WebGUI/8-apps.html | 23:53 |
Haarg | perlDreamer, re Data::Serializer::JSON, have you tried using it with utf8 encoding turned on for both encode and decode? | 23:55 |
+perlDreamer | no, I just used what we use internally | 23:55 |
+perlDreamer | from_json and to_json | 23:55 |
+perlDreamer | which the docs say will handle UTF8 correctly | 23:55 |
--- Day changed Wed May 18 2011 |
Haarg | if you are storing it in a text column yes | 00:01 |
Haarg | from_json is the same as JSON->new->decode() | 00:01 |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui | 00:01 |
Haarg | if you store the data in a blob or something binary, letting JSON do the encoding/decoding is fine | 00:03 |
+perlDreamer | I think part of the problem is that we don't know what it's going to be stored as | 00:23 |
+perlDreamer | the backend could be anything | 00:23 |
+perlDreamer | so, for context, I came across that when I tried to use CHI, with Fast_MMAP, with JSON as the serializer | 00:24 |
+perlDreamer | the site that was using it had smart quotes, which all broke with JSON as the serializer | 00:24 |
+perlDreamer | worked fine with Storable, but the original version of Storable was writing stuff that it couldn't read | 00:25 |
+perlDreamer | so the site would throw a 500 error | 00:25 |
Haarg | for things like that, having it not encoded is probably wrong, but due to perl internals probably works anyway | 00:25 |
Haarg | i think for a cache system you should probably always be assuming the backend is dealing in bytes | 00:26 |
+perlDreamer | currently it's encoding asymmetrically | 00:26 |
Haarg | yeah, with something like fastmmap though, it probably just goes directly to the internal representation | 00:26 |
Haarg | which just happens to be utf8ish | 00:26 |
Haarg | and so it round trips correctly by luck | 00:26 |
+perlDreamer | hm | 00:27 |
Haarg | i could be wrong about that, but i think what is needed is to encode and decode both with utf8 on | 00:27 |
+perlDreamer | so you would s/JSON->new->decode($_[1]);/JSON->new->utf8->decode($_[1]);/ | 00:27 |
Haarg | for the caching thing yes | 00: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 |
+perlDreamer | you'd use the URL of the asset for that | 00:30 |
+perlDreamer | $self->getUrl | 00:30 |
jimX11 | thanks | 00:30 |
+perlDreamer | if you every really did want the page url from the session, $session->url->page | 00:31 |
-!- SquOnk [~emhn@186.93.207.12] has joined #webgui | 00:35 |
SquOnk | Greetings. | 00:35 |
-!- cj_ [~cjac@adsl-207-32-169-17.rockisland.net] has quit [Ping timeout: 252 seconds] | 00:36 |
+perlDreamer | yo, SquOnk | 00:36 |
SquOnk | Need 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 #webgui | 00:37 |
+perlDreamer | what defines "current"? | 00:37 |
SquOnk | They 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 |
+perlDreamer | sorry | 00:37 |
SquOnk | perlDreamer: Whichever one they shortcut and paste in the main page. | 00:37 |
+perlDreamer | that's an Asset focus problem | 00:37 |
+perlDreamer | when they vote, you go into the Asset | 00:37 |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Read error: Operation timed out] | 00:38 |
SquOnk | Exactly. I told them that. Is there any way to prevent that? | 00:38 |
+perlDreamer | change the Poll to submit ajax? | 00:38 |
+perlDreamer | and pull data via AJAX? | 00:38 |
+perlDreamer | I'm pretty sure the ajax submit can happen with just a template change | 00:38 |
+perlDreamer | but pulling the data can't | 00:38 |
SquOnk | perlDreamer: Haven't done that. | 00:39 |
+perlDreamer | unless you forced a page reload or something | 00:39 |
+perlDreamer | SquOnk, there are lots of examples of making AJAX requests in WebGUI | 00:41 |
+perlDreamer | and if a JS-hating bigot like me can do it, then esteemed university professors can do it too | 00:41 |
SquOnk | perlDreamer: Oh, but I'm not doing it. | 00:42 |
SquOnk | perlDreamer: *They* are doing it. | 00:42 |
+perlDreamer | ah | 00:42 |
+perlDreamer | it would be a cool RFE to add a real AJAX API to the Poll | 00:44 |
-!- knowmad [~knowmad@adsl-070-148-067-249.sip.clt.bellsouth.net] has quit [Ping timeout: 248 seconds] | 00:46 |
+perlDreamer | preaction, re 8-presentation, have you had time to check out the InnoDB migration code? | 00:50 |
@preaction | it is not part of the upgrade yet, no | 00:50 |
* SquOnk wonders about the Pg-based version | 00:53 |
+perlDreamer | SquOnk, we're just waiting for your patches :) | 00:54 |
SquOnk | perlDreamer: :) | 00:54 |
+perlDreamer | actually, there have been a couple of different people who have asked about that now | 00:55 |
+perlDreamer | and a db agnostic way of running wG would make the demo system very easy | 00:55 |
+perlDreamer | something that is SQLite backed, for example | 00:55 |
SquOnk | perlDreamer: "db agnostic" implies DBIx::Class | 00:56 |
+perlDreamer | no, it implies working with lots of other database backends | 00:56 |
+perlDreamer | converting WebGUI to DBIx::Class would be about the same amount of work, or more, than converting it to Moose | 00:56 |
+perlDreamer | that was close to two years | 00:56 |
@preaction | it wouldn't have to be DBIC though | 00:56 |
SquOnk | perlDreamer: 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 |
+perlDreamer | going through all the SQL to make sure it works with Postgres I think would be a smaller task | 00:57 |
+perlDreamer | SquOnk, I'm sold on the concept | 00:57 |
+perlDreamer | Totally think we should go with some kind of ORM | 00:57 |
-!- knowmad [~knowmad@99-112-245-79.lightspeed.chrlnc.sbcglobal.net] has joined #webgui | 00:57 |
+perlDreamer | but that's a different concept than making sure wG's current SQL works on pG | 00:57 |
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has quit [Read error: Connection reset by peer] | 00:59 |
CIA-82 | webgui: 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/iYl6y8 | 01:08 |
-!- knowmad [~knowmad@99-112-245-79.lightspeed.chrlnc.sbcglobal.net] has quit [Ping timeout: 246 seconds] | 01:10 |
CIA-82 | webgui: Graham Knop tt-asset-plugin * rd1f93b8 / lib/WebGUI/Template/Plugin/Asset.pm : add Asset template plugin (+1074 more commits...) - http://bit.ly/iCpBOG | 01:11 |
CIA-82 | webgui: 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/iiZorz | 01:14 |
jimX11 | i 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-82 | webgui: Doug Bell WebGUI8 * r72667d0 / lib/WebGUI/FormBuilder/Role/HasObjects.pm : add process() sub for FormBuilder - http://bit.ly/inwbRk | 01:31 |
+perlDreamer | jimX11, check for syntax errors in the www_foo func, the webgui.log file tells all | 01:39 |
jimX11 | ok | 01:39 |
jimX11 | it 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 |
@scrottie | jimX11, 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 |
jimX11 | well, I can't figure it out. | 02:36 |
jimX11 | maybe I incorrect case? This should send it to www_editRow: ?func=editRow; | 02:37 |
jimX11 | I 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 |
jimX11 | perlDreamer: 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 #webgui | 04:24 |
jimX11 | I even removed use directives applied to my other packages. | 04:31 |
+perlDreamer | I have no idea | 05:10 |
+perlDreamer | when I visit /home/untitled?func=foo | 05:11 |
+perlDreamer | I get the output of the foo method | 05:11 |
+perlDreamer | if you were to go to /home?func=foo | 05:11 |
jimX11 | oh | 05:11 |
jimX11 | yea | 05:11 |
+perlDreamer | you'd be trying to get foo from the layout containing the untitled asset | 05:11 |
+perlDreamer | remember, layouts ALWAYS show the view method of their child assets | 05:11 |
+perlDreamer | if you want to call a method directly on a child asset, you hve to use ITS url instead | 05: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 #webgui | 05: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 #webgui | 05: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 #webgui | 06:52 |
-!- andyiomoon1 [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Client Quit] | 06:53 |
-!- Netsplit *.net <-> *.split quits: jimX11 | 07:09 |
-!- Netsplit over, joins: jimX11 | 07: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 #webgui | 08:21 |
-!- ryuu_ro [~rory@D57D69B6.static.ziggozakelijk.nl] has joined #webgui | 10:02 |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui | 10:30 |
-!- mode/#webgui [+v BartJol] by ChanServ | 10:30 |
-!- waxhead [~pete@ppp121-45-197-46.lns20.cbr1.internode.on.net] has joined #webgui | 12:00 |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui | 13:43 |
-!- carogray [~Caroline@173-100-163-224.pools.spcsdns.net] has joined #webgui | 15: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 #webgui | 15:30 |
-!- knowmad [~knowmad@adsl-070-148-067-249.sip.clt.bellsouth.net] has joined #webgui | 16: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 #webgui | 17:07 |
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has joined #webgui | 17:12 |
-!- mode/#webgui [+o pbcj] by ChanServ | 17:12 |
-!- ryuu_ro [~rory@D57D69B6.static.ziggozakelijk.nl] has quit [Quit: ryuu_ro] | 17:16 |
SDuensin | Greetings. | 17:25 |
@pbcj | morn' | 17:30 |
-!- carogray [~Caroline@host2.209.113.248.conversent.net] has joined #webgui | 17:44 |
-!- targz [~gmac@heaton.plus.com] has joined #webgui | 17:52 |
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui | 17:53 |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 17:53 |
targz | Need help getting WebGUI8. Have git cloned the repo and 'git checkout WebGUI8'. What next? | 17:53 |
targz | Don't see any app.psgi file | 17:54 |
+perlDreamer | it's /data/WebGUI/app.psgi | 17:57 |
+perlDreamer | well, or whereever you installed WebGUI, in the top level directory | 17:57 |
-!- jimX11 [~jjm@n128-227-81-249.xlate.ufl.edu] has joined #webgui | 17:57 |
targz | no /data | 17:58 |
+perlDreamer | where did you install WebGUI? | 17:58 |
targz | It was a git clone, not a download | 17:58 |
+perlDreamer | all right, where did you clone WebGUI? | 17:59 |
targz | I was prev. advised to clone the git repo | 17:59 |
targz | cloned into webgui directory | 17:59 |
@preaction | so it should be webgui/WebGUI/app.psgi no? | 17:59 |
@preaction | where's the lib directory? app.psgi should be in the same directory as lib and README and a few other files | 18:00 |
+perlDreamer | app.psgi is in the git repo | 18:00 |
@preaction | also, you might be interested in http://preaction.github.com/WebGUI/8-apps.html | 18:00 |
+perlDreamer | definitely | 18:00 |
targz | all I see is asset_status.ods, docs, etc, lib, sbin, t, var, www | 18:00 |
targz | lib contains Spectre, WebGUI, WebGUI.pm | 18:01 |
+perlDreamer | github says it's in there: https://github.com/plainblack/webgui/tree/WebGUI8 | 18:01 |
-!- sbaur [~Adium@130.157.145.37] has joined #webgui | 18:02 |
targz | Not the URL I used | 18:02 |
@preaction | who did you clone from? | 18:02 |
targz | https://github.com/preaction/webgui.git | 18:02 |
targz | Maybe explains it | 18:02 |
@preaction | yeah, that's out of date | 18:02 |
+perlDreamer | oh, that's not the right place | 18:02 |
@preaction | but you can fix that easy | 18:02 |
targz | Why is that the main URL listed on GitHub then? | 18:03 |
@preaction | git remote rm origin; git remote add origin git@github.com:plainblack/webgui.git | 18:03 |
@preaction | uh... it should not be, where is it listed? | 18:03 |
targz | Link from here: https://github.com/preaction | 18:04 |
@preaction | targz: i have a personal fork of WebGUI, but WebGUI's main repo is in the Plain Black organization | 18:05 |
targz | Anyway, I have the correct URL now so thanks. | 18:08 |
-!- bopbop [~kristi@76-255-21-207.lightspeed.mdsnwi.sbcglobal.net] has joined #webgui | 18:08 |
-!- mode/#webgui [+o bopbop] by ChanServ | 18:08 |
-!- targz [~gmac@heaton.plus.com] has left #webgui [] | 18:11 |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has joined #webgui | 18: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 #webgui | 19:13 |
-!- mode/#webgui [+o rizen] by ChanServ | 19:13 |
-!- mode/#webgui [-o rizen] by pbcj | 19:21 |
-!- BugSlasherMcGurk [~rizen@69.71.243.246] has joined #webgui | 19:32 |
-!- mode/#webgui [+o BugSlasherMcGurk] by ChanServ | 19:32 |
-!- rizen [~rizen@69.71.243.242] has quit [Ping timeout: 246 seconds] | 19:35 |
-!- BugSlasherMcGurk is now known as rizen | 19:35 |
-!- mode/#webgui [-o rizen] by pbcj | 19:45 |
-!- mode/#webgui [-o+o pbcj rizen] by preaction | 19: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 #webgui | 19:46 |
-!- mode/#webgui [+o pbcj] by ChanServ | 19:46 |
-!- fokat [~lem@66.0.48.131] has quit [Ping timeout: 258 seconds] | 20:31 |
-!- fokat [~lem@66.0.48.131] has joined #webgui | 20:36 |
+perlDreamer | if only paypal sandbox testing had frequent purchaser points... | 20:49 |
SDuensin | What? PayPal? | 20:50 |
SDuensin | Please tell me you're making a decent PP driver. :-) | 20:50 |
+perlDreamer | depends on what you mean by "decent" | 20:51 |
SDuensin | One I can sell subscriptions to a group with. | 20:51 |
+perlDreamer | it would help if it was more straight-forward on how to do that | 20:52 |
+perlDreamer | with PayPal Standard, you can only buy one subscription at a time | 20:52 |
+perlDreamer | with Express, there's a whole bunch of hoops, and you're still limited in the number you can buy at a time | 20:52 |
+perlDreamer | I think it's twelve | 20:52 |
+perlDreamer | ITransact doesn't have any of those limitations | 20:54 |
SDuensin | But ITransact is expensive as hell. | 20:56 |
SDuensin | And 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 |
+perlDreamer | expensive? PayPal charges 9% for transactions | 21:03 |
+perlDreamer | ITransact, last time I checked, charged 3% plus a monthly fee | 21:03 |
SDuensin | On my volume, they're expensive. :-P | 21:04 |
@scrottie | Maybe you need to set up a ccbill payment driver. | 21:06 |
@scrottie | They specialize in recurring payments. | 21:07 |
+perlDreamer | for better or worse, people are going to demand paypal | 21:08 |
SDuensin | Payment solutions suck. | 21:08 |
+perlDreamer | indeed | 21:09 |
+perlDreamer | the reason that I now know so much is that we had a customer come and ask for recurring payments with PayPal | 21:10 |
SDuensin | Yea. ME! :-P | 21:10 |
+perlDreamer | oh no, there was another | 21:10 |
* scrottie watches a while(...) { $asset->purge } run. always makes ya a little nervous... | 21:10 |
@scrottie | one 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 |
SDuensin | I 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 |
@scrottie | If customers have questions or complains, ccbill makes it easy to get a live operator. | 21:14 |
@scrottie | I interviewed with ccbill but their lawyers decided that they couldn't legally hire me =) | 21:14 |
SDuensin | Oh 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 #webgui | 21:15 |
+perlDreamer | SDuensin, scrottie told you that they make it a point of making it easy to get to a live operator | 21:36 |
+perlDreamer | and scrottie metabolic status is in question | 21:36 |
SDuensin | hehe | 21:37 |
@preaction | WebGUI 8 is officially capable of running plainblack.com | 22:03 |
@preaction | the upgrade worked without a hitch, though it took about 20 minutes, and the site works | 22:03 |
+perlDreamer | helpdesk | 22:03 |
+perlDreamer | karma gifter | 22:03 |
@preaction | not migrated yet | 22:03 |
+perlDreamer | the whole 9 yards? | 22:03 |
@preaction | working on it | 22:03 |
@preaction | but the WebGUI 8 core works | 22:03 |
+perlDreamer | good work! | 22:03 |
+perlDreamer | is it beautiful? | 22:03 |
+perlDreamer | is it blindingly fast? | 22:03 |
@preaction | it is beautiful. it is not blindingly fast, but my laptop is not a production environment | 22:04 |
@pbcj | it's no lie, I saw it | 22:05 |
@preaction | so, now to blog about this, my presentation, and yay! | 22:05 |
SDuensin | WG8 and PayPal in the same day? You guys are an evil tease! | 22:20 |
@preaction | deal with it, tough guy | 22:22 |
SDuensin | :-P | 22:23 |
* SDuensin REALLY needs PayPal subscriptions. Not being able to sell those is keeping his new service offline! | 22:23 |
+perlDreamer | SDuensin, you must not really want it that badly, otherwise you'd write it yourself | 22:25 |
* perlDreamer knows that you can wield an editor | 22:25 |
SDuensin | I can, but I've been up to my eyes in other editors. | 22:26 |
knowmad | I 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 displayed | 22:33 |
knowmad | I have this working great using content profiling or even the random asset proxy | 22:33 |
knowmad | however, if i'm not logged in, webgui is caching the image and only refreshing about once a minute | 22:34 |
@preaction | javascript, i'd say | 22:34 |
knowmad | is there any way around this in webgui? | 22:34 |
@preaction | or ads | 22:34 |
knowmad | ohh, i like that idea | 22:34 |
@preaction | ads keep rotating, bypassing the burst cache | 22:34 |
knowmad | thought javascript may be easier to manage | 22:35 |
knowmad | ok, good ones! | 22:35 |
knowmad | thanks | 22:35 |
CIA-82 | webgui: Doug Bell WebGUI8 * rb1a5276 / lib/WebGUI/Command.pm : do not buffer command output - http://bit.ly/lTXRrz | 23:19 |
CIA-82 | webgui: Doug Bell WebGUI8 * re5012d3 / lib/WebGUI/Command/upgrade.pm : App::Cmd options are normalized to lower-case - http://bit.ly/merv9h | 23:19 |
@scrottie | is this another instance of page layouts caching for guests? | 23:20 |
@scrottie | I 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 |
+perlDreamer | scrottie, that's exactly what it is | 00:00 |
+perlDreamer | Maybe we should change it from hardcoded, to setting a cache timeout for visitors on the layout, like we do with other assets | 00:01 |
+perlDreamer | then, in 8, we make it a Role | 00:01 |
-!- SquOnk [~emhn@186.93.207.12] has joined #webgui | 00:11 |
SquOnk | Greetings. | 00:11 |
+perlDreamer | howdy SquOnk | 00:13 |
SquOnk | perlDreamer: I have a template question today. | 00:13 |
SquOnk | (customers trying to do strange things) | 00:14 |
+perlDreamer | as customers can sometimes be wont to do | 00:14 |
SquOnk | Yeah, well. | 00:14 |
SquOnk | It's like this: | 00:14 |
@scrottie | yeah, 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 |
SquOnk | perlDreamer: They've added a Gallery and set Default View to List Albums | 00:15 |
SquOnk | perlDreamer: 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 |
SquOnk | perlDreamer: 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 |
SquOnk | But it doesn't work. | 00:18 |
-!- kthakore [~kthakore@li136-101.members.linode.com] has joined #webgui | 00:18 |
kthakore | hi scrottie | 00:18 |
@preaction | it won't, the list albums screen doesn't get the file list | 00:18 |
@preaction | it'd take forever to generate all that | 00:18 |
+perlDreamer | right, read the template variable help | 00:18 |
+perlDreamer | one cannot randomly pick and choose template variables from various templates, mix them in, and expect them to work | 00:19 |
SquOnk | preaction, perlDreamer: So, what would you suggest. | 00:19 |
@preaction | to really fix the Gallery: Album goes away, use Folder instead. Photo goes away, adds its features to Image. | 00:19 |
+perlDreamer | that won't fix it | 00:19 |
@preaction | You could AssetProxy() the albums in | 00:19 |
@preaction | it's a start. people really just want Folders | 00:20 |
+perlDreamer | that might fix it, but then you have to change the template everytime a new album is added | 00:20 |
@preaction | that could be overcome fairly simply, adding a folder would be a function of the Gallery which would set the right template | 00:20 |
SquOnk | We suggested an Album for lack of a better option for what they're trying to do. | 00:20 |
@preaction | they want folders of images, no? | 00:20 |
@preaction | with the features that Gallery provides: resolutions, comments, EXIF, etc... | 00:21 |
SquOnk | preaction: They can *get away* with what they want using them, I reckon. | 00:21 |
@preaction | in 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 setup | 00:21 |
SquOnk | preaction: They want to build a fancy JS scroller with the front pages of every section of every newspaper each day. | 00:21 |
SquOnk | preaction: So, they are using a Gallery to hold everything, an Album for each newspaper, and a Photo for each section front page. | 00:22 |
SquOnk | preaction: They only need to show the image. They won't be using any of the EXIF properties. | 00:22 |
@preaction | a navigation and AssetProxy maybe? | 00:23 |
@preaction | Folders to organize the Images, a Navigation to display the JS scroller, and AssetProxy to put the image inside the scroller | 00:23 |
@preaction | not sure if that's worse or not | 00:23 |
@preaction | though a Nav should work just as well using Gallery as the container | 00:24 |
SquOnk | preaction: The Navigation will make it impossible for them. They see Navigations as some kind of ju-ju white man's magic thing. | 00:24 |
@preaction | so the Navigation shows the JS scroller of the Gallery | 00:24 |
@preaction | it just lists a bunch of assets, which is what they want | 00:24 |
@preaction | otherwise a custom gallery subclass overriding view_listAlbums to add the album files would work | 00:25 |
+perlDreamer | Don't photos have isHidden hardcoded? | 00:25 |
@preaction | navs can ignore isHidden | 00:25 |
SquOnk | I think it's just a plain Folder. | 00:26 |
SquOnk | ...of Folders. | 00:26 |
@preaction | then you'd definitely want a navigation. you can't reach inside the folders that a folder is listing | 00:26 |
SquOnk | A folder of dates in ISO format, with Folders for each newspaper, holding the images for the front pages. | 00:26 |
SquOnk | preaction: Yep. | 00:26 |
@preaction | for the JS bit i mean, otherwise it's perfectly navigable | 00:26 |
@scrottie | oh, hey kthakore | 00:27 |
@preaction | i wish i could tell you there was a JS service you could use, but you don't get that until 8 | 00:27 |
SquOnk | preaction: Their JS thing just wants a bulleted list, so yes. | 00:27 |
@preaction | yeah, should work great | 00:27 |
SquOnk | preaction: All right. Let me see how can I explain that to them so their ears don't start bleeding. | 00:28 |
@preaction | i wonder sometimes about replacing most of our asset classes with prototypes, then i take my prozac | 00:28 |
kthakore | scrottie: :p took a while but I won't hold it against you | 00:29 |
@preaction | we don't need a forum, we could use folders of articles! | 00:29 |
SquOnk | lol | 00:29 |
@preaction | a forum is a navigation into a set of folders of articles | 00:29 |
@scrottie | kthakore, yeah, I'm an IRC slob. I'm running irc-II for crying out loud. | 00:29 |
@preaction | could seriously do some crazy stuff with just Layout, Folder, Article, Template, Navigation, File/Image | 00:30 |
@preaction | oh, right, and a JS interface to work with the lot | 00:31 |
-!- cj_ [~cjac@adsl-207-32-169-17.rockisland.net] has joined #webgui | 00:32 |
-!- cj [~cjac@adsl-207-32-169-17.rockisland.net] has quit [Ping timeout: 260 seconds] | 00:32 |
@scrottie | kthakore, have you seen http://search.cpan.org/~gphat/Graphics-Primitive-0.60/lib/Graphics/Primitive.pm ? preaction showed that to me. | 00:33 |
@scrottie | pluggability is a nice feature. | 00:34 |
kthakore | scrottie: a little yeah | 00:34 |
kthakore | but haven't used it | 00:35 |
kthakore | or preused it in detail | 00:35 |
kthakore | It interfaces with http://search.cpan.org/~gphat/Graphics-Primitive-Driver-GD-0.01/ | 00:36 |
kthakore | so that can't be bad | 00:36 |
kthakore | hi preaction, scrottie made me wander in here with treats. | 00:37 |
@scrottie | ssh. don't tell people I'm dispensing candy. | 00:37 |
@preaction | cookies? | 00:40 |
@scrottie | go 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 |
kthakore | can't compile ImageMagick Perl module | 01:04 |
@scrottie | are you a Debian user? | 01:04 |
-!- cj [~cjac@adsl-207-32-169-17.rockisland.net] has joined #webgui | 01:04 |
@scrottie | if so, do you have the dev versions of the library installed? libmagickcore-dev it might be | 01:05 |
kthakore | yeah | 01:10 |
kthakore | I have that | 01:10 |
kthakore | some mmx instruction problems again | 01:10 |
* kthakore pathces | 01:10 |
@scrottie | not surprised but thought I'd double check. | 01:10 |
kthakore | crap still problems | 01:13 |
kthakore | sigh | 01: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 |
kthakore | oh wow ImageMagick is so broken | 01:22 |
kthakore | http://search.cpan.org/~jcristy/PerlMagick-6.67/ | 01:23 |
kthakore | newest versions only fails | 01:23 |
@scrottie | I would guess that an antique version would work. hrm, I have 6.5.8 here. | 01:26 |
kthakore | ok | 01:26 |
kthakore | doing a manual | 01:28 |
kthakore | cannot find -lperl | 01:29 |
kthakore | wtf ... | 01:29 |
@scrottie | are 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 |
@scrottie | DBD::mysql was easily fixed though | 01:32 |
-!- fokat [~lem@66.0.48.131] has joined #webgui | 01:34 |
kthakore | 5.12.2 | 01:36 |
kthakore | wow why won't this compile | 01:38 |
kthakore | jeez today is not my day | 01:38 |
kthakore | first house gets broken into then nothing works | 01:38 |
+perlDreamer | maybe they broke perl while they were in there | 01:39 |
kthakore | perlDreamer++ LOL I needed that | 01:39 |
-!- fokat [~lem@66.0.48.131] has quit [Ping timeout: 258 seconds] | 01:44 |
jimX11 | where 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 |
jimX11 | I'll just hide it using $f->addField("hidden", name => "Guid", value => $guid); | 01:54 |
+perlDreamer | if you set the name to guid, will that still match what DBIx::Class expects? | 01:55 |
kthakore | scrottie: my error now says it can't find -lperl | 01:56 |
kthakore | which is so weird | 01:56 |
@scrottie | hrm. if you have a perlbrew perl, that's not entirely unsurprising. | 02:02 |
jimX11 | perlDreamer: No it won't. I'm reading WebGUI::Form::Guid | 02:02 |
@scrottie | which 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 |
@scrottie | fix is build system dependant but quick fix is to just edit the Makefile and correct the LIBS line | 02:03 |
kthakore | .. | 02:04 |
@scrottie | to do -L wherrever your prewbrew'd libs dir is | 02:04 |
kthakore | which libs though? | 02:04 |
kthakore | I can't find the libperl.so | 02:04 |
kthakore | all I see is libperl.a | 02:04 |
@scrottie | huh, perlbrew might not have built you one. | 02:04 |
@scrottie | should still work. | 02:04 |
@scrottie | -L/whatever/ -llibperl should find an .a or .so | 02:04 |
@scrottie | assuming /whatever/ actually contains one of the two. | 02:05 |
kthakore | right | 02:05 |
@scrottie | the 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 |
@scrottie | I guess if you really want to cut to the chase, you can do /home/kthakore/lib/or_whatever/libperl.a right in the LIBS= line | 02:06 |
kthakore | did 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 -fPIC | 02:08 |
kthakore | sigh | 02:08 |
kthakore | even the dist perl is giving me trouble | 02:08 |
kthakore | ok so Image::Magick going away needs to happen a lot | 02:09 |
kthakore | heh | 02:09 |
@scrottie | I take issue with putting entire perl installs inside . directories. | 02:09 |
@scrottie | and I don't know what "relocation R_X86_64_32S" is. | 02:10 |
@scrottie | but it kind of suggests that 32 bit and 64 bit code are being linked together, which ain't gunna happen. | 02:10 |
+perlDreamer | that'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 frowns | 02:17 |
+perlDreamer | yay! successfully talked to PayPal! | 02:18 |
@scrottie | 7.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 |
+perlDreamer | you have to be in admin mode | 02:20 |
@scrottie | guess I should read the git log... | 02:20 |
@scrottie | thank perlDreamer. | 02:22 |
@scrottie | would it be redundant to add that to the docs? | 02:23 |
@scrottie | er, the wiki page..? | 02:24 |
-!- preaction_ [~preaction@li79-149.members.linode.com] has joined #webgui | 02:26 |
-!- sbaur [~Adium@130.157.145.37] has quit [Quit: Leaving.] | 02:26 |
-!- Netsplit *.net <-> *.split quits: vayde, @preaction | 02:32 |
-!- knowmad [~knowmad@rrcs-70-60-108-89.midsouth.biz.rr.com] has joined #webgui | 02:36 |
-!- Netsplit over, joins: vayde | 02: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 #webgui | 02:40 |
-!- knowmad [~knowmad@rrcs-70-60-108-89.midsouth.biz.rr.com] has joined #webgui | 02:43 |
+perlDreamer | scrottie, I think it'd be fine | 02: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 #webgui | 03: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 #webgui | 03:17 |
jimX11 | html 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 |
@scrottie | feel free to a paste the code of how you're using it into a gist. | 03:36 |
jimX11 | my $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->toHtml | 03:38 |
jimX11 | and out comes html like this: | 03:38 |
@scrottie | oh, naughty programmer | 03:38 |
@scrottie | paste your code into http://gist.github.com and then tell us the URL. | 03:38 |
jimX11 | k | 03:39 |
@scrottie | hrm, trying that snippet there in a mini test program, I'm not seeing that. | 03:42 |
@scrottie | no 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 |
jimX11 | https://gist.github.com/979927 | 03:44 |
jimX11 | it does close the form | 03:44 |
jimX11 | but I doesn't render properly I think because of the missing table starting and ending tags. | 03:45 |
@scrottie | https://gist.github.com/979928 | 03:45 |
@scrottie | jives with the synopsis. | 03:47 |
jimX11 | thanks, I'm doing something incorrectly, again. | 03:47 |
@scrottie | hmm? mine didn't work right either. | 03:48 |
jimX11 | oh? 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 |
jimX11 | One 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 |
jimX11 | I pulled in 8 packages from WebGui 8 into 7.9.14. | 03:54 |
jimX11 | By pulled, I mean just copied them from lib/WebGUI/FormBuilder in a git check out to the 7.9.14 site. | 03:55 |
jimX11 | scrottie: yea, no closing form on yours, maybe it's just a human cut-n-paste error (assuming your human). | 04:04 |
jimX11 | your=you're (my bad) | 04:11 |
-!- knowmad [~knowmad@99-112-245-79.lightspeed.chrlnc.sbcglobal.net] has joined #webgui | 04:16 |
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has quit [Quit: Leaving.] | 04:31 |
@scrottie | uh... | 04:42 |
@scrottie | that requires qualification beyond "FormBuilder isn't working" | 04:43 |
kthakore | hi scrottie | 05:06 |
kthakore | around? | 05:06 |
@scrottie | yup | 05:06 |
@scrottie | sup? | 05:06 |
kthakore | I am having a real big problem with Image::Magick can I ignore that for the rest of WebGUI install? | 05:06 |
jimX11 | scrottie: thanks. | 05:06 |
@scrottie | hrm. 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 |
@scrottie | so you'd be replacing it with something else without having it as a reference. but that's not impossible. | 05:08 |
@scrottie | still, 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 |
@scrottie | I should also note the idea of replacing it isn't trivial | 05:11 |
kthakore | yep notice that | 05:11 |
@scrottie | it gets used to crop images, rotate them, make thumbnails... nothing too serious but uses of it are littered around | 05: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 #webgui | 06:21 |
-!- ThePing [~phycho@174.127.64.107] has left #webgui [] | 06:21 |
jimX11 | I'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 |
@scrottie | it 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 |
@scrottie | and it usually works correctly but the server does have a chance to botch it | 07:08 |
@scrottie | classic ASP distinguishes whether data arrived in the body or as a parameter on the URL | 07:09 |
jimX11 | scrottie: what does WebGUI do? | 07:09 |
@scrottie | does not distinguish between the two | 07:09 |
@scrottie | mixing them together. | 07:09 |
jimX11 | I think Firefox is inserting the td and tr junk. So mixing works, ok. | 07:09 |
@scrottie | that sounds unlikely. | 07:10 |
@scrottie | you can always 'warn' the output of FormBuilder and read it at the console | 07:10 |
jimX11 | yea, the tr's and td's are in text from a simple test. | 07:12 |
jimX11 | I 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 |
@scrottie | you haven't fixed that problem? | 07:13 |
jimX11 | I haven't found out why there are td's and tr's in the html from the toHtml method, no. | 07:13 |
jimX11 | but, I've noticed another problem, that may be related. The form doesn't do anything when I hit the submit button. | 07:14 |
@scrottie | I think you really want the latest WebGUI 8 code here | 07:15 |
jimX11 | Ok. I'll copy over the updated files I just got from git. | 07:15 |
jimX11 | using subversion I can do a "svn status" what is the equivalent in git? So I know what version I'm using. | 07:16 |
jimX11 | sorry, I meant the equivalent of "svn info" | 07:17 |
@scrottie | I don't remember svn | 07:20 |
@scrottie | you might try 'git status' though | 07:21 |
@scrottie | what info do you want out of git? | 07:21 |
jimX11 | I want to know what "version" of webgui 8 I have. | 07:22 |
@scrottie | git itself doesn't do version... it hash commit hashes | 07:23 |
@scrottie | so 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 are | 07:24 |
@scrottie | man git-tag | 07:24 |
jimX11 | ok | 07:24 |
@scrottie | I don't think things in the WebGUI 8 branch have been tagged | 07:25 |
@scrottie | so you'll just get a lot of 7.x.x tags | 07:25 |
@scrottie | for 8, you'll have to speak in terms of hashes until there's an alpha and then beta | 07:25 |
jimX11 | just did git tag, right lots of 7.x.x branches. How can I see the hash I'm currently using? | 07:25 |
jimX11 | oh, git log is what you said. | 07:27 |
jimX11 | that works. | 07:27 |
@scrottie | tags just take you to a particular commit hash | 07:27 |
@scrottie | which represents a point in history | 07: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 |
jimX11 | a little like a branch in subversion. or a tag in cvs. | 07:28 |
jimX11 | git log was what I wanted. Thanks. | 07:28 |
@scrottie | kind of. git has a few things going... it also has branches. | 07:29 |
@scrottie | tags aren't the most used git feature... | 07:29 |
jimX11 | FormBuilder 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 #webgui | 09:00 |
-!- andyiomoon [~andyiomoo@vpn246-17.cc.swin.edu.au] has joined #webgui | 09:37 |
-!- andyiomoon1 [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui | 09: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 anyway | 09:57 |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui | 10:20 |
-!- mode/#webgui [+v BartJol] by ChanServ | 10:20 |
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui | 14:24 |
kthakore | morning | 14:47 |
-!- jimX11 [~jjm@n128-227-81-249.xlate.ufl.edu] has joined #webgui | 15:26 |
+BartJol | morning | 15:39 |
jimX11 | BarJol:howdy | 15: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 #webgui | 15:51 |
SquOnk | Greetings. | 15:51 |
SquOnk | I'm changing the Display Template for an Asset Report. I started out with the Default, and the Assets I want are there. | 15:51 |
SquOnk | The Assets have some metadata properties I want listed in the report. | 15:51 |
SquOnk | According to the Template Help, inside the asset_loop I can use asset_info to get access to the particular Asset's info. | 15:52 |
SquOnk | I thought of using it to access the metadata fields, but it didn't work. | 15:52 |
SquOnk | I 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 #webgui | 15:53 |
SquOnk | In any case, how can I access the metadata fields of an Asset that's listed by an Asset Report? | 15:53 |
+BartJol | isn't that included with extraHeadTags? | 16:00 |
SquOnk | BartJol: My *own* metadata fields? How would I go about fetching them? extraHeadTags.name-of-my-field? | 16:02 |
+BartJol | mmm, maybe not, sorry, bit short on time, as I get bugged by australians | 16:04 |
SquOnk | BartJol: Thanks anyway :-) | 16:05 |
SquOnk | And I have to go to class in 20 mins. | 16:05 |
+BartJol | give or follow? | 16:05 |
SquOnk | BartJol: Give. | 16:12 |
SquOnk | BartJol: Actually an exam. | 16:12 |
SquOnk | BartJol: 20% | 16:12 |
SquOnk | Well, the code in AssetReport.pm is calling WebGUI::Asset->get on each Asset included in the report. | 16:13 |
SquOnk | As far as I can see W::A->get does not return the metadata field. | 16:13 |
SquOnk | Since 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 |
SquOnk | Otherwise, I'm unable to use the metadata fields of Assets listed by an Asset Report. | 16:14 |
SquOnk | Would that be a bug or an RFE? | 16:15 |
SquOnk | 'cause it's the current show-stopper for production :-) | 16:15 |
SquOnk | Well, gotta go. I think there's a quick fix for it, and perhaps will try later. | 16:16 |
+BartJol | I'm afraid it is an RFE, | 16:16 |
SquOnk | Hopefully preaction_ will read the backlog. | 16:16 |
SquOnk | BartJol: I can see it both ways. | 16:17 |
SquOnk | BartJol: Thanks for your time. I've got to go pick up the exams at the Department. | 16:17 |
SquOnk | See 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 #webgui | 16:35 |
kthakore | scrottie: morning. Around? | 17:01 |
SDuensin | Morning 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 #webgui | 17:16 |
jimX11 | How 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 |
+BartJol | I believe you set that first in your env, I seem to recaal something like that | 17:19 |
jimX11 | I want to do this from a test: $session->config->get('dsn'); | 17:19 |
+BartJol | but it is a year ago | 17:20 |
jimX11 | BartJol: ok. | 17:20 |
jimX11 | BartJol: yea, that's it. WEBGUI_CONFIG | 17:20 |
+BartJol | that one | 17:21 |
+BartJol | my memory stills works!!!!!!!!! | 17:21 |
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui | 17:24 |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 17:24 |
jimX11 | BartJol: fault tolerant memory, sweet. | 17:31 |
-!- ryuu_ro [~rory@D57D69B6.static.ziggozakelijk.nl] has quit [Quit: ryuu_ro] | 17:32 |
kthakore | Is anyone trying webgui8 from git? I am getting a weird error runing the server. | 17:32 |
jimX11 | I 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 #webgui | 17:42 |
kthakore | jimX11: no | 17:42 |
kthakore | jimX11: I set it up just how the README mentioned | 17:42 |
kthakore | I used the etc/WebGUI.conf.original as the configuration with wgd | 17:43 |
kthakore | then I copied the www/examples to the domain... so on | 17:43 |
kthakore | but I am getting this error when I run it with plack | 17:43 |
kthakore | Can'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 71 | 17:43 |
jimX11 | kthakore: while you might get git help from me, you won't get any useful plack from me. Sorry. | 17:49 |
kthakore | jimX11: can you get webgui8 running ? | 17:54 |
+BartJol | mmm, too long ago I installed that | 17:55 |
jimX11 | kthakore: 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 7 | 17:55 |
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has joined #webgui | 17:55 |
-!- mode/#webgui [+o pbcj] by ChanServ | 17:55 |
kthakore | ok | 17:55 |
kthakore | well it is seriously broke | 17:55 |
* kthakore hunts the plack interfaces | 17:56 |
kthakore | preaction_: around? | 17:56 |
+perlDreamer | 'tis a little early for preaction_ | 17:56 |
+perlDreamer | statistically speaking of course | 17:56 |
kthakore | ok | 17:58 |
kthakore | hmm | 17:58 |
kthakore | sigh found it | 17:59 |
kthakore | unmet deps | 17:59 |
kthakore | nope great ... w/e | 18:00 |
+perlDreamer | did you run the testEnvironment.pl script to check for dependencies? | 18:02 |
kthakore | yeah | 18:02 |
+perlDreamer | and it missed the dependency? | 18:02 |
kthakore | some how | 18:02 |
kthakore | HTML::Template::Expr Geo::Coder::Googlev3 | 18:03 |
kthakore | I am checking my logs | 18:03 |
kthakore | I think I might have closed the terminal by accident | 18:03 |
kthakore | anyway it still doesn't fix the server problem | 18:03 |
+perlDreamer | HTML::Template::Expr is supposed to be optional, but I think it's actually not since you have to load WebGUI::Asset::Template::HTMLTemplateExpr | 18:06 |
+perlDreamer | and Geo::Coder::Googlev3 is required and is checked by testE | 18:06 |
kthakore | Here is my stack output http://paste.scsys.co.uk/105564 | 18:09 |
+perlDreamer | wow, so core WebGUI 8 requires Devel::StackTrace and a bunch of others? | 18:29 |
+perlDreamer | normally those things are made optional for developers | 18:29 |
+perlDreamer | bunch == 2... | 18:29 |
kthakore | perlDreamer: 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 |
+perlDreamer | sure, I'll do that after i get through depenedency problems | 18:32 |
kthakore | oh have fun with that ... that took me a while | 18:32 |
+perlDreamer | ha! done | 18:32 |
+perlDreamer | when I run plackup app.psgi | 18:32 |
+perlDreamer | I get no errors/warnings or anything | 18:32 |
+perlDreamer | hm, but there are CSS based rendering problems with the Underground style | 18:34 |
kthakore | aw man | 18:39 |
kthakore | can you tell me how you set it up? | 18:39 |
kthakore | what config file do you use? | 18:39 |
+perlDreamer | I have a standard one that I use for all my development | 18:39 |
+perlDreamer | the the URL Mapping should be autogenerated | 18:39 |
+perlDreamer | check to see if you have any bad config files in /data/WebGUI/etc | 18: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 ChanServ | 18:45 |
-!- preaction_ is now known as preaction | 18:46 |
kthakore | ok | 18:50 |
kthakore | perlDreamer: where is /data/WebGUI I mean | 18:50 |
kthakore | I just run it in the git dir | 18:50 |
+perlDreamer | last I checked, WebGUI still had to be run out of /data | 18:51 |
kthakore | http://paste.scsys.co.uk/105567 | 18:52 |
kthakore | oh! | 18:52 |
kthakore | I need to move it ot /data ? | 18:52 |
kthakore | sigh so I have to run it as root? | 18:52 |
+perlDreamer | preaction, is that still true? Is WebGUI locked into /data/? | 18:52 |
@preaction | perlDreamer: 8 isn't, WebGUI::Paths gets rid of it | 18:56 |
+perlDreamer | okay | 18:56 |
+perlDreamer | any clue as to this wackiness of kthakore's about null plackurl maps? | 18:57 |
CIA-82 | webgui: 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/jZW23s | 18:59 |
CIA-82 | webgui: 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/iNCDaU | 19:00 |
CIA-82 | webgui: 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/iALKt6 | 19:00 |
@preaction | no, i'd say try to run the test suite and see what happens | 19:00 |
kthakore | ok | 19:01 |
@preaction | there are a few tests that go through the entire process | 19:01 |
jimX11 | kthakore: do you have root access? If so, maybe just link /data to your 8 repo? | 19:01 |
kthakore | jimX11: yeah I was trying that | 19:01 |
kthakore | preaction: um do I just do prove -t for the tests? | 19:02 |
@preaction | yes, after setting the WEBGUI_CONFIG env variable to the webgui config file | 19:02 |
@preaction | or you could get wgdev and do "wgd test" | 19:02 |
kthakore | ok | 19:03 |
* jimX11 never used the -t flag in prove. | 19:03 |
kthakore | what should WEBUI_CONFIG point to? | 19:03 |
@preaction | the webgui config file you created | 19:03 |
kthakore | etc/WebGUI.conf.original ? | 19:03 |
kthakore | I was trying to run the example provided | 19:04 |
@preaction | no, you need a copy of that config file with dsn, dbuser, and dbpass set correctly | 19:04 |
+perlDreamer | ah, that would explain it | 19:05 |
kthakore | ok | 19:06 |
-!- mducharme-work [~nothing@206.188.121.4] has joined #webgui | 19:07 |
kthakore | is it possible to use postgreSQL instead of MySQL? | 19:07 |
@preaction | probably not | 19:09 |
kthakore | ok | 19:12 |
kthakore | where is the mysql .sql I should load ? | 19:12 |
@preaction | for 8, share/create.sql | 19:12 |
@preaction | for 7, docs/create.sql | 19:12 |
kthakore | ah that is why | 19:13 |
* kthakore facepalms | 19:14 |
kthakore | ok thanks | 19:14 |
@preaction | kinda weird error message for that though. perhaps we need to trap it somehow... | 19:14 |
kthakore | indeed | 19:14 |
@preaction | oh. now i get it. there were no config files that app.psgi recognized to load site.psgi into the mapper | 19:14 |
@preaction | so somehow a "" got put in there, and then treated as a subref | 19:15 |
kthakore | well it is with $script_name | 19:15 |
kthakore | parameter to the Middleware | 19:15 |
kthakore | what is the default config filename webgui looks for? | 19:15 |
@preaction | there is none | 19:15 |
kthakore | hmm what about just throwing a missing config file HTML content | 19:16 |
@preaction | each site needs its own config file, so it checks a directory | 19:16 |
@preaction | yeah, that's gonna be the most likely scenario "No config files, bailing out" | 19:16 |
@preaction | or "Cannot connect to database, bailing out" | 19:16 |
jimX11 | WebGUI::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 |
@preaction | probably not, you'll just have to filter it a bit for now | 19:18 |
jimX11 | ok | 19:18 |
kthakore | or /win 2 | 19:34 |
kthakore | preaction: 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 |
kthakore | http://paste.scsys.co.uk/105570 | 19:37 |
kthakore | should I add that coloumn? | 19:37 |
kthakore | Unknown column 'privacyFields' in 'field list' | 19:37 |
kthakore | omfg I still get the same error. The DB is set up and everything! | 19:41 |
* kthakore cries | 19:41 |
carogray | Hi 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 |
carogray | Thingy doesn't have RSS feed does it? | 19:42 |
+perlDreamer | nope | 19:45 |
+perlDreamer | Syndicated Content has RSS feeds | 19:45 |
+perlDreamer | Gallery has RSS feeds | 19:45 |
+perlDreamer | but not Thingy | 19:46 |
-!- kaare_ [~kaare@91.100.9.186.generic-hostname.arrownet.dk] has quit [Ping timeout: 246 seconds] | 19:46 |
kthakore | I guess I should take a break now ... been trying this for too long | 19:47 |
carogray | huh - is syndicated content ...like collaboration system? | 19:47 |
+perlDreamer | nope | 19:47 |
carogray | given my description of need for searchable database of forms what would you suggest would be the best approach? | 19:47 |
+perlDreamer | carogray, the Content Manager's Guide wiki on webgui.org covers most of the Assets | 19:47 |
carogray | ok | 19:47 |
+perlDreamer | oh, I'd go Thingy all the way | 19:48 |
+perlDreamer | especially if you use 7.10 | 19:48 |
+perlDreamer | since Thingy can use the WebGUI Search, instead of just its own built in one | 19:48 |
carogray | what about "publishing" | 19:48 |
carogray | so other sites could update their forms based on our database? | 19:49 |
+perlDreamer | Thingy has an AJAX interface for remote access, but you may run into privilege problems with it | 19:50 |
+perlDreamer | that would require writing a bunch o' JavaScript, of course | 19:51 |
carogray | ok - 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 |
+perlDreamer | well, you know that if you need extra programming, support, javascripting,templating etc. that Plain Black would be happy to help out. | 19:56 |
+perlDreamer | there's only so much you can do via an IRC channel | 19:56 |
carogray | right - thanks so much. | 19:57 |
@preaction | kthakore: right, because create.sql is the un-upgraded sql (because 8 has not technically been released) | 20:03 |
@preaction | create.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 |
@preaction | but that's easy: sbin/webgui.pl upgrade --doit --skipBackup | 20:04 |
kthakore | ugh it wants me to be superuser | 20:14 |
kthakore | sigh | 20:14 |
+perlDreamer | kthakore, that's usually due to write permission on the log file, or the uploads directory | 20:17 |
+perlDreamer | log file is chosen in WebGUI/etc/log.conf | 20:17 |
+perlDreamer | uploadsPath is in the WebGUI config file itself | 20:18 |
@preaction | i think upgrade explicitly checks for superuser | 20:18 |
+perlDreamer | isn't there a switch for that? | 20:18 |
@preaction | perhaps, webgui.pl help upgrade might show it | 20:18 |
+perlDreamer | --override in upgrade.pl | 20:18 |
+perlDreamer | no idea about webgui.pl | 20:19 |
+perlDreamer | you know, when you release 8, I'm going to be pretty useless | 20:19 |
@preaction | why? | 20:19 |
+perlDreamer | well, so much has changed and I've either forgotten it or haven't learned it yet | 20:20 |
+perlDreamer | like WebGUI::Paths | 20:20 |
+perlDreamer | webgui.pl | 20:20 |
+perlDreamer | plack | 20:20 |
+perlDreamer | that's probably just the tip of the iceberg | 20:20 |
kthakore | I mangaged it | 20:20 |
kthakore | I ran the upgrade | 20:20 |
kthakore | but there is no change to share/create.sql | 20:20 |
+perlDreamer | <insert quote re Yoda and taking students who are too old> | 20:20 |
@preaction | it doesn't change create.sql, it changes the site's databases | 20:21 |
@preaction | the idea being that during development, create.sql + upgrade = bleeding edge version (so we can test the upgrade) | 20:21 |
kthakore | ah ok | 20:21 |
@preaction | wgdev's build tool would create the create.sql | 20:22 |
+perlDreamer | that's something else we need to double check before the release, is the wgdev build process | 20:23 |
+perlDreamer | and that's not going to be simple, since it'll have to work for both 7.x and 8.x for a while | 20:23 |
+perlDreamer | maybe it won't be too bad | 20:25 |
+perlDreamer | release wg8 will need a functional 8.x codebase though, while 7.x can use the bundled wgd | 20:26 |
+perlDreamer | Haarg, I had a case the other day where wgdev needed Try::Tiny. It doesn't seem to be bundled. | 20:26 |
+perlDreamer | this was a 7.7 install, so it didn't have it installed for core requirements | 20:26 |
kthakore | How do I tell webgui to use my conf file when I start it in plackup? | 20:29 |
@preaction | app.psgi loads all the configs | 20:30 |
kthakore | right I get that | 20:31 |
kthakore | I have a WebGUI.conf file | 20:31 |
kthakore | I set that to WEBGUI_CONF and run plack | 20:31 |
@preaction | in the same directory as WebGUI.conf.original? | 20:31 |
kthakore | now I do | 20:32 |
kthakore | IT WORKS! | 20:32 |
kthakore | ok great! | 20:32 |
kthakore | now to see how to swap out Image::Magick for GD/Cairo/Graphics::PRimitives | 20:33 |
+perlDreamer | Image::Magick is used by... | 20:35 |
+perlDreamer | Asset/Image, Storage, Asset/File/GalleryFile, Asset/File/GalleryFile/Photo, | 20:35 |
+perlDreamer | Image.pm and sub-classes | 20:35 |
+perlDreamer | those are the places to check | 20:36 |
kthakore | perlDreamer: great thanks. I was thinking of refactoring out Image::Magick out to WebGUI::Graphics first | 20:38 |
kthakore | then start swapping out Image::Magick there | 20:39 |
+perlDreamer | hm, we're trying to avoid wrapper classes like that nowadays | 20:39 |
+perlDreamer | they almost cause more problems than they're worth | 20:39 |
+perlDreamer | for example, we don't wrap Plack::Response or Request, we sub-class and extend them | 20:39 |
+perlDreamer | instead of wrapping CHI, we just use it directly | 20:39 |
@preaction | Graphics::Primitive should be the wrapper class, is what i think | 20:40 |
+perlDreamer | will it dispatch to others? | 20:40 |
@preaction | then we can provide a way to configure it from the config file | 20:40 |
@preaction | yes, Graphics::Primitive supports drivers for GD and Cairo/Pango | 20:40 |
@preaction | no support for IM yet, but if it did, then everyone could get everything | 20:40 |
@preaction | though making WebGUI::Graphics use Graphics::Primitive would be fine to start | 20:41 |
kthakore | I didn't plan on keeping WebGUI::Graphics around | 20:42 |
kthakore | I wanted to ensure everything is in one place to handle first | 20:42 |
kthakore | then I can experiment with GD/Cairo easily | 20:42 |
kthakore | what do you think? | 20:42 |
@preaction | ah, mais oui | 20:42 |
@preaction | sounds a good plan | 20:42 |
kthakore | ok I will have my results on github soon. | 20:43 |
kthakore | btw I seem to have lost the admin page :( | 20:43 |
kthakore | can't find the turn admin on link | 20:43 |
@preaction | did you login? | 20:44 |
@preaction | if 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.html | 20:48 |
+perlDreamer | what's the advantage of that? | 20:49 |
@preaction | a single, unified interface to both DBIC objects and Thingy data | 20:50 |
+perlDreamer | but who is using DBIC in WebGUI? | 20:51 |
@preaction | jimX11? | 20:51 |
+perlDreamer | hm | 20:51 |
+perlDreamer | that would be a complete refactoring of that new asset, wouldn't it? | 20:52 |
@preaction | and my idea that the website should be able to have a bunch of schemas, including content-manager-created ones | 20:52 |
+perlDreamer | I mean, are you proposing slaving the Thingy to these DBIC schemas? | 20:52 |
@preaction | not slaving, co-existing | 20:52 |
+perlDreamer | sounds like something we should keep in mind for the 8.x rework of Thingy :) | 20:53 |
@preaction | exactly | 20:53 |
kthakore | yeah I logged in | 20:57 |
@preaction | try ?op=admin then? | 21:03 |
kthakore | yeah tried that | 21:06 |
kthakore | no luck | 21:06 |
kthakore | the log shows | 21: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 |
kthakore | there is no AdminBar ... in lib | 21:08 |
@preaction | hm.. it shouldn't be trying to | 21:12 |
@preaction | and that shouldn't prevent the page from loading, anything else in there? | 21:12 |
+perlDreamer | AdminBar is still in WebGUI.conf.original | 21:14 |
kthakore | in the log? | 21:14 |
+perlDreamer | so any newly generated conf file will have them, too | 21:14 |
kthakore | preaction: I have to get. Nothing in the log after I comment out AdminBar | 21:17 |
@preaction | change etc/log.conf "ERROR" to "INFO" and try again maybe? | 21:17 |
@preaction | i'll fix the AdminBar problem | 21:17 |
+perlDreamer | should probably check for other outdated entries in there | 21:20 |
@preaction | already did | 21:21 |
CIA-82 | webgui: Doug Bell WebGUI8 * raf2abb7 / etc/WebGUI.conf.original : fix outdated macros in conf.original - http://bit.ly/lQWcGY | 21:21 |
jimX11 | preaction: I'm on a conf call ... | 21:52 |
kthakore | preaction: thanks | 22: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 #webgui | 22:17 |
kthakore | preaction: http://paste.scsys.co.uk/105575 | 22:23 |
+perlDreamer | that looks like the upgrade may not have run successfully | 22:29 |
+perlDreamer | running the upgrade should remove all instances of the AdminBar macro from all templates | 22:32 |
jimX11 | preaction: I'm all ears, if you need my ear. | 22:32 |
@preaction | yeah, and install the template that newById is looking for | 22:32 |
@preaction | jimX11: no, i was telling perlDreamer that you were using DBIC in WebGUI | 22:32 |
jimX11 | preaction: ok | 22:33 |
-!- SquOnk [~emhn@186.93.207.12] has joined #webgui | 22:53 |
SquOnk | Greetings | 22:53 |
+perlDreamer | what's shakin', SquOnk? | 22:54 |
* perlDreamer goes running. | 22:56 |
SquOnk | preaction: Did you read the backlog this morning? | 23:21 |
@preaction | no | 23:21 |
* scrottie was out... doctors appointment (I never do that...) | 23:27 |
@preaction | SquOnk: that's an RFE, and it should be a single line change. let me find where it would be | 23:27 |
@scrottie | kthakore, you didn't run upgrades. | 23:28 |
@scrottie | kthakore, 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 |
@scrottie | I told you to read the install notes twice and then repeated that particular bit of it too. | 23:29 |
@preaction | SquOnk: 175 of lib/WebGUI/Asset/Wobject/AssetReport.pm push(@{$var->{'asset_loop'}}, { %{$returnAsset->get}, %{$returnAsset->getMetaDataAsTemplateVariables} }); | 23:29 |
@preaction | test it out, put it in a patch, and we'll include it | 23:29 |
SquOnk | preaction: That's what I patched :-) | 23:31 |
SquOnk | preaction: Will test and RFE tonight. I believe it will make it into 7.10, but NOT into 7.9, right? | 23:31 |
@preaction | correct | 23:31 |
SquOnk | preaction: Good. It's a one line patch, so my customer can live with that. | 23:32 |
SquOnk | preaction: One question, though. | 23:32 |
SquOnk | preaction: 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 |
@preaction | inside the loop, yes | 23:33 |
@preaction | if you used a TT template, you could get around that | 23:33 |
SquOnk | preaction: Good. | 23:34 |
SquOnk | preaction: Works like a charm, my friend. | 23:38 |
@preaction | sweet | 23:38 |
@scrottie | preaction: 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 |
@scrottie | correctly | 23:38 |
Haarg | it currently doesn't know which upgrades have been run because it keeps track of that by version number | 23:39 |
@scrottie | right. if the version number of WebGUI doesn't match the version in the database, it needs to run upgrades. | 23:40 |
@scrottie | so, rephrasing, should automatically run upgrades when launched if db and code version don't match | 23:40 |
Haarg | yeah, but that won't handle the case you mentioned, because doing git pull wouldn't change your version number | 23:41 |
@scrottie | WebGUI8 doesn't have releases yet. is that the only problem? even then, it would notice that 7.10.x ne 8 | 23:41 |
@scrottie | developers will have to deal with this until 8 starts getting subversions. | 23:42 |
@preaction | yes, which is soon | 23:42 |
@scrottie | except for that pesky first-8 run | 23:42 |
Haarg | if you are developing on 8, then your db version is already at 8 | 23:42 |
@preaction | or we could even just bail out if the db version and the code version don't match | 23:42 |
@scrottie | Haarg, unless you loaded the create.sql that comes with 8 | 23:42 |
@scrottie | that's an option too, but I'm imagining this streamlined auto-update feature so that we're not plagued with pathologically antique .dpkgs | 23:43 |
Haarg | but in that case you know that upgrades are needed | 23:43 |
@preaction | i worry about doing things automatically that could destroy sites if done wrongly or unnecessarily | 23:44 |
Haarg | if you are already importing create.sql, just change your process to also do an upgrade | 23:44 |
@preaction | wgd reset does exactly that, even | 23:44 |
@scrottie | how 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 |
@preaction | change that to email me, and you've got a deal | 23:44 |
@preaction | i do desperately need a new fur coat | 23:44 |
Haarg | i think having the psgi bail out of the version numbers don't match would make sense | 23:44 |
* scrottie nods | 23:45 |
@scrottie | okay. | 23:45 |
Haarg | well maybe not bail out | 23:45 |
Haarg | but do something | 23:45 |
Haarg | because when you are upgrading you want it to be able to show the maintenance page | 23:45 |
@scrottie | we could do an environment variable... WEBGUI_VERSION_OVERRIDE | 23:45 |
SquOnk | preaction: There you go, RFEd | 23:46 |
@preaction | danke, SquOnk | 23:46 |
@scrottie | default to failing on startup on mismatch but allow override | 23:46 |
@scrottie | people could always change the version in the db too. | 23:46 |
Haarg | this is something that server admins will have to deal with often though, so making it annoying would be bad | 23:47 |
@scrottie | if the versions don't match, it should be a matter of running upgrades. | 23:48 |
Haarg | alternatively, have it store the current version in settings all the time and show the maint page based on that | 23:48 |
@scrottie | I wanted to do that automatically =P | 23:48 |
@scrottie | the 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 |
Haarg | it already does that during upgrade but having it just always there would be fine as well | 23:49 |
Haarg | basically, 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 |
@scrottie | yeah, that's fine for dev. | 23:50 |
Haarg | having it fail in a friendlier way would be good though | 23:50 |
+perlDreamer | no tests on that AssetReport RFE? | 23:52 |
@scrottie | sounds 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 |
@scrottie | fine. | 23:53 |
@scrottie | this doesn't have to be perfect, only an improvement, and it can be improved again later. | 23:54 |
@scrottie | nothing in code is ever perfect. | 23:54 |
CIA-82 | wgdev: Graham Knop master * r0ff9ffb / Changes : | 23:59 |
CIA-82 | wgdev: v0.1105190 | 23:59 |
CIA-82 | wgdev: - add missing Try::Tiny prereq | 23:59 |
CIA-82 | wgdev: - fix to directory copy code | 23:59 |
CIA-82 | wgdev: - add overwrite option to package importing | 23:59 |
CIA-82 | wgdev: - improve package importing error reporting | 23:59 |
CIA-82 | wgdev: - improve script packing (+6 more commits...) - http://bit.ly/jhnkPd | 23:59 |
--- Day changed Fri May 20 2011 |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui | 00:01 |
+perlDreamer | Thanks Haarg! | 00:03 |
+perlDreamer | you rock | 00:03 |
SquOnk | Well, gotta go. | 00:11 |
SquOnk | preaction: 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 #webgui | 00:59 |
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has quit [] | 01:52 |
kthakore | hi scrottie ok this is what I had to do to get webGUI8 to work | 02:54 |
kthakore | scrottie: 3) $ wgd reset --upgrade -F etc/WebGUI.conf | 02:54 |
kthakore | then I had to drop the db and run create.sql again on it | 02:54 |
@scrottie | good. yeah, that runs upgrades, which fixes that. | 02:54 |
@scrottie | okay, bad. | 02:55 |
kthakore | yeah which I didn't get why | 02:55 |
kthakore | :( | 02:55 |
@scrottie | database changes are the vast majority of what upgrades do. | 02:55 |
kthakore | ok | 02:55 |
@scrottie | upgrades change stuff in the database and config file, but mostly in the database. | 02:55 |
@scrottie | run upgrades again to avoid futher problems... wgd reset --upgrade | 02:55 |
kthakore | right but with the -F tag | 02:55 |
kthakore | it doesn't listen to WEBGUI_CONF | 02:55 |
@scrottie | you should have WBGUI_ROOT=/whereever | 02:56 |
@scrottie | yeah, gotta do WEBGUI_ROOT I think. | 02:56 |
kthakore | ah | 02:56 |
kthakore | that is not in the README | 02:56 |
kthakore | 'The site psgi file uses the WEBGUI_CONFIG environment variable to find the config.' | 02:56 |
Haarg | it's probably easiest to set WEBGUI_CONF to the full path of the config | 02:56 |
kthakore | that is all I see | 02:56 |
Haarg | WEBGUI_ROOT is a wgd thing | 02:56 |
@scrottie | yeah, was just looking at the README | 02:57 |
kthakore | scrottie: ok so it was just ambiougous then. Just add 'full path to config' for WEBGUI_CONF | 02:57 |
kthakore | ? | 02:57 |
@scrottie | docs/install.txt has it | 02:57 |
kthakore | ah ok | 02:57 |
kthakore | I didn't know if to read that | 02:58 |
kthakore | ok also there are some template breakage I don't know how to fix | 02:58 |
kthakore | preaction told me to install template stuff for these WARNS/ERRORS http://paste.scsys.co.uk/105575 | 02:59 |
Haarg | kthakore, are you just trying to get a stock webgui 8 install going? | 02:59 |
kthakore | it looks at /home/crystalx but I dont have that | 02:59 |
kthakore | Haarg: the github, so I can work on swapping Image::Magick out for GD or Cairo | 03:00 |
kthakore | just some example website is all I need | 03:00 |
Haarg | ok | 03:00 |
@scrottie | yeah, the upgrade script takes the Macro::AdminBar out of your config file. | 03:00 |
Haarg | so you have your database set up and in the config file. what about uploads? | 03:00 |
@scrottie | it is no longer a macro in WebGUI8. | 03:00 |
@scrottie | I had the same problem. | 03:00 |
@scrottie | uploads is in doc/install.txt now. | 03:01 |
kthakore | scrottie: I am not sure what that means. macro for /home/crystalx stuff? | 03:01 |
@scrottie | to support extension, a lot of plug-in-y stuff gets registered in the config file, including "macros". | 03:02 |
Haarg | basically, if you have a config file with a database and uploads set up, you should be able to run | 03:02 |
Haarg | wgd reset --dev | 03:02 |
@scrottie | macros get parsed out of templates and other stuff, code run, and the output replaced in | 03:02 |
Haarg | and get everything working | 03:02 |
@scrottie | I 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 |
kthakore | ok | 03:04 |
kthakore | is having spectre.pl running necessary? | 03:04 |
@scrottie | not really | 03:04 |
@scrottie | not for dev | 03:04 |
@scrottie | in the admin tab, there's a "workflows" thing. the stuff in there that runs peroidically won't run without it, fwiw. | 03:05 |
kthakore | Haarg: thanks for the wgd reset --dev tip! | 03:07 |
Haarg | we really need a site creation script, it's just been low priority because the people working on stuff already have things set up | 03:08 |
kthakore | ok 'Turn Admin On!' is still not working for me | 03:09 |
@scrottie | oh, 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.conf | 03:09 |
@scrottie | ... but it's terrible | 03:09 |
Haarg | yeah the wre's stuff for that isn't great, and it really needs to be in webgui itself | 03:10 |
@scrottie | kthakore, remind me where you're at exactly? you loaded a new database, ran upgrades... | 03:10 |
kthakore | scrottie: almost all of docs/install.pl except for spectre.pland wgd reset --dev is done | 03:11 |
@scrottie | scripts to maintain httpd.conf are as old as web hosting itself... | 03:11 |
@scrottie | the art has not advanced. | 03:11 |
@scrottie | wgd reset --upgrade ... has this been done? | 03:11 |
@scrottie | if not, it shouldn't hurt to do it again | 03:11 |
Haarg | --dev includes that | 03:12 |
@scrottie | thought maybe he upgraded but didn't do --dev yet for some reason | 03:12 |
@scrottie | okay. 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.0 | 03:12 |
@scrottie | and it's probably better that way. the upgrade path should be well tested going into an 8.0 release. | 03:13 |
kthakore | running the upgrade gets warnings like | 03:14 |
kthakore | Use of uninitialized value in pattern match (m//) at /home/kth | 03:14 |
@scrottie | hrm. | 03:14 |
kthakore | admin worked | 03:14 |
kthakore | I did absolute paths in the config file | 03:15 |
@scrottie | good. | 03:15 |
kthakore | I was doing relatives before | 03:15 |
@scrottie | did you ever get Image::Magick working, out of curiosity? | 03:15 |
kthakore | yeah | 03:15 |
* scrottie nods | 03:15 |
kthakore | loads of black magic | 03:15 |
kthakore | I had to compile it against Debian's libperl manually | 03:16 |
kthakore | then patch it for mmx and 64bit | 03:16 |
kthakore | which was pointlessly wasteful | 03:16 |
kthakore | as it was only having that problem with my architecture .... so I can't even give the module a patch to add | 03:17 |
@scrottie | on 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 |
kthakore | oh ... yeah that will be a long long long list of todo | 03:17 |
@scrottie | no kidding. | 03:17 |
* kthakore shudders | 03:17 |
@scrottie | yikes. | 03:18 |
kthakore | ok how do i add a bunch of content/plugins to use the Image functionality of WebGUI8 | 03:18 |
kthakore | sorry I haven't use WebGUI8 before | 03:18 |
@scrottie | s'ok | 03:18 |
@preaction | Poll uses the most of WebGUI::Graphics | 03:19 |
@scrottie | there's some ImageGallery stuff too | 03:19 |
@preaction | otherwise Image assets create thumbnails using the methods in WebGUI::Storage | 03:19 |
@scrottie | in the admin bar, there's a New Content tab. you have to add these things (Poll, Image Gallery, etc) from there. | 03:19 |
@scrottie | it 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 |
@scrottie | I'm not sure how good test coverage currently is but I'd be happy to write some tests for you. | 03:20 |
kthakore | ok | 03:21 |
kthakore | great ... I ran into another bug/config issue | 03:21 |
kthakore | I do New Content->Basic->Poll | 03:21 |
kthakore | and nothing happens | 03:22 |
kthakore | clicking any of the edit buttons doesn't do anything either | 03:22 |
@scrottie | does your browser's developer widgetplexdealie have any information about .js files it failed to find/load? | 03:23 |
kthakore | Couldn't call method www_edit on asset for url: /home Root cause: Can't locate object method "getValue" via package | 03:23 |
kthakore | that is the error | 03:23 |
@preaction | oh humph | 03:23 |
@preaction | one sec | 03:23 |
kthakore | WebGUI::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 |
@preaction | do a pull and it should be fixed | 03:24 |
@scrottie | you *should* get a delightful enhanced Plack::Middleware::StackTrace if things blow up and you have developer mode on | 03:24 |
@preaction | getValue went gone a long time ago | 03:24 |
CIA-82 | webgui: Doug Bell WebGUI8 * r258d939 / lib/WebGUI/Asset/RichEdit.pm : remove getValue for the third time maybe? - http://bit.ly/kkCHnT | 03:24 |
kthakore | :) | 03:24 |
* kthakore loves finding bugs and getting fixes just for doing simple things | 03:25 |
CIA-82 | webgui: Graham Knop WebGUI8 * r2a73f5a / lib/WebGUI/Asset.pm : fix undefined warnings - http://bit.ly/mAjMww | 03:25 |
kthakore | works | 03:26 |
@scrottie | at mysql, do: insert into settings (name, value) values ('showDebug', 1); insert into settings (name, value) values ('ipDebug', '127.0.0.1'); | 03:26 |
Haarg | or wgd reset --debug | 03:26 |
@scrottie | oh, huh. | 03:27 |
@scrottie | btw, wgd db is really handy | 03:27 |
Haarg | it doesn't stick in the ipDebug thing actually | 03:27 |
kthakore | Can't add image gallery now | 03:29 |
kthakore | insert into settings (name, value) values ('showDebug', 1); insert into settings (name, value) values ('ipDebug', '127.0.0.1'); | 03:29 |
kthakore | oops | 03:29 |
kthakore | WebGUI::Asset::dispatch[760] Couldn't call method www_add on asset for url: /home Root cause: newById must get an assetId | 03:29 |
@scrottie | mmm... does it say where that was called from, before that? | 03:30 |
@scrottie | you'll have to restart the thing for the stack traces to kick in | 03:30 |
kthakore | ok | 03:31 |
kthakore | no stack traces yet ... | 03:33 |
kthakore | I will do the wgd reset --debug then | 03:33 |
@scrottie | perl t/PSGI/StackTrace.t ... that should figure out if that's working | 03:35 |
Haarg | if you did --dev, debug mode should already be on | 03:35 |
kthakore | ok | 03:36 |
kthakore | http://paste.scsys.co.uk/105605 | 03:38 |
@scrottie | heh... export WEBGUI_LIVE=1 | 03:39 |
@scrottie | that actually needs to go away | 03:39 |
@scrottie | (and then try again) | 03:39 |
kthakore | the test? | 03:42 |
kthakore | or the webapp? | 03:42 |
kthakore | test is fine | 03:43 |
@scrottie | the 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 |
@scrottie | I need to rework what happens when stuff gets caught works a bit. | 03:44 |
@scrottie | or someone does. | 03:44 |
@scrottie | errors deeper inside WebGUI are likely getten eaten right now | 03:45 |
kthakore | yay! | 03:45 |
kthakore | ok I will take a break then start preping for Image::Magick refactor | 03:46 |
kthakore | I am just going to ack the heck out of it | 03:46 |
kthakore | and move it to a WebGUI::Graphics where I can play with GD/Cairo | 03:46 |
kthakore | I will fork WebGUI8 onto my github and get you guys to try my fork | 03:46 |
kthakore | so I don't waste all my time fiddling with server setup | 03:47 |
kthakore | is that good? | 03:47 |
@scrottie | no complaints here. | 03:47 |
kthakore | cool | 03:47 |
kthakore | need to clean up fucking water damage some more | 03: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 #webgui | 04:24 |
-!- jjm_ is now known as jimX11_ | 04:32 |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 04: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 #webgui | 07:19 |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has quit [Ping timeout: 240 seconds] | 07:26 |
CIA-82 | webgui: Scott Walters WebGUI8 * rc011dda / (README docs/install.txt): README and docs/install fixes. - http://bit.ly/jLCD4K | 07:38 |
-!- ryuu_ro [~rory@D57D69B6.static.ziggozakelijk.nl] has joined #webgui | 09:16 |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui | 10:36 |
-!- mode/#webgui [+v BartJol] by ChanServ | 10: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 #webgui | 12: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 #webgui | 13:43 |
-!- knowmad [~knowmad@99-112-245-79.lightspeed.chrlnc.sbcglobal.net] has joined #webgui | 14:09 |
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui | 14: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 #webgui | 15: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 #webgui | 16:14 |
-!- mode/#webgui [+o bopbop] by ChanServ | 16:14 |
-!- ryuu_ro_ [~rory@D57D69B6.static.ziggozakelijk.nl] has joined #webgui | 16: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 |
+BartJol | joy : http://www.webgui.org/use/bugs/tracker/12135 | 17:04 |
-!- pbcj [~pbcj@71-90-6-215.dhcp.ftbg.wi.charter.com] has joined #webgui | 17:06 |
-!- mode/#webgui [+o pbcj] by ChanServ | 17:06 |
@pbcj | 'mornin | 17:07 |
+BartJol | morning | 17:07 |
-!- fokat [~lem@66.0.48.131] has joined #webgui | 17:30 |
-!- knowmad [~knowmad@adsl-070-148-067-249.sip.clt.bellsouth.net] has joined #webgui | 17:30 |
kthakore | morning | 17:55 |
+BartJol | howdy | 17:59 |
-!- perlDreamer [~colink@static-50-43-12-94.bvtn.or.frontiernet.net] has joined #webgui | 18:17 |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 18:17 |
+BartJol | hey colin it is da man who alles testen can | 18:25 |
+BartJol | perlDreamer: did you add the Geo::Coder::Googlev3 lib? | 18:28 |
+perlDreamer | no, and not likely too either | 18:28 |
+BartJol | I see your name in a possible related bug | 18:28 |
+perlDreamer | missing dependencies should be filed on rt.cpan.org against the distribution | 18:28 |
+BartJol | ah | 18:28 |
+BartJol | sorry, wrong place | 18:28 |
+BartJol | shame on me | 18:28 |
+perlDreamer | if they refuse to fix it, then we can add something to WebGUI to cover their badness | 18:28 |
+perlDreamer | we don't assign blame, we just throw boots | 18:29 |
+BartJol | mmm, missing my errors, because I haven't enabled endless scrolling | 18:33 |
+perlDreamer | I wish I was in The Netherlands right now | 18:37 |
+perlDreamer | because that would mean that Friday is almost over | 18:37 |
kthakore | hmm 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 |
+BartJol | I send the bug in | 18:42 |
+BartJol | https://rt.cpan.org/Ticket/Display.html?id=68343 | 18:42 |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has quit [Quit: Leaving.] | 18:46 |
-!- BartJol [~bart@D57D69B5.static.ziggozakelijk.nl] has joined #webgui | 18:55 |
-!- mode/#webgui [+v BartJol] by ChanServ | 18: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 #webgui | 19: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 |
@preaction | kthakore: check your uploadsPath in your webgui config file. also check the error log | 20:52 |
kthakore | preaction: Checked it | 20:56 |
kthakore | Also I set up a test suite for image features here | 20:57 |
kthakore | https://github.com/kthakore/webgui/commit/20082dd2935d31c218074fbe88f88ab6edfbf69e | 20:57 |
kthakore | is that correct? | 20:57 |
@preaction | should be yeah | 20:58 |
@preaction | everything we do with images should be covered by those tests, if those tests cover it ;) | 20:58 |
@preaction | i'll take a look inside Poll.t to see how well the graphs are covered | 20:58 |
kthakore | cool ok | 20:59 |
kthakore | I am gettign a lot of fails with these test already tough | 20:59 |
@preaction | they're checked if they're generated, which is really all we can do reliably. we're not going for exactly the same rendering | 20:59 |
@preaction | sbin/testEnvironment.pl runs clean? | 20:59 |
kthakore | yeah | 21:00 |
kthakore | wgd test fails alot too | 21:00 |
kthakore | I can upload now | 21:00 |
kthakore | I just had to clear the cache | 21:00 |
kthakore | wgd reset fixed it | 21:01 |
@preaction | do 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 though | 21:01 |
kthakore | ok | 21:02 |
kthakore | Image test results in the meantime http://paste.scsys.co.uk/105845 | 21:02 |
kthakore | preaction: I get bad parameter provided | 21:05 |
@preaction | oh, you need wgd -Fconfigfile | 21:05 |
kthakore | ok | 21:05 |
@preaction | probably | 21:06 |
kthakore | same problem | 21:06 |
@preaction | not in the right directory maybe? | 21:06 |
kthakore | No WebGUI root directory available. | 21:08 |
kthakore | I was able to run test before | 21:08 |
kthakore | should I set WEBGUI_ROOT ? | 21:08 |
@preaction | how/where did you do wgd test before? that's the place | 21:08 |
@preaction | yes, that'll do it probably | 21:08 |
kthakore | as soon as I do that | 21:10 |
kthakore | I get bad parameter | 21:10 |
kthakore | gah | 21:10 |
@preaction | perhaps 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 #webgui | 21:12 |
kthakore | nope | 21:12 |
kthakore | it just refuses to work now | 21:13 |
@preaction | awesome! | 21:13 |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui | 21:15 |
kthakore | hah | 21:16 |
kthakore | did you have a look at the image test results? HOw do I make those things pass? | 21:16 |
@preaction | i've looked at the results, but haven't done any digging yet. responding to some e-mail first | 21:19 |
kthakore | cool | 21:21 |
* kthakore runs away to break stuff | 21:21 |
kthakore | :) | 21:21 |
@scrottie | heh, I was up late doing the same thing... taking inventory of those... should have pasted my work. oops. | 21:25 |
kthakore | :P | 21:26 |
@scrottie | I think I have some that you don't... | 21:26 |
kthakore | I haz broekn many thungs | 21:26 |
kthakore | :\ | 21:26 |
@scrottie | then 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 |
@scrottie | I decided to try to adapt it to reading PNGs in pure perl. then I was up until 2am. | 21:27 |
@scrottie | it'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 |
@scrottie | https://gist.github.com/983485 | 21:28 |
@scrottie | let me post my last test run too... | 21:28 |
kthakore | ok | 21:30 |
kthakore | btw image galleries, image crop and thumbnails don't work for me | 21:31 |
@scrottie | I'd be interested to see the output of prove --verbose for those | 21:31 |
kthakore | ok | 21:31 |
@scrottie | actually, if you do prove --verbose, I can kompare yours and mine | 21:31 |
kthakore | https://gist.github.com/983498 | 21:31 |
@scrottie | okay, https://gist.github.com/983485 has my prove --verbose output in it. | 21:31 |
kthakore | those are the broken Image stuff right now | 21:32 |
@scrottie | hrm, need more context. | 21:32 |
kthakore | adding gallery | 21:33 |
kthakore | and setting thumbnail size | 21:33 |
kthakore | two failing things right now | 21:33 |
kthakore | and 2 logger events | 21:33 |
kthakore | scrottie: verbose tests http://paste.scsys.co.uk/105846 | 21:35 |
@scrottie | wgd test --reset="-d --config" -A -v --debug 2>&1 | tee test.log ... please do do that | 21:36 |
kthakore | ok | 21:36 |
@scrottie | not finding 'adding gallery' or 'setting thumbnail size' searching that file | 21:36 |
@scrottie | in t/Asset/File/Image.t | 21:36 |
@preaction | only one failing test, and it's TODO :( | 21:36 |
kthakore | scrottie: I was doing that by hand in the webapp | 21:36 |
@scrottie | ah. | 21:36 |
kthakore | scrottie: can't run wgd anymore | 21:37 |
@scrottie | are you getting proper stack traces now? that would be really handy for investigating run-time errors. | 21:37 |
kthakore | it complains about no WebGUI root directory | 21:37 |
@scrottie | export WEBGUI_ROOT=/data/WebGUI # or whereever you put it... app.psgi should be in that dir | 21:38 |
kthakore | I think I should do a clean 'install' again | 21:38 |
@scrottie | no, that's just the lack of an environment variable it's complainable about, unless you deleted everything out of there | 21:38 |
kthakore | now I get Bad parameter provided. | 21:38 |
kthakore | sigh | 21:38 |
kthakore | I dunno what broke that | 21:38 |
@scrottie | I hate that one. I don't know what that's about. | 21:38 |
@preaction | usually the config file parameter | 21:38 |
@scrottie | what's echo $WEBGUI_CONFIG say, if anything? | 21:38 |
@preaction | try WEBGUI_CONFIG instead of -F maybe? | 21:39 |
kthakore | ok | 21:39 |
@scrottie | most 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 stuff | 21:39 |
kthakore | http://paste.scsys.co.uk/105847 | 21:40 |
@scrottie | mine says: export PERL5LIB='/data/WebGUI/lib:/data/WebGUI/t/lib'; export WEBGUI_CONFIG='/data/WebGUI/etc/www.example.com.conf' | 21:40 |
kthakore | yeah it is serious broken now | 21:41 |
kthakore | great | 21:41 |
@scrottie | no wgd commands work? not even wgd db -F ... ? | 21:42 |
kthakore | nothing | 21:42 |
@scrottie | try absolute paths for PERL5LIB etc? | 21:42 |
@preaction | humph. your script works for me after i change the config file to my own | 21:43 |
@scrottie | next step would be asking Haarg please for a better diagnostic message, or else adding one yourself to wgd. | 21:44 |
kthakore | scrottie: try absolute paths. Same problem | 21:44 |
kthakore | I am cleaning up my test_env and starting again | 21:44 |
kthakore | I am going to just have symlinks to lib now instead all of webgui git | 21:45 |
@preaction | if you export WEBGUI_DEBUG=1 you should be able to do prove directly | 21:45 |
kthakore | preaction: how do you mean directly? I do that right now. | 21:45 |
@scrottie | quick 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 |
@preaction | wgd test is a wrapper around App::Prove, --debug sets WEBGUI_DEBUG | 21:46 |
Haarg | WGDEV_DEBUG=1 will give you stack traces | 21:46 |
Haarg | it's most likely something with WEBGUI_ROOT | 21:46 |
@scrottie | [ -f $WEBGUI_ROOT/app.psgi ] || echo "WEBGUI_ROOT wrong" | 21:47 |
Haarg | what i would recommend is unsetting WEBGUI_ROOT, and just having WEBGUI_CONFIG set to the absolute path for your config file | 21:48 |
kthakore | Haarg: ok | 21:48 |
kthakore | No WebGUI root directory available | 21:49 |
@scrottie | I 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 |
@scrottie | hrm, no, that's wrongt. | 21:50 |
kthakore | whould having lots of symlinks mess with wgd ? | 21:50 |
Haarg | yes | 21:50 |
kthakore | sigh | 21:50 |
kthakore | ok | 21:50 |
kthakore | scrottie: preaction Haarg let me clean up | 21:50 |
kthakore | what about just lib as symlink? | 21:50 |
@scrottie | this stuff likes to compute relative paths, often .. or ../.. | 21:51 |
Haarg | i'd start with just having everything in one directory with no symlinks. | 21:52 |
@scrottie | mv */* */*/* */*/*/* */*/*/*/* */*/*/*/*/* . | 21:52 |
kthakore | shit | 21:54 |
kthakore | I cleaned up everything | 21:54 |
kthakore | still not working | 21:54 |
kthakore | wtf happened | 21:54 |
* kthakore reads back bash_history | 21:55 |
@preaction | i'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 maybe | 21:55 |
kthakore | but it was working jsut this morning | 21:56 |
kthakore | how the fuck | 21:56 |
Haarg | so 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 |
kthakore | yeah | 21:56 |
@scrottie | 5.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 |
Haarg | what do you get if you run wgd config command ? | 21:56 |
kthakore | No WebGUI root directory available. | 21:56 |
kthakore | no output | 21:56 |
@scrottie | the .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.conf | 21:57 |
kthakore | that is the output | 21:57 |
@scrottie | head and tail .conf... does it look like the JSON got cut off on either end? | 21:57 |
kthakore | yeah .. missing a { | 21:57 |
kthakore | wtf | 21:57 |
kthakore | how | 21:57 |
kthakore | and my .conf is all changed | 21:58 |
* kthakore looks at git | 21:58 |
kthakore | .... | 21:58 |
@scrottie | interrupted at the wrong moment and not doing the mv shuffle. | 21:58 |
kthakore | this happened after I ran ./wgb --dev thing | 21:58 |
@scrottie | WebGUI and the tests treat the .conf file as read-write. | 21:58 |
@scrottie | see Config::JSON. | 21:58 |
@scrottie | WebGUI::Config uses that. | 21:58 |
kthakore | right | 21:59 |
Haarg | preaction, all the upgrade scripts got brought along with the merge | 22:00 |
@preaction | i'm checking other perls because on of these test failures is a failure in a regexp to grab the file extension, which is really weird | 22:01 |
@preaction | Cannot determine source for t/Asset/Wobject/StoryTopic.t <- and i dunno wtf's going on there | 22:02 |
@preaction | and of course i just deleted all my VMs to free up space to load pb.com's database... | 22:02 |
@preaction | oh, right, i should merge all those pull requests that are pending | 22:03 |
-!- knowmad [~knowmad@adsl-070-148-067-249.sip.clt.bellsouth.net] has joined #webgui | 22:04 |
CIA-82 | webgui: Doug Bell WebGUI8 * r65752f2 / lib/WebGUI/Template/Plugin/Asset.pm : | 22:08 |
CIA-82 | webgui: Merge pull request #12 from haarg/tt-asset-plugin | 22:08 |
CIA-82 | webgui: Adds an Asset plugin for Template Toolkit - http://bit.ly/k08bir | 22:08 |
kthakore | ok complete clean app, no symblink, new database | 22:09 |
kthakore | same problem with wgd | 22:09 |
@scrottie | mmmm, you repaired your config file? | 22:11 |
kthakore | yeah | 22:11 |
kthakore | I can paste my config file | 22:11 |
kthakore | http://paste.scsys.co.uk/105849 | 22:12 |
@scrottie | if it can parse it, you should get some other error | 22:12 |
kthakore | actually this one I mean | 22:13 |
kthakore | http://paste.scsys.co.uk/105850 | 22:13 |
@scrottie | don'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 |
kthakore | TRACE of the whole thing http://paste.scsys.co.uk/105851 | 22:19 |
kthakore | WGDev::X::BadParameter->throw( is called | 22:19 |
kthakore | line 785 | 22:19 |
kthakore | what is that called for? | 22:20 |
Haarg | kthakore, give me a minute | 22:22 |
@scrottie | >> /loader/0x217b910/WGDev.pm:69: if ( -d $path | 22:22 |
@scrottie | just above it. | 22:22 |
kthakore | yeah | 22:22 |
kthakore | looking at what $path is | 22:22 |
kthakore | /home/kthakore/Documents/Development/Work/test_env at /loader/0x1b7dba0/WGDev.pm line 69.\ | 22:22 |
kthakore | seems fine | 22:22 |
kthakore | && -e File::Spec->catfile( $path, 'etc', 'WebGUI.conf.original' ) | 22:23 |
kthakore | wtf why? | 22:23 |
kthakore | it looks for that file but why? | 22:23 |
kthakore | got rid of that | 22:23 |
Haarg | it needs some indication if the directory is a valid webgui root | 22:23 |
kthakore | works awesome | 22:24 |
@scrottie | it seems to want it not to be a directory. if( -d ) Throw | 22:24 |
kthakore | not it was the WebGUI thing | 22:24 |
kthakore | -e File::Spec->catfile( $path, 'etc', 'WebGUI.conf.original' ) | 22:24 |
kthakore | I am missing that file | 22:24 |
kthakore | cause I mv | 22:24 |
* kthakore strangles himself | 22:24 |
Haarg | that file should exist in any normal webgui root directory, so i used it | 22:24 |
@scrottie | ah, else throw | 22:24 |
kthakore | Haarg: it was my fault I didn't know that | 22:24 |
* kthakore strangles himself and commits sepakky | 22:25 |
kthakore | sigh | 22:25 |
@scrottie | oooooooooooooooOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOoooooooooooooooooooooOOOOOOOOOOOOOOOOOOOOOOOooooooooo | 22:25 |
Haarg | well, my super special error message was extremely helpful tracking it down | 22:25 |
Haarg | 'bad parameter' | 22:25 |
kthakore | Haarg: ... erm no | 22:25 |
kthakore | but it was fun | 22:25 |
kthakore | :) | 22:25 |
@scrottie | this explains why wgd does this same thing to me some times | 22:25 |
kthakore | can I patch that for the love of gawd? | 22:25 |
kthakore | Haarg: ? | 22:25 |
Haarg | yeah something should be done to improve that | 22:25 |
@scrottie | just a bit earlier I was saying that it did that for me some times and I wasn't sure why. | 22:26 |
@scrottie | github.com/haarg/wgd I think | 22:26 |
@scrottie | http://github.com/haarg/wgdev.git | 22:26 |
kthakore | okie | 22:26 |
kthakore | patch soon | 22:26 |
@scrottie | :q | 22:27 |
@scrottie | ahem. | 22:27 |
kthakore | eyeball lick? | 22:27 |
@scrottie | kill -9 $$ | 22:27 |
@scrottie | teehee | 22:27 |
@scrottie | I had a bugger. fixed! | 22:27 |
kthakore | scrottie: you are making less and less sense | 22:27 |
@scrottie | tongue can't reach eyeballs, only buggers. | 22:27 |
@preaction | perlDreamer: got a minute? do you remember who/where that Thingy patch went? | 22:28 |
CIA-82 | webgui: Doug Bell master * rc471728 / (2 files in 2 dirs): | 22:28 |
CIA-82 | webgui: add metadata to assets inside an AssetReport | 22:28 |
CIA-82 | webgui: Thanks to SquOnk for the patch. - http://bit.ly/lhVlFF | 22:28 |
CIA-82 | webgui: Doug Bell master * r9b5f14d / docs/changelog/7.x.x.txt : always forget a changelog... maybe I need a git hook... - http://bit.ly/k8ubYY | 22:28 |
@preaction | perlDreamer: nm, i found it | 22:28 |
kthakore | scrottie: Haarg pretty please https://github.com/haarg/wgdev/pull/22 | 22:32 |
Haarg | kthakore, as is that patch isn't going to work, but i'm fixing stuff elsewhere so it will. | 22:33 |
kthakore | oh ok | 22:34 |
kthakore | Haarg: I would have helped | 22:34 |
kthakore | but if you got it cherrio | 22:34 |
@scrottie | I 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 |
kthakore | where do I point my pair of eyes? | 22:35 |
@preaction | i can be the eyes, JT would be the Config::JSON maintainer | 22:35 |
Haarg | i can take a look. what is the problem you want to fix? | 22:35 |
Haarg | i wrote the current config writing thing iirc | 22:35 |
@scrottie | ahhh | 22:36 |
Haarg | i still want to come up with a better way to handle included files but haven't come up with a good strategy yet | 22:36 |
@scrottie | Haarg, https://github.com/scrottie/config-json/commit/cc41ea153be45c5a2665940ea5b1518a5a42a550 | 22:39 |
-!- mducharme-work [~nothing@206.188.121.4] has quit [Ping timeout: 258 seconds] | 22:39 |
@scrottie | basically, 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 |
Haarg | yeah. the reason for the past ugliness was to prevent problems with the disk getting full. but your thing is almost certainly better. | 22:40 |
Haarg | oh, i think i remember why i ended up with the ugly thing i made | 22:41 |
@scrottie | yeah. I was surprised how careful the code was when I went to look at it. | 22:41 |
Haarg | didn't want to potentially mess with the file owner | 22:41 |
Haarg | i don't know if that's really important though. | 22:41 |
@scrottie | hrm. that's a good point, but my two cents is avoiding interruption is more significant. | 22:42 |
@scrottie | I should write some tests for this before sending a pull request. | 22:42 |
@scrottie | or sending one on IRC ;) | 22:43 |
Haarg | i'd probably go with your version. simpler than mine, and as you say protecting against race conditions is probably more important. | 22:44 |
@scrottie | hrm, I could totally write tests that simulated low disc space conditions, but that might make people angry. | 22:46 |
@scrottie | s/simulated/actuated/ | 22:46 |
Haarg | hah | 22:46 |
kthakore | lunch/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 #webgui | 22:50 |
CIA-82 | webgui: Doug Bell master * r1fa9110 / (5 files in 4 dirs): | 23:00 |
CIA-82 | webgui: Merge commit '1966cc02a70752' | 23:00 |
CIA-82 | webgui: Conflicts: | 23:00 |
CIA-82 | webgui: lib/WebGUI/Asset/Wobject/Thingy.pm - http://bit.ly/jFwcDv | 23:00 |
@preaction | finally zylopfa's work is merged. i gotta keep better track of contributions... | 23:00 |
kthakore | scrottie: preaction Haarg the tee test.log command http://paste.scsys.co.uk/105857 | 23:13 |
@preaction | awesome. i'll take a closer look when i get back from some errands | 23:17 |
kthakore | preaction: it only took a couple hours lol | 23:18 |
@preaction | yeah, --debug takes a while, as it does a lot more testing | 23:18 |
kthakore | oh I meant even the ability to run that command | 23:18 |
kthakore | hah | 23:18 |
kthakore | that Bad Parameter thing | 23:18 |
@preaction | what was the end problem? | 23:19 |
@scrottie | if www.example.com.conf wasn't in etc, it decided it was the wrong directory. | 23:21 |
kthakore | scrottie: nope | 23:21 |
kthakore | it had to be /etc/WebGUI.conf.original | 23:21 |
@scrottie | ah, sorry | 23:21 |
kthakore | that file needed to exist | 23:21 |
kthakore | which seemed counter intuitive to me | 23:22 |
kthakore | but I dunno maybe that makes sense | 23:22 |
@preaction | oh, the reset needs it to build a new config from when doing reset="-d --config" probably | 23:23 |
Haarg | i 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 |
@preaction | or that | 23:23 |
* preaction & | 23:23 |
Haarg | and yeah that is a required file for webgui & wgdev. the real issue is just the error message | 23:24 |
kthakore | Haarg: yeah. The only reason it was counterintuitive to me was that in other webapps mv *.original *. is fine | 23:24 |
kthakore | great new errors :) | 23:25 |
kthakore | error WebGUI::Macro::_processMacro[179] No macro with name i18n defined. | 23:25 |
Haarg | yaaay error time to celebrate! | 23:26 |
Haarg | add to the config file in macros: "i18n" : "International", | 23:27 |
kthakore | ok | 23:29 |
kthakore | I already have | 23:30 |
kthakore | "International" : "International", | 23:30 |
Haarg | yeah, they should both be in there | 23:30 |
--- Day changed Sat May 21 2011 |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has joined #webgui | 00:06 |
-!- andyiomoon [~andyiomoo@ppp163-26.static.internode.on.net] has quit [Client Quit] | 00:06 |
+perlDreamer | that i18n macro synonym is supposed to be added during the upgrade to 8.x | 00:14 |
Haarg | it should be in WebGUI.conf.original though and it apparently isn't | 00: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 #webgui | 00: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 #webgui | 01: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 |
+perlDreamer | that's fixed easily enough | 02:37 |
CIA-82 | webgui: Colin Kuskie WebGUI8 * rf4bd6d3 / etc/WebGUI.conf.original : Add the i18n alias to the default WebGUI configuration file. - http://bit.ly/iX4Vji | 02:38 |
kthakore | aww I was gonna add that | 02:38 |
+perlDreamer | I waited two hours to give ya the chance | 02:45 |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 02: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 #webgui | 03: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 #webgui | 06: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 #webgui | 12: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 #webgui | 12: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 #webgui | 17: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 #webgui | 18:34 |
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has quit [Quit: Leaving.] | 18:41 |
jimX11 | If 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 #webgui | 19: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 |
@scrottie | perldoc WebGUI::Asset | 19:55 |
@scrottie | WebGUI::Asset::Wobjects are WebGUI::Assets | 19:55 |
@scrottie | there are a few ways to construct them... a few different new methods | 19:56 |
jimX11 | scrottie:thanks | 20: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 #webgui | 20: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 #webgui | 23:29 |
-!- mducharme [~nothing@S0106002401f31855.wp.shawcable.net] has joined #webgui | 23:31 |
-!- fokat [~lem@weston-69.65.87.205.myacc.net] has joined #webgui | 23:50 |
--- Day changed Sun May 22 2011 |
-!- carogray [~Caroline@c-24-63-233-216.hsd1.nh.comcast.net] has joined #webgui | 01:27 |
-!- fallout [~fallout@75-135-66-252.dhcp.mdsn.wi.charter.com] has joined #webgui | 01:28 |
kthakore | hallo | 02:15 |
|
---|