WebGUI irc logs from: 2008-03.log

--- Log opened Sat Mar 01 00:00:00 2008
--- Day changed Sat Mar 01 2008
wgGuest79ok00:00
+perlDreamerDoes it say that in the docs for WebGUI::Group.pm ?00:00
wgGuest79i am going to look for the method00:00
cap10morgani see00:01
wgGuest79in WebGUI::Group.pm there is not a create method00:01
estivenin WebGUI::Group.om  doesn't exist a create method.... i can't find too00:04
estivenCan't locate object method "create" via package "WebGUI::Group" at /data/WebGUI/lib/WebGUI/Macro/.....00:07
wgGuest79so, where is that method?00:08
estivenmm, i don't know...00:08
@rizenWebGUI::Group->new($sesion, "new")00:08
@rizenmy $newGroup = WebGUI::Group->new($ssesion, "new");00:09
@rizenit's a very old api so it doesn't conform tot he same specs as our other objects00:09
estivenWebGUI::Session::ErrorHandler::warn[430] - WebGUI::Group->new called with a non-existant groupId:[prueba]00:10
wgGuest79perlDreamer wrote that new pull an existing group00:10
@Haargyou have to pass in 'new' as the second parameter to create a group00:12
+perlDreamerperlDreamer has seen too much API recently00:13
estivenmm, i try it00:14
estivenyes works...00:19
estiven        my $g = WebGUI::Group->new($session,"new");00:19
estiven        $g->name("prueba");00:19
estiventhanks00:19
+perlDreamercap10morgan: it's in00:20
+perlDreamersvn rev 568700:20
+perlDreamerInterception of logging now has to be enabled.00:20
cap10morganperlDreamer: cool. does it go to webgui.log o/w?00:21
+perlDreameryes00:21
cap10morganexcellent, thanks for doing that00:21
+perlDreameryou're welcome00:21
+perlDreamerit could use some polish00:21
+perlDreamerthe queue is a scalar, so it's only one call deep00:21
+perlDreamerand as it stands, there's no way to turn it off once enabled00:21
CIA-21WebGUI: colin * r5687 /WebGUI/t/ (6 files in 4 dirs): Fix how logging gets intercepted. It used to be on by default, now it must be turned on.00:27
+perlDreamerhas anyone else noticed that the SVN RSS feed is from 196900:28
@preactionit's probably not sending out the pubDate field.00:29
cap10morganHaarg: can I clone your WebGUI git repo?00:29
@Haargheh00:29
@Haargi should put it somewhere00:29
@Haargit's a pain to do the initial import00:29
cap10morganyeah, that's what i'm discovering :)00:29
@rizenHaarg, if you do that make sure that it doesn't expose your user/pass or privileges to anyone00:37
@Haargit doesn't store than in the repository00:37
@Haargit just goes in the same place svn auth stuff normally does00:37
@rizenwell pd, i'm outy for the weekend, i've checked in the base address book system, still have to do the ui for it00:37
@rizenwe made very good progress this week perlDreamer.00:38
+perlDreamerthanks, man00:38
* rizen pats perlDreamer on the back00:38
+perlDreamerI should have the tax migration script done soon, too00:38
@rizennice00:38
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [No route to host]00:39
@rizenhopefully next week we can have address book, shipping, and tax all finished and integrated into the cart00:39
@rizenas well as all the admin screens for each00:39
+perlDreamerand doesn't Joeri and crew turn on next week, too?00:39
+perlDreamerwe may make the deadline,  yet!00:39
@rizenmarch 5th i think he said the current project is done00:40
@rizenwe'll make the deadline00:40
@rizenthat's not in question00:40
@rizenthe question is how much other goodies can we throw in by then00:40
+perlDreamer:)00:40
@rizenhave a good weekend all00:41
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit []00:41
cap10morganHaarg: do you remember the git svn init command you used to pull in the WebGUI SVN repo? :)00:44
cap10morganI'm thinking of doing git svn init -t releases -b branch -T WebGUI https://svn.webgui.org/plainblack00:49
cap10morganhere goes nuthin...00:50
nubarizen> | nuba you too00:54
+perlDreamerrizen had a question about addressing00:54
nubawas that re: multiple line addresses ? if yes, I think they're good :)00:54
@Haargthat's basically it cap1000:54
cap10morganHaarg: cool, thanks00:54
+perlDreamerI think the exact question was whether one line or multi-line addresses would be difficult for interational users00:55
nubablist00:55
nubaoops, wrong window00:55
nubawell, its unusual in Brazil to spell the entire address in a single line00:56
@apeironbitlbee++00:56
nubaapeiron: heh yeah00:56
nubabitlbee is great, except when it goes runaway an 99% CPU...00:57
nubaand*00:57
@apeironI don't seem to have that problem, heh.00:57
nubalucky you, it happens to me every few weeks or so.00:58
nubaand Im too lazy to go find out why00:58
@apeironWell, I don't notice it if it does... FreeBSD's scheduler doesn't actually let a process eat 100% of the CPU time.00:59
nubatrust me, you'll notice.01:00
@apeironI've sat and watched processes labelled as "100%" in top and the system was perfectly responsive. :)01:01
nubaone notices when all buddies are silent for more than a day01:01
CIA-21WebGUI: jt * r5688 /branch/WebGUI_Commerce/ (6 files in 3 dirs): added address book management system, no ui01:01
nubaheh, another thing one notices is the productivity boost01:04
+perlDreamercap10morgan: http://git.or.cz/course/svn.html01:17
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit [Remote closed the connection]01:21
@Haargthis is better for working with git-svn: http://utsl.gen.nz/talks/git-svn/intro.html01:30
-!- wgGuest79 [n=wgGuest7@static-adsl201-232-86-73.epm.net.co] has quit [Remote closed the connection]01:34
-!- lisette [n=liraos@static-adsl201-232-86-73.epm.net.co] has quit ["Leaving."]01:43
CIA-21WebGUI: colin * r5689 /branch/WebGUI_Commerce/docs/upgrades/upgrade_7.5.2-7.5.3.pl: 01:43
CIA-21WebGUI: Migrate old tax data into the nex tax data script.01:43
CIA-21WebGUI: Tested this manually and it works okay.01:43
-!- estiven [n=estiven@static-adsl201-232-86-73.epm.net.co] has left #webgui []01:52
-!- cap10morgan [n=cap10mor@h19-afsc.ded.indra.com] has quit []02:20
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has quit ["Download Gaim: http://gaim.sourceforge.net/"]02:48
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI02:52
-!- cap10morgan [n=cap10mor@206-124-6-111.denver.dsl.forethought.net] has joined #webgui03:16
CIA-21WebGUI: arjan * r5690 /branch/WebGUI_7.4/lib/WebGUI/Asset/Wobject/WikiMaster.pm: fix: Wiki links to pages in trash (Arjan Widlak/United Knowledge)03:34
CIA-21WebGUI: arjan * r5691 /branch/WebGUI_7.4/docs/changelog/7.x.x.txt: updated changelog: Wiki links to pages in trash (Arjan Widlak/United Knowledge)03:51
-!- Radix__ [n=Radix@203.161.71.161.static.amnet.net.au] has joined #webgui05:49
-!- Radix__ [n=Radix@203.161.71.161.static.amnet.net.au] has quit [Client Quit]05:49
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)]05:51
CIA-21WebGUI: colin * r5692 /branch/WebGUI_Commerce/designdocs/shipper.pod: 06:20
CIA-21WebGUI: I was able to build Shop::Ship without _loadDriver by06:20
CIA-21WebGUI: using WebGUI::Pluggable directly.06:20
-!- wgGuest85 [i=WebGUIUs@ip-159.net-82-216-114.rev.numericable.fr] has joined #webgui07:08
wgGuest85speck french ?07:09
-!- wgGuest85 [i=WebGUIUs@ip-159.net-82-216-114.rev.numericable.fr] has quit [Client Quit]07:11
CIA-21WebGUI: colin * r5693 /branch/WebGUI_Commerce/ (lib/WebGUI/Shop/Tax.pm t/Shop/Tax.t): placeholder for calculate in Shop::Tax.pm07:17
-!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: steveo_aa07:31
-!- Netsplit over, joins: steveo_aa07:38
-!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: steveo_aa07:39
-!- Netsplit over, joins: steveo_aa07:40
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui10:15
-!- mode/#webgui [+o preaction] by ChanServ10:15
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has quit [Read error: 113 (No route to host)]12:24
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)]13:31
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has quit [Read error: 110 (Connection timed out)]14:31
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI17:07
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui17:58
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui18:55
-!- mode/#webgui [+o apeiron] by ChanServ18:55
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui19:45
-!- mode/#webgui [+o preaction] by ChanServ19:45
CIA-21WebGUI: doug * r5694 /branch/doug-experimental: Removing my experimental branch since I can't seem to merge with HEAD22:21
CIA-21WebGUI: doug * r5695 /branch/doug-experimental: Re-making my experimental branch because SVN hates me22:21
@apeironNo, no, it's CVS that hates you. It even tells you so.22:41
@preactionthen why wouldn't svn let me merge in the YUI changes to my branch?22:41
@preactionyou22:41
@preactionYOU22:41
@preactionYOU'RE THE ONE WHO UPGRADED YUI22:41
@apeironYep.22:41
@preactionthat means it's clearly entirely your fault22:42
@apeironOr you should have synced more frequently.22:42
@preactionit was only 40 revisions22:42
@apeironHmm. What were your changes, anyway?22:43
@preactionnone. or do you mean what was i doing in my branch?22:44
@apeironIn your branch.22:45
@preactionmy Report asset, planning on some backwards-compatible improvements to the Asset API22:46
@preactionthe Calendar List View was in there until I merged it into HEAD22:46
@apeironmeep.22:46
@apeironer, did my YUI update wipe out those changes?22:46
@preactionno, i got what i needed out and then destroyed the branch and recreated it22:47
@preactioni couldn't commit the merge22:47
@apeironConflicts, I imagine?22:47
@preactionresource was out-of-date, but svn up did nothing22:47
@apeironfun.22:47
@preactionindeed22:47
@preactionhttp://www.netgear.com/Products/Storage/ReadyNASNVPlus.aspx <- thinking of scoring me one of these babies22:48
@preactioneven though they're $900 w/o disks22:48
@apeironPretty nice. I was looking at a similar toy on the Apple site. Will link if I can find it.22:49
@apeironThe 1TB Time Capsule, if you're familiar with it.22:49
@preactioni remember back in the day when 40GB was "You'll never fill it up". 22:49
@preactioni've seen it, yes22:49
@apeironhttp://xrl.us/bgzv8 (Link to store.apple.com)22:49
@preactionit'd go great on-top or under the new mac mini22:50
@preactionincidentally, if you're ever going to buy one, don't skimp. get the biggest one you can22:50
@apeironOh, yeah, of course.22:50
@preactionapparently mine isn't powerful enough to decode h.264 video22:50
@apeironOh, the minis.22:50
@apeironI thought you meant a NAS.22:50
@preactioneven though Apple recommends a 1.8Ghz22:50
@preactionoh, no22:50
@apeironI've been looking at them.22:51
@apeironRight now I have an ancient 233 MHz box running a buncha stuff on the network.22:51
@apeironIt's got the keyboard, got the monitor. The Mini would far surpass it in all of its stats.22:51
@preactionoh yeah22:52
@apeironI'm actually seriously looking into going to school right now, so it may wait.22:52
@apeironOnline learning, of course.22:52
@preactionthe time capsule does seem pretty awesome, it's a hub, print server, and all sorts of stuff to improve the Mac Mini22:53
@apeironOh wow, it's a base station.22:53
@preactionyeah22:53
@apeironI totally missed that.22:53
@preactionthat + maxed out mini = $1700, which is pretty good for the capabilities22:54
@apeironI might also do the Mini thing so I have an actual desktop.22:57
@apeiron(as opposed to endless Unix workstations)22:57
@apeironGoing to school, especially online, I'm going to need to be able to do stuff like Office and Flash and all of that fancy stuff. Much as I'd like to claim otherwise, the free tools just aren't up to par yet.22:58
cap10morganHaarg: when you try to checkout a new branch in your wG git repo, does it give you this error: fatal: Untracked working tree file 'www/extras/yui/docs/YAHOO.widget.MenuBar.html' would be overwritten by merge. ?23:06
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."]23:08
-!- perlDreamer [n=colink@pool-71-117-235-252.ptldor.fios.verizon.net] has joined #webgui23:09
-!- mode/#webgui [+v perlDreamer] by ChanServ23:09
@apeironperlDreamer, Someone mentioned something on #perl that you may find amusing: You can't judge a book by its cover, but you can judge a test suite that way.23:23
+perlDreamerha!23:23
+perlDreamerI like tht23:23
+perlDreamerthat23:23
@apeironFigured you would.23:24
+perlDreamerSo, how do I persuade you to start writing tests? :)23:24
+perlDreamerA test a day keeps the perlDreamer away23:24
@apeironheh23:24
CIA-21WebGUI: colin * r5696 /branch/WebGUI_Commerce/ (lib/WebGUI/Shop/Tax.pm t/Shop/Tax.t): add a input validation check and test for Tax->calculate23:50
--- Day changed Sun Mar 02 2008
-!- perlDreamer [n=colink@pool-71-117-235-252.ptldor.fios.verizon.net] has quit ["Leaving."]00:15
CIA-21WebGUI: colin * r5697 /branch/WebGUI_Commerce/t/Shop/AddressBook.t: stub out Shop::AddressBook tests for new and create00:16
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit ["Leaving"]01:50
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui02:14
-!- perlmonkey3 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui02:29
-!- perlmonkey3 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [Client Quit]02:31
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [Read error: 113 (No route to host)]02:41
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui02:43
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."]03:19
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui03:22
perlmonkey2anyone not out at a bar?04:23
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui05:17
-!- mode/#webgui [+o preaction] by ChanServ05:17
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [No route to host]06:59
CIA-21WebGUI: doug * r5698 /branch/doug-experimental/ (14 files in 8 dirs): rebuilt Asset Report. started AssetMixin and Mixin::Installable. added shells for SqlWhere and SqlOrderBy form controls07:20
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)]07:27
CIA-21WebGUI: colin * r5699 /branch/WebGUI_Commerce/t/Shop/AddressBook.t: Address book tests for create, session, and initial data on object creation08:01
-!- SDuensin_ [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI08:07
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has quit [Read error: 110 (Connection timed out)]08:09
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui08:45
-!- mode/#webgui [+o preaction] by ChanServ08:45
-!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has quit ["Windows doesn't have users, it has hostages."]10:15
-!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has joined #webgui11:03
-!- mode/#webgui [+v Radix_] by ChanServ11:03
-!- Samus_Ar1n [n=ILL@S01060018f870a6ff.vc.shawcable.net] has joined #WebGUI11:52
-!- Samus_Aran [n=ILL@about/linux/supportwhirlwind/SamusAran] has quit [Nick collision from services.]11:54
-!- Samus_Ar1n is now known as Samus_Aran11:54
-!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has quit [Read error: 104 (Connection reset by peer)]12:25
-!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has joined #webgui12:25
-!- mode/#webgui [+v Radix_] by ChanServ12:25
-!- Samus_Aran [n=ILL@about/linux/supportwhirlwind/SamusAran] has left #WebGUI ["onwards I go ..."]12:51
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)]13:39
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui17:05
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has joined #webgui18:14
-!- mode/#webgui [+v MrHairgrease] by ChanServ18:14
-!- perlDreamer [n=colink@pool-71-117-235-252.ptldor.fios.verizon.net] has joined #webgui18:19
-!- mode/#webgui [+v perlDreamer] by ChanServ18:19
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [Connection timed out]18:29
CIA-21WebGUI: colin * r5700 /branch/WebGUI_Commerce/lib/WebGUI/Shop/ (AddressBook.pm Address.pm): 18:31
CIA-21WebGUI: WBGP align Address's update method.18:31
CIA-21WebGUI: Remove unused variables and add some POD to AddressBook.18:31
-!- SDuensin_ [n=Scott@12-226-44-250.client.mchsi.com] has quit [Read error: 110 (Connection timed out)]18:33
-!- BartJol [n=plainstu@54-167.surfsnel.dsl.internl.net] has joined #webgui18:38
+perlDreamerBartJol: You working on a Sunday?18:38
BartJolnot really18:38
+MrHairgreasehe bart! you're still alive after yesterday!18:39
+MrHairgrease=)18:39
BartJolif someone needs some help, I'm just at home and my roomate will cook18:39
BartJolI wasn't that bad18:39
BartJoljust not in a party mood18:42
+perlDreamerrizen is not going to be happy18:48
+MrHairgreaseis he ever? =)18:48
+perlDreamerEvery so often ;)18:48
+MrHairgreaseheh18:48
+MrHairgreasedon't tell him that. It'd make him angry 18:48
+perlDreamerThat's a recursive function18:49
+MrHairgreasei bet rizen hates recusrion =)18:49
CIA-21WebGUI: colin * r5701 /branch/WebGUI_Commerce/ (4 files in 3 dirs): 18:49
CIA-21WebGUI: Fix some comment typos in t/Shop/AddressBook18:49
CIA-21WebGUI: Add tests for WebGUI::Shop::Address18:49
CIA-21WebGUI: Fix bugs in the upgrade script (missing city entry) and18:49
CIA-21WebGUI: the Address new method.18:49
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui18:50
CIA-21WebGUI: colin * r5702 /branch/WebGUI_Commerce/ (t/Shop/Address.pm lib/WebGUI/Shop/Address.pm): 19:18
CIA-21WebGUI: Add a few more tests, and some POD to make sure that19:18
CIA-21WebGUI: new is known to be different from create as an instanciator19:18
CIA-21WebGUI: versus a constructor.19:18
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui19:38
-!- mode/#webgui [+o preaction] by ChanServ19:38
+MrHairgreasehttp://xkcd.com/378/19:52
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."]20:03
+perlDreamerreal programmers use perl20:41
+perlDreamerwho cares about the editor?20:41
@preactionperl programmers should use vim :p20:43
@preaction... so i've got an idea for AssetMixins that will allow you to add functionality to your assets with little code20:46
@preactionthe problem is, when importing the mixin's subs to your namespace, use is called at BEGIN time, before the calling namespace's symbol table has been created20:46
@preactionwhich means import sees nothing in the symbol table20:47
@preactionchanging "use" to a require/import works just fine...20:47
@preactionor, for some reason, putting the "use" after all the sub declarations works as well20:48
+perlDreamersounds like the same problem that ovid's mixin.pm has20:54
@preactiontried putting it in a CHECK block, that didn't work either20:55
+perlDreamerI looked into that when I was refactoring getEditForm into HTMLForm, to try and make it a mixin that lots of code could use20:56
+perlDreamerbut it seemed risky20:56
@preactionnm, putting require/import in a CHECK or INIT block works just fine20:58
@preactionbut not use20:58
@preactionit would work if i did a stringy eval 'use WebGUI::AssetMixin::Installable';20:59
@preactionbecause then it would happen at runtime and not compile time20:59
@preactionand though it is shorter, it's less comprehensible (Why would you use eval on a string literal when you can just do it yourself? I'll just remove the eval part and... wait, now everything's broken)21:00
+perlDreameris JT taking weekends off?21:01
@preactionhe's trying to take more time away from being "plugged-in" as it were21:02
@preactionin order to get more things Done21:02
@preactionso i would expect he's either having a gaming weekend or working on something21:02
@preactionnow what sucks is: I have to die if I'm trying to import something that already exists in the namespace, but i'm dying at runtime now and not compile time...21:05
@preactionwait... then why is it saying BEGIN failed?... wtf is perl doing?21:07
+perlDreameranybody have a copy of the movie, "The Shawshank Redemption" handy?21:14
+perlDreamerI need the address that was printed on the letters rejected by the prison system when Andy was asking for money21:14
@preactionhe wrote to the State Senate21:18
@preactionof Maine iirc21:18
@preaction3 State House Station21:20
@preactionAugusta, ME 04333-000321:20
@preactionof course, that's Now, but it probably would've been that way 30 years ago too21:20
@preactionhttp://www.vzavenue.net/~speedtech/ <- found the screenplay online21:21
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI21:28
@preactionlaugh... i just reimplemented Class::Trait21:43
+perlDreamerYou're a monster22:01
@preactioneh, i don't understand Class::Trait, and the code I wrote is better22:05
@preactionbut mixin works nicely22:05
@preactionand it handles the inheritence22:07
+perlDreamerwhy is it better than C::T?22:09
@preactionit probably isn't, in the long run22:10
@preactionor do you mean my code? my code does what C::T can't, it detects collisions and croaks22:10
@preactionbut it does so by requiring you to use import/require instead of use22:10
@preactionalso C::T won't work in mod_perl because it uses INIT22:11
@preactionthe mixin pragma is better than my code, because it handles collisions by adding inheritence instead of croaking22:11
@preactionmixin works the way I'd expect Multiple Inheritence to work22:11
@preactioni'm still evaluating if mixin can actually be a viable solution22:12
@preactionwith my AssetMixin, in order to get inheritence, you'd need to (A) override the right sub, and (B) call the fully-qualified sub from the mixin22:13
+perlDreamerI think people are leaning toward traits nowadays.22:21
@preactionokay, but how would it work under mod_perl?22:25
@preactionClass::Trait->initialize() in preload.perl and WebGUI::Pluggable22:26
+perlDreamerI don't know22:28
+perlDreamerI just know that perl6 encourages traits22:28
+perlDreamerand traits were added to p5, too22:28
+perlDreamerbut that was a while ago22:28
@preactionright, but from what i'm reading about traits, isn't mixin just a simpler implementation of traits?22:30
+perlDreamerI'm only relating what I've heard.22:31
+perlDreamerI don't grok much beyond that22:31
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui22:57
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has quit [Read error: 110 (Connection timed out)]23:02
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has joined #webgui23:06
-!- mode/#webgui [+v MrHairgrease] by ChanServ23:06
+perlDreamerMrHairgrease: How's the commerce hacking coming?23:06
+MrHairgreaseit's pretty much where I left it last thursday23:08
+MrHairgreaseLemme check what I've done so far23:09
+MrHairgreasemartin@martin:/data/WebGUI$ svn status23:10
+MrHairgrease?      t/Shop/PayDriver.t23:10
+MrHairgrease?      t/Shop/Pay.t23:10
+MrHairgrease?      lib/WebGUI/Shop/PayDriver.pm23:10
+perlDreamergood start :)23:10
+MrHairgreasethose things are prettymuch fisnished23:10
+MrHairgreaseyeah, i took your tests and modified them23:10
+MrHairgreasealso change/added some stuff23:10
+perlDreamercool23:10
+MrHairgreasethe additions are mostly still in TODO blocks23:10
+MrHairgreaseand I haven't tested them yet23:11
+MrHairgreasebut all in all not a bad result for only half a day23:11
+perlDreamerno23:11
+perlDreamerClass::InsideOut makes object pretty easy23:11
+perlDreamerdon't have to write all those constructors23:11
+MrHairgreaseyou mean getters?23:12
+perlDreameryeah, those too 23:12
+MrHairgreaseI haven't really dug into C::IO yet23:12
+MrHairgreasejust enough to understand what you did in your shipping modules23:12
+perlDreamerthat's all I know about it, so, as usualy23:13
+perlDreameryou're at least as smart as I am23:13
+MrHairgreaseso in a way you could say that you're my mr. Myagi =)23:13
+perlDreamerBreathe in, breathe out23:13
+perlDreamermake good perl23:13
+perlDreamerBansai, Martin-san bansai!23:13
+MrHairgreaseI don't bansai23:13
+MrHairgreasei rock sometimes, but mostly roll23:14
+perlDreamerIt's Japanese for "Divine wind"23:14
+perlDreamerwait a sec23:14
+MrHairgreaseoh I am into divine winds23:14
+perlDreamerthat's kamakaze23:14
+MrHairgreasei try to confine those to the bathroom though...23:14
+perlDreamerthose aren't divine23:15
+perlDreamerthey are foul23:15
+MrHairgreasebansi means attack or something like that i think23:15
+MrHairgreaseyou have no idea23:15
+MrHairgreaseyou never sniffed at them =)23:15
+perlDreamerI feel blessed23:15
+perlDreamerI should redo Tax and ShipDriver to use the setRow method in the db like rizen did23:16
+MrHairgreasesetRow, is that something like setCollateral?23:18
+MrHairgreaseI've spent way to much on hacking WebGUI lately23:18
+MrHairgreaseI have trouble keeping up with all the new features/api things23:18
@preactionsetCollateral uses setRow internally23:19
+MrHairgreasei guess you invoke it by session->db->setRow?23:20
@preactionyes23:22
+perlDreamerit's easier than writing 'insert all this crap into this table unless it exists then do update'23:28
+perlDreamerit's getting close to time to do a coverage check on the Shop code.23:32
CIA-21WebGUI: colin * r5703 /branch/WebGUI_Commerce/t/Shop/ (Address.pm Address.t): Rename the test. Add tests for all the other methods.23:35
perlmonkey2Has anyone looked at Plone's KSS?23:46
perlmonkey2I wonder how hard it would be to port to WebGUI.23:47
@preactionit seems to be all in python, so probably a bit difficult23:50
--- Day changed Mon Mar 03 2008
perlmonkey2But an extremely cool idea.00:06
-!- BartJol [n=plainstu@54-167.surfsnel.dsl.internl.net] has left #webgui []00:30
+perlDreamerI think we talked about KSS earlier, but don't remember the discussion00:47
+perlDreameryou could check the archives00:47
CIA-21WebGUI: colin * r5704 /WebGUI/t/Workflow/Instance.t: 01:14
CIA-21WebGUI: Adding Knowmad's excellent Instance test script for exposing JSON01:14
CIA-21WebGUI: problems in Workflow::Instance01:14
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has left #webgui []01:38
@preactionso I've got AssetMixin::Installable working. before I really consider it a success, I'm going to make Subscribable03:21
+perlDreameryou should make RSS first03:21
+perlDreamer(imo)03:22
@preactionooh, i forgot about that one03:23
@preactionthat one will be easier no doubt03:26
@preactioncoding and baking cookies at the same time. much fun ;-)03:26
* apeiron misinterpreted that to mean writing code dealing with cookies while also baking cookies.03:27
@preactiongood lord... the RSSCapable mixin would basically re-implement a lot of the SyndicatedContent wobject03:29
@preactionso i open it up right?03:29
@preactionbad idea...03:29
@preactiontheoretically... these things should work with the definition sub... i wonder...03:39
@preactionha. ha ha! it works! 03:54
@preactionI have a dream that Assets will be an amalgamation of component parts, each contributing to the whole!03:54
@preactionI have a dream that Assets will be as easy to create as macros!03:54
@preactionand I have a dream that I will stop using stupid gimmicks to try to impress people03:55
+perlDreameramen, brother!03:56
+perlDreamerI just got done serving the kids chicken cordon bleu, mushroom tortellini with pesta and crou d'etat with hummus03:56
@preactionyou're serious?03:57
@preactionthat sounds awesome03:57
+perlDreameryou're welcome to come over for leftovers03:57
@preactionthat's something i haven't tried to make yet, cordon bleu...03:57
+perlDreamerI went to the Costco school of cooking, tonight03:59
@preactionoh... lame...03:59
+perlDreamerI was impressed that they were eating real, adult-type food03:59
@preactiontrue enough03:59
@preactionhummus would've been enough to put me off when i was 1403:59
+perlDreamerthey got exposed early.  It was a part of a diet that I was on04:00
+perlDreamerand actually, it was black bean hummus, which rocks04:01
+perlDreamerhm04:01
+perlDreamerI need to write the tests that expose that other bug in the AddressBook04:01
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)]04:31
CIA-21WebGUI: colin * r5705 /branch/WebGUI_Commerce/ (lib/WebGUI/Shop/AddressBook.pm t/Shop/AddressBook.t): 04:47
CIA-21WebGUI: More tests for addressBook.04:47
CIA-21WebGUI: Fixed bugs in delete and getAddresses.04:47
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."]05:00
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui05:21
-!- mode/#webgui [+o preaction] by ChanServ05:21
-!- Samus_Aran [n=ILL@about/linux/supportwhirlwind/SamusAran] has joined #WebGUI05:25
Samus_Aranhello.  I am doing an upgrade of manually installed WebGUI, following instructions on the site.  when trying to restart Apache, it won't restart.  the log file shows:05:25
Samus_AranCan't load Perl file: /var/www/WebGUI/sbin/preload.perl for server foo.com:0, exiting...05:25
Samus_Aranwhich exists where it did before05:25
Samus_Aranis this just a matter of overwritten config files in the etc ?05:26
Samus_Aran(I backed them up before untarring the new one)05:26
@preactiontry perl -c preload.perl to find out why it's not loading05:28
Samus_Aranit says it can't find WebGUI.pm in @INC05:29
Samus_Aranthough nothing has moved from where the former install worked05:29
-!- patspam [i=chatzill@ppp121-44-242-221.lns4.mel4.internode.on.net] has joined #webgui05:29
Samus_Aranit didn't erase my config files in etc I notice, as the new ones are all .original05:31
@preactionpreload.perl locates the webgui root directory. which means you had to edit that in order to use webgui. did you edit it again after you extracted the new WebGUI?05:31
Samus_Aranwhere is that set environment script ?  I had run it before in this shell session, but it is no longer set05:32
Samus_Aranthat is surely the issue05:32
@preactionthat won't do it, and you have WebGUI in /var/www, so you aren't running the WRE05:32
Samus_AranI mentioned above this is an upgrade of a manual install05:33
@preactionthe WRE has that set environment script, so without the WRE it's not necessary05:33
Samus_AranI thought it was necessary to tell it where you did install it to ?05:34
Samus_AranI don't quite remember, but I thought I updated it05:34
@preactionsetEnvironment is for the WRE so that saying "perl" will give you the WRE's perl and other things. it adds library directorys, preloads, and such. it's for the WRE05:35
@preactionpreload.perl, one of the first lines in there sets the $webguiRoot variable. you need to change what that gets set to05:35
Samus_Aranoh.  I think I updated the actual preload.perl file05:35
Samus_Aranjust updated that, thanks05:35
@preactionimho it should be gleaned from an environment variable that is set from the apache configuration file, but that'd be an RFE05:35
Samus_Aranthat sounds like a good approach05:36
Samus_Arando you know if there are there any other files that need to be changed ?05:36
* Samus_Aran goes to try Apache again05:36
Samus_Aranworked05:36
@preactionno i don't, i have my webgui at /data/WebGUI05:36
Samus_AranI thought it was that setEnvironment script I updated, but it was preload.perl.  will try to remember that for next time05:36
@preactionmost things should just work. i think only preload.perl needs an absolute path, because apache doesn't and shouldn't chdir05:37
Samus_Aranthank you for your help05:37
Samus_Aranupdate went smoothly05:40
Samus_Aran*upgrade05:41
* Samus_Aran installs Weather::Com::Finder: for the 30th time or so05:48
Samus_Aranwhy is it that every time testEnvironment.pl is run, it tries to install that module again ?05:49
Samus_AranWeather::Com::Finder is up to date (1.008).05:50
Samus_Aranany idea why I can't click the button to choose a file to upload, in the assets window ?06:14
Samus_Aranit seems to be disabled06:14
Samus_Arancan't enter the text box to type in a name, either06:14
Samus_Aranhm, it works in Firefox but not Opera06:41
Samus_Aranstrange06:41
Samus_Aranis there any Javascript affecting the file upload thing in Assets ?06:41
+perlDreamerpreaction: In case I haven't said it yet.  Thank you so much for the 7.4 smoke test run!06:54
-!- perlDreamer [n=colink@pool-71-117-235-252.ptldor.fios.verizon.net] has quit ["Leaving."]06:54
Samus_Aranpreaction: okay, I have fully updated WebGUI to the latest release, and the issue where no images can appear is still present06:57
Samus_Aranpreaction: is there any suggestion of where to look to solve this ?06:57
@preactionPlain Black Corp. offers affordable support options, if you're interested.06:58
Samus_AranI am not the one in control of the budget, sorry06:59
Samus_Aranlooking at the background-image in one of the themes, and trying to open it directly, it is just 404 not found07:02
Samus_Aranthis one being /uploads/eA/K0/eAK0doY8-UIauq_uuHEhvA/bg1.jpg07:02
Samus_Aransolved it07:04
Samus_Aranonly extras was symlinked to the main WebGUI folder, not uploads.07:05
Samus_Arannow I just need to figure out why all the packages I upload appear on the main page of the web site07:05
Samus_AranAssets to Hide.07:11
* Samus_Aran plays "Depeche Mode - Enjoy The Silence" and wanders off. Thanks for the help earlier, preaction 07:12
-!- Samus_Aran [n=ILL@about/linux/supportwhirlwind/SamusAran] has left #WebGUI ["onwards I go ..."]07:12
-!- ryuu_ro [n=rory@194.171.50.69] has joined #webgui09:15
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui09:50
-!- patspam_ [i=chatzill@ppp121-44-242-221.lns4.mel4.internode.on.net] has joined #webgui10:35
-!- patspam [i=chatzill@ppp121-44-242-221.lns4.mel4.internode.on.net] has quit [Read error: 110 (Connection timed out)]10:52
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)]10:52
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui11:14
-!- mode/#webgui [+o preaction] by ChanServ11:14
-!- BartJol [n=plainstu@194.171.50.123] has joined #webgui12:41
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has left #webgui []12:57
-!- lrobinson [n=luke@lrobinson2.vm.bytemark.co.uk] has joined #webgui13:59
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has quit ["Leaving"]14:14
CIA-21WebGUI: doug * r5706 /branch/doug-experimental/ (6 files in 6 dirs): Nightly checkin because you forgot14:17
-!- patspam_ [i=chatzill@ppp121-44-242-221.lns4.mel4.internode.on.net] has quit ["ChatZilla 0.9.81 [Firefox 2.0.0.12/2008020121]"]14:20
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui14:38
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)]15:02
-!- Radix__ [n=Radix@203.161.71.161.static.amnet.net.au] has joined #webgui15:38
-!- ryuu_ro [n=rory@194.171.50.69] has quit []15:39
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui15:43
-!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has quit [Read error: 113 (No route to host)]15:57
lrobinsonwould anybody know the best place to have a merchant account being based in the UK?16:16
lrobinsonCDG Commerce redirected me to an affiliate - is that the best thing to go for?16:17
-!- SDuensin [n=Scott@74.sub-75-204-93.myvzw.com] has joined #WebGUI16:37
SDuensinMorning.16:40
CIA-21WebGUI: jt * r5707 /translations/Dutch/Dutch/WebGUI.pm: update_from_translation_server17:20
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui17:20
-!- mode/#webgui [+o preaction] by ChanServ17:20
-!- cap10morgan [n=cap10mor@206-124-6-111.denver.dsl.forethought.net] has quit []17:23
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui17:26
perlmonkey2What is the template command for the URL of this asset?17:49
@preactionusually <tmpl_var url>17:50
@preactionor do you mean the ^PageUrl macro?17:50
perlmonkey2well, for the ajax call, I want a hidden html object to have the url to make the ajax calls to.17:51
nubai think the macro wont know the URL of the asset it is being called from17:51
BartJolnuba-> that's right17:51
perlmonkey2Okay, thanks17:52
@preactionbut when you're doing the AJAX on the survey edit form, you're on the survey's URL. you don't need to know the URL of the survey17:52
@preactionyou can just send to ?func=ajaxDoSomething17:52
perlmonkey2You don't think that could ever get into trouble?17:54
@preactionno17:54
perlmonkey2good enough for you, good enough for me :)17:54
@preactionrather, you'd probably end up just POSTing the form with no action="", which sends it to the current URL17:54
-!- wgGuest26 [n=wgGuest2@static-adsl201-232-86-73.epm.net.co] has joined #webgui17:55
@preactionYAHOO.util.Connection.attachForm or something like that17:55
wgGuest26hello17:55
wgGuest26i have a question related to the registration17:55
@preactionno need to ask if you can ask, just ask17:55
BartJolyou scared him/her preaction!17:57
@preactioneh, i can understand. i'm rather intimidating17:57
BartJolwell, stop it, or I'm going to correct your English again17:58
BartJol:)17:58
wgGuest26i have some aditional information to ask in the registration and it will be stored in a select box, the thing is that when a user select one option in this select box, another box will load another information automatically17:58
@preactionohnoes!17:58
wgGuest26is it posible?17:58
BartJolyou can add profile field that are obligated17:59
BartJolfields17:59
@preactionright, but you can't seem to add extras like JavaScript to profile fields, not through the interface17:59
BartJolthat will be hard, yes18:00
-!- cap10morgan [n=cap10mor@h19-afsc.ded.indra.com] has joined #webgui18:00
BartJolfor me, that is18:00
@preactionit's possible, but it'd be difficult: you'd have to modify the registration template in the correct manner to create your fields, and then have some sort of profile field with those fields' names so that the system will get the values out of it18:00
@preactionand this also means no way would you be able to allow the users to edit those values later18:01
BartJoleven if these are included in the profile?18:01
-!- estiven [n=erestrep@static-adsl201-232-86-73.epm.net.co] has joined #webgui18:02
@preactionthey have to be in the profile, there's no other way to get additional fields into the registration18:03
@preactionunless you're talking building a custom user registration application18:03
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has quit ["Leaving."]18:03
wgGuest26i think it will be hard18:04
BartJolyeah, ok, but if you use another template for the edit profile than the add account template, you should be ok, shouldn't you?18:04
@preactioni was sure that there wasn't a template for edit profile, i think that's an RFE out there18:05
BartJolbut then the option is always present in the edit profile screen, even when the first isn't selected18:05
BartJoloh, I always think there's a template for everything18:06
@preactiona better RFE that might work for wgGuest26's purposes is to expose the "extras" field to the User Profiling system, that way you can add id="" and onchange="" so that it would work out18:06
BartJolmy mistake18:06
BartJolso wgGuest26, probably it's possible, but quite hard to do :(18:07
wgGuest26yes, i know18:07
wgGuest26i am going to try it.18:08
BartJolgood luck18:09
wgGuest26thanks18:09
BartJolif you succeed, maybe you can post it to webgui.org18:10
wgGuest26ok18:10
@preactionindeed, just a how you did it or something18:10
@preactioni'm going to post the RFE about getting the extras thing exposed, which will make things like this easier in the future18:10
@preactionha. Frank added it almost a year ago18:11
@preaction0 karma18:11
@preactionhttp://www.webgui.org/rfe/request-for-enhancement/add-extras-to-profiling18:11
@preactionreal easy RFE, wouldn't take much karma to put it up where it gets noticed18:12
wgGuest26preaction, i have created a data form and one of the fields is a select box, the problem is that the posibles values are dinamic and are stored in a table in the database.  I have tried to load the values using a macro but the output is always a string 18:23
wgGuest26how can i do that?18:24
@preactionjavascript18:24
@preactionor write your own WebGUI::Form::Control <- best idea18:24
@preactionsee WebGUI::Form::SelectBox and WebGUI::Form::SelectList for ideas18:24
wgGuest26ok, i am going to check18:25
-!- lisette [n=liraos@static-adsl201-232-86-73.epm.net.co] has joined #webgui18:40
BartJolbye18:44
-!- BartJol [n=plainstu@194.171.50.123] has left #webgui []18:44
lisettehello18:48
perlmonkey2Is there an example Asset reading an ajax POST you can point me at?18:50
lisettei have a "tell a friend", i can change "your friend adress" by a text area, and he writes emails separated by comas18:51
lisette?18:51
perlmonkey2my Wobject ajax test method is a simple "sub test{return "hello world";}"  Yet in the ajax response object there is no hello world.18:53
@preactionajax still calls www_ methods18:53
@preactionwww_test perhaps?18:54
perlmonkey2just tried that....didn't change anything.18:55
@preactionyou're submitting a form that has func = test right?18:56
perlmonkey2var request = YAHOO.util.Connect.asyncRequest('POST', '?func=test', callback, postData);18:56
perlmonkey2I've tried that and www_test18:56
perlmonkey2and still what I get back in the responseText looks like the home page.18:57
@preactionif it's the home page, maybe there's an error18:57
perlmonkey2that's what I'm assuming18:57
perlmonkey2but the handleSuccess callback is called.18:57
perlmonkey2so it is getting a return from that call.  But I don't think my wobject method is being called.18:58
@preactioncheck the error log18:58
perlmonkey2nothing in the error log.  httpd/access_log shows the ajax request though18:59
perlmonkey2 "POST /home?func=www_repeat19:00
@preactionis that where it's supposed to be called?19:00
perlmonkey2no19:00
perlmonkey2but "?func=www_test"; is my url in the connection call19:01
perlmonkey2?func=www_test;class=WebGUI::Asset::Wobject::Survey is what I probably need?19:01
perlmonkey2must include the class?19:01
@preactionno19:02
@preactionlet me dig up the big AJAX thing i did to see how i did it19:02
perlmonkey2okay19:02
perlmonkey2when I click on the save button of hte new Survey the next page is the custom edit surey page I've written.19:02
perlmonkey2But this is the path for that page: http://norman/home19:03
perlmonkey2which doens't make sense19:03
perlmonkey2I'm thinking a person needs to be a master of webgui to write this super duper ajax survey module.19:03
perlmonkey2I've killed 5.5 fully devoted days on this and I haven't finished meshing my survey code with webgui.19:04
@preactionahh. i see what's happening19:04
@preactionproceed just calls the right sub and returns it19:05
@preactionit doesn't redirect the user19:05
@preactionso the user remains at the place they posted to19:05
lisette?19:05
@preactionlet me see if there's a proceed target to redirect19:05
@preactionno... but you might add it19:06
perlmonkey2I might add it?  So I need to alter the Asset.pm module?19:08
@preactionhang on, let me paste it19:08
@preactionperlbot paste19:08
perlbotPaste your code to http://sial.org/pbot/perl http://erxz.com/pb or http://p3m.org/pfn/perl and #Perl will be able to view it.19:08
@preactionhttp://sial.org/pbot/30398 <- not sure if that will work exactly19:09
@preactionbut it's the general idea19:09
@preactionand you'll have to URL encode your returnUrl parameter19:09
@preactionand you'll have to run it by JT when he gets in19:09
@preactionbut i can't see there being a problem with it19:10
perlmonkey2And that goes in Session.pm?19:11
-!- lrobinson [n=luke@lrobinson2.vm.bytemark.co.uk] has quit ["ircII EPIC4-2.6 -- Are we there yet?"]19:12
@preactionno, Asset.pm19:12
-!- MrHairgreas1 [n=martin@x032124.its-s.tudelft.nl] has joined #webgui19:14
-!- MrHairgreas1 is now known as MrHairgrease19:16
-!- mode/#webgui [+v MrHairgrease] by ChanServ19:16
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has joined #webgui19:17
-!- mode/#webgui [+v perlDreamer] by ChanServ19:17
-!- lisette [n=liraos@static-adsl201-232-86-73.epm.net.co] has left #webgui []19:19
@apeironIs there a way to determine, either in a macro or a form control, whether you've already sent a specific JS file via $style->setScript()?19:21
@apeiron(for example, to prevent dependency conflicts and the like)19:21
+perlDreamersetScript checks to see if you've already loaded that js19:22
+perlDreamerif you have, it does not generate any additional content19:23
@apeironAh, so it does.19:23
+perlDreamerthe way to tell if that happens is to check the return value19:23
@apeironSo... why's it not behaving that way? 19:23
@apeironhmm. Maybe it's calling it differently.19:23
+perlDreamerif generateAdditionalHeadTags is called, it clears that check flag19:24
perlmonkey2preaction: would not using autogenerate let me skip all that mess?19:24
@preactionno, because you still need to call www_editSave no matter what19:24
@preactiondo NOT override that method, as you will fail. it's the blackest of black magic19:25
perlmonkey2Poll.pm doesn't, which is really weird19:25
@preactionthe whole add/edit/editSave/processPropertiesFromFormPost in WebGUI is both awesome and frightening19:25
@preactionthe added redirect code didn't work?19:26
@apeironOh. Different files, not the same file. But they're interacting strangely. yay.19:26
perlmonkey2yes, I'm terrified that I'm not making forward progress because this Friday I need to have something done.19:26
perlmonkey2preaction: Okay....How about I don't have a proceed.19:26
@preactionperlmonkey2, then screw the proceed= for now19:26
@preactionyeah19:26
@preactionit can always be added later19:26
perlmonkey2After they click save, they are presented with the empty survey and they can click on something there to go to the edit?19:27
@preactionsounds like it'll work19:27
perlmonkey2in the normal admin view, clicking on edit calls getEditForm?19:27
@preactioncalls www_edit which calls getEditform, yes19:28
perlmonkey2so I can just overload getEditForm to call www_editSurvey ?19:28
+MrHairgreasei don't think you want to do that19:30
+MrHairgreasegef is for the asset properties19:30
perlmonkey2yeah, that didn't work.19:30
+MrHairgreasenot for collateral data editing19:30
+perlDreamerperlmonkey2, are you building a form with tabs?19:31
perlmonkey2no19:31
perlmonkey2It is the ajaxified drag and drop pop up divs survey editor page19:31
@preactionyou could always have the normal view page redirect to www_editSurvey if and only if there is no survey yet made19:31
+MrHairgreaseyour problem is that you want to go to www_editSurvey after func=add?19:32
+perlDreamerI know it's too early, but I abstracted out a generic form builder for WebGUI in the WebGUI_Commerce branch19:32
perlmonkey2yes, but using proceed messed up the urls19:32
+perlDreamerHTMLForm->dynamicForm19:32
+MrHairgreasei take it you klnow of the proceed=editSurvey 19:32
+MrHairgreaseoh19:32
+MrHairgreaseic19:32
perlmonkey2plus, how does the user get back to the editSurvey page?19:32
@preactionperlmonkey2, by clicking a link that has the URL19:32
perlmonkey2So maybe the view page should have the editSurvey link19:33
+MrHairgreaseyes19:33
perlmonkey2okay, I think that was progress.19:33
@preactiononly for those who can edit the survey of course19:33
perlmonkey2yes, a tmpl var I thik19:33
+MrHairgrease<tmpl_if canEditSurvey><a href="<tmpl_var editSUrvey_url>"><tmpl_var editSurvey_label></a></tmpl_if>19:35
+MrHairgreasesomething like that19:35
perlmonkey2cool thanks19:37
perlmonkey2brb, looging into the laptop19:37
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."]19:38
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui19:43
-!- apeiron_ [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui19:50
-!- mode/#webgui [+o apeiron_] by ChanServ19:50
-!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: @apeiron19:50
-!- MrHairgrease is now known as MrAfkGrease19:55
-!- apeiron_ is now known as apeiron19:58
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has quit ["leaving"]20:02
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui20:03
-!- mode/#webgui [+o apeiron] by ChanServ20:04
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."]20:08
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui20:24
perlmonkey2The dispaly type, when you have multiple wobjects inside of a page layout, each wobject has had its www_view called, right?20:32
+perlDreamerno, just ->view20:33
+perlDreamerI'm pretty sure the distinction is that www_view will wrap it in a style20:33
@preactionbasically, yes20:33
perlmonkey2groovy20:44
perlmonkey2Good stuff to know20:45
perlmonkey2Okay, my view template creates a link to $var{'edit.survey.url'} = $self->getUrl('func=editSurvey') which is an anchor.  But when I click on the link I get javascript errors which seem tobe claiming this "<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">" is the error.21:01
perlmonkey2I'm not even sure where to begin debugging that.21:01
@preactiondon't use . in template variable names21:03
@preactionuse _ instead21:03
perlmonkey2oh, I pulled that from the old Survey.  21:03
perlmonkey2I really need to remember not to use it as example code.21:03
@preactionyeah, that's old-school21:03
perlmonkey2But that shouldn't the problem right?21:03
@preactionnew-school is _21:03
@preactionno21:03
@preactionare you trying to parse HTML output as JSON?21:04
perlmonkey2no, this isn't in an ajax call.21:04
@preactiondo you have a url i can see what you're seeing?21:04
perlmonkey2This is the link which calls www_editSurvey which loads my editSurvey template.  That function used to work with proceed, but now firebug has ever js lib throwing a line 1 syntax error and pointing to the meta tag I quoted above.21:04
perlmonkey2preaction: yeah, but I'll hve to give you a loging with admin rights21:05
@preactionare the javascript src="" pointing to the right url?21:05
perlmonkey2they worked before21:05
perlmonkey2<script src="extras/yui/build/connection/connection.js"></script> 21:05
@preactionit's relative, not absolute21:06
perlmonkey2<script type="text/javascript" src="extras/wobject/Survey/editsurvey.js"></script>21:06
@preactionit needs to be /extras/, not extras/21:06
perlmonkey2well that is the problem then21:06
perlmonkey2thanks :)21:06
-!- estiven [n=erestrep@static-adsl201-232-86-73.epm.net.co] has left #webgui []21:10
perlmonkey2"POST /home/untitled111111118?func=www_test is what is in my logs, but the second thing the www_test fuction does is write to the log, which I don't see.  And the ajax response is the home page.21:13
perlmonkey2This stuff is making me very disoriented and I know I'm flailing badly.21:13
@preactionfunc=www_test is wrong, func=test is correct21:14
+perlDreamerwebgui will prepend the www_ for you21:18
+perlDreamerto prevent arbitrary function calling21:18
-!- wgGuest26 [n=wgGuest2@static-adsl201-232-86-73.epm.net.co] has quit [Read error: 113 (No route to host)]21:18
perlmonkey2So in my wobject it needs to be www_test, but in the js, just test.  And now, for th elife of me I can't get the new js file to load.  ctrl-f5, cleared wg cache.  nothing.21:19
+perlDreameryes to the first, no idea about your JS reloading21:21
perlmonkey2Is a log for perl instantiated with the session, or do I need to create one?21:22
perlmonkey2maybe that is why nothing is showing up in the logs now.21:22
+perlDreamerit's made by the session, unless you're using an older version of WebGUI::Test for API testing21:23
perlmonkey2nope, latest svn update21:23
+perlDreamermanual testing, or mech testing?21:23
perlmonkey2sub www_test{my $self=shift;$self->getLogger->errror("yay, I meade it here");}21:23
perlmonkey2manual21:23
perlmonkey2I just want the ajax call to www_test to write something to the log for now.21:24
+perlDreamer$self->session->errorHandler->warn("Yay");21:24
+perlDreameror, if you're passing it a session var, $session->errorHandler->warn("Yahoo");21:24
perlmonkey2POST /home/untitled111111118?func=test in the access_log but nothing in webguilog21:25
+perlDreamerhow about error log?21:26
perlmonkey2my logging is apparently not set to shows warns.21:26
perlmonkey2but I just saw an ->error21:26
perlmonkey2yay!21:27
+perlDreamerin log.conf, that can be changed21:27
perlmonkey21:30pm and I need a shot of something stiff.21:27
+perlDreamertry lumber21:27
@preactiona clue-by-four?21:28
perlmonkey2hah :)21:28
+perlDreamerfriends don't let contributors hack drunk21:28
@preactionyou've never heard of the Ballmer Peak i take it?21:29
+perlDreamerno21:29
perlmonkey2hahahahaha21:29
@preactionhttp://xkcd.com/323/21:29
perlmonkey2my testarea div just magically ajaxed from "what da chuck" to "word yo"....yay, now just to figure out how WG pulls POST params.21:36
@preactionsession->form->get() 21:38
perlmonkey2my $var .= $self->session->form->param("username");21:38
perlmonkey2woot!21:38
perlmonkey2will ->get grab both GET and POST params?21:38
@preactionparam or process will work as well21:38
@preactionyes21:38
@preactionthey get combined by Apache2::Request21:38
perlmonkey2I like sugar and that is certainly cugar21:38
perlmonkey2sugar21:38
-!- wgGuest24 [n=wgGuest2@static-adsl201-232-86-73.epm.net.co] has joined #webgui21:51
perlmonkey2get/process only returns the scalar you ask for or an array of all the params?22:02
perlmonkey2FormValidator->process says that, so I guess so.22:03
@preactionin list context, it will return a proper list, so if there are multiple name=, it will return a list of those values22:04
@preactionit works much like CGI->param does22:04
perlmonkey2I'm just being stupidly curios as I'm sure all my posts will be one data param with a json string.22:06
perlmonkey2Whew, I finally have JSON going both directions.....yay for progress even if it meant leaning heavily on people in IRC who have much better things to be doing than helping me.22:18
@preactioneh, i'm sending mail back and forth to a listserv to determine how it works. but if i hit my pop3 too hard it kicks me off for 24 hours, so i have to wait patiently22:19
perlmonkey2that sucks22:24
@preactioneh, it gives me time to catch up on email and other thing22:24
perlmonkey2heh22:24
perlmonkey2like helping perlmonkies22:25
perlmonkey2at least you aren't completely wasting your time, as this wobject is to be released under the GPL to WebGUI.22:25
@preactionexactly22:27
@preactionhaving: Gallery, Survey, Thingy, Commerce, and all the other stuff we've added to 7.5 is going to make this a HUGE release22:27
-!- BartJol [n=plainstu@54-167.surfsnel.dsl.internl.net] has joined #webgui22:36
-!- BartJol [n=plainstu@54-167.surfsnel.dsl.internl.net] has left #webgui []23:34
-!- SDuensin [n=Scott@74.sub-75-204-93.myvzw.com] has quit ["Leaving"]23:52
--- Day changed Tue Mar 04 2008
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has quit ["Download Gaim: http://gaim.sourceforge.net/"]00:01
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit ["Exit- stage left"]00:21
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has joined #webgui00:44
-!- mode/#webgui [+v perlDreamer] by ChanServ00:44
+perlDreamerignorant question: do internationalized shopping carts use English names for countries?00:47
perlmonkey2countries have non-English names?00:47
perlmonkey2:P00:47
+perlDreameryeah, go figure :)00:47
@preactionChina isn't called "China" in china, it's some kanji for "The world"00:54
* perlDreamer starts to foresee some i18n problems with taxing and shipping01:00
+perlDreamerbut we shall see01:00
+perlDreamerif you ship something to one place, but bill to another, do you use the billing address to calculate taxes?01:03
-!- patspam [i=chatzill@ppp121-44-242-221.lns4.mel4.internode.on.net] has joined #webgui01:05
@preactionyeah, that's sounds right01:07
-!- wgGuest24 [n=wgGuest2@static-adsl201-232-86-73.epm.net.co] has quit [Remote closed the connection]01:11
-!- MrAfkGrease [n=martin@x032124.its-s.tudelft.nl] has left #webgui []01:13
Radix__you don't calculate taxes for another country tho01:13
+perlDreamerno?01:14
Radix__no01:14
+perlDreamerare all these rules written down somewhere accessible?01:14
Radix__taxes for other countries are done by the company themselves when it's imported01:14
Radix__s/company/country01:14
Radix__no idea01:15
-!- wgGuest84 [n=wgGuest8@74-34-152-95.br1.blu.wv.frontiernet.net] has joined #webgui01:57
-!- wgGuest84 [n=wgGuest8@74-34-152-95.br1.blu.wv.frontiernet.net] has quit [Client Quit]01:57
-!- cap10morgan [n=cap10mor@h19-afsc.ded.indra.com] has quit []02:07
-!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui02:20
-!- mode/#webgui [+v Radix-wrk] by ChanServ02:20
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."]02:38
-!- patspam [i=chatzill@ppp121-44-242-221.lns4.mel4.internode.on.net] has quit [Read error: 104 (Connection reset by peer)]02:40
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI03:39
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)]05:39
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui06:29
-!- mode/#webgui [+o preaction] by ChanServ06:29
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)]06:59
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui08:21
-!- mode/#webgui [+o preaction] by ChanServ08:21
-!- ryuu_ro [n=rory@194.171.50.69] has joined #webgui09:01
-!- Radix-wrk [n=Jesse@203.161.68.67] has quit ["Leaving"]09:43
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)]09:58
-!- BartJol [n=plainstu@194.171.50.123] has joined #webgui11:01
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui11:15
-!- Syn1 [n=koendejo@194.171.50.123] has joined #WebGUI14:25
Syn1hi there14:25
Syn1I've compiled WRE 0.8.3 for debian etch ia3214:25
Syn1sending it to upload.sf.net now14:27
-!- estiven [n=erestrep@static-adsl201-232-86-73.epm.net.co] has joined #webgui14:28
-!- estiven [n=erestrep@static-adsl201-232-86-73.epm.net.co] has left #webgui []14:36
GooeyOfSteelWiki: WRE Installation - Edited on 3/4/2008 6:26 am by koen  http://www.webgui.org/community-wiki/wre-installation14:38
-!- estiven [n=erestrep@static-adsl201-232-86-73.epm.net.co] has joined #webgui15:27
SDuensinMorning.15:54
estivenMorning16:00
estiveni install webgui using the source... and now i want to configure my instalation as a development enviroment...16:03
estivenhow i can do that?16:03
-!- Radix__ [n=Radix@203.161.71.161.static.amnet.net.au] has quit ["Windows doesn't have users, it has hostages."]16:03
estiveni understann that i need to change Apache2::Reload so or somting like that..16:04
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui16:04
estiventhat's rigth?16:05
-!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has joined #webgui16:10
-!- mode/#webgui [+v Radix_] by ChanServ16:10
BartJolestiven sorry I don't know, but preaction or Radix might, but they just came in16:25
estivenok,  thanks16:34
BartJoloh I meant perlmonkey216:35
perlmonkey2eh?16:35
+Radix_wassup?16:35
BartJolestiven wants to know something16:35
+Radix_obviously :)16:36
BartJolhi radix, i'm fine two weeks till my drivers exam16:36
+Radix_ooh.. not long now then :)16:36
BartJolyeah and then there's another danger on the roads16:36
BartJolhopefully16:36
+Radix_heh16:36
ryuu_roBartjol only 2 weeks time left to cruise the street safely  :D16:37
+Radix_it's times like this that I'm glad I'm on an island :)16:37
+Radix_a big island, but an island nonetheless16:37
BartJoldidn't have any accidents up till now, but with an instructor besides me that's not too hard16:38
ryuu_roHmmm I heard other stories.......16:38
+Radix_heh16:38
BartJolonly one then16:39
ryuu_rolol16:39
estivenhi16:39
BartJolit costed me dearly16:39
estiveni install webgui using the source... and now i want to configure my instalation as a development enviroment...16:39
+Radix_estiven: why?16:39
+Radix_going to write your own perl assets and objects?16:40
estivenbecause i need to restart apache for each change tha i do in my macros....16:40
+Radix_yup16:40
+Radix_k, just checking you actually need it, that's all :)16:41
BartJolis it necesary then? I just closed my firewall and restart it with perl wreservice --restart modproxy16:41
+Radix_http://www.webgui.org/community-wiki/configure-the-wre-for-developers16:42
+Radix_there's a module for apache you can install that auto-reloads or something.. but I don't know the name myself - not used it personally16:44
estivenmm, ok i looking for...16:44
BartJolbut then again, I'm not a real developer...16:46
ryuu_roisn't this apache::reload  ?16:46
+Radix_yeah, that's the one16:47
estivenhttp://search.cpan.org/~phred/Apache-Reload-0.10/lib/Apache/Reload.pm17:00
estivenbut  PerlInitHandler Apache::Reload17:01
estivencan that create problem whit: PerlInitHandler WebGUI  directive?17:02
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui17:04
-!- mode/#webgui [+o rizen] by ChanServ17:04
-!- wgGuest32 [n=wgGuest3@static-adsl201-232-86-73.epm.net.co] has joined #webgui17:07
wgGuest32hello17:07
Syn1ah rizen17:08
estivenHi17:08
Syn1please get the compiled version of the wre 0.8.3 from uploads.sf.net before it's gone again17:09
@rizendid. just emailed you17:09
Syn1ah :)17:09
wgGuest32i have created a dataform with some fields, one of them is type file.  the data form has the email data enabled. so when i tested i filled all the fields without problem. the message is sent to the email but i don't see the file that i attached in the message17:11
wgGuest32appears the id related to the upload file17:12
wgGuest32i don't know what is happening?17:13
-!- ryuu_ro [n=rory@194.171.50.69] has quit []17:27
estivenmmm,  what version of webgui do you have?17:27
wgGuest32i have 7.4.2117:29
Syn1bart, is the Dutch translation for WebGUI 7.4.26 the same as the one for 7.4.19 ?17:35
BartJolmmm17:35
BartJolwell, since 7.5 came out, I didn't have to check that17:36
Syn1ah right17:36
BartJol7.4.21 is the same as 7.4.1917:36
Syn1you need a translation server17:36
BartJoli do17:36
BartJolsee mantis17:36
Syn1yeah 17:36
Syn1and I will make you one17:36
BartJolgreat17:36
BartJolmaar jij ziet dus geen enorm grote fouten17:37
BartJolsorry for the dutch, wrong tab17:37
estivenwgGuest32 i try to reproduce your error, and i have the same result...17:38
-!- estiven is now known as vcb17:40
-!- vcb is now known as estiven17:46
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit []17:49
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui17:51
-!- mode/#webgui [+o rizen] by ChanServ17:51
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit [Client Quit]17:51
wgGuest32hello again17:56
wgGuest32i have created a dataform with some fields, one of them is type file.  the data form has the email data enabled. so when i tested i filled all the fields without problem. the message is sent to the email but i don't see the file that i attached in the message 17:56
wgGuest32appears the id related to the upload file 17:57
wgGuest32someone knows what happen?17:57
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["trying new pidgin"]18:04
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui18:05
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has quit ["Leaving."]18:13
-!- BartJol [n=plainstu@194.171.50.123] has left #webgui []18:35
-!- Syn1 [n=koendejo@194.171.50.123] has left #WebGUI []18:41
+perlDreamerI love it when Microsoft stabs its business partners in the back18:44
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui18:49
-!- mode/#webgui [+o preaction] by ChanServ18:49
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has joined #webgui18:52
-!- mode/#webgui [+v MrHairgrease] by ChanServ18:52
perlmonkey2perlDreamer: What do you mean stab them in the back....18:54
+perlDreamerhttp://news.yahoo.com/s/pcworld/20080304/tc_pcworld/143098;_ylt=Ag2sbH7oiBZhDuXTSEDJhcGs0NUE19:06
@preactionnice19:09
perlmonkey2That could be used as the definition of "stab in the back".19:33
-!- ascii [n=ascii@host-64-139-233-19.nctv.com] has quit [Remote closed the connection]19:55
-!- ascii [n=ascii@host-64-139-233-19.nctv.com] has joined #webgui19:55
@preactionhas anyone noticed that if you select some text in a rich text editor and right-click, you get the box to create a hyperlink?20:16
@preactioni can't seem to make it happen in IE6, FF2, or Safari 320:16
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui20:18
-!- mode/#webgui [+o rizen] by ChanServ20:18
perlmonkey2Every time I edit a template, a new version is created in the DB?20:18
@preactionyes20:19
perlmonkey2I've written a script which takes a text file and loads it into the asset table.  This way I can edit the html in vim.  But to make it work, I'd just update the template with the newest revisionDate right?20:20
@preactionit automagically happens if you get WebGUI::Asset->newByDynamicClass( $session, $assetId );20:20
@preactionyou get the latest revision.20:20
@preactionthen you can just $asset->update( new properties );20:20
perlmonkey2oh, this is like a 4 line script just to load the html file into the db20:21
perlmonkey2doens't use WG api20:21
@preactionbad idea20:22
perlmonkey2but never mind....something is screwed up.....when I created the template, I told it Survey and Edit for the namespace, but it created only an Edit namespace.  So I changed the namespace in the DB.  I thought that fixed it, but now I see like 20 versions with just Edit and only one with Survey/Edit.  And apparently the one I've been updating via WG, isn't the right one.  I think I need to rm -rf and start completely 100% over.20:23
perlmonkey2I wish the template editor in WG told you what namespace it was in and maybe let you change it.20:23
@preactioncan't change it, but the Metadata tab shows which one it's in20:24
perlmonkey2quit20:30
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."]20:30
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui20:38
+perlDreamerit's a bad day20:48
+perlDreamerGary Gygax passed away20:48
@preactionyeah :'(20:48
+perlDreamerperlmonkey2: my templateFiler utility does the same thing, but it uses the API.  Much safer20:57
perlmonkey2perlDreamer: I keep getting caught up in things I don't undersand about WG.  I ust need to finish the survey sysem and I can learn about the things that don't involve the Survey system later.21:08
+perlDreamercool21:09
ckotilperlmonkey2: the template editor shows the name space in the metadata tab. but you cant change it21:17
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."]22:08
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui22:09
perlmonkey2perlDreamer: heh, okay, so maybe I don't want to work on ~10 different templates in the WG editor.  Maybe you wouldn't mind sending that template loading script to stupidmonkey@lostokies.com ?22:38
+perlDreamerhttp://www.webgui.org/user_contributions/user_contributions/miscellaneous/template-import-and-export-utility-for-webgui-7_3#67s1xKEeGw_ZujD9VizRZA22:38
perlmonkey2Thanks perlDreamer22:41
@apeironheisenbugs-- # annoying, hard to track down23:01
perlmonkey2Okay, the template that I edit in WG, is not the template that my wobject gets when it asks for that property.  Would I be messing things up badly if I just deleted everything with that assetId in template and in asset?23:02
perlmonkey2Dang it, I even deleted that template, created a new one, changed the wobject to default to the new assid, and I still get the wrong template.23:04
perlmonkey2had to create a new wobject....nevermind23:08
+perlDreamerwG seems really slow this week23:44
+perlDreamercommunity/dev-wise23:44
@preactioni feel asleep!23:45
@preactionwait. what's that from...23:45
CIA-21WebGUI: doug * r5708 /WebGUI/ (11 files in 8 dirs): 23:45
CIA-21WebGUI: fix: GalleryAlbum and Photo were not showing correct confirmation messages on editSave23:45
CIA-21WebGUI: add: Ability to edit comments to Photos23:45
CIA-21WebGUI: add: Ability to choose which rich editor for Albums23:45
+perlDreamerWizard of Oz?23:45
@preactioni think some engrish translation of some video game23:47
@preactioni worry sometimes that i'm adding too much configuration. the ability to change the rich editor for each user-facing part of the Gallery? (albums, files, and comments)23:50
+perlDreameryeah, if you start to have a config as big as the CS, it's time to worry23:50
@preactionthere are, at least, 14 templates associated with the Gallery now23:51
@preaction1723:51
--- Day changed Wed Mar 05 2008
+perlDreamerI think you win00:02
CIA-21WebGUI: graham * r5709 /WebGUI/ (12 files in 4 dirs): new colorpicker00:03
@preactionyeah. it's only going to get better/worse00:04
@preactioni'm beating the Calendar now ;-)00:04
@preactioncalendar and collab are probably tied00:04
+perlDreamerrizen: Are you still trying to water cool your computers?00:05
-!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has quit ["Windows doesn't have users, it has hostages."]00:06
@rizenyes i am00:07
@rizeni was manning the pumps from sunday at 10pm straight through until 2:30pm on monday00:07
@rizenit wouldn't have been so bad except that on saturday night i only got 2 hours of sleep00:07
+perlDreamerall plugged up now?00:08
@rizenthe melt is mostly gone00:09
@rizenbut it's pooling a little again...hopefully the drains thaw out soon so i don't have to keep pumping00:09
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."]00:14
+perlDreamerdoes this happen every winter?00:29
-!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has joined #webgui00:29
-!- mode/#webgui [+v Radix_] by ChanServ00:29
@rizenanope00:30
@rizennope only this winter00:30
@rizenmy neighbors and i are already trying to figure out why this happened for future 00:30
@rizenman email sux00:30
+perlDreamerburied?00:30
@rizeni had over 100 actionable emails this morning00:30
wgGuest32MrHairgrease, can you help me with a question?00:31
@rizeni've got it down to 21 but that's taken all day00:31
@rizenperlDreamer, i spoke to a client today about the donation asset.00:31
+perlDreamercool!00:32
@rizenshe said we should try to make it an option so you can do recurring payments00:32
@rizenso that brings up a potential problem00:32
@rizenwe've already got sku's that do single payments (products)00:32
@rizenand some that do recurring (subscriptions)00:32
@rizenbut does it seem feasible to do an asset that could be either?00:32
+perlDreamerhow about a mixin?00:33
+perlDreameradding subscriptions to what we need when needed?00:33
+perlDreameror a trait00:33
@rizenbut it's not the same as a subscription00:33
@rizenyeah, a trait was something i was thinking about00:33
@rizenbut i know very little about aspect oriented programming00:33
@rizenanyway...not something i have time to talk about right now...just thought it was an interesting thing to think about00:34
@preactioni was doing some research the other night, Class::Trait just seems bad. mixin.pm works nicely and handles inheritence automagically00:34
@rizenand something to add to the todo list should we get the commerce system completed in time to have extra things00:34
+perlDreamerI've got my head wrapped around Cart, CartItem, SKU and Tax right now, to help build the calculate method for Tax.00:34
@rizenhow's that coming pd?00:35
+perlDreamerit takes a bunch of code to handle addresses00:35
+perlDreamerto get an address, I need a book00:35
+perlDreamerso I need a book in the testing code, and another in the calculate method00:36
@rizenIt should be as simple as my $book = WebGUI::Shop::AddressBook->create($session);00:36
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui00:37
@rizenforeach my $address (@{$book->getAddresses}) {00:37
@rizenshoudl it not?00:37
+perlDreamerI want to pull one particular address by Id, so I'm using WebGUI::Shop::Address->new($book, $id);00:37
@rizenah, we should add a utility method to $book to allow you to do $book->getAddress($id);00:38
@rizenthat way you only have one use and one constructor00:38
@rizeni'll add that method now00:38
* rizen hopes nobody notices that he's supposed to be responding to email rather than coding00:39
+perlDreamerI can add the method.00:39
+perlDreamerI'm starting to get sick, and that makes me extra cranky and lazy.00:39
@rizenno no, heh, i need a break from email00:39
* perlDreamer starts Operation SmokeScreen00:39
@rizenok done00:41
@rizenpreaction: is mixin.pm something you wrote?00:42
@preactionno. it's in cpan00:42
@preactioni did write something that was a lot like a mix of the two (mixin and Class::Trait), but mixin handles SUPER:: automatically, and my code doesn't, which i believe  was one of your requirements set to me for asset mixins (it be drop-and-go)00:43
@preactionand the mixins i've made so far are indeed drop-and-go.00:43
@rizennice00:44
CIA-21WebGUI: jt * r5710 /branch/WebGUI_Commerce/lib/WebGUI/Shop/AddressBook.pm: added utility method00:46
@rizeni can't wait to be back on commerce tomorrow...man today sucked00:46
+perlDreamerdid you get the updates from over the weekend?00:47
@rizenreading and writing email all day is worse than manning the flood pumps for two days without sleep00:47
@rizenwhat updates?00:47
+perlDreamerI wrote tests for AddressBook and Address and fixed some bugs and typos00:47
@rizendidn't i write tests?00:48
@rizenmaybe i forgot to check them in00:48
@rizeni was sure i did00:48
+perlDreamerthat could be00:48
@rizencrap..i didn't...i'm sorry, i don't know what i was thinking00:49
@rizenthank you for covering my ass, i'm sorry you had to do that00:49
+perlDreamerNo problem. Didn't you just write some code for me?00:49
@rizeni hardly think that 1 method is equiv00:49
@rizenbut point taken...we're working together00:49
@rizenok better get back to email to see if i can finish this up before the end of the day00:50
+perlDreamergood luck :)00:51
wgGuest32MrHairgrease, can you help me with a question?00:51
+perlDreamerwgGuest32, MrHairgrease is in Europe, he's probably asleed00:54
@preactionwgGuest32, but if you ask the channel, perhaps someone else can help you00:56
wgGuest32perlDreamer, do you know why the sql form doesn't have incluided the select box in the manage field types?00:56
+perlDreamerNo.  That may have been a decision in the original design.00:57
wgGuest32but i think it is a esential field form00:57
@rizenwgGuest32 do you want to argue that you think it's super important, or do you just want to request that it be added as a feature?00:58
wgGuest32i want to incluied it by myself00:59
wgGuest32is it difficult?00:59
@preactionshouldn't be too bad. i thought there was either a list, or it uses "profileEnabled" to decide01:00
+perlDreamerif you do the programming, you should submit your patch as an RFE.  It could be included back into the core.01:01
+perlDreamerpreaction: last time I checked, no01:01
+perlDreamerit's manual01:01
@preactionah01:01
@rizenunfortunately it wasn't written to just plug in the form controls that are plugged in to webgui01:02
@rizenthat's one of the reasons it's being removed and replaced by Thingy01:02
wgGuest32ok, thanks for your advices01:03
-!- wgGuest32 [n=wgGuest3@static-adsl201-232-86-73.epm.net.co] has quit [Remote closed the connection]01:03
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit []01:08
+MrHairgreasefwiw, when i worte the sqlform the form controls weren't pluggable yet as far as i can recall01:08
+MrHairgreasealso there was only selectBox and not selectList (or the other way around)01:08
+MrHairgreasethat's why only one is in the list01:08
@preactionah01:09
+MrHairgreaseoh and btw, i'm not yet asleep01:09
+MrHairgreasebut that won't be the case for very long01:09
@preactioni'm still leaning towards making GalleryFile into an AssetMixin, not a asset to subclass01:09
@preactionwait, nm, won't work. 01:09
@preactionWebGUI::Asset::File::GalleryFile it is01:09
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has left #webgui []01:10
+perlDreamerperlmonkey2: where do you live?01:54
perlmonkey2oklahoma01:59
perlmonkey2oklahoma city01:59
+perlDreamerhow much sales tax do you pay?02:00
perlmonkey2I hve no idea02:00
perlmonkey28%02:02
perlmonkey2why do you ask?  plan on moving?02:03
nubaperlmonkey2: now, bank account number, with pin, please? ;)02:04
perlmonkey2753409363453422  901102:04
+perlDreamerI need semi decent tax data for testing02:04
perlmonkey2then what did you need my account number and pin for?02:05
@preactionnow, i need you social security number and mother's maiden name02:05
+perlDreamerthat was nuba02:05
+perlDreamerHe'd like to borrow some money02:05
+perlDreamerand probably already has :)02:05
nubadone. thx!02:05
perlmonkey2988-37-2256 Simpson.02:05
-!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui02:05
-!- mode/#webgui [+v Radix-wrk] by ChanServ02:05
perlmonkey2you sure it is a good idea to put out my info on irc?02:06
nubaits a great idea!.....                 ...not!02:07
perlmonkey2just not for me :)02:07
perlmonkey2brb02:07
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."]02:07
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui02:08
nubaperlmonkey2: i hope you didnt really posted any sensitive info here02:10
perlmonkey2hah....I wondered if I was pretending to be too ignorant and had worried anyone.  No, I didn't, but thanks for checking.02:10
perlmonkey2I just hope I didn't actually post anyones real information02:11
nubatheres the channel regulars, who are all "good people", but the channel's logs are crawlable and indexable ....02:11
@preactionhey, if you type your plainblack password it shows up as all *'s, see: ********02:11
perlmonkey2and some irc bot scarfs it up, posts it to a web log, a crawler grabs it, and some eviledoodz attack someone, because I randomly picked their number.02:11
nubacool, let me test...02:11
nubamy password is *****02:11
nubawhoa, it works!02:11
+perlDreamerhm02:11
perlmonkey2hah02:11
+perlDreameronly five characters....02:12
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui02:12
nubaactually its 32 but for security reasons it defaults to showing only 5 stars.02:12
perlmonkey2my password is p@33Ow4d02:13
+perlDreamerpreaction's must be broken, then02:13
nubathis reminds me of something funny, brb..02:13
+perlDreamerhis showed 802:13
perlmonkey2wait...did that show up as all *'s for you guys?02:13
nubasure thing02:13
@preactionyup, it showed up like p@33Ow4d02:13
nuba5 *s02:13
perlmonkey2oh man...that sucks!02:13
@preactionwhy?02:13
perlmonkey2you said it would change my pwd to *'s02:13
+perlDreamernever believe anything preaction tells you02:14
perlmonkey2now I need to change my pwd02:14
* nuba LOLs at such bash.org reenactment02:14
perlmonkey2I'm just kidding....that isn't my pwd :D02:14
@preactioni copy/pasted the *'s, but it shows up as your password 02:14
perlmonkey2if you copy pasted the *'s and they showed up as *'s, then that sounds highly crackable.02:14
perlmonkey2I mean 'showed up as my pwd'02:15
nubaError Message: Your Password Must Be at Least 18770 Characters and Cannot Repeat Any of Your Previous 30689 Passwords (http://support.microsoft.com/kb/q276304/)02:15
+perlDreamerit doesn't matter02:15
+perlDreamerm$ stores all passwords as clear text anyway02:15
perlmonkey2well, given how secure the rest of MS systems are, it is perfectly reasonable to store them as plain text.02:16
nubahah, good luck brute forcing 18770 chars...02:16
+perlDreamercorner cases are easy :)02:16
nubaGooeyOfSteel: check www.imaterial.org02:17
GooeyOfSteelwww.imaterial.org   Server: Apache/2.0.59 (Unix) WebGUI/7.4.25 mod_ssl/2.0.59 OpenSSL/0.9.7i mod_apreq2-20051231/2.5.7 mod_perl/2.0.2 Perl/v5.8.8 | Generator: WebGUI 7.4.2502:17
nubagood, its still working02:18
perlmonkey2GooeyOfSteel: check www.lostokies.com02:18
GooeyOfSteelwww.lostokies.com   Server: Apache/2.2.3 (CentOS) | Generator: WebGUI 7.5.402:18
-!- Radix-wrk [n=Jesse@203.161.68.67] has quit [Read error: 104 (Connection reset by peer)]02:19
nubaguess there hasnt been much action at the community wiki lately02:20
nubabtw guys, google apps for your domains (aka GAFYD) now features Websites02:22
nubawith some standard templates,02:22
nubacollab features02:22
nubaversioning02:22
nubacomments, file attachments02:22
-!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui02:22
-!- mode/#webgui [+v Radix-wrk] by ChanServ02:22
nubasome gadgets, google-docs-like interface02:22
perlmonkey2that starting to sound like a CMS.02:23
nubayes, i think its something worth checking out02:23
nubalet me see what else...02:23
nubasubscribe to pages/site changes02:24
nubasite sharing can be set individually or with the entire domain02:24
nubano groups, but thats probably one of the next features to come...02:25
perlmonkey2This shouldn't hurt WG as much as the php* crowd.  The hobbyist will flock to this.02:25
nubasharing categories:  as owners  as collaborators  as viewers02:25
nubayou can personalize the theme, if you dont like the default ones02:25
nubayou can create as many websites as you want, and set that differently for each site02:26
nubaguess thats it02:26
nubathat was a quick rundown on the features02:26
nubathe thing with this is it isnt a standalone offering02:27
perlmonkey2what does that mean, that it isn't standalone?02:28
nubayou should look at it as part of a bundle of apps which are free for small companies, and educational or non-proit users too02:28
-!- Funakoshi [i=Xtasy@nor75-7-81-57-85-191.fbx.proxad.net] has joined #webgui02:28
perlmonkey2So the target audience of WG?02:28
nubai was going to deploy a webgui setup for my CS department, to provide the website feature02:28
+perlDreamerWG usually shoots larger than that02:29
nubawhile i have already deployed GAFYD for the mail, im, calendar, etc.02:29
CIA-21WebGUI: jt * r5711 /translations/French/French/ (Asset_Navigation.pm WebGUI.pm): update_from_translation_server02:29
nubaboth using a LDAP backend02:29
nubanow, it makes it harder for me to sell webgui there02:29
nubaim not saying "big truths" or making "big forecasts" folks02:30
nubathis is just a use case, mine.02:30
nubai think even if this thing doesnt looks quite like webgui doesnt mean they wont compete02:31
+perlDreamertrue, and it could grow from here, too.02:33
nubasee, im not rooting for one thing or another, i just thought this thing would be a nice topic to throw at the channel and discuss02:33
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has quit ["Download Gaim: http://gaim.sourceforge.net/"]02:33
nubaalso worth of notice is that to get a GAFYD going the only thing you need to do is set the DNS02:36
perlmonkey2Luckily a tiny little company like Google could never hope to compete with PB.02:36
nubaand even that can be delayed if you dont mind demoing it with urls like http://sites.google.com/a/bcc.ic.uff.br/02:36
nubainstead of sites.bcc.ic.uff.br02:37
+Radix-wrkwhat have google done now?02:37
nuba[20:52] <        nuba> | btw guys, google apps for your domains (aka GAFYD) now features Websites                                        +Radix_        02:38
+Radix-wrkgoogle apps for your domains hmm02:38
nubanuba> | with some standard templates, collab features, versioning, comments, file attachments02:39
+Radix-wrkcan you plug them into a webgui site?02:39
nubayou can use single signon02:40
nubaor have both refer to a LDAP server02:40
nubaor even keep things  separated but in sync with the provisioning/report API, which is what im doing02:41
+Radix-wrk$50/account/year huh02:41
+Radix-wrkfor premium edition anyway02:41
nubawell all my GAFYD setups are educational and/or non-profit, so we get the premium for free02:42
nubabut the standard version is awesome too02:43
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."]02:43
-!- patspam [i=chatzill@ppp59-167-128-63.lns3.mel6.internode.on.net] has joined #webgui02:45
CIA-21WebGUI: colin * r5712 /branch/WebGUI_Commerce/ (4 files in 3 dirs): 02:49
CIA-21WebGUI: Remove an extra my from Shop::Cart.02:49
CIA-21WebGUI: Add the getTaxRates method to Tax, with tests.02:49
CIA-21WebGUI: Add some calculate code to Tax, with tests, which don't pass yet.02:49
+Radix-wrkLooks interesting02:51
+Radix-wrkcan see a little overlap with webgui, but certainly wouldn't see it as a replacement02:51
+Radix-wrkshame you can't just plug google gadgets and apps into an existing website easily tho02:52
+Radix-wrkthat'd be awesome02:52
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui03:02
diakopterpreaction: i'm curious if you or anyone else know if the Dashboard still works in 7.4+03:55
@preactionshould work just fine03:55
@preactionif it doesn't, that'd be a bug03:55
@preactionit's just being called "beta" now03:55
@preactionbecause JT thinks it could be better, or needs a rewrite or something. it's subject to change03:55
diakopteraww. everything could be better.03:56
-!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: @Haarg, ckotil, steveo_aa, vayde, ascii, +Radix-wrk, SDuensin, GooeyOfSteel, estiven, @preaction, (+6 more, use /NETSPLIT to show all of them)04:03
-!- Netsplit over, joins: ascii04:07
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui04:10
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui04:10
-!- steveo_aa [n=sno@76.226.180.72] has joined #webgui04:10
-!- Haarg [n=haarg@24-177-119-178.dhcp.mdsn.wi.charter.com] has joined #webgui04:10
-!- ckotil [n=newtrino@snare.grnoc.iu.edu] has joined #webgui04:10
-!- jdferm [n=jdferm@sangha.cyberius.net] has joined #webgui04:10
-!- ServerMode/#webgui [+oo preaction Haarg] by irc.freenode.net04:10
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui04:10
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [Client Quit]04:10
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui04:10
-!- CIA-21 [n=CIA@208.69.182.149] has joined #webgui04:11
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui04:11
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #webgui04:11
-!- GooeyOfSteel [n=puppetma@hq.imaterial.org] has joined #webgui04:11
-!- ServerMode/#webgui [+o apeiron] by irc.freenode.net04:11
-!- patspam [i=chatzill@ppp59-167-128-63.lns3.mel6.internode.on.net] has joined #webgui04:11
-!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui04:11
-!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has joined #webgui04:11
-!- estiven [n=erestrep@static-adsl201-232-86-73.epm.net.co] has joined #webgui04:11
-!- ServerMode/#webgui [+vv Radix-wrk Radix_] by irc.freenode.net04:11
-!- wgGuest21 [n=wgGuest2@adsl190-28-22-218.epm.net.co] has joined #webgui04:14
wgGuest21hello04:16
-!- wgGuest21 [n=wgGuest2@adsl190-28-22-218.epm.net.co] has quit [Remote closed the connection]04:21
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 113 (No route to host)]04:29
-!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: SDuensin, GooeyOfSteel, @apeiron04:29
-!- Netsplit over, joins: @apeiron, SDuensin, GooeyOfSteel04:32
-!- perlDreamer [n=colink@pool-71-117-235-252.ptldor.fios.verizon.net] has joined #webgui04:36
-!- mode/#webgui [+v perlDreamer] by ChanServ04:37
-!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: @Haarg, ckotil, steveo_aa, perlmonkey204:48
-!- Netsplit over, joins: ckotil04:51
+perlDreameryou guys don't have to leave just because I came back04:51
-!- Haarg [n=haarg@24-177-119-178.dhcp.mdsn.wi.charter.com] has joined #webgui04:53
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui04:53
-!- steveo_aa [n=sno@76.226.180.72] has joined #webgui04:53
-!- ServerMode/#webgui [+o Haarg] by irc.freenode.net04:53
+perlDreameraw, ya came back05:03
CIA-21WebGUI: colin * r5713 /branch/WebGUI_Commerce/ (lib/WebGUI/Shop/Tax.pm t/Shop/Tax.t lib/WebGUI/Shop/Cart.pm): 06:03
CIA-21WebGUI: Update the POD for Cart.pm. Return value for addItem is not items in cart, it's the06:03
CIA-21WebGUI: created item.06:03
CIA-21WebGUI: Finish up the Tax calculate method, with tests.06:03
-!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: +perlDreamer, perlbot, nuba06:30
-!- Netsplit over, joins: +perlDreamer, nuba, perlbot06:30
-!- perlDreamer [n=colink@pool-71-117-235-252.ptldor.fios.verizon.net] has quit ["Leaving."]07:07
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit [Remote closed the connection]07:21
CIA-21WebGUI: graham * r5714 /WebGUI/ (docs/changelog/7.x.x.txt lib/WebGUI/AssetLineage.pm): fixed: Child assets not indicated by plus sign in uncommited tags07:21
CIA-21WebGUI: graham * r5715 /branch/WebGUI_7.4/ (docs/changelog/7.x.x.txt lib/WebGUI/AssetLineage.pm): fixed: Child assets not indicated by plus sign in uncommited tags07:43
CIA-21WebGUI: graham * r5716 /branch/WebGUI_7.4/docs/create.sql: preparing for 7.4.27 release07:43
CIA-21WebGUI: jt * r5717 /releases/WebGUI_7.4.27-stable: Release 7.4.27-stable08:02
CIA-21WebGUI: graham * r5718 /branch/WebGUI_7.4/ (4 files in 4 dirs): preparing for 7.4.2808:02
-!- patspam [i=chatzill@ppp59-167-128-63.lns3.mel6.internode.on.net] has quit ["ChatZilla 0.9.81 [Firefox 2.0.0.12/2008020121]"]08:28
-!- ryuu_ro [n=rory@194.171.50.69] has joined #webgui09:19
-!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: @Haarg, steveo_aa, perlmonkey209:33
-!- Netsplit over, joins: @Haarg, perlmonkey2, steveo_aa09:36
-!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: CIA-2109:37
-!- Netsplit over, joins: CIA-2109:40
-!- Radix-wrk [n=Jesse@203.161.68.67] has quit ["Leaving"]09:55
-!- BartJol [n=plainstu@194.171.50.123] has joined #webgui10:30
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui10:44
-!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has quit [Read error: 113 (No route to host)]11:33
-!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has joined #webgui11:33
-!- mode/#webgui [+v Radix_] by ChanServ11:33
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui11:46
-!- mode/#webgui [+o preaction] by ChanServ11:46
-!- BartJol [n=plainstu@194.171.50.123] has quit [Read error: 113 (No route to host)]12:57
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has quit ["Leaving"]14:15
-!- BartJol [n=plainstu@194.171.50.123] has joined #webgui14:32
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui15:05
-!- ckotil [n=newtrino@snare.grnoc.iu.edu] has quit ["Lost terminal"]15:55
-!- ckotil [n=newtrino@snare.grnoc.iu.edu] has joined #webgui16:03
-!- SDuensin [n=Scott@229.sub-75-205-17.myvzw.com] has joined #WebGUI16:08
SDuensinMorning.16:12
ckotilGood Morning16:15
BartJolMorning16:18
-!- crythia1 [n=gyoung@fl-69-68-148-96.sta.embarqhsd.net] has joined #webgui16:22
-!- mode/#webgui [+v crythia1] by ChanServ16:22
-!- crythia1 [n=gyoung@fl-69-68-148-96.sta.embarqhsd.net] has left #webgui []16:22
-!- jdan [n=jdan@195.116.30.251] has joined #webgui16:29
-!- jdan [n=jdan@195.116.30.251] has quit [Client Quit]16:30
-!- estiven [n=erestrep@static-adsl201-232-86-73.epm.net.co] has quit [Remote closed the connection]16:39
-!- estiven [n=erestrep@static-adsl201-232-86-73.epm.net.co] has joined #webgui16:39
-!- estiven [n=erestrep@static-adsl201-232-86-73.epm.net.co] has quit [Read error: 104 (Connection reset by peer)]16:56
perlmonkey2In the Survey System, question text will be able to include answers from previous questions.  ie. in Q2, you could have "What do you like about <S1Q1>?" where S1Q1 is the answer from section 1 question 1.  My question is, should it grab the displayed answer, the recorded answer, or add some syntax to let the user choose?17:15
perlmonkey2And does anyone see a problem with that scheme?17:17
perlmonkey2I think I'll just add some syntax to allow the designer to chose.  S1Q1D or S1Q1R and have S1Q1 default to S1Q1R.17:20
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui17:21
-!- mode/#webgui [+o rizen] by ChanServ17:21
-!- ryuu_ro [n=rory@194.171.50.69] has quit []17:39
-!- perlDreamer [n=colink@pool-71-117-235-252.ptldor.fios.verizon.net] has joined #webgui17:52
-!- mode/#webgui [+v perlDreamer] by ChanServ17:52
+perlDreamerkill -HUP perlDreamer17:53
@rizennoooooooo!!!!!17:53
@rizeni need him17:53
@rizenleave him alone17:53
+perlDreamerthere are runaway processes in perlDreamer17:53
+perlDreamerhe needs to reboot17:53
@rizenfind a way to kill the runaways17:54
+perlDreameractually, first he needs to call in sick to $dayJob17:54
@rizenwithout killing pd17:54
@rizenhehe17:54
@rizen$dayJob->call($sickness);17:54
perlmonkey2perlDreamer: ohnoooes, you gots teh s1kn3ss17:57
perlmonkey2seems like an excessive amount of funk is going around this year.17:57
+perlDreamernow that we've switched to Linux boxen at work, I can almost work completely remotely17:59
+perlDreamerbut not today17:59
+perlDreamerjust email17:59
@rizeneveryone's got to have the sickness, cuz everyone seems to need the cure17:59
+perlDreamerI'm blaming nuba17:59
+perlDreamerhe made me worry about wG future with Google building mini-CMS sites18:00
@rizendamn the google!18:00
+perlDreameractually, that would be a cool TBB entry, talking about it18:00
@rizenbut the people they're picking up weren't likely to be webgui customers anyway18:00
@rizengood idea18:01
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has quit ["Leaving."]18:04
perlmonkey2rizen: that was my thought, that only the hobbyists and those who use the php* junk would be moving.18:05
+perlDreamerrizen: see yesterday's irc logs for the talk about it18:06
+perlDreamerafter this line18:07
+perlDreamertw guys, google apps for your domains (aka GAFYD) now features Websites18:07
@rizenthey do allow a lot more cool dynamic stuff than any other of the free/cheap do it yourself sites18:10
@rizenbut all the sites basically look the same18:11
@rizenand they certainly don't offer everything webgui does18:11
@rizenthe super coolest thing is though that you instantly have google search on your site18:13
@rizenalthough the sites they create a pretty small i'm guessing, so that's not nearly as important18:13
+perlDreamerI think the killer app will be integration18:14
+perlDreamerintegrating other google things into the sites seamlessly18:14
@rizenthey've already got that really18:15
@rizenwith the widget concept18:15
-!- Haarg [n=haarg@24-177-119-178.dhcp.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"]18:16
-!- Haarg [n=haarg@24-177-119-178.dhcp.mdsn.wi.charter.com] has joined #webgui18:17
-!- mode/#webgui [+o Haarg] by ChanServ18:17
perlmonkey2okay, I don't think I'm grok'ing javascript closures properly.  But I want a single ajax object that events pass a callback closure to, which itself contains a success and failure closure.  Is that not the "javascript way"?18:19
-!- lisette [n=liraos@static-adsl201-232-86-73.epm.net.co] has joined #webgui18:31
lisettehello18:33
+perlDreamerhello18:34
lisettewhich is the module for send emails from webgui?18:34
+perlDreamerWebGUI::Mail::Send18:34
lisetteand how to use?18:36
+perlDreamerperldoc WebGUI::Mail::Send18:36
lisettethanks18:36
+perlDreamerlisette, if you should ever find any module in the WebGUI core that does not have documentation, or has bad documentation, please file a bug about it, and it will be fixed.18:42
+perlDreamerWe do it all the time18:42
+perlDreamerto try and make it easier for people to use the code.18:42
lisetteok18:50
CIA-21WebGUI: jt * r5719 /branch/WebGUI_Commerce/lib/WebGUI/Shop/ (Tax.pm Address.pm CartItem.pm Cart.pm): added some helper methods for addressing, and got the cart closer to working19:00
CIA-21WebGUI: jt * r5720 /branch/WebGUI_Commerce/lib/WebGUI/Shop/Tax.pm: made it use a helper method19:00
@rizenwow that took a long time19:02
+perlDreameryeah19:03
+perlDreamerit's constipated19:03
-!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: @Haarg, ckotil19:07
@rizeni'm working on the address chooser function19:07
@rizenso we can actually see the fruits of your tax labor19:07
nuba[12:29] <+perlDreamer> I'm blaming nuba                                                                                                                19:07
nubaoh come on19:07
nubadont shoot the messenger19:07
-!- Netsplit over, joins: @Haarg, ckotil19:08
@rizeni'm blaming nuba too, just cuz it's fun19:08
BartJolnuba all people here blame me, because I'm the newby and I mess things up19:09
nubai blame google for making "student websites" so easy to my computer science dept and thus making it harder to sell webgui to them.19:11
nubarizen: yesterday i tried shaking the channel a bit with that topic, but nobody was really excited about it19:11
-!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: +perlDreamer, BartJol, @rizen, CIA-2119:12
-!- apeiron_ [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui19:12
-!- mode/#webgui [+o apeiron_] by ChanServ19:13
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has quit [Nick collision from services.]19:13
-!- apeiron_ is now known as apeiron19:13
-!- Netsplit over, joins: BartJol19:15
BartJolthat was strange, got kicked out...19:15
BartJolwell have to cook19:15
-!- BartJol [n=plainstu@194.171.50.123] has left #webgui []19:15
-!- CIA-52 [n=CIA@208.69.182.149] has joined #WebGUI19:16
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui19:17
-!- perlDreamer [n=colink@pool-71-117-235-252.ptldor.fios.verizon.net] has joined #webgui19:17
-!- BartJol [n=plainstu@194.171.50.123] has joined #webgui19:17
-!- ServerMode/#webgui [+ov rizen perlDreamer] by irc.freenode.net19:17
-!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: steveo_aa, perlmonkey219:18
-!- estiven [n=erestrep@static-adsl201-232-86-73.epm.net.co] has joined #webgui19:22
-!- Netsplit over, joins: perlmonkey2, steveo_aa19:22
nubasplitty here, huh?19:23
+perlDreamerguess so19:23
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has quit [Read error: 104 (Connection reset by peer)]19:26
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui19:26
-!- mode/#webgui [+o apeiron] by ChanServ19:26
-!- BartJol [n=plainstu@194.171.50.123] has quit [Read error: 110 (Connection timed out)]19:30
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has joined #webgui19:36
-!- mode/#webgui [+v MrHairgrease] by ChanServ19:36
-!- perlDreame1 [n=colink@pool-71-117-235-252.ptldor.fios.verizon.net] has joined #webgui19:54
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has quit [Read error: 110 (Connection timed out)]19:59
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has joined #webgui20:00
-!- mode/#webgui [+v MrHairgrease] by ChanServ20:00
-!- crythia1 [n=gyoung@fl-69-68-148-96.sta.embarqhsd.net] has joined #webgui20:06
-!- mode/#webgui [+v crythia1] by ChanServ20:06
-!- crythia1 [n=gyoung@fl-69-68-148-96.sta.embarqhsd.net] has left #webgui []20:06
perlmonkey2axod is explaining his problems and why he's kicking 800 people off irc in ##javascript20:09
perlDreame1oh really?20:12
perlDreame1is it logged somewhere?20:12
-!- perlDreamer [n=colink@pool-71-117-235-252.ptldor.fios.verizon.net] has quit [Read error: 113 (No route to host)]20:13
-!- perlDreame1 is now known as perlDreamer20:13
-!- perlDreamer is now known as fooBa220:14
-!- fooBa2 [n=colink@pool-71-117-235-252.ptldor.fios.verizon.net] has quit ["Leaving."]20:14
-!- perlDreamer [n=colink@pool-71-117-235-252.ptldor.fios.verizon.net] has joined #webgui20:14
-!- mode/#webgui [+v perlDreamer] by ChanServ20:14
GooeyOfSteelWiki: WRE-FAQ - Edited on 3/5/2008 12:30 pm by JT  http://www.webgui.org/community-wiki/wre-faq20:41
perlmonkey2perlDreamer: My bad, he was talking about an irc client he has for his own server that dumped 800 users on his own irc esrver.20:49
+perlDreamerno sweat, dude20:52
perlmonkey2$self->session->id->generate() what is that generating?  A unique assetId?20:56
perlmonkey2Let me back up20:56
perlmonkey2I want to know how I get the assetId of the current instance of a survey, and what I should use as my foreign key for Survey_Questions/Sections/Answers/Responses.20:57
perlmonkey2I would think I would use the assetId for the current survey?20:58
+perlDreamer$self->getId21:02
+perlDreamerid->generate generates a custom, base64 MD5 hash21:02
-!- wgGuest25 [i=WebGUIUs@c-76-119-132-119.hsd1.ma.comcast.net] has joined #webgui21:02
wgGuest25wow.. IRC21:02
+perlDreameryeah, isn't it cool?21:02
wgGuest25haven't been on one of these since I was like... 621:03
+perlDreamerPerchance, do you have a WebGUI related question?21:03
wgGuest25I do... do you have webGUI related answers?21:03
+perlDreamerperchance21:03
perlmonkey2The original Survey has an assetId and then generates a new hash for the Survey_id.  Is there a reason to just not use the assetId as the SurveyId (the surveyid was used as the foreign keys in the other collateral tables).21:03
perlmonkey2wgGuest25: perlDreamer has *all* the answers.21:04
wgGuest25alright. I have several sites that are running an OLD (circa 2003-2004) version of WebGUI, so these may sound like stupid questions because I'm not used to all this new stuff21:04
+perlDreamer'salright21:04
wgGuest25but I just set up a new server, with the latest version of (ubuntu and webgui)21:04
perlmonkey2congrats21:04
wgGuest25used the WRE, successfully21:04
perlmonkey2isn't it cool?21:05
wgGuest25i can upload photos from any section of the site, EXCEPT for the inline-editor.21:05
wgGuest25They just show up as broken image boxes21:05
+perlDreameranything in the webgui.log file?21:05
wgGuest25with the WRE, does everything log to /etc/WebGUI/.... whatever?21:06
wgGuest25or does it break logs down into individual sites21:06
@rizenperlmonkey2 survey_id was a stupid thing that i should have never added21:06
+perlDreamer/data/wre/logs, I believe21:07
perlmonkey2rizen: well bare with me, as I'm apparently a slow WG learner, but then that means it is a good idea to use the assetId as the foreign key?21:07
+perlDreamerand (not being a WRE user myself), I'm pretty sure that all WebGUI's log to the same file21:07
wgGuest25no directory /data/wre/logs21:07
@rizenit's /data/wre/var/logs21:07
perlmonkey2s/bare/bear/21:07
@rizenpm2: yes use the assetId as a key21:08
+perlDreamerperlmonkey2: ew21:08
perlmonkey2groovy21:08
perlmonkey2heh21:08
perlmonkey2"NO, NO, don't take off your clothes...my eyes, my eyes....they BUUUURN!"21:08
wgGuest25that's more like what i'm used to seeing in IRC21:08
wgGuest25welcome to being 6 years old :)21:08
* perlmonkey2 hopes to stay that way forever.21:09
wgGuest25haha21:09
wgGuest25i'm attempting to add an image now while tailing the log file21:09
wgGuest25main::[[undef]] - Can't make a thumbnail for a file that is not in my storage location.21:10
-!- wgGuest25 is now known as Slickware21:11
Slickwaredid I stump21:12
-!- dionak [n=diona@97.66.185.250] has joined #webgui21:12
@rizenit's most likely a privileges problem21:13
@rizenmake sure your uploads folders are owned by your apache user21:13
Slickwarei feel like it should be too - but shouldn't the WRE have set that up?21:13
Slickwarei don't even have apache actually installed21:13
Slickwarei let the WRE do EVERYTHING21:13
@rizenit should, that doesn't mean it doesn't have a bug, or that you didn't do something correctly...there's always the chance for something going wrong21:14
Slickwareespecially with webgui21:14
Slickwarei remember the days before the WRE :)21:14
@rizenwhat?21:14
@rizenwebgui roxorz21:14
Slickwareit was like installing Murphy's Law21:14
Slickwareespecially all those damn CPAN things21:14
Slickware"can't make, install seems impossible"21:15
@rizentrue...hence the wre21:16
dionakthe more powerful an application, the more chance that something can go wrong.21:16
-!- rizen is now known as rizenisatlunch21:16
-!- perlmonkey2 is now known as stupidmonkeymust21:17
-!- stupidmonkeymust is now known as monkeyiseating21:18
nubaheh, my first webgui install to a hosting that had no shell access, and just the core perl libs. had to use cgitelnet.pl and install to a local box having similar OS/arch, then upload and testenvironment again and again..21:18
Slickwareouch21:18
nubaearly 5.x days21:18
Slickwarehey.. i still have a 5.x server running happily :)21:18
nubayou'll have lots more fun with webgui as it is now21:19
Slickwarei have to say - while I understand the idea behind clear/commit,21:19
Slickwarei HATE it21:19
+perlDreamerthere is an autosave/autocommit set of options in the settings21:20
nubaalso the wre comes tweaked for webgui performance, mod_proxy and all that21:20
nubaits a good way to get a great setup out of the box21:20
nubawith little effort21:20
+perlDreamerrizen: more fuel for your argument21:21
+perlDreamerthe automated test suites all run the WRE21:22
Slickwarei won't bash the WRE21:23
Slickwarejust want to get this image upload issue fixed21:23
Slickwareso, if i'm running ubuntu... which directories should I have to change permissions on ?21:24
+perlDreamer/data/domains/*21:24
Slickwareand should they all be apache.apache21:24
+perlDreamerum, no21:24
+perlDreamerthere is a webgui user for the wre21:24
+perlDreamerthey should be owned by him21:24
+perlDreamerand exactly which versions of the WRE and webgui are you using?21:24
Slickwareeverything down to the uploads directory is owned by webgui21:25
Slickwarebut some of the directories IN the uploads directory are owned by webgui, group is like 4255343758921:25
+perlDreamerare they writable by user webgui?21:26
@apeironnuba, http://sourceforge.net/projects/cgipan/ may have helped you back in those days without shell access. :)21:26
Slickwarei believe they are21:27
Slickwarei'm literally running whatever the latest versions are - i JUST finished installing it last week21:27
+perlDreamerchmod -R u+w /data/domains21:27
+perlDreamerand, just as a refresher, only uploads through the rich editor have problems?21:28
@preactionwasn't this a known issue in 7.4.25?21:28
Slickwareyes, only through the richedit21:28
+perlDreamersounds familiar21:28
+perlDreamerwhat's the exact webgui version you're running?21:28
Slickwarehow do i check now21:29
nubaapeiron: nice21:29
+perlDreamerthrough the UI, log in as admin, turn admin on, to go admin console, click on statistics21:30
+perlDreamerthrough the shell, look at /data/WebGUI/lib/WebGUI.pm21:30
@apeironSlickware, grep VERSION /data/WebGUI/lib/WebGUI.pm21:30
SlickwareWebGUI Build Version: 7.4.25-stable 21:30
-!- monkeyiseating is now known as perlmonkey221:30
+perlDreamerSlickware, please upgrade to 7.4.26 or higher21:30
Slickwareand apparently there is another new version out. huh.21:30
+perlDreamer" - fixed: rich text editor image uploads deleted immediately"21:30
Slickwareoh jeez21:31
+perlDreamerthere are frequent bug fixes21:31
Slickwareis there a SIMPLE way to upgrade through the WRE?21:31
Slickwareor do i have to download the tar.gz and upload with the perl scripts21:31
nubawell, check for something with a name looking like "webguiupdate" in /data/wre/sbin21:32
+perlDreamerhttp://www.webgui.org/community-wiki/upgrading21:32
nubaand give it a bump or two21:32
Slickwarethanks21:32
+perlDreamernuba, was my earlier spanish anywhere on track?21:32
Slickwarei honestly never really expected to find any answers in IRC :)21:32
nubaperlDreamer: where is it?21:33
+perlDreamerway back,21:33
Slickwarethey should log these chats and let google index them, it's a lot better than using their horrible search engine on the discussion board21:33
perlmonkey2I still can't believe IRC was ever anything but for hackers and programmers21:33
@preactionSlickware, xdanger currently has logs available, but we have no search mechanism developed for it yet21:33
@apeironSlickware, Google's horrible search engine, or WebGUI's?21:33
@preactioni'm tempted to see if i can get an IRSeek bot in here21:33
Slickwarei can't stand that you can't use the back button on the discussionboard search21:33
Slickwareit's really annoying to have to open posts in new tabs/windows to see if they are relevant to your search query21:34
Slickwarebut that's just me complaining :)21:34
@apeironSlickware, If it's WebGUI's, feel free to file an RFE documenting what you'd like to see improved.21:34
+perlDreamerSlickware: we always appreciate user feedback, but things in IRC rarely get done.21:34
+perlDreamerUse the RFE system online to submit those21:34
Slickwarei know. i'm more just venting21:35
+perlDreameror, provide patches :)21:35
Slickwarethe discussion feature has always been that way21:35
Slickwarei am unfortunately not a perl programmer by any means21:35
@apeironThat doesn't mean you won't get what you want.21:35
nubawhy index/search the irclogs? isnt grep -C 10 -E 'some.regexp[0-9]*' ehough?21:35
-!- estiven [n=erestrep@static-adsl201-232-86-73.epm.net.co] has quit [Read error: 104 (Connection reset by peer)]21:35
Slickwarehaha21:35
@apeironnuba, What if you don't *have* the logs? :)21:36
nubawget'em21:36
Slickwarealright. thanks guys/girls. I'll give this stuff a shot and check back later if I fail miserably.21:36
nubareally, i added the URL to xdanger's logs in the wiki irc page21:36
nubaits just a matter of wget -r -l inf 'URL' and then grepping'em 21:36
-!- slickwar1 [i=WebGUIUs@c-76-119-132-119.hsd1.ma.comcast.net] has joined #webgui21:53
-!- Slickware [i=WebGUIUs@c-76-119-132-119.hsd1.ma.comcast.net] has quit []21:54
slickwar1test21:54
+perlDreameryo21:54
slickwar1just setting up IRC on GAIM21:54
-!- slickwar1 [i=WebGUIUs@c-76-119-132-119.hsd1.ma.comcast.net] has left #webgui []21:55
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."]21:59
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui22:00
-!- dionak [n=diona@97.66.185.250] has left #webgui []22:01
-!- slickwar1 [i=WebGUIUs@c-76-119-132-119.hsd1.ma.comcast.net] has joined #webgui22:07
slickwar1you guys rock.22:07
slickwar15 minutes later, and I can upload from the richedit22:07
slickwar1after a week of pulling out hair :)22:07
+perlDreamerhere's a few hints for bug fixing22:09
+perlDreamersearch the bug db22:09
+perlDreamersearch the forums22:09
+perlDreamercheck the wiki22:09
+perlDreamerread release notes for newer versions of wG22:09
slickwar1I did check the forums22:12
slickwar1I just sort of assumed, since I had JUST downloaded a new version, that upgrading couldn't possibly be my problem :)22:12
slickwar1I forget that webgui changes releases more than my girlfriend changes outfits22:13
+perlDreamerhere's the new release schedule: http://www.webgui.org/webgui/dev/discuss/stable-vs-beta-releases-and-demo22:14
+perlDreamerit's open source.  You have to release often.22:15
slickwar1I know, I know... i'm just not used to a "stable" release also being one that doesn't always work right away!22:16
-!- rizenisatlunch is now known as rizen22:16
+perlDreamertrue22:16
@rizenperlDreamer: it would look better if you reply on my post in tbb. that way it isn't just me saying that the wre is a good thing.22:18
+perlDreamerI did :)22:18
+perlDreamerI'm a little worried about coding while I'm sick, so I'm looking at test coverage for the Shop modules22:20
+perlDreamerIf a file exists, is readable by the user, is there any reason why it could not be opened as a filehandle by perl?22:26
@rizennot that i'm aware of22:26
@rizeni suppose if the filesystem had some sort of locking mechanism that prevented it from being opened by multiple users at the same time22:27
@rizenNTFS has that22:27
slickwar1so perlDreamer, who are you guys - do you work for plainblack or are you just hardcore fans?22:27
@rizenrizen = JT22:27
+perlDreamerall of the Op'ed guys are PB staffers22:27
+perlDreamerthe voiced guys are volunteers who have no other life22:28
slickwar1aww JT you have been around since the beginning... you're my hero22:28
+perlDreamerand the other people are volunteers and bots22:28
@preactionperlDreamer, SELinux perhaps?22:28
@rizeni say that the voiced guys are volunteers who contribute more than others...not that have no life22:28
+perlDreamerit's the virii talking22:29
slickwar1I contributed... I finally bought the books22:29
+perlDreamerI'm looking at the importTaxData method for Shop::Tax.pm, and wondering if I went overboard on file checking22:29
slickwar1my monetary contribution is far more useful than any coding I could cough up, believe me22:29
+perlDreameroh, I don't know22:30
+perlDreamerdo you do HTML/CSS?22:30
+perlDreamerthere are lots of ways to contribute back22:31
slickwar1I do, but I try not to22:31
+perlDreamermake themes22:31
+perlDreamertranslate wG into other languages22:31
slickwar1haha... pig latin22:31
+perlDreameranswer questions on the forums22:31
@preactionbefore i can get to other work i need to ask: Is there any way that: package Foo; package Bar; use base 'Foo'; package main; my $class = "Bar"; $class->isa("Foo"); would return false?22:31
+perlDreamermake useful wiki pages22:31
slickwar1I do try and answer forums question22:31
+perlDreamerpreaction: 1;22:32
slickwar1maybe I should revise the WRE installation wiki so it is accurate for Ubuntu22:32
@preactioni'm trying to make the GalleryFile class, and have Photo inherit from that instead of Image, and in the process i'm fixing the addChild check to ensure only appropriate classes get added to Albums22:32
slickwar1becuase the "for ubuntu" section is blatantly wrong22:32
@preactionbut that check is failing22:32
@preactionsomehow GalleryFile::Photo which use base 'GalleryFile'; is somehow NOT a GalleryFile.22:32
@preactionor an Asset for that matter22:32
+perlDreameris isa overridden anywhere in your code, or in any module that you might use?22:33
@preactionhttp://webgui.pastebin.com/m40fbb032 <- anything glaringly wrong with that?22:33
@preactionperlDreamer, not that i know of22:34
@preactionGalleryFile exists and is syntactically correct, same with Photo22:34
+perlDreamer$properties->className isn't an object22:35
+perlDreameris it?22:35
@preactionno it should just be a string22:35
+perlDreamermaybe I should read more about UNIVERSAL isa22:35
+perlDreamerI thought you needed an object to do that22:35
+perlDreamernot a hashref22:35
@preactionno, a classname works22:36
+perlDreamertry it as a bareword22:36
+perlDreamervs a var22:36
@preactioni tried doing "WebGUI::Asset::File::GalleryFile::Photo->isa("WebGUI::Asset::File::GalleryFile");22:36
@preactionk22:36
@preactionnope22:37
@preaction163     print "OKAY!!\n" if WebGUI::Asset::File::GalleryFile::Photo->isa( $fileClass ); <- fails22:37
@preactionha.22:38
@preactionit wasn't loaded22:38
+perlDreameruse base doesn't load it?22:38
@preactioni did a use <whatever> in my test22:39
@preactionno, the class itself wasn't loaded22:39
+perlDreameroh22:39
@preactionand ->isa() returned false because Perl didn't know what it was22:39
@preactionwhich means that all overridden addChild probably needs to use WebGUI::Pluggable::load22:39
@preactionkinda weird that isa didn't even pop a warning about it...22:41
@preactionoh well, i can now close all the Gallery bugs on the public buglist.22:42
+perlDreamercool22:42
@preactionyours had to be the hardest, didn't it?22:43
@preactionbut now MrHairgrease has his GalleryFile class so he can make GalleryFile::Video22:43
+perlDreamersorry, man22:43
@preactionhum... discussion: which is more important? Purity of form (user interface) or purity of essence (code design)22:45
@preactioni know times where i've had to sacrifice one for the other, usually sacrificing code for user interface, and i've always hated it (and usually the result)22:46
+perlDreamerwhat's awfully wide-open, how about a specific example?22:48
+perlDreamerrizen: since Tax->calculate can return 0 as a valid value, I'd like to remove the return 0 and just let the exception propagate out.  Sound okay?22:50
@rizenwhat are we talking about?22:51
@rizenis this in reference to the change i made?22:51
+perlDreameryeah22:51
@rizeni don't understand why that would be better22:52
lisettehow to obtains a email from a user of webgui?22:52
+perlDreameryou can't look at the return value of calculate and see if there was a problem.22:52
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit [Remote closed the connection]22:52
@rizenthere isn't a problem if it returns 022:52
+perlDreamersince 0 is a valid amount of tax22:52
+MrHairgreasepd: have it return a negative amount of tax22:53
+MrHairgreaseyou know that's wrong b/c i have never seen the tax hyena's give anything back =)22:53
@rizenit returns 0 when there is no shipping address defined, that's because you can't have any tax without a shipping address22:53
@rizenthere's nothing wrong with 0 in that case22:53
@rizenand there's nothing wrong with the tax system either that should throw an exception22:53
+perlDreamerthe exception would be thrown by Address and propagate back to the caller of calculate22:54
@rizeni think exceptions should only ever be thrown to indicate something is wrong, or something happened that you don't expect22:54
* slickwar1 is out. thanks everyone22:54
+perlDreamerbut since 0 is okay, it's moot22:54
-!- slickwar1 [i=WebGUIUs@c-76-119-132-119.hsd1.ma.comcast.net] has quit ["Leaving."]22:54
@rizennow, if we made it past that check22:54
@rizenand address still throws an exception22:54
@rizenthen it should propogate up22:55
@rizeni think by throwing the exception where i made the change, you're actually potentially masking other real problems22:55
+perlDreamerI don't think return 0 should be replaced with an explicit expression, I think we should let $book->getAddress throw the exception for us22:56
@rizeni know that's what you're saying...and i think that then indicates a problem where there is none22:56
-!- wgGuest74 [n=wgGuest7@static-adsl201-232-86-73.epm.net.co] has joined #webgui22:56
@rizenit's perfectly valid to call $tax->calculate() with no address assigned22:57
@rizenthere's no reason it should throw an exception on something that it's valid to do22:57
@rizenthat is, unless you're saying it shouldn't be valid to call calculate when no address is assigned22:59
+perlDreamercould they proceed to checkout without a shipping address?  If not, then 0 is cool with me.23:00
@rizenno23:00
@rizenthe system prevents that23:00
+perlDreamerthen 0 is cool with me23:00
+perlDreamerI'll build a test for the return 0 case23:01
@rizenbecause the "Choose Shipping Address" button is displayed in place of "Checkout" when they haven't chosen one.23:01
@rizenbtw...i'm thinking about getting rid of the checkout button23:01
@rizeni'm thinking about putting the various payment buttons right on the cart screen23:02
@rizenso we can skip a step23:02
@rizenis that a bad idea?23:02
+perlDreamerthat's cool.  That way they don't have to choose a payment option and then checkout23:02
+perlDreamerinstead of 1-click checkout, it's 1-click payment23:02
@rizenmy only concern is what if someone has 15 different payment options enabled23:02
@rizenCheck, Cash, PO, PayPal, Karma, Google Check Out, 2Checkout, Credit Card23:03
@rizenetc23:03
wgGuest74hello23:03
@rizeni realize it's unlikely..but it could make the cart screen ugly23:03
+perlDreamermaybe a dropdown instead of buttons if there are more then 3?  or use the top 3, and a drop-down for the rest?23:04
+perlDreamerI hate UI design23:04
+perlDreamerwgGuest74: howdy.  Do you have a question?23:05
wgGuest74last week i asked about a dinamic select box in a data form, the thing is that i have  a selected box that its posibles values are dinamic23:05
wgGuest74if i  create a new control can i solve the problem?23:06
+perlDreamerdynamic, like the user can provide more options?23:06
wgGuest74the options are stored in a database and they are created by the user23:07
wgGuest74yes, the user can provide more options23:08
+perlDreamerthat's what you want it to do, but you're finding that it doesn't do that right now.  Correct?23:08
wgGuest74yes23:08
+perlDreamerthere is a combo box, which combines a select box with a text entry form, but the application has to take care of adding new entries into some database.23:10
+perlDreamerit should not need a new form control23:10
+perlDreameryou would need to further customize the DataForm to handle that new function23:12
wgGuest74for example the user first add in a table called areas, the name of the areas23:12
wgGuest74and in other screen when the user try to add the subject, he should see the name of the areas in a select box to add the subjects23:13
wgGuest74in the subject table will have a field that store the area's id23:14
+perlDreamerin the dataform, there are only 2-3 screens for the user23:15
+perlDreameradd an entry23:15
+perlDreamerview all entries23:15
+perlDreamerview one entry23:15
+perlDreamerexport some data23:15
+perlDreamerokay, 4 screens23:15
+perlDreamerno screens where the user can update a field, and then change it in another23:16
+perlDreamerThat sounds more like a SQL form type of application23:16
+perlDreamerbut that's a guess23:16
wgGuest74but the sql form doesn't have the select box23:17
+perlDreamerit sounds like wG does not have what you want out of the box.  So then it would be up to you how you would like to add it.23:17
+perlDreamerthe new Thingy application may do that, but it won't be out before April/May (as scheduled)23:18
wgGuest74the thing that i did was to create a dataform to add areas and i modified it to stored the entries in my own tables23:18
wgGuest74and then i created another dataform to create subjects 23:18
wgGuest74the thing that i need is the possibility to put the posibles values in a selected box obtaining the values from a table23:19
+perlDreamerIf I remember correctly, the DataForm will evaluate macros in several of its form fields23:24
+perlDreamerHow about using a SQL Macro to populate the possible values field of the select box?23:25
wgGuest74yes, i tried with a macro but the it returns a string 23:26
wgGuest74all tha values appear in the same line23:26
wgGuest74what features will have the thingy application?23:26
+perlDreamerit's basically a lite version of MS Access23:27
+perlDreamerfor the same line, you may need to use a different template, but again, I'm guessing23:27
wgGuest74perlDreamer, when i go to the sql form i always see first, the search template, can i modify it to see first the default sql form edit 23:33
+perlDreamerI don't know.  If you could, it would be in the Asset's edit screen, probably under display.23:35
wgGuest74yes?23:36
+perlDreamerno.  The default view is either a normal search screen, or an advanced search screen.23:37
+perlDreamerfor multiline macro output from ^SQL, use \n in the template23:38
wgGuest74ok23:39
wgGuest74i am going to try23:39
wgGuest74can i change in the sql form the default view, i want that the default view will be add a entry23:41
+perlDreamerno23:42
wgGuest74ok23:42
wgGuest74so, i am going to try the macro23:43
wgGuest74if a change the code of the data form wobject, can i report you the changes to be incluided in the core?23:44
+perlDreamerYou should submit it as an RFE.  JT will evaluate it to see if it can be added to the core.  Then it would need to wait for a developer to add it.23:45
-!- estive1 [n=estiven@static-adsl201-232-86-73.epm.net.co] has joined #webgui23:48
wgGuest74we have decided to put all of our sites, applications and projects around webgui, we want to contribute for webgui's project23:48
+perlDreamerThat's awesome!23:48
@rizenwgGuest74 i'm sorry to report that DataForm will not be in the core going foward23:49
@rizenyou'll still be able to use it on your sites, but it won't be part of the core23:49
CIA-52WebGUI: colin * r5721 /branch/WebGUI_Commerce/t/Macro/SQL.t: Functional test for multiline output.23:49
CIA-52WebGUI: colin * r5722 /branch/WebGUI_Commerce/t/ (3 files in 2 dirs): 23:49
CIA-52WebGUI: Add coverage tests for more bad CSV file handling,23:49
CIA-52WebGUI: and two files to exercise the header checks in importTaxData23:49
CIA-52WebGUI: colin * r5723 /branch/WebGUI_7.4/t/Macro/SQL.t: backport new SQL.pm macro test for multiline output23:49
@rizeninstead it will be replaced by two other assets: Thingy for building data entry applications, and Mail Form for building email forms23:50
wgGuest74are there some rules that are neccesary to have to contribute in the project?23:51
+perlDreamerhttp://www.webgui.org/community-wiki/getting-started-in-the-webgui-community23:52
+perlDreamersee the Core developers entry in that wiki page23:52
wgGuest74ok23:52
wgGuest74so, the data form will desappear in the future23:53
+perlDreamerhttp://www.webgui.org/community-wiki/development-best-practices for how to write good core code23:53
estive1you can make your own patch23:54
+perlDreameractually, see the "Developing for WebGUI" entry on the table of contents page http://www.webgui.org/community-wiki/table-of-contents23:54
-!- SDuensin [n=Scott@229.sub-75-205-17.myvzw.com] has quit ["Leaving"]23:54
+perlDreamerand estive1 is right.  You can always maintain your own patch for locally customizing WebGUI23:56
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."]23:57
wgGuest74ok23:57
wgGuest74thanks for all your advices23:57
@rizenWe will be releasing the data form into the user contributions section of the site in case someone23:57
@rizenwould like to start maintaining it23:57
@rizenAfter all there will be thousands of people out there with data forms on their sites.23:58
wgGuest74claro23:58
wgGuest74yes, we want to be part of webgui23:59
--- Day changed Thu Mar 06 2008
estive1http://www.webgui.org/community-wiki/how-to-add-a-feature-to-webgui-core00:01
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui00:01
perlmonkey2rizen: I've written probably 20 different custom one off surveys and your survey system seems very well designed.  How come you think so badly of it?00:05
@rizeni think that the survey works pretty well, i just think the code behind it is absolute crap00:06
@rizen=)00:06
perlmonkey2Hah00:06
@rizenit's one of the oldest (hasn't been revamped) assets in the system00:06
perlmonkey2I have a question about embedding variables in question text.  I'd like to be able to have Q2's text have a <S1Q1S> tags.  00:07
perlmonkey2What this would do is in the text of Q2, Section 1 Question 1's submitted answer would be replaced with that tag00:08
perlmonkey2<S1Q1R> would put the recorded value instead of the submitted.00:08
perlmonkey2But is that a good way to do this?00:08
perlmonkey2S1Q1. What is your favorite color.  S1Q1. Why is <S1Q1S> your favorite color?00:09
@rizenoh i see what you're saying00:09
perlmonkey2whups, that second S1Q1 should be S1Q2.00:09
@rizenwell i don't think it's a good idea to use S1Q2 because those are relative00:10
@rizenif they reorder the survey then it won't make sense00:10
perlmonkey2oh00:10
perlmonkey2good point.00:10
@rizenyou'd have to use the asset id of some sort00:10
@rizenbut i think that a better way to do it from a user interface point of view is00:11
@rizenhave them put in a %s00:11
@rizenand then have a drop down to pull the answer from a list of the questions00:11
@rizenso that you can tie a question's guid directly to it00:11
@rizenWhy is %s your favorite color?00:11
@rizenand then use sprintf to put it in there00:11
perlmonkey2Okay, I like that.00:12
@rizenwow that's going to be a pretty powerful feature00:12
perlmonkey2Yeah, the people at work had a lot of them.00:12
perlmonkey2Good ideas, that is.00:12
perlmonkey2rizen: So how about the dialog defaults to one dropdown for variable replacement.  then an onblur on the text that counts %s and if there is more than 2 but less than 6, add that number of new drop downs?00:16
@rizensounds reasonable to me. so you're going to allow for follow up questions that combine the answers from multiple previous posts?00:19
@rizens/posts/responses/00:19
CIA-52WebGUI: colin * r5724 /WebGUI/t/Macro/SQL.t: sideport new SQL.pm macro test for multiline output00:20
wgGuest74excuseme perlDreamer, when you said me for multiline macro output from ^SQL, use \n in the template00:21
wgGuest74is to use my own macro or to use the SQL Macro00:21
-!- estive1 [n=estiven@static-adsl201-232-86-73.epm.net.co] has left #webgui []00:22
+perlDreameruse the ^SQL macro, but in the template, give it a newline "^1;\n"00:22
wgGuest74ok00:23
-!- estiven [n=estiven@static-adsl201-232-86-73.epm.net.co] has joined #webgui00:26
perlmonkey2rizen: unless you see a reason not to?00:26
@rizennope, that's just super powerful00:26
@rizengotta be careful not to confuse your average survey admin00:27
perlmonkey2I'm not sure how to use the SQL.pm to bring back more than 2 columns.  Is there a module with an example?00:27
perlmonkey2Hopefully they won't be confused because they shouldn't see the extra drop downs unless they add more than 1 %s00:27
perlmonkey2nm, I found an exmaple00:28
perlmonkey2oh, it works like you'd think it would.  The pod info said something about more than two columns being concat'd with a ":" that confused me.00:30
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui00:39
+perlDreamerperlmonkey2: do we need a pod patch for that?00:40
perlmonkey2I don't know....In all probability I just didn't understand the docs.00:40
+perlDreamerwhich method?00:40
perlmonkey2buildArrayRef*00:41
perlmonkey2any of them00:41
perlmonkey2If the query selects more than two columns, then the last column will be the value and the remaining columns will be joined together by a colon ":" to form a complex key.00:41
perlmonkey2From buildArrayRefOfHashRefs00:41
+perlDreameryeah, that's what it does.  It's correct00:42
+perlDreamerI wonder if that's tested...00:42
perlmonkey2but you really get [{k1,v1},{k2,v2}...}00:43
perlmonkey2er close with ]00:43
perlmonkey2if you have columns k1,k2,k3  you get back [{k1,v1,k2,v2,k3,v3},...]00:44
perlmonkey2I don't undestnad where the concat comes in?00:44
+perlDreamerme either00:44
+perlDreamerit looks like copy/paste bug from buildHash, buildHashRef00:44
perlmonkey2not sure why buildHash does that though00:45
@rizenbecause you can't have multiple keys00:46
@rizenso it generates a composite key00:46
@rizenselect userId,groupId, groupName from sometable00:46
@rizenmakes $hash{userId-groupId} = "group name";00:47
@rizenget it?00:47
perlmonkey2Okay, yeah, that makes sense now.00:47
perlmonkey2I can see how that would be a very useful method to have.00:47
@rizenWebGUI::SQL is built from years of love00:48
@rizenthere's lots of great utility methods in there to do crazy stuff in one line of code00:48
perlmonkey2I like it :)00:48
perlmonkey2in the db, what is the preferred way of doing booleans?00:50
perlmonkey2a mysql bool type?00:50
+perlDreamerusually we use ints with 0 and 100:50
perlmonkey2perlDreamer: But you are totally wasting 7 bits of space!00:51
perlmonkey2:P00:51
* perlDreamer passes perlmonkey2 254 values00:51
@rizenyou can use tinyint00:52
@rizenhehe00:52
@rizeni honestly didn't even know that mysql had a bool type00:52
perlmonkey2I have no idea what mysql's internals are for boolean...probably tinyint :P00:52
@rizendoes it return 1/0 or true/false?00:53
perlmonkey2j/s I'll test00:53
perlmonkey2select true returns 100:53
+perlDreamerhow 'bout select false?00:54
perlmonkey2000:54
@rizenit's a 000:54
@rizennice00:54
@rizenwe should start using that00:54
perlmonkey2looks like it is a bit00:54
perlmonkey2but a signed bit00:55
perlmonkey2so two bits?00:55
perlmonkey2that is just guessing because mysql-admin gives the option of setting it unsigned00:55
+perlDreamerthat's 6 bits savings / row00:55
+perlDreamerit bet it uses int(2) internally00:56
perlmonkey2well if you want to start using it for all my bool columsn :)00:56
perlmonkey2I mean "I'll start using it for ..."00:56
@rizeni just switched all the create scripts for the new commerce system to use bool00:57
@rizenand the yesNo form control00:58
perlmonkey2that was fast.00:58
@rizenthat's what my wife says00:58
perlmonkey2DOH :O00:59
@rizen=)00:59
perlmonkey2looks like it is a TINYINT(1) internally00:59
@rizeni was going to say it about MrHairgreases girlfriend but i wasn't sure if he's here or not00:59
perlmonkey2hah00:59
-!- wgGuest74 [n=wgGuest7@static-adsl201-232-86-73.epm.net.co] has quit [Remote closed the connection]01:02
-!- lisette [n=liraos@static-adsl201-232-86-73.epm.net.co] has quit ["Leaving."]01:04
* perlmonkey2 realizes he was getting bits and bytes mixed up earlier...whups 01:13
* perlmonkey2 hands in his programmer creds and goes to dig ditches.01:13
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit [Remote closed the connection]01:13
@rizennooooooOoooooOOOOOooooooo!01:13
@rizenyou must finish the survey and dethrone the reigning webgui community tyrant known as perlDreamer01:14
perlmonkey2Hah, perlDreamer can probably get his bits and bolts right01:14
@rizenhe has a bunch of runaway processes today01:15
@rizenhe almost sig hupped himself01:15
perlmonkey2Although the farther I get into this version of the survey system the more excited I get.  As long as I can keep ajax calls sub 500ms+latency I think it will be very fun to use.01:15
perlmonkey2wow, that is serious when you are ready to do that.01:16
* MrHairgrease is about to sig hup01:18
+MrHairgreaselater01:18
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has left #webgui []01:18
-!- perlDreamer is now known as perlTyrant01:19
+perlTyrantmuch better :)01:19
@rizenindeed01:19
+perlTyrantrizen: Tim drew a picture of you.  Would you like to see it?01:20
@rizenpd in 10 minutes or so i should have the shipping address chooser complete01:20
@rizensure01:20
@rizenare you emailing it to me?01:24
+perlTyrantyup01:25
+perlTyrantit's a whiteboard drawing01:25
+perlTyrantI think he's captured the inner you01:25
@rizenwell at least it's not the outer me...that would have set the whiteboard on fire01:26
+perlTyrantwe would have needed a taller whiteboard01:27
+perlTyrantbig smile, flared nostrils, beard.  That's gotta be JT01:27
+perlTyrantdid you get it?01:28
@rizennot yet01:29
@rizenspoke too soon, there it comes01:30
-!- perlTyrant is now known as perlDreamer01:30
CIA-52WebGUI: doug * r5725 /WebGUI/ (28 files in 12 dirs): 01:31
CIA-52WebGUI: Added WebGUI::Asset::File::GalleryFile01:31
CIA-52WebGUI: Changed Photo to subclass WebGUI::Asset::File::GalleryFile01:31
+perlDreamerwhat do you think?01:32
+perlDreamerconsidering he hasn't seen a picture of you in 5 months, it's not too bad01:32
@rizenwow that looks exactly like me01:34
+perlDreamerI'll tell Tim.01:35
@rizeni'm going to have to put that up as my picture on my bio page01:35
@rizen=)01:35
@rizenunfortunately my pr folks would never let me get away way that01:35
+perlDreamerjust flash them that winning smile and they'll concede01:36
+perlDreamerso far, we have 232 tests for Shop modules01:36
nubatheres a list of imagebins at the wiki irc page01:36
@rizenwow01:36
@rizen232, i must have only written about 3 of those01:36
+perlDreamernot01:37
+perlDreamermore like 4001:39
@rizenwhy do things never work exactly how i plan them to work01:40
+perlDreamerit's a governmental conspiracy01:41
+perlDreamerWhen you made Campaign Secrets, it demonstrated an unusual insight into contemporary american politics01:41
@rizenhehe01:42
+perlDreamerwhich means that you could reveal things they hide from the public01:42
+perlDreamerthat's why they hired me to infiltrate your world and disrupt it01:42
+perlDreamerthink now of all the time you spend on IRC, and testing01:42
+perlDreameryou think all those leaks are accidents?01:43
+perlDreamernow you're so busy you can't use your knowledge to interfere with their control of american culture01:43
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI01:45
@rizenyou make very good points01:49
@rizenbut i think that you might also be a government conspiracy...cuz all this time i talk to you i could be spending time doing something to improve webgui01:49
CIA-52WebGUI: colin * r5726 /branch/WebGUI_Commerce/ (4 files in 2 dirs): Add coverage tests, convert croaks to exceptions.01:50
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui01:52
@rizenpd, do you remember the empty list problem01:57
@rizenfor hashes01:57
+perlDreameryes01:58
@rizenits back01:58
@rizenor rather i found another place where it occurs01:58
+perlDreamerwhere?01:58
@rizenforms01:58
@rizen$session->form->get("somefield");01:58
@rizenif you put that directly into a hash, and the parameter doesn't exist01:59
@rizenyou'll get the problem01:59
+perlDreamerthat's because of context, and wantarray, I think01:59
+perlDreamer=> is list context01:59
@rizenah01:59
@rizenwell shit02:00
+perlDreamerso if it isn't there, it returns ()02:00
@apeironer? => is a fancy comma that quotes its lefthand side. :)02:00
@rizenso basically there's no way to fix it for forms then?02:01
+perlDreamernot without changing the API for the form interface02:02
+perlDreameror, you can't use listy hash assignments and have to do it 1 by 102:02
+perlDreamerapeiron: exactly, but it's list context, not scalar context02:03
@rizenpreaction, or anyone here that knows css02:14
@rizenhow do i make a <form> that doesn't add a break after it02:14
@rizeni thought it was display:inline but apparently not02:14
-!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui02:14
-!- mode/#webgui [+v Radix-wrk] by ChanServ02:14
@preactionit shouldn't be the form02:14
@preactionor is it just in IE6?02:14
@rizenforms automatically add 2 carriage returns after them in all browsers02:15
@preactionform doesn't really have any display itself, but things inside it can02:15
@rizeni'm telling you that it does02:15
@preactionperhaps * { margin: 0; padding: 0; }02:15
@rizenok02:15
@preactionor form { margin: 0; padding: 0; } to restrict it to just forms02:15
@rizenwait, does the * have any significance?02:15
@preactionyes02:15
@preaction* means all elements02:15
@rizenwhat is that?02:15
@rizenoh i don't want it on all02:15
@preactionso form { ... } instead02:16
@rizenthat didn't do it either02:16
@rizenand actually...it can't be that come to think of it02:16
@rizenif you do <form>somecrap</form>02:17
@rizenand then do it again02:17
@rizenyou'll see that they sit on top of each other02:17
@rizennot side by side02:17
@rizenso this has to have something with being displayed block level02:17
@preactionyou want them side-by-side?02:17
@preactionfloat: left; might work02:17
@preactionbut it could have unintended side-effects02:17
@rizenbut i don't want them to float02:17
@rizenexactly02:18
@rizeni just want them to work like <span> tags02:18
@rizenrather than <div> tags02:18
@preactiondo you have a URL or a paste I can see the contents?02:18
@rizenand i thought that was what display:inline vs display:block was all about02:18
@rizeni just did: <form>somecrap</form><form>some crap</form>02:18
@rizeneach of these forms will have only one element in it. a button02:20
@rizenso i want the buttons to sit side by side02:20
@rizengranted i could do it with some javascript and use the same form02:20
@rizenbut i don't want to02:20
@rizenso there has to be a way to do this02:20
@rizendamn it02:21
@rizendisplay:inline does work if i put it right into the form02:21
@rizenit just doesn't work when i do: div.addressBlock form { display: inline; }02:21
@rizenin a style sheet02:22
@preactionis there something more specific that's overriding it? perhaps something like #id form { ... }02:22
@rizennope, no id on the form02:23
@preactionfirebug would show you all the selectors that affect the element, and which ones are actually working02:23
@rizenhttp://webgui.pastebin.com/d7e3fbf1402:23
@rizenif you want to see all the code02:23
CIA-52WebGUI: colin * r5727 /branch/WebGUI_Commerce/t/Shop/AddressBook.t: coverage tests for AddressBook update02:25
@rizengot it02:25
@rizenturns out that WebGUI::Form::formHeader puts a div inside the <form> so even though the form was inline the div wasn't02:26
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit [Remote closed the connection]02:26
@rizenWAHOOOOOOOO!!!!!!02:32
@rizenthe address book is working02:32
@preactionwahooooo!!!1102:33
@preactionseriously, you guys are going to have this in 7.5? does that make 7.5 the new 8.0?02:33
@preactionwhat is 7.5 NOT going to have? it's gonna be huge02:33
@rizenwe've never had a 6 month dev cycle before02:33
@preactiontrue02:34
* apeiron gets to work on wG::KitchenSink.02:34
@rizenthat makes each release that much cooler02:34
@rizenyes, this will be done in 7.502:34
@rizenand thingy should be done in a couple weeks too02:34
+perlDreamerI hate art02:34
@rizenwhich reminds me, someone needs to write a mailform asset02:34
@rizenwhy?02:35
+perlDreamerbecause there are no rules at all for art02:35
@rizentrue02:35
+perlDreamermuch of it is impression and connotation, and semiotics02:35
@preactionthere are guidelines02:35
@rizenpd you have to check out the new address book thing02:35
@rizenit works so damn well it's ridiculous02:35
+perlDreamersvn update?02:35
@rizenyup02:36
+perlDreamerhow do I access it?02:39
+perlDreameris there a button to it, or just by op?02:39
@rizen?shop=cart02:41
@rizenthen click on the shipping address02:41
@rizenyou'll need to reset dev02:43
@rizencuz i added templates and stuff02:43
+perlDreamerI noticed the upgrade change, and did02:43
+perlDreamerIt looks good!02:43
@rizeni haven't tried adding some tax info to the tax table and see if it calculates and displays correctly yet02:44
+perlDreamermaybe I should start working on the Tax UI02:45
+perlDreamerat least import02:45
+perlDreameroh, I was going to ask you.02:45
+perlDreamerThe old commerce tax form used ajax.  Do you want the new one to?02:45
@rizenjust did, and it works02:46
@rizensure02:46
@rizenmake it as cool as you like02:46
@rizenin fact, i was thinking maybe we should use yui's coolio data table thing02:46
@rizenhttp://developer.yahoo.com/yui/datatable/02:47
CIA-52WebGUI: jt * r5728 /branch/WebGUI_Commerce/ (7 files in 5 dirs): 02:47
CIA-52WebGUI: address book works02:47
CIA-52WebGUI: yesno uses bool now instead of int02:47
+perlDreamereek, it's huge!02:48
-!- perlDreamer is now known as jsPhobic02:48
* jsPhobic will think about it while showering02:48
@rizenone thing i still have to do is if you select United States as your country, then you need to have a drop down list of states rather than typing it in 02:49
@rizenotherwise it will never match the tax algorithm02:49
-!- jsPhobic [n=colink@pool-71-117-235-252.ptldor.fios.verizon.net] has quit [Read error: 113 (No route to host)]03:06
-!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui03:07
-!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has left #webgui []03:08
-!- perlDreamer [n=colink@pool-71-117-235-252.ptldor.fios.verizon.net] has joined #webgui03:12
-!- mode/#webgui [+v perlDreamer] by ChanServ03:12
+perlDreamerstupid suspend mode03:12
+perlDreamerwill that dropdown extend to all countries?03:13
+perlDreamerSounds like a lot of data.03:13
+perlDreamerbut it makes the Tax a lot easier03:15
+perlDreamersince you don't have to worry about matching Wisconsin, WI, Wi, wi and so on03:15
-!- perlDreamer is now known as perlDinner03:16
@rizeni don't know how it will work03:18
@rizeni guess maybe we need a "State" manager or something03:18
@rizencuz where else would we get all the states and provinces in all the countries of the world?03:19
@rizeneither that or maybe in the tax code we should allow for Wisconsin|WI and then make it a case insensitive match03:19
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui03:35
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit [Client Quit]03:39
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Connection timed out]04:19
+Radix-wrkAs long as you don't assume WA is always Washington (it's also Western Australia) - I'm happy.04:32
@rizenradix, it's ok04:38
@rizenwe already have something in there that says if you're from oz charge 200% tax04:38
+Radix-wrkawesome04:40
+Radix-wrklong as I collect that tax, I'm happy with that ;)04:40
@rizenactually the more i think about it the more i realize that we're going to have to rework tax to be hierarchical04:40
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit []04:56
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui05:13
-!- mode/#webgui [+o preaction] by ChanServ05:13
perlmonkey2anyone awake?05:51
+perlDinneryup05:51
perlmonkey2The Survey currently uses a Survey_id as the foreign key to tie all the tables together.  Any reason I couldn't just use the Survey's assetId?05:52
+perlDinnerI think rizen answered that question earlier05:53
perlmonkey2The Survey_id is a newly generated id, but it is also a unique identifier of the survey.  So the assetId should serve the same puprose.05:53
perlmonkey2yeah05:53
+perlDinnerSomething along the lines of it not being one of his best ideas05:53
+perlDinnerso use the AssetId05:53
+perlDinnerbtw, payback time is coming05:53
perlmonkey2this is what I get for sitting down to hammer out some code right before I pass out from lack of sleep.05:53
-!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: perlbot, CIA-52, nuba, @apeiron05:54
+perlDinnerrizen wants me to use JS for the tax management screens, so _you_ will be the master :)05:54
-!- Netsplit over, joins: @apeiron, CIA-52, perlbot, nuba05:54
perlmonkey2hah05:54
perlmonkey2I doubt you'll need my help.  JS doesn't really offer much challenge to a good perl dev, and the YUI is super easy and well documented.  You'll be beyond me in hours.05:55
perlmonkey2But it sure is fun to use.05:55
+perlDinnerwell, you see05:56
+perlDinnerI've tried before, and it's been very, very bad05:56
perlmonkey2No worries, I feel like I've taken a lot more than I've given here, so I'm eager to help out in any way I can.05:58
@preactionJS requires a different way of thinking05:58
@preactionit's all event-driven, user interface jibjag05:58
+perlDinnerthat's part of the problem05:58
+perlDinnerI think Unix/perly05:58
@preactionhard to get a clear, a-to-z, start-to-finish in it05:59
perlmonkey2The biggest hurdle for me is the hard line between data objects and dom objects.  You work with them in entirely different way; the dom being this *thing* that gets in the way of what you're trying to do. You try to tie data to the dom, but it just gets ugly in a hurry.  06:00
@preactionyeah. i usually make at least three methods just to manipulate the DOM portions I need06:01
@preactionthe YUI DataTable is probably useful and would save me time most likely06:02
perlmonkey2Yeah the datatable is just down righ tsexy.06:11
perlmonkey2Powerful stuff there.06:11
-!- perlDinner is now known as screwedDreamer06:12
perlmonkey2screwedDreamer: You feeling worse I guess?06:13
+screwedDreamerbetween the virus and the JS, yeah06:14
+screwedDreamerI'm probably just psyching myself out06:14
@apeironCan I throw in a side dish of "I hate JS"?06:14
@apeiron(not just to fit in, I promise)06:15
+screwedDreamerIt's a potluck, bring what you will06:15
@apeironI have a side of "I hate JS" and some really well-done scrapple.06:15
+screwedDreamerthere was a time when there was a perl plugin for Netscape06:15
perlmonkey2Parrot holds that promise for the future.06:15
@apeironAnd now Netscape is EOL.06:15
+screwedDreameras long as IE holds out for JS, I don't think parrot has a chance on the browser06:16
@apeironI thought pugs or parrot was targetting JS as an execution backend.06:16
+screwedDreamersure06:16
+screwedDreamerbut how would you get IE to buy into distributing the parrot plugin by default?06:16
+screwedDreameror Opera?06:16
@apeironWhich is... frankly scary, although altogether not surprising coming from the folks working on either project.06:17
@apeironah, good point.06:17
@apeironYou could do what every Flash and Java application on the entire intarwebs does, and use JS to determine whether they have the feature and send them to go get it if they don't.06:17
@apeironIt's kind of like how Flash works in comparison to IE releases. In between every IE release there's several Flash releases. I think I just upgraded my IE in my WinXP VM (by the way, running my Windows Boot Camp installation in VMWare is absolutely amazingly cool) and it came with Flash 6.06:19
@apeironMy Mac has Flash 9.06:19
@apeironUpgraded the IE to 7, that is.06:20
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui06:21
-!- mode/#webgui [+o rizen] by ChanServ06:21
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)]06:22
perlmonkey2Is there a method I can overload that is called after the autogenerate form is processed?  I wan to initialize a collateral table upon asset creation.06:23
+screwedDreamerperlmonkey2: that would be editSave06:24
perlmonkey2screwedDreamer: Even sick, you're like a wg ninja06:24
+screwedDreamerrizen: can you please expand on your earlier thought about tax and hierarchy?06:24
@rizensure, but first why are you now screwedDreamer?06:24
+screwedDreamersick, and have to learn JS :)06:25
@rizenhehe06:25
@rizenyou don't have to06:25
+screwedDreamerjust whinging06:25
@rizenit was just a suggestion to make it super cool06:25
perlmonkey2whinging is good for the soul.06:25
+screwedDreamerokay, back to tax hierarchy06:26
@rizenmy thought is that tax is going to have to be a match like this: country + state + city or country + code or country + city06:26
@rizenit can't be just city or state or postal code06:26
@rizenit needs to be further categorized by country06:26
perlmonkey2hmm, so I overload editSave make the  $self->SUPER::editSave(@_); call, now will $self->getId() be useful/06:26
@rizenso i recommend that we change the tax table to look like this:06:26
@rizentaxId, country, state, city, code, taxRate06:27
@rizenand then match all that are filled in on a given row06:27
@rizenso if only code is filled in, then we match just on code...but that means it will only work for the country where the postal codes are filled in for06:28
@rizenbecause postal codes might be reused around the world06:28
@rizenbut more likely it will match against06:28
@rizenUSA, WI, Madison06:28
@rizenor USA, 5371506:29
+screwedDreamerso how does that work with multiple sources of taxes06:29
+screwedDreamerWI => 5%06:29
@rizenin addition, i think we need to do what i said earlier 06:29
+screwedDreamerMadison 0.5%06:29
@rizenWisconsin|WI06:29
@rizenthey'll instead need to be filled in for each thing you want to match all tallied06:29
@rizenUSA, WI, Madison => 5.5%06:30
@rizenso it won't work the way i originally wanted06:30
+screwedDreamermanually summed versus automatically summed06:30
@rizenbut this new way is far more workable worldwide06:30
@rizenright06:30
+screwedDreamercould we put in wildcards into the don't care fields?06:30
@rizenbecause as Radix pointed out, both US and Oz have states called WA06:30
+screwedDreamerUSA, Wi => 5%06:30
+screwedDreamerUSA, WI, Madison => 0.506:31
@rizenblank is automatically wildcard06:31
@rizeni suppose we could do that06:31
@rizenthat makes sense06:31
@rizenapply all that match06:31
+screwedDreamerI'm glad I abstracted out the getTaxRates method now :)06:31
@rizenso i guess that will still work the same way then06:31
@rizenbut it's just a more restrictive match cuz it possibly combines country, state, city, and code06:32
@rizenplus it enables city, which is something i really wanted to include before but couldn't make it work06:32
@rizensince you could have a springfield in every state06:32
+screwedDreamerokay, so we rework for flat vs tall06:32
+screwedDreamergive me a few days06:33
@rizentake your time, tomorrow i'm going to be working on integrating shipping and then i'm moving on to admin screens06:33
+screwedDreamerokay, time to work on my own taxes for a bit06:33
+screwedDreamercatch y'all tomorrow06:33
@rizenlater06:33
-!- screwedDreamer [n=colink@pool-71-117-235-252.ptldor.fios.verizon.net] has quit ["Leaving."]06:34
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit []06:34
-!- ryuu_ro [n=rory@194.171.50.69] has joined #webgui08:45
-!- diakopter [n=diakopte@pdpc/supporter/active/diakopter] has quit [Read error: 110 (Connection timed out)]08:46
-!- Radix-wrk [n=Jesse@203.161.68.67] has quit ["Leaving"]09:44
-!- patspam [i=chatzill@ppp59-167-128-63.lns3.mel6.internode.on.net] has joined #webgui09:45
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui09:47
-!- mode/#webgui [+o preaction] by ChanServ09:47
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui09:53
-!- jdan [n=jdan@195.116.30.251] has joined #webgui10:10
-!- BartJol [n=plainstu@194.171.50.123] has joined #webgui10:57
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)]12:28
-!- patspam [i=chatzill@ppp59-167-128-63.lns3.mel6.internode.on.net] has quit ["ChatZilla 0.9.81 [Firefox 2.0.0.12/2008020121]"]13:50
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has quit [Read error: 110 (Connection timed out)]14:04
-!- estiven [n=estiven@static-adsl201-232-86-73.epm.net.co] has left #webgui []14:06
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI14:07
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has quit [Client Quit]14:07
-!- jdan [n=jdan@195.116.30.251] has quit ["Leaving"]15:06
-!- estiven [n=estiven@static-adsl201-232-86-73.epm.net.co] has joined #webgui15:11
-!- knowmad [n=william@97.66.185.250] has joined #webgui15:53
knowmadhello15:54
ckotilgood morning15:54
knowmadmorning.15:55
knowmadare you doing bandwidth monitoring on any of your WRE servers?15:55
ckotilI am not.16:17
ckotilI do run ganglia on all my machines, including the web server. So i can get a pretty good idea of what's going on, including load, bandwidth, disk i/o, memory swapped, etc..16:18
knowmadckotil: thanks. i'll check out ganglia. never heard of it before16:20
ckotilits a nice app to have for spotting problematic servers.16:20
ckotilstick around though, there may be a better solution to monitor wre bandwidth.16:20
knowmadare you alluding to something?16:21
ckotilyes, that it is still early and most people arent awake or watching the channel yet.16:21
+Radix_ganglia.. never heard of it either16:21
+Radix_I use munin16:21
knowmadlooks like a nice app16:21
knowmadcan munin do bandwidth monitoring?16:22
ckotilmunin creates RRD graphs as well. nice.16:22
knowmadi think i'll throw this conversation into a message for Install 16:22
knowmadforum to catch anyone who may not be online16:22
+Radix_apt-get install munin :)16:23
+Radix_ganglia sounds a lot more comprehensive.. I dunno16:23
+Radix_http://neotokyo.juga.org:82/munin/juga.org/neotokyo.juga.org.html16:24
+Radix_that work for you guys?16:24
ckotilwow, that looks more comprehensive than ganglia16:24
+Radix_nice and simple to install too which is good :)16:25
ckotilfor sure.16:26
+Radix_well on debian/ubuntu anyway :)16:26
ckotilmunin doesnt seem to be in red hats repository , but it is in dag wieers RPM repository.16:26
knowmadman, that's a lot of info16:26
knowmadsimple to install is key for me16:26
+Radix_that's my home server.. so doesn't do too much.. but yeah :)16:27
knowmadi'll need to break down my web traffic by domain16:27
knowmadis that possible?16:27
+Radix_I forget that it's there most of the time :)16:27
+Radix_Hmm.. no idea I'm afraid16:28
ckotiloh, you know what you could use for that, is awstat.16:28
ckotilits not real time, but it estimates bandwidth from teh apache logs16:28
ckotiland you would be able to separate it out by domain16:28
knowmadi use webmin/virtualmin on my non-webgui server which supports alerts if a domain goes over its allotted bandwidth16:28
+Radix_awstat will certainly do that I guess.. as will any web log analyser16:28
knowmadyeah, i have looked at it but it doesn't do alerting like webmin/virtualmin16:29
ckotilyeah.16:29
knowmadi think virtualmin is just reading the apache logs to calculate bandwidth which helps with CPU usage16:29
knowmadthere is a bandwidth module in webmin but they warn against using it since it uses iptables and has a performance impact16:29
+Radix_ipacct16:30
knowmadi guess both ganglia and munin would have that impact as well16:30
knowmadwhat ipacct?16:30
ckotilits 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 like16:30
knowmadok16:31
+Radix_http://martybugs.net/linux/ipac.cgi16:31
+Radix_that's the one I was thinking of.. not ipacct16:31
+Radix_friend of mine runs that page16:32
knowmadbut can it look into the packets to see what domain they are for?16:32
+Radix_different ip's for each domain?16:32
ckotilyou could put each domain on a separate interface, or virt-interface16:32
knowmadnope shared16:32
knowmadtrue16:32
knowmadok, so lots of options. thanks for the input16:33
+Radix_hard part is getting the data from somewhere then16:33
knowmadwhat do you mean?16:33
+Radix_well you need to be able to distinguish what traffic belongs to what domain somehow16:34
knowmadyes16:34
+Radix_unless you have separate interfaces (ips) or virtual interfaces or something setup it becomes quite hard16:34
knowmadapache logs16:34
+Radix_yup, so a web analyser is your best and only bet16:34
ckotilthere could be an apache module that separates traffic by virtual host.16:35
+Radix_webalizer, awstats - one of them should do what you want16:35
+Radix_ckotil: you can easily have differnt logs for each domain16:35
ckotilright.16:35
ckotilbut i was thinking more real time than that16:35
+Radix_can't use any ipaccounting schemes or anything tho if you're relying on apache logs16:35
knowmadi just need an alert if a client is heading over16:36
knowmadwe're not to the point where realtime is all that important16:36
+Radix_fair enough16:36
knowmadbut those suggestions will be useful when that day comes16:36
ckotilsplunk might have something to offer, but then you are getting into a mess of running more software16:36
knowmadyeah, i'd like to avoid lots more softwares16:36
ckotilno doubt16:37
+Radix_there's some plugins for munin that track apache processes/accesses and volume16:38
+Radix_http://munin.projects.linpro.no/wiki/PluginCat16:38
+Radix_no idea how they work tho16:38
ckotilah nice16:39
+Radix_Actually.. this is a better site - http://muninexchange.projects.linpro.no/16:40
-!- SDuensin [n=Scott@252.sub-75-206-64.myvzw.com] has joined #WebGUI16:41
SDuensinMorning.16:51
ckotilnice Radix_ 16:55
ckotilmorning sD16:55
ckotilMy group is already considering reevaluating ganglia and looking at alternatives, like munin. ;)17:02
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui17:28
-!- mode/#webgui [+o rizen] by ChanServ17:28
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit [Client Quit]17:28
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui17:29
-!- mode/#webgui [+o rizen] by ChanServ17:30
-!- ryuu_ro [n=rory@194.171.50.69] has quit []17:30
GooeyOfSteelWiki: SQLForm - Edited on 3/6/2008 9:21 am by dionak  http://www.webgui.org/community-wiki/sqlform17:32
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has left #webgui []17:58
GooeyOfSteelWiki: SQLForm - Edited on 3/6/2008 10:01 am by dionak  http://www.webgui.org/community-wiki/sqlform18:12
perlmonkey2From a session, how would I get the home url of the site?18:21
perlmonkey2A 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:22
@rizen$session->url->gateway();18:25
perlmonkey2getSiteURL....hmm...I should stop asking these questions types, as exploring wg is fun.18:25
perlmonkey2oh.18:25
perlmonkey2gateway is better/18:25
perlmonkey2?18:25
perlmonkey2$session->Url->getSiteURL() ?18:26
@rizengetSiteURL gives you a fully qualified url18:26
@rizenwhich i don't think is what  you want in this case18:26
@rizenyou just want to go to the home page18:26
@rizenboth will achieve the same result, but getSiteURL could have side effects18:26
perlmonkey2so I'd called gateway with no params....18:26
perlmonkey2side effects?18:27
@rizenfor example, lets say you have multiple addresses set up for the site survey.example.com and www.example.com18:27
@rizenthey've been taking the survey on www.example.com18:27
@rizenbut if survey.example.com is what is returned from getSiteURL then they'll lose their cookie and session18:27
perlmonkey2aha18:27
perlmonkey2okay.....gateway it is :)18:28
@rizengetSiteURL is usually only used for generating emails 18:28
perlmonkey2good to know18:28
@rizenbut i do have another question18:28
@rizenwhy 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
perlmonkey2The people at work want to be able to send them to another site when the survey ends.18:29
perlmonkey2or to another location.18:29
perlmonkey2So I figure default it to WG/home and then let the user change to whatever.18:30
perlmonkey2rizen: 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:36
@rizeni don't care, just seems odd to force the user for something that is irrelevant18:42
@rizennot to mention arbitrary18:42
perlmonkey2How 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:44
-!- jdferm [n=jdferm@sangha.cyberius.net] has quit ["#webgui"]18:47
@rizenseems reasonable18:47
-!- BartJol [n=plainstu@194.171.50.123] has left #webgui []19:15
CIA-52WebGUI: jt * r5729 /branch/WebGUI_Commerce/ (6 files in 2 dirs): shipping system integrated with cart, but need admin interface to test if it works19:30
-!- dionak [n=diona@97.66.185.250] has joined #webgui19:48
-!- perlDreamer [n=colink@pool-71-117-235-252.ptldor.fios.verizon.net] has joined #webgui19:55
-!- mode/#webgui [+v perlDreamer] by ChanServ19:55
+perlDreamerrizen: (hack, hack, cough, sniffle) quit breaking my tests19:56
CIA-52WebGUI: jt * r5730 /translations/French/ (French/WebGUI.pm notes.txt): update_from_translation_server19:57
CIA-52WebGUI: colin * r5731 /branch/WebGUI_Commerce/ (lib/WebGUI/Shop/Ship.pm t/Shop/Ship.t): fix a failing Shop::Ship test19:57
@apeironhttp://code.nytimes.com/projects/dbslayer hmmm...19:58
+perlDreamerBSD chomping at the bit: http://bsd.slashdot.org/bsd/08/03/06/1313218.shtml19:58
@apeironeep, 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:58
+perlDreamerapologies19:59
+perlDreamerhttp://people.freebsd.org/~kris/scaling/7.0%20Preview.pdf19:59
+perlDreamerslashdot doesn't render well on BDS's browser?19:59
@apeironNo, it has a tendency to get warped through the Slashdot "BSD is dead" lens.20:01
@apeironheh heh20:01
+perlDreamerdead, but fast :)20:02
@apeiron"On this benchmark PostgreSQL is 35-45% faster than MySQL at all loads"20:02
* apeiron coughs.20:02
+perlDreamerit would be funny, but imagine in 20 years if it was determined that Slashdot was originally responsible for Linux's popularity boost over BSD20:02
@apeironI'm certain it has played more than a small role.20:03
@apeironNeat. "Improved Support for legacy-free hardware (Macbook Pro)"20:06
+perlDreamerOn the science channel, they're talking about building a tunnel _through_ the Alps in Europe20:10
+perlDreamercrazy20:10
@apeironThrough as opposed to underneath?20:13
perlmonkey2dbslayer looks pretty cool....Although I'm biased towards anything that uses YAML/JSON+HTTP as a middleware.20:14
@apeironI mentioned it specifically because it's JSON-friendly and because of the status JSON has in the WebGUI stack.20:14
+perlDreamerwell, through a mountain near the base, so most likely underneath is more accurate20:15
@apeironStill, that's pretty serious business.20:16
+perlDreameryeah, it's 35 miles long20:17
@rizendbslayer is interesting, but methinks that it would have a significant performance penalty20:21
@rizenjust the serialization back and forth between json is huge, but more importantly http is heavier and slower than native mysql connections20:22
@apeironhmm.20:25
@apeironI'm thinking that if it's good enough for the NY Times, it may be good enough for us.20:25
@rizenfreebsd 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
@apeironThey're working on that.20:25
@rizenit's install process now is as bad as webgui was back in the 5.x days20:25
@apeiron(not that I mind the current install process)20:25
@rizengood enough for the new york times is different than good enough for us20:26
@apeironSome people *like* the bare minimal, no frills method.20:26
@apeironI personally don't want to start X to install an OS.20:26
@rizenmost webgui servers are single server environement20:26
@rizenapeiron: and therein lies the problem with bsd. they write it for themselves (ie you) and wonder why the masses don't come to it20:27
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui20:27
-!- mode/#webgui [+o preaction] by ChanServ20:27
@apeironhttp://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 #webgui20:27
-!- mode/#webgui [+v MrHairgrease] by ChanServ20:28
@rizenthat's still a decade behind ubuntu/redhat/suse20:29
@rizennot that it's not a step in the right direction20:29
@rizenbut all of those can be installed without X as well, but they have the X install for the masses20:29
@apeironshrug. I can't disagree with the difference in philosophy point.20:29
-!- Sunmaster_14 [n=Sunmaste@h19-afsc.ded.indra.com] has joined #webgui20:29
@rizeni'm also not saying it's bad to do build it for themselves and the people like them20:33
* apeiron nods.20:33
@rizeni used to do that with webgui too20:33
@rizenbut if you want marketshare, you have to deal with what the market wants, and prove you're better than the competition20:34
@rizenhence the wre20:34
@apeironhttp://docs.pcbsd.org/guide/chap2.3.html looks pretty enticing.20:34
@apeironFor what you're expecting, anyway.20:35
@rizenoooh. very nice20:35
@apeironYeah. I just don't know the licensing on it.20:35
+perlDreamerNow that's something my mom might be able to use20:35
perlmonkey2http://pastebin.com/d7875546920:45
perlmonkey2Anyone care to tell me why this overload isn't being called?20:45
+perlDreamerbecause I lied to you yesterday20:46
+perlDreamerit needs to be called www_editSave20:46
perlmonkey2the method and the super call?20:47
+perlDreameryes20:47
perlmonkey2groovy, thanks again :)20:47
-!- Sunmaster_14 [n=Sunmaste@h19-afsc.ded.indra.com] has left #webgui []20:48
+perlDreamernp20:48
-!- Sunmaster_14 [n=Sunmaste@h19-afsc.ded.indra.com] has joined #webgui20:48
+perlDreamerIf I was more helpful, I'd get you confused for 2 days :(20:48
perlmonkey2You are saving me tons of time from digging in wg internals.....20:49
perlmonkey2hmm, 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:51
+perlDreamerso you bring up the edit form, hit the save button and no www_editSave gets called?20:52
+perlDreamerdo you have a func=editSave in your edit form?20:52
perlmonkey2it is autogenerated20:52
+perlDreamercheck the source20:52
perlmonkey2k20:52
perlmonkey2<input type="hidden" name="func" value="editSave"  />20:52
+perlDreameryup, that looks right20:53
+perlDreamerdid you restart the server?20:53
+perlDreamerafter renaming the method?20:53
perlmonkey2many many times20:54
+perlDreameris the master www_editSave in Asset.pm getting called instead?20:54
+perlDreamerand, is there POD docs for your overridden www_editSave?20:54
perlmonkey2http://pastebin.com/d33f0aadf is the only error in webgui.log, but that seems to be spectre related20:55
perlmonkey2no, there are no pod docs for it.20:55
perlmonkey2I guess I can add a warn in the master www_editSave and see if it is called.20:55
+perlDreamerone of my favorite bugs is to forget to put =cut after my POD docs and then wonder why my code doesn't work20:56
perlmonkey2yep, the super is being called20:56
perlmonkey2hah20:56
perlmonkey2hopefully highlighting woudl catch that for me.20:57
perlmonkey2but it isn't being called from my method, it is being called instead of my method.20:57
+perlDreamerdo you have logging turned on to a low level?20:57
+perlDreamerso that warns get logged?20:57
perlmonkey2yes20:58
perlmonkey2the warn for the super was logged20:58
+perlDreamermay I have a new paste, please, with 10 lines of context on either side?20:58
perlmonkey2and I changed the method to error log in case20:58
perlmonkey2sure20:58
perlmonkey2http://pastebin.com/d7152c33721:00
+perlDreamerokay, next, please paste the source for the edit form21:01
perlmonkey2the edit form is autogenerated21:01
+perlDreameryes, but it does have hiccups21:02
perlmonkey2the editSurvey form?21:02
perlmonkey2You want this: surveyEditTemplateId ?21:02
perlmonkey2that is never used during wobject creation21:02
perlmonkey2oh, you mean source HTML21:03
+perlDreamerhang on, I have another idea21:03
+perlDreamerLooking at the CS, it calls www_editSave _after_ doing child level work.21:04
+perlDreamertry moving the call to SUPER to the end of your sub21:04
@preactionyou should put that code in processPropertiesFromFormPost anyway21:04
+perlDreamerreally? why?21:04
perlmonkey2All 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:05
perlmonkey2perlDreamer: if the super call was messing things up, surely the call to the logger would still be executred?21:06
perlmonkey2perlDreamer: nope, moving the super call to the last method line didn't change things.21:07
* perlmonkey2 wonders where everyone went.21:08
* perlDreamer was reading perlbuzz21:10
+perlDreamerpreaction's suggestion about processPropertiesFromFormPost is good21:11
+perlDreamerhe's more familiar with the UI API than I am21:11
perlmonkey2oh, didn't realize that was a final solution...okay, thanks21:11
+perlDreamerI don't doubt him at all, just don't understand why it's better than the editSave21:14
@preactionit's just been standard practice21:14
+perlDreamerso when do you use one over the other?21:14
@preactiononly reason to overload www_editSave is to output something besides the standard response to saving an asset21:14
perlmonkey2wow, my main view template spontaneously disappeared from the DB.21:20
perlmonkey2I was using PBtmpl0000000000000000121:20
perlmonkey2er 221:20
perlmonkey2the default old Survey template.21:20
perlmonkey2and it magically disappeared from the db.21:20
perlmonkey2No, that isn't what happened.  about 20 lines of my file merged with some other file.  I wonder if svn update did this?21:25
+perlDreamerI don't understand what you mean.  Which file is yours?21:26
+perlDreamerif it was svn, you can check the version history21:26
perlmonkey2I 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
perlmonkey2And 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:28
perlmonkey2I 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
perlmonkey2I have gremlins doing everything they can to make sure I don't get this done.21:29
@preactionif you ever change the database raw, you must delete the cache21:29
+perlDreamerlast change to survey.pm was 4 weeks ago21:29
perlmonkey2I restarted?21:29
@preactionstill keeps the webgui cache21:29
@preactionrm -rf /tmp/WebGUICache21:29
perlmonkey2preaction: and I can't delete the cache from the gui, it is unresponsive.21:29
perlmonkey2okay21:30
+perlDreamerdid the resetdev script ever get checked in?21:30
* perlDreamer looks under tools21:30
@rizenpm2 you can't override www_editSave21:30
@rizenuse processPropertiesFromFormPost instead21:30
+perlDreamerthe CS overrides www_editSave21:31
@rizenyeah, for threads21:31
@rizennot for itself21:31
perlmonkey2rizen: Okay, thanks.  That is what preaction advised also (and what is working now before my install became completely hosed).21:31
perlmonkey2remove 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:33
+perlDreameralso, the wobject table21:34
+perlDreamerasset, assetData, wobject, survey*21:34
+perlDreamerprobably easier to just drop the db and run the upgrade script again21:34
perlmonkey2perlDreamer: But then I'd lose the new table defs21:36
perlmonkey2which I guess I should export so that I can rerun the upgrade script21:37
@rizenpm2: so export them before you drop21:37
@rizenperlDreamer: we need to have a small chat21:37
@rizenwhat do you think about the admin tools?21:37
@rizendo you think they should be on one page like i have in my design doc21:37
@rizenor do you think we should separate them out21:37
+perlDreameradmin tools for c2?21:38
@rizenyeah21:38
+perlDreamerI'll go review them.  be back in 521:38
@rizencreating shippers, payers, tax, setting templates, etc21:39
-!- wgGuest77 [n=wgGuest7@97.66.185.250] has joined #webgui21:41
-!- wgGuest77 is now known as knowmads21:41
knowmadshey colin, got another Windoze/JSON issue21:41
knowmadsthis time with Spectre21:41
+perlDreamerfor only a few payments and shippers, 1 screen works well21:41
knowmadsi'm going to paste the error msg to pastebin; just a sec...21:41
+perlDreamerbut if there are lots, it won't scale cleanly21:41
+perlDreamertaxes needs its own screen21:41
+perlDreamersince there will be tons of data to manage21:42
+perlDreamereven with the js data form21:42
knowmadshttp://webgui.pastebin.org/2266721:42
knowmadsi see you're heavy into commerce21:42
@rizenok then21:42
@rizeni'll keep them separate21:43
@rizeni'm starting with settings and shipping21:43
+perlDreamerit wasn't easy working an ajax interface into the tabbed commerce screen21:43
knowmadsif you could spare a minute when you're free to look at that output, we'd appreciate it21:43
@rizenyeah, we're not going to use tabs21:43
+perlDreamerany thoughts on taxes and relationships between city/code?21:43
+perlDreamerknowmads: I won't forget you :)21:43
@rizeni posted a response to the list21:43
knowmadsThanks!21:43
@rizenbasically country is required21:44
+perlDreamerit might take me 3 weeks to add your script, but I won't forget21:44
@rizenthe others aren't21:44
+perlDreamerbut if I have a city, that requires a state for uniqueness?21:44
@rizenread my post...you can't force it through the ui21:44
@rizenthe user just has to be smart enough21:45
@rizennot the customer, but the person setting up taxes21:45
+perlDreamerI understand now21:45
+perlDreamercommerce is hard21:45
@rizenyes it is21:45
@rizenit would be easier if we were only dealing with the US21:45
@rizenbut throwing in all the economies of the world makes it very complex21:45
+perlDreameryeah, but then we'd piss off nuba, Radix*, koen, MrHairgrease, bartJol, estiven, lisette, xdanger, dapperdodo and bunches of other people21:46
@rizenhehe yup21:46
@rizenwhich is why we have to keep it complex21:46
+perlDreamerknowmads: this is with windows connecting to WRE on Mac OS X?21:48
knowmadsno, it's windows connecting to localhost21:48
+perlDreamerwhere is that "Mac OS X" string coming from then?21:49
knowmadsit looks like it's coming from JSON21:50
knowmadsor rather Config::JSON21:50
+perlDreameryeah, it's from the new method.21:50
+perlDreamercheck your config files for corruption21:50
knowmadsok21:51
+perlDreamerand 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:52
knowmadswill file it but the config file looks clean and we can't find any trace of that string "Mac OS X" which is weird21:54
+perlDreamerspectre.conf is clean?21:55
knowmadsyes, it was21:56
knowmadsfound the problem21:56
@preactionwhy 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
knowmadsthere was a .conf file in our etc dir called ._nci.conf which was full of binary stuff and the Mac OS X string21:57
knowmadsapparently testing spectre was causing all conf files to be loaded21:57
@preactiondid OSX add that itself?21:57
knowmadswe don't know where it came from21:57
knowmadswe're working off a Win XP workstation21:57
+perlDreamerrecent WRE install?21:57
knowmadsyes21:57
@preactionloadAllConfigs should ignore hidden files21:57
+perlDreamerjust for kicks, make sure it isn't in the WRE tarball21:58
knowmadsthe real conf file is nci.conf so i think it's something of ours21:58
knowmadsjust don't know how it got there21:58
@preactionoh, samba probably21:58
@preactioni've noticed samba from OSX does that sometimes21:58
knowmadsoh! that's probably it21:59
knowmadswhere is loadAllConfigs?21:59
+perlDreamerloadAllConfigs calls readAllConfigs, which gets them all21:59
+perlDreamerWebGUI::Config21:59
knowmadsit apparently isn't ignoring dotfiles on windows21:59
+perlDreamerit reads all files22:00
knowmadsperlDreamer: you're saying it won't ignore?22:00
knowmadsok22:00
@preactionimho it should ignore hidden files22:00
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."]22:00
knowmads+122:00
knowmadshurray, now I have new errors :)22:01
+perlDreamerFile it as a bug, if it isn't converted into an RFE it will get fixed quickly22:01
+perlDreamerand put in all branches22:01
knowmadsok22:01
+perlDreamerRFEs will only be put into 7.522:02
knowmadsok, i've added 2 bug reports -- one for the dotfiles and one for the ungraceful exit from Config::JSON22:08
knowmadsnow to fix my spectre comm error22:08
knowmadsthere we go... needed to restart it for some reason22:09
knowmadsthanks folks22:09
-!- knowmads [n=wgGuest7@97.66.185.250] has quit []22:10
-!- wgGuest87 [n=wgGuest8@97.66.185.250] has joined #webgui22:11
wgGuest87ok, new question now22:12
-!- wgGuest87 is now known as wknowmad22:12
wknowmadare there docs on upgrade wre from 0.8.1 to 0.8.3?22:12
+perlDreamerwiki?22:13
+perlDreamerit would be there if anywhere22:13
wknowmadthere's a script called wreupdate.pl but i've never seen docs22:13
wknowmadyeah, i've looked but haven't seen anything obvious yet22:13
wknowmadwill keep looking22:13
wknowmadactually it's wreupgrade.pl22:13
@rizenjust run wreupgrade.pl after you copy the new files over the time22:14
@rizentop22:14
@rizenit says that right in the wre if you look in docs/upgrade.txt22:14
wknowmadgood to know22:14
wknowmadwill update the wiki22:14
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui22:14
wknowmadsee rizen, you've got me trained to go to the wiki first for all my documentation ;)22:17
GooeyOfSteelWiki: 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.x22:17
-!- Sunmaster_14_ [n=Sunmaste@h19-afsc.ded.indra.com] has joined #webgui22:17
@rizenthat's not my doing22:18
wknowmadcome on now, you've been blogging about moving online documentation into the wiki22:19
@rizeni have?22:19
@rizeni remember there was some post that someone made that i replied to, but i don't remember blogging about it22:20
@rizenregardless, i always look to the documentation that comes with software before i look at a software's web site22:20
wknowmadoh, maybe i misunderstood but i thought your plan when removing the help system from webgui internals was to have the wiki replace it22:20
@rizenthat is true, but that was on the dev mailing list not the blog22:21
@rizenthat announcement came before the blog existed22:21
wknowmadguess i'm just getting lazy in my old age22:21
@rizencolin and i started that a year ago now22:21
@rizennot saying you shouldn't look at the wiki22:22
wknowmadit's certainly been useful though my comments a few weeks back in your blog still stand22:22
-!- Sunmaster_14 [n=Sunmaste@h19-afsc.ded.indra.com] has quit [Read error: 110 (Connection timed out)]22:22
@rizenthe comments about hierarchy and tables of contents?22:22
wknowmadyes22:23
@rizenit's on my todo, but i can't do commerce and that22:23
@rizencommerce is too big22:23
@rizenneeds to get done first22:23
-!- jdan [n=jdan@xdsl-461.lubin.dialog.net.pl] has joined #webgui22:23
knowmad(back at my workstation) yes, i agree that commerce is bigger22:24
knowmadit sounds like ya'll are making good progress22:25
+perlDreamerI wonder if the bible equates cursing with swearing22:28
knowmadsemantics22:29
+perlDreamersurely, spewing foul language isn't the same as asking God to nuke something? ;)22:31
+perlDreamerIf I take cold medicine, I feel drugged.  If I don't I feel sick.  I can't code well in either case.22:31
-!- lisette [n=liraos@static-adsl201-232-86-73.epm.net.co] has joined #webgui22:32
lisettehello22:32
+perlDreamerbuenos tardes, lisette22:32
+perlDreamerTienes una pregunta hoy?22:33
lisettei tried send email with the module webgui WenGUI::Mail::Send, and the replyTo and returnPath, don't works22:33
lisettebuenas tardes22:33
+perlDreamerdoes the person get the email at all?22:34
lisettesi tengo una pregunta, no me quiere funcionar el replyTo y el returnPath22:34
+perlDreamerpero la persona recibe el "email"?22:34
+perlDreameror no?22:34
lisettesi la persona recibe el email22:34
lisettepero en los headers no aparece el reply ni el returnPath22:35
lisettey yo los tengo dentro del hash que se necesita para crear el email22:36
+perlDreamersorry, need to switch to English for bit :)22:36
+perlDreamerreturnPath and replyTo aren't valid params to WebGUI emails22:36
lisettey porque estan en la documentacion del modulo?22:37
+perlDreamerperldoc WebGUI::Inbox::Message22:37
lisetteperldoc WebGUI::Mail::Send22:37
@preactionheaders => { replyTo, returnPath } i think22:37
+perlDreamerlisette, you're right22:38
+perlDreamerwhoops, preaction I meant22:39
lisette my $mail = WebGUI::Mail::Send->create($session, { to=>$to,22:39
lisette                                from=>$from, subject=>$subject, replyTo=>$reply, returnPath=>$reply})22:39
+perlDreamerthat looks right22:42
+perlDreamerpero, dice que no functiono bien?22:42
lisetteno, no funciona22:42
lisetteel correo llega bien, pero no llega el reply ni el returnPath en los headers22:43
@preactionno, the replyTo and returnPath keys need to be inside of a headers => hashref22:43
lisetteok, i try22:43
@preactionso create( $session, { to => $to, from => $from, headers => { replyTo => $replyTo, returnPath => $returnPath } })22:43
lisettethanks22:43
+perlDreamerpreaction: that's not what the code says.  all headers in 1 hashref22:43
@preactionoh22:43
@preactionuhm22:43
+perlDreamerclass, session, headers22:43
lisetteand what must do?22:44
+perlDreamerestamos pensando22:44
@preaction7.5.x has getMimeEntity method in WebGUI::Mail::Send, you could use that to edit the MIME::Entity object directly22:45
@preactionbut this sounds like a bug...22:45
+perlDreameryeah, but it looks clean all the way into MIME::Entiry22:45
@preactionare you sure sendmail isn't rewriting your Reply-To and X-Return-Path headers?22:45
+perlDreamerdo we have an email test now, by chance?22:45
@preactionwe do22:45
@preactionin 7.5.2 or 3 i think22:46
@preactiont/Mail/Send.t22:46
+perlDreamerDo you know just how cool you are?22:46
@preactioni have an idea22:46
+perlDreamerI 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-Path22:47
lisetteno, don't rewrite22:47
lisettethaks, muchas gracias22:47
GooeyOfSteelWiki: 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.x22:48
wknowmadi'm sitting here watching the new WRE files overwrite the old ones and caught lots of activity happening in wre/prereqs/cpan22:49
wknowmadis that directory really necessary for the WRE distribution? it looks like build dirs and source data that could be ejected from the release22:50
@rizenis that from windows?22:53
@rizenif 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 need22:54
-!- jdan [n=jdan@xdsl-461.lubin.dialog.net.pl] has quit ["Leaving"]22:55
wknowmadok, fair enough (and yes, it's windoze)22:57
@rizensome day we'll make a better build process for windows22:57
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."]22:57
@rizenit's just hard to justify a lot of work for one platform that most people don't deploy on22:57
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui22:58
@preactionpatches welcome though, since you guys do a lot of work on the windows platform no?22:58
+perlDreamerthis is getting more fun all the time22:58
+perlDreamerrizen: you read paul's post about taxes?22:59
+perlDreamerThe illinois tax document doesn't even list postal codes22:59
@rizenof course not, they list counties23:01
@rizenbut postal codes exist in the counties23:01
@rizenand if someone wants to purchase a zip code database so they can keep that shit up to date, then our system handles that23:02
@rizenbut 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 checkout23:02
@rizenunless you see something i don't23:03
+perlDreamerwell, if Illinois location codes are based on zip codes, we're fine23:04
+perlDreamerotherwise we won't be calculating the right tax23:04
@rizenpd that's not the question you should be asking23:05
@rizenwe know the user's zip code, city, state, and country23:05
@rizenhow do we figure out their county from that?23:05
@rizenthat is the question23:05
+perlDreamerI disagree23:05
@rizenyou can't disagree23:06
+perlDreamerthey're listed by location code, not county23:06
@rizenpd23:06
@rizenstop23:06
+perlDreamerif there's a correlation between location code and postal code, it's fine23:06
@rizeni don't care what the state of illiinois says about tax location codes23:06
@rizeni'm telling you that we only have city, state, zip code and country from the user23:06
@rizenwe have those 4 pieces of info23:06
@rizenthat's it23:07
@rizenso given that, how do we figure out location codes23:07
@rizenor county23:07
+perlDreamerwe'd need some table23:07
@rizenor any other bullshit law that some locality decides to add23:07
+perlDreamerright, we'd need lots of tables23:07
@rizenexactly...we'd need a database of zip codes that match location codes23:07
@rizenand since we need to have that, then our system has that covered, because we already know how to match zip codes23:08
+perlDreamerunless zip codes don't map into location codes23:08
@rizenit's not automated...and i don't care23:08
@rizenbut we cover it23:08
+perlDreamerwhen you become president, you need to unify that :)23:09
@rizenbut 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 #webgui23:09
@rizenwe have no more information23:09
@rizenwe can't map something to nothing23:09
-!- elnino [n=ninow@user-38q49cv.cable.mindspring.com] has quit [Client Quit]23:09
+perlDreamerexactly23:09
+perlDreamerthat's why I tried to call the state of Illinois (they're busy right now)23:09
@rizentherefore our system is as good as it can be23:09
@rizenwhy?23:09
@rizenit doesn't matter what they say23:09
@rizenwe CANNOT do any better than we have done23:10
@rizenwe have 4 pieces of info23:10
@rizenthat's all we will ever have23:10
+perlDreamerwell, none of the online commerce systems I've used ask for county, or location code, or anything else.23:10
+perlDreamerso maybe that's good enough23:10
-!- elnino [n=ninow@user-38q49cv.cable.mindspring.com] has joined #webgui23:11
@rizenit'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 system23:11
@rizenwe can't possibly be expected to account for every stupid local law in every municipality around the world automatically23:11
elninoHello. 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
@rizenwe just have to provide the tools that work with what we can do, so that the users can massage their stuff into ours23:11
+perlDreamerokay23:12
GooeyOfSteelWiki: WRE for Windows - Created on 3/6/2008 3:03 pm by knowmad  http://www.webgui.org/community-wiki/wre-for-windows23:13
-!- dionak [n=diona@97.66.185.250] has left #webgui []23:13
@rizenpd you really are a worry wart aren't you?23:14
-!- dionak [n=diona@97.66.185.250] has joined #webgui23:14
+perlDreamerrizen: in chips, not knowing the answer to all questions ruins 5 months of work and gets projects canceled23:14
GooeyOfSteelWiki: Windows Installations - Edited on 3/6/2008 3:03 pm by knowmad  http://www.webgui.org/community-wiki/windows-installations23:14
-!- wgGuest25 [n=wgGuest2@97.66.185.250] has joined #webgui23:14
+perlDreamerso, yes23:14
+perlDreamerwgGuest25: you're a wiki hacking fied today23:15
-!- wgGuest85 [n=wgGuest8@static-adsl201-232-86-73.epm.net.co] has joined #webgui23:15
@rizeni like to know that answer to all questions that are relevant as well, but we can't answer questions that are out of scope23:15
+perlDreamerand if too many projects get killed due to lack of knowledge, they'll fix that problem permanently.23:15
@rizenlocation codes are out of scope23:15
wgGuest85hello23:16
-!- juan [n=juangui@static-adsl201-232-86-73.epm.net.co] has joined #webgui23:17
-!- wgGuest85 [n=wgGuest8@static-adsl201-232-86-73.epm.net.co] has quit [Remote closed the connection]23:18
juanhello23:18
+perlDreamerhello, juan23:19
juani have several post in a collabotation system, i need to change the user who posted the all threads23:19
juancan i do that?23:19
CIA-52WebGUI: jt * r5732 /translations/French/French/AuthWebGUI.pm: update_from_translation_server23:19
-!- wknowmad [n=wgGuest8@97.66.185.250] has quit [Read error: 110 (Connection timed out)]23:19
@preactionnot from the web interface, but from the database you can change the ownerUserId in the assetData table23:20
juanok23:20
juananother question, in the default data form template can i ask for a specific field?23:21
+perlDreamercheck the Data Form template help page for the list of variables23:21
+perlDreamerDo you know how to access that?23:21
juanin the admin console, help23:21
+perlDreameryes, that's it23:22
-!- estiven [n=estiven@static-adsl201-232-86-73.epm.net.co] has quit [Read error: 113 (No route to host)]23:22
GooeyOfSteelWiki: WRE for Windows - Edited on 3/6/2008 3:14 pm by knowmad  http://www.webgui.org/community-wiki/wre-for-windows23:25
juanyes, 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 this23:27
juani want to ask in the template if field.name ="test"23:28
juani want to validate that field to put an extra sentences23:28
+perlDreamerfor that, you need to use a different templating language than the default WebGUI one, which is HTML::Template23:28
+perlDreamerHTML::TemplateExpr, or Template::Toolkit will allow that23:29
+perlDreameror, you can do it with javascript23:29
+perlDreameror, you can add subtext information to the "test" field which will be put in there23:29
@rizenyou enable them in your webgui config file23:29
perlmonkey2Where can I find an example of the rich text editor being used in a template? 23:31
+perlDreamerperlmonkey2, I believe that it is invoked in the HTMLForm form plugin23:32
perlmonkey2perlDreamer: gracias23:32
juanperlDreamer, thanks, i am going to look form documentation to test it23:33
+perlDreamercool23:34
+perlDreamerbuena suerte23:34
elninohello23:34
+perlDreamerI'm sorry, but all of our developers are busy.  Please wait on the line until the next developer is available.23:35
elninodo I hear elevator music?23:35
@preactionthose default meta tags are defined in the code i believe. WebGUI::Session::Style23:37
perlmonkey2perlDreamer: 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
elninothanks!23:37
@rizenpm2: lib/WebGUI/Form/HTMLArea.pm23:37
perlmonkey2thanks rizen23:37
@rizenas for which rich editor, by default it uses the one configured in the settings23:38
@rizenyou should make a property in the survey asset if you want to override that23:38
@rizenthe same way that the CS and the Wiki do23:38
+perlDreamerrizen: Do I have to worry about people putting duplicate data into the tax table?23:38
@rizenpd i don't think so, if they put it in it's there own damn fault23:39
@rizenand if it becomes a problem, we'll worry about it then23:39
perlmonkey2rizen: woah, I was expecting a template which used a lib in extras...this is going to take some learning.23:39
perlmonkey2I didn't realize there was a whole asset to do this.23:39
@rizenthere is a template23:39
@rizenthat the rich editor asset uses23:39
+perlDreamerthe asset just manages the interface to the TinyMCE options23:39
@rizenbut it has to be an asset so that users can set up their own rich editors easily23:40
@rizenspeaking of which, it turns out tinymce came out with a whole new version last month23:40
@rizengoing to have to update that before 7.5 comes out23:40
+perlDreamerlots of good new stuff?23:40
perlmonkey2$session->setting->get("richEditor") || "PBrichedit000000000001" should return text I can set = to a tmpl_var?23:41
@rizenbetter safari support is the main thing i'm interested in23:41
@rizenpm2 i don't know what you're asking23:41
+perlDreamerthat gets the assetId for a particular richTextEditor23:42
+perlDreameryou can use Form::HTMLArea to build one for you23:42
perlmonkey2I 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:43
@preactionheh, i did that once. it works fine if you preload the TinyMCE javascripts on the base page (i think)23:45
perlmonkey2preaction: which isn't a problem, but I fear this isn't the WG way to do thing.s23:45
@rizenperlmonkey2, like i said before, when it comes to ajax forget about the webgui way of doing things23:46
@rizenthere isn't one23:46
@rizenthat's what 7.6 is going to be about23:46
@preactioni lied. i made a text area and then used the javascript to apply the tinymce to it after i set innerHtml23:46
@preactioni couldn't get the tinymce to just work, but applying it to a text area works fine23:46
GooeyOfSteelWiki: 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.x23:47
perlmonkey2rizen: 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
@rizenthere will definitely be some massaging that has to be done after you put it together23:48
@rizenbecause we simply don't have a good infrastructure to create massively ajax apps yet23:49
@rizenthis is mainly due to how our current form controls system works23:49
perlmonkey2tinymce2/jscripts/webgui.js is the one to use?23:49
@rizennope, you have to use all of them23:49
@rizenjust like HTMLArea.pm does23:50
perlmonkey2okay :)23:50
-!- elnino [n=ninow@user-38q49cv.cable.mindspring.com] has quit ["Leaving"]23:52
juanperlDreamer, related to the thread in the assetData the 23:53
juanexcuseme 23:53
+perlDreamerno hay de nada23:53
juanthe ownerId that i have is correct23:53
juanthe problem is that the threads have the alias of this user23:54
juancan i change the alias?23:54
+perlDreamervoy a buscar23:54
juanok23:54
+perlDreamerin WebGUI, a Thread is a Post via inheritance23:55
-!- wgGuest25 [n=wgGuest2@97.66.185.250] has quit [Read error: 110 (Connection timed out)]23:55
+perlDreamerIn the Post table, it stores the username23:55
+perlDreamerit would need to be changed there, as well23:55
juani changed it but the post continues with the old alias23:56
+perlDreamerhave you cleared the WebGUI cache?23:56
-!- elnino [n=ninow@user-38q49cv.cable.mindspring.com] has joined #webgui23:59
elninohello23:59
--- Day changed Fri Mar 07 2008
juangracias perlDreamer00:00
juanya corregi el problema00:00
+perlDreamercool00:02
elninois there a way to completely turn off caching? 00:02
elninoI've got 7.4.2600:03
+perlDreamertry checking the settings...00:04
elninoI'm there, I dont' see anything00:04
elninoanymore00:04
elninoThere used to be something there I thought.00:04
@preactionno. WebGUI caches things for speed. no way to disable that00:04
@preactionyou're thinking the client-side browser cache, which it is possible to attempt to work around00:05
@preactioni think Content > Prevent Proxy Cache, but it might have been removed since it wasn't effective at all00:05
elninothat's there, but I don't understand that. It says urls will be unfriendly, etc. is that what i want?00:06
@preactionwhat do you want to do? prevent browsers from caching your pages?00:08
elninono, 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:10
@preactionclear the cache from the Admin Console00:11
@preactionor rm -rf /tmp/WebGUICache00:11
@preaction(if you're using the default FileCache)00:11
elninoyep, i've done that, but that's just one time clearing, I can not allow caching at all.00:12
elninoI might just do a cron every 5 seconds.00:12
@rizenelnino don't do that00:12
@rizenfind the problem00:12
@rizendon't patch00:12
@rizentell us what's wrong00:12
elninook - ready?00:13
+perlDreamerrizen: I'm halfway through the new Tax code00:13
elninoI have a secondn non-webgui site. It has a login page. people login, and a cookie is set.00:13
elninothey are redirected to my webgui -based site.00:13
elninoin 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
elninothis worked grreat.00:14
elninoon my pages, where customer specific information is displayed, I have the cache setting to 1 second.00:15
elninoso that users don't see the previous user's information.00:15
@preactionno that won't work. they need to be a registered user. registered user's pages do not get cached by webgui00:15
@preactioni think there's a thread on the community forums about this00:15
elninoSince 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:15
@rizenpages are always cached for 60 seconds for visitors00:16
@rizenthis is called "burst protection"00:16
elninokinda - the post on webgui's forum is I wanted to use webguis forum - that is separate.00:16
@rizenand is meant to kill the slashdot effect00:16
elninohas this 60 seconds always been that way? that would explain why this wasn't seen before.00:17
@rizenit's been in there since 7.000:17
@rizen6.99.x actually00:17
@rizenbut it's only for visitors, not registered users00:17
elninook. so if I wait 60 seconds, I should be ok.00:17
elninoall my "registered users" are considered "visitors" by webgui.  It actally works really well - untill I found out about this 60 second rule.00:18
GooeyOfSteelWiki: Customizing WRE Configuration - Created on 3/6/2008 4:07 pm by knowmad  http://www.webgui.org/community-wiki/customizing-wre-configuration00:18
elninoso 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
@rizenwell you can get around the burst protection by adding something to the url00:20
@rizenlike this00:20
@rizenhttp://site.com/pageurl?nocache=100:21
@rizenthere is no "visitor cache" setting on page layouts00:21
@rizenand burst protection is a function of a page layout00:21
CIA-52WebGUI: jt * r5733 /translations/French/French/AuthWebGUI.pm: update_from_translation_server00:21
@rizenso if you sent them directly to a snippet or an sql report URL then you wouldn't have this problem00:22
elninorizen 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
elninoyour right, I'm specificaly talking about assets's cache settings.00:22
@preactionif they're not logged in to webgui, they're a visitor00:23
elninoeven i fthey are part of the group?00:23
+perlDreameryes00:23
@rizenyour user is always a visitor if they have not logged in to webgui00:23
@preactionif they have userId of "1", they're a visitor00:23
-!- MrHairgrease [n=martin@wlan-145-94-223-103.wlan.tudelft.nl] has left #webgui []00:24
elninoAH!!!  Thank you! my sql statement return 1 - I'll just return something else!00:24
@preactionif your login script would use the WebGUI API to give the person a cookie with a webgui session, it would work seamlessly00:24
elninozoom - 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
elninoAnd I suppost then my forum will work too. 00:26
elnino=)00:26
@preactionyou'd make a WebGUI session with WebGUI::Session->new. and then send a cookie called wgSession with the WebGUI::Session->getId ( $session->getId )00:26
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."]00:28
elninoshould 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:29
@preactionit's part of the user. you'd need to create a webgui account for all your users00:30
elninoI 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:32
@preactionLDAP would work easier probably, since LDAP gets periodically updated with new users00:33
elninoI gues my question was, do you require all users from the LDAP system to be imported into webgui?00:33
elninomaybe I can glean someting from the ldap auth mod.00:34
@preactionthere's a workflow activity that does it SyncProfilesToLDAP i think or FromLDAP or something 00:36
@preactiondunno really. the Administrator's Guide has a section about setting up LDAP00:36
elninohmm. 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
elninoso 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:40
elninohmm. not if I set the wgSession;s id to the dummy user. - because that's what determines who is logged in, right?00:42
elninobut I still have to call WebGUI::Session->new somewhere, right?00:42
elninoor is setting a properly structured cookie good enough?00:43
CIA-52WebGUI: jt * r5734 /branch/WebGUI_Commerce/ (5 files in 5 dirs): we now have shop settings admin screen00:46
CIA-52WebGUI: colin * r5735 /branch/WebGUI_Commerce/ (11 files in 4 dirs): 00:46
CIA-52WebGUI: Change the Shop::Tax system to be hierarchial.00:46
CIA-52WebGUI: Update all sample tax tables and tests.00:46
@rizenwow pd, are you already done with that change?00:46
+perlDreameryeah00:46
+perlDreamerit took all day00:47
+perlDreamerbut only because I was sick00:47
+perlDreameroh, and it doesn't do the abbreviated, not abbreviated yet00:47
+perlDreamerbut we can add that in00:47
@rizenyeah, it will definitely need that00:48
@rizenwhen you do that, make sure it will do an unlimited number of  ors00:48
@rizenWisconsin|WI|Wis00:48
+perlDreamerokay00:49
+perlDreamerand the comparison is done lower case00:49
@rizenyup00:49
+perlDreamershould the comparison be done in SQL?00:49
@rizenup to you00:50
@rizenwhatever works fastest00:50
+perlDreamerI'll try SQL first00:50
-!- elnino_laptop [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI00:51
elninoI 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:51
+perlDreamerI think I can do this00:58
-!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has quit ["Windows doesn't have users, it has hostages."]00:58
-!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has joined #webgui01:03
-!- mode/#webgui [+v Radix_] by ChanServ01:03
-!- juan [n=juangui@static-adsl201-232-86-73.epm.net.co] has left #webgui []01:03
+perlDreamerstore alternations in the db01:10
+perlDreamerprepend ^ and $ to them in the query01:10
+perlDreamerthen use them as the regexp for a "constant" of user data01:10
-!- dionak [n=diona@97.66.185.250] has quit []01:27
+perlDreamerI found out what happened to MrHairgrease today: http://news.yahoo.com/s/ap/20080306/ap_on_fe_st/odd_stiletto_run;_ylt=AhAiQISri8KMAbexsTzUA2.s0NUE01:27
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 <a href="..." target="..."> do it?01:39
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:40
+perlDreamerSunmaster_14_: I'm pretty sure that's been discussed on the forums.  Try a search there.01:41
Sunmaster_14_ok01:42
@preactioni believe i mentioned before that there's a field for regular expressions to match that will bypass rewriting01:45
@preactionit's in the code at least, if for some reason it's not in the edit form01:46
@preactionit's on the display tab01:46
+perlDreamerpreaction: I had a chance to optimize one of the sql queries for the Tax system01:51
+perlDreamercheck out 573601:51
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit []01:58
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI02:00
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui02:01
-!- Sunmaster_14_ [n=Sunmaste@h19-afsc.ded.indra.com] has quit []02:01
-!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui02:04
-!- mode/#webgui [+v Radix-wrk] by ChanServ02:04
CIA-52WebGUI: colin * r5736 /branch/WebGUI_Commerce/ (lib/WebGUI/Shop/Tax.pm t/Shop/Tax.t): optimize the SQL query for getting tax rates02:04
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit ["Leaving"]02:06
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui02:11
-!- mode/#webgui [+o preaction] by ChanServ02:11
-!- elnino_laptop [n=elnino@user-38q49cv.cable.mindspring.com] has quit [Read error: 110 (Connection timed out)]02:29
-!- elnino_laptop [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI02:54
-!- 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 #webgui03:03
elnino_laptopperlDreamer: after thinking about my situatin some more, I have one more issue that I need your opinoin on.03:04
+perlDreamersure03:04
+perlDreamerbut I'm biased03:04
elnino_laptopI know... =)03:04
+perlDreamerlay it on me03:05
elnino_laptopIf I import my users from our CRM package, I some how need to keep them synced.03:05
+perlDreamerYes.  That can be done with a workflow, just like for LDAP03:05
elnino_laptopwhat do I tie them to?03:05
+perlDreamerusernames have to be unique in the database03:05
elnino_laptopthere are iDs in our CRM package, can I import those ids as the webgui user id?03:06
+perlDreamerso username(CRM) => username(wg)03:06
+perlDreameryou could, but they would need to be webgui-like03:06
+perlDreamer22 characters, a modified base64 MD5 hash03:06
+perlDreamercheck out Session::Id.pm03:06
elnino_laptopyes 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 sync03:07
elnino_laptopour crm package uses sequenctal numbers for ids.03:07
+perlDreamersmaller than 22 characters, and all greater than 20?03:08
elnino_laptopI suppose there may be some other fields in webgui I can shove the CRM's ids into?03:08
+perlDreameruserProfile fields03:08
+perlDreamerthat would work very well03:09
+perlDreamerand I think it's been done before03:09
elnino_laptopk.  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 intheworkflow03:10
elnino_laptopthe other "quicker" fix, I"m considering is 03:10
elnino_laptopwhile 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_laptopbut you probabay don't like that idea and are probably cringing.03:11
+perlDreameryeah, I like vanilla webgui with plugins03:12
+perlDreamerI maintained customized wG code for a while, and I have more fun things that I like to do.03:12
+perlDreamerBut you need to make the best decision for your needs.03:12
elnino_laptop=)03:12
+perlDreamerI think that full wG integration will bring further benefits later03:12
+perlDreamersuch as allowing them to actually edit parts of the website03:12
+perlDreamerparticipate in forums with real names, and so on03:13
elnino_laptopoh I need to do that eventually if the forum and wiki is going to work. yep.03:13
+perlDreamerso I favor large work soon, unless you're blocking on something important time-wise03:13
+perlDreamerand what kind of setup is this for, anyway?03:13
elnino_laptopthe problem is the guy who would do the crm changes left, and we have noone to do it?03:13
+perlDreameryeah, so storing the CRM ID in wG would be best03:14
elnino_laptopwe 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:15
+perlDreamersounds cool03:16
elnino_laptopso 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
+perlDreamerso the CRM does the order/build work?03:16
elnino_laptopIt 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
+perlDreamerrun the whole thing on MS on the WRE03:17
elnino_laptopno, the CRM hoses the users and their privildeges which the sales reps control, and the software builder pulls the privs from there.03:17
+perlDreamerI see03:18
elnino_laptopyou mean moving webgui to MS??  I've had nothign but trouble with failing MS servers. 03:18
+perlDreamerI was thinking that if you were stuck with building on MS it might be simpler.03:19
+perlDreamerI prefer Linux myself03:19
elnino_laptopit 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:19
elnino_laptopwell, 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_laptopthat should work. I'll find out tonight.03:21
elnino_laptopdoes the user import tool allow for mulitple group memberships?03:21
+perlDreamerI don't think you have to modify the CRM to merge info from there into wG.03:22
+Radix-wrkcouldn't you use sql group lookups?03:22
+perlDreamerhe does, but he needs actual users, too03:23
+perlDreamerelnino_laptop: perl userImport.pl --help will give you all the info on importing users03:23
+perlDreamerI think it will allow multiple groups on import03:23
elnino_laptopk. 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
+perlDreamerhaving dinner soon, but I'll be around03:24
+Radix-wrkI wrote my own userimport script that adds a user via a url03:25
+Radix-wrkand handle group memberships through sql lookups03:25
elnino_laptopI 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
+perlDreamerno03:27
+perlDreameryou can use foreign fields03:27
+perlDreameror anything else03:27
+perlDreameryou could check them out remotely and see if they have bought purple umbrellas03:28
elnino_laptopmy 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-wrkwe 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't03:28
+perlDreamerelnino_laptop: I should go check.03:29
+Radix-wrkI just have a simple query: 'SELECT userId FROM users WHERE XXX = 1'03:30
+Radix-wrkwhere XXX is the group name I want03:30
elnino_laptopso you are returning the webgui's userid/03:32
+perlDreamerthat's right.  SQL queries have to return wG userIds03:32
+Radix-wrkyeah03:32
+perlDreamerit used to be that you'd return 1, but that was a long time ago03:32
elnino_laptopI dont' have that intermediary table yet. That's what I still need to create in the CRM system03:32
elnino_laptopTHanks for checking perlDreamer - that's what I thought. So I'm still doing what I was planning. 03:33
+Radix-wrkmy 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 membership03:33
elnino_laptopRadix - not quite sure how to add user by url will help, but I'll keep thinking about it.03:33
elnino_laptopRadix - yep, I don't one of those yet. that's part o fmy plan  =)03:34
+Radix-wrkI'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 other03:35
+Radix-wrkit's mostly done.. just needs to be implemented here really - but has been put on the back burner for now03:36
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui03:37
+Radix-wrkWe'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:38
elnino_laptopthat would be cool to have. is that something that is going to be in the contributions, or integreated into future versions? or neither?03:39
+Radix-wrkI can send you a copy if you like - it's pretty hackish, but works around our issues03:40
elnino_laptopThat 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:42
elnino_laptopyou can send it to webmaster@comtrol.com03:43
-!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui03:43
elnino_laptopany one know off hand what keystoke to use in vi to check paranthesis? - totally not a wg question. My appologies03:58
+Radix-wrkctrl } I thought03:58
+perlDreamer% bounces between pairs of parens03:59
+Radix-wrkmaybe not03:59
elnino_laptopthanks!03:59
+Radix-wrkcool03:59
+perlDreameris it set showMatch to do that as you're typing?03:59
+Radix-wrkelnino - sent you that workflow03:59
+Radix-wrkmake sure you regard it as a very early beta with no guarantees it'll even work, k :)04:00
+Radix-wrkSo far all I've done is use it in testing.. not implemented it04:00
+Radix-wrkbut might help you get the basics of a workflow, and the logic is clearly explained04:01
elnino_laptopperlDreamer, yep, but it doesn't work when you paste.04:01
elnino_laptopthanks radix - I  won't blame you for any mishaps.04:01
+Radix-wrklemme know how you go :)04:01
+perlDreamerI also like :!perl -wc % -I /data/WebGUI/lib04:02
+perlDreamerfor syntax checking perl code04:02
elnino_laptopmmm good tip. Thanks04:07
+perlDreamerfor checking test code, you need an extra -I04:13
+perlDreamer:!perl -wc % -I /data/WebGUI/lib -I /data/WebGUI/t/lib04:13
+perlDreamerand for WRE code it would need a 3rd one, but I don't know the WRE path structure04:13
@preactionthose sound like good candiates for macros04:14
+perlDreamersounds like good fodder for my WUC talk04:17
+perlDreamerafter I finish these next tests, I'd love some feedback about the alternation system I build into the Shop::Tax.04:18
+perlDreamerwilling to review a patch?04:18
@preactionsure04:19
elnino_laptopso.. 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
@preactionright04:21
elnino_laptopand taht user can be a dummy user, right? and still use my sql-based groups.  04:23
@preactionsure, but then all things will appear to be from that dummy user04:24
elnino_laptopI'm likeing that idea better than changing your source.04:24
elnino_laptopI'm going to see I can do that.04:25
+perlDreamerokay, 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 city04:27
+perlDreamersvn rev 573704:27
@preactionk04:28
+perlDreamerhttps://svn.webgui.org/svnweb/plainblack/revision/?rev=573704:30
@preactioncan we use JSON or some other serialization language?04:30
+perlDreamervs CSV?  Why?04:31
+perlDreamerit's just tabular data04:31
@preactionbarring 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
+perlDreamerimportTaxData and exportTaxData04:33
@preactionUSA?|U.S.(A.)?|United States( of America)?| <- i forsee regular expressions in your future04:34
+perlDreamernope, alternations04:34
+perlDreamer| is translated to , in the import method04:34
+perlDreamerso that I can use find_in_set to check for membership04:34
+perlDreamerJust list them all explicitly04:34
+perlDreamerI don't foresee most users knowing regular expressions04:35
@preactionof course not, but is it 1:1 or can it be 1:many?04:35
+perlDreamer1:104:35
+perlDreamerany in the set04:35
@preactionso if the user says "USA" or "U.S.A" and also says "CA" or "California", the tax rate is 7.25%04:36
+perlDreameryes04:37
+perlDreamerwell, 7.25 + 0, technically04:37
+perlDreamersince USA is defined as 004:37
+perlDreamerin that test set04:37
@preactionbut if the user says "U.S.A", that still means they, in the end, typed "USA", right?04:38
@preactionare you using this to parse / normalize user input?04:38
+perlDreamercompare user input04:38
+perlDreameruser enters in an address04:39
+perlDreameruse the address to calculate sales tax rates04:39
+perlDreamerfrom multiple sources04:39
@preactionso they just type it out and you compare it to what you know04:39
+perlDreameryes04:39
+perlDreamerand U.S.A would not match any entry in the system04:39
+perlDreamerunless it was entered in that way04:39
@preactionso in the end you need to be able to map X number of possibilities to one entry: USA04:39
+perlDreamer...yes...04:40
@preactioni gotta go downstairs to show the house to the renter04:40
+perlDreamerwhere the second entry is also user data04:40
@preactionwould 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 used04:40
@preactionso just one place it is defined that USA can also be "U.S." or "U.S.A" or "US" or "United States"04:41
@preactionor maybe you already are doing that and i'm only seeing part of the picture04:41
+perlDreamerthere's no way to make it scale easily, across states, cities and countries04:42
@preactionno, unfortunately. unless it's a db lookup map sort of thing04:42
+perlDreamerright04:42
@preactiona mysql table "id" => "value", then lookup by value04:42
@preactionbut still kinda ugly04:42
+perlDreamerand it's a huge db that's constantly changing04:42
+perlDreamerneed to do itinerary review, bbiaw04:43
@preactionk, i gotta go do some stuff too04:43
CIA-52WebGUI: colin * r5737 /branch/WebGUI_Commerce/ (4 files in 3 dirs): 04:46
CIA-52WebGUI: Allow alternations in the tax data, so that it is case insensitive04:46
CIA-52WebGUI: and allows multiple definitions of an entry (like state, city or country)04:46
+perlDreamerare you renting out part of your house?04:48
-!- 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:52
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui04:55
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui04:56
-!- mode/#webgui [+o rizen] by ChanServ04:56
+perlDreamerrizen: the alternations code is https://svn.webgui.org/svnweb/plainblack/revision/?rev=573704:57
+perlDreameris you'd like to review it04:57
elnino_laptopdo wgsessions time out after a while?04:59
+perlDreameryes, it's specified in the settings as to how long that is05:00
@rizeni trust that it works, unless you're saying that you want me to review it05:00
elnino_laptopthanks pd05:00
+perlDreameryes 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 check05:00
CIA-52WebGUI: colin * r5738 /branch/WebGUI_Commerce/lib/WebGUI/Shop/Tax.pm: find_in_set seems to be case insensitive, natively.05:04
CIA-52WebGUI: colin * r5739 /WebGUI/lib/WebGUI/Group.pm: more POD for Group.pm05:04
@preactionperlDreamer, i have a duplex, so i've been trying to get a tenant downstairs for a few months now05: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 it05:07
+perlDreamerrizen: you're awfully quiet.  Are you deciding whether to just kill me, or savagely maim me?05:08
@rizendid you build the ui for it yet, or just the backend?05:08
@rizenbtw, i love all these csv files05:08
+perlDreamerno UI yet.  APIs first05:09
elnino_laptopso. 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
@rizenbadTaxTable.csv05:09
@preactionnot sure that macros will work that way05:09
@rizen=)05:09
+perlDreameryeah, I'm lacking inspiration05:09
@rizenno ui i see05:09
+perlDreamertime for kids, back in 30.05:10
@preactionoh, now i see how it all works05:12
@rizendid you not see all the things i just posed05:12
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit [Remote closed the connection]05:13
@rizenposted05:13
+perlDreamerto which "you" art thou referring, rizen?05:22
@rizenwhat do you see preaction?05:23
@preactionwas just wondering how the data is stored 05:23
@preactionwill there be one row for each member of an alternation?05:24
@rizenno longer relevant05:24
+perlDreamermultiple alternations are possible for location info for each row05:24
@preactionso the row contains packed data? or is it normalized somehow?05:25
+perlDreamerthe row contians a bunch of text in column05:26
+perlDreamermost columns may contain a CSV style list of possible entries that is flat text05:26
+perlDreamerit's really just plain text05:27
@preactionand that's what the find_in_set handles?05:28
+perlDreameryes05:28
@preactioni see05:28
@preactionthat should work, no objections from me05:29
@rizeni object just because preaction didn't05:37
@preactionnormalize your data you wanker!05:37
+perlDreamerobjection noted05:37
+perlDreamerand what does "normalize" mean?05:37
+perlDreameryou object to the multiple USA's in there?05:38
@preactionit means basically no packing / serializing data in the database. it means a lot of joining tables05:38
@preactioni was voicing JT's objections05:38
+perlDreamerthat wasn't JT's objection, because he said it needed to be done that way this morning05:39
@preactioni 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 golden05:40
@rizenit won't come down to normalizing it ever05:48
+perlDreamerI'll go back to working on the UI for Tax05:50
+perlDreamerrizen, so Shop www_ methods are object methods, and not class methods like Operations?05:51
+perlDreamerinteresting05:51
@rizenthe reason i can say that with confidence is because eventually the tax system will need to be made pluggable just like shipping and payment methods05:52
@rizenbut for now, the tax system pd has created is 10x more flexible and powerful than the one we had05:57
+perlDreamerit would help if I'd read the designdocs more carefully, though.05:57
+perlDreamerYou said tab delimited, not CSV05:57
@rizenand will cover 90% of user's needs05:57
@rizendepends on the module05:59
@rizenfor Shipping they are class methods06:01
CIA-52WebGUI: jt * r5740 /branch/WebGUI_Commerce/lib/WebGUI/ (Shop/Ship.pm Shop/Admin.pm Content/Shop.pm): beginnings of shipping mangement interface06:02
@rizenfor tax, cart they are object methods06:04
@preactiondid you guys want me to add Commerce to the nightly test box?06:06
+perlDreamersure!06:06
@rizenand btw...operations aren't methods at all, they're procedural06:06
+perlDreamerI stand corrected06:08
@rizenshipping is a class method because shipping has no construcor06:10
@rizencus new() creates a driver06:12
elnino_laptopis there any way to cycle the webgui logs? Mine gets really big ...06:12
+perlDreamershutdown webgui, echo '' > /var/log/webgui.log; restart webgui06:13
@rizennot a WebGUI::Shop::Ship06:13
+Radix-wrkelnino_laptop: no reason you couldn't use logrotate on them I'm sure06:13
elnino_laptopok. Thanks06:14
@rizeni'll be checking it in in a few seconds so you can see what i mean06:15
-!- patspam [i=chatzill@ppp59-167-128-63.lns3.mel6.internode.on.net] has joined #webgui06:21
@rizenbut the reason i decided to go with a content handler for the commerce stuff was so we could use method calls rather than proceedures06:22
@rizenit gives us a bit more power06:24
@rizencsv is fine06:24
@rizeni don't really car06:25
+perlDreamerOkay, I just don't want you to think I'm blowing off your initial design decisions.06:25
@rizencare06:25
@rizeni like tabs because there is more often commas in data06:29
@rizennow if i was as big of a dick as everyone seems to think i am, i'd chew your ass out06:33
@rizenok, just checked in the start of the shipping management interface06:37
elnino_laptophow do I find out if webgui.auth change since 7.2.1?06:38
@preactionthere may be bugfixes, but the API doesn't change06:40
@rizenwhich includes the hand of  www_do method so that the ship manager can hand off www_ requests to ship drivers06:42
elnino_laptopI 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 html06:42
-!- diakopter [n=diakopte@pdpc/supporter/active/diakopter] has joined #webgui06:43
elnino_laptopand 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
@rizenthe payment manager will have the same thing06:43
elnino_laptopmy laptop seems to render the apges fine, but It's vista and IE 7, I'm having the "blank" problems on 2000/IE606:44
elnino_laptopI 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
@rizenor if you're using the WRE they'll get rotated automatically06:44
-!- diakopter [n=diakopte@pdpc/supporter/active/diakopter] has quit [Client Quit]06:45
elnino_laptopor why I'm possibly getting "blank" pages.06:45
-!- diakopter [n=diakopte@209.9.237.164] has joined #webgui06:45
@rizenmethinks it's time to quit for the night06:45
elnino_laptopis thhis where I say, it's on our production server? 06:47
@preactionelnino_laptop, that source code usually shows up when nothing was sent back from the site06:47
@preactioni have no idea where you should start06:47
@rizenget a fresh start tomorrow and get the shipping admin interface wrapped up06:47
@preactionif 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:47
@rizeni'm really pleased with how this is coming together06:49
elnino_laptopthis 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:49
@rizeni don't know why i'm downloading it but i'm getting the iphone sdk06:50
+perlDreamerwhy not?06:51
+perlDreamerEveryone needs a hobby.06:51
elnino_laptoppreactioin: 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
+perlDreamerSome people play video games, watch movies, or make games.06:51
elnino_laptopI play french horn.06:52
@rizeni have aspirations that i'll make some cool iphone/webgui interconnected thing, but i don't know what yet06:52
-!- rizen is now known as rizenisaway06:53
CIA-52WebGUI: colin * r5741 /branch/WebGUI_Commerce/lib/WebGUI/Shop/Tax.pm: 07:01
CIA-52WebGUI: Add a method for determining if users can access commerce functions, and07:01
CIA-52WebGUI: stub out www_view07:01
-!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has quit []07:05
-!- 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:14
-!- rizenisaway [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit []07:49
-!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: @Haarg, ckotil, diakopter07:58
-!- Netsplit over, joins: @Haarg, diakopter, ckotil07:58
CIA-52WebGUI: graham * r5742 /WebGUI/docs/create.sql: preparing for 7.5.5 release08:02
-!- jdan [n=jdan@xdsl-461.lubin.dialog.net.pl] has joined #webgui08:12
-!- ryuu_ro [n=rory@194.171.50.69] has joined #webgui08:44
CIA-52WebGUI: jt * r5743 /releases/WebGUI_7.5.5-beta: Release 7.5.5-beta08:44
CIA-52WebGUI: jt * r5744 /translations/Polish/Polish/ (Asset.pm Asset_Image.pm WebGUI.pm Asset_Collaboration.pm): update_from_translation_server09:03
-!- 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:09
-!- Radix-wrk [n=Jesse@203.161.68.67] has quit ["Leaving"]09:49
-!- BartJol [n=plainstu@194.171.50.123] has joined #webgui10:28
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has quit [Read error: 110 (Connection timed out)]11:21
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI11:53
-!- BartJol [n=plainstu@194.171.50.123] has quit [Read error: 113 (No route to host)]13:51
-!- BartJol [n=plainstu@194.171.50.123] has joined #webgui13:52
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)]13:54
-!- ryuu_ro_ [n=rory@194.171.50.69] has joined #webgui14:12
-!- ryuu_ro [n=rory@194.171.50.69] has quit [Read error: 104 (Connection reset by peer)]14:12
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has quit ["Leaving"]14:13
CIA-52WebGUI: jt * r5745 /translations/Polish/Polish/ (Asset.pm WebGUI.pm Asset_Collaboration.pm): update_from_translation_server14:21
-!- MrHairgrease [n=martin@194.171.50.69] has joined #webgui14:34
-!- mode/#webgui [+v MrHairgrease] by ChanServ14:34
CIA-52WebGUI: jt * r5746 /translations/French/French/Macro_LoginToggle.pm: update_from_translation_server14:40
knowmadhas anyone here added workflow to webgui?14:56
knowmadand i don't mean the automated scripts, i'm talking about people processes14:57
+MrHairgreaseyou mean things like multi layered aproval?14:58
+MrHairgreasehaven't done that yet14:58
knowmadyes that kind of thing along with people able to track tasks and responsibilities associated with completing a project14:59
knowmadhave you ever looked at the Workflow modul on CPAN?14:59
knowmad/perlbot14:59
knowmadhow does one use the perlbot? i thought i saw it return a link to a CPAN module once15:00
knowmadin the meantime, here's the link http://search.cpan.org/~jonasbn/Workflow-0.31/15:00
ckotilknowmad: i do that. i created an approval process for some reports we insert into webgui w/ a versoin tag 15:21
+MrHairgreaseperlbot help15: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
+MrHairgreaseperlbot cpan Workflow15:22
perlbotDocumentation for 'Workflow' can be found here: http://xrl.us/bhay215:22
-!- estiven [n=estiven@static-adsl201-232-86-73.epm.net.co] has joined #webgui15:25
knowmadsweet! thanks guys15:25
knowmadckotil: so you are using version tags for process approval? what if the process is 20 steps?15:26
ckotilyes. thats fine.15:26
ckotilworkflow activities can have a waiting state.15:26
ckotilmy approval workflow(s) have about 5 or 6 steps.15:27
knowmadbut how is that connected to version control?15:27
knowmadVC seems so wrong to me for managing tasks associated with a project15:28
ckotilthe report becomes an asset in webgui, and gets its own version tag15:28
ckotilthe version tag has a workflow associated with it15:28
ckotilIn this case, its my approval workflow w/ custom activities which ask a certain group of my users to review and approve the report.15:28
knowmadoh, so you're process is built around a report15:29
knowmadhmmm, we have a few docs associate with the process i'm trying to map15:29
knowmaddo wG workflows handle conditionals and branching?15:29
ckotilyes, but we create the report outside of webgui based on our ticketing system, and then a cgi script feeds the report to webgui15:29
knowmadwhat ticketing solution are you using?15:29
ckotilconditionals yes. not sure what you mean by branching.15:30
ckotilfootprints.15:30
knowmadnot heard of that one15:30
ckotilits not too popular.15:30
knowmadi mean that if an approval gets denied at step 2, the workflow branches back to step 1 instead of moving forward to step 315:30
ckotilwe bought it years ago when it was just  startup then Numera bought them out and now doesnt do much with it.15:30
+MrHairgreaseknowmad: versioning and workflow are two seperate systems15:30
+MrHairgreaseif someone changes content that need to go through an approval workflow a new version is created for that content and its asset is locked15:31
knowmadyes, 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 needs15:31
ckotilah. 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 report15:31
+MrHairgreaseknowmad: it probably does15:31
ckotilyeah its very flexible15:32
+MrHairgreaseckotil: correct 15:32
+MrHairgreaseit deletes teh versiontag15:32
+MrHairgreasewhich contains that version15:32
ckotilyou can do both. delete the tag, or open it back up15:32
+MrHairgreasethis automatically rolls the non comitted versionback15:32
knowmadok, i see; i haven't done much with version approvals yet15:32
+MrHairgreasetrue15:32
+MrHairgreaseanyways15:33
+MrHairgreasethe workflow system has in itself othing todo with versioning15:33
+MrHairgreaseknowmad: if the current system doesn't do what you want, you could write an activity that does15:33
ckotilso there 3 types of workflow too.15:33
knowmadbasically what i need to build is a user-friendly interface for building workflows and a way to check status on them15:33
+MrHairgreasethe workflow system is pretty generic15:33
+MrHairgreaseah15:34
+MrHairgreasei see15:34
ckotilerr.3 types of workflow activities 15:34
knowmadthis client will be running say 60-80 projects at any given time15:34
+MrHairgreasei know jt had plans for making everything more visble and user freindly15:35
knowmadi'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 them15:35
+MrHairgreasebut you have to ask him about that15:35
knowmadyeah, it looks like i'll be doing that15:35
+MrHairgreaseand i think that is shelved for noe15:35
knowmadso a workflow has states right?15:35
+MrHairgreaseanyway, whether you go one way or the other15:35
ckotilyes.15:35
+MrHairgreaseyou still have to build stsus pages and stuff15:35
knowmadcan a state have custom fields?15:36
knowmadi've really got to dig into the POD15:36
+MrHairgreaseusing webgui's system just saves you a whole lot of work in implementing teh workflow15:36
+MrHairgreasewhat do you mean with custom fiedl?15:36
knowmadsay i have a workflow with 20 states15:36
+MrHairgreaseno15:36
knowmadmaybe 10 of those are performed by user a and 10 by user b15:36
+MrHairgreasestates are the state of the activity15:37
knowmadso i'd have 20 activities inside the workflow15:37
+MrHairgreaseyou prolly mean if activities can store their own properties right?15:37
knowmadhere's where the terminology gets whacky to me15:37
knowmada workflow is a collection of activities but the activities are perl scripts called workflows (or are in the Workflow folder)15:37
+MrHairgreasethe state of an activity tell spectre what to do next15:38
knowmads/folder/namespace/15:38
+MrHairgreaseno15:38
knowmadso an activity can have custom fields and we could assign a user id to the custom field15:38
+MrHairgreaseactivities are in webgui::workflow::activity15:38
knowmadoh15:38
+MrHairgreaseyeah15:38
+MrHairgreasebut15:38
+MrHairgreaseonly if the activity type is WebGUI::User15:39
+MrHairgreaseactivities are being passed an object15:39
+MrHairgreasewhich defines their type15:39
knowmadyeah, that never made much sense to me15:39
+MrHairgreaseanyway, check out the WebGUI/Workflow/Activity directory15:39
+MrHairgreasean the acivities in ther15:39
+MrHairgreasee15:39
knowmadyes, i see now15:39
+MrHairgreasei wrote a bunch of activities to do all kinds of stuff15:40
knowmadso if the activity type is WebGUI::User then I can assign an owner to the activity?15:40
knowmadyeah, i can see that15:40
+MrHairgreaseno15:40
+MrHairgreasei'm not sure if yo can do that15:40
knowmadi think we need to do an Acme talk on Workflow this year at the WUC 15:40
+MrHairgreaseit's the object that is passed to the activity15:40
knowmadoh, so i'd still need a custom field15:40
+MrHairgreaseacme on workflow?15:41
knowmadreally all i need to do is track who is assigned to do the task15:41
+MrHairgreasethat talk will take some time to demonstrate15:41
+MrHairgreaseyou can have as much custom fields as you like15:41
knowmadthere's probably some crazy stuff you could do with workflows15:41
+MrHairgreasetheir in the definition method15:41
knowmadand i'm sure you have some you've already done ;)15:41
+MrHairgreasenah15:42
+MrHairgreasei just let em pay my beer tab15:42
+MrHairgrease=)15:42
knowmadsee, there's #115:42
knowmad#2 is to get them to clean up the house15:42
+MrHairgreaseoeh15:42
+MrHairgreasethat is a good one15:43
knowmadLOL15:43
knowmadthese little guys are going to be very useful15:43
knowmadok, thanks for the chat15:43
knowmadback to the email grindstone15:44
+MrHairgreaseok15:44
-!- SDuensin [n=Scott@53.sub-75-205-56.myvzw.com] has joined #WebGUI15:47
SDuensinMorning.15:53
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui15:54
estivenMorning16:04
estivenBuenos días..16:04
-!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui16:20
-!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has quit []16:41
-!- estiven [n=estiven@static-adsl201-232-86-73.epm.net.co] has quit [Read error: 113 (No route to host)]16:42
-!- bopbop [n=kmccombs@71-82-214-154.dhcp.mdsn.wi.charter.com] has joined #webgui16:52
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui16:56
-!- mode/#webgui [+o rizen] by ChanServ16:56
-!- BartJol [n=plainstu@194.171.50.123] has left #webgui []17:00
CIA-52WebGUI: jt * r5747 /translations/Dutch/Dutch/ (Asset_Calendar.pm Asset_Photo.pm Asset_Gallery.pm): update_from_translation_server17:03
-!- dionak [n=diona@97.66.185.250] has joined #webgui17:09
-!- perlmonkey2 [n=perlmonk@casr-dev.fwsm2ppuser.ou.edu] has joined #webgui17:25
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui17:46
-!- mode/#webgui [+o preaction] by ChanServ17:46
lisettehello17:48
CIA-52WebGUI: jt * r5748 /translations/French/French/WebGUI.pm: update_from_translation_server17:48
lisettei have a dblink17:48
lisetteand i do a select and i need obtain the first result, how to do?17:48
+MrHairgreaseuse an sql report17:51
lisetteno, i need this in a macro17:51
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:52
+MrHairgreasedon't use resultset directly17:53
+MrHairgreaseyou don't need too.17:53
lisetteYYthen it continues?17:53
lisetteok, thanks17:53
+MrHairgreasewhat do you mean with then it continues?17:53
lisettei don't see you preview messagge17:53
+MrHairgreaseok17:54
+MrHairgreaseactuall $session->db is a dblink too17:54
+MrHairgreaseto the webgui database17:54
+MrHairgreaseso every method you can call on session->db you can call on any dblink17:54
lisetteok17:59
lisettehow to access of the first element $result[0] ?17:59
lisetteor 117:59
+MrHairgreasewhat do you mean with the first result?18:00
lisetteyes18:00
+MrHairgreasethe first row?18:00
lisetteyes18:00
+MrHairgreasethe line i pasted returns an array containg the columns you selected.18:01
+MrHairgreaseso that method only returns one row18:01
+MrHairgreaseif you need only one column from one row you'd best use quickScalar18:02
lisetteThen you already got the first result?18:02
+MrHairgreasethe method i posted returns the first row returned by your query18:03
-!- ryuu_ro_ [n=rory@194.171.50.69] has quit []18:03
lisettethanks18:05
-!- khenn [n=khenn@24-159-239-186.dhcp.mdsn.wi.charter.com] has joined #WebGUI18:08
-!- mode/#webgui [+o khenn] by ChanServ18:08
-!- khenn [n=khenn@24-159-239-186.dhcp.mdsn.wi.charter.com] has left #WebGUI []18:09
@rizenMrHairgrease what's your progress with payment stuff?18:17
@rizenit ok if it's not anything18:17
@rizenjust checking in18:17
+MrHairgreaseI'm still where I was last week18:17
@rizenwhich is?18:17
+MrHairgreasethat is: 18:17
+MrHairgreasesvn status18:19
+MrHairgrease?      t/Shop/PayDriver.t18:19
+MrHairgrease?      t/Shop/Pay.t18:19
+MrHairgrease?      lib/WebGUI/Shop/PayDriver.pm18:19
+MrHairgreasewhich are all pretty much finished18:19
@rizenhow come i don't see any of those in svn?18:19
+MrHairgreaseb/c I haven't tested them yet18:19
+MrHairgreaseI cannot reaaly test em w/o a payment plugin18:19
+MrHairgreasewhich will be Cash18:20
+MrHairgreasesince that will be the most simple18:20
@rizenok since you are as far as you are, i have a question for you18:20
@rizendo 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
@rizencuz i'm thinking for consistency sake that it would make more sense that way18:21
+MrHairgreaseThink so\18:22
+MrHairgreasebut wasn't it meant to be like this anyway?18:22
@rizenif you look at WebGUI::Shop::Ship in svn Pay was meant to be designed the same way as it is now18:22
@rizenbut i'm thinking about changing it so it has a real constructor rather than making all the methods be class methods18:23
+MrHairgreaselet me check18:23
@rizenthat was you don't have to pass session around all over the place18:23
+MrHairgreasehang on18:23
+MrHairgreaseoh i see18:24
+MrHairgreasethere's no getShipper yet18:24
@rizenright18:24
+MrHairgreasejust getSHippers18:24
@rizenbecause new() does that18:24
@rizennew is getShipper() right now18:24
@rizenbut i'm thinking that new should be the constructor for WebGUI::Shop::Ship rather than acting as getShpper()18:25
@rizenand then there should be a getShipper() method18:25
+MrHairgreaseyes18:25
+MrHairgreaseI agree18:25
+MrHairgreaseb/c I thought it would work differently =)18:25
@rizenok i'll write WebGUI::Shop::Pay for you too then because it is just a copy of Ship18:25
@rizenwith some minor mods18:25
+MrHairgreaseok18:26
+MrHairgreaseI 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:26
CIA-52WebGUI: jt * r5749 /translations/French/French/Invite.pm: update_from_translation_server18:27
@rizenunderstood, it happens to me all the time18:27
@rizen=)18:27
+MrHairgreaseI'll try to do the Cash driver this weekend18:27
+MrHairgreasecannot promise that though18:27
@rizenok18:27
+MrHairgreaselast day I returned about 23.45 from th euniversity18:27
+MrHairgreaseso I really like some time off in the weekends =)18:28
+MrHairgreasecoding is fun however18:28
+MrHairgreaseso we'll see18:28
@rizenalso understood18:28
-!- BartJol [n=plainstu@194.171.50.123] has joined #webgui18:29
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has quit ["Leaving."]18:36
-!- BartJol [n=plainstu@194.171.50.123] has left #webgui []18:39
CIA-52WebGUI: graham * r5750 /WebGUI/ (4 files in 4 dirs): preparing for 7.5.6 dev18:47
CIA-52WebGUI: graham * r5751 /WebGUI/ (6 files in 5 dirs): added i18n for calendar18:47
CIA-52WebGUI: graham * r5752 /WebGUI/ (docs/changelog/7.x.x.txt lib/WebGUI/AssetExportHtml.pm): fixed: exporting as HTML leaks sessions for inaccessible assets18:47
CIA-52WebGUI: graham * r5753 /WebGUI/ (7 files in 4 dirs): new datepicker18:47
-!- MrHairgrease [n=martin@194.171.50.69] has left #webgui []18:54
CIA-52WebGUI: jt * r5754 /branch/WebGUI_Commerce/lib/WebGUI/ (5 files in 2 dirs): shipping is closer19:30
lisettehello19:45
-!- bopbop [n=kmccombs@71-82-214-154.dhcp.mdsn.wi.charter.com] has quit []20:09
CIA-52WebGUI: graham * r5755 /WebGUI/ (4 files in 4 dirs): Use UTF8 for database connection when connecting to MySQL20:15
ckotilanyone 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:31
knowmadhave you checked the mod_rewrite cookbook?20:36
knowmadhttp://rewrite.drbacchus.com/20:37
ckotilyeah. i just figured it out. QUERY_STRING pulls in the parameters20:41
ckotilREQUEST_URI doesnt seem to.20:41
knowmadplease post it to the wiki20:41
knowmadi just setup a page for this kind of stuff yesterday20:41
ckotilRewriteCond %{QUERY_STRING} ^viewname=manlan-interfaces(.*)         20:42
ckotilRewriteRule ^/i2net/show-view-graphs.cgi /manlan/ [R]20:42
knowmadhold on and i'll give you the link20:42
ckotilthats what i had to do basically.20:42
ckotilyou think this would apply to your wiki entry?20:42
knowmadhttp://www.webgui.org/community-wiki/customizing-wre-configuration20:43
knowmadyes20:43
ckotilhrmm20:49
ckotilill try to relate it to webgui.20:49
knowmadyeah, i see your point20:51
knowmadare you trying to take over the function of an old cgi script?20:51
knowmadthat could be a good angle for your entry20:51
-!- perlmonkey2 [n=perlmonk@casr-dev.fwsm2ppuser.ou.edu] has quit ["Leaving."]21:11
CIA-52WebGUI: graham * r5756 /WebGUI/ (3 files in 3 dirs): fixed: changing image thumbnail size doesn't resize image21:17
ckotilyeah, i like it.21:20
CIA-52WebGUI: graham * r5757 /WebGUI/ (docs/changelog/7.x.x.txt lib/WebGUI/Config.pm): fixed: loadAllConfigs loads hidden files21:35
CIA-52WebGUI: graham * r5758 /modules/Config-JSON/lib/Config/JSON.pm: croak with parse error instead of die21:35
CIA-52WebGUI: jt * r5759 /translations/Polish/Polish/WebGUI.pm: update_from_translation_server22:17
CIA-52WebGUI: graham * r5760 /WebGUI/ (2 files in 2 dirs): ensure proper XML for ITransact messages22:17
lisettei can do a buildArray with WebGUI::DatabaseLink?22:19
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui22:22
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [Remote closed the connection]22:22
@rizenyou can do anything in WebGUI::SQL with a db link22:23
lisettebut i have a another database 22:23
lisetteno wengui22:24
lisettewebgui22:24
@rizendoesn't matter22:24
@rizenif you have a database link you can do anything in WebGUI::SQL22:25
@rizenbuildArray quickHash, anything22:25
-!- jdan [n=jdan@xdsl-461.lubin.dialog.net.pl] has quit ["Leaving"]22:28
CIA-52WebGUI: jt * r5761 /branch/WebGUI_Commerce/ (3 files in 3 dirs): added payment manager22:34
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui22:46
CIA-52WebGUI: graham * r5762 /wrebuild/ (build.sh wre/lib/WRE/Config.pm): include drive letter for getRoot on windows23:02
-!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI23:04
elninohello.23:04
elninototally different discussionfrom last nights. BTW, wierdness is gone.23:05
elninoI 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
elninofor long fields, and perl keeps truncating the data.23:07
elninoOnly 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:14
CIA-52WebGUI: graham * r5763 /WebGUI/ (docs/changelog/7.x.x.txt lib/WebGUI/Keyword.pm): fixed: fatal error duplicate keywords added to a wiki page23:21
ckotilknowmad: I added that to the wiki. dunno how useful it will be ;)23:28
-!- SDuensin [n=Scott@53.sub-75-205-56.myvzw.com] has quit ["Leaving"]23:50
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit ["Leaving"]23:57
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui23:59
-!- mode/#webgui [+o preaction] by ChanServ23:59
--- Day changed Sat Mar 08 2008
CIA-52WebGUI: 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 area00:03
@preactionlord, you had to fix that? the 7.5 series changes that related links thing completely00:05
-!- dionak [n=diona@97.66.185.250] has quit []00:22
knowmadckotil: it's a start00:39
knowmadi did add a note that the recipe could be useful for cases when replacing cgi scripts with webgui assets00:40
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit []00:44
-!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has quit [Read error: 110 (Connection timed out)]01:40
-!- lisette [n=liraos@static-adsl201-232-86-73.epm.net.co] has quit [Read error: 113 (No route to host)]01:49
-!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI02:04
CIA-52WebGUI: jt * r5765 /branch/WebGUI_Commerce/lib/WebGUI/ (5 files in 3 dirs): very close to having ship driver management working02:22
-!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has quit [Read error: 110 (Connection timed out)]02:26
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [Read error: 113 (No route to host)]02:34
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui02:46
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit [Remote closed the connection]03:06
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI03:25
-!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI05:39
-!- elnino_laptop [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI06:23
-!- elnino_laptop [n=elnino@user-38q49cv.cable.mindspring.com] has quit [Read error: 104 (Connection reset by peer)]06:24
-!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has quit [Read error: 110 (Connection timed out)]06:41
-!- preaction_ [n=doug@static-72-1-4-143.ntd.net] has joined #webgui07:07
-!- mode/#webgui [+o preaction_] by ChanServ07:07
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)]07:24
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has quit [Read error: 110 (Connection timed out)]11:54
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI16:48
-!- knowmad [n=william@97.66.185.250] has quit ["Leaving."]17:16
-!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui17:54
-!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has quit [Read error: 110 (Connection timed out)]18:35
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has joined #webgui18:48
-!- mode/#webgui [+v MrHairgrease] by ChanServ18:48
CIA-52WebGUI: 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.19:33
CIA-52WebGUI: jt * r5767 /translations/French/French/Asset_Survey.pm: update_from_translation_server23:56
--- Day changed Sun Mar 09 2008
-!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui00:03
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has left #webgui []01:04
-!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has quit []02:52
-!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has quit ["Windows doesn't have users, it has hostages."]04:27
-!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has joined #webgui04:28
-!- mode/#webgui [+v Radix_] by ChanServ04:28
-!- 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 #webgui04:32
-!- mode/#webgui [+v Radix_] by ChanServ04:32
-!- preaction_ [n=doug@static-72-1-4-143.ntd.net] has quit [Connection timed out]04:50
CIA-52WebGUI: colin * r5768 /branch/WebGUI_Commerce/t/Shop/ShipDriver.t: 06:51
CIA-52WebGUI: Fix failing Shop/ShipDriver.t tests. If the definition sub, fields was06:51
CIA-52WebGUI: changed to properties, and getName is now a class method that requires06:51
CIA-52WebGUI: a session variable.06:51
CIA-52WebGUI: colin * r5769 /branch/WebGUI_Commerce/t/Shop/ShipDriver/FlatRate.t: fix the same failing issues in ShipDriver in FlatRate06:51
CIA-52WebGUI: colin * r5770 /branch/WebGUI_Commerce/t/Shop/Ship.t: fix almost all the failing Ship tests07:31
CIA-52WebGUI: colin * r5771 /branch/WebGUI_Commerce/lib/WebGUI/Shop/ (ShipDriver.pm Ship.pm): 07:31
CIA-52WebGUI: Tweak a little POD.07:31
CIA-52WebGUI: Fix a bad exception message.07:31
-!- perlDreamer [n=colink@65.203.133.169] has joined #webgui07:41
-!- mode/#webgui [+v perlDreamer] by ChanServ07:41
-!- perlDreamer [n=colink@65.203.133.169] has quit [Client Quit]07:42
-!- preaction_ [n=doug@static-72-1-4-143.ntd.net] has joined #webgui13:08
-!- mode/#webgui [+o preaction_] by ChanServ13:08
-!- preaction_ [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 113 (No route to host)]13:33
-!- BartJol [n=plainstu@54-167.surfsnel.dsl.internl.net] has joined #webgui15:35
-!- BartJol [n=plainstu@54-167.surfsnel.dsl.internl.net] has left #webgui []15:57
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui17:12
-!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui17:52
CIA-52WebGUI: jt * r5772 /translations/French/French/Asset_Poll.pm: update_from_translation_server18:47
-!- 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)19:34
-!- Netsplit over, joins: @Haarg, dionak, perlmonkey2, +Radix_, SDuensin, ckotil, diakopter, nuba, perlbot, CIA-52 (+3 more)20:01
-!- 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:20
-!- Netsplit over, joins: @Haarg, dionak, +Radix_, SDuensin, ckotil, diakopter, GooeyOfSteel, steveo_aa, @apeiron, CIA-52 (+2 more)20:28
CIA-52WebGUI: jt * r5773 /translations/French/French/ (Asset_Survey.pm Asset_File.pm): update_from_translation_server20:31
CIA-52WebGUI: jt * r5774 /translations/French/notes.txt: update_from_translation_server20:31
-!- nuba [n=nuba@hq.imaterial.org] has quit ["Reconnecting"]21:29
-!- nuba [n=nuba@hq.imaterial.org] has joined #webgui21:29
-!- preaction_ [n=doug@static-72-1-4-143.ntd.net] has joined #webgui21:47
-!- mode/#webgui [+o preaction_] by ChanServ21:47
-!- preaction_ [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)]22:27
-!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has quit []23:11
--- Day changed Mon Mar 10 2008
-!- preaction_ [n=doug@static-72-1-4-143.ntd.net] has joined #webgui01:20
-!- mode/#webgui [+o preaction_] by ChanServ01:20
-!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui01:44
-!- mode/#webgui [+v Radix-wrk] by ChanServ01:44
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has quit ["Leaving"]04:43
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI04:50
CIA-52WebGUI: colin * r5775 /branch/WebGUI_Commerce/lib/WebGUI/SQL.pm: More POD for SQL, read method06:50
CIA-52WebGUI: colin * r5776 /branch/WebGUI_Commerce/lib/WebGUI/SQL/ResultSet.pm: more POD for SQL::Result, documenting what read does06:50
CIA-52WebGUI: colin * r5777 /branch/WebGUI_Commerce/ (3 files in 3 dirs): 06:50
CIA-52WebGUI: Add i18n for Tax, for the UI.06:50
CIA-52WebGUI: Begin to flesh out the DataTable JS for www_view. Add a method to slurp all the06:50
CIA-52WebGUI: tax data out of the db at once.06:50
CIA-52WebGUI: Add a test for the slurp method, and stop using the private sub that used to06:50
CIA-52WebGUI: do it in the tests.06:50
-!- Haarg [n=haarg@24-177-119-178.dhcp.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"]07:04
-!- cntry [n=Lucky@74-36-44-233.br1.shlw.az.frontiernet.net] has joined #webgui07:21
-!- cntry [n=Lucky@74-36-44-233.br1.shlw.az.frontiernet.net] has quit [Client Quit]07:22
-!- cntry [n=Lucky@74-36-44-233.br1.shlw.az.frontiernet.net] has joined #webgui07:24
cntryIs webgui based on php?07:26
+Radix-wrkno07:27
+Radix-wrkwebgui is written in perl07:27
cntrythanks'07:28
cntryHave a site up since 01 using postnuke, but it now getting slammed by hackers, so thought I would give this a try.07:30
@apeironcntry, I'd say to try a demo first: demo.plainblack.com07:31
cntryjust started one, will work on it tomorrow and see how it works.07:31
@apeironYou may want to create another one tomorrow. They last 24 hours.07:32
@apeironIf 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:33
+Radix-wrkor heck, use the vmware image07:36
+Radix-wrkeasy backup and restore then with vmware server07:36
@apeironHmm, true. Good point.07:37
cntryI dont have a linux server setup at home right now.07:37
+Radix-wrkvmware server is free for windows07:37
cntryIt will be going on a redhat 5 server if I decide to use it07:37
@preaction_WRE has a windows build too07:37
@apeironAnd Mac.07:37
@preaction_freebsd and openbsd too07:38
@apeironAnd 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 compile07:38
@apeironpreaction_, Got an error log?07:38
@preaction_not anymore. i think the box itself is dying. lots of spontaneous reboots07:38
@preaction_but nothing in dmesg, so i'm thinking power supply07:39
@apeironhrm. 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 sleep07:39
@apeironheh, g'night sir.07:39
+Radix-wrknite07:39
@preaction_i know you at least need the latest OpenSSL in order to get the WRE to compile07:40
cntrySo to run on linux server I will have to install WRE?07:40
@preaction_cntry, no07:40
@apeironcntry, You don't *have* to.07:40
@preaction_but it's just so much easier07:40
+Radix-wrkit IS the easiest way to install webgui tho07:40
@apeironcntry, WRE is "download tarball. Extract tarball. Read install.txt. Follow step by step instructions. go."07:40
cntryok Ill look at it in the morning07:41
@apeironcntry, Trust me, you'll spend more time downloading the tarball than you will reading the install.txt. :)07:41
cntrycool07:41
@apeironcntry, By the way, which Linux will this be on?07:42
cntrymy host shouldn't have a problem with WRE install?07:42
@apeironhmm.07:42
cntryRedhat 5 I believe07:42
@apeironRH EL 5?07:42
cntryyeah07:42
@apeironYeah, there's a tarball for the latest WRE.07:43
@apeironAs for your host, well, hmm.07:43
+Radix-wrkyou got root on that box?07:43
@apeironThe WRE comes with everything you need, including An apache setup that's fine-tuned to work well for WebGUI.07:43
@apeironSo yeah, it works best if you have root privs.07:44
@apeironHowever, if you're just doing postnuke on that host, PB does WebGUI hosting.07:44
cntrydon't believe so, is a virtual host with cpanel etc.07:44
+Radix-wrkvirtual private server account?  or just another user on a big machine with lots of other users?07:45
cntrywill email them in the morning and ask07:45
+Radix-wrkif the latter, then you're going to have a much harder time installing it07:45
+Radix-wrkI have a cheap $15/month vps account I run webgui on myself07:46
cntryJust another user, have a reseller account can add domains and users, but I am one of many07:46
cntryhttp://www.networkredux.com/reseller.html07:48
+Radix-wrkDon't think you'll be able to run webgui on that kind of account imho07:49
+Radix-wrkIt may be possible.. I don't know07:50
@apeironIt'd be messy setting up WebGUI's Apache to play nicely with the httpd they're running.07:50
@apeironNot to mention database stuff.07:51
+Radix-wrkwell.. database side of things is fairly standard mysql - but apache config is definitely custom and requires root lvl privs07:52
+Radix-wrkperl stuff you can workaround using same method as wre07:52
cntrySent off an email top see what they say, will know by morning.07:56
+Radix-wrkGood Luck :)07:57
cntryHow tough is the layout or templates??07:58
+Radix-wrkthere's an excellent wiki article that guides you through creating your first page layout07:58
+Radix-wrktemplates aren't that hard either, but you need to know your html/css to get the best results07:59
@apeironcntry, 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-wrkyou don't have to know a scrap of code to be able to work with webgui tho07:59
@apeironcntry, So you'd have something like: Hello <strong><tmpl_var user.name></strong>!07:59
cntryHere is the site I am going to swap to gui would like to keep the layout   http://www.123az.com/rideaz/07:59
@apeironAnd it'd take the value of user.name defined in the Perl and put it there in the output.07:59
@apeironcntry, WebGUI is really, really flexible in terms of templates. You can customise so much of how it does things.08:00
@apeironcntry, I'm glad to see the current site is using XHTML, as WebGUI does as well.08:01
cntrycool, just going to have to learn pearl I guess, not much of a coder08:01
@apeironDepends upon what you need to do.08:01
+Radix-wrkyou shouldn't need to learn perl imho08:01
cntrycool08:01
+Radix-wrkthat's the beauty of webgui08:01
@apeironAs Radix-wrk said, you don't need to know perl to change how a site looks.08:01
+Radix-wrkalmost everything is templates and fully customisable08:02
+Radix-wrkyou design a template once.. reuse everywhere you want08:02
@apeironhmmmm08:02
cntrycan use dreamweaver for a lot of it then?08:03
+Radix-wrkthere's a built in html editor that will help you.. but yeah, advanced layout is best done in something like dreamweaver, etc08:04
@apeironcntry, You may want to take a look at cmsmatrix.org and compare some products there.08:04
cntryjust bought cs3 web premium so should have all I need except talent.......08:05
@apeironcntry, WebGUI has versioning just like Postnuke (according to cmsmatrix) so you can rollback an ugly design or two. :)08:06
cntryThanks for all the info, will see what I can come up with in the morning and probably be back for more advise.08:09
cntryNight all or good afternoon as the case might be............08:10
@apeironEarly morning for me...08:10
* apeiron coughs.08:10
+Radix-wrkafternoon 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:11
-!- Haarg [n=haarg@24-177-119-178.dhcp.mdsn.wi.charter.com] has joined #webgui08:13
-!- mode/#webgui [+o Haarg] by ChanServ08:13
-!- Radix-wrk [n=Jesse@203.161.68.67] has quit [Read error: 104 (Connection reset by peer)]08:31
-!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui08:34
-!- mode/#webgui [+v Radix-wrk] by ChanServ08:34
-!- Radix-wrk [n=Jesse@203.161.68.67] has quit [Read error: 104 (Connection reset by peer)]08:37
-!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui08:43
-!- mode/#webgui [+v Radix-wrk] by ChanServ08:43
-!- ryuu_ro [n=rory@194.171.50.69] has joined #webgui08:45
-!- Radix-wrk [n=Jesse@203.161.68.67] has quit ["Leaving"]09:49
-!- AMH_bo1 [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui09:58
-!- BartJol [n=plainstu@194.171.50.123] has joined #webgui10:18
-!- jdan [n=jdan@xdsl-461.lubin.dialog.net.pl] has joined #webgui10:52
jdanDoes 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:05
jdanThe problem is there is no groupeId 2 in my database11:06
+Radix_Hmm.. 1 is visitor11:06
+Radix_3 is admin11:06
+Radix_no idea what 2 is11:06
jdanSo look at /WebGUI/Operation/Inbox.pm11:08
jdanEvery 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 help11:09
jdanok, thx11:10
jdanI 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 user11:14
jdanSo 2 means registered user11:14
+Radix_cool... mystery explained :)11:21
-!- BartJol [n=plainstu@194.171.50.123] has quit ["Leaving."]11:56
-!- 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 #webgui12:20
-!- preaction_ [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)]13:02
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has quit ["Leaving"]13:05
CIA-52WebGUI: jt * r5778 /translations/French/French/WebGUI.pm: update_from_translation_server14:06
-!- BartJol [n=plainstu@194.171.50.69] has joined #webgui14:12
-!- SDuensin [n=Scott@240.sub-75-206-117.myvzw.com] has joined #WebGUI14:51
SDuensinMorning.14:52
BartJolmorning15:24
AMH_bo1Morning! 15:33
-!- Haarg [n=haarg@24-177-119-178.dhcp.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"]15:51
-!- AMH_henry [n=henry@alphamega-dmp.xs4all.nl] has joined #webgui16:05
-!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui16:09
-!- mode/#webgui [+o Haarg] by ChanServ16:09
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui16:09
-!- mode/#webgui [+o rizen] by ChanServ16:09
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui16:52
-!- preaction_ [n=doug@static-72-1-4-143.ntd.net] has joined #webgui16:55
-!- mode/#webgui [+o preaction_] by ChanServ16:55
-!- AMH_henry [n=henry@alphamega-dmp.xs4all.nl] has left #webgui []17:17
CIA-52WebGUI: graham * r5779 /WebGUI/docs/ (2 files in 2 dirs): fixed: event related links may not work with some group names17:19
-!- lisette [n=liraos@static-adsl201-232-86-73.epm.net.co] has joined #webgui17:20
-!- 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 #webgui17:26
-!- mode/#webgui [+v Radix_] by ChanServ17:26
-!- ryuu_ro [n=rory@194.171.50.69] has quit []17:36
-!- bopbop [n=kmccombs@71-82-214-154.dhcp.mdsn.wi.charter.com] has joined #webgui17:43
-!- AMH_henry [n=henry@alphamega-dmp.xs4all.nl] has joined #webgui17:50
jdanI 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:52
@preaction_user communications, approval messages, but if the user has a configured email address they get emailed anything that goes in their inbox17:55
jdanSory, Can I adapt ...17:55
-!- BartJo1 [n=plainstu@194.171.50.123] has joined #webgui17:56
jdanI read at package WebGUI::Inbox that it is for workflow17:57
jdanSo I don't know what I can block17:57
@preaction_approval messages, yes17:57
@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
jdanok, understnd. better I make additinaly servce17:58
jdanAnd second question, when and where WebGUI sneds email? Immediately after sending message or in background (spectre ...)? 18:00
@rizenyou can choose18:00
@rizenmy $mail = WebGUI::Mail::Send->new18:00
@rizen$mail->queue18:01
@rizen$mail->send18:01
jdanthanks18:01
-!- ryuu_ro [n=rory@c529ce350.cable.wanadoo.nl] has joined #webgui18:04
-!- khenn_ [n=khenn@24-159-239-186.dhcp.mdsn.wi.charter.com] has joined #WebGUI18:04
-!- AMH_bo1 [n=bob@alphamega-dmp.xs4all.nl] has quit ["Leaving."]18:05
-!- BartJol [n=plainstu@194.171.50.69] has quit [Read error: 110 (Connection timed out)]18:07
-!- dionak [n=diona@97.66.185.250] has joined #webgui18:09
-!- jdan [n=jdan@xdsl-461.lubin.dialog.net.pl] has quit ["Leaving"]18:16
-!- AMH_henry [n=henry@alphamega-dmp.xs4all.nl] has left #webgui []18:28
dionaki'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:35
dionakThe idea is to create a Work Queue based on the imported records.18:36
@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() sub18:38
dionakHow could that work with the form? There is extra meta-data in addition to the file.18:39
@preaction_add it to the asset properties18:39
dionakCan 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:42
@preaction_of course18:43
@preaction_override www_edit to show getEditForm within a style template18:43
dionakexcellent! thanks doug! You've just saved me a lot of time. i'll start looking into this. 18:43
dionakIt makes a lot of sense.18:44
dionakDo I need to create a new table for the subclass?18:44
@preaction_yep18:44
dionakk, thanks again.18:44
@preaction_there should be a tutorial on the wiki for creating assets. otherwise you'll have wait for the dev guide18:45
dionaki'll check out the tutorial. 18:48
dionaki've created an asset before (once) but it's been a while.18:48
CIA-52WebGUI: jt * r5780 /translations/French/French/Asset_Survey.pm: update_from_translation_server18:53
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit []18:57
-!- BartJo1 [n=plainstu@194.171.50.123] has left #webgui []19:06
lisettehello19:21
lisettehow to init a session with another user in a macro?19:21
@preaction_WebGUI::Session->new( $userId ) ; i think19:28
-!- ryuu_ro [n=rory@c529ce350.cable.wanadoo.nl] has quit []19:28
lisettethanks19:34
CIA-52WebGUI: jt * r5781 /translations/French/French/Asset_Survey.pm: update_from_translation_server19:36
-!- chiggsy [n=chiggsy@lcc.wbb.net.cable.rogers.com] has joined #webgui19:43
-!- MrHairgrease [n=martin@wlan-145-94-219-181.wlan.tudelft.nl] has joined #webgui20:11
-!- mode/#webgui [+v MrHairgrease] by ChanServ20:11
-!- bopbop [n=kmccombs@71-82-214-154.dhcp.mdsn.wi.charter.com] has quit []20:12
perlmonkey2dear 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:13
* perlmonkey2 isn't even exaggerating.20:14
perlmonkey2quiet today.20:16
perlmonkey2oh...lunch time20:16
-!- ascii [n=ascii@host-64-139-233-19.nctv.com] has quit [Read error: 110 (Connection timed out)]20:47
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."]20:53
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui20:54
-!- jua1 [n=juangui@static-adsl201-232-86-73.epm.net.co] has joined #webgui21:56
jua1hello21:56
jua1i 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 fields22:00
jua1is it posible?22:00
@preaction_yes22:06
jua1how?22:15
@preaction_make a new form control to handle it22:16
jua1ah22:29
-!- SDuensin [n=Scott@240.sub-75-206-117.myvzw.com] has quit ["Leaving"]22:54
CIA-52WebGUI: jt * r5782 /translations/French/French/Asset_Survey.pm: update_from_translation_server22:58
--- Day changed Tue Mar 11 2008
-!- 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 #webgui00:07
-!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: perlbot, chiggsy, @apeiron00:13
-!- Netsplit over, joins: @apeiron, chiggsy, perlbot00:14
-!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"]00:23
CIA-52WebGUI: 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 day00:29
CIA-52WebGUI: graham * r5784 /branch/WebGUI_7.4/lib/WebGUI/Asset/Event.pm: document related links regex00:29
-!- dionak [n=diona@97.66.185.250] has quit []00:34
-!- patspam [n=chatzill@ppp59-167-82-131.lns2.mel6.internode.on.net] has joined #webgui00:39
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI00:52
-!- jua1 [n=juangui@static-adsl201-232-86-73.epm.net.co] has left #webgui []00:56
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["switching machines"]00:59
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui01:00
-!- MrHairgrease [n=martin@wlan-145-94-219-181.wlan.tudelft.nl] has left #webgui []01:01
-!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui01:22
-!- mode/#webgui [+v Radix-wrk] by ChanServ01:22
-!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui01:26
-!- cap10morgan [n=cap10mor@h19-afsc.ded.indra.com] has joined #webgui01:34
cap10morgandoes the httpproxy wobject make webgui send out a Content-Type header that specifies ISO-8859-1 instead of UTF-8?01:36
-!- chiggsy [n=chiggsy@lcc.wbb.net.cable.rogers.com] has quit []01:38
cap10morgani have a site where most pages specify utf-8 as their charset, except for a page where i have httpproxy wobject01:38
cap10morganwhere it comes out as 8859-101:38
cap10morganvery weird01:38
-!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has quit []01:58
-!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui02: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 #webgui02:41
dionakhey guys...02:42
dionakare you guys still working?02:42
dionaknot 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=past02:43
dionakthere are others02:44
-!- 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 []02:52
-!- cap10morgan [n=cap10mor@h19-afsc.ded.indra.com] has quit []04:09
-!- cap10morgan [n=cap10mor@h19-afsc.ded.indra.com] has joined #webgui04:14
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui04:36
-!- cap10morgan [n=cap10mor@h19-afsc.ded.indra.com] has quit []04:44
-!- cap10morgan [n=cap10mor@h19-afsc.ded.indra.com] has joined #webgui04:46
-!- cap10morgan [n=cap10mor@h19-afsc.ded.indra.com] has quit []04:51
-!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: perlbot, @apeiron05:02
-!- Netsplit over, joins: @apeiron, perlbot05:03
-!- 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 #webgui05:05
-!- mode/#webgui [+o apeiron] by ChanServ05:05
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit [Remote closed the connection]05:28
-!- cap10morgan [n=cap10mor@h19-afsc.ded.indra.com] has joined #webgui05:42
-!- cap10morgan [n=cap10mor@h19-afsc.ded.indra.com] has quit []06:14
-!- cap10morgan [n=cap10mor@h19-afsc.ded.indra.com] has joined #webgui06:20
-!- cap10morgan [n=cap10mor@h19-afsc.ded.indra.com] has quit [Remote closed the connection]06:20
-!- ryuu_ro [n=rory@194.171.50.69] has joined #webgui09:03
-!- preaction_ [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)]09:23
-!- Radix-wrk [n=Jesse@203.161.68.67] has quit ["Leaving"]09:47
-!- patspam [n=chatzill@ppp59-167-82-131.lns2.mel6.internode.on.net] has quit ["ChatZilla 0.9.81 [Firefox 2.0.0.12/2008020121]"]09:58
-!- jdan [n=jdan@xdsl-461.lubin.dialog.net.pl] has joined #webgui10:22
-!- jdanpl [n=jdan@xdsl-461.lubin.dialog.net.pl] has joined #webgui10:48
-!- Haarg [n=haarg@24-177-119-178.dhcp.mdsn.wi.charter.com] has joined #webgui11:05
-!- mode/#webgui [+o Haarg] by ChanServ11:05
-!- jdan [n=jdan@xdsl-461.lubin.dialog.net.pl] has quit [Read error: 110 (Connection timed out)]11:05
-!- Haarg [n=haarg@24-177-119-178.dhcp.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"]11:20
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui11:37
-!- BartJol [n=plainstu@194.171.50.123] has joined #webgui11:59
-!- BartJol [n=plainstu@194.171.50.123] has quit [Read error: 113 (No route to host)]12:21
-!- patspam [n=chatzill@ppp59-167-82-131.lns2.mel6.internode.on.net] has joined #webgui12:25
-!- patspam [n=chatzill@ppp59-167-82-131.lns2.mel6.internode.on.net] has quit ["ChatZilla 0.9.81 [Firefox 2.0.0.12/2008020121]"]12:36
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has quit ["Leaving"]13:18
-!- patspam [n=chatzill@ppp59-167-82-131.lns2.mel6.internode.on.net] has joined #webgui13:29
-!- khenn_ [n=khenn@24-159-239-186.dhcp.mdsn.wi.charter.com] has quit []13:49
-!- BartJo1 [n=plainstu@194.171.50.69] has joined #webgui14:08
-!- MrHairgrease [n=martin@194.171.50.69] has joined #webgui14:19
-!- mode/#webgui [+v MrHairgrease] by ChanServ14:19
jdanplDoes WebGUI library has function to quote replayed message? 14:25
-!- ryuu_ro_ [n=rory@194.171.50.69] has joined #webgui14:48
-!- ryuu_ro [n=rory@194.171.50.69] has quit [Read error: 104 (Connection reset by peer)]14:48
-!- ryuu_ro_ [n=rory@194.171.50.69] has quit []14:59
-!- SDuensin [n=Scott@3.sub-75-206-190.myvzw.com] has joined #WebGUI15:11
SDuensinGreetings.15:23
+MrHairgreaseGreasings!15:23
SDuensin:-)15:23
-!- 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 #webgui15:37
-!- jdan [n=jdan@xdsl-461.lubin.dialog.net.pl] has quit [Client Quit]15:42
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui15:46
-!- mode/#webgui [+o rizen] by ChanServ15:46
+MrHairgreaserizen, is PayDriver->definition meant to be a class method?15:48
@rizenyes15:48
+MrHairgreaseok15:49
@rizenjust like assets, workflow activities, and ship drivers15:49
+MrHairgreaseok15:49
-!- patspam [n=chatzill@ppp59-167-82-131.lns2.mel6.internode.on.net] has quit ["ChatZilla 0.9.81 [Firefox 2.0.0.12/2008020121]"]15:55
-!- CIA-52 [n=CIA@208.69.182.149] has quit []16:00
-!- CIA-21 [n=CIA@208.69.182.149] has joined #WebGUI16:06
-!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui16:12
-!- mode/#webgui [+o Haarg] by ChanServ16:12
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui16:14
-!- perlmonkey3 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui16:43
-!- 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 perlmonkey216:44
-!- perlmonkey3 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui16: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 perlmonkey216:53
-!- perlmonkey3 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui16:57
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [Nick collision from services.]16:57
-!- perlmonkey3 is now known as perlmonkey216:58
-!- juan [n=juangui@static-adsl201-232-86-73.epm.net.co] has joined #webgui17:00
juancan i create in a survey a question with multiple answer but the user can answer several options too17:09
-!- lisette [n=liraos@static-adsl201-232-86-73.epm.net.co] has quit ["Leaving."]17:23
+MrHairgreaserizen: quick question17:34
+MrHairgreasein 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 well17:35
+MrHairgreasemy question: do you want addPaymentGateway to also require a label?17:35
+MrHairgreaseif not, then how should the label be constructed.17:36
+MrHairgreaserizen: 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?17:56
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has left #webgui []18:11
-!- preaction_ [n=doug@static-72-1-4-143.ntd.net] has joined #webgui18:19
-!- mode/#webgui [+o preaction_] by ChanServ18:19
+MrHairgreaserizen: used paymentGateway in stead of payment_Gateway18:26
+MrHairgreaseseems nicer anyway18:26
-!- BartJo1 [n=plainstu@194.171.50.69] has left #webgui []18:34
@rizenmrhairgrease...yes labels are good18:41
@rizenpaymentGateway18:42
+MrHairgreaseah18:44
+MrHairgreasejust committed all my stuff18:44
+MrHairgreaseput in a TEMPORARY_LABEL label for the time being18:44
+MrHairgreaseand a test failing as long as that's there18:45
+MrHairgreasewill change it18:45
+MrHairgreasewhy don't shipdrivers have a label, btw?18:45
perlmonkey2woohooo, on my most expensive operations, I'm getting <100ms ajax calls.  18:47
perlmonkey2So latency+100ms will be the user experience for each event in the survey.  sweet!18:48
+MrHairgreaseis that corrected for timezone differences?18:48
perlmonkey2not quite fast enough if it was a FPS, but plenty fast enough for dragging around objects and submitting updates.18:48
* perlmonkey2 goes to the Indian buffet to celebrate.18:49
CIA-21WebGUI: martin * r5786 /branch/WebGUI_Commerce/ (8 files in 5 dirs): 19:00
CIA-21WebGUI: - Added tests for Pay19:00
CIA-21WebGUI: - Fixed some tests/code for PayDriver19:00
CIA-21WebGUI: - Added i18n for PayDriver19:00
CIA-21WebGUI: - Added a really, really bare-bones Cash plugin.19:00
-!- dionak [n=diona@97.66.185.250] has joined #webgui19:07
-!- MrHairgrease [n=martin@194.171.50.69] has left #webgui []19:17
CIA-21WebGUI: martin * r5787 /branch/WebGUI_Commerce/ (t/Shop/Pay.t lib/WebGUI/Shop/Pay.pm): Require a label to be passed to WebGUI::Shop::Pay->addPaymentGateway19:20
@apeironperlmonkey2, <100ms, very nice!19:21
@apeironperlmonkey2, You're not cheating by using the loopback device, are you? :)19:22
-!- wgGuest31 [n=wgGuest3@static-adsl201-232-86-73.epm.net.co] has joined #webgui20:02
wgGuest31hello20:02
wgGuest31i can return an array from a macro and process with javascript?20:03
@preaction_yes20:06
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has joined #webgui20:08
-!- mode/#webgui [+v MrHairgrease] by ChanServ20:08
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit []20:16
perlmonkey2apeiron: hah, no this is on my dev server20:18
perlmonkey2granted it is on the same subnet.20:18
@apeironperlmonkey2, Still pretty good. 20:19
perlmonkey2yes, 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 #webgui20:20
-!- mode/#webgui [+o rizen] by ChanServ20:20
+MrHairgreaseanybody seen Test::Exception?20:23
+MrHairgreaseit could replace the ugly exception tests we have now20:23
+MrHairgreaseif only it was possible to get the error message 20:23
+MrHairgreasewell, check the error message that is20:24
+MrHairgreasein stead of only chceking the exception class...20:24
+MrHairgreasebut20:24
+MrHairgreasemaybe it is an idea to have a helper function that does20:24
@preaction_i think colin looked at test::exception, dunno what his thoughts were on i20:38
@preaction_t20:38
dionakdoes anyone know why the wre is compiled without support for Innodb? 20:40
dionakor, i should say, mysql is compiled in the WRE without support for Innodb tables20: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 today20:41
-!- juan [n=juangui@static-adsl201-232-86-73.epm.net.co] has left #webgui []20:42
dionakwe're needing innodb for a linked database. 20:42
dionakI'm debating our options20:42
@preaction_recompile without the --without-innodb flag20:43
dionakit's on windows..20:43
@preaction_oh. ew20:43
@preaction_uhmm....20:43
dionakyea..20:43
dionakI 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:44
@preaction_otherwise, it might be easier to disable the wre's mysql and replace it with your own20:45
dionakthat may be what we end up doing. I didn't see any mention of windows in the wrebuild src20:45
@Haargthere isn't an automated build system for windows21:16
@Haargi don't actually know where the mysql we're using comes from21:16
@Haargi would assume it is one of the standard mysql builds though21:16
@Haargseems odd it wouldn't have innodb21:17
-!- jdanpl [n=jdan@xdsl-461.lubin.dialog.net.pl] has joined #webgui21:20
dionakturns out it was disabled in the mysql config file (skip-innodb). i removed that line.21:33
dionaki'll note this in the wiki21:34
-!- wgGuest55 [n=wgGuest5@static-72-85-248-223.bstnma.east.verizon.net] has joined #webgui21:35
-!- 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 #webgui21:36
wgGuest99Hi, I'm looking for help with customizing email receipts to match custom profile changes.21:38
wgGuest99Anyone available to help?21:39
dionakwhat kind of help are you needing?21:45
wgGuest99I 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:46
wgGuest99Right 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
wgGuest99is there a way to integrate that into every receipt email?21:47
dionakwould this be better handled by a support request?21:48
dionaki don't work for PB, so I don't have any info for you. sorry.21:48
wgGuest99Ah, no problem, thanks for letting me know.21:49
dionaksure21:49
wgGuest99Should I send an email to support@plainblack.net, or try to call in?21:50
wgGuest99I called their development team, but noone's manning the phone right now.21:50
dionakwe usually post to the support board on plainblack.com21:50
dionakthe response is generally pretty reasonable.21:50
dionakthey've always responded within a few hours21:51
wgGuest99Alright, thank you so much.21:52
wgGuest99Have a good rest of the afternoon.21:52
dionakyou too.21:52
@preaction_wgGuest99, someone hasn't called you back yet?21:52
wgGuest99Oops, I neglected to leave a message.21:53
wgGuest99I'll try calling right now.21:53
dionaklol21:53
wgGuest99Nobody there at the moment, but I'm heading off in about an hour.21:55
wgGuest99I think it'd be best to just post a question on the support forum for now and check it from home.21:56
wgGuest99Thanks.21:56
jdanplHi, how to enable moderation mode in Collaboration? I see "Approval Workflow" at configuration. But there is not workflow for moderator mode.21:57
@preaction_jdanpl, what is "moderator mode"?21:58
jdanplIf someone sent new message, moderator should check it and approve or discard21:59
@preaction_that's the approval workflow21:59
jdanplI need this featcher for ad service21:59
jdanplok, but when I set "Commit With Apprval" new messages appear in minute on page. So Spectre approves them itself22:02
@preaction_they're posted by people who would be approving. people approving do not need to approve their own content22:03
jdanplIt's greate22:04
jdanplok22:04
jdanplIt's great ;-)22:05
-!- wgGuest99 [n=wgGuest9@static-72-85-248-223.bstnma.east.verizon.net] has quit []22:06
-!- jdanpl [n=jdan@xdsl-461.lubin.dialog.net.pl] has quit ["Leaving"]22:12
-!- SDuensin [n=Scott@3.sub-75-206-190.myvzw.com] has quit ["Leaving"]22:49
@rizenquick poll, what would make a good asset icon for "Thingy"23:26
@rizenThingy is a point and click application builder for WebGUI.23:26
@rizenYou can define database tables with fields assigned to them, make edit/view/search/list screens and link multiple database tables together23:27
@rizenit's kind of a hybrid between data form and sql form23:27
+MrHairgreasemake it the adams family hand23:27
@rizenoooh23:27
+MrHairgreasequestion for you23:27
+MrHairgreasehave you seen Test::Exception?23:28
@rizenyes23:28
+MrHairgreaseit's way nicer than the exceptiontests we do now BUT23:28
@rizenColin originally was using it for the new exception testing stuff, but it turned out to be too limited in some regard23:28
@rizeni don't know what23:28
+MrHairgreaseit cannot check the fields23:28
+MrHairgreaseI made something that can23:29
@rizencolin said that he might patch it later 23:29
@rizenoh23:29
@rizena sublcass, or something new?23:29
@rizenor a patch?23:29
+MrHairgreaselet me paste23:29
+MrHairgreaseit23:29
+MrHairgreasehang on23:29
@rizenanybody have any other ideas than "Thing" from Addams Family23:29
+MrHairgreasehttp://webgui.pastebin.org/2330923:30
+MrHairgreaseThe underscored subs come directly from Test::Exception23:31
+MrHairgreaseI understand what they do23:31
+MrHairgreasebut not why23:31
+MrHairgreasehowever, using upleve  23:31
+MrHairgrease^h^h^h23:31
+MrHairgreasehowever, using the eval statement as it stands there seems to work23:32
@preaction_http://www.csi-stjoe.net/~parkers/drakemaille/Images/thingamajig.jpg <- google image search for thingamajig23:32
@rizenwhat does uplevel do...i haven't heard of that one before23:32
+MrHairgreaseit essentially makes the coderef being evalled in the callers contexts23:33
+MrHairgreases/s//23:33
+MrHairgreaseso uplevel 1 would execute the coderef in the context of eg. Pay.t23:33
+MrHairgreasewithout it, it won't work23:34
+MrHairgreaseTest::Exception uses it too23:34
@preaction_interlocking shapes for the thingy, 3d or not 3d23:34
@rizenwow this module is pretty cool23:35
@rizenthis seems a lot cooler than using evals throughout our test code23:35
+MrHairgreaseyeah, and it avoids all the oogly cmp_deeply's23:36
@rizeni'd say commit it to the 7.5 branch23:36
+MrHairgreaseok23:36
+MrHairgreaseI'll commit it into the commerce branch first23:36
+MrHairgreaseso we can check it out23:37
+MrHairgreaseis that ok?23:37
@preaction_a platypus head. the icon should be a platypus head23:38
+MrHairgreaseare you volunteering your pbwg photo preaction? =)23:39
@preaction_oooh good idea23:39
@preaction_a stylized outline of gooey? a la The Tick's logo?23:39
+MrHairgreaseoh rizen23:39
+MrHairgreaseone caveat23:39
+MrHairgreasebut one that's a good thing I think23:40
@rizensorry, that's what i meant...the commerce branch23:40
+MrHairgreaseit checks only for the actual class23:40
+MrHairgreasein stead of isa23:40
+MrHairgreasethat means that if you throw an Invalidbject23:40
+MrHairgreaseInvalidObject23:40
+MrHairgreaseyou can not tell it to be an InvalidParameter23:41
+MrHairgreasewhile InvalidObject ISA InvalidParameter23:41
@rizeni think that's fine23:41
+MrHairgreaseInvalidParam that is23:41
+MrHairgreasemee too23:41
+MrHairgreaseI just do a ref check where isa_ok is much more thorough23:42
--- Day changed Wed Mar 12 2008
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui00:07
@rizenThingy freakin roxorz00:14
@rizenI don't know if you ever see Yung anymore, but he does amazing work.00:14
+MrHairgreasehaven't seen him in a while00:14
+MrHairgreasei think the last time was november00:14
+MrHairgreaseok, documented and committed WebGUI::TestException00:18
+MrHairgreaseand applied it on Pay.t00:18
+MrHairgreasecheck it out and if you have any comments please let me know00:19
CIA-21WebGUI: 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:21
CIA-21WebGUI: graham * r5789 /Lift: creating a directory for Lift00:55
-!- dionak [n=diona@97.66.185.250] has quit []01:01
-!- wgGuest43 [n=wgGuest4@x94-206-76.law.umn.edu] has joined #webgui01:05
wgGuest43Hi...my first time checking in here. Is anyone awake?01:06
@preaction_yes01:06
wgGuest43Cool. I work at the U of MN Law School and we recently deployed our new website on WebGUI 7.3.22...01:08
wgGuest43Tonight I have run into a bizarre problem...01:08
wgGuest43When I go to commit a change, the version tag is lost and the asset becomes locked.01:09
@preaction_spectre isn't running01:09
@preaction_or can't connect01:10
wgGuest43according to my system, spectre is running...01:10
@preaction_can't connect then01:10
@preaction_cd /data/WebGUI/sbin; perl spectre.pl --test01:10
wgGuest43We'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 redirects01:11
@rizenmake 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 on01:13
wgGuest43Got it...had forgotten about the rewrite rules...01:14
wgGuest43I 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 rewrites01: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 WRE01:15
@preaction_you could just set your Home page to have a url of index.html01:16
wgGuest43no. Yet another reason for me to convince my boss to have our SA move to using the WRE.01:16
wgGuest43The problem is that we have people used to using URLs for directories under the home page without including the name...01:16
wgGuest43So http://www.law.umn.edu/cle/ is out in advertising, but should point to .../cle/index.html01:17
wgGuest43We were running WG 5.4, and this was fine then, but it seems things are now configured differently.01:17
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI01:22
wgGuest43Well, 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
wgGuest43Thanks for the help, folks! You were a lifesaver tonight. Now I can actually leave for home.01:29
wgGuest43Hopefully 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:30
-!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui01:39
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["dinner"]01:46
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has left #webgui []01:50
-!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"]01:59
CIA-21WebGUI: graham * r5790 /branch/WebGUI_7.4/ (6 files in 5 dirs): added i18n for calendar02:02
CIA-21WebGUI: graham * r5791 /branch/WebGUI_7.4/ (lib/WebGUI/AssetExportHtml.pm docs/changelog/7.x.x.txt): fixed: exporting as HTML leaks sessions for inaccessible assets02:02
CIA-21WebGUI: graham * r5792 /branch/WebGUI_7.4/ (3 files in 3 dirs): fixed: changing image thumbnail size doesn't resize image02:02
CIA-21WebGUI: graham * r5793 /branch/WebGUI_7.4/ (docs/changelog/7.x.x.txt lib/WebGUI/Config.pm): fixed: loadAllConfigs loads hidden files02:02
CIA-21WebGUI: 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 page02:02
CIA-21WebGUI: graham * r5795 /branch/WebGUI_7.4/t/Asset/Event.t: fixing Event test02:02
CIA-21WebGUI: graham * r5796 /branch/WebGUI_7.4/docs/create.sql: preparing for 7.4.28 release02:02
CIA-21WebGUI: jt * r5797 /releases/WebGUI_7.4.28-stable: Release 7.4.28-stable02:02
-!- patspam [n=chatzill@ppp59-167-82-131.lns2.mel6.internode.on.net] has joined #webgui02:09
-!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui02:34
-!- mode/#webgui [+v Radix-wrk] by ChanServ02:34
-!- Radix-work [n=Jesse@203.161.68.67] has joined #webgui02:57
-!- Radix-wrk [n=Jesse@203.161.68.67] has quit [Read error: 104 (Connection reset by peer)]02:57
-!- Radix-work [n=Jesse@203.161.68.67] has quit ["Leaving"]03:07
-!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui03:39
-!- mode/#webgui [+v Radix-wrk] by ChanServ03:39
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit ["Exit- stage left"]05:12
-!- preaction_ [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)]06:00
-!- wgGuest04 [n=wgGuest0@cpe-70-123-157-171.austin.res.rr.com] has joined #webgui06:20
wgGuest04hello?06:20
-!- patspam_ [i=chatzill@59.167.82.131] has joined #webgui06:35
-!- patspam [n=chatzill@ppp59-167-82-131.lns2.mel6.internode.on.net] has quit [Read error: 110 (Connection timed out)]06:52
-!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has quit []06:53
+Radix-wrkhello07:03
-!- wgGuest04 [n=wgGuest0@cpe-70-123-157-171.austin.res.rr.com] has quit [Read error: 110 (Connection timed out)]07:29
-!- CIA-21 [n=CIA@208.69.182.149] has quit []08:35
-!- CIA-23 [n=CIA@208.69.182.149] has joined #WebGUI08:42
-!- ryuu_ro [n=rory@194.171.50.69] has joined #webgui08:49
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui09:29
-!- Radix-wrk [n=Jesse@203.161.68.67] has quit ["Leaving"]09:44
-!- patspam_ [i=chatzill@59.167.82.131] has quit ["ChatZilla 0.9.81 [Firefox 2.0.0.12/2008020121]"]11:04
-!- CIA-23 [n=CIA@208.69.182.149] has quit [Remote closed the connection]12:41
-!- CIA-22 [n=CIA@208.69.182.149] has joined #WebGUI12:56
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has quit ["Leaving"]13:19
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui14:57
-!- SDuensin [n=Scott@111.sub-75-204-125.myvzw.com] has joined #WebGUI15:42
SDuensinMorning.15:46
-!- BartJo2 [n=plainstu@194.171.50.123] has joined #webgui15:49
perlmonkey2This is interesting, has anyone used it? http://search.cpan.org/~dpavlin/Fuse-DBI-0.08/examples/webgui.pl15:50
perlmonkey2g'morning SDuensin15:50
@rizenit was written for WebGUI 515:56
@rizenand yes i've used it15:57
-!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui16:03
-!- mode/#webgui [+o Haarg] by ChanServ16:03
-!- dionak [n=diona@97.66.185.250] has joined #webgui16:11
-!- Funakoshi [i=Xtasy@nor75-7-81-57-85-191.fbx.proxad.net] has quit [Read error: 110 (Connection timed out)]16:14
-!- wgGuest31 [n=wgGuest3@static-adsl201-232-86-73.epm.net.co] has quit [Remote closed the connection]16:26
-!- wgGuest52 [n=wgGuest5@static-adsl201-232-86-73.epm.net.co] has joined #webgui17:00
-!- juan [n=juangui@static-adsl201-232-86-73.epm.net.co] has joined #webgui17:12
juanhello17:12
juando you know, if there is a macro that i can insert a new  variable in the session17:14
@rizenyou can set scratch variables onto a session using a simple url call17:25
@rizenor you can write a macro to insert a variable17:26
@rizenbut no there isn't one17:26
BartJo2yes, they are called scratch variable17:27
-!- ryuu_ro [n=rory@194.171.50.69] has quit []17:32
BartJo2thank god people correct me when I say stupid things17:33
juanrizen, 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 value17:44
juanbut in the table sessionscratch is been stored the name of the variable that has the value17:45
@rizeni'm sorry juan, i don't understand what you're asking17:45
juanthe thing is the next17:46
@rizenyou've created a macro17:46
juanyes17:46
juanto set variables in session17:46
@rizenright17:46
@rizenbut what about javascript?17:46
@rizenwhat does that have to do with it?17:46
juanthe macro recieved two paramaters from javascript, with the name of the variable and the other with the value17:47
@rizenthat won't work17:48
@rizenthe macro is already executed by the time the javascript is run17:48
@rizenthe macro is executed by the server, but the javascript is executed by the client17:48
-!- estiven [n=estiven@static-adsl201-232-86-73.epm.net.co] has joined #webgui17:49
juanhttp://webgui.pastebin.com/d74ed1ab317:50
juanI call this macro in javascript like this ^setScratch("Municipio",municipio );17:51
juanbut when i checkt in mysql in userSessionScratch i found the next row17:51
juan EeAn4pIktFTXQBUfQvuekg | Municipio  | municipio17:52
juanmunicipio is a variable defined in javascript and contain a number17:52
juando you know what is the problem?17:53
@rizenthe macro knows nothing about javascript17:53
@rizenit can't turn the javascript variable into it's value17:53
juani have tested that with another macro and it works17:54
@rizenthen you're doing something entirely differently17:55
@rizenin that version than you are here17:55
@rizenif you want, you can use an ajax call to set a scratch variable17:55
juan7.4.1917:55
@rizenhttp://site.com/?op=setScratch;scratchName=municipio;scratchValue=3617:56
-!- Radix__ [n=Radix@203.161.71.161.static.amnet.net.au] has joined #webgui17:56
-!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has quit [Read error: 104 (Connection reset by peer)]17:57
juanwe can not do a post17:58
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has left #webgui []18:05
-!- lisette [n=liraos@static-adsl201-232-86-73.epm.net.co] has joined #webgui18:22
-!- BartJo2 [n=plainstu@194.171.50.123] has left #webgui []18:29
-!- wgGuest52 [n=wgGuest5@static-adsl201-232-86-73.epm.net.co] has quit [Remote closed the connection]18:30
lisettehow to do a macro that insert a new variable in the session?18:48
lisette?19:33
-!- lisette [n=liraos@static-adsl201-232-86-73.epm.net.co] has left #webgui []19:37
-!- estiven [n=estiven@static-adsl201-232-86-73.epm.net.co] has quit [Read error: 110 (Connection timed out)]19:38
CIA-22WebGUI: graham * r5798 /branch/WebGUI_7.4/ (4 files in 4 dirs): preparing for 7.4.2919:38
-!- lisette [n=liraos@static-adsl201-232-86-73.epm.net.co] has joined #webgui19:40
lisettehttp://www.webgui.org/etcetera/sql_with_javascript/sql_with_javascript19:40
perlmonkey24 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.19:53
nuba3 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:02
nubaheh, lazy*20:03
perlmonkey2nuba: yes, cooking is a luxury for when you have spare time, in my mind.20:09
@rizenmy lunch: nothing yet. too busy with commerce system.20:10
lisettehow to do a filter with two select box?20:12
lisetteand query a database20:12
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui20:12
-!- mode/#webgui [+o preaction] by ChanServ20:13
lisette?20:17
@preaction!20:17
-!- lisette [n=liraos@static-adsl201-232-86-73.epm.net.co] has left #webgui []20:51
-!- cap10morgan [n=cap10mor@h19-afsc.ded.indra.com] has joined #webgui21:12
cap10morganCan 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:13
cap10morganoh, i think www_editFieldSave is my friend here...21:19
@preactioncap10morgan, you could probably add an API method to do it, and make sure the web interface uses the new API method21:19
@preactiondo use that. do it right the first time so you don't have to do it over21:19
@preactioner... don't use that21:19
cap10morganalright alright ;)21:21
juanhello21:26
@preactionhello21:27
-!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: CIA-2222:18
-!- Netsplit over, joins: CIA-2222:18
perlmonkey2Hah, 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:41
perlmonkey2rizen: 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:42
juanhello22:46
juani have a question22:46
@rizenpm2 live and learn22:47
@rizenwe all make mistakes, and that's what makes us better22:47
juani 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 information22:48
juanis like a dinamic selected box22:48
juanhow can i do that?22:49
juanhave i to develop a new control?22:49
@preactioni've answered this question three times now: Yes22:50
-!- SDuensin [n=Scott@111.sub-75-204-125.myvzw.com] has quit ["Leaving"]22:52
--- Day changed Thu Mar 13 2008
-!- juan [n=juangui@static-adsl201-232-86-73.epm.net.co] has left #webgui []01:01
-!- dionak [n=diona@97.66.185.250] has quit []01:10
-!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"]01:21
CIA-22WebGUI: jt * r5799 /branch/WebGUI_Commerce/ (9 files in 7 dirs): finally got shipping driver management working01:30
-!- cap10morgan [n=cap10mor@h19-afsc.ded.indra.com] has quit []01:57
-!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui02:01
-!- wgGuest61 [n=wgGuest6@cpe-67-11-177-67.satx.res.rr.com] has joined #webgui02:10
-!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui02:10
-!- mode/#webgui [+v Radix-wrk] by ChanServ02:10
-!- wgGuest61 [n=wgGuest6@cpe-67-11-177-67.satx.res.rr.com] has quit [Client Quit]02:11
dionakI 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:21
dionakIt looks like we're going to be using workflows a lot more. They are really handy.02:23
+Radix-wrkyup :)02:39
dionakJT, have you ever looked into Smolder?02:44
dionakcurious if you had any thoughts on it. 02:44
dionakhttp://sourceforge.net/projects/smolder02:45
+Radix-wrkSuggest it to perldreamer I suggest02:46
@preactionit looks nice, i'd have to add test.webgui.org and finally fix the smoke test server though02:47
dionakI 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
@preactioneh, i've been looking for a nice aggregator / display tool, and this looks like it fills all my desires02:52
dionaki'm very interested to hear about your experience if you get the chance to try it out. 02:53
dionakMichael Peters presented it last year at YAPC as part of a larger talk and the idea has stayed with me. 02:55
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI03:32
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."]05:10
-!- wgGuest24 [n=wgGuest2@cpe-70-123-157-171.austin.res.rr.com] has joined #webgui05:39
wgGuest24Hello?05:39
@preactionhello05:39
wgGuest24hi.  how are you?05:39
@preactioni'm fine05:40
wgGuest24is there anyone around that can answer a few questions about caching and sql reports?05:40
@preactionperlbot ask05:40
perlbotDon't ask to ask, just ask.05:40
wgGuest24lol05:41
wgGuest24it's been a few years since i've worked with webgui...if i remember correctly, it does page-level caching, correct?05:41
wgGuest24or does it now support object level caching?05:42
wgGuest24here's why i ask...05:42
wgGuest24i'd like to set up a page with a sql report that takes two parameters as input05:43
@preactionif by page-level you mean "cache the output before it's sent to the user", then for certain things, yes, but only for Visitors05:43
@preactionalso, excepting Layouts, the caching is configurable05:44
wgGuest24interesting... 05:44
@preactionlayouts have a 60-second burst protection cache05:44
@preactioncan't be disabled or configured05:44
wgGuest24so, 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 results05:45
wgGuest24if 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 use05:46
@preactionthat won't happen, no05:46
wgGuest24does that make sense?  in essense, i'm trying to determine if it can be configured to support parameter level caching05:47
wgGuest24okay, so if caching is turned on, i should expect to see the previous results irregardless of the passed paramters?05:47
@preactionfor Visitors, probably05:48
wgGuest24yes, this would be for visitors05:48
wgGuest24okay, i guess that answers my question then...05:49
wgGuest24thanks05:49
-!- wgGuest24 [n=wgGuest2@cpe-70-123-157-171.austin.res.rr.com] has quit []05:51
-!- vince2 [n=falcon@ip68-12-66-144.ok.ok.cox.net] has joined #webgui07:00
-!- vince2 [n=falcon@ip68-12-66-144.ok.ok.cox.net] has left #webgui ["Client Exiting"]07:00
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)]07:27
-!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has quit []07:40
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui07:46
-!- mode/#webgui [+o preaction] by ChanServ07:46
-!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui07:57
-!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has quit []08:11
-!- ryuu_ro [n=rory@194.171.50.69] has joined #webgui08:51
-!- Haarg [n=haarg@24-177-119-178.dhcp.mdsn.wi.charter.com] has joined #webgui09:01
-!- mode/#webgui [+o Haarg] by ChanServ09:01
-!- cap10morgan [n=cap10mor@206-124-31-140.denver.dsl.forethought.net] has joined #webgui09:10
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui09:53
-!- ryuu_ro_ [n=rory@194.171.50.69] has joined #webgui09:55
-!- ryuu_ro [n=rory@194.171.50.69] has quit [Read error: 104 (Connection reset by peer)]09:55
-!- Radix-wrk [n=Jesse@203.161.68.67] has quit ["Leaving"]10:05
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 113 (No route to host)]10:08
-!- Haarg [n=haarg@24-177-119-178.dhcp.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"]10:11
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has quit ["Leaving."]10:23
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui10:25
-!- ryuu_ro [n=rory@194.171.50.69] has joined #webgui10:32
-!- ryuu_ro_ [n=rory@194.171.50.69] has quit [Read error: 104 (Connection reset by peer)]10:32
-!- ryuu_ro_ [n=rory@194.171.50.69] has joined #webgui10:36
-!- ryuu_ro [n=rory@194.171.50.69] has quit [Read error: 104 (Connection reset by peer)]10:39
-!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui11:01
-!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has quit []11:16
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has quit ["Leaving"]13:23
-!- midellaq [n=midellaq@caterpillar05.dadanoc.com] has joined #webgui13:44
-!- estiven [n=estiven@static-adsl201-232-86-73.epm.net.co] has joined #webgui14:23
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit []14:54
-!- SDuensin [n=Scott@36.sub-75-204-178.myvzw.com] has joined #WebGUI15:16
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui15:24
-!- mode/#webgui [+o rizen] by ChanServ15:24
SDuensinMorning.15:44
-!- bopbop [n=kmccombs@71-82-214-154.dhcp.mdsn.wi.charter.com] has joined #webgui15:45
-!- carogray [n=Caroline@h69-131-74-83.nwlnnh.dsl.dynamic.tds.net] has joined #webgui15:46
-!- carogray [n=Caroline@h69-131-74-83.nwlnnh.dsl.dynamic.tds.net] has left #webgui []15:46
@rizenafternoon15:48
-!- mode/#webgui [+o bopbop] by rizen15:49
-!- MrHairgrease [n=martin@145.94.223.147] has joined #webgui15:55
-!- mode/#webgui [+v MrHairgrease] by ChanServ15:55
AMH_bobCoffee!16:05
-!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui16:05
-!- mode/#webgui [+o Haarg] by ChanServ16:05
@bopbopMrHairgrease: 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:14
-