--- 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 < wgGuest74> we have decided to put all of our sites, applications and projects around webgui, we want to contribute for webgui's project 23:48 <+perlDreamer> That's awesome! 23:49 <@rizen> wgGuest74 i'm sorry to report that DataForm will not be in the core going foward 23:49 <@rizen> you'll still be able to use it on your sites, but it won't be part of the core 23:49 < CIA-52> WebGUI: colin * r5721 /branch/WebGUI_Commerce/t/Macro/SQL.t: Functional test for multiline output. 23:49 < CIA-52> WebGUI: colin * r5722 /branch/WebGUI_Commerce/t/ (3 files in 2 dirs): 23:49 < CIA-52> WebGUI: Add coverage tests for more bad CSV file handling, 23:49 < CIA-52> WebGUI: and two files to exercise the header checks in importTaxData 23:49 < CIA-52> WebGUI: colin * r5723 /branch/WebGUI_7.4/t/Macro/SQL.t: backport new SQL.pm macro test for multiline output 23:50 <@rizen> instead it will be replaced by two other assets: Thingy for building data entry applications, and Mail Form for building email forms 23:51 < wgGuest74> are there some rules that are neccesary to have to contribute in the project? 23:52 <+perlDreamer> http://www.webgui.org/community-wiki/getting-started-in-the-webgui-community 23:52 <+perlDreamer> see the Core developers entry in that wiki page 23:52 < wgGuest74> ok 23:53 < wgGuest74> so, the data form will desappear in the future 23:53 <+perlDreamer> http://www.webgui.org/community-wiki/development-best-practices for how to write good core code 23:54 < estive1> you can make your own patch 23:54 <+perlDreamer> actually, see the "Developing for WebGUI" entry on the table of contents page http://www.webgui.org/community-wiki/table-of-contents 23:54 -!- SDuensin [n=Scott@229.sub-75-205-17.myvzw.com] has quit ["Leaving"] 23:56 <+perlDreamer> and estive1 is right. You can always maintain your own patch for locally customizing WebGUI 23:57 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."] 23:57 < wgGuest74> ok 23:57 < wgGuest74> thanks for all your advices 23:57 <@rizen> We will be releasing the data form into the user contributions section of the site in case someone 23:57 <@rizen> would like to start maintaining it 23:58 <@rizen> After all there will be thousands of people out there with data forms on their sites. 23:58 < wgGuest74> claro 23:59 < wgGuest74> yes, we want to be part of webgui --- Day changed Thu Mar 06 2008 00:01 < estive1> http://www.webgui.org/community-wiki/how-to-add-a-feature-to-webgui-core 00:01 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui 00:05 < perlmonkey2> rizen: I've written probably 20 different custom one off surveys and your survey system seems very well designed. How come you think so badly of it? 00:06 <@rizen> i think that the survey works pretty well, i just think the code behind it is absolute crap 00:06 <@rizen> =) 00:06 < perlmonkey2> Hah 00:06 <@rizen> it's one of the oldest (hasn't been revamped) assets in the system 00:07 < perlmonkey2> I have a question about embedding variables in question text. I'd like to be able to have Q2's text have a tags. 00:08 < perlmonkey2> What this would do is in the text of Q2, Section 1 Question 1's submitted answer would be replaced with that tag 00:08 < perlmonkey2> would put the recorded value instead of the submitted. 00:08 < perlmonkey2> But is that a good way to do this? 00:09 < perlmonkey2> S1Q1. What is your favorite color. S1Q1. Why is your favorite color? 00:09 <@rizen> oh i see what you're saying 00:09 < perlmonkey2> whups, that second S1Q1 should be S1Q2. 00:10 <@rizen> well i don't think it's a good idea to use S1Q2 because those are relative 00:10 <@rizen> if they reorder the survey then it won't make sense 00:10 < perlmonkey2> oh 00:10 < perlmonkey2> good point. 00:10 <@rizen> you'd have to use the asset id of some sort 00:11 <@rizen> but i think that a better way to do it from a user interface point of view is 00:11 <@rizen> have them put in a %s 00:11 <@rizen> and then have a drop down to pull the answer from a list of the questions 00:11 <@rizen> so that you can tie a question's guid directly to it 00:11 <@rizen> Why is %s your favorite color? 00:11 <@rizen> and then use sprintf to put it in there 00:12 < perlmonkey2> Okay, I like that. 00:12 <@rizen> wow that's going to be a pretty powerful feature 00:12 < perlmonkey2> Yeah, the people at work had a lot of them. 00:12 < perlmonkey2> Good ideas, that is. 00:16 < perlmonkey2> rizen: So how about the dialog defaults to one dropdown for variable replacement. then an onblur on the text that counts %s and if there is more than 2 but less than 6, add that number of new drop downs? 00:19 <@rizen> sounds reasonable to me. so you're going to allow for follow up questions that combine the answers from multiple previous posts? 00:19 <@rizen> s/posts/responses/ 00:20 < CIA-52> WebGUI: colin * r5724 /WebGUI/t/Macro/SQL.t: sideport new SQL.pm macro test for multiline output 00:21 < wgGuest74> excuseme perlDreamer, when you said me for multiline macro output from ^SQL, use \n in the template 00:21 < wgGuest74> is to use my own macro or to use the SQL Macro 00:22 -!- estive1 [n=estiven@static-adsl201-232-86-73.epm.net.co] has left #webgui [] 00:22 <+perlDreamer> use the ^SQL macro, but in the template, give it a newline "^1;\n" 00:23 < wgGuest74> ok 00:26 -!- estiven [n=estiven@static-adsl201-232-86-73.epm.net.co] has joined #webgui 00:26 < perlmonkey2> rizen: unless you see a reason not to? 00:26 <@rizen> nope, that's just super powerful 00:27 <@rizen> gotta be careful not to confuse your average survey admin 00:27 < perlmonkey2> I'm not sure how to use the SQL.pm to bring back more than 2 columns. Is there a module with an example? 00:27 < perlmonkey2> Hopefully they won't be confused because they shouldn't see the extra drop downs unless they add more than 1 %s 00:28 < perlmonkey2> nm, I found an exmaple 00:30 < perlmonkey2> oh, it works like you'd think it would. The pod info said something about more than two columns being concat'd with a ":" that confused me. 00:39 -!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui 00:40 <+perlDreamer> perlmonkey2: do we need a pod patch for that? 00:40 < perlmonkey2> I don't know....In all probability I just didn't understand the docs. 00:40 <+perlDreamer> which method? 00:41 < perlmonkey2> buildArrayRef* 00:41 < perlmonkey2> any of them 00:41 < perlmonkey2> If the query selects more than two columns, then the last column will be the value and the remaining columns will be joined together by a colon ":" to form a complex key. 00:41 < perlmonkey2> From buildArrayRefOfHashRefs 00:42 <+perlDreamer> yeah, that's what it does. It's correct 00:42 <+perlDreamer> I wonder if that's tested... 00:43 < perlmonkey2> but you really get [{k1,v1},{k2,v2}...} 00:43 < perlmonkey2> er close with ] 00:44 < perlmonkey2> if you have columns k1,k2,k3 you get back [{k1,v1,k2,v2,k3,v3},...] 00:44 < perlmonkey2> I don't undestnad where the concat comes in? 00:44 <+perlDreamer> me either 00:44 <+perlDreamer> it looks like copy/paste bug from buildHash, buildHashRef 00:45 < perlmonkey2> not sure why buildHash does that though 00:46 <@rizen> because you can't have multiple keys 00:46 <@rizen> so it generates a composite key 00:46 <@rizen> select userId,groupId, groupName from sometable 00:47 <@rizen> makes $hash{userId-groupId} = "group name"; 00:47 <@rizen> get it? 00:47 < perlmonkey2> Okay, yeah, that makes sense now. 00:47 < perlmonkey2> I can see how that would be a very useful method to have. 00:48 <@rizen> WebGUI::SQL is built from years of love 00:48 <@rizen> there's lots of great utility methods in there to do crazy stuff in one line of code 00:48 < perlmonkey2> I like it :) 00:50 < perlmonkey2> in the db, what is the preferred way of doing booleans? 00:50 < perlmonkey2> a mysql bool type? 00:50 <+perlDreamer> usually we use ints with 0 and 1 00:51 < perlmonkey2> perlDreamer: But you are totally wasting 7 bits of space! 00:51 < perlmonkey2> :P 00:51 * perlDreamer passes perlmonkey2 254 values 00:52 <@rizen> you can use tinyint 00:52 <@rizen> hehe 00:52 <@rizen> i honestly didn't even know that mysql had a bool type 00:52 < perlmonkey2> I have no idea what mysql's internals are for boolean...probably tinyint :P 00:53 <@rizen> does it return 1/0 or true/false? 00:53 < perlmonkey2> j/s I'll test 00:53 < perlmonkey2> select true returns 1 00:54 <+perlDreamer> how 'bout select false? 00:54 < perlmonkey2> 0 00:54 <@rizen> it's a 0 00:54 <@rizen> nice 00:54 <@rizen> we should start using that 00:54 < perlmonkey2> looks like it is a bit 00:55 < perlmonkey2> but a signed bit 00:55 < perlmonkey2> so two bits? 00:55 < perlmonkey2> that is just guessing because mysql-admin gives the option of setting it unsigned 00:55 <+perlDreamer> that's 6 bits savings / row 00:56 <+perlDreamer> it bet it uses int(2) internally 00:56 < perlmonkey2> well if you want to start using it for all my bool columsn :) 00:56 < perlmonkey2> I mean "I'll start using it for ..." 00:57 <@rizen> i just switched all the create scripts for the new commerce system to use bool 00:58 <@rizen> and the yesNo form control 00:58 < perlmonkey2> that was fast. 00:58 <@rizen> that's what my wife says 00:59 < perlmonkey2> DOH :O 00:59 <@rizen> =) 00:59 < perlmonkey2> looks like it is a TINYINT(1) internally 00:59 <@rizen> i was going to say it about MrHairgreases girlfriend but i wasn't sure if he's here or not 00:59 < perlmonkey2> hah 01:02 -!- wgGuest74 [n=wgGuest7@static-adsl201-232-86-73.epm.net.co] has quit [Remote closed the connection] 01:04 -!- lisette [n=liraos@static-adsl201-232-86-73.epm.net.co] has quit ["Leaving."] 01:13 * perlmonkey2 realizes he was getting bits and bytes mixed up earlier...whups 01:13 * perlmonkey2 hands in his programmer creds and goes to dig ditches. 01:13 -!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit [Remote closed the connection] 01:13 <@rizen> nooooooOoooooOOOOOooooooo! 01:14 <@rizen> you must finish the survey and dethrone the reigning webgui community tyrant known as perlDreamer 01:14 < perlmonkey2> Hah, perlDreamer can probably get his bits and bolts right 01:15 <@rizen> he has a bunch of runaway processes today 01:15 <@rizen> he almost sig hupped himself 01:15 < perlmonkey2> Although the farther I get into this version of the survey system the more excited I get. As long as I can keep ajax calls sub 500ms+latency I think it will be very fun to use. 01:16 < perlmonkey2> wow, that is serious when you are ready to do that. 01:18 * MrHairgrease is about to sig hup 01:18 <+MrHairgrease> later 01:18 -!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has left #webgui [] 01:19 -!- perlDreamer is now known as perlTyrant 01:19 <+perlTyrant> much better :) 01:19 <@rizen> indeed 01:20 <+perlTyrant> rizen: Tim drew a picture of you. Would you like to see it? 01:20 <@rizen> pd in 10 minutes or so i should have the shipping address chooser complete 01:20 <@rizen> sure 01:24 <@rizen> are you emailing it to me? 01:25 <+perlTyrant> yup 01:25 <+perlTyrant> it's a whiteboard drawing 01:25 <+perlTyrant> I think he's captured the inner you 01:26 <@rizen> well at least it's not the outer me...that would have set the whiteboard on fire 01:27 <+perlTyrant> we would have needed a taller whiteboard 01:27 <+perlTyrant> big smile, flared nostrils, beard. That's gotta be JT 01:28 <+perlTyrant> did you get it? 01:29 <@rizen> not yet 01:30 <@rizen> spoke too soon, there it comes 01:30 -!- perlTyrant is now known as perlDreamer 01:31 < CIA-52> WebGUI: doug * r5725 /WebGUI/ (28 files in 12 dirs): 01:31 < CIA-52> WebGUI: Added WebGUI::Asset::File::GalleryFile 01:31 < CIA-52> WebGUI: Changed Photo to subclass WebGUI::Asset::File::GalleryFile 01:32 <+perlDreamer> what do you think? 01:32 <+perlDreamer> considering he hasn't seen a picture of you in 5 months, it's not too bad 01:34 <@rizen> wow that looks exactly like me 01:35 <+perlDreamer> I'll tell Tim. 01:35 <@rizen> i'm going to have to put that up as my picture on my bio page 01:35 <@rizen> =) 01:35 <@rizen> unfortunately my pr folks would never let me get away way that 01:36 <+perlDreamer> just flash them that winning smile and they'll concede 01:36 <+perlDreamer> so far, we have 232 tests for Shop modules 01:36 < nuba> theres a list of imagebins at the wiki irc page 01:36 <@rizen> wow 01:36 <@rizen> 232, i must have only written about 3 of those 01:37 <+perlDreamer> not 01:39 <+perlDreamer> more like 40 01:40 <@rizen> why do things never work exactly how i plan them to work 01:41 <+perlDreamer> it's a governmental conspiracy 01:41 <+perlDreamer> When you made Campaign Secrets, it demonstrated an unusual insight into contemporary american politics 01:42 <@rizen> hehe 01:42 <+perlDreamer> which means that you could reveal things they hide from the public 01:42 <+perlDreamer> that's why they hired me to infiltrate your world and disrupt it 01:42 <+perlDreamer> think now of all the time you spend on IRC, and testing 01:43 <+perlDreamer> you think all those leaks are accidents? 01:43 <+perlDreamer> now you're so busy you can't use your knowledge to interfere with their control of american culture 01:45 -!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI 01:49 <@rizen> you make very good points 01:49 <@rizen> but i think that you might also be a government conspiracy...cuz all this time i talk to you i could be spending time doing something to improve webgui 01:50 < CIA-52> WebGUI: colin * r5726 /branch/WebGUI_Commerce/ (4 files in 2 dirs): Add coverage tests, convert croaks to exceptions. 01:52 -!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui 01:57 <@rizen> pd, do you remember the empty list problem 01:57 <@rizen> for hashes 01:58 <+perlDreamer> yes 01:58 <@rizen> its back 01:58 <@rizen> or rather i found another place where it occurs 01:58 <+perlDreamer> where? 01:58 <@rizen> forms 01:58 <@rizen> $session->form->get("somefield"); 01:59 <@rizen> if you put that directly into a hash, and the parameter doesn't exist 01:59 <@rizen> you'll get the problem 01:59 <+perlDreamer> that's because of context, and wantarray, I think 01:59 <+perlDreamer> => is list context 01:59 <@rizen> ah 02:00 <@rizen> well shit 02:00 <+perlDreamer> so if it isn't there, it returns () 02:00 <@apeiron> er? => is a fancy comma that quotes its lefthand side. :) 02:01 <@rizen> so basically there's no way to fix it for forms then? 02:02 <+perlDreamer> not without changing the API for the form interface 02:02 <+perlDreamer> or, you can't use listy hash assignments and have to do it 1 by 1 02:03 <+perlDreamer> apeiron: exactly, but it's list context, not scalar context 02:14 <@rizen> preaction, or anyone here that knows css 02:14 <@rizen> how do i make a
that doesn't add a break after it 02:14 <@rizen> i thought it was display:inline but apparently not 02:14 -!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui 02:14 -!- mode/#webgui [+v Radix-wrk] by ChanServ 02:14 <@preaction> it shouldn't be the form 02:14 <@preaction> or is it just in IE6? 02:15 <@rizen> forms automatically add 2 carriage returns after them in all browsers 02:15 <@preaction> form doesn't really have any display itself, but things inside it can 02:15 <@rizen> i'm telling you that it does 02:15 <@preaction> perhaps * { margin: 0; padding: 0; } 02:15 <@rizen> ok 02:15 <@preaction> or form { margin: 0; padding: 0; } to restrict it to just forms 02:15 <@rizen> wait, does the * have any significance? 02:15 <@preaction> yes 02:15 <@preaction> * means all elements 02:15 <@rizen> what is that? 02:15 <@rizen> oh i don't want it on all 02:16 <@preaction> so form { ... } instead 02:16 <@rizen> that didn't do it either 02:16 <@rizen> and actually...it can't be that come to think of it 02:17 <@rizen> if you do somecrap
02:17 <@rizen> and then do it again 02:17 <@rizen> you'll see that they sit on top of each other 02:17 <@rizen> not side by side 02:17 <@rizen> so this has to have something with being displayed block level 02:17 <@preaction> you want them side-by-side? 02:17 <@preaction> float: left; might work 02:17 <@preaction> but it could have unintended side-effects 02:17 <@rizen> but i don't want them to float 02:18 <@rizen> exactly 02:18 <@rizen> i just want them to work like tags 02:18 <@rizen> rather than
tags 02:18 <@preaction> do you have a URL or a paste I can see the contents? 02:18 <@rizen> and i thought that was what display:inline vs display:block was all about 02:18 <@rizen> i just did:
somecrap
some crap
02:20 <@rizen> each of these forms will have only one element in it. a button 02:20 <@rizen> so i want the buttons to sit side by side 02:20 <@rizen> granted i could do it with some javascript and use the same form 02:20 <@rizen> but i don't want to 02:20 <@rizen> so there has to be a way to do this 02:21 <@rizen> damn it 02:21 <@rizen> display:inline does work if i put it right into the form 02:21 <@rizen> it just doesn't work when i do: div.addressBlock form { display: inline; } 02:22 <@rizen> in a style sheet 02:22 <@preaction> is there something more specific that's overriding it? perhaps something like #id form { ... } 02:23 <@rizen> nope, no id on the form 02:23 <@preaction> firebug would show you all the selectors that affect the element, and which ones are actually working 02:23 <@rizen> http://webgui.pastebin.com/d7e3fbf14 02:23 <@rizen> if you want to see all the code 02:25 < CIA-52> WebGUI: colin * r5727 /branch/WebGUI_Commerce/t/Shop/AddressBook.t: coverage tests for AddressBook update 02:25 <@rizen> got it 02:26 <@rizen> turns out that WebGUI::Form::formHeader puts a div inside the
so even though the form was inline the div wasn't 02:26 -!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit [Remote closed the connection] 02:32 <@rizen> WAHOOOOOOOO!!!!!! 02:32 <@rizen> the address book is working 02:33 <@preaction> wahooooo!!!11 02:33 <@preaction> seriously, you guys are going to have this in 7.5? does that make 7.5 the new 8.0? 02:33 <@preaction> what is 7.5 NOT going to have? it's gonna be huge 02:33 <@rizen> we've never had a 6 month dev cycle before 02:34 <@preaction> true 02:34 * apeiron gets to work on wG::KitchenSink. 02:34 <@rizen> that makes each release that much cooler 02:34 <@rizen> yes, this will be done in 7.5 02:34 <@rizen> and thingy should be done in a couple weeks too 02:34 <+perlDreamer> I hate art 02:34 <@rizen> which reminds me, someone needs to write a mailform asset 02:35 <@rizen> why? 02:35 <+perlDreamer> because there are no rules at all for art 02:35 <@rizen> true 02:35 <+perlDreamer> much of it is impression and connotation, and semiotics 02:35 <@preaction> there are guidelines 02:35 <@rizen> pd you have to check out the new address book thing 02:35 <@rizen> it works so damn well it's ridiculous 02:35 <+perlDreamer> svn update? 02:36 <@rizen> yup 02:39 <+perlDreamer> how do I access it? 02:39 <+perlDreamer> is there a button to it, or just by op? 02:41 <@rizen> ?shop=cart 02:41 <@rizen> then click on the shipping address 02:43 <@rizen> you'll need to reset dev 02:43 <@rizen> cuz i added templates and stuff 02:43 <+perlDreamer> I noticed the upgrade change, and did 02:43 <+perlDreamer> It looks good! 02:44 <@rizen> i haven't tried adding some tax info to the tax table and see if it calculates and displays correctly yet 02:45 <+perlDreamer> maybe I should start working on the Tax UI 02:45 <+perlDreamer> at least import 02:45 <+perlDreamer> oh, I was going to ask you. 02:45 <+perlDreamer> The old commerce tax form used ajax. Do you want the new one to? 02:46 <@rizen> just did, and it works 02:46 <@rizen> sure 02:46 <@rizen> make it as cool as you like 02:46 <@rizen> in fact, i was thinking maybe we should use yui's coolio data table thing 02:47 <@rizen> http://developer.yahoo.com/yui/datatable/ 02:47 < CIA-52> WebGUI: jt * r5728 /branch/WebGUI_Commerce/ (7 files in 5 dirs): 02:47 < CIA-52> WebGUI: address book works 02:47 < CIA-52> WebGUI: yesno uses bool now instead of int 02:48 <+perlDreamer> eek, it's huge! 02:48 -!- perlDreamer is now known as jsPhobic 02:48 * jsPhobic will think about it while showering 02:49 <@rizen> one thing i still have to do is if you select United States as your country, then you need to have a drop down list of states rather than typing it in 02:49 <@rizen> otherwise it will never match the tax algorithm 03:06 -!- jsPhobic [n=colink@pool-71-117-235-252.ptldor.fios.verizon.net] has quit [Read error: 113 (No route to host)] 03:07 -!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui 03:08 -!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has left #webgui [] 03:12 -!- perlDreamer [n=colink@pool-71-117-235-252.ptldor.fios.verizon.net] has joined #webgui 03:12 -!- mode/#webgui [+v perlDreamer] by ChanServ 03:12 <+perlDreamer> stupid suspend mode 03:13 <+perlDreamer> will that dropdown extend to all countries? 03:13 <+perlDreamer> Sounds like a lot of data. 03:15 <+perlDreamer> but it makes the Tax a lot easier 03:15 <+perlDreamer> since you don't have to worry about matching Wisconsin, WI, Wi, wi and so on 03:16 -!- perlDreamer is now known as perlDinner 03:18 <@rizen> i don't know how it will work 03:18 <@rizen> i guess maybe we need a "State" manager or something 03:19 <@rizen> cuz where else would we get all the states and provinces in all the countries of the world? 03:19 <@rizen> either that or maybe in the tax code we should allow for Wisconsin|WI and then make it a case insensitive match 03:35 -!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui 03:39 -!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit [Client Quit] 04:19 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Connection timed out] 04:32 <+Radix-wrk> As long as you don't assume WA is always Washington (it's also Western Australia) - I'm happy. 04:38 <@rizen> radix, it's ok 04:38 <@rizen> we already have something in there that says if you're from oz charge 200% tax 04:40 <+Radix-wrk> awesome 04:40 <+Radix-wrk> long as I collect that tax, I'm happy with that ;) 04:40 <@rizen> actually the more i think about it the more i realize that we're going to have to rework tax to be hierarchical 04:56 -!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit [] 05:13 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui 05:13 -!- mode/#webgui [+o preaction] by ChanServ 05:51 < perlmonkey2> anyone awake? 05:51 <+perlDinner> yup 05:52 < perlmonkey2> The Survey currently uses a Survey_id as the foreign key to tie all the tables together. Any reason I couldn't just use the Survey's assetId? 05:53 <+perlDinner> I think rizen answered that question earlier 05:53 < perlmonkey2> The Survey_id is a newly generated id, but it is also a unique identifier of the survey. So the assetId should serve the same puprose. 05:53 < perlmonkey2> yeah 05:53 <+perlDinner> Something along the lines of it not being one of his best ideas 05:53 <+perlDinner> so use the AssetId 05:53 <+perlDinner> btw, payback time is coming 05:53 < perlmonkey2> this is what I get for sitting down to hammer out some code right before I pass out from lack of sleep. 05:54 -!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: perlbot, CIA-52, nuba, @apeiron 05:54 <+perlDinner> rizen wants me to use JS for the tax management screens, so _you_ will be the master :) 05:54 -!- Netsplit over, joins: @apeiron, CIA-52, perlbot, nuba 05:54 < perlmonkey2> hah 05:55 < perlmonkey2> I doubt you'll need my help. JS doesn't really offer much challenge to a good perl dev, and the YUI is super easy and well documented. You'll be beyond me in hours. 05:55 < perlmonkey2> But it sure is fun to use. 05:56 <+perlDinner> well, you see 05:56 <+perlDinner> I've tried before, and it's been very, very bad 05:58 < perlmonkey2> No worries, I feel like I've taken a lot more than I've given here, so I'm eager to help out in any way I can. 05:58 <@preaction> JS requires a different way of thinking 05:58 <@preaction> it's all event-driven, user interface jibjag 05:58 <+perlDinner> that's part of the problem 05:58 <+perlDinner> I think Unix/perly 05:59 <@preaction> hard to get a clear, a-to-z, start-to-finish in it 06:00 < perlmonkey2> The biggest hurdle for me is the hard line between data objects and dom objects. You work with them in entirely different way; the dom being this *thing* that gets in the way of what you're trying to do. You try to tie data to the dom, but it just gets ugly in a hurry. 06:01 <@preaction> yeah. i usually make at least three methods just to manipulate the DOM portions I need 06:02 <@preaction> the YUI DataTable is probably useful and would save me time most likely 06:11 < perlmonkey2> Yeah the datatable is just down righ tsexy. 06:11 < perlmonkey2> Powerful stuff there. 06:12 -!- perlDinner is now known as screwedDreamer 06:13 < perlmonkey2> screwedDreamer: You feeling worse I guess? 06:14 <+screwedDreamer> between the virus and the JS, yeah 06:14 <+screwedDreamer> I'm probably just psyching myself out 06:14 <@apeiron> Can I throw in a side dish of "I hate JS"? 06:15 <@apeiron> (not just to fit in, I promise) 06:15 <+screwedDreamer> It's a potluck, bring what you will 06:15 <@apeiron> I have a side of "I hate JS" and some really well-done scrapple. 06:15 <+screwedDreamer> there was a time when there was a perl plugin for Netscape 06:15 < perlmonkey2> Parrot holds that promise for the future. 06:15 <@apeiron> And now Netscape is EOL. 06:16 <+screwedDreamer> as long as IE holds out for JS, I don't think parrot has a chance on the browser 06:16 <@apeiron> I thought pugs or parrot was targetting JS as an execution backend. 06:16 <+screwedDreamer> sure 06:16 <+screwedDreamer> but how would you get IE to buy into distributing the parrot plugin by default? 06:16 <+screwedDreamer> or Opera? 06:17 <@apeiron> Which is... frankly scary, although altogether not surprising coming from the folks working on either project. 06:17 <@apeiron> ah, good point. 06:17 <@apeiron> You could do what every Flash and Java application on the entire intarwebs does, and use JS to determine whether they have the feature and send them to go get it if they don't. 06:19 <@apeiron> It's kind of like how Flash works in comparison to IE releases. In between every IE release there's several Flash releases. I think I just upgraded my IE in my WinXP VM (by the way, running my Windows Boot Camp installation in VMWare is absolutely amazingly cool) and it came with Flash 6. 06:19 <@apeiron> My Mac has Flash 9. 06:20 <@apeiron> Upgraded the IE to 7, that is. 06:21 -!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui 06:21 -!- mode/#webgui [+o rizen] by ChanServ 06:22 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)] 06:23 < perlmonkey2> Is there a method I can overload that is called after the autogenerate form is processed? I wan to initialize a collateral table upon asset creation. 06:24 <+screwedDreamer> perlmonkey2: that would be editSave 06:24 < perlmonkey2> screwedDreamer: Even sick, you're like a wg ninja 06:24 <+screwedDreamer> rizen: can you please expand on your earlier thought about tax and hierarchy? 06:24 <@rizen> sure, but first why are you now screwedDreamer? 06:25 <+screwedDreamer> sick, and have to learn JS :) 06:25 <@rizen> hehe 06:25 <@rizen> you don't have to 06:25 <+screwedDreamer> just whinging 06:25 <@rizen> it was just a suggestion to make it super cool 06:25 < perlmonkey2> whinging is good for the soul. 06:26 <+screwedDreamer> okay, back to tax hierarchy 06:26 <@rizen> my thought is that tax is going to have to be a match like this: country + state + city or country + code or country + city 06:26 <@rizen> it can't be just city or state or postal code 06:26 <@rizen> it needs to be further categorized by country 06:26 < perlmonkey2> hmm, so I overload editSave make the $self->SUPER::editSave(@_); call, now will $self->getId() be useful/ 06:26 <@rizen> so i recommend that we change the tax table to look like this: 06:27 <@rizen> taxId, country, state, city, code, taxRate 06:27 <@rizen> and then match all that are filled in on a given row 06:28 <@rizen> so if only code is filled in, then we match just on code...but that means it will only work for the country where the postal codes are filled in for 06:28 <@rizen> because postal codes might be reused around the world 06:28 <@rizen> but more likely it will match against 06:28 <@rizen> USA, WI, Madison 06:29 <@rizen> or USA, 53715 06:29 <+screwedDreamer> so how does that work with multiple sources of taxes 06:29 <+screwedDreamer> WI => 5% 06:29 <@rizen> in addition, i think we need to do what i said earlier 06:29 <+screwedDreamer> Madison 0.5% 06:29 <@rizen> Wisconsin|WI 06:29 <@rizen> they'll instead need to be filled in for each thing you want to match all tallied 06:30 <@rizen> USA, WI, Madison => 5.5% 06:30 <@rizen> so it won't work the way i originally wanted 06:30 <+screwedDreamer> manually summed versus automatically summed 06:30 <@rizen> but this new way is far more workable worldwide 06:30 <@rizen> right 06:30 <+screwedDreamer> could we put in wildcards into the don't care fields? 06:30 <@rizen> because as Radix pointed out, both US and Oz have states called WA 06:30 <+screwedDreamer> USA, Wi => 5% 06:31 <+screwedDreamer> USA, WI, Madison => 0.5 06:31 <@rizen> blank is automatically wildcard 06:31 <@rizen> i suppose we could do that 06:31 <@rizen> that makes sense 06:31 <@rizen> apply all that match 06:31 <+screwedDreamer> I'm glad I abstracted out the getTaxRates method now :) 06:31 <@rizen> so i guess that will still work the same way then 06:32 <@rizen> but it's just a more restrictive match cuz it possibly combines country, state, city, and code 06:32 <@rizen> plus it enables city, which is something i really wanted to include before but couldn't make it work 06:32 <@rizen> since you could have a springfield in every state 06:32 <+screwedDreamer> okay, so we rework for flat vs tall 06:33 <+screwedDreamer> give me a few days 06:33 <@rizen> take your time, tomorrow i'm going to be working on integrating shipping and then i'm moving on to admin screens 06:33 <+screwedDreamer> okay, time to work on my own taxes for a bit 06:33 <+screwedDreamer> catch y'all tomorrow 06:33 <@rizen> later 06:34 -!- screwedDreamer [n=colink@pool-71-117-235-252.ptldor.fios.verizon.net] has quit ["Leaving."] 06:34 -!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit [] 08:45 -!- ryuu_ro [n=rory@194.171.50.69] has joined #webgui 08:46 -!- diakopter [n=diakopte@pdpc/supporter/active/diakopter] has quit [Read error: 110 (Connection timed out)] 09:44 -!- Radix-wrk [n=Jesse@203.161.68.67] has quit ["Leaving"] 09:45 -!- patspam [i=chatzill@ppp59-167-128-63.lns3.mel6.internode.on.net] has joined #webgui 09:47 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui 09:47 -!- mode/#webgui [+o preaction] by ChanServ 09:53 -!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui 10:10 -!- jdan [n=jdan@195.116.30.251] has joined #webgui 10:57 -!- BartJol [n=plainstu@194.171.50.123] has joined #webgui 12:28 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)] 13:50 -!- patspam [i=chatzill@ppp59-167-128-63.lns3.mel6.internode.on.net] has quit ["ChatZilla 0.9.81 [Firefox 2.0.0.12/2008020121]"] 14:04 -!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has quit [Read error: 110 (Connection timed out)] 14:06 -!- estiven [n=estiven@static-adsl201-232-86-73.epm.net.co] has left #webgui [] 14:07 -!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI 14:07 -!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has quit [Client Quit] 15:06 -!- jdan [n=jdan@195.116.30.251] has quit ["Leaving"] 15:11 -!- estiven [n=estiven@static-adsl201-232-86-73.epm.net.co] has joined #webgui 15:53 -!- knowmad [n=william@97.66.185.250] has joined #webgui 15:54 < knowmad> hello 15:54 < ckotil> good morning 15:55 < knowmad> morning. 15:55 < knowmad> are you doing bandwidth monitoring on any of your WRE servers? 16:17 < ckotil> I am not. 16:18 < ckotil> I do run ganglia on all my machines, including the web server. So i can get a pretty good idea of what's going on, including load, bandwidth, disk i/o, memory swapped, etc.. 16:20 < knowmad> ckotil: thanks. i'll check out ganglia. never heard of it before 16:20 < ckotil> its a nice app to have for spotting problematic servers. 16:20 < ckotil> stick around though, there may be a better solution to monitor wre bandwidth. 16:21 < knowmad> are you alluding to something? 16:21 < ckotil> yes, that it is still early and most people arent awake or watching the channel yet. 16:21 <+Radix_> ganglia.. never heard of it either 16:21 <+Radix_> I use munin 16:21 < knowmad> looks like a nice app 16:22 < knowmad> can munin do bandwidth monitoring? 16:22 < ckotil> munin creates RRD graphs as well. nice. 16:22 < knowmad> i think i'll throw this conversation into a message for Install 16:22 < knowmad> forum to catch anyone who may not be online 16:23 <+Radix_> apt-get install munin :) 16:23 <+Radix_> ganglia sounds a lot more comprehensive.. I dunno 16:24 <+Radix_> http://neotokyo.juga.org:82/munin/juga.org/neotokyo.juga.org.html 16:24 <+Radix_> that work for you guys? 16:24 < ckotil> wow, that looks more comprehensive than ganglia 16:25 <+Radix_> nice and simple to install too which is good :) 16:26 < ckotil> for sure. 16:26 <+Radix_> well on debian/ubuntu anyway :) 16:26 < ckotil> munin doesnt seem to be in red hats repository , but it is in dag wieers RPM repository. 16:26 < knowmad> man, that's a lot of info 16:26 < knowmad> simple to install is key for me 16:27 <+Radix_> that's my home server.. so doesn't do too much.. but yeah :) 16:27 < knowmad> i'll need to break down my web traffic by domain 16:27 < knowmad> is that possible? 16:27 <+Radix_> I forget that it's there most of the time :) 16:28 <+Radix_> Hmm.. no idea I'm afraid 16:28 < ckotil> oh, you know what you could use for that, is awstat. 16:28 < ckotil> its not real time, but it estimates bandwidth from teh apache logs 16:28 < ckotil> and you would be able to separate it out by domain 16:28 < knowmad> i use webmin/virtualmin on my non-webgui server which supports alerts if a domain goes over its allotted bandwidth 16:28 <+Radix_> awstat will certainly do that I guess.. as will any web log analyser 16:29 < knowmad> yeah, i have looked at it but it doesn't do alerting like webmin/virtualmin 16:29 < ckotil> yeah. 16:29 < knowmad> i think virtualmin is just reading the apache logs to calculate bandwidth which helps with CPU usage 16:29 < knowmad> there is a bandwidth module in webmin but they warn against using it since it uses iptables and has a performance impact 16:30 <+Radix_> ipacct 16:30 < knowmad> i guess both ganglia and munin would have that impact as well 16:30 < knowmad> what ipacct? 16:30 < ckotil> its minimal it hink w/ ganglia and munin. bc you install a client on each machine and they report back to a server. 16:30 <+Radix_> it's prolly what webmin uses.. has an impact on traffic, but can do whatever bandwidth stats you like 16:31 < knowmad> ok 16:31 <+Radix_> http://martybugs.net/linux/ipac.cgi 16:31 <+Radix_> that's the one I was thinking of.. not ipacct 16:32 <+Radix_> friend of mine runs that page 16:32 < knowmad> but can it look into the packets to see what domain they are for? 16:32 <+Radix_> different ip's for each domain? 16:32 < ckotil> you could put each domain on a separate interface, or virt-interface 16:32 < knowmad> nope shared 16:32 < knowmad> true 16:33 < knowmad> ok, so lots of options. thanks for the input 16:33 <+Radix_> hard part is getting the data from somewhere then 16:33 < knowmad> what do you mean? 16:34 <+Radix_> well you need to be able to distinguish what traffic belongs to what domain somehow 16:34 < knowmad> yes 16:34 <+Radix_> unless you have separate interfaces (ips) or virtual interfaces or something setup it becomes quite hard 16:34 < knowmad> apache logs 16:34 <+Radix_> yup, so a web analyser is your best and only bet 16:35 < ckotil> there could be an apache module that separates traffic by virtual host. 16:35 <+Radix_> webalizer, awstats - one of them should do what you want 16:35 <+Radix_> ckotil: you can easily have differnt logs for each domain 16:35 < ckotil> right. 16:35 < ckotil> but i was thinking more real time than that 16:35 <+Radix_> can't use any ipaccounting schemes or anything tho if you're relying on apache logs 16:36 < knowmad> i just need an alert if a client is heading over 16:36 < knowmad> we're not to the point where realtime is all that important 16:36 <+Radix_> fair enough 16:36 < knowmad> but those suggestions will be useful when that day comes 16:36 < ckotil> splunk might have something to offer, but then you are getting into a mess of running more software 16:36 < knowmad> yeah, i'd like to avoid lots more softwares 16:37 < ckotil> no doubt 16:38 <+Radix_> there's some plugins for munin that track apache processes/accesses and volume 16:38 <+Radix_> http://munin.projects.linpro.no/wiki/PluginCat 16:38 <+Radix_> no idea how they work tho 16:39 < ckotil> ah nice 16:40 <+Radix_> Actually.. this is a better site - http://muninexchange.projects.linpro.no/ 16:41 -!- SDuensin [n=Scott@252.sub-75-206-64.myvzw.com] has joined #WebGUI 16:51 < SDuensin> Morning. 16:55 < ckotil> nice Radix_ 16:55 < ckotil> morning sD 17:02 < ckotil> My group is already considering reevaluating ganglia and looking at alternatives, like munin. ;) 17:28 -!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui 17:28 -!- mode/#webgui [+o rizen] by ChanServ 17:28 -!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit [Client Quit] 17:29 -!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui 17:30 -!- mode/#webgui [+o rizen] by ChanServ 17:30 -!- ryuu_ro [n=rory@194.171.50.69] has quit [] 17:32 < GooeyOfSteel> Wiki: SQLForm - Edited on 3/6/2008 9:21 am by dionak http://www.webgui.org/community-wiki/sqlform 17:58 -!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has left #webgui [] 18:12 < GooeyOfSteel> Wiki: SQLForm - Edited on 3/6/2008 10:01 am by dionak http://www.webgui.org/community-wiki/sqlform 18:21 < perlmonkey2> From a session, how would I get the home url of the site? 18:22 < perlmonkey2> A survey will have an 'exit url' which will allow the creator to put where the survey will send the taker on completion. But I'd like it to default to home. 18:25 <@rizen> $session->url->gateway(); 18:25 < perlmonkey2> getSiteURL....hmm...I should stop asking these questions types, as exploring wg is fun. 18:25 < perlmonkey2> oh. 18:25 < perlmonkey2> gateway is better/ 18:25 < perlmonkey2> ? 18:26 < perlmonkey2> $session->Url->getSiteURL() ? 18:26 <@rizen> getSiteURL gives you a fully qualified url 18:26 <@rizen> which i don't think is what you want in this case 18:26 <@rizen> you just want to go to the home page 18:26 <@rizen> both will achieve the same result, but getSiteURL could have side effects 18:26 < perlmonkey2> so I'd called gateway with no params.... 18:27 < perlmonkey2> side effects? 18:27 <@rizen> for example, lets say you have multiple addresses set up for the site survey.example.com and www.example.com 18:27 <@rizen> they've been taking the survey on www.example.com 18:27 <@rizen> but if survey.example.com is what is returned from getSiteURL then they'll lose their cookie and session 18:27 < perlmonkey2> aha 18:28 < perlmonkey2> okay.....gateway it is :) 18:28 <@rizen> getSiteURL is usually only used for generating emails 18:28 < perlmonkey2> good to know 18:28 <@rizen> but i do have another question 18:29 <@rizen> why redirect them to the home page rather than just saying "thank you for taking the survey" and then letting them navigate wherever they want? 18:29 < perlmonkey2> The people at work want to be able to send them to another site when the survey ends. 18:29 < perlmonkey2> or to another location. 18:30 < perlmonkey2> So I figure default it to WG/home and then let the user change to whatever. 18:36 < perlmonkey2> rizen: You are the one who will be deciding if this merges into WG, and I don't want this to not be merged. So if you have a problem with that set up, please let me know. 18:42 <@rizen> i don't care, just seems odd to force the user for something that is irrelevant 18:42 <@rizen> not to mention arbitrary 18:44 < perlmonkey2> How about default it to empty and then the creator can put something there if they want. If it is empty it doens't send the user anywhere. 18:47 -!- jdferm [n=jdferm@sangha.cyberius.net] has quit ["#webgui"] 18:47 <@rizen> seems reasonable 19:15 -!- BartJol [n=plainstu@194.171.50.123] has left #webgui [] 19:30 < CIA-52> WebGUI: jt * r5729 /branch/WebGUI_Commerce/ (6 files in 2 dirs): shipping system integrated with cart, but need admin interface to test if it works 19:48 -!- dionak [n=diona@97.66.185.250] has joined #webgui 19:55 -!- perlDreamer [n=colink@pool-71-117-235-252.ptldor.fios.verizon.net] has joined #webgui 19:55 -!- mode/#webgui [+v perlDreamer] by ChanServ 19:56 <+perlDreamer> rizen: (hack, hack, cough, sniffle) quit breaking my tests 19:57 < CIA-52> WebGUI: jt * r5730 /translations/French/ (French/WebGUI.pm notes.txt): update_from_translation_server 19:57 < CIA-52> WebGUI: colin * r5731 /branch/WebGUI_Commerce/ (lib/WebGUI/Shop/Ship.pm t/Shop/Ship.t): fix a failing Shop::Ship test 19:58 <@apeiron> http://code.nytimes.com/projects/dbslayer hmmm... 19:58 <+perlDreamer> BSD chomping at the bit: http://bsd.slashdot.org/bsd/08/03/06/1313218.shtml 19:58 <@apeiron> eep, bsd and slashdot do not mix. =\ 19:58 * apeiron would much, much rather go to the URL that that page is linking, if at all possible. 19:59 <+perlDreamer> apologies 19:59 <+perlDreamer> http://people.freebsd.org/~kris/scaling/7.0%20Preview.pdf 19:59 <+perlDreamer> slashdot doesn't render well on BDS's browser? 20:01 <@apeiron> No, it has a tendency to get warped through the Slashdot "BSD is dead" lens. 20:01 <@apeiron> heh heh 20:02 <+perlDreamer> dead, but fast :) 20:02 <@apeiron> "On this benchmark PostgreSQL is 35-45% faster than MySQL at all loads" 20:02 * apeiron coughs. 20:02 <+perlDreamer> it would be funny, but imagine in 20 years if it was determined that Slashdot was originally responsible for Linux's popularity boost over BSD 20:03 <@apeiron> I'm certain it has played more than a small role. 20:06 <@apeiron> Neat. "Improved Support for legacy-free hardware (Macbook Pro)" 20:10 <+perlDreamer> On the science channel, they're talking about building a tunnel _through_ the Alps in Europe 20:10 <+perlDreamer> crazy 20:13 <@apeiron> Through as opposed to underneath? 20:14 < perlmonkey2> dbslayer looks pretty cool....Although I'm biased towards anything that uses YAML/JSON+HTTP as a middleware. 20:14 <@apeiron> I mentioned it specifically because it's JSON-friendly and because of the status JSON has in the WebGUI stack. 20:15 <+perlDreamer> well, through a mountain near the base, so most likely underneath is more accurate 20:16 <@apeiron> Still, that's pretty serious business. 20:17 <+perlDreamer> yeah, it's 35 miles long 20:21 <@rizen> dbslayer is interesting, but methinks that it would have a significant performance penalty 20:22 <@rizen> just the serialization back and forth between json is huge, but more importantly http is heavier and slower than native mysql connections 20:25 <@apeiron> hmm. 20:25 <@apeiron> I'm thinking that if it's good enough for the NY Times, it may be good enough for us. 20:25 <@rizen> freebsd needs to stop saying it's better and actually make itself better. it's install process is terrible. that would be a good place to start. 20:25 <@apeiron> They're working on that. 20:25 <@rizen> it's install process now is as bad as webgui was back in the 5.x days 20:25 <@apeiron> (not that I mind the current install process) 20:26 <@rizen> good enough for the new york times is different than good enough for us 20:26 <@apeiron> Some people *like* the bare minimal, no frills method. 20:26 <@apeiron> I personally don't want to start X to install an OS. 20:26 <@rizen> most webgui servers are single server environement 20:27 <@rizen> apeiron: and therein lies the problem with bsd. they write it for themselves (ie you) and wonder why the masses don't come to it 20:27 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui 20:27 -!- mode/#webgui [+o preaction] by ChanServ 20:27 <@apeiron> http://www.bsdinstaller.org/screenshots.html I believe is the "new" installer that they're working on porting to FreeBSD. 20:27 -!- MrHairgrease [n=martin@wlan-145-94-223-103.wlan.tudelft.nl] has joined #webgui 20:28 -!- mode/#webgui [+v MrHairgrease] by ChanServ 20:29 <@rizen> that's still a decade behind ubuntu/redhat/suse 20:29 <@rizen> not that it's not a step in the right direction 20:29 <@rizen> but all of those can be installed without X as well, but they have the X install for the masses 20:29 <@apeiron> shrug. I can't disagree with the difference in philosophy point. 20:29 -!- Sunmaster_14 [n=Sunmaste@h19-afsc.ded.indra.com] has joined #webgui 20:33 <@rizen> i'm also not saying it's bad to do build it for themselves and the people like them 20:33 * apeiron nods. 20:33 <@rizen> i used to do that with webgui too 20:34 <@rizen> but if you want marketshare, you have to deal with what the market wants, and prove you're better than the competition 20:34 <@rizen> hence the wre 20:34 <@apeiron> http://docs.pcbsd.org/guide/chap2.3.html looks pretty enticing. 20:35 <@apeiron> For what you're expecting, anyway. 20:35 <@rizen> oooh. very nice 20:35 <@apeiron> Yeah. I just don't know the licensing on it. 20:35 <+perlDreamer> Now that's something my mom might be able to use 20:45 < perlmonkey2> http://pastebin.com/d78755469 20:45 < perlmonkey2> Anyone care to tell me why this overload isn't being called? 20:46 <+perlDreamer> because I lied to you yesterday 20:46 <+perlDreamer> it needs to be called www_editSave 20:47 < perlmonkey2> the method and the super call? 20:47 <+perlDreamer> yes 20:47 < perlmonkey2> groovy, thanks again :) 20:48 -!- Sunmaster_14 [n=Sunmaste@h19-afsc.ded.indra.com] has left #webgui [] 20:48 <+perlDreamer> np 20:48 -!- Sunmaster_14 [n=Sunmaste@h19-afsc.ded.indra.com] has joined #webgui 20:48 <+perlDreamer> If I was more helpful, I'd get you confused for 2 days :( 20:49 < perlmonkey2> You are saving me tons of time from digging in wg internals..... 20:51 < perlmonkey2> hmm, www_editSave still isn't being called. And the only error in webgui.log is a spectre error that seems to have something to do with my broken versions of the survey. 20:52 <+perlDreamer> so you bring up the edit form, hit the save button and no www_editSave gets called? 20:52 <+perlDreamer> do you have a func=editSave in your edit form? 20:52 < perlmonkey2> it is autogenerated 20:52 <+perlDreamer> check the source 20:52 < perlmonkey2> k 20:52 < perlmonkey2> 20:53 <+perlDreamer> yup, that looks right 20:53 <+perlDreamer> did you restart the server? 20:53 <+perlDreamer> after renaming the method? 20:54 < perlmonkey2> many many times 20:54 <+perlDreamer> is the master www_editSave in Asset.pm getting called instead? 20:54 <+perlDreamer> and, is there POD docs for your overridden www_editSave? 20:55 < perlmonkey2> http://pastebin.com/d33f0aadf is the only error in webgui.log, but that seems to be spectre related 20:55 < perlmonkey2> no, there are no pod docs for it. 20:55 < perlmonkey2> I guess I can add a warn in the master www_editSave and see if it is called. 20:56 <+perlDreamer> one of my favorite bugs is to forget to put =cut after my POD docs and then wonder why my code doesn't work 20:56 < perlmonkey2> yep, the super is being called 20:56 < perlmonkey2> hah 20:57 < perlmonkey2> hopefully highlighting woudl catch that for me. 20:57 < perlmonkey2> but it isn't being called from my method, it is being called instead of my method. 20:57 <+perlDreamer> do you have logging turned on to a low level? 20:57 <+perlDreamer> so that warns get logged? 20:58 < perlmonkey2> yes 20:58 < perlmonkey2> the warn for the super was logged 20:58 <+perlDreamer> may I have a new paste, please, with 10 lines of context on either side? 20:58 < perlmonkey2> and I changed the method to error log in case 20:58 < perlmonkey2> sure 21:00 < perlmonkey2> http://pastebin.com/d7152c337 21:01 <+perlDreamer> okay, next, please paste the source for the edit form 21:01 < perlmonkey2> the edit form is autogenerated 21:02 <+perlDreamer> yes, but it does have hiccups 21:02 < perlmonkey2> the editSurvey form? 21:02 < perlmonkey2> You want this: surveyEditTemplateId ? 21:02 < perlmonkey2> that is never used during wobject creation 21:03 < perlmonkey2> oh, you mean source HTML 21:03 <+perlDreamer> hang on, I have another idea 21:04 <+perlDreamer> Looking at the CS, it calls www_editSave _after_ doing child level work. 21:04 <+perlDreamer> try moving the call to SUPER to the end of your sub 21:04 <@preaction> you should put that code in processPropertiesFromFormPost anyway 21:04 <+perlDreamer> really? why? 21:05 < perlmonkey2> All I want if for it to check if the first and last section exist, and if not, insert them. Just need a hook into the survey edit tail end. 21:06 < perlmonkey2> perlDreamer: if the super call was messing things up, surely the call to the logger would still be executred? 21:07 < perlmonkey2> perlDreamer: nope, moving the super call to the last method line didn't change things. 21:08 * perlmonkey2 wonders where everyone went. 21:10 * perlDreamer was reading perlbuzz 21:11 <+perlDreamer> preaction's suggestion about processPropertiesFromFormPost is good 21:11 <+perlDreamer> he's more familiar with the UI API than I am 21:11 < perlmonkey2> oh, didn't realize that was a final solution...okay, thanks 21:14 <+perlDreamer> I don't doubt him at all, just don't understand why it's better than the editSave 21:14 <@preaction> it's just been standard practice 21:14 <+perlDreamer> so when do you use one over the other? 21:14 <@preaction> only reason to overload www_editSave is to output something besides the standard response to saving an asset 21:20 < perlmonkey2> wow, my main view template spontaneously disappeared from the DB. 21:20 < perlmonkey2> I was using PBtmpl00000000000000001 21:20 < perlmonkey2> er 2 21:20 < perlmonkey2> the default old Survey template. 21:20 < perlmonkey2> and it magically disappeared from the db. 21:25 < perlmonkey2> No, that isn't what happened. about 20 lines of my file merged with some other file. I wonder if svn update did this? 21:26 <+perlDreamer> I don't understand what you mean. Which file is yours? 21:26 <+perlDreamer> if it was svn, you can check the version history 21:28 < perlmonkey2> I have no idea what happened....I'm working from an svo co. But all I did was overwrite the Survey.pm with my own file. But I ran svn update this mornig and I wonder if it saw my version had changed and did some sort of funky merge. 21:28 < perlmonkey2> And the default template changed from last two chars 61 to 02. Now I have surveys in the db, with the wrong non-existant template. 21:29 < perlmonkey2> I changed them in the DB, but wg still won't show up complaining that the survey can't call prepareview on a survey obj that doens't exist. 21:29 < perlmonkey2> I have gremlins doing everything they can to make sure I don't get this done. 21:29 <@preaction> if you ever change the database raw, you must delete the cache 21:29 <+perlDreamer> last change to survey.pm was 4 weeks ago 21:29 < perlmonkey2> I restarted? 21:29 <@preaction> still keeps the webgui cache 21:29 <@preaction> rm -rf /tmp/WebGUICache 21:29 < perlmonkey2> preaction: and I can't delete the cache from the gui, it is unresponsive. 21:30 < perlmonkey2> okay 21:30 <+perlDreamer> did the resetdev script ever get checked in? 21:30 * perlDreamer looks under tools 21:30 <@rizen> pm2 you can't override www_editSave 21:30 <@rizen> use processPropertiesFromFormPost instead 21:31 <+perlDreamer> the CS overrides www_editSave 21:31 <@rizen> yeah, for threads 21:31 <@rizen> not for itself 21:31 < perlmonkey2> rizen: Okay, thanks. That is what preaction advised also (and what is working now before my install became completely hosed). 21:33 < perlmonkey2> remove all WebGUI::Asset::Wobject::Survey from asset and everything from Survey should remove everything connected to that wobject without doing further damage to my install? 21:34 <+perlDreamer> also, the wobject table 21:34 <+perlDreamer> asset, assetData, wobject, survey* 21:34 <+perlDreamer> probably easier to just drop the db and run the upgrade script again 21:36 < perlmonkey2> perlDreamer: But then I'd lose the new table defs 21:37 < perlmonkey2> which I guess I should export so that I can rerun the upgrade script 21:37 <@rizen> pm2: so export them before you drop 21:37 <@rizen> perlDreamer: we need to have a small chat 21:37 <@rizen> what do you think about the admin tools? 21:37 <@rizen> do you think they should be on one page like i have in my design doc 21:37 <@rizen> or do you think we should separate them out 21:38 <+perlDreamer> admin tools for c2? 21:38 <@rizen> yeah 21:38 <+perlDreamer> I'll go review them. be back in 5 21:39 <@rizen> creating shippers, payers, tax, setting templates, etc 21:41 -!- wgGuest77 [n=wgGuest7@97.66.185.250] has joined #webgui 21:41 -!- wgGuest77 is now known as knowmads 21:41 < knowmads> hey colin, got another Windoze/JSON issue 21:41 < knowmads> this time with Spectre 21:41 <+perlDreamer> for only a few payments and shippers, 1 screen works well 21:41 < knowmads> i'm going to paste the error msg to pastebin; just a sec... 21:41 <+perlDreamer> but if there are lots, it won't scale cleanly 21:41 <+perlDreamer> taxes needs its own screen 21:42 <+perlDreamer> since there will be tons of data to manage 21:42 <+perlDreamer> even with the js data form 21:42 < knowmads> http://webgui.pastebin.org/22667 21:42 < knowmads> i see you're heavy into commerce 21:42 <@rizen> ok then 21:43 <@rizen> i'll keep them separate 21:43 <@rizen> i'm starting with settings and shipping 21:43 <+perlDreamer> it wasn't easy working an ajax interface into the tabbed commerce screen 21:43 < knowmads> if you could spare a minute when you're free to look at that output, we'd appreciate it 21:43 <@rizen> yeah, we're not going to use tabs 21:43 <+perlDreamer> any thoughts on taxes and relationships between city/code? 21:43 <+perlDreamer> knowmads: I won't forget you :) 21:43 <@rizen> i posted a response to the list 21:43 < knowmads> Thanks! 21:44 <@rizen> basically country is required 21:44 <+perlDreamer> it might take me 3 weeks to add your script, but I won't forget 21:44 <@rizen> the others aren't 21:44 <+perlDreamer> but if I have a city, that requires a state for uniqueness? 21:44 <@rizen> read my post...you can't force it through the ui 21:45 <@rizen> the user just has to be smart enough 21:45 <@rizen> not the customer, but the person setting up taxes 21:45 <+perlDreamer> I understand now 21:45 <+perlDreamer> commerce is hard 21:45 <@rizen> yes it is 21:45 <@rizen> it would be easier if we were only dealing with the US 21:45 <@rizen> but throwing in all the economies of the world makes it very complex 21:46 <+perlDreamer> yeah, but then we'd piss off nuba, Radix*, koen, MrHairgrease, bartJol, estiven, lisette, xdanger, dapperdodo and bunches of other people 21:46 <@rizen> hehe yup 21:46 <@rizen> which is why we have to keep it complex 21:48 <+perlDreamer> knowmads: this is with windows connecting to WRE on Mac OS X? 21:48 < knowmads> no, it's windows connecting to localhost 21:49 <+perlDreamer> where is that "Mac OS X" string coming from then? 21:50 < knowmads> it looks like it's coming from JSON 21:50 < knowmads> or rather Config::JSON 21:50 <+perlDreamer> yeah, it's from the new method. 21:50 <+perlDreamer> check your config files for corruption 21:51 < knowmads> ok 21:52 <+perlDreamer> and file this as a bug, please. The exception from JSON->new needs to be trapped and converted in a useful error message like "Your config file $file is borked, dude" 21:54 < knowmads> will file it but the config file looks clean and we can't find any trace of that string "Mac OS X" which is weird 21:55 <+perlDreamer> spectre.conf is clean? 21:56 < knowmads> yes, it was 21:56 < knowmads> found the problem 21:57 <@preaction> why am I more worried when something Works on the first try, no debugging, than I am when i have to sit and debug for 3+ hours? 21:57 < knowmads> there was a .conf file in our etc dir called ._nci.conf which was full of binary stuff and the Mac OS X string 21:57 < knowmads> apparently testing spectre was causing all conf files to be loaded 21:57 <@preaction> did OSX add that itself? 21:57 < knowmads> we don't know where it came from 21:57 < knowmads> we're working off a Win XP workstation 21:57 <+perlDreamer> recent WRE install? 21:57 < knowmads> yes 21:57 <@preaction> loadAllConfigs should ignore hidden files 21:58 <+perlDreamer> just for kicks, make sure it isn't in the WRE tarball 21:58 < knowmads> the real conf file is nci.conf so i think it's something of ours 21:58 < knowmads> just don't know how it got there 21:58 <@preaction> oh, samba probably 21:58 <@preaction> i've noticed samba from OSX does that sometimes 21:59 < knowmads> oh! that's probably it 21:59 < knowmads> where is loadAllConfigs? 21:59 <+perlDreamer> loadAllConfigs calls readAllConfigs, which gets them all 21:59 <+perlDreamer> WebGUI::Config 21:59 < knowmads> it apparently isn't ignoring dotfiles on windows 22:00 <+perlDreamer> it reads all files 22:00 < knowmads> perlDreamer: you're saying it won't ignore? 22:00 < knowmads> ok 22:00 <@preaction> imho it should ignore hidden files 22:00 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."] 22:00 < knowmads> +1 22:01 < knowmads> hurray, now I have new errors :) 22:01 <+perlDreamer> File it as a bug, if it isn't converted into an RFE it will get fixed quickly 22:01 <+perlDreamer> and put in all branches 22:01 < knowmads> ok 22:02 <+perlDreamer> RFEs will only be put into 7.5 22:08 < knowmads> ok, i've added 2 bug reports -- one for the dotfiles and one for the ungraceful exit from Config::JSON 22:08 < knowmads> now to fix my spectre comm error 22:09 < knowmads> there we go... needed to restart it for some reason 22:09 < knowmads> thanks folks 22:10 -!- knowmads [n=wgGuest7@97.66.185.250] has quit [] 22:11 -!- wgGuest87 [n=wgGuest8@97.66.185.250] has joined #webgui 22:12 < wgGuest87> ok, new question now 22:12 -!- wgGuest87 is now known as wknowmad 22:12 < wknowmad> are there docs on upgrade wre from 0.8.1 to 0.8.3? 22:13 <+perlDreamer> wiki? 22:13 <+perlDreamer> it would be there if anywhere 22:13 < wknowmad> there's a script called wreupdate.pl but i've never seen docs 22:13 < wknowmad> yeah, i've looked but haven't seen anything obvious yet 22:13 < wknowmad> will keep looking 22:13 < wknowmad> actually it's wreupgrade.pl 22:14 <@rizen> just run wreupgrade.pl after you copy the new files over the time 22:14 <@rizen> top 22:14 <@rizen> it says that right in the wre if you look in docs/upgrade.txt 22:14 < wknowmad> good to know 22:14 < wknowmad> will update the wiki 22:14 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui 22:17 < wknowmad> see rizen, you've got me trained to go to the wiki first for all my documentation ;) 22:17 < GooeyOfSteel> Wiki: Upgrade WRE (v0.8.x) - Created on 3/6/2008 2:06 pm by knowmad http://www.webgui.org/community-wiki/upgrade-wre-v0.8.x 22:17 -!- Sunmaster_14_ [n=Sunmaste@h19-afsc.ded.indra.com] has joined #webgui 22:18 <@rizen> that's not my doing 22:19 < wknowmad> come on now, you've been blogging about moving online documentation into the wiki 22:19 <@rizen> i have? 22:20 <@rizen> i remember there was some post that someone made that i replied to, but i don't remember blogging about it 22:20 <@rizen> regardless, i always look to the documentation that comes with software before i look at a software's web site 22:20 < wknowmad> oh, maybe i misunderstood but i thought your plan when removing the help system from webgui internals was to have the wiki replace it 22:21 <@rizen> that is true, but that was on the dev mailing list not the blog 22:21 <@rizen> that announcement came before the blog existed 22:21 < wknowmad> guess i'm just getting lazy in my old age 22:21 <@rizen> colin and i started that a year ago now 22:22 <@rizen> not saying you shouldn't look at the wiki 22:22 < wknowmad> it's certainly been useful though my comments a few weeks back in your blog still stand 22:22 -!- Sunmaster_14 [n=Sunmaste@h19-afsc.ded.indra.com] has quit [Read error: 110 (Connection timed out)] 22:22 <@rizen> the comments about hierarchy and tables of contents? 22:23 < wknowmad> yes 22:23 <@rizen> it's on my todo, but i can't do commerce and that 22:23 <@rizen> commerce is too big 22:23 <@rizen> needs to get done first 22:23 -!- jdan [n=jdan@xdsl-461.lubin.dialog.net.pl] has joined #webgui 22:24 < knowmad> (back at my workstation) yes, i agree that commerce is bigger 22:25 < knowmad> it sounds like ya'll are making good progress 22:28 <+perlDreamer> I wonder if the bible equates cursing with swearing 22:29 < knowmad> semantics 22:31 <+perlDreamer> surely, spewing foul language isn't the same as asking God to nuke something? ;) 22:31 <+perlDreamer> If I take cold medicine, I feel drugged. If I don't I feel sick. I can't code well in either case. 22:32 -!- lisette [n=liraos@static-adsl201-232-86-73.epm.net.co] has joined #webgui 22:32 < lisette> hello 22:32 <+perlDreamer> buenos tardes, lisette 22:33 <+perlDreamer> Tienes una pregunta hoy? 22:33 < lisette> i tried send email with the module webgui WenGUI::Mail::Send, and the replyTo and returnPath, don't works 22:33 < lisette> buenas tardes 22:34 <+perlDreamer> does the person get the email at all? 22:34 < lisette> si tengo una pregunta, no me quiere funcionar el replyTo y el returnPath 22:34 <+perlDreamer> pero la persona recibe el "email"? 22:34 <+perlDreamer> or no? 22:34 < lisette> si la persona recibe el email 22:35 < lisette> pero en los headers no aparece el reply ni el returnPath 22:36 < lisette> y yo los tengo dentro del hash que se necesita para crear el email 22:36 <+perlDreamer> sorry, need to switch to English for bit :) 22:36 <+perlDreamer> returnPath and replyTo aren't valid params to WebGUI emails 22:37 < lisette> y porque estan en la documentacion del modulo? 22:37 <+perlDreamer> perldoc WebGUI::Inbox::Message 22:37 < lisette> perldoc WebGUI::Mail::Send 22:37 <@preaction> headers => { replyTo, returnPath } i think 22:38 <+perlDreamer> lisette, you're right 22:39 <+perlDreamer> whoops, preaction I meant 22:39 < lisette> my $mail = WebGUI::Mail::Send->create($session, { to=>$to, 22:39 < lisette> from=>$from, subject=>$subject, replyTo=>$reply, returnPath=>$reply}) 22:42 <+perlDreamer> that looks right 22:42 <+perlDreamer> pero, dice que no functiono bien? 22:42 < lisette> no, no funciona 22:43 < lisette> el correo llega bien, pero no llega el reply ni el returnPath en los headers 22:43 <@preaction> no, the replyTo and returnPath keys need to be inside of a headers => hashref 22:43 < lisette> ok, i try 22:43 <@preaction> so create( $session, { to => $to, from => $from, headers => { replyTo => $replyTo, returnPath => $returnPath } }) 22:43 < lisette> thanks 22:43 <+perlDreamer> preaction: that's not what the code says. all headers in 1 hashref 22:43 <@preaction> oh 22:43 <@preaction> uhm 22:43 <+perlDreamer> class, session, headers 22:44 < lisette> and what must do? 22:44 <+perlDreamer> estamos pensando 22:45 <@preaction> 7.5.x has getMimeEntity method in WebGUI::Mail::Send, you could use that to edit the MIME::Entity object directly 22:45 <@preaction> but this sounds like a bug... 22:45 <+perlDreamer> yeah, but it looks clean all the way into MIME::Entiry 22:45 <@preaction> are you sure sendmail isn't rewriting your Reply-To and X-Return-Path headers? 22:45 <+perlDreamer> do we have an email test now, by chance? 22:45 <@preaction> we do 22:46 <@preaction> in 7.5.2 or 3 i think 22:46 <@preaction> t/Mail/Send.t 22:46 <+perlDreamer> Do you know just how cool you are? 22:46 <@preaction> i have an idea 22:47 <+perlDreamer> I need to work on Taxes for a while, but if I have a chance later this afternoon I'll try to add a test for Reply-To and Return-Path 22:47 < lisette> no, don't rewrite 22:47 < lisette> thaks, muchas gracias 22:48 < GooeyOfSteel> Wiki: Upgrade WRE (v0.8.x) - Edited on 3/6/2008 2:37 pm by knowmad http://www.webgui.org/community-wiki/upgrade-wre-v0.8.x 22:49 < wknowmad> i'm sitting here watching the new WRE files overwrite the old ones and caught lots of activity happening in wre/prereqs/cpan 22:50 < wknowmad> is that directory really necessary for the WRE distribution? it looks like build dirs and source data that could be ejected from the release 22:53 <@rizen> is that from windows? 22:54 <@rizen> if so then yes because the windows build process is very different we don't have an optimizer build script that gets rid of all the extra crap you don't need 22:55 -!- jdan [n=jdan@xdsl-461.lubin.dialog.net.pl] has quit ["Leaving"] 22:57 < wknowmad> ok, fair enough (and yes, it's windoze) 22:57 <@rizen> some day we'll make a better build process for windows 22:57 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."] 22:57 <@rizen> it's just hard to justify a lot of work for one platform that most people don't deploy on 22:58 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui 22:58 <@preaction> patches welcome though, since you guys do a lot of work on the windows platform no? 22:58 <+perlDreamer> this is getting more fun all the time 22:59 <+perlDreamer> rizen: you read paul's post about taxes? 22:59 <+perlDreamer> The illinois tax document doesn't even list postal codes 23:01 <@rizen> of course not, they list counties 23:01 <@rizen> but postal codes exist in the counties 23:02 <@rizen> and if someone wants to purchase a zip code database so they can keep that shit up to date, then our system handles that 23:02 <@rizen> but we're not going to build in a "county" designation just for the US especially since we're not going to make people type in their county during checkout 23:03 <@rizen> unless you see something i don't 23:04 <+perlDreamer> well, if Illinois location codes are based on zip codes, we're fine 23:04 <+perlDreamer> otherwise we won't be calculating the right tax 23:05 <@rizen> pd that's not the question you should be asking 23:05 <@rizen> we know the user's zip code, city, state, and country 23:05 <@rizen> how do we figure out their county from that? 23:05 <@rizen> that is the question 23:05 <+perlDreamer> I disagree 23:06 <@rizen> you can't disagree 23:06 <+perlDreamer> they're listed by location code, not county 23:06 <@rizen> pd 23:06 <@rizen> stop 23:06 <+perlDreamer> if there's a correlation between location code and postal code, it's fine 23:06 <@rizen> i don't care what the state of illiinois says about tax location codes 23:06 <@rizen> i'm telling you that we only have city, state, zip code and country from the user 23:06 <@rizen> we have those 4 pieces of info 23:07 <@rizen> that's it 23:07 <@rizen> so given that, how do we figure out location codes 23:07 <@rizen> or county 23:07 <+perlDreamer> we'd need some table 23:07 <@rizen> or any other bullshit law that some locality decides to add 23:07 <+perlDreamer> right, we'd need lots of tables 23:07 <@rizen> exactly...we'd need a database of zip codes that match location codes 23:08 <@rizen> and since we need to have that, then our system has that covered, because we already know how to match zip codes 23:08 <+perlDreamer> unless zip codes don't map into location codes 23:08 <@rizen> it's not automated...and i don't care 23:08 <@rizen> but we cover it 23:09 <+perlDreamer> when you become president, you need to unify that :) 23:09 <@rizen> but if they don't map, then what good does a table look up do us? 23:09 -!- elnino [n=ninow@user-38q49cv.cable.mindspring.com] has joined #webgui 23:09 <@rizen> we have no more information 23:09 <@rizen> we can't map something to nothing 23:09 -!- elnino [n=ninow@user-38q49cv.cable.mindspring.com] has quit [Client Quit] 23:09 <+perlDreamer> exactly 23:09 <+perlDreamer> that's why I tried to call the state of Illinois (they're busy right now) 23:09 <@rizen> therefore our system is as good as it can be 23:09 <@rizen> why? 23:09 <@rizen> it doesn't matter what they say 23:10 <@rizen> we CANNOT do any better than we have done 23:10 <@rizen> we have 4 pieces of info 23:10 <@rizen> that's all we will ever have 23:10 <+perlDreamer> well, none of the online commerce systems I've used ask for county, or location code, or anything else. 23:10 <+perlDreamer> so maybe that's good enough 23:11 -!- elnino [n=ninow@user-38q49cv.cable.mindspring.com] has joined #webgui 23:11 <@rizen> it's up to the store owner that wants to sell in some particular location to figure out how to get their local laws into our system 23:11 <@rizen> we can't possibly be expected to account for every stupid local law in every municipality around the world automatically 23:11 < elnino> Hello. where are the default meta tags/headers configured in webgui? - the ones that are put on the page - separate than the ones under properties? 23:11 <@rizen> we just have to provide the tools that work with what we can do, so that the users can massage their stuff into ours 23:12 <+perlDreamer> okay 23:13 < GooeyOfSteel> Wiki: WRE for Windows - Created on 3/6/2008 3:03 pm by knowmad http://www.webgui.org/community-wiki/wre-for-windows 23:13 -!- dionak [n=diona@97.66.185.250] has left #webgui [] 23:14 <@rizen> pd you really are a worry wart aren't you? 23:14 -!- dionak [n=diona@97.66.185.250] has joined #webgui 23:14 <+perlDreamer> rizen: in chips, not knowing the answer to all questions ruins 5 months of work and gets projects canceled 23:14 < GooeyOfSteel> Wiki: Windows Installations - Edited on 3/6/2008 3:03 pm by knowmad http://www.webgui.org/community-wiki/windows-installations 23:14 -!- wgGuest25 [n=wgGuest2@97.66.185.250] has joined #webgui 23:14 <+perlDreamer> so, yes 23:15 <+perlDreamer> wgGuest25: you're a wiki hacking fied today 23:15 -!- wgGuest85 [n=wgGuest8@static-adsl201-232-86-73.epm.net.co] has joined #webgui 23:15 <@rizen> i like to know that answer to all questions that are relevant as well, but we can't answer questions that are out of scope 23:15 <+perlDreamer> and if too many projects get killed due to lack of knowledge, they'll fix that problem permanently. 23:15 <@rizen> location codes are out of scope 23:16 < wgGuest85> hello 23:17 -!- juan [n=juangui@static-adsl201-232-86-73.epm.net.co] has joined #webgui 23:18 -!- wgGuest85 [n=wgGuest8@static-adsl201-232-86-73.epm.net.co] has quit [Remote closed the connection] 23:18 < juan> hello 23:19 <+perlDreamer> hello, juan 23:19 < juan> i have several post in a collabotation system, i need to change the user who posted the all threads 23:19 < juan> can i do that? 23:19 < CIA-52> WebGUI: jt * r5732 /translations/French/French/AuthWebGUI.pm: update_from_translation_server 23:19 -!- wknowmad [n=wgGuest8@97.66.185.250] has quit [Read error: 110 (Connection timed out)] 23:20 <@preaction> not from the web interface, but from the database you can change the ownerUserId in the assetData table 23:20 < juan> ok 23:21 < juan> another question, in the default data form template can i ask for a specific field? 23:21 <+perlDreamer> check the Data Form template help page for the list of variables 23:21 <+perlDreamer> Do you know how to access that? 23:21 < juan> in the admin console, help 23:22 <+perlDreamer> yes, that's it 23:22 -!- estiven [n=estiven@static-adsl201-232-86-73.epm.net.co] has quit [Read error: 113 (No route to host)] 23:25 < GooeyOfSteel> Wiki: WRE for Windows - Edited on 3/6/2008 3:14 pm by knowmad http://www.webgui.org/community-wiki/wre-for-windows 23:27 < juan> yes, i know but i was trying to use the variables and i don't if that works. for example i have a field called test, in the template can i ask like this 23:28 < juan> i want to ask in the template if field.name ="test" 23:28 < juan> i want to validate that field to put an extra sentences 23:28 <+perlDreamer> for that, you need to use a different templating language than the default WebGUI one, which is HTML::Template 23:29 <+perlDreamer> HTML::TemplateExpr, or Template::Toolkit will allow that 23:29 <+perlDreamer> or, you can do it with javascript 23:29 <+perlDreamer> or, you can add subtext information to the "test" field which will be put in there 23:29 <@rizen> you enable them in your webgui config file 23:31 < perlmonkey2> Where can I find an example of the rich text editor being used in a template? 23:32 <+perlDreamer> perlmonkey2, I believe that it is invoked in the HTMLForm form plugin 23:32 < perlmonkey2> perlDreamer: gracias 23:33 < juan> perlDreamer, thanks, i am going to look form documentation to test it 23:34 <+perlDreamer> cool 23:34 <+perlDreamer> buena suerte 23:34 < elnino> hello 23:35 <+perlDreamer> I'm sorry, but all of our developers are busy. Please wait on the line until the next developer is available. 23:35 < elnino> do I hear elevator music? 23:37 <@preaction> those default meta tags are defined in the code i believe. WebGUI::Session::Style 23:37 < perlmonkey2> perlDreamer: you have overestimated my ability to dig through HTMLForm and find where it is generating the autoforms which have the rich text editor in them. 23:37 < elnino> thanks! 23:37 <@rizen> pm2: lib/WebGUI/Form/HTMLArea.pm 23:37 < perlmonkey2> thanks rizen 23:38 <@rizen> as for which rich editor, by default it uses the one configured in the settings 23:38 <@rizen> you should make a property in the survey asset if you want to override that 23:38 <@rizen> the same way that the CS and the Wiki do 23:38 <+perlDreamer> rizen: Do I have to worry about people putting duplicate data into the tax table? 23:39 <@rizen> pd i don't think so, if they put it in it's there own damn fault 23:39 <@rizen> and if it becomes a problem, we'll worry about it then 23:39 < perlmonkey2> rizen: woah, I was expecting a template which used a lib in extras...this is going to take some learning. 23:39 < perlmonkey2> I didn't realize there was a whole asset to do this. 23:39 <@rizen> there is a template 23:39 <@rizen> that the rich editor asset uses 23:39 <+perlDreamer> the asset just manages the interface to the TinyMCE options 23:40 <@rizen> but it has to be an asset so that users can set up their own rich editors easily 23:40 <@rizen> speaking of which, it turns out tinymce came out with a whole new version last month 23:40 <@rizen> going to have to update that before 7.5 comes out 23:40 <+perlDreamer> lots of good new stuff? 23:41 < perlmonkey2> $session->setting->get("richEditor") || "PBrichedit000000000001" should return text I can set = to a tmpl_var? 23:41 <@rizen> better safari support is the main thing i'm interested in 23:41 <@rizen> pm2 i don't know what you're asking 23:42 <+perlDreamer> that gets the assetId for a particular richTextEditor 23:42 <+perlDreamer> you can use Form::HTMLArea to build one for you 23:43 < perlmonkey2> I have a template that is just going to be a snippet of html that will be returned to an ajax call and set as the innerHTML in the edit div. I need there to be a rich text area in that html. And I'm not really sure where to begin to create that without adding a new file to extras and using that. 23:45 <@preaction> heh, i did that once. it works fine if you preload the TinyMCE javascripts on the base page (i think) 23:45 < perlmonkey2> preaction: which isn't a problem, but I fear this isn't the WG way to do thing.s 23:46 <@rizen> perlmonkey2, like i said before, when it comes to ajax forget about the webgui way of doing things 23:46 <@rizen> there isn't one 23:46 <@rizen> that's what 7.6 is going to be about 23:46 <@preaction> i lied. i made a text area and then used the javascript to apply the tinymce to it after i set innerHtml 23:46 <@preaction> i couldn't get the tinymce to just work, but applying it to a text area works fine 23:47 < GooeyOfSteel> Wiki: Upgrade WRE (v0.8.x) - Edited on 3/6/2008 3:37 pm by knowmad http://www.webgui.org/community-wiki/upgrade-wre-v0.8.x 23:48 < perlmonkey2> rizen: okay, I just don't want to cowboy out and create this one off wobject that is barely maintainable. 23:48 -!- SDuensin [n=Scott@252.sub-75-206-64.myvzw.com] has quit ["Leaving"] 23:48 <@rizen> there will definitely be some massaging that has to be done after you put it together 23:49 <@rizen> because we simply don't have a good infrastructure to create massively ajax apps yet 23:49 <@rizen> this is mainly due to how our current form controls system works 23:49 < perlmonkey2> tinymce2/jscripts/webgui.js is the one to use? 23:49 <@rizen> nope, you have to use all of them 23:50 <@rizen> just like HTMLArea.pm does 23:50 < perlmonkey2> okay :) 23:52 -!- elnino [n=ninow@user-38q49cv.cable.mindspring.com] has quit ["Leaving"] 23:53 < juan> perlDreamer, related to the thread in the assetData the 23:53 < juan> excuseme 23:53 <+perlDreamer> no hay de nada 23:53 < juan> the ownerId that i have is correct 23:54 < juan> the problem is that the threads have the alias of this user 23:54 < juan> can i change the alias? 23:54 <+perlDreamer> voy a buscar 23:54 < juan> ok 23:55 <+perlDreamer> in WebGUI, a Thread is a Post via inheritance 23:55 -!- wgGuest25 [n=wgGuest2@97.66.185.250] has quit [Read error: 110 (Connection timed out)] 23:55 <+perlDreamer> In the Post table, it stores the username 23:55 <+perlDreamer> it would need to be changed there, as well 23:56 < juan> i changed it but the post continues with the old alias 23:56 <+perlDreamer> have you cleared the WebGUI cache? 23:59 -!- elnino [n=ninow@user-38q49cv.cable.mindspring.com] has joined #webgui 23:59 < elnino> hello --- Day changed Fri Mar 07 2008 00:00 < juan> gracias perlDreamer 00:00 < juan> ya corregi el problema 00:02 <+perlDreamer> cool 00:02 < elnino> is there a way to completely turn off caching? 00:03 < elnino> I've got 7.4.26 00:04 <+perlDreamer> try checking the settings... 00:04 < elnino> I'm there, I dont' see anything 00:04 < elnino> anymore 00:04 < elnino> There used to be something there I thought. 00:04 <@preaction> no. WebGUI caches things for speed. no way to disable that 00:05 <@preaction> you're thinking the client-side browser cache, which it is possible to attempt to work around 00:05 <@preaction> i think Content > Prevent Proxy Cache, but it might have been removed since it wasn't effective at all 00:06 < elnino> that's there, but I don't understand that. It says urls will be unfriendly, etc. is that what i want? 00:08 <@preaction> what do you want to do? prevent browsers from caching your pages? 00:10 < elnino> no, I want to prevent webgui from caching my pages. It's not obeying the cache settings on assets that I've set, and it's completely ruined the site, and I need this site back up asap. 00:11 <@preaction> clear the cache from the Admin Console 00:11 <@preaction> or rm -rf /tmp/WebGUICache 00:11 <@preaction> (if you're using the default FileCache) 00:12 < elnino> yep, i've done that, but that's just one time clearing, I can not allow caching at all. 00:12 < elnino> I might just do a cron every 5 seconds. 00:12 <@rizen> elnino don't do that 00:12 <@rizen> find the problem 00:12 <@rizen> don't patch 00:12 <@rizen> tell us what's wrong 00:13 < elnino> ok - ready? 00:13 <+perlDreamer> rizen: I'm halfway through the new Tax code 00:13 < elnino> I have a secondn non-webgui site. It has a login page. people login, and a cookie is set. 00:13 < elnino> they are redirected to my webgui -based site. 00:14 < elnino> in webgui. I have user groups that take the values of these cookies, run it agains the db and determine which pages this webgui-visitor can see. 00:14 < elnino> this worked grreat. 00:15 < elnino> on my pages, where customer specific information is displayed, I have the cache setting to 1 second. 00:15 < elnino> so that users don't see the previous user's information. 00:15 <@preaction> no that won't work. they need to be a registered user. registered user's pages do not get cached by webgui 00:15 <@preaction> i think there's a thread on the community forums about this 00:15 < elnino> Since I've upgraded last week, (which hasn't been noticed till now) is when a user logs in is they see the previous users information. 00:16 <@rizen> pages are always cached for 60 seconds for visitors 00:16 <@rizen> this is called "burst protection" 00:16 < elnino> kinda - the post on webgui's forum is I wanted to use webguis forum - that is separate. 00:16 <@rizen> and is meant to kill the slashdot effect 00:17 < elnino> has this 60 seconds always been that way? that would explain why this wasn't seen before. 00:17 <@rizen> it's been in there since 7.0 00:17 <@rizen> 6.99.x actually 00:17 <@rizen> but it's only for visitors, not registered users 00:17 < elnino> ok. so if I wait 60 seconds, I should be ok. 00:18 < elnino> all my "registered users" are considered "visitors" by webgui. It actally works really well - untill I found out about this 60 second rule. 00:18 < GooeyOfSteel> Wiki: Customizing WRE Configuration - Created on 3/6/2008 4:07 pm by knowmad http://www.webgui.org/community-wiki/customizing-wre-configuration 00:20 < elnino> so when do you obey the cache settings that I set on assets? - are they ignored because my users are "visitors" by webgui's standard? 00:20 <@rizen> well you can get around the burst protection by adding something to the url 00:20 <@rizen> like this 00:21 <@rizen> http://site.com/pageurl?nocache=1 00:21 <@rizen> there is no "visitor cache" setting on page layouts 00:21 <@rizen> and burst protection is a function of a page layout 00:21 < CIA-52> WebGUI: jt * r5733 /translations/French/French/AuthWebGUI.pm: update_from_translation_server 00:22 <@rizen> so if you sent them directly to a snippet or an sql report URL then you wouldn't have this problem 00:22 < elnino> rizen said "pages are always cached for 60 seconds for visitors" - how do you dtermine if a user is a visitor? because my page can only be viewed by one of my sql-based groups and the user will be part of that group, so is my user a "visitor" or a memeber of the specific group - and shouldnt that be enough for obeying the cache settings? 00:22 < elnino> your right, I'm specificaly talking about assets's cache settings. 00:23 <@preaction> if they're not logged in to webgui, they're a visitor 00:23 < elnino> even i fthey are part of the group? 00:23 <+perlDreamer> yes 00:23 <@rizen> your user is always a visitor if they have not logged in to webgui 00:23 <@preaction> if they have userId of "1", they're a visitor 00:24 -!- MrHairgrease [n=martin@wlan-145-94-223-103.wlan.tudelft.nl] has left #webgui [] 00:24 < elnino> AH!!! Thank you! my sql statement return 1 - I'll just return something else! 00:24 <@preaction> if your login script would use the WebGUI API to give the person a cookie with a webgui session, it would work seamlessly 00:26 < elnino> zoom - way over my head - is there anything written on you just said? I'm using a custom cookie, nothing special, I'd be happy to use what ever format you need to set up a webgui session. This other login page - however is on a MS machine - a thorn in my side if I must say. 00:26 < elnino> And I suppost then my forum will work too. 00:26 < elnino> =) 00:26 <@preaction> you'd make a WebGUI session with WebGUI::Session->new. and then send a cookie called wgSession with the WebGUI::Session->getId ( $session->getId ) 00:28 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."] 00:29 < elnino> should I do this in my auth module? what do I do with all the groups my user may be a member of - I'm assuming that's part of the session? 00:30 <@preaction> it's part of the user. you'd need to create a webgui account for all your users 00:32 < elnino> I don't see any possible way of doing that. They are tightly tied into our CRM system. Is that what you'd require if one was using LDAP? I'll give it more thought. I suspect if my sql-based groups return something other than 1 this would work. fingers crossed. 00:33 <@preaction> LDAP would work easier probably, since LDAP gets periodically updated with new users 00:33 < elnino> I gues my question was, do you require all users from the LDAP system to be imported into webgui? 00:34 < elnino> maybe I can glean someting from the ldap auth mod. 00:36 <@preaction> there's a workflow activity that does it SyncProfilesToLDAP i think or FromLDAP or something 00:36 <@preaction> dunno really. the Administrator's Guide has a section about setting up LDAP 00:40 < elnino> hmm. So my plan was to create a user in webgui that is NOT part of any group. And modify my sql-based groups to return the id of this "dummy" user. 00:40 < elnino> so when a page check to see if the user is part of the group... this isn't going to work. it assumes the dummy user is logged in. 00:42 < elnino> hmm. not if I set the wgSession;s id to the dummy user. - because that's what determines who is logged in, right? 00:42 < elnino> but I still have to call WebGUI::Session->new somewhere, right? 00:43 < elnino> or is setting a properly structured cookie good enough? 00:46 < CIA-52> WebGUI: jt * r5734 /branch/WebGUI_Commerce/ (5 files in 5 dirs): we now have shop settings admin screen 00:46 < CIA-52> WebGUI: colin * r5735 /branch/WebGUI_Commerce/ (11 files in 4 dirs): 00:46 < CIA-52> WebGUI: Change the Shop::Tax system to be hierarchial. 00:46 < CIA-52> WebGUI: Update all sample tax tables and tests. 00:46 <@rizen> wow pd, are you already done with that change? 00:46 <+perlDreamer> yeah 00:47 <+perlDreamer> it took all day 00:47 <+perlDreamer> but only because I was sick 00:47 <+perlDreamer> oh, and it doesn't do the abbreviated, not abbreviated yet 00:47 <+perlDreamer> but we can add that in 00:48 <@rizen> yeah, it will definitely need that 00:48 <@rizen> when you do that, make sure it will do an unlimited number of ors 00:48 <@rizen> Wisconsin|WI|Wis 00:49 <+perlDreamer> okay 00:49 <+perlDreamer> and the comparison is done lower case 00:49 <@rizen> yup 00:49 <+perlDreamer> should the comparison be done in SQL? 00:50 <@rizen> up to you 00:50 <@rizen> whatever works fastest 00:50 <+perlDreamer> I'll try SQL first 00:51 -!- elnino_laptop [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI 00:51 < elnino> I need to logoff from here. I'll mostlikey have questions that I'll ask from my other account. 00:51 -!- elnino [n=ninow@user-38q49cv.cable.mindspring.com] has quit ["Leaving"] 00:58 <+perlDreamer> I think I can do this 00:58 -!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has quit ["Windows doesn't have users, it has hostages."] 01:03 -!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has joined #webgui 01:03 -!- mode/#webgui [+v Radix_] by ChanServ 01:03 -!- juan [n=juangui@static-adsl201-232-86-73.epm.net.co] has left #webgui [] 01:10 <+perlDreamer> store alternations in the db 01:10 <+perlDreamer> prepend ^ and $ to them in the query 01:10 <+perlDreamer> then use them as the regexp for a "constant" of user data 01:27 -!- dionak [n=diona@97.66.185.250] has quit [] 01:27 <+perlDreamer> I found out what happened to MrHairgrease today: http://news.yahoo.com/s/ap/20080306/ap_on_fe_st/odd_stiletto_run;_ylt=AhAiQISri8KMAbexsTzUA2.s0NUE 01:39 < Sunmaster_14_> I have an http proxy asset that uses url rewriting so that I can navigate around the site I'm proxying without leaving the asset. Does anybody know if it's possible to set some links to go to external sites, i.e. leave webgui, and circumvent the rewrite? 01:39 < Sunmaster_14_> like would an do it? 01:40 < Sunmaster_14_> Currently I'm using javascript to just change the location of the window, but I'd rather do something that doesn't require users have js. 01:41 <+perlDreamer> Sunmaster_14_: I'm pretty sure that's been discussed on the forums. Try a search there. 01:42 < Sunmaster_14_> ok 01:45 <@preaction> i believe i mentioned before that there's a field for regular expressions to match that will bypass rewriting 01:46 <@preaction> it's in the code at least, if for some reason it's not in the edit form 01:46 <@preaction> it's on the display tab 01:51 <+perlDreamer> preaction: I had a chance to optimize one of the sql queries for the Tax system 01:51 <+perlDreamer> check out 5736 01:58 -!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit [] 02:00 -!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI 02:01 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui 02:01 -!- Sunmaster_14_ [n=Sunmaste@h19-afsc.ded.indra.com] has quit [] 02:04 -!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui 02:04 -!- mode/#webgui [+v Radix-wrk] by ChanServ 02:04 < CIA-52> WebGUI: colin * r5736 /branch/WebGUI_Commerce/ (lib/WebGUI/Shop/Tax.pm t/Shop/Tax.t): optimize the SQL query for getting tax rates 02:06 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit ["Leaving"] 02:11 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui 02:11 -!- mode/#webgui [+o preaction] by ChanServ 02:29 -!- elnino_laptop [n=elnino@user-38q49cv.cable.mindspring.com] has quit [Read error: 110 (Connection timed out)] 02:54 -!- elnino_laptop [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI 03:03 -!- elnino_laptop [n=elnino@user-38q49cv.cable.mindspring.com] has quit ["Leaving"] 03:03 -!- elnino_laptop [n=elnino@user-38q49cv.cable.mindspring.com] has joined #webgui 03:04 < elnino_laptop> perlDreamer: after thinking about my situatin some more, I have one more issue that I need your opinoin on. 03:04 <+perlDreamer> sure 03:04 <+perlDreamer> but I'm biased 03:04 < elnino_laptop> I know... =) 03:05 <+perlDreamer> lay it on me 03:05 < elnino_laptop> If I import my users from our CRM package, I some how need to keep them synced. 03:05 <+perlDreamer> Yes. That can be done with a workflow, just like for LDAP 03:05 < elnino_laptop> what do I tie them to? 03:05 <+perlDreamer> usernames have to be unique in the database 03:06 < elnino_laptop> there are iDs in our CRM package, can I import those ids as the webgui user id? 03:06 <+perlDreamer> so username(CRM) => username(wg) 03:06 <+perlDreamer> you could, but they would need to be webgui-like 03:06 <+perlDreamer> 22 characters, a modified base64 MD5 hash 03:06 <+perlDreamer> check out Session::Id.pm 03:07 < elnino_laptop> yes they do.but i our case, the email address is the username. and saes reps and or the customer themselves can change that at anytime, thuse the link is broken and I can no longer sync 03:07 < elnino_laptop> our crm package uses sequenctal numbers for ids. 03:08 <+perlDreamer> smaller than 22 characters, and all greater than 20? 03:08 < elnino_laptop> I suppose there may be some other fields in webgui I can shove the CRM's ids into? 03:08 <+perlDreamer> userProfile fields 03:09 <+perlDreamer> that would work very well 03:09 <+perlDreamer> and I think it's been done before 03:10 < elnino_laptop> k. I'm thinking customization stil needs to be done on the CRM side. as users can be merged and the ids can change. and the other issue is when the user is created in the CRM system, I have to create the record in webgui - but that sounds like I can do that intheworkflow 03:10 < elnino_laptop> the other "quicker" fix, I"m considering is 03:11 < elnino_laptop> while looking at the layout.pm, and see where the 60 second burst is implemented. I can put in a check there to see if the "visiter" belongs to one of my sql-based groups and by-pass that for now. 03:11 < elnino_laptop> but you probabay don't like that idea and are probably cringing. 03:12 <+perlDreamer> yeah, I like vanilla webgui with plugins 03:12 <+perlDreamer> I maintained customized wG code for a while, and I have more fun things that I like to do. 03:12 <+perlDreamer> But you need to make the best decision for your needs. 03:12 < elnino_laptop> =) 03:12 <+perlDreamer> I think that full wG integration will bring further benefits later 03:12 <+perlDreamer> such as allowing them to actually edit parts of the website 03:13 <+perlDreamer> participate in forums with real names, and so on 03:13 < elnino_laptop> oh I need to do that eventually if the forum and wiki is going to work. yep. 03:13 <+perlDreamer> so I favor large work soon, unless you're blocking on something important time-wise 03:13 <+perlDreamer> and what kind of setup is this for, anyway? 03:13 < elnino_laptop> the problem is the guy who would do the crm changes left, and we have noone to do it? 03:14 <+perlDreamer> yeah, so storing the CRM ID in wG would be best 03:15 < elnino_laptop> we have two websites, that share "priviledged" content. we have a site that builds custom software- on the fly on one site, and the documentation on webgui. (so that I don't have to update content anymore) 03:16 <+perlDreamer> sounds cool 03:16 < elnino_laptop> so a user will login and can access our documentation and support, and go to the other site and order/build custom software and then they get emailed the software, and get billed. 03:16 <+perlDreamer> so the CRM does the order/build work? 03:17 < elnino_laptop> It is. I've been wanting to port the builder to java, but I have some dll sitting on that MS server, that we don't ahve to source code for, so I'm a bit out of luck on that... it has to stay on MS. 03:17 <+perlDreamer> (biasing again) what about moving the build over to wG? 03:17 <+perlDreamer> run the whole thing on MS on the WRE 03:17 < elnino_laptop> no, the CRM hoses the users and their privildeges which the sales reps control, and the software builder pulls the privs from there. 03:18 <+perlDreamer> I see 03:18 < elnino_laptop> you mean moving webgui to MS?? I've had nothign but trouble with failing MS servers. 03:19 <+perlDreamer> I was thinking that if you were stuck with building on MS it might be simpler. 03:19 <+perlDreamer> I prefer Linux myself 03:19 < elnino_laptop> it is cool. when it works =)wich is most of the time. it was a bugger to get webgui and the buider site to play as nicely as they do. 03:21 < elnino_laptop> well, I think for now, I'm goint to modiy the layout. I don't plan to do any upgrades for a while, that will buy us tim eto find a replacement progrmmer to modify the CRM system to keep the two synced. Im gong to have to store the wg's id inthe CRM system so that when sales reps delete or merge susers, the sync doesnt break. 03:21 < elnino_laptop> that should work. I'll find out tonight. 03:21 < elnino_laptop> does the user import tool allow for mulitple group memberships? 03:22 <+perlDreamer> I don't think you have to modify the CRM to merge info from there into wG. 03:22 <+Radix-wrk> couldn't you use sql group lookups? 03:23 <+perlDreamer> he does, but he needs actual users, too 03:23 <+perlDreamer> elnino_laptop: perl userImport.pl --help will give you all the info on importing users 03:23 <+perlDreamer> I think it will allow multiple groups on import 03:24 < elnino_laptop> k. Thanks for listening!! and for your input/opinion. sometimes it's nice to talk outloud. Are you around some more or leaving soon, I think it's been a long day for you already. 03:24 <+perlDreamer> having dinner soon, but I'll be around 03:25 <+Radix-wrk> I wrote my own userimport script that adds a user via a url 03:25 <+Radix-wrk> and handle group memberships through sql lookups 03:27 < elnino_laptop> I saw something like that. I was trying to figure out how that might work in my case. So I can have a list of users, and in webgui , they dont' belong to any group, but I can use sqllookups on my groups, and return what? That assmes that the webgui userid is stored in the db that the group is querying, right? 03:27 <+perlDreamer> no 03:27 <+perlDreamer> you can use foreign fields 03:27 <+perlDreamer> or anything else 03:28 <+perlDreamer> you could check them out remotely and see if they have bought purple umbrellas 03:28 < elnino_laptop> my understanding is that the sql-based usergroups, must return the userid to authenticate that user. So, yes the query can query for any criteria, but it still has to return a userid. Did I miss something? 03:28 <+Radix-wrk> we have an intermediary sql table with users and group permissions - if it's 1 in the group field then they have access, 0 and they don't 03:29 <+perlDreamer> elnino_laptop: I should go check. 03:30 <+Radix-wrk> I just have a simple query: 'SELECT userId FROM users WHERE XXX = 1' 03:30 <+Radix-wrk> where XXX is the group name I want 03:32 < elnino_laptop> so you are returning the webgui's userid/ 03:32 <+perlDreamer> that's right. SQL queries have to return wG userIds 03:32 <+Radix-wrk> yeah 03:32 <+perlDreamer> it used to be that you'd return 1, but that was a long time ago 03:32 < elnino_laptop> I dont' have that intermediary table yet. That's what I still need to create in the CRM system 03:33 < elnino_laptop> THanks for checking perlDreamer - that's what I thought. So I'm still doing what I was planning. 03:33 <+Radix-wrk> my intermediary table is just a mix of data from the two databases - other database id, login name, webgui userid, and then a heap of groupnames with 0 or 1 indicating membership 03:33 < elnino_laptop> Radix - not quite sure how to add user by url will help, but I'll keep thinking about it. 03:34 < elnino_laptop> Radix - yep, I don't one of those yet. that's part o fmy plan =) 03:35 <+Radix-wrk> I've started work on a synchronisation workflow between the two databases too - so that data can be changed in either database (like company name, contact email address, etc) and it will update accordingly in the other 03:36 <+Radix-wrk> it's mostly done.. just needs to be implemented here really - but has been put on the back burner for now 03:37 -!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui 03:38 <+Radix-wrk> We've got a peculiar problem in that our other database cant talk to webgui.. nor can webgui talk to it. It can write out data to sql - so we're using that as a communication method - but it doesn't have a scheduler or timed actions, so everything must be triggered manually. 03:39 < elnino_laptop> that would be cool to have. is that something that is going to be in the contributions, or integreated into future versions? or neither? 03:40 <+Radix-wrk> I can send you a copy if you like - it's pretty hackish, but works around our issues 03:42 < elnino_laptop> That would be awesome if you could, I was kinda wondering how to do a workflow for something else, so that would be handy for two things. 03:43 < elnino_laptop> you can send it to webmaster@comtrol.com 03:43 -!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui 03:58 < elnino_laptop> any one know off hand what keystoke to use in vi to check paranthesis? - totally not a wg question. My appologies 03:58 <+Radix-wrk> ctrl } I thought 03:59 <+perlDreamer> % bounces between pairs of parens 03:59 <+Radix-wrk> maybe not 03:59 < elnino_laptop> thanks! 03:59 <+Radix-wrk> cool 03:59 <+perlDreamer> is it set showMatch to do that as you're typing? 03:59 <+Radix-wrk> elnino - sent you that workflow 04:00 <+Radix-wrk> make sure you regard it as a very early beta with no guarantees it'll even work, k :) 04:00 <+Radix-wrk> So far all I've done is use it in testing.. not implemented it 04:01 <+Radix-wrk> but might help you get the basics of a workflow, and the logic is clearly explained 04:01 < elnino_laptop> perlDreamer, yep, but it doesn't work when you paste. 04:01 < elnino_laptop> thanks radix - I won't blame you for any mishaps. 04:01 <+Radix-wrk> lemme know how you go :) 04:02 <+perlDreamer> I also like :!perl -wc % -I /data/WebGUI/lib 04:02 <+perlDreamer> for syntax checking perl code 04:07 < elnino_laptop> mmm good tip. Thanks 04:13 <+perlDreamer> for checking test code, you need an extra -I 04:13 <+perlDreamer> :!perl -wc % -I /data/WebGUI/lib -I /data/WebGUI/t/lib 04:13 <+perlDreamer> and for WRE code it would need a 3rd one, but I don't know the WRE path structure 04:14 <@preaction> those sound like good candiates for macros 04:17 <+perlDreamer> sounds like good fodder for my WUC talk 04:18 <+perlDreamer> after I finish these next tests, I'd love some feedback about the alternation system I build into the Shop::Tax. 04:18 <+perlDreamer> willing to review a patch? 04:19 <@preaction> sure 04:21 < elnino_laptop> so.. perlDreamer. If I was able to manage to create webgui session and create a cookie to store that sessionID from my MS machine, that wouldn't solve my problem unless i actually had a user tied to that session right? 04:21 <@preaction> right 04:23 < elnino_laptop> and taht user can be a dummy user, right? and still use my sql-based groups. 04:24 <@preaction> sure, but then all things will appear to be from that dummy user 04:24 < elnino_laptop> I'm likeing that idea better than changing your source. 04:25 < elnino_laptop> I'm going to see I can do that. 04:27 <+perlDreamer> okay, the goal is to allow people to be able to type in USA, or U.S.A, or other alternate names for a country, state or city 04:27 <+perlDreamer> svn rev 5737 04:28 <@preaction> k 04:30 <+perlDreamer> https://svn.webgui.org/svnweb/plainblack/revision/?rev=5737 04:30 <@preaction> can we use JSON or some other serialization language? 04:31 <+perlDreamer> vs CSV? Why? 04:31 <+perlDreamer> it's just tabular data 04:33 <@preaction> barring that, methods to pack / unpack that data then? so that if we find we need something more than just arrays of arrays we can use it? 04:33 <+perlDreamer> importTaxData and exportTaxData 04:34 <@preaction> USA?|U.S.(A.)?|United States( of America)?| <- i forsee regular expressions in your future 04:34 <+perlDreamer> nope, alternations 04:34 <+perlDreamer> | is translated to , in the import method 04:34 <+perlDreamer> so that I can use find_in_set to check for membership 04:34 <+perlDreamer> Just list them all explicitly 04:35 <+perlDreamer> I don't foresee most users knowing regular expressions 04:35 <@preaction> of course not, but is it 1:1 or can it be 1:many? 04:35 <+perlDreamer> 1:1 04:35 <+perlDreamer> any in the set 04:36 <@preaction> so if the user says "USA" or "U.S.A" and also says "CA" or "California", the tax rate is 7.25% 04:37 <+perlDreamer> yes 04:37 <+perlDreamer> well, 7.25 + 0, technically 04:37 <+perlDreamer> since USA is defined as 0 04:37 <+perlDreamer> in that test set 04:38 <@preaction> but if the user says "U.S.A", that still means they, in the end, typed "USA", right? 04:38 <@preaction> are you using this to parse / normalize user input? 04:38 <+perlDreamer> compare user input 04:39 <+perlDreamer> user enters in an address 04:39 <+perlDreamer> use the address to calculate sales tax rates 04:39 <+perlDreamer> from multiple sources 04:39 <@preaction> so they just type it out and you compare it to what you know 04:39 <+perlDreamer> yes 04:39 <+perlDreamer> and U.S.A would not match any entry in the system 04:39 <+perlDreamer> unless it was entered in that way 04:39 <@preaction> so in the end you need to be able to map X number of possibilities to one entry: USA 04:40 <+perlDreamer> ...yes... 04:40 <@preaction> i gotta go downstairs to show the house to the renter 04:40 <+perlDreamer> where the second entry is also user data 04:40 <@preaction> would that not be better off as a hash of arrays? someone enters that "THIS" is an alternative way of saying USA, and in all other places in the tax setup, only USA is used 04:41 <@preaction> so just one place it is defined that USA can also be "U.S." or "U.S.A" or "US" or "United States" 04:41 <@preaction> or maybe you already are doing that and i'm only seeing part of the picture 04:42 <+perlDreamer> there's no way to make it scale easily, across states, cities and countries 04:42 <@preaction> no, unfortunately. unless it's a db lookup map sort of thing 04:42 <+perlDreamer> right 04:42 <@preaction> a mysql table "id" => "value", then lookup by value 04:42 <@preaction> but still kinda ugly 04:42 <+perlDreamer> and it's a huge db that's constantly changing 04:43 <+perlDreamer> need to do itinerary review, bbiaw 04:43 <@preaction> k, i gotta go do some stuff too 04:46 < CIA-52> WebGUI: colin * r5737 /branch/WebGUI_Commerce/ (4 files in 3 dirs): 04:46 < CIA-52> WebGUI: Allow alternations in the tax data, so that it is case insensitive 04:46 < CIA-52> WebGUI: and allows multiple definitions of an entry (like state, city or country) 04:48 <+perlDreamer> are you renting out part of your house? 04:52 -!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit [Remote closed the connection] 04:52 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."] 04:55 -!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui 04:56 -!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui 04:56 -!- mode/#webgui [+o rizen] by ChanServ 04:57 <+perlDreamer> rizen: the alternations code is https://svn.webgui.org/svnweb/plainblack/revision/?rev=5737 04:57 <+perlDreamer> is you'd like to review it 04:59 < elnino_laptop> do wgsessions time out after a while? 05:00 <+perlDreamer> yes, it's specified in the settings as to how long that is 05:00 <@rizen> i trust that it works, unless you're saying that you want me to review it 05:00 < elnino_laptop> thanks pd 05:00 <+perlDreamer> yes it works, but it doesn't do regular expressions. It lets the user define a list of alternates for country, city, state or code and does a case insensitive check 05:04 < CIA-52> WebGUI: colin * r5738 /branch/WebGUI_Commerce/lib/WebGUI/Shop/Tax.pm: find_in_set seems to be case insensitive, natively. 05:04 < CIA-52> WebGUI: colin * r5739 /WebGUI/lib/WebGUI/Group.pm: more POD for Group.pm 05:07 <@preaction> perlDreamer, i have a duplex, so i've been trying to get a tenant downstairs for a few months now 05:07 <@preaction> $350 for an ad in the local paper, or $70 on apartments.com, which reminds me that i forgot to ask the girl where she heard of it 05:08 <+perlDreamer> rizen: you're awfully quiet. Are you deciding whether to just kill me, or savagely maim me? 05:08 <@rizen> did you build the ui for it yet, or just the backend? 05:08 <@rizen> btw, i love all these csv files 05:09 <+perlDreamer> no UI yet. APIs first 05:09 < elnino_laptop> so. I'm logged in as admin, and trying to run a macro to start a new session. I suppose I have to logout for the macro to work. 05:09 <@rizen> badTaxTable.csv 05:09 <@preaction> not sure that macros will work that way 05:09 <@rizen> =) 05:09 <+perlDreamer> yeah, I'm lacking inspiration 05:09 <@rizen> no ui i see 05:10 <+perlDreamer> time for kids, back in 30. 05:12 <@preaction> oh, now i see how it all works 05:12 <@rizen> did you not see all the things i just posed 05:13 -!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit [Remote closed the connection] 05:13 <@rizen> posted 05:22 <+perlDreamer> to which "you" art thou referring, rizen? 05:23 <@rizen> what do you see preaction? 05:23 <@preaction> was just wondering how the data is stored 05:24 <@preaction> will there be one row for each member of an alternation? 05:24 <@rizen> no longer relevant 05:24 <+perlDreamer> multiple alternations are possible for location info for each row 05:25 <@preaction> so the row contains packed data? or is it normalized somehow? 05:26 <+perlDreamer> the row contians a bunch of text in column 05:26 <+perlDreamer> most columns may contain a CSV style list of possible entries that is flat text 05:27 <+perlDreamer> it's really just plain text 05:28 <@preaction> and that's what the find_in_set handles? 05:28 <+perlDreamer> yes 05:28 <@preaction> i see 05:29 <@preaction> that should work, no objections from me 05:37 <@rizen> i object just because preaction didn't 05:37 <@preaction> normalize your data you wanker! 05:37 <+perlDreamer> objection noted 05:37 <+perlDreamer> and what does "normalize" mean? 05:38 <+perlDreamer> you object to the multiple USA's in there? 05:38 <@preaction> it means basically no packing / serializing data in the database. it means a lot of joining tables 05:38 <@preaction> i was voicing JT's objections 05:39 <+perlDreamer> that wasn't JT's objection, because he said it needed to be done that way this morning 05:40 <@preaction> i imagine it may, in the end, come down to normalizing those data, but i don't see any reason for it right now and as long as the API can remain constant if it needs to be normalized we're golden 05:48 <@rizen> it won't come down to normalizing it ever 05:50 <+perlDreamer> I'll go back to working on the UI for Tax 05:51 <+perlDreamer> rizen, so Shop www_ methods are object methods, and not class methods like Operations? 05:51 <+perlDreamer> interesting 05:52 <@rizen> the reason i can say that with confidence is because eventually the tax system will need to be made pluggable just like shipping and payment methods 05:57 <@rizen> but for now, the tax system pd has created is 10x more flexible and powerful than the one we had 05:57 <+perlDreamer> it would help if I'd read the designdocs more carefully, though. 05:57 <+perlDreamer> You said tab delimited, not CSV 05:57 <@rizen> and will cover 90% of user's needs 05:59 <@rizen> depends on the module 06:01 <@rizen> for Shipping they are class methods 06:02 < CIA-52> WebGUI: jt * r5740 /branch/WebGUI_Commerce/lib/WebGUI/ (Shop/Ship.pm Shop/Admin.pm Content/Shop.pm): beginnings of shipping mangement interface 06:04 <@rizen> for tax, cart they are object methods 06:06 <@preaction> did you guys want me to add Commerce to the nightly test box? 06:06 <+perlDreamer> sure! 06:06 <@rizen> and btw...operations aren't methods at all, they're procedural 06:08 <+perlDreamer> I stand corrected 06:10 <@rizen> shipping is a class method because shipping has no construcor 06:12 <@rizen> cus new() creates a driver 06:12 < elnino_laptop> is there any way to cycle the webgui logs? Mine gets really big ... 06:13 <+perlDreamer> shutdown webgui, echo '' > /var/log/webgui.log; restart webgui 06:13 <@rizen> not a WebGUI::Shop::Ship 06:13 <+Radix-wrk> elnino_laptop: no reason you couldn't use logrotate on them I'm sure 06:14 < elnino_laptop> ok. Thanks 06:15 <@rizen> i'll be checking it in in a few seconds so you can see what i mean 06:21 -!- patspam [i=chatzill@ppp59-167-128-63.lns3.mel6.internode.on.net] has joined #webgui 06:22 <@rizen> but the reason i decided to go with a content handler for the commerce stuff was so we could use method calls rather than proceedures 06:24 <@rizen> it gives us a bit more power 06:24 <@rizen> csv is fine 06:25 <@rizen> i don't really car 06:25 <+perlDreamer> Okay, I just don't want you to think I'm blowing off your initial design decisions. 06:25 <@rizen> care 06:29 <@rizen> i like tabs because there is more often commas in data 06:33 <@rizen> now if i was as big of a dick as everyone seems to think i am, i'd chew your ass out 06:37 <@rizen> ok, just checked in the start of the shipping management interface 06:38 < elnino_laptop> how do I find out if webgui.auth change since 7.2.1? 06:40 <@preaction> there may be bugfixes, but the API doesn't change 06:42 <@rizen> which includes the hand of www_do method so that the ship manager can hand off www_ requests to ship drivers 06:42 < elnino_laptop> I referted all my changes to what I was working on. One of my sales reps were complaining that webgui was crashing their browser. Once did it just "hang" for me, so I thought it was a fluke. Now that i've been playing with it, only some of my pages come up blank. Like source code is html, head, body, end body, end html 06:43 -!- diakopter [n=diakopte@pdpc/supporter/active/diakopter] has joined #webgui 06:43 < elnino_laptop> and it's doing this on only some pages. so I thought maybe it was my auth module, and noticed it was old (I copied it from 7.2.1 and made it redirect to my custom login page. That's the only difference. 06:43 <@rizen> the payment manager will have the same thing 06:44 < elnino_laptop> my laptop seems to render the apges fine, but It's vista and IE 7, I'm having the "blank" problems on 2000/IE6 06:44 < elnino_laptop> I know this all sounds weird, and you probably think I'm crazy and perhaps I am. but I have NO idea what to look for. 06:44 <@rizen> or if you're using the WRE they'll get rotated automatically 06:45 -!- diakopter [n=diakopte@pdpc/supporter/active/diakopter] has quit [Client Quit] 06:45 < elnino_laptop> or why I'm possibly getting "blank" pages. 06:45 -!- diakopter [n=diakopte@209.9.237.164] has joined #webgui 06:45 <@rizen> methinks it's time to quit for the night 06:47 < elnino_laptop> is thhis where I say, it's on our production server? 06:47 <@preaction> elnino_laptop, that source code usually shows up when nothing was sent back from the site 06:47 <@preaction> i have no idea where you should start 06:47 <@rizen> get a fresh start tomorrow and get the shipping admin interface wrapped up 06:47 <@preaction> if it's a production server, i would probably suggest perhaps some sort of support contract so this won't happen in the future maybe? 06:49 <@rizen> i'm really pleased with how this is coming together 06:49 < elnino_laptop> this all happened befreo I started anything. I promise. I just thought the sales rep was crazy so I ignored him. It's client specific. 06:50 <@rizen> i don't know why i'm downloading it but i'm getting the iphone sdk 06:51 <+perlDreamer> why not? 06:51 <+perlDreamer> Everyone needs a hobby. 06:51 < elnino_laptop> preactioin: That's what I figured, why would something not be sent back from the site. That's why I thought maybe it was my auth module. 06:51 <+perlDreamer> Some people play video games, watch movies, or make games. 06:52 < elnino_laptop> I play french horn. 06:52 <@rizen> i have aspirations that i'll make some cool iphone/webgui interconnected thing, but i don't know what yet 06:53 -!- rizen is now known as rizenisaway 07:01 < CIA-52> WebGUI: colin * r5741 /branch/WebGUI_Commerce/lib/WebGUI/Shop/Tax.pm: 07:01 < CIA-52> WebGUI: Add a method for determining if users can access commerce functions, and 07:01 < CIA-52> WebGUI: stub out www_view 07:05 -!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has quit [] 07:14 -!- perlDreamer [n=colink@pool-71-117-235-252.ptldor.fios.verizon.net] has quit ["Leaving."] 07:14 -!- elnino_laptop [n=elnino@user-38q49cv.cable.mindspring.com] has quit ["Leaving"] 07:49 -!- rizenisaway [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit [] 07:58 -!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: @Haarg, ckotil, diakopter 07:58 -!- Netsplit over, joins: @Haarg, diakopter, ckotil 08:02 < CIA-52> WebGUI: graham * r5742 /WebGUI/docs/create.sql: preparing for 7.5.5 release 08:12 -!- jdan [n=jdan@xdsl-461.lubin.dialog.net.pl] has joined #webgui 08:44 -!- ryuu_ro [n=rory@194.171.50.69] has joined #webgui 08:44 < CIA-52> WebGUI: jt * r5743 /releases/WebGUI_7.5.5-beta: Release 7.5.5-beta 09:03 < CIA-52> WebGUI: jt * r5744 /translations/Polish/Polish/ (Asset.pm Asset_Image.pm WebGUI.pm Asset_Collaboration.pm): update_from_translation_server 09:09 -!- 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:49 -!- Radix-wrk [n=Jesse@203.161.68.67] has quit ["Leaving"] 10:28 -!- BartJol [n=plainstu@194.171.50.123] has joined #webgui 11:21 -!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has quit [Read error: 110 (Connection timed out)] 11:53 -!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI 13:51 -!- BartJol [n=plainstu@194.171.50.123] has quit [Read error: 113 (No route to host)] 13:52 -!- BartJol [n=plainstu@194.171.50.123] has joined #webgui 13:54 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)] 14:12 -!- ryuu_ro_ [n=rory@194.171.50.69] has joined #webgui 14:12 -!- ryuu_ro [n=rory@194.171.50.69] has quit [Read error: 104 (Connection reset by peer)] 14:13 -!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has quit ["Leaving"] 14:21 < CIA-52> WebGUI: jt * r5745 /translations/Polish/Polish/ (Asset.pm WebGUI.pm Asset_Collaboration.pm): update_from_translation_server 14:34 -!- MrHairgrease [n=martin@194.171.50.69] has joined #webgui 14:34 -!- mode/#webgui [+v MrHairgrease] by ChanServ 14:40 < CIA-52> WebGUI: jt * r5746 /translations/French/French/Macro_LoginToggle.pm: update_from_translation_server 14:56 < knowmad> has anyone here added workflow to webgui? 14:57 < knowmad> and i don't mean the automated scripts, i'm talking about people processes 14:58 <+MrHairgrease> you mean things like multi layered aproval? 14:58 <+MrHairgrease> haven't done that yet 14:59 < knowmad> yes that kind of thing along with people able to track tasks and responsibilities associated with completing a project 14:59 < knowmad> have you ever looked at the Workflow modul on CPAN? 14:59 < knowmad> /perlbot 15:00 < knowmad> how does one use the perlbot? i thought i saw it return a link to a CPAN module once 15:00 < knowmad> in the meantime, here's the link http://search.cpan.org/~jonasbn/Workflow-0.31/ 15:21 < ckotil> knowmad: i do that. i created an approval process for some reports we insert into webgui w/ a versoin tag 15:22 <+MrHairgrease> perlbot help 15:22 < perlbot> (fact) : tell (who) about (what) : (what) > (who) : learn (what) as (info) : relearn (fact) as (info) : phone (phone #) : shorten (url) : shorten it : search (keyword) : cpan (module) : docs (module) : perldoc -f (function) : jargon (term) : math (expr): fortune : flip : host (type) (record) : rot13 (text) : roll (die) : tempconv (temp) : scramble (foo) : 8ball (question) : slap (who) : diss (who) : top/bottom (number) karma : geoip (ip) 15:22 <+MrHairgrease> perlbot cpan Workflow 15:22 < perlbot> Documentation for 'Workflow' can be found here: http://xrl.us/bhay2 15:25 -!- estiven [n=estiven@static-adsl201-232-86-73.epm.net.co] has joined #webgui 15:25 < knowmad> sweet! thanks guys 15:26 < knowmad> ckotil: so you are using version tags for process approval? what if the process is 20 steps? 15:26 < ckotil> yes. thats fine. 15:26 < ckotil> workflow activities can have a waiting state. 15:27 < ckotil> my approval workflow(s) have about 5 or 6 steps. 15:27 < knowmad> but how is that connected to version control? 15:28 < knowmad> VC seems so wrong to me for managing tasks associated with a project 15:28 < ckotil> the report becomes an asset in webgui, and gets its own version tag 15:28 < ckotil> the version tag has a workflow associated with it 15:28 < ckotil> In this case, its my approval workflow w/ custom activities which ask a certain group of my users to review and approve the report. 15:29 < knowmad> oh, so you're process is built around a report 15:29 < knowmad> hmmm, we have a few docs associate with the process i'm trying to map 15:29 < knowmad> do wG workflows handle conditionals and branching? 15:29 < ckotil> yes, but we create the report outside of webgui based on our ticketing system, and then a cgi script feeds the report to webgui 15:29 < knowmad> what ticketing solution are you using? 15:30 < ckotil> conditionals yes. not sure what you mean by branching. 15:30 < ckotil> footprints. 15:30 < knowmad> not heard of that one 15:30 < ckotil> its not too popular. 15:30 < knowmad> i mean that if an approval gets denied at step 2, the workflow branches back to step 1 instead of moving forward to step 3 15:30 < ckotil> we bought it years ago when it was just startup then Numera bought them out and now doesnt do much with it. 15:30 <+MrHairgrease> knowmad: versioning and workflow are two seperate systems 15:31 <+MrHairgrease> if someone changes content that need to go through an approval workflow a new version is created for that content and its asset is locked 15:31 < knowmad> yes, i'm beginning to wonder if i can glom onto webgui's workflow instead of add another module into the system; i just need to determine if it can support my needs 15:31 < ckotil> ah. if a versoin tag/report is denied, then the version tag gets opened back up and a new report is attached to it, replacing the original report 15:31 <+MrHairgrease> knowmad: it probably does 15:32 < ckotil> yeah its very flexible 15:32 <+MrHairgrease> ckotil: correct 15:32 <+MrHairgrease> it deletes teh versiontag 15:32 <+MrHairgrease> which contains that version 15:32 < ckotil> you can do both. delete the tag, or open it back up 15:32 <+MrHairgrease> this automatically rolls the non comitted versionback 15:32 < knowmad> ok, i see; i haven't done much with version approvals yet 15:32 <+MrHairgrease> true 15:33 <+MrHairgrease> anyways 15:33 <+MrHairgrease> the workflow system has in itself othing todo with versioning 15:33 <+MrHairgrease> knowmad: if the current system doesn't do what you want, you could write an activity that does 15:33 < ckotil> so there 3 types of workflow too. 15:33 < knowmad> basically what i need to build is a user-friendly interface for building workflows and a way to check status on them 15:33 <+MrHairgrease> the workflow system is pretty generic 15:34 <+MrHairgrease> ah 15:34 <+MrHairgrease> i see 15:34 < ckotil> err.3 types of workflow activities 15:34 < knowmad> this client will be running say 60-80 projects at any given time 15:35 <+MrHairgrease> i know jt had plans for making everything more visble and user freindly 15:35 < knowmad> i'm thinking this would mean that there are 60-80 runnings activities that spectre is watching and that i should be able to get the status of any of them 15:35 <+MrHairgrease> but you have to ask him about that 15:35 < knowmad> yeah, it looks like i'll be doing that 15:35 <+MrHairgrease> and i think that is shelved for noe 15:35 < knowmad> so a workflow has states right? 15:35 <+MrHairgrease> anyway, whether you go one way or the other 15:35 < ckotil> yes. 15:35 <+MrHairgrease> you still have to build stsus pages and stuff 15:36 < knowmad> can a state have custom fields? 15:36 < knowmad> i've really got to dig into the POD 15:36 <+MrHairgrease> using webgui's system just saves you a whole lot of work in implementing teh workflow 15:36 <+MrHairgrease> what do you mean with custom fiedl? 15:36 < knowmad> say i have a workflow with 20 states 15:36 <+MrHairgrease> no 15:36 < knowmad> maybe 10 of those are performed by user a and 10 by user b 15:37 <+MrHairgrease> states are the state of the activity 15:37 < knowmad> so i'd have 20 activities inside the workflow 15:37 <+MrHairgrease> you prolly mean if activities can store their own properties right? 15:37 < knowmad> here's where the terminology gets whacky to me 15:37 < knowmad> a workflow is a collection of activities but the activities are perl scripts called workflows (or are in the Workflow folder) 15:38 <+MrHairgrease> the state of an activity tell spectre what to do next 15:38 < knowmad> s/folder/namespace/ 15:38 <+MrHairgrease> no 15:38 < knowmad> so an activity can have custom fields and we could assign a user id to the custom field 15:38 <+MrHairgrease> activities are in webgui::workflow::activity 15:38 < knowmad> oh 15:38 <+MrHairgrease> yeah 15:38 <+MrHairgrease> but 15:39 <+MrHairgrease> only if the activity type is WebGUI::User 15:39 <+MrHairgrease> activities are being passed an object 15:39 <+MrHairgrease> which defines their type 15:39 < knowmad> yeah, that never made much sense to me 15:39 <+MrHairgrease> anyway, check out the WebGUI/Workflow/Activity directory 15:39 <+MrHairgrease> an the acivities in ther 15:39 <+MrHairgrease> e 15:39 < knowmad> yes, i see now 15:40 <+MrHairgrease> i wrote a bunch of activities to do all kinds of stuff 15:40 < knowmad> so if the activity type is WebGUI::User then I can assign an owner to the activity? 15:40 < knowmad> yeah, i can see that 15:40 <+MrHairgrease> no 15:40 <+MrHairgrease> i'm not sure if yo can do that 15:40 < knowmad> i think we need to do an Acme talk on Workflow this year at the WUC 15:40 <+MrHairgrease> it's the object that is passed to the activity 15:40 < knowmad> oh, so i'd still need a custom field 15:41 <+MrHairgrease> acme on workflow? 15:41 < knowmad> really all i need to do is track who is assigned to do the task 15:41 <+MrHairgrease> that talk will take some time to demonstrate 15:41 <+MrHairgrease> you can have as much custom fields as you like 15:41 < knowmad> there's probably some crazy stuff you could do with workflows 15:41 <+MrHairgrease> their in the definition method 15:41 < knowmad> and i'm sure you have some you've already done ;) 15:42 <+MrHairgrease> nah 15:42 <+MrHairgrease> i just let em pay my beer tab 15:42 <+MrHairgrease> =) 15:42 < knowmad> see, there's #1 15:42 < knowmad> #2 is to get them to clean up the house 15:42 <+MrHairgrease> oeh 15:43 <+MrHairgrease> that is a good one 15:43 < knowmad> LOL 15:43 < knowmad> these little guys are going to be very useful 15:43 < knowmad> ok, thanks for the chat 15:44 < knowmad> back to the email grindstone 15:44 <+MrHairgrease> ok 15:47 -!- SDuensin [n=Scott@53.sub-75-205-56.myvzw.com] has joined #WebGUI 15:53 < SDuensin> Morning. 15:54 -!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui 16:04 < estiven> Morning 16:04 < estiven> Buenos días.. 16:20 -!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui 16:41 -!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has quit [] 16:42 -!- estiven [n=estiven@static-adsl201-232-86-73.epm.net.co] has quit [Read error: 113 (No route to host)] 16:52 -!- bopbop [n=kmccombs@71-82-214-154.dhcp.mdsn.wi.charter.com] has joined #webgui 16:56 -!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui 16:56 -!- mode/#webgui [+o rizen] by ChanServ 17:00 -!- BartJol [n=plainstu@194.171.50.123] has left #webgui [] 17:03 < CIA-52> WebGUI: jt * r5747 /translations/Dutch/Dutch/ (Asset_Calendar.pm Asset_Photo.pm Asset_Gallery.pm): update_from_translation_server 17:09 -!- dionak [n=diona@97.66.185.250] has joined #webgui 17:25 -!- perlmonkey2 [n=perlmonk@casr-dev.fwsm2ppuser.ou.edu] has joined #webgui 17:46 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui 17:46 -!- mode/#webgui [+o preaction] by ChanServ 17:48 < lisette> hello 17:48 < CIA-52> WebGUI: jt * r5748 /translations/French/French/WebGUI.pm: update_from_translation_server 17:48 < lisette> i have a dblink 17:48 < lisette> and i do a select and i need obtain the first result, how to do? 17:51 <+MrHairgrease> use an sql report 17:51 < lisette> no, i need this in a macro 17:52 < lisette> my $rs = WebGUI::SQL::ResultSet->prepare($query, $dbh); 17:52 < lisette> $rs->execute([parameter]); 17:52 <+MrHairgrease> @result = $dbLink->buildArray('select a, b, c from xyz where foo=?', ['bar']); 17:53 <+MrHairgrease> don't use resultset directly 17:53 <+MrHairgrease> you don't need too. 17:53 < lisette> YYthen it continues? 17:53 < lisette> ok, thanks 17:53 <+MrHairgrease> what do you mean with then it continues? 17:53 < lisette> i don't see you preview messagge 17:54 <+MrHairgrease> ok 17:54 <+MrHairgrease> actuall $session->db is a dblink too 17:54 <+MrHairgrease> to the webgui database 17:54 <+MrHairgrease> so every method you can call on session->db you can call on any dblink 17:59 < lisette> ok 17:59 < lisette> how to access of the first element $result[0] ? 17:59 < lisette> or 1 18:00 <+MrHairgrease> what do you mean with the first result? 18:00 < lisette> yes 18:00 <+MrHairgrease> the first row? 18:00 < lisette> yes 18:01 <+MrHairgrease> the line i pasted returns an array containg the columns you selected. 18:01 <+MrHairgrease> so that method only returns one row 18:02 <+MrHairgrease> if you need only one column from one row you'd best use quickScalar 18:02 < lisette> Then you already got the first result? 18:03 <+MrHairgrease> the method i posted returns the first row returned by your query 18:03 -!- ryuu_ro_ [n=rory@194.171.50.69] has quit [] 18:05 < lisette> thanks 18:08 -!- khenn [n=khenn@24-159-239-186.dhcp.mdsn.wi.charter.com] has joined #WebGUI 18:08 -!- mode/#webgui [+o khenn] by ChanServ 18:09 -!- khenn [n=khenn@24-159-239-186.dhcp.mdsn.wi.charter.com] has left #WebGUI [] 18:17 <@rizen> MrHairgrease what's your progress with payment stuff? 18:17 <@rizen> it ok if it's not anything 18:17 <@rizen> just checking in 18:17 <+MrHairgrease> I'm still where I was last week 18:17 <@rizen> which is? 18:17 <+MrHairgrease> that is: 18:19 <+MrHairgrease> svn status 18:19 <+MrHairgrease> ? t/Shop/PayDriver.t 18:19 <+MrHairgrease> ? t/Shop/Pay.t 18:19 <+MrHairgrease> ? lib/WebGUI/Shop/PayDriver.pm 18:19 <+MrHairgrease> which are all pretty much finished 18:19 <@rizen> how come i don't see any of those in svn? 18:19 <+MrHairgrease> b/c I haven't tested them yet 18:19 <+MrHairgrease> I cannot reaaly test em w/o a payment plugin 18:20 <+MrHairgrease> which will be Cash 18:20 <+MrHairgrease> since that will be the most simple 18:20 <@rizen> ok since you are as far as you are, i have a question for you 18:21 <@rizen> do you think it would make more sense that WebGUI::Shop::Pay->new created a WebGUI::Shop::Pay object and that we created WebGUI::Shop::Pay->getShipper to create an instance of a shipper? 18:21 <@rizen> cuz i'm thinking for consistency sake that it would make more sense that way 18:22 <+MrHairgrease> Think so\ 18:22 <+MrHairgrease> but wasn't it meant to be like this anyway? 18:22 <@rizen> if you look at WebGUI::Shop::Ship in svn Pay was meant to be designed the same way as it is now 18:23 <@rizen> but i'm thinking about changing it so it has a real constructor rather than making all the methods be class methods 18:23 <+MrHairgrease> let me check 18:23 <@rizen> that was you don't have to pass session around all over the place 18:23 <+MrHairgrease> hang on 18:24 <+MrHairgrease> oh i see 18:24 <+MrHairgrease> there's no getShipper yet 18:24 <@rizen> right 18:24 <+MrHairgrease> just getSHippers 18:24 <@rizen> because new() does that 18:24 <@rizen> new is getShipper() right now 18:25 <@rizen> but i'm thinking that new should be the constructor for WebGUI::Shop::Ship rather than acting as getShpper() 18:25 <@rizen> and then there should be a getShipper() method 18:25 <+MrHairgrease> yes 18:25 <+MrHairgrease> I agree 18:25 <+MrHairgrease> b/c I thought it would work differently =) 18:25 <@rizen> ok i'll write WebGUI::Shop::Pay for you too then because it is just a copy of Ship 18:25 <@rizen> with some minor mods 18:26 <+MrHairgrease> ok 18:26 <+MrHairgrease> I was to work on it all day today, but the project I was working had a whole day of loose ends to tie up 18:27 < CIA-52> WebGUI: jt * r5749 /translations/French/French/Invite.pm: update_from_translation_server 18:27 <@rizen> understood, it happens to me all the time 18:27 <@rizen> =) 18:27 <+MrHairgrease> I'll try to do the Cash driver this weekend 18:27 <+MrHairgrease> cannot promise that though 18:27 <@rizen> ok 18:27 <+MrHairgrease> last day I returned about 23.45 from th euniversity 18:28 <+MrHairgrease> so I really like some time off in the weekends =) 18:28 <+MrHairgrease> coding is fun however 18:28 <+MrHairgrease> so we'll see 18:28 <@rizen> also understood 18:29 -!- BartJol [n=plainstu@194.171.50.123] has joined #webgui 18:36 -!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has quit ["Leaving."] 18:39 -!- BartJol [n=plainstu@194.171.50.123] has left #webgui [] 18:47 < CIA-52> WebGUI: graham * r5750 /WebGUI/ (4 files in 4 dirs): preparing for 7.5.6 dev 18:47 < CIA-52> WebGUI: graham * r5751 /WebGUI/ (6 files in 5 dirs): added i18n for calendar 18:47 < CIA-52> WebGUI: graham * r5752 /WebGUI/ (docs/changelog/7.x.x.txt lib/WebGUI/AssetExportHtml.pm): fixed: exporting as HTML leaks sessions for inaccessible assets 18:47 < CIA-52> WebGUI: graham * r5753 /WebGUI/ (7 files in 4 dirs): new datepicker 18:54 -!- MrHairgrease [n=martin@194.171.50.69] has left #webgui [] 19:30 < CIA-52> WebGUI: jt * r5754 /branch/WebGUI_Commerce/lib/WebGUI/ (5 files in 2 dirs): shipping is closer 19:45 < lisette> hello 20:09 -!- bopbop [n=kmccombs@71-82-214-154.dhcp.mdsn.wi.charter.com] has quit [] 20:15 < CIA-52> WebGUI: graham * r5755 /WebGUI/ (4 files in 4 dirs): Use UTF8 for database connection when connecting to MySQL 20:31 < ckotil> anyone know how to mod_rewrite a cgi script w/ paremeters? nothing fancy i just want to redirect to a static page for a certain set of paremters. 20:36 < knowmad> have you checked the mod_rewrite cookbook? 20:37 < knowmad> http://rewrite.drbacchus.com/ 20:41 < ckotil> yeah. i just figured it out. QUERY_STRING pulls in the parameters 20:41 < ckotil> REQUEST_URI doesnt seem to. 20:41 < knowmad> please post it to the wiki 20:41 < knowmad> i just setup a page for this kind of stuff yesterday 20:42 < ckotil> RewriteCond %{QUERY_STRING} ^viewname=manlan-interfaces(.*) 20:42 < ckotil> RewriteRule ^/i2net/show-view-graphs.cgi /manlan/ [R] 20:42 < knowmad> hold on and i'll give you the link 20:42 < ckotil> thats what i had to do basically. 20:42 < ckotil> you think this would apply to your wiki entry? 20:43 < knowmad> http://www.webgui.org/community-wiki/customizing-wre-configuration 20:43 < knowmad> yes 20:49 < ckotil> hrmm 20:49 < ckotil> ill try to relate it to webgui. 20:51 < knowmad> yeah, i see your point 20:51 < knowmad> are you trying to take over the function of an old cgi script? 20:51 < knowmad> that could be a good angle for your entry 21:11 -!- perlmonkey2 [n=perlmonk@casr-dev.fwsm2ppuser.ou.edu] has quit ["Leaving."] 21:17 < CIA-52> WebGUI: graham * r5756 /WebGUI/ (3 files in 3 dirs): fixed: changing image thumbnail size doesn't resize image 21:20 < ckotil> yeah, i like it. 21:35 < CIA-52> WebGUI: graham * r5757 /WebGUI/ (docs/changelog/7.x.x.txt lib/WebGUI/Config.pm): fixed: loadAllConfigs loads hidden files 21:35 < CIA-52> WebGUI: graham * r5758 /modules/Config-JSON/lib/Config/JSON.pm: croak with parse error instead of die 22:17 < CIA-52> WebGUI: jt * r5759 /translations/Polish/Polish/WebGUI.pm: update_from_translation_server 22:17 < CIA-52> WebGUI: graham * r5760 /WebGUI/ (2 files in 2 dirs): ensure proper XML for ITransact messages 22:19 < lisette> i can do a buildArray with WebGUI::DatabaseLink? 22:22 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui 22:22 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [Remote closed the connection] 22:23 <@rizen> you can do anything in WebGUI::SQL with a db link 22:23 < lisette> but i have a another database 22:24 < lisette> no wengui 22:24 < lisette> webgui 22:24 <@rizen> doesn't matter 22:25 <@rizen> if you have a database link you can do anything in WebGUI::SQL 22:25 <@rizen> buildArray quickHash, anything 22:28 -!- jdan [n=jdan@xdsl-461.lubin.dialog.net.pl] has quit ["Leaving"] 22:34 < CIA-52> WebGUI: jt * r5761 /branch/WebGUI_Commerce/ (3 files in 3 dirs): added payment manager 22:46 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui 23:02 < CIA-52> WebGUI: graham * r5762 /wrebuild/ (build.sh wre/lib/WRE/Config.pm): include drive letter for getRoot on windows 23:04 -!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI 23:04 < elnino> hello. 23:05 < elnino> totally different discussionfrom last nights. BTW, wierdness is gone. 23:07 < elnino> I see in 7.4.26 that we can put extra parameters in the db connection definition, and since the up grade, one of my queries no longer returns anything. I suspect its because of the LongReadLen issue. So I'm assuming that by adding this capability of adding db parameters, you had remove some ones that you had in the code. What were they so I can define them in this particular db connection so that it will work again? This db is notorias 23:07 < elnino> for long fields, and perl keeps truncating the data. 23:14 < elnino> Only reason i'm looking at the LongReadLen, because I bumped into this before in one of my modules and had to do convoluted things to my sql to return "short enough" data for the perl:dbi to work. The query I'm using now, is a sql report that I didn't have to modify before and it uses the db connection defined within webgui (where as my module didn't) hope that makes sense. 23:21 < CIA-52> WebGUI: graham * r5763 /WebGUI/ (docs/changelog/7.x.x.txt lib/WebGUI/Keyword.pm): fixed: fatal error duplicate keywords added to a wiki page 23:28 < ckotil> knowmad: I added that to the wiki. dunno how useful it will be ;) 23:50 -!- SDuensin [n=Scott@53.sub-75-205-56.myvzw.com] has quit ["Leaving"] 23:57 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit ["Leaving"] 23:59 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui 23:59 -!- mode/#webgui [+o preaction] by ChanServ --- Day changed Sat Mar 08 2008 00:03 < CIA-52> WebGUI: graham * r5764 /branch/WebGUI_7.4/ (docs/changelog/7.x.x.txt lib/WebGUI/Asset/Event.pm): related links are now parsed out of related links text area 00:05 <@preaction> lord, you had to fix that? the 7.5 series changes that related links thing completely 00:22 -!- dionak [n=diona@97.66.185.250] has quit [] 00:39 < knowmad> ckotil: it's a start 00:40 < knowmad> i did add a note that the recipe could be useful for cases when replacing cgi scripts with webgui assets 00:44 -!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit [] 01:40 -!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has quit [Read error: 110 (Connection timed out)] 01:49 -!- lisette [n=liraos@static-adsl201-232-86-73.epm.net.co] has quit [Read error: 113 (No route to host)] 02:04 -!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI 02:22 < CIA-52> WebGUI: jt * r5765 /branch/WebGUI_Commerce/lib/WebGUI/ (5 files in 3 dirs): very close to having ship driver management working 02:26 -!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has quit [Read error: 110 (Connection timed out)] 02:34 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [Read error: 113 (No route to host)] 02:46 -!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui 03:06 -!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit [Remote closed the connection] 03:25 -!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI 05:39 -!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI 06:23 -!- elnino_laptop [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI 06:24 -!- elnino_laptop [n=elnino@user-38q49cv.cable.mindspring.com] has quit [Read error: 104 (Connection reset by peer)] 06:41 -!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has quit [Read error: 110 (Connection timed out)] 07:07 -!- preaction_ [n=doug@static-72-1-4-143.ntd.net] has joined #webgui 07:07 -!- mode/#webgui [+o preaction_] by ChanServ 07:24 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)] 11:54 -!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has quit [Read error: 110 (Connection timed out)] 16:48 -!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI 17:16 -!- knowmad [n=william@97.66.185.250] has quit ["Leaving."] 17:54 -!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui 18:35 -!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has quit [Read error: 110 (Connection timed out)] 18:48 -!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has joined #webgui 18:48 -!- mode/#webgui [+v MrHairgrease] by ChanServ 19:33 < CIA-52> WebGUI: frank * r5766 /WebGUI/ (4 files in 4 dirs): Added feature to allow users to determine whether new / unplaced assets are added to the top or bottom of the first content position of Layouts. 23:56 < CIA-52> WebGUI: jt * r5767 /translations/French/French/Asset_Survey.pm: update_from_translation_server --- Day changed Sun Mar 09 2008 00:03 -!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui 01:04 -!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has left #webgui [] 02:52 -!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has quit [] 04:27 -!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has quit ["Windows doesn't have users, it has hostages."] 04:28 -!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has joined #webgui 04:28 -!- mode/#webgui [+v Radix_] by ChanServ 04:32 -!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has quit [Client Quit] 04:32 -!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has joined #webgui 04:32 -!- mode/#webgui [+v Radix_] by ChanServ 04:50 -!- preaction_ [n=doug@static-72-1-4-143.ntd.net] has quit [Connection timed out] 06:51 < CIA-52> WebGUI: colin * r5768 /branch/WebGUI_Commerce/t/Shop/ShipDriver.t: 06:51 < CIA-52> WebGUI: Fix failing Shop/ShipDriver.t tests. If the definition sub, fields was 06:51 < CIA-52> WebGUI: changed to properties, and getName is now a class method that requires 06:51 < CIA-52> WebGUI: a session variable. 06:51 < CIA-52> WebGUI: colin * r5769 /branch/WebGUI_Commerce/t/Shop/ShipDriver/FlatRate.t: fix the same failing issues in ShipDriver in FlatRate 07:31 < CIA-52> WebGUI: colin * r5770 /branch/WebGUI_Commerce/t/Shop/Ship.t: fix almost all the failing Ship tests 07:31 < CIA-52> WebGUI: colin * r5771 /branch/WebGUI_Commerce/lib/WebGUI/Shop/ (ShipDriver.pm Ship.pm): 07:31 < CIA-52> WebGUI: Tweak a little POD. 07:31 < CIA-52> WebGUI: Fix a bad exception message. 07:41 -!- perlDreamer [n=colink@65.203.133.169] has joined #webgui 07:41 -!- mode/#webgui [+v perlDreamer] by ChanServ 07:42 -!- perlDreamer [n=colink@65.203.133.169] has quit [Client Quit] 13:08 -!- preaction_ [n=doug@static-72-1-4-143.ntd.net] has joined #webgui 13:08 -!- mode/#webgui [+o preaction_] by ChanServ 13:33 -!- preaction_ [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 113 (No route to host)] 15:35 -!- BartJol [n=plainstu@54-167.surfsnel.dsl.internl.net] has joined #webgui 15:57 -!- BartJol [n=plainstu@54-167.surfsnel.dsl.internl.net] has left #webgui [] 17:12 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui 17:52 -!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui 18:47 < CIA-52> WebGUI: jt * r5772 /translations/French/French/Asset_Poll.pm: update_from_translation_server 19:34 -!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: @Haarg, perlbot, ckotil, dionak, CIA-52, steveo_aa, nuba, SDuensin, GooeyOfSteel, diakopter, (+3 more, use /NETSPLIT to show all of them) 20:01 -!- Netsplit over, joins: @Haarg, dionak, perlmonkey2, +Radix_, SDuensin, ckotil, diakopter, nuba, perlbot, CIA-52 (+3 more) 20:20 -!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: @Haarg, perlbot, ckotil, dionak, CIA-52, steveo_aa, nuba, SDuensin, GooeyOfSteel, diakopter, (+3 more, use /NETSPLIT to show all of them) 20:28 -!- Netsplit over, joins: @Haarg, dionak, +Radix_, SDuensin, ckotil, diakopter, GooeyOfSteel, steveo_aa, @apeiron, CIA-52 (+2 more) 20:31 < CIA-52> WebGUI: jt * r5773 /translations/French/French/ (Asset_Survey.pm Asset_File.pm): update_from_translation_server 20:31 < CIA-52> WebGUI: jt * r5774 /translations/French/notes.txt: update_from_translation_server 21:29 -!- nuba [n=nuba@hq.imaterial.org] has quit ["Reconnecting"] 21:29 -!- nuba [n=nuba@hq.imaterial.org] has joined #webgui 21:47 -!- preaction_ [n=doug@static-72-1-4-143.ntd.net] has joined #webgui 21:47 -!- mode/#webgui [+o preaction_] by ChanServ 22:27 -!- preaction_ [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)] 23:11 -!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has quit [] --- Day changed Mon Mar 10 2008 01:20 -!- preaction_ [n=doug@static-72-1-4-143.ntd.net] has joined #webgui 01:20 -!- mode/#webgui [+o preaction_] by ChanServ 01:44 -!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui 01:44 -!- mode/#webgui [+v Radix-wrk] by ChanServ 04:43 -!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has quit ["Leaving"] 04:50 -!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI 06:50 < CIA-52> WebGUI: colin * r5775 /branch/WebGUI_Commerce/lib/WebGUI/SQL.pm: More POD for SQL, read method 06:50 < CIA-52> WebGUI: colin * r5776 /branch/WebGUI_Commerce/lib/WebGUI/SQL/ResultSet.pm: more POD for SQL::Result, documenting what read does 06:50 < CIA-52> WebGUI: colin * r5777 /branch/WebGUI_Commerce/ (3 files in 3 dirs): 06:50 < CIA-52> WebGUI: Add i18n for Tax, for the UI. 06:50 < CIA-52> WebGUI: Begin to flesh out the DataTable JS for www_view. Add a method to slurp all the 06:50 < CIA-52> WebGUI: tax data out of the db at once. 06:50 < CIA-52> WebGUI: Add a test for the slurp method, and stop using the private sub that used to 06:50 < CIA-52> WebGUI: do it in the tests. 07:04 -!- Haarg [n=haarg@24-177-119-178.dhcp.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"] 07:21 -!- cntry [n=Lucky@74-36-44-233.br1.shlw.az.frontiernet.net] has joined #webgui 07:22 -!- cntry [n=Lucky@74-36-44-233.br1.shlw.az.frontiernet.net] has quit [Client Quit] 07:24 -!- cntry [n=Lucky@74-36-44-233.br1.shlw.az.frontiernet.net] has joined #webgui 07:26 < cntry> Is webgui based on php? 07:27 <+Radix-wrk> no 07:27 <+Radix-wrk> webgui is written in perl 07:28 < cntry> thanks' 07:30 < cntry> Have a site up since 01 using postnuke, but it now getting slammed by hackers, so thought I would give this a try. 07:31 <@apeiron> cntry, I'd say to try a demo first: demo.plainblack.com 07:31 < cntry> just started one, will work on it tomorrow and see how it works. 07:32 <@apeiron> You may want to create another one tomorrow. They last 24 hours. 07:33 <@apeiron> If you want to try it out on your machines for longer than that, by far the easiest route would be to use the WRE (WebGUI Runtime Environment) if you're on a supported platform. Comes with everything you need to run WebGUI all in one archive. 07:36 <+Radix-wrk> or heck, use the vmware image 07:36 <+Radix-wrk> easy backup and restore then with vmware server 07:37 <@apeiron> Hmm, true. Good point. 07:37 < cntry> I dont have a linux server setup at home right now. 07:37 <+Radix-wrk> vmware server is free for windows 07:37 < cntry> It will be going on a redhat 5 server if I decide to use it 07:37 <@preaction_> WRE has a windows build too 07:37 <@apeiron> And Mac. 07:38 <@preaction_> freebsd and openbsd too 07:38 <@apeiron> And the PB developers by and large develop using the WRE on Mac, so you can be pretty sure the WRE works. :) 07:38 <@preaction_> though the open one is old since i can't get the 0.8.3 WRe to compile 07:38 <@apeiron> preaction_, Got an error log? 07:38 <@preaction_> not anymore. i think the box itself is dying. lots of spontaneous reboots 07:39 <@preaction_> but nothing in dmesg, so i'm thinking power supply 07:39 <@apeiron> hrm. I'll take a look at it in VMWare. 07:39 <@preaction_> but it's late and tomorrow's monday, so i'm going to get some sleep 07:39 <@apeiron> heh, g'night sir. 07:39 <+Radix-wrk> nite 07:40 <@preaction_> i know you at least need the latest OpenSSL in order to get the WRE to compile 07:40 < cntry> So to run on linux server I will have to install WRE? 07:40 <@preaction_> cntry, no 07:40 <@apeiron> cntry, You don't *have* to. 07:40 <@preaction_> but it's just so much easier 07:40 <+Radix-wrk> it IS the easiest way to install webgui tho 07:40 <@apeiron> cntry, WRE is "download tarball. Extract tarball. Read install.txt. Follow step by step instructions. go." 07:41 < cntry> ok Ill look at it in the morning 07:41 <@apeiron> cntry, Trust me, you'll spend more time downloading the tarball than you will reading the install.txt. :) 07:41 < cntry> cool 07:42 <@apeiron> cntry, By the way, which Linux will this be on? 07:42 < cntry> my host shouldn't have a problem with WRE install? 07:42 <@apeiron> hmm. 07:42 < cntry> Redhat 5 I believe 07:42 <@apeiron> RH EL 5? 07:42 < cntry> yeah 07:43 <@apeiron> Yeah, there's a tarball for the latest WRE. 07:43 <@apeiron> As for your host, well, hmm. 07:43 <+Radix-wrk> you got root on that box? 07:43 <@apeiron> The WRE comes with everything you need, including An apache setup that's fine-tuned to work well for WebGUI. 07:44 <@apeiron> So yeah, it works best if you have root privs. 07:44 <@apeiron> However, if you're just doing postnuke on that host, PB does WebGUI hosting. 07:44 < cntry> don't believe so, is a virtual host with cpanel etc. 07:45 <+Radix-wrk> virtual private server account? or just another user on a big machine with lots of other users? 07:45 < cntry> will email them in the morning and ask 07:45 <+Radix-wrk> if the latter, then you're going to have a much harder time installing it 07:46 <+Radix-wrk> I have a cheap $15/month vps account I run webgui on myself 07:46 < cntry> Just another user, have a reseller account can add domains and users, but I am one of many 07:48 < cntry> http://www.networkredux.com/reseller.html 07:49 <+Radix-wrk> Don't think you'll be able to run webgui on that kind of account imho 07:50 <+Radix-wrk> It may be possible.. I don't know 07:50 <@apeiron> It'd be messy setting up WebGUI's Apache to play nicely with the httpd they're running. 07:51 <@apeiron> Not to mention database stuff. 07:52 <+Radix-wrk> well.. database side of things is fairly standard mysql - but apache config is definitely custom and requires root lvl privs 07:52 <+Radix-wrk> perl stuff you can workaround using same method as wre 07:56 < cntry> Sent off an email top see what they say, will know by morning. 07:57 <+Radix-wrk> Good Luck :) 07:58 < cntry> How tough is the layout or templates?? 07:58 <+Radix-wrk> there's an excellent wiki article that guides you through creating your first page layout 07:59 <+Radix-wrk> templates aren't that hard either, but you need to know your html/css to get the best results 07:59 <@apeiron> cntry, It works *kind of* like PHP except that the templates contain spots where you include values determined in the Perl code, rather than code and variables mixed. 07:59 <+Radix-wrk> you don't have to know a scrap of code to be able to work with webgui tho 07:59 <@apeiron> cntry, So you'd have something like: Hello ! 07:59 < cntry> Here is the site I am going to swap to gui would like to keep the layout http://www.123az.com/rideaz/ 07:59 <@apeiron> And it'd take the value of user.name defined in the Perl and put it there in the output. 08:00 <@apeiron> cntry, WebGUI is really, really flexible in terms of templates. You can customise so much of how it does things. 08:01 <@apeiron> cntry, I'm glad to see the current site is using XHTML, as WebGUI does as well. 08:01 < cntry> cool, just going to have to learn pearl I guess, not much of a coder 08:01 <@apeiron> Depends upon what you need to do. 08:01 <+Radix-wrk> you shouldn't need to learn perl imho 08:01 < cntry> cool 08:01 <+Radix-wrk> that's the beauty of webgui 08:01 <@apeiron> As Radix-wrk said, you don't need to know perl to change how a site looks. 08:02 <+Radix-wrk> almost everything is templates and fully customisable 08:02 <+Radix-wrk> you design a template once.. reuse everywhere you want 08:02 <@apeiron> hmmmm 08:03 < cntry> can use dreamweaver for a lot of it then? 08:04 <+Radix-wrk> there's a built in html editor that will help you.. but yeah, advanced layout is best done in something like dreamweaver, etc 08:04 <@apeiron> cntry, You may want to take a look at cmsmatrix.org and compare some products there. 08:05 < cntry> just bought cs3 web premium so should have all I need except talent....... 08:06 <@apeiron> cntry, WebGUI has versioning just like Postnuke (according to cmsmatrix) so you can rollback an ugly design or two. :) 08:09 < cntry> Thanks for all the info, will see what I can come up with in the morning and probably be back for more advise. 08:10 < cntry> Night all or good afternoon as the case might be............ 08:10 <@apeiron> Early morning for me... 08:10 * apeiron coughs. 08:11 <+Radix-wrk> afternoon here :) 08:11 -!- cntry [n=Lucky@74-36-44-233.br1.shlw.az.frontiernet.net] has quit ["Holy Crap, what did that button do??"] 08:13 -!- Haarg [n=haarg@24-177-119-178.dhcp.mdsn.wi.charter.com] has joined #webgui 08:13 -!- mode/#webgui [+o Haarg] by ChanServ 08:31 -!- Radix-wrk [n=Jesse@203.161.68.67] has quit [Read error: 104 (Connection reset by peer)] 08:34 -!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui 08:34 -!- mode/#webgui [+v Radix-wrk] by ChanServ 08:37 -!- Radix-wrk [n=Jesse@203.161.68.67] has quit [Read error: 104 (Connection reset by peer)] 08:43 -!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui 08:43 -!- mode/#webgui [+v Radix-wrk] by ChanServ 08:45 -!- ryuu_ro [n=rory@194.171.50.69] has joined #webgui 09:49 -!- Radix-wrk [n=Jesse@203.161.68.67] has quit ["Leaving"] 09:58 -!- AMH_bo1 [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui 10:18 -!- BartJol [n=plainstu@194.171.50.123] has joined #webgui 10:52 -!- jdan [n=jdan@xdsl-461.lubin.dialog.net.pl] has joined #webgui 11:05 < jdan> Does anybody know anything about gorupId=2? I am reading modules which manipulate messages. And found return $session->privilege->insufficient() unless ($session->user->isInGoroup(2)); 11:06 < jdan> The problem is there is no groupeId 2 in my database 11:06 <+Radix_> Hmm.. 1 is visitor 11:06 <+Radix_> 3 is admin 11:06 <+Radix_> no idea what 2 is 11:08 < jdan> So look at /WebGUI/Operation/Inbox.pm 11:09 < jdan> Every finctions begin someting "return $session->privilege->insufficient() unless ($session->user->isInGoroup(2)); " 11:09 <+Radix_> I'd have to suggest you wait until preaction/Haarg or one of the PB guys can help 11:10 < jdan> ok, thx 11:14 < jdan> I found. In module WebGUI/User.pm there is function isGroup. In it's code there is condition: return 1 if ($gid eq '2' && $uid ne '1'); # if you're not a visitor, then you're a registered user 11:14 < jdan> So 2 means registered user 11:21 <+Radix_> cool... mystery explained :) 11:56 -!- BartJol [n=plainstu@194.171.50.123] has quit ["Leaving."] 12:20 -!- ryuu_ro [n=rory@194.171.50.69] has quit [Read error: 104 (Connection reset by peer)] 12:20 -!- ryuu_ro [n=rory@194.171.50.69] has joined #webgui 13:02 -!- preaction_ [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)] 13:05 -!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has quit ["Leaving"] 14:06 < CIA-52> WebGUI: jt * r5778 /translations/French/French/WebGUI.pm: update_from_translation_server 14:12 -!- BartJol [n=plainstu@194.171.50.69] has joined #webgui 14:51 -!- SDuensin [n=Scott@240.sub-75-206-117.myvzw.com] has joined #WebGUI 14:52 < SDuensin> Morning. 15:24 < BartJol> morning 15:33 < AMH_bo1> Morning! 15:51 -!- Haarg [n=haarg@24-177-119-178.dhcp.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"] 16:05 -!- AMH_henry [n=henry@alphamega-dmp.xs4all.nl] has joined #webgui 16:09 -!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui 16:09 -!- mode/#webgui [+o Haarg] by ChanServ 16:09 -!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui 16:09 -!- mode/#webgui [+o rizen] by ChanServ 16:52 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui 16:55 -!- preaction_ [n=doug@static-72-1-4-143.ntd.net] has joined #webgui 16:55 -!- mode/#webgui [+o preaction_] by ChanServ 17:17 -!- AMH_henry [n=henry@alphamega-dmp.xs4all.nl] has left #webgui [] 17:19 < CIA-52> WebGUI: graham * r5779 /WebGUI/docs/ (2 files in 2 dirs): fixed: event related links may not work with some group names 17:20 -!- lisette [n=liraos@static-adsl201-232-86-73.epm.net.co] has joined #webgui 17:26 -!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has quit [Read error: 104 (Connection reset by peer)] 17:26 -!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has joined #webgui 17:26 -!- mode/#webgui [+v Radix_] by ChanServ 17:36 -!- ryuu_ro [n=rory@194.171.50.69] has quit [] 17:43 -!- bopbop [n=kmccombs@71-82-214-154.dhcp.mdsn.wi.charter.com] has joined #webgui 17:50 -!- AMH_henry [n=henry@alphamega-dmp.xs4all.nl] has joined #webgui 17:52 < jdan> I need mail system for organizing procedural communcations at www service, where each message have special, non printed data. These data can be parsed by some operatins and wobject functions. I plane hidding default Inbox operations and make new wobject for writing and reading messages. The question is, for what else, besides user communications, is needed standard Inbox? Can I adept reader's behaviour? 17:55 <@preaction_> user communications, approval messages, but if the user has a configured email address they get emailed anything that goes in their inbox 17:55 < jdan> Sory, Can I adapt ... 17:56 -!- BartJo1 [n=plainstu@194.171.50.123] has joined #webgui 17:57 < jdan> I read at package WebGUI::Inbox that it is for workflow 17:57 < jdan> So I don't know what I can block 17:57 <@preaction_> approval messages, yes 17:58 <@preaction_> but again, anything put in the Inbox is emailed to the user (if they have a valid email address in their profile) 17:58 < jdan> ok, understnd. better I make additinaly servce 18:00 < jdan> And second question, when and where WebGUI sneds email? Immediately after sending message or in background (spectre ...)? 18:00 <@rizen> you can choose 18:00 <@rizen> my $mail = WebGUI::Mail::Send->new 18:01 <@rizen> $mail->queue 18:01 <@rizen> $mail->send 18:01 < jdan> thanks 18:04 -!- ryuu_ro [n=rory@c529ce350.cable.wanadoo.nl] has joined #webgui 18:04 -!- khenn_ [n=khenn@24-159-239-186.dhcp.mdsn.wi.charter.com] has joined #WebGUI 18:05 -!- AMH_bo1 [n=bob@alphamega-dmp.xs4all.nl] has quit ["Leaving."] 18:07 -!- BartJol [n=plainstu@194.171.50.69] has quit [Read error: 110 (Connection timed out)] 18:09 -!- dionak [n=diona@97.66.185.250] has joined #webgui 18:16 -!- jdan [n=jdan@xdsl-461.lubin.dialog.net.pl] has quit ["Leaving"] 18:28 -!- AMH_henry [n=henry@alphamega-dmp.xs4all.nl] has left #webgui [] 18:35 < dionak> i'm trying to put together an idea on how to process a file upload and decide if this can be done via a workflow. We have a form created with a file upload field. We want to call an import script, with post parameters, to process the uploaded file upon post. A collaboration system is attractive because we could track file versions. Does this sound like a reasonable solution? 18:36 < dionak> The idea is to create a Work Queue based on the imported records. 18:38 <@preaction_> a normal File asset keeps track of versions too. you could subclass the file asset to do the processing you want on the commit() sub 18:39 < dionak> How could that work with the form? There is extra meta-data in addition to the file. 18:39 <@preaction_> add it to the asset properties 18:42 < dionak> Can this solution be made to look like a normal web form by placing the asset on the page with the Style template applied? Trying to visualize... 18:43 <@preaction_> of course 18:43 <@preaction_> override www_edit to show getEditForm within a style template 18:43 < dionak> excellent! thanks doug! You've just saved me a lot of time. i'll start looking into this. 18:44 < dionak> It makes a lot of sense. 18:44 < dionak> Do I need to create a new table for the subclass? 18:44 <@preaction_> yep 18:44 < dionak> k, thanks again. 18:45 <@preaction_> there should be a tutorial on the wiki for creating assets. otherwise you'll have wait for the dev guide 18:48 < dionak> i'll check out the tutorial. 18:48 < dionak> i've created an asset before (once) but it's been a while. 18:53 < CIA-52> WebGUI: jt * r5780 /translations/French/French/Asset_Survey.pm: update_from_translation_server 18:57 -!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit [] 19:06 -!- BartJo1 [n=plainstu@194.171.50.123] has left #webgui [] 19:21 < lisette> hello 19:21 < lisette> how to init a session with another user in a macro? 19:28 <@preaction_> WebGUI::Session->new( $userId ) ; i think 19:28 -!- ryuu_ro [n=rory@c529ce350.cable.wanadoo.nl] has quit [] 19:34 < lisette> thanks 19:36 < CIA-52> WebGUI: jt * r5781 /translations/French/French/Asset_Survey.pm: update_from_translation_server 19:43 -!- chiggsy [n=chiggsy@lcc.wbb.net.cable.rogers.com] has joined #webgui 20:11 -!- MrHairgrease [n=martin@wlan-145-94-219-181.wlan.tudelft.nl] has joined #webgui 20:11 -!- mode/#webgui [+v MrHairgrease] by ChanServ 20:12 -!- bopbop [n=kmccombs@71-82-214-154.dhcp.mdsn.wi.charter.com] has quit [] 20:13 < perlmonkey2> dear lord YUI adds a lot of code for each little widget you add in. This stuff just builds up until you have 4,000,000 lines of code and 3 widgets on the screen. 20:14 * perlmonkey2 isn't even exaggerating. 20:16 < perlmonkey2> quiet today. 20:16 < perlmonkey2> oh...lunch time 20:47 -!- ascii [n=ascii@host-64-139-233-19.nctv.com] has quit [Read error: 110 (Connection timed out)] 20:53 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."] 20:54 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui 21:56 -!- jua1 [n=juangui@static-adsl201-232-86-73.epm.net.co] has joined #webgui 21:56 < jua1> hello 22:00 < jua1> i want to create some fields and show them at registration. the thing is that i want to create a field like a select list where the users have four answers, if the users anwser threeof them i ahve to show an additional two fields, but if the user check the four option i will not show the additional fields 22:00 < jua1> is it posible? 22:06 <@preaction_> yes 22:15 < jua1> how? 22:16 <@preaction_> make a new form control to handle it 22:29 < jua1> ah 22:54 -!- SDuensin [n=Scott@240.sub-75-206-117.myvzw.com] has quit ["Leaving"] 22:58 < CIA-52> WebGUI: jt * r5782 /translations/French/French/Asset_Survey.pm: update_from_translation_server --- Day changed Tue Mar 11 2008 00:07 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."] 00:07 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui 00:13 -!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: perlbot, chiggsy, @apeiron 00:14 -!- Netsplit over, joins: @apeiron, chiggsy, perlbot 00:23 -!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"] 00:29 < CIA-52> WebGUI: graham * r5783 /WebGUI/ (docs/changelog/7.x.x.txt lib/WebGUI/Asset/Event.pm): fixed: events get start/end time even when none specified (also can offset start/end day 00:29 < CIA-52> WebGUI: graham * r5784 /branch/WebGUI_7.4/lib/WebGUI/Asset/Event.pm: document related links regex 00:34 -!- dionak [n=diona@97.66.185.250] has quit [] 00:39 -!- patspam [n=chatzill@ppp59-167-82-131.lns2.mel6.internode.on.net] has joined #webgui 00:52 -!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI 00:56 -!- jua1 [n=juangui@static-adsl201-232-86-73.epm.net.co] has left #webgui [] 00:59 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["switching machines"] 01:00 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui 01:01 -!- MrHairgrease [n=martin@wlan-145-94-219-181.wlan.tudelft.nl] has left #webgui [] 01:22 -!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui 01:22 -!- mode/#webgui [+v Radix-wrk] by ChanServ 01:26 -!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui 01:34 -!- cap10morgan [n=cap10mor@h19-afsc.ded.indra.com] has joined #webgui 01:36 < cap10morgan> does the httpproxy wobject make webgui send out a Content-Type header that specifies ISO-8859-1 instead of UTF-8? 01:38 -!- chiggsy [n=chiggsy@lcc.wbb.net.cable.rogers.com] has quit [] 01:38 < cap10morgan> i have a site where most pages specify utf-8 as their charset, except for a page where i have httpproxy wobject 01:38 < cap10morgan> where it comes out as 8859-1 01:38 < cap10morgan> very weird 01:58 -!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has quit [] 02:41 -!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui 02:41 -!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has left #webgui [] 02:41 -!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui 02:42 < dionak> hey guys... 02:42 < dionak> are you guys still working? 02:43 < dionak> not sure if you've seen but we've been releasing WG in our press releases. http://charlotte.dbusinessnews.com/shownews.php?newsid=152693&type_news=past 02:44 < dionak> there are others 02:52 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."] 02:52 -!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has quit [] 04:09 -!- cap10morgan [n=cap10mor@h19-afsc.ded.indra.com] has quit [] 04:14 -!- cap10morgan [n=cap10mor@h19-afsc.ded.indra.com] has joined #webgui 04:36 -!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui 04:44 -!- cap10morgan [n=cap10mor@h19-afsc.ded.indra.com] has quit [] 04:46 -!- cap10morgan [n=cap10mor@h19-afsc.ded.indra.com] has joined #webgui 04:51 -!- cap10morgan [n=cap10mor@h19-afsc.ded.indra.com] has quit [] 05:02 -!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: perlbot, @apeiron 05:03 -!- Netsplit over, joins: @apeiron, perlbot 05:05 -!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has quit [Connection reset by peer] 05:05 -!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui 05:05 -!- mode/#webgui [+o apeiron] by ChanServ 05:28 -!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit [Remote closed the connection] 05:42 -!- cap10morgan [n=cap10mor@h19-afsc.ded.indra.com] has joined #webgui 06:14 -!- cap10morgan [n=cap10mor@h19-afsc.ded.indra.com] has quit [] 06:20 -!- cap10morgan [n=cap10mor@h19-afsc.ded.indra.com] has joined #webgui 06:20 -!- cap10morgan [n=cap10mor@h19-afsc.ded.indra.com] has quit [Remote closed the connection] 09:03 -!- ryuu_ro [n=rory@194.171.50.69] has joined #webgui 09:23 -!- preaction_ [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)] 09:47 -!- Radix-wrk [n=Jesse@203.161.68.67] has quit ["Leaving"] 09:58 -!- patspam [n=chatzill@ppp59-167-82-131.lns2.mel6.internode.on.net] has quit ["ChatZilla 0.9.81 [Firefox 2.0.0.12/2008020121]"] 10:22 -!- jdan [n=jdan@xdsl-461.lubin.dialog.net.pl] has joined #webgui 10:48 -!- jdanpl [n=jdan@xdsl-461.lubin.dialog.net.pl] has joined #webgui 11:05 -!- Haarg [n=haarg@24-177-119-178.dhcp.mdsn.wi.charter.com] has joined #webgui 11:05 -!- mode/#webgui [+o Haarg] by ChanServ 11:05 -!- jdan [n=jdan@xdsl-461.lubin.dialog.net.pl] has quit [Read error: 110 (Connection timed out)] 11:20 -!- Haarg [n=haarg@24-177-119-178.dhcp.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"] 11:37 -!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui 11:59 -!- BartJol [n=plainstu@194.171.50.123] has joined #webgui 12:21 -!- BartJol [n=plainstu@194.171.50.123] has quit [Read error: 113 (No route to host)] 12:25 -!- patspam [n=chatzill@ppp59-167-82-131.lns2.mel6.internode.on.net] has joined #webgui 12:36 -!- patspam [n=chatzill@ppp59-167-82-131.lns2.mel6.internode.on.net] has quit ["ChatZilla 0.9.81 [Firefox 2.0.0.12/2008020121]"] 13:18 -!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has quit ["Leaving"] 13:29 -!- patspam [n=chatzill@ppp59-167-82-131.lns2.mel6.internode.on.net] has joined #webgui 13:49 -!- khenn_ [n=khenn@24-159-239-186.dhcp.mdsn.wi.charter.com] has quit [] 14:08 -!- BartJo1 [n=plainstu@194.171.50.69] has joined #webgui 14:19 -!- MrHairgrease [n=martin@194.171.50.69] has joined #webgui 14:19 -!- mode/#webgui [+v MrHairgrease] by ChanServ 14:25 < jdanpl> Does WebGUI library has function to quote replayed message? 14:48 -!- ryuu_ro_ [n=rory@194.171.50.69] has joined #webgui 14:48 -!- ryuu_ro [n=rory@194.171.50.69] has quit [Read error: 104 (Connection reset by peer)] 14:59 -!- ryuu_ro_ [n=rory@194.171.50.69] has quit [] 15:11 -!- SDuensin [n=Scott@3.sub-75-206-190.myvzw.com] has joined #WebGUI 15:23 < SDuensin> Greetings. 15:23 <+MrHairgrease> Greasings! 15:23 < SDuensin> :-) 15:37 -!- jdanpl [n=jdan@xdsl-461.lubin.dialog.net.pl] has quit ["Leaving"] 15:37 -!- jdan [n=jdan@xdsl-461.lubin.dialog.net.pl] has joined #webgui 15:42 -!- jdan [n=jdan@xdsl-461.lubin.dialog.net.pl] has quit [Client Quit] 15:46 -!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui 15:46 -!- mode/#webgui [+o rizen] by ChanServ 15:48 <+MrHairgrease> rizen, is PayDriver->definition meant to be a class method? 15:48 <@rizen> yes 15:49 <+MrHairgrease> ok 15:49 <@rizen> just like assets, workflow activities, and ship drivers 15:49 <+MrHairgrease> ok 15:55 -!- patspam [n=chatzill@ppp59-167-82-131.lns2.mel6.internode.on.net] has quit ["ChatZilla 0.9.81 [Firefox 2.0.0.12/2008020121]"] 16:00 -!- CIA-52 [n=CIA@208.69.182.149] has quit [] 16:06 -!- CIA-21 [n=CIA@208.69.182.149] has joined #WebGUI 16:12 -!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui 16:12 -!- mode/#webgui [+o Haarg] by ChanServ 16:14 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui 16:43 -!- perlmonkey3 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui 16:44 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [Nick collision from services.] 16:44 -!- perlmonkey3 is now known as perlmonkey2 16:53 -!- perlmonkey3 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui 16:53 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [Nick collision from services.] 16:53 -!- perlmonkey3 is now known as perlmonkey2 16:57 -!- perlmonkey3 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui 16:57 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [Nick collision from services.] 16:58 -!- perlmonkey3 is now known as perlmonkey2 17:00 -!- juan [n=juangui@static-adsl201-232-86-73.epm.net.co] has joined #webgui 17:09 < juan> can i create in a survey a question with multiple answer but the user can answer several options too 17:23 -!- lisette [n=liraos@static-adsl201-232-86-73.epm.net.co] has quit ["Leaving."] 17:34 <+MrHairgrease> rizen: quick question 17:35 <+MrHairgrease> in the WG::S:Pay->addPaymentGateway you created you call create via WG::Plug::instanciate with only session and options, while cthe create method reuires you to pass a label as well 17:35 <+MrHairgrease> my question: do you want addPaymentGateway to also require a label? 17:36 <+MrHairgrease> if not, then how should the label be constructed. 17:56 <+MrHairgrease> rizen: other question. In you code you call the table paymentGateway, but I used payment_Gateway in mine (as was in the docs). Which one do you prefer? 18:11 -!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has left #webgui [] 18:19 -!- preaction_ [n=doug@static-72-1-4-143.ntd.net] has joined #webgui 18:19 -!- mode/#webgui [+o preaction_] by ChanServ 18:26 <+MrHairgrease> rizen: used paymentGateway in stead of payment_Gateway 18:26 <+MrHairgrease> seems nicer anyway 18:34 -!- BartJo1 [n=plainstu@194.171.50.69] has left #webgui [] 18:41 <@rizen> mrhairgrease...yes labels are good 18:42 <@rizen> paymentGateway 18:44 <+MrHairgrease> ah 18:44 <+MrHairgrease> just committed all my stuff 18:44 <+MrHairgrease> put in a TEMPORARY_LABEL label for the time being 18:45 <+MrHairgrease> and a test failing as long as that's there 18:45 <+MrHairgrease> will change it 18:45 <+MrHairgrease> why don't shipdrivers have a label, btw? 18:47 < perlmonkey2> woohooo, on my most expensive operations, I'm getting <100ms ajax calls. 18:48 < perlmonkey2> So latency+100ms will be the user experience for each event in the survey. sweet! 18:48 <+MrHairgrease> is that corrected for timezone differences? 18:48 < perlmonkey2> not quite fast enough if it was a FPS, but plenty fast enough for dragging around objects and submitting updates. 18:49 * perlmonkey2 goes to the Indian buffet to celebrate. 19:00 < CIA-21> WebGUI: martin * r5786 /branch/WebGUI_Commerce/ (8 files in 5 dirs): 19:00 < CIA-21> WebGUI: - Added tests for Pay 19:00 < CIA-21> WebGUI: - Fixed some tests/code for PayDriver 19:00 < CIA-21> WebGUI: - Added i18n for PayDriver 19:00 < CIA-21> WebGUI: - Added a really, really bare-bones Cash plugin. 19:07 -!- dionak [n=diona@97.66.185.250] has joined #webgui 19:17 -!- MrHairgrease [n=martin@194.171.50.69] has left #webgui [] 19:20 < CIA-21> WebGUI: martin * r5787 /branch/WebGUI_Commerce/ (t/Shop/Pay.t lib/WebGUI/Shop/Pay.pm): Require a label to be passed to WebGUI::Shop::Pay->addPaymentGateway 19:21 <@apeiron> perlmonkey2, <100ms, very nice! 19:22 <@apeiron> perlmonkey2, You're not cheating by using the loopback device, are you? :) 20:02 -!- wgGuest31 [n=wgGuest3@static-adsl201-232-86-73.epm.net.co] has joined #webgui 20:02 < wgGuest31> hello 20:03 < wgGuest31> i can return an array from a macro and process with javascript? 20:06 <@preaction_> yes 20:08 -!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has joined #webgui 20:08 -!- mode/#webgui [+v MrHairgrease] by ChanServ 20:16 -!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit [] 20:18 < perlmonkey2> apeiron: hah, no this is on my dev server 20:18 < perlmonkey2> granted it is on the same subnet. 20:19 <@apeiron> perlmonkey2, Still pretty good. 20:20 < perlmonkey2> yes, I'm very happy. Doing the normal WG session work, then my queries and munging, and getting the response back in under 100ms using a 2.4Ghz P4 with an old ata100 drive as a server isnt' too shabby. 20:20 -!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui 20:20 -!- mode/#webgui [+o rizen] by ChanServ 20:23 <+MrHairgrease> anybody seen Test::Exception? 20:23 <+MrHairgrease> it could replace the ugly exception tests we have now 20:23 <+MrHairgrease> if only it was possible to get the error message 20:24 <+MrHairgrease> well, check the error message that is 20:24 <+MrHairgrease> in stead of only chceking the exception class... 20:24 <+MrHairgrease> but 20:24 <+MrHairgrease> maybe it is an idea to have a helper function that does 20:38 <@preaction_> i think colin looked at test::exception, dunno what his thoughts were on i 20:38 <@preaction_> t 20:40 < dionak> does anyone know why the wre is compiled without support for Innodb? 20:41 < dionak> or, i should say, mysql is compiled in the WRE without support for Innodb tables 20:41 <@preaction_> because we don't use it and it saves on the size (however minutely) 20:41 <@preaction_> jt would be able to answer that, but he's afk today 20:42 -!- juan [n=juangui@static-adsl201-232-86-73.epm.net.co] has left #webgui [] 20:42 < dionak> we're needing innodb for a linked database. 20:42 < dionak> I'm debating our options 20:43 <@preaction_> recompile without the --without-innodb flag 20:43 < dionak> it's on windows.. 20:43 <@preaction_> oh. ew 20:43 <@preaction_> uhmm.... 20:43 < dionak> yea.. 20:44 < dionak> I wonder how are the WRE binaries are compiled for windows? 20:44 <@preaction_> couldn't tell you. should be in the https://svn.webgui.org/plainblack/wrebuild somewhere i think. 20:45 <@preaction_> otherwise, it might be easier to disable the wre's mysql and replace it with your own 20:45 < dionak> that may be what we end up doing. I didn't see any mention of windows in the wrebuild src 21:16 <@Haarg> there isn't an automated build system for windows 21:16 <@Haarg> i don't actually know where the mysql we're using comes from 21:16 <@Haarg> i would assume it is one of the standard mysql builds though 21:17 <@Haarg> seems odd it wouldn't have innodb 21:20 -!- jdanpl [n=jdan@xdsl-461.lubin.dialog.net.pl] has joined #webgui 21:33 < dionak> turns out it was disabled in the mysql config file (skip-innodb). i removed that line. 21:34 < dionak> i'll note this in the wiki 21:35 -!- wgGuest55 [n=wgGuest5@static-72-85-248-223.bstnma.east.verizon.net] has joined #webgui 21:36 -!- wgGuest55 [n=wgGuest5@static-72-85-248-223.bstnma.east.verizon.net] has quit [Client Quit] 21:36 -!- wgGuest99 [n=wgGuest9@static-72-85-248-223.bstnma.east.verizon.net] has joined #webgui 21:38 < wgGuest99> Hi, I'm looking for help with customizing email receipts to match custom profile changes. 21:39 < wgGuest99> Anyone available to help? 21:45 < dionak> what kind of help are you needing? 21:46 < wgGuest99> I need help getting the email receipts for transactions (from payments@plainblack.net) to display additional customer info besides the standard username, payment info, etc. 21:47 < wgGuest99> Right now the user profiles have "company name" and "position", etc, but the emails don't display that, and need to be manually looked up. 21:47 < wgGuest99> is there a way to integrate that into every receipt email? 21:48 < dionak> would this be better handled by a support request? 21:48 < dionak> i don't work for PB, so I don't have any info for you. sorry. 21:49 < wgGuest99> Ah, no problem, thanks for letting me know. 21:49 < dionak> sure 21:50 < wgGuest99> Should I send an email to support@plainblack.net, or try to call in? 21:50 < wgGuest99> I called their development team, but noone's manning the phone right now. 21:50 < dionak> we usually post to the support board on plainblack.com 21:50 < dionak> the response is generally pretty reasonable. 21:51 < dionak> they've always responded within a few hours 21:52 < wgGuest99> Alright, thank you so much. 21:52 < wgGuest99> Have a good rest of the afternoon. 21:52 < dionak> you too. 21:52 <@preaction_> wgGuest99, someone hasn't called you back yet? 21:53 < wgGuest99> Oops, I neglected to leave a message. 21:53 < wgGuest99> I'll try calling right now. 21:53 < dionak> lol 21:55 < wgGuest99> Nobody there at the moment, but I'm heading off in about an hour. 21:56 < wgGuest99> I think it'd be best to just post a question on the support forum for now and check it from home. 21:56 < wgGuest99> Thanks. 21:57 < jdanpl> Hi, how to enable moderation mode in Collaboration? I see "Approval Workflow" at configuration. But there is not workflow for moderator mode. 21:58 <@preaction_> jdanpl, what is "moderator mode"? 21:59 < jdanpl> If someone sent new message, moderator should check it and approve or discard 21:59 <@preaction_> that's the approval workflow 21:59 < jdanpl> I need this featcher for ad service 22:02 < jdanpl> ok, but when I set "Commit With Apprval" new messages appear in minute on page. So Spectre approves them itself 22:03 <@preaction_> they're posted by people who would be approving. people approving do not need to approve their own content 22:04 < jdanpl> It's greate 22:04 < jdanpl> ok 22:05 < jdanpl> It's great ;-) 22:06 -!- wgGuest99 [n=wgGuest9@static-72-85-248-223.bstnma.east.verizon.net] has quit [] 22:12 -!- jdanpl [n=jdan@xdsl-461.lubin.dialog.net.pl] has quit ["Leaving"] 22:49 -!- SDuensin [n=Scott@3.sub-75-206-190.myvzw.com] has quit ["Leaving"] 23:26 <@rizen> quick poll, what would make a good asset icon for "Thingy" 23:26 <@rizen> Thingy is a point and click application builder for WebGUI. 23:27 <@rizen> You can define database tables with fields assigned to them, make edit/view/search/list screens and link multiple database tables together 23:27 <@rizen> it's kind of a hybrid between data form and sql form 23:27 <+MrHairgrease> make it the adams family hand 23:27 <@rizen> oooh 23:27 <+MrHairgrease> question for you 23:28 <+MrHairgrease> have you seen Test::Exception? 23:28 <@rizen> yes 23:28 <+MrHairgrease> it's way nicer than the exceptiontests we do now BUT 23:28 <@rizen> Colin originally was using it for the new exception testing stuff, but it turned out to be too limited in some regard 23:28 <@rizen> i don't know what 23:28 <+MrHairgrease> it cannot check the fields 23:29 <+MrHairgrease> I made something that can 23:29 <@rizen> colin said that he might patch it later 23:29 <@rizen> oh 23:29 <@rizen> a sublcass, or something new? 23:29 <@rizen> or a patch? 23:29 <+MrHairgrease> let me paste 23:29 <+MrHairgrease> it 23:29 <+MrHairgrease> hang on 23:29 <@rizen> anybody have any other ideas than "Thing" from Addams Family 23:30 <+MrHairgrease> http://webgui.pastebin.org/23309 23:31 <+MrHairgrease> The underscored subs come directly from Test::Exception 23:31 <+MrHairgrease> I understand what they do 23:31 <+MrHairgrease> but not why 23:31 <+MrHairgrease> however, using upleve 23:31 <+MrHairgrease> ^h^h^h 23:32 <+MrHairgrease> however, using the eval statement as it stands there seems to work 23:32 <@preaction_> http://www.csi-stjoe.net/~parkers/drakemaille/Images/thingamajig.jpg <- google image search for thingamajig 23:32 <@rizen> what does uplevel do...i haven't heard of that one before 23:33 <+MrHairgrease> it essentially makes the coderef being evalled in the callers contexts 23:33 <+MrHairgrease> s/s// 23:33 <+MrHairgrease> so uplevel 1 would execute the coderef in the context of eg. Pay.t 23:34 <+MrHairgrease> without it, it won't work 23:34 <+MrHairgrease> Test::Exception uses it too 23:34 <@preaction_> interlocking shapes for the thingy, 3d or not 3d 23:35 <@rizen> wow this module is pretty cool 23:35 <@rizen> this seems a lot cooler than using evals throughout our test code 23:36 <+MrHairgrease> yeah, and it avoids all the oogly cmp_deeply's 23:36 <@rizen> i'd say commit it to the 7.5 branch 23:36 <+MrHairgrease> ok 23:36 <+MrHairgrease> I'll commit it into the commerce branch first 23:37 <+MrHairgrease> so we can check it out 23:37 <+MrHairgrease> is that ok? 23:38 <@preaction_> a platypus head. the icon should be a platypus head 23:39 <+MrHairgrease> are you volunteering your pbwg photo preaction? =) 23:39 <@preaction_> oooh good idea 23:39 <@preaction_> a stylized outline of gooey? a la The Tick's logo? 23:39 <+MrHairgrease> oh rizen 23:39 <+MrHairgrease> one caveat 23:40 <+MrHairgrease> but one that's a good thing I think 23:40 <@rizen> sorry, that's what i meant...the commerce branch 23:40 <+MrHairgrease> it checks only for the actual class 23:40 <+MrHairgrease> in stead of isa 23:40 <+MrHairgrease> that means that if you throw an Invalidbject 23:40 <+MrHairgrease> InvalidObject 23:41 <+MrHairgrease> you can not tell it to be an InvalidParameter 23:41 <+MrHairgrease> while InvalidObject ISA InvalidParameter 23:41 <@rizen> i think that's fine 23:41 <+MrHairgrease> InvalidParam that is 23:41 <+MrHairgrease> mee too 23:42 <+MrHairgrease> I just do a ref check where isa_ok is much more thorough --- Day changed Wed Mar 12 2008 00:07 -!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui 00:14 <@rizen> Thingy freakin roxorz 00:14 <@rizen> I don't know if you ever see Yung anymore, but he does amazing work. 00:14 <+MrHairgrease> haven't seen him in a while 00:14 <+MrHairgrease> i think the last time was november 00:18 <+MrHairgrease> ok, documented and committed WebGUI::TestException 00:18 <+MrHairgrease> and applied it on Pay.t 00:19 <+MrHairgrease> check it out and if you have any comments please let me know 00:21 < CIA-21> WebGUI: martin * r5788 /branch/WebGUI_Commerce/t/ (Shop/Pay.t lib/WebGUI/TestException.pm): Added WebGUI::TestException and convert Shop/Pay.t to use it. 00:55 < CIA-21> WebGUI: graham * r5789 /Lift: creating a directory for Lift 01:01 -!- dionak [n=diona@97.66.185.250] has quit [] 01:05 -!- wgGuest43 [n=wgGuest4@x94-206-76.law.umn.edu] has joined #webgui 01:06 < wgGuest43> Hi...my first time checking in here. Is anyone awake? 01:06 <@preaction_> yes 01:08 < wgGuest43> Cool. I work at the U of MN Law School and we recently deployed our new website on WebGUI 7.3.22... 01:08 < wgGuest43> Tonight I have run into a bizarre problem... 01:09 < wgGuest43> When I go to commit a change, the version tag is lost and the asset becomes locked. 01:09 <@preaction_> spectre isn't running 01:10 <@preaction_> or can't connect 01:10 < wgGuest43> according to my system, spectre is running... 01:10 <@preaction_> can't connect then 01:10 <@preaction_> cd /data/WebGUI/sbin; perl spectre.pl --test 01:11 < wgGuest43> We're getting this error: 01:11 < wgGuest43> ERROR - spectre.conf - POE::Kernel::_dispatch_event[1012] - WORKFLOW: Response for L7ijb6cP7uhTwv_NLVyVZA was redirected. This should never happen if configured properly!!! 01:11 <@preaction_> spectre doesn't follow redirects 01:13 <@rizen> make sure that whatever the first item is in your sitename directive in your webgui config file matches what your real site's address is as accessible by dns from the box spectre is on 01:14 < wgGuest43> Got it...had forgotten about the rewrite rules... 01:15 < wgGuest43> I had added a rewrite rule to appache's conf (we're running a modified version of WebGUI -- don't ask, it's not my decision) 01:15 <@preaction_> if you're using the WRE, you can point spectre at the mod_perl port and continue using mod_proxy for your rewrites 01:15 < wgGuest43> ...and to get it to convert URL requests ending with a slash to add "index.html" I added a rewrite rule. 01:15 <@preaction_> but from what you just said, i anticipate you're not running the WRE 01:16 <@preaction_> you could just set your Home page to have a url of index.html 01:16 < wgGuest43> no. Yet another reason for me to convince my boss to have our SA move to using the WRE. 01:16 < wgGuest43> The problem is that we have people used to using URLs for directories under the home page without including the name... 01:17 < wgGuest43> So http://www.law.umn.edu/cle/ is out in advertising, but should point to .../cle/index.html 01:17 < wgGuest43> We were running WG 5.4, and this was fine then, but it seems things are now configured differently. 01:22 -!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI 01:29 < wgGuest43> Well, I guess that will teach me to commit more frequently. We don't have many people editing at the moment, so it was some time before I added the rewrite rule and found the committing was not working. 01:29 < wgGuest43> Thanks for the help, folks! You were a lifesaver tonight. Now I can actually leave for home. 01:30 < wgGuest43> Hopefully next time I'm back here it won't be in a state of panic. 01:30 -!- wgGuest43 [n=wgGuest4@x94-206-76.law.umn.edu] has quit [] 01:39 -!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui 01:46 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["dinner"] 01:50 -!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has left #webgui [] 01:59 -!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"] 02:02 < CIA-21> WebGUI: graham * r5790 /branch/WebGUI_7.4/ (6 files in 5 dirs): added i18n for calendar 02:02 < CIA-21> WebGUI: graham * r5791 /branch/WebGUI_7.4/ (lib/WebGUI/AssetExportHtml.pm docs/changelog/7.x.x.txt): fixed: exporting as HTML leaks sessions for inaccessible assets 02:02 < CIA-21> WebGUI: graham * r5792 /branch/WebGUI_7.4/ (3 files in 3 dirs): fixed: changing image thumbnail size doesn't resize image 02:02 < CIA-21> WebGUI: graham * r5793 /branch/WebGUI_7.4/ (docs/changelog/7.x.x.txt lib/WebGUI/Config.pm): fixed: loadAllConfigs loads hidden files 02:02 < CIA-21> WebGUI: graham * r5794 /branch/WebGUI_7.4/ (docs/changelog/7.x.x.txt lib/WebGUI/Keyword.pm): fixed: fatal error duplicate keywords added to a wiki page 02:02 < CIA-21> WebGUI: graham * r5795 /branch/WebGUI_7.4/t/Asset/Event.t: fixing Event test 02:02 < CIA-21> WebGUI: graham * r5796 /branch/WebGUI_7.4/docs/create.sql: preparing for 7.4.28 release 02:02 < CIA-21> WebGUI: jt * r5797 /releases/WebGUI_7.4.28-stable: Release 7.4.28-stable 02:09 -!- patspam [n=chatzill@ppp59-167-82-131.lns2.mel6.internode.on.net] has joined #webgui 02:34 -!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui 02:34 -!- mode/#webgui [+v Radix-wrk] by ChanServ 02:57 -!- Radix-work [n=Jesse@203.161.68.67] has joined #webgui 02:57 -!- Radix-wrk [n=Jesse@203.161.68.67] has quit [Read error: 104 (Connection reset by peer)] 03:07 -!- Radix-work [n=Jesse@203.161.68.67] has quit ["Leaving"] 03:39 -!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui 03:39 -!- mode/#webgui [+v Radix-wrk] by ChanServ 05:12 -!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit ["Exit- stage left"] 06:00 -!- preaction_ [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)] 06:20 -!- wgGuest04 [n=wgGuest0@cpe-70-123-157-171.austin.res.rr.com] has joined #webgui 06:20 < wgGuest04> hello? 06:35 -!- patspam_ [i=chatzill@59.167.82.131] has joined #webgui 06:52 -!- patspam [n=chatzill@ppp59-167-82-131.lns2.mel6.internode.on.net] has quit [Read error: 110 (Connection timed out)] 06:53 -!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has quit [] 07:03 <+Radix-wrk> hello 07:29 -!- wgGuest04 [n=wgGuest0@cpe-70-123-157-171.austin.res.rr.com] has quit [Read error: 110 (Connection timed out)] 08:35 -!- CIA-21 [n=CIA@208.69.182.149] has quit [] 08:42 -!- CIA-23 [n=CIA@208.69.182.149] has joined #WebGUI 08:49 -!- ryuu_ro [n=rory@194.171.50.69] has joined #webgui 09:29 -!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui 09:44 -!- Radix-wrk [n=Jesse@203.161.68.67] has quit ["Leaving"] 11:04 -!- patspam_ [i=chatzill@59.167.82.131] has quit ["ChatZilla 0.9.81 [Firefox 2.0.0.12/2008020121]"] 12:41 -!- CIA-23 [n=CIA@208.69.182.149] has quit [Remote closed the connection] 12:56 -!- CIA-22 [n=CIA@208.69.182.149] has joined #WebGUI 13:19 -!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has quit ["Leaving"] 14:57 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui 15:42 -!- SDuensin [n=Scott@111.sub-75-204-125.myvzw.com] has joined #WebGUI 15:46 < SDuensin> Morning. 15:49 -!- BartJo2 [n=plainstu@194.171.50.123] has joined #webgui 15:50 < perlmonkey2> This is interesting, has anyone used it? http://search.cpan.org/~dpavlin/Fuse-DBI-0.08/examples/webgui.pl 15:50 < perlmonkey2> g'morning SDuensin 15:56 <@rizen> it was written for WebGUI 5 15:57 <@rizen> and yes i've used it 16:03 -!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui 16:03 -!- mode/#webgui [+o Haarg] by ChanServ 16:11 -!- dionak [n=diona@97.66.185.250] has joined #webgui 16:14 -!- Funakoshi [i=Xtasy@nor75-7-81-57-85-191.fbx.proxad.net] has quit [Read error: 110 (Connection timed out)] 16:26 -!- wgGuest31 [n=wgGuest3@static-adsl201-232-86-73.epm.net.co] has quit [Remote closed the connection] 17:00 -!- wgGuest52 [n=wgGuest5@static-adsl201-232-86-73.epm.net.co] has joined #webgui 17:12 -!- juan [n=juangui@static-adsl201-232-86-73.epm.net.co] has joined #webgui 17:12 < juan> hello 17:14 < juan> do you know, if there is a macro that i can insert a new variable in the session 17:25 <@rizen> you can set scratch variables onto a session using a simple url call 17:26 <@rizen> or you can write a macro to insert a variable 17:26 <@rizen> but no there isn't one 17:27 < BartJo2> yes, they are called scratch variable 17:32 -!- ryuu_ro [n=rory@194.171.50.69] has quit [] 17:33 < BartJo2> thank god people correct me when I say stupid things 17:44 < juan> rizen, i have create a macro to set variables in session but i have a problem, the macro is called since a javascript with the name and its value 17:45 < juan> but in the table sessionscratch is been stored the name of the variable that has the value 17:45 <@rizen> i'm sorry juan, i don't understand what you're asking 17:46 < juan> the thing is the next 17:46 <@rizen> you've created a macro 17:46 < juan> yes 17:46 < juan> to set variables in session 17:46 <@rizen> right 17:46 <@rizen> but what about javascript? 17:46 <@rizen> what does that have to do with it? 17:47 < juan> the macro recieved two paramaters from javascript, with the name of the variable and the other with the value 17:48 <@rizen> that won't work 17:48 <@rizen> the macro is already executed by the time the javascript is run 17:48 <@rizen> the macro is executed by the server, but the javascript is executed by the client 17:49 -!- estiven [n=estiven@static-adsl201-232-86-73.epm.net.co] has joined #webgui 17:50 < juan> http://webgui.pastebin.com/d74ed1ab3 17:51 < juan> I call this macro in javascript like this ^setScratch("Municipio",municipio ); 17:51 < juan> but when i checkt in mysql in userSessionScratch i found the next row 17:52 < juan> EeAn4pIktFTXQBUfQvuekg | Municipio | municipio 17:52 < juan> municipio is a variable defined in javascript and contain a number 17:53 < juan> do you know what is the problem? 17:53 <@rizen> the macro knows nothing about javascript 17:53 <@rizen> it can't turn the javascript variable into it's value 17:54 < juan> i have tested that with another macro and it works 17:55 <@rizen> then you're doing something entirely differently 17:55 <@rizen> in that version than you are here 17:55 <@rizen> if you want, you can use an ajax call to set a scratch variable 17:55 < juan> 7.4.19 17:56 <@rizen> http://site.com/?op=setScratch;scratchName=municipio;scratchValue=36 17:56 -!- Radix__ [n=Radix@203.161.71.161.static.amnet.net.au] has joined #webgui 17:57 -!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has quit [Read error: 104 (Connection reset by peer)] 17:58 < juan> we can not do a post 18:05 -!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has left #webgui [] 18:22 -!- lisette [n=liraos@static-adsl201-232-86-73.epm.net.co] has joined #webgui 18:29 -!- BartJo2 [n=plainstu@194.171.50.123] has left #webgui [] 18:30 -!- wgGuest52 [n=wgGuest5@static-adsl201-232-86-73.epm.net.co] has quit [Remote closed the connection] 18:48 < lisette> how to do a macro that insert a new variable in the session? 19:33 < lisette> ? 19:37 -!- lisette [n=liraos@static-adsl201-232-86-73.epm.net.co] has left #webgui [] 19:38 -!- estiven [n=estiven@static-adsl201-232-86-73.epm.net.co] has quit [Read error: 110 (Connection timed out)] 19:38 < CIA-22> WebGUI: graham * r5798 /branch/WebGUI_7.4/ (4 files in 4 dirs): preparing for 7.4.29 19:40 -!- lisette [n=liraos@static-adsl201-232-86-73.epm.net.co] has joined #webgui 19:40 < lisette> http://www.webgui.org/etcetera/sql_with_javascript/sql_with_javascript 19:53 < perlmonkey2> 4 tablespoons of pbj and jelly each...mixed very well on a plate. pita bread to mop it up. bowl of chicken noddle soup. Sam Adams Boston Ale. That is my lunch today. I love my life. 20:02 < nuba> 3 bananas, 5 small toasts w/ jelly, one passion fruit, a boiled egg. thats my lunch today, wife is travelling, and i was too lasy to cook anything or even eat out. 20:03 < nuba> heh, lazy* 20:09 < perlmonkey2> nuba: yes, cooking is a luxury for when you have spare time, in my mind. 20:10 <@rizen> my lunch: nothing yet. too busy with commerce system. 20:12 < lisette> how to do a filter with two select box? 20:12 < lisette> and query a database 20:12 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui 20:13 -!- mode/#webgui [+o preaction] by ChanServ 20:17 < lisette> ? 20:17 <@preaction> ! 20:51 -!- lisette [n=liraos@static-adsl201-232-86-73.epm.net.co] has left #webgui [] 21:12 -!- cap10morgan [n=cap10mor@h19-afsc.ded.indra.com] has joined #webgui 21:13 < cap10morgan> Can you add fields to a DataForm via the API? It seems like there's no public method for that, but can I fudge it if I don't care if it breaks in future releases? :) 21:19 < cap10morgan> oh, i think www_editFieldSave is my friend here... 21:19 <@preaction> cap10morgan, you could probably add an API method to do it, and make sure the web interface uses the new API method 21:19 <@preaction> do use that. do it right the first time so you don't have to do it over 21:19 <@preaction> er... don't use that 21:21 < cap10morgan> alright alright ;) 21:26 < juan> hello 21:27 <@preaction> hello 22:18 -!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: CIA-22 22:18 -!- Netsplit over, joins: CIA-22 22:41 < perlmonkey2> Hah, I'm showing 40ms updates for dragging and dropping on teh editor. This should scale up without any noticable increase in time as the number of updates is fixed. 22:42 < perlmonkey2> rizen: if I would have listened to you in the first place, this would be done. Obviously ajax solutions work extremely well as super thin client solutions. 22:46 < juan> hello 22:46 < juan> i have a question 22:47 <@rizen> pm2 live and learn 22:47 <@rizen> we all make mistakes, and that's what makes us better 22:48 < juan> i have several information in a database i want to display it in some selected box, the thing is depend of the user's selection in the first, the second will have the respective information 22:48 < juan> is like a dinamic selected box 22:49 < juan> how can i do that? 22:49 < juan> have i to develop a new control? 22:50 <@preaction> i've answered this question three times now: Yes 22:52 -!- SDuensin [n=Scott@111.sub-75-204-125.myvzw.com] has quit ["Leaving"] --- Day changed Thu Mar 13 2008 01:01 -!- juan [n=juangui@static-adsl201-232-86-73.epm.net.co] has left #webgui [] 01:10 -!- dionak [n=diona@97.66.185.250] has quit [] 01:21 -!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"] 01:30 < CIA-22> WebGUI: jt * r5799 /branch/WebGUI_Commerce/ (9 files in 7 dirs): finally got shipping driver management working 01:57 -!- cap10morgan [n=cap10mor@h19-afsc.ded.indra.com] has quit [] 02:01 -!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui 02:10 -!- wgGuest61 [n=wgGuest6@cpe-67-11-177-67.satx.res.rr.com] has joined #webgui 02:10 -!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui 02:10 -!- mode/#webgui [+v Radix-wrk] by ChanServ 02:11 -!- wgGuest61 [n=wgGuest6@cpe-67-11-177-67.satx.res.rr.com] has quit [Client Quit] 02:21 < dionak> I created a new workflow activity today and made a scheduled task with it. It was really easy. Just thought you guys might like to hear the good stuff about WG. 02:23 < dionak> It looks like we're going to be using workflows a lot more. They are really handy. 02:39 <+Radix-wrk> yup :) 02:44 < dionak> JT, have you ever looked into Smolder? 02:44 < dionak> curious if you had any thoughts on it. 02:45 < dionak> http://sourceforge.net/projects/smolder 02:46 <+Radix-wrk> Suggest it to perldreamer I suggest 02:47 <@preaction> it looks nice, i'd have to add test.webgui.org and finally fix the smoke test server though 02:52 < dionak> I was more curious if anyone had tried it and how it worked for them, as opposed to making a suggestion. I'm still working on getting WG to work locally on my mac after the 10.5 upgrade so I haven't yet gotten to trying it out. 02:52 <@preaction> eh, i've been looking for a nice aggregator / display tool, and this looks like it fills all my desires 02:53 < dionak> i'm very interested to hear about your experience if you get the chance to try it out. 02:55 < dionak> Michael Peters presented it last year at YAPC as part of a larger talk and the idea has stayed with me. 03:32 -!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI 05:10 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."] 05:39 -!- wgGuest24 [n=wgGuest2@cpe-70-123-157-171.austin.res.rr.com] has joined #webgui 05:39 < wgGuest24> Hello? 05:39 <@preaction> hello 05:39 < wgGuest24> hi. how are you? 05:40 <@preaction> i'm fine 05:40 < wgGuest24> is there anyone around that can answer a few questions about caching and sql reports? 05:40 <@preaction> perlbot ask 05:40 < perlbot> Don't ask to ask, just ask. 05:41 < wgGuest24> lol 05:41 < wgGuest24> it's been a few years since i've worked with webgui...if i remember correctly, it does page-level caching, correct? 05:42 < wgGuest24> or does it now support object level caching? 05:42 < wgGuest24> here's why i ask... 05:43 < wgGuest24> i'd like to set up a page with a sql report that takes two parameters as input 05:43 <@preaction> if by page-level you mean "cache the output before it's sent to the user", then for certain things, yes, but only for Visitors 05:44 <@preaction> also, excepting Layouts, the caching is configurable 05:44 < wgGuest24> interesting... 05:44 <@preaction> layouts have a 60-second burst protection cache 05:44 <@preaction> can't be disabled or configured 05:45 < wgGuest24> so, ideally if the sql report is run with parameters that have been used in the past, then i'd like it to serve up the cached results 05:46 < wgGuest24> if the parameters are different than what's been run, then i'd like the sql report to execute and serve up the results based upon the new parameters, but then cache the results for future use 05:46 <@preaction> that won't happen, no 05:47 < wgGuest24> does that make sense? in essense, i'm trying to determine if it can be configured to support parameter level caching 05:47 < wgGuest24> okay, so if caching is turned on, i should expect to see the previous results irregardless of the passed paramters? 05:48 <@preaction> for Visitors, probably 05:48 < wgGuest24> yes, this would be for visitors 05:49 < wgGuest24> okay, i guess that answers my question then... 05:49 < wgGuest24> thanks 05:51 -!- wgGuest24 [n=wgGuest2@cpe-70-123-157-171.austin.res.rr.com] has quit [] 07:00 -!- vince2 [n=falcon@ip68-12-66-144.ok.ok.cox.net] has joined #webgui 07:00 -!- vince2 [n=falcon@ip68-12-66-144.ok.ok.cox.net] has left #webgui ["Client Exiting"] 07:27 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)] 07:40 -!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has quit [] 07:46 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui 07:46 -!- mode/#webgui [+o preaction] by ChanServ 07:57 -!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui 08:11 -!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has quit [] 08:51 -!- ryuu_ro [n=rory@194.171.50.69] has joined #webgui 09:01 -!- Haarg [n=haarg@24-177-119-178.dhcp.mdsn.wi.charter.com] has joined #webgui 09:01 -!- mode/#webgui [+o Haarg] by ChanServ 09:10 -!- cap10morgan [n=cap10mor@206-124-31-140.denver.dsl.forethought.net] has joined #webgui 09:53 -!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui 09:55 -!- ryuu_ro_ [n=rory@194.171.50.69] has joined #webgui 09:55 -!- ryuu_ro [n=rory@194.171.50.69] has quit [Read error: 104 (Connection reset by peer)] 10:05 -!- Radix-wrk [n=Jesse@203.161.68.67] has quit ["Leaving"] 10:08 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 113 (No route to host)] 10:11 -!- Haarg [n=haarg@24-177-119-178.dhcp.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"] 10:23 -!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has quit ["Leaving."] 10:25 -!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui 10:32 -!- ryuu_ro [n=rory@194.171.50.69] has joined #webgui 10:32 -!- ryuu_ro_ [n=rory@194.171.50.69] has quit [Read error: 104 (Connection reset by peer)] 10:36 -!- ryuu_ro_ [n=rory@194.171.50.69] has joined #webgui 10:39 -!- ryuu_ro [n=rory@194.171.50.69] has quit [Read error: 104 (Connection reset by peer)] 11:01 -!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui 11:16 -!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has quit [] 13:23 -!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has quit ["Leaving"] 13:44 -!- midellaq [n=midellaq@caterpillar05.dadanoc.com] has joined #webgui 14:23 -!- estiven [n=estiven@static-adsl201-232-86-73.epm.net.co] has joined #webgui 14:54 -!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit [] 15:16 -!- SDuensin [n=Scott@36.sub-75-204-178.myvzw.com] has joined #WebGUI 15:24 -!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui 15:24 -!- mode/#webgui [+o rizen] by ChanServ 15:44 < SDuensin> Morning. 15:45 -!- bopbop [n=kmccombs@71-82-214-154.dhcp.mdsn.wi.charter.com] has joined #webgui 15:46 -!- carogray [n=Caroline@h69-131-74-83.nwlnnh.dsl.dynamic.tds.net] has joined #webgui 15:46 -!- carogray [n=Caroline@h69-131-74-83.nwlnnh.dsl.dynamic.tds.net] has left #webgui [] 15:48 <@rizen> afternoon 15:49 -!- mode/#webgui [+o bopbop] by rizen 15:55 -!- MrHairgrease [n=martin@145.94.223.147] has joined #webgui 15:55 -!- mode/#webgui [+v MrHairgrease] by ChanServ 16:05 < AMH_bob> Coffee! 16:05 -!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui 16:05 -!- mode/#webgui [+o Haarg] by ChanServ 16:14 <@bopbop> MrHairgrease: I'm working on Oqapi's success story. Out of curiosity, is there a reason the oqapi (okapi) was chosen for the company's name? Besides the fact that it can lick its own ears?... 16:15 -!- midellaq [n=midellaq@caterpillar05.dadanoc.com] has left #webgui [] 16:16 <+MrHairgrease> well basically we wanted a catchy name without cliches like 'soft' or 'comp' or 'net and the likes in it 16:16 <+MrHairgrease> so we had a string of brainstorm sessions at a bar called locus 16:16 <+MrHairgrease> http://www.locuspublicus.nl/wb/ 16:17 <+MrHairgrease> luckily it was still summer so we could sit outside in the sun 16:17 <+MrHairgrease> and then al of a sudden a friend of ours came up with okapi 16:17 <+MrHairgrease> which everyone liked 16:18 <@bopbop> ok, thanks 16:18 <+MrHairgrease> the reason for the weird spelling k=>q is that there's already a company named okapi 16:18 <+MrHairgrease> so i changed the k into a q, which gave the name sort of a cool symmetry 16:19 <+MrHairgrease> and of course the eurotrashy hipness you've come to expect of us =) 16:19 <@bopbop> I've been trying to figure out how I can get one of your t-shirts...very cool. Is it ok if I just take the logo off Oqapi's website to use in our story? 16:20 <+MrHairgrease> for t-shirst contact joeri 16:20 -!- juan [n=juangui@static-adsl201-232-86-73.epm.net.co] has joined #webgui 16:20 <+MrHairgrease> i'll see if i can find a logo 16:20 <+MrHairgrease> hang on 16:20 <@bopbop> ok 16:21 < juan> hello 16:23 < CIA-22> WebGUI: jt * r5800 /branch/WebGUI_Commerce/ (3 files in 3 dirs): added shipping calculation for flat rate 16:24 < juan> i am calling a macro since javascript with two parameters that are javascript's variables, but i have a problem, in the macro i am using the parameters and i am updating a profile field, if i go to the profile i found that the field has the name of the variable sent since javascript instead of the value 16:24 <+MrHairgrease> bopbop: need a big one or a small one? 16:24 <@bopbop> small should do 16:25 <+MrHairgrease> ok 16:25 <+MrHairgrease> your email is kristi@pb right? 16:25 <@bopbop> right 16:26 < juan> i don't know if really macros work well with javascript 16:27 <+MrHairgrease> ok sent it 16:28 <@bopbop> cool. thanks for your help 16:28 <+MrHairgrease> juan: i'm not sure what your problem is? 16:29 <+MrHairgrease> where are you calling a macro from? 16:29 <+MrHairgrease> and what macro 16:29 <+MrHairgrease> and what is the macro supposed to do? 16:30 < juan> i create a macro 16:30 < juan> and call it since javascript 16:31 < juan> like this ^mymacro(name,valor); 16:31 < juan> where name and valor and javascript's variables 16:32 < juan> in the macro i get the parameters and if i return the second parameter, the macro return its real value 16:33 < juan> but if i return the first parameter, it doesn't return anything 16:35 < juan> besides if i try to stored the second parameter in the profile, the real value doesn't appear in that field 16:35 <+MrHairgrease> you try to use javascript to pass values into a macro? 16:35 < juan> yes 16:35 <+MrHairgrease> that is not possible 16:36 <+MrHairgrease> macro's are executed server side 16:36 <+MrHairgrease> while javascript is executed client side (ie. in the brwoser) 16:36 -!- perlmonkey2 [n=perlmonk@casr-dev.fwsm2ppuser.ou.edu] has joined #webgui 16:36 <+MrHairgrease> macro's have already been executed before they even end up in your browser 16:38 < juan> we have executed macros in javascript without parameters, and they work 16:41 <+MrHairgrease> you mean that you use the output of macro's in javascript? 16:41 < juan> yes 16:42 <+MrHairgrease> ok, but that's the complete opposite of the what i asked you before 16:43 <+MrHairgrease> so you have a bug in your macro if i understand correctly 16:43 < juan> the problem is when i call the macro with parameters 16:44 <+MrHairgrease> you are aware that you cannot use spaces in macro parameters? 16:44 <+MrHairgrease> ie. ^Macro(a,b); is something different than ^Macro(a, b); 16:44 < juan> if i put in the macro an static value as parameter, it works well 16:45 < juan> the problem is when i put as parameter a javascript's variable 16:45 <+MrHairgrease> please paste your macro to the pastebin and also a piece of html/javascript where you actually call it. 16:46 -!- cap10morgan [n=cap10mor@206-124-31-140.denver.dsl.forethought.net] has quit [] 16:47 < juan> wait please 16:51 < juan> MrHairgrease, http://webgui.pastebin.com/dda4935a 16:52 <+MrHairgrease> you are using javascript to create an argument for your macro 16:52 <+MrHairgrease> which i told you is impossible 16:53 <+MrHairgrease> the macro is executed on the server. 16:53 <+MrHairgrease> the my val= ... 16:53 <+MrHairgrease> is executed in your browser 16:54 <+MrHairgrease> do you understand that? 16:54 < juan> yes 16:54 < juan> can i do that with ajax? 16:56 <+MrHairgrease> if you want to use ajax you need some page where you can post your data to 16:57 < juan> ok 16:57 <+MrHairgrease> so you could create a macro that uses a form post to get it's data 16:57 <+MrHairgrease> ie. $value = $session->form->process('val'); 16:58 <+MrHairgrease> and put that macro on the page you tell your ajaxthingy to post to 16:58 <+MrHairgrease> the url would then be something like yoursite.com/ajaxPost?val=yourvalue 16:58 <+MrHairgrease> it's not an ideal solution though 16:59 <+MrHairgrease> but it would work 16:59 < juan> yes, i understand 16:59 < juan> thanks for your time and your advices 16:59 <+MrHairgrease> no problemo 17:05 < juan> MrHairgrease, i have another question 17:05 -!- dionak [n=diona@97.66.185.250] has joined #webgui 17:05 <+MrHairgrease> only if it's a short one 17:05 < juan> how can i show a popup when users go to my site 17:06 <+MrHairgrease> google for javascript popup or something like that 17:06 < ryuu_ro_> juan: http://www.quirksmode.org/js/popup.html 17:07 < ryuu_ro_> except use the onload event instead of the onclick event 17:08 < juan> display an automatic popup when users go to my site 17:09 < juan> thanks ryuu_ro_ for the url, i am going to check 17:11 -!- lisette [n=liraos@static-adsl201-232-86-73.epm.net.co] has joined #webgui 17:15 < estiven> Hola lisette 17:15 < lisette> hola estiven 17:16 -!- dionak [n=diona@97.66.185.250] has quit [] 17:16 < lisette> if i use $session->form->param, i can set a value in the form? 17:16 <+MrHairgrease> no 17:16 <+MrHairgrease> you cannot set for params 17:16 <@rizen> holy crap, my dad was just here, and he told me a story about how he saved some guy's life last week 17:16 <+MrHairgrease> he gave him pomade? 17:17 <@rizen> no, he lives out in the country 17:17 <@rizen> and the wind was blowing just right so he heard the guy screaming from over a mile away 17:17 <@rizen> he drove over to where the screaming was coming from 17:18 <@rizen> and it was still a quarter of a mile back into a snow covered field 17:18 <@rizen> this old farmer had gotten his tractor stuck, and was trying to walk back 17:18 <@rizen> but got so cold that he fell down and couldn't move 17:18 <@rizen> my dad walked back into the field 17:18 <@rizen> and dragged the guy back out to the road 17:19 <@rizen> and then drove him home 17:19 * MrHairgrease cues a William Shatner voice over 17:21 < ryuu_ro_> that's one lucky guy 17:22 <+MrHairgrease> indeed 17:23 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui 17:23 -!- mode/#webgui [+o preaction] by ChanServ 17:35 -!- ryuu_ro_ [n=rory@194.171.50.69] has quit [] 17:52 < CIA-22> WebGUI: meatbop * r5801 /WebGUI/www/extras/assets/ (thingee.gif small/thingee.gif): Added thingee icons 17:56 <+MrHairgrease> alas, no hand thing... 18:05 -!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has left #webgui [] 18:06 -!- MrHairgrease [n=martin@145.94.223.147] has left #webgui [] 18:24 < perlmonkey2> which book has everything about ldap, and does it cover ssl over ldap? 18:25 < perlmonkey2> I'm guessing no to the latter part since the WG module won't allow the specification of the ldaps prototocl. 18:27 <@preaction> the Admin Guide has LDAP 18:27 -!- apeiron_ [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui 18:28 -!- mode/#webgui [+o apeiron_] by ChanServ 18:28 -!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has quit [Nick collision from services.] 18:28 -!- apeiron_ is now known as apeiron 18:29 < perlmonkey2> preaction: hmm, so I should be able to create a stunnel to the campus ldap server and not have to worry about ldaps 18:29 <@preaction> dunno 18:29 -!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has joined #webgui 18:29 -!- mode/#webgui [+v MrHairgrease] by ChanServ 18:31 < perlmonkey2> oh, a stunnel won't work because i have to be able to open an ssh connection to the server. The campus ldap doenst' allow shells. 18:48 -!- khenn [n=khenn@24-159-239-186.dhcp.mdsn.wi.charter.com] has joined #WebGUI 18:48 -!- mode/#webgui [+o khenn] by ChanServ 18:48 -!- khenn [n=khenn@24-159-239-186.dhcp.mdsn.wi.charter.com] has left #WebGUI [] 18:51 -!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has quit [Read error: 110 (Connection timed out)] 19:02 -!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has joined #webgui 19:02 -!- mode/#webgui [+v MrHairgrease] by ChanServ 19:38 <+MrHairgrease> what happened to perldreamer? 19:38 <@preaction> he must be working 19:39 <+MrHairgrease> is he on vacation or so? 19:39 <@preaction> his job is awesome, he works for a couple weeks and then they keep him on retainer for a couple weeks (or something like that) 19:39 <@preaction> in case they have problems with his chip 19:39 <+MrHairgrease> yeah i know 19:39 <+MrHairgrease> sometimes he has to design a chip 19:39 <+MrHairgrease> and then he has nothing to do for ages 20:23 < perlmonkey2> hmm, stunnel is turning into a pain to set up, anyone think it would be easier to reconfig LDAP.pm to use ssl? 20:25 < perlmonkey2> rizen: Just an update, but my Survey deadline got pushed back to the 25th until I can get ldaps working with webgui. But that is still plenty of time to make 7.5, isn't it? 20:28 <@rizen> yeah 20:28 <@rizen> may 31 is the cut off 20:28 <@rizen> you know, if you make ldaps work with WebGUI you'll make lots and lots of people happy 20:28 <@rizen> people have been requesting it for years, but it just hasn't been a top priority for me 20:31 <@rizen> MrHairgrease: are you planning on tieing the cash payment system in with the address book feature 20:31 <@rizen> cuz i think pretty much all payment systems should use that 20:32 <@rizen> oh, and i should have transactions management done by tomorrow night 20:33 <@bopbop> Haarg: did you get my email about the strange Syndicated Content display? 20:34 <@Haarg> yeah 20:35 <@Haarg> i'll take a look at it right now 20:35 <@bopbop> ok, just checking- I have a meeting with them tomorrow 20:40 < perlmonkey2> rizen: woot, that would be cool. I'll try to do that even if it is harder thana stunnel :) 21:00 -!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui 21:17 < CIA-22> WebGUI: yung * r5802 /WebGUI/ (11 files in 10 dirs): add: Thingy asset 21:20 -!- pattieja [n=pattieja@kr.structure.northwestern.edu] has joined #webgui 21:20 < pattieja> hello 21:21 < estiven> hi 21:23 < pattieja> I was wondering if anyone knows how to keep request tracker items from closing automatically. It seems like if I don't create a reply within some random amount of time, they start disappearing from the interface. If I then search and find them, they are closed. If I click 'Open', they reappear on the wobject interface for that request tracker, but then a short time later, they are automatically closed again. Is there a way to not ha 21:23 < pattieja> ve this happen, and force the items to wait until I click 'Close'? Sorry for longwindedness. Thanks. 21:27 <@preaction> i believe there's a property in the collaboration system settings that does that 21:27 < pattieja> excellent. where's that? 21:28 <@preaction> Archive After, but I don't think that's right 21:28 <@rizen> it is archive after 21:28 <@rizen> archived = closed 21:36 <@preaction> http://doug.plainblack.net/home/properties/gallery/733-franklin-st.-lower?func=thumbnails <- step 1 in improving the Gallery functionality. hover over the thumbnails to enlarge them, but the bounding-box is only the size of the original thumbnail 21:37 <@preaction> i think that's the buggo one though. the non-buggo one doesn't leave thumbnails scaled up 21:37 <@rizen> that's a sweet feature 21:39 <@preaction> adding captions and i want to replace that larger view with something more javascripty if the client can handle it 21:39 <@rizen> my favorite picture is the one with your thumb in it 21:39 <@preaction> there's at least three with my finger/thumb in them 21:40 <@preaction> am i correct when i see the new Indiana Jones is revisiting the Ark of the Covenent? 21:40 <@rizen> oh yeah, i'm seeing that now 21:40 <@rizen> i know they're making it, have no idea what its about 21:41 <@rizen> the photo gallery is getting cooler 21:41 <@rizen> still needs better templates though 21:42 <@preaction> yeah, i'm making this script stuff with that in mind, hopefully it won't be too horrible if/when the templates are redesigned 21:44 <@rizen> he has to redesign them for the 7.5 release 21:44 <@rizen> so they'll be done in the next 2 months sometime 21:45 <@preaction> sounds good 22:08 -!- lisette [n=liraos@static-adsl201-232-86-73.epm.net.co] has quit [Read error: 110 (Connection timed out)] 22:08 -!- juan [n=juangui@static-adsl201-232-86-73.epm.net.co] has quit [Read error: 110 (Connection timed out)] 22:09 -!- estiven [n=estiven@static-adsl201-232-86-73.epm.net.co] has quit [Read error: 110 (Connection timed out)] 22:09 -!- bopbop [n=kmccombs@71-82-214-154.dhcp.mdsn.wi.charter.com] has quit [] 22:28 <+MrHairgrease> rizen: i'm back was cooking and eating 22:28 <+MrHairgrease> anyway 22:29 <+MrHairgrease> how do you think the address book should be tied into the payment stuiff? 22:29 -!- lisette [n=liraos@static-adsl201-232-86-73.epm.net.co] has joined #webgui 22:29 <+MrHairgrease> I figured that an address is assigned to a transaction 22:29 <+MrHairgrease> s/assigned/tied/ 22:30 <+MrHairgrease> the selected payment plugin should get the address from the transaction object 22:30 <+MrHairgrease> imho 22:31 < pattieja> rizen: do I just type the word 'closed' into the Archive After field? It's currently set to 1 Month 22:31 <@preaction> no. you want it to be larger 22:31 <@rizen> MrHairGrease: transaction is just a log 22:31 <@preaction> after 1 month, the thread will get closed 22:32 <@rizen> but during payment you have to select an address 22:32 <@rizen> that will be sent to the credit card company in most cases 22:32 <+MrHairgrease> ok ic 22:32 <@rizen> so it should use the address book function, which is currently only tied to shipping 22:32 <+MrHairgrease> then, yes the address book thingy should be tied into the payment system 22:32 < pattieja> preaction: so, set it to like 1 year or something? 22:32 <@preaction> pattieja, that sounds good 22:32 <@rizen> but should be opened up a little more so it can be used for other things 22:32 < pattieja> k 22:32 < pattieja> thanks 22:33 <+MrHairgrease> however, it's up to each plugin itself 22:33 <@rizen> sure 22:33 <@rizen> it's up to each plugin 22:33 <+MrHairgrease> one question though 22:33 <@rizen> but the cash plugin will probably be the one a lot of people look to as an example 22:33 <@rizen> since it's so simple 22:33 <@rizen> so it should definitely use the address book 22:33 <+MrHairgrease> i guess you won't people to select their address all the time 22:34 <+MrHairgrease> by that i mean: if you select an address for the shipping 22:34 <+MrHairgrease> you want that address to be preslected when it's time to pay 22:34 <+MrHairgrease> how do you envison persisting that stuff 22:35 <+MrHairgrease> that's also why i thought there'd be a transaction object 22:35 <+MrHairgrease> glueing all the components together 22:35 <@rizen> the cart maintains the shipping address 22:35 <@rizen> and the payment object will be passed a cart 22:36 <+MrHairgrease> aha 22:36 <@rizen> then once payment has been completed the cart and payment stuff will be passed to the transaction system 22:36 <+MrHairgrease> so the cart's glueing everything together 22:36 <@rizen> for record keeping 22:36 <@rizen> yup 22:37 <+MrHairgrease> and the chosen shipper and payment gateway will also be stored in the cart? 22:37 < lisette> hello 22:37 < lisette> i can call a macro inside another macro? 22:37 <+MrHairgrease> yes 22:37 <+MrHairgrease> you can 22:37 < lisette> how to? 22:37 < lisette> ^macro() ? 22:37 <+MrHairgrease> ^Macro1(^Macro2;); 22:38 < lisette> mmm and the code? 22:38 <+MrHairgrease> what code? 22:39 <@rizen> mrhairgrease...no because when you get to payment you hand everything off to transaction at that point 22:39 <@rizen> everything up to payment gets attached to the cart 22:39 <@rizen> then you select payment stuff 22:39 <@rizen> then you shove it all into transaction 22:39 <+MrHairgrease> yeah, sorry, i meant only shipper 22:39 <+MrHairgrease> not payment 22:39 <+MrHairgrease> that would make little sense 22:39 <@rizen> yes, shipper gateway is stored in the cart 22:39 <+MrHairgrease> ok nice 22:39 <@rizen> ship driver i mean 22:39 <@preaction> lisette, that's handled by the normal macro parser, you don't have to do anything special in your macro 22:40 <+MrHairgrease> I still have to dig through the cart code, so forgive my witless questions =) 22:41 < pattieja> preaction: hmm. guess I'll have to go through all the closed items and reopen them? 22:41 <@rizen> no problem. you should have questions, the whole thing is still in flux. =) 22:41 <@preaction> pattieja, yes. 22:44 <+MrHairgrease> anyway, i'll make the cash plugin use the address book 22:44 < pattieja> thanks 22:44 -!- pattieja [n=pattieja@kr.structure.northwestern.edu] has quit ["Ex-Chat"] 22:44 <+MrHairgrease> when you have done the transaction thing i'll mold the payment plugins into it =) 22:45 <@rizen> sweet. i hope to have it done by tomorrow. right now i have the back end done, but i still need to build all the front end stuff 22:46 <+MrHairgrease> oh the transaction back end is finished already? 22:46 -!- SDuensin [n=Scott@36.sub-75-204-178.myvzw.com] has quit ["Leaving"] 22:49 < CIA-22> WebGUI: jt * r5803 /branch/WebGUI_Commerce/lib/WebGUI/Shop/Cart.pm: a couple new methods to make things easier 22:50 <@rizen> yeah, i'll check it in tonight probably 22:50 <@rizen> needs a little polish 22:50 <@rizen> plus i haven't written enough tests for it 22:51 <+MrHairgrease> the commerce tests are the first tests i have written 22:51 <+MrHairgrease> ever 22:52 <+MrHairgrease> at first i really felt like 'stupid tests' since it seems you make very little progress at first 22:52 <+MrHairgrease> but these tests paid off directly 22:53 <@rizen> yeah me too 22:53 <+MrHairgrease> and found some bugs directly 22:53 <+MrHairgrease> like swapped parameters and stuff 22:53 <@rizen> yesterday when i was building the shipping management interface i had to make some sweeping changes to the shipping stuff 22:53 <+MrHairgrease> so i've decided i like em 22:53 <@rizen> and the tests really helped me get back on track 22:53 <+MrHairgrease> yeah 22:53 <@rizen> colin is the man 22:53 <+MrHairgrease> and they forces some sort of uniformity througout the module 22:54 <@rizen> that's also true 22:54 <+MrHairgrease> yeah colin rocks 22:55 <+MrHairgrease> hey, there are weird chrachters in Cart.pm 22:55 <+MrHairgrease> Returns a duplicated hash reference of this object?~@~Ys data. 22:55 <+MrHairgrease> that's how they show in vim 22:56 <+MrHairgrease> Returns a duplicated hash reference of this object<80><99>s data. <= is what less shows 22:58 <+MrHairgrease> rizen: where's the cart supposed to be passed to the paydriver? 22:58 <+MrHairgrease> i guess in new 22:58 <+MrHairgrease> WG::S::PayDriver->new(pgID, $cart); 22:59 <+MrHairgrease> and WG::S::Pay->getPayDriver($pgId, $cart); 23:00 <@rizen> weird...i'll have to get that fixed for sure 23:00 <@rizen> what line is that on 23:01 <@rizen> actually no those aren't getting passed in there like that 23:01 <+MrHairgrease> 154 23:01 <@rizen> though that might not be a bad idea 23:01 <+MrHairgrease> then how? 23:01 <+MrHairgrease> though setCart? 23:01 <+MrHairgrease> does that make sense? 23:01 <@rizen> if you just did a $cart = WebGUI::Shop::Cart->create(); it will give you a reference to the cart 23:01 <+MrHairgrease> I mean, you need a cart in order to pay 23:02 <@rizen> cuz it's tied to the session 23:02 <+MrHairgrease> hmm 23:02 <@rizen> i know that create is a bad name for it 23:02 <@rizen> but it creates it if it doesn't exist 23:02 <+MrHairgrease> then why does Pay->getOptions require a cart to be passed? 23:02 <@rizen> hmmm...did i write anything down for this in the docs 23:03 <+MrHairgrease> well, if create is a bad name, why not add a class method, getCartForUser 23:04 <+MrHairgrease> which will return the session cart, or... 23:04 <+MrHairgrease> calls create and then return the cart 23:05 <@rizen> that's probably a good name 23:05 <@rizen> or a good way to do it 23:06 <+MrHairgrease> I'll add a getCart method to PayDriver.pm 23:06 <@rizen> hold your horsefeathres 23:06 <+MrHairgrease> and then we can always decide how to pass the cart to the paydriver 23:06 <+MrHairgrease> what's wrong with that? 23:06 <@rizen> the reason that getOptions passes a cart is because the cart is already instanciated and there's no reason to do it again 23:06 <@rizen> however 23:07 <+MrHairgrease> oh does it? 23:07 <@rizen> we need to be able to instanciate the driver without a cart 23:07 <+MrHairgrease> let me check 23:07 <@rizen> because you need it for the configure drivers screen 23:07 <+MrHairgrease> true 23:08 <@rizen> can you hear my brain wheels turning? 23:08 <@rizen> =) 23:08 <+MrHairgrease> no 23:08 <+MrHairgrease> but I have garagepunk.com on 23:08 <@preaction> you put wd-40 on the hamster wheel, remember jt? 23:08 <@rizen> actually a getCart method is a good idea 23:08 <+MrHairgrease> I know 23:08 <@rizen> because once you get to the payment screen 23:09 <@rizen> cart is out of it 23:09 <@rizen> so you will need to instanciate the cart a again 23:09 <+MrHairgrease> also, you don't wanna do WG::S::Cart->create in every sub of a paydriver 23:09 <+MrHairgrease> you want to provide that from the driver framework 23:10 <@rizen> listen here whiper snapper 23:10 <@rizen> i was coding perl when you were still a single celled organism 23:10 <@rizen> = 23:10 <@rizen> =) 23:10 <+MrHairgrease> you mean when i was on par with you? 23:11 <+MrHairgrease> but i must admit, webgui's got me started codiung perl 23:11 <+MrHairgrease> so thanks for that 23:11 <+MrHairgrease> =) 23:12 <+MrHairgrease> heh, whiper snapper. Is that someone with a grudge against cars? 23:12 <@rizen> it's actually "whip"er not "wipe"er 23:12 <+MrHairgrease> funny how much a single character can change 23:13 <+MrHairgrease> oh crap 23:13 <+MrHairgrease> there i go 23:13 <+MrHairgrease> i thought it was with two p's 23:13 <@rizen> whipper snapper 23:13 <@rizen> i just sepellde it wrong 23:13 <@rizen> like my spelling for sepellde 23:13 <+MrHairgrease> bad spelers of the world untie! 23:14 <@rizen> hehe 23:14 <+MrHairgrease> I think roy use to say that all the time =) 23:16 <+MrHairgrease> so... which method can I use in getCart? getCartForUser? 23:16 <@rizen> you should create a method in PayDriver called getCart which then calls WebGUI::Shop::Cart->getCartForUser($session) 23:17 <+MrHairgrease> that's what I meant 23:17 <@rizen> actually, let's call it getCartBySession 23:17 <@rizen> that's more accurate 23:17 <+MrHairgrease> ok 23:18 <@rizen> I'm adding the method to cart now 23:18 <+MrHairgrease> yeah, I'm adding it to PayDriver 23:19 <+MrHairgrease> should there be exception throwing in getCart? 23:19 <+MrHairgrease> that is, check whether the returned object isa cart? 23:19 <+MrHairgrease> my guess is no, since that's something the test suite should be able to find 23:27 <@rizen> if a cart object isn't created, then the cart itself will throw exceptions 23:27 <+MrHairgrease> ah what i was waiting for 23:28 <+MrHairgrease> prove says it's ok! 23:28 <+MrHairgrease> committng 23:29 <+MrHairgrease> ok 23:29 <+MrHairgrease> committed 23:31 <+MrHairgrease> is there going to be a form plugin for the addressbook? 23:41 -!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit ["Exit- stage left"] 23:46 < CIA-22> WebGUI: jt * r5804 /branch/WebGUI_Commerce/ (4 files in 3 dirs): added getCartBySession() 23:46 < CIA-22> WebGUI: martin * r5805 /branch/WebGUI_Commerce/ (lib/WebGUI/Shop/PayDriver.pm t/Shop/PayDriver.t): Adding the getCart method to PayDriver.pm 23:51 < perlmonkey2> Could someone explain what the ldapPasswordName field in ldapLink table is for? 23:51 <@rizen> form plugin? 23:51 <@rizen> oh to choose an address 23:51 <+MrHairgrease> yeah 23:51 <@rizen> i hadn't thought of that 23:52 <@rizen> i thought that it would be better if people were redirected to the address book 23:52 <@rizen> so they can create new addresses 23:52 <@rizen> see what's there 23:52 <@rizen> etc 23:52 <@rizen> like it is done with shipping 23:52 <+MrHairgrease> oh ok 23:52 <+MrHairgrease> i'll check out how shipping does it 23:52 <@rizen> i mimiced the way it is done on amazon 23:52 <+MrHairgrease> ok 23:53 <+MrHairgrease> never bought anything there 23:53 <@rizen> ldapPasswordName is just a label 23:53 <@rizen> it is used to describe the password in a way that is familiar to your users 23:53 <@rizen> for example 23:54 <@rizen> you might say your "Windows Password" 23:54 <@rizen> or your "Active Directory" password 23:54 <@rizen> or your "Novell Groupwise Password" 23:54 < perlmonkey2> So it is for the template for when the users are creating their accounts? 23:54 <@rizen> most companies don't portray "LDAP" as a system 23:54 <@rizen> they talk about the thing that's running ldap 23:54 <@rizen> yup 23:54 <@rizen> and when they log in 23:55 <@rizen> it actually shouldn't be in the LDAP connection manager 23:55 <@rizen> but whoever converted LDAP from settings to the connection manager moved it 23:55 <@rizen> and i haven't moved it back 23:56 < perlmonkey2> I'm thinking I need your admin book, because to turn a uid into a dn, we have strange fields in our ldap search. Our uid is actually a 'mailNickname' in the return message, and the dn is in 'objectName' in the return message. 23:57 <@rizen> that's no problem 23:57 <@rizen> when you create an account you can search based upon mailNickname 23:57 <@rizen> and then the dn is returned 23:57 <@rizen> and stored with the user account 23:58 <@rizen> but their username is still their mailNickname 23:58 <@rizen> the dn is just attached to the account 23:58 <@rizen> not used as the username 23:58 < perlmonkey2> That is what I tried to do. So good, it looks like I'm on the right track, just need to probably tackle the ssl issue. 23:59 < perlmonkey2> I created an ldaplink with ldapIdentity as mailNickname and ldapIdentityName as objectName and ldapPasswordName as School password. --- Day changed Fri Mar 14 2008 00:00 < perlmonkey2> ldapUserRDN is our search filter for the user objectName. So I guess that should all work :) 00:00 <@rizen> i believe that ldapIdentityName is also just a label 00:00 <@rizen> but i don't work with the ldap stuff often, so yes you should consult the admin guide 00:01 < perlmonkey2> cool, thanks rizen 00:03 -!- lisette [n=liraos@static-adsl201-232-86-73.epm.net.co] has left #webgui [] 00:11 -!- perlmonkey2 [n=perlmonk@casr-dev.fwsm2ppuser.ou.edu] has quit ["going home"] 00:23 <+MrHairgrease> rizen: May I assume that AddressBook www_view is still just more or less a placeholder? 00:23 <+MrHairgrease> I'm asking since a lot of stuff seems hard coded 00:24 <+MrHairgrease> like the useButton tmpl_var 00:24 <@rizen> yes, it needs to be changed so it is not hard coded 00:24 <+MrHairgrease> ok 00:24 <@rizen> i wasn't sure how to do that when i wrote it, so i just hard coded everything 00:24 <@rizen> that's pretty much true of all the www_ methods in AddressBook 00:24 <+MrHairgrease> and the plugins should provide the correct method names and stuff i guess 00:24 <@rizen> right 00:25 <+MrHairgrease> ok 00:25 <+MrHairgrease> at first it confused me a bit 00:25 <+MrHairgrease> but I'm getting the hang of the whole 00:25 <@rizen> I think that the way to do it is to pass a url string into www_view that represents where to go when you "select" an address 00:25 <@rizen> and then pass that into the form header when it's time to come out 00:25 <@rizen> and it will auto generate the necessary hidden fields 00:26 <@rizen> because if you do /somepage?this=that;foo=bar 00:26 <+MrHairgrease> so you want to put GET params in a form header? 00:26 <@rizen> WebGUI::Form::formHeader is smart enough to turn that action into /somepage 00:26 <@rizen> and this,that/foo,bar 00:26 <@rizen> into hidden fields 00:26 <+MrHairgrease> oh 00:26 <+MrHairgrease> I see 00:27 <@rizen> i made it smart 00:27 <@rizen> cuz i've seen lots of developers screw that up 00:27 <+MrHairgrease> still looks a bit hacky to me 00:27 <+MrHairgrease> but that could be me 00:27 <@rizen> well if you can think of a better way to do it, i'm all earse 00:27 <@rizen> ears 00:28 <+MrHairgrease> I'd pass an action url, a method name, and optionally a hashref with your custom key/value pairs. 00:29 <+MrHairgrease> it seems cleaner since the necessary params are not 'hidden' in GET params 00:29 <+MrHairgrease> also it makes error checking easyer 00:30 <@rizen> ok, then why not put method name into that hashref cuz that's also one of you key value pairs 00:30 <@rizen> cuz this thing will also end up being used by commerce assets 00:30 <@rizen> like Event Manager 00:30 <+MrHairgrease> ie. you can throw exceptions for each missing param in stead of having to parse that string 00:30 <@rizen> where you tie an address to a badge 00:30 <@rizen> and there is no "method" 00:30 <@rizen> there is a "func" 00:30 <+MrHairgrease> hmm i see 00:31 <+MrHairgrease> i'll give it a thought 00:31 <@rizen> i think you're on the right track though 00:31 <@rizen> a url and a hash ref of hidden values 00:31 <+MrHairgrease> yeah 00:31 <@rizen> oh but the hash ref of hidden values needs a way to be passed between forms 00:31 <+MrHairgrease> that's better than a GET url 00:31 <@rizen> because the user will be in the address book a while 00:32 <@rizen> so you'll have to serialize it into json in the address book, and then deserialize it on the way out 00:32 <+MrHairgrease> the same app;lies for a GET ur 00:32 <@rizen> they'll go in there, then add an address 00:32 <@rizen> no, the get url could just be a hidden field 00:32 <@rizen> no serialziation 00:32 <@rizen> but i don't care 00:32 <@rizen> i like your way better 00:32 <@rizen> and using json serialization 00:33 <+MrHairgrease> if you'd use a hidden field, that field has to be passed in each screen 00:33 <+MrHairgrease> eror prone imho 00:33 <@rizen> yeah 00:33 <@rizen> what else will you do? 00:33 <+MrHairgrease> I guess a scrath var is much better 00:33 <@rizen> it has to maintain state in a stateless environment 00:33 <@rizen> that maintains state, but what if the user leaves the address book 00:34 <@rizen> without setting an address 00:34 <@rizen> i guess it will just be overwritten by the next thing that sends them to the address book 00:34 <@rizen> i guess that's not so bad 00:37 <+MrHairgrease> and when properly leaving though a setAddress method you can clear the flag 00:39 <@rizen> it doesn't need to be cleared 00:39 <@rizen> since it gets overwritten each time you enter the address book 00:39 <+MrHairgrease> true 00:40 <@rizen> MrHairgrease: you're brilliant! 00:40 * MrHairgrease knows 00:40 <@rizen> i knew there was a reason i put up with your eurotrashy ways =) 00:40 <+MrHairgrease> oh come to think of it 00:40 < CIA-22> WebGUI: graham * r5806 /WebGUI/sbin/spectre.pl: fixed: spectre outputs errors to file named /STDIN 00:40 < CIA-22> WebGUI: graham * r5807 /WebGUI/ (lib/WebGUI/Asset/Wobject/Thingy.pm t/Asset/Event.t): Fix test failures 00:40 < CIA-22> WebGUI: graham * r5808 /WebGUI/docs/create.sql: preparing for 7.5.6 release 00:41 <+MrHairgrease> if some user is using the address book in two tabs 00:41 <+MrHairgrease> we run into problems 00:41 <@rizen> that's true 00:41 <@rizen> so passing it through a hidden field is back into prominence 00:41 <+MrHairgrease> yeah 00:42 <+MrHairgrease> a hybrid solution could be still storing all the data in scratch 00:42 <+MrHairgrease> but pass along some id that identifies the scratch in a hidden field 00:42 <+MrHairgrease> but maybe that's overcomplicating it 00:43 <@rizen> that's only useful if you think the json data will get corrupted passing it through the form fields 00:43 <@rizen> which is not a big concern for me really. i pass json through form fields all the time 00:43 <+MrHairgrease> that was one of the 'error prone' concerns 00:43 <+MrHairgrease> oh ok 00:43 <+MrHairgrease> either way 00:44 <+MrHairgrease> if we need to pass stuff around in hidden fields 00:44 <@rizen> in fact, the wreconsole.pl keeps track of everything in a hidden json field 00:44 <@rizen> while you're going through the wizard 00:44 <+MrHairgrease> i think there should be a method called AdressBook->getForm or so 00:45 <+MrHairgrease> that would set up the form header stuff for you and return a HTLForm object 00:45 <+MrHairgrease> or something along those lines 00:46 <+MrHairgrease> so it will be easy to change things in the passing along and also to reduce errors 00:46 <+MrHairgrease> s/errors/bugs/ 00:46 <+MrHairgrease> and minimize code dupliaction 00:46 <@rizen> sounds fine to me 00:47 <+MrHairgrease> great 00:47 <+MrHairgrease> it's cool to do some core dev stuff again 00:48 <@rizen> i'm using Komodo to get used to using an IDE per my WebGUI SDK comments on the mailing list yesterday 00:48 <@rizen> and so far it's pretty cool 00:48 <+MrHairgrease> I stick with vim if you don't mind 00:50 <@rizen> yeah, i love vim 00:50 <@rizen> if it weren't for me wanting webgui to get more adoption i'd stick with vim too 00:50 <@rizen> but i think if we want devs to really start writing a lot for webgui 00:50 <@rizen> we need to give them a tool that most devs are used to 00:50 <@rizen> and that means a GUI IDE 00:51 <+MrHairgrease> yeah that could very well be 00:51 <@rizen> if nothing else it will make it easier for noobs to get into webgui dev 00:51 <+MrHairgrease> since I started doing webgui stuff, almost all my coding has been done on a remote box 00:52 <@rizen> komodo can edit files remotely 00:52 <+MrHairgrease> I think it's getting harder and harder to get into webgui just because of the sheer api size 00:52 <@rizen> i agree with that 00:52 <@rizen> which is where wizards come in 00:52 <@rizen> in an ide 00:53 <+MrHairgrease> for me it's not a real problem since i've 'grown up' with it 00:53 <+MrHairgrease> ok 00:53 <+MrHairgrease> maybe i'll check komodo out to see what it is 00:53 <@rizen> but i'm also thinking that it will be like the WRE 00:53 <@rizen> at first people will be leary 00:53 <+MrHairgrease> but not anytime soon i'm afraid 00:53 <@rizen> and stay away from it 00:53 <@rizen> but after a while, it will become so cool that everyone just uses it 00:54 <+MrHairgrease> i certainly hope so 00:54 <@rizen> the best part is that there is both a free and commercial version of komodo 00:54 <@rizen> so the free version helps get people hooked...it's one less barrier to entry 00:54 <@rizen> also, it works on mac, windows, and linux 00:55 <+MrHairgrease> ok sound pretty cool 00:55 <@rizen> plus writing extensions for komodo is pretty easy because komodo is written in mozilla 00:55 <@rizen> so it uses xpi, javascript, etc 00:55 <@rizen> just like firefox extensions 00:56 <+MrHairgrease> you just used javascript and pretty easy in one sentence... 00:57 <@rizen> pretty was referring to easy not javascript 00:57 <@rizen> =) 00:57 <@rizen> at least you don't have to write extensions in c++ 00:58 <+MrHairgrease> i had to learn c++ for a lab course about 6 years ago or so 00:58 <+MrHairgrease> on of the guys taking it did it in assembly 00:58 <@rizen> i had to hack a bunch of c++ years ago 00:58 <+MrHairgrease> you should have seen the look on the face of the assitent when he handed it in 00:58 <+MrHairgrease> on chainpaper of course 01:01 <@rizen> i'm sure 01:10 < CIA-22> WebGUI: graham * r5809 /WebGUI/lib/WebGUI/Cache/Database.pm: protect against database cache corruption 01:19 -!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit [] 01:26 -!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"] 01:32 -!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI 01:34 -!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has left #webgui [] 01:39 < CIA-22> WebGUI: jt * r5810 /releases/WebGUI_7.5.6-beta: Release 7.5.6-beta 01:39 < CIA-22> WebGUI: graham * r5811 /WebGUI/ (4 files in 4 dirs): preparing for 7.5.7 01:49 -!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui 01:49 -!- mode/#webgui [+v Radix-wrk] by ChanServ 02:05 -!- rizen [n=rizen@97-87-62-91.dhcp.mdsn.wi.charter.com] has joined #webgui 02:05 -!- mode/#webgui [+o rizen] by ChanServ 02:16 -!- Haarg [n=haarg@97-87-62-91.dhcp.mdsn.wi.charter.com] has joined #webgui 02:17 -!- mode/#webgui [+o Haarg] by ChanServ 02:17 -!- rizen [n=rizen@97-87-62-91.dhcp.mdsn.wi.charter.com] has quit [] 02:50 -!- Haarg [n=haarg@97-87-62-91.dhcp.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"] 03:41 -!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has joined #webgui 03:41 -!- mode/#webgui [+v Radix_] by ChanServ 03:42 -!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: ckotil, Radix__, diakopter 03:43 -!- Netsplit over, joins: diakopter 03:44 -!- Netsplit over, joins: ckotil 04:11 -!- Haarg [n=haarg@97-87-62-91.dhcp.mdsn.wi.charter.com] has joined #webgui 04:11 -!- mode/#webgui [+o Haarg] by ChanServ 04:12 -!- Haarg [n=haarg@97-87-62-91.dhcp.mdsn.wi.charter.com] has quit [Client Quit] 05:32 -!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI 05:34 < elnino> hello. 05:36 < elnino> I see in 7.4.26 that we can put extra parameters in the db connection definition, and since my recent upgrade from 7.21, one of my queries no longer returns anything. and I was wonderting, with the addition of the capability of adding db parameters, I was wondering if you had removed some that were "default" in the code that made my query work at the time. 05:38 <@preaction> elnino, did you check the gotchas? 05:39 < elnino> Good point, I did, but it probably didn't mean anything at the time. I'll read them again. Thanks! 05:39 -!- Haarg [n=haarg@24-177-119-178.dhcp.mdsn.wi.charter.com] has joined #webgui 05:39 -!- mode/#webgui [+o Haarg] by ChanServ 05:42 <@preaction> elnino, there were no changes to anything having to do with DatabaseLinks, so it might be something else 05:42 < elnino> ok. the gotcha says that it lo longer sets the LongReadLen and LongTruncOk for odbc dbs (which is what this is) Is there some code somehere I can look at to find out what you used to set them to? 05:42 <@preaction> there shouldn't be new features added to any 7.4 05:42 <@preaction> old revisions in SVN perhaps 05:43 <@preaction> probably SQL.pm 05:43 < elnino> ok. I went from 7.2 to 7.4.26 and this happened in 7.4, I'll look there. Thanks 05:44 <@preaction> oh, you went from a long time ago 05:44 <@preaction> does it say which version it was done in? 05:44 < elnino> 7.4 05:44 <@preaction> 7.4.? 05:45 < elnino> 7.4.0 according to the gotcha, I have all my other backups. and found the code. Thanks for your help! 05:45 < elnino> somebody may want to add that the LongRedLen was set to 512*1025 05:46 < elnino> and longtruncok = 1 05:46 < elnino> to the gotcha file. 05:47 <@preaction> i would think that it might be better to just add those things if the user has any ODBC DatabaseLinks 05:49 < elnino> Well, perhaps, but I didn't know that I would need such things. I put a bug request to update the gotcha for someone else like me. =) 05:50 <@preaction> sounds good 05:51 < elnino> Thanks again for your invaluable help! 06:01 <@apeiron> Happy pi day, all. 06:17 < elnino> hmmm. I was wrong, this is dbi:MaxDB that I'm connecting with, and adding ongReadLen and LongTruncOk didn't work. I don't see anything in SQL.pm about setting anything else. 06:18 < elnino> If I run the sql directly on the db, it returns 78 records, but it returns nothing when run vie webgui's sql report. so something weird is going on. 06:19 <@preaction> anything in the error log? 06:24 < elnino> apparantly while trying to rotate my webgui logs, nothing is being written anymore. =( crud. I guess I'll go fix that first. 06:30 < elnino> arg. so what should the permissions be on the webgui.log file? 06:30 < elnino> never mind. 06:32 <@preaction> 755. as long as the apache user can write, that's about all that's necessary 06:38 < elnino> ok. got that working. just restarted apache for some reason. 06:40 < elnino> I hit the page seveal times, and nothing comes up in the eror log about that sql report or the database or the databse name. 06:41 <@preaction> is your loglevel set to warn or debug? that's about all i can think of 06:43 < elnino> I set it back to default: warn 06:44 <@preaction> if you set it higher (debug or info) it might give more information. i don't know though 06:47 < elnino> so do i have to restart apache or just spectre to reread the log.conf? 06:50 <@preaction> apache 06:54 < elnino> ok. I had it at at debug, hit the sqlreport a couple times, and turned if off in the loging. looked at the log, and there is nothing there, other than the print out of the query I'm running. 06:55 < elnino> I did noticed that in the debug statements, there are a bunch of ^M,s, where as in the rest of the log there aren't any. 06:55 < elnino> Could it be that it's reading the ^M as invalid sql? 06:55 <@preaction> sounds likely 06:56 < elnino> I'll try to remove the carrage returns. 07:12 < elnino> nope no go. I removed all linefeeds/cariage returns. 07:14 <@apeiron> s/755/644/ # no need to give execute permissions to a log file 07:16 <@apeiron> elnino, Tried copy/pasting the query that's giving you problems from a log file into the mysql client? 07:16 <@apeiron> Also, if you're running DEBUG, you should be getting that information anyway, with placeholders... 07:20 < elnino> yes. that's the first thing I did. The query stoped working when I did the upgrade. My other queries work that hit that database. This particular query has long fileds, so I thought maybe it was affected by the database parameters that changed from 7.2 to 7.4.x 07:50 < elnino> Another very unrelated question - it seems that when you edit a file piled document and you *don't* upload a new file, the /upload/path/to/file still changes. is that how it's upposed to be? 07:56 <@preaction> yes, for some reason 07:58 <@preaction> if there isn't an RFE to change that to only when a new file is uploaded, please add one 08:05 < elnino> absolutely I will, its a frustrating when the file time/date changes when it really doesn't. 08:09 < elnino> done. 08:23 -!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: elnino 08:23 -!- Netsplit over, joins: elnino 08:33 -!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has quit ["Leaving"] 08:47 -!- ryuu_ro [n=rory@194.171.50.69] has joined #webgui 09:57 -!- Radix-wrk [n=Jesse@203.161.68.67] has quit ["Leaving"] 09:59 -!- nuba [n=nuba@hq.imaterial.org] has quit [Read error: 104 (Connection reset by peer)] 10:05 -!- nuba [n=nuba@hq.imaterial.org] has joined #webgui 11:35 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)] 13:16 -!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has quit ["Leaving"] 14:38 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui 14:49 < ckotil> looks like someone spammed the wiki. 15:20 -!- perlmonkey3 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui 15:21 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [Nick collision from services.] 15:21 -!- perlmonkey3 is now known as perlmonkey2 15:31 -!- MrHairgrease [n=martin@194.171.50.69] has joined #webgui 15:31 -!- mode/#webgui [+v MrHairgrease] by ChanServ 15:35 -!- SDuensin [n=Scott@251.sub-75-206-117.myvzw.com] has joined #WebGUI 15:38 < SDuensin> Morning. 15:42 <+MrHairgrease> greetings! 15:52 < perlmonkey2> hola 15:53 -!- Haarg [n=haarg@24-177-119-178.dhcp.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"] 16:11 -!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui 16:11 -!- mode/#webgui [+o Haarg] by ChanServ 16:30 -!- lisette [n=liraos@static-adsl201-232-86-73.epm.net.co] has joined #webgui 16:30 < lisette> hello 16:31 < lisette> i can return a hash from a macro and process with javascript? 16:33 <+MrHairgrease> use JSON 16:33 <+MrHairgrease> in your macro put 16:33 <+MrHairgrease> return JSON->new->to_json( $hashRef ); 16:34 < lisette> and how to process with JS? 16:34 <+MrHairgrease> google on JSON and read the dics 16:34 <+MrHairgrease> docs* 16:35 < lisette> i process like a array? 16:35 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [No route to host] 16:36 <+MrHairgrease> read the docs on json 16:39 < lisette> i don't know how to 16:40 <+MrHairgrease> you must be kidding me 16:40 <+MrHairgrease> you know what google is right? 16:43 < lisette> yes 16:43 <+MrHairgrease> then, how can you say you don't know how to google for the json documentation? 16:44 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui 16:44 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [Client Quit] 16:46 < lisette> i found how to 16:46 < lisette> thanks 17:10 -!- juan [n=juangui@static-adsl201-232-86-73.epm.net.co] has joined #webgui 17:10 < juan> hello 17:14 < juan> i have a question related to dataforms, i have created a dataform with two fields, one of them is status hidden and type text. i have the firefox extension web developer and when i turn admin off and use this extension to see the form details, i can not see the details for the field that is hidden 17:15 <+Radix_> no, it's actually hidden 17:16 < juan> besides i have a macro when i get the parameters, so if i try to get the value for the field that is hidden, it doesn't return any value 17:16 < juan> if i put a default value to this hidden field, can i use it in a macro? 17:16 <+Radix_> you will have to change the template then if you want it in the html 17:17 < juan> but i want it in html but the users can see the field 17:19 <+Radix_> if you want the field visible to the user, then it's not hidden is it? :) 17:19 < juan> excuseme the users can not see it 17:20 <+Radix_> yeah, you'll need to tweak the template for the dataform then 17:20 <+Radix_> if you look at the code there's a check for hidden 17:21 <+Radix_> I had to do the same thing for my own dataform wrappers and javascript validation script 17:29 -!- khenn [n=khenn@24-159-239-186.dhcp.mdsn.wi.charter.com] has joined #WebGUI 17:29 -!- mode/#webgui [+o khenn] by ChanServ 17:29 -!- khenn [n=khenn@24-159-239-186.dhcp.mdsn.wi.charter.com] has left #WebGUI [] 17:40 < juan> radix_, if in an article i put some html using the html bottom, can i call a macro there? 17:47 -!- ryuu_ro [n=rory@194.171.50.69] has quit [] 17:51 <+Radix_> sure 17:57 -!- MrHairgrease [n=martin@194.171.50.69] has left #webgui [] 18:06 -!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui 18:06 -!- mode/#webgui [+o rizen] by ChanServ 18:22 -!- wgGuest34 [n=wgGuest3@204.248.118.31] has joined #webgui 18:25 -!- perlmonkey2 [n=perlmonk@casr-dev.fwsm2ppuser.ou.edu] has joined #webgui 18:25 -!- wgGuest34 [n=wgGuest3@204.248.118.31] has quit [Client Quit] 18:31 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui 18:32 -!- mode/#webgui [+o preaction] by ChanServ 19:30 < ckotil> What am I doing wrong here when defining this scratch variable in my template? 19:30 < ckotil> Then I want to use the scratch variable in a hello 22:17 -!- perlmonkey2 [n=perlmonk@casr-dev.fwsm2ppuser.ou.edu] has quit ["Leaving."] 22:17 < juan> do you know how to convert the date stored in webgui to real dates? 22:18 <@preaction> the ^D(); macro works well 22:18 <@preaction> they're just epoch times, so anything that works with epoch times will work 22:20 <@rizen> if you're working from the api then you can use $session->datetime->epochToHuman(); 22:20 < juan> i think that you are talking about the D_date macro 22:21 <@preaction> yes 22:21 < juan> ok 22:21 < juan> thanks 22:21 <@preaction> it's ^D(); in the templates, and D_date in the lib/WebGUI/Macro 22:21 < juan> ok 22:28 -!- ryuu_ro [n=rory@c529ce350.cable.wanadoo.nl] has quit [] 22:41 < juan> preaction, if i want to call the ^D macro inside the other macro, is it possible? 22:41 <@preaction> juan, try it and see 22:42 < juan> i have tried 22:42 < juan> but i obtained an error 22:50 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui 23:31 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."] 23:31 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui 23:32 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [Client Quit] 23:33 -!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit [Remote closed the connection] 23:33 -!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has quit ["Leaving"] 23:39 -!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui 23:39 -!- mode/#webgui [+o Haarg] by ChanServ 23:39 -!- juan [n=juangui@static-adsl201-232-86-73.epm.net.co] has left #webgui [] 23:48 -!- lisette [n=liraos@static-adsl201-232-86-73.epm.net.co] has left #webgui [] --- Day changed Sat Mar 15 2008 00:09 -!- juan [n=juangui@static-adsl201-232-86-73.epm.net.co] has joined #webgui 00:09 < juan> hello 00:09 < juan> i have an error with a collaboration system 00:10 < juan> I don't know what happen but a collaboration system disappears in my site 00:11 < juan> o looked for it and i found it in the clipboard 00:11 < juan> i restored but only the admin user can see ti 00:12 < juan> i checked the security permissions and everyone is enable to see it 00:12 < juan> i deleted cache 00:12 < juan> besides i didn't see anything in webgui.log 00:13 < juan> do you know what is happening? 00:17 <@apeiron> juan, Did you commit it? 01:03 < CIA-22> WebGUI: jt * r5812 /branch/WebGUI_Commerce/ (5 files in 3 dirs): transaction backend and tests complete 01:06 -!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has left #webgui [] 01:07 -!- juan [n=juangui@static-adsl201-232-86-73.epm.net.co] has left #webgui [] 01:16 -!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"] 01:33 -!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui 01:42 -!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI 01:53 -!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit [Remote closed the connection] 03:33 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)] 08:05 -!- Haarg [n=haarg@24-177-119-178.dhcp.mdsn.wi.charter.com] has joined #webgui 08:05 -!- mode/#webgui [+o Haarg] by ChanServ 08:32 -!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has quit [Read error: 104 (Connection reset by peer)] 08:33 -!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has joined #webgui 08:33 -!- mode/#webgui [+v Radix_] by ChanServ 11:07 -!- Haarg [n=haarg@24-177-119-178.dhcp.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"] 11:17 -!- Haarg [n=haarg@24-177-119-178.dhcp.mdsn.wi.charter.com] has joined #webgui 11:17 -!- mode/#webgui [+o Haarg] by ChanServ 12:59 -!- Haarg [n=haarg@24-177-119-178.dhcp.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"] 18:18 < CIA-22> WebGUI: yung * r5813 /WebGUI/ (lib/WebGUI/Asset/Wobject/Thingy.pm t/Asset/Wobject/Thingy.t): fix: defaultThingId was not automatically set after creating first thing, also added a test for this. 18:34 < CIA-22> WebGUI: yung * r5814 /WebGUI/lib/WebGUI/Asset/ (Wobject.pm Wobject/Thingy.pm): Collateral methods now quote table/column names. Removed Collateral methods from Thingy asset. 19:33 < CIA-22> WebGUI: jt * r5815 /branch/WebGUI_Commerce/www/extras/ (layout_sprite.png yui resize.css resize-skin.css): merging new yui 19:51 < CIA-22> WebGUI: jt * r5816 /Too many paths: merging new yui 19:53 -!- Haarg [n=haarg@24-177-119-178.dhcp.mdsn.wi.charter.com] has joined #webgui 19:53 -!- mode/#webgui [+o Haarg] by ChanServ 20:08 -!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui 21:34 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui 21:34 -!- mode/#webgui [+o preaction] by ChanServ 22:05 < CIA-22> WebGUI: jt * r5817 /branch/WebGUI_Commerce/lib/WebGUI/ (6 files in 4 dirs): 22:05 < CIA-22> WebGUI: started on transaction management interface 22:05 < CIA-22> WebGUI: finished merging new yui 22:08 -!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has quit [Read error: 110 (Connection timed out)] 22:24 -!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui 22:24 -!- mode/#webgui [+o rizen] by ChanServ 22:24 -!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit [Client Quit] 23:09 < diakopter> perlDreamer: where are you 23:48 -!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui 23:48 -!- mode/#webgui [+o apeiron] by ChanServ --- Day changed Sun Mar 16 2008 00:39 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui 01:42 < CIA-22> WebGUI: yung * r5818 /WebGUI/lib/WebGUI/ (Help/Asset_Thingy.pm i18n/English/Asset_Thingy.pm): Fixed some labels, added some help. 07:14 -!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit ["Exit- stage left"] 13:03 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)] 15:17 -!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui 17:41 -!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit ["Exit- stage left"] 17:42 -!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui 17:46 -!- SynQ [n=koen@e97024.upc-e.chello.nl] has joined #WebGUI 17:46 < SynQ> howdy 17:52 < SynQ> oh wait 17:52 < SynQ> it's sunday 17:53 < SynQ> there is no life here on sunday 19:26 -!- WorkingOnWise [n=workingo@68-188-193-183.dhcp.mrqt.mi.charter.com] has joined #webgui 19:28 -!- WorkingOnWise [n=workingo@68-188-193-183.dhcp.mrqt.mi.charter.com] has left #webgui [] 19:30 -!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit ["Exit- stage left"] 19:32 -!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui 19:50 -!- zylopfa [n=zylopfa@port111.ds1-vby.adsl.cybercity.dk] has joined #webgui 19:51 < zylopfa> Greetings 19:51 < zylopfa> I am new to webgui but seasoned in perl and i'd like to know more about file operations under the webgui api 19:52 < zylopfa> I am making a macro that will create a xml playlist from files in a directory where files is uploaded via filepile 19:52 < zylopfa> but how do i list files in directories within webgui? 19:52 < zylopfa> and how do i open the files and such 20:25 < zylopfa> sometimes i just wanna program outside of the webgu api cause in order for me to do anything i have to read through tons of module files and will be lucky if i find a function to do what i want 20:26 < zylopfa> guess no one can help 20:26 < zylopfa> bye 20:26 -!- zylopfa [n=zylopfa@port111.ds1-vby.adsl.cybercity.dk] has left #webgui ["Leaving"] 20:42 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui 20:42 -!- mode/#webgui [+o preaction] by ChanServ 20:52 -!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit ["Exit- stage left"] 20:54 -!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui 20:57 -!- BartJol [n=plainstu@54-167.surfsnel.dsl.internl.net] has joined #webgui 21:00 -!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit [Remote closed the connection] 22:28 -!- BartJol [n=plainstu@54-167.surfsnel.dsl.internl.net] has quit [Read error: 113 (No route to host)] 22:34 -!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui 22:36 -!- wgGuest54 [n=wgGuest5@cpe-70-123-157-171.austin.res.rr.com] has joined #webgui 22:36 < wgGuest54> hello? 22:42 <@preaction> hello 22:43 < wgGuest54> hi...quick question: is there a mechanism available in webgui whereby a java routine can be called while rendering a page? 22:45 <@preaction> uh... for what purpose? when do you need it to be called? why do you need it to be called? 22:45 < wgGuest54> it's a backend process that takes several parameters as input and would return a snippet of html... 22:46 < wgGuest54> so, think of it as similiar in concept to a macro or a sql report... 22:46 <@preaction> sounds like a macro, or rather, something that could be called via a macro 22:46 < wgGuest54> okay 22:46 <@preaction> perhaps Perl's Inline::Java could help? 22:47 < wgGuest54> possibly, although I think Inline may have some limitations...my thought was that someone in the webgui world may have encountered and worked through this...I'll do some additional digging 22:49 < wgGuest54> ¡muchas gracias! 22:52 -!- wgGuest54 [n=wgGuest5@cpe-70-123-157-171.austin.res.rr.com] has quit [] 23:01 * apeiron has evil, unholy thoughts of someone using parrot to redo WebGUI with RoR. --- Day changed Mon Mar 17 2008 00:07 -!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit ["Exit- stage left"] 00:28 -!- SynQ [n=koen@e97024.upc-e.chello.nl] has left #WebGUI [] 01:14 -!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui 01:14 -!- mode/#webgui [+v Radix-wrk] by ChanServ 01:34 -!- GooeyOfSteel [n=puppetma@hq.imaterial.org] has quit [Remote closed the connection] 01:34 -!- nuba [n=nuba@hq.imaterial.org] has quit [Remote closed the connection] 04:27 -!- Radix-wrk [n=Jesse@203.161.68.67] has quit [Read error: 104 (Connection reset by peer)] 04:30 -!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui 04:30 -!- mode/#webgui [+v Radix-wrk] by ChanServ 08:13 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Connection timed out] 08:36 -!- Radix-wrk [n=Jesse@203.161.68.67] has quit ["Leaving"] 08:47 -!- ryuu_ro [n=rory@194.171.50.69] has joined #webgui 08:52 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui 08:52 -!- mode/#webgui [+o preaction] by ChanServ 09:46 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Connection timed out] 10:36 -!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui 13:08 -!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has quit ["Leaving"] 14:49 -!- ryuu_ro_ [n=rory@194.171.50.69] has joined #webgui 14:49 -!- ryuu_ro [n=rory@194.171.50.69] has quit [Read error: 104 (Connection reset by peer)] 15:31 -!- SDuensin [n=Scott@165.sub-75-207-139.myvzw.com] has joined #WebGUI 15:31 -!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui 15:34 < SDuensin> Morning. 15:39 -!- dionak [n=diona@97.66.185.250] has joined #webgui 15:48 < CIA-22> WebGUI: graham * r5819 /Lift/ (43 files in 14 dirs): initial commit 15:54 -!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit [Remote closed the connection] 15:55 -!- lisette [n=liraos@static-adsl201-232-86-73.epm.net.co] has joined #webgui 17:12 -!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui 17:12 -!- mode/#webgui [+o rizen] by ChanServ 17:23 < perlmonkey2> Is there any reason I couldn't take the /data directory off one machine, copy it to another, and then install the WRE on that other machine to run WG? 17:33 -!- ryuu_ro_ [n=rory@194.171.50.69] has quit [] 17:49 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui 17:49 -!- mode/#webgui [+o preaction] by ChanServ 17:49 <@rizen> no 17:49 <@rizen> that's actually the point of the /data folder 18:02 -!- perlDreamer [n=ckuskie@nat039.mxim.com] has joined #webgui 18:02 -!- mode/#webgui [+v perlDreamer] by ChanServ 18:02 <+perlDreamer> Hey, all. I'm back from vacation. 18:08 -!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has quit ["Leaving."] 18:17 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."] 18:24 <@preaction> vacation? we all thought you were working 18:24 <+perlDreamer> no 18:25 <+perlDreamer> if I'm at work, I'm almost always on IRC 18:25 <@preaction> ah, the more I know! 18:25 <+perlDreamer> Went to Legoland, rode trains 18:25 <+perlDreamer> Went to Disneyland, rode trains 18:25 <@preaction> sweet 18:25 <+perlDreamer> Went to Griffith Park, rode trains 18:25 <+perlDreamer> Went to Union Station, rode trains 18:25 <@preaction> kids like trains? 18:25 <+perlDreamer> a lot 18:25 <+perlDreamer> we did some other stuff, too :) 18:25 <@preaction> good kids 18:26 <+perlDreamer> they want to visit rizen's house 18:26 <+perlDreamer> because it's next to train tracks 18:26 <@preaction> i love trains. can't wait to inherit grandpa's old O- and HO- scale model trains 18:26 <@preaction> ha 18:27 <@preaction> and before you start: i don't know what's happened to the test box, it's a hardware failure that I may have the parts to fix hopefully this week 18:27 <+perlDreamer> ah, okay 18:27 <+perlDreamer> I'm sorry this is such a huge hassle for you 18:28 <@preaction> it isn't, it's worth far more than the work i'll ever put into it 18:29 <@preaction> you rode Big Thunder Mountain Railroad, right? 18:30 <@rizen> i can't allow them to come here 18:30 <@preaction> and the Tomorrow-land tram thing? 18:30 <+perlDreamer> No, kids too young, dad too scared 18:30 <@preaction> oh, wait. Disneyland in CA or FL? 18:30 <@rizen> they're kids...they might infect me with kid stuff 18:30 <+perlDreamer> Rode the tram, Casey Jr, they even rode the Heimlick train in Bug land 18:30 <+perlDreamer> rizen: we'll wrap them in plastic 18:31 <@preaction> trick them with splash mountain. it's all fun and games until you get to the end 18:31 <+perlDreamer> they read an entire guide to Disney land, they knew more about it than I did :) 18:32 <@preaction> too much nollidg isn't good for a kid ;-) 18:34 <@rizen> perlDreamer: i build the start of the transaction management screen using the data table stuff..you may want to look at it to help you with the tax stuff 18:34 <+perlDreamer> cool, I dug a little into that, but didn't get too far 18:34 <+perlDreamer> do you like it? 18:36 <@rizen> yes 18:36 <@rizen> it's really sweet 18:37 <@rizen> after i set it up, i realized i want to retrofit a lot of the webgui admin screens to use it 18:37 <+perlDreamer> did you use client side, or server side pagination? 18:37 <@rizen> server side 18:38 <@rizen> because the transaction table could get HUGE after a while 18:45 <+perlDreamer> maybe we need a DataTable widget/form things :) 18:46 <@rizen> i can't imagine how you'd make that work 18:46 <@rizen> in a generic fashion 18:47 <+perlDreamer> I was thinking it would be nice to handle all the JS script inclusions and all 18:58 <@rizen> i'm not sure how you'd do that since you have to customize formatters and stuff 18:58 <@rizen> it would certainly be worth investigating though 18:59 <+perlDreamer> eh, it's just my js-phobia talking again 19:14 -!- dionak [n=diona@97.66.185.250] has quit [] 19:14 -!- dionak [n=diona@97.66.185.250] has joined #webgui 19:16 < CIA-22> WebGUI: meatbop * r5820 /WebGUI/www/extras/assets/ (small/Donation.gif Donation.gif): Added donation icons 19:16 < CIA-22> WebGUI: jt * r5821 /branch/WebGUI_Commerce/www/extras/assets/ (Donation.gif small/Donation.gif): merging new icon 19:16 < CIA-22> WebGUI: jt * r5822 /branch/WebGUI_Commerce/ (4 files in 4 dirs): fixed some bugs, added human friendly order number to transactions 19:41 -!- dionak [n=diona@97.66.185.250] has quit [] 19:41 -!- dionak [n=diona@97.66.185.250] has joined #webgui 20:00 < CIA-22> WebGUI: jt * r5823 /branch/WebGUI_Commerce/ (4 files in 3 dirs): added basic quantity checking for inventory management, and a dateAdded field to the cart in case we need to monitor how long items have been in the cart 20:00 < CIA-22> WebGUI: colin * r5824 /branch/WebGUI_Commerce/lib/WebGUI/Shop/ShipDriver/FlatRate.pm: fix syntax error in FlatRate, calculate 20:00 < CIA-22> WebGUI: colin * r5825 /branch/WebGUI_Commerce/t/Shop/ShipDriver/FlatRate.t: options access is now private, removing test. 20:00 <+perlDreamer> whole lot of test breakage happening 20:01 <@preaction> those mech tests are failing because our old test box doesn't have Test::WWW::Mech 20:02 <+perlDreamer> this is just in the Commerce branch 20:02 <@preaction> oh, good job guys 20:24 -!- dionak [n=diona@97.66.185.250] has quit [] 20:24 <+perlDreamer> a lot of it is just maintenance, code changed without changing the tests 20:24 -!- dionak [n=diona@97.66.185.250] has joined #webgui 20:29 -!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has joined #webgui 20:30 -!- mode/#webgui [+v MrHairgrease] by ChanServ 20:33 -!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui 20:42 < CIA-22> WebGUI: meatbop * r5826 /WebGUI/www/extras/assets/ (Sku.gif small/Sku.gif): Added sku icons 20:48 <@rizen> pd that's probably my fault 20:48 <@rizen> i'll fix it up 20:48 <+MrHairgrease> hey perldreamer is back! 20:56 <@rizen> there fixed the shipping errors 21:02 < CIA-22> WebGUI: jt * r5827 /branch/WebGUI_Commerce/t/Shop/ (Cart.t Ship.t): fixed bugs due to changes in code 21:05 <+MrHairgrease> how do these url handlers wor 21:05 <+MrHairgrease> eg. how do i get to the stuff in wg::url::shop? 21:06 <@rizen> pagename?shop=pay;method=showPaymentOptions 21:06 <+MrHairgrease> ok thanks 21:06 <+MrHairgrease> tryin it now 21:06 <@rizen> where pay = WebGUI::Shop::Pay and showPaymentOptions = www_showPaymentOptions 21:07 <@rizen> it's all running through a content handler called Shop.pm 21:07 <@rizen> if you want to see the logic 21:07 <+MrHairgrease> yeah saw that 21:07 <+MrHairgrease> but i was wondering how to call it 21:07 <@rizen> i'll put that into the docs 21:11 <+MrHairgrease> ah i see 21:12 <+MrHairgrease> www_showPaymentOptions hasn't been implemented yet 21:12 <@rizen> right 21:12 <@rizen> here do this one: /home?shop=cart;method=view 21:12 <@rizen> that one works 21:12 <+MrHairgrease> i just tried pay/manage 21:12 <@rizen> or /home?shop=transaction;method=manage 21:12 <+MrHairgrease> does give outpu too 21:12 <+MrHairgrease> ok 21:13 <@rizen> showPaymentOptions may never be implemented. that was just an example 21:13 <+MrHairgrease> yeah, i understand 21:13 <@rizen> over time i think i'm going to get rid of the "operations" concept, at least as it exists now 21:14 <@rizen> and move to more content handlers 21:14 <@rizen> of course, operations is a content handler...but it's huge 21:21 < CIA-22> WebGUI: jt * r5828 /branch/WebGUI_Commerce/lib/WebGUI/Content/Shop.pm: added documentation on how to access the shop modules via a url 21:21 < CIA-22> WebGUI: jt * r5829 /branch/WebGUI_Commerce/lib/WebGUI/Content/Shop.pm: added clarity 21:48 -!- lisette [n=liraos@static-adsl201-232-86-73.epm.net.co] has quit [Read error: 113 (No route to host)] 21:50 <+MrHairgrease> non-existant templateId should throw ObjectNotFound? 21:50 <@rizen> yup 22:29 -!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit [Remote closed the connection] 22:31 -!- dionak [n=diona@97.66.185.250] has quit [] 22:31 -!- dionak [n=diona@97.66.185.250] has joined #webgui 22:38 <+perlDreamer> okay, all the tests are running clean now 22:38 <+perlDreamer> thanks, rizen! 22:39 <@rizen> no need to thank me, you should berate me for breaking it and not fixing it. =) 22:39 <+MrHairgrease> stop breaking the code! 22:39 <+perlDreamer> What kind of junior high programming classes have you been taking? 22:39 <+perlDreamer> test before committing 22:39 * perlDreamer grumbles a bit more 22:39 <+MrHairgrease> meanwhile i get an error when doing method=setShippingAddress 22:40 <+perlDreamer> yada yada yada 22:40 <+MrHairgrease> and I can't find out where it's screwing up 22:40 <+MrHairgrease> Can't call method "db" on an undefined value at /data/WebGUI/lib/WebGUI/Shop/Ship.pm line 150 22:40 <@rizen> pd...i just made the transaction data table cooler because i made the data searchable 22:41 <@rizen> likely my fault too 22:41 <@rizen> let me look 22:42 <+perlDreamer> MrHairgrease, try updating. I just had a clean run and I'm up to date here. 22:42 <+MrHairgrease> i just did 22:43 <+perlDreamer> Is this in the UI, or in a test? 22:43 <+MrHairgrease> ui 22:43 <+MrHairgrease> session doesn't seem to be set 22:44 <+MrHairgrease> but Ship->new is called only in Cart 22:44 <+MrHairgrease> but that has an exception for not passing a session along 22:45 <+MrHairgrease> hey, this is weird 22:46 <+MrHairgrease> shop=cart;method=view now generates the same error 22:46 < CIA-22> WebGUI: colin * r5830 /branch/WebGUI_Commerce/t/Shop/ShipDriver/FlatRate.t: more test maintenance. Add automatically added form elements, change shipperId to getId 22:46 < CIA-22> WebGUI: jt * r5831 /branch/WebGUI_Commerce/lib/WebGUI/ (Shop/Transaction.pm Content/Shop.pm): added transaction searching 22:46 <+MrHairgrease> while i'm possitive that it worked before i started to encounter the error in setShippingAddress 22:53 -!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI 22:54 < elnino> hello. 22:54 -!- SDuensin [n=Scott@165.sub-75-207-139.myvzw.com] has quit ["Leaving"] 22:55 <@rizen> found the problem 22:55 <@rizen> fixing 22:55 <+MrHairgrease> ok 22:55 <+MrHairgrease> great 22:55 < elnino> I have an external database that I set up, and from what I can tell it works, but I'm creating a new report and am getting an error in my log file: 22:56 < elnino> Counldn't call method view on asset Root cause: can't call method errorCode on an undefined value at /data/WebGUI/lib/WebGUI/Paginator.pm. I have no idea what this means. Does it mean anything to anyone? 22:58 <+MrHairgrease> my guess is your dblink cannot connect 22:59 <@rizen> fix is in svn 22:59 <+MrHairgrease> or your query is broken 22:59 <+MrHairgrease> ah ok 22:59 <+MrHairgrease> i'll check it out 23:00 < elnino> But I use this connection for other reports that work. The query I tested manuall works as well. 23:00 < elnino> but I'll double check anyway 23:00 <+MrHairgrease> but it's a bug anyway 23:00 <+MrHairgrease> oh btw 23:00 <@rizen> perhaps you didn't pass in the parameters to setDataByQuery() properlly 23:00 <+MrHairgrease> what dbd are you using? 23:01 < elnino> maxdb (mysql) 23:01 < elnino> dbi:MaxDB:machinename:port/databasename 23:03 < elnino> Rizen, is your coment about setDatabyquery for me? I don't knwo what you mean if it is for me. 23:03 <@rizen> yes 23:03 <@rizen> are you not using the paginator asset 23:04 < CIA-22> WebGUI: jt * r5832 /branch/WebGUI_Commerce/lib/WebGUI/Shop/Cart.pm: fixed leftover api error 23:04 <@rizen> s/asset/class/ 23:04 <@rizen> my guess is that you are 23:04 <@rizen> also, are you trying to run WebGUI on MaxDB? 23:04 < elnino> It's a new report, I didn't change any settings on the pagigation, I think it's 50. 23:05 < elnino> No, Webgui is on mysql. MaxDb - is our backend for our Customer db 23:05 <@rizen> ok 23:05 <@rizen> sothis is an sql report then 23:05 <+MrHairgrease> elnino: you don't get 'Unconditional read failed' error messages? 23:05 < elnino> No Unconditional read fails. 23:06 <+MrHairgrease> what version are you on? 23:07 <+MrHairgrease> also have you tried turning debugging on? 23:07 < elnino> and I set the pagination to 0 - and it didn't make a difference - still same error. 23:07 <+MrHairgrease> just to be sure, i meant in the webgui.log 23:07 < elnino> I have debug on, but nothing shows up bcause a complete page is not returned (incomplete Html), it's very weird. 23:08 < elnino> yep, I have warn set on my logs and webgui.log only talks about not calling errorCode on an undefined value 23:08 < elnino> running 7.4.26 23:09 < elnino> MaxDB version - 7.5 23:09 < elnino> I'll try some other queries again 23:10 <+MrHairgrease> weird 23:10 < elnino> yes. 23:10 <+MrHairgrease> b/c if the value it's calling errorCode is undef, the unconditional read failed thingy should be logged 23:11 <+perlDreamer> it could be a bug in the driver itself 23:12 <+MrHairgrease> not ;ikely 23:12 <+MrHairgrease> since webgui has it's own wrapper around dbi 23:12 <+MrHairgrease> its* 23:13 <+MrHairgrease> doh getOptions... 23:15 < elnino> ok. I tried another sql query, and it works. So I don't knwo what to think, 23:15 < elnino> I tried a simpler select * from table version of my original query and it is still givin gme the error. What do you mean getOptions? 23:16 <+MrHairgrease> that was directed to rizen 23:16 <+MrHairgrease> still weird 23:16 <+MrHairgrease> are you certain you have select rights on all coumns of that table 23:16 < elnino> OH!!! 23:16 <+MrHairgrease> or at that table at all for that matter 23:17 < elnino> I do see Unconidtional reads. I was using search functionality in vi, and was searching on something else. 23:17 < elnino> that was somethign I tried first, was using the "gog" username password. 23:18 <+MrHairgrease> hey, howdo you know my password? 23:18 < elnino> I'm meant "god", and well, you know. 23:22 <+perlDreamer> I see that people are beginning to blog about talks at OSCON. Have any PB talks been accepted at OSCON? 23:23 < elnino> - fixed. Dumb user error. Sorry guyes. I keep forgetting that I have to use the username.tablename format. Grr. However, when I was getting those errors, I should still get compete HTML instead of it all blowing up on me. Should that be a bug reprot? 23:25 <+MrHairgrease> guess so 23:25 <+perlDreamer> sounds like a good place to throw an exception 23:26 <+MrHairgrease> rizen: i take it the checkout button in the view cart screen should be the PayDriver->www_getButton button... 23:27 <@rizen> no 23:27 <@rizen> there will actually be a separate screen 23:27 <@rizen> which lists all the payment gateways 23:27 <+MrHairgrease> oh 23:27 <+MrHairgrease> checkout goes there? 23:28 <@rizen> i originally wanted the checkout button be replaced by a series of buttons for the payment screen 23:28 <@rizen> but the problem is that some of the buttons go to paypal 23:28 <@rizen> some go to drivers 23:28 <@rizen> some shouldn't be displayed at all if there's a recurring item in the cart 23:28 <@rizen> etc 23:28 <@rizen> so there is a separate screen 23:28 <+MrHairgrease> ok 23:28 <@rizen> so you click on checkout 23:28 <@rizen> and that then makes you log in 23:28 <@rizen> if you aren't 23:29 <@rizen> and if you are then it displays the list of payment options 23:29 <@rizen> re: the payment buttons on the cart...the other problem that i was worried about was the store that has 10 payment methods 23:29 <+MrHairgrease> sort of like the way it is now? 23:29 <@rizen> it would be ugly 23:29 <@rizen> yes 23:30 <+MrHairgrease> indeed it would 23:30 <+MrHairgrease> and that screen, where would it go? In Pay.pm 23:30 <+MrHairgrease> ? 23:30 <@rizen> yup 23:30 <+MrHairgrease> www_selectPaymentGateway? 23:31 <@rizen> whatever you like 23:31 <@rizen> don't really care 23:31 <+MrHairgrease> you don't want that =) 23:31 <@rizen> ok i do care 23:31 <@rizen> use that 23:31 <+MrHairgrease> thought so 23:31 <+MrHairgrease> too bad 23:31 <@rizen> don't want it to be www_martinIsAsexyBastard 23:31 <@rizen> or www_iLikePorn 23:32 <+perlDreamer> or www_getSupportFromNetherlands 23:32 <+MrHairgrease> pd: don't worry about that one 23:32 <+perlDreamer> hey, maybe we could sell method names as advertising? 23:32 <+MrHairgrease> sure 23:32 <+MrHairgrease> i could use some extra money 23:33 <+perlDreamer> op=sponsoredbyGeneralMotors 23:54 <+perlDreamer> is the yahoo-dom-event.js automatically loaded by wG? --- Day changed Tue Mar 18 2008 00:08 * MrHairgrease hates CP-1252 00:09 <@rizen> perlDreamer ...no 00:09 <@rizen> you need to use a setScript 00:09 <@rizen> $session->style->setScript 00:09 <@rizen> like i do in the transaction manager screen 00:10 <+perlDreamer> the transaction manager screen doesn't load that particular file, but it uses YAHOO.util.Event.onDOMReady. maybe it just comes out of util 00:13 <@rizen> yes it does 00:13 <@rizen> * Yahoo Global Object 00:13 <@rizen> * Event 00:13 <@rizen> * Dom 00:13 <@rizen> * Connection Manager 00:13 <@rizen> * Animation 00:13 <@rizen> * Drag & Drop 00:13 <@rizen> * Element 00:13 <@rizen> util contains all those things 00:14 <+perlDreamer> I see. 00:19 <@rizen> did you see my little search thingy 00:19 <@rizen> and how it works 00:20 <@rizen> or rather how it's integrated into the data table 00:20 <+perlDreamer> yes 00:20 <+perlDreamer> I'm not sure if the Tax needs a search or not. but it couldn't hurt to build it in 00:21 <+perlDreamer> how well do the JS column sorting the pagination work together? 00:21 <@rizen> i don't think it does 00:21 <@rizen> but search isn't really the important part, it's how you can integrate other queries 00:21 <@rizen> for filters, search, or whatever 00:21 <@rizen> they don't 00:21 <@rizen> if you want to do sorting you have to do server side sorting 00:21 <@rizen> because it doesn't have all the data 00:22 <@rizen> so if you allow column sorting 00:22 <@rizen> it would just sort the data it has 00:22 <@rizen> not all the data 00:22 <+perlDreamer> I have a lot more reading to do in the YUI API docs 00:22 <@rizen> unless you're not using ajax to fetch the data? are you just giving it the entire feed? 00:22 <+perlDreamer> I was going to give it the entire feed, but the tax table could be large, too 00:23 <@rizen> i didn't actually read any of the yui docs to implement this 00:23 <+perlDreamer> and I have this cool code to copy/paste/steal from now, so I may just go for the big banana 00:23 <@rizen> i just looked at 2 examples 00:23 <@rizen> is there something in my code i could document for you to make it easier to understand 00:23 <@rizen> and therefore future generations easier to understand 00:27 <+perlDreamer> not really, I think I just looked at different examples. 00:27 <+perlDreamer> it's all really pretty straight forward 00:27 -!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has quit ["Leaving"] 00:30 <+perlDreamer> well, okay, I do have a question. Where does formatter:YAHOO.widget.DataTable.formatViewTransaction come from? 00:31 <+perlDreamer> nm, I see it now 00:31 <+perlDreamer> it's defined inline 00:31 <@rizen> i'm adding some comments 00:31 <@rizen> plus i just realized a flaw in my design 00:31 <@rizen> if you type in a search param 00:31 <@rizen> and hit enter 00:31 <@rizen> rather than click on the button 00:31 <@rizen> it submits the form 00:31 <@rizen> which does nothing 00:31 <@rizen> need to change that 00:33 <@rizen> ah...much better 00:35 <+perlDreamer> should we be using Shop::Admin->canManage instead of local canEdit's like in traditional operations? 00:36 <@rizen> yes 00:36 <@rizen> for now at least, if you have permissions to the commerce system, you'll have permission to the whole commerce system 00:37 <@rizen> i thought what you did was a good idea...it just needed to be in one place 00:37 <+perlDreamer> it makes sense to centralize it 00:37 <@rizen> and since you get a reference to the admin console from Admin.pm, it seemed that canManage should go there too 00:38 <@rizen> i'm both scared and excited about the commerce system 00:38 <@rizen> excited because it's turning out so good 00:38 <@rizen> scared because we only have 2.5 months left to do a lot of shizzle 00:39 <+perlDreamer> 2.5 time months, but at least 1.5 months of hacker time/month 00:40 <+perlDreamer> 1 rizen + fractional perlDreamers, MrHairgrease and others 00:41 <@rizen> if it were truely 1 rizen i wouldn't worry about it 00:41 <@rizen> it's only about .5 rizen though 00:41 <@rizen> due to pb stff 00:41 <@rizen> stuff 00:42 <@rizen> i have a trade show coming up, plus i spend 2 days per month doing financials related stuff 00:42 <@rizen> plus the other piddly crap like black blog, helping staff with problems, etc 00:42 <@rizen> anyway..it's good that i'm worried 00:42 <@rizen> it motivates me 00:46 <+perlDreamer> how's the plumbing? 00:46 <+perlDreamer> hopefully no more pump time? 00:47 <@rizen> it's not spring yet 00:47 <@rizen> oh that 00:47 <@rizen> actually i spent another dozen or so hours pumping in the past week 00:47 <@rizen> but the drains have finally thawed 00:47 <@rizen> so that should be over 00:47 < CIA-22> WebGUI: jt * r5833 /branch/WebGUI_Commerce/lib/WebGUI/Shop/Transaction.pm: fix a submit problem, add some comments 00:47 <+perlDreamer> sweet. You're going to have massive biceps, dude. 00:47 <+perlDreamer> feed the burn! 00:48 <@rizen> why? 00:48 <@rizen> i'm not manually sitting there with a pump 00:48 <@rizen> a hand pump 00:48 <@rizen> it's an electric pump 00:48 <@rizen> i just have to route hoses 00:48 <@rizen> and keep moving it around to match water conditions 00:49 <+perlDreamer> that's not so bad; we just need to get you a waterproof notebook 00:49 <@rizen> you actually thought i was hand pumping water like an old style bilge for 12 hour straight? 00:49 <+perlDreamer> yeah 00:49 <@rizen> i'm smarter than that 00:49 <@rizen> =) 00:50 <@preaction> avast ye scurvy dogs! harder on the bilge she's drawing too much water! 00:50 <+perlDreamer> dead men pump no water 00:51 <+perlDreamer> ah yea, found_rows() 00:51 <+perlDreamer> from Frank's blog entry 00:54 <@rizen> it doesn't seem to work though 00:54 <@rizen> the found_rows() thing 00:56 <@rizen> oh 00:56 <@rizen> i think i'm using it wrong 01:05 -!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI 01:07 <+perlDreamer> http://dev.mysql.com/doc/refman/5.1/en/information-functions.html#function_found-rows 01:08 <@rizen> i've read the instructions 01:08 <@rizen> it still doesn't work right 01:08 <@rizen> and i was doing it wrong 01:08 <@rizen> but i've fixed it 01:08 <@rizen> and it still doesn't work right 01:12 <+perlDreamer> does the select have to come after all the data is read from MySQL? 01:12 <@rizen> it doesn't in frank's pagination code 01:12 <@rizen> WebGUI::Paginator 01:12 <+perlDreamer> not meaning to bash Frank, but does it really work? 01:13 <@rizen> good question 01:13 <@preaction> yes 01:13 <@rizen> yes it's a good question, or yes it needs to come after you do a $sth->array 01:13 <@preaction> yes it works 01:13 <@rizen> ok 01:14 <@preaction> at least, the Paginator works 01:14 <@rizen> well i'm doing what he does as far as i can tell 01:14 * perlDreamer decides to take a commerce break and write a paginator test :) 01:15 <@rizen> it works from the command line 01:15 <@rizen> but not from within webgui 01:15 <@rizen> not the paginator...but my ode 01:16 -!- dionak [n=diona@97.66.185.250] has quit [] 01:20 <@rizen> nevermind, it's not mysql that's busted 01:20 <@rizen> it's yui 01:22 <@rizen> oh that's fucked in the head 01:23 <@rizen> select found_rows() returns as a scalar in perl 01:23 <@rizen> a text scalar 01:23 <@rizen> so when you push it into json it's still text 01:23 <@rizen> and when yui receives it it's still text 01:23 <@rizen> and therefore yui treats it as zero 01:23 <+perlDreamer> +0 01:23 <@rizen> so when i changed my code to +0 01:23 <@rizen> then it works 01:24 <@rizen> it just sucks that i had to do that 01:24 <+perlDreamer> maybe use the quickArray vs quickScalar? 01:24 <+perlDreamer> that's what Frank uses in the Paginator code 01:24 <@rizen> it doesn't matter now that i found it 01:25 <@rizen> ok i'm done for today 01:25 <@rizen> screwed up the commerce system enough for one day 01:25 <@rizen> =) 01:26 <@rizen> actually... 01:26 <@rizen> i'm going to move on to the EMS tomorrow 01:26 <@rizen> it's the biggest piece that's left that's still outstanding methinks 01:27 -!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has left #webgui [] 01:27 <@rizen> not that we don't have a thousand little piees 01:27 <@rizen> pieces 01:27 <@rizen> but that one is going to be nasty 01:27 <@rizen> plus, worst case scenario someone else can finish up transaction management...it's not that hard now that the base stuff is done 01:28 <@rizen> later guys 01:28 -!- rizen is now known as rizenisaway 01:28 < CIA-22> WebGUI: jt * r5834 /branch/WebGUI_Commerce/lib/WebGUI/Shop/Transaction.pm: started adding view transaction page 01:28 < CIA-22> WebGUI: jt * r5835 /branch/WebGUI_Commerce/lib/WebGUI/Shop/Transaction.pm: fixed a pagination problem 01:30 -!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui 01:30 -!- mode/#webgui [+v Radix-wrk] by ChanServ 01:47 -!- perlDreamer [n=ckuskie@nat039.mxim.com] has quit ["Download Gaim: http://gaim.sourceforge.net/"] 01:58 -!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui 02:00 -!- Radix-wrk [n=Jesse@203.161.68.67] has quit ["Leaving"] 02:08 -!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui 02:08 -!- mode/#webgui [+v Radix-wrk] by ChanServ 02:51 -!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui 03:28 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Connection timed out] 04:00 -!- rizenisaway [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit [] 04:34 -!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI 04:35 < elnino> is there a place I can find the old help that was in webgui before it was removed? I'm looking for the template variables for the file asset. 04:44 <+Radix-wrk> You're welcome to use our site - http://www.formsys.com/home?op=viewHelpTOC 04:45 <+Radix-wrk> older version tho.. 7.0.8 I think we still use 04:45 <+Radix-wrk> http://www.juga.biz/home?op=viewHelpTOC 04:45 <+Radix-wrk> newer version there.. that's 7.3 I think 04:46 < elnino> Thanks! during my free time, I want to copy that to the wiki - there is valuable info there that is greatly misssed by me. =) Would there be a problem copying that do you think? 04:47 <+Radix-wrk> Hmm.. might be best to ask the PB guys where the help went 04:47 <+Radix-wrk> I thought it had been converted to the wiki or something 04:49 < elnino> no, it wasn't - though some of it may have by users. I think that it was the idea to port it, but I don't think pb is doing that, but rather relying on non-pb people to do that. I may be wrong. 04:49 <+Radix-wrk> That juga.biz link is using 7.3.21-stable btw 04:49 < elnino> anyway, I found the info I needed immediately. So thank you for that. like I said, free time. whatever that is. 04:50 <+Radix-wrk> If it's not already there, then yeah, it should be added to the wiki if you have any of that elusive "free time" :) 04:51 -!- elnino_laptop [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI 05:01 < elnino_laptop> weird. I added a page to the wiki on webgui's site, and then added it to the TOC, and when editing the TOC, none of the links show up as links in edit mode, so I wonder how they become links is it automatic? I'm using IE7. 05:09 -!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has quit [Read error: 110 (Connection timed out)] 05:13 -!- diakopter [n=diakopte@pdpc/supporter/active/diakopter] has quit ["leaving"] 05:18 -!- diakopter [n=diakopte@pdpc/supporter/active/diakopter] has joined #webgui 05:21 -!- elnino_home [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI 05:25 -!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit ["Exit- stage left"] 05:30 -!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI 05:37 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui 05:37 -!- mode/#webgui [+o preaction] by ChanServ 05:39 -!- elnino_laptop [n=elnino@user-38q49cv.cable.mindspring.com] has quit [Read error: 110 (Connection timed out)] 05:47 -!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has quit [] 05:48 -!- elnino_home [n=elnino@user-38q49cv.cable.mindspring.com] has quit [Read error: 110 (Connection timed out)] 05:57 -!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has quit ["Leaving"] 06:08 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)] 06:14 -!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui 06:30 -!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has quit [] 09:24 -!- Radix-wrk [n=Jesse@203.161.68.67] has quit ["Leaving"] 09:29 -!- ryuu_ro [n=rory@194.171.50.69] has joined #webgui 10:04 -!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui 11:04 -!- BartJol [n=plainstu@194.171.50.123] has joined #webgui 11:18 -!- ryuu_ro_ [n=rory@194.171.50.69] has joined #webgui 11:18 -!- ryuu_ro [n=rory@194.171.50.69] has quit [Read error: 104 (Connection reset by peer)] 11:47 < ryuu_ro_> Hi guys, I run webgui 7.4.21 for a while now without any problems until yesterday 11:48 < ryuu_ro_> suddenly the admin console doesn't show any assets anymore in FF 11:48 < ryuu_ro_> can someone point me in the right direction 13:14 < BartJol> does anyone know how to make a commerce purchase available, when not being logged in? 13:14 < BartJol> in the primer it says that anonymous registration is on, but this doesn't help and a login screen is still shown? 13:18 -!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has quit ["Leaving"] 14:41 -!- BartJol [n=plainstu@194.171.50.123] has quit [Read error: 113 (No route to host)] 15:11 < ckotil> Is the sql report asset broke in 7.4.12? 15:12 < ckotil> I just noticed my only sql report asset is returning nothing. 15:16 -!- SDuensin [n=Scott@218.sub-75-205-174.myvzw.com] has joined #WebGUI 15:18 < SDuensin> Morning. 15:51 -!- Haarg [n=haarg@24-177-119-178.dhcp.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"] 16:06 -!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui 16:06 -!- mode/#webgui [+o rizen] by ChanServ 16:08 -!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui 16:08 -!- mode/#webgui [+o Haarg] by ChanServ 16:19 -!- dionak [n=diona@97.66.185.250] has joined #webgui 16:40 -!- BartJol [n=plainstu@194.171.50.123] has joined #webgui 16:57 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui 16:58 -!- mode/#webgui [+o preaction] by ChanServ 16:58 <@rizen> preaction! 16:58 <@rizen> just the man i wanted to see 16:58 <@preaction> rizen! 16:58 <@preaction> ooooh 16:58 <@rizen> i know you have lots of thoughts about EMS 16:58 <@rizen> please share them with me 16:58 <@rizen> i'm beginning EMS 2.0 dev today 16:59 <@preaction> indeed 16:59 <@rizen> btw...i know one is that you think it should be a subclass of calendar 16:59 <@rizen> and that won't work 16:59 <@rizen> because the events have to be a subclass of WebGUI::Asset::Sku 16:59 <@preaction> yeah, it's a little infeasible 17:00 <@rizen> but other than that...please share 17:00 <@preaction> the calendar wasn't yet meant to be subclassed like that, my plan is to fix that situation soon 17:00 <@preaction> the whole prereq set / event thing is incredibly complicated for the manager. 17:01 <@preaction> but the main complication is that Badges are Events 17:01 <@preaction> (imho) 17:02 <@preaction> right know it's kinda like a tree, but if you'd seperate out badges and make them their own thing, it could probably get a lot simpler 17:02 <@rizen> do you think that badges and events should be separate classes? 17:02 <@rizen> i was thinking that instead of making them separate classes, i might just add a selector to their properties 17:02 <@rizen> "Badge, Event, Ribbon" 17:03 <@preaction> in the backend that would probably work fine. i will admit my ignorance as to what those terms mean was the main problem i kept having 17:04 <@preaction> so i would like to see it simplified / streamlined if at all possible 17:04 <@preaction> keep the advanced funtionality, sure, but make the standard act of building badges and events into something quick and easy 17:05 <@preaction> is there any other software out there for this we could blatantly ste^Wborrow from? 17:05 <@rizen> there are lots of them out there 17:06 <@rizen> but none that are good...that i've seen 17:06 <@rizen> and our ems goes into that category 17:06 <@rizen> =) 17:06 <@preaction> i was also thinking that it could be used, or subclassed for a sort of course management system, but that's not important really 17:07 <@rizen> i agree 17:07 <@rizen> and i'm keeping that in mind 17:07 <@preaction> i think that resource management might've been a feature i was hoping could be integrated 17:07 <@rizen> not adding new features at this time 17:07 <@preaction> human and equipment 17:07 <@rizen> no time for that 17:07 <@preaction> k 17:07 <@rizen> just trying to figure out what the baseline should be so we can add those things 17:07 <@rizen> so i will keep resource management in mind 17:09 <@preaction> oh, i was thinking that the meaning of Event should change a bit, to mean the actual all-encompassing Conference 17:09 <@rizen> ok so simplify everything, maybe break out badges, resource management...what else? 17:09 <@preaction> or perhaps EMS could have Conferences, which have Badges and Events 17:10 <@preaction> gama continually makes new EMS for every Event they have, when they should probably have a way to just say "Okay, we're having a new Event, lets add it to our EMS" 17:10 <@preaction> but that's kinda a new feature 17:10 <@rizen> see i was thinking that you should use a new EMS every year 17:11 <@rizen> and that EMS = conference 17:11 <@rizen> i know that wouldn't work for ticketmaste 17:11 <@rizen> r 17:11 <@rizen> but it works better for nearly everything else 17:11 <@preaction> EMSes share certain data, right? 17:11 <@rizen> they aren't going to once i'm done 17:11 <@preaction> but then that data is mostly commerce data isn't it? so the new commerce stuff will do that 17:11 <@rizen> that's one of the biggest complaints from gama ...and from me right now 17:12 <@rizen> huh? 17:12 <@preaction> oh, the buying badges for other people is .... it needs to be better i think 17:12 <@rizen> sure it needs to be better, but what does that mean? what would make it better? 17:14 <@preaction> if i remember correctly, the screen that lets you update a badge owners information is completely javascript, and seems hacked together 17:14 <@rizen> yeah, the drop down for that is gone 17:15 <@rizen> it's going to use the commerce address book feature instead 17:15 <@preaction> that should be about it for that 17:15 <@rizen> so that alone makes it better/ 17:15 <@rizen> ? 17:15 <@preaction> yeah 17:16 <@preaction> it's been awhile since i've poked around the EMS 17:16 <@preaction> the EMS's subcart thing needs to go 17:16 <@preaction> but the commerce rewrite allows that 17:16 < CIA-22> WebGUI: graham * r5836 /WebGUI/lib/WebGUI/Asset/RSSFromParent.pm: Don't need to convert data to UTF8 anymore, it comes from mysql that way 17:16 <@preaction> since that subcart thing was a hack around some limitations of Commerce 17:17 <@rizen> oh i hadn't even thought of that 17:17 <@rizen> but you're right, i could put the badges directly into the cart as they are created 17:17 <@rizen> and continue modifying them while they are in the cart 17:25 <@preaction> the new commerce address book thing will have shared data, so that my personal info from last year would carry over to the new EMS this year? that'd be the only thing I could see sharing data between EMS would need to do 17:27 <@preaction> do we have time for some new templates? or is Steve booked up? 17:27 <@rizen> yes it will carry your old addresses 17:28 <@rizen> from year to year 17:28 <@rizen> steve is supposed to have time slated for templates in the ems 17:29 <@preaction> badges that are 0.00 or otherwise need an administrator to assign to you instead of being able to purchase, could those be handled differently? some sort of method to request access to the badge (i think gama uses a dataform currently) 17:29 <@preaction> eh, that's another new feature 17:30 <@preaction> i think that's about all i can think of. the end-user's experience is pretty solid, it's the administrators experience that needs a bit of streamlining 17:32 <@rizen> other features i'd like to add is a call for participation system 17:33 <@rizen> and also a schedule wall similar to the one that we put up for the wuc each year 17:33 <@preaction> yes, that was nice 17:33 <@rizen> that lists the rooms, and the events taking place in those rooms 17:33 < BartJol> y'know, thingy is a bitch to translate 17:33 <@rizen> by day and time 17:33 < BartJol> in dutch it sound really stupid "Dingetje" 17:33 <@rizen> is it because it's so "generic" ? 17:33 <@rizen> so use the english name 17:34 <@rizen> You call "Coca-cola" the same thing right 17:34 <@rizen> Thingy is a brand 17:34 <@rizen> Thingy(R) 17:34 < BartJol> yes, but thing like add thing really is to mysteriuos 17:34 < BartJol> thingy is ok 17:34 < BartJol> well, I'll have some thoughts on it 17:35 <@rizen> if you think that the dutch people will understand the concept of a "Thing" being a database table then feel free to call it "add table" 17:35 <@rizen> i just know that your average american office worker has no concept of a database 17:35 < BartJol> it's the same here 17:36 < BartJol> they just want to click on something 17:36 < ryuu_ro_> so let's call it clicker then :) 17:36 <@rizen> let's call it a "Bart" 17:37 <@rizen> Add Bart 17:37 < ryuu_ro_> lol delete Bart 17:37 < ryuu_ro_> it isn't working he's still here 17:38 <@rizen> might be a bug 17:38 < BartJol> lol 17:38 < BartJol> I'm a bug 17:38 < BartJol> I will make musquito noices at your ears at night 17:41 -!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui 17:42 <@rizen> bart, i finally watched fear and loathing 17:43 < BartJol> ah 17:43 < BartJol> and? 17:43 <@rizen> you can have your dvd's back now 17:43 <@rizen> it's bad 17:43 < BartJol> :) 17:43 <@rizen> it's very bad 17:43 <@rizen> not the worst movie i've ever seen 17:43 <@preaction> it's a documentary! how can it be bad? 17:43 < BartJol> well, we have some different taste than 17:43 <@rizen> but it's pretty close 17:44 <@preaction> not as bad as Over The Top 17:44 < BartJol> well a semi-autobiography 17:44 <@rizen> there were certainly some funny parts 17:44 <@rizen> but i think in order to appreciate it, you have to be high 17:44 < BartJol> Considering Koen's mail, I will pick them up in august 17:44 <@rizen> and i don't get high 17:44 < BartJol> Dutch are allways high 17:44 <@rizen> indeed 17:45 -!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI 17:45 < BartJol> even when they don't use drugs 17:45 <@rizen> i'm usually pretty high on life, but rarely out of my mind high 17:46 <@rizen> i will say that it was the best mind bender movie i've ever seen 17:46 < elnino> I have some pending commits in my inbox that have actually been approved, and if I log into anybody else's inbox, they are marked as approved, and if you go tot eh pages and assets that they modified, the are approved. so I'm wondering how I can make them show as approved in my inbox 17:46 <@rizen> way better than pink floyd's the wall, and the big lobowski 17:46 < elnino> they've been sitting in there for about a year, and they are kinda bugging me now. 17:48 -!- steveo_aa [n=sno@76.226.180.72] has quit ["Leaving."] 17:48 -!- steveo_aa [n=sno@76.226.180.72] has joined #webgui 17:51 -!- ryuu_ro_ [n=rory@194.171.50.69] has quit [] 17:51 < BartJol> but if you'd like a prsentation on translating as well, maybe I can look what I can do. But I'm afraid it wil be a bit boring 18:09 < ckotil> w00t WRE .80! 18:09 < ckotil> i must be in a time vortex 18:11 <@Haarg> yeah, that's my fault 18:11 <@Haarg> forgot about the email alerts 18:14 < CIA-22> WebGUI: graham * r5837 /WebGUI/ (2 files in 2 dirs): fixed: HttpProxy mixes original site's content encoding with WebGUI's 18:30 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit ["Leaving"] 18:33 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui 18:33 -!- mode/#webgui [+o preaction] by ChanServ 18:38 < dionak> i'm trying to process a file upload in a custom wobject. i see a couple of ways this is done (file asset, filepile, etc. ). Is the process roughly... 1) create a storage location/object by calling WebGUI::Storage->create() 2) call WebGUI::Storage->addFileFromFormPost 18:38 < dionak> ? 18:39 <@preaction> use the WebGUI::Form::File control and it's all done for you 18:40 < dionak> where does that happen? i am using a fieldType 'file' 18:40 <@preaction> WebGUI::Form::File->getValueFromPost 18:40 <@preaction> i think 18:41 <@rizen> if you call the field name 'file' let's say 18:41 <@rizen> then you can do my $storageId = $session->form->get("file","File"); 18:43 <@rizen> the second "File" in there is the field type that you're validating with 18:43 <@rizen> note that it will keep creating a new storage location every time someone uploads 18:43 <@rizen> if you want it to reuse the storage location then you do 18:44 <@rizen> $session->form->get("file", "File", {defaultValue=>$storageId}); 18:45 -!- BartJol [n=plainstu@194.171.50.123] has left #webgui [] 18:47 < dionak> ok, let me give that a try. thanks. 18:50 < dionak> formId is automatically added to the upload input isn't it? so it might be... my $storageId = $session->form->get("file_formId","File"); 18:50 < dionak> ? 18:50 <@preaction> it is, yes, but the File control handles that 18:51 < dionak> great. thanks. 18:51 <@preaction> as long as you give get() the same name you used when you created the control, it'll work 18:51 < dionak> perfect. 18:56 < dionak> regarding reusing the storage location...would that be useful for when, say, a user is uploading the same file again? 18:58 <@rizen> yup 18:58 <@rizen> or if you want to put multiple files into the same storage location 18:58 <@rizen> sort of like CS does 18:58 < dionak> ok, that makes sense. 19:06 <@rizen> the more i think about it, the more i think you're right preaction...badge should be it's own class 19:07 <@rizen> cuz a badge doesn't need a date attached to it 19:07 <@rizen> date/time i mean 19:07 <@rizen> it may have one, but that's really only for the description 19:13 -!- perlDreamer [n=ckuskie@nat039.mxim.com] has joined #webgui 19:13 -!- mode/#webgui [+v perlDreamer] by ChanServ 19:20 < dionak> rizen, i found a bug in libapreq2 that prevents it from compiling on mac os x. It's been reported to the devs of libapreq but i wasn't sure if your team was aware or had run into this issue? I have been trying to compile the WRE from src. 19:20 <@rizen> we put out a build of the wre for mac 19:20 <@rizen> didn't have any problems 19:21 < dionak> It's Intel. 19:21 < dionak> I'm on PPC 19:21 <@rizen> right 19:21 <@rizen> oh 19:21 <@rizen> i didn't try that...i didn't realize that we still had anyone on ppc 19:21 <@rizen> i'm the only one in plain black that still has a PPC mac, and i don't use it anymore 19:22 <@rizen> are you sure it's a bug in libapreq2? 19:22 < dionak> that's what I'm reading on the mailing list. util.t fails 19:23 < dionak> a fink developer indicated it was something related to GCC on the mac architecture 19:23 <@rizen> ok then i won't bother compiling it. if you weren't sure then i could have just given it a shot 19:24 <+perlDreamer> btw, it's not nice to call developers "fink"s 19:24 < dionak> i'm going to upgrade soon but until that happens or i find a fix, the wre is a no-go. 19:25 < dionak> lol 19:26 < elnino> Hi. I have a custom auth mod that seems to be working fine, but I'm getting a warning in my log file: counldn't call mehtod view an asset for url Root cause: can't locate object method "displaymyLogin" what does that mean? 19:28 <@rizen> something is probably calling func=displaymyLogin 19:28 <@rizen> rather than op=auth;method=displayMyLogin 19:33 <@preaction> i think that error is something is trying to call $object->displaymyLogin 19:34 < elnino> ok. I see. in my auht mod, I'm calling SUPER:dsiplaymylogin. And noticed that I put that in the Auth.pm file that webgui provides, which then got slammed when I did an upgrade. 19:34 < elnino> So obviously that was a bad mistake. Where would the appropriate place be to put that function? 19:36 <@preaction> what does it do? why is displayLogin inadequate? 19:37 <@preaction> why do you need displaymyLogin in Auth.pm anyway? you shouldn't need to put anything in there to call displaymyLogin in your own auth module 19:37 < elnino> I have my own login page on a different server. 19:38 < elnino> Good question. The answer: If they know the webgui login page url (init login op= something whatever, ) I give them webgui's login page, otherwise, I send them to my other server to login. 19:39 < elnino> so, I'll change my call to "return displaymylogin("login",$vars)" and put the code into my auth mod, but I tried doing this before, andn it didn't work I thought. 19:41 <@preaction> i don't know, i've never had to build an auth module 19:42 < elnino> oh. I see what I did. For somereason, I couldn't figure out how to do a redirect in the auth mod, so I copied your displayLogin function and changed the form, so that it would submit onto my other server. SO the login page actually appears on webgui's site. I REALLY wanted to just redirect the user. 19:43 < dionak> i think you can do that via $session->http->setRedirect() or similar 19:44 <+perlDreamer> there's also redirectOnLogin 19:44 <+perlDreamer> ack -i redirect /data/WebGUI/lib/WebGUI 19:44 <+perlDreamer> Datamining the WebGUI core can teach you tons 19:52 <@preaction> the 7.5 series has "returnUrl" as well. so you can return a user to any URL after they login just by giving a "redirectUrl" form parameter 19:53 < dionak> will that apply to assets too? 19:53 <@preaction> no 19:53 <@preaction> just the Auth / createAccount and login 19:56 <@preaction> wait. shortcuts don't export their overrides in packages? 19:58 < elnino> right, but I need to present a different login page depending on where they are at. And I believe I couldnt' user the redirect, because headers were already sent to the browser. 19:59 < elnino> What is Datamining the WebGUI? a class? a book? I use grep - it gets me in enough trouble. =) 19:59 <+perlDreamer> Switch to ack, it's much, much better 19:59 <@preaction> ack is grep on steroids 19:59 <+perlDreamer> perl regular expressions 19:59 <+perlDreamer> switches for selecting types of files (perl files are the default) 19:59 < dionak> basically code spelunking was my understanding 20:00 < dionak> if I make a field required in a wobject definition, is it required for all form processing? 20:00 < dionak> thinking admin edit vs. the view 20:00 -!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has joined #webgui 20:00 -!- mode/#webgui [+v MrHairgrease] by ChanServ 20:01 <+perlDreamer> MrHairgrease! 20:01 < dionak> or, rather, processing a form displayed by the view method 20:01 <+perlDreamer> Long time no see 20:01 <+MrHairgrease> i was here yesterday 20:01 <+MrHairgrease> and so were you 20:01 <+MrHairgrease> but indeed, last time i saw you was in october 20:01 * perlDreamer needs to either take more or less cold medicine 20:01 <+MrHairgrease> so i guess you're right =) 20:02 < dionak> elnino: i use grep a lot too 20:04 <+perlDreamer> perlbot: ack 20:04 < perlbot> alester's grep replacement at http://petdance.com/ack/ 20:04 <+perlDreamer> perl -MCPAN -e 'install App::Ack' 20:05 <+MrHairgrease> yay grep with perl regexes 20:05 * MrHairgrease is installing ack 20:06 <@rizen> komodo is better 20:07 <@rizen> has perl regular expressions and more 20:07 <@rizen> and is easier to use 20:07 <@rizen> =) 20:07 <+MrHairgrease> i didn't know emacs had komodo mode 20:07 <+MrHairgrease> b/c if it's easy it must be emacs 20:09 <+MrHairgrease> oh no 20:09 <+MrHairgrease> it's soing it again 20:09 <+MrHairgrease> last week I had these incredible cpan problems 20:09 < elnino> I fixed my auth mod! um.. I guess I'll have to look into the ack thing. I don't have it installed, but I see you've provided that too. Thanks 20:09 <+MrHairgrease> reinstalling the wre did fix it though 20:09 <+MrHairgrease> anybody knws what to do with the following error 20:10 <+MrHairgrease> http://webgui.pastebin.org/24300 20:10 <@preaction> uh... why couldn't it untar? 20:10 <@preaction> hum 20:10 <+MrHairgrease> i dunno 20:11 <+MrHairgrease> if i do it manually 20:11 <@preaction> pretty useless error message 20:11 <@preaction> that person should be shot 20:11 <+MrHairgrease> that is, copy-paste the tar command from the error 20:11 <@preaction> or drawn and quartered 20:11 <+MrHairgrease> it just works fine 20:11 <+MrHairgrease> but cpan screws up 20:11 < dionak> have you tried untar by hand? maybe the archive is corrupt? 20:11 <+MrHairgrease> as i said manually it just works 20:12 <+MrHairgrease> and it does it with any cpan module i try to install... 20:12 <@preaction> did you try doing "cpan> o conf init" again? 20:12 <+MrHairgrease> could try that 20:12 <+MrHairgrease> hang on 20:14 <+MrHairgrease> reconfiguring seems to work 20:14 <+MrHairgrease> weird 20:14 <+MrHairgrease> but thanks for the solution! 20:16 < elnino> I have some pending commits in my inbox that have actually been approved, and if I log into any of the oher adim's inboxes, these same requests are marked as approved, and if you go to the actual pages and assets that they modified, they are approved. so I'm wondering how I can make them show as approved in my inbox? Is there a table to look at? They've been sitting in there for about a year, and they are kinda bugging me now. 20:16 <@preaction> elnino, the inbox table should have them 20:17 < elnino> I suppose that I should change the status of them? that won't affect anything else? 20:17 < elnino> they are truely committed and approved. 20:18 <@preaction> it shouldn't affect anything else 20:20 < elnino> ok. here's another question. In my trash, I have stuff that won't purge. is there a way to figure out why they are "stuck". Can I go to a trash table and delete them from there? I suspect that would be a bad thing to do. 20:24 -!- SDuensin [n=Scott@218.sub-75-205-174.myvzw.com] has quit ["Leaving"] 20:26 -!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has quit ["Leaving"] 20:28 -!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui 20:28 -!- mode/#webgui [+o Haarg] by ChanServ 20:34 <+MrHairgrease> elnino: there is no trash table 20:35 <+MrHairgrease> trash is just a state 20:35 <+MrHairgrease> in order to find out what's going on you should tail -f your webgui.log while trying to purge 20:35 < elnino> does anyone know why software revisions in general does not follow the decimal system: companies do this: 3.1, 3.2...3.10 instead of 3.01, 3.02,... 3.10?? 20:36 < elnino> thanks hairgrease, good suggestion. 20:36 <+MrHairgrease> you will probably see something like can't call method foobar on an undefine value 20:37 <+MrHairgrease> the version umber stuff is b/c 3.1 is not one number 20:37 <+MrHairgrease> but two 20:37 <+MrHairgrease> major version.minor version 20:37 <+MrHairgrease> perl uses a decimal notation for it btw. but also there it's actuall three seperate numbers 20:41 -!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has quit ["Leaving."] 20:43 < elnino> good point about the decimals, frustrating, but at least I can understand. grr. 20:46 -!- elnino_laptop [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI 20:46 -!- MrHairgrease is now known as MrCookingGrease 21:01 -!- elnino_home [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI 21:04 -!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has quit [Read error: 110 (Connection timed out)] 21:07 -!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI 21:19 -!- elnino_laptop [n=elnino@user-38q49cv.cable.mindspring.com] has quit [Read error: 104 (Connection reset by peer)] 21:19 -!- elnino_laptop [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI 21:23 -!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has quit [Read error: 104 (Connection reset by peer)] 21:24 -!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI 21:25 -!- elnino_home [n=elnino@user-38q49cv.cable.mindspring.com] has quit [Read error: 110 (Connection timed out)] 21:41 -!- elnino_laptop [n=elnino@user-38q49cv.cable.mindspring.com] has quit [Read error: 110 (Connection timed out)] 21:44 -!- elnino_laptop [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI 21:46 <+perlDreamer> elnino, are you going a little schizo? 21:49 < ckotil> does apache need its own vhost to listen for an ipv6 address? in addition to my ipv4 vhost? 21:49 -!- perlDreamer [n=ckuskie@nat039.mxim.com] has quit ["Download Gaim: http://gaim.sourceforge.net/"] 21:49 < ckotil> the apache docs and google seem to indicate this. 21:52 -!- elnino_home [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI 21:58 < ckotil> yup. 22:02 -!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has quit [Read error: 110 (Connection timed out)] 22:09 -!- perlDreamer [n=ckuskie@nat039.mxim.com] has joined #webgui 22:09 -!- mode/#webgui [+v perlDreamer] by ChanServ 22:09 <+MrCookingGrease> hey pd 22:09 <+perlDreamer> yo! 22:09 <+perlDreamer> How was dinner? 22:10 <+MrCookingGrease> have you checked out the exception test module i made? 22:10 <+MrCookingGrease> dinner was good 22:10 -!- MrCookingGrease is now known as MrHairgrease 22:10 <+perlDreamer> I saw that it was committed, but haven't checked it out yet. 22:10 <+MrHairgrease> ok 22:10 <+MrHairgrease> when you have, let me know what you think of it. 22:10 -!- elnino_laptop [n=elnino@user-38q49cv.cable.mindspring.com] has quit [Read error: 110 (Connection timed out)] 22:18 <+perlDreamer> did you subclass Test::Exception, or roll your own? 22:18 <+MrHairgrease> roll my own 22:19 <+MrHairgrease> but based it on T::E 22:19 <+MrHairgrease> T::E does voodoo with caller 22:19 <+MrHairgrease> but I didn't find out why 22:20 <+MrHairgrease> using uplevel 1 does the job for all my test 22:20 <+MrHairgrease> s 22:20 <+MrHairgrease> I commented the T::E stuff out for now 22:22 <+perlDreamer> I liked the idea of T::E, but was bummed that it wouldn't test the contents of the exception, so your module scratches a big itch 22:23 <+MrHairgrease> yeah I had the same 22:23 <+perlDreamer> you've seen all the cmp_deeply code that I've written to do that for Tax and Ship* 22:23 <+MrHairgrease> yeah 22:23 <+MrHairgrease> actually i used that at first too 22:23 <+perlDreamer> I think the caller hacking is just to set the scope right. If you called it too deeply, then variables and other things may not exist 22:23 <+MrHairgrease> but it looked like crap 22:23 <+MrHairgrease> yeah it is for scpe 22:23 <+perlDreamer> and it's 3 so that it unwinds all the way back up to the test 22:24 <+MrHairgrease> yeah, but why not do eval { uplevel 1 $code}? 22:24 <+MrHairgrease> and so all the hocus pocus 22:24 <+perlDreamer> because the calls are nested? 22:24 <+MrHairgrease> i'm using the eval I just pasted and that works 22:28 <+perlDreamer> well, for the T::E, I can see 2 levels throws_ok and _try_as_caller, but not 3 22:29 <+MrHairgrease> i know. it's weird 22:29 <+MrHairgrease> i couldn't figure it out either 22:29 <+perlDreamer> the author lives in Portland, though 22:30 <+perlDreamer> I wonder if he'd let me take him out for food/drink and pump him for testing info 22:31 <@rizen> there's too much gay sex in this channel 22:31 <+MrHairgrease> rixen: you are posting in the wrong window 22:32 -!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI 22:35 < CIA-22> WebGUI: graham * r5838 /WebGUI/ (2 files in 2 dirs): fixed: Thingy i18n has an empty message 22:36 <+MrHairgrease> or are you referring to the pumping you supposedly did in your cellar? 22:38 <+perlDreamer> why is there a WRE 0.8 release note at the top of the news? 23:01 -!- elnino_home [n=elnino@user-38q49cv.cable.mindspring.com] has quit [Read error: 110 (Connection timed out)] 23:21 <+perlDreamer> man LA is expensive. 8.25% sales tax 23:21 <+MrHairgrease> ha 23:22 <+MrHairgrease> over here it's 19% 23:22 <+perlDreamer> but you have socialized medical? and education? 23:23 <+MrHairgrease> sort of, these days everybody must get a health insurance 23:23 <+MrHairgrease> there's no state medical anymore 23:24 <+MrHairgrease> if you have little money the state will fund part of the monthly fee 23:25 <+perlDreamer> do you have income or property taxes? 23:26 <+MrHairgrease> yes 23:26 -!- elnino_home [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI 23:27 -!- dhelsten [n=helsten@newcastlecapital.com] has joined #Webgui 23:29 <+MrHairgrease> commerce question 23:29 <+perlDreamer> commerce answer 23:29 -!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit [Remote closed the connection] 23:29 <+MrHairgrease> how's adding drivers supposed to work? 23:30 <@rizen> from a UI perspective? 23:30 <+MrHairgrease> if you add a shipping driver now but don't click save a driver is still added 23:30 <@rizen> yes 23:30 <+MrHairgrease> that's only to be expected with the current code 23:30 <+MrHairgrease> but i think it's wrong 23:30 <@rizen> because of your mom? 23:30 <+MrHairgrease> no b/c of yours 23:31 <+MrHairgrease> duh 23:31 <@rizen> i c 23:31 <@rizen> tell me about your childhood 23:31 <@rizen> i myself was born at a very young age 23:31 <+MrHairgrease> i was grown up before i was born 23:31 <+MrHairgrease> now cut the crap 23:31 <+MrHairgrease> this is no chitchat channel 23:32 <+MrHairgrease> it's a commerce design venting thingamabop 23:32 <@rizen> i didn't add a newByPropertiesHashref 23:32 <@rizen> i guess that could be added to ship drivers 23:32 <@rizen> to allow for this 23:32 <@rizen> but then you have to account for both www_add and www_editSave 23:32 <@rizen> i did it the easy way 23:32 <@rizen> by creating the object 23:32 <+MrHairgrease> at first i tought i'd do it like this: 23:33 <+MrHairgrease> create Pay->addPaymentGateway 23:33 <+MrHairgrease> that would set a htmlform with hidden shop=pay;method=addPaymentGatewaySave 23:34 <+MrHairgrease> and appended a form geerated by the driver 23:34 <+MrHairgrease> Pay->addPGSave would create the actual pg 23:35 <+MrHairgrease> now the first problem i ran into was that you cannot instantiate a paydriver without an Id 23:35 <+MrHairgrease> and therefore you cannot get the form out. 23:35 <@rizen> right, which is where newByPropertiesHashRef comes in 23:35 <+MrHairgrease> which doesn't work the way i anticipated anyway 23:35 <+MrHairgrease> oh 23:36 <+MrHairgrease> that one does not do the db write? 23:36 <@rizen> exactly 23:36 <@rizen> see WebGUI::Asset for details 23:36 <+MrHairgrease> yeah, looking into that 23:36 <+MrHairgrease> ok thanks 23:36 <@rizen> i think WebGUI::Workflow::Activity does that too 23:36 <+MrHairgrease> I'll add that one to PayDriver. 23:36 <+MrHairgrease> but tomorrow 23:44 < dhelsten> I need to back-date the submission time of several news articles for my website is the advice in the thread http://www.webgui.org/etcetera/how_to_change_submission_date/2 still the way to do it? If so, is there an easier workaround using a custom field? 23:44 < dhelsten> By the way.. Hi! 23:46 -!- elnino_home [n=elnino@user-38q49cv.cable.mindspring.com] has quit [Read error: 110 (Connection timed out)] 23:47 <+perlDreamer> Why do you need to back date? 23:48 < dhelsten> I'm using a CS to show news stories. I'm imputing news stories that go back several months. I'd like the creation date to match the story's date. 23:50 <+perlDreamer> well, as the threadh shows, it was not easy, and remains not easy. It would be a lot less work if you just creatd a custom field called "article date" and used that instead. 23:50 <+perlDreamer> you can sort on custom fields in the CS 23:51 < dhelsten> Thanks. Thats what I thought as I was finishing the question. Now I just need to remember how to get it in the template. I've used custom fields before but it has been a while. Thanks. 23:52 <+perlDreamer> the template docs will tell you how to setup the forms and use the form contents in a template. 23:56 <+perlDreamer> how does one test JSON? 23:57 <+perlDreamer> convert it back to data and check for certain elements? 23:57 <+perlDreamer> regular expression based text tests? --- Day changed Wed Mar 19 2008 00:05 <@preaction> i'd convert it back to data and use Test::Deep 00:05 <+perlDreamer> yeah, that's what I picked, too. 00:12 <+perlDreamer> I'm worried about the speed of the tax calculations 00:12 <+perlDreamer> I imported the California state tax tables, and it got way slower on my dev box 00:12 <+perlDreamer> and that's just 1 state in 1 country! 00:13 <+perlDreamer> it was 1770 rows 00:17 < dhelsten> OK, got the custom fields to work however I just realized that I probably can't sort by custom fields can I... 00:26 -!- dionak [n=diona@97.66.185.250] has quit [] 00:29 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)] 00:46 < dhelsten> Actually pretty obvious that I can. Thanks guys!!! 00:56 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui 00:56 -!- mode/#webgui [+o preaction] by ChanServ 00:58 <@rizen> hey pd while you're testing js 00:58 <@rizen> would you mind adding a transaction test for getTransactionsAsJson for me? 00:58 <@rizen> s/js/json/ 00:58 <@rizen> s/transaction/json/ 00:58 <@rizen> =) 00:59 <@rizen> i hadn't thought of converting back into perl structures to test it 00:59 <@rizen> so i didn't write a test 00:59 <@rizen> man am i stupid 01:17 -!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has left #webgui [] 01:21 -!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"] 01:43 <+perlDreamer> will do, rizen 01:44 <@rizen> ems is coming right along 01:44 <@rizen> i mean i still have a bazillion hours of work to do 01:44 <@rizen> but i'm not running into any real problems that the new commerce system can't handle 01:44 <@rizen> so that's cool 01:44 <@rizen> that was a big problem with the oldone 01:45 <+perlDreamer> I think we should build an asJson method for SQL::Result 01:45 <+perlDreamer> since this dataTable stuff is so cool 01:45 <@rizen> that's a good idea, you have my blessing 01:45 <@rizen> wait 01:45 <@rizen> that doesn't help 01:45 <@rizen> not for data table 01:45 <@rizen> cuz you have to put in all the extra fields 01:46 <@rizen> the result set is just one field 01:46 <+perlDreamer> it would put in the extra fields, too 01:46 <+perlDreamer> asJsonDataTable 01:46 <@rizen> oh, ok 01:47 <+perlDreamer> gotta scoot, might have that hacked tonight, definitely tomorrow then. And I'll build the tests for transactions and then refactor tax and transactions to use the new method. 01:47 <@rizen> that would save about 15 lines of code 01:47 <@rizen> not to mention endless errors caused by having copies of it 01:47 -!- perlDreamer [n=ckuskie@nat039.mxim.com] has quit ["Download Gaim: http://gaim.sourceforge.net/"] 02:03 -!- dhelsten [n=helsten@newcastlecapital.com] has left #Webgui [] 03:30 -!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui 03:37 < CIA-22> WebGUI: graham * r5839 /branch/WebGUI_7.4/ (2 files in 2 dirs): fixed: HttpProxy mixes original site's content encoding with WebGUI's 03:37 < CIA-22> WebGUI: graham * r5840 /branch/WebGUI_7.4/docs/gotcha.txt: added notes about LongReadLen and LongTruncOK to gotcha.txt 03:37 < CIA-22> WebGUI: graham * r5841 /branch/WebGUI_7.4/docs/create.sql: preparing for 7.4.29 release 03:37 < CIA-22> WebGUI: jt * r5842 /releases/WebGUI_7.4.29-stable: Release 7.4.29-stable 03:37 < CIA-22> WebGUI: colin * r5843 /branch/WebGUI_Commerce/ (3 files in 3 dirs): 03:37 < CIA-22> WebGUI: Fix a bug in the json method for getting tax data. 03:37 < CIA-22> WebGUI: Tests for the json method. 03:37 < CIA-22> WebGUI: A LOT of California tax data for testing. 03:37 -!- elnino_home [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI 04:24 -!- elnino_home [n=elnino@user-38q49cv.cable.mindspring.com] has quit [Read error: 110 (Connection timed out)] 04:28 -!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has quit ["leaving"] 04:48 -!- perlDreamer [n=colink@pool-71-117-250-89.ptldor.fios.verizon.net] has joined #webgui 04:48 -!- mode/#webgui [+v perlDreamer] by ChanServ 04:58 -!- elnino_home [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI 05:11 -!- elnino_laptop [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI 05:20 -!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui 05:20 -!- mode/#webgui [+o apeiron] by ChanServ 05:29 -!- elnino_home [n=elnino@user-38q49cv.cable.mindspring.com] has quit [Read error: 110 (Connection timed out)] 05:31 <@apeiron> /names 05:31 <@apeiron> heh. 05:40 -!- iank [n=iank@about/goats/pdpc.supporter.student.iank] has joined #webgui 05:41 < iank> Dudes I heard apeiron was in to visual basic 05:41 <@apeiron> lies 05:41 < iank> And also that he lieks mudkips :( 05:41 <@apeiron> I have no idea who this iank fellow is. 05:41 < iank> Is that why you never called? :( 05:46 <+perlDreamer> apeiron, you _are_ a channel op 05:46 <@apeiron> perlDreamer, I know iank, he's just foolin'. :) 05:47 <+perlDreamer> very good 05:47 < iank> It's true! 05:47 < iank> Hi perlDreamer! 05:47 <+perlDreamer> just so long as I don't have to use my regexp-fu on him 05:47 < iank> Bring it! 05:47 <@apeiron> ... trust me, that won't help. 05:48 <@apeiron> iank, He *will* use test-fu on you though! 05:48 * iank yelps 05:48 <+perlDreamer> So what kind of hacker are you, iank? 05:49 < iank> um, an awesome one? 05:49 <+perlDreamer> good answer 05:49 < iank> Yup 05:51 < iank> Did I pass the test? 05:51 <@apeiron> No, the test is when we throw you into WebGUI's collab system with a month's experiene and tell you to add stuff. 05:51 <+perlDreamer> is($iank->hacker, 1, 'check for hackerdom') => 0.5; ##indeterminate 05:51 < iank> apeiron: gah 05:52 <@apeiron> iank, I survived! 05:52 <@apeiron> And I came out with a much greater respect for automated testing, too! 05:52 < iank> That's because you're the most hardcore and badass dude ever aside from myself and my badass protege. 05:53 <+perlDreamer> he comes with a protege, too? 05:53 <@apeiron> I'm not the guy you need to flatter around here, sorry. 05:53 <@apeiron> Yep. 05:53 < iank> perlDreamer: dude yeah 05:53 < iank> Attention employers of apeiron and/or anyone who perhaps has control over his pay rate: apeiron is totally awesome ok? 05:53 < iank> JUST A NOTE 05:54 <@apeiron> shrug. I endeavour to be totally awesome. :) 05:54 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)] 05:54 < iank> It's true. 05:54 <@apeiron> Look at that, you scared away poor preaction. 05:55 < iank> He's a wuss 05:55 <@apeiron> Either that or it was Ankh in #perl... 05:55 * iank shudders 05:57 * iank pokes xdanger with a pointy stick 05:57 < iank> apeiron: which one is your boss? 05:57 <+perlDreamer> don't disturb, xdanger, he's our IRC logger 05:57 < iank> oh no, accountability :( 05:57 <@apeiron> iank, If I answered that question I'd have to kill you. 05:59 < iank> Man, this place is way cooler than the jabber MUC at my work :'( 05:59 < iank> It's all joins, parts, and announcements 'bout which coffee is in which pot. 05:59 < iank> I don't even drink the stuff! 06:00 < iank> /bin/sh: DAYCHANGE!: command not found 06:00 < iank> ahem. 06:00 < iank> :/ 06:00 < iank> I make that thinko every day. 06:00 < iank> And every day, I correct it before I hit enter. 06:12 < iank> apeiron: your webgui friends are boring me :( 06:13 <@apeiron> iank, Fix some bugs, write some tests! 06:13 < iank> NO 06:13 <+perlDreamer> heck, just work on a translation 06:13 <+perlDreamer> make a wiki page 06:13 < iank> You nubs get paid to 06:14 < iank> Your job! 06:14 <+perlDreamer> iank: Your ignorance is only superseded by your rudeness 06:14 -!- perlDreamer [n=colink@pool-71-117-250-89.ptldor.fios.verizon.net] has quit ["Leaving."] 06:14 < iank> apeiron: did I just get you fired? 06:15 -!- iank [n=iank@about/goats/pdpc.supporter.student.iank] has left #webgui [] 06:29 -!- elnino_home [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI 06:41 -!- elnino2 [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI 06:43 -!- elnino2 [n=elnino@user-38q49cv.cable.mindspring.com] has quit [Read error: 104 (Connection reset by peer)] 06:43 -!- elnino2 [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI 06:44 < elnino2> I'm leaving. network is not stable - I keep getting reset by peer - whatever that means. 06:44 -!- elnino2 [n=elnino@user-38q49cv.cable.mindspring.com] has quit [Client Quit] 06:47 -!- elnino_laptop [n=elnino@user-38q49cv.cable.mindspring.com] has quit [Read error: 110 (Connection timed out)] 06:50 < CIA-22> WebGUI: colin * r5844 /branch/WebGUI_Commerce/ (5 files in 4 dirs): 06:50 < CIA-22> WebGUI: Reformat the JSON test for Shop/Tax.t 06:50 < CIA-22> WebGUI: Add JSON tets to Shop/Transaction.t 06:50 < CIA-22> WebGUI: Reindent several methods in SQL/ResultSet.pm 06:50 < CIA-22> WebGUI: add a method for returning a YUI Data Table structure to SQL.pm 06:58 -!- elnino_home [n=elnino@user-38q49cv.cable.mindspring.com] has quit [Read error: 110 (Connection timed out)] 07:13 -!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has quit [] 07:17 < CIA-22> WebGUI: colin * r5845 /branch/WebGUI_Commerce/ (4 files in 3 dirs): 07:17 < CIA-22> WebGUI: Fix the Shop/Transaction tests for JSON. 07:17 < CIA-22> WebGUI: Convert Shop/Transaction and Shop/Tax to use buildDataTableStructure. 07:17 < CIA-22> WebGUI: Change SQL.pm to return a hash instead of a hashref for buildDataTableStructure. 07:17 < CIA-22> WebGUI: jt * r5846 /translations/Spanish/Spanish/ (14 files): update_from_translation_server 09:19 -!- Haarg [n=haarg@24-177-119-178.dhcp.mdsn.wi.charter.com] has joined #webgui 09:19 -!- mode/#webgui [+o Haarg] by ChanServ 09:58 -!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui 10:01 -!- Haarg [n=haarg@24-177-119-178.dhcp.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"] 10:39 -!- ryuu_ro [n=rory@194.171.50.69] has joined #webgui 10:55 -!- steveo_aa [n=sno@76.226.180.72] has quit [Read error: 110 (Connection timed out)] 11:17 -!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has quit [Read error: 104 (Connection reset by peer)] 11:18 -!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has joined #webgui 11:18 -!- mode/#webgui [+v Radix_] by ChanServ 12:15 -!- zylopfa [n=zylopfa@port111.ds1-vby.adsl.cybercity.dk] has joined #webgui 12:16 < zylopfa> Greetings, anyone present? 12:16 <+Radix_> I am, but whether that will help you at all is another question ;) 12:16 < zylopfa> hah yeah thats the question 12:17 <+Radix_> ask away.. if I can't answer it, someone eventually will 12:17 < zylopfa> I was wondering where i can see how to work with files in webgui programming, I want to make an xml playlist from files in a webgui dir 12:17 < zylopfa> but i cant seem to find out what api functions is used to see where the file is located 12:17 < zylopfa> and have to list files on a directory basis 12:17 <+Radix_> hmm.. above me I'm afraid 12:18 < zylopfa> Dair enough :D 12:18 < zylopfa> Fair even ;D 12:18 <+Radix_> rizen could answer it I'm sure.. but he's prolly barely awake if at all :) 12:18 < zylopfa> haah yeah :D 12:18 < zylopfa> I am making a player macro 12:18 < zylopfa> that automatically make an xml playlist of files in the directory that it gets as parameter 12:19 < zylopfa> and then show the flash player with the list there 12:19 < zylopfa> I can make it in perl normally but with the file layout of webgui i haev no idea of how to list files in a directory 12:19 <+Radix_> cool 12:19 <+Radix_> I cheated.. and used a set filename in a set location 12:19 <+Radix_> and did it all in the template :) 12:20 < zylopfa> ahh 12:20 <+Radix_> name of the flash video, xml, etc all identical to the name of the thread post 12:20 <+Radix_> and used a common player for it 12:21 < zylopfa> Sounds awesome though 12:21 <+Radix_> https://www.formsys.com/maxsurf/videos 12:21 <+Radix_> that's how I did those flash videos 12:21 <+Radix_> thumbnail was same name too 12:22 < zylopfa> Looks awesome1 12:22 < zylopfa> I guess i could use the collaboration asses to do something 12:22 <+Radix_> I'm happy to share the template if it helps at all 12:23 < zylopfa> Its more cause i want to know the file handeling routines in webgui 12:23 < zylopfa> to use for further programming 12:23 < zylopfa> like listing files in a directory etc. 12:23 < zylopfa> but thanks a lot 12:23 <+Radix_> np, good luck :) 12:23 < zylopfa> Thanks a lot :D 12:29 -!- BartJol [n=plainstu@194.171.50.123] has joined #webgui 13:19 -!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has quit ["Leaving"] 13:22 -!- BartJol [n=plainstu@194.171.50.123] has quit [Read error: 113 (No route to host)] 14:14 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui 14:14 -!- mode/#webgui [+o preaction] by ChanServ 14:26 -!- zylopfa [n=zylopfa@port111.ds1-vby.adsl.cybercity.dk] has quit ["Leaving"] 14:34 -!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: ryuu_ro 14:42 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Connection timed out] 14:44 -!- Netsplit over, joins: ryuu_ro 15:43 -!- SDuensin [n=Scott@63.sub-75-207-252.myvzw.com] has joined #WebGUI 15:51 -!- dionak [n=diona@97.66.185.250] has joined #webgui 15:53 < SDuensin> Morning. 16:04 <@rizen> morning 16:10 -!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui 16:10 -!- mode/#webgui [+o Haarg] by ChanServ 16:10 -!- wgGuest56 [n=wgGuest5@88.254.55.199] has joined #webgui 16:11 -!- wgGuest56 [n=wgGuest5@88.254.55.199] has quit [Client Quit] 16:25 -!- ahfa[yok] [n=takva@88.254.55.199] has joined #webgui 16:27 < ahfa[yok]> s.a 16:30 -!- ahfa[yok] [n=takva@88.254.55.199] has quit ["-=[> Takva SCriPt <]=-( Kaliteli isLami mIRC ScRiPt DownLoad Adresimiz:)"] 16:36 -!- BartJol [n=plainstu@194.171.50.123] has joined #webgui 16:45 -!- br4k3r [n=br4k3r@bas3-ottawa10-1279549458.dsl.bell.ca] has joined #webgui 16:45 < br4k3r> hey d00ds 16:46 < br4k3r> is there any way to export a WG package to a file, then import into another site from wpkg 16:46 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui 16:46 -!- mode/#webgui [+o preaction] by ChanServ 16:48 < br4k3r> i had a site built on a gamma version, couldnt' upgrade 16:48 <@rizen> that's what packages are for 16:48 < br4k3r> page layouts 16:48 < br4k3r> but i can't get the packages off the site 16:48 <@rizen> you do the imports/exports in the asset manager 16:48 < br4k3r> hmmm 16:49 < br4k3r> ah crap i see 16:49 < br4k3r> the gamma version don't have the export function, the new version does 16:49 < br4k3r> i guess i'm hosed? 16:50 <@rizen> gamma version? 16:50 <@rizen> you mean webgui 6.x 16:50 <@rizen> ? 16:51 <@rizen> webgui 6.x is not compatible with webgui 7.x 16:51 < br4k3r> yeah it's a 6.8.9 gamma release 16:51 <@rizen> why not upgrade your 6.8.9 site to 7.x 16:51 < br4k3r> hmm 16:51 < br4k3r> that's an option 16:51 < br4k3r> can't hurt since i have backups 16:51 <@rizen> make sure you follow the steps in the gotchas 16:52 <@rizen> docs/gotcha.txt 16:52 < br4k3r> k 16:52 < br4k3r> so i just download the new wre 16:52 < br4k3r> and run the webguiupdate script 16:53 < br4k3r> with the gotchas 16:53 <@rizen> you'll need wre 0.7 to do the upgrade 16:53 <@rizen> wre 0.8 is for WebGUI 7.4.22 and above 16:53 < br4k3r> k 16:54 <@rizen> and with webguiupdate 16:54 <@rizen> you have to stop at each stop point 16:54 <@rizen> as defined in the gotchas 16:54 < br4k3r> k 16:54 <@rizen> http://www.plainblack.com/downloads/builds/7.4.29-stable/WebGUI/docs/gotcha.txt 16:54 -!- steveo_aa [n=sno@76.226.180.6] has joined #webgui 16:55 <@rizen> so you upgrade to 6.8.10 first 16:55 <@rizen> then 7.0.0 16:55 <@rizen> then whatever else the gotchas say 16:55 < br4k3r> so it's a step up install 16:55 < br4k3r> not a one shot deal 16:55 <@rizen> yeah, there are about 4 stop points i think 16:55 < br4k3r> k 16:57 <@rizen> i believe they are 16:57 <@rizen> 6.8.10 16:57 < br4k3r> the lowest version on sf for WG is 7.3.12 16:57 <@rizen> 7.0.0 16:57 <@rizen> 7.3.22 16:57 <@rizen> use the plainblack mirror 16:57 <@preaction> http://update.webgui.org <- go there 16:57 <@rizen> use webgui update 16:58 < br4k3r> k 16:58 <@rizen> then when it asks you for a mirror 16:58 < br4k3r> ohhhh 16:58 <@rizen> say plainblack 16:58 < br4k3r> i can't d00d 16:58 < br4k3r> this server ain't on the interweb 16:58 <@rizen> ah 16:58 <@rizen> ok then use update.webgui.org 16:58 < br4k3r> so it's sneaker net from here 16:58 <@rizen> the stop points are the ones i listed above 16:58 <@rizen> so download each of them 16:58 < br4k3r> k 16:58 <@rizen> as well as the latest 7.4 release 16:59 < br4k3r> 6.8.10 gamma 16:59 < br4k3r> then 7.0.0 16:59 < br4k3r> what about wre 16:59 <@rizen> you'll need 0.7.2 16:59 <@rizen> until you get to webgui 7.4.22 16:59 <@rizen> then you can upgrade to 0.8.3 16:59 < br4k3r> k 17:00 < br4k3r> got ys 17:00 <@rizen> sorry for the pain in the ass, but you're about 200 upgrades behind. =) 17:00 < br4k3r> it's ok 17:00 < br4k3r> i know 17:00 < br4k3r> i just walked into this job a few month ago 17:00 < br4k3r> picked up from the last guy who was a wG freak 17:01 < br4k3r> now i can't change due to customers 17:01 < br4k3r> but i need to get the site functional... this gamma version SUCKS 17:02 < br4k3r> no export, no version tags 17:02 < br4k3r> trash won't purge 17:02 < br4k3r> it's a sucky install... 17:02 < br4k3r> i have been manually recreating the new site by memory but 17:02 < br4k3r> i just got the old data restored 17:05 < CIA-22> WebGUI: graham * r5847 /wrebuild/wre/ (sbin/wremonitor.pl docs/changelog.txt lib/WRE/Spectre.pm): fix spectre workflow monitor 17:06 <@rizen> i'm sorry that your predecessor didn't keep up with the updates 17:06 <@rizen> i hope you come to like webgui. it's a very powerful and flexible system once you get to know it. 17:14 < br4k3r> i do like it 17:14 < br4k3r> which is why i'm willing to go thru the pain to bring it up to speed. 17:14 < br4k3r> i've been using the newest version and i LOVE it 17:14 < br4k3r> it's so awesomely easy to set up pages for my customers 17:14 < br4k3r> and the version tags is the cat's ass 17:14 -!- wgGuest21 [n=wgGuest2@97.66.185.250] has joined #webgui 17:15 < br4k3r> so i'm sure i'll be back throught the day with more questions 17:15 < br4k3r> but thanks for the help so far :) 17:17 <@rizen> you're welcome 17:20 < wgGuest21> hey everyone. i have some questions about testing Wobjects 17:21 < wgGuest21> i would like to write a test to test an upload file form. Wondering what would be best way to start this threw webgui 17:22 -!- dionak [n=diona@97.66.185.250] has quit [] 17:23 -!- dionak [n=diona@97.66.185.250] has joined #webgui 17:24 <@rizen> i don't know the answer to that but i think you'd start with WebGUI/t/lib/WebGUI/PseudoRequest.pm 17:25 <@rizen> perlDreamer knows more about testing than the rest of us combined, but he's not on channel right now 17:25 < wgGuest21> ah, maybe i check back. i looked threw the test for wobjects in webgui 17:26 < wgGuest21> but i didn't see any test simulating a post to test a meathod inside wobject 17:31 <@preaction> wgGuest21, i've been trying to figure that one out (the upload a file thing, not the wobject thing) using Test::WWW::Mechanize 17:32 <@preaction> i think the problem might be that WebGUI's File control doesn't write an to the page, it uses javascript instead 17:32 <@preaction> but i'm sure there's a way around that 17:33 < wgGuest21> preaction, ya i believe using Mechanize might be the way i have to go 17:33 <@preaction> otherwise, inside of WebGUI::Test there's a getPage method 17:33 <@preaction> but i don't think I wrote the provisions for file uploads 17:33 < wgGuest21> might be a convo with perldreamer we have to have 17:34 < wgGuest21> I would like to be able to test this custom asset 17:36 -!- lisette [n=liraos@201.232.58.66] has joined #webgui 17:40 -!- topsub [n=topsub20@97.66.185.250] has joined #webgui 17:40 -!- wgGuest21 [n=wgGuest2@97.66.185.250] has quit [] 17:43 -!- ryuu_ro [n=rory@194.171.50.69] has quit [] 17:45 -!- nuba [n=nuba@hq.imaterial.org] has joined #webgui 17:50 < CIA-22> WebGUI: graham * r5848 /WebGUI/ (6 files in 4 dirs): fixed: Thingy has no icon 17:50 < CIA-22> WebGUI: graham * r5849 /WebGUI/docs/gotcha.txt: added notes about LongReadLen and LongTruncOK to gotcha.txt 17:56 < lisette> hello 17:56 < lisette> how to create a new session with another user in a macro? 18:01 -!- br4k3r [n=br4k3r@bas3-ottawa10-1279549458.dsl.bell.ca] has quit [] 18:02 -!- perlDreamer [n=ckuskie@nat039.mxim.com] has joined #webgui 18:02 -!- mode/#webgui [+v perlDreamer] by ChanServ 18:08 < lisette> ? 18:08 < lisette> how to create a new session with another user in a macro? 18:08 -!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has left #webgui [] 18:09 <+perlDreamer> lisette: perldoc WebGUI::Session, and check out the "user" method. 18:12 < lisette> i don't see a new session with this, maybe a change session 18:13 <+perlDreamer> well, then you can call open to create a new session, then user 18:14 < lisette> $session2=WebGUI::Session->user($userID); ? 18:14 <+perlDreamer> ->user({userId => $userId}) 18:19 < lisette> thanks 18:21 < topsub> Hey perldreamer 18:21 <+perlDreamer> ? 18:21 < lisette> perlDreamer do you remember your investigation from headers of email when i send with method of webgui? 18:21 <+perlDreamer> sort of, this was the replyTo and bcc issues? 18:22 < lisette> replyTo and returnPath 18:22 <+perlDreamer> thanks, then yes I do. 18:23 < lisette> thanks 18:23 < topsub> i have some questions about testing, heard you are the person to ask 18:23 <+perlDreamer> I do a lot of wG testing 18:23 <+perlDreamer> what do you want to do? 18:23 <+perlDreamer> core code or custom code? 18:23 < topsub> i am looking to test my custom asset. I have a process upload form function in there and i am looking to test this 18:24 < topsub> looking to take a file. upload it mostly 18:24 < topsub> i would like to write a test to make sure this works 18:24 <+perlDreamer> Check out the Gallery and Photo Album tests, I think they do that using the API. 18:24 < topsub> awesome! 18:25 <+perlDreamer> We have a few, a very few WWW::Mech tests, but none that I know of for form uploads yet 18:25 < topsub> ah yes i was gonna start trying to write a test with Mech 18:25 < topsub> to test this function 18:25 <+perlDreamer> also, if you'd like to contribute some core tests, we're always open to patches 18:25 <@preaction> perlDreamer, they don't. they use API methods to add the file. i was interested in your answer as I've been trying to write the same tests to test www_editSave from the web interface ;) 18:26 <+perlDreamer> I've been commercing for a while, and probably will stay in that vein until May with the release. 18:26 <@preaction> from what I see, WWW::Mech can do it, it just has to be an actual file upload field 18:27 <@preaction> there's nothing in the docs specifically about it, but nothing on the bug / RFE lists about it either 18:27 <+perlDreamer> that means it either works, or "Patches welcome :)" 18:28 <@preaction> yeah 18:28 <@preaction> or, iirc it can take an HTTP::Request object, which whould be able to handle file uploads 18:29 < topsub> preaction, by API methods to add the file are you talking the Webgui::Storage-> get call? 18:29 <@preaction> no, the WebGUI::Asset::File->setFile call 18:30 <+perlDreamer> We have an Apache::PseudoRequest module that you can set up to handle the file upload. Then you call the editSave method for processing the form variables. 18:31 < topsub> hmm... 18:32 <+perlDreamer> s/Apache::PseudoRequest/WebGUI::PseudoRequest/ 18:32 <+perlDreamer> it's in /data/WebGUI/t/lib/ 18:32 <+perlDreamer> check out t/Storage.t for examples on how to use it 18:34 < topsub> preaction, I do not see the setFile method in WebGUI::Asset::File 18:35 <@preaction> then you're not using webgui 7.5 18:35 <+perlDreamer> Friends don't allow friends to keep using 7.4 18:35 < topsub> doh 18:35 < topsub> :-) 18:38 < topsub> What if i had to do in 7.4 18:38 < topsub> lol 18:38 <+perlDreamer> you'd have to backport PseudoRequest, and use it there instead 18:40 <@rizen> perlDreamer quick C2 discussion 18:40 * perlDreamer goes into c2 mode 18:40 <@rizen> we have an addToCart method in all skus 18:40 <@rizen> yesterday i added a completePurchase() method which will be called on each item in a cart after a purchase has been made 18:40 <@rizen> that way we have the callbacks we need for privileges etc 18:41 <@rizen> now i'm thinking we should also have a removeFromCart method that is called by the cart so that it can do housekeeping if it gets removed from the cart 18:41 <@rizen> does that make sense to you? 18:41 <@rizen> for example 18:42 <@rizen> when we add something to a cart we have to decrement it's inventory 18:42 <@rizen> but when we remove it from the cart it will have to increment it's inventory 18:42 <@rizen> in the case of the EMS, we need a way to destroy badges that have been created 18:43 <+perlDreamer> It makes sense to me. Of course, there will be items for which removeFromCart is a no-op, like a Donation 18:43 <+perlDreamer> wait a sec 18:43 <@preaction> i would avoid changing inventory when items are added to carts, since the cart might not be sold and it prevents someone else from buying it. but if that's just an example 18:43 <@rizen> sure...and that's what the default removeFromCart method will do 18:43 <+perlDreamer> why wouldn't badge creation be done in completePurchase? 18:43 <+perlDreamer> rather than addToCart? 18:44 <@rizen> perlDreamer: because we need to attach stuff to the badge 18:44 <@rizen> tickets, ribbons, etc 18:44 <@rizen> so the badge needs to be created 18:44 <@rizen> preaction: you can't wait until sale has been completed...because things like EMS tickets have a limited quantity 18:44 <@rizen> there could be a sell out 18:45 <@rizen> so instead we have to have a workflow activity that sees how long an item has been in a cart and kill it 18:45 <@rizen> if it has been in there too long 18:45 <@rizen> similar to what ticketmaster does 18:45 -!- BartJol [n=plainstu@194.171.50.123] has left #webgui [] 18:48 <@rizen> any other questions, comments, scathing rebuttle...reasons why this is a bad idea? 18:51 <@rizen> got to go, but i'll be back in an hour or so...please throw your comments up here if you have any 18:57 <+perlDreamer> arthur c. clarke is dead 18:58 -!- topsub [n=topsub20@97.66.185.250] has quit [] 18:59 <+perlDreamer> why is it that no one wants to volunteer to write core tests? 19:01 <@preaction> writing tests is boring scutwork? 19:02 <@preaction> i mean, i'll write tests for every bugfix and feature request i do, but turning a 10-minute bugfix into a 3-hour ordeal is something i don't enjoy 19:02 * perlDreamer excels at boring scutwork, I guess 19:07 <+perlDreamer> actually, that's what I do here at $dayJob, too 19:07 <+perlDreamer> Methodology, automation, small filler cells 19:07 <+perlDreamer> hm 19:08 -!- topsub [n=topsub20@97.66.185.250] has joined #webgui 19:08 <+perlDreamer> how's the testing, topsub? 19:08 < topsub> still going :-) 19:09 < topsub> had to restart the laptop 19:09 -!- WGnub [n=chatzill@adsl-68-91-7-41.dsl.tulsok.swbell.net] has joined #webgui 19:09 < topsub> ( no windows comments please ) lol 19:18 -!- WGnub [n=chatzill@adsl-68-91-7-41.dsl.tulsok.swbell.net] has quit ["ChatZilla 0.9.81 [Firefox 2.0.0.12/2008020121]"] 19:19 <+perlDreamer> rizen: I built the SQL widget for YUI data table structures. Now I'm thinking about a Paginator extension to handle processing the form variables and other magic. 19:19 -!- WGnub [n=WGnub@adsl-68-91-7-41.dsl.tulsok.swbell.net] has joined #webgui 19:19 <+perlDreamer> welcome back, WGnub 19:20 < WGnub> ty 19:20 <+perlDreamer> are you hanging out, or waiting for a good opportunity to ask questions? 19:20 < WGnub> hanging for a moment. 19:20 < WGnub> working on a webgui install on (gasp) MS. 19:20 <+perlDreamer> we'll pray for you 19:21 < WGnub> I think I'm going to go over to Ubuntu. (grin) 19:21 < WGnub> ty 19:21 < WGnub> always can use some of dat. 19:21 < WGnub> It's a mess on MS. 19:21 < WGnub> er, M$ 19:21 < WGnub> I'll be back if there's trouble with ubuntu. prolly won't be tho. 19:22 < WGnub> thanks for the chat. 19:22 -!- WGnub [n=WGnub@adsl-68-91-7-41.dsl.tulsok.swbell.net] has left #webgui [] 19:23 < topsub> lol i have done it on MS 19:23 < topsub> laptop = MS XP.. lol 19:24 < topsub> it can get tricky 19:24 <+perlDreamer> anything missing from the wiki about using it on MS? 19:24 < topsub> i have started creating my own to compare 19:25 < topsub> seems every version brings something different.. with WRE that is 19:25 < lisette> perlDreamer: i do $session2=WebGUI::Session->user({userId=>$userID); and this show me an error! 19:26 < topsub> you have a misc " } " before userid? 19:27 <+perlDreamer> lisette, not only that but user is an instance method, not a class method. $session2 = WebGUI::Session->open(.....); $session2->user({...}); 19:27 < lisette> and which the parameter of the method open? 19:27 <+perlDreamer> whatever it says in the docs 19:30 < lisette> ok 20:09 <@rizen> excellent pd 20:21 -!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has joined #webgui 20:21 -!- mode/#webgui [+v MrHairgrease] by ChanServ 20:32 <+perlDreamer> rizen: at some point should we import the 7.5 changes over into Commerce, so we don't get too out of date? 20:33 <@rizen> i've been doing them one off as needed 20:33 <@rizen> for example yui 20:33 <@rizen> but maybe 20:33 <@rizen> my big concern is that we'll then have to move all of our upgrade stuff into a new module 20:33 <+perlDreamer> good point 20:33 <@rizen> i guess...not a concern 20:33 <@rizen> but rather work 20:33 <@rizen> that i don't want to do right now 20:33 <@rizen> =) 20:34 <+perlDreamer> I understand 20:34 <@rizen> incidentally, that discussion we were having earlier 20:34 <@rizen> i'm changing that a bit 20:34 <+perlDreamer> about removeFromCart? 20:35 <@rizen> and some other sku/cart interaction methods 20:35 <@rizen> i'm creating onRemoveFromCart 20:35 <@rizen> onAdjustQuantityInCart 20:35 <@rizen> onCompletePurchase 20:35 <@rizen> that way it isn't the method that's actually removing, adjusting, or completing 20:35 <@rizen> but just something that gets called when those events happen 20:36 <+perlDreamer> those are also great workflow tie-in points 20:36 <@rizen> i think it's a clearer separation 20:36 <@rizen> oooh. good call 20:36 <@rizen> there is no onAddToCart because there is already addToCart 20:36 <@rizen> the sku is adding itself to the cart 20:37 <@rizen> not the other way around 20:37 <@rizen> unless maybe it shouldn't be that way 20:37 <@rizen> actually...maybe it shouldn't be that way 20:38 <@rizen> the asset should call $cart->addItem(); 20:38 <@rizen> and then addItem calls onAddToCart() 20:38 <@rizen> seems more round about though since we're already there 20:38 <+perlDreamer> yeah 20:38 <@rizen> gonna have to think about that one some more 20:46 -!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has quit [Read error: 110 (Connection timed out)] 20:46 < CIA-22> WebGUI: graham * r5850 /WebGUI/ (docs/changelog/7.x.x.txt lib/WebGUI/Asset/WikiPage.pm): fixed: Wiki page history shows username instead of alias 20:47 -!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has joined #webgui 20:47 -!- mode/#webgui [+v MrHairgrease] by ChanServ 20:54 <@rizen> perlDreamer, i was thinking about the performance issue you brought up before 20:54 <@rizen> i think i know what the problem is 20:54 <+perlDreamer> clue me in, dude 20:55 <@rizen> neither $cart->getItems() nor $cartitem->getSku() does any caching 20:55 <@rizen> so it recreates all those objects over and over again in the cart 20:56 <@rizen> for shipping, tax, cart display, etc 20:56 <@rizen> also in tax 20:56 <+perlDreamer> the performance hit I saw was due to the number of entries in the tax table 20:56 <@rizen> the last time i looked you look up the tax information for each item in the cart 20:57 <@rizen> but before that loop, you should look up the tax info once for the main shipping address 20:57 <@rizen> and then only look it up again if there is a custom shipping address for the itme 20:57 <@rizen> item 20:57 <+perlDreamer> okay, I can make that change 20:57 <@rizen> that should make a pretty big difference 20:58 <@rizen> i'm not saying we don't also need to make some other changes 20:58 <@rizen> but that should help 20:59 <@rizen> oh i also had a brilliant idea over lunch 20:59 <@rizen> i'm going to take out the coupon stuff as i have it right now 20:59 <@rizen> instead, coupons should be skus 21:00 <@rizen> each sku has access to the cart and therefore all items in it 21:00 <@rizen> so when the cart calls getPrice() on the sku it can run through the cart and see what's in there and then return a negative price for the discount 21:00 <+perlDreamer> so a coupon would know what kind of SKU it applies to? 21:00 <@rizen> that way people can write their own pluggable coupon skus 21:01 <@rizen> yeah...cuz you can write code for whatever kind of coupon you want to write 21:01 <+perlDreamer> coupons that expire 5 days after creation 21:01 <@rizen> so you can say this coupon only applies to skus of type WebGUI::Asset::Sku::MakeColinMyBitch 21:01 <+perlDreamer> Those SKUs are hard to get 21:02 <@rizen> yeah, but when you can find them they are well worth it, even though they are expensive 21:02 <@rizen> but that's why i'd write a coupon sku for it 21:02 <@rizen> =) 21:02 <@rizen> i think it's BRILLIANT 21:03 <@rizen> because it makes coupons very configurable and pluggable 21:03 <@rizen> as for expiring coupons...you just remove the coupon from your site after 5 days 21:03 <@rizen> or you make the coupon have date properties 21:03 <@rizen> so it only applies during a set period 21:03 <+perlDreamer> yes 21:03 <@rizen> plus since the coupon has the addToCart method in it 21:03 <@rizen> it could actually check that stuff and not even let you add it to the cart 21:04 <@rizen> unless the criteria match 21:04 <@rizen> also, because coupons are skus and skus are assets 21:04 <@rizen> if you only want to allow the coupon for certain users 21:05 <@rizen> you can set who can view it 21:05 <@rizen> cuz if they can't view it, they can't add it to their cart 21:07 <+perlDreamer> hm, I think I was wrong earlier about DataTable and Paginator. They don't sync up too well because the pagination bar display is all done in the client. 21:07 <+perlDreamer> Maybe this goes in Utility. 21:09 <@rizen> what goes in Utility? 21:09 <+perlDreamer> something that abstracts building the SQL for the DataTable. 21:11 <+perlDreamer> you pass it the base SQL, the keywords for variables, and the column fields that the keywords applies to 21:11 <+perlDreamer> and it passes you back the amended SQL and placeholders 21:11 <@rizen> you said SQL in there 3 times 21:11 <@rizen> doesn't that tell you something? 21:12 <+perlDreamer> Wait, I have a great idea! 21:12 <+perlDreamer> I'll put it in SQL.pm! 21:12 <+perlDreamer> ;) 21:24 < CIA-22> WebGUI: colin * r5851 /branch/WebGUI_Commerce/t/SQL.t: add a test for buildDataTableStructure 21:24 < CIA-22> WebGUI: colin * r5852 /branch/WebGUI_Commerce/t/Shop/ (Tax.t Transaction.t): Note where additional tests need to be written for Shop/{Tax,Transaction}. 21:30 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui 21:45 < CIA-22> WebGUI: colin * r5853 /branch/WebGUI_Commerce/lib/WebGUI/Paginator.pm: Fix a typo in the Paginator POD. 21:46 <+perlDreamer> okay, API work is done, back to Tax UI stuff 21:53 -!- topsub [n=topsub20@97.66.185.250] has quit [] 21:57 -!- perlDreamer is now known as perlLuncher 22:00 -!- lisette [n=liraos@201.232.58.66] has quit [No route to host] 22:03 < CIA-22> WebGUI: colin * r5854 /branch/WebGUI_Commerce/ (4 files in 3 dirs): 22:03 < CIA-22> WebGUI: Add a SQL method for building searchable queries. 22:03 < CIA-22> WebGUI: Add tests for that method. 22:03 < CIA-22> WebGUI: Convert Shop/Tax and Shop/Transaction to use that for their JSON generating methods. 22:45 < CIA-22> WebGUI: jt * r5855 /branch/WebGUI_Commerce/ (9 files in 6 dirs): 22:45 < CIA-22> WebGUI: made event handlers for cart/sku 22:45 < CIA-22> WebGUI: created baseline emsbadge and emsticket 22:45 < CIA-22> WebGUI: added completePurchase() and denyPurchase() utility methods for transaction 22:50 -!- SDuensin [n=Scott@63.sub-75-207-252.myvzw.com] has quit ["Leaving"] 23:02 <+perlLuncher> rizen: we've got a test failure. applyOptions seems to have gone away? 23:02 <+perlLuncher> just try running the Shop/Tax.t test 23:03 -!- perlLuncher is now known as perlDreamer 23:24 <@rizen> ok i'll look at it 23:27 <@rizen> applyOptions hasn't gone away 23:27 <@rizen> the asset isn't getting instanciated 23:28 <@rizen> and way before that there is a problem with www_getTransactionsAsJson() 23:29 <+perlDreamer> that the test didn't catch? 23:29 <+perlDreamer> that's weird 23:29 <+perlDreamer> what's it doing? 23:30 <@rizen> you know what...maybe i need to reset dev 23:31 <+perlDreamer> better? 23:31 <@rizen> found some problems with the upgrade script 23:31 <@rizen> haven't tested it in a while 23:34 <@rizen> still failing at the same place 23:34 <@rizen> not ok 86 - Check major elements of tax JSON 23:34 <@rizen> # Failed test 'Check major elements of tax JSON' 23:34 <@rizen> # at /data/WebGUI/t/Shop/Tax.t line 612. 23:34 <@rizen> # Using Regexp on $data->{"records"}->[0]{"taxRate"} 23:34 <@rizen> # got : '0' 23:34 <@rizen> # expect : (?-xism:^\d+\.\d+$) 23:35 <@rizen> sorry that's not get json 23:35 <@rizen> it's just after that 23:35 <@rizen> i was looking in the wrong place 23:35 <@preaction> Scalar::Util::looks_like_number instead of a regexp to detect it? 23:35 <+perlDreamer> that's probably safer 23:36 <+perlDreamer> no, you can't do that unfortunately 23:36 <+perlDreamer> it's using cmp_deeply 23:37 <@preaction> num() then 23:38 <+perlDreamer> same problem 23:39 <+perlDreamer> no way to get access to the original value 23:39 <@preaction> ignore() and test it later? 23:39 <+perlDreamer> I'll just make the mantissa optional 23:40 <+perlDreamer> although it was told to make it 0.0 23:43 < CIA-22> WebGUI: jt * r5856 /branch/WebGUI_Commerce/docs/upgrades/upgrade_7.5.2-7.5.3.pl: fixed sql problems 23:43 < CIA-22> WebGUI: jt * r5857 /branch/WebGUI_Commerce/t/Shop/Tax.t: proper indent 23:44 <@rizen> i can't understand where CartItem.pm is even coming into play during this test 23:44 <+perlDreamer> calculate calls getItems 23:44 <+perlDreamer> that returns a bunch of CartItems? 23:45 <@rizen> yeah but isn't the error coming from the www_getTaxesAsJson 23:45 <@rizen> ? 23:46 <+perlDreamer> No, it's coming from the clean-up code at the bottom 23:46 <+perlDreamer> $cart->delete, probably 23:47 <@rizen> ah 23:47 <@rizen> well that explains it 23:47 <@rizen> delete calls empty which calls remove which i just changed a few minutes ago 23:48 <@rizen> i'm still writing tests for those changes 23:48 <@rizen> so let me finish that 23:48 <@rizen> and it will probably clean up this problem 23:49 <+perlDreamer> cool 23:55 -!- dionak [n=diona@97.66.185.250] has quit [] --- Day changed Thu Mar 20 2008 00:03 <+MrHairgrease> rizen: I tried implementing the add paydriver functionality by using newByPropertyHashRef so it won't create a driver before you click save as discussed yesterday. 00:04 <+MrHairgrease> The problem is however that I cannot use 'www_do' to do that 00:04 <+MrHairgrease> since www_do requires a driverId 00:04 <@rizen> i see and understand 00:04 <+MrHairgrease> and since the driver hasn't been created yet, it has no id... 00:04 <+MrHairgrease> I have tried some things but they are all ugly 00:04 <@rizen> that was actually a big problem for me with assets too 00:04 <+MrHairgrease> yeah 00:05 <@rizen> i couldn't use the api to create the root asset 00:05 <@rizen> =) 00:05 <+MrHairgrease> hehe 00:05 <@rizen> but then after that i could use the root asset to create other assets 00:05 <@rizen> but since there is no hierarchy in drivers 00:05 <+MrHairgrease> yeah, but is the root asset a chicken or just an egg? 00:05 <+MrHairgrease> I know 00:06 <@rizen> that's why i created the ship driver thing the way i did 00:06 <@rizen> for now i would create pay driver the same way 00:06 <+MrHairgrease> i c 00:06 <@rizen> and if i have time i'll look into the problem later 00:06 <@rizen> right now i'm just concerned about getting this whole system completed on time 00:06 <@rizen> there's a lot to be done yet 00:07 <+MrHairgrease> ok 00:07 <+MrHairgrease> will do it like it's done in ship for now then... 00:22 < CIA-22> WebGUI: jt * r5858 /branch/WebGUI_Commerce/ (lib/WebGUI/Asset.pm lib/WebGUI/Asset/Sku.pm t/Asset/Sku.t): updated tests for sku and fixed problems 00:29 <+perlDreamer> rizen: I svn up'ed and resetdev, but I'm getting the same error 00:30 <+perlDreamer> Can't call method "applyOptions" on an undefined value at /data/WebGUI/lib/WebGUI/Shop/CartItem.pm line 155 00:31 <@rizen> i didn't say it was fixed yet did i? 00:32 <@rizen> i have lots of tests to update 00:32 <+perlDreamer> Sorry, man. I mistook the svn commit to mean they were _all_ fixed. My bad. 00:33 <+MrHairgrease> rizen: did you rename set to update? 00:33 <+MrHairgrease> in shipdriver/ 00:33 <+MrHairgrease> ? 00:34 <@rizen> yes 00:34 <+MrHairgrease> b/c in my paydrive it's still set 00:34 <@rizen> please update to update 00:34 <+MrHairgrease> i fugure i do teh same 00:34 <+MrHairgrease> ah ok 00:41 <+perlDreamer> Yeah, you fugure'd right 00:41 <@rizen> ok, now i've fixed the tests and it still didn't fix the problem 00:42 <@rizen> so either there is something wrong in Tax.pm 00:42 <@rizen> or my tests aren't covering something that they need to cover 00:42 <+perlDreamer> Are there cartItem tests? 00:42 <@rizen> my guess is the later since i am bad at testing 00:42 <@rizen> Cart.t tests cart items 00:42 <@rizen> they work together as one system 00:42 <@rizen> Cart and CartItem 00:42 <@rizen> same for Transaction 00:43 <@rizen> you can't have a CartItem without a cart 00:43 <+perlDreamer> I see, similarly for Address and AddressBook 00:43 <@rizen> oh that's one thing i'm not testing 00:43 <@rizen> catching exceptions 00:43 <@rizen> i should use martin's new cool tester thing 00:44 <+perlDreamer> Do you want to generate a coverage report for your tests to see what they're missing? 00:44 <@rizen> i don't really care to be honest. i know that it's missing quite a bit because some stuff is very hard to test with the parts that are still missing from commerce 00:45 <@rizen> and i don't plan on testing the www_ methods 00:45 < CIA-22> WebGUI: jt * r5859 /branch/WebGUI_Commerce/ (t/Shop/Cart.t lib/WebGUI/Shop/CartItem.pm): update tests to match new code 00:47 <@rizen> sorry...the way i stated that sounds bad 00:47 <+perlDreamer> naw 00:47 <@rizen> it's not that i don't care about testing 00:47 <@rizen> it's that testing www_ methods is really fricken hard 00:47 <+perlDreamer> it's true 00:47 <@rizen> and not worth it in my opinion 00:48 <+perlDreamer> I know why it's failing 00:48 <+perlDreamer> but not why it used to pass 00:48 <+perlDreamer> I deleted the SKUs, and then called cart->delete 00:48 <@rizen> and i really need the rest of pay and transaction finished in order to write the other tests that are missing 00:49 <+perlDreamer> without the SKUs, the items can't instanciate the skus to call onRemoveFromCart 00:54 <+perlDreamer> it's fixed now 00:55 <@rizen> i just looked at some of your code 00:55 <@rizen> holy crap am i inspired to throw a lot more exceptions 00:55 <@rizen> i was being very minimalist 00:55 <@rizen> but you're throwing exceptions on everything 00:55 <+perlDreamer> that's funny, because after looking at your code I was thinking that I was overboard :) 00:56 <@rizen> hehe 00:56 <@rizen> maybe we need to meet in the middle 00:57 <+MrHairgrease> ok, this is getting rediculous 00:57 <+MrHairgrease> somehow i've borked my code 00:57 <+MrHairgrease> it must be something really simple 00:57 <+perlDreamer> what's up, MrHairgrease? 00:57 <+MrHairgrease> but i cannot find it 00:57 <+perlDreamer> give us a commit or paste 00:57 <+MrHairgrease> i'm getting to tired for this crap 00:58 <+MrHairgrease> that's what it is 00:58 <+MrHairgrease> tomorrow I'm sure I've found it in five minutes 00:58 <+MrHairgrease> so I'm calling it a day 00:59 <+perlDreamer> Gute Nacht, Herr Martin. 00:59 <+perlDreamer> rizen: what's a good compromise? 01:00 <@rizen> well i think we should probably check that parameters are getting passed in 01:00 <@rizen> and if they're an object or a hash we should check that they are the right type 01:00 <@rizen> but i don't think we should do deep checking like that the hash structure is correct 01:01 <@rizen> or that the object is the one we expected or is configured correctly 01:01 <@rizen> cuz that's just going to slow the system way down 01:01 <+perlDreamer> let's take a specific example, like add in Tax 01:01 <+perlDreamer> 3 exceptions 01:01 <+perlDreamer> 1 for a hash 01:01 <+perlDreamer> and 2 for hash contents 01:02 <+perlDreamer> we should bonk the last two exceptions 01:02 <+perlDreamer> and let the www_ method do the checking for us 01:02 <@rizen> i like that you're doing the testing, but yeah i'm concerned that if we do that all over the place we're taking a performance hit 01:02 <@rizen> now in that particular case 01:03 <@rizen> that code isn't going to be called all that often 01:03 <@rizen> so maybe it's ok 01:03 <@rizen> but on something that gets called a lot 01:03 <@rizen> like $cart->getItem 01:03 <@rizen> if we did a lot of checks 01:03 <@rizen> we could get really slow really fast 01:04 < CIA-22> WebGUI: graham * r5860 /WebGUI/ (docs/changelog/7.x.x.txt lib/WebGUI/Storage.pm): added: Uploads locations and files are set to the same uid/gid that owns the uploads root 01:04 < CIA-22> WebGUI: graham * r5861 /WebGUI/ (docs/changelog/7.x.x.txt lib/WebGUI/Asset/Wobject/SQLForm.pm): fixed: SQL Form fields with a regex are required even if not set to required 01:04 < CIA-22> WebGUI: graham * r5862 /WebGUI/ (docs/changelog/7.x.x.txt lib/WebGUI/Asset/Wobject/Matrix.pm): fixed: Matrix caches pages, and may not update for new listings 01:04 < CIA-22> WebGUI: colin * r5863 /branch/WebGUI_Commerce/t/Shop/Tax.t: Don't delete the SKUs so that the cart can call onRemoveFromCart 01:04 <+perlDreamer> getItem doesn't need an exception, since it's just a wrapper for new, and new will throw an exception 01:04 <@rizen> sorry bad example 01:04 <@rizen> but new would be a good exception 01:05 <@rizen> example i mean 01:05 <@rizen> well not really cuz it only gets an id 01:05 <@rizen> i think you get my drift though 01:05 <@rizen> deep checking of the data is technically good, but bad for performance 01:06 <@rizen> and if i'm ever asked to make a decision about performance 01:06 <@rizen> pretty much nothing trumps it 01:06 <+perlDreamer> gotcha 01:06 <@rizen> except security and usability 01:06 <@rizen> actually...not even usability 01:13 <@rizen> how do you rerun the cpan setup so you can set new mirrors 01:13 <@rizen> i always just manually edit CPAN.pm, but i'm sure there's a better way 01:13 <+perlDreamer> Haarg: I know I'm kibitzing again, but it would be good to add an upgrade script snippet that changed them all uploads subdirs and files to the owner, too. Just to clean it all up at once. 01:13 <@rizen> o conf init 01:14 <@Haarg> that's probably a good idea 01:15 <+perlDreamer> that's an awesome addition, though. 01:16 <+perlDreamer> I know people who setup cron jobs to do that manually every hour or so 01:18 -!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"] 01:19 <@rizen> MrHairgrease do you know if WebGUI::TestException works? 01:20 <@rizen> i think i'm using it how i'm supposed to and it doesn't seem to work 01:20 <+perlDreamer> seems to work with Pay.t 01:20 <+perlDreamer> throws_deeply 01:35 <@rizen> i've just committed a new test 01:35 <@rizen> at the top of Cart.t 01:35 <@rizen> that doesn't seem to work 01:35 <@rizen> can you help me figure out why it doesn't work 01:35 <@rizen> this is throws_deeply 01:35 <@rizen> i've read the docs and looked at Pay.t 01:35 <@rizen> and i think i'm doing the same thing 01:35 <+perlDreamer> [...updating] 01:37 <+perlDreamer> I don't see a newBySession in Cart.pm. Is it committed? 01:37 <+perlDreamer> Does it throw an exception if there's no session? 01:37 <@rizen> damn it!!!! 01:37 <@rizen> it's getCartBySession 01:37 <@rizen> i've been thinking it should be called newBySession 01:38 <@rizen> that still doesn't fix it though 01:39 <+perlDreamer> are you getting a field mismatch, or something else? 01:39 <@rizen> nevermind it fixes it 01:39 <@rizen> i had another typo 01:40 <+perlDreamer> s/needs/?????/ 01:40 <@rizen> yup 01:40 <@rizen> pd you rock 01:40 <+perlDreamer> I'm a testing monster 01:40 <@rizen> indeed 01:47 < CIA-22> WebGUI: jt * r5864 /branch/WebGUI_Commerce/ (t/Shop/Cart.t lib/WebGUI/Shop/Cart.pm): trying to add more exceptions 01:47 < CIA-22> WebGUI: jt * r5865 /branch/WebGUI_Commerce/t/Shop/Cart.t: fixed a test 01:47 < CIA-22> WebGUI: colin * r5866 /branch/WebGUI_Commerce/lib/WebGUI/Shop/Tax.pm: 01:47 < CIA-22> WebGUI: Cache the main cart address tax info. 01:47 < CIA-22> WebGUI: Build some more JS for the view Tax screen. 01:49 -!- perlDreamer [n=ckuskie@nat039.mxim.com] has quit ["Download Gaim: http://gaim.sourceforge.net/"] 01:55 -!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui 01:55 -!- mode/#webgui [+v Radix-wrk] by ChanServ 02:08 -!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit [] 02:32 -!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui 02:43 -!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has left #webgui [] 03:02 -!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has quit ["bbiab"] 03:12 -!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui 03:12 -!- mode/#webgui [+o apeiron] by ChanServ 03:25 -!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has quit [] 04:23 -!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI 04:39 -!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui 05:08 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Connection timed out] 05:24 -!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has quit [] 05:44 -!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has quit ["Windows doesn't have users, it has hostages."] 06:04 -!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has joined #webgui 06:04 -!- mode/#webgui [+v Radix_] by ChanServ 06:18 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."] 06:54 -!- vince2 [n=vince@ip68-12-66-144.ok.ok.cox.net] has joined #webgui 06:55 -!- vince2 [n=vince@ip68-12-66-144.ok.ok.cox.net] has quit [Client Quit] 06:56 -!- perlDreamer [n=colink@pool-71-117-250-89.ptldor.fios.verizon.net] has joined #webgui 06:56 -!- mode/#webgui [+v perlDreamer] by ChanServ 07:18 -!- perlDreamer [n=colink@pool-71-117-250-89.ptldor.fios.verizon.net] has quit ["Leaving."] 07:26 -!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: steveo_aa 07:28 -!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: ckotil 07:29 -!- Netsplit over, joins: steveo_aa 07:30 -!- ckotil [n=newtrino@snare.grnoc.iu.edu] has joined #webgui 07:31 < CIA-22> WebGUI: colin * r5867 /branch/WebGUI_Commerce/lib/WebGUI/Shop/Tax.pm: renamed www_view to www_manage, and added more JS 07:33 -!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has quit ["Leaving"] 08:09 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui 08:09 -!- mode/#webgui [+o preaction] by ChanServ 08:33 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)] 08:51 -!- ryuu_ro [n=rory@194.171.50.69] has joined #webgui 08:55 -!- ryuu_ro_ [n=rory@194.171.50.69] has joined #webgui 09:13 -!- ryuu_ro [n=rory@194.171.50.69] has quit [Read error: 110 (Connection timed out)] 09:58 -!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui 10:22 -!- Radix-wrk [n=Jesse@203.161.68.67] has quit ["Leaving"] 10:52 -!- BartJol [n=plainstu@194.171.50.123] has joined #webgui 11:42 -!- BartJo1 [n=plainstu@194.171.50.123] has joined #webgui 11:55 -!- BartJol [n=plainstu@194.171.50.123] has quit [Read error: 113 (No route to host)] 13:22 -!- jehryn [n=voltxion@146.223.205.68.cfl.res.rr.com] has joined #webgui 13:24 -!- jehryn [n=voltxion@146.223.205.68.cfl.res.rr.com] has left #webgui [] 14:16 -!- br4k3r [n=br4k3r@bas3-ottawa10-1279549458.dsl.bell.ca] has joined #webgui 14:16 < br4k3r> mornin gents 14:16 < br4k3r> and ladies if there are any 14:16 < br4k3r> :) 14:19 < AMH_bob> hi dude 14:19 < AMH_bob> (or dudet) 14:19 < br4k3r> hehe 14:19 < br4k3r> d00d :) 14:20 < br4k3r> so yesterday I began the daunting task of upgrading from 6.8.9 to the newest 14:25 -!- MrHairgrease [n=martin@194.171.50.69] has joined #webgui 14:25 -!- mode/#webgui [+v MrHairgrease] by ChanServ 14:38 -!- BartJo1 [n=plainstu@194.171.50.123] has quit [Read error: 110 (Connection timed out)] 15:14 -!- wgGuest59 [n=wgGuest5@97.66.185.250] has joined #webgui 15:15 < ckotil> how'd that go? 15:15 -!- topsub [n=topsub20@97.66.185.250] has joined #webgui 15:15 < ckotil> it sounds daunting 15:16 -!- br4k3r [n=br4k3r@bas3-ottawa10-1279549458.dsl.bell.ca] has quit [Remote closed the connection] 15:16 -!- wgGuest59 [n=wgGuest5@97.66.185.250] has quit [Client Quit] 15:27 -!- BartJol [n=plainstu@host2.procolix.com] has joined #webgui 15:40 -!- dionak [n=diona@97.66.185.250] has joined #webgui 15:43 -!- bopbop [n=kmccombs@71-82-214-154.dhcp.mdsn.wi.charter.com] has joined #webgui 16:03 -!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui 16:03 -!- mode/#webgui [+o rizen] by ChanServ 16:08 -!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui 16:08 -!- mode/#webgui [+o Haarg] by ChanServ 16:11 <+MrHairgrease> rizen: for some reason if I put $self->session->errorHandler->warn("yadayada") in the commerce code, nothing appears in the log 16:12 <+MrHairgrease> it looks like only excpetions are getting logged 16:12 <@rizen> what have you done? 16:13 <@rizen> you broke it didn't you 16:13 <@rizen> i knew i couldn't trust you smooth talking europeans 16:13 <@rizen> =) 16:13 <+MrHairgrease> don't get me started 16:13 <+MrHairgrease> all these small changes like set => update and some other minor stuff has been driving me crazy today 16:14 <+MrHairgrease> more specific because I can't get get any normal loggin messages 16:14 <+MrHairgrease> anyway 16:14 <+MrHairgrease> check this out: http://webgui.pastebin.org/24583 16:15 <+MrHairgrease> The highlighted line should at the very least show PLOINK in the logs right? 16:15 <@rizen> PLOINK? 16:15 <+MrHairgrease> when adding a shipper that is 16:15 <+MrHairgrease> never mind the word, it has no meaning 16:15 <@rizen> i'm just giving you shit. sorry i should be serious. 16:15 <@rizen> yes it should log ploink, provided it's getting to that line 16:15 <@rizen> you are throwing exceptions prior to that 16:16 <@rizen> also, your method is called addShipper 16:16 <@rizen> but aren't you working on pay? 16:17 <+MrHairgrease> well it is getting there: when i add a print "FOOBAR". I see FOOBAR being printed in my browser 16:17 <+MrHairgrease> I am working on pay btw 16:18 <+MrHairgrease> but I thought I check the weird behaviour in something that should work 16:19 <+MrHairgrease> does it log on your system? 16:21 <@rizen> going to try it now 16:21 <@rizen> it works on address book...just tried that 16:21 <+MrHairgrease> oh fuck 16:21 <@rizen> going to try ship now 16:21 <+MrHairgrease> log.conf is set to ERROR 16:22 <+MrHairgrease> does the wre do that? 16:23 <+MrHairgrease> never mind 16:23 <+MrHairgrease> it works when I set it to WARN level again... 16:23 <+MrHairgrease> I'm gonna call this week waste-your-time-on-stupid-crap-week 16:25 <@rizen> it's logging for me 16:25 <@rizen> ok 16:25 <@rizen> yes, your friend KOEN requested that error be the default level set in WebGUI/WRE 16:25 <+MrHairgrease> yeah it should 16:25 <@rizen> i agree 16:25 <+MrHairgrease> even in dev mode? 16:25 <@rizen> which is why i implemented it 16:26 <@rizen> i never told dev mode to look at it 16:27 <+MrHairgrease> Also, it seems that APache2::Reload is not configured 16:27 <+MrHairgrease> could that be 16:27 <+MrHairgrease> ? 16:29 <@rizen> it should be 16:29 <@rizen> but there's always a chance that something bad has happened 16:29 <@rizen> bug 16:29 <@rizen> whatever 16:29 <@rizen> oh...i know why you think that 16:30 <@rizen> i don't know what it is about apache2::reload 16:30 <@rizen> but for me it only works for assets 16:30 <@rizen> if i'm working on some core stuff 16:30 <@rizen> then i have to restart every time 16:30 <@rizen> maybe there is a different way to configure it 16:30 <+MrHairgrease> Well, I tried to configure it manually 16:31 <+MrHairgrease> but then all kind of weird crap started to happen 16:31 <+MrHairgrease> that combined with the log problems 16:31 <+MrHairgrease> made me disable it again 16:31 <+MrHairgrease> well anyway 16:31 <+MrHairgrease> carrying on with the pay stuff 16:34 <+MrHairgrease> oh one other thing 16:34 <+MrHairgrease> I noticed that when the Admin Bar is displayed requests are done twice 16:34 <+MrHairgrease> I'm not sure if that happens in all cases 16:34 <+MrHairgrease> but it happened to me on two different projects 16:35 <+MrHairgrease> I always notice by form posts being done twice 16:35 <+MrHairgrease> which doesn't happen when the admin bar is off 16:35 <+MrHairgrease> is that known behaviour? 16:47 <+MrHairgrease> yay, the management crap is finally working as it should! 16:48 <+MrHairgrease> about time... 16:52 <@rizen> i havent' seen that with the admin bar 16:52 <@rizen> not sure how the admin bar could cause that 16:52 <@rizen> gotta reboot...brb 16:52 -!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit [] 16:58 -!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui 16:58 -!- mode/#webgui [+o rizen] by ChanServ 16:59 <+MrHairgrease> ok rizen, what is the checkout button in the cart supposed to do 16:59 <+MrHairgrease> or 17:00 <+MrHairgrease> how do it get from that screen to the select your paymentgatewayscreen 17:00 <+MrHairgrease> is there something already? 17:00 <@rizen> the checkout button is supposed to take you to the payment gateway selection screen 17:00 <@rizen> and no, there isn't something already 17:00 <+MrHairgrease> ok 17:00 <@rizen> that's something that has to be built into Pay.pm 17:00 <+MrHairgrease> ok 17:00 <@rizen> oh 17:01 <+MrHairgrease> will do 17:01 <@rizen> it's also supposed to ensure that the user is logged in 17:01 <+MrHairgrease> ok 17:01 <+MrHairgrease> that should be added to www_selectPaymentgateway 17:01 <+MrHairgrease> ? 17:01 <+MrHairgrease> or do you want it in the cart somewhere? 17:02 <@rizen> to www_select.... 17:02 <@rizen> the cart doesn't require login 17:02 <@rizen> only when it comes time to check out 17:03 <+MrHairgrease> heh, I already built that method =) 17:03 <@rizen> indeed 17:03 <+MrHairgrease> forgot about that 17:03 <@rizen> this is very similar to the old commerce system 17:03 <+MrHairgrease> no I mean in Pay.t 17:03 <+MrHairgrease> \.pm* 17:03 <@rizen> it's just that i moved the shipping part into the cart 17:03 <@rizen> oh 17:11 -!- BartJol [n=plainstu@host2.procolix.com] has quit [Read error: 104 (Connection reset by peer)] 17:22 -!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has quit ["brb"] 17:23 -!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui 17:23 -!- mode/#webgui [+o apeiron] by ChanServ 17:24 -!- BartJol [n=plainstu@194.171.50.123] has joined #webgui 17:25 < topsub> hello. anyone here who can hlep me ping some questions about testing off of them? 17:31 < topsub> i have questions testing with PseudoRequest 17:32 < topsub> i have this idea of setting up a request.. calling setup_body.. then calling my function direclty. Would that "mock" the post 17:33 -!- ryuu_ro_ [n=rory@194.171.50.69] has quit [] 17:38 -!- perlDreamer [n=ckuskie@nat039.mxim.com] has joined #webgui 17:38 -!- mode/#webgui [+v perlDreamer] by ChanServ 17:41 <+MrHairgrease> gotta go 17:41 <+MrHairgrease> i'll be back tonight 17:41 <+MrHairgrease> later 17:42 -!- MrHairgrease [n=martin@194.171.50.69] has left #webgui [] 17:44 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui 17:45 -!- TheSeparator [n=seppie@212-123-0-146.iFiber.telenet-ops.be] has joined #webgui 17:58 -!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI 18:07 -!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has quit ["Leaving."] 18:09 < topsub> Think i just got this POST test working.. 18:21 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui 18:21 -!- mode/#webgui [+o preaction] by ChanServ 18:21 -!- bopbop [n=kmccombs@71-82-214-154.dhcp.mdsn.wi.charter.com] has quit [] 18:22 -!- TheSeparator [n=seppie@212-123-0-146.iFiber.telenet-ops.be] has quit [Read error: 113 (No route to host)] 18:23 -!- BartJol [n=plainstu@194.171.50.123] has left #webgui [] 18:26 < perlmonkey2> topsub: building fences? 18:52 -!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has quit ["brb"] 18:55 <@rizen> i hereby declare that we are going to rule the world with this new commerce system 19:00 -!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui 19:00 -!- mode/#webgui [+o apeiron] by ChanServ 19:18 -!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has quit ["Leaving"] 19:23 * perlDreamer commences with world ruling level coding 19:28 < CIA-22> WebGUI: graham * r5868 /WebGUI/lib/WebGUI/ (3 files in 3 dirs): improve Thingy i18n 19:28 < CIA-22> WebGUI: graham * r5869 /WebGUI/docs/create.sql: preparing for 7.5.7 release 19:28 < CIA-22> WebGUI: jt * r5870 /releases/WebGUI_7.5.7-beta: Release 7.5.7-beta 19:28 < CIA-22> WebGUI: graham * r5871 /WebGUI/ (4 files in 4 dirs): preparing for 7.5.7 dev 19:28 < CIA-22> WebGUI: colin * r5872 /branch/WebGUI_Commerce/t/Shop/Pay.t: Pay.t does not use Test::Exception 19:35 < perlmonkey2> For the survey, in the Survey_question I'm breaking basic normalization by having a randomizedWords and a previousAnswerWords column which are each TEXT type and contain a JSON array. The first being an array of strings to be randomly picked to be inserted in the question text, and the second and array of Survey_questionId's who's answer will be placed in the question text. Should I stop being lazy and break out those into seperat 19:39 <@preaction> perlmonkey2, don't worry too much about normalization really. unless it's a field you could concieve that people would want to build an SQLReport on (unlikely) 19:39 < perlmonkey2> preaction: cool, thanks 20:12 -!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui 20:12 -!- mode/#webgui [+o Haarg] by ChanServ 20:16 < topsub> I have couple questions about PseudoRequest testing.. 20:17 < topsub> when i go to call "upload" from PseudoRequest it ask for a formname. does that get dynamic created? 20:18 < topsub> i keep getting this error... "Can't use an undefined value as an ARRAY reference at line 207 in PseudoReuqest.pm 20:19 < topsub> Seems i am not passing in what its expecting any help? 20:21 <@rizen> perlDreamer just went to lunch methinks 20:21 <@rizen> he should be back in an hour 20:21 < topsub> ah 20:21 <@rizen> let me see if i can figure out what the error means though 20:22 < topsub> what we get it means its the value is just blank 20:22 <@rizen> what version of webgui are you using here? 20:22 < topsub> undef value as array ref 20:22 <@rizen> there is no code at line 207 20:22 < topsub> 7.4.21 20:23 < topsub> in PseudoReuqest.pm 20:23 < topsub> \data WebGUI t lib WebGUI 20:26 -!- khenn [n=khenn@24-159-239-186.dhcp.mdsn.wi.charter.com] has joined #WebGUI 20:26 -!- mode/#webgui [+o khenn] by ChanServ 20:26 <@rizen> yeah it looks to me like $uploadFileHandles isn't getting populated 20:26 < topsub> http://webgui.pastebin.com/m50419d31 20:26 < topsub> look at line 11, thats how i passing it threw 20:27 < topsub> hmm could dump $upload->fh and see if i am getting results from that 20:27 <@rizen> also $uploadFileHandles is supposed to be an array reference 20:27 <@rizen> and you're giving it a single file handle 20:29 < topsub> ah wrapped it in [ ] 20:44 < topsub> hmm think something else is wrong.. maybe 20:44 < topsub> http://webgui.pastebin.com/m7772555d 20:44 < topsub> getting same error as before 20:44 < topsub> 207 in PseudoRequest 20:51 < topsub> It seems in storage.pm when we call the addFileFromFormPost function its not passing along the FileHandler that i include when i call it in my test 20:53 <@rizen> i don't see where you're calling addFileFrom... 20:53 < topsub> inside that function ( addFileFromFormPost ) it calls