| --- Log opened Fri Aug 01 00:00:53 2008 |
| KC2QBU | What if I want to access the website via a different port, 15000. What do I need to change besides adding Listen 15000 in /data/wre/etc/modproxy.conf? | 00:06 |
| @preaction | there's a "webServerPort" in the WebGUI config file you'll probably have to change | 00:07 |
| @preaction | you'll probably have to change something in the spectre config file too, to tell it where to get to WebGUI | 00:08 |
| KC2QBU | so I'd have to use either the default or 15000, but not both? | 00:09 |
| KC2QBU | reason being locally it's fine, just my ISP blocks webserver ports | 00:09 |
| @preaction | i think webServerPort just determines what port WebGUI uses when it makes URLs | 00:10 |
| -!- BartJol [n=plainstu@54-167.surfsnel.dsl.internl.net] has quit [Read error: 113 (No route to host)] | 00:15 |
| +perlmonkey2 | perlDreamer: Did you trick me into taking the setToEpoch bug? | 00:16 |
| -!- topsub [n=josh@97.66.185.250] has quit ["Leaving"] | 00:16 |
| perlDreamer | who? /me? | 00:22 |
| -!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit [] | 00:29 |
| -!- KC2QBU [n=Miranda@pool-96-243-22-151.bflony.fios.verizon.net] has quit ["Miranda IM! Smaller, Faster, Easier. http://miranda-im.org"] | 00:31 |
| -!- BartJol [n=plainstu@54-167.surfsnel.dsl.internl.net] has joined #webgui | 00:41 |
| -!- tavisto [n=tavisto@pool-71-120-147-81.gdrpmi.dsl-w.verizon.net] has joined #WebGUI | 00:48 |
| -!- mode/#webgui [+o tavisto] by ChanServ | 00:48 |
| +perlmonkey2 | perlDreamer: you wouldn't happen to remember if the subscription yui datetime chooser returns unix time or not? | 00:48 |
| +perlmonkey2 | epoch time? | 00:48 |
| +perlmonkey2 | Because it looks like the it is expecting a formatted date string instead of an epoch time. | 00:49 |
| -!- dionak [n=dionak@97.66.185.250] has quit [] | 00:49 |
| perlDreamer | yup | 00:50 |
| perlDreamer | that's the bug | 00:50 |
| perlDreamer | it's being sent an epoch time | 00:50 |
| +perlmonkey2 | which must be coming from the YUI date pickers? | 00:51 |
| perlDreamer | Form/DateTime | 00:52 |
| +perlmonkey2 | or is there a way to Form to check if it needs to be changed? | 00:52 |
| perlDreamer | the interface to the Form has always been epoch | 00:52 |
| perlDreamer | so it should probably always translate | 00:52 |
| perlDreamer | but epoch is distinct from set time | 00:52 |
| perlDreamer | \d+ vs word based | 00:52 |
| +perlmonkey2 | then I don't see how this bug was introduced. Form::DateTime was changed to pass in an epoch? | 00:53 |
| +perlmonkey2 | to the setToEpoch method? | 00:53 |
| perlDreamer | no, it always passed in an epoch, the bug was introduced when the YUI date pickers were used instead of the old ones | 00:53 |
| perlDreamer | old JS date pickers wanted an epoch | 00:53 |
| perlDreamer | new YUI date picker wants a set time | 00:54 |
| +perlmonkey2 | The error is showing an epoch time. Is that not what is being returned from the new YUI date picker? | 00:54 |
| perlDreamer | Isn't the error, "I got this: {epoch_date}, that isn't a set time. Using current time instead.' ? | 00:55 |
| +perlmonkey2 | yes | 00:55 |
| +perlmonkey2 | WebGUI::Session::DateTime::setToEpoch[921] - Could not format date 1217540842 for epoch. Returning current time | 00:56 |
| perlDreamer | right. It _is_ an epoch, it wants to get a set time | 00:56 |
| +perlmonkey2 | the problem looks to be Form::DateTime which regexs for an epoch type and then if it finds and epoch types, calls setToEpoch. | 00:58 |
| perlDreamer | I can buy that | 00:59 |
| +perlmonkey2 | setToEpoch ties to use DateTime::Format::Strptime::parse_datetime which takes a string formatted date. | 00:59 |
| +perlmonkey2 | This is all very confusing as I'm only guessing at desired behavior. | 01:00 |
| +perlmonkey2 | So we want this instead: $dt = DateTime->from_epoch( epoch => $epoch ); | 01:02 |
| +perlmonkey2 | which should change anything except remove the error in the log. Well I guess setToEpoch returns $self->time() now when it should be return the time in form param. | 01:04 |
| -!- bderrly [i=W2MSCr7y@75.142.153.68] has joined #webgui | 01:21 |
| +perlmonkey2 | perlDreamer: okay, if ^\d+$ is true, shouldn't we just return that, as it is probably an epoch? | 01:25 |
| CIA-6 | WebGUI: chrisn * r7134 /WebGUI/ (docs/changelog/7.x.x.txt lib/WebGUI/Text.pm t/Text.t): | 01:42 |
| CIA-6 | WebGUI: Fixed: splitCSV and joinCSV had issues with complex CSV data. They now use | 01:42 |
| CIA-6 | WebGUI: Text::CSV_XS internally. | 01:42 |
| perlDreamer | apeiron++ for tests | 01:43 |
| -!- estiven [n=estiven@201.232.58.66] has joined #webgui | 01:43 |
| estiven | Hi | 01:43 |
| estiven | I have the id of a collaboration system and i need to know the ids of all post in it. | 01:46 |
| estiven | can i get it from webgui db? | 01:46 |
| estiven | who tables can i use? | 01:46 |
| -!- tavisto [n=tavisto@pool-71-120-147-81.gdrpmi.dsl-w.verizon.net] has quit [] | 01:47 |
| -!- carogra1 [n=Caroline@h69-131-72-137.nwlnnh.dsl.dynamic.tds.net] has joined #webgui | 02:03 |
| -!- BartJol [n=plainstu@54-167.surfsnel.dsl.internl.net] has quit [Read error: 113 (No route to host)] | 02:15 |
| -!- carogray [n=Caroline@h69-131-73-45.nwlnnh.dsl.dynamic.tds.net] has quit [Read error: 110 (Connection timed out)] | 02:21 |
| -!- estiven [n=estiven@201.232.58.66] has left #webgui [] | 02:25 |
| -!- cap10morgan [n=cap10mor@h19-afsc.ded.indra.com] has quit [] | 02:29 |
| -!- perlDreamer [n=ckuskie@nat082.mxim.com] has quit ["Download Gaim: http://gaim.sourceforge.net/"] | 02:34 |
| -!- carogray [n=Caroline@h69-131-75-117.nwlnnh.dsl.dynamic.tds.net] has joined #webgui | 02:49 |
| -!- carogra1 [n=Caroline@h69-131-72-137.nwlnnh.dsl.dynamic.tds.net] has quit [Read error: 110 (Connection timed out)] | 03:07 |
| -!- tavisto [n=tavisto@pool-71-120-147-81.gdrpmi.dsl-w.verizon.net] has joined #WebGUI | 03:15 |
| -!- mode/#webgui [+o tavisto] by ChanServ | 03:15 |
| -!- carogra1 [n=Caroline@h69-131-74-117.nwlnnh.dsl.dynamic.tds.net] has joined #webgui | 03:17 |
| -!- carogray [n=Caroline@h69-131-75-117.nwlnnh.dsl.dynamic.tds.net] has quit [Read error: 113 (No route to host)] | 03:34 |
| -!- patspam [n=patspam@ppp121-44-242-84.lns4.mel4.internode.on.net] has joined #webgui | 03:43 |
| -!- khenn [n=khenn@66-190-57-159.dhcp.mdsn.wi.charter.com] has joined #WebGUI | 03:49 |
| -!- mode/#webgui [+o khenn] by ChanServ | 03:49 |
| -!- tavisto [n=tavisto@pool-71-120-147-81.gdrpmi.dsl-w.verizon.net] has quit [] | 04:02 |
| -!- dionak [n=dionak@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui | 04:03 |
| -!- dionak [n=dionak@cpe-024-074-132-143.carolina.res.rr.com] has quit [Client Quit] | 04:04 |
| -!- khenn_ [n=khenn@66-190-57-159.dhcp.mdsn.wi.charter.com] has quit [Read error: 113 (No route to host)] | 04:06 |
| -!- khenn [n=khenn@66-190-57-159.dhcp.mdsn.wi.charter.com] has quit [Remote closed the connection] | 04:37 |
| -!- khenn [n=khenn@66-190-57-159.dhcp.mdsn.wi.charter.com] has joined #WebGUI | 04:38 |
| -!- mode/#webgui [+o khenn] by ChanServ | 04:38 |
| -!- dionak [n=dionak@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui | 05:21 |
| -!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI | 05:28 |
| -!- perlDreamer [n=colink@pool-71-245-101-253.ptldor.fios.verizon.net] has joined #webgui | 05:50 |
| perlDreamer | Haarg: are you close to release? | 05:56 |
| perlDreamer | a new release of WebGUI? | 05:56 |
| @Haarg | haven't really started on it. i was sleeping for a while actually. | 06:00 |
| perlDreamer | I'm sorry if I woke you | 06:01 |
| perlDreamer | I'll commit and close this bug quickly then. | 06:02 |
| @Haarg | nah, i just happened to wake up. | 06:03 |
| @Haarg | i meant to get up anyway | 06:03 |
| -!- carogra1 [n=Caroline@h69-131-74-117.nwlnnh.dsl.dynamic.tds.net] has quit [Read error: 54 (Connection reset by peer)] | 06:03 |
| perlDreamer | It's in | 06:04 |
| perlDreamer | I'll hold off any commits until after you give the all clear | 06:04 |
| @Haarg | it'll be a while, so if you have stuff go ahead and do it | 06:05 |
| CIA-6 | WebGUI: colin * r7135 /WebGUI/ (5 files in 4 dirs): produce valid HTML in the Auth screen | 06:11 |
| -!- dionak [n=dionak@cpe-024-074-132-143.carolina.res.rr.com] has quit [] | 06:12 |
| -!- dionak [n=dionak@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui | 06:19 |
| -!- patspam [n=patspam@ppp121-44-242-84.lns4.mel4.internode.on.net] has quit ["Leaving."] | 06:24 |
| perlDreamer | you're working late dionak | 06:25 |
| dionak | hey there. yes...it is getting late | 06:25 |
| dionak | so are you. | 06:25 |
| perlDreamer | It's only 8:30 on the west coast | 06:25 |
| dionak | oh, i didn't realize you were west coast | 06:27 |
| dionak | california? | 06:27 |
| perlDreamer | I live near Portland, Oregon. | 06:28 |
| perlDreamer | In Hillsboro, where Intel is. | 06:28 |
| -!- patspam [n=patspam@ppp121-44-242-84.lns4.mel4.internode.on.net] has joined #webgui | 06:28 |
| -!- KC2QBU [n=Miranda@pool-96-243-22-151.bflony.fios.verizon.net] has joined #webgui | 06:29 |
| KC2QBU | Howdy! | 06:30 |
| dionak | hey | 06:30 |
| perlDreamer | Howdy. What does KC2QBU mean? | 06:30 |
| dionak | perlDreamer, are you going to the wuc this year? | 06:30 |
| perlDreamer | Oh yeah | 06:30 |
| perlDreamer | I'm giving two talks | 06:30 |
| KC2QBU | perlDreamer: Do you know what Ham Radio is? | 06:30 |
| perlDreamer | Yes, but I thought handles were shorter than 6 characters | 06:31 |
| perlDreamer | I have a friend who is W7HOW | 06:31 |
| KC2QBU | perlDreamer: Depends on the country. 6 characters or less. In the US, all calsigns in the past 15 - 20 years have been 6 chars. | 06:32 |
| dionak | great, pd. i'll see you at the wuc. i'm going to call it a night here. have a great evening | 06:32 |
| dionak | look forward to your talks. | 06:33 |
| perlDreamer | good night dionak | 06:33 |
| KC2QBU | gn dionak | 06:33 |
| dionak | gn | 06:34 |
| -!- dionak [n=dionak@cpe-024-074-132-143.carolina.res.rr.com] has quit [] | 06:34 |
| KC2QBU | perlDreamer: the US is split up into sections NY is a 2, PA is 3, New England area is 1, 4 is the East Coast, 7 is Texas I believe and so on. Depends on how many Hams in that area that determines how high the characters go. | 06:36 |
| perlDreamer | I see. | 06:36 |
| KC2QBU | I've only been a Ham for 2 years now, their issuing the calls int KC2Txx range now. Almost KC2Uxx. | 06:38 |
| perlDreamer | That's a lot of new hams | 06:38 |
| KC2QBU | yep, since they dropped the code on all license levels, it's becoming a little more popular. | 06:39 |
| perlDreamer | that's the morse code requirement, or another one? | 06:39 |
| KC2QBU | plus a lot of digital modes to work with that appeal to a lot of people in the computer firld | 06:40 |
| KC2QBU | Yep, morse code | 06:40 |
| KC2QBU | There's even a way to hook up a GPS to a ham radio and transmit your position and telemetry info over the air. | 06:41 |
| perlDreamer | cool | 06:41 |
| KC2QBU | you can look up your position on the internet and track other hams on the web with google maps. | 06:41 |
| KC2QBU | plus chatting and sending e-mails over the radio. Basically it's a 1200 baud modem on both ends. | 06:43 |
| -!- patspa1 [n=patspam@ppp59-167-168-132.lns1.mel4.internode.on.net] has joined #webgui | 06:45 |
| KC2QBU | There's a lot of different avenues you can take. Lots of different aspects to Ham Radio | 06:45 |
| KC2QBU | I'll still haven't figured out how to add port 15000 to the ports that wre listens. | 06:47 |
| perlDreamer | I think if you search the forums, you'll find it | 06:47 |
| KC2QBU | I searched, but didn't see anything. I'll reword it in the search, again. | 06:48 |
| perlDreamer | maybe I saw it in the wiki | 06:48 |
| perlDreamer | KC2QBU: try this google search: custom port WRE webgui | 06:52 |
| -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [Connection timed out] | 06:54 |
| KC2QBU | I found this when I was searching, but it's an older version and the files don't match. http://www.webgui.org/install/upgrade_help/customising-wre-to-work-with-vservers#k2y2TQOfVEK2G76QsL5UZQ | 06:56 |
| -!- patspam [n=patspam@ppp121-44-242-84.lns4.mel4.internode.on.net] has quit [Read error: 110 (Connection timed out)] | 06:56 |
| -!- patspa1 [n=patspam@ppp59-167-168-132.lns1.mel4.internode.on.net] has quit [Read error: 110 (Connection timed out)] | 07:05 |
| -!- patspam [n=patspam@ppp59-167-168-132.lns1.mel4.internode.on.net] has joined #webgui | 07:05 |
| @Haarg | perlDreamer, it's looking more and more like there won't be a release tonight | 07:08 |
| @Haarg | charter's network in madison is all messed up or something | 07:08 |
| perlDreamer | oh, that's not good | 07:09 |
| perlDreamer | A little delay is okay with me | 07:09 |
| -!- KC2QBU [n=Miranda@pool-96-243-22-151.bflony.fios.verizon.net] has quit ["Miranda IM! Smaller, Faster, Easier. http://miranda-im.org"] | 07:36 |
| CIA-6 | WebGUI: patspam * r7136 /branch/WebGUI_flux/lib/WebGUI/ (Inbox/Message.pm Flux/Admin.pm Flux.pm): | 08:16 |
| -!- perlDreamer [n=colink@pool-71-245-101-253.ptldor.fios.verizon.net] has quit ["Leaving."] | 08:20 |
| -!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 60 (Operation timed out)] | 08:50 |
| -!- ryuu_ro [n=rory@gw.oqapi.nl] has joined #webgui | 09:12 |
| -!- khenn [n=khenn@66-190-57-159.dhcp.mdsn.wi.charter.com] has quit [Read error: 60 (Operation timed out)] | 09:26 |
| -!- ryuu_ro [n=rory@gw.oqapi.nl] has quit [] | 09:46 |
| -!- BartJol [n=plainstu@54-167.surfsnel.dsl.internl.net] has joined #webgui | 10:27 |
| -!- KlausH [n=KlausH@p5B070FA8.dip0.t-ipconnect.de] has joined #webgui | 10:34 |
| -!- khenn [n=khenn@97.92.186.139] has joined #WebGUI | 10:52 |
| -!- mode/#webgui [+o khenn] by ChanServ | 10:52 |
| -!- eink [n=eink@AMontsouris-157-1-70-83.w90-46.abo.wanadoo.fr] has joined #webgui | 12:32 |
| -!- Haarg [n=haarg@24-240-43-138.dhcp.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"] | 13:11 |
| -!- wgGuest02 [n=wgGuest0@user-5447c519.wfd92.dsl.pol.co.uk] has joined #webgui | 13:18 |
| -!- wgGuest02 is now known as lrobinson | 13:19 |
| -!- eink [n=eink@AMontsouris-157-1-70-83.w90-46.abo.wanadoo.fr] has quit [Read error: 104 (Connection reset by peer)] | 13:54 |
| -!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui | 14:42 |
| -!- mode/#webgui [+o preaction] by ChanServ | 14:42 |
| -!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui | 14:43 |
| -!- mode/#webgui [+o rizen] by ChanServ | 14:43 |
| -!- topsub [n=josh@97.66.185.250] has joined #webgui | 15:11 |
| lrobinson | hello | 15:27 |
| lrobinson | is it safe to upgrade from 7.4.39 to the latest version of 7.5? | 15:28 |
| @preaction | depends on what your definition of safe is | 15:28 |
| lrobinson | i noticed the comment in the gotchas about not being able to use the beta if you've gone past 7.4.21 | 15:29 |
| @preaction | there is now an upgrade from 7.4.40 to 7.5 | 15:30 |
| lrobinson | so would it be better to get 7.4.40 first? | 15:30 |
| @preaction | not better, manditory | 15:31 |
| lrobinson | all right, thanks | 15:31 |
| -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui | 15:55 |
| -!- mode/#webgui [+v perlmonkey2] by ChanServ | 15:55 |
| -!- bopbop [n=kmccombs@68-114-219-232.dhcp.mdsn.wi.charter.com] has joined #webgui | 15:57 |
| -!- mode/#webgui [+o bopbop] by ChanServ | 15:57 |
| +perlmonkey2 | good morning | 15:58 |
| SDuensin | Morning. | 16:02 |
| -!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Connection timed out] | 16:08 |
| -!- dionak [n=dionak@97.66.185.250] has joined #webgui | 16:10 |
| +perlmonkey2 | Anything in the smoketests look serious? | 16:11 |
| +perlmonkey2 | Shelf or EMS? | 16:11 |
| dionak | i've got a test to commit for the ems. tickets aren't committing...not sure why. it could use a second eye | 16:12 |
| -!- carogray [n=Caroline@h69-131-72-180.nwlnnh.dsl.dynamic.tds.net] has joined #webgui | 16:15 |
| +perlmonkey2 | dionak: tickets aren't committing? You can't purchase them? | 16:15 |
| dionak | i think it's just a matter of figuring out how to do it in the test. | 16:15 |
| dionak | i've just run out of time this week to look into it.. | 16:17 |
| +perlmonkey2 | dionak: I'm not sure what your trying to do. | 16:17 |
| dionak | just added it. it's EventManagementSystem.t | 16:17 |
| dionak | take a look and you'll see. i added an ems, then tried to add tickets and ribbons. | 16:17 |
| dionak | once i do that, i call getBadges and am not getting back what is expected. | 16:18 |
| +perlmonkey2 | test 14? | 16:19 |
| +perlmonkey2 | and 18 | 16:19 |
| +perlmonkey2 | and 22 | 16:20 |
| dionak | yes on all counts | 16:20 |
| +perlmonkey2 | and you're seeing the same problem when you manually do this? | 16:22 |
| -!- estiven [n=estiven@201.232.58.66] has joined #webgui | 16:31 |
| CIA-6 | WebGUI: dionak * r7137 /WebGUI/t/Asset/Wobject/EventManagementSystem.t: Adding non-mech test | 16:33 |
| +perlmonkey2 | dionak: getLineage is failing. Looks like the badges being created don't have an EMS in the DB. | 16:35 |
| lrobinson | preaction: 7.5.18 installed - thanks | 16:35 |
| +perlmonkey2 | dionak: no, that is wrong. They do. So then why is getLineage failing (or is it?) | 16:36 |
| -!- lrobinson [n=wgGuest0@user-5447c519.wfd92.dsl.pol.co.uk] has quit [] | 16:37 |
| +perlmonkey2 | dionak: :D I found it. | 16:41 |
| +perlmonkey2 | dionak: try @$badges | 16:42 |
| +perlmonkey2 | scalar $badges probably just returns the location. | 16:42 |
| -!- khenn_ [n=khenn@97.92.186.139] has joined #WebGUI | 16:57 |
| -!- patspam [n=patspam@ppp59-167-168-132.lns1.mel4.internode.on.net] has quit ["Leaving."] | 16:59 |
| -!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit [] | 17:05 |
| -!- khenn_ [n=khenn@97.92.186.139] has quit [Remote closed the connection] | 17:10 |
| -!- khenn [n=khenn@97.92.186.139] has quit [Read error: 113 (No route to host)] | 17:10 |
| -!- khenn [n=khenn@97.92.186.139] has joined #WebGUI | 17:11 |
| -!- mode/#webgui [+o khenn] by ChanServ | 17:11 |
| -!- Haarg [n=haarg@24-240-43-138.dhcp.mdsn.wi.charter.com] has joined #webgui | 17:12 |
| -!- mode/#webgui [+o Haarg] by ChanServ | 17:12 |
| -!- cap10morgan [n=cap10mor@206-124-7-89.denver.dsl.forethought.net] has joined #webgui | 17:18 |
| -!- mode/#webgui [+v cap10morgan] by ChanServ | 17:18 |
| dionak | oh, sweet! thanks perlmonkey2 | 17:24 |
| -!- tavisto [n=tavisto@pool-71-120-147-81.gdrpmi.dsl-w.verizon.net] has joined #WebGUI | 17:25 |
| -!- mode/#webgui [+o tavisto] by ChanServ | 17:25 |
| -!- kurios63 [n=chatzill@a62-216-21-20.adsl.cistron.nl] has joined #webgui | 17:25 |
| kurios63 | AFternoon all | 17:26 |
| BartJol | afternoon | 17:26 |
| @tavisto | howdy | 17:26 |
| dionak | perlmonkey2, did you get a sql error when you ran the test? Unknown column 'badgeAssetId' | 17:27 |
| -!- Haaarg [n=haarg@h75-100-123-170.mdsnwi.dedicated.static.tds.net] has joined #webgui | 17:27 |
| -!- mode/#webgui [+o Haaarg] by ChanServ | 17:27 |
| +perlmonkey2 | dionak: yeah | 17:28 |
| dionak | looks like a bug, possibly from EMSBadge.pm. not sure which table tho | 17:30 |
| +perlmonkey2 | dionak: that is the call to getRibbons which is also a getLineage call. | 17:30 |
| -!- Haarg [n=haarg@24-240-43-138.dhcp.mdsn.wi.charter.com] has quit [Read error: 110 (Connection timed out)] | 17:30 |
| +perlmonkey2 | why do you think it is in EMSBadge? | 17:30 |
| -!- estiven [n=estiven@201.232.58.66] has quit [Remote closed the connection] | 17:31 |
| dionak | just from doing a grep -r badgeAssetId lib/* | 17:31 |
| +perlmonkey2 | so that would have to be in the constructor? | 17:32 |
| +perlmonkey2 | getLineage would only be insantiating them right? | 17:32 |
| dionak | not sure about it being in the constructor. i would think getLineage would only be instantiating. | 17:33 |
| dionak | the last thing done in the test is purge | 17:33 |
| dionak | i'm thinking it's happening there b/c it looks like the 22 tests pass | 17:34 |
| +perlmonkey2 | Yeah, I just put in a finished print. | 17:34 |
| +perlmonkey2 | The DB is in the purge. | 17:34 |
| +perlmonkey2 | I think there was a smoketest failure in EMS purge | 17:35 |
| +perlmonkey2 | also | 17:35 |
| dionak | cool. that would be the last thing for this initial test. | 17:35 |
| dionak | i'm working on a release for end of day so i won't be able to update the purge method | 17:39 |
| +perlmonkey2 | okay I'll see if I can track that down real fast. Shouldn't be too hard. | 17:41 |
| -!- perlDreamer [n=ckuskie@nat082.mxim.com] has joined #webgui | 17:42 |
| perlDreamer | apeiron: tests went boom :( | 17:42 |
| perlDreamer | Can't locate auto/Text/CSV_XS/error_diag.al | 17:42 |
| perlDreamer | testEnvironment.pl says it's okay | 17:46 |
| perlDreamer | reinstalling Text::CSV_XS fixes that | 17:51 |
| perlDreamer | but something needs to be put into the gotcha file | 17:51 |
| perlDreamer | I thought it might just be me, since I don't run the WRE | 17:51 |
| perlDreamer | but the nightly tests on plainblack.com failed, too | 17:51 |
| perlDreamer | 0.52 seems to work okay | 17:52 |
| perlDreamer | but the 0.26 in the testEnvironment.pl is questionable | 17:52 |
| +perlmonkey2 | dionak: okay, purge test passes. | 17:53 |
| +perlmonkey2 | ci now | 17:53 |
| * perlDreamer goes to a 4 hour meeting | 17:55 |
| * perlmonkey2 fears for perlDreamer. Who could survive such a meeting? | 17:56 |
| dionak | thanks perlmonkey2! | 17:57 |
| +perlmonkey2 | dionak: de nada :) | 17:57 |
| -!- kurios63_ [n=chatzill@a62-216-21-20.adsl.cistron.nl] has joined #webgui | 18:00 |
| -!- kurios63 [n=chatzill@a62-216-21-20.adsl.cistron.nl] has quit [Read error: 110 (Connection timed out)] | 18:12 |
| CIA-6 | WebGUI: dionak * r7138 /WebGUI/t/Asset/Wobject/EventManagementSystem.t: Passing tests for badges, tickets and ribbons | 18:13 |
| CIA-6 | WebGUI: dionak * r7139 /WebGUI/t/Asset/Wobject/EventManagementSystem.t: Removing unneeded version tag and workflow info | 18:13 |
| CIA-6 | WebGUI: perlmonkey2 * r7140 /WebGUI/lib/WebGUI/Asset/Sku/ (EMSRibbon.pm Subscription.pm EMSBadge.pm): Corrected purge table column names | 18:13 |
| CIA-6 | WebGUI: colin * r7141 /WebGUI/ (docs/changelog/7.x.x.txt lib/WebGUI/Asset.pm): fix a typo in the YUI asset toolbar demote/promote | 18:13 |
| CIA-6 | WebGUI: perlmonkey2 * r7142 /WebGUI/docs/changelog/7.x.x.txt: Corrected purge table column names | 18:13 |
| -!- BartJol [n=plainstu@54-167.surfsnel.dsl.internl.net] has left #webgui [] | 18:15 |
| -!- kurios63_ [n=chatzill@a62-216-21-20.adsl.cistron.nl] has quit ["ChatZilla 0.9.83 [Firefox 3.0.1/2008070208]"] | 18:18 |
| +perlmonkey2 | Can someone look at Form::Date.pm lines 139 and 140 and tell me why if the value is =~ /^\d+$/ Session::DateTime::setToEpoch would be called on it? setToEpoch is looking for a formatted string datetime to turn into an epoch time. | 18:21 |
| -!- cap10morgan [n=cap10mor@206-124-7-89.denver.dsl.forethought.net] has quit [] | 18:23 |
| @Haaarg | looks rather broken | 18:28 |
| -!- rizen [n=rizen@h69-130-247-231.vrnawi.dsl.dynamic.tds.net] has joined #webgui | 18:32 |
| -!- mode/#webgui [+o rizen] by ChanServ | 18:32 |
| +perlmonkey2 | Haaarg: since we're expecting a epoch value returned, I'll just have the $value returned if it is nothing but digits. | 18:32 |
| +perlmonkey2 | but if getDefaultValue is undef, the current logic would have time() returned. I've left that in also. | 18:33 |
| @Haaarg | are we? i thought it was trying to format it as a mysql value | 18:33 |
| @Haaarg | other areas in that file use epochToSet, which i think was the intention | 18:34 |
| +perlmonkey2 | Well I'm not sure what it is supposed to return. I don't think it ever returned undef as setToEpoch returns time() if it can't parse the input. | 18:36 |
| @Haaarg | ok, yeah. it needs to return an epoch time | 18:39 |
| @Haaarg | but it will also need to account for time zone | 18:39 |
| @Haaarg | might be best to just change it to use WebGUI::DateTime for that | 18:40 |
| +perlmonkey2 | okay | 18:40 |
| -!- cap10morgan [n=cap10mor@206-124-7-89.denver.dsl.forethought.net] has joined #webgui | 18:42 |
| -!- mode/#webgui [+v cap10morgan] by ChanServ | 18:42 |
| +perlmonkey2 | Haaarg: since this is a form input, will a time zone be available? Or will WebGUI::DateTime use the webgui instance timezone? | 18:45 |
| @Haaarg | it would need to convert from the user's time zone | 18:46 |
| -!- bopbop [n=kmccombs@68-114-219-232.dhcp.mdsn.wi.charter.com] has quit ["that's all folks"] | 18:59 |
| @rizen | apeiron: please hook up perlmonkey2 with permanent op status | 19:08 |
| @apeiron | rizen, Okie. | 19:08 |
| * perlmonkey2 immediately abuses his power. | 19:08 |
| @rizen | and snapcount should have permanent voice status | 19:09 |
| @rizen | he was a people behind webgui | 19:09 |
| @apeiron | They need to ident to nickserv for the access. | 19:09 |
| @apeiron | I can't do anything about that. | 19:09 |
| +perlmonkey2 | Haaarg: I've been looking through the different date-ish modules and it looks like what I should do is find the user | 19:09 |
| @apeiron | perlmonkey2, If you rejoin you should see your +o | 19:09 |
| @rizen | oh...he has an account, he just must not have logged in for some reason | 19:09 |
| +perlmonkey2 | s timezone, use that to convert to local epoch and return it? | 19:10 |
| @rizen | snapcount is such a people behind webgui that he actually created our irc channel | 19:10 |
| @apeiron | ha, wow | 19:10 |
| -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."] | 19:10 |
| -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui | 19:11 |
| -!- mode/#webgui [+o perlmonkey2] by ChanServ | 19:11 |
| @apeiron | There we go. | 19:11 |
| -!- perlmonkey2 was kicked from #webgui by perlmonkey2 [too cool for school] | 19:12 |
| -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui | 19:12 |
| -!- mode/#webgui [+o perlmonkey2] by ChanServ | 19:12 |
| @Haaarg | that may be the best way to handle it | 19:12 |
| @Haaarg | looks like ::DateTime's handling of user time zones is kind of convoluted as well | 19:13 |
| @perlmonkey2 | Haaarg: yeah I was thinking it might be an oppurtunity to add somefunctionality to DateTime. | 19:13 |
| @Haaarg | if there was something like newFromUserTimeZone, or just having that as a parameter to new somehow | 19:14 |
| -!- Haaarg is now known as Haarg | 19:14 |
| @perlmonkey2 | maybe cloneFromUserTimeZone ? | 19:14 |
| @Haarg | well, you could use that | 19:15 |
| @perlmonkey2 | All dates in the DB are UTC? | 19:15 |
| @perlmonkey2 | add the method cloneFromUserTimeZone and then grab the UTC value to insert? | 19:16 |
| @Haarg | or wait, you mean create that? i don't think that would work | 19:16 |
| SDuensin | Hi guys. Trying to set up a merchant account for use with WebGUI. Does WebGUI store any cardholder data? | 19:16 |
| @perlmonkey2 | wait. I could just use cloneToUserTimeZone I wouldn't need a from. | 19:16 |
| @Haarg | ::DateTime already has a time zone attached to it | 19:16 |
| @Haarg | yeah, but to do that you would need ::DataTime->new($s)->cloneToUserTimeZone->epoch($e)->cloneToUserTimeZone->epoch | 19:17 |
| @Haarg | or something equally silly | 19:17 |
| @Haarg | err | 19:17 |
| @Haarg | cloneToUTC for that second part | 19:17 |
| @perlmonkey2 | so, too silly to use? | 19:18 |
| @Haarg | seems like it would be preferable to just have a simple way to create a ::DateTime using the user's time zone | 19:19 |
| @perlmonkey2 | return DateTime->new(epoch=>$epoch, time_zone => $self->session->user->profileField("timeZone")); would seem to do it? | 19:21 |
| @Haarg | well, you'd want to return a WebGUI::DateTime | 19:23 |
| @perlmonkey2 | which is a subclass of datetime, so I should be able to do the same thing to WebGUI::DateTime? | 19:27 |
| @Haarg | i think that should work - if you add a $session | 19:27 |
| @perlmonkey2 | hmm, looking at WebGUI::DateTime I don't think I'll be able to do it my way and your way is better. As for simplifying it, I guess I could change new to take an optional second param which is a timezone? | 19:31 |
| @perlmonkey2 | oh duh, WG::DateTime takes DateTime new params. | 19:33 |
| @Haarg | ->new will accept a time zone | 19:35 |
| @Haarg | but there isn't currently a way to specify to use the user's time zone | 19:36 |
| @Haarg | whether that was done in ->new or a different sub doesn't seem too important to me | 19:36 |
| -!- funkmagnet [n=jars@h19-afsc.ded.indra.com] has joined #webgui | 20:07 |
| perlDreamer | SDuensin, wG does not store card data | 20:10 |
| SDuensin | Thanks, perlDreamer - I read the code and kinda figured that. Whew. No PCI issues to worry about! | 20:11 |
| perlDreamer | no | 20:11 |
| perlDreamer | apeiron: which version of Text::CSV_XS do you have installed? | 20:20 |
| -!- rizen [n=rizen@h69-130-247-231.vrnawi.dsl.dynamic.tds.net] has quit [] | 20:27 |
| @apeiron | perlDreamer, 0.52 for the WRE. | 20:33 |
| * apeiron will bbl | 20:33 |
| -!- apeiron [n=apeiron@c-76-124-253-149.hsd1.pa.comcast.net] has quit ["leaving"] | 20:34 |
| perlDreamer | okay, so it sound like all we need to do is update testEnvironment.pl to say 0.52 instead of 0.26 | 20:35 |
| perlDreamer | does the WRE ship with 0.52? | 20:35 |
| @perlmonkey2 | Haarg: no less silly than yours, but it saves having to create at least 1 new instance. | 20:36 |
| @perlmonkey2 | return WebGUI::DateTime->new($self->session,$value)->set_time_zone($self->session->user->profileField("timeZone"))->cloneToUTC->epoch(); | 20:36 |
| @perlmonkey2 | DateTime has the set_time_zone method, so would it be redundant to add this into WebGUI::DateTime? | 20:37 |
| @Haarg | where are you putting that? | 20:37 |
| @perlmonkey2 | Form::Date | 20:37 |
| @perlmonkey2 | getValue | 20:37 |
| @perlmonkey2 | if the value =~ /^\d+$/ | 20:37 |
| @Haarg | i was thinking you could add something in WebGUI::DateTime that does the WebGUI::DateTime->new($self->session,$value)->set_time_zone($self->session->user->profileField("timeZone")) part | 20:38 |
| @perlmonkey2 | WG::DateTime->new looks a little....busy. I'm hesitant to mess with it. But if you want a new set of logic in new, now problem. | 20:39 |
| @perlmonkey2 | s/now/no/ | 20:39 |
| -!- Haaarg [n=haarg@h75-100-123-170.mdsnwi.dedicated.static.tds.net] has joined #webgui | 20:50 |
| -!- mode/#webgui [+o Haaarg] by ChanServ | 20:50 |
| -!- Haarg [n=haarg@h75-100-123-170.mdsnwi.dedicated.static.tds.net] has quit [Read error: 110 (Connection timed out)] | 20:59 |
| -!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui | 21:07 |
| -!- mode/#webgui [+o preaction] by ChanServ | 21:07 |
| CIA-6 | WebGUI: colin * r7143 /WebGUI/ (sbin/testEnvironment.pl docs/gotcha.txt): | 21:07 |
| CIA-6 | WebGUI: Document that WebGUI now requires Text::CSV_XS version | 21:07 |
| CIA-6 | WebGUI: 0.52. | 21:07 |
| @perlmonkey2 | perlDreamer: if you have a sec could you help me understand how the subscription dates get submitted as string formatted dates but in getValue in form::date they are epoch (which should be utc)? | 21:40 |
| perlDreamer | perlmonkey2, I can try. | 21:41 |
| @perlmonkey2 | there is no way the yui is timezone aware. So how/where is it being converted to epoch? | 21:42 |
| perlDreamer | Can you walk me through where you are, to get me up to speed? | 21:42 |
| @perlmonkey2 | okay, I'm working with a subscription asset | 21:42 |
| @perlmonkey2 | just to get date form submissions. | 21:42 |
| @perlmonkey2 | subscription sub www_listSubscriptionCodes has $session->form->date | 21:43 |
| @perlmonkey2 | form date has getValue | 21:43 |
| @perlmonkey2 | the value passed in to getValue is an epoch. | 21:43 |
| @perlmonkey2 | how did it get turned into an epoch and is it utc or the user's timezone (which would make it not really and epoch). | 21:44 |
| perlDreamer | I have no idea about the timezone. | 21:45 |
| perlDreamer | Does the warning come on loading the page, or hitting the search button? | 21:45 |
| @perlmonkey2 | I think both | 21:45 |
| @perlmonkey2 | I'd have to revert a lot of debug code to make sure. | 21:46 |
| perlDreamer | in the definition sub for Form/Date, it uses $session->datetime->time() | 21:46 |
| @perlmonkey2 | which I'm going to hazard a guess is epoch + local time offset for the user? | 21:47 |
| perlDreamer | needs to be traced | 21:47 |
| @perlmonkey2 | I'm dubbing this the nightmare bug. | 21:48 |
| perlDreamer | it needs a test | 21:48 |
| @perlmonkey2 | needs something working before it can be tested. | 21:48 |
| perlDreamer | well, yes and no. I see your point. A test is usually quicker than page loads and stuff, and it would prevent this from happening later. | 21:48 |
| @perlmonkey2 | wait, that is actually epoch | 21:49 |
| perlDreamer | yes, defaultValue is in epoch | 21:49 |
| @perlmonkey2 | so it defaults to epoch. | 21:49 |
| perlDreamer | if no value is passed in, or if no defaultValue is assigned to the form | 21:49 |
| @perlmonkey2 | so what is submitted should also be UTC, since the users can not change time values, so there can't be any uncertainty as to which timezone they mean. | 21:50 |
| perlDreamer | the new standard for working with dates is UTC, and everything in MySQL format | 21:51 |
| perlDreamer | stored in the db as MySQL format, that is | 21:51 |
| perlDreamer | but Form::Date has to work with legacy code, so it also has to deal with epoch times | 21:51 |
| @perlmonkey2 | well it looks jacked and I don't even really know where to start and I've been digging around it all day. | 21:52 |
| @perlmonkey2 | should form::date::getValue assume an epoch is utc when passed in? or assume it is quasi-epoch set to a users local timezone? | 21:53 |
| @perlmonkey2 | I think it should assume UTC since epoch should always be in UTC. | 21:55 |
| perlDreamer | UTC, but then we have to run cross tests on the Calendar. This would be a good time for preaction to chime in. | 21:55 |
| @perlmonkey2 | that sure would make things easy as anything matching \d+ could simply be returned. | 21:56 |
| @preaction | that depends, is it getting the epoch in UTC? when you use DateTime to make it more descriptive, does it match your local time? or does it match your local time converted to UTC? | 21:57 |
| @preaction | we're using the YUI Date Control now, we weren't before, when the Calendar was written | 21:57 |
| perlDreamer | How did you handle that in the calendar? | 21:58 |
| perlDreamer | Or are you saying that the Calendar is borked? | 21:58 |
| @preaction | i believe that the old Date thing assumed it was UTC, so i left that broken | 21:58 |
| @preaction | the new code that gets run when the defaultValue is a MySQL-formatted date assumed the current user's time zone and converted to UTC | 21:59 |
| perlDreamer | So, for Form::Date (and DateTime), we're assuming that it's always passed a UTC date, whether in MySQL format, or in epoch? | 22:00 |
| perlDreamer | and Form::Date should handle converting it to the user's timezone, from their profileField | 22:01 |
| @preaction | no. if it is going to return an epoch, it assumes UTC throughout (and no TZ conversion gets done) | 22:01 |
| @preaction | if it is going to return a MySQL date, it assumes it was given the user's time zone and converts to UTC | 22:01 |
| @preaction | at least, that's how it was last I knew | 22:01 |
| @preaction | you should see it as WebGUI::DateTime->new( mysql => ..., time_zone => $session->user->profileField( 'timeZone' ) ); or something | 22:02 |
| @preaction | oh, shit, Date and Time don't have a timezone conversion, because it's incomplete | 22:02 |
| @preaction | but DateTime does timezone conversion, because it's complete | 22:03 |
| @preaction | Date can't, because there's no time. | 22:03 |
| perlDreamer | complete = deals with time _and_ daet | 22:03 |
| perlDreamer | okay | 22:03 |
| @perlmonkey2 | so session::date line 140 should just return $value and line 149 should convert that string to utc epoch? | 22:03 |
| @preaction | Time can't because what happens when we go past 0:00 either forward or backward? we'd have to change the date, and we can't because we don't have one | 22:03 |
| @perlmonkey2 | although converting line 149 to epoch would be for time 00:00:00 | 22:05 |
| @Haaarg | sorry for throwing you off with that earlier perlmonkey2, i wasn't really thinking about it hard enough | 22:05 |
| @preaction | we're looking at WebGUI::Session::DateTime now? | 22:05 |
| @perlmonkey2 | no, line 149 wouldn't do anything as that is mysql formatted and should just return the mysql format. | 22:05 |
| @perlmonkey2 | Haaarg: oh, no worries. It hadn't occurred to me that epoch should always be in utc yet. | 22:06 |
| @perlmonkey2 | So to fix Form::Date line 140 just needs to return $value | 22:06 |
| @preaction | if $value is an epoch, yes | 22:07 |
| @preaction | so the YUI Calendar makes an epoch date? | 22:07 |
| @Haaarg | no, i think it uses mysql format | 22:07 |
| @preaction | perlmonkey2, it might be you'll have to make sure that $value is an epoch and not a mysql datetime there | 22:09 |
| @perlmonkey2 | preaction: looks like it already tests as well as can be testing by matching for ^\d+$ | 22:10 |
| @preaction | though you might want to try to just return $value and see what happens, i think it might be getting both at one point or another | 22:10 |
| @preaction | see what $value is though? it's $self->SUPER::getValue which may or may not be $self->get("value") | 22:10 |
| @perlmonkey2 | And DateTime::getValue looks like it handles mysql formatted correctly | 22:10 |
| @Haaarg | the idea should be it accepts either epoch or mysql, and outputs based on the default value's format | 22:11 |
| @perlmonkey2 | if (!$self->get("defaultValue") || $self->get("defaultValue") =~ m/^\d+$/ || !$self->get("value") || $self->get("value") =~ m/^\d+$/) | 22:11 |
| @perlmonkey2 | That should only be an epoch value right? | 22:11 |
| @preaction | yes | 22:11 |
| @preaction | but that has nothing to do with the return value of the SUPERclass's getValue sub | 22:12 |
| @perlmonkey2 | cool, then we can just return $vlaue in that case and then the else looks like it handles mysql formatted perfectly | 22:12 |
| @perlmonkey2 | oh | 22:12 |
| @preaction | you can pass getValue a value and it will use that, otherwise it tries to get it from the form | 22:12 |
| @preaction | so as Haaarg said, the YUI date picker returns it mysql style, and if the control wants it as an epoch, you need to use setToEpoch | 22:12 |
| @preaction | but if I pass in an epoch to getValue, now I have an epoch, and if I want an epoch back, I can't call setToEpoch on it | 22:13 |
| @preaction | so yes, I'm with perlDreamer in this needs to be tested for all four possibilities | 22:13 |
| @Haaarg | bleh, looks like i have to make a custom version of the tinymce spellchecker | 22:13 |
| perlDreamer | right, write a test | 22:14 |
| perlDreamer | then this never happens again | 22:14 |
| @preaction | 1) Epoch in, Epoch out. 2) Epoch in, MySQL out. 3) MySQL in, Epoch out. 4) MySQL in, MySQL out. | 22:14 |
| perlDreamer | how does it ask for epoch/MySQL out? | 22:14 |
| @preaction | that's the code perlmonkey2 posted above | 22:14 |
| perlDreamer | sorry, I have 3/4 of my brain wrapped around transistors and resistors today | 22:14 |
| @Haaarg | if the default value matches mysql's format | 22:15 |
| @preaction | if you set the "value" or "defaultValue" property to a MySQL-formatted date (or rather, to NOT an epoch date) | 22:15 |
| @Haaarg | and the input looks like an epoch | 22:15 |
| @preaction | or rather, to NOT a number | 22:15 |
| @preaction | that should probably be changed to use Scalar::Util qw( looks_like_number ) | 22:15 |
| -!- apeiron [n=apeiron@c-76-124-253-149.hsd1.pa.comcast.net] has joined #webgui | 22:35 |
| -!- mode/#webgui [+o apeiron] by ChanServ | 22:35 |
| @perlmonkey2 | if $self->SUPER::getValue is from the form, what is $self->get('value') from? | 22:38 |
| @perlmonkey2 | doh, the def | 22:38 |
| @preaction | it used to be called getValueFromForm, but FromForm is ackward and redundant | 22:39 |
| @preaction | getDefaultValue ends up getting the "value" property, or if that doesn't exist, the "defaultValue" property | 22:40 |
| @perlmonkey2 | the POD says that the call to SUPER is set $value equal to an optional value instead of the one from the form. Now that is confusing. | 22:41 |
| @perlmonkey2 | I thought the call to $self->get('value') was grabbing the value from the form. | 22:42 |
| @preaction | nope, get() is for the form properties | 22:43 |
| @preaction | er... form control properties | 22:43 |
| @preaction | update the pod to make it clearer though | 22:43 |
| @preaction | please | 22:43 |
| @perlmonkey2 | so the $self->SUPER::getValue(@_) is getting the super processed form input? | 22:44 |
| @Haaarg | it's using ->get to find what format the result is supposed to be, should be able to just use getDefaultValue now | 22:44 |
| @preaction | yes, it should use getDefaultValue now | 22:44 |
| @preaction | and Scalar::Util looks_like_number | 22:45 |
| @preaction | then it will be essentially self-documenting | 22:45 |
| @perlmonkey2 | okay, some psuedocode if you guys don't mind. | 22:46 |
| perlDreamer | looks_like_number is a little overkill | 22:46 |
| perlDreamer | it also recognizes floats, doesn't it? | 22:46 |
| @preaction | you can technically have floating-point epochs | 22:47 |
| @preaction | though none of our fields will support them | 22:47 |
| perlDreamer | negative numbers | 22:47 |
| @preaction | plus it's easier to look at and say "hmm, that's checking to see if it's just a number" | 22:47 |
| perlDreamer | it does read nice | 22:47 |
| @preaction | negative epochs are also possible, dates before 01-01-1970 00:00:00 | 22:47 |
| @perlmonkey2 | if there isn't a getDefaultValue or getDefaultValue is a number, then regardless of $value, turn it into an epoch somehow. otherwise turn it into a mysql time somehow? | 22:47 |
| @preaction | perlmonkey2, basically, yep | 22:48 |
| @perlmonkey2 | This is from my data form date time entry test: 12/31/1969 6:33 pm | 23:11 |
| @perlmonkey2 | I entered 10:33 today. | 23:11 |
| @perlmonkey2 | :D | 23:11 |
| perlDreamer | well, if it didn't give you a warning, that's some progress :) | 23:18 |
| @perlmonkey2 | I'm not sure what that was because when I list all values they are correct. | 23:20 |
| perlDreamer | perlmonkey2, I'm sorry I can't spend more time helping you today. | 23:35 |
| @perlmonkey2 | perlDreamer: It's not like that's your job or anything. I'm learning a ton digging through this, so it is probably for the best that you can't help :) | 23:36 |
| perlDreamer | I know, but I don't like suggesting that people try things without sticking around to follow through/help out. | 23:51 |
| SDuensin | Quick almost on topic question: How do you write "not exists" for a hash in Perl? ("exists" is: "if exists $hash{$key}") | 23:54 |
| @preaction | !exists | 23:54 |
| @preaction | not exists | 23:54 |
| @preaction | either way | 23:55 |
| perlDreamer | perldoc perlop | 23:55 |
| @preaction | are you sure you want exists and not defined or boolean truth? | 23:55 |
| SDuensin | It won't take it. :-/ | 23:55 |
| perlDreamer | it won't take it? | 23:55 |
| SDuensin | I want to know if $key isn't in the hash. | 23:55 |
| perlDreamer | if !exists $hash{$key}; | 23:55 |
| @preaction | if ( not exists $hash{ $key } ) { ... } | 23:56 |
| SDuensin | Ah, parens made it happier. | 23:56 |
| * SDuensin is weak in his Perl-fu. | 23:56 |
| perlDreamer | You need a llama | 23:56 |
| perlDreamer | or a camel book | 23:56 |
| SDuensin | Yes, I do. | 23:56 |
| @preaction | perlbot books | 23:56 |
| perlbot | http://books.perl.org | 23:56 |
| @preaction | llama is free online | 23:56 |
| SDuensin | Thanks | 23:57 |
| @preaction | perlbot learning perl | 23:57 |
| perlbot | "Learning Perl", the Llama Book - http://oreilly.com/catalog/9780596520106/index.html (new fifth edition, covers 5.10) . see also <tutorial> | 23:57 |
| * SDuensin is writing system tools in Perl to better learn it for WebGUI hacking. :-) | 23:57 |
| @preaction | perlbot learn perl | 23:57 |
| perlbot | http://learn.perl.org/library/beginning_perl/ | 23:57 |
| @preaction | ahh, not learning perl, beginning perl | 23:57 |
| --- Day changed Sat Aug 02 2008 |
| SDuensin | I gotta say, I'm enjoying the language more than I expected. | 00:00 |
| perlDreamer | well, that's good | 00:00 |
| perlDreamer | You must not have written an OO code yet :) | 00:00 |
| SDuensin | hehehe | 00:00 |
| SDuensin | No, not for this. | 00:00 |
| SDuensin | As complicated as I've managed so far are hashes of hashes. | 00:00 |
| CIA-6 | WebGUI: graham * r7144 /WebGUI/lib/WebGUI/Workflow/Instance.pm: better detection and logging for singleton workflows | 00:01 |
| CIA-6 | WebGUI: graham * r7145 /WebGUI/lib/WebGUI/Asset/Sku/Subscription.pm: remove debug code | 00:01 |
| CIA-6 | WebGUI: graham * r7146 /WebGUI/ (docs/changelog/7.x.x.txt sbin/preload.perl): improve behavior of preload.perl for custom lib dirs not ending in lib | 00:01 |
| CIA-6 | WebGUI: graham * r7147 /WebGUI/ (13 files in 8 dirs): fixed: Server side spellchecker doesn't work | 00:01 |
| perlDreamer | Haaarg, did you really have to rewrite the spell checker in JS? | 00:02 |
| @Haaarg | i had to modify the existing one | 00:03 |
| * SDuensin is doing crazy crap. Synchronizing a WebGUI user database with a Linux system. :-) | 00:03 |
| @Haaarg | it didn't support adding words to the dictionary | 00:03 |
| @Haaarg | it was a simple modification, just makes maintenance rather annoying | 00:03 |
| perlDreamer | well, if the YUI people get on the stick, we might have to do it again. | 00:03 |
| perlDreamer | rizen was going to ask them about adding table support, which was the last piece needed to switch from TinyMCE over to YUI's RTE | 00:04 |
| topsub | unless i am wrong i can add an ID to the form header right? .. something like.. WebGUI::Form::formHeader($session, { action => $self->getUrl, extras=>'id="attendee-form"'} ) | 00:26 |
| @preaction | you want the id property probably, otherwise it will be given a default ID | 00:27 |
| topsub | preaction, it wouldn't be given any.. lol | 00:27 |
| topsub | on the products there isn't an ID on the form field and i need to add one | 00:27 |
| @preaction | why add an ID when you could use "document.forms[ formName ].elements[ elementName ]" | 00:28 |
| topsub | doesn't have a form name nor id | 00:28 |
| @preaction | oh, the form itself | 00:29 |
| @preaction | yes, you could add an ID to it that way | 00:29 |
| @Haaarg | what are you going to use the id for? | 00:29 |
| topsub | ya the form itself has nothing.. just wanted to make sure | 00:29 |
| topsub | to grap it with javascript | 00:29 |
| topsub | document.forms[0] doesn't seem to work | 00:30 |
| -!- dionak [n=dionak@97.66.185.250] has quit [] | 00:30 |
| -!- KlausH [n=KlausH@p5B070FA8.dip0.t-ipconnect.de] has quit ["bye"] | 00:31 |
| -!- dionak [n=dionak@97.66.185.250] has joined #webgui | 00:33 |
| @perlmonkey2 | By some miracle, no one happened to write a Form::Date and Form::DateTime test today? | 00:37 |
| perlDreamer | I heard perlmonkey3 was going to do it | 00:38 |
| @perlmonkey2 | that loser? he's worthless | 00:39 |
| @perlmonkey2 | perlDreamer: you coming to the wuc? | 00:41 |
| perlDreamer | yes | 00:42 |
| perlDreamer | I'm giving two talks at it this year | 00:42 |
| @perlmonkey2 | cool, will be good to meet you along with the rest of the crew. | 00:42 |
| -!- dionak [n=dionak@97.66.185.250] has quit [] | 00:44 |
| @perlmonkey2 | Anyone else on the channel coming who is with PB? | 00:44 |
| perlDreamer | I think topsub, dionak and knowmad are coming | 00:45 |
| @perlmonkey2 | sweet | 00:45 |
| perlDreamer | lisette, estiven and juan are coming | 00:45 |
| perlDreamer | MrHairgrease and WebGUI/SynQ, BartJol | 00:45 |
| -!- Dise [n=chatzill@201.232.58.66] has joined #webgui | 00:46 |
| perlDreamer | don't know about patspam, but I hope so. | 00:46 |
| @perlmonkey2 | most of the IRC crew then | 00:46 |
| perlDreamer | be nice to meet Mr Flux | 00:46 |
| perlDreamer | pretty much | 00:46 |
| perlDreamer | elnino will be there | 00:46 |
| Dise | hi | 00:46 |
| @perlmonkey2 | hello | 00:46 |
| perlDreamer | Hi, Dise | 00:46 |
| perlDreamer | Are you new to WebGUI? | 00:47 |
| Dise | i need do post from flash? | 00:47 |
| Dise | i need use data form from web gui but from flash | 00:48 |
| perlDreamer | then I would suggest that you ask that in a different channel. We don't do much with Flash. | 00:48 |
| -!- topsub [n=josh@97.66.185.250] has quit ["Leaving"] | 00:52 |
| -!- Haaarg [n=haarg@h75-100-123-170.mdsnwi.dedicated.static.tds.net] has quit ["This computer has gone to sleep"] | 01:32 |
| perlDreamer | preaction: you still around? | 01:41 |
| @preaction | yup | 01:41 |
| perlDreamer | In User, getGroupIdsRecursive, the first groups are gotten with the withoutExpired flag | 01:41 |
| perlDreamer | but not any recursive groups | 01:41 |
| @preaction | because the user isn't really a "Member" of those groups | 01:41 |
| perlDreamer | is that by design, or should it be consistently one way or the other? | 01:42 |
| @preaction | their "membership" can't expire | 01:42 |
| perlDreamer | hm, okay | 01:42 |
| @preaction | basically their membership in those groupGroupings is contingent on being a member of the initial group | 01:42 |
| perlDreamer | that makes sense | 01:43 |
| perlDreamer | and why return the keys of the hash instead of the array? | 01:43 |
| @preaction | the array? | 01:43 |
| @preaction | there is no array | 01:43 |
| @preaction | i don't want to get duplicate groupIds, so i store them in a hash | 01:43 |
| @preaction | oh, THAT array | 01:44 |
| perlDreamer | yeah | 01:44 |
| @preaction | i'm using the array as a stack, adding more groups to check | 01:44 |
| @preaction | it's a way to ... avoid doing recursion | 01:44 |
| perlDreamer | yes. But aren't the keys of the hash and the array elements the same? | 01:44 |
| @preaction | so i'm processing a recursive group tree without actually recursing | 01:45 |
| @preaction | no, the array shrinks with every pass | 01:45 |
| @preaction | while ( my $groupId = shift @myarray ) { ... } | 01:45 |
| perlDreamer | of course, it's a queue | 01:45 |
| perlDreamer | okay, I'll just shut up and start writing tests against it | 01:45 |
| @preaction | np, the more people who understand the code the better everything is in the end | 01:46 |
| perlDreamer | is the non-recursive algorithm faster? | 01:51 |
| -!- Haarg [n=haarg@24-240-43-138.dhcp.mdsn.wi.charter.com] has joined #webgui | 01:53 |
| -!- mode/#webgui [+o Haarg] by ChanServ | 01:53 |
| -!- Haarg [n=haarg@24-240-43-138.dhcp.mdsn.wi.charter.com] has quit [Client Quit] | 01:53 |
| -!- Haarg [n=haarg@24-240-43-138.dhcp.mdsn.wi.charter.com] has joined #webgui | 01:53 |
| -!- mode/#webgui [+o Haarg] by ChanServ | 01:53 |
| -!- Dise [n=chatzill@201.232.58.66] has quit ["ChatZilla 0.9.83 [Firefox 3.0/2008052906]"] | 02:07 |
| -!- dionak [n=dionak@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui | 02:09 |
| -!- dionak_ [n=dionak@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui | 02:26 |
| -!- dionak_ [n=dionak@cpe-024-074-132-143.carolina.res.rr.com] has quit [Client Quit] | 02:28 |
| @preaction | quite possibly, since it skips all the groups that we already have, instead of having to compile a huge tree of groups and then parse that, but only a real benchmark would tell | 02:28 |
| perlDreamer | yeah, I was wondering if getGroups would benefit from that | 02:29 |
| perlDreamer | but we can always optimize later | 02:29 |
| perlDreamer | there are lots of bugs to fix | 02:29 |
| @preaction | might want to leave a note then, a # TODO: or something | 02:29 |
| -!- dionak_ [n=dionak@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui | 02:31 |
| dionak_ | perlmonkey2, you're going to make it to the wuc? | 02:31 |
| perlDreamer | I'll do that. | 02:31 |
| dionak_ | that would be cool | 02:32 |
| dionak_ | would love to meet you along with others from irc | 02:32 |
| perlDreamer | He'll be there, dionak_ | 02:32 |
| @preaction | he should be there, he's a PB employee | 02:32 |
| dionak_ | it's official? | 02:32 |
| dionak_ | congrads pm | 02:32 |
| -!- perlDreamer [n=ckuskie@nat082.mxim.com] has quit ["Download Gaim: http://gaim.sourceforge.net/"] | 02:36 |
| -!- dionak [n=dionak@cpe-024-074-132-143.carolina.res.rr.com] has quit [Read error: 110 (Connection timed out)] | 02:43 |
| CIA-6 | WebGUI: colin * r7148 /WebGUI/ (lib/WebGUI/Group.pm lib/WebGUI/User.pm t/User.t): | 02:45 |
| CIA-6 | WebGUI: Add a test to User.t to make sure it isn't leaking groups. | 02:45 |
| CIA-6 | WebGUI: Update POD in User.pm and Group.pm. | 02:45 |
| CIA-6 | WebGUI: colin * r7149 /WebGUI/t/User.t: Begin a test for getGroupIdsRecursive | 02:45 |
| -!- carogray [n=Caroline@h69-131-72-180.nwlnnh.dsl.dynamic.tds.net] has left #webgui [] | 02:51 |
| -!- patspam [n=patspam@ppp59-167-168-132.lns1.mel4.internode.on.net] has joined #webgui | 03:03 |
| -!- funkmagnet [n=jars@h19-afsc.ded.indra.com] has quit [Read error: 110 (Connection timed out)] | 03:15 |
| -!- dionak_ [n=dionak@cpe-024-074-132-143.carolina.res.rr.com] has quit [] | 03:54 |
| -!- tavisto [n=tavisto@pool-71-120-147-81.gdrpmi.dsl-w.verizon.net] has quit [] | 05:16 |
| -!- apeiron_ [n=apeiron@c-76-124-253-149.hsd1.pa.comcast.net] has joined #webgui | 05:37 |
| -!- mode/#webgui [+o apeiron_] by ChanServ | 05:37 |
| -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [Read error: 113 (No route to host)] | 05:40 |
| -!- apeiron [n=apeiron@c-76-124-253-149.hsd1.pa.comcast.net] has quit [Read error: 110 (Connection timed out)] | 05:44 |
| -!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 60 (Operation timed out)] | 06:08 |
| -!- perlDreamer [n=colink@pool-71-245-101-253.ptldor.fios.verizon.net] has joined #webgui | 06:53 |
| -!- perlDreamer [n=colink@pool-71-245-101-253.ptldor.fios.verizon.net] has quit ["Leaving."] | 07:19 |
| -!- rizen [n=rizen@h69-130-247-231.vrnawi.dsl.dynamic.tds.net] has joined #webgui | 07:38 |
| -!- mode/#webgui [+o rizen] by ChanServ | 07:38 |
| -!- rizen [n=rizen@h69-130-247-231.vrnawi.dsl.dynamic.tds.net] has quit [Client Quit] | 07:38 |
| -!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui | 07:42 |
| -!- mode/#webgui [+o preaction] by ChanServ | 07:42 |
| -!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Connection timed out] | 08:37 |
| -!- KlausH [n=KlausH@p5B0737E7.dip0.t-ipconnect.de] has joined #webgui | 10:06 |
| -!- KlausH [n=KlausH@p5B0737E7.dip0.t-ipconnect.de] has quit ["bye"] | 13:24 |
| -!- Haarg [n=haarg@24-240-43-138.dhcp.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"] | 14:50 |
| -!- carogray [n=Caroline@h69-131-72-180.nwlnnh.dsl.dynamic.tds.net] has joined #webgui | 15:15 |
| -!- carogray [n=Caroline@h69-131-72-180.nwlnnh.dsl.dynamic.tds.net] has left #webgui [] | 15:15 |
| -!- patspam [n=patspam@ppp59-167-168-132.lns1.mel4.internode.on.net] has quit ["Leaving."] | 15:31 |
| -!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has quit ["Windows doesn't have users, it has hostages."] | 16:22 |
| -!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has joined #webgui | 16:29 |
| -!- mode/#webgui [+v Radix_] by ChanServ | 16:29 |
| -!- carogray [n=Caroline@h69-131-72-180.nwlnnh.dsl.dynamic.tds.net] has joined #webgui | 17:14 |
| -!- carogray [n=Caroline@h69-131-72-180.nwlnnh.dsl.dynamic.tds.net] has left #webgui [] | 17:15 |
| -!- cap10morgan [n=cap10mor@206-124-7-89.denver.dsl.forethought.net] has quit [] | 17:26 |
| -!- khenn_ [n=khenn@97.92.186.139] has joined #WebGUI | 17:26 |
| -!- khenn [n=khenn@97.92.186.139] has quit [Read error: 60 (Operation timed out)] | 17:27 |
| -!- khenn_ [n=khenn@97.92.186.139] has quit [Remote closed the connection] | 17:37 |
| -!- khenn [n=khenn@97.92.186.139] has joined #WebGUI | 17:38 |
| -!- mode/#webgui [+o khenn] by ChanServ | 17:38 |
| -!- perlDreamer [n=colink@pool-71-245-101-253.ptldor.fios.verizon.net] has joined #webgui | 19:16 |
| -!- perlDreamer [n=colink@pool-71-245-101-253.ptldor.fios.verizon.net] has quit [Client Quit] | 19:16 |
| -!- dionak [n=dionak@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui | 19:18 |
| CIA-6 | WebGUI: colin * r7150 /WebGUI/t/Asset/AssetExportHtml.t: | 20:17 |
| CIA-6 | WebGUI: Update this test for new content. | 20:17 |
| CIA-6 | WebGUI: Change arguments in cmp_* to references instead of arrays. | 20:17 |
| CIA-6 | WebGUI: Check number of files dynamically, rather than hardcoded. | 20:17 |
| CIA-6 | WebGUI: colin * r7151 /WebGUI/t/Macro/FetchMimeType.t: | 20:50 |
| CIA-6 | WebGUI: Add a test for text MIME type. Note that various tests | 20:50 |
| CIA-6 | WebGUI: may fail based on the version of LWP installed. | 20:50 |
| -!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui | 21:01 |
| -!- mode/#webgui [+o preaction] by ChanServ | 21:01 |
| -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui | 23:37 |
| -!- mode/#webgui [+o perlmonkey2] by ChanServ | 23:37 |
| --- Day changed Sun Aug 03 2008 |
| SDuensin | Are version tags disabled in 7.5.18? (My enableSaveAndCommit is set to 0.) | 00:19 |
| @preaction | they can't be disabled, but they can be hidden | 00:20 |
| @preaction | they're hidden by default in 7.5 onwards | 00:20 |
| SDuensin | I'm editing away over here and it's never created a version tag. | 00:20 |
| SDuensin | I want 'em back! :-) | 00:20 |
| @preaction | it's always creating version tags | 00:20 |
| @preaction | it's just automatically committing them | 00:21 |
| SDuensin | Ahhh | 00:21 |
| SDuensin | Can I go back to how it was? | 00:21 |
| @preaction | yes | 00:21 |
| @preaction | in the Settings pane, Content tab, two things: Automatically Request Commit and Skip Commit Comments | 00:21 |
| SDuensin | Thanks! I looked at those settings, but didn't quite understand what they were doing. | 00:22 |
| nuba | hey guys, going to resume work on the BrazilianPortuguese translation | 00:25 |
| nuba | last time I checked i18n.webgui.org was offline, | 00:25 |
| nuba | now I see its back and seems to be working | 00:25 |
| nuba | anything I should be aware of? | 00:26 |
| SDuensin | Ever have anyone build a "private beta" kinda thing with WebGUI? Like where you need an invite to join and users who join can send additional invites? | 00:26 |
| @preaction | not that i know of | 00:26 |
| @preaction | SDuensin, with the new user invitation system you should be able to. not sure if anyone's done it, but if you do, perhaps outlining the steps in a wiki article would be useful? | 00:27 |
| SDuensin | I poked around and couldn't figure it out. | 00:27 |
| SDuensin | Otherwise, I'd be happy to put it on the wiki. | 00:27 |
| @preaction | it's simple: if Anonymous Registration is off, but User Invitations are on, and a user invites someone, the person they invite are allowed to register | 00:29 |
| @preaction | dunno if there are ways to limit the number of invites yet, but that might be a good RFE | 00:29 |
| SDuensin | That is simple. I'll try it! | 00:29 |
| * SDuensin supposes that will move fixing email on that box up a few notches. :-) | 00:29 |
| nuba | whooa, when I click on download for the brazilian portuguese language, i get a pointer to Welsh.tar.gz | 00:33 |
| nuba | at http://i18n.webgui.org/?op=exportTranslation;languageId=BrazilianPortuguese | 00:34 |
| nuba | reported as a bug | 00:36 |
| @preaction | yeah, i get the same thing | 00:37 |
| nuba | did set severity = critical, since using welsh for a while is not a valid workaround | 00:37 |
| nuba | or rather, fatal | 00:38 |
| -!- perlDreamer [n=colink@pool-71-245-101-253.ptldor.fios.verizon.net] has joined #webgui | 01:27 |
| perlDreamer | help | 01:27 |
| SDuensin | Hey perlDreamer | 01:27 |
| perlDreamer | Having problems with perl references | 01:27 |
| SDuensin | Well, seeing as how you're *my* Perl reference, I doubt I can help. :-P | 01:28 |
| perlDreamer | It's okay. | 01:29 |
| -!- khenn_ [n=khenn@97.92.186.139] has joined #WebGUI | 01:30 |
| SDuensin | Not sure why the WRE hates me. I love it. | 01:30 |
| perlDreamer | What kind of WRE problem are you having? | 01:31 |
| SDuensin | I'm being dumb, basically. It's a test box behind my firewall. I can't use 80, so I'm letting them in on 28000. I left the WRE on 80 and 8081. It can't figure that out. I should just move the WRE to 28000, but I'm going about it the hard way. | 01:32 |
| SDuensin | Hey perlDreamer, are you officially part of PlainBlack, or just work with them? | 01:33 |
| perlDreamer | I do some contracting for them, from time to time | 01:33 |
| perlDreamer | I'm just a highly motivated volunteer. | 01:33 |
| SDuensin | hehe | 01:33 |
| SDuensin | Ok, I'll ask rizen later then. I was curious what kind of partnering they did. | 01:34 |
| perlDreamer | rizen would be the right guy to ask. | 01:35 |
| SDuensin | Part of the empire I'm building is a WebGUI hosting service. :-) | 01:35 |
| perlDreamer | You definitely want to partner with Plain Black. | 01:35 |
| perlDreamer | I would recommend their Agency Hosting package | 01:35 |
| * SDuensin is tired of provisioning boxes himself. Gonna automate it. | 01:35 |
| perlDreamer | That's what Agency Hosting is all about. P.B. does all the provisioning and software maintenance. You just sell WebGUI sites. | 01:36 |
| SDuensin | I do web development and run it all on WebGUI, so I do hosting. I'm just going to make it so I don't *have* to be involved if people want a site. They can just set one up and go. | 01:36 |
| perlDreamer | You should be able to modify the WRE's demo site creation script to do that. | 01:37 |
| SDuensin | Yep! :-) | 01:37 |
| SDuensin | I just wrote scripts (in Perl!) to provision Linux accounts from WebGUI. | 01:38 |
| perlDreamer | Cool. | 01:38 |
| perlDreamer | Are they workflows, or just scripts. | 01:38 |
| SDuensin | Hell of a lot easier than writing my own user/subscription/payment manager. | 01:38 |
| SDuensin | WebGUI just does it's subscription thing. Then I have a script that runs as a cron job on another box that syncs the WebGUI users and groups with the Linux ones. | 01:39 |
| perlDreamer | You do know that you can set up Workflows to do that on creating and removing users? | 01:40 |
| perlDreamer | so that you don't have to go over the users again and again/ | 01:40 |
| SDuensin | All I had to do was tweak WebGUI to use the crypt() function so the password hashes are the same. | 01:40 |
| SDuensin | Yea, I started to use a workflow, but then I had to deal with cross-box communications. | 01:40 |
| perlDreamer | I don't know how easy it is to make spectre talk across boxes. | 01:41 |
| SDuensin | I did my best to make my cron code smart. It only applies changes - it doesn't do blanket setting of everyone every time. | 01:41 |
| -!- khenn [n=khenn@97.92.186.139] has quit [Read error: 113 (No route to host)] | 01:47 |
| perlDreamer | preaction: you suck! No more API writing for you. | 01:47 |
| perlDreamer | Your new User method exposed two bugs in the User package. And it's taken me all day to track them down and stomp on them. | 01:48 |
| -!- khenn [n=khenn@97.92.186.139] has joined #WebGUI | 01:51 |
| -!- mode/#webgui [+o khenn] by ChanServ | 01:51 |
| -!- khenn_ [n=khenn@97.92.186.139] has quit [Read error: 104 (Connection reset by peer)] | 01:51 |
| CIA-6 | WebGUI: colin * r7152 /WebGUI/ (lib/WebGUI/Session/Stow.pm t/Session/Stow.t): | 02:15 |
| CIA-6 | WebGUI: Fix Stow to always return safe copies of stowed data. | 02:15 |
| CIA-6 | WebGUI: And test it. | 02:15 |
| CIA-6 | WebGUI: colin * r7153 /WebGUI/ (lib/WebGUI/User.pm t/User.t): | 02:15 |
| CIA-6 | WebGUI: Change getGroups to always return safe copies of data. | 02:15 |
| CIA-6 | WebGUI: Add tests to check for safe copies. | 02:15 |
| CIA-6 | WebGUI: Add a test for getGroupIdsRecursive. | 02:15 |
| CIA-6 | WebGUI: translation * r7154 /translations/ (163 files in 3 dirs): Update from translation server | 02:46 |
| -!- Haarg [n=haarg@24-240-43-138.dhcp.mdsn.wi.charter.com] has joined #webgui | 02:46 |
| -!- mode/#webgui [+o Haarg] by ChanServ | 02:46 |
| -!- patspam [n=patspam@ppp59-167-168-132.lns1.mel4.internode.on.net] has joined #webgui | 02:49 |
| -!- carogray [n=Caroline@c-76-24-169-79.hsd1.nh.comcast.net] has joined #webgui | 03:45 |
| -!- cap10morgan [n=cap10mor@206-124-7-89.denver.dsl.forethought.net] has joined #webgui | 03:47 |
| -!- mode/#webgui [+v cap10morgan] by ChanServ | 03:47 |
| -!- carogra1 [n=Caroline@h69-131-72-180.nwlnnh.dsl.dynamic.tds.net] has joined #webgui | 03:53 |
| -!- carogra2 [n=Caroline@h69-131-73-4.nwlnnh.dsl.dynamic.tds.net] has joined #webgui | 03:56 |
| -!- carogray [n=Caroline@c-76-24-169-79.hsd1.nh.comcast.net] has quit [Read error: 110 (Connection timed out)] | 04:10 |
| -!- carogra1 [n=Caroline@h69-131-72-180.nwlnnh.dsl.dynamic.tds.net] has quit [Read error: 110 (Connection timed out)] | 04:14 |
| -!- perlDreamer [n=colink@pool-71-245-101-253.ptldor.fios.verizon.net] has quit ["Leaving."] | 04:19 |
| -!- carogra2 [n=Caroline@h69-131-73-4.nwlnnh.dsl.dynamic.tds.net] has quit [Read error: 60 (Operation timed out)] | 04:33 |
| -!- dionak [n=dionak@cpe-024-074-132-143.carolina.res.rr.com] has quit [] | 06:25 |
| -!- dionak [n=dionak@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui | 06:31 |
| -!- dionak [n=dionak@cpe-024-074-132-143.carolina.res.rr.com] has quit [] | 07:09 |
| -!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Connection timed out] | 07:36 |
| -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [Read error: 110 (Connection timed out)] | 07:37 |
| -!- cap10morgan [n=cap10mor@206-124-7-89.denver.dsl.forethought.net] has quit [Read error: 113 (No route to host)] | 07:56 |
| -!- patspam [n=patspam@ppp59-167-168-132.lns1.mel4.internode.on.net] has quit [Remote closed the connection] | 09:12 |
| -!- patspam [n=patspam@ppp59-167-168-132.lns1.mel4.internode.on.net] has joined #webgui | 09:16 |
| -!- patspam [n=patspam@ppp59-167-168-132.lns1.mel4.internode.on.net] has quit [Remote closed the connection] | 09:16 |
| -!- patspam [n=patspam@ppp59-167-168-132.lns1.mel4.internode.on.net] has joined #webgui | 09:17 |
| -!- patspam [n=patspam@ppp59-167-168-132.lns1.mel4.internode.on.net] has quit ["Leaving."] | 11:29 |
| -!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui | 11:54 |
| -!- mode/#webgui [+o preaction] by ChanServ | 11:54 |
| -!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 60 (Operation timed out)] | 12:57 |
| -!- carogray [n=Caroline@c-75-67-86-195.hsd1.nh.comcast.net] has joined #webgui | 14:10 |
| -!- carogray [n=Caroline@c-75-67-86-195.hsd1.nh.comcast.net] has left #webgui [] | 14:11 |
| -!- WebGUI [n=SynQ@f70168.upc-f.chello.nl] has joined #WebGUI | 17:44 |
| -!- WebGUI is now known as SynQ | 17:44 |
| SynQ | hi there | 17:44 |
| CIA-6 | WebGUI: yung * r7155 /WebGUI/ (2 files in 2 dirs): fixed: DateTime Form Control Bug | 18:16 |
| -!- dionak [n=dionak@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui | 19:02 |
| -!- cap10morgan [n=cap10mor@206-124-7-89.denver.dsl.forethought.net] has joined #webgui | 19:39 |
| -!- mode/#webgui [+v cap10morgan] by ChanServ | 19:39 |
| -!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has joined #webgui | 19:49 |
| -!- mode/#webgui [+v MrHairgrease] by ChanServ | 19:50 |
| -!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has quit ["Leaving"] | 21:04 |
| -!- Haarg [n=haarg@24-240-43-138.dhcp.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"] | 21:27 |
| -!- dionak [n=dionak@cpe-024-074-132-143.carolina.res.rr.com] has quit [] | 23:13 |
| --- Day changed Mon Aug 04 2008 |
| -!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui | 00:18 |
| -!- mode/#webgui [+o preaction] by ChanServ | 00:18 |
| -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui | 00:42 |
| -!- mode/#webgui [+o perlmonkey2] by ChanServ | 00:42 |
| -!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has quit [Read error: 110 (Connection timed out)] | 00:50 |
| -!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Connection timed out] | 01:38 |
| -!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI | 02:12 |
| -!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui | 02:42 |
| -!- mode/#webgui [+v Radix-wrk] by ChanServ | 02:42 |
| -!- patspam [n=patspam@ppp59-167-168-132.lns1.mel4.internode.on.net] has joined #webgui | 02:55 |
| -!- perlDreamer [n=colink@pool-71-245-101-253.ptldor.fios.verizon.net] has joined #webgui | 04:16 |
| perlDreamer | Do you really have to have an SSL cert in order to use ITransact, or is that just a safety step? | 04:16 |
| -!- cap10morgan [n=cap10mor@206-124-7-89.denver.dsl.forethought.net] has quit [Remote closed the connection] | 04:17 |
| -!- cap10morgan [n=cap10mor@206-124-7-89.denver.dsl.forethought.net] has joined #webgui | 04:18 |
| -!- mode/#webgui [+v cap10morgan] by ChanServ | 04:18 |
| -!- cap10morgan [n=cap10mor@206-124-7-89.denver.dsl.forethought.net] has quit [Read error: 113 (No route to host)] | 04:19 |
| -!- cap10morgan [n=cap10mor@206-124-7-89.denver.dsl.forethought.net] has joined #webgui | 04:19 |
| -!- mode/#webgui [+v cap10morgan] by ChanServ | 04:19 |
| -!- perlDreamer [n=colink@pool-71-245-101-253.ptldor.fios.verizon.net] has quit ["Leaving."] | 04:29 |
| -!- cap10morgan [n=cap10mor@206-124-7-89.denver.dsl.forethought.net] has quit [Read error: 113 (No route to host)] | 05:33 |
| -!- cap10morgan [n=cap10mor@206-124-7-89.denver.dsl.forethought.net] has joined #webgui | 05:33 |
| -!- mode/#webgui [+v cap10morgan] by ChanServ | 05:33 |
| -!- cap10morgan [n=cap10mor@206-124-7-89.denver.dsl.forethought.net] has quit [Client Quit] | 05:34 |
| -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [Read error: 113 (No route to host)] | 06:22 |
| -!- tavisto [n=tavisto@pool-71-120-147-81.gdrpmi.dsl-w.verizon.net] has joined #WebGUI | 06:57 |
| -!- mode/#webgui [+o tavisto] by ChanServ | 06:57 |
| -!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI | 06:59 |
| -!- tavisto [n=tavisto@pool-71-120-147-81.gdrpmi.dsl-w.verizon.net] has quit [] | 07:04 |
| -!- Haarg [n=haarg@24-240-43-138.dhcp.mdsn.wi.charter.com] has joined #webgui | 07:32 |
| -!- mode/#webgui [+o Haarg] by ChanServ | 07:32 |
| -!- perlDreamer [n=colink@pool-71-245-101-253.ptldor.fios.verizon.net] has joined #webgui | 07:47 |
| perlDreamer | elnino, still awake? | 07:47 |
| elnino | I am!!! | 07:48 |
| elnino | I'm doing an upgrade to 7.4.40! | 07:48 |
| perlDreamer | good call | 07:48 |
| perlDreamer | Got time to talk about EMS badges? | 07:49 |
| elnino | sure. I'm on two different machines, so it may take me a while to respond. | 07:49 |
| perlDreamer | not a problem | 07:49 |
| perlDreamer | I just want to double check something | 07:49 |
| perlDreamer | I'm at the beta site: http://beta.webgui.org/demo1217804143_751/home | 07:49 |
| perlDreamer | at the bottom of the page, there are 3 badges listed with Buy links next to each one | 07:49 |
| perlDreamer | In your bug reply, it sounds like you don't see those | 07:50 |
| elnino | correct, let me login and see what I see... | 07:51 |
| elnino | I logged in as admin and I see: "You need a badge to attend this convention. Choose a badge that meets your needs and budget." | 07:51 |
| elnino | I'm on both a 2000 and xp machine. Same results. | 07:52 |
| elnino | weird | 07:52 |
| perlDreamer | no list of badges below that? | 07:52 |
| elnino | nope. | 07:52 |
| perlDreamer | Which browsers? | 07:52 |
| elnino | IE 6 and 7 | 07:53 |
| elnino | I'll try firefox | 07:53 |
| perlDreamer | thanks | 07:53 |
| perlDreamer | if this is browser based, it will be much simpler to handle | 07:53 |
| perlDreamer | because this particular code should be rock solid | 07:53 |
| perlDreamer | on the server side, anyway :) | 07:53 |
| elnino | looky there!!! They are there! | 07:55 |
| elnino | it's be a broswer issue! | 07:55 |
| elnino | are you using jquery? | 07:55 |
| perlDreamer | okay, let's amend that bug. Do you want to do it, or do you want me to? | 07:55 |
| perlDreamer | YUI | 07:55 |
| perlDreamer | supposed to be very cross browser compatible | 07:55 |
| elnino | Sure, I can do that. i"m inpressed with jquery. It's very cool. | 07:56 |
| perlDreamer | thanks. | 07:56 |
| perlDreamer | I'm glad we've learned more about his | 07:56 |
| perlDreamer | this | 07:56 |
| elnino | sure, I would not have thought about trying a different browser, ususally, you see *something*, but not a entire thing missing. | 07:57 |
| perlDreamer | and I don't even have a copy of IE to use. I need to get a VM set up so I can do cross browser testing of some kind. | 07:57 |
| elnino | so... a couple days ago, someone was having an issue with upgrading to 7.5 from 7.4.40.... I didn't want to hear about it, so I logged off. =) | 08:00 |
| elnino | was that you talking to that person? what was the issue? | 08:00 |
| elnino | I'm going to eventually make that jump. probably before the conference. | 08:00 |
| perlDreamer | there are certain "cross-over" points between 7.4 and 7.5 | 08:00 |
| perlDreamer | you have to get to one of them to get into 7.5 | 08:00 |
| perlDreamer | 7.4.40 is the last one of those | 08:00 |
| elnino | it sounded like it didn't go well, or wasn't he/she upgrading from 7.4.40 | 08:01 |
| perlDreamer | I'm not sure. The conversation didn't come to an end. | 08:01 |
| elnino | so no conclusion? | 08:02 |
| perlDreamer | right | 08:02 |
| elnino | ok... upgrades usually go very well for me, so I guess I wont be too scared off by that.. | 08:03 |
| perlDreamer | just make good backups. That's the best advice I can give. | 08:03 |
| perlDreamer | that's something that I'll be paying more attention to soon | 08:03 |
| perlDreamer | I'm going to start using WebGUI as a customer again | 08:04 |
| elnino | got a gig? | 08:04 |
| perlDreamer | Semi-personal site | 08:04 |
| perlDreamer | My boys want a vanity site for trains | 08:04 |
| elnino | it sure is different being a customer vs a developer. you'll probably gain lots of insights. | 08:05 |
| elnino | sounds fun for your boys. | 08:05 |
| perlDreamer | I hope they'll learn a lot from it. | 08:06 |
| elnino | oh they will. They'll appreciate what dad does too. | 08:06 |
| perlDreamer | last summer my older boy and I made a wikipedia page | 08:11 |
| perlDreamer | this is a slightly bigger project | 08:11 |
| perlDreamer | Going to head to bed. Happy hacking! | 08:12 |
| -!- perlDreamer [n=colink@pool-71-245-101-253.ptldor.fios.verizon.net] has quit ["Leaving."] | 08:12 |
| -!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has quit ["Leaving"] | 08:22 |
| -!- AMH_bob [n=AMH_bob@alphamega-dmp.xs4all.nl] has joined #webgui | 09:40 |
| -!- BartJol [n=plainstu@host2.procolix.com] has joined #webgui | 10:48 |
| -!- Radix-wrk [n=Jesse@203.161.68.67] has quit ["Leaving"] | 10:54 |
| -!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has quit ["Leaving"] | 14:28 |
| -!- consultrmann [n=Administ@248-83.customer.cloud9.net] has joined #webgui | 15:15 |
| consultrmann | Hello, everyone! | 15:16 |
| consultrmann | has anyone ever used Catalyst with webGui? | 15:16 |
| -!- Haarg [n=haarg@24-240-43-138.dhcp.mdsn.wi.charter.com] has quit ["Leaving"] | 15:27 |
| consultrmann | ..anyone here uses frameworks with webgui? | 15:32 |
| -!- Haarg [n=haarg@24-240-43-138.dhcp.mdsn.wi.charter.com] has joined #webgui | 15:33 |
| -!- mode/#webgui [+o Haarg] by ChanServ | 15:33 |
| -!- consultrmann [n=Administ@248-83.customer.cloud9.net] has left #webgui [] | 15:33 |
| -!- Haarg [n=haarg@24-240-43-138.dhcp.mdsn.wi.charter.com] has quit [Client Quit] | 15:36 |
| -!- topsub [n=josh@97.66.185.250] has joined #webgui | 15:43 |
| -!- bartjo1 [n=bartjol@194.171.50.123] has joined #webgui | 16:14 |
| -!- bopbop [n=kmccombs@68-114-219-232.dhcp.mdsn.wi.charter.com] has joined #webgui | 16:16 |
| -!- mode/#webgui [+o bopbop] by ChanServ | 16:17 |
| -!- dionak [n=dionak@97.66.185.250] has joined #webgui | 16:18 |
| -!- BartJol [n=plainstu@host2.procolix.com] has quit [Read error: 113 (No route to host)] | 16:19 |
| -!- patspam [n=patspam@ppp59-167-168-132.lns1.mel4.internode.on.net] has quit ["Leaving."] | 16:23 |
| -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui | 16:34 |
| -!- mode/#webgui [+o perlmonkey2] by ChanServ | 16:34 |
| -!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has joined #webgui | 16:56 |
| -!- mode/#webgui [+v MrHairgrease] by ChanServ | 16:56 |
| -!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui | 17:25 |
| -!- mode/#webgui [+o rizen] by ChanServ | 17:25 |
| @perlmonkey2 | Don't know if there are many sci-fi geeks here but the box set of Firefly is on sale at amazon for $18. | 17:30 |
| -!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui | 17:31 |
| -!- mode/#webgui [+o Haarg] by ChanServ | 17:31 |
| @perlmonkey2 | Does the test session not write to the log or are my logs settings borked? | 17:37 |
| -!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui | 17:49 |
| -!- mode/#webgui [+o preaction] by ChanServ | 17:49 |
| -!- SDuensin [n=Scott@236.sub-75-204-141.myvzw.com] has joined #WebGUI | 17:57 |
| -!- funkmagnet [n=jars@h19-afsc.ded.indra.com] has joined #webgui | 17:57 |
| SDuensin | Greetings. | 18:00 |
| @perlmonkey2 | Hello | 18:01 |
| bartjo1 | hio | 18:03 |
| SDuensin | Hey, where is the default user invite message hidden? I can't find it to change it! | 18:06 |
| +MrHairgrease | sduensin: i think it's in the 18n files | 18:09 |
| +MrHairgrease | are you coming to the wuc this year btw? | 18:10 |
| -!- knowmad [n=william@97.66.185.250] has joined #webgui | 18:10 |
| SDuensin | I wish I could. Hold it in St. Louis! :-P | 18:10 |
| SDuensin | (Or on a beach.) | 18:10 |
| +MrHairgrease | too bad... | 18:11 |
| +MrHairgrease | any ither attendees in the channel? | 18:11 |
| +MrHairgrease | other* | 18:11 |
| knowmad | attendees of what? WUC? | 18:13 |
| SDuensin | How would I edit said 18n files? | 18:13 |
| +MrHairgrease | normally you don't | 18:13 |
| knowmad | any Workflow gurus listening in this AM? | 18:13 |
| +MrHairgrease | you add a language | 18:13 |
| knowmad | (or PM for MHG) | 18:13 |
| -!- funkmagnet [n=jars@h19-afsc.ded.indra.com] has quit [Read error: 110 (Connection timed out)] | 18:14 |
| bartjo1 | here's an attendee | 18:14 |
| +MrHairgrease | not sure on the guru part but shoot | 18:14 |
| knowmad | here's 3 more | 18:14 |
| knowmad | what does the workflow engine do if i return ERROR | 18:14 |
| +MrHairgrease | I think it suspends the workflow | 18:14 |
| +MrHairgrease | ad increases it's priority number | 18:15 |
| SDuensin | I figured "you don't" was the answer. That's bad. The default message is, sorry, quite lame. | 18:15 |
| knowmad | then it requires manual attention? | 18:15 |
| -!- fansipans [n=mwalker@72.242.161.254] has left #webgui [] | 18:15 |
| +MrHairgrease | well it depends | 18:15 |
| +MrHairgrease | i have had a number of failing get mail for cs workflows | 18:15 |
| knowmad | as i recall, it continues to be attempted after a delay | 18:15 |
| +MrHairgrease | yeah they do | 18:15 |
| +MrHairgrease | but | 18:15 |
| +MrHairgrease | if they'll never recover | 18:15 |
| +MrHairgrease | they'll just keep going for ever | 18:16 |
| knowmad | i've seen that happen! | 18:16 |
| +MrHairgrease | like th cs workflows i mentioned | 18:16 |
| +MrHairgrease | they tried to get mail for a cs that had been purged from the db | 18:16 |
| +MrHairgrease | hence the error | 18:16 |
| -!- AMH_bob [n=AMH_bob@alphamega-dmp.xs4all.nl] has left #webgui [] | 18:17 |
| +MrHairgrease | in that case I removed the workflows manually from the db | 18:17 |
| +MrHairgrease | the tables you want to check out are workflowInstance and workflowInstanceScracht | 18:18 |
| +MrHairgrease | workflowInstanceScratch | 18:18 |
| knowmad | so i could setup the workfow to run as a singleton and then keep tabs on erroring workflows | 18:18 |
| knowmad | there should be a workflow to send an email if other workflows are in ERROR status | 18:18 |
| knowmad | has this been written? | 18:18 |
| +MrHairgrease | I don't think that'll work | 18:18 |
| +MrHairgrease | since an instance is failing | 18:18 |
| +MrHairgrease | and changing a workflow's settings just changes the props of NEW instances | 18:19 |
| knowmad | do you have the sql you used to manually remove the workflows? | 18:19 |
| +MrHairgrease | first I do something like | 18:19 |
| +MrHairgrease | select * from workflowInstance (or whatever that table is called) | 18:19 |
| +MrHairgrease | there you can see which ones errored and at which activity | 18:20 |
| +MrHairgrease | and the workflowId | 18:20 |
| knowmad | cool | 18:20 |
| knowmad | then i could delete the bad workflow from WorkflowActivity? | 18:20 |
| +MrHairgrease | NO | 18:20 |
| +MrHairgrease | only from workflowInstance | 18:21 |
| +MrHairgrease | find the errored workflows in WorkflowInstance | 18:22 |
| knowmad | what is WorkflowActivity storing? | 18:22 |
| +MrHairgrease | the activities in a workflow | 18:22 |
| +MrHairgrease | anyway | 18:22 |
| +MrHairgrease | after you've found those in WorkflowInstance | 18:23 |
| +MrHairgrease | check the workflowIds | 18:23 |
| +MrHairgrease | in Workflow you can find the titles of the workflows that are instanciated | 18:23 |
| +MrHairgrease | now if the Id is csworkflow000000000001 (get cs mail) | 18:24 |
| +MrHairgrease | it's prolly trying to instanciate a non existing asset | 18:24 |
| +MrHairgrease | you can find the assetId of that asset in WorkflowInstance | 18:25 |
| knowmad | did you setup a CS and remove it to create that behavior ? | 18:25 |
| +MrHairgrease | in the parameters column | 18:25 |
| +MrHairgrease | I don't know why it happens. | 18:25 |
| knowmad | i hope the dev guide will document how all the db tables work together | 18:26 |
| +MrHairgrease | My guess is a CS was deleted just after the scheduler ran its get cs mail | 18:26 |
| +MrHairgrease | workflow | 18:26 |
| +MrHairgrease | I think that finds all cs's and starts a get CS mail workflow for each of them | 18:27 |
| +MrHairgrease | (not sure though) | 18:27 |
| +MrHairgrease | if a cs is removed before its workflow is run you'd get this behaviour | 18:27 |
| +MrHairgrease | If your erroring workflow is something else though, you should find the cause | 18:28 |
| +MrHairgrease | what helps to do that is set the loglevel to INFO | 18:28 |
| +MrHairgrease | tail -f webgui.log | 18:28 |
| +MrHairgrease | and run spectre in debug mode | 18:28 |
| +MrHairgrease | perl spectre.pl --run --debug | 18:28 |
| +MrHairgrease | you will get a whole load of logging in your log | 18:29 |
| knowmad | cool | 18:29 |
| knowmad | actually, though, i'm writing an activity and needed to understand the logic to know how to handle failure | 18:29 |
| +MrHairgrease | if it is a cs mail thingy however | 18:29 |
| knowmad | this activity does lots of stuff and has many chances for failure | 18:29 |
| +MrHairgrease | just check if the assetId in parameters still exists | 18:29 |
| knowmad | i'm wrapping an eval script around the guts of the execute() method | 18:30 |
| knowmad | if anything dies or croaks, i'll catch it, output an error to log, send a notification email and return ERROR | 18:30 |
| knowmad | sound reasonable? | 18:30 |
| @rizen | knowmad, what could you possibly need to know other than to call "error" when it errors and "wait" when it's not finished and "complete" when it is finished? | 18:30 |
| +MrHairgrease | if it has a chance of recovering later on, yeah | 18:30 |
| knowmad | have you sent emails from an activity? i'm guessing there are examples | 18:31 |
| +MrHairgrease | just be sure that whatever your activity does, it does it within a minute | 18:31 |
| +MrHairgrease | or throw out a WAIT before the minute ends | 18:31 |
| knowmad | well, i'm installing this at a client's place and don't want them to do lots of mnagement on it | 18:31 |
| +MrHairgrease | and contine in the next run | 18:32 |
| knowmad | they just need to know when it fails | 18:32 |
| +MrHairgrease | just use the WebGUI::Mail::Send API | 18:32 |
| knowmad | yeah, i was thinking about the WAIT thing | 18:33 |
| +MrHairgrease | I think there's even a workflow that sends out queued emails | 18:33 |
| knowmad | how do you "clock" run-time for an activity? | 18:33 |
| +MrHairgrease | time? | 18:33 |
| knowmad | i think it'll usu. finish within a minute as we aren't processing that much data | 18:33 |
| +MrHairgrease | of Time::HiRes | 18:33 |
| knowmad | have you done this in an activity? | 18:33 |
| +MrHairgrease | dunno anymore | 18:34 |
| +MrHairgrease | anyway | 18:34 |
| +MrHairgrease | you do it the same as you'd do it from a normal plugin | 18:34 |
| +MrHairgrease | my $mail = WebGUI::Mail::Send->new( $session ); | 18:34 |
| knowmad | thanks for the tips | 18:35 |
| +MrHairgrease | ok | 18:35 |
| +MrHairgrease | you send an email with $mail->send | 18:35 |
| +MrHairgrease | or you can queue it with | 18:35 |
| +MrHairgrease | $mail->queue() | 18:35 |
| +MrHairgrease | in the latter case it will be sent later on by the send mail workflow | 18:36 |
| @rizen | also queue is safer | 18:36 |
| +MrHairgrease | true | 18:36 |
| knowmad | ok, that's good to know | 18:36 |
| knowmad | the create() method on Mail::Send doesn't allow me to insert the message body; do you use addText then queue? | 18:39 |
| +MrHairgrease | yes | 18:39 |
| @rizen | yes | 18:39 |
| @rizen | and you can call addHTML or addText multiple times | 18:39 |
| +MrHairgrease | or addHTML for html | 18:39 |
| @rizen | to add multiple parts to the message | 18:40 |
| knowmad | do i need to use messageId? | 18:40 |
| +MrHairgrease | no | 18:40 |
| +MrHairgrease | unless you want to set it | 18:40 |
| knowmad | it looks like this is setup for sending out mail via templates; is that how messageId is used? | 18:40 |
| +MrHairgrease | if not mistaken that is to set the message Id header of the mail itself | 18:41 |
| +MrHairgrease | I think the cs uses it to track which email is a reply to which post | 18:41 |
| knowmad | oh, to override the auto-generation | 18:41 |
| +MrHairgrease | but for normal emails you don't need it | 18:41 |
| +MrHairgrease | yeah | 18:41 |
| CIA-6 | WebGUI: yung * r7156 /WebGUI/docs/ (2 files in 2 dirs): fixed: Tree Menu is always collapsed | 18:43 |
| knowmad | can i use comma-separated emails in the to field for Mail::Send? | 18:43 |
| +MrHairgrease | you mean addresses? | 18:44 |
| knowmad | yes | 18:44 |
| +MrHairgrease | from the docs | 18:44 |
| +MrHairgrease | =head4 to A string containing a comma seperated list of email addresses to send to. | 18:44 |
| +MrHairgrease | so i think yes | 18:45 |
| knowmad | thanks for not RTFM'ing me | 18:45 |
| +MrHairgrease | np | 18:45 |
| +MrHairgrease | I will at the wuc =) | 18:45 |
| knowmad | fair enough; i'll be ready for you! | 18:45 |
| +MrHairgrease | good | 18:46 |
| -!- perlDreamer [n=ckuskie@nat082.mxim.com] has joined #webgui | 18:47 |
| perlDreamer | perlmonkey2: If the test calls WebGUI::Test::interceptLogging, then it will grab the log object and stuff anything that is logged into internal buffers | 18:53 |
| @perlmonkey2 | perlDreamer: naw, this is just more wre weirdness. I've got it to work now in ssl/non-ssl mode, but now it logs during the first test and then stops logging. | 18:54 |
| perlDreamer | weirdness | 18:55 |
| perlDreamer | I'm going to try and get my nick fixed today | 18:55 |
| @perlmonkey2 | but only the test. The web interface logs perfectly | 18:55 |
| @perlmonkey2 | not registered? | 18:55 |
| perlDreamer | registered, but broken somehow during the last code/server upgrade | 18:55 |
| @perlmonkey2 | hah, I called exit in the test which was messing up the logging. letting the test finish fixed it. | 18:56 |
| @perlmonkey2 | spooky | 18:56 |
| perlDreamer | You're writing tests? Cool! | 18:58 |
| -!- juan1 [n=juangui@201.232.58.66] has joined #webgui | 18:58 |
| juan1 | i want to delete or edit some events in the calendar but i can't do it | 19:01 |
| juan1 | the admin user also can not to do it | 19:02 |
| -!- bartjo1 [n=bartjol@194.171.50.123] has left #webgui [] | 19:10 |
| -!- tavisto [n=tavisto@pool-71-120-147-81.gdrpmi.dsl-w.verizon.net] has joined #WebGUI | 19:31 |
| -!- mode/#webgui [+o tavisto] by ChanServ | 19:31 |
| juan1 | can i delete or update an event using console? | 19:33 |
| @bopbop | juan1: in the asset manager? yes | 19:39 |
| @bopbop | each event will appear as a child to the calendar asset | 19:39 |
| @bopbop | or, you should be able to edit/delete events from an event's Event Details screen | 19:40 |
| juan1 | bopbop, actually i have several calendar and with the admin user i can not delete or update events | 19:41 |
| @bopbop | even from the asset manager view? | 19:42 |
| juan1 | i am going to check | 19:42 |
| @bopbop | ok- I am logged in as Admin on my site right now and I'm not having any trouble | 19:43 |
| juan1 | yes | 19:53 |
| juan1 | from the asset manager works | 19:53 |
| juan1 | the group who can add or edit events, can not do it | 19:54 |
| @preaction | juan1, you're still using WebGUI 7.4, right? | 20:00 |
| @preaction | http://developer.yahoo.com/ypatterns/ <- has anybody ever seen this? | 20:12 |
| @preaction | looks like there are OmniGraffle and Visio stencils for YUI components here | 20:13 |
| @preaction | plus other awesomeness | 20:13 |
| -!- cap10morgan [n=cap10mor@h19-afsc.ded.indra.com] has joined #webgui | 20:17 |
| -!- mode/#webgui [+v cap10morgan] by ChanServ | 20:17 |
| perlDreamer | they're just pictures? | 20:18 |
| juan1 | preaction, yes i am using WebGUI 7.4 | 20:18 |
| @preaction | juan1, what you're talking about is fixed in webgui 7.5, and there are no more 7.4 releases so you'll have to either upgrade to 7.5 or wait until 7.5 goes stable and then upgrade | 20:18 |
| @preaction | perlDreamer, stencils for OmniGraffle, which is a flowchart kind of program | 20:19 |
| @preaction | or visio, though i don't know what that is | 20:19 |
| @preaction | plus, it has descriptions of these things, when and why they should be used, how they should operate, etc... | 20:20 |
| @preaction | it's like a Yahoo Human Interface Guide | 20:20 |
| perlDreamer | in other words, I should download them and fill my presentations with them? | 20:21 |
| @preaction | well, the descriptions are just on the website. but the stencils could be useful if you don't have screenshots | 20:22 |
| -!- tavisto_ [n=tavisto@pool-71-120-147-81.gdrpmi.dsl-w.verizon.net] has joined #WebGUI | 20:45 |
| -!- tavisto_ [n=tavisto@pool-71-120-147-81.gdrpmi.dsl-w.verizon.net] has left #WebGUI [] | 20:46 |
| -!- tavisto_ [n=tavisto@pool-71-120-147-81.gdrpmi.dsl-w.verizon.net] has joined #WebGUI | 20:46 |
| @perlmonkey2 | This ring a bell with anyone. I get can't instantiate WebGUI::Form::Datetime but greppging the entire webgui directory finds no instances of Datetime with a lower case T in time. | 20:52 |
| @preaction | it might be "datetime" | 20:52 |
| @preaction | WebGUI::Form.pm has an AUTOLOAD that does ucfirst on the given type => | 20:53 |
| @preaction | so WebGUI::Form::dateTime == WebGUI::Form::DateTime.pm | 20:53 |
| @preaction | but WebGUI::Form::datetime == WebGUI::Form::Datetime.pm | 20:53 |
| knowmad | is it safe to remove completed records from the WorkflowInstance table? | 20:53 |
| @preaction | no | 20:54 |
| knowmad | why are they in there? | 20:54 |
| @perlmonkey2 | WebGUI::FormValidator::AUTOLOAD[76] - Could not instanciate object using new on WebGUI::Form::Datetime: | 20:54 |
| @preaction | completed != done | 20:54 |
| @perlmonkey2 | only shows up when I run the test. | 20:54 |
| knowmad | i see | 20:54 |
| @preaction | perlmonkey2, somewhere, something is using "WebGUI::Form::datetime" to try to instanciate a DateTime form control | 20:54 |
| @perlmonkey2 | preaction: grep -R "Datetime" /data/WebGUI returns nothing useful :( | 20:55 |
| knowmad | i've got entries stuck from last october | 20:55 |
| @preaction | knowmad, "completed" means a single activity completed and we're moving on to the next one. "done" means that the entire workflow is done | 20:55 |
| @preaction | perlmonkey2, lower-case d | 20:55 |
| @preaction | perlmonkey2, also, cpan App::Ack | 20:55 |
| knowmad | how can i tell which activity a workflow is at? | 20:55 |
| @perlmonkey2 | preaction: the error is uppercase | 20:55 |
| @preaction | perlmonkey2, read what WebGUI::Form::AUTOLOAD and you'll see why it's uppercase | 20:56 |
| @perlmonkey2 | oh | 20:56 |
| @preaction | [12:52] <preaction> WebGUI::Form.pm has an AUTOLOAD that does ucfirst | 20:56 |
| @perlmonkey2 | preaction: AUTLOAD is only saving me 2 lines of code here, I'll just skip it | 20:56 |
| knowmad | preaction: how can i tell which activity a workflow is at? | 20:57 |
| @preaction | knowmad, is there a currentActivity column? | 20:57 |
| @preaction | or lastActivity or something? | 20:58 |
| knowmad | so there is | 20:58 |
| knowmad | and they're all stuck on the same activity | 20:58 |
| knowmad | pbwfactivity000000012 | 20:58 |
| @preaction | that's probably not good | 20:58 |
| knowmad | mighta missed a 0 in there | 20:58 |
| knowmad | yeah, that's what i'm thinking | 20:58 |
| knowmad | preaction: it's stuck on getting syndicated content | 21:01 |
| knowmad | checking logs... | 21:01 |
| perlDreamer | knowmad, I released a SQL Report that will tell you which workflow an activity is in | 21:01 |
| perlDreamer | It's in the Add Ons section | 21:01 |
| -!- tavisto [n=tavisto@pool-71-120-147-81.gdrpmi.dsl-w.verizon.net] has quit [Read error: 110 (Connection timed out)] | 21:02 |
| knowmad | oh, yeah, i remember seeing that | 21:02 |
| knowmad | i think i've found it now though | 21:02 |
| perlDreamer | cool | 21:02 |
| knowmad | so i'm getting a communications error in spectre (500); the error message gives back the WORKFLOW: Reponse for <ID>; i don't know what ID it's giving me; it's not the workflow or workflowInstanceID; any other ideas? | 21:05 |
| @preaction | workflowInstanceId | 21:06 |
| knowmad | thanks | 21:07 |
| knowmad | well that worked for one but not 2 others; i don't find their instance id's in the WorkflowInstance table | 21:10 |
| @preaction | a different site maybe? | 21:11 |
| knowmad | is there a way to find out what the communications issue is? | 21:11 |
| @preaction | perl spectre.pl --test | 21:11 |
| knowmad | oh, that could be | 21:11 |
| @preaction | but "communications issue" usually means that LWP had a problem, which could be a lot of things | 21:12 |
| knowmad | actually there's only 1 site and --test is successful | 21:12 |
| knowmad | yeah, that's what i was afraid of -- "could be a lot of things" | 21:12 |
| knowmad | how do you debug? | 21:12 |
| perlDreamer | run the workflow manually? | 21:13 |
| @preaction | you could try making the workflow runner request yourself, something like yoursite.com?op=runWorkflow;workflowInstanceId=<...> | 21:14 |
| @preaction | see WebGUI::Operation::Workflow for the www_ method that does this | 21:14 |
| perlDreamer | yeah, that's easier than hacking URLs | 21:14 |
| knowmad | OK, thanks | 21:15 |
| perlDreamer | perlmonkey2: How's the test coming? | 21:15 |
| @perlmonkey2 | found a bug in DateTime | 21:15 |
| @perlmonkey2 | workign on it now | 21:16 |
| perlDreamer | excellent | 21:16 |
| @perlmonkey2 | actually didnt' find a bug, it was my test. | 21:17 |
| -!- funkmagnet [n=jars@h19-afsc.ded.indra.com] has joined #webgui | 21:20 |
| knowmad | should output from errorHandler go into webgui.log? | 21:20 |
| perlDreamer | yes, but use $session->log instead | 21:21 |
| @preaction | knowmad, yes | 21:21 |
| perlDreamer | it's equivalent, and much shorter | 21:21 |
| @preaction | well, if and only if your log.conf is configured to put the message there | 21:21 |
| knowmad | right, but that's the default | 21:23 |
| knowmad | oh, i didn't know about log | 21:23 |
| @preaction | ERROR is the new default, which means ERROR and FATAL gets logged | 21:23 |
| knowmad | that's certainly much nicer | 21:23 |
| perlDreamer | yeah | 21:23 |
| knowmad | oh, that's my problem! | 21:23 |
| knowmad | need to reset the log level | 21:23 |
| knowmad | thanks | 21:23 |
| knowmad | the log() method must be part of 7.5 | 21:36 |
| perlDreamer | yes | 21:37 |
| perlDreamer | sorry about that | 21:37 |
| knowmad | np | 21:40 |
| knowmad | that's why i write tests | 21:40 |
| knowmad | :) | 21:40 |
| perlDreamer | You know, I should update Session/ErrorHandler to check the log method. | 21:40 |
| knowmad | what do you mean? | 21:41 |
| perlDreamer | the Session/ErrorHandler should make sure that the errorHandler method and log methods are equivalent | 21:42 |
| perlDreamer | the Session/ErrorHandler _test_ should make sure that the errorHandler method and log methods are equivalent | 21:42 |
| knowmad | ahh, i see now | 21:43 |
| knowmad | need some terminology help here | 21:45 |
| knowmad | what's another name for a step incrementer | 21:45 |
| perlDreamer | where's that at? | 21:45 |
| perlDreamer | step incrementer? | 21:45 |
| perlDreamer | like for (my $a=3; $a<=9; $a+=2) | 21:46 |
| knowmad | it's what the db operations like hashRef do | 21:46 |
| knowmad | not really like 'for' | 21:46 |
| knowmad | it's a programmatic control | 21:46 |
| knowmad | abstracted | 21:46 |
| knowmad | it's common when stepping through results from a database | 21:47 |
| perlDreamer | how about "iterator" | 21:48 |
| knowmad | thank you! | 21:48 |
| knowmad | that was driving me nuts | 21:48 |
| * perlDreamer needs to become CS buzzword compliant | 21:48 |
| knowmad | well, i doubt "step incrementer" == "iterator"; i just couldn't think of how to describe it | 21:50 |
| knowmad | is there an UI for viewing queued outgoing messages? | 21:51 |
| perlDreamer | su - root; mysql | 21:52 |
| -!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has quit [Read error: 110 (Connection timed out)] | 21:52 |
| knowmad | so that'd be the mysql UI | 21:53 |
| -!- snapcount [n=snapcoun@andc-fw1.exploreos.com] has quit [Remote closed the connection] | 21:54 |
| @preaction | yes | 21:54 |
| knowmad | preaction: i need to get back to deleting bogus workflows | 21:56 |
| knowmad | i have these 2 workflows that are erroring out but that don't have workflows instances | 21:56 |
| @preaction | restart spectre? | 22:01 |
| -!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has joined #webgui | 22:06 |
| -!- mode/#webgui [+v MrHairgrease] by ChanServ | 22:06 |
| knowmad | preaction: tried that several times | 22:08 |
| knowmad | can't i delete them from workflowInstance? | 22:09 |
| dionak | is there any mechanism (wremonitor?) to complain if a workflow doesn't complete within some timeframe? | 22:11 |
| @preaction | i thought you said they were already deleted from WorkflowInstance | 22:11 |
| @preaction | dionak, wremonitor. each time a workflow gets run, its priority level goes up. there's a maximum workflow priority key in wre.conf | 22:12 |
| knowmad | no, i had asked earlier if it was safe to delete them | 22:12 |
| dionak | what happens when that max is hit? | 22:12 |
| @preaction | dionak, you get notified | 22:12 |
| @preaction | knowmad, so they are instances of workflows that no longer exist? or workflowId is empty? | 22:12 |
| dionak | ok. thanks. | 22:12 |
| knowmad | this server we're on prob isn't running wremonitor | 22:13 |
| knowmad | (for reasons I'd rather not discuss nor disclose) | 22:13 |
| knowmad | workflowId is pbworkflow0000000004 | 22:13 |
| knowmad | they're just ancient (last October) | 22:13 |
| knowmad | i think the workflow exists but these are outstanding instances of it | 22:14 |
| knowmad | i'm prettty sure that's the hourly workflow | 22:14 |
| -!- snapcount [n=snapcoun@andc-fw1.exploreos.com] has joined #webgui | 22:17 |
| -!- mode/#webgui [+v snapcount] by ChanServ | 22:17 |
| knowmad | so what's worst case scenario if i delete workflow instances from the workflowInstance table? | 22:18 |
| @Haarg | if it's a scheduled workflow, there shouldn't be any problems | 22:24 |
| knowmad | that's what i'm thinking; plus i can see that they're all stuck on retrieving syndicated content which this site isn't even using | 22:25 |
| knowmad | i'll backup first, though! | 22:25 |
| -!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit ["Leaving"] | 22:25 |
| CIA-6 | WebGUI: perlmonkey2 * r7157 /WebGUI/t/Form/ (DateTime.t Date.t): Date and DateTime tests. | 22:28 |
| CIA-6 | WebGUI: graham * r7158 /tools/translationserver.cgi: fix downloading and other issues | 22:28 |
| CIA-6 | WebGUI: graham * r7159 /tools/translationserver.cgi: use correct option for sorting keys | 22:28 |
| -!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui | 22:28 |
| -!- mode/#webgui [+o preaction] by ChanServ | 22:28 |
| tavisto_ | Knowmad, would you be happy if WebGUI was part of the Ubuntu core? | 22:38 |
| @preaction | tavisto_, that would be a side-effect of being part of Debian | 22:38 |
| tavisto_ | yeah it sounds like we'd just need someone to tweak things for Ubuntu :) | 22:39 |
| knowmad | tavisto_: 110% | 22:50 |
| knowmad | i'd be happier if i could dump this $#@( windows server i'm on right now!!! | 22:50 |
| tavisto_ | hehe | 22:50 |
| tavisto_ | well I'm waiting to hear back from Gerry @ Canonical but he told me that there shouldn't be much work involved at this point since we're going into Debian | 22:51 |
| knowmad | where does one go to change the email SMTP server in webgui? i'm used to leaving it as localhost but this windoze svr can't do email and i need to set it to a different server | 22:51 |
| knowmad | that'll be great; i'd be glad to do anything to help | 22:51 |
| tavisto_ | we would just need someone to follow the directions they give and go through some processes. Since you are such a big Ubuntu fan I'm wondering if this would be a good fit | 22:52 |
| tavisto_ | great, I'll need a blood sample and your 1 mile lap time | 22:52 |
| knowmad | ohh, i'm a bit slow on the mile these days; i'll get the dna sample sent ;) | 22:53 |
| tavisto_ | I'll be in touch to discuss this with you further once I am in the loop | 22:53 |
| @preaction | knowmad, Settings > Mail I believe. it's somewhere in the settings though | 22:53 |
| knowmad | thanks preaction | 22:53 |
| @perlmonkey2 | Can someone tell me what is wrong with this? WebGUI::DateTime->new($self->session, mysql => $value, time_zone => $self->session->user->profileField( 'timeZone' )); | 22:54 |
| @preaction | nothing, except i think we're not supposed to use user->profileField("timeZone") anymore, there's something in session->datetime to grab the current time zone | 22:55 |
| @perlmonkey2 | The timezone 'American/Chicago' could not be loaded, or is an invalid name. | 22:55 |
| @perlmonkey2 | okay, I'll look for the alternative | 22:55 |
| @preaction | that's an invalid timezone | 22:56 |
| @preaction | it should be America/Chicago | 22:56 |
| * perlmonkey2 bangs head repeatedly on the table | 22:59 |
| @perlmonkey2 | Thanks preaction :) | 22:59 |
| knowmad | I'm still having !@#$ workflow problems! I have 0 workflow instances but repeatedly get an error from spectre in my webgui.log. Why? Where is this ghost workflow? | 23:04 |
| -!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has quit [Read error: 110 (Connection timed out)] | 23:05 |
| perlDreamer | knowmad, only 1 site on this box? | 23:08 |
| knowmad | yes | 23:11 |
| knowmad | forgot to mention that; it may have had another site at one time but it's not active now | 23:12 |
| perlDreamer | and the db for that site is gone? | 23:12 |
| @preaction | but the config file for that site still exists? | 23:12 |
| knowmad | checking.... | 23:12 |
| knowmad | both are gone | 23:13 |
| perlDreamer | if that's the problem, I think we need to continue to enhance spectre's diagnostic outputs | 23:13 |
| -!- topsub [n=josh@97.66.185.250] has quit ["Leaving"] | 23:13 |
| knowmad | keep throwing out ideas; i gotta run | 23:14 |
| knowmad | to a mtg | 23:14 |
| @preaction | people still play Magic: The Gathering? | 23:14 |
| perlDreamer | sure, why not? | 23:14 |
| @preaction | I thought Pok?mon and Yu-Gi-Oh were the popular ones now | 23:15 |
| -!- tavisto_ [n=tavisto@pool-71-120-147-81.gdrpmi.dsl-w.verizon.net] has quit [] | 23:17 |
| -!- tavisto [n=tavisto@pool-71-120-147-81.gdrpmi.dsl-w.verizon.net] has joined #WebGUI | 23:17 |
| -!- mode/#webgui [+o tavisto] by ChanServ | 23:17 |
| @perlmonkey2 | okay, fear for WG. I submitted the form Date and DateTime updates including a test that claims they work. Someone might want to update and run the test too :P | 23:31 |
| perlDreamer | tests pass | 23:32 |
| @perlmonkey2 | that's reassuring to see on a second machine. | 23:32 |
| perlDreamer | perlmonkey2: You're not a full member of the community until you have made a boo-boo that breaks someone else's box | 23:33 |
| perlDreamer | bonus points are awarded for the number of boxes | 23:33 |
| perlDreamer | difficulty of fix | 23:33 |
| perlDreamer | how many times people swear at you | 23:33 |
| perlDreamer | and for how long it takes for the bug to surface | 23:33 |
| @perlmonkey2 | perlDreamer: hah, that shouldn't take me long :P | 23:33 |
| @preaction | current record is held by JT, but i think it should be invalidated since he did it on purpose | 23:34 |
| @rizen | what did i do on purpose? | 23:35 |
| perlDreamer | record for oldest bug | 23:35 |
| @preaction | oldest and most devastating bug | 23:37 |
| perlDreamer | most devastating? | 23:37 |
| perlDreamer | Are you talking about the backup bug? | 23:37 |
| @preaction | the upgrade.pl's backup | 23:37 |
| @preaction | yeah | 23:37 |
| perlDreamer | I don't know. | 23:37 |
| @preaction | it's definitely the oldest | 23:37 |
| perlDreamer | In the 6.x series I broke Form/Text.pm | 23:37 |
| perlDreamer | People were very unhappy about that one. | 23:37 |
| @rizen | but preaction, i only destroyed plainblack.com with that one | 23:38 |
| @rizen | not lots of other people's boxes | 23:38 |
| @preaction | so, 1 site, 1 bug, but very long | 23:38 |
| @rizen | sure, it's the oldest bug...6 years to find it | 23:38 |
| @rizen | or maybe only 5 | 23:39 |
| @rizen | but it's only one site | 23:39 |
| perlDreamer | only one known site | 23:39 |
| perlDreamer | In fact, I _was_ going to buy some hosting from PB, but since the backups are questionable.... | 23:41 |
| @rizen | don't make me hurt you pd | 23:47 |
| @rizen | i will get out my webgui branding iron | 23:47 |
| perlDreamer | oy | 23:47 |
| @rizen | and if you don't believe i have one, ask any of my staff...they've felt it's wrath =) | 23:48 |
| perlDreamer | Do you beat them with it, or heat it and apply it properly? | 23:49 |
| @perlmonkey2 | We've covered the sessionId cookie stays active after a new user logs in issue before right? And the consensus was that this wasn't an easy issue to resolve because we couldn't reliably kill cookies, right? | 23:50 |
| @preaction | we can reliably kill cookies just fine | 23:51 |
| @perlmonkey2 | http://www.webgui.org/bugs/tracker/shipping-address-saved-in-my-profile-from-another-user#t33z8CjVkBk7B4wF_IXcVg | 23:52 |
| @perlmonkey2 | so when a new user logs in we should kill any existing sessionId cookies and create a new one? | 23:52 |
| @preaction | uh... that will have to go through TMRFE | 23:52 |
| @preaction | JT? | 23:52 |
| @rizen | pd: heat it up and burn it in | 23:53 |
| * perlmonkey2 fears for pd's backside. | 23:53 |
| * perlDreamer resolves to re-evaluate his hosting choices | 23:53 |
| @rizen | we cannot reliably kill session cookies | 23:53 |
| -!- SDuensin [n=Scott@236.sub-75-204-141.myvzw.com] has quit ["Leaving"] | 23:54 |
| @rizen | if two users log in with the same browser on the same machine, they are destined to see anything that is session related | 23:54 |
| @perlmonkey2 | RFE to change this, or close it as How It Shall Be | 23:54 |
| @rizen | close it | 23:55 |
| --- Day changed Tue Aug 05 2008 |
| -!- lisette [n=liraos@adsl190-28-166-49.epm.net.co] has joined #webgui | 00:08 |
| -!- bopbop [n=kmccombs@68-114-219-232.dhcp.mdsn.wi.charter.com] has quit ["that's all folks"] | 00:16 |
| -!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: ckotil, @khenn | 00:16 |
| -!- Netsplit over, joins: @khenn, ckotil | 00:16 |
| -!- dionak [n=dionak@97.66.185.250] has quit [] | 00:20 |
| -!- juan1 [n=juangui@201.232.58.66] has left #webgui [] | 00:20 |
| CIA-6 | WebGUI: perlmonkey2 * r7160 /WebGUI/ (7 files in 5 dirs): Fixed Form Date and DateTime to properly handle mysql and epoch times. Added tests to make sure they work. | 00:21 |
| -!- dionak [n=dionak@97.66.185.250] has joined #webgui | 00:26 |
| -!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: ckotil, @khenn | 00:26 |
| -!- Netsplit over, joins: ckotil | 00:29 |
| -!- dionak [n=dionak@97.66.185.250] has quit [Read error: 60 (Operation timed out)] | 00:31 |
| -!- funkmagnet [n=jars@h19-afsc.ded.indra.com] has quit [Read error: 110 (Connection timed out)] | 00:32 |
| -!- khenn [n=khenn@97.92.186.139] has joined #webgui | 00:42 |
| -!- ServerMode/#webgui [+o khenn] by irc.freenode.net | 00:42 |
| knowmad | In Log::Log4perl, there is a log level called notice. Is this available via errorHandler? | 01:11 |
| @apeiron_ | knowmad, I don't believe so, but you can get the underlying Log::Log4perl object with ->getLogger. | 01:19 |
| knowmad | yeah, i just tried that and it didn't work; actually notice is part of the Log::Dispatch module that (I think) Log::Log4perl | 01:20 |
| knowmad | uses | 01:20 |
| -!- apeiron_ is now known as apeiron | 01:20 |
| -!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has quit ["Leaving"] | 01:20 |
| -!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui | 01:20 |
| -!- mode/#webgui [+o Haarg] by ChanServ | 01:20 |
| knowmad | i need something that is less verbose than INFO but not as significant as WARN | 01:20 |
| knowmad | setting my log level to INFO outputs too much | 01:21 |
| knowmad | isn't there a way to only output logging for a specific activity? | 01:21 |
| -!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has quit [Client Quit] | 01:22 |
| knowmad | ok, found that i can adjust logging levels within my activity then adjust them back down | 01:29 |
| -!- knowmad [n=william@97.66.185.250] has left #webgui [] | 01:32 |
| -!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI | 01:32 |
| -!- dionak [n=dionak@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui | 01:40 |
| -!- metanil [n=akhadka@137.48.138.26] has joined #webgui | 01:46 |
| -!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit [] | 01:55 |
| -!- lisette [n=liraos@adsl190-28-166-49.epm.net.co] has left #webgui [] | 02:08 |
| -!- tavisto [n=tavisto@pool-71-120-147-81.gdrpmi.dsl-w.verizon.net] has quit [] | 02:08 |
| -!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui | 02:12 |
| -!- mode/#webgui [+o rizen] by ChanServ | 02:12 |
| -!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit [Client Quit] | 02:16 |
| -!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui | 02:40 |
| -!- mode/#webgui [+o rizen] by ChanServ | 02:40 |
| -!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI | 02:40 |
| elnino | hi all. | 02:40 |
| elnino | I sucessfully upgraded to 7.4.40! I'd like to modify the workflow "commit without approval" to notify about aversion tag. | 02:41 |
| elnino | I see that I have the choice to notify a "group". where to I specify this? | 02:41 |
| elnino | I read that wrong.. Sorry, never mind... Is there a way to notify a particular group that a versiontag has been approved? | 02:42 |
| @preaction | put a Notify About Version Tag activity after the Request Approval activity? | 02:43 |
| -!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit [Client Quit] | 02:43 |
| elnino | I dont' want them to approve anything, just want to tell them about it. | 02:43 |
| perlDreamer | elnino, that's what preaction's suggestion will do | 02:44 |
| perlDreamer | Group to Approve is automatically notified | 02:44 |
| perlDreamer | if you want additional notifications, you use NotifyAboutVersionTag | 02:44 |
| elnino | yes, I want additional notifications.. but my choices are "tag committer, tag createer and "group to use" I have a different group in mind: admins. | 02:46 |
| perlDreamer | and in the Request Approval, admins don't get an email? | 02:46 |
| elnino | in the request approval step, it's "version managers". - so will they get a notification, if the request is automatically approved? I"m slowly getting this. I'm only an admin, I guess I'll join the "version tag manager group" That should work. | 02:48 |
| elnino | right? | 02:49 |
| elnino | testing.... | 02:50 |
| elnino | hmm. no email. I logged in as someone else who is a version tag manager, committed my tag, it got automatically approved by version tag manager (per workflow) and didn't get an email to me (who is also a version tag manager) | 02:57 |
| elnino | let me say that differently. | 02:57 |
| elnino | I logged in as someone else who is a version tag manager, made a change, committed the tag, it got automatically approved by version tag manager (Because i was logged in as one) (per workflow) and didn't get an email to me (who is also a version tag manager) | 02:57 |
| elnino | I would have expected all versoin tag mangers to be notified. | 02:58 |
| @preaction | that's expected behavior, yes | 02:58 |
| @preaction | no, there is no message because it doesn't need approval | 02:58 |
| elnino | hmm. is there a work flow I can add to still be notified even if it's automatically approved? it gives them a fuzzy feeling, and, give us other versoin tag managers a chance to reivew the changes after they've been posted. | 02:59 |
| -!- patspam [n=patspam@ppp59-167-168-132.lns1.mel4.internode.on.net] has joined #webgui | 03:00 |
| -!- perlDreamer [n=ckuskie@nat082.mxim.com] has quit ["Download Gaim: http://gaim.sourceforge.net/"] | 03:00 |
| -!- khenn [n=khenn@97.92.186.139] has quit [Read error: 113 (No route to host)] | 03:01 |
| -!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui | 03:04 |
| -!- mode/#webgui [+v Radix-wrk] by ChanServ | 03:04 |
| -!- tavisto [n=tavisto@pool-71-120-147-81.gdrpmi.dsl-w.verizon.net] has joined #WebGUI | 03:04 |
| -!- mode/#webgui [+o tavisto] by ChanServ | 03:04 |
| elnino | is that travis the person who would be able to tell me the costs of SSL? on a single hosting plan? | 03:07 |
| @preaction | tavis? | 03:10 |
| elnino | isn't it travis parker or parker travis at plainblacK? | 03:12 |
| elnino | I saw travisto, assumed it was him. | 03:12 |
| @preaction | that's tavis parker, yes | 03:19 |
| -!- cap10morgan [n=cap10mor@h19-afsc.ded.indra.com] has quit [] | 03:22 |
| elnino | does travisto = travis parker? | 03:27 |
| elnino | is that bad for me to ask on a chat? sorry... | 03:36 |
| @tavisto | elnino, it's fine. My name is Tavis Parker. No "r" :) | 03:40 |
| elnino | sorry. you call me returning my call to you. Just wondering how much SSL is on a single site hosting plan? If this isn't appropriate on a chat, I can try to call tomorrow. | 03:41 |
| @tavisto | If you're looking to use SSL on your supported hosting site, there is no charge from Plain Black's end. | 03:41 |
| @tavisto | are you looking to use Itransact with WebGUI's shopping cart? | 03:42 |
| elnino | cool. yep. | 03:42 |
| @tavisto | alright, have you setup the itransact account through the directions in WebGUI? | 03:42 |
| elnino | oh.. not yet. I'm wating to see if I get the gig or not. If so, I'll be signing up right away. | 03:43 |
| @tavisto | alright great. Well the only other expense you will incur is the activation of XML through the payment gateway | 03:44 |
| @tavisto | it's only $5/month more and it's added to the merchant account fees you have to pay monthly | 03:44 |
| -!- khenn [n=khenn@97.92.186.139] has joined #WebGUI | 03:45 |
| -!- mode/#webgui [+o khenn] by ChanServ | 03:45 |
| @tavisto | elnino, is this for a 7.4 site or are you going to be setting this up on a 7.5 site? | 03:46 |
| elnino | 7.5 I assume. do I have a choice with your hosting? | 03:46 |
| @tavisto | oh that's true.. nm I forgot you're using our single site hosting.. heh, my brain is tired | 03:47 |
| @tavisto | 7.5 will be on our servers fairly soon so you'll be developing on that. | 03:48 |
| elnino | that's ok. latest and greatest is just fine for this application. | 03:48 |
| @tavisto | great, well you'll love all of the new functionality the new shop has anyway. | 03:48 |
| elnino | had some fun already! | 03:49 |
| @tavisto | are you a WebGUI reseller? | 03:49 |
| elnino | no. I would love to be, but I don't have enough clients. | 03:51 |
| @tavisto | ah okay, well it only takes a bit of time to make it to 5 and then agency hosting is the way to go. | 03:51 |
| @tavisto | Are you Lauralyn btw? | 03:51 |
| elnino | yes. | 03:51 |
| @tavisto | ah okay I thought your question seemed very familiar :) | 03:51 |
| elnino | you can take me off your "to call back list" | 03:52 |
| elnino | =) | 03:52 |
| elnino | thanks! | 03:52 |
| @tavisto | yeah I was happy I could bury another email in my inbox | 03:52 |
| @preaction | i'm happiest when tavisto has a lot of work | 04:03 |
| -!- ShortWave [n=bobbypar@unaffiliated/shortwave] has joined #webgui | 04:18 |
| ShortWave | Hey all | 04:18 |
| ShortWave | 'sup? | 04:18 |
| @preaction | same old, same old | 04:19 |
| ShortWave | yeah | 04:19 |
| ShortWave | I hear that | 04:19 |
| ShortWave | so I just discovered this | 04:19 |
| ShortWave | after digging through like, a pile of different CMSes | 04:19 |
| ShortWave | I need to setup a family site | 04:19 |
| ShortWave | and I want no fuss, no muss | 04:20 |
| ShortWave | but I gotta say | 04:20 |
| ShortWave | Iphone guy's testimony...totally sold me | 04:20 |
| ShortWave | heh | 04:20 |
| @preaction | ahh. good ol maxscience | 04:20 |
| -!- i2wild_ [n=chatzill@98.223.255.95] has joined #webgui | 04:21 |
| ShortWave | Wouldn't happen to be a Centos-compliant package of this is there? | 04:25 |
| ShortWave | Maybe the Rhel one will work? | 04:25 |
| @preaction | the RHEL one will work | 04:26 |
| @preaction | as long as you use the right one, of course | 04:26 |
| -!- i2wild_ [n=chatzill@98.223.255.95] has quit [Client Quit] | 04:26 |
| ShortWave | helpful++ | 04:26 |
| ShortWave | aight, lemme see what I'm doing here | 04:26 |
| ShortWave | Rhel5 I suppose? | 04:28 |
| @preaction | dunno. CentOS 5? | 04:30 |
| @preaction | what does your /etc/redhat-release say? | 04:30 |
| ShortWave | Centos 5 r | 04:32 |
| ShortWave | err | 04:32 |
| ShortWave | 5 | 04:32 |
| ShortWave | Hrm.... | 04:33 |
| -!- dionak [n=dionak@cpe-024-074-132-143.carolina.res.rr.com] has quit [] | 04:33 |
| ShortWave | I already have a whole setup with apache virtual servers and such | 04:33 |
| ShortWave | I don't support this installs to somewhere..separate does it? | 04:33 |
| @preaction | yes | 04:33 |
| ShortWave | err, suppose, etc. | 04:33 |
| ShortWave | Oh so totally separate and standalone then? | 04:33 |
| @preaction | though, if you're brave enough, you can get WebGUI to run without the WRE | 04:33 |
| ShortWave | I'm pretty brave | 04:34 |
| @preaction | yes. the WRE needs to be installed to /data/wre | 04:34 |
| ShortWave | Interesting | 04:34 |
| @preaction | i suggest the WRE for ease-of-use and performance | 04:34 |
| ShortWave | I would, however, need to run it on a diferent port | 04:34 |
| @preaction | of course | 04:34 |
| ShortWave | Just setup a forwarding page | 04:34 |
| @preaction | the WRE has two configured apaches, one that runs on 80, one that runs on 8081. both ports are settable | 04:34 |
| ShortWave | Ah, sexy | 04:35 |
| ShortWave | I likes | 04:35 |
| @preaction | but you wouldn't even need the one that runs on port 80, since you could theoretically use your existing apache for that | 04:35 |
| @preaction | all the port 80 one does is serve static content (images mostly) and proxy requests to mod_perl, on port 8081 | 04:35 |
| @preaction | well, i'll let you see how it works, and try not to confuse you too much beforehand | 04:36 |
| ShortWave | pretty tough to confuse me | 04:37 |
| @perlmonkey2 | patspam: you awake? | 04:37 |
| patspam | yessir | 04:37 |
| @perlmonkey2 | how's the survey going? | 04:37 |
| ShortWave | <--- perfessional web-type-due, has no fear. | 04:37 |
| ShortWave | dude, etc. | 04:37 |
| ShortWave | Just as an example | 04:37 |
| patspam | ah haven't touched it man, been flat-out doing other dev | 04:37 |
| patspam | how about you? | 04:37 |
| ShortWave | I actually run Metadot on my server now | 04:37 |
| ShortWave | but I want something easy to use for the family | 04:38 |
| patspam | and heading O/S for YAPC::Europe on sunday | 04:38 |
| ShortWave | cuz christ, my wife has a huge-ass family | 04:38 |
| @perlmonkey2 | since we last talked I got a job. But it looks like if I get a bunch of work done this week things will slow down and I can spend some time on it this weekend and next week. | 04:38 |
| @perlmonkey2 | congrats! That should be a ton of fun. | 04:39 |
| patspam | yeah should be great, my first YAPC | 04:39 |
| @preaction | then you'll probably want to follow docs/install.txt, but then take the /data/wre/etc/yoursite.modproxy that gets created for your site and plug that into your existing port 80 Apache instance | 04:39 |
| ShortWave | aight | 04:39 |
| @perlmonkey2 | patspam: Any personal heroes going to be there? | 04:39 |
| @preaction | i mean, having three apache's running is just overkill. ;-) | 04:39 |
| patspam | gosh, like all of em ;) I'm gonna be such a fan-boy | 04:39 |
| @perlmonkey2 | heh, yeah, I'm right there with you. | 04:40 |
| ShortWave | hahaha | 04:40 |
| ShortWave | yeah...simple enough to figure a vhost to point where I want | 04:40 |
| patspam | I thought I'd wait for you to do (or start) the JSON rewrite first since you're in a better position than me to do it | 04:41 |
| * ShortWave perks up. | 04:41 |
| @perlmonkey2 | patspam: yeah, I had worried that the client/server api might change | 04:41 |
| ShortWave | Json support? | 04:42 |
| @perlmonkey2 | patspam: it probably needs to so the way data is slung around can be cleaned up | 04:42 |
| @perlmonkey2 | but the hardest part was actually making the YUI do all the crazy things we needed it to. | 04:42 |
| @perlmonkey2 | ShortWave: rewriting the rewrite of the survey so that non-user response collateral is stored as JSON. | 04:43 |
| patspam | I'm actually doing a lot of YUI at the moment for my $work, so I might be able to help there | 04:43 |
| @perlmonkey2 | ShortWave: as is, put a few thousand responses and a few thousand questions in WG and the Survey2.0 takes 5 seconds to load a new page on a mid to low end machine. | 04:44 |
| @perlmonkey2 | patspam: sweet that is great. But hopefully that is all worked out. | 04:44 |
| ShortWave | Interestink | 04:44 |
| ShortWave | I likes JSON | 04:45 |
| ShortWave | Course I like Flex too | 04:45 |
| @preaction | perlmonkey2, are you sure it's not something you can fix with proper indexes and better SQL optimization? | 04:45 |
| @perlmonkey2 | preaction: I've tried. And I would love for some help. | 04:45 |
| @perlmonkey2 | preaction: But lets says a fully indexed table can return a query in 50ms. 10 queries is .5 seconds. | 04:46 |
| @perlmonkey2 | and on my machine "select 'x'" takes about 20ms. | 04:46 |
| @perlmonkey2 | and on a really large table, 100ms is the norm. | 04:46 |
| @preaction | 10 queries is 0.05 seconds you mean. 0.001 = 1 ms | 04:46 |
| @perlmonkey2 | right | 04:48 |
| @perlmonkey2 | no | 04:48 |
| @perlmonkey2 | .05 seconds for 1 query | 04:48 |
| @perlmonkey2 | hmm....something is different. I just tested on my Q6600 and select 'x' is a tiny fraction of 1ms | 04:49 |
| @preaction | the first time it gets cached usually | 04:49 |
| @preaction | do you have a DB schema and the queries you're running against it? | 04:49 |
| @perlmonkey2 | maybe the problem was the hardware. ATA100 on a P4 with 1MB ram | 04:50 |
| @perlmonkey2 | preaction: I don't have the queries broke out, but I can point you at the create sql | 04:50 |
| @perlmonkey2 | http://www.webgui.org/webgui/dev/discuss/survey3/4#jJ-PAioQBI5WNtWdCAcDvg | 04:51 |
| -!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has quit ["Leaving"] | 04:52 |
| -!- knowmad [n=william@adsl-074-170-007-083.sip.clt.bellsouth.net] has joined #webgui | 04:53 |
| @preaction | perlmonkey2, first off, Survey_question needs an index on "assetId", since I assume you get the questions by assetId and then order by sequenceNumber, that will probably speed things up rather nicely | 04:54 |
| @perlmonkey2 | assetId is part of the primary key? | 04:55 |
| @perlmonkey2 | a seperate key with just the assetId? | 04:55 |
| @preaction | yes | 04:55 |
| @preaction | do "EXPLAIN SELECT * from Survey_question WHERE assetId="something"" and you'll probably see that no keys are used | 04:55 |
| @perlmonkey2 | I'm not sure I ever query just the assetId. I think all the keys are, as best as I could, indexed with the queries. | 04:56 |
| -!- dionak [n=dionak@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui | 04:56 |
| @perlmonkey2 | I'm sure I can do some refactoring and condense some logic. But I think keeping the survey in a JSON colum would mean that when generating a new page to display I'd need 1 query to grab the previous response information and 1 query to get the survey. Then an update to the response. So 3 queries, 2 of which culd be combined. | 04:58 |
| ShortWave | Hrm | 04:58 |
| ShortWave | Error: Unable to open '/data/WebGUI/etc/log.conf.original': No such file or directory | 04:58 |
| ShortWave | now | 04:58 |
| ShortWave | that says log.conf.original | 04:58 |
| ShortWave | so I dunno if this is making a backup | 04:58 |
| ShortWave | or trying to do something else | 04:58 |
| ShortWave | but what do you think? | 04:58 |
| @preaction | ShortWave, when did you get that error? | 04:59 |
| ShortWave | pressing "manual install" | 04:59 |
| ShortWave | Configuring WebGUI | 04:59 |
| @perlmonkey2 | And I ran some tests and a really really large survey shouldn't be larger than a few meg. | 04:59 |
| @preaction | ShortWave, did you already unzip webgui to /data/WebGUI before pressing Manual Install? | 04:59 |
| ShortWave | yuppers | 04:59 |
| @preaction | and is there a /data/WebGUI/etc/log.conf.original? | 05:00 |
| ShortWave | Hrm... | 05:00 |
| ShortWave | wait, I just unzipped it into /data/ | 05:00 |
| @preaction | ShortWave, you realize the difference between the WRE and WebGUI, right? | 05:00 |
| @preaction | you should just click Automatic Install, really | 05:00 |
| ShortWave | I do now | 05:00 |
| @preaction | perlmonkey2, but then your database normalization goes away :( | 05:00 |
| ShortWave | :) | 05:00 |
| @perlmonkey2 | preaction: yeah, I completely agree. That is a tough thing to swallow. | 05:00 |
| ShortWave | This is the price of having a wife in the room talking to me | 05:00 |
| @perlmonkey2 | preaction: it means no other wobjects building reports or doing anything except through the API. | 05:01 |
| @perlmonkey2 | user created custom reports can't be done. | 05:01 |
| @preaction | perlmonkey2, which, though JT and others like, I personally hate | 05:01 |
| @preaction | SQLReports for the Survey2 would be pwn | 05:01 |
| @perlmonkey2 | preaction: I love the idea of the speed, but cringe at what it does to the flexibility of the DB. | 05:01 |
| @preaction | we can fix the speed of Survey2, at least, database-wise | 05:02 |
| @perlmonkey2 | preaction: I've spent some time on it trying. | 05:02 |
| @perlmonkey2 | I guess I need to get a build going locally, but first I need to knock out a few more tickets :) | 05:02 |
| @preaction | so when you query Survey_question normally, you grab things by "assetId=? and Survey_sectionId=?" correct? if so, then you'd still want a key just on assetId (since that will make that query only need to look at all the seconds for a single survey asset) | 05:03 |
| @perlmonkey2 | But if we could get the speed up to par then there really isn't that much to do. Clean up the rough edges, refactor some ugliness, create some reports. | 05:03 |
| @preaction | think of the index as a pre-sort. if we index based on assetId, we only have to do an expensive look at the ones that we already know belong to our asset | 05:03 |
| ShortWave | aight, I gots management | 05:04 |
| ShortWave | hrm | 05:04 |
| ShortWave | lots of Json stuff | 05:04 |
| @preaction | yeah, those are just warnings, you should be fine | 05:05 |
| ShortWave | not what I meant | 05:06 |
| ShortWave | config stuff | 05:06 |
| @perlmonkey2 | preaction: select q.* | 05:07 |
| @perlmonkey2 | from Survey_question q | 05:07 |
| @perlmonkey2 | where q.Survey_sectionId = ? and q.sequenceNumber >= ? and q.sequenceNumber < ? | 05:07 |
| @perlmonkey2 | order by q.sequenceNumber ASC | 05:07 |
| @preaction | er... where's the assetId in there? | 05:07 |
| @perlmonkey2 | the sectionId will have made sure we're in the correct assetId | 05:08 |
| @perlmonkey2 | all unique WG id's | 05:08 |
| @preaction | or are you just assuming that Survey_sectionId will be unique enough. if so, then you just want an index on the sectionId | 05:08 |
| @perlmonkey2 | so just index on the section. Then maybe seperate indexes on the sequence? | 05:08 |
| @perlmonkey2 | this could work. vastly decrease the size of the indexes. I mean, there should be what, maybe 20 sections to a large survey. Maybe 50 questions to a section? Those are not a very large number or rows to then deal with. | 05:10 |
| @perlmonkey2 | and the response tables were always the really slow ones anyways. | 05:10 |
| @preaction | if it really gets bad, you can use UNIONs of very small queries, as the latest SVN revision of WebGUI::Inbox does | 05:11 |
| @preaction | but i don't think that will work in this situation | 05:11 |
| @preaction | plus, keys get cached in memory, so it'll be crazy fast | 05:12 |
| @perlmonkey2 | this certainly would make cleaning up the survey2 much easier ;) | 05:13 |
| @preaction | lastly, if things really really really get bad, i'm buying the High Performance MySQL book | 05:13 |
| ShortWave | preaction: Ok, this I think is a real problem. | 05:13 |
| @preaction | well, really, i bought it and it's at JT's house | 05:13 |
| @preaction | ShortWave, pastebin the message and we'll try to work through it | 05:14 |
| ShortWave | preaction: modproxy isn't starting | 05:14 |
| @preaction | it won't start without modperl already started, which won't start without mysql already started | 05:14 |
| ShortWave | modperl is started | 05:14 |
| -!- cap10morgan [n=cap10mor@206-124-7-89.denver.dsl.forethought.net] has joined #webgui | 05:14 |
| -!- mode/#webgui [+v cap10morgan] by ChanServ | 05:14 |
| ShortWave | mysql is started too | 05:14 |
| @preaction | what does the modproxy error log say? it's in /data/wre/var/logs/modproxy.error.log | 05:15 |
| @preaction | if it's about make_sock: 0.0.0.0:80 address already in use, then it didn't save your port configuration correctly | 05:15 |
| ShortWave | ah...it's a port issue | 05:16 |
| ShortWave | I just found that | 05:16 |
| ShortWave | I set the proxy port to 81 | 05:16 |
| ShortWave | So where to look to fix that? | 05:17 |
| @preaction | in /data/wre/etc/modproxy.conf | 05:17 |
| ShortWave | listen 81 | 05:18 |
| ShortWave | so that's right | 05:18 |
| @preaction | is 81 being used by anything? | 05:18 |
| ShortWave | well it's trying to connect to 80 | 05:19 |
| ShortWave | not 81 | 05:19 |
| ShortWave | modperl's running on 8081 | 05:19 |
| @preaction | is there some other Listen 80 or *:80 or something in the modproxy.conf? | 05:19 |
| ShortWave | nope | 05:19 |
| @preaction | wait... did you run the WRE console as root? | 05:20 |
| ShortWave | Yup | 05:20 |
| -!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has joined #webgui | 05:21 |
| @preaction | dunno then. what is the exact error message? | 05:22 |
| ShortWave | [Mon Aug 04 21:20:15 2008] [error] (111)Connection refused: proxy: HTTP: attempt to connect to 127.0.0.1:80 (localhost) failed | 05:23 |
| ShortWave | hrm | 05:24 |
| @preaction | oh, that looks like modproxy is trying to proxy port 80 | 05:25 |
| @preaction | which is weird | 05:25 |
| @preaction | look in /data/wre/etc/yoursite.modproxy | 05:25 |
| ShortWave | if I crank up my original server, I get the centos test page | 05:25 |
| ShortWave | vhost on *.80 | 05:26 |
| ShortWave | rather, *:80 | 05:26 |
| ShortWave | ack | 05:26 |
| ShortWave | *:81 | 05:26 |
| @preaction | right, but one of the last lines in the vhost block should be RewriteRule ^/(.*) http://%{SERVER_NAME}:80/$1 [P] | 05:27 |
| @preaction | or something | 05:27 |
| @preaction | the 80 should be 8081 | 05:27 |
| ShortWave | yeah I've got that | 05:28 |
| @preaction | er... so you go to yoursite:81 and you don't see anything? | 05:29 |
| ShortWave | with my original server shut down... | 05:30 |
| ShortWave | modproxy won't start | 05:30 |
| @preaction | and the error in the modproxy log is the one from above | 05:30 |
| ShortWave | yup | 05:30 |
| @preaction | and nowhere in the yoursite.modproxy or modproxy.conf is there something trying to proxy to port 80? | 05:31 |
| topsub | is there a way to make profile detail page viewable by anyone? | 05:31 |
| @preaction | pastebin your yoursite.modproxy perhaps? | 05:31 |
| @preaction | topsub, you can set your profile to be publicly viewable yes | 05:31 |
| topsub | is it per person you have to do that? Or is there a global setting? | 05:31 |
| ShortWave | grep ":80" * in wre/etc shows me a bunch of lines that are commented out, or 8081 | 05:32 |
| @preaction | topsub, per person, but you can set the default for new users in the normal way (changing Visitor's profile) | 05:32 |
| topsub | ah alright thanks alot! | 05:32 |
| topsub | thanks preaction! | 05:33 |
| @preaction | ShortWave, it might say "FAILED" or "Stopped", but it might still be started | 05:34 |
| @preaction | what does ps -ax | grep "httpd" say? any with -D modproxy? | 05:35 |
| ShortWave | is not starting | 05:35 |
| ShortWave | or well | 05:35 |
| ShortWave | wait | 05:35 |
| ShortWave | I see -D modproxy | 05:35 |
| ShortWave | in ps -ax | 05:35 |
| @preaction | so modproxy is started | 05:36 |
| ShortWave | Evidently...the green start button could use some feedback enhancement | 05:36 |
| @preaction | feel free to submit a bug: http://webgui.org/bugs | 05:37 |
| @preaction | might want to make sure it's not already reported though | 05:37 |
| ShortWave | what should I look for spectre running? | 05:37 |
| ShortWave | The screen looks the same | 05:38 |
| @preaction | ps -ax | grep "spectre.pl" | 05:38 |
| ShortWave | aight, that ain't running | 05:39 |
| ShortWave | I'm gonna try a full restart | 05:41 |
| ShortWave | see what happens | 05:41 |
| ShortWave | maybe it's just something wonky somewhere | 05:41 |
| -!- knowmad [n=william@adsl-074-170-007-083.sip.clt.bellsouth.net] has left #webgui [] | 05:41 |
| ShortWave | modproxy runs, spectre does not | 05:42 |
| ShortWave | cranking up my original server, everything runs but spectre | 05:45 |
| ShortWave | I get a testpage at myserver:81 | 05:45 |
| -!- cap10morgan [n=cap10mor@206-124-7-89.denver.dsl.forethought.net] has quit [Read error: 113 (No route to host)] | 05:46 |
| -!- cap10morgan_ [n=cap10mor@206-124-7-89.denver.dsl.forethought.net] has joined #webgui | 05:46 |
| -!- mode/#webgui [+v cap10morgan_] by ChanServ | 05:46 |
| -!- cap10morgan_ [n=cap10mor@206-124-7-89.denver.dsl.forethought.net] has quit [Read error: 104 (Connection reset by peer)] | 05:48 |
| * perlmonkey2 gives up for the night | 05:52 |
| @preaction | ShortWave, i would still venture that modproxy is accidentally proxying port 80 and not 8081 or something | 05:53 |
| @preaction | did you add a site yet? | 05:53 |
| ShortWave | I would say your assertion is correct | 05:53 |
| ShortWave | yup | 05:53 |
| ShortWave | I'm configuring that on 8081 now | 05:53 |
| ShortWave | Don't think I really need modproxy in any event do I? | 05:53 |
| ShortWave | I can setup a forwarder | 05:53 |
| @preaction | well, you'll still want the configuration file, since it does things with /uploads and /extras that bypass WebGUI (and helps performance) | 05:54 |
| @preaction | but you can put that config file in your own apache | 05:54 |
| @preaction | by "that config file" i mean yoursite.modproxy | 05:54 |
| ShortWave | aight | 05:57 |
| ShortWave | Hrm | 06:01 |
| ShortWave | Kinda diggin it | 06:01 |
| ShortWave | In fact, I'm digging it so much | 06:05 |
| ShortWave | I might migrate my metadot site to it tomorrow | 06:05 |
| @preaction | so it's working? | 06:05 |
| ShortWave | yeah, 8081 is working | 06:06 |
| ShortWave | spectre doesn't wanna run | 06:06 |
| ShortWave | modproxy I can configure into my base server so I ain't worried about that | 06:06 |
| ShortWave | tho I gotta say, it feels like metadot in a lotta ways | 06:08 |
| @preaction | spectre not wanting to run is bad. might want to change webguiIp in /data/WebGUI/etc/spectre.conf to 8081 | 06:09 |
| ShortWave | what does spectre do for me? | 06:09 |
| -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [Read error: 113 (No route to host)] | 06:09 |
| @preaction | spectre is the offline execution engine. it's a scheduler and handles other things that it's not possible to do through the UI | 06:10 |
| ShortWave | ahhh | 06:10 |
| ShortWave | ok | 06:10 |
| @preaction | lots of things create "Workflows", which spectre then keeps track of and runs them at the appropriate time | 06:11 |
| @preaction | or rather, tells WebGUI to run an activity in the workflow | 06:11 |
| @preaction | but if you fix webguiPort in spectre.conf it should start up fine | 06:11 |
| ShortWave | Ok so it's a sort of persistent execution engine that doesn't require page loads | 06:11 |
| -!- tavisto [n=tavisto@pool-71-120-147-81.gdrpmi.dsl-w.verizon.net] has quit [] | 06:12 |
| @preaction | kinda, it still does its work through WebGUI, but it's not a browser so it's not limited to what browsers can do | 06:12 |
| ShortWave | Ok | 06:12 |
| ShortWave | So you can initiate a task and you don't have to make the browser wait for it | 06:12 |
| @preaction | right | 06:13 |
| ShortWave | Handy | 06:13 |
| ShortWave | I like it | 06:13 |
| @preaction | plus the scheduler | 06:13 |
| @preaction | yes, spectre is awesome | 06:13 |
| ShortWave | Aight, so how hard would it be to get this to serve XML? | 06:13 |
| ShortWave | I imagine pretty trivial? | 06:14 |
| @preaction | exceedingly trivial | 06:14 |
| ShortWave | Coolio | 06:14 |
| ShortWave | This is good | 06:14 |
| ShortWave | I can use with Flex | 06:14 |
| @preaction | i've got a presentation at the WebGUI Users Conference all about making templates to serve RSS where normally you'd get HTML | 06:14 |
| ShortWave | Ah, sexy...so I can make a feed for <insert category> and massage the XML into what I want, and shove that into a Flex app | 06:15 |
| * ShortWave likes this...a lot | 06:15 |
| ShortWave | Since this is a family website, one of the things I want to make is a cross-checking christmas list thing | 06:15 |
| ShortWave | Family's so big that we have lots of same-buys | 06:16 |
| ShortWave | So I want to apply a technological fix to it...instead of sending crap through email, and mixing up who's-who, I make an app that lets everyone know who go what for who (except for the who that was got for) | 06:16 |
| ShortWave | :) | 06:16 |
| -!- hightekvagabond [n=Administ@63-224-1-121.mpls.qwest.net] has joined #webgui | 06:17 |
| @preaction | doesn't amazon.com have a gift registry that would work for this? | 06:17 |
| @preaction | this almost sounds like something nice for WebGUI | 06:17 |
| -!- hightekvagabond [n=Administ@63-224-1-121.mpls.qwest.net] has left #webgui [] | 06:17 |
| @preaction | though, couldn't you also make a WebGUI DataForm for people to register gifts anonymously? or something? | 06:17 |
| @preaction | WebGUI just had a major rewrite of the commerce API, now called Shop. so a gift registry something-or-other would be a fun plugin | 06:18 |
| @preaction | metadot is perl even? | 06:18 |
| ShortWave | Metadot is perl yeah | 06:20 |
| ShortWave | template toolkit even | 06:20 |
| @preaction | mmm TT | 06:20 |
| @preaction | that'll be the default in webgui soon | 06:20 |
| ShortWave | and amazon.com...my registry idea would integrate theirs, and as many others as I could get away with | 06:21 |
| ShortWave | Flex is pretty bad-ass | 06:21 |
| ShortWave | Flex/AIR | 06:21 |
| ShortWave | wanna see my project? | 06:21 |
| ShortWave | You know what VMware is, right? | 06:21 |
| @preaction | yes | 06:21 |
| @preaction | i use Fusion on my mbp | 06:21 |
| ShortWave | http://www.stormwind-studios.com/public/Kodiak6.jpg | 06:22 |
| ShortWave | Management app for VMware ESX server in Adobe AIR. | 06:22 |
| ShortWave | http://www.stormwind-studios.com/public/Kodiak5.jpg | 06:22 |
| ShortWave | everything you see is generated by Flash/Flex/AIR | 06:23 |
| ShortWave | and yes, you can interact with the consoles :) | 06:23 |
| ShortWave | even while they're scaled | 06:23 |
| @preaction | good lord | 06:24 |
| ShortWave | heh | 06:24 |
| ShortWave | I've gotten kinda accustomed to that reaction of late | 06:24 |
| @preaction | though i am biased, the cmsmatrix confirms that WebGUI has more awesome than metadot | 06:25 |
| ShortWave | I might be forced to agree, just in terms of usability | 06:25 |
| @preaction | but then, the places where the more awesome is are probably not places you need it | 06:25 |
| ShortWave | And metadot is kind of a bear to configure | 06:25 |
| ShortWave | but once you've got it setup | 06:26 |
| @preaction | yeah, that usability is going up soon hopefully | 06:26 |
| -!- dionak [n=dionak@cpe-024-074-132-143.carolina.res.rr.com] has quit [] | 06:26 |
| ShortWave | it's really pretty decent | 06:26 |
| @preaction | my opinion is we still have a lot of work to do in that respect, especially the admin interface | 06:26 |
| ShortWave | make the admin interface in Flex | 06:26 |
| ShortWave | :) | 06:26 |
| ShortWave | send XML packets | 06:26 |
| @preaction | i wish | 06:26 |
| ShortWave | hehe | 06:26 |
| ShortWave | Hey, it'd be awesome | 06:26 |
| ShortWave | Flex is free anyway | 06:26 |
| ShortWave | AND open source | 06:26 |
| @preaction | wait, free Flex SDK? free as in speech? | 06:27 |
| ShortWave | how can you go wrong? | 06:27 |
| ShortWave | Yesssss | 06:27 |
| ShortWave | You didn't know that? | 06:27 |
| @preaction | no... you may have just opened up a whole shipping container full of worms here ;-) | 06:27 |
| ShortWave | http://opensource.adobe.com/wiki/display/flexsdk/Flex+SDK | 06:27 |
| ShortWave | par for my course, really | 06:27 |
| ShortWave | A. the flex SDK itself is free. They of course want you to buy Flash & Flex Builder, but you dn't really need them | 06:28 |
| ShortWave | B. the Flex SDK has been opensourced. | 06:28 |
| ShortWave | C. E4X. Need I say more? | 06:28 |
| @preaction | one of the people from unitedknowledge are creating a flash-based slideshow that uses an XML feed, that might be using flex | 06:28 |
| ShortWave | D. Webservices (SOAP & REST) FTW | 06:28 |
| ShortWave | Very well may be | 06:29 |
| ShortWave | It know it's very easily done of late. | 06:29 |
| ShortWave | you ever work with e4x? | 06:29 |
| ShortWave | It's like Xpath, but better | 06:30 |
| @preaction | haven't even heard of it | 06:30 |
| ShortWave | say I want all the shoe elements that are size ten | 06:30 |
| ShortWave | as in <shoe size="10" type="whatever"> | 06:30 |
| ShortWave | I does | 06:30 |
| @preaction | ahh, i tend to use JSON in these situations | 06:30 |
| ShortWave | myDoc..shoe.(@size == 10); | 06:30 |
| ShortWave | I gets the list of shoes that are size ten | 06:31 |
| ShortWave | well | 06:31 |
| ShortWave | JSON is great | 06:31 |
| ShortWave | but | 06:31 |
| ShortWave | there are times | 06:31 |
| @preaction | yeah, but it's not XML | 06:31 |
| ShortWave | where you needs more | 06:31 |
| ShortWave | Like with RSS | 06:31 |
| ShortWave | My VMware stuff is all XML | 06:31 |
| ShortWave | the VI Api is a monstrous pile of WSDL | 06:31 |
| ShortWave | did I say monstrous? I meant huge. | 06:32 |
| ShortWave | Like gigantically huge. 2700+ data types in the schema. | 06:32 |
| ShortWave | tho for something like VMWare, that's really to be expected | 06:33 |
| @preaction | true | 06:33 |
| ShortWave | So yeah | 06:34 |
| ShortWave | I'd be all about flexing some front-end admin magic | 06:34 |
| ShortWave | via JSON or whatever | 06:34 |
| ShortWave | Probably JSON for the admin stuff be more straightforward | 06:34 |
| @preaction | most likely, though there is a Web Services client built-in to webgui | 06:35 |
| @preaction | i'm, again, not really familiar with it, but i Know it can do SOAP | 06:36 |
| ShortWave | client or server? | 06:36 |
| @preaction | client | 06:36 |
| ShortWave | Ok | 06:36 |
| ShortWave | Interesting | 06:36 |
| ShortWave | So it can talk to a remote SOAP source then | 06:36 |
| @preaction | server, isn't SOAP just text? webgui rocks at text | 06:37 |
| ShortWave | Flex would want to be a client as well | 06:37 |
| ShortWave | SOAP is just XML | 06:37 |
| @preaction | a payload in an XML envelope | 06:37 |
| ShortWave | pretty much | 06:37 |
| @preaction | so, yeah, you could make webgui into a soap server | 06:37 |
| ShortWave | Hrm | 06:38 |
| ShortWave | Tricky part would be supporting the operations | 06:38 |
| ShortWave | SOAP is a little bit weird on the request stuff | 06:38 |
| ShortWave | There's a whole request model and what-not involved | 06:38 |
| ShortWave | It's not just about "Oh hey, here's a URL, with some parameters, gimme some data" | 06:38 |
| ShortWave | ack | 06:39 |
| ShortWave | I'm being paged | 06:39 |
| ShortWave | Tell you what, I'll pop back in tomorrow | 06:39 |
| ShortWave | wife needs my attention | 06:39 |
| ShortWave | l8r | 06:39 |
| @preaction | we'll be here | 06:39 |
| ShortWave | aight cool | 06:39 |
| ShortWave | I'm out | 06:39 |
| -!- ShortWave [n=bobbypar@unaffiliated/shortwave] has quit [] | 06:39 |
| -!- perlDreamer [n=colink@pool-71-245-101-253.ptldor.fios.verizon.net] has joined #webgui | 07:00 |
| CIA-6 | WebGUI: colin * r7161 /WebGUI/t/Asset/Wobject/EventManagementSystem.t: Remove debugging output. | 07:01 |
| -!- perlDreamer [n=colink@pool-71-245-101-253.ptldor.fios.verizon.net] has quit ["Leaving."] | 07:15 |
| -!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has quit [Remote closed the connection] | 08:11 |
| -!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)] | 08:44 |
| -!- SynQ [n=SynQ@f70168.upc-f.chello.nl] has quit ["Leaving."] | 09:24 |
| -!- Radix-wrk [n=Jesse@203.161.68.67] has quit [Read error: 104 (Connection reset by peer)] | 09:47 |
| -!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui | 09:49 |
| -!- mode/#webgui [+v Radix-wrk] by ChanServ | 09:49 |
| -!- KlausH [n=KlausH@p5B0701E2.dip0.t-ipconnect.de] has joined #webgui | 10:16 |
| -!- AMH_bob [n=AMH_bob@alphamega-dmp.xs4all.nl] has joined #webgui | 10:23 |
| -!- Radix-wrk [n=Jesse@203.161.68.67] has quit ["Leaving"] | 10:27 |
| CIA-6 | WebGUI: yung * r7162 /WebGUI/ (docs/changelog/7.x.x.txt lib/WebGUI/Operation/Invite.pm): fixed: Invitation EMails Escape Characters | 12:16 |
| -!- patspam [n=patspam@ppp59-167-168-132.lns1.mel4.internode.on.net] has quit [Remote closed the connection] | 13:01 |
| -!- patspam [n=patspam@ppp59-167-168-132.lns1.mel4.internode.on.net] has joined #webgui | 13:02 |
| -!- patspam [n=patspam@ppp59-167-168-132.lns1.mel4.internode.on.net] has quit [Client Quit] | 13:03 |
| -!- carogray [n=Caroline@h69-131-72-187.nwlnnh.dsl.dynamic.tds.net] has joined #webgui | 13:45 |
| -!- BartJol [n=plainstu@dc514780d4.adsl.wanadoo.nl] has joined #webgui | 13:45 |
| -!- Haarg [n=haarg@24-240-43-138.dhcp.mdsn.wi.charter.com] has joined #webgui | 13:48 |
| -!- mode/#webgui [+o Haarg] by ChanServ | 13:48 |
| BartJol | goodday | 13:59 |
| BartJol | is there a way to get the default hide from navigation setting to no? | 14:00 |
| -!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has quit ["Leaving"] | 14:19 |
| -!- Haarg [n=haarg@24-240-43-138.dhcp.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"] | 14:31 |
| -!- ShortWave [n=bobbypar@unaffiliated/shortwave] has joined #webgui | 15:13 |
| -!- MrHairgrease [n=martin@wlan-145-94-222-78.wlan.tudelft.nl] has joined #webgui | 15:35 |
| -!- mode/#webgui [+v MrHairgrease] by ChanServ | 15:35 |
| -!- SDuensin [n=Scott@209.sub-75-204-95.myvzw.com] has joined #WebGUI | 15:49 |
| SDuensin | Morning. | 15:52 |
| -!- MrHairgrease [n=martin@wlan-145-94-222-78.wlan.tudelft.nl] has quit [Read error: 110 (Connection timed out)] | 15:58 |
| -!- MrHairgreas1 [n=martin@wlan-145-94-221-18.wlan.tudelft.nl] has joined #webgui | 15:58 |
| -!- ShortWave [n=bobbypar@unaffiliated/shortwave] has quit [] | 16:01 |
| -!- khenn_ [n=khenn@97.92.186.139] has joined #WebGUI | 16:10 |
| -!- khenn [n=khenn@97.92.186.139] has quit [Read error: 113 (No route to host)] | 16:27 |
| -!- khenn_ [n=khenn@97.92.186.139] has quit [] | 16:28 |
| -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui | 16:32 |
| -!- mode/#webgui [+o perlmonkey2] by ChanServ | 16:32 |
| -!- dionak [n=dionak@97.66.185.250] has joined #webgui | 16:45 |
| -!- topsub [n=josh@97.66.185.250] has joined #webgui | 16:45 |
| ckotil | anyone know anything about a firefox that allows you to upload multiple files via the file pile? | 16:47 |
| ckotil | http://www.plainblack.com/etcetera/ziparchive-not-expanding/ as colink stated here at the bottom | 16:47 |
| @perlmonkey2 | I've never heard of that ff addon, but a quick search for webgui in ff addons should find it if it exists. | 17:11 |
| ckotil | sure enough. thanks | 17:18 |
| ckotil | i did a google search for firefox drag drop , and found the same addon | 17:18 |
| ckotil | it doesnt work well enough, still cannot drag multiple files | 17:19 |
| -!- BartJol [n=plainstu@dc514780d4.adsl.wanadoo.nl] has left #webgui [] | 17:22 |
| -!- khenn [n=khenn@71-86-227-90.static.mdsn.wi.charter.com] has joined #WebGUI | 17:31 |
| -!- mode/#webgui [+o khenn] by ChanServ | 17:31 |
| topsub | is there a macro yet where i can send a User Id to the macro and it returns first and last name? | 17:36 |
| -!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui | 17:43 |
| -!- mode/#webgui [+o Haarg] by ChanServ | 17:43 |
| @perlmonkey2 | Is this bug something we want to alter WSClient for, wait until the new Sharp client is submitted and then merge it, or add it as an RFE? http://www.plainblack.com/bugs/tracker/web-service-client-blocks-page-execution#gYONwl4g86Vin2R5_D4u3A | 17:49 |
| @perlmonkey2 | It looks like to fix it, there would need to be a flag in WSClient's definition setting it to .NET | 17:50 |
| -!- tavisto [n=tavisto@pool-71-120-147-81.gdrpmi.dsl-w.verizon.net] has joined #WebGUI | 17:56 |
| -!- mode/#webgui [+o tavisto] by ChanServ | 17:56 |
| -!- SDuensin [n=Scott@209.sub-75-204-95.myvzw.com] has quit [Read error: 60 (Operation timed out)] | 17:58 |
| -!- snapcount [n=snapcoun@andc-fw1.exploreos.com] has quit [Remote closed the connection] | 18:16 |
| -!- MrHairgreas1 [n=martin@wlan-145-94-221-18.wlan.tudelft.nl] has quit [Read error: 110 (Connection timed out)] | 18:19 |
| -!- SDuensin [n=Scott@179.sub-75-205-236.myvzw.com] has joined #WebGUI | 18:19 |
| dionak | topsub, there's the user macro that returns profile fields for the current session user | 18:26 |
| @perlmonkey2 | Anyone know where I can find some syndicated content on the PB site? | 18:26 |
| -!- AMH_bob [n=AMH_bob@alphamega-dmp.xs4all.nl] has quit ["Leaving."] | 18:31 |
| @perlmonkey2 | Could someone with manager access at PB take a look at this bug? http://www.plainblack.com/bugs/tracker/add-to-cart-button-broken#nCiOC-vIM0cobTKRn1-CyQ | 18:31 |
| -!- Netsplit over, joins: SDuensin, KlausH, @tavisto, @khenn, dionak, ckotil, nuba | 18:55 |
| -!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: carogray, @Haarg, bderrly, metanil, f00li5h, ascii, topsub, +Radix_, @perlmonkey2, @apeiron | 18:55 |
| -!- CIA-6 [n=CIA@208.69.182.149.simpli.biz] has quit [] | 19:01 |
| -!- apeiron [n=apeiron@c-76-124-253-149.hsd1.pa.comcast.net] has joined #webgui | 19:02 |
| -!- metanil [n=akhadka@137.48.138.26] has joined #webgui | 19:02 |
| -!- carogray [n=Caroline@h69-131-72-187.nwlnnh.dsl.dynamic.tds.net] has joined #webgui | 19:02 |
| -!- bderrly [i=W2MSCr7y@75.142.153.68] has joined #webgui | 19:02 |
| -!- ServerMode/#webgui [+o apeiron] by irc.freenode.net | 19:02 |
| -!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has joined #webgui | 19:03 |
| -!- ServerMode/#webgui [+v Radix_] by irc.freenode.net | 19:03 |
| -!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui | 19:03 |
| -!- ServerMode/#webgui [+o Haarg] by irc.freenode.net | 19:03 |
| -!- f00li5h [n=f00li5h@unaffiliated/f00li5h] has joined #webgui | 19:04 |
| -!- apeiron [n=apeiron@c-76-124-253-149.hsd1.pa.comcast.net] has quit [Killed by ballard.freenode.net (Nick collision)] | 19:04 |
| -!- apeiron [n=apeiron@c-76-124-253-149.hsd1.pa.comcast.net] has joined #webgui | 19:04 |
| -!- topsub [n=josh@97.66.185.250] has joined #webgui | 19:04 |
| -!- carogra1 [n=Caroline@h69-131-72-187.nwlnnh.dsl.dynamic.tds.net] has joined #webgui | 19:04 |
| -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui | 19:04 |
| -!- ascii [n=ascii@64.234.60.83] has joined #webgui | 19:04 |
| -!- ServerMode/#webgui [+oo apeiron perlmonkey2] by irc.freenode.net | 19:04 |
| -!- bderrly_ [i=SNOS8w1j@75.142.153.68] has joined #webgui | 19:05 |
| -!- perlDreamer [n=ckuskie@nat082.mxim.com] has joined #webgui | 19:07 |
| -!- bderrly [i=W2MSCr7y@75.142.153.68] has quit [Success] | 19:07 |
| -!- CIA-6 [n=CIA@208.69.182.149.simpli.biz] has joined #WebGUI | 19:09 |
| -!- estiven [n=estiven@201.232.58.66] has joined #webgui | 19:11 |
| -!- carogray [n=Caroline@h69-131-72-187.nwlnnh.dsl.dynamic.tds.net] has quit [Read error: 110 (Connection timed out)] | 19:11 |
| -!- juan [n=juangui@201.232.58.66] has joined #webgui | 19:14 |
| -!- estiven [n=estiven@201.232.58.66] has quit [Remote closed the connection] | 19:19 |
| -!- cap10morgan [n=cap10mor@h19-afsc.ded.indra.com] has joined #webgui | 19:21 |
| -!- mode/#webgui [+v cap10morgan] by ChanServ | 19:21 |
| -!- CIA-6 [n=CIA@208.69.182.149.simpli.biz] has quit [Remote closed the connection] | 19:27 |
| -!- snapcount [n=snapcoun@andc-fw1.exploreos.com] has joined #webgui | 19:31 |
| -!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui | 19:37 |
| -!- mode/#webgui [+o preaction] by ChanServ | 19:37 |
| @perlmonkey2 | Is there someone I should get approval of before I alter a template? The Shelf template has wrapping issues caused by the View Cart div's css. I simply put the products and the view cart in a table on two different rows. Looks like it completely resolved the issue locally, but I want to make sure it passes muster with the WG designers. | 19:39 |
| perlDreamer | perlmonkey2, you could check with either Tabitha or Steve | 19:39 |
| @perlmonkey2 | perlDreamer: cool, thanks :) | 19:39 |
| topsub | just fyi, it seems if you add a product to the shopping cart, then delete the product. the cart doesn't work after that | 19:42 |
| @perlmonkey2 | topsub: interesting, I'll check it out | 19:43 |
| topsub | i clear the cart, and cartItems tables and it works again | 19:43 |
| @perlmonkey2 | topsub: hmm, probably a bug, but probably not an important one. How often will users be purchasing something and then have the site delete that item? | 19:45 |
| topsub | rare.. but just wanted you guys to know about it | 19:45 |
| perlDreamer | perlmonkey2, what if the user deletes the product, then tries to add another one? | 19:51 |
| perlDreamer | that's a much more common use case | 19:51 |
| @perlmonkey2 | perlDreamer: I'm not sure I follow. Customers can't create products. And why would a site admin be purchasing something from their site? | 19:53 |
| perlDreamer | topsub said that if you add a product to the cart, then delete the product. Did he mean delete the asset, or remove the product (item) from the cart? | 19:53 |
| @perlmonkey2 | corse I just completed a purchase (with receipt) of an item I'd just deleted. | 19:53 |
| @perlmonkey2 | I thought he meant delete the asset. | 19:54 |
| @perlmonkey2 | ? | 19:54 |
| perlDreamer | ah, in that case, my bad | 19:54 |
| topsub | like delete the product.. asset | 19:54 |
| topsub | so the product isn't in the system anymore | 19:54 |
| @perlmonkey2 | but a products purge should probably remove it from all carts | 19:55 |
| @perlmonkey2 | topsub: wait until monday to report that bug :D | 19:56 |
| perlDreamer | carts are tied to sessionIds, so it can't do that without manually scanning every cart in the system | 19:56 |
| perlDreamer | it's better to trap it in viewing the cart | 19:56 |
| perlDreamer | and display a message to the user | 19:56 |
| perlDreamer | "UR CARTZ IS BOR KED! HAHAHA!" | 19:56 |
| @preaction | is there not a cartItem table it could delete from? | 19:56 |
| perlDreamer | JSON? | 19:57 |
| @preaction | you're joking... | 19:57 |
| perlDreamer | I'm scared, and checking | 19:57 |
| * perlmonkey2 fears the JSON | 19:57 |
| perlDreamer | nope, it's a column | 19:57 |
| @perlmonkey2 | We need a 1337 way of spelling JSON | 19:57 |
| perlDreamer | JAYSAWN | 19:57 |
| @perlmonkey2 | hah, I like | 19:58 |
| @preaction | J50N | 19:58 |
| @perlmonkey2 | doh! | 19:58 |
| perlDreamer | ]50N | 19:58 |
| @perlmonkey2 | I like both. Now when we need a disparaging way of referring to JSON, there you go | 19:58 |
| perlDreamer | ]5()N | 19:58 |
| perlDreamer | ]5()|\| | 19:59 |
| @perlmonkey2 | okay that last just sums it all up | 19:59 |
| juan | i have a problem with the dataform | 20:00 |
| @perlmonkey2 | juan: hopefully not with dates or datetimes? | 20:00 |
| juan | i was using WebGUI 7.4.18 and i am creating an application using dataforms | 20:01 |
| perlDreamer | juan, have you searched the buglist to see if the problem has been reported (or fixed)? | 20:01 |
| juan | i have created some fields as displayed type and in its default values i have put some html code that is showed correctly | 20:02 |
| @perlmonkey2 | only 12 bugs left that I haven't resolved or ruled out my ability to resolve. Whew, I'm on fire. | 20:02 |
| juan | now i updated to the latest version and that fields don't show me the html correctly | 20:02 |
| perlDreamer | perlmonkey2: yung has closed 2-3 today, too | 20:03 |
| @perlmonkey2 | today is looking like it will be a really good day. | 20:03 |
| juan | it is showing me the html tags | 20:04 |
| @perlmonkey2 | juan what type of data is showing the html tags? | 20:06 |
| @perlmonkey2 | oh, sorry, just read your previous | 20:06 |
| * perlDreamer mutters "cross-site scripting prevention" | 20:07 |
| perlDreamer | and suggests reading through the changelog | 20:07 |
| juan | displayed | 20:07 |
| @perlmonkey2 | juan: bear with a moment, but I don't see that you can set a field type to "displayed" | 20:08 |
| juan | i created some fields type displayed in 7.4.18 and in its default value, i put html code and it was showed correctly | 20:08 |
| @perlmonkey2 | so the status is displayed, what is the type? | 20:09 |
| juan | excuseme | 20:09 |
| juan | yes | 20:10 |
| juan | status | 20:10 |
| juan | the type is text | 20:10 |
| juan | and now in the latest version of webgui the fields don't convert the tags | 20:12 |
| @preaction | you mean they do convert the tags, since they're not displaying as they were before. | 20:13 |
| juan | is showing the html code | 20:13 |
| @preaction | the previous behavior was an unintended feature. there was a bug in the DataForm that was fixed, but now your unintended feature is gone | 20:14 |
| @preaction | if you're on the latest version, you should check out Thingy | 20:14 |
| @preaction | it will probably let you do what you want | 20:14 |
| -!- SDuensin [n=Scott@179.sub-75-205-236.myvzw.com] has quit [Read error: 110 (Connection timed out)] | 20:15 |
| juan | mmmm | 20:15 |
| juan | so, i can not combine fields types and status to show a html code | 20:16 |
| juan | in the latest version | 20:16 |
| @preaction | apparently not. can you put an HTML Area in a dataform? | 20:17 |
| juan | i am going to verify with html area | 20:18 |
| -!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI | 20:24 |
| elnino | hi! Got another possible gig. Would the ecommerce portion of webgui allow selling of collateral? ebooks, mp3, and other downloads? She also would like to only allow the user to download for a specific time period.- Which I believe would have to be custom. | 20:25 |
| perlDreamer | elnino, I think so. You would use a Subscription to add the user to a group. Downloaded content would be viewable only by that group. The subscription would need to end the right way, that's the part I'm not sure about. | 20:28 |
| @perlmonkey2 | This sounds kind of critical. Someone with access might want to check it out: http://www.plainblack.com/bugs/tracker/transactions-appear-w/-no-item#IJsQljyGG98V-GnZ3OUykw | 20:28 |
| @perlmonkey2 | perlDreamer: how would you trigger the subscriptions end upon a download? | 20:29 |
| perlDreamer | perlmonkey2, that's the stickler. | 20:29 |
| elnino | hmmm. I guess don't know about subscriptions. | 20:29 |
| elnino | like with a work flow? | 20:30 |
| perlDreamer | they're in 7.5.10 and above | 20:30 |
| elnino | figures. | 20:30 |
| perlDreamer | there are subscriptions in 7.4, too | 20:30 |
| perlDreamer | but I don't know if they work the same or not | 20:30 |
| @perlmonkey2 | preaction: Do you think I should bump Kristi's successful transaction with no recorded item bug to the staff email? | 20:31 |
| @preaction | perlmonkey2, the people who would look at it aren't here today, so you might just want to take a look and see what you can do | 20:33 |
| @perlmonkey2 | preaction: I don't have access to the Shop on PB. | 20:33 |
| -!- tavisto [n=tavisto@pool-71-120-147-81.gdrpmi.dsl-w.verizon.net] has quit [] | 20:36 |
| elnino | darn, I had a question for tavis too. | 20:37 |
| perlDreamer | elnino, whang it on out there anyway | 20:38 |
| @preaction | perlmonkey2, do you have AIM or something? | 20:39 |
| elnino | I'm assuming that on the single hosting plan that plain black has, I'm not able to do custom code stuff like this. Just wondeirng if I would if I did the reseller package. | 20:39 |
| @perlmonkey2 | preaction: yes sire | 20:39 |
| perlDreamer | On any shared hosting, no custom code. | 20:39 |
| perlDreamer | On the reseller package, you'd have to ask Tavis that one. It depends on how it's set up. | 20:40 |
| @preaction | resellers, if i'm not mistaken, get a custom box. but i'm not sure if we allow custom code | 20:40 |
| perlDreamer | However, if you can get your "custom" code into WebGUI, then it would work on shared hosting. | 20:40 |
| elnino | that of course assumes I have time to setup a box at home.to even do it. READ: I dont' have a dev box yet. I know. Bad. | 20:41 |
| elnino | are subscriptions for, like, newletter signups? | 20:43 |
| perlDreamer | In WebGUI, subscriptions give you time limited access to groups. | 20:43 |
| perlDreamer | What you do with the groups is up to you. | 20:44 |
| elnino | oh. that seems handy.. is there affliate program (like banner ads) management? | 20:44 |
| perlDreamer | Yes x 2. | 20:45 |
| perlDreamer | There is ad management | 20:45 |
| elnino | cool. | 20:45 |
| perlDreamer | and you can handle affiliation, but I'm not familiar with that part of wG. | 20:45 |
| elnino | ok. If I set up anther beta site, can have it for more than just a day? I need to see if what she wants is doable. | 20:46 |
| perlDreamer | elnino, why not download a copy of the WRE and set up a dev box on your laptop/desktop? | 20:46 |
| elnino | because I'm afaid =) . my first and *only* experience in installing webgui took me 3 weeks @ full time, because I coudn't use WRE, and it's been as solid as a rock since. (READ: no back upsystem, I know... very bad) | 20:48 |
| perlDreamer | makes sense | 20:48 |
| elnino | and my laptop is microsoft as opposed to linux, which is what i"m used to as far as webgui goes. | 20:49 |
| -!- tavisto [n=tavisto@pool-71-120-147-81.gdrpmi.dsl-w.verizon.net] has joined #WebGUI | 20:49 |
| -!- mode/#webgui [+o tavisto] by ChanServ | 20:49 |
| perlDreamer | How about a Linux VM on top of Windows? VirtualBox from Sun is free. | 20:49 |
| elnino | oh hi tavis! another question... does the reseller program give you a shared box or custom box? | 20:50 |
| -!- SDuensin [n=Scott@184.sub-75-204-86.myvzw.com] has joined #WebGUI | 20:54 |
| elnino | perldreamer. linuxvm - doesnt your hardware have to be able to support that? | 21:09 |
| @perlmonkey2 | elnino: I think VM servers like VMWare barely use any extra resources as apposed to running linux on bare metal. So the system requirements shouldn't go up very much. | 21:12 |
| elnino | mabe I'm getting mixed up with virtual pc... Which Linux platform to you recommend in the virual box? do you use it currently? | 21:12 |
| -!- knowmad [n=william@97.66.185.250] has joined #webgui | 21:13 |
| knowmad | Can WebGUI do SMTP authentication against an outgoing mail server? | 21:15 |
| @perlmonkey2 | elnino: personally I use RH or its no support free version CentOS for my WRE/WG instances. But I believe Debian is about to support it as an included package. | 21:21 |
| -!- tavisto [n=tavisto@pool-71-120-147-81.gdrpmi.dsl-w.verizon.net] has quit [] | 21:22 |
| elnino | oh.. so are there only certain OSs that WRE supports (or vise versa?) | 21:25 |
| elnino | never mind. I see it on the website.. | 21:26 |
| elnino | What's the VMWare.. Is that a VM+Webgui bundled in one thing? | 21:26 |
| @perlmonkey2 | elnino: no, vmware would be something you could run in windows that would contain a linux instance. So it would be linux running in a window inside of Windows. | 21:29 |
| @perlmonkey2 | Although a production WG instance should probably be on dedicated hardware, so I don't know why you would want to do this. | 21:29 |
| * perlmonkey2 goes to read through the previous comments to see how we got here. | 21:30 |
| elnino | isn't that what a linuxvm is on top of windows? I"m just looking at this for dev purposes. | 21:31 |
| @perlmonkey2 | sure, that would work fine. | 21:31 |
| @perlmonkey2 | someone should build an image all set up to go and post it for download :) | 21:32 |
| elnino | is the vmware appliance 7.5.x? | 21:32 |
| elnino | i mean, does the vmware appliance contain the latest webgui? | 21:33 |
| elnino | no. nevermind. it looks like iss 7.4.25 | 21:33 |
| elnino | so I'm back to virtual box from sun with a WRE. right? | 21:34 |
| elnino | and a linux os of my choice. | 21:34 |
| @perlmonkey2 | elnino: I don't know about any vm with animage that already contains the WRE. | 21:34 |
| elnino | right, Three different installs. | 21:34 |
| elnino | so to make sure, because this is all new, on my windows vista or xp machine (haven'tdecided which) I install virtualbox from sun, then install mostlikely redhat, then install WRE. | 21:39 |
| -!- SDuensin_ [n=Scott@245.sub-75-205-25.myvzw.com] has joined #WebGUI | 21:41 |
| @perlmonkey2 | elnino: I'm unsure about virtualbox or how it works, but if it will run linux os on a windows host, then you should be able to run the WRE inside of it. | 21:42 |
| elnino | yep. perldreamer suggested virtualbox. and that's my understanding. | 21:45 |
| -!- SDuensin [n=Scott@184.sub-75-204-86.myvzw.com] has quit [Read error: 110 (Connection timed out)] | 21:53 |
| knowmad | perlDreamer: does the Send.t mail test actually send or queue emails? I need to test outgoing mail processing on a server. | 21:56 |
| knowmad | i don't see either method being called :( | 21:57 |
| knowmad | btw, i'm looking a 7.4.40 release | 21:57 |
| -!- CIA-6 [n=CIA@208.69.182.149.simpli.biz] has joined #WebGUI | 22:18 |
| perlDreamer | knowmad, t/Mail/Send.t does send emails | 22:31 |
| perlDreamer | in 7.5 | 22:31 |
| perlDreamer | no reason you couldn't backport the test to 7.4 if you needed | 22:31 |
| perlDreamer | it tries to start a little dummy SMTP server in t/smptd.pl | 22:31 |
| knowmad | perlDreamer: excellent | 22:32 |
| knowmad | another question: does 7.5 support smtp auth? i'm needing to send mail using PLAIN auth against an external SMTP server | 22:33 |
| knowmad | it looks like Net::SMTP can do it but i want to test | 22:33 |
| knowmad | there's also Net::SMTP::TLS | 22:33 |
| perlDreamer | No idea on that one, knowmad | 22:34 |
| perlDreamer | offhand, if there's no username and password fields in the settings I would say that it doesn't | 22:35 |
| perlDreamer | but that's pure guessing | 22:35 |
| @preaction | no, it doesn't | 22:35 |
| @preaction | but there's an RFE out for it, and it shouldn't be too difficult to add really | 22:35 |
| perlDreamer | in other words, patches welcome? :) | 22:36 |
| topsub | hmm how can i populate a session with cart items so i can test a macro? I am adding children, then applying Options. but doesn't seem to get set back to the session? | 22:36 |
| @preaction | essentially | 22:36 |
| perlDreamer | sessions don't have cartItems | 22:37 |
| topsub | hmmm.. | 22:38 |
| perlDreamer | knowmad: here's that RFE | 22:38 |
| perlDreamer | http://www.webgui.org/rfe/request-for-enhancement/smtp-authentication-missing#Pavd_CrL5VkGCZGlNXH_Lw | 22:38 |
| perlDreamer | it even has a rudimentary patch | 22:38 |
| perlDreamer | since the RFE is ranked, once there's a patch there's no reason it couldn't be added | 22:39 |
| perlDreamer | especially if there was a test for it :) | 22:39 |
| -!- elnino_laptop [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI | 22:40 |
| perlDreamer | okay, now I'm really going to get some lunch | 22:43 |
| topsub | When i add items to cart it will be linked based on the session right? | 22:43 |
| -!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has quit [Connection timed out] | 22:44 |
| topsub | so when i create a test session. add a product asset and applyoptions then add it to cart, then pass the session along to my macro to test items in the cart | 22:44 |
| @preaction | that sounds like it should work | 22:45 |
| topsub | when i do the my $cart = WebGUI::Shop::cart->newBySession($session). it contains something i'm not expecting which makes me think i am doing soemthing wrong | 22:46 |
| topsub | it outputs "bless( do{\(my $o = undef)}, 'WebGUI::Shop::CartItem' );" | 22:46 |
| @preaction | so it's giving you a WebGUI::Shop::CartItem object | 22:47 |
| topsub | ah, so thats the cartitem object? | 22:47 |
| @preaction | no, that's not how it should work | 22:48 |
| @preaction | it's WebGUI::Shop::Cart->newBySession( $session ); right? capital-C on Cart | 22:48 |
| topsub | correct | 22:49 |
| @preaction | and when you use Data::Dumper to take a look, it's blessed into WebGUI::Shop::Cart, right? | 22:51 |
| CIA-6 | WebGUI: yung * r7163 /WebGUI/docs/ (2 files in 2 dirs): fixed: EMS Formatting (Badge Page) | 22:52 |
| CIA-6 | WebGUI: yung * r7164 /WebGUI/ (docs/changelog/7.x.x.txt www/extras/wobject/Thingy/thingy.js): fixed: Thingy fields list on view screen tab | 22:52 |
| CIA-6 | WebGUI: tabitha * r7165 /WebGUI/docs/upgrades/packages-7.5.19/root_import_shelf2_shelf.css.wgpkg: Fixed wrapping problem in shelf css by standardizing box size for the product | 22:52 |
| CIA-6 | WebGUI: chrisn * r7166 /WebGUI/ (3 files in 3 dirs): Fixed: Thingy importing with newlines embedded in CSV fields | 22:52 |
| topsub | when i ... print Dumper(@{$cart->getItems});.. bless( do{\(my $o = undef)}, 'WebGUI::Shop::CartItem' ); | 22:52 |
| topsub | then when i Data::Dump the item from a foreach loop its the same WebGUI::Shop::CartItem.. hmm | 22:53 |
| topsub | doesn't seem right | 22:53 |
| @preaction | oh, getItems returns a bunch of WebGUI::Shop::CartItems, yes | 22:53 |
| @preaction | that's right | 22:53 |
| topsub | i want to get opitions from each item | 22:54 |
| topsub | when i loop over the CartItems i want to say get a certain json option | 22:55 |
| @preaction | options meaning from the underlying Product asset? | 22:55 |
| topsub | yes | 22:55 |
| @preaction | first, did you try CartItem->get( "options" )? | 22:56 |
| elnino_laptop | when you roll back a version tag, they don't go to the "working version tags" do they? | 22:56 |
| @preaction | otherwise, CartItem->getSku will get you the Product asset | 22:56 |
| @preaction | elnino_laptop, no. all revisions in there get purged, unrecoverable | 22:56 |
| elnino_laptop | k. and there isn't a why to deny after it's already been approved, right? | 22:56 |
| elnino_laptop | s/why/way | 22:57 |
| topsub | then from getSku i can get the options? | 22:57 |
| topsub | almost something like.. http://webgui.pastebin.com/m29df4138 | 22:58 |
| @preaction | topsub, getSku gives you a WebGUI::Asset::Sku subclass. that's the actual product asset | 22:58 |
| @preaction | elnino_laptop, no, there is currently no way to "de-commit". I want to add one though. It might go into 7.6 if I have time | 22:59 |
| elnino_laptop | ok. Thanks for confirming. | 22:59 |
| perlDreamer | topsub, that's Class::InsideOut | 22:59 |
| perlDreamer | No more hacking inside objects | 22:59 |
| perlDreamer | it's either API, or nada | 22:59 |
| * apeiron gives CIA-6 a decongestant. | 23:00 |
| @preaction | perlmonkey2, can i bug you about your forceSecureConnection sub for a bit? | 23:01 |
| knowmad | OK, i'm looking for an alternative to SMTP authentication and am thinking about using the built-in messaging system. | 23:03 |
| -!- elnino_laptop [n=elnino@user-38q49cv.cable.mindspring.com] has quit ["Leaving"] | 23:03 |
| knowmad | What's the library that handles internal messaging? | 23:05 |
| @preaction | WebGUI::Inbox | 23:05 |
| @preaction | WebGUI::Inbox::Send i think | 23:05 |
| knowmad | thanks | 23:06 |
| perlDreamer | knowmad, I don't think WebGUI does purely internal messaging | 23:06 |
| perlDreamer | Everything in the Inbox also goes out over SMTP | 23:06 |
| @preaction | perlDreamer, that's a side-effect, only if the user has an e-mail specified and wants them to go out | 23:07 |
| topsub | my options is coming back null so i think my test cart i am trying to fake is wrong | 23:08 |
| @preaction | topsub, pastebin your latest code somewhere? | 23:08 |
| knowmad | i don't really care if it goes out as it's going into the cyber bit bucket; i just need another mechanism for getting a message to the client | 23:09 |
| topsub | test is above and macro below.. | 23:09 |
| topsub | http://webgui.pastebin.com/m320c2f11 | 23:09 |
| knowmad | once we get SMTP working, then the client should be really happy | 23:10 |
| -!- tavisto [n=tavisto@pool-71-120-147-81.gdrpmi.dsl-w.verizon.net] has joined #WebGUI | 23:11 |
| -!- mode/#webgui [+o tavisto] by ChanServ | 23:11 |
| perlDreamer | topsub, no variants | 23:11 |
| perlDreamer | you need to add variants to a Product | 23:11 |
| topsub | hmm.. | 23:12 |
| perlDreamer | what you're trying might work, but it's not the "front door" | 23:12 |
| topsub | we are pushing extra json objects into the options column in cartItems andwe want to pull out the extra items.. Thought apply options would allow me to just directly populate that column | 23:13 |
| topsub | well extra items into the json | 23:13 |
| knowmad | perlDreamer: are you talking to topsub or me? ;) | 23:13 |
| perlDreamer | to topsub, knowmad | 23:13 |
| CIA-6 | WebGUI: chrisn * r7167 /WebGUI/lib/WebGUI/Asset/Wobject/Thingy.pm: Remove trailing whitespace. | 23:31 |
| -!- topsub [n=josh@97.66.185.250] has quit ["Leaving"] | 23:51 |
| -!- SDuensin_ [n=Scott@245.sub-75-205-25.myvzw.com] has quit ["Leaving"] | 23:52 |
| --- Day changed Wed Aug 06 2008 |
| -!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has joined #webgui | 00:00 |
| -!- mode/#webgui [+v MrHairgrease] by ChanServ | 00:00 |
| perlDreamer | MrHairgrease, you big graduated Eurotrash Monster. | 00:13 |
| +MrHairgrease | *Fashionable* Eurotrash Monster | 00:14 |
| +MrHairgrease | what's up? | 00:14 |
| perlDreamer | Hacking chips | 00:14 |
| +MrHairgrease | nice | 00:14 |
| +MrHairgrease | so you have to do stuff for $dayjob again? | 00:14 |
| perlDreamer | yeah, too much now | 00:14 |
| perlDreamer | Working overtime is optional. You either do it, or get fired. | 00:14 |
| +MrHairgrease | that's what you get for months of inactivity I guess... | 00:15 |
| +MrHairgrease | hehe | 00:15 |
| +MrHairgrease | Sounds like you need to go work for oqapi | 00:15 |
| perlDreamer | Why don't you hire me to be your loyal perl serf? | 00:15 |
| +MrHairgrease | Since I'm Joeri's slave | 00:15 |
| +MrHairgrease | consequently he does the hiring | 00:15 |
| perlDreamer | Random question: What one thing about WebGUI pisses you off the most? | 00:16 |
| +MrHairgrease | JT | 00:16 |
| +MrHairgrease | =) | 00:16 |
| perlDreamer | aw, he's not even hire to kick you out of the channel | 00:16 |
| +MrHairgrease | just kidding of course | 00:16 |
| +MrHairgrease | too bad he's not here | 00:16 |
| perlDreamer | How about codewise? | 00:16 |
| +MrHairgrease | hmm | 00:16 |
| +MrHairgrease | well | 00:17 |
| +MrHairgrease | while making my graphing pluging talk... | 00:17 |
| +MrHairgrease | ..I was totally pissed off about the plugins work | 00:17 |
| +MrHairgrease | Instead of the hip definition {} method | 00:17 |
| +MrHairgrease | it was built around the (at that time more common) getEditForm /processEditFrm tc methods | 00:18 |
| +MrHairgrease | which results in needless codeduplication | 00:18 |
| +MrHairgrease | i mean | 00:18 |
| perlDreamer | yes | 00:18 |
| +MrHairgrease | it's easy to make plugins all the same | 00:18 |
| +MrHairgrease | but it could be more easy | 00:18 |
| +MrHairgrease | and | 00:18 |
| +MrHairgrease | more importantly | 00:18 |
| +MrHairgrease | less tedious | 00:19 |
| +MrHairgrease | and error prone | 00:19 |
| perlDreamer | You know that's possible now? I added an automatic form builder to HTMLForm | 00:19 |
| perlDreamer | you pass it a data structure | 00:19 |
| +MrHairgrease | I figure in the next major I can add a definition system though | 00:19 |
| perlDreamer | that looks suspiciuosly like a definition system | 00:19 |
| +MrHairgrease | yeah I know | 00:19 |
| perlDreamer | and it just works | 00:19 |
| +MrHairgrease | indeed | 00:19 |
| +MrHairgrease | but still some stuff needs to be changed I guess | 00:20 |
| +MrHairgrease | anyway | 00:20 |
| +MrHairgrease | I'm gonna look into that a bit more and add that to my presentation | 00:20 |
| perlDreamer | cool | 00:20 |
| perlDreamer | I think we need a yearly API update for developers | 00:20 |
| perlDreamer | "What's new in WebGUI this year" | 00:20 |
| +MrHairgrease | as far as complaints of important parts of the code are concerned | 00:21 |
| +MrHairgrease | I'm not really sure | 00:21 |
| @perlmonkey2 | who needs a beer fax? | 00:21 |
| +MrHairgrease | I have been so busy doing all this graduation stuff and finishing my part of C2 in time | 00:21 |
| @perlmonkey2 | 1:40 until beer thirty. | 00:21 |
| +MrHairgrease | that I didn't kept up to date with all the changes as much as I should | 00:22 |
| +MrHairgrease | beer! | 00:22 |
| +MrHairgrease | good idea | 00:22 |
|
|---|