WebGUI irc logs from: 2008-03.log

--- Log opened Sat Mar 01 00:00:00 2008
--- Day changed Sat Mar 01 2008
wgGuest79ok00:00
+perlDreamerDoes it say that in the docs for WebGUI::Group.pm ?00:00
wgGuest79i am going to look for the method00:00
cap10morgani see00:01
wgGuest79in WebGUI::Group.pm there is not a create method00:01
estivenin WebGUI::Group.om  doesn't exist a create method.... i can't find too00:04
estivenCan't locate object method "create" via package "WebGUI::Group" at /data/WebGUI/lib/WebGUI/Macro/.....00:07
wgGuest79so, where is that method?00:08
estivenmm, i don't know...00:08
@rizenWebGUI::Group->new($sesion, "new")00:08
@rizenmy $newGroup = WebGUI::Group->new($ssesion, "new");00:09
@rizenit's a very old api so it doesn't conform tot he same specs as our other objects00:09
estivenWebGUI::Session::ErrorHandler::warn[430] - WebGUI::Group->new called with a non-existant groupId:[prueba]00:10
wgGuest79perlDreamer wrote that new pull an existing group00:10
@Haargyou have to pass in 'new' as the second parameter to create a group00:12
+perlDreamerperlDreamer has seen too much API recently00:13
estivenmm, i try it00:14
estivenyes works...00:19
estiven        my $g = WebGUI::Group->new($session,"new");00:19
estiven        $g->name("prueba");00:19
estiventhanks00:19
+perlDreamercap10morgan: it's in00:20
+perlDreamersvn rev 568700:20
+perlDreamerInterception of logging now has to be enabled.00:20
cap10morganperlDreamer: cool. does it go to webgui.log o/w?00:21
+perlDreameryes00:21
cap10morganexcellent, thanks for doing that00:21
+perlDreameryou're welcome00:21
+perlDreamerit could use some polish00:21
+perlDreamerthe queue is a scalar, so it's only one call deep00:21
+perlDreamerand as it stands, there's no way to turn it off once enabled00:21
CIA-21WebGUI: colin * r5687 /WebGUI/t/ (6 files in 4 dirs): Fix how logging gets intercepted. It used to be on by default, now it must be turned on.00:27
+perlDreamerhas anyone else noticed that the SVN RSS feed is from 196900:28
@preactionit's probably not sending out the pubDate field.00:29
cap10morganHaarg: can I clone your WebGUI git repo?00:29
@Haargheh00:29
@Haargi should put it somewhere00:29
@Haargit's a pain to do the initial import00:29
cap10morganyeah, that's what i'm discovering :)00:29
@rizenHaarg, if you do that make sure that it doesn't expose your user/pass or privileges to anyone00:37
@Haargit doesn't store than in the repository00:37
@Haargit just goes in the same place svn auth stuff normally does00:37
@rizenwell pd, i'm outy for the weekend, i've checked in the base address book system, still have to do the ui for it00:37
@rizenwe made very good progress this week perlDreamer.00:38
+perlDreamerthanks, man00:38
* rizen pats perlDreamer on the back00:38
+perlDreamerI should have the tax migration script done soon, too00:38
@rizennice00:38
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [No route to host]00:39
@rizenhopefully next week we can have address book, shipping, and tax all finished and integrated into the cart00:39
@rizenas well as all the admin screens for each00:39
+perlDreamerand doesn't Joeri and crew turn on next week, too?00:39
+perlDreamerwe may make the deadline,  yet!00:39
@rizenmarch 5th i think he said the current project is done00:40
@rizenwe'll make the deadline00:40
@rizenthat's not in question00:40
@rizenthe question is how much other goodies can we throw in by then00:40
+perlDreamer:)00:40
@rizenhave a good weekend all00:41
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit []00:41
cap10morganHaarg: do you remember the git svn init command you used to pull in the WebGUI SVN repo? :)00:44
cap10morganI'm thinking of doing git svn init -t releases -b branch -T WebGUI https://svn.webgui.org/plainblack00:49
cap10morganhere goes nuthin...00:50
nubarizen> | nuba you too00:54
+perlDreamerrizen had a question about addressing00:54
nubawas that re: multiple line addresses ? if yes, I think they're good :)00:54
@Haargthat's basically it cap1000:54
cap10morganHaarg: cool, thanks00:54
+perlDreamerI think the exact question was whether one line or multi-line addresses would be difficult for interational users00:55
nubablist00:55
nubaoops, wrong window00:55
nubawell, its unusual in Brazil to spell the entire address in a single line00:56
@apeironbitlbee++00:56
nubaapeiron: heh yeah00:56
nubabitlbee is great, except when it goes runaway an 99% CPU...00:57
nubaand*00:57
@apeironI don't seem to have that problem, heh.00:57
nubalucky you, it happens to me every few weeks or so.00:58
nubaand Im too lazy to go find out why00:58
@apeironWell, I don't notice it if it does... FreeBSD's scheduler doesn't actually let a process eat 100% of the CPU time.00:59
nubatrust me, you'll notice.01:00
@apeironI've sat and watched processes labelled as "100%" in top and the system was perfectly responsive. :)01:01
nubaone notices when all buddies are silent for more than a day01:01
CIA-21WebGUI: jt * r5688 /branch/WebGUI_Commerce/ (6 files in 3 dirs): added address book management system, no ui01:01
nubaheh, another thing one notices is the productivity boost01:04
+perlDreamercap10morgan: http://git.or.cz/course/svn.html01:17
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit [Remote closed the connection]01:21
@Haargthis is better for working with git-svn: http://utsl.gen.nz/talks/git-svn/intro.html01:30
-!- wgGuest79 [n=wgGuest7@static-adsl201-232-86-73.epm.net.co] has quit [Remote closed the connection]01:34
-!- lisette [n=liraos@static-adsl201-232-86-73.epm.net.co] has quit ["Leaving."]01:43
CIA-21WebGUI: colin * r5689 /branch/WebGUI_Commerce/docs/upgrades/upgrade_7.5.2-7.5.3.pl: 01:43
CIA-21WebGUI: Migrate old tax data into the nex tax data script.01:43
CIA-21WebGUI: Tested this manually and it works okay.01:43
-!- estiven [n=estiven@static-adsl201-232-86-73.epm.net.co] has left #webgui []01:52
-!- cap10morgan [n=cap10mor@h19-afsc.ded.indra.com] has quit []02:20
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has quit ["Download Gaim: http://gaim.sourceforge.net/"]02:48
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI02:52
-!- cap10morgan [n=cap10mor@206-124-6-111.denver.dsl.forethought.net] has joined #webgui03:16
CIA-21WebGUI: arjan * r5690 /branch/WebGUI_7.4/lib/WebGUI/Asset/Wobject/WikiMaster.pm: fix: Wiki links to pages in trash (Arjan Widlak/United Knowledge)03:34
CIA-21WebGUI: arjan * r5691 /branch/WebGUI_7.4/docs/changelog/7.x.x.txt: updated changelog: Wiki links to pages in trash (Arjan Widlak/United Knowledge)03:51
-!- Radix__ [n=Radix@203.161.71.161.static.amnet.net.au] has joined #webgui05:49
-!- Radix__ [n=Radix@203.161.71.161.static.amnet.net.au] has quit [Client Quit]05:49
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)]05:51
CIA-21WebGUI: colin * r5692 /branch/WebGUI_Commerce/designdocs/shipper.pod: 06:20
CIA-21WebGUI: I was able to build Shop::Ship without _loadDriver by06:20
CIA-21WebGUI: using WebGUI::Pluggable directly.06:20
-!- wgGuest85 [i=WebGUIUs@ip-159.net-82-216-114.rev.numericable.fr] has joined #webgui07:08
wgGuest85speck french ?07:09
-!- wgGuest85 [i=WebGUIUs@ip-159.net-82-216-114.rev.numericable.fr] has quit [Client Quit]07:11
CIA-21WebGUI: colin * r5693 /branch/WebGUI_Commerce/ (lib/WebGUI/Shop/Tax.pm t/Shop/Tax.t): placeholder for calculate in Shop::Tax.pm07:17
-!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: steveo_aa07:31
-!- Netsplit over, joins: steveo_aa07:38
-!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: steveo_aa07:39
-!- Netsplit over, joins: steveo_aa07:40
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui10:15
-!- mode/#webgui [+o preaction] by ChanServ10:15
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has quit [Read error: 113 (No route to host)]12:24
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)]13:31
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has quit [Read error: 110 (Connection timed out)]14:31
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI17:07
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui17:58
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui18:55
-!- mode/#webgui [+o apeiron] by ChanServ18:55
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui19:45
-!- mode/#webgui [+o preaction] by ChanServ19:45
CIA-21WebGUI: doug * r5694 /branch/doug-experimental: Removing my experimental branch since I can't seem to merge with HEAD22:21
CIA-21WebGUI: doug * r5695 /branch/doug-experimental: Re-making my experimental branch because SVN hates me22:21
@apeironNo, no, it's CVS that hates you. It even tells you so.22:41
@preactionthen why wouldn't svn let me merge in the YUI changes to my branch?22:41
@preactionyou22:41
@preactionYOU22:41
@preactionYOU'RE THE ONE WHO UPGRADED YUI22:41
@apeironYep.22:41
@preactionthat means it's clearly entirely your fault22:42
@apeironOr you should have synced more frequently.22:42
@preactionit was only 40 revisions22:42
@apeironHmm. What were your changes, anyway?22:43
@preactionnone. or do you mean what was i doing in my branch?22:44
@apeironIn your branch.22:45
@preactionmy Report asset, planning on some backwards-compatible improvements to the Asset API22:46
@preactionthe Calendar List View was in there until I merged it into HEAD22:46
@apeironmeep.22:46
@apeironer, did my YUI update wipe out those changes?22:46
@preactionno, i got what i needed out and then destroyed the branch and recreated it22:47
@preactioni couldn't commit the merge22:47
@apeironConflicts, I imagine?22:47
@preactionresource was out-of-date, but svn up did nothing22:47
@apeironfun.22:47
@preactionindeed22:47
@preactionhttp://www.netgear.com/Products/Storage/ReadyNASNVPlus.aspx <- thinking of scoring me one of these babies22:48
@preactioneven though they're $900 w/o disks22:48
@apeironPretty nice. I was looking at a similar toy on the Apple site. Will link if I can find it.22:49
@apeironThe 1TB Time Capsule, if you're familiar with it.22:49
@preactioni remember back in the day when 40GB was "You'll never fill it up". 22:49
@preactioni've seen it, yes22:49
@apeironhttp://xrl.us/bgzv8 (Link to store.apple.com)22:49
@preactionit'd go great on-top or under the new mac mini22:50
@preactionincidentally, if you're ever going to buy one, don't skimp. get the biggest one you can22:50
@apeironOh, yeah, of course.22:50
@preactionapparently mine isn't powerful enough to decode h.264 video22:50
@apeironOh, the minis.22:50
@apeironI thought you meant a NAS.22:50
@preactioneven though Apple recommends a 1.8Ghz22:50
@preactionoh, no22:50
@apeironI've been looking at them.22:51
@apeironRight now I have an ancient 233 MHz box running a buncha stuff on the network.22:51
@apeironIt's got the keyboard, got the monitor. The Mini would far surpass it in all of its stats.22:51
@preactionoh yeah22:52
@apeironI'm actually seriously looking into going to school right now, so it may wait.22:52
@apeironOnline learning, of course.22:52
@preactionthe time capsule does seem pretty awesome, it's a hub, print server, and all sorts of stuff to improve the Mac Mini22:53
@apeironOh wow, it's a base station.22:53
@preactionyeah22:53
@apeironI totally missed that.22:53
@preactionthat + maxed out mini = $1700, which is pretty good for the capabilities22:54
@apeironI might also do the Mini thing so I have an actual desktop.22:57
@apeiron(as opposed to endless Unix workstations)22:57
@apeironGoing to school, especially online, I'm going to need to be able to do stuff like Office and Flash and all of that fancy stuff. Much as I'd like to claim otherwise, the free tools just aren't up to par yet.22:58
cap10morganHaarg: when you try to checkout a new branch in your wG git repo, does it give you this error: fatal: Untracked working tree file 'www/extras/yui/docs/YAHOO.widget.MenuBar.html' would be overwritten by merge. ?23:06
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."]23:08
-!- perlDreamer [n=colink@pool-71-117-235-252.ptldor.fios.verizon.net] has joined #webgui23:09
-!- mode/#webgui [+v perlDreamer] by ChanServ23:09
@apeironperlDreamer, Someone mentioned something on #perl that you may find amusing: You can't judge a book by its cover, but you can judge a test suite that way.23:23
+perlDreamerha!23:23
+perlDreamerI like tht23:23
+perlDreamerthat23:23
@apeironFigured you would.23:24
+perlDreamerSo, how do I persuade you to start writing tests? :)23:24
+perlDreamerA test a day keeps the perlDreamer away23:24
@apeironheh23:24
CIA-21WebGUI: colin * r5696 /branch/WebGUI_Commerce/ (lib/WebGUI/Shop/Tax.pm t/Shop/Tax.t): add a input validation check and test for Tax->calculate23:50
--- Day changed Sun Mar 02 2008
-!- perlDreamer [n=colink@pool-71-117-235-252.ptldor.fios.verizon.net] has quit ["Leaving."]00:15
CIA-21WebGUI: colin * r5697 /branch/WebGUI_Commerce/t/Shop/AddressBook.t: stub out Shop::AddressBook tests for new and create00:16
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit ["Leaving"]01:50
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui02:14
-!- perlmonkey3 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui02:29
-!- perlmonkey3 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [Client Quit]02:31
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [Read error: 113 (No route to host)]02:41
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui02:43
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."]03:19
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui03:22
perlmonkey2anyone not out at a bar?04:23
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui05:17
-!- mode/#webgui [+o preaction] by ChanServ05:17
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [No route to host]06:59
CIA-21WebGUI: doug * r5698 /branch/doug-experimental/ (14 files in 8 dirs): rebuilt Asset Report. started AssetMixin and Mixin::Installable. added shells for SqlWhere and SqlOrderBy form controls07:20
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)]07:27
CIA-21WebGUI: colin * r5699 /branch/WebGUI_Commerce/t/Shop/AddressBook.t: Address book tests for create, session, and initial data on object creation08:01
-!- SDuensin_ [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI08:07
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has quit [Read error: 110 (Connection timed out)]08:09
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui08:45
-!- mode/#webgui [+o preaction] by ChanServ08:45
-!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has quit ["Windows doesn't have users, it has hostages."]10:15
-!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has joined #webgui11:03
-!- mode/#webgui [+v Radix_] by ChanServ11:03
-!- Samus_Ar1n [n=ILL@S01060018f870a6ff.vc.shawcable.net] has joined #WebGUI11:52
-!- Samus_Aran [n=ILL@about/linux/supportwhirlwind/SamusAran] has quit [Nick collision from services.]11:54
-!- Samus_Ar1n is now known as Samus_Aran11:54
-!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has quit [Read error: 104 (Connection reset by peer)]12:25
-!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has joined #webgui12:25
-!- mode/#webgui [+v Radix_] by ChanServ12:25
-!- Samus_Aran [n=ILL@about/linux/supportwhirlwind/SamusAran] has left #WebGUI ["onwards I go ..."]12:51
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)]13:39
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui17:05
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has joined #webgui18:14
-!- mode/#webgui [+v MrHairgrease] by ChanServ18:14
-!- perlDreamer [n=colink@pool-71-117-235-252.ptldor.fios.verizon.net] has joined #webgui18:19
-!- mode/#webgui [+v perlDreamer] by ChanServ18:19
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [Connection timed out]18:29
CIA-21WebGUI: colin * r5700 /branch/WebGUI_Commerce/lib/WebGUI/Shop/ (AddressBook.pm Address.pm): 18:31
CIA-21WebGUI: WBGP align Address's update method.18:31
CIA-21WebGUI: Remove unused variables and add some POD to AddressBook.18:31
-!- SDuensin_ [n=Scott@12-226-44-250.client.mchsi.com] has quit [Read error: 110 (Connection timed out)]18:33
-!- BartJol [n=plainstu@54-167.surfsnel.dsl.internl.net] has joined #webgui18:38
+perlDreamerBartJol: You working on a Sunday?18:38
BartJolnot really18:38
+MrHairgreasehe bart! you're still alive after yesterday!18:39
+MrHairgrease=)18:39
BartJolif someone needs some help, I'm just at home and my roomate will cook18:39
BartJolI wasn't that bad18:39
BartJoljust not in a party mood18:42
+perlDreamerrizen is not going to be happy18:48
+MrHairgreaseis he ever? =)18:48
+perlDreamerEvery so often ;)18:48
+MrHairgreaseheh18:48
+MrHairgreasedon't tell him that. It'd make him angry 18:48
+perlDreamerThat's a recursive function18:49
+MrHairgreasei bet rizen hates recusrion =)18:49
CIA-21WebGUI: colin * r5701 /branch/WebGUI_Commerce/ (4 files in 3 dirs): 18:49
CIA-21WebGUI: Fix some comment typos in t/Shop/AddressBook18:49
CIA-21WebGUI: Add tests for WebGUI::Shop::Address18:49
CIA-21WebGUI: Fix bugs in the upgrade script (missing city entry) and18:49
CIA-21WebGUI: the Address new method.18:49
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui18:50
CIA-21WebGUI: colin * r5702 /branch/WebGUI_Commerce/ (t/Shop/Address.pm lib/WebGUI/Shop/Address.pm): 19:18
CIA-21WebGUI: Add a few more tests, and some POD to make sure that19:18
CIA-21WebGUI: new is known to be different from create as an instanciator19:18
CIA-21WebGUI: versus a constructor.19:18
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui19:38
-!- mode/#webgui [+o preaction] by ChanServ19:38
+MrHairgreasehttp://xkcd.com/378/19:52
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."]20:03
+perlDreamerreal programmers use perl20:41
+perlDreamerwho cares about the editor?20:41
@preactionperl programmers should use vim :p20:43
@preaction... so i've got an idea for AssetMixins that will allow you to add functionality to your assets with little code20:46
@preactionthe problem is, when importing the mixin's subs to your namespace, use is called at BEGIN time, before the calling namespace's symbol table has been created20:46
@preactionwhich means import sees nothing in the symbol table20:47
@preactionchanging "use" to a require/import works just fine...20:47
@preactionor, for some reason, putting the "use" after all the sub declarations works as well20:48
+perlDreamersounds like the same problem that ovid's mixin.pm has20:54
@preactiontried putting it in a CHECK block, that didn't work either20:55
+perlDreamerI looked into that when I was refactoring getEditForm into HTMLForm, to try and make it a mixin that lots of code could use20:56
+perlDreamerbut it seemed risky20:56
@preactionnm, putting require/import in a CHECK or INIT block works just fine20:58
@preactionbut not use20:58
@preactionit would work if i did a stringy eval 'use WebGUI::AssetMixin::Installable';20:59
@preactionbecause then it would happen at runtime and not compile time20:59
@preactionand though it is shorter, it's less comprehensible (Why would you use eval on a string literal when you can just do it yourself? I'll just remove the eval part and... wait, now everything's broken)21:00
+perlDreameris JT taking weekends off?21:01
@preactionhe's trying to take more time away from being "plugged-in" as it were21:02
@preactionin order to get more things Done21:02
@preactionso i would expect he's either having a gaming weekend or working on something21:02
@preactionnow what sucks is: I have to die if I'm trying to import something that already exists in the namespace, but i'm dying at runtime now and not compile time...21:05
@preactionwait... then why is it saying BEGIN failed?... wtf is perl doing?21:07
+perlDreameranybody have a copy of the movie, "The Shawshank Redemption" handy?21:14
+perlDreamerI need the address that was printed on the letters rejected by the prison system when Andy was asking for money21:14
@preactionhe wrote to the State Senate21:18
@preactionof Maine iirc21:18
@preaction3 State House Station21:20
@preactionAugusta, ME 04333-000321:20
@preactionof course, that's Now, but it probably would've been that way 30 years ago too21:20
@preactionhttp://www.vzavenue.net/~speedtech/ <- found the screenplay online21:21
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI21:28
@preactionlaugh... i just reimplemented Class::Trait21:43
+perlDreamerYou're a monster22:01
@preactioneh, i don't understand Class::Trait, and the code I wrote is better22:05
@preactionbut mixin works nicely22:05
@preactionand it handles the inheritence22:07
+perlDreamerwhy is it better than C::T?22:09
@preactionit probably isn't, in the long run22:10
@preactionor do you mean my code? my code does what C::T can't, it detects collisions and croaks22:10
@preactionbut it does so by requiring you to use import/require instead of use22:10
@preactionalso C::T won't work in mod_perl because it uses INIT22:11
@preactionthe mixin pragma is better than my code, because it handles collisions by adding inheritence instead of croaking22:11
@preactionmixin works the way I'd expect Multiple Inheritence to work22:11
@preactioni'm still evaluating if mixin can actually be a viable solution22:12
@preactionwith my AssetMixin, in order to get inheritence, you'd need to (A) override the right sub, and (B) call the fully-qualified sub from the mixin22:13
+perlDreamerI think people are leaning toward traits nowadays.22:21
@preactionokay, but how would it work under mod_perl?22:25
@preactionClass::Trait->initialize() in preload.perl and WebGUI::Pluggable22:26
+perlDreamerI don't know22:28
+perlDreamerI just know that perl6 encourages traits22:28
+perlDreamerand traits were added to p5, too22:28
+perlDreamerbut that was a while ago22:28
@preactionright, but from what i'm reading about traits, isn't mixin just a simpler implementation of traits?22:30
+perlDreamerI'm only relating what I've heard.22:31
+perlDreamerI don't grok much beyond that22:31
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui22:57
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has quit [Read error: 110 (Connection timed out)]23:02
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has joined #webgui23:06
-!- mode/#webgui [+v MrHairgrease] by ChanServ23:06
+perlDreamerMrHairgrease: How's the commerce hacking coming?23:06
+MrHairgreaseit's pretty much where I left it last thursday23:08
+MrHairgreaseLemme check what I've done so far23:09
+MrHairgreasemartin@martin:/data/WebGUI$ svn status23:10
+MrHairgrease?      t/Shop/PayDriver.t23:10
+MrHairgrease?      t/Shop/Pay.t23:10
+MrHairgrease?      lib/WebGUI/Shop/PayDriver.pm23:10
+perlDreamergood start :)23:10
+MrHairgreasethose things are prettymuch fisnished23:10
+MrHairgreaseyeah, i took your tests and modified them23:10
+MrHairgreasealso change/added some stuff23:10
+perlDreamercool23:10
+MrHairgreasethe additions are mostly still in TODO blocks23:10
+MrHairgreaseand I haven't tested them yet23:11
+MrHairgreasebut all in all not a bad result for only half a day23:11
+perlDreamerno23:11
+perlDreamerClass::InsideOut makes object pretty easy23:11
+perlDreamerdon't have to write all those constructors23:11
+MrHairgreaseyou mean getters?23:12
+perlDreameryeah, those too 23:12
+MrHairgreaseI haven't really dug into C::IO yet23:12
+MrHairgreasejust enough to understand what you did in your shipping modules23:12
+perlDreamerthat's all I know about it, so, as usualy23:13
+perlDreameryou're at least as smart as I am23:13
+MrHairgreaseso in a way you could say that you're my mr. Myagi =)23:13
+perlDreamerBreathe in, breathe out23:13
+perlDreamermake good perl23:13
+perlDreamerBansai, Martin-san bansai!23:13
+MrHairgreaseI don't bansai23:13
+MrHairgreasei rock sometimes, but mostly roll23:14
+perlDreamerIt's Japanese for "Divine wind"23:14
+perlDreamerwait a sec23:14
+MrHairgreaseoh I am into divine winds23:14
+perlDreamerthat's kamakaze23:14
+MrHairgreasei try to confine those to the bathroom though...23:14
+perlDreamerthose aren't divine23:15
+perlDreamerthey are foul23:15
+MrHairgreasebansi means attack or something like that i think23:15
+MrHairgreaseyou have no idea23:15
+MrHairgreaseyou never sniffed at them =)23:15
+perlDreamerI feel blessed23:15
+perlDreamerI should redo Tax and ShipDriver to use the setRow method in the db like rizen did23:16
+MrHairgreasesetRow, is that something like setCollateral?23:18
+MrHairgreaseI've spent way to much on hacking WebGUI lately23:18
+MrHairgreaseI have trouble keeping up with all the new features/api things23:18
@preactionsetCollateral uses setRow internally23:19
+MrHairgreasei guess you invoke it by session->db->setRow?23:20
@preactionyes23:22
+perlDreamerit's easier than writing 'insert all this crap into this table unless it exists then do update'23:28
+perlDreamerit's getting close to time to do a coverage check on the Shop code.23:32
CIA-21WebGUI: colin * r5703 /branch/WebGUI_Commerce/t/Shop/ (Address.pm Address.t): Rename the test. Add tests for all the other methods.23:35
perlmonkey2Has anyone looked at Plone's KSS?23:46
perlmonkey2I wonder how hard it would be to port to WebGUI.23:47
@preactionit seems to be all in python, so probably a bit difficult23:50
--- Day changed Mon Mar 03 2008
perlmonkey2But an extremely cool idea.00:06
-!- BartJol [n=plainstu@54-167.surfsnel.dsl.internl.net] has left #webgui []00:30
+perlDreamerI think we talked about KSS earlier, but don't remember the discussion00:47
+perlDreameryou could check the archives00:47
CIA-21WebGUI: colin * r5704 /WebGUI/t/Workflow/Instance.t: 01:14
CIA-21WebGUI: Adding Knowmad's excellent Instance test script for exposing JSON01:14
CIA-21WebGUI: problems in Workflow::Instance01:14
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has left #webgui []01:38
@preactionso I've got AssetMixin::Installable working. before I really consider it a success, I'm going to make Subscribable03:21
+perlDreameryou should make RSS first03:21
+perlDreamer(imo)03:22
@preactionooh, i forgot about that one03:23
@preactionthat one will be easier no doubt03:26
@preactioncoding and baking cookies at the same time. much fun ;-)03:26
* apeiron misinterpreted that to mean writing code dealing with cookies while also baking cookies.03:27
@preactiongood lord... the RSSCapable mixin would basically re-implement a lot of the SyndicatedContent wobject03:29
@preactionso i open it up right?03:29
@preactionbad idea...03:29
@preactiontheoretically... these things should work with the definition sub... i wonder...03:39
@preactionha. ha ha! it works! 03:54
@preactionI have a dream that Assets will be an amalgamation of component parts, each contributing to the whole!03:54
@preactionI have a dream that Assets will be as easy to create as macros!03:54
@preactionand I have a dream that I will stop using stupid gimmicks to try to impress people03:55
+perlDreameramen, brother!03:56
+perlDreamerI just got done serving the kids chicken cordon bleu, mushroom tortellini with pesta and crou d'etat with hummus03:56
@preactionyou're serious?03:57
@preactionthat sounds awesome03:57
+perlDreameryou're welcome to come over for leftovers03:57
@preactionthat's something i haven't tried to make yet, cordon bleu...03:57
+perlDreamerI went to the Costco school of cooking, tonight03:59
@preactionoh... lame...03:59
+perlDreamerI was impressed that they were eating real, adult-type food03:59
@preactiontrue enough03:59
@preactionhummus would've been enough to put me off when i was 1403:59
+perlDreamerthey got exposed early.  It was a part of a diet that I was on04:00
+perlDreamerand actually, it was black bean hummus, which rocks04:01
+perlDreamerhm04:01
+perlDreamerI need to write the tests that expose that other bug in the AddressBook04:01
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)]04:31
CIA-21WebGUI: colin * r5705 /branch/WebGUI_Commerce/ (lib/WebGUI/Shop/AddressBook.pm t/Shop/AddressBook.t): 04:47
CIA-21WebGUI: More tests for addressBook.04:47
CIA-21WebGUI: Fixed bugs in delete and getAddresses.04:47
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."]05:00
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui05:21
-!- mode/#webgui [+o preaction] by ChanServ05:21
-!- Samus_Aran [n=ILL@about/linux/supportwhirlwind/SamusAran] has joined #WebGUI05:25
Samus_Aranhello.  I am doing an upgrade of manually installed WebGUI, following instructions on the site.  when trying to restart Apache, it won't restart.  the log file shows:05:25
Samus_AranCan't load Perl file: /var/www/WebGUI/sbin/preload.perl for server foo.com:0, exiting...05:25
Samus_Aranwhich exists where it did before05:25
Samus_Aranis this just a matter of overwritten config files in the etc ?05:26
Samus_Aran(I backed them up before untarring the new one)05:26
@preactiontry perl -c preload.perl to find out why it's not loading05:28
Samus_Aranit says it can't find WebGUI.pm in @INC05:29
Samus_Aranthough nothing has moved from where the former install worked05:29
-!- patspam [i=chatzill@ppp121-44-242-221.lns4.mel4.internode.on.net] has joined #webgui05:29
Samus_Aranit didn't erase my config files in etc I notice, as the new ones are all .original05:31
@preactionpreload.perl locates the webgui root directory. which means you had to edit that in order to use webgui. did you edit it again after you extracted the new WebGUI?05:31
Samus_Aranwhere is that set environment script ?  I had run it before in this shell session, but it is no longer set05:32
Samus_Aranthat is surely the issue05:32
@preactionthat won't do it, and you have WebGUI in /var/www, so you aren't running the WRE05:32
Samus_AranI mentioned above this is an upgrade of a manual install05:33
@preactionthe WRE has that set environment script, so without the WRE it's not necessary05:33
Samus_AranI thought it was necessary to tell it where you did install it to ?05:34
Samus_AranI don't quite remember, but I thought I updated it05:34
@preactionsetEnvironment is for the WRE so that saying "perl" will give you the WRE's perl and other things. it adds library directorys, preloads, and such. it's for the WRE05:35
@preactionpreload.perl, one of the first lines in there sets the $webguiRoot variable. you need to change what that gets set to05:35
Samus_Aranoh.  I think I updated the actual preload.perl file05:35
Samus_Aranjust updated that, thanks05:35
@preactionimho it should be gleaned from an environment variable that is set from the apache configuration file, but that'd be an RFE05:35
Samus_Aranthat sounds like a good approach05:36
Samus_Arando you know if there are there any other files that need to be changed ?05:36
* Samus_Aran goes to try Apache again05:36
Samus_Aranworked05:36
@preactionno i don't, i have my webgui at /data/WebGUI05:36
Samus_AranI thought it was that setEnvironment script I updated, but it was preload.perl.  will try to remember that for next time05:36
@preactionmost things should just work. i think only preload.perl needs an absolute path, because apache doesn't and shouldn't chdir05:37
Samus_Aranthank you for your help05:37
Samus_Aranupdate went smoothly05:40
Samus_Aran*upgrade05:41
* Samus_Aran installs Weather::Com::Finder: for the 30th time or so05:48
Samus_Aranwhy is it that every time testEnvironment.pl is run, it tries to install that module again ?05:49
Samus_AranWeather::Com::Finder is up to date (1.008).05:50
Samus_Aranany idea why I can't click the button to choose a file to upload, in the assets window ?06:14
Samus_Aranit seems to be disabled06:14
Samus_Arancan't enter the text box to type in a name, either06:14
Samus_Aranhm, it works in Firefox but not Opera06:41
Samus_Aranstrange06:41
Samus_Aranis there any Javascript affecting the file upload thing in Assets ?06:41
+perlDreamerpreaction: In case I haven't said it yet.  Thank you so much for the 7.4 smoke test run!06:54
-!- perlDreamer [n=colink@pool-71-117-235-252.ptldor.fios.verizon.net] has quit ["Leaving."]06:54
Samus_Aranpreaction: okay, I have fully updated WebGUI to the latest release, and the issue where no images can appear is still present06:57
Samus_Aranpreaction: is there any suggestion of where to look to solve this ?06:57
@preactionPlain Black Corp. offers affordable support options, if you're interested.06:58
Samus_AranI am not the one in control of the budget, sorry06:59
Samus_Aranlooking at the background-image in one of the themes, and trying to open it directly, it is just 404 not found07:02
Samus_Aranthis one being /uploads/eA/K0/eAK0doY8-UIauq_uuHEhvA/bg1.jpg07:02
Samus_Aransolved it07:04
Samus_Aranonly extras was symlinked to the main WebGUI folder, not uploads.07:05
Samus_Arannow I just need to figure out why all the packages I upload appear on the main page of the web site07:05
Samus_AranAssets to Hide.07:11
* Samus_Aran plays "Depeche Mode - Enjoy The Silence" and wanders off. Thanks for the help earlier, preaction 07:12
-!- Samus_Aran [n=ILL@about/linux/supportwhirlwind/SamusAran] has left #WebGUI ["onwards I go ..."]07:12
-!- ryuu_ro [n=rory@194.171.50.69] has joined #webgui09:15
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui09:50
-!- patspam_ [i=chatzill@ppp121-44-242-221.lns4.mel4.internode.on.net] has joined #webgui10:35
-!- patspam [i=chatzill@ppp121-44-242-221.lns4.mel4.internode.on.net] has quit [Read error: 110 (Connection timed out)]10:52
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)]10:52
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui11:14
-!- mode/#webgui [+o preaction] by ChanServ11:14
-!- BartJol [n=plainstu@194.171.50.123] has joined #webgui12:41
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has left #webgui []12:57
-!- lrobinson [n=luke@lrobinson2.vm.bytemark.co.uk] has joined #webgui13:59
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has quit ["Leaving"]14:14
CIA-21WebGUI: doug * r5706 /branch/doug-experimental/ (6 files in 6 dirs): Nightly checkin because you forgot14:17
-!- patspam_ [i=chatzill@ppp121-44-242-221.lns4.mel4.internode.on.net] has quit ["ChatZilla 0.9.81 [Firefox 2.0.0.12/2008020121]"]14:20
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui14:38
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)]15:02
-!- Radix__ [n=Radix@203.161.71.161.static.amnet.net.au] has joined #webgui15:38
-!- ryuu_ro [n=rory@194.171.50.69] has quit []15:39
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui15:43
-!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has quit [Read error: 113 (No route to host)]15:57
lrobinsonwould anybody know the best place to have a merchant account being based in the UK?16:16
lrobinsonCDG Commerce redirected me to an affiliate - is that the best thing to go for?16:17
-!- SDuensin [n=Scott@74.sub-75-204-93.myvzw.com] has joined #WebGUI16:37
SDuensinMorning.16:40
CIA-21WebGUI: jt * r5707 /translations/Dutch/Dutch/WebGUI.pm: update_from_translation_server17:20
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui17:20
-!- mode/#webgui [+o preaction] by ChanServ17:20
-!- cap10morgan [n=cap10mor@206-124-6-111.denver.dsl.forethought.net] has quit []17:23
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui17:26
perlmonkey2What is the template command for the URL of this asset?17:49
@preactionusually <tmpl_var url>17:50
@preactionor do you mean the ^PageUrl macro?17:50
perlmonkey2well, for the ajax call, I want a hidden html object to have the url to make the ajax calls to.17:51
nubai think the macro wont know the URL of the asset it is being called from17:51
BartJolnuba-> that's right17:51
perlmonkey2Okay, thanks17:52
@preactionbut when you're doing the AJAX on the survey edit form, you're on the survey's URL. you don't need to know the URL of the survey17:52
@preactionyou can just send to ?func=ajaxDoSomething17:52
perlmonkey2You don't think that could ever get into trouble?17:54
@preactionno17:54
perlmonkey2good enough for you, good enough for me :)17:54
@preactionrather, you'd probably end up just POSTing the form with no action="", which sends it to the current URL17:54
-!- wgGuest26 [n=wgGuest2@static-adsl201-232-86-73.epm.net.co] has joined #webgui17:55
@preactionYAHOO.util.Connection.attachForm or something like that17:55
wgGuest26hello17:55
wgGuest26i have a question related to the registration17:55
@preactionno need to ask if you can ask, just ask17:55
BartJolyou scared him/her preaction!17:57
@preactioneh, i can understand. i'm rather intimidating17:57
BartJolwell, stop it, or I'm going to correct your English again17:58
BartJol:)17:58
wgGuest26i have some aditional information to ask in the registration and it will be stored in a select box, the thing is that when a user select one option in this select box, another box will load another information automatically17:58
@preactionohnoes!17:58
wgGuest26is it posible?17:58
BartJolyou can add profile field that are obligated17:59
BartJolfields17:59
@preactionright, but you can't seem to add extras like JavaScript to profile fields, not through the interface17:59
BartJolthat will be hard, yes18:00
-!- cap10morgan [n=cap10mor@h19-afsc.ded.indra.com] has joined #webgui18:00
BartJolfor me, that is18:00
@preactionit's possible, but it'd be difficult: you'd have to modify the registration template in the correct manner to create your fields, and then have some sort of profile field with those fields' names so that the system will get the values out of it18:00
@preactionand this also means no way would you be able to allow the users to edit those values later18:01
BartJoleven if these are included in the profile?18:01
-!- estiven [n=erestrep@static-adsl201-232-86-73.epm.net.co] has joined #webgui18:02
@preactionthey have to be in the profile, there's no other way to get additional fields into the registration18:03
@preactionunless you're talking building a custom user registration application18:03
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has quit ["Leaving."]18:03
wgGuest26i think it will be hard18:04
BartJolyeah, ok, but if you use another template for the edit profile than the add account template, you should be ok, shouldn't you?18:04
@preactioni was sure that there wasn't a template for edit profile, i think that's an RFE out there18:05
BartJolbut then the option is always present in the edit profile screen, even when the first isn't selected18:05
BartJoloh, I always think there's a template for everything18:06
@preactiona better RFE that might work for wgGuest26's purposes is to expose the "extras" field to the User Profiling system, that way you can add id="" and onchange="" so that it would work out18:06
BartJolmy mistake18:06
BartJolso wgGuest26, probably it's possible, but quite hard to do :(18:07
wgGuest26yes, i know18:07
wgGuest26i am going to try it.18:08
BartJolgood luck18:09
wgGuest26thanks18:09
BartJolif you succeed, maybe you can post it to webgui.org18:10
wgGuest26ok18:10
@preactionindeed, just a how you did it or something18:10
@preactioni'm going to post the RFE about getting the extras thing exposed, which will make things like this easier in the future18:10
@preactionha. Frank added it almost a year ago18:11
@preaction0 karma18:11
@preactionhttp://www.webgui.org/rfe/request-for-enhancement/add-extras-to-profiling18:11
@preactionreal easy RFE, wouldn't take much karma to put it up where it gets noticed18:12
wgGuest26preaction, i have created a data form and one of the fields is a select box, the problem is that the posibles values are dinamic and are stored in a table in the database.  I have tried to load the values using a macro but the output is always a string 18:23
wgGuest26how can i do that?18:24
@preactionjavascript18:24
@preactionor write your own WebGUI::Form::Control <- best idea18:24
@preactionsee WebGUI::Form::SelectBox and WebGUI::Form::SelectList for ideas18:24
wgGuest26ok, i am going to check18:25
-!- lisette [n=liraos@static-adsl201-232-86-73.epm.net.co] has joined #webgui18:40
BartJolbye18:44
-!- BartJol [n=plainstu@194.171.50.123] has left #webgui []18:44
lisettehello18:48
perlmonkey2Is there an example Asset reading an ajax POST you can point me at?18:50
lisettei have a "tell a friend", i can change "your friend adress" by a text area, and he writes emails separated by comas18:51
lisette?18:51
perlmonkey2my Wobject ajax test method is a simple "sub test{return "hello world";}"  Yet in the ajax response object there is no hello world.18:53
@preactionajax still calls www_ methods18:53
@preactionwww_test perhaps?18:54
perlmonkey2just tried that....didn't change anything.18:55
@preactionyou're submitting a form that has func = test right?18:56
perlmonkey2var request = YAHOO.util.Connect.asyncRequest('POST', '?func=test', callback, postData);18:56
perlmonkey2I've tried that and www_test18:56
perlmonkey2and still what I get back in the responseText looks like the home page.18:57
@preactionif it's the home page, maybe there's an error18:57
perlmonkey2that's what I'm assuming18:57
perlmonkey2but the handleSuccess callback is called.18:57
perlmonkey2so it is getting a return from that call.  But I don't think my wobject method is being called.18:58
@preactioncheck the error log18:58
perlmonkey2nothing in the error log.  httpd/access_log shows the ajax request though18:59
perlmonkey2 "POST /home?func=www_repeat19:00
@preactionis that where it's supposed to be called?19:00
perlmonkey2no19:00
perlmonkey2but "?func=www_test"; is my url in the connection call19:01
perlmonkey2?func=www_test;class=WebGUI::Asset::Wobject::Survey is what I probably need?19:01
perlmonkey2must include the class?19:01
@preactionno19:02
@preactionlet me dig up the big AJAX thing i did to see how i did it19:02
perlmonkey2okay19:02
perlmonkey2when I click on the save button of hte new Survey the next page is the custom edit surey page I've written.19:02
perlmonkey2But this is the path for that page: http://norman/home19:03
perlmonkey2which doens't make sense19:03
perlmonkey2I'm thinking a person needs to be a master of webgui to write this super duper ajax survey module.19:03
perlmonkey2I've killed 5.5 fully devoted days on this and I haven't finished meshing my survey code with webgui.19:04
@preactionahh. i see what's happening19:04
@preactionproceed just calls the right sub and returns it19:05
@preactionit doesn't redirect the user19:05
@preactionso the user remains at the place they posted to19:05
lisette?19:05
@preactionlet me see if there's a proceed target to redirect19:05
@preactionno... but you might add it19:06
perlmonkey2I might add it?  So I need to alter the Asset.pm module?19:08
@preactionhang on, let me paste it19:08
@preactionperlbot paste19:08
perlbotPaste your code to http://sial.org/pbot/perl http://erxz.com/pb or http://p3m.org/pfn/perl and #Perl will be able to view it.19:08
@preactionhttp://sial.org/pbot/30398 <- not sure if that will work exactly19:09
@preactionbut it's the general idea19:09
@preactionand you'll have to URL encode your returnUrl parameter19:09
@preactionand you'll have to run it by JT when he gets in19:09
@preactionbut i can't see there being a problem with it19:10
perlmonkey2And that goes in Session.pm?19:11
-!- lrobinson [n=luke@lrobinson2.vm.bytemark.co.uk] has quit ["ircII EPIC4-2.6 -- Are we there yet?"]19:12
@preactionno, Asset.pm19:12
-!- MrHairgreas1 [n=martin@x032124.its-s.tudelft.nl] has joined #webgui19:14
-!- MrHairgreas1 is now known as MrHairgrease19:16
-!- mode/#webgui [+v MrHairgrease] by ChanServ19:16
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has joined #webgui19:17
-!- mode/#webgui [+v perlDreamer] by ChanServ19:17
-!- lisette [n=liraos@static-adsl201-232-86-73.epm.net.co] has left #webgui []19:19
@apeironIs there a way to determine, either in a macro or a form control, whether you've already sent a specific JS file via $style->setScript()?19:21
@apeiron(for example, to prevent dependency conflicts and the like)19:21
+perlDreamersetScript checks to see if you've already loaded that js19:22
+perlDreamerif you have, it does not generate any additional content19:23
@apeironAh, so it does.19:23
+perlDreamerthe way to tell if that happens is to check the return value19:23
@apeironSo... why's it not behaving that way? 19:23
@apeironhmm. Maybe it's calling it differently.19:23
+perlDreamerif generateAdditionalHeadTags is called, it clears that check flag19:24
perlmonkey2preaction: would not using autogenerate let me skip all that mess?19:24
@preactionno, because you still need to call www_editSave no matter what19:24
@preactiondo NOT override that method, as you will fail. it's the blackest of black magic19:25
perlmonkey2Poll.pm doesn't, which is really weird19:25
@preactionthe whole add/edit/editSave/processPropertiesFromFormPost in WebGUI is both awesome and frightening19:25
@preactionthe added redirect code didn't work?19:26
@apeironOh. Different files, not the same file. But they're interacting strangely. yay.19:26
perlmonkey2yes, I'm terrified that I'm not making forward progress because this Friday I need to have something done.19:26
perlmonkey2preaction: Okay....How about I don't have a proceed.19:26
@preactionperlmonkey2, then screw the proceed= for now19:26
@preactionyeah19:26
@preactionit can always be added later19:26
perlmonkey2After they click save, they are presented with the empty survey and they can click on something there to go to the edit?19:27
@preactionsounds like it'll work19:27
perlmonkey2in the normal admin view, clicking on edit calls getEditForm?19:27
@preactioncalls www_edit which calls getEditform, yes19:28
perlmonkey2so I can just overload getEditForm to call www_editSurvey ?19:28
+MrHairgreasei don't think you want to do that19:30
+MrHairgreasegef is for the asset properties19:30
perlmonkey2yeah, that didn't work.19:30
+MrHairgreasenot for collateral data editing19:30
+perlDreamerperlmonkey2, are you building a form with tabs?19:31
perlmonkey2no19:31
perlmonkey2It is the ajaxified drag and drop pop up divs survey editor page19:31
@preactionyou could always have the normal view page redirect to www_editSurvey if and only if there is no survey yet made19:31
+MrHairgreaseyour problem is that you want to go to www_editSurvey after func=add?19:32
+perlDreamerI know it's too early, but I abstracted out a generic form builder for WebGUI in the WebGUI_Commerce branch19:32
perlmonkey2yes, but using proceed messed up the urls19:32
+perlDreamerHTMLForm->dynamicForm19:32
+MrHairgreasei take it you klnow of the proceed=editSurvey 19:32
+MrHairgreaseoh19:32
+MrHairgreaseic19:32
perlmonkey2plus, how does the user get back to the editSurvey page?19:32
@preactionperlmonkey2, by clicking a link that has the URL19:32
perlmonkey2So maybe the view page should have the editSurvey link19:33
+MrHairgreaseyes19:33
perlmonkey2okay, I think that was progress.19:33
@preactiononly for those who can edit the survey of course19:33
perlmonkey2yes, a tmpl var I thik19:33
+MrHairgrease<tmpl_if canEditSurvey><a href="<tmpl_var editSUrvey_url>"><tmpl_var editSurvey_label></a></tmpl_if>19:35
+MrHairgreasesomething like that19:35
perlmonkey2cool thanks19:37
perlmonkey2brb, looging into the laptop19:37
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."]19:38
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui19:43
-!- apeiron_ [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui19:50
-!- mode/#webgui [+o apeiron_] by ChanServ19:50
-!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: @apeiron19:50
-!- MrHairgrease is now known as MrAfkGrease19:55
-!- apeiron_ is now known as apeiron19:58
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has quit ["leaving"]20:02
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui20:03
-!- mode/#webgui [+o apeiron] by ChanServ20:04
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."]20:08
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui20:24
perlmonkey2The dispaly type, when you have multiple wobjects inside of a page layout, each wobject has had its www_view called, right?20:32
+perlDreamerno, just ->view20:33
+perlDreamerI'm pretty sure the distinction is that www_view will wrap it in a style20:33
@preactionbasically, yes20:33
perlmonkey2groovy20:44
perlmonkey2Good stuff to know20:45
perlmonkey2Okay, my view template creates a link to $var{'edit.survey.url'} = $self->getUrl('func=editSurvey') which is an anchor.  But when I click on the link I get javascript errors which seem tobe claiming this "<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">" is the error.21:01
perlmonkey2I'm not even sure where to begin debugging that.21:01
@preactiondon't use . in template variable names21:03
@preactionuse _ instead21:03
perlmonkey2oh, I pulled that from the old Survey.  21:03
perlmonkey2I really need to remember not to use it as example code.21:03
@preactionyeah, that's old-school21:03
perlmonkey2But that shouldn't the problem right?21:03
@preactionnew-school is _21:03
@preactionno21:03
@preactionare you trying to parse HTML output as JSON?21:04
perlmonkey2no, this isn't in an ajax call.21:04
@preactiondo you have a url i can see what you're seeing?21:04
perlmonkey2This is the link which calls www_editSurvey which loads my editSurvey template.  That function used to work with proceed, but now firebug has ever js lib throwing a line 1 syntax error and pointing to the meta tag I quoted above.21:04
perlmonkey2preaction: yeah, but I'll hve to give you a loging with admin rights21:05
@preactionare the javascript src="" pointing to the right url?21:05
perlmonkey2they worked before21:05
perlmonkey2<script src="extras/yui/build/connection/connection.js"></script> 21:05
@preactionit's relative, not absolute21:06
perlmonkey2<script type="text/javascript" src="extras/wobject/Survey/editsurvey.js"></script>21:06
@preactionit needs to be /extras/, not extras/21:06
perlmonkey2well that is the problem then21:06
perlmonkey2thanks :)21:06
-!- estiven [n=erestrep@static-adsl201-232-86-73.epm.net.co] has left #webgui []21:10
perlmonkey2"POST /home/untitled111111118?func=www_test is what is in my logs, but the second thing the www_test fuction does is write to the log, which I don't see.  And the ajax response is the home page.21:13
perlmonkey2This stuff is making me very disoriented and I know I'm flailing badly.21:13
@preactionfunc=www_test is wrong, func=test is correct21:14
+perlDreamerwebgui will prepend the www_ for you21:18
+perlDreamerto prevent arbitrary function calling21:18
-!- wgGuest26 [n=wgGuest2@static-adsl201-232-86-73.epm.net.co] has quit [Read error: 113 (No route to host)]21:18
perlmonkey2So in my wobject it needs to be www_test, but in the js, just test.  And now, for th elife of me I can't get the new js file to load.  ctrl-f5, cleared wg cache.  nothing.21:19
+perlDreameryes to the first, no idea about your JS reloading21:21
perlmonkey2Is a log for perl instantiated with the session, or do I need to create one?21:22
perlmonkey2maybe that is why nothing is showing up in the logs now.21:22
+perlDreamerit's made by the session, unless you're using an older version of WebGUI::Test for API testing21:23
perlmonkey2nope, latest svn update21:23
+perlDreamermanual testing, or mech testing?21:23
perlmonkey2sub www_test{my $self=shift;$self->getLogger->errror("yay, I meade it here");}21:23
perlmonkey2manual21:23
perlmonkey2I just want the ajax call to www_test to write something to the log for now.21:24
+perlDreamer$self->session->errorHandler->warn("Yay");21:24
+perlDreameror, if you're passing it a session var, $session->errorHandler->warn("Yahoo");21:24
perlmonkey2POST /home/untitled111111118?func=test in the access_log but nothing in webguilog21:25
+perlDreamerhow about error log?21:26
perlmonkey2my logging is apparently not set to shows warns.21:26
perlmonkey2but I just saw an ->error21:26
perlmonkey2yay!21:27
+perlDreamerin log.conf, that can be changed21:27
perlmonkey21:30pm and I need a shot of something stiff.21:27
+perlDreamertry lumber21:27
@preactiona clue-by-four?21:28
perlmonkey2hah :)21:28
+perlDreamerfriends don't let contributors hack drunk21:28
@preactionyou've never heard of the Ballmer Peak i take it?21:29
+perlDreamerno21:29
perlmonkey2hahahahaha21:29
@preactionhttp://xkcd.com/323/21:29
perlmonkey2my testarea div just magically ajaxed from "what da chuck" to "word yo"....yay, now just to figure out how WG pulls POST params.21:36
@preactionsession->form->get() 21:38
perlmonkey2my $var .= $self->session->form->param("username");21:38
perlmonkey2woot!21:38
perlmonkey2will ->get grab both GET and POST params?21:38
@preactionparam or process will work as well21:38
@preactionyes21:38
@preactionthey get combined by Apache2::Request21:38
perlmonkey2I like sugar and that is certainly cugar21:38
perlmonkey2sugar21:38
-!- wgGuest24 [n=wgGuest2@static-adsl201-232-86-73.epm.net.co] has joined #webgui21:51
perlmonkey2get/process only returns the scalar you ask for or an array of all the params?22:02
perlmonkey2FormValidator->process says that, so I guess so.22:03
@preactionin list context, it will return a proper list, so if there are multiple name=, it will return a list of those values22:04
@preactionit works much like CGI->param does22:04
perlmonkey2I'm just being stupidly curios as I'm sure all my posts will be one data param with a json string.22:06
perlmonkey2Whew, I finally have JSON going both directions.....yay for progress even if it meant leaning heavily on people in IRC who have much better things to be doing than helping me.22:18
@preactioneh, i'm sending mail back and forth to a listserv to determine how it works. but if i hit my pop3 too hard it kicks me off for 24 hours, so i have to wait patiently22:19
perlmonkey2that sucks22:24
@preactioneh, it gives me time to catch up on email and other thing22:24
perlmonkey2heh22:24
perlmonkey2like helping perlmonkies22:25
perlmonkey2at least you aren't completely wasting your time, as this wobject is to be released under the GPL to WebGUI.22:25
@preactionexactly22:27
@preactionhaving: Gallery, Survey, Thingy, Commerce, and all the other stuff we've added to 7.5 is going to make this a HUGE release22:27
-!- BartJol [n=plainstu@54-167.surfsnel.dsl.internl.net] has joined #webgui22:36
-!- BartJol [n=plainstu@54-167.surfsnel.dsl.internl.net] has left #webgui []23:34
-!- SDuensin [n=Scott@74.sub-75-204-93.myvzw.com] has quit ["Leaving"]23:52
--- Day changed Tue Mar 04 2008
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has quit ["Download Gaim: http://gaim.sourceforge.net/"]00:01
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit ["Exit- stage left"]00:21
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has joined #webgui00:44
-!- mode/#webgui [+v perlDreamer] by ChanServ00:44
+perlDreamerignorant question: do internationalized shopping carts use English names for countries?00:47
perlmonkey2countries have non-English names?00:47
perlmonkey2:P00:47
+perlDreameryeah, go figure :)00:47
@preactionChina isn't called "China" in china, it's some kanji for "The world"00:54
* perlDreamer starts to foresee some i18n problems with taxing and shipping01:00
+perlDreamerbut we shall see01:00
+perlDreamerif you ship something to one place, but bill to another, do you use the billing address to calculate taxes?01:03
-!- patspam [i=chatzill@ppp121-44-242-221.lns4.mel4.internode.on.net] has joined #webgui01:05
@preactionyeah, that's sounds right01:07
-!- wgGuest24 [n=wgGuest2@static-adsl201-232-86-73.epm.net.co] has quit [Remote closed the connection]01:11
-!- MrAfkGrease [n=martin@x032124.its-s.tudelft.nl] has left #webgui []01:13
Radix__you don't calculate taxes for another country tho01:13
+perlDreamerno?01:14
Radix__no01:14
+perlDreamerare all these rules written down somewhere accessible?01:14
Radix__taxes for other countries are done by the company themselves when it's imported01:14
Radix__s/company/country01:14
Radix__no idea01:15
-!- wgGuest84 [n=wgGuest8@74-34-152-95.br1.blu.wv.frontiernet.net] has joined #webgui01:57
-!- wgGuest84 [n=wgGuest8@74-34-152-95.br1.blu.wv.frontiernet.net] has quit [Client Quit]01:57
-!- cap10morgan [n=cap10mor@h19-afsc.ded.indra.com] has quit []02:07
-!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui02:20
-!- mode/#webgui [+v Radix-wrk] by ChanServ02:20
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."]02:38
-!- patspam [i=chatzill@ppp121-44-242-221.lns4.mel4.internode.on.net] has quit [Read error: 104 (Connection reset by peer)]02:40
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI03:39
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)]05:39
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui06:29
-!- mode/#webgui [+o preaction] by ChanServ06:29
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)]06:59
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui08:21
-!- mode/#webgui [+o preaction] by ChanServ08:21
-!- ryuu_ro [n=rory@194.171.50.69] has joined #webgui09:01
-!- Radix-wrk [n=Jesse@203.161.68.67] has quit ["Leaving"]09:43
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)]09:58
-!- BartJol [n=plainstu@194.171.50.123] has joined #webgui11:01
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui11:15
-!- Syn1 [n=koendejo@194.171.50.123] has joined #WebGUI14:25
Syn1hi there14:25
Syn1I've compiled WRE 0.8.3 for debian etch ia3214:25
Syn1sending it to upload.sf.net now14:27
-!- estiven [n=erestrep@static-adsl201-232-86-73.epm.net.co] has joined #webgui14:28
-!- estiven [n=erestrep@static-adsl201-232-86-73.epm.net.co] has left #webgui []14:36
GooeyOfSteelWiki: WRE Installation - Edited on 3/4/2008 6:26 am by koen  http://www.webgui.org/community-wiki/wre-installation14:38
-!- estiven [n=erestrep@static-adsl201-232-86-73.epm.net.co] has joined #webgui15:27
SDuensinMorning.15:54
estivenMorning16:00
estiveni install webgui using the source... and now i want to configure my instalation as a development enviroment...16:03
estivenhow i can do that?16:03
-!- Radix__ [n=Radix@203.161.71.161.static.amnet.net.au] has quit ["Windows doesn't have users, it has hostages."]16:03
estiveni understann that i need to change Apache2::Reload so or somting like that..16:04
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui16:04
estiventhat's rigth?16:05
-!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has joined #webgui16:10
-!- mode/#webgui [+v Radix_] by ChanServ16:10
BartJolestiven sorry I don't know, but preaction or Radix might, but they just came in16:25
estivenok,  thanks16:34
BartJoloh I meant perlmonkey216:35
perlmonkey2eh?16:35
+Radix_wassup?16:35
BartJolestiven wants to know something16:35
+Radix_obviously :)16:36
BartJolhi radix, i'm fine two weeks till my drivers exam16:36
+Radix_ooh.. not long now then :)16:36
BartJolyeah and then there's another danger on the roads16:36
BartJolhopefully16:36
+Radix_heh16:36
ryuu_roBartjol only 2 weeks time left to cruise the street safely  :D16:37
+Radix_it's times like this that I'm glad I'm on an island :)16:37
+Radix_a big island, but an island nonetheless16:37
BartJoldidn't have any accidents up till now, but with an instructor besides me that's not too hard16:38
ryuu_roHmmm I heard other stories.......16:38
+Radix_heh16:38
BartJolonly one then16:39
ryuu_rolol16:39
estivenhi16:39
BartJolit costed me dearly16:39
estiveni install webgui using the source... and now i want to configure my instalation as a development enviroment...16:39
+Radix_estiven: why?16:39
+Radix_going to write your own perl assets and objects?16:40
estivenbecause i need to restart apache for each change tha i do in my macros....16:40
+Radix_yup16:40
+Radix_k, just checking you actually need it, that's all :)16:41
BartJolis it necesary then? I just closed my firewall and restart it with perl wreservice --restart modproxy16:41
+Radix_http://www.webgui.org/community-wiki/configure-the-wre-for-developers16:42
+Radix_there's a module for apache you can install that auto-reloads or something.. but I don't know the name myself - not used it personally16:44
estivenmm, ok i looking for...16:44
BartJolbut then again, I'm not a real developer...16:46
ryuu_roisn't this apache::reload  ?16:46
+Radix_yeah, that's the one16:47
estivenhttp://search.cpan.org/~phred/Apache-Reload-0.10/lib/Apache/Reload.pm17:00
estivenbut  PerlInitHandler Apache::Reload17:01
estivencan that create problem whit: PerlInitHandler WebGUI  directive?17:02
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui17:04
-!- mode/#webgui [+o rizen] by ChanServ17:04
-!- wgGuest32 [n=wgGuest3@static-adsl201-232-86-73.epm.net.co] has joined #webgui17:07
wgGuest32hello17:07
Syn1ah rizen17:08
estivenHi17:08
Syn1please get the compiled version of the wre 0.8.3 from uploads.sf.net before it's gone again17:09
@rizendid. just emailed you17:09
Syn1ah :)17:09
wgGuest32i have created a dataform with some fields, one of them is type file.  the data form has the email data enabled. so when i tested i filled all the fields without problem. the message is sent to the email but i don't see the file that i attached in the message17:11
wgGuest32appears the id related to the upload file17:12
wgGuest32i don't know what is happening?17:13
-!- ryuu_ro [n=rory@194.171.50.69] has quit []17:27
estivenmmm,  what version of webgui do you have?17:27
wgGuest32i have 7.4.2117:29
Syn1bart, is the Dutch translation for WebGUI 7.4.26 the same as the one for 7.4.19 ?17:35
BartJolmmm17:35
BartJolwell, since 7.5 came out, I didn't have to check that17:36
Syn1ah right17:36
BartJol7.4.21 is the same as 7.4.1917:36
Syn1you need a translation server17:36
BartJoli do17:36
BartJolsee mantis17:36
Syn1yeah 17:36
Syn1and I will make you one17:36
BartJolgreat17:36
BartJolmaar jij ziet dus geen enorm grote fouten17:37
BartJolsorry for the dutch, wrong tab17:37
estivenwgGuest32 i try to reproduce your error, and i have the same result...17:38
-!- estiven is now known as vcb17:40
-!- vcb is now known as estiven17:46
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit []17:49
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui17:51
-!- mode/#webgui [+o rizen] by ChanServ17:51
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit [Client Quit]17:51
wgGuest32hello again17:56
wgGuest32i have created a dataform with some fields, one of them is type file.  the data form has the email data enabled. so when i tested i filled all the fields without problem. the message is sent to the email but i don't see the file that i attached in the message 17:56
wgGuest32appears the id related to the upload file 17:57
wgGuest32someone knows what happen?17:57
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["trying new pidgin"]18:04
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui18:05
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has quit ["Leaving."]18:13
-!- BartJol [n=plainstu@194.171.50.123] has left #webgui []18:35
-!- Syn1 [n=koendejo@194.171.50.123] has left #WebGUI []18:41
+perlDreamerI love it when Microsoft stabs its business partners in the back18:44
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui18:49
-!- mode/#webgui [+o preaction] by ChanServ18:49
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has joined #webgui18:52
-!- mode/#webgui [+v MrHairgrease] by ChanServ18:52
perlmonkey2perlDreamer: What do you mean stab them in the back....18:54
+perlDreamerhttp://news.yahoo.com/s/pcworld/20080304/tc_pcworld/143098;_ylt=Ag2sbH7oiBZhDuXTSEDJhcGs0NUE19:06
@preactionnice19:09
perlmonkey2That could be used as the definition of "stab in the back".19:33
-!- ascii [n=ascii@host-64-139-233-19.nctv.com] has quit [Remote closed the connection]19:55
-!- ascii [n=ascii@host-64-139-233-19.nctv.com] has joined #webgui19:55
@preactionhas anyone noticed that if you select some text in a rich text editor and right-click, you get the box to create a hyperlink?20:16
@preactioni can't seem to make it happen in IE6, FF2, or Safari 320:16
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui20:18
-!- mode/#webgui [+o rizen] by ChanServ20:18
perlmonkey2Every time I edit a template, a new version is created in the DB?20:18
@preactionyes20:19
perlmonkey2I've written a script which takes a text file and loads it into the asset table.  This way I can edit the html in vim.  But to make it work, I'd just update the template with the newest revisionDate right?20:20
@preactionit automagically happens if you get WebGUI::Asset->newByDynamicClass( $session, $assetId );20:20
@preactionyou get the latest revision.20:20
@preactionthen you can just $asset->update( new properties );20:20
perlmonkey2oh, this is like a 4 line script just to load the html file into the db20:21
perlmonkey2doens't use WG api20:21
@preactionbad idea20:22
perlmonkey2but never mind....something is screwed up.....when I created the template, I told it Survey and Edit for the namespace, but it created only an Edit namespace.  So I changed the namespace in the DB.  I thought that fixed it, but now I see like 20 versions with just Edit and only one with Survey/Edit.  And apparently the one I've been updating via WG, isn't the right one.  I think I need to rm -rf and start completely 100% over.20:23
perlmonkey2I wish the template editor in WG told you what namespace it was in and maybe let you change it.20:23
@preactioncan't change it, but the Metadata tab shows which one it's in20:24
perlmonkey2quit20:30
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."]20:30
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui20:38
+perlDreamerit's a bad day20:48
+perlDreamerGary Gygax passed away20:48
@preactionyeah :'(20:48
+perlDreamerperlmonkey2: my templateFiler utility does the same thing, but it uses the API.  Much safer20:57
perlmonkey2perlDreamer: I keep getting caught up in things I don't undersand about WG.  I ust need to finish the survey sysem and I can learn about the things that don't involve the Survey system later.21:08
+perlDreamercool21:09
ckotilperlmonkey2: the template editor shows the name space in the metadata tab. but you cant change it21:17
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."]22:08
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui22:09
perlmonkey2perlDreamer: heh, okay, so maybe I don't want to work on ~10 different templates in the WG editor.  Maybe you wouldn't mind sending that template loading script to stupidmonkey@lostokies.com ?22:38
+perlDreamerhttp://www.webgui.org/user_contributions/user_contributions/miscellaneous/template-import-and-export-utility-for-webgui-7_3#67s1xKEeGw_ZujD9VizRZA22:38
perlmonkey2Thanks perlDreamer22:41
@apeironheisenbugs-- # annoying, hard to track down23:01
perlmonkey2Okay, the template that I edit in WG, is not the template that my wobject gets when it asks for that property.  Would I be messing things up badly if I just deleted everything with that assetId in template and in asset?23:02
perlmonkey2Dang it, I even deleted that template, created a new one, changed the wobject to default to the new assid, and I still get the wrong template.23:04
perlmonkey2had to create a new wobject....nevermind23:08
+perlDreamerwG seems really slow this week23:44
+perlDreamercommunity/dev-wise23:44
@preactioni feel asleep!23:45
@preactionwait. what's that from...23:45
CIA-21WebGUI: doug * r5708 /WebGUI/ (11 files in 8 dirs): 23:45
CIA-21WebGUI: fix: GalleryAlbum and Photo were not showing correct confirmation messages on editSave23:45
CIA-21WebGUI: add: Ability to edit comments to Photos23:45
CIA-21WebGUI: add: Ability to choose which rich editor for Albums23:45
+perlDreamerWizard of Oz?23:45
@preactioni think some engrish translation of some video game23:47
@preactioni worry sometimes that i'm adding too much configuration. the ability to change the rich editor for each user-facing part of the Gallery? (albums, files, and comments)23:50
+perlDreameryeah, if you start to have a config as big as the CS, it's time to worry23:50
@preactionthere are, at least, 14 templates associated with the Gallery now23:51
@preaction1723:51
--- Day changed Wed Mar 05 2008
+perlDreamerI think you win00:02
CIA-21WebGUI: graham * r5709 /WebGUI/ (12 files in 4 dirs): new colorpicker00:03
@preactionyeah. it's only going to get better/worse00:04
@preactioni'm beating the Calendar now ;-)00:04
@preactioncalendar and collab are probably tied00:04
+perlDreamerrizen: Are you still trying to water cool your computers?00:05
-!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has quit ["Windows doesn't have users, it has hostages."]00:06
@rizenyes i am00:07
@rizeni was manning the pumps from sunday at 10pm straight through until 2:30pm on monday00:07
@rizenit wouldn't have been so bad except that on saturday night i only got 2 hours of sleep00:07
+perlDreamerall plugged up now?00:08
@rizenthe melt is mostly gone00:09
@rizenbut it's pooling a little again...hopefully the drains thaw out soon so i don't have to keep pumping00:09
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."]00:14
+perlDreamerdoes this happen every winter?00:29
-!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has joined #webgui00:29
-!- mode/#webgui [+v Radix_] by ChanServ00:29
@rizenanope00:30
@rizennope only this winter00:30
@rizenmy neighbors and i are already trying to figure out why this happened for future 00:30
@rizenman email sux00:30
+perlDreamerburied?00:30
@rizeni had over 100 actionable emails this morning00:30
wgGuest32MrHairgrease, can you help me with a question?00:31
@rizeni've got it down to 21 but that's taken all day00:31
@rizenperlDreamer, i spoke to a client today about the donation asset.00:31
+perlDreamercool!00:32
@rizenshe said we should try to make it an option so you can do recurring payments00:32
@rizenso that brings up a potential problem00:32
@rizenwe've already got sku's that do single payments (products)00:32
@rizenand some that do recurring (subscriptions)00:32
@rizenbut does it seem feasible to do an asset that could be either?00:32
+perlDreamerhow about a mixin?00:33
+perlDreameradding subscriptions to what we need when needed?00:33
+perlDreameror a trait00:33
@rizenbut it's not the same as a subscription00:33
@rizenyeah, a trait was something i was thinking about00:33
@rizenbut i know very little about aspect oriented programming00:33
@rizenanyway...not something i have time to talk about right now...just thought it was an interesting thing to think about00:34
@preactioni was doing some research the other night, Class::Trait just seems bad. mixin.pm works nicely and handles inheritence automagically00:34
@rizenand something to add to the todo list should we get the commerce system completed in time to have extra things00:34
+perlDreamerI've got my head wrapped around Cart, CartItem, SKU and Tax right now, to help build the calculate method for Tax.00:34
@rizenhow's that coming pd?00:35
+perlDreamerit takes a bunch of code to handle addresses00:35
+perlDreamerto get an address, I need a book00:35
+perlDreamerso I need a book in the testing code, and another in the calculate method00:36
@rizenIt should be as simple as my $book = WebGUI::Shop::AddressBook->create($session);00:36
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui00:37
@rizenforeach my $address (@{$book->getAddresses}) {00:37
@rizenshoudl it not?00:37
+perlDreamerI want to pull one particular address by Id, so I'm using WebGUI::Shop::Address->new($book, $id);00:37
@rizenah, we should add a utility method to $book to allow you to do $book->getAddress($id);00:38
@rizenthat way you only have one use and one constructor00:38
@rizeni'll add that method now00:38
* rizen hopes nobody notices that he's supposed to be responding to email rather than coding00:39
+perlDreamerI can add the method.00:39
+perlDreamerI'm starting to get sick, and that makes me extra cranky and lazy.00:39
@rizenno no, heh, i need a break from email00:39
* perlDreamer starts Operation SmokeScreen00:39
@rizenok done00:41
@rizenpreaction: is mixin.pm something you wrote?00:42
@preactionno. it's in cpan00:42
@preactioni did write something that was a lot like a mix of the two (mixin and Class::Trait), but mixin handles SUPER:: automatically, and my code doesn't, which i believe  was one of your requirements set to me for asset mixins (it be drop-and-go)00:43
@preactionand the mixins i've made so far are indeed drop-and-go.00:43
@rizennice00:44
CIA-21WebGUI: jt * r5710 /branch/WebGUI_Commerce/lib/WebGUI/Shop/AddressBook.pm: added utility method00:46
@rizeni can't wait to be back on commerce tomorrow...man today sucked00:46
+perlDreamerdid you get the updates from over the weekend?00:47
@rizenreading and writing email all day is worse than manning the flood pumps for two days without sleep00:47
@rizenwhat updates?00:47
+perlDreamerI wrote tests for AddressBook and Address and fixed some bugs and typos00:47
@rizendidn't i write tests?00:48
@rizenmaybe i forgot to check them in00:48
@rizeni was sure i did00:48
+perlDreamerthat could be00:48
@rizencrap..i didn't...i'm sorry, i don't know what i was thinking00:49
@rizenthank you for covering my ass, i'm sorry you had to do that00:49
+perlDreamerNo problem. Didn't you just write some code for me?00:49
@rizeni hardly think that 1 method is equiv00:49
@rizenbut point taken...we're working together00:49
@rizenok better get back to email to see if i can finish this up before the end of the day00:50
+perlDreamergood luck :)00:51
wgGuest32MrHairgrease, can you help me with a question?00:51
+perlDreamerwgGuest32, MrHairgrease is in Europe, he's probably asleed00:54
@preactionwgGuest32, but if you ask the channel, perhaps someone else can help you00:56
wgGuest32perlDreamer, do you know why the sql form doesn't have incluided the select box in the manage field types?00:56
+perlDreamerNo.  That may have been a decision in the original design.00:57
wgGuest32but i think it is a esential field form00:57
@rizenwgGuest32 do you want to argue that you think it's super important, or do you just want to request that it be added as a feature?00:58
wgGuest32i want to incluied it by myself00:59
wgGuest32is it difficult?00:59
@preactionshouldn't be too bad. i thought there was either a list, or it uses "profileEnabled" to decide01:00
+perlDreamerif you do the programming, you should submit your patch as an RFE.  It could be included back into the core.01:01
+perlDreamerpreaction: last time I checked, no01:01
+perlDreamerit's manual01:01
@preactionah01:01
@rizenunfortunately it wasn't written to just plug in the form controls that are plugged in to webgui01:02
@rizenthat's one of the reasons it's being removed and replaced by Thingy01:02
wgGuest32ok, thanks for your advices01:03
-!- wgGuest32 [n=wgGuest3@static-adsl201-232-86-73.epm.net.co] has quit [Remote closed the connection]01:03
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit []01:08
+MrHairgreasefwiw, when i worte the sqlform the form controls weren't pluggable yet as far as i can recall01:08
+MrHairgreasealso there was only selectBox and not selectList (or the other way around)01:08
+MrHairgreasethat's why only one is in the list01:08
@preactionah01:09
+MrHairgreaseoh and btw, i'm not yet asleep01:09
+MrHairgreasebut that won't be the case for very long01:09
@preactioni'm still leaning towards making GalleryFile into an AssetMixin, not a asset to subclass01:09
@preactionwait, nm, won't work. 01:09
@preactionWebGUI::Asset::File::GalleryFile it is01:09
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has left #webgui []01:10
+perlDreamerperlmonkey2: where do you live?01:54
perlmonkey2oklahoma01:59
perlmonkey2oklahoma city01:59
+perlDreamerhow much sales tax do you pay?02:00
perlmonkey2I hve no idea02:00
perlmonkey28%02:02
perlmonkey2why do you ask?  plan on moving?02:03
nubaperlmonkey2: now, bank account number, with pin, please? ;)02:04
perlmonkey2753409363453422  901102:04
+perlDreamerI need semi decent tax data for testing02:04
perlmonkey2then what did you need my account number and pin for?02:05
@preactionnow, i need you social security number and mother's maiden name02:05
+perlDreamerthat was nuba02:05
+perlDreamerHe'd like to borrow some money02:05
+perlDreamerand probably already has :)02:05
nubadone. thx!02:05
perlmonkey2988-37-2256 Simpson.02:05
-!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui02:05
-!- mode/#webgui [+v Radix-wrk] by ChanServ02:05
perlmonkey2you sure it is a good idea to put out my info on irc?02:06
nubaits a great idea!.....                 ...not!02:07
perlmonkey2just not for me :)02:07
perlmonkey2brb02:07
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."]02:07
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui02:08
nubaperlmonkey2: i hope you didnt really posted any sensitive info here02:10
perlmonkey2hah....I wondered if I was pretending to be too ignorant and had worried anyone.  No, I didn't, but thanks for checking.02:10
perlmonkey2I just hope I didn't actually post anyones real information02:11
nubatheres the channel regulars, who are all "good people", but the channel's logs are crawlable and indexable ....02:11
@preactionhey, if you type your plainblack password it shows up as all *'s, see: ********02:11
perlmonkey2and some irc bot scarfs it up, posts it to a web log, a crawler grabs it, and some eviledoodz attack someone, because I randomly picked their number.02:11
nubacool, let me test...02:11
nubamy password is *****02:11
nubawhoa, it works!02:11
+perlDreamerhm02:11
perlmonkey2hah02:11
+perlDreameronly five characters....02:12
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui02:12
nubaactually its 32 but for security reasons it defaults to showing only 5 stars.02:12
perlmonkey2my password is p@33Ow4d02:13
+perlDreamerpreaction's must be broken, then02:13
nubathis reminds me of something funny, brb..02:13
+perlDreamerhis showed 802:13
perlmonkey2wait...did that show up as all *'s for you guys?02:13
nubasure thing02:13
@preactionyup, it showed up like p@33Ow4d02:13
nuba5 *s02:13
perlmonkey2oh man...that sucks!02:13
@preactionwhy?02:13
perlmonkey2you said it would change my pwd to *'s02:13
+perlDreamernever believe anything preaction tells you02:14
perlmonkey2now I need to change my pwd02:14
* nuba LOLs at such bash.org reenactment02:14
perlmonkey2I'm just kidding....that isn't my pwd :D02:14
@preactioni copy/pasted the *'s, but it shows up as your password 02:14
perlmonkey2if you copy pasted the *'s and they showed up as *'s, then that sounds highly crackable.02:14
perlmonkey2I mean 'showed up as my pwd'02:15
nubaError Message: Your Password Must Be at Least 18770 Characters and Cannot Repeat Any of Your Previous 30689 Passwords (http://support.microsoft.com/kb/q276304/)02:15
+perlDreamerit doesn't matter02:15
+perlDreamerm$ stores all passwords as clear text anyway02:15
perlmonkey2well, given how secure the rest of MS systems are, it is perfectly reasonable to store them as plain text.02:16
nubahah, good luck brute forcing 18770 chars...02:16
+perlDreamercorner cases are easy :)02:16
nubaGooeyOfSteel: check www.imaterial.org02:17
GooeyOfSteelwww.imaterial.org   Server: Apache/2.0.59 (Unix) WebGUI/7.4.25 mod_ssl/2.0.59 OpenSSL/0.9.7i mod_apreq2-20051231/2.5.7 mod_perl/2.0.2 Perl/v5.8.8 | Generator: WebGUI 7.4.2502:17
nubagood, its still working02:18
perlmonkey2GooeyOfSteel: check www.lostokies.com02:18
GooeyOfSteelwww.lostokies.com   Server: Apache/2.2.3 (CentOS) | Generator: WebGUI 7.5.402:18
-!- Radix-wrk [n=Jesse@203.161.68.67] has quit [Read error: 104 (Connection reset by peer)]02:19
nubaguess there hasnt been much action at the community wiki lately02:20
nubabtw guys, google apps for your domains (aka GAFYD) now features Websites02:22
nubawith some standard templates,02:22
nubacollab features02:22
nubaversioning02:22
nubacomments, file attachments02:22
-!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui02:22
-!- mode/#webgui [+v Radix-wrk] by ChanServ02:22
nubasome gadgets, google-docs-like interface02:22
perlmonkey2that starting to sound like a CMS.02:23
nubayes, i think its something worth checking out02:23
nubalet me see what else...02:23
nubasubscribe to pages/site changes02:24
nubasite sharing can be set individually or with the entire domain02:24
nubano groups, but thats probably one of the next features to come...02:25
perlmonkey2This shouldn't hurt WG as much as the php* crowd.  The hobbyist will flock to this.02:25
nubasharing categories:  as owners  as collaborators  as viewers02:25
nubayou can personalize the theme, if you dont like the default ones02:25
nubayou can create as many websites as you want, and set that differently for each site02:26
nubaguess thats it02:26
nubathat was a quick rundown on the features02:26
nubathe thing with this is it isnt a standalone offering02:27
perlmonkey2what does that mean, that it isn't standalone?02:28
nubayou should look at it as part of a bundle of apps which are free for small companies, and educational or non-proit users too02:28
-!- Funakoshi [i=Xtasy@nor75-7-81-57-85-191.fbx.proxad.net] has joined #webgui02:28
perlmonkey2So the target audience of WG?02:28
nubai was going to deploy a webgui setup for my CS department, to provide the website feature02:28
+perlDreamerWG usually shoots larger than that02:29
nubawhile i have already deployed GAFYD for the mail, im, calendar, etc.02:29
CIA-21WebGUI: jt * r5711 /translations/French/French/ (Asset_Navigation.pm WebGUI.pm): update_from_translation_server02:29
nubaboth using a LDAP backend02:29
nubanow, it makes it harder for me to sell webgui there02:29
nubaim not saying "big truths" or making "big forecasts" folks02:30
nubathis is just a use case, mine.02:30
nubai think even if this thing doesnt looks quite like webgui doesnt mean they wont compete02:31
+perlDreamertrue, and it could grow from here, too.02:33
nubasee, im not rooting for one thing or another, i just thought this thing would be a nice topic to throw at the channel and discuss02:33
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has quit ["Download Gaim: http://gaim.sourceforge.net/"]02:33
nubaalso worth of notice is that to get a GAFYD going the only thing you need to do is set the DNS02:36
perlmonkey2Luckily a tiny little company like Google could never hope to compete with PB.02:36
nubaand even that can be delayed if you dont mind demoing it with urls like http://sites.google.com/a/bcc.ic.uff.br/02:36
nubainstead of sites.bcc.ic.uff.br02:37
+Radix-wrkwhat have google done now?02:37
nuba[20:52] <        nuba> | btw guys, google apps for your domains (aka GAFYD) now features Websites                                        +Radix_        02:38
+Radix-wrkgoogle apps for your domains hmm02:38
nubanuba> | with some standard templates, collab features, versioning, comments, file attachments02:39
+Radix-wrkcan you plug them into a webgui site?02:39
nubayou can use single signon02:40
nubaor have both refer to a LDAP server02:40
nubaor even keep things  separated but in sync with the provisioning/report API, which is what im doing02:41
+Radix-wrk$50/account/year huh02:41
+Radix-wrkfor premium edition anyway02:41
nubawell all my GAFYD setups are educational and/or non-profit, so we get the premium for free02:42
nubabut the standard version is awesome too02:43
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."]02:43
-!- patspam [i=chatzill@ppp59-167-128-63.lns3.mel6.internode.on.net] has joined #webgui02:45
CIA-21WebGUI: colin * r5712 /branch/WebGUI_Commerce/ (4 files in 3 dirs): 02:49
CIA-21WebGUI: Remove an extra my from Shop::Cart.02:49
CIA-21WebGUI: Add the getTaxRates method to Tax, with tests.02:49
CIA-21WebGUI: Add some calculate code to Tax, with tests, which don't pass yet.02:49
+Radix-wrkLooks interesting02:51
+Radix-wrkcan see a little overlap with webgui, but certainly wouldn't see it as a replacement02:51
+Radix-wrkshame you can't just plug google gadgets and apps into an existing website easily tho02:52
+Radix-wrkthat'd be awesome02:52
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui03:02
diakopterpreaction: i'm curious if you or anyone else know if the Dashboard still works in 7.4+03:55
@preactionshould work just fine03:55
@preactionif it doesn't, that'd be a bug03:55
@preactionit's just being called "beta" now03:55
@preactionbecause JT thinks it could be better, or needs a rewrite or something. it's subject to change03:55
diakopteraww. everything could be better.03:56
-!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: @Haarg, ckotil, steveo_aa, vayde, ascii, +Radix-wrk, SDuensin, GooeyOfSteel, estiven, @preaction, (+6 more, use /NETSPLIT to show all of them)04:03
-!- Netsplit over, joins: ascii04:07
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui04:10
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui04:10
-!- steveo_aa [n=sno@76.226.180.72] has joined #webgui04:10
-!- Haarg [n=haarg@24-177-119-178.dhcp.mdsn.wi.charter.com] has joined #webgui04:10
-!- ckotil [n=newtrino@snare.grnoc.iu.edu] has joined #webgui04:10
-!- jdferm [n=jdferm@sangha.cyberius.net] has joined #webgui04:10
-!- ServerMode/#webgui [+oo preaction Haarg] by irc.freenode.net04:10
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui04:10
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [Client Quit]04:10
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui04:10
-!- CIA-21 [n=CIA@208.69.182.149] has joined #webgui04:11
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui04:11
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #webgui04:11
-!- GooeyOfSteel [n=puppetma@hq.imaterial.org] has joined #webgui04:11
-!- ServerMode/#webgui [+o apeiron] by irc.freenode.net04:11
-!- patspam [i=chatzill@ppp59-167-128-63.lns3.mel6.internode.on.net] has joined #webgui04:11
-!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui04:11
-!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has joined #webgui04:11
-!- estiven [n=erestrep@static-adsl201-232-86-73.epm.net.co] has joined #webgui04:11
-!- ServerMode/#webgui [+vv Radix-wrk Radix_] by irc.freenode.net04:11
-!- wgGuest21 [n=wgGuest2@adsl190-28-22-218.epm.net.co] has joined #webgui04:14
wgGuest21hello04:16
-!- wgGuest21 [n=wgGuest2@adsl190-28-22-218.epm.net.co] has quit [Remote closed the connection]04:21
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 113 (No route to host)]04:29
-!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: SDuensin, GooeyOfSteel, @apeiron04:29
-!- Netsplit over, joins: @apeiron, SDuensin, GooeyOfSteel04:32
-!- perlDreamer [n=colink@pool-71-117-235-252.ptldor.fios.verizon.net] has joined #webgui04:36
-!- mode/#webgui [+v perlDreamer] by ChanServ04:37
-!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: @Haarg, ckotil, steveo_aa, perlmonkey204:48
-!- Netsplit over, joins: ckotil04:51
+perlDreameryou guys don't have to leave just because I came back04:51
-!- Haarg [n=haarg@24-177-119-178.dhcp.mdsn.wi.charter.com] has joined #webgui04:53
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui04:53
-!- steveo_aa [n=sno@76.226.180.72] has joined #webgui04:53
-!- ServerMode/#webgui [+o Haarg] by irc.freenode.net04:53
+perlDreameraw, ya came back05:03
CIA-21WebGUI: colin * r5713 /branch/WebGUI_Commerce/ (lib/WebGUI/Shop/Tax.pm t/Shop/Tax.t lib/WebGUI/Shop/Cart.pm): 06:03
CIA-21WebGUI: Update the POD for Cart.pm. Return value for addItem is not items in cart, it's the06:03
CIA-21WebGUI: created item.06:03
CIA-21WebGUI: Finish up the Tax calculate method, with tests.06:03
-!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: +perlDreamer, perlbot, nuba06:30
-!- Netsplit over, joins: +perlDreamer, nuba, perlbot06:30
-!- perlDreamer [n=colink@pool-71-117-235-252.ptldor.fios.verizon.net] has quit ["Leaving."]07:07
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit [Remote closed the connection]07:21
CIA-21WebGUI: graham * r5714 /WebGUI/ (docs/changelog/7.x.x.txt lib/WebGUI/AssetLineage.pm): fixed: Child assets not indicated by plus sign in uncommited tags07:21
CIA-21WebGUI: graham * r5715 /branch/WebGUI_7.4/ (docs/changelog/7.x.x.txt lib/WebGUI/AssetLineage.pm): fixed: Child assets not indicated by plus sign in uncommited tags07:43
CIA-21WebGUI: graham * r5716 /branch/WebGUI_7.4/docs/create.sql: preparing for 7.4.27 release07:43
CIA-21WebGUI: jt * r5717 /releases/WebGUI_7.4.27-stable: Release 7.4.27-stable08:02
CIA-21WebGUI: graham * r5718 /branch/WebGUI_7.4/ (4 files in 4 dirs): preparing for 7.4.2808:02
-!- patspam [i=chatzill@ppp59-167-128-63.lns3.mel6.internode.on.net] has quit ["ChatZilla 0.9.81 [Firefox 2.0.0.12/2008020121]"]08:28
-!- ryuu_ro [n=rory@194.171.50.69] has joined #webgui09:19
-!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: @Haarg, steveo_aa, perlmonkey209:33
-!- Netsplit over, joins: @Haarg, perlmonkey2, steveo_aa09:36
-!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: CIA-2109:37
-!- Netsplit over, joins: CIA-2109:40
-!- Radix-wrk [n=Jesse@203.161.68.67] has quit ["Leaving"]09:55
-!- BartJol [n=plainstu@194.171.50.123] has joined #webgui10:30
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui10:44
-!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has quit [Read error: 113 (No route to host)]11:33
-!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has joined #webgui11:33
-!- mode/#webgui [+v Radix_] by ChanServ11:33
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui11:46
-!- mode/#webgui [+o preaction] by ChanServ11:46
-!- BartJol [n=plainstu@194.171.50.123] has quit [Read error: 113 (No route to host)]12:57
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has quit ["Leaving"]14:15
-!- BartJol [n=plainstu@194.171.50.123] has joined #webgui14:32
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui15:05
-!- ckotil [n=newtrino@snare.grnoc.iu.edu] has quit ["Lost terminal"]15:55
-!- ckotil [n=newtrino@snare.grnoc.iu.edu] has joined #webgui16:03
-!- SDuensin [n=Scott@229.sub-75-205-17.myvzw.com] has joined #WebGUI16:08
SDuensinMorning.16:12
ckotilGood Morning16:15
BartJolMorning16:18
-!- crythia1 [n=gyoung@fl-69-68-148-96.sta.embarqhsd.net] has joined #webgui16:22
-!- mode/#webgui [+v crythia1] by ChanServ16:22
-!- crythia1 [n=gyoung@fl-69-68-148-96.sta.embarqhsd.net] has left #webgui []16:22
-!- jdan [n=jdan@195.116.30.251] has joined #webgui16:29
-!- jdan [n=jdan@195.116.30.251] has quit [Client Quit]16:30
-!- estiven [n=erestrep@static-adsl201-232-86-73.epm.net.co] has quit [Remote closed the connection]16:39
-!- estiven [n=erestrep@static-adsl201-232-86-73.epm.net.co] has joined #webgui16:39
-!- estiven [n=erestrep@static-adsl201-232-86-73.epm.net.co] has quit [Read error: 104 (Connection reset by peer)]16:56
perlmonkey2In the Survey System, question text will be able to include answers from previous questions.  ie. in Q2, you could have "What do you like about <S1Q1>?" where S1Q1 is the answer from section 1 question 1.  My question is, should it grab the displayed answer, the recorded answer, or add some syntax to let the user choose?17:15
perlmonkey2And does anyone see a problem with that scheme?17:17
perlmonkey2I think I'll just add some syntax to allow the designer to chose.  S1Q1D or S1Q1R and have S1Q1 default to S1Q1R.17:20
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui17:21
-!- mode/#webgui [+o rizen] by ChanServ17:21
-!- ryuu_ro [n=rory@194.171.50.69] has quit []17:39
-!- perlDreamer [n=colink@pool-71-117-235-252.ptldor.fios.verizon.net] has joined #webgui17:52
-!- mode/#webgui [+v perlDreamer] by ChanServ17:52
+perlDreamerkill -HUP perlDreamer17:53
@rizennoooooooo!!!!!17:53
@rizeni need him17:53
@rizenleave him alone17:53
+perlDreamerthere are runaway processes in perlDreamer17:53
+perlDreamerhe needs to reboot17:53
@rizenfind a way to kill the runaways17:54
+perlDreameractually, first he needs to call in sick to $dayJob17:54
@rizenwithout killing pd17:54
@rizenhehe17:54
@rizen$dayJob->call($sickness);17:54
perlmonkey2perlDreamer: ohnoooes, you gots teh s1kn3ss17:57
perlmonkey2seems like an excessive amount of funk is going around this year.17:57
+perlDreamernow that we've switched to Linux boxen at work, I can almost work completely remotely17:59
+perlDreamerbut not today17:59
+perlDreamerjust email17:59
@rizeneveryone's got to have the sickness, cuz everyone seems to need the cure17:59
+perlDreamerI'm blaming nuba17:59
+perlDreamerhe made me worry about wG future with Google building mini-CMS sites18:00
@rizendamn the google!18:00
+perlDreameractually, that would be a cool TBB entry, talking about it18:00
@rizenbut the people they're picking up weren't likely to be webgui customers anyway18:00
@rizengood idea18:01
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has quit ["Leaving."]18:04
perlmonkey2rizen: that was my thought, that only the hobbyists and those who use the php* junk would be moving.18:05
+perlDreamerrizen: see yesterday's irc logs for the talk about it18:06
+perlDreamerafter this line18:07
+perlDreamertw guys, google apps for your domains (aka GAFYD) now features Websites18:07
@rizenthey do allow a lot more cool dynamic stuff than any other of the free/cheap do it yourself sites18:10
@rizenbut all the sites basically look the same18:11
@rizenand they certainly don't offer everything webgui does18:11
@rizenthe super coolest thing is though that you instantly have google search on your site18:13
@rizenalthough the sites they create a pretty small i'm guessing, so that's not nearly as important18:13
+perlDreamerI think the killer app will be integration18:14
+perlDreamerintegrating other google things into the sites seamlessly18:14
@rizenthey've already got that really18:15
@rizenwith the widget concept18:15
-!- Haarg [n=haarg@24-177-119-178.dhcp.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"]18:16
-!- Haarg [n=haarg@24-177-119-178.dhcp.mdsn.wi.charter.com] has joined #webgui18:17
-!- mode/#webgui [+o Haarg] by ChanServ18:17
perlmonkey2okay, I don't think I'm grok'ing javascript closures properly.  But I want a single ajax object that events pass a callback closure to, which itself contains a success and failure closure.  Is that not the "javascript way"?18:19
-!- lisette [n=liraos@static-adsl201-232-86-73.epm.net.co] has joined #webgui18:31
lisettehello18:33
+perlDreamerhello18:34
lisettewhich is the module for send emails from webgui?18:34
+perlDreamerWebGUI::Mail::Send18:34
lisetteand how to use?18:36
+perlDreamerperldoc WebGUI::Mail::Send18:36
lisettethanks18:36
+perlDreamerlisette, if you should ever find any module in the WebGUI core that does not have documentation, or has bad documentation, please file a bug about it, and it will be fixed.18:42
+perlDreamerWe do it all the time18:42
+perlDreamerto try and make it easier for people to use the code.18:42
lisetteok18:50
CIA-21WebGUI: jt * r5719 /branch/WebGUI_Commerce/lib/WebGUI/Shop/ (Tax.pm Address.pm CartItem.pm Cart.pm): added some helper methods for addressing, and got the cart closer to working19:00
CIA-21WebGUI: jt * r5720 /branch/WebGUI_Commerce/lib/WebGUI/Shop/Tax.pm: made it use a helper method19:00
@rizenwow that took a long time19:02
+perlDreameryeah19:03
+perlDreamerit's constipated19:03
-!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: @Haarg, ckotil19:07
@rizeni'm working on the address chooser function19:07
@rizenso we can actually see the fruits of your tax labor19:07
nuba[12:29] <+perlDreamer> I'm blaming nuba                                                                                                                19:07
nubaoh come on19:07
nubadont shoot the messenger19:07
-!- Netsplit over, joins: @Haarg, ckotil19:08
@rizeni'm blaming nuba too, just cuz it's fun19:08
BartJolnuba all people here blame me, because I'm the newby and I mess things up19:09
nubai blame google for making "student websites" so easy to my computer science dept and thus making it harder to sell webgui to them.19:11
nubarizen: yesterday i tried shaking the channel a bit with that topic, but nobody was really excited about it19:11
-!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: +perlDreamer, BartJol, @rizen, CIA-2119:12
-!- apeiron_ [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui19:12
-!- mode/#webgui [+o apeiron_] by ChanServ19:13
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has quit [Nick collision from services.]19:13
-!- apeiron_ is now known as apeiron19:13
-!- Netsplit over, joins: BartJol19:15
BartJolthat was strange, got kicked out...19:15
BartJolwell have to cook19:15
-!- BartJol [n=plainstu@194.171.50.123] has left #webgui []19:15
-!- CIA-52 [n=CIA@208.69.182.149] has joined #WebGUI19:16
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui19:17
-!- perlDreamer [n=colink@pool-71-117-235-252.ptldor.fios.verizon.net] has joined #webgui19:17
-!- BartJol [n=plainstu@194.171.50.123] has joined #webgui19:17
-!- ServerMode/#webgui [+ov rizen perlDreamer] by irc.freenode.net19:17
-!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: steveo_aa, perlmonkey219:18
-!- estiven [n=erestrep@static-adsl201-232-86-73.epm.net.co] has joined #webgui19:22
-!- Netsplit over, joins: perlmonkey2, steveo_aa19:22
nubasplitty here, huh?19:23
+perlDreamerguess so19:23
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has quit [Read error: 104 (Connection reset by peer)]19:26
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui19:26
-!- mode/#webgui [+o apeiron] by ChanServ19:26
-!- BartJol [n=plainstu@194.171.50.123] has quit [Read error: 110 (Connection timed out)]19:30
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has joined #webgui19:36
-!- mode/#webgui [+v MrHairgrease] by ChanServ19:36
-!- perlDreame1 [n=colink@pool-71-117-235-252.ptldor.fios.verizon.net] has joined #webgui19:54
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has quit [Read error: 110 (Connection timed out)]19:59
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has joined #webgui20:00
-!- mode/#webgui [+v MrHairgrease] by ChanServ20:00
-!- crythia1 [n=gyoung@fl-69-68-148-96.sta.embarqhsd.net] has joined #webgui20:06
-!- mode/#webgui [+v crythia1] by ChanServ20:06
-!- crythia1 [n=gyoung@fl-69-68-148-96.sta.embarqhsd.net] has left #webgui []20:06
perlmonkey2axod is explaining his problems and why he's kicking 800 people off irc in ##javascript20:09
perlDreame1oh really?20:12
perlDreame1is it logged somewhere?20:12
-!- perlDreamer [n=colink@pool-71-117-235-252.ptldor.fios.verizon.net] has quit [Read error: 113 (No route to host)]20:13
-!- perlDreame1 is now known as perlDreamer20:13
-!- perlDreamer is now known as fooBa220:14
-!- fooBa2 [n=colink@pool-71-117-235-252.ptldor.fios.verizon.net] has quit ["Leaving."]20:14
-!- perlDreamer [n=colink@pool-71-117-235-252.ptldor.fios.verizon.net] has joined #webgui20:14
-!- mode/#webgui [+v perlDreamer] by ChanServ20:14
GooeyOfSteelWiki: WRE-FAQ - Edited on 3/5/2008 12:30 pm by JT  http://www.webgui.org/community-wiki/wre-faq20:41
perlmonkey2perlDreamer: My bad, he was talking about an irc client he has for his own server that dumped 800 users on his own irc esrver.20:49
+perlDreamerno sweat, dude20:52
perlmonkey2$self->session->id->generate() what is that generating?  A unique assetId?20:56
perlmonkey2Let me back up20:56
perlmonkey2I want to know how I get the assetId of the current instance of a survey, and what I should use as my foreign key for Survey_Questions/Sections/Answers/Responses.20:57
perlmonkey2I would think I would use the assetId for the current survey?20:58
+perlDreamer$self->getId21:02
+perlDreamerid->generate generates a custom, base64 MD5 hash21:02
-!- wgGuest25 [i=WebGUIUs@c-76-119-132-119.hsd1.ma.comcast.net] has joined #webgui21:02
wgGuest25wow.. IRC21:02
+perlDreameryeah, isn't it cool?21:02
wgGuest25haven't been on one of these since I was like... 621:03
+perlDreamerPerchance, do you have a WebGUI related question?21:03
wgGuest25I do... do you have webGUI related answers?21:03
+perlDreamerperchance21:03
perlmonkey2The original Survey has an assetId and then generates a new hash for the Survey_id.  Is there a reason to just not use the assetId as the SurveyId (the surveyid was used as the foreign keys in the other collateral tables).21:03
perlmonkey2wgGuest25: perlDreamer has *all* the answers.21:04
wgGuest25alright. I have several sites that are running an OLD (circa 2003-2004) version of WebGUI, so these may sound like stupid questions because I'm not used to all this new stuff21:04
+perlDreamer'salright21:04
wgGuest25but I just set up a new server, with the latest version of (ubuntu and webgui)21:04
perlmonkey2congrats21:04
wgGuest25used the WRE, successfully21:04
perlmonkey2isn't it cool?21:05
wgGuest25i can upload photos from any section of the site, EXCEPT for the inline-editor.21:05
wgGuest25They just show up as broken image boxes21:05
+perlDreameranything in the webgui.log file?21:05
wgGuest25with the WRE, does everything log to /etc/WebGUI/.... whatever?21:06
wgGuest25or does it break logs down into individual sites21:06
@rizenperlmonkey2 survey_id was a stupid thing that i should have never added21:06
+perlDreamer/data/wre/logs, I believe21:07
perlmonkey2rizen: well bare with me, as I'm apparently a slow WG learner, but then that means it is a good idea to use the assetId as the foreign key?21:07
+perlDreamerand (not being a WRE user myself), I'm pretty sure that all WebGUI's log to the same file21:07
wgGuest25no directory /data/wre/logs21:07
@rizenit's /data/wre/var/logs21:07
perlmonkey2s/bare/bear/21:07
@rizenpm2: yes use the assetId as a key21:08
+perlDreamerperlmonkey2: ew21:08
perlmonkey2groovy21:08
perlmonkey2heh21:08
perlmonkey2"NO, NO, don't take off your clothes...my eyes, my eyes....they BUUUURN!"21:08
wgGuest25that's more like what i'm used to seeing in IRC21:08
wgGuest25welcome to being 6 years old :)21:08
* perlmonkey2 hopes to stay that way forever.21:09
wgGuest25haha21:09
wgGuest25i'm attempting to add an image now while tailing the log file21:09
wgGuest25main::[[undef]] - Can't make a thumbnail for a file that is not in my storage location.21:10
-!- wgGuest25 is now known as Slickware21:11
Slickwaredid I stump21:12
-!- dionak [n=diona@97.66.185.250] has joined #webgui21:12
@rizenit's most likely a privileges problem21:13
@rizenmake sure your uploads folders are owned by your apache user21:13
Slickwarei feel like it should be too - but shouldn't the WRE have set that up?21:13
Slickwarei don't even have apache actually installed21:13
Slickwarei let the WRE do EVERYTHING21:13
@rizenit should, that doesn't mean it doesn't have a bug, or that you didn't do something correctly...there's always the chance for something going wrong21:14
Slickwareespecially with webgui21:14
Slickwarei remember the days before the WRE :)21:14
@rizenwhat?21:14
@rizenwebgui roxorz21:14
Slickwareit was like installing Murphy's Law21:14
Slickwareespecially all those damn CPAN things21:14
Slickware"can't make, install seems impossible"21:15
@rizentrue...hence the wre21:16
dionakthe more powerful an application, the more chance that something can go wrong.21:16
-!- rizen is now known as rizenisatlunch21:16
-!- perlmonkey2 is now known as stupidmonkeymust21:17
-!- stupidmonkeymust is now known as monkeyiseating21:18
nubaheh, my first webgui install to a hosting that had no shell access, and just the core perl libs. had to use cgitelnet.pl and install to a local box having similar OS/arch, then upload and testenvironment again and again..21:18
Slickwareouch21:18
nubaearly 5.x days21:18
Slickwarehey.. i still have a 5.x server running happily :)21:18
nubayou'll have lots more fun with webgui as it is now21:19
Slickwarei have to say - while I understand the idea behind clear/commit,21:19
Slickwarei HATE it21:19
+perlDreamerthere is an autosave/autocommit set of options in the settings21:20
nubaalso the wre comes tweaked for webgui performance, mod_proxy and all that21:20
nubaits a good way to get a great setup out of the box21:20
nubawith little effort21:20
+perlDreamerrizen: more fuel for your argument21:21
+perlDreamerthe automated test suites all run the WRE21:22
Slickwarei won't bash the WRE21:23
Slickwarejust want to get this image upload issue fixed21:23
Slickwareso, if i'm running ubuntu... which directories should I have to change permissions on ?21:24
+perlDreamer/data/domains/*21:24
Slickwareand should they all be apache.apache21:24
+perlDreamerum, no21:24
+perlDreamerthere is a webgui user for the wre21:24
+perlDreamerthey should be owned by him21:24
+perlDreamerand exactly which versions of the WRE and webgui are you using?21:24
Slickwareeverything down to the uploads directory is owned by webgui21:25
Slickwarebut some of the directories IN the uploads directory are owned by webgui, group is like 4255343758921:25
+perlDreamerare they writable by user webgui?21:26
@apeironnuba, http://sourceforge.net/projects/cgipan/ may have helped you back in those days without shell access. :)21:26
Slickwarei believe they are21:27
Slickwarei'm literally running whatever the latest versions are - i JUST finished installing it last week21:27
+perlDreamerchmod -R u+w /data/domains21:27
+perlDreamerand, just as a refresher, only uploads through the rich editor have problems?21:28
@preactionwasn't this a known issue in 7.4.25?21:28
Slickwareyes, only through the richedit21:28
+perlDreamersounds familiar21:28
+perlDreamerwhat's the exact webgui version you're running?21:28
Slickwarehow do i check now21:29
nubaapeiron: nice21:29
+perlDreamerthrough the UI, log in as admin, turn admin on, to go admin console, click on statistics21:30
+perlDreamerthrough the shell, look at /data/WebGUI/lib/WebGUI.pm21:30
@apeironSlickware, grep VERSION /data/WebGUI/lib/WebGUI.pm21:30
SlickwareWebGUI Build Version: 7.4.25-stable 21:30
-!- monkeyiseating is now known as perlmonkey221:30
+perlDreamerSlickware, please upgrade to 7.4.26 or higher21:30
Slickwareand apparently there is another new version out. huh.21:30
+perlDreamer" - fixed: rich text editor image uploads deleted immediately"21:30
Slickwareoh jeez21:31
+perlDreamerthere are frequent bug fixes21:31
Slickwareis there a SIMPLE way to upgrade through the WRE?21:31
Slickwareor do i have to download the tar.gz and upload with the perl scripts21:31
nubawell, check for something with a name looking like "webguiupdate" in /data/wre/sbin21:32
+perlDreamerhttp://www.webgui.org/community-wiki/upgrading21:32
nubaand give it a bump or two21:32
Slickwarethanks21:32
+perlDreamernuba, was my earlier spanish anywhere on track?21:32
Slickwarei honestly never really expected to find any answers in IRC :)21:32
nubaperlDreamer: where is it?21:33
+perlDreamerway back,21:33
Slickwarethey should log these chats and let google index them, it's a lot better than using their horrible search engine on the discussion board21:33
perlmonkey2I still can't believe IRC was ever anything but for hackers and programmers21:33
@preactionSlickware, xdanger currently has logs available, but we have no search mechanism developed for it yet21:33
@apeironSlickware, Google's horrible search engine, or WebGUI's?21:33
@preactioni'm tempted to see if i can get an IRSeek bot in here21:33
Slickwarei can't stand that you can't use the back button on the discussionboard search21:33
Slickwareit's really annoying to have to open posts in new tabs/windows to see if they are relevant to your search query21:34
Slickwarebut that's just me complaining :)21:34
@apeironSlickware, If it's WebGUI's, feel free to file an RFE documenting what you'd like to see improved.21:34
+perlDreamerSlickware: we always appreciate user feedback, but things in IRC rarely get done.21:34
+perlDreamerUse the RFE system online to submit those21:34
Slickwarei know. i'm more just venting21:35
+perlDreameror, provide patches :)21:35
Slickwarethe discussion feature has always been that way21:35
Slickwarei am unfortunately not a perl programmer by any means21:35
@apeironThat doesn't mean you won't get what you want.21:35
nubawhy index/search the irclogs? isnt grep -C 10 -E 'some.regexp[0-9]*' ehough?21:35
-!- estiven [n=erestrep@static-adsl201-232-86-73.epm.net.co] has quit [Read error: 104 (Connection reset by peer)]21:35
Slickwarehaha21:35
@apeironnuba, What if you don't *have* the logs? :)21:36
nubawget'em21:36
Slickwarealright. thanks guys/girls. I'll give this stuff a shot and check back later if I fail miserably.21:36
nubareally, i added the URL to xdanger's logs in the wiki irc page21:36
nubaits just a matter of wget -r -l inf 'URL' and then grepping'em 21:36
-!- slickwar1 [i=WebGUIUs@c-76-119-132-119.hsd1.ma.comcast.net] has joined #webgui21:53
-!- Slickware [i=WebGUIUs@c-76-119-132-119.hsd1.ma.comcast.net] has quit []21:54
slickwar1test21:54
+perlDreameryo21:54
slickwar1just setting up IRC on GAIM21:54
-!- slickwar1 [i=WebGUIUs@c-76-119-132-119.hsd1.ma.comcast.net] has left #webgui []21:55
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."]21:59
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui22:00
-!- dionak [n=diona@97.66.185.250] has left #webgui []22:01
-!- slickwar1 [i=WebGUIUs@c-76-119-132-119.hsd1.ma.comcast.net] has joined #webgui22:07
slickwar1you guys rock.22:07
slickwar15 minutes later, and I can upload from the richedit22:07
slickwar1after a week of pulling out hair :)22:07
+perlDreamerhere's a few hints for bug fixing22:09
+perlDreamersearch the bug db22:09
+perlDreamersearch the forums22:09
+perlDreamercheck the wiki22:09
+perlDreamerread release notes for newer versions of wG22:09
slickwar1I did check the forums22:12
slickwar1I just sort of assumed, since I had JUST downloaded a new version, that upgrading couldn't possibly be my problem :)22:12
slickwar1I forget that webgui changes releases more than my girlfriend changes outfits22:13
+perlDreamerhere's the new release schedule: http://www.webgui.org/webgui/dev/discuss/stable-vs-beta-releases-and-demo22:14
+perlDreamerit's open source.  You have to release often.22:15
slickwar1I know, I know... i'm just not used to a "stable" release also being one that doesn't always work right away!22:16
-!- rizenisatlunch is now known as rizen22:16
+perlDreamertrue22:16
@rizenperlDreamer: it would look better if you reply on my post in tbb. that way it isn't just me saying that the wre is a good thing.22:18
+perlDreamerI did :)22:18
+perlDreamerI'm a little worried about coding while I'm sick, so I'm looking at test coverage for the Shop modules22:20
+perlDreamerIf a file exists, is readable by the user, is there any reason why it could not be opened as a filehandle by perl?22:26
@rizennot that i'm aware of22:26
@rizeni suppose if the filesystem had some sort of locking mechanism that prevented it from being opened by multiple users at the same time22:27
@rizenNTFS has that22:27
slickwar1so perlDreamer, who are you guys - do you work for plainblack or are you just hardcore fans?22:27
@rizenrizen = JT22:27
+perlDreamerall of the Op'ed guys are PB staffers22:27
+perlDreamerthe voiced guys are volunteers who have no other life22:28
slickwar1aww JT you have been around since the beginning... you're my hero22:28
+perlDreamerand the other people are volunteers and bots22:28
@preactionperlDreamer, SELinux perhaps?22:28
@rizeni say that the voiced guys are volunteers who contribute more than others...not that have no life22:28
+perlDreamerit's the virii talking22:29
slickwar1I contributed... I finally bought the books22:29
+perlDreamerI'm looking at the importTaxData method for Shop::Tax.pm, and wondering if I went overboard on file checking22:29
slickwar1my monetary contribution is far more useful than any coding I could cough up, believe me22:29
+perlDreameroh, I don't know22:30
+perlDreamerdo you do HTML/CSS?22:30
+perlDreamerthere are lots of ways to contribute back22:31
slickwar1I do, but I try not to22:31
+perlDreamermake themes22:31
+perlDreamertranslate wG into other languages22:31
slickwar1haha... pig latin22:31
+perlDreameranswer questions on the forums22:31
@preactionbefore i can get to other work i need to ask: Is there any way that: package Foo; package Bar; use base 'Foo'; package main; my $class = "Bar"; $class->isa("Foo"); would return false?22:31
+perlDreamermake useful wiki pages22:31
slickwar1I do try and answer forums question22:31
+perlDreamerpreaction: 1;22:32
slickwar1maybe I should revise the WRE installation wiki so it is accurate for Ubuntu22:32
@preactioni'm trying to make the GalleryFile class, and have Photo inherit from that instead of Image, and in the process i'm fixing the addChild check to ensure only appropriate classes get added to Albums22:32
slickwar1becuase the "for ubuntu" section is blatantly wrong22:32
@preactionbut that check is failing22:32
@preactionsomehow GalleryFile::Photo which use base 'GalleryFile'; is somehow NOT a GalleryFile.22:32
@preactionor an Asset for that matter22:32
+perlDreameris isa overridden anywhere in your code, or in any module that you might use?22:33
@preactionhttp://webgui.pastebin.com/m40fbb032 <- anything glaringly wrong with that?22:33
@preactionperlDreamer, not that i know of22:34
@preactionGalleryFile exists and is syntactically correct, same with Photo22:34
+perlDreamer$properties->className isn't an object22:35
+perlDreameris it?22:35
@preactionno it should just be a string22:35
+perlDreamermaybe I should read more about UNIVERSAL isa22:35
+perlDreamerI thought you needed an object to do that22:35
+perlDreamernot a hashref22:35
@preactionno, a classname works22:36
+perlDreamertry it as a bareword22:36
+perlDreamervs a var22:36
@preactioni tried doing "WebGUI::Asset::File::GalleryFile::Photo->isa("WebGUI::Asset::File::GalleryFile");22:36
@preactionk22:36
@preactionnope22:37
@preaction163     print "OKAY!!\n" if WebGUI::Asset::File::GalleryFile::Photo->isa( $fileClass ); <- fails22:37
@preactionha.22:38
@preactionit wasn't loaded22:38
+perlDreameruse base doesn't load it?22:38
@preactioni did a use <whatever> in my test22:39
@preactionno, the class itself wasn't loaded22:39
+perlDreameroh22:39
@preactionand ->isa() returned false because Perl didn't know what it was22:39
@preactionwhich means that all overridden addChild probably needs to use WebGUI::Pluggable::load22:39
@preactionkinda weird that isa didn't even pop a warning about it...22:41
@preactionoh well, i can now close all the Gallery bugs on the public buglist.22:42
+perlDreamercool22:42
@preactionyours had to be the hardest, didn't it?22:43
@preactionbut now MrHairgrease has his GalleryFile class so he can make GalleryFile::Video22:43
+perlDreamersorry, man22:43
@preactionhum... discussion: which is more important? Purity of form (user interface) or purity of essence (code design)22:45
@preactioni know times where i've had to sacrifice one for the other, usually sacrificing code for user interface, and i've always hated it (and usually the result)22:46
+perlDreamerwhat's awfully wide-open, how about a specific example?22:48
+perlDreamerrizen: since Tax->calculate can return 0 as a valid value, I'd like to remove the return 0 and just let the exception propagate out.  Sound okay?22:50
@rizenwhat are we talking about?22:51
@rizenis this in reference to the change i made?22:51
+perlDreameryeah22:51
@rizeni don't understand why that would be better22:52
lisettehow to obtains a email from a user of webgui?22:52
+perlDreameryou can't look at the return value of calculate and see if there was a problem.22:52
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit [Remote closed the connection]22:52
@rizenthere isn't a problem if it returns 022:52
+perlDreamersince 0 is a valid amount of tax22:52
+MrHairgreasepd: have it return a negative amount of tax22:53
+MrHairgreaseyou know that's wrong b/c i have never seen the tax hyena's give anything back =)22:53
@rizenit returns 0 when there is no shipping address defined, that's because you can't have any tax without a shipping address22:53
@rizenthere's nothing wrong with 0 in that case22:53
@rizenand there's nothing wrong with the tax system either that should throw an exception22:53
+perlDreamerthe exception would be thrown by Address and propagate back to the caller of calculate22:54
@rizeni think exceptions should only ever be thrown to indicate something is wrong, or something happened that you don't expect22:54
* slickwar1 is out. thanks everyone22:54
+perlDreamerbut since 0 is okay, it's moot22:54
-!- slickwar1 [i=WebGUIUs@c-76-119-132-119.hsd1.ma.comcast.net] has quit ["Leaving."]22:54
@rizennow, if we made it past that check22:54
@rizenand address still throws an exception22:54
@rizenthen it should propogate up22:55
@rizeni think by throwing the exception where i made the change, you're actually potentially masking other real problems22:55
+perlDreamerI don't think return 0 should be replaced with an explicit expression, I think we should let $book->getAddress throw the exception for us22:56
@rizeni know that's what you're saying...and i think that then indicates a problem where there is none22:56
-!- wgGuest74 [n=wgGuest7@static-adsl201-232-86-73.epm.net.co] has joined #webgui22:56
@rizenit's perfectly valid to call $tax->calculate() with no address assigned22:57
@rizenthere's no reason it should throw an exception on something that it's valid to do22:57
@rizenthat is, unless you're saying it shouldn't be valid to call calculate when no address is assigned22:59
+perlDreamercould they proceed to checkout without a shipping address?  If not, then 0 is cool with me.23:00
@rizenno23:00
@rizenthe system prevents that23:00
+perlDreamerthen 0 is cool with me23:00
+perlDreamerI'll build a test for the return 0 case23:01
@rizenbecause the "Choose Shipping Address" button is displayed in place of "Checkout" when they haven't chosen one.23:01
@rizenbtw...i'm thinking about getting rid of the checkout button23:01
@rizeni'm thinking about putting the various payment buttons right on the cart screen23:02
@rizenso we can skip a step23:02
@rizenis that a bad idea?23:02
+perlDreamerthat's cool.  That way they don't have to choose a payment option and then checkout23:02
+perlDreamerinstead of 1-click checkout, it's 1-click payment23:02
@rizenmy only concern is what if someone has 15 different payment options enabled23:02
@rizenCheck, Cash, PO, PayPal, Karma, Google Check Out, 2Checkout, Credit Card23:03
@rizenetc23:03
wgGuest74hello23:03
@rizeni realize it's unlikely..but it could make the cart screen ugly23:03
+perlDreamermaybe a dropdown instead of buttons if there are more then 3?  or use the top 3, and a drop-down for the rest?23:04
+perlDreamerI hate UI design23:04
+perlDreamerwgGuest74: howdy.  Do you have a question?23:05
wgGuest74last week i asked about a dinamic select box in a data form, the thing is that i have  a selected box that its posibles values are dinamic23:05
wgGuest74if i  create a new control can i solve the problem?23:06
+perlDreamerdynamic, like the user can provide more options?23:06
wgGuest74the options are stored in a database and they are created by the user23:07
wgGuest74yes, the user can provide more options23:08
+perlDreamerthat's what you want it to do, but you're finding that it doesn't do that right now.  Correct?23:08
wgGuest74yes23:08
+perlDreamerthere is a combo box, which combines a select box with a text entry form, but the application has to take care of adding new entries into some database.23:10
+perlDreamerit should not need a new form control23:10
+perlDreameryou would need to further customize the DataForm to handle that new function23:12
wgGuest74for example the user first add in a table called areas, the name of the areas23:12
wgGuest74and in other screen when the user try to add the subject, he should see the name of the areas in a select box to add the subjects23:13
wgGuest74in the subject table will have a field that store the area's id23:14
+perlDreamerin the dataform, there are only 2-3 screens for the user23:15
+perlDreameradd an entry23:15
+perlDreamerview all entries23:15
+perlDreamerview one entry23:15
+perlDreamerexport some data23:15
+perlDreamerokay, 4 screens23:15
+perlDreamerno screens where the user can update a field, and then change it in another23:16
+perlDreamerThat sounds more like a SQL form type of application23:16
+perlDreamerbut that's a guess23:16
wgGuest74but the sql form doesn't have the select box23:17
+perlDreamerit sounds like wG does not have what you want out of the box.  So then it would be up to you how you would like to add it.23:17
+perlDreamerthe new Thingy application may do that, but it won't be out before April/May (as scheduled)23:18
wgGuest74the thing that i did was to create a dataform to add areas and i modified it to stored the entries in my own tables23:18
wgGuest74and then i created another dataform to create subjects 23:18
wgGuest74the thing that i need is the possibility to put the posibles values in a selected box obtaining the values from a table23:19
+perlDreamerIf I remember correctly, the DataForm will evaluate macros in several of its form fields23:24
+perlDreamerHow about using a SQL Macro to populate the possible values field of the select box?23:25
wgGuest74yes, i tried with a macro but the it returns a string 23:26
wgGuest74all tha values appear in the same line23:26
wgGuest74what features will have the thingy application?23:26
+perlDreamerit's basically a lite version of MS Access23:27
+perlDreamerfor the same line, you may need to use a different template, but again, I'm guessing23:27
wgGuest74perlDreamer, when i go to the sql form i always see first, the search template, can i modify it to see first the default sql form edit 23:33
+perlDreamerI don't know.  If you could, it would be in the Asset's edit screen, probably under display.23:35
wgGuest74yes?23:36
+perlDreamerno.  The default view is either a normal search screen, or an advanced search screen.23:37
+perlDreamerfor multiline macro output from ^SQL, use \n in the template23:38
wgGuest74ok23:39
wgGuest74i am going to try23:39
wgGuest74can i change in the sql form the default view, i want that the default view will be add a entry23:41
+perlDreamerno23:42
wgGuest74ok23:42
wgGuest74so, i am going to try the macro23:43
wgGuest74if a change the code of the data form wobject, can i report you the changes to be incluided in the core?23:44
+perlDreamerYou should submit it as an RFE.  JT will evaluate it to see if it can be added to the core.  Then it would need to wait for a developer to add it.23:45
-!- estive1 [n=estiven@static-adsl201-232-86-73.epm.net.co] has joined #webgui23:48
wgGuest74we have decided to put all of our sites, applications and projects around webgui, we want to contribute for webgui's project23:48
+perlDreamerThat's awesome!23:48
@rizenwgGuest74 i'm sorry to report that DataForm will not be in the core going foward23:49
@rizenyou'll still be able to use it on your sites, but it won't be part of the core23:49
CIA-52WebGUI: colin * r5721 /branch/WebGUI_Commerce/t/Macro/SQL.t: Functional test for multiline output.23:49
CIA-52WebGUI: colin * r5722 /branch/WebGUI_Commerce/t/ (3 files in 2 dirs): 23:49
CIA-52WebGUI: Add coverage tests for more bad CSV file handling,23:49
CIA-52WebGUI: and two files to exercise the header checks in importTaxData23:49
CIA-52WebGUI: colin * r5723 /branch/WebGUI_7.4/t/Macro/SQL.t: backport new SQL.pm macro test for multiline output23:49
@rizeninstead it will be replaced by two other assets: Thingy for building data entry applications, and Mail Form for building email forms23:50
wgGuest74are there some rules that are neccesary to have to contribute in the project?23:51
+perlDreamerhttp://www.webgui.org/community-wiki/getting-started-in-the-webgui-community23:52
+perlDreamersee the Core developers entry in that wiki page23:52
wgGuest74ok23:52
wgGuest74so, the data form will desappear in the future23:53
+perlDreamerhttp://www.webgui.org/community-wiki/development-best-practices for how to write good core code23:53
estive1you can make your own patch23:54
+perlDreameractually, see the "Developing for WebGUI" entry on the table of contents page http://www.webgui.org/community-wiki/table-of-contents23:54
-!- SDuensin [n=Scott@229.sub-75-205-17.myvzw.com] has quit ["Leaving"]23:54
+perlDreamerand estive1 is right.  You can always maintain your own patch for locally customizing WebGUI23:56
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."]23:57
wgGuest74ok23:57
wgGuest74thanks for all your advices23:57
@rizenWe will be releasing the data form into the user contributions section of the site in case someone23:57
@rizenwould like to start maintaining it23:57
@rizenAfter all there will be thousands of people out there with data forms on their sites.23:58
wgGuest74claro23:58
wgGuest74yes, we want to be part of webgui23:59
--- Day changed Thu Mar 06 2008
estive1http://www.webgui.org/community-wiki/how-to-add-a-feature-to-webgui-core00:01
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui00:01
perlmonkey2rizen: I've written probably 20 different custom one off surveys and your survey system seems very well designed.  How come you think so badly of it?00:05
@rizeni think that the survey works pretty well, i just think the code behind it is absolute crap00:06
@rizen=)00:06
perlmonkey2Hah00:06
@rizenit's one of the oldest (hasn't been revamped) assets in the system00:06
perlmonkey2I have a question about embedding variables in question text.  I'd like to be able to have Q2's text have a <S1Q1S> tags.  00:07
perlmonkey2What this would do is in the text of Q2, Section 1 Question 1's submitted answer would be replaced with that tag00:08
perlmonkey2<S1Q1R> would put the recorded value instead of the submitted.00:08
perlmonkey2But is that a good way to do this?00:08
perlmonkey2S1Q1. What is your favorite color.  S1Q1. Why is <S1Q1S> your favorite color?00:09
@rizenoh i see what you're saying00:09
perlmonkey2whups, that second S1Q1 should be S1Q2.00:09
@rizenwell i don't think it's a good idea to use S1Q2 because those are relative00:10
@rizenif they reorder the survey then it won't make sense00:10
perlmonkey2oh00:10
perlmonkey2good point.00:10
@rizenyou'd have to use the asset id of some sort00:10
@rizenbut i think that a better way to do it from a user interface point of view is00:11
@rizenhave them put in a %s00:11
@rizenand then have a drop down to pull the answer from a list of the questions00:11
@rizenso that you can tie a question's guid directly to it00:11
@rizenWhy is %s your favorite color?00:11
@rizenand then use sprintf to put it in there00:11
perlmonkey2Okay, I like that.00:12
@rizenwow that's going to be a pretty powerful feature00:12
perlmonkey2Yeah, the people at work had a lot of them.00:12
perlmonkey2Good ideas, that is.00:12
perlmonkey2rizen: So how about the dialog defaults to one dropdown for variable replacement.  then an onblur on the text that counts %s and if there is more than 2 but less than 6, add that number of new drop downs?00:16
@rizensounds reasonable to me. so you're going to allow for follow up questions that combine the answers from multiple previous posts?00:19
@rizens/posts/responses/00:19
CIA-52WebGUI: colin * r5724 /WebGUI/t/Macro/SQL.t: sideport new SQL.pm macro test for multiline output00:20
wgGuest74excuseme perlDreamer, when you said me for multiline macro output from ^SQL, use \n in the template00:21
wgGuest74is to use my own macro or to use the SQL Macro00:21
-!- estive1 [n=estiven@static-adsl201-232-86-73.epm.net.co] has left #webgui []00:22
+perlDreameruse the ^SQL macro, but in the template, give it a newline "^1;\n"00:22
wgGuest74ok00:23
-!- estiven [n=estiven@static-adsl201-232-86-73.epm.net.co] has joined #webgui00:26
perlmonkey2rizen: unless you see a reason not to?00:26
@rizennope, that's just super powerful00:26
@rizengotta be careful not to confuse your average survey admin00:27
perlmonkey2I'm not sure how to use the SQL.pm to bring back more than 2 columns.  Is there a module with an example?00:27
perlmonkey2Hopefully they won't be confused because they shouldn't see the extra drop downs unless they add more than 1 %s00:27
perlmonkey2nm, I found an exmaple00:28
perlmonkey2oh, it works like you'd think it would.  The pod info said something about more than two columns being concat'd with a ":" that confused me.00:30
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui00:39
+perlDreamerperlmonkey2: do we need a pod patch for that?00:40
perlmonkey2I don't know....In all probability I just didn't understand the docs.00:40
+perlDreamerwhich method?00:40
perlmonkey2buildArrayRef*00:41
perlmonkey2any of them00:41
perlmonkey2If the query selects more than two columns, then the last column will be the value and the remaining columns will be joined together by a colon ":" to form a complex key.00:41
perlmonkey2From buildArrayRefOfHashRefs00:41
+perlDreameryeah, that's what it does.  It's correct00:42
+perlDreamerI wonder if that's tested...00:42
perlmonkey2but you really get [{k1,v1},{k2,v2}...}00:43
perlmonkey2er close with ]00:43
perlmonkey2if you have columns k1,k2,k3  you get back [{k1,v1,k2,v2,k3,v3},...]00:44
perlmonkey2I don't undestnad where the concat comes in?00:44
+perlDreamerme either00:44
+perlDreamerit looks like copy/paste bug from buildHash, buildHashRef00:44
perlmonkey2not sure why buildHash does that though00:45
@rizenbecause you can't have multiple keys00:46
@rizenso it generates a composite key00:46
@rizenselect userId,groupId, groupName from sometable00:46
@rizenmakes $hash{userId-groupId} = "group name";00:47
@rizenget it?00:47
perlmonkey2Okay, yeah, that makes sense now.00:47
perlmonkey2I can see how that would be a very useful method to have.00:47
@rizenWebGUI::SQL is built from years of love00:48
@rizenthere's lots of great utility methods in there to do crazy stuff in one line of code00:48
perlmonkey2I like it :)00:48
perlmonkey2in the db, what is the preferred way of doing booleans?00:50
perlmonkey2a mysql bool type?00:50
+perlDreamerusually we use ints with 0 and 100:50
perlmonkey2perlDreamer: But you are totally wasting 7 bits of space!00:51
perlmonkey2:P00:51
* perlDreamer passes perlmonkey2 254 values00:51
@rizenyou can use tinyint00:52
@rizenhehe00:52
@rizeni honestly didn't even know that mysql had a bool type00:52
perlmonkey2I have no idea what mysql's internals are for boolean...probably tinyint :P00:52
@rizendoes it return 1/0 or true/false?00:53
perlmonkey2j/s I'll test00:53
perlmonkey2select true returns 100:53
+perlDreamerhow 'bout select false?00:54
perlmonkey2000:54
@rizenit's a 000:54
@rizennice00:54
@rizenwe should start using that00:54
perlmonkey2looks like it is a bit00:54
perlmonkey2but a signed bit00:55
perlmonkey2so two bits?00:55
perlmonkey2that is just guessing because mysql-admin gives the option of setting it unsigned00:55
+perlDreamerthat's 6 bits savings / row00:55
+perlDreamerit bet it uses int(2) internally00:56
perlmonkey2well if you want to start using it for all my bool columsn :)00:56
perlmonkey2I mean "I'll start using it for ..."00:56
@rizeni just switched all the create scripts for the new commerce system to use bool00:57
@rizenand the yesNo form control00:58
perlmonkey2that was fast.00:58
@rizenthat's what my wife says00:58
perlmonkey2DOH :O00:59
@rizen=)00:59
perlmonkey2looks like it is a TINYINT(1) internally00:59
@rizeni was going to say it about MrHairgreases girlfriend but i wasn't sure if he's here or not00:59
perlmonkey2hah00:59
-!- wgGuest74 [n=wgGuest7@static-adsl201-232-86-73.epm.net.co] has quit [Remote closed the connection]01:02
-!- lisette [n=liraos@static-adsl201-232-86-73.epm.net.co] has quit ["Leaving."]01:04
* perlmonkey2 realizes he was getting bits and bytes mixed up earlier...whups 01:13
* perlmonkey2 hands in his programmer creds and goes to dig ditches.01:13
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit [Remote closed the connection]01:13
@rizennooooooOoooooOOOOOooooooo!01:13
@rizenyou must finish the survey and dethrone the reigning webgui community tyrant known as perlDreamer01:14
perlmonkey2Hah, perlDreamer can probably get his bits and bolts right01:14
@rizenhe has a bunch of runaway processes today01:15
@rizenhe almost sig hupped himself01:15
perlmonkey2Although the farther I get into this version of the survey system the more excited I get.  As long as I can keep ajax calls sub 500ms+latency I think it will be very fun to use.01:15
perlmonkey2wow, that is serious when you are ready to do that.01:16
* MrHairgrease is about to sig hup01:18
+MrHairgreaselater01:18
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has left #webgui []01:18
-!- perlDreamer is now known as perlTyrant01:19
+perlTyrantmuch better :)01:19
@rizenindeed01:19
+perlTyrantrizen: Tim drew a picture of you.  Would you like to see it?01:20
@rizenpd in 10 minutes or so i should have the shipping address chooser complete01:20
@rizensure01:20
@rizenare you emailing it to me?01:24
+perlTyrantyup01:25
+perlTyrantit's a whiteboard drawing01:25
+perlTyrantI think he's captured the inner you01:25
@rizenwell at least it's not the outer me...that would have set the whiteboard on fire01:26
+perlTyrantwe would have needed a taller whiteboard01:27
+perlTyrantbig smile, flared nostrils, beard.  That's gotta be JT01:27
+perlTyrantdid you get it?01:28
@rizennot yet01:29
@rizenspoke too soon, there it comes01:30
-!- perlTyrant is now known as perlDreamer01:30
CIA-52WebGUI: doug * r5725 /WebGUI/ (28 files in 12 dirs): 01:31
CIA-52WebGUI: Added WebGUI::Asset::File::GalleryFile01:31
CIA-52WebGUI: Changed Photo to subclass WebGUI::Asset::File::GalleryFile01:31
+perlDreamerwhat do you think?01:32
+perlDreamerconsidering he hasn't seen a picture of you in 5 months, it's not too bad01:32
@rizenwow that looks exactly like me01:34
+perlDreamerI'll tell Tim.01:35
@rizeni'm going to have to put that up as my picture on my bio page01:35
@rizen=)01:35
@rizenunfortunately my pr folks would never let me get away way that01:35
+perlDreamerjust flash them that winning smile and they'll concede01:36
+perlDreamerso far, we have 232 tests for Shop modules01:36
nubatheres a list of imagebins at the wiki irc page01:36
@rizenwow01:36
@rizen232, i must have only written about 3 of those01:36
+perlDreamernot01:37
+perlDreamermore like 4001:39
@rizenwhy do things never work exactly how i plan them to work01:40
+perlDreamerit's a governmental conspiracy01:41
+perlDreamerWhen you made Campaign Secrets, it demonstrated an unusual insight into contemporary american politics01:41
@rizenhehe01:42
+perlDreamerwhich means that you could reveal things they hide from the public01:42
+perlDreamerthat's why they hired me to infiltrate your world and disrupt it01:42
+perlDreamerthink now of all the time you spend on IRC, and testing01:42
+perlDreameryou think all those leaks are accidents?01:43
+perlDreamernow you're so busy you can't use your knowledge to interfere with their control of american culture01:43
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI01:45
@rizenyou make very good points01:49
@rizenbut i think that you might also be a government conspiracy...cuz all this time i talk to you i could be spending time doing something to improve webgui01:49
CIA-52WebGUI: colin * r5726 /branch/WebGUI_Commerce/ (4 files in 2 dirs): Add coverage tests, convert croaks to exceptions.01:50
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui01:52
@rizenpd, do you remember the empty list problem01:57
@rizenfor hashes01:57
+perlDreameryes01:58
@rizenits back01:58
@rizenor rather i found another place where it occurs01:58
+perlDreamerwhere?01:58
@rizenforms01:58
@rizen$session->form->get("somefield");01:58
@rizenif you put that directly into a hash, and the parameter doesn't exist01:59
@rizenyou'll get the problem01:59
+perlDreamerthat's because of context, and wantarray, I think01:59
+perlDreamer=> is list context01:59
@rizenah01:59
@rizenwell shit02:00
+perlDreamerso if it isn't there, it returns ()02:00
@apeironer? => is a fancy comma that quotes its lefthand side. :)02:00
@rizenso basically there's no way to fix it for forms then?02:01
+perlDreamernot without changing the API for the form interface02:02
+perlDreameror, you can't use listy hash assignments and have to do it 1 by 102:02
+perlDreamerapeiron: exactly, but it's list context, not scalar context02:03
@rizenpreaction, or anyone here that knows css02:14
@rizenhow do i make a <form> that doesn't add a break after it02:14
@rizeni thought it was display:inline but apparently not02:14
-!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui02:14
-!- mode/#webgui [+v Radix-wrk] by ChanServ02:14
@preactionit shouldn't be the form02:14
@preactionor is it just in IE6?02:14
@rizenforms automatically add 2 carriage returns after them in all browsers02:15
@preactionform doesn't really have any display itself, but things inside it can02:15
@rizeni'm telling you that it does02:15
@preactionperhaps * { margin: 0; padding: 0; }02:15
@rizenok02:15
@preactionor form { margin: 0; padding: 0; } to restrict it to just forms02:15
@rizenwait, does the * have any significance?02:15
@preactionyes02:15
@preaction* means all elements02:15
@rizenwhat is that?02:15
@rizenoh i don't want it on all02:15
@preactionso form { ... } instead02:16
@rizenthat didn't do it either02:16
@rizenand actually...it can't be that come to think of it02:16
@rizenif you do <form>somecrap</form>02:17
@rizenand then do it again02:17
@rizenyou'll see that they sit on top of each other02:17
@rizennot side by side02:17
@rizenso this has to have something with being displayed block level02:17
@preactionyou want them side-by-side?02:17
@preactionfloat: left; might work02:17
@preactionbut it could have unintended side-effects02:17
@rizenbut i don't want them to float02:17
@rizenexactly02:18
@rizeni just want them to work like <span> tags02:18
@rizenrather than <div> tags02:18
@preactiondo you have a URL or a paste I can see the contents?02:18
@rizenand i thought that was what display:inline vs display:block was all about02:18
@rizeni just did: <form>somecrap</form><form>some crap</form>02:18
@rizeneach of these forms will have only one element in it. a button02:20
@rizenso i want the buttons to sit side by side02:20
@rizengranted i could do it with some javascript and use the same form02:20
@rizenbut i don't want to02:20
@rizenso there has to be a way to do this02:20
@rizendamn it02:21
@rizendisplay:inline does work if i put it right into the form02:21
@rizenit just doesn't work when i do: div.addressBlock form { display: inline; }02:21
@rizenin a style sheet02:22
@preactionis there something more specific that's overriding it? perhaps something like #id form { ... }02:22
@rizennope, no id on the form02:23
@preactionfirebug would show you all the selectors that affect the element, and which ones are actually working02:23
@rizenhttp://webgui.pastebin.com/d7e3fbf1402:23
@rizenif you want to see all the code02:23
CIA-52WebGUI: colin * r5727 /branch/WebGUI_Commerce/t/Shop/AddressBook.t: coverage tests for AddressBook update02:25
@rizengot it02:25
@rizenturns out that WebGUI::Form::formHeader puts a div inside the <form> so even though the form was inline the div wasn't02:26
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit [Remote closed the connection]02:26
@rizenWAHOOOOOOOO!!!!!!02:32
@rizenthe address book is working02:32
@preactionwahooooo!!!1102:33
@preactionseriously, you guys are going to have this in 7.5? does that make 7.5 the new 8.0?02:33
@preactionwhat is 7.5 NOT going to have? it's gonna be huge02:33
@rizenwe've never had a 6 month dev cycle before02:33
@preactiontrue02:34
* apeiron gets to work on wG::KitchenSink.02:34
@rizenthat makes each release that much cooler02:34
@rizenyes, this will be done in 7.502:34
@rizenand thingy should be done in a couple weeks too02:34
+perlDreamerI hate art02:34
@rizenwhich reminds me, someone needs to write a mailform asset02:34
@rizenwhy?02:35
+perlDreamerbecause there are no rules at all for art02:35
@rizentrue02:35
+perlDreamermuch of it is impression and connotation, and semiotics02:35
@preactionthere are guidelines02:35
@rizenpd you have to check out the new address book thing02:35
@rizenit works so damn well it's ridiculous02:35
+perlDreamersvn update?02:35
@rizenyup02:36
+perlDreamerhow do I access it?02:39
+perlDreameris there a button to it, or just by op?02:39
@rizen?shop=cart02:41
@rizenthen click on the shipping address02:41
@rizenyou'll need to reset dev02:43
@rizencuz i added templates and stuff02:43
+perlDreamerI noticed the upgrade change, and did02:43
+perlDreamerIt looks good!02:43
@rizeni haven't tried adding some tax info to the tax table and see if it calculates and displays correctly yet02:44
+perlDreamermaybe I should start working on the Tax UI02:45
+perlDreamerat least import02:45
+perlDreameroh, I was going to ask you.02:45
+perlDreamerThe old commerce tax form used ajax.  Do you want the new one to?02:45
@rizenjust did, and it works02:46
@rizensure02:46
@rizenmake it as cool as you like02:46
@rizenin fact, i was thinking maybe we should use yui's coolio data table thing02:46
@rizenhttp://developer.yahoo.com/yui/datatable/02:47
CIA-52WebGUI: jt * r5728 /branch/WebGUI_Commerce/ (7 files in 5 dirs): 02:47
CIA-52WebGUI: address book works02:47
CIA-52WebGUI: yesno uses bool now instead of int02:47
+perlDreamereek, it's huge!02:48
-!- perlDreamer is now known as jsPhobic02:48
* jsPhobic will think about it while showering02:48
@rizenone thing i still have to do is if you select United States as your country, then you need to have a drop down list of states rather than typing it in 02:49
@rizenotherwise it will never match the tax algorithm02:49
-!- jsPhobic [n=colink@pool-71-117-235-252.ptldor.fios.verizon.net] has quit [Read error: 113 (No route to host)]03:06
-!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui03:07
-!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has left #webgui []03:08
-!- perlDreamer [n=colink@pool-71-117-235-252.ptldor.fios.verizon.net] has joined #webgui03:12
-!- mode/#webgui [+v perlDreamer] by ChanServ03:12
+perlDreamerstupid suspend mode03:12
+perlDreamerwill that dropdown extend to all countries?03:13
+perlDreamerSounds like a lot of data.03:13
+perlDreamerbut it makes the Tax a lot easier03:15
+perlDreamersince you don't have to worry about matching Wisconsin, WI, Wi, wi and so on03:15
-!- perlDreamer is now known as perlDinner03:16
@rizeni don't know how it will work03:18
@rizeni guess maybe we need a "State" manager or something03:18
@rizencuz where else would we get all the states and provinces in all the countries of the world?03:19
@rizeneither that or maybe in the tax code we should allow for Wisconsin|WI and then make it a case insensitive match03:19
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui03:35
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit [Client Quit]03:39
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Connection timed out]04:19
+Radix-wrkAs long as you don't assume WA is always Washington (it's also Western Australia) - I'm happy.04:32
@rizenradix, it's ok04:38
@rizenwe already have something in there that says if you're from oz charge 200% tax04:38
+Radix-wrkawesome04:40
+Radix-wrklong as I collect that tax, I'm happy with that ;)04:40
@rizenactually the more i think about it the more i realize that we're going to have to rework tax to be hierarchical04:40
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit []04:56
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui05:13
-!- mode/#webgui [+o preaction] by ChanServ05:13
perlmonkey2anyone awake?05:51
+perlDinneryup05:51
perlmonkey2The Survey currently uses a Survey_id as the foreign key to tie all the tables together.  Any reason I couldn't just use the Survey's assetId?05:52
+perlDinnerI think rizen answered that question earlier05:53
perlmonkey2The Survey_id is a newly generated id, but it is also a unique identifier of the survey.  So the assetId should serve the same puprose.05:53
perlmonkey2yeah05:53
+perlDinnerSomething along the lines of it not being one of his best ideas05:53
+perlDinnerso use the AssetId05:53
+perlDinnerbtw, payback time is coming05:53
perlmonkey2this is what I get for sitting down to hammer out some code right before I pass out from lack of sleep.05:53
-!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: perlbot, CIA-52, nuba, @apeiron05:54
+perlDinnerrizen wants me to use JS for the tax management screens, so _you_ will be the master :)05:54
-!- Netsplit over, joins: @apeiron, CIA-52, perlbot, nuba05:54
perlmonkey2hah05:54
perlmonkey2I doubt you'll need my help.  JS doesn't really offer much challenge to a good perl dev, and the YUI is super easy and well documented.  You'll be beyond me in hours.05:55
perlmonkey2But it sure is fun to use.05:55
+perlDinnerwell, you see05:56
+perlDinnerI've tried before, and it's been very, very bad05:56
perlmonkey2No worries, I feel like I've taken a lot more than I've given here, so I'm eager to help out in any way I can.05:58
@preactionJS requires a different way of thinking05:58
@preactionit's all event-driven, user interface jibjag05:58
+perlDinnerthat's part of the problem05:58
+perlDinnerI think Unix/perly05:58
@preactionhard to get a clear, a-to-z, start-to-finish in it05:59
perlmonkey2The biggest hurdle for me is the hard line between data objects and dom objects.  You work with them in entirely different way; the dom being this *thing* that gets in the way of what you're trying to do. You try to tie data to the dom, but it just gets ugly in a hurry.  06:00
@preactionyeah. i usually make at least three methods just to manipulate the DOM portions I need06:01
@preactionthe YUI DataTable is probably useful and would save me time most likely06:02
perlmonkey2Yeah the datatable is just down righ tsexy.06:11
perlmonkey2Powerful stuff there.06:11
-!- perlDinner is now known as screwedDreamer06:12
perlmonkey2screwedDreamer: You feeling worse I guess?06:13
+screwedDreamerbetween the virus and the JS, yeah06:14
+screwedDreamerI'm probably just psyching myself out06:14
@apeironCan I throw in a side dish of "I hate JS"?06:14
@apeiron(not just to fit in, I promise)06:15
+screwedDreamerIt's a potluck, bring what you will06:15
@apeironI have a side of "I hate JS" and some really well-done scrapple.06:15
+screwedDreamerthere was a time when there was a perl plugin for Netscape06:15
perlmonkey2Parrot holds that promise for the future.06:15
@apeironAnd now Netscape is EOL.06:15
+screwedDreameras long as IE holds out for JS, I don't think parrot has a chance on the browser06:16
@apeironI thought pugs or parrot was targetting JS as an execution backend.06:16
+screwedDreamersure06:16
+screwedDreamerbut how would you get IE to buy into distributing the parrot plugin by default?06:16
+screwedDreameror Opera?06:16
@apeironWhich is... frankly scary, although altogether not surprising coming from the folks working on either project.06:17
@apeironah, good point.06:17
@apeironYou could do what every Flash and Java application on the entire intarwebs does, and use JS to determine whether they have the feature and send them to go get it if they don't.06:17
@apeironIt's kind of like how Flash works in comparison to IE releases. In between every IE release there's several Flash releases. I think I just upgraded my IE in my WinXP VM (by the way, running my Windows Boot Camp installation in VMWare is absolutely amazingly cool) and it came with Flash 6.06:19
@apeironMy Mac has Flash 9.06:19
@apeironUpgraded the IE to 7, that is.06:20
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui06:21
-!- mode/#webgui [+o rizen] by ChanServ06:21
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)]06:22
perlmonkey2Is there a method I can overload that is called after the autogenerate form is processed?  I wan to initialize a collateral table upon asset creation.06:23
+screwedDreamerperlmonkey2: that would be editSave06:24
perlmonkey2screwedDreamer: Even sick, you're like a wg ninja06:24
+screwedDreamerrizen: can you please expand on your earlier thought about tax and hierarchy?06:24
@rizensure, but first why are you now screwedDreamer?06:24
+screwedDreamersick, and have to learn JS :)06:25
@rizenhehe06:25
@rizenyou don't have to06:25
+screwedDreamerjust whinging06:25
@rizenit was just a suggestion to make it super cool06:25
perlmonkey2whinging is good for the soul.06:25
+screwedDreamerokay, back to tax hierarchy06:26
@rizenmy thought is that tax is going to have to be a match like this: country + state + city or country + code or country + city06:26
@rizenit can't be just city or state or postal code06:26
@rizenit needs to be further categorized by country06:26
perlmonkey2hmm, so I overload editSave make the  $self->SUPER::editSave(@_); call, now will $self->getId() be useful/06:26
@rizenso i recommend that we change the tax table to look like this:06:26
@rizentaxId, country, state, city, code, taxRate06:27
@rizenand then match all that are filled in on a given row06:27
@rizenso if only code is filled in, then we match just on code...but that means it will only work for the country where the postal codes are filled in for06:28
@rizenbecause postal codes might be reused around the world06:28
@rizenbut more likely it will match against06:28
@rizenUSA, WI, Madison06:28
@rizenor USA, 5371506:29
+screwedDreamerso how does that work with multiple sources of taxes06:29
+screwedDreamerWI => 5%06:29
@rizenin addition, i think we need to do what i said earlier 06:29
+screwedDreamerMadison 0.5%06:29
@rizenWisconsin|WI06:29
@rizenthey'll instead need to be filled in for each thing you want to match all tallied06:29
@rizenUSA, WI, Madison => 5.5%06:30
@rizenso it won't work the way i originally wanted06:30
+screwedDreamermanually summed versus automatically summed06:30
@rizenbut this new way is far more workable worldwide06:30
@rizenright06:30
+screwedDreamercould we put in wildcards into the don't care fields?06:30
@rizenbecause as Radix pointed out, both US and Oz have states called WA06:30
+screwedDreamerUSA, Wi => 5%06:30
+screwedDreamerUSA, WI, Madison => 0.506:31
@rizenblank is automatically wildcard06:31
@rizeni suppose we could do that06:31
@rizenthat makes sense06:31
@rizenapply all that match06:31
+screwedDreamerI'm glad I abstracted out the getTaxRates method now :)06:31
@rizenso i guess that will still work the same way then06:31
@rizenbut it's just a more restrictive match cuz it possibly combines country, state, city, and code06:32
@rizenplus it enables city, which is something i really wanted to include before but couldn't make it work06:32
@rizensince you could have a springfield in every state06:32
+screwedDreamerokay, so we rework for flat vs tall06:32
+screwedDreamergive me a few days06:33
@rizentake your time, tomorrow i'm going to be working on integrating shipping and then i'm moving on to admin screens06:33
+screwedDreamerokay, time to work on my own taxes for a bit06:33
+screwedDreamercatch y'all tomorrow06:33
@rizenlater06:33
-!- screwedDreamer [n=colink@pool-71-117-235-252.ptldor.fios.verizon.net] has quit ["Leaving."]06:34
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit []06:34
-!- ryuu_ro [n=rory@194.171.50.69] has joined #webgui08:45
-!- diakopter [n=diakopte@pdpc/supporter/active/diakopter] has quit [Read error: 110 (Connection timed out)]08:46
-!- Radix-wrk [n=Jesse@203.161.68.67] has quit ["Leaving"]09:44
-!- patspam [i=chatzill@ppp59-167-128-63.lns3.mel6.internode.on.net] has joined #webgui09:45
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui09:47
-!- mode/#webgui [+o preaction] by ChanServ09:47
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui09:53
-!- jdan [n=jdan@195.116.30.251] has joined #webgui10:10
-!- BartJol [n=plainstu@194.171.50.123] has joined #webgui10:57
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)]12:28
-!- patspam [i=chatzill@ppp59-167-128-63.lns3.mel6.internode.on.net] has quit ["ChatZilla 0.9.81 [Firefox 2.0.0.12/2008020121]"]13:50
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has quit [Read error: 110 (Connection timed out)]14:04
-!- estiven [n=estiven@static-adsl201-232-86-73.epm.net.co] has left #webgui []14:06
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI14:07
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has quit [Client Quit]14:07
-!- jdan [n=jdan@195.116.30.251] has quit ["Leaving"]15:06
-!- estiven [n=estiven@static-adsl201-232-86-73.epm.net.co] has joined #webgui15:11
-!- knowmad [n=william@97.66.185.250] has joined #webgui15:53
knowmadhello15:54
ckotilgood morning15:54
knowmadmorning.15:55
knowmadare you doing bandwidth monitoring on any of your WRE servers?15:55
ckotilI am not.16:17
ckotilI do run ganglia on all my machines, including the web server. So i can get a pretty good idea of what's going on, including load, bandwidth, disk i/o, memory swapped, etc..16:18
knowmadckotil: thanks. i'll check out ganglia. never heard of it before16:20
ckotilits a nice app to have for spotting problematic servers.16:20
ckotilstick around though, there may be a better solution to monitor wre bandwidth.16:20
knowmadare you alluding to something?16:21
ckotilyes, that it is still early and most people arent awake or watching the channel yet.16:21
+Radix_ganglia.. never heard of it either16:21
+Radix_I use munin16:21
knowmadlooks like a nice app16:21
knowmadcan munin do bandwidth monitoring?16:22
ckotilmunin creates RRD graphs as well. nice.