--- Log opened Sat Mar 01 00:00:00 2008 | ||
--- Day changed Sat Mar 01 2008 | ||
wgGuest79 | ok | 00:00 |
---|---|---|
+perlDreamer | Does it say that in the docs for WebGUI::Group.pm ? | 00:00 |
wgGuest79 | i am going to look for the method | 00:00 |
cap10morgan | i see | 00:01 |
wgGuest79 | in WebGUI::Group.pm there is not a create method | 00:01 |
estiven | in WebGUI::Group.om doesn't exist a create method.... i can't find too | 00:04 |
estiven | Can't locate object method "create" via package "WebGUI::Group" at /data/WebGUI/lib/WebGUI/Macro/..... | 00:07 |
wgGuest79 | so, where is that method? | 00:08 |
estiven | mm, i don't know... | 00:08 |
@rizen | WebGUI::Group->new($sesion, "new") | 00:08 |
@rizen | my $newGroup = WebGUI::Group->new($ssesion, "new"); | 00:09 |
@rizen | it's a very old api so it doesn't conform tot he same specs as our other objects | 00:09 |
estiven | WebGUI::Session::ErrorHandler::warn[430] - WebGUI::Group->new called with a non-existant groupId:[prueba] | 00:10 |
wgGuest79 | perlDreamer wrote that new pull an existing group | 00:10 |
@Haarg | you have to pass in 'new' as the second parameter to create a group | 00:12 |
+perlDreamer | perlDreamer has seen too much API recently | 00:13 |
estiven | mm, i try it | 00:14 |
estiven | yes works... | 00:19 |
estiven | my $g = WebGUI::Group->new($session,"new"); | 00:19 |
estiven | $g->name("prueba"); | 00:19 |
estiven | thanks | 00:19 |
+perlDreamer | cap10morgan: it's in | 00:20 |
+perlDreamer | svn rev 5687 | 00:20 |
+perlDreamer | Interception of logging now has to be enabled. | 00:20 |
cap10morgan | perlDreamer: cool. does it go to webgui.log o/w? | 00:21 |
+perlDreamer | yes | 00:21 |
cap10morgan | excellent, thanks for doing that | 00:21 |
+perlDreamer | you're welcome | 00:21 |
+perlDreamer | it could use some polish | 00:21 |
+perlDreamer | the queue is a scalar, so it's only one call deep | 00:21 |
+perlDreamer | and as it stands, there's no way to turn it off once enabled | 00:21 |
CIA-21 | WebGUI: colin * r5687 /WebGUI/t/ (6 files in 4 dirs): Fix how logging gets intercepted. It used to be on by default, now it must be turned on. | 00:27 |
+perlDreamer | has anyone else noticed that the SVN RSS feed is from 1969 | 00:28 |
@preaction | it's probably not sending out the pubDate field. | 00:29 |
cap10morgan | Haarg: can I clone your WebGUI git repo? | 00:29 |
@Haarg | heh | 00:29 |
@Haarg | i should put it somewhere | 00:29 |
@Haarg | it's a pain to do the initial import | 00:29 |
cap10morgan | yeah, that's what i'm discovering :) | 00:29 |
@rizen | Haarg, if you do that make sure that it doesn't expose your user/pass or privileges to anyone | 00:37 |
@Haarg | it doesn't store than in the repository | 00:37 |
@Haarg | it just goes in the same place svn auth stuff normally does | 00:37 |
@rizen | well pd, i'm outy for the weekend, i've checked in the base address book system, still have to do the ui for it | 00:37 |
@rizen | we made very good progress this week perlDreamer. | 00:38 |
+perlDreamer | thanks, man | 00:38 |
* rizen pats perlDreamer on the back | 00:38 | |
+perlDreamer | I should have the tax migration script done soon, too | 00:38 |
@rizen | nice | 00:38 |
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [No route to host] | 00:39 | |
@rizen | hopefully next week we can have address book, shipping, and tax all finished and integrated into the cart | 00:39 |
@rizen | as well as all the admin screens for each | 00:39 |
+perlDreamer | and doesn't Joeri and crew turn on next week, too? | 00:39 |
+perlDreamer | we may make the deadline, yet! | 00:39 |
@rizen | march 5th i think he said the current project is done | 00:40 |
@rizen | we'll make the deadline | 00:40 |
@rizen | that's not in question | 00:40 |
@rizen | the question is how much other goodies can we throw in by then | 00:40 |
+perlDreamer | :) | 00:40 |
@rizen | have a good weekend all | 00:41 |
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit [] | 00:41 | |
cap10morgan | Haarg: do you remember the git svn init command you used to pull in the WebGUI SVN repo? :) | 00:44 |
cap10morgan | I'm thinking of doing git svn init -t releases -b branch -T WebGUI https://svn.webgui.org/plainblack | 00:49 |
cap10morgan | here goes nuthin... | 00:50 |
nuba | rizen> | nuba you too | 00:54 |
+perlDreamer | rizen had a question about addressing | 00:54 |
nuba | was that re: multiple line addresses ? if yes, I think they're good :) | 00:54 |
@Haarg | that's basically it cap10 | 00:54 |
cap10morgan | Haarg: cool, thanks | 00:54 |
+perlDreamer | I think the exact question was whether one line or multi-line addresses would be difficult for interational users | 00:55 |
nuba | blist | 00:55 |
nuba | oops, wrong window | 00:55 |
nuba | well, its unusual in Brazil to spell the entire address in a single line | 00:56 |
@apeiron | bitlbee++ | 00:56 |
nuba | apeiron: heh yeah | 00:56 |
nuba | bitlbee is great, except when it goes runaway an 99% CPU... | 00:57 |
nuba | and* | 00:57 |
@apeiron | I don't seem to have that problem, heh. | 00:57 |
nuba | lucky you, it happens to me every few weeks or so. | 00:58 |
nuba | and Im too lazy to go find out why | 00:58 |
@apeiron | Well, I don't notice it if it does... FreeBSD's scheduler doesn't actually let a process eat 100% of the CPU time. | 00:59 |
nuba | trust me, you'll notice. | 01:00 |
@apeiron | I've sat and watched processes labelled as "100%" in top and the system was perfectly responsive. :) | 01:01 |
nuba | one notices when all buddies are silent for more than a day | 01:01 |
CIA-21 | WebGUI: jt * r5688 /branch/WebGUI_Commerce/ (6 files in 3 dirs): added address book management system, no ui | 01:01 |
nuba | heh, another thing one notices is the productivity boost | 01:04 |
+perlDreamer | cap10morgan: http://git.or.cz/course/svn.html | 01:17 |
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit [Remote closed the connection] | 01:21 | |
@Haarg | this is better for working with git-svn: http://utsl.gen.nz/talks/git-svn/intro.html | 01: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-21 | WebGUI: colin * r5689 /branch/WebGUI_Commerce/docs/upgrades/upgrade_7.5.2-7.5.3.pl: | 01:43 |
CIA-21 | WebGUI: Migrate old tax data into the nex tax data script. | 01:43 |
CIA-21 | WebGUI: Tested this manually and it works okay. | 01: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 #WebGUI | 02:52 | |
-!- cap10morgan [n=cap10mor@206-124-6-111.denver.dsl.forethought.net] has joined #webgui | 03:16 | |
CIA-21 | WebGUI: arjan * r5690 /branch/WebGUI_7.4/lib/WebGUI/Asset/Wobject/WikiMaster.pm: fix: Wiki links to pages in trash (Arjan Widlak/United Knowledge) | 03:34 |
CIA-21 | WebGUI: arjan * r5691 /branch/WebGUI_7.4/docs/changelog/7.x.x.txt: updated changelog: Wiki links to pages in trash (Arjan Widlak/United Knowledge) | 03:51 |
-!- Radix__ [n=Radix@203.161.71.161.static.amnet.net.au] has joined #webgui | 05:49 | |
-!- Radix__ [n=Radix@203.161.71.161.static.amnet.net.au] has quit [Client Quit] | 05:49 | |
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)] | 05:51 | |
CIA-21 | WebGUI: colin * r5692 /branch/WebGUI_Commerce/designdocs/shipper.pod: | 06:20 |
CIA-21 | WebGUI: I was able to build Shop::Ship without _loadDriver by | 06:20 |
CIA-21 | WebGUI: using WebGUI::Pluggable directly. | 06:20 |
-!- wgGuest85 [i=WebGUIUs@ip-159.net-82-216-114.rev.numericable.fr] has joined #webgui | 07:08 | |
wgGuest85 | speck french ? | 07:09 |
-!- wgGuest85 [i=WebGUIUs@ip-159.net-82-216-114.rev.numericable.fr] has quit [Client Quit] | 07:11 | |
CIA-21 | WebGUI: colin * r5693 /branch/WebGUI_Commerce/ (lib/WebGUI/Shop/Tax.pm t/Shop/Tax.t): placeholder for calculate in Shop::Tax.pm | 07:17 |
-!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: steveo_aa | 07:31 | |
-!- Netsplit over, joins: steveo_aa | 07:38 | |
-!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: steveo_aa | 07:39 | |
-!- Netsplit over, joins: steveo_aa | 07:40 | |
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui | 10:15 | |
-!- mode/#webgui [+o preaction] by ChanServ | 10: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 #WebGUI | 17:07 | |
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui | 17:58 | |
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui | 18:55 | |
-!- mode/#webgui [+o apeiron] by ChanServ | 18:55 | |
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui | 19:45 | |
-!- mode/#webgui [+o preaction] by ChanServ | 19:45 | |
CIA-21 | WebGUI: doug * r5694 /branch/doug-experimental: Removing my experimental branch since I can't seem to merge with HEAD | 22:21 |
CIA-21 | WebGUI: doug * r5695 /branch/doug-experimental: Re-making my experimental branch because SVN hates me | 22:21 |
@apeiron | No, no, it's CVS that hates you. It even tells you so. | 22:41 |
@preaction | then why wouldn't svn let me merge in the YUI changes to my branch? | 22:41 |
@preaction | you | 22:41 |
@preaction | YOU | 22:41 |
@preaction | YOU'RE THE ONE WHO UPGRADED YUI | 22:41 |
@apeiron | Yep. | 22:41 |
@preaction | that means it's clearly entirely your fault | 22:42 |
@apeiron | Or you should have synced more frequently. | 22:42 |
@preaction | it was only 40 revisions | 22:42 |
@apeiron | Hmm. What were your changes, anyway? | 22:43 |
@preaction | none. or do you mean what was i doing in my branch? | 22:44 |
@apeiron | In your branch. | 22:45 |
@preaction | my Report asset, planning on some backwards-compatible improvements to the Asset API | 22:46 |
@preaction | the Calendar List View was in there until I merged it into HEAD | 22:46 |
@apeiron | meep. | 22:46 |
@apeiron | er, did my YUI update wipe out those changes? | 22:46 |
@preaction | no, i got what i needed out and then destroyed the branch and recreated it | 22:47 |
@preaction | i couldn't commit the merge | 22:47 |
@apeiron | Conflicts, I imagine? | 22:47 |
@preaction | resource was out-of-date, but svn up did nothing | 22:47 |
@apeiron | fun. | 22:47 |
@preaction | indeed | 22:47 |
@preaction | http://www.netgear.com/Products/Storage/ReadyNASNVPlus.aspx <- thinking of scoring me one of these babies | 22:48 |
@preaction | even though they're $900 w/o disks | 22:48 |
@apeiron | Pretty nice. I was looking at a similar toy on the Apple site. Will link if I can find it. | 22:49 |
@apeiron | The 1TB Time Capsule, if you're familiar with it. | 22:49 |
@preaction | i remember back in the day when 40GB was "You'll never fill it up". | 22:49 |
@preaction | i've seen it, yes | 22:49 |
@apeiron | http://xrl.us/bgzv8 (Link to store.apple.com) | 22:49 |
@preaction | it'd go great on-top or under the new mac mini | 22:50 |
@preaction | incidentally, if you're ever going to buy one, don't skimp. get the biggest one you can | 22:50 |
@apeiron | Oh, yeah, of course. | 22:50 |
@preaction | apparently mine isn't powerful enough to decode h.264 video | 22:50 |
@apeiron | Oh, the minis. | 22:50 |
@apeiron | I thought you meant a NAS. | 22:50 |
@preaction | even though Apple recommends a 1.8Ghz | 22:50 |
@preaction | oh, no | 22:50 |
@apeiron | I've been looking at them. | 22:51 |
@apeiron | Right now I have an ancient 233 MHz box running a buncha stuff on the network. | 22:51 |
@apeiron | It's got the keyboard, got the monitor. The Mini would far surpass it in all of its stats. | 22:51 |
@preaction | oh yeah | 22:52 |
@apeiron | I'm actually seriously looking into going to school right now, so it may wait. | 22:52 |
@apeiron | Online learning, of course. | 22:52 |
@preaction | the time capsule does seem pretty awesome, it's a hub, print server, and all sorts of stuff to improve the Mac Mini | 22:53 |
@apeiron | Oh wow, it's a base station. | 22:53 |
@preaction | yeah | 22:53 |
@apeiron | I totally missed that. | 22:53 |
@preaction | that + maxed out mini = $1700, which is pretty good for the capabilities | 22:54 |
@apeiron | I might also do the Mini thing so I have an actual desktop. | 22:57 |
@apeiron | (as opposed to endless Unix workstations) | 22:57 |
@apeiron | Going to school, especially online, I'm going to need to be able to do stuff like Office and Flash and all of that fancy stuff. Much as I'd like to claim otherwise, the free tools just aren't up to par yet. | 22:58 |
cap10morgan | Haarg: when you try to checkout a new branch in your wG git repo, does it give you this error: fatal: Untracked working tree file 'www/extras/yui/docs/YAHOO.widget.MenuBar.html' would be overwritten by merge. ? | 23: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 #webgui | 23:09 | |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 23:09 | |
@apeiron | perlDreamer, Someone mentioned something on #perl that you may find amusing: You can't judge a book by its cover, but you can judge a test suite that way. | 23:23 |
+perlDreamer | ha! | 23:23 |
+perlDreamer | I like tht | 23:23 |
+perlDreamer | that | 23:23 |
@apeiron | Figured you would. | 23:24 |
+perlDreamer | So, how do I persuade you to start writing tests? :) | 23:24 |
+perlDreamer | A test a day keeps the perlDreamer away | 23:24 |
@apeiron | heh | 23:24 |
CIA-21 | WebGUI: colin * r5696 /branch/WebGUI_Commerce/ (lib/WebGUI/Shop/Tax.pm t/Shop/Tax.t): add a input validation check and test for Tax->calculate | 23: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-21 | WebGUI: colin * r5697 /branch/WebGUI_Commerce/t/Shop/AddressBook.t: stub out Shop::AddressBook tests for new and create | 00: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 #webgui | 02:14 | |
-!- perlmonkey3 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui | 02:29 | |
-!- perlmonkey3 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has 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 #webgui | 02: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 #webgui | 03:22 | |
perlmonkey2 | anyone not out at a bar? | 04:23 |
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui | 05:17 | |
-!- mode/#webgui [+o preaction] by ChanServ | 05:17 | |
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [No route to host] | 06:59 | |
CIA-21 | WebGUI: doug * r5698 /branch/doug-experimental/ (14 files in 8 dirs): rebuilt Asset Report. started AssetMixin and Mixin::Installable. added shells for SqlWhere and SqlOrderBy form controls | 07:20 |
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)] | 07:27 | |
CIA-21 | WebGUI: colin * r5699 /branch/WebGUI_Commerce/t/Shop/AddressBook.t: Address book tests for create, session, and initial data on object creation | 08:01 |
-!- SDuensin_ [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI | 08: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 #webgui | 08:45 | |
-!- mode/#webgui [+o preaction] by ChanServ | 08: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 #webgui | 11:03 | |
-!- mode/#webgui [+v Radix_] by ChanServ | 11:03 | |
-!- Samus_Ar1n [n=ILL@S01060018f870a6ff.vc.shawcable.net] has joined #WebGUI | 11:52 | |
-!- Samus_Aran [n=ILL@about/linux/supportwhirlwind/SamusAran] has quit [Nick collision from services.] | 11:54 | |
-!- Samus_Ar1n is now known as Samus_Aran | 11: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 #webgui | 12:25 | |
-!- mode/#webgui [+v Radix_] by ChanServ | 12: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 #webgui | 17:05 | |
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has joined #webgui | 18:14 | |
-!- mode/#webgui [+v MrHairgrease] by ChanServ | 18:14 | |
-!- perlDreamer [n=colink@pool-71-117-235-252.ptldor.fios.verizon.net] has joined #webgui | 18:19 | |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 18:19 | |
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [Connection timed out] | 18:29 | |
CIA-21 | WebGUI: colin * r5700 /branch/WebGUI_Commerce/lib/WebGUI/Shop/ (AddressBook.pm Address.pm): | 18:31 |
CIA-21 | WebGUI: WBGP align Address's update method. | 18:31 |
CIA-21 | WebGUI: Remove unused variables and add some POD to AddressBook. | 18: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 #webgui | 18:38 | |
+perlDreamer | BartJol: You working on a Sunday? | 18:38 |
BartJol | not really | 18:38 |
+MrHairgrease | he bart! you're still alive after yesterday! | 18:39 |
+MrHairgrease | =) | 18:39 |
BartJol | if someone needs some help, I'm just at home and my roomate will cook | 18:39 |
BartJol | I wasn't that bad | 18:39 |
BartJol | just not in a party mood | 18:42 |
+perlDreamer | rizen is not going to be happy | 18:48 |
+MrHairgrease | is he ever? =) | 18:48 |
+perlDreamer | Every so often ;) | 18:48 |
+MrHairgrease | heh | 18:48 |
+MrHairgrease | don't tell him that. It'd make him angry | 18:48 |
+perlDreamer | That's a recursive function | 18:49 |
+MrHairgrease | i bet rizen hates recusrion =) | 18:49 |
CIA-21 | WebGUI: colin * r5701 /branch/WebGUI_Commerce/ (4 files in 3 dirs): | 18:49 |
CIA-21 | WebGUI: Fix some comment typos in t/Shop/AddressBook | 18:49 |
CIA-21 | WebGUI: Add tests for WebGUI::Shop::Address | 18:49 |
CIA-21 | WebGUI: Fix bugs in the upgrade script (missing city entry) and | 18:49 |
CIA-21 | WebGUI: the Address new method. | 18:49 |
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui | 18:50 | |
CIA-21 | WebGUI: colin * r5702 /branch/WebGUI_Commerce/ (t/Shop/Address.pm lib/WebGUI/Shop/Address.pm): | 19:18 |
CIA-21 | WebGUI: Add a few more tests, and some POD to make sure that | 19:18 |
CIA-21 | WebGUI: new is known to be different from create as an instanciator | 19:18 |
CIA-21 | WebGUI: versus a constructor. | 19:18 |
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui | 19:38 | |
-!- mode/#webgui [+o preaction] by ChanServ | 19:38 | |
+MrHairgrease | http://xkcd.com/378/ | 19:52 |
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."] | 20:03 | |
+perlDreamer | real programmers use perl | 20:41 |
+perlDreamer | who cares about the editor? | 20:41 |
@preaction | perl programmers should use vim :p | 20:43 |
@preaction | ... so i've got an idea for AssetMixins that will allow you to add functionality to your assets with little code | 20:46 |
@preaction | the problem is, when importing the mixin's subs to your namespace, use is called at BEGIN time, before the calling namespace's symbol table has been created | 20:46 |
@preaction | which means import sees nothing in the symbol table | 20:47 |
@preaction | changing "use" to a require/import works just fine... | 20:47 |
@preaction | or, for some reason, putting the "use" after all the sub declarations works as well | 20:48 |
+perlDreamer | sounds like the same problem that ovid's mixin.pm has | 20:54 |
@preaction | tried putting it in a CHECK block, that didn't work either | 20:55 |
+perlDreamer | I looked into that when I was refactoring getEditForm into HTMLForm, to try and make it a mixin that lots of code could use | 20:56 |
+perlDreamer | but it seemed risky | 20:56 |
@preaction | nm, putting require/import in a CHECK or INIT block works just fine | 20:58 |
@preaction | but not use | 20:58 |
@preaction | it would work if i did a stringy eval 'use WebGUI::AssetMixin::Installable'; | 20:59 |
@preaction | because then it would happen at runtime and not compile time | 20:59 |
@preaction | and though it is shorter, it's less comprehensible (Why would you use eval on a string literal when you can just do it yourself? I'll just remove the eval part and... wait, now everything's broken) | 21:00 |
+perlDreamer | is JT taking weekends off? | 21:01 |
@preaction | he's trying to take more time away from being "plugged-in" as it were | 21:02 |
@preaction | in order to get more things Done | 21:02 |
@preaction | so i would expect he's either having a gaming weekend or working on something | 21:02 |
@preaction | now what sucks is: I have to die if I'm trying to import something that already exists in the namespace, but i'm dying at runtime now and not compile time... | 21:05 |
@preaction | wait... then why is it saying BEGIN failed?... wtf is perl doing? | 21:07 |
+perlDreamer | anybody have a copy of the movie, "The Shawshank Redemption" handy? | 21:14 |
+perlDreamer | I need the address that was printed on the letters rejected by the prison system when Andy was asking for money | 21:14 |
@preaction | he wrote to the State Senate | 21:18 |
@preaction | of Maine iirc | 21:18 |
@preaction | 3 State House Station | 21:20 |
@preaction | Augusta, ME 04333-0003 | 21:20 |
@preaction | of course, that's Now, but it probably would've been that way 30 years ago too | 21:20 |
@preaction | http://www.vzavenue.net/~speedtech/ <- found the screenplay online | 21:21 |
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI | 21:28 | |
@preaction | laugh... i just reimplemented Class::Trait | 21:43 |
+perlDreamer | You're a monster | 22:01 |
@preaction | eh, i don't understand Class::Trait, and the code I wrote is better | 22:05 |
@preaction | but mixin works nicely | 22:05 |
@preaction | and it handles the inheritence | 22:07 |
+perlDreamer | why is it better than C::T? | 22:09 |
@preaction | it probably isn't, in the long run | 22:10 |
@preaction | or do you mean my code? my code does what C::T can't, it detects collisions and croaks | 22:10 |
@preaction | but it does so by requiring you to use import/require instead of use | 22:10 |
@preaction | also C::T won't work in mod_perl because it uses INIT | 22:11 |
@preaction | the mixin pragma is better than my code, because it handles collisions by adding inheritence instead of croaking | 22:11 |
@preaction | mixin works the way I'd expect Multiple Inheritence to work | 22:11 |
@preaction | i'm still evaluating if mixin can actually be a viable solution | 22:12 |
@preaction | with my AssetMixin, in order to get inheritence, you'd need to (A) override the right sub, and (B) call the fully-qualified sub from the mixin | 22:13 |
+perlDreamer | I think people are leaning toward traits nowadays. | 22:21 |
@preaction | okay, but how would it work under mod_perl? | 22:25 |
@preaction | Class::Trait->initialize() in preload.perl and WebGUI::Pluggable | 22:26 |
+perlDreamer | I don't know | 22:28 |
+perlDreamer | I just know that perl6 encourages traits | 22:28 |
+perlDreamer | and traits were added to p5, too | 22:28 |
+perlDreamer | but that was a while ago | 22:28 |
@preaction | right, but from what i'm reading about traits, isn't mixin just a simpler implementation of traits? | 22:30 |
+perlDreamer | I'm only relating what I've heard. | 22:31 |
+perlDreamer | I don't grok much beyond that | 22:31 |
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui | 22: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 #webgui | 23:06 | |
-!- mode/#webgui [+v MrHairgrease] by ChanServ | 23:06 | |
+perlDreamer | MrHairgrease: How's the commerce hacking coming? | 23:06 |
+MrHairgrease | it's pretty much where I left it last thursday | 23:08 |
+MrHairgrease | Lemme check what I've done so far | 23:09 |
+MrHairgrease | martin@martin:/data/WebGUI$ svn status | 23:10 |
+MrHairgrease | ? t/Shop/PayDriver.t | 23:10 |
+MrHairgrease | ? t/Shop/Pay.t | 23:10 |
+MrHairgrease | ? lib/WebGUI/Shop/PayDriver.pm | 23:10 |
+perlDreamer | good start :) | 23:10 |
+MrHairgrease | those things are prettymuch fisnished | 23:10 |
+MrHairgrease | yeah, i took your tests and modified them | 23:10 |
+MrHairgrease | also change/added some stuff | 23:10 |
+perlDreamer | cool | 23:10 |
+MrHairgrease | the additions are mostly still in TODO blocks | 23:10 |
+MrHairgrease | and I haven't tested them yet | 23:11 |
+MrHairgrease | but all in all not a bad result for only half a day | 23:11 |
+perlDreamer | no | 23:11 |
+perlDreamer | Class::InsideOut makes object pretty easy | 23:11 |
+perlDreamer | don't have to write all those constructors | 23:11 |
+MrHairgrease | you mean getters? | 23:12 |
+perlDreamer | yeah, those too | 23:12 |
+MrHairgrease | I haven't really dug into C::IO yet | 23:12 |
+MrHairgrease | just enough to understand what you did in your shipping modules | 23:12 |
+perlDreamer | that's all I know about it, so, as usualy | 23:13 |
+perlDreamer | you're at least as smart as I am | 23:13 |
+MrHairgrease | so in a way you could say that you're my mr. Myagi =) | 23:13 |
+perlDreamer | Breathe in, breathe out | 23:13 |
+perlDreamer | make good perl | 23:13 |
+perlDreamer | Bansai, Martin-san bansai! | 23:13 |
+MrHairgrease | I don't bansai | 23:13 |
+MrHairgrease | i rock sometimes, but mostly roll | 23:14 |
+perlDreamer | It's Japanese for "Divine wind" | 23:14 |
+perlDreamer | wait a sec | 23:14 |
+MrHairgrease | oh I am into divine winds | 23:14 |
+perlDreamer | that's kamakaze | 23:14 |
+MrHairgrease | i try to confine those to the bathroom though... | 23:14 |
+perlDreamer | those aren't divine | 23:15 |
+perlDreamer | they are foul | 23:15 |
+MrHairgrease | bansi means attack or something like that i think | 23:15 |
+MrHairgrease | you have no idea | 23:15 |
+MrHairgrease | you never sniffed at them =) | 23:15 |
+perlDreamer | I feel blessed | 23:15 |
+perlDreamer | I should redo Tax and ShipDriver to use the setRow method in the db like rizen did | 23:16 |
+MrHairgrease | setRow, is that something like setCollateral? | 23:18 |
+MrHairgrease | I've spent way to much on hacking WebGUI lately | 23:18 |
+MrHairgrease | I have trouble keeping up with all the new features/api things | 23:18 |
@preaction | setCollateral uses setRow internally | 23:19 |
+MrHairgrease | i guess you invoke it by session->db->setRow? | 23:20 |
@preaction | yes | 23:22 |
+perlDreamer | it's easier than writing 'insert all this crap into this table unless it exists then do update' | 23:28 |
+perlDreamer | it's getting close to time to do a coverage check on the Shop code. | 23:32 |
CIA-21 | WebGUI: colin * r5703 /branch/WebGUI_Commerce/t/Shop/ (Address.pm Address.t): Rename the test. Add tests for all the other methods. | 23:35 |
perlmonkey2 | Has anyone looked at Plone's KSS? | 23:46 |
perlmonkey2 | I wonder how hard it would be to port to WebGUI. | 23:47 |
@preaction | it seems to be all in python, so probably a bit difficult | 23:50 |
--- Day changed Mon Mar 03 2008 | ||
perlmonkey2 | But an extremely cool idea. | 00:06 |
-!- BartJol [n=plainstu@54-167.surfsnel.dsl.internl.net] has left #webgui [] | 00:30 | |
+perlDreamer | I think we talked about KSS earlier, but don't remember the discussion | 00:47 |
+perlDreamer | you could check the archives | 00:47 |
CIA-21 | WebGUI: colin * r5704 /WebGUI/t/Workflow/Instance.t: | 01:14 |
CIA-21 | WebGUI: Adding Knowmad's excellent Instance test script for exposing JSON | 01:14 |
CIA-21 | WebGUI: problems in Workflow::Instance | 01:14 |
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has left #webgui [] | 01:38 | |
@preaction | so I've got AssetMixin::Installable working. before I really consider it a success, I'm going to make Subscribable | 03:21 |
+perlDreamer | you should make RSS first | 03:21 |
+perlDreamer | (imo) | 03:22 |
@preaction | ooh, i forgot about that one | 03:23 |
@preaction | that one will be easier no doubt | 03:26 |
@preaction | coding 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 | |
@preaction | good lord... the RSSCapable mixin would basically re-implement a lot of the SyndicatedContent wobject | 03:29 |
@preaction | so i open it up right? | 03:29 |
@preaction | bad idea... | 03:29 |
@preaction | theoretically... these things should work with the definition sub... i wonder... | 03:39 |
@preaction | ha. ha ha! it works! | 03:54 |
@preaction | I have a dream that Assets will be an amalgamation of component parts, each contributing to the whole! | 03:54 |
@preaction | I have a dream that Assets will be as easy to create as macros! | 03:54 |
@preaction | and I have a dream that I will stop using stupid gimmicks to try to impress people | 03:55 |
+perlDreamer | amen, brother! | 03:56 |
+perlDreamer | I just got done serving the kids chicken cordon bleu, mushroom tortellini with pesta and crou d'etat with hummus | 03:56 |
@preaction | you're serious? | 03:57 |
@preaction | that sounds awesome | 03:57 |
+perlDreamer | you're welcome to come over for leftovers | 03:57 |
@preaction | that's something i haven't tried to make yet, cordon bleu... | 03:57 |
+perlDreamer | I went to the Costco school of cooking, tonight | 03:59 |
@preaction | oh... lame... | 03:59 |
+perlDreamer | I was impressed that they were eating real, adult-type food | 03:59 |
@preaction | true enough | 03:59 |
@preaction | hummus would've been enough to put me off when i was 14 | 03:59 |
+perlDreamer | they got exposed early. It was a part of a diet that I was on | 04:00 |
+perlDreamer | and actually, it was black bean hummus, which rocks | 04:01 |
+perlDreamer | hm | 04:01 |
+perlDreamer | I need to write the tests that expose that other bug in the AddressBook | 04:01 |
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)] | 04:31 | |
CIA-21 | WebGUI: colin * r5705 /branch/WebGUI_Commerce/ (lib/WebGUI/Shop/AddressBook.pm t/Shop/AddressBook.t): | 04:47 |
CIA-21 | WebGUI: More tests for addressBook. | 04:47 |
CIA-21 | WebGUI: Fixed bugs in delete and getAddresses. | 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 #webgui | 05:21 | |
-!- mode/#webgui [+o preaction] by ChanServ | 05:21 | |
-!- Samus_Aran [n=ILL@about/linux/supportwhirlwind/SamusAran] has joined #WebGUI | 05:25 | |
Samus_Aran | hello. I am doing an upgrade of manually installed WebGUI, following instructions on the site. when trying to restart Apache, it won't restart. the log file shows: | 05:25 |
Samus_Aran | Can't load Perl file: /var/www/WebGUI/sbin/preload.perl for server foo.com:0, exiting... | 05:25 |
Samus_Aran | which exists where it did before | 05:25 |
Samus_Aran | is this just a matter of overwritten config files in the etc ? | 05:26 |
Samus_Aran | (I backed them up before untarring the new one) | 05:26 |
@preaction | try perl -c preload.perl to find out why it's not loading | 05:28 |
Samus_Aran | it says it can't find WebGUI.pm in @INC | 05:29 |
Samus_Aran | though nothing has moved from where the former install worked | 05:29 |
-!- patspam [i=chatzill@ppp121-44-242-221.lns4.mel4.internode.on.net] has joined #webgui | 05:29 | |
Samus_Aran | it didn't erase my config files in etc I notice, as the new ones are all .original | 05:31 |
@preaction | preload.perl locates the webgui root directory. which means you had to edit that in order to use webgui. did you edit it again after you extracted the new WebGUI? | 05:31 |
Samus_Aran | where is that set environment script ? I had run it before in this shell session, but it is no longer set | 05:32 |
Samus_Aran | that is surely the issue | 05:32 |
@preaction | that won't do it, and you have WebGUI in /var/www, so you aren't running the WRE | 05:32 |
Samus_Aran | I mentioned above this is an upgrade of a manual install | 05:33 |
@preaction | the WRE has that set environment script, so without the WRE it's not necessary | 05:33 |
Samus_Aran | I thought it was necessary to tell it where you did install it to ? | 05:34 |
Samus_Aran | I don't quite remember, but I thought I updated it | 05:34 |
@preaction | setEnvironment is for the WRE so that saying "perl" will give you the WRE's perl and other things. it adds library directorys, preloads, and such. it's for the WRE | 05:35 |
@preaction | preload.perl, one of the first lines in there sets the $webguiRoot variable. you need to change what that gets set to | 05:35 |
Samus_Aran | oh. I think I updated the actual preload.perl file | 05:35 |
Samus_Aran | just updated that, thanks | 05:35 |
@preaction | imho it should be gleaned from an environment variable that is set from the apache configuration file, but that'd be an RFE | 05:35 |
Samus_Aran | that sounds like a good approach | 05:36 |
Samus_Aran | do you know if there are there any other files that need to be changed ? | 05:36 |
* Samus_Aran goes to try Apache again | 05:36 | |
Samus_Aran | worked | 05:36 |
@preaction | no i don't, i have my webgui at /data/WebGUI | 05:36 |
Samus_Aran | I thought it was that setEnvironment script I updated, but it was preload.perl. will try to remember that for next time | 05:36 |
@preaction | most things should just work. i think only preload.perl needs an absolute path, because apache doesn't and shouldn't chdir | 05:37 |
Samus_Aran | thank you for your help | 05:37 |
Samus_Aran | update went smoothly | 05:40 |
Samus_Aran | *upgrade | 05:41 |
* Samus_Aran installs Weather::Com::Finder: for the 30th time or so | 05:48 | |
Samus_Aran | why is it that every time testEnvironment.pl is run, it tries to install that module again ? | 05:49 |
Samus_Aran | Weather::Com::Finder is up to date (1.008). | 05:50 |
Samus_Aran | any idea why I can't click the button to choose a file to upload, in the assets window ? | 06:14 |
Samus_Aran | it seems to be disabled | 06:14 |
Samus_Aran | can't enter the text box to type in a name, either | 06:14 |
Samus_Aran | hm, it works in Firefox but not Opera | 06:41 |
Samus_Aran | strange | 06:41 |
Samus_Aran | is there any Javascript affecting the file upload thing in Assets ? | 06:41 |
+perlDreamer | preaction: In case I haven't said it yet. Thank you so much for the 7.4 smoke test run! | 06:54 |
-!- perlDreamer [n=colink@pool-71-117-235-252.ptldor.fios.verizon.net] has quit ["Leaving."] | 06:54 | |
Samus_Aran | preaction: okay, I have fully updated WebGUI to the latest release, and the issue where no images can appear is still present | 06:57 |
Samus_Aran | preaction: is there any suggestion of where to look to solve this ? | 06:57 |
@preaction | Plain Black Corp. offers affordable support options, if you're interested. | 06:58 |
Samus_Aran | I am not the one in control of the budget, sorry | 06:59 |
Samus_Aran | looking at the background-image in one of the themes, and trying to open it directly, it is just 404 not found | 07:02 |
Samus_Aran | this one being /uploads/eA/K0/eAK0doY8-UIauq_uuHEhvA/bg1.jpg | 07:02 |
Samus_Aran | solved it | 07:04 |
Samus_Aran | only extras was symlinked to the main WebGUI folder, not uploads. | 07:05 |
Samus_Aran | now I just need to figure out why all the packages I upload appear on the main page of the web site | 07:05 |
Samus_Aran | Assets 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 #webgui | 09:15 | |
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui | 09:50 | |
-!- patspam_ [i=chatzill@ppp121-44-242-221.lns4.mel4.internode.on.net] has joined #webgui | 10: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 #webgui | 11:14 | |
-!- mode/#webgui [+o preaction] by ChanServ | 11:14 | |
-!- BartJol [n=plainstu@194.171.50.123] has joined #webgui | 12:41 | |
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has left #webgui [] | 12:57 | |
-!- lrobinson [n=luke@lrobinson2.vm.bytemark.co.uk] has joined #webgui | 13:59 | |
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has quit ["Leaving"] | 14:14 | |
CIA-21 | WebGUI: doug * r5706 /branch/doug-experimental/ (6 files in 6 dirs): Nightly checkin because you forgot | 14: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 #webgui | 14: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 #webgui | 15: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 #webgui | 15:43 | |
-!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has quit [Read error: 113 (No route to host)] | 15:57 | |
lrobinson | would anybody know the best place to have a merchant account being based in the UK? | 16:16 |
lrobinson | CDG 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 #WebGUI | 16:37 | |
SDuensin | Morning. | 16:40 |
CIA-21 | WebGUI: jt * r5707 /translations/Dutch/Dutch/WebGUI.pm: update_from_translation_server | 17:20 |
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui | 17:20 | |
-!- mode/#webgui [+o preaction] by ChanServ | 17: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 #webgui | 17:26 | |
perlmonkey2 | What is the template command for the URL of this asset? | 17:49 |
@preaction | usually <tmpl_var url> | 17:50 |
@preaction | or do you mean the ^PageUrl macro? | 17:50 |
perlmonkey2 | well, for the ajax call, I want a hidden html object to have the url to make the ajax calls to. | 17:51 |
nuba | i think the macro wont know the URL of the asset it is being called from | 17:51 |
BartJol | nuba-> that's right | 17:51 |
perlmonkey2 | Okay, thanks | 17:52 |
@preaction | but when you're doing the AJAX on the survey edit form, you're on the survey's URL. you don't need to know the URL of the survey | 17:52 |
@preaction | you can just send to ?func=ajaxDoSomething | 17:52 |
perlmonkey2 | You don't think that could ever get into trouble? | 17:54 |
@preaction | no | 17:54 |
perlmonkey2 | good enough for you, good enough for me :) | 17:54 |
@preaction | rather, you'd probably end up just POSTing the form with no action="", which sends it to the current URL | 17:54 |
-!- wgGuest26 [n=wgGuest2@static-adsl201-232-86-73.epm.net.co] has joined #webgui | 17:55 | |
@preaction | YAHOO.util.Connection.attachForm or something like that | 17:55 |
wgGuest26 | hello | 17:55 |
wgGuest26 | i have a question related to the registration | 17:55 |
@preaction | no need to ask if you can ask, just ask | 17:55 |
BartJol | you scared him/her preaction! | 17:57 |
@preaction | eh, i can understand. i'm rather intimidating | 17:57 |
BartJol | well, stop it, or I'm going to correct your English again | 17:58 |
BartJol | :) | 17:58 |
wgGuest26 | i have some aditional information to ask in the registration and it will be stored in a select box, the thing is that when a user select one option in this select box, another box will load another information automatically | 17:58 |
@preaction | ohnoes! | 17:58 |
wgGuest26 | is it posible? | 17:58 |
BartJol | you can add profile field that are obligated | 17:59 |
BartJol | fields | 17:59 |
@preaction | right, but you can't seem to add extras like JavaScript to profile fields, not through the interface | 17:59 |
BartJol | that will be hard, yes | 18:00 |
-!- cap10morgan [n=cap10mor@h19-afsc.ded.indra.com] has joined #webgui | 18:00 | |
BartJol | for me, that is | 18:00 |
@preaction | it's possible, but it'd be difficult: you'd have to modify the registration template in the correct manner to create your fields, and then have some sort of profile field with those fields' names so that the system will get the values out of it | 18:00 |
@preaction | and this also means no way would you be able to allow the users to edit those values later | 18:01 |
BartJol | even if these are included in the profile? | 18:01 |
-!- estiven [n=erestrep@static-adsl201-232-86-73.epm.net.co] has joined #webgui | 18:02 | |
@preaction | they have to be in the profile, there's no other way to get additional fields into the registration | 18:03 |
@preaction | unless you're talking building a custom user registration application | 18:03 |
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has quit ["Leaving."] | 18:03 | |
wgGuest26 | i think it will be hard | 18:04 |
BartJol | yeah, ok, but if you use another template for the edit profile than the add account template, you should be ok, shouldn't you? | 18:04 |
@preaction | i was sure that there wasn't a template for edit profile, i think that's an RFE out there | 18:05 |
BartJol | but then the option is always present in the edit profile screen, even when the first isn't selected | 18:05 |
BartJol | oh, I always think there's a template for everything | 18:06 |
@preaction | a better RFE that might work for wgGuest26's purposes is to expose the "extras" field to the User Profiling system, that way you can add id="" and onchange="" so that it would work out | 18:06 |
BartJol | my mistake | 18:06 |
BartJol | so wgGuest26, probably it's possible, but quite hard to do :( | 18:07 |
wgGuest26 | yes, i know | 18:07 |
wgGuest26 | i am going to try it. | 18:08 |
BartJol | good luck | 18:09 |
wgGuest26 | thanks | 18:09 |
BartJol | if you succeed, maybe you can post it to webgui.org | 18:10 |
wgGuest26 | ok | 18:10 |
@preaction | indeed, just a how you did it or something | 18:10 |
@preaction | i'm going to post the RFE about getting the extras thing exposed, which will make things like this easier in the future | 18:10 |
@preaction | ha. Frank added it almost a year ago | 18:11 |
@preaction | 0 karma | 18:11 |
@preaction | http://www.webgui.org/rfe/request-for-enhancement/add-extras-to-profiling | 18:11 |
@preaction | real easy RFE, wouldn't take much karma to put it up where it gets noticed | 18:12 |
wgGuest26 | preaction, i have created a data form and one of the fields is a select box, the problem is that the posibles values are dinamic and are stored in a table in the database. I have tried to load the values using a macro but the output is always a string | 18:23 |
wgGuest26 | how can i do that? | 18:24 |
@preaction | javascript | 18:24 |
@preaction | or write your own WebGUI::Form::Control <- best idea | 18:24 |
@preaction | see WebGUI::Form::SelectBox and WebGUI::Form::SelectList for ideas | 18:24 |
wgGuest26 | ok, i am going to check | 18:25 |
-!- lisette [n=liraos@static-adsl201-232-86-73.epm.net.co] has joined #webgui | 18:40 | |
BartJol | bye | 18:44 |
-!- BartJol [n=plainstu@194.171.50.123] has left #webgui [] | 18:44 | |
lisette | hello | 18:48 |
perlmonkey2 | Is there an example Asset reading an ajax POST you can point me at? | 18:50 |
lisette | i have a "tell a friend", i can change "your friend adress" by a text area, and he writes emails separated by comas | 18:51 |
lisette | ? | 18:51 |
perlmonkey2 | my Wobject ajax test method is a simple "sub test{return "hello world";}" Yet in the ajax response object there is no hello world. | 18:53 |
@preaction | ajax still calls www_ methods | 18:53 |
@preaction | www_test perhaps? | 18:54 |
perlmonkey2 | just tried that....didn't change anything. | 18:55 |
@preaction | you're submitting a form that has func = test right? | 18:56 |
perlmonkey2 | var request = YAHOO.util.Connect.asyncRequest('POST', '?func=test', callback, postData); | 18:56 |
perlmonkey2 | I've tried that and www_test | 18:56 |
perlmonkey2 | and still what I get back in the responseText looks like the home page. | 18:57 |
@preaction | if it's the home page, maybe there's an error | 18:57 |
perlmonkey2 | that's what I'm assuming | 18:57 |
perlmonkey2 | but the handleSuccess callback is called. | 18:57 |
perlmonkey2 | so it is getting a return from that call. But I don't think my wobject method is being called. | 18:58 |
@preaction | check the error log | 18:58 |
perlmonkey2 | nothing in the error log. httpd/access_log shows the ajax request though | 18:59 |
perlmonkey2 | "POST /home?func=www_repeat | 19:00 |
@preaction | is that where it's supposed to be called? | 19:00 |
perlmonkey2 | no | 19:00 |
perlmonkey2 | but "?func=www_test"; is my url in the connection call | 19:01 |
perlmonkey2 | ?func=www_test;class=WebGUI::Asset::Wobject::Survey is what I probably need? | 19:01 |
perlmonkey2 | must include the class? | 19:01 |
@preaction | no | 19:02 |
@preaction | let me dig up the big AJAX thing i did to see how i did it | 19:02 |
perlmonkey2 | okay | 19:02 |
perlmonkey2 | when I click on the save button of hte new Survey the next page is the custom edit surey page I've written. | 19:02 |
perlmonkey2 | But this is the path for that page: http://norman/home | 19:03 |
perlmonkey2 | which doens't make sense | 19:03 |
perlmonkey2 | I'm thinking a person needs to be a master of webgui to write this super duper ajax survey module. | 19:03 |
perlmonkey2 | I've killed 5.5 fully devoted days on this and I haven't finished meshing my survey code with webgui. | 19:04 |
@preaction | ahh. i see what's happening | 19:04 |
@preaction | proceed just calls the right sub and returns it | 19:05 |
@preaction | it doesn't redirect the user | 19:05 |
@preaction | so the user remains at the place they posted to | 19:05 |
lisette | ? | 19:05 |
@preaction | let me see if there's a proceed target to redirect | 19:05 |
@preaction | no... but you might add it | 19:06 |
perlmonkey2 | I might add it? So I need to alter the Asset.pm module? | 19:08 |
@preaction | hang on, let me paste it | 19:08 |
@preaction | perlbot paste | 19:08 |
perlbot | Paste your code to http://sial.org/pbot/perl http://erxz.com/pb or http://p3m.org/pfn/perl and #Perl will be able to view it. | 19:08 |
@preaction | http://sial.org/pbot/30398 <- not sure if that will work exactly | 19:09 |
@preaction | but it's the general idea | 19:09 |
@preaction | and you'll have to URL encode your returnUrl parameter | 19:09 |
@preaction | and you'll have to run it by JT when he gets in | 19:09 |
@preaction | but i can't see there being a problem with it | 19:10 |
perlmonkey2 | And 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 | |
@preaction | no, Asset.pm | 19:12 |
-!- MrHairgreas1 [n=martin@x032124.its-s.tudelft.nl] has joined #webgui | 19:14 | |
-!- MrHairgreas1 is now known as MrHairgrease | 19:16 | |
-!- mode/#webgui [+v MrHairgrease] by ChanServ | 19:16 | |
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has joined #webgui | 19:17 | |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 19:17 | |
-!- lisette [n=liraos@static-adsl201-232-86-73.epm.net.co] has left #webgui [] | 19:19 | |
@apeiron | Is there a way to determine, either in a macro or a form control, whether you've already sent a specific JS file via $style->setScript()? | 19:21 |
@apeiron | (for example, to prevent dependency conflicts and the like) | 19:21 |
+perlDreamer | setScript checks to see if you've already loaded that js | 19:22 |
+perlDreamer | if you have, it does not generate any additional content | 19:23 |
@apeiron | Ah, so it does. | 19:23 |
+perlDreamer | the way to tell if that happens is to check the return value | 19:23 |
@apeiron | So... why's it not behaving that way? | 19:23 |
@apeiron | hmm. Maybe it's calling it differently. | 19:23 |
+perlDreamer | if generateAdditionalHeadTags is called, it clears that check flag | 19:24 |
perlmonkey2 | preaction: would not using autogenerate let me skip all that mess? | 19:24 |
@preaction | no, because you still need to call www_editSave no matter what | 19:24 |
@preaction | do NOT override that method, as you will fail. it's the blackest of black magic | 19:25 |
perlmonkey2 | Poll.pm doesn't, which is really weird | 19:25 |
@preaction | the whole add/edit/editSave/processPropertiesFromFormPost in WebGUI is both awesome and frightening | 19:25 |
@preaction | the added redirect code didn't work? | 19:26 |
@apeiron | Oh. Different files, not the same file. But they're interacting strangely. yay. | 19:26 |
perlmonkey2 | yes, I'm terrified that I'm not making forward progress because this Friday I need to have something done. | 19:26 |
perlmonkey2 | preaction: Okay....How about I don't have a proceed. | 19:26 |
@preaction | perlmonkey2, then screw the proceed= for now | 19:26 |
@preaction | yeah | 19:26 |
@preaction | it can always be added later | 19:26 |
perlmonkey2 | After they click save, they are presented with the empty survey and they can click on something there to go to the edit? | 19:27 |
@preaction | sounds like it'll work | 19:27 |
perlmonkey2 | in the normal admin view, clicking on edit calls getEditForm? | 19:27 |
@preaction | calls www_edit which calls getEditform, yes | 19:28 |
perlmonkey2 | so I can just overload getEditForm to call www_editSurvey ? | 19:28 |
+MrHairgrease | i don't think you want to do that | 19:30 |
+MrHairgrease | gef is for the asset properties | 19:30 |
perlmonkey2 | yeah, that didn't work. | 19:30 |
+MrHairgrease | not for collateral data editing | 19:30 |
+perlDreamer | perlmonkey2, are you building a form with tabs? | 19:31 |
perlmonkey2 | no | 19:31 |
perlmonkey2 | It is the ajaxified drag and drop pop up divs survey editor page | 19:31 |
@preaction | you could always have the normal view page redirect to www_editSurvey if and only if there is no survey yet made | 19:31 |
+MrHairgrease | your problem is that you want to go to www_editSurvey after func=add? | 19:32 |
+perlDreamer | I know it's too early, but I abstracted out a generic form builder for WebGUI in the WebGUI_Commerce branch | 19:32 |
perlmonkey2 | yes, but using proceed messed up the urls | 19:32 |
+perlDreamer | HTMLForm->dynamicForm | 19:32 |
+MrHairgrease | i take it you klnow of the proceed=editSurvey | 19:32 |
+MrHairgrease | oh | 19:32 |
+MrHairgrease | ic | 19:32 |
perlmonkey2 | plus, how does the user get back to the editSurvey page? | 19:32 |
@preaction | perlmonkey2, by clicking a link that has the URL | 19:32 |
perlmonkey2 | So maybe the view page should have the editSurvey link | 19:33 |
+MrHairgrease | yes | 19:33 |
perlmonkey2 | okay, I think that was progress. | 19:33 |
@preaction | only for those who can edit the survey of course | 19:33 |
perlmonkey2 | yes, a tmpl var I thik | 19:33 |
+MrHairgrease | <tmpl_if canEditSurvey><a href="<tmpl_var editSUrvey_url>"><tmpl_var editSurvey_label></a></tmpl_if> | 19:35 |
+MrHairgrease | something like that | 19:35 |
perlmonkey2 | cool thanks | 19:37 |
perlmonkey2 | brb, looging into the laptop | 19: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 #webgui | 19:43 | |
-!- apeiron_ [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui | 19:50 | |
-!- mode/#webgui [+o apeiron_] by ChanServ | 19:50 | |
-!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: @apeiron | 19:50 | |
-!- MrHairgrease is now known as MrAfkGrease | 19:55 | |
-!- apeiron_ is now known as apeiron | 19: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 #webgui | 20:03 | |
-!- mode/#webgui [+o apeiron] by ChanServ | 20: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 #webgui | 20:24 | |
perlmonkey2 | The dispaly type, when you have multiple wobjects inside of a page layout, each wobject has had its www_view called, right? | 20:32 |
+perlDreamer | no, just ->view | 20:33 |
+perlDreamer | I'm pretty sure the distinction is that www_view will wrap it in a style | 20:33 |
@preaction | basically, yes | 20:33 |
perlmonkey2 | groovy | 20:44 |
perlmonkey2 | Good stuff to know | 20:45 |
perlmonkey2 | Okay, my view template creates a link to $var{'edit.survey.url'} = $self->getUrl('func=editSurvey') which is an anchor. But when I click on the link I get javascript errors which seem tobe claiming this "<!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 |
perlmonkey2 | I'm not even sure where to begin debugging that. | 21:01 |
@preaction | don't use . in template variable names | 21:03 |
@preaction | use _ instead | 21:03 |
perlmonkey2 | oh, I pulled that from the old Survey. | 21:03 |
perlmonkey2 | I really need to remember not to use it as example code. | 21:03 |
@preaction | yeah, that's old-school | 21:03 |
perlmonkey2 | But that shouldn't the problem right? | 21:03 |
@preaction | new-school is _ | 21:03 |
@preaction | no | 21:03 |
@preaction | are you trying to parse HTML output as JSON? | 21:04 |
perlmonkey2 | no, this isn't in an ajax call. | 21:04 |
@preaction | do you have a url i can see what you're seeing? | 21:04 |
perlmonkey2 | This is the link which calls www_editSurvey which loads my editSurvey template. That function used to work with proceed, but now firebug has ever js lib throwing a line 1 syntax error and pointing to the meta tag I quoted above. | 21:04 |
perlmonkey2 | preaction: yeah, but I'll hve to give you a loging with admin rights | 21:05 |
@preaction | are the javascript src="" pointing to the right url? | 21:05 |
perlmonkey2 | they worked before | 21:05 |
perlmonkey2 | <script src="extras/yui/build/connection/connection.js"></script> | 21:05 |
@preaction | it's relative, not absolute | 21:06 |
perlmonkey2 | <script type="text/javascript" src="extras/wobject/Survey/editsurvey.js"></script> | 21:06 |
@preaction | it needs to be /extras/, not extras/ | 21:06 |
perlmonkey2 | well that is the problem then | 21:06 |
perlmonkey2 | thanks :) | 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 |
perlmonkey2 | This stuff is making me very disoriented and I know I'm flailing badly. | 21:13 |
@preaction | func=www_test is wrong, func=test is correct | 21:14 |
+perlDreamer | webgui will prepend the www_ for you | 21:18 |
+perlDreamer | to prevent arbitrary function calling | 21:18 |
-!- wgGuest26 [n=wgGuest2@static-adsl201-232-86-73.epm.net.co] has quit [Read error: 113 (No route to host)] | 21:18 | |
perlmonkey2 | So in my wobject it needs to be www_test, but in the js, just test. And now, for th elife of me I can't get the new js file to load. ctrl-f5, cleared wg cache. nothing. | 21:19 |
+perlDreamer | yes to the first, no idea about your JS reloading | 21:21 |
perlmonkey2 | Is a log for perl instantiated with the session, or do I need to create one? | 21:22 |
perlmonkey2 | maybe that is why nothing is showing up in the logs now. | 21:22 |
+perlDreamer | it's made by the session, unless you're using an older version of WebGUI::Test for API testing | 21:23 |
perlmonkey2 | nope, latest svn update | 21:23 |
+perlDreamer | manual testing, or mech testing? | 21:23 |
perlmonkey2 | sub www_test{my $self=shift;$self->getLogger->errror("yay, I meade it here");} | 21:23 |
perlmonkey2 | manual | 21:23 |
perlmonkey2 | I just want the ajax call to www_test to write something to the log for now. | 21:24 |
+perlDreamer | $self->session->errorHandler->warn("Yay"); | 21:24 |
+perlDreamer | or, if you're passing it a session var, $session->errorHandler->warn("Yahoo"); | 21:24 |
perlmonkey2 | POST /home/untitled111111118?func=test in the access_log but nothing in webguilog | 21:25 |
+perlDreamer | how about error log? | 21:26 |
perlmonkey2 | my logging is apparently not set to shows warns. | 21:26 |
perlmonkey2 | but I just saw an ->error | 21:26 |
perlmonkey2 | yay! | 21:27 |
+perlDreamer | in log.conf, that can be changed | 21:27 |
perlmonkey2 | 1:30pm and I need a shot of something stiff. | 21:27 |
+perlDreamer | try lumber | 21:27 |
@preaction | a clue-by-four? | 21:28 |
perlmonkey2 | hah :) | 21:28 |
+perlDreamer | friends don't let contributors hack drunk | 21:28 |
@preaction | you've never heard of the Ballmer Peak i take it? | 21:29 |
+perlDreamer | no | 21:29 |
perlmonkey2 | hahahahaha | 21:29 |
@preaction | http://xkcd.com/323/ | 21:29 |
perlmonkey2 | my testarea div just magically ajaxed from "what da chuck" to "word yo"....yay, now just to figure out how WG pulls POST params. | 21:36 |
@preaction | session->form->get() | 21:38 |
perlmonkey2 | my $var .= $self->session->form->param("username"); | 21:38 |
perlmonkey2 | woot! | 21:38 |
perlmonkey2 | will ->get grab both GET and POST params? | 21:38 |
@preaction | param or process will work as well | 21:38 |
@preaction | yes | 21:38 |
@preaction | they get combined by Apache2::Request | 21:38 |
perlmonkey2 | I like sugar and that is certainly cugar | 21:38 |
perlmonkey2 | sugar | 21:38 |
-!- wgGuest24 [n=wgGuest2@static-adsl201-232-86-73.epm.net.co] has joined #webgui | 21:51 | |
perlmonkey2 | get/process only returns the scalar you ask for or an array of all the params? | 22:02 |
perlmonkey2 | FormValidator->process says that, so I guess so. | 22:03 |
@preaction | in list context, it will return a proper list, so if there are multiple name=, it will return a list of those values | 22:04 |
@preaction | it works much like CGI->param does | 22:04 |
perlmonkey2 | I'm just being stupidly curios as I'm sure all my posts will be one data param with a json string. | 22:06 |
perlmonkey2 | Whew, I finally have JSON going both directions.....yay for progress even if it meant leaning heavily on people in IRC who have much better things to be doing than helping me. | 22:18 |
@preaction | eh, i'm sending mail back and forth to a listserv to determine how it works. but if i hit my pop3 too hard it kicks me off for 24 hours, so i have to wait patiently | 22:19 |
perlmonkey2 | that sucks | 22:24 |
@preaction | eh, it gives me time to catch up on email and other thing | 22:24 |
perlmonkey2 | heh | 22:24 |
perlmonkey2 | like helping perlmonkies | 22:25 |
perlmonkey2 | at least you aren't completely wasting your time, as this wobject is to be released under the GPL to WebGUI. | 22:25 |
@preaction | exactly | 22:27 |
@preaction | having: Gallery, Survey, Thingy, Commerce, and all the other stuff we've added to 7.5 is going to make this a HUGE release | 22:27 |
-!- BartJol [n=plainstu@54-167.surfsnel.dsl.internl.net] has joined #webgui | 22: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 #webgui | 00:44 | |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 00:44 | |
+perlDreamer | ignorant question: do internationalized shopping carts use English names for countries? | 00:47 |
perlmonkey2 | countries have non-English names? | 00:47 |
perlmonkey2 | :P | 00:47 |
+perlDreamer | yeah, go figure :) | 00:47 |
@preaction | China 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 shipping | 01:00 | |
+perlDreamer | but we shall see | 01:00 |
+perlDreamer | if 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 #webgui | 01:05 | |
@preaction | yeah, that's sounds right | 01: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 tho | 01:13 |
+perlDreamer | no? | 01:14 |
Radix__ | no | 01:14 |
+perlDreamer | are all these rules written down somewhere accessible? | 01:14 |
Radix__ | taxes for other countries are done by the company themselves when it's imported | 01:14 |
Radix__ | s/company/country | 01:14 |
Radix__ | no idea | 01:15 |
-!- wgGuest84 [n=wgGuest8@74-34-152-95.br1.blu.wv.frontiernet.net] has joined #webgui | 01:57 | |
-!- wgGuest84 [n=wgGuest8@74-34-152-95.br1.blu.wv.frontiernet.net] has quit [Client Quit] | 01:57 | |
-!- cap10morgan [n=cap10mor@h19-afsc.ded.indra.com] has quit [] | 02:07 | |
-!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui | 02:20 | |
-!- mode/#webgui [+v Radix-wrk] by ChanServ | 02: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 #WebGUI | 03: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 #webgui | 06:29 | |
-!- mode/#webgui [+o preaction] by ChanServ | 06: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 #webgui | 08:21 | |
-!- mode/#webgui [+o preaction] by ChanServ | 08:21 | |
-!- ryuu_ro [n=rory@194.171.50.69] has joined #webgui | 09: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 #webgui | 11:01 | |
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui | 11:15 | |
-!- Syn1 [n=koendejo@194.171.50.123] has joined #WebGUI | 14:25 | |
Syn1 | hi there | 14:25 |
Syn1 | I've compiled WRE 0.8.3 for debian etch ia32 | 14:25 |
Syn1 | sending it to upload.sf.net now | 14:27 |
-!- estiven [n=erestrep@static-adsl201-232-86-73.epm.net.co] has joined #webgui | 14:28 | |
-!- estiven [n=erestrep@static-adsl201-232-86-73.epm.net.co] has left #webgui [] | 14:36 | |
GooeyOfSteel | Wiki: WRE Installation - Edited on 3/4/2008 6:26 am by koen http://www.webgui.org/community-wiki/wre-installation | 14:38 |
-!- estiven [n=erestrep@static-adsl201-232-86-73.epm.net.co] has joined #webgui | 15:27 | |
SDuensin | Morning. | 15:54 |
estiven | Morning | 16:00 |
estiven | i install webgui using the source... and now i want to configure my instalation as a development enviroment... | 16:03 |
estiven | how i can do that? | 16:03 |
-!- Radix__ [n=Radix@203.161.71.161.static.amnet.net.au] has quit ["Windows doesn't have users, it has hostages."] | 16:03 | |
estiven | i understann that i need to change Apache2::Reload so or somting like that.. | 16:04 |
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui | 16:04 | |
estiven | that's rigth? | 16:05 |
-!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has joined #webgui | 16:10 | |
-!- mode/#webgui [+v Radix_] by ChanServ | 16:10 | |
BartJol | estiven sorry I don't know, but preaction or Radix might, but they just came in | 16:25 |
estiven | ok, thanks | 16:34 |
BartJol | oh I meant perlmonkey2 | 16:35 |
perlmonkey2 | eh? | 16:35 |
+Radix_ | wassup? | 16:35 |
BartJol | estiven wants to know something | 16:35 |
+Radix_ | obviously :) | 16:36 |
BartJol | hi radix, i'm fine two weeks till my drivers exam | 16:36 |
+Radix_ | ooh.. not long now then :) | 16:36 |
BartJol | yeah and then there's another danger on the roads | 16:36 |
BartJol | hopefully | 16:36 |
+Radix_ | heh | 16:36 |
ryuu_ro | Bartjol only 2 weeks time left to cruise the street safely :D | 16:37 |
+Radix_ | it's times like this that I'm glad I'm on an island :) | 16:37 |
+Radix_ | a big island, but an island nonetheless | 16:37 |
BartJol | didn't have any accidents up till now, but with an instructor besides me that's not too hard | 16:38 |
ryuu_ro | Hmmm I heard other stories....... | 16:38 |
+Radix_ | heh | 16:38 |
BartJol | only one then | 16:39 |
ryuu_ro | lol | 16:39 |
estiven | hi | 16:39 |
BartJol | it costed me dearly | 16:39 |
estiven | i install webgui using the source... and now i want to configure my instalation as a development enviroment... | 16:39 |
+Radix_ | estiven: why? | 16:39 |
+Radix_ | going to write your own perl assets and objects? | 16:40 |
estiven | because i need to restart apache for each change tha i do in my macros.... | 16:40 |
+Radix_ | yup | 16:40 |
+Radix_ | k, just checking you actually need it, that's all :) | 16:41 |
BartJol | is it necesary then? I just closed my firewall and restart it with perl wreservice --restart modproxy | 16:41 |
+Radix_ | http://www.webgui.org/community-wiki/configure-the-wre-for-developers | 16: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 personally | 16:44 |
estiven | mm, ok i looking for... | 16:44 |
BartJol | but then again, I'm not a real developer... | 16:46 |
ryuu_ro | isn't this apache::reload ? | 16:46 |
+Radix_ | yeah, that's the one | 16:47 |
estiven | http://search.cpan.org/~phred/Apache-Reload-0.10/lib/Apache/Reload.pm | 17:00 |
estiven | but PerlInitHandler Apache::Reload | 17:01 |
estiven | can that create problem whit: PerlInitHandler WebGUI directive? | 17:02 |
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui | 17:04 | |
-!- mode/#webgui [+o rizen] by ChanServ | 17:04 | |
-!- wgGuest32 [n=wgGuest3@static-adsl201-232-86-73.epm.net.co] has joined #webgui | 17:07 | |
wgGuest32 | hello | 17:07 |
Syn1 | ah rizen | 17:08 |
estiven | Hi | 17:08 |
Syn1 | please get the compiled version of the wre 0.8.3 from uploads.sf.net before it's gone again | 17:09 |
@rizen | did. just emailed you | 17:09 |
Syn1 | ah :) | 17:09 |
wgGuest32 | i have created a dataform with some fields, one of them is type file. the data form has the email data enabled. so when i tested i filled all the fields without problem. the message is sent to the email but i don't see the file that i attached in the message | 17:11 |
wgGuest32 | appears the id related to the upload file | 17:12 |
wgGuest32 | i don't know what is happening? | 17:13 |
-!- ryuu_ro [n=rory@194.171.50.69] has quit [] | 17:27 | |
estiven | mmm, what version of webgui do you have? | 17:27 |
wgGuest32 | i have 7.4.21 | 17:29 |
Syn1 | bart, is the Dutch translation for WebGUI 7.4.26 the same as the one for 7.4.19 ? | 17:35 |
BartJol | mmm | 17:35 |
BartJol | well, since 7.5 came out, I didn't have to check that | 17:36 |
Syn1 | ah right | 17:36 |
BartJol | 7.4.21 is the same as 7.4.19 | 17:36 |
Syn1 | you need a translation server | 17:36 |
BartJol | i do | 17:36 |
BartJol | see mantis | 17:36 |
Syn1 | yeah | 17:36 |
Syn1 | and I will make you one | 17:36 |
BartJol | great | 17:36 |
BartJol | maar jij ziet dus geen enorm grote fouten | 17:37 |
BartJol | sorry for the dutch, wrong tab | 17:37 |
estiven | wgGuest32 i try to reproduce your error, and i have the same result... | 17:38 |
-!- estiven is now known as vcb | 17:40 | |
-!- vcb is now known as estiven | 17: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 #webgui | 17:51 | |
-!- mode/#webgui [+o rizen] by ChanServ | 17:51 | |
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit [Client Quit] | 17:51 | |
wgGuest32 | hello again | 17:56 |
wgGuest32 | i have created a dataform with some fields, one of them is type file. the data form has the email data enabled. so when i tested i filled all the fields without problem. the message is sent to the email but i don't see the file that i attached in the message | 17:56 |
wgGuest32 | appears the id related to the upload file | 17:57 |
wgGuest32 | someone 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 #webgui | 18: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 | |
+perlDreamer | I love it when Microsoft stabs its business partners in the back | 18:44 |
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui | 18:49 | |
-!- mode/#webgui [+o preaction] by ChanServ | 18:49 | |
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has joined #webgui | 18:52 | |
-!- mode/#webgui [+v MrHairgrease] by ChanServ | 18:52 | |
perlmonkey2 | perlDreamer: What do you mean stab them in the back.... | 18:54 |
+perlDreamer | http://news.yahoo.com/s/pcworld/20080304/tc_pcworld/143098;_ylt=Ag2sbH7oiBZhDuXTSEDJhcGs0NUE | 19:06 |
@preaction | nice | 19:09 |
perlmonkey2 | That 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 #webgui | 19:55 | |
@preaction | has anyone noticed that if you select some text in a rich text editor and right-click, you get the box to create a hyperlink? | 20:16 |
@preaction | i can't seem to make it happen in IE6, FF2, or Safari 3 | 20:16 |
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui | 20:18 | |
-!- mode/#webgui [+o rizen] by ChanServ | 20:18 | |
perlmonkey2 | Every time I edit a template, a new version is created in the DB? | 20:18 |
@preaction | yes | 20:19 |
perlmonkey2 | I've written a script which takes a text file and loads it into the asset table. This way I can edit the html in vim. But to make it work, I'd just update the template with the newest revisionDate right? | 20:20 |
@preaction | it automagically happens if you get WebGUI::Asset->newByDynamicClass( $session, $assetId ); | 20:20 |
@preaction | you get the latest revision. | 20:20 |
@preaction | then you can just $asset->update( new properties ); | 20:20 |
perlmonkey2 | oh, this is like a 4 line script just to load the html file into the db | 20:21 |
perlmonkey2 | doens't use WG api | 20:21 |
@preaction | bad idea | 20:22 |
perlmonkey2 | but never mind....something is screwed up.....when I created the template, I told it Survey and Edit for the namespace, but it created only an Edit namespace. So I changed the namespace in the DB. I thought that fixed it, but now I see like 20 versions with just Edit and only one with Survey/Edit. And apparently the one I've been updating via WG, isn't the right one. I think I need to rm -rf and start completely 100% over. | 20:23 |
perlmonkey2 | I wish the template editor in WG told you what namespace it was in and maybe let you change it. | 20:23 |
@preaction | can't change it, but the Metadata tab shows which one it's in | 20:24 |
perlmonkey2 | quit | 20: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 #webgui | 20:38 | |
+perlDreamer | it's a bad day | 20:48 |
+perlDreamer | Gary Gygax passed away | 20:48 |
@preaction | yeah :'( | 20:48 |
+perlDreamer | perlmonkey2: my templateFiler utility does the same thing, but it uses the API. Much safer | 20:57 |
perlmonkey2 | perlDreamer: I keep getting caught up in things I don't undersand about WG. I ust need to finish the survey sysem and I can learn about the things that don't involve the Survey system later. | 21:08 |
+perlDreamer | cool | 21:09 |
ckotil | perlmonkey2: the template editor shows the name space in the metadata tab. but you cant change it | 21: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 #webgui | 22:09 | |
perlmonkey2 | perlDreamer: heh, okay, so maybe I don't want to work on ~10 different templates in the WG editor. Maybe you wouldn't mind sending that template loading script to stupidmonkey@lostokies.com ? | 22:38 |
+perlDreamer | http://www.webgui.org/user_contributions/user_contributions/miscellaneous/template-import-and-export-utility-for-webgui-7_3#67s1xKEeGw_ZujD9VizRZA | 22:38 |
perlmonkey2 | Thanks perlDreamer | 22:41 |
@apeiron | heisenbugs-- # annoying, hard to track down | 23:01 |
perlmonkey2 | Okay, the template that I edit in WG, is not the template that my wobject gets when it asks for that property. Would I be messing things up badly if I just deleted everything with that assetId in template and in asset? | 23:02 |
perlmonkey2 | Dang it, I even deleted that template, created a new one, changed the wobject to default to the new assid, and I still get the wrong template. | 23:04 |
perlmonkey2 | had to create a new wobject....nevermind | 23:08 |
+perlDreamer | wG seems really slow this week | 23:44 |
+perlDreamer | community/dev-wise | 23:44 |
@preaction | i feel asleep! | 23:45 |
@preaction | wait. what's that from... | 23:45 |
CIA-21 | WebGUI: doug * r5708 /WebGUI/ (11 files in 8 dirs): | 23:45 |
CIA-21 | WebGUI: fix: GalleryAlbum and Photo were not showing correct confirmation messages on editSave | 23:45 |
CIA-21 | WebGUI: add: Ability to edit comments to Photos | 23:45 |
CIA-21 | WebGUI: add: Ability to choose which rich editor for Albums | 23:45 |
+perlDreamer | Wizard of Oz? | 23:45 |
@preaction | i think some engrish translation of some video game | 23:47 |
@preaction | i worry sometimes that i'm adding too much configuration. the ability to change the rich editor for each user-facing part of the Gallery? (albums, files, and comments) | 23:50 |
+perlDreamer | yeah, if you start to have a config as big as the CS, it's time to worry | 23:50 |
@preaction | there are, at least, 14 templates associated with the Gallery now | 23:51 |
@preaction | 17 | 23:51 |
--- Day changed Wed Mar 05 2008 | ||
+perlDreamer | I think you win | 00:02 |
CIA-21 | WebGUI: graham * r5709 /WebGUI/ (12 files in 4 dirs): new colorpicker | 00:03 |
@preaction | yeah. it's only going to get better/worse | 00:04 |
@preaction | i'm beating the Calendar now ;-) | 00:04 |
@preaction | calendar and collab are probably tied | 00:04 |
+perlDreamer | rizen: 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 | |
@rizen | yes i am | 00:07 |
@rizen | i was manning the pumps from sunday at 10pm straight through until 2:30pm on monday | 00:07 |
@rizen | it wouldn't have been so bad except that on saturday night i only got 2 hours of sleep | 00:07 |
+perlDreamer | all plugged up now? | 00:08 |
@rizen | the melt is mostly gone | 00:09 |
@rizen | but it's pooling a little again...hopefully the drains thaw out soon so i don't have to keep pumping | 00:09 |
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."] | 00:14 | |
+perlDreamer | does this happen every winter? | 00:29 |
-!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has joined #webgui | 00:29 | |
-!- mode/#webgui [+v Radix_] by ChanServ | 00:29 | |
@rizen | anope | 00:30 |
@rizen | nope only this winter | 00:30 |
@rizen | my neighbors and i are already trying to figure out why this happened for future | 00:30 |
@rizen | man email sux | 00:30 |
+perlDreamer | buried? | 00:30 |
@rizen | i had over 100 actionable emails this morning | 00:30 |
wgGuest32 | MrHairgrease, can you help me with a question? | 00:31 |
@rizen | i've got it down to 21 but that's taken all day | 00:31 |
@rizen | perlDreamer, i spoke to a client today about the donation asset. | 00:31 |
+perlDreamer | cool! | 00:32 |
@rizen | she said we should try to make it an option so you can do recurring payments | 00:32 |
@rizen | so that brings up a potential problem | 00:32 |
@rizen | we've already got sku's that do single payments (products) | 00:32 |
@rizen | and some that do recurring (subscriptions) | 00:32 |
@rizen | but does it seem feasible to do an asset that could be either? | 00:32 |
+perlDreamer | how about a mixin? | 00:33 |
+perlDreamer | adding subscriptions to what we need when needed? | 00:33 |
+perlDreamer | or a trait | 00:33 |
@rizen | but it's not the same as a subscription | 00:33 |
@rizen | yeah, a trait was something i was thinking about | 00:33 |
@rizen | but i know very little about aspect oriented programming | 00:33 |
@rizen | anyway...not something i have time to talk about right now...just thought it was an interesting thing to think about | 00:34 |
@preaction | i was doing some research the other night, Class::Trait just seems bad. mixin.pm works nicely and handles inheritence automagically | 00:34 |
@rizen | and something to add to the todo list should we get the commerce system completed in time to have extra things | 00:34 |
+perlDreamer | I've got my head wrapped around Cart, CartItem, SKU and Tax right now, to help build the calculate method for Tax. | 00:34 |
@rizen | how's that coming pd? | 00:35 |
+perlDreamer | it takes a bunch of code to handle addresses | 00:35 |
+perlDreamer | to get an address, I need a book | 00:35 |
+perlDreamer | so I need a book in the testing code, and another in the calculate method | 00:36 |
@rizen | It should be as simple as my $book = WebGUI::Shop::AddressBook->create($session); | 00:36 |
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui | 00:37 | |
@rizen | foreach my $address (@{$book->getAddresses}) { | 00:37 |
@rizen | shoudl it not? | 00:37 |
+perlDreamer | I want to pull one particular address by Id, so I'm using WebGUI::Shop::Address->new($book, $id); | 00:37 |
@rizen | ah, we should add a utility method to $book to allow you to do $book->getAddress($id); | 00:38 |
@rizen | that way you only have one use and one constructor | 00:38 |
@rizen | i'll add that method now | 00:38 |
* rizen hopes nobody notices that he's supposed to be responding to email rather than coding | 00:39 | |
+perlDreamer | I can add the method. | 00:39 |
+perlDreamer | I'm starting to get sick, and that makes me extra cranky and lazy. | 00:39 |
@rizen | no no, heh, i need a break from email | 00:39 |
* perlDreamer starts Operation SmokeScreen | 00:39 | |
@rizen | ok done | 00:41 |
@rizen | preaction: is mixin.pm something you wrote? | 00:42 |
@preaction | no. it's in cpan | 00:42 |
@preaction | i did write something that was a lot like a mix of the two (mixin and Class::Trait), but mixin handles SUPER:: automatically, and my code doesn't, which i believe was one of your requirements set to me for asset mixins (it be drop-and-go) | 00:43 |
@preaction | and the mixins i've made so far are indeed drop-and-go. | 00:43 |
@rizen | nice | 00:44 |
CIA-21 | WebGUI: jt * r5710 /branch/WebGUI_Commerce/lib/WebGUI/Shop/AddressBook.pm: added utility method | 00:46 |
@rizen | i can't wait to be back on commerce tomorrow...man today sucked | 00:46 |
+perlDreamer | did you get the updates from over the weekend? | 00:47 |
@rizen | reading and writing email all day is worse than manning the flood pumps for two days without sleep | 00:47 |
@rizen | what updates? | 00:47 |
+perlDreamer | I wrote tests for AddressBook and Address and fixed some bugs and typos | 00:47 |
@rizen | didn't i write tests? | 00:48 |
@rizen | maybe i forgot to check them in | 00:48 |
@rizen | i was sure i did | 00:48 |
+perlDreamer | that could be | 00:48 |
@rizen | crap..i didn't...i'm sorry, i don't know what i was thinking | 00:49 |
@rizen | thank you for covering my ass, i'm sorry you had to do that | 00:49 |
+perlDreamer | No problem. Didn't you just write some code for me? | 00:49 |
@rizen | i hardly think that 1 method is equiv | 00:49 |
@rizen | but point taken...we're working together | 00:49 |
@rizen | ok better get back to email to see if i can finish this up before the end of the day | 00:50 |
+perlDreamer | good luck :) | 00:51 |
wgGuest32 | MrHairgrease, can you help me with a question? | 00:51 |
+perlDreamer | wgGuest32, MrHairgrease is in Europe, he's probably asleed | 00:54 |
@preaction | wgGuest32, but if you ask the channel, perhaps someone else can help you | 00:56 |
wgGuest32 | perlDreamer, do you know why the sql form doesn't have incluided the select box in the manage field types? | 00:56 |
+perlDreamer | No. That may have been a decision in the original design. | 00:57 |
wgGuest32 | but i think it is a esential field form | 00:57 |
@rizen | wgGuest32 do you want to argue that you think it's super important, or do you just want to request that it be added as a feature? | 00:58 |
wgGuest32 | i want to incluied it by myself | 00:59 |
wgGuest32 | is it difficult? | 00:59 |
@preaction | shouldn't be too bad. i thought there was either a list, or it uses "profileEnabled" to decide | 01:00 |
+perlDreamer | if you do the programming, you should submit your patch as an RFE. It could be included back into the core. | 01:01 |
+perlDreamer | preaction: last time I checked, no | 01:01 |
+perlDreamer | it's manual | 01:01 |
@preaction | ah | 01:01 |
@rizen | unfortunately it wasn't written to just plug in the form controls that are plugged in to webgui | 01:02 |
@rizen | that's one of the reasons it's being removed and replaced by Thingy | 01:02 |
wgGuest32 | ok, thanks for your advices | 01:03 |
-!- wgGuest32 [n=wgGuest3@static-adsl201-232-86-73.epm.net.co] has quit [Remote closed the connection] | 01:03 | |
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit [] | 01:08 | |
+MrHairgrease | fwiw, when i worte the sqlform the form controls weren't pluggable yet as far as i can recall | 01:08 |
+MrHairgrease | also there was only selectBox and not selectList (or the other way around) | 01:08 |
+MrHairgrease | that's why only one is in the list | 01:08 |
@preaction | ah | 01:09 |
+MrHairgrease | oh and btw, i'm not yet asleep | 01:09 |
+MrHairgrease | but that won't be the case for very long | 01:09 |
@preaction | i'm still leaning towards making GalleryFile into an AssetMixin, not a asset to subclass | 01:09 |
@preaction | wait, nm, won't work. | 01:09 |
@preaction | WebGUI::Asset::File::GalleryFile it is | 01:09 |
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has left #webgui [] | 01:10 | |
+perlDreamer | perlmonkey2: where do you live? | 01:54 |
perlmonkey2 | oklahoma | 01:59 |
perlmonkey2 | oklahoma city | 01:59 |
+perlDreamer | how much sales tax do you pay? | 02:00 |
perlmonkey2 | I hve no idea | 02:00 |
perlmonkey2 | 8% | 02:02 |
perlmonkey2 | why do you ask? plan on moving? | 02:03 |
nuba | perlmonkey2: now, bank account number, with pin, please? ;) | 02:04 |
perlmonkey2 | 753409363453422 9011 | 02:04 |
+perlDreamer | I need semi decent tax data for testing | 02:04 |
perlmonkey2 | then what did you need my account number and pin for? | 02:05 |
@preaction | now, i need you social security number and mother's maiden name | 02:05 |
+perlDreamer | that was nuba | 02:05 |
+perlDreamer | He'd like to borrow some money | 02:05 |
+perlDreamer | and probably already has :) | 02:05 |
nuba | done. thx! | 02:05 |
perlmonkey2 | 988-37-2256 Simpson. | 02:05 |
-!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui | 02:05 | |
-!- mode/#webgui [+v Radix-wrk] by ChanServ | 02:05 | |
perlmonkey2 | you sure it is a good idea to put out my info on irc? | 02:06 |
nuba | its a great idea!..... ...not! | 02:07 |
perlmonkey2 | just not for me :) | 02:07 |
perlmonkey2 | brb | 02:07 |
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."] | 02:07 | |
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui | 02:08 | |
nuba | perlmonkey2: i hope you didnt really posted any sensitive info here | 02:10 |
perlmonkey2 | hah....I wondered if I was pretending to be too ignorant and had worried anyone. No, I didn't, but thanks for checking. | 02:10 |
perlmonkey2 | I just hope I didn't actually post anyones real information | 02:11 |
nuba | theres the channel regulars, who are all "good people", but the channel's logs are crawlable and indexable .... | 02:11 |
@preaction | hey, if you type your plainblack password it shows up as all *'s, see: ******** | 02:11 |
perlmonkey2 | and some irc bot scarfs it up, posts it to a web log, a crawler grabs it, and some eviledoodz attack someone, because I randomly picked their number. | 02:11 |
nuba | cool, let me test... | 02:11 |
nuba | my password is ***** | 02:11 |
nuba | whoa, it works! | 02:11 |
+perlDreamer | hm | 02:11 |
perlmonkey2 | hah | 02:11 |
+perlDreamer | only five characters.... | 02:12 |
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui | 02:12 | |
nuba | actually its 32 but for security reasons it defaults to showing only 5 stars. | 02:12 |
perlmonkey2 | my password is p@33Ow4d | 02:13 |
+perlDreamer | preaction's must be broken, then | 02:13 |
nuba | this reminds me of something funny, brb.. | 02:13 |
+perlDreamer | his showed 8 | 02:13 |
perlmonkey2 | wait...did that show up as all *'s for you guys? | 02:13 |
nuba | sure thing | 02:13 |
@preaction | yup, it showed up like p@33Ow4d | 02:13 |
nuba | 5 *s | 02:13 |
perlmonkey2 | oh man...that sucks! | 02:13 |
@preaction | why? | 02:13 |
perlmonkey2 | you said it would change my pwd to *'s | 02:13 |
+perlDreamer | never believe anything preaction tells you | 02:14 |
perlmonkey2 | now I need to change my pwd | 02:14 |
* nuba LOLs at such bash.org reenactment | 02:14 | |
perlmonkey2 | I'm just kidding....that isn't my pwd :D | 02:14 |
@preaction | i copy/pasted the *'s, but it shows up as your password | 02:14 |
perlmonkey2 | if you copy pasted the *'s and they showed up as *'s, then that sounds highly crackable. | 02:14 |
perlmonkey2 | I mean 'showed up as my pwd' | 02:15 |
nuba | Error Message: Your Password Must Be at Least 18770 Characters and Cannot Repeat Any of Your Previous 30689 Passwords (http://support.microsoft.com/kb/q276304/) | 02:15 |
+perlDreamer | it doesn't matter | 02:15 |
+perlDreamer | m$ stores all passwords as clear text anyway | 02:15 |
perlmonkey2 | well, given how secure the rest of MS systems are, it is perfectly reasonable to store them as plain text. | 02:16 |
nuba | hah, good luck brute forcing 18770 chars... | 02:16 |
+perlDreamer | corner cases are easy :) | 02:16 |
nuba | GooeyOfSteel: check www.imaterial.org | 02:17 |
GooeyOfSteel | www.imaterial.org Server: Apache/2.0.59 (Unix) WebGUI/7.4.25 mod_ssl/2.0.59 OpenSSL/0.9.7i mod_apreq2-20051231/2.5.7 mod_perl/2.0.2 Perl/v5.8.8 | Generator: WebGUI 7.4.25 | 02:17 |
nuba | good, its still working | 02:18 |
perlmonkey2 | GooeyOfSteel: check www.lostokies.com | 02:18 |
GooeyOfSteel | www.lostokies.com Server: Apache/2.2.3 (CentOS) | Generator: WebGUI 7.5.4 | 02:18 |
-!- Radix-wrk [n=Jesse@203.161.68.67] has quit [Read error: 104 (Connection reset by peer)] | 02:19 | |
nuba | guess there hasnt been much action at the community wiki lately | 02:20 |
nuba | btw guys, google apps for your domains (aka GAFYD) now features Websites | 02:22 |
nuba | with some standard templates, | 02:22 |
nuba | collab features | 02:22 |
nuba | versioning | 02:22 |
nuba | comments, file attachments | 02:22 |
-!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui | 02:22 | |
-!- mode/#webgui [+v Radix-wrk] by ChanServ | 02:22 | |
nuba | some gadgets, google-docs-like interface | 02:22 |
perlmonkey2 | that starting to sound like a CMS. | 02:23 |
nuba | yes, i think its something worth checking out | 02:23 |
nuba | let me see what else... | 02:23 |
nuba | subscribe to pages/site changes | 02:24 |
nuba | site sharing can be set individually or with the entire domain | 02:24 |
nuba | no groups, but thats probably one of the next features to come... | 02:25 |
perlmonkey2 | This shouldn't hurt WG as much as the php* crowd. The hobbyist will flock to this. | 02:25 |
nuba | sharing categories: as owners as collaborators as viewers | 02:25 |
nuba | you can personalize the theme, if you dont like the default ones | 02:25 |
nuba | you can create as many websites as you want, and set that differently for each site | 02:26 |
nuba | guess thats it | 02:26 |
nuba | that was a quick rundown on the features | 02:26 |
nuba | the thing with this is it isnt a standalone offering | 02:27 |
perlmonkey2 | what does that mean, that it isn't standalone? | 02:28 |
nuba | you should look at it as part of a bundle of apps which are free for small companies, and educational or non-proit users too | 02:28 |
-!- Funakoshi [i=Xtasy@nor75-7-81-57-85-191.fbx.proxad.net] has joined #webgui | 02:28 | |
perlmonkey2 | So the target audience of WG? | 02:28 |
nuba | i was going to deploy a webgui setup for my CS department, to provide the website feature | 02:28 |
+perlDreamer | WG usually shoots larger than that | 02:29 |
nuba | while i have already deployed GAFYD for the mail, im, calendar, etc. | 02:29 |
CIA-21 | WebGUI: jt * r5711 /translations/French/French/ (Asset_Navigation.pm WebGUI.pm): update_from_translation_server | 02:29 |
nuba | both using a LDAP backend | 02:29 |
nuba | now, it makes it harder for me to sell webgui there | 02:29 |
nuba | im not saying "big truths" or making "big forecasts" folks | 02:30 |
nuba | this is just a use case, mine. | 02:30 |
nuba | i think even if this thing doesnt looks quite like webgui doesnt mean they wont compete | 02:31 |
+perlDreamer | true, and it could grow from here, too. | 02:33 |
nuba | see, im not rooting for one thing or another, i just thought this thing would be a nice topic to throw at the channel and discuss | 02:33 |
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has quit ["Download Gaim: http://gaim.sourceforge.net/"] | 02:33 | |
nuba | also worth of notice is that to get a GAFYD going the only thing you need to do is set the DNS | 02:36 |
perlmonkey2 | Luckily a tiny little company like Google could never hope to compete with PB. | 02:36 |
nuba | and even that can be delayed if you dont mind demoing it with urls like http://sites.google.com/a/bcc.ic.uff.br/ | 02:36 |
nuba | instead of sites.bcc.ic.uff.br | 02:37 |
+Radix-wrk | what 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-wrk | google apps for your domains hmm | 02:38 |
nuba | nuba> | with some standard templates, collab features, versioning, comments, file attachments | 02:39 |
+Radix-wrk | can you plug them into a webgui site? | 02:39 |
nuba | you can use single signon | 02:40 |
nuba | or have both refer to a LDAP server | 02:40 |
nuba | or even keep things separated but in sync with the provisioning/report API, which is what im doing | 02:41 |
+Radix-wrk | $50/account/year huh | 02:41 |
+Radix-wrk | for premium edition anyway | 02:41 |
nuba | well all my GAFYD setups are educational and/or non-profit, so we get the premium for free | 02:42 |
nuba | but the standard version is awesome too | 02:43 |
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."] | 02:43 | |
-!- patspam [i=chatzill@ppp59-167-128-63.lns3.mel6.internode.on.net] has joined #webgui | 02:45 | |
CIA-21 | WebGUI: colin * r5712 /branch/WebGUI_Commerce/ (4 files in 3 dirs): | 02:49 |
CIA-21 | WebGUI: Remove an extra my from Shop::Cart. | 02:49 |
CIA-21 | WebGUI: Add the getTaxRates method to Tax, with tests. | 02:49 |
CIA-21 | WebGUI: Add some calculate code to Tax, with tests, which don't pass yet. | 02:49 |
+Radix-wrk | Looks interesting | 02:51 |
+Radix-wrk | can see a little overlap with webgui, but certainly wouldn't see it as a replacement | 02:51 |
+Radix-wrk | shame you can't just plug google gadgets and apps into an existing website easily tho | 02:52 |
+Radix-wrk | that'd be awesome | 02:52 |
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui | 03:02 | |
diakopter | preaction: i'm curious if you or anyone else know if the Dashboard still works in 7.4+ | 03:55 |
@preaction | should work just fine | 03:55 |
@preaction | if it doesn't, that'd be a bug | 03:55 |
@preaction | it's just being called "beta" now | 03:55 |
@preaction | because JT thinks it could be better, or needs a rewrite or something. it's subject to change | 03:55 |
diakopter | aww. 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: ascii | 04:07 | |
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui | 04:10 | |
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui | 04:10 | |
-!- steveo_aa [n=sno@76.226.180.72] has joined #webgui | 04:10 | |
-!- Haarg [n=haarg@24-177-119-178.dhcp.mdsn.wi.charter.com] has joined #webgui | 04:10 | |
-!- ckotil [n=newtrino@snare.grnoc.iu.edu] has joined #webgui | 04:10 | |
-!- jdferm [n=jdferm@sangha.cyberius.net] has joined #webgui | 04:10 | |
-!- ServerMode/#webgui [+oo preaction Haarg] by irc.freenode.net | 04:10 | |
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui | 04:10 | |
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [Client Quit] | 04:10 | |
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui | 04:10 | |
-!- CIA-21 [n=CIA@208.69.182.149] has joined #webgui | 04:11 | |
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui | 04:11 | |
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #webgui | 04:11 | |
-!- GooeyOfSteel [n=puppetma@hq.imaterial.org] has joined #webgui | 04:11 | |
-!- ServerMode/#webgui [+o apeiron] by irc.freenode.net | 04:11 | |
-!- patspam [i=chatzill@ppp59-167-128-63.lns3.mel6.internode.on.net] has joined #webgui | 04:11 | |
-!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui | 04:11 | |
-!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has joined #webgui | 04:11 | |
-!- estiven [n=erestrep@static-adsl201-232-86-73.epm.net.co] has joined #webgui | 04:11 | |
-!- ServerMode/#webgui [+vv Radix-wrk Radix_] by irc.freenode.net | 04:11 | |
-!- wgGuest21 [n=wgGuest2@adsl190-28-22-218.epm.net.co] has joined #webgui | 04:14 | |
wgGuest21 | hello | 04: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, @apeiron | 04:29 | |
-!- Netsplit over, joins: @apeiron, SDuensin, GooeyOfSteel | 04:32 | |
-!- perlDreamer [n=colink@pool-71-117-235-252.ptldor.fios.verizon.net] has joined #webgui | 04:36 | |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 04:37 | |
-!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: @Haarg, ckotil, steveo_aa, perlmonkey2 | 04:48 | |
-!- Netsplit over, joins: ckotil | 04:51 | |
+perlDreamer | you guys don't have to leave just because I came back | 04:51 |
-!- Haarg [n=haarg@24-177-119-178.dhcp.mdsn.wi.charter.com] has joined #webgui | 04:53 | |
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui | 04:53 | |
-!- steveo_aa [n=sno@76.226.180.72] has joined #webgui | 04:53 | |
-!- ServerMode/#webgui [+o Haarg] by irc.freenode.net | 04:53 | |
+perlDreamer | aw, ya came back | 05:03 |
CIA-21 | WebGUI: colin * r5713 /branch/WebGUI_Commerce/ (lib/WebGUI/Shop/Tax.pm t/Shop/Tax.t lib/WebGUI/Shop/Cart.pm): | 06:03 |
CIA-21 | WebGUI: Update the POD for Cart.pm. Return value for addItem is not items in cart, it's the | 06:03 |
CIA-21 | WebGUI: created item. | 06:03 |
CIA-21 | WebGUI: Finish up the Tax calculate method, with tests. | 06:03 |
-!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: +perlDreamer, perlbot, nuba | 06:30 | |
-!- Netsplit over, joins: +perlDreamer, nuba, perlbot | 06: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-21 | WebGUI: graham * r5714 /WebGUI/ (docs/changelog/7.x.x.txt lib/WebGUI/AssetLineage.pm): fixed: Child assets not indicated by plus sign in uncommited tags | 07:21 |
CIA-21 | WebGUI: graham * r5715 /branch/WebGUI_7.4/ (docs/changelog/7.x.x.txt lib/WebGUI/AssetLineage.pm): fixed: Child assets not indicated by plus sign in uncommited tags | 07:43 |
CIA-21 | WebGUI: graham * r5716 /branch/WebGUI_7.4/docs/create.sql: preparing for 7.4.27 release | 07:43 |
CIA-21 | WebGUI: jt * r5717 /releases/WebGUI_7.4.27-stable: Release 7.4.27-stable | 08:02 |
CIA-21 | WebGUI: graham * r5718 /branch/WebGUI_7.4/ (4 files in 4 dirs): preparing for 7.4.28 | 08: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 #webgui | 09:19 | |
-!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: @Haarg, steveo_aa, perlmonkey2 | 09:33 | |
-!- Netsplit over, joins: @Haarg, perlmonkey2, steveo_aa | 09:36 | |
-!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: CIA-21 | 09:37 | |
-!- Netsplit over, joins: CIA-21 | 09:40 | |
-!- Radix-wrk [n=Jesse@203.161.68.67] has quit ["Leaving"] | 09:55 | |
-!- BartJol [n=plainstu@194.171.50.123] has joined #webgui | 10:30 | |
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui | 10: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 #webgui | 11:33 | |
-!- mode/#webgui [+v Radix_] by ChanServ | 11:33 | |
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui | 11:46 | |
-!- mode/#webgui [+o preaction] by ChanServ | 11: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 #webgui | 14:32 | |
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui | 15:05 | |
-!- ckotil [n=newtrino@snare.grnoc.iu.edu] has quit ["Lost terminal"] | 15:55 | |
-!- ckotil [n=newtrino@snare.grnoc.iu.edu] has joined #webgui | 16:03 | |
-!- SDuensin [n=Scott@229.sub-75-205-17.myvzw.com] has joined #WebGUI | 16:08 | |
SDuensin | Morning. | 16:12 |
ckotil | Good Morning | 16:15 |
BartJol | Morning | 16:18 |
-!- crythia1 [n=gyoung@fl-69-68-148-96.sta.embarqhsd.net] has joined #webgui | 16:22 | |
-!- mode/#webgui [+v crythia1] by ChanServ | 16:22 | |
-!- crythia1 [n=gyoung@fl-69-68-148-96.sta.embarqhsd.net] has left #webgui [] | 16:22 | |
-!- jdan [n=jdan@195.116.30.251] has joined #webgui | 16: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 #webgui | 16:39 | |
-!- estiven [n=erestrep@static-adsl201-232-86-73.epm.net.co] has quit [Read error: 104 (Connection reset by peer)] | 16:56 | |
perlmonkey2 | In the Survey System, question text will be able to include answers from previous questions. ie. in Q2, you could have "What do you like about <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 |
perlmonkey2 | And does anyone see a problem with that scheme? | 17:17 |
perlmonkey2 | I think I'll just add some syntax to allow the designer to chose. S1Q1D or S1Q1R and have S1Q1 default to S1Q1R. | 17:20 |
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui | 17:21 | |
-!- mode/#webgui [+o rizen] by ChanServ | 17: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 #webgui | 17:52 | |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 17:52 | |
+perlDreamer | kill -HUP perlDreamer | 17:53 |
@rizen | noooooooo!!!!! | 17:53 |
@rizen | i need him | 17:53 |
@rizen | leave him alone | 17:53 |
+perlDreamer | there are runaway processes in perlDreamer | 17:53 |
+perlDreamer | he needs to reboot | 17:53 |
@rizen | find a way to kill the runaways | 17:54 |
+perlDreamer | actually, first he needs to call in sick to $dayJob | 17:54 |
@rizen | without killing pd | 17:54 |
@rizen | hehe | 17:54 |
@rizen | $dayJob->call($sickness); | 17:54 |
perlmonkey2 | perlDreamer: ohnoooes, you gots teh s1kn3ss | 17:57 |
perlmonkey2 | seems like an excessive amount of funk is going around this year. | 17:57 |
+perlDreamer | now that we've switched to Linux boxen at work, I can almost work completely remotely | 17:59 |
+perlDreamer | but not today | 17:59 |
+perlDreamer | just email | 17:59 |
@rizen | everyone's got to have the sickness, cuz everyone seems to need the cure | 17:59 |
+perlDreamer | I'm blaming nuba | 17:59 |
+perlDreamer | he made me worry about wG future with Google building mini-CMS sites | 18:00 |
@rizen | damn the google! | 18:00 |
+perlDreamer | actually, that would be a cool TBB entry, talking about it | 18:00 |
@rizen | but the people they're picking up weren't likely to be webgui customers anyway | 18:00 |
@rizen | good idea | 18:01 |
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has quit ["Leaving."] | 18:04 | |
perlmonkey2 | rizen: that was my thought, that only the hobbyists and those who use the php* junk would be moving. | 18:05 |
+perlDreamer | rizen: see yesterday's irc logs for the talk about it | 18:06 |
+perlDreamer | after this line | 18:07 |
+perlDreamer | tw guys, google apps for your domains (aka GAFYD) now features Websites | 18:07 |
@rizen | they do allow a lot more cool dynamic stuff than any other of the free/cheap do it yourself sites | 18:10 |
@rizen | but all the sites basically look the same | 18:11 |
@rizen | and they certainly don't offer everything webgui does | 18:11 |
@rizen | the super coolest thing is though that you instantly have google search on your site | 18:13 |
@rizen | although the sites they create a pretty small i'm guessing, so that's not nearly as important | 18:13 |
+perlDreamer | I think the killer app will be integration | 18:14 |
+perlDreamer | integrating other google things into the sites seamlessly | 18:14 |
@rizen | they've already got that really | 18:15 |
@rizen | with the widget concept | 18: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 #webgui | 18:17 | |
-!- mode/#webgui [+o Haarg] by ChanServ | 18:17 | |
perlmonkey2 | okay, I don't think I'm grok'ing javascript closures properly. But I want a single ajax object that events pass a callback closure to, which itself contains a success and failure closure. Is that not the "javascript way"? | 18:19 |
-!- lisette [n=liraos@static-adsl201-232-86-73.epm.net.co] has joined #webgui | 18:31 | |
lisette | hello | 18:33 |
+perlDreamer | hello | 18:34 |
lisette | which is the module for send emails from webgui? | 18:34 |
+perlDreamer | WebGUI::Mail::Send | 18:34 |
lisette | and how to use? | 18:36 |
+perlDreamer | perldoc WebGUI::Mail::Send | 18:36 |
lisette | thanks | 18:36 |
+perlDreamer | lisette, if you should ever find any module in the WebGUI core that does not have documentation, or has bad documentation, please file a bug about it, and it will be fixed. | 18:42 |
+perlDreamer | We do it all the time | 18:42 |
+perlDreamer | to try and make it easier for people to use the code. | 18:42 |
lisette | ok | 18:50 |
CIA-21 | WebGUI: jt * r5719 /branch/WebGUI_Commerce/lib/WebGUI/Shop/ (Tax.pm Address.pm CartItem.pm Cart.pm): added some helper methods for addressing, and got the cart closer to working | 19:00 |
CIA-21 | WebGUI: jt * r5720 /branch/WebGUI_Commerce/lib/WebGUI/Shop/Tax.pm: made it use a helper method | 19:00 |
@rizen | wow that took a long time | 19:02 |
+perlDreamer | yeah | 19:03 |
+perlDreamer | it's constipated | 19:03 |
-!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: @Haarg, ckotil | 19:07 | |
@rizen | i'm working on the address chooser function | 19:07 |
@rizen | so we can actually see the fruits of your tax labor | 19:07 |
nuba | [12:29] <+perlDreamer> I'm blaming nuba | 19:07 |
nuba | oh come on | 19:07 |
nuba | dont shoot the messenger | 19:07 |
-!- Netsplit over, joins: @Haarg, ckotil | 19:08 | |
@rizen | i'm blaming nuba too, just cuz it's fun | 19:08 |
BartJol | nuba all people here blame me, because I'm the newby and I mess things up | 19:09 |
nuba | i blame google for making "student websites" so easy to my computer science dept and thus making it harder to sell webgui to them. | 19:11 |
nuba | rizen: yesterday i tried shaking the channel a bit with that topic, but nobody was really excited about it | 19:11 |
-!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: +perlDreamer, BartJol, @rizen, CIA-21 | 19:12 | |
-!- apeiron_ [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui | 19:12 | |
-!- mode/#webgui [+o apeiron_] by ChanServ | 19:13 | |
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has quit [Nick collision from services.] | 19:13 | |
-!- apeiron_ is now known as apeiron | 19:13 | |
-!- Netsplit over, joins: BartJol | 19:15 | |
BartJol | that was strange, got kicked out... | 19:15 |
BartJol | well have to cook | 19:15 |
-!- BartJol [n=plainstu@194.171.50.123] has left #webgui [] | 19:15 | |
-!- CIA-52 [n=CIA@208.69.182.149] has joined #WebGUI | 19:16 | |
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui | 19:17 | |
-!- perlDreamer [n=colink@pool-71-117-235-252.ptldor.fios.verizon.net] has joined #webgui | 19:17 | |
-!- BartJol [n=plainstu@194.171.50.123] has joined #webgui | 19:17 | |
-!- ServerMode/#webgui [+ov rizen perlDreamer] by irc.freenode.net | 19:17 | |
-!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: steveo_aa, perlmonkey2 | 19:18 | |
-!- estiven [n=erestrep@static-adsl201-232-86-73.epm.net.co] has joined #webgui | 19:22 | |
-!- Netsplit over, joins: perlmonkey2, steveo_aa | 19:22 | |
nuba | splitty here, huh? | 19:23 |
+perlDreamer | guess so | 19: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 #webgui | 19:26 | |
-!- mode/#webgui [+o apeiron] by ChanServ | 19: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 #webgui | 19:36 | |
-!- mode/#webgui [+v MrHairgrease] by ChanServ | 19:36 | |
-!- perlDreame1 [n=colink@pool-71-117-235-252.ptldor.fios.verizon.net] has joined #webgui | 19: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 #webgui | 20:00 | |
-!- mode/#webgui [+v MrHairgrease] by ChanServ | 20:00 | |
-!- crythia1 [n=gyoung@fl-69-68-148-96.sta.embarqhsd.net] has joined #webgui | 20:06 | |
-!- mode/#webgui [+v crythia1] by ChanServ | 20:06 | |
-!- crythia1 [n=gyoung@fl-69-68-148-96.sta.embarqhsd.net] has left #webgui [] | 20:06 | |
perlmonkey2 | axod is explaining his problems and why he's kicking 800 people off irc in ##javascript | 20:09 |
perlDreame1 | oh really? | 20:12 |
perlDreame1 | is 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 perlDreamer | 20:13 | |
-!- perlDreamer is now known as fooBa2 | 20:14 | |
-!- fooBa2 [n=colink@pool-71-117-235-252.ptldor.fios.verizon.net] has quit ["Leaving."] | 20:14 | |
-!- perlDreamer [n=colink@pool-71-117-235-252.ptldor.fios.verizon.net] has joined #webgui | 20:14 | |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 20:14 | |
GooeyOfSteel | Wiki: WRE-FAQ - Edited on 3/5/2008 12:30 pm by JT http://www.webgui.org/community-wiki/wre-faq | 20:41 |
perlmonkey2 | perlDreamer: My bad, he was talking about an irc client he has for his own server that dumped 800 users on his own irc esrver. | 20:49 |
+perlDreamer | no sweat, dude | 20:52 |
perlmonkey2 | $self->session->id->generate() what is that generating? A unique assetId? | 20:56 |
perlmonkey2 | Let me back up | 20:56 |
perlmonkey2 | I want to know how I get the assetId of the current instance of a survey, and what I should use as my foreign key for Survey_Questions/Sections/Answers/Responses. | 20:57 |
perlmonkey2 | I would think I would use the assetId for the current survey? | 20:58 |
+perlDreamer | $self->getId | 21:02 |
+perlDreamer | id->generate generates a custom, base64 MD5 hash | 21:02 |
-!- wgGuest25 [i=WebGUIUs@c-76-119-132-119.hsd1.ma.comcast.net] has joined #webgui | 21:02 | |
wgGuest25 | wow.. IRC | 21:02 |
+perlDreamer | yeah, isn't it cool? | 21:02 |
wgGuest25 | haven't been on one of these since I was like... 6 | 21:03 |
+perlDreamer | Perchance, do you have a WebGUI related question? | 21:03 |
wgGuest25 | I do... do you have webGUI related answers? | 21:03 |
+perlDreamer | perchance | 21:03 |
perlmonkey2 | The original Survey has an assetId and then generates a new hash for the Survey_id. Is there a reason to just not use the assetId as the SurveyId (the surveyid was used as the foreign keys in the other collateral tables). | 21:03 |
perlmonkey2 | wgGuest25: perlDreamer has *all* the answers. | 21:04 |
wgGuest25 | alright. I have several sites that are running an OLD (circa 2003-2004) version of WebGUI, so these may sound like stupid questions because I'm not used to all this new stuff | 21:04 |
+perlDreamer | 'salright | 21:04 |
wgGuest25 | but I just set up a new server, with the latest version of (ubuntu and webgui) | 21:04 |
perlmonkey2 | congrats | 21:04 |
wgGuest25 | used the WRE, successfully | 21:04 |
perlmonkey2 | isn't it cool? | 21:05 |
wgGuest25 | i can upload photos from any section of the site, EXCEPT for the inline-editor. | 21:05 |
wgGuest25 | They just show up as broken image boxes | 21:05 |
+perlDreamer | anything in the webgui.log file? | 21:05 |
wgGuest25 | with the WRE, does everything log to /etc/WebGUI/.... whatever? | 21:06 |
wgGuest25 | or does it break logs down into individual sites | 21:06 |
@rizen | perlmonkey2 survey_id was a stupid thing that i should have never added | 21:06 |
+perlDreamer | /data/wre/logs, I believe | 21:07 |
perlmonkey2 | rizen: well bare with me, as I'm apparently a slow WG learner, but then that means it is a good idea to use the assetId as the foreign key? | 21:07 |
+perlDreamer | and (not being a WRE user myself), I'm pretty sure that all WebGUI's log to the same file | 21:07 |
wgGuest25 | no directory /data/wre/logs | 21:07 |
@rizen | it's /data/wre/var/logs | 21:07 |
perlmonkey2 | s/bare/bear/ | 21:07 |
@rizen | pm2: yes use the assetId as a key | 21:08 |
+perlDreamer | perlmonkey2: ew | 21:08 |
perlmonkey2 | groovy | 21:08 |
perlmonkey2 | heh | 21:08 |
perlmonkey2 | "NO, NO, don't take off your clothes...my eyes, my eyes....they BUUUURN!" | 21:08 |
wgGuest25 | that's more like what i'm used to seeing in IRC | 21:08 |
wgGuest25 | welcome to being 6 years old :) | 21:08 |
* perlmonkey2 hopes to stay that way forever. | 21:09 | |
wgGuest25 | haha | 21:09 |
wgGuest25 | i'm attempting to add an image now while tailing the log file | 21:09 |
wgGuest25 | main::[[undef]] - Can't make a thumbnail for a file that is not in my storage location. | 21:10 |
-!- wgGuest25 is now known as Slickware | 21:11 | |
Slickware | did I stump | 21:12 |
-!- dionak [n=diona@97.66.185.250] has joined #webgui | 21:12 | |
@rizen | it's most likely a privileges problem | 21:13 |
@rizen | make sure your uploads folders are owned by your apache user | 21:13 |
Slickware | i feel like it should be too - but shouldn't the WRE have set that up? | 21:13 |
Slickware | i don't even have apache actually installed | 21:13 |
Slickware | i let the WRE do EVERYTHING | 21:13 |
@rizen | it should, that doesn't mean it doesn't have a bug, or that you didn't do something correctly...there's always the chance for something going wrong | 21:14 |
Slickware | especially with webgui | 21:14 |
Slickware | i remember the days before the WRE :) | 21:14 |
@rizen | what? | 21:14 |
@rizen | webgui roxorz | 21:14 |
Slickware | it was like installing Murphy's Law | 21:14 |
Slickware | especially all those damn CPAN things | 21:14 |
Slickware | "can't make, install seems impossible" | 21:15 |
@rizen | true...hence the wre | 21:16 |
dionak | the more powerful an application, the more chance that something can go wrong. | 21:16 |
-!- rizen is now known as rizenisatlunch | 21:16 | |
-!- perlmonkey2 is now known as stupidmonkeymust | 21:17 | |
-!- stupidmonkeymust is now known as monkeyiseating | 21:18 | |
nuba | heh, my first webgui install to a hosting that had no shell access, and just the core perl libs. had to use cgitelnet.pl and install to a local box having similar OS/arch, then upload and testenvironment again and again.. | 21:18 |
Slickware | ouch | 21:18 |
nuba | early 5.x days | 21:18 |
Slickware | hey.. i still have a 5.x server running happily :) | 21:18 |
nuba | you'll have lots more fun with webgui as it is now | 21:19 |
Slickware | i have to say - while I understand the idea behind clear/commit, | 21:19 |
Slickware | i HATE it | 21:19 |
+perlDreamer | there is an autosave/autocommit set of options in the settings | 21:20 |
nuba | also the wre comes tweaked for webgui performance, mod_proxy and all that | 21:20 |
nuba | its a good way to get a great setup out of the box | 21:20 |
nuba | with little effort | 21:20 |
+perlDreamer | rizen: more fuel for your argument | 21:21 |
+perlDreamer | the automated test suites all run the WRE | 21:22 |
Slickware | i won't bash the WRE | 21:23 |
Slickware | just want to get this image upload issue fixed | 21:23 |
Slickware | so, if i'm running ubuntu... which directories should I have to change permissions on ? | 21:24 |
+perlDreamer | /data/domains/* | 21:24 |
Slickware | and should they all be apache.apache | 21:24 |
+perlDreamer | um, no | 21:24 |
+perlDreamer | there is a webgui user for the wre | 21:24 |
+perlDreamer | they should be owned by him | 21:24 |
+perlDreamer | and exactly which versions of the WRE and webgui are you using? | 21:24 |
Slickware | everything down to the uploads directory is owned by webgui | 21:25 |
Slickware | but some of the directories IN the uploads directory are owned by webgui, group is like 42553437589 | 21:25 |
+perlDreamer | are they writable by user webgui? | 21:26 |
@apeiron | nuba, http://sourceforge.net/projects/cgipan/ may have helped you back in those days without shell access. :) | 21:26 |
Slickware | i believe they are | 21:27 |
Slickware | i'm literally running whatever the latest versions are - i JUST finished installing it last week | 21:27 |
+perlDreamer | chmod -R u+w /data/domains | 21:27 |
+perlDreamer | and, just as a refresher, only uploads through the rich editor have problems? | 21:28 |
@preaction | wasn't this a known issue in 7.4.25? | 21:28 |
Slickware | yes, only through the richedit | 21:28 |
+perlDreamer | sounds familiar | 21:28 |
+perlDreamer | what's the exact webgui version you're running? | 21:28 |
Slickware | how do i check now | 21:29 |
nuba | apeiron: nice | 21:29 |
+perlDreamer | through the UI, log in as admin, turn admin on, to go admin console, click on statistics | 21:30 |
+perlDreamer | through the shell, look at /data/WebGUI/lib/WebGUI.pm | 21:30 |
@apeiron | Slickware, grep VERSION /data/WebGUI/lib/WebGUI.pm | 21:30 |
Slickware | WebGUI Build Version: 7.4.25-stable | 21:30 |
-!- monkeyiseating is now known as perlmonkey2 | 21:30 | |
+perlDreamer | Slickware, please upgrade to 7.4.26 or higher | 21:30 |
Slickware | and apparently there is another new version out. huh. | 21:30 |
+perlDreamer | " - fixed: rich text editor image uploads deleted immediately" | 21:30 |
Slickware | oh jeez | 21:31 |
+perlDreamer | there are frequent bug fixes | 21:31 |
Slickware | is there a SIMPLE way to upgrade through the WRE? | 21:31 |
Slickware | or do i have to download the tar.gz and upload with the perl scripts | 21:31 |
nuba | well, check for something with a name looking like "webguiupdate" in /data/wre/sbin | 21:32 |
+perlDreamer | http://www.webgui.org/community-wiki/upgrading | 21:32 |
nuba | and give it a bump or two | 21:32 |
Slickware | thanks | 21:32 |
+perlDreamer | nuba, was my earlier spanish anywhere on track? | 21:32 |
Slickware | i honestly never really expected to find any answers in IRC :) | 21:32 |
nuba | perlDreamer: where is it? | 21:33 |
+perlDreamer | way back, | 21:33 |
Slickware | they should log these chats and let google index them, it's a lot better than using their horrible search engine on the discussion board | 21:33 |
perlmonkey2 | I still can't believe IRC was ever anything but for hackers and programmers | 21:33 |
@preaction | Slickware, xdanger currently has logs available, but we have no search mechanism developed for it yet | 21:33 |
@apeiron | Slickware, Google's horrible search engine, or WebGUI's? | 21:33 |
@preaction | i'm tempted to see if i can get an IRSeek bot in here | 21:33 |
Slickware | i can't stand that you can't use the back button on the discussionboard search | 21:33 |
Slickware | it's really annoying to have to open posts in new tabs/windows to see if they are relevant to your search query | 21:34 |
Slickware | but that's just me complaining :) | 21:34 |
@apeiron | Slickware, If it's WebGUI's, feel free to file an RFE documenting what you'd like to see improved. | 21:34 |
+perlDreamer | Slickware: we always appreciate user feedback, but things in IRC rarely get done. | 21:34 |
+perlDreamer | Use the RFE system online to submit those | 21:34 |
Slickware | i know. i'm more just venting | 21:35 |
+perlDreamer | or, provide patches :) | 21:35 |
Slickware | the discussion feature has always been that way | 21:35 |
Slickware | i am unfortunately not a perl programmer by any means | 21:35 |
@apeiron | That doesn't mean you won't get what you want. | 21:35 |
nuba | why index/search the irclogs? isnt grep -C 10 -E 'some.regexp[0-9]*' ehough? | 21:35 |
-!- estiven [n=erestrep@static-adsl201-232-86-73.epm.net.co] has quit [Read error: 104 (Connection reset by peer)] | 21:35 | |
Slickware | haha | 21:35 |
@apeiron | nuba, What if you don't *have* the logs? :) | 21:36 |
nuba | wget'em | 21:36 |
Slickware | alright. thanks guys/girls. I'll give this stuff a shot and check back later if I fail miserably. | 21:36 |
nuba | really, i added the URL to xdanger's logs in the wiki irc page | 21:36 |
nuba | its just a matter of wget -r -l inf 'URL' and then grepping'em | 21:36 |
-!- slickwar1 [i=WebGUIUs@c-76-119-132-119.hsd1.ma.comcast.net] has joined #webgui | 21:53 | |
-!- Slickware [i=WebGUIUs@c-76-119-132-119.hsd1.ma.comcast.net] has quit [] | 21:54 | |
slickwar1 | test | 21:54 |
+perlDreamer | yo | 21:54 |
slickwar1 | just setting up IRC on GAIM | 21: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 #webgui | 22: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 #webgui | 22:07 | |
slickwar1 | you guys rock. | 22:07 |
slickwar1 | 5 minutes later, and I can upload from the richedit | 22:07 |
slickwar1 | after a week of pulling out hair :) | 22:07 |
+perlDreamer | here's a few hints for bug fixing | 22:09 |
+perlDreamer | search the bug db | 22:09 |
+perlDreamer | search the forums | 22:09 |
+perlDreamer | check the wiki | 22:09 |
+perlDreamer | read release notes for newer versions of wG | 22:09 |
slickwar1 | I did check the forums | 22:12 |
slickwar1 | I just sort of assumed, since I had JUST downloaded a new version, that upgrading couldn't possibly be my problem :) | 22:12 |
slickwar1 | I forget that webgui changes releases more than my girlfriend changes outfits | 22:13 |
+perlDreamer | here's the new release schedule: http://www.webgui.org/webgui/dev/discuss/stable-vs-beta-releases-and-demo | 22:14 |
+perlDreamer | it's open source. You have to release often. | 22:15 |
slickwar1 | I know, I know... i'm just not used to a "stable" release also being one that doesn't always work right away! | 22:16 |
-!- rizenisatlunch is now known as rizen | 22:16 | |
+perlDreamer | true | 22:16 |
@rizen | perlDreamer: it would look better if you reply on my post in tbb. that way it isn't just me saying that the wre is a good thing. | 22:18 |
+perlDreamer | I did :) | 22:18 |
+perlDreamer | I'm a little worried about coding while I'm sick, so I'm looking at test coverage for the Shop modules | 22:20 |
+perlDreamer | If a file exists, is readable by the user, is there any reason why it could not be opened as a filehandle by perl? | 22:26 |
@rizen | not that i'm aware of | 22:26 |
@rizen | i suppose if the filesystem had some sort of locking mechanism that prevented it from being opened by multiple users at the same time | 22:27 |
@rizen | NTFS has that | 22:27 |
slickwar1 | so perlDreamer, who are you guys - do you work for plainblack or are you just hardcore fans? | 22:27 |
@rizen | rizen = JT | 22:27 |
+perlDreamer | all of the Op'ed guys are PB staffers | 22:27 |
+perlDreamer | the voiced guys are volunteers who have no other life | 22:28 |
slickwar1 | aww JT you have been around since the beginning... you're my hero | 22:28 |
+perlDreamer | and the other people are volunteers and bots | 22:28 |
@preaction | perlDreamer, SELinux perhaps? | 22:28 |
@rizen | i say that the voiced guys are volunteers who contribute more than others...not that have no life | 22:28 |
+perlDreamer | it's the virii talking | 22:29 |
slickwar1 | I contributed... I finally bought the books | 22:29 |
+perlDreamer | I'm looking at the importTaxData method for Shop::Tax.pm, and wondering if I went overboard on file checking | 22:29 |
slickwar1 | my monetary contribution is far more useful than any coding I could cough up, believe me | 22:29 |
+perlDreamer | oh, I don't know | 22:30 |
+perlDreamer | do you do HTML/CSS? | 22:30 |
+perlDreamer | there are lots of ways to contribute back | 22:31 |
slickwar1 | I do, but I try not to | 22:31 |
+perlDreamer | make themes | 22:31 |
+perlDreamer | translate wG into other languages | 22:31 |
slickwar1 | haha... pig latin | 22:31 |
+perlDreamer | answer questions on the forums | 22:31 |
@preaction | before i can get to other work i need to ask: Is there any way that: package Foo; package Bar; use base 'Foo'; package main; my $class = "Bar"; $class->isa("Foo"); would return false? | 22:31 |
+perlDreamer | make useful wiki pages | 22:31 |
slickwar1 | I do try and answer forums question | 22:31 |
+perlDreamer | preaction: 1; | 22:32 |
slickwar1 | maybe I should revise the WRE installation wiki so it is accurate for Ubuntu | 22:32 |
@preaction | i'm trying to make the GalleryFile class, and have Photo inherit from that instead of Image, and in the process i'm fixing the addChild check to ensure only appropriate classes get added to Albums | 22:32 |
slickwar1 | becuase the "for ubuntu" section is blatantly wrong | 22:32 |
@preaction | but that check is failing | 22:32 |
@preaction | somehow GalleryFile::Photo which use base 'GalleryFile'; is somehow NOT a GalleryFile. | 22:32 |
@preaction | or an Asset for that matter | 22:32 |
+perlDreamer | is isa overridden anywhere in your code, or in any module that you might use? | 22:33 |
@preaction | http://webgui.pastebin.com/m40fbb032 <- anything glaringly wrong with that? | 22:33 |
@preaction | perlDreamer, not that i know of | 22:34 |
@preaction | GalleryFile exists and is syntactically correct, same with Photo | 22:34 |
+perlDreamer | $properties->className isn't an object | 22:35 |
+perlDreamer | is it? | 22:35 |
@preaction | no it should just be a string | 22:35 |
+perlDreamer | maybe I should read more about UNIVERSAL isa | 22:35 |
+perlDreamer | I thought you needed an object to do that | 22:35 |
+perlDreamer | not a hashref | 22:35 |
@preaction | no, a classname works | 22:36 |
+perlDreamer | try it as a bareword | 22:36 |
+perlDreamer | vs a var | 22:36 |
@preaction | i tried doing "WebGUI::Asset::File::GalleryFile::Photo->isa("WebGUI::Asset::File::GalleryFile"); | 22:36 |
@preaction | k | 22:36 |
@preaction | nope | 22:37 |
@preaction | 163 print "OKAY!!\n" if WebGUI::Asset::File::GalleryFile::Photo->isa( $fileClass ); <- fails | 22:37 |
@preaction | ha. | 22:38 |
@preaction | it wasn't loaded | 22:38 |
+perlDreamer | use base doesn't load it? | 22:38 |
@preaction | i did a use <whatever> in my test | 22:39 |
@preaction | no, the class itself wasn't loaded | 22:39 |
+perlDreamer | oh | 22:39 |
@preaction | and ->isa() returned false because Perl didn't know what it was | 22:39 |
@preaction | which means that all overridden addChild probably needs to use WebGUI::Pluggable::load | 22:39 |
@preaction | kinda weird that isa didn't even pop a warning about it... | 22:41 |
@preaction | oh well, i can now close all the Gallery bugs on the public buglist. | 22:42 |
+perlDreamer | cool | 22:42 |
@preaction | yours had to be the hardest, didn't it? | 22:43 |
@preaction | but now MrHairgrease has his GalleryFile class so he can make GalleryFile::Video | 22:43 |
+perlDreamer | sorry, man | 22:43 |
@preaction | hum... discussion: which is more important? Purity of form (user interface) or purity of essence (code design) | 22:45 |
@preaction | i know times where i've had to sacrifice one for the other, usually sacrificing code for user interface, and i've always hated it (and usually the result) | 22:46 |
+perlDreamer | what's awfully wide-open, how about a specific example? | 22:48 |
+perlDreamer | rizen: since Tax->calculate can return 0 as a valid value, I'd like to remove the return 0 and just let the exception propagate out. Sound okay? | 22:50 |
@rizen | what are we talking about? | 22:51 |
@rizen | is this in reference to the change i made? | 22:51 |
+perlDreamer | yeah | 22:51 |
@rizen | i don't understand why that would be better | 22:52 |
lisette | how to obtains a email from a user of webgui? | 22:52 |
+perlDreamer | you can't look at the return value of calculate and see if there was a problem. | 22:52 |
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit [Remote closed the connection] | 22:52 | |
@rizen | there isn't a problem if it returns 0 | 22:52 |
+perlDreamer | since 0 is a valid amount of tax | 22:52 |
+MrHairgrease | pd: have it return a negative amount of tax | 22:53 |
+MrHairgrease | you know that's wrong b/c i have never seen the tax hyena's give anything back =) | 22:53 |
@rizen | it returns 0 when there is no shipping address defined, that's because you can't have any tax without a shipping address | 22:53 |
@rizen | there's nothing wrong with 0 in that case | 22:53 |
@rizen | and there's nothing wrong with the tax system either that should throw an exception | 22:53 |
+perlDreamer | the exception would be thrown by Address and propagate back to the caller of calculate | 22:54 |
@rizen | i think exceptions should only ever be thrown to indicate something is wrong, or something happened that you don't expect | 22:54 |
* slickwar1 is out. thanks everyone | 22:54 | |
+perlDreamer | but since 0 is okay, it's moot | 22:54 |
-!- slickwar1 [i=WebGUIUs@c-76-119-132-119.hsd1.ma.comcast.net] has quit ["Leaving."] | 22:54 | |
@rizen | now, if we made it past that check | 22:54 |
@rizen | and address still throws an exception | 22:54 |
@rizen | then it should propogate up | 22:55 |
@rizen | i think by throwing the exception where i made the change, you're actually potentially masking other real problems | 22:55 |
+perlDreamer | I don't think return 0 should be replaced with an explicit expression, I think we should let $book->getAddress throw the exception for us | 22:56 |
@rizen | i know that's what you're saying...and i think that then indicates a problem where there is none | 22:56 |
-!- wgGuest74 [n=wgGuest7@static-adsl201-232-86-73.epm.net.co] has joined #webgui | 22:56 | |
@rizen | it's perfectly valid to call $tax->calculate() with no address assigned | 22:57 |
@rizen | there's no reason it should throw an exception on something that it's valid to do | 22:57 |
@rizen | that is, unless you're saying it shouldn't be valid to call calculate when no address is assigned | 22:59 |
+perlDreamer | could they proceed to checkout without a shipping address? If not, then 0 is cool with me. | 23:00 |
@rizen | no | 23:00 |
@rizen | the system prevents that | 23:00 |
+perlDreamer | then 0 is cool with me | 23:00 |
+perlDreamer | I'll build a test for the return 0 case | 23:01 |
@rizen | because the "Choose Shipping Address" button is displayed in place of "Checkout" when they haven't chosen one. | 23:01 |
@rizen | btw...i'm thinking about getting rid of the checkout button | 23:01 |
@rizen | i'm thinking about putting the various payment buttons right on the cart screen | 23:02 |
@rizen | so we can skip a step | 23:02 |
@rizen | is that a bad idea? | 23:02 |
+perlDreamer | that's cool. That way they don't have to choose a payment option and then checkout | 23:02 |
+perlDreamer | instead of 1-click checkout, it's 1-click payment | 23:02 |
@rizen | my only concern is what if someone has 15 different payment options enabled | 23:02 |
@rizen | Check, Cash, PO, PayPal, Karma, Google Check Out, 2Checkout, Credit Card | 23:03 |
@rizen | etc | 23:03 |
wgGuest74 | hello | 23:03 |
@rizen | i realize it's unlikely..but it could make the cart screen ugly | 23:03 |
+perlDreamer | maybe a dropdown instead of buttons if there are more then 3? or use the top 3, and a drop-down for the rest? | 23:04 |
+perlDreamer | I hate UI design | 23:04 |
+perlDreamer | wgGuest74: howdy. Do you have a question? | 23:05 |
wgGuest74 | last week i asked about a dinamic select box in a data form, the thing is that i have a selected box that its posibles values are dinamic | 23:05 |
wgGuest74 | if i create a new control can i solve the problem? | 23:06 |
+perlDreamer | dynamic, like the user can provide more options? | 23:06 |
wgGuest74 | the options are stored in a database and they are created by the user | 23:07 |
wgGuest74 | yes, the user can provide more options | 23:08 |
+perlDreamer | that's what you want it to do, but you're finding that it doesn't do that right now. Correct? | 23:08 |
wgGuest74 | yes | 23:08 |
+perlDreamer | there is a combo box, which combines a select box with a text entry form, but the application has to take care of adding new entries into some database. | 23:10 |
+perlDreamer | it should not need a new form control | 23:10 |
+perlDreamer | you would need to further customize the DataForm to handle that new function | 23:12 |
wgGuest74 | for example the user first add in a table called areas, the name of the areas | 23:12 |
wgGuest74 | and in other screen when the user try to add the subject, he should see the name of the areas in a select box to add the subjects | 23:13 |
wgGuest74 | in the subject table will have a field that store the area's id | 23:14 |
+perlDreamer | in the dataform, there are only 2-3 screens for the user | 23:15 |
+perlDreamer | add an entry | 23:15 |
+perlDreamer | view all entries | 23:15 |
+perlDreamer | view one entry | 23:15 |
+perlDreamer | export some data | 23:15 |
+perlDreamer | okay, 4 screens | 23:15 |
+perlDreamer | no screens where the user can update a field, and then change it in another | 23:16 |
+perlDreamer | That sounds more like a SQL form type of application | 23:16 |
+perlDreamer | but that's a guess | 23:16 |
wgGuest74 | but the sql form doesn't have the select box | 23:17 |
+perlDreamer | it sounds like wG does not have what you want out of the box. So then it would be up to you how you would like to add it. | 23:17 |
+perlDreamer | the new Thingy application may do that, but it won't be out before April/May (as scheduled) | 23:18 |
wgGuest74 | the thing that i did was to create a dataform to add areas and i modified it to stored the entries in my own tables | 23:18 |
wgGuest74 | and then i created another dataform to create subjects | 23:18 |
wgGuest74 | the thing that i need is the possibility to put the posibles values in a selected box obtaining the values from a table | 23:19 |
+perlDreamer | If I remember correctly, the DataForm will evaluate macros in several of its form fields | 23:24 |
+perlDreamer | How about using a SQL Macro to populate the possible values field of the select box? | 23:25 |
wgGuest74 | yes, i tried with a macro but the it returns a string | 23:26 |
wgGuest74 | all tha values appear in the same line | 23:26 |
wgGuest74 | what features will have the thingy application? | 23:26 |
+perlDreamer | it's basically a lite version of MS Access | 23:27 |
+perlDreamer | for the same line, you may need to use a different template, but again, I'm guessing | 23:27 |
wgGuest74 | perlDreamer, when i go to the sql form i always see first, the search template, can i modify it to see first the default sql form edit | 23:33 |
+perlDreamer | I don't know. If you could, it would be in the Asset's edit screen, probably under display. | 23:35 |
wgGuest74 | yes? | 23:36 |
+perlDreamer | no. The default view is either a normal search screen, or an advanced search screen. | 23:37 |
+perlDreamer | for multiline macro output from ^SQL, use \n in the template | 23:38 |
wgGuest74 | ok | 23:39 |
wgGuest74 | i am going to try | 23:39 |
wgGuest74 | can i change in the sql form the default view, i want that the default view will be add a entry | 23:41 |
+perlDreamer | no | 23:42 |
wgGuest74 | ok | 23:42 |
wgGuest74 | so, i am going to try the macro | 23:43 |
wgGuest74 | if a change the code of the data form wobject, can i report you the changes to be incluided in the core? | 23:44 |
+perlDreamer | You should submit it as an RFE. JT will evaluate it to see if it can be added to the core. Then it would need to wait for a developer to add it. | 23:45 |
-!- estive1 [n=estiven@static-adsl201-232-86-73.epm.net.co] has joined #webgui | 23:48 | |
wgGuest74 | we have decided to put all of our sites, applications and projects around webgui, we want to contribute for webgui's project | 23:48 |
+perlDreamer | That's awesome! | 23:48 |
@rizen | wgGuest74 i'm sorry to report that DataForm will not be in the core going foward | 23:49 |
@rizen | you'll still be able to use it on your sites, but it won't be part of the core | 23:49 |
CIA-52 | WebGUI: colin * r5721 /branch/WebGUI_Commerce/t/Macro/SQL.t: Functional test for multiline output. | 23:49 |
CIA-52 | WebGUI: colin * r5722 /branch/WebGUI_Commerce/t/ (3 files in 2 dirs): | 23:49 |
CIA-52 | WebGUI: Add coverage tests for more bad CSV file handling, | 23:49 |
CIA-52 | WebGUI: and two files to exercise the header checks in importTaxData | 23:49 |
CIA-52 | WebGUI: colin * r5723 /branch/WebGUI_7.4/t/Macro/SQL.t: backport new SQL.pm macro test for multiline output | 23:49 |
@rizen | instead it will be replaced by two other assets: Thingy for building data entry applications, and Mail Form for building email forms | 23:50 |
wgGuest74 | are there some rules that are neccesary to have to contribute in the project? | 23:51 |
+perlDreamer | http://www.webgui.org/community-wiki/getting-started-in-the-webgui-community | 23:52 |
+perlDreamer | see the Core developers entry in that wiki page | 23:52 |
wgGuest74 | ok | 23:52 |
wgGuest74 | so, the data form will desappear in the future | 23:53 |
+perlDreamer | http://www.webgui.org/community-wiki/development-best-practices for how to write good core code | 23:53 |
estive1 | you can make your own patch | 23:54 |
+perlDreamer | actually, see the "Developing for WebGUI" entry on the table of contents page http://www.webgui.org/community-wiki/table-of-contents | 23:54 |
-!- SDuensin [n=Scott@229.sub-75-205-17.myvzw.com] has quit ["Leaving"] | 23:54 | |
+perlDreamer | and estive1 is right. You can always maintain your own patch for locally customizing WebGUI | 23:56 |
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."] | 23:57 | |
wgGuest74 | ok | 23:57 |
wgGuest74 | thanks for all your advices | 23:57 |
@rizen | We will be releasing the data form into the user contributions section of the site in case someone | 23:57 |
@rizen | would like to start maintaining it | 23:57 |
@rizen | After all there will be thousands of people out there with data forms on their sites. | 23:58 |
wgGuest74 | claro | 23:58 |
wgGuest74 | yes, we want to be part of webgui | 23:59 |
--- Day changed Thu Mar 06 2008 | ||
estive1 | http://www.webgui.org/community-wiki/how-to-add-a-feature-to-webgui-core | 00:01 |
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui | 00:01 | |
perlmonkey2 | rizen: I've written probably 20 different custom one off surveys and your survey system seems very well designed. How come you think so badly of it? | 00:05 |
@rizen | i think that the survey works pretty well, i just think the code behind it is absolute crap | 00:06 |
@rizen | =) | 00:06 |
perlmonkey2 | Hah | 00:06 |
@rizen | it's one of the oldest (hasn't been revamped) assets in the system | 00:06 |
perlmonkey2 | I 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 |
perlmonkey2 | What this would do is in the text of Q2, Section 1 Question 1's submitted answer would be replaced with that tag | 00:08 |
perlmonkey2 | <S1Q1R> would put the recorded value instead of the submitted. | 00:08 |
perlmonkey2 | But is that a good way to do this? | 00:08 |
perlmonkey2 | S1Q1. What is your favorite color. S1Q1. Why is <S1Q1S> your favorite color? | 00:09 |
@rizen | oh i see what you're saying | 00:09 |
perlmonkey2 | whups, that second S1Q1 should be S1Q2. | 00:09 |
@rizen | well i don't think it's a good idea to use S1Q2 because those are relative | 00:10 |
@rizen | if they reorder the survey then it won't make sense | 00:10 |
perlmonkey2 | oh | 00:10 |
perlmonkey2 | good point. | 00:10 |
@rizen | you'd have to use the asset id of some sort | 00:10 |
@rizen | but i think that a better way to do it from a user interface point of view is | 00:11 |
@rizen | have them put in a %s | 00:11 |
@rizen | and then have a drop down to pull the answer from a list of the questions | 00:11 |
@rizen | so that you can tie a question's guid directly to it | 00:11 |
@rizen | Why is %s your favorite color? | 00:11 |
@rizen | and then use sprintf to put it in there | 00:11 |
perlmonkey2 | Okay, I like that. | 00:12 |
@rizen | wow that's going to be a pretty powerful feature | 00:12 |
perlmonkey2 | Yeah, the people at work had a lot of them. | 00:12 |
perlmonkey2 | Good ideas, that is. | 00:12 |
perlmonkey2 | rizen: So how about the dialog defaults to one dropdown for variable replacement. then an onblur on the text that counts %s and if there is more than 2 but less than 6, add that number of new drop downs? | 00:16 |
@rizen | sounds reasonable to me. so you're going to allow for follow up questions that combine the answers from multiple previous posts? | 00:19 |
@rizen | s/posts/responses/ | 00:19 |
CIA-52 | WebGUI: colin * r5724 /WebGUI/t/Macro/SQL.t: sideport new SQL.pm macro test for multiline output | 00:20 |
wgGuest74 | excuseme perlDreamer, when you said me for multiline macro output from ^SQL, use \n in the template | 00:21 |
wgGuest74 | is to use my own macro or to use the SQL Macro | 00:21 |
-!- estive1 [n=estiven@static-adsl201-232-86-73.epm.net.co] has left #webgui [] | 00:22 | |
+perlDreamer | use the ^SQL macro, but in the template, give it a newline "^1;\n" | 00:22 |
wgGuest74 | ok | 00:23 |
-!- estiven [n=estiven@static-adsl201-232-86-73.epm.net.co] has joined #webgui | 00:26 | |
perlmonkey2 | rizen: unless you see a reason not to? | 00:26 |
@rizen | nope, that's just super powerful | 00:26 |
@rizen | gotta be careful not to confuse your average survey admin | 00:27 |
perlmonkey2 | I'm not sure how to use the SQL.pm to bring back more than 2 columns. Is there a module with an example? | 00:27 |
perlmonkey2 | Hopefully they won't be confused because they shouldn't see the extra drop downs unless they add more than 1 %s | 00:27 |
perlmonkey2 | nm, I found an exmaple | 00:28 |
perlmonkey2 | oh, it works like you'd think it would. The pod info said something about more than two columns being concat'd with a ":" that confused me. | 00:30 |
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui | 00:39 | |
+perlDreamer | perlmonkey2: do we need a pod patch for that? | 00:40 |
perlmonkey2 | I don't know....In all probability I just didn't understand the docs. | 00:40 |
+perlDreamer | which method? | 00:40 |
perlmonkey2 | buildArrayRef* | 00:41 |
perlmonkey2 | any of them | 00:41 |
perlmonkey2 | If the query selects more than two columns, then the last column will be the value and the remaining columns will be joined together by a colon ":" to form a complex key. | 00:41 |
perlmonkey2 | From buildArrayRefOfHashRefs | 00:41 |
+perlDreamer | yeah, that's what it does. It's correct | 00:42 |
+perlDreamer | I wonder if that's tested... | 00:42 |
perlmonkey2 | but you really get [{k1,v1},{k2,v2}...} | 00:43 |
perlmonkey2 | er close with ] | 00:43 |
perlmonkey2 | if you have columns k1,k2,k3 you get back [{k1,v1,k2,v2,k3,v3},...] | 00:44 |
perlmonkey2 | I don't undestnad where the concat comes in? | 00:44 |
+perlDreamer | me either | 00:44 |
+perlDreamer | it looks like copy/paste bug from buildHash, buildHashRef | 00:44 |
perlmonkey2 | not sure why buildHash does that though | 00:45 |
@rizen | because you can't have multiple keys | 00:46 |
@rizen | so it generates a composite key | 00:46 |
@rizen | select userId,groupId, groupName from sometable | 00:46 |
@rizen | makes $hash{userId-groupId} = "group name"; | 00:47 |
@rizen | get it? | 00:47 |
perlmonkey2 | Okay, yeah, that makes sense now. | 00:47 |
perlmonkey2 | I can see how that would be a very useful method to have. | 00:47 |
@rizen | WebGUI::SQL is built from years of love | 00:48 |
@rizen | there's lots of great utility methods in there to do crazy stuff in one line of code | 00:48 |
perlmonkey2 | I like it :) | 00:48 |
perlmonkey2 | in the db, what is the preferred way of doing booleans? | 00:50 |
perlmonkey2 | a mysql bool type? | 00:50 |
+perlDreamer | usually we use ints with 0 and 1 | 00:50 |
perlmonkey2 | perlDreamer: But you are totally wasting 7 bits of space! | 00:51 |
perlmonkey2 | :P | 00:51 |
* perlDreamer passes perlmonkey2 254 values | 00:51 | |
@rizen | you can use tinyint | 00:52 |
@rizen | hehe | 00:52 |
@rizen | i honestly didn't even know that mysql had a bool type | 00:52 |
perlmonkey2 | I have no idea what mysql's internals are for boolean...probably tinyint :P | 00:52 |
@rizen | does it return 1/0 or true/false? | 00:53 |
perlmonkey2 | j/s I'll test | 00:53 |
perlmonkey2 | select true returns 1 | 00:53 |
+perlDreamer | how 'bout select false? | 00:54 |
perlmonkey2 | 0 | 00:54 |
@rizen | it's a 0 | 00:54 |
@rizen | nice | 00:54 |
@rizen | we should start using that | 00:54 |
perlmonkey2 | looks like it is a bit | 00:54 |
perlmonkey2 | but a signed bit | 00:55 |
perlmonkey2 | so two bits? | 00:55 |
perlmonkey2 | that is just guessing because mysql-admin gives the option of setting it unsigned | 00:55 |
+perlDreamer | that's 6 bits savings / row | 00:55 |
+perlDreamer | it bet it uses int(2) internally | 00:56 |
perlmonkey2 | well if you want to start using it for all my bool columsn :) | 00:56 |
perlmonkey2 | I mean "I'll start using it for ..." | 00:56 |
@rizen | i just switched all the create scripts for the new commerce system to use bool | 00:57 |
@rizen | and the yesNo form control | 00:58 |
perlmonkey2 | that was fast. | 00:58 |
@rizen | that's what my wife says | 00:58 |
perlmonkey2 | DOH :O | 00:59 |
@rizen | =) | 00:59 |
perlmonkey2 | looks like it is a TINYINT(1) internally | 00:59 |
@rizen | i was going to say it about MrHairgreases girlfriend but i wasn't sure if he's here or not | 00:59 |
perlmonkey2 | hah | 00: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 | |
@rizen | nooooooOoooooOOOOOooooooo! | 01:13 |
@rizen | you must finish the survey and dethrone the reigning webgui community tyrant known as perlDreamer | 01:14 |
perlmonkey2 | Hah, perlDreamer can probably get his bits and bolts right | 01:14 |
@rizen | he has a bunch of runaway processes today | 01:15 |
@rizen | he almost sig hupped himself | 01:15 |
perlmonkey2 | Although the farther I get into this version of the survey system the more excited I get. As long as I can keep ajax calls sub 500ms+latency I think it will be very fun to use. | 01:15 |
perlmonkey2 | wow, that is serious when you are ready to do that. | 01:16 |
* MrHairgrease is about to sig hup | 01:18 | |
+MrHairgrease | later | 01:18 |
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has left #webgui [] | 01:18 | |
-!- perlDreamer is now known as perlTyrant | 01:19 | |
+perlTyrant | much better :) | 01:19 |
@rizen | indeed | 01:19 |
+perlTyrant | rizen: Tim drew a picture of you. Would you like to see it? | 01:20 |
@rizen | pd in 10 minutes or so i should have the shipping address chooser complete | 01:20 |
@rizen | sure | 01:20 |
@rizen | are you emailing it to me? | 01:24 |
+perlTyrant | yup | 01:25 |
+perlTyrant | it's a whiteboard drawing | 01:25 |
+perlTyrant | I think he's captured the inner you | 01:25 |
@rizen | well at least it's not the outer me...that would have set the whiteboard on fire | 01:26 |
+perlTyrant | we would have needed a taller whiteboard | 01:27 |
+perlTyrant | big smile, flared nostrils, beard. That's gotta be JT | 01:27 |
+perlTyrant | did you get it? | 01:28 |
@rizen | not yet | 01:29 |
@rizen | spoke too soon, there it comes | 01:30 |
-!- perlTyrant is now known as perlDreamer | 01:30 | |
CIA-52 | WebGUI: doug * r5725 /WebGUI/ (28 files in 12 dirs): | 01:31 |
CIA-52 | WebGUI: Added WebGUI::Asset::File::GalleryFile | 01:31 |
CIA-52 | WebGUI: Changed Photo to subclass WebGUI::Asset::File::GalleryFile | 01:31 |
+perlDreamer | what do you think? | 01:32 |
+perlDreamer | considering he hasn't seen a picture of you in 5 months, it's not too bad | 01:32 |
@rizen | wow that looks exactly like me | 01:34 |
+perlDreamer | I'll tell Tim. | 01:35 |
@rizen | i'm going to have to put that up as my picture on my bio page | 01:35 |
@rizen | =) | 01:35 |
@rizen | unfortunately my pr folks would never let me get away way that | 01:35 |
+perlDreamer | just flash them that winning smile and they'll concede | 01:36 |
+perlDreamer | so far, we have 232 tests for Shop modules | 01:36 |
nuba | theres a list of imagebins at the wiki irc page | 01:36 |
@rizen | wow | 01:36 |
@rizen | 232, i must have only written about 3 of those | 01:36 |
+perlDreamer | not | 01:37 |
+perlDreamer | more like 40 | 01:39 |
@rizen | why do things never work exactly how i plan them to work | 01:40 |
+perlDreamer | it's a governmental conspiracy | 01:41 |
+perlDreamer | When you made Campaign Secrets, it demonstrated an unusual insight into contemporary american politics | 01:41 |
@rizen | hehe | 01:42 |
+perlDreamer | which means that you could reveal things they hide from the public | 01:42 |
+perlDreamer | that's why they hired me to infiltrate your world and disrupt it | 01:42 |
+perlDreamer | think now of all the time you spend on IRC, and testing | 01:42 |
+perlDreamer | you think all those leaks are accidents? | 01:43 |
+perlDreamer | now you're so busy you can't use your knowledge to interfere with their control of american culture | 01:43 |
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI | 01:45 | |
@rizen | you make very good points | 01:49 |
@rizen | but i think that you might also be a government conspiracy...cuz all this time i talk to you i could be spending time doing something to improve webgui | 01:49 |
CIA-52 | WebGUI: 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 #webgui | 01:52 | |
@rizen | pd, do you remember the empty list problem | 01:57 |
@rizen | for hashes | 01:57 |
+perlDreamer | yes | 01:58 |
@rizen | its back | 01:58 |
@rizen | or rather i found another place where it occurs | 01:58 |
+perlDreamer | where? | 01:58 |
@rizen | forms | 01:58 |
@rizen | $session->form->get("somefield"); | 01:58 |
@rizen | if you put that directly into a hash, and the parameter doesn't exist | 01:59 |
@rizen | you'll get the problem | 01:59 |
+perlDreamer | that's because of context, and wantarray, I think | 01:59 |
+perlDreamer | => is list context | 01:59 |
@rizen | ah | 01:59 |
@rizen | well shit | 02:00 |
+perlDreamer | so if it isn't there, it returns () | 02:00 |
@apeiron | er? => is a fancy comma that quotes its lefthand side. :) | 02:00 |
@rizen | so basically there's no way to fix it for forms then? | 02:01 |
+perlDreamer | not without changing the API for the form interface | 02:02 |
+perlDreamer | or, you can't use listy hash assignments and have to do it 1 by 1 | 02:02 |
+perlDreamer | apeiron: exactly, but it's list context, not scalar context | 02:03 |
@rizen | preaction, or anyone here that knows css | 02:14 |
@rizen | how do i make a <form> that doesn't add a break after it | 02:14 |
@rizen | i thought it was display:inline but apparently not | 02:14 |
-!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui | 02:14 | |
-!- mode/#webgui [+v Radix-wrk] by ChanServ | 02:14 | |
@preaction | it shouldn't be the form | 02:14 |
@preaction | or is it just in IE6? | 02:14 |
@rizen | forms automatically add 2 carriage returns after them in all browsers | 02:15 |
@preaction | form doesn't really have any display itself, but things inside it can | 02:15 |
@rizen | i'm telling you that it does | 02:15 |
@preaction | perhaps * { margin: 0; padding: 0; } | 02:15 |
@rizen | ok | 02:15 |
@preaction | or form { margin: 0; padding: 0; } to restrict it to just forms | 02:15 |
@rizen | wait, does the * have any significance? | 02:15 |
@preaction | yes | 02:15 |
@preaction | * means all elements | 02:15 |
@rizen | what is that? | 02:15 |
@rizen | oh i don't want it on all | 02:15 |
@preaction | so form { ... } instead | 02:16 |
@rizen | that didn't do it either | 02:16 |
@rizen | and actually...it can't be that come to think of it | 02:16 |
@rizen | if you do <form>somecrap</form> | 02:17 |
@rizen | and then do it again | 02:17 |
@rizen | you'll see that they sit on top of each other | 02:17 |
@rizen | not side by side | 02:17 |
@rizen | so this has to have something with being displayed block level | 02:17 |
@preaction | you want them side-by-side? | 02:17 |
@preaction | float: left; might work | 02:17 |
@preaction | but it could have unintended side-effects | 02:17 |
@rizen | but i don't want them to float | 02:17 |
@rizen | exactly | 02:18 |
@rizen | i just want them to work like <span> tags | 02:18 |
@rizen | rather than <div> tags | 02:18 |
@preaction | do you have a URL or a paste I can see the contents? | 02:18 |
@rizen | and i thought that was what display:inline vs display:block was all about | 02:18 |
@rizen | i just did: <form>somecrap</form><form>some crap</form> | 02:18 |
@rizen | each of these forms will have only one element in it. a button | 02:20 |
@rizen | so i want the buttons to sit side by side | 02:20 |
@rizen | granted i could do it with some javascript and use the same form | 02:20 |
@rizen | but i don't want to | 02:20 |
@rizen | so there has to be a way to do this | 02:20 |
@rizen | damn it | 02:21 |
@rizen | display:inline does work if i put it right into the form | 02:21 |
@rizen | it just doesn't work when i do: div.addressBlock form { display: inline; } | 02:21 |
@rizen | in a style sheet | 02:22 |
@preaction | is there something more specific that's overriding it? perhaps something like #id form { ... } | 02:22 |
@rizen | nope, no id on the form | 02:23 |
@preaction | firebug would show you all the selectors that affect the element, and which ones are actually working | 02:23 |
@rizen | http://webgui.pastebin.com/d7e3fbf14 | 02:23 |
@rizen | if you want to see all the code | 02:23 |
CIA-52 | WebGUI: colin * r5727 /branch/WebGUI_Commerce/t/Shop/AddressBook.t: coverage tests for AddressBook update | 02:25 |
@rizen | got it | 02:25 |
@rizen | turns out that WebGUI::Form::formHeader puts a div inside the <form> so even though the form was inline the div wasn't | 02:26 |
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit [Remote closed the connection] | 02:26 | |
@rizen | WAHOOOOOOOO!!!!!! | 02:32 |
@rizen | the address book is working | 02:32 |
@preaction | wahooooo!!!11 | 02:33 |
@preaction | seriously, you guys are going to have this in 7.5? does that make 7.5 the new 8.0? | 02:33 |
@preaction | what is 7.5 NOT going to have? it's gonna be huge | 02:33 |
@rizen | we've never had a 6 month dev cycle before | 02:33 |
@preaction | true | 02:34 |
* apeiron gets to work on wG::KitchenSink. | 02:34 | |
@rizen | that makes each release that much cooler | 02:34 |
@rizen | yes, this will be done in 7.5 | 02:34 |
@rizen | and thingy should be done in a couple weeks too | 02:34 |
+perlDreamer | I hate art | 02:34 |
@rizen | which reminds me, someone needs to write a mailform asset | 02:34 |
@rizen | why? | 02:35 |
+perlDreamer | because there are no rules at all for art | 02:35 |
@rizen | true | 02:35 |
+perlDreamer | much of it is impression and connotation, and semiotics | 02:35 |
@preaction | there are guidelines | 02:35 |
@rizen | pd you have to check out the new address book thing | 02:35 |
@rizen | it works so damn well it's ridiculous | 02:35 |
+perlDreamer | svn update? | 02:35 |
@rizen | yup | 02:36 |
+perlDreamer | how do I access it? | 02:39 |
+perlDreamer | is there a button to it, or just by op? | 02:39 |
@rizen | ?shop=cart | 02:41 |
@rizen | then click on the shipping address | 02:41 |
@rizen | you'll need to reset dev | 02:43 |
@rizen | cuz i added templates and stuff | 02:43 |
+perlDreamer | I noticed the upgrade change, and did | 02:43 |
+perlDreamer | It looks good! | 02:43 |
@rizen | i haven't tried adding some tax info to the tax table and see if it calculates and displays correctly yet | 02:44 |
+perlDreamer | maybe I should start working on the Tax UI | 02:45 |
+perlDreamer | at least import | 02:45 |
+perlDreamer | oh, I was going to ask you. | 02:45 |
+perlDreamer | The old commerce tax form used ajax. Do you want the new one to? | 02:45 |
@rizen | just did, and it works | 02:46 |
@rizen | sure | 02:46 |
@rizen | make it as cool as you like | 02:46 |
@rizen | in fact, i was thinking maybe we should use yui's coolio data table thing | 02:46 |
@rizen | http://developer.yahoo.com/yui/datatable/ | 02:47 |
CIA-52 | WebGUI: jt * r5728 /branch/WebGUI_Commerce/ (7 files in 5 dirs): | 02:47 |
CIA-52 | WebGUI: address book works | 02:47 |
CIA-52 | WebGUI: yesno uses bool now instead of int | 02:47 |
+perlDreamer | eek, it's huge! | 02:48 |
-!- perlDreamer is now known as jsPhobic | 02:48 | |
* jsPhobic will think about it while showering | 02:48 | |
@rizen | one thing i still have to do is if you select United States as your country, then you need to have a drop down list of states rather than typing it in | 02:49 |
@rizen | otherwise it will never match the tax algorithm | 02: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 #webgui | 03: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 #webgui | 03:12 | |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 03:12 | |
+perlDreamer | stupid suspend mode | 03:12 |
+perlDreamer | will that dropdown extend to all countries? | 03:13 |
+perlDreamer | Sounds like a lot of data. | 03:13 |
+perlDreamer | but it makes the Tax a lot easier | 03:15 |
+perlDreamer | since you don't have to worry about matching Wisconsin, WI, Wi, wi and so on | 03:15 |
-!- perlDreamer is now known as perlDinner | 03:16 | |
@rizen | i don't know how it will work | 03:18 |
@rizen | i guess maybe we need a "State" manager or something | 03:18 |
@rizen | cuz where else would we get all the states and provinces in all the countries of the world? | 03:19 |
@rizen | either that or maybe in the tax code we should allow for Wisconsin|WI and then make it a case insensitive match | 03:19 |
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui | 03: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-wrk | As long as you don't assume WA is always Washington (it's also Western Australia) - I'm happy. | 04:32 |
@rizen | radix, it's ok | 04:38 |
@rizen | we already have something in there that says if you're from oz charge 200% tax | 04:38 |
+Radix-wrk | awesome | 04:40 |
+Radix-wrk | long as I collect that tax, I'm happy with that ;) | 04:40 |
@rizen | actually the more i think about it the more i realize that we're going to have to rework tax to be hierarchical | 04: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 #webgui | 05:13 | |
-!- mode/#webgui [+o preaction] by ChanServ | 05:13 | |
perlmonkey2 | anyone awake? | 05:51 |
+perlDinner | yup | 05:51 |
perlmonkey2 | The Survey currently uses a Survey_id as the foreign key to tie all the tables together. Any reason I couldn't just use the Survey's assetId? | 05:52 |
+perlDinner | I think rizen answered that question earlier | 05:53 |
perlmonkey2 | The Survey_id is a newly generated id, but it is also a unique identifier of the survey. So the assetId should serve the same puprose. | 05:53 |
perlmonkey2 | yeah | 05:53 |
+perlDinner | Something along the lines of it not being one of his best ideas | 05:53 |
+perlDinner | so use the AssetId | 05:53 |
+perlDinner | btw, payback time is coming | 05:53 |
perlmonkey2 | this is what I get for sitting down to hammer out some code right before I pass out from lack of sleep. | 05:53 |
-!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: perlbot, CIA-52, nuba, @apeiron | 05:54 | |
+perlDinner | rizen wants me to use JS for the tax management screens, so _you_ will be the master :) | 05:54 |
-!- Netsplit over, joins: @apeiron, CIA-52, perlbot, nuba | 05:54 | |
perlmonkey2 | hah | 05:54 |
perlmonkey2 | I doubt you'll need my help. JS doesn't really offer much challenge to a good perl dev, and the YUI is super easy and well documented. You'll be beyond me in hours. | 05:55 |
perlmonkey2 | But it sure is fun to use. | 05:55 |
+perlDinner | well, you see | 05:56 |
+perlDinner | I've tried before, and it's been very, very bad | 05:56 |
perlmonkey2 | No worries, I feel like I've taken a lot more than I've given here, so I'm eager to help out in any way I can. | 05:58 |
@preaction | JS requires a different way of thinking | 05:58 |
@preaction | it's all event-driven, user interface jibjag | 05:58 |
+perlDinner | that's part of the problem | 05:58 |
+perlDinner | I think Unix/perly | 05:58 |
@preaction | hard to get a clear, a-to-z, start-to-finish in it | 05:59 |
perlmonkey2 | The biggest hurdle for me is the hard line between data objects and dom objects. You work with them in entirely different way; the dom being this *thing* that gets in the way of what you're trying to do. You try to tie data to the dom, but it just gets ugly in a hurry. | 06:00 |
@preaction | yeah. i usually make at least three methods just to manipulate the DOM portions I need | 06:01 |
@preaction | the YUI DataTable is probably useful and would save me time most likely | 06:02 |
perlmonkey2 | Yeah the datatable is just down righ tsexy. | 06:11 |
perlmonkey2 | Powerful stuff there. | 06:11 |
-!- perlDinner is now known as screwedDreamer | 06:12 | |
perlmonkey2 | screwedDreamer: You feeling worse I guess? | 06:13 |
+screwedDreamer | between the virus and the JS, yeah | 06:14 |
+screwedDreamer | I'm probably just psyching myself out | 06:14 |
@apeiron | Can I throw in a side dish of "I hate JS"? | 06:14 |
@apeiron | (not just to fit in, I promise) | 06:15 |
+screwedDreamer | It's a potluck, bring what you will | 06:15 |
@apeiron | I have a side of "I hate JS" and some really well-done scrapple. | 06:15 |
+screwedDreamer | there was a time when there was a perl plugin for Netscape | 06:15 |
perlmonkey2 | Parrot holds that promise for the future. | 06:15 |
@apeiron | And now Netscape is EOL. | 06:15 |
+screwedDreamer | as long as IE holds out for JS, I don't think parrot has a chance on the browser | 06:16 |
@apeiron | I thought pugs or parrot was targetting JS as an execution backend. | 06:16 |
+screwedDreamer | sure | 06:16 |
+screwedDreamer | but how would you get IE to buy into distributing the parrot plugin by default? | 06:16 |
+screwedDreamer | or Opera? | 06:16 |
@apeiron | Which is... frankly scary, although altogether not surprising coming from the folks working on either project. | 06:17 |
@apeiron | ah, good point. | 06:17 |
@apeiron | You could do what every Flash and Java application on the entire intarwebs does, and use JS to determine whether they have the feature and send them to go get it if they don't. | 06:17 |
@apeiron | It's kind of like how Flash works in comparison to IE releases. In between every IE release there's several Flash releases. I think I just upgraded my IE in my WinXP VM (by the way, running my Windows Boot Camp installation in VMWare is absolutely amazingly cool) and it came with Flash 6. | 06:19 |
@apeiron | My Mac has Flash 9. | 06:19 |
@apeiron | Upgraded the IE to 7, that is. | 06:20 |
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui | 06:21 | |
-!- mode/#webgui [+o rizen] by ChanServ | 06:21 | |
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)] | 06:22 | |
perlmonkey2 | Is there a method I can overload that is called after the autogenerate form is processed? I wan to initialize a collateral table upon asset creation. | 06:23 |
+screwedDreamer | perlmonkey2: that would be editSave | 06:24 |
perlmonkey2 | screwedDreamer: Even sick, you're like a wg ninja | 06:24 |
+screwedDreamer | rizen: can you please expand on your earlier thought about tax and hierarchy? | 06:24 |
@rizen | sure, but first why are you now screwedDreamer? | 06:24 |
+screwedDreamer | sick, and have to learn JS :) | 06:25 |
@rizen | hehe | 06:25 |
@rizen | you don't have to | 06:25 |
+screwedDreamer | just whinging | 06:25 |
@rizen | it was just a suggestion to make it super cool | 06:25 |
perlmonkey2 | whinging is good for the soul. | 06:25 |
+screwedDreamer | okay, back to tax hierarchy | 06:26 |
@rizen | my thought is that tax is going to have to be a match like this: country + state + city or country + code or country + city | 06:26 |
@rizen | it can't be just city or state or postal code | 06:26 |
@rizen | it needs to be further categorized by country | 06:26 |
perlmonkey2 | hmm, so I overload editSave make the $self->SUPER::editSave(@_); call, now will $self->getId() be useful/ | 06:26 |
@rizen | so i recommend that we change the tax table to look like this: | 06:26 |
@rizen | taxId, country, state, city, code, taxRate | 06:27 |
@rizen | and then match all that are filled in on a given row | 06:27 |
@rizen | so if only code is filled in, then we match just on code...but that means it will only work for the country where the postal codes are filled in for | 06:28 |
@rizen | because postal codes might be reused around the world | 06:28 |
@rizen | but more likely it will match against | 06:28 |
@rizen | USA, WI, Madison | 06:28 |
@rizen | or USA, 53715 | 06:29 |
+screwedDreamer | so how does that work with multiple sources of taxes | 06:29 |
+screwedDreamer | WI => 5% | 06:29 |
@rizen | in addition, i think we need to do what i said earlier | 06:29 |
+screwedDreamer | Madison 0.5% | 06:29 |
@rizen | Wisconsin|WI | 06:29 |
@rizen | they'll instead need to be filled in for each thing you want to match all tallied | 06:29 |
@rizen | USA, WI, Madison => 5.5% | 06:30 |
@rizen | so it won't work the way i originally wanted | 06:30 |
+screwedDreamer | manually summed versus automatically summed | 06:30 |
@rizen | but this new way is far more workable worldwide | 06:30 |
@rizen | right | 06:30 |
+screwedDreamer | could we put in wildcards into the don't care fields? | 06:30 |
@rizen | because as Radix pointed out, both US and Oz have states called WA | 06:30 |
+screwedDreamer | USA, Wi => 5% | 06:30 |
+screwedDreamer | USA, WI, Madison => 0.5 | 06:31 |
@rizen | blank is automatically wildcard | 06:31 |
@rizen | i suppose we could do that | 06:31 |
@rizen | that makes sense | 06:31 |
@rizen | apply all that match | 06:31 |
+screwedDreamer | I'm glad I abstracted out the getTaxRates method now :) | 06:31 |
@rizen | so i guess that will still work the same way then | 06:31 |
@rizen | but it's just a more restrictive match cuz it possibly combines country, state, city, and code | 06:32 |
@rizen | plus it enables city, which is something i really wanted to include before but couldn't make it work | 06:32 |
@rizen | since you could have a springfield in every state | 06:32 |
+screwedDreamer | okay, so we rework for flat vs tall | 06:32 |
+screwedDreamer | give me a few days | 06:33 |
@rizen | take your time, tomorrow i'm going to be working on integrating shipping and then i'm moving on to admin screens | 06:33 |
+screwedDreamer | okay, time to work on my own taxes for a bit | 06:33 |
+screwedDreamer | catch y'all tomorrow | 06:33 |
@rizen | later | 06: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 #webgui | 08: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 #webgui | 09:45 | |
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui | 09:47 | |
-!- mode/#webgui [+o preaction] by ChanServ | 09:47 | |
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui | 09:53 | |
-!- jdan [n=jdan@195.116.30.251] has joined #webgui | 10:10 | |
-!- BartJol [n=plainstu@194.171.50.123] has joined #webgui | 10: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 #WebGUI | 14: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 #webgui | 15:11 | |
-!- knowmad [n=william@97.66.185.250] has joined #webgui | 15:53 | |
knowmad | hello | 15:54 |
ckotil | good morning | 15:54 |
knowmad | morning. | 15:55 |
knowmad | are you doing bandwidth monitoring on any of your WRE servers? | 15:55 |
ckotil | I am not. | 16:17 |
ckotil | I do run ganglia on all my machines, including the web server. So i can get a pretty good idea of what's going on, including load, bandwidth, disk i/o, memory swapped, etc.. | 16:18 |
knowmad | ckotil: thanks. i'll check out ganglia. never heard of it before | 16:20 |
ckotil | its a nice app to have for spotting problematic servers. | 16:20 |
ckotil | stick around though, there may be a better solution to monitor wre bandwidth. | 16:20 |
knowmad | are you alluding to something? | 16:21 |
ckotil | yes, that it is still early and most people arent awake or watching the channel yet. | 16:21 |
+Radix_ | ganglia.. never heard of it either | 16:21 |
+Radix_ | I use munin | 16:21 |
knowmad | looks like a nice app | 16:21 |
knowmad | can munin do bandwidth monitoring? | 16:22 |
ckotil | munin creates RRD graphs as well. nice. | 16:22 |
knowmad | i think i'll throw this conversation into a message for Install | 16:22 |
knowmad | forum to catch anyone who may not be online | 16:22 |
+Radix_ | apt-get install munin :) | 16:23 |
+Radix_ | ganglia sounds a lot more comprehensive.. I dunno | 16:23 |
+Radix_ | http://neotokyo.juga.org:82/munin/juga.org/neotokyo.juga.org.html | 16:24 |
+Radix_ | that work for you guys? | 16:24 |
ckotil | wow, that looks more comprehensive than ganglia | 16:24 |
+Radix_ | nice and simple to install too which is good :) | 16:25 |
ckotil | for sure. | 16:26 |
+Radix_ | well on debian/ubuntu anyway :) | 16:26 |
ckotil | munin doesnt seem to be in red hats repository , but it is in dag wieers RPM repository. | 16:26 |
knowmad | man, that's a lot of info | 16:26 |
knowmad | simple to install is key for me | 16:26 |
+Radix_ | that's my home server.. so doesn't do too much.. but yeah :) | 16:27 |
knowmad | i'll need to break down my web traffic by domain | 16:27 |
knowmad | is that possible? | 16:27 |
+Radix_ | I forget that it's there most of the time :) | 16:27 |
+Radix_ | Hmm.. no idea I'm afraid | 16:28 |
ckotil | oh, you know what you could use for that, is awstat. | 16:28 |
ckotil | its not real time, but it estimates bandwidth from teh apache logs | 16:28 |
ckotil | and you would be able to separate it out by domain | 16:28 |
knowmad | i use webmin/virtualmin on my non-webgui server which supports alerts if a domain goes over its allotted bandwidth | 16:28 |
+Radix_ | awstat will certainly do that I guess.. as will any web log analyser | 16:28 |
knowmad | yeah, i have looked at it but it doesn't do alerting like webmin/virtualmin | 16:29 |
ckotil | yeah. | 16:29 |
knowmad | i think virtualmin is just reading the apache logs to calculate bandwidth which helps with CPU usage | 16:29 |
knowmad | there is a bandwidth module in webmin but they warn against using it since it uses iptables and has a performance impact | 16:29 |
+Radix_ | ipacct | 16:30 |
knowmad | i guess both ganglia and munin would have that impact as well | 16:30 |
knowmad | what ipacct? | 16:30 |
ckotil | its minimal it hink w/ ganglia and munin. bc you install a client on each machine and they report back to a server. | 16:30 |
+Radix_ | it's prolly what webmin uses.. has an impact on traffic, but can do whatever bandwidth stats you like | 16:30 |
knowmad | ok | 16:31 |
+Radix_ | http://martybugs.net/linux/ipac.cgi | 16:31 |
+Radix_ | that's the one I was thinking of.. not ipacct | 16:31 |
+Radix_ | friend of mine runs that page | 16:32 |
knowmad | but can it look into the packets to see what domain they are for? | 16:32 |
+Radix_ | different ip's for each domain? | 16:32 |
ckotil | you could put each domain on a separate interface, or virt-interface | 16:32 |
knowmad | nope shared | 16:32 |
knowmad | true | 16:32 |
knowmad | ok, so lots of options. thanks for the input | 16:33 |
+Radix_ | hard part is getting the data from somewhere then | 16:33 |
knowmad | what do you mean? | 16:33 |
+Radix_ | well you need to be able to distinguish what traffic belongs to what domain somehow | 16:34 |
knowmad | yes | 16:34 |
+Radix_ | unless you have separate interfaces (ips) or virtual interfaces or something setup it becomes quite hard | 16:34 |
knowmad | apache logs | 16:34 |
+Radix_ | yup, so a web analyser is your best and only bet | 16:34 |
ckotil | there could be an apache module that separates traffic by virtual host. | 16:35 |
+Radix_ | webalizer, awstats - one of them should do what you want | 16:35 |
+Radix_ | ckotil: you can easily have differnt logs for each domain | 16:35 |
ckotil | right. | 16:35 |
ckotil | but i was thinking more real time than that | 16:35 |
+Radix_ | can't use any ipaccounting schemes or anything tho if you're relying on apache logs | 16:35 |
knowmad | i just need an alert if a client is heading over | 16:36 |
knowmad | we're not to the point where realtime is all that important | 16:36 |
+Radix_ | fair enough | 16:36 |
knowmad | but those suggestions will be useful when that day comes | 16:36 |
ckotil | splunk might have something to offer, but then you are getting into a mess of running more software | 16:36 |
knowmad | yeah, i'd like to avoid lots more softwares | 16:36 |
ckotil | no doubt | 16:37 |
+Radix_ | there's some plugins for munin that track apache processes/accesses and volume | 16:38 |
+Radix_ | http://munin.projects.linpro.no/wiki/PluginCat | 16:38 |
+Radix_ | no idea how they work tho | 16:38 |
ckotil | ah nice | 16: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 #WebGUI | 16:41 | |
SDuensin | Morning. | 16:51 |
ckotil | nice Radix_ | 16:55 |
ckotil | morning sD | 16:55 |
ckotil | My 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 #webgui | 17:28 | |
-!- mode/#webgui [+o rizen] by ChanServ | 17:28 | |
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit [Client Quit] | 17:28 | |
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui | 17:29 | |
-!- mode/#webgui [+o rizen] by ChanServ | 17:30 | |
-!- ryuu_ro [n=rory@194.171.50.69] has quit [] | 17:30 | |
GooeyOfSteel | Wiki: SQLForm - Edited on 3/6/2008 9:21 am by dionak http://www.webgui.org/community-wiki/sqlform | 17:32 |
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has left #webgui [] | 17:58 | |
GooeyOfSteel | Wiki: SQLForm - Edited on 3/6/2008 10:01 am by dionak http://www.webgui.org/community-wiki/sqlform | 18:12 |
perlmonkey2 | From a session, how would I get the home url of the site? | 18:21 |
perlmonkey2 | A survey will have an 'exit url' which will allow the creator to put where the survey will send the taker on completion. But I'd like it to default to home. | 18:22 |
@rizen | $session->url->gateway(); | 18:25 |
perlmonkey2 | getSiteURL....hmm...I should stop asking these questions types, as exploring wg is fun. | 18:25 |
perlmonkey2 | oh. | 18:25 |
perlmonkey2 | gateway is better/ | 18:25 |
perlmonkey2 | ? | 18:25 |
perlmonkey2 | $session->Url->getSiteURL() ? | 18:26 |
@rizen | getSiteURL gives you a fully qualified url | 18:26 |
@rizen | which i don't think is what you want in this case | 18:26 |
@rizen | you just want to go to the home page | 18:26 |
@rizen | both will achieve the same result, but getSiteURL could have side effects | 18:26 |
perlmonkey2 | so I'd called gateway with no params.... | 18:26 |
perlmonkey2 | side effects? | 18:27 |
@rizen | for example, lets say you have multiple addresses set up for the site survey.example.com and www.example.com | 18:27 |
@rizen | they've been taking the survey on www.example.com | 18:27 |
@rizen | but if survey.example.com is what is returned from getSiteURL then they'll lose their cookie and session | 18:27 |
perlmonkey2 | aha | 18:27 |
perlmonkey2 | okay.....gateway it is :) | 18:28 |
@rizen | getSiteURL is usually only used for generating emails | 18:28 |
perlmonkey2 | good to know | 18:28 |
@rizen | but i do have another question | 18:28 |
@rizen | why redirect them to the home page rather than just saying "thank you for taking the survey" and then letting them navigate wherever they want? | 18:29 |
perlmonkey2 | The people at work want to be able to send them to another site when the survey ends. | 18:29 |
perlmonkey2 | or to another location. | 18:29 |
perlmonkey2 | So I figure default it to WG/home and then let the user change to whatever. | 18:30 |
perlmonkey2 | rizen: You are the one who will be deciding if this merges into WG, and I don't want this to not be merged. So if you have a problem with that set up, please let me know. | 18:36 |
@rizen | i don't care, just seems odd to force the user for something that is irrelevant | 18:42 |
@rizen | not to mention arbitrary | 18:42 |
perlmonkey2 | How about default it to empty and then the creator can put something there if they want. If it is empty it doens't send the user anywhere. | 18:44 |
-!- jdferm [n=jdferm@sangha.cyberius.net] has quit ["#webgui"] | 18:47 | |
@rizen | seems reasonable | 18:47 |
-!- BartJol [n=plainstu@194.171.50.123] has left #webgui [] | 19:15 | |
CIA-52 | WebGUI: jt * r5729 /branch/WebGUI_Commerce/ (6 files in 2 dirs): shipping system integrated with cart, but need admin interface to test if it works | 19:30 |
-!- dionak [n=diona@97.66.185.250] has joined #webgui | 19:48 | |
-!- perlDreamer [n=colink@pool-71-117-235-252.ptldor.fios.verizon.net] has joined #webgui | 19:55 | |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 19:55 | |
+perlDreamer | rizen: (hack, hack, cough, sniffle) quit breaking my tests | 19:56 |
CIA-52 | WebGUI: jt * r5730 /translations/French/ (French/WebGUI.pm notes.txt): update_from_translation_server | 19:57 |
CIA-52 | WebGUI: colin * r5731 /branch/WebGUI_Commerce/ (lib/WebGUI/Shop/Ship.pm t/Shop/Ship.t): fix a failing Shop::Ship test | 19:57 |
@apeiron | http://code.nytimes.com/projects/dbslayer hmmm... | 19:58 |
+perlDreamer | BSD chomping at the bit: http://bsd.slashdot.org/bsd/08/03/06/1313218.shtml | 19:58 |
@apeiron | eep, bsd and slashdot do not mix. =\ | 19:58 |
* apeiron would much, much rather go to the URL that that page is linking, if at all possible. | 19:58 | |
+perlDreamer | apologies | 19:59 |
+perlDreamer | http://people.freebsd.org/~kris/scaling/7.0%20Preview.pdf | 19:59 |
+perlDreamer | slashdot doesn't render well on BDS's browser? | 19:59 |
@apeiron | No, it has a tendency to get warped through the Slashdot "BSD is dead" lens. | 20:01 |
@apeiron | heh heh | 20:01 |
+perlDreamer | dead, but fast :) | 20:02 |
@apeiron | "On this benchmark PostgreSQL is 35-45% faster than MySQL at all loads" | 20:02 |
* apeiron coughs. | 20:02 | |
+perlDreamer | it would be funny, but imagine in 20 years if it was determined that Slashdot was originally responsible for Linux's popularity boost over BSD | 20:02 |
@apeiron | I'm certain it has played more than a small role. | 20:03 |
@apeiron | Neat. "Improved Support for legacy-free hardware (Macbook Pro)" | 20:06 |
+perlDreamer | On the science channel, they're talking about building a tunnel _through_ the Alps in Europe | 20:10 |
+perlDreamer | crazy | 20:10 |
@apeiron | Through as opposed to underneath? | 20:13 |
perlmonkey2 | dbslayer looks pretty cool....Although I'm biased towards anything that uses YAML/JSON+HTTP as a middleware. | 20:14 |
@apeiron | I mentioned it specifically because it's JSON-friendly and because of the status JSON has in the WebGUI stack. | 20:14 |
+perlDreamer | well, through a mountain near the base, so most likely underneath is more accurate | 20:15 |
@apeiron | Still, that's pretty serious business. | 20:16 |
+perlDreamer | yeah, it's 35 miles long | 20:17 |
@rizen | dbslayer is interesting, but methinks that it would have a significant performance penalty | 20:21 |
@rizen | just the serialization back and forth between json is huge, but more importantly http is heavier and slower than native mysql connections | 20:22 |
@apeiron | hmm. | 20:25 |
@apeiron | I'm thinking that if it's good enough for the NY Times, it may be good enough for us. | 20:25 |
@rizen | freebsd needs to stop saying it's better and actually make itself better. it's install process is terrible. that would be a good place to start. | 20:25 |
@apeiron | They're working on that. | 20:25 |
@rizen | it's install process now is as bad as webgui was back in the 5.x days | 20:25 |
@apeiron | (not that I mind the current install process) | 20:25 |
@rizen | good enough for the new york times is different than good enough for us | 20:26 |
@apeiron | Some people *like* the bare minimal, no frills method. | 20:26 |
@apeiron | I personally don't want to start X to install an OS. | 20:26 |
@rizen | most webgui servers are single server environement | 20:26 |
@rizen | apeiron: and therein lies the problem with bsd. they write it for themselves (ie you) and wonder why the masses don't come to it | 20:27 |
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui | 20:27 | |
-!- mode/#webgui [+o preaction] by ChanServ | 20:27 | |
@apeiron | http://www.bsdinstaller.org/screenshots.html I believe is the "new" installer that they're working on porting to FreeBSD. | 20:27 |
-!- MrHairgrease [n=martin@wlan-145-94-223-103.wlan.tudelft.nl] has joined #webgui | 20:27 | |
-!- mode/#webgui [+v MrHairgrease] by ChanServ | 20:28 | |
@rizen | that's still a decade behind ubuntu/redhat/suse | 20:29 |
@rizen | not that it's not a step in the right direction | 20:29 |
@rizen | but all of those can be installed without X as well, but they have the X install for the masses | 20:29 |
@apeiron | shrug. I can't disagree with the difference in philosophy point. | 20:29 |
-!- Sunmaster_14 [n=Sunmaste@h19-afsc.ded.indra.com] has joined #webgui | 20:29 | |
@rizen | i'm also not saying it's bad to do build it for themselves and the people like them | 20:33 |
* apeiron nods. | 20:33 | |
@rizen | i used to do that with webgui too | 20:33 |
@rizen | but if you want marketshare, you have to deal with what the market wants, and prove you're better than the competition | 20:34 |
@rizen | hence the wre | 20:34 |
@apeiron | http://docs.pcbsd.org/guide/chap2.3.html looks pretty enticing. | 20:34 |
@apeiron | For what you're expecting, anyway. | 20:35 |
@rizen | oooh. very nice | 20:35 |
@apeiron | Yeah. I just don't know the licensing on it. | 20:35 |
+perlDreamer | Now that's something my mom might be able to use | 20:35 |
perlmonkey2 | http://pastebin.com/d78755469 | 20:45 |
perlmonkey2 | Anyone care to tell me why this overload isn't being called? | 20:45 |
+perlDreamer | because I lied to you yesterday | 20:46 |
+perlDreamer | it needs to be called www_editSave | 20:46 |
perlmonkey2 | the method and the super call? | 20:47 |
+perlDreamer | yes | 20:47 |
perlmonkey2 | groovy, thanks again :) | 20:47 |
-!- Sunmaster_14 [n=Sunmaste@h19-afsc.ded.indra.com] has left #webgui [] | 20:48 | |
+perlDreamer | np | 20:48 |
-!- Sunmaster_14 [n=Sunmaste@h19-afsc.ded.indra.com] has joined #webgui | 20:48 | |
+perlDreamer | If I was more helpful, I'd get you confused for 2 days :( | 20:48 |
perlmonkey2 | You are saving me tons of time from digging in wg internals..... | 20:49 |
perlmonkey2 | hmm, www_editSave still isn't being called. And the only error in webgui.log is a spectre error that seems to have something to do with my broken versions of the survey. | 20:51 |
+perlDreamer | so you bring up the edit form, hit the save button and no www_editSave gets called? | 20:52 |
+perlDreamer | do you have a func=editSave in your edit form? | 20:52 |
perlmonkey2 | it is autogenerated | 20:52 |
+perlDreamer | check the source | 20:52 |
perlmonkey2 | k | 20:52 |
perlmonkey2 | <input type="hidden" name="func" value="editSave" /> | 20:52 |
+perlDreamer | yup, that looks right | 20:53 |
+perlDreamer | did you restart the server? | 20:53 |
+perlDreamer | after renaming the method? | 20:53 |
perlmonkey2 | many many times | 20:54 |
+perlDreamer | is the master www_editSave in Asset.pm getting called instead? | 20:54 |
+perlDreamer | and, is there POD docs for your overridden www_editSave? | 20:54 |
perlmonkey2 | http://pastebin.com/d33f0aadf is the only error in webgui.log, but that seems to be spectre related | 20:55 |
perlmonkey2 | no, there are no pod docs for it. | 20:55 |
perlmonkey2 | I guess I can add a warn in the master www_editSave and see if it is called. | 20:55 |
+perlDreamer | one of my favorite bugs is to forget to put =cut after my POD docs and then wonder why my code doesn't work | 20:56 |
perlmonkey2 | yep, the super is being called | 20:56 |
perlmonkey2 | hah | 20:56 |
perlmonkey2 | hopefully highlighting woudl catch that for me. | 20:57 |
perlmonkey2 | but it isn't being called from my method, it is being called instead of my method. | 20:57 |
+perlDreamer | do you have logging turned on to a low level? | 20:57 |
+perlDreamer | so that warns get logged? | 20:57 |
perlmonkey2 | yes | 20:58 |
perlmonkey2 | the warn for the super was logged | 20:58 |
+perlDreamer | may I have a new paste, please, with 10 lines of context on either side? | 20:58 |
perlmonkey2 | and I changed the method to error log in case | 20:58 |
perlmonkey2 | sure | 20:58 |
perlmonkey2 | http://pastebin.com/d7152c337 | 21:00 |
+perlDreamer | okay, next, please paste the source for the edit form | 21:01 |
perlmonkey2 | the edit form is autogenerated | 21:01 |
+perlDreamer | yes, but it does have hiccups | 21:02 |
perlmonkey2 | the editSurvey form? | 21:02 |
perlmonkey2 | You want this: surveyEditTemplateId ? | 21:02 |
perlmonkey2 | that is never used during wobject creation | 21:02 |
perlmonkey2 | oh, you mean source HTML | 21:03 |
+perlDreamer | hang on, I have another idea | 21:03 |
+perlDreamer | Looking at the CS, it calls www_editSave _after_ doing child level work. | 21:04 |
+perlDreamer | try moving the call to SUPER to the end of your sub | 21:04 |
@preaction | you should put that code in processPropertiesFromFormPost anyway | 21:04 |
+perlDreamer | really? why? | 21:04 |
perlmonkey2 | All I want if for it to check if the first and last section exist, and if not, insert them. Just need a hook into the survey edit tail end. | 21:05 |
perlmonkey2 | perlDreamer: if the super call was messing things up, surely the call to the logger would still be executred? | 21:06 |
perlmonkey2 | perlDreamer: 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 perlbuzz | 21:10 | |
+perlDreamer | preaction's suggestion about processPropertiesFromFormPost is good | 21:11 |
+perlDreamer | he's more familiar with the UI API than I am | 21:11 |
perlmonkey2 | oh, didn't realize that was a final solution...okay, thanks | 21:11 |
+perlDreamer | I don't doubt him at all, just don't understand why it's better than the editSave | 21:14 |
@preaction | it's just been standard practice | 21:14 |
+perlDreamer | so when do you use one over the other? | 21:14 |
@preaction | only reason to overload www_editSave is to output something besides the standard response to saving an asset | 21:14 |
perlmonkey2 | wow, my main view template spontaneously disappeared from the DB. | 21:20 |
perlmonkey2 | I was using PBtmpl00000000000000001 | 21:20 |
perlmonkey2 | er 2 | 21:20 |
perlmonkey2 | the default old Survey template. | 21:20 |
perlmonkey2 | and it magically disappeared from the db. | 21:20 |
perlmonkey2 | No, that isn't what happened. about 20 lines of my file merged with some other file. I wonder if svn update did this? | 21:25 |
+perlDreamer | I don't understand what you mean. Which file is yours? | 21:26 |
+perlDreamer | if it was svn, you can check the version history | 21:26 |
perlmonkey2 | I have no idea what happened....I'm working from an svo co. But all I did was overwrite the Survey.pm with my own file. But I ran svn update this mornig and I wonder if it saw my version had changed and did some sort of funky merge. | 21:28 |
perlmonkey2 | And the default template changed from last two chars 61 to 02. Now I have surveys in the db, with the wrong non-existant template. | 21:28 |
perlmonkey2 | I changed them in the DB, but wg still won't show up complaining that the survey can't call prepareview on a survey obj that doens't exist. | 21:29 |
perlmonkey2 | I have gremlins doing everything they can to make sure I don't get this done. | 21:29 |
@preaction | if you ever change the database raw, you must delete the cache | 21:29 |
+perlDreamer | last change to survey.pm was 4 weeks ago | 21:29 |
perlmonkey2 | I restarted? | 21:29 |
@preaction | still keeps the webgui cache | 21:29 |
@preaction | rm -rf /tmp/WebGUICache | 21:29 |
perlmonkey2 | preaction: and I can't delete the cache from the gui, it is unresponsive. | 21:29 |
perlmonkey2 | okay | 21:30 |
+perlDreamer | did the resetdev script ever get checked in? | 21:30 |
* perlDreamer looks under tools | 21:30 | |
@rizen | pm2 you can't override www_editSave | 21:30 |
@rizen | use processPropertiesFromFormPost instead | 21:30 |
+perlDreamer | the CS overrides www_editSave | 21:31 |
@rizen | yeah, for threads | 21:31 |
@rizen | not for itself | 21:31 |
perlmonkey2 | rizen: Okay, thanks. That is what preaction advised also (and what is working now before my install became completely hosed). | 21:31 |
perlmonkey2 | remove all WebGUI::Asset::Wobject::Survey from asset and everything from Survey should remove everything connected to that wobject without doing further damage to my install? | 21:33 |
+perlDreamer | also, the wobject table | 21:34 |
+perlDreamer | asset, assetData, wobject, survey* | 21:34 |
+perlDreamer | probably easier to just drop the db and run the upgrade script again | 21:34 |
perlmonkey2 | perlDreamer: But then I'd lose the new table defs | 21:36 |
perlmonkey2 | which I guess I should export so that I can rerun the upgrade script | 21:37 |
@rizen | pm2: so export them before you drop | 21:37 |
@rizen | perlDreamer: we need to have a small chat | 21:37 |
@rizen | what do you think about the admin tools? | 21:37 |
@rizen | do you think they should be on one page like i have in my design doc | 21:37 |
@rizen | or do you think we should separate them out | 21:37 |
+perlDreamer | admin tools for c2? | 21:38 |
@rizen | yeah | 21:38 |
+perlDreamer | I'll go review them. be back in 5 | 21:38 |
@rizen | creating shippers, payers, tax, setting templates, etc | 21:39 |
-!- wgGuest77 [n=wgGuest7@97.66.185.250] has joined #webgui | 21:41 | |
-!- wgGuest77 is now known as knowmads | 21:41 | |
knowmads | hey colin, got another Windoze/JSON issue | 21:41 |
knowmads | this time with Spectre | 21:41 |
+perlDreamer | for only a few payments and shippers, 1 screen works well | 21:41 |
knowmads | i'm going to paste the error msg to pastebin; just a sec... | 21:41 |
+perlDreamer | but if there are lots, it won't scale cleanly | 21:41 |
+perlDreamer | taxes needs its own screen | 21:41 |
+perlDreamer | since there will be tons of data to manage | 21:42 |
+perlDreamer | even with the js data form | 21:42 |
knowmads | http://webgui.pastebin.org/22667 | 21:42 |
knowmads | i see you're heavy into commerce | 21:42 |
@rizen | ok then | 21:42 |
@rizen | i'll keep them separate | 21:43 |
@rizen | i'm starting with settings and shipping | 21:43 |
+perlDreamer | it wasn't easy working an ajax interface into the tabbed commerce screen | 21:43 |
knowmads | if you could spare a minute when you're free to look at that output, we'd appreciate it | 21:43 |
@rizen | yeah, we're not going to use tabs | 21:43 |
+perlDreamer | any thoughts on taxes and relationships between city/code? | 21:43 |
+perlDreamer | knowmads: I won't forget you :) | 21:43 |
@rizen | i posted a response to the list | 21:43 |
knowmads | Thanks! | 21:43 |
@rizen | basically country is required | 21:44 |
+perlDreamer | it might take me 3 weeks to add your script, but I won't forget | 21:44 |
@rizen | the others aren't | 21:44 |
+perlDreamer | but if I have a city, that requires a state for uniqueness? | 21:44 |
@rizen | read my post...you can't force it through the ui | 21:44 |
@rizen | the user just has to be smart enough | 21:45 |
@rizen | not the customer, but the person setting up taxes | 21:45 |
+perlDreamer | I understand now | 21:45 |
+perlDreamer | commerce is hard | 21:45 |
@rizen | yes it is | 21:45 |
@rizen | it would be easier if we were only dealing with the US | 21:45 |
@rizen | but throwing in all the economies of the world makes it very complex | 21:45 |
+perlDreamer | yeah, but then we'd piss off nuba, Radix*, koen, MrHairgrease, bartJol, estiven, lisette, xdanger, dapperdodo and bunches of other people | 21:46 |
@rizen | hehe yup | 21:46 |
@rizen | which is why we have to keep it complex | 21:46 |
+perlDreamer | knowmads: this is with windows connecting to WRE on Mac OS X? | 21:48 |
knowmads | no, it's windows connecting to localhost | 21:48 |
+perlDreamer | where is that "Mac OS X" string coming from then? | 21:49 |
knowmads | it looks like it's coming from JSON | 21:50 |
knowmads | or rather Config::JSON | 21:50 |
+perlDreamer | yeah, it's from the new method. | 21:50 |
+perlDreamer | check your config files for corruption | 21:50 |
knowmads | ok | 21:51 |
+perlDreamer | and file this as a bug, please. The exception from JSON->new needs to be trapped and converted in a useful error message like "Your config file $file is borked, dude" | 21:52 |
knowmads | will file it but the config file looks clean and we can't find any trace of that string "Mac OS X" which is weird | 21:54 |
+perlDreamer | spectre.conf is clean? | 21:55 |
knowmads | yes, it was | 21:56 |
knowmads | found the problem | 21:56 |
@preaction | why am I more worried when something Works on the first try, no debugging, than I am when i have to sit and debug for 3+ hours? | 21:57 |
knowmads | there was a .conf file in our etc dir called ._nci.conf which was full of binary stuff and the Mac OS X string | 21:57 |
knowmads | apparently testing spectre was causing all conf files to be loaded | 21:57 |
@preaction | did OSX add that itself? | 21:57 |
knowmads | we don't know where it came from | 21:57 |
knowmads | we're working off a Win XP workstation | 21:57 |
+perlDreamer | recent WRE install? | 21:57 |
knowmads | yes | 21:57 |
@preaction | loadAllConfigs should ignore hidden files | 21:57 |
+perlDreamer | just for kicks, make sure it isn't in the WRE tarball | 21:58 |
knowmads | the real conf file is nci.conf so i think it's something of ours | 21:58 |
knowmads | just don't know how it got there | 21:58 |
@preaction | oh, samba probably | 21:58 |
@preaction | i've noticed samba from OSX does that sometimes | 21:58 |
knowmads | oh! that's probably it | 21:59 |
knowmads | where is loadAllConfigs? | 21:59 |
+perlDreamer | loadAllConfigs calls readAllConfigs, which gets them all | 21:59 |
+perlDreamer | WebGUI::Config | 21:59 |
knowmads | it apparently isn't ignoring dotfiles on windows | 21:59 |
+perlDreamer | it reads all files | 22:00 |
knowmads | perlDreamer: you're saying it won't ignore? | 22:00 |
knowmads | ok | 22:00 |
@preaction | imho it should ignore hidden files | 22:00 |
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."] | 22:00 | |
knowmads | +1 | 22:00 |
knowmads | hurray, now I have new errors :) | 22:01 |
+perlDreamer | File it as a bug, if it isn't converted into an RFE it will get fixed quickly | 22:01 |
+perlDreamer | and put in all branches | 22:01 |
knowmads | ok | 22:01 |
+perlDreamer | RFEs will only be put into 7.5 | 22:02 |
knowmads | ok, i've added 2 bug reports -- one for the dotfiles and one for the ungraceful exit from Config::JSON | 22:08 |
knowmads | now to fix my spectre comm error | 22:08 |
knowmads | there we go... needed to restart it for some reason | 22:09 |
knowmads | thanks folks | 22:09 |
-!- knowmads [n=wgGuest7@97.66.185.250] has quit [] | 22:10 | |
-!- wgGuest87 [n=wgGuest8@97.66.185.250] has joined #webgui | 22:11 | |
wgGuest87 | ok, new question now | 22:12 |
-!- wgGuest87 is now known as wknowmad | 22:12 | |
wknowmad | are there docs on upgrade wre from 0.8.1 to 0.8.3? | 22:12 |
+perlDreamer | wiki? | 22:13 |
+perlDreamer | it would be there if anywhere | 22:13 |
wknowmad | there's a script called wreupdate.pl but i've never seen docs | 22:13 |
wknowmad | yeah, i've looked but haven't seen anything obvious yet | 22:13 |
wknowmad | will keep looking | 22:13 |
wknowmad | actually it's wreupgrade.pl | 22:13 |
@rizen | just run wreupgrade.pl after you copy the new files over the time | 22:14 |
@rizen | top | 22:14 |
@rizen | it says that right in the wre if you look in docs/upgrade.txt | 22:14 |
wknowmad | good to know | 22:14 |
wknowmad | will update the wiki | 22:14 |
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui | 22:14 | |
wknowmad | see rizen, you've got me trained to go to the wiki first for all my documentation ;) | 22:17 |
GooeyOfSteel | Wiki: Upgrade WRE (v0.8.x) - Created on 3/6/2008 2:06 pm by knowmad http://www.webgui.org/community-wiki/upgrade-wre-v0.8.x | 22:17 |
-!- Sunmaster_14_ [n=Sunmaste@h19-afsc.ded.indra.com] has joined #webgui | 22:17 | |
@rizen | that's not my doing | 22:18 |
wknowmad | come on now, you've been blogging about moving online documentation into the wiki | 22:19 |
@rizen | i have? | 22:19 |
@rizen | i remember there was some post that someone made that i replied to, but i don't remember blogging about it | 22:20 |
@rizen | regardless, i always look to the documentation that comes with software before i look at a software's web site | 22:20 |
wknowmad | oh, maybe i misunderstood but i thought your plan when removing the help system from webgui internals was to have the wiki replace it | 22:20 |
@rizen | that is true, but that was on the dev mailing list not the blog | 22:21 |
@rizen | that announcement came before the blog existed | 22:21 |
wknowmad | guess i'm just getting lazy in my old age | 22:21 |
@rizen | colin and i started that a year ago now | 22:21 |
@rizen | not saying you shouldn't look at the wiki | 22:22 |
wknowmad | it's certainly been useful though my comments a few weeks back in your blog still stand | 22:22 |
-!- Sunmaster_14 [n=Sunmaste@h19-afsc.ded.indra.com] has quit [Read error: 110 (Connection timed out)] | 22:22 | |
@rizen | the comments about hierarchy and tables of contents? | 22:22 |
wknowmad | yes | 22:23 |
@rizen | it's on my todo, but i can't do commerce and that | 22:23 |
@rizen | commerce is too big | 22:23 |
@rizen | needs to get done first | 22:23 |
-!- jdan [n=jdan@xdsl-461.lubin.dialog.net.pl] has joined #webgui | 22:23 | |
knowmad | (back at my workstation) yes, i agree that commerce is bigger | 22:24 |
knowmad | it sounds like ya'll are making good progress | 22:25 |
+perlDreamer | I wonder if the bible equates cursing with swearing | 22:28 |
knowmad | semantics | 22:29 |
+perlDreamer | surely, spewing foul language isn't the same as asking God to nuke something? ;) | 22:31 |
+perlDreamer | If I take cold medicine, I feel drugged. If I don't I feel sick. I can't code well in either case. | 22:31 |
-!- lisette [n=liraos@static-adsl201-232-86-73.epm.net.co] has joined #webgui | 22:32 | |
lisette | hello | 22:32 |
+perlDreamer | buenos tardes, lisette | 22:32 |
+perlDreamer | Tienes una pregunta hoy? | 22:33 |
lisette | i tried send email with the module webgui WenGUI::Mail::Send, and the replyTo and returnPath, don't works | 22:33 |
lisette | buenas tardes | 22:33 |
+perlDreamer | does the person get the email at all? | 22:34 |
lisette | si tengo una pregunta, no me quiere funcionar el replyTo y el returnPath | 22:34 |
+perlDreamer | pero la persona recibe el "email"? | 22:34 |
+perlDreamer | or no? | 22:34 |
lisette | si la persona recibe el email | 22:34 |
lisette | pero en los headers no aparece el reply ni el returnPath | 22:35 |
lisette | y yo los tengo dentro del hash que se necesita para crear el email | 22:36 |
+perlDreamer | sorry, need to switch to English for bit :) | 22:36 |
+perlDreamer | returnPath and replyTo aren't valid params to WebGUI emails | 22:36 |
lisette | y porque estan en la documentacion del modulo? | 22:37 |
+perlDreamer | perldoc WebGUI::Inbox::Message | 22:37 |
lisette | perldoc WebGUI::Mail::Send | 22:37 |
@preaction | headers => { replyTo, returnPath } i think | 22:37 |
+perlDreamer | lisette, you're right | 22:38 |
+perlDreamer | whoops, preaction I meant | 22:39 |
lisette | my $mail = WebGUI::Mail::Send->create($session, { to=>$to, | 22:39 |
lisette | from=>$from, subject=>$subject, replyTo=>$reply, returnPath=>$reply}) | 22:39 |
+perlDreamer | that looks right | 22:42 |
+perlDreamer | pero, dice que no functiono bien? | 22:42 |
lisette | no, no funciona | 22:42 |
lisette | el correo llega bien, pero no llega el reply ni el returnPath en los headers | 22:43 |
@preaction | no, the replyTo and returnPath keys need to be inside of a headers => hashref | 22:43 |
lisette | ok, i try | 22:43 |
@preaction | so create( $session, { to => $to, from => $from, headers => { replyTo => $replyTo, returnPath => $returnPath } }) | 22:43 |
lisette | thanks | 22:43 |
+perlDreamer | preaction: that's not what the code says. all headers in 1 hashref | 22:43 |
@preaction | oh | 22:43 |
@preaction | uhm | 22:43 |
+perlDreamer | class, session, headers | 22:43 |
lisette | and what must do? | 22:44 |
+perlDreamer | estamos pensando | 22:44 |
@preaction | 7.5.x has getMimeEntity method in WebGUI::Mail::Send, you could use that to edit the MIME::Entity object directly | 22:45 |
@preaction | but this sounds like a bug... | 22:45 |
+perlDreamer | yeah, but it looks clean all the way into MIME::Entiry | 22:45 |
@preaction | are you sure sendmail isn't rewriting your Reply-To and X-Return-Path headers? | 22:45 |
+perlDreamer | do we have an email test now, by chance? | 22:45 |
@preaction | we do | 22:45 |
@preaction | in 7.5.2 or 3 i think | 22:46 |
@preaction | t/Mail/Send.t | 22:46 |
+perlDreamer | Do you know just how cool you are? | 22:46 |
@preaction | i have an idea | 22:46 |
+perlDreamer | I need to work on Taxes for a while, but if I have a chance later this afternoon I'll try to add a test for Reply-To and Return-Path | 22:47 |
lisette | no, don't rewrite | 22:47 |
lisette | thaks, muchas gracias | 22:47 |
GooeyOfSteel | Wiki: Upgrade WRE (v0.8.x) - Edited on 3/6/2008 2:37 pm by knowmad http://www.webgui.org/community-wiki/upgrade-wre-v0.8.x | 22:48 |
wknowmad | i'm sitting here watching the new WRE files overwrite the old ones and caught lots of activity happening in wre/prereqs/cpan | 22:49 |
wknowmad | is that directory really necessary for the WRE distribution? it looks like build dirs and source data that could be ejected from the release | 22:50 |
@rizen | is that from windows? | 22:53 |
@rizen | if so then yes because the windows build process is very different we don't have an optimizer build script that gets rid of all the extra crap you don't need | 22:54 |
-!- jdan [n=jdan@xdsl-461.lubin.dialog.net.pl] has quit ["Leaving"] | 22:55 | |
wknowmad | ok, fair enough (and yes, it's windoze) | 22:57 |
@rizen | some day we'll make a better build process for windows | 22:57 |
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."] | 22:57 | |
@rizen | it's just hard to justify a lot of work for one platform that most people don't deploy on | 22:57 |
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui | 22:58 | |
@preaction | patches welcome though, since you guys do a lot of work on the windows platform no? | 22:58 |
+perlDreamer | this is getting more fun all the time | 22:58 |
+perlDreamer | rizen: you read paul's post about taxes? | 22:59 |
+perlDreamer | The illinois tax document doesn't even list postal codes | 22:59 |
@rizen | of course not, they list counties | 23:01 |
@rizen | but postal codes exist in the counties | 23:01 |
@rizen | and if someone wants to purchase a zip code database so they can keep that shit up to date, then our system handles that | 23:02 |
@rizen | but we're not going to build in a "county" designation just for the US especially since we're not going to make people type in their county during checkout | 23:02 |
@rizen | unless you see something i don't | 23:03 |
+perlDreamer | well, if Illinois location codes are based on zip codes, we're fine | 23:04 |
+perlDreamer | otherwise we won't be calculating the right tax | 23:04 |
@rizen | pd that's not the question you should be asking | 23:05 |
@rizen | we know the user's zip code, city, state, and country | 23:05 |
@rizen | how do we figure out their county from that? | 23:05 |
@rizen | that is the question | 23:05 |
+perlDreamer | I disagree | 23:05 |
@rizen | you can't disagree | 23:06 |
+perlDreamer | they're listed by location code, not county | 23:06 |
@rizen | pd | 23:06 |
@rizen | stop | 23:06 |
+perlDreamer | if there's a correlation between location code and postal code, it's fine | 23:06 |
@rizen | i don't care what the state of illiinois says about tax location codes | 23:06 |
@rizen | i'm telling you that we only have city, state, zip code and country from the user | 23:06 |
@rizen | we have those 4 pieces of info | 23:06 |
@rizen | that's it | 23:07 |
@rizen | so given that, how do we figure out location codes | 23:07 |
@rizen | or county | 23:07 |
+perlDreamer | we'd need some table | 23:07 |
@rizen | or any other bullshit law that some locality decides to add | 23:07 |
+perlDreamer | right, we'd need lots of tables | 23:07 |
@rizen | exactly...we'd need a database of zip codes that match location codes | 23:07 |
@rizen | and since we need to have that, then our system has that covered, because we already know how to match zip codes | 23:08 |
+perlDreamer | unless zip codes don't map into location codes | 23:08 |
@rizen | it's not automated...and i don't care | 23:08 |
@rizen | but we cover it | 23:08 |
+perlDreamer | when you become president, you need to unify that :) | 23:09 |
@rizen | but if they don't map, then what good does a table look up do us? | 23:09 |
-!- elnino [n=ninow@user-38q49cv.cable.mindspring.com] has joined #webgui | 23:09 | |
@rizen | we have no more information | 23:09 |
@rizen | we can't map something to nothing | 23:09 |
-!- elnino [n=ninow@user-38q49cv.cable.mindspring.com] has quit [Client Quit] | 23:09 | |
+perlDreamer | exactly | 23:09 |
+perlDreamer | that's why I tried to call the state of Illinois (they're busy right now) | 23:09 |
@rizen | therefore our system is as good as it can be | 23:09 |
@rizen | why? | 23:09 |
@rizen | it doesn't matter what they say | 23:09 |
@rizen | we CANNOT do any better than we have done | 23:10 |
@rizen | we have 4 pieces of info | 23:10 |
@rizen | that's all we will ever have | 23:10 |
+perlDreamer | well, none of the online commerce systems I've used ask for county, or location code, or anything else. | 23:10 |
+perlDreamer | so maybe that's good enough | 23:10 |
-!- elnino [n=ninow@user-38q49cv.cable.mindspring.com] has joined #webgui | 23:11 | |
@rizen | it's up to the store owner that wants to sell in some particular location to figure out how to get their local laws into our system | 23:11 |
@rizen | we can't possibly be expected to account for every stupid local law in every municipality around the world automatically | 23:11 |
elnino | Hello. where are the default meta tags/headers configured in webgui? - the ones that are put on the page - separate than the ones under properties? | 23:11 |
@rizen | we just have to provide the tools that work with what we can do, so that the users can massage their stuff into ours | 23:11 |
+perlDreamer | okay | 23:12 |
GooeyOfSteel | Wiki: WRE for Windows - Created on 3/6/2008 3:03 pm by knowmad http://www.webgui.org/community-wiki/wre-for-windows | 23:13 |
-!- dionak [n=diona@97.66.185.250] has left #webgui [] | 23:13 | |
@rizen | pd you really are a worry wart aren't you? | 23:14 |
-!- dionak [n=diona@97.66.185.250] has joined #webgui | 23:14 | |
+perlDreamer | rizen: in chips, not knowing the answer to all questions ruins 5 months of work and gets projects canceled | 23:14 |
GooeyOfSteel | Wiki: Windows Installations - Edited on 3/6/2008 3:03 pm by knowmad http://www.webgui.org/community-wiki/windows-installations | 23:14 |
-!- wgGuest25 [n=wgGuest2@97.66.185.250] has joined #webgui | 23:14 | |
+perlDreamer | so, yes | 23:14 |
+perlDreamer | wgGuest25: you're a wiki hacking fied today | 23:15 |
-!- wgGuest85 [n=wgGuest8@static-adsl201-232-86-73.epm.net.co] has joined #webgui | 23:15 | |
@rizen | i like to know that answer to all questions that are relevant as well, but we can't answer questions that are out of scope | 23:15 |
+perlDreamer | and if too many projects get killed due to lack of knowledge, they'll fix that problem permanently. | 23:15 |
@rizen | location codes are out of scope | 23:15 |
wgGuest85 | hello | 23:16 |
-!- juan [n=juangui@static-adsl201-232-86-73.epm.net.co] has joined #webgui | 23:17 | |
-!- wgGuest85 [n=wgGuest8@static-adsl201-232-86-73.epm.net.co] has quit [Remote closed the connection] | 23:18 | |
juan | hello | 23:18 |
+perlDreamer | hello, juan | 23:19 |
juan | i have several post in a collabotation system, i need to change the user who posted the all threads | 23:19 |
juan | can i do that? | 23:19 |
CIA-52 | WebGUI: jt * r5732 /translations/French/French/AuthWebGUI.pm: update_from_translation_server | 23:19 |
-!- wknowmad [n=wgGuest8@97.66.185.250] has quit [Read error: 110 (Connection timed out)] | 23:19 | |
@preaction | not from the web interface, but from the database you can change the ownerUserId in the assetData table | 23:20 |
juan | ok | 23:20 |
juan | another question, in the default data form template can i ask for a specific field? | 23:21 |
+perlDreamer | check the Data Form template help page for the list of variables | 23:21 |
+perlDreamer | Do you know how to access that? | 23:21 |
juan | in the admin console, help | 23:21 |
+perlDreamer | yes, that's it | 23:22 |
-!- estiven [n=estiven@static-adsl201-232-86-73.epm.net.co] has quit [Read error: 113 (No route to host)] | 23:22 | |
GooeyOfSteel | Wiki: WRE for Windows - Edited on 3/6/2008 3:14 pm by knowmad http://www.webgui.org/community-wiki/wre-for-windows | 23:25 |
juan | yes, i know but i was trying to use the variables and i don't if that works. for example i have a field called test, in the template can i ask like this | 23:27 |
juan | i want to ask in the template if field.name ="test" | 23:28 |
juan | i want to validate that field to put an extra sentences | 23:28 |
+perlDreamer | for that, you need to use a different templating language than the default WebGUI one, which is HTML::Template | 23:28 |
+perlDreamer | HTML::TemplateExpr, or Template::Toolkit will allow that | 23:29 |
+perlDreamer | or, you can do it with javascript | 23:29 |
+perlDreamer | or, you can add subtext information to the "test" field which will be put in there | 23:29 |
@rizen | you enable them in your webgui config file | 23:29 |
perlmonkey2 | Where can I find an example of the rich text editor being used in a template? | 23:31 |
+perlDreamer | perlmonkey2, I believe that it is invoked in the HTMLForm form plugin | 23:32 |
perlmonkey2 | perlDreamer: gracias | 23:32 |
juan | perlDreamer, thanks, i am going to look form documentation to test it | 23:33 |
+perlDreamer | cool | 23:34 |
+perlDreamer | buena suerte | 23:34 |
elnino | hello | 23:34 |
+perlDreamer | I'm sorry, but all of our developers are busy. Please wait on the line until the next developer is available. | 23:35 |
elnino | do I hear elevator music? | 23:35 |
@preaction | those default meta tags are defined in the code i believe. WebGUI::Session::Style | 23:37 |
perlmonkey2 | perlDreamer: you have overestimated my ability to dig through HTMLForm and find where it is generating the autoforms which have the rich text editor in them. | 23:37 |
elnino | thanks! | 23:37 |
@rizen | pm2: lib/WebGUI/Form/HTMLArea.pm | 23:37 |
perlmonkey2 | thanks rizen | 23:37 |
@rizen | as for which rich editor, by default it uses the one configured in the settings | 23:38 |
@rizen | you should make a property in the survey asset if you want to override that | 23:38 |
@rizen | the same way that the CS and the Wiki do | 23:38 |
+perlDreamer | rizen: Do I have to worry about people putting duplicate data into the tax table? | 23:38 |
@rizen | pd i don't think so, if they put it in it's there own damn fault | 23:39 |
@rizen | and if it becomes a problem, we'll worry about it then | 23:39 |
perlmonkey2 | rizen: woah, I was expecting a template which used a lib in extras...this is going to take some learning. | 23:39 |
perlmonkey2 | I didn't realize there was a whole asset to do this. | 23:39 |
@rizen | there is a template | 23:39 |
@rizen | that the rich editor asset uses | 23:39 |
+perlDreamer | the asset just manages the interface to the TinyMCE options | 23:39 |
@rizen | but it has to be an asset so that users can set up their own rich editors easily | 23:40 |
@rizen | speaking of which, it turns out tinymce came out with a whole new version last month | 23:40 |
@rizen | going to have to update that before 7.5 comes out | 23:40 |
+perlDreamer | lots of good new stuff? | 23:40 |
perlmonkey2 | $session->setting->get("richEditor") || "PBrichedit000000000001" should return text I can set = to a tmpl_var? | 23:41 |
@rizen | better safari support is the main thing i'm interested in | 23:41 |
@rizen | pm2 i don't know what you're asking | 23:41 |
+perlDreamer | that gets the assetId for a particular richTextEditor | 23:42 |
+perlDreamer | you can use Form::HTMLArea to build one for you | 23:42 |
perlmonkey2 | I have a template that is just going to be a snippet of html that will be returned to an ajax call and set as the innerHTML in the edit div. I need there to be a rich text area in that html. And I'm not really sure where to begin to create that without adding a new file to extras and using that. | 23:43 |
@preaction | heh, i did that once. it works fine if you preload the TinyMCE javascripts on the base page (i think) | 23:45 |
perlmonkey2 | preaction: which isn't a problem, but I fear this isn't the WG way to do thing.s | 23:45 |
@rizen | perlmonkey2, like i said before, when it comes to ajax forget about the webgui way of doing things | 23:46 |
@rizen | there isn't one | 23:46 |
@rizen | that's what 7.6 is going to be about | 23:46 |
@preaction | i lied. i made a text area and then used the javascript to apply the tinymce to it after i set innerHtml | 23:46 |
@preaction | i couldn't get the tinymce to just work, but applying it to a text area works fine | 23:46 |
GooeyOfSteel | Wiki: Upgrade WRE (v0.8.x) - Edited on 3/6/2008 3:37 pm by knowmad http://www.webgui.org/community-wiki/upgrade-wre-v0.8.x | 23:47 |
perlmonkey2 | rizen: okay, I just don't want to cowboy out and create this one off wobject that is barely maintainable. | 23:48 |
-!- SDuensin [n=Scott@252.sub-75-206-64.myvzw.com] has quit ["Leaving"] | 23:48 | |
@rizen | there will definitely be some massaging that has to be done after you put it together | 23:48 |
@rizen | because we simply don't have a good infrastructure to create massively ajax apps yet | 23:49 |
@rizen | this is mainly due to how our current form controls system works | 23:49 |
perlmonkey2 | tinymce2/jscripts/webgui.js is the one to use? | 23:49 |
@rizen | nope, you have to use all of them | 23:49 |
@rizen | just like HTMLArea.pm does | 23:50 |
perlmonkey2 | okay :) | 23:50 |
-!- elnino [n=ninow@user-38q49cv.cable.mindspring.com] has quit ["Leaving"] | 23:52 | |
juan | perlDreamer, related to the thread in the assetData the | 23:53 |
juan | excuseme | 23:53 |
+perlDreamer | no hay de nada | 23:53 |
juan | the ownerId that i have is correct | 23:53 |
juan | the problem is that the threads have the alias of this user | 23:54 |
juan | can i change the alias? | 23:54 |
+perlDreamer | voy a buscar | 23:54 |
juan | ok | 23:54 |
+perlDreamer | in WebGUI, a Thread is a Post via inheritance | 23:55 |
-!- wgGuest25 [n=wgGuest2@97.66.185.250] has quit [Read error: 110 (Connection timed out)] | 23:55 | |
+perlDreamer | In the Post table, it stores the username | 23:55 |
+perlDreamer | it would need to be changed there, as well | 23:55 |
juan | i changed it but the post continues with the old alias | 23:56 |
+perlDreamer | have you cleared the WebGUI cache? | 23:56 |
-!- elnino [n=ninow@user-38q49cv.cable.mindspring.com] has joined #webgui | 23:59 | |
elnino | hello | 23:59 |
--- Day changed Fri Mar 07 2008 | ||
juan | gracias perlDreamer | 00:00 |
juan | ya corregi el problema | 00:00 |
+perlDreamer | cool | 00:02 |
elnino | is there a way to completely turn off caching? | 00:02 |
elnino | I've got 7.4.26 | 00:03 |
+perlDreamer | try checking the settings... | 00:04 |
elnino | I'm there, I dont' see anything | 00:04 |
elnino | anymore | 00:04 |
elnino | There used to be something there I thought. | 00:04 |
@preaction | no. WebGUI caches things for speed. no way to disable that | 00:04 |
@preaction | you're thinking the client-side browser cache, which it is possible to attempt to work around | 00:05 |
@preaction | i think Content > Prevent Proxy Cache, but it might have been removed since it wasn't effective at all | 00:05 |
elnino | that's there, but I don't understand that. It says urls will be unfriendly, etc. is that what i want? | 00:06 |
@preaction | what do you want to do? prevent browsers from caching your pages? | 00:08 |
elnino | no, I want to prevent webgui from caching my pages. It's not obeying the cache settings on assets that I've set, and it's completely ruined the site, and I need this site back up asap. | 00:10 |
@preaction | clear the cache from the Admin Console | 00:11 |
@preaction | or rm -rf /tmp/WebGUICache | 00:11 |
@preaction | (if you're using the default FileCache) | 00:11 |
elnino | yep, i've done that, but that's just one time clearing, I can not allow caching at all. | 00:12 |
elnino | I might just do a cron every 5 seconds. | 00:12 |
@rizen | elnino don't do that | 00:12 |
@rizen | find the problem | 00:12 |
@rizen | don't patch | 00:12 |
@rizen | tell us what's wrong | 00:12 |
elnino | ok - ready? | 00:13 |
+perlDreamer | rizen: I'm halfway through the new Tax code | 00:13 |
elnino | I have a secondn non-webgui site. It has a login page. people login, and a cookie is set. | 00:13 |
elnino | they are redirected to my webgui -based site. | 00:13 |
elnino | in webgui. I have user groups that take the values of these cookies, run it agains the db and determine which pages this webgui-visitor can see. | 00:14 |
elnino | this worked grreat. | 00:14 |
elnino | on my pages, where customer specific information is displayed, I have the cache setting to 1 second. | 00:15 |
elnino | so that users don't see the previous user's information. | 00:15 |
@preaction | no that won't work. they need to be a registered user. registered user's pages do not get cached by webgui | 00:15 |
@preaction | i think there's a thread on the community forums about this | 00:15 |
elnino | Since I've upgraded last week, (which hasn't been noticed till now) is when a user logs in is they see the previous users information. | 00:15 |
@rizen | pages are always cached for 60 seconds for visitors | 00:16 |
@rizen | this is called "burst protection" | 00:16 |
elnino | kinda - the post on webgui's forum is I wanted to use webguis forum - that is separate. | 00:16 |
@rizen | and is meant to kill the slashdot effect | 00:16 |
elnino | has this 60 seconds always been that way? that would explain why this wasn't seen before. | 00:17 |
@rizen | it's been in there since 7.0 | 00:17 |
@rizen | 6.99.x actually | 00:17 |
@rizen | but it's only for visitors, not registered users | 00:17 |
elnino | ok. so if I wait 60 seconds, I should be ok. | 00:17 |
elnino | all my "registered users" are considered "visitors" by webgui. It actally works really well - untill I found out about this 60 second rule. | 00:18 |
GooeyOfSteel | Wiki: Customizing WRE Configuration - Created on 3/6/2008 4:07 pm by knowmad http://www.webgui.org/community-wiki/customizing-wre-configuration | 00:18 |
elnino | so when do you obey the cache settings that I set on assets? - are they ignored because my users are "visitors" by webgui's standard? | 00:20 |
@rizen | well you can get around the burst protection by adding something to the url | 00:20 |
@rizen | like this | 00:20 |
@rizen | http://site.com/pageurl?nocache=1 | 00:21 |
@rizen | there is no "visitor cache" setting on page layouts | 00:21 |
@rizen | and burst protection is a function of a page layout | 00:21 |
CIA-52 | WebGUI: jt * r5733 /translations/French/French/AuthWebGUI.pm: update_from_translation_server | 00:21 |
@rizen | so if you sent them directly to a snippet or an sql report URL then you wouldn't have this problem | 00:22 |
elnino | rizen said "pages are always cached for 60 seconds for visitors" - how do you dtermine if a user is a visitor? because my page can only be viewed by one of my sql-based groups and the user will be part of that group, so is my user a "visitor" or a memeber of the specific group - and shouldnt that be enough for obeying the cache settings? | 00:22 |
elnino | your right, I'm specificaly talking about assets's cache settings. | 00:22 |
@preaction | if they're not logged in to webgui, they're a visitor | 00:23 |
elnino | even i fthey are part of the group? | 00:23 |
+perlDreamer | yes | 00:23 |
@rizen | your user is always a visitor if they have not logged in to webgui | 00:23 |
@preaction | if they have userId of "1", they're a visitor | 00:23 |
-!- MrHairgrease [n=martin@wlan-145-94-223-103.wlan.tudelft.nl] has left #webgui [] | 00:24 | |
elnino | AH!!! Thank you! my sql statement return 1 - I'll just return something else! | 00:24 |
@preaction | if your login script would use the WebGUI API to give the person a cookie with a webgui session, it would work seamlessly | 00:24 |
elnino | zoom - way over my head - is there anything written on you just said? I'm using a custom cookie, nothing special, I'd be happy to use what ever format you need to set up a webgui session. This other login page - however is on a MS machine - a thorn in my side if I must say. | 00:26 |
elnino | And I suppost then my forum will work too. | 00:26 |
elnino | =) | 00:26 |
@preaction | you'd make a WebGUI session with WebGUI::Session->new. and then send a cookie called wgSession with the WebGUI::Session->getId ( $session->getId ) | 00:26 |
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."] | 00:28 | |
elnino | should I do this in my auth module? what do I do with all the groups my user may be a member of - I'm assuming that's part of the session? | 00:29 |
@preaction | it's part of the user. you'd need to create a webgui account for all your users | 00:30 |
elnino | I don't see any possible way of doing that. They are tightly tied into our CRM system. Is that what you'd require if one was using LDAP? I'll give it more thought. I suspect if my sql-based groups return something other than 1 this would work. fingers crossed. | 00:32 |
@preaction | LDAP would work easier probably, since LDAP gets periodically updated with new users | 00:33 |
elnino | I gues my question was, do you require all users from the LDAP system to be imported into webgui? | 00:33 |
elnino | maybe I can glean someting from the ldap auth mod. | 00:34 |
@preaction | there's a workflow activity that does it SyncProfilesToLDAP i think or FromLDAP or something | 00:36 |
@preaction | dunno really. the Administrator's Guide has a section about setting up LDAP | 00:36 |
elnino | hmm. So my plan was to create a user in webgui that is NOT part of any group. And modify my sql-based groups to return the id of this "dummy" user. | 00:40 |
elnino | so when a page check to see if the user is part of the group... this isn't going to work. it assumes the dummy user is logged in. | 00:40 |
elnino | hmm. not if I set the wgSession;s id to the dummy user. - because that's what determines who is logged in, right? | 00:42 |
elnino | but I still have to call WebGUI::Session->new somewhere, right? | 00:42 |
elnino | or is setting a properly structured cookie good enough? | 00:43 |
CIA-52 | WebGUI: jt * r5734 /branch/WebGUI_Commerce/ (5 files in 5 dirs): we now have shop settings admin screen | 00:46 |
CIA-52 | WebGUI: colin * r5735 /branch/WebGUI_Commerce/ (11 files in 4 dirs): | 00:46 |
CIA-52 | WebGUI: Change the Shop::Tax system to be hierarchial. | 00:46 |
CIA-52 | WebGUI: Update all sample tax tables and tests. | 00:46 |
@rizen | wow pd, are you already done with that change? | 00:46 |
+perlDreamer | yeah | 00:46 |
+perlDreamer | it took all day | 00:47 |
+perlDreamer | but only because I was sick | 00:47 |
+perlDreamer | oh, and it doesn't do the abbreviated, not abbreviated yet | 00:47 |
+perlDreamer | but we can add that in | 00:47 |
@rizen | yeah, it will definitely need that | 00:48 |
@rizen | when you do that, make sure it will do an unlimited number of ors | 00:48 |
@rizen | Wisconsin|WI|Wis | 00:48 |
+perlDreamer | okay | 00:49 |
+perlDreamer | and the comparison is done lower case | 00:49 |
@rizen | yup | 00:49 |
+perlDreamer | should the comparison be done in SQL? | 00:49 |
@rizen | up to you | 00:50 |
@rizen | whatever works fastest | 00:50 |
+perlDreamer | I'll try SQL first | 00:50 |
-!- elnino_laptop [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI | 00:51 | |
elnino | I need to logoff from here. I'll mostlikey have questions that I'll ask from my other account. | 00:51 |
-!- elnino [n=ninow@user-38q49cv.cable.mindspring.com] has quit ["Leaving"] | 00:51 | |
+perlDreamer | I think I can do this | 00:58 |
-!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has quit ["Windows doesn't have users, it has hostages."] | 00:58 | |
-!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has joined #webgui | 01:03 | |
-!- mode/#webgui [+v Radix_] by ChanServ | 01:03 | |
-!- juan [n=juangui@static-adsl201-232-86-73.epm.net.co] has left #webgui [] | 01:03 | |
+perlDreamer | store alternations in the db | 01:10 |
+perlDreamer | prepend ^ and $ to them in the query | 01:10 |
+perlDreamer | then use them as the regexp for a "constant" of user data | 01:10 |
-!- dionak [n=diona@97.66.185.250] has quit [] | 01:27 | |
+perlDreamer | I found out what happened to MrHairgrease today: http://news.yahoo.com/s/ap/20080306/ap_on_fe_st/odd_stiletto_run;_ylt=AhAiQISri8KMAbexsTzUA2.s0NUE | 01: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 |
+perlDreamer | Sunmaster_14_: I'm pretty sure that's been discussed on the forums. Try a search there. | 01:41 |
Sunmaster_14_ | ok | 01:42 |
@preaction | i believe i mentioned before that there's a field for regular expressions to match that will bypass rewriting | 01:45 |
@preaction | it's in the code at least, if for some reason it's not in the edit form | 01:46 |
@preaction | it's on the display tab | 01:46 |
+perlDreamer | preaction: I had a chance to optimize one of the sql queries for the Tax system | 01:51 |
+perlDreamer | check out 5736 | 01: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 #WebGUI | 02:00 | |
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui | 02:01 | |
-!- Sunmaster_14_ [n=Sunmaste@h19-afsc.ded.indra.com] has quit [] | 02:01 | |
-!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui | 02:04 | |
-!- mode/#webgui [+v Radix-wrk] by ChanServ | 02:04 | |
CIA-52 | WebGUI: colin * r5736 /branch/WebGUI_Commerce/ (lib/WebGUI/Shop/Tax.pm t/Shop/Tax.t): optimize the SQL query for getting tax rates | 02: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 #webgui | 02:11 | |
-!- mode/#webgui [+o preaction] by ChanServ | 02: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 #WEBGUI | 02: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 #webgui | 03:03 | |
elnino_laptop | perlDreamer: after thinking about my situatin some more, I have one more issue that I need your opinoin on. | 03:04 |
+perlDreamer | sure | 03:04 |
+perlDreamer | but I'm biased | 03:04 |
elnino_laptop | I know... =) | 03:04 |
+perlDreamer | lay it on me | 03:05 |
elnino_laptop | If I import my users from our CRM package, I some how need to keep them synced. | 03:05 |
+perlDreamer | Yes. That can be done with a workflow, just like for LDAP | 03:05 |
elnino_laptop | what do I tie them to? | 03:05 |
+perlDreamer | usernames have to be unique in the database | 03:05 |
elnino_laptop | there are iDs in our CRM package, can I import those ids as the webgui user id? | 03:06 |
+perlDreamer | so username(CRM) => username(wg) | 03:06 |
+perlDreamer | you could, but they would need to be webgui-like | 03:06 |
+perlDreamer | 22 characters, a modified base64 MD5 hash | 03:06 |
+perlDreamer | check out Session::Id.pm | 03:06 |
elnino_laptop | yes they do.but i our case, the email address is the username. and saes reps and or the customer themselves can change that at anytime, thuse the link is broken and I can no longer sync | 03:07 |
elnino_laptop | our crm package uses sequenctal numbers for ids. | 03:07 |
+perlDreamer | smaller than 22 characters, and all greater than 20? | 03:08 |
elnino_laptop | I suppose there may be some other fields in webgui I can shove the CRM's ids into? | 03:08 |
+perlDreamer | userProfile fields | 03:08 |
+perlDreamer | that would work very well | 03:09 |
+perlDreamer | and I think it's been done before | 03:09 |
elnino_laptop | k. I'm thinking customization stil needs to be done on the CRM side. as users can be merged and the ids can change. and the other issue is when the user is created in the CRM system, I have to create the record in webgui - but that sounds like I can do that intheworkflow | 03:10 |
elnino_laptop | the other "quicker" fix, I"m considering is | 03:10 |
elnino_laptop | while looking at the layout.pm, and see where the 60 second burst is implemented. I can put in a check there to see if the "visiter" belongs to one of my sql-based groups and by-pass that for now. | 03:11 |
elnino_laptop | but you probabay don't like that idea and are probably cringing. | 03:11 |
+perlDreamer | yeah, I like vanilla webgui with plugins | 03:12 |
+perlDreamer | I maintained customized wG code for a while, and I have more fun things that I like to do. | 03:12 |
+perlDreamer | But you need to make the best decision for your needs. | 03:12 |
elnino_laptop | =) | 03:12 |
+perlDreamer | I think that full wG integration will bring further benefits later | 03:12 |
+perlDreamer | such as allowing them to actually edit parts of the website | 03:12 |
+perlDreamer | participate in forums with real names, and so on | 03:13 |
elnino_laptop | oh I need to do that eventually if the forum and wiki is going to work. yep. | 03:13 |
+perlDreamer | so I favor large work soon, unless you're blocking on something important time-wise | 03:13 |
+perlDreamer | and what kind of setup is this for, anyway? | 03:13 |
elnino_laptop | the problem is the guy who would do the crm changes left, and we have noone to do it? | 03:13 |
+perlDreamer | yeah, so storing the CRM ID in wG would be best | 03:14 |
elnino_laptop | we have two websites, that share "priviledged" content. we have a site that builds custom software- on the fly on one site, and the documentation on webgui. (so that I don't have to update content anymore) | 03:15 |
+perlDreamer | sounds cool | 03:16 |
elnino_laptop | so a user will login and can access our documentation and support, and go to the other site and order/build custom software and then they get emailed the software, and get billed. | 03:16 |
+perlDreamer | so the CRM does the order/build work? | 03:16 |
elnino_laptop | It is. I've been wanting to port the builder to java, but I have some dll sitting on that MS server, that we don't ahve to source code for, so I'm a bit out of luck on that... it has to stay on MS. | 03:17 |
+perlDreamer | (biasing again) what about moving the build over to wG? | 03:17 |
+perlDreamer | run the whole thing on MS on the WRE | 03:17 |
elnino_laptop | no, the CRM hoses the users and their privildeges which the sales reps control, and the software builder pulls the privs from there. | 03:17 |
+perlDreamer | I see | 03:18 |
elnino_laptop | you mean moving webgui to MS?? I've had nothign but trouble with failing MS servers. | 03:18 |
+perlDreamer | I was thinking that if you were stuck with building on MS it might be simpler. | 03:19 |
+perlDreamer | I prefer Linux myself | 03:19 |
elnino_laptop | it is cool. when it works =)wich is most of the time. it was a bugger to get webgui and the buider site to play as nicely as they do. | 03:19 |
elnino_laptop | well, I think for now, I'm goint to modiy the layout. I don't plan to do any upgrades for a while, that will buy us tim eto find a replacement progrmmer to modify the CRM system to keep the two synced. Im gong to have to store the wg's id inthe CRM system so that when sales reps delete or merge susers, the sync doesnt break. | 03:21 |
elnino_laptop | that should work. I'll find out tonight. | 03:21 |
elnino_laptop | does the user import tool allow for mulitple group memberships? | 03:21 |
+perlDreamer | I don't think you have to modify the CRM to merge info from there into wG. | 03:22 |
+Radix-wrk | couldn't you use sql group lookups? | 03:22 |
+perlDreamer | he does, but he needs actual users, too | 03:23 |
+perlDreamer | elnino_laptop: perl userImport.pl --help will give you all the info on importing users | 03:23 |
+perlDreamer | I think it will allow multiple groups on import | 03:23 |
elnino_laptop | k. Thanks for listening!! and for your input/opinion. sometimes it's nice to talk outloud. Are you around some more or leaving soon, I think it's been a long day for you already. | 03:24 |
+perlDreamer | having dinner soon, but I'll be around | 03:24 |
+Radix-wrk | I wrote my own userimport script that adds a user via a url | 03:25 |
+Radix-wrk | and handle group memberships through sql lookups | 03:25 |
elnino_laptop | I saw something like that. I was trying to figure out how that might work in my case. So I can have a list of users, and in webgui , they dont' belong to any group, but I can use sqllookups on my groups, and return what? That assmes that the webgui userid is stored in the db that the group is querying, right? | 03:27 |
+perlDreamer | no | 03:27 |
+perlDreamer | you can use foreign fields | 03:27 |
+perlDreamer | or anything else | 03:27 |
+perlDreamer | you could check them out remotely and see if they have bought purple umbrellas | 03:28 |
elnino_laptop | my understanding is that the sql-based usergroups, must return the userid to authenticate that user. So, yes the query can query for any criteria, but it still has to return a userid. Did I miss something? | 03:28 |
+Radix-wrk | we have an intermediary sql table with users and group permissions - if it's 1 in the group field then they have access, 0 and they don't | 03:28 |
+perlDreamer | elnino_laptop: I should go check. | 03:29 |
+Radix-wrk | I just have a simple query: 'SELECT userId FROM users WHERE XXX = 1' | 03:30 |
+Radix-wrk | where XXX is the group name I want | 03:30 |
elnino_laptop | so you are returning the webgui's userid/ | 03:32 |
+perlDreamer | that's right. SQL queries have to return wG userIds | 03:32 |
+Radix-wrk | yeah | 03:32 |
+perlDreamer | it used to be that you'd return 1, but that was a long time ago | 03:32 |
elnino_laptop | I dont' have that intermediary table yet. That's what I still need to create in the CRM system | 03:32 |
elnino_laptop | THanks for checking perlDreamer - that's what I thought. So I'm still doing what I was planning. | 03:33 |
+Radix-wrk | my intermediary table is just a mix of data from the two databases - other database id, login name, webgui userid, and then a heap of groupnames with 0 or 1 indicating membership | 03:33 |
elnino_laptop | Radix - not quite sure how to add user by url will help, but I'll keep thinking about it. | 03:33 |
elnino_laptop | Radix - yep, I don't one of those yet. that's part o fmy plan =) | 03:34 |
+Radix-wrk | I've started work on a synchronisation workflow between the two databases too - so that data can be changed in either database (like company name, contact email address, etc) and it will update accordingly in the other | 03:35 |
+Radix-wrk | it's mostly done.. just needs to be implemented here really - but has been put on the back burner for now | 03:36 |
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui | 03:37 | |
+Radix-wrk | We've got a peculiar problem in that our other database cant talk to webgui.. nor can webgui talk to it. It can write out data to sql - so we're using that as a communication method - but it doesn't have a scheduler or timed actions, so everything must be triggered manually. | 03:38 |
elnino_laptop | that would be cool to have. is that something that is going to be in the contributions, or integreated into future versions? or neither? | 03:39 |
+Radix-wrk | I can send you a copy if you like - it's pretty hackish, but works around our issues | 03:40 |
elnino_laptop | That would be awesome if you could, I was kinda wondering how to do a workflow for something else, so that would be handy for two things. | 03:42 |
elnino_laptop | you can send it to webmaster@comtrol.com | 03:43 |
-!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui | 03:43 | |
elnino_laptop | any one know off hand what keystoke to use in vi to check paranthesis? - totally not a wg question. My appologies | 03:58 |
+Radix-wrk | ctrl } I thought | 03:58 |
+perlDreamer | % bounces between pairs of parens | 03:59 |
+Radix-wrk | maybe not | 03:59 |
elnino_laptop | thanks! | 03:59 |
+Radix-wrk | cool | 03:59 |
+perlDreamer | is it set showMatch to do that as you're typing? | 03:59 |
+Radix-wrk | elnino - sent you that workflow | 03:59 |
+Radix-wrk | make sure you regard it as a very early beta with no guarantees it'll even work, k :) | 04:00 |
+Radix-wrk | So far all I've done is use it in testing.. not implemented it | 04:00 |
+Radix-wrk | but might help you get the basics of a workflow, and the logic is clearly explained | 04:01 |
elnino_laptop | perlDreamer, yep, but it doesn't work when you paste. | 04:01 |
elnino_laptop | thanks radix - I won't blame you for any mishaps. | 04:01 |
+Radix-wrk | lemme know how you go :) | 04:01 |
+perlDreamer | I also like :!perl -wc % -I /data/WebGUI/lib | 04:02 |
+perlDreamer | for syntax checking perl code | 04:02 |
elnino_laptop | mmm good tip. Thanks | 04:07 |
+perlDreamer | for checking test code, you need an extra -I | 04:13 |
+perlDreamer | :!perl -wc % -I /data/WebGUI/lib -I /data/WebGUI/t/lib | 04:13 |
+perlDreamer | and for WRE code it would need a 3rd one, but I don't know the WRE path structure | 04:13 |
@preaction | those sound like good candiates for macros | 04:14 |
+perlDreamer | sounds like good fodder for my WUC talk | 04:17 |
+perlDreamer | after I finish these next tests, I'd love some feedback about the alternation system I build into the Shop::Tax. | 04:18 |
+perlDreamer | willing to review a patch? | 04:18 |
@preaction | sure | 04:19 |
elnino_laptop | so.. perlDreamer. If I was able to manage to create webgui session and create a cookie to store that sessionID from my MS machine, that wouldn't solve my problem unless i actually had a user tied to that session right? | 04:21 |
@preaction | right | 04:21 |
elnino_laptop | and taht user can be a dummy user, right? and still use my sql-based groups. | 04:23 |
@preaction | sure, but then all things will appear to be from that dummy user | 04:24 |
elnino_laptop | I'm likeing that idea better than changing your source. | 04:24 |
elnino_laptop | I'm going to see I can do that. | 04:25 |
+perlDreamer | okay, the goal is to allow people to be able to type in USA, or U.S.A, or other alternate names for a country, state or city | 04:27 |
+perlDreamer | svn rev 5737 | 04:27 |
@preaction | k | 04:28 |
+perlDreamer | https://svn.webgui.org/svnweb/plainblack/revision/?rev=5737 | 04:30 |
@preaction | can we use JSON or some other serialization language? | 04:30 |
+perlDreamer | vs CSV? Why? | 04:31 |
+perlDreamer | it's just tabular data | 04:31 |
@preaction | barring that, methods to pack / unpack that data then? so that if we find we need something more than just arrays of arrays we can use it? | 04:33 |
+perlDreamer | importTaxData and exportTaxData | 04:33 |
@preaction | USA?|U.S.(A.)?|United States( of America)?| <- i forsee regular expressions in your future | 04:34 |
+perlDreamer | nope, alternations | 04:34 |
+perlDreamer | | is translated to , in the import method | 04:34 |
+perlDreamer | so that I can use find_in_set to check for membership | 04:34 |
+perlDreamer | Just list them all explicitly | 04:34 |
+perlDreamer | I don't foresee most users knowing regular expressions | 04:35 |
@preaction | of course not, but is it 1:1 or can it be 1:many? | 04:35 |
+perlDreamer | 1:1 | 04:35 |
+perlDreamer | any in the set | 04:35 |
@preaction | so if the user says "USA" or "U.S.A" and also says "CA" or "California", the tax rate is 7.25% | 04:36 |
+perlDreamer | yes | 04:37 |
+perlDreamer | well, 7.25 + 0, technically | 04:37 |
+perlDreamer | since USA is defined as 0 | 04:37 |
+perlDreamer | in that test set | 04:37 |
@preaction | but if the user says "U.S.A", that still means they, in the end, typed "USA", right? | 04:38 |
@preaction | are you using this to parse / normalize user input? | 04:38 |
+perlDreamer | compare user input | 04:38 |
+perlDreamer | user enters in an address | 04:39 |
+perlDreamer | use the address to calculate sales tax rates | 04:39 |
+perlDreamer | from multiple sources | 04:39 |
@preaction | so they just type it out and you compare it to what you know | 04:39 |
+perlDreamer | yes | 04:39 |
+perlDreamer | and U.S.A would not match any entry in the system | 04:39 |
+perlDreamer | unless it was entered in that way | 04:39 |
@preaction | so in the end you need to be able to map X number of possibilities to one entry: USA | 04:39 |
+perlDreamer | ...yes... | 04:40 |
@preaction | i gotta go downstairs to show the house to the renter | 04:40 |
+perlDreamer | where the second entry is also user data | 04:40 |
@preaction | would that not be better off as a hash of arrays? someone enters that "THIS" is an alternative way of saying USA, and in all other places in the tax setup, only USA is used | 04:40 |
@preaction | so just one place it is defined that USA can also be "U.S." or "U.S.A" or "US" or "United States" | 04:41 |
@preaction | or maybe you already are doing that and i'm only seeing part of the picture | 04:41 |
+perlDreamer | there's no way to make it scale easily, across states, cities and countries | 04:42 |
@preaction | no, unfortunately. unless it's a db lookup map sort of thing | 04:42 |
+perlDreamer | right | 04:42 |
@preaction | a mysql table "id" => "value", then lookup by value | 04:42 |
@preaction | but still kinda ugly | 04:42 |
+perlDreamer | and it's a huge db that's constantly changing | 04:42 |
+perlDreamer | need to do itinerary review, bbiaw | 04:43 |
@preaction | k, i gotta go do some stuff too | 04:43 |
CIA-52 | WebGUI: colin * r5737 /branch/WebGUI_Commerce/ (4 files in 3 dirs): | 04:46 |
CIA-52 | WebGUI: Allow alternations in the tax data, so that it is case insensitive | 04:46 |
CIA-52 | WebGUI: and allows multiple definitions of an entry (like state, city or country) | 04:46 |
+perlDreamer | are 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 #webgui | 04:55 | |
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui | 04:56 | |
-!- mode/#webgui [+o rizen] by ChanServ | 04:56 | |
+perlDreamer | rizen: the alternations code is https://svn.webgui.org/svnweb/plainblack/revision/?rev=5737 | 04:57 |
+perlDreamer | is you'd like to review it | 04:57 |
elnino_laptop | do wgsessions time out after a while? | 04:59 |
+perlDreamer | yes, it's specified in the settings as to how long that is | 05:00 |
@rizen | i trust that it works, unless you're saying that you want me to review it | 05:00 |
elnino_laptop | thanks pd | 05:00 |
+perlDreamer | yes it works, but it doesn't do regular expressions. It lets the user define a list of alternates for country, city, state or code and does a case insensitive check | 05:00 |
CIA-52 | WebGUI: colin * r5738 /branch/WebGUI_Commerce/lib/WebGUI/Shop/Tax.pm: find_in_set seems to be case insensitive, natively. | 05:04 |
CIA-52 | WebGUI: colin * r5739 /WebGUI/lib/WebGUI/Group.pm: more POD for Group.pm | 05:04 |
@preaction | perlDreamer, i have a duplex, so i've been trying to get a tenant downstairs for a few months now | 05:07 |
@preaction | $350 for an ad in the local paper, or $70 on apartments.com, which reminds me that i forgot to ask the girl where she heard of it | 05:07 |
+perlDreamer | rizen: you're awfully quiet. Are you deciding whether to just kill me, or savagely maim me? | 05:08 |
@rizen | did you build the ui for it yet, or just the backend? | 05:08 |
@rizen | btw, i love all these csv files | 05:08 |
+perlDreamer | no UI yet. APIs first | 05:09 |
elnino_laptop | so. I'm logged in as admin, and trying to run a macro to start a new session. I suppose I have to logout for the macro to work. | 05:09 |
@rizen | badTaxTable.csv | 05:09 |
@preaction | not sure that macros will work that way | 05:09 |
@rizen | =) | 05:09 |
+perlDreamer | yeah, I'm lacking inspiration | 05:09 |
@rizen | no ui i see | 05:09 |
+perlDreamer | time for kids, back in 30. | 05:10 |
@preaction | oh, now i see how it all works | 05:12 |
@rizen | did you not see all the things i just posed | 05:12 |
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit [Remote closed the connection] | 05:13 | |
@rizen | posted | 05:13 |
+perlDreamer | to which "you" art thou referring, rizen? | 05:22 |
@rizen | what do you see preaction? | 05:23 |
@preaction | was just wondering how the data is stored | 05:23 |
@preaction | will there be one row for each member of an alternation? | 05:24 |
@rizen | no longer relevant | 05:24 |
+perlDreamer | multiple alternations are possible for location info for each row | 05:24 |
@preaction | so the row contains packed data? or is it normalized somehow? | 05:25 |
+perlDreamer | the row contians a bunch of text in column | 05:26 |
+perlDreamer | most columns may contain a CSV style list of possible entries that is flat text | 05:26 |
+perlDreamer | it's really just plain text | 05:27 |
@preaction | and that's what the find_in_set handles? | 05:28 |
+perlDreamer | yes | 05:28 |
@preaction | i see | 05:28 |
@preaction | that should work, no objections from me | 05:29 |
@rizen | i object just because preaction didn't | 05:37 |
@preaction | normalize your data you wanker! | 05:37 |
+perlDreamer | objection noted | 05:37 |
+perlDreamer | and what does "normalize" mean? | 05:37 |
+perlDreamer | you object to the multiple USA's in there? | 05:38 |
@preaction | it means basically no packing / serializing data in the database. it means a lot of joining tables | 05:38 |
@preaction | i was voicing JT's objections | 05:38 |
+perlDreamer | that wasn't JT's objection, because he said it needed to be done that way this morning | 05:39 |
@preaction | i imagine it may, in the end, come down to normalizing those data, but i don't see any reason for it right now and as long as the API can remain constant if it needs to be normalized we're golden | 05:40 |
@rizen | it won't come down to normalizing it ever | 05:48 |
+perlDreamer | I'll go back to working on the UI for Tax | 05:50 |
+perlDreamer | rizen, so Shop www_ methods are object methods, and not class methods like Operations? | 05:51 |
+perlDreamer | interesting | 05:51 |
@rizen | the reason i can say that with confidence is because eventually the tax system will need to be made pluggable just like shipping and payment methods | 05:52 |
@rizen | but for now, the tax system pd has created is 10x more flexible and powerful than the one we had | 05:57 |
+perlDreamer | it would help if I'd read the designdocs more carefully, though. | 05:57 |
+perlDreamer | You said tab delimited, not CSV | 05:57 |
@rizen | and will cover 90% of user's needs | 05:57 |
@rizen | depends on the module | 05:59 |
@rizen | for Shipping they are class methods | 06:01 |
CIA-52 | WebGUI: jt * r5740 /branch/WebGUI_Commerce/lib/WebGUI/ (Shop/Ship.pm Shop/Admin.pm Content/Shop.pm): beginnings of shipping mangement interface | 06:02 |
@rizen | for tax, cart they are object methods | 06:04 |
@preaction | did you guys want me to add Commerce to the nightly test box? | 06:06 |
+perlDreamer | sure! | 06:06 |
@rizen | and btw...operations aren't methods at all, they're procedural | 06:06 |
+perlDreamer | I stand corrected | 06:08 |
@rizen | shipping is a class method because shipping has no construcor | 06:10 |
@rizen | cus new() creates a driver | 06:12 |
elnino_laptop | is there any way to cycle the webgui logs? Mine gets really big ... | 06:12 |
+perlDreamer | shutdown webgui, echo '' > /var/log/webgui.log; restart webgui | 06:13 |
@rizen | not a WebGUI::Shop::Ship | 06:13 |
+Radix-wrk | elnino_laptop: no reason you couldn't use logrotate on them I'm sure | 06:13 |
elnino_laptop | ok. Thanks | 06:14 |
@rizen | i'll be checking it in in a few seconds so you can see what i mean | 06:15 |
-!- patspam [i=chatzill@ppp59-167-128-63.lns3.mel6.internode.on.net] has joined #webgui | 06:21 | |
@rizen | but the reason i decided to go with a content handler for the commerce stuff was so we could use method calls rather than proceedures | 06:22 |
@rizen | it gives us a bit more power | 06:24 |
@rizen | csv is fine | 06:24 |
@rizen | i don't really car | 06:25 |
+perlDreamer | Okay, I just don't want you to think I'm blowing off your initial design decisions. | 06:25 |
@rizen | care | 06:25 |
@rizen | i like tabs because there is more often commas in data | 06:29 |
@rizen | now if i was as big of a dick as everyone seems to think i am, i'd chew your ass out | 06:33 |
@rizen | ok, just checked in the start of the shipping management interface | 06:37 |
elnino_laptop | how do I find out if webgui.auth change since 7.2.1? | 06:38 |
@preaction | there may be bugfixes, but the API doesn't change | 06:40 |
@rizen | which includes the hand of www_do method so that the ship manager can hand off www_ requests to ship drivers | 06:42 |
elnino_laptop | I referted all my changes to what I was working on. One of my sales reps were complaining that webgui was crashing their browser. Once did it just "hang" for me, so I thought it was a fluke. Now that i've been playing with it, only some of my pages come up blank. Like source code is html, head, body, end body, end html | 06:42 |
-!- diakopter [n=diakopte@pdpc/supporter/active/diakopter] has joined #webgui | 06:43 | |
elnino_laptop | and it's doing this on only some pages. so I thought maybe it was my auth module, and noticed it was old (I copied it from 7.2.1 and made it redirect to my custom login page. That's the only difference. | 06:43 |
@rizen | the payment manager will have the same thing | 06:43 |
elnino_laptop | my laptop seems to render the apges fine, but It's vista and IE 7, I'm having the "blank" problems on 2000/IE6 | 06:44 |
elnino_laptop | I know this all sounds weird, and you probably think I'm crazy and perhaps I am. but I have NO idea what to look for. | 06:44 |
@rizen | or if you're using the WRE they'll get rotated automatically | 06:44 |
-!- diakopter [n=diakopte@pdpc/supporter/active/diakopter] has quit [Client Quit] | 06:45 | |
elnino_laptop | or why I'm possibly getting "blank" pages. | 06:45 |
-!- diakopter [n=diakopte@209.9.237.164] has joined #webgui | 06:45 | |
@rizen | methinks it's time to quit for the night | 06:45 |
elnino_laptop | is thhis where I say, it's on our production server? | 06:47 |
@preaction | elnino_laptop, that source code usually shows up when nothing was sent back from the site | 06:47 |
@preaction | i have no idea where you should start | 06:47 |
@rizen | get a fresh start tomorrow and get the shipping admin interface wrapped up | 06:47 |
@preaction | if it's a production server, i would probably suggest perhaps some sort of support contract so this won't happen in the future maybe? | 06:47 |
@rizen | i'm really pleased with how this is coming together | 06:49 |
elnino_laptop | this all happened befreo I started anything. I promise. I just thought the sales rep was crazy so I ignored him. It's client specific. | 06:49 |
@rizen | i don't know why i'm downloading it but i'm getting the iphone sdk | 06:50 |
+perlDreamer | why not? | 06:51 |
+perlDreamer | Everyone needs a hobby. | 06:51 |
elnino_laptop | preactioin: That's what I figured, why would something not be sent back from the site. That's why I thought maybe it was my auth module. | 06:51 |
+perlDreamer | Some people play video games, watch movies, or make games. | 06:51 |
elnino_laptop | I play french horn. | 06:52 |
@rizen | i have aspirations that i'll make some cool iphone/webgui interconnected thing, but i don't know what yet | 06:52 |
-!- rizen is now known as rizenisaway | 06:53 | |
CIA-52 | WebGUI: colin * r5741 /branch/WebGUI_Commerce/lib/WebGUI/Shop/Tax.pm: | 07:01 |
CIA-52 | WebGUI: Add a method for determining if users can access commerce functions, and | 07:01 |
CIA-52 | WebGUI: stub out www_view | 07: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, diakopter | 07:58 | |
-!- Netsplit over, joins: @Haarg, diakopter, ckotil | 07:58 | |
CIA-52 | WebGUI: graham * r5742 /WebGUI/docs/create.sql: preparing for 7.5.5 release | 08:02 |
-!- jdan [n=jdan@xdsl-461.lubin.dialog.net.pl] has joined #webgui | 08:12 | |
-!- ryuu_ro [n=rory@194.171.50.69] has joined #webgui | 08:44 | |
CIA-52 | WebGUI: jt * r5743 /releases/WebGUI_7.5.5-beta: Release 7.5.5-beta | 08:44 |
CIA-52 | WebGUI: jt * r5744 /translations/Polish/Polish/ (Asset.pm Asset_Image.pm WebGUI.pm Asset_Collaboration.pm): update_from_translation_server | 09: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 #webgui | 10: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 #WebGUI | 11: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 #webgui | 13: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 #webgui | 14: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-52 | WebGUI: jt * r5745 /translations/Polish/Polish/ (Asset.pm WebGUI.pm Asset_Collaboration.pm): update_from_translation_server | 14:21 |
-!- MrHairgrease [n=martin@194.171.50.69] has joined #webgui | 14:34 | |
-!- mode/#webgui [+v MrHairgrease] by ChanServ | 14:34 | |
CIA-52 | WebGUI: jt * r5746 /translations/French/French/Macro_LoginToggle.pm: update_from_translation_server | 14:40 |
knowmad | has anyone here added workflow to webgui? | 14:56 |
knowmad | and i don't mean the automated scripts, i'm talking about people processes | 14:57 |
+MrHairgrease | you mean things like multi layered aproval? | 14:58 |
+MrHairgrease | haven't done that yet | 14:58 |
knowmad | yes that kind of thing along with people able to track tasks and responsibilities associated with completing a project | 14:59 |
knowmad | have you ever looked at the Workflow modul on CPAN? | 14:59 |
knowmad | /perlbot | 14:59 |
knowmad | how does one use the perlbot? i thought i saw it return a link to a CPAN module once | 15:00 |
knowmad | in the meantime, here's the link http://search.cpan.org/~jonasbn/Workflow-0.31/ | 15:00 |
ckotil | knowmad: i do that. i created an approval process for some reports we insert into webgui w/ a versoin tag | 15:21 |
+MrHairgrease | perlbot help | 15:22 |
perlbot | (fact) : tell (who) about (what) : (what) > (who) : learn (what) as (info) : relearn (fact) as (info) : phone (phone #) : shorten (url) : shorten it : search (keyword) : cpan (module) : docs (module) : perldoc -f (function) : jargon (term) : math (expr): fortune : flip : host (type) (record) : rot13 (text) : roll (die) : tempconv (temp) : scramble (foo) : 8ball (question) : slap (who) : diss (who) : top/bottom (number) karma : geoip (ip) | 15:22 |
+MrHairgrease | perlbot cpan Workflow | 15:22 |
perlbot | Documentation for 'Workflow' can be found here: http://xrl.us/bhay2 | 15:22 |
-!- estiven [n=estiven@static-adsl201-232-86-73.epm.net.co] has joined #webgui | 15:25 | |
knowmad | sweet! thanks guys | 15:25 |
knowmad | ckotil: so you are using version tags for process approval? what if the process is 20 steps? | 15:26 |
ckotil | yes. thats fine. | 15:26 |
ckotil | workflow activities can have a waiting state. | 15:26 |
ckotil | my approval workflow(s) have about 5 or 6 steps. | 15:27 |
knowmad | but how is that connected to version control? | 15:27 |
knowmad | VC seems so wrong to me for managing tasks associated with a project | 15:28 |
ckotil | the report becomes an asset in webgui, and gets its own version tag | 15:28 |
ckotil | the version tag has a workflow associated with it | 15:28 |
ckotil | In this case, its my approval workflow w/ custom activities which ask a certain group of my users to review and approve the report. | 15:28 |
knowmad | oh, so you're process is built around a report | 15:29 |
knowmad | hmmm, we have a few docs associate with the process i'm trying to map | 15:29 |
knowmad | do wG workflows handle conditionals and branching? | 15:29 |
ckotil | yes, but we create the report outside of webgui based on our ticketing system, and then a cgi script feeds the report to webgui | 15:29 |
knowmad | what ticketing solution are you using? | 15:29 |
ckotil | conditionals yes. not sure what you mean by branching. | 15:30 |
ckotil | footprints. | 15:30 |
knowmad | not heard of that one | 15:30 |
ckotil | its not too popular. | 15:30 |
knowmad | i mean that if an approval gets denied at step 2, the workflow branches back to step 1 instead of moving forward to step 3 | 15:30 |
ckotil | we bought it years ago when it was just startup then Numera bought them out and now doesnt do much with it. | 15:30 |
+MrHairgrease | knowmad: versioning and workflow are two seperate systems | 15:30 |
+MrHairgrease | if someone changes content that need to go through an approval workflow a new version is created for that content and its asset is locked | 15:31 |
knowmad | yes, i'm beginning to wonder if i can glom onto webgui's workflow instead of add another module into the system; i just need to determine if it can support my needs | 15:31 |
ckotil | ah. if a versoin tag/report is denied, then the version tag gets opened back up and a new report is attached to it, replacing the original report | 15:31 |
+MrHairgrease | knowmad: it probably does | 15:31 |
ckotil | yeah its very flexible | 15:32 |
+MrHairgrease | ckotil: correct | 15:32 |
+MrHairgrease | it deletes teh versiontag | 15:32 |
+MrHairgrease | which contains that version | 15:32 |
ckotil | you can do both. delete the tag, or open it back up | 15:32 |
+MrHairgrease | this automatically rolls the non comitted versionback | 15:32 |
knowmad | ok, i see; i haven't done much with version approvals yet | 15:32 |
+MrHairgrease | true | 15:32 |
+MrHairgrease | anyways | 15:33 |
+MrHairgrease | the workflow system has in itself othing todo with versioning | 15:33 |
+MrHairgrease | knowmad: if the current system doesn't do what you want, you could write an activity that does | 15:33 |
ckotil | so there 3 types of workflow too. | 15:33 |
knowmad | basically what i need to build is a user-friendly interface for building workflows and a way to check status on them | 15:33 |
+MrHairgrease | the workflow system is pretty generic | 15:33 |
+MrHairgrease | ah | 15:34 |
+MrHairgrease | i see | 15:34 |
ckotil | err.3 types of workflow activities | 15:34 |
knowmad | this client will be running say 60-80 projects at any given time | 15:34 |
+MrHairgrease | i know jt had plans for making everything more visble and user freindly | 15:35 |
knowmad | i'm thinking this would mean that there are 60-80 runnings activities that spectre is watching and that i should be able to get the status of any of them | 15:35 |
+MrHairgrease | but you have to ask him about that | 15:35 |
knowmad | yeah, it looks like i'll be doing that | 15:35 |
+MrHairgrease | and i think that is shelved for noe | 15:35 |
knowmad | so a workflow has states right? | 15:35 |
+MrHairgrease | anyway, whether you go one way or the other | 15:35 |
ckotil | yes. | 15:35 |
+MrHairgrease | you still have to build stsus pages and stuff | 15:35 |
knowmad | can a state have custom fields? | 15:36 |
knowmad | i've really got to dig into the POD | 15:36 |
+MrHairgrease | using webgui's system just saves you a whole lot of work in implementing teh workflow | 15:36 |
+MrHairgrease | what do you mean with custom fiedl? | 15:36 |
knowmad | say i have a workflow with 20 states | 15:36 |
+MrHairgrease | no | 15:36 |
knowmad | maybe 10 of those are performed by user a and 10 by user b | 15:36 |
+MrHairgrease | states are the state of the activity | 15:37 |
knowmad | so i'd have 20 activities inside the workflow | 15:37 |
+MrHairgrease | you prolly mean if activities can store their own properties right? | 15:37 |
knowmad | here's where the terminology gets whacky to me | 15:37 |
knowmad | a workflow is a collection of activities but the activities are perl scripts called workflows (or are in the Workflow folder) | 15:37 |
+MrHairgrease | the state of an activity tell spectre what to do next | 15:38 |
knowmad | s/folder/namespace/ | 15:38 |
+MrHairgrease | no | 15:38 |
knowmad | so an activity can have custom fields and we could assign a user id to the custom field | 15:38 |
+MrHairgrease | activities are in webgui::workflow::activity | 15:38 |
knowmad | oh | 15:38 |
+MrHairgrease | yeah | 15:38 |
+MrHairgrease | but | 15:38 |
+MrHairgrease | only if the activity type is WebGUI::User | 15:39 |
+MrHairgrease | activities are being passed an object | 15:39 |
+MrHairgrease | which defines their type | 15:39 |
knowmad | yeah, that never made much sense to me | 15:39 |
+MrHairgrease | anyway, check out the WebGUI/Workflow/Activity directory | 15:39 |
+MrHairgrease | an the acivities in ther | 15:39 |
+MrHairgrease | e | 15:39 |
knowmad | yes, i see now | 15:39 |
+MrHairgrease | i wrote a bunch of activities to do all kinds of stuff | 15:40 |
knowmad | so if the activity type is WebGUI::User then I can assign an owner to the activity? | 15:40 |
knowmad | yeah, i can see that | 15:40 |
+MrHairgrease | no | 15:40 |
+MrHairgrease | i'm not sure if yo can do that | 15:40 |
knowmad | i think we need to do an Acme talk on Workflow this year at the WUC | 15:40 |
+MrHairgrease | it's the object that is passed to the activity | 15:40 |
knowmad | oh, so i'd still need a custom field | 15:40 |
+MrHairgrease | acme on workflow? | 15:41 |
knowmad | really all i need to do is track who is assigned to do the task | 15:41 |
+MrHairgrease | that talk will take some time to demonstrate | 15:41 |
+MrHairgrease | you can have as much custom fields as you like | 15:41 |
knowmad | there's probably some crazy stuff you could do with workflows | 15:41 |
+MrHairgrease | their in the definition method | 15:41 |
knowmad | and i'm sure you have some you've already done ;) | 15:41 |
+MrHairgrease | nah | 15:42 |
+MrHairgrease | i just let em pay my beer tab | 15:42 |
+MrHairgrease | =) | 15:42 |
knowmad | see, there's #1 | 15:42 |
knowmad | #2 is to get them to clean up the house | 15:42 |
+MrHairgrease | oeh | 15:42 |
+MrHairgrease | that is a good one | 15:43 |
knowmad | LOL | 15:43 |
knowmad | these little guys are going to be very useful | 15:43 |
knowmad | ok, thanks for the chat | 15:43 |
knowmad | back to the email grindstone | 15:44 |
+MrHairgrease | ok | 15:44 |
-!- SDuensin [n=Scott@53.sub-75-205-56.myvzw.com] has joined #WebGUI | 15:47 | |
SDuensin | Morning. | 15:53 |
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui | 15:54 | |
estiven | Morning | 16:04 |
estiven | Buenos días.. | 16:04 |
-!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui | 16: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 #webgui | 16:52 | |
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui | 16:56 | |
-!- mode/#webgui [+o rizen] by ChanServ | 16:56 | |
-!- BartJol [n=plainstu@194.171.50.123] has left #webgui [] | 17:00 | |
CIA-52 | WebGUI: jt * r5747 /translations/Dutch/Dutch/ (Asset_Calendar.pm Asset_Photo.pm Asset_Gallery.pm): update_from_translation_server | 17:03 |
-!- dionak [n=diona@97.66.185.250] has joined #webgui | 17:09 | |
-!- perlmonkey2 [n=perlmonk@casr-dev.fwsm2ppuser.ou.edu] has joined #webgui | 17:25 | |
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui | 17:46 | |
-!- mode/#webgui [+o preaction] by ChanServ | 17:46 | |
lisette | hello | 17:48 |
CIA-52 | WebGUI: jt * r5748 /translations/French/French/WebGUI.pm: update_from_translation_server | 17:48 |
lisette | i have a dblink | 17:48 |
lisette | and i do a select and i need obtain the first result, how to do? | 17:48 |
+MrHairgrease | use an sql report | 17:51 |
lisette | no, i need this in a macro | 17: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 |
+MrHairgrease | don't use resultset directly | 17:53 |
+MrHairgrease | you don't need too. | 17:53 |
lisette | YYthen it continues? | 17:53 |
lisette | ok, thanks | 17:53 |
+MrHairgrease | what do you mean with then it continues? | 17:53 |
lisette | i don't see you preview messagge | 17:53 |
+MrHairgrease | ok | 17:54 |
+MrHairgrease | actuall $session->db is a dblink too | 17:54 |
+MrHairgrease | to the webgui database | 17:54 |
+MrHairgrease | so every method you can call on session->db you can call on any dblink | 17:54 |
lisette | ok | 17:59 |
lisette | how to access of the first element $result[0] ? | 17:59 |
lisette | or 1 | 17:59 |
+MrHairgrease | what do you mean with the first result? | 18:00 |
lisette | yes | 18:00 |
+MrHairgrease | the first row? | 18:00 |
lisette | yes | 18:00 |
+MrHairgrease | the line i pasted returns an array containg the columns you selected. | 18:01 |
+MrHairgrease | so that method only returns one row | 18:01 |
+MrHairgrease | if you need only one column from one row you'd best use quickScalar | 18:02 |
lisette | Then you already got the first result? | 18:02 |
+MrHairgrease | the method i posted returns the first row returned by your query | 18:03 |
-!- ryuu_ro_ [n=rory@194.171.50.69] has quit [] | 18:03 | |
lisette | thanks | 18:05 |
-!- khenn [n=khenn@24-159-239-186.dhcp.mdsn.wi.charter.com] has joined #WebGUI | 18:08 | |
-!- mode/#webgui [+o khenn] by ChanServ | 18:08 | |
-!- khenn [n=khenn@24-159-239-186.dhcp.mdsn.wi.charter.com] has left #WebGUI [] | 18:09 | |
@rizen | MrHairgrease what's your progress with payment stuff? | 18:17 |
@rizen | it ok if it's not anything | 18:17 |
@rizen | just checking in | 18:17 |
+MrHairgrease | I'm still where I was last week | 18:17 |
@rizen | which is? | 18:17 |
+MrHairgrease | that is: | 18:17 |
+MrHairgrease | svn status | 18:19 |
+MrHairgrease | ? t/Shop/PayDriver.t | 18:19 |
+MrHairgrease | ? t/Shop/Pay.t | 18:19 |
+MrHairgrease | ? lib/WebGUI/Shop/PayDriver.pm | 18:19 |
+MrHairgrease | which are all pretty much finished | 18:19 |
@rizen | how come i don't see any of those in svn? | 18:19 |
+MrHairgrease | b/c I haven't tested them yet | 18:19 |
+MrHairgrease | I cannot reaaly test em w/o a payment plugin | 18:19 |
+MrHairgrease | which will be Cash | 18:20 |
+MrHairgrease | since that will be the most simple | 18:20 |
@rizen | ok since you are as far as you are, i have a question for you | 18:20 |
@rizen | do you think it would make more sense that WebGUI::Shop::Pay->new created a WebGUI::Shop::Pay object and that we created WebGUI::Shop::Pay->getShipper to create an instance of a shipper? | 18:21 |
@rizen | cuz i'm thinking for consistency sake that it would make more sense that way | 18:21 |
+MrHairgrease | Think so\ | 18:22 |
+MrHairgrease | but wasn't it meant to be like this anyway? | 18:22 |
@rizen | if you look at WebGUI::Shop::Ship in svn Pay was meant to be designed the same way as it is now | 18:22 |
@rizen | but i'm thinking about changing it so it has a real constructor rather than making all the methods be class methods | 18:23 |
+MrHairgrease | let me check | 18:23 |
@rizen | that was you don't have to pass session around all over the place | 18:23 |
+MrHairgrease | hang on | 18:23 |
+MrHairgrease | oh i see | 18:24 |
+MrHairgrease | there's no getShipper yet | 18:24 |
@rizen | right | 18:24 |
+MrHairgrease | just getSHippers | 18:24 |
@rizen | because new() does that | 18:24 |
@rizen | new is getShipper() right now | 18:24 |
@rizen | but i'm thinking that new should be the constructor for WebGUI::Shop::Ship rather than acting as getShpper() | 18:25 |
@rizen | and then there should be a getShipper() method | 18:25 |
+MrHairgrease | yes | 18:25 |
+MrHairgrease | I agree | 18:25 |
+MrHairgrease | b/c I thought it would work differently =) | 18:25 |
@rizen | ok i'll write WebGUI::Shop::Pay for you too then because it is just a copy of Ship | 18:25 |
@rizen | with some minor mods | 18:25 |
+MrHairgrease | ok | 18:26 |
+MrHairgrease | I was to work on it all day today, but the project I was working had a whole day of loose ends to tie up | 18:26 |
CIA-52 | WebGUI: jt * r5749 /translations/French/French/Invite.pm: update_from_translation_server | 18:27 |
@rizen | understood, it happens to me all the time | 18:27 |
@rizen | =) | 18:27 |
+MrHairgrease | I'll try to do the Cash driver this weekend | 18:27 |
+MrHairgrease | cannot promise that though | 18:27 |
@rizen | ok | 18:27 |
+MrHairgrease | last day I returned about 23.45 from th euniversity | 18:27 |
+MrHairgrease | so I really like some time off in the weekends =) | 18:28 |
+MrHairgrease | coding is fun however | 18:28 |
+MrHairgrease | so we'll see | 18:28 |
@rizen | also understood | 18:28 |
-!- BartJol [n=plainstu@194.171.50.123] has joined #webgui | 18: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-52 | WebGUI: graham * r5750 /WebGUI/ (4 files in 4 dirs): preparing for 7.5.6 dev | 18:47 |
CIA-52 | WebGUI: graham * r5751 /WebGUI/ (6 files in 5 dirs): added i18n for calendar | 18:47 |
CIA-52 | WebGUI: graham * r5752 /WebGUI/ (docs/changelog/7.x.x.txt lib/WebGUI/AssetExportHtml.pm): fixed: exporting as HTML leaks sessions for inaccessible assets | 18:47 |
CIA-52 | WebGUI: graham * r5753 /WebGUI/ (7 files in 4 dirs): new datepicker | 18:47 |
-!- MrHairgrease [n=martin@194.171.50.69] has left #webgui [] | 18:54 | |
CIA-52 | WebGUI: jt * r5754 /branch/WebGUI_Commerce/lib/WebGUI/ (5 files in 2 dirs): shipping is closer | 19:30 |
lisette | hello | 19:45 |
-!- bopbop [n=kmccombs@71-82-214-154.dhcp.mdsn.wi.charter.com] has quit [] | 20:09 | |
CIA-52 | WebGUI: graham * r5755 /WebGUI/ (4 files in 4 dirs): Use UTF8 for database connection when connecting to MySQL | 20:15 |
ckotil | anyone know how to mod_rewrite a cgi script w/ paremeters? nothing fancy i just want to redirect to a static page for a certain set of paremters. | 20:31 |
knowmad | have you checked the mod_rewrite cookbook? | 20:36 |
knowmad | http://rewrite.drbacchus.com/ | 20:37 |
ckotil | yeah. i just figured it out. QUERY_STRING pulls in the parameters | 20:41 |
ckotil | REQUEST_URI doesnt seem to. | 20:41 |
knowmad | please post it to the wiki | 20:41 |
knowmad | i just setup a page for this kind of stuff yesterday | 20:41 |
ckotil | RewriteCond %{QUERY_STRING} ^viewname=manlan-interfaces(.*) | 20:42 |
ckotil | RewriteRule ^/i2net/show-view-graphs.cgi /manlan/ [R] | 20:42 |
knowmad | hold on and i'll give you the link | 20:42 |
ckotil | thats what i had to do basically. | 20:42 |
ckotil | you think this would apply to your wiki entry? | 20:42 |
knowmad | http://www.webgui.org/community-wiki/customizing-wre-configuration | 20:43 |
knowmad | yes | 20:43 |
ckotil | hrmm | 20:49 |
ckotil | ill try to relate it to webgui. | 20:49 |
knowmad | yeah, i see your point | 20:51 |
knowmad | are you trying to take over the function of an old cgi script? | 20:51 |
knowmad | that could be a good angle for your entry | 20:51 |
-!- perlmonkey2 [n=perlmonk@casr-dev.fwsm2ppuser.ou.edu] has quit ["Leaving."] | 21:11 | |
CIA-52 | WebGUI: graham * r5756 /WebGUI/ (3 files in 3 dirs): fixed: changing image thumbnail size doesn't resize image | 21:17 |
ckotil | yeah, i like it. | 21:20 |
CIA-52 | WebGUI: graham * r5757 /WebGUI/ (docs/changelog/7.x.x.txt lib/WebGUI/Config.pm): fixed: loadAllConfigs loads hidden files | 21:35 |
CIA-52 | WebGUI: graham * r5758 /modules/Config-JSON/lib/Config/JSON.pm: croak with parse error instead of die | 21:35 |
CIA-52 | WebGUI: jt * r5759 /translations/Polish/Polish/WebGUI.pm: update_from_translation_server | 22:17 |
CIA-52 | WebGUI: graham * r5760 /WebGUI/ (2 files in 2 dirs): ensure proper XML for ITransact messages | 22:17 |
lisette | i can do a buildArray with WebGUI::DatabaseLink? | 22:19 |
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui | 22:22 | |
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [Remote closed the connection] | 22:22 | |
@rizen | you can do anything in WebGUI::SQL with a db link | 22:23 |
lisette | but i have a another database | 22:23 |
lisette | no wengui | 22:24 |
lisette | webgui | 22:24 |
@rizen | doesn't matter | 22:24 |
@rizen | if you have a database link you can do anything in WebGUI::SQL | 22:25 |
@rizen | buildArray quickHash, anything | 22:25 |
-!- jdan [n=jdan@xdsl-461.lubin.dialog.net.pl] has quit ["Leaving"] | 22:28 | |
CIA-52 | WebGUI: jt * r5761 /branch/WebGUI_Commerce/ (3 files in 3 dirs): added payment manager | 22:34 |
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui | 22:46 | |
CIA-52 | WebGUI: graham * r5762 /wrebuild/ (build.sh wre/lib/WRE/Config.pm): include drive letter for getRoot on windows | 23:02 |
-!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI | 23:04 | |
elnino | hello. | 23:04 |
elnino | totally different discussionfrom last nights. BTW, wierdness is gone. | 23:05 |
elnino | I see in 7.4.26 that we can put extra parameters in the db connection definition, and since the up grade, one of my queries no longer returns anything. I suspect its because of the LongReadLen issue. So I'm assuming that by adding this capability of adding db parameters, you had remove some ones that you had in the code. What were they so I can define them in this particular db connection so that it will work again? This db is notorias | 23:07 |
elnino | for long fields, and perl keeps truncating the data. | 23:07 |
elnino | Only reason i'm looking at the LongReadLen, because I bumped into this before in one of my modules and had to do convoluted things to my sql to return "short enough" data for the perl:dbi to work. The query I'm using now, is a sql report that I didn't have to modify before and it uses the db connection defined within webgui (where as my module didn't) hope that makes sense. | 23:14 |
CIA-52 | WebGUI: graham * r5763 /WebGUI/ (docs/changelog/7.x.x.txt lib/WebGUI/Keyword.pm): fixed: fatal error duplicate keywords added to a wiki page | 23:21 |
ckotil | knowmad: 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 #webgui | 23:59 | |
-!- mode/#webgui [+o preaction] by ChanServ | 23:59 | |
--- Day changed Sat Mar 08 2008 | ||
CIA-52 | WebGUI: graham * r5764 /branch/WebGUI_7.4/ (docs/changelog/7.x.x.txt lib/WebGUI/Asset/Event.pm): related links are now parsed out of related links text area | 00:03 |
@preaction | lord, you had to fix that? the 7.5 series changes that related links thing completely | 00:05 |
-!- dionak [n=diona@97.66.185.250] has quit [] | 00:22 | |
knowmad | ckotil: it's a start | 00:39 |
knowmad | i did add a note that the recipe could be useful for cases when replacing cgi scripts with webgui assets | 00: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 #WEBGUI | 02:04 | |
CIA-52 | WebGUI: jt * r5765 /branch/WebGUI_Commerce/lib/WebGUI/ (5 files in 3 dirs): very close to having ship driver management working | 02: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 #webgui | 02: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 #WebGUI | 03:25 | |
-!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI | 05:39 | |
-!- elnino_laptop [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI | 06: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 #webgui | 07:07 | |
-!- mode/#webgui [+o preaction_] by ChanServ | 07: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 #WebGUI | 16: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 #webgui | 17: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 #webgui | 18:48 | |
-!- mode/#webgui [+v MrHairgrease] by ChanServ | 18:48 | |
CIA-52 | WebGUI: frank * r5766 /WebGUI/ (4 files in 4 dirs): Added feature to allow users to determine whether new / unplaced assets are added to the top or bottom of the first content position of Layouts. | 19:33 |
CIA-52 | WebGUI: jt * r5767 /translations/French/French/Asset_Survey.pm: update_from_translation_server | 23:56 |
--- Day changed Sun Mar 09 2008 | ||
-!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui | 00: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 #webgui | 04:28 | |
-!- mode/#webgui [+v Radix_] by ChanServ | 04: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 #webgui | 04:32 | |
-!- mode/#webgui [+v Radix_] by ChanServ | 04:32 | |
-!- preaction_ [n=doug@static-72-1-4-143.ntd.net] has quit [Connection timed out] | 04:50 | |
CIA-52 | WebGUI: colin * r5768 /branch/WebGUI_Commerce/t/Shop/ShipDriver.t: | 06:51 |
CIA-52 | WebGUI: Fix failing Shop/ShipDriver.t tests. If the definition sub, fields was | 06:51 |
CIA-52 | WebGUI: changed to properties, and getName is now a class method that requires | 06:51 |
CIA-52 | WebGUI: a session variable. | 06:51 |
CIA-52 | WebGUI: colin * r5769 /branch/WebGUI_Commerce/t/Shop/ShipDriver/FlatRate.t: fix the same failing issues in ShipDriver in FlatRate | 06:51 |
CIA-52 | WebGUI: colin * r5770 /branch/WebGUI_Commerce/t/Shop/Ship.t: fix almost all the failing Ship tests | 07:31 |
CIA-52 | WebGUI: colin * r5771 /branch/WebGUI_Commerce/lib/WebGUI/Shop/ (ShipDriver.pm Ship.pm): | 07:31 |
CIA-52 | WebGUI: Tweak a little POD. | 07:31 |
CIA-52 | WebGUI: Fix a bad exception message. | 07:31 |
-!- perlDreamer [n=colink@65.203.133.169] has joined #webgui | 07:41 | |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 07: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 #webgui | 13:08 | |
-!- mode/#webgui [+o preaction_] by ChanServ | 13: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 #webgui | 15: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 #webgui | 17:12 | |
-!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui | 17:52 | |
CIA-52 | WebGUI: jt * r5772 /translations/French/French/Asset_Poll.pm: update_from_translation_server | 18: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-52 | WebGUI: jt * r5773 /translations/French/French/ (Asset_Survey.pm Asset_File.pm): update_from_translation_server | 20:31 |
CIA-52 | WebGUI: jt * r5774 /translations/French/notes.txt: update_from_translation_server | 20:31 |
-!- nuba [n=nuba@hq.imaterial.org] has quit ["Reconnecting"] | 21:29 | |
-!- nuba [n=nuba@hq.imaterial.org] has joined #webgui | 21:29 | |
-!- preaction_ [n=doug@static-72-1-4-143.ntd.net] has joined #webgui | 21:47 | |
-!- mode/#webgui [+o preaction_] by ChanServ | 21: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 #webgui | 01:20 | |
-!- mode/#webgui [+o preaction_] by ChanServ | 01:20 | |
-!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui | 01:44 | |
-!- mode/#webgui [+v Radix-wrk] by ChanServ | 01: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 #WebGUI | 04:50 | |
CIA-52 | WebGUI: colin * r5775 /branch/WebGUI_Commerce/lib/WebGUI/SQL.pm: More POD for SQL, read method | 06:50 |
CIA-52 | WebGUI: colin * r5776 /branch/WebGUI_Commerce/lib/WebGUI/SQL/ResultSet.pm: more POD for SQL::Result, documenting what read does | 06:50 |
CIA-52 | WebGUI: colin * r5777 /branch/WebGUI_Commerce/ (3 files in 3 dirs): | 06:50 |
CIA-52 | WebGUI: Add i18n for Tax, for the UI. | 06:50 |
CIA-52 | WebGUI: Begin to flesh out the DataTable JS for www_view. Add a method to slurp all the | 06:50 |
CIA-52 | WebGUI: tax data out of the db at once. | 06:50 |
CIA-52 | WebGUI: Add a test for the slurp method, and stop using the private sub that used to | 06:50 |
CIA-52 | WebGUI: do it in the tests. | 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 #webgui | 07: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 #webgui | 07:24 | |
cntry | Is webgui based on php? | 07:26 |
+Radix-wrk | no | 07:27 |
+Radix-wrk | webgui is written in perl | 07:27 |
cntry | thanks' | 07:28 |
cntry | Have a site up since 01 using postnuke, but it now getting slammed by hackers, so thought I would give this a try. | 07:30 |
@apeiron | cntry, I'd say to try a demo first: demo.plainblack.com | 07:31 |
cntry | just started one, will work on it tomorrow and see how it works. | 07:31 |
@apeiron | You may want to create another one tomorrow. They last 24 hours. | 07:32 |
@apeiron | If you want to try it out on your machines for longer than that, by far the easiest route would be to use the WRE (WebGUI Runtime Environment) if you're on a supported platform. Comes with everything you need to run WebGUI all in one archive. | 07:33 |
+Radix-wrk | or heck, use the vmware image | 07:36 |
+Radix-wrk | easy backup and restore then with vmware server | 07:36 |
@apeiron | Hmm, true. Good point. | 07:37 |
cntry | I dont have a linux server setup at home right now. | 07:37 |
+Radix-wrk | vmware server is free for windows | 07:37 |
cntry | It will be going on a redhat 5 server if I decide to use it | 07:37 |
@preaction_ | WRE has a windows build too | 07:37 |
@apeiron | And Mac. | 07:37 |
@preaction_ | freebsd and openbsd too | 07:38 |
@apeiron | And the PB developers by and large develop using the WRE on Mac, so you can be pretty sure the WRE works. :) | 07:38 |
@preaction_ | though the open one is old since i can't get the 0.8.3 WRe to compile | 07:38 |
@apeiron | preaction_, Got an error log? | 07:38 |
@preaction_ | not anymore. i think the box itself is dying. lots of spontaneous reboots | 07:38 |
@preaction_ | but nothing in dmesg, so i'm thinking power supply | 07:39 |
@apeiron | hrm. I'll take a look at it in VMWare. | 07:39 |
@preaction_ | but it's late and tomorrow's monday, so i'm going to get some sleep | 07:39 |
@apeiron | heh, g'night sir. | 07:39 |
+Radix-wrk | nite | 07:39 |
@preaction_ | i know you at least need the latest OpenSSL in order to get the WRE to compile | 07:40 |
cntry | So to run on linux server I will have to install WRE? | 07:40 |
@preaction_ | cntry, no | 07:40 |
@apeiron | cntry, You don't *have* to. | 07:40 |
@preaction_ | but it's just so much easier | 07:40 |
+Radix-wrk | it IS the easiest way to install webgui tho | 07:40 |
@apeiron | cntry, WRE is "download tarball. Extract tarball. Read install.txt. Follow step by step instructions. go." | 07:40 |
cntry | ok Ill look at it in the morning | 07:41 |
@apeiron | cntry, Trust me, you'll spend more time downloading the tarball than you will reading the install.txt. :) | 07:41 |
cntry | cool | 07:41 |
@apeiron | cntry, By the way, which Linux will this be on? | 07:42 |
cntry | my host shouldn't have a problem with WRE install? | 07:42 |
@apeiron | hmm. | 07:42 |
cntry | Redhat 5 I believe | 07:42 |
@apeiron | RH EL 5? | 07:42 |
cntry | yeah | 07:42 |
@apeiron | Yeah, there's a tarball for the latest WRE. | 07:43 |
@apeiron | As for your host, well, hmm. | 07:43 |
+Radix-wrk | you got root on that box? | 07:43 |
@apeiron | The WRE comes with everything you need, including An apache setup that's fine-tuned to work well for WebGUI. | 07:43 |
@apeiron | So yeah, it works best if you have root privs. | 07:44 |
@apeiron | However, if you're just doing postnuke on that host, PB does WebGUI hosting. | 07:44 |
cntry | don't believe so, is a virtual host with cpanel etc. | 07:44 |
+Radix-wrk | virtual private server account? or just another user on a big machine with lots of other users? | 07:45 |
cntry | will email them in the morning and ask | 07:45 |
+Radix-wrk | if the latter, then you're going to have a much harder time installing it | 07:45 |
+Radix-wrk | I have a cheap $15/month vps account I run webgui on myself | 07:46 |
cntry | Just another user, have a reseller account can add domains and users, but I am one of many | 07:46 |
cntry | http://www.networkredux.com/reseller.html | 07:48 |
+Radix-wrk | Don't think you'll be able to run webgui on that kind of account imho | 07:49 |
+Radix-wrk | It may be possible.. I don't know | 07:50 |
@apeiron | It'd be messy setting up WebGUI's Apache to play nicely with the httpd they're running. | 07:50 |
@apeiron | Not to mention database stuff. | 07:51 |
+Radix-wrk | well.. database side of things is fairly standard mysql - but apache config is definitely custom and requires root lvl privs | 07:52 |
+Radix-wrk | perl stuff you can workaround using same method as wre | 07:52 |
cntry | Sent off an email top see what they say, will know by morning. | 07:56 |
+Radix-wrk | Good Luck :) | 07:57 |
cntry | How tough is the layout or templates?? | 07:58 |
+Radix-wrk | there's an excellent wiki article that guides you through creating your first page layout | 07:58 |
+Radix-wrk | templates aren't that hard either, but you need to know your html/css to get the best results | 07:59 |
@apeiron | cntry, It works *kind of* like PHP except that the templates contain spots where you include values determined in the Perl code, rather than code and variables mixed. | 07:59 |
+Radix-wrk | you don't have to know a scrap of code to be able to work with webgui tho | 07:59 |
@apeiron | cntry, So you'd have something like: Hello <strong><tmpl_var user.name></strong>! | 07:59 |
cntry | Here is the site I am going to swap to gui would like to keep the layout http://www.123az.com/rideaz/ | 07:59 |
@apeiron | And it'd take the value of user.name defined in the Perl and put it there in the output. | 07:59 |
@apeiron | cntry, WebGUI is really, really flexible in terms of templates. You can customise so much of how it does things. | 08:00 |
@apeiron | cntry, I'm glad to see the current site is using XHTML, as WebGUI does as well. | 08:01 |
cntry | cool, just going to have to learn pearl I guess, not much of a coder | 08:01 |
@apeiron | Depends upon what you need to do. | 08:01 |
+Radix-wrk | you shouldn't need to learn perl imho | 08:01 |
cntry | cool | 08:01 |
+Radix-wrk | that's the beauty of webgui | 08:01 |
@apeiron | As Radix-wrk said, you don't need to know perl to change how a site looks. | 08:01 |
+Radix-wrk | almost everything is templates and fully customisable | 08:02 |
+Radix-wrk | you design a template once.. reuse everywhere you want | 08:02 |
@apeiron | hmmmm | 08:02 |
cntry | can use dreamweaver for a lot of it then? | 08:03 |
+Radix-wrk | there's a built in html editor that will help you.. but yeah, advanced layout is best done in something like dreamweaver, etc | 08:04 |
@apeiron | cntry, You may want to take a look at cmsmatrix.org and compare some products there. | 08:04 |
cntry | just bought cs3 web premium so should have all I need except talent....... | 08:05 |
@apeiron | cntry, WebGUI has versioning just like Postnuke (according to cmsmatrix) so you can rollback an ugly design or two. :) | 08:06 |
cntry | Thanks for all the info, will see what I can come up with in the morning and probably be back for more advise. | 08:09 |
cntry | Night all or good afternoon as the case might be............ | 08:10 |
@apeiron | Early morning for me... | 08:10 |
* apeiron coughs. | 08:10 | |
+Radix-wrk | afternoon here :) | 08:11 |
-!- cntry [n=Lucky@74-36-44-233.br1.shlw.az.frontiernet.net] has quit ["Holy Crap, what did that button do??"] | 08:11 | |
-!- Haarg [n=haarg@24-177-119-178.dhcp.mdsn.wi.charter.com] has joined #webgui | 08:13 | |
-!- mode/#webgui [+o Haarg] by ChanServ | 08: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 #webgui | 08:34 | |
-!- mode/#webgui [+v Radix-wrk] by ChanServ | 08: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 #webgui | 08:43 | |
-!- mode/#webgui [+v Radix-wrk] by ChanServ | 08:43 | |
-!- ryuu_ro [n=rory@194.171.50.69] has joined #webgui | 08:45 | |
-!- Radix-wrk [n=Jesse@203.161.68.67] has quit ["Leaving"] | 09:49 | |
-!- AMH_bo1 [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui | 09:58 | |
-!- BartJol [n=plainstu@194.171.50.123] has joined #webgui | 10:18 | |
-!- jdan [n=jdan@xdsl-461.lubin.dialog.net.pl] has joined #webgui | 10:52 | |
jdan | Does anybody know anything about gorupId=2? I am reading modules which manipulate messages. And found return $session->privilege->insufficient() unless ($session->user->isInGoroup(2)); | 11:05 |
jdan | The problem is there is no groupeId 2 in my database | 11:06 |
+Radix_ | Hmm.. 1 is visitor | 11:06 |
+Radix_ | 3 is admin | 11:06 |
+Radix_ | no idea what 2 is | 11:06 |
jdan | So look at /WebGUI/Operation/Inbox.pm | 11:08 |
jdan | Every finctions begin someting "return $session->privilege->insufficient() unless ($session->user->isInGoroup(2)); " | 11:09 |
+Radix_ | I'd have to suggest you wait until preaction/Haarg or one of the PB guys can help | 11:09 |
jdan | ok, thx | 11:10 |
jdan | I found. In module WebGUI/User.pm there is function isGroup. In it's code there is condition: return 1 if ($gid eq '2' && $uid ne '1'); # if you're not a visitor, then you're a registered user | 11:14 |
jdan | So 2 means registered user | 11: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 #webgui | 12: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-52 | WebGUI: jt * r5778 /translations/French/French/WebGUI.pm: update_from_translation_server | 14:06 |
-!- BartJol [n=plainstu@194.171.50.69] has joined #webgui | 14:12 | |
-!- SDuensin [n=Scott@240.sub-75-206-117.myvzw.com] has joined #WebGUI | 14:51 | |
SDuensin | Morning. | 14:52 |
BartJol | morning | 15:24 |
AMH_bo1 | Morning! | 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 #webgui | 16:05 | |
-!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui | 16:09 | |
-!- mode/#webgui [+o Haarg] by ChanServ | 16:09 | |
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui | 16:09 | |
-!- mode/#webgui [+o rizen] by ChanServ | 16:09 | |
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui | 16:52 | |
-!- preaction_ [n=doug@static-72-1-4-143.ntd.net] has joined #webgui | 16:55 | |
-!- mode/#webgui [+o preaction_] by ChanServ | 16:55 | |
-!- AMH_henry [n=henry@alphamega-dmp.xs4all.nl] has left #webgui [] | 17:17 | |
CIA-52 | WebGUI: graham * r5779 /WebGUI/docs/ (2 files in 2 dirs): fixed: event related links may not work with some group names | 17:19 |
-!- lisette [n=liraos@static-adsl201-232-86-73.epm.net.co] has joined #webgui | 17: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 #webgui | 17:26 | |
-!- mode/#webgui [+v Radix_] by ChanServ | 17: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 #webgui | 17:43 | |
-!- AMH_henry [n=henry@alphamega-dmp.xs4all.nl] has joined #webgui | 17:50 | |
jdan | I need mail system for organizing procedural communcations at www service, where each message have special, non printed data. These data can be parsed by some operatins and wobject functions. I plane hidding default Inbox operations and make new wobject for writing and reading messages. The question is, for what else, besides user communications, is needed standard Inbox? Can I adept reader's behaviour? | 17:52 |
@preaction_ | user communications, approval messages, but if the user has a configured email address they get emailed anything that goes in their inbox | 17:55 |
jdan | Sory, Can I adapt ... | 17:55 |
-!- BartJo1 [n=plainstu@194.171.50.123] has joined #webgui | 17:56 | |
jdan | I read at package WebGUI::Inbox that it is for workflow | 17:57 |
jdan | So I don't know what I can block | 17:57 |
@preaction_ | approval messages, yes | 17: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 |
jdan | ok, understnd. better I make additinaly servce | 17:58 |
jdan | And second question, when and where WebGUI sneds email? Immediately after sending message or in background (spectre ...)? | 18:00 |
@rizen | you can choose | 18:00 |
@rizen | my $mail = WebGUI::Mail::Send->new | 18:00 |
@rizen | $mail->queue | 18:01 |
@rizen | $mail->send | 18:01 |
jdan | thanks | 18:01 |
-!- ryuu_ro [n=rory@c529ce350.cable.wanadoo.nl] has joined #webgui | 18:04 | |
-!- khenn_ [n=khenn@24-159-239-186.dhcp.mdsn.wi.charter.com] has joined #WebGUI | 18: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 #webgui | 18: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 | |
dionak | i'm trying to put together an idea on how to process a file upload and decide if this can be done via a workflow. We have a form created with a file upload field. We want to call an import script, with post parameters, to process the uploaded file upon post. A collaboration system is attractive because we could track file versions. Does this sound like a reasonable solution? | 18:35 |
dionak | The 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() sub | 18:38 |
dionak | How could that work with the form? There is extra meta-data in addition to the file. | 18:39 |
@preaction_ | add it to the asset properties | 18:39 |
dionak | Can this solution be made to look like a normal web form by placing the asset on the page with the Style template applied? Trying to visualize... | 18:42 |
@preaction_ | of course | 18:43 |
@preaction_ | override www_edit to show getEditForm within a style template | 18:43 |
dionak | excellent! thanks doug! You've just saved me a lot of time. i'll start looking into this. | 18:43 |
dionak | It makes a lot of sense. | 18:44 |
dionak | Do I need to create a new table for the subclass? | 18:44 |
@preaction_ | yep | 18:44 |
dionak | k, thanks again. | 18:44 |
@preaction_ | there should be a tutorial on the wiki for creating assets. otherwise you'll have wait for the dev guide | 18:45 |
dionak | i'll check out the tutorial. | 18:48 |
dionak | i've created an asset before (once) but it's been a while. | 18:48 |
CIA-52 | WebGUI: jt * r5780 /translations/French/French/Asset_Survey.pm: update_from_translation_server | 18: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 | |
lisette | hello | 19:21 |
lisette | how to init a session with another user in a macro? | 19:21 |
@preaction_ | WebGUI::Session->new( $userId ) ; i think | 19:28 |
-!- ryuu_ro [n=rory@c529ce350.cable.wanadoo.nl] has quit [] | 19:28 | |
lisette | thanks | 19:34 |
CIA-52 | WebGUI: jt * r5781 /translations/French/French/Asset_Survey.pm: update_from_translation_server | 19:36 |
-!- chiggsy [n=chiggsy@lcc.wbb.net.cable.rogers.com] has joined #webgui | 19:43 | |
-!- MrHairgrease [n=martin@wlan-145-94-219-181.wlan.tudelft.nl] has joined #webgui | 20:11 | |
-!- mode/#webgui [+v MrHairgrease] by ChanServ | 20:11 | |
-!- bopbop [n=kmccombs@71-82-214-154.dhcp.mdsn.wi.charter.com] has quit [] | 20:12 | |
perlmonkey2 | dear lord YUI adds a lot of code for each little widget you add in. This stuff just builds up until you have 4,000,000 lines of code and 3 widgets on the screen. | 20:13 |
* perlmonkey2 isn't even exaggerating. | 20:14 | |
perlmonkey2 | quiet today. | 20:16 |
perlmonkey2 | oh...lunch time | 20: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 #webgui | 20:54 | |
-!- jua1 [n=juangui@static-adsl201-232-86-73.epm.net.co] has joined #webgui | 21:56 | |
jua1 | hello | 21:56 |
jua1 | i want to create some fields and show them at registration. the thing is that i want to create a field like a select list where the users have four answers, if the users anwser threeof them i ahve to show an additional two fields, but if the user check the four option i will not show the additional fields | 22:00 |
jua1 | is it posible? | 22:00 |
@preaction_ | yes | 22:06 |
jua1 | how? | 22:15 |
@preaction_ | make a new form control to handle it | 22:16 |
jua1 | ah | 22:29 |
-!- SDuensin [n=Scott@240.sub-75-206-117.myvzw.com] has quit ["Leaving"] | 22:54 | |
CIA-52 | WebGUI: jt * r5782 /translations/French/French/Asset_Survey.pm: update_from_translation_server | 22: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 #webgui | 00:07 | |
-!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: perlbot, chiggsy, @apeiron | 00:13 | |
-!- Netsplit over, joins: @apeiron, chiggsy, perlbot | 00:14 | |
-!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"] | 00:23 | |
CIA-52 | WebGUI: graham * r5783 /WebGUI/ (docs/changelog/7.x.x.txt lib/WebGUI/Asset/Event.pm): fixed: events get start/end time even when none specified (also can offset start/end day | 00:29 |
CIA-52 | WebGUI: graham * r5784 /branch/WebGUI_7.4/lib/WebGUI/Asset/Event.pm: document related links regex | 00: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 #webgui | 00:39 | |
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI | 00: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 #webgui | 01: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 #webgui | 01:22 | |
-!- mode/#webgui [+v Radix-wrk] by ChanServ | 01:22 | |
-!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui | 01:26 | |
-!- cap10morgan [n=cap10mor@h19-afsc.ded.indra.com] has joined #webgui | 01:34 | |
cap10morgan | does 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 | |
cap10morgan | i have a site where most pages specify utf-8 as their charset, except for a page where i have httpproxy wobject | 01:38 |
cap10morgan | where it comes out as 8859-1 | 01:38 |
cap10morgan | very weird | 01: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 #webgui | 02:41 | |
-!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has left #webgui [] | 02:41 | |
-!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui | 02:41 | |
dionak | hey guys... | 02:42 |
dionak | are you guys still working? | 02:42 |
dionak | not sure if you've seen but we've been releasing WG in our press releases. http://charlotte.dbusinessnews.com/shownews.php?newsid=152693&type_news=past | 02:43 |
dionak | there are others | 02: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 #webgui | 04:14 | |
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui | 04:36 | |
-!- cap10morgan [n=cap10mor@h19-afsc.ded.indra.com] has quit [] | 04:44 | |
-!- cap10morgan [n=cap10mor@h19-afsc.ded.indra.com] has joined #webgui | 04:46 | |
-!- cap10morgan [n=cap10mor@h19-afsc.ded.indra.com] has quit [] | 04:51 | |
-!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: perlbot, @apeiron | 05:02 | |
-!- Netsplit over, joins: @apeiron, perlbot | 05: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 #webgui | 05:05 | |
-!- mode/#webgui [+o apeiron] by ChanServ | 05: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 #webgui | 05:42 | |
-!- cap10morgan [n=cap10mor@h19-afsc.ded.indra.com] has quit [] | 06:14 | |
-!- cap10morgan [n=cap10mor@h19-afsc.ded.indra.com] has joined #webgui | 06:20 | |
-!- cap10morgan [n=cap10mor@h19-afsc.ded.indra.com] has quit [Remote closed the connection] | 06:20 | |
-!- ryuu_ro [n=rory@194.171.50.69] has joined #webgui | 09: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 #webgui | 10:22 | |
-!- jdanpl [n=jdan@xdsl-461.lubin.dialog.net.pl] has joined #webgui | 10:48 | |
-!- Haarg [n=haarg@24-177-119-178.dhcp.mdsn.wi.charter.com] has joined #webgui | 11:05 | |
-!- mode/#webgui [+o Haarg] by ChanServ | 11:05 | |
-!- jdan [n=jdan@xdsl-461.lubin.dialog.net.pl] has quit [Read error: 110 (Connection timed out)] | 11: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 #webgui | 11:37 | |
-!- BartJol [n=plainstu@194.171.50.123] has joined #webgui | 11: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 #webgui | 12: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 #webgui | 13: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 #webgui | 14:08 | |
-!- MrHairgrease [n=martin@194.171.50.69] has joined #webgui | 14:19 | |
-!- mode/#webgui [+v MrHairgrease] by ChanServ | 14:19 | |
jdanpl | Does WebGUI library has function to quote replayed message? | 14:25 |
-!- ryuu_ro_ [n=rory@194.171.50.69] has joined #webgui | 14:48 | |
-!- ryuu_ro [n=rory@194.171.50.69] has quit [Read error: 104 (Connection reset by peer)] | 14: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 #WebGUI | 15:11 | |
SDuensin | Greetings. | 15:23 |
+MrHairgrease | Greasings! | 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 #webgui | 15: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 #webgui | 15:46 | |
-!- mode/#webgui [+o rizen] by ChanServ | 15:46 | |
+MrHairgrease | rizen, is PayDriver->definition meant to be a class method? | 15:48 |
@rizen | yes | 15:48 |
+MrHairgrease | ok | 15:49 |
@rizen | just like assets, workflow activities, and ship drivers | 15:49 |
+MrHairgrease | ok | 15: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 #WebGUI | 16:06 | |
-!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui | 16:12 | |
-!- mode/#webgui [+o Haarg] by ChanServ | 16:12 | |
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui | 16:14 | |
-!- perlmonkey3 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui | 16: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 perlmonkey2 | 16:44 | |
-!- perlmonkey3 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui | 16:53 | |
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [Nick collision from services.] | 16:53 | |
-!- perlmonkey3 is now known as perlmonkey2 | 16:53 | |
-!- perlmonkey3 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui | 16:57 | |
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [Nick collision from services.] | 16:57 | |
-!- perlmonkey3 is now known as perlmonkey2 | 16:58 | |
-!- juan [n=juangui@static-adsl201-232-86-73.epm.net.co] has joined #webgui | 17:00 | |
juan | can i create in a survey a question with multiple answer but the user can answer several options too | 17:09 |
-!- lisette [n=liraos@static-adsl201-232-86-73.epm.net.co] has quit ["Leaving."] | 17:23 | |
+MrHairgrease | rizen: quick question | 17:34 |
+MrHairgrease | in the WG::S:Pay->addPaymentGateway you created you call create via WG::Plug::instanciate with only session and options, while cthe create method reuires you to pass a label as well | 17:35 |
+MrHairgrease | my question: do you want addPaymentGateway to also require a label? | 17:35 |
+MrHairgrease | if not, then how should the label be constructed. | 17:36 |
+MrHairgrease | rizen: other question. In you code you call the table paymentGateway, but I used payment_Gateway in mine (as was in the docs). Which one do you prefer? | 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 #webgui | 18:19 | |
-!- mode/#webgui [+o preaction_] by ChanServ | 18:19 | |
+MrHairgrease | rizen: used paymentGateway in stead of payment_Gateway | 18:26 |
+MrHairgrease | seems nicer anyway | 18:26 |
-!- BartJo1 [n=plainstu@194.171.50.69] has left #webgui [] | 18:34 | |
@rizen | mrhairgrease...yes labels are good | 18:41 |
@rizen | paymentGateway | 18:42 |
+MrHairgrease | ah | 18:44 |
+MrHairgrease | just committed all my stuff | 18:44 |
+MrHairgrease | put in a TEMPORARY_LABEL label for the time being | 18:44 |
+MrHairgrease | and a test failing as long as that's there | 18:45 |
+MrHairgrease | will change it | 18:45 |
+MrHairgrease | why don't shipdrivers have a label, btw? | 18:45 |
perlmonkey2 | woohooo, on my most expensive operations, I'm getting <100ms ajax calls. | 18:47 |
perlmonkey2 | So latency+100ms will be the user experience for each event in the survey. sweet! | 18:48 |
+MrHairgrease | is that corrected for timezone differences? | 18:48 |
perlmonkey2 | not quite fast enough if it was a FPS, but plenty fast enough for dragging around objects and submitting updates. | 18:48 |
* perlmonkey2 goes to the Indian buffet to celebrate. | 18:49 | |
CIA-21 | WebGUI: martin * r5786 /branch/WebGUI_Commerce/ (8 files in 5 dirs): | 19:00 |
CIA-21 | WebGUI: - Added tests for Pay | 19:00 |
CIA-21 | WebGUI: - Fixed some tests/code for PayDriver | 19:00 |
CIA-21 | WebGUI: - Added i18n for PayDriver | 19:00 |
CIA-21 | WebGUI: - Added a really, really bare-bones Cash plugin. | 19:00 |
-!- dionak [n=diona@97.66.185.250] has joined #webgui | 19:07 | |
-!- MrHairgrease [n=martin@194.171.50.69] has left #webgui [] | 19:17 | |
CIA-21 | WebGUI: martin * r5787 /branch/WebGUI_Commerce/ (t/Shop/Pay.t lib/WebGUI/Shop/Pay.pm): Require a label to be passed to WebGUI::Shop::Pay->addPaymentGateway | 19:20 |
@apeiron | perlmonkey2, <100ms, very nice! | 19:21 |
@apeiron | perlmonkey2, 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 #webgui | 20:02 | |
wgGuest31 | hello | 20:02 |
wgGuest31 | i can return an array from a macro and process with javascript? | 20:03 |
@preaction_ | yes | 20:06 |
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has joined #webgui | 20:08 | |
-!- mode/#webgui [+v MrHairgrease] by ChanServ | 20:08 | |
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit [] | 20:16 | |
perlmonkey2 | apeiron: hah, no this is on my dev server | 20:18 |
perlmonkey2 | granted it is on the same subnet. | 20:18 |
@apeiron | perlmonkey2, Still pretty good. | 20:19 |
perlmonkey2 | yes, I'm very happy. Doing the normal WG session work, then my queries and munging, and getting the response back in under 100ms using a 2.4Ghz P4 with an old ata100 drive as a server isnt' too shabby. | 20:20 |
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui | 20:20 | |
-!- mode/#webgui [+o rizen] by ChanServ | 20:20 | |
+MrHairgrease | anybody seen Test::Exception? | 20:23 |
+MrHairgrease | it could replace the ugly exception tests we have now | 20:23 |
+MrHairgrease | if only it was possible to get the error message | 20:23 |
+MrHairgrease | well, check the error message that is | 20:24 |
+MrHairgrease | in stead of only chceking the exception class... | 20:24 |
+MrHairgrease | but | 20:24 |
+MrHairgrease | maybe it is an idea to have a helper function that does | 20:24 |
@preaction_ | i think colin looked at test::exception, dunno what his thoughts were on i | 20:38 |
@preaction_ | t | 20:38 |
dionak | does anyone know why the wre is compiled without support for Innodb? | 20:40 |
dionak | or, i should say, mysql is compiled in the WRE without support for Innodb tables | 20:41 |
@preaction_ | because we don't use it and it saves on the size (however minutely) | 20:41 |
@preaction_ | jt would be able to answer that, but he's afk today | 20:41 |
-!- juan [n=juangui@static-adsl201-232-86-73.epm.net.co] has left #webgui [] | 20:42 | |
dionak | we're needing innodb for a linked database. | 20:42 |
dionak | I'm debating our options | 20:42 |
@preaction_ | recompile without the --without-innodb flag | 20:43 |
dionak | it's on windows.. | 20:43 |
@preaction_ | oh. ew | 20:43 |
@preaction_ | uhmm.... | 20:43 |
dionak | yea.. | 20:43 |
dionak | I wonder how are the WRE binaries are compiled for windows? | 20:44 |
@preaction_ | couldn't tell you. should be in the https://svn.webgui.org/plainblack/wrebuild somewhere i think. | 20:44 |
@preaction_ | otherwise, it might be easier to disable the wre's mysql and replace it with your own | 20:45 |
dionak | that may be what we end up doing. I didn't see any mention of windows in the wrebuild src | 20:45 |
@Haarg | there isn't an automated build system for windows | 21:16 |
@Haarg | i don't actually know where the mysql we're using comes from | 21:16 |
@Haarg | i would assume it is one of the standard mysql builds though | 21:16 |
@Haarg | seems odd it wouldn't have innodb | 21:17 |
-!- jdanpl [n=jdan@xdsl-461.lubin.dialog.net.pl] has joined #webgui | 21:20 | |
dionak | turns out it was disabled in the mysql config file (skip-innodb). i removed that line. | 21:33 |
dionak | i'll note this in the wiki | 21:34 |
-!- wgGuest55 [n=wgGuest5@static-72-85-248-223.bstnma.east.verizon.net] has joined #webgui | 21: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 #webgui | 21:36 | |
wgGuest99 | Hi, I'm looking for help with customizing email receipts to match custom profile changes. | 21:38 |
wgGuest99 | Anyone available to help? | 21:39 |
dionak | what kind of help are you needing? | 21:45 |
wgGuest99 | I need help getting the email receipts for transactions (from payments@plainblack.net) to display additional customer info besides the standard username, payment info, etc. | 21:46 |
wgGuest99 | Right now the user profiles have "company name" and "position", etc, but the emails don't display that, and need to be manually looked up. | 21:47 |
wgGuest99 | is there a way to integrate that into every receipt email? | 21:47 |
dionak | would this be better handled by a support request? | 21:48 |
dionak | i don't work for PB, so I don't have any info for you. sorry. | 21:48 |
wgGuest99 | Ah, no problem, thanks for letting me know. | 21:49 |
dionak | sure | 21:49 |
wgGuest99 | Should I send an email to support@plainblack.net, or try to call in? | 21:50 |
wgGuest99 | I called their development team, but noone's manning the phone right now. | 21:50 |
dionak | we usually post to the support board on plainblack.com | 21:50 |
dionak | the response is generally pretty reasonable. | 21:50 |
dionak | they've always responded within a few hours | 21:51 |
wgGuest99 | Alright, thank you so much. | 21:52 |
wgGuest99 | Have a good rest of the afternoon. | 21:52 |
dionak | you too. | 21:52 |
@preaction_ | wgGuest99, someone hasn't called you back yet? | 21:52 |
wgGuest99 | Oops, I neglected to leave a message. | 21:53 |
wgGuest99 | I'll try calling right now. | 21:53 |
dionak | lol | 21:53 |
wgGuest99 | Nobody there at the moment, but I'm heading off in about an hour. | 21:55 |
wgGuest99 | I think it'd be best to just post a question on the support forum for now and check it from home. | 21:56 |
wgGuest99 | Thanks. | 21:56 |
jdanpl | Hi, 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 |
jdanpl | If someone sent new message, moderator should check it and approve or discard | 21:59 |
@preaction_ | that's the approval workflow | 21:59 |
jdanpl | I need this featcher for ad service | 21:59 |
jdanpl | ok, but when I set "Commit With Apprval" new messages appear in minute on page. So Spectre approves them itself | 22:02 |
@preaction_ | they're posted by people who would be approving. people approving do not need to approve their own content | 22:03 |
jdanpl | It's greate | 22:04 |
jdanpl | ok | 22:04 |
jdanpl | It'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 | |
@rizen | quick poll, what would make a good asset icon for "Thingy" | 23:26 |
@rizen | Thingy is a point and click application builder for WebGUI. | 23:26 |
@rizen | You can define database tables with fields assigned to them, make edit/view/search/list screens and link multiple database tables together | 23:27 |
@rizen | it's kind of a hybrid between data form and sql form | 23:27 |
+MrHairgrease | make it the adams family hand | 23:27 |
@rizen | oooh | 23:27 |
+MrHairgrease | question for you | 23:27 |
+MrHairgrease | have you seen Test::Exception? | 23:28 |
@rizen | yes | 23:28 |
+MrHairgrease | it's way nicer than the exceptiontests we do now BUT | 23:28 |
@rizen | Colin originally was using it for the new exception testing stuff, but it turned out to be too limited in some regard | 23:28 |
@rizen | i don't know what | 23:28 |
+MrHairgrease | it cannot check the fields | 23:28 |
+MrHairgrease | I made something that can | 23:29 |
@rizen | colin said that he might patch it later | 23:29 |
@rizen | oh | 23:29 |
@rizen | a sublcass, or something new? | 23:29 |
@rizen | or a patch? | 23:29 |
+MrHairgrease | let me paste | 23:29 |
+MrHairgrease | it | 23:29 |
+MrHairgrease | hang on | 23:29 |
@rizen | anybody have any other ideas than "Thing" from Addams Family | 23:29 |
+MrHairgrease | http://webgui.pastebin.org/23309 | 23:30 |
+MrHairgrease | The underscored subs come directly from Test::Exception | 23:31 |
+MrHairgrease | I understand what they do | 23:31 |
+MrHairgrease | but not why | 23:31 |
+MrHairgrease | however, using upleve | 23:31 |
+MrHairgrease | ^h^h^h | 23:31 |
+MrHairgrease | however, using the eval statement as it stands there seems to work | 23:32 |
@preaction_ | http://www.csi-stjoe.net/~parkers/drakemaille/Images/thingamajig.jpg <- google image search for thingamajig | 23:32 |
@rizen | what does uplevel do...i haven't heard of that one before | 23:32 |
+MrHairgrease | it essentially makes the coderef being evalled in the callers contexts | 23:33 |
+MrHairgrease | s/s// | 23:33 |
+MrHairgrease | so uplevel 1 would execute the coderef in the context of eg. Pay.t | 23:33 |
+MrHairgrease | without it, it won't work | 23:34 |
+MrHairgrease | Test::Exception uses it too | 23:34 |
@preaction_ | interlocking shapes for the thingy, 3d or not 3d | 23:34 |
@rizen | wow this module is pretty cool | 23:35 |
@rizen | this seems a lot cooler than using evals throughout our test code | 23:35 |
+MrHairgrease | yeah, and it avoids all the oogly cmp_deeply's | 23:36 |
@rizen | i'd say commit it to the 7.5 branch | 23:36 |
+MrHairgrease | ok | 23:36 |
+MrHairgrease | I'll commit it into the commerce branch first | 23:36 |
+MrHairgrease | so we can check it out | 23:37 |
+MrHairgrease | is that ok? | 23:37 |
@preaction_ | a platypus head. the icon should be a platypus head | 23:38 |
+MrHairgrease | are you volunteering your pbwg photo preaction? =) | 23:39 |
@preaction_ | oooh good idea | 23:39 |
@preaction_ | a stylized outline of gooey? a la The Tick's logo? | 23:39 |
+MrHairgrease | oh rizen | 23:39 |
+MrHairgrease | one caveat | 23:39 |
+MrHairgrease | but one that's a good thing I think | 23:40 |
@rizen | sorry, that's what i meant...the commerce branch | 23:40 |
+MrHairgrease | it checks only for the actual class | 23:40 |
+MrHairgrease | in stead of isa | 23:40 |
+MrHairgrease | that means that if you throw an Invalidbject | 23:40 |
+MrHairgrease | InvalidObject | 23:40 |
+MrHairgrease | you can not tell it to be an InvalidParameter | 23:41 |
+MrHairgrease | while InvalidObject ISA InvalidParameter | 23:41 |
@rizen | i think that's fine | 23:41 |
+MrHairgrease | InvalidParam that is | 23:41 |
+MrHairgrease | mee too | 23:41 |
+MrHairgrease | I just do a ref check where isa_ok is much more thorough | 23:42 |
--- Day changed Wed Mar 12 2008 | ||
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui | 00:07 | |
@rizen | Thingy freakin roxorz | 00:14 |
@rizen | I don't know if you ever see Yung anymore, but he does amazing work. | 00:14 |
+MrHairgrease | haven't seen him in a while | 00:14 |
+MrHairgrease | i think the last time was november | 00:14 |
+MrHairgrease | ok, documented and committed WebGUI::TestException | 00:18 |
+MrHairgrease | and applied it on Pay.t | 00:18 |
+MrHairgrease | check it out and if you have any comments please let me know | 00:19 |
CIA-21 | WebGUI: martin * r5788 /branch/WebGUI_Commerce/t/ (Shop/Pay.t lib/WebGUI/TestException.pm): Added WebGUI::TestException and convert Shop/Pay.t to use it. | 00:21 |
CIA-21 | WebGUI: graham * r5789 /Lift: creating a directory for Lift | 00:55 |
-!- dionak [n=diona@97.66.185.250] has quit [] | 01:01 | |
-!- wgGuest43 [n=wgGuest4@x94-206-76.law.umn.edu] has joined #webgui | 01:05 | |
wgGuest43 | Hi...my first time checking in here. Is anyone awake? | 01:06 |
@preaction_ | yes | 01:06 |
wgGuest43 | Cool. I work at the U of MN Law School and we recently deployed our new website on WebGUI 7.3.22... | 01:08 |
wgGuest43 | Tonight I have run into a bizarre problem... | 01:08 |
wgGuest43 | When I go to commit a change, the version tag is lost and the asset becomes locked. | 01:09 |
@preaction_ | spectre isn't running | 01:09 |
@preaction_ | or can't connect | 01:10 |
wgGuest43 | according to my system, spectre is running... | 01:10 |
@preaction_ | can't connect then | 01:10 |
@preaction_ | cd /data/WebGUI/sbin; perl spectre.pl --test | 01:10 |
wgGuest43 | We're getting this error: | 01:11 |
wgGuest43 | ERROR - spectre.conf - POE::Kernel::_dispatch_event[1012] - WORKFLOW: Response for L7ijb6cP7uhTwv_NLVyVZA was redirected. This should never happen if configured properly!!! | 01:11 |
@preaction_ | spectre doesn't follow redirects | 01:11 |
@rizen | make sure that whatever the first item is in your sitename directive in your webgui config file matches what your real site's address is as accessible by dns from the box spectre is on | 01:13 |
wgGuest43 | Got it...had forgotten about the rewrite rules... | 01:14 |
wgGuest43 | I had added a rewrite rule to appache's conf (we're running a modified version of WebGUI -- don't ask, it's not my decision) | 01:15 |
@preaction_ | if you're using the WRE, you can point spectre at the mod_perl port and continue using mod_proxy for your rewrites | 01:15 |
wgGuest43 | ...and to get it to convert URL requests ending with a slash to add "index.html" I added a rewrite rule. | 01:15 |
@preaction_ | but from what you just said, i anticipate you're not running the WRE | 01:15 |
@preaction_ | you could just set your Home page to have a url of index.html | 01:16 |
wgGuest43 | no. Yet another reason for me to convince my boss to have our SA move to using the WRE. | 01:16 |
wgGuest43 | The problem is that we have people used to using URLs for directories under the home page without including the name... | 01:16 |
wgGuest43 | So http://www.law.umn.edu/cle/ is out in advertising, but should point to .../cle/index.html | 01:17 |
wgGuest43 | We were running WG 5.4, and this was fine then, but it seems things are now configured differently. | 01:17 |
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI | 01:22 | |
wgGuest43 | Well, I guess that will teach me to commit more frequently. We don't have many people editing at the moment, so it was some time before I added the rewrite rule and found the committing was not working. | 01:29 |
wgGuest43 | Thanks for the help, folks! You were a lifesaver tonight. Now I can actually leave for home. | 01:29 |
wgGuest43 | Hopefully next time I'm back here it won't be in a state of panic. | 01:30 |
-!- wgGuest43 [n=wgGuest4@x94-206-76.law.umn.edu] has quit [] | 01:30 | |
-!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui | 01: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-21 | WebGUI: graham * r5790 /branch/WebGUI_7.4/ (6 files in 5 dirs): added i18n for calendar | 02:02 |
CIA-21 | WebGUI: graham * r5791 /branch/WebGUI_7.4/ (lib/WebGUI/AssetExportHtml.pm docs/changelog/7.x.x.txt): fixed: exporting as HTML leaks sessions for inaccessible assets | 02:02 |
CIA-21 | WebGUI: graham * r5792 /branch/WebGUI_7.4/ (3 files in 3 dirs): fixed: changing image thumbnail size doesn't resize image | 02:02 |
CIA-21 | WebGUI: graham * r5793 /branch/WebGUI_7.4/ (docs/changelog/7.x.x.txt lib/WebGUI/Config.pm): fixed: loadAllConfigs loads hidden files | 02:02 |
CIA-21 | WebGUI: graham * r5794 /branch/WebGUI_7.4/ (docs/changelog/7.x.x.txt lib/WebGUI/Keyword.pm): fixed: fatal error duplicate keywords added to a wiki page | 02:02 |
CIA-21 | WebGUI: graham * r5795 /branch/WebGUI_7.4/t/Asset/Event.t: fixing Event test | 02:02 |
CIA-21 | WebGUI: graham * r5796 /branch/WebGUI_7.4/docs/create.sql: preparing for 7.4.28 release | 02:02 |
CIA-21 | WebGUI: jt * r5797 /releases/WebGUI_7.4.28-stable: Release 7.4.28-stable | 02:02 |
-!- patspam [n=chatzill@ppp59-167-82-131.lns2.mel6.internode.on.net] has joined #webgui | 02:09 | |
-!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui | 02:34 | |
-!- mode/#webgui [+v Radix-wrk] by ChanServ | 02:34 | |
-!- Radix-work [n=Jesse@203.161.68.67] has joined #webgui | 02:57 | |
-!- Radix-wrk [n=Jesse@203.161.68.67] has quit [Read error: 104 (Connection reset by peer)] | 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 #webgui | 03:39 | |
-!- mode/#webgui [+v Radix-wrk] by ChanServ | 03: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 #webgui | 06:20 | |
wgGuest04 | hello? | 06:20 |
-!- patspam_ [i=chatzill@59.167.82.131] has joined #webgui | 06: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-wrk | hello | 07: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 #WebGUI | 08:42 | |
-!- ryuu_ro [n=rory@194.171.50.69] has joined #webgui | 08:49 | |
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui | 09: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 #WebGUI | 12: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 #webgui | 14:57 | |
-!- SDuensin [n=Scott@111.sub-75-204-125.myvzw.com] has joined #WebGUI | 15:42 | |
SDuensin | Morning. | 15:46 |
-!- BartJo2 [n=plainstu@194.171.50.123] has joined #webgui | 15:49 | |
perlmonkey2 | This is interesting, has anyone used it? http://search.cpan.org/~dpavlin/Fuse-DBI-0.08/examples/webgui.pl | 15:50 |
perlmonkey2 | g'morning SDuensin | 15:50 |
@rizen | it was written for WebGUI 5 | 15:56 |
@rizen | and yes i've used it | 15:57 |
-!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui | 16:03 | |
-!- mode/#webgui [+o Haarg] by ChanServ | 16:03 | |
-!- dionak [n=diona@97.66.185.250] has joined #webgui | 16: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 #webgui | 17:00 | |
-!- juan [n=juangui@static-adsl201-232-86-73.epm.net.co] has joined #webgui | 17:12 | |
juan | hello | 17:12 |
juan | do you know, if there is a macro that i can insert a new variable in the session | 17:14 |
@rizen | you can set scratch variables onto a session using a simple url call | 17:25 |
@rizen | or you can write a macro to insert a variable | 17:26 |
@rizen | but no there isn't one | 17:26 |
BartJo2 | yes, they are called scratch variable | 17:27 |
-!- ryuu_ro [n=rory@194.171.50.69] has quit [] | 17:32 | |
BartJo2 | thank god people correct me when I say stupid things | 17:33 |
juan | rizen, i have create a macro to set variables in session but i have a problem, the macro is called since a javascript with the name and its value | 17:44 |
juan | but in the table sessionscratch is been stored the name of the variable that has the value | 17:45 |
@rizen | i'm sorry juan, i don't understand what you're asking | 17:45 |
juan | the thing is the next | 17:46 |
@rizen | you've created a macro | 17:46 |
juan | yes | 17:46 |
juan | to set variables in session | 17:46 |
@rizen | right | 17:46 |
@rizen | but what about javascript? | 17:46 |
@rizen | what does that have to do with it? | 17:46 |
juan | the macro recieved two paramaters from javascript, with the name of the variable and the other with the value | 17:47 |
@rizen | that won't work | 17:48 |
@rizen | the macro is already executed by the time the javascript is run | 17:48 |
@rizen | the macro is executed by the server, but the javascript is executed by the client | 17:48 |
-!- estiven [n=estiven@static-adsl201-232-86-73.epm.net.co] has joined #webgui | 17:49 | |
juan | http://webgui.pastebin.com/d74ed1ab3 | 17:50 |
juan | I call this macro in javascript like this ^setScratch("Municipio",municipio ); | 17:51 |
juan | but when i checkt in mysql in userSessionScratch i found the next row | 17:51 |
juan | EeAn4pIktFTXQBUfQvuekg | Municipio | municipio | 17:52 |
juan | municipio is a variable defined in javascript and contain a number | 17:52 |
juan | do you know what is the problem? | 17:53 |
@rizen | the macro knows nothing about javascript | 17:53 |
@rizen | it can't turn the javascript variable into it's value | 17:53 |
juan | i have tested that with another macro and it works | 17:54 |
@rizen | then you're doing something entirely differently | 17:55 |
@rizen | in that version than you are here | 17:55 |
@rizen | if you want, you can use an ajax call to set a scratch variable | 17:55 |
juan | 7.4.19 | 17:55 |
@rizen | http://site.com/?op=setScratch;scratchName=municipio;scratchValue=36 | 17:56 |
-!- Radix__ [n=Radix@203.161.71.161.static.amnet.net.au] has joined #webgui | 17:56 | |
-!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has quit [Read error: 104 (Connection reset by peer)] | 17:57 | |
juan | we can not do a post | 17: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 #webgui | 18: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 | |
lisette | how 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-22 | WebGUI: graham * r5798 /branch/WebGUI_7.4/ (4 files in 4 dirs): preparing for 7.4.29 | 19:38 |
-!- lisette [n=liraos@static-adsl201-232-86-73.epm.net.co] has joined #webgui | 19:40 | |
lisette | http://www.webgui.org/etcetera/sql_with_javascript/sql_with_javascript | 19:40 |
perlmonkey2 | 4 tablespoons of pbj and jelly each...mixed very well on a plate. pita bread to mop it up. bowl of chicken noddle soup. Sam Adams Boston Ale. That is my lunch today. I love my life. | 19:53 |
nuba | 3 bananas, 5 small toasts w/ jelly, one passion fruit, a boiled egg. thats my lunch today, wife is travelling, and i was too lasy to cook anything or even eat out. | 20:02 |
nuba | heh, lazy* | 20:03 |
perlmonkey2 | nuba: yes, cooking is a luxury for when you have spare time, in my mind. | 20:09 |
@rizen | my lunch: nothing yet. too busy with commerce system. | 20:10 |
lisette | how to do a filter with two select box? | 20:12 |
lisette | and query a database | 20:12 |
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui | 20:12 | |
-!- mode/#webgui [+o preaction] by ChanServ | 20: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 #webgui | 21:12 | |
cap10morgan | Can you add fields to a DataForm via the API? It seems like there's no public method for that, but can I fudge it if I don't care if it breaks in future releases? :) | 21:13 |
cap10morgan | oh, i think www_editFieldSave is my friend here... | 21:19 |
@preaction | cap10morgan, you could probably add an API method to do it, and make sure the web interface uses the new API method | 21:19 |
@preaction | do use that. do it right the first time so you don't have to do it over | 21:19 |
@preaction | er... don't use that | 21:19 |
cap10morgan | alright alright ;) | 21:21 |
juan | hello | 21:26 |
@preaction | hello | 21:27 |
-!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: CIA-22 | 22:18 | |
-!- Netsplit over, joins: CIA-22 | 22:18 | |
perlmonkey2 | Hah, I'm showing 40ms updates for dragging and dropping on teh editor. This should scale up without any noticable increase in time as the number of updates is fixed. | 22:41 |
perlmonkey2 | rizen: if I would have listened to you in the first place, this would be done. Obviously ajax solutions work extremely well as super thin client solutions. | 22:42 |
juan | hello | 22:46 |
juan | i have a question | 22:46 |
@rizen | pm2 live and learn | 22:47 |
@rizen | we all make mistakes, and that's what makes us better | 22:47 |
juan | i have several information in a database i want to display it in some selected box, the thing is depend of the user's selection in the first, the second will have the respective information | 22:48 |
juan | is like a dinamic selected box | 22:48 |
juan | how can i do that? | 22:49 |
juan | have i to develop a new control? | 22:49 |
@preaction | i've answered this question three times now: Yes | 22: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-22 | WebGUI: jt * r5799 /branch/WebGUI_Commerce/ (9 files in 7 dirs): finally got shipping driver management working | 01: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 #webgui | 02:01 | |
-!- wgGuest61 [n=wgGuest6@cpe-67-11-177-67.satx.res.rr.com] has joined #webgui | 02:10 | |
-!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui | 02:10 | |
-!- mode/#webgui [+v Radix-wrk] by ChanServ | 02:10 | |
-!- wgGuest61 [n=wgGuest6@cpe-67-11-177-67.satx.res.rr.com] has quit [Client Quit] | 02:11 | |
dionak | I created a new workflow activity today and made a scheduled task with it. It was really easy. Just thought you guys might like to hear the good stuff about WG. | 02:21 |
dionak | It looks like we're going to be using workflows a lot more. They are really handy. | 02:23 |
+Radix-wrk | yup :) | 02:39 |
dionak | JT, have you ever looked into Smolder? | 02:44 |
dionak | curious if you had any thoughts on it. | 02:44 |
dionak | http://sourceforge.net/projects/smolder | 02:45 |
+Radix-wrk | Suggest it to perldreamer I suggest | 02:46 |
@preaction | it looks nice, i'd have to add test.webgui.org and finally fix the smoke test server though | 02:47 |
dionak | I was more curious if anyone had tried it and how it worked for them, as opposed to making a suggestion. I'm still working on getting WG to work locally on my mac after the 10.5 upgrade so I haven't yet gotten to trying it out. | 02:52 |
@preaction | eh, i've been looking for a nice aggregator / display tool, and this looks like it fills all my desires | 02:52 |
dionak | i'm very interested to hear about your experience if you get the chance to try it out. | 02:53 |
dionak | Michael 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 #WebGUI | 03: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 #webgui | 05:39 | |
wgGuest24 | Hello? | 05:39 |
@preaction | hello | 05:39 |
wgGuest24 | hi. how are you? | 05:39 |
@preaction | i'm fine | 05:40 |
wgGuest24 | is there anyone around that can answer a few questions about caching and sql reports? | 05:40 |
@preaction | perlbot ask | 05:40 |
perlbot | Don't ask to ask, just ask. | 05:40 |
wgGuest24 | lol | 05:41 |
wgGuest24 | it's been a few years since i've worked with webgui...if i remember correctly, it does page-level caching, correct? | 05:41 |
wgGuest24 | or does it now support object level caching? | 05:42 |
wgGuest24 | here's why i ask... | 05:42 |
wgGuest24 | i'd like to set up a page with a sql report that takes two parameters as input | 05:43 |
@preaction | if by page-level you mean "cache the output before it's sent to the user", then for certain things, yes, but only for Visitors | 05:43 |
@preaction | also, excepting Layouts, the caching is configurable | 05:44 |
wgGuest24 | interesting... | 05:44 |
@preaction | layouts have a 60-second burst protection cache | 05:44 |
@preaction | can't be disabled or configured | 05:44 |
wgGuest24 | so, ideally if the sql report is run with parameters that have been used in the past, then i'd like it to serve up the cached results | 05:45 |
wgGuest24 | if the parameters are different than what's been run, then i'd like the sql report to execute and serve up the results based upon the new parameters, but then cache the results for future use | 05:46 |
@preaction | that won't happen, no | 05:46 |
wgGuest24 | does that make sense? in essense, i'm trying to determine if it can be configured to support parameter level caching | 05:47 |
wgGuest24 | okay, so if caching is turned on, i should expect to see the previous results irregardless of the passed paramters? | 05:47 |
@preaction | for Visitors, probably | 05:48 |
wgGuest24 | yes, this would be for visitors | 05:48 |
wgGuest24 | okay, i guess that answers my question then... | 05:49 |
wgGuest24 | thanks | 05: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 #webgui | 07: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 #webgui | 07:46 | |
-!- mode/#webgui [+o preaction] by ChanServ | 07:46 | |
-!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui | 07: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 #webgui | 08:51 | |
-!- Haarg [n=haarg@24-177-119-178.dhcp.mdsn.wi.charter.com] has joined #webgui | 09:01 | |
-!- mode/#webgui [+o Haarg] by ChanServ | 09:01 | |
-!- cap10morgan [n=cap10mor@206-124-31-140.denver.dsl.forethought.net] has joined #webgui | 09:10 | |
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui | 09:53 | |
-!- ryuu_ro_ [n=rory@194.171.50.69] has joined #webgui | 09:55 | |
-!- ryuu_ro [n=rory@194.171.50.69] has quit [Read error: 104 (Connection reset by peer)] | 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 #webgui | 10:25 | |
-!- ryuu_ro [n=rory@194.171.50.69] has joined #webgui | 10:32 | |
-!- ryuu_ro_ [n=rory@194.171.50.69] has quit [Read error: 104 (Connection reset by peer)] | 10:32 | |
-!- ryuu_ro_ [n=rory@194.171.50.69] has joined #webgui | 10: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 #webgui | 11: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 #webgui | 13:44 | |
-!- estiven [n=estiven@static-adsl201-232-86-73.epm.net.co] has joined #webgui | 14: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 #WebGUI | 15:16 | |
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui | 15:24 | |
-!- mode/#webgui [+o rizen] by ChanServ | 15:24 | |
SDuensin | Morning. | 15:44 |
-!- bopbop [n=kmccombs@71-82-214-154.dhcp.mdsn.wi.charter.com] has joined #webgui | 15:45 | |
-!- carogray [n=Caroline@h69-131-74-83.nwlnnh.dsl.dynamic.tds.net] has joined #webgui | 15:46 | |
-!- carogray [n=Caroline@h69-131-74-83.nwlnnh.dsl.dynamic.tds.net] has left #webgui [] | 15:46 | |
@rizen | afternoon | 15:48 |
-!- mode/#webgui [+o bopbop] by rizen | 15:49 | |
-!- MrHairgrease [n=martin@145.94.223.147] has joined #webgui | 15:55 | |
-!- mode/#webgui [+v MrHairgrease] by ChanServ | 15:55 | |
AMH_bob | Coffee! | 16:05 |
-!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui | 16:05 | |
-!- mode/#webgui [+o Haarg] by ChanServ | 16:05 | |
@bopbop | MrHairgrease: I'm working on Oqapi's success story. Out of curiosity, is there a reason the oqapi (okapi) was chosen for the company's name? Besides the fact that it can lick its own ears?... | 16:14 |
-!- midellaq [n=midellaq@caterpillar05.dadanoc.com] has left #webgui [] | 16:15 | |
+MrHairgrease | well basically we wanted a catchy name without cliches like 'soft' or 'comp' or 'net and the likes in it | 16:16 |
+MrHairgrease | so we had a string of brainstorm sessions at a bar called locus | 16:16 |
+MrHairgrease | http://www.locuspublicus.nl/wb/ | 16:16 |
+MrHairgrease | luckily it was still summer so we could sit outside in the sun | 16:17 |
+MrHairgrease | and then al of a sudden a friend of ours came up with okapi | 16:17 |
+MrHairgrease | which everyone liked | 16:17 |
@bopbop | ok, thanks | 16:18 |
+MrHairgrease | the reason for the weird spelling k=>q is that there's already a company named okapi | 16:18 |
+MrHairgrease | so i changed the k into a q, which gave the name sort of a cool symmetry | 16:18 |
+MrHairgrease | and of course the eurotrashy hipness you've come to expect of us =) | 16:19 |
@bopbop | I've been trying to figure out how I can get one of your t-shirts...very cool. Is it ok if I just take the logo off Oqapi's website to use in our story? | 16:19 |
+MrHairgrease | for t-shirst contact joeri | 16:20 |
-!- juan [n=juangui@static-adsl201-232-86-73.epm.net.co] has joined #webgui | 16:20 | |
+MrHairgrease | i'll see if i can find a logo | 16:20 |
+MrHairgrease | hang on | 16:20 |
@bopbop | ok | 16:20 |
juan | hello | 16:21 |
CIA-22 | WebGUI: jt * r5800 /branch/WebGUI_Commerce/ (3 files in 3 dirs): added shipping calculation for flat rate | 16:23 |
juan | i am calling a macro since javascript with two parameters that are javascript's variables, but i have a problem, in the macro i am using the parameters and i am updating a profile field, if i go to the profile i found that the field has the name of the variable sent since javascript instead of the value | 16:24 |
+MrHairgrease | bopbop: need a big one or a small one? | 16:24 |
@bopbop | small should do | 16:24 |
+MrHairgrease | ok | 16:25 |
+MrHairgrease | your email is kristi@pb right? | 16:25 |
@bopbop | right | 16:25 |
juan | i don't know if really macros work well with javascript | 16:26 |
+MrHairgrease | ok sent it | 16:27 |
@bopbop | cool. thanks for your help | 16:28 |
+MrHairgrease | juan: i'm not sure what your problem is? | 16:28 |
+MrHairgrease | where are you calling a macro from? | 16:29 |
+MrHairgrease | and what macro | 16:29 |
+MrHairgrease | and what is the macro supposed to do? | 16:29 |
juan | i create a macro | 16:30 |
juan | and call it since javascript | 16:30 |
juan | like this ^mymacro(name,valor); | 16:31 |
juan | where name and valor and javascript's variables | 16:31 |
juan | in the macro i get the parameters and if i return the second parameter, the macro return its real value | 16:32 |
juan | but if i return the first parameter, it doesn't return anything | 16:33 |
juan | besides if i try to stored the second parameter in the profile, the real value doesn't appear in that field | 16:35 |
+MrHairgrease | you try to use javascript to pass values into a macro? | 16:35 |
juan | yes | 16:35 |
+MrHairgrease | that is not possible | 16:35 |
+MrHairgrease | macro's are executed server side | 16:36 |
+MrHairgrease | while javascript is executed client side (ie. in the brwoser) | 16:36 |
-!- perlmonkey2 [n=perlmonk@casr-dev.fwsm2ppuser.ou.edu] has joined #webgui | 16:36 | |
+MrHairgrease | macro's have already been executed before they even end up in your browser | 16:36 |
juan | we have executed macros in javascript without parameters, and they work | 16:38 |
+MrHairgrease | you mean that you use the output of macro's in javascript? | 16:41 |
juan | yes | 16:41 |
+MrHairgrease | ok, but that's the complete opposite of the what i asked you before | 16:42 |
+MrHairgrease | so you have a bug in your macro if i understand correctly | 16:43 |
juan | the problem is when i call the macro with parameters | 16:43 |
+MrHairgrease | you are aware that you cannot use spaces in macro parameters? | 16:44 |
+MrHairgrease | ie. ^Macro(a,b); is something different than ^Macro(a, b); | 16:44 |
juan | if i put in the macro an static value as parameter, it works well | 16:44 |
juan | the problem is when i put as parameter a javascript's variable | 16:45 |
+MrHairgrease | please paste your macro to the pastebin and also a piece of html/javascript where you actually call it. | 16:45 |
-!- cap10morgan [n=cap10mor@206-124-31-140.denver.dsl.forethought.net] has quit [] | 16:46 | |
juan | wait please | 16:47 |
juan | MrHairgrease, http://webgui.pastebin.com/dda4935a | 16:51 |
+MrHairgrease | you are using javascript to create an argument for your macro | 16:52 |
+MrHairgrease | which i told you is impossible | 16:52 |
+MrHairgrease | the macro is executed on the server. | 16:53 |
+MrHairgrease | the my val= ... | 16:53 |
+MrHairgrease | is executed in your browser | 16:53 |
+MrHairgrease | do you understand that? | 16:54 |
juan | yes | 16:54 |
juan | can i do that with ajax? | 16:54 |
+MrHairgrease | if you want to use ajax you need some page where you can post your data to | 16:56 |
juan | ok | 16:57 |
+MrHairgrease | so you could create a macro that uses a form post to get it's data | 16:57 |
+MrHairgrease | ie. $value = $session->form->process('val'); | 16:57 |
+MrHairgrease | and put that macro on the page you tell your ajaxthingy to post to | 16:58 |
+MrHairgrease | the url would then be something like yoursite.com/ajaxPost?val=yourvalue | 16:58 |
+MrHairgrease | it's not an ideal solution though | 16:58 |
+MrHairgrease | but it would work | 16:59 |
juan | yes, i understand | 16:59 |
juan | thanks for your time and your advices | 16:59 |
+MrHairgrease | no problemo | 16:59 |
juan | MrHairgrease, i have another question | 17:05 |
-!- dionak [n=diona@97.66.185.250] has joined #webgui | 17:05 | |
+MrHairgrease | only if it's a short one | 17:05 |
juan | how can i show a popup when users go to my site | 17:05 |
+MrHairgrease | google for javascript popup or something like that | 17:06 |
ryuu_ro_ | juan: http://www.quirksmode.org/js/popup.html | 17:06 |
ryuu_ro_ | except use the onload event instead of the onclick event | 17:07 |
juan | display an automatic popup when users go to my site | 17:08 |
juan | thanks ryuu_ro_ for the url, i am going to check | 17:09 |
-!- lisette [n=liraos@static-adsl201-232-86-73.epm.net.co] has joined #webgui | 17:11 | |
estiven | Hola lisette | 17:15 |
lisette | hola estiven | 17:15 |
-!- dionak [n=diona@97.66.185.250] has quit [] | 17:16 | |
lisette | if i use $session->form->param, i can set a value in the form? | 17:16 |
+MrHairgrease | no | 17:16 |
+MrHairgrease | you cannot set for params | 17:16 |
@rizen | holy crap, my dad was just here, and he told me a story about how he saved some guy's life last week | 17:16 |
+MrHairgrease | he gave him pomade? | 17:16 |
@rizen | no, he lives out in the country | 17:17 |
@rizen | and the wind was blowing just right so he heard the guy screaming from over a mile away | 17:17 |
@rizen | he drove over to where the screaming was coming from | 17:17 |
@rizen | and it was still a quarter of a mile back into a snow covered field | 17:18 |
@rizen | this old farmer had gotten his tractor stuck, and was trying to walk back | 17:18 |
@rizen | but got so cold that he fell down and couldn't move | 17:18 |
@rizen | my dad walked back into the field | 17:18 |
@rizen | and dragged the guy back out to the road | 17:18 |
@rizen | and then drove him home | 17:19 |
* MrHairgrease cues a William Shatner voice over | 17:19 | |
ryuu_ro_ | that's one lucky guy | 17:21 |
+MrHairgrease | indeed | 17:22 |
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui | 17:23 | |
-!- mode/#webgui [+o preaction] by ChanServ | 17:23 | |
-!- ryuu_ro_ [n=rory@194.171.50.69] has quit [] | 17:35 | |
CIA-22 | WebGUI: meatbop * r5801 /WebGUI/www/extras/assets/ (thingee.gif small/thingee.gif): Added thingee icons | 17:52 |
+MrHairgrease | alas, 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 | |
perlmonkey2 | which book has everything about ldap, and does it cover ssl over ldap? | 18:24 |
perlmonkey2 | I'm guessing no to the latter part since the WG module won't allow the specification of the ldaps prototocl. | 18:25 |
@preaction | the Admin Guide has LDAP | 18:27 |
-!- apeiron_ [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui | 18:27 | |
-!- mode/#webgui [+o apeiron_] by ChanServ | 18:28 | |
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has quit [Nick collision from services.] | 18:28 | |
-!- apeiron_ is now known as apeiron | 18:28 | |
perlmonkey2 | preaction: hmm, so I should be able to create a stunnel to the campus ldap server and not have to worry about ldaps | 18:29 |
@preaction | dunno | 18:29 |
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has joined #webgui | 18:29 | |
-!- mode/#webgui [+v MrHairgrease] by ChanServ | 18:29 | |
perlmonkey2 | oh, a stunnel won't work because i have to be able to open an ssh connection to the server. The campus ldap doenst' allow shells. | 18:31 |
-!- khenn [n=khenn@24-159-239-186.dhcp.mdsn.wi.charter.com] has joined #WebGUI | 18:48 | |
-!- mode/#webgui [+o khenn] by ChanServ | 18:48 | |
-!- khenn [n=khenn@24-159-239-186.dhcp.mdsn.wi.charter.com] has left #WebGUI [] | 18: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 #webgui | 19:02 | |
-!- mode/#webgui [+v MrHairgrease] by ChanServ | 19:02 | |
+MrHairgrease | what happened to perldreamer? | 19:38 |
@preaction | he must be working | 19:38 |
+MrHairgrease | is he on vacation or so? | 19:39 |
@preaction | his job is awesome, he works for a couple weeks and then they keep him on retainer for a couple weeks (or something like that) | 19:39 |
@preaction | in case they have problems with his chip | 19:39 |
+MrHairgrease | yeah i know | 19:39 |
+MrHairgrease | sometimes he has to design a chip | 19:39 |
+MrHairgrease | and then he has nothing to do for ages | 19:39 |
perlmonkey2 | hmm, stunnel is turning into a pain to set up, anyone think it would be easier to reconfig LDAP.pm to use ssl? | 20:23 |
perlmonkey2 | rizen: Just an update, but my Survey deadline got pushed back to the 25th until I can get ldaps working with webgui. But that is still plenty of time to make 7.5, isn't it? | 20:25 |
@rizen | yeah | 20:28 |
@rizen | may 31 is the cut off | 20:28 |
@rizen | you know, if you make ldaps work with WebGUI you'll make lots and lots of people happy | 20:28 |
@rizen | people have been requesting it for years, but it just hasn't been a top priority for me | 20:28 |
@rizen | MrHairgrease: are you planning on tieing the cash payment system in with the address book feature | 20:31 |
@rizen | cuz i think pretty much all payment systems should use that | 20:31 |
@rizen | oh, and i should have transactions management done by tomorrow night | 20:32 |
@bopbop | Haarg: did you get my email about the strange Syndicated Content display? | 20:33 |
@Haarg | yeah | 20:34 |
@Haarg | i'll take a look at it right now | 20:35 |
@bopbop | ok, just checking- I have a meeting with them tomorrow | 20:35 |
perlmonkey2 | rizen: 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 #webgui | 21:00 | |
CIA-22 | WebGUI: yung * r5802 /WebGUI/ (11 files in 10 dirs): add: Thingy asset | 21:17 |
-!- pattieja [n=pattieja@kr.structure.northwestern.edu] has joined #webgui | 21:20 | |
pattieja | hello | 21:20 |
estiven | hi | 21:21 |
pattieja | I was wondering if anyone knows how to keep request tracker items from closing automatically. It seems like if I don't create a reply within some random amount of time, they start disappearing from the interface. If I then search and find them, they are closed. If I click 'Open', they reappear on the wobject interface for that request tracker, but then a short time later, they are automatically closed again. Is there a way to not ha | 21:23 |
pattieja | ve this happen, and force the items to wait until I click 'Close'? Sorry for longwindedness. Thanks. | 21:23 |
@preaction | i believe there's a property in the collaboration system settings that does that | 21:27 |
pattieja | excellent. where's that? | 21:27 |
@preaction | Archive After, but I don't think that's right | 21:28 |
@rizen | it is archive after | 21:28 |
@rizen | archived = closed | 21:28 |
@preaction | http://doug.plainblack.net/home/properties/gallery/733-franklin-st.-lower?func=thumbnails <- step 1 in improving the Gallery functionality. hover over the thumbnails to enlarge them, but the bounding-box is only the size of the original thumbnail | 21:36 |
@preaction | i think that's the buggo one though. the non-buggo one doesn't leave thumbnails scaled up | 21:37 |
@rizen | that's a sweet feature | 21:37 |
@preaction | adding captions and i want to replace that larger view with something more javascripty if the client can handle it | 21:39 |
@rizen | my favorite picture is the one with your thumb in it | 21:39 |
@preaction | there's at least three with my finger/thumb in them | 21:39 |
@preaction | am i correct when i see the new Indiana Jones is revisiting the Ark of the Covenent? | 21:40 |
@rizen | oh yeah, i'm seeing that now | 21:40 |
@rizen | i know they're making it, have no idea what its about | 21:40 |
@rizen | the photo gallery is getting cooler | 21:41 |
@rizen | still needs better templates though | 21:41 |
@preaction | yeah, i'm making this script stuff with that in mind, hopefully it won't be too horrible if/when the templates are redesigned | 21:42 |
@rizen | he has to redesign them for the 7.5 release | 21:44 |
@rizen | so they'll be done in the next 2 months sometime | 21:44 |
@preaction | sounds good | 21: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 | |
+MrHairgrease | rizen: i'm back was cooking and eating | 22:28 |
+MrHairgrease | anyway | 22:28 |
+MrHairgrease | how do you think the address book should be tied into the payment stuiff? | 22:29 |
-!- lisette [n=liraos@static-adsl201-232-86-73.epm.net.co] has joined #webgui | 22:29 | |
+MrHairgrease | I figured that an address is assigned to a transaction | 22:29 |
+MrHairgrease | s/assigned/tied/ | 22:29 |
+MrHairgrease | the selected payment plugin should get the address from the transaction object | 22:30 |
+MrHairgrease | imho | 22:30 |
pattieja | rizen: do I just type the word 'closed' into the Archive After field? It's currently set to 1 Month | 22:31 |
@preaction | no. you want it to be larger | 22:31 |
@rizen | MrHairGrease: transaction is just a log | 22:31 |
@preaction | after 1 month, the thread will get closed | 22:31 |
@rizen | but during payment you have to select an address | 22:32 |
@rizen | that will be sent to the credit card company in most cases | 22:32 |
+MrHairgrease | ok ic | 22:32 |
@rizen | so it should use the address book function, which is currently only tied to shipping | 22:32 |
+MrHairgrease | then, yes the address book thingy should be tied into the payment system | 22:32 |
pattieja | preaction: so, set it to like 1 year or something? | 22:32 |
@preaction | pattieja, that sounds good | 22:32 |
@rizen | but should be opened up a little more so it can be used for other things | 22:32 |
pattieja | k | 22:32 |
pattieja | thanks | 22:32 |
+MrHairgrease | however, it's up to each plugin itself | 22:33 |
@rizen | sure | 22:33 |
@rizen | it's up to each plugin | 22:33 |
+MrHairgrease | one question though | 22:33 |
@rizen | but the cash plugin will probably be the one a lot of people look to as an example | 22:33 |
@rizen | since it's so simple | 22:33 |
@rizen | so it should definitely use the address book | 22:33 |
+MrHairgrease | i guess you won't people to select their address all the time | 22:33 |
+MrHairgrease | by that i mean: if you select an address for the shipping | 22:34 |
+MrHairgrease | you want that address to be preslected when it's time to pay | 22:34 |
+MrHairgrease | how do you envison persisting that stuff | 22:34 |
+MrHairgrease | that's also why i thought there'd be a transaction object | 22:35 |
+MrHairgrease | glueing all the components together | 22:35 |
@rizen | the cart maintains the shipping address | 22:35 |
@rizen | and the payment object will be passed a cart | 22:35 |
+MrHairgrease | aha | 22:36 |
@rizen | then once payment has been completed the cart and payment stuff will be passed to the transaction system | 22:36 |
+MrHairgrease | so the cart's glueing everything together | 22:36 |
@rizen | for record keeping | 22:36 |
@rizen | yup | 22:36 |
+MrHairgrease | and the chosen shipper and payment gateway will also be stored in the cart? | 22:37 |
lisette | hello | 22:37 |
lisette | i can call a macro inside another macro? | 22:37 |
+MrHairgrease | yes | 22:37 |
+MrHairgrease | you can | 22:37 |
lisette | how to? | 22:37 |
lisette | ^macro() ? | 22:37 |
+MrHairgrease | ^Macro1(^Macro2;); | 22:37 |
lisette | mmm and the code? | 22:38 |
+MrHairgrease | what code? | 22:38 |
@rizen | mrhairgrease...no because when you get to payment you hand everything off to transaction at that point | 22:39 |
@rizen | everything up to payment gets attached to the cart | 22:39 |
@rizen | then you select payment stuff | 22:39 |
@rizen | then you shove it all into transaction | 22:39 |
+MrHairgrease | yeah, sorry, i meant only shipper | 22:39 |
+MrHairgrease | not payment | 22:39 |
+MrHairgrease | that would make little sense | 22:39 |
@rizen | yes, shipper gateway is stored in the cart | 22:39 |
+MrHairgrease | ok nice | 22:39 |
@rizen | ship driver i mean | 22:39 |
@preaction | lisette, that's handled by the normal macro parser, you don't have to do anything special in your macro | 22:39 |
+MrHairgrease | I still have to dig through the cart code, so forgive my witless questions =) | 22:40 |
pattieja | preaction: hmm. guess I'll have to go through all the closed items and reopen them? | 22:41 |
@rizen | no problem. you should have questions, the whole thing is still in flux. =) | 22:41 |
@preaction | pattieja, yes. | 22:41 |
+MrHairgrease | anyway, i'll make the cash plugin use the address book | 22:44 |
pattieja | thanks | 22:44 |
-!- pattieja [n=pattieja@kr.structure.northwestern.edu] has quit ["Ex-Chat"] | 22:44 | |
+MrHairgrease | when you have done the transaction thing i'll mold the payment plugins into it =) | 22:44 |
@rizen | sweet. i hope to have it done by tomorrow. right now i have the back end done, but i still need to build all the front end stuff | 22:45 |
+MrHairgrease | oh the transaction back end is finished already? | 22:46 |
-!- SDuensin [n=Scott@36.sub-75-204-178.myvzw.com] has quit ["Leaving"] | 22:46 | |
CIA-22 | WebGUI: jt * r5803 /branch/WebGUI_Commerce/lib/WebGUI/Shop/Cart.pm: a couple new methods to make things easier | 22:49 |
@rizen | yeah, i'll check it in tonight probably | 22:50 |
@rizen | needs a little polish | 22:50 |
@rizen | plus i haven't written enough tests for it | 22:50 |
+MrHairgrease | the commerce tests are the first tests i have written | 22:51 |
+MrHairgrease | ever | 22:51 |
+MrHairgrease | at first i really felt like 'stupid tests' since it seems you make very little progress at first | 22:52 |
+MrHairgrease | but these tests paid off directly | 22:52 |
@rizen | yeah me too | 22:53 |
+MrHairgrease | and found some bugs directly | 22:53 |
+MrHairgrease | like swapped parameters and stuff | 22:53 |
@rizen | yesterday when i was building the shipping management interface i had to make some sweeping changes to the shipping stuff | 22:53 |
+MrHairgrease | so i've decided i like em | 22:53 |
@rizen | and the tests really helped me get back on track | 22:53 |
+MrHairgrease | yeah | 22:53 |
@rizen | colin is the man | 22:53 |
+MrHairgrease | and they forces some sort of uniformity througout the module | 22:53 |
@rizen | that's also true | 22:54 |
+MrHairgrease | yeah colin rocks | 22:54 |
+MrHairgrease | hey, there are weird chrachters in Cart.pm | 22:55 |
+MrHairgrease | Returns a duplicated hash reference of this object?~@~Ys data. | 22:55 |
+MrHairgrease | that's how they show in vim | 22:55 |
+MrHairgrease | Returns a duplicated hash reference of this object<E2><80><99>s data. <= is what less shows | 22:56 |
+MrHairgrease | rizen: where's the cart supposed to be passed to the paydriver? | 22:58 |
+MrHairgrease | i guess in new | 22:58 |
+MrHairgrease | WG::S::PayDriver->new(pgID, $cart); | 22:58 |
+MrHairgrease | and WG::S::Pay->getPayDriver($pgId, $cart); | 22:59 |
@rizen | weird...i'll have to get that fixed for sure | 23:00 |
@rizen | what line is that on | 23:00 |
@rizen | actually no those aren't getting passed in there like that | 23:01 |
+MrHairgrease | 154 | 23:01 |
@rizen | though that might not be a bad idea | 23:01 |
+MrHairgrease | then how? | 23:01 |
+MrHairgrease | though setCart? | 23:01 |
+MrHairgrease | does that make sense? | 23:01 |
@rizen | if you just did a $cart = WebGUI::Shop::Cart->create(); it will give you a reference to the cart | 23:01 |
+MrHairgrease | I mean, you need a cart in order to pay | 23:01 |
@rizen | cuz it's tied to the session | 23:02 |
+MrHairgrease | hmm | 23:02 |
@rizen | i know that create is a bad name for it | 23:02 |
@rizen | but it creates it if it doesn't exist | 23:02 |
+MrHairgrease | then why does Pay->getOptions require a cart to be passed? | 23:02 |
@rizen | hmmm...did i write anything down for this in the docs | 23:02 |
+MrHairgrease | well, if create is a bad name, why not add a class method, getCartForUser | 23:03 |
+MrHairgrease | which will return the session cart, or... | 23:04 |
+MrHairgrease | calls create and then return the cart | 23:04 |
@rizen | that's probably a good name | 23:05 |
@rizen | or a good way to do it | 23:05 |
+MrHairgrease | I'll add a getCart method to PayDriver.pm | 23:06 |
@rizen | hold your horsefeathres | 23:06 |
+MrHairgrease | and then we can always decide how to pass the cart to the paydriver | 23:06 |
+MrHairgrease | what's wrong with that? | 23:06 |
@rizen | the reason that getOptions passes a cart is because the cart is already instanciated and there's no reason to do it again | 23:06 |
@rizen | however | 23:06 |
+MrHairgrease | oh does it? | 23:07 |
@rizen | we need to be able to instanciate the driver without a cart | 23:07 |
+MrHairgrease | let me check | 23:07 |
@rizen | because you need it for the configure drivers screen | 23:07 |
+MrHairgrease | true | 23:07 |
@rizen | can you hear my brain wheels turning? | 23:08 |
@rizen | =) | 23:08 |
+MrHairgrease | no | 23:08 |
+MrHairgrease | but I have garagepunk.com on | 23:08 |
@preaction | you put wd-40 on the hamster wheel, remember jt? | 23:08 |
@rizen | actually a getCart method is a good idea | 23:08 |
+MrHairgrease | I know | 23:08 |
@rizen | because once you get to the payment screen | 23:08 |
@rizen | cart is out of it | 23:09 |
@rizen | so you will need to instanciate the cart a again | 23:09 |
+MrHairgrease | also, you don't wanna do WG::S::Cart->create in every sub of a paydriver | 23:09 |
+MrHairgrease | you want to provide that from the driver framework | 23:09 |
@rizen | listen here whiper snapper | 23:10 |
@rizen | i was coding perl when you were still a single celled organism | 23:10 |
@rizen | = | 23:10 |
@rizen | =) | 23:10 |
+MrHairgrease | you mean when i was on par with you? | 23:10 |
+MrHairgrease | but i must admit, webgui's got me started codiung perl | 23:11 |
+MrHairgrease | so thanks for that | 23:11 |
+MrHairgrease | =) | 23:11 |
+MrHairgrease | heh, whiper snapper. Is that someone with a grudge against cars? | 23:12 |
@rizen | it's actually "whip"er not "wipe"er | 23:12 |
+MrHairgrease | funny how much a single character can change | 23:12 |
+MrHairgrease | oh crap | 23:13 |
+MrHairgrease | there i go | 23:13 |
+MrHairgrease | i thought it was with two p's | 23:13 |
@rizen | whipper snapper | 23:13 |
@rizen | i just sepellde it wrong | 23:13 |
@rizen | like my spelling for sepellde | 23:13 |
+MrHairgrease | bad spelers of the world untie! | 23:13 |
@rizen | hehe | 23:14 |
+MrHairgrease | I think roy use to say that all the time =) | 23:14 |
+MrHairgrease | so... which method can I use in getCart? getCartForUser? | 23:16 |
@rizen | you should create a method in PayDriver called getCart which then calls WebGUI::Shop::Cart->getCartForUser($session) | 23:16 |
+MrHairgrease | that's what I meant | 23:17 |
@rizen | actually, let's call it getCartBySession | 23:17 |
@rizen | that's more accurate | 23:17 |
+MrHairgrease | ok | 23:17 |
@rizen | I'm adding the method to cart now | 23:18 |
+MrHairgrease | yeah, I'm adding it to PayDriver | 23:18 |
+MrHairgrease | should there be exception throwing in getCart? | 23:19 |
+MrHairgrease | that is, check whether the returned object isa cart? | 23:19 |
+MrHairgrease | my guess is no, since that's something the test suite should be able to find | 23:19 |
@rizen | if a cart object isn't created, then the cart itself will throw exceptions | 23:27 |
+MrHairgrease | ah what i was waiting for | 23:27 |
+MrHairgrease | prove says it's ok! | 23:28 |
+MrHairgrease | committng | 23:28 |
+MrHairgrease | ok | 23:29 |
+MrHairgrease | committed | 23:29 |
+MrHairgrease | is 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-22 | WebGUI: jt * r5804 /branch/WebGUI_Commerce/ (4 files in 3 dirs): added getCartBySession() | 23:46 |
CIA-22 | WebGUI: martin * r5805 /branch/WebGUI_Commerce/ (lib/WebGUI/Shop/PayDriver.pm t/Shop/PayDriver.t): Adding the getCart method to PayDriver.pm | 23:46 |
perlmonkey2 | Could someone explain what the ldapPasswordName field in ldapLink table is for? | 23:51 |
@rizen | form plugin? | 23:51 |
@rizen | oh to choose an address | 23:51 |
+MrHairgrease | yeah | 23:51 |
@rizen | i hadn't thought of that | 23:51 |
@rizen | i thought that it would be better if people were redirected to the address book | 23:52 |
@rizen | so they can create new addresses | 23:52 |
@rizen | see what's there | 23:52 |
@rizen | etc | 23:52 |
@rizen | like it is done with shipping | 23:52 |
+MrHairgrease | oh ok | 23:52 |
+MrHairgrease | i'll check out how shipping does it | 23:52 |
@rizen | i mimiced the way it is done on amazon | 23:52 |
+MrHairgrease | ok | 23:52 |
+MrHairgrease | never bought anything there | 23:53 |
@rizen | ldapPasswordName is just a label | 23:53 |
@rizen | it is used to describe the password in a way that is familiar to your users | 23:53 |
@rizen | for example | 23:53 |
@rizen | you might say your "Windows Password" | 23:54 |
@rizen | or your "Active Directory" password | 23:54 |
@rizen | or your "Novell Groupwise Password" | 23:54 |
perlmonkey2 | So it is for the template for when the users are creating their accounts? | 23:54 |
@rizen | most companies don't portray "LDAP" as a system | 23:54 |
@rizen | they talk about the thing that's running ldap | 23:54 |
@rizen | yup | 23:54 |
@rizen | and when they log in | 23:54 |
@rizen | it actually shouldn't be in the LDAP connection manager | 23:55 |
@rizen | but whoever converted LDAP from settings to the connection manager moved it | 23:55 |
@rizen | and i haven't moved it back | 23:55 |
perlmonkey2 | I'm thinking I need your admin book, because to turn a uid into a dn, we have strange fields in our ldap search. Our uid is actually a 'mailNickname' in the return message, and the dn is in 'objectName' in the return message. | 23:56 |
@rizen | that's no problem | 23:57 |
@rizen | when you create an account you can search based upon mailNickname | 23:57 |
@rizen | and then the dn is returned | 23:57 |
@rizen | and stored with the user account | 23:57 |
@rizen | but their username is still their mailNickname | 23:58 |
@rizen | the dn is just attached to the account | 23:58 |
@rizen | not used as the username | 23:58 |
perlmonkey2 | That is what I tried to do. So good, it looks like I'm on the right track, just need to probably tackle the ssl issue. | 23:58 |
perlmonkey2 | I created an ldaplink with ldapIdentity as mailNickname and ldapIdentityName as objectName and ldapPasswordName as School password. | 23:59 |
--- Day changed Fri Mar 14 2008 | ||
perlmonkey2 | ldapUserRDN is our search filter for the user objectName. So I guess that should all work :) | 00:00 |
@rizen | i believe that ldapIdentityName is also just a label | 00:00 |
@rizen | but i don't work with the ldap stuff often, so yes you should consult the admin guide | 00:00 |
perlmonkey2 | cool, thanks rizen | 00: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 | |
+MrHairgrease | rizen: May I assume that AddressBook www_view is still just more or less a placeholder? | 00:23 |
+MrHairgrease | I'm asking since a lot of stuff seems hard coded | 00:23 |
+MrHairgrease | like the useButton tmpl_var | 00:24 |
@rizen | yes, it needs to be changed so it is not hard coded | 00:24 |
+MrHairgrease | ok | 00:24 |
@rizen | i wasn't sure how to do that when i wrote it, so i just hard coded everything | 00:24 |
@rizen | that's pretty much true of all the www_ methods in AddressBook | 00:24 |
+MrHairgrease | and the plugins should provide the correct method names and stuff i guess | 00:24 |
@rizen | right | 00:24 |
+MrHairgrease | ok | 00:25 |
+MrHairgrease | at first it confused me a bit | 00:25 |
+MrHairgrease | but I'm getting the hang of the whole | 00:25 |
@rizen | I think that the way to do it is to pass a url string into www_view that represents where to go when you "select" an address | 00:25 |
@rizen | and then pass that into the form header when it's time to come out | 00:25 |
@rizen | and it will auto generate the necessary hidden fields | 00:25 |
@rizen | because if you do /somepage?this=that;foo=bar | 00:26 |
+MrHairgrease | so you want to put GET params in a form header? | 00:26 |
@rizen | WebGUI::Form::formHeader is smart enough to turn that action into /somepage | 00:26 |
@rizen | and this,that/foo,bar | 00:26 |
@rizen | into hidden fields | 00:26 |
+MrHairgrease | oh | 00:26 |
+MrHairgrease | I see | 00:26 |
@rizen | i made it smart | 00:27 |
@rizen | cuz i've seen lots of developers screw that up | 00:27 |
+MrHairgrease | still looks a bit hacky to me | 00:27 |
+MrHairgrease | but that could be me | 00:27 |
@rizen | well if you can think of a better way to do it, i'm all earse | 00:27 |
@rizen | ears | 00:27 |
+MrHairgrease | I'd pass an action url, a method name, and optionally a hashref with your custom key/value pairs. | 00:28 |
+MrHairgrease | it seems cleaner since the necessary params are not 'hidden' in GET params | 00:29 |
+MrHairgrease | also it makes error checking easyer | 00:29 |
@rizen | ok, then why not put method name into that hashref cuz that's also one of you key value pairs | 00:30 |
@rizen | cuz this thing will also end up being used by commerce assets | 00:30 |
@rizen | like Event Manager | 00:30 |
+MrHairgrease | ie. you can throw exceptions for each missing param in stead of having to parse that string | 00:30 |
@rizen | where you tie an address to a badge | 00:30 |
@rizen | and there is no "method" | 00:30 |
@rizen | there is a "func" | 00:30 |
+MrHairgrease | hmm i see | 00:30 |
+MrHairgrease | i'll give it a thought | 00:31 |
@rizen | i think you're on the right track though | 00:31 |
@rizen | a url and a hash ref of hidden values | 00:31 |
+MrHairgrease | yeah | 00:31 |
@rizen | oh but the hash ref of hidden values needs a way to be passed between forms | 00:31 |
+MrHairgrease | that's better than a GET url | 00:31 |
@rizen | because the user will be in the address book a while | 00:31 |
@rizen | so you'll have to serialize it into json in the address book, and then deserialize it on the way out | 00:32 |
+MrHairgrease | the same app;lies for a GET ur | 00:32 |
@rizen | they'll go in there, then add an address | 00:32 |
@rizen | no, the get url could just be a hidden field | 00:32 |
@rizen | no serialziation | 00:32 |
@rizen | but i don't care | 00:32 |
@rizen | i like your way better | 00:32 |
@rizen | and using json serialization | 00:32 |
+MrHairgrease | if you'd use a hidden field, that field has to be passed in each screen | 00:33 |
+MrHairgrease | eror prone imho | 00:33 |
@rizen | yeah | 00:33 |
@rizen | what else will you do? | 00:33 |
+MrHairgrease | I guess a scrath var is much better | 00:33 |
@rizen | it has to maintain state in a stateless environment | 00:33 |
@rizen | that maintains state, but what if the user leaves the address book | 00:33 |
@rizen | without setting an address | 00:34 |
@rizen | i guess it will just be overwritten by the next thing that sends them to the address book | 00:34 |
@rizen | i guess that's not so bad | 00:34 |
+MrHairgrease | and when properly leaving though a setAddress method you can clear the flag | 00:37 |
@rizen | it doesn't need to be cleared | 00:39 |
@rizen | since it gets overwritten each time you enter the address book | 00:39 |
+MrHairgrease | true | 00:39 |
@rizen | MrHairgrease: you're brilliant! | 00:40 |
* MrHairgrease knows | 00:40 | |
@rizen | i knew there was a reason i put up with your eurotrashy ways =) | 00:40 |
+MrHairgrease | oh come to think of it | 00:40 |
CIA-22 | WebGUI: graham * r5806 /WebGUI/sbin/spectre.pl: fixed: spectre outputs errors to file named /STDIN | 00:40 |
CIA-22 | WebGUI: graham * r5807 /WebGUI/ (lib/WebGUI/Asset/Wobject/Thingy.pm t/Asset/Event.t): Fix test failures | 00:40 |
CIA-22 | WebGUI: graham * r5808 /WebGUI/docs/create.sql: preparing for 7.5.6 release | 00:40 |
+MrHairgrease | if some user is using the address book in two tabs | 00:41 |
+MrHairgrease | we run into problems | 00:41 |
@rizen | that's true | 00:41 |
@rizen | so passing it through a hidden field is back into prominence | 00:41 |
+MrHairgrease | yeah | 00:41 |
+MrHairgrease | a hybrid solution could be still storing all the data in scratch | 00:42 |
+MrHairgrease | but pass along some id that identifies the scratch in a hidden field | 00:42 |
+MrHairgrease | but maybe that's overcomplicating it | 00:42 |
@rizen | that's only useful if you think the json data will get corrupted passing it through the form fields | 00:43 |
@rizen | which is not a big concern for me really. i pass json through form fields all the time | 00:43 |
+MrHairgrease | that was one of the 'error prone' concerns | 00:43 |
+MrHairgrease | oh ok | 00:43 |
+MrHairgrease | either way | 00:43 |
+MrHairgrease | if we need to pass stuff around in hidden fields | 00:44 |
@rizen | in fact, the wreconsole.pl keeps track of everything in a hidden json field | 00:44 |
@rizen | while you're going through the wizard | 00:44 |
+MrHairgrease | i think there should be a method called AdressBook->getForm or so | 00:44 |
+MrHairgrease | that would set up the form header stuff for you and return a HTLForm object | 00:45 |
+MrHairgrease | or something along those lines | 00:45 |
+MrHairgrease | so it will be easy to change things in the passing along and also to reduce errors | 00:46 |
+MrHairgrease | s/errors/bugs/ | 00:46 |
+MrHairgrease | and minimize code dupliaction | 00:46 |
@rizen | sounds fine to me | 00:46 |
+MrHairgrease | great | 00:47 |
+MrHairgrease | it's cool to do some core dev stuff again | 00:47 |
@rizen | i'm using Komodo to get used to using an IDE per my WebGUI SDK comments on the mailing list yesterday | 00:48 |
@rizen | and so far it's pretty cool | 00:48 |
+MrHairgrease | I stick with vim if you don't mind | 00:48 |
@rizen | yeah, i love vim | 00:50 |
@rizen | if it weren't for me wanting webgui to get more adoption i'd stick with vim too | 00:50 |
@rizen | but i think if we want devs to really start writing a lot for webgui | 00:50 |
@rizen | we need to give them a tool that most devs are used to | 00:50 |
@rizen | and that means a GUI IDE | 00:50 |
+MrHairgrease | yeah that could very well be | 00:51 |
@rizen | if nothing else it will make it easier for noobs to get into webgui dev | 00:51 |
+MrHairgrease | since I started doing webgui stuff, almost all my coding has been done on a remote box | 00:51 |
@rizen | komodo can edit files remotely | 00:52 |
+MrHairgrease | I think it's getting harder and harder to get into webgui just because of the sheer api size | 00:52 |
@rizen | i agree with that | 00:52 |
@rizen | which is where wizards come in | 00:52 |
@rizen | in an ide | 00:52 |
+MrHairgrease | for me it's not a real problem since i've 'grown up' with it | 00:53 |
+MrHairgrease | ok | 00:53 |
+MrHairgrease | maybe i'll check komodo out to see what it is | 00:53 |
@rizen | but i'm also thinking that it will be like the WRE | 00:53 |
@rizen | at first people will be leary | 00:53 |
+MrHairgrease | but not anytime soon i'm afraid | 00:53 |
@rizen | and stay away from it | 00:53 |
@rizen | but after a while, it will become so cool that everyone just uses it | 00:53 |
+MrHairgrease | i certainly hope so | 00:54 |
@rizen | the best part is that there is both a free and commercial version of komodo | 00:54 |
@rizen | so the free version helps get people hooked...it's one less barrier to entry | 00:54 |
@rizen | also, it works on mac, windows, and linux | 00:54 |
+MrHairgrease | ok sound pretty cool | 00:55 |
@rizen | plus writing extensions for komodo is pretty easy because komodo is written in mozilla | 00:55 |
@rizen | so it uses xpi, javascript, etc | 00:55 |
@rizen | just like firefox extensions | 00:55 |
+MrHairgrease | you just used javascript and pretty easy in one sentence... | 00:56 |
@rizen | pretty was referring to easy not javascript | 00:57 |
@rizen | =) | 00:57 |
@rizen | at least you don't have to write extensions in c++ | 00:57 |
+MrHairgrease | i had to learn c++ for a lab course about 6 years ago or so | 00:58 |
+MrHairgrease | on of the guys taking it did it in assembly | 00:58 |
@rizen | i had to hack a bunch of c++ years ago | 00:58 |
+MrHairgrease | you should have seen the look on the face of the assitent when he handed it in | 00:58 |
+MrHairgrease | on chainpaper of course | 00:58 |
@rizen | i'm sure | 01:01 |
CIA-22 | WebGUI: graham * r5809 /WebGUI/lib/WebGUI/Cache/Database.pm: protect against database cache corruption | 01: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 #WebGUI | 01:32 | |
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has left #webgui [] | 01:34 | |
CIA-22 | WebGUI: jt * r5810 /releases/WebGUI_7.5.6-beta: Release 7.5.6-beta | 01:39 |
CIA-22 | WebGUI: graham * r5811 /WebGUI/ (4 files in 4 dirs): preparing for 7.5.7 | 01:39 |
-!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui | 01:49 | |
-!- mode/#webgui [+v Radix-wrk] by ChanServ | 01:49 | |
-!- rizen [n=rizen@97-87-62-91.dhcp.mdsn.wi.charter.com] has joined #webgui | 02:05 | |
-!- mode/#webgui [+o rizen] by ChanServ | 02:05 | |
-!- Haarg [n=haarg@97-87-62-91.dhcp.mdsn.wi.charter.com] has joined #webgui | 02:16 | |
-!- mode/#webgui [+o Haarg] by ChanServ | 02: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 #webgui | 03:41 | |
-!- mode/#webgui [+v Radix_] by ChanServ | 03:41 | |
-!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: ckotil, Radix__, diakopter | 03:42 | |
-!- Netsplit over, joins: diakopter | 03:43 | |
-!- Netsplit over, joins: ckotil | 03:44 | |
-!- Haarg [n=haarg@97-87-62-91.dhcp.mdsn.wi.charter.com] has joined #webgui | 04:11 | |
-!- mode/#webgui [+o Haarg] by ChanServ | 04: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 #WEBGUI | 05:32 | |
elnino | hello. | 05:34 |
elnino | I see in 7.4.26 that we can put extra parameters in the db connection definition, and since my recent upgrade from 7.21, one of my queries no longer returns anything. and I was wonderting, with the addition of the capability of adding db parameters, I was wondering if you had removed some that were "default" in the code that made my query work at the time. | 05:36 |
@preaction | elnino, did you check the gotchas? | 05:38 |
elnino | Good point, I did, but it probably didn't mean anything at the time. I'll read them again. Thanks! | 05:39 |
-!- Haarg [n=haarg@24-177-119-178.dhcp.mdsn.wi.charter.com] has joined #webgui | 05:39 | |
-!- mode/#webgui [+o Haarg] by ChanServ | 05:39 | |
@preaction | elnino, there were no changes to anything having to do with DatabaseLinks, so it might be something else | 05:42 |
elnino | ok. the gotcha says that it lo longer sets the LongReadLen and LongTruncOk for odbc dbs (which is what this is) Is there some code somehere I can look at to find out what you used to set them to? | 05:42 |
@preaction | there shouldn't be new features added to any 7.4 | 05:42 |
@preaction | old revisions in SVN perhaps | 05:42 |
@preaction | probably SQL.pm | 05:43 |
elnino | ok. I went from 7.2 to 7.4.26 and this happened in 7.4, I'll look there. Thanks | 05:43 |
@preaction | oh, you went from a long time ago | 05:44 |
@preaction | does it say which version it was done in? | 05:44 |
elnino | 7.4 | 05:44 |
@preaction | 7.4.? | 05:44 |
elnino | 7.4.0 according to the gotcha, I have all my other backups. and found the code. Thanks for your help! | 05:45 |
elnino | somebody may want to add that the LongRedLen was set to 512*1025 | 05:45 |
elnino | and longtruncok = 1 | 05:46 |
elnino | to the gotcha file. | 05:46 |
@preaction | i would think that it might be better to just add those things if the user has any ODBC DatabaseLinks | 05:47 |
elnino | Well, perhaps, but I didn't know that I would need such things. I put a bug request to update the gotcha for someone else like me. =) | 05:49 |
@preaction | sounds good | 05:50 |
elnino | Thanks again for your invaluable help! | 05:51 |
@apeiron | Happy pi day, all. | 06:01 |
elnino | hmmm. I was wrong, this is dbi:MaxDB that I'm connecting with, and adding ongReadLen and LongTruncOk didn't work. I don't see anything in SQL.pm about setting anything else. | 06:17 |
elnino | If I run the sql directly on the db, it returns 78 records, but it returns nothing when run vie webgui's sql report. so something weird is going on. | 06:18 |
@preaction | anything in the error log? | 06:19 |
elnino | apparantly while trying to rotate my webgui logs, nothing is being written anymore. =( crud. I guess I'll go fix that first. | 06:24 |
elnino | arg. so what should the permissions be on the webgui.log file? | 06:30 |
elnino | never mind. | 06:30 |
@preaction | 755. as long as the apache user can write, that's about all that's necessary | 06:32 |
elnino | ok. got that working. just restarted apache for some reason. | 06:38 |
elnino | I hit the page seveal times, and nothing comes up in the eror log about that sql report or the database or the databse name. | 06:40 |
@preaction | is your loglevel set to warn or debug? that's about all i can think of | 06:41 |
elnino | I set it back to default: warn | 06:43 |
@preaction | if you set it higher (debug or info) it might give more information. i don't know though | 06:44 |
elnino | so do i have to restart apache or just spectre to reread the log.conf? | 06:47 |
@preaction | apache | 06:50 |
elnino | ok. I had it at at debug, hit the sqlreport a couple times, and turned if off in the loging. looked at the log, and there is nothing there, other than the print out of the query I'm running. | 06:54 |
elnino | I did noticed that in the debug statements, there are a bunch of ^M,s, where as in the rest of the log there aren't any. | 06:55 |
elnino | Could it be that it's reading the ^M as invalid sql? | 06:55 |
@preaction | sounds likely | 06:55 |
elnino | I'll try to remove the carrage returns. | 06:56 |
elnino | nope no go. I removed all linefeeds/cariage returns. | 07:12 |
@apeiron | s/755/644/ # no need to give execute permissions to a log file | 07:14 |
@apeiron | elnino, Tried copy/pasting the query that's giving you problems from a log file into the mysql client? | 07:16 |
@apeiron | Also, if you're running DEBUG, you should be getting that information anyway, with placeholders... | 07:16 |
elnino | yes. that's the first thing I did. The query stoped working when I did the upgrade. My other queries work that hit that database. This particular query has long fileds, so I thought maybe it was affected by the database parameters that changed from 7.2 to 7.4.x | 07:20 |
elnino | Another very unrelated question - it seems that when you edit a file piled document and you *don't* upload a new file, the /upload/path/to/file still changes. is that how it's upposed to be? | 07:50 |
@preaction | yes, for some reason | 07:56 |
@preaction | if there isn't an RFE to change that to only when a new file is uploaded, please add one | 07:58 |
elnino | absolutely I will, its a frustrating when the file time/date changes when it really doesn't. | 08:05 |
elnino | done. | 08:09 |
-!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: elnino | 08:23 | |
-!- Netsplit over, joins: elnino | 08:23 | |
-!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has quit ["Leaving"] | 08:33 | |
-!- ryuu_ro [n=rory@194.171.50.69] has joined #webgui | 08: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 #webgui | 10: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 #webgui | 14:38 | |
ckotil | looks like someone spammed the wiki. | 14:49 |
-!- perlmonkey3 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui | 15: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 perlmonkey2 | 15:21 | |
-!- MrHairgrease [n=martin@194.171.50.69] has joined #webgui | 15:31 | |
-!- mode/#webgui [+v MrHairgrease] by ChanServ | 15:31 | |
-!- SDuensin [n=Scott@251.sub-75-206-117.myvzw.com] has joined #WebGUI | 15:35 | |
SDuensin | Morning. | 15:38 |
+MrHairgrease | greetings! | 15:42 |
perlmonkey2 | hola | 15: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 #webgui | 16:11 | |
-!- mode/#webgui [+o Haarg] by ChanServ | 16:11 | |
-!- lisette [n=liraos@static-adsl201-232-86-73.epm.net.co] has joined #webgui | 16:30 | |
lisette | hello | 16:30 |
lisette | i can return a hash from a macro and process with javascript? | 16:31 |
+MrHairgrease | use JSON | 16:33 |
+MrHairgrease | in your macro put | 16:33 |
+MrHairgrease | return JSON->new->to_json( $hashRef ); | 16:33 |
lisette | and how to process with JS? | 16:34 |
+MrHairgrease | google on JSON and read the dics | 16:34 |
+MrHairgrease | docs* | 16:34 |
lisette | i process like a array? | 16:35 |
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [No route to host] | 16:35 | |
+MrHairgrease | read the docs on json | 16:36 |
lisette | i don't know how to | 16:39 |
+MrHairgrease | you must be kidding me | 16:40 |
+MrHairgrease | you know what google is right? | 16:40 |
lisette | yes | 16:43 |
+MrHairgrease | then, 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 #webgui | 16:44 | |
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [Client Quit] | 16:44 | |
lisette | i found how to | 16:46 |
lisette | thanks | 16:46 |
-!- juan [n=juangui@static-adsl201-232-86-73.epm.net.co] has joined #webgui | 17:10 | |
juan | hello | 17:10 |
juan | i have a question related to dataforms, i have created a dataform with two fields, one of them is status hidden and type text. i have the firefox extension web developer and when i turn admin off and use this extension to see the form details, i can not see the details for the field that is hidden | 17:14 |
+Radix_ | no, it's actually hidden | 17:15 |
juan | besides i have a macro when i get the parameters, so if i try to get the value for the field that is hidden, it doesn't return any value | 17:16 |
juan | if i put a default value to this hidden field, can i use it in a macro? | 17:16 |
+Radix_ | you will have to change the template then if you want it in the html | 17:16 |
juan | but i want it in html but the users can see the field | 17:17 |
+Radix_ | if you want the field visible to the user, then it's not hidden is it? :) | 17:19 |
juan | excuseme the users can not see it | 17:19 |
+Radix_ | yeah, you'll need to tweak the template for the dataform then | 17:20 |
+Radix_ | if you look at the code there's a check for hidden | 17:20 |
+Radix_ | I had to do the same thing for my own dataform wrappers and javascript validation script | 17:21 |
-!- khenn [n=khenn@24-159-239-186.dhcp.mdsn.wi.charter.com] has joined #WebGUI | 17:29 | |
-!- mode/#webgui [+o khenn] by ChanServ | 17:29 | |
-!- khenn [n=khenn@24-159-239-186.dhcp.mdsn.wi.charter.com] has left #WebGUI [] | 17:29 | |
juan | radix_, 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_ | sure | 17: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 #webgui | 18:06 | |
-!- mode/#webgui [+o rizen] by ChanServ | 18:06 | |
-!- wgGuest34 [n=wgGuest3@204.248.118.31] has joined #webgui | 18:22 | |
-!- perlmonkey2 [n=perlmonk@casr-dev.fwsm2ppuser.ou.edu] has joined #webgui | 18:25 | |
-!- wgGuest34 [n=wgGuest3@204.248.118.31] has quit [Client Quit] | 18:25 | |
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui | 18:31 | |
-!- mode/#webgui [+o preaction] by ChanServ | 18:32 | |
ckotil | What am I doing wrong here when defining this scratch variable in my template? <tmpl_var session_scratch_filebin == 1> | 19:30 |
ckotil | Then I want to use the scratch variable in a <tmpl_if expr=" , or simple write it out <tmpl_var session_scratch_filebin> | 19:30 |
ckotil | im using h:t:e | 19:35 |
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui | 19:36 | |
-!- ryuu_ro [n=rory@c529ce350.cable.wanadoo.nl] has joined #webgui | 19:57 | |
@preaction | ckotil, you can't set things in tmpl_var | 19:59 |
ckotil | so theres no way to set a scratch variable inside the template? | 20:04 |
@preaction | not via template variables. perhaps via a macro | 20:04 |
ckotil | yeah, that could work | 20:05 |
ckotil | thanks | 20:05 |
ckotil | i just want to be able to flip a bit for a certain case inside a page loop. | 20:06 |
ckotil | if the bit is flipped then dont output anything, else go for it. | 20:06 |
@preaction | that probably wouldn't work. macros are processed after template is processed | 20:07 |
ckotil | ah. | 20:07 |
ckotil | thanks for the heads up then. | 20:07 |
ckotil | that would have wasted a couple hours. | 20:07 |
ckotil | i 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 #webgui | 21:51 | |
juan | hello | 22:16 |
-!- perlmonkey2 [n=perlmonk@casr-dev.fwsm2ppuser.ou.edu] has quit ["Leaving."] | 22:17 | |
juan | do you know how to convert the date stored in webgui to real dates? | 22:17 |
@preaction | the ^D(); macro works well | 22:18 |
@preaction | they're just epoch times, so anything that works with epoch times will work | 22:18 |
@rizen | if you're working from the api then you can use $session->datetime->epochToHuman(); | 22:20 |
juan | i think that you are talking about the D_date macro | 22:20 |
@preaction | yes | 22:21 |
juan | ok | 22:21 |
juan | thanks | 22:21 |
@preaction | it's ^D(); in the templates, and D_date in the lib/WebGUI/Macro | 22:21 |
juan | ok | 22:21 |
-!- ryuu_ro [n=rory@c529ce350.cable.wanadoo.nl] has quit [] | 22:28 | |
juan | preaction, if i want to call the ^D macro inside the other macro, is it possible? | 22:41 |
@preaction | juan, try it and see | 22:41 |
juan | i have tried | 22:42 |
juan | but i obtained an error | 22:42 |
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui | 22: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 #webgui | 23: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 #webgui | 23:39 | |
-!- mode/#webgui [+o Haarg] by ChanServ | 23:39 | |
-!- juan [n=juangui@static-adsl201-232-86-73.epm.net.co] has left #webgui [] | 23: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 #webgui | 00:09 | |
juan | hello | 00:09 |
juan | i have an error with a collaboration system | 00:09 |
juan | I don't know what happen but a collaboration system disappears in my site | 00:10 |
juan | o looked for it and i found it in the clipboard | 00:11 |
juan | i restored but only the admin user can see ti | 00:11 |
juan | i checked the security permissions and everyone is enable to see it | 00:12 |
juan | i deleted cache | 00:12 |
juan | besides i didn't see anything in webgui.log | 00:12 |
juan | do you know what is happening? | 00:13 |
@apeiron | juan, Did you commit it? | 00:17 |
CIA-22 | WebGUI: jt * r5812 /branch/WebGUI_Commerce/ (5 files in 3 dirs): transaction backend and tests complete | 01: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 #webgui | 01:33 | |
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI | 01: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 #webgui | 08:05 | |
-!- mode/#webgui [+o Haarg] by ChanServ | 08: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 #webgui | 08:33 | |
-!- mode/#webgui [+v Radix_] by ChanServ | 08: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 #webgui | 11:17 | |
-!- mode/#webgui [+o Haarg] by ChanServ | 11:17 | |
-!- Haarg [n=haarg@24-177-119-178.dhcp.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"] | 12:59 | |
CIA-22 | WebGUI: yung * r5813 /WebGUI/ (lib/WebGUI/Asset/Wobject/Thingy.pm t/Asset/Wobject/Thingy.t): fix: defaultThingId was not automatically set after creating first thing, also added a test for this. | 18:18 |
CIA-22 | WebGUI: yung * r5814 /WebGUI/lib/WebGUI/Asset/ (Wobject.pm Wobject/Thingy.pm): Collateral methods now quote table/column names. Removed Collateral methods from Thingy asset. | 18:34 |
CIA-22 | WebGUI: jt * r5815 /branch/WebGUI_Commerce/www/extras/ (layout_sprite.png yui resize.css resize-skin.css): merging new yui | 19:33 |
CIA-22 | WebGUI: jt * r5816 /Too many paths: merging new yui | 19:51 |
-!- Haarg [n=haarg@24-177-119-178.dhcp.mdsn.wi.charter.com] has joined #webgui | 19:53 | |
-!- mode/#webgui [+o Haarg] by ChanServ | 19:53 | |
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui | 20:08 | |
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui | 21:34 | |
-!- mode/#webgui [+o preaction] by ChanServ | 21:34 | |
CIA-22 | WebGUI: jt * r5817 /branch/WebGUI_Commerce/lib/WebGUI/ (6 files in 4 dirs): | 22:05 |
CIA-22 | WebGUI: started on transaction management interface | 22:05 |
CIA-22 | WebGUI: finished merging new yui | 22: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 #webgui | 22:24 | |
-!- mode/#webgui [+o rizen] by ChanServ | 22:24 | |
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit [Client Quit] | 22:24 | |
diakopter | perlDreamer: where are you | 23:09 |
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui | 23:48 | |
-!- mode/#webgui [+o apeiron] by ChanServ | 23:48 | |
--- Day changed Sun Mar 16 2008 | ||
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui | 00:39 | |
CIA-22 | WebGUI: 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 #webgui | 15: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 #webgui | 17:42 | |
-!- SynQ [n=koen@e97024.upc-e.chello.nl] has joined #WebGUI | 17:46 | |
SynQ | howdy | 17:46 |
SynQ | oh wait | 17:52 |
SynQ | it's sunday | 17:52 |
SynQ | there is no life here on sunday | 17:53 |
-!- WorkingOnWise [n=workingo@68-188-193-183.dhcp.mrqt.mi.charter.com] has joined #webgui | 19: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 #webgui | 19:32 | |
-!- zylopfa [n=zylopfa@port111.ds1-vby.adsl.cybercity.dk] has joined #webgui | 19:50 | |
zylopfa | Greetings | 19:51 |
zylopfa | I am new to webgui but seasoned in perl and i'd like to know more about file operations under the webgui api | 19:51 |
zylopfa | I am making a macro that will create a xml playlist from files in a directory where files is uploaded via filepile | 19:52 |
zylopfa | but how do i list files in directories within webgui? | 19:52 |
zylopfa | and how do i open the files and such | 19:52 |
zylopfa | sometimes i just wanna program outside of the webgu api cause in order for me to do anything i have to read through tons of module files and will be lucky if i find a function to do what i want | 20:25 |
zylopfa | guess no one can help | 20:26 |
zylopfa | bye | 20:26 |
-!- zylopfa [n=zylopfa@port111.ds1-vby.adsl.cybercity.dk] has left #webgui ["Leaving"] | 20:26 | |
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui | 20:42 | |
-!- mode/#webgui [+o preaction] by ChanServ | 20: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 #webgui | 20:54 | |
-!- BartJol [n=plainstu@54-167.surfsnel.dsl.internl.net] has joined #webgui | 20: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 #webgui | 22:34 | |
-!- wgGuest54 [n=wgGuest5@cpe-70-123-157-171.austin.res.rr.com] has joined #webgui | 22:36 | |
wgGuest54 | hello? | 22:36 |
@preaction | hello | 22:42 |
wgGuest54 | hi...quick question: is there a mechanism available in webgui whereby a java routine can be called while rendering a page? | 22:43 |
@preaction | uh... for what purpose? when do you need it to be called? why do you need it to be called? | 22:45 |
wgGuest54 | it's a backend process that takes several parameters as input and would return a snippet of html... | 22:45 |
wgGuest54 | so, think of it as similiar in concept to a macro or a sql report... | 22:46 |
@preaction | sounds like a macro, or rather, something that could be called via a macro | 22:46 |
wgGuest54 | okay | 22:46 |
@preaction | perhaps Perl's Inline::Java could help? | 22:46 |
wgGuest54 | possibly, although I think Inline may have some limitations...my thought was that someone in the webgui world may have encountered and worked through this...I'll do some additional digging | 22: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 #webgui | 01:14 | |
-!- mode/#webgui [+v Radix-wrk] by ChanServ | 01: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 #webgui | 04:30 | |
-!- mode/#webgui [+v Radix-wrk] by ChanServ | 04: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 #webgui | 08:47 | |
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui | 08:52 | |
-!- mode/#webgui [+o preaction] by ChanServ | 08: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 #webgui | 10: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 #webgui | 14: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 #WebGUI | 15:31 | |
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui | 15:31 | |
SDuensin | Morning. | 15:34 |
-!- dionak [n=diona@97.66.185.250] has joined #webgui | 15:39 | |
CIA-22 | WebGUI: graham * r5819 /Lift/ (43 files in 14 dirs): initial commit | 15: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 #webgui | 15:55 | |
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui | 17:12 | |
-!- mode/#webgui [+o rizen] by ChanServ | 17:12 | |
perlmonkey2 | Is there any reason I couldn't take the /data directory off one machine, copy it to another, and then install the WRE on that other machine to run WG? | 17: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 #webgui | 17:49 | |
-!- mode/#webgui [+o preaction] by ChanServ | 17:49 | |
@rizen | no | 17:49 |
@rizen | that's actually the point of the /data folder | 17:49 |
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has joined #webgui | 18:02 | |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 18:02 | |
+perlDreamer | Hey, all. I'm back from vacation. | 18: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 | |
@preaction | vacation? we all thought you were working | 18:24 |
+perlDreamer | no | 18:24 |
+perlDreamer | if I'm at work, I'm almost always on IRC | 18:25 |
@preaction | ah, the more I know! | 18:25 |
+perlDreamer | Went to Legoland, rode trains | 18:25 |
+perlDreamer | Went to Disneyland, rode trains | 18:25 |
@preaction | sweet | 18:25 |
+perlDreamer | Went to Griffith Park, rode trains | 18:25 |
+perlDreamer | Went to Union Station, rode trains | 18:25 |
@preaction | kids like trains? | 18:25 |
+perlDreamer | a lot | 18:25 |
+perlDreamer | we did some other stuff, too :) | 18:25 |
@preaction | good kids | 18:25 |
+perlDreamer | they want to visit rizen's house | 18:26 |
+perlDreamer | because it's next to train tracks | 18:26 |
@preaction | i love trains. can't wait to inherit grandpa's old O- and HO- scale model trains | 18:26 |
@preaction | ha | 18:26 |
@preaction | and before you start: i don't know what's happened to the test box, it's a hardware failure that I may have the parts to fix hopefully this week | 18:27 |
+perlDreamer | ah, okay | 18:27 |
+perlDreamer | I'm sorry this is such a huge hassle for you | 18:27 |
@preaction | it isn't, it's worth far more than the work i'll ever put into it | 18:28 |
@preaction | you rode Big Thunder Mountain Railroad, right? | 18:29 |
@rizen | i can't allow them to come here | 18:30 |
@preaction | and the Tomorrow-land tram thing? | 18:30 |
+perlDreamer | No, kids too young, dad too scared | 18:30 |
@preaction | oh, wait. Disneyland in CA or FL? | 18:30 |
@rizen | they're kids...they might infect me with kid stuff | 18:30 |
+perlDreamer | Rode the tram, Casey Jr, they even rode the Heimlick train in Bug land | 18:30 |
+perlDreamer | rizen: we'll wrap them in plastic | 18:30 |
@preaction | trick them with splash mountain. it's all fun and games until you get to the end | 18:31 |
+perlDreamer | they read an entire guide to Disney land, they knew more about it than I did :) | 18:31 |
@preaction | too much nollidg isn't good for a kid ;-) | 18:32 |
@rizen | perlDreamer: i build the start of the transaction management screen using the data table stuff..you may want to look at it to help you with the tax stuff | 18:34 |
+perlDreamer | cool, I dug a little into that, but didn't get too far | 18:34 |
+perlDreamer | do you like it? | 18:34 |
@rizen | yes | 18:36 |
@rizen | it's really sweet | 18:36 |
@rizen | after i set it up, i realized i want to retrofit a lot of the webgui admin screens to use it | 18:37 |
+perlDreamer | did you use client side, or server side pagination? | 18:37 |
@rizen | server side | 18:37 |
@rizen | because the transaction table could get HUGE after a while | 18:38 |
+perlDreamer | maybe we need a DataTable widget/form things :) | 18:45 |
@rizen | i can't imagine how you'd make that work | 18:46 |
@rizen | in a generic fashion | 18:46 |
+perlDreamer | I was thinking it would be nice to handle all the JS script inclusions and all | 18:47 |
@rizen | i'm not sure how you'd do that since you have to customize formatters and stuff | 18:58 |
@rizen | it would certainly be worth investigating though | 18:58 |
+perlDreamer | eh, it's just my js-phobia talking again | 18:59 |
-!- dionak [n=diona@97.66.185.250] has quit [] | 19:14 | |
-!- dionak [n=diona@97.66.185.250] has joined #webgui | 19:14 | |
CIA-22 | WebGUI: meatbop * r5820 /WebGUI/www/extras/assets/ (small/Donation.gif Donation.gif): Added donation icons | 19:16 |
CIA-22 | WebGUI: jt * r5821 /branch/WebGUI_Commerce/www/extras/assets/ (Donation.gif small/Donation.gif): merging new icon | 19:16 |
CIA-22 | WebGUI: jt * r5822 /branch/WebGUI_Commerce/ (4 files in 4 dirs): fixed some bugs, added human friendly order number to transactions | 19:16 |
-!- dionak [n=diona@97.66.185.250] has quit [] | 19:41 | |
-!- dionak [n=diona@97.66.185.250] has joined #webgui | 19:41 | |
CIA-22 | WebGUI: jt * r5823 /branch/WebGUI_Commerce/ (4 files in 3 dirs): added basic quantity checking for inventory management, and a dateAdded field to the cart in case we need to monitor how long items have been in the cart | 20:00 |
CIA-22 | WebGUI: colin * r5824 /branch/WebGUI_Commerce/lib/WebGUI/Shop/ShipDriver/FlatRate.pm: fix syntax error in FlatRate, calculate | 20:00 |
CIA-22 | WebGUI: colin * r5825 /branch/WebGUI_Commerce/t/Shop/ShipDriver/FlatRate.t: options access is now private, removing test. | 20:00 |
+perlDreamer | whole lot of test breakage happening | 20:00 |
@preaction | those mech tests are failing because our old test box doesn't have Test::WWW::Mech | 20:01 |
+perlDreamer | this is just in the Commerce branch | 20:02 |
@preaction | oh, good job guys | 20:02 |
-!- dionak [n=diona@97.66.185.250] has quit [] | 20:24 | |
+perlDreamer | a lot of it is just maintenance, code changed without changing the tests | 20:24 |
-!- dionak [n=diona@97.66.185.250] has joined #webgui | 20:24 | |
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has joined #webgui | 20:29 | |
-!- mode/#webgui [+v MrHairgrease] by ChanServ | 20:30 | |
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui | 20:33 | |
CIA-22 | WebGUI: meatbop * r5826 /WebGUI/www/extras/assets/ (Sku.gif small/Sku.gif): Added sku icons | 20:42 |
@rizen | pd that's probably my fault | 20:48 |
@rizen | i'll fix it up | 20:48 |
+MrHairgrease | hey perldreamer is back! | 20:48 |
@rizen | there fixed the shipping errors | 20:56 |
CIA-22 | WebGUI: jt * r5827 /branch/WebGUI_Commerce/t/Shop/ (Cart.t Ship.t): fixed bugs due to changes in code | 21:02 |
+MrHairgrease | how do these url handlers wor | 21:05 |
+MrHairgrease | eg. how do i get to the stuff in wg::url::shop? | 21:05 |
@rizen | pagename?shop=pay;method=showPaymentOptions | 21:06 |
+MrHairgrease | ok thanks | 21:06 |
+MrHairgrease | tryin it now | 21:06 |
@rizen | where pay = WebGUI::Shop::Pay and showPaymentOptions = www_showPaymentOptions | 21:06 |
@rizen | it's all running through a content handler called Shop.pm | 21:07 |
@rizen | if you want to see the logic | 21:07 |
+MrHairgrease | yeah saw that | 21:07 |
+MrHairgrease | but i was wondering how to call it | 21:07 |
@rizen | i'll put that into the docs | 21:07 |
+MrHairgrease | ah i see | 21:11 |
+MrHairgrease | www_showPaymentOptions hasn't been implemented yet | 21:12 |
@rizen | right | 21:12 |
@rizen | here do this one: /home?shop=cart;method=view | 21:12 |
@rizen | that one works | 21:12 |
+MrHairgrease | i just tried pay/manage | 21:12 |
@rizen | or /home?shop=transaction;method=manage | 21:12 |
+MrHairgrease | does give outpu too | 21:12 |
+MrHairgrease | ok | 21:12 |
@rizen | showPaymentOptions may never be implemented. that was just an example | 21:13 |
+MrHairgrease | yeah, i understand | 21:13 |
@rizen | over time i think i'm going to get rid of the "operations" concept, at least as it exists now | 21:13 |
@rizen | and move to more content handlers | 21:14 |
@rizen | of course, operations is a content handler...but it's huge | 21:14 |
CIA-22 | WebGUI: jt * r5828 /branch/WebGUI_Commerce/lib/WebGUI/Content/Shop.pm: added documentation on how to access the shop modules via a url | 21:21 |
CIA-22 | WebGUI: jt * r5829 /branch/WebGUI_Commerce/lib/WebGUI/Content/Shop.pm: added clarity | 21:21 |
-!- lisette [n=liraos@static-adsl201-232-86-73.epm.net.co] has quit [Read error: 113 (No route to host)] | 21:48 | |
+MrHairgrease | non-existant templateId should throw ObjectNotFound? | 21:50 |
@rizen | yup | 21: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 #webgui | 22:31 | |
+perlDreamer | okay, all the tests are running clean now | 22:38 |
+perlDreamer | thanks, rizen! | 22:38 |
@rizen | no need to thank me, you should berate me for breaking it and not fixing it. =) | 22:39 |
+MrHairgrease | stop breaking the code! | 22:39 |
+perlDreamer | What kind of junior high programming classes have you been taking? | 22:39 |
+perlDreamer | test before committing | 22:39 |
* perlDreamer grumbles a bit more | 22:39 | |
+MrHairgrease | meanwhile i get an error when doing method=setShippingAddress | 22:39 |
+perlDreamer | yada yada yada | 22:40 |
+MrHairgrease | and I can't find out where it's screwing up | 22:40 |
+MrHairgrease | Can't call method "db" on an undefined value at /data/WebGUI/lib/WebGUI/Shop/Ship.pm line 150 | 22:40 |
@rizen | pd...i just made the transaction data table cooler because i made the data searchable | 22:40 |
@rizen | likely my fault too | 22:41 |
@rizen | let me look | 22:41 |
+perlDreamer | MrHairgrease, try updating. I just had a clean run and I'm up to date here. | 22:42 |
+MrHairgrease | i just did | 22:42 |
+perlDreamer | Is this in the UI, or in a test? | 22:43 |
+MrHairgrease | ui | 22:43 |
+MrHairgrease | session doesn't seem to be set | 22:43 |
+MrHairgrease | but Ship->new is called only in Cart | 22:44 |
+MrHairgrease | but that has an exception for not passing a session along | 22:44 |
+MrHairgrease | hey, this is weird | 22:45 |
+MrHairgrease | shop=cart;method=view now generates the same error | 22:46 |
CIA-22 | WebGUI: colin * r5830 /branch/WebGUI_Commerce/t/Shop/ShipDriver/FlatRate.t: more test maintenance. Add automatically added form elements, change shipperId to getId | 22:46 |
CIA-22 | WebGUI: jt * r5831 /branch/WebGUI_Commerce/lib/WebGUI/ (Shop/Transaction.pm Content/Shop.pm): added transaction searching | 22:46 |
+MrHairgrease | while i'm possitive that it worked before i started to encounter the error in setShippingAddress | 22:46 |
-!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI | 22:53 | |
elnino | hello. | 22:54 |
-!- SDuensin [n=Scott@165.sub-75-207-139.myvzw.com] has quit ["Leaving"] | 22:54 | |
@rizen | found the problem | 22:55 |
@rizen | fixing | 22:55 |
+MrHairgrease | ok | 22:55 |
+MrHairgrease | great | 22:55 |
elnino | I have an external database that I set up, and from what I can tell it works, but I'm creating a new report and am getting an error in my log file: | 22:55 |
elnino | Counldn't call method view on asset Root cause: can't call method errorCode on an undefined value at /data/WebGUI/lib/WebGUI/Paginator.pm. I have no idea what this means. Does it mean anything to anyone? | 22:56 |
+MrHairgrease | my guess is your dblink cannot connect | 22:58 |
@rizen | fix is in svn | 22:59 |
+MrHairgrease | or your query is broken | 22:59 |
+MrHairgrease | ah ok | 22:59 |
+MrHairgrease | i'll check it out | 22:59 |
elnino | But I use this connection for other reports that work. The query I tested manuall works as well. | 23:00 |
elnino | but I'll double check anyway | 23:00 |
+MrHairgrease | but it's a bug anyway | 23:00 |
+MrHairgrease | oh btw | 23:00 |
@rizen | perhaps you didn't pass in the parameters to setDataByQuery() properlly | 23:00 |
+MrHairgrease | what dbd are you using? | 23:00 |
elnino | maxdb (mysql) | 23:01 |
elnino | dbi:MaxDB:machinename:port/databasename | 23:01 |
elnino | Rizen, is your coment about setDatabyquery for me? I don't knwo what you mean if it is for me. | 23:03 |
@rizen | yes | 23:03 |
@rizen | are you not using the paginator asset | 23:03 |
CIA-22 | WebGUI: jt * r5832 /branch/WebGUI_Commerce/lib/WebGUI/Shop/Cart.pm: fixed leftover api error | 23:04 |
@rizen | s/asset/class/ | 23:04 |
@rizen | my guess is that you are | 23:04 |
@rizen | also, are you trying to run WebGUI on MaxDB? | 23:04 |
elnino | It's a new report, I didn't change any settings on the pagigation, I think it's 50. | 23:04 |
elnino | No, Webgui is on mysql. MaxDb - is our backend for our Customer db | 23:05 |
@rizen | ok | 23:05 |
@rizen | sothis is an sql report then | 23:05 |
+MrHairgrease | elnino: you don't get 'Unconditional read failed' error messages? | 23:05 |
elnino | No Unconditional read fails. | 23:05 |
+MrHairgrease | what version are you on? | 23:06 |
+MrHairgrease | also have you tried turning debugging on? | 23:07 |
elnino | and I set the pagination to 0 - and it didn't make a difference - still same error. | 23:07 |
+MrHairgrease | just to be sure, i meant in the webgui.log | 23:07 |
elnino | I have debug on, but nothing shows up bcause a complete page is not returned (incomplete Html), it's very weird. | 23:07 |
elnino | yep, I have warn set on my logs and webgui.log only talks about not calling errorCode on an undefined value | 23:08 |
elnino | running 7.4.26 | 23:08 |
elnino | MaxDB version - 7.5 | 23:09 |
elnino | I'll try some other queries again | 23:09 |
+MrHairgrease | weird | 23:10 |
elnino | yes. | 23:10 |
+MrHairgrease | b/c if the value it's calling errorCode is undef, the unconditional read failed thingy should be logged | 23:10 |
+perlDreamer | it could be a bug in the driver itself | 23:11 |
+MrHairgrease | not ;ikely | 23:12 |
+MrHairgrease | since webgui has it's own wrapper around dbi | 23:12 |
+MrHairgrease | its* | 23:12 |
+MrHairgrease | doh getOptions... | 23:13 |
elnino | ok. I tried another sql query, and it works. So I don't knwo what to think, | 23:15 |
elnino | I tried a simpler select * from table version of my original query and it is still givin gme the error. What do you mean getOptions? | 23:15 |
+MrHairgrease | that was directed to rizen | 23:16 |
+MrHairgrease | still weird | 23:16 |
+MrHairgrease | are you certain you have select rights on all coumns of that table | 23:16 |
elnino | OH!!! | 23:16 |
+MrHairgrease | or at that table at all for that matter | 23:16 |
elnino | I do see Unconidtional reads. I was using search functionality in vi, and was searching on something else. | 23:17 |
elnino | that was somethign I tried first, was using the "gog" username password. | 23:17 |
+MrHairgrease | hey, howdo you know my password? | 23:18 |
elnino | I'm meant "god", and well, you know. | 23:18 |
+perlDreamer | I 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 |
+MrHairgrease | guess so | 23:25 |
+perlDreamer | sounds like a good place to throw an exception | 23:25 |
+MrHairgrease | rizen: i take it the checkout button in the view cart screen should be the PayDriver->www_getButton button... | 23:26 |
@rizen | no | 23:27 |
@rizen | there will actually be a separate screen | 23:27 |
@rizen | which lists all the payment gateways | 23:27 |
+MrHairgrease | oh | 23:27 |
+MrHairgrease | checkout goes there? | 23:27 |
@rizen | i originally wanted the checkout button be replaced by a series of buttons for the payment screen | 23:28 |
@rizen | but the problem is that some of the buttons go to paypal | 23:28 |
@rizen | some go to drivers | 23:28 |
@rizen | some shouldn't be displayed at all if there's a recurring item in the cart | 23:28 |
@rizen | etc | 23:28 |
@rizen | so there is a separate screen | 23:28 |
+MrHairgrease | ok | 23:28 |
@rizen | so you click on checkout | 23:28 |
@rizen | and that then makes you log in | 23:28 |
@rizen | if you aren't | 23:28 |
@rizen | and if you are then it displays the list of payment options | 23:29 |
@rizen | re: the payment buttons on the cart...the other problem that i was worried about was the store that has 10 payment methods | 23:29 |
+MrHairgrease | sort of like the way it is now? | 23:29 |
@rizen | it would be ugly | 23:29 |
@rizen | yes | 23:29 |
+MrHairgrease | indeed it would | 23:30 |
+MrHairgrease | and that screen, where would it go? In Pay.pm | 23:30 |
+MrHairgrease | ? | 23:30 |
@rizen | yup | 23:30 |
+MrHairgrease | www_selectPaymentGateway? | 23:30 |
@rizen | whatever you like | 23:31 |
@rizen | don't really care | 23:31 |
+MrHairgrease | you don't want that =) | 23:31 |
@rizen | ok i do care | 23:31 |
@rizen | use that | 23:31 |
+MrHairgrease | thought so | 23:31 |
+MrHairgrease | too bad | 23:31 |
@rizen | don't want it to be www_martinIsAsexyBastard | 23:31 |
@rizen | or www_iLikePorn | 23:31 |
+perlDreamer | or www_getSupportFromNetherlands | 23:32 |
+MrHairgrease | pd: don't worry about that one | 23:32 |
+perlDreamer | hey, maybe we could sell method names as advertising? | 23:32 |
+MrHairgrease | sure | 23:32 |
+MrHairgrease | i could use some extra money | 23:32 |
+perlDreamer | op=sponsoredbyGeneralMotors | 23:33 |
+perlDreamer | is the yahoo-dom-event.js automatically loaded by wG? | 23:54 |
--- Day changed Tue Mar 18 2008 | ||
* MrHairgrease hates CP-1252 | 00:08 | |
@rizen | perlDreamer ...no | 00:09 |
@rizen | you need to use a setScript | 00:09 |
@rizen | $session->style->setScript | 00:09 |
@rizen | like i do in the transaction manager screen | 00:09 |
+perlDreamer | the transaction manager screen doesn't load that particular file, but it uses YAHOO.util.Event.onDOMReady. maybe it just comes out of util | 00:10 |
@rizen | yes it does | 00:13 |
@rizen | * Yahoo Global Object | 00:13 |
@rizen | * Event | 00:13 |
@rizen | * Dom | 00:13 |
@rizen | * Connection Manager | 00:13 |
@rizen | * Animation | 00:13 |
@rizen | * Drag & Drop | 00:13 |
@rizen | * Element | 00:13 |
@rizen | util contains all those things | 00:13 |
+perlDreamer | I see. | 00:14 |
@rizen | did you see my little search thingy | 00:19 |
@rizen | and how it works | 00:19 |
@rizen | or rather how it's integrated into the data table | 00:20 |
+perlDreamer | yes | 00:20 |
+perlDreamer | I'm not sure if the Tax needs a search or not. but it couldn't hurt to build it in | 00:20 |
+perlDreamer | how well do the JS column sorting the pagination work together? | 00:21 |
@rizen | i don't think it does | 00:21 |
@rizen | but search isn't really the important part, it's how you can integrate other queries | 00:21 |
@rizen | for filters, search, or whatever | 00:21 |
@rizen | they don't | 00:21 |
@rizen | if you want to do sorting you have to do server side sorting | 00:21 |
@rizen | because it doesn't have all the data | 00:21 |
@rizen | so if you allow column sorting | 00:22 |
@rizen | it would just sort the data it has | 00:22 |
@rizen | not all the data | 00:22 |
+perlDreamer | I have a lot more reading to do in the YUI API docs | 00:22 |
@rizen | unless you're not using ajax to fetch the data? are you just giving it the entire feed? | 00:22 |
+perlDreamer | I was going to give it the entire feed, but the tax table could be large, too | 00:22 |
@rizen | i didn't actually read any of the yui docs to implement this | 00:23 |
+perlDreamer | and I have this cool code to copy/paste/steal from now, so I may just go for the big banana | 00:23 |
@rizen | i just looked at 2 examples | 00:23 |
@rizen | is there something in my code i could document for you to make it easier to understand | 00:23 |
@rizen | and therefore future generations easier to understand | 00:23 |
+perlDreamer | not really, I think I just looked at different examples. | 00:27 |
+perlDreamer | it's all really pretty straight forward | 00:27 |
-!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has quit ["Leaving"] | 00:27 | |
+perlDreamer | well, okay, I do have a question. Where does formatter:YAHOO.widget.DataTable.formatViewTransaction come from? | 00:30 |
+perlDreamer | nm, I see it now | 00:31 |
+perlDreamer | it's defined inline | 00:31 |
@rizen | i'm adding some comments | 00:31 |
@rizen | plus i just realized a flaw in my design | 00:31 |
@rizen | if you type in a search param | 00:31 |
@rizen | and hit enter | 00:31 |
@rizen | rather than click on the button | 00:31 |
@rizen | it submits the form | 00:31 |
@rizen | which does nothing | 00:31 |
@rizen | need to change that | 00:31 |
@rizen | ah...much better | 00:33 |
+perlDreamer | should we be using Shop::Admin->canManage instead of local canEdit's like in traditional operations? | 00:35 |
@rizen | yes | 00:36 |
@rizen | for now at least, if you have permissions to the commerce system, you'll have permission to the whole commerce system | 00:36 |
@rizen | i thought what you did was a good idea...it just needed to be in one place | 00:37 |
+perlDreamer | it makes sense to centralize it | 00:37 |
@rizen | and since you get a reference to the admin console from Admin.pm, it seemed that canManage should go there too | 00:37 |
@rizen | i'm both scared and excited about the commerce system | 00:38 |
@rizen | excited because it's turning out so good | 00:38 |
@rizen | scared because we only have 2.5 months left to do a lot of shizzle | 00:38 |
+perlDreamer | 2.5 time months, but at least 1.5 months of hacker time/month | 00:39 |
+perlDreamer | 1 rizen + fractional perlDreamers, MrHairgrease and others | 00:40 |
@rizen | if it were truely 1 rizen i wouldn't worry about it | 00:41 |
@rizen | it's only about .5 rizen though | 00:41 |
@rizen | due to pb stff | 00:41 |
@rizen | stuff | 00:41 |
@rizen | i have a trade show coming up, plus i spend 2 days per month doing financials related stuff | 00:42 |
@rizen | plus the other piddly crap like black blog, helping staff with problems, etc | 00:42 |
@rizen | anyway..it's good that i'm worried | 00:42 |
@rizen | it motivates me | 00:42 |
+perlDreamer | how's the plumbing? | 00:46 |
+perlDreamer | hopefully no more pump time? | 00:46 |
@rizen | it's not spring yet | 00:47 |
@rizen | oh that | 00:47 |
@rizen | actually i spent another dozen or so hours pumping in the past week | 00:47 |
@rizen | but the drains have finally thawed | 00:47 |
@rizen | so that should be over | 00:47 |
CIA-22 | WebGUI: jt * r5833 /branch/WebGUI_Commerce/lib/WebGUI/Shop/Transaction.pm: fix a submit problem, add some comments | 00:47 |
+perlDreamer | sweet. You're going to have massive biceps, dude. | 00:47 |
+perlDreamer | feed the burn! | 00:47 |
@rizen | why? | 00:48 |
@rizen | i'm not manually sitting there with a pump | 00:48 |
@rizen | a hand pump | 00:48 |
@rizen | it's an electric pump | 00:48 |
@rizen | i just have to route hoses | 00:48 |
@rizen | and keep moving it around to match water conditions | 00:48 |
+perlDreamer | that's not so bad; we just need to get you a waterproof notebook | 00:49 |
@rizen | you actually thought i was hand pumping water like an old style bilge for 12 hour straight? | 00:49 |
+perlDreamer | yeah | 00:49 |
@rizen | i'm smarter than that | 00:49 |
@rizen | =) | 00:49 |
@preaction | avast ye scurvy dogs! harder on the bilge she's drawing too much water! | 00:50 |
+perlDreamer | dead men pump no water | 00:50 |
+perlDreamer | ah yea, found_rows() | 00:51 |
+perlDreamer | from Frank's blog entry | 00:51 |
@rizen | it doesn't seem to work though | 00:54 |
@rizen | the found_rows() thing | 00:54 |
@rizen | oh | 00:56 |
@rizen | i think i'm using it wrong | 00:56 |
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI | 01:05 | |
+perlDreamer | http://dev.mysql.com/doc/refman/5.1/en/information-functions.html#function_found-rows | 01:07 |
@rizen | i've read the instructions | 01:08 |
@rizen | it still doesn't work right | 01:08 |
@rizen | and i was doing it wrong | 01:08 |
@rizen | but i've fixed it | 01:08 |
@rizen | and it still doesn't work right | 01:08 |
+perlDreamer | does the select have to come after all the data is read from MySQL? | 01:12 |
@rizen | it doesn't in frank's pagination code | 01:12 |
@rizen | WebGUI::Paginator | 01:12 |
+perlDreamer | not meaning to bash Frank, but does it really work? | 01:12 |
@rizen | good question | 01:13 |
@preaction | yes | 01:13 |
@rizen | yes it's a good question, or yes it needs to come after you do a $sth->array | 01:13 |
@preaction | yes it works | 01:13 |
@rizen | ok | 01:13 |
@preaction | at least, the Paginator works | 01:14 |
@rizen | well i'm doing what he does as far as i can tell | 01:14 |
* perlDreamer decides to take a commerce break and write a paginator test :) | 01:14 | |
@rizen | it works from the command line | 01:15 |
@rizen | but not from within webgui | 01:15 |
@rizen | not the paginator...but my ode | 01:15 |
-!- dionak [n=diona@97.66.185.250] has quit [] | 01:16 | |
@rizen | nevermind, it's not mysql that's busted | 01:20 |
@rizen | it's yui | 01:20 |
@rizen | oh that's fucked in the head | 01:22 |
@rizen | select found_rows() returns as a scalar in perl | 01:23 |
@rizen | a text scalar | 01:23 |
@rizen | so when you push it into json it's still text | 01:23 |
@rizen | and when yui receives it it's still text | 01:23 |
@rizen | and therefore yui treats it as zero | 01:23 |
+perlDreamer | +0 | 01:23 |
@rizen | so when i changed my code to +0 | 01:23 |
@rizen | then it works | 01:23 |
@rizen | it just sucks that i had to do that | 01:24 |
+perlDreamer | maybe use the quickArray vs quickScalar? | 01:24 |
+perlDreamer | that's what Frank uses in the Paginator code | 01:24 |
@rizen | it doesn't matter now that i found it | 01:24 |
@rizen | ok i'm done for today | 01:25 |
@rizen | screwed up the commerce system enough for one day | 01:25 |
@rizen | =) | 01:25 |
@rizen | actually... | 01:26 |
@rizen | i'm going to move on to the EMS tomorrow | 01:26 |
@rizen | it's the biggest piece that's left that's still outstanding methinks | 01:26 |
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has left #webgui [] | 01:27 | |
@rizen | not that we don't have a thousand little piees | 01:27 |
@rizen | pieces | 01:27 |
@rizen | but that one is going to be nasty | 01:27 |
@rizen | plus, worst case scenario someone else can finish up transaction management...it's not that hard now that the base stuff is done | 01:27 |
@rizen | later guys | 01:28 |
-!- rizen is now known as rizenisaway | 01:28 | |
CIA-22 | WebGUI: jt * r5834 /branch/WebGUI_Commerce/lib/WebGUI/Shop/Transaction.pm: started adding view transaction page | 01:28 |
CIA-22 | WebGUI: jt * r5835 /branch/WebGUI_Commerce/lib/WebGUI/Shop/Transaction.pm: fixed a pagination problem | 01:28 |
-!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui | 01:30 | |
-!- mode/#webgui [+v Radix-wrk] by ChanServ | 01: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 #webgui | 01:58 | |
-!- Radix-wrk [n=Jesse@203.161.68.67] has quit ["Leaving"] | 02:00 | |
-!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui | 02:08 | |
-!- mode/#webgui [+v Radix-wrk] by ChanServ | 02:08 | |
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui | 02: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 #WEBGUI | 04:34 | |
elnino | is there a place I can find the old help that was in webgui before it was removed? I'm looking for the template variables for the file asset. | 04:35 |
+Radix-wrk | You're welcome to use our site - http://www.formsys.com/home?op=viewHelpTOC | 04:44 |
+Radix-wrk | older version tho.. 7.0.8 I think we still use | 04:45 |
+Radix-wrk | http://www.juga.biz/home?op=viewHelpTOC | 04:45 |
+Radix-wrk | newer version there.. that's 7.3 I think | 04:45 |
elnino | Thanks! during my free time, I want to copy that to the wiki - there is valuable info there that is greatly misssed by me. =) Would there be a problem copying that do you think? | 04:46 |
+Radix-wrk | Hmm.. might be best to ask the PB guys where the help went | 04:47 |
+Radix-wrk | I thought it had been converted to the wiki or something | 04:47 |
elnino | no, it wasn't - though some of it may have by users. I think that it was the idea to port it, but I don't think pb is doing that, but rather relying on non-pb people to do that. I may be wrong. | 04:49 |
+Radix-wrk | That juga.biz link is using 7.3.21-stable btw | 04:49 |
elnino | anyway, I found the info I needed immediately. So thank you for that. like I said, free time. whatever that is. | 04:49 |
+Radix-wrk | If it's not already there, then yeah, it should be added to the wiki if you have any of that elusive "free time" :) | 04:50 |
-!- elnino_laptop [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI | 04:51 | |
elnino_laptop | weird. I added a page to the wiki on webgui's site, and then added it to the TOC, and when editing the TOC, none of the links show up as links in edit mode, so I wonder how they become links is it automatic? I'm using IE7. | 05: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 #webgui | 05:18 | |
-!- elnino_home [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI | 05: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 #WEBGUI | 05:30 | |
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui | 05:37 | |
-!- mode/#webgui [+o preaction] by ChanServ | 05: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 #webgui | 06: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 #webgui | 09:29 | |
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui | 10:04 | |
-!- BartJol [n=plainstu@194.171.50.123] has joined #webgui | 11:04 | |
-!- ryuu_ro_ [n=rory@194.171.50.69] has joined #webgui | 11:18 | |
-!- ryuu_ro [n=rory@194.171.50.69] has quit [Read error: 104 (Connection reset by peer)] | 11:18 | |
ryuu_ro_ | Hi guys, I run webgui 7.4.21 for a while now without any problems until yesterday | 11:47 |
ryuu_ro_ | suddenly the admin console doesn't show any assets anymore in FF | 11:48 |
ryuu_ro_ | can someone point me in the right direction | 11:48 |
BartJol | does anyone know how to make a commerce purchase available, when not being logged in? | 13:14 |
BartJol | in the primer it says that anonymous registration is on, but this doesn't help and a login screen is still shown? | 13: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 | |
ckotil | Is the sql report asset broke in 7.4.12? | 15:11 |
ckotil | I just noticed my only sql report asset is returning nothing. | 15:12 |
-!- SDuensin [n=Scott@218.sub-75-205-174.myvzw.com] has joined #WebGUI | 15:16 | |
SDuensin | Morning. | 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 #webgui | 16:06 | |
-!- mode/#webgui [+o rizen] by ChanServ | 16:06 | |
-!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui | 16:08 | |
-!- mode/#webgui [+o Haarg] by ChanServ | 16:08 | |
-!- dionak [n=diona@97.66.185.250] has joined #webgui | 16:19 | |
-!- BartJol [n=plainstu@194.171.50.123] has joined #webgui | 16:40 | |
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui | 16:57 | |
-!- mode/#webgui [+o preaction] by ChanServ | 16:58 | |
@rizen | preaction! | 16:58 |
@rizen | just the man i wanted to see | 16:58 |
@preaction | rizen! | 16:58 |
@preaction | ooooh | 16:58 |
@rizen | i know you have lots of thoughts about EMS | 16:58 |
@rizen | please share them with me | 16:58 |
@rizen | i'm beginning EMS 2.0 dev today | 16:58 |
@preaction | indeed | 16:59 |
@rizen | btw...i know one is that you think it should be a subclass of calendar | 16:59 |
@rizen | and that won't work | 16:59 |
@rizen | because the events have to be a subclass of WebGUI::Asset::Sku | 16:59 |
@preaction | yeah, it's a little infeasible | 16:59 |
@rizen | but other than that...please share | 17:00 |
@preaction | the calendar wasn't yet meant to be subclassed like that, my plan is to fix that situation soon | 17:00 |
@preaction | the whole prereq set / event thing is incredibly complicated for the manager. | 17:00 |
@preaction | but the main complication is that Badges are Events | 17:01 |
@preaction | (imho) | 17:01 |
@preaction | right know it's kinda like a tree, but if you'd seperate out badges and make them their own thing, it could probably get a lot simpler | 17:02 |
@rizen | do you think that badges and events should be separate classes? | 17:02 |
@rizen | i was thinking that instead of making them separate classes, i might just add a selector to their properties | 17:02 |
@rizen | "Badge, Event, Ribbon" | 17:02 |
@preaction | in the backend that would probably work fine. i will admit my ignorance as to what those terms mean was the main problem i kept having | 17:03 |
@preaction | so i would like to see it simplified / streamlined if at all possible | 17:04 |
@preaction | keep the advanced funtionality, sure, but make the standard act of building badges and events into something quick and easy | 17:04 |
@preaction | is there any other software out there for this we could blatantly ste^Wborrow from? | 17:05 |
@rizen | there are lots of them out there | 17:05 |
@rizen | but none that are good...that i've seen | 17:06 |
@rizen | and our ems goes into that category | 17:06 |
@rizen | =) | 17:06 |
@preaction | i was also thinking that it could be used, or subclassed for a sort of course management system, but that's not important really | 17:06 |
@rizen | i agree | 17:07 |
@rizen | and i'm keeping that in mind | 17:07 |
@preaction | i think that resource management might've been a feature i was hoping could be integrated | 17:07 |
@rizen | not adding new features at this time | 17:07 |
@preaction | human and equipment | 17:07 |
@rizen | no time for that | 17:07 |
@preaction | k | 17:07 |
@rizen | just trying to figure out what the baseline should be so we can add those things | 17:07 |
@rizen | so i will keep resource management in mind | 17:07 |
@preaction | oh, i was thinking that the meaning of Event should change a bit, to mean the actual all-encompassing Conference | 17:09 |
@rizen | ok so simplify everything, maybe break out badges, resource management...what else? | 17:09 |
@preaction | or perhaps EMS could have Conferences, which have Badges and Events | 17:09 |
@preaction | gama continually makes new EMS for every Event they have, when they should probably have a way to just say "Okay, we're having a new Event, lets add it to our EMS" | 17:10 |
@preaction | but that's kinda a new feature | 17:10 |
@rizen | see i was thinking that you should use a new EMS every year | 17:10 |
@rizen | and that EMS = conference | 17:11 |
@rizen | i know that wouldn't work for ticketmaste | 17:11 |
@rizen | r | 17:11 |
@rizen | but it works better for nearly everything else | 17:11 |
@preaction | EMSes share certain data, right? | 17:11 |
@rizen | they aren't going to once i'm done | 17:11 |
@preaction | but then that data is mostly commerce data isn't it? so the new commerce stuff will do that | 17:11 |
@rizen | that's one of the biggest complaints from gama ...and from me right now | 17:11 |
@rizen | huh? | 17:12 |
@preaction | oh, the buying badges for other people is .... it needs to be better i think | 17:12 |
@rizen | sure it needs to be better, but what does that mean? what would make it better? | 17:12 |
@preaction | if i remember correctly, the screen that lets you update a badge owners information is completely javascript, and seems hacked together | 17:14 |
@rizen | yeah, the drop down for that is gone | 17:14 |
@rizen | it's going to use the commerce address book feature instead | 17:15 |
@preaction | that should be about it for that | 17:15 |
@rizen | so that alone makes it better/ | 17:15 |
@rizen | ? | 17:15 |
@preaction | yeah | 17:15 |
@preaction | it's been awhile since i've poked around the EMS | 17:16 |
@preaction | the EMS's subcart thing needs to go | 17:16 |
@preaction | but the commerce rewrite allows that | 17:16 |
CIA-22 | WebGUI: graham * r5836 /WebGUI/lib/WebGUI/Asset/RSSFromParent.pm: Don't need to convert data to UTF8 anymore, it comes from mysql that way | 17:16 |
@preaction | since that subcart thing was a hack around some limitations of Commerce | 17:16 |
@rizen | oh i hadn't even thought of that | 17:17 |
@rizen | but you're right, i could put the badges directly into the cart as they are created | 17:17 |
@rizen | and continue modifying them while they are in the cart | 17:17 |
@preaction | the new commerce address book thing will have shared data, so that my personal info from last year would carry over to the new EMS this year? that'd be the only thing I could see sharing data between EMS would need to do | 17:25 |
@preaction | do we have time for some new templates? or is Steve booked up? | 17:27 |
@rizen | yes it will carry your old addresses | 17:27 |
@rizen | from year to year | 17:28 |
@rizen | steve is supposed to have time slated for templates in the ems | 17:28 |
@preaction | badges that are 0.00 or otherwise need an administrator to assign to you instead of being able to purchase, could those be handled differently? some sort of method to request access to the badge (i think gama uses a dataform currently) | 17:29 |
@preaction | eh, that's another new feature | 17:29 |
@preaction | i think that's about all i can think of. the end-user's experience is pretty solid, it's the administrators experience that needs a bit of streamlining | 17:30 |
@rizen | other features i'd like to add is a call for participation system | 17:32 |
@rizen | and also a schedule wall similar to the one that we put up for the wuc each year | 17:33 |
@preaction | yes, that was nice | 17:33 |
@rizen | that lists the rooms, and the events taking place in those rooms | 17:33 |
BartJol | y'know, thingy is a bitch to translate | 17:33 |
@rizen | by day and time | 17:33 |
BartJol | in dutch it sound really stupid "Dingetje" | 17:33 |
@rizen | is it because it's so "generic" ? | 17:33 |
@rizen | so use the english name | 17:33 |
@rizen | You call "Coca-cola" the same thing right | 17:34 |
@rizen | Thingy is a brand | 17:34 |
@rizen | Thingy(R) | 17:34 |
BartJol | yes, but thing like add thing really is to mysteriuos | 17:34 |
BartJol | thingy is ok | 17:34 |
BartJol | well, I'll have some thoughts on it | 17:34 |
@rizen | if you think that the dutch people will understand the concept of a "Thing" being a database table then feel free to call it "add table" | 17:35 |
@rizen | i just know that your average american office worker has no concept of a database | 17:35 |
BartJol | it's the same here | 17:35 |
BartJol | they just want to click on something | 17:36 |
ryuu_ro_ | so let's call it clicker then :) | 17:36 |
@rizen | let's call it a "Bart" | 17:36 |
@rizen | Add Bart | 17:37 |
ryuu_ro_ | lol delete Bart | 17:37 |
ryuu_ro_ | it isn't working he's still here | 17:37 |
@rizen | might be a bug | 17:38 |
BartJol | lol | 17:38 |
BartJol | I'm a bug | 17:38 |
BartJol | I will make musquito noices at your ears at night | 17:38 |
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui | 17:41 | |
@rizen | bart, i finally watched fear and loathing | 17:42 |
BartJol | ah | 17:43 |
BartJol | and? | 17:43 |
@rizen | you can have your dvd's back now | 17:43 |
@rizen | it's bad | 17:43 |
BartJol | :) | 17:43 |
@rizen | it's very bad | 17:43 |
@rizen | not the worst movie i've ever seen | 17:43 |
@preaction | it's a documentary! how can it be bad? | 17:43 |
BartJol | well, we have some different taste than | 17:43 |
@rizen | but it's pretty close | 17:43 |
@preaction | not as bad as Over The Top | 17:44 |
BartJol | well a semi-autobiography | 17:44 |
@rizen | there were certainly some funny parts | 17:44 |
@rizen | but i think in order to appreciate it, you have to be high | 17:44 |
BartJol | Considering Koen's mail, I will pick them up in august | 17:44 |
@rizen | and i don't get high | 17:44 |
BartJol | Dutch are allways high | 17:44 |
@rizen | indeed | 17:44 |
-!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI | 17:45 | |
BartJol | even when they don't use drugs | 17:45 |
@rizen | i'm usually pretty high on life, but rarely out of my mind high | 17:45 |
@rizen | i will say that it was the best mind bender movie i've ever seen | 17:46 |
elnino | I have some pending commits in my inbox that have actually been approved, and if I log into anybody else's inbox, they are marked as approved, and if you go tot eh pages and assets that they modified, the are approved. so I'm wondering how I can make them show as approved in my inbox | 17:46 |
@rizen | way better than pink floyd's the wall, and the big lobowski | 17:46 |
elnino | they've been sitting in there for about a year, and they are kinda bugging me now. | 17:46 |
-!- steveo_aa [n=sno@76.226.180.72] has quit ["Leaving."] | 17:48 | |
-!- steveo_aa [n=sno@76.226.180.72] has joined #webgui | 17:48 | |
-!- ryuu_ro_ [n=rory@194.171.50.69] has quit [] | 17:51 | |
BartJol | but if you'd like a prsentation on translating as well, maybe I can look what I can do. But I'm afraid it wil be a bit boring | 17:51 |
ckotil | w00t WRE .80! | 18:09 |
ckotil | i must be in a time vortex | 18:09 |
@Haarg | yeah, that's my fault | 18:11 |
@Haarg | forgot about the email alerts | 18:11 |
CIA-22 | WebGUI: graham * r5837 /WebGUI/ (2 files in 2 dirs): fixed: HttpProxy mixes original site's content encoding with WebGUI's | 18: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 #webgui | 18:33 | |
-!- mode/#webgui [+o preaction] by ChanServ | 18:33 | |
dionak | i'm trying to process a file upload in a custom wobject. i see a couple of ways this is done (file asset, filepile, etc. ). Is the process roughly... 1) create a storage location/object by calling WebGUI::Storage->create() 2) call WebGUI::Storage->addFileFromFormPost | 18:38 |
dionak | ? | 18:38 |
@preaction | use the WebGUI::Form::File control and it's all done for you | 18:39 |
dionak | where does that happen? i am using a fieldType 'file' | 18:40 |
@preaction | WebGUI::Form::File->getValueFromPost | 18:40 |
@preaction | i think | 18:40 |
@rizen | if you call the field name 'file' let's say | 18:41 |
@rizen | then you can do my $storageId = $session->form->get("file","File"); | 18:41 |
@rizen | the second "File" in there is the field type that you're validating with | 18:43 |
@rizen | note that it will keep creating a new storage location every time someone uploads | 18:43 |
@rizen | if you want it to reuse the storage location then you do | 18:43 |
@rizen | $session->form->get("file", "File", {defaultValue=>$storageId}); | 18:44 |
-!- BartJol [n=plainstu@194.171.50.123] has left #webgui [] | 18:45 | |
dionak | ok, let me give that a try. thanks. | 18:47 |
dionak | formId is automatically added to the upload input isn't it? so it might be... my $storageId = $session->form->get("file_formId","File"); | 18:50 |
dionak | ? | 18:50 |
@preaction | it is, yes, but the File control handles that | 18:50 |
dionak | great. thanks. | 18:51 |
@preaction | as long as you give get() the same name you used when you created the control, it'll work | 18:51 |
dionak | perfect. | 18:51 |
dionak | regarding reusing the storage location...would that be useful for when, say, a user is uploading the same file again? | 18:56 |
@rizen | yup | 18:58 |
@rizen | or if you want to put multiple files into the same storage location | 18:58 |
@rizen | sort of like CS does | 18:58 |
dionak | ok, that makes sense. | 18:58 |
@rizen | the more i think about it, the more i think you're right preaction...badge should be it's own class | 19:06 |
@rizen | cuz a badge doesn't need a date attached to it | 19:07 |
@rizen | date/time i mean | 19:07 |
@rizen | it may have one, but that's really only for the description | 19:07 |
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has joined #webgui | 19:13 | |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 19:13 | |
dionak | rizen, i found a bug in libapreq2 that prevents it from compiling on mac os x. It's been reported to the devs of libapreq but i wasn't sure if your team was aware or had run into this issue? I have been trying to compile the WRE from src. | 19:20 |
@rizen | we put out a build of the wre for mac | 19:20 |
@rizen | didn't have any problems | 19:20 |
dionak | It's Intel. | 19:21 |
dionak | I'm on PPC | 19:21 |
@rizen | right | 19:21 |
@rizen | oh | 19:21 |
@rizen | i didn't try that...i didn't realize that we still had anyone on ppc | 19:21 |
@rizen | i'm the only one in plain black that still has a PPC mac, and i don't use it anymore | 19:21 |
@rizen | are you sure it's a bug in libapreq2? | 19:22 |
dionak | that's what I'm reading on the mailing list. util.t fails | 19:22 |
dionak | a fink developer indicated it was something related to GCC on the mac architecture | 19:23 |
@rizen | ok then i won't bother compiling it. if you weren't sure then i could have just given it a shot | 19:23 |
+perlDreamer | btw, it's not nice to call developers "fink"s | 19:24 |
dionak | i'm going to upgrade soon but until that happens or i find a fix, the wre is a no-go. | 19:24 |
dionak | lol | 19:25 |
elnino | Hi. I have a custom auth mod that seems to be working fine, but I'm getting a warning in my log file: counldn't call mehtod view an asset for url Root cause: can't locate object method "displaymyLogin" what does that mean? | 19:26 |
@rizen | something is probably calling func=displaymyLogin | 19:28 |
@rizen | rather than op=auth;method=displayMyLogin | 19:28 |
@preaction | i think that error is something is trying to call $object->displaymyLogin | 19:33 |
elnino | ok. I see. in my auht mod, I'm calling SUPER:dsiplaymylogin. And noticed that I put that in the Auth.pm file that webgui provides, which then got slammed when I did an upgrade. | 19:34 |
elnino | So obviously that was a bad mistake. Where would the appropriate place be to put that function? | 19:34 |
@preaction | what does it do? why is displayLogin inadequate? | 19:36 |
@preaction | why do you need displaymyLogin in Auth.pm anyway? you shouldn't need to put anything in there to call displaymyLogin in your own auth module | 19:37 |
elnino | I have my own login page on a different server. | 19:37 |
elnino | Good question. The answer: If they know the webgui login page url (init login op= something whatever, ) I give them webgui's login page, otherwise, I send them to my other server to login. | 19:38 |
elnino | so, I'll change my call to "return displaymylogin("login",$vars)" and put the code into my auth mod, but I tried doing this before, andn it didn't work I thought. | 19:39 |
@preaction | i don't know, i've never had to build an auth module | 19:41 |
elnino | oh. I see what I did. For somereason, I couldn't figure out how to do a redirect in the auth mod, so I copied your displayLogin function and changed the form, so that it would submit onto my other server. SO the login page actually appears on webgui's site. I REALLY wanted to just redirect the user. | 19:42 |
dionak | i think you can do that via $session->http->setRedirect() or similar | 19:43 |
+perlDreamer | there's also redirectOnLogin | 19:44 |
+perlDreamer | ack -i redirect /data/WebGUI/lib/WebGUI | 19:44 |
+perlDreamer | Datamining the WebGUI core can teach you tons | 19:44 |
@preaction | the 7.5 series has "returnUrl" as well. so you can return a user to any URL after they login just by giving a "redirectUrl" form parameter | 19:52 |
dionak | will that apply to assets too? | 19:53 |
@preaction | no | 19:53 |
@preaction | just the Auth / createAccount and login | 19:53 |
@preaction | wait. shortcuts don't export their overrides in packages? | 19:56 |
elnino | right, but I need to present a different login page depending on where they are at. And I believe I couldnt' user the redirect, because headers were already sent to the browser. | 19:58 |
elnino | What is Datamining the WebGUI? a class? a book? I use grep - it gets me in enough trouble. =) | 19:59 |
+perlDreamer | Switch to ack, it's much, much better | 19:59 |
@preaction | ack is grep on steroids | 19:59 |
+perlDreamer | perl regular expressions | 19:59 |
+perlDreamer | switches for selecting types of files (perl files are the default) | 19:59 |
dionak | basically code spelunking was my understanding | 19:59 |
dionak | if I make a field required in a wobject definition, is it required for all form processing? | 20:00 |
dionak | thinking admin edit vs. the view | 20:00 |
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has joined #webgui | 20:00 | |
-!- mode/#webgui [+v MrHairgrease] by ChanServ | 20:00 | |
+perlDreamer | MrHairgrease! | 20:01 |
dionak | or, rather, processing a form displayed by the view method | 20:01 |
+perlDreamer | Long time no see | 20:01 |
+MrHairgrease | i was here yesterday | 20:01 |
+MrHairgrease | and so were you | 20:01 |
+MrHairgrease | but indeed, last time i saw you was in october | 20:01 |
* perlDreamer needs to either take more or less cold medicine | 20:01 | |
+MrHairgrease | so i guess you're right =) | 20:01 |
dionak | elnino: i use grep a lot too | 20:02 |
+perlDreamer | perlbot: ack | 20:04 |
perlbot | alester's grep replacement at http://petdance.com/ack/ | 20:04 |
+perlDreamer | perl -MCPAN -e 'install App::Ack' | 20:04 |
+MrHairgrease | yay grep with perl regexes | 20:05 |
* MrHairgrease is installing ack | 20:05 | |
@rizen | komodo is better | 20:06 |
@rizen | has perl regular expressions and more | 20:07 |
@rizen | and is easier to use | 20:07 |
@rizen | =) | 20:07 |
+MrHairgrease | i didn't know emacs had komodo mode | 20:07 |
+MrHairgrease | b/c if it's easy it must be emacs | 20:07 |
+MrHairgrease | oh no | 20:09 |
+MrHairgrease | it's soing it again | 20:09 |
+MrHairgrease | last week I had these incredible cpan problems | 20:09 |
elnino | I fixed my auth mod! um.. I guess I'll have to look into the ack thing. I don't have it installed, but I see you've provided that too. Thanks | 20:09 |
+MrHairgrease | reinstalling the wre did fix it though | 20:09 |
+MrHairgrease | anybody knws what to do with the following error | 20:09 |
+MrHairgrease | http://webgui.pastebin.org/24300 | 20:10 |
@preaction | uh... why couldn't it untar? | 20:10 |
@preaction | hum | 20:10 |
+MrHairgrease | i dunno | 20:10 |
+MrHairgrease | if i do it manually | 20:11 |
@preaction | pretty useless error message | 20:11 |
@preaction | that person should be shot | 20:11 |
+MrHairgrease | that is, copy-paste the tar command from the error | 20:11 |
@preaction | or drawn and quartered | 20:11 |
+MrHairgrease | it just works fine | 20:11 |
+MrHairgrease | but cpan screws up | 20:11 |
dionak | have you tried untar by hand? maybe the archive is corrupt? | 20:11 |
+MrHairgrease | as i said manually it just works | 20:11 |
+MrHairgrease | and it does it with any cpan module i try to install... | 20:12 |
@preaction | did you try doing "cpan> o conf init" again? | 20:12 |
+MrHairgrease | could try that | 20:12 |
+MrHairgrease | hang on | 20:12 |
+MrHairgrease | reconfiguring seems to work | 20:14 |
+MrHairgrease | weird | 20:14 |
+MrHairgrease | but thanks for the solution! | 20:14 |
elnino | I have some pending commits in my inbox that have actually been approved, and if I log into any of the oher adim's inboxes, these same requests are marked as approved, and if you go to the actual pages and assets that they modified, they are approved. so I'm wondering how I can make them show as approved in my inbox? Is there a table to look at? They've been sitting in there for about a year, and they are kinda bugging me now. | 20:16 |
@preaction | elnino, the inbox table should have them | 20:16 |
elnino | I suppose that I should change the status of them? that won't affect anything else? | 20:17 |
elnino | they are truely committed and approved. | 20:17 |
@preaction | it shouldn't affect anything else | 20:18 |
elnino | ok. here's another question. In my trash, I have stuff that won't purge. is there a way to figure out why they are "stuck". Can I go to a trash table and delete them from there? I suspect that would be a bad thing to do. | 20: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 #webgui | 20:28 | |
-!- mode/#webgui [+o Haarg] by ChanServ | 20:28 | |
+MrHairgrease | elnino: there is no trash table | 20:34 |
+MrHairgrease | trash is just a state | 20:35 |
+MrHairgrease | in order to find out what's going on you should tail -f your webgui.log while trying to purge | 20:35 |
elnino | does anyone know why software revisions in general does not follow the decimal system: companies do this: 3.1, 3.2...3.10 instead of 3.01, 3.02,... 3.10?? | 20:35 |
elnino | thanks hairgrease, good suggestion. | 20:36 |
+MrHairgrease | you will probably see something like can't call method foobar on an undefine value | 20:36 |
+MrHairgrease | the version umber stuff is b/c 3.1 is not one number | 20:37 |
+MrHairgrease | but two | 20:37 |
+MrHairgrease | major version.minor version | 20:37 |
+MrHairgrease | perl uses a decimal notation for it btw. but also there it's actuall three seperate numbers | 20:37 |
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has quit ["Leaving."] | 20:41 | |
elnino | good 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 #WEBGUI | 20:46 | |
-!- MrHairgrease is now known as MrCookingGrease | 20:46 | |
-!- elnino_home [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI | 21: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 #WEBGUI | 21: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 #WEBGUI | 21: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 #WEBGUI | 21: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 #WEBGUI | 21:44 | |
+perlDreamer | elnino, are you going a little schizo? | 21:46 |
ckotil | does apache need its own vhost to listen for an ipv6 address? in addition to my ipv4 vhost? | 21:49 |
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has quit ["Download Gaim: http://gaim.sourceforge.net/"] | 21:49 | |
ckotil | the apache docs and google seem to indicate this. | 21:49 |
-!- elnino_home [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI | 21:52 | |
ckotil | yup. | 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 #webgui | 22:09 | |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 22:09 | |
+MrCookingGrease | hey pd | 22:09 |
+perlDreamer | yo! | 22:09 |
+perlDreamer | How was dinner? | 22:09 |
+MrCookingGrease | have you checked out the exception test module i made? | 22:10 |
+MrCookingGrease | dinner was good | 22:10 |
-!- MrCookingGrease is now known as MrHairgrease | 22:10 | |
+perlDreamer | I saw that it was committed, but haven't checked it out yet. | 22:10 |
+MrHairgrease | ok | 22:10 |
+MrHairgrease | when you have, let me know what you think of it. | 22:10 |
-!- elnino_laptop [n=elnino@user-38q49cv.cable.mindspring.com] has quit [Read error: 110 (Connection timed out)] | 22:10 | |
+perlDreamer | did you subclass Test::Exception, or roll your own? | 22:18 |
+MrHairgrease | roll my own | 22:18 |
+MrHairgrease | but based it on T::E | 22:19 |
+MrHairgrease | T::E does voodoo with caller | 22:19 |
+MrHairgrease | but I didn't find out why | 22:19 |
+MrHairgrease | using uplevel 1 does the job for all my test | 22:20 |
+MrHairgrease | s | 22:20 |
+MrHairgrease | I commented the T::E stuff out for now | 22:20 |
+perlDreamer | I liked the idea of T::E, but was bummed that it wouldn't test the contents of the exception, so your module scratches a big itch | 22:22 |
+MrHairgrease | yeah I had the same | 22:23 |
+perlDreamer | you've seen all the cmp_deeply code that I've written to do that for Tax and Ship* | 22:23 |
+MrHairgrease | yeah | 22:23 |
+MrHairgrease | actually i used that at first too | 22:23 |
+perlDreamer | I think the caller hacking is just to set the scope right. If you called it too deeply, then variables and other things may not exist | 22:23 |
+MrHairgrease | but it looked like crap | 22:23 |
+MrHairgrease | yeah it is for scpe | 22:23 |
+perlDreamer | and it's 3 so that it unwinds all the way back up to the test | 22:23 |
+MrHairgrease | yeah, but why not do eval { uplevel 1 $code}? | 22:24 |
+MrHairgrease | and so all the hocus pocus | 22:24 |
+perlDreamer | because the calls are nested? | 22:24 |
+MrHairgrease | i'm using the eval I just pasted and that works | 22:24 |
+perlDreamer | well, for the T::E, I can see 2 levels throws_ok and _try_as_caller, but not 3 | 22:28 |
+MrHairgrease | i know. it's weird | 22:29 |
+MrHairgrease | i couldn't figure it out either | 22:29 |
+perlDreamer | the author lives in Portland, though | 22:29 |
+perlDreamer | I wonder if he'd let me take him out for food/drink and pump him for testing info | 22:30 |
@rizen | there's too much gay sex in this channel | 22:31 |
+MrHairgrease | rixen: you are posting in the wrong window | 22:31 |
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI | 22:32 | |
CIA-22 | WebGUI: graham * r5838 /WebGUI/ (2 files in 2 dirs): fixed: Thingy i18n has an empty message | 22:35 |
+MrHairgrease | or are you referring to the pumping you supposedly did in your cellar? | 22:36 |
+perlDreamer | why 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 | |
+perlDreamer | man LA is expensive. 8.25% sales tax | 23:21 |
+MrHairgrease | ha | 23:21 |
+MrHairgrease | over here it's 19% | 23:22 |
+perlDreamer | but you have socialized medical? and education? | 23:22 |
+MrHairgrease | sort of, these days everybody must get a health insurance | 23:23 |
+MrHairgrease | there's no state medical anymore | 23:23 |
+MrHairgrease | if you have little money the state will fund part of the monthly fee | 23:24 |
+perlDreamer | do you have income or property taxes? | 23:25 |
+MrHairgrease | yes | 23:26 |
-!- elnino_home [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI | 23:26 | |
-!- dhelsten [n=helsten@newcastlecapital.com] has joined #Webgui | 23:27 | |
+MrHairgrease | commerce question | 23:29 |
+perlDreamer | commerce answer | 23:29 |
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit [Remote closed the connection] | 23:29 | |
+MrHairgrease | how's adding drivers supposed to work? | 23:29 |
@rizen | from a UI perspective? | 23:30 |
+MrHairgrease | if you add a shipping driver now but don't click save a driver is still added | 23:30 |
@rizen | yes | 23:30 |
+MrHairgrease | that's only to be expected with the current code | 23:30 |
+MrHairgrease | but i think it's wrong | 23:30 |
@rizen | because of your mom? | 23:30 |
+MrHairgrease | no b/c of yours | 23:30 |
+MrHairgrease | duh | 23:31 |
@rizen | i c | 23:31 |
@rizen | tell me about your childhood | 23:31 |
@rizen | i myself was born at a very young age | 23:31 |
+MrHairgrease | i was grown up before i was born | 23:31 |
+MrHairgrease | now cut the crap | 23:31 |
+MrHairgrease | this is no chitchat channel | 23:31 |
+MrHairgrease | it's a commerce design venting thingamabop | 23:32 |
@rizen | i didn't add a newByPropertiesHashref | 23:32 |
@rizen | i guess that could be added to ship drivers | 23:32 |
@rizen | to allow for this | 23:32 |
@rizen | but then you have to account for both www_add and www_editSave | 23:32 |
@rizen | i did it the easy way | 23:32 |
@rizen | by creating the object | 23:32 |
+MrHairgrease | at first i tought i'd do it like this: | 23:32 |
+MrHairgrease | create Pay->addPaymentGateway | 23:33 |
+MrHairgrease | that would set a htmlform with hidden shop=pay;method=addPaymentGatewaySave | 23:33 |
+MrHairgrease | and appended a form geerated by the driver | 23:34 |
+MrHairgrease | Pay->addPGSave would create the actual pg | 23:34 |
+MrHairgrease | now the first problem i ran into was that you cannot instantiate a paydriver without an Id | 23:35 |
+MrHairgrease | and therefore you cannot get the form out. | 23:35 |
@rizen | right, which is where newByPropertiesHashRef comes in | 23:35 |
+MrHairgrease | which doesn't work the way i anticipated anyway | 23:35 |
+MrHairgrease | oh | 23:35 |
+MrHairgrease | that one does not do the db write? | 23:36 |
@rizen | exactly | 23:36 |
@rizen | see WebGUI::Asset for details | 23:36 |
+MrHairgrease | yeah, looking into that | 23:36 |
+MrHairgrease | ok thanks | 23:36 |
@rizen | i think WebGUI::Workflow::Activity does that too | 23:36 |
+MrHairgrease | I'll add that one to PayDriver. | 23:36 |
+MrHairgrease | but tomorrow | 23:36 |
dhelsten | I need to back-date the submission time of several news articles for my website is the advice in the thread http://www.webgui.org/etcetera/how_to_change_submission_date/2 still the way to do it? If so, is there an easier workaround using a custom field? | 23:44 |
dhelsten | By the way.. Hi! | 23:44 |
-!- elnino_home [n=elnino@user-38q49cv.cable.mindspring.com] has quit [Read error: 110 (Connection timed out)] | 23:46 | |
+perlDreamer | Why do you need to back date? | 23:47 |
dhelsten | I'm using a CS to show news stories. I'm imputing news stories that go back several months. I'd like the creation date to match the story's date. | 23:48 |
+perlDreamer | well, as the threadh shows, it was not easy, and remains not easy. It would be a lot less work if you just creatd a custom field called "article date" and used that instead. | 23:50 |
+perlDreamer | you can sort on custom fields in the CS | 23:50 |
dhelsten | Thanks. Thats what I thought as I was finishing the question. Now I just need to remember how to get it in the template. I've used custom fields before but it has been a while. Thanks. | 23:51 |
+perlDreamer | the template docs will tell you how to setup the forms and use the form contents in a template. | 23:52 |
+perlDreamer | how does one test JSON? | 23:56 |
+perlDreamer | convert it back to data and check for certain elements? | 23:57 |
+perlDreamer | regular expression based text tests? | 23:57 |
--- Day changed Wed Mar 19 2008 | ||
@preaction | i'd convert it back to data and use Test::Deep | 00:05 |
+perlDreamer | yeah, that's what I picked, too. | 00:05 |
+perlDreamer | I'm worried about the speed of the tax calculations | 00:12 |
+perlDreamer | I imported the California state tax tables, and it got way slower on my dev box | 00:12 |
+perlDreamer | and that's just 1 state in 1 country! | 00:12 |
+perlDreamer | it was 1770 rows | 00:13 |
dhelsten | OK, 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 | |
dhelsten | Actually pretty obvious that I can. Thanks guys!!! | 00:46 |
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui | 00:56 | |
-!- mode/#webgui [+o preaction] by ChanServ | 00:56 | |
@rizen | hey pd while you're testing js | 00:58 |
@rizen | would you mind adding a transaction test for getTransactionsAsJson for me? | 00:58 |
@rizen | s/js/json/ | 00:58 |
@rizen | s/transaction/json/ | 00:58 |
@rizen | =) | 00:58 |
@rizen | i hadn't thought of converting back into perl structures to test it | 00:59 |
@rizen | so i didn't write a test | 00:59 |
@rizen | man am i stupid | 00: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 | |
+perlDreamer | will do, rizen | 01:43 |
@rizen | ems is coming right along | 01:44 |
@rizen | i mean i still have a bazillion hours of work to do | 01:44 |
@rizen | but i'm not running into any real problems that the new commerce system can't handle | 01:44 |
@rizen | so that's cool | 01:44 |
@rizen | that was a big problem with the oldone | 01:44 |
+perlDreamer | I think we should build an asJson method for SQL::Result | 01:45 |
+perlDreamer | since this dataTable stuff is so cool | 01:45 |
@rizen | that's a good idea, you have my blessing | 01:45 |
@rizen | wait | 01:45 |
@rizen | that doesn't help | 01:45 |
@rizen | not for data table | 01:45 |
@rizen | cuz you have to put in all the extra fields | 01:45 |
@rizen | the result set is just one field | 01:46 |
+perlDreamer | it would put in the extra fields, too | 01:46 |
+perlDreamer | asJsonDataTable | 01:46 |
@rizen | oh, ok | 01:46 |
+perlDreamer | gotta scoot, might have that hacked tonight, definitely tomorrow then. And I'll build the tests for transactions and then refactor tax and transactions to use the new method. | 01:47 |
@rizen | that would save about 15 lines of code | 01:47 |
@rizen | not to mention endless errors caused by having copies of it | 01:47 |
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has quit ["Download Gaim: http://gaim.sourceforge.net/"] | 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 #webgui | 03:30 | |
CIA-22 | WebGUI: graham * r5839 /branch/WebGUI_7.4/ (2 files in 2 dirs): fixed: HttpProxy mixes original site's content encoding with WebGUI's | 03:37 |
CIA-22 | WebGUI: graham * r5840 /branch/WebGUI_7.4/docs/gotcha.txt: added notes about LongReadLen and LongTruncOK to gotcha.txt | 03:37 |
CIA-22 | WebGUI: graham * r5841 /branch/WebGUI_7.4/docs/create.sql: preparing for 7.4.29 release | 03:37 |
CIA-22 | WebGUI: jt * r5842 /releases/WebGUI_7.4.29-stable: Release 7.4.29-stable | 03:37 |
CIA-22 | WebGUI: colin * r5843 /branch/WebGUI_Commerce/ (3 files in 3 dirs): | 03:37 |
CIA-22 | WebGUI: Fix a bug in the json method for getting tax data. | 03:37 |
CIA-22 | WebGUI: Tests for the json method. | 03:37 |
CIA-22 | WebGUI: A LOT of California tax data for testing. | 03:37 |
-!- elnino_home [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI | 03: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 #webgui | 04:48 | |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 04:48 | |
-!- elnino_home [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI | 04:58 | |
-!- elnino_laptop [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI | 05:11 | |
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui | 05:20 | |
-!- mode/#webgui [+o apeiron] by ChanServ | 05:20 | |
-!- elnino_home [n=elnino@user-38q49cv.cable.mindspring.com] has quit [Read error: 110 (Connection timed out)] | 05:29 | |
@apeiron | /names | 05:31 |
@apeiron | heh. | 05:31 |
-!- iank [n=iank@about/goats/pdpc.supporter.student.iank] has joined #webgui | 05:40 | |
iank | Dudes I heard apeiron was in to visual basic | 05:41 |
@apeiron | lies | 05:41 |
iank | And also that he lieks mudkips :( | 05:41 |
@apeiron | I have no idea who this iank fellow is. | 05:41 |
iank | Is that why you never called? :( | 05:41 |
+perlDreamer | apeiron, you _are_ a channel op | 05:46 |
@apeiron | perlDreamer, I know iank, he's just foolin'. :) | 05:46 |
+perlDreamer | very good | 05:47 |
iank | It's true! | 05:47 |
iank | Hi perlDreamer! | 05:47 |
+perlDreamer | just so long as I don't have to use my regexp-fu on him | 05:47 |
iank | Bring it! | 05:47 |
@apeiron | ... trust me, that won't help. | 05:47 |
@apeiron | iank, He *will* use test-fu on you though! | 05:48 |
* iank yelps | 05:48 | |
+perlDreamer | So what kind of hacker are you, iank? | 05:48 |
iank | um, an awesome one? | 05:49 |
+perlDreamer | good answer | 05:49 |
iank | Yup | 05:49 |
iank | Did I pass the test? | 05:51 |
@apeiron | No, the test is when we throw you into WebGUI's collab system with a month's experiene and tell you to add stuff. | 05:51 |
+perlDreamer | is($iank->hacker, 1, 'check for hackerdom') => 0.5; ##indeterminate | 05:51 |
iank | apeiron: gah | 05:51 |
@apeiron | iank, I survived! | 05:52 |
@apeiron | And I came out with a much greater respect for automated testing, too! | 05:52 |
iank | That's because you're the most hardcore and badass dude ever aside from myself and my badass protege. | 05:52 |
+perlDreamer | he comes with a protege, too? | 05:53 |
@apeiron | I'm not the guy you need to flatter around here, sorry. | 05:53 |
@apeiron | Yep. | 05:53 |
iank | perlDreamer: dude yeah | 05:53 |
iank | Attention employers of apeiron and/or anyone who perhaps has control over his pay rate: apeiron is totally awesome ok? | 05:53 |
iank | JUST A NOTE | 05:53 |
@apeiron | shrug. I endeavour to be totally awesome. :) | 05:54 |
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)] | 05:54 | |
iank | It's true. | 05:54 |
@apeiron | Look at that, you scared away poor preaction. | 05:54 |
iank | He's a wuss | 05:55 |
@apeiron | Either that or it was Ankh in #perl... | 05:55 |
* iank shudders | 05:55 | |
* iank pokes xdanger with a pointy stick | 05:57 | |
iank | apeiron: which one is your boss? | 05:57 |
+perlDreamer | don't disturb, xdanger, he's our IRC logger | 05:57 |
iank | oh no, accountability :( | 05:57 |
@apeiron | iank, If I answered that question I'd have to kill you. | 05:57 |
iank | Man, this place is way cooler than the jabber MUC at my work :'( | 05:59 |
iank | It's all joins, parts, and announcements 'bout which coffee is in which pot. | 05:59 |
iank | I don't even drink the stuff! | 05:59 |
iank | /bin/sh: DAYCHANGE!: command not found | 06:00 |
iank | ahem. | 06:00 |
iank | :/ | 06:00 |
iank | I make that thinko every day. | 06:00 |
iank | And every day, I correct it before I hit enter. | 06:00 |
iank | apeiron: your webgui friends are boring me :( | 06:12 |
@apeiron | iank, Fix some bugs, write some tests! | 06:13 |
iank | NO | 06:13 |
+perlDreamer | heck, just work on a translation | 06:13 |
+perlDreamer | make a wiki page | 06:13 |
iank | You nubs get paid to | 06:13 |
iank | Your job! | 06:14 |
+perlDreamer | iank: Your ignorance is only superseded by your rudeness | 06:14 |
-!- perlDreamer [n=colink@pool-71-117-250-89.ptldor.fios.verizon.net] has quit ["Leaving."] | 06:14 | |
iank | apeiron: did I just get you fired? | 06: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 #WEBGUI | 06:29 | |
-!- elnino2 [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI | 06: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 #WEBGUI | 06:43 | |
elnino2 | I'm leaving. network is not stable - I keep getting reset by peer - whatever that means. | 06:44 |
-!- elnino2 [n=elnino@user-38q49cv.cable.mindspring.com] has quit [Client Quit] | 06:44 | |
-!- elnino_laptop [n=elnino@user-38q49cv.cable.mindspring.com] has quit [Read error: 110 (Connection timed out)] | 06:47 | |
CIA-22 | WebGUI: colin * r5844 /branch/WebGUI_Commerce/ (5 files in 4 dirs): | 06:50 |
CIA-22 | WebGUI: Reformat the JSON test for Shop/Tax.t | 06:50 |
CIA-22 | WebGUI: Add JSON tets to Shop/Transaction.t | 06:50 |
CIA-22 | WebGUI: Reindent several methods in SQL/ResultSet.pm | 06:50 |
CIA-22 | WebGUI: add a method for returning a YUI Data Table structure to SQL.pm | 06: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-22 | WebGUI: colin * r5845 /branch/WebGUI_Commerce/ (4 files in 3 dirs): | 07:17 |
CIA-22 | WebGUI: Fix the Shop/Transaction tests for JSON. | 07:17 |
CIA-22 | WebGUI: Convert Shop/Transaction and Shop/Tax to use buildDataTableStructure. | 07:17 |
CIA-22 | WebGUI: Change SQL.pm to return a hash instead of a hashref for buildDataTableStructure. | 07:17 |
CIA-22 | WebGUI: jt * r5846 /translations/Spanish/Spanish/ (14 files): update_from_translation_server | 07:17 |
-!- Haarg [n=haarg@24-177-119-178.dhcp.mdsn.wi.charter.com] has joined #webgui | 09:19 | |
-!- mode/#webgui [+o Haarg] by ChanServ | 09:19 | |
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui | 09: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 #webgui | 10: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 #webgui | 11:18 | |
-!- mode/#webgui [+v Radix_] by ChanServ | 11:18 | |
-!- zylopfa [n=zylopfa@port111.ds1-vby.adsl.cybercity.dk] has joined #webgui | 12:15 | |
zylopfa | Greetings, anyone present? | 12:16 |
+Radix_ | I am, but whether that will help you at all is another question ;) | 12:16 |
zylopfa | hah yeah thats the question | 12:16 |
+Radix_ | ask away.. if I can't answer it, someone eventually will | 12:17 |
zylopfa | I was wondering where i can see how to work with files in webgui programming, I want to make an xml playlist from files in a webgui dir | 12:17 |
zylopfa | but i cant seem to find out what api functions is used to see where the file is located | 12:17 |
zylopfa | and have to list files on a directory basis | 12:17 |
+Radix_ | hmm.. above me I'm afraid | 12:17 |
zylopfa | Dair enough :D | 12:18 |
zylopfa | Fair even ;D | 12:18 |
+Radix_ | rizen could answer it I'm sure.. but he's prolly barely awake if at all :) | 12:18 |
zylopfa | haah yeah :D | 12:18 |
zylopfa | I am making a player macro | 12:18 |
zylopfa | that automatically make an xml playlist of files in the directory that it gets as parameter | 12:18 |
zylopfa | and then show the flash player with the list there | 12:19 |
zylopfa | I can make it in perl normally but with the file layout of webgui i haev no idea of how to list files in a directory | 12:19 |
+Radix_ | cool | 12:19 |
+Radix_ | I cheated.. and used a set filename in a set location | 12:19 |
+Radix_ | and did it all in the template :) | 12:19 |
zylopfa | ahh | 12:20 |
+Radix_ | name of the flash video, xml, etc all identical to the name of the thread post | 12:20 |
+Radix_ | and used a common player for it | 12:20 |
zylopfa | Sounds awesome though | 12:21 |
+Radix_ | https://www.formsys.com/maxsurf/videos | 12:21 |
+Radix_ | that's how I did those flash videos | 12:21 |
+Radix_ | thumbnail was same name too | 12:21 |
zylopfa | Looks awesome1 | 12:22 |
zylopfa | I guess i could use the collaboration asses to do something | 12:22 |
+Radix_ | I'm happy to share the template if it helps at all | 12:22 |
zylopfa | Its more cause i want to know the file handeling routines in webgui | 12:23 |
zylopfa | to use for further programming | 12:23 |
zylopfa | like listing files in a directory etc. | 12:23 |
zylopfa | but thanks a lot | 12:23 |
+Radix_ | np, good luck :) | 12:23 |
zylopfa | Thanks a lot :D | 12:23 |
-!- BartJol [n=plainstu@194.171.50.123] has joined #webgui | 12: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 #webgui | 14:14 | |
-!- mode/#webgui [+o preaction] by ChanServ | 14:14 | |
-!- zylopfa [n=zylopfa@port111.ds1-vby.adsl.cybercity.dk] has quit ["Leaving"] | 14:26 | |
-!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: ryuu_ro | 14:34 | |
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Connection timed out] | 14:42 | |
-!- Netsplit over, joins: ryuu_ro | 14:44 | |
-!- SDuensin [n=Scott@63.sub-75-207-252.myvzw.com] has joined #WebGUI | 15:43 | |
-!- dionak [n=diona@97.66.185.250] has joined #webgui | 15:51 | |
SDuensin | Morning. | 15:53 |
@rizen | morning | 16:04 |
-!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui | 16:10 | |
-!- mode/#webgui [+o Haarg] by ChanServ | 16:10 | |
-!- wgGuest56 [n=wgGuest5@88.254.55.199] has joined #webgui | 16:10 | |
-!- wgGuest56 [n=wgGuest5@88.254.55.199] has quit [Client Quit] | 16:11 | |
-!- ahfa[yok] [n=takva@88.254.55.199] has joined #webgui | 16:25 | |
ahfa[yok] | s.a | 16: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 #webgui | 16:36 | |
-!- br4k3r [n=br4k3r@bas3-ottawa10-1279549458.dsl.bell.ca] has joined #webgui | 16:45 | |
br4k3r | hey d00ds | 16:45 |
br4k3r | is there any way to export a WG package to a file, then import into another site from wpkg | 16:46 |
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui | 16:46 | |
-!- mode/#webgui [+o preaction] by ChanServ | 16:46 | |
br4k3r | i had a site built on a gamma version, couldnt' upgrade | 16:48 |
@rizen | that's what packages are for | 16:48 |
br4k3r | page layouts | 16:48 |
br4k3r | but i can't get the packages off the site | 16:48 |
@rizen | you do the imports/exports in the asset manager | 16:48 |
br4k3r | hmmm | 16:48 |
br4k3r | ah crap i see | 16:49 |
br4k3r | the gamma version don't have the export function, the new version does | 16:49 |
br4k3r | i guess i'm hosed? | 16:49 |
@rizen | gamma version? | 16:50 |
@rizen | you mean webgui 6.x | 16:50 |
@rizen | ? | 16:50 |
@rizen | webgui 6.x is not compatible with webgui 7.x | 16:51 |
br4k3r | yeah it's a 6.8.9 gamma release | 16:51 |
@rizen | why not upgrade your 6.8.9 site to 7.x | 16:51 |
br4k3r | hmm | 16:51 |
br4k3r | that's an option | 16:51 |
br4k3r | can't hurt since i have backups | 16:51 |
@rizen | make sure you follow the steps in the gotchas | 16:51 |
@rizen | docs/gotcha.txt | 16:52 |
br4k3r | k | 16:52 |
br4k3r | so i just download the new wre | 16:52 |
br4k3r | and run the webguiupdate script | 16:52 |
br4k3r | with the gotchas | 16:53 |
@rizen | you'll need wre 0.7 to do the upgrade | 16:53 |
@rizen | wre 0.8 is for WebGUI 7.4.22 and above | 16:53 |
br4k3r | k | 16:53 |
@rizen | and with webguiupdate | 16:54 |
@rizen | you have to stop at each stop point | 16:54 |
@rizen | as defined in the gotchas | 16:54 |
br4k3r | k | 16:54 |
@rizen | http://www.plainblack.com/downloads/builds/7.4.29-stable/WebGUI/docs/gotcha.txt | 16:54 |
-!- steveo_aa [n=sno@76.226.180.6] has joined #webgui | 16:54 | |
@rizen | so you upgrade to 6.8.10 first | 16:55 |
@rizen | then 7.0.0 | 16:55 |
@rizen | then whatever else the gotchas say | 16:55 |
br4k3r | so it's a step up install | 16:55 |
br4k3r | not a one shot deal | 16:55 |
@rizen | yeah, there are about 4 stop points i think | 16:55 |
br4k3r | k | 16:55 |
@rizen | i believe they are | 16:57 |
@rizen | 6.8.10 | 16:57 |
br4k3r | the lowest version on sf for WG is 7.3.12 | 16:57 |
@rizen | 7.0.0 | 16:57 |
@rizen | 7.3.22 | 16:57 |
@rizen | use the plainblack mirror | 16:57 |
@preaction | http://update.webgui.org <- go there | 16:57 |
@rizen | use webgui update | 16:57 |
br4k3r | k | 16:58 |
@rizen | then when it asks you for a mirror | 16:58 |
br4k3r | ohhhh | 16:58 |
@rizen | say plainblack | 16:58 |
br4k3r | i can't d00d | 16:58 |
br4k3r | this server ain't on the interweb | 16:58 |
@rizen | ah | 16:58 |
@rizen | ok then use update.webgui.org | 16:58 |
br4k3r | so it's sneaker net from here | 16:58 |
@rizen | the stop points are the ones i listed above | 16:58 |
@rizen | so download each of them | 16:58 |
br4k3r | k | 16:58 |
@rizen | as well as the latest 7.4 release | 16:58 |
br4k3r | 6.8.10 gamma | 16:59 |
br4k3r | then 7.0.0 | 16:59 |
br4k3r | what about wre | 16:59 |
@rizen | you'll need 0.7.2 | 16:59 |
@rizen | until you get to webgui 7.4.22 | 16:59 |
@rizen | then you can upgrade to 0.8.3 | 16:59 |
br4k3r | k | 16:59 |
br4k3r | got ys | 17:00 |
@rizen | sorry for the pain in the ass, but you're about 200 upgrades behind. =) | 17:00 |
br4k3r | it's ok | 17:00 |
br4k3r | i know | 17:00 |
br4k3r | i just walked into this job a few month ago | 17:00 |
br4k3r | picked up from the last guy who was a wG freak | 17:00 |
br4k3r | now i can't change due to customers | 17:01 |
br4k3r | but i need to get the site functional... this gamma version SUCKS | 17:01 |
br4k3r | no export, no version tags | 17:02 |
br4k3r | trash won't purge | 17:02 |
br4k3r | it's a sucky install... | 17:02 |
br4k3r | i have been manually recreating the new site by memory but | 17:02 |
br4k3r | i just got the old data restored | 17:02 |
CIA-22 | WebGUI: graham * r5847 /wrebuild/wre/ (sbin/wremonitor.pl docs/changelog.txt lib/WRE/Spectre.pm): fix spectre workflow monitor | 17:05 |
@rizen | i'm sorry that your predecessor didn't keep up with the updates | 17:06 |
@rizen | i hope you come to like webgui. it's a very powerful and flexible system once you get to know it. | 17:06 |
br4k3r | i do like it | 17:14 |
br4k3r | which is why i'm willing to go thru the pain to bring it up to speed. | 17:14 |
br4k3r | i've been using the newest version and i LOVE it | 17:14 |
br4k3r | it's so awesomely easy to set up pages for my customers | 17:14 |
br4k3r | and the version tags is the cat's ass | 17:14 |
-!- wgGuest21 [n=wgGuest2@97.66.185.250] has joined #webgui | 17:14 | |
br4k3r | so i'm sure i'll be back throught the day with more questions | 17:15 |
br4k3r | but thanks for the help so far :) | 17:15 |
@rizen | you're welcome | 17:17 |
wgGuest21 | hey everyone. i have some questions about testing Wobjects | 17:20 |
wgGuest21 | i would like to write a test to test an upload file form. Wondering what would be best way to start this threw webgui | 17:21 |
-!- dionak [n=diona@97.66.185.250] has quit [] | 17:22 | |
-!- dionak [n=diona@97.66.185.250] has joined #webgui | 17:23 | |
@rizen | i don't know the answer to that but i think you'd start with WebGUI/t/lib/WebGUI/PseudoRequest.pm | 17:24 |
@rizen | perlDreamer knows more about testing than the rest of us combined, but he's not on channel right now | 17:25 |
wgGuest21 | ah, maybe i check back. i looked threw the test for wobjects in webgui | 17:25 |
wgGuest21 | but i didn't see any test simulating a post to test a meathod inside wobject | 17:26 |
@preaction | wgGuest21, i've been trying to figure that one out (the upload a file thing, not the wobject thing) using Test::WWW::Mechanize | 17:31 |
@preaction | i think the problem might be that WebGUI's File control doesn't write an <input type="file"> to the page, it uses javascript instead | 17:32 |
@preaction | but i'm sure there's a way around that | 17:32 |
wgGuest21 | preaction, ya i believe using Mechanize might be the way i have to go | 17:33 |
@preaction | otherwise, inside of WebGUI::Test there's a getPage method | 17:33 |
@preaction | but i don't think I wrote the provisions for file uploads | 17:33 |
wgGuest21 | might be a convo with perldreamer we have to have | 17:33 |
wgGuest21 | I would like to be able to test this custom asset | 17:34 |
-!- lisette [n=liraos@201.232.58.66] has joined #webgui | 17:36 | |
-!- topsub [n=topsub20@97.66.185.250] has joined #webgui | 17: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 #webgui | 17:45 | |
CIA-22 | WebGUI: graham * r5848 /WebGUI/ (6 files in 4 dirs): fixed: Thingy has no icon | 17:50 |
CIA-22 | WebGUI: graham * r5849 /WebGUI/docs/gotcha.txt: added notes about LongReadLen and LongTruncOK to gotcha.txt | 17:50 |
lisette | hello | 17:56 |
lisette | how 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 #webgui | 18:02 | |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 18: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 | |
+perlDreamer | lisette: perldoc WebGUI::Session, and check out the "user" method. | 18:09 |
lisette | i don't see a new session with this, maybe a change session | 18:12 |
+perlDreamer | well, then you can call open to create a new session, then user | 18:13 |
lisette | $session2=WebGUI::Session->user($userID); ? | 18:14 |
+perlDreamer | ->user({userId => $userId}) | 18:14 |
lisette | thanks | 18:19 |
topsub | Hey perldreamer | 18:21 |
+perlDreamer | ? | 18:21 |
lisette | perlDreamer do you remember your investigation from headers of email when i send with method of webgui? | 18:21 |
+perlDreamer | sort of, this was the replyTo and bcc issues? | 18:21 |
lisette | replyTo and returnPath | 18:22 |
+perlDreamer | thanks, then yes I do. | 18:22 |
lisette | thanks | 18:23 |
topsub | i have some questions about testing, heard you are the person to ask | 18:23 |
+perlDreamer | I do a lot of wG testing | 18:23 |
+perlDreamer | what do you want to do? | 18:23 |
+perlDreamer | core code or custom code? | 18:23 |
topsub | i am looking to test my custom asset. I have a process upload form function in there and i am looking to test this | 18:23 |
topsub | looking to take a file. upload it mostly | 18:24 |
topsub | i would like to write a test to make sure this works | 18:24 |
+perlDreamer | Check out the Gallery and Photo Album tests, I think they do that using the API. | 18:24 |
topsub | awesome! | 18:24 |
+perlDreamer | We have a few, a very few WWW::Mech tests, but none that I know of for form uploads yet | 18:25 |
topsub | ah yes i was gonna start trying to write a test with Mech | 18:25 |
topsub | to test this function | 18:25 |
+perlDreamer | also, if you'd like to contribute some core tests, we're always open to patches | 18:25 |
@preaction | perlDreamer, they don't. they use API methods to add the file. i was interested in your answer as I've been trying to write the same tests to test www_editSave from the web interface ;) | 18:25 |
+perlDreamer | I've been commercing for a while, and probably will stay in that vein until May with the release. | 18:26 |
@preaction | from what I see, WWW::Mech can do it, it just has to be an actual file upload field | 18:26 |
@preaction | there's nothing in the docs specifically about it, but nothing on the bug / RFE lists about it either | 18:27 |
+perlDreamer | that means it either works, or "Patches welcome :)" | 18:27 |
@preaction | yeah | 18:28 |
@preaction | or, iirc it can take an HTTP::Request object, which whould be able to handle file uploads | 18:28 |
topsub | preaction, by API methods to add the file are you talking the Webgui::Storage-> get call? | 18:29 |
@preaction | no, the WebGUI::Asset::File->setFile call | 18:29 |
+perlDreamer | We have an Apache::PseudoRequest module that you can set up to handle the file upload. Then you call the editSave method for processing the form variables. | 18:30 |
topsub | hmm... | 18:31 |
+perlDreamer | s/Apache::PseudoRequest/WebGUI::PseudoRequest/ | 18:32 |
+perlDreamer | it's in /data/WebGUI/t/lib/ | 18:32 |
+perlDreamer | check out t/Storage.t for examples on how to use it | 18:32 |
topsub | preaction, I do not see the setFile method in WebGUI::Asset::File | 18:34 |
@preaction | then you're not using webgui 7.5 | 18:35 |
+perlDreamer | Friends don't allow friends to keep using 7.4 | 18:35 |
topsub | doh | 18:35 |
topsub | :-) | 18:35 |
topsub | What if i had to do in 7.4 | 18:38 |
topsub | lol | 18:38 |
+perlDreamer | you'd have to backport PseudoRequest, and use it there instead | 18:38 |
@rizen | perlDreamer quick C2 discussion | 18:40 |
* perlDreamer goes into c2 mode | 18:40 | |
@rizen | we have an addToCart method in all skus | 18:40 |
@rizen | yesterday i added a completePurchase() method which will be called on each item in a cart after a purchase has been made | 18:40 |
@rizen | that way we have the callbacks we need for privileges etc | 18:40 |
@rizen | now i'm thinking we should also have a removeFromCart method that is called by the cart so that it can do housekeeping if it gets removed from the cart | 18:41 |
@rizen | does that make sense to you? | 18:41 |
@rizen | for example | 18:41 |
@rizen | when we add something to a cart we have to decrement it's inventory | 18:42 |
@rizen | but when we remove it from the cart it will have to increment it's inventory | 18:42 |
@rizen | in the case of the EMS, we need a way to destroy badges that have been created | 18:42 |
+perlDreamer | It makes sense to me. Of course, there will be items for which removeFromCart is a no-op, like a Donation | 18:43 |
+perlDreamer | wait a sec | 18:43 |
@preaction | i would avoid changing inventory when items are added to carts, since the cart might not be sold and it prevents someone else from buying it. but if that's just an example | 18:43 |
@rizen | sure...and that's what the default removeFromCart method will do | 18:43 |
+perlDreamer | why wouldn't badge creation be done in completePurchase? | 18:43 |
+perlDreamer | rather than addToCart? | 18:43 |
@rizen | perlDreamer: because we need to attach stuff to the badge | 18:44 |
@rizen | tickets, ribbons, etc | 18:44 |
@rizen | so the badge needs to be created | 18:44 |
@rizen | preaction: you can't wait until sale has been completed...because things like EMS tickets have a limited quantity | 18:44 |
@rizen | there could be a sell out | 18:44 |
@rizen | so instead we have to have a workflow activity that sees how long an item has been in a cart and kill it | 18:45 |
@rizen | if it has been in there too long | 18:45 |
@rizen | similar to what ticketmaster does | 18:45 |
-!- BartJol [n=plainstu@194.171.50.123] has left #webgui [] | 18:45 | |
@rizen | any other questions, comments, scathing rebuttle...reasons why this is a bad idea? | 18:48 |
@rizen | got to go, but i'll be back in an hour or so...please throw your comments up here if you have any | 18:51 |
+perlDreamer | arthur c. clarke is dead | 18:57 |
-!- topsub [n=topsub20@97.66.185.250] has quit [] | 18:58 | |
+perlDreamer | why is it that no one wants to volunteer to write core tests? | 18:59 |
@preaction | writing tests is boring scutwork? | 19:01 |
@preaction | i mean, i'll write tests for every bugfix and feature request i do, but turning a 10-minute bugfix into a 3-hour ordeal is something i don't enjoy | 19:02 |
* perlDreamer excels at boring scutwork, I guess | 19:02 | |
+perlDreamer | actually, that's what I do here at $dayJob, too | 19:07 |
+perlDreamer | Methodology, automation, small filler cells | 19:07 |
+perlDreamer | hm | 19:07 |
-!- topsub [n=topsub20@97.66.185.250] has joined #webgui | 19:08 | |
+perlDreamer | how's the testing, topsub? | 19:08 |
topsub | still going :-) | 19:08 |
topsub | had to restart the laptop | 19:09 |
-!- WGnub [n=chatzill@adsl-68-91-7-41.dsl.tulsok.swbell.net] has joined #webgui | 19:09 | |
topsub | ( no windows comments please ) lol | 19: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 | |
+perlDreamer | rizen: I built the SQL widget for YUI data table structures. Now I'm thinking about a Paginator extension to handle processing the form variables and other magic. | 19:19 |
-!- WGnub [n=WGnub@adsl-68-91-7-41.dsl.tulsok.swbell.net] has joined #webgui | 19:19 | |
+perlDreamer | welcome back, WGnub | 19:19 |
WGnub | ty | 19:20 |
+perlDreamer | are you hanging out, or waiting for a good opportunity to ask questions? | 19:20 |
WGnub | hanging for a moment. | 19:20 |
WGnub | working on a webgui install on (gasp) MS. | 19:20 |
+perlDreamer | we'll pray for you | 19:20 |
WGnub | I think I'm going to go over to Ubuntu. (grin) | 19:21 |
WGnub | ty | 19:21 |
WGnub | always can use some of dat. | 19:21 |
WGnub | It's a mess on MS. | 19:21 |
WGnub | er, M$ | 19:21 |
WGnub | I'll be back if there's trouble with ubuntu. prolly won't be tho. | 19:21 |
WGnub | thanks for the chat. | 19:22 |
-!- WGnub [n=WGnub@adsl-68-91-7-41.dsl.tulsok.swbell.net] has left #webgui [] | 19:22 | |
topsub | lol i have done it on MS | 19:23 |
topsub | laptop = MS XP.. lol | 19:23 |
topsub | it can get tricky | 19:24 |
+perlDreamer | anything missing from the wiki about using it on MS? | 19:24 |
topsub | i have started creating my own to compare | 19:24 |
topsub | seems every version brings something different.. with WRE that is | 19:25 |
lisette | perlDreamer: i do $session2=WebGUI::Session->user({userId=>$userID); and this show me an error! | 19:25 |
topsub | you have a misc " } " before userid? | 19:26 |
+perlDreamer | lisette, not only that but user is an instance method, not a class method. $session2 = WebGUI::Session->open(.....); $session2->user({...}); | 19:27 |
lisette | and which the parameter of the method open? | 19:27 |
+perlDreamer | whatever it says in the docs | 19:27 |
lisette | ok | 19:30 |
@rizen | excellent pd | 20:09 |
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has joined #webgui | 20:21 | |
-!- mode/#webgui [+v MrHairgrease] by ChanServ | 20:21 | |
+perlDreamer | rizen: at some point should we import the 7.5 changes over into Commerce, so we don't get too out of date? | 20:32 |
@rizen | i've been doing them one off as needed | 20:33 |
@rizen | for example yui | 20:33 |
@rizen | but maybe | 20:33 |
@rizen | my big concern is that we'll then have to move all of our upgrade stuff into a new module | 20:33 |
+perlDreamer | good point | 20:33 |
@rizen | i guess...not a concern | 20:33 |
@rizen | but rather work | 20:33 |
@rizen | that i don't want to do right now | 20:33 |
@rizen | =) | 20:33 |
+perlDreamer | I understand | 20:34 |
@rizen | incidentally, that discussion we were having earlier | 20:34 |
@rizen | i'm changing that a bit | 20:34 |
+perlDreamer | about removeFromCart? | 20:34 |
@rizen | and some other sku/cart interaction methods | 20:35 |
@rizen | i'm creating onRemoveFromCart | 20:35 |
@rizen | onAdjustQuantityInCart | 20:35 |
@rizen | onCompletePurchase | 20:35 |
@rizen | that way it isn't the method that's actually removing, adjusting, or completing | 20:35 |
@rizen | but just something that gets called when those events happen | 20:35 |
+perlDreamer | those are also great workflow tie-in points | 20:36 |
@rizen | i think it's a clearer separation | 20:36 |
@rizen | oooh. good call | 20:36 |
@rizen | there is no onAddToCart because there is already addToCart | 20:36 |
@rizen | the sku is adding itself to the cart | 20:36 |
@rizen | not the other way around | 20:37 |
@rizen | unless maybe it shouldn't be that way | 20:37 |
@rizen | actually...maybe it shouldn't be that way | 20:37 |
@rizen | the asset should call $cart->addItem(); | 20:38 |
@rizen | and then addItem calls onAddToCart() | 20:38 |
@rizen | seems more round about though since we're already there | 20:38 |
+perlDreamer | yeah | 20:38 |
@rizen | gonna have to think about that one some more | 20:38 |
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has quit [Read error: 110 (Connection timed out)] | 20:46 | |
CIA-22 | WebGUI: graham * r5850 /WebGUI/ (docs/changelog/7.x.x.txt lib/WebGUI/Asset/WikiPage.pm): fixed: Wiki page history shows username instead of alias | 20:46 |
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has joined #webgui | 20:47 | |
-!- mode/#webgui [+v MrHairgrease] by ChanServ | 20:47 | |
@rizen | perlDreamer, i was thinking about the performance issue you brought up before | 20:54 |
@rizen | i think i know what the problem is | 20:54 |
+perlDreamer | clue me in, dude | 20:54 |
@rizen | neither $cart->getItems() nor $cartitem->getSku() does any caching | 20:55 |
@rizen | so it recreates all those objects over and over again in the cart | 20:55 |
@rizen | for shipping, tax, cart display, etc | 20:56 |
@rizen | also in tax | 20:56 |
+perlDreamer | the performance hit I saw was due to the number of entries in the tax table | 20:56 |
@rizen | the last time i looked you look up the tax information for each item in the cart | 20:56 |
@rizen | but before that loop, you should look up the tax info once for the main shipping address | 20:57 |
@rizen | and then only look it up again if there is a custom shipping address for the itme | 20:57 |
@rizen | item | 20:57 |
+perlDreamer | okay, I can make that change | 20:57 |
@rizen | that should make a pretty big difference | 20:57 |
@rizen | i'm not saying we don't also need to make some other changes | 20:58 |
@rizen | but that should help | 20:58 |
@rizen | oh i also had a brilliant idea over lunch | 20:59 |
@rizen | i'm going to take out the coupon stuff as i have it right now | 20:59 |
@rizen | instead, coupons should be skus | 20:59 |
@rizen | each sku has access to the cart and therefore all items in it | 21:00 |
@rizen | so when the cart calls getPrice() on the sku it can run through the cart and see what's in there and then return a negative price for the discount | 21:00 |
+perlDreamer | so a coupon would know what kind of SKU it applies to? | 21:00 |
@rizen | that way people can write their own pluggable coupon skus | 21:00 |
@rizen | yeah...cuz you can write code for whatever kind of coupon you want to write | 21:01 |
+perlDreamer | coupons that expire 5 days after creation | 21:01 |
@rizen | so you can say this coupon only applies to skus of type WebGUI::Asset::Sku::MakeColinMyBitch | 21:01 |
+perlDreamer | Those SKUs are hard to get | 21:01 |
@rizen | yeah, but when you can find them they are well worth it, even though they are expensive | 21:02 |
@rizen | but that's why i'd write a coupon sku for it | 21:02 |
@rizen | =) | 21:02 |
@rizen | i think it's BRILLIANT | 21:02 |
@rizen | because it makes coupons very configurable and pluggable | 21:03 |
@rizen | as for expiring coupons...you just remove the coupon from your site after 5 days | 21:03 |
@rizen | or you make the coupon have date properties | 21:03 |
@rizen | so it only applies during a set period | 21:03 |
+perlDreamer | yes | 21:03 |
@rizen | plus since the coupon has the addToCart method in it | 21:03 |
@rizen | it could actually check that stuff and not even let you add it to the cart | 21:03 |
@rizen | unless the criteria match | 21:04 |
@rizen | also, because coupons are skus and skus are assets | 21:04 |
@rizen | if you only want to allow the coupon for certain users | 21:04 |
@rizen | you can set who can view it | 21:05 |
@rizen | cuz if they can't view it, they can't add it to their cart | 21:05 |
+perlDreamer | hm, I think I was wrong earlier about DataTable and Paginator. They don't sync up too well because the pagination bar display is all done in the client. | 21:07 |
+perlDreamer | Maybe this goes in Utility. | 21:07 |
@rizen | what goes in Utility? | 21:09 |
+perlDreamer | something that abstracts building the SQL for the DataTable. | 21:09 |
+perlDreamer | you pass it the base SQL, the keywords for variables, and the column fields that the keywords applies to | 21:11 |
+perlDreamer | and it passes you back the amended SQL and placeholders | 21:11 |
@rizen | you said SQL in there 3 times | 21:11 |
@rizen | doesn't that tell you something? | 21:11 |
+perlDreamer | Wait, I have a great idea! | 21:12 |
+perlDreamer | I'll put it in SQL.pm! | 21:12 |
+perlDreamer | ;) | 21:12 |
CIA-22 | WebGUI: colin * r5851 /branch/WebGUI_Commerce/t/SQL.t: add a test for buildDataTableStructure | 21:24 |
CIA-22 | WebGUI: colin * r5852 /branch/WebGUI_Commerce/t/Shop/ (Tax.t Transaction.t): Note where additional tests need to be written for Shop/{Tax,Transaction}. | 21:24 |
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui | 21:30 | |
CIA-22 | WebGUI: colin * r5853 /branch/WebGUI_Commerce/lib/WebGUI/Paginator.pm: Fix a typo in the Paginator POD. | 21:45 |
+perlDreamer | okay, API work is done, back to Tax UI stuff | 21:46 |
-!- topsub [n=topsub20@97.66.185.250] has quit [] | 21:53 | |
-!- perlDreamer is now known as perlLuncher | 21:57 | |
-!- lisette [n=liraos@201.232.58.66] has quit [No route to host] | 22:00 | |
CIA-22 | WebGUI: colin * r5854 /branch/WebGUI_Commerce/ (4 files in 3 dirs): | 22:03 |
CIA-22 | WebGUI: Add a SQL method for building searchable queries. | 22:03 |
CIA-22 | WebGUI: Add tests for that method. | 22:03 |
CIA-22 | WebGUI: Convert Shop/Tax and Shop/Transaction to use that for their JSON generating methods. | 22:03 |
CIA-22 | WebGUI: jt * r5855 /branch/WebGUI_Commerce/ (9 files in 6 dirs): | 22:45 |
CIA-22 | WebGUI: made event handlers for cart/sku | 22:45 |
CIA-22 | WebGUI: created baseline emsbadge and emsticket | 22:45 |
CIA-22 | WebGUI: added completePurchase() and denyPurchase() utility methods for transaction | 22:45 |
-!- SDuensin [n=Scott@63.sub-75-207-252.myvzw.com] has quit ["Leaving"] | 22:50 | |
+perlLuncher | rizen: we've got a test failure. applyOptions seems to have gone away? | 23:02 |
+perlLuncher | just try running the Shop/Tax.t test | 23:02 |
-!- perlLuncher is now known as perlDreamer | 23:03 | |
@rizen | ok i'll look at it | 23:24 |
@rizen | applyOptions hasn't gone away | 23:27 |
@rizen | the asset isn't getting instanciated | 23:27 |
@rizen | and way before that there is a problem with www_getTransactionsAsJson() | 23:28 |
+perlDreamer | that the test didn't catch? | 23:29 |
+perlDreamer | that's weird | 23:29 |
+perlDreamer | what's it doing? | 23:29 |
@rizen | you know what...maybe i need to reset dev | 23:30 |
+perlDreamer | better? | 23:31 |
@rizen | found some problems with the upgrade script | 23:31 |
@rizen | haven't tested it in a while | 23:31 |
@rizen | still failing at the same place | 23:34 |
@rizen | not ok 86 - Check major elements of tax JSON | 23:34 |
@rizen | # Failed test 'Check major elements of tax JSON' | 23:34 |
@rizen | # at /data/WebGUI/t/Shop/Tax.t line 612. | 23:34 |
@rizen | # Using Regexp on $data->{"records"}->[0]{"taxRate"} | 23:34 |
@rizen | # got : '0' | 23:34 |
@rizen | # expect : (?-xism:^\d+\.\d+$) | 23:34 |
@rizen | sorry that's not get json | 23:35 |
@rizen | it's just after that | 23:35 |
@rizen | i was looking in the wrong place | 23:35 |
@preaction | Scalar::Util::looks_like_number instead of a regexp to detect it? | 23:35 |
+perlDreamer | that's probably safer | 23:35 |
+perlDreamer | no, you can't do that unfortunately | 23:36 |
+perlDreamer | it's using cmp_deeply | 23:36 |
@preaction | num() then | 23:37 |
+perlDreamer | same problem | 23:38 |
+perlDreamer | no way to get access to the original value | 23:39 |
@preaction | ignore() and test it later? | 23:39 |
+perlDreamer | I'll just make the mantissa optional | 23:39 |
+perlDreamer | although it was told to make it 0.0 | 23:40 |
CIA-22 | WebGUI: jt * r5856 /branch/WebGUI_Commerce/docs/upgrades/upgrade_7.5.2-7.5.3.pl: fixed sql problems | 23:43 |
CIA-22 | WebGUI: jt * r5857 /branch/WebGUI_Commerce/t/Shop/Tax.t: proper indent | 23:43 |
@rizen | i can't understand where CartItem.pm is even coming into play during this test | 23:44 |
+perlDreamer | calculate calls getItems | 23:44 |
+perlDreamer | that returns a bunch of CartItems? | 23:44 |
@rizen | yeah but isn't the error coming from the www_getTaxesAsJson | 23:45 |
@rizen | ? | 23:45 |
+perlDreamer | No, it's coming from the clean-up code at the bottom | 23:46 |
+perlDreamer | $cart->delete, probably | 23:46 |
@rizen | ah | 23:47 |
@rizen | well that explains it | 23:47 |
@rizen | delete calls empty which calls remove which i just changed a few minutes ago | 23:47 |
@rizen | i'm still writing tests for those changes | 23:48 |
@rizen | so let me finish that | 23:48 |
@rizen | and it will probably clean up this problem | 23:48 |
+perlDreamer | cool | 23:49 |
-!- dionak [n=diona@97.66.185.250] has quit [] | 23:55 | |
--- Day changed Thu Mar 20 2008 | ||
+MrHairgrease | rizen: I tried implementing the add paydriver functionality by using newByPropertyHashRef so it won't create a driver before you click save as discussed yesterday. | 00:03 |
+MrHairgrease | The problem is however that I cannot use 'www_do' to do that | 00:04 |
+MrHairgrease | since www_do requires a driverId | 00:04 |
@rizen | i see and understand | 00:04 |
+MrHairgrease | and since the driver hasn't been created yet, it has no id... | 00:04 |
+MrHairgrease | I have tried some things but they are all ugly | 00:04 |
@rizen | that was actually a big problem for me with assets too | 00:04 |
+MrHairgrease | yeah | 00:04 |
@rizen | i couldn't use the api to create the root asset | 00:05 |
@rizen | =) | 00:05 |
+MrHairgrease | hehe | 00:05 |
@rizen | but then after that i could use the root asset to create other assets | 00:05 |
@rizen | but since there is no hierarchy in drivers | 00:05 |
+MrHairgrease | yeah, but is the root asset a chicken or just an egg? | 00:05 |
+MrHairgrease | I know | 00:05 |
@rizen | that's why i created the ship driver thing the way i did | 00:06 |
@rizen | for now i would create pay driver the same way | 00:06 |
+MrHairgrease | i c | 00:06 |
@rizen | and if i have time i'll look into the problem later | 00:06 |
@rizen | right now i'm just concerned about getting this whole system completed on time | 00:06 |
@rizen | there's a lot to be done yet | 00:06 |
+MrHairgrease | ok | 00:07 |
+MrHairgrease | will do it like it's done in ship for now then... | 00:07 |
CIA-22 | WebGUI: jt * r5858 /branch/WebGUI_Commerce/ (lib/WebGUI/Asset.pm lib/WebGUI/Asset/Sku.pm t/Asset/Sku.t): updated tests for sku and fixed problems | 00:22 |
+perlDreamer | rizen: I svn up'ed and resetdev, but I'm getting the same error | 00:29 |
+perlDreamer | Can't call method "applyOptions" on an undefined value at /data/WebGUI/lib/WebGUI/Shop/CartItem.pm line 155 | 00:30 |
@rizen | i didn't say it was fixed yet did i? | 00:31 |
@rizen | i have lots of tests to update | 00:32 |
+perlDreamer | Sorry, man. I mistook the svn commit to mean they were _all_ fixed. My bad. | 00:32 |
+MrHairgrease | rizen: did you rename set to update? | 00:33 |
+MrHairgrease | in shipdriver/ | 00:33 |
+MrHairgrease | ? | 00:33 |
@rizen | yes | 00:34 |
+MrHairgrease | b/c in my paydrive it's still set | 00:34 |
@rizen | please update to update | 00:34 |
+MrHairgrease | i fugure i do teh same | 00:34 |
+MrHairgrease | ah ok | 00:34 |
+perlDreamer | Yeah, you fugure'd right | 00:41 |
@rizen | ok, now i've fixed the tests and it still didn't fix the problem | 00:41 |
@rizen | so either there is something wrong in Tax.pm | 00:42 |
@rizen | or my tests aren't covering something that they need to cover | 00:42 |
+perlDreamer | Are there cartItem tests? | 00:42 |
@rizen | my guess is the later since i am bad at testing | 00:42 |
@rizen | Cart.t tests cart items | 00:42 |
@rizen | they work together as one system | 00:42 |
@rizen | Cart and CartItem | 00:42 |
@rizen | same for Transaction | 00:42 |
@rizen | you can't have a CartItem without a cart | 00:43 |
+perlDreamer | I see, similarly for Address and AddressBook | 00:43 |
@rizen | oh that's one thing i'm not testing | 00:43 |
@rizen | catching exceptions | 00:43 |
@rizen | i should use martin's new cool tester thing | 00:43 |
+perlDreamer | Do you want to generate a coverage report for your tests to see what they're missing? | 00:44 |
@rizen | i don't really care to be honest. i know that it's missing quite a bit because some stuff is very hard to test with the parts that are still missing from commerce | 00:44 |
@rizen | and i don't plan on testing the www_ methods | 00:45 |
CIA-22 | WebGUI: jt * r5859 /branch/WebGUI_Commerce/ (t/Shop/Cart.t lib/WebGUI/Shop/CartItem.pm): update tests to match new code | 00:45 |
@rizen | sorry...the way i stated that sounds bad | 00:47 |
+perlDreamer | naw | 00:47 |
@rizen | it's not that i don't care about testing | 00:47 |
@rizen | it's that testing www_ methods is really fricken hard | 00:47 |
+perlDreamer | it's true | 00:47 |
@rizen | and not worth it in my opinion | 00:47 |
+perlDreamer | I know why it's failing | 00:48 |
+perlDreamer | but not why it used to pass | 00:48 |
+perlDreamer | I deleted the SKUs, and then called cart->delete | 00:48 |
@rizen | and i really need the rest of pay and transaction finished in order to write the other tests that are missing | 00:48 |
+perlDreamer | without the SKUs, the items can't instanciate the skus to call onRemoveFromCart | 00:49 |
+perlDreamer | it's fixed now | 00:54 |
@rizen | i just looked at some of your code | 00:55 |
@rizen | holy crap am i inspired to throw a lot more exceptions | 00:55 |
@rizen | i was being very minimalist | 00:55 |
@rizen | but you're throwing exceptions on everything | 00:55 |
+perlDreamer | that's funny, because after looking at your code I was thinking that I was overboard :) | 00:55 |
@rizen | hehe | 00:56 |
@rizen | maybe we need to meet in the middle | 00:56 |
+MrHairgrease | ok, this is getting rediculous | 00:57 |
+MrHairgrease | somehow i've borked my code | 00:57 |
+MrHairgrease | it must be something really simple | 00:57 |
+perlDreamer | what's up, MrHairgrease? | 00:57 |
+MrHairgrease | but i cannot find it | 00:57 |
+perlDreamer | give us a commit or paste | 00:57 |
+MrHairgrease | i'm getting to tired for this crap | 00:57 |
+MrHairgrease | that's what it is | 00:58 |
+MrHairgrease | tomorrow I'm sure I've found it in five minutes | 00:58 |
+MrHairgrease | so I'm calling it a day | 00:58 |
+perlDreamer | Gute Nacht, Herr Martin. | 00:59 |
+perlDreamer | rizen: what's a good compromise? | 00:59 |
@rizen | well i think we should probably check that parameters are getting passed in | 01:00 |
@rizen | and if they're an object or a hash we should check that they are the right type | 01:00 |
@rizen | but i don't think we should do deep checking like that the hash structure is correct | 01:00 |
@rizen | or that the object is the one we expected or is configured correctly | 01:01 |
@rizen | cuz that's just going to slow the system way down | 01:01 |
+perlDreamer | let's take a specific example, like add in Tax | 01:01 |
+perlDreamer | 3 exceptions | 01:01 |
+perlDreamer | 1 for a hash | 01:01 |
+perlDreamer | and 2 for hash contents | 01:01 |
+perlDreamer | we should bonk the last two exceptions | 01:02 |
+perlDreamer | and let the www_ method do the checking for us | 01:02 |
@rizen | i like that you're doing the testing, but yeah i'm concerned that if we do that all over the place we're taking a performance hit | 01:02 |
@rizen | now in that particular case | 01:02 |
@rizen | that code isn't going to be called all that often | 01:03 |
@rizen | so maybe it's ok | 01:03 |
@rizen | but on something that gets called a lot | 01:03 |
@rizen | like $cart->getItem | 01:03 |
@rizen | if we did a lot of checks | 01:03 |
@rizen | we could get really slow really fast | 01:03 |
CIA-22 | WebGUI: graham * r5860 /WebGUI/ (docs/changelog/7.x.x.txt lib/WebGUI/Storage.pm): added: Uploads locations and files are set to the same uid/gid that owns the uploads root | 01:04 |
CIA-22 | WebGUI: graham * r5861 /WebGUI/ (docs/changelog/7.x.x.txt lib/WebGUI/Asset/Wobject/SQLForm.pm): fixed: SQL Form fields with a regex are required even if not set to required | 01:04 |
CIA-22 | WebGUI: graham * r5862 /WebGUI/ (docs/changelog/7.x.x.txt lib/WebGUI/Asset/Wobject/Matrix.pm): fixed: Matrix caches pages, and may not update for new listings | 01:04 |
CIA-22 | WebGUI: colin * r5863 /branch/WebGUI_Commerce/t/Shop/Tax.t: Don't delete the SKUs so that the cart can call onRemoveFromCart | 01:04 |
+perlDreamer | getItem doesn't need an exception, since it's just a wrapper for new, and new will throw an exception | 01:04 |
@rizen | sorry bad example | 01:04 |
@rizen | but new would be a good exception | 01:04 |
@rizen | example i mean | 01:05 |
@rizen | well not really cuz it only gets an id | 01:05 |
@rizen | i think you get my drift though | 01:05 |
@rizen | deep checking of the data is technically good, but bad for performance | 01:05 |
@rizen | and if i'm ever asked to make a decision about performance | 01:06 |
@rizen | pretty much nothing trumps it | 01:06 |
+perlDreamer | gotcha | 01:06 |
@rizen | except security and usability | 01:06 |
@rizen | actually...not even usability | 01:06 |
@rizen | how do you rerun the cpan setup so you can set new mirrors | 01:13 |
@rizen | i always just manually edit CPAN.pm, but i'm sure there's a better way | 01:13 |
+perlDreamer | Haarg: I know I'm kibitzing again, but it would be good to add an upgrade script snippet that changed them all uploads subdirs and files to the owner, too. Just to clean it all up at once. | 01:13 |
@rizen | o conf init | 01:13 |
@Haarg | that's probably a good idea | 01:14 |
+perlDreamer | that's an awesome addition, though. | 01:15 |
+perlDreamer | I know people who setup cron jobs to do that manually every hour or so | 01:16 |
-!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"] | 01:18 | |
@rizen | MrHairgrease do you know if WebGUI::TestException works? | 01:19 |
@rizen | i think i'm using it how i'm supposed to and it doesn't seem to work | 01:20 |
+perlDreamer | seems to work with Pay.t | 01:20 |
+perlDreamer | throws_deeply | 01:20 |
@rizen | i've just committed a new test | 01:35 |
@rizen | at the top of Cart.t | 01:35 |
@rizen | that doesn't seem to work | 01:35 |
@rizen | can you help me figure out why it doesn't work | 01:35 |
@rizen | this is throws_deeply | 01:35 |
@rizen | i've read the docs and looked at Pay.t | 01:35 |
@rizen | and i think i'm doing the same thing | 01:35 |
+perlDreamer | [...updating] | 01:35 |
+perlDreamer | I don't see a newBySession in Cart.pm. Is it committed? | 01:37 |
+perlDreamer | Does it throw an exception if there's no session? | 01:37 |
@rizen | damn it!!!! | 01:37 |
@rizen | it's getCartBySession | 01:37 |
@rizen | i've been thinking it should be called newBySession | 01:37 |
@rizen | that still doesn't fix it though | 01:38 |
+perlDreamer | are you getting a field mismatch, or something else? | 01:39 |
@rizen | nevermind it fixes it | 01:39 |
@rizen | i had another typo | 01:39 |
+perlDreamer | s/needs/?????/ | 01:40 |
@rizen | yup | 01:40 |
@rizen | pd you rock | 01:40 |
+perlDreamer | I'm a testing monster | 01:40 |
@rizen | indeed | 01:40 |
CIA-22 | WebGUI: jt * r5864 /branch/WebGUI_Commerce/ (t/Shop/Cart.t lib/WebGUI/Shop/Cart.pm): trying to add more exceptions | 01:47 |
CIA-22 | WebGUI: jt * r5865 /branch/WebGUI_Commerce/t/Shop/Cart.t: fixed a test | 01:47 |
CIA-22 | WebGUI: colin * r5866 /branch/WebGUI_Commerce/lib/WebGUI/Shop/Tax.pm: | 01:47 |
CIA-22 | WebGUI: Cache the main cart address tax info. | 01:47 |
CIA-22 | WebGUI: Build some more JS for the view Tax screen. | 01: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 #webgui | 01:55 | |
-!- mode/#webgui [+v Radix-wrk] by ChanServ | 01: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 #webgui | 02: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 #webgui | 03:12 | |
-!- mode/#webgui [+o apeiron] by ChanServ | 03: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 #WebGUI | 04:23 | |
-!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui | 04: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 #webgui | 06:04 | |
-!- mode/#webgui [+v Radix_] by ChanServ | 06: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 #webgui | 06: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 #webgui | 06:56 | |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 06: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_aa | 07:26 | |
-!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: ckotil | 07:28 | |
-!- Netsplit over, joins: steveo_aa | 07:29 | |
-!- ckotil [n=newtrino@snare.grnoc.iu.edu] has joined #webgui | 07:30 | |
CIA-22 | WebGUI: colin * r5867 /branch/WebGUI_Commerce/lib/WebGUI/Shop/Tax.pm: renamed www_view to www_manage, and added more JS | 07: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 #webgui | 08:09 | |
-!- mode/#webgui [+o preaction] by ChanServ | 08: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 #webgui | 08:51 | |
-!- ryuu_ro_ [n=rory@194.171.50.69] has joined #webgui | 08: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 #webgui | 09:58 | |
-!- Radix-wrk [n=Jesse@203.161.68.67] has quit ["Leaving"] | 10:22 | |
-!- BartJol [n=plainstu@194.171.50.123] has joined #webgui | 10:52 | |
-!- BartJo1 [n=plainstu@194.171.50.123] has joined #webgui | 11: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 #webgui | 13: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 #webgui | 14:16 | |
br4k3r | mornin gents | 14:16 |
br4k3r | and ladies if there are any | 14:16 |
br4k3r | :) | 14:16 |
AMH_bob | hi dude | 14:19 |
AMH_bob | (or dudet) | 14:19 |
br4k3r | hehe | 14:19 |
br4k3r | d00d :) | 14:19 |
br4k3r | so yesterday I began the daunting task of upgrading from 6.8.9 to the newest | 14:20 |
-!- MrHairgrease [n=martin@194.171.50.69] has joined #webgui | 14:25 | |
-!- mode/#webgui [+v MrHairgrease] by ChanServ | 14: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 #webgui | 15:14 | |
ckotil | how'd that go? | 15:15 |
-!- topsub [n=topsub20@97.66.185.250] has joined #webgui | 15:15 | |
ckotil | it sounds daunting | 15: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 #webgui | 15:27 | |
-!- dionak [n=diona@97.66.185.250] has joined #webgui | 15:40 | |
-!- bopbop [n=kmccombs@71-82-214-154.dhcp.mdsn.wi.charter.com] has joined #webgui | 15:43 | |
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui | 16:03 | |
-!- mode/#webgui [+o rizen] by ChanServ | 16:03 | |
-!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui | 16:08 | |
-!- mode/#webgui [+o Haarg] by ChanServ | 16:08 | |
+MrHairgrease | rizen: for some reason if I put $self->session->errorHandler->warn("yadayada") in the commerce code, nothing appears in the log | 16:11 |
+MrHairgrease | it looks like only excpetions are getting logged | 16:12 |
@rizen | what have you done? | 16:12 |
@rizen | you broke it didn't you | 16:13 |
@rizen | i knew i couldn't trust you smooth talking europeans | 16:13 |
@rizen | =) | 16:13 |
+MrHairgrease | don't get me started | 16:13 |
+MrHairgrease | all these small changes like set => update and some other minor stuff has been driving me crazy today | 16:13 |
+MrHairgrease | more specific because I can't get get any normal loggin messages | 16:14 |
+MrHairgrease | anyway | 16:14 |
+MrHairgrease | check this out: http://webgui.pastebin.org/24583 | 16:14 |
+MrHairgrease | The highlighted line should at the very least show PLOINK in the logs right? | 16:15 |
@rizen | PLOINK? | 16:15 |
+MrHairgrease | when adding a shipper that is | 16:15 |
+MrHairgrease | never mind the word, it has no meaning | 16:15 |
@rizen | i'm just giving you shit. sorry i should be serious. | 16:15 |
@rizen | yes it should log ploink, provided it's getting to that line | 16:15 |
@rizen | you are throwing exceptions prior to that | 16:15 |
@rizen | also, your method is called addShipper | 16:16 |
@rizen | but aren't you working on pay? | 16:16 |
+MrHairgrease | well it is getting there: when i add a print "FOOBAR". I see FOOBAR being printed in my browser | 16:17 |
+MrHairgrease | I am working on pay btw | 16:17 |
+MrHairgrease | but I thought I check the weird behaviour in something that should work | 16:18 |
+MrHairgrease | does it log on your system? | 16:19 |
@rizen | going to try it now | 16:21 |
@rizen | it works on address book...just tried that | 16:21 |
+MrHairgrease | oh fuck | 16:21 |
@rizen | going to try ship now | 16:21 |
+MrHairgrease | log.conf is set to ERROR | 16:21 |
+MrHairgrease | does the wre do that? | 16:22 |
+MrHairgrease | never mind | 16:23 |
+MrHairgrease | it works when I set it to WARN level again... | 16:23 |
+MrHairgrease | I'm gonna call this week waste-your-time-on-stupid-crap-week | 16:23 |
@rizen | it's logging for me | 16:25 |
@rizen | ok | 16:25 |
@rizen | yes, your friend KOEN requested that error be the default level set in WebGUI/WRE | 16:25 |
+MrHairgrease | yeah it should | 16:25 |
@rizen | i agree | 16:25 |
+MrHairgrease | even in dev mode? | 16:25 |
@rizen | which is why i implemented it | 16:25 |
@rizen | i never told dev mode to look at it | 16:26 |
+MrHairgrease | Also, it seems that APache2::Reload is not configured | 16:27 |
+MrHairgrease | could that be | 16:27 |
+MrHairgrease | ? | 16:27 |
@rizen | it should be | 16:29 |
@rizen | but there's always a chance that something bad has happened | 16:29 |
@rizen | bug | 16:29 |
@rizen | whatever | 16:29 |
@rizen | oh...i know why you think that | 16:29 |
@rizen | i don't know what it is about apache2::reload | 16:30 |
@rizen | but for me it only works for assets | 16:30 |
@rizen | if i'm working on some core stuff | 16:30 |
@rizen | then i have to restart every time | 16:30 |
@rizen | maybe there is a different way to configure it | 16:30 |
+MrHairgrease | Well, I tried to configure it manually | 16:30 |
+MrHairgrease | but then all kind of weird crap started to happen | 16:31 |
+MrHairgrease | that combined with the log problems | 16:31 |
+MrHairgrease | made me disable it again | 16:31 |
+MrHairgrease | well anyway | 16:31 |
+MrHairgrease | carrying on with the pay stuff | 16:31 |
+MrHairgrease | oh one other thing | 16:34 |
+MrHairgrease | I noticed that when the Admin Bar is displayed requests are done twice | 16:34 |
+MrHairgrease | I'm not sure if that happens in all cases | 16:34 |
+MrHairgrease | but it happened to me on two different projects | 16:34 |
+MrHairgrease | I always notice by form posts being done twice | 16:35 |
+MrHairgrease | which doesn't happen when the admin bar is off | 16:35 |
+MrHairgrease | is that known behaviour? | 16:35 |
+MrHairgrease | yay, the management crap is finally working as it should! | 16:47 |
+MrHairgrease | about time... | 16:48 |
@rizen | i havent' seen that with the admin bar | 16:52 |
@rizen | not sure how the admin bar could cause that | 16:52 |
@rizen | gotta reboot...brb | 16:52 |
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit [] | 16:52 | |
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui | 16:58 | |
-!- mode/#webgui [+o rizen] by ChanServ | 16:58 | |
+MrHairgrease | ok rizen, what is the checkout button in the cart supposed to do | 16:59 |
+MrHairgrease | or | 16:59 |
+MrHairgrease | how do it get from that screen to the select your paymentgatewayscreen | 17:00 |
+MrHairgrease | is there something already? | 17:00 |
@rizen | the checkout button is supposed to take you to the payment gateway selection screen | 17:00 |
@rizen | and no, there isn't something already | 17:00 |
+MrHairgrease | ok | 17:00 |
@rizen | that's something that has to be built into Pay.pm | 17:00 |
+MrHairgrease | ok | 17:00 |
@rizen | oh | 17:00 |
+MrHairgrease | will do | 17:01 |
@rizen | it's also supposed to ensure that the user is logged in | 17:01 |
+MrHairgrease | ok | 17:01 |
+MrHairgrease | that should be added to www_selectPaymentgateway | 17:01 |
+MrHairgrease | ? | 17:01 |
+MrHairgrease | or do you want it in the cart somewhere? | 17:01 |
@rizen | to www_select.... | 17:02 |
@rizen | the cart doesn't require login | 17:02 |
@rizen | only when it comes time to check out | 17:02 |
+MrHairgrease | heh, I already built that method =) | 17:03 |
@rizen | indeed | 17:03 |
+MrHairgrease | forgot about that | 17:03 |
@rizen | this is very similar to the old commerce system | 17:03 |
+MrHairgrease | no I mean in Pay.t | 17:03 |
+MrHairgrease | \.pm* | 17:03 |
@rizen | it's just that i moved the shipping part into the cart | 17:03 |
@rizen | oh | 17: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 #webgui | 17:23 | |
-!- mode/#webgui [+o apeiron] by ChanServ | 17:23 | |
-!- BartJol [n=plainstu@194.171.50.123] has joined #webgui | 17:24 | |
topsub | hello. anyone here who can hlep me ping some questions about testing off of them? | 17:25 |
topsub | i have questions testing with PseudoRequest | 17:31 |
topsub | i have this idea of setting up a request.. calling setup_body.. then calling my function direclty. Would that "mock" the post | 17:32 |
-!- ryuu_ro_ [n=rory@194.171.50.69] has quit [] | 17:33 | |
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has joined #webgui | 17:38 | |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 17:38 | |
+MrHairgrease | gotta go | 17:41 |
+MrHairgrease | i'll be back tonight | 17:41 |
+MrHairgrease | later | 17: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 #webgui | 17:44 | |
-!- TheSeparator [n=seppie@212-123-0-146.iFiber.telenet-ops.be] has joined #webgui | 17:45 | |
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI | 17:58 | |
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has quit ["Leaving."] | 18:07 | |
topsub | Think i just got this POST test working.. | 18:09 |
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui | 18:21 | |
-!- mode/#webgui [+o preaction] by ChanServ | 18:21 | |
-!- bopbop [n=kmccombs@71-82-214-154.dhcp.mdsn.wi.charter.com] has quit [] | 18: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 | |
perlmonkey2 | topsub: building fences? | 18:26 |
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has quit ["brb"] | 18:52 | |
@rizen | i hereby declare that we are going to rule the world with this new commerce system | 18:55 |
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui | 19:00 | |
-!- mode/#webgui [+o apeiron] by ChanServ | 19:00 | |
-!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has quit ["Leaving"] | 19:18 | |
* perlDreamer commences with world ruling level coding | 19:23 | |
CIA-22 | WebGUI: graham * r5868 /WebGUI/lib/WebGUI/ (3 files in 3 dirs): improve Thingy i18n | 19:28 |
CIA-22 | WebGUI: graham * r5869 /WebGUI/docs/create.sql: preparing for 7.5.7 release | 19:28 |
CIA-22 | WebGUI: jt * r5870 /releases/WebGUI_7.5.7-beta: Release 7.5.7-beta | 19:28 |
CIA-22 | WebGUI: graham * r5871 /WebGUI/ (4 files in 4 dirs): preparing for 7.5.7 dev | 19:28 |
CIA-22 | WebGUI: colin * r5872 /branch/WebGUI_Commerce/t/Shop/Pay.t: Pay.t does not use Test::Exception | 19:28 |
perlmonkey2 | For the survey, in the Survey_question I'm breaking basic normalization by having a randomizedWords and a previousAnswerWords column which are each TEXT type and contain a JSON array. The first being an array of strings to be randomly picked to be inserted in the question text, and the second and array of Survey_questionId's who's answer will be placed in the question text. Should I stop being lazy and break out those into seperat | 19:35 |
@preaction | perlmonkey2, don't worry too much about normalization really. unless it's a field you could concieve that people would want to build an SQLReport on (unlikely) | 19:39 |
perlmonkey2 | preaction: cool, thanks | 19:39 |
-!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui | 20:12 | |
-!- mode/#webgui [+o Haarg] by ChanServ | 20:12 | |
topsub | I have couple questions about PseudoRequest testing.. | 20:16 |
topsub | when i go to call "upload" from PseudoRequest it ask for a formname. does that get dynamic created? | 20:17 |
topsub | i keep getting this error... "Can't use an undefined value as an ARRAY reference at line 207 in PseudoReuqest.pm | 20:18 |
topsub | Seems i am not passing in what its expecting any help? | 20:19 |
@rizen | perlDreamer just went to lunch methinks | 20:21 |
@rizen | he should be back in an hour | 20:21 |
topsub | ah | 20:21 |
@rizen | let me see if i can figure out what the error means though | 20:21 |
topsub | what we get it means its the value is just blank | 20:22 |
@rizen | what version of webgui are you using here? | 20:22 |
topsub | undef value as array ref | 20:22 |
@rizen | there is no code at line 207 | 20:22 |
topsub | 7.4.21 | 20:22 |
topsub | in PseudoReuqest.pm | 20:23 |
topsub | \data WebGUI t lib WebGUI | 20:23 |
-!- khenn [n=khenn@24-159-239-186.dhcp.mdsn.wi.charter.com] has joined #WebGUI | 20:26 | |
-!- mode/#webgui [+o khenn] by ChanServ | 20:26 | |
@rizen | yeah it looks to me like $uploadFileHandles isn't getting populated | 20:26 |
topsub | http://webgui.pastebin.com/m50419d31 | 20:26 |
topsub | look at line 11, thats how i passing it threw | 20:26 |
topsub | hmm could dump $upload->fh and see if i am getting results from that | 20:27 |
@rizen | also $uploadFileHandles is supposed to be an array reference | 20:27 |
@rizen | and you're giving it a single file handle | 20:27 |
topsub | ah wrapped it in [ ] | 20:29 |
topsub | hmm think something else is wrong.. maybe | 20:44 |
topsub | http://webgui.pastebin.com/m7772555d | 20:44 |
topsub | getting same error as before | 20:44 |
topsub | 207 in PseudoRequest | 20:44 |
topsub | It seems in storage.pm when we call the addFileFromFormPost function its not passing along the FileHandler that i include when i call it in my test | 20:51 |
@rizen | i don't see where you're calling addFileFrom... | 20:53 |
topsub | inside that function ( addFileFromFormPost ) it calls the 'upload' function that needs the filehandler that the addFileFromFormPost function doesn't pass along | 20:53 |
@rizen | it's not in the paste that you showed | 20:53 |
topsub | http://webgui.pastebin.com/m7d5d7edd | 20:54 |
topsub | try again | 20:54 |
topsub | i updated | 20:54 |
topsub | forgot 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 #webgui | 20:55 | |
@rizen | i don't know much about PsudoRequest but perhaps it's not compatible with Apache2::Upload that WebGUI::Storage is using | 20:58 |
topsub | hmmm | 20:58 |
@rizen | it does seem like your code should work now | 20:59 |
@rizen | i'm not seeing any errors | 20:59 |
@rizen | oh wait | 20:59 |
@rizen | there's an extra _file | 21:00 |
@rizen | at the end of your form field name | 21:00 |
@rizen | in the sub | 21:00 |
topsub | i removed that | 21:00 |
topsub | refresh that paste bin, I updated | 21:00 |
topsub | i still get same results | 21:00 |
@rizen | testUploadForm doesn't match | 21:03 |
@rizen | unless i'm reading something wrong | 21:03 |
@rizen | shouldn't my $fh = $request->upload('testUploadForm',[$upload->fh]); | 21:03 |
@rizen | use the same form field name as | 21: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 | |
topsub | according to the docs with $request->upload it ask for FormName | 21:07 |
topsub | I can give it a try tho | 21:07 |
topsub | in PseudoRequest the 2nd thing it shifts off ask for "formname" unless we are reading it wrong | 21:08 |
topsub | Are you seeing that also? Or are we mistaking? | 21:12 |
topsub | I changed that uploadTestForm to be the customer_data_file and i got a anew error message | 21:16 |
topsub | so that seem to work, we read that variable wrong | 21:16 |
topsub | Can't locate object method "filename" via package "FileHandle" at C:/data/WebGUI/t/Asset/Wobject/../../../lib/WebGUI/Storage.pm line 206. | 21:16 |
topsub | thats the new error message | 21:16 |
+perlDreamer | topsub, please paste both the code and the error message into 1 paste for me. | 21:26 |
topsub | k | 21:29 |
topsub | http://webgui.pastebin.com/m603e858f | 21:30 |
topsub | Sorry use thisone. forgot to change 1 thing http://webgui.pastebin.com/m129fecb | 21:30 |
+perlDreamer | right now I'm suspecting a problem with perl on windows | 21:37 |
+perlDreamer | but I'll keep digging | 21:38 |
+perlDreamer | are you using the WRE? | 21:38 |
topsub | yes 8.1 i believe | 21:38 |
topsub | 0.8.1 | 21:38 |
+perlDreamer | bad documentation | 21:40 |
+perlDreamer | try sending it $upload, instead of $upload->fh | 21:40 |
+perlDreamer | the 2nd arg of upload is called uploadFileHandles, but it really wants upload objects. The name is misleading. | 21:42 |
+perlDreamer | does that work better, topsub? | 21:44 |
topsub | let me try | 21:44 |
topsub | well.. i don't believe its failing there. i think its when we call processUploadFile and itcalls addFileFromFormPost and that calls upload is when its failing | 21:45 |
+perlDreamer | right | 21:45 |
+perlDreamer | if you don't send it the right thing, then when it's accessed it will fail | 21:45 |
+perlDreamer | if it's still failing, please send me a new complete, paste | 21:45 |
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."] | 21:47 | |
topsub | call it my $fh = $request->upload('customer_data_file',[$upload]); | 21:47 |
topsub | i get a '1' back | 21:47 |
+perlDreamer | how 'bout a new paste, please? | 21:50 |
topsub | http://webgui.pastebin.com/m3fbf778a | 21:52 |
+perlDreamer | upload returns what is contained in the hash pointed to by $self->{$formname}. | 21:54 |
+perlDreamer | if 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 |
+perlDreamer | Try using Data::Dumper to print out the contents of $fh, instead. | 21:54 |
topsub | ah that worked! | 21:56 |
+perlDreamer | so $fh is an arrayref of Webgui::PseudoRequest::Upload objects? | 21:57 |
+perlDreamer | or are you saying that the call to processUploadFile works now? | 21:57 |
topsub | when we sent it the $upload instead of the $upload-fh | 21:57 |
+perlDreamer | very good | 21:57 |
topsub | it set up the $self-{uploads} for us | 21:57 |
+perlDreamer | I'll change the name of the variable in the POD and commit that change. | 21:57 |
topsub | thanks for your help!! | 21:58 |
topsub | we were stuck on that | 21:58 |
topsub | we thought we were sending it what it wanted | 21:58 |
+perlDreamer | you're welcome. Thanks for being our PseudoRequest/7.4/Windows guinea pig :) | 21:58 |
+perlDreamer | preaction: did you catch that? PseudoRequest works on Windows and wG 7.4! | 21:59 |
topsub | anytime! | 21:59 |
@preaction | nice | 21:59 |
@preaction | does WebGUI yet rely on Readonly? or is that core yet? | 21:59 |
+perlDreamer | Weiss nicht. | 21:59 |
@preaction | both no? | 21:59 |
+perlDreamer | I don't think we use Readonly, and I don't know if it's core in perl yet. | 22:00 |
@preaction | it's not core, and it's not in testEnv so i'm assuming no | 22:00 |
-!- perlmonkey2 [n=kmurphy@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui | 22:00 | |
topsub | Here at knowmad we are proud to be the guinea pigs.. lol | 22:00 |
+perlDreamer | I wonder why the i18n/help.t test is failing on the smoke test. | 22:01 |
+perlDreamer | It passes fine for me here. | 22:01 |
@preaction | i think it's the Thingy, that's why it was doing it on my test box too | 22:01 |
topsub | thanks guys. i will be back tomorrow or later today! | 22:01 |
+perlDreamer | is your test box back up? | 22:02 |
-!- topsub [n=topsub20@97.66.185.250] has quit [] | 22:04 | |
@preaction | not yet. hopefully i'll have some time this weekend to poke it with a sharp object | 22:04 |
+perlDreamer | Did you find a renter for your extra room? | 22:08 |
@preaction | yeah, 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 #webgui | 22:32 | |
-!- mode/#webgui [+v MrHairgrease] by ChanServ | 22:32 | |
-!- dionak [n=diona@97.66.185.250] has quit [] | 22:49 | |
-!- dionak [n=diona@97.66.185.250] has joined #webgui | 22:50 | |
+MrHairgrease | arrggggghhh | 22:58 |
+MrHairgrease | why is the cart complaining that it needs an amount? | 22:58 |
+perlDreamer | whazzup, MrHairgrease? | 22:58 |
+MrHairgrease | now the cart breaks while it did work this afternoon | 22:58 |
* MrHairgrease is chceking | 22:58 | |
@rizen | did you do an update? | 22:58 |
@rizen | maybe it's something i did | 22:58 |
+MrHairgrease | ok, that message is coming from formatCurrency | 22:58 |
+perlDreamer | good idea | 22:58 |
+perlDreamer | let's blame it on JT | 22:58 |
+MrHairgrease | I used a shipping address in the netherlands... | 22:59 |
+MrHairgrease | so that might be causing it | 22:59 |
+MrHairgrease | let me check | 22:59 |
+MrHairgrease | can i empty the cart y running its tests? | 22:59 |
@rizen | i wouldn't think so | 23:00 |
+MrHairgrease | no | 23:00 |
+MrHairgrease | i trie it | 23:00 |
+MrHairgrease | tried* | 23:00 |
+MrHairgrease | ok | 23:00 |
+MrHairgrease | resetting | 23:00 |
@rizen | you should try to find the bug | 23:00 |
@rizen | perhaps you found a corner case | 23:00 |
@rizen | that we need to test for | 23:01 |
+MrHairgrease | that's why I'm about to try it with an US address | 23:01 |
+perlDreamer | brb | 23:01 |
+MrHairgrease | but with my current db the cart will not even show | 23:01 |
+MrHairgrease | hold on | 23:01 |
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has quit ["Download Gaim: http://gaim.sourceforge.net/"] | 23:02 | |
+MrHairgrease | ok | 23:03 |
+MrHairgrease | it works when i'm using an US address | 23:03 |
+MrHairgrease | now trying again for an address outside the states | 23:04 |
+MrHairgrease | let's say iraq =) | 23:04 |
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has joined #webgui | 23:04 | |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 23:04 | |
-!- crythias [n=gyoung@fl-69-68-148-96.sta.embarqhsd.net] has joined #webgui | 23:04 | |
-!- mode/#webgui [+v crythias] by ChanServ | 23:04 | |
+MrHairgrease | in that cxase we can blame it on saddam | 23:04 |
+perlDreamer | Blame it on the rain | 23:04 |
+perlDreamer | that was slowly falling | 23:04 |
-!- crythias [n=gyoung@fl-69-68-148-96.sta.embarqhsd.net] has left #webgui [] | 23:04 | |
+perlDreamer | whatever you do | 23:05 |
+perlDreamer | don't put the blame on you | 23:05 |
+MrHairgrease | hmm no iraq | 23:05 |
+MrHairgrease | using jamaioca instead | 23:05 |
+MrHairgrease | hmm that works.... | 23:05 |
+MrHairgrease | ok, back to the netherlands | 23:05 |
+MrHairgrease | it's still working... | 23:06 |
+MrHairgrease | weird | 23:06 |
+MrHairgrease | i hate those heisenbugs... | 23:06 |
+MrHairgrease | who | 23:09 |
+MrHairgrease | rizen, remember that reload thing i found | 23:09 |
+MrHairgrease | with admin on? | 23:09 |
@rizen | yes | 23:10 |
+MrHairgrease | it's happening in the address book too | 23:10 |
+MrHairgrease | can you try to reproduce? | 23:10 |
@rizen | sure, just give me a second to get back into a working state | 23:10 |
+MrHairgrease | ok | 23:10 |
+MrHairgrease | i'll just start giving you reproduce instructions: | 23:11 |
+MrHairgrease | 1. make sure admin is on | 23:12 |
+MrHairgrease | 2. goto site.com?shop=address;method=view | 23:12 |
+MrHairgrease | 3. add an address | 23:12 |
@rizen | done | 23:12 |
+MrHairgrease | Now you see only one address added, but actually there are two added already | 23:12 |
@rizen | now what? | 23:13 |
@rizen | so if i "use this address" | 23:13 |
+MrHairgrease | now goto site?shop=address;method=view | 23:13 |
@rizen | and then go ack | 23:13 |
+MrHairgrease | again | 23:13 |
@rizen | i only see 1 address | 23:13 |
@rizen | let me try in firefox...i'm using safari | 23:13 |
+MrHairgrease | I've see this thing happening in three places now: when adding a thread in the cs with admin on | 23:14 |
+MrHairgrease | some custom app | 23:14 |
+MrHairgrease | and now this | 23:14 |
+MrHairgrease | let me try onqueror | 23:14 |
@rizen | same in safari | 23:14 |
@rizen | i mean same in firefox | 23:15 |
@rizen | i used safari 3.1 and firefox 2.0.0.12 | 23:15 |
@rizen | both on mac | 23:15 |
+MrHairgrease | hmmm | 23:16 |
+MrHairgrease | it's not happening in konqueror | 23:16 |
+MrHairgrease | it must be my browser then... | 23:16 |
@rizen | indeed | 23:16 |
+MrHairgrease | let me try again | 23:16 |
+MrHairgrease | too weird... | 23:17 |
+MrHairgrease | do you have any plugins running in your firefox? | 23:17 |
+perlDreamer | rizen: the new yui works great in my old mozilla browser | 23:18 |
@rizen | pd: that's great news | 23:19 |
@rizen | finally | 23:19 |
@rizen | ! | 23:19 |
@rizen | i have firebug, but it's disabled | 23:19 |
+MrHairgrease | i have firebug and webdeveloper toolbar | 23:19 |
+MrHairgrease | but i cannot find where i can disabel them... | 23:19 |
BartJol | firebug tools-> firebug-> disable firebug | 23:20 |
@rizen | firebug has a thing right in it to disable it | 23:20 |
@rizen | yeah | 23:20 |
+MrHairgrease | yeah ok | 23:20 |
+MrHairgrease | but the other | 23:20 |
+MrHairgrease | there must be some list with installed plugins right? | 23:21 |
@rizen | the other if you go to your add on manager | 23:21 |
@rizen | it should have a disable button | 23:21 |
+MrHairgrease | ok checking w/o firebug | 23:21 |
BartJol | maybe an IE view function too? | 23:21 |
+MrHairgrease | woohoo | 23:22 |
+MrHairgrease | without firebug it doesn't happen | 23:22 |
+MrHairgrease | still strange since it only happens in admin mode | 23:22 |
+MrHairgrease | not perse due to the admin bar | 23:22 |
+MrHairgrease | could you try with firebug on to be sure it's that? | 23:27 |
+MrHairgrease | is webgui pushing stuff into extraHeadTags when admin is on? | 23:30 |
+MrHairgrease | rizen: 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 |
+MrHairgrease | so that would set up shop=pay, method=do, do=METHOD and paymentGatewayId=$self->getId | 23:48 |
@rizen | sure | 23:48 |
+MrHairgrease | any idea for a name? | 23:48 |
@rizen | that would certainly make creating links easier | 23:48 |
@rizen | formatUrl | 23:49 |
+MrHairgrease | i meant it more for post requests, so it would generate a number hidden input tags | 23:50 |
@rizen | oh | 23:50 |
@rizen | if you want, go ahead | 23:50 |
@rizen | i don't know a good name for that | 23:50 |
-!- perlmonkey2 [n=kmurphy@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."] | 23:51 | |
+MrHairgrease | i guess you can feed formatUrl to formHeader... | 23:51 |
@rizen | but you said you hated that | 23:51 |
@rizen | and it was a hack | 23:51 |
+perlDreamer | don't the operations have an admin console type method which does that kind of magic? | 23:51 |
+MrHairgrease | that's true | 23:51 |
+perlDreamer | I can't believe nobody picked up on that corny Milli Vanilli quote I said earlier | 23:52 |
+perlDreamer | You guys are young! | 23:52 |
@rizen | i never listened to milli vanilli | 23:53 |
BartJol | I just ignored MV | 23:54 |
* MrHairgrease only mv's to /dev/null | 23:55 | |
+MrHairgrease | is there a way to get the origin for exceptions in the logs too? | 23:56 |
+MrHairgrease | now i get stuff like: | 23:56 |
+MrHairgrease | 2008/03/20 22:53:44 - ERROR - dev.localhost.localdomain.conf - main::[[undef]] - must have a form var called driver with a payment gateway id | 23:56 |
+MrHairgrease | but that doesn't tell me what screws up | 23:57 |
+perlDreamer | it's due to stringification of exceptions | 23:57 |
--- Day changed Fri Mar 21 2008 | ||
+MrHairgrease | pd: meaning? | 00:02 |
+MrHairgrease | i know what stingifictaion is btw | 00:02 |
+MrHairgrease | but not why it hides where the exception was thrown | 00:03 |
+MrHairgrease | rizen: so now I want to pay with my cash module | 00:03 |
+MrHairgrease | i have a www_ method for that in Cash.pm | 00:03 |
+perlDreamer | the exceptions stringify to their error field only, and hide the old caller and stack info that we used to get | 00:03 |
+MrHairgrease | but how do i tell webgui i'm ready | 00:03 |
@rizen | ready to pay? | 00:03 |
+MrHairgrease | that the transaction is finished so to say | 00:04 |
+MrHairgrease | or pending | 00:04 |
@rizen | oh | 00:04 |
+MrHairgrease | or whatever... | 00:04 |
@rizen | to finish a transaction you call | 00:04 |
@rizen | $transaction->completePurchase | 00:04 |
@rizen | or $transaction->denyPurchase | 00:04 |
+MrHairgrease | sure | 00:04 |
+MrHairgrease | i found that | 00:04 |
@rizen | oh | 00:04 |
@rizen | the steps work like this | 00:04 |
+MrHairgrease | but how do i get the transaction for the current cart? | 00:04 |
@rizen | i'm telling you | 00:05 |
@rizen | 1) user hits checkout | 00:05 |
@rizen | 2) sees list of payment gateways | 00:05 |
@rizen | 3) chooses a gateway | 00:05 |
@rizen | 4) display gateway payment screen (credit card info, address, etc) | 00:05 |
@rizen | 5) submits that | 00:05 |
@rizen | 5.1) create transaction | 00:06 |
@rizen | 5.2) stuff cart into transaction using $t->update | 00:06 |
@rizen | 5.3) stuff payment info into transaction using $t->update | 00:06 |
@rizen | 5.4) process payment if any (obviously skip this step on cash module) | 00:06 |
@rizen | 5.5) if successful call $t->completePurchase | 00:07 |
@rizen | 5.6) if failed calle $t->denyPurchase | 00:07 |
@rizen | 6) display error screen or thank you screen to user | 00:07 |
@rizen | go it? | 00:07 |
+MrHairgrease | aha | 00:07 |
+MrHairgrease | ok ggreat | 00:07 |
+MrHairgrease | yeah got it | 00:07 |
+MrHairgrease | thanks | 00:08 |
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui | 00:13 | |
-!- perlmonkey2 [n=kmurphy@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui | 00: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 | |
+MrHairgrease | ok commerce people | 00:51 |
+MrHairgrease | with all the weird bugs/typo's/apache::reload/firbug crap out of the way things are finally looking better | 00:52 |
+MrHairgrease | tomorrow 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 | |
+MrHairgrease | in other words: basically the steps rizen just pasted plus the cash plugin | 00:53 |
+MrHairgrease | it'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 | |
+perlDreamer | Are 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 #webgui | 02:12 | |
Dadok | Hey guys! | 02:12 |
@preaction | hi | 02:25 |
Dadok | quick 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 #webgui | 02:32 | |
Dadok2 | oye, sorry got disconnected | 02:32 |
@apeiron | Dadok2, perldoc -f shift | 02:32 |
@apeiron | Dadok2, Also, | 02:32 |
@apeiron | perlbot, bp | 02:32 |
perlbot | http://www.perl.org/books/beginning-perl/ | 02:32 |
Dadok2 | thanks :) | 02:32 |
@apeiron | Dadok2, 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 |
@apeiron | text, rather | 02:33 |
Dadok2 | ahhhh, defaults to @_. that's why it didnt make any sense, haha | 02:34 |
@apeiron | Dadok2, Do you know any perl? | 02:35 |
Dadok2 | mmm, not really, but i know a fair amount of other languages, figured i could pick it up easily | 02:37 |
@preaction | perlbot learning perl | 02:38 |
perlbot | "Learning Perl", the Llama Book - http://www.oreilly.com/catalog/learnperl4/; see also <tutorial> | 02:38 |
@apeiron | I'd strongly recommend going through either Beginning Perl or Learning Perl first. | 02:38 |
@preaction | Learning Perl is for those who know how to program and want to learn Perl | 02:38 |
@preaction | Beginning Perl is for those who want to learn how to program using Perl | 02:39 |
@apeiron | BP is also free, by the way. | 02:39 |
@apeiron | And I would advise against learning programming exclusively by trial and error. | 02:39 |
Dadok2 | true, i probably should actually commit some time to learning perl | 02:40 |
@apeiron | I 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 |
Dadok2 | i 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 syntax | 02:42 |
@apeiron | Depends upon what you want to do. | 02:43 |
Dadok2 | and isnt that half of what perl is? | 02:43 |
@apeiron | er... no. | 02:43 |
Dadok2 | :P | 02:43 |
@preaction | you don't need to know perl to use webgui, but you will need to know perl and especially Perl OO in order to program WebGUI | 02:43 |
Dadok2 | yeah | 02:44 |
-!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui | 02:44 | |
Dadok2 | but 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 need | 02:45 |
@apeiron | Three 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 |
Dadok2 | alright. well thank you for the advice! i will definitely brush up on my perl knowledge | 02:47 |
Dadok2 | i had a quick WebGUI question if you dont mind? | 02:47 |
@apeiron | Dadok2, Also, as you're learning perl and since you have experience in some other language or another, I'd read perldoc perltrap | 02:47 |
@apeiron | Go ahead. | 02:47 |
-!- Dadok [n=tickitim@108.178.dsl.syd.iprimus.net.au] has quit [Read error: 110 (Connection timed out)] | 02:50 | |
Dadok2 | Alright. 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 datab | 02:51 |
Dadok2 | does that seem like a logical way to do this? or am i going down a completely wrong path? | 02:51 |
@preaction | all collab systems expose an RSS feed. grab that RSS feed using a syndicated content asset | 02:51 |
@preaction | sounds better than doing any actual work | 02:51 |
Dadok2 | oh, good call | 02:51 |
Dadok2 | that's why i asked! thanks a lot :) | 02:54 |
@preaction | Dadok2, the books available from Plain Black explain all about the things available in WebGUI | 02:55 |
-!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has quit [] | 02:57 | |
Dadok2 | yeah im pending approval to purchase one of those | 02:59 |
-!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui | 03: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 used | 03: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 great | 03:49 |
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)] | 03:55 | |
CIA-22 | WebGUI: doug * r5873 /WebGUI/ (31 files in 18 dirs): (log message trimmed) | 04:14 |
CIA-22 | WebGUI: - moved Gallery utility methods to WebGUI::Utility::Gallery | 04:14 |
CIA-22 | WebGUI: - Added tests for GalleryAlbum RSS | 04:14 |
CIA-22 | WebGUI: - More tests for comments | 04:14 |
CIA-22 | WebGUI: - Test International Macro sprintf as third+ arguments | 04:14 |
CIA-22 | WebGUI: - Add Gallery search limiting by user ID | 04:14 |
CIA-22 | WebGUI: - Remaining i18n for Gallery templates | 04:14 |
CIA-22 | WebGUI: jt * r5874 /branch/WebGUI_Commerce/ (6 files in 3 dirs): added token and ribbon skus | 04:14 |
CIA-22 | WebGUI: graham * r5875 /WebGUI/ (docs/changelog/7.x.x.txt lib/WebGUI/Asset/Wobject/Matrix.pm): | 04:14 |
CIA-22 | WebGUI: fixed: Editting matrix listings shows fields from other matrix assets | 04:14 |
CIA-22 | WebGUI: fixed: Matrix assets show pending listings from all matrix assets on a site | 04:14 |
CIA-22 | WebGUI: 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 name | 04:14 |
CIA-22 | WebGUI: graham * r5877 /WebGUI/ (3 files in 2 dirs): fixed: Importing a package can break when updating a pending asset | 04:14 |
CIA-22 | WebGUI: graham * r5878 /WebGUI/ (4 files in 3 dirs): fixed: errors on package importing are always reported as corrupted packages | 04:14 |
CIA-22 | WebGUI: jt * r5879 /branch/WebGUI_Commerce/ (8 files in 4 dirs): | 04:14 |
CIA-22 | WebGUI: added more documentation to sku types | 04:15 |
CIA-22 | WebGUI: continuing to migrate EMS to C2 | 04:15 |
Dadok2 | Oh good ideas Radix! Thank you :) | 04:16 |
Dadok2 | Right 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 |
Dadok2 | hold on, might be my workflow commit aproval | 04:24 |
Dadok2 | yeah, got it | 04: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 #webgui | 04:50 | |
CIA-22 | WebGUI: jt * r5880 /branch/WebGUI_Commerce/lib/WebGUI/Asset/ (Sku/EMSBadge.pm Wobject/EventManagementSystem.pm): started creating new badge view interface | 05:04 |
-!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui | 05: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 #WEBGUI | 05:50 | |
-!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui | 05:51 | |
elnino | hi. | 05:54 |
elnino | I 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 359 | 05:56 |
elnino | what can I look at so that I may purge these files? | 05:56 |
elnino | Looking 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 |
elnino | ok. new question: | 06:14 |
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui | 06:14 | |
-!- mode/#webgui [+o preaction] by ChanServ | 06:14 | |
elnino | what 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 #webgui | 06:20 | |
-!- mode/#webgui [+v Radix_] by ChanServ | 06: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 #webgui | 07:08 | |
-!- mode/#webgui [+o Haarg] by ChanServ | 07:09 | |
elnino | hi. 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 | |
Dadok2 | is there a search macro? | 09:19 |
Dadok2 | i saw ^? mentioned once, but i cant seem to find it | 09:19 |
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui | 09:46 | |
-!- ryuu_ro [n=rory@194.171.50.69] has joined #webgui | 11:50 | |
Dadok2 | anyone there? | 13:15 |
-!- lrobinson [n=luke@lrobinson2.vm.bytemark.co.uk] has joined #webgui | 13: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 #webgui | 14: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 #webgui | 14:47 | |
-!- mode/#webgui [+o Haarg] by ChanServ | 14: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 #webgui | 15:03 | |
-!- Dadok [n=tickitim@108.178.dsl.syd.iprimus.net.au] has quit [] | 15:18 | |
-!- topsub [n=topsub20@97.66.185.250] has joined #webgui | 15:28 | |
-!- wgGuest10 [n=wgGuest1@adsl190-28-250-154.epm.net.co] has joined #webgui | 16: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 #webgui | 16:28 | |
wgGuest85 | hello | 16:29 |
wgGuest85 | can i execute shell commands on a macro? | 16:29 |
@apeiron | perlbot, tias | 16:30 |
perlbot | Try It And See: the best way to learn if something works. | 16:30 |
@apeiron | wgGuest85, Yes, you can, but the command will run as the user running the httpd process. | 16:30 |
wgGuest85 | apeiron, i need to use an special library because i was trying using some cpan modules like Proc::Reliable | 16:33 |
wgGuest85 | but i obtain always some errors | 16:33 |
@apeiron | wgGuest85, Those being...? | 16:34 |
@rizen | There is an Execute macro that ships with WebGUI, but is disabled by default | 16:35 |
@rizen | add it to your config and it will run any command you wish and put the output on your site | 16:35 |
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui | 16:37 | |
wgGuest85 | rizen, thanks i am going to check that macro | 16:37 |
lrobinson | is 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 no | 17:00 | |
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui | 17:44 | |
-!- mode/#webgui [+o preaction] by ChanServ | 17: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 #webgui | 18:09 | |
-!- mode/#webgui [+o preaction] by ChanServ | 18: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 #webgui | 18:19 | |
-!- mode/#webgui [+v Radix_] by ChanServ | 18:19 | |
-!- ryuu_ro [n=rory@194.171.50.69] has quit [] | 18:20 | |
-!- dionak [n=diona@97.66.185.250] has joined #webgui | 19:10 | |
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has joined #webgui | 19:13 | |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 19: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 #webgui | 20:07 | |
topsub | Does anyone know if processPropertiesFromFormPost processes File uploads? | 20:29 |
+perlDreamer | I think that preaction made some changes in 7.5 so that it will | 20:35 |
+perlDreamer | but in 7.4, it won't | 20:35 |
@preaction | uh... it processes all the properties in the definition, which includes any File types | 20:35 |
@preaction | it's always done that | 20:36 |
+perlDreamer | I thought that storage locations had to be manually processed. | 20:36 |
@preaction | if you want to re-use the same storage location, you'll need to do it yourself | 20:36 |
topsub | hmm brb | 20: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 #webgui | 20:58 | |
wgGuest26 | hello | 20:58 |
@preaction | hello | 21:00 |
wgGuest26 | if 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 |
wgGuest26 | or could i create my own script using some of this functions? | 21:02 |
@preaction | probably both. though i wouldn't use any of the DataForm code, it's a product of the old way of doing things | 21:09 |
wgGuest26 | so. the dataform probably will disappear | 21:11 |
@preaction | i 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 |
wgGuest26 | in my case, i could do my own upload script to perfom the thing that i want | 21:15 |
wgGuest26 | instead of using some dataform code | 21: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 #webgui | 22:43 | |
-!- mode/#webgui [+o preaction] by ChanServ | 22: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 #webgui | 23:02 | |
-!- dionak [n=diona@97.66.185.250] has joined #webgui | 23: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 #webgui | 23:50 | |
-!- mode/#webgui [+o apeiron] by ChanServ | 23: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 #webgui | 00:31 | |
-!- dionak [n=diona@97.66.185.250] has quit [Client Quit] | 00:34 | |
-!- dionak [n=diona@97.66.185.250] has joined #webgui | 00: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 #webgui | 01:10 | |
-!- mode/#webgui [+o apeiron] by ChanServ | 01: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 #webgui | 03:25 | |
Dadok | hey 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 API | 03:26 |
CIA-22 | WebGUI: graham * r5881 /WebGUI/ (2 files in 2 dirs): fixed: Optional pubDate RSS field generates warnings when missing | 04:07 |
CIA-22 | WebGUI: 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 replies | 04:07 |
CIA-22 | WebGUI: jt * r5883 /branch/WebGUI_Commerce/ (5 files in 4 dirs): | 04:07 |
CIA-22 | WebGUI: ems badge listing now works and you can add badges | 04:07 |
CIA-22 | WebGUI: made address book address selector use callbacks so that it can be used by things other than shipping | 04:07 |
CIA-22 | WebGUI: jt * r5884 /branch/WebGUI_Commerce/ (8 files in 5 dirs): can now add a badge to your cart | 04:07 |
CIA-22 | WebGUI: yung * r5885 /WebGUI/ (5 files in 3 dirs): Added hover help in Thingy's yui popups. | 04:07 |
Dadok | hey, 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 #webgui | 05:48 | |
-!- mode/#webgui [+o preaction] by ChanServ | 05:49 | |
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI | 05:53 | |
-!- apeiron_ [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui | 08:28 | |
-!- mode/#webgui [+o apeiron_] by ChanServ | 08: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 apeiron | 08: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 #webgui | 11:50 | |
-!- mode/#webgui [+o preaction] by ChanServ | 11: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 #webgui | 18:22 | |
-!- mode/#webgui [+v Radix_] by ChanServ | 18:22 | |
-!- BartJol [n=plainstu@52-167.surfsnel.dsl.internl.net] has joined #webgui | 19:34 | |
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui | 20:29 | |
-!- mode/#webgui [+o preaction] by ChanServ | 20:29 | |
-!- khenn [n=khenn@24-159-239-186.dhcp.mdsn.wi.charter.com] has joined #WebGUI | 20:50 | |
-!- mode/#webgui [+o khenn] by ChanServ | 20: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 #webgui | 23: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 #webgui | 00:01 | |
-!- mode/#webgui [+o preaction] by ChanServ | 00:01 | |
CIA-22 | WebGUI: jt * r5886 /branch/WebGUI_Commerce/lib/WebGUI/ (8 files in 4 dirs): you can add tokens and ribbons now | 00: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 #webgui | 05:40 | |
-!- mode/#webgui [+o apeiron] by ChanServ | 05: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 #webgui | 11:36 | |
-!- mode/#webgui [+o apeiron_] by ChanServ | 11: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 apeiron | 11:37 | |
-!- apeiron_ [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui | 11:58 | |
-!- mode/#webgui [+o apeiron_] by ChanServ | 11:58 | |
-!- apeiron__ [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui | 12: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 apeiron | 12:15 | |
-!- mode/#webgui [+o apeiron] by ChanServ | 12: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 #webgui | 15:47 | |
CIA-22 | WebGUI: jt * r5887 /branch/WebGUI_Commerce/ (2 files in 2 dirs): fleshed out the badge display | 17:43 |
-!- khenn [n=khenn@24-159-239-186.dhcp.mdsn.wi.charter.com] has joined #WebGUI | 17:48 | |
-!- mode/#webgui [+o khenn] by ChanServ | 17: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 #webgui | 21:43 | |
-!- perlDreamer [n=colink@pool-71-117-250-89.ptldor.fios.verizon.net] has joined #webgui | 21:50 | |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 21:50 | |
+perlDreamer | I need help with some JS YUI for C2. Anybody home? | 22:26 |
CIA-22 | WebGUI: colin * r5888 /branch/WebGUI_Commerce/lib/WebGUI/Shop/Admin.pm: put in correct method for Taxes | 23:18 |
CIA-22 | WebGUI: colin * r5889 /branch/WebGUI_Commerce/lib/WebGUI/ (i18n/English/Tax.pm Shop/Tax.pm): | 23:18 |
CIA-22 | WebGUI: Add a column for the tax rate (duh) and the taxId. The taxId will | 23:18 |
CIA-22 | WebGUI: eventually be replaced with an icon for deleting tax info. | 23:18 |
CIA-22 | WebGUI: Change the comment character in the JS. | 23:18 |
CIA-22 | WebGUI: Return the generated output inside of an admin console. | 23:18 |
CIA-22 | WebGUI: colin * r5890 /branch/WebGUI_Commerce/t/Shop/loadTaxes.pl: add a script to dump in the 2008 California state tax table | 23:18 |
CIA-22 | WebGUI: 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-22 | WebGUI: colin * r5892 /branch/WebGUI_Commerce/lib/WebGUI/Shop/Tax.pm: fix a few small typos, manage still not managing | 02:59 |
-!- Blackmagic [n=lawrence@221.120.97.12] has joined #webgui | 05:49 | |
-!- Blackmagic [n=lawrence@221.120.97.12] has left #webgui [] | 05:50 | |
-!- Dark [n=lawrence@221.120.97.12] has joined #webgui | 05: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 #webgui | 08:25 | |
Dadok | hey guys, the gateway URL macro is giving me some weird results | 08:31 |
Dadok | : | 08:31 |
Dadok | http://polotest.net/%5E(/home/news); | 08:31 |
Dadok | and http://polotest.net/%5E(/home); | 08:32 |
Dadok | is the URL i'm getting returned.... | 08:32 |
Dadok | ignore that | 08:34 |
Dadok | anyone know if they've made it possible to resize a search box yet? | 10:35 |
Dadok | hey anyone there? | 11:53 |
CIA-22 | WebGUI: graham * r5893 /WebGUI/ (3 files in 2 dirs): fixed: Able to cut or trash system assets | 12:04 |
CIA-22 | WebGUI: graham * r5894 /WebGUI/ (docs/changelog/7.x.x.txt lib/WebGUI/AssetTrash.pm): fixed: Can't purge uncommitted assets if not using its version tag | 12:04 |
CIA-22 | WebGUI: graham * r5895 /WebGUI/lib/WebGUI/Form/List.pm: displayValue for list should show values instead of keys | 12:04 |
CIA-22 | WebGUI: graham * r5896 /WebGUI/ (2 files in 2 dirs): fixed: DataForm will create fields with duplicate names but doesn't use them separately | 12:04 |
CIA-22 | WebGUI: graham * r5897 /WebGUI/ (2 files in 2 dirs): fixed: Bad message if database link for SQL Report doesn't exist | 12:04 |
-!- SynQ [n=koen@e97024.upc-e.chello.nl] has joined #WebGUI | 12:09 | |
SynQ | morning | 12:09 |
SynQ | snow in the netherlands | 12:09 |
SynQ | I'm going to do the 'upgrade dance' | 12:18 |
SynQ | all the way from 5.5.4 :) | 12:19 |
SynQ | now ain't that nice | 12: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 #webgui | 14:06 | |
-!- topsub [n=topsub20@97.66.185.250] has joined #webgui | 15:15 | |
perlmonkey2 | Looking 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 #WebGUI | 15:41 | |
SDuensin | Morning. | 15:43 |
perlmonkey2 | good morning | 15:44 |
-!- topsub [n=topsub20@97.66.185.250] has quit [] | 15:45 | |
perlmonkey2 | SDuensin: 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 |
SDuensin | Huh? | 15:53 |
perlmonkey2 | I 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 | |
perlmonkey2 | but you know webgui...surely you have some ideas on its philosophy :) | 15:53 |
SDuensin | Don'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 | |
perlmonkey2 | SDuensin: 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 #webgui | 16:14 | |
-!- mode/#webgui [+o Haarg] by ChanServ | 16:14 | |
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui | 16:18 | |
-!- mode/#webgui [+o preaction] by ChanServ | 16:18 | |
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui | 16:28 | |
-!- mode/#webgui [+o apeiron] by ChanServ | 16: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 #webgui | 16:28 | |
-!- mode/#webgui [+o apeiron] by ChanServ | 16:28 | |
CIA-22 | WebGUI: yung * r5898 WebGUI/lib/WebGUI/Asset/Wobject/Thingy.pm: fix: Thingy shows things from other Thingies | 16:40 |
CIA-22 | WebGUI: yung * r5899 WebGUI/docs/changelog/7.x.x.txt: updating changelog | 16:40 |
-!- wgGuest34 [n=wgGuest3@97.66.185.250] has joined #webgui | 16:54 | |
-!- wgGuest34 [n=wgGuest3@97.66.185.250] has quit [Remote closed the connection] | 16:54 | |
CIA-22 | WebGUI: doug * r5900 /branch/WebGUI_7.4/ (2 files in 2 dirs): fix: Calendar ical URL adds extraneous baloney | 17:00 |
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui | 17:04 | |
-!- mode/#webgui [+o rizen] by ChanServ | 17:04 | |
@rizen | preaction, khenn, anybody else that wants to chime in, need an opinion | 17:22 |
@rizen | when a transaction successfully completes | 17:23 |
@rizen | should the transaction layer send out an email to each the buyer and the seller | 17:23 |
@rizen | or should i make each payment module do it individually | 17:23 |
@rizen | i'm thinking the transaction layer should handle it, so that it's always done in a uniform fashion | 17:23 |
@rizen | the email being the receipt of the transaction | 17:24 |
@khenn | hmm | 17:25 |
@preaction | you're anticipating the Auction asset? | 17:29 |
@rizen | no, would that affect it in some whay? | 17:29 |
@rizen | s/whay/way/ | 17:29 |
@preaction | no, you just mentioned both buyer and seller | 17:30 |
@preaction | but i suppose if you're selling products you might want email notification of new orders | 17:30 |
@preaction | but, if it were an Auction, you might need a way to override the "seller". | 17:31 |
@preaction | i think transaction level should work fine | 17:31 |
@preaction | they can always disable it if necessary | 17:31 |
perlmonkey2 | I'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 |
perlmonkey2 | CC validation systems I've used have been near instantaneous, so I've never needed two emails, but perhaps some systems do? | 17:32 |
@rizen | seller being the merchant operating the site | 17:32 |
@rizen | i think that an auction system would also send out other emails for things like "you won your item" | 17:32 |
@rizen | and "auction has been completed with or without a buyer" | 17:32 |
@rizen | and so forth | 17:32 |
@rizen | pm2, this one will be instantaneous | 17:33 |
@rizen | there are some systems that process transactions in batch | 17:33 |
@rizen | but to do that you have to store the credit card info | 17:33 |
@rizen | which we're definitely not going to do | 17:33 |
perlmonkey2 | yeah 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 #webgui | 17:35 | |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 17:35 | |
perlmonkey2 | Is there payment module specific information needed in the email? | 17:37 |
perlmonkey2 | like 'you won this auction'? | 17:37 |
perlmonkey2 | some payment modules might have different information in their confirmations? | 17:38 |
@khenn | I'm of the opinion that the payment module should do it | 17:39 |
@khenn | I think | 17:39 |
@khenn | if it's in the payment module can it be overridden? | 17:39 |
@rizen | i can have the main payment module do it | 17:48 |
@rizen | and then override it in each subclass | 17:48 |
@rizen | i can't imagine what need the payment module might have for overriding it...but that's probably the point | 17:49 |
@rizen | it's the thing i can't imagine | 17:49 |
+perlDreamer | rizen: you up for a little YUIing? | 17:50 |
@rizen | yup | 17:51 |
@rizen | did you verify that your json is created correctly? | 17:51 |
@rizen | it has all the fields it needs, and that the fields are numbers when they need to be? | 17:51 |
+perlDreamer | Yes, but it's worth another check | 17:51 |
@rizen | feel free to put the output in a paste bin if you want me to look | 17:51 |
+perlDreamer | stringy numbers | 17:58 |
@rizen | so did it fix the problem by fixing stringy numbers? | 17:59 |
+perlDreamer | I fixed the stringy numbers, but I'm still getting the problem | 18:00 |
+perlDreamer | http://webgui.pastebin.com/m17603c02 | 18:00 |
+perlDreamer | there's the JSON | 18:00 |
@rizen | oh. | 18:00 |
+perlDreamer | new JSON | 18:00 |
@rizen | if you have no data in the records | 18:00 |
@rizen | it will say data error | 18:00 |
@rizen | which is kind of lame | 18:00 |
@rizen | but that's what it does | 18:00 |
+perlDreamer | I don't remember getting that from the Transactions, but I'll pump in some data and try again | 18:00 |
@rizen | i just built 4 more of these over the weekend, so i'm becoming intimately familiar with datatable nuances | 18:01 |
@rizen | the ems is using the data table extensively in it's new UI | 18:01 |
+perlDreamer | DBK is stringifying the taxRate now. | 18:03 |
+perlDreamer | DBI | 18:03 |
+perlDreamer | maybe having a WebGUI::SQL driver for this won't work after all | 18:04 |
@rizen | you mean a DBI method? | 18:09 |
@rizen | or a WebGUI::SQL method i should say | 18:09 |
+perlDreamer | Yes. | 18:10 |
@rizen | yeah, i couldn't use it in the EMS | 18:10 |
@rizen | because there i was querying assets | 18:10 |
@rizen | so i wanted to use getLineage | 18:10 |
@rizen | it may be just one of those things | 18:10 |
@rizen | where you start with a little copy paste | 18:11 |
@rizen | and then modify | 18:11 |
@rizen | because there's so much little crap that is inconsistent | 18:11 |
+perlDreamer | It's javascript. It looks like a number. Use it! | 18:11 |
+perlDreamer | I'll get rid of the method and revert Tax and Transaction to what they were before. | 18:14 |
@rizen | r u going to keep the search utility method or get rid of that too? | 18:15 |
@rizen | i couldn't use that either | 18:15 |
+perlDreamer | I'd like to keep that, too | 18:15 |
+perlDreamer | why not? | 18:15 |
@rizen | i mean in ems | 18:15 |
@rizen | cuz i'm searching asset | 18:15 |
@rizen | s | 18:15 |
@rizen | so there's already a WebGUI::Search api for that | 18:15 |
+perlDreamer | well, if it's not generally useful, we should get rid of it, too | 18:16 |
@rizen | it's useful in tax and transactions | 18:16 |
@rizen | and will probably be useful in other stuff too | 18:16 |
@rizen | but it's really not saving that much code | 18:16 |
@rizen | maybe 1 line | 18:17 |
@rizen | or 2 | 18:17 |
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has joined #webgui | 18:24 | |
-!- mode/#webgui [+v MrHairgrease] by ChanServ | 18:24 | |
+MrHairgrease | rizen, how do i include templates in the commerce branch | 18:24 |
+MrHairgrease | should I put them in the import node > shop fodler | 18:24 |
+MrHairgrease | and then export that as a package? | 18:25 |
@rizen | sounds good to me | 18:26 |
@rizen | that's what i've been doing | 18:26 |
+MrHairgrease | i should replace the shopping-cart-collateral-items-1.wgpkg package with the new one? | 18:27 |
@rizen | yes | 18:29 |
+MrHairgrease | ok | 18:29 |
+perlDreamer | rizen: http://webgui.pastebin.com/m673a6b3e | 18:29 |
+perlDreamer | will it complain about ""? | 18:32 |
@rizen | no | 18:33 |
@rizen | that's fine | 18:33 |
@rizen | r u still getting "Data Error" then? | 18:33 |
+perlDreamer | yes | 18:33 |
@rizen | check in your code | 18:33 |
@rizen | and i'll take a look | 18:33 |
+perlDreamer | it's in | 18:34 |
+perlDreamer | and that new pastebin is the JSON it makes | 18:34 |
@rizen | have you looked at the resulting javascript | 18:42 |
@rizen | to ensure that your various sprintfs are working as planned? | 18:42 |
@rizen | also, are you doing this in a mozilla browser? | 18:42 |
@rizen | if so, did you look at the javascript console to see if it's reporting any errors? | 18:42 |
@rizen | on last thing | 18:43 |
@rizen | you aren't loading the javascripts in the right order | 18:43 |
@rizen | the order i have them in in the transaction stuff is the order they must be loaded | 18:43 |
@rizen | for example, datasource uses json | 18:44 |
@rizen | but you have json loading after datasource | 18:44 |
@rizen | also, why are you loading yahoo-dom-event and element beta separately, rather than just using utility | 18:45 |
perlmonkey2 | Okay, 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 ses | 18:45 |
@rizen | if you can't get the post fields out | 18:46 |
@rizen | then they aren't being posted | 18:46 |
@rizen | simple as that | 18:46 |
CIA-22 | WebGUI: colin * r5901 /branch/WebGUI_Commerce/ (4 files in 3 dirs): Get rid of buildDataTableStructure. | 18:46 |
CIA-22 | WebGUI: colin * r5902 /branch/WebGUI_Commerce/lib/WebGUI/Shop/Tax.pm: numerify the taxRate for making JSON | 18:46 |
+perlDreamer | rizen: that's from one of the DataTable examples | 18:48 |
+perlDreamer | I'll try loading JSON first, before DataTable | 18:48 |
@rizen | interesting | 18:50 |
@rizen | i've had a bunch of problems with calling scripts out of order | 18:51 |
+perlDreamer | generated JS using sprintf looks fine | 18:51 |
+MrHairgrease | ok i commited my stuff | 18:51 |
+perlDreamer | scripts out of order | 18:51 |
+perlDreamer | now it works fine | 18:51 |
+perlDreamer | I so do not understand JS | 18:52 |
@rizen | javascript isn't forgiving of out of order execution | 18:52 |
@rizen | function has to be declared higher up in the script if it's going to be used | 18:53 |
@rizen | moduels have the be loaded in order of use | 18:53 |
@rizen | etc | 18:53 |
@rizen | perlmonkey2 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 correctly | 18:54 |
@apeiron | And be careful not to load things twice, and don't put commas at the ends of arrays / hashes. :) | 18:54 |
+perlDreamer | yeah, I knew about commas, but sheesh | 18:54 |
+perlDreamer | It's touchy | 18:54 |
@rizen | perlmonkey2: also have you tried using any of yui's debugging things like: http://developer.yahoo.com/yui/logger/ | 18:54 |
@apeiron | We're spoiled by perl. | 18:54 |
perlmonkey2 | rizen: 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 |
@rizen | you don't have to | 18:54 |
@rizen | just use the dialog outside of webgui too | 18:54 |
perlmonkey2 | rizen: yeah, in debug mode, the comm object isn't logging even the post. | 18:55 |
@rizen | oh | 18:55 |
@rizen | well that's a problem | 18:55 |
@rizen | going to lunch, bbl | 18:55 |
perlmonkey2 | rizen: but there is a post, or at least the WG method is being submitted to....oh well, I'll finger it out :P | 18:55 |
perlmonkey2 | lunch....wtf.....where do my days go! I need back these last 4 hours please. | 18:56 |
+perlDreamer | 4 hours. I just spent 2.25 days debugging a JS script because the support scripts were loaded in the wrong order. | 18:56 |
perlmonkey2 | I 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 |
perlmonkey2 | perlDreamer: oh man....my deepest sympathies.....that just sucks! | 18:57 |
perlmonkey2 | those are the errors that when you finally find them, just make you ill. | 18:57 |
+perlDreamer | I guess the best lessons are hardest learned. | 18:57 |
+MrHairgrease | rizen, when viewing the cart | 18:57 |
+MrHairgrease | the shipper is not stored in the cart | 18:58 |
CIA-22 | WebGUI: martin * r5903 branch/WebGUI_Commerce/ (9 files in 4 dirs): adding cash paydriver, paydriver management | 18:58 |
CIA-22 | WebGUI: martin * r5904 branch/WebGUI_Commerce/lib/WebGUI/Shop/PayDriver/Cash.pm: Put transactioon handling in the wrong place. | 18:58 |
+MrHairgrease | in the stuff i just committed i 'fixed' this by having www_update also process shipperId and coupoinId | 18:58 |
+MrHairgrease | but this means that you first have to click on update cart before you can check out | 18:59 |
+MrHairgrease | if you don't do that you run into an exception | 18:59 |
+perlDreamer | why in all the DataTable examples do they keep using "this.whatever"? | 19:05 |
CIA-22 | WebGUI: colin * r5905 /branch/WebGUI_Commerce/lib/WebGUI/Shop/Tax.pm: fix support library loading | 19:19 |
+MrHairgrease | rizen: is there a method like readyForCheckout in Cart.pm | 19:20 |
+MrHairgrease | I need something like that to build in checks in the PayDrivers | 19:21 |
CIA-22 | WebGUI: 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 |
@rizen | MrHairgrease, the checkout, continue shopping, and update buttons all do the update before they do whatever else they do | 19:38 |
@rizen | or at least they are supposed to | 19:38 |
-!- e-nforcer [n=opera@212.25.53.236] has joined #webgui | 19:38 | |
-!- e-nforcer [n=opera@212.25.53.236] has left #webgui [] | 19:39 | |
@rizen | MrHairgrease: no, why would there be? What purpose would readForCheckout serve? | 19:39 |
@rizen | perlDreamer: this.whatever is $self = this | 19:39 |
@rizen | this is the same as $self | 19:39 |
SynQ | laat maar | 19:43 |
SynQ | ik migreer alle 5.5.4 wel op een andere manier | 19:43 |
+MrHairgrease | rizen: I need to make sure we can even start with checkout which means the cart must have all its thingies set | 19:52 |
+MrHairgrease | like shipper is selected, cart has actual contents, shippingaddress is set | 19:52 |
+MrHairgrease | etc | 19:52 |
SynQ | hmm | 19:53 |
@rizen | that's what the checkout() method is supposed to do | 19:53 |
SynQ | hi there | 19:53 |
@rizen | www_checkout i mean | 19:53 |
@rizen | www_checkout makes sure you're logged in, that everything is filled out, etc | 19:54 |
@rizen | then displays the list of checkout options | 19:54 |
+MrHairgrease | oh | 19:54 |
+MrHairgrease | i see | 19:54 |
+MrHairgrease | ok | 19:54 |
+MrHairgrease | still you have to check at payment time too | 19:54 |
@rizen | why? | 19:55 |
+MrHairgrease | to prevent weird crap happening like reloads | 19:55 |
+MrHairgrease | remember this firbug reload thing | 19:55 |
+MrHairgrease | i caused me to get a gazillion transactions | 19:55 |
@rizen | i guess i'll have to take your word on it | 19:55 |
+MrHairgrease | most of which were actually empty | 19:55 |
+MrHairgrease | b/c the cart had been cleared already | 19:56 |
+MrHairgrease | now people can reload their pages | 19:56 |
+MrHairgrease | or do other stuff they;re not supposed too | 19:56 |
+MrHairgrease | so you wanna check | 19:56 |
+MrHairgrease | at least I guess I would | 19:56 |
@rizen | ok then, i guess you'll need to create some method that can be called at all those points then | 19:57 |
+MrHairgrease | ok | 19: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 #webgui | 20:23 | |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 20:23 | |
+perlDreamer | I have the power! | 20:23 |
SynQ | snap | 20:24 |
+perlDreamer | Actually, the reverse flow of electrons was returned to the house. | 20:24 |
@preaction | you're hooked up to DC? | 20:25 |
@preaction | is that another hippy, California thing? | 20:25 |
SynQ | time to cook | 20:26 |
SynQ | man, upgrading old webgui sites is addictive | 20:26 |
+perlDreamer | SynQ: Are there still just two people living in your house, or have you upgraded? | 20:26 |
SynQ | two people and a dog | 20:27 |
SynQ | nature cannot be coerced | 20:28 |
+perlDreamer | nor hastened | 20:28 |
CIA-22 | WebGUI: 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 #webgui | 20:35 | |
topsub | I 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 |
topsub | sadly i got it for windows perfect but ubuntu is giving me trouble | 20:37 |
@rizen | MrHairgrease: just checked in some code that sets up the interface for payment processing | 20:39 |
@rizen | see processPayment() and processTransaction() in PayDriver | 20:39 |
@rizen | topsub, if you're looking in docs/install.txt in the wre distribution you downloaded | 20:44 |
@rizen | then yes it should be up today | 20:44 |
@rizen | to date | 20:44 |
@rizen | if you're looking somewhere else, then i can't say for sure | 20:44 |
topsub | on the webgui wiki | 20:46 |
topsub | i 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/wre | 20:49 |
topsub | on windows in IRC and working on other computer | 20:49 |
@rizen | thats' cuz it's not a perl scrip | 20:50 |
@rizen | it's a shell script | 20:50 |
-!- wgGuest37 [n=wgGuest3@97.66.185.250] has joined #webgui | 20:50 | |
CIA-22 | WebGUI: jt * r5908 /branch/WebGUI_Commerce/lib/WebGUI/ (7 files in 4 dirs): add payment processing interface | 20:50 |
CIA-22 | WebGUI: jt * r5909 /translations/Polish/ (Polish.pm Polish/Asset_Thingy.pm Polish/Asset_Poll.pm): update_from_translation_server | 20:50 |
CIA-22 | WebGUI: jt * r5910 /branch/WebGUI_Commerce/lib/WebGUI/Shop/ (PayDriver.pm Transaction.pm): a little streamlining | 20:50 |
@rizen | and i can't help you with the webgui wiki, that documentation is contributed by users | 20:50 |
CIA-22 | WebGUI: colin * r5911 /branch/WebGUI_Commerce/lib/WebGUI/Shop/Tax.pm: delete a row of tax data from the UI | 20:50 |
@rizen | you should read docs/install.txt as it is the *official* documentation for the wre | 20:51 |
@rizen | install process | 20:51 |
topsub | rizen. oh ya.. i run it like .setenvir...sh | 20:51 |
@rizen | and if you need more detailed docs, then consult the WebGUI Admins Guide | 20:51 |
topsub | then i do perl wreconsole.pl and can't read the config file. No config files are in /data/wre/etc | 20:52 |
@rizen | MrHairgrease: 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() method | 20:54 |
SynQ | topsub, perhaps I can help you | 20:54 |
SynQ | you've extracted the wre.tgz in /data | 20:54 |
topsub | correct | 20:54 |
SynQ | you have created a webgui user | 20:55 |
SynQ | and corresponding group | 20:55 |
SynQ | you have chown -R webgui:webgui /data/wre | 20:55 |
SynQ | and then you go into /data/wre/sbin | 20:55 |
SynQ | and issue . setenvironment.sh | 20:55 |
SynQ | you can check if that has worked for you by issuing perl -V | grep wre | 20:56 |
SynQ | it should report some paths like /data/wre/prereqs/.... | 20:56 |
SynQ | does it? | 20:56 |
@rizen | synq is right, this sounds like a permissions problem | 20:56 |
@rizen | wreconsole.pl will create the config files in /data/wre/etc if it has privileges to write there | 20:56 |
SynQ | I don't know if it is a permissions problem | 20:57 |
SynQ | and I agree that the wiki documentation is a bit 'verbose' as in there is a lot of text but not all is very clear | 20:57 |
SynQ | topsub: did you chown the data/wre ? | 20:58 |
topsub | trying to add the "webgui" user now | 20:58 |
SynQ | what wiki page are you using? | 20:58 |
topsub | i am in the docs/install.txt | 20:59 |
-!- dionak [n=diona@97.66.185.250] has joined #webgui | 20:59 | |
SynQ | ok | 20:59 |
topsub | i am doing. " sudo adduser -sytem /sbin/nologin webgui" and it tells me "adduser: Specify only one name in this mode." | 21:00 |
topsub | trying to debug that now | 21:00 |
SynQ | uh | 21:00 |
SynQ | I think you've missed a - | 21:00 |
SynQ | --system | 21:00 |
-!- dionak [n=diona@97.66.185.250] has left #webgui [] | 21:01 | |
topsub | did that and got same error | 21:01 |
-!- dionak [n=diona@97.66.185.250] has joined #webgui | 21:01 | |
SynQ | hmm | 21:01 |
SynQ | what ubuntu version are you using | 21:02 |
topsub | 7.10 | 21:02 |
SynQ | sudo adduser --system --no-create-home webgui | 21:02 |
SynQ | that should do it | 21:02 |
topsub | yep | 21:03 |
topsub | you the man! | 21:03 |
topsub | no i can go try the set evvir | 21:03 |
SynQ | no | 21:03 |
SynQ | first you have to chown -R webgui.webgui /data/wre | 21:04 |
topsub | do i need chown -R webgui:webgui /data/wre? | 21:04 |
topsub | k | 21:04 |
topsub | invalid group | 21:04 |
topsub | it added new user | 21:05 |
SynQ | oh | 21:05 |
topsub | 'webgui' with group 'nogroup' | 21:05 |
SynQ | that is ok too | 21:05 |
topsub | so guessing have to use "webgui:nogroup"? | 21:05 |
SynQ | for example | 21:06 |
SynQ | ok, gotta go | 21:06 |
SynQ | dinner is served | 21:06 |
SynQ | If you still get stuck | 21:07 |
SynQ | do post to the discussion board on webgui.org | 21:07 |
topsub | k | 21:07 |
+perlDreamer | rizen: 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 |
@rizen | I would just use a text link with the word delete | 21:11 |
@rizen | I'm sort of moving away from icons for that sort of stuff | 21:11 |
@rizen | links render faster (nothing to download), and are translatable | 21:11 |
+perlDreamer | Okay. How come? | 21:11 |
+perlDreamer | good points | 21:11 |
CIA-22 | WebGUI: jt * r5912 /branch/WebGUI_Commerce/lib/WebGUI/Shop/PayDriver.pm: added handlesRecurring() | 21:16 |
CIA-22 | WebGUI: colin * r5913 /branch/WebGUI_Commerce/lib/WebGUI/Shop/Tax.pm: reorder js libraries to get rid of warnings | 21:16 |
-!- wgGuest37 [n=wgGuest3@97.66.185.250] has quit [Remote closed the connection] | 21:18 | |
perlmonkey2 | Oh, 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 |
perlmonkey2 | It 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 |
perlmonkey2 | Oh, in case I wasn't clear, YUI RAWKS! | 21:31 |
CIA-22 | WebGUI: colin * r5914 /branch/WebGUI_Commerce/lib/WebGUI/ (i18n/English/Tax.pm Shop/Tax.pm): finish delete UI | 21:32 |
+perlDreamer | rizen: delete's done :) | 21:32 |
+perlDreamer | Now I'm working on export/import | 21:32 |
topsub | you can't sudo . setenvi...sh | 21:33 |
topsub | that wasn't working, once i became root and did that everything worked | 21:33 |
@rizen | pm2: i agree with you completely. it's making rebuilding the EMS a snap | 21:33 |
@rizen | pd: 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 | |
+perlDreamer | it was a 50/50 proposition | 21:44 |
+perlDreamer | I played 3 church services over the weekend and I don't have the patience to deal with normal everyday work crud | 21:44 |
+perlDreamer | and, I'm behind where I want to be on tax, so I set up a day of couch and commerce time | 21:45 |
@rizen | i see | 21:46 |
@rizen | i am totally appreciative | 21:46 |
@rizen | the more you and mrhairgrease do the less i have to do, so thank you | 21:46 |
+perlDreamer | you're welcome | 21: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 #webgui | 22:01 | |
bopbop | perlmonkey2: 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 |
perlmonkey2 | bopbop: Unfortunately, the squirrel story is a complete fabrication. I was angling for humorous, but sometimes I don't quite make it. | 22:08 |
bopbop | oh, it made me chuckle, I was just wondering if it was real... | 22:08 |
+perlDreamer | SynQ: I have not tried to get the small calendar template into the core | 22:13 |
SynQ | ah | 22:14 |
SynQ | ok | 22:14 |
SynQ | too bad | 22:14 |
+perlDreamer | Do you think I should? | 22:14 |
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has joined #webgui | 22:17 | |
-!- mode/#webgui [+v MrHairgrease] by ChanServ | 22:17 | |
+MrHairgrease | rizen: indeed. I'm gonna build that into getOptions too | 22:18 |
CIA-22 | WebGUI: colin * r5915 /branch/WebGUI_Commerce/lib/WebGUI/Shop/Tax.pm: export tax data works in the UI | 22:35 |
-!- SDuensin [n=Scott@125.sub-75-205-150.myvzw.com] has quit ["Leaving"] | 22:53 | |
+perlDreamer | rizen: I need a little UI magic. | 22:55 |
+perlDreamer | export and import work, but they're ugly | 22:55 |
@rizen | how can i help? | 22:56 |
+perlDreamer | I'm not sure what/how to make it look better. | 22:56 |
+perlDreamer | I'm thinking of inlining the two buttons and making them different colors | 22:56 |
+perlDreamer | if you update, and then do ?shop=tax;method=manage you'll see what I'm talking about | 22:57 |
@rizen | i don't need to resetdev do i? | 22:57 |
@rizen | really don't want to do that right now | 22:57 |
+perlDreamer | no, don't need to resetdev | 22:57 |
+perlDreamer | just restart the server | 22:58 |
@rizen | egg salad | 22:58 |
CIA-22 | WebGUI: colin * r5916 /branch/WebGUI_Commerce/lib/WebGUI/ (i18n/English/Tax.pm Shop/Tax.pm): import tax data | 22:58 |
+perlDreamer | is "egg salad" good? | 22:58 |
@rizen | egg salad = excellent | 22:59 |
@rizen | i'd definitely do an extras=>'' to get rid of the green | 23:01 |
+perlDreamer | okay, ungreened. | 23:01 |
@rizen | you could also do a extras=>q|style="float: left;"| on the import button if you want the other one to float up next to it | 23:02 |
@rizen | other than that, it looks fine to me | 23:03 |
@rizen | and honestly, even as it is it looks fine to me | 23:03 |
@rizen | it is just a tax table manager after all | 23:04 |
@rizen | am i missing something? | 23:04 |
@rizen | i see no edit or add options | 23:05 |
+perlDreamer | Add is TBD. | 23:05 |
@rizen | ok | 23:05 |
@rizen | i *love* datatable | 23:06 |
@rizen | it makes me look cool | 23:06 |
@rizen | well not me...but makes webgui look cool | 23:06 |
SynQ | how 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 |
+perlDreamer | pretty easy, since GooeyOfSteel does it for the wiki | 23:06 |
@rizen | perlDreamer: feeling any more comfortable around yui yet? or still cowering in a puddle of piss in the corner? | 23:07 |
SynQ | ok | 23:08 |
SynQ | I'd love that to be implemented | 23:08 |
@rizen | talk to nuba | 23:08 |
@rizen | he's the maintainer of GooeyOfSteel | 23:08 |
+perlDreamer | much cowering going on, along with miscolored buttons and bad alignment | 23:08 |
@rizen | you'll get used to it | 23:09 |
@rizen | the power of yui is so worth overcoming the obstacle of learning javascript | 23:09 |
+MrHairgrease | in the Netherlands bad buttons hav misaligned colors | 23:09 |
SynQ | nuba, this one is for you: http://www.plainblack.com/rfe/request-for-enhancement/irc-bot-post-subjectlines-on-webgui-irc-channel | 23:10 |
CIA-22 | WebGUI: colin * r5917 /branch/WebGUI_Commerce/lib/WebGUI/Shop/Tax.pm: align and uncolor buttons | 23:19 |
+perlDreamer | rizen: 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 |
@rizen | That's fine by me. | 23:22 |
@rizen | just use a standard WebGUI::HTMLForm | 23:22 |
+MrHairgrease | rizen: 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 |
+MrHairgrease | this is of course a bug, but i'm not sure how to fix that | 23:34 |
@rizen | i'm not sure my whole address book functionality is working properly right now anyway | 23:36 |
@rizen | i mean it is | 23:36 |
+MrHairgrease | it's not a bigiie | 23:36 |
@rizen | but there's a merge operation that it's supposed to do | 23:36 |
@rizen | and i don't think that's working | 23:36 |
@rizen | if it were, then that wouldn't be a problem | 23:36 |
+MrHairgrease | i just thought i'd let you lnow | 23:36 |
@rizen | thank you | 23:36 |
+MrHairgrease | indeed | 23:36 |
+MrHairgrease | you said CartItem should have a isRecurring method rioght? | 23:37 |
+MrHairgrease | b/c it hasn't =) | 23:37 |
@rizen | not cart item | 23:39 |
@rizen | skus do | 23:39 |
@rizen | so you do $item->getSku->isRecurring | 23:39 |
+MrHairgrease | oh right | 23:39 |
+MrHairgrease | I'm prolly on drugs | 23:39 |
+MrHairgrease | thanks | 23:39 |
@rizen | you are from holland after all | 23:39 |
+MrHairgrease | yeah | 23:39 |
+MrHairgrease | living up to expectations i guess | 23:40 |
+MrHairgrease | =) | 23:40 |
@rizen | i would say that everyone that i know from holland is above average compared to the americans that i know | 23:40 |
@rizen | =) | 23:40 |
@rizen | however, i know a lot more americans so it probably would average out if i knew more people from holland | 23:41 |
@rizen | =) | 23:41 |
+MrHairgrease | no | 23:41 |
+MrHairgrease | we're all that smart | 23:41 |
+MrHairgrease | and handsome | 23:41 |
+MrHairgrease | btw. i also added requiresRecurringPayment to Cart.pm | 23:41 |
+MrHairgrease | b/c i need that in multiple places too | 23:42 |
@rizen | good idea | 23:42 |
+MrHairgrease | are the items cached btw? | 23:42 |
+MrHairgrease | b/c else all the getItems calls will add up pretty quickly | 23:42 |
@rizen | no, but i probably need to add a cache to the getItem method in $cart | 23:42 |
+MrHairgrease | ok | 23:42 |
@rizen | yes they will | 23:42 |
+MrHairgrease | well we can cache it anytime | 23:42 |
+MrHairgrease | for now it works =) | 23:43 |
@rizen | it's a lot of calls, but it's also hella powerful | 23:43 |
@rizen | i mean, the ability for the things in the cart to look at other things in the cart and make decisions | 23:43 |
@rizen | as well as things outside the cart to do that | 23:43 |
+MrHairgrease | yeah i understand | 23:43 |
+MrHairgrease | anyway, when it's cart view time it doesn't matter that much anymore since that not highbandwith | 23:44 |
@rizen | exactly what i was thinking | 23:45 |
+perlDreamer | we should build a sku that kicks out other items in the cart. "There can be only 1!" | 23:46 |
@rizen | the ems has skus that do that | 23:47 |
+MrHairgrease | that's for the next acme session | 23:47 |
@rizen | but you're not doing acme this year are you? | 23:47 |
+perlDreamer | Think about selling sets. You add one item to the set, and it autoadds other required components for you. | 23:47 |
@rizen | one of the ems skus does something similar to that too | 23:49 |
@rizen | if you remove a badge, and there are other items in the cart that are related to that badge | 23:49 |
@rizen | it removes all of them | 23:49 |
@rizen | but yeah, it would be cool if you could add a radio controlled car to your cart | 23:50 |
@rizen | and it says...hey i need some batteries | 23:50 |
@rizen | and adds those too | 23:50 |
@rizen | or you buy an expansion for a game, and it says...you can't play me without the original and adds that | 23:51 |
+MrHairgrease | rizen, perldreamer: did any of you do something to transaction.pm? | 23:52 |
+perlDreamer | yes | 23:52 |
@rizen | yes | 23:52 |
+perlDreamer | I changed how getJson was made | 23:52 |
+MrHairgrease | b/c compltePurchase does not complete the cart anymore | 23:52 |
@rizen | right | 23:52 |
@rizen | processTransaction() in PayDriver does that | 23:53 |
@rizen | that's what i was telling you about this morning | 23:53 |
+MrHairgrease | ok i'll investigate | 23:53 |
+MrHairgrease | Ok, I committed my latest stuff | 23:55 |
+MrHairgrease | it works but will not clear the cart b/c of the processTransactuon thing | 23:56 |
+MrHairgrease | will fix that tomorrow | 23:56 |
-!- MrHairgrease is now known as MrAfkGrease | 23:56 | |
+perlDreamer | why it it that old thermoses make great sci-fi props? | 23:56 |
CIA-22 | WebGUI: 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 | |
+perlDreamer | How's the Dev Guide coming, rizen? | 00:00 |
@rizen | haven't worked on it | 00:10 |
@rizen | in a while | 00:10 |
@rizen | there are a couple more chapters waiting for me to write | 00:10 |
@rizen | but the commerce stuff is more important | 00:10 |
@rizen | i'm thinking that i might just wait until july to publish it | 00:10 |
@rizen | and then cover the commerce api's in it | 00:10 |
+perlDreamer | good idea! | 00:13 |
+perlDreamer | You could intro it at the WUC | 00:17 |
@rizen | indeed | 00:18 |
@rizen | ok, gotta go get dinner. i'll be on later tonight. | 00:19 |
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI | 00: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-22 | WebGUI: colin * r5919 /branch/WebGUI_Commerce/lib/WebGUI/ (i18n/English/Tax.pm Shop/Tax.pm): add tax UI | 00: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 #webgui | 01:48 | |
-!- mode/#webgui [+o preaction] by ChanServ | 01:48 | |
SynQ | I just whish I was a better programmer | 02:04 |
SynQ | https://www.plainblack.com/bugs/tracker/upgrading-from-7_3_8-7_3_9-cant-locate-object-method-recalculaterating | 02:05 |
SynQ | I'm glad that 7.3.9 isn't years old, so now I dare ask these kind of questions again | 02:05 |
SynQ | I hope it is documented well enough | 02:06 |
+perlDreamer | that's pretty good documentation for a bug | 02:24 |
+perlDreamer | want to try fixing it with me? | 02:24 |
SynQ | sure | 02:33 |
SynQ | I'd love to | 02:33 |
+perlDreamer | you were upgrading to 7.3.22? | 02:33 |
SynQ | I was | 02:33 |
SynQ | I've been upgrading all kinds of sites all day | 02:34 |
SynQ | and most of them just strolled along nicely | 02:34 |
+perlDreamer | this sucks | 02:35 |
+perlDreamer | If this is right, a thread has another thread as its parent | 02:35 |
SynQ | all bugs suck | 02:35 |
+perlDreamer | it's supposed to have a CS as a parent | 02:35 |
SynQ | ah | 02:35 |
SynQ | you want me to issue some nice sql queries? | 02:35 |
+perlDreamer | yeah, but I need to figure out what they are, unless you want to give it a crack. | 02:36 |
SynQ | If you can tell me what you are looking for | 02:36 |
SynQ | even more info: the original install was 6.7.4 | 02:37 |
+perlDreamer | well, we need the parent assetId of every thread. We want to know it's class | 02:37 |
SynQ | that is in which table? | 02:37 |
+perlDreamer | everything is in asset. | 02:38 |
+perlDreamer | lineage, parentId, className | 02:38 |
SynQ | ah | 02:38 |
+perlDreamer | something like select assetId from asset where className='WebGUI::Asset::Post::Thread' and class of parent != WebGUI::Asset::Wobject::Collaboration | 02:39 |
SynQ | there are 132 rows in asset | 02:39 |
+perlDreamer | that's it? | 02:40 |
+perlDreamer | small site | 02:40 |
SynQ | yea | 02:40 |
SynQ | it is | 02:40 |
SynQ | but I'm glad | 02:40 |
SynQ | there are only two rows in asset that have got classname WebGUI::Asset::Wobject::Collaboration | 02:42 |
SynQ | one has parentId 5wLcVYk4OI4nMIqMWMgnKw | 02:43 |
SynQ | the other has parentId IA5IIpEdmlJUdhYEZ34QYg | 02:43 |
SynQ | both of these parents have WebGUI::Asset::Wobject::Layout as classname | 02:44 |
+perlDreamer | close, we need the same analysis for Threads, not for CS'es | 02:44 |
SynQ | ah | 02:45 |
SynQ | and threads are also in asset? | 02:45 |
+perlDreamer | select 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 |
+perlDreamer | all assets have "core" asset data in asset | 02:45 |
SynQ | ah | 02:46 |
SynQ | that query reports 39 rows | 02:47 |
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)] | 02:48 | |
+perlDreamer | select 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 |
SynQ | http://webgui.pastebin.com/d54fb1195 | 02:48 |
SynQ | that last query gives back an empty set | 02:49 |
+perlDreamer | I also searched the site, and it says cryptically "read gotcha.txt" | 02:49 |
+perlDreamer | https://www.plainblack.com/install/upgrade_help/updating-6_8_10-to-7_1_3-gives-cant-locate-object-method-recalculaterating/1 | 02:49 |
SynQ | yea | 02:49 |
SynQ | JT says that | 02:49 |
SynQ | hey | 02:50 |
SynQ | it's ten to 2 in the middle of the night | 02:50 |
SynQ | I'm going to get some sleep | 02:50 |
+perlDreamer | g'night | 02:50 |
SynQ | you want to spend some more time on this in let's say about 8 or 9 hours? | 02:51 |
+perlDreamer | what will be 2:00am my time | 02:51 |
SynQ | ah | 02:51 |
SynQ | I see | 02:51 |
+perlDreamer | much more likely to be around in 14 hours | 02:51 |
SynQ | ok, that's a good time | 02:51 |
+perlDreamer | here's another URL to check out | 02:51 |
+perlDreamer | https://www.plainblack.com/bugs/tracker/upgrade-from-7_3_8-to-7_3_9 | 02:51 |
+perlDreamer | for tomorrow | 02:51 |
SynQ | that 4 in the afternoon with us | 02:51 |
SynQ | ah thanks | 02:51 |
SynQ | nite | 02:51 |
+perlDreamer | rizen: we can tell the DataTable to do the number switching for us | 03:06 |
+perlDreamer | in the responseSchema for the DataSource, we just tell it to convert to whatever we want | 03:06 |
+perlDreamer | {key:"age", parser:YAHOO.util.DataSource.parseNumber}, | 03:06 |
+perlDreamer | yes! | 03:11 |
+perlDreamer | screw you, javascript | 03:11 |
+perlDreamer | now, will that work with the other fields, too? | 03:11 |
@rizen | we can? | 03:22 |
@rizen | oh sweet | 03:22 |
+perlDreamer | I'm starting to like YUI | 03:24 |
+perlDreamer | but only a little bit | 03:24 |
@rizen | wow that didn't take long | 03:24 |
@rizen | was it just because of parseNumber? | 03:24 |
+perlDreamer | yes | 03:25 |
+perlDreamer | do you know at one point that there was a perl plugin for netscape? | 03:25 |
@rizen | no | 03:26 |
@rizen | that's awesome | 03:26 |
@rizen | too bad that tradition didn't continue | 03:26 |
+perlDreamer | I know. | 03:26 |
+perlDreamer | maybe parrot will do better | 03:26 |
@rizen | we'd be able to do a lot more cool shit with browsers | 03:26 |
+perlDreamer | but Microsoft would never put a parrot plug-in into IE | 03:26 |
@rizen | there is precedence for something becoming popular despite microsoft's objections | 03:27 |
@rizen | take flash for example | 03:27 |
+perlDreamer | true | 03:27 |
@rizen | it's all just a matter of someone coming up with a killer app for something | 03:27 |
+perlDreamer | well, for Tax we now have add, delete and import and export | 03:28 |
@rizen | nice | 03:28 |
@rizen | sounds like you're done | 03:28 |
+perlDreamer | yup | 03:28 |
@rizen | unless you want to add edit | 03:28 |
+perlDreamer | I might need some help with the YUI code for that | 03:28 |
+perlDreamer | the DataTable does handle inline editing of data, natively | 03:28 |
@rizen | yeah, i haven't done that either | 03:28 |
@rizen | right now i'm working on building my own custom data source | 03:29 |
@rizen | cuz i'm making the EMS all YUIized | 03:29 |
+perlDreamer | Custom data source? | 03:29 |
+perlDreamer | like not XML, JS or JSON? | 03:29 |
@rizen | so you can add tickets, ribbons, and tokens to your badge without refreshing the page | 03:29 |
@rizen | no..it's json. | 03:29 |
@rizen | i'm not creating a new data source class | 03:30 |
@rizen | i'm making a data source object | 03:30 |
+perlDreamer | okay | 03:30 |
@rizen | that handles the badge data | 03:30 |
@rizen | hey perlDreamer, i'm sitting outside for twelve hours hand pumping water | 03:30 |
@rizen | =) | 03:30 |
+perlDreamer | You're a funny man, rizen. | 03:31 |
+perlDreamer | I knew you weren't outside :) | 03:31 |
+perlDreamer | I need one of those G'ould hand devices for giving people headaches. | 03:31 |
@rizen | so was your day off worth it? | 03:31 |
+perlDreamer | easily | 03:31 |
@rizen | glad to hear it | 03:32 |
+perlDreamer | I don't know if I told you this, but I'd originally planned on Learning JS in February and March | 03:33 |
+perlDreamer | not I'm getting a crash course | 03:33 |
@rizen | you said something about it | 03:33 |
@rizen | didn't know if you did or not. but yui makes it easy to want to pick it up | 03:33 |
CIA-22 | WebGUI: colin * r5920 /branch/WebGUI_Commerce/lib/WebGUI/Shop/Tax.pm: Ask YUI to parse strings as numbers in the Tax module. | 03:33 |
@rizen | cuz it gives you a lot of powerful toys | 03:33 |
+perlDreamer | if only it was tolerant of trailing commas... | 03:34 |
@rizen | if only it were perl | 03:34 |
+perlDreamer | amen, brother! | 03:34 |
@rizen | =) | 03:34 |
@rizen | honestly though, it's close enough to make the transition fairly easy | 03:35 |
@rizen | at least it has perl-like regex and hashes | 03:35 |
+perlDreamer | yes | 03:35 |
@rizen | can't stand working with languages that don't have both of those | 03:35 |
@rizen | which are mostly older languages these days | 03:35 |
@rizen | the newer ones have those concepts | 03:36 |
+perlDreamer | yeah. python and ruby have them | 03:36 |
+perlDreamer | I wonder if Smalltalk and Haskell do? | 03:36 |
@rizen | last time i worked with VB it didn't have them | 03:36 |
+perlDreamer | want to see something weird? | 03:36 |
+perlDreamer | http://webgui.pastebin.com/d54fb1195 | 03:37 |
+perlDreamer | that's some data from a Procolix site | 03:37 |
+perlDreamer | note rows 14 and 15 | 03:37 |
@rizen | does he have a broken index | 03:38 |
@rizen | cuz that's what it looks like | 03:38 |
+perlDreamer | could be | 03:38 |
+perlDreamer | that's the result of a self join on asset, looking for parents | 03:39 |
+perlDreamer | select 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 |
+perlDreamer | I wrote it myself. | 03:40 |
@rizen | the more i play with ruby the less i like it | 03:55 |
+perlDreamer | There's a guy at work who really likes it. Says it fixes all of perl's problems. | 03:59 |
+perlDreamer | But I don't see enough perl problems to want to move :) | 03:59 |
+perlDreamer | btw, who is making Shop icons? | 03:59 |
@rizen | steve is | 03:59 |
@rizen | i don't see any perl problems that it fixes | 03:59 |
@rizen | in fact, i hate that it doesn't allow me to use braces | 04:00 |
+perlDreamer | is it like python? | 04:00 |
@rizen | and what i hate more is that though it allows semicolons at the end of lines, NOBODY USES THEM!!! | 04:00 |
@rizen | no, it's not indentation that determines the block | 04:00 |
@rizen | they at least have keywords for it | 04:00 |
@rizen | so you do something like: | 04:01 |
@rizen | if (1) | 04:01 |
@rizen | puts "the value was 1"; | 04:01 |
@rizen | else | 04:01 |
@rizen | puts "the value was not 1" | 04:01 |
@rizen | end | 04:01 |
@rizen | so end is the keyword | 04:01 |
@rizen | that closes the block | 04:01 |
@rizen | if starts the block | 04:01 |
@rizen | and that's pretty much true for everything, loops, etc | 04:02 |
@rizen | loops, subs, conditions | 04:02 |
@apeiron | In other words, it fails at Huffman coding. :) | 04:02 |
+perlDreamer | miserably | 04:02 |
@rizen | oh...and the other thing i hate besides the fact that no one uses semicolons | 04:02 |
@rizen | is that no one actually puts parens around their conditionals | 04:03 |
@rizen | everybody types crap liek if somevariable == someothervariable | 04:03 |
@apeiron | er | 04:03 |
@rizen | but i think that the parens aid in readability | 04:03 |
@apeiron | Hate to break it to you... | 04:03 |
@apeiron | But get used to it... | 04:03 |
@apeiron | 'cause that's where perl6 is going. :) | 04:03 |
@rizen | but perl6 still uses braces for blocks | 04:04 |
+perlDreamer | In verilog, you have to use 'begin' _and_ 'end'. | 04:04 |
@rizen | see it's not that ruby is flawed in my opinion | 04:04 |
@apeiron | True, but no parens around the conditionals. | 04:04 |
@rizen | it's that the programmers who use and teach ruby are flawed | 04:05 |
@rizen | about the only thing that ruby fixes compared with perl as far as i'm concerned is that subs have named parameters | 04:05 |
+perlDreamer | I have failed miserable in getting YUI to parse pagination metadata as numbers when sent as strings. Only table data seems to work. | 04:05 |
@rizen | which perl6 also has | 04:05 |
@apeiron | And which you can get with perl5 if you use one module or another. Or just hashrefs. :) | 04:06 |
CIA-22 | WebGUI: colin * r5921 /branch/WebGUI_Commerce/lib/WebGUI/Shop/Tax.pm: | 04:11 |
CIA-22 | WebGUI: Further testing showed that pagination metadata won't parse as | 04:11 |
CIA-22 | WebGUI: strings. | 04:11 |
+perlDreamer | now that we're not shipping user docs with WebGUI, do we need to write wiki entries for C2? | 04:44 |
@rizen | not as far as i'm concerned..but if you want to you're welcome to | 04:44 |
@rizen | we'll be putting out a new book this summer on the commerce features | 04:44 |
+perlDreamer | cool | 04:48 |
+perlDreamer | there's a lot of hidden details in here | 04:48 |
+perlDreamer | like sorting the datatable, import erases old data, and so on | 04:49 |
@rizen | certainly | 04:49 |
@rizen | that's going to be true of the entire commerce system | 04:49 |
@rizen | i'm starting to hate yui | 04:50 |
@rizen | hehe | 04:50 |
+perlDreamer | just because I'm starting to like it? | 04:50 |
@rizen | just kidding, but data sources are giving me some pain | 04:50 |
+perlDreamer | btw, I may have a sorting/keyword bug in the Data Table | 04:50 |
+perlDreamer | If 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 |
+perlDreamer | maybe when we search by keywords it should reset the page offset to 1 | 04:52 |
+perlDreamer | hm, it already does that | 04:52 |
+perlDreamer | but the DataTable paginator may not know that | 04:52 |
@rizen | interesting...you may want to report that tot the yahoo peeps if you can come up with a way for them to replicate it | 04:53 |
+perlDreamer | I think it's actually a problem we created | 04:55 |
+perlDreamer | we changed the pagination without telling the paginator | 04:55 |
+perlDreamer | it thinks it's still on page 3, when it's really on page 1 | 04:55 |
+perlDreamer | once I get full column sorting working, I'll try it next | 04:55 |
+perlDreamer | and then inline editing | 04:55 |
@rizen | oh i see | 04:58 |
@rizen | so you think the paginator doesn't automatically update when the data set is refreshed? | 04:59 |
+perlDreamer | yes, that's my guess | 05:00 |
+perlDreamer | you can try it if you wish | 05:00 |
+perlDreamer | update, then load the largeTaxTable from t/supporting_collateral/taxTables | 05:00 |
+perlDreamer | keywords = "Los Angeles" | 05:00 |
+perlDreamer | actually, go to page 3, then keywords="Los Angeles" | 05:00 |
+perlDreamer | It will say "No records found" | 05:02 |
+perlDreamer | Click on page 1, see no data | 05:02 |
+perlDreamer | click on page 3 (where we started) and there's data | 05:03 |
@rizen | interesting..i could have sworn i tested that when i did the transaction table | 05:04 |
+perlDreamer | Well, 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 | |
@rizen | wow: http://www.satyam.com.ar/yui/ | 05:35 |
@rizen | i really like the drag and drop example | 05:36 |
+perlDreamer | and his server side sorter/paginator works | 05:39 |
+perlDreamer | unlike mine, based on the direct YUI example | 05:39 |
@rizen | i'm going to have to give up the ghost here | 05:48 |
@rizen | i just can't make this data source work | 05:48 |
@rizen | perhaps things will be better in the morning | 05:49 |
@rizen | nite pd | 05:49 |
+perlDreamer | good night, jt | 05:49 |
CIA-22 | WebGUI: colin * r5922 /branch/WebGUI_Commerce/lib/WebGUI/Shop/Tax.pm: committing broken server-side sorting/pagination code for more debug tomorrow | 06: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 #webgui | 06:45 | |
-!- mode/#webgui [+o preaction] by ChanServ | 06:46 | |
-!- Haarg [n=haarg@66-168-19-128.dhcp.mdsn.wi.charter.com] has joined #webgui | 06:58 | |
-!- mode/#webgui [+o Haarg] by ChanServ | 06:58 | |
-!- ryuu_ro [n=rory@194.171.50.69] has joined #webgui | 09: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 #webgui | 10:03 | |
-!- mode/#webgui [+v Radix_] by ChanServ | 10: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 #webgui | 11: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 #webgui | 11:39 | |
SynQ | mogge | 11:47 |
BartJol | hi | 11: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 #webgui | 13:58 | |
-!- SDuensin [n=Scott@55.sub-75-204-199.myvzw.com] has joined #WebGUI | 14:55 | |
SDuensin | Morning. | 15:01 |
SynQ | morning! | 15:10 |
SynQ | eureka! | 15:10 |
SynQ | I fixed it | 15:10 |
SynQ | I hereby proclaim myself a bugs from the past finder hero | 15:10 |
SynQ | http://www.webgui.org/bugs/tracker/upgrading-from-7_3_8-7_3_9-cant-locate-object-method-recalculaterating | 15:10 |
SynQ | fixed | 15:11 |
SDuensin | Congrats. I have no idea what you're talking about. :-) | 15:15 |
SDuensin | But dead bugs is good bugs! | 15:16 |
BartJol | and a completed Dutch translation is available again | 15:19 |
CIA-22 | WebGUI: jt * r5923 /translations/Dutch/Dutch/ (7 files): update_from_translation_server | 15:32 |
-!- Haarg [n=haarg@66-168-19-128.dhcp.mdsn.wi.charter.com] has joined #webgui | 15:38 | |
-!- mode/#webgui [+o Haarg] by ChanServ | 15: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 #webgui | 15:58 | |
-!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui | 16:15 | |
-!- mode/#webgui [+o Haarg] by ChanServ | 16:15 | |
-!- lisette [n=liraos@201.232.58.66] has joined #webgui | 16:35 | |
lisette | What are the parameters for WebGUI->Session->open()? | 16:37 |
lisette | hello | 16:39 |
BartJol | eh | 16:42 |
BartJol | webguiRoot, configFile [, requestObject, serverObject, sessionId, noFuss ] | 16:43 |
BartJol | http://www.webgui.org/downloads/builds/7.4.29-stable/api/Session.html | 16:44 |
SynQ | hmm | 16:46 |
BartJol | lisette does that help? | 16:46 |
SynQ | can an asset have multiple parents? | 16:46 |
BartJol | ask Haarg | 16:47 |
SynQ | http://webgui.pastebin.com/d3eb7d7f9 | 16:47 |
lisette | wait | 16:47 |
SynQ | that doesn't look to good to me | 16:47 |
-!- dapperedodo [n=dappered@194.171.50.69] has joined #webgui | 16:48 | |
SynQ | Joeri: http://webgui.pastebin.com/d3eb7d7f9 can an asset have multiple parents? | 16:48 |
dapperedodo | only with different versions I think | 16:49 |
SynQ | hmm | 16:49 |
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."] | 16:51 | |
SynQ | http://webgui.pastebin.com/d78ffc6dd | 16:53 |
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui | 16:53 | |
SynQ | it's version 6.7.8 :) | 16:53 |
SynQ | http://www.theplacetostay.com/marc/images/old/elephant%20shit.jpg | 16:54 |
SynQ | why do I get that shitting elephant when I try to manage system trash? | 16:56 |
SynQ | oh and http://webgui.pastebin.com/d28940c10 | 16:56 |
@rizen | can i ask why you'd use such a query? | 16:58 |
dapperedodo | You must have hit an easteregg | 16:58 |
@rizen | when you can simply do: select assetId,parentId from asset where className='WebGUI::Asset::Post::Thread' | 16:58 |
CIA-22 | WebGUI: jt * r5924 /translations/ (147 files in 3 dirs): update_from_translation_server | 16:59 |
SynQ | colin thought it up form me | 16:59 |
@rizen | what was it's purpose? what were you trying to find out from it? | 16:59 |
SynQ | ok | 17:00 |
SynQ | let me explain | 17:00 |
SynQ | I am in the process of upgrading everything I left hanging around to 7.4.29 | 17:00 |
SynQ | and I stubled upon some 6.7.8 sites | 17:00 |
SynQ | now in that version it was possible to copy a thread from a collaboration system | 17:01 |
SynQ | and put it somewhere else | 17:01 |
SynQ | but I think it kept the same parentId | 17:01 |
SynQ | and that breaks things in the upgrade process | 17:01 |
SynQ | especially at the point where you go from 7.3.8 to 7.3.9 | 17:02 |
SynQ | which I allready described in http://www.webgui.org/bugs/tracker/upgrading-from-7_3_8-7_3_9-cant-locate-object-method-recalculaterating | 17:02 |
SynQ | now I solved the problem in one site by removing all (copy) of thread stuff in the way described in that bugreport | 17:02 |
SynQ | but now I have a different site | 17:02 |
SynQ | and I can't figure out what is wrong there | 17:03 |
SynQ | what is more is that it is really slow since that site is much bigger and uses the RandomThread macro on about 10 submission systems | 17:03 |
SynQ | so I'm trying to understand what could be wrong with the asset hierachy but I think I just don't understand how that should work | 17:04 |
SynQ | in webgui 6.7.8 | 17:04 |
SynQ | oh and I think the sql query colin gave me is meant to show assets that have the same child or parent or something | 17:06 |
@rizen | well, 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 id | 17:06 |
SynQ | ah | 17:06 |
SynQ | I understand that | 17:06 |
@rizen | however, you may have a broken lineage | 17:06 |
SynQ | but does that hold true for version 6.7.8 ? | 17:06 |
@rizen | you should be able to steal the rebuildLineage.pl script from newer versions of webgui and use it on your old site | 17:07 |
@rizen | yes, that holds true of any site since 6.3 | 17:07 |
SynQ | ok | 17:07 |
SynQ | that is a good starting point | 17:07 |
@rizen | the rebuildLineage.pl script will recreate the lineage for your assets from the assetId, parentId relationships | 17:08 |
@rizen | and will also try to detect things like orphans and circular loops | 17:08 |
SynQ | Cleaning up...OK | 17:08 |
SynQ | I've just ran rebuild lineage | 17:08 |
@rizen | after running it | 17:08 |
@rizen | delete your cach | 17:08 |
@rizen | cache | 17:08 |
SynQ | I'm cleaning out cache now :) | 17:09 |
@rizen | the 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 upgrade | 17:09 |
SynQ | ah | 17:10 |
@rizen | it will make the upgrade move faster | 17:10 |
SynQ | that I was also trying | 17:10 |
@rizen | and may also show other problems | 17:10 |
SynQ | and then I got the elephant | 17:10 |
@rizen | well then you have some corrupt assets in there | 17:10 |
SynQ | ah | 17:10 |
SynQ | ok | 17:10 |
SynQ | how do I find those? | 17:10 |
@rizen | unfortunately it's not an easy process | 17:10 |
@rizen | let me see if i can devise an sql query that will show them to you | 17:11 |
SynQ | oh that is not a problem | 17:11 |
SynQ | I left the 'easy' about two days ago | 17:11 |
SynQ | I am now in the hard part | 17:11 |
@rizen | in the mean time, delete the items in the trash one at a time | 17:11 |
SynQ | ok, but how | 17:11 |
@rizen | if you get the shitting elephant then you found your culprit | 17:11 |
SynQ | the normal trash is empty | 17:11 |
@rizen | what about the system trash? | 17:11 |
@rizen | or are you saying you can't even view the system trash | 17:12 |
SynQ | but if I try to call Manage System Trash I get the shitting elephant | 17:12 |
SynQ | directly | 17:12 |
@rizen | ah | 17:12 |
SynQ | exactly | 17:12 |
@rizen | ok | 17:12 |
SynQ | that I am | 17:12 |
@rizen | then let me see about getting you an sql query | 17:12 |
SynQ | ok | 17:12 |
SynQ | ah wait, I get the 'system trash' window for just a second and then it immediately redirects me to the shitting elephant | 17:13 |
SynQ | select * 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 rows | 17:16 |
SynQ | select count(*) from asset; gives me 11228 | 17:17 |
SynQ | quite a nice site though :) | 17:17 |
@rizen | try this for me: | 17:18 |
@rizen | select 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 |
@rizen | if your site is in perfect form, it should give you zero results | 17:18 |
@rizen | this one is just for wobjects, it won't work for threads | 17:19 |
@rizen | writing another for threads | 17:19 |
SynQ | ok | 17:19 |
SynQ | that one gives an empty set :) | 17:20 |
SynQ | so that is good | 17:21 |
@rizen | now try: | 17:23 |
@rizen | select 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 |
SynQ | ah | 17:23 |
SynQ | that also gave an empty set | 17:23 |
@rizen | you know i should probably test these to make sure they work | 17:24 |
@rizen | give me a sec | 17:24 |
SynQ | ok :) | 17:24 |
@rizen | crap, those queries don't actually work | 17:27 |
@rizen | trying again | 17:28 |
SynQ | ok | 17:28 |
SynQ | I'll wait in patience | 17:28 |
@rizen | ok this one works for wobjects, tested and everything: | 17:31 |
@rizen | select 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 | |
SynQ | ok | 17:32 |
SynQ | that gives an empty set too :) | 17:32 |
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has joined #webgui | 17:33 | |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 17:33 | |
SynQ | ah | 17:33 |
SynQ | my dreamer | 17:33 |
+perlDreamer | morning, SynQ | 17:33 |
@rizen | well then your wobjects have the correct row counts as they should | 17:33 |
SynQ | ok | 17:33 |
SynQ | that is good | 17:33 |
+perlDreamer | http://blog.makezine.com/archive/2008/03/dress_up_your_wii_in_lego.html | 17:34 |
SynQ | now how about the Threads | 17:34 |
@rizen | elect 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 |
SynQ | ok | 17:35 |
SynQ | that also gives an empty set | 17:35 |
@rizen | oops, add the 's' to the beginning of that | 17:35 |
SynQ | yea figured that | 17:35 |
@rizen | ok, that ensures that your row counts match | 17:36 |
SynQ | ok | 17:36 |
SynQ | that is great | 17:36 |
SynQ | now for the shitting elephant | 17:36 |
@rizen | however, it doesn't guarantee that your data is not corrupted | 17:36 |
SynQ | when does it occur? | 17:36 |
@rizen | it should never occur, but on those old versions of 6.x there were some bugs that would let it happen from time to time | 17:36 |
SynQ | ah | 17:37 |
SynQ | how do I delete items from the trash one by one? | 17:37 |
@rizen | unfortunately, without writing a program | 17:39 |
@rizen | there is no way to do it in 6.7 | 17:39 |
@rizen | well i guess you could manually write a bunch of database queries | 17:39 |
@rizen | what you'd do is: | 17:40 |
@rizen | select assetId,className from asset where state like 'trash%'; | 17:40 |
SynQ | ok | 17:40 |
@rizen | that gets you a list of crap in the trash | 17:40 |
SynQ | thats near to 500 rows | 17:40 |
@rizen | then you have to write a delete for each table that the asset is part of, so if the classname is an article | 17:41 |
@rizen | you'd have to do: | 17:41 |
@rizen | delete from asset where assetId='XXX'; | 17:41 |
@rizen | delete from assetData where assetId='XXX'; | 17:41 |
@rizen | delete from wobject where assetId='XXX'; | 17:41 |
SynQ | aha | 17:41 |
@rizen | delete from Article where assetId='XXX'; | 17:41 |
SynQ | ok | 17:41 |
@rizen | obviously that's a lot of work | 17:42 |
SynQ | like I described in the bug report | 17:42 |
@rizen | so if you have 500 rows, then you're looking at somewhere between 1500 and 2000 sql queries you have to write | 17:42 |
SynQ | uhhuh | 17:43 |
@rizen | unless someone is nice enough to write a program for you | 17:43 |
SynQ | I allready wrote a little program myself | 17:43 |
SynQ | pasted that into that bugreport too | 17:43 |
SynQ | worked like a charm | 17:43 |
SynQ | but if that is all there is to it to delete those stuff | 17:43 |
SynQ | shouldn't I also delete stuff from the uploads folder? | 17:43 |
@rizen | right | 17:45 |
@rizen | that's where the program would come in | 17:45 |
@rizen | it woudl use the api to do it | 17:45 |
@rizen | and therefore would delete stuff from the uploads folder | 17:45 |
SynQ | ah | 17:46 |
SynQ | but that can be done manually too | 17:46 |
SynQ | isn't it? | 17:46 |
@rizen | yeah, but that's even more difficult | 17:46 |
@rizen | cuz you have to figure out what storage locations belong to what database rows | 17:46 |
SynQ | ah | 17:46 |
@rizen | the api knows that stuff | 17:46 |
SynQ | that is ok | 17:47 |
SynQ | but I don't know the api :) | 17:47 |
@rizen | hence why you want to get someone to write it for you | 17:47 |
@rizen | i'd do it, but i need to get going on commerce | 17:47 |
SynQ | ok, one last question | 17:48 |
SynQ | to get me going | 17:48 |
SynQ | perhaps I can use the DeleteExpiredTrash.pm | 17:48 |
SynQ | Hourly plugin | 17:48 |
SynQ | perlDreamer: could you help me further? | 17:50 |
+perlDreamer | I'll try. It sounds like your problem is that there's old cruft in the trash? | 17:51 |
SynQ | it is | 17:52 |
+perlDreamer | Is it possible to restore the original site, delete it from the trash then, and then rerun the upgrade? | 17:52 |
SynQ | oh | 17:52 |
SynQ | the original site has never been taken down | 17:53 |
SynQ | so there is no stress | 17:53 |
SynQ | it's just that I want to get things moving | 17:53 |
+perlDreamer | I'm confused. last night you couldn't run an upgrade due to a thread problem. Is this the same thing this morning? | 17:53 |
SynQ | I am trying to get the trash deleted on the live site though | 17:53 |
SynQ | it is the same kind of problem, but on another site | 17:54 |
SynQ | a much bigger one | 17:54 |
SynQ | the site I upgraded last night and finished tomorrow is here: http://www.podenco.nl | 17:54 |
SynQ | :) | 17:54 |
SynQ | now I'm working on a different site | 17:55 |
SynQ | a much bigger one | 17:55 |
+perlDreamer | Hunderbahr :) | 17:55 |
BartJol | tomorrow? | 17:55 |
SynQ | today | 17:55 |
+perlDreamer | heute | 17:55 |
SynQ | this morning | 17:55 |
SynQ | ja | 17:55 |
BartJol | :) | 17:55 |
SynQ | ok | 17:55 |
SynQ | lets say I modified runHourly.pl | 17:55 |
lisette | hello | 17:56 |
+perlDreamer | to delete the trash and storage | 17:56 |
lisette | the params of WebGUI::Session->user() is a hash? | 17:56 |
BartJol | I think an array | 17:57 |
+perlDreamer | it is a hash | 17:57 |
+perlDreamer | lisette, which version of wG are you using? | 17:58 |
-!- dhelsten [n=helsten@newcastlecapital.com] has joined #Webgui | 17:58 | |
BartJol | ah, but you sort the hash on shifting? | 17:58 |
+perlDreamer | BartJol: no | 17:58 |
lisette | 7.5.1 | 17:58 |
+perlDreamer | the POD for Session.pm says that user takes a hash reference { user => $userObject } or {userId => $id} | 17:59 |
BartJol | oh, that's the other direction... | 17:59 |
+perlDreamer | right | 17:59 |
BartJol | I understand | 17:59 |
SynQ | perlDreamer: indeed tot delete the trash and storage | 17:59 |
+perlDreamer | SynQ: 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 |
+perlDreamer | or just set the expire time in the db to something short, like 15 minutes | 18:01 |
lisette | i have this: $session2 = WebGUI::Session->user({userId=>$userId}) | 18:02 |
SynQ | indeed | 18:02 |
SynQ | I'm going to check the db for the expire time | 18:02 |
lisette | and 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 |
lisette | and i don't understand | 18:02 |
+perlDreamer | lisette, user is an object method, not a class method. You have to use it on a session object. | 18:02 |
+perlDreamer | If you want a new session, open one up | 18:03 |
+perlDreamer | my $session2 = WebGUI::Session->open(lots of session arguments here) | 18:03 |
+perlDreamer | $session2->user({userId => $userId}); | 18:03 |
+perlDreamer | and then set the userId on it | 18:03 |
+perlDreamer | although, 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 #webgui | 18:05 | |
-!- mode/#webgui [+o preaction] by ChanServ | 18:05 | |
SynQ | ah | 18:06 |
lisette | mmm | 18:06 |
lisette | ok, thanks | 18:07 |
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has left #webgui [] | 18:07 | |
SynQ | I just found out that if you do not set DeleteExpiredTrash_offset in the config file the expired trash is never deleted | 18:07 |
SynQ | so now it is | 18:07 |
-!- topsub [n=topsub20@97.66.185.250] has joined #webgui | 18:07 | |
+perlDreamer | so it is now cleared out? | 18:08 |
+perlDreamer | like a congested perlDreamer on DayQuil? | 18:08 |
topsub | I 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 |
SynQ | wel | 18:11 |
SynQ | it's not cleared out all of it yet | 18:11 |
SynQ | but I'm getting somewhere | 18:12 |
SynQ | time to get a cup of tea | 18:12 |
+perlDreamer | topsub, look in the sbin directory for a handy utility with a good name. | 18:16 |
ckotil | while performing a search index, i reach the max_allowed_packet limit. | 18:20 |
ckotil | Can I increase this easily? | 18:20 |
ckotil | it bombed out while indexing a pdf. | 18:20 |
ckotil | and i was just about to make my new custom search asset production, that allows searching based on content profile tags. | 18:21 |
BartJol | well, have a nice evening and some fun, I'm off | 18:22 |
ckotil | appears to be a mysql setting. | 18:22 |
-!- BartJol [n=plainstu@194.171.50.123] has left #webgui [] | 18:23 | |
SynQ | bye bart | 18:23 |
topsub | perlDreamer you are a life saver!! | 18:30 |
topsub | done.. saved me from having write a script | 18:30 |
CIA-22 | WebGUI: jt * r5925 /branch/WebGUI_Commerce/www/extras/yui: preparing to upgrade yui | 18:36 |
CIA-22 | WebGUI: jt * r5926 /Too many paths: upgrade to yui 2.5.1 | 18:36 |
dapperedodo | Thanks for upgrading YUI, we are using it already | 18: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 #webgui | 18:46 | |
topsub | in 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 option | 18:51 |
topsub | Did this change? How can i limit it to just search WebGUI::Asset::Files | 18:52 |
@rizen | lots of bug fixes in 2.5.1, seemed like a logical choice to upgrade it | 18:52 |
topsub | is 2.5.1 stable tho? | 18:53 |
@preaction | topsub, i just loaded a demo and i can see the limit selections | 18:53 |
topsub | do you see WebGUI::Asset::File? | 18:54 |
topsub | not File::Image.. just File | 18:54 |
@preaction | second on the list | 18:54 |
topsub | what version is that demo? | 18:54 |
@preaction | latest stable | 18:54 |
@preaction | http://demo.webgui.org/demo1206462554_160 Admin:123qwe | 18:54 |
+perlDreamer | config problem? | 18:54 |
@preaction | (username:password) | 18:54 |
@preaction | i suspect. dunno how Search gets its list of asset classes | 18:54 |
@rizen | it'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 already | 18:55 |
topsub | preaction, thats 7.4.26.. i have the 7.4.29 so could it got chagned? | 18:55 |
+perlDreamer | classLimiter is built dynamically from the list of assets in the asset table. | 18:56 |
@preaction | wtf... why is our stable demo at 7.4.26? | 18:56 |
@preaction | latest is 7.4.29 | 18:56 |
topsub | lol | 18:56 |
+perlDreamer | file a bug? | 18:56 |
topsub | it seems in 7.4.29 something changed. | 18:56 |
topsub | Would you like me to? | 18:57 |
topsub | Is there a way i can get it to show up manually or with a fix? | 18:57 |
topsub | have a project now i need to limit it to just File. | 18:57 |
@preaction | perlDreamer, it's built with an SQL query? not using the configured assets? | 18:57 |
@preaction | topsub, the demo site is running an older version is one bug, do you have any File assets in your site? | 18:58 |
+perlDreamer | options => $session->db->buildHashRef("select distinct(className) from asset") | 18:58 |
@preaction | ha... that must be old | 18:59 |
topsub | preaction, don't believe so, should i had one and see if it shows up? | 18:59 |
@preaction | topsub, please | 18:59 |
topsub | k one sec | 19:00 |
+perlDreamer | I'd file a bug for the out of date demo server, but the Search thing should be a wiki entry | 19:01 |
topsub | last night i found out the reason my install on Ubuntu was failing was because i was runnning setenvi..sh not as root | 19:01 |
topsub | guess in the wiki thats understood but me as a windows guy didn't know that | 19:01 |
topsub | :-) | 19:02 |
+perlDreamer | You are forgiven topsub, for penance, reinstall service pack 9 on your windows box 3 times | 19:02 |
topsub | lol | 19:02 |
topsub | aahhh so after i added a pdf document the WebGUI::Asset::File showed up | 19:07 |
ckotil | any chance I can up the max_allowed_packet in sbin/search.pl ? | 19:08 |
+perlDreamer | no idea, ckotil | 19:09 |
ckotil | k, its not a big deal, since i can change it in my.cnf and restart mysql | 19:09 |
-!- dapperedodo [n=dappered@194.171.50.69] has quit [] | 19:12 | |
+perlDreamer | how's the trash coming, SynQ? | 19:12 |
-!- dapperedodo [n=dappered@194.171.50.69] has joined #webgui | 19:14 | |
ckotil | hrmm seems xpdf doesnt suport pdf v 1.6 | 19:23 |
ckotil | has 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-22 | WebGUI: graham * r5927 /branch/WebGUI_7.4/ (4 files in 4 dirs): preparing for 7.4.30 | 19:35 |
CIA-22 | WebGUI: 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 alias | 19:35 |
CIA-22 | WebGUI: 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 root | 19:35 |
CIA-22 | WebGUI: 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 required | 19:35 |
CIA-22 | WebGUI: 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 listings | 19:35 |
CIA-22 | WebGUI: graham * r5932 /branch/WebGUI_7.4/ (docs/changelog/7.x.x.txt lib/WebGUI/Asset/Wobject/Matrix.pm): | 19:35 |
CIA-22 | WebGUI: fixed: Editting matrix listings shows fields from other matrix assets | 19:35 |
CIA-22 | WebGUI: fixed: Matrix assets show pending listings from all matrix assets on a site | 19:35 |
CIA-22 | WebGUI: 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 name | 19:35 |
CIA-22 | WebGUI: graham * r5934 /branch/WebGUI_7.4/ (3 files in 2 dirs): fixed: Importing a package can break when updating a pending asset | 19:35 |
CIA-22 | WebGUI: graham * r5935 /branch/WebGUI_7.4/ (4 files in 3 dirs): fixed: errors on package importing are always reported as corrupted packages | 19:35 |
CIA-22 | WebGUI: graham * r5936 /branch/WebGUI_7.4/ (2 files in 2 dirs): fixed: Optional pubDate RSS field generates warnings when missing | 19:35 |
CIA-22 | WebGUI: 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 replies | 19:35 |
CIA-22 | WebGUI: graham * r5938 /branch/WebGUI_7.4/ (3 files in 2 dirs): fixed: Able to cut or trash system assets | 19:35 |
CIA-22 | WebGUI: 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 tag | 19:36 |
CIA-22 | WebGUI: graham * r5940 /branch/WebGUI_7.4/lib/WebGUI/Form/List.pm: displayValue for list should show values instead of keys | 19:36 |
CIA-22 | WebGUI: graham * r5941 /branch/WebGUI_7.4/ (2 files in 2 dirs): fixed: DataForm will create fields with duplicate names but doesn't use them separately | 19:36 |
CIA-22 | WebGUI: graham * r5942 /branch/WebGUI_7.4/ (2 files in 2 dirs): fixed: Bad message if database link for SQL Report doesn't exist | 19:36 |
CIA-22 | WebGUI: 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 Parent | 19:36 |
CIA-22 | WebGUI: 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 asset | 19:36 |
-!- dapperedodo [n=dappered@ip56503e61.direct-adsl.nl] has joined #webgui | 19:38 | |
@apeiron | whoa. | 20:06 |
@apeiron | Haarg++ # bugfix spree | 20:06 |
@Haarg | heh | 20:16 |
@Haarg | that was porting 7.5 changes | 20:16 |
@rizen | perlDreamer: 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 minutes | 20: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 #webgui | 20:30 | |
-!- MrHairgrease [n=martin@145.94.221.57] has joined #webgui | 20:31 | |
-!- mode/#webgui [+v MrHairgrease] by ChanServ | 20:31 | |
CIA-22 | WebGUI: graham * r5945 /branch/WebGUI_7.4/docs/create.sql: preparing for 7.4.30 release | 20:32 |
topsub | I 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 |
topsub | i am going to override the "view" function in Search.pm | 20:38 |
CIA-22 | WebGUI: jt * r5946 /releases/WebGUI_7.4.30-stable: Release 7.4.30-stable | 20:49 |
@preaction | topsub, 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 manner | 20:57 |
@preaction | topsub, but yes, you create the entire WebGUI/Asset/Wobject heirarchy | 20:57 |
-!- dapperedodo [n=dappered@ip56503e61.direct-adsl.nl] has quit [Read error: 104 (Connection reset by peer)] | 20:57 | |
@preaction | imagine that preload.perl simple does "use lib $YOUR_DIR" | 20:57 |
@preaction | which is basically what it does | 20:57 |
-!- dapperedodo [n=dappered@ip56503e61.direct-adsl.nl] has joined #webgui | 20:58 | |
+perlDreamer | rizen: sweet | 20:58 |
+perlDreamer | I'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 stuck | 20:58 |
@apeiron | preaction, You *can* override a single method like that, using preload.custom. | 20:59 |
@apeiron | preaction, override / replace | 20:59 |
perlmonkey2 | pong | 20:59 |
@preaction | apeiron, how | 20:59 |
+perlDreamer | perlmonkey2: must hit head on wall for a few more hours before calling in the calvary. So consider that a pre-ping. | 21:00 |
@preaction | putting use lib "/data/WebGUI"; use base lib::WebGUI::Asset::Wobject::Search; perhaps? | 21:00 |
@apeiron | preaction, Not quite. | 21:00 |
@apeiron | preaction, /data/WebGUI/sbin/preload.custom.example | 21:01 |
@apeiron | preaction, Put files under that directory to match the hierarchy in /data/WebGUI. | 21:01 |
@preaction | all preload.custom does is add directories to @INC | 21:01 |
@preaction | so if you add a WebGUI::Asset::Search in your preload.custom directory, it REPLACES the existing WebGUI::Asset::Search | 21:01 |
@preaction | it doesn't override | 21:01 |
@apeiron | perldoc -f unshift | 21:02 |
@apeiron | It *prepends* | 21:02 |
@preaction | it prepends @INC directories so that the custom directories are checked first for the modules you request | 21:02 |
+perlDreamer | You guys can stop arguing, because you're saying the same thing. | 21:02 |
-!- jdanpl [n=jdanpl@xdsl-461.lubin.dialog.net.pl] has joined #webgui | 21:02 | |
@apeiron | shrug. All I know is that I just did this and it worked nicely. :) | 21:02 |
+perlDreamer | you can't override just a method using preload.perl, you have to provide everything _and_ the override. | 21:03 |
@preaction | so your replacement contained a single method and the other methods got populated from the class you overrode? | 21:03 |
@preaction | that's what topsub wants | 21:03 |
@apeiron | preaction, Yes. | 21:03 |
@preaction | hell, that'd be what I wanted too | 21:03 |
CIA-22 | WebGUI: graham * r5947 /branch/WebGUI_7.4/ (4 files in 4 dirs): preparing for 7.4.31 dev | 21:04 |
@apeiron | preaction, Was Haarg++'s idea originally, actually. | 21:06 |
topsub | brb thanks preaction | 21:06 |
-!- topsub [n=topsub20@97.66.185.250] has quit [] | 21:06 | |
lisette | how to use an errorHandler? | 21:15 |
+perlDreamer | errorHandler is used instead of the perl functions warn or die, and to log information into the webgui.log file | 21:16 |
+perlDreamer | $session->errorHandler->warn("message"); ##for example | 21:16 |
+perlDreamer | perldoc WebGUI::Session::ErrorHandler.pm | 21:16 |
@apeiron | lisette, WebGUI uses log4perl for its logging functionality, but provides an API around it. | 21:18 |
lisette | thanks | 21:19 |
lisette | i see this warn in the webgui.log or error.log? | 21:26 |
@preaction | webgui.log | 21:27 |
@apeiron | lisette, Take a look at your log.conf, that should show you where it'll appear. | 21:27 |
@preaction | or rather, whereever your etc/log.conf puts it | 21:27 |
@apeiron | lisette, Note that if your log level is set to, say, ERROR, it may not show up at all. | 21:27 |
@apeiron | Well, if it's set to ERROR it absolutely won't. | 21:27 |
lisette | thanks | 21:30 |
CIA-22 | WebGUI: colin * r5948 /WebGUI/lib/WebGUI/Asset/Wobject/Search.pm: make useContainers use the i18n that was made for labeling and hover help | 21:31 |
CIA-22 | WebGUI: colin * r5949 /WebGUI/lib/WebGUI/i18n/English/Asset_Thingy.pm: fix typo in Thingy i18n for searchResult_loop | 21:31 |
perlmonkey2 | any tried to build WebGUI in 5.10? | 21:34 |
-!- crythia1 [n=gyoung@fl-69-68-148-96.sta.embarqhsd.net] has joined #webgui | 21:40 | |
-!- mode/#webgui [+v crythia1] by ChanServ | 21:40 | |
-!- crythia1 [n=gyoung@fl-69-68-148-96.sta.embarqhsd.net] has left #webgui [] | 21:40 | |
perlmonkey2 | I'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 |
perlmonkey2 | these are functions that belong to the current wobject, so creating another object wouldn't make much sense. | 21:45 |
@rizen | javascript or perl? | 21:45 |
perlmonkey2 | perl | 21:45 |
@rizen | there are two ways for you to do it | 21:46 |
@rizen | 1) create mixin packages like Asset.pm does | 21:46 |
@rizen | 2) create stand alone packages that are used by the asset | 21:46 |
@rizen | so in your case you may create "question" object | 21:46 |
@rizen | and an answer object | 21:46 |
@rizen | and whatever else | 21:46 |
@rizen | generally speaking though...i'd prefer that the entire asset be self contained | 21:47 |
@rizen | in one file | 21:47 |
@rizen | so if you want to create these separate packages, i'd recommend doing it in a single file | 21:47 |
@rizen | you can create more than one package per file in perl | 21:48 |
perlmonkey2 | I 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 |
perlmonkey2 | The 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.s | 21:49 |
@rizen | assets that are self contained don't clutter the asset namespace | 21:49 |
@rizen | that's why i like them in one file | 21:49 |
perlmonkey2 | That makes sense. Keeping the namespace organized is probably more important than me having to deal with traversing a 500 line file :P | 21:52 |
perlmonkey2 | Just 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 |
@preaction | i would say yes if and only if the pregenerated answers were not changed to anything custom | 21:59 |
@preaction | or, if the pregenerated answers are changed, the mulitple choice type gets immediately changed to "Custom" or something | 22:01 |
perlmonkey2 | preaction: I like it. | 22:01 |
@preaction | which one? | 22:01 |
@preaction | i think i like the second one more, since it'd be easier to code | 22:01 |
perlmonkey2 | I have just the generic "Multiple Choice" type I'll flip them to if they update a pregenerated answer. | 22:01 |
perlmonkey2 | So 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 | |
@preaction | you 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 questions | 22:04 |
-!- dapperedodo [n=dappered@ip56503e61.direct-adsl.nl] has left #webgui [] | 22:06 | |
perlmonkey2 | I 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 |
perlmonkey2 | But all the multiple choice types will be under Multiple choice, the date types under date, text types under text, etc | 22:07 |
-!- topsub [n=topsub20@97.66.185.250] has joined #webgui | 22:10 | |
topsub | we 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 |
topsub | we double check our settings and when we name the class we don't have an extra .pm | 22:13 |
@preaction | preload.custom is for directories, not files | 22:15 |
topsub | correct. i have "/data/WebGUI/site_lib" in it | 22:17 |
topsub | then inside site_lib i have /WebGUI/Asset/Wobject/SearchExt.pm | 22:18 |
topsub | http://pastebin.com/d25f42c3c | 22:19 |
topsub | thats the error message | 22:20 |
topsub | just adding on another .pm | 22:20 |
+perlDreamer | it's either a bug or a feature | 22:22 |
+perlDreamer | try adding another directory in there | 22:22 |
+perlDreamer | like /data/WebGUI/site_lib/lib/WebGUI | 22:22 |
+perlDreamer | add that lib directory and put WebGUI into it. | 22:22 |
+perlDreamer | it's this regexp from preload.perl | 22:22 |
+perlDreamer | $package =~ s/.*\/lib\/(.*)\.pm$/$1/; | 22:22 |
+perlDreamer | it wants a lib part of the path | 22:22 |
+perlDreamer | or else :) | 22:23 |
topsub | alright we are trying that now | 22:24 |
topsub | will i need to add "/data/WebGUI/site_lib/lib" to preload.custom.. Update that path? | 22:25 |
+perlDreamer | yes | 22:26 |
-!- perlbot [n=perlbot@lv.pm.org] has quit [Excess Flood] | 22:27 | |
-!- perlbot [n=perlbot@lv.pm.org] has joined #webgui | 22:27 | |
topsub | no 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 #webgui | 22:28 | |
jua1 | hello | 22:28 |
topsub | hi | 22:28 |
+perlDreamer | yes | 22:28 |
topsub | hmm alright i will look into it more | 22:29 |
+perlDreamer | try printing out the name of the files as they are loaded in preload.perl | 22:29 |
topsub | alright | 22:30 |
jua1 | i 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 |
jua1 | i have a terrible confusion with my users | 22:32 |
jua1 | they are calling me reporting that problem | 22:33 |
jua1 | do you know, how to fix that problem? | 22:33 |
jua1 | what is the cause? | 22:33 |
jua1 | should be problems with ldap? | 22:34 |
jua1 | because in both sites is happening the same problem | 22:35 |
CIA-22 | WebGUI: graham * r5950 /WebGUI/ (docs/changelog/7.x.x.txt lib/WebGUI/Asset/RSSCapable.pm): fixed: Collaboration System errors when missing RSS From Parent | 22:37 |
CIA-22 | WebGUI: graham * r5951 /WebGUI/ (3 files in 3 dirs): fixed: Syndicated Content picks wrong entries for interleaving | 22: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 #webgui | 23:04 | |
lisette | i 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 |
lisette | what i do? | 23:07 |
+perlDreamer | subprocess == subparam? | 23:07 |
+perlDreamer | my $self = shift; | 23:07 |
+perlDreamer | my $params = shift; | 23:07 |
+perlDreamer | ? | 23:07 |
lisette | sub | 23:08 |
lisette | subrutinas | 23:09 |
+perlDreamer | can you paste the macro code? | 23:09 |
+perlDreamer | use webgui.pastebin.com | 23:09 |
-!- jdanpl [n=jdanpl@xdsl-461.lubin.dialog.net.pl] has quit ["Leaving"] | 23:10 | |
lisette | http://webgui.pastebin.com/d1175fdaa | 23:12 |
+perlDreamer | lisette, there are a number of problems with the code | 23:14 |
CIA-22 | WebGUI: graham * r5952 /WebGUI/ (2 files in 2 dirs): fixed: Syndicated Content URLs using macros not updated by caching workflow | 23:14 |
+perlDreamer | $dbh and $score are undefined when up and down are called | 23:14 |
lisette | not | 23:15 |
lisette | i don't paste this | 23:15 |
+perlDreamer | ah, I see | 23:15 |
lisette | but i have defined | 23:15 |
+perlDreamer | the 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 |
+perlDreamer | but you said the hash was empty, not just with 1 key/value pair in it | 23:18 |
+perlDreamer | how are you checking to see if the hash has data in it? | 23:19 |
+perlDreamer | Are you using Data::Dumper, or something else? | 23:19 |
lisette | yes, i checking the data with an errorHandler | 23:21 |
+perlDreamer | well, from looking at the code, it is possible that it falls through both up and down. | 23:21 |
+perlDreamer | they have if statements which prevent them from assigning to %hash if there are no rows | 23:22 |
+perlDreamer | so it is possible for the hash to be empty, depending on where you check it in the code. | 23:22 |
+perlDreamer | Can you paste the debug errorHandler code as well? | 23:22 |
lisette | wait | 23:24 |
lisette | i have an error with the references with hash | 23:27 |
lisette | i try with the modification and tell you ;) | 23:28 |
+perlDreamer | buena suerte | 23:28 |
lisette | gracias | 23:28 |
lisette | si consultaste sobre lo del returnPath con el send de webgui? | 23:28 |
+perlDreamer | Ya 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 | |
+perlDreamer | Todavia no me busco para la problema con returnPath. | 23:31 |
lisette | se dice: todavia no busco el problema con el returnPath | 23:32 |
+perlDreamer | gracias :) | 23:33 |
+perlDreamer | Necesito practicar hablando español mas. | 23:33 |
lisette | necesito practicar mas el español | 23:33 |
+MrHairgrease | ja hallo, als jullie spaans gaan praten doe ik het wel lekkeah in he nederlands!!! | 23:33 |
+MrHairgrease | =) | 23:34 |
lisette | i 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 | 23:34 |
lisette | i have a terrible confusion with my users | 23:34 |
lisette | they are calling me reporting that problem | 23:34 |
lisette | do you know, how to fix that problem? | 23:34 |
+perlDreamer | Weird | 23:34 |
lisette | what is the cause? | 23:34 |
lisette | should be problems with ldap? | 23:34 |
+perlDreamer | You have the same problem as jua1 | 23:34 |
lisette | because in both sites is happening the same problem | 23:34 |
lisette | yes | 23:34 |
+perlDreamer | Do you use the same hoster? | 23:34 |
lisette | jua1 working with me | 23:35 |
+perlDreamer | Which version of wG are you using? | 23:35 |
lisette | 7.4.27 | 23:35 |
+perlDreamer | LDAP 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 |
+perlDreamer | it could also be a server side caching problem | 23:36 |
jua1 | perlDreamer, we have some sites two without ldap authentication and they don't have that problem | 23:37 |
+perlDreamer | Are there other differences as well? Such as that user switching macro that y'all have been working on? | 23:37 |
jua1 | no, there aren't other differences | 23:38 |
jua1 | what do you use to have a single sign on? | 23:40 |
+perlDreamer | A 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 |
jua1 | ok, i am going to check | 23:42 |
jua1 | if you have some help in spanish, we can help you | 23:43 |
+perlDreamer | Your 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 |
jua1 | excuseme, if you need | 23:44 |
+perlDreamer | Mis hijos aprenden español. Necesito mucho ayuda | 23:44 |
jua1 | claro que si | 23:45 |
jua1 | cuando la necesites con mucho gusto | 23:45 |
-!- estiven [n=estiven@201.232.58.66] has joined #webgui | 23:45 | |
+perlDreamer | gracias | 23:45 |
lisette | cuando necesites ayuda, con mucho gusto! | 23:45 |
estiven | si lisette es muy servicial.... | 23:46 |
lisette | es amable | 23:46 |
lisette | servicial no | 23:46 |
estiven | jeje | 23:46 |
+perlDreamer | Tengo miedo de preguntar que significa servicial | 23:47 |
lisette | jajajajaja | 23:47 |
jua1 | :-D | 23:47 |
lisette | servicial es amable, pero es mas tirando a otro tipo | 23:48 |
CIA-22 | WebGUI: graham * r5953 /WebGUI/ (2 files in 2 dirs): fixed: Syndicated Content asset tries too hard to get URLs returning errors | 23:50 |
lisette | perlDreamer, muchas gracias por tu ayuda. | 23:56 |
+perlDreamer | de nada | 23:56 |
+perlDreamer | tiene la problema todavia, or is it fixed? | 23:57 |
--- Day changed Wed Mar 26 2008 | ||
lisette | todavia tiene el problema | 00:00 |
lisette | i fix part, but when i return the hash theres nothing | 00:01 |
+perlDreamer | Are you sure that your SQL queries return data? | 00:02 |
lisette | i debug in the sub up and down, but when i do in the sub process, there is an error | 00:03 |
lisette | and the queries returns well | 00:04 |
+perlDreamer | What's the error that perl gives? | 00:04 |
+MrHairgrease | lisette, maybe you know already: | 00:05 |
lisette | no, i don't see nothing in the log, but in the execution theres nothing | 00:05 |
+MrHairgrease | %hash = {"usuario$i"=>$username, "score$i"=> $score}; | 00:05 |
+MrHairgrease | is not good | 00:05 |
+MrHairgrease | {} creates a hashRef | 00:05 |
lisette | and then how to? | 00:05 |
+MrHairgrease | you should use () | 00:05 |
+perlDreamer | parens | 00:05 |
+perlDreamer | actually, it would be better to do | 00:05 |
lisette | yes, i fix that | 00:05 |
lisette | and the problems continue | 00:06 |
lisette | thanks | 00:06 |
+perlDreamer | Tenemos un nuevo "paste"? | 00:06 |
+MrHairgrease | try running it with perl -w it'll prolly give you some clues for other problems | 00:06 |
lisette | no | 00:06 |
+perlDreamer | para referencia | 00:06 |
lisette | ah, wait | 00:06 |
+MrHairgrease | ok afk again | 00:06 |
+perlDreamer | Guten Nacht, HerrGrease | 00:06 |
+MrHairgrease | no no | 00:08 |
+MrHairgrease | if it were only that | 00:08 |
+MrHairgrease | I'm doing experiments at the university | 00:08 |
lisette | http://webgui.pastebin.com/d1c45d7b7 | 00:09 |
+perlDreamer | y el sub dice nada? | 00:11 |
lisette | no entendi | 00:11 |
lisette | i don't understand | 00:11 |
+perlDreamer | The process sub prints nothing? | 00:11 |
lisette | yes, nothing | 00:11 |
+perlDreamer | in /data/WebGUI/etc/log.conf, try this: | 00:12 |
+perlDreamer | http://webgui.pastebin.com/d1c45d7b7 | 00:12 |
+perlDreamer | log4perl.logger = INFO, mainlog | 00:12 |
+perlDreamer | By default, warnings are not printed into the logs anymore | 00:12 |
+perlDreamer | This will set it so that warnings are put into the logs. | 00:12 |
+perlDreamer | you may need to restart WebGUI after that change to have it take effect | 00:13 |
lisette | WebGUI or apache? | 00:14 |
+perlDreamer | apache | 00:14 |
lisette | same | 00:15 |
lisette | nothing | 00:15 |
+perlDreamer | hm | 00:16 |
+perlDreamer | Not even the "entrando a process" message? | 00:16 |
lisette | no | 00:16 |
lisette | sorry | 00:16 |
lisette | yes | 00:16 |
+perlDreamer | okay, that's a good start. | 00:16 |
lisette | but i don't see the content of variable | 00:17 |
+perlDreamer | It just prints: usuario1 - output | 00:17 |
lisette | yes | 00:17 |
+perlDreamer | Can you please print out the JSON of the entire %hash as a warn? | 00:18 |
lisette | there's comment | 00:18 |
lisette | wait | 00:21 |
lisette | 2008/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 37 | 00:24 |
+perlDreamer | I think that's a bad JSON call. | 00:25 |
lisette | mmm | 00:26 |
+perlDreamer | try this instead: | 00:26 |
+perlDreamer | return JSON::to_json(\%hash); | 00:26 |
+perlDreamer | also, 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 |
+perlDreamer | my $user = WebGUI::User->new($session, $userId); my $username = $user->username; | 00:28 |
lisette | ya no aparece el error del json | 00:28 |
+perlDreamer | bien | 00:28 |
lisette | but agains don't see the variable | 00:28 |
+perlDreamer | Como aperece el contenido del %hash? | 00:28 |
lisette | no aparece | 00:28 |
+perlDreamer | the first return is commented out, and the second is not commented? | 00:29 |
lisette | yes | 00:29 |
+perlDreamer | I'd like to suggest two things. | 00:30 |
+perlDreamer | 1) Use the log file instead of the macro output for debugging | 00:30 |
+perlDreamer | 2) print out %hash at the end of up and down to see what's going on in there. | 00:31 |
lisette | ok | 00:31 |
+perlDreamer | lisette: This should fix the Session and hash crashing problems: http://webgui.pastebin.com/m66eb44f6 | 00:35 |
+perlDreamer | This will run faster, since it doesn't create a new session to get the username for a given userId. | 00:38 |
+perlDreamer | and won't create lots of extra Sessions | 00:38 |
+perlDreamer | also, I think the hash assignment is the problem. | 00:38 |
+perlDreamer | %hash = (key => $value) does not append to a hash, it replaces the contents | 00:39 |
lisette | ok, i see | 00:39 |
lisette | thanks | 00:39 |
lisette | i have to pass like a parameter $session? | 00:48 |
@apeiron | hrm. 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 |
@apeiron | Like, say, PDF? | 00:50 |
+perlDreamer | lisette: to create a new user? yes. | 00:50 |
+perlDreamer | You may need to pass it into up and down | 00:50 |
lisette | ok | 00:50 |
+perlDreamer | along with the other parameters | 00:50 |
lisette | i see the content of variable $output, thanks | 00:53 |
+perlDreamer | Funciona bien? | 00:53 |
lisette | si, ya me salio el mensaje del warn con el contenido de la variable | 00:54 |
-!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"] | 00:55 | |
+perlDreamer | Debe venir a la conferencia y toma clases en el WUC, en agosto de este año. | 00:56 |
+perlDreamer | Hay clases del WebGUI API | 00:56 |
lisette | interesante | 00:57 |
lisette | cuanto valen? | 00:58 |
+perlDreamer | $500 for two days, the tutorials cost $400 more | 00:59 |
+perlDreamer | http://www.plainblack.com/wuc/registration | 00:59 |
+perlDreamer | actually, the tutorials don't teach perl anymore, so probably just the conference would be of use | 01:00 |
lisette | y no se puede virtual? | 01:01 |
+perlDreamer | despues de la conferencia, puede comprar videos de la conferencia | 01:01 |
+perlDreamer | pero valen mas que la conferencia | 01:02 |
lisette | cuanto? | 01:02 |
+perlDreamer | $600 | 01:02 |
lisette | mas los tutoriales o ya incluyen los tutoriales | 01:02 |
+perlDreamer | pues, menos que volar a los Estados Unidos | 01:02 |
lisette | si | 01:03 |
+perlDreamer | no incuyen los tutoriales | 01:03 |
lisette | thanks | 01:03 |
-!- jua1 [n=juangui@201.232.58.66] has left #webgui [] | 01:04 | |
+perlDreamer | Hacen ustedes un juego? | 01:14 |
estiven | sip | 01:17 |
estiven | pero lisette acabo de salir,. | 01:18 |
+perlDreamer | es una buena idea | 01:21 |
+perlDreamer | voy a salir tambien | 01:21 |
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has quit ["Download Gaim: http://gaim.sourceforge.net/"] | 01:23 | |
* MrHairgrease is headed home | 01:27 | |
+MrHairgrease | later | 01:28 |
-!- MrHairgrease [n=martin@145.94.221.57] has left #webgui [] | 01:28 | |
-!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui | 01:29 | |
-!- mode/#webgui [+v Radix-wrk] by ChanServ | 01: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 #WebGUI | 01:57 | |
-!- ascii [n=ascii@64.234.60.83] has joined #webgui | 02: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 #webgui | 02:53 | |
-!- mode/#webgui [+o preaction] by ChanServ | 02:53 | |
-!- perlDreamer [n=colink@pool-71-117-250-89.ptldor.fios.verizon.net] has joined #webgui | 02:56 | |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 02:56 | |
-!- estiven [n=estiven@201.232.58.66] has quit [Read error: 110 (Connection timed out)] | 02:58 | |
+perlDreamer | just what is it about root beer and pizza? | 03:00 |
+perlDreamer | they go so well together | 03:00 |
@apeiron | It all depends upon the *kind* of root beer, sir. | 03:00 |
+perlDreamer | I like a cold, Henry Weinhards | 03:01 |
+perlDreamer | what do you like, apeiron? | 03:01 |
@apeiron | hmm. | 03:01 |
@apeiron | I go for Barq's personally. | 03:01 |
@apeiron | I've never heard of Henry Weinhards. | 03:01 |
+perlDreamer | what? | 03:01 |
+perlDreamer | We'll fix that at the WUC. | 03:01 |
@apeiron | ... it seems we have a dilemma. :) | 03:01 |
@rizen | sprechers | 03:01 |
+perlDreamer | Henry's is a local beer brewery who expanded into craft beers and a root beer | 03:01 |
@rizen | or is it sprekers | 03:01 |
@rizen | rootbeer and pizza sounds good, but i can't have any | 03:02 |
@rizen | except on saturdays | 03:02 |
+perlDreamer | what happens on Saturdays? | 03:02 |
@rizen | that's my high carb load day | 03:03 |
@rizen | during the week i eat slow burning carbs like beans | 03:03 |
@rizen | and veggies | 03:03 |
+perlDreamer | how's your training coming? | 03:03 |
@rizen | on the weekends i spike my hypoglycemic index by eating lots of fast burning carbs like pizza | 03:03 |
@rizen | oooh...and succulent pussers | 03:04 |
+perlDreamer | pussers? | 03:04 |
@rizen | jelly filled dohnuts | 03:04 |
@rizen | the training is going very slowly, but it's going | 03:04 |
@rizen | i've only lost 15 lbs since the wuc last year | 03:04 |
+perlDreamer | but what about muscle? | 03:05 |
@rizen | but to be honest i didn't work at it that hard over the winter | 03:05 |
+perlDreamer | sure, but now with all that water pumping, you should be ripped! | 03:05 |
@rizen | hard to say...i'm probably in better shape now, but i have a long way to go | 03:05 |
@rizen | i still get winded way too easily | 03:05 |
+perlDreamer | I know it's harder, but I think slower is better. | 03:05 |
+perlDreamer | it's about permanent, managable life style change | 03:06 |
@rizen | i've made some big sweeping changes in my diet...but i've done it slowly | 03:06 |
@rizen | if you look at what i ate 2 years ago vs what i eat now | 03:07 |
@rizen | it's an amazing change | 03:07 |
@rizen | exercise is tough mainly finding the time...i'm always coding =) | 03:07 |
+perlDreamer | I worked out today. | 03:08 |
+perlDreamer | Shoulders | 03:08 |
+perlDreamer | You know it's a good workout when you can't wash yourself in the shower afterward | 03:09 |
+perlDreamer | http://use.perl.org/~perigrin/journal/35977 | 03:12 |
+perlDreamer | well, my pagination/sorting code is still broken, even with 2.5.1 | 03:14 |
+Radix-wrk | perlDreamer: or drive home afterwards :) | 03:15 |
+Radix-wrk | squats are good for making your legs like jelly | 03:15 |
@rizen | my favorite is when your arms are so sore that you drop the bottle of water that you're trying to pull out of the fridge | 03:16 |
+perlDreamer | Radix-wrk, "fortunately" I am within walking distance of work | 03:17 |
+Radix-wrk | you can walk afterwards? | 03:17 |
+perlDreamer | some days | 03:17 |
+perlDreamer | "You either walk out, crawl out, or get carried out" | 03:17 |
+Radix-wrk | I've just started hitting the gym again myself - got a bad case of DOMS atm | 03:17 |
+Radix-wrk | least I can drive home with DOMS tho :) | 03:18 |
@rizen | DOMS? | 03:24 |
+perlDreamer | Delayed onset muscular soreness | 03:25 |
+perlDreamer | rizen: stuck with js again | 03:25 |
+perlDreamer | suggestions? | 03:25 |
+perlDreamer | all pagination and sorting seems to be disabled | 03:25 |
+perlDreamer | the form is instrumented okay with areas for doing both | 03:26 |
+perlDreamer | but clicking does nothing | 03:26 |
+perlDreamer | and the server says no new requests have been made | 03:26 |
+perlDreamer | so it's not sending requests | 03:26 |
@rizen | is this still on tax stuff? | 03:27 |
+perlDreamer | yeah | 03:27 |
@rizen | back off whatever changes you made to get it working and then add them back in one by one | 03:27 |
@rizen | that's what i've been doing | 03:27 |
@rizen | i also stick little alert() in here and there | 03:28 |
@rizen | to give me some debug | 03:28 |
@rizen | in other words "what have you changed since it was working?" | 03:28 |
+perlDreamer | the pagination and sorting seem to be tied together, so that I can't isolate them | 03:30 |
+perlDreamer | I'll try the alerts first | 03:30 |
-!- Haarg [n=haarg@66-168-19-128.dhcp.mdsn.wi.charter.com] has joined #webgui | 03:52 | |
-!- mode/#webgui [+o Haarg] by ChanServ | 03:52 | |
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Connection timed out] | 04:02 | |
@rizen | ok pd | 04:12 |
@rizen | i have the large tax table imported | 04:12 |
@rizen | what is the problem? | 04:13 |
+perlDreamer | no server side pagination or sorting | 04:13 |
+perlDreamer | try to get another page, or sort a column (country, state, city or code) | 04:13 |
+perlDreamer | nothing happens | 04:13 |
@rizen | so what i'm seeing here is client side pagination and sorting? | 04:13 |
+perlDreamer | no, it's supposed to be server side, but it's not working | 04:13 |
@rizen | it is sorting and paginating currently | 04:13 |
CIA-22 | WebGUI: jt * r5954 /branch/WebGUI_Commerce/ (7 files in 7 dirs): | 04:13 |
CIA-22 | WebGUI: added WebGUI.str javascript class with sprintf and trim functions | 04:13 |
CIA-22 | WebGUI: got the badge builder working in the EMS | 04:13 |
@rizen | my god where did you get all this tax data? | 04:14 |
+perlDreamer | State of California :) | 04:14 |
@rizen | they have a web site or something? | 04:14 |
+perlDreamer | yeah | 04:14 |
@rizen | nice | 04:14 |
+perlDreamer | Google for California state sales tax table | 04:15 |
+perlDreamer | it can't be working | 04:15 |
+perlDreamer | maybe it only doesn't work on FireFox | 04:15 |
@rizen | wisconsin sucks | 04:16 |
@rizen | http://www.revenue.wi.gov/faqs/pcs/taxrates.html#txrate11 | 04:16 |
@rizen | they only provide a county table | 04:16 |
@rizen | not a city by city table | 04:16 |
@rizen | it's working in safari | 04:16 |
@rizen | let me try firefox | 04:16 |
+perlDreamer | there may be a way to cross-index with zip code | 04:17 |
@rizen | pagination is working in firefox for me too | 04:18 |
@rizen | maybe you should revert your local copy | 04:18 |
+perlDreamer | well, I guess it's only linux-firefox then | 04:18 |
+perlDreamer | I did | 04:18 |
@rizen | oh | 04:18 |
+perlDreamer | YUI sucks | 04:19 |
@rizen | yui RULES!!! | 04:19 |
@rizen | you should see the crazy shit i'm doing in the ems | 04:19 |
+perlDreamer | it won't work on linux | 04:20 |
@apeiron | perlDreamer, s/YUI/web browsers/ | 04:20 |
+perlDreamer | apeiron, oh no. YUI doesn't have firefox in their a-browser list | 04:20 |
@rizen | yes they do | 04:20 |
@apeiron | perlDreamer, Am I missing some sarcasm? | 04:20 |
@rizen | http://developer.yahoo.com/yui/articles/gbs/ | 04:21 |
@rizen | firefox 2 is all the way across the board an a-grade browser | 04:21 |
@rizen | pd have you tried restarting firefox? | 04:22 |
@rizen | maybe it's in a bad state | 04:22 |
@rizen | i've had that happen before | 04:23 |
+perlDreamer | I'll give that a shot | 04:23 |
+perlDreamer | and eat some sympathy pizza, too | 04:23 |
@rizen | hehe | 04:23 |
@rizen | i'm absolutely amazed that this tax table for california is free | 04:23 |
@apeiron | http://xrl.us/bh9k5 (Link to revenue-pa.custhelp.com) | 04:25 |
@apeiron | Yay Pennsylvania. Statewide 6%... *except* Filthydelphia and Allegheny. | 04:26 |
@rizen | wow, that makes the tax table for pa pretty easy then | 04:27 |
@apeiron | Note the provision for motor vehicles, though. | 04:27 |
+perlDreamer | btw, FireFox on linux is not supported in YUI | 04:28 |
+perlDreamer | based on these results, with good reason :) | 04:29 |
@apeiron | I thought the point of Gecko was to make a cross-platform rendering engine. | 04:30 |
@rizen | how is that possible? isn't the gecko engine the same everywhere? | 04:30 |
@apeiron | Well, 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 Fedora | 04:33 | |
+perlDreamer | updates installed, restarting firefox | 04:38 |
@apeiron | I just got prodded into getting FF 2.0.0.13; dunno if the Fedora folks have that yet. | 04:38 |
+perlDreamer | it's 2.0.0.12-1 | 04:39 |
+perlDreamer | and it's didn't help either | 04:39 |
+perlDreamer | rizen, this means I'm going to be minimally useful with UI design | 04:39 |
@rizen | understood | 04:40 |
@rizen | well do you want to start on the product asset? | 04:40 |
@rizen | there's no js there | 04:40 |
@rizen | i think tax is done enough anyway | 04:40 |
+perlDreamer | Product asset just gets converted to SKU? | 04:41 |
+perlDreamer | or uses sku? | 04:41 |
@rizen | The product asset just gets converted to be a subclass of sku instead of wobject | 04:43 |
@rizen | that's step 1 | 04:43 |
@rizen | then we have to merge the old commerce product system into it | 04:43 |
@rizen | that's step 2 | 04:43 |
@rizen | but for now, just worry about step 1 | 04:43 |
+perlDreamer | will do | 04:43 |
@rizen | i think step1 should be pretty easy | 04:44 |
@rizen | the hardest part will be converting all the $self->setCollateral calls to use $self->session->db->setRow | 04:44 |
@rizen | instead | 04:44 |
+perlDreamer | ah, because it's not a Wobject anymore | 04:45 |
@rizen | yup | 04:45 |
@rizen | there are 5 skus built out now though | 04:45 |
@rizen | so you have plenty of examples of how they work | 04:46 |
+perlDreamer | texas sales tax tables: http://www.window.state.tx.us/taxinfo/local/cityrate.fnm | 04:46 |
@rizen | alright, going to call it a night. gotta try to shut my brain off now | 04:47 |
@rizen | thanks for rocking pd | 04:48 |
@rizen | enjoy your sympathy pizza | 04:48 |
@rizen | =) | 04:48 |
+perlDreamer | catch you tomorrow, rizen | 04:48 |
+perlDreamer | well, despite it not working on my laptop, it is nice to know that my JS code doesn't suck | 04: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: diakopter | 05:54 | |
-!- Netsplit over, joins: diakopter | 05:55 | |
-!- elnino [n=ninow@user-38q49cv.cable.mindspring.com] has joined #webgui | 07: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 #webgui | 08:31 | |
-!- elnino [n=ninow@user-38q49cv.cable.mindspring.com] has left #webgui ["Leaving"] | 08:32 | |
-!- dapperedodo [n=dappered@194.171.50.69] has joined #webgui | 08:35 | |
-!- ryuu_ro [n=rory@194.171.50.69] has joined #webgui | 08: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 #webgui | 10:50 | |
-!- dapperedodo [n=dappered@194.171.50.69] has quit [] | 11:09 | |
-!- BartJol [n=plainstu@194.171.50.123] has joined #webgui | 12:12 | |
BartJol | anybody any ideas why a mysql connection can be broken for workflows? | 12:43 |
BartJol | testEnviroment.pl gives a db connection that is ok | 12:44 |
BartJol | manually connecting also provides no problems | 12:44 |
BartJol | ah, this might not be the problem | 12: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 #webgui | 13:50 | |
-!- SDuensin [n=Scott@120.sub-75-206-173.myvzw.com] has joined #WebGUI | 14:48 | |
SDuensin | Greetings. | 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 #webgui | 15:22 | |
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui | 15:23 | |
ckotil | Good Morning | 15:47 |
perlmonkey2 | good-a morning | 15: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 #webgui | 15:58 | |
-!- mode/#webgui [+o preaction] by ChanServ | 15:58 | |
-!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui | 16:10 | |
-!- mode/#webgui [+o Haarg] by ChanServ | 16:10 | |
-!- 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 #webgui | 16: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 #WebGUI | 17:14 | |
Syn1 | http://www.saarhanna.nl/home/maart-2008 | 17:14 |
Syn1 | look for the webgui sticker | 17:15 |
Syn1 | near 2008-03-15 | 17:15 |
Syn1 | and man, did I have a runnaway process just now | 17:16 |
ryuu_ro | found it! do i get a price? | 17:16 |
Syn1 | one of the sites I upgraded had 193430 rows in set (0.65 sec) from userSession | 17:16 |
@rizen | you just posted that url to get us to oggle the kids that you wish you had | 17:16 |
Syn1 | more than 2 years worth of userSessions | 17:16 |
Syn1 | that are my sisters kids | 17:16 |
@rizen | i know, and you wish you had them | 17:17 |
@rizen | you said so yourself when you were here | 17:17 |
Syn1 | Session/Var.pm has this line in it: select * from userSession where sessionId=?",[$sessionId]) | 17:18 |
Syn1 | that line almost killed my server | 17:18 |
Syn1 | should I file a bug report for that | 17:20 |
@rizen | why would that kill your server? | 17:21 |
@rizen | it's returning exactly 1 row | 17:21 |
Syn1 | ah | 17:21 |
dapperedodo | Why file a bug report for wanting kids:) | 17:21 |
Syn1 | but it was trying to clean out all those 193430 lines | 17:21 |
@rizen | plus sessionId is the primary key for that table, so it should return very quickly even with millions of row | 17:21 |
@rizen | s | 17:21 |
Syn1 | in one run | 17:21 |
Syn1 | it's a workflow that is doing that isn't it | 17:22 |
Syn1 | perhaps that workflow should count the number of sessions it should clean in one run | 17:22 |
Syn1 | and then only clean out a thousend a run? | 17:22 |
Syn1 | by default? | 17:23 |
Syn1 | it's the Delete login entries older than 90 days workflow | 17:23 |
@rizen | it has a timer on it | 17:24 |
@rizen | it does as many as it can in 55 seconds | 17:24 |
@rizen | and then quits | 17:24 |
@rizen | oh | 17:24 |
Syn1 | where can I find the code that actually runs that workflow? | 17:24 |
Syn1 | ah in /data/WebGUI/lib/WebGUI/Workflow/Activity/CleanLoginHistory.pm | 17:25 |
@rizen | actually i see the problem on that | 17:25 |
@rizen | it's one of the maintenance workflows | 17:26 |
Syn1 | it is | 17:26 |
@rizen | Admin Console > Workflow | 17:26 |
@rizen | i think it's the weekly one | 17:26 |
Syn1 | indeed | 17:26 |
Syn1 | Weekly Maintenance Tasks | 17:26 |
Syn1 | pbworkflow000000000002 | 17:26 |
Syn1 | that one :) | 17:26 |
@rizen | the problem is that there is no key on the time stamp | 17:26 |
Syn1 | ah | 17:26 |
Syn1 | ok | 17:26 |
Syn1 | I'll file a bug report | 17:27 |
@rizen | i'll put a fix into svn for that | 17:27 |
@rizen | ok better yet | 17:27 |
@rizen | do that | 17:27 |
@rizen | =) | 17:27 |
Syn1 | ok, hang on | 17:27 |
@rizen | if there were a key on that, it could delete thousands of records in a heart beat | 17:27 |
Syn1 | http://www.webgui.org/bugs/tracker/no-index-on-usersession-timestamp--weekly-cleanloginhistory | 17:30 |
Syn1 | it's all yours | 17:30 |
@rizen | it's actually all haarg's | 17:30 |
Syn1 | ah | 17:30 |
Syn1 | well anyway | 17:30 |
Syn1 | I'm happy cause I found a bug | 17:30 |
@rizen | technically a performance problem..not a bug | 17:30 |
Syn1 | hehe | 17:30 |
Syn1 | a bug that causes a performance probleem | 17:31 |
@rizen | we don't have bugs in webgui | 17:31 |
Syn1 | that is right | 17:31 |
@rizen | it's code is perfect | 17:31 |
Syn1 | an anomaly then | 17:31 |
@rizen | indeed | 17:31 |
Syn1 | :) | 17:31 |
@rizen | btw...you aren't staying with me for the wuc, right? cuz tessa is coming with you? | 17:31 |
Syn1 | uh | 17:32 |
Syn1 | aint I? | 17:32 |
Syn1 | I don't know if Tessa will or wont | 17:32 |
Syn1 | I am coming, that is for sure | 17:32 |
@rizen | hmmm | 17:33 |
@rizen | that could be a problem | 17:33 |
-!- ryuu_ro [n=rory@194.171.50.69] has quit [] | 17:33 | |
Syn1 | why whould that be a problem? | 17:33 |
@rizen | cuz i think all the rooms in myhouse are already filled for that week | 17:34 |
Syn1 | ah ok | 17:34 |
Syn1 | in that case I'll put a tent on your driveway | 17:34 |
@rizen | i'll find out who's staying here and get back to you | 17:35 |
@rizen | i didn't think you were | 17:35 |
@rizen | since you said before that tessa was coming with you | 17:35 |
@rizen | btw | 17:35 |
@rizen | what are you doing your talk on? | 17:35 |
@rizen | you haven't gotten back to me | 17:35 |
Syn1 | I know | 17:35 |
Syn1 | I'm getting back to you right now, hang on | 17:35 |
Syn1 | can I do both? | 17:36 |
@rizen | both the talks i sent you? | 17:36 |
Syn1 | yea | 17:37 |
@rizen | i don't know if we have room for that, let me ask vrby | 17:37 |
Syn1 | you know what | 17:37 |
Syn1 | I'll do one during the daytime | 17:37 |
Syn1 | and one in a more interactive way (the 'gauging server needs' one) in the eavning | 17:37 |
Syn1 | if that is ok | 17:38 |
@rizen | i'll check and get back to you | 17:39 |
Syn1 | ok | 17:39 |
@rizen | koen...you have your two talks | 17:51 |
@rizen | they'll be added to the schedule today | 17:51 |
@rizen | one thursday eve | 17:51 |
@rizen | and one friday morn | 17:52 |
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has joined #webgui | 18:02 | |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 18: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 #webgui | 18:30 | |
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has joined #webgui | 18:31 | |
-!- mode/#webgui [+v MrHairgrease] by ChanServ | 18:31 | |
-!- jua1 [n=juangui@201.232.58.66] has joined #webgui | 18:34 | |
jua1 | hello | 18:34 |
+perlDreamer | jua1: howdy | 18:34 |
-!- estiven [n=estiven@201.232.58.66] has joined #webgui | 18:35 | |
+perlDreamer | uh oh, the whole team is here. What's up guys? | 18:35 |
estiven | jeje | 18:36 |
jua1 | when in a collaboration system the thread are archived, where can i see them? | 18:36 |
+perlDreamer | directly by URL | 18:36 |
+perlDreamer | maybe in the Asset Manager, but I'm not sure on that one | 18:37 |
@preaction | they'll probably show up in the asset manager | 18:37 |
@preaction | i think they'll show up in searches too | 18:37 |
+perlDreamer | they should, closed bugs do in the tracker | 18:37 |
jua1 | the thing is that i had a collaboration system with some threads, and suddenly i can not find some of them | 18:38 |
+perlDreamer | you can check the db | 18:39 |
jua1 | i was checking in Post table | 18:39 |
+perlDreamer | since threads are also posts, some of the thread data will be in there | 18:39 |
jua1 | i try to search threads for an specific assetid but there aren't post in the table | 18:42 |
jua1 | i have several parts of my site that some threas are lost | 18:46 |
+perlDreamer | Check to see if you can find them in the Asset Manager. | 18:47 |
+perlDreamer | Also, you may want to check the archive settings in your CS (Collaboration System), and make them longer. | 18:47 |
jua1 | no I can not find it in the asset manager | 18:47 |
+perlDreamer | Did you check in the Trash? | 18:48 |
jua1 | i put in the archive settings and made them longer | 18:48 |
jua1 | yes, i checked in the trash | 18:49 |
jua1 | in a respective webgui update, should disappear them? | 18:50 |
+perlDreamer | no | 18:50 |
+perlDreamer | did you update recently? | 18:51 |
jua1 | about 15 ago | 18:52 |
+perlDreamer | 15 days/hours? | 18:52 |
jua1 | excuseme, days | 18:52 |
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has quit [Read error: 110 (Connection timed out)] | 18:53 | |
+perlDreamer | have you seen the threads since the update? | 18:55 |
+perlDreamer | or just now noticed that they're missing? | 18:55 |
jua1 | just now noticed that they are missing | 18:58 |
jua1 | when they are archived, what happen with them? | 18:58 |
jua1 | if i modify that setting parameter making it longer, the threads should appear? | 18:59 |
@preaction | no | 19:01 |
@preaction | the threads are marked as archived. you would need to unmark them | 19:02 |
jua1 | ok | 19:02 |
jua1 | but i should see them in the asset manager | 19:03 |
jua1 | ? | 19:03 |
+perlDreamer | unless they're gone completely | 19:08 |
+perlDreamer | if someone deleted the version tag they were created with, they would just disappear | 19:08 |
jua1 | rayos | 19: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 #webgui | 19:27 | |
-!- dapperedodo [n=dappered@ip56503e61.direct-adsl.nl] has quit [Client Quit] | 19:30 | |
jua1 | if i add a thread in what table will be stored? | 19:50 |
+perlDreamer | asset, assetData, post and thread | 19:50 |
jua1 | table Post | 19:50 |
jua1 | ok | 19:51 |
+perlDreamer | and then there's some support tables, like assetHistory and versionTag | 19:53 |
jua1 | perlDreamer, 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 |
jua1 | but in thread and post, there aren't entries for that assetid | 19:59 |
+perlDreamer | jua1: that can't be. | 20:02 |
+perlDreamer | please try this | 20:02 |
+perlDreamer | add an assetId template variable to your post template | 20:03 |
+perlDreamer | and then see if those assetIds exist in the four tables that I told you about | 20:03 |
jua1 | ok | 20:03 |
@preaction | may also want to make sure you're looking at the right asset type by checking the className column of the asset table | 20:04 |
@rizen | jua1, estiven, and lisette, will anyone from the columbian crew make it to the WUC this year? | 20:06 |
jua1 | rizen, probably will buy the conference's memories | 20:08 |
@rizen | that's too bad. it's always nice to see some new faces. | 20:09 |
estiven | jeje | 20:09 |
jua1 | really, we don't know who else use webgui in colombia | 20:09 |
@rizen | do the 3 of you work at the same place? | 20:09 |
estiven | we try, but is very dificult | 20:09 |
jua1 | yes | 20:09 |
@rizen | maybe you should start a WebGUI Drink in colombia the just like the Dutch guys do in Holland | 20:10 |
-!- dapperedodo [n=dappered@ip56503e61.direct-adsl.nl] has joined #webgui | 20:10 | |
@rizen | so you can meet the other colombians that use WebGUI | 20:10 |
estiven | mm, | 20:11 |
@rizen | http://www.webgui.org/wg/calendar?type=month;start=2008-04-01%2000:00:00 | 20:11 |
@rizen | directly to it: http://www.webgui.org/wg/calendar/webgui-drink | 20:11 |
jua1 | what do the people usually do in that events? | 20:13 |
+perlDreamer | hablar and tomar | 20:13 |
estiven | jeje | 20:13 |
+perlDreamer | um, beber | 20:13 |
estiven | exelente | 20:13 |
jua1 | jajajajajaja | 20:13 |
@rizen | sometimes they give talks, but mostly they sit around drinking beer and sharing ideas | 20:14 |
+perlDreamer | como irc con cerveza | 20:14 |
estiven | uff | 20:14 |
@rizen | something about beer on irc? | 20:14 |
lisette | jajaja | 20:14 |
jua1 | jajajajaja | 20:14 |
@rizen | man i wish i spoke spanish | 20:14 |
+perlDreamer | like irc with beer | 20:14 |
jua1 | that's sounds good | 20:14 |
estiven | very good | 20:15 |
estiven | and where is the location.. normaly? | 20:15 |
@rizen | they go to the same pub each time, in amsterdam | 20:16 |
@rizen | you guys could just pick your favorite pub in the largest city near you | 20:16 |
@rizen | or if you're already in a large city...great | 20:16 |
jua1 | what other people in colombia use webgui? | 20:17 |
@rizen | i don't know. that's the purpose of the webgui drink | 20:17 |
@rizen | advertise it on the events calendar | 20:17 |
@rizen | post an announcement about it in our news | 20:17 |
@rizen | you may even want to set up webgui.co | 20:17 |
jua1 | excellent | 20:18 |
@rizen | it may be that by doing it you start a following for webgui in colombia. you could be a trend setter | 20:18 |
jua1 | what is a trend setter? | 20:19 |
jua1 | en español | 20:20 |
estiven | jeje | 20:20 |
estiven | bueno juan1 a aprender ingles en otro lado.... | 20:20 |
estiven | jeje | 20:20 |
+perlDreamer | Se usa algo nuevo primero, antes de otros | 20:20 |
@rizen | jua1: setter de la tendencia | 20:20 |
@rizen | from babelfish...don't know if that means anything in espanol | 20:21 |
jua1 | ok | 20:21 |
estiven | thanks | 20:21 |
jua1 | gracias | 20:21 |
estiven | la traduccion es algo asi como pesacdo de babel | 20:21 |
@rizen | actually i just realized that it's a horrible translation | 20:22 |
@rizen | i'm just going to shut up now | 20:22 |
+perlDreamer | it's hard to translate idiomatic phrases | 20:22 |
+perlDreamer | es dificil para traducir frases idiomaticas | 20:22 |
estiven | sip | 20:22 |
lisette | yes | 20:23 |
jua1 | ok, | 20:23 |
+perlDreamer | Es la hora para assitir al gymnasio | 20:24 |
+perlDreamer | gym-time | 20:24 |
jua1 | thanks perlDreamer and rizen for your help, i am hungry, i am going to eat something. | 20:24 |
estiven | gymnasio? | 20:24 |
jua1 | or maybe beber cerveza | 20:24 |
estiven | mejor | 20:24 |
estiven | i am hungry to | 20:25 |
jua1 | rizen and perlDreamer, you can visit us | 20:26 |
jua1 | colombia is excellent | 20:26 |
jua1 | see you later | 20:26 |
@rizen | my wife has been trying to get me to visit there for a long time | 20:26 |
@rizen | maybe i'll have to come down | 20:26 |
@rizen | =) | 20:26 |
-!- topsub [n=topsub20@97.66.185.250] has joined #webgui | 20:27 | |
topsub | I have couple questions about over riding a built in asset. | 20:34 |
topsub | i 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 possible | 20:35 |
@preaction | yes. use inheritence and hope | 20:36 |
@rizen | where is this hope coming from | 20:37 |
@rizen | ? | 20:37 |
@rizen | it will work fine, but per asset naming practices your asset should be called WebGUI::Asset::Wobject::Search::Ext | 20:38 |
@rizen | so Search::Ext rather than SearchExt | 20:38 |
topsub | think i got it working | 20:45 |
topsub | well i got the SearchExt using same table as Search | 20:45 |
topsub | and i will be able to override the view function | 20:46 |
topsub | and i have it using WebGUI::Asset::Wobject::Search as a base | 20:46 |
topsub | and just changing what i need to without rewriting a whole new asset | 20:46 |
topsub | so far its working.. | 20:47 |
@rizen | I think you'll find that doing what you have done will cause you grief down the road. | 20:56 |
topsub | rizen, refering to the naming of the asset or using WebGUI::Asset::Wobject::Search as a base? | 20:59 |
@preaction | not having another database table | 20:59 |
@rizen | preaction hit the nail on the head | 20:59 |
@rizen | you're not subclassing appropriately | 20:59 |
@preaction | if 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 |
@rizen | each asset subclass is supposed to have a new table | 20:59 |
topsub | hm well i don't want to change anything in the database just change the logic in the view function | 20:59 |
@rizen | and extend definition | 21:00 |
@rizen | doesn't matter | 21:00 |
@rizen | wasn't designed to work that way | 21:00 |
topsub | hmmm | 21:00 |
topsub | so even if the 2 tables are the same with how it works because i am subclasses its good to have another table? | 21:01 |
topsub | so 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 | |
@preaction | no. you extend the definition much like Thread extends from Post | 21:11 |
topsub | ok, thanks. we'll take a look at those two modules for reference. | 21:12 |
jua1 | perlDreamer, excuseme i continue with the same thread's problems | 21:36 |
jua1 | the assetid field in the post table is the collaboration system assetid | 21:38 |
jua1 | besides some of the collaborations systems had the original template, should be a cause of this problem? | 21:40 |
CIA-22 | WebGUI: yung * r5955 /WebGUI/ (2 files in 2 dirs): Thingy now shows all field types when editing a field. | 21:55 |
+perlDreamer | in 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 #webgui | 22:54 | |
+perlDreamer | Donde fueron ustedes, estiven? | 22:55 |
estiven | internet conection problem | 22:57 |
estiven | un problema de internet en la oficina | 22:58 |
-!- juan [n=juangui@201.232.58.66] has joined #webgui | 22:58 | |
-!- lisett1 [n=liraos@201.232.58.66] has joined #webgui | 22:59 | |
estiven | lisette y juan no se han reconectado | 22:59 |
lisett1 | yo si | 22:59 |
juan | me too | 22: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 #WebGUI | 23:17 | |
Syn2 | ok | 23:18 |
Syn2 | who can help me to a nice name | 23:18 |
+perlDreamer | guenter | 23:18 |
+perlDreamer | helga | 23:18 |
+perlDreamer | pyotir | 23:18 |
+perlDreamer | emelda | 23:18 |
+perlDreamer | are those okay? | 23:18 |
+perlDreamer | is this a software name? | 23:19 |
juan | i like emelda | 23:19 |
estiven | i like emelda too | 23:19 |
lisett1 | i like emelda too | 23:20 |
lisett1 | for what? | 23:20 |
+perlDreamer | Syn2: Yeah, what's the name for? | 23:20 |
Syn2 | hmm | 23:22 |
Syn2 | the name is for a hosing service | 23:22 |
@rizen | HostMax 5000 | 23:22 |
@rizen | hehe | 23:22 |
@rizen | What about "HAL" | 23:22 |
+perlDreamer | I'd suggest Procolix, but that's taken | 23:22 |
Syn2 | to short | 23:22 |
Syn2 | procolix is for business | 23:23 |
Syn2 | I need a name for end users | 23:23 |
@rizen | koenhost | 23:23 |
lisett1 | emelda is well | 23:23 |
Syn2 | websnail? | 23:23 |
@rizen | koenation | 23:23 |
+perlDreamer | YourHome | 23:24 |
@rizen | what about WebSail in reference to your affinity for sailing | 23:24 |
Syn2 | ok | 23:24 |
Syn2 | lets see what google sais | 23:24 |
Syn2 | websail exists | 23:25 |
@rizen | host it your way | 23:25 |
@preaction | sailbox | 23:25 |
@preaction | sailhost | 23:25 |
@rizen | websailing | 23:25 |
Syn2 | I'd prefer a name that perhaps does not have the name web in it | 23:25 |
@rizen | sailhost | 23:25 |
@rizen | oh then that's very easy | 23:25 |
+perlDreamer | Two all-beef processors, special Net, drives and RAM | 23:25 |
@rizen | what's your favorite color Koen? | 23:25 |
+perlDreamer | plainKoen | 23:25 |
Syn2 | black | 23:25 |
@rizen | BlackSail it is | 23:26 |
@rizen | that's very cool sounding | 23:26 |
+perlDreamer | BlackSail, hosting for pirates! | 23:26 |
@preaction | yar | 23:26 |
Syn2 | hehe | 23:27 |
Syn2 | well | 23:27 |
@rizen | shiver me servers matee | 23:27 |
+perlDreamer | yo ho ho and bottle of 'net juice | 23:27 |
Syn2 | I think I'll have to come up with something like procolix | 23:27 |
Syn2 | that doesn't actually mean something | 23:27 |
@rizen | that's easy | 23:28 |
@rizen | just close your eyes | 23:28 |
@rizen | and press a bunch of keys | 23:28 |
@rizen | like this: lkqewlkqwe | 23:28 |
@rizen | that even sounds dutch | 23:28 |
estiven | jeje exelent | 23:28 |
Syn2 | hmm | 23:28 |
lisett1 | jajaja | 23:28 |
+perlDreamer | name it after your dog, Syn2 | 23:28 |
Syn2 | cantos? | 23:28 |
@rizen | oooh..here's an idea | 23:28 |
@rizen | xenox | 23:29 |
Syn2 | cantos is taken | 23:29 |
@rizen | xen + box | 23:29 |
@rizen | xenox | 23:29 |
Syn2 | oh, but it is not for xen | 23:29 |
@rizen | oh | 23:29 |
Syn2 | it's for shared hosting | 23:29 |
+perlDreamer | TinyBoxen | 23:29 |
Syn2 | boxen sounds funny | 23:30 |
lisett1 | yes, like me | 23:30 |
lisett1 | boxen! | 23:30 |
lisett1 | this is! | 23:30 |
Syn2 | nakkes.nl | 23:30 |
@rizen | pubox | 23:30 |
Syn2 | pubics ? | 23:31 |
@rizen | public box | 23:31 |
Syn2 | pubic box | 23:31 |
Syn2 | not to mention the eggs | 23:31 |
+perlDreamer | no eggs! | 23:31 |
@rizen | homass | 23:31 |
@rizen | hosting for the masses | 23:31 |
+perlDreamer | Eieren verboten! | 23:31 |
@rizen | dashbox and your logo could be [ - ] | 23:32 |
-!- dapperedodo [n=dappered@ip56503e61.direct-adsl.nl] has joined #webgui | 23:33 | |
+perlDreamer | dashbox.com seems to be open | 23:33 |
Syn2 | hi there | 23:34 |
Syn2 | xilocorp.nl ? | 23:34 |
dapperedodo | hey sync | 23:35 |
+perlDreamer | xilocaine is a derivative of novocaine, which is a pain killer. | 23:35 |
+perlDreamer | it could be painless hosting | 23:35 |
dapperedodo | I will be the opposite of procolix:) | 23:35 |
Syn2 | hehe | 23:35 |
Syn2 | no pain no gain | 23:37 |
+perlDreamer | rizen: how bad of an idea would it be to move the collateral API out of Wobject and put it into Asset*.pm? | 23:50 |
juan | can I obtain the weather from weather.com in Celsius | 23:50 |
juan | ? | 23:51 |
@rizen | pd...what would the point of wobjects be then? | 23:51 |
@rizen | wobjects only do 2 things | 23:51 |
juan | because i had obtained and xml feed but it was in Fahrenheit | 23:51 |
@preaction | i'd say put it into a mixin, as well as the other minor things wobjects do and abolish the wobject entirely | 23:51 |
@rizen | preaction...are you going to do all the work to convert all those assets? | 23:52 |
+perlDreamer | juan: you'd have to see if there's a separate feed, or more options for the feed in xml | 23:52 |
@rizen | wobjects also give you a number of fields | 23:52 |
@rizen | that couldn't be created as part of the mixin | 23:52 |
+perlDreamer | or, write some JS to convert it to farenheit in the template | 23:53 |
juan | ok | 23:53 |
@preaction | mixins using Perl's mixin.pm can add things to the definition in much the same way subclassing assets works | 23:54 |
juan | thanks | 23:54 |
--- Day changed Thu Mar 27 2008 | ||
+perlDreamer | rizen: I'm not in love with the idea, but you know how I hate code copied everywhere. | 00:00 |
@rizen | what copied code | 00:02 |
+perlDreamer | the collateral handling code | 00:03 |
@rizen | there shouldn't be setCollateral methods in the new product | 00:03 |
@rizen | i told you to switch them | 00:03 |
@rizen | to setRow | 00: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 | |
+perlDreamer | it 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 |
Syn2 | I've got a wierd problem | 00:41 |
+perlDreamer | What is it? | 00:42 |
Syn2 | I'm trying to upload a large file to a webgui site | 00:42 |
Syn2 | and it stops each time after exactly 15 minutes | 00:42 |
Syn2 | with a 500 erro | 00:42 |
Syn2 | error | 00:42 |
+perlDreamer | how big si the file? | 00:42 |
Syn2 | 100M+ | 00:43 |
+perlDreamer | Doesn't Apache have a hard limit of 25 Mb on uploaded files? | 00:43 |
Syn2 | no | 00:43 |
-!- Haarg [n=haarg@66-168-19-128.dhcp.mdsn.wi.charter.com] has joined #webgui | 00:43 | |
-!- mode/#webgui [+o Haarg] by ChanServ | 00:43 | |
Syn2 | a file of 92M was uploaded painless | 00:43 |
Syn2 | ly | 00:44 |
+perlDreamer | but 100Mb was too big | 00:44 |
+perlDreamer | or had some other problem | 00:44 |
Syn2 | I guess so | 00:44 |
Syn2 | the 500 error is not very informative | 00:44 |
+perlDreamer | you should talk to Haarg or rizen, they're much more Apache literate than I | 00:44 |
Syn2 | is it an apache problem? | 00:45 |
Syn2 | I doubt it | 00:45 |
Syn2 | how long can a webgui process run? | 00:45 |
Syn2 | in the wre? | 00:45 |
+perlDreamer | there are length of limits on processes? | 00:49 |
Syn2 | there are | 00:52 |
Syn2 | I'm now adjusting that and trying again | 00:52 |
+perlDreamer | I knew there were size limits, but not time limits | 00:52 |
@rizen | i know there is a limit of 100mb but i have no idea why | 00: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 | |
Syn2 | it's not a time limit | 00:56 |
Syn2 | 15 minutes is the time it takes before my upload from home reaches 100M | 00:56 |
Syn2 | k | 01:04 |
Syn2 | it's time for bed | 01:04 |
Syn2 | there is a 100M limit on the size of the process | 01:05 |
Syn2 | and that is a good thing | 01:05 |
Syn2 | :) | 01:05 |
Syn2 | but you'll have to change that if you want your users to be able to upload larger files | 01:05 |
Syn2 | since the go into memory entirely | 01:05 |
+perlDreamer | PLONE SUCKS | 01:09 |
Syn2 | plone sucks more than webgui | 01:09 |
+perlDreamer | much more | 01:10 |
+perlDreamer | Plone doesn't even have a file pile | 01:10 |
Syn2 | plone probably also doesn't have a shitting elephant as an error message | 01:10 |
Syn2 | which sucks less :) | 01:11 |
+perlDreamer | Webgui has that? cool | 01:11 |
Syn2 | that is not cool | 01:11 |
Syn2 | it is a shitting elephant | 01:11 |
Syn2 | try trashing your database | 01:11 |
+perlDreamer | Syn2: You've lost me. | 01:11 |
Syn2 | it is probably an easteregg | 01:12 |
+perlDreamer | Are you saying that uploading the 100 MB file trashed your db? | 01:12 |
Syn2 | no | 01:12 |
Syn2 | 2 days ago | 01:12 |
Syn2 | I was trying to empty the system trash on a 6.7.8 site | 01:12 |
Syn2 | but I couldn't open the system trash page | 01:13 |
Syn2 | cause each time I got there I was redirected to a page of a shitting elephant | 01:13 |
+perlDreamer | I've never seen that one. | 01:13 |
+perlDreamer | and I know where all the easter eggs in wG are | 01:13 |
Syn2 | http://www.theplacetostay.com/marc/images/old/elephant%20shit.jpg | 01:14 |
+perlDreamer | up through 7.4 | 01:14 |
Syn2 | that elephant | 01:14 |
Syn2 | is what I got | 01:14 |
+perlDreamer | you're right, that's a crappy error message | 01:15 |
Syn2 | hehe | 01:16 |
Syn2 | well | 01:16 |
Syn2 | the strange part is | 01:16 |
+perlDreamer | how did you fix it? Did you fix it? | 01:16 |
Syn2 | when I asked JT about the shitting elephant | 01:16 |
Syn2 | he understood immediately what I meant | 01:17 |
Syn2 | and yes I did fix it | 01:17 |
Syn2 | by issueing hundreds of delete from asset where assetId='alkjOUJGDnsdf'; | 01:17 |
Syn2 | and delete from assetData | 01:17 |
Syn2 | and delete from assetHistory | 01:17 |
Syn2 | and delete from Thread | 01:17 |
Syn2 | since what caused it where copy's of threads whithin threads | 01:18 |
Syn2 | which shouldn't be possible | 01:18 |
Syn2 | and make your site barf | 01:18 |
Syn2 | and the elephant shit | 01:18 |
Syn2 | but hey | 01:18 |
Syn2 | I am the idiot that lets sites run on webgui 6.7.8 for two years | 01:18 |
Syn2 | :) | 01:18 |
+perlDreamer | eh | 01:19 |
+perlDreamer | you would just have found the elephant sooner | 01:19 |
Syn2 | perhaps | 01:19 |
@rizen | perldreamer: you are welcome to make the collateral methods a mixin, but you cannot put them into the asset superclass | 01:19 |
Syn2 | maybe I should be glad that I found the elephant | 01:19 |
@rizen | then just make both product and wobject use the mixin | 01:19 |
+perlDreamer | okay | 01:20 |
@preaction | does this mean mixin.pm is going to be required WebGUI module? | 01:21 |
+perlDreamer | only if that's the way that it works | 01:21 |
@rizen | and 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 compatibility | 01:21 |
@preaction | oh. i don't think mixin.pm will work that way. it might need to be a different module | 01: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 | |
@preaction | mixin.pm has a "with ClassName" which fixes inheritence. unless Product is itself an Asset subclass, it might not work | 01:22 |
@rizen | i want to take stuff out of asset, not add more to it. =) | 01:22 |
@preaction | yeah, i agree with taking stuff out of asset | 01:22 |
@rizen | dinner time | 01:23 |
Syn2 | http://www.theplacetostay.com/marc/images/new/bullshit.jpg would be a great easteregg | 01:23 |
@rizen | bye for now | 01:23 |
* perlDreamer envisions a dog with its legs crossed, and realizes it is time to go home | 01:23 | |
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has quit ["Download Gaim: http://gaim.sourceforge.net/"] | 01:23 | |
Syn2 | sleeping time | 01:23 |
Syn2 | nite | 01: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 #WebGUI | 01:38 | |
-!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui | 02:09 | |
-!- mode/#webgui [+v Radix-wrk] by ChanServ | 02:09 | |
-!- wgGuest68 [i=WebGUIUs@adsl196-160-48-217-196.adsl196-10.iam.net.ma] has joined #webgui | 03:14 | |
wgGuest68 | hi all | 03:15 |
wgGuest68 | I need some help | 03:15 |
@preaction | wgGuest68, ask, we'll help if we can | 03:16 |
wgGuest68 | ok thanks | 03:16 |
wgGuest68 | my broblem is | 03:16 |
wgGuest68 | when i run modperl-install.bat | 03:16 |
wgGuest68 | i get an error msg | 03:16 |
wgGuest68 | taha the file modperl.conf don't exist | 03:17 |
wgGuest68 | ? | 03:18 |
@preaction | i don't know anything about installing the WRE on windows | 03:19 |
wgGuest68 | ooo | 03:19 |
+Radix-wrk | same here I'm afraid | 03:20 |
+Radix-wrk | considered vmware server + webgui image? :) | 03:20 |
wgGuest68 | I don't know realy what it is about | 03:23 |
wgGuest68 | is it easier to install wre in ubunto ? | 03:24 |
wgGuest68 | tu | 03:24 |
wgGuest68 | ? | 03:27 |
+Radix-wrk | the wre is available for a number of platforms, but windows is probably the most flakey of the lot unfortunately | 03:27 |
+Radix-wrk | most people use either rhel or centos, or ubuntu or debian | 03:27 |
wgGuest68 | aah | 03:27 |
wgGuest68 | so I will install it in ubuntu | 03:27 |
+Radix-wrk | sounds like a good plan :) | 03:28 |
wgGuest68 | :) yes | 03:28 |
+Radix-wrk | i will say tho that vmware is a great way of trying it out and even good for smaller sites | 03:28 |
wgGuest68 | I have to install apache and mysql ... separatly | 03:29 |
+Radix-wrk | vmware server is free for windows, and you can get the vmware appliance image | 03:29 |
+Radix-wrk | it's already installed, and ready to go, just start it up | 03:29 |
+Radix-wrk | vmware 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, etc | 03:30 |
wgGuest68 | gooooood | 03:30 |
+Radix-wrk | this is awesome when you're doing updates or making critical changes that might break things | 03:30 |
wgGuest68 | and what about activeperl | 03:30 |
wgGuest68 | i have to install it in ubuntu ? | 03:31 |
+Radix-wrk | On the downside, it's a bit slower as it's running in a virtual machine | 03:31 |
@preaction | no. the WRE contains all the things you need, even on windows | 03:31 |
wgGuest68 | thanks :) | 03:33 |
wgGuest68 | I 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-22 | WebGUI: doug * r5956 /WebGUI/ (14 files in 10 dirs): | 05:21 |
CIA-22 | WebGUI: fix: Fixed permission issues with Gallery comments | 05:21 |
CIA-22 | WebGUI: Gallery now checks to see if it's committed before allowing Albums to be added | 05:21 |
CIA-22 | WebGUI: Slideshow and thumbnails work better | 05:21 |
CIA-22 | WebGUI: Much, much more | 05: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 #webgui | 08:47 | |
-!- dapperedodo [n=dappered@194.171.50.69] has joined #webgui | 09:10 | |
-!- Radix-wrk [n=Jesse@203.161.68.67] has quit ["Leaving"] | 09:48 | |
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui | 10: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 #webgui | 13: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 #webgui | 13:42 | |
-!- dapperedodo [n=dappered@194.171.50.69] has quit [] | 13:59 | |
-!- dapperedodo [n=dappered@194.171.50.69] has joined #webgui | 14: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 #WebGUI | 14:32 | |
-!- estiven [n=estiven@201.232.58.66] has joined #webgui | 14:34 | |
-!- BartJol [n=plainstu@host2.procolix.com] has joined #webgui | 14:42 | |
jdanpl | Hi 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 |
jdanpl | in HTML code | 16:14 |
jdanpl | So, parser don't see <tmpl_va tag | 16:15 |
-!- jua1 [n=juangui@201.232.58.66] has joined #webgui | 16:17 | |
estiven | ok, but, what you want? | 16:19 |
-!- lisette [n=liraos@201.232.58.66] has joined #webgui | 16:19 | |
jdanpl | I want use some data from macros in expresions | 16:20 |
estiven | do you need pass de value return by macro to a variable template? | 16:20 |
jdanpl | no, but is seems the simple way | 16:21 |
jdanpl | Another will be makeing own parser | 16:21 |
jdanpl | I think transfer data to parser variables is very important | 16:22 |
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui | 16:24 | |
estiven | ok but, i not understan the problem yet.. | 16:25 |
jdanpl | So 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 |
jdanpl | Like this <tmpl_var uid="^#();"> | 16:26 |
jdanpl | And system returns in HTML <tmpl_var uid="YWuG1OFeEoeWKOQhiXdCiw"> | 16:27 |
jdanpl | So macro was done, but parser didn't see tak "tmpl_var" | 16:27 |
jdanpl | didn't see tag | 16:28 |
jdanpl | Question is how to enter some data from macros to expresions | 16:28 |
jdanpl | Or is another way to access some data from $session{} inside template expresions? | 16:30 |
jdanpl | I will not make new parser and write $template->param(varname => value) for each www page | 16:33 |
jdanpl | I don't want write dedicated parsers | 16:35 |
BartJol | that's because macro's are later processed then template variables... | 16:59 |
BartJol | so that will be hard | 16:59 |
jdanpl | I thought about it. But I don't see any other solution | 17:02 |
BartJol | mmm | 17:02 |
BartJol | then maybe it is possible to create your own variables that get information out of the session | 17:02 |
-!- ryuu_ro_ [n=rory@194.171.50.69] has quit [] | 17:02 | |
BartJol | but I haven't done that before, so I'm not sure how to create those | 17:03 |
BartJol | shouldn't be to hard | 17:03 |
jdanpl | yes, now I have plan to prepare new parser and make virtual variables which get data from WebGUI system | 17: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 #webgui | 17:10 | |
BartJol | good luck then jdanpl | 17:11 |
-!- GooeyOfSteel [n=puppetma@hq.imaterial.org] has joined #webgui | 17:11 | |
GooeyOfSteel | Wiki: Override Core Modules - Edited on 3/25/2008 3:03 pm by topsub http://www.webgui.org/community-wiki/override-core-modules | 17:12 |
GooeyOfSteel | Wiki: Override Core Modules - Edited on 3/25/2008 1:07 pm by topsub http://www.webgui.org/community-wiki/override-core-modules | 17:12 |
GooeyOfSteel | Wiki: WebGUI Search System - Edited on 3/25/2008 11:59 am by colink http://www.webgui.org/community-wiki/webgui-search-system | 17:12 |
GooeyOfSteel | Wiki: WRE for Windows - Edited on 3/25/2008 11:31 am by knowmad http://www.webgui.org/community-wiki/wre-for-windows | 17:12 |
GooeyOfSteel | Wiki: WRE for Windows - Edited on 3/25/2008 11:00 am by knowmad http://www.webgui.org/community-wiki/wre-for-windows | 17:12 |
GooeyOfSteel | Wiki: Override Core Modules - Edited on 3/25/2008 10:52 am by knowmad http://www.webgui.org/community-wiki/override-core-modules | 17:12 |
GooeyOfSteel | Wiki: Include Macro - Edited on 3/25/2008 12:56 am by hyartep http://www.webgui.org/community-wiki/include-macro | 17:12 |
GooeyOfSteel | Wiki: Asset Proxy Macro - Edited on 3/25/2008 12:54 am by hyartep http://www.webgui.org/community-wiki/asset-proxy-macro | 17:12 |
GooeyOfSteel | Wiki: Wobject Cookbook - Edited on 3/24/2008 9:08 am by dionak http://www.webgui.org/community-wiki/wobject-cookbook | 17:12 |
GooeyOfSteel | Wiki: Wobject Cookbook - Edited on 3/24/2008 9:07 am by dionak http://www.webgui.org/community-wiki/wobject-cookbook | 17:12 |
GooeyOfSteel | Wiki: WRE Installation - Edited on 3/24/2008 8:02 am by koen http://www.webgui.org/community-wiki/wre-installation | 17:12 |
GooeyOfSteel | Wiki: MySQL Replication - Edited on 3/23/2008 5:36 pm by koen http://www.webgui.org/community-wiki/mysql-replication | 17:12 |
GooeyOfSteel | Wiki: Wobject Cookbook - Edited on 3/19/2008 1:01 pm by dionak http://www.webgui.org/community-wiki/wobject-cookbook | 17:12 |
GooeyOfSteel | Wiki: MySQL Replication - Edited on 3/19/2008 10:22 am by knowmad http://www.webgui.org/community-wiki/mysql-replication | 17:12 |
GooeyOfSteel | Wiki: MySQL Replication - Created on 3/19/2008 10:14 am by knowmad http://www.webgui.org/community-wiki/mysql-replication | 17:12 |
GooeyOfSteel | Wiki: Login Toggle Macro - Edited on 3/19/2008 5:36 am by robbert http://www.webgui.org/community-wiki/login-toggle-macro | 17:12 |
GooeyOfSteel | Wiki: Wobject Cookbook - Edited on 3/17/2008 10:11 pm by dionak http://www.webgui.org/community-wiki/wobject-cookbook | 17:12 |
GooeyOfSteel | Wiki: Wobject Cookbook - Edited on 3/17/2008 10:08 pm by dionak http://www.webgui.org/community-wiki/wobject-cookbook | 17:13 |
GooeyOfSteel | Wiki: File Template Variables - Edited on 3/17/2008 10:01 pm by dionak http://www.webgui.org/community-wiki/file-template-variables | 17:13 |
GooeyOfSteel | Wiki: file template variables - Edited on 3/17/2008 9:59 pm by dionak http://www.webgui.org/community-wiki/file-template-variables | 17:13 |
GooeyOfSteel | Wiki: Wobject Cookbook - Edited on 3/17/2008 9:50 pm by dionak http://www.webgui.org/community-wiki/wobject-cookbook | 17:13 |
CIA-22 | WebGUI: yung * r5957 /WebGUI/ (15 files in 3 dirs): Added an optionsSettable flag to form types that have an options property | 17:13 |
GooeyOfSteel | Wiki: Table of Contents - Edited on 3/17/2008 9:49 pm by elnino http://www.webgui.org/community-wiki/table-of-contents | 17:13 |
CIA-22 | WebGUI: yung * r5958 /WebGUI/ (3 files in 3 dirs): fixed: Thingy: field type includes things without fields | 17:13 |
GooeyOfSteel | Wiki: Table of Contents - Edited on 3/17/2008 9:46 pm by elnino http://www.webgui.org/community-wiki/table-of-contents | 17:13 |
GooeyOfSteel | Wiki: file template variables - Created on 3/17/2008 9:45 pm by elnino http://www.webgui.org/community-wiki/file-template-variables | 17:13 |
GooeyOfSteel | Wiki: Asset Cookbook - Edited on 3/17/2008 9:03 pm by dionak http://www.webgui.org/community-wiki/asset-cookbook | 17:13 |
GooeyOfSteel | Wiki: Asset Cookbook - Edited on 3/16/2008 8:07 pm by knowmad http://www.webgui.org/community-wiki/asset-cookbook | 17:13 |
GooeyOfSteel | Wiki: Asset Cookbook - Created on 3/16/2008 4:40 pm by knowmad http://www.webgui.org/community-wiki/asset-cookbook | 17:13 |
GooeyOfSteel | Wiki: sqlreport - Edited on 3/14/2008 12:26 am by elnino http://www.webgui.org/community-wiki/sqlreport | 17:13 |
GooeyOfSteel | Wiki: sqlreport - Edited on 3/12/2008 10:43 pm by dionak http://www.webgui.org/community-wiki/sqlreport | 17:13 |
GooeyOfSteel | Wiki: WRE-FAQ - Edited on 3/11/2008 2:31 pm by dionak http://www.webgui.org/community-wiki/wre-faq | 17:13 |
GooeyOfSteel | Wiki: WRE-FAQ - Edited on 3/11/2008 1:28 pm by dionak http://www.webgui.org/community-wiki/wre-faq | 17:13 |
GooeyOfSteel | Wiki: 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-users | 17:13 |
GooeyOfSteel | Wiki: 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-users | 17:13 |
nuba | thats some backlog there | 17:13 |
GooeyOfSteel | Wiki: Customizing WRE Configuration - Edited on 3/7/2008 4:29 pm by knowmad http://www.webgui.org/community-wiki/customizing-wre-configuration | 17:13 |
GooeyOfSteel | Wiki: Customizing WRE Configuration - Edited on 3/7/2008 3:17 pm by grnoc http://www.webgui.org/community-wiki/customizing-wre-configuration | 17:13 |
GooeyOfSteel | Wiki: WRE-Building - Edited on 3/7/2008 2:38 pm by Graham http://www.webgui.org/community-wiki/wre-building | 17:13 |
GooeyOfSteel | Wiki: WRE-Building - Edited on 3/7/2008 2:37 pm by Graham http://www.webgui.org/community-wiki/wre-building | 17:14 |
GooeyOfSteel | Wiki: Login Toggle Macro - Edited on 3/7/2008 6:34 am by robbert http://www.webgui.org/community-wiki/login-toggle-macro | 17: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 #webgui | 17:21 | |
-!- mode/#webgui [+o preaction] by ChanServ | 17:21 | |
-!- lisette [n=liraos@201.232.58.66] has joined #webgui | 17:27 | |
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui | 17: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 #webgui | 18:04 | |
-!- dapperedodo [n=dappered@194.171.50.69] has joined #webgui | 18:05 | |
dapperedodo | is 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 | |
@preaction | dapperedodo, http://beta.webgui.org | 18:07 |
dapperedodo | thanks | 18: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 #webgui | 18:13 | |
-!- mode/#webgui [+o Haarg] by ChanServ | 18:13 | |
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui | 18: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 #webgui | 18: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 #webgui | 18:31 | |
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has joined #webgui | 18:52 | |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 18:52 | |
-!- BartJol [n=plainstu@host2.procolix.com] has quit [Read error: 113 (No route to host)] | 18:54 | |
CIA-22 | WebGUI: yung * r5959 /WebGUI/ (docs/changelog/7.x.x.txt lib/WebGUI/Asset/Wobject/Thingy.pm): fixed: Thingy: problems editing/viewing records | 19:04 |
perlmonkey2 | Lunch: 7-11 for bag of chips, bottle of Dr. Pepper and 2L of Coke. | 19:15 |
perlmonkey2 | Daz has we roll around here. | 19:15 |
@preaction | whut | 19:16 |
perlmonkey2 | Just bragging about the extravigant lunches I'm used to. | 19:25 |
perlmonkey2 | s/i/a/ | 19:25 |
@rizen | that's a pretty horrible lunch | 19:26 |
@rizen | though, i'm sure tasty | 19:27 |
ckotil | why so much cola? | 19:28 |
CIA-22 | WebGUI: 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 workflows | 19:30 |
CIA-22 | WebGUI: graham * r5961 /WebGUI/t/Asset/Wobject/Gallery/permission.t: small test fix | 19:30 |
CIA-22 | WebGUI: graham * r5962 /WebGUI/docs/create.sql: preparing for 7,5,8 release | 19:30 |
+perlDreamer | ckotil: caffeine and sugar => hacker energy | 19:32 |
@rizen | and a big fat belly | 19:32 |
+perlDreamer | exactamundo, rizenator | 19:33 |
@rizen | i should know...survived on it for years, and am now trying to get rid of the belly | 19:33 |
+perlDreamer | me, too | 19:33 |
@rizen | true...and you're actually succeeding | 19:33 |
@rizen | you're an inspiration to us all | 19:33 |
+perlDreamer | WUC tells all :) | 19:35 |
+perlDreamer | speaking of which, it's gym time again | 19:35 |
+perlDreamer | 140 pushups on Tuesday, I'm worried that coach wants to set a record today | 19:35 |
-!- perlDreamer is now known as self- | 19:36 | |
-!- self- is now known as DrPushUp | 19:36 | |
ckotil | wow | 19:40 |
perlmonkey2 | ckotil: 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 |
perlmonkey2 | Although 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 |
perlmonkey2 | Plus the interface to SurveyMonkey is just awful.....nearly pitiful. | 19:50 |
ckotil | yeah, i drink too much vault | 20:01 |
-!- BartJol [n=plainstu@52-167.surfsnel.dsl.internl.net] has joined #webgui | 20:05 | |
CIA-22 | WebGUI: jt * r5963 /releases/WebGUI_7.5.8-beta: Release 7.5.8-beta | 20:29 |
-!- jdanpl [n=jdanpl@xdsl-461.lubin.dialog.net.pl] has quit ["Leaving"] | 20:56 | |
-!- DrPushUp is now known as perlDreamer | 20:57 | |
+perlDreamer | sorry about that, preaction. | 21:06 |
+perlDreamer | the MySQL.t test should be renamed userNaziCheckingTest.t | 21:07 |
@preaction | uhh? | 21:07 |
+perlDreamer | you fixed a test that causing another test to fail because it left a user behind | 21:08 |
-!- dapperedodo_ [n=dappered@194.171.50.69] has joined #webgui | 21: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 #webgui | 21:11 | |
-!- dapperedodo_ [n=dappered@194.171.50.69] has quit [Read error: 104 (Connection reset by peer)] | 21:11 | |
@preaction | ahh | 21:14 |
CIA-22 | WebGUI: graham * r5964 /WebGUI/ (4 files in 4 dirs): preparing for 7.5.9 dev | 21:29 |
CIA-22 | WebGUI: graham * r5965 /WebGUI/ (3 files in 3 dirs): fixed: Collaboration System attachments follow site's max size instead of CS's | 21:29 |
CIA-22 | WebGUI: graham * r5966 /WebGUI/ (docs/changelog/7.x.x.txt lib/WebGUI/Form/HTMLArea.pm): fixed: Rich editor image uploader doesn't follow size limits | 21:29 |
-!- bi7ch` [n=alex4e@khan-madar.ddns.easy-lan.net] has joined #webgui | 21: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 #webgui | 22:04 | |
pvanthony | I am unable to add any article. Checked spectra and it is running. | 22:05 |
pvanthony | did a check on another website running on the same wre and it is working fine. | 22:06 |
pvanthony | same server too. | 22:06 |
BartJol | just saw your forum post | 22:06 |
pvanthony | any suggestions? | 22:06 |
BartJol | am afraid not, only updating your database, but that sounds a bit drastic | 22:07 |
pvanthony | Webgui version 7.4.30 and wre 0.8.3 | 22:07 |
BartJol | I mean update the fields of your db | 22:07 |
BartJol | I've seen something like that before | 22:08 |
BartJol | but not sure what can be done | 22:08 |
-!- pvantony [n=pvanthon@bb219-74-116-98.singnet.com.sg] has joined #webgui | 22:08 | |
BartJol | does the webgui.log give you some errors? | 22:08 |
pvantony | will check now | 22:08 |
pvantony | no error about version | 22:14 |
pvantony | is there any other place I can check? | 22:14 |
BartJol | will have a look | 22:16 |
pvantony | thank you for taking the time to help. | 22:16 |
BartJol | wremonitor.log maybe, same directory | 22:16 |
BartJol | np | 22:16 |
pvantony | all is well with spectra | 22: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 #webgui | 22:17 | |
BartJol | but I'm a bit of a newby on these matters, so don't get your hopes up too high | 22:17 |
BartJol | hee joeri | 22:17 |
pvantony | I understand | 22:18 |
pvantony | no problem | 22:18 |
perlmonkey2 | hmm, date type questions....how should the dates be stored internally? unix epoch? | 22:20 |
+perlDreamer | perlmonkey2: mysql format | 22:21 |
+perlDreamer | see WebGUI::DateTime | 22:22 |
perlmonkey2 | YYYY-mm-dd hh:mm:ss ? | 22:23 |
perlmonkey2 | groovy | 22:23 |
+perlDreamer | pvanthony: __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 |
pvantony | checked the site inbox and there is no mail. | 22:24 |
pvantony | will check again now | 22:24 |
+perlDreamer | check to see what the commit type is, in the settings | 22:25 |
+perlDreamer | Content 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 | |
pvantony | just checked the inbox and no email | 22:26 |
+perlDreamer | Check the commit type next, just to put it completely to bed. | 22:26 |
pvantony | commit without approval | 22:27 |
+perlDreamer | okay, so the whole premise is wrong. | 22:27 |
pvantony | I did some rollback. I think that caused the problem. | 22:28 |
pvantony | just guessing. | 22:28 |
+perlDreamer | rollback will delete version tags, not cause them to be pending. | 22:28 |
+perlDreamer | Can you set a pending version tag to be your current version tag and commit it? | 22:29 |
pvantony | no button to commit. | 22:29 |
pvantony | is there some way to just unlock everything? Like superuser power. | 22:30 |
+perlDreamer | you could change it in the db, but if there's a real problem that won't fix it | 22:31 |
pvantony | understand that. | 22:31 |
pvantony | I doubt there is anything wrong with WebGUI. Most likely I must have done something stupid | 22:32 |
+perlDreamer | Are you familiar with SQL? | 22:32 |
pvantony | a little | 22:34 |
pvantony | I could use webmin also | 22:34 |
pvantony | go to the table and change the flag | 22:35 |
+perlDreamer | Well, can you restore the old site from a backup? That would be safer. | 22:35 |
pvantony | If I had a back up | 22:35 |
+perlDreamer | no backups? | 22:35 |
+perlDreamer | Doesn't the WRE make backups automatically for you? | 22:35 |
pvantony | I must start some daily backup | 22:35 |
-!- dapperedodo [n=dappered@194.171.50.69] has quit [Read error: 104 (Connection reset by peer)] | 22:35 | |
pvantony | let me check. | 22:36 |
+perlDreamer | when did you upgrade last? It makes a backup. | 22:36 |
pvantony | ok will check now | 22:36 |
-!- dapperedodo [n=dappered@194.171.50.69] has joined #webgui | 22:36 | |
+perlDreamer | after you're done checking TURN ON THE BACKUPS :) | 22:36 |
BartJol | well installing a beta version is something differnt again | 22:38 |
BartJol | ah LocalAddr is undef | 22:39 |
BartJol | 127.0.0.1 probably is better? | 22:40 |
-!- dapperedodo_ [n=dappered@194.171.50.69] has joined #webgui | 22:41 | |
-!- dapperedodo [n=dappered@194.171.50.69] has quit [Read error: 104 (Connection reset by peer)] | 22:41 | |
BartJol | mmm that doesn't help | 22:41 |
BartJol | server name also gives no result | 22:43 |
-!- dapperedodo_ [n=dappered@194.171.50.69] has quit [Read error: 104 (Connection reset by peer)] | 22:43 | |
pvantony | to turn on back, it is done at wreconsole correct? | 22:44 |
pvantony | to turn on backup, it is done at wreconsole correct? | 22:44 |
-!- dapperedodo [n=dappered@194.171.50.69] has joined #webgui | 22:44 | |
+perlDreamer | pvanthony, I would check the wiki. I'm not a WRE user. | 22:45 |
pvantony | sorry I will do that. | 22:45 |
pvantony | thank you for helping. One more question. | 22:45 |
+perlDreamer | sure | 22:45 |
pvantony | which tables should I look into for the version problem | 22:46 |
+perlDreamer | asset, assetData and versionTag | 22:46 |
pvantony | thank you. | 22:46 |
+perlDreamer | in the wre docs directory, there is an install file called install.txt | 22:47 |
-!- dapperedodo [n=dappered@194.171.50.69] has quit [Read error: 104 (Connection reset by peer)] | 22:47 | |
+perlDreamer | it says how to do backups manually | 22:47 |
pvantony | cool thanks. | 22:47 |
pvantony | will do a backup then mess with it. | 22:47 |
-!- dapperedodo [n=dappered@194.171.50.69] has joined #webgui | 22:47 | |
+perlDreamer | yes, the WRE console will do backups | 22:48 |
CIA-22 | WebGUI: 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-8 | 22:50 |
CIA-22 | WebGUI: graham * r5968 /WebGUI/ (docs/changelog/7.x.x.txt lib/WebGUI/Asset/Wobject/Poll.pm): fixed: Poll question/answers with international text corrupted | 22: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 #webgui | 22: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 #webgui | 22:59 | |
-!- elnino [n=ninow@user-38q49cv.cable.mindspring.com] has joined #webgui | 23:25 | |
elnino | hi all | 23:25 |
+perlDreamer | howdy | 23:25 |
BartJol | hi | 23:25 |
elnino | delving 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 |
elnino | any slick tricks? | 23:26 |
+perlDreamer | aside from waiting until survey 2.0 comes out? | 23:26 |
elnino | when is that? | 23:31 |
elnino | will it have templates for each "qusetion/answer" | 23:31 |
elnino | type. | 23:31 |
elnino | ? | 23:31 |
elnino | =) | 23:31 |
@rizen | you need to ask perlmonkey2 | 23:31 |
+perlDreamer | perlmonkey2: We have a rabidlyy excited new Survey 2.0 user with some questions | 23:31 |
@rizen | he's writing it | 23:31 |
+perlDreamer | pm2: Are you deep in the hack trance, or is your caffeine running low? | 23:32 |
+perlDreamer | he had a key deadline today | 23:32 |
elnino | that'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 |
elnino | You guys have an awesome product here. I absolutly love it, Keep up the good work! | 23:33 |
perlmonkey2 | perlDreamer: okay, shoot | 23:34 |
+perlDreamer | elnino is your man, perlmonkey2 | 23:34 |
elnino | I only wish is was more known - it seems it's pretty popular in europe. | 23:34 |
perlmonkey2 | perlDreamer: here now | 23:34 |
perlmonkey2 | j/s let me read back through the channel | 23:34 |
elnino | Just wondering if there are templates for how multiple choice, text box, text answers are displayed, AND | 23:34 |
elnino | what you are reading now. =) | 23:35 |
perlmonkey2 | elnino: There will be about 15 templates for multiple choices | 23:35 |
elnino | sweet | 23:35 |
perlmonkey2 | gender, yes/no, true/false, education, concern, risk, race, party, etc | 23:35 |
perlmonkey2 | date, date range, text entry date (free form) | 23:36 |
perlmonkey2 | slider, dual slider (first slider set min, second sets max) for a range. | 23:36 |
elnino | specifically 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 |
perlmonkey2 | yes | 23:36 |
perlmonkey2 | gabe, is that you? | 23:36 |
elnino | and 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 |
elnino | no gabe here. | 23:37 |
elnino | sweet, when is this slatted for release? | 23:37 |
BartJol | Is that you John Wayne, is it me? | 23:37 |
perlmonkey2 | That is a question attribute whether answers are displayed horizontal or vertical. | 23:37 |
elnino | cool. | 23:37 |
perlmonkey2 | elnino: If I don't have a beta ready by Monday, two reseachersa re going to kick my arse. | 23:37 |
elnino | alrightly then! that's fast enough for me! | 23:38 |
elnino | I won't bug you anymore, it sounds like what we need! Thanks again! | 23:38 |
perlmonkey2 | elnino: 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 |
perlmonkey2 | heh, groovy. | 23:38 |
elnino | oh. I just htought of something else they may request. Any validation javascript stuff? I know, that's a pain... | 23:40 |
elnino | liek for phone numbers, emails, etc. | 23:40 |
perlmonkey2 | oh, 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 |
perlmonkey2 | elnino: I do plan on doing basic validation in the first release. | 23:40 |
perlmonkey2 | eventually I'd like each type to have some sort of validation | 23:40 |
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has quit ["Download Gaim: http://gaim.sourceforge.net/"] | 23:41 | |
elnino | here'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 |
perlmonkey2 | elnino: 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 |
perlmonkey2 | elnino: Can you explain more on wha tyou are trying to do? | 23:43 |
perlmonkey2 | s/excepting/accepting/ | 23:43 |
elnino | I'm trying to accomodate, my marketing people's requirements. =) | 23:43 |
perlmonkey2 | wow | 23:44 |
perlmonkey2 | hmm | 23:44 |
perlmonkey2 | good stuff | 23:44 |
perlmonkey2 | let me think | 23:44 |
elnino | They 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 URL | 23:44 |
perlmonkey2 | rizen, please weigh in if you have any thoughts. | 23:44 |
elnino | and their contact information would autoamtically be associated with their response to the survey, (hense the hidden field) | 23:44 |
elnino | on their survey, they are doing 1-10 rankings stuff, which you've already addressed. | 23:45 |
elnino | =) | 23:45 |
elnino | lol | 23:45 |
perlmonkey2 | rizen: I'm not sure I know how to do that? | 23:46 |
perlmonkey2 | rizen: But lots of people will probably want that feature. | 23:46 |
CIA-22 | WebGUI: jt * r5969 /branch/WebGUI_Commerce/lib/WebGUI/Asset/ (Sku/EMSTicket.pm Wobject/EventManagementSystem.pm Sku.pm): user interface mostly working for ems | 23:48 |
perlmonkey2 | rizen: 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 |
perlmonkey2 | rizen: 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 | |
@preaction | macros | 23:51 |
perlmonkey2 | rizen: www_newSurvey so http://www.mycompany.com/assetId;func=newSurvey?tag=myidenttag | 23:51 |
perlmonkey2 | preaction: How would the macro know which survey response to stick the variable in? | 23:52 |
perlmonkey2 | oh, I guess macros have access to the session object. | 23:52 |
@preaction | do response fields have initial values? | 23:52 |
perlmonkey2 | some do, some don't. | 23:53 |
perlmonkey2 | none of the text entries woudl. | 23:53 |
@preaction | and is there any way to have a hidden field? | 23:53 |
@preaction | i mean, these features can be added later of course, but they help push what is possible | 23:53 |
perlmonkey2 | currently I don't have that, but I could add that as a question attribute I guess. | 23:53 |
@preaction | the 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 |
perlmonkey2 | preaction: hah, I think your use of "fun" is subjective :P | 23:55 |
perlmonkey2 | preaction: 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 |
perlmonkey2 | unless I do a special method to the wobject that would have to be in the meailed url. | 23:56 |
elnino | hmm. 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 | ||
elnino | Oh - 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 w | 00:01 |
elnino | ith the survey, | 00:01 |
elnino | at 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 |
@preaction | perlmonkey2, but don't let feature creep ruin your delivery date. just a warning from someone's whos been burned more than once | 00:02 |
elnino | totally I agree, don't let my stuff become feature creep. | 00:03 |
perlmonkey2 | preaction: 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 |
perlmonkey2 | Then allowing for a hidden question type would work | 00:03 |
@preaction | i dunno. that sounds needlessly complex. but then i don't know anything about the internals of the system | 00:04 |
@preaction | i mean, sending a form param out when you already have the value in the database? | 00:04 |
elnino | for me, yes, I believe it (a hidden field with the url param) would. | 00:04 |
@preaction | oh. i see | 00:05 |
perlmonkey2 | preaction: 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 |
@preaction | that 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-filled | 00:06 |
perlmonkey2 | they could or could not override the defaults in the database....probably so | 00:06 |
perlmonkey2 | preaction: oh snap, twofor! | 00:06 |
perlmonkey2 | or is that twofer | 00:06 |
perlmonkey2 | ? | 00:06 |
@preaction | eh, either way | 00:06 |
@preaction | clearing 12GB out of a slow box is never any fun... | 00:07 |
perlmonkey2 | So 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 |
elnino | perlmonkey2: yes, I believe that would hellp me greatly. | 00:09 |
perlmonkey2 | should be easy enough to add for the beta. | 00:10 |
elnino | Much appreciated! | 00:10 |
perlmonkey2 | Thank you for bringing it to my attention. | 00:11 |
@rizen | pm2: that seems reasonable to me | 00:12 |
@rizen | you actually don't need to store any of the user's info at all | 00:13 |
@rizen | all you need to do is store that tag code | 00:13 |
@rizen | and then that can be cross referenced at a later date | 00:13 |
perlmonkey2 | rizen: 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 |
perlmonkey2 | That sound about right? | 00:14 |
elnino | to 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 |
@rizen | i'm talking about the question you asked a while back that was directed at me | 00:15 |
perlmonkey2 | elnino: 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 |
perlmonkey2 | oh | 00:15 |
@rizen | http://domain.com/survey?func=newSurvey;tag=someuserid | 00:15 |
elnino | you'd use a macro in the default value. Formparam | 00:15 |
@rizen | where someuserid is just a string that is arbitrarily attached to the survey response | 00:15 |
perlmonkey2 | rizen: 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 |
@rizen | someuserid 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 time | 00:16 |
@rizen | exactly | 00:16 |
elnino | actually, 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 |
perlmonkey2 | rizen: I think this is a common enough survey requirement that a custom one off method just for it is reasonable? | 00:17 |
@rizen | fine by me | 00:17 |
@rizen | and again, the tag would be just a text field | 00:17 |
@rizen | so you could store anythign you want in it | 00:17 |
perlmonkey2 | elnino: This is all ajaxified, so any fields in the template won't be stored in the survey responses | 00:17 |
perlmonkey2 | rizen: so newSurvey woudl just record the tag, create the new survey response and then redirect to www_view? | 00:18 |
elnino | hmm. 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 |
@rizen | yup | 00:19 |
@rizen | and it wouldn't even be an httpd redirect | 00:19 |
perlmonkey2 | elnino: 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 |
elnino | no... I dont' think so. | 00:19 |
@rizen | the end of www_newSurvey() would just do: return $self->www_view; | 00:20 |
perlmonkey2 | rizen: even better...I dig it. | 00:20 |
elnino | I thought there was a template assocatied with each question I create? | 00:20 |
perlmonkey2 | elnino: The old way there is. | 00:21 |
perlmonkey2 | or the current way, I shoudl say. | 00:21 |
elnino | oh. ok. I'll leave it up to you guys then. | 00:21 |
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI | 00:22 | |
CIA-22 | WebGUI: graham * r5970 /Too many paths: upgrading to TinyMCE 3 | 00:32 |
CIA-22 | WebGUI: graham * r5971 /WebGUI/lib/WebGUI/Asset/RichEdit.pm: use minified tinymce | 00: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-22 | WebGUI: 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's | 01:14 |
-!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui | 01:32 | |
-!- mode/#webgui [+v Radix-wrk] by ChanServ | 01:32 | |
-!- topsub [n=topsub20@cpe-071-071-252-225.carolina.res.rr.com] has joined #webgui | 02: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 #webgui | 02:43 | |
topsub | got a question for you guys.. What is the best way to create folders on the fly from a script | 03:08 |
topsub | i have to do importing a bunch of pdf docs and i need to on the fly create folders that they go in | 03:08 |
topsub | thought it might be the addChild call but not sure. | 03:09 |
topsub | is 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 #webgui | 03:32 | |
-!- DGMurdockIII [n=dgmurdoc@64-184-9-130.bb.hrtc.net] has left #webgui [] | 03:33 | |
topsub | seems to got it.. i got research how to auto commit the tag | 03:39 |
topsub | but at least i have it creating the folders! | 03:39 |
topsub | but yeps rizen thats how.. thanks! | 03:39 |
@rizen | WebGUI::VersionTag->getWorking($session)->commit; | 03:41 |
topsub | hehe yep found it in the file import script | 03:50 |
topsub | thanks again tho! | 03:50 |
topsub | lol | 03:50 |
topsub | knew i saw it before just had to remember where | 03:50 |
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit [Remote closed the connection] | 04:04 | |
@rizen | topsub, do you work at knowmad? | 04:05 |
topsub | yes | 04:06 |
topsub | Why 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 #webgui | 05:22 | |
-!- Radix-wrk [n=Jesse@203.161.68.67] has quit ["Leaving"] | 05:24 | |
-!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui | 05:33 | |
-!- mode/#webgui [+v Radix-wrk] by ChanServ | 05: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 #webgui | 06:15 | |
-!- mode/#webgui [+o preaction] by ChanServ | 06: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 #webgui | 07:12 | |
-!- mode/#webgui [+o preaction] by ChanServ | 07: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 #webgui | 08:52 | |
-!- dapperedodo [n=dappered@194.171.50.69] has joined #webgui | 08:59 | |
-!- ryuu_ro_ [n=rory@194.171.50.69] has joined #webgui | 09: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 #webgui | 09:20 | |
fiddur | An 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 #webgui | 09:43 | |
-!- mode/#webgui [+o preaction] by ChanServ | 09:43 | |
fiddur | Hella preaction. Since noones said bleep since I came in, I'm reposting my question for you now :) | 09:44 |
fiddur | An 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-22 | WebGUI: jt * r5973 /translations/Swedish/ (5 files in 2 dirs): update_from_translation_server | 09:48 |
-!- ryuu_ro_ [n=rory@194.171.50.69] has quit [] | 10:02 | |
-!- ryuu_ro [n=rory@194.171.50.69] has joined #webgui | 10: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 suspect | 10:37 |
-!- Janneman [n=jverlaan@c63249.upc-c.chello.nl] has joined #webgui | 11:10 | |
-!- Janneman [n=jverlaan@c63249.upc-c.chello.nl] has left #webgui [] | 11:13 | |
CIA-22 | WebGUI: yung * r5974 /WebGUI/ (docs/changelog/7.x.x.txt lib/WebGUI/Form/FieldType.pm): fixed: Form::FieldType->getTypes should exclude Form::Slider base class | 11:46 |
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui | 12:16 | |
-!- bartjol [n=bartjol@194.171.50.123] has joined #webgui | 12: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 #webgui | 13:21 | |
-!- mode/#webgui [+o Haarg] by ChanServ | 13: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 #webgui | 14:35 | |
-!- ryuu_ro_ [n=rory@194.171.50.69] has joined #webgui | 14: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 #WebGUI | 14:49 | |
SDuensin | Morning. | 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 #webgui | 14:58 | |
-!- mode/#webgui [+o Haarg] by ChanServ | 14:58 | |
-!- ryuu_ro [n=rory@194.171.50.69] has joined #webgui | 15: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 #webgui | 15:22 | |
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui | 15:29 | |
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."] | 15:43 | |
@rizen | fiddur: 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 |
topsub | hello everyone | 15:53 |
-!- lisette [n=liraos@201.232.58.66] has joined #webgui | 16:10 | |
-!- khenn [n=khenn@71-86-227-90.static.mdsn.wi.charter.com] has joined #WebGUI | 16:15 | |
-!- mode/#webgui [+o khenn] by ChanServ | 16: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 #webgui | 16:20 | |
-!- ryuu_ro_ [n=rory@194.171.50.69] has joined #webgui | 16: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 #webgui | 16:30 | |
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui | 16:32 | |
-!- mode/#webgui [+o rizen] by ChanServ | 16: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 #webgui | 16:34 | |
-!- mode/#webgui [+o rizen] by ChanServ | 16:34 | |
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui | 16:36 | |
-!- mode/#webgui [+o apeiron] by ChanServ | 16:36 | |
-!- perlmonkey2 [n=perlmonk@casr-dev.fwsm2ppuser.ou.edu] has joined #webgui | 16:36 | |
-!- MrHairgrease [n=martin@194.171.50.69] has joined #webgui | 16:44 | |
-!- mode/#webgui [+v MrHairgrease] by ChanServ | 16: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 #webgui | 16:48 | |
-!- mode/#webgui [+o rizen] by ChanServ | 16:48 | |
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui | 16:59 | |
-!- mode/#webgui [+o preaction] by ChanServ | 16:59 | |
-!- lisette [n=liraos@201.232.58.66] has left #webgui [] | 17:00 | |
-!- lisette [n=liraos@201.232.58.66] has joined #webgui | 17:01 | |
+MrHairgrease | nuba, what's the update interval of GooeyOfSteel's wiki checker? | 17:52 |
CIA-22 | WebGUI: yung * r5975 /WebGUI/lib/WebGUI/i18n/English/Asset_Thingy.pm: removed an unused Thingy label | 18:05 |
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has left #webgui [] | 18:10 | |
-!- knowma1 [n=william@97.66.185.250] has joined #webgui | 18:26 | |
knowma1 | TGIF ya'll | 18:27 |
-!- wgGuest11 [n=wgGuest1@213-94-148-134.b-ras1.lmk.limerick.eircom.net] has joined #webgui | 18:27 | |
knowma1 | are there any spectre pros here? | 18:27 |
wgGuest11 | hello all | 18:27 |
@preaction | hello | 18:28 |
knowma1 | i'm getting error output to my webgui.log from spectre which is showing up in GMT time | 18:28 |
knowma1 | hey preaction | 18:28 |
wgGuest11 | am looking for a little help | 18:28 |
knowma1 | is this normal? the rest of the entries are in localtime | 18:28 |
@preaction | knowma1, 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 locales | 18:29 |
@preaction | something to do with Perl not liking when the shell's locale isn't set | 18:29 |
knowma1 | ok, i think i'll file this as a bug report since it makes parsing the log files difficult | 18:29 |
wgGuest11 | am 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 |
knowma1 | btw, this is seen on on windoze | 18:30 |
@preaction | knowma1, of course, you're a windows shop ;-) just let the buglist know that | 18:30 |
@preaction | wgGuest11, yes, webgui could help you do that | 18:30 |
knowma1 | wgGuest11: yes, webgui can manage a database for you | 18:30 |
knowma1 | no, we're not a windows shop! please don't spread that rumor | 18:30 |
@preaction | there's even a way to build a database application for them to make it easy, all without modifying a single line of code | 18:31 |
knowma1 | we just happen to have clients who are on windows | 18:31 |
@preaction | knowma1, apologies, i'll correct myself | 18:31 |
knowma1 | in 7.5 | 18:31 |
knowma1 | thanks, i don't want ppl thinking we're a M$ shop | 18:31 |
wgGuest11 | cool, thanks | 18:31 |
wgGuest11 | my hosting plan mysql and php is this still ok? | 18:31 |
@preaction | wgGuest11, 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 justice | 18:31 |
@preaction | uh... no | 18:31 |
knowma1 | we're totally LAMP but deploy to alternate OS's like Windows (everyone knows the only true OS is Linux ;) | 18:32 |
@preaction | you'll need shell access and mod_perl | 18:32 |
wgGuest11 | only allowed 2 databases aswell | 18:32 |
@preaction | webgui is not a trivial application, it's also not a CGI application | 18:32 |
@preaction | your best bet might be a WebGUI hoster. some even come with support to help you learn how to use webgui to serve your clients | 18:32 |
knowma1 | webgui is enterprise-class content management and requires a more complex configuration than some of the other systems | 18:33 |
wgGuest11 | windows isnt worth the paper its written on,, microsoft thievs | 18:33 |
wgGuest11 | i get u | 18:33 |
@preaction | knowma1, are you guys into low-level hosting? or is plainblack the only one around? | 18:33 |
wgGuest11 | any other suggestions perhaps? | 18:33 |
knowma1 | no, we're not really selling hosting; we provide it as a service to our clients but it's not a core service like PB | 18:34 |
+MrHairgrease | procolix does hosting too | 18:34 |
knowma1 | wgGuest11: use PlainBlack's hosting plan - it's just $15/mo for entry-level hosting last I checked | 18:34 |
@preaction | try 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/download | 18:34 |
knowma1 | hey MrHairgrease, i thought you'd be signed out by now | 18:34 |
+MrHairgrease | signed out? | 18:35 |
@preaction | i think our 15 a month plan doesn't include support. support is a Good Thing (tm) for those just starting out | 18:35 |
wgGuest11 | kick ass | 18:35 |
knowma1 | it's friday night over your way isn't it? | 18:35 |
wgGuest11 | thanks a million for the help | 18:35 |
@preaction | it's like 10pm there, isn't it MrHairgrease? | 18:35 |
wgGuest11 | much appreciated | 18:35 |
+MrHairgrease | 17:35 | 18:35 |
@preaction | oh. its 5:35 and you're not out and having fun yet? | 18:35 |
knowma1 | you're on GMT time? I thought you'd be -1 GMT | 18:35 |
+MrHairgrease | bart and rory are waiting for me to finish my beer | 18:35 |
+MrHairgrease | then we go to the bar | 18:35 |
knowma1 | i 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 bar | 18:36 |
knowma1 | ahh, those europeans know how to live! | 18:36 |
@preaction | amen | 18:36 |
knowma1 | hey preaction, i need to track down a Spectre error | 18:36 |
@preaction | bonne chance | 18:37 |
knowma1 | I'm going to paste the error to pastebin.. brb | 18:37 |
+MrHairgrease | knowma1, if you wanna join we go to locus: http://www.oqapi.nl/googlemaps-macro/googlemaps-macro-with-xml-data-source | 18:37 |
+MrHairgrease | preaction is welcome too of course | 18:37 |
knowma1 | i appreciate the offer and would love to join you if it weren't for the damn jetlag | 18:38 |
@preaction | of course. i'll just hop in my TARDIS and be there in a wink | 18:38 |
+MrHairgrease | I hadn't considered that... | 18:38 |
+MrHairgrease | well let's try again at the wuc then | 18:38 |
knowma1 | yes, definitely | 18:38 |
@preaction | jetlag, you wouldn't even have to drink and you'd be hilarious! | 18:38 |
knowma1 | ok, here's my error -- webgui.pastebin.com/d68fe16f4 | 18:41 |
@preaction | 502 means that spectre hit the mod_proxy server, but the mod_perl server behind it was down | 18:41 |
@preaction | you should probably change the webguiPort in your spectre.conf to hit the mod_perl server directly | 18:42 |
knowma1 | ahh, it was down because it crashed | 18:42 |
knowma1 | we're getting occassional perl58.dll crashes in our logs and have been trying to track down what's causing them | 18:42 |
knowma1 | so it wasn't spectre that caused it but rather spectre failed b/c modperl was down | 18:43 |
@preaction | perl58.dll crashes because of that? weird | 18:43 |
knowma1 | are you guys aware of any modperl crashes on any platforms? | 18:43 |
knowma1 | no, i think it's already crashed which causes spectre to get 502 | 18:43 |
@preaction | not any reproducable ones | 18:44 |
knowma1 | something is bringing down modperl (which is perl58.dll on windows) | 18:44 |
knowma1 | it's happening on 0.8.0 with 7.4.(something a few months old) | 18:44 |
knowma1 | and on the new 0.8.3 wre with 7.4.28 | 18:44 |
knowma1 | haven't seen any signs of it on our linux boxes so it appears to be a windows issue only | 18:45 |
knowma1 | problem is that it's not recurring on a consistent interval and we don't know how to reproduce it yet | 18:45 |
@preaction | i would suspect it's a mod_perl issue, but i'd have no idea how to go about debugging it | 18:45 |
knowma1 | yeah, that's the boat we're in now | 18:45 |
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has joined #webgui | 18:48 | |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 18:48 | |
knowma1 | hey, do you know who compiles the windows distro? | 18:48 |
knowma1 | i'm curious if it's a compiler issue or something else | 18:48 |
-!- fiddur [i=fiddur@c042.rit.se] has quit ["Leaving."] | 18:49 | |
@preaction | knowma1, i think we grab pre-compiled versions of things and integrate them | 18:52 |
@preaction | only Haarg and rizen would know for sure though | 18:52 |
knowma1 | ok | 18:52 |
@Haarg | preaction is right | 18:52 |
@rizen | Haarg does the windows version, and we don't compile it | 18:52 |
knowma1 | ok, that's good to know | 18:53 |
knowma1 | Haarg: 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 | |
+MrHairgrease | ok beer time | 18:54 |
+MrHairgrease | later | 18:54 |
knowma1 | cheers! | 18:54 |
+MrHairgrease | thanks | 18:54 |
-!- MrHairgrease [n=martin@194.171.50.69] has left #webgui [] | 18:54 | |
@Haarg | directly from apache.org i'm pretty sure. i haven't updated it in a while. | 18:54 |
knowma1 | oh, so i may want to upgrade and see if that fixes the error | 18:54 |
GooeyOfSteel | Wiki: 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-automatically | 19:23 |
GooeyOfSteel | Wiki: jsquery and webgui - Created on 3/27/2008 4:07 pm by elnino http://www.webgui.org/community-wiki/jsquery-and-webgui | 19:23 |
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui | 19:26 | |
+perlDreamer | wgGuest11: Has anyone offered to help you yet? Do you have any questions? | 19:27 |
@preaction | for 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 warning | 19:29 |
+perlDreamer | if it's owned by root and not writable by webgui-user, it's more than a warning | 19:29 |
@preaction | i just chown the entire public folder to webgui:webgui | 19:29 |
+perlDreamer | weird | 19:30 |
@preaction | didn't get these errors when upgrading, so i'm assuming it's because apache is running as webgui | 19:31 |
@preaction | normal users can't chown | 19:31 |
+perlDreamer | didn't Haarg add something to the upgrade scripts to fix that? | 19:32 |
@Haarg | i didn't yet | 19:32 |
@preaction | but 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 fails | 19:33 |
@preaction | fixed it by forcing Archive::Tar to not try to chown or chmod | 19:41 |
@apeiron | Is someone using Fatal.pm somewhere? | 19:44 |
-!- wgGuest11 [n=wgGuest1@213-94-148-134.b-ras1.lmk.limerick.eircom.net] has quit [] | 19:44 | |
@Haarg | what version of Archive::Tar are you using? | 19:44 |
@Haarg | looking at the code, it isn't even supposed to try to chown unless run as root | 19:45 |
@preaction | 1.29 | 19:46 |
@preaction | 1.38 is installing now | 19:47 |
@preaction | this is on one of our servers, so 1.29 is what got installed with the WRE | 19:48 |
+perlDreamer | time for a WRE upgrade? | 19:48 |
+perlDreamer | no Fatal in the core code | 19:48 |
+perlDreamer | (btw, not including i18n and Help, wG has ~125 kLOC) | 19:49 |
@Haarg | the code that handles that doesn't look any different in 1.29 | 19:50 |
@apeiron | perlDreamer, 0.8.3 has 1.29, so unless you mean update the A::T in the Wre. | 19:50 |
+perlDreamer | that is what I meant, but if there's no difference in the code and no critical bugs fixed.... | 19:51 |
@Haarg | actually, that's something that could be improved | 19:51 |
@apeiron | I don't see anything in A::T's changes file that specifically mentions what we're seeing here. | 19:52 |
@apeiron | But it could be the result of one of the since-1.29 fixed bugs? | 19:52 |
@Haarg | it really should either skip chown or do like i did for other file adding | 19:52 |
@Haarg | is the exact error you got "can't set uid/gid"? | 19:54 |
@preaction | yes | 19:55 |
@preaction | Could not set uid/gid on '/data/domai | 19:55 |
@preaction | ns/example.com/public/uploads/temp/Oi/OiWqXVDc9r3ur1ZT6_HrFQ/000001000001000128000004.json' | 19:55 |
* perlDreamer goes to lunch | 20:29 | |
@rizen | whatever you guys do for your jobs | 20:36 |
@rizen | let me just tell you, that you won't ever have a worse day than a day where you do nothing but accounting stuff | 20:36 |
* rizen cringes | 20:36 | |
perlmonkey2 | hah, accounting was by far the hardest class I took in school. | 20:45 |
perlmonkey2 | And it was only intro into accounting. | 20:45 |
perlmonkey2 | compilers, 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 | |
lisette | hi | 21:25 |
lisette | i can process a survey in mode quiz, with the score transform in coins? | 21:26 |
perlmonkey2 | lisette: Try this, as I don't understand what you are saying: http://www.google.com/language_tools | 21:29 |
perlmonkey2 | lisette: What is your primary language? | 21:30 |
lisette | i want process the score of the survey in mode quiz, i want convert this in credits! | 21:31 |
perlmonkey2 | you want to take the results of a quiz and give the user money? Karma? some sort of score? | 21:32 |
lisette | yes | 21:32 |
lisette | my primary language is spanish | 21:32 |
perlmonkey2 | Usted puede escribir una macro e insértela en la página de plantilla. | 21:32 |
perlmonkey2 | ¿Eso tiene sentido? | 21:33 |
lisette | si | 21:33 |
CIA-22 | WebGUI: graham * r5976 /wrebuild/wre/bin/pdf2txt.pl: fix typo in pdftotext call | 21:34 |
lisette | y la informacion la encuentro en la db? | 21:34 |
perlmonkey2 | No 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 |
perlmonkey2 | Usted 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 |
lisette | chapuza? | 21:35 |
perlmonkey2 | Si mi español sucks, culpa de Google. | 21:35 |
perlmonkey2 | Ver con hacer? | 21:36 |
lisette | que? | 21:36 |
perlmonkey2 | Hacer que funcione, a pesar de que no es la forma en que se supone que trabajo. | 21:36 |
lisette | what | 21:36 |
lisette | write in english | 21:36 |
perlmonkey2 | Yo no hablo mucho español, estoy usando el traductor de Google:) | 21:37 |
perlmonkey2 | hah | 21:37 |
perlmonkey2 | okay | 21:37 |
perlmonkey2 | you 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 #webgui | 21:37 | |
perlmonkey2 | Well, before you do that, what are you going to do with the credits? | 21:38 |
jua1 | hello | 21:38 |
perlmonkey2 | hello jua1 | 21:39 |
jua1 | if i have copied the file control to a new control because i want to change somethings | 21:39 |
jua1 | the problem is how can see it when i add a new field in a data form' | 21:39 |
jua1 | have 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 | |
lisette | how to do to change "Visitor" to "Visitante"? | 21:59 |
@preaction | that's an i18n value if i'm not mistaken | 22:02 |
lisette | i can't found | 22:05 |
@preaction | it's probably in lib/i18n/English/WebGUI.pm | 22:06 |
lisette | ok | 22:08 |
lisette | i try | 22:08 |
+perlDreamer | lisette, you could try using the Spanish translation of WebGUI instead | 22:09 |
CIA-22 | WebGUI: graham * r5977 /WebGUI/ (4 files in 4 dirs): fixed: subscription group in CS edit not internationalized | 22:16 |
CIA-22 | WebGUI: graham * r5978 /WebGUI/ (6 files in 6 dirs): fixed: profile photos don't obey max image size | 22:16 |
lisette | yes | 22:21 |
lisette | but i can't find this | 22:21 |
lisette | pero no sé en que parte se encuentra | 22:22 |
+perlDreamer | I did some looking, too, and Visitor is not translated in i18n/English/*.pm | 22:23 |
+perlDreamer | It's in the database | 22:23 |
+perlDreamer | To change it, become Admin | 22:23 |
+perlDreamer | Go to the Admin Panel | 22:23 |
+perlDreamer | Choose Users | 22:23 |
lisette | yes | 22:23 |
+perlDreamer | From the list of Users, choose Visitor. Then edit Visitor's username to Visitante. | 22:24 |
lisette | thanks | 22:24 |
jua1 | perlDreamer, i have copied the file control to a new control because i want to change somethings | 22:27 |
jua1 | the problem is how can see it when i add a new field in a data form' | 22:27 |
jua1 | have I do something extra to see it? | 22:27 |
+perlDreamer | the form fields that the data form uses are hard coded inside of Asset/Wobject/DataForm.pm | 22:28 |
-!- metanil [n=akhadka@137.48.138.72] has joined #webgui | 22:30 | |
jua1 | so, i will have to modify the wobject too | 22:31 |
+perlDreamer | yes | 22:31 |
jua1 | do you know how openid works? | 22:32 |
+perlDreamer | No, but I know there's an OpenId auth module in the Get Add Ons section of webgui.org | 22:32 |
-!- estiven [n=estiven@201.232.58.66] has joined #webgui | 22:32 | |
jua1 | yes, i saw it | 22:33 |
+perlDreamer | rizen: I've thought more about mixins, and while I think it's the right thing to do | 22:34 |
+perlDreamer | I think it will take longer to do it the mixin way | 22:34 |
+perlDreamer | I'd like to take a raincheck on the mixin project for another version, and concentrate | 22:35 |
+perlDreamer | on the commerce for now, to get it done. | 22:35 |
+perlDreamer | sound okay? | 22:35 |
-!- SDuensin [n=Scott@53.sub-75-206-181.myvzw.com] has quit ["Leaving"] | 22:54 | |
@rizen | sounds good to me | 23:08 |
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui | 23:13 | |
+perlDreamer | rizen: Are you doing bookkeeping today? | 23:44 |
perlmonkey2 | Is GnuCash the PB accounting tool of choice? | 23:45 |
+perlDreamer | I'm thinking he uses an abacus | 23:46 |
+perlDreamer | with magnetic bubble transactional memory | 23:46 |
perlmonkey2 | Probably easier than gnucash | 23:46 |
perlmonkey2 | If I had my own business the first employee I would hire would be an accountant. | 23:47 |
@preaction | you can rent accountants | 23:47 |
@preaction | like you can rent lawyers | 23:47 |
perlmonkey2 | there you go | 23:48 |
-!- jfluhmann [n=jfluhman@x171y167.angelo.edu] has joined #webgui | 23:48 | |
+perlDreamer | I hire an accountant to do my taxes. | 23:48 |
+perlDreamer | I tried to do them for 4 years, and did them wrong every time, even with using TurboTax | 23:48 |
@preaction | do you think, by using a psuedoclass we could test for coverage of our Help variables? | 23:49 |
+perlDreamer | I don't understand | 23:49 |
@preaction | the same way we have PseudoRequest, we could have a PseudoTemplate | 23:49 |
@preaction | and when "processTemplate" was called, it would gather up the template variables and match them to something in the Help files | 23:49 |
@preaction | i 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 |
@preaction | but i suppose maybe i should make my test box work before i start talking about these lofty idears | 23:50 |
+perlDreamer | Yes, 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 |
+perlDreamer | Dude, if only there was enough time in the day :) | 23:51 |
@preaction | yeah | 23:51 |
+perlDreamer | Have you seen last night's smoke test from the nighly build? | 23:51 |
+perlDreamer | The company url test failed | 23:51 |
@preaction | i think a big important thing we need is the multiple-version smoking | 23:51 |
@preaction | uh... weird | 23:51 |
+perlDreamer | if version==branch, I agree | 23:51 |
+perlDreamer | yeah, it's a 3 line test | 23:51 |
+perlDreamer | it should not ever fail | 23:51 |
@preaction | no, 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 intact | 23:52 |
@preaction | right now we use resetdev to test single-version upgrades | 23:52 |
+perlDreamer | personally, I think we need multiple branch smoking first | 23:53 |
@preaction | but that has failed us before, the 7.3.0 / Calendar thing was rocky because we didn't test multiple-version upgrades | 23:53 |
+perlDreamer | multiple version doesn't need to be regressionable | 23:53 |
@preaction | that's already in place, if the damned thing would just WORK | 23:53 |
@preaction | i'm testing SVN, 7.4, and Commerce, theoretically | 23:53 |
+perlDreamer | still having hardware problems? | 23:53 |
@preaction | i'm not sure... the computer runs absolutely fine on my table, but when i put it on the shelf, it doesn't run for long | 23:54 |
@preaction | sounds like a heating problem, but the CPU never goes above 40C | 23:55 |
+perlDreamer | dirty power problem/ | 23:55 |
+perlDreamer | ? | 23:55 |
@preaction | nm, the CPU's at 41 right now. and the computer hasn't worked in a few days... | 23:55 |
@preaction | might be | 23:55 |
+perlDreamer | http://jobs.perl.org/job/8272 | 23:57 |
+perlDreamer | Go lisette, go! | 23:58 |
perlmonkey2 | lisette: is behind that job posting? | 23:59 |
+perlDreamer | No, she's translating WebGUI into Spanish. | 23:59 |
CIA-22 | WebGUI: jt * r5979 /translations/Spanish/Spanish/ (5 files): update_from_translation_server | 23:59 |
CIA-22 | WebGUI: jt * r5980 /translations/Spanish/notes.txt: update_from_translation_server | 23:59 |
--- Day changed Sat Mar 29 2008 | ||
perlmonkey2 | hmm.....would I move to DC to help nader run for president. | 00:00 |
+perlDreamer | telecommute job | 00:00 |
+perlDreamer | lisette: A few translation hints. | 00:01 |
perlmonkey2 | If 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 |
+perlDreamer | Translating WebGUI will get you a big bang for your time, since WebGUI labels are used everywhere. | 00:01 |
+perlDreamer | Asset is another good one. | 00:01 |
+perlDreamer | What's wrong with believing in UFOs? | 00:02 |
+perlDreamer | There's no conclusive proof for or against, so far. | 00:02 |
perlmonkey2 | People 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 |
+perlDreamer | Arguing ad extreme is not an effective tactic | 00:03 |
perlmonkey2 | Believing in UFO's is like the tooth fairy.....zero evidenc.e | 00:03 |
perlmonkey2 | I'm just saying.....it is rational to speculate that UFO's could be visiting....it is irrational to say they actually are. | 00:05 |
+perlDreamer | I can buy that | 00:05 |
perlmonkey2 | I 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 |
+perlDreamer | That would be nice, but once the resources get settled out we'd find some other reason for doing it. | 00:08 |
perlmonkey2 | Oh, I'll never vote for Nader now. He chose Mason over Catalyst. | 00:08 |
+perlDreamer | See what I mean? | 00:08 |
perlmonkey2 | :D | 00:08 |
+perlDreamer | Let's go nuke the Ruby people tomorrow :) | 00:08 |
perlmonkey2 | everyone knows they have it coming. | 00:08 |
perlmonkey2 | Naw, 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 |
perlmonkey2 | For 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 | |
+perlDreamer | safer topic :) Are you going to make your Monday deadline? | 00:14 |
knowma1 | has anyone ever seen SQLReport lose it's query and dblink info when it goes to process the query? | 00:24 |
knowma1 | I've got an sql report that has a query and dblink stored but the view method isn't retrieving this info from the db | 00:24 |
perlmonkey2 | perlDreamer: sorry, wife with broken knee tendons jsut got home, had to help her out of the car. | 00:24 |
+perlDreamer | Not a problem. | 00:25 |
+perlDreamer | You're a good husband to help her. | 00:25 |
perlmonkey2 | perlDreamer: 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 |
perlmonkey2 | I try :) | 00:25 |
+perlDreamer | knowma1: what error does it throw? | 00:27 |
knowma1 | couldn't find dblink | 00:28 |
knowma1 | i'm looking in SQLReport table in db now | 00:29 |
knowma1 | what column do i use to eliminate archives? | 00:29 |
+perlDreamer | No idea | 00:29 |
knowma1 | let me restate | 00:30 |
+perlDreamer | revisions? | 00:30 |
knowma1 | when i searched the sqlreport db by the assetid, i got back lots of rows | 00:30 |
knowma1 | yes, that's what i'm trying to say | 00:30 |
+perlDreamer | and revisionDate=(select max(revisionDate) from table where assetId=myAssetId) | 00:30 |
knowma1 | somehow my later revisions have empty dbQuery1 entries... | 00:30 |
knowma1 | actually they are NULL | 00:31 |
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["switching to laptop"] | 00:31 | |
+perlDreamer | who made the later versions? | 00:31 |
knowma1 | moi | 00:31 |
+perlDreamer | do anything funny by accident? | 00:31 |
knowma1 | i've been working on this asset all afternoon (it's a gnarly subselect query) | 00:31 |
knowma1 | nope, just been editing away] | 00:31 |
knowma1 | i can see it growing then all of a sudden it goes to NULL | 00:32 |
+perlDreamer | I would suggest rolling back version tags 'til you get back to a valid one, then start again | 00:32 |
knowma1 | weird thing is that when i edit it, i see the query | 00:32 |
knowma1 | it just won't save | 00:32 |
+perlDreamer | that's browser form memory | 00:32 |
+perlDreamer | won't save 'cause there's no dbLink? | 00:32 |
knowma1 | so why ain't sqlreport saving the new stuff? | 00:32 |
+perlDreamer | what does it say when you try to save? | 00:34 |
knowma1 | there's a method called _storeQueries which appears to be doing the lifting | 00:34 |
knowma1 | nada, it just acts like usual | 00:35 |
knowma1 | i've seen this happen before and we deleted the query and started a new one | 00:35 |
knowma1 | which fixed the error | 00:35 |
knowma1 | i've an idea | 00:35 |
knowma1 | i changed the dbQuery1 from NULL to xxx and tried saving it again but it's continuing to save back NULL's into the dbQuery1 field | 00:37 |
knowma1 | i gotta run.. will debug more later and file a report | 00:37 |
knowma1 | ciao | 00:38 |
-!- knowma1 [n=william@97.66.185.250] has quit ["Leaving."] | 00:38 | |
+perlDreamer | good luck | 00:38 |
+perlDreamer | for some reason, vi bindkeys don't work in my irc client | 00:38 |
+perlDreamer | I 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 #webgui | 00:53 | |
CIA-22 | WebGUI: jt * r5981 /translations/ (3 files in 3 dirs): removing invalid translation files | 01: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-22 | WebGUI: colin * r5982 /branch/WebGUI_Commerce/ (2 files in 2 dirs): begin Product->Sku translation | 01: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 #WebGUI | 02:01 | |
CIA-22 | WebGUI: graham * r5983 /WebGUI/ (docs/changelog/7.x.x.txt lib/WebGUI/Workflow/Spectre.pm): fixed: Unable to communicate with Spectre under alternate locales | 02:03 |
CIA-22 | WebGUI: 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 durations | 02: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 #webgui | 03: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 #webgui | 03: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 #webgui | 05:51 | |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 05: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 #webgui | 08:04 | |
-!- mode/#webgui [+o preaction] by ChanServ | 08: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 #webgui | 13:08 | |
-!- BartJol [n=plainstu@52-167.surfsnel.dsl.internl.net] has joined #webgui | 14:20 | |
-!- ryuu_ro [n=rory@c529ce350.cable.wanadoo.nl] has joined #webgui | 14: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 #webgui | 16:16 | |
-!- perlmonkey2 [n=kmurphy@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui | 17: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 #webgui | 18:22 | |
-!- mode/#webgui [+o preaction] by ChanServ | 18: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 #webgui | 20:23 | |
-!- arlinja [n=arm9cl@athedsl-360000.home.otenet.gr] has joined #webgui | 20:30 | |
GooeyOfSteel | Wiki: Configuring SSL for WRE - Created on 3/29/2008 1:35 pm by knowmad http://www.webgui.org/community-wiki/configuring-ssl-for-wre | 20: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 #webgui | 20:54 | |
-!- estiven [n=estiven@201.232.58.66] has left #webgui [] | 21:34 | |
-!- estiven [n=estiven@201.232.58.66] has joined #webgui | 23: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 #webgui | 00:11 | |
-!- mode/#webgui [+o Haarg] by ChanServ | 00:11 | |
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI | 01: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 #webgui | 04:45 | |
SquOnk | Hello | 04:45 |
SquOnk | rizen: Are you around? | 04:46 |
SquOnk | Any 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 #webgui | 06: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 #webgui | 07:06 | |
-!- mode/#webgui [+o apeiron] by ChanServ | 07: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 | |
Syn1 | debian users? | 15:10 |
Syn1 | why 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 #webgui | 16:54 | |
Syn1 | hi topsub | 16:55 |
topsub | hi | 16:55 |
-!- SynQ [n=koen@e97024.upc-e.chello.nl] has joined #WebGUI | 17:01 | |
SynQ | hi there :) | 17:01 |
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui | 17:16 | |
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has joined #webgui | 17:47 | |
-!- mode/#webgui [+v MrHairgrease] by ChanServ | 17:47 | |
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit [Remote closed the connection] | 19:48 | |
GooeyOfSteel | Wiki: Configuring SSL for WRE - Edited on 3/30/2008 11:58 am by knowmad http://www.webgui.org/community-wiki/configuring-ssl-for-wre | 20:10 |
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui | 21: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 #WebGUI | 21:37 | |
-!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: SynQ, Syn1 | 21:43 | |
-!- Netsplit over, joins: SynQ | 21:59 | |
GooeyOfSteel | Wiki: Configuring SSL for WRE - Edited on 3/30/2008 2:43 pm by knowmad http://www.webgui.org/community-wiki/configuring-ssl-for-wre | 22: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 #webgui | 23:57 | |
--- Day changed Mon Mar 31 2008 | ||
SynQ | that's the karma ah hah ah hah I like it ah hah ah hah | 00:33 |
perlmonkey2 | Karma? We don't need no stink'n Karma. | 00:54 |
SynQ | hehe | 01:14 |
SynQ | ok | 01:14 |
SynQ | what is the macro that gives you 'yoursite.com' | 01:14 |
SynQ | ^u(); ? | 01:15 |
SynQ | that gives you http://www.yoursite.com | 01:17 |
CIA-22 | WebGUI: jt * r5985 /translations/Swedish/Swedish/Asset_DataForm.pm: update_from_translation_server | 01:46 |
perlmonkey2 | Well, the survey editor is now functional, although needs quite a bit of polish. Anyone think I can write the survey part before tomorrow :P | 01: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 #webgui | 02:16 | |
-!- mode/#webgui [+o apeiron] by ChanServ | 02: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 #webgui | 02:16 | |
-!- mode/#webgui [+o apeiron] by ChanServ | 02:16 | |
-!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has joined #webgui | 02:18 | |
-!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui | 02:51 | |
-!- mode/#webgui [+v Radix-wrk] by ChanServ | 02:51 | |
-!- SquOnk [n=emhn@190.79.207.109] has joined #webgui | 03:53 | |
SquOnk | Hi | 03:53 |
topsub | hi | 04:01 |
perlmonkey2 | hi | 05:13 |
perlmonkey2 | How would I test to see if a user has permissions to edit the survey wobject? | 05:14 |
perlmonkey2 | never mind....I'm just using if admin is on. | 05:23 |
@apeiron | perlmonkey2, wG::Asset has a canEdit(userId) method. | 05:24 |
perlmonkey2 | Woudl that be preferable to just using if the admin is on? | 05:25 |
@apeiron | Depends if what you're doing needs nonadmins to be able to edit it, I guess. :) | 05:25 |
perlmonkey2 | apeiron: I don't think we'd want users without access to admin the wobject, being able to edit the survey? | 05:27 |
perlmonkey2 | but that is a good method to know :) | 05:27 |
@apeiron | perlmonkey2, hrm. Depends, I guess, how granular you want it. | 05:28 |
perlmonkey2 | well, easy enough to change later. | 05:28 |
SquOnk | Any Debian users here? | 05:34 |
perlmonkey2 | whew, 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 |
perlmonkey2 | The good news is, I feel my unpolished survey editor blows surveymonkey out of the water. | 05:39 |
perlmonkey2 | and I have some great ideas for improving messaging between the client and server.....lots of room to make even more awesome. | 05:40 |
perlmonkey2 | if calling it awesome isn't too presumptious. | 05:40 |
+Radix-wrk | SquOnk: I use debian, why. | 05:46 |
SquOnk | Radix-wrk: If you have a Debian Sid up to date, you might want to take a look at http://itverx.com.ve/debian | 05:46 |
SquOnk | Radix-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 |
SquOnk | Radix-wrk: 7.4.28 is there, and 7.4.30 will probably be there tomorrow. | 05:48 |
SquOnk | Radix-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 #webgui | 05:49 | |
-!- mode/#webgui [+v Radix-wrk] by ChanServ | 05:49 | |
+Radix-wrk | Cool.. I | 06:02 |
+Radix-wrk | Cool.. I'm using Debian Etch at the moment | 06:02 |
SquOnk | Radix-wrk: Ah. I'll probably backport it with about a dozen modules, but that won't happen util this one gets into Sid | 06:03 |
+Radix-wrk | I'm using the WRE too.. which I have to say is soooo good :) | 06:04 |
+Radix-wrk | Good 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 #webgui | 09:00 | |
-!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: ckotil | 09:10 | |
-!- Netsplit over, joins: ckotil | 09:12 | |
-!- Radix-wrk [n=Jesse@203.161.68.67] has quit ["Leaving"] | 10:38 | |
-!- BartJol [n=plainstu@host2.procolix.com] has joined #webgui | 10:52 | |
-!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: SynQ | 10:57 | |
-!- Netsplit over, joins: SynQ | 11:09 | |
-!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: SynQ | 11:18 | |
-!- Netsplit over, joins: SynQ | 11:19 | |
CIA-22 | WebGUI: 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 user | 11:34 |
CIA-22 | WebGUI: graham * r5987 /WebGUI/lib/WebGUI/Asset/Wobject/Survey.pm: removing useless www_editSave from survey | 11:34 |
CIA-22 | WebGUI: graham * r5988 /WebGUI/ (2 files in 2 dirs): added: Better error messages when SQL Report lacks a query | 11:34 |
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui | 11:35 | |
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui | 12:45 | |
-!- mode/#webgui [+o preaction] by ChanServ | 12:45 | |
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)] | 13:09 | |
CIA-22 | WebGUI: jt * r5989 /translations/Dutch/ (6 files in 2 dirs): update_from_translation_server | 13:16 |
Syn2 | rizen! | 13:19 |
Syn2 | you'll have to move the wuc | 13:19 |
Syn2 | two weeks back :) | 13:19 |
Syn2 | front | 13:19 |
Syn2 | later | 13:19 |
-!- consultrman1 [n=meltek@pool-96-239-22-15.nycmny.fios.verizon.net] has joined #webgui | 13:19 | |
BartJol | why? | 13:19 |
BartJol | and I think he's asleep at 4 in the morning | 13:20 |
consultrman1 | hello, 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 |
consultrman1 | i asked because my main server has been lighttd for 3 years now. | 13:23 |
BartJol | well all the perl script retrieve data from the db and the results are send to the net | 13:27 |
BartJol | so that's html code | 13:27 |
BartJol | I think, but I'm not a dev guy | 13:27 |
BartJol | but it's quite interactive | 13:29 |
Syn2 | later is much cheaper | 13:34 |
Syn2 | much much much cheaper | 13:34 |
Syn2 | per flight to the usa | 13:34 |
consultrman1 | Bartjol: are you an active user? what about the security and speed of webgui | 13: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 #webgui | 14:16 | |
-!- BartJol [n=plainstu@host2.procolix.com] has joined #webgui | 14:17 | |
-!- Erik1 [n=chatzill@84.246.3.152] has joined #webgui | 14:20 | |
-!- Erik1 [n=chatzill@84.246.3.152] has quit [Client Quit] | 14:22 | |
-!- erikms [n=chatzill@84.246.3.152] has joined #webgui | 14:22 | |
BartJol | hee erik | 14:22 |
erikms | hee bartJol :) | 14:23 |
erikms | ik was op zoek naar dei PasteBin | 14:23 |
erikms | kwam ik hier uit | 14:23 |
BartJol | ah, this actually is an english forum | 14:23 |
erikms | sorry | 14:24 |
BartJol | hoewel mn nederlands wel beter is :) | 14:24 |
erikms | anyway, I do get extra head-tags,coming from style03 | 14:24 |
BartJol | you can add bart@procolix.com if you have a msn accpount, then we can tals dutch | 14:24 |
erikms | not on this machine... at work no MSN :) | 14:25 |
erikms | but hang on... | 14:25 |
BartJol | ah, ok | 14:25 |
erikms | brb | 14:27 |
erikms | afk | 14: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 #webgui | 15:20 | |
-!- ryuu_ro [n=rory@194.171.50.69] has quit [] | 15:40 | |
-!- SquOnk [n=emhn@201.211.84.218] has joined #webgui | 15:45 | |
-!- CIA-22 [n=CIA@208.69.182.149] has quit [] | 15:45 | |
-!- CIA-22 [n=CIA@208.69.182.149] has joined #WebGUI | 15:55 | |
-!- estiven [n=estiven@201.232.58.66] has joined #webgui | 16:13 | |
-!- crythias [n=gyoung@fl-69-68-148-96.sta.embarqhsd.net] has joined #webgui | 16:21 | |
-!- mode/#webgui [+v crythias] by ChanServ | 16:21 | |
-!- crythias [n=gyoung@fl-69-68-148-96.sta.embarqhsd.net] has left #webgui [] | 16:21 | |
perlmonkey2 | What could be going wrong. In my survey wobject, when I edit its title or menu title, it stays 'untitled'. | 16:21 |
perlmonkey2 | even 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 #WebGUI | 16:24 | |
SDuensin | Morning. | 16:26 |
perlmonkey2 | g'morning | 16:27 |
estiven | morning | 16:27 |
perlmonkey2 | I wonder why my purge overload wasn't just called | 16:30 |
perlmonkey2 | the wG portion of the survey is all jacked up :( | 16:30 |
perlmonkey2 | overloading purge to delete collaltoral upon wobject destruction is the way to do it, right? | 16:31 |
perlmonkey2 | Thiis 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 |
Syn2 | morning | 16:48 |
-!- estiven [n=estiven@201.232.58.66] has quit [Read error: 110 (Connection timed out)] | 16:48 | |
perlmonkey2 | gmorning Syn2 | 16:48 |
Syn2 | perlmonkey2: have you seen this post? http://www.plainblack.com/web_design_templates_and_themes/sorting-table-tips-using-jquery | 16:48 |
Syn2 | is it yours? | 16:48 |
perlmonkey2 | nope? | 16:49 |
Syn2 | ok | 16:49 |
Syn2 | I'd say post the above question in here: http://www.plainblack.com/web_design_templates_and_themes | 16:49 |
perlmonkey2 | Syn2: I just figured it out......Wasn't calling the super for processPropertiesFromFormPost.....just boneheaded mistake. | 16:50 |
Syn2 | ah | 16:51 |
perlmonkey2 | Mock me all you want, but my survey editor pwns surveymonkeys editor! | 16:51 |
perlmonkey2 | if 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 #webgui | 16:51 | |
perlmonkey2 | :P | 16:51 |
Syn2 | hehe | 16:52 |
perlmonkey2 | wow....3rd cup of coffee and my brain *just* switched on. | 16:52 |
-!- topsub [n=josh@97.66.185.250] has joined #webgui | 16:54 | |
-!- Haarg [n=haarg@66-168-19-128.dhcp.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"] | 16:59 | |
perlmonkey2 | anyone think of a reason purge woudln't be being called in my wobject? | 17:05 |
perlmonkey2 | is it only called when the wobject is removed from the trash? | 17:06 |
perlmonkey2 | hah, it is only called when the trash is emptied. | 17:06 |
* perlmonkey2 goes back to chasing his tail. | 17:07 | |
perlmonkey2 | Heh, 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 #webgui | 17:25 | |
-!- mode/#webgui [+o Haarg] by ChanServ | 17:25 | |
perlmonkey2 | quiet this morning | 17:27 |
topsub | ya | 17:33 |
topsub | too quiet.. lol | 17:33 |
-!- consultrmann [n=Administ@248-83.customer.cloud9.net] has joined #webgui | 17:42 | |
consultrmann | hello, is it possible to use fastcgi with webgui? | 17:43 |
perlmonkey2 | consultrmann: wG is built on mod_perl, so why would you want to use fastcgi? | 17:44 |
consultrmann | i have a lighttpd server on the perimeter. ...been using it for 3 years | 17:45 |
consultrmann | perlmonkey2: i have a lighttpd server on the perimeter. ...been using it for 3 years | 17:46 |
perlmonkey2 | mod_proxy to it. | 17:47 |
consultrmann | perlmonkey2: so, then the wme will handle all traffic, including serving up all webpages? | 17:48 |
@rizen | webgui does not work with fastcgi | 17:49 |
@rizen | it needs to run in modperl | 17:49 |
@rizen | but you can use lighthttpd to proxy the mod perl pages if you want | 17:49 |
consultrmann | perlmonkey2: 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 |
perlmonkey2 | loads? 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 |
consultrmann | perlmonkey2: ....slashdotted? definately!!! | 17:53 |
@rizen | if configured properly WebGUI under modperl will handle twice the load of a fastcgi server | 17:53 |
@rizen | i can say that with confidence, because we used to use fastcgi and modperl registry. then we switched to native modperl handling | 17:54 |
Syn2 | hi there :) | 17:55 |
@rizen | Syn2 if you bring up anything about dependencies i won't answer you | 17:56 |
@rizen | just a warning in advance | 17:56 |
Syn2 | pff | 17:57 |
Syn2 | I wasn't even going to start | 17:57 |
Syn2 | I just wanted to say I'm having a really great time on webgui.org these past few days | 17:57 |
Syn2 | but I gotta run | 17:58 |
consultrmann | perlmonkey2: ..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 REQUESTS | 17:58 |
Syn2 | I'll be back here in an hour or 4 | 17:58 |
* Syn2 hugs JT | 17:58 | |
consultrmann | perlmonkey2: i'm also 'balancing' with fastcgi / memcached... how stable is mod_proxy? | 17:59 |
Syn2 | later | 18:00 |
-!- steveo_a1 [n=sno@adsl-76-234-133-88.dsl.sfldmi.sbcglobal.net] has joined #webgui | 18:01 | |
perlmonkey2 | consultrmann: how stable? it is used in production around the world. stable enough? | 18:02 |
@rizen | better than hearing about it, we did benchmarks | 18:02 |
@rizen | modperl registry was 10 times faster than cgi | 18:03 |
@rizen | fastcgi was 2 times faster than modperl registry | 18:03 |
@rizen | and modperl native was 2 times faster than fastcgi | 18:03 |
consultrmann | perlmonkey2: ...stable enough. btw, thanks for answing my questions | 18:03 |
consultrmann | rizen: ...you too! | 18:03 |
perlmonkey2 | consultrmann: thank rizen, what I say should be taken with a grain of salt, he's the one with expert knowledge. | 18:03 |
consultrmann | perlmonkey2: ....ok | 18:04 |
consultrmann | rizen: ...THANK YOU | 18:04 |
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has left #webgui [] | 18:06 | |
SquOnk | rizen: Hi. I'm the "Debian package guy". | 18:07 |
-!- consultrmann [n=Administ@248-83.customer.cloud9.net] has left #webgui [] | 18:07 | |
@rizen | ernesto? | 18:07 |
SquOnk | rizen: Yes | 18:07 |
@rizen | how goes it? | 18:08 |
@rizen | consultrmann: np | 18:08 |
SquOnk | rizen: 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 | |
SquOnk | rizen: I do have to write man pages for the administrative commands, though. | 18:09 |
SquOnk | rizen: 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 |
@rizen | Sweet | 18:15 |
@rizen | Good to see you on IRC | 18:15 |
@rizen | Btw, I've been meaning to ask. Do you run any public sites using WebGUI? | 18:15 |
SquOnk | rizen: 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 | |
@rizen | How many sites is that? | 18:17 |
SquOnk | rizen: ...there is one customer that it's about to go online, probably by may. | 18:17 |
SquOnk | rizen: Four | 18:17 |
@rizen | Coolio | 18:18 |
SquOnk | rizen: 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-PHP | 18:18 |
SquOnk | rizen: PHP-based CMSs are quite popular in Venezuela because people think "PHP is easier to maintain and extend"... | 18:19 |
@rizen | awesome. please let me know how that goes. | 18:19 |
SquOnk | ...but then they get hacked every other week. | 18:19 |
@rizen | PHP based CMS's are popular everywhere cuz you can install them on a $5/mo hoster | 18:19 |
SquOnk | rizen: That too... | 18:19 |
@rizen | that's the only downside to WebGUI as far as i'm concerned...it was designed to be enterprise class | 18:20 |
@rizen | not for the $5/mo hoster | 18:20 |
-!- af_ [n=getsmart@88-149-241-199.dynamic.ngi.it] has joined #webgui | 18:25 | |
af_ | where could I find some doc about templates in webgui? | 18:25 |
af_ | (hi all) | 18:25 |
estiven | in your own site | 18:26 |
estiven | in the help section | 18:26 |
@rizen | or, you can buy the webgui designers guide | 18:27 |
@rizen | it's got over 200 pages about templates | 18:27 |
@rizen | https://www.plainblack.com/store/services/books2/webgui-designers-guide | 18:27 |
estiven | yes thas rigth.. | 18:27 |
-!- jfluhmann [n=jfluhman@x171y167.angelo.edu] has joined #webgui | 18:29 | |
@rizen | jfluhmann - i wish i would have known about texasoss.org sooner. I would have put in to be a speaker. | 18:29 |
jfluhmann | sorry about that. I'm hoping to build and grow it into an annual thing | 18:30 |
jfluhmann | are you going to be presenting at yapc this year? | 18:30 |
jfluhmann | I'll get a little more organized next year with sending information out for the texasoss | 18:32 |
jfluhmann | rizen, have you had much response with your developer posting? | 18:34 |
-!- af__ [n=getsmart@88-149-230-111.dynamic.ngi.it] has joined #webgui | 18:35 | |
@rizen | yes, 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, disconnected | 18:36 |
@rizen | we've had only about 10 responses for the post this time | 18:37 |
@rizen | we did the same post last fall and had over 50 | 18:37 |
jfluhmann | wow | 18:37 |
perlmonkey2 | rizen: did you get a hire from the fall post? | 18:38 |
SquOnk | rizen: Have you considered moving your database code to DBIx::Class? | 18:39 |
@rizen | we had 4 candidates that we would have hired, but unfortunately the project was cancelled by our client, so we ended up not hiring anyone | 18:39 |
af__ | do you mind I repeat my question? don't know if someone responded? | 18:39 |
@rizen | SquOnk, considered it when i wrote webgui. But it would be much much slower. | 18:39 |
@rizen | Also, if I was going to do that, I'd probably use RoseDB instead of DBIx::Class | 18:40 |
perlmonkey2 | rizen: 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 |
@rizen | af__: https://www.plainblack.com/store/services/books2/webgui-designers-guide | 18:40 |
@rizen | the stats were in a presentation i watched at yapc or a madmongers meeting at some point in the past | 18:41 |
@rizen | i didn't run the benchmarks myself | 18:41 |
SquOnk | rizen: 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 |
@rizen | the 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 concerned | 18:42 |
@rizen | SquOnk: try doing the kind of stuff that WebGUI::Asset::getLineage does in DBIx::Class | 18:42 |
SquOnk | rizen: I'll take a look. | 18:43 |
perlmonkey2 | rizen: Is the current job for a specific contract or as a full time PB employee? | 18:46 |
@rizen | full time employee | 18:46 |
perlmonkey2 | hmm.....extremely interesting. | 18:47 |
-!- af_ [n=getsmart@88-149-241-199.dynamic.ngi.it] has quit [Connection timed out] | 18:47 | |
@rizen | the 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 client | 18:47 |
af__ | rizen, books are sold on paper or electronally (pdf or whatever)? | 18:47 |
@rizen | so that's waht we did | 18:47 |
@rizen | they're on paper af__ | 18:47 |
@rizen | regular books | 18:47 |
af__ | oh, ok, so they must be delivered, ok | 18:47 |
@rizen | we've been talking about doing PDF versions, but we're really worried about piracy | 18:48 |
@rizen | we had a lot of problems with PDF books in the past due to piracy | 18:48 |
af__ | also the value is different | 18:48 |
@rizen | one guy even put the PDF out on his web site which was then picked up and archived by google | 18:48 |
@rizen | it was a big mess | 18:48 |
af__ | just asking because I didnt't see nothing about shipment | 18:49 |
@rizen | oh, when you click the buy link it will take you out to our printer's web site, lulu.com | 18:49 |
@rizen | and there it will talk about shipment | 18:49 |
af__ | I am doing that, it's really slow here | 18:49 |
af__ | I am considering it, I think 7.x templating is different form 5.x | 18:50 |
af__ | from, even | 18:50 |
@rizen | oh very different | 18:51 |
@rizen | are you talking about WebGUI 5.x templating? | 18:52 |
af__ | yeah | 18:52 |
@rizen | cuz this book is only about 7.x | 18:52 |
@rizen | there are no resources for 5.x templating anymore. WebGUI 5 was released 5 years ago | 18:52 |
@rizen | it's very old | 18:52 |
@rizen | everything that you need though | 18:53 |
perlmonkey2 | Interesting, even the DBIx::Class pod says it wasn't built for speed. | 18:53 |
@rizen | you should be able to find in the online help | 18:53 |
@rizen | that comes with WebGUI 5 | 18:53 |
@rizen | go to your site and add the following to the end of your url: | 18:53 |
@rizen | ?op=viewHelpIndex | 18:53 |
@rizen | perlmonkey2: no, it was definitely built for abstracting away from the database and SQL | 18:54 |
@rizen | which is certainly fine, if you really want that | 18:54 |
@rizen | in my case, SQL is not a bad word | 18:55 |
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has joined #webgui | 18:55 | |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 18:55 | |
-!- BartJol [n=plainstu@host2.procolix.com] has left #webgui [] | 18:55 | |
@rizen | and speed is a very good word | 18:55 |
+perlDreamer | It was only an okay movie, though | 18:55 |
@rizen | oh and perlDreamer is a nasty word | 18:55 |
+perlDreamer | very bad | 18:55 |
+perlDreamer | wouldn't use it myself | 18:56 |
CIA-22 | WebGUI: jt * r5990 /translations/Spanish/Spanish/ (27 files): update_from_translation_server | 19:00 |
+perlDreamer | wow | 19:00 |
+perlDreamer | 27 files | 19:00 |
perlmonkey2 | hah.....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-22 | WebGUI: jt * r5991 /translations/ (146 files in 3 dirs): update_from_translation_server | 19:21 |
CIA-22 | WebGUI: jt * r5992 /translations/Spanish/Spanish/WebGUI.pm: update_from_translation_server | 19:21 |
-!- topsub [n=josh@97.66.185.250] has quit [Remote closed the connection] | 19:23 | |
+perlDreamer | In other i18n news, the Dutch translation is again at 100%. Those guys are really on the ball. | 19:35 |
+perlDreamer | Someone started a Turkish translation | 19:35 |
+perlDreamer | and the Spanish translators are really kicking in, gaining about 3% over the weekend | 19:35 |
+perlDreamer | However, they'll have their work cut out for them if they want to catch the French and the Germans | 19:36 |
-!- SquOnk [n=emhn@201.211.84.218] has quit ["Yippie kay-ai-yay fudder muckers!"] | 19:40 | |
@rizen | I love how you stated all that | 19:40 |
@rizen | You sound like a sports reporter. | 19:40 |
+perlDreamer | I'm channeling Howard Cosell | 19:40 |
@rizen | If 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 |
@rizen | week | 19:42 |
+perlDreamer | That's true, but their nearest competitor are the germans back at 61.7% | 19:42 |
+perlDreamer | I'm thinking of graphing the data, for fun | 19:43 |
@rizen | They do hold a commanding lead, but the Spanish team could come out of nowhere and take the number 2 spot. | 19:43 |
+perlDreamer | Indeed, not only that, but the Spanish team, young and hungry, are often seen in the WebGUI IRC channel. | 19:44 |
@rizen | indeed | 19:44 |
+perlDreamer | They're making a full, broad push into the Wide World of WebGUI | 19:44 |
+perlDreamer | It's going to be an interesting race, any news on how Preaction is handicapping the individual teams? | 19:46 |
@rizen | you can't ask a question like that without him being here | 19:54 |
@rizen | cuz he needs to follow up with something like: | 19:55 |
@rizen | you know perlDreamer, .... | 19:55 |
+perlDreamer | true | 19:55 |
* perlDreamer suggests that we cut to commercial | 19:55 | |
@rizen | we'll be right back after a few words from our sponsors | 19:56 |
@rizen | i'm turning 1000 lines of javascript into templates right now | 19:56 |
+perlDreamer | oy | 19:56 |
@rizen | for the ems | 19:56 |
@rizen | perlmonkey2: in all that javascript that you created, that you're proud isn't in templates | 19:56 |
@rizen | do you have any labels in it? | 19:57 |
@rizen | if so, it's got to go into templates so that they can be replaced with ^International(); macro calls | 19:57 |
+perlDreamer | are we doing that switch in 7.5, too? | 19:57 |
@rizen | just for new stuff | 19:57 |
@rizen | my plan, if people on the dev mailing list don't give me too much fuss about the year long dev cycle | 19:58 |
@rizen | is to do that for 7.6 | 19:58 |
@rizen | convert everything that is now | 19:58 |
perlmonkey2 | Okay, then it looks like I'll need to move all the .js into templates. | 19:58 |
@rizen | all of it, or can you get away with moving just the labeled parts into templates? | 19:58 |
@rizen | mine has labels throughout | 19:59 |
@rizen | so i have to put it all into templates | 19:59 |
+perlDreamer | In 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 |
@rizen | perlmonkey2: another option for you | 19:59 |
@rizen | is to create snippets | 19:59 |
@rizen | and reference them just like normal javascripts | 19:59 |
@rizen | but then the macros will get processed | 19:59 |
@rizen | and the javascripts will still be cached | 19:59 |
@rizen | perlDreamer: we're still on commercial break | 20:00 |
@rizen | =) | 20:00 |
+perlDreamer | We now return you to your regularly scheduled commercials | 20:00 |
perlmonkey2 | Okay I like the snippet idea. | 20:00 |
perlmonkey2 | But I already want to do some serious refactoring once I get a working beta going. | 20:01 |
perlmonkey2 | Perhaps I can have some experts at wG go over it and make recommendations/comments :) | 20:01 |
@rizen | there are no such thing as webgui experts | 20:01 |
perlmonkey2 | hah | 20:02 |
@rizen | so you'll just have to deal with dolts like me and pd | 20:02 |
@rizen | =) | 20:02 |
@rizen | sorry pd | 20:02 |
+perlDreamer | No problem. | 20:02 |
perlmonkey2 | on noes, I'm sunk :P | 20:02 |
+perlDreamer | perlmonkey2: be sure that you have Help files and i18n, too | 20:02 |
perlmonkey2 | perlDreamer: once I get the beta up, I'm sure I'll be asking for pointers on all that. | 20:04 |
perlmonkey2 | I knew I needed il8n, but decided to ignore it until I had something functional. | 20:04 |
@apeiron | I'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 |
@apeiron | er, cleaner than running it through eval | 20:05 |
+perlDreamer | Test::Exception has a lives_ok test | 20:05 |
@apeiron | Right, but I can't depend upon that being available, can I? | 20:06 |
+perlDreamer | is this a 7.4 or a 7.5 test? | 20:06 |
@apeiron | 7.5. | 20:06 |
+perlDreamer | afaik, we can still inject new dev dependencies into 7.5 | 20:06 |
@apeiron | That's good, but I remember you saying something about being disappointed with T::E? | 20:07 |
+perlDreamer | I was drooling over Test::JSON this morning, but hadn't brought it up yet | 20:07 |
+perlDreamer | yes, but MrHairgrease wrote WebGUI::Exception, which adds an _deeply extension, so that you can catch an exception and validate its contents in one go | 20:08 |
+perlDreamer | I think it should inherit from T::E, but that's purely opinion | 20:08 |
-!- topsub [n=topsub20@97.66.185.250] has joined #webgui | 20:10 | |
@apeiron | I 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 |
+perlDreamer | eval/caught should still work, it just sounds like you find it inelegant | 20:11 |
@rizen | apeiron: stop complaining and just use eval | 20:12 |
perlmonkey2 | Does anyone like the idea of putting the survey in a YUI Panel like this: https://www.lostokies.com:444/ | 20:25 |
perlmonkey2 | That edit survey will eventually only appear when admin is turned on and be a button instead. | 20:26 |
perlmonkey2 | I'd also toyed with the idea of making the survey full screen like surveymonkey does....but not sure about that. | 20:28 |
topsub | I 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 that | 20:28 |
@rizen | perlmonkey2: 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 |
@rizen | so i'd support it if you need it for something | 20:30 |
@rizen | but i wouldn't add it for no apparent reason | 20:30 |
@rizen | topsub: perlDreamer is right | 20:30 |
perlmonkey2 | rizen: 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 |
@rizen | then overruled | 20:31 |
topsub | perlDreamer, i am looking to writing a macro and sending an assetId in. Can it handle that | 20:31 |
@rizen | =) | 20:31 |
perlmonkey2 | heh, yeah, it would just make it a pain to customize fonts, colors, etc. | 20:31 |
topsub | getLineage that is | 20:31 |
@rizen | you don't pass in an asset id | 20:31 |
@rizen | you have to have a reference to an asset | 20:31 |
@rizen | so you'd do it like this: | 20:31 |
+perlDreamer | topsub, then instanciate the asset ad then call getLineage it | 20:31 |
@rizen | my $asset = WebGUI::Asset->new($session, $assetId); | 20:31 |
topsub | ahhh thanks! | 20:32 |
@rizen | my $children = $asset->getLineage(['children'], {returnObjects=>1}); | 20:32 |
@rizen | actually sorry | 20:32 |
@rizen | you'd do: | 20:32 |
@rizen | my $asset = WebGUI::Asset->newByDynamicClass($session, $assetId); | 20:32 |
+perlDreamer | rizen: preaction isn't here. that doesn't mean you can use his psychic connection into my head like that. | 20:33 |
@rizen | unless you know what class you're instanciating already | 20:33 |
@rizen | sorry pd...i'll try not to let it happen again | 20:33 |
@rizen | methinks i'm going to have to turn off irc for the rest of the week so i can get stuff done | 20:33 |
@rizen | =( | 20:33 |
topsub | lol | 20:34 |
topsub | rizen, thanks!! | 20:34 |
topsub | seems i am just overwriting the session with an assetId then calling getLineage | 20:35 |
CIA-22 | WebGUI: jt * r5993 /translations/Turkish/Turkish/ (6 files): update_from_translation_server | 20:43 |
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui | 20:52 | |
-!- mode/#webgui [+o preaction] by ChanServ | 20:53 | |
GooeyOfSteel | Wiki: 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.3 | 20:57 |
-!- dhelsten [n=helsten@newcastlecapital.com] has joined #Webgui | 21:07 | |
topsub | when 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 database | 21:08 |
+perlDreamer | it uses the config file to build a session | 21:09 |
+perlDreamer | then use $session->db | 21:09 |
topsub | so 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 | |
+perlDreamer | no, it uses an environment variable | 21:09 |
+perlDreamer | WEBGUI_CONFIG | 21:09 |
+perlDreamer | env WEBGUI_CONFIG=/data/WebGUI/etc/mywebgui.conf perl myTest.t | 21:09 |
+perlDreamer | you should have diona or william send you the testing presentation that I gave at the '06 WUC | 21:10 |
topsub | oh ya my env variable i set up | 21:10 |
* perlDreamer heads to the gym for self-punishment today | 21:11 | |
dhelsten | Hi 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 |
metanil | hello | 21:46 |
dhelsten | Any response on my question is appreciated. | 21:47 |
metanil | does 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 #webgui | 21:51 | |
@rizen | dhelsten: no you can use macros, but no template variables | 21:54 |
@rizen | metanil: yes | 21:55 |
* rizen leaves so he can get some work done, pd, IM me if you need anything | 21:55 | |
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit [] | 21:55 | |
metanil | rizen: for each file that i upload in folder directory.. | 21:56 |
metanil | rizen: Can i get my previous versions of those file? .. (is it "Version Tag" in admin console??) | 21:57 |
GooeyOfSteel | Wiki: Reporting a bug - Created on 3/31/2008 1:52 pm by koen http://www.webgui.org/community-wiki/reporting-a-bug | 22:04 |
dhelsten | Thanks. 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 | |
GooeyOfSteel | Wiki: Reporting a bug - Edited on 3/31/2008 1:57 pm by koen http://www.webgui.org/community-wiki/reporting-a-bug | 22: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 #webgui | 22:19 | |
-!- mode/#webgui [+o preaction] by ChanServ | 22: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 |
SynQ | sigh | 22:28 |
SynQ | I'm glad that JT introduced the idea of shunts | 22:28 |
topsub | can't get this macro working with getting Lineage.. | 22:32 |
topsub | not sure how to debug.. i can run the SQL getLineage creates just fine | 22:33 |
topsub | but its like when it processes it. i get nothing... | 22:33 |
perlmonkey2 | what is a shunt? | 22:33 |
perlmonkey2 | topsub: I find inserting warn statements helpful for hard to debug problems. | 22:33 |
@preaction | perlmonkey2, it's another way to get to Beta from Stable | 22:34 |
SynQ | perlmonkey2: http://www.plainblack.com/webgui/dev/discuss/7_6-and-beyond/115 | 22:35 |
@preaction | metanil, it's "Revisions" in the right-hand side of the Edit screen for your file | 22:35 |
SynQ | that is where JT explains it | 22:35 |
SynQ | hi Doug | 22:35 |
SynQ | did you habashi lately? | 22:35 |
@preaction | no. no habashi for me since the WUC :( | 22:36 |
SynQ | man | 22:37 |
SynQ | I'm looking out for habashi at the next WUC | 22:37 |
@preaction | indeed | 22:38 |
@preaction | this WUC is going to be awesome | 22:38 |
SynQ | haven't been able to find a habashi place around here too | 22:38 |
SynQ | I agree totally | 22:38 |
perlmonkey2 | hmm, interesting thread on shunts...I dig it. | 22:38 |
SynQ | do say so in the discussion | 22:39 |
perlmonkey2 | SynQ: eh? Like hand out mod points on the thread? | 22:39 |
SynQ | tomorrow is april fool's day | 22:39 |
SynQ | perlmonkey2: like, post a message to say that you think this is the way to go | 22:39 |
@preaction | I'm still of the opinion that if the upgrade scripts were more intelligent, this would be far easier | 22:39 |
SynQ | ok | 22:41 |
SynQ | that is a very valuable argument to that discussion too | 22:41 |
SynQ | I've got a bit of a feeling that I am the only one here that gives sustained rebuttle at JT's postings | 22:42 |
SynQ | am I wrong? | 22:42 |
perlmonkey2 | How many devs are there that *can* give sustained rebuttal? | 22:42 |
perlmonkey2 | don't they really have to know the system? | 22:42 |
SynQ | why should you have to know the system | 22:43 |
SynQ | if something is not clear you can simply state that you do not know how it works | 22:43 |
SynQ | but that you think it would be intuitive for it to work in a certain way | 22:43 |
@preaction | SynQ, i'm always around telling JT what can and cannot be done | 22:44 |
SynQ | but not on the support board | 22:44 |
SynQ | well | 22:44 |
SynQ | not on the discussion board on webgui.org | 22:44 |
SynQ | actually you are | 22:44 |
SynQ | you are around :) | 22:44 |
SynQ | I hate it that JT is not around on the irc channel right now | 22:45 |
SynQ | since it could look like I'm lobbying for my cause whitout him being around | 22:45 |
SynQ | but still: how do you feel about 'stable' vs 'beta' | 22:46 |
SynQ | shouldn't stable be stable in such a way that a dependancy api break would't be used in the stable version? | 22:46 |
metanil | preaction: oops!!.. so simple. | 22:48 |
perlmonkey2 | hmm, so $self->get('key') will do a db lookup but $self->getValue('key') will check a local cache before hitting the db? | 22:50 |
perlmonkey2 | since wobject properties seem unlikely to change while being used, I wonder why anyone would use get over getValue. | 22:51 |
perlmonkey2 | err...not $self but Asset->get and Asset->getValue | 22:51 |
SynQ | I think I scared preaction away | 23:02 |
@preaction | SynQ, 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 |
SynQ | what does livid mean? | 23:06 |
@preaction | it's that kind of angry where your face turns red, you start sweating and smoke starts pouring out your ears | 23:07 |
+perlDreamer | topsub: if you nopaste your code I'll poke at it a bit | 23:07 |
@preaction | i spent literally days trying to get my dev box back to a workable state | 23:07 |
SynQ | ok | 23:07 |
SynQ | but do you agree that stable should mean you keep your set of dependancies as tight and original as possible? | 23:08 |
SynQ | or don't you? | 23:08 |
SynQ | or something in the middle? | 23:08 |
@preaction | the 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 directory | 23:10 |
@preaction | perhaps we could handle all our deps that way, but then we're getting... weird... | 23:10 |
perlmonkey2 | dang 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 |
SynQ | what is a fluke | 23:11 |
SynQ | man, you are litterate | 23:11 |
@preaction | a rare occurance | 23:11 |
SynQ | ah | 23:11 |
+perlDreamer | fluke is a 1-time, rare occurance | 23:11 |
SynQ | I think that the JSON thing will prove not to be a fluke | 23:12 |
@preaction | something that skews an otherwise uniform data set | 23:12 |
SynQ | perhaps that is what JT is disagreeing with me on | 23:12 |
@preaction | the other major deps we have are Perl bastions: DBI, HTML::Parser | 23:12 |
@preaction | HTML::Template | 23:12 |
@preaction | DateTime | 23:13 |
SynQ | ok | 23:13 |
SynQ | what about imagemagick, mysql, apache | 23:13 |
@preaction | they won't change APIs either | 23:13 |
SynQ | these might prove fundamentally broken once in a while, that will require to use a new version security wise | 23:13 |
@preaction | well, mysql's API is SQL, and Apache's is libapreq2, but still | 23:13 |
@preaction | we can't guarantee anything that isn't outside of our control | 23:14 |
@preaction | er... that IS outside of our control | 23:14 |
SynQ | If something is just 'wrong' and has to be changed to be 'right' in your dependancy | 23:14 |
SynQ | ok | 23:14 |
SynQ | but that it is outside of your control doesn't mean that you cannot take that into account | 23:14 |
@preaction | i mean, we could, and then explain why we had to break our promise (and we will have to break it) | 23:14 |
@preaction | true | 23:14 |
SynQ | if you know in advance that such things happen | 23:14 |
SynQ | you can create rules around them | 23:15 |
SynQ | and tell anyone who is complaining | 23:15 |
SynQ | 'these are our rules, we told you so in advance' | 23:15 |
@preaction | or we can handle it more gracefully than this last one was handled | 23:15 |
SynQ | can that be done | 23:16 |
SynQ | can it be so non-intrusive that it wouldn't hurt this much? | 23:16 |
@preaction | i can't speculate on that, as I have no idea what API could change | 23:17 |
@apeiron | Working on some code using wG::Exception that does low level file stuff. Would something like a wg::E::OS::FSPermissionsError be acceptable? | 23:18 |
@preaction | i mean, if you ran testEnvironment.pl before every upgrade, it should Just Work, no? | 23:18 |
@apeiron | e.g., "can't write to directory, no permissions" or "this file doesn't exist" | 23:18 |
+perlDreamer | apeiron: Do we need theOS layer in the hierarchy? | 23:19 |
@apeiron | perlDreamer, Thinking ahead. "can't spawn process" "out of disk space" | 23:20 |
@preaction | it'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 handled | 23:20 |
@apeiron | shrug. I'll write the tests to use one of the existing exceptions. | 23:21 |
@apeiron | Can always look at this more closely later. | 23:21 |
perlmonkey2 | Which macro would give me the url path to a particular wobject? | 23:21 |
+perlDreamer | is it the current wobject, perlmonkey2? | 23:21 |
perlmonkey2 | yes | 23:21 |
@preaction | ^PageURL(); i think | 23:22 |
@preaction | but isn't that exposed in the template variables? | 23:22 |
+perlDreamer | the url session variable is defined when you call $asset->processTemplate | 23:22 |
@preaction | <tmpl_var url> | 23:22 |
+perlDreamer | or is it $process | 23:22 |
perlmonkey2 | preaction: 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 |
perlmonkey2 | I'll try that | 23:22 |
@preaction | perlmonkey2, then it isn't the current wobject ;) | 23:22 |
@preaction | you should add the url to the template variables | 23:22 |
@preaction | current wobject in WebGUI is the asset with the URL you're looking at | 23:23 |
perlmonkey2 | I have the survey in the home page. | 23:23 |
+perlDreamer | it is processTemplate | 23:23 |
@preaction | perlmonkey2, 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 |
SynQ | ok | 23:25 |
+perlDreamer | But you don't need that $self->get if you use processTemplate | 23:25 |
perlmonkey2 | Okay, that is easy enough to do :) thanks | 23:26 |
SynQ | I think I can elaborate on the fluke part in the discussion now | 23:26 |
@preaction | perlDreamer, eh, that's counter-intuitive to me. i hate magic like that | 23:26 |
SynQ | preaction: is it ok if I quote part of the IRC chat I had with you? | 23:26 |
+perlDreamer | so you'd duplicate functionality in every little place? | 23:26 |
+perlDreamer | seems wasteful and a maintenance problem waiting to happen | 23:27 |
@preaction | perlDreamer, not every place. i consider processTemplate to be in error: it shouldn't add anything i don't want people to see | 23:27 |
@preaction | it'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 | |
@preaction | i can't just remove something, since processTemplate will add it | 23:28 |
@preaction | SynQ, i don't speak for JT, but the running testEnvironment.pl before every upgrade should be Standard Operating Procedure | 23:28 |
@preaction | i mean, you can quote me (and since xdanger is here I'm on-record), but my words aren't really going to make a difference | 23:29 |
+perlDreamer | that does make sense, but I don't see much harm in the asset level variables. | 23:29 |
@preaction | i'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 be | 23:30 |
SynQ | ok | 23:30 |
@preaction | as JT said, it wasn't WebGUI's fault, but WebGUI was being blamed | 23:30 |
SynQ | and the people who are using the WRE and the stable version of WebGUI have to burn their fingers? | 23:30 |
+perlDreamer | we could be nazis, and do version checks in preload.perl. Wrong version, no wG for you! | 23:31 |
SynQ | but I wanted to try and play down my own argument a bit | 23:31 |
SynQ | saying that I will accept that JSON was a fluke, for now, but that I think it will happen again in the future | 23:31 |
@preaction | See Raymond Chen for compatiblity / upgrade / API stuff: http://blogs.msdn.com/oldnewthing/archive/2003/12/23/45481.aspx | 23:32 |
@preaction | perlDreamer, having testEnvironment.pl --errorOnly run in preload.perl might be a good idea | 23:32 |
@preaction | but it'd add a minute or two to startup | 23:33 |
@preaction | (errorOnly is not there yet, it's my own design) | 23:33 |
SynQ | ah | 23:33 |
SynQ | I want that, and I'll submit an RFE for it right now :) | 23:33 |
SynQ | there you go | 23:35 |
@preaction | it could be controlled by a PerlSetEnv in the configuration file | 23:37 |
+perlDreamer | the workflow would be something like monitorWebGUIEnvironment | 23:37 |
+perlDreamer | running the WRE would turn it off by default :) | 23:38 |
@preaction | if ( $ENV{ WG_TESTENV } ) { system "testEnvironment.pl --errorOnly" and die "Couldn't load webgui! Please run testEnvironment.pl from the command-line" } | 23:38 |
SynQ | ok, noted | 23:40 |
SynQ | Now I'm going to reply to the beta/stable thread once again | 23:40 |
@preaction | good lord... | 23:40 |
SynQ | final one | 23:41 |
SynQ | and giving in to JT too | 23:41 |
@preaction | i'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 hit | 23:45 |
SynQ | WGBP? | 23:46 |
SynQ | Best Practices | 23:46 |
+perlDreamer | yup | 23:46 |
-!- SDuensin [n=Scott@234.sub-75-205-138.myvzw.com] has quit ["Leaving"] | 23:47 | |
SynQ | http://www.webgui.org/webgui/dev/discuss/7_6-and-beyond/117 there you are | 23:47 |
SynQ | the shunt is the solution | 23:49 |
SynQ | nice word too | 23:49 |
perlmonkey2 | It 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!