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
-!- midellaq [n=midellaq@caterpillar05.dadanoc.com] has left #webgui []16:15
+MrHairgreasewell basically we wanted a catchy name without cliches like 'soft' or 'comp' or 'net and the likes in it16:16
+MrHairgreaseso we had a string of brainstorm sessions at a bar called locus16:16
+MrHairgreasehttp://www.locuspublicus.nl/wb/16:16
+MrHairgreaseluckily it was still summer so we could sit outside in the sun16:17
+MrHairgreaseand then al of a sudden a friend of ours came up with okapi16:17
+MrHairgreasewhich everyone liked16:17
@bopbopok, thanks16:18
+MrHairgreasethe reason for the weird spelling k=>q is that there's already a company named okapi16:18
+MrHairgreaseso i changed the k into a q, which gave the name sort of a cool symmetry16:18
+MrHairgreaseand of course the eurotrashy hipness you've come to expect of us =)16:19
@bopbopI've been trying to figure out how I can get one of your t-shirts...very cool. Is it ok if I just take the logo off Oqapi's website to use in our story?16:19
+MrHairgreasefor t-shirst contact joeri16:20
-!- juan [n=juangui@static-adsl201-232-86-73.epm.net.co] has joined #webgui16:20
+MrHairgreasei'll see if i can find a logo16:20
+MrHairgreasehang on16:20
@bopbopok16:20
juanhello16:21
CIA-22WebGUI: jt * r5800 /branch/WebGUI_Commerce/ (3 files in 3 dirs): added shipping calculation for flat rate16:23
juani am calling a macro since javascript with two parameters that are javascript's variables, but i have a problem, in the macro i am using the parameters and i am updating a profile field, if i go to the profile i found that  the field has the name of the variable sent since javascript instead of the value16:24
+MrHairgreasebopbop: need a big one or a small one?16:24
@bopbopsmall should do16:24
+MrHairgreaseok16:25
+MrHairgreaseyour email is kristi@pb  right?16:25
@bopbopright16:25
juani don't know if really macros work well with javascript16:26
+MrHairgreaseok sent it16:27
@bopbopcool. thanks for your help16:28
+MrHairgreasejuan: i'm not sure what your problem is?16:28
+MrHairgreasewhere are you calling a macro from?16:29
+MrHairgreaseand what macro16:29
+MrHairgreaseand what is the macro supposed to do?16:29
juani create a macro16:30
juanand call it since javascript16:30
juanlike this ^mymacro(name,valor);16:31
juanwhere name and valor and javascript's variables16:31
juanin the macro i get the parameters and if i return the second parameter, the macro return its real value16:32
juanbut if i return the first parameter, it doesn't return anything16:33
juanbesides if i try to stored the second parameter in the profile, the real value doesn't appear in that field16:35
+MrHairgreaseyou try to use javascript to pass values into a macro?16:35
juanyes16:35
+MrHairgreasethat is not possible16:35
+MrHairgreasemacro's are executed server side16:36
+MrHairgreasewhile javascript is executed client side (ie. in the brwoser)16:36
-!- perlmonkey2 [n=perlmonk@casr-dev.fwsm2ppuser.ou.edu] has joined #webgui16:36
+MrHairgreasemacro's have already been executed before they even end up in your browser16:36
juanwe have executed macros in javascript without parameters, and they work16:38
+MrHairgreaseyou mean that you use the output of macro's in javascript?16:41
juanyes16:41
+MrHairgreaseok, but that's the complete opposite of the what i asked you before16:42
+MrHairgreaseso you have a bug in your macro if i understand correctly16:43
juanthe problem is when i call the macro with parameters16:43
+MrHairgreaseyou are aware that you cannot use spaces in macro parameters?16:44
+MrHairgreaseie. ^Macro(a,b); is something different than ^Macro(a, b);16:44
juanif i put in the macro an static value as parameter, it works well16:44
juanthe problem is when i put as parameter a javascript's variable16:45
+MrHairgreaseplease paste your macro to the pastebin and also a piece of html/javascript where you actually call it.16:45
-!- cap10morgan [n=cap10mor@206-124-31-140.denver.dsl.forethought.net] has quit []16:46
juanwait please16:47
juanMrHairgrease, http://webgui.pastebin.com/dda4935a16:51
+MrHairgreaseyou are using javascript to create an argument for your macro16:52
+MrHairgreasewhich i told you is impossible16:52
+MrHairgreasethe macro is executed on the server.16:53
+MrHairgreasethe my val= ...16:53
+MrHairgreaseis executed in your browser16:53
+MrHairgreasedo you understand that?16:54
juanyes16:54
juancan i do that with ajax?16:54
+MrHairgreaseif you want to use ajax you need some page where you can post your data to16:56
juanok16:57
+MrHairgreaseso you could create a macro that uses a form post to get it's data16:57
+MrHairgreaseie. $value = $session->form->process('val');16:57
+MrHairgreaseand put that macro on the page you tell your ajaxthingy to post to16:58
+MrHairgreasethe url would then be something like yoursite.com/ajaxPost?val=yourvalue16:58
+MrHairgreaseit's not an ideal solution though16:58
+MrHairgreasebut it would work16:59
juanyes, i understand16:59
juanthanks for your time and your advices16:59
+MrHairgreaseno problemo16:59
juanMrHairgrease, i have another question17:05
-!- dionak [n=diona@97.66.185.250] has joined #webgui17:05
+MrHairgreaseonly if it's a short one17:05
juanhow can i show a popup when users go to my site17:05
+MrHairgreasegoogle for javascript popup or something like that17:06
ryuu_ro_juan:  http://www.quirksmode.org/js/popup.html17:06
ryuu_ro_except  use the onload  event  instead of the onclick event17:07
juandisplay an automatic popup when users go to my site17:08
juanthanks ryuu_ro_  for the url, i am going to check17:09
-!- lisette [n=liraos@static-adsl201-232-86-73.epm.net.co] has joined #webgui17:11
estivenHola lisette17:15
lisettehola estiven17:15
-!- dionak [n=diona@97.66.185.250] has quit []17:16
lisetteif i use $session->form->param, i can set a value in the form?17:16
+MrHairgreaseno17:16
+MrHairgreaseyou cannot set for params17:16
@rizenholy crap, my dad was just here, and he told me a story about how he saved some guy's life last week17:16
+MrHairgreasehe gave him pomade?17:16
@rizenno, he lives out in the country17:17
@rizenand the wind was blowing just right so he heard the guy screaming from over a mile away17:17
@rizenhe drove over to where the screaming was coming from17:17
@rizenand it was still a quarter of a mile back into a snow covered field17:18
@rizenthis old farmer had gotten his tractor stuck, and was trying to walk back17:18
@rizenbut got so cold that he fell down and couldn't move17:18
@rizenmy dad walked back into the field17:18
@rizenand dragged the guy back out to the road17:18
@rizenand then drove him home17:19
* MrHairgrease cues a William Shatner voice over17:19
ryuu_ro_that's one lucky guy17:21
+MrHairgreaseindeed17:22
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui17:23
-!- mode/#webgui [+o preaction] by ChanServ17:23
-!- ryuu_ro_ [n=rory@194.171.50.69] has quit []17:35
CIA-22WebGUI: meatbop * r5801 /WebGUI/www/extras/assets/ (thingee.gif small/thingee.gif): Added thingee icons17:52
+MrHairgreasealas, no hand thing...17:56
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has left #webgui []18:05
-!- MrHairgrease [n=martin@145.94.223.147] has left #webgui []18:06
perlmonkey2which book has everything about ldap, and does it cover ssl over ldap?18:24
perlmonkey2I'm guessing no to the latter part since the WG module won't allow the specification of the ldaps prototocl.18:25
@preactionthe Admin Guide has LDAP18:27
-!- apeiron_ [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui18:27
-!- mode/#webgui [+o apeiron_] by ChanServ18:28
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has quit [Nick collision from services.]18:28
-!- apeiron_ is now known as apeiron18:28
perlmonkey2preaction: hmm, so I should be able to create a stunnel to the campus ldap server and not have to worry about ldaps18:29
@preactiondunno18:29
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has joined #webgui18:29
-!- mode/#webgui [+v MrHairgrease] by ChanServ18:29
perlmonkey2oh, a stunnel won't work because i have to be able to open an ssh connection to the server.  The campus ldap doenst' allow shells.18:31
-!- khenn [n=khenn@24-159-239-186.dhcp.mdsn.wi.charter.com] has joined #WebGUI18:48
-!- mode/#webgui [+o khenn] by ChanServ18:48
-!- khenn [n=khenn@24-159-239-186.dhcp.mdsn.wi.charter.com] has left #WebGUI []18:48
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has quit [Read error: 110 (Connection timed out)]18:51
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has joined #webgui19:02
-!- mode/#webgui [+v MrHairgrease] by ChanServ19:02
+MrHairgreasewhat happened to perldreamer?19:38
@preactionhe must be working19:38
+MrHairgreaseis he on vacation or so?19:39
@preactionhis job is awesome, he works for a couple weeks and then they keep him on retainer for a couple weeks (or something like that)19:39
@preactionin case they have problems with his chip19:39
+MrHairgreaseyeah i know19:39
+MrHairgreasesometimes he has to design a chip19:39
+MrHairgreaseand then he has nothing to do for ages19:39
perlmonkey2hmm, stunnel is turning into a pain to set up, anyone think it would be easier to reconfig LDAP.pm to use ssl?20:23
perlmonkey2rizen: Just an update, but my Survey deadline got pushed back to the 25th until I can get ldaps working with webgui.  But that is still plenty of time to make 7.5, isn't it?20:25
@rizenyeah20:28
@rizenmay 31 is the cut off20:28
@rizenyou know, if you make ldaps work with WebGUI you'll make lots and lots  of people happy20:28
@rizenpeople have been requesting it for years, but it just hasn't been a top priority for me20:28
@rizenMrHairgrease: are you planning on tieing the cash payment system in with the address book feature20:31
@rizencuz i think pretty much all payment systems should use that20:31
@rizenoh, and i should have transactions management done by tomorrow night20:32
@bopbopHaarg: did you get my email about the strange Syndicated Content display?20:33
@Haargyeah20:34
@Haargi'll take a look at it right now20:35
@bopbopok, just checking- I have a meeting with them tomorrow20:35
perlmonkey2rizen: woot, that would be cool.  I'll try to do that even if it is harder thana stunnel :)20:40
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui21:00
CIA-22WebGUI: yung * r5802 /WebGUI/ (11 files in 10 dirs): add: Thingy asset21:17
-!- pattieja [n=pattieja@kr.structure.northwestern.edu] has joined #webgui21:20
pattiejahello21:20
estivenhi21:21
pattiejaI was wondering if anyone knows how to keep request tracker items from closing automatically.  It seems like if I don't create a reply within some random amount of time, they start disappearing from the interface.  If I then search and find them, they are closed.  If I click 'Open', they reappear on the wobject interface for that request tracker, but then a short time later, they are automatically closed again.  Is there a way to not ha21:23
pattiejave this happen, and force the items to wait until I click 'Close'?  Sorry for longwindedness.  Thanks.21:23
@preactioni believe there's a property in the collaboration system settings that does that21:27
pattiejaexcellent.  where's that?21:27
@preactionArchive After, but I don't think that's right21:28
@rizenit is archive after21:28
@rizenarchived = closed21:28
@preactionhttp://doug.plainblack.net/home/properties/gallery/733-franklin-st.-lower?func=thumbnails <- step 1 in improving the Gallery functionality. hover over the thumbnails to enlarge them, but the bounding-box is only the size of the original thumbnail21:36
@preactioni think that's the buggo one though. the non-buggo one doesn't leave thumbnails scaled up21:37
@rizenthat's a sweet feature21:37
@preactionadding captions and i want to replace that larger view with something more javascripty if the client can handle it21:39
@rizenmy favorite picture is the one with your thumb in it21:39
@preactionthere's at least three with my finger/thumb in them21:39
@preactionam i correct when i see the new Indiana Jones is revisiting the Ark of the Covenent?21:40
@rizenoh yeah, i'm seeing that now21:40
@rizeni know they're making it, have no idea what its about21:40
@rizenthe photo gallery is getting cooler21:41
@rizenstill needs better templates though21:41
@preactionyeah, i'm making this script stuff with that in mind, hopefully it won't be too horrible if/when the templates are redesigned21:42
@rizenhe has to redesign them for the 7.5 release21:44
@rizenso they'll be done in the next 2 months sometime21:44
@preactionsounds good21:45
-!- lisette [n=liraos@static-adsl201-232-86-73.epm.net.co] has quit [Read error: 110 (Connection timed out)]22:08
-!- juan [n=juangui@static-adsl201-232-86-73.epm.net.co] has quit [Read error: 110 (Connection timed out)]22:08
-!- estiven [n=estiven@static-adsl201-232-86-73.epm.net.co] has quit [Read error: 110 (Connection timed out)]22:09
-!- bopbop [n=kmccombs@71-82-214-154.dhcp.mdsn.wi.charter.com] has quit []22:09
+MrHairgreaserizen: i'm back was cooking and eating22:28
+MrHairgreaseanyway22:28
+MrHairgreasehow do you think the address book should be tied into the payment stuiff?22:29
-!- lisette [n=liraos@static-adsl201-232-86-73.epm.net.co] has joined #webgui22:29
+MrHairgreaseI figured that an address is assigned to a transaction22:29
+MrHairgreases/assigned/tied/22:29
+MrHairgreasethe selected payment plugin should get the address from the transaction object22:30
+MrHairgreaseimho22:30
pattiejarizen: do I just type the word 'closed' into the Archive After field?  It's currently set to 1 Month22:31
@preactionno. you want it to be larger22:31
@rizenMrHairGrease: transaction is just a log22:31
@preactionafter 1 month, the thread will get closed22:31
@rizenbut during payment you have to select an address22:32
@rizenthat will be sent to the credit card company in most cases22:32
+MrHairgreaseok ic22:32
@rizenso it should use the address book function, which is currently only tied to shipping22:32
+MrHairgreasethen, yes the address book thingy should be tied into the payment system22:32
pattiejapreaction: so, set it to like 1 year or something?22:32
@preactionpattieja, that sounds good22:32
@rizenbut should be opened up a little more so it can be used for other things22:32
pattiejak22:32
pattiejathanks22:32
+MrHairgreasehowever, it's up to each plugin itself22:33
@rizensure22:33
@rizenit's up to each plugin22:33
+MrHairgreaseone question though22:33
@rizenbut the cash plugin will probably be the one a lot of people look to as an example22:33
@rizensince it's so simple22:33
@rizenso it should definitely use the address book22:33
+MrHairgreasei guess you won't people to select their address all the time22:33
+MrHairgreaseby that i mean: if you select an address for the shipping22:34
+MrHairgreaseyou want that address to be preslected when it's time to pay22:34
+MrHairgreasehow do you envison persisting that stuff22:34
+MrHairgreasethat's also why i thought there'd be a transaction object22:35
+MrHairgreaseglueing all the components together22:35
@rizenthe cart maintains the shipping address22:35
@rizenand the payment object will be passed a cart22:35
+MrHairgreaseaha22:36
@rizenthen once payment has been completed the cart and payment stuff will be passed to the transaction system22:36
+MrHairgreaseso the cart's glueing everything together22:36
@rizenfor record keeping22:36
@rizenyup22:36
+MrHairgreaseand the chosen shipper and payment gateway will also be stored in the cart?22:37
lisettehello22:37
lisettei can call a macro inside another macro?22:37
+MrHairgreaseyes22:37
+MrHairgreaseyou can22:37
lisettehow to?22:37
lisette^macro() ?22:37
+MrHairgrease^Macro1(^Macro2;);22:37
lisettemmm and the code?22:38
+MrHairgreasewhat code?22:38
@rizenmrhairgrease...no because when you get to payment you hand everything off to transaction at that point22:39
@rizeneverything up to payment gets attached to the cart22:39
@rizenthen you select payment stuff22:39
@rizenthen you shove it all into transaction22:39
+MrHairgreaseyeah, sorry, i meant only shipper22:39
+MrHairgreasenot payment22:39
+MrHairgreasethat would make little sense22:39
@rizenyes, shipper gateway is stored in the cart22:39
+MrHairgreaseok nice22:39
@rizenship driver i mean22:39
@preactionlisette, that's handled by the normal macro parser, you don't have to do anything special in your macro22:39
+MrHairgreaseI still have to dig through the cart code, so forgive my witless questions =)22:40
pattiejapreaction: hmm.  guess I'll have to go through all the closed items and reopen them?22:41
@rizenno problem. you should have questions, the whole thing is still in flux. =)22:41
@preactionpattieja, yes.22:41
+MrHairgreaseanyway, i'll make the cash plugin use the address book22:44
pattiejathanks22:44
-!- pattieja [n=pattieja@kr.structure.northwestern.edu] has quit ["Ex-Chat"]22:44
+MrHairgreasewhen you have done the transaction thing i'll mold the payment plugins into it =)22:44
@rizensweet. i hope to have it done by tomorrow. right now i have the back end done, but i still need to build all the front end stuff22:45
+MrHairgreaseoh the transaction back end is finished already?22:46
-!- SDuensin [n=Scott@36.sub-75-204-178.myvzw.com] has quit ["Leaving"]22:46
CIA-22WebGUI: jt * r5803 /branch/WebGUI_Commerce/lib/WebGUI/Shop/Cart.pm: a couple new methods to make things easier22:49
@rizenyeah, i'll check it in tonight probably22:50
@rizenneeds a little polish22:50
@rizenplus i haven't written enough tests for it22:50
+MrHairgreasethe commerce tests are the first tests i have written22:51
+MrHairgreaseever22:51
+MrHairgreaseat first i really felt like 'stupid tests' since it seems you make very little progress at first22:52
+MrHairgreasebut these tests paid off directly22:52
@rizenyeah me too22:53
+MrHairgreaseand found some bugs directly 22:53
+MrHairgreaselike swapped parameters and stuff22:53
@rizenyesterday when i was building the shipping management interface i had to make some sweeping changes to the shipping stuff22:53
+MrHairgreaseso i've decided i like em22:53
@rizenand the tests really helped me get back on track22:53
+MrHairgreaseyeah22:53
@rizencolin is the man22:53
+MrHairgreaseand they forces some sort of uniformity througout the module22:53
@rizenthat's also true22:54
+MrHairgreaseyeah colin rocks22:54
+MrHairgreasehey, there are weird chrachters in Cart.pm22:55
+MrHairgreaseReturns a duplicated hash reference of this object?~@~Ys data.22:55
+MrHairgreasethat's how they show in vim22:55
+MrHairgreaseReturns a duplicated hash reference of this object<E2><80><99>s data. <= is what less shows22:56
+MrHairgreaserizen: where's the cart supposed to be passed to the paydriver?22:58
+MrHairgreasei guess in new22:58
+MrHairgreaseWG::S::PayDriver->new(pgID, $cart);22:58
+MrHairgreaseand WG::S::Pay->getPayDriver($pgId, $cart);22:59
@rizenweird...i'll have to get that fixed for sure23:00
@rizenwhat line is that on23:00
@rizenactually no those aren't getting passed in there like that23:01
+MrHairgrease15423:01
@rizenthough that might not be a bad idea23:01
+MrHairgreasethen how?23:01
+MrHairgreasethough setCart?23:01
+MrHairgreasedoes that make sense?23:01
@rizenif you just did a $cart = WebGUI::Shop::Cart->create(); it will give you a reference to the cart23:01
+MrHairgreaseI mean, you need a cart in order to pay 23:01
@rizencuz it's tied to the session23:02
+MrHairgreasehmm23:02
@rizeni know that create is a bad name for it23:02
@rizenbut it creates it if it doesn't exist23:02
+MrHairgreasethen why does Pay->getOptions require a cart to be passed?23:02
@rizenhmmm...did i write anything down for this in the docs23:02
+MrHairgreasewell, if create is a bad name, why not add a class method, getCartForUser23:03
+MrHairgreasewhich will return the session cart, or...23:04
+MrHairgreasecalls create and then return the cart23:04
@rizenthat's probably a good name23:05
@rizenor a good way to do it23:05
+MrHairgreaseI'll add a getCart method to PayDriver.pm23:06
@rizenhold your horsefeathres23:06
+MrHairgreaseand then we can always decide how to pass the cart to the paydriver23:06
+MrHairgreasewhat's wrong with that?23:06
@rizenthe reason that getOptions passes a cart is because the cart is already instanciated and there's no reason to do it again23:06
@rizenhowever23:06
+MrHairgreaseoh does it?23:07
@rizenwe need to be able to instanciate the driver without a cart23:07
+MrHairgreaselet me check23:07
@rizenbecause you need it for the configure drivers screen23:07
+MrHairgreasetrue23:07
@rizencan you hear my brain wheels turning?23:08
@rizen=)23:08
+MrHairgreaseno23:08
+MrHairgreasebut I have garagepunk.com on23:08
@preactionyou put wd-40 on the hamster wheel, remember jt?23:08
@rizenactually a getCart method is a good idea23:08
+MrHairgreaseI know23:08
@rizenbecause once you get to the payment screen23:08
@rizencart is out of it23:09
@rizenso you will need to instanciate the cart a again23:09
+MrHairgreasealso, you don't wanna do WG::S::Cart->create in every sub of a paydriver23:09
+MrHairgreaseyou want to provide that from the driver framework23:09
@rizenlisten here whiper snapper23:10
@rizeni was coding perl when you were still a single celled organism23:10
@rizen=23:10
@rizen=)23:10
+MrHairgreaseyou mean when i was on par with you?23:10
+MrHairgreasebut i must admit, webgui's got me started codiung perl23:11
+MrHairgreaseso thanks for that23:11
+MrHairgrease=)23:11
+MrHairgreaseheh, whiper snapper. Is that someone with a grudge against cars?23:12
@rizenit's actually "whip"er not "wipe"er23:12
+MrHairgreasefunny how much a single character can change 23:12
+MrHairgreaseoh crap23:13
+MrHairgreasethere i go23:13
+MrHairgreasei thought it was with two p's23:13
@rizenwhipper snapper23:13
@rizeni just sepellde it wrong23:13
@rizenlike my spelling for sepellde23:13
+MrHairgreasebad spelers of the world untie!23:13
@rizenhehe23:14
+MrHairgreaseI think roy use to say that all the time =)23:14
+MrHairgreaseso... which method can I use in getCart? getCartForUser?23:16
@rizenyou should create a method in PayDriver called getCart which then calls WebGUI::Shop::Cart->getCartForUser($session)23:16
+MrHairgreasethat's what I meant23:17
@rizenactually, let's call it getCartBySession23:17
@rizenthat's more accurate23:17
+MrHairgreaseok23:17
@rizenI'm adding the method to cart now23:18
+MrHairgreaseyeah, I'm adding it to PayDriver23:18
+MrHairgreaseshould there be exception throwing in getCart?23:19
+MrHairgreasethat is, check whether the returned object isa cart?23:19
+MrHairgreasemy guess is no, since that's something the test suite should be able to find23:19
@rizenif a cart object isn't created, then the cart itself will throw exceptions23:27
+MrHairgreaseah what i was waiting for23:27
+MrHairgreaseprove says it's ok!23:28
+MrHairgreasecommittng23:28
+MrHairgreaseok23:29
+MrHairgreasecommitted23:29
+MrHairgreaseis there going to be a form plugin for the addressbook?23:31
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit ["Exit- stage left"]23:41
CIA-22WebGUI: jt * r5804 /branch/WebGUI_Commerce/ (4 files in 3 dirs): added getCartBySession()23:46
CIA-22WebGUI: martin * r5805 /branch/WebGUI_Commerce/ (lib/WebGUI/Shop/PayDriver.pm t/Shop/PayDriver.t): Adding the getCart method to PayDriver.pm23:46
perlmonkey2Could someone explain what the ldapPasswordName field in ldapLink table is for?23:51
@rizenform plugin?23:51
@rizenoh to choose an address23:51
+MrHairgreaseyeah23:51
@rizeni hadn't thought of that23:51
@rizeni thought that it would be better if people were redirected to the address book23:52
@rizenso they can create new addresses23:52
@rizensee what's there23:52
@rizenetc23:52
@rizenlike it is done with shipping23:52
+MrHairgreaseoh ok 23:52
+MrHairgreasei'll check out how shipping does it23:52
@rizeni mimiced the way it is done on amazon23:52
+MrHairgreaseok23:52
+MrHairgreasenever bought anything there23:53
@rizenldapPasswordName is just a label23:53
@rizenit is used to describe the password in a way that is familiar to your users23:53
@rizenfor example23:53
@rizenyou might say your "Windows Password"23:54
@rizenor your "Active Directory" password23:54
@rizenor your "Novell Groupwise Password"23:54
perlmonkey2So it is for the template for when the users are creating their accounts?23:54
@rizenmost companies don't portray "LDAP" as a system23:54
@rizenthey talk about the thing that's running ldap23:54
@rizenyup23:54
@rizenand when they log in23:54
@rizenit actually shouldn't be in the LDAP connection manager23:55
@rizenbut whoever converted LDAP from settings to the connection manager moved it23:55
@rizenand i haven't moved it back23:55
perlmonkey2I'm thinking I need your admin book, because to turn a uid into a dn, we have strange fields in our ldap search.  Our uid is actually a 'mailNickname' in the return message, and the dn is in 'objectName' in the return message.  23:56
@rizenthat's no problem23:57
@rizenwhen you create an account you can search based upon mailNickname23:57
@rizenand then the dn is returned23:57
@rizenand stored with the user account23:57
@rizenbut their username is still their mailNickname23:58
@rizenthe dn is just attached to the account23:58
@rizennot used as the username23:58
perlmonkey2That is what I tried to do.  So good, it looks like I'm on the right track, just need to probably tackle the ssl issue.23:58
perlmonkey2I created an ldaplink with ldapIdentity as mailNickname and ldapIdentityName as objectName and ldapPasswordName as School password.23:59
--- Day changed Fri Mar 14 2008
perlmonkey2ldapUserRDN is our search filter for the user objectName.  So I guess that should all work :)00:00
@rizeni believe that ldapIdentityName is also just a label00:00
@rizenbut i don't work with the ldap stuff often, so yes you should consult the admin guide00:00
perlmonkey2cool, thanks rizen00:01
-!- lisette [n=liraos@static-adsl201-232-86-73.epm.net.co] has left #webgui []00:03
-!- perlmonkey2 [n=perlmonk@casr-dev.fwsm2ppuser.ou.edu] has quit ["going home"]00:11
+MrHairgreaserizen: May I assume that AddressBook www_view is still just more or less a placeholder?00:23
+MrHairgreaseI'm asking since a lot of stuff seems hard coded00:23
+MrHairgreaselike the useButton tmpl_var00:24
@rizenyes, it needs to be changed so it is not hard coded00:24
+MrHairgreaseok00:24
@rizeni wasn't sure how to do that when i wrote  it, so i just hard coded everything00:24
@rizenthat's pretty much true of all the www_ methods in AddressBook00:24
+MrHairgreaseand the plugins should provide the correct method names and stuff i guess00:24
@rizenright00:24
+MrHairgreaseok00:25
+MrHairgreaseat first it confused me a bit00:25
+MrHairgreasebut I'm getting the hang of the whole 00:25
@rizenI think that the way to do it is to pass a url string into www_view that represents where to go when you "select" an address00:25
@rizenand then pass that into the form header when it's time to come out00:25
@rizenand it will auto generate the necessary hidden fields00:25
@rizenbecause if you do /somepage?this=that;foo=bar00:26
+MrHairgreaseso you want to put GET params in a form header?00:26
@rizenWebGUI::Form::formHeader is smart enough to turn that action into /somepage00:26
@rizenand this,that/foo,bar00:26
@rizeninto hidden fields00:26
+MrHairgreaseoh00:26
+MrHairgreaseI see00:26
@rizeni made it smart00:27
@rizencuz i've seen lots of developers screw that up00:27
+MrHairgreasestill looks a bit hacky to me00:27
+MrHairgreasebut that could be me00:27
@rizenwell if you can think of a better way to do it, i'm all earse00:27
@rizenears00:27
+MrHairgreaseI'd pass an action url, a method name, and optionally a hashref with your custom key/value pairs.00:28
+MrHairgreaseit seems cleaner since the necessary params are not 'hidden' in GET params00:29
+MrHairgreasealso it makes error checking easyer00:29
@rizenok, then why not put method name into that hashref cuz that's also one of you key value pairs00:30
@rizencuz this thing will also end up being used by commerce assets00:30
@rizenlike Event Manager00:30
+MrHairgreaseie. you can throw exceptions for each missing param in stead of having to parse that string00:30
@rizenwhere you tie an address to a badge00:30
@rizenand there is no "method"00:30
@rizenthere is a "func"00:30
+MrHairgreasehmm i see00:30
+MrHairgreasei'll give it a thought00:31
@rizeni think you're on the right track though00:31
@rizena url and a hash ref of hidden values00:31
+MrHairgreaseyeah00:31
@rizenoh but the hash ref of hidden values needs a way to be passed between forms00:31
+MrHairgreasethat's better than a GET url00:31
@rizenbecause the user will be in the address book a while00:31
@rizenso you'll have to serialize it into json in the address book, and then deserialize it on the way out00:32
+MrHairgreasethe same app;lies for a GET ur00:32
@rizenthey'll go in there, then add an address00:32
@rizenno, the get url could just be a hidden field00:32
@rizenno serialziation00:32
@rizenbut i don't care00:32
@rizeni like your way better00:32
@rizenand using json serialization00:32
+MrHairgreaseif you'd use a hidden field, that field has to be passed in each screen00:33
+MrHairgreaseeror prone imho00:33
@rizenyeah00:33
@rizenwhat else will you do?00:33
+MrHairgreaseI guess a scrath var is much better00:33
@rizenit has to maintain state in a stateless environment00:33
@rizenthat maintains state, but what if the user leaves the address book00:33
@rizenwithout setting an address00:34
@rizeni guess it will just be overwritten by the next thing that sends them to the address book00:34
@rizeni guess that's not so bad00:34
+MrHairgreaseand when properly leaving though a setAddress method you can clear the flag00:37
@rizenit doesn't need to be cleared00:39
@rizensince it gets overwritten each time you enter the address book00:39
+MrHairgreasetrue00:39
@rizenMrHairgrease: you're brilliant!00:40
* MrHairgrease knows00:40
@rizeni knew there was a reason i put up with your eurotrashy ways =)00:40
+MrHairgreaseoh come to think of it00:40
CIA-22WebGUI: graham * r5806 /WebGUI/sbin/spectre.pl: fixed: spectre outputs errors to file named /STDIN00:40
CIA-22WebGUI: graham * r5807 /WebGUI/ (lib/WebGUI/Asset/Wobject/Thingy.pm t/Asset/Event.t): Fix test failures00:40
CIA-22WebGUI: graham * r5808 /WebGUI/docs/create.sql: preparing for 7.5.6 release00:40
+MrHairgreaseif some user is using the address book in two tabs00:41
+MrHairgreasewe run into problems00:41
@rizenthat's true00:41
@rizenso passing it through a hidden field is back into prominence00:41
+MrHairgreaseyeah00:41
+MrHairgreasea hybrid solution could be still storing all the data in scratch00:42
+MrHairgreasebut pass along some id that identifies the scratch in a hidden field00:42
+MrHairgreasebut maybe that's overcomplicating it00:42
@rizenthat's only useful if you think the json data will get corrupted passing it through the form fields00:43
@rizenwhich is not a big concern for me really. i pass json through form fields all the time00:43
+MrHairgreasethat was one of the 'error prone' concerns00:43
+MrHairgreaseoh ok00:43
+MrHairgreaseeither way00:43
+MrHairgreaseif we need to pass stuff around in hidden fields00:44
@rizenin fact, the wreconsole.pl keeps track of everything in a hidden json field00:44
@rizenwhile you're going through the wizard00:44
+MrHairgreasei think there should be a method called AdressBook->getForm or so00:44
+MrHairgreasethat would set up the form header stuff for you and return a HTLForm object00:45
+MrHairgreaseor something along those lines00:45
+MrHairgreaseso it will be easy to change things in the passing along and also to reduce errors00:46
+MrHairgreases/errors/bugs/00:46
+MrHairgreaseand minimize code dupliaction00:46
@rizensounds fine to me00:46
+MrHairgreasegreat00:47
+MrHairgreaseit's cool to do some core dev stuff again00:47
@rizeni'm using Komodo to get used to using an IDE per my WebGUI SDK comments on the mailing list yesterday00:48
@rizenand so far it's pretty cool00:48
+MrHairgreaseI stick with vim if you don't mind00:48
@rizenyeah, i love vim00:50
@rizenif it weren't for me wanting webgui to get more adoption i'd stick with vim too00:50
@rizenbut i think if we want devs to really start writing a lot for webgui00:50
@rizenwe need to give them a tool that most devs are used to00:50
@rizenand that means a GUI IDE00:50
+MrHairgreaseyeah that could very well be00:51
@rizenif nothing else it will make it easier for noobs to get into webgui dev00:51
+MrHairgreasesince I started doing webgui stuff, almost all my coding has been done on a remote box00:51
@rizenkomodo can edit files remotely00:52
+MrHairgreaseI think it's getting harder and harder to get into webgui just because of the sheer api size00:52
@rizeni agree with that00:52
@rizenwhich is where wizards come in00:52
@rizenin an ide00:52
+MrHairgreasefor me it's not a real problem since i've 'grown up'  with it 00:53
+MrHairgreaseok00:53
+MrHairgreasemaybe i'll check komodo out to see what it is00:53
@rizenbut i'm also thinking that it will be like the WRE00:53
@rizenat first people will be leary00:53
+MrHairgreasebut not anytime soon i'm afraid00:53
@rizenand stay away from it00:53
@rizenbut after a while, it will become so cool that everyone just uses it00:53
+MrHairgreasei certainly hope so00:54
@rizenthe best part is that there is both a free and commercial version of komodo00:54
@rizenso the free version helps get people hooked...it's one less barrier to entry00:54
@rizenalso, it works on mac, windows, and linux00:54
+MrHairgreaseok sound pretty cool00:55
@rizenplus writing extensions for komodo is pretty easy because komodo is written in mozilla00:55
@rizenso it uses xpi, javascript, etc00:55
@rizenjust like firefox extensions00:55
+MrHairgreaseyou just used javascript and pretty easy in one sentence...00:56
@rizenpretty was referring to easy not javascript00:57
@rizen=)00:57
@rizenat least you don't have to write extensions in c++00:57
+MrHairgreasei had to learn c++ for a lab course about 6 years ago or so00:58
+MrHairgreaseon of the guys taking it did it in assembly00:58
@rizeni had to hack a bunch of c++ years ago00:58
+MrHairgreaseyou should have seen the look on the face of the assitent when he handed it in00:58
+MrHairgreaseon chainpaper of course00:58
@rizeni'm sure01:01
CIA-22WebGUI: graham * r5809 /WebGUI/lib/WebGUI/Cache/Database.pm: protect against database cache corruption01:10
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit []01:19
-!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"]01:26
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI01:32
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has left #webgui []01:34
CIA-22WebGUI: jt * r5810 /releases/WebGUI_7.5.6-beta: Release 7.5.6-beta01:39
CIA-22WebGUI: graham * r5811 /WebGUI/ (4 files in 4 dirs): preparing for 7.5.701:39
-!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui01:49
-!- mode/#webgui [+v Radix-wrk] by ChanServ01:49
-!- rizen [n=rizen@97-87-62-91.dhcp.mdsn.wi.charter.com] has joined #webgui02:05
-!- mode/#webgui [+o rizen] by ChanServ02:05
-!- Haarg [n=haarg@97-87-62-91.dhcp.mdsn.wi.charter.com] has joined #webgui02:16
-!- mode/#webgui [+o Haarg] by ChanServ02:17
-!- rizen [n=rizen@97-87-62-91.dhcp.mdsn.wi.charter.com] has quit []02:17
-!- Haarg [n=haarg@97-87-62-91.dhcp.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"]02:50
-!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has joined #webgui03:41
-!- mode/#webgui [+v Radix_] by ChanServ03:41
-!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: ckotil, Radix__, diakopter03:42
-!- Netsplit over, joins: diakopter03:43
-!- Netsplit over, joins: ckotil03:44
-!- Haarg [n=haarg@97-87-62-91.dhcp.mdsn.wi.charter.com] has joined #webgui04:11
-!- mode/#webgui [+o Haarg] by ChanServ04:11
-!- Haarg [n=haarg@97-87-62-91.dhcp.mdsn.wi.charter.com] has quit [Client Quit]04:12
-!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI05:32
elnino hello.05:34
elninoI see in 7.4.26 that we can put extra parameters in the db connection definition, and since my recent upgrade from 7.21, one of my queries no longer returns anything.  and I was wonderting, with the addition of the capability of adding db parameters, I was wondering if you had removed some that were "default" in the code that made my query work at the time.05:36
@preactionelnino, did you check the gotchas?05:38
elninoGood point, I did, but it probably didn't mean anything at the time. I'll read them again. Thanks!05:39
-!- Haarg [n=haarg@24-177-119-178.dhcp.mdsn.wi.charter.com] has joined #webgui05:39
-!- mode/#webgui [+o Haarg] by ChanServ05:39
@preactionelnino, there were no changes to anything having to do with DatabaseLinks, so it might be something else05:42
elninook. the gotcha says that it lo longer sets the LongReadLen and LongTruncOk for odbc dbs (which is what this is) Is there some code somehere I can look at to find out what you used to set them to?05:42
@preactionthere shouldn't be new features added to any 7.405:42
@preactionold revisions in SVN perhaps05:42
@preactionprobably SQL.pm05:43
elninook. I went from 7.2 to 7.4.26 and this happened in 7.4, I'll look there. Thanks05:43
@preactionoh, you went from a long time ago05:44
@preactiondoes it say which version it was done in?05:44
elnino7.405:44
@preaction7.4.?05:44
elnino7.4.0 according to the gotcha, I have all my other backups. and found the code. Thanks for your help!05:45
elninosomebody may want to add that the LongRedLen was set to 512*102505:45
elninoand longtruncok = 105:46
elninoto the gotcha file.05:46
@preactioni would think that it might be better to just add those things if the user has any ODBC DatabaseLinks05:47
elninoWell, perhaps, but I didn't know that I would need such things. I put a bug request to update the gotcha for someone else like me. =)05:49
@preactionsounds good05:50
elninoThanks again for your invaluable help!05:51
@apeironHappy pi day, all.06:01
elninohmmm. I was wrong, this is dbi:MaxDB that I'm connecting with, and adding ongReadLen and LongTruncOk didn't work. I don't see anything in SQL.pm about setting anything else.06:17
elninoIf I run the sql directly on the db, it returns 78 records, but it returns nothing when run vie webgui's sql report. so something weird is going on.06:18
@preactionanything in the error log?06:19
elninoapparantly while trying to rotate my webgui logs, nothing is being written anymore. =(   crud. I guess I'll go fix that first.06:24
elninoarg. so what should the permissions be on the webgui.log file? 06:30
elninonever mind.06:30
@preaction755. as long as the apache user can write, that's about all that's necessary06:32
elninook. got that working. just restarted apache for some reason.06:38
elninoI hit the page seveal times, and nothing comes up in the eror log about that sql report or the database or the databse name. 06:40
@preactionis your loglevel set to warn or debug? that's about all i can think of06:41
elninoI set it back to default: warn06:43
@preactionif you set it higher (debug or info) it might give more information. i don't know though06:44
elninoso do i have to restart apache or just spectre to reread the log.conf?06:47
@preactionapache06:50
elninook. I had it at at debug, hit the sqlreport a couple times, and turned if off in the loging. looked at the log, and there is nothing there, other than the print out of the query I'm running.06:54
elninoI did noticed that in the debug statements, there are a bunch of ^M,s, where as in the rest of the log there aren't any.06:55
elninoCould it be that it's reading the ^M as invalid sql?06:55
@preactionsounds likely06:55
elninoI'll try to remove the carrage returns.06:56
elninonope no go. I removed all linefeeds/cariage returns. 07:12
@apeirons/755/644/ # no need to give execute permissions to a log file07:14
@apeironelnino, Tried copy/pasting the query that's giving you problems from a log file into the mysql client?07:16
@apeironAlso, if you're running DEBUG, you should be getting that information anyway, with placeholders...07:16
elninoyes. that's the first thing I did. The query stoped working when I did the upgrade. My other queries work that hit that database. This particular query has long fileds, so I thought maybe it was affected by the database parameters that changed from 7.2 to 7.4.x07:20
elninoAnother very unrelated question - it seems that when you edit a file piled document and you *don't* upload a new file, the /upload/path/to/file still changes. is that how it's upposed to be?07:50
@preactionyes, for some reason07:56
@preactionif there isn't an RFE to change that to only when a new file is uploaded, please add one07:58
elninoabsolutely I will, its a frustrating when the file time/date changes when it really doesn't.08:05
elninodone.08:09
-!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: elnino08:23
-!- Netsplit over, joins: elnino08:23
-!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has quit ["Leaving"]08:33
-!- ryuu_ro [n=rory@194.171.50.69] has joined #webgui08:47
-!- Radix-wrk [n=Jesse@203.161.68.67] has quit ["Leaving"]09:57
-!- nuba [n=nuba@hq.imaterial.org] has quit [Read error: 104 (Connection reset by peer)]09:59
-!- nuba [n=nuba@hq.imaterial.org] has joined #webgui10:05
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)]11:35
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has quit ["Leaving"]13:16
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui14:38
ckotillooks like someone spammed the wiki.14:49
-!- perlmonkey3 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui15:20
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [Nick collision from services.]15:21
-!- perlmonkey3 is now known as perlmonkey215:21
-!- MrHairgrease [n=martin@194.171.50.69] has joined #webgui15:31
-!- mode/#webgui [+v MrHairgrease] by ChanServ15:31
-!- SDuensin [n=Scott@251.sub-75-206-117.myvzw.com] has joined #WebGUI15:35
SDuensinMorning.15:38
+MrHairgreasegreetings!15:42
perlmonkey2hola15:52
-!- Haarg [n=haarg@24-177-119-178.dhcp.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"]15:53
-!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui16:11
-!- mode/#webgui [+o Haarg] by ChanServ16:11
-!- lisette [n=liraos@static-adsl201-232-86-73.epm.net.co] has joined #webgui16:30
lisettehello16:30
lisettei can return a hash from a macro and process with javascript?16:31
+MrHairgreaseuse JSON16:33
+MrHairgreasein your macro put 16:33
+MrHairgreasereturn JSON->new->to_json( $hashRef );16:33
lisetteand how to process with JS?16:34
+MrHairgreasegoogle on JSON and read the dics16:34
+MrHairgreasedocs*16:34
lisettei process like a array?16:35
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [No route to host]16:35
+MrHairgreaseread the docs on json16:36
lisettei don't know how to16:39
+MrHairgreaseyou must be kidding me16:40
+MrHairgreaseyou know what google is right?16:40
lisetteyes16:43
+MrHairgreasethen, how can you say you don't know how to google for the json documentation?16:43
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui16:44
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [Client Quit]16:44
lisettei found how to16:46
lisettethanks16:46
-!- juan [n=juangui@static-adsl201-232-86-73.epm.net.co] has joined #webgui17:10
juanhello17:10
juani have a question related to dataforms, i have created a dataform with two fields, one of them is status hidden and type text.  i have the firefox extension web developer and when i turn admin off and use this extension to see the form details, i can not see the details for the field that is hidden17:14
+Radix_no, it's actually hidden17:15
juanbesides i have a macro when i get the parameters, so if i try to get the value for the field that is hidden, it doesn't return any value17:16
juanif i put a default value to this hidden field, can i use it in a macro?17:16
+Radix_you will have to change the template then if you want it in the html17:16
juanbut i want it in html but the users can see the field17:17
+Radix_if you want the field visible to the user, then it's not hidden is it? :)17:19
juanexcuseme the users can not see it17:19
+Radix_yeah, you'll need to tweak the template for the dataform then17:20
+Radix_if you look at the code there's a check for hidden17:20
+Radix_I had to do the same thing for my own dataform wrappers and javascript validation script17:21
-!- khenn [n=khenn@24-159-239-186.dhcp.mdsn.wi.charter.com] has joined #WebGUI17:29
-!- mode/#webgui [+o khenn] by ChanServ17:29
-!- khenn [n=khenn@24-159-239-186.dhcp.mdsn.wi.charter.com] has left #WebGUI []17:29
juanradix_, if in an article i put some html using the html bottom, can i call a macro there?17:40
-!- ryuu_ro [n=rory@194.171.50.69] has quit []17:47
+Radix_sure17:51
-!- MrHairgrease [n=martin@194.171.50.69] has left #webgui []17:57
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui18:06
-!- mode/#webgui [+o rizen] by ChanServ18:06
-!- wgGuest34 [n=wgGuest3@204.248.118.31] has joined #webgui18:22
-!- perlmonkey2 [n=perlmonk@casr-dev.fwsm2ppuser.ou.edu] has joined #webgui18:25
-!- wgGuest34 [n=wgGuest3@204.248.118.31] has quit [Client Quit]18:25
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui18:31
-!- mode/#webgui [+o preaction] by ChanServ18:32
ckotilWhat am I doing wrong here when defining this scratch variable in my template? <tmpl_var session_scratch_filebin == 1>  19:30
ckotilThen I want to use the scratch variable in a <tmpl_if expr="  , or simple write it out <tmpl_var session_scratch_filebin>19:30
ckotilim using h:t:e19:35
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui19:36
-!- ryuu_ro [n=rory@c529ce350.cable.wanadoo.nl] has joined #webgui19:57
@preactionckotil, you can't set things in tmpl_var19:59
ckotilso theres no way to set a scratch variable inside the template?20:04
@preactionnot via template variables. perhaps via a macro20:04
ckotilyeah, that could work20:05
ckotilthanks20:05
ckotili just want to be able to flip a bit for a certain case inside  a page loop.20:06
ckotilif the bit is flipped then dont output anything, else go for it.20:06
@preactionthat probably wouldn't work. macros are processed after template is processed20:07
ckotilah.20:07
ckotilthanks for the heads up then.20:07
ckotilthat would have wasted a couple hours.20:07
ckotili had this template to create a TOC on the fly, out of layouts and articles. now they want to include folder assets. well it doesnt look right in my TOC now.20:09
-!- SDuensin [n=Scott@251.sub-75-206-117.myvzw.com] has quit ["Leaving"]21:40
-!- perlmonkey2 [n=perlmonk@casr-dev.fwsm2ppuser.ou.edu] has quit ["Leaving."]21:42
-!- perlmonkey2 [n=perlmonk@casr-dev.fwsm2ppuser.ou.edu] has joined #webgui21:51
juanhello22:16
-!- perlmonkey2 [n=perlmonk@casr-dev.fwsm2ppuser.ou.edu] has quit ["Leaving."]22:17
juando you know how to convert the date stored in webgui to real dates?22:17
@preactionthe ^D(); macro works well22:18
@preactionthey're just epoch times, so anything that works with epoch times will work22:18
@rizenif you're working from the api then you can use $session->datetime->epochToHuman();22:20
juani think that you are talking about the D_date macro22:20
@preactionyes22:21
juanok22:21
juanthanks22:21
@preactionit's ^D(); in the templates, and D_date in the lib/WebGUI/Macro22:21
juanok22:21
-!- ryuu_ro [n=rory@c529ce350.cable.wanadoo.nl] has quit []22:28
juanpreaction, if i want to call the  ^D macro inside the other macro, is it possible?22:41
@preactionjuan, try it and see22:41
juani have tried22:42
juanbut i obtained an error22:42
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui22:50
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."]23:31
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui23:31
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [Client Quit]23:32
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit [Remote closed the connection]23:33
-!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has quit ["Leaving"]23:33
-!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui23:39
-!- mode/#webgui [+o Haarg] by ChanServ23:39
-!- juan [n=juangui@static-adsl201-232-86-73.epm.net.co] has left #webgui []23:39
-!- lisette [n=liraos@static-adsl201-232-86-73.epm.net.co] has left #webgui []23:48
--- Day changed Sat Mar 15 2008
-!- juan [n=juangui@static-adsl201-232-86-73.epm.net.co] has joined #webgui00:09
juanhello00:09
juani have an error with a collaboration system00:09
juanI don't know what happen but a collaboration system disappears in my site00:10
juano looked for it and i found it in the clipboard00:11
juani restored but only the admin user can see ti00:11
juani checked the security permissions and everyone is enable to see it00:12
juani deleted cache00:12
juanbesides i didn't see anything in webgui.log00:12
juando you know what is happening?00:13
@apeironjuan, Did you commit it?00:17
CIA-22WebGUI: jt * r5812 /branch/WebGUI_Commerce/ (5 files in 3 dirs): transaction backend and tests complete01:03
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has left #webgui []01:06
-!- juan [n=juangui@static-adsl201-232-86-73.epm.net.co] has left #webgui []01:07
-!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"]01:16
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui01:33
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI01:42
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit [Remote closed the connection]01:53
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)]03:33
-!- Haarg [n=haarg@24-177-119-178.dhcp.mdsn.wi.charter.com] has joined #webgui08:05
-!- mode/#webgui [+o Haarg] by ChanServ08:05
-!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has quit [Read error: 104 (Connection reset by peer)]08:32
-!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has joined #webgui08:33
-!- mode/#webgui [+v Radix_] by ChanServ08:33
-!- Haarg [n=haarg@24-177-119-178.dhcp.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"]11:07
-!- Haarg [n=haarg@24-177-119-178.dhcp.mdsn.wi.charter.com] has joined #webgui11:17
-!- mode/#webgui [+o Haarg] by ChanServ11:17
-!- Haarg [n=haarg@24-177-119-178.dhcp.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"]12:59
CIA-22WebGUI: yung * r5813 /WebGUI/ (lib/WebGUI/Asset/Wobject/Thingy.pm t/Asset/Wobject/Thingy.t): fix: defaultThingId was not automatically set after creating first thing, also added a test for this.18:18
CIA-22WebGUI: yung * r5814 /WebGUI/lib/WebGUI/Asset/ (Wobject.pm Wobject/Thingy.pm): Collateral methods now quote table/column names. Removed Collateral methods from Thingy asset.18:34
CIA-22WebGUI: jt * r5815 /branch/WebGUI_Commerce/www/extras/ (layout_sprite.png yui resize.css resize-skin.css): merging new yui19:33
CIA-22WebGUI: jt * r5816 /Too many paths: merging new yui19:51
-!- Haarg [n=haarg@24-177-119-178.dhcp.mdsn.wi.charter.com] has joined #webgui19:53
-!- mode/#webgui [+o Haarg] by ChanServ19:53
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui20:08
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui21:34
-!- mode/#webgui [+o preaction] by ChanServ21:34
CIA-22WebGUI: jt * r5817 /branch/WebGUI_Commerce/lib/WebGUI/ (6 files in 4 dirs): 22:05
CIA-22WebGUI: started on transaction management interface22:05
CIA-22WebGUI: finished merging new yui22:05
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has quit [Read error: 110 (Connection timed out)]22:08
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui22:24
-!- mode/#webgui [+o rizen] by ChanServ22:24
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit [Client Quit]22:24
diakopterperlDreamer: where are you23:09
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui23:48
-!- mode/#webgui [+o apeiron] by ChanServ23:48
--- Day changed Sun Mar 16 2008
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui00:39
CIA-22WebGUI: yung * r5818 /WebGUI/lib/WebGUI/ (Help/Asset_Thingy.pm i18n/English/Asset_Thingy.pm): Fixed some labels, added some help.01:42
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit ["Exit- stage left"]07:14
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)]13:03
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui15:17
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit ["Exit- stage left"]17:41
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui17:42
-!- SynQ [n=koen@e97024.upc-e.chello.nl] has joined #WebGUI17:46
SynQhowdy17:46
SynQoh wait17:52
SynQit's sunday17:52
SynQthere is no life here on sunday17:53
-!- WorkingOnWise [n=workingo@68-188-193-183.dhcp.mrqt.mi.charter.com] has joined #webgui19:26
-!- WorkingOnWise [n=workingo@68-188-193-183.dhcp.mrqt.mi.charter.com] has left #webgui []19:28
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit ["Exit- stage left"]19:30
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui19:32
-!- zylopfa [n=zylopfa@port111.ds1-vby.adsl.cybercity.dk] has joined #webgui19:50
zylopfaGreetings19:51
zylopfaI am new to webgui but seasoned in perl and i'd like to know more about file operations under the webgui api19:51
zylopfaI am making a macro that will create a xml playlist from files in a directory where files is uploaded via filepile19:52
zylopfabut how do i list files in directories within webgui?19:52
zylopfaand how do i open the files and such19:52
zylopfasometimes i just wanna program outside of the webgu api cause in order for me to do anything i have to read through tons of module files and will be lucky if i find a function to do what i want20:25
zylopfaguess no one can help20:26
zylopfabye20:26
-!- zylopfa [n=zylopfa@port111.ds1-vby.adsl.cybercity.dk] has left #webgui ["Leaving"]20:26
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui20:42
-!- mode/#webgui [+o preaction] by ChanServ20:42
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit ["Exit- stage left"]20:52
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui20:54
-!- BartJol [n=plainstu@54-167.surfsnel.dsl.internl.net] has joined #webgui20:57
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit [Remote closed the connection]21:00
-!- BartJol [n=plainstu@54-167.surfsnel.dsl.internl.net] has quit [Read error: 113 (No route to host)]22:28
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui22:34
-!- wgGuest54 [n=wgGuest5@cpe-70-123-157-171.austin.res.rr.com] has joined #webgui22:36
wgGuest54hello?22:36
@preactionhello22:42
wgGuest54hi...quick question:  is there a mechanism available in webgui whereby a java routine can be called while rendering a page?22:43
@preactionuh... for what purpose? when do you need it to be called? why do you need it to be called?22:45
wgGuest54it's a backend process that takes several parameters as input and would return a snippet of html...22:45
wgGuest54so, think of it as similiar in concept to a macro or a sql report...22:46
@preactionsounds like a macro, or rather, something that could be called via a macro22:46
wgGuest54okay22:46
@preactionperhaps Perl's Inline::Java could help?22:46
wgGuest54possibly, although I think Inline may have some limitations...my thought was that someone in the webgui world may have encountered and worked through this...I'll do some additional digging22:47
wgGuest54¡muchas gracias!22:49
-!- wgGuest54 [n=wgGuest5@cpe-70-123-157-171.austin.res.rr.com] has quit []22:52
* apeiron has evil, unholy thoughts of someone using parrot to redo WebGUI with RoR.23:01
--- Day changed Mon Mar 17 2008
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit ["Exit- stage left"]00:07
-!- SynQ [n=koen@e97024.upc-e.chello.nl] has left #WebGUI []00:28
-!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui01:14
-!- mode/#webgui [+v Radix-wrk] by ChanServ01:14
-!- GooeyOfSteel [n=puppetma@hq.imaterial.org] has quit [Remote closed the connection]01:34
-!- nuba [n=nuba@hq.imaterial.org] has quit [Remote closed the connection]01:34
-!- Radix-wrk [n=Jesse@203.161.68.67] has quit [Read error: 104 (Connection reset by peer)]04:27
-!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui04:30
-!- mode/#webgui [+v Radix-wrk] by ChanServ04:30
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Connection timed out]08:13
-!- Radix-wrk [n=Jesse@203.161.68.67] has quit ["Leaving"]08:36
-!- ryuu_ro [n=rory@194.171.50.69] has joined #webgui08:47
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui08:52
-!- mode/#webgui [+o preaction] by ChanServ08:52
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Connection timed out]09:46
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui10:36
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has quit ["Leaving"]13:08
-!- ryuu_ro_ [n=rory@194.171.50.69] has joined #webgui14:49
-!- ryuu_ro [n=rory@194.171.50.69] has quit [Read error: 104 (Connection reset by peer)]14:49
-!- SDuensin [n=Scott@165.sub-75-207-139.myvzw.com] has joined #WebGUI15:31
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui15:31
SDuensinMorning.15:34
-!- dionak [n=diona@97.66.185.250] has joined #webgui15:39
CIA-22WebGUI: graham * r5819 /Lift/ (43 files in 14 dirs): initial commit15:48
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit [Remote closed the connection]15:54
-!- lisette [n=liraos@static-adsl201-232-86-73.epm.net.co] has joined #webgui15:55
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui17:12
-!- mode/#webgui [+o rizen] by ChanServ17:12
perlmonkey2Is there any reason I couldn't take the /data directory off one machine, copy it to another, and then install the WRE on that other machine to run WG?17:23
-!- ryuu_ro_ [n=rory@194.171.50.69] has quit []17:33
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui17:49
-!- mode/#webgui [+o preaction] by ChanServ17:49
@rizenno17:49
@rizenthat's actually the point of the /data folder17:49
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has joined #webgui18:02
-!- mode/#webgui [+v perlDreamer] by ChanServ18:02
+perlDreamerHey, all.  I'm back from vacation.18:02
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has quit ["Leaving."]18:08
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."]18:17
@preactionvacation? we all thought you were working18:24
+perlDreamerno18:24
+perlDreamerif I'm at work, I'm almost always on IRC18:25
@preactionah, the more I know!18:25
+perlDreamerWent to Legoland, rode trains18:25
+perlDreamerWent to Disneyland, rode trains18:25
@preactionsweet18:25
+perlDreamerWent to Griffith Park, rode trains18:25
+perlDreamerWent to Union Station, rode trains18:25
@preactionkids like trains?18:25
+perlDreamera lot18:25
+perlDreamerwe did some other stuff, too :)18:25
@preactiongood kids18:25
+perlDreamerthey want to visit rizen's house18:26
+perlDreamerbecause it's next to train tracks18:26
@preactioni love trains. can't wait to inherit grandpa's old O- and HO- scale model trains18:26
@preactionha18:26
@preactionand before you start: i don't know what's happened to the test box, it's a hardware failure that I may have the parts to fix hopefully this week18:27
+perlDreamerah, okay18:27
+perlDreamerI'm sorry this is such a huge hassle for you18:27
@preactionit isn't, it's worth far more than the work i'll ever put into it18:28
@preactionyou rode Big Thunder Mountain Railroad, right?18:29
@rizeni can't allow them to come here18:30
@preactionand the Tomorrow-land tram thing?18:30
+perlDreamerNo, kids too young, dad too scared18:30
@preactionoh, wait. Disneyland in CA or FL?18:30
@rizenthey're kids...they might infect me with kid stuff18:30
+perlDreamerRode the tram, Casey Jr, they even rode the Heimlick train in Bug land18:30
+perlDreamerrizen: we'll wrap them in plastic18:30
@preactiontrick them with splash mountain. it's all fun and games until you get to the end18:31
+perlDreamerthey read an entire guide to Disney land,  they knew more about it than I did :)18:31
@preactiontoo much nollidg isn't good for a kid ;-)18:32
@rizenperlDreamer: i build the start of the transaction management screen using the data table stuff..you may want to look at it to help you with the tax stuff18:34
+perlDreamercool,  I dug a little into that, but didn't get too far18:34
+perlDreamerdo you like it?18:34
@rizenyes18:36
@rizenit's really sweet18:36
@rizenafter i set it up, i realized i want to retrofit a lot of the webgui admin screens to use it18:37
+perlDreamerdid you use client side, or server side pagination?18:37
@rizenserver side18:37
@rizenbecause the transaction table could get HUGE after a while18:38
+perlDreamermaybe we need a DataTable widget/form things :)18:45
@rizeni can't imagine how you'd make that work18:46
@rizenin a generic fashion18:46
+perlDreamerI was thinking it would be nice to handle all the JS script inclusions and all18:47
@rizeni'm not sure how you'd do that since you have to customize formatters and stuff18:58
@rizenit would certainly be worth investigating though18:58
+perlDreamereh, it's just my js-phobia talking again18:59
-!- dionak [n=diona@97.66.185.250] has quit []19:14
-!- dionak [n=diona@97.66.185.250] has joined #webgui19:14
CIA-22WebGUI: meatbop * r5820 /WebGUI/www/extras/assets/ (small/Donation.gif Donation.gif): Added donation icons19:16
CIA-22WebGUI: jt * r5821 /branch/WebGUI_Commerce/www/extras/assets/ (Donation.gif small/Donation.gif): merging new icon19:16
CIA-22WebGUI: jt * r5822 /branch/WebGUI_Commerce/ (4 files in 4 dirs): fixed some bugs, added human friendly order number to transactions19:16
-!- dionak [n=diona@97.66.185.250] has quit []19:41
-!- dionak [n=diona@97.66.185.250] has joined #webgui19:41
CIA-22WebGUI: jt * r5823 /branch/WebGUI_Commerce/ (4 files in 3 dirs): added basic quantity checking for inventory management, and a dateAdded field to the cart in case we need to monitor how long items have been in the cart20:00
CIA-22WebGUI: colin * r5824 /branch/WebGUI_Commerce/lib/WebGUI/Shop/ShipDriver/FlatRate.pm: fix syntax error in FlatRate, calculate20:00
CIA-22WebGUI: colin * r5825 /branch/WebGUI_Commerce/t/Shop/ShipDriver/FlatRate.t: options access is now private, removing test.20:00
+perlDreamerwhole lot of test breakage happening20:00
@preactionthose mech tests are failing because our old test box doesn't have Test::WWW::Mech20:01
+perlDreamerthis is just in the Commerce branch20:02
@preactionoh, good job guys20:02
-!- dionak [n=diona@97.66.185.250] has quit []20:24
+perlDreamera lot of it is just maintenance, code changed without changing the tests20:24
-!- dionak [n=diona@97.66.185.250] has joined #webgui20:24
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has joined #webgui20:29
-!- mode/#webgui [+v MrHairgrease] by ChanServ20:30
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui20:33
CIA-22WebGUI: meatbop * r5826 /WebGUI/www/extras/assets/ (Sku.gif small/Sku.gif): Added sku icons20:42
@rizenpd that's probably my fault20:48
@rizeni'll fix it up20:48
+MrHairgreasehey perldreamer is back!20:48
@rizenthere fixed the shipping errors20:56
CIA-22WebGUI: jt * r5827 /branch/WebGUI_Commerce/t/Shop/ (Cart.t Ship.t): fixed bugs due to changes in code21:02
+MrHairgreasehow do these url handlers wor21:05
+MrHairgreaseeg. how do i get to the stuff in wg::url::shop?21:05
@rizenpagename?shop=pay;method=showPaymentOptions21:06
+MrHairgreaseok thanks21:06
+MrHairgreasetryin it now21:06
@rizenwhere pay = WebGUI::Shop::Pay and showPaymentOptions = www_showPaymentOptions21:06
@rizenit's all running through a content handler called Shop.pm21:07
@rizenif you want to see the logic21:07
+MrHairgreaseyeah saw that21:07
+MrHairgreasebut i was wondering how to call it21:07
@rizeni'll put that into the docs21:07
+MrHairgreaseah i see21:11
+MrHairgreasewww_showPaymentOptions hasn't been implemented yet21:12
@rizenright21:12
@rizenhere do this one: /home?shop=cart;method=view21:12
@rizenthat one works21:12
+MrHairgreasei just tried pay/manage21:12
@rizenor /home?shop=transaction;method=manage21:12
+MrHairgreasedoes give outpu too21:12
+MrHairgreaseok21:12
@rizenshowPaymentOptions may never be implemented. that was just an example21:13
+MrHairgreaseyeah, i understand21:13
@rizenover time i think i'm going to get rid of the "operations" concept, at least as it exists now21:13
@rizenand move to more content handlers21:14
@rizenof course, operations is a content handler...but it's huge21:14
CIA-22WebGUI: jt * r5828 /branch/WebGUI_Commerce/lib/WebGUI/Content/Shop.pm: added documentation on how to access the shop modules via a url21:21
CIA-22WebGUI: jt * r5829 /branch/WebGUI_Commerce/lib/WebGUI/Content/Shop.pm: added clarity21:21
-!- lisette [n=liraos@static-adsl201-232-86-73.epm.net.co] has quit [Read error: 113 (No route to host)]21:48
+MrHairgreasenon-existant templateId  should throw ObjectNotFound?21:50
@rizenyup21:50
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit [Remote closed the connection]22:29
-!- dionak [n=diona@97.66.185.250] has quit []22:31
-!- dionak [n=diona@97.66.185.250] has joined #webgui22:31
+perlDreamerokay, all the tests are running clean now22:38
+perlDreamerthanks, rizen!22:38
@rizenno need to thank me, you should berate me for breaking it and not fixing it. =)22:39
+MrHairgreasestop breaking the code!22:39
+perlDreamerWhat kind of junior high programming classes have you been taking?22:39
+perlDreamertest before committing22:39
* perlDreamer grumbles a bit more22:39
+MrHairgreasemeanwhile i get an error when doing method=setShippingAddress22:39
+perlDreameryada yada yada22:40
+MrHairgreaseand I can't find out where it's screwing up22:40
+MrHairgreaseCan't call method "db" on an undefined value at /data/WebGUI/lib/WebGUI/Shop/Ship.pm line 15022:40
@rizenpd...i just made the transaction data table cooler because i made the data searchable22:40
@rizenlikely my fault too22:41
@rizenlet me look22:41
+perlDreamerMrHairgrease, try updating.  I just had a clean run and I'm up to date here.22:42
+MrHairgreasei just did22:42
+perlDreamerIs this in the UI, or in a test?22:43
+MrHairgreaseui22:43
+MrHairgreasesession doesn't seem to be set22:43
+MrHairgreasebut Ship->new is called only in Cart22:44
+MrHairgreasebut that has an exception for not passing a session along22:44
+MrHairgreasehey, this is weird22:45
+MrHairgreaseshop=cart;method=view now generates the same error22:46
CIA-22WebGUI: colin * r5830 /branch/WebGUI_Commerce/t/Shop/ShipDriver/FlatRate.t: more test maintenance. Add automatically added form elements, change shipperId to getId22:46
CIA-22WebGUI: jt * r5831 /branch/WebGUI_Commerce/lib/WebGUI/ (Shop/Transaction.pm Content/Shop.pm): added transaction searching22:46
+MrHairgreasewhile i'm possitive that it worked before i started to encounter the error in setShippingAddress22:46
-!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI22:53
elninohello.22:54
-!- SDuensin [n=Scott@165.sub-75-207-139.myvzw.com] has quit ["Leaving"]22:54
@rizenfound the problem22:55
@rizenfixing22:55
+MrHairgreaseok22:55
+MrHairgreasegreat22:55
elninoI have an external database that I set up, and from what I can tell it works, but I'm creating a new report and am getting an error in my log file:22:55
elninoCounldn't call method view on asset Root cause: can't call method errorCode on an undefined value at /data/WebGUI/lib/WebGUI/Paginator.pm.  I have no idea what this means. Does it mean anything to anyone?22:56
+MrHairgreasemy guess is your dblink cannot connect22:58
@rizenfix is in svn22:59
+MrHairgreaseor your query is broken22:59
+MrHairgreaseah ok22:59
+MrHairgreasei'll check it out22:59
elninoBut I use this connection for other reports that work. The query I tested manuall works as well.23:00
elninobut I'll double check anyway23:00
+MrHairgreasebut it's a bug anyway23:00
+MrHairgreaseoh btw23:00
@rizenperhaps you didn't pass in the parameters to setDataByQuery() properlly23:00
+MrHairgreasewhat dbd are you using?23:00
elninomaxdb (mysql)23:01
elninodbi:MaxDB:machinename:port/databasename23:01
elninoRizen, is your coment about setDatabyquery for me? I don't knwo what you mean if it is for me.23:03
@rizenyes23:03
@rizenare you not using the paginator asset23:03
CIA-22WebGUI: jt * r5832 /branch/WebGUI_Commerce/lib/WebGUI/Shop/Cart.pm: fixed leftover api error23:04
@rizens/asset/class/23:04
@rizenmy guess is that you are23:04
@rizenalso, are you trying to run WebGUI on MaxDB?23:04
elninoIt's a new report, I didn't change any settings on the pagigation, I think it's 50. 23:04
elninoNo, Webgui is on mysql. MaxDb - is our backend for our Customer db23:05
@rizenok23:05
@rizensothis is an sql report then23:05
+MrHairgreaseelnino: you don't get 'Unconditional read failed' error messages?23:05
elninoNo Unconditional read fails.23:05
+MrHairgreasewhat version are you on?23:06
+MrHairgreasealso have you tried turning debugging on?23:07
elninoand I set the pagination to 0  - and it didn't make a difference - still same error.23:07
+MrHairgreasejust to be sure, i meant in the webgui.log23:07
elninoI have debug on, but nothing shows up bcause a complete page is not returned (incomplete Html), it's very weird. 23:07
elninoyep, I have warn set on my logs and webgui.log only talks about not calling errorCode on an undefined value23:08
elninorunning 7.4.2623:08
elninoMaxDB version - 7.523:09
elninoI'll try some other queries again23:09
+MrHairgreaseweird23:10
elninoyes.23:10
+MrHairgreaseb/c if the value it's calling errorCode is undef, the unconditional read failed thingy should be logged23:10
+perlDreamerit could be a bug in the driver itself23:11
+MrHairgreasenot ;ikely23:12
+MrHairgreasesince webgui has it's own wrapper around dbi23:12
+MrHairgreaseits*23:12
+MrHairgreasedoh getOptions...23:13
elninook. I tried another sql query, and it works. So I don't knwo what to think, 23:15
elninoI tried a simpler select * from table version of my original query and it is still givin gme the error. What do you mean getOptions?23:15
+MrHairgreasethat was directed to rizen23:16
+MrHairgreasestill weird23:16
+MrHairgreaseare you certain you have select rights on all coumns of that table23:16
elninoOH!!! 23:16
+MrHairgreaseor at that table at all for that matter23:16
elninoI do see Unconidtional reads.  I was using search functionality in vi, and was searching on something else.23:17
elninothat was somethign I tried first, was using the "gog" username password.23:17
+MrHairgreasehey, howdo you know my password?23:18
elninoI'm meant "god", and well, you know.23:18
+perlDreamerI see that people are beginning to blog about talks at OSCON.  Have any PB talks been accepted at OSCON?23:22
elnino- fixed. Dumb user error. Sorry guyes. I keep forgetting that I have to use the username.tablename format. Grr.  However, when I was getting those errors, I should still get compete HTML instead of it all blowing up on me. Should that be a bug reprot?23:23
+MrHairgreaseguess so23:25
+perlDreamersounds like a good place to throw an exception23:25
+MrHairgreaserizen: i take it the checkout button in the view cart screen should be the PayDriver->www_getButton button...23:26
@rizenno23:27
@rizenthere will actually be a separate screen23:27
@rizenwhich lists all the payment gateways23:27
+MrHairgreaseoh23:27
+MrHairgreasecheckout goes there?23:27
@rizeni originally wanted the checkout button be replaced by a series of buttons for the payment screen23:28
@rizenbut the problem is that some of the buttons go to paypal23:28
@rizensome go to drivers23:28
@rizensome shouldn't be displayed at all if there's a recurring item in the cart23:28
@rizenetc23:28
@rizenso there is a separate screen23:28
+MrHairgreaseok23:28
@rizenso you click on checkout23:28
@rizenand that then makes you log in23:28
@rizenif you aren't23:28
@rizenand if you are then it displays the list of payment options23:29
@rizenre: the payment buttons on the cart...the other problem that i was worried about was the store that has 10 payment methods23:29
+MrHairgreasesort of like the way it is now?23:29
@rizenit would be ugly23:29
@rizenyes23:29
+MrHairgreaseindeed it would23:30
+MrHairgreaseand that screen, where would it go? In Pay.pm23:30
+MrHairgrease?23:30
@rizenyup23:30
+MrHairgreasewww_selectPaymentGateway?23:30
@rizenwhatever you like23:31
@rizendon't really care23:31
+MrHairgreaseyou don't want that =)23:31
@rizenok i do care23:31
@rizenuse that23:31
+MrHairgreasethought so23:31
+MrHairgreasetoo bad23:31
@rizendon't want it to be www_martinIsAsexyBastard23:31
@rizenor www_iLikePorn23:31
+perlDreameror www_getSupportFromNetherlands23:32
+MrHairgreasepd: don't worry about that one23:32
+perlDreamerhey, maybe we could sell method names as advertising?23:32
+MrHairgreasesure23:32
+MrHairgreasei could use some extra money23:32
+perlDreamerop=sponsoredbyGeneralMotors23:33
+perlDreameris the yahoo-dom-event.js automatically loaded by wG?23:54
--- Day changed Tue Mar 18 2008
* MrHairgrease hates CP-125200:08
@rizenperlDreamer ...no00:09
@rizenyou need to use a setScript00:09
@rizen$session->style->setScript00:09
@rizenlike i do in the transaction manager screen00:09
+perlDreamerthe transaction manager screen doesn't load that particular file, but it uses YAHOO.util.Event.onDOMReady.  maybe it just comes out of util00:10
@rizenyes it does00:13
@rizen* Yahoo Global Object00:13
@rizen* Event00:13
@rizen* Dom00:13
@rizen* Connection Manager00:13
@rizen* Animation00:13
@rizen* Drag &amp; Drop00:13
@rizen* Element00:13
@rizenutil contains all those things00:13
+perlDreamerI see.00:14
@rizendid you see my little search thingy00:19
@rizenand how it works00:19
@rizenor rather how it's integrated into the data table00:20
+perlDreameryes00:20
+perlDreamerI'm not sure if the Tax needs a search or not.  but it couldn't hurt to build it in00:20
+perlDreamerhow well do the JS column sorting the pagination work together?00:21
@rizeni don't think it does00:21
@rizenbut search isn't really the important part, it's how you can integrate other queries00:21
@rizenfor filters, search, or whatever00:21
@rizenthey don't00:21
@rizenif you want to do sorting you have to do server side sorting00:21
@rizenbecause it doesn't have all the data00:21
@rizenso if you allow column sorting00:22
@rizenit would just sort the data it has00:22
@rizennot all the data00:22
+perlDreamerI have a lot more reading to do in the YUI API docs00:22
@rizenunless you're not using ajax to fetch the data? are you just giving it the entire feed?00:22
+perlDreamerI was going to give it the entire feed, but the tax table could be large, too00:22
@rizeni didn't actually read any of the yui docs to implement this00:23
+perlDreamerand I have this cool code to copy/paste/steal from now, so I may just go for the big banana00:23
@rizeni just looked at 2 examples00:23
@rizenis there something in my code i could document for you to make it easier to understand00:23
@rizenand therefore future generations easier to understand00:23
+perlDreamernot really, I think I just looked at different examples.00:27
+perlDreamerit's all really pretty straight forward00:27
-!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has quit ["Leaving"]00:27
+perlDreamerwell, okay, I do have a question.  Where does formatter:YAHOO.widget.DataTable.formatViewTransaction come from?00:30
+perlDreamernm, I see it now00:31
+perlDreamerit's defined inline00:31
@rizeni'm adding some comments00:31
@rizenplus i just realized a flaw in my design00:31
@rizenif  you type in a search param00:31
@rizenand hit enter00:31
@rizenrather than click on the button00:31
@rizenit submits the form00:31
@rizenwhich does nothing00:31
@rizenneed to change that00:31
@rizenah...much better00:33
+perlDreamershould we be using Shop::Admin->canManage instead of local canEdit's like in traditional operations?00:35
@rizenyes00:36
@rizenfor now at least, if you have permissions to the commerce system, you'll have permission to the whole commerce system00:36
@rizeni thought what you did was a good idea...it just needed to be in one place00:37
+perlDreamerit makes sense to centralize it00:37
@rizenand since you get a reference to the admin console from Admin.pm, it seemed that canManage should go there too00:37
@rizeni'm both scared and excited about the commerce system00:38
@rizenexcited because it's turning out so good00:38
@rizenscared because we only have 2.5 months left to do a lot of shizzle00:38
+perlDreamer2.5 time months, but at least 1.5 months of hacker time/month00:39
+perlDreamer1 rizen + fractional perlDreamers, MrHairgrease and others00:40
@rizenif it were truely 1 rizen i wouldn't worry about it00:41
@rizenit's only about .5 rizen though00:41
@rizendue to pb stff00:41
@rizenstuff00:41
@rizeni have a trade show coming up, plus i spend 2 days per month doing financials related stuff00:42
@rizenplus the other piddly crap like black blog, helping staff with problems, etc00:42
@rizenanyway..it's good that i'm worried00:42
@rizenit motivates me00:42
+perlDreamerhow's the plumbing?00:46
+perlDreamerhopefully no more pump time?00:46
@rizenit's not spring yet00:47
@rizenoh that00:47
@rizenactually i spent another dozen or so hours pumping in the past week00:47
@rizenbut the drains have finally thawed00:47
@rizenso that should be over00:47
CIA-22WebGUI: jt * r5833 /branch/WebGUI_Commerce/lib/WebGUI/Shop/Transaction.pm: fix a submit problem, add some comments00:47
+perlDreamersweet.  You're going to have massive biceps, dude.00:47
+perlDreamerfeed the burn!00:47
@rizenwhy?00:48
@rizeni'm not manually sitting there with a pump00:48
@rizena hand pump00:48
@rizenit's an electric pump00:48
@rizeni just have to route hoses00:48
@rizenand keep moving it around to match water conditions00:48
+perlDreamerthat's not so bad; we just need to get you a waterproof notebook00:49
@rizenyou actually thought i was hand pumping water like an old style bilge for 12 hour straight?00:49
+perlDreameryeah00:49
@rizeni'm smarter than that00:49
@rizen=)00:49
@preactionavast ye scurvy dogs! harder on the bilge she's drawing too much water!00:50
+perlDreamerdead men pump no water00:50
+perlDreamerah yea, found_rows()00:51
+perlDreamerfrom Frank's blog entry00:51
@rizenit doesn't seem to work though00:54
@rizenthe found_rows() thing00:54
@rizenoh00:56
@rizeni think i'm using it wrong00:56
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI01:05
+perlDreamerhttp://dev.mysql.com/doc/refman/5.1/en/information-functions.html#function_found-rows01:07
@rizeni've read the instructions01:08
@rizenit still doesn't work right01:08
@rizenand i was doing it wrong01:08
@rizenbut i've fixed it01:08
@rizenand it still doesn't work right01:08
+perlDreamerdoes the select have to come after all the data is read from MySQL?01:12
@rizenit doesn't in frank's pagination code01:12
@rizenWebGUI::Paginator01:12
+perlDreamernot meaning to bash Frank, but does it really work?01:12
@rizengood question01:13
@preactionyes01:13
@rizenyes it's a good question, or yes it needs to come after you do a $sth->array01:13
@preactionyes it works01:13
@rizenok01:13
@preactionat least, the Paginator works01:14
@rizenwell i'm doing what he does as far as i can tell01:14
* perlDreamer decides to take a commerce break and write a paginator test :)01:14
@rizenit works from the command line01:15
@rizenbut not from within webgui01:15
@rizennot the paginator...but my ode01:15
-!- dionak [n=diona@97.66.185.250] has quit []01:16
@rizennevermind, it's not mysql that's busted01:20
@rizenit's yui01:20
@rizenoh that's fucked in the head01:22
@rizenselect found_rows() returns as a scalar in perl01:23
@rizena text scalar01:23
@rizenso when you push it into json it's still text01:23
@rizenand when yui receives it it's still text01:23
@rizenand therefore yui treats it as zero01:23
+perlDreamer+001:23
@rizenso when i changed my code to +001:23
@rizenthen it works01:23
@rizenit just sucks that i had to do that01:24
+perlDreamermaybe use the quickArray vs quickScalar?01:24
+perlDreamerthat's what Frank uses in the Paginator code01:24
@rizenit doesn't matter now that i found it01:24
@rizenok i'm done for today01:25
@rizenscrewed up the commerce system enough for one day01:25
@rizen=)01:25
@rizenactually...01:26
@rizeni'm going to move on to the EMS tomorrow01:26
@rizenit's the biggest piece that's left that's still outstanding methinks01:26
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has left #webgui []01:27
@rizennot that we don't have a thousand little piees01:27
@rizenpieces01:27
@rizenbut that one is going to be nasty01:27
@rizenplus, worst case scenario someone else can finish up transaction management...it's not that hard now that the base stuff is done01:27
@rizenlater guys01:28
-!- rizen is now known as rizenisaway01:28
CIA-22WebGUI: jt * r5834 /branch/WebGUI_Commerce/lib/WebGUI/Shop/Transaction.pm: started adding view transaction page01:28
CIA-22WebGUI: jt * r5835 /branch/WebGUI_Commerce/lib/WebGUI/Shop/Transaction.pm: fixed a pagination problem01:28
-!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui01:30
-!- mode/#webgui [+v Radix-wrk] by ChanServ01:30
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has quit ["Download Gaim: http://gaim.sourceforge.net/"]01:47
-!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui01:58
-!- Radix-wrk [n=Jesse@203.161.68.67] has quit ["Leaving"]02:00
-!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui02:08
-!- mode/#webgui [+v Radix-wrk] by ChanServ02:08
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui02:51
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Connection timed out]03:28
-!- rizenisaway [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit []04:00
-!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI04:34
elninois there a place I can find the old help that was in webgui before it was removed? I'm looking for the template variables for the file asset.04:35
+Radix-wrkYou're welcome to use our site - http://www.formsys.com/home?op=viewHelpTOC04:44
+Radix-wrkolder version tho.. 7.0.8 I think we still use04:45
+Radix-wrkhttp://www.juga.biz/home?op=viewHelpTOC04:45
+Radix-wrknewer version there.. that's 7.3 I think04:45
elninoThanks! during my free time, I want to copy that to the wiki - there is valuable info there that is greatly misssed by me. =) Would there be a problem copying that do you think?04:46
+Radix-wrkHmm.. might be best to ask the PB guys where the help went04:47
+Radix-wrkI thought it had been converted to the wiki or something04:47
elninono, it wasn't - though some of it may have by users. I think that it was the idea to port it, but I don't think pb is doing that, but rather relying on non-pb people to do that. I may be wrong. 04:49
+Radix-wrkThat juga.biz link is using 7.3.21-stable btw04:49
elninoanyway, I found the info I needed immediately. So thank you for that. like I said, free time. whatever that is.04:49
+Radix-wrkIf it's not already there, then yeah, it should be added to the wiki if you have any of that elusive "free time" :)04:50
-!- elnino_laptop [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI04:51
elnino_laptopweird. I added a page to the wiki on webgui's site, and then added it to the TOC, and when editing the TOC, none of the links show up as links in edit mode,  so I wonder how they become links is it automatic? I'm using IE7.05:01
-!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has quit [Read error: 110 (Connection timed out)]05:09
-!- diakopter [n=diakopte@pdpc/supporter/active/diakopter] has quit ["leaving"]05:13
-!- diakopter [n=diakopte@pdpc/supporter/active/diakopter] has joined #webgui05:18
-!- elnino_home [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI05:21
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit ["Exit- stage left"]05:25
-!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI05:30
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui05:37
-!- mode/#webgui [+o preaction] by ChanServ05:37
-!- elnino_laptop [n=elnino@user-38q49cv.cable.mindspring.com] has quit [Read error: 110 (Connection timed out)]05:39
-!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has quit []05:47
-!- elnino_home [n=elnino@user-38q49cv.cable.mindspring.com] has quit [Read error: 110 (Connection timed out)]05:48
-!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has quit ["Leaving"]05:57
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)]06:08
-!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui06:14
-!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has quit []06:30
-!- Radix-wrk [n=Jesse@203.161.68.67] has quit ["Leaving"]09:24
-!- ryuu_ro [n=rory@194.171.50.69] has joined #webgui09:29
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui10:04
-!- BartJol [n=plainstu@194.171.50.123] has joined #webgui11:04
-!- ryuu_ro_ [n=rory@194.171.50.69] has joined #webgui11:18
-!- ryuu_ro [n=rory@194.171.50.69] has quit [Read error: 104 (Connection reset by peer)]11:18
ryuu_ro_Hi guys, I run webgui 7.4.21 for a while now without any problems until yesterday11:47
ryuu_ro_suddenly the admin console doesn't show any assets anymore in FF11:48
ryuu_ro_can someone point me in the right direction11:48
BartJoldoes anyone know how to make a commerce purchase available, when not being logged in?13:14
BartJolin the primer it says that anonymous registration is on, but this doesn't help and a login screen is still shown?13:14
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has quit ["Leaving"]13:18
-!- BartJol [n=plainstu@194.171.50.123] has quit [Read error: 113 (No route to host)]14:41
ckotilIs the sql report asset broke in 7.4.12?15:11
ckotilI just noticed my only sql report asset is returning nothing.15:12
-!- SDuensin [n=Scott@218.sub-75-205-174.myvzw.com] has joined #WebGUI15:16
SDuensinMorning.15:18
-!- Haarg [n=haarg@24-177-119-178.dhcp.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"]15:51
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui16:06
-!- mode/#webgui [+o rizen] by ChanServ16:06
-!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui16:08
-!- mode/#webgui [+o Haarg] by ChanServ16:08
-!- dionak [n=diona@97.66.185.250] has joined #webgui16:19
-!- BartJol [n=plainstu@194.171.50.123] has joined #webgui16:40
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui16:57
-!- mode/#webgui [+o preaction] by ChanServ16:58
@rizenpreaction!16:58
@rizenjust the man i wanted to see16:58
@preactionrizen!16:58
@preactionooooh16:58
@rizeni know you have lots of thoughts about EMS16:58
@rizenplease share them with me16:58
@rizeni'm beginning EMS 2.0 dev today16:58
@preactionindeed16:59
@rizenbtw...i know one is that you think it should be a subclass of calendar16:59
@rizenand that won't work16:59
@rizenbecause the events have to be a subclass of WebGUI::Asset::Sku16:59
@preactionyeah, it's a little infeasible16:59
@rizenbut other than that...please share17:00
@preactionthe calendar wasn't yet meant to be subclassed like that, my plan is to fix that situation soon17:00
@preactionthe whole prereq set / event thing is incredibly complicated for the manager. 17:00
@preactionbut the main complication is that Badges are Events17:01
@preaction(imho)17:01
@preactionright know it's kinda like a tree, but if you'd seperate out badges and make them their own thing, it could probably get a lot simpler17:02
@rizendo you think that badges and events should be separate classes?17:02
@rizeni was thinking that instead of making them separate classes, i might just add a selector to their properties17:02
@rizen"Badge, Event, Ribbon"17:02
@preactionin the backend that would probably work fine. i will admit my ignorance as to what those terms mean was the main problem i kept having17:03
@preactionso i would like to see it simplified / streamlined if at all possible17:04
@preactionkeep the advanced funtionality, sure, but make the standard act of building badges and events into something quick and easy17:04
@preactionis there any other software out there for this we could blatantly ste^Wborrow from?17:05
@rizenthere are lots of them out there17:05
@rizenbut none that are good...that i've seen17:06
@rizenand our ems goes into that category17:06
@rizen=)17:06
@preactioni was also thinking that it could be used, or subclassed for a sort of course management system, but that's not important really17:06
@rizeni agree17:07
@rizenand i'm keeping that in mind17:07
@preactioni think that resource management might've been a feature i was hoping could be integrated17:07
@rizennot adding new features at this time17:07
@preactionhuman and equipment17:07
@rizenno time for that17:07
@preactionk17:07
@rizenjust trying to figure out what the baseline should be so we can add those things17:07
@rizenso i will keep resource management in mind17:07
@preactionoh, i was thinking that the meaning of Event should change a bit, to mean the actual all-encompassing Conference17:09
@rizenok so simplify everything, maybe break out badges, resource management...what else?17:09
@preactionor perhaps EMS could have Conferences, which have Badges and Events17:09
@preactiongama continually makes new EMS for every Event they have, when they should probably have a way to just say "Okay, we're having a new Event, lets add it to our EMS"17:10
@preactionbut that's kinda a new feature17:10
@rizensee i was thinking that you should use a new EMS every year17:10
@rizenand that EMS = conference17:11
@rizeni know that wouldn't work for ticketmaste17:11
@rizenr17:11
@rizenbut it works better for nearly everything else17:11
@preactionEMSes share certain data, right?17:11
@rizenthey aren't going to once i'm done17:11
@preactionbut then that data is mostly commerce data isn't it? so the new commerce stuff will do that17:11
@rizenthat's one of the biggest complaints from gama ...and from me right now17:11
@rizenhuh?17:12
@preactionoh, the buying badges for other people is .... it needs to be better i think17:12
@rizensure it needs to be better, but what does that mean? what would make it better?17:12
@preactionif i remember correctly, the screen that lets you update a badge owners information is completely javascript, and seems hacked together17:14
@rizenyeah, the drop down for that is gone17:14
@rizenit's going to use the commerce address book feature instead17:15
@preactionthat should be about it for that17:15
@rizenso that alone makes it better/17:15
@rizen?17:15
@preactionyeah17:15
@preactionit's been awhile since i've poked around the EMS17:16
@preactionthe EMS's subcart thing needs to go17:16
@preactionbut the commerce rewrite allows that17:16
CIA-22WebGUI: graham * r5836 /WebGUI/lib/WebGUI/Asset/RSSFromParent.pm: Don't need to convert data to UTF8 anymore, it comes from mysql that way17:16
@preactionsince that subcart thing was a hack around some limitations of Commerce17:16
@rizenoh i hadn't even thought of that17:17
@rizenbut you're right, i could put the badges directly into the cart as they are created17:17
@rizenand continue modifying them while they are in the cart17:17
@preactionthe new commerce address book thing will have shared data, so that my personal info from last year would carry over to the new EMS this year? that'd be the only thing I could see sharing data between EMS would need to do17:25
@preactiondo we have time for some new templates? or is Steve booked up?17:27
@rizenyes it will carry your old addresses17:27
@rizenfrom year to year17:28
@rizensteve is supposed to have time slated for templates in the ems17:28
@preactionbadges that are 0.00 or otherwise need an administrator to assign to you instead of being able to purchase, could those be handled differently? some sort of method to request access to the badge (i think gama uses a dataform currently)17:29
@preactioneh, that's another new feature17:29
@preactioni think that's about all i can think of. the end-user's experience is pretty solid, it's the administrators experience that needs a bit of streamlining17:30
@rizenother features i'd like to add is a call for participation system17:32
@rizenand also a schedule wall similar to the one that we put up for the wuc each year17:33
@preactionyes, that was nice17:33
@rizenthat lists the rooms, and the events taking place in those rooms17:33
BartJoly'know, thingy is a bitch to translate17:33
@rizenby day and time17:33
BartJolin dutch it sound really stupid "Dingetje"17:33
@rizenis it because it's so "generic" ?17:33
@rizenso use the english name17:33
@rizenYou call "Coca-cola" the same thing right17:34
@rizenThingy is a brand17:34
@rizenThingy(R)17:34
BartJolyes, but thing like add thing really is to mysteriuos17:34
BartJolthingy is ok17:34
BartJolwell, I'll have some thoughts on it17:34
@rizenif you think that the dutch people will understand the concept of a "Thing" being a database table then feel free to call it "add table"17:35
@rizeni just know that your average american office worker has no concept of a database17:35
BartJolit's the same here17:35
BartJolthey just want to click on something17:36
ryuu_ro_so let's call it clicker then :)17:36
@rizenlet's call it a "Bart"17:36
@rizenAdd Bart17:37
ryuu_ro_lol delete Bart17:37
ryuu_ro_it isn't working he's still here17:37
@rizenmight be a bug17:38
BartJollol17:38
BartJolI'm a bug17:38
BartJolI will make musquito noices at your ears at night17:38
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui17:41
@rizenbart, i finally watched fear and loathing17:42
BartJolah17:43
BartJoland?17:43
@rizenyou can have your dvd's back now17:43
@rizenit's bad17:43
BartJol:)17:43
@rizenit's very bad17:43
@rizennot the worst movie i've ever seen17:43
@preactionit's a documentary! how can it be bad?17:43
BartJolwell, we have some different taste than17:43
@rizenbut it's pretty close17:43
@preactionnot as bad as Over The Top17:44
BartJolwell a semi-autobiography17:44
@rizenthere were certainly some funny parts17:44
@rizenbut i think in order to appreciate it, you have to be high17:44
BartJolConsidering Koen's mail, I will pick them up in august17:44
@rizenand i don't get high17:44
BartJolDutch are allways high17:44
@rizenindeed17:44
-!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI17:45
BartJoleven when they don't use drugs17:45
@rizeni'm usually pretty high on life, but rarely out of my mind high17:45
@rizeni will say that it was the best mind bender movie i've ever seen17:46
elninoI have some pending commits in my inbox that have actually been approved, and if I log into anybody else's inbox, they are marked as approved, and if you go tot eh pages and assets that they modified, the are approved. so I'm wondering how I can make them show as approved in my inbox17:46
@rizenway better than pink floyd's the wall, and the big lobowski17:46
elninothey've been sitting in there for about a year, and they are kinda bugging me now.17:46
-!- steveo_aa [n=sno@76.226.180.72] has quit ["Leaving."]17:48
-!- steveo_aa [n=sno@76.226.180.72] has joined #webgui17:48
-!- ryuu_ro_ [n=rory@194.171.50.69] has quit []17:51
BartJolbut if you'd like a prsentation on translating as well, maybe I can look what I can do. But I'm afraid it wil be a bit boring17:51
ckotilw00t WRE .80!18:09
ckotili must be in a time vortex18:09
@Haargyeah, that's my fault18:11
@Haargforgot about the email alerts18:11
CIA-22WebGUI: graham * r5837 /WebGUI/ (2 files in 2 dirs): fixed: HttpProxy mixes original site's content encoding with WebGUI's18:14
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit ["Leaving"]18:30
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui18:33
-!- mode/#webgui [+o preaction] by ChanServ18:33
dionaki'm trying to process a file upload in a custom wobject. i see a couple of ways this is done (file asset, filepile, etc. ). Is the process roughly... 1) create a storage location/object by calling WebGUI::Storage->create() 2) call  WebGUI::Storage->addFileFromFormPost18:38
dionak?18:38
@preactionuse the WebGUI::Form::File control and it's all done for you18:39
dionakwhere does that happen? i am using a fieldType 'file'18:40
@preactionWebGUI::Form::File->getValueFromPost18:40
@preactioni think18:40
@rizenif you call the field name 'file' let's say18:41
@rizenthen you can do my $storageId = $session->form->get("file","File");18:41
@rizenthe second "File" in there is the field type that you're validating with18:43
@rizennote that it will keep creating a new storage location every time someone uploads18:43
@rizenif you want it to reuse the storage location then you do18:43
@rizen$session->form->get("file", "File", {defaultValue=>$storageId});18:44
-!- BartJol [n=plainstu@194.171.50.123] has left #webgui []18:45
dionakok, let me give that a try. thanks. 18:47
dionakformId is automatically added to the upload input isn't it? so it might be... my $storageId = $session->form->get("file_formId","File");18:50
dionak?18:50
@preactionit is, yes, but the File control handles that18:50
dionakgreat. thanks. 18:51
@preactionas long as you give get() the same name you used when you created the control, it'll work18:51
dionakperfect. 18:51
dionakregarding reusing the storage location...would that be useful for when, say, a user is uploading the same file again? 18:56
@rizenyup18:58
@rizenor if you want to put multiple files into the same storage location18:58
@rizensort of like CS does18:58
dionakok, that makes sense. 18:58
@rizenthe more i think about it, the more i think you're right preaction...badge should be it's own class19:06
@rizencuz a badge doesn't need a date attached to it19:07
@rizendate/time i mean19:07
@rizenit may have one, but that's really only for the description19:07
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has joined #webgui19:13
-!- mode/#webgui [+v perlDreamer] by ChanServ19:13
dionakrizen, i found a bug in libapreq2 that prevents it from compiling on mac os x. It's been reported to the devs of libapreq but i wasn't sure if your team was aware or had run into this issue? I have been trying to compile the WRE from src. 19:20
@rizenwe put out a build of the wre for mac19:20
@rizendidn't have any problems19:20
dionakIt's Intel.19:21
dionakI'm on PPC19:21
@rizenright19:21
@rizenoh19:21
@rizeni didn't try that...i didn't realize that we still had anyone on ppc19:21
@rizeni'm the only one in plain black that still has a PPC mac, and i don't use it anymore19:21
@rizenare you sure it's a bug in libapreq2?19:22
dionakthat's what I'm reading on the mailing list. util.t fails19:22
dionaka fink developer indicated it was something related to GCC on the mac architecture19:23
@rizenok then i won't bother compiling it. if you weren't sure then i could have just given it a shot19:23
+perlDreamerbtw, it's not nice to call developers "fink"s19:24
dionaki'm going to upgrade soon but until that happens or i find a fix, the wre is a no-go. 19:24
dionaklol19:25
elninoHi. I have a custom auth mod that seems to be working fine, but I'm getting a warning in my log file: counldn't call mehtod view an asset for url Root cause: can't locate object method "displaymyLogin" what does that mean?19:26
@rizensomething is probably calling func=displaymyLogin19:28
@rizenrather than op=auth;method=displayMyLogin19:28
@preactioni think that error is something is trying to call $object->displaymyLogin19:33
elninook. I see. in my auht mod, I'm calling SUPER:dsiplaymylogin. And noticed that I put that in the Auth.pm file that webgui provides, which then got slammed when I did an upgrade. 19:34
elninoSo obviously that was a bad mistake. Where would the appropriate place be to put that function?19:34
@preactionwhat does it do? why is displayLogin inadequate?19:36
@preactionwhy do you need displaymyLogin in Auth.pm anyway? you shouldn't need to put anything in there to call displaymyLogin in your own auth module19:37
elninoI have my own login page on a different server.19:37
elninoGood question. The answer: If they know the webgui login page url (init login op= something whatever, ) I give them webgui's login page, otherwise, I send them to my other server to login.19:38
elninoso, I'll change my call to "return displaymylogin("login",$vars)" and put the code into my auth mod, but I tried doing this before, andn it didn't work I thought.19:39
@preactioni don't know, i've never had to build an auth module19:41
elninooh. I see what I did. For somereason, I couldn't figure out how to do a redirect in the auth mod, so I copied your displayLogin function and changed the form, so that it would submit onto my other server. SO the login page actually appears on webgui's site. I REALLY wanted to just redirect the user.19:42
dionaki think you can do that via $session->http->setRedirect() or similar19:43
+perlDreamerthere's also redirectOnLogin19:44
+perlDreamerack -i redirect /data/WebGUI/lib/WebGUI19:44
+perlDreamerDatamining the WebGUI core can teach you tons19:44
@preactionthe 7.5 series has "returnUrl" as well. so you can return a user to any URL after they login just by giving a "redirectUrl" form parameter19:52
dionakwill that apply to assets too? 19:53
@preactionno19:53
@preactionjust the Auth / createAccount and login19:53
@preactionwait. shortcuts don't export their overrides in packages?19:56
elninoright, but I need to present a different login page depending on where they are at. And I believe I couldnt' user the redirect, because headers were already sent to the browser.19:58
elninoWhat is Datamining the WebGUI? a class? a book? I use grep - it gets me in enough trouble. =)19:59
+perlDreamerSwitch to ack, it's much, much better19:59
@preactionack is grep on steroids19:59
+perlDreamerperl regular expressions19:59
+perlDreamerswitches for selecting types of files (perl files are the default)19:59
dionakbasically code spelunking was my understanding19:59
dionakif I make a field required in a wobject definition, is it required for all form processing?20:00
dionakthinking admin edit vs. the view20:00
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has joined #webgui20:00
-!- mode/#webgui [+v MrHairgrease] by ChanServ20:00
+perlDreamerMrHairgrease!20:01
dionakor, rather, processing a form displayed by the view method20:01
+perlDreamerLong time no see20:01
+MrHairgreasei was here yesterday20:01
+MrHairgreaseand so were you20:01
+MrHairgreasebut indeed, last time i saw you was in october20:01
* perlDreamer needs to either take more or less cold medicine20:01
+MrHairgreaseso i guess you're right =)20:01
dionakelnino: i use grep a lot too20:02
+perlDreamerperlbot: ack20:04
perlbotalester's grep replacement at http://petdance.com/ack/20:04
+perlDreamerperl -MCPAN -e 'install App::Ack'20:04
+MrHairgreaseyay grep with perl regexes20:05
* MrHairgrease is installing ack20:05
@rizenkomodo is better20:06
@rizenhas perl regular expressions and more20:07
@rizenand is easier to use20:07
@rizen=)20:07
+MrHairgreasei didn't know emacs had komodo mode20:07
+MrHairgreaseb/c if it's easy it must be emacs20:07
+MrHairgreaseoh no20:09
+MrHairgreaseit's soing it again20:09
+MrHairgreaselast week I had these incredible cpan problems20:09
elninoI fixed my auth mod!  um.. I guess I'll have to look into the ack thing. I don't have it installed, but I see you've provided that too. Thanks20:09
+MrHairgreasereinstalling the wre did fix it though20:09
+MrHairgreaseanybody knws what to do with the following error20:09
+MrHairgreasehttp://webgui.pastebin.org/2430020:10
@preactionuh... why couldn't it untar?20:10
@preactionhum20:10
+MrHairgreasei dunno20:10
+MrHairgreaseif i do it manually20:11
@preactionpretty useless error message20:11
@preactionthat person should be shot20:11
+MrHairgreasethat is, copy-paste the tar command from the error20:11
@preactionor drawn and quartered20:11
+MrHairgreaseit just works fine20:11
+MrHairgreasebut cpan screws up20:11
dionakhave you tried untar by hand? maybe the archive is corrupt?20:11
+MrHairgreaseas i said manually it just works20:11
+MrHairgreaseand it does it with any cpan module i try to install...20:12
@preactiondid you try doing "cpan> o conf init" again?20:12
+MrHairgreasecould try that20:12
+MrHairgreasehang on20:12
+MrHairgreasereconfiguring seems to work20:14
+MrHairgreaseweird20:14
+MrHairgreasebut thanks for the solution!20:14
elninoI have some pending commits in my inbox that have actually been approved, and if I log into any of the oher adim's inboxes, these same requests are marked as approved, and if you go to the actual pages and assets that they modified, they are approved. so I'm wondering how I can make them show as approved in my inbox? Is there a table to look at? They've been sitting in there for about a year, and they are kinda bugging me now.20:16
@preactionelnino, the inbox table should have them20:16
elninoI suppose that I should change the status of them? that won't affect anything else?20:17
elninothey are truely committed and approved.20:17
@preactionit shouldn't affect anything else20:18
elninook. here's another question. In my trash, I have stuff that won't purge. is there a way to figure out why they are "stuck". Can I go to a trash table and delete them from there? I suspect that would be a bad thing to do.20:20
-!- SDuensin [n=Scott@218.sub-75-205-174.myvzw.com] has quit ["Leaving"]20:24
-!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has quit ["Leaving"]20:26
-!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui20:28
-!- mode/#webgui [+o Haarg] by ChanServ20:28
+MrHairgreaseelnino: there is no trash table20:34
+MrHairgreasetrash is just a state20:35
+MrHairgreasein order to find out what's going on you should tail -f your webgui.log while trying to purge20:35
elninodoes anyone know why software revisions in general does not follow the decimal system: companies do this: 3.1, 3.2...3.10 instead of 3.01, 3.02,... 3.10?? 20:35
elninothanks hairgrease, good suggestion.20:36
+MrHairgreaseyou will probably see something like can't call method foobar on an undefine value20:36
+MrHairgreasethe version umber stuff is b/c 3.1 is not one number20:37
+MrHairgreasebut two20:37
+MrHairgreasemajor version.minor version20:37
+MrHairgreaseperl uses a decimal notation for it btw. but also there it's actuall three seperate numbers20:37
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has quit ["Leaving."]20:41
elninogood point about the decimals, frustrating, but at least I can understand. grr.20:43
-!- elnino_laptop [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI20:46
-!- MrHairgrease is now known as MrCookingGrease20:46
-!- elnino_home [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI21:01
-!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has quit [Read error: 110 (Connection timed out)]21:04
-!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI21:07
-!- elnino_laptop [n=elnino@user-38q49cv.cable.mindspring.com] has quit [Read error: 104 (Connection reset by peer)]21:19
-!- elnino_laptop [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI21:19
-!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has quit [Read error: 104 (Connection reset by peer)]21:23
-!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI21:24
-!- elnino_home [n=elnino@user-38q49cv.cable.mindspring.com] has quit [Read error: 110 (Connection timed out)]21:25
-!- elnino_laptop [n=elnino@user-38q49cv.cable.mindspring.com] has quit [Read error: 110 (Connection timed out)]21:41
-!- elnino_laptop [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI21:44
+perlDreamerelnino, are you going a little schizo?21:46
ckotildoes apache need its own vhost to listen for an ipv6 address? in addition to my ipv4 vhost?21:49
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has quit ["Download Gaim: http://gaim.sourceforge.net/"]21:49
ckotilthe apache docs and google seem to indicate this.21:49
-!- elnino_home [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI21:52
ckotilyup.21:58
-!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has quit [Read error: 110 (Connection timed out)]22:02
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has joined #webgui22:09
-!- mode/#webgui [+v perlDreamer] by ChanServ22:09
+MrCookingGreasehey pd22:09
+perlDreameryo!22:09
+perlDreamerHow was dinner?22:09
+MrCookingGreasehave you checked out the exception test module i made?22:10
+MrCookingGreasedinner was good22:10
-!- MrCookingGrease is now known as MrHairgrease22:10
+perlDreamerI saw that it was committed, but haven't checked it out yet.22:10
+MrHairgreaseok22:10
+MrHairgreasewhen you have, let me know what you think of it.22:10
-!- elnino_laptop [n=elnino@user-38q49cv.cable.mindspring.com] has quit [Read error: 110 (Connection timed out)]22:10
+perlDreamerdid you subclass Test::Exception, or roll your own?22:18
+MrHairgreaseroll my own22:18
+MrHairgreasebut based it on T::E22:19
+MrHairgreaseT::E does voodoo with caller22:19
+MrHairgreasebut I didn't find out why22:19
+MrHairgreaseusing uplevel 1 does the job for all my test22:20
+MrHairgreases22:20
+MrHairgreaseI commented the T::E stuff out for now22:20
+perlDreamerI liked the idea of T::E, but was bummed that it wouldn't test the contents of the exception, so your module scratches a big itch22:22
+MrHairgreaseyeah I had the same22:23
+perlDreameryou've seen all the cmp_deeply code that I've written to do that for Tax and Ship*22:23
+MrHairgreaseyeah22:23
+MrHairgreaseactually i used that at first too22:23
+perlDreamerI think the caller hacking is just to set the scope right.  If you called it too deeply, then variables and other things may not exist22:23
+MrHairgreasebut it looked like crap22:23
+MrHairgreaseyeah it is for scpe22:23
+perlDreamerand it's 3 so that it unwinds all the way back up to the test22:23
+MrHairgreaseyeah, but why not do eval { uplevel 1 $code}?22:24
+MrHairgreaseand so all the hocus pocus22:24
+perlDreamerbecause the calls are nested?22:24
+MrHairgreasei'm using the eval I just pasted and that works22:24
+perlDreamerwell, for the T::E, I can see 2 levels throws_ok and _try_as_caller, but not 322:28
+MrHairgreasei know. it's weird22:29
+MrHairgreasei couldn't figure it out either22:29
+perlDreamerthe author lives in Portland, though22:29
+perlDreamerI wonder if he'd let me take him out for food/drink and pump him for testing info22:30
@rizenthere's too much gay sex in this channel22:31
+MrHairgreaserixen: you are posting in the wrong window22:31
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI22:32
CIA-22WebGUI: graham * r5838 /WebGUI/ (2 files in 2 dirs): fixed: Thingy i18n has an empty message22:35
+MrHairgreaseor are you referring to the pumping you supposedly did in your cellar?22:36
+perlDreamerwhy is there a WRE 0.8 release note at the top of the news?22:38
-!- elnino_home [n=elnino@user-38q49cv.cable.mindspring.com] has quit [Read error: 110 (Connection timed out)]23:01
+perlDreamerman LA is expensive.  8.25% sales tax23:21
+MrHairgreaseha23:21
+MrHairgreaseover here it's 19%23:22
+perlDreamerbut you have socialized medical?  and education?23:22
+MrHairgreasesort of, these days everybody must get a health insurance23:23
+MrHairgreasethere's no state medical anymore23:23
+MrHairgreaseif you have little money the state will fund part of the monthly fee23:24
+perlDreamerdo you have income or property taxes?23:25
+MrHairgreaseyes23:26
-!- elnino_home [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI23:26
-!- dhelsten [n=helsten@newcastlecapital.com] has joined #Webgui23:27
+MrHairgreasecommerce question23:29
+perlDreamercommerce answer23:29
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit [Remote closed the connection]23:29
+MrHairgreasehow's adding drivers supposed to work?23:29
@rizenfrom a UI perspective?23:30
+MrHairgreaseif you add a shipping driver now but don't click save a driver is still added23:30
@rizenyes23:30
+MrHairgreasethat's only to be expected with the current code23:30
+MrHairgreasebut i think it's wrong23:30
@rizenbecause of your mom?23:30
+MrHairgreaseno b/c of yours 23:30
+MrHairgreaseduh23:31
@rizeni c23:31
@rizentell me about your childhood23:31
@rizeni myself was born at a very young age23:31
+MrHairgreasei was grown up before i was born23:31
+MrHairgreasenow cut the crap23:31
+MrHairgreasethis is no chitchat channel23:31
+MrHairgreaseit's a commerce design venting thingamabop23:32
@rizeni didn't add a newByPropertiesHashref23:32
@rizeni guess that could be added to ship drivers23:32
@rizento allow for this23:32
@rizenbut then you have to account for both www_add and www_editSave23:32
@rizeni did it the easy way23:32
@rizenby creating the object23:32
+MrHairgreaseat first i tought i'd do it like this:23:32
+MrHairgreasecreate Pay->addPaymentGateway23:33
+MrHairgreasethat would set a htmlform with hidden shop=pay;method=addPaymentGatewaySave23:33
+MrHairgreaseand appended a form geerated by the driver23:34
+MrHairgreasePay->addPGSave would create the actual pg23:34
+MrHairgreasenow the first problem i ran into was that you cannot instantiate a paydriver without an Id23:35
+MrHairgreaseand therefore you cannot get the form out.23:35
@rizenright, which is where newByPropertiesHashRef comes in23:35
+MrHairgreasewhich doesn't work the way i anticipated anyway23:35
+MrHairgreaseoh23:35
+MrHairgreasethat one does not do the db write?23:36
@rizenexactly23:36
@rizensee WebGUI::Asset for details23:36
+MrHairgreaseyeah, looking into that23:36
+MrHairgreaseok thanks23:36
@rizeni think WebGUI::Workflow::Activity does that too23:36
+MrHairgreaseI'll add that one to PayDriver.23:36
+MrHairgreasebut tomorrow23:36
dhelstenI need to back-date the submission time of several news articles for my website is the advice in the thread http://www.webgui.org/etcetera/how_to_change_submission_date/2 still the way to do it?  If so, is there an easier workaround using a custom field?23:44
dhelstenBy the way.. Hi!23:44
-!- elnino_home [n=elnino@user-38q49cv.cable.mindspring.com] has quit [Read error: 110 (Connection timed out)]23:46
+perlDreamerWhy do you need to back date?23:47
dhelstenI'm using a CS to show news stories.  I'm imputing news stories that go back several months.  I'd like the creation date to match the story's date.23:48
+perlDreamerwell, as the threadh shows, it was not easy, and remains not easy.  It would be a lot less work if you just creatd a custom field called "article date" and used that instead.23:50
+perlDreameryou can sort on custom fields in the CS23:50
dhelstenThanks.  Thats what I thought as I was finishing the question.  Now I just need to remember how to get it in the template.  I've used custom fields before but it has been a while. Thanks.23:51
+perlDreamerthe template docs will tell you how to setup the forms and use the form contents in a template.23:52
+perlDreamerhow does one test JSON?23:56
+perlDreamerconvert it back to data and check for certain elements?23:57
+perlDreamerregular expression based text tests?23:57
--- Day changed Wed Mar 19 2008
@preactioni'd convert it back to data and use Test::Deep00:05
+perlDreameryeah, that's what I picked, too.00:05
+perlDreamerI'm worried about the speed of the tax calculations00:12
+perlDreamerI imported the California state tax tables, and it got way slower on my dev box00:12
+perlDreamerand that's just 1 state in 1 country!00:12
+perlDreamerit was 1770 rows00:13
dhelstenOK, got the custom fields to work however I just realized that I probably can't sort by custom fields can I...00:17
-!- dionak [n=diona@97.66.185.250] has quit []00:26
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)]00:29
dhelstenActually pretty obvious that I can.  Thanks guys!!!00:46
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui00:56
-!- mode/#webgui [+o preaction] by ChanServ00:56
@rizenhey pd while you're testing js00:58
@rizenwould you mind adding a transaction test for getTransactionsAsJson for me?00:58
@rizens/js/json/00:58
@rizens/transaction/json/00:58
@rizen=)00:58
@rizeni hadn't thought of converting back into perl structures to test it00:59
@rizenso i didn't write a test00:59
@rizenman am i stupid00:59
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has left #webgui []01:17
-!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"]01:21
+perlDreamerwill do, rizen01:43
@rizenems is coming right along01:44
@rizeni mean i still have a bazillion hours of work to do01:44
@rizenbut i'm not running into any real problems that the new commerce system can't handle01:44
@rizenso that's cool01:44
@rizenthat was a big problem with the oldone01:44
+perlDreamerI think we should build an asJson method for SQL::Result01:45
+perlDreamersince this dataTable stuff is so cool01:45
@rizenthat's a good idea, you have my blessing01:45
@rizenwait01:45
@rizenthat doesn't help01:45
@rizennot for data table01:45
@rizencuz you have to put in all the extra fields01:45
@rizenthe result set is just one field01:46
+perlDreamerit would put in the extra fields, too01:46
+perlDreamerasJsonDataTable01:46
@rizenoh, ok01:46
+perlDreamergotta scoot, might have that hacked tonight, definitely tomorrow then.  And I'll build the tests for transactions and then refactor tax and transactions to use the new method.01:47
@rizenthat would save about 15 lines of code 01:47
@rizennot to mention endless errors caused by having copies of it01:47
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has quit ["Download Gaim: http://gaim.sourceforge.net/"]01:47
-!- dhelsten [n=helsten@newcastlecapital.com] has left #Webgui []02:03
-!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui03:30
CIA-22WebGUI: graham * r5839 /branch/WebGUI_7.4/ (2 files in 2 dirs): fixed: HttpProxy mixes original site's content encoding with WebGUI's03:37
CIA-22WebGUI: graham * r5840 /branch/WebGUI_7.4/docs/gotcha.txt: added notes about LongReadLen and LongTruncOK to gotcha.txt03:37
CIA-22WebGUI: graham * r5841 /branch/WebGUI_7.4/docs/create.sql: preparing for 7.4.29 release03:37
CIA-22WebGUI: jt * r5842 /releases/WebGUI_7.4.29-stable: Release 7.4.29-stable03:37
CIA-22WebGUI: colin * r5843 /branch/WebGUI_Commerce/ (3 files in 3 dirs): 03:37
CIA-22WebGUI: Fix a bug in the json method for getting tax data.03:37
CIA-22WebGUI: Tests for the json method.03:37
CIA-22WebGUI: A LOT of California tax data for testing.03:37
-!- elnino_home [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI03:37
-!- elnino_home [n=elnino@user-38q49cv.cable.mindspring.com] has quit [Read error: 110 (Connection timed out)]04:24
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has quit ["leaving"]04:28
-!- perlDreamer [n=colink@pool-71-117-250-89.ptldor.fios.verizon.net] has joined #webgui04:48
-!- mode/#webgui [+v perlDreamer] by ChanServ04:48
-!- elnino_home [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI04:58
-!- elnino_laptop [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI05:11
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui05:20
-!- mode/#webgui [+o apeiron] by ChanServ05:20
-!- elnino_home [n=elnino@user-38q49cv.cable.mindspring.com] has quit [Read error: 110 (Connection timed out)]05:29
@apeiron /names05:31
@apeironheh.05:31
-!- iank [n=iank@about/goats/pdpc.supporter.student.iank] has joined #webgui05:40
iankDudes I heard apeiron was in to visual basic05:41
@apeironlies05:41
iankAnd also that he lieks mudkips :(05:41
@apeironI have no idea who this iank fellow is.05:41
iankIs that why you never called?  :(05:41
+perlDreamerapeiron, you _are_ a channel op05:46
@apeironperlDreamer, I know iank, he's just foolin'. :)05:46
+perlDreamervery good05:47
iankIt's true!05:47
iankHi perlDreamer!05:47
+perlDreamerjust so long as I don't have to use my regexp-fu on him05:47
iankBring it!05:47
@apeiron... trust me, that won't help.05:47
@apeironiank, He *will* use test-fu on you though!05:48
* iank yelps05:48
+perlDreamerSo what kind of hacker are you, iank?05:48
iankum, an awesome one?05:49
+perlDreamergood answer05:49
iankYup05:49
iankDid I pass the test?05:51
@apeironNo, the test is when we throw you into WebGUI's collab system with a month's experiene and tell you to add stuff.05:51
+perlDreameris($iank->hacker, 1, 'check for hackerdom') => 0.5; ##indeterminate05:51
iankapeiron: gah05:51
@apeironiank, I survived!05:52
@apeironAnd I came out with a much greater respect for automated testing, too!05:52
iankThat's because you're the most hardcore and badass dude ever aside from myself and my badass protege.05:52
+perlDreamerhe comes with a protege, too?05:53
@apeironI'm not the guy you need to flatter around here, sorry.05:53
@apeironYep.05:53
iankperlDreamer: dude yeah05:53
iankAttention employers of apeiron and/or anyone who perhaps has control over his pay rate: apeiron is totally awesome ok?05:53
iankJUST A NOTE05:53
@apeironshrug. I endeavour to be totally awesome. :)05:54
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)]05:54
iankIt's true.05:54
@apeironLook at that, you scared away poor preaction.05:54
iankHe's a wuss05:55
@apeironEither that or it was Ankh in #perl...05:55
* iank shudders05:55
* iank pokes xdanger with a pointy stick05:57
iankapeiron: which one is your boss?05:57
+perlDreamerdon't disturb, xdanger, he's our IRC logger05:57
iankoh no, accountability :(05:57
@apeironiank, If I answered that question I'd have to kill you.05:57
iankMan, this place is way cooler than the jabber MUC at my work :'(05:59
iankIt's all joins, parts, and announcements 'bout which coffee is in which pot.05:59
iankI don't even drink the stuff!05:59
iank/bin/sh: DAYCHANGE!: command not found06:00
iankahem.06:00
iank:/06:00
iankI make that thinko every day.06:00
iankAnd every day, I correct it before I hit enter.06:00
iankapeiron: your webgui friends are boring me :(06:12
@apeironiank, Fix some bugs, write some tests!06:13
iankNO06:13
+perlDreamerheck, just work on a translation06:13
+perlDreamermake a wiki page06:13
iankYou nubs get paid to06:13
iankYour job!06:14
+perlDreameriank: Your ignorance is only superseded by your rudeness06:14
-!- perlDreamer [n=colink@pool-71-117-250-89.ptldor.fios.verizon.net] has quit ["Leaving."]06:14
iankapeiron: did I just get you fired?06:14
-!- iank [n=iank@about/goats/pdpc.supporter.student.iank] has left #webgui []06:15
-!- elnino_home [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI06:29
-!- elnino2 [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI06:41
-!- elnino2 [n=elnino@user-38q49cv.cable.mindspring.com] has quit [Read error: 104 (Connection reset by peer)]06:43
-!- elnino2 [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI06:43
elnino2I'm leaving. network is not stable - I keep getting reset by peer - whatever that means.06:44
-!- elnino2 [n=elnino@user-38q49cv.cable.mindspring.com] has quit [Client Quit]06:44
-!- elnino_laptop [n=elnino@user-38q49cv.cable.mindspring.com] has quit [Read error: 110 (Connection timed out)]06:47
CIA-22WebGUI: colin * r5844 /branch/WebGUI_Commerce/ (5 files in 4 dirs): 06:50
CIA-22WebGUI: Reformat the JSON test for Shop/Tax.t06:50
CIA-22WebGUI: Add JSON tets to Shop/Transaction.t06:50
CIA-22WebGUI: Reindent several methods in SQL/ResultSet.pm06:50
CIA-22WebGUI: add a method for returning a YUI Data Table structure to SQL.pm06:50
-!- elnino_home [n=elnino@user-38q49cv.cable.mindspring.com] has quit [Read error: 110 (Connection timed out)]06:58
-!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has quit []07:13
CIA-22WebGUI: colin * r5845 /branch/WebGUI_Commerce/ (4 files in 3 dirs): 07:17
CIA-22WebGUI: Fix the Shop/Transaction tests for JSON.07:17
CIA-22WebGUI: Convert Shop/Transaction and Shop/Tax to use buildDataTableStructure.07:17
CIA-22WebGUI: Change SQL.pm to return a hash instead of a hashref for buildDataTableStructure.07:17
CIA-22WebGUI: jt * r5846 /translations/Spanish/Spanish/ (14 files): update_from_translation_server07:17
-!- Haarg [n=haarg@24-177-119-178.dhcp.mdsn.wi.charter.com] has joined #webgui09:19
-!- mode/#webgui [+o Haarg] by ChanServ09:19
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui09:58
-!- Haarg [n=haarg@24-177-119-178.dhcp.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"]10:01
-!- ryuu_ro [n=rory@194.171.50.69] has joined #webgui10:39
-!- steveo_aa [n=sno@76.226.180.72] has quit [Read error: 110 (Connection timed out)]10:55
-!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has quit [Read error: 104 (Connection reset by peer)]11:17
-!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has joined #webgui11:18
-!- mode/#webgui [+v Radix_] by ChanServ11:18
-!- zylopfa [n=zylopfa@port111.ds1-vby.adsl.cybercity.dk] has joined #webgui12:15
zylopfaGreetings, anyone present?12:16
+Radix_I am, but whether that will help you at all is another question ;)12:16
zylopfahah yeah thats the question12:16
+Radix_ask away.. if I can't answer it, someone eventually will12:17
zylopfaI was wondering where i can see how to work with files in webgui programming, I want to make an xml playlist from files in a webgui dir12:17
zylopfabut i cant seem to find out what api functions is used to see where the file is located12:17
zylopfaand have to list files on a directory basis12:17
+Radix_hmm.. above me I'm afraid12:17
zylopfaDair enough :D12:18
zylopfaFair even ;D12:18
+Radix_rizen could answer it I'm sure.. but he's prolly barely awake if at all :)12:18
zylopfahaah yeah :D12:18
zylopfaI am making a player macro12:18
zylopfathat automatically make an xml playlist of files in the directory that it gets as parameter12:18
zylopfaand then show the flash player with the list there12:19
zylopfaI can make it in perl normally but with the file layout of webgui i haev no idea of how to list files in a directory12:19
+Radix_cool12:19
+Radix_I cheated.. and used a set filename in a set location12:19
+Radix_and did it all in the template :)12:19
zylopfaahh12:20
+Radix_name of the flash video, xml, etc all identical to the name of the thread post12:20
+Radix_and used a common player for it12:20
zylopfaSounds awesome though12:21
+Radix_https://www.formsys.com/maxsurf/videos12:21
+Radix_that's how I did those flash videos12:21
+Radix_thumbnail was same name too12:21
zylopfaLooks awesome112:22
zylopfaI guess i could use the collaboration asses to do something12:22
+Radix_I'm happy to share the template if it helps at all12:22
zylopfaIts more cause i want to know the file handeling routines in webgui12:23
zylopfato use for further programming12:23
zylopfalike listing files in a directory etc.12:23
zylopfabut thanks a lot12:23
+Radix_np, good luck :)12:23
zylopfaThanks a lot :D12:23
-!- BartJol [n=plainstu@194.171.50.123] has joined #webgui12:29
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has quit ["Leaving"]13:19
-!- BartJol [n=plainstu@194.171.50.123] has quit [Read error: 113 (No route to host)]13:22
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui14:14
-!- mode/#webgui [+o preaction] by ChanServ14:14
-!- zylopfa [n=zylopfa@port111.ds1-vby.adsl.cybercity.dk] has quit ["Leaving"]14:26
-!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: ryuu_ro14:34
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Connection timed out]14:42
-!- Netsplit over, joins: ryuu_ro14:44
-!- SDuensin [n=Scott@63.sub-75-207-252.myvzw.com] has joined #WebGUI15:43
-!- dionak [n=diona@97.66.185.250] has joined #webgui15:51
SDuensinMorning.15:53
@rizenmorning16:04
-!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui16:10
-!- mode/#webgui [+o Haarg] by ChanServ16:10
-!- wgGuest56 [n=wgGuest5@88.254.55.199] has joined #webgui16:10
-!- wgGuest56 [n=wgGuest5@88.254.55.199] has quit [Client Quit]16:11
-!- ahfa[yok] [n=takva@88.254.55.199] has joined #webgui16:25
ahfa[yok]s.a16:27
-!- ahfa[yok] [n=takva@88.254.55.199] has quit ["-=[> Takva SCriPt <]=-( Kaliteli isLami mIRC ScRiPt DownLoad Adresimiz:)"]16:30
-!- BartJol [n=plainstu@194.171.50.123] has joined #webgui16:36
-!- br4k3r [n=br4k3r@bas3-ottawa10-1279549458.dsl.bell.ca] has joined #webgui16:45
br4k3rhey d00ds16:45
br4k3ris there any way to export a WG package to a file, then import into another site from wpkg16:46
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui16:46
-!- mode/#webgui [+o preaction] by ChanServ16:46
br4k3ri had a site built on a gamma version, couldnt' upgrade16:48
@rizenthat's what packages are for16:48
br4k3rpage layouts16:48
br4k3rbut i can't get the packages off the site16:48
@rizenyou do the imports/exports in the asset manager16:48
br4k3rhmmm16:48
br4k3rah crap i see16:49
br4k3rthe gamma version don't have the export function, the new version does16:49
br4k3ri guess i'm hosed?16:49
@rizengamma version?16:50
@rizenyou mean webgui 6.x16:50
@rizen?16:50
@rizenwebgui 6.x is not compatible with webgui 7.x16:51
br4k3ryeah it's a 6.8.9 gamma release16:51
@rizenwhy not upgrade your 6.8.9 site to 7.x16:51
br4k3rhmm16:51
br4k3rthat's an option16:51
br4k3rcan't hurt since i have backups16:51
@rizenmake sure you follow the steps in the gotchas16:51
@rizendocs/gotcha.txt16:52
br4k3rk16:52
br4k3rso i just download the new wre16:52
br4k3rand run the webguiupdate script16:52
br4k3rwith the gotchas16:53
@rizenyou'll need wre 0.7 to do the upgrade16:53
@rizenwre 0.8 is for WebGUI 7.4.22 and above16:53
br4k3rk16:53
@rizenand with webguiupdate16:54
@rizenyou have to stop at each stop point16:54
@rizenas defined in the gotchas16:54
br4k3rk16:54
@rizenhttp://www.plainblack.com/downloads/builds/7.4.29-stable/WebGUI/docs/gotcha.txt16:54
-!- steveo_aa [n=sno@76.226.180.6] has joined #webgui16:54
@rizenso you upgrade to 6.8.10 first16:55
@rizenthen 7.0.016:55
@rizenthen whatever else the gotchas say16:55
br4k3rso it's a step up install16:55
br4k3rnot a one shot deal16:55
@rizenyeah, there are about 4 stop points i think16:55
br4k3rk16:55
@rizeni believe they are16:57
@rizen6.8.1016:57
br4k3rthe lowest version on sf for WG is 7.3.1216:57
@rizen7.0.016:57
@rizen7.3.2216:57
@rizenuse the plainblack mirror16:57
@preactionhttp://update.webgui.org <- go there16:57
@rizenuse webgui update16:57
br4k3rk 16:58
@rizenthen when it asks you for a mirror16:58
br4k3rohhhh16:58
@rizensay plainblack16:58
br4k3ri can't d00d16:58
br4k3rthis server ain't on the interweb16:58
@rizenah16:58
@rizenok then use update.webgui.org16:58
br4k3rso it's sneaker net from here16:58
@rizenthe stop points are the ones i listed above16:58
@rizenso download each of them16:58
br4k3rk16:58
@rizenas well as the latest 7.4 release16:58
br4k3r6.8.10 gamma16:59
br4k3rthen 7.0.016:59
br4k3rwhat about wre16:59
@rizenyou'll need 0.7.216:59
@rizenuntil you get to webgui 7.4.2216:59
@rizenthen you can upgrade to 0.8.316:59
br4k3rk16:59
br4k3rgot ys17:00
@rizensorry for the pain in the ass, but you're about 200 upgrades behind. =)17:00
br4k3rit's ok17:00
br4k3ri know17:00
br4k3ri just walked into this job a few month ago17:00
br4k3rpicked up from the last guy who was a wG freak17:00
br4k3rnow i can't change due to customers17:01
br4k3rbut i need to get the site functional... this gamma version SUCKS17:01
br4k3rno export, no version tags17:02
br4k3rtrash won't purge17:02
br4k3rit's a sucky install... 17:02
br4k3ri have been manually recreating the new site by memory but17:02
br4k3ri just got the old data restored17:02
CIA-22WebGUI: graham * r5847 /wrebuild/wre/ (sbin/wremonitor.pl docs/changelog.txt lib/WRE/Spectre.pm): fix spectre workflow monitor17:05
@rizeni'm sorry that your predecessor didn't keep up with the updates17:06
@rizeni hope you come to like webgui. it's a very powerful and flexible system once you get to know it.17:06
br4k3ri do like it17:14
br4k3rwhich is why i'm willing to go thru the pain to bring it up to speed.17:14
br4k3ri've been using the newest version and i LOVE it17:14
br4k3rit's so awesomely easy to set up pages for my customers17:14
br4k3rand the version tags is the cat's ass17:14
-!- wgGuest21 [n=wgGuest2@97.66.185.250] has joined #webgui17:14
br4k3rso i'm sure i'll be back throught the day with more questions17:15
br4k3rbut thanks for the help so far :)17:15
@rizenyou're welcome17:17
wgGuest21hey everyone. i have some questions about testing Wobjects17:20
wgGuest21i would like to write a test to test an upload file form.  Wondering what would be best way to start this threw webgui17:21
-!- dionak [n=diona@97.66.185.250] has quit []17:22
-!- dionak [n=diona@97.66.185.250] has joined #webgui17:23
@rizeni don't know the answer to that but i think you'd start with WebGUI/t/lib/WebGUI/PseudoRequest.pm17:24
@rizenperlDreamer knows more about testing than the rest of us combined, but he's not on channel right now17:25
wgGuest21ah, maybe i check back. i looked threw the test for wobjects in webgui17:25
wgGuest21but i didn't see any test simulating a post to test a meathod inside wobject17:26
@preactionwgGuest21, i've been trying to figure that one out (the upload a file thing, not the wobject thing) using Test::WWW::Mechanize17:31
@preactioni think the problem might be that WebGUI's File control doesn't write an <input type="file"> to the page, it uses javascript instead17:32
@preactionbut i'm sure there's a way around that17:32
wgGuest21preaction, ya i believe using Mechanize might be the way i have to go17:33
@preactionotherwise, inside of WebGUI::Test there's a getPage method17:33
@preactionbut i don't think I wrote the provisions for file uploads17:33
wgGuest21might be a convo with perldreamer we have to have17:33
wgGuest21I would like to be able to test this custom asset17:34
-!- lisette [n=liraos@201.232.58.66] has joined #webgui17:36
-!- topsub [n=topsub20@97.66.185.250] has joined #webgui17:40
-!- wgGuest21 [n=wgGuest2@97.66.185.250] has quit []17:40
-!- ryuu_ro [n=rory@194.171.50.69] has quit []17:43
-!- nuba [n=nuba@hq.imaterial.org] has joined #webgui17:45
CIA-22WebGUI: graham * r5848 /WebGUI/ (6 files in 4 dirs): fixed: Thingy has no icon17:50
CIA-22WebGUI: graham * r5849 /WebGUI/docs/gotcha.txt: added notes about LongReadLen and LongTruncOK to gotcha.txt17:50
lisettehello17:56
lisettehow to create a new session with another user in a macro?17:56
-!- br4k3r [n=br4k3r@bas3-ottawa10-1279549458.dsl.bell.ca] has quit []18:01
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has joined #webgui18:02
-!- mode/#webgui [+v perlDreamer] by ChanServ18:02
lisette?18:08
lisette how to create a new session with another user in a macro?18:08
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has left #webgui []18:08
+perlDreamerlisette: perldoc WebGUI::Session, and check out the "user" method.18:09
lisettei don't see a new session with this, maybe a change session18:12
+perlDreamerwell, then you can call open to create a new session, then user18:13
lisette$session2=WebGUI::Session->user($userID); ?18:14
+perlDreamer->user({userId => $userId})18:14
lisettethanks18:19
topsubHey perldreamer18:21
+perlDreamer?18:21
lisetteperlDreamer do you remember your investigation from headers of email when i send with method of webgui?18:21
+perlDreamersort of, this was the replyTo and bcc issues?18:21
lisettereplyTo and returnPath18:22
+perlDreamerthanks, then yes I do.18:22
lisettethanks18:23
topsubi have some questions about testing, heard you are the person to ask18:23
+perlDreamerI do a lot of wG testing18:23
+perlDreamerwhat do you want to do?18:23
+perlDreamercore code or custom code?18:23
topsubi am looking to test my custom asset. I have a process upload form function in there and i am looking to test this18:23
topsublooking to take a file. upload it  mostly18:24
topsubi would like to write a test to make sure this works18:24
+perlDreamerCheck out the Gallery and Photo Album tests, I think they do that using the API.18:24
topsubawesome!18:24
+perlDreamerWe have a few, a very few WWW::Mech tests, but none that I know of for form uploads yet18:25
topsubah yes i was gonna start trying to write a test with Mech18:25
topsubto test this function18:25
+perlDreameralso, if you'd like to contribute some core tests, we're always open to patches18:25
@preactionperlDreamer, they don't. they use API methods to add the file. i was interested in your answer as I've been trying to write the same tests to test www_editSave from the web interface ;)18:25
+perlDreamerI've been commercing for a while, and probably will stay in that vein until May with the release.18:26
@preactionfrom what I see, WWW::Mech can do it, it just has to be an actual file upload field18:26
@preactionthere's nothing in the docs specifically about it, but nothing on the bug / RFE lists about it either18:27
+perlDreamerthat means it either works, or "Patches welcome :)"18:27
@preactionyeah18:28
@preactionor, iirc it can take an HTTP::Request object, which whould be able to handle file uploads18:28
topsubpreaction, by API methods to add the file are you talking the Webgui::Storage-> get call?18:29
@preactionno, the WebGUI::Asset::File->setFile call18:29
+perlDreamerWe have an Apache::PseudoRequest module that you can set up to handle the file upload.  Then you call the editSave method for processing the form variables.18:30
topsubhmm...18:31
+perlDreamers/Apache::PseudoRequest/WebGUI::PseudoRequest/18:32
+perlDreamerit's in /data/WebGUI/t/lib/18:32
+perlDreamercheck out t/Storage.t for examples on how to use it18:32
topsubpreaction, I do not see the setFile method in WebGUI::Asset::File18:34
@preactionthen you're not using webgui 7.518:35
+perlDreamerFriends don't allow friends to keep using 7.418:35
topsubdoh18:35
topsub:-)18:35
topsubWhat if i had to do in 7.418:38
topsublol18:38
+perlDreameryou'd have to backport PseudoRequest, and use it there instead18:38
@rizenperlDreamer quick C2 discussion18:40
* perlDreamer goes into c2 mode18:40
@rizenwe have an addToCart method in all skus18:40
@rizenyesterday i added a completePurchase() method which will be called on each item in a cart after a purchase has been made18:40
@rizenthat way we have the callbacks we need for privileges etc18:40
@rizennow i'm thinking we should also have a removeFromCart method that is called by the cart so that it can do housekeeping if it gets removed from the cart18:41
@rizendoes that make sense to you?18:41
@rizenfor example18:41
@rizenwhen we add something to a cart we have to decrement it's inventory18:42
@rizenbut when we remove it from the cart it will have to increment it's inventory18:42
@rizenin the case of the EMS, we need a way to destroy badges that have been created18:42
+perlDreamerIt makes sense to me.  Of course, there will be items for which removeFromCart is a no-op, like a Donation18:43
+perlDreamerwait a sec18:43
@preactioni would avoid changing inventory when items are added to carts, since the cart might not be sold and it prevents someone else from buying it. but if that's just an example18:43
@rizensure...and that's what the default removeFromCart method will do18:43
+perlDreamerwhy wouldn't badge creation be done in completePurchase?18:43
+perlDreamerrather than addToCart?18:43
@rizenperlDreamer: because we need to attach stuff to the badge18:44
@rizentickets, ribbons, etc18:44
@rizenso the badge needs to be created18:44
@rizenpreaction: you can't wait until sale has been completed...because things like EMS tickets have a limited quantity18:44
@rizenthere could be a sell out18:44
@rizenso instead we have to have a workflow activity that sees how long an item has been in a cart and kill it18:45
@rizenif it has been in there too long18:45
@rizensimilar to what ticketmaster does18:45
-!- BartJol [n=plainstu@194.171.50.123] has left #webgui []18:45
@rizenany other questions, comments, scathing rebuttle...reasons why this is a bad idea?18:48
@rizengot to go, but i'll be back in an hour or so...please throw your comments up here if you have any18:51
+perlDreamerarthur c. clarke is dead18:57
-!- topsub [n=topsub20@97.66.185.250] has quit []18:58
+perlDreamerwhy is it that no one wants to volunteer to write core tests?18:59
@preactionwriting tests is boring scutwork?19:01
@preactioni mean, i'll write tests for every bugfix and feature request i do, but turning a 10-minute bugfix into a 3-hour ordeal is something i don't enjoy19:02
* perlDreamer excels at boring scutwork, I guess19:02
+perlDreameractually, that's what I do here at $dayJob, too19:07
+perlDreamerMethodology, automation, small filler cells19:07
+perlDreamerhm19:07
-!- topsub [n=topsub20@97.66.185.250] has joined #webgui19:08
+perlDreamerhow's the testing, topsub?19:08
topsubstill going :-)19:08
topsubhad to restart the laptop19:09
-!- WGnub [n=chatzill@adsl-68-91-7-41.dsl.tulsok.swbell.net] has joined #webgui19:09
topsub( no windows comments please ) lol19:09
-!- WGnub [n=chatzill@adsl-68-91-7-41.dsl.tulsok.swbell.net] has quit ["ChatZilla 0.9.81 [Firefox 2.0.0.12/2008020121]"]19:18
+perlDreamerrizen: I built the SQL widget for YUI data table structures.  Now I'm thinking about a Paginator extension to handle processing the form variables and other magic.19:19
-!- WGnub [n=WGnub@adsl-68-91-7-41.dsl.tulsok.swbell.net] has joined #webgui19:19
+perlDreamerwelcome back, WGnub19:19
WGnubty19:20
+perlDreamerare you hanging out, or waiting for a good opportunity to ask questions?19:20
WGnubhanging for a moment.19:20
WGnubworking on a webgui install on (gasp) MS.19:20
+perlDreamerwe'll pray for you19:20
WGnubI think I'm going to go over to Ubuntu. (grin)19:21
WGnubty19:21
WGnubalways can use some of dat.19:21
WGnubIt's a mess on MS.19:21
WGnuber, M$19:21
WGnubI'll be back if there's trouble with ubuntu. prolly won't be tho.19:21
WGnubthanks for the chat.19:22
-!- WGnub [n=WGnub@adsl-68-91-7-41.dsl.tulsok.swbell.net] has left #webgui []19:22
topsublol i have done it on MS19:23
topsublaptop = MS XP.. lol19:23
topsubit can get tricky19:24
+perlDreameranything missing from the wiki about using it on MS?19:24
topsubi have started creating my own to compare19:24
topsubseems every version brings something different.. with WRE that is19:25
lisetteperlDreamer: i do $session2=WebGUI::Session->user({userId=>$userID);  and this show me an error!19:25
topsubyou have a misc " } " before userid?19:26
+perlDreamerlisette, not only that but user is an instance method, not a class method.  $session2 = WebGUI::Session->open(.....); $session2->user({...});19:27
lisetteand which the parameter of the method open?19:27
+perlDreamerwhatever it says in the docs19:27
lisetteok19:30
@rizenexcellent pd20:09
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has joined #webgui20:21
-!- mode/#webgui [+v MrHairgrease] by ChanServ20:21
+perlDreamerrizen: at some point should we import the 7.5 changes over into Commerce, so we don't get too out of date?20:32
@rizeni've been doing them one off as needed20:33
@rizenfor example yui20:33
@rizenbut maybe20:33
@rizenmy big concern is that we'll then have to move all of our upgrade stuff into a new module20:33
+perlDreamergood point20:33
@rizeni guess...not a concern20:33
@rizenbut rather work20:33
@rizenthat i don't want to do right now20:33
@rizen=)20:33
+perlDreamerI understand20:34
@rizenincidentally, that discussion we were having earlier20:34
@rizeni'm changing that a bit20:34
+perlDreamerabout removeFromCart?20:34
@rizenand some other sku/cart interaction methods20:35
@rizeni'm creating onRemoveFromCart20:35
@rizenonAdjustQuantityInCart20:35
@rizenonCompletePurchase20:35
@rizenthat way it isn't the method that's actually removing, adjusting, or completing20:35
@rizenbut just something that gets called when those events happen20:35
+perlDreamerthose are also great workflow tie-in points20:36
@rizeni think it's a clearer separation20:36
@rizenoooh. good call20:36
@rizenthere is no onAddToCart because there is already addToCart20:36
@rizenthe sku is adding itself to the cart20:36
@rizennot the other way around20:37
@rizenunless maybe it shouldn't be that way20:37
@rizenactually...maybe it shouldn't be that way20:37
@rizenthe asset should call $cart->addItem();20:38
@rizenand then addItem calls onAddToCart()20:38
@rizenseems more round about though since we're already there20:38
+perlDreameryeah20:38
@rizengonna have to think about that one some more20:38
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has quit [Read error: 110 (Connection timed out)]20:46
CIA-22WebGUI: graham * r5850 /WebGUI/ (docs/changelog/7.x.x.txt lib/WebGUI/Asset/WikiPage.pm): fixed: Wiki page history shows username instead of alias20:46
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has joined #webgui20:47
-!- mode/#webgui [+v MrHairgrease] by ChanServ20:47
@rizenperlDreamer, i was thinking about the performance issue you brought up before20:54
@rizeni think i know what the problem is20:54
+perlDreamerclue me in, dude20:54
@rizenneither $cart->getItems() nor $cartitem->getSku() does any caching20:55
@rizenso it recreates all those objects over and over again in the cart20:55
@rizenfor shipping, tax, cart display, etc20:56
@rizenalso in tax20:56
+perlDreamerthe performance hit I saw was due to the number of entries in the tax table20:56
@rizenthe last time i looked you look up the tax information for each item in the cart20:56
@rizenbut before that loop, you should look up the tax info once for the main shipping address20:57
@rizenand then only look it up again if there is a custom shipping address for the itme20:57
@rizenitem20:57
+perlDreamerokay, I can make that change20:57
@rizenthat should make a pretty big difference20:57
@rizeni'm not saying we don't also need to make some other changes20:58
@rizenbut that should help20:58
@rizenoh i also had a brilliant idea over lunch20:59
@rizeni'm going to take out the coupon stuff as i have it right now20:59
@rizeninstead, coupons should be skus20:59
@rizeneach sku has access to the cart and therefore all items in it21:00
@rizenso when the cart calls getPrice() on the sku it can run through the cart and see what's in there and then return a negative price for the discount21:00
+perlDreamerso a coupon would know what kind of SKU it applies to?21:00
@rizenthat way people can write their own pluggable coupon skus21:00
@rizenyeah...cuz you can write code for whatever kind of coupon you want to write21:01
+perlDreamercoupons that expire 5 days after creation21:01
@rizenso you can say this coupon only applies to skus of type WebGUI::Asset::Sku::MakeColinMyBitch21:01
+perlDreamerThose SKUs are hard to get21:01
@rizenyeah, but when you can find them they are well worth it, even though they are expensive21:02
@rizenbut that's why i'd write a coupon sku for it21:02
@rizen=)21:02
@rizeni think it's BRILLIANT21:02
@rizenbecause it makes coupons very configurable and pluggable21:03
@rizenas for expiring coupons...you just remove the coupon from your site after 5 days21:03
@rizenor you make the coupon have date properties21:03
@rizenso it only applies during a set period21:03
+perlDreameryes21:03
@rizenplus since the coupon has the addToCart method in it21:03
@rizenit could actually check that stuff and not even let you add it to the cart21:03
@rizenunless the criteria match21:04
@rizenalso, because coupons are skus and skus are assets21:04
@rizenif you only want to allow the coupon for certain users21:04
@rizenyou can set who can view it21:05
@rizencuz if they can't view it, they can't add it to their cart21:05
+perlDreamerhm, I think I was wrong earlier about DataTable and Paginator.  They don't sync up too well because the pagination bar display is all done in the client.21:07
+perlDreamerMaybe this goes in Utility.21:07
@rizenwhat goes in Utility?21:09
+perlDreamersomething that abstracts building the SQL for the DataTable.21:09
+perlDreameryou pass it the base SQL, the keywords for variables, and the column fields that the keywords applies to21:11
+perlDreamerand it passes you back the amended SQL and placeholders21:11
@rizenyou said SQL in there 3 times21:11
@rizendoesn't that tell you something?21:11
+perlDreamerWait, I have a great idea!21:12
+perlDreamerI'll put it in SQL.pm!21:12
+perlDreamer;)21:12
CIA-22WebGUI: colin * r5851 /branch/WebGUI_Commerce/t/SQL.t: add a test for buildDataTableStructure21:24
CIA-22WebGUI: colin * r5852 /branch/WebGUI_Commerce/t/Shop/ (Tax.t Transaction.t): Note where additional tests need to be written for Shop/{Tax,Transaction}.21:24
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui21:30
CIA-22WebGUI: colin * r5853 /branch/WebGUI_Commerce/lib/WebGUI/Paginator.pm: Fix a typo in the Paginator POD.21:45
+perlDreamerokay, API work is done, back to Tax UI stuff21:46
-!- topsub [n=topsub20@97.66.185.250] has quit []21:53
-!- perlDreamer is now known as perlLuncher21:57
-!- lisette [n=liraos@201.232.58.66] has quit [No route to host]22:00
CIA-22WebGUI: colin * r5854 /branch/WebGUI_Commerce/ (4 files in 3 dirs): 22:03
CIA-22WebGUI: Add a SQL method for building searchable queries.22:03
CIA-22WebGUI: Add tests for that method.22:03
CIA-22WebGUI: Convert Shop/Tax and Shop/Transaction to use that for their JSON generating methods.22:03
CIA-22WebGUI: jt * r5855 /branch/WebGUI_Commerce/ (9 files in 6 dirs): 22:45
CIA-22WebGUI: made event handlers for cart/sku22:45
CIA-22WebGUI: created baseline emsbadge and emsticket22:45
CIA-22WebGUI: added completePurchase() and denyPurchase() utility methods for transaction22:45
-!- SDuensin [n=Scott@63.sub-75-207-252.myvzw.com] has quit ["Leaving"]22:50
+perlLuncherrizen: we've got a test failure.  applyOptions seems to have gone away?23:02
+perlLuncherjust try running the Shop/Tax.t test23:02
-!- perlLuncher is now known as perlDreamer23:03
@rizenok i'll look at it23:24
@rizenapplyOptions hasn't gone away23:27
@rizenthe asset isn't getting instanciated23:27
@rizenand way before that there is a problem with www_getTransactionsAsJson()23:28
+perlDreamerthat the test didn't catch?23:29
+perlDreamerthat's weird23:29
+perlDreamerwhat's it doing?23:29
@rizenyou know what...maybe i need to reset dev23:30
+perlDreamerbetter?23:31
@rizenfound some problems with the upgrade script23:31
@rizenhaven't tested it in a while23:31
@rizenstill failing at the same place23:34
@rizennot ok 86 - Check major elements of tax JSON23:34
@rizen#   Failed test 'Check major elements of tax JSON'23:34
@rizen#   at /data/WebGUI/t/Shop/Tax.t line 612.23:34
@rizen# Using Regexp on $data->{"records"}->[0]{"taxRate"}23:34
@rizen#    got : '0'23:34
@rizen# expect : (?-xism:^\d+\.\d+$)23:34
@rizensorry that's not get json23:35
@rizenit's just after that23:35
@rizeni was looking in the wrong place23:35
@preactionScalar::Util::looks_like_number instead of a regexp to detect it?23:35
+perlDreamerthat's probably safer23:35
+perlDreamerno, you can't do that unfortunately23:36
+perlDreamerit's using cmp_deeply23:36
@preactionnum() then23:37
+perlDreamersame problem23:38
+perlDreamerno way to get access to the original value23:39
@preactionignore() and test it later?23:39
+perlDreamerI'll just make the mantissa optional23:39
+perlDreameralthough it was told to make it 0.023:40
CIA-22WebGUI: jt * r5856 /branch/WebGUI_Commerce/docs/upgrades/upgrade_7.5.2-7.5.3.pl: fixed sql problems23:43
CIA-22WebGUI: jt * r5857 /branch/WebGUI_Commerce/t/Shop/Tax.t: proper indent23:43
@rizeni can't understand where CartItem.pm is even coming into play during this test23:44
+perlDreamercalculate calls getItems23:44
+perlDreamerthat returns a bunch of CartItems?23:44
@rizenyeah but isn't the error coming from the www_getTaxesAsJson23:45
@rizen?23:45
+perlDreamerNo, it's coming from the clean-up code at the bottom23:46
+perlDreamer$cart->delete, probably23:46
@rizenah23:47
@rizenwell that explains it23:47
@rizendelete calls empty which calls remove which i just changed a few minutes ago23:47
@rizeni'm still writing tests for those changes23:48
@rizenso let me finish that23:48
@rizenand it will probably clean up this problem23:48
+perlDreamercool23:49
-!- dionak [n=diona@97.66.185.250] has quit []23:55
--- Day changed Thu Mar 20 2008
+MrHairgreaserizen: I tried implementing the add paydriver functionality by using newByPropertyHashRef so it won't create a driver before you click save as discussed yesterday.00:03
+MrHairgreaseThe problem is however that I cannot use 'www_do' to do that00:04
+MrHairgreasesince www_do requires a driverId00:04
@rizeni see and understand00:04
+MrHairgreaseand since the driver hasn't been created yet, it has no id...00:04
+MrHairgreaseI have tried some things but they are all ugly00:04
@rizenthat was actually a big problem for me with assets too00:04
+MrHairgreaseyeah00:04
@rizeni couldn't use the api to create the root asset00:05
@rizen=)00:05
+MrHairgreasehehe00:05
@rizenbut then after that i could use the root asset to create other assets00:05
@rizenbut since there is no hierarchy in drivers00:05
+MrHairgreaseyeah, but is the root asset a chicken or just an egg?00:05
+MrHairgreaseI know00:05
@rizenthat's why i created the ship driver thing the way i did00:06
@rizenfor now i would create pay driver the same way00:06
+MrHairgreasei c00:06
@rizenand if i have time i'll look into the problem later00:06
@rizenright now i'm just concerned about getting this whole system completed on time00:06
@rizenthere's a lot to be done yet00:06
+MrHairgreaseok00:07
+MrHairgreasewill do it like it's done in ship for now then...00:07
CIA-22WebGUI: jt * r5858 /branch/WebGUI_Commerce/ (lib/WebGUI/Asset.pm lib/WebGUI/Asset/Sku.pm t/Asset/Sku.t): updated tests for sku and fixed problems00:22
+perlDreamerrizen: I svn up'ed and resetdev, but I'm getting the same error00:29
+perlDreamerCan't call method "applyOptions" on an undefined value at /data/WebGUI/lib/WebGUI/Shop/CartItem.pm line 15500:30
@rizeni didn't say it was fixed yet did i?00:31
@rizeni have lots of tests to update00:32
+perlDreamerSorry, man.  I mistook the svn commit to mean they were _all_ fixed.  My bad.00:32
+MrHairgreaserizen: did you rename set to update?00:33
+MrHairgreasein shipdriver/00:33
+MrHairgrease?00:33
@rizenyes00:34
+MrHairgreaseb/c in my paydrive it's still set00:34
@rizenplease update to update00:34
+MrHairgreasei fugure i do teh same00:34
+MrHairgreaseah ok00:34
+perlDreamerYeah, you fugure'd right00:41
@rizenok, now i've fixed the tests and it still didn't fix the problem00:41
@rizenso either there is something wrong in Tax.pm00:42
@rizenor my tests aren't covering something that they need to cover00:42
+perlDreamerAre there cartItem tests?00:42
@rizenmy guess is the later since i am bad at testing00:42
@rizenCart.t tests cart items00:42
@rizenthey work together as one system00:42
@rizenCart and CartItem00:42
@rizensame for Transaction00:42
@rizenyou can't have a CartItem without a cart00:43
+perlDreamerI see, similarly for Address and AddressBook00:43
@rizenoh that's one thing i'm not testing00:43
@rizencatching exceptions00:43
@rizeni should use martin's new cool tester thing00:43
+perlDreamerDo you want to generate a coverage report for your tests to see what they're missing?00:44
@rizeni don't really care to be honest. i know that it's missing quite a bit because some stuff is very hard to test with the parts that are still missing from commerce00:44
@rizenand i don't plan on testing the www_ methods00:45
CIA-22WebGUI: jt * r5859 /branch/WebGUI_Commerce/ (t/Shop/Cart.t lib/WebGUI/Shop/CartItem.pm): update tests to match new code00:45
@rizensorry...the way i stated that sounds bad00:47
+perlDreamernaw00:47
@rizenit's not that i don't care about testing00:47
@rizenit's that testing www_ methods is really fricken hard00:47
+perlDreamerit's true00:47
@rizenand not worth it in my opinion00:47
+perlDreamerI know why it's failing00:48
+perlDreamerbut not why it used to pass00:48
+perlDreamerI deleted the SKUs, and then called cart->delete00:48
@rizenand i really need the rest of pay and transaction finished in order to write the other tests that are missing00:48
+perlDreamerwithout the SKUs, the items can't instanciate the skus to call onRemoveFromCart00:49
+perlDreamerit's fixed now00:54
@rizeni just looked at some of your code00:55
@rizenholy crap am i inspired to throw a lot more exceptions00:55
@rizeni was being very minimalist00:55
@rizenbut you're throwing exceptions on everything00:55
+perlDreamerthat's funny, because after looking at your code I was thinking that I was overboard :)00:55
@rizenhehe00:56
@rizenmaybe we need to meet in the middle00:56
+MrHairgreaseok, this is getting rediculous00:57
+MrHairgreasesomehow i've borked my code00:57
+MrHairgreaseit must be something really simple00:57
+perlDreamerwhat's up, MrHairgrease?00:57
+MrHairgreasebut i cannot find it00:57
+perlDreamergive us a commit or paste00:57
+MrHairgreasei'm getting to tired for this crap00:57
+MrHairgreasethat's what it is00:58
+MrHairgreasetomorrow I'm sure I've found it in five minutes00:58
+MrHairgreaseso I'm calling it a day00:58
+perlDreamerGute Nacht, Herr Martin.00:59
+perlDreamerrizen: what's a good compromise?00:59
@rizenwell i think we should probably check that parameters are getting passed in01:00
@rizenand if they're an object or a hash we should check that they are the right type01:00
@rizenbut i don't think we should do deep checking like that the hash structure is correct01:00
@rizenor that the object is the one we expected or is configured correctly01:01
@rizencuz that's just going to slow the system way down01:01
+perlDreamerlet's take a specific example, like add in Tax01:01
+perlDreamer3 exceptions01:01
+perlDreamer1 for a hash01:01
+perlDreamerand 2 for hash contents01:01
+perlDreamerwe should bonk the last two exceptions01:02
+perlDreamerand let the www_ method do the checking for us01:02
@rizeni like that you're doing the testing, but yeah i'm concerned that if we do that all over the place we're taking a performance hit01:02
@rizennow in that particular case01:02
@rizenthat code isn't going to be called all that often01:03
@rizenso maybe it's ok01:03
@rizenbut on something that gets called a lot01:03
@rizenlike $cart->getItem01:03
@rizenif we did a lot of checks01:03
@rizenwe could get really slow really fast01:03
CIA-22WebGUI: graham * r5860 /WebGUI/ (docs/changelog/7.x.x.txt lib/WebGUI/Storage.pm): added: Uploads locations and files are set to the same uid/gid that owns the uploads root01:04
CIA-22WebGUI: graham * r5861 /WebGUI/ (docs/changelog/7.x.x.txt lib/WebGUI/Asset/Wobject/SQLForm.pm): fixed: SQL Form fields with a regex are required even if not set to required01:04
CIA-22WebGUI: graham * r5862 /WebGUI/ (docs/changelog/7.x.x.txt lib/WebGUI/Asset/Wobject/Matrix.pm): fixed: Matrix caches pages, and may not update for new listings01:04
CIA-22WebGUI: colin * r5863 /branch/WebGUI_Commerce/t/Shop/Tax.t: Don't delete the SKUs so that the cart can call onRemoveFromCart01:04
+perlDreamergetItem doesn't need an exception, since it's just a wrapper for new, and new will throw an exception01:04
@rizensorry bad example01:04
@rizenbut new would be a good exception01:04
@rizenexample i mean01:05
@rizenwell not really cuz it only gets an id01:05
@rizeni think you get my drift though01:05
@rizendeep checking of the data is technically good, but bad for performance01:05
@rizenand if i'm ever asked to make a decision about performance01:06
@rizenpretty much nothing trumps it01:06
+perlDreamergotcha01:06
@rizenexcept security and usability01:06
@rizenactually...not even usability01:06
@rizenhow do you rerun the cpan setup so you can set new mirrors01:13
@rizeni always just manually edit CPAN.pm, but i'm sure there's a better way01:13
+perlDreamerHaarg: I know I'm kibitzing again, but it would be good to add an upgrade script snippet that changed them all uploads subdirs and files to the owner, too.  Just to clean it all up at once.01:13
@rizeno conf init01:13
@Haargthat's probably a good idea01:14
+perlDreamerthat's an awesome addition, though.01:15
+perlDreamerI know people who setup cron jobs to do that manually every hour or so01:16
-!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"]01:18
@rizenMrHairgrease do you know if WebGUI::TestException works?01:19
@rizeni think i'm using it how i'm supposed to and it doesn't seem to work01:20
+perlDreamerseems to work with Pay.t01:20
+perlDreamerthrows_deeply01:20
@rizeni've just committed a new test01:35
@rizenat the top of Cart.t01:35
@rizenthat doesn't seem to work01:35
@rizencan you help me figure out why it doesn't work01:35
@rizenthis is throws_deeply01:35
@rizeni've read the docs and looked at Pay.t01:35
@rizenand i think i'm doing the same thing01:35
+perlDreamer[...updating]01:35
+perlDreamerI don't see a newBySession in Cart.pm.  Is it committed?01:37
+perlDreamerDoes it throw an exception if there's no session?01:37
@rizendamn it!!!!01:37
@rizenit's getCartBySession01:37
@rizeni've been thinking it should be called newBySession01:37
@rizenthat still doesn't fix it though01:38
+perlDreamerare you getting a field mismatch, or something else?01:39
@rizennevermind it fixes it01:39
@rizeni had another typo01:39
+perlDreamers/needs/?????/01:40
@rizenyup01:40
@rizenpd you rock01:40
+perlDreamerI'm a testing monster01:40
@rizenindeed01:40
CIA-22WebGUI: jt * r5864 /branch/WebGUI_Commerce/ (t/Shop/Cart.t lib/WebGUI/Shop/Cart.pm): trying to add more exceptions01:47
CIA-22WebGUI: jt * r5865 /branch/WebGUI_Commerce/t/Shop/Cart.t: fixed a test01:47
CIA-22WebGUI: colin * r5866 /branch/WebGUI_Commerce/lib/WebGUI/Shop/Tax.pm: 01:47
CIA-22WebGUI: Cache the main cart address tax info.01:47
CIA-22WebGUI: Build some more JS for the view Tax screen.01:47
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has quit ["Download Gaim: http://gaim.sourceforge.net/"]01:49
-!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui01:55
-!- mode/#webgui [+v Radix-wrk] by ChanServ01:55
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit []02:08
-!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui02:32
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has left #webgui []02:43
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has quit ["bbiab"]03:02
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui03:12
-!- mode/#webgui [+o apeiron] by ChanServ03:12
-!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has quit []03:25
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI04:23
-!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui04:39
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Connection timed out]05:08
-!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has quit []05:24
-!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has quit ["Windows doesn't have users, it has hostages."]05:44
-!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has joined #webgui06:04
-!- mode/#webgui [+v Radix_] by ChanServ06:04
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."]06:18
-!- vince2 [n=vince@ip68-12-66-144.ok.ok.cox.net] has joined #webgui06:54
-!- vince2 [n=vince@ip68-12-66-144.ok.ok.cox.net] has quit [Client Quit]06:55
-!- perlDreamer [n=colink@pool-71-117-250-89.ptldor.fios.verizon.net] has joined #webgui06:56
-!- mode/#webgui [+v perlDreamer] by ChanServ06:56
-!- perlDreamer [n=colink@pool-71-117-250-89.ptldor.fios.verizon.net] has quit ["Leaving."]07:18
-!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: steveo_aa07:26
-!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: ckotil07:28
-!- Netsplit over, joins: steveo_aa07:29
-!- ckotil [n=newtrino@snare.grnoc.iu.edu] has joined #webgui07:30
CIA-22WebGUI: colin * r5867 /branch/WebGUI_Commerce/lib/WebGUI/Shop/Tax.pm: renamed www_view to www_manage, and added more JS07:31
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has quit ["Leaving"]07:33
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui08:09
-!- mode/#webgui [+o preaction] by ChanServ08:09
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)]08:33
-!- ryuu_ro [n=rory@194.171.50.69] has joined #webgui08:51
-!- ryuu_ro_ [n=rory@194.171.50.69] has joined #webgui08:55
-!- ryuu_ro [n=rory@194.171.50.69] has quit [Read error: 110 (Connection timed out)]09:13
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui09:58
-!- Radix-wrk [n=Jesse@203.161.68.67] has quit ["Leaving"]10:22
-!- BartJol [n=plainstu@194.171.50.123] has joined #webgui10:52
-!- BartJo1 [n=plainstu@194.171.50.123] has joined #webgui11:42
-!- BartJol [n=plainstu@194.171.50.123] has quit [Read error: 113 (No route to host)]11:55
-!- jehryn [n=voltxion@146.223.205.68.cfl.res.rr.com] has joined #webgui13:22
-!- jehryn [n=voltxion@146.223.205.68.cfl.res.rr.com] has left #webgui []13:24
-!- br4k3r [n=br4k3r@bas3-ottawa10-1279549458.dsl.bell.ca] has joined #webgui14:16
br4k3rmornin gents14:16
br4k3rand ladies if there are any14:16
br4k3r:)14:16
AMH_bobhi dude14:19
AMH_bob(or dudet)14:19
br4k3rhehe14:19
br4k3rd00d :)14:19
br4k3rso yesterday I began the daunting task of upgrading from 6.8.9 to the newest14:20
-!- MrHairgrease [n=martin@194.171.50.69] has joined #webgui14:25
-!- mode/#webgui [+v MrHairgrease] by ChanServ14:25
-!- BartJo1 [n=plainstu@194.171.50.123] has quit [Read error: 110 (Connection timed out)]14:38
-!- wgGuest59 [n=wgGuest5@97.66.185.250] has joined #webgui15:14
ckotilhow'd that go?15:15
-!- topsub [n=topsub20@97.66.185.250] has joined #webgui15:15
ckotilit sounds daunting15:15
-!- br4k3r [n=br4k3r@bas3-ottawa10-1279549458.dsl.bell.ca] has quit [Remote closed the connection]15:16
-!- wgGuest59 [n=wgGuest5@97.66.185.250] has quit [Client Quit]15:16
-!- BartJol [n=plainstu@host2.procolix.com] has joined #webgui15:27
-!- dionak [n=diona@97.66.185.250] has joined #webgui15:40
-!- bopbop [n=kmccombs@71-82-214-154.dhcp.mdsn.wi.charter.com] has joined #webgui15:43
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui16:03
-!- mode/#webgui [+o rizen] by ChanServ16:03
-!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui16:08
-!- mode/#webgui [+o Haarg] by ChanServ16:08
+MrHairgreaserizen: for some reason if I put $self->session->errorHandler->warn("yadayada") in the commerce code, nothing appears in the log16:11
+MrHairgreaseit looks like only excpetions are getting logged16:12
@rizenwhat have you done?16:12
@rizenyou broke it didn't you16:13
@rizeni knew i couldn't trust you smooth talking europeans16:13
@rizen=)16:13
+MrHairgreasedon't get me started16:13
+MrHairgreaseall these small changes like set => update and some other minor stuff has been driving me crazy today16:13
+MrHairgreasemore specific because I can't get get any normal loggin messages16:14
+MrHairgreaseanyway16:14
+MrHairgreasecheck this out: http://webgui.pastebin.org/2458316:14
+MrHairgreaseThe highlighted line should at the very least show PLOINK in the logs right?16:15
@rizenPLOINK?16:15
+MrHairgreasewhen adding a shipper that is16:15
+MrHairgreasenever mind the word, it has no meaning16:15
@rizeni'm just giving you shit. sorry i should be serious.16:15
@rizenyes it should log ploink, provided it's getting to that line16:15
@rizenyou are throwing exceptions prior to that16:15
@rizenalso, your method is called addShipper16:16
@rizenbut aren't you working on pay?16:16
+MrHairgreasewell it is getting there: when i add a print "FOOBAR". I see FOOBAR being printed in my browser16:17
+MrHairgreaseI am working on pay btw16:17
+MrHairgreasebut I thought I check the weird behaviour in something that should work16:18
+MrHairgreasedoes it log on your system?16:19
@rizengoing to try it now16:21
@rizenit works on address book...just tried that16:21
+MrHairgreaseoh fuck16:21
@rizengoing to try ship now16:21
+MrHairgreaselog.conf is set to ERROR16:21
+MrHairgreasedoes the wre do that?16:22
+MrHairgreasenever mind16:23
+MrHairgreaseit works when I set it to WARN level again...16:23
+MrHairgreaseI'm gonna call this week waste-your-time-on-stupid-crap-week16:23
@rizenit's logging for me16:25
@rizenok16:25
@rizenyes, your friend KOEN requested that error be the default level set in WebGUI/WRE16:25
+MrHairgreaseyeah it should16:25
@rizeni agree16:25
+MrHairgreaseeven in dev mode?16:25
@rizenwhich is why i implemented it16:25
@rizeni never told dev mode to look at it16:26
+MrHairgreaseAlso, it seems that APache2::Reload is not configured16:27
+MrHairgreasecould that be16:27
+MrHairgrease?16:27
@rizenit should be16:29
@rizenbut there's always a chance that something bad has happened16:29
@rizenbug 16:29
@rizenwhatever16:29
@rizenoh...i know why you think that16:29
@rizeni don't know what it is about apache2::reload16:30
@rizenbut for me it only works for assets16:30
@rizenif i'm working on some core stuff16:30
@rizenthen i have to restart every time16:30
@rizenmaybe there is a different way to configure it16:30
+MrHairgreaseWell, I tried to configure it manually16:30
+MrHairgreasebut then all kind of weird crap started to happen16:31
+MrHairgreasethat combined with the log problems16:31
+MrHairgreasemade me disable it again16:31
+MrHairgreasewell anyway16:31
+MrHairgreasecarrying on with the pay stuff16:31
+MrHairgreaseoh one other thing16:34
+MrHairgreaseI noticed that when the Admin Bar is displayed requests are done twice16:34
+MrHairgreaseI'm not sure if that happens in all cases16:34
+MrHairgreasebut it happened to me on two different projects16:34
+MrHairgreaseI always notice by form posts being done twice16:35
+MrHairgreasewhich doesn't happen when the admin bar is off16:35
+MrHairgreaseis that known behaviour?16:35
+MrHairgreaseyay, the management crap is finally working as it should!16:47
+MrHairgreaseabout time...16:48
@rizeni havent' seen that with the admin bar16:52
@rizennot sure how the admin bar could cause that16:52
@rizengotta reboot...brb16:52
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit []16:52
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui16:58
-!- mode/#webgui [+o rizen] by ChanServ16:58
+MrHairgreaseok rizen, what is the checkout button in the cart supposed to do16:59
+MrHairgreaseor16:59
+MrHairgreasehow do it get from that screen to the select your paymentgatewayscreen17:00
+MrHairgreaseis there something already?17:00
@rizenthe checkout button is supposed to take you to the payment gateway selection screen17:00
@rizenand no, there isn't something already17:00
+MrHairgreaseok17:00
@rizenthat's something that has to be built into Pay.pm17:00
+MrHairgreaseok17:00
@rizenoh17:00
+MrHairgreasewill do17:01
@rizenit's also supposed to ensure that the user is logged in17:01
+MrHairgreaseok17:01
+MrHairgreasethat should be added to www_selectPaymentgateway17:01
+MrHairgrease?17:01
+MrHairgreaseor do you want it in the cart somewhere?17:01
@rizento www_select....17:02
@rizenthe cart doesn't require login17:02
@rizenonly when it comes time to check out17:02
+MrHairgreaseheh, I already built that method =)17:03
@rizenindeed17:03
+MrHairgreaseforgot about that17:03
@rizenthis is very similar to the old commerce system17:03
+MrHairgreaseno I mean in Pay.t17:03
+MrHairgrease\.pm*17:03
@rizenit's just that i moved the shipping part into the cart17:03
@rizenoh17:03
-!- BartJol [n=plainstu@host2.procolix.com] has quit [Read error: 104 (Connection reset by peer)]17:11
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has quit ["brb"]17:22
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui17:23
-!- mode/#webgui [+o apeiron] by ChanServ17:23
-!- BartJol [n=plainstu@194.171.50.123] has joined #webgui17:24
topsubhello. anyone here who can hlep me ping some questions about testing off of them?17:25
topsubi have questions testing with PseudoRequest17:31
topsubi have this idea of setting up a request.. calling setup_body.. then calling my function direclty. Would that "mock" the post17:32
-!- ryuu_ro_ [n=rory@194.171.50.69] has quit []17:33
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has joined #webgui17:38
-!- mode/#webgui [+v perlDreamer] by ChanServ17:38
+MrHairgreasegotta go17:41
+MrHairgreasei'll be back tonight17:41
+MrHairgreaselater17:41
-!- MrHairgrease [n=martin@194.171.50.69] has left #webgui []17:42
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui17:44
-!- TheSeparator [n=seppie@212-123-0-146.iFiber.telenet-ops.be] has joined #webgui17:45
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI17:58
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has quit ["Leaving."]18:07
topsubThink i just got this POST test working..18:09
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui18:21
-!- mode/#webgui [+o preaction] by ChanServ18:21
-!- bopbop [n=kmccombs@71-82-214-154.dhcp.mdsn.wi.charter.com] has quit []18:21
-!- TheSeparator [n=seppie@212-123-0-146.iFiber.telenet-ops.be] has quit [Read error: 113 (No route to host)]18:22
-!- BartJol [n=plainstu@194.171.50.123] has left #webgui []18:23
perlmonkey2topsub: building fences?18:26
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has quit ["brb"]18:52
@rizeni hereby declare that we are going to rule the world with this new commerce system18:55
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui19:00
-!- mode/#webgui [+o apeiron] by ChanServ19:00
-!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has quit ["Leaving"]19:18
* perlDreamer commences with world ruling level coding19:23
CIA-22WebGUI: graham * r5868 /WebGUI/lib/WebGUI/ (3 files in 3 dirs): improve Thingy i18n19:28
CIA-22WebGUI: graham * r5869 /WebGUI/docs/create.sql: preparing for 7.5.7 release19:28
CIA-22WebGUI: jt * r5870 /releases/WebGUI_7.5.7-beta: Release 7.5.7-beta19:28
CIA-22WebGUI: graham * r5871 /WebGUI/ (4 files in 4 dirs): preparing for 7.5.7 dev19:28
CIA-22WebGUI: colin * r5872 /branch/WebGUI_Commerce/t/Shop/Pay.t: Pay.t does not use Test::Exception19:28
perlmonkey2For the survey, in the Survey_question I'm breaking basic normalization by having a randomizedWords and a previousAnswerWords column which are each TEXT type and contain a JSON array.  The first being an array of strings to be randomly picked to be inserted in the question text, and the second and array of Survey_questionId's who's answer will be placed in the question text.  Should I stop being lazy and break out those into seperat19:35
@preactionperlmonkey2, don't worry too much about normalization really. unless it's a field you could concieve that people would want to build an SQLReport on (unlikely)19:39
perlmonkey2preaction: cool, thanks 19:39
-!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui20:12
-!- mode/#webgui [+o Haarg] by ChanServ20:12
topsubI have couple questions about PseudoRequest testing..20:16
topsubwhen i go to call "upload" from PseudoRequest it ask for a formname. does that get dynamic created?20:17
topsubi keep getting this error... "Can't use an undefined value as an ARRAY reference at line 207 in PseudoReuqest.pm20:18
topsubSeems i am not passing in what its expecting any help?20:19
@rizenperlDreamer just went to lunch methinks20:21
@rizenhe should be back in an hour20:21
topsubah20:21
@rizenlet me see if i can figure out what the error means though20:21
topsubwhat we get it means its the value is just blank20:22
@rizenwhat version of webgui are you using here?20:22
topsubundef value as array ref20:22
@rizenthere is no code at line 20720:22
topsub7.4.2120:22
topsubin PseudoReuqest.pm20:23
topsub  \data WebGUI t lib WebGUI20:23
-!- khenn [n=khenn@24-159-239-186.dhcp.mdsn.wi.charter.com] has joined #WebGUI20:26
-!- mode/#webgui [+o khenn] by ChanServ20:26
@rizenyeah it looks to me like $uploadFileHandles isn't getting populated20:26
topsubhttp://webgui.pastebin.com/m50419d3120:26
topsublook at line 11, thats how i passing it threw20:26
topsubhmm could dump $upload->fh and see if i am getting results from that20:27
@rizenalso $uploadFileHandles is supposed to be an array reference20:27
@rizenand you're giving it a single file handle20:27
topsubah wrapped it in [ ]20:29
topsubhmm think something else is wrong.. maybe20:44
topsubhttp://webgui.pastebin.com/m7772555d20:44
topsubgetting same error as before20:44
topsub207 in PseudoRequest20:44
topsubIt seems in storage.pm when we call the addFileFromFormPost function its not passing along the FileHandler that i include when i call it in my test20:51
@rizeni don't see where you're calling addFileFrom...20:53
topsubinside that function ( addFileFromFormPost ) it calls the 'upload' function that needs the filehandler that the addFileFromFormPost function doesn't pass along20:53
@rizenit's not in the paste that you showed20:53
topsubhttp://webgui.pastebin.com/m7d5d7edd20:54
topsubtry again20:54
topsubi updated20:54
topsubforgot the fucntion i am calling in my custom asset that calls the AddFile...20:54
-!- BartJol [n=plainstu@54-167.surfsnel.dsl.internl.net] has joined #webgui20:55
@rizeni don't know much about PsudoRequest but perhaps it's not compatible with Apache2::Upload that WebGUI::Storage is using20:58
topsubhmmm20:58
@rizenit does seem like your code should work now20:59
@rizeni'm not seeing any errors20:59
@rizenoh wait20:59
@rizenthere's an extra _file21:00
@rizenat the end of your form field name21:00
@rizenin the sub21:00
topsubi removed that21:00
topsubrefresh that paste bin, I updated21:00
topsubi still get same results21:00
@rizentestUploadForm doesn't match21:03
@rizenunless i'm reading something wrong21:03
@rizenshouldn't my $fh = $request->upload('testUploadForm',[$upload->fh]);21:03
@rizenuse the same form field name as21:03
@rizen       my $filename = $store->addFileFromFormPost('customer_data_file');21:03
-!- khenn [n=khenn@24-159-239-186.dhcp.mdsn.wi.charter.com] has quit []21:04
topsubaccording to the docs with $request->upload it ask for FormName21:07
topsubI can give it a try tho21:07
topsubin PseudoRequest the 2nd thing it shifts off ask for "formname" unless we are reading it wrong21:08
topsubAre you seeing that also? Or are we mistaking?21:12
topsubI changed that uploadTestForm to be the customer_data_file and i got a anew error message21:16
topsubso that seem to work, we read that variable wrong21:16
topsubCan't locate object method "filename" via package "FileHandle" at C:/data/WebGUI/t/Asset/Wobject/../../../lib/WebGUI/Storage.pm line 206.21:16
topsubthats the new error message21:16
+perlDreamertopsub, please paste both the code and the error message into 1 paste for me.21:26
topsubk21:29
topsubhttp://webgui.pastebin.com/m603e858f21:30
topsubSorry use thisone. forgot to change 1 thing http://webgui.pastebin.com/m129fecb21:30
+perlDreamerright now I'm suspecting a problem with perl on windows21:37
+perlDreamerbut I'll keep digging21:38
+perlDreamerare you using the WRE?21:38
topsubyes 8.1 i believe21:38
topsub0.8.1 21:38
+perlDreamerbad documentation21:40
+perlDreamertry sending it $upload, instead of $upload->fh21:40
+perlDreamerthe 2nd arg of upload is called uploadFileHandles, but it really wants upload objects.  The name is misleading.21:42
+perlDreamerdoes that work better, topsub?21:44
topsublet me try21:44
topsubwell.. i don't believe its failing there. i think its when we call processUploadFile and itcalls addFileFromFormPost and that calls upload is when its failing21:45
+perlDreamerright21:45
+perlDreamerif you don't send it the right thing, then when it's accessed it will fail21:45
+perlDreamerif it's still failing, please send me a new complete, paste21:45
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."]21:47
topsubcall it my $fh = $request->upload('customer_data_file',[$upload]);21:47
topsubi get a '1' back21:47
+perlDreamerhow 'bout a new paste, please?21:50
topsubhttp://webgui.pastebin.com/m3fbf778a21:52
+perlDreamerupload returns what is contained in the hash pointed to by $self->{$formname}.21:54
+perlDreamerif you store it in a scalar, and use it in scalar context, it will tell you how many things are in the array ref.21:54
+perlDreamerTry using Data::Dumper to print out the contents of $fh, instead.21:54
topsubah that worked!21:56
+perlDreamerso $fh is an arrayref of Webgui::PseudoRequest::Upload objects?21:57
+perlDreameror are you saying that the call to processUploadFile works now?21:57
topsubwhen we sent it the $upload instead of the $upload-fh21:57
+perlDreamervery good21:57
topsubit set up the $self-{uploads} for us21:57
+perlDreamerI'll change the name of the variable in the POD and commit that change.21:57
topsubthanks for your help!!21:58
topsubwe were stuck on that21:58
topsubwe thought we were sending it what it wanted21:58
+perlDreameryou're welcome.  Thanks for being our PseudoRequest/7.4/Windows guinea pig :)21:58
+perlDreamerpreaction: did you catch that?  PseudoRequest works on Windows and wG 7.4!21:59
topsubanytime!21:59
@preactionnice21:59
@preactiondoes WebGUI yet rely on Readonly? or is that core yet?21:59
+perlDreamerWeiss nicht.21:59
@preactionboth no?21:59
+perlDreamerI don't think we use Readonly, and I don't know if it's core in perl yet.22:00
@preactionit's not core, and it's not in testEnv so i'm assuming no22:00
-!- perlmonkey2 [n=kmurphy@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui22:00
topsubHere at knowmad we are proud to be the guinea pigs.. lol22:00
+perlDreamerI wonder why the i18n/help.t test is failing on the smoke test.22:01
+perlDreamerIt passes fine for me here.22:01
@preactioni think it's the Thingy, that's why it was doing it on my test box too22:01
topsubthanks guys. i will be back tomorrow or later today!22:01
+perlDreameris your test box back up?22:02
-!- topsub [n=topsub20@97.66.185.250] has quit []22:04
@preactionnot yet. hopefully i'll have some time this weekend to poke it with a sharp object 22:04
+perlDreamerDid you find a renter for your extra room?22:08
@preactionyeah, downstairs is occupado now. but they wanted to move in right away so i forgot to fix a couple minor things (no blinds in the bathroom, for example)22:09
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has joined #webgui22:32
-!- mode/#webgui [+v MrHairgrease] by ChanServ22:32
-!- dionak [n=diona@97.66.185.250] has quit []22:49
-!- dionak [n=diona@97.66.185.250] has joined #webgui22:50
+MrHairgreasearrggggghhh22:58
+MrHairgreasewhy is the cart complaining that it needs an amount?22:58
+perlDreamerwhazzup, MrHairgrease?22:58
+MrHairgreasenow the cart breaks while it did work this afternoon22:58
* MrHairgrease is chceking22:58
@rizendid you do an update?22:58
@rizenmaybe it's something i did22:58
+MrHairgreaseok, that message is coming from formatCurrency22:58
+perlDreamergood idea22:58
+perlDreamerlet's blame it on JT22:58
+MrHairgreaseI used a shipping address in the netherlands...22:59
+MrHairgreaseso that might be causing it22:59
+MrHairgreaselet me check22:59
+MrHairgreasecan i empty the cart y running its tests?22:59
@rizeni wouldn't think so23:00
+MrHairgreaseno23:00
+MrHairgreasei trie it23:00
+MrHairgreasetried*23:00
+MrHairgreaseok23:00
+MrHairgreaseresetting23:00
@rizenyou should try to find the bug23:00
@rizenperhaps you found a corner case23:00
@rizenthat we need to test for23:01
+MrHairgreasethat's why I'm about to try it with an US address23:01
+perlDreamerbrb23:01
+MrHairgreasebut with my current db the cart will not even show23:01
+MrHairgreasehold on23:01
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has quit ["Download Gaim: http://gaim.sourceforge.net/"]23:02
+MrHairgreaseok23:03
+MrHairgreaseit works when i'm using an US address23:03
+MrHairgreasenow trying again for an address outside the states23:04
+MrHairgreaselet's say iraq =)23:04
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has joined #webgui23:04
-!- mode/#webgui [+v perlDreamer] by ChanServ23:04
-!- crythias [n=gyoung@fl-69-68-148-96.sta.embarqhsd.net] has joined #webgui23:04
-!- mode/#webgui [+v crythias] by ChanServ23:04
+MrHairgreasein that cxase we can blame it on saddam23:04
+perlDreamerBlame it on the rain23:04
+perlDreamerthat was slowly falling23:04
-!- crythias [n=gyoung@fl-69-68-148-96.sta.embarqhsd.net] has left #webgui []23:04
+perlDreamerwhatever you do23:05
+perlDreamerdon't put the blame on you23:05
+MrHairgreasehmm no iraq23:05
+MrHairgreaseusing jamaioca instead23:05
+MrHairgreasehmm that works....23:05
+MrHairgreaseok, back to the netherlands23:05
+MrHairgreaseit's still working...23:06
+MrHairgreaseweird23:06
+MrHairgreasei hate those heisenbugs...23:06
+MrHairgreasewho23:09
+MrHairgreaserizen, remember that reload thing i found 23:09
+MrHairgreasewith admin on?23:09
@rizenyes23:10
+MrHairgreaseit's happening in the address book too23:10
+MrHairgreasecan you try to reproduce?23:10
@rizensure, just give me a second to get back into a working state23:10
+MrHairgreaseok23:10
+MrHairgreasei'll just start giving you reproduce instructions:23:11
+MrHairgrease1. make sure admin is on23:12
+MrHairgrease2. goto site.com?shop=address;method=view23:12
+MrHairgrease3. add an address23:12
@rizendone23:12
+MrHairgreaseNow you see only one address added, but actually there are two added already23:12
@rizennow what?23:13
@rizenso if i "use this address"23:13
+MrHairgreasenow goto site?shop=address;method=view23:13
@rizenand then go ack23:13
+MrHairgreaseagain23:13
@rizeni only see 1 address23:13
@rizenlet me try in firefox...i'm using safari23:13
+MrHairgreaseI've see this thing happening in three places now: when adding a thread in the cs with admin on23:14
+MrHairgreasesome custom app23:14
+MrHairgreaseand now this23:14
+MrHairgreaselet me try onqueror23:14
@rizensame in safari23:14
@rizeni mean same in firefox23:15
@rizeni used safari 3.1 and firefox 2.0.0.1223:15
@rizenboth on mac23:15
+MrHairgreasehmmm23:16
+MrHairgreaseit's not happening in konqueror23:16
+MrHairgreaseit must be my browser then...23:16
@rizenindeed23:16
+MrHairgreaselet me try again23:16
+MrHairgreasetoo weird...23:17
+MrHairgreasedo you have any plugins running in your firefox?23:17
+perlDreamerrizen: the new yui works great in my old mozilla browser23:18
@rizenpd: that's great news23:19
@rizenfinally23:19
@rizen!23:19
@rizeni have firebug, but it's disabled23:19
+MrHairgreasei have firebug and webdeveloper toolbar23:19
+MrHairgreasebut i cannot find where i can disabel them...23:19
BartJolfirebug tools-> firebug-> disable firebug23:20
@rizenfirebug has a thing right in it to disable it23:20
@rizenyeah23:20
+MrHairgreaseyeah ok23:20
+MrHairgreasebut the other23:20
+MrHairgreasethere must be some list with installed plugins right?23:21
@rizenthe other if you go to your add on manager23:21
@rizenit should have a disable button23:21
+MrHairgreaseok checking w/o firebug23:21
BartJolmaybe an IE view function too?23:21
+MrHairgreasewoohoo23:22
+MrHairgreasewithout firebug it doesn't happen23:22
+MrHairgreasestill strange since it only happens in admin mode23:22
+MrHairgreasenot perse due to the admin bar23:22
+MrHairgreasecould you try with firebug on to be sure it's that?23:27
+MrHairgreaseis webgui pushing stuff into extraHeadTags when admin is on?23:30
+MrHairgreaserizen: would it be a good idea to add a method to paydriver that returns a string containing all the formfields needed for a www_do command?23:47
+MrHairgreaseso that would set up shop=pay, method=do, do=METHOD and paymentGatewayId=$self->getId23:48
@rizensure23:48
+MrHairgreaseany idea for a name?23:48
@rizenthat would certainly make creating links easier23:48
@rizenformatUrl23:49
+MrHairgreasei meant it more for post requests, so it would generate a number hidden input tags23:50
@rizenoh23:50
@rizenif you want, go ahead23:50
@rizeni don't know a good name for that23:50
-!- perlmonkey2 [n=kmurphy@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."]23:51
+MrHairgreasei guess you can feed formatUrl to formHeader...23:51
@rizenbut you said you hated that23:51
@rizenand it was a hack23:51
+perlDreamerdon't the operations have an admin console type method which does that kind of magic?23:51
+MrHairgreasethat's true23:51
+perlDreamerI can't believe nobody picked up on that corny Milli Vanilli quote I said earlier23:52
+perlDreamerYou guys are young!23:52
@rizeni never listened to milli vanilli23:53
BartJolI just ignored MV23:54
* MrHairgrease only mv's to /dev/null23:55
+MrHairgreaseis there a way to get the origin for exceptions in the logs too?23:56
+MrHairgreasenow i get stuff like:23:56
+MrHairgrease2008/03/20 22:53:44 - ERROR - dev.localhost.localdomain.conf - main::[[undef]] - must have a form var called driver with a payment gateway id23:56
+MrHairgreasebut that doesn't tell me what screws up23:57
+perlDreamerit's due to stringification of exceptions23:57
--- Day changed Fri Mar 21 2008
+MrHairgreasepd: meaning?00:02
+MrHairgreasei know what stingifictaion is btw00:02
+MrHairgreasebut not why it hides where the exception was thrown00:03
+MrHairgreaserizen: so now I want to pay with my cash module00:03
+MrHairgreasei have a www_ method for that in Cash.pm00:03
+perlDreamerthe exceptions stringify to their error field only, and hide the old caller and stack info that we used to get00:03
+MrHairgreasebut how do i tell webgui i'm ready00:03
@rizenready to pay?00:03
+MrHairgreasethat the transaction is finished so to say00:04
+MrHairgreaseor pending00:04
@rizenoh00:04
+MrHairgreaseor whatever...00:04
@rizento finish a transaction you call00:04
@rizen$transaction->completePurchase00:04
@rizenor $transaction->denyPurchase00:04
+MrHairgreasesure00:04
+MrHairgreasei found that00:04
@rizenoh00:04
@rizenthe steps work like this00:04
+MrHairgreasebut how do i get the transaction for the current cart?00:04
@rizeni'm telling you00:05
@rizen1) user hits checkout00:05
@rizen2) sees list of payment gateways00:05
@rizen3) chooses a gateway00:05
@rizen4) display gateway payment screen (credit card info, address, etc)00:05
@rizen5) submits that00:05
@rizen5.1) create transaction00:06
@rizen5.2) stuff cart into transaction using $t->update00:06
@rizen5.3) stuff payment info into transaction using $t->update00:06
@rizen5.4) process payment if any (obviously skip this step on cash module)00:06
@rizen5.5) if successful call $t->completePurchase00:07
@rizen5.6) if failed calle $t->denyPurchase00:07
@rizen6) display error screen or thank you screen to user00:07
@rizengo it?00:07
+MrHairgreaseaha00:07
+MrHairgreaseok ggreat00:07
+MrHairgreaseyeah got it00:07
+MrHairgreasethanks00:08
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui00:13
-!- perlmonkey2 [n=kmurphy@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui00:13
-!- dionak [n=diona@97.66.185.250] has quit []00:15
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit [Remote closed the connection]00:39
+MrHairgreaseok commerce people00:51
+MrHairgreasewith all the weird bugs/typo's/apache::reload/firbug crap out of the way things are finally looking better 00:52
+MrHairgreasetomorrow I'm prolly all day at the university, but my guess is I can finish the cash plugin and all the stuff that's needed to 'pay' with it this weekend.00:53
-!- BartJol [n=plainstu@54-167.surfsnel.dsl.internl.net] has left #webgui []00:53
+MrHairgreasein other words: basically the steps rizen just pasted plus the cash plugin00:53
+MrHairgreaseit's about 12 over here so I'm gonna relax a bit and not code now =)00:54
-!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"]00:59
+perlDreamerAre you going to graduate by the next WUC?01:02
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has quit ["Download Gaim: http://gaim.sourceforge.net/"]01:06
-!- perlmonkey2 [n=kmurphy@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."]01:07
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has left #webgui []01:50
-!- Dadok [n=tickitim@108.178.dsl.syd.iprimus.net.au] has joined #webgui02:12
DadokHey guys!02:12
@preactionhi02:25
Dadokquick question.  what exactly does shift do?  i see it being assigned to a lot of arguments in the perl files, and I can't seem to find a definition of it.02:28
-!- Dadok2 [n=tickitim@108.178.dsl.syd.iprimus.net.au] has joined #webgui02:32
Dadok2oye, sorry got disconnected02:32
@apeironDadok2, perldoc -f shift02:32
@apeironDadok2, Also,02:32
@apeironperlbot, bp02:32
perlbothttp://www.perl.org/books/beginning-perl/02:32
Dadok2thanks :)02:32
@apeironDadok2, This is rudimentary perl that's covered in the standard documentation. The perlbot link is a link to a peer-reviewed, community-accepted introductory perl texet.02:33
@apeirontext, rather02:33
Dadok2ahhhh, defaults to @_.  that's why it didnt make any sense, haha02:34
@apeironDadok2, Do you know any perl?02:35
Dadok2mmm, not really, but i know a fair amount of other languages, figured i could pick it up easily02:37
@preactionperlbot learning perl02:38
perlbot"Learning Perl", the Llama Book - http://www.oreilly.com/catalog/learnperl4/; see also <tutorial>02:38
@apeironI'd strongly recommend going through either Beginning Perl or Learning Perl first.02:38
@preactionLearning Perl is for those who know how to program and want to learn Perl02:38
@preactionBeginning Perl is for those who want to learn how to program using Perl02:39
@apeironBP is also free, by the way.02:39
@apeironAnd I would advise against learning programming exclusively by trial and error.02:39
Dadok2true, i probably should actually commit some time to learning perl02:40
@apeironI first read the phrase "don't code in a vacuum" when playing around with gtk2-perl, but the idea is very applicable to any kind of coding, or science in general.02:40
Dadok2i agree, but i was kinda hoping that I wouldn't need too much Perl knowledge to actually set up this site.  like I know I'm not going to need to know perl's regular expression syntax02:42
@apeironDepends upon what you want to do.02:43
Dadok2and isnt that half of what perl is?02:43
@apeironer... no.02:43
Dadok2:P02:43
@preactionyou don't need to know perl to use webgui, but you will need to know perl and especially Perl OO in order to program WebGUI02:43
Dadok2yeah02:44
-!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui02:44
Dadok2but I'm hoping, considering how much time I have, that my current programming knowledge plus a bunch of the examples (the other perl files in WebGUI) will be enough to just throw together the two or three perl files ill actually need02:45
@apeironThree things I'd say to someone learning perl: get a book, don't code in a vacuum, and know your resources: CPAN, perlmonks, perldoc.02:45
Dadok2alright.  well thank you for the advice!  i will definitely brush up on my perl knowledge02:47
Dadok2i had a quick WebGUI question if you dont mind?02:47
@apeironDadok2, Also, as you're learning perl and since you have experience in some other language or another, I'd read perldoc perltrap02:47
@apeironGo ahead.02:47
-!- Dadok [n=tickitim@108.178.dsl.syd.iprimus.net.au] has quit [Read error: 110 (Connection timed out)]02:50
Dadok2Alright.  So basically what I want is users within a specific group to be able to post news item to the website, and have those news items dynamically loaded on the front page of the site (but only up to a certain # of the most recent posts).  I've got it working so that only the users within the specified group can post (using a collaboration system - good idea?).  Now I'm trying to work on the dynamically loading the posts from the datab02:51
Dadok2does that seem like a logical way to do this? or am i going down a completely wrong path?02:51
@preactionall collab systems expose an RSS feed. grab that RSS feed using a syndicated content asset02:51
@preactionsounds better than doing any actual work02:51
Dadok2oh, good call02:51
Dadok2that's why i asked!  thanks a lot :)02:54
@preactionDadok2, the books available from Plain Black explain all about the things available in WebGUI02:55
-!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has quit []02:57
Dadok2yeah im pending approval to purchase one of those02:59
-!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui03:20
-!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has left #webgui []03:26
+Radix_another way to do it is to use a shortcut to the collab system on the front page, and override the template used03:48
+Radix_using the mailbox feature you can enable users to email in news posts too btw - we do that for our intranet and it's great03:49
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)]03:55
CIA-22WebGUI: doug * r5873 /WebGUI/ (31 files in 18 dirs): (log message trimmed)04:14
CIA-22WebGUI: - moved Gallery utility methods to WebGUI::Utility::Gallery04:14
CIA-22WebGUI: - Added tests for GalleryAlbum RSS04:14
CIA-22WebGUI: - More tests for comments04:14
CIA-22WebGUI: - Test International Macro sprintf as third+ arguments04:14
CIA-22WebGUI: - Add Gallery search limiting by user ID04:14
CIA-22WebGUI: - Remaining i18n for Gallery templates04:14
CIA-22WebGUI: jt * r5874 /branch/WebGUI_Commerce/ (6 files in 3 dirs): added token and ribbon skus04:14
CIA-22WebGUI: graham * r5875 /WebGUI/ (docs/changelog/7.x.x.txt lib/WebGUI/Asset/Wobject/Matrix.pm): 04:14
CIA-22WebGUI: fixed: Editting matrix listings shows fields from other matrix assets04:14
CIA-22WebGUI: fixed: Matrix assets show pending listings from all matrix assets on a site04:14
CIA-22WebGUI: graham * r5876 /WebGUI/ (docs/changelog/7.x.x.txt lib/WebGUI/Asset/Wobject/Matrix.pm): fixed: Changing name of Matrix listing leaves discussion forum with old name04:14
CIA-22WebGUI: graham * r5877 /WebGUI/ (3 files in 2 dirs): fixed: Importing a package can break when updating a pending asset04:14
CIA-22WebGUI: graham * r5878 /WebGUI/ (4 files in 3 dirs): fixed: errors on package importing are always reported as corrupted packages04:14
CIA-22WebGUI: jt * r5879 /branch/WebGUI_Commerce/ (8 files in 4 dirs): 04:14
CIA-22WebGUI: added more documentation to sku types04:15
CIA-22WebGUI: continuing to migrate EMS to C204:15
Dadok2Oh good ideas Radix!  Thank you :)04:16
Dadok2Right now I'm having a problem with my Collaboration system.  I keep adding test posts, but only the first one is showing up still...  When I added the first one, it was automatically created as a thread.  These ones are doing the same thing (because they show up in the database as new threads in the Post table), but they arent showing up on the site, any idea why?04:18
Dadok2hold on, might be my workflow commit aproval04:24
Dadok2yeah, got it04:36
-!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has quit ["Windows doesn't have users, it has hostages."]04:38
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui04:50
CIA-22WebGUI: jt * r5880 /branch/WebGUI_Commerce/lib/WebGUI/Asset/ (Sku/EMSBadge.pm Wobject/EventManagementSystem.pm): started creating new badge view interface05:04
-!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui05:07
-!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has left #webgui []05:08
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."]05:14
-!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI05:50
-!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui05:51
elninohi.05:54
elninoI have some items in my trash that I'm not able to delete, Following someone's suggestion I did a tail -f while trying to delete one of them. The error I got is: coulndt' call method purgelist on asset. Root cause: can't call method "canEdit" on an undefined value at assettrash.pm line 35905:56
elninowhat can I look at so that I may purge these files?05:56
elninoLooking at "canEdit" in Asset.pm, it doesn't look like there is an exception for me as admin. Me think this is a bug. I'll post it.05:59
elninook. new question:06:14
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui06:14
-!- mode/#webgui [+o preaction] by ChanServ06:14
elninowhat does "pass in object came back undefined for activity xxxxx using WebGUI ::asset::wobject::collaboration, new, xxxx supposed to mean?06:14
-!- Radix_ [n=Radix@203.59.120.233] has joined #webgui06:20
-!- mode/#webgui [+v Radix_] by ChanServ06:20
-!- Radix_ [n=Radix@203.59.120.233] has quit [Client Quit]06:20
-!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has quit []07:04
-!- Haarg [n=haarg@66-168-19-128.dhcp.mdsn.wi.charter.com] has joined #webgui07:08
-!- mode/#webgui [+o Haarg] by ChanServ07:09
elninohi. I'm trying to clean up my errors and warns in my log file. I'm getting "pass in object came back undefined for activity xxxxx using WebGUI ::asset::wobject::collaboration, new, xxxx" What does that mean?07:23
-!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has quit ["Leaving"]08:33
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)]09:10
Dadok2is there a search macro?09:19
Dadok2i saw ^? mentioned once, but i cant seem to find it09:19
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui09:46
-!- ryuu_ro [n=rory@194.171.50.69] has joined #webgui11:50
Dadok2anyone there?13:15
-!- lrobinson [n=luke@lrobinson2.vm.bytemark.co.uk] has joined #webgui13:28
-!- Haarg [n=haarg@66-168-19-128.dhcp.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"]14:02
-!- Dadok [n=tickitim@108.178.dsl.syd.iprimus.net.au] has joined #webgui14:02
-!- Dadok2 [n=tickitim@108.178.dsl.syd.iprimus.net.au] has quit [Read error: 110 (Connection timed out)]14:22
-!- Haarg [n=haarg@66-168-19-128.dhcp.mdsn.wi.charter.com] has joined #webgui14:47
-!- mode/#webgui [+o Haarg] by ChanServ14:47
-!- Dadok [n=tickitim@108.178.dsl.syd.iprimus.net.au] has left #webgui []15:03
-!- Dadok [n=tickitim@108.178.dsl.syd.iprimus.net.au] has joined #webgui15:03
-!- Dadok [n=tickitim@108.178.dsl.syd.iprimus.net.au] has quit []15:18
-!- topsub [n=topsub20@97.66.185.250] has joined #webgui15:28
-!- wgGuest10 [n=wgGuest1@adsl190-28-250-154.epm.net.co] has joined #webgui16:23
-!- wgGuest10 [n=wgGuest1@adsl190-28-250-154.epm.net.co] has quit [Remote closed the connection]16:27
-!- wgGuest85 [n=wgGuest8@adsl190-28-250-154.epm.net.co] has joined #webgui16:28
wgGuest85hello16:29
wgGuest85can i execute shell commands on a macro?16:29
@apeironperlbot, tias16:30
perlbotTry It And See: the best way to learn if something works.16:30
@apeironwgGuest85, Yes, you can, but the command will run as the user running the httpd process.16:30
wgGuest85apeiron, i need to use an special library because i was trying using some cpan modules like Proc::Reliable16:33
wgGuest85but i obtain always some errors16:33
@apeironwgGuest85, Those being...?16:34
@rizenThere is an Execute macro that ships with WebGUI, but is disabled by default16:35
@rizenadd it to your config and it will run any command you wish and put the output on your site16:35
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui16:37
wgGuest85rizen, thanks  i am going to check that macro16:37
lrobinsonis there any obvious reason for the What next thing to be missing at the bottom of data form properties?16:49
* lrobinson takes that as a no17:00
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui17:44
-!- mode/#webgui [+o preaction] by ChanServ17:44
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."]17:45
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit ["Leaving"]17:51
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has left #webgui []17:54
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui18:09
-!- mode/#webgui [+o preaction] by ChanServ18:09
-!- topsub [n=topsub20@97.66.185.250] has quit []18:14
-!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has joined #webgui18:19
-!- mode/#webgui [+v Radix_] by ChanServ18:19
-!- ryuu_ro [n=rory@194.171.50.69] has quit []18:20
-!- dionak [n=diona@97.66.185.250] has joined #webgui19:10
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has joined #webgui19:13
-!- mode/#webgui [+v perlDreamer] by ChanServ19:13
-!- dionak [n=diona@97.66.185.250] has quit []19:47
-!- lrobinson [n=luke@lrobinson2.vm.bytemark.co.uk] has quit ["ircII EPIC4-2.6 -- Are we there yet?"]19:51
-!- topsub [n=topsub20@97.66.185.250] has joined #webgui20:07
topsubDoes anyone know if processPropertiesFromFormPost processes File uploads?20:29
+perlDreamerI think that preaction made some changes in 7.5 so that it will20:35
+perlDreamerbut in 7.4, it won't20:35
@preactionuh... it processes all the properties in the definition, which includes any File types20:35
@preactionit's always done that20:36
+perlDreamerI thought that storage locations had to be manually processed.20:36
@preactionif you want to re-use the same storage location, you'll need to do it yourself20:36
topsubhmm brb20:36
-!- topsub [n=topsub20@97.66.185.250] has quit []20:36
-!- wgGuest85 [n=wgGuest8@adsl190-28-250-154.epm.net.co] has quit [Remote closed the connection]20:57
-!- wgGuest26 [n=wgGuest2@adsl190-28-250-154.epm.net.co] has joined #webgui20:58
wgGuest26hello20:58
@preactionhello21:00
wgGuest26if i want to use the same storage location for uploads but i want to add the entry in another table, could i use some code of the data form wobject?  21:01
wgGuest26or could i create my own script using some of this functions?21:02
@preactionprobably both. though i wouldn't use any of the DataForm code, it's a product of the old way of doing things21:09
wgGuest26so. the dataform probably will disappear21:11
@preactioni believe it's been said it will disappear, but that's not the point i'm making: it's old code, there are better ways of doing what the DataForm does (like Thingy)21:12
wgGuest26in my case, i could do my own upload script to perfom the thing that i want21:15
wgGuest26instead of using some dataform code21:15
-!- wgGuest26 [n=wgGuest2@adsl190-28-250-154.epm.net.co] has quit [Remote closed the connection]21:48
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit ["Leaving"]22:32
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has quit [Read error: 113 (No route to host)]22:42
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui22:43
-!- mode/#webgui [+o preaction] by ChanServ22:43
-!- steveo_aa [n=sno@76.226.180.6] has quit [Read error: 110 (Connection timed out)]23:01
-!- steveo_aa [n=sno@76.226.180.6] has joined #webgui23:02
-!- dionak [n=diona@97.66.185.250] has joined #webgui23:30
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has quit ["leaving"]23:49
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui23:50
-!- mode/#webgui [+o apeiron] by ChanServ23:50
--- Day changed Sat Mar 22 2008
-!- dionak [n=diona@97.66.185.250] has quit []00:29
-!- dionak [n=diona@97.66.185.250] has joined #webgui00:31
-!- dionak [n=diona@97.66.185.250] has quit [Client Quit]00:34
-!- dionak [n=diona@97.66.185.250] has joined #webgui00:35
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)]00:50
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has quit ["Download Gaim: http://gaim.sourceforge.net/"]00:52
-!- dionak [n=diona@97.66.185.250] has quit []00:54
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has quit ["brb"]01:03
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui01:10
-!- mode/#webgui [+o apeiron] by ChanServ01:10
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit []02:00
-!- Dadok [n=tickitim@21.123.dsl.syd.iprimus.net.au] has joined #webgui03:25
Dadokhey guys, could anyone tell me where i'd find the parameter info for the search (^?) macro?  I can't seem to find it in the API03:26
CIA-22WebGUI: graham * r5881 /WebGUI/ (2 files in 2 dirs): fixed: Optional pubDate RSS field generates warnings when missing04:07
CIA-22WebGUI: graham * r5882 /WebGUI/ (lib/WebGUI/Asset/Post/Thread.pm docs/changelog/7.x.x.txt): fixed: Collaboration System threads can return other object types when asked for replies04:07
CIA-22WebGUI: jt * r5883 /branch/WebGUI_Commerce/ (5 files in 4 dirs): 04:07
CIA-22WebGUI: ems badge listing now works and you can add badges04:07
CIA-22WebGUI: made address book address selector use callbacks so that it can be used by things other than shipping04:07
CIA-22WebGUI: jt * r5884 /branch/WebGUI_Commerce/ (8 files in 5 dirs): can now add a badge to your cart04:07
CIA-22WebGUI: yung * r5885 /WebGUI/ (5 files in 3 dirs): Added hover help in Thingy's yui popups.04:07
Dadokhey, anyone there?04:23
-!- Dadok [n=tickitim@21.123.dsl.syd.iprimus.net.au] has quit []05:22
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui05:48
-!- mode/#webgui [+o preaction] by ChanServ05:49
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI05:53
-!- apeiron_ [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui08:28
-!- mode/#webgui [+o apeiron_] by ChanServ08:28
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has quit [Nick collision from services.]08:28
-!- apeiron_ is now known as apeiron08:29
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Connection timed out]08:36
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui11:50
-!- mode/#webgui [+o preaction] by ChanServ11:50
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)]13:23
-!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has quit ["Windows doesn't have users, it has hostages."]18:10
-!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has joined #webgui18:22
-!- mode/#webgui [+v Radix_] by ChanServ18:22
-!- BartJol [n=plainstu@52-167.surfsnel.dsl.internl.net] has joined #webgui19:34
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui20:29
-!- mode/#webgui [+o preaction] by ChanServ20:29
-!- khenn [n=khenn@24-159-239-186.dhcp.mdsn.wi.charter.com] has joined #WebGUI20:50
-!- mode/#webgui [+o khenn] by ChanServ20:50
-!- BartJol [n=plainstu@52-167.surfsnel.dsl.internl.net] has quit [Read error: 110 (Connection timed out)]21:08
-!- BartJol [n=plainstu@52-167.surfsnel.dsl.internl.net] has joined #webgui23:24
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Success]23:26
--- Day changed Sun Mar 23 2008
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui00:01
-!- mode/#webgui [+o preaction] by ChanServ00:01
CIA-22WebGUI: jt * r5886 /branch/WebGUI_Commerce/lib/WebGUI/ (8 files in 4 dirs): you can add tokens and ribbons now00:21
-!- BartJol [n=plainstu@52-167.surfsnel.dsl.internl.net] has left #webgui []01:18
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit ["Leaving"]02:09
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has quit ["back later"]03:47
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui05:40
-!- mode/#webgui [+o apeiron] by ChanServ05:40
-!- khenn [n=khenn@24-159-239-186.dhcp.mdsn.wi.charter.com] has quit []09:16
-!- apeiron_ [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui11:36
-!- mode/#webgui [+o apeiron_] by ChanServ11:36
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has quit [Nick collision from services.]11:37
-!- apeiron_ is now known as apeiron11:37
-!- apeiron_ [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui11:58
-!- mode/#webgui [+o apeiron_] by ChanServ11:58
-!- apeiron__ [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui12:04
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has quit [Read error: 110 (Connection timed out)]12:08
-!- apeiron__ is now known as apeiron12:15
-!- mode/#webgui [+o apeiron] by ChanServ12:15
-!- apeiron_ [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has quit [Read error: 110 (Connection timed out)]12:19
-!- BartJol [n=plainstu@52-167.surfsnel.dsl.internl.net] has joined #webgui15:47
CIA-22WebGUI: jt * r5887 /branch/WebGUI_Commerce/ (2 files in 2 dirs): fleshed out the badge display17:43
-!- khenn [n=khenn@24-159-239-186.dhcp.mdsn.wi.charter.com] has joined #WebGUI17:48
-!- mode/#webgui [+o khenn] by ChanServ17:48
-!- BartJol [n=plainstu@52-167.surfsnel.dsl.internl.net] has quit [Read error: 110 (Connection timed out)]18:50
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui21:43
-!- perlDreamer [n=colink@pool-71-117-250-89.ptldor.fios.verizon.net] has joined #webgui21:50
-!- mode/#webgui [+v perlDreamer] by ChanServ21:50
+perlDreamerI need help with some JS YUI for C2.  Anybody home?22:26
CIA-22WebGUI: colin * r5888 /branch/WebGUI_Commerce/lib/WebGUI/Shop/Admin.pm: put in correct method for Taxes23:18
CIA-22WebGUI: colin * r5889 /branch/WebGUI_Commerce/lib/WebGUI/ (i18n/English/Tax.pm Shop/Tax.pm): 23:18
CIA-22WebGUI: Add a column for the tax rate (duh) and the taxId. The taxId will23:18
CIA-22WebGUI: eventually be replaced with an icon for deleting tax info.23:18
CIA-22WebGUI: Change the comment character in the JS.23:18
CIA-22WebGUI: Return the generated output inside of an admin console.23:18
CIA-22WebGUI: colin * r5890 /branch/WebGUI_Commerce/t/Shop/loadTaxes.pl: add a script to dump in the 2008 California state tax table23:18
CIA-22WebGUI: colin * r5891 /branch/WebGUI_Commerce/lib/WebGUI/ (i18n/English/Tax.pm Shop/Tax.pm): Add the export button and div.23:52
--- Day changed Mon Mar 24 2008
-!- perlDreamer [n=colink@pool-71-117-250-89.ptldor.fios.verizon.net] has quit ["Leaving."]02:49
CIA-22WebGUI: colin * r5892 /branch/WebGUI_Commerce/lib/WebGUI/Shop/Tax.pm: fix a few small typos, manage still not managing02:59
-!- Blackmagic [n=lawrence@221.120.97.12] has joined #webgui05:49
-!- Blackmagic [n=lawrence@221.120.97.12] has left #webgui []05:50
-!- Dark [n=lawrence@221.120.97.12] has joined #webgui05:51
-!- Dark [n=lawrence@221.120.97.12] has left #webgui []05:52
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."]06:18
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has quit [Read error: 113 (No route to host)]07:38
-!- Dadok [n=tickitim@c220-237-114-104.mirnd2.nsw.optusnet.com.au] has joined #webgui08:25
Dadokhey guys, the gateway URL macro is giving me some weird results08:31
Dadok:08:31
Dadokhttp://polotest.net/%5E(/home/news);08:31
Dadokand http://polotest.net/%5E(/home);08:32
Dadokis the URL i'm getting returned....08:32
Dadokignore that08:34
Dadokanyone know if they've made it possible to resize a search box yet?10:35
Dadokhey anyone there?11:53
CIA-22WebGUI: graham * r5893 /WebGUI/ (3 files in 2 dirs): fixed: Able to cut or trash system assets12:04
CIA-22WebGUI: graham * r5894 /WebGUI/ (docs/changelog/7.x.x.txt lib/WebGUI/AssetTrash.pm): fixed: Can't purge uncommitted assets if not using its version tag12:04
CIA-22WebGUI: graham * r5895 /WebGUI/lib/WebGUI/Form/List.pm: displayValue for list should show values instead of keys12:04
CIA-22WebGUI: graham * r5896 /WebGUI/ (2 files in 2 dirs): fixed: DataForm will create fields with duplicate names but doesn't use them separately12:04
CIA-22WebGUI: graham * r5897 /WebGUI/ (2 files in 2 dirs): fixed: Bad message if database link for SQL Report doesn't exist12:04
-!- SynQ [n=koen@e97024.upc-e.chello.nl] has joined #WebGUI12:09
SynQmorning12:09
SynQsnow in the netherlands12:09
SynQI'm going to do the 'upgrade dance'12:18
SynQall the way from 5.5.4 :)12:19
SynQnow ain't that nice12:19
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has quit ["Leaving"]13:03
-!- Dadok [n=tickitim@c220-237-114-104.mirnd2.nsw.optusnet.com.au] has quit []13:51
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui14:06
-!- topsub [n=topsub20@97.66.185.250] has joined #webgui15:15
perlmonkey2Looking for advice on the Survey.  One of the question types is just a simple file upload.  Where should these files be stored.  I'd like to store them in the answers table, but that might not be realistic.15:41
-!- SDuensin [n=Scott@125.sub-75-205-150.myvzw.com] has joined #WebGUI15:41
SDuensinMorning.15:43
perlmonkey2good morning15:44
-!- topsub [n=topsub20@97.66.185.250] has quit []15:45
perlmonkey2SDuensin: one of the survey question types is a file upload (usually an image).  Should I just add a column to the answers, or create a new table for it?15:52
SDuensinHuh?15:53
perlmonkey2I want to keep all the question types as alike as possible in the DB, but a file type will just be a special case, no matter what.15:53
* SDuensin thinks perlmonkey2 is asking the wrong dude.15:53
perlmonkey2but you know webgui...surely you have some ideas on its philosophy :)15:53
SDuensinDon't know that one.  :-/15:54
-!- Haarg [n=haarg@66-168-19-128.dhcp.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"]15:55
perlmonkey2SDuensin: no biggie, It wont' be commonly used and that table isn't exactly required to have sub milisecond responses.16:02
-!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui16:14
-!- mode/#webgui [+o Haarg] by ChanServ16:14
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui16:18
-!- mode/#webgui [+o preaction] by ChanServ16:18
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui16:28
-!- mode/#webgui [+o apeiron] by ChanServ16:28
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has quit [Client Quit]16:28
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui16:28
-!- mode/#webgui [+o apeiron] by ChanServ16:28
CIA-22WebGUI: yung * r5898 WebGUI/lib/WebGUI/Asset/Wobject/Thingy.pm: fix: Thingy shows things from other Thingies16:40
CIA-22WebGUI: yung * r5899 WebGUI/docs/changelog/7.x.x.txt: updating changelog16:40
-!- wgGuest34 [n=wgGuest3@97.66.185.250] has joined #webgui16:54
-!- wgGuest34 [n=wgGuest3@97.66.185.250] has quit [Remote closed the connection]16:54
CIA-22WebGUI: doug * r5900 /branch/WebGUI_7.4/ (2 files in 2 dirs): fix: Calendar ical URL adds extraneous baloney17:00
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui17:04
-!- mode/#webgui [+o rizen] by ChanServ17:04
@rizenpreaction, khenn, anybody else that wants to chime in, need an opinion17:22
@rizenwhen a transaction successfully completes17:23
@rizenshould the transaction layer send out an email to each the buyer and the seller17:23
@rizenor should i make each payment module do it individually17:23
@rizeni'm thinking the transaction layer should handle it, so that it's always done in a uniform fashion17:23
@rizenthe email being the receipt of the transaction17:24
@khennhmm17:25
@preactionyou're anticipating the Auction asset?17:29
@rizenno, would that affect it in some whay?17:29
@rizens/whay/way/17:29
@preactionno, you just mentioned both buyer and seller17:30
@preactionbut i suppose if you're selling products you might want email notification of new orders17:30
@preactionbut, if it were an Auction, you might need a way to override the "seller". 17:31
@preactioni think transaction level should work fine17:31
@preactionthey can always disable it if necessary17:31
perlmonkey2I've seen some systems that have a transaction confirmation and then a payment confirmation.  So maybe have two sets of emails?  Each layer being responsible for one?17:31
perlmonkey2CC validation systems I've used have been near instantaneous, so I've never needed two emails, but perhaps some systems do?17:32
@rizenseller being the merchant operating the site17:32
@rizeni think that an auction system would also send out other emails for things like "you won your item"17:32
@rizenand "auction has been completed with or without a buyer"17:32
@rizenand so forth17:32
@rizenpm2, this one will be instantaneous17:33
@rizenthere are some systems that process transactions in batch17:33
@rizenbut to do that you have to store the credit card info17:33
@rizenwhich we're definitely not going to do17:33
perlmonkey2yeah I was under strict orders to make sure CC #'s were in memory for as short a time as possible, and never ever stored o disk.17:34
-!- perlDreamer [n=colink@pool-71-117-250-89.ptldor.fios.verizon.net] has joined #webgui17:35
-!- mode/#webgui [+v perlDreamer] by ChanServ17:35
perlmonkey2Is there payment module specific information needed in the email?17:37
perlmonkey2like 'you won this auction'?17:37
perlmonkey2some payment modules might have different information in their confirmations?17:38
@khennI'm of the opinion that the payment module should do it17:39
@khennI think17:39
@khennif it's in the payment module can it be overridden?17:39
@rizeni can have the main payment module do it17:48
@rizenand then override it in each subclass17:48
@rizeni can't imagine what need the payment module might have for overriding it...but that's probably the point17:49
@rizenit's the thing i can't imagine17:49
+perlDreamerrizen: you up for a little YUIing?17:50
@rizenyup17:51
@rizendid you verify that your json is created correctly?17:51
@rizenit has all the fields it needs, and that the fields are numbers when they need to be?17:51
+perlDreamerYes, but it's worth another check17:51
@rizenfeel free to put the output in a paste bin if you want me to look17:51
+perlDreamerstringy numbers17:58
@rizenso did it fix the problem by fixing stringy numbers?17:59
+perlDreamerI fixed the stringy numbers, but I'm still getting the problem18:00
+perlDreamerhttp://webgui.pastebin.com/m17603c0218:00
+perlDreamerthere's the JSON18:00
@rizenoh.18:00
+perlDreamernew JSON18:00
@rizenif you have no data in the records18:00
@rizenit will say data error18:00
@rizenwhich is kind of lame18:00
@rizenbut that's what it does18:00
+perlDreamerI don't remember getting that from the Transactions, but I'll pump in some data and try again18:00
@rizeni just built 4 more of these over the weekend, so i'm becoming intimately familiar with datatable nuances18:01
@rizenthe ems is using the data table extensively in it's new UI18:01
+perlDreamerDBK is stringifying the taxRate now.18:03
+perlDreamerDBI18:03
+perlDreamermaybe having a WebGUI::SQL driver for this won't work after all18:04
@rizenyou mean a DBI method?18:09
@rizenor a WebGUI::SQL method i should say18:09
+perlDreamerYes.18:10
@rizenyeah, i couldn't use it in the EMS18:10
@rizenbecause there i was querying assets18:10
@rizenso i wanted to use getLineage18:10
@rizenit may be just one of those things18:10
@rizenwhere you start with a little copy paste18:11
@rizenand then modify18:11
@rizenbecause there's so much little crap that is inconsistent18:11
+perlDreamerIt's javascript.  It looks like a number.  Use it!18:11
+perlDreamerI'll get rid of the method and revert Tax and Transaction to what they were before.18:14
@rizenr u going to keep the search utility method or get rid of that too?18:15
@rizeni couldn't use that either18:15
+perlDreamerI'd like to keep that, too18:15
+perlDreamerwhy not?18:15
@rizeni mean in ems18:15
@rizencuz i'm searching asset18:15
@rizens18:15
@rizenso there's already a WebGUI::Search api for that18:15
+perlDreamerwell, if it's not generally useful, we should get rid of it, too18:16
@rizenit's useful in tax and transactions18:16
@rizenand will probably be useful in other stuff too18:16
@rizenbut it's really not saving that much code18:16
@rizenmaybe 1 line18:17
@rizenor 218:17
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has joined #webgui18:24
-!- mode/#webgui [+v MrHairgrease] by ChanServ18:24
+MrHairgreaserizen, how do i include templates in the commerce branch18:24
+MrHairgreaseshould I put them in the import node > shop fodler18:24
+MrHairgreaseand then export that as a package?18:25
@rizensounds good to me18:26
@rizenthat's what i've been doing18:26
+MrHairgreasei should replace the shopping-cart-collateral-items-1.wgpkg package with the new one?18:27
@rizenyes18:29
+MrHairgreaseok18:29
+perlDreamerrizen: http://webgui.pastebin.com/m673a6b3e18:29
+perlDreamerwill it complain about ""?18:32
@rizenno18:33
@rizenthat's fine18:33
@rizenr u still getting "Data Error" then?18:33
+perlDreameryes18:33
@rizencheck in your code18:33
@rizenand i'll take a look18:33
+perlDreamerit's in18:34
+perlDreamerand that new pastebin is the JSON it makes18:34
@rizenhave you looked at the resulting javascript18:42
@rizento ensure that your various sprintfs are working as planned?18:42
@rizenalso, are you doing this in a mozilla browser?18:42
@rizenif so, did you look at the javascript console to see if it's reporting any errors?18:42
@rizenon last thing18:43
@rizenyou aren't loading the javascripts in the right order18:43
@rizenthe order i have them in in the transaction stuff is the order they must be loaded18:43
@rizenfor example, datasource uses json18:44
@rizenbut you have json loading after datasource18:44
@rizenalso, why are you loading yahoo-dom-event and element beta separately, rather than just using utility18:45
perlmonkey2Okay, I must be retarded, but could someone save me some time on searching (if I don't have the survey done by Friday we lose a grant from sandia labs).  I've changed from using my own comm object for passing back form data, to using the built in comm object inside the dialog object (it is just sexy).  But I'm not seeing my parameters being passed back to WG.  My www_method is being called, but I can't get the POST fields out of ses18:45
@rizenif you can't get the post fields out18:46
@rizenthen they aren't being posted18:46
@rizensimple as that18:46
CIA-22WebGUI: colin * r5901 /branch/WebGUI_Commerce/ (4 files in 3 dirs): Get rid of buildDataTableStructure.18:46
CIA-22WebGUI: colin * r5902 /branch/WebGUI_Commerce/lib/WebGUI/Shop/Tax.pm: numerify the taxRate for making JSON18:46
+perlDreamerrizen: that's from one of the DataTable examples18:48
+perlDreamerI'll try loading JSON first, before DataTable18:48
@rizeninteresting18:50
@rizeni've had a bunch of problems with calling scripts out of order 18:51
+perlDreamergenerated JS using sprintf looks fine18:51
+MrHairgreaseok i commited my stuff18:51
+perlDreamerscripts out of order18:51
+perlDreamernow it works fine18:51
+perlDreamerI so do not understand JS18:52
@rizenjavascript isn't forgiving of out of order execution18:52
@rizenfunction has to be declared higher up in the script if it's going to be used18:53
@rizenmoduels have the be loaded in order of use18:53
@rizenetc18:53
@rizenperlmonkey2 i'd probably try to do something simple outside of webgui with the new sexy object that you're working on to verify that you're using it correctly18:54
@apeironAnd be careful not to load things twice, and don't put commas at the ends of arrays / hashes. :)18:54
+perlDreameryeah, I knew about commas, but sheesh18:54
+perlDreamerIt's touchy18:54
@rizenperlmonkey2: also have you tried using any of yui's debugging things like: http://developer.yahoo.com/yui/logger/18:54
@apeironWe're spoiled by perl.18:54
perlmonkey2rizen: I just had that same idea, but I'm trying to figure out how to expose the comm object in the dialog object.18:54
@rizenyou don't have to18:54
@rizenjust use the dialog outside of webgui too18:54
perlmonkey2rizen: yeah, in debug mode, the comm object isn't logging even the post.18:55
@rizenoh18:55
@rizenwell that's a problem18:55
@rizengoing to lunch, bbl18:55
perlmonkey2rizen: but there is a post, or at least the WG method is being submitted to....oh well, I'll finger it out :P18:55
perlmonkey2lunch....wtf.....where do my days go!  I need back these last 4 hours please.18:56
+perlDreamer4 hours.  I just spent 2.25 days debugging a JS script because the support scripts were loaded in the wrong order.18:56
perlmonkey2I guess you are having fun, or at least not bored, if you don't realize hours are flying by...not a bad way to live.18:56
perlmonkey2perlDreamer: oh man....my deepest sympathies.....that just sucks!18:57
perlmonkey2those are the errors that when you finally find them, just make you ill.18:57
+perlDreamerI guess the best lessons are hardest learned.18:57
+MrHairgreaserizen, when viewing the cart18:57
+MrHairgreasethe shipper is not stored in the cart18:58
CIA-22WebGUI: martin * r5903 branch/WebGUI_Commerce/ (9 files in 4 dirs): adding cash paydriver, paydriver management18:58
CIA-22WebGUI: martin * r5904 branch/WebGUI_Commerce/lib/WebGUI/Shop/PayDriver/Cash.pm: Put transactioon handling in the wrong place.18:58
+MrHairgreasein the stuff i just committed i 'fixed' this by having www_update also process shipperId and coupoinId18:58
+MrHairgreasebut this means that you first have to click on update cart before you can check out18:59
+MrHairgreaseif you don't do that you run into an exception18:59
+perlDreamerwhy in all the DataTable examples do they keep using "this.whatever"?19:05
CIA-22WebGUI: colin * r5905 /branch/WebGUI_Commerce/lib/WebGUI/Shop/Tax.pm: fix support library loading19:19
+MrHairgreaserizen: is there a method like readyForCheckout in Cart.pm19:20
+MrHairgreaseI need something like that to build in checks in the PayDrivers19:21
CIA-22WebGUI: martin * r5906 /branch/WebGUI_Commerce/lib/WebGUI/Shop/PayDriver/Cash.pm: Accidentaly committed hard coded from address for sending receipts. Fixed that, and made it configurable.19:35
@rizenMrHairgrease, the checkout, continue shopping, and update buttons all do the update before they do whatever else they do19:38
@rizenor at least they are supposed to19:38
-!- e-nforcer [n=opera@212.25.53.236] has joined #webgui19:38
-!- e-nforcer [n=opera@212.25.53.236] has left #webgui []19:39
@rizenMrHairgrease: no, why would there be? What purpose would readForCheckout serve?19:39
@rizenperlDreamer: this.whatever is $self = this19:39
@rizenthis is the same as $self19:39
SynQlaat maar19:43
SynQik migreer alle 5.5.4 wel op een andere manier19:43
+MrHairgreaserizen: I need to make sure we can even start with checkout which means the cart must have all its thingies set19:52
+MrHairgreaselike shipper is selected, cart has actual contents, shippingaddress is set19:52
+MrHairgreaseetc19:52
SynQhmm19:53
@rizenthat's what the checkout() method is supposed to do19:53
SynQhi there19:53
@rizenwww_checkout i mean19:53
@rizenwww_checkout makes sure you're logged in, that everything is filled out, etc19:54
@rizenthen displays the list of checkout options19:54
+MrHairgreaseoh 19:54
+MrHairgreasei see19:54
+MrHairgreaseok19:54
+MrHairgreasestill you have to check at payment time too19:54
@rizenwhy?19:55
+MrHairgreaseto prevent weird crap happening like reloads 19:55
+MrHairgrease remember this firbug reload thing19:55
+MrHairgreasei caused me to get a gazillion transactions19:55
@rizeni guess i'll have to take your word on it19:55
+MrHairgreasemost of which were actually empty19:55
+MrHairgreaseb/c the cart had been cleared already19:56
+MrHairgreasenow people can reload their pages19:56
+MrHairgreaseor do other stuff they;re not supposed too19:56
+MrHairgreaseso you wanna check 19:56
+MrHairgreaseat least I guess I would19:56
@rizenok then, i guess you'll need to create some method that can be called at all those points then19:57
+MrHairgreaseok19:57
-!- perlDreamer [n=colink@pool-71-117-250-89.ptldor.fios.verizon.net] has quit [Read error: 110 (Connection timed out)]19:59
-!- perlDreamer [n=colink@pool-71-117-250-89.ptldor.fios.verizon.net] has joined #webgui20:23
-!- mode/#webgui [+v perlDreamer] by ChanServ20:23
+perlDreamerI have the power!20:23
SynQsnap20:24
+perlDreamerActually, the reverse flow of electrons was returned to the house.20:24
@preactionyou're hooked up to DC?20:25
@preactionis that another hippy, California thing?20:25
SynQtime to cook20:26
SynQman, upgrading old webgui sites is addictive20:26
+perlDreamerSynQ: Are there still just two people living in your house, or have you upgraded?20:26
SynQtwo people and a dog20:27
SynQnature cannot be coerced20:28
+perlDreamernor hastened20:28
CIA-22WebGUI: martin * r5907 /branch/WebGUI_Commerce/lib/WebGUI/Shop/Pay.pm: Added a check to force users to log in when checking out.20:32
-!- topsub [n=topsub20@97.66.185.250] has joined #webgui20:35
topsubI think i missed a step on installing WRE 0.8.3 on ubuntu. I am getting file path errors. Is the documentation for installing wre 0.8.3 up-to-date?20:36
topsubsadly i got it for windows perfect but ubuntu is giving me trouble20:37
@rizenMrHairgrease: just checked in some code that sets up the interface for payment processing20:39
@rizensee processPayment() and processTransaction() in PayDriver20:39
@rizentopsub, if you're looking in docs/install.txt in the wre distribution you downloaded20:44
@rizenthen yes it should be up today20:44
@rizento date20:44
@rizenif you're looking somewhere else, then i can't say for sure20:44
topsubon the webgui wiki20:46
topsubi go to the /data/wre/sbin dir and do "perl setenvironment.sh" and i get errors.. something like  Bareword found were operator expected at line 1 near /data/wre20:49
topsubon windows in IRC and working on other computer20:49
@rizenthats' cuz it's not a perl scrip20:50
@rizenit's a shell script20:50
-!- wgGuest37 [n=wgGuest3@97.66.185.250] has joined #webgui20:50
CIA-22WebGUI: jt * r5908 /branch/WebGUI_Commerce/lib/WebGUI/ (7 files in 4 dirs): add payment processing interface20:50
CIA-22WebGUI: jt * r5909 /translations/Polish/ (Polish.pm Polish/Asset_Thingy.pm Polish/Asset_Poll.pm): update_from_translation_server20:50
CIA-22WebGUI: jt * r5910 /branch/WebGUI_Commerce/lib/WebGUI/Shop/ (PayDriver.pm Transaction.pm): a little streamlining20:50
@rizenand i can't help you with the webgui wiki, that documentation is contributed by users20:50
CIA-22WebGUI: colin * r5911 /branch/WebGUI_Commerce/lib/WebGUI/Shop/Tax.pm: delete a row of tax data from the UI20:50
@rizenyou should read docs/install.txt as it is the *official* documentation for the wre20:51
@rizeninstall process20:51
topsubrizen. oh ya.. i run it like .setenvir...sh20:51
@rizenand if you need more detailed docs, then consult the WebGUI Admins Guide20:51
topsubthen i do perl wreconsole.pl and can't read the config file.  No config files are in /data/wre/etc20:52
@rizenMrHairgrease: one other thing www_checkout (or your new custom method) should also check the handlesRecurring() method of each of the payment gateways if any of the items in the cart returns 1 for the isRecurring() method20:54
SynQtopsub, perhaps I can help you20:54
SynQyou've extracted the wre.tgz in /data20:54
topsubcorrect20:54
SynQyou have created a webgui user20:55
SynQand corresponding group20:55
SynQyou have chown -R webgui:webgui /data/wre 20:55
SynQand then you go into /data/wre/sbin20:55
SynQand issue . setenvironment.sh20:55
SynQyou can check if that has worked for you by issuing perl -V | grep wre20:56
SynQit should report some paths like /data/wre/prereqs/....20:56
SynQdoes it?20:56
@rizensynq is right, this sounds like a permissions problem20:56
@rizenwreconsole.pl will create the config files in /data/wre/etc if it has privileges to write there20:56
SynQI don't know if it is a permissions problem20:57
SynQand I agree that the wiki documentation is a bit 'verbose' as in there is a lot of text but not all is very clear20:57
SynQtopsub: did you chown the data/wre ?20:58
topsubtrying to add the "webgui" user now20:58
SynQwhat wiki page are you using?20:58
topsubi am in the docs/install.txt20:59
-!- dionak [n=diona@97.66.185.250] has joined #webgui20:59
SynQok20:59
topsubi am doing. " sudo adduser -sytem /sbin/nologin webgui" and it tells me "adduser: Specify only one name in this mode."21:00
topsubtrying to debug that now21:00
SynQuh21:00
SynQI think you've missed a - 21:00
SynQ--system21:00
-!- dionak [n=diona@97.66.185.250] has left #webgui []21:01
topsubdid that and got same error 21:01
-!- dionak [n=diona@97.66.185.250] has joined #webgui21:01
SynQhmm21:01
SynQwhat ubuntu version are you using21:02
topsub7.1021:02
SynQsudo adduser --system --no-create-home webgui21:02
SynQthat should do it21:02
topsubyep21:03
topsubyou the man! 21:03
topsubno i can go try the set evvir21:03
SynQno21:03
SynQfirst you have to chown -R webgui.webgui /data/wre21:04
topsubdo i need chown -R webgui:webgui /data/wre?21:04
topsubk21:04
topsubinvalid group21:04
topsubit added new user 21:05
SynQoh21:05
topsub'webgui' with group 'nogroup'21:05
SynQthat is ok too21:05
topsubso guessing have to use "webgui:nogroup"?21:05
SynQfor example21:06
SynQok, gotta go21:06
SynQdinner is served21:06
SynQIf you still get stuck21:07
SynQdo post to the discussion board on webgui.org21:07
topsubk21:07
+perlDreamerrizen: looking for a delete icon.  $session->icon->delete has a whole bunch of other stuff.  Do you have any suggestions, or should I just build a path into the icon dir myself?21:10
@rizenI would just use a text link with the word delete21:11
@rizenI'm sort of moving away from icons for that sort of stuff21:11
@rizenlinks render faster (nothing to download), and are translatable21:11
+perlDreamerOkay.  How come?21:11
+perlDreamergood points21:11
CIA-22WebGUI: jt * r5912 /branch/WebGUI_Commerce/lib/WebGUI/Shop/PayDriver.pm: added handlesRecurring()21:16
CIA-22WebGUI: colin * r5913 /branch/WebGUI_Commerce/lib/WebGUI/Shop/Tax.pm: reorder js libraries to get rid of warnings21:16
-!- wgGuest37 [n=wgGuest3@97.66.185.250] has quit [Remote closed the connection]21:18
perlmonkey2Oh, the YUI's sexy just doesn't end!  I've moved all my forms over to dialogs and now they are just too slick.  I'll be able to pack the survey editor inside a processStyle call without any problems with spacing.21:30
perlmonkey2It will feel like any other wobject fitting nicely in the overall GUI.  And YUI made it take like 20 minutes to do it all.21:31
perlmonkey2Oh, in case I wasn't clear, YUI RAWKS!21:31
CIA-22WebGUI: colin * r5914 /branch/WebGUI_Commerce/lib/WebGUI/ (i18n/English/Tax.pm Shop/Tax.pm): finish delete UI21:32
+perlDreamerrizen: delete's done :)21:32
+perlDreamerNow I'm working on export/import21:32
topsubyou can't sudo . setenvi...sh 21:33
topsubthat wasn't working, once i became root and did that everything worked21:33
@rizenpm2: i agree with you completely. it's making rebuilding the EMS a snap21:33
@rizenpd: kewl. btw. i hope you didn't take off the day to just work on commerce stuff. that is unless you're just really bored at work.21:34
-!- dionak [n=diona@97.66.185.250] has quit [Remote closed the connection]21:40
+perlDreamerit was a 50/50 proposition21:44
+perlDreamerI played 3 church services over the weekend and I don't have the patience to deal with normal everyday work crud21:44
+perlDreamerand, I'm behind where I want to be on tax, so I set up a day of couch and commerce time21:45
@rizeni see21:46
@rizeni am totally appreciative21:46
@rizenthe more you and mrhairgrease  do the less i have to do, so thank you21:46
+perlDreameryou're welcome21:46
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has quit [Read error: 110 (Connection timed out)]21:48
-!- topsub [n=topsub20@97.66.185.250] has quit []21:52
-!- bopbop [n=kmccombs@71-82-214-154.dhcp.mdsn.wi.charter.com] has joined #webgui22:01
bopbopperlmonkey2: did you really have a pet squirrel? and did you really try to take him on a plane? I can't tell if this is serious in your interview... 22:05
perlmonkey2bopbop: Unfortunately, the squirrel story is a complete fabrication.  I was angling for humorous, but sometimes I don't quite make it. 22:08
bopbopoh, it made me chuckle, I was just wondering if it was real... 22:08
+perlDreamerSynQ: I have not tried to get the small calendar template into the core22:13
SynQah22:14
SynQok22:14
SynQtoo bad22:14
+perlDreamerDo you think I should?22:14
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has joined #webgui22:17
-!- mode/#webgui [+v MrHairgrease] by ChanServ22:17
+MrHairgreaserizen: indeed. I'm gonna build that into getOptions too22:18
CIA-22WebGUI: colin * r5915 /branch/WebGUI_Commerce/lib/WebGUI/Shop/Tax.pm: export tax data works in the UI22:35
-!- SDuensin [n=Scott@125.sub-75-205-150.myvzw.com] has quit ["Leaving"]22:53
+perlDreamerrizen: I need a little UI magic.22:55
+perlDreamerexport and import work, but they're ugly22:55
@rizenhow can i help?22:56
+perlDreamerI'm not sure what/how to make it look better.22:56
+perlDreamerI'm thinking of inlining the two buttons and making them different colors22:56
+perlDreamerif you update, and then do ?shop=tax;method=manage you'll see what I'm talking about22:57
@rizeni don't need to resetdev do i?22:57
@rizenreally don't want to do that right now22:57
+perlDreamerno, don't need to resetdev22:57
+perlDreamerjust restart the server22:58
@rizenegg salad22:58
CIA-22WebGUI: colin * r5916 /branch/WebGUI_Commerce/lib/WebGUI/ (i18n/English/Tax.pm Shop/Tax.pm): import tax data22:58
+perlDreameris "egg salad" good?22:58
@rizenegg salad = excellent22:59
@rizeni'd definitely do an extras=>'' to get rid of the green23:01
+perlDreamerokay, ungreened.23:01
@rizenyou could also do a extras=>q|style="float: left;"| on the import button if you want the other one to float up next to it23:02
@rizenother than that, it looks fine to me23:03
@rizenand honestly, even as it is it looks fine to me23:03
@rizenit is just a tax table manager after all23:04
@rizenam i missing something?23:04
@rizeni see no edit or add options23:05
+perlDreamerAdd is TBD.23:05
@rizenok23:05
@rizeni *love* datatable23:06
@rizenit makes me look cool23:06
@rizenwell not me...but makes webgui look cool23:06
SynQhow hard would it be for the WebGUI irc bot to display the subjectline in the channel when a new post has been made on the discussion board?23:06
+perlDreamerpretty easy, since GooeyOfSteel does it for the wiki23:06
@rizenperlDreamer: feeling any more comfortable around yui yet? or still cowering in a puddle of piss in the corner?23:07
SynQok23:08
SynQI'd love that to be implemented23:08
@rizentalk to nuba23:08
@rizenhe's the maintainer of GooeyOfSteel23:08
+perlDreamermuch cowering going on, along with miscolored buttons and bad alignment23:08
@rizenyou'll get used to it23:09
@rizenthe power of yui is so worth overcoming the obstacle of learning javascript23:09
+MrHairgreasein the Netherlands bad buttons hav misaligned colors23:09
SynQnuba, this one is for you: http://www.plainblack.com/rfe/request-for-enhancement/irc-bot-post-subjectlines-on-webgui-irc-channel23:10
CIA-22WebGUI: colin * r5917 /branch/WebGUI_Commerce/lib/WebGUI/Shop/Tax.pm: align and uncolor buttons23:19
+perlDreamerrizen: for add, I see where it is possible to add info to the data table, but I don't see how to add form fields to the table.  Should it be done outside the table?23:21
@rizenThat's fine by me.23:22
@rizenjust use a standard WebGUI::HTMLForm23:22
+MrHairgreaserizen: just ran into a funny situation. If you view the cart as visitor and add an address, checkout, login as a user, the address book obviously changes and an exception gets thrown that 'Address is not in this address book'23:33
+MrHairgreasethis is of course a bug, but i'm not sure how to fix that23:34
@rizeni'm not sure my whole address book functionality is working properly right now anyway23:36
@rizeni mean it is23:36
+MrHairgreaseit's not a bigiie23:36
@rizenbut there's a merge operation that it's supposed to do23:36
@rizenand i don't think that's working23:36
@rizenif it were, then that wouldn't be a problem23:36
+MrHairgreasei just thought i'd let you lnow23:36
@rizenthank you23:36
+MrHairgreaseindeed23:36
+MrHairgreaseyou said CartItem should have a isRecurring method rioght?23:37
+MrHairgreaseb/c it hasn't =)23:37
@rizennot cart item23:39
@rizenskus do23:39
@rizenso you do $item->getSku->isRecurring23:39
+MrHairgreaseoh right23:39
+MrHairgreaseI'm prolly on drugs23:39
+MrHairgreasethanks23:39
@rizenyou are from holland after all23:39
+MrHairgreaseyeah23:39
+MrHairgreaseliving up to expectations i guess23:40
+MrHairgrease=)23:40
@rizeni would say that everyone that i know from holland is above average compared to the americans that i know23:40
@rizen=)23:40
@rizenhowever, i know a lot more americans so it probably would average out if i knew more people from holland23:41
@rizen=)23:41
+MrHairgreaseno23:41
+MrHairgreasewe're all that smart23:41
+MrHairgreaseand handsome23:41
+MrHairgreasebtw. i also added requiresRecurringPayment to Cart.pm23:41
+MrHairgreaseb/c i need that in multiple places too23:42
@rizengood idea23:42
+MrHairgreaseare the items cached btw?23:42
+MrHairgreaseb/c else all the getItems calls will add up pretty quickly23:42
@rizenno, but i probably need to add a cache to the getItem method in $cart23:42
+MrHairgreaseok23:42
@rizenyes they will23:42
+MrHairgreasewell we can cache it anytime23:42
+MrHairgreasefor now it works =)23:43
@rizenit's a lot of calls, but it's also hella powerful23:43
@rizeni mean, the ability for the things in the cart to look at other things in the cart and make decisions23:43
@rizenas well as things outside the cart to do that23:43
+MrHairgreaseyeah i understand23:43
+MrHairgreaseanyway, when it's cart view time it doesn't matter that much anymore since that not highbandwith23:44
@rizenexactly what i was thinking23:45
+perlDreamerwe should build a sku that kicks out other items in the cart.  "There can be only 1!"23:46
@rizenthe ems has skus that do that23:47
+MrHairgreasethat's for the next acme session23:47
@rizenbut you're not doing acme this year are you?23:47
+perlDreamerThink about selling sets.  You add one item to the set, and it autoadds other required components for you.23:47
@rizenone of the ems skus does something similar to that too23:49
@rizenif you remove a badge, and there are other items in the cart that are related to that badge23:49
@rizenit removes all of them23:49
@rizenbut yeah, it would be cool if you could add a radio controlled car to your cart23:50
@rizenand it says...hey i need some batteries23:50
@rizenand adds those too23:50
@rizenor you buy an expansion for a game, and it says...you can't play me without the original and adds that23:51
+MrHairgreaserizen, perldreamer: did any of you do something to transaction.pm?23:52
+perlDreameryes23:52
@rizenyes23:52
+perlDreamerI changed how getJson was made23:52
+MrHairgreaseb/c compltePurchase does not complete the cart anymore23:52
@rizenright23:52
@rizenprocessTransaction() in PayDriver does that23:53
@rizenthat's what i was telling you about this morning23:53
+MrHairgreaseok i'll investigate23:53
+MrHairgreaseOk, I committed my latest stuff23:55
+MrHairgreaseit works but will not clear the cart b/c of the processTransactuon thing 23:56
+MrHairgreasewill fix that tomorrow23:56
-!- MrHairgrease is now known as MrAfkGrease23:56
+perlDreamerwhy it it that old thermoses make great sci-fi props?23:56
CIA-22WebGUI: martin * r5918 branch/WebGUI_Commerce/lib/WebGUI/Shop/ (PayDriver/Cash.pm Cart.pm Pay.pm): Added check for cart completeness and recurring payments.23:58
--- Day changed Tue Mar 25 2008
-!- bopbop [n=kmccombs@71-82-214-154.dhcp.mdsn.wi.charter.com] has quit []00:00
+perlDreamerHow's the Dev Guide coming, rizen?00:00
@rizenhaven't worked on it00:10
@rizenin a while00:10
@rizenthere are a couple more chapters waiting for me to write00:10
@rizenbut the commerce stuff is more important00:10
@rizeni'm thinking that i might just wait until july to publish it00:10
@rizenand then cover the commerce api's in it00:10
+perlDreamergood idea!00:13
+perlDreamerYou could intro it at the WUC00:17
@rizenindeed00:18
@rizenok, gotta go get dinner. i'll be on later tonight.00:19
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI00:26
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 113 (No route to host)]00:32
-!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"]00:44
CIA-22WebGUI: colin * r5919 /branch/WebGUI_Commerce/lib/WebGUI/ (i18n/English/Tax.pm Shop/Tax.pm): add tax UI00:59
-!- MrAfkGrease [n=martin@x032124.its-s.tudelft.nl] has left #webgui []01:02
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui01:48
-!- mode/#webgui [+o preaction] by ChanServ01:48
SynQI just whish I was a better programmer02:04
SynQhttps://www.plainblack.com/bugs/tracker/upgrading-from-7_3_8-7_3_9-cant-locate-object-method-recalculaterating02:05
SynQI'm glad that 7.3.9 isn't years old, so now I dare ask these kind of questions again02:05
SynQI hope it is documented well enough02:06
+perlDreamerthat's pretty good documentation for a bug02:24
+perlDreamerwant to try fixing it with me?02:24
SynQsure02:33
SynQI'd love to02:33
+perlDreameryou were upgrading to 7.3.22?02:33
SynQI was02:33
SynQI've been upgrading all kinds of sites all day02:34
SynQand most of them just strolled along nicely02:34
+perlDreamerthis sucks02:35
+perlDreamerIf this is right, a thread has another thread as its parent02:35
SynQall bugs suck02:35
+perlDreamerit's supposed to have a CS as a parent02:35
SynQah02:35
SynQyou want me to issue some nice sql queries?02:35
+perlDreameryeah, but I need to figure out what they are, unless you want to give it a crack.02:36
SynQIf you can tell me what you are looking for02:36
SynQeven more info: the original install was 6.7.402:37
+perlDreamerwell, we need the parent assetId of every thread.  We want to know it's class02:37
SynQthat is in which table?02:37
+perlDreamereverything is in asset.02:38
+perlDreamerlineage, parentId, className02:38
SynQah02:38
+perlDreamersomething like select assetId from asset where className='WebGUI::Asset::Post::Thread' and class of parent != WebGUI::Asset::Wobject::Collaboration02:39
SynQthere are 132 rows in asset02:39
+perlDreamerthat's it?02:40
+perlDreamersmall site02:40
SynQyea02:40
SynQit is02:40
SynQbut I'm glad02:40
SynQthere are only two rows in asset that have got classname WebGUI::Asset::Wobject::Collaboration02:42
SynQone has parentId 5wLcVYk4OI4nMIqMWMgnKw02:43
SynQthe other has parentId IA5IIpEdmlJUdhYEZ34QYg02:43
SynQboth of these parents have WebGUI::Asset::Wobject::Layout as classname02:44
+perlDreamerclose, we need the same analysis for Threads, not for CS'es02:44
SynQah02:45
SynQand threads are also in asset?02:45
+perlDreamerselect a.assetId as me, b.assetId as parent from asset as a inner join asset as b on a.assetId=b.parentId where a.className='WebGUI::Asset::Post::Thread';02:45
+perlDreamerall assets have "core" asset data in asset02:45
SynQah02:46
SynQthat query reports 39 rows02:47
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)]02:48
+perlDreamerselect a.assetId as me, b.assetId as parent from asset as a inner join asset as b on a.assetId=b.parentId where a.className='WebGUI::Asset:Post::Thread' and b.className != 'WebGUI::Asset::Wobject::CollaborationSystem';02:48
SynQhttp://webgui.pastebin.com/d54fb119502:48
SynQthat last query gives back an empty set02:49
+perlDreamerI also searched the site, and it says cryptically "read gotcha.txt"02:49
+perlDreamerhttps://www.plainblack.com/install/upgrade_help/updating-6_8_10-to-7_1_3-gives-cant-locate-object-method-recalculaterating/102:49
SynQyea02:49
SynQJT says that02:49
SynQhey02:50
SynQit's ten to 2 in the middle of the night02:50
SynQI'm going to get some sleep02:50
+perlDreamerg'night02:50
SynQyou want to spend some more time on this in let's say about 8 or 9 hours?02:51
+perlDreamerwhat will be 2:00am my time02:51
SynQah02:51
SynQI see02:51
+perlDreamermuch more likely to be around in 14 hours02:51
SynQok, that's a good time02:51
+perlDreamerhere's another URL to check out02:51
+perlDreamerhttps://www.plainblack.com/bugs/tracker/upgrade-from-7_3_8-to-7_3_902:51
+perlDreamerfor tomorrow02:51
SynQthat 4 in the afternoon with us02:51
SynQah thanks02:51
SynQnite02:51
+perlDreamerrizen: we can tell the DataTable to do the number switching for us03:06
+perlDreamerin the responseSchema for the DataSource, we just tell it to convert to whatever we want03:06
+perlDreamer{key:"age", parser:YAHOO.util.DataSource.parseNumber},03:06
+perlDreameryes!03:11
+perlDreamerscrew you, javascript03:11
+perlDreamernow, will that work with the other fields, too?03:11
@rizenwe can?03:22
@rizenoh sweet03:22
+perlDreamerI'm starting to like YUI03:24
+perlDreamerbut only a little bit03:24
@rizenwow that didn't take long03:24
@rizenwas it just because of parseNumber?03:24
+perlDreameryes03:25
+perlDreamerdo you know at one point that there was a perl plugin for netscape?03:25
@rizenno03:26
@rizenthat's awesome03:26
@rizentoo bad that tradition didn't continue03:26
+perlDreamerI know.03:26
+perlDreamermaybe parrot will do better03:26
@rizenwe'd be able to do a lot more cool shit with browsers03:26
+perlDreamerbut Microsoft would never put a parrot plug-in into IE03:26
@rizenthere is precedence for something becoming popular despite microsoft's objections03:27
@rizentake flash for example03:27
+perlDreamertrue03:27
@rizenit's all just a matter of someone coming up with a killer app for something03:27
+perlDreamerwell, for Tax we now have add, delete and import and export03:28
@rizennice03:28
@rizensounds like you're done03:28
+perlDreameryup03:28
@rizenunless you want to add edit03:28
+perlDreamerI might need some help with the YUI code for that03:28
+perlDreamerthe DataTable does handle inline editing of data, natively03:28
@rizenyeah, i haven't done that either03:28
@rizenright now i'm working on building my own custom data source03:29
@rizencuz i'm making the EMS all YUIized03:29
+perlDreamerCustom data source?03:29
+perlDreamerlike not XML, JS or JSON?03:29
@rizenso you can add tickets, ribbons, and tokens to your badge without refreshing the page03:29
@rizenno..it's json.03:29
@rizeni'm not creating a new data source class03:30
@rizeni'm making a data source object03:30
+perlDreamerokay03:30
@rizenthat handles the badge data03:30
@rizenhey perlDreamer, i'm sitting outside for twelve hours hand pumping water03:30
@rizen=)03:30
+perlDreamerYou're a funny man, rizen.03:31
+perlDreamerI knew you weren't outside :)03:31
+perlDreamerI need one of those G'ould hand devices for giving people headaches.03:31
@rizenso was your day off worth it?03:31
+perlDreamereasily03:31
@rizenglad to hear it03:32
+perlDreamerI don't know if I told you this, but I'd originally planned on Learning JS in February and March03:33
+perlDreamernot I'm getting a crash course03:33
@rizenyou said something about it03:33
@rizendidn't know if you did or not. but yui makes it easy to want to pick it up 03:33
CIA-22WebGUI: colin * r5920 /branch/WebGUI_Commerce/lib/WebGUI/Shop/Tax.pm: Ask YUI to parse strings as numbers in the Tax module.03:33
@rizencuz it gives you a lot of powerful toys03:33
+perlDreamerif only it was tolerant of trailing commas...03:34
@rizenif only it were perl03:34
+perlDreameramen, brother!03:34
@rizen=)03:34
@rizenhonestly though, it's close enough to make the transition fairly easy03:35
@rizenat least it has perl-like regex and hashes03:35
+perlDreameryes03:35
@rizencan't stand working with languages that don't have both of those03:35
@rizenwhich are mostly older languages these days03:35
@rizenthe newer ones have those concepts03:36
+perlDreameryeah.  python and ruby have them03:36
+perlDreamerI wonder if Smalltalk and Haskell do?03:36
@rizenlast time i worked with VB it didn't have them03:36
+perlDreamerwant to see something weird?03:36
+perlDreamerhttp://webgui.pastebin.com/d54fb119503:37
+perlDreamerthat's some data from a Procolix site03:37
+perlDreamernote rows 14 and 1503:37
@rizendoes he have a broken index03:38
@rizencuz that's what it looks like03:38
+perlDreamercould be03:38
+perlDreamerthat's the result of a self join on asset, looking for parents03:39
+perlDreamerselect a.assetId as me, b.assetId as parent from asset as a inner join asset as b on a.assetId=b.parentId where a.className='WebGUI::Asset::Post::Thread';03:40
+perlDreamerI wrote it myself.03:40
@rizenthe more i play with ruby the less i like it03:55
+perlDreamerThere's a guy at work who really likes it.  Says it fixes all of perl's problems.03:59
+perlDreamerBut I don't see enough perl problems to want to move :)03:59
+perlDreamerbtw, who is making Shop icons?03:59
@rizensteve is03:59
@rizeni don't see any perl problems that it fixes03:59
@rizenin fact, i hate that it doesn't allow me to use braces04:00
+perlDreameris it like python?04:00
@rizenand what i hate more is that though it allows semicolons at the end of lines, NOBODY USES THEM!!!04:00
@rizenno, it's not indentation that determines the block04:00
@rizenthey at least have keywords for it04:00
@rizenso you do something like:04:01
@rizenif (1)04:01
@rizenputs "the value was 1";04:01
@rizenelse 04:01
@rizenputs "the value was not 1"04:01
@rizenend04:01
@rizenso end is the keyword04:01
@rizenthat closes the block04:01
@rizenif starts the block04:01
@rizenand that's pretty much true for everything, loops, etc04:02
@rizenloops, subs, conditions04:02
@apeironIn other words, it fails at Huffman coding. :)04:02
+perlDreamermiserably04:02
@rizenoh...and the other thing i hate besides the fact that no one uses semicolons04:02
@rizenis that no one actually puts parens around their conditionals04:03
@rizeneverybody types crap liek  if somevariable == someothervariable04:03
@apeironer04:03
@rizenbut i think that the parens aid in readability04:03
@apeironHate to break it to you...04:03
@apeironBut get used to it...04:03
@apeiron'cause that's where perl6 is going. :)04:03
@rizenbut perl6 still uses braces for blocks04:04
+perlDreamerIn verilog, you have to use 'begin' _and_ 'end'.04:04
@rizensee it's not that ruby is flawed in my opinion04:04
@apeironTrue, but no parens around the conditionals.04:04
@rizenit's that the programmers who use and teach ruby are flawed04:05
@rizenabout the only thing that ruby fixes compared with perl as far as i'm concerned is that subs have named parameters04:05
+perlDreamerI have failed miserable in getting YUI to parse pagination metadata as numbers when sent as strings.  Only table data seems to work.04:05
@rizenwhich perl6 also has04:05
@apeironAnd which you can get with perl5 if you use one module or another. Or just hashrefs. :)04:06
CIA-22WebGUI: colin * r5921 /branch/WebGUI_Commerce/lib/WebGUI/Shop/Tax.pm: 04:11
CIA-22WebGUI: Further testing showed that pagination metadata won't parse as04:11
CIA-22WebGUI: strings.04:11
+perlDreamernow that we're not shipping user docs with WebGUI, do we need to write wiki entries for C2?04:44
@rizennot as far as i'm concerned..but if you want to you're welcome to04:44
@rizenwe'll be putting out a new book this summer on the commerce features04:44
+perlDreamercool04:48
+perlDreamerthere's a lot of hidden details in here04:48
+perlDreamerlike sorting the datatable, import erases old data, and so on04:49
@rizencertainly04:49
@rizenthat's going to be true of the entire commerce system04:49
@rizeni'm starting to hate yui04:50
@rizenhehe04:50
+perlDreamerjust because I'm starting to like it?04:50
@rizenjust kidding, but data sources are giving me some pain04:50
+perlDreamerbtw, I may have a sorting/keyword bug in the Data Table04:50
+perlDreamerIf you're on page that isn't the first page, and search by keywords, I keep getting that "there are no records available"04:51
+perlDreamermaybe when we search by keywords it should reset the page offset to 104:52
+perlDreamerhm, it already does that04:52
+perlDreamerbut the DataTable paginator may not know that04:52
@rizeninteresting...you may want to report that tot the yahoo peeps if you can come up with a way for them to replicate it04:53
+perlDreamerI think it's actually a problem we created04:55
+perlDreamerwe changed the pagination without telling the paginator04:55
+perlDreamerit thinks it's still on page 3, when it's really on page 104:55
+perlDreameronce I get full column sorting working, I'll try it next04:55
+perlDreamerand then inline editing04:55
@rizenoh i see04:58
@rizenso you think the paginator doesn't automatically update when the data set is refreshed?04:59
+perlDreameryes, that's my guess05:00
+perlDreameryou can try it if you wish05:00
+perlDreamerupdate, then load the largeTaxTable from t/supporting_collateral/taxTables05:00
+perlDreamerkeywords = "Los Angeles"05:00
+perlDreameractually, go to page 3, then keywords="Los Angeles"05:00
+perlDreamerIt will say "No records found"05:02
+perlDreamerClick on page 1, see no data05:02
+perlDreamerclick on page 3 (where we started) and there's data05:03
@rizeninteresting..i could have sworn i tested that when i did the transaction table05:04
+perlDreamerWell, it _couldn't_ be anything that I've done :)05:14
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."]05:15
@rizenwow: http://www.satyam.com.ar/yui/05:35
@rizeni really like the drag and drop example05:36
+perlDreamerand his server side sorter/paginator works05:39
+perlDreamerunlike mine, based on the direct YUI example05:39
@rizeni'm going to have to give up the ghost here05:48
@rizeni just can't make this data source work05:48
@rizenperhaps things will be better in the morning05:49
@rizennite pd05:49
+perlDreamergood night, jt05:49
CIA-22WebGUI: colin * r5922 /branch/WebGUI_Commerce/lib/WebGUI/Shop/Tax.pm: committing broken server-side sorting/pagination code for more debug tomorrow06:17
-!- perlDreamer [n=colink@pool-71-117-250-89.ptldor.fios.verizon.net] has quit ["Leaving."]06:32
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui06:45
-!- mode/#webgui [+o preaction] by ChanServ06:46
-!- Haarg [n=haarg@66-168-19-128.dhcp.mdsn.wi.charter.com] has joined #webgui06:58
-!- mode/#webgui [+o Haarg] by ChanServ06:58
-!- ryuu_ro [n=rory@194.171.50.69] has joined #webgui09:10
-!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has quit ["Windows doesn't have users, it has hostages."]10:03
-!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has joined #webgui10:03
-!- mode/#webgui [+v Radix_] by ChanServ10:03
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)]10:26
-!- BartJol [n=plainstu@194.171.50.123] has joined #webgui11:17
-!- Haarg [n=haarg@66-168-19-128.dhcp.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"]11:28
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui11:39
SynQmogge11:47
BartJolhi11:47
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has quit ["Leaving"]13:16
-!- BartJol [n=plainstu@194.171.50.123] has quit [Read error: 113 (No route to host)]13:56
-!- BartJol [n=plainstu@194.171.50.123] has joined #webgui13:58
-!- SDuensin [n=Scott@55.sub-75-204-199.myvzw.com] has joined #WebGUI14:55
SDuensinMorning.15:01
SynQmorning!15:10
SynQeureka!15:10
SynQI fixed it15:10
SynQI hereby proclaim myself a bugs from the past finder hero15:10
SynQhttp://www.webgui.org/bugs/tracker/upgrading-from-7_3_8-7_3_9-cant-locate-object-method-recalculaterating15:10
SynQfixed15:11
SDuensinCongrats.  I have no idea what you're talking about.  :-)15:15
SDuensinBut dead bugs is good bugs!15:16
BartJoland a completed Dutch translation is available again15:19
CIA-22WebGUI: jt * r5923 /translations/Dutch/Dutch/ (7 files): update_from_translation_server15:32
-!- Haarg [n=haarg@66-168-19-128.dhcp.mdsn.wi.charter.com] has joined #webgui15:38
-!- mode/#webgui [+o Haarg] by ChanServ15:38
-!- Haarg [n=haarg@66-168-19-128.dhcp.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"]15:56
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui15:58
-!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui16:15
-!- mode/#webgui [+o Haarg] by ChanServ16:15
-!- lisette [n=liraos@201.232.58.66] has joined #webgui16:35
lisetteWhat are the parameters for WebGUI->Session->open()?16:37
lisettehello16:39
BartJoleh16:42
BartJolwebguiRoot, configFile [, requestObject, serverObject, sessionId, noFuss ]16:43
BartJolhttp://www.webgui.org/downloads/builds/7.4.29-stable/api/Session.html16:44
SynQhmm16:46
BartJollisette does that help?16:46
SynQcan an asset have multiple parents?16:46
BartJolask Haarg16:47
SynQhttp://webgui.pastebin.com/d3eb7d7f916:47
lisettewait16:47
SynQthat doesn't look to good to me16:47
-!- dapperedodo [n=dappered@194.171.50.69] has joined #webgui16:48
SynQJoeri: http://webgui.pastebin.com/d3eb7d7f9 can an asset have multiple parents?16:48
dapperedodoonly with different versions I think16:49
SynQhmm16:49
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."]16:51
SynQhttp://webgui.pastebin.com/d78ffc6dd16:53
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui16:53
SynQit's version 6.7.8 :)16:53
SynQhttp://www.theplacetostay.com/marc/images/old/elephant%20shit.jpg16:54
SynQwhy do I get that shitting elephant when I try to manage system trash?16:56
SynQoh and http://webgui.pastebin.com/d28940c1016:56
@rizencan i ask why you'd use such a query?16:58
dapperedodoYou must have hit an easteregg16:58
@rizenwhen you can simply do: select assetId,parentId from asset where className='WebGUI::Asset::Post::Thread'16:58
CIA-22WebGUI: jt * r5924 /translations/ (147 files in 3 dirs): update_from_translation_server16:59
SynQcolin thought it up form me16:59
@rizenwhat was it's purpose? what were you trying to find out from it?16:59
SynQok17:00
SynQlet me explain17:00
SynQI am in the process of upgrading everything I left hanging around to 7.4.2917:00
SynQand I stubled upon some 6.7.8 sites17:00
SynQnow in that version it was possible to copy a thread from a collaboration system17:01
SynQand put it somewhere else17:01
SynQbut I think it kept the same parentId17:01
SynQand that breaks things in the upgrade process17:01
SynQespecially at the point where you go from 7.3.8 to 7.3.917:02
SynQwhich I allready described in http://www.webgui.org/bugs/tracker/upgrading-from-7_3_8-7_3_9-cant-locate-object-method-recalculaterating17:02
SynQnow I solved the problem in one site by removing all (copy) of thread stuff in the way described in that bugreport17:02
SynQbut now I have a different site17:02
SynQand I can't figure out what is wrong there17:03
SynQwhat is more is that it is really slow since that site is much bigger and uses the RandomThread macro on about 10 submission systems17:03
SynQso I'm trying to understand what could be wrong with the asset hierachy but I think I just don't understand how that should work17:04
SynQin webgui 6.7.817:04
SynQoh and I think the sql query colin gave me is meant to show assets that have the same child or parent or something17:06
@rizenwell, unless your database is broken (corrupt indexes or something) you shouldn't be able to move a thread from one place to another and retain the parent id17:06
SynQah17:06
SynQI understand that17:06
@rizenhowever, you may have a broken lineage17:06
SynQbut does that hold true for version 6.7.8 ?17:06
@rizenyou should be able to steal the rebuildLineage.pl script from newer versions of webgui and use it on your old site17:07
@rizenyes, that holds true of any site since 6.317:07
SynQok17:07
SynQthat is a good starting point17:07
@rizenthe rebuildLineage.pl script will recreate the lineage for your assets from the assetId, parentId relationships17:08
@rizenand will also try to detect things like orphans and circular loops17:08
SynQCleaning up...OK17:08
SynQI've just ran rebuild lineage17:08
@rizenafter running it17:08
@rizendelete your cach17:08
@rizencache17:08
SynQI'm cleaning out cache now :)17:09
@rizenthe other thing i recommend doing (and i assume you have good backups) is to delete everything out of the trash for the sites you're trying to upgrade17:09
SynQah17:10
@rizenit will make the upgrade move faster17:10
SynQthat I was also trying17:10
@rizenand may also show other problems17:10
SynQand then I got the elephant17:10
@rizenwell then you have some corrupt assets in there17:10
SynQah17:10
SynQok17:10
SynQhow do I find those?17:10
@rizenunfortunately it's not an easy process17:10
@rizenlet me see if i can devise an sql query that will show them to you17:11
SynQoh that is not a problem17:11
SynQI left the 'easy' about two days ago17:11
SynQI am now in the hard part17:11
@rizenin the mean time, delete the items in the trash one at a time17:11
SynQok, but how17:11
@rizenif you get the shitting elephant then you found your culprit17:11
SynQthe normal trash is empty17:11
@rizenwhat about the system trash?17:11
@rizenor are you saying you can't even view the system trash17:12
SynQbut if I try to call Manage System Trash I get the shitting elephant17:12
SynQdirectly17:12
@rizenah17:12
SynQexactly17:12
@rizenok17:12
SynQthat I am17:12
@rizenthen let me see about getting you an sql query17:12
SynQok17:12
SynQah wait, I get the 'system trash' window for just a second and then it immediately redirects me to the shitting elephant17:13
SynQselect * from asset where state='trash'; gives me 489 rows :)17:14
SynQ select * from asset where state='trash' and className='WebGUI::Asset::Post::Thread'; gives me 202 rows17:16
SynQselect count(*) from asset; gives me 1122817:17
SynQquite a nice site though :)17:17
@rizentry this for me:17:18
@rizenselect asset.assetId,count(assetData.assetId) as assetCount,count(wobject.assetId) as wobjectCount from asset left join assetData on asset.assetId=assetData.assetId left join wobject on asset.assetId=wobject.assetId group by asset.assetId having wobjectCount > 0 and assetCount<>wobjectCount;17:18
@rizenif your site is in perfect form, it should give you zero results17:18
@rizenthis one is just for wobjects, it won't work for threads17:19
@rizenwriting another for threads17:19
SynQok17:19
SynQthat one gives an empty set :)17:20
SynQso that is good17:21
@rizennow try:17:23
@rizenselect asset.assetId,count(assetData.assetId) as assetCount, count(Post.assetId) as postCount, count(Thread.assetId) as threadCount from asset left join assetData on asset.assetId=assetData.assetId left join Post on asset.assetId=Post.assetId left join Thread on asset.assetId=Thread.assetId where asset.className='WebGUI::Asset::Post::Thread' group by asset.assetId having assetCount<>threadCount or postCount<>threadCount;17:23
SynQah17:23
SynQthat also gave an empty set17:23
@rizenyou know i should probably test these to make sure they work17:24
@rizengive me a sec17:24
SynQok :)17:24
@rizencrap, those queries don't actually work17:27
@rizentrying again17:28
SynQok17:28
SynQI'll wait in patience17:28
@rizenok this one works for wobjects, tested and everything:17:31
@rizenselect assetId, (select count(assetId) from assetData where assetData.assetId=asset.assetId) as assetCount, (select count(assetId) from wobject where wobject.assetId=asset.assetId) as wobjectCount from asset where className like 'WebGUI::Asset::Wobject%' having assetCount<>wobjectCount;17:31
-!- ryuu_ro [n=rory@194.171.50.69] has quit []17:32
SynQok17:32
SynQthat gives an empty set too :)17:32
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has joined #webgui17:33
-!- mode/#webgui [+v perlDreamer] by ChanServ17:33
SynQah17:33
SynQmy dreamer17:33
+perlDreamermorning, SynQ17:33
@rizenwell then your wobjects have the correct row counts as they should17:33
SynQok17:33
SynQthat is good17:33
+perlDreamerhttp://blog.makezine.com/archive/2008/03/dress_up_your_wii_in_lego.html17:34
SynQnow how about the Threads17:34
@rizenelect assetId, (select count(assetId) from assetData where assetData.assetId=asset.assetId) as assetCount, (select count(assetId) from Post where Post.assetId=asset.assetId) as postCount, (select count(assetId) from Thread where Thread.assetId=asset.assetId) as threadCount from asset where className like 'WebGUI::Asset::Post::Thread' having assetCount<>postCount and assetCount<>threadCount;17:35
SynQok17:35
SynQthat also gives an empty set17:35
@rizenoops, add the 's' to the beginning of that17:35
SynQyea figured that17:35
@rizenok, that ensures that your row counts match17:36
SynQok17:36
SynQthat is great17:36
SynQnow for the shitting elephant17:36
@rizenhowever, it doesn't guarantee that your data is not corrupted17:36
SynQwhen does it occur?17:36
@rizenit should never occur, but on those old versions of 6.x there were some bugs that would let it happen from time to time17:36
SynQah17:37
SynQhow do I delete items from the trash one by one?17:37
@rizenunfortunately, without writing a program17:39
@rizenthere is no way to do it in 6.717:39
@rizenwell i guess you could manually write a bunch of database queries17:39
@rizenwhat you'd do is:17:40
@rizenselect assetId,className from asset where state like 'trash%';17:40
SynQok17:40
@rizenthat gets you a list of crap in the trash17:40
SynQthats near to 500 rows17:40
@rizenthen you have to write a delete for each table that the asset is part of, so if the classname is an article17:41
@rizenyou'd have to do:17:41
@rizendelete from asset where assetId='XXX';17:41
@rizendelete from assetData where assetId='XXX';17:41
@rizendelete from wobject where assetId='XXX';17:41
SynQaha17:41
@rizendelete from Article where assetId='XXX';17:41
SynQok17:41
@rizenobviously that's a lot of work17:42
SynQlike I described in the bug report17:42
@rizenso if you have 500 rows, then you're looking at somewhere between 1500 and 2000 sql queries you have to write17:42
SynQuhhuh17:43
@rizenunless someone is nice enough to write a program for you17:43
SynQI allready wrote a little program myself17:43
SynQpasted that into that bugreport too17:43
SynQworked like a charm17:43
SynQbut if that is all there is to it to delete those stuff17:43
SynQshouldn't I also delete stuff from the uploads folder?17:43
@rizenright17:45
@rizenthat's where the program would come in17:45
@rizenit woudl use the api to do it17:45
@rizenand therefore would delete stuff from the uploads folder17:45
SynQah17:46
SynQbut that can be done manually too17:46
SynQisn't it?17:46
@rizenyeah, but that's even more difficult17:46
@rizencuz you have to figure out what storage locations belong to what database rows17:46
SynQah17:46
@rizenthe api knows that stuff17:46
SynQthat is ok17:47
SynQbut I don't know the api :)17:47
@rizenhence why you want to get someone to write it for you17:47
@rizeni'd do it, but i need to get going on commerce17:47
SynQok, one last question17:48
SynQto get me going17:48
SynQperhaps I can use the DeleteExpiredTrash.pm17:48
SynQHourly plugin17:48
SynQperlDreamer: could you help me further?17:50
+perlDreamerI'll try.  It sounds like your problem is that there's old cruft in the trash?17:51
SynQit is17:52
+perlDreamerIs it possible to restore the original site, delete it from the trash then, and then rerun the upgrade?17:52
SynQoh17:52
SynQthe original site has never been taken down17:53
SynQso there is no stress17:53
SynQit's just that I want to get things moving17:53
+perlDreamerI'm confused.  last night you couldn't run an upgrade due to a thread problem.  Is this the same thing this morning?17:53
SynQI am trying to get the trash deleted on the live site though17:53
SynQit is the same kind of problem, but on another site17:54
SynQa much bigger one17:54
SynQthe site I upgraded last night and finished tomorrow is here: http://www.podenco.nl17:54
SynQ:)17:54
SynQnow I'm working on a different site17:55
SynQa much bigger one17:55
+perlDreamerHunderbahr :)17:55
BartJoltomorrow?17:55
SynQtoday17:55
+perlDreamerheute17:55
SynQthis morning17:55
SynQja17:55
BartJol:)17:55
SynQok17:55
SynQlets say I modified runHourly.pl17:55
lisettehello17:56
+perlDreamerto delete the trash and storage17:56
lisettethe params of WebGUI::Session->user() is a hash?17:56
BartJolI think an array17:57
+perlDreamerit is a hash17:57
+perlDreamerlisette, which version of wG are you using?17:58
-!- dhelsten [n=helsten@newcastlecapital.com] has joined #Webgui17:58
BartJolah, but you sort the hash on shifting?17:58
+perlDreamerBartJol: no17:58
lisette7.5.117:58
+perlDreamerthe POD for Session.pm says that user takes a hash reference { user => $userObject } or {userId => $id}17:59
BartJoloh, that's the other direction...17:59
+perlDreamerright17:59
BartJolI understand17:59
SynQperlDreamer: indeed tot delete the trash and storage17:59
+perlDreamerSynQ: Not sure why you'd need to modify runHourly.pl to delete the trash.  Maybe modifying DeleteExpiredTrash would be better, to make it delete everything in the trash regardless of expire time.18:00
+perlDreameror just set the expire time in the db to something short, like 15 minutes18:01
lisettei have this: $session2 = WebGUI::Session->user({userId=>$userId})18:02
SynQindeed18:02
SynQI'm going to check the db for the expire time18:02
lisetteand show me the next error: 2008/03/25 10:45:18 - ERROR - www.prueba.com.conf - WebGUI::Session::ErrorHandler::error[184] - Can't use string ("WebGUI::Session") as a HASH ref while "strict refs" in use at /data/WebGUI/lib/WebGUI/Session.pm line 636.18:02
lisetteand i don't understand18:02
+perlDreamerlisette, user is an object method, not a class method.  You have to use it on a session object.18:02
+perlDreamerIf you want a new session, open one up18:03
+perlDreamermy $session2 = WebGUI::Session->open(lots of session arguments here)18:03
+perlDreamer$session2->user({userId => $userId});18:03
+perlDreamerand then set the userId on it18:03
+perlDreameralthough, there's nothing technically wrong with just changing the userId in the current session.18:03
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui18:05
-!- mode/#webgui [+o preaction] by ChanServ18:05
SynQah18:06
lisettemmm18:06
lisetteok, thanks18:07
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has left #webgui []18:07
SynQI just found out that if you do not set DeleteExpiredTrash_offset in the config file the expired trash is never deleted18:07
SynQso now it is18:07
-!- topsub [n=topsub20@97.66.185.250] has joined #webgui18:07
+perlDreamerso it is now cleared out?18:08
+perlDreamerlike a congested perlDreamer on DayQuil?18:08
topsubI need to write a script that will browse a directoy and take all the PDFs in that directory and add them to the asset threw in the Admin Console ( example: root >> home>> pdf ). Can i use FilePile to do this? As far as taking the pdf from my local system and sending it to webgui?18:11
SynQwel18:11
SynQit's not cleared out all of it yet18:11
SynQbut I'm getting somewhere18:12
SynQtime to get a cup of tea18:12
+perlDreamertopsub, look in the sbin directory for a handy utility with a good name.18:16
ckotilwhile performing a search index, i reach the max_allowed_packet limit.18:20
ckotilCan I increase this easily? 18:20
ckotilit bombed out while indexing a pdf.18:20
ckotiland i was just about to make my new custom search asset production, that allows searching based on content profile tags.18:21
BartJolwell, have a nice evening and some fun, I'm off18:22
ckotilappears to be a mysql setting.18:22
-!- BartJol [n=plainstu@194.171.50.123] has left #webgui []18:23
SynQbye bart18:23
topsubperlDreamer you are a life saver!!18:30
topsubdone.. saved me from having write a script18:30
CIA-22WebGUI: jt * r5925 /branch/WebGUI_Commerce/www/extras/yui: preparing to upgrade yui18:36
CIA-22WebGUI: jt * r5926 /Too many paths: upgrade to yui 2.5.118:36
dapperedodoThanks for upgrading YUI, we are using it already18:41
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [Read error: 113 (No route to host)]18:43
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui18:46
topsubin 7.4.21 when you make a search asset you can limit the asset to search only WebGUI:Asset:File, but in 7.4.29 i do not see this as an option18:51
topsubDid this change? How can i limit it to just search WebGUI::Asset::Files18:52
@rizenlots of bug fixes in 2.5.1, seemed like a logical choice to upgrade it18:52
topsubis 2.5.1 stable tho?18:53
@preactiontopsub, i just loaded a demo and i can see the limit selections18:53
topsubdo you see WebGUI::Asset::File?18:54
topsubnot File::Image.. just File18:54
@preactionsecond on the list18:54
topsubwhat version is that demo?18:54
@preactionlatest stable18:54
@preactionhttp://demo.webgui.org/demo1206462554_160 Admin:123qwe18:54
+perlDreamerconfig problem?18:54
@preaction(username:password)18:54
@preactioni suspect. dunno how Search gets its list of asset classes18:54
@rizenit's not labeled beta on their site, plus it's going into the 7.5 branch, so it will be stable by the time 7.5 is stable if it isn't already18:55
topsubpreaction, thats 7.4.26.. i have the 7.4.29 so could it got chagned?18:55
+perlDreamerclassLimiter is built dynamically from the list of assets in the asset table.18:56
@preactionwtf... why is our stable demo at 7.4.26?18:56
@preactionlatest is 7.4.2918:56
topsublol18:56
+perlDreamerfile a bug?18:56
topsubit seems in 7.4.29 something changed.18:56
topsubWould you like me to?18:57
topsubIs there a way i can get it to show up manually or with a fix?18:57
topsubhave a project now i need to limit it to just File.18:57
@preactionperlDreamer, it's built with an SQL query? not using the configured assets?18:57
@preactiontopsub, the demo site is running an older version is one bug, do you have any File assets in your site?18:58
+perlDreameroptions         => $session->db->buildHashRef("select distinct(className) from asset")18:58
@preactionha... that must be old18:59
topsubpreaction, don't believe so, should i had one and see if it shows up?18:59
@preactiontopsub, please18:59
topsubk one sec19:00
+perlDreamerI'd file a bug for the out of date demo server, but the Search thing should be a wiki entry19:01
topsublast night i found out the reason my install on Ubuntu was failing was because i was runnning setenvi..sh not as root19:01
topsubguess in the wiki thats understood but me as a windows guy didn't know that19:01
topsub:-)19:02
+perlDreamerYou are forgiven topsub, for penance, reinstall service pack 9 on your windows box 3 times19:02
topsublol19:02
topsubaahhh so after i added a pdf document the WebGUI::Asset::File showed up19:07
ckotilany chance I can up the max_allowed_packet in sbin/search.pl ?19:08
+perlDreamerno idea, ckotil19:09
ckotilk, its not a big deal, since i can change it in my.cnf and restart mysql19:09
-!- dapperedodo [n=dappered@194.171.50.69] has quit []19:12
+perlDreamerhow's the trash coming, SynQ?19:12
-!- dapperedodo [n=dappered@194.171.50.69] has joined #webgui19:14
ckotilhrmm seems xpdf doesnt suport pdf v 1.619:23
ckotilhas this caused a problem for the wre's? pdf2txt app?19:23
-!- dapperedodo [n=dappered@194.171.50.69] has quit [Read error: 110 (Connection timed out)]19:34
CIA-22WebGUI: graham * r5927 /branch/WebGUI_7.4/ (4 files in 4 dirs): preparing for 7.4.3019:35
CIA-22WebGUI: graham * r5928 /branch/WebGUI_7.4/ (docs/changelog/7.x.x.txt lib/WebGUI/Asset/WikiPage.pm): fixed: Wiki page history shows username instead of alias19:35
CIA-22WebGUI: graham * r5929 /branch/WebGUI_7.4/ (docs/changelog/7.x.x.txt lib/WebGUI/Storage.pm): added: Uploads locations and files are set to the same uid/gid that owns the uploads root19:35
CIA-22WebGUI: graham * r5930 /branch/WebGUI_7.4/ (docs/changelog/7.x.x.txt lib/WebGUI/Asset/Wobject/SQLForm.pm): fixed: SQL Form fields with a regex are required even if not set to required19:35
CIA-22WebGUI: graham * r5931 /branch/WebGUI_7.4/ (docs/changelog/7.x.x.txt lib/WebGUI/Asset/Wobject/Matrix.pm): fixed: Matrix caches pages, and may not update for new listings19:35
CIA-22WebGUI: graham * r5932 /branch/WebGUI_7.4/ (docs/changelog/7.x.x.txt lib/WebGUI/Asset/Wobject/Matrix.pm): 19:35
CIA-22WebGUI: fixed: Editting matrix listings shows fields from other matrix assets19:35
CIA-22WebGUI: fixed: Matrix assets show pending listings from all matrix assets on a site19:35
CIA-22WebGUI: graham * r5933 /branch/WebGUI_7.4/ (docs/changelog/7.x.x.txt lib/WebGUI/Asset/Wobject/Matrix.pm): fixed: Changing name of Matrix listing leaves discussion forum with old name19:35
CIA-22WebGUI: graham * r5934 /branch/WebGUI_7.4/ (3 files in 2 dirs): fixed: Importing a package can break when updating a pending asset19:35
CIA-22WebGUI: graham * r5935 /branch/WebGUI_7.4/ (4 files in 3 dirs): fixed: errors on package importing are always reported as corrupted packages19:35
CIA-22WebGUI: graham * r5936 /branch/WebGUI_7.4/ (2 files in 2 dirs): fixed: Optional pubDate RSS field generates warnings when missing19:35
CIA-22WebGUI: graham * r5937 /branch/WebGUI_7.4/ (lib/WebGUI/Asset/Post/Thread.pm docs/changelog/7.x.x.txt): fixed: Collaboration System threads can return other object types when asked for replies19:35
CIA-22WebGUI: graham * r5938 /branch/WebGUI_7.4/ (3 files in 2 dirs): fixed: Able to cut or trash system assets19:35
CIA-22WebGUI: graham * r5939 /branch/WebGUI_7.4/ (docs/changelog/7.x.x.txt lib/WebGUI/AssetTrash.pm): fixed: Can't purge uncommitted assets if not using its version tag19:36
CIA-22WebGUI: graham * r5940 /branch/WebGUI_7.4/lib/WebGUI/Form/List.pm: displayValue for list should show values instead of keys19:36
CIA-22WebGUI: graham * r5941 /branch/WebGUI_7.4/ (2 files in 2 dirs): fixed: DataForm will create fields with duplicate names but doesn't use them separately19:36
CIA-22WebGUI: graham * r5942 /branch/WebGUI_7.4/ (2 files in 2 dirs): fixed: Bad message if database link for SQL Report doesn't exist19:36
CIA-22WebGUI: graham * r5943 /branch/WebGUI_7.4/ (docs/changelog/7.x.x.txt lib/WebGUI/Asset/RSSCapable.pm): fixed: Collaboration System errors when missing RSS From Parent19:36
CIA-22WebGUI: graham * r5944 /branch/WebGUI_7.4/ (docs/changelog/7.x.x.txt lib/WebGUI/Asset/RSSCapable.pm): fixed: Turning off RSS on Collaboration System doesn't remove RSS From Parent asset19:36
-!- dapperedodo [n=dappered@ip56503e61.direct-adsl.nl] has joined #webgui19:38
@apeironwhoa.20:06
@apeironHaarg++ # bugfix spree20:06
@Haargheh20:16
@Haargthat was porting 7.5 changes20:16
@rizenperlDreamer: you know that data source problem i was having yesterday. spent 8 hours on it, and got nothing. decided to switch to connection manager + json and do the low level stuff myself, working in 20 minutes20:27
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."]20:28
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui20:30
-!- MrHairgrease [n=martin@145.94.221.57] has joined #webgui20:31
-!- mode/#webgui [+v MrHairgrease] by ChanServ20:31
CIA-22WebGUI: graham * r5945 /branch/WebGUI_7.4/docs/create.sql: preparing for 7.4.30 release20:32
topsubI got a question about overwriting core modules.. I am looking at the wiki and the step 4 says "create directory hierarchy in this new folder and add custom libraries" Does this mean start with Webgui/Asset/Wobject? inside my custom folder for overwriting these modules?20:38
topsubi am going to override the "view" function in Search.pm20:38
CIA-22WebGUI: jt * r5946 /releases/WebGUI_7.4.30-stable: Release 7.4.30-stable20:49
@preactiontopsub, more accurately: you're going to replace the existing lib/WebGUI/Asset/Wobject/Search.pm with your own. as far as I know, you can't just override a single method in this manner20:57
@preactiontopsub, but yes, you create the entire WebGUI/Asset/Wobject heirarchy20:57
-!- dapperedodo [n=dappered@ip56503e61.direct-adsl.nl] has quit [Read error: 104 (Connection reset by peer)]20:57
@preactionimagine that preload.perl simple does "use lib $YOUR_DIR"20:57
@preactionwhich is basically what it does20:57
-!- dapperedodo [n=dappered@ip56503e61.direct-adsl.nl] has joined #webgui20:58
+perlDreamerrizen: sweet20:58
+perlDreamerI've been $dayJob'ing and IRCing this morning, so no progress with the server side sorting/pagination.  I might ping perlmonkey2 later on if I'm still stuck20:58
@apeironpreaction, You *can* override a single method like that, using preload.custom.20:59
@apeironpreaction, override / replace20:59
perlmonkey2pong20:59
@preactionapeiron, how20:59
+perlDreamerperlmonkey2: must hit head on wall for a few more hours before calling in the calvary.  So consider that a pre-ping.21:00
@preactionputting use lib "/data/WebGUI"; use base lib::WebGUI::Asset::Wobject::Search; perhaps?21:00
@apeironpreaction, Not quite.21:00
@apeironpreaction, /data/WebGUI/sbin/preload.custom.example21:01
@apeironpreaction, Put files under that directory to match the hierarchy in /data/WebGUI.21:01
@preactionall preload.custom does is add directories to @INC21:01
@preactionso if you add a WebGUI::Asset::Search in your preload.custom directory, it REPLACES the existing WebGUI::Asset::Search21:01
@preactionit doesn't override21:01
@apeironperldoc -f unshift21:02
@apeironIt *prepends*21:02
@preactionit prepends @INC directories so that the custom directories are checked first for the modules you request21:02
+perlDreamerYou guys can stop arguing, because you're saying the same thing.21:02
-!- jdanpl [n=jdanpl@xdsl-461.lubin.dialog.net.pl] has joined #webgui21:02
@apeironshrug. All I know is that I just did this and it worked nicely. :)21:02
+perlDreameryou can't override just a method using preload.perl, you have to provide everything _and_ the override.21:03
@preactionso your replacement contained a single method and the other methods got populated from the class you overrode?21:03
@preactionthat's what topsub wants21:03
@apeironpreaction, Yes.21:03
@preactionhell, that'd be what I wanted too21:03
CIA-22WebGUI: graham * r5947 /branch/WebGUI_7.4/ (4 files in 4 dirs): preparing for 7.4.31 dev21:04
@apeironpreaction, Was Haarg++'s idea originally, actually.21:06
topsubbrb thanks preaction21:06
-!- topsub [n=topsub20@97.66.185.250] has quit []21:06
lisettehow to use an errorHandler?21:15
+perlDreamererrorHandler is used instead of the perl functions warn or die, and to log information into the webgui.log file21:16
+perlDreamer$session->errorHandler->warn("message");  ##for example21:16
+perlDreamerperldoc WebGUI::Session::ErrorHandler.pm21:16
@apeironlisette, WebGUI uses log4perl for its logging functionality, but provides an API around it.21:18
lisettethanks21:19
lisettei see this warn in the webgui.log or error.log?21:26
@preactionwebgui.log21:27
@apeironlisette, Take a look at your log.conf, that should show you where it'll appear.21:27
@preactionor rather, whereever your etc/log.conf puts it21:27
@apeironlisette, Note that if your log level is set to, say, ERROR, it may not show up at all.21:27
@apeironWell, if it's set to ERROR it absolutely won't.21:27
lisettethanks21:30
CIA-22WebGUI: colin * r5948 /WebGUI/lib/WebGUI/Asset/Wobject/Search.pm: make useContainers use the i18n that was made for labeling and hover help21:31
CIA-22WebGUI: colin * r5949 /WebGUI/lib/WebGUI/i18n/English/Asset_Thingy.pm: fix typo in Thingy i18n for searchResult_loop21:31
perlmonkey2any tried to build WebGUI in 5.10?21:34
-!- crythia1 [n=gyoung@fl-69-68-148-96.sta.embarqhsd.net] has joined #webgui21:40
-!- mode/#webgui [+v crythia1] by ChanServ21:40
-!- crythia1 [n=gyoung@fl-69-68-148-96.sta.embarqhsd.net] has left #webgui []21:40
perlmonkey2I'm looking to keep my code organized and would like to move some of my functions to another file.  Is there a WG approved method for doing this, or should I just use the lib and have the lib export those subs?21:44
perlmonkey2these are functions that belong to the current wobject, so creating another object wouldn't make much sense.21:45
@rizenjavascript or perl?21:45
perlmonkey2perl21:45
@rizenthere are two ways for you to do it21:46
@rizen1) create mixin packages like Asset.pm does21:46
@rizen2) create stand alone packages that are used by the asset21:46
@rizenso in your case you may create  "question" object21:46
@rizenand an answer object21:46
@rizenand whatever else21:46
@rizengenerally speaking though...i'd prefer that the entire asset be self contained21:47
@rizenin one file21:47
@rizenso if you want to create these separate packages, i'd recommend doing it in a single file21:47
@rizenyou can create more than one package per file in perl21:48
perlmonkey2I only wanted to break them out to be able to organize the code in seperate files.  But if you want it in one file, then you sir, will have it in one file :)21:48
perlmonkey2The JS is broken up into multiple files, but they can be appened into one file after dev is finished.  Which is smart anyways to speed up load time.s21:49
@rizenassets that are self contained don't clutter the asset namespace21:49
@rizenthat's why i like them in one file21:49
perlmonkey2That makes sense.  Keeping the namespace organized is probably more important than me having to deal with traversing a 500 line file :P21:52
perlmonkey2Just want to sanity check this.  There are like 20 prepackaged multiple choice types.  If a user picks one, then the answers are pregenerated.  If a user changes the question type, does it make sense to delete the current answers and pregenerate new ones for the new type?  I'm thinking yes, but don't want to underthink this.21:54
@preactioni would say yes if and only if the pregenerated answers were not changed to anything custom21:59
@preactionor, if the pregenerated answers are changed, the mulitple choice type gets immediately changed to "Custom" or something22:01
perlmonkey2preaction: I like it.22:01
@preactionwhich one?22:01
@preactioni think i like the second one more, since it'd be easier to code22:01
perlmonkey2I have just the generic "Multiple Choice" type I'll flip them to if they update a pregenerated answer.22:01
perlmonkey2So then it is simple.  If they update an answer, the type gets changed to multiple choice.  If they then change the type to something else, they must want the new pregerneated answers to overwrite their custom answers.22:03
-!- khenn [n=khenn@24-159-239-186.dhcp.mdsn.wi.charter.com] has quit []22:03
@preactionyou could make it even more friendly by putting hover help on the "Mulitple Choice Type" label that says it's for generating answers to common types of multiple choice questions22:04
-!- dapperedodo [n=dappered@ip56503e61.direct-adsl.nl] has left #webgui []22:06
perlmonkey2I eventually plan on having the question type be a YUI menu with submenus.  But I need to have something working by Monday, so for now it is just a big list.22:07
perlmonkey2But all the multiple choice types will be under Multiple choice, the date types under date, text types under text, etc22:07
-!- topsub [n=topsub20@97.66.185.250] has joined #webgui22:10
topsubwe are adding that custom preload to override modules and for some reason  preload.perl always adds an extra ".pm" to our custom module. any ideas?22:13
topsubwe double check our settings and when we name the class we don't have an extra .pm22:13
@preactionpreload.custom is for directories, not files22:15
topsub correct. i have "/data/WebGUI/site_lib" in it22:17
topsubthen inside site_lib i have  /WebGUI/Asset/Wobject/SearchExt.pm22:18
topsubhttp://pastebin.com/d25f42c3c22:19
topsubthats the error message22:20
topsubjust adding on another .pm22:20
+perlDreamerit's either a bug or a feature22:22
+perlDreamertry adding another directory in there22:22
+perlDreamerlike /data/WebGUI/site_lib/lib/WebGUI22:22
+perlDreameradd that lib directory and put WebGUI into it.22:22
+perlDreamerit's this regexp from preload.perl22:22
+perlDreamer$package =~ s/.*\/lib\/(.*)\.pm$/$1/;22:22
+perlDreamerit wants a lib part of the path22:22
+perlDreameror else :)22:23
topsubalright we are trying that now22:24
topsubwill i need to add "/data/WebGUI/site_lib/lib" to preload.custom.. Update that path?22:25
+perlDreameryes22:26
-!- perlbot [n=perlbot@lv.pm.org] has quit [Excess Flood]22:27
-!- perlbot [n=perlbot@lv.pm.org] has joined #webgui22:27
topsubno errors but not seeing the custom asset in the list inside Admin Console.   When i add this custom asset to the conf file do i follow same pattern as the rest of them? "WebGUI::Asset::Wobject::SearchExt"?22:28
-!- jua1 [n=juangui@201.232.58.66] has joined #webgui22:28
jua1hello22:28
topsubhi22:28
+perlDreameryes22:28
topsubhmm alright i will look into it more22:29
+perlDreamertry printing out the name of the files as they are loaded in preload.perl22:29
topsubalright22:30
jua1i have two sites configured with ldap, in both i have noticed something strange.  i logged in with my username and password correctly but i when try to navigate to another section i appear logged as other user 22:32
jua1i have a terrible confusion with my users22:32
jua1they are calling me reporting that problem22:33
jua1do you know, how to fix that problem?22:33
jua1what is the cause?22:33
jua1should be problems with ldap?22:34
jua1because in both sites is happening the same problem22:35
CIA-22WebGUI: graham * r5950 /WebGUI/ (docs/changelog/7.x.x.txt lib/WebGUI/Asset/RSSCapable.pm): fixed: Collaboration System errors when missing RSS From Parent22:37
CIA-22WebGUI: graham * r5951 /WebGUI/ (3 files in 3 dirs): fixed: Syndicated Content picks wrong entries for interleaving22:37
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."]23:00
-!- SDuensin [n=Scott@55.sub-75-204-199.myvzw.com] has quit ["Leaving"]23:02
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui23:04
lisettei have a macro with a general hash for 3 subprocess, and when i do a debug i find that in the hash there nothing!23:06
lisettewhat i do?23:07
+perlDreamersubprocess == subparam?23:07
+perlDreamermy $self = shift;23:07
+perlDreamermy $params = shift;23:07
+perlDreamer?23:07
lisettesub23:08
lisettesubrutinas23:09
+perlDreamercan you paste the macro code?23:09
+perlDreameruse webgui.pastebin.com23:09
-!- jdanpl [n=jdanpl@xdsl-461.lubin.dialog.net.pl] has quit ["Leaving"]23:10
lisettehttp://webgui.pastebin.com/d1175fdaa23:12
+perlDreamerlisette, there are a number of problems with the code23:14
CIA-22WebGUI: graham * r5952 /WebGUI/ (2 files in 2 dirs): fixed: Syndicated Content URLs using macros not updated by caching workflow23:14
+perlDreamer$dbh and $score are undefined when up and down are called23:14
lisettenot23:15
lisettei don't paste this23:15
+perlDreamerah, I see23:15
lisettebut i have defined23:15
+perlDreamerthe hash assignment will overwrite any data in it.23:17
+perlDreamer%hash = (key => $value) will empty the hash and leave only key and $value in it.23:17
+perlDreamerbut you said the hash was empty, not just with 1 key/value pair in it23:18
+perlDreamerhow are you checking to see if the hash has data in it?23:19
+perlDreamerAre you using Data::Dumper, or something else?23:19
lisetteyes, i checking the data with an errorHandler23:21
+perlDreamerwell, from looking at the code, it is possible that it falls through both up and down.23:21
+perlDreamerthey have if statements which prevent them from assigning to %hash if there are no rows23:22
+perlDreamerso it is possible for the hash to be empty, depending on where you check it in the code.23:22
+perlDreamerCan you paste the debug errorHandler code as well?23:22
lisettewait23:24
lisettei have an error with the references with hash23:27
lisettei try with the modification and tell you ;)23:28
+perlDreamerbuena suerte23:28
lisettegracias23:28
lisettesi consultaste sobre lo del returnPath con el send de webgui?23:28
+perlDreamerYa no me busco la problema con returnPath.  I have been sick and working on another project.23:30
-!- topsub [n=topsub20@97.66.185.250] has quit [Read error: 110 (Connection timed out)]23:31
+perlDreamerTodavia no me busco para la problema con returnPath.23:31
lisettese dice: todavia no busco el problema con el returnPath23:32
+perlDreamergracias :)23:33
+perlDreamerNecesito practicar hablando español mas.23:33
lisettenecesito practicar mas el español23:33
+MrHairgreaseja hallo, als jullie spaans gaan praten doe ik het wel lekkeah in he nederlands!!!23:33
+MrHairgrease=)23:34
lisettei have two sites configured with ldap, in both i have noticed something strange.  i logged in with my username and password correctly but i when try to navigate to another section i appear logged as other user23:34
lisettei have a terrible confusion with my users23:34
lisettethey are calling me reporting that problem23:34
lisettedo you know, how to fix that problem?23:34
+perlDreamerWeird23:34
lisettewhat is the cause?23:34
lisetteshould be problems with ldap?23:34
+perlDreamerYou have the same problem as jua123:34
lisettebecause in both sites is happening the same problem23:34
lisetteyes23:34
+perlDreamerDo you use the same hoster?23:34
lisettejua1 working with me23:35
+perlDreamerWhich version of wG are you using?23:35
lisette7.4.2723:35
+perlDreamerLDAP is not commonly used by anyone here.  One thing to try would be making a user with WebGUI authentiction instead of LDAP and see if the problem still exists.23:36
+perlDreamerit could also be a server side caching problem23:36
jua1perlDreamer, we have some sites two without ldap authentication and they don't have that problem23:37
+perlDreamerAre there other differences as well?  Such as that user switching macro that y'all have been working on?23:37
jua1no, there aren't other differences23:38
jua1what do you use to have a single sign on?23:40
+perlDreamerA few people have written custom Auth modules for single sign on.  One of them is in the Get Add Ons section of Webgui.org, for OpenId.23:41
jua1ok, i am going to check23:42
jua1if you have some help in spanish, we can help you23:43
+perlDreamerYour best bet is probably to 1) Post it as a bug or 2) Have somebody from PlainBlack log onto your site and do a remote fix.23:44
jua1excuseme, if you need23:44
+perlDreamerMis hijos aprenden español.  Necesito mucho ayuda23:44
jua1claro que si23:45
jua1cuando la necesites con mucho gusto23:45
-!- estiven [n=estiven@201.232.58.66] has joined #webgui23:45
+perlDreamergracias23:45
lisettecuando necesites ayuda, con mucho gusto!23:45
estivensi lisette es muy servicial....23:46
lisettees amable23:46
lisetteservicial no23:46
estivenjeje23:46
+perlDreamerTengo miedo de preguntar que significa servicial23:47
lisettejajajajaja23:47
jua1:-D23:47
lisetteservicial es amable, pero es mas tirando a otro tipo23:48
CIA-22WebGUI: graham * r5953 /WebGUI/ (2 files in 2 dirs): fixed: Syndicated Content asset tries too hard to get URLs returning errors23:50
lisetteperlDreamer, muchas gracias por tu ayuda.23:56
+perlDreamerde nada23:56
+perlDreamertiene la problema todavia, or is it fixed?23:57
--- Day changed Wed Mar 26 2008
lisettetodavia tiene el problema00:00
lisettei fix part, but when i return the hash theres nothing00:01
+perlDreamerAre you sure that your SQL queries return data?00:02
lisettei debug in the sub up and down, but when i do in the sub process, there is an error00:03
lisetteand the queries returns well00:04
+perlDreamerWhat's the error that perl gives?00:04
+MrHairgreaselisette, maybe you know already:00:05
lisetteno, i don't see nothing in the log, but in the execution theres nothing00:05
+MrHairgrease%hash = {"usuario$i"=>$username,                  "score$i"=> $score};00:05
+MrHairgreaseis not good00:05
+MrHairgrease{} creates a hashRef00:05
lisetteand then how to?00:05
+MrHairgreaseyou should use ()00:05
+perlDreamerparens00:05
+perlDreameractually, it would be better to do00:05
lisetteyes, i fix that00:05
lisetteand the problems continue00:06
lisettethanks00:06
+perlDreamerTenemos un nuevo "paste"?00:06
+MrHairgreasetry running it with perl -w it'll prolly give you some clues for other problems00:06
lisetteno00:06
+perlDreamerpara referencia00:06
lisetteah, wait00:06
+MrHairgreaseok afk again00:06
+perlDreamerGuten Nacht, HerrGrease00:06
+MrHairgreaseno no 00:08
+MrHairgreaseif it were only that00:08
+MrHairgreaseI'm doing experiments at the university00:08
lisettehttp://webgui.pastebin.com/d1c45d7b700:09
+perlDreamery el sub dice nada?00:11
lisetteno entendi00:11
lisettei don't understand00:11
+perlDreamerThe process sub prints nothing?00:11
lisetteyes, nothing00:11
+perlDreamerin /data/WebGUI/etc/log.conf, try this:00:12
+perlDreamerhttp://webgui.pastebin.com/d1c45d7b700:12
+perlDreamerlog4perl.logger = INFO, mainlog00:12
+perlDreamerBy default, warnings are not printed into the logs anymore00:12
+perlDreamerThis will set it so that warnings are put into the logs.00:12
+perlDreameryou may need to restart WebGUI after that change to have it take effect00:13
lisetteWebGUI or apache?00:14
+perlDreamerapache00:14
lisettesame00:15
lisettenothing00:15
+perlDreamerhm00:16
+perlDreamerNot even the "entrando a process" message?00:16
lisetteno00:16
lisettesorry00:16
lisetteyes00:16
+perlDreamerokay, that's a good start.00:16
lisettebut i don't see the content of variable00:17
+perlDreamerIt just prints: usuario1 - output00:17
lisetteyes00:17
+perlDreamerCan you please print out the JSON of the entire %hash as a warn?00:18
lisettethere's comment00:18
lisettewait00:21
lisette2008/03/25 17:24:38 - ERROR - www.prueba.com.conf - Log::Log4perl::Logger::__ANON__[41] - encountered object 'JSON=HASH(0xc93d1f8)', but neither allow_blessed nor convert_blessed settings are enabled at /data/WebGUI/lib/WebGUI/Macro/TopGame.pm line 3700:24
+perlDreamerI think that's a bad JSON call.00:25
lisettemmm00:26
+perlDreamertry this instead:00:26
+perlDreamerreturn JSON::to_json(\%hash);00:26
+perlDreameralso, there are quicker/easier ways to get a username based on userId.  Creating all those sessions, and never closing them isn't good.00:27
+perlDreamermy $user = WebGUI::User->new($session, $userId); my $username = $user->username;00:28
lisetteya no aparece el error del json00:28
+perlDreamerbien00:28
lisettebut agains don't see the variable00:28
+perlDreamerComo aperece el contenido del %hash?00:28
lisetteno aparece00:28
+perlDreamerthe first return is commented out, and the second is not commented?00:29
lisetteyes00:29
+perlDreamerI'd like to suggest two things.00:30
+perlDreamer1) Use the log file instead of the macro output for debugging00:30
+perlDreamer2) print out %hash at the end of up and down to see what's going on in there.00:31
lisetteok00:31
+perlDreamerlisette: This should fix the Session and hash crashing problems: http://webgui.pastebin.com/m66eb44f600:35
+perlDreamerThis will run faster, since it doesn't create a new session to get the username for a given userId.00:38
+perlDreamerand won't create lots of extra Sessions00:38
+perlDreameralso, I think the hash assignment is the problem.00:38
+perlDreamer%hash = (key => $value) does not append to a hash, it replaces the contents00:39
lisetteok, i see00:39
lisettethanks00:39
lisettei have to pass like a parameter $session?00:48
@apeironhrm. Poking about the export system and I had an idea. Would it make any sense at all to enable exporting in a format other than HTML?00:50
@apeironLike, say, PDF?00:50
+perlDreamerlisette: to create a new user? yes.00:50
+perlDreamerYou may need to pass it into up and down00:50
lisetteok00:50
+perlDreameralong with the other parameters00:50
lisettei see the content of variable $output, thanks00:53
+perlDreamerFunciona bien?00:53
lisettesi, ya me salio el mensaje del warn con el contenido de la variable00:54
-!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"]00:55
+perlDreamerDebe venir a la conferencia y toma clases en el WUC, en agosto de este año.00:56
+perlDreamerHay clases del WebGUI API00:56
lisetteinteresante00:57
lisettecuanto valen?00:58
+perlDreamer$500 for two days, the tutorials cost $400 more00:59
+perlDreamerhttp://www.plainblack.com/wuc/registration00:59
+perlDreameractually, the tutorials don't teach perl anymore, so probably just the conference would be of use01:00
lisettey no se puede virtual?01:01
+perlDreamerdespues de la conferencia, puede comprar videos de la conferencia01:01
+perlDreamerpero valen mas que la conferencia01:02
lisettecuanto?01:02
+perlDreamer$60001:02
lisettemas los tutoriales o ya incluyen los tutoriales01:02
+perlDreamerpues, menos que volar a los Estados Unidos01:02
lisettesi01:03
+perlDreamerno incuyen los tutoriales01:03
lisettethanks01:03
-!- jua1 [n=juangui@201.232.58.66] has left #webgui []01:04
+perlDreamerHacen ustedes un juego?01:14
estivensip01:17
estivenpero lisette acabo de salir,.01:18
+perlDreameres una buena idea01:21
+perlDreamervoy a salir tambien01:21
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has quit ["Download Gaim: http://gaim.sourceforge.net/"]01:23
* MrHairgrease is headed home01:27
+MrHairgreaselater01:28
-!- MrHairgrease [n=martin@145.94.221.57] has left #webgui []01:28
-!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui01:29
-!- mode/#webgui [+v Radix-wrk] by ChanServ01:29
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."]01:57
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI01:57
-!- ascii [n=ascii@64.234.60.83] has joined #webgui02:15
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Connection timed out]02:30
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui02:53
-!- mode/#webgui [+o preaction] by ChanServ02:53
-!- perlDreamer [n=colink@pool-71-117-250-89.ptldor.fios.verizon.net] has joined #webgui02:56
-!- mode/#webgui [+v perlDreamer] by ChanServ02:56
-!- estiven [n=estiven@201.232.58.66] has quit [Read error: 110 (Connection timed out)]02:58
+perlDreamerjust what is it about root beer and pizza?03:00
+perlDreamerthey go so well together03:00
@apeironIt all depends upon the *kind* of root beer, sir.03:00
+perlDreamerI like a cold, Henry Weinhards03:01
+perlDreamerwhat do you like, apeiron?03:01
@apeironhmm.03:01
@apeironI go for Barq's personally.03:01
@apeironI've never heard of Henry Weinhards.03:01
+perlDreamerwhat?03:01
+perlDreamerWe'll fix that at the WUC.03:01
@apeiron... it seems we have a dilemma. :)03:01
@rizensprechers03:01
+perlDreamerHenry's is a local beer brewery who expanded into craft beers and a root beer03:01
@rizenor is it sprekers03:01
@rizenrootbeer and pizza sounds good, but i can't have any03:02
@rizenexcept on saturdays03:02
+perlDreamerwhat happens on Saturdays?03:02
@rizenthat's my high carb load day03:03
@rizenduring the week i eat slow burning carbs like beans03:03
@rizenand veggies03:03
+perlDreamerhow's your training coming?03:03
@rizenon the weekends i spike my hypoglycemic index by eating lots of fast burning carbs like pizza03:03
@rizenoooh...and succulent pussers03:04
+perlDreamerpussers?03:04
@rizenjelly filled dohnuts03:04
@rizenthe training is going very slowly, but it's going03:04
@rizeni've only lost 15 lbs since the wuc last year03:04
+perlDreamerbut what about muscle?03:05
@rizenbut  to be honest i didn't work at it that hard over the winter03:05
+perlDreamersure, but now with all that water pumping, you should be ripped!03:05
@rizenhard to say...i'm probably in better shape now, but i have a long way to go03:05
@rizeni still get winded way too easily03:05
+perlDreamerI know it's harder, but I think slower is better.03:05
+perlDreamerit's about permanent, managable life style change03:06
@rizeni've made some big sweeping changes in my diet...but i've done it slowly03:06
@rizenif you look at what i ate 2 years ago vs what i eat now03:07
@rizenit's an amazing change03:07
@rizenexercise is tough mainly finding the time...i'm always coding =)03:07
+perlDreamerI worked out today.03:08
+perlDreamerShoulders03:08
+perlDreamerYou know it's a good workout when you can't wash yourself in the shower afterward03:09
+perlDreamerhttp://use.perl.org/~perigrin/journal/3597703:12
+perlDreamerwell, my pagination/sorting code is still broken, even with 2.5.103:14
+Radix-wrkperlDreamer: or drive home afterwards :)03:15
+Radix-wrksquats are good for making your legs like jelly03:15
@rizenmy favorite is when your arms are so sore that you drop the bottle of water that you're trying to pull out of the fridge03:16
+perlDreamerRadix-wrk, "fortunately" I am within walking distance of work03:17
+Radix-wrkyou can walk afterwards?03:17
+perlDreamersome days03:17
+perlDreamer"You either walk out, crawl out, or get carried out"03:17
+Radix-wrkI've just started hitting the gym again myself - got a bad case of DOMS atm03:17
+Radix-wrkleast I can drive home with DOMS tho :)03:18
@rizenDOMS?03:24
+perlDreamerDelayed onset muscular soreness03:25
+perlDreamerrizen: stuck with js again03:25
+perlDreamersuggestions?03:25
+perlDreamerall pagination and sorting seems to be disabled03:25
+perlDreamerthe form is instrumented okay with areas for doing both03:26
+perlDreamerbut clicking does nothing03:26
+perlDreamerand the server says no new requests have been made03:26
+perlDreamerso it's not sending requests03:26
@rizenis this still on tax stuff?03:27
+perlDreameryeah03:27
@rizenback off whatever changes you made to get it working and then add them back in one by one03:27
@rizenthat's what i've been doing03:27
@rizeni also stick little alert() in here and there03:28
@rizento give me some debug03:28
@rizenin other words "what have you changed since it was working?"03:28
+perlDreamerthe pagination and sorting seem to be tied together, so that I can't isolate them03:30
+perlDreamerI'll try the alerts first03:30
-!- Haarg [n=haarg@66-168-19-128.dhcp.mdsn.wi.charter.com] has joined #webgui03:52
-!- mode/#webgui [+o Haarg] by ChanServ03:52
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Connection timed out]04:02
@rizenok pd04:12
@rizeni have the large tax table imported04:12
@rizenwhat is the problem?04:13
+perlDreamerno server side pagination or sorting04:13
+perlDreamertry to get another page, or sort a column (country, state, city or code)04:13
+perlDreamernothing happens04:13
@rizenso what i'm seeing here is client side pagination and sorting?04:13
+perlDreamerno, it's supposed to be server side, but it's not working04:13
@rizenit is sorting and paginating currently04:13
CIA-22WebGUI: jt * r5954 /branch/WebGUI_Commerce/ (7 files in 7 dirs): 04:13
CIA-22WebGUI: added WebGUI.str javascript class with sprintf and trim functions04:13
CIA-22WebGUI: got the badge builder working in the EMS04:13
@rizenmy god where did you get all this tax data?04:14
+perlDreamerState of California :)04:14
@rizenthey have a web site or something?04:14
+perlDreameryeah04:14
@rizennice04:14
+perlDreamerGoogle for California state sales tax table04:15
+perlDreamerit can't be working04:15
+perlDreamermaybe it only doesn't work on FireFox04:15
@rizenwisconsin sucks04:16
@rizenhttp://www.revenue.wi.gov/faqs/pcs/taxrates.html#txrate1104:16
@rizenthey only provide a county table04:16
@rizennot a city by city table04:16
@rizenit's working in safari04:16
@rizenlet me try firefox04:16
+perlDreamerthere may be a way to cross-index with zip code04:17
@rizenpagination is working in firefox for me too04:18
@rizenmaybe you should revert your local copy04:18
+perlDreamerwell, I guess it's only linux-firefox then04:18
+perlDreamerI did04:18
@rizenoh04:18
+perlDreamerYUI sucks04:19
@rizenyui RULES!!!04:19
@rizenyou should see the crazy shit i'm doing in the ems04:19
+perlDreamerit won't work on linux04:20
@apeironperlDreamer, s/YUI/web browsers/04:20
+perlDreamerapeiron, oh no.  YUI doesn't have firefox in their a-browser list04:20
@rizenyes they do04:20
@apeironperlDreamer, Am I missing some sarcasm?04:20
@rizenhttp://developer.yahoo.com/yui/articles/gbs/04:21
@rizenfirefox 2 is all the way across the board an a-grade browser04:21
@rizenpd have you tried restarting firefox?04:22
@rizenmaybe it's in a bad state04:22
@rizeni've had that happen before04:23
+perlDreamerI'll give that a shot04:23
+perlDreamerand eat some sympathy pizza, too04:23
@rizenhehe04:23
@rizeni'm absolutely amazed that this tax table for california is free04:23
@apeironhttp://xrl.us/bh9k5 (Link to revenue-pa.custhelp.com) 04:25
@apeironYay Pennsylvania. Statewide 6%... *except* Filthydelphia and Allegheny.04:26
@rizenwow, that makes the tax table for pa pretty easy then04:27
@apeironNote the provision for motor vehicles, though.04:27
+perlDreamerbtw, FireFox on linux is not supported in YUI04:28
+perlDreamerbased on these results, with good reason :)04:29
@apeironI thought the point of Gecko was to make a cross-platform rendering engine.04:30
@rizenhow is that possible? isn't the gecko engine the same everywhere?04:30
@apeironWell, it's Gecko and their JS implementation, but still, I always thought it was the same code.04:30
* perlDreamer looks for firefox updates on Fedora04:33
+perlDreamerupdates installed, restarting firefox04:38
@apeironI just got prodded into getting FF 2.0.0.13; dunno if the Fedora folks have that yet.04:38
+perlDreamerit's 2.0.0.12-104:39
+perlDreamerand it's didn't help either04:39
+perlDreamerrizen, this means I'm going to be minimally useful with UI design04:39
@rizenunderstood04:40
@rizenwell do you want to start on the product asset?04:40
@rizenthere's no js there04:40
@rizeni think tax is done enough anyway04:40
+perlDreamerProduct asset just gets converted to SKU?04:41
+perlDreameror uses sku?04:41
@rizenThe product asset just gets converted to be a subclass of sku instead of wobject04:43
@rizenthat's step 104:43
@rizenthen we have to merge the old commerce product system into it04:43
@rizenthat's step 204:43
@rizenbut for now, just worry about step 104:43
+perlDreamerwill do04:43
@rizeni think step1 should be pretty easy04:44
@rizenthe hardest part will be converting all the $self->setCollateral calls to use $self->session->db->setRow04:44
@rizeninstead04:44
+perlDreamerah, because it's not a Wobject anymore04:45
@rizenyup04:45
@rizenthere are 5 skus built out now though04:45
@rizenso you have plenty of examples of how they work04:46
+perlDreamertexas sales tax tables: http://www.window.state.tx.us/taxinfo/local/cityrate.fnm04:46
@rizenalright, going to call it a night. gotta try to shut my brain off now04:47
@rizenthanks for rocking pd04:48
@rizenenjoy your sympathy pizza04:48
@rizen=)04:48
+perlDreamercatch you tomorrow, rizen04:48
+perlDreamerwell, despite it not working on my laptop, it is nice to know that my JS code doesn't suck04:58
-!- perlDreamer [n=colink@pool-71-117-250-89.ptldor.fios.verizon.net] has quit ["Leaving."]05:27
-!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: diakopter05:54
-!- Netsplit over, joins: diakopter05:55
-!- elnino [n=ninow@user-38q49cv.cable.mindspring.com] has joined #webgui07:23
-!- elnino [n=ninow@user-38q49cv.cable.mindspring.com] has left #webgui ["Leaving"]07:24
-!- elnino [n=ninow@user-38q49cv.cable.mindspring.com] has joined #webgui08:31
-!- elnino [n=ninow@user-38q49cv.cable.mindspring.com] has left #webgui ["Leaving"]08:32
-!- dapperedodo [n=dappered@194.171.50.69] has joined #webgui08:35
-!- ryuu_ro [n=rory@194.171.50.69] has joined #webgui08:46
-!- Radix-wrk [n=Jesse@203.161.68.67] has quit ["Leaving"]09:23
-!- SynQ [n=koen@e97024.upc-e.chello.nl] has left #WebGUI []09:49
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui10:50
-!- dapperedodo [n=dappered@194.171.50.69] has quit []11:09
-!- BartJol [n=plainstu@194.171.50.123] has joined #webgui12:12
BartJolanybody any ideas why a mysql connection can be broken for workflows?12:43
BartJoltestEnviroment.pl gives a db connection that is ok12:44
BartJolmanually connecting also provides no problems12:44
BartJolah, this might not be the problem12:49
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has quit ["Leaving"]13:17
-!- dapperedodo [n=dappered@194.171.50.69] has joined #webgui13:50
-!- SDuensin [n=Scott@120.sub-75-206-173.myvzw.com] has joined #WebGUI14:48
SDuensinGreetings.14:49
-!- BartJol [n=plainstu@194.171.50.123] has quit [Read error: 110 (Connection timed out)]15:08
-!- BartJol [n=plainstu@194.171.50.123] has joined #webgui15:22
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui15:23
ckotilGood Morning15:47
perlmonkey2good-a morning15:51
-!- Haarg [n=haarg@66-168-19-128.dhcp.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"]15:52
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui15:58
-!- mode/#webgui [+o preaction] by ChanServ15:58
-!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui16:10
-!- mode/#webgui [+o Haarg] by ChanServ16:10
-!- dapperedodo [n=dappered@194.171.50.69] has quit [Read error: 104 (Connection reset by peer)]16:17
-!- dapperedodo [n=dappered@194.171.50.69] has joined #webgui16:18
-!- BartJol [n=plainstu@194.171.50.123] has quit [Read error: 113 (No route to host)]16:49
-!- Syn1 [n=koendejo@194.171.50.123] has joined #WebGUI17:14
Syn1http://www.saarhanna.nl/home/maart-200817:14
Syn1look for the webgui sticker17:15
Syn1near 2008-03-1517:15
Syn1and man, did I have a runnaway process just now17:16
ryuu_rofound it! do i get a price?17:16
Syn1one of the sites I upgraded had 193430 rows in set (0.65 sec) from userSession17:16
@rizenyou just posted that url to get us to oggle the kids that you wish you had17:16
Syn1more than 2 years worth of userSessions17:16
Syn1that are my sisters kids17:16
@rizeni know, and you wish you had them17:17
@rizenyou said so yourself when you were here17:17
Syn1Session/Var.pm has this line in it: select * from userSession where sessionId=?",[$sessionId])17:18
Syn1that line almost killed my server17:18
Syn1should I file a bug report for that17:20
@rizenwhy would that kill your server?17:21
@rizenit's returning exactly 1 row17:21
Syn1ah17:21
dapperedodoWhy file a bug report for wanting kids:)17:21
Syn1but it was trying to clean out all those 193430 lines17:21
@rizenplus sessionId is the primary key for that table, so it should return very quickly even with millions of row17:21
@rizens17:21
Syn1in one run17:21
Syn1it's a workflow that is doing that isn't it17:22
Syn1perhaps that workflow should count the number of sessions it should clean in one run17:22
Syn1and then only clean out a thousend a run?17:22
Syn1by default?17:23
Syn1it's the Delete login entries older than 90 days workflow17:23
@rizenit has a timer on it17:24
@rizenit does as many as it can in 55 seconds17:24
@rizenand then quits17:24
@rizenoh17:24
Syn1where can I find the code that actually runs that workflow?17:24
Syn1ah in /data/WebGUI/lib/WebGUI/Workflow/Activity/CleanLoginHistory.pm17:25
@rizenactually i see the problem on that17:25
@rizenit's one of the maintenance workflows17:26
Syn1it is17:26
@rizenAdmin Console > Workflow17:26
@rizeni think it's the weekly one17:26
Syn1indeed17:26
Syn1Weekly Maintenance Tasks17:26
Syn1pbworkflow00000000000217:26
Syn1that one :)17:26
@rizenthe problem is that there is no key on the time stamp17:26
Syn1ah17:26
Syn1ok17:26
Syn1I'll file a bug report17:27
@rizeni'll put a fix into svn for that17:27
@rizenok better yet17:27
@rizendo that17:27
@rizen=)17:27
Syn1ok, hang on17:27
@rizenif there were a key on that, it could delete thousands of records in a heart beat17:27
Syn1http://www.webgui.org/bugs/tracker/no-index-on-usersession-timestamp--weekly-cleanloginhistory17:30
Syn1it's all yours17:30
@rizenit's actually all haarg's17:30
Syn1ah17:30
Syn1well anyway17:30
Syn1I'm happy cause I found a bug17:30
@rizentechnically a performance problem..not a bug17:30
Syn1hehe17:30
Syn1a bug that causes a performance probleem17:31
@rizenwe don't have bugs in webgui17:31
Syn1that is right17:31
@rizenit's code is perfect17:31
Syn1an anomaly then17:31
@rizenindeed17:31
Syn1:)17:31
@rizenbtw...you aren't staying with me for the wuc, right? cuz tessa is coming with you?17:31
Syn1uh17:32
Syn1aint I?17:32
Syn1I don't know if Tessa will or wont17:32
Syn1I am coming, that is for sure17:32
@rizenhmmm17:33
@rizenthat could be a problem17:33
-!- ryuu_ro [n=rory@194.171.50.69] has quit []17:33
Syn1why whould that be a problem?17:33
@rizencuz i think all the rooms in myhouse are already filled for that week17:34
Syn1ah ok17:34
Syn1in that case I'll put a tent on your driveway17:34
@rizeni'll find out who's staying here and get back to you17:35
@rizeni didn't think you were17:35
@rizensince you said before that tessa was coming with you17:35
@rizenbtw17:35
@rizenwhat are you doing your talk on?17:35
@rizenyou haven't gotten back to me17:35
Syn1I know17:35
Syn1I'm getting back to you right now, hang on17:35
Syn1can I do both?17:36
@rizenboth the talks i sent you?17:36
Syn1yea17:37
@rizeni don't know if we have room for that, let me ask vrby17:37
Syn1you know what17:37
Syn1I'll do one during the daytime17:37
Syn1and one in a more interactive way (the 'gauging server needs' one) in the eavning17:37
Syn1if that is ok17:38
@rizeni'll check and get back to you17:39
Syn1ok17:39
@rizenkoen...you have your two talks17:51
@rizenthey'll be added to the schedule today17:51
@rizenone thursday eve17:51
@rizenand one friday morn17:52
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has joined #webgui18:02
-!- mode/#webgui [+v perlDreamer] by ChanServ18:02
-!- dapperedodo [n=dappered@194.171.50.69] has quit []18:06
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has quit ["Leaving."]18:09
-!- dapperedodo [n=dappered@ip56503e61.direct-adsl.nl] has joined #webgui18:30
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has joined #webgui18:31
-!- mode/#webgui [+v MrHairgrease] by ChanServ18:31
-!- jua1 [n=juangui@201.232.58.66] has joined #webgui18:34
jua1hello18:34
+perlDreamerjua1: howdy18:34
-!- estiven [n=estiven@201.232.58.66] has joined #webgui18:35
+perlDreameruh oh, the whole team is here.  What's up guys?18:35
estivenjeje18:36
jua1when in a collaboration system the thread are archived, where can i see them?18:36
+perlDreamerdirectly by URL18:36
+perlDreamermaybe in the Asset Manager, but I'm not sure on that one18:37
@preactionthey'll probably show up in the asset manager18:37
@preactioni think they'll show up in searches too18:37
+perlDreamerthey should, closed bugs do in the tracker18:37
jua1the thing is that i had a collaboration system with some threads, and suddenly i can not find some of them18:38
+perlDreameryou can check the db18:39
jua1i was checking in Post table18:39
+perlDreamersince threads are also posts, some of the thread data will be in there18:39
jua1i try to search threads for an specific assetid but there aren't post in the table18:42
jua1i have several parts of my site that some threas are lost18:46
+perlDreamerCheck to see if you can find them in the Asset Manager.18:47
+perlDreamerAlso, you may want to check the archive settings in your CS (Collaboration System), and make them longer.18:47
jua1no I can not find it in the asset manager18:47
+perlDreamerDid you check in the Trash?18:48
jua1i put in the archive settings and made them longer18:48
jua1yes, i checked in the trash18:49
jua1in a respective webgui update, should disappear them?18:50
+perlDreamerno18:50
+perlDreamerdid you update recently?18:51
jua1about 15 ago18:52
+perlDreamer15 days/hours?18:52
jua1excuseme, days18:52
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has quit [Read error: 110 (Connection timed out)]18:53
+perlDreamerhave you seen the threads since the update?18:55
+perlDreameror just now noticed that they're missing?18:55
jua1just now noticed that they are missing18:58
jua1when they are archived, what happen with them?18:58
jua1if i modify that setting parameter making it longer, the threads should appear?18:59
@preactionno19:01
@preactionthe threads are marked as archived. you would need to unmark them19:02
jua1ok19:02
jua1but i should see them in the asset manager19:03
jua1?19:03
+perlDreamerunless they're gone completely19:08
+perlDreamerif someone deleted the version tag they were created with, they would just disappear19:08
jua1rayos19:11
-!- dapperedodo [n=dappered@ip56503e61.direct-adsl.nl] has quit []19:12
-!- dhelsten [n=helsten@newcastlecapital.com] has left #Webgui []19:22
-!- dapperedodo [n=dappered@ip56503e61.direct-adsl.nl] has joined #webgui19:27
-!- dapperedodo [n=dappered@ip56503e61.direct-adsl.nl] has quit [Client Quit]19:30
jua1if i add a thread in what table will be stored?19:50
+perlDreamerasset, assetData, post and thread19:50
jua1table Post19:50
jua1ok19:51
+perlDreamerand then there's some support tables, like assetHistory and versionTag19:53
jua1perlDreamer, i have something strange, i am checking with one Collaboration System that has two threads, in the table asset and assetData it appears 19:59
jua1but in thread and post, there aren't entries for that assetid19:59
+perlDreamerjua1: that can't be.20:02
+perlDreamerplease try this20:02
+perlDreameradd an assetId template variable to your post template20:03
+perlDreamerand then see if those assetIds exist in the four tables that I told you about20:03
jua1ok20:03
@preactionmay also want to make sure you're looking at the right asset type by checking the className column of the asset table20:04
@rizenjua1, estiven, and lisette, will anyone from the columbian crew make it to the WUC this year?20:06
jua1rizen, probably will buy the conference's memories20:08
@rizenthat's too bad. it's always nice to see some new faces.20:09
estivenjeje20:09
jua1really, we don't know who else use webgui in colombia20:09
@rizendo the 3 of you work at the same place?20:09
estivenwe try, but is very dificult20:09
jua1yes20:09
@rizenmaybe you should start a WebGUI Drink in colombia the just like the Dutch guys do in Holland20:10
-!- dapperedodo [n=dappered@ip56503e61.direct-adsl.nl] has joined #webgui20:10
@rizenso you can meet the other colombians that use WebGUI20:10
estivenmm,20:11
@rizenhttp://www.webgui.org/wg/calendar?type=month;start=2008-04-01%2000:00:0020:11
@rizendirectly to it: http://www.webgui.org/wg/calendar/webgui-drink20:11
jua1what do the people usually do in that events?20:13
+perlDreamerhablar and tomar20:13
estivenjeje20:13
+perlDreamerum, beber20:13
estivenexelente20:13
jua1jajajajajaja20:13
@rizensometimes they give talks, but mostly they sit around drinking beer and sharing ideas20:14
+perlDreamercomo irc con cerveza20:14
estivenuff20:14
@rizensomething about beer on irc?20:14
lisettejajaja20:14
jua1jajajajaja20:14
@rizenman i wish i spoke spanish20:14
+perlDreamerlike irc with beer20:14
jua1that's sounds good20:14
estivenvery good20:15
estivenand where is the location.. normaly?20:15
@rizenthey go to the same pub each time, in amsterdam20:16
@rizenyou guys could just pick your favorite pub in the largest city near you20:16
@rizenor if you're already in a large city...great20:16
jua1what other people in colombia use webgui?20:17
@rizeni don't know. that's the purpose of the webgui drink20:17
@rizenadvertise it on the events calendar20:17
@rizenpost an announcement about it in our news20:17
@rizenyou may even want to set up webgui.co20:17
jua1excellent20:18
@rizenit may be that by doing it you start a following for webgui in colombia. you could be a trend setter20:18
jua1what is a trend setter?20:19
jua1en español20:20
estivenjeje20:20
estivenbueno juan1 a aprender ingles en otro lado....20:20
estivenjeje20:20
+perlDreamerSe usa algo nuevo primero, antes de otros20:20
@rizenjua1: setter de la tendencia20:20
@rizenfrom babelfish...don't know if that means anything in espanol20:21
jua1ok20:21
estiventhanks20:21
jua1gracias20:21
estivenla traduccion es algo asi como pesacdo de babel20:21
@rizenactually i just realized that it's a horrible translation20:22
@rizeni'm just going to shut up now20:22
+perlDreamerit's hard to translate idiomatic phrases20:22
+perlDreameres dificil para traducir frases idiomaticas20:22
estivensip20:22
lisetteyes20:23
jua1ok,20:23
+perlDreamerEs la hora para assitir al gymnasio20:24
+perlDreamergym-time20:24
jua1thanks perlDreamer and rizen for your  help, i am hungry, i am going to eat something. 20:24
estivengymnasio?20:24
jua1or maybe beber cerveza20:24
estivenmejor20:24
estiveni am hungry to20:25
jua1rizen and perlDreamer, you can visit us20:26
jua1colombia is excellent20:26
jua1see you later20:26
@rizenmy wife has been trying to get me to visit there for a long time20:26
@rizenmaybe i'll have to come down20:26
@rizen=)20:26
-!- topsub [n=topsub20@97.66.185.250] has joined #webgui20:27
topsubI have couple questions about over riding a built in asset.20:34
topsubi would like to change how the Search.pm works so i made a SearchExt.pm in a custom directry and would like to just override the view function.. is this possible20:35
@preactionyes. use inheritence and hope20:36
@rizenwhere is this hope coming from20:37
@rizen?20:37
@rizenit will work fine, but per asset naming practices your asset should be called WebGUI::Asset::Wobject::Search::Ext20:38
@rizenso Search::Ext rather than SearchExt20:38
topsubthink i got it working20:45
topsubwell i got the SearchExt using same table as Search20:45
topsuband i will be able to override the view function20:46
topsuband i have it using  WebGUI::Asset::Wobject::Search as a base20:46
topsuband just changing what i need to without rewriting a whole new asset20:46
topsubso far its working..20:47
@rizenI think you'll find that doing what you have done will cause you grief down the road.20:56
topsubrizen, refering to the naming of the asset or using WebGUI::Asset::Wobject::Search as a base?20:59
@preactionnot having another database table20:59
@rizenpreaction hit the nail on the head20:59
@rizenyou're not subclassing appropriately20:59
@preactionif you ever want to add a database table later, it will be much more difficult (since you'll have to populate it with the existing instances of your asset)20:59
@rizeneach asset subclass is supposed to have a new table20:59
topsubhm well i don't want to change anything in the database just change the logic in the view function20:59
@rizenand extend definition21:00
@rizendoesn't matter21:00
@rizenwasn't designed to work that way21:00
topsubhmmm21:00
topsubso even if the 2 tables are the same with how it works because i am subclasses its good to have another table?21:01
topsubso would it be best practice to create a new wobject and copy the search table structure into the new wobject?21:08
-!- dapperedodo [n=dappered@ip56503e61.direct-adsl.nl] has quit []21:08
@preactionno. you extend the definition much like Thread extends from Post21:11
topsubok, thanks. we'll take a look at those two modules for reference. 21:12
jua1perlDreamer, excuseme i continue with the same thread's problems21:36
jua1the assetid field in the post table is the collaboration system assetid 21:38
jua1besides some of the collaborations systems had the original template, should be a cause of this problem?21:40
CIA-22WebGUI: yung * r5955 /WebGUI/ (2 files in 2 dirs): Thingy now shows all field types when editing a field.21:55
+perlDreamerin the Post table, assetId is supposed to be the id of the Post, not the CS.  The template of the CS should not cause the problem.22:23
-!- lisette [n=liraos@201.232.58.66] has quit [Read error: 110 (Connection timed out)]22:46
-!- jua1 [n=juangui@201.232.58.66] has quit [Read error: 110 (Connection timed out)]22:46
-!- estiven [n=estiven@201.232.58.66] has quit [Read error: 110 (Connection timed out)]22:47
-!- estiven [n=estiven@201.232.58.66] has joined #webgui22:54
+perlDreamerDonde fueron ustedes, estiven?22:55
estiveninternet conection problem22:57
estivenun problema de internet en la oficina22:58
-!- juan [n=juangui@201.232.58.66] has joined #webgui22:58
-!- lisett1 [n=liraos@201.232.58.66] has joined #webgui22:59
estivenlisette y juan no se han reconectado22:59
lisett1yo si22:59
juanme too22:59
-!- topsub [n=topsub20@97.66.185.250] has quit [Read error: 110 (Connection timed out)]23:04
-!- SDuensin [n=Scott@120.sub-75-206-173.myvzw.com] has quit ["Leaving"]23:12
-!- Syn2 [n=synq@e97024.upc-e.chello.nl] has joined #WebGUI23:17
Syn2ok23:18
Syn2who can help me to a nice name23:18
+perlDreamerguenter23:18
+perlDreamerhelga23:18
+perlDreamerpyotir23:18
+perlDreameremelda23:18
+perlDreamerare those okay?23:18
+perlDreameris this a software name?23:19
juani like emelda23:19
estiveni like emelda too23:19
lisett1i like emelda too23:20
lisett1for what?23:20
+perlDreamerSyn2: Yeah, what's the name for?23:20
Syn2hmm23:22
Syn2the name is for a hosing service23:22
@rizenHostMax 500023:22
@rizenhehe23:22
@rizenWhat about "HAL"23:22
+perlDreamerI'd suggest Procolix, but that's taken23:22
Syn2to short23:22
Syn2procolix is for business23:23
Syn2I need a name for end users23:23
@rizenkoenhost23:23
lisett1emelda is well23:23
Syn2websnail?23:23
@rizenkoenation23:23
+perlDreamerYourHome23:24
@rizenwhat about WebSail in reference to your affinity for sailing23:24
Syn2ok23:24
Syn2lets see what google sais23:24
Syn2websail exists23:25
@rizenhost it your way23:25
@preactionsailbox23:25
@preactionsailhost23:25
@rizenwebsailing23:25
Syn2I'd prefer a name that perhaps does not have the name web in it23:25
@rizensailhost23:25
@rizenoh then that's very easy23:25
+perlDreamerTwo all-beef processors, special Net, drives and RAM23:25
@rizenwhat's your favorite color Koen?23:25
+perlDreamerplainKoen23:25
Syn2black23:25
@rizenBlackSail it is23:26
@rizenthat's very cool sounding23:26
+perlDreamerBlackSail, hosting for pirates!23:26
@preactionyar23:26
Syn2hehe23:27
Syn2well23:27
@rizenshiver me servers matee23:27
+perlDreameryo ho ho and bottle of 'net juice23:27
Syn2I think I'll have to come up with something like procolix23:27
Syn2that doesn't actually mean something23:27
@rizenthat's easy23:28
@rizenjust close your eyes23:28
@rizenand press a bunch of keys23:28
@rizenlike this: lkqewlkqwe23:28
@rizenthat even sounds dutch23:28
estivenjeje exelent23:28
Syn2hmm23:28
lisett1jajaja23:28
+perlDreamername it after your dog, Syn223:28
Syn2cantos?23:28
@rizenoooh..here's an idea23:28
@rizenxenox23:29
Syn2cantos is taken23:29
@rizenxen + box23:29
@rizenxenox23:29
Syn2oh, but it is not for xen23:29
@rizenoh23:29
Syn2it's for shared hosting23:29
+perlDreamerTinyBoxen23:29
Syn2boxen sounds funny23:30
lisett1yes, like me23:30
lisett1boxen!23:30
lisett1this is!23:30
Syn2nakkes.nl23:30
@rizenpubox23:30
Syn2pubics ?23:31
@rizenpublic box23:31
Syn2pubic box23:31
Syn2not to mention the eggs23:31
+perlDreamerno eggs!23:31
@rizenhomass23:31
@rizenhosting for the masses23:31
+perlDreamerEieren verboten!23:31
@rizendashbox and your logo could be [ - ]23:32
-!- dapperedodo [n=dappered@ip56503e61.direct-adsl.nl] has joined #webgui23:33
+perlDreamerdashbox.com seems to be open23:33
Syn2hi there23:34
Syn2xilocorp.nl ?23:34
dapperedodohey sync23:35
+perlDreamerxilocaine is a derivative of novocaine, which is a pain killer.23:35
+perlDreamerit could be painless hosting23:35
dapperedodoI will be the opposite of procolix:)23:35
Syn2hehe23:35
Syn2no pain no gain23:37
+perlDreamerrizen: how bad of an idea would it be to move the collateral API out of Wobject and put it into Asset*.pm?23:50
juancan I obtain the weather from weather.com in Celsius23:50
juan?23:51
@rizenpd...what would the point of wobjects be then?23:51
@rizenwobjects only do 2 things23:51
juanbecause i had obtained and xml feed but it was in Fahrenheit23:51
@preactioni'd say put it into a mixin, as well as the other minor things wobjects do and abolish the wobject entirely23:51
@rizenpreaction...are you going to do all the work to convert all those assets?23:52
+perlDreamerjuan: you'd have to see if there's a separate feed, or more options for the feed in xml23:52
@rizenwobjects also give you a number of fields23:52
@rizenthat couldn't be created as part of the mixin23:52
+perlDreameror, write some JS to convert it to farenheit in the template23:53
juanok23:53
@preactionmixins using Perl's mixin.pm can add things to the definition in much the same way subclassing assets works23:54
juanthanks23:54
--- Day changed Thu Mar 27 2008
+perlDreamerrizen: I'm not in love with the idea, but you know how I hate code copied everywhere.00:00
@rizenwhat copied code00:02
+perlDreamerthe collateral handling code00:03
@rizenthere shouldn't be setCollateral methods in the new product00:03
@rizeni told you to switch them00:03
@rizento setRow00:03
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."]00:12
-!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"]00:24
+perlDreamerit seems weird to duplicate the collateral API in the SKU/Product with setRow when there's a perfectly good one just sitting nearby.00:28
Syn2I've got a wierd problem00:41
+perlDreamerWhat is it?00:42
Syn2I'm trying to upload a large file to a webgui site00:42
Syn2and it stops each time after exactly 15 minutes00:42
Syn2with a 500 erro00:42
Syn2error00:42
+perlDreamerhow big si the file?00:42
Syn2100M+00:43
+perlDreamerDoesn't Apache have a hard limit of 25 Mb on uploaded files?00:43
Syn2no00:43
-!- Haarg [n=haarg@66-168-19-128.dhcp.mdsn.wi.charter.com] has joined #webgui00:43
-!- mode/#webgui [+o Haarg] by ChanServ00:43
Syn2a file of 92M was uploaded painless00:43
Syn2ly00:44
+perlDreamerbut 100Mb was too big00:44
+perlDreameror had some other problem00:44
Syn2I guess so00:44
Syn2the 500 error is not very informative00:44
+perlDreameryou should talk to Haarg or rizen, they're much more Apache literate than I00:44
Syn2is it an apache problem?00:45
Syn2I doubt it00:45
Syn2how long can a webgui process run?00:45
Syn2in the wre?00:45
+perlDreamerthere are length of limits on processes?00:49
Syn2there are00:52
Syn2I'm now adjusting that and trying again00:52
+perlDreamerI knew there were size limits, but not time limits00:52
@rizeni know there is a limit of 100mb but i have no idea why00:53
-!- juan [n=juangui@201.232.58.66] has left #webgui []00:54
-!- lisett1 [n=liraos@201.232.58.66] has left #webgui []00:54
-!- estiven [n=estiven@201.232.58.66] has left #webgui []00:54
Syn2it's not a time limit00:56
Syn215 minutes is the time it takes before my upload from home reaches 100M00:56
Syn2k01:04
Syn2it's time for bed01:04
Syn2there is a 100M limit on the size of the process01:05
Syn2and that is a good thing01:05
Syn2:)01:05
Syn2but you'll have to change that if you want your users to be able to upload larger files01:05
Syn2since the go into memory entirely01:05
+perlDreamerPLONE SUCKS01:09
Syn2plone sucks more than webgui01:09
+perlDreamermuch more01:10
+perlDreamerPlone doesn't even have a file pile01:10
Syn2plone probably also doesn't have a shitting elephant as an error message01:10
Syn2which sucks less :)01:11
+perlDreamerWebgui has that?  cool01:11
Syn2that is not cool01:11
Syn2it is a shitting elephant01:11
Syn2try trashing your database01:11
+perlDreamerSyn2: You've lost me.01:11
Syn2it is probably an easteregg01:12
+perlDreamerAre you saying that uploading the 100 MB file trashed your db?01:12
Syn2no01:12
Syn22 days ago01:12
Syn2I was trying to empty the system trash on a 6.7.8 site01:12
Syn2but I couldn't open the system trash page01:13
Syn2cause each time I got there I was redirected to a page of a shitting elephant01:13
+perlDreamerI've never seen that one.01:13
+perlDreamerand I know where all the easter eggs in wG are01:13
Syn2http://www.theplacetostay.com/marc/images/old/elephant%20shit.jpg01:14
+perlDreamerup through 7.401:14
Syn2that elephant01:14
Syn2is what I got01:14
+perlDreameryou're right, that's a crappy error message01:15
Syn2hehe01:16
Syn2well01:16
Syn2the strange part is01:16
+perlDreamerhow did you fix it?  Did you fix it?01:16
Syn2when I asked JT about the shitting elephant01:16
Syn2he understood immediately what I meant01:17
Syn2and yes I did fix it01:17
Syn2by issueing hundreds of delete from asset where assetId='alkjOUJGDnsdf';01:17
Syn2and delete from assetData01:17
Syn2and delete from assetHistory01:17
Syn2and delete from Thread01:17
Syn2since what caused it where copy's of threads whithin threads01:18
Syn2which shouldn't be possible01:18
Syn2and make your site barf01:18
Syn2and the elephant shit01:18
Syn2but hey01:18
Syn2I am the idiot that lets sites run on webgui 6.7.8 for two years01:18
Syn2:)01:18
+perlDreamereh01:19
+perlDreameryou would just have found the elephant sooner01:19
Syn2perhaps01:19
@rizenperldreamer: you are welcome to make the collateral methods a mixin, but you cannot put them into the asset superclass01:19
Syn2maybe I should be glad that I found the elephant01:19
@rizenthen just make both product and wobject use the mixin01:19
+perlDreamerokay01:20
@preactiondoes this mean mixin.pm is going to be required WebGUI module?01:21
+perlDreameronly if that's the way that it works01:21
@rizenand preaction: you're welcome to get rid of "wobject" as a concept", but you need to convert all the existing assets...and keep the wobject class around for backward compatibility01:21
@preactionoh. i don't think mixin.pm will work that way. it might need to be a different module01:22
* perlDreamer is hoping for a much simpler way, or maybe just doing rizen said in the first place which is probably faster and easier.01:22
@preactionmixin.pm has a "with ClassName" which fixes inheritence. unless Product is itself an Asset subclass, it might not work01:22
@rizeni want to take stuff out of asset, not add more to it. =)01:22
@preactionyeah, i agree with taking stuff out of asset01:22
@rizendinner time01:23
Syn2http://www.theplacetostay.com/marc/images/new/bullshit.jpg would be a great easteregg01:23
@rizenbye for now01:23
* perlDreamer envisions a dog with its legs crossed, and realizes it is time to go home01:23
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has quit ["Download Gaim: http://gaim.sourceforge.net/"]01:23
Syn2sleeping time01:23
Syn2nite01:23
-!- Syn2 [n=synq@e97024.upc-e.chello.nl] has left #WebGUI []01:25
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI01:38
-!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui02:09
-!- mode/#webgui [+v Radix-wrk] by ChanServ02:09
-!- wgGuest68 [i=WebGUIUs@adsl196-160-48-217-196.adsl196-10.iam.net.ma] has joined #webgui03:14
wgGuest68hi all03:15
wgGuest68I need some help03:15
@preactionwgGuest68, ask, we'll help if we can03:16
wgGuest68ok thanks03:16
wgGuest68my broblem is03:16
wgGuest68when i run modperl-install.bat03:16
wgGuest68i get an error msg 03:16
wgGuest68taha the file modperl.conf don't exist03:17
wgGuest68?03:18
@preactioni don't know anything about installing the WRE on windows03:19
wgGuest68ooo 03:19
+Radix-wrksame here I'm afraid03:20
+Radix-wrkconsidered vmware server + webgui image? :)03:20
wgGuest68I don't know realy what it is about03:23
wgGuest68is it easier to install wre in ubunto ?03:24
wgGuest68tu03:24
wgGuest68?03:27
+Radix-wrkthe wre is available for a number of platforms, but windows is probably the most flakey of the lot unfortunately03:27
+Radix-wrkmost people use either rhel or centos, or ubuntu or debian03:27
wgGuest68aah 03:27
wgGuest68so I will install it in ubuntu03:27
+Radix-wrksounds like a good plan :)03:28
wgGuest68:) yes03:28
+Radix-wrki will say tho that vmware is a great way of trying it out and even good for smaller sites03:28
wgGuest68I have to install apache and mysql ... separatly03:29
+Radix-wrkvmware server is free for windows, and you can get the vmware appliance image03:29
+Radix-wrkit's already installed, and ready to go, just start it up03:29
+Radix-wrkvmware has a few neat things - it's totally virtual, so you can move it to another machine later if you want.  You can take snapshots of it and roll back to those points if you run into a problem, etc03:30
wgGuest68gooooood03:30
+Radix-wrkthis is awesome when you're doing updates or making critical changes that might break things03:30
wgGuest68and what about activeperl03:30
wgGuest68i have to install it in ubuntu ?03:31
+Radix-wrkOn the downside, it's a bit slower as it's running in a virtual machine03:31
@preactionno. the WRE contains all the things you need, even on windows03:31
wgGuest68thanks :)03:33
wgGuest68I will turn to ubuntu and install it now try it :)03:33
-!- wgGuest68 [i=WebGUIUs@adsl196-160-48-217-196.adsl196-10.iam.net.ma] has quit []03:34
CIA-22WebGUI: doug * r5956 /WebGUI/ (14 files in 10 dirs): 05:21
CIA-22WebGUI: fix: Fixed permission issues with Gallery comments05:21
CIA-22WebGUI: Gallery now checks to see if it's committed before allowing Albums to be added05:21
CIA-22WebGUI: Slideshow and thumbnails work better05:21
CIA-22WebGUI: Much, much more05:21
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Connection timed out]05:38
-!- dapperedodo [n=dappered@ip56503e61.direct-adsl.nl] has quit []08:45
-!- ryuu_ro [n=rory@194.171.50.69] has joined #webgui08:47
-!- dapperedodo [n=dappered@194.171.50.69] has joined #webgui09:10
-!- Radix-wrk [n=Jesse@203.161.68.67] has quit ["Leaving"]09:48
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui10:51
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has quit ["Leaving"]12:51
-!- ryuu_ro_ [n=rory@194.171.50.69] has joined #webgui13:38
-!- ryuu_ro [n=rory@194.171.50.69] has quit [Read error: 104 (Connection reset by peer)]13:38
-!- jdanpl [n=jdanpl@xdsl-461.lubin.dialog.net.pl] has joined #webgui13:42
-!- dapperedodo [n=dappered@194.171.50.69] has quit []13:59
-!- dapperedodo [n=dappered@194.171.50.69] has joined #webgui14:18
-!- dapperedodo [n=dappered@194.171.50.69] has quit [Client Quit]14:19
-!- SDuensin [n=Scott@141.sub-75-204-116.myvzw.com] has joined #WebGUI14:32
-!- estiven [n=estiven@201.232.58.66] has joined #webgui14:34
-!- BartJol [n=plainstu@host2.procolix.com] has joined #webgui14:42
jdanplHi everybody. Quick question. How to enter value from macro do variable in HTML::Template::Exprs parser? When I write <tmpl_var uid="^#();"> system returns <tmpl_var uid="YWuG1OFeEoeWKOQhiXdCiw">16:14
jdanplin HTML code16:14
jdanplSo, parser don't see <tmpl_va tag16:15
-!- jua1 [n=juangui@201.232.58.66] has joined #webgui16:17
estivenok, but, what you want?16:19
-!- lisette [n=liraos@201.232.58.66] has joined #webgui16:19
jdanplI want use some data from macros in expresions16:20
estivendo you need pass de value return by macro to a variable template?16:20
jdanplno, but is seems the simple way16:21
jdanplAnother will be makeing own parser16:21
jdanplI think transfer data to parser variables is very important16:22
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui16:24
estivenok but, i not understan the problem yet..16:25
jdanplSo again. I have to make some expresions inside template. I am using HTML::Template::Exprs parse. In order compare, for example, uid i must transfer UID to variable.16:26
jdanplLike this  <tmpl_var uid="^#();">16:26
jdanplAnd system returns in HTML <tmpl_var uid="YWuG1OFeEoeWKOQhiXdCiw">16:27
jdanplSo macro was done, but parser didn't see tak "tmpl_var"16:27
jdanpldidn't see tag16:28
jdanplQuestion is how to enter some data from macros to expresions16:28
jdanplOr is another way to access some data from $session{} inside template expresions?16:30
jdanplI will not make new parser and write  $template->param(varname => value) for each www page16:33
jdanplI don't want write dedicated parsers16:35
BartJolthat's because macro's are later processed then template variables...16:59
BartJolso that will be hard16:59
jdanplI thought about it. But I don't see any other solution17:02
BartJolmmm17:02
BartJolthen maybe it is possible to create your own variables that get information out of the session17:02
-!- ryuu_ro_ [n=rory@194.171.50.69] has quit []17:02
BartJolbut I haven't done that before, so I'm not sure how to create those17:03
BartJolshouldn't be to hard17:03
jdanplyes, now I have plan to prepare new parser and make virtual variables which get data from WebGUI system17:04
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."]17:05
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui17:10
BartJolgood luck then jdanpl17:11
-!- GooeyOfSteel [n=puppetma@hq.imaterial.org] has joined #webgui17:11
GooeyOfSteelWiki: Override Core Modules - Edited on 3/25/2008 3:03 pm by topsub  http://www.webgui.org/community-wiki/override-core-modules17:12
GooeyOfSteelWiki: Override Core Modules - Edited on 3/25/2008 1:07 pm by topsub  http://www.webgui.org/community-wiki/override-core-modules17:12
GooeyOfSteelWiki: WebGUI Search System - Edited on 3/25/2008 11:59 am by colink  http://www.webgui.org/community-wiki/webgui-search-system17:12
GooeyOfSteelWiki: WRE for Windows - Edited on 3/25/2008 11:31 am by knowmad  http://www.webgui.org/community-wiki/wre-for-windows17:12
GooeyOfSteelWiki: WRE for Windows - Edited on 3/25/2008 11:00 am by knowmad  http://www.webgui.org/community-wiki/wre-for-windows17:12
GooeyOfSteelWiki: Override Core Modules - Edited on 3/25/2008 10:52 am by knowmad  http://www.webgui.org/community-wiki/override-core-modules17:12
GooeyOfSteelWiki: Include Macro - Edited on 3/25/2008 12:56 am by hyartep  http://www.webgui.org/community-wiki/include-macro17:12
GooeyOfSteelWiki: Asset Proxy Macro - Edited on 3/25/2008 12:54 am by hyartep  http://www.webgui.org/community-wiki/asset-proxy-macro17:12
GooeyOfSteelWiki: Wobject Cookbook - Edited on 3/24/2008 9:08 am by dionak  http://www.webgui.org/community-wiki/wobject-cookbook17:12
GooeyOfSteelWiki: Wobject Cookbook - Edited on 3/24/2008 9:07 am by dionak  http://www.webgui.org/community-wiki/wobject-cookbook17:12
GooeyOfSteelWiki: WRE Installation - Edited on 3/24/2008 8:02 am by koen  http://www.webgui.org/community-wiki/wre-installation17:12
GooeyOfSteelWiki: MySQL Replication - Edited on 3/23/2008 5:36 pm by koen  http://www.webgui.org/community-wiki/mysql-replication17:12
GooeyOfSteelWiki: Wobject Cookbook - Edited on 3/19/2008 1:01 pm by dionak  http://www.webgui.org/community-wiki/wobject-cookbook17:12
GooeyOfSteelWiki: MySQL Replication - Edited on 3/19/2008 10:22 am by knowmad  http://www.webgui.org/community-wiki/mysql-replication17:12
GooeyOfSteelWiki: MySQL Replication - Created on 3/19/2008 10:14 am by knowmad  http://www.webgui.org/community-wiki/mysql-replication17:12
GooeyOfSteelWiki: Login Toggle Macro - Edited on 3/19/2008 5:36 am by robbert  http://www.webgui.org/community-wiki/login-toggle-macro17:12
GooeyOfSteelWiki: Wobject Cookbook - Edited on 3/17/2008 10:11 pm by dionak  http://www.webgui.org/community-wiki/wobject-cookbook17:12
GooeyOfSteelWiki: Wobject Cookbook - Edited on 3/17/2008 10:08 pm by dionak  http://www.webgui.org/community-wiki/wobject-cookbook17:13
GooeyOfSteelWiki: File Template Variables - Edited on 3/17/2008 10:01 pm by dionak  http://www.webgui.org/community-wiki/file-template-variables17:13
GooeyOfSteelWiki: file template variables - Edited on 3/17/2008 9:59 pm by dionak  http://www.webgui.org/community-wiki/file-template-variables17:13
GooeyOfSteelWiki: Wobject Cookbook - Edited on 3/17/2008 9:50 pm by dionak  http://www.webgui.org/community-wiki/wobject-cookbook17:13
CIA-22WebGUI: yung * r5957 /WebGUI/ (15 files in 3 dirs): Added an optionsSettable flag to form types that have an options property17:13
GooeyOfSteelWiki: Table of Contents - Edited on 3/17/2008 9:49 pm by elnino  http://www.webgui.org/community-wiki/table-of-contents17:13
CIA-22WebGUI: yung * r5958 /WebGUI/ (3 files in 3 dirs): fixed: Thingy: field type includes things without fields17:13
GooeyOfSteelWiki: Table of Contents - Edited on 3/17/2008 9:46 pm by elnino  http://www.webgui.org/community-wiki/table-of-contents17:13
GooeyOfSteelWiki: file template variables - Created on 3/17/2008 9:45 pm by elnino  http://www.webgui.org/community-wiki/file-template-variables17:13
GooeyOfSteelWiki: Asset Cookbook - Edited on 3/17/2008 9:03 pm by dionak  http://www.webgui.org/community-wiki/asset-cookbook17:13
GooeyOfSteelWiki: Asset Cookbook - Edited on 3/16/2008 8:07 pm by knowmad  http://www.webgui.org/community-wiki/asset-cookbook17:13
GooeyOfSteelWiki: Asset Cookbook - Created on 3/16/2008 4:40 pm by knowmad  http://www.webgui.org/community-wiki/asset-cookbook17:13
GooeyOfSteelWiki: sqlreport - Edited on 3/14/2008 12:26 am by elnino  http://www.webgui.org/community-wiki/sqlreport17:13
GooeyOfSteelWiki: sqlreport - Edited on 3/12/2008 10:43 pm by dionak  http://www.webgui.org/community-wiki/sqlreport17:13
GooeyOfSteelWiki: WRE-FAQ - Edited on 3/11/2008 2:31 pm by dionak  http://www.webgui.org/community-wiki/wre-faq17:13
GooeyOfSteelWiki: WRE-FAQ - Edited on 3/11/2008 1:28 pm by dionak  http://www.webgui.org/community-wiki/wre-faq17:13
GooeyOfSteelWiki: creating custom profile fields for users - Edited on 3/10/2008 2:58 pm by elnino  http://www.webgui.org/community-wiki/creating-custom-profile-fields-for-users17:13
GooeyOfSteelWiki: creating custom profile fields for users - Created on 3/10/2008 2:52 pm by elnino  http://www.webgui.org/community-wiki/creating-custom-profile-fields-for-users17:13
nubathats some backlog there17:13
GooeyOfSteelWiki: Customizing WRE Configuration - Edited on 3/7/2008 4:29 pm by knowmad  http://www.webgui.org/community-wiki/customizing-wre-configuration17:13
GooeyOfSteelWiki: Customizing WRE Configuration - Edited on 3/7/2008 3:17 pm by grnoc  http://www.webgui.org/community-wiki/customizing-wre-configuration17:13
GooeyOfSteelWiki: WRE-Building - Edited on 3/7/2008 2:38 pm by Graham  http://www.webgui.org/community-wiki/wre-building17:13
GooeyOfSteelWiki: WRE-Building - Edited on 3/7/2008 2:37 pm by Graham  http://www.webgui.org/community-wiki/wre-building17:14
GooeyOfSteelWiki: Login Toggle Macro - Edited on 3/7/2008 6:34 am by robbert  http://www.webgui.org/community-wiki/login-toggle-macro17:14
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["trying it one more time without nvidia drivers"]17:18
-!- lisette [n=liraos@201.232.58.66] has quit ["Leaving."]17:20
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui17:21
-!- mode/#webgui [+o preaction] by ChanServ17:21
-!- lisette [n=liraos@201.232.58.66] has joined #webgui17:27
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui17:29
-!- Haarg [n=haarg@66-168-19-128.dhcp.mdsn.wi.charter.com] has quit ["Leaving"]18:02
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["switching machines"]18:04
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui18:04
-!- dapperedodo [n=dappered@194.171.50.69] has joined #webgui18:05
dapperedodois there a demo site for the 7.5.x branch available?18:05
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [Client Quit]18:06
@preactiondapperedodo, http://beta.webgui.org18:07
dapperedodothanks18:07
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has quit ["Leaving."]18:08
-!- Haarg [n=haarg@66-168-19-128.dhcp.mdsn.wi.charter.com] has joined #webgui18:13
-!- mode/#webgui [+o Haarg] by ChanServ18:13
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui18:15
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."]18:23
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui18:27
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [Client Quit]18:28
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui18:31
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has joined #webgui18:52
-!- mode/#webgui [+v perlDreamer] by ChanServ18:52
-!- BartJol [n=plainstu@host2.procolix.com] has quit [Read error: 113 (No route to host)]18:54
CIA-22WebGUI: yung * r5959 /WebGUI/ (docs/changelog/7.x.x.txt lib/WebGUI/Asset/Wobject/Thingy.pm): fixed: Thingy: problems editing/viewing records19:04
perlmonkey2Lunch: 7-11 for bag of chips, bottle of Dr. Pepper and 2L of Coke.19:15
perlmonkey2Daz has we roll around here.19:15
@preactionwhut19:16
perlmonkey2Just bragging about the extravigant lunches I'm used to.19:25
perlmonkey2s/i/a/19:25
@rizenthat's a pretty horrible lunch19:26
@rizenthough, i'm sure tasty19:27
ckotilwhy so much cola?19:28
CIA-22WebGUI: graham * r5960 /WebGUI/docs/ (upgrades/upgrade_7.5.7-7.5.8.pl changelog/7.x.x.txt): added: Database index on userSession.expires field to speed up workflows19:30
CIA-22WebGUI: graham * r5961 /WebGUI/t/Asset/Wobject/Gallery/permission.t: small test fix19:30
CIA-22WebGUI: graham * r5962 /WebGUI/docs/create.sql: preparing for 7,5,8 release19:30
+perlDreamerckotil: caffeine and sugar => hacker energy19:32
@rizenand a big fat belly19:32
+perlDreamerexactamundo, rizenator19:33
@rizeni should know...survived on it for years, and am now trying to get rid of the belly19:33
+perlDreamerme, too19:33
@rizentrue...and you're actually succeeding19:33
@rizenyou're an inspiration to us all19:33
+perlDreamerWUC tells all :)19:35
+perlDreamerspeaking of which, it's gym time again19:35
+perlDreamer140 pushups on Tuesday, I'm worried that coach wants to set a record today19:35
-!- perlDreamer is now known as self-19:36
-!- self- is now known as DrPushUp19:36
ckotilwow19:40
perlmonkey2ckotil: I need the coke for this evening.  I fI don't have the surey in beta by Monday two researchers are going to be out of a grant and very cross with me.19:48
perlmonkey2Although I told them I'm basically giving them everything that SurveyMonkey has minus the matrix question type, and I bet SurveyMonkey had more than one developer who probably weren't doing this mostly in their spare time.19:50
perlmonkey2Plus the interface to SurveyMonkey is just awful.....nearly pitiful.19:50
ckotilyeah, i drink too much vault20:01
-!- BartJol [n=plainstu@52-167.surfsnel.dsl.internl.net] has joined #webgui20:05
CIA-22WebGUI: jt * r5963 /releases/WebGUI_7.5.8-beta: Release 7.5.8-beta20:29
-!- jdanpl [n=jdanpl@xdsl-461.lubin.dialog.net.pl] has quit ["Leaving"]20:56
-!- DrPushUp is now known as perlDreamer20:57
+perlDreamersorry about that, preaction.21:06
+perlDreamerthe MySQL.t test should be renamed userNaziCheckingTest.t21:07
@preactionuhh?21:07
+perlDreameryou fixed a test that causing another test to fail because it left a user behind21:08
-!- dapperedodo_ [n=dappered@194.171.50.69] has joined #webgui21:10
-!- dapperedodo [n=dappered@194.171.50.69] has quit [Read error: 104 (Connection reset by peer)]21:10
-!- dapperedodo [n=dappered@194.171.50.69] has joined #webgui21:11
-!- dapperedodo_ [n=dappered@194.171.50.69] has quit [Read error: 104 (Connection reset by peer)]21:11
@preactionahh21:14
CIA-22WebGUI: graham * r5964 /WebGUI/ (4 files in 4 dirs): preparing for 7.5.9 dev21:29
CIA-22WebGUI: graham * r5965 /WebGUI/ (3 files in 3 dirs): fixed: Collaboration System attachments follow site's max size instead of CS's21:29
CIA-22WebGUI: graham * r5966 /WebGUI/ (docs/changelog/7.x.x.txt lib/WebGUI/Form/HTMLArea.pm): fixed: Rich editor image uploader doesn't follow size limits21:29
-!- bi7ch` [n=alex4e@khan-madar.ddns.easy-lan.net] has joined #webgui21:35
-!- bi7ch` [n=alex4e@khan-madar.ddns.easy-lan.net] has left #webgui []21:35
-!- pvanthony [n=pvanthon@bb219-74-116-98.singnet.com.sg] has joined #webgui22:04
pvanthonyI am unable to add any article. Checked spectra and it is running.22:05
pvanthonydid a check on another website running on the same wre and it is working fine.22:06
pvanthonysame server too.22:06
BartJoljust saw your forum post22:06
pvanthonyany suggestions?22:06
BartJolam afraid not, only updating your database, but that sounds a bit drastic22:07
pvanthonyWebgui version 7.4.30 and wre 0.8.322:07
BartJolI mean update the fields of your db22:07
BartJolI've seen something like that before22:08
BartJolbut not sure what can be done22:08
-!- pvantony [n=pvanthon@bb219-74-116-98.singnet.com.sg] has joined #webgui22:08
BartJoldoes the webgui.log give you some errors?22:08
pvantonywill check now22:08
pvantonyno error about version22:14
pvantonyis there any other place I can check?22:14
BartJolwill have a look22:16
pvantonythank you for taking the time to help.22:16
BartJolwremonitor.log maybe, same directory22:16
BartJolnp22:16
pvantonyall is well with spectra22:17
-!- dapperedodo [n=dappered@194.171.50.69] has quit [Read error: 104 (Connection reset by peer)]22:17
-!- dapperedodo [n=dappered@194.171.50.69] has joined #webgui22:17
BartJolbut I'm a bit of a newby on these matters, so don't get your hopes up too high22:17
BartJolhee joeri22:17
pvantonyI understand22:18
pvantonyno problem22:18
perlmonkey2hmm, date type questions....how should the dates be stored internally?  unix epoch?22:20
+perlDreamerperlmonkey2: mysql format22:21
+perlDreamersee WebGUI::DateTime22:22
perlmonkey2YYYY-mm-dd hh:mm:ss ?22:23
perlmonkey2groovy22:23
+perlDreamerpvanthony: __if__ (big if) your site's approval workflow was Requires Approval, and no one was getting the emails for approval, that would behave exactly the same as you've described.22:23
pvantonychecked the site inbox and there is no mail.22:24
pvantonywill check again now22:24
+perlDreamercheck to see what the commit type is, in the settings22:25
+perlDreamerContent tab, I think?22:25
-!- pvanthony [n=pvanthon@bb219-74-116-98.singnet.com.sg] has quit [Read error: 110 (Connection timed out)]22:25
pvantonyjust checked the inbox and no email22:26
+perlDreamerCheck the commit type next, just to put it completely to bed.22:26
pvantonycommit without approval22:27
+perlDreamerokay, so the whole premise is wrong.22:27
pvantonyI did some rollback. I think that caused the problem.22:28
pvantonyjust guessing.22:28
+perlDreamerrollback will delete version tags, not cause them to be pending.22:28
+perlDreamerCan you set a pending version tag to be your current version tag and commit it?22:29
pvantonyno button to commit.22:29
pvantonyis there some way to just unlock everything? Like superuser power.22:30
+perlDreameryou could change it in the db, but if there's a real problem that won't fix it22:31
pvantonyunderstand that.22:31
pvantonyI doubt there is anything wrong with WebGUI. Most likely I must have done something stupid22:32
+perlDreamerAre you familiar with SQL?22:32
pvantonya little22:34
pvantonyI could use webmin also 22:34
pvantonygo to the table and change the flag22:35
+perlDreamerWell, can you restore the old site from a backup?  That would be safer.22:35
pvantonyIf I had a back up22:35
+perlDreamerno backups?22:35
+perlDreamerDoesn't the WRE make backups automatically for you?22:35
pvantonyI must start some daily backup22:35
-!- dapperedodo [n=dappered@194.171.50.69] has quit [Read error: 104 (Connection reset by peer)]22:35
pvantonylet me check. 22:36
+perlDreamerwhen did you upgrade last?  It makes a backup.22:36
pvantonyok will check now22:36
-!- dapperedodo [n=dappered@194.171.50.69] has joined #webgui22:36
+perlDreamerafter you're done checking TURN ON THE BACKUPS :)22:36
BartJolwell installing a beta version is something differnt again22:38
BartJolah LocalAddr is undef22:39
BartJol127.0.0.1 probably is better?22:40
-!- dapperedodo_ [n=dappered@194.171.50.69] has joined #webgui22:41
-!- dapperedodo [n=dappered@194.171.50.69] has quit [Read error: 104 (Connection reset by peer)]22:41
BartJolmmm that doesn't help22:41
BartJolserver name also gives no result22:43
-!- dapperedodo_ [n=dappered@194.171.50.69] has quit [Read error: 104 (Connection reset by peer)]22:43
pvantonyto turn on back, it is done at wreconsole correct?22:44
pvantonyto turn on backup, it is done at wreconsole correct?22:44
-!- dapperedodo [n=dappered@194.171.50.69] has joined #webgui22:44
+perlDreamerpvanthony, I would check the wiki.  I'm not a WRE user.22:45
pvantonysorry I will do that.22:45
pvantonythank you for helping. One more question.22:45
+perlDreamersure22:45
pvantonywhich tables should I look into for the version problem22:46
+perlDreamerasset, assetData and versionTag22:46
pvantonythank you. 22:46
+perlDreamerin the wre docs directory, there is an install file called install.txt22:47
-!- dapperedodo [n=dappered@194.171.50.69] has quit [Read error: 104 (Connection reset by peer)]22:47
+perlDreamerit says how to do backups manually22:47
pvantonycool thanks.22:47
pvantonywill do a backup then mess with it.22:47
-!- dapperedodo [n=dappered@194.171.50.69] has joined #webgui22:47
+perlDreameryes, the WRE console will do backups22:48
CIA-22WebGUI: graham * r5967 /WebGUI/docs/ (changelog/7.x.x.txt upgrades/upgrade_7.5.8-7.5.9.pl): make sure all tables are using UTF-822:50
CIA-22WebGUI: graham * r5968 /WebGUI/ (docs/changelog/7.x.x.txt lib/WebGUI/Asset/Wobject/Poll.pm): fixed: Poll question/answers with international text corrupted22:50
-!- SDuensin [n=Scott@141.sub-75-204-116.myvzw.com] has quit ["Leaving"]22:52
-!- dapperedodo_ [n=dappered@194.171.50.69] has joined #webgui22:53
-!- dapperedodo [n=dappered@194.171.50.69] has quit [Read error: 104 (Connection reset by peer)]22:53
-!- dapperedodo_ [n=dappered@194.171.50.69] has quit [Client Quit]22:55
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui22:59
-!- elnino [n=ninow@user-38q49cv.cable.mindspring.com] has joined #webgui23:25
elninohi all23:25
+perlDreamerhowdy23:25
BartJolhi23:25
elninodelving into surveys and stuff now. Just wondering how I may add my own custom "answer type" like a 1-10 type multiple choice instead of createing a multiple choice with 10 answers all the time.23:26
elninoany slick tricks?23:26
+perlDreameraside from waiting until survey 2.0 comes out?23:26
elninowhen is that?23:31
elninowill it have templates for each "qusetion/answer"23:31
elninotype.23:31
elnino?23:31
elnino=)23:31
@rizenyou need to ask perlmonkey223:31
+perlDreamerperlmonkey2: We have a rabidlyy excited new Survey 2.0 user with some questions23:31
@rizenhe's writing it23:31
+perlDreamerpm2: Are you deep in the hack trance, or is your caffeine running low?23:32
+perlDreamerhe had a key deadline today23:32
elninothat's fine. If my network connection doesn't keepp crashing I'll be around for awhile. and you can be sure I'll be back if I'm not. =)23:33
elninoYou guys have an awesome product here. I absolutly love it, Keep up the good work!23:33
perlmonkey2perlDreamer: okay, shoot23:34
+perlDreamerelnino is your man, perlmonkey223:34
elninoI only wish is was more known - it seems it's pretty popular in europe.23:34
perlmonkey2perlDreamer: here now23:34
perlmonkey2j/s let me read back through the channel23:34
elninoJust wondering if there are templates for how multiple choice, text box, text answers are displayed, AND23:34
elninowhat you are reading now. =)23:35
perlmonkey2elnino: There will be about 15 templates for multiple choices23:35
elninosweet23:35
perlmonkey2gender, yes/no, true/false, education, concern, risk, race, party, etc23:35
perlmonkey2date, date range, text entry date (free form)23:36
perlmonkey2slider, dual slider (first slider set min, second sets max) for a range.23:36
elninospecifically My users wnat the questions to be displayed horizontally too, - so with the templates, I'm assuming I'll be able to do that.23:36
perlmonkey2yes23:36
perlmonkey2gabe, is that you?23:36
elninoand I know they are looking for a 1-10 multiple choice, (without of course creating a multiple choice with 10 answers many times over)23:37
elninono gabe here.23:37
elninosweet, when is this slatted for release?23:37
BartJolIs that you John Wayne, is it me?23:37
perlmonkey2That is a question attribute whether answers are displayed horizontal or vertical.23:37
elninocool.23:37
perlmonkey2elnino: If I don't have a beta ready by Monday, two reseachersa re going to kick my arse.23:37
elninoalrightly then! that's fast enough for me!23:38
elninoI won't bug you anymore, it sounds like what we need! Thanks again!23:38
perlmonkey2elnino: I'm about 50% on taking the survey and 90% on creating/editing the survey (where the magical, whip up super ninfty surveys in 3 seconds, all takes place).23:38
perlmonkey2heh, groovy.23:38
elninooh. I just htought of something else they may request. Any validation javascript stuff? I know, that's a pain...23:40
elninoliek for phone numbers, emails, etc.23:40
perlmonkey2oh, there are 20 multiple choice templates.  The party template is US centric, and I can add party templates as requested (for those strange exotic places with different parties).23:40
perlmonkey2elnino: I do plan on doing basic validation in the first release.23:40
perlmonkey2eventually I'd like each type to have some sort of validation23:40
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has quit ["Download Gaim: http://gaim.sourceforge.net/"]23:41
elninohere's soemthing to throw out at you. how about a hidden field whoses value is a url parameter? I suppose I can do that in the template of the survey it'self. I think.?23:41
perlmonkey2elnino: this is all ajaxified, so the template won't actually have much in it, and I wasn't planning on ecepting any fields from a template.23:42
perlmonkey2elnino: Can you explain more on wha tyou are trying to do?23:43
perlmonkey2s/excepting/accepting/23:43
elninoI'm trying to accomodate, my marketing people's requirements.   =)23:43
perlmonkey2wow23:44
perlmonkey2hmm23:44
perlmonkey2good stuff23:44
perlmonkey2let me think23:44
elninoThey are sending out a mailing to our customers to fill out a survey. We already have their contact information, so I was thinking that they can go to a specific URL23:44
perlmonkey2rizen, please weigh in if you have any thoughts.23:44
elninoand their contact information would autoamtically  be associated with their response to the survey, (hense the hidden field)23:44
elninoon their survey, they are doing 1-10 rankings stuff, which you've already addressed.23:45
elnino=)23:45
elninolol23:45
perlmonkey2rizen: I'm not sure I know how to do that?23:46
perlmonkey2rizen: But lots of people will probably want that feature.23:46
CIA-22WebGUI: jt * r5969 /branch/WebGUI_Commerce/lib/WebGUI/Asset/ (Sku/EMSTicket.pm Wobject/EventManagementSystem.pm Sku.pm): user interface mostly working for ems23:48
perlmonkey2rizen: What about each new survey response look for a GET param and if it sees it, adds it to a fiend in the Survey_response table?23:48
perlmonkey2rizen: What about a special method that marketers could send links to?  It woudl create a new response, record the CGI param, and then start the survey?23:50
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit ["Exit- stage left"]23:51
@preactionmacros23:51
perlmonkey2rizen: www_newSurvey so http://www.mycompany.com/assetId;func=newSurvey?tag=myidenttag23:51
perlmonkey2preaction: How would the macro know which survey response to stick the variable in?23:52
perlmonkey2oh, I guess macros have access to the session object.23:52
@preactiondo response fields have initial values?23:52
perlmonkey2some do, some don't.23:53
perlmonkey2none of the text entries woudl.23:53
@preactionand is there any way to have a hidden field?23:53
@preactioni mean, these features can be added later of course, but they help push what is possible23:53
perlmonkey2currently I don't have that, but I could add that as a question attribute I guess.23:53
@preactionthe most fun part of application design is imagining all the things people could possibly want to do with your code, and finding an elegant way to make it possible (or, at least, not make it impossible)23:54
perlmonkey2preaction: hah, I think your use of "fun" is subjective :P23:55
perlmonkey2preaction: The problem is, I can see elnino's feature being widely requested.  I'm just not sure of the best way ti implement it.23:56
perlmonkey2unless I do a special method to the wobject that would have to be in the meailed url.23:56
elninohmm. example of imagining:  timetracker - this is the best one I've seen: take a look it. Sorry, I use it instead for now: http://wrconsulting.com/cms/wrtimetracker/23:58
--- Day changed Fri Mar 28 2008
elninoOh - I think the text answers should allow fro initial values (formParams, cookies, etc), One thing I'm contemplating is, if we can't use the link method to tie the user, we can perhaps glean values from a cookie like name, address, phone so that the user doesn't need to retype values. I'd have the link go to another server, pick up the persons info, stuff it in a cookies, redirect to webgui, prefill out the form, and they can continue w00:01
elninoith the survey, 00:01
elninoat least that is one idea I'm thinking of trying for now.00:01
elnino(in my case, my customer info in NOT in webgui, it's in our CRM system)00:01
@preactionperlmonkey2, but don't let feature creep ruin your delivery date. just a warning from someone's whos been burned more than once00:02
elninototally I agree, don't let my stuff become feature creep.00:03
perlmonkey2preaction: I'm thinking...hmm...maybe each request for a new set of questions should check for cgi params to default the answers to.00:03
perlmonkey2Then allowing for a hidden question type would work00:03
@preactioni dunno. that sounds needlessly complex. but then i don't know anything about the internals of the system00:04
@preactioni mean, sending a form param out when you already have the value in the database?00:04
elninofor me, yes, I believe it (a hidden field with the url param) would.00:04
@preactionoh. i see00:05
perlmonkey2preaction: No, just when the function is called to create the appropriate questions to display, it checks for params to default those answers to.00:05
@preactionthat may also help if you want to have a question that requires some sort of validation. you'd have to show the same page of questions again, with the answers pre-filled00:06
perlmonkey2they could or could not override the defaults in the database....probably so00:06
perlmonkey2preaction: oh snap, twofor!00:06
perlmonkey2or is that twofer00:06
perlmonkey2?00:06
@preactioneh, either way00:06
@preactionclearing 12GB out of a slow box is never any fun...00:07
perlmonkey2So all I need to add is a hidden question type.  then the Survey_questionId can be placed as a param with the defaulted value in the URL sent out to potential survey takers.  As long as that question appears on the first page, it will be submitted (if) they submit the first page of answers.00:09
elninoperlmonkey2: yes, I believe that would hellp me greatly.00:09
perlmonkey2should be easy enough to add for the beta.00:10
elninoMuch appreciated!00:10
perlmonkey2Thank you for bringing it to my attention.00:11
@rizenpm2: that seems reasonable to me00:12
@rizenyou actually don't need to store any of the user's info at all00:13
@rizenall you need to do is store that tag code00:13
@rizenand then that can be cross referenced at a later date00:13
perlmonkey2rizen: So question 1 would be the hidden field prepopulated.  They would be taking the test as guest, and as long as they submitted the very first page, q1 would be answered.00:14
perlmonkey2That sound about right?00:14
elninoto simplify it, it can be just a template of a text answer. and add the capability of default values in the properties of text answers.00:14
@rizeni'm talking about the question you asked a while back that was directed at me00:15
perlmonkey2elnino: But you wouldn't want to default the question to anything, or every single respondant would have the same answer to that question.00:15
perlmonkey2oh00:15
@rizenhttp://domain.com/survey?func=newSurvey;tag=someuserid00:15
elninoyou'd use a macro in the default value. Formparam00:15
@rizenwhere someuserid is just a string that is arbitrarily attached to the survey response00:15
perlmonkey2rizen: I actually like that way better, as just by clicking on the link, we know that someuserid clicked on teh link and started a new survey response, even if they didn't finish it.00:16
@rizensomeuserid just refers to something that the survey people have stored in their databases somewhere, that can be cross referenced to the survey results at a later time00:16
@rizenexactly00:16
elninoactually, if I can modify templates for text answers, I can do this all myself: I'd create a template to create a hidden text field, and use the FormParam in the value attribute of the input field in the html.00:17
perlmonkey2rizen: I think this is a common enough survey requirement that a custom one off method just for it is reasonable?00:17
@rizenfine by me00:17
@rizenand again, the tag would be just a text field00:17
@rizenso you could store anythign you want in it00:17
perlmonkey2elnino: This is all ajaxified, so any fields in the template won't be stored in the survey responses00:17
perlmonkey2rizen: so newSurvey woudl just record the tag, create the new survey response and then redirect to www_view?00:18
elninohmm. you mentioned that to me before. Zip over my head. I don't know anything about ajax.... I guess I'll read up on it.00:18
@rizenyup00:19
@rizenand it wouldn't even be an httpd redirect00:19
perlmonkey2elnino: What you are asking for woudl require me to look for any fields that I haven't specified and then store them in the survey response.00:19
elninono... I dont' think so.00:19
@rizenthe end of www_newSurvey() would just do: return $self->www_view;00:20
perlmonkey2rizen: even better...I dig it.00:20
elninoI thought there was a template assocatied with each question I create?00:20
perlmonkey2elnino: The old way there is.00:21
perlmonkey2or the current way, I shoudl say.00:21
elninooh. ok. I'll leave it up to you guys then.00:21
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI00:22
CIA-22WebGUI: graham * r5970 /Too many paths: upgrading to TinyMCE 300:32
CIA-22WebGUI: graham * r5971 /WebGUI/lib/WebGUI/Asset/RichEdit.pm: use minified tinymce00:51
-!- jua1 [n=juangui@201.232.58.66] has left #webgui []00:52
-!- BartJol [n=plainstu@52-167.surfsnel.dsl.internl.net] has quit ["Leaving."]00:58
-!- lisette [n=liraos@201.232.58.66] has left #webgui []00:58
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."]01:13
CIA-22WebGUI: yung * r5972 /WebGUI/ (docs/changelog/7.x.x.txt lib/WebGUI/Asset/Wobject/Thingy.pm): fixed: Thingy: on demo sites the edit and delete icons in search results have wrong url's01:14
-!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui01:32
-!- mode/#webgui [+v Radix-wrk] by ChanServ01:32
-!- topsub [n=topsub20@cpe-071-071-252-225.carolina.res.rr.com] has joined #webgui02:21
-!- elnino [n=ninow@user-38q49cv.cable.mindspring.com] has quit ["Leaving"]02:38
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui02:43
topsubgot a question for you guys.. What is the best way to create folders on the fly from a script03:08
topsubi have to do importing a bunch of pdf docs and i need to on the fly create folders that they go in03:08
topsubthought it might  be the addChild call but not sure.03:09
topsubis there any test or anything i can look at/03:09
topsub?03:09
-!- estiven [n=estiven@201.232.58.66] has left #webgui []03:17
@rizen$parentAsset->addChild({className=>'WebGUI::Asset::Wobject::Folder', ... });03:25
-!- DGMurdockIII [n=dgmurdoc@64-184-9-130.bb.hrtc.net] has joined #webgui03:32
-!- DGMurdockIII [n=dgmurdoc@64-184-9-130.bb.hrtc.net] has left #webgui []03:33
topsubseems to got it.. i got research how to auto commit the tag03:39
topsubbut at least i have it creating the folders!03:39
topsubbut yeps rizen thats how.. thanks!03:39
@rizenWebGUI::VersionTag->getWorking($session)->commit;03:41
topsubhehe yep found it in the file import script03:50
topsubthanks again tho!03:50
topsublol03:50
topsubknew i saw it before just had to remember where03:50
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit [Remote closed the connection]04:04
@rizentopsub, do you work at knowmad?04:05
topsubyes04:06
topsubWhy do you ask?04:07
-!- pvantony [n=pvanthon@bb219-74-116-98.singnet.com.sg] has quit ["Leaving"]05:07
-!- topsub [n=topsub20@cpe-071-071-252-225.carolina.res.rr.com] has quit [Read error: 110 (Connection timed out)]05:20
-!- topsub [n=topsub20@cpe-071-071-252-225.carolina.res.rr.com] has joined #webgui05:22
-!- Radix-wrk [n=Jesse@203.161.68.67] has quit ["Leaving"]05:24
-!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui05:33
-!- mode/#webgui [+v Radix-wrk] by ChanServ05:33
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)]05:42
-!- topsub [n=topsub20@cpe-071-071-252-225.carolina.res.rr.com] has quit []06:08
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui06:15
-!- mode/#webgui [+o preaction] by ChanServ06:15
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)]06:47
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui07:12
-!- mode/#webgui [+o preaction] by ChanServ07:12
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)]07:34
-!- ryuu_ro [n=rory@194.171.50.69] has joined #webgui08:52
-!- dapperedodo [n=dappered@194.171.50.69] has joined #webgui08:59
-!- ryuu_ro_ [n=rory@194.171.50.69] has joined #webgui09:01
-!- ryuu_ro [n=rory@194.171.50.69] has quit [Read error: 104 (Connection reset by peer)]09:02
-!- dapperedodo [n=dappered@194.171.50.69] has quit []09:04
-!- Radix-wrk [n=Jesse@203.161.68.67] has quit ["Leaving"]09:19
-!- fiddur [i=fiddur@c042.rit.se] has joined #webgui09:20
fiddurAn interationalization question:  When searching in webgui wiki I find a lot of OLD postings saying that I can set default language on a page layout.  Where do I find that in WebGUI 7.2?   (I know I can set language on visitor etc, but in this case it has to be per page....)09:24
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui09:43
-!- mode/#webgui [+o preaction] by ChanServ09:43
fiddurHella preaction.    Since noones said bleep since I came in, I'm reposting my question for you now :) 09:44
fiddurAn interationalization question:  When searching in webgui wiki I find a lot of OLD postings saying that I can set default language on a page layout.  Where do I find that in WebGUI 7.2?   (I know I can set language on visitor etc, but in this case it has to be per page....)09:44
CIA-22WebGUI: jt * r5973 /translations/Swedish/ (5 files in 2 dirs): update_from_translation_server09:48
-!- ryuu_ro_ [n=rory@194.171.50.69] has quit []10:02
-!- ryuu_ro [n=rory@194.171.50.69] has joined #webgui10:13
+Radix_sorry fiddur - wish I knew the answer to that one or I'd help you.. most of the PB guys are still asleep I suspect10:37
-!- Janneman [n=jverlaan@c63249.upc-c.chello.nl] has joined #webgui11:10
-!- Janneman [n=jverlaan@c63249.upc-c.chello.nl] has left #webgui []11:13
CIA-22WebGUI: yung * r5974 /WebGUI/ (docs/changelog/7.x.x.txt lib/WebGUI/Form/FieldType.pm): fixed: Form::FieldType->getTypes should exclude Form::Slider base class11:46
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui12:16
-!- bartjol [n=bartjol@194.171.50.123] has joined #webgui12:23
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)]12:38
-!- Haarg [n=haarg@66-168-19-128.dhcp.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"]13:04
-!- Haarg [n=haarg@66-168-19-128.dhcp.mdsn.wi.charter.com] has joined #webgui13:21
-!- mode/#webgui [+o Haarg] by ChanServ13:21
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has quit ["Leaving"]13:22
-!- estiven [n=estiven@201.232.58.66] has joined #webgui14:35
-!- ryuu_ro_ [n=rory@194.171.50.69] has joined #webgui14:39
-!- ryuu_ro [n=rory@194.171.50.69] has quit [Read error: 104 (Connection reset by peer)]14:39
-!- SDuensin [n=Scott@53.sub-75-206-181.myvzw.com] has joined #WebGUI14:49
SDuensinMorning.14:50
-!- Haarg [n=haarg@66-168-19-128.dhcp.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"]14:56
-!- Haarg [n=haarg@66-168-19-128.dhcp.mdsn.wi.charter.com] has joined #webgui14:58
-!- mode/#webgui [+o Haarg] by ChanServ14:58
-!- ryuu_ro [n=rory@194.171.50.69] has joined #webgui15:09
-!- ryuu_ro_ [n=rory@194.171.50.69] has quit [Read error: 104 (Connection reset by peer)]15:09
-!- topsub [n=topsub20@97.66.185.250] has joined #webgui15:22
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui15:29
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."]15:43
@rizenfiddur: that was a feature of WebGUI 5 or below. the language is now attached to the user rather than the page. So if you want to edit the default language, edit the visitor user.15:51
topsubhello everyone15:53
-!- lisette [n=liraos@201.232.58.66] has joined #webgui16:10
-!- khenn [n=khenn@71-86-227-90.static.mdsn.wi.charter.com] has joined #WebGUI16:15
-!- mode/#webgui [+o khenn] by ChanServ16:15
-!- khenn [n=khenn@71-86-227-90.static.mdsn.wi.charter.com] has quit [Client Quit]16:16
-!- ryuu_ro [n=rory@194.171.50.69] has quit [Read error: 104 (Connection reset by peer)]16:19
-!- ryuu_ro [n=rory@194.171.50.69] has joined #webgui16:20
-!- ryuu_ro_ [n=rory@194.171.50.69] has joined #webgui16:23
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit []16:26
-!- ryuu_ro_ [n=rory@194.171.50.69] has quit [Remote closed the connection]16:29
-!- ryuu_ro_ [n=rory@194.171.50.69] has joined #webgui16:30
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui16:32
-!- mode/#webgui [+o rizen] by ChanServ16:32
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has quit ["leaving"]16:32
-!- ryuu_ro [n=rory@194.171.50.69] has quit [Read error: 104 (Connection reset by peer)]16:33
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit [Client Quit]16:33
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui16:34
-!- mode/#webgui [+o rizen] by ChanServ16:34
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui16:36
-!- mode/#webgui [+o apeiron] by ChanServ16:36
-!- perlmonkey2 [n=perlmonk@casr-dev.fwsm2ppuser.ou.edu] has joined #webgui16:36
-!- MrHairgrease [n=martin@194.171.50.69] has joined #webgui16:44
-!- mode/#webgui [+v MrHairgrease] by ChanServ16:44
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit []16:46
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui16:48
-!- mode/#webgui [+o rizen] by ChanServ16:48
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui16:59
-!- mode/#webgui [+o preaction] by ChanServ16:59
-!- lisette [n=liraos@201.232.58.66] has left #webgui []17:00
-!- lisette [n=liraos@201.232.58.66] has joined #webgui17:01
+MrHairgreasenuba, what's the update interval of GooeyOfSteel's wiki checker?17:52
CIA-22WebGUI: yung * r5975 /WebGUI/lib/WebGUI/i18n/English/Asset_Thingy.pm: removed an unused Thingy label18:05
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has left #webgui []18:10
-!- knowma1 [n=william@97.66.185.250] has joined #webgui18:26
knowma1TGIF ya'll18:27
-!- wgGuest11 [n=wgGuest1@213-94-148-134.b-ras1.lmk.limerick.eircom.net] has joined #webgui18:27
knowma1are there any spectre pros here?18:27
wgGuest11hello all18:27
@preactionhello18:28
knowma1i'm getting error output to my webgui.log from spectre which is showing up in GMT time18:28
knowma1hey preaction18:28
wgGuest11am looking for a little help18:28
knowma1is this normal? the rest of the entries are in localtime18:28
@preactionknowma1, not sure. i would think that log4perl would be the one handling the timestamp. but i also think there's something weird in spectre having to do with locales18:29
@preactionsomething to do with Perl not liking when the shell's locale isn't set18:29
knowma1ok, i think i'll file this as a bug report since it makes parsing the log files difficult18:29
wgGuest11am new to this.. am doing a site in dreamweaver fo some one who is selling cars, i want them to be able to update there stock by them selves using a simple web interface, can webgui help me do this?18:30
knowma1btw, this is seen on on windoze18:30
@preactionknowma1, of course, you're a windows shop ;-) just let the buglist know that18:30
@preactionwgGuest11, yes, webgui could help you do that18:30
knowma1wgGuest11: yes, webgui can manage a database for you18:30
knowma1no, we're not a windows shop! please don't spread that rumor18:30
@preactionthere's even a way to build a database application for them to make it easy, all without modifying a single line of code18:31
knowma1we just happen to have clients who are on windows18:31
@preactionknowma1, apologies, i'll correct myself18:31
knowma1in 7.518:31
knowma1thanks, i don't want ppl thinking we're a M$ shop18:31
wgGuest11cool, thanks18:31
wgGuest11my hosting plan mysql and php is this still ok?18:31
@preactionwgGuest11, yes, in 7.5 we have the Thingy, which is a killer app for making... well... the best way to describe it is MS Access, but that doesn't do it justice18:31
@preactionuh... no18:31
knowma1we're totally LAMP but deploy to alternate OS's like Windows (everyone knows the only true OS is Linux ;)18:32
@preactionyou'll need shell access and mod_perl18:32
wgGuest11only allowed 2 databases aswell18:32
@preactionwebgui is not a trivial application, it's also not a CGI application18:32
@preactionyour best bet might be a WebGUI hoster. some even come with support to help you learn how to use webgui to serve your clients18:32
knowma1webgui is enterprise-class content management and requires a more complex configuration than some of the other systems 18:33
wgGuest11windows isnt worth the paper its written on,, microsoft thievs18:33
wgGuest11i get u18:33
@preactionknowma1, are you guys into low-level hosting? or is plainblack the only one around?18:33
wgGuest11any other suggestions perhaps?18:33
knowma1no, we're not really selling hosting; we provide it as a service to our clients but it's not a core service like PB18:34
+MrHairgreaseprocolix does hosting too18:34
knowma1wgGuest11: use PlainBlack's hosting plan - it's just $15/mo for entry-level hosting last I checked18:34
@preactiontry a demo site at http://beta.webgui.org, Plain Black hosting is dirt cheap http://plainblack.com/store, or the WRE makes it easy to install webgui on your own system, http://webgui.org/download18:34
knowma1hey MrHairgrease, i thought you'd be signed out by now18:34
+MrHairgreasesigned out?18:35
@preactioni think our 15 a month plan doesn't include support. support is a Good Thing (tm) for those just starting out18:35
wgGuest11kick ass18:35
knowma1it's friday night over your way isn't it?18:35
wgGuest11thanks a million for the help18:35
@preactionit's like 10pm there, isn't it MrHairgrease?18:35
wgGuest11much appreciated18:35
+MrHairgrease17:3518:35
@preactionoh. its 5:35 and you're not out and having fun yet?18:35
knowma1you're on GMT time? I thought you'd be -1 GMT18:35
+MrHairgreasebart and rory are waiting for me to finish my beer18:35
+MrHairgreasethen we go to the bar18:35
knowma1i knew there would be beer involved...18:36
@preaction... they're waiting for you to finish your beer at the office, so you can go out to the bar18:36
knowma1ahh, those europeans know how to live!18:36
@preactionamen18:36
knowma1hey preaction, i need to track down a Spectre error18:36
@preactionbonne chance18:37
knowma1I'm going to paste the error to pastebin.. brb18:37
+MrHairgreaseknowma1, if you wanna join we go to locus: http://www.oqapi.nl/googlemaps-macro/googlemaps-macro-with-xml-data-source18:37
+MrHairgreasepreaction is welcome too of course18:37
knowma1i appreciate the offer and would love to join you if it weren't for the damn jetlag18:38
@preactionof course. i'll just hop in my TARDIS and be there in a wink18:38
+MrHairgreaseI hadn't considered that...18:38
+MrHairgreasewell let's try again at the wuc then18:38
knowma1yes, definitely18:38
@preactionjetlag, you wouldn't even have to drink and you'd be hilarious!18:38
knowma1ok, here's my error -- webgui.pastebin.com/d68fe16f418:41
@preaction502 means that spectre hit the mod_proxy server, but the mod_perl server behind it was down18:41
@preactionyou should probably change the webguiPort in your spectre.conf to hit the mod_perl server directly18:42
knowma1ahh, it was down because it crashed18:42
knowma1we're getting occassional perl58.dll crashes in our logs and have been trying to track down what's causing them18:42
knowma1so it wasn't spectre that caused it but rather spectre failed b/c modperl was down18:43
@preactionperl58.dll crashes because of that? weird18:43
knowma1are you guys aware of any modperl crashes on any platforms?18:43
knowma1no, i think it's already crashed which causes spectre to get 50218:43
@preactionnot any reproducable ones18:44
knowma1something is bringing down modperl (which is perl58.dll on windows)18:44
knowma1it's happening on 0.8.0 with 7.4.(something a few months old)18:44
knowma1and on the new 0.8.3 wre with 7.4.2818:44
knowma1haven't seen any signs of it on our linux boxes so it appears to be a windows issue only18:45
knowma1problem is that it's not recurring on a consistent interval and we don't know how to reproduce it yet18:45
@preactioni would suspect it's a mod_perl issue, but i'd have no idea how to go about debugging it18:45
knowma1yeah, that's the boat we're in now18:45
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has joined #webgui18:48
-!- mode/#webgui [+v perlDreamer] by ChanServ18:48
knowma1hey, do you know who compiles the windows distro?18:48
knowma1i'm curious if it's a compiler issue or something else18:48
-!- fiddur [i=fiddur@c042.rit.se] has quit ["Leaving."]18:49
@preactionknowma1, i think we grab pre-compiled versions of things and integrate them18:52
@preactiononly Haarg and rizen would know for sure though18:52
knowma1ok18:52
@Haargpreaction is right18:52
@rizenHaarg does the windows version, and we don't compile it18:52
knowma1ok, that's good to know18:53
knowma1Haarg: where do you get the apache version?18:53
-!- bartjol [n=bartjol@194.171.50.123] has left #webgui []18:53
-!- ryuu_ro_ [n=rory@194.171.50.69] has quit []18:53
+MrHairgreaseok beer time18:54
+MrHairgreaselater18:54
knowma1cheers!18:54
+MrHairgreasethanks18:54
-!- MrHairgrease [n=martin@194.171.50.69] has left #webgui []18:54
@Haargdirectly from apache.org i'm pretty sure.  i haven't updated it in a while.18:54
knowma1oh, so i may want to upgrade and see if that fixes the error18:54
GooeyOfSteelWiki: How to (un)archive posts automatically - Created on 3/28/2008 9:46 am by martink  http://www.webgui.org/community-wiki/how-to-unarchive-posts-automatically19:23
GooeyOfSteelWiki: jsquery and webgui - Created on 3/27/2008 4:07 pm by elnino  http://www.webgui.org/community-wiki/jsquery-and-webgui19:23
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui19:26
+perlDreamerwgGuest11:  Has anyone offered to help you yet?  Do you have any questions?19:27
@preactionfor some reason i can't upload packages on 7.5.8, because "can't set uid/gid". i thought that was only supposed to be a warning19:29
+perlDreamerif it's owned by root and not writable by webgui-user, it's more than a warning19:29
@preactioni just chown the entire public folder to webgui:webgui19:29
+perlDreamerweird19:30
@preactiondidn't get these errors when upgrading, so i'm assuming it's because apache is running as webgui19:31
@preactionnormal users can't chown19:31
+perlDreamerdidn't Haarg add something to the upgrade scripts to fix that?19:32
@Haargi didn't yet19:32
@preactionbut why would extract_archive start dying. it usually posted a whole slew of those uid/gid things and still succeeded. now it posts one and fails19:33
@preactionfixed it by forcing Archive::Tar to not try to chown or chmod19:41
@apeironIs someone using Fatal.pm somewhere?19:44
-!- wgGuest11 [n=wgGuest1@213-94-148-134.b-ras1.lmk.limerick.eircom.net] has quit []19:44
@Haargwhat version of Archive::Tar are you using?19:44
@Haarglooking at the code, it isn't even supposed to try to chown unless run as root19:45
@preaction1.2919:46
@preaction1.38 is installing now19:47
@preactionthis is on one of our servers, so 1.29 is what got installed with the WRE19:48
+perlDreamertime for a WRE upgrade?19:48
+perlDreamerno Fatal in the core code19:48
+perlDreamer(btw, not including i18n and Help, wG has ~125 kLOC)19:49
@Haargthe code that handles that doesn't look any different in 1.2919:50
@apeironperlDreamer, 0.8.3 has 1.29, so unless you mean update the A::T in the Wre.19:50
+perlDreamerthat is what I meant, but if there's no difference in the code and no critical bugs fixed....19:51
@Haargactually, that's something that could be improved19:51
@apeironI don't see anything in A::T's changes file that specifically mentions what we're seeing here.19:52
@apeironBut it could be the result of one of the since-1.29 fixed bugs?19:52
@Haargit really should either skip chown or do like i did for other file adding19:52
@Haargis the exact error you got "can't set uid/gid"?19:54
@preactionyes19:55
@preactionCould not set uid/gid on '/data/domai19:55
@preactionns/example.com/public/uploads/temp/Oi/OiWqXVDc9r3ur1ZT6_HrFQ/000001000001000128000004.json'19:55
* perlDreamer goes to lunch20:29
@rizenwhatever you guys do for your jobs20:36
@rizenlet me just tell you, that you won't ever have a worse day than a day where you do nothing but accounting stuff20:36
* rizen cringes20:36
perlmonkey2hah, accounting was by far the hardest class I took in school.20:45
perlmonkey2And it was only intro into accounting.20:45
perlmonkey2compilers, data structures and alogrithmns, diffy q, operations research, all paled in comparison to intro to accounting.20:45
-!- topsub [n=topsub20@97.66.185.250] has quit []20:48
lisettehi21:25
lisettei can process a survey in mode quiz, with the score transform in coins?21:26
perlmonkey2lisette: Try this, as I don't understand what you are saying: http://www.google.com/language_tools21:29
perlmonkey2lisette: What is your primary language?21:30
lisettei want process the score of the survey in mode quiz, i want convert this in credits!21:31
perlmonkey2you want to take the results of a quiz and give the user money?  Karma?  some sort of score?21:32
lisetteyes21:32
lisettemy primary language is spanish21:32
perlmonkey2Usted puede escribir una macro e insértela en la página de plantilla.21:32
perlmonkey2¿Eso tiene sentido?21:33
lisettesi21:33
CIA-22WebGUI: graham * r5976 /wrebuild/wre/bin/pdf2txt.pl: fix typo in pdftotext call21:34
lisettey la informacion la encuentro en la db?21:34
perlmonkey2No estoy seguro de cómo sería la puntuación registrada. ¿Tiene usted otra aplicación para guardar la puntuación, o si desea hacer una costumbre en la mesa de WebGUI?21:34
perlmonkey2Usted podría tratar de chapuza que mediante el uso de un atributo de usuario. Pero creo que se necesitaría una tabla de base de datos personalizados.21:35
lisettechapuza?21:35
perlmonkey2Si mi español sucks, culpa de Google.21:35
perlmonkey2 Ver con hacer?21:36
lisetteque?21:36
perlmonkey2Hacer que funcione, a pesar de que no es la forma en que se supone que trabajo.21:36
lisettewhat21:36
lisettewrite in english21:36
perlmonkey2Yo no hablo mucho español, estoy usando el traductor de Google:)21:37
perlmonkey2hah21:37
perlmonkey2okay21:37
perlmonkey2you would either have to add the scores to some user attribute, or create a new table.21:37
-!- jua1 [n=juangui@201.232.58.66] has joined #webgui21:37
perlmonkey2Well, before you do that, what are you going to do with the credits?21:38
jua1hello21:38
perlmonkey2hello jua121:39
jua1if i have copied the file control to a new control because i want to change somethings21:39
jua1the problem is how can see it when i add a new field in a data form'21:39
jua1have I do something extra  to see it?21:40
-!- estiven [n=estiven@201.232.58.66] has left #webgui []21:50
-!- perlmonkey2 [n=perlmonk@casr-dev.fwsm2ppuser.ou.edu] has quit ["Leaving."]21:57
lisettehow to do to change "Visitor" to "Visitante"?21:59
@preactionthat's an i18n value if i'm not mistaken22:02
lisettei can't found22:05
@preactionit's probably in lib/i18n/English/WebGUI.pm22:06
lisetteok22:08
lisettei try22:08
+perlDreamerlisette, you could try using the Spanish translation of WebGUI instead22:09
CIA-22WebGUI: graham * r5977 /WebGUI/ (4 files in 4 dirs): fixed: subscription group in CS edit not internationalized22:16
CIA-22WebGUI: graham * r5978 /WebGUI/ (6 files in 6 dirs): fixed: profile photos don't obey max image size22:16
lisetteyes22:21
lisettebut i can't find this22:21
lisettepero no sé en que parte se encuentra22:22
+perlDreamerI did some looking, too, and Visitor is not translated in i18n/English/*.pm22:23
+perlDreamerIt's in the database22:23
+perlDreamerTo change it, become Admin22:23
+perlDreamerGo to the Admin Panel22:23
+perlDreamerChoose Users22:23
lisetteyes22:23
+perlDreamerFrom the list of Users, choose Visitor.  Then edit Visitor's username to Visitante.22:24
lisettethanks22:24
jua1perlDreamer, i have copied the file control to a new control because i want to change somethings22:27
jua1the problem is how can see it when i add a new field in a data form'22:27
jua1have I do something extra  to see it?22:27
+perlDreamerthe form fields that the data form uses are hard coded inside of Asset/Wobject/DataForm.pm22:28
-!- metanil [n=akhadka@137.48.138.72] has joined #webgui22:30
jua1so, i will have to modify the wobject too22:31
+perlDreameryes22:31
jua1do you know how openid works?22:32
+perlDreamerNo, but I know there's an OpenId auth module in the Get Add Ons section of webgui.org22:32
-!- estiven [n=estiven@201.232.58.66] has joined #webgui22:32
jua1yes, i saw it 22:33
+perlDreamerrizen: I've thought more about mixins, and while I think it's the right thing to do22:34
+perlDreamerI think it will take longer to do it the mixin way22:34
+perlDreamerI'd like to take a raincheck on the mixin project for another version, and concentrate22:35
+perlDreameron the commerce for now, to get it done.22:35
+perlDreamersound okay?22:35
-!- SDuensin [n=Scott@53.sub-75-206-181.myvzw.com] has quit ["Leaving"]22:54
@rizensounds good to me23:08
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui23:13
+perlDreamerrizen: Are you doing bookkeeping today?23:44
perlmonkey2Is GnuCash the PB accounting tool of choice?23:45
+perlDreamerI'm thinking he uses an abacus23:46
+perlDreamerwith magnetic bubble transactional memory23:46
perlmonkey2Probably easier than gnucash23:46
perlmonkey2If I had my own business the first employee I would hire would be an accountant.23:47
@preactionyou can rent accountants23:47
@preactionlike you can rent lawyers23:47
perlmonkey2there you go23:48
-!- jfluhmann [n=jfluhman@x171y167.angelo.edu] has joined #webgui23:48
+perlDreamerI hire an accountant to do my taxes.23:48
+perlDreamerI tried to do them for 4 years, and did them wrong every time, even with using TurboTax23:48
@preactiondo you think, by using a psuedoclass we could test for coverage of our Help variables?23:49
+perlDreamerI don't understand23:49
@preactionthe same way we have PseudoRequest, we could have a PseudoTemplate23:49
@preactionand when "processTemplate" was called, it would gather up the template variables and match them to something in the Help files23:49
@preactioni mean, we'd need a way to call a bunch of pages after autogenerating assets, but i want to do that anyway (for testing multiple-version upgrades)23:50
@preactionbut i suppose maybe i should make my test box work before i start talking about these lofty idears23:50
+perlDreamerYes, that would work, but you have to very careful how you make the templates.  You want to do it by using the code.23:50
+perlDreamerDude, if only there was enough time in the day :)23:51
@preactionyeah23:51
+perlDreamerHave you seen last night's smoke test from the nighly build?23:51
+perlDreamerThe company url test failed23:51
@preactioni think a big important thing we need is the multiple-version smoking23:51
@preactionuh... weird23:51
+perlDreamerif version==branch, I agree23:51
+perlDreameryeah, it's a 3 line test23:51
+perlDreamerit should not ever fail23:51
@preactionno, like the SVN branch will make a 7.5.0 site and test that it can make it to 7.5.X with a set of assets intact23:52
@preactionright now we use resetdev to test single-version upgrades23:52
+perlDreamerpersonally, I think we need multiple branch smoking first23:53
@preactionbut that has failed us before, the 7.3.0 / Calendar thing was rocky because we didn't test multiple-version upgrades23:53
+perlDreamermultiple version doesn't need to be regressionable23:53
@preactionthat's already in place, if the damned thing would just WORK23:53
@preactioni'm testing SVN, 7.4, and Commerce, theoretically23:53
+perlDreamerstill having hardware problems?23:53
@preactioni'm not sure... the computer runs absolutely fine on my table, but when i put it on the shelf, it doesn't run for long23:54
@preactionsounds like a heating problem, but the CPU never goes above 40C23:55
+perlDreamerdirty power problem/23:55
+perlDreamer?23:55
@preactionnm, the CPU's at 41 right now. and the computer hasn't worked in a few days...23:55
@preactionmight be23:55
+perlDreamerhttp://jobs.perl.org/job/827223:57
+perlDreamerGo lisette, go!23:58
perlmonkey2lisette: is behind that job posting?23:59
+perlDreamerNo, she's translating WebGUI into Spanish.23:59
CIA-22WebGUI: jt * r5979 /translations/Spanish/Spanish/ (5 files): update_from_translation_server23:59
CIA-22WebGUI: jt * r5980 /translations/Spanish/notes.txt: update_from_translation_server23:59
--- Day changed Sat Mar 29 2008
perlmonkey2hmm.....would I move to DC to help nader run for president.00:00
+perlDreamertelecommute job00:00
+perlDreamerlisette: A few translation hints.00:01
perlmonkey2If he would publically disavow any belief in UFO's and promise to have the FBI investigate every member of Congress for corruption, I'd do it for free.00:01
+perlDreamerTranslating WebGUI will get you a big bang for your time, since WebGUI labels are used everywhere.00:01
+perlDreamerAsset is another good one.00:01
+perlDreamerWhat's wrong with believing in UFOs?00:02
+perlDreamerThere's no conclusive proof for or against, so far.00:02
perlmonkey2People who believe UFO's are visiting us daily: 0  Scientific Null Hypothesis that no UFO's have visited 1,000,000^1,000,000.00:03
+perlDreamerArguing ad extreme is not an effective tactic00:03
perlmonkey2Believing in UFO's is like the tooth fairy.....zero evidenc.e00:03
perlmonkey2I'm just saying.....it is rational to speculate that UFO's could be visiting....it is irrational to say they actually are.00:05
+perlDreamerI can buy that00:05
perlmonkey2I sure wish they were visiting and while they're visiting the museums and seeing the sights, maybe they could help us out with a good plentiful source of energy so we can stop killing each other over resources.00:07
+perlDreamerThat would be nice, but once the resources get settled out we'd find some other reason for doing it.00:08
perlmonkey2Oh, I'll never vote for Nader now.  He chose Mason over Catalyst.00:08
+perlDreamerSee what I mean?00:08
perlmonkey2:D00:08
+perlDreamerLet's go nuke the Ruby people tomorrow :)00:08
perlmonkey2everyone knows they have it coming.00:08
perlmonkey2Naw, I'm a bit more optimistic than that.  If resources could be settled, we may whine and squabble, but very few bullets would fly.00:09
perlmonkey2For instance, over the last 20 years, for industrializing nations, oil exporters relative net GDP shrank, while oil starved countries grew (relative to each other).  Oil is a huge source of corruption which impedes economic development.00:11
* perlmonkey2 gets off his soap box.00:11
+perlDreamersafer topic :) Are you going to make your Monday deadline?00:14
knowma1has anyone ever seen SQLReport lose it's query and dblink info when it goes to process the query?00:24
knowma1I've got an sql report that has a query and dblink stored but the view method isn't retrieving this info from the db00:24
perlmonkey2perlDreamer: sorry, wife with broken knee tendons jsut got home, had to help her out of the car.00:24
+perlDreamerNot a problem.00:25
+perlDreamerYou're a good husband to help her.00:25
perlmonkey2perlDreamer: Yes, I think so.  All I really need to do is wrap up the answer events in the editor and it shoudl be ready for beta.00:25
perlmonkey2I try :)00:25
+perlDreamerknowma1: what error does it throw?00:27
knowma1couldn't find dblink00:28
knowma1i'm looking in SQLReport table in db now00:29
knowma1what column do i use to eliminate archives?00:29
+perlDreamerNo idea00:29
knowma1let me restate00:30
+perlDreamerrevisions?00:30
knowma1when i searched the sqlreport db by the assetid, i got back lots of rows00:30
knowma1yes, that's what i'm trying to say00:30
+perlDreamerand revisionDate=(select max(revisionDate) from table where assetId=myAssetId)00:30
knowma1somehow my later revisions have empty dbQuery1 entries...00:30
knowma1actually they are NULL00:31
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["switching to laptop"]00:31
+perlDreamerwho made the later versions?00:31
knowma1moi00:31
+perlDreamerdo anything funny by accident?00:31
knowma1i've been working on this asset all afternoon (it's a gnarly subselect query)00:31
knowma1nope, just been editing away]00:31
knowma1i can see it growing then all of a sudden it goes to NULL00:32
+perlDreamerI would suggest rolling back version tags 'til you get back to a valid one, then start again00:32
knowma1weird thing is that when i edit it, i see the query00:32
knowma1it just won't save00:32
+perlDreamerthat's browser form memory00:32
+perlDreamerwon't save 'cause there's no dbLink?00:32
knowma1so why ain't sqlreport saving the new stuff?00:32
+perlDreamerwhat does it say when you try to save?00:34
knowma1there's a method called _storeQueries which appears to be doing the lifting00:34
knowma1nada, it just acts like usual00:35
knowma1i've seen this happen before and we deleted the query and started a new one00:35
knowma1which fixed the error00:35
knowma1i've an idea00:35
knowma1i changed the dbQuery1 from NULL to xxx and tried saving it again but it's continuing to save back NULL's into the dbQuery1 field00:37
knowma1i gotta run.. will debug more later and file a report00:37
knowma1ciao00:38
-!- knowma1 [n=william@97.66.185.250] has quit ["Leaving."]00:38
+perlDreamergood luck00:38
+perlDreamerfor some reason, vi bindkeys don't work in my irc client00:38
+perlDreamerI should file a bug report for that, too.00:38
-!- GooeyOfSteel [n=puppetma@hq.imaterial.org] has quit [Read error: 104 (Connection reset by peer)]00:47
-!- GooeyOfSteel [n=puppetma@hq.imaterial.org] has joined #webgui00:53
CIA-22WebGUI: jt * r5981 /translations/ (3 files in 3 dirs): removing invalid translation files01:00
-!- lisette [n=liraos@201.232.58.66] has left #webgui []01:08
-!- jua1 [n=juangui@201.232.58.66] has left #webgui []01:08
CIA-22WebGUI: colin * r5982 /branch/WebGUI_Commerce/ (2 files in 2 dirs): begin Product->Sku translation01:20
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has quit ["Download Gaim: http://gaim.sourceforge.net/"]01:33
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit ["Leaving"]01:59
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI02:01
CIA-22WebGUI: graham * r5983 /WebGUI/ (docs/changelog/7.x.x.txt lib/WebGUI/Workflow/Spectre.pm): fixed: Unable to communicate with Spectre under alternate locales02:03
CIA-22WebGUI: graham * r5984 /WebGUI/docs/ (changelog/7.x.x.txt upgrades/upgrade_7.5.8-7.5.9.pl): fixed: Project Manager can't track non-integer durations02:03
-!- estiven [n=estiven@201.232.58.66] has left #webgui []02:52
-!- knowma1 [n=william@adsl-074-170-007-083.sip.clt.bellsouth.net] has joined #webgui03:06
-!- knowma1 [n=william@adsl-074-170-007-083.sip.clt.bellsouth.net] has left #webgui []03:07
-!- perlmonkey2 [n=kmurphy@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui03:21
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit [Remote closed the connection]05:46
-!- perlDreamer [n=colink@pool-71-117-250-89.ptldor.fios.verizon.net] has joined #webgui05:51
-!- mode/#webgui [+v perlDreamer] by ChanServ05:51
-!- perlmonkey2 [n=kmurphy@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."]06:00
-!- perlDreamer [n=colink@pool-71-117-250-89.ptldor.fios.verizon.net] has quit ["Leaving."]06:25
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui08:04
-!- mode/#webgui [+o preaction] by ChanServ08:04
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)]09:30
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui13:08
-!- BartJol [n=plainstu@52-167.surfsnel.dsl.internl.net] has joined #webgui14:20
-!- ryuu_ro [n=rory@c529ce350.cable.wanadoo.nl] has joined #webgui14:22
-!- ryuu_ro [n=rory@c529ce350.cable.wanadoo.nl] has quit []14:31
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit ["Exit- stage left"]14:56
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has quit ["Leaving"]15:57
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui16:16
-!- perlmonkey2 [n=kmurphy@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui17:33
-!- BartJol [n=plainstu@52-167.surfsnel.dsl.internl.net] has left #webgui []18:16
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui18:22
-!- mode/#webgui [+o preaction] by ChanServ18:22
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Connection timed out]19:40
-!- estiven [n=estiven@201.232.58.66] has joined #webgui20:23
-!- arlinja [n=arm9cl@athedsl-360000.home.otenet.gr] has joined #webgui20:30
GooeyOfSteelWiki: Configuring SSL for WRE - Created on 3/29/2008 1:35 pm by knowmad  http://www.webgui.org/community-wiki/configuring-ssl-for-wre20:47
-!- perlmonkey2 [n=kmurphy@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."]20:50
-!- perlmonkey2 [n=kmurphy@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui20:54
-!- estiven [n=estiven@201.232.58.66] has left #webgui []21:34
-!- estiven [n=estiven@201.232.58.66] has joined #webgui23:23
-!- estiven [n=estiven@201.232.58.66] has left #webgui []23:23
-!- Haarg [n=haarg@66-168-19-128.dhcp.mdsn.wi.charter.com] has quit [Connection reset by peer]23:52
-!- perlmonkey2 [n=kmurphy@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."]23:59
--- Day changed Sun Mar 30 2008
-!- Haarg [n=haarg@66-168-19-128.dhcp.mdsn.wi.charter.com] has joined #webgui00:11
-!- mode/#webgui [+o Haarg] by ChanServ00:11
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI01:25
-!- arlinja [n=arm9cl@athedsl-360000.home.otenet.gr] has quit [Read error: 110 (Connection timed out)]01:55
-!- SquOnk [n=emhn@190.79.207.109] has joined #webgui04:45
SquOnkHello04:45
SquOnkrizen: Are you around?04:46
SquOnkAny Debian users here?04:54
-!- SquOnk [n=emhn@190.79.207.109] has quit ["Yippie kay-ai-yay fudder muckers!"]06:03
-!- josh_ [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has joined #webgui06:57
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has quit ["leaving"]07:06
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui07:06
-!- mode/#webgui [+o apeiron] by ChanServ07:06
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit [Remote closed the connection]10:05
-!- josh_ [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has quit [Read error: 110 (Connection timed out)]11:57
Syn1debian users?15:10
Syn1why do people not just 'pop the question' instead of asking for a certain kind of knowledge in general?15:10
-!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has joined #webgui16:54
Syn1hi topsub16:55
topsubhi16:55
-!- SynQ [n=koen@e97024.upc-e.chello.nl] has joined #WebGUI17:01
SynQhi there :)17:01
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui17:16
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has joined #webgui17:47
-!- mode/#webgui [+v MrHairgrease] by ChanServ17:47
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit [Remote closed the connection]19:48
GooeyOfSteelWiki: Configuring SSL for WRE - Edited on 3/30/2008 11:58 am by knowmad  http://www.webgui.org/community-wiki/configuring-ssl-for-wre20:10
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui21:24
-!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has quit [Connection timed out]21:33
-!- Syn2 [n=koendejo@host2.procolix.com] has joined #WebGUI21:37
-!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: SynQ, Syn121:43
-!- Netsplit over, joins: SynQ21:59
GooeyOfSteelWiki: Configuring SSL for WRE - Edited on 3/30/2008 2:43 pm by knowmad  http://www.webgui.org/community-wiki/configuring-ssl-for-wre22:55
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has quit [Read error: 110 (Connection timed out)]23:16
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui23:57
--- Day changed Mon Mar 31 2008
SynQthat's the karma ah hah ah hah I like it ah hah ah hah00:33
perlmonkey2Karma?  We don't need no stink'n Karma.00:54
SynQhehe01:14
SynQok01:14
SynQwhat is the macro that gives you 'yoursite.com'01:14
SynQ^u(); ?01:15
SynQthat gives you http://www.yoursite.com01:17
CIA-22WebGUI: jt * r5985 /translations/Swedish/Swedish/Asset_DataForm.pm: update_from_translation_server01:46
perlmonkey2Well, the survey editor is now functional, although needs quite a bit of polish.  Anyone think I can write the survey part before tomorrow :P01:57
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has quit ["bbiab"]02:13
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui02:16
-!- mode/#webgui [+o apeiron] by ChanServ02:16
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has quit [Client Quit]02:16
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui02:16
-!- mode/#webgui [+o apeiron] by ChanServ02:16
-!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has joined #webgui02:18
-!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui02:51
-!- mode/#webgui [+v Radix-wrk] by ChanServ02:51
-!- SquOnk [n=emhn@190.79.207.109] has joined #webgui03:53
SquOnkHi03:53
topsubhi04:01
perlmonkey2hi05:13
perlmonkey2How would I test to see if a user has permissions to edit the survey wobject?05:14
perlmonkey2never mind....I'm just using if admin is on.05:23
@apeironperlmonkey2, wG::Asset has a canEdit(userId) method.05:24
perlmonkey2Woudl that be preferable to just using if the admin is on?05:25
@apeironDepends if what you're doing needs nonadmins to be able to edit it, I guess. :)05:25
perlmonkey2apeiron: I don't think we'd want users without access to admin the wobject, being able to edit the survey?05:27
perlmonkey2but that is a good method to know :)05:27
@apeironperlmonkey2, hrm. Depends, I guess, how granular you want it.05:28
perlmonkey2well, easy enough to change later.  05:28
SquOnkAny Debian users here?05:34
perlmonkey2whew, I'm to the point where I need to write the actual taking of the survey, and I think to get this started I'm going to need some heavy support from PB.  05:39
perlmonkey2The good news is, I feel my unpolished survey editor blows surveymonkey out of the water.05:39
perlmonkey2and I have some great ideas for improving messaging between the client and server.....lots of room to make even more awesome.05:40
perlmonkey2if calling it awesome isn't too presumptious.05:40
+Radix-wrkSquOnk: I use debian, why.05:46
SquOnkRadix-wrk: If you have a Debian Sid up to date, you might want to take a look at http://itverx.com.ve/debian05:46
SquOnkRadix-wrk: I've been packaging webgui for Debian for the past three years, and finally got a sponsor to upload it. I'd appreciate testing and feedback.05:47
SquOnkRadix-wrk: 7.4.28 is there, and 7.4.30 will probably be there tomorrow.05:48
SquOnkRadix-wrk: (It's an ADSL with limited upstream, mind you)05:48
-!- Radix-wrk [n=Jesse@203.161.68.67] has quit [Read error: 104 (Connection reset by peer)]05:49
-!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui05:49
-!- mode/#webgui [+v Radix-wrk] by ChanServ05:49
+Radix-wrkCool.. I06:02
+Radix-wrkCool.. I'm using Debian Etch at the moment06:02
SquOnkRadix-wrk: Ah. I'll probably backport it with about a dozen modules, but that won't happen util this one gets into Sid06:03
+Radix-wrkI'm using the WRE too.. which I have to say is soooo good :)06:04
+Radix-wrkGood to see someone working on integrating webgui into debian tho.. I think that's one of the things that webgui needs to be able to hit mainstream :)06:06
-!- SquOnk [n=emhn@190.79.207.109] has quit ["Yippie kay-ai-yay fudder muckers!"]06:18
-!- ascii [n=ascii@64.234.60.83] has quit ["leaving"]06:34
-!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has quit [Remote closed the connection]07:05
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."]07:05
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit ["Exit- stage left"]07:38
-!- ryuu_ro [n=rory@194.171.50.69] has joined #webgui09:00
-!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: ckotil09:10
-!- Netsplit over, joins: ckotil09:12
-!- Radix-wrk [n=Jesse@203.161.68.67] has quit ["Leaving"]10:38
-!- BartJol [n=plainstu@host2.procolix.com] has joined #webgui10:52
-!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: SynQ10:57
-!- Netsplit over, joins: SynQ11:09
-!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: SynQ11:18
-!- Netsplit over, joins: SynQ11:19
CIA-22WebGUI: graham * r5986 /WebGUI/ (docs/changelog/7.x.x.txt lib/WebGUI/Asset/Post.pm): fixed: Unable to edit CS posts that were denied as a normal user11:34
CIA-22WebGUI: graham * r5987 /WebGUI/lib/WebGUI/Asset/Wobject/Survey.pm: removing useless www_editSave from survey11:34
CIA-22WebGUI: graham * r5988 /WebGUI/ (2 files in 2 dirs): added: Better error messages when SQL Report lacks a query11:34
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui11:35
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui12:45
-!- mode/#webgui [+o preaction] by ChanServ12:45
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)]13:09
CIA-22WebGUI: jt * r5989 /translations/Dutch/ (6 files in 2 dirs): update_from_translation_server13:16
Syn2rizen!13:19
Syn2you'll have to move the wuc13:19
Syn2two weeks back :)13:19
Syn2front13:19
Syn2later13:19
-!- consultrman1 [n=meltek@pool-96-239-22-15.nycmny.fios.verizon.net] has joined #webgui13:19
BartJolwhy?13:19
BartJoland I think he's asleep at 4 in the morning13:20
consultrman1hello, i'm new to cms/webgui.  ..quick question:  does webui 'directly' serve up all pages to the net?  where does the db come in?13:22
consultrman1i asked because my main server has been lighttd for 3 years now.13:23
BartJolwell all the perl script retrieve data from the db and the results are send to the net13:27
BartJolso that's html code13:27
BartJolI think, but I'm not a dev guy13:27
BartJolbut it's quite interactive13:29
Syn2later is much cheaper13:34
Syn2much much much cheaper13:34
Syn2per flight to the usa13:34
consultrman1Bartjol: are you an active user?  what about the security and speed of webgui13:38
-!- consultrman1 [n=meltek@pool-96-239-22-15.nycmny.fios.verizon.net] has left #webgui []13:49
-!- BartJol [n=plainstu@host2.procolix.com] has quit [Read error: 113 (No route to host)]14:15
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has quit ["Leaving"]14:15
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui14:16
-!- BartJol [n=plainstu@host2.procolix.com] has joined #webgui14:17
-!- Erik1 [n=chatzill@84.246.3.152] has joined #webgui14:20
-!- Erik1 [n=chatzill@84.246.3.152] has quit [Client Quit]14:22
-!- erikms [n=chatzill@84.246.3.152] has joined #webgui14:22
BartJolhee erik14:22
erikmshee bartJol :)14:23
erikmsik was op zoek naar dei PasteBin14:23
erikmskwam ik hier uit14:23
BartJolah, this actually is an english forum14:23
erikmssorry14:24
BartJolhoewel mn nederlands wel beter is :)14:24
erikmsanyway, I do get extra head-tags,coming from style0314:24
BartJolyou can add bart@procolix.com if you have a msn accpount, then we can tals dutch14:24
erikmsnot on this machine... at work no MSN :)14:25
erikmsbut hang on...14:25
BartJolah, ok14:25
erikmsbrb14:27
erikmsafk14:27
-!- erikms [n=chatzill@84.246.3.152] has quit ["ChatZilla 0.9.81 [Firefox 2.0.0.13/2008031114]"]14:43
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui15:20
-!- ryuu_ro [n=rory@194.171.50.69] has quit []15:40
-!- SquOnk [n=emhn@201.211.84.218] has joined #webgui15:45
-!- CIA-22 [n=CIA@208.69.182.149] has quit []15:45
-!- CIA-22 [n=CIA@208.69.182.149] has joined #WebGUI15:55
-!- estiven [n=estiven@201.232.58.66] has joined #webgui16:13
-!- crythias [n=gyoung@fl-69-68-148-96.sta.embarqhsd.net] has joined #webgui16:21
-!- mode/#webgui [+v crythias] by ChanServ16:21
-!- crythias [n=gyoung@fl-69-68-148-96.sta.embarqhsd.net] has left #webgui []16:21
perlmonkey2What could be going wrong.  In my survey wobject, when I edit its title or menu title, it stays 'untitled'.16:21
perlmonkey2even if I create a new survey, the title remains 'untitled' regardless of what I put there.16:21
-!- SDuensin [n=Scott@234.sub-75-205-138.myvzw.com] has joined #WebGUI16:24
SDuensinMorning.16:26
perlmonkey2g'morning16:27
estivenmorning16:27
perlmonkey2I wonder why my purge overload wasn't just called16:30
perlmonkey2the wG portion of the survey is all jacked up  :(16:30
perlmonkey2overloading purge to delete collaltoral upon wobject destruction is the way to do it, right?16:31
perlmonkey2Thiis is driving me crazy.  Why when I create a new survey would the title not be correctly set?  I can't even find in the DB where asset titles and display titles are stored.16:45
Syn2morning16:48
-!- estiven [n=estiven@201.232.58.66] has quit [Read error: 110 (Connection timed out)]16:48
perlmonkey2gmorning Syn216:48
Syn2perlmonkey2: have you seen this post? http://www.plainblack.com/web_design_templates_and_themes/sorting-table-tips-using-jquery16:48
Syn2is it yours?16:48
perlmonkey2nope?16:49
Syn2ok16:49
Syn2I'd say post the above question in here: http://www.plainblack.com/web_design_templates_and_themes16:49
perlmonkey2Syn2: I just figured it out......Wasn't calling the super for processPropertiesFromFormPost.....just boneheaded mistake.16:50
Syn2ah16:51
perlmonkey2Mock me all you want, but my survey editor pwns surveymonkeys editor!16:51
perlmonkey2if that is how you spell pwns....not being 1337, I'm unsure of these spellings.16:51
-!- estiven [n=estiven@201.232.58.66] has joined #webgui16:51
perlmonkey2:P16:51
Syn2hehe16:52
perlmonkey2wow....3rd cup of coffee and my brain *just* switched on.16:52
-!- topsub [n=josh@97.66.185.250] has joined #webgui16:54
-!- Haarg [n=haarg@66-168-19-128.dhcp.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"]16:59
perlmonkey2anyone think of a reason purge woudln't be being called in my wobject?17:05
perlmonkey2is it only called when the wobject is removed from the trash?17:06
perlmonkey2hah, it is only called when the trash is emptied.17:06
* perlmonkey2 goes back to chasing his tail.17:07
perlmonkey2Heh, I love my templates.  about 15 includes of .css and .js files and then <div id=survey></div> and that's it :)17:22
-!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui17:25
-!- mode/#webgui [+o Haarg] by ChanServ17:25
perlmonkey2quiet this morning17:27
topsubya17:33
topsubtoo quiet.. lol17:33
-!- consultrmann [n=Administ@248-83.customer.cloud9.net] has joined #webgui17:42
consultrmannhello, is it possible to use fastcgi with webgui?17:43
perlmonkey2consultrmann: wG is built on mod_perl, so why would you want to use fastcgi?17:44
consultrmanni have a lighttpd server on the perimeter.  ...been using it for 3 years17:45
consultrmannperlmonkey2: i have a lighttpd server on the perimeter.  ...been using it for 3 years17:46
perlmonkey2mod_proxy to it.17:47
consultrmannperlmonkey2:  so, then the wme will handle all traffic, including serving up all webpages?17:48
@rizenwebgui does not work with fastcgi17:49
@rizenit needs to run in modperl17:49
@rizenbut you can use lighthttpd to proxy the mod perl pages if you want17:49
consultrmannperlmonkey2:  understood about fastcgi.  but, what about heavy loads on the apache server?  that's the reason why i 'went' lighttpd in the first place.17:51
perlmonkey2loads?  what kind of loads are you looking at?  On my old P4 2.8Ghz, wG is doing like 3-10 pages per second.  Plan on getting slashdotted?17:52
consultrmannperlmonkey2:  ....slashdotted?   definately!!!17:53
@rizenif configured properly WebGUI under modperl will handle twice the load of a fastcgi server17:53
@rizeni can say that with confidence, because we used to use fastcgi and modperl registry. then we switched to native modperl handling17:54
Syn2hi there :)17:55
@rizenSyn2 if you bring up anything about dependencies i won't answer you17:56
@rizenjust a warning in advance17:56
Syn2pff17:57
Syn2I wasn't even going to start17:57
Syn2I just wanted to say I'm having a really great time on webgui.org these past few days17:57
Syn2but I gotta run17:58
consultrmannperlmonkey2:  ..really?  i've alway head/seen bench marks of fastcgi being much faster.  i personally don't like the 'tight' integration of html/perl/mod_perl-ing.  ...also read that mod_perl slows down apache because of that integration on REQUESTS17:58
Syn2I'll be back here in an hour or 417:58
* Syn2 hugs JT17:58
consultrmannperlmonkey2: i'm also 'balancing' with fastcgi / memcached...   how stable is mod_proxy?17:59
Syn2later18:00
-!- steveo_a1 [n=sno@adsl-76-234-133-88.dsl.sfldmi.sbcglobal.net] has joined #webgui18:01
perlmonkey2consultrmann: how stable?  it is used in production around the world.  stable enough?18:02
@rizenbetter than hearing about it, we did benchmarks18:02
@rizenmodperl registry was 10 times faster than cgi18:03
@rizenfastcgi was 2 times faster than modperl registry18:03
@rizenand modperl native was 2 times faster than fastcgi18:03
consultrmannperlmonkey2:  ...stable enough.  btw, thanks for answing my questions18:03
consultrmannrizen:  ...you too!18:03
perlmonkey2consultrmann: thank rizen, what I say should be taken with a grain of salt, he's the one with expert knowledge.18:03
consultrmannperlmonkey2: ....ok18:04
consultrmannrizen: ...THANK YOU18:04
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has left #webgui []18:06
SquOnkrizen: Hi. I'm the "Debian package guy".18:07
-!- consultrmann [n=Administ@248-83.customer.cloud9.net] has left #webgui []18:07
@rizenernesto?18:07
SquOnkrizen: Yes18:07
@rizenhow goes it?18:08
@rizenconsultrmann: np18:08
SquOnkrizen: The sponsors sent me a note with the objections so far. Nothing out of the ordinary, mostly nitpicking.18:09
-!- jfluhmann [n=jfluhman@x171y167.angelo.edu] has quit ["Open Source Symposium - http://www.texasoss.org/"]18:09
SquOnkrizen: I do have to write man pages for the administrative commands, though.18:09
SquOnkrizen: But that will be fast. I have two students taking a remedial test today, so I'll write the manpages while watching them :-)18:10
@rizenSweet18:15
@rizenGood to see you on IRC18:15
@rizenBtw, I've been meaning to ask. Do you run any public sites using WebGUI?18:15
SquOnkrizen: Not yet. All my customers use it for their intranets...18:17
-!- steveo_aa [n=sno@76.226.180.6] has quit [Read error: 110 (Connection timed out)]18:17
@rizenHow many sites is that?18:17
SquOnkrizen: ...there is one customer that it's about to go online, probably by may.18:17
SquOnkrizen: Four18:17
@rizenCoolio18:18
SquOnkrizen: There will be a Free-Software related event by mid april, and I will give a talk and short demonstration on the virtues of WebGUI vs. anything-made-in-PHP18:18
SquOnkrizen: PHP-based CMSs are quite popular in Venezuela because people think "PHP is easier to maintain and extend"...18:19
@rizenawesome. please let me know how that goes.18:19
SquOnk...but then they get hacked every other week.18:19
@rizenPHP based CMS's are popular everywhere cuz you can install them on a $5/mo hoster18:19
SquOnkrizen: That too...18:19
@rizenthat's the only downside to WebGUI as far as i'm concerned...it was designed to be enterprise class18:20
@rizennot for the $5/mo hoster18:20
-!- af_ [n=getsmart@88-149-241-199.dynamic.ngi.it] has joined #webgui18:25
af_where could I find some doc about templates in webgui?18:25
af_(hi all)18:25
estivenin your own site18:26
estivenin the help section18:26
@rizenor, you can buy the webgui designers guide18:27
@rizenit's got over 200 pages about templates18:27
@rizenhttps://www.plainblack.com/store/services/books2/webgui-designers-guide18:27
estivenyes thas rigth..18:27
-!- jfluhmann [n=jfluhman@x171y167.angelo.edu] has joined #webgui18:29
@rizenjfluhmann - i wish i would have known about texasoss.org sooner. I would have put in to be a speaker.18:29
jfluhmannsorry about that.  I'm hoping to build and grow it into an annual thing18:30
jfluhmannare you going to be presenting at yapc this year?18:30
jfluhmannI'll get a little more organized next year with sending information out for the texasoss18:32
jfluhmannrizen, have you had much response with your developer posting?18:34
-!- af__ [n=getsmart@88-149-230-111.dynamic.ngi.it] has joined #webgui18:35
@rizenyes, i've got at least one talk at yapc this year, but i put in for 6 so we'll see. =)18:36
af__oh, disconnected18:36
@rizenwe've had only about 10 responses for the post this time18:37
@rizenwe did the same post last fall and had over 5018:37
jfluhmannwow18:37
perlmonkey2rizen: did you get a hire from the fall post?18:38
SquOnkrizen: Have you considered moving your database code to DBIx::Class?18:39
@rizenwe had 4 candidates that we would have hired, but unfortunately the project was cancelled by our client, so we ended up not hiring anyone18:39
af__do you mind I repeat my question? don't know if someone responded?18:39
@rizenSquOnk, considered it when i wrote webgui. But it would be much much slower.18:39
@rizenAlso, if I was going to do that, I'd probably use RoseDB instead of DBIx::Class18:40
perlmonkey2rizen: you wouldnt happen to have stats on that?  DBx::Class brings the sexy for sure, but it woudl be nice to know how slow it was.18:40
@rizenaf__: https://www.plainblack.com/store/services/books2/webgui-designers-guide18:40
@rizenthe stats were in a presentation i watched at yapc or a madmongers meeting at some point in the past18:41
@rizeni didn't run the benchmarks myself18:41
SquOnkrizen: I see. Have you benchmarked it lately? I always use DBIx::Class inside mod_perl with 300+ tables and feel no significant decrease in performance.18:41
af__thanks rizen 18:41
@rizenthe main thing was that i have no hatred of sql like so many people do, and if it's going to be slower at all that's unacceptable for a web app as far as i'm concerned18:42
@rizenSquOnk: try doing the kind of stuff that WebGUI::Asset::getLineage does in DBIx::Class18:42
SquOnkrizen: I'll take a look.18:43
perlmonkey2rizen: Is the current job for a specific contract or as a full time PB employee?18:46
@rizenfull time employee18:46
perlmonkey2hmm.....extremely interesting.18:47
-!- af_ [n=getsmart@88-149-241-199.dynamic.ngi.it] has quit [Connection timed out]18:47
@rizenthe last position was going to be for a full time employee also, but we figured that we could get away with just using contractors since we didn't end up getting the project from that one client18:47
af__rizen, books are sold on paper or electronally (pdf or whatever)?18:47
@rizenso that's waht we did18:47
@rizenthey're on paper af__18:47
@rizenregular books18:47
af__oh, ok, so they must be delivered, ok18:47
@rizenwe've been talking about doing PDF versions, but we're really worried about piracy18:48
@rizenwe had a lot of problems with PDF books in the past due to piracy18:48
af__also the value is different18:48
@rizenone guy even put the PDF out on his web site which was then picked up and archived by google18:48
@rizenit was a big mess18:48
af__just asking because I didnt't see nothing about shipment18:49
@rizenoh, when you click the buy link it will take you out to our printer's web site, lulu.com18:49
@rizenand there it will talk about shipment18:49
af__I am doing that, it's really slow here18:49
af__I am considering it, I think 7.x templating is different form 5.x18:50
af__from, even18:50
@rizenoh very different18:51
@rizenare you talking about WebGUI 5.x templating?18:52
af__yeah18:52
@rizencuz this book is only about 7.x18:52
@rizenthere are no resources for 5.x templating anymore. WebGUI 5 was released 5 years ago18:52
@rizenit's very old18:52
@rizeneverything that you need though18:53
perlmonkey2Interesting, even the DBIx::Class pod says it wasn't built for speed.18:53
@rizenyou should be able to find in the online help18:53
@rizenthat comes with WebGUI 518:53
@rizengo to your site and add the following to the end of your url:18:53
@rizen?op=viewHelpIndex18:53
@rizenperlmonkey2: no, it was definitely built for abstracting away from the database and SQL18:54
@rizenwhich is certainly fine, if you really want that18:54
@rizenin my case, SQL is not a bad word18:55
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has joined #webgui18:55
-!- mode/#webgui [+v perlDreamer] by ChanServ18:55
-!- BartJol [n=plainstu@host2.procolix.com] has left #webgui []18:55
@rizenand speed is a very good word18:55
+perlDreamerIt was only an okay movie, though18:55
@rizenoh and perlDreamer is a nasty word18:55
+perlDreamervery bad18:55
+perlDreamerwouldn't use it myself18:56
CIA-22WebGUI: jt * r5990 /translations/Spanish/Spanish/ (27 files): update_from_translation_server19:00
+perlDreamerwow19:00
+perlDreamer27 files19:00
perlmonkey2hah.....I was just cussing out some bad driver the other day and he yelled back that I was a 'perlDreamer'.  I didn't know what he meant until what you just said, rizen.19:02
-!- af__ [n=getsmart@88-149-230-111.dynamic.ngi.it] has quit [Read error: 110 (Connection timed out)]19:14
CIA-22WebGUI: jt * r5991 /translations/ (146 files in 3 dirs): update_from_translation_server19:21
CIA-22WebGUI: jt * r5992 /translations/Spanish/Spanish/WebGUI.pm: update_from_translation_server19:21
-!- topsub [n=josh@97.66.185.250] has quit [Remote closed the connection]19:23
+perlDreamerIn other i18n news, the Dutch translation is again at 100%.  Those guys are really on the ball.19:35
+perlDreamerSomeone started a Turkish translation19:35
+perlDreamerand the Spanish translators are really kicking in, gaining about 3% over the weekend19:35
+perlDreamerHowever, they'll have their work cut out for them if they want to catch the French and the Germans19:36
-!- SquOnk [n=emhn@201.211.84.218] has quit ["Yippie kay-ai-yay fudder muckers!"]19:40
@rizenI love how you stated all that19:40
@rizenYou sound like a sports reporter.19:40
+perlDreamerI'm channeling Howard Cosell19:40
@rizenIf the Arabic team doesn't get on the ball they'll lose their second place position. They've dropped to 90.0% this past wek.19:42
@rizenweek19:42
+perlDreamerThat's true, but their nearest competitor are the germans back at 61.7%19:42
+perlDreamerI'm thinking of graphing the data, for fun19:43
@rizenThey do hold a commanding lead, but the Spanish team could come out of nowhere and take the number 2 spot.19:43
+perlDreamerIndeed, not only that, but the Spanish team, young and hungry, are often seen in the WebGUI IRC channel.19:44
@rizenindeed19:44
+perlDreamerThey're making a full, broad push into the Wide World of WebGUI19:44
+perlDreamerIt's going to be an interesting race, any news on how Preaction is handicapping the individual teams?19:46
@rizenyou can't ask a question like that without him being here19:54
@rizencuz he needs to follow up with something like:19:55
@rizenyou know perlDreamer, ....19:55
+perlDreamertrue19:55
* perlDreamer suggests that we cut to commercial19:55
@rizenwe'll be right back after a few words from our sponsors19:56
@rizeni'm turning 1000 lines of javascript into templates right now19:56
+perlDreameroy19:56
@rizenfor the ems19:56
@rizenperlmonkey2: in all that javascript that you created, that you're proud isn't in templates19:56
@rizendo you have any labels in it?19:57
@rizenif so, it's got to go into templates so that they can be replaced with ^International(); macro calls19:57
+perlDreamerare we doing that switch in 7.5, too?19:57
@rizenjust for new stuff19:57
@rizenmy plan, if people on the dev mailing list don't give me too much fuss about the year long dev cycle19:58
@rizenis to do that for 7.619:58
@rizenconvert everything that is now19:58
perlmonkey2Okay, then it looks like I'll need to move all the .js into templates.19:58
@rizenall of it, or can you get away with moving just the labeled parts into templates?19:58
@rizenmine has labels throughout19:59
@rizenso i have to put it all into templates19:59
+perlDreamerIn late breaking news, the Turkish just raced past the Swedish team.  They've started their translation and covered 0.6% in just the last few hours.19:59
@rizenperlmonkey2: another option for you19:59
@rizenis to create snippets19:59
@rizenand reference them just like normal javascripts19:59
@rizenbut then the macros will get processed19:59
@rizenand the javascripts will still be cached19:59
@rizenperlDreamer: we're still on commercial break20:00
@rizen=)20:00
+perlDreamerWe now return you to your regularly scheduled commercials20:00
perlmonkey2Okay I like the snippet idea.  20:00
perlmonkey2But I already want to do some serious refactoring once I get a working beta going.20:01
perlmonkey2Perhaps I can have some experts at wG go over it and make recommendations/comments :)20:01
@rizenthere are no such thing as webgui experts20:01
perlmonkey2hah20:02
@rizenso you'll just have to deal with dolts like me and pd20:02
@rizen=)20:02
@rizensorry pd20:02
+perlDreamerNo problem.20:02
perlmonkey2on noes, I'm sunk :P20:02
+perlDreamerperlmonkey2: be sure that you have Help files and i18n, too20:02
perlmonkey2perlDreamer: once I get the beta up, I'm sure I'll be asking for pointers on all that.20:04
perlmonkey2I knew I needed il8n, but decided to ignore it until I had something functional.20:04
@apeironI'm writing some tests that use wG::Exception. Is there a cleaner way to ensure that a process that *should* live *does* live 20:05
@apeiron?20:05
@apeironer, cleaner than running it through eval20:05
+perlDreamerTest::Exception has a lives_ok test20:05
@apeironRight, but I can't depend upon that being available, can I?20:06
+perlDreameris this a 7.4 or a 7.5 test?20:06
@apeiron7.5.20:06
+perlDreamerafaik, we can still inject new dev dependencies into 7.520:06
@apeironThat's good, but I remember you saying something about being disappointed with T::E?20:07
+perlDreamerI was drooling over Test::JSON this morning, but hadn't brought it up yet20:07
+perlDreameryes, but MrHairgrease wrote WebGUI::Exception, which adds an _deeply extension, so that you can catch an exception and validate its contents in one go20:08
+perlDreamerI think it should inherit from T::E, but that's purely opinion20:08
-!- topsub [n=topsub20@97.66.185.250] has joined #webgui20:10
@apeironI think it'd be cool to have T::E, because otherwise I'm not exactly sure how to write the test so that it: 1. lives no matter what, regardless of the possibilities of the code (supposed to be) living / dying 2. checks for an exception object if there's nothing to check (i.e., no exception thrown).20:10
+perlDreamereval/caught should still work, it just sounds like you find it inelegant20:11
@rizenapeiron: stop complaining and just use eval20:12
perlmonkey2Does anyone like the idea of putting the survey in a YUI Panel like this: https://www.lostokies.com:444/20:25
perlmonkey2That edit survey will eventually only appear when admin is turned on and be a button instead.20:26
perlmonkey2I'd also toyed with the idea of making the survey full screen like surveymonkey does....but not sure about that.20:28
topsubI need to get the children underneath an asset, will getLineage do this for me? doesn't look like i can say from this asset. seems it digs in the sessionf or that20:28
@rizenperlmonkey2: yui panels are nice if you have lots of stuff you're going to do (tabs, various displays, etc)20:30
+perlDreamer$me->getLineage(['children'])20:30
@rizenso i'd support it if you need it for something20:30
@rizenbut i wouldn't add it for no apparent reason20:30
@rizentopsub: perlDreamer is right20:30
perlmonkey2rizen: I don't really have any need of it whatsoever.  I just get caught up with all the new toys and want to include them all 20:30
@rizenthen overruled20:31
topsubperlDreamer, i am looking to writing a macro and sending an assetId in. Can it handle that20:31
@rizen=)20:31
perlmonkey2heh, yeah, it would just make it a pain to customize fonts, colors, etc.20:31
topsubgetLineage that is20:31
@rizenyou don't pass in an asset id20:31
@rizenyou have to have a reference to an asset20:31
@rizenso you'd do it like this:20:31
+perlDreamertopsub, then instanciate the asset ad then call getLineage it20:31
@rizenmy $asset = WebGUI::Asset->new($session, $assetId);20:31
topsubahhh thanks!20:32
@rizenmy $children = $asset->getLineage(['children'], {returnObjects=>1});20:32
@rizenactually sorry20:32
@rizenyou'd do:20:32
@rizenmy $asset = WebGUI::Asset->newByDynamicClass($session, $assetId);20:32
+perlDreamerrizen: preaction isn't here.  that doesn't mean you can use his psychic connection into my head like that.20:33
@rizenunless you know what class you're instanciating already20:33
@rizensorry pd...i'll try not to let it happen again20:33
@rizenmethinks i'm going to have to turn off irc for the rest of the week so i can get stuff done20:33
@rizen=(20:33
topsublol20:34
topsubrizen, thanks!!20:34
topsubseems i am just overwriting the session with an assetId then calling getLineage20:35
CIA-22WebGUI: jt * r5993 /translations/Turkish/Turkish/ (6 files): update_from_translation_server20:43
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui20:52
-!- mode/#webgui [+o preaction] by ChanServ20:53
GooeyOfSteelWiki: Installing WRE 0.8.3 - Edited on 3/31/2008 12:45 pm by tavis.parker  http://www.webgui.org/community-wiki/installing-wre-0.8.320:57
-!- dhelsten [n=helsten@newcastlecapital.com] has joined #Webgui21:07
topsubwhen you use WebGUI::Test does it get the default webgui database information? Or do i need to define it? trying write a test for my macro that needs to connect to the default webgui database21:08
+perlDreamerit uses the config file to build a session21:09
+perlDreamerthen use $session->db21:09
topsubso in my test i need to define a conf to use right?21:09
-!- jfluhmann [n=jfluhman@x171y167.angelo.edu] has quit [Remote closed the connection]21:09
+perlDreamerno, it uses an environment variable21:09
+perlDreamerWEBGUI_CONFIG21:09
+perlDreamerenv WEBGUI_CONFIG=/data/WebGUI/etc/mywebgui.conf perl myTest.t21:09
+perlDreameryou should have diona or william send you the testing presentation that I gave at the '06 WUC21:10
topsuboh ya my env variable i set up21:10
* perlDreamer heads to the gym for self-punishment today21:11
dhelstenHi guys, [non progammer here] I've looked around in the help, boards, and wiki but can't find an answer to the following:  Right now I have a workflow that uses 'Notify about user' to let me know when a user registers.  Can I use variables in the subject and body?  If so, where can I find a list of them?  Or is there better way to be notified?  I need to personally review each one to place them into specific groups. 21:13
metanilhello 21:46
dhelstenAny response on my question is appreciated.21:47
metanildoes webgui manage the version controlling for file that we upload ?21:48
-!- estiven [n=estiven@201.232.58.66] has quit [Remote closed the connection]21:51
-!- estiven [n=estiven@201.232.58.66] has joined #webgui21:51
@rizendhelsten: no you can use macros, but no template variables21:54
@rizenmetanil: yes21:55
* rizen leaves so he can get some work done, pd, IM me if you need anything21:55
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit []21:55
metanilrizen: for each file that i upload in folder directory..21:56
metanilrizen: Can i get my previous versions of those file? .. (is it "Version Tag" in admin console??)21:57
GooeyOfSteelWiki: Reporting a bug - Created on 3/31/2008 1:52 pm by koen  http://www.webgui.org/community-wiki/reporting-a-bug22:04
dhelstenThanks.  I guess I'd need to figure out how to write a macro someday anyway.  Now is the time...22:07
-!- dhelsten [n=helsten@newcastlecapital.com] has left #Webgui []22:08
GooeyOfSteelWiki: Reporting a bug - Edited on 3/31/2008 1:57 pm by koen  http://www.webgui.org/community-wiki/reporting-a-bug22:09
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit ["Leaving"]22:15
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui22:19
-!- mode/#webgui [+o preaction] by ChanServ22:19
metanil Can i get my previous versions of those file which i uploaded in "Folder" asset? .. (is it in "Version Tag" in admin console??)22:27
SynQsigh22:28
SynQI'm glad that JT introduced the idea of shunts22:28
topsubcan't get this macro working with getting Lineage.. 22:32
topsubnot sure how to debug.. i can run the SQL getLineage creates just fine22:33
topsubbut its like when it processes it. i get nothing... 22:33
perlmonkey2what is a shunt?22:33
perlmonkey2topsub: I find inserting warn statements helpful for hard to debug problems.22:33
@preactionperlmonkey2, it's another way to get to Beta from Stable22:34
SynQperlmonkey2: http://www.plainblack.com/webgui/dev/discuss/7_6-and-beyond/11522:35
@preactionmetanil, it's "Revisions" in the right-hand side of the Edit screen for your file22:35
SynQthat is where JT explains it22:35
SynQhi Doug22:35
SynQdid you habashi lately?22:35
@preactionno. no habashi for me since the WUC :(22:36
SynQman22:37
SynQI'm looking out for habashi at the next WUC22:37
@preactionindeed22:38
@preactionthis WUC is going to be awesome22:38
SynQhaven't been able to find a habashi place around here too22:38
SynQI agree totally22:38
perlmonkey2hmm, interesting thread on shunts...I dig it.22:38
SynQdo say so in the discussion22:39
perlmonkey2SynQ: eh?  Like hand out mod points on the thread?22:39
SynQtomorrow is april fool's day22:39
SynQperlmonkey2: like, post a message to say that you think this is the way to go22:39
@preactionI'm still of the opinion that if the upgrade scripts were more intelligent, this would be far easier22:39
SynQok22:41
SynQthat is a very valuable argument to that discussion too22:41
SynQI've got a bit of a feeling that I am the only one here that gives sustained rebuttle at JT's postings22:42
SynQam I wrong?22:42
perlmonkey2How many devs are there that *can* give sustained rebuttal?22:42
perlmonkey2don't they really have to know the system?22:42
SynQwhy should you have to know the system22:43
SynQif something is not clear you can simply state that you do not know how it works22:43
SynQbut that you think it would be intuitive for it to work in a certain way22:43
@preactionSynQ, i'm always around telling JT what can and cannot be done22:44
SynQbut not on the support board22:44
SynQwell22:44
SynQnot on the discussion board on webgui.org22:44
SynQactually you are22:44
SynQyou are around :)22:44
SynQI hate it that JT is not around on the irc channel right now22:45
SynQsince it could look like I'm lobbying for my cause whitout him being around22:45
SynQbut still: how do you feel about 'stable' vs 'beta'22:46
SynQshouldn't stable be stable in such a way that a dependancy api break would't be used in the stable version?22:46
metanilpreaction: oops!!.. so simple.22:48
perlmonkey2hmm, so $self->get('key') will do a db lookup but $self->getValue('key') will check a local cache before hitting the db?22:50
perlmonkey2since wobject properties seem unlikely to change while being used, I wonder why anyone would use get over getValue.22:51
perlmonkey2err...not $self but Asset->get and Asset->getValue22:51
SynQI think I scared preaction away23:02
@preactionSynQ, i bore the brunt of that dependency problem, and our team came up with all the ways to get around it. i was livid, ready to scream at JT to find another player for this game of "What is the API and when do we say it's broken?"23:03
SynQwhat does livid mean?23:06
@preactionit's that kind of angry where your face turns red, you start sweating and smoke starts pouring out your ears23:07
+perlDreamertopsub: if you nopaste your code I'll poke at it a bit23:07
@preactioni spent literally days trying to get my dev box back to a workable state23:07
SynQok23:07
SynQbut do you agree that stable should mean you keep your set of dependancies as tight and original as possible?23:08
SynQor don't you?23:08
SynQor something in the middle?23:08
@preactionthe JSON thing was a fluke, but it may be possible to modify testenvironment.pl to handle things like downgrading dependencies or building dependencies in the /data/WebGUI/lib directory23:10
@preactionperhaps we could handle all our deps that way, but then we're getting... weird...23:10
perlmonkey2dang it.....am I really this stupid.  I'm trying to get the template to include the uri of the wobject so that ajax calls can be made to it.23:11
SynQwhat is a fluke23:11
SynQman, you are litterate23:11
@preactiona rare occurance23:11
SynQah23:11
+perlDreamerfluke is a 1-time, rare occurance23:11
SynQI think that the JSON thing will prove not to be a fluke23:12
@preactionsomething that skews an otherwise uniform data set23:12
SynQperhaps that is what JT is disagreeing with me on23:12
@preactionthe other major deps we have are Perl bastions: DBI, HTML::Parser23:12
@preactionHTML::Template23:12
@preactionDateTime23:13
SynQok23:13
SynQwhat about imagemagick, mysql, apache23:13
@preactionthey won't change APIs either23:13
SynQthese might prove fundamentally broken once in a while, that will require to use a new version security wise23:13
@preactionwell, mysql's API is SQL, and Apache's is libapreq2, but still23:13
@preactionwe can't guarantee anything that isn't outside of our control23:14
@preactioner... that IS outside of our control23:14
SynQIf something is just 'wrong' and has to be changed to be 'right' in your dependancy23:14
SynQok23:14
SynQbut that it is outside of your control doesn't mean that you cannot take that into account23:14
@preactioni mean, we could, and then explain why we had to break our promise (and we will have to break it)23:14
@preactiontrue23:14
SynQif you know in advance that such things happen23:14
SynQyou can create rules around them23:15
SynQand tell anyone who is complaining23:15
SynQ'these are our rules, we told you so in advance'23:15
@preactionor we can handle it more gracefully than this last one was handled23:15
SynQcan that be done23:16
SynQcan it be so non-intrusive that it wouldn't hurt this much?23:16
@preactioni can't speculate on that, as I have no idea what API could change23:17
@apeironWorking on some code using wG::Exception that does low level file stuff. Would something like a wg::E::OS::FSPermissionsError be acceptable?23:18
@preactioni mean, if you ran testEnvironment.pl before every upgrade, it should Just Work, no?23:18
@apeirone.g., "can't write to directory, no permissions" or "this file doesn't exist"23:18
+perlDreamerapeiron: Do we need theOS layer in the hierarchy?23:19
@apeironperlDreamer, Thinking ahead. "can't spawn process" "out of disk space" 23:20
@preactionit'd be nice to be able to ignore or catch all OS errors. there will probably be few instances where an OS error can be handled23:20
@apeironshrug. I'll write the tests to use one of the existing exceptions.23:21
@apeironCan always look at this more closely later.23:21
perlmonkey2Which macro would give me the url path to a particular wobject?23:21
+perlDreameris it the current wobject, perlmonkey2?23:21
perlmonkey2yes23:21
@preaction^PageURL(); i think23:22
@preactionbut isn't that exposed in the template variables?23:22
+perlDreamerthe url session variable is defined when you call $asset->processTemplate23:22
@preaction<tmpl_var url>23:22
+perlDreameror is it $process23:22
perlmonkey2preaction: That's what i'm using, but it gives me the path to the current page, rather than the wobject on the screen.23:22
perlmonkey2I'll try that23:22
@preactionperlmonkey2, then it isn't the current wobject ;)23:22
@preactionyou should add the url to the template variables23:22
@preactioncurrent wobject in WebGUI is the asset with the URL you're looking at23:23
perlmonkey2I have the survey in the home page.23:23
+perlDreamerit is processTemplate23:23
@preactionperlmonkey2, you should have a getTemplateVars method in your Survey class that does at least: my $self = shift; my $var = $self->get; $var->{ url } = $self->getUrl; return $var;23:25
SynQok23:25
+perlDreamerBut you don't need that $self->get if you use processTemplate23:25
perlmonkey2Okay, that is easy enough to do :)  thanks23:26
SynQI think I can elaborate on the fluke part in the discussion now23:26
@preactionperlDreamer, eh, that's counter-intuitive to me. i hate magic like that23:26
SynQpreaction: is it ok if I quote part of the IRC chat I had with you?23:26
+perlDreamerso you'd duplicate functionality in every little place?23:26
+perlDreamerseems wasteful and a maintenance problem waiting to happen23:27
@preactionperlDreamer, not every place. i consider processTemplate to be in error: it shouldn't add anything i don't want people to see23:27
@preactionit's just this case (for now)23:28
-!- topsub [n=topsub20@97.66.185.250] has quit [Read error: 110 (Connection timed out)]23:28
@preactioni can't just remove something, since processTemplate will add it23:28
@preactionSynQ, i don't speak for JT, but the running testEnvironment.pl before every upgrade should be Standard Operating Procedure23:28
@preactioni mean, you can quote me (and since xdanger is here I'm on-record), but my words aren't really going to make a difference23:29
+perlDreamerthat does make sense, but I don't see much harm in the asset level variables.23:29
@preactioni've made these arguments to both JT and Frank and was given back the same arguments JT's giving now. the longer we put this JSON thing off, the more painful it would be23:30
SynQok23:30
@preactionas JT said, it wasn't WebGUI's fault, but WebGUI was being blamed23:30
SynQand the people who are using the WRE and the stable version of WebGUI have to burn their fingers?23:30
+perlDreamerwe could be nazis, and do version checks in preload.perl.  Wrong version, no wG for you!23:31
SynQbut I wanted to try and play down my own argument a bit23:31
SynQsaying that I will accept that JSON was a fluke, for now, but that I think it will happen again in the future23:31
@preactionSee Raymond Chen for compatiblity / upgrade / API stuff: http://blogs.msdn.com/oldnewthing/archive/2003/12/23/45481.aspx23:32
@preactionperlDreamer, having testEnvironment.pl --errorOnly run in preload.perl might be a good idea23:32
@preactionbut it'd add a minute or two to startup23:33
@preaction(errorOnly is not there yet, it's my own design)23:33
SynQah23:33
SynQI want that, and I'll submit an RFE for it right now :)23:33
SynQthere you go23:35
@preactionit could be controlled by a PerlSetEnv in the configuration file23:37
+perlDreamerthe workflow would be something like monitorWebGUIEnvironment23:37
+perlDreamerrunning the WRE would turn it off by default :)23:38
@preactionif ( $ENV{ WG_TESTENV } ) { system "testEnvironment.pl --errorOnly" and die "Couldn't load webgui! Please run testEnvironment.pl from the command-line" }23:38
SynQok, noted23:40
SynQNow I'm going to reply to the beta/stable thread once again23:40
@preactiongood lord...23:40
SynQfinal one23:41
SynQand giving in to JT too23:41
@preactioni'm JT light, only because he has yet to take a stand without explaining why, and has never used "Because I said so, that's why" as a valid argument. with most things he says "If you want it, do it and if it follows WGBP i'll allow it"23:44
+perlDreamer..unless it is a huge performance hit23:45
SynQWGBP?23:46
SynQBest Practices23:46
+perlDreameryup23:46
-!- SDuensin [n=Scott@234.sub-75-205-138.myvzw.com] has quit ["Leaving"]23:47
SynQhttp://www.webgui.org/webgui/dev/discuss/7_6-and-beyond/117 there you are23:47
SynQthe shunt is the solution23:49
SynQnice word too23:49
perlmonkey2It kind of has to be that way if this is to be an opensource project, right?23:59
--- Log closed Tue Apr 01 00:00:01 2008

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!