--- Log opened Sat Mar 01 00:00:00 2008 --- Day changed Sat Mar 01 2008 00:00 < wgGuest79> ok 00:00 <+perlDreamer> Does it say that in the docs for WebGUI::Group.pm ? 00:00 < wgGuest79> i am going to look for the method 00:01 < cap10morgan> i see 00:01 < wgGuest79> in WebGUI::Group.pm there is not a create method 00:04 < estiven> in WebGUI::Group.om doesn't exist a create method.... i can't find too 00:07 < estiven> Can't locate object method "create" via package "WebGUI::Group" at /data/WebGUI/lib/WebGUI/Macro/..... 00:08 < wgGuest79> so, where is that method? 00:08 < estiven> mm, i don't know... 00:08 <@rizen> WebGUI::Group->new($sesion, "new") 00:09 <@rizen> my $newGroup = WebGUI::Group->new($ssesion, "new"); 00:09 <@rizen> it's a very old api so it doesn't conform tot he same specs as our other objects 00:10 < estiven> WebGUI::Session::ErrorHandler::warn[430] - WebGUI::Group->new called with a non-existant groupId:[prueba] 00:10 < wgGuest79> perlDreamer wrote that new pull an existing group 00:12 <@Haarg> you have to pass in 'new' as the second parameter to create a group 00:13 <+perlDreamer> perlDreamer has seen too much API recently 00:14 < estiven> mm, i try it 00:19 < estiven> yes works... 00:19 < estiven> my $g = WebGUI::Group->new($session,"new"); 00:19 < estiven> $g->name("prueba"); 00:19 < estiven> thanks 00:20 <+perlDreamer> cap10morgan: it's in 00:20 <+perlDreamer> svn rev 5687 00:20 <+perlDreamer> Interception of logging now has to be enabled. 00:21 < cap10morgan> perlDreamer: cool. does it go to webgui.log o/w? 00:21 <+perlDreamer> yes 00:21 < cap10morgan> excellent, thanks for doing that 00:21 <+perlDreamer> you're welcome 00:21 <+perlDreamer> it could use some polish 00:21 <+perlDreamer> the queue is a scalar, so it's only one call deep 00:21 <+perlDreamer> and as it stands, there's no way to turn it off once enabled 00:27 < CIA-21> WebGUI: 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:28 <+perlDreamer> has anyone else noticed that the SVN RSS feed is from 1969 00:29 <@preaction> it's probably not sending out the pubDate field. 00:29 < cap10morgan> Haarg: can I clone your WebGUI git repo? 00:29 <@Haarg> heh 00:29 <@Haarg> i should put it somewhere 00:29 <@Haarg> it's a pain to do the initial import 00:29 < cap10morgan> yeah, that's what i'm discovering :) 00:37 <@rizen> Haarg, if you do that make sure that it doesn't expose your user/pass or privileges to anyone 00:37 <@Haarg> it doesn't store than in the repository 00:37 <@Haarg> it just goes in the same place svn auth stuff normally does 00:37 <@rizen> well pd, i'm outy for the weekend, i've checked in the base address book system, still have to do the ui for it 00:38 <@rizen> we made very good progress this week perlDreamer. 00:38 <+perlDreamer> thanks, man 00:38 * rizen pats perlDreamer on the back 00:38 <+perlDreamer> I should have the tax migration script done soon, too 00:38 <@rizen> nice 00:39 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [No route to host] 00:39 <@rizen> hopefully next week we can have address book, shipping, and tax all finished and integrated into the cart 00:39 <@rizen> as well as all the admin screens for each 00:39 <+perlDreamer> and doesn't Joeri and crew turn on next week, too? 00:39 <+perlDreamer> we may make the deadline, yet! 00:40 <@rizen> march 5th i think he said the current project is done 00:40 <@rizen> we'll make the deadline 00:40 <@rizen> that's not in question 00:40 <@rizen> the question is how much other goodies can we throw in by then 00:40 <+perlDreamer> :) 00:41 <@rizen> have a good weekend all 00:41 -!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit [] 00:44 < cap10morgan> Haarg: do you remember the git svn init command you used to pull in the WebGUI SVN repo? :) 00:49 < cap10morgan> I'm thinking of doing git svn init -t releases -b branch -T WebGUI https://svn.webgui.org/plainblack 00:50 < cap10morgan> here goes nuthin... 00:54 < nuba> rizen> | nuba you too 00:54 <+perlDreamer> rizen had a question about addressing 00:54 < nuba> was that re: multiple line addresses ? if yes, I think they're good :) 00:54 <@Haarg> that's basically it cap10 00:54 < cap10morgan> Haarg: cool, thanks 00:55 <+perlDreamer> I think the exact question was whether one line or multi-line addresses would be difficult for interational users 00:55 < nuba> blist 00:55 < nuba> oops, wrong window 00:56 < nuba> well, its unusual in Brazil to spell the entire address in a single line 00:56 <@apeiron> bitlbee++ 00:56 < nuba> apeiron: heh yeah 00:57 < nuba> bitlbee is great, except when it goes runaway an 99% CPU... 00:57 < nuba> and* 00:57 <@apeiron> I don't seem to have that problem, heh. 00:58 < nuba> lucky you, it happens to me every few weeks or so. 00:58 < nuba> and Im too lazy to go find out why 00:59 <@apeiron> Well, I don't notice it if it does... FreeBSD's scheduler doesn't actually let a process eat 100% of the CPU time. 01:00 < nuba> trust me, you'll notice. 01:01 <@apeiron> I've sat and watched processes labelled as "100%" in top and the system was perfectly responsive. :) 01:01 < nuba> one notices when all buddies are silent for more than a day 01:01 < CIA-21> WebGUI: jt * r5688 /branch/WebGUI_Commerce/ (6 files in 3 dirs): added address book management system, no ui 01:04 < nuba> heh, another thing one notices is the productivity boost 01:17 <+perlDreamer> cap10morgan: http://git.or.cz/course/svn.html 01:21 -!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit [Remote closed the connection] 01:30 <@Haarg> this is better for working with git-svn: http://utsl.gen.nz/talks/git-svn/intro.html 01:34 -!- wgGuest79 [n=wgGuest7@static-adsl201-232-86-73.epm.net.co] has quit [Remote closed the connection] 01:43 -!- lisette [n=liraos@static-adsl201-232-86-73.epm.net.co] has quit ["Leaving."] 01:43 < CIA-21> WebGUI: colin * r5689 /branch/WebGUI_Commerce/docs/upgrades/upgrade_7.5.2-7.5.3.pl: 01:43 < CIA-21> WebGUI: Migrate old tax data into the nex tax data script. 01:43 < CIA-21> WebGUI: Tested this manually and it works okay. 01:52 -!- estiven [n=estiven@static-adsl201-232-86-73.epm.net.co] has left #webgui [] 02:20 -!- cap10morgan [n=cap10mor@h19-afsc.ded.indra.com] has quit [] 02:48 -!- perlDreamer [n=ckuskie@nat039.mxim.com] has quit ["Download Gaim: http://gaim.sourceforge.net/"] 02:52 -!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI 03:16 -!- cap10morgan [n=cap10mor@206-124-6-111.denver.dsl.forethought.net] has joined #webgui 03:34 < CIA-21> WebGUI: arjan * r5690 /branch/WebGUI_7.4/lib/WebGUI/Asset/Wobject/WikiMaster.pm: fix: Wiki links to pages in trash (Arjan Widlak/United Knowledge) 03:51 < CIA-21> WebGUI: arjan * r5691 /branch/WebGUI_7.4/docs/changelog/7.x.x.txt: updated changelog: Wiki links to pages in trash (Arjan Widlak/United Knowledge) 05:49 -!- Radix__ [n=Radix@203.161.71.161.static.amnet.net.au] has joined #webgui 05:49 -!- Radix__ [n=Radix@203.161.71.161.static.amnet.net.au] has quit [Client Quit] 05:51 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)] 06:20 < CIA-21> WebGUI: colin * r5692 /branch/WebGUI_Commerce/designdocs/shipper.pod: 06:20 < CIA-21> WebGUI: I was able to build Shop::Ship without _loadDriver by 06:20 < CIA-21> WebGUI: using WebGUI::Pluggable directly. 07:08 -!- wgGuest85 [i=WebGUIUs@ip-159.net-82-216-114.rev.numericable.fr] has joined #webgui 07:09 < wgGuest85> speck french ? 07:11 -!- wgGuest85 [i=WebGUIUs@ip-159.net-82-216-114.rev.numericable.fr] has quit [Client Quit] 07:17 < CIA-21> WebGUI: colin * r5693 /branch/WebGUI_Commerce/ (lib/WebGUI/Shop/Tax.pm t/Shop/Tax.t): placeholder for calculate in Shop::Tax.pm 07:31 -!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: steveo_aa 07:38 -!- Netsplit over, joins: steveo_aa 07:39 -!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: steveo_aa 07:40 -!- Netsplit over, joins: steveo_aa 10:15 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui 10:15 -!- mode/#webgui [+o preaction] by ChanServ 12:24 -!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has quit [Read error: 113 (No route to host)] 13:31 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)] 14:31 -!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has quit [Read error: 110 (Connection timed out)] 17:07 -!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI 17:58 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui 18:55 -!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui 18:55 -!- mode/#webgui [+o apeiron] by ChanServ 19:45 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui 19:45 -!- mode/#webgui [+o preaction] by ChanServ 22:21 < CIA-21> WebGUI: doug * r5694 /branch/doug-experimental: Removing my experimental branch since I can't seem to merge with HEAD 22:21 < CIA-21> WebGUI: doug * r5695 /branch/doug-experimental: Re-making my experimental branch because SVN hates me 22:41 <@apeiron> No, no, it's CVS that hates you. It even tells you so. 22:41 <@preaction> then why wouldn't svn let me merge in the YUI changes to my branch? 22:41 <@preaction> you 22:41 <@preaction> YOU 22:41 <@preaction> YOU'RE THE ONE WHO UPGRADED YUI 22:41 <@apeiron> Yep. 22:42 <@preaction> that means it's clearly entirely your fault 22:42 <@apeiron> Or you should have synced more frequently. 22:42 <@preaction> it was only 40 revisions 22:43 <@apeiron> Hmm. What were your changes, anyway? 22:44 <@preaction> none. or do you mean what was i doing in my branch? 22:45 <@apeiron> In your branch. 22:46 <@preaction> my Report asset, planning on some backwards-compatible improvements to the Asset API 22:46 <@preaction> the Calendar List View was in there until I merged it into HEAD 22:46 <@apeiron> meep. 22:46 <@apeiron> er, did my YUI update wipe out those changes? 22:47 <@preaction> no, i got what i needed out and then destroyed the branch and recreated it 22:47 <@preaction> i couldn't commit the merge 22:47 <@apeiron> Conflicts, I imagine? 22:47 <@preaction> resource was out-of-date, but svn up did nothing 22:47 <@apeiron> fun. 22:47 <@preaction> indeed 22:48 <@preaction> http://www.netgear.com/Products/Storage/ReadyNASNVPlus.aspx <- thinking of scoring me one of these babies 22:48 <@preaction> even though they're $900 w/o disks 22:49 <@apeiron> Pretty nice. I was looking at a similar toy on the Apple site. Will link if I can find it. 22:49 <@apeiron> The 1TB Time Capsule, if you're familiar with it. 22:49 <@preaction> i remember back in the day when 40GB was "You'll never fill it up". 22:49 <@preaction> i've seen it, yes 22:49 <@apeiron> http://xrl.us/bgzv8 (Link to store.apple.com) 22:50 <@preaction> it'd go great on-top or under the new mac mini 22:50 <@preaction> incidentally, if you're ever going to buy one, don't skimp. get the biggest one you can 22:50 <@apeiron> Oh, yeah, of course. 22:50 <@preaction> apparently mine isn't powerful enough to decode h.264 video 22:50 <@apeiron> Oh, the minis. 22:50 <@apeiron> I thought you meant a NAS. 22:50 <@preaction> even though Apple recommends a 1.8Ghz 22:50 <@preaction> oh, no 22:51 <@apeiron> I've been looking at them. 22:51 <@apeiron> Right now I have an ancient 233 MHz box running a buncha stuff on the network. 22:51 <@apeiron> It's got the keyboard, got the monitor. The Mini would far surpass it in all of its stats. 22:52 <@preaction> oh yeah 22:52 <@apeiron> I'm actually seriously looking into going to school right now, so it may wait. 22:52 <@apeiron> Online learning, of course. 22:53 <@preaction> the time capsule does seem pretty awesome, it's a hub, print server, and all sorts of stuff to improve the Mac Mini 22:53 <@apeiron> Oh wow, it's a base station. 22:53 <@preaction> yeah 22:53 <@apeiron> I totally missed that. 22:54 <@preaction> that + maxed out mini = $1700, which is pretty good for the capabilities 22:57 <@apeiron> I might also do the Mini thing so I have an actual desktop. 22:57 <@apeiron> (as opposed to endless Unix workstations) 22:58 <@apeiron> Going 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. 23:06 < cap10morgan> Haarg: 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:08 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."] 23:09 -!- perlDreamer [n=colink@pool-71-117-235-252.ptldor.fios.verizon.net] has joined #webgui 23:09 -!- mode/#webgui [+v perlDreamer] by ChanServ 23:23 <@apeiron> perlDreamer, 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 <+perlDreamer> ha! 23:23 <+perlDreamer> I like tht 23:23 <+perlDreamer> that 23:24 <@apeiron> Figured you would. 23:24 <+perlDreamer> So, how do I persuade you to start writing tests? :) 23:24 <+perlDreamer> A test a day keeps the perlDreamer away 23:24 <@apeiron> heh 23:50 < CIA-21> WebGUI: colin * r5696 /branch/WebGUI_Commerce/ (lib/WebGUI/Shop/Tax.pm t/Shop/Tax.t): add a input validation check and test for Tax->calculate --- Day changed Sun Mar 02 2008 00:15 -!- perlDreamer [n=colink@pool-71-117-235-252.ptldor.fios.verizon.net] has quit ["Leaving."] 00:16 < CIA-21> WebGUI: colin * r5697 /branch/WebGUI_Commerce/t/Shop/AddressBook.t: stub out Shop::AddressBook tests for new and create 01:50 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit ["Leaving"] 02:14 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui 02:29 -!- perlmonkey3 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui 02:31 -!- perlmonkey3 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [Client Quit] 02:41 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [Read error: 113 (No route to host)] 02:43 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui 03:19 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."] 03:22 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui 04:23 < perlmonkey2> anyone not out at a bar? 05:17 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui 05:17 -!- mode/#webgui [+o preaction] by ChanServ 06:59 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [No route to host] 07:20 < CIA-21> WebGUI: 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 controls 07:27 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)] 08:01 < CIA-21> WebGUI: colin * r5699 /branch/WebGUI_Commerce/t/Shop/AddressBook.t: Address book tests for create, session, and initial data on object creation 08:07 -!- SDuensin_ [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI 08:09 -!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has quit [Read error: 110 (Connection timed out)] 08:45 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui 08:45 -!- mode/#webgui [+o preaction] by ChanServ 10:15 -!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has quit ["Windows doesn't have users, it has hostages."] 11:03 -!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has joined #webgui 11:03 -!- mode/#webgui [+v Radix_] by ChanServ 11:52 -!- Samus_Ar1n [n=ILL@S01060018f870a6ff.vc.shawcable.net] has joined #WebGUI 11:54 -!- Samus_Aran [n=ILL@about/linux/supportwhirlwind/SamusAran] has quit [Nick collision from services.] 11:54 -!- Samus_Ar1n is now known as Samus_Aran 12:25 -!- 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 #webgui 12:25 -!- mode/#webgui [+v Radix_] by ChanServ 12:51 -!- Samus_Aran [n=ILL@about/linux/supportwhirlwind/SamusAran] has left #WebGUI ["onwards I go ..."] 13:39 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)] 17:05 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui 18:14 -!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has joined #webgui 18:14 -!- mode/#webgui [+v MrHairgrease] by ChanServ 18:19 -!- perlDreamer [n=colink@pool-71-117-235-252.ptldor.fios.verizon.net] has joined #webgui 18:19 -!- mode/#webgui [+v perlDreamer] by ChanServ 18:29 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [Connection timed out] 18:31 < CIA-21> WebGUI: colin * r5700 /branch/WebGUI_Commerce/lib/WebGUI/Shop/ (AddressBook.pm Address.pm): 18:31 < CIA-21> WebGUI: WBGP align Address's update method. 18:31 < CIA-21> WebGUI: Remove unused variables and add some POD to AddressBook. 18:33 -!- SDuensin_ [n=Scott@12-226-44-250.client.mchsi.com] has quit [Read error: 110 (Connection timed out)] 18:38 -!- BartJol [n=plainstu@54-167.surfsnel.dsl.internl.net] has joined #webgui 18:38 <+perlDreamer> BartJol: You working on a Sunday? 18:38 < BartJol> not really 18:39 <+MrHairgrease> he bart! you're still alive after yesterday! 18:39 <+MrHairgrease> =) 18:39 < BartJol> if someone needs some help, I'm just at home and my roomate will cook 18:39 < BartJol> I wasn't that bad 18:42 < BartJol> just not in a party mood 18:48 <+perlDreamer> rizen is not going to be happy 18:48 <+MrHairgrease> is he ever? =) 18:48 <+perlDreamer> Every so often ;) 18:48 <+MrHairgrease> heh 18:48 <+MrHairgrease> don't tell him that. It'd make him angry 18:49 <+perlDreamer> That's a recursive function 18:49 <+MrHairgrease> i bet rizen hates recusrion =) 18:49 < CIA-21> WebGUI: colin * r5701 /branch/WebGUI_Commerce/ (4 files in 3 dirs): 18:49 < CIA-21> WebGUI: Fix some comment typos in t/Shop/AddressBook 18:49 < CIA-21> WebGUI: Add tests for WebGUI::Shop::Address 18:49 < CIA-21> WebGUI: Fix bugs in the upgrade script (missing city entry) and 18:49 < CIA-21> WebGUI: the Address new method. 18:50 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui 19:18 < CIA-21> WebGUI: colin * r5702 /branch/WebGUI_Commerce/ (t/Shop/Address.pm lib/WebGUI/Shop/Address.pm): 19:18 < CIA-21> WebGUI: Add a few more tests, and some POD to make sure that 19:18 < CIA-21> WebGUI: new is known to be different from create as an instanciator 19:18 < CIA-21> WebGUI: versus a constructor. 19:38 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui 19:38 -!- mode/#webgui [+o preaction] by ChanServ 19:52 <+MrHairgrease> http://xkcd.com/378/ 20:03 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."] 20:41 <+perlDreamer> real programmers use perl 20:41 <+perlDreamer> who cares about the editor? 20:43 <@preaction> perl programmers should use vim :p 20:46 <@preaction> ... so i've got an idea for AssetMixins that will allow you to add functionality to your assets with little code 20:46 <@preaction> the 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 created 20:47 <@preaction> which means import sees nothing in the symbol table 20:47 <@preaction> changing "use" to a require/import works just fine... 20:48 <@preaction> or, for some reason, putting the "use" after all the sub declarations works as well 20:54 <+perlDreamer> sounds like the same problem that ovid's mixin.pm has 20:55 <@preaction> tried putting it in a CHECK block, that didn't work either 20:56 <+perlDreamer> I looked into that when I was refactoring getEditForm into HTMLForm, to try and make it a mixin that lots of code could use 20:56 <+perlDreamer> but it seemed risky 20:58 <@preaction> nm, putting require/import in a CHECK or INIT block works just fine 20:58 <@preaction> but not use 20:59 <@preaction> it would work if i did a stringy eval 'use WebGUI::AssetMixin::Installable'; 20:59 <@preaction> because then it would happen at runtime and not compile time 21:00 <@preaction> and 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:01 <+perlDreamer> is JT taking weekends off? 21:02 <@preaction> he's trying to take more time away from being "plugged-in" as it were 21:02 <@preaction> in order to get more things Done 21:02 <@preaction> so i would expect he's either having a gaming weekend or working on something 21:05 <@preaction> now 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:07 <@preaction> wait... then why is it saying BEGIN failed?... wtf is perl doing? 21:14 <+perlDreamer> anybody have a copy of the movie, "The Shawshank Redemption" handy? 21:14 <+perlDreamer> I need the address that was printed on the letters rejected by the prison system when Andy was asking for money 21:18 <@preaction> he wrote to the State Senate 21:18 <@preaction> of Maine iirc 21:20 <@preaction> 3 State House Station 21:20 <@preaction> Augusta, ME 04333-0003 21:20 <@preaction> of course, that's Now, but it probably would've been that way 30 years ago too 21:21 <@preaction> http://www.vzavenue.net/~speedtech/ <- found the screenplay online 21:28 -!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI 21:43 <@preaction> laugh... i just reimplemented Class::Trait 22:01 <+perlDreamer> You're a monster 22:05 <@preaction> eh, i don't understand Class::Trait, and the code I wrote is better 22:05 <@preaction> but mixin works nicely 22:07 <@preaction> and it handles the inheritence 22:09 <+perlDreamer> why is it better than C::T? 22:10 <@preaction> it probably isn't, in the long run 22:10 <@preaction> or do you mean my code? my code does what C::T can't, it detects collisions and croaks 22:10 <@preaction> but it does so by requiring you to use import/require instead of use 22:11 <@preaction> also C::T won't work in mod_perl because it uses INIT 22:11 <@preaction> the mixin pragma is better than my code, because it handles collisions by adding inheritence instead of croaking 22:11 <@preaction> mixin works the way I'd expect Multiple Inheritence to work 22:12 <@preaction> i'm still evaluating if mixin can actually be a viable solution 22:13 <@preaction> with 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 mixin 22:21 <+perlDreamer> I think people are leaning toward traits nowadays. 22:25 <@preaction> okay, but how would it work under mod_perl? 22:26 <@preaction> Class::Trait->initialize() in preload.perl and WebGUI::Pluggable 22:28 <+perlDreamer> I don't know 22:28 <+perlDreamer> I just know that perl6 encourages traits 22:28 <+perlDreamer> and traits were added to p5, too 22:28 <+perlDreamer> but that was a while ago 22:30 <@preaction> right, but from what i'm reading about traits, isn't mixin just a simpler implementation of traits? 22:31 <+perlDreamer> I'm only relating what I've heard. 22:31 <+perlDreamer> I don't grok much beyond that 22:57 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui 23:02 -!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has quit [Read error: 110 (Connection timed out)] 23:06 -!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has joined #webgui 23:06 -!- mode/#webgui [+v MrHairgrease] by ChanServ 23:06 <+perlDreamer> MrHairgrease: How's the commerce hacking coming? 23:08 <+MrHairgrease> it's pretty much where I left it last thursday 23:09 <+MrHairgrease> Lemme check what I've done so far 23:10 <+MrHairgrease> martin@martin:/data/WebGUI$ svn status 23:10 <+MrHairgrease> ? t/Shop/PayDriver.t 23:10 <+MrHairgrease> ? t/Shop/Pay.t 23:10 <+MrHairgrease> ? lib/WebGUI/Shop/PayDriver.pm 23:10 <+perlDreamer> good start :) 23:10 <+MrHairgrease> those things are prettymuch fisnished 23:10 <+MrHairgrease> yeah, i took your tests and modified them 23:10 <+MrHairgrease> also change/added some stuff 23:10 <+perlDreamer> cool 23:10 <+MrHairgrease> the additions are mostly still in TODO blocks 23:11 <+MrHairgrease> and I haven't tested them yet 23:11 <+MrHairgrease> but all in all not a bad result for only half a day 23:11 <+perlDreamer> no 23:11 <+perlDreamer> Class::InsideOut makes object pretty easy 23:11 <+perlDreamer> don't have to write all those constructors 23:12 <+MrHairgrease> you mean getters? 23:12 <+perlDreamer> yeah, those too 23:12 <+MrHairgrease> I haven't really dug into C::IO yet 23:12 <+MrHairgrease> just enough to understand what you did in your shipping modules 23:13 <+perlDreamer> that's all I know about it, so, as usualy 23:13 <+perlDreamer> you're at least as smart as I am 23:13 <+MrHairgrease> so in a way you could say that you're my mr. Myagi =) 23:13 <+perlDreamer> Breathe in, breathe out 23:13 <+perlDreamer> make good perl 23:13 <+perlDreamer> Bansai, Martin-san bansai! 23:13 <+MrHairgrease> I don't bansai 23:14 <+MrHairgrease> i rock sometimes, but mostly roll 23:14 <+perlDreamer> It's Japanese for "Divine wind" 23:14 <+perlDreamer> wait a sec 23:14 <+MrHairgrease> oh I am into divine winds 23:14 <+perlDreamer> that's kamakaze 23:14 <+MrHairgrease> i try to confine those to the bathroom though... 23:15 <+perlDreamer> those aren't divine 23:15 <+perlDreamer> they are foul 23:15 <+MrHairgrease> bansi means attack or something like that i think 23:15 <+MrHairgrease> you have no idea 23:15 <+MrHairgrease> you never sniffed at them =) 23:15 <+perlDreamer> I feel blessed 23:16 <+perlDreamer> I should redo Tax and ShipDriver to use the setRow method in the db like rizen did 23:18 <+MrHairgrease> setRow, is that something like setCollateral? 23:18 <+MrHairgrease> I've spent way to much on hacking WebGUI lately 23:18 <+MrHairgrease> I have trouble keeping up with all the new features/api things 23:19 <@preaction> setCollateral uses setRow internally 23:20 <+MrHairgrease> i guess you invoke it by session->db->setRow? 23:22 <@preaction> yes 23:28 <+perlDreamer> it's easier than writing 'insert all this crap into this table unless it exists then do update' 23:32 <+perlDreamer> it's getting close to time to do a coverage check on the Shop code. 23:35 < CIA-21> WebGUI: colin * r5703 /branch/WebGUI_Commerce/t/Shop/ (Address.pm Address.t): Rename the test. Add tests for all the other methods. 23:46 < perlmonkey2> Has anyone looked at Plone's KSS? 23:47 < perlmonkey2> I wonder how hard it would be to port to WebGUI. 23:50 <@preaction> it seems to be all in python, so probably a bit difficult --- Day changed Mon Mar 03 2008 00:06 < perlmonkey2> But an extremely cool idea. 00:30 -!- BartJol [n=plainstu@54-167.surfsnel.dsl.internl.net] has left #webgui [] 00:47 <+perlDreamer> I think we talked about KSS earlier, but don't remember the discussion 00:47 <+perlDreamer> you could check the archives 01:14 < CIA-21> WebGUI: colin * r5704 /WebGUI/t/Workflow/Instance.t: 01:14 < CIA-21> WebGUI: Adding Knowmad's excellent Instance test script for exposing JSON 01:14 < CIA-21> WebGUI: problems in Workflow::Instance 01:38 -!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has left #webgui [] 03:21 <@preaction> so I've got AssetMixin::Installable working. before I really consider it a success, I'm going to make Subscribable 03:21 <+perlDreamer> you should make RSS first 03:22 <+perlDreamer> (imo) 03:23 <@preaction> ooh, i forgot about that one 03:26 <@preaction> that one will be easier no doubt 03:26 <@preaction> coding and baking cookies at the same time. much fun ;-) 03:27 * apeiron misinterpreted that to mean writing code dealing with cookies while also baking cookies. 03:29 <@preaction> good lord... the RSSCapable mixin would basically re-implement a lot of the SyndicatedContent wobject 03:29 <@preaction> so i open it up right? 03:29 <@preaction> bad idea... 03:39 <@preaction> theoretically... these things should work with the definition sub... i wonder... 03:54 <@preaction> ha. ha ha! it works! 03:54 <@preaction> I have a dream that Assets will be an amalgamation of component parts, each contributing to the whole! 03:54 <@preaction> I have a dream that Assets will be as easy to create as macros! 03:55 <@preaction> and I have a dream that I will stop using stupid gimmicks to try to impress people 03:56 <+perlDreamer> amen, brother! 03:56 <+perlDreamer> I just got done serving the kids chicken cordon bleu, mushroom tortellini with pesta and crou d'etat with hummus 03:57 <@preaction> you're serious? 03:57 <@preaction> that sounds awesome 03:57 <+perlDreamer> you're welcome to come over for leftovers 03:57 <@preaction> that's something i haven't tried to make yet, cordon bleu... 03:59 <+perlDreamer> I went to the Costco school of cooking, tonight 03:59 <@preaction> oh... lame... 03:59 <+perlDreamer> I was impressed that they were eating real, adult-type food 03:59 <@preaction> true enough 03:59 <@preaction> hummus would've been enough to put me off when i was 14 04:00 <+perlDreamer> they got exposed early. It was a part of a diet that I was on 04:01 <+perlDreamer> and actually, it was black bean hummus, which rocks 04:01 <+perlDreamer> hm 04:01 <+perlDreamer> I need to write the tests that expose that other bug in the AddressBook 04:31 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)] 04:47 < CIA-21> WebGUI: colin * r5705 /branch/WebGUI_Commerce/ (lib/WebGUI/Shop/AddressBook.pm t/Shop/AddressBook.t): 04:47 < CIA-21> WebGUI: More tests for addressBook. 04:47 < CIA-21> WebGUI: Fixed bugs in delete and getAddresses. 05:00 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."] 05:21 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui 05:21 -!- mode/#webgui [+o preaction] by ChanServ 05:25 -!- Samus_Aran [n=ILL@about/linux/supportwhirlwind/SamusAran] has joined #WebGUI 05:25 < Samus_Aran> hello. 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_Aran> Can't load Perl file: /var/www/WebGUI/sbin/preload.perl for server foo.com:0, exiting... 05:25 < Samus_Aran> which exists where it did before 05:26 < Samus_Aran> is 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:28 <@preaction> try perl -c preload.perl to find out why it's not loading 05:29 < Samus_Aran> it says it can't find WebGUI.pm in @INC 05:29 < Samus_Aran> though nothing has moved from where the former install worked 05:29 -!- patspam [i=chatzill@ppp121-44-242-221.lns4.mel4.internode.on.net] has joined #webgui 05:31 < Samus_Aran> it didn't erase my config files in etc I notice, as the new ones are all .original 05:31 <@preaction> preload.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:32 < Samus_Aran> where is that set environment script ? I had run it before in this shell session, but it is no longer set 05:32 < Samus_Aran> that is surely the issue 05:32 <@preaction> that won't do it, and you have WebGUI in /var/www, so you aren't running the WRE 05:33 < Samus_Aran> I mentioned above this is an upgrade of a manual install 05:33 <@preaction> the WRE has that set environment script, so without the WRE it's not necessary 05:34 < Samus_Aran> I thought it was necessary to tell it where you did install it to ? 05:34 < Samus_Aran> I don't quite remember, but I thought I updated it 05:35 <@preaction> setEnvironment 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 WRE 05:35 <@preaction> preload.perl, one of the first lines in there sets the $webguiRoot variable. you need to change what that gets set to 05:35 < Samus_Aran> oh. I think I updated the actual preload.perl file 05:35 < Samus_Aran> just updated that, thanks 05:35 <@preaction> imho it should be gleaned from an environment variable that is set from the apache configuration file, but that'd be an RFE 05:36 < Samus_Aran> that sounds like a good approach 05:36 < Samus_Aran> do you know if there are there any other files that need to be changed ? 05:36 * Samus_Aran goes to try Apache again 05:36 < Samus_Aran> worked 05:36 <@preaction> no i don't, i have my webgui at /data/WebGUI 05:36 < Samus_Aran> I thought it was that setEnvironment script I updated, but it was preload.perl. will try to remember that for next time 05:37 <@preaction> most things should just work. i think only preload.perl needs an absolute path, because apache doesn't and shouldn't chdir 05:37 < Samus_Aran> thank you for your help 05:40 < Samus_Aran> update went smoothly 05:41 < Samus_Aran> *upgrade 05:48 * Samus_Aran installs Weather::Com::Finder: for the 30th time or so 05:49 < Samus_Aran> why is it that every time testEnvironment.pl is run, it tries to install that module again ? 05:50 < Samus_Aran> Weather::Com::Finder is up to date (1.008). 06:14 < Samus_Aran> any idea why I can't click the button to choose a file to upload, in the assets window ? 06:14 < Samus_Aran> it seems to be disabled 06:14 < Samus_Aran> can't enter the text box to type in a name, either 06:41 < Samus_Aran> hm, it works in Firefox but not Opera 06:41 < Samus_Aran> strange 06:41 < Samus_Aran> is there any Javascript affecting the file upload thing in Assets ? 06:54 <+perlDreamer> preaction: 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:57 < Samus_Aran> preaction: okay, I have fully updated WebGUI to the latest release, and the issue where no images can appear is still present 06:57 < Samus_Aran> preaction: is there any suggestion of where to look to solve this ? 06:58 <@preaction> Plain Black Corp. offers affordable support options, if you're interested. 06:59 < Samus_Aran> I am not the one in control of the budget, sorry 07:02 < Samus_Aran> looking at the background-image in one of the themes, and trying to open it directly, it is just 404 not found 07:02 < Samus_Aran> this one being /uploads/eA/K0/eAK0doY8-UIauq_uuHEhvA/bg1.jpg 07:04 < Samus_Aran> solved it 07:05 < Samus_Aran> only extras was symlinked to the main WebGUI folder, not uploads. 07:05 < Samus_Aran> now I just need to figure out why all the packages I upload appear on the main page of the web site 07:11 < Samus_Aran> Assets to Hide. 07:12 * 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 ..."] 09:15 -!- ryuu_ro [n=rory@194.171.50.69] has joined #webgui 09:50 -!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui 10:35 -!- patspam_ [i=chatzill@ppp121-44-242-221.lns4.mel4.internode.on.net] has joined #webgui 10:52 -!- 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)] 11:14 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui 11:14 -!- mode/#webgui [+o preaction] by ChanServ 12:41 -!- BartJol [n=plainstu@194.171.50.123] has joined #webgui 12:57 -!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has left #webgui [] 13:59 -!- lrobinson [n=luke@lrobinson2.vm.bytemark.co.uk] has joined #webgui 14:14 -!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has quit ["Leaving"] 14:17 < CIA-21> WebGUI: doug * r5706 /branch/doug-experimental/ (6 files in 6 dirs): Nightly checkin because you forgot 14:20 -!- 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:38 -!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui 15:02 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)] 15:38 -!- Radix__ [n=Radix@203.161.71.161.static.amnet.net.au] has joined #webgui 15:39 -!- ryuu_ro [n=rory@194.171.50.69] has quit [] 15:43 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui 15:57 -!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has quit [Read error: 113 (No route to host)] 16:16 < lrobinson> would anybody know the best place to have a merchant account being based in the UK? 16:17 < lrobinson> CDG Commerce redirected me to an affiliate - is that the best thing to go for? 16:37 -!- SDuensin [n=Scott@74.sub-75-204-93.myvzw.com] has joined #WebGUI 16:40 < SDuensin> Morning. 17:20 < CIA-21> WebGUI: jt * r5707 /translations/Dutch/Dutch/WebGUI.pm: update_from_translation_server 17:20 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui 17:20 -!- mode/#webgui [+o preaction] by ChanServ 17:23 -!- cap10morgan [n=cap10mor@206-124-6-111.denver.dsl.forethought.net] has quit [] 17:26 -!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui 17:49 < perlmonkey2> What is the template command for the URL of this asset? 17:50 <@preaction> usually 17:50 <@preaction> or do you mean the ^PageUrl macro? 17:51 < perlmonkey2> well, for the ajax call, I want a hidden html object to have the url to make the ajax calls to. 17:51 < nuba> i think the macro wont know the URL of the asset it is being called from 17:51 < BartJol> nuba-> that's right 17:52 < perlmonkey2> Okay, thanks 17:52 <@preaction> but 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 survey 17:52 <@preaction> you can just send to ?func=ajaxDoSomething 17:54 < perlmonkey2> You don't think that could ever get into trouble? 17:54 <@preaction> no 17:54 < perlmonkey2> good enough for you, good enough for me :) 17:54 <@preaction> rather, you'd probably end up just POSTing the form with no action="", which sends it to the current URL 17:55 -!- wgGuest26 [n=wgGuest2@static-adsl201-232-86-73.epm.net.co] has joined #webgui 17:55 <@preaction> YAHOO.util.Connection.attachForm or something like that 17:55 < wgGuest26> hello 17:55 < wgGuest26> i have a question related to the registration 17:55 <@preaction> no need to ask if you can ask, just ask 17:57 < BartJol> you scared him/her preaction! 17:57 <@preaction> eh, i can understand. i'm rather intimidating 17:58 < BartJol> well, stop it, or I'm going to correct your English again 17:58 < BartJol> :) 17:58 < wgGuest26> i 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 automatically 17:58 <@preaction> ohnoes! 17:58 < wgGuest26> is it posible? 17:59 < BartJol> you can add profile field that are obligated 17:59 < BartJol> fields 17:59 <@preaction> right, but you can't seem to add extras like JavaScript to profile fields, not through the interface 18:00 < BartJol> that will be hard, yes 18:00 -!- cap10morgan [n=cap10mor@h19-afsc.ded.indra.com] has joined #webgui 18:00 < BartJol> for me, that is 18:00 <@preaction> it'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 it 18:01 <@preaction> and this also means no way would you be able to allow the users to edit those values later 18:01 < BartJol> even if these are included in the profile? 18:02 -!- estiven [n=erestrep@static-adsl201-232-86-73.epm.net.co] has joined #webgui 18:03 <@preaction> they have to be in the profile, there's no other way to get additional fields into the registration 18:03 <@preaction> unless you're talking building a custom user registration application 18:03 -!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has quit ["Leaving."] 18:04 < wgGuest26> i think it will be hard 18:04 < BartJol> yeah, ok, but if you use another template for the edit profile than the add account template, you should be ok, shouldn't you? 18:05 <@preaction> i was sure that there wasn't a template for edit profile, i think that's an RFE out there 18:05 < BartJol> but then the option is always present in the edit profile screen, even when the first isn't selected 18:06 < BartJol> oh, I always think there's a template for everything 18:06 <@preaction> a 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 out 18:06 < BartJol> my mistake 18:07 < BartJol> so wgGuest26, probably it's possible, but quite hard to do :( 18:07 < wgGuest26> yes, i know 18:08 < wgGuest26> i am going to try it. 18:09 < BartJol> good luck 18:09 < wgGuest26> thanks 18:10 < BartJol> if you succeed, maybe you can post it to webgui.org 18:10 < wgGuest26> ok 18:10 <@preaction> indeed, just a how you did it or something 18:10 <@preaction> i'm going to post the RFE about getting the extras thing exposed, which will make things like this easier in the future 18:11 <@preaction> ha. Frank added it almost a year ago 18:11 <@preaction> 0 karma 18:11 <@preaction> http://www.webgui.org/rfe/request-for-enhancement/add-extras-to-profiling 18:12 <@preaction> real easy RFE, wouldn't take much karma to put it up where it gets noticed 18:23 < wgGuest26> preaction, 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:24 < wgGuest26> how can i do that? 18:24 <@preaction> javascript 18:24 <@preaction> or write your own WebGUI::Form::Control <- best idea 18:24 <@preaction> see WebGUI::Form::SelectBox and WebGUI::Form::SelectList for ideas 18:25 < wgGuest26> ok, i am going to check 18:40 -!- lisette [n=liraos@static-adsl201-232-86-73.epm.net.co] has joined #webgui 18:44 < BartJol> bye 18:44 -!- BartJol [n=plainstu@194.171.50.123] has left #webgui [] 18:48 < lisette> hello 18:50 < perlmonkey2> Is there an example Asset reading an ajax POST you can point me at? 18:51 < lisette> i have a "tell a friend", i can change "your friend adress" by a text area, and he writes emails separated by comas 18:51 < lisette> ? 18:53 < perlmonkey2> my 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 <@preaction> ajax still calls www_ methods 18:54 <@preaction> www_test perhaps? 18:55 < perlmonkey2> just tried that....didn't change anything. 18:56 <@preaction> you're submitting a form that has func = test right? 18:56 < perlmonkey2> var request = YAHOO.util.Connect.asyncRequest('POST', '?func=test', callback, postData); 18:56 < perlmonkey2> I've tried that and www_test 18:57 < perlmonkey2> and still what I get back in the responseText looks like the home page. 18:57 <@preaction> if it's the home page, maybe there's an error 18:57 < perlmonkey2> that's what I'm assuming 18:57 < perlmonkey2> but the handleSuccess callback is called. 18:58 < perlmonkey2> so it is getting a return from that call. But I don't think my wobject method is being called. 18:58 <@preaction> check the error log 18:59 < perlmonkey2> nothing in the error log. httpd/access_log shows the ajax request though 19:00 < perlmonkey2> "POST /home?func=www_repeat 19:00 <@preaction> is that where it's supposed to be called? 19:00 < perlmonkey2> no 19:01 < perlmonkey2> but "?func=www_test"; is my url in the connection call 19:01 < perlmonkey2> ?func=www_test;class=WebGUI::Asset::Wobject::Survey is what I probably need? 19:01 < perlmonkey2> must include the class? 19:02 <@preaction> no 19:02 <@preaction> let me dig up the big AJAX thing i did to see how i did it 19:02 < perlmonkey2> okay 19:02 < perlmonkey2> when I click on the save button of hte new Survey the next page is the custom edit surey page I've written. 19:03 < perlmonkey2> But this is the path for that page: http://norman/home 19:03 < perlmonkey2> which doens't make sense 19:03 < perlmonkey2> I'm thinking a person needs to be a master of webgui to write this super duper ajax survey module. 19:04 < perlmonkey2> I've killed 5.5 fully devoted days on this and I haven't finished meshing my survey code with webgui. 19:04 <@preaction> ahh. i see what's happening 19:05 <@preaction> proceed just calls the right sub and returns it 19:05 <@preaction> it doesn't redirect the user 19:05 <@preaction> so the user remains at the place they posted to 19:05 < lisette> ? 19:05 <@preaction> let me see if there's a proceed target to redirect 19:06 <@preaction> no... but you might add it 19:08 < perlmonkey2> I might add it? So I need to alter the Asset.pm module? 19:08 <@preaction> hang on, let me paste it 19:08 <@preaction> perlbot paste 19:08 < perlbot> Paste 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:09 <@preaction> http://sial.org/pbot/30398 <- not sure if that will work exactly 19:09 <@preaction> but it's the general idea 19:09 <@preaction> and you'll have to URL encode your returnUrl parameter 19:09 <@preaction> and you'll have to run it by JT when he gets in 19:10 <@preaction> but i can't see there being a problem with it 19:11 < perlmonkey2> And that goes in Session.pm? 19:12 -!- lrobinson [n=luke@lrobinson2.vm.bytemark.co.uk] has quit ["ircII EPIC4-2.6 -- Are we there yet?"] 19:12 <@preaction> no, Asset.pm 19:14 -!- MrHairgreas1 [n=martin@x032124.its-s.tudelft.nl] has joined #webgui 19:16 -!- MrHairgreas1 is now known as MrHairgrease 19:16 -!- mode/#webgui [+v MrHairgrease] by ChanServ 19:17 -!- perlDreamer [n=ckuskie@nat039.mxim.com] has joined #webgui 19:17 -!- mode/#webgui [+v perlDreamer] by ChanServ 19:19 -!- lisette [n=liraos@static-adsl201-232-86-73.epm.net.co] has left #webgui [] 19:21 <@apeiron> Is 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:22 <+perlDreamer> setScript checks to see if you've already loaded that js 19:23 <+perlDreamer> if you have, it does not generate any additional content 19:23 <@apeiron> Ah, so it does. 19:23 <+perlDreamer> the way to tell if that happens is to check the return value 19:23 <@apeiron> So... why's it not behaving that way? 19:23 <@apeiron> hmm. Maybe it's calling it differently. 19:24 <+perlDreamer> if generateAdditionalHeadTags is called, it clears that check flag 19:24 < perlmonkey2> preaction: would not using autogenerate let me skip all that mess? 19:24 <@preaction> no, because you still need to call www_editSave no matter what 19:25 <@preaction> do NOT override that method, as you will fail. it's the blackest of black magic 19:25 < perlmonkey2> Poll.pm doesn't, which is really weird 19:25 <@preaction> the whole add/edit/editSave/processPropertiesFromFormPost in WebGUI is both awesome and frightening 19:26 <@preaction> the added redirect code didn't work? 19:26 <@apeiron> Oh. Different files, not the same file. But they're interacting strangely. yay. 19:26 < perlmonkey2> yes, I'm terrified that I'm not making forward progress because this Friday I need to have something done. 19:26 < perlmonkey2> preaction: Okay....How about I don't have a proceed. 19:26 <@preaction> perlmonkey2, then screw the proceed= for now 19:26 <@preaction> yeah 19:26 <@preaction> it can always be added later 19:27 < perlmonkey2> After they click save, they are presented with the empty survey and they can click on something there to go to the edit? 19:27 <@preaction> sounds like it'll work 19:27 < perlmonkey2> in the normal admin view, clicking on edit calls getEditForm? 19:28 <@preaction> calls www_edit which calls getEditform, yes 19:28 < perlmonkey2> so I can just overload getEditForm to call www_editSurvey ? 19:30 <+MrHairgrease> i don't think you want to do that 19:30 <+MrHairgrease> gef is for the asset properties 19:30 < perlmonkey2> yeah, that didn't work. 19:30 <+MrHairgrease> not for collateral data editing 19:31 <+perlDreamer> perlmonkey2, are you building a form with tabs? 19:31 < perlmonkey2> no 19:31 < perlmonkey2> It is the ajaxified drag and drop pop up divs survey editor page 19:31 <@preaction> you could always have the normal view page redirect to www_editSurvey if and only if there is no survey yet made 19:32 <+MrHairgrease> your problem is that you want to go to www_editSurvey after func=add? 19:32 <+perlDreamer> I know it's too early, but I abstracted out a generic form builder for WebGUI in the WebGUI_Commerce branch 19:32 < perlmonkey2> yes, but using proceed messed up the urls 19:32 <+perlDreamer> HTMLForm->dynamicForm 19:32 <+MrHairgrease> i take it you klnow of the proceed=editSurvey 19:32 <+MrHairgrease> oh 19:32 <+MrHairgrease> ic 19:32 < perlmonkey2> plus, how does the user get back to the editSurvey page? 19:32 <@preaction> perlmonkey2, by clicking a link that has the URL 19:33 < perlmonkey2> So maybe the view page should have the editSurvey link 19:33 <+MrHairgrease> yes 19:33 < perlmonkey2> okay, I think that was progress. 19:33 <@preaction> only for those who can edit the survey of course 19:33 < perlmonkey2> yes, a tmpl var I thik 19:35 <+MrHairgrease> 19:35 <+MrHairgrease> something like that 19:37 < perlmonkey2> cool thanks 19:37 < perlmonkey2> brb, looging into the laptop 19:38 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."] 19:43 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui 19:50 -!- apeiron_ [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui 19:50 -!- mode/#webgui [+o apeiron_] by ChanServ 19:50 -!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: @apeiron 19:55 -!- MrHairgrease is now known as MrAfkGrease 19:58 -!- apeiron_ is now known as apeiron 20:02 -!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has quit ["leaving"] 20:03 -!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui 20:04 -!- mode/#webgui [+o apeiron] by ChanServ 20:08 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."] 20:24 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui 20:32 < perlmonkey2> The dispaly type, when you have multiple wobjects inside of a page layout, each wobject has had its www_view called, right? 20:33 <+perlDreamer> no, just ->view 20:33 <+perlDreamer> I'm pretty sure the distinction is that www_view will wrap it in a style 20:33 <@preaction> basically, yes 20:44 < perlmonkey2> groovy 20:45 < perlmonkey2> Good stuff to know 21:01 < perlmonkey2> Okay, 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 "" is the error. 21:01 < perlmonkey2> I'm not even sure where to begin debugging that. 21:03 <@preaction> don't use . in template variable names 21:03 <@preaction> use _ instead 21:03 < perlmonkey2> oh, I pulled that from the old Survey. 21:03 < perlmonkey2> I really need to remember not to use it as example code. 21:03 <@preaction> yeah, that's old-school 21:03 < perlmonkey2> But that shouldn't the problem right? 21:03 <@preaction> new-school is _ 21:03 <@preaction> no 21:04 <@preaction> are you trying to parse HTML output as JSON? 21:04 < perlmonkey2> no, this isn't in an ajax call. 21:04 <@preaction> do you have a url i can see what you're seeing? 21:04 < perlmonkey2> This 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:05 < perlmonkey2> preaction: yeah, but I'll hve to give you a loging with admin rights 21:05 <@preaction> are the javascript src="" pointing to the right url? 21:05 < perlmonkey2> they worked before 21:05 < perlmonkey2> 21:06 <@preaction> it's relative, not absolute 21:06 < perlmonkey2> 21:06 <@preaction> it needs to be /extras/, not extras/ 21:06 < perlmonkey2> well that is the problem then 21:06 < perlmonkey2> thanks :) 21:10 -!- estiven [n=erestrep@static-adsl201-232-86-73.epm.net.co] has left #webgui [] 21:13 < 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 < perlmonkey2> This stuff is making me very disoriented and I know I'm flailing badly. 21:14 <@preaction> func=www_test is wrong, func=test is correct 21:18 <+perlDreamer> webgui will prepend the www_ for you 21:18 <+perlDreamer> to prevent arbitrary function calling 21:18 -!- wgGuest26 [n=wgGuest2@static-adsl201-232-86-73.epm.net.co] has quit [Read error: 113 (No route to host)] 21:19 < perlmonkey2> So 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:21 <+perlDreamer> yes to the first, no idea about your JS reloading 21:22 < perlmonkey2> Is a log for perl instantiated with the session, or do I need to create one? 21:22 < perlmonkey2> maybe that is why nothing is showing up in the logs now. 21:23 <+perlDreamer> it's made by the session, unless you're using an older version of WebGUI::Test for API testing 21:23 < perlmonkey2> nope, latest svn update 21:23 <+perlDreamer> manual testing, or mech testing? 21:23 < perlmonkey2> sub www_test{my $self=shift;$self->getLogger->errror("yay, I meade it here");} 21:23 < perlmonkey2> manual 21:24 < perlmonkey2> I 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 <+perlDreamer> or, if you're passing it a session var, $session->errorHandler->warn("Yahoo"); 21:25 < perlmonkey2> POST /home/untitled111111118?func=test in the access_log but nothing in webguilog 21:26 <+perlDreamer> how about error log? 21:26 < perlmonkey2> my logging is apparently not set to shows warns. 21:26 < perlmonkey2> but I just saw an ->error 21:27 < perlmonkey2> yay! 21:27 <+perlDreamer> in log.conf, that can be changed 21:27 < perlmonkey2> 1:30pm and I need a shot of something stiff. 21:27 <+perlDreamer> try lumber 21:28 <@preaction> a clue-by-four? 21:28 < perlmonkey2> hah :) 21:28 <+perlDreamer> friends don't let contributors hack drunk 21:29 <@preaction> you've never heard of the Ballmer Peak i take it? 21:29 <+perlDreamer> no 21:29 < perlmonkey2> hahahahaha 21:29 <@preaction> http://xkcd.com/323/ 21:36 < perlmonkey2> my testarea div just magically ajaxed from "what da chuck" to "word yo"....yay, now just to figure out how WG pulls POST params. 21:38 <@preaction> session->form->get() 21:38 < perlmonkey2> my $var .= $self->session->form->param("username"); 21:38 < perlmonkey2> woot! 21:38 < perlmonkey2> will ->get grab both GET and POST params? 21:38 <@preaction> param or process will work as well 21:38 <@preaction> yes 21:38 <@preaction> they get combined by Apache2::Request 21:38 < perlmonkey2> I like sugar and that is certainly cugar 21:38 < perlmonkey2> sugar 21:51 -!- wgGuest24 [n=wgGuest2@static-adsl201-232-86-73.epm.net.co] has joined #webgui 22:02 < perlmonkey2> get/process only returns the scalar you ask for or an array of all the params? 22:03 < perlmonkey2> FormValidator->process says that, so I guess so. 22:04 <@preaction> in list context, it will return a proper list, so if there are multiple name=, it will return a list of those values 22:04 <@preaction> it works much like CGI->param does 22:06 < perlmonkey2> I'm just being stupidly curios as I'm sure all my posts will be one data param with a json string. 22:18 < perlmonkey2> Whew, 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:19 <@preaction> eh, 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 patiently 22:24 < perlmonkey2> that sucks 22:24 <@preaction> eh, it gives me time to catch up on email and other thing 22:24 < perlmonkey2> heh 22:25 < perlmonkey2> like helping perlmonkies 22:25 < perlmonkey2> at least you aren't completely wasting your time, as this wobject is to be released under the GPL to WebGUI. 22:27 <@preaction> exactly 22:27 <@preaction> having: Gallery, Survey, Thingy, Commerce, and all the other stuff we've added to 7.5 is going to make this a HUGE release 22:36 -!- BartJol [n=plainstu@54-167.surfsnel.dsl.internl.net] has joined #webgui 23:34 -!- BartJol [n=plainstu@54-167.surfsnel.dsl.internl.net] has left #webgui [] 23:52 -!- SDuensin [n=Scott@74.sub-75-204-93.myvzw.com] has quit ["Leaving"] --- Day changed Tue Mar 04 2008 00:01 -!- perlDreamer [n=ckuskie@nat039.mxim.com] has quit ["Download Gaim: http://gaim.sourceforge.net/"] 00:21 -!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit ["Exit- stage left"] 00:44 -!- perlDreamer [n=ckuskie@nat039.mxim.com] has joined #webgui 00:44 -!- mode/#webgui [+v perlDreamer] by ChanServ 00:47 <+perlDreamer> ignorant question: do internationalized shopping carts use English names for countries? 00:47 < perlmonkey2> countries have non-English names? 00:47 < perlmonkey2> :P 00:47 <+perlDreamer> yeah, go figure :) 00:54 <@preaction> China isn't called "China" in china, it's some kanji for "The world" 01:00 * perlDreamer starts to foresee some i18n problems with taxing and shipping 01:00 <+perlDreamer> but we shall see 01:03 <+perlDreamer> if you ship something to one place, but bill to another, do you use the billing address to calculate taxes? 01:05 -!- patspam [i=chatzill@ppp121-44-242-221.lns4.mel4.internode.on.net] has joined #webgui 01:07 <@preaction> yeah, that's sounds right 01:11 -!- wgGuest24 [n=wgGuest2@static-adsl201-232-86-73.epm.net.co] has quit [Remote closed the connection] 01:13 -!- MrAfkGrease [n=martin@x032124.its-s.tudelft.nl] has left #webgui [] 01:13 < Radix__> you don't calculate taxes for another country tho 01:14 <+perlDreamer> no? 01:14 < Radix__> no 01:14 <+perlDreamer> are all these rules written down somewhere accessible? 01:14 < Radix__> taxes for other countries are done by the company themselves when it's imported 01:14 < Radix__> s/company/country 01:15 < Radix__> no idea 01:57 -!- wgGuest84 [n=wgGuest8@74-34-152-95.br1.blu.wv.frontiernet.net] has joined #webgui 01:57 -!- wgGuest84 [n=wgGuest8@74-34-152-95.br1.blu.wv.frontiernet.net] has quit [Client Quit] 02:07 -!- cap10morgan [n=cap10mor@h19-afsc.ded.indra.com] has quit [] 02:20 -!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui 02:20 -!- mode/#webgui [+v Radix-wrk] by ChanServ 02:38 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."] 02:40 -!- patspam [i=chatzill@ppp121-44-242-221.lns4.mel4.internode.on.net] has quit [Read error: 104 (Connection reset by peer)] 03:39 -!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI 05:39 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)] 06:29 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui 06:29 -!- mode/#webgui [+o preaction] by ChanServ 06:59 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)] 08:21 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui 08:21 -!- mode/#webgui [+o preaction] by ChanServ 09:01 -!- ryuu_ro [n=rory@194.171.50.69] has joined #webgui 09:43 -!- Radix-wrk [n=Jesse@203.161.68.67] has quit ["Leaving"] 09:58 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)] 11:01 -!- BartJol [n=plainstu@194.171.50.123] has joined #webgui 11:15 -!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui 14:25 -!- Syn1 [n=koendejo@194.171.50.123] has joined #WebGUI 14:25 < Syn1> hi there 14:25 < Syn1> I've compiled WRE 0.8.3 for debian etch ia32 14:27 < Syn1> sending it to upload.sf.net now 14:28 -!- estiven [n=erestrep@static-adsl201-232-86-73.epm.net.co] has joined #webgui 14:36 -!- estiven [n=erestrep@static-adsl201-232-86-73.epm.net.co] has left #webgui [] 14:38 < GooeyOfSteel> Wiki: WRE Installation - Edited on 3/4/2008 6:26 am by koen http://www.webgui.org/community-wiki/wre-installation 15:27 -!- estiven [n=erestrep@static-adsl201-232-86-73.epm.net.co] has joined #webgui 15:54 < SDuensin> Morning. 16:00 < estiven> Morning 16:03 < estiven> i install webgui using the source... and now i want to configure my instalation as a development enviroment... 16:03 < estiven> how 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:04 < estiven> i 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 #webgui 16:05 < estiven> that's rigth? 16:10 -!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has joined #webgui 16:10 -!- mode/#webgui [+v Radix_] by ChanServ 16:25 < BartJol> estiven sorry I don't know, but preaction or Radix might, but they just came in 16:34 < estiven> ok, thanks 16:35 < BartJol> oh I meant perlmonkey2 16:35 < perlmonkey2> eh? 16:35 <+Radix_> wassup? 16:35 < BartJol> estiven wants to know something 16:36 <+Radix_> obviously :) 16:36 < BartJol> hi radix, i'm fine two weeks till my drivers exam 16:36 <+Radix_> ooh.. not long now then :) 16:36 < BartJol> yeah and then there's another danger on the roads 16:36 < BartJol> hopefully 16:36 <+Radix_> heh 16:37 < ryuu_ro> Bartjol only 2 weeks time left to cruise the street safely :D 16: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 nonetheless 16:38 < BartJol> didn't have any accidents up till now, but with an instructor besides me that's not too hard 16:38 < ryuu_ro> Hmmm I heard other stories....... 16:38 <+Radix_> heh 16:39 < BartJol> only one then 16:39 < ryuu_ro> lol 16:39 < estiven> hi 16:39 < BartJol> it costed me dearly 16:39 < estiven> i install webgui using the source... and now i want to configure my instalation as a development enviroment... 16:39 <+Radix_> estiven: why? 16:40 <+Radix_> going to write your own perl assets and objects? 16:40 < estiven> because i need to restart apache for each change tha i do in my macros.... 16:40 <+Radix_> yup 16:41 <+Radix_> k, just checking you actually need it, that's all :) 16:41 < BartJol> is it necesary then? I just closed my firewall and restart it with perl wreservice --restart modproxy 16:42 <+Radix_> http://www.webgui.org/community-wiki/configure-the-wre-for-developers 16:44 <+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 personally 16:44 < estiven> mm, ok i looking for... 16:46 < BartJol> but then again, I'm not a real developer... 16:46 < ryuu_ro> isn't this apache::reload ? 16:47 <+Radix_> yeah, that's the one 17:00 < estiven> http://search.cpan.org/~phred/Apache-Reload-0.10/lib/Apache/Reload.pm 17:01 < estiven> but PerlInitHandler Apache::Reload 17:02 < estiven> can that create problem whit: PerlInitHandler WebGUI directive? 17:04 -!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui 17:04 -!- mode/#webgui [+o rizen] by ChanServ 17:07 -!- wgGuest32 [n=wgGuest3@static-adsl201-232-86-73.epm.net.co] has joined #webgui 17:07 < wgGuest32> hello 17:08 < Syn1> ah rizen 17:08 < estiven> Hi 17:09 < Syn1> please get the compiled version of the wre 0.8.3 from uploads.sf.net before it's gone again 17:09 <@rizen> did. just emailed you 17:09 < Syn1> ah :) 17:11 < wgGuest32> i 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:12 < wgGuest32> appears the id related to the upload file 17:13 < wgGuest32> i don't know what is happening? 17:27 -!- ryuu_ro [n=rory@194.171.50.69] has quit [] 17:27 < estiven> mmm, what version of webgui do you have? 17:29 < wgGuest32> i have 7.4.21 17:35 < Syn1> bart, is the Dutch translation for WebGUI 7.4.26 the same as the one for 7.4.19 ? 17:35 < BartJol> mmm 17:36 < BartJol> well, since 7.5 came out, I didn't have to check that 17:36 < Syn1> ah right 17:36 < BartJol> 7.4.21 is the same as 7.4.19 17:36 < Syn1> you need a translation server 17:36 < BartJol> i do 17:36 < BartJol> see mantis 17:36 < Syn1> yeah 17:36 < Syn1> and I will make you one 17:36 < BartJol> great 17:37 < BartJol> maar jij ziet dus geen enorm grote fouten 17:37 < BartJol> sorry for the dutch, wrong tab 17:38 < estiven> wgGuest32 i try to reproduce your error, and i have the same result... 17:40 -!- estiven is now known as vcb 17:46 -!- vcb is now known as estiven 17:49 -!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit [] 17:51 -!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui 17:51 -!- mode/#webgui [+o rizen] by ChanServ 17:51 -!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit [Client Quit] 17:56 < wgGuest32> hello again 17:56 < wgGuest32> i 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:57 < wgGuest32> appears the id related to the upload file 17:57 < wgGuest32> someone knows what happen? 18:04 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["trying new pidgin"] 18:05 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui 18:13 -!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has quit ["Leaving."] 18:35 -!- BartJol [n=plainstu@194.171.50.123] has left #webgui [] 18:41 -!- Syn1 [n=koendejo@194.171.50.123] has left #WebGUI [] 18:44 <+perlDreamer> I love it when Microsoft stabs its business partners in the back 18:49 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui 18:49 -!- mode/#webgui [+o preaction] by ChanServ 18:52 -!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has joined #webgui 18:52 -!- mode/#webgui [+v MrHairgrease] by ChanServ 18:54 < perlmonkey2> perlDreamer: What do you mean stab them in the back.... 19:06 <+perlDreamer> http://news.yahoo.com/s/pcworld/20080304/tc_pcworld/143098;_ylt=Ag2sbH7oiBZhDuXTSEDJhcGs0NUE 19:09 <@preaction> nice 19:33 < perlmonkey2> That could be used as the definition of "stab in the back". 19:55 -!- 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 #webgui 20:16 <@preaction> has 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 <@preaction> i can't seem to make it happen in IE6, FF2, or Safari 3 20:18 -!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui 20:18 -!- mode/#webgui [+o rizen] by ChanServ 20:18 < perlmonkey2> Every time I edit a template, a new version is created in the DB? 20:19 <@preaction> yes 20:20 < perlmonkey2> I'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 <@preaction> it automagically happens if you get WebGUI::Asset->newByDynamicClass( $session, $assetId ); 20:20 <@preaction> you get the latest revision. 20:20 <@preaction> then you can just $asset->update( new properties ); 20:21 < perlmonkey2> oh, this is like a 4 line script just to load the html file into the db 20:21 < perlmonkey2> doens't use WG api 20:22 <@preaction> bad idea 20:23 < perlmonkey2> but 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 < perlmonkey2> I wish the template editor in WG told you what namespace it was in and maybe let you change it. 20:24 <@preaction> can't change it, but the Metadata tab shows which one it's in 20:30 < perlmonkey2> quit 20:30 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."] 20:38 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui 20:48 <+perlDreamer> it's a bad day 20:48 <+perlDreamer> Gary Gygax passed away 20:48 <@preaction> yeah :'( 20:57 <+perlDreamer> perlmonkey2: my templateFiler utility does the same thing, but it uses the API. Much safer 21:08 < perlmonkey2> perlDreamer: 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:09 <+perlDreamer> cool 21:17 < ckotil> perlmonkey2: the template editor shows the name space in the metadata tab. but you cant change it 22:08 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."] 22:09 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui 22:38 < perlmonkey2> perlDreamer: 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 <+perlDreamer> http://www.webgui.org/user_contributions/user_contributions/miscellaneous/template-import-and-export-utility-for-webgui-7_3#67s1xKEeGw_ZujD9VizRZA 22:41 < perlmonkey2> Thanks perlDreamer 23:01 <@apeiron> heisenbugs-- # annoying, hard to track down 23:02 < perlmonkey2> Okay, 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:04 < perlmonkey2> Dang 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:08 < perlmonkey2> had to create a new wobject....nevermind 23:44 <+perlDreamer> wG seems really slow this week 23:44 <+perlDreamer> community/dev-wise 23:45 <@preaction> i feel asleep! 23:45 <@preaction> wait. what's that from... 23:45 < CIA-21> WebGUI: doug * r5708 /WebGUI/ (11 files in 8 dirs): 23:45 < CIA-21> WebGUI: fix: GalleryAlbum and Photo were not showing correct confirmation messages on editSave 23:45 < CIA-21> WebGUI: add: Ability to edit comments to Photos 23:45 < CIA-21> WebGUI: add: Ability to choose which rich editor for Albums 23:45 <+perlDreamer> Wizard of Oz? 23:47 <@preaction> i think some engrish translation of some video game 23:50 <@preaction> i 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 <+perlDreamer> yeah, if you start to have a config as big as the CS, it's time to worry 23:51 <@preaction> there are, at least, 14 templates associated with the Gallery now 23:51 <@preaction> 17 --- Day changed Wed Mar 05 2008 00:02 <+perlDreamer> I think you win 00:03 < CIA-21> WebGUI: graham * r5709 /WebGUI/ (12 files in 4 dirs): new colorpicker 00:04 <@preaction> yeah. it's only going to get better/worse 00:04 <@preaction> i'm beating the Calendar now ;-) 00:04 <@preaction> calendar and collab are probably tied 00:05 <+perlDreamer> rizen: Are you still trying to water cool your computers? 00:06 -!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has quit ["Windows doesn't have users, it has hostages."] 00:07 <@rizen> yes i am 00:07 <@rizen> i was manning the pumps from sunday at 10pm straight through until 2:30pm on monday 00:07 <@rizen> it wouldn't have been so bad except that on saturday night i only got 2 hours of sleep 00:08 <+perlDreamer> all plugged up now? 00:09 <@rizen> the melt is mostly gone 00:09 <@rizen> but it's pooling a little again...hopefully the drains thaw out soon so i don't have to keep pumping 00:14 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."] 00:29 <+perlDreamer> does this happen every winter? 00:29 -!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has joined #webgui 00:29 -!- mode/#webgui [+v Radix_] by ChanServ 00:30 <@rizen> anope 00:30 <@rizen> nope only this winter 00:30 <@rizen> my neighbors and i are already trying to figure out why this happened for future 00:30 <@rizen> man email sux 00:30 <+perlDreamer> buried? 00:30 <@rizen> i had over 100 actionable emails this morning 00:31 < wgGuest32> MrHairgrease, can you help me with a question? 00:31 <@rizen> i've got it down to 21 but that's taken all day 00:31 <@rizen> perlDreamer, i spoke to a client today about the donation asset. 00:32 <+perlDreamer> cool! 00:32 <@rizen> she said we should try to make it an option so you can do recurring payments 00:32 <@rizen> so that brings up a potential problem 00:32 <@rizen> we've already got sku's that do single payments (products) 00:32 <@rizen> and some that do recurring (subscriptions) 00:32 <@rizen> but does it seem feasible to do an asset that could be either? 00:33 <+perlDreamer> how about a mixin? 00:33 <+perlDreamer> adding subscriptions to what we need when needed? 00:33 <+perlDreamer> or a trait 00:33 <@rizen> but it's not the same as a subscription 00:33 <@rizen> yeah, a trait was something i was thinking about 00:33 <@rizen> but i know very little about aspect oriented programming 00:34 <@rizen> anyway...not something i have time to talk about right now...just thought it was an interesting thing to think about 00:34 <@preaction> i was doing some research the other night, Class::Trait just seems bad. mixin.pm works nicely and handles inheritence automagically 00:34 <@rizen> and something to add to the todo list should we get the commerce system completed in time to have extra things 00:34 <+perlDreamer> I've got my head wrapped around Cart, CartItem, SKU and Tax right now, to help build the calculate method for Tax. 00:35 <@rizen> how's that coming pd? 00:35 <+perlDreamer> it takes a bunch of code to handle addresses 00:35 <+perlDreamer> to get an address, I need a book 00:36 <+perlDreamer> so I need a book in the testing code, and another in the calculate method 00:36 <@rizen> It should be as simple as my $book = WebGUI::Shop::AddressBook->create($session); 00:37 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui 00:37 <@rizen> foreach my $address (@{$book->getAddresses}) { 00:37 <@rizen> shoudl it not? 00:37 <+perlDreamer> I want to pull one particular address by Id, so I'm using WebGUI::Shop::Address->new($book, $id); 00:38 <@rizen> ah, we should add a utility method to $book to allow you to do $book->getAddress($id); 00:38 <@rizen> that way you only have one use and one constructor 00:38 <@rizen> i'll add that method now 00:39 * rizen hopes nobody notices that he's supposed to be responding to email rather than coding 00:39 <+perlDreamer> I can add the method. 00:39 <+perlDreamer> I'm starting to get sick, and that makes me extra cranky and lazy. 00:39 <@rizen> no no, heh, i need a break from email 00:39 * perlDreamer starts Operation SmokeScreen 00:41 <@rizen> ok done 00:42 <@rizen> preaction: is mixin.pm something you wrote? 00:42 <@preaction> no. it's in cpan 00:43 <@preaction> i 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 <@preaction> and the mixins i've made so far are indeed drop-and-go. 00:44 <@rizen> nice 00:46 < CIA-21> WebGUI: jt * r5710 /branch/WebGUI_Commerce/lib/WebGUI/Shop/AddressBook.pm: added utility method 00:46 <@rizen> i can't wait to be back on commerce tomorrow...man today sucked 00:47 <+perlDreamer> did you get the updates from over the weekend? 00:47 <@rizen> reading and writing email all day is worse than manning the flood pumps for two days without sleep 00:47 <@rizen> what updates? 00:47 <+perlDreamer> I wrote tests for AddressBook and Address and fixed some bugs and typos 00:48 <@rizen> didn't i write tests? 00:48 <@rizen> maybe i forgot to check them in 00:48 <@rizen> i was sure i did 00:48 <+perlDreamer> that could be 00:49 <@rizen> crap..i didn't...i'm sorry, i don't know what i was thinking 00:49 <@rizen> thank you for covering my ass, i'm sorry you had to do that 00:49 <+perlDreamer> No problem. Didn't you just write some code for me? 00:49 <@rizen> i hardly think that 1 method is equiv 00:49 <@rizen> but point taken...we're working together 00:50 <@rizen> ok better get back to email to see if i can finish this up before the end of the day 00:51 <+perlDreamer> good luck :) 00:51 < wgGuest32> MrHairgrease, can you help me with a question? 00:54 <+perlDreamer> wgGuest32, MrHairgrease is in Europe, he's probably asleed 00:56 <@preaction> wgGuest32, but if you ask the channel, perhaps someone else can help you 00:56 < wgGuest32> perlDreamer, do you know why the sql form doesn't have incluided the select box in the manage field types? 00:57 <+perlDreamer> No. That may have been a decision in the original design. 00:57 < wgGuest32> but i think it is a esential field form 00:58 <@rizen> wgGuest32 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:59 < wgGuest32> i want to incluied it by myself 00:59 < wgGuest32> is it difficult? 01:00 <@preaction> shouldn't be too bad. i thought there was either a list, or it uses "profileEnabled" to decide 01:01 <+perlDreamer> if you do the programming, you should submit your patch as an RFE. It could be included back into the core. 01:01 <+perlDreamer> preaction: last time I checked, no 01:01 <+perlDreamer> it's manual 01:01 <@preaction> ah 01:02 <@rizen> unfortunately it wasn't written to just plug in the form controls that are plugged in to webgui 01:02 <@rizen> that's one of the reasons it's being removed and replaced by Thingy 01:03 < wgGuest32> ok, thanks for your advices 01:03 -!- wgGuest32 [n=wgGuest3@static-adsl201-232-86-73.epm.net.co] has quit [Remote closed the connection] 01:08 -!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit [] 01:08 <+MrHairgrease> fwiw, when i worte the sqlform the form controls weren't pluggable yet as far as i can recall 01:08 <+MrHairgrease> also there was only selectBox and not selectList (or the other way around) 01:08 <+MrHairgrease> that's why only one is in the list 01:09 <@preaction> ah 01:09 <+MrHairgrease> oh and btw, i'm not yet asleep 01:09 <+MrHairgrease> but that won't be the case for very long 01:09 <@preaction> i'm still leaning towards making GalleryFile into an AssetMixin, not a asset to subclass 01:09 <@preaction> wait, nm, won't work. 01:09 <@preaction> WebGUI::Asset::File::GalleryFile it is 01:10 -!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has left #webgui [] 01:54 <+perlDreamer> perlmonkey2: where do you live? 01:59 < perlmonkey2> oklahoma 01:59 < perlmonkey2> oklahoma city 02:00 <+perlDreamer> how much sales tax do you pay? 02:00 < perlmonkey2> I hve no idea 02:02 < perlmonkey2> 8% 02:03 < perlmonkey2> why do you ask? plan on moving? 02:04 < nuba> perlmonkey2: now, bank account number, with pin, please? ;) 02:04 < perlmonkey2> 753409363453422 9011 02:04 <+perlDreamer> I need semi decent tax data for testing 02:05 < perlmonkey2> then what did you need my account number and pin for? 02:05 <@preaction> now, i need you social security number and mother's maiden name 02:05 <+perlDreamer> that was nuba 02:05 <+perlDreamer> He'd like to borrow some money 02:05 <+perlDreamer> and probably already has :) 02:05 < nuba> done. thx! 02:05 < perlmonkey2> 988-37-2256 Simpson. 02:05 -!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui 02:05 -!- mode/#webgui [+v Radix-wrk] by ChanServ 02:06 < perlmonkey2> you sure it is a good idea to put out my info on irc? 02:07 < nuba> its a great idea!..... ...not! 02:07 < perlmonkey2> just not for me :) 02:07 < perlmonkey2> brb 02:07 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."] 02:08 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui 02:10 < nuba> perlmonkey2: i hope you didnt really posted any sensitive info here 02:10 < perlmonkey2> hah....I wondered if I was pretending to be too ignorant and had worried anyone. No, I didn't, but thanks for checking. 02:11 < perlmonkey2> I just hope I didn't actually post anyones real information 02:11 < nuba> theres the channel regulars, who are all "good people", but the channel's logs are crawlable and indexable .... 02:11 <@preaction> hey, if you type your plainblack password it shows up as all *'s, see: ******** 02:11 < perlmonkey2> and 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 < nuba> cool, let me test... 02:11 < nuba> my password is ***** 02:11 < nuba> whoa, it works! 02:11 <+perlDreamer> hm 02:11 < perlmonkey2> hah 02:12 <+perlDreamer> only five characters.... 02:12 -!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui 02:12 < nuba> actually its 32 but for security reasons it defaults to showing only 5 stars. 02:13 < perlmonkey2> my password is p@33Ow4d 02:13 <+perlDreamer> preaction's must be broken, then 02:13 < nuba> this reminds me of something funny, brb.. 02:13 <+perlDreamer> his showed 8 02:13 < perlmonkey2> wait...did that show up as all *'s for you guys? 02:13 < nuba> sure thing 02:13 <@preaction> yup, it showed up like p@33Ow4d 02:13 < nuba> 5 *s 02:13 < perlmonkey2> oh man...that sucks! 02:13 <@preaction> why? 02:13 < perlmonkey2> you said it would change my pwd to *'s 02:14 <+perlDreamer> never believe anything preaction tells you 02:14 < perlmonkey2> now I need to change my pwd 02:14 * nuba LOLs at such bash.org reenactment 02:14 < perlmonkey2> I'm just kidding....that isn't my pwd :D 02:14 <@preaction> i copy/pasted the *'s, but it shows up as your password 02:14 < perlmonkey2> if you copy pasted the *'s and they showed up as *'s, then that sounds highly crackable. 02:15 < perlmonkey2> I mean 'showed up as my pwd' 02:15 < nuba> Error 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 <+perlDreamer> it doesn't matter 02:15 <+perlDreamer> m$ stores all passwords as clear text anyway 02:16 < perlmonkey2> well, given how secure the rest of MS systems are, it is perfectly reasonable to store them as plain text. 02:16 < nuba> hah, good luck brute forcing 18770 chars... 02:16 <+perlDreamer> corner cases are easy :) 02:17 < nuba> GooeyOfSteel: check www.imaterial.org 02:17 < GooeyOfSteel> www.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.25 02:18 < nuba> good, its still working 02:18 < perlmonkey2> GooeyOfSteel: check www.lostokies.com 02:18 < GooeyOfSteel> www.lostokies.com Server: Apache/2.2.3 (CentOS) | Generator: WebGUI 7.5.4 02:19 -!- Radix-wrk [n=Jesse@203.161.68.67] has quit [Read error: 104 (Connection reset by peer)] 02:20 < nuba> guess there hasnt been much action at the community wiki lately 02:22 < nuba> btw guys, google apps for your domains (aka GAFYD) now features Websites 02:22 < nuba> with some standard templates, 02:22 < nuba> collab features 02:22 < nuba> versioning 02:22 < nuba> comments, file attachments 02:22 -!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui 02:22 -!- mode/#webgui [+v Radix-wrk] by ChanServ 02:22 < nuba> some gadgets, google-docs-like interface 02:23 < perlmonkey2> that starting to sound like a CMS. 02:23 < nuba> yes, i think its something worth checking out 02:23 < nuba> let me see what else... 02:24 < nuba> subscribe to pages/site changes 02:24 < nuba> site sharing can be set individually or with the entire domain 02:25 < nuba> no groups, but thats probably one of the next features to come... 02:25 < perlmonkey2> This shouldn't hurt WG as much as the php* crowd. The hobbyist will flock to this. 02:25 < nuba> sharing categories: as owners as collaborators as viewers 02:25 < nuba> you can personalize the theme, if you dont like the default ones 02:26 < nuba> you can create as many websites as you want, and set that differently for each site 02:26 < nuba> guess thats it 02:26 < nuba> that was a quick rundown on the features 02:27 < nuba> the thing with this is it isnt a standalone offering 02:28 < perlmonkey2> what does that mean, that it isn't standalone? 02:28 < nuba> you should look at it as part of a bundle of apps which are free for small companies, and educational or non-proit users too 02:28 -!- Funakoshi [i=Xtasy@nor75-7-81-57-85-191.fbx.proxad.net] has joined #webgui 02:28 < perlmonkey2> So the target audience of WG? 02:28 < nuba> i was going to deploy a webgui setup for my CS department, to provide the website feature 02:29 <+perlDreamer> WG usually shoots larger than that 02:29 < nuba> while i have already deployed GAFYD for the mail, im, calendar, etc. 02:29 < CIA-21> WebGUI: jt * r5711 /translations/French/French/ (Asset_Navigation.pm WebGUI.pm): update_from_translation_server 02:29 < nuba> both using a LDAP backend 02:29 < nuba> now, it makes it harder for me to sell webgui there 02:30 < nuba> im not saying "big truths" or making "big forecasts" folks 02:30 < nuba> this is just a use case, mine. 02:31 < nuba> i think even if this thing doesnt looks quite like webgui doesnt mean they wont compete 02:33 <+perlDreamer> true, and it could grow from here, too. 02:33 < nuba> see, im not rooting for one thing or another, i just thought this thing would be a nice topic to throw at the channel and discuss 02:33 -!- perlDreamer [n=ckuskie@nat039.mxim.com] has quit ["Download Gaim: http://gaim.sourceforge.net/"] 02:36 < nuba> also worth of notice is that to get a GAFYD going the only thing you need to do is set the DNS 02:36 < perlmonkey2> Luckily a tiny little company like Google could never hope to compete with PB. 02:36 < nuba> and even that can be delayed if you dont mind demoing it with urls like http://sites.google.com/a/bcc.ic.uff.br/ 02:37 < nuba> instead of sites.bcc.ic.uff.br 02:37 <+Radix-wrk> what have google done now? 02:38 < nuba> [20:52] < nuba> | btw guys, google apps for your domains (aka GAFYD) now features Websites +Radix_ 02:38 <+Radix-wrk> google apps for your domains hmm 02:39 < nuba> nuba> | with some standard templates, collab features, versioning, comments, file attachments 02:39 <+Radix-wrk> can you plug them into a webgui site? 02:40 < nuba> you can use single signon 02:40 < nuba> or have both refer to a LDAP server 02:41 < nuba> or even keep things separated but in sync with the provisioning/report API, which is what im doing 02:41 <+Radix-wrk> $50/account/year huh 02:41 <+Radix-wrk> for premium edition anyway 02:42 < nuba> well all my GAFYD setups are educational and/or non-profit, so we get the premium for free 02:43 < nuba> but the standard version is awesome too 02:43 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."] 02:45 -!- patspam [i=chatzill@ppp59-167-128-63.lns3.mel6.internode.on.net] has joined #webgui 02:49 < CIA-21> WebGUI: colin * r5712 /branch/WebGUI_Commerce/ (4 files in 3 dirs): 02:49 < CIA-21> WebGUI: Remove an extra my from Shop::Cart. 02:49 < CIA-21> WebGUI: Add the getTaxRates method to Tax, with tests. 02:49 < CIA-21> WebGUI: Add some calculate code to Tax, with tests, which don't pass yet. 02:51 <+Radix-wrk> Looks interesting 02:51 <+Radix-wrk> can see a little overlap with webgui, but certainly wouldn't see it as a replacement 02:52 <+Radix-wrk> shame you can't just plug google gadgets and apps into an existing website easily tho 02:52 <+Radix-wrk> that'd be awesome 03:02 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui 03:55 < diakopter> preaction: i'm curious if you or anyone else know if the Dashboard still works in 7.4+ 03:55 <@preaction> should work just fine 03:55 <@preaction> if it doesn't, that'd be a bug 03:55 <@preaction> it's just being called "beta" now 03:55 <@preaction> because JT thinks it could be better, or needs a rewrite or something. it's subject to change 03:56 < diakopter> aww. everything could be better. 04:03 -!- 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:07 -!- Netsplit over, joins: ascii 04:10 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui 04:10 -!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui 04:10 -!- steveo_aa [n=sno@76.226.180.72] has joined #webgui 04:10 -!- Haarg [n=haarg@24-177-119-178.dhcp.mdsn.wi.charter.com] has joined #webgui 04:10 -!- ckotil [n=newtrino@snare.grnoc.iu.edu] has joined #webgui 04:10 -!- jdferm [n=jdferm@sangha.cyberius.net] has joined #webgui 04:10 -!- ServerMode/#webgui [+oo preaction Haarg] by irc.freenode.net 04:10 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui 04: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 #webgui 04:11 -!- CIA-21 [n=CIA@208.69.182.149] has joined #webgui 04:11 -!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui 04:11 -!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #webgui 04:11 -!- GooeyOfSteel [n=puppetma@hq.imaterial.org] has joined #webgui 04:11 -!- ServerMode/#webgui [+o apeiron] by irc.freenode.net 04:11 -!- patspam [i=chatzill@ppp59-167-128-63.lns3.mel6.internode.on.net] has joined #webgui 04:11 -!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui 04:11 -!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has joined #webgui 04:11 -!- estiven [n=erestrep@static-adsl201-232-86-73.epm.net.co] has joined #webgui 04:11 -!- ServerMode/#webgui [+vv Radix-wrk Radix_] by irc.freenode.net 04:14 -!- wgGuest21 [n=wgGuest2@adsl190-28-22-218.epm.net.co] has joined #webgui 04:16 < wgGuest21> hello 04:21 -!- wgGuest21 [n=wgGuest2@adsl190-28-22-218.epm.net.co] has quit [Remote closed the connection] 04:29 -!- 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, @apeiron 04:32 -!- Netsplit over, joins: @apeiron, SDuensin, GooeyOfSteel 04:36 -!- perlDreamer [n=colink@pool-71-117-235-252.ptldor.fios.verizon.net] has joined #webgui 04:37 -!- mode/#webgui [+v perlDreamer] by ChanServ 04:48 -!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: @Haarg, ckotil, steveo_aa, perlmonkey2 04:51 -!- Netsplit over, joins: ckotil 04:51 <+perlDreamer> you guys don't have to leave just because I came back 04:53 -!- Haarg [n=haarg@24-177-119-178.dhcp.mdsn.wi.charter.com] has joined #webgui 04:53 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui 04:53 -!- steveo_aa [n=sno@76.226.180.72] has joined #webgui 04:53 -!- ServerMode/#webgui [+o Haarg] by irc.freenode.net 05:03 <+perlDreamer> aw, ya came back 06:03 < CIA-21> WebGUI: colin * r5713 /branch/WebGUI_Commerce/ (lib/WebGUI/Shop/Tax.pm t/Shop/Tax.t lib/WebGUI/Shop/Cart.pm): 06:03 < CIA-21> WebGUI: Update the POD for Cart.pm. Return value for addItem is not items in cart, it's the 06:03 < CIA-21> WebGUI: created item. 06:03 < CIA-21> WebGUI: Finish up the Tax calculate method, with tests. 06:30 -!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: +perlDreamer, perlbot, nuba 06:30 -!- Netsplit over, joins: +perlDreamer, nuba, perlbot 07:07 -!- perlDreamer [n=colink@pool-71-117-235-252.ptldor.fios.verizon.net] has quit ["Leaving."] 07:21 -!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit [Remote closed the connection] 07:21 < CIA-21> WebGUI: graham * r5714 /WebGUI/ (docs/changelog/7.x.x.txt lib/WebGUI/AssetLineage.pm): fixed: Child assets not indicated by plus sign in uncommited tags 07:43 < CIA-21> WebGUI: 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 tags 07:43 < CIA-21> WebGUI: graham * r5716 /branch/WebGUI_7.4/docs/create.sql: preparing for 7.4.27 release 08:02 < CIA-21> WebGUI: jt * r5717 /releases/WebGUI_7.4.27-stable: Release 7.4.27-stable 08:02 < CIA-21> WebGUI: graham * r5718 /branch/WebGUI_7.4/ (4 files in 4 dirs): preparing for 7.4.28 08: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]"] 09:19 -!- ryuu_ro [n=rory@194.171.50.69] has joined #webgui 09:33 -!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: @Haarg, steveo_aa, perlmonkey2 09:36 -!- Netsplit over, joins: @Haarg, perlmonkey2, steveo_aa 09:37 -!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: CIA-21 09:40 -!- Netsplit over, joins: CIA-21 09:55 -!- Radix-wrk [n=Jesse@203.161.68.67] has quit ["Leaving"] 10:30 -!- BartJol [n=plainstu@194.171.50.123] has joined #webgui 10:44 -!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui 11:33 -!- 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 #webgui 11:33 -!- mode/#webgui [+v Radix_] by ChanServ 11:46 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui 11:46 -!- mode/#webgui [+o preaction] by ChanServ 12:57 -!- BartJol [n=plainstu@194.171.50.123] has quit [Read error: 113 (No route to host)] 14:15 -!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has quit ["Leaving"] 14:32 -!- BartJol [n=plainstu@194.171.50.123] has joined #webgui 15:05 -!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui 15:55 -!- ckotil [n=newtrino@snare.grnoc.iu.edu] has quit ["Lost terminal"] 16:03 -!- ckotil [n=newtrino@snare.grnoc.iu.edu] has joined #webgui 16:08 -!- SDuensin [n=Scott@229.sub-75-205-17.myvzw.com] has joined #WebGUI 16:12 < SDuensin> Morning. 16:15 < ckotil> Good Morning 16:18 < BartJol> Morning 16:22 -!- crythia1 [n=gyoung@fl-69-68-148-96.sta.embarqhsd.net] has joined #webgui 16:22 -!- mode/#webgui [+v crythia1] by ChanServ 16:22 -!- crythia1 [n=gyoung@fl-69-68-148-96.sta.embarqhsd.net] has left #webgui [] 16:29 -!- jdan [n=jdan@195.116.30.251] has joined #webgui 16:30 -!- jdan [n=jdan@195.116.30.251] has quit [Client Quit] 16:39 -!- 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 #webgui 16:56 -!- estiven [n=erestrep@static-adsl201-232-86-73.epm.net.co] has quit [Read error: 104 (Connection reset by peer)] 17:15 < perlmonkey2> In 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 ?" 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:17 < perlmonkey2> And does anyone see a problem with that scheme? 17:20 < perlmonkey2> I think I'll just add some syntax to allow the designer to chose. S1Q1D or S1Q1R and have S1Q1 default to S1Q1R. 17:21 -!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui 17:21 -!- mode/#webgui [+o rizen] by ChanServ 17:39 -!- ryuu_ro [n=rory@194.171.50.69] has quit [] 17:52 -!- perlDreamer [n=colink@pool-71-117-235-252.ptldor.fios.verizon.net] has joined #webgui 17:52 -!- mode/#webgui [+v perlDreamer] by ChanServ 17:53 <+perlDreamer> kill -HUP perlDreamer 17:53 <@rizen> noooooooo!!!!! 17:53 <@rizen> i need him 17:53 <@rizen> leave him alone 17:53 <+perlDreamer> there are runaway processes in perlDreamer 17:53 <+perlDreamer> he needs to reboot 17:54 <@rizen> find a way to kill the runaways 17:54 <+perlDreamer> actually, first he needs to call in sick to $dayJob 17:54 <@rizen> without killing pd 17:54 <@rizen> hehe 17:54 <@rizen> $dayJob->call($sickness); 17:57 < perlmonkey2> perlDreamer: ohnoooes, you gots teh s1kn3ss 17:57 < perlmonkey2> seems like an excessive amount of funk is going around this year. 17:59 <+perlDreamer> now that we've switched to Linux boxen at work, I can almost work completely remotely 17:59 <+perlDreamer> but not today 17:59 <+perlDreamer> just email 17:59 <@rizen> everyone's got to have the sickness, cuz everyone seems to need the cure 17:59 <+perlDreamer> I'm blaming nuba 18:00 <+perlDreamer> he made me worry about wG future with Google building mini-CMS sites 18:00 <@rizen> damn the google! 18:00 <+perlDreamer> actually, that would be a cool TBB entry, talking about it 18:00 <@rizen> but the people they're picking up weren't likely to be webgui customers anyway 18:01 <@rizen> good idea 18:04 -!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has quit ["Leaving."] 18:05 < perlmonkey2> rizen: that was my thought, that only the hobbyists and those who use the php* junk would be moving. 18:06 <+perlDreamer> rizen: see yesterday's irc logs for the talk about it 18:07 <+perlDreamer> after this line 18:07 <+perlDreamer> tw guys, google apps for your domains (aka GAFYD) now features Websites 18:10 <@rizen> they do allow a lot more cool dynamic stuff than any other of the free/cheap do it yourself sites 18:11 <@rizen> but all the sites basically look the same 18:11 <@rizen> and they certainly don't offer everything webgui does 18:13 <@rizen> the super coolest thing is though that you instantly have google search on your site 18:13 <@rizen> although the sites they create a pretty small i'm guessing, so that's not nearly as important 18:14 <+perlDreamer> I think the killer app will be integration 18:14 <+perlDreamer> integrating other google things into the sites seamlessly 18:15 <@rizen> they've already got that really 18:15 <@rizen> with the widget concept 18:16 -!- Haarg [n=haarg@24-177-119-178.dhcp.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"] 18:17 -!- Haarg [n=haarg@24-177-119-178.dhcp.mdsn.wi.charter.com] has joined #webgui 18:17 -!- mode/#webgui [+o Haarg] by ChanServ 18:19 < perlmonkey2> okay, 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:31 -!- lisette [n=liraos@static-adsl201-232-86-73.epm.net.co] has joined #webgui 18:33 < lisette> hello 18:34 <+perlDreamer> hello 18:34 < lisette> which is the module for send emails from webgui? 18:34 <+perlDreamer> WebGUI::Mail::Send 18:36 < lisette> and how to use? 18:36 <+perlDreamer> perldoc WebGUI::Mail::Send 18:36 < lisette> thanks 18:42 <+perlDreamer> lisette, 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 <+perlDreamer> We do it all the time 18:42 <+perlDreamer> to try and make it easier for people to use the code. 18:50 < lisette> ok 19:00 < CIA-21> WebGUI: 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 working 19:00 < CIA-21> WebGUI: jt * r5720 /branch/WebGUI_Commerce/lib/WebGUI/Shop/Tax.pm: made it use a helper method 19:02 <@rizen> wow that took a long time 19:03 <+perlDreamer> yeah 19:03 <+perlDreamer> it's constipated 19:07 -!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: @Haarg, ckotil 19:07 <@rizen> i'm working on the address chooser function 19:07 <@rizen> so we can actually see the fruits of your tax labor 19:07 < nuba> [12:29] <+perlDreamer> I'm blaming nuba 19:07 < nuba> oh come on 19:07 < nuba> dont shoot the messenger 19:08 -!- Netsplit over, joins: @Haarg, ckotil 19:08 <@rizen> i'm blaming nuba too, just cuz it's fun 19:09 < BartJol> nuba all people here blame me, because I'm the newby and I mess things up 19:11 < nuba> i 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 < nuba> rizen: yesterday i tried shaking the channel a bit with that topic, but nobody was really excited about it 19:12 -!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: +perlDreamer, BartJol, @rizen, CIA-21 19:12 -!- apeiron_ [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui 19:13 -!- mode/#webgui [+o apeiron_] by ChanServ 19: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 apeiron 19:15 -!- Netsplit over, joins: BartJol 19:15 < BartJol> that was strange, got kicked out... 19:15 < BartJol> well have to cook 19:15 -!- BartJol [n=plainstu@194.171.50.123] has left #webgui [] 19:16 -!- CIA-52 [n=CIA@208.69.182.149] has joined #WebGUI 19:17 -!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui 19:17 -!- perlDreamer [n=colink@pool-71-117-235-252.ptldor.fios.verizon.net] has joined #webgui 19:17 -!- BartJol [n=plainstu@194.171.50.123] has joined #webgui 19:17 -!- ServerMode/#webgui [+ov rizen perlDreamer] by irc.freenode.net 19:18 -!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: steveo_aa, perlmonkey2 19:22 -!- estiven [n=erestrep@static-adsl201-232-86-73.epm.net.co] has joined #webgui 19:22 -!- Netsplit over, joins: perlmonkey2, steveo_aa 19:23 < nuba> splitty here, huh? 19:23 <+perlDreamer> guess so 19:26 -!- 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 #webgui 19:26 -!- mode/#webgui [+o apeiron] by ChanServ 19:30 -!- BartJol [n=plainstu@194.171.50.123] has quit [Read error: 110 (Connection timed out)] 19:36 -!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has joined #webgui 19:36 -!- mode/#webgui [+v MrHairgrease] by ChanServ 19:54 -!- perlDreame1 [n=colink@pool-71-117-235-252.ptldor.fios.verizon.net] has joined #webgui 19:59 -!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has quit [Read error: 110 (Connection timed out)] 20:00 -!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has joined #webgui 20:00 -!- mode/#webgui [+v MrHairgrease] by ChanServ 20:06 -!- crythia1 [n=gyoung@fl-69-68-148-96.sta.embarqhsd.net] has joined #webgui 20:06 -!- mode/#webgui [+v crythia1] by ChanServ 20:06 -!- crythia1 [n=gyoung@fl-69-68-148-96.sta.embarqhsd.net] has left #webgui [] 20:09 < perlmonkey2> axod is explaining his problems and why he's kicking 800 people off irc in ##javascript 20:12 < perlDreame1> oh really? 20:12 < perlDreame1> is it logged somewhere? 20:13 -!- 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 perlDreamer 20:14 -!- perlDreamer is now known as fooBa2 20: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 #webgui 20:14 -!- mode/#webgui [+v perlDreamer] by ChanServ 20:41 < GooeyOfSteel> Wiki: WRE-FAQ - Edited on 3/5/2008 12:30 pm by JT http://www.webgui.org/community-wiki/wre-faq 20:49 < perlmonkey2> perlDreamer: 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:52 <+perlDreamer> no sweat, dude 20:56 < perlmonkey2> $self->session->id->generate() what is that generating? A unique assetId? 20:56 < perlmonkey2> Let me back up 20:57 < perlmonkey2> I 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:58 < perlmonkey2> I would think I would use the assetId for the current survey? 21:02 <+perlDreamer> $self->getId 21:02 <+perlDreamer> id->generate generates a custom, base64 MD5 hash 21:02 -!- wgGuest25 [i=WebGUIUs@c-76-119-132-119.hsd1.ma.comcast.net] has joined #webgui 21:02 < wgGuest25> wow.. IRC 21:02 <+perlDreamer> yeah, isn't it cool? 21:03 < wgGuest25> haven't been on one of these since I was like... 6 21:03 <+perlDreamer> Perchance, do you have a WebGUI related question? 21:03 < wgGuest25> I do... do you have webGUI related answers? 21:03 <+perlDreamer> perchance 21:03 < perlmonkey2> The 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:04 < perlmonkey2> wgGuest25: perlDreamer has *all* the answers. 21:04 < wgGuest25> alright. 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 stuff 21:04 <+perlDreamer> 'salright 21:04 < wgGuest25> but I just set up a new server, with the latest version of (ubuntu and webgui) 21:04 < perlmonkey2> congrats 21:04 < wgGuest25> used the WRE, successfully 21:05 < perlmonkey2> isn't it cool? 21:05 < wgGuest25> i can upload photos from any section of the site, EXCEPT for the inline-editor. 21:05 < wgGuest25> They just show up as broken image boxes 21:05 <+perlDreamer> anything in the webgui.log file? 21:06 < wgGuest25> with the WRE, does everything log to /etc/WebGUI/.... whatever? 21:06 < wgGuest25> or does it break logs down into individual sites 21:06 <@rizen> perlmonkey2 survey_id was a stupid thing that i should have never added 21:07 <+perlDreamer> /data/wre/logs, I believe 21:07 < perlmonkey2> rizen: 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 <+perlDreamer> and (not being a WRE user myself), I'm pretty sure that all WebGUI's log to the same file 21:07 < wgGuest25> no directory /data/wre/logs 21:07 <@rizen> it's /data/wre/var/logs 21:07 < perlmonkey2> s/bare/bear/ 21:08 <@rizen> pm2: yes use the assetId as a key 21:08 <+perlDreamer> perlmonkey2: ew 21:08 < perlmonkey2> groovy 21:08 < perlmonkey2> heh 21:08 < perlmonkey2> "NO, NO, don't take off your clothes...my eyes, my eyes....they BUUUURN!" 21:08 < wgGuest25> that's more like what i'm used to seeing in IRC 21:08 < wgGuest25> welcome to being 6 years old :) 21:09 * perlmonkey2 hopes to stay that way forever. 21:09 < wgGuest25> haha 21:09 < wgGuest25> i'm attempting to add an image now while tailing the log file 21:10 < wgGuest25> main::[[undef]] - Can't make a thumbnail for a file that is not in my storage location. 21:11 -!- wgGuest25 is now known as Slickware 21:12 < Slickware> did I stump 21:12 -!- dionak [n=diona@97.66.185.250] has joined #webgui 21:13 <@rizen> it's most likely a privileges problem 21:13 <@rizen> make sure your uploads folders are owned by your apache user 21:13 < Slickware> i feel like it should be too - but shouldn't the WRE have set that up? 21:13 < Slickware> i don't even have apache actually installed 21:13 < Slickware> i let the WRE do EVERYTHING 21:14 <@rizen> it 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 wrong 21:14 < Slickware> especially with webgui 21:14 < Slickware> i remember the days before the WRE :) 21:14 <@rizen> what? 21:14 <@rizen> webgui roxorz 21:14 < Slickware> it was like installing Murphy's Law 21:14 < Slickware> especially all those damn CPAN things 21:15 < Slickware> "can't make, install seems impossible" 21:16 <@rizen> true...hence the wre 21:16 < dionak> the more powerful an application, the more chance that something can go wrong. 21:16 -!- rizen is now known as rizenisatlunch 21:17 -!- perlmonkey2 is now known as stupidmonkeymust 21:18 -!- stupidmonkeymust is now known as monkeyiseating 21:18 < nuba> heh, 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 < Slickware> ouch 21:18 < nuba> early 5.x days 21:18 < Slickware> hey.. i still have a 5.x server running happily :) 21:19 < nuba> you'll have lots more fun with webgui as it is now 21:19 < Slickware> i have to say - while I understand the idea behind clear/commit, 21:19 < Slickware> i HATE it 21:20 <+perlDreamer> there is an autosave/autocommit set of options in the settings 21:20 < nuba> also the wre comes tweaked for webgui performance, mod_proxy and all that 21:20 < nuba> its a good way to get a great setup out of the box 21:20 < nuba> with little effort 21:21 <+perlDreamer> rizen: more fuel for your argument 21:22 <+perlDreamer> the automated test suites all run the WRE 21:23 < Slickware> i won't bash the WRE 21:23 < Slickware> just want to get this image upload issue fixed 21:24 < Slickware> so, if i'm running ubuntu... which directories should I have to change permissions on ? 21:24 <+perlDreamer> /data/domains/* 21:24 < Slickware> and should they all be apache.apache 21:24 <+perlDreamer> um, no 21:24 <+perlDreamer> there is a webgui user for the wre 21:24 <+perlDreamer> they should be owned by him 21:24 <+perlDreamer> and exactly which versions of the WRE and webgui are you using? 21:25 < Slickware> everything down to the uploads directory is owned by webgui 21:25 < Slickware> but some of the directories IN the uploads directory are owned by webgui, group is like 42553437589 21:26 <+perlDreamer> are they writable by user webgui? 21:26 <@apeiron> nuba, http://sourceforge.net/projects/cgipan/ may have helped you back in those days without shell access. :) 21:27 < Slickware> i believe they are 21:27 < Slickware> i'm literally running whatever the latest versions are - i JUST finished installing it last week 21:27 <+perlDreamer> chmod -R u+w /data/domains 21:28 <+perlDreamer> and, just as a refresher, only uploads through the rich editor have problems? 21:28 <@preaction> wasn't this a known issue in 7.4.25? 21:28 < Slickware> yes, only through the richedit 21:28 <+perlDreamer> sounds familiar 21:28 <+perlDreamer> what's the exact webgui version you're running? 21:29 < Slickware> how do i check now 21:29 < nuba> apeiron: nice 21:30 <+perlDreamer> through the UI, log in as admin, turn admin on, to go admin console, click on statistics 21:30 <+perlDreamer> through the shell, look at /data/WebGUI/lib/WebGUI.pm 21:30 <@apeiron> Slickware, grep VERSION /data/WebGUI/lib/WebGUI.pm 21:30 < Slickware> WebGUI Build Version: 7.4.25-stable 21:30 -!- monkeyiseating is now known as perlmonkey2 21:30 <+perlDreamer> Slickware, please upgrade to 7.4.26 or higher 21:30 < Slickware> and apparently there is another new version out. huh. 21:30 <+perlDreamer> " - fixed: rich text editor image uploads deleted immediately" 21:31 < Slickware> oh jeez 21:31 <+perlDreamer> there are frequent bug fixes 21:31 < Slickware> is there a SIMPLE way to upgrade through the WRE? 21:31 < Slickware> or do i have to download the tar.gz and upload with the perl scripts 21:32 < nuba> well, check for something with a name looking like "webguiupdate" in /data/wre/sbin 21:32 <+perlDreamer> http://www.webgui.org/community-wiki/upgrading 21:32 < nuba> and give it a bump or two 21:32 < Slickware> thanks 21:32 <+perlDreamer> nuba, was my earlier spanish anywhere on track? 21:32 < Slickware> i honestly never really expected to find any answers in IRC :) 21:33 < nuba> perlDreamer: where is it? 21:33 <+perlDreamer> way back, 21:33 < Slickware> they should log these chats and let google index them, it's a lot better than using their horrible search engine on the discussion board 21:33 < perlmonkey2> I still can't believe IRC was ever anything but for hackers and programmers 21:33 <@preaction> Slickware, xdanger currently has logs available, but we have no search mechanism developed for it yet 21:33 <@apeiron> Slickware, Google's horrible search engine, or WebGUI's? 21:33 <@preaction> i'm tempted to see if i can get an IRSeek bot in here 21:33 < Slickware> i can't stand that you can't use the back button on the discussionboard search 21:34 < Slickware> it's really annoying to have to open posts in new tabs/windows to see if they are relevant to your search query 21:34 < Slickware> but that's just me complaining :) 21:34 <@apeiron> Slickware, If it's WebGUI's, feel free to file an RFE documenting what you'd like to see improved. 21:34 <+perlDreamer> Slickware: we always appreciate user feedback, but things in IRC rarely get done. 21:34 <+perlDreamer> Use the RFE system online to submit those 21:35 < Slickware> i know. i'm more just venting 21:35 <+perlDreamer> or, provide patches :) 21:35 < Slickware> the discussion feature has always been that way 21:35 < Slickware> i am unfortunately not a perl programmer by any means 21:35 <@apeiron> That doesn't mean you won't get what you want. 21:35 < nuba> why 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 < Slickware> haha 21:36 <@apeiron> nuba, What if you don't *have* the logs? :) 21:36 < nuba> wget'em 21:36 < Slickware> alright. thanks guys/girls. I'll give this stuff a shot and check back later if I fail miserably. 21:36 < nuba> really, i added the URL to xdanger's logs in the wiki irc page 21:36 < nuba> its just a matter of wget -r -l inf 'URL' and then grepping'em 21:53 -!- slickwar1 [i=WebGUIUs@c-76-119-132-119.hsd1.ma.comcast.net] has joined #webgui 21:54 -!- Slickware [i=WebGUIUs@c-76-119-132-119.hsd1.ma.comcast.net] has quit [] 21:54 < slickwar1> test 21:54 <+perlDreamer> yo 21:54 < slickwar1> just setting up IRC on GAIM 21:55 -!- slickwar1 [i=WebGUIUs@c-76-119-132-119.hsd1.ma.comcast.net] has left #webgui [] 21:59 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."] 22:00 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui 22:01 -!- dionak [n=diona@97.66.185.250] has left #webgui [] 22:07 -!- slickwar1 [i=WebGUIUs@c-76-119-132-119.hsd1.ma.comcast.net] has joined #webgui 22:07 < slickwar1> you guys rock. 22:07 < slickwar1> 5 minutes later, and I can upload from the richedit 22:07 < slickwar1> after a week of pulling out hair :) 22:09 <+perlDreamer> here's a few hints for bug fixing 22:09 <+perlDreamer> search the bug db 22:09 <+perlDreamer> search the forums 22:09 <+perlDreamer> check the wiki 22:09 <+perlDreamer> read release notes for newer versions of wG 22:12 < slickwar1> I did check the forums 22:12 < slickwar1> I just sort of assumed, since I had JUST downloaded a new version, that upgrading couldn't possibly be my problem :) 22:13 < slickwar1> I forget that webgui changes releases more than my girlfriend changes outfits 22:14 <+perlDreamer> here's the new release schedule: http://www.webgui.org/webgui/dev/discuss/stable-vs-beta-releases-and-demo 22:15 <+perlDreamer> it's open source. You have to release often. 22:16 < slickwar1> I 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 rizen 22:16 <+perlDreamer> true 22:18 <@rizen> perlDreamer: 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 <+perlDreamer> I did :) 22:20 <+perlDreamer> I'm a little worried about coding while I'm sick, so I'm looking at test coverage for the Shop modules 22:26 <+perlDreamer> If 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 <@rizen> not that i'm aware of 22:27 <@rizen> i suppose if the filesystem had some sort of locking mechanism that prevented it from being opened by multiple users at the same time 22:27 <@rizen> NTFS has that 22:27 < slickwar1> so perlDreamer, who are you guys - do you work for plainblack or are you just hardcore fans? 22:27 <@rizen> rizen = JT 22:27 <+perlDreamer> all of the Op'ed guys are PB staffers 22:28 <+perlDreamer> the voiced guys are volunteers who have no other life 22:28 < slickwar1> aww JT you have been around since the beginning... you're my hero 22:28 <+perlDreamer> and the other people are volunteers and bots 22:28 <@preaction> perlDreamer, SELinux perhaps? 22:28 <@rizen> i say that the voiced guys are volunteers who contribute more than others...not that have no life 22:29 <+perlDreamer> it's the virii talking 22:29 < slickwar1> I contributed... I finally bought the books 22:29 <+perlDreamer> I'm looking at the importTaxData method for Shop::Tax.pm, and wondering if I went overboard on file checking 22:29 < slickwar1> my monetary contribution is far more useful than any coding I could cough up, believe me 22:30 <+perlDreamer> oh, I don't know 22:30 <+perlDreamer> do you do HTML/CSS? 22:31 <+perlDreamer> there are lots of ways to contribute back 22:31 < slickwar1> I do, but I try not to 22:31 <+perlDreamer> make themes 22:31 <+perlDreamer> translate wG into other languages 22:31 < slickwar1> haha... pig latin 22:31 <+perlDreamer> answer questions on the forums 22:31 <@preaction> before 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 <+perlDreamer> make useful wiki pages 22:31 < slickwar1> I do try and answer forums question 22:32 <+perlDreamer> preaction: 1; 22:32 < slickwar1> maybe I should revise the WRE installation wiki so it is accurate for Ubuntu 22:32 <@preaction> i'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 Albums 22:32 < slickwar1> becuase the "for ubuntu" section is blatantly wrong 22:32 <@preaction> but that check is failing 22:32 <@preaction> somehow GalleryFile::Photo which use base 'GalleryFile'; is somehow NOT a GalleryFile. 22:32 <@preaction> or an Asset for that matter 22:33 <+perlDreamer> is isa overridden anywhere in your code, or in any module that you might use? 22:33 <@preaction> http://webgui.pastebin.com/m40fbb032 <- anything glaringly wrong with that? 22:34 <@preaction> perlDreamer, not that i know of 22:34 <@preaction> GalleryFile exists and is syntactically correct, same with Photo 22:35 <+perlDreamer> $properties->className isn't an object 22:35 <+perlDreamer> is it? 22:35 <@preaction> no it should just be a string 22:35 <+perlDreamer> maybe I should read more about UNIVERSAL isa 22:35 <+perlDreamer> I thought you needed an object to do that 22:35 <+perlDreamer> not a hashref 22:36 <@preaction> no, a classname works 22:36 <+perlDreamer> try it as a bareword 22:36 <+perlDreamer> vs a var 22:36 <@preaction> i tried doing "WebGUI::Asset::File::GalleryFile::Photo->isa("WebGUI::Asset::File::GalleryFile"); 22:36 <@preaction> k 22:37 <@preaction> nope 22:37 <@preaction> 163 print "OKAY!!\n" if WebGUI::Asset::File::GalleryFile::Photo->isa( $fileClass ); <- fails 22:38 <@preaction> ha. 22:38 <@preaction> it wasn't loaded 22:38 <+perlDreamer> use base doesn't load it? 22:39 <@preaction> i did a use in my test 22:39 <@preaction> no, the class itself wasn't loaded 22:39 <+perlDreamer> oh 22:39 <@preaction> and ->isa() returned false because Perl didn't know what it was 22:39 <@preaction> which means that all overridden addChild probably needs to use WebGUI::Pluggable::load 22:41 <@preaction> kinda weird that isa didn't even pop a warning about it... 22:42 <@preaction> oh well, i can now close all the Gallery bugs on the public buglist. 22:42 <+perlDreamer> cool 22:43 <@preaction> yours had to be the hardest, didn't it? 22:43 <@preaction> but now MrHairgrease has his GalleryFile class so he can make GalleryFile::Video 22:43 <+perlDreamer> sorry, man 22:45 <@preaction> hum... discussion: which is more important? Purity of form (user interface) or purity of essence (code design) 22:46 <@preaction> i 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:48 <+perlDreamer> what's awfully wide-open, how about a specific example? 22:50 <+perlDreamer> rizen: 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:51 <@rizen> what are we talking about? 22:51 <@rizen> is this in reference to the change i made? 22:51 <+perlDreamer> yeah 22:52 <@rizen> i don't understand why that would be better 22:52 < lisette> how to obtains a email from a user of webgui? 22:52 <+perlDreamer> you 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 <@rizen> there isn't a problem if it returns 0 22:52 <+perlDreamer> since 0 is a valid amount of tax 22:53 <+MrHairgrease> pd: have it return a negative amount of tax 22:53 <+MrHairgrease> you know that's wrong b/c i have never seen the tax hyena's give anything back =) 22:53 <@rizen> it returns 0 when there is no shipping address defined, that's because you can't have any tax without a shipping address 22:53 <@rizen> there's nothing wrong with 0 in that case 22:53 <@rizen> and there's nothing wrong with the tax system either that should throw an exception 22:54 <+perlDreamer> the exception would be thrown by Address and propagate back to the caller of calculate 22:54 <@rizen> i think exceptions should only ever be thrown to indicate something is wrong, or something happened that you don't expect 22:54 * slickwar1 is out. thanks everyone 22:54 <+perlDreamer> but since 0 is okay, it's moot 22:54 -!- slickwar1 [i=WebGUIUs@c-76-119-132-119.hsd1.ma.comcast.net] has quit ["Leaving."] 22:54 <@rizen> now, if we made it past that check 22:54 <@rizen> and address still throws an exception 22:55 <@rizen> then it should propogate up 22:55 <@rizen> i think by throwing the exception where i made the change, you're actually potentially masking other real problems 22:56 <+perlDreamer> I don't think return 0 should be replaced with an explicit expression, I think we should let $book->getAddress throw the exception for us 22:56 <@rizen> i know that's what you're saying...and i think that then indicates a problem where there is none 22:56 -!- wgGuest74 [n=wgGuest7@static-adsl201-232-86-73.epm.net.co] has joined #webgui 22:57 <@rizen> it's perfectly valid to call $tax->calculate() with no address assigned 22:57 <@rizen> there's no reason it should throw an exception on something that it's valid to do 22:59 <@rizen> that is, unless you're saying it shouldn't be valid to call calculate when no address is assigned 23:00 <+perlDreamer> could they proceed to checkout without a shipping address? If not, then 0 is cool with me. 23:00 <@rizen> no 23:00 <@rizen> the system prevents that 23:00 <+perlDreamer> then 0 is cool with me 23:01 <+perlDreamer> I'll build a test for the return 0 case 23:01 <@rizen> because the "Choose Shipping Address" button is displayed in place of "Checkout" when they haven't chosen one. 23:01 <@rizen> btw...i'm thinking about getting rid of the checkout button 23:02 <@rizen> i'm thinking about putting the various payment buttons right on the cart screen 23:02 <@rizen> so we can skip a step 23:02 <@rizen> is that a bad idea? 23:02 <+perlDreamer> that's cool. That way they don't have to choose a payment option and then checkout 23:02 <+perlDreamer> instead of 1-click checkout, it's 1-click payment 23:02 <@rizen> my only concern is what if someone has 15 different payment options enabled 23:03 <@rizen> Check, Cash, PO, PayPal, Karma, Google Check Out, 2Checkout, Credit Card 23:03 <@rizen> etc 23:03 < wgGuest74> hello 23:03 <@rizen> i realize it's unlikely..but it could make the cart screen ugly 23:04 <+perlDreamer> maybe 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 <+perlDreamer> I hate UI design 23:05 <+perlDreamer> wgGuest74: howdy. Do you have a question? 23:05 < wgGuest74> last 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 dinamic 23:06 < wgGuest74> if i create a new control can i solve the problem? 23:06 <+perlDreamer> dynamic, like the user can provide more options? 23:07 < wgGuest74> the options are stored in a database and they are created by the user 23:08 < wgGuest74> yes, the user can provide more options 23:08 <+perlDreamer> that's what you want it to do, but you're finding that it doesn't do that right now. Correct? 23:08 < wgGuest74> yes 23:10 <+perlDreamer> there 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 <+perlDreamer> it should not need a new form control 23:12 <+perlDreamer> you would need to further customize the DataForm to handle that new function 23:12 < wgGuest74> for example the user first add in a table called areas, the name of the areas 23:13 < wgGuest74> and 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 subjects 23:14 < wgGuest74> in the subject table will have a field that store the area's id 23:15 <+perlDreamer> in the dataform, there are only 2-3 screens for the user 23:15 <+perlDreamer> add an entry 23:15 <+perlDreamer> view all entries 23:15 <+perlDreamer> view one entry 23:15 <+perlDreamer> export some data 23:15 <+perlDreamer> okay, 4 screens 23:16 <+perlDreamer> no screens where the user can update a field, and then change it in another 23:16 <+perlDreamer> That sounds more like a SQL form type of application 23:16 <+perlDreamer> but that's a guess 23:17 < wgGuest74> but the sql form doesn't have the select box 23:17 <+perlDreamer> it 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:18 <+perlDreamer> the new Thingy application may do that, but it won't be out before April/May (as scheduled) 23:18 < wgGuest74> the thing that i did was to create a dataform to add areas and i modified it to stored the entries in my own tables 23:18 < wgGuest74> and then i created another dataform to create subjects 23:19 < wgGuest74> the thing that i need is the possibility to put the posibles values in a selected box obtaining the values from a table 23:24 <+perlDreamer> If I remember correctly, the DataForm will evaluate macros in several of its form fields 23:25 <+perlDreamer> How about using a SQL Macro to populate the possible values field of the select box? 23:26 < wgGuest74> yes, i tried with a macro but the it returns a string 23:26 < wgGuest74> all tha values appear in the same line 23:26 < wgGuest74> what features will have the thingy application? 23:27 <+perlDreamer> it's basically a lite version of MS Access 23:27 <+perlDreamer> for the same line, you may need to use a different template, but again, I'm guessing 23:33 < wgGuest74> perlDreamer, 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:35 <+perlDreamer> I don't know. If you could, it would be in the Asset's edit screen, probably under display. 23:36 < wgGuest74> yes? 23:37 <+perlDreamer> no. The default view is either a normal search screen, or an advanced search screen. 23:38 <+perlDreamer> for multiline macro output from ^SQL, use \n in the template 23:39 < wgGuest74> ok 23:39 < wgGuest74> i am going to try 23:41 < wgGuest74> can i change in the sql form the default view, i want that the default view will be add a entry 23:42 <+perlDreamer> no 23:42 < wgGuest74> ok 23:43 < wgGuest74> so, i am going to try the macro 23:44 < wgGuest74> if a change the code of the data form wobject, can i report you the changes to be incluided in the core? 23:45 <+perlDreamer> You 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:48 -!- estive1 [n=estiven@static-adsl201-232-86-73.epm.net.co] has joined #webgui 23:48