--- 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 |
knowmad | perlDreamer ++ | 00:22 |
@perlmonkey2 | MrHairgrease: it should be well past beer thirty at your locale | 00:22 |
+MrHairgrease | what do you mean by 1:40 until beer thirty. btw | 00:22 |
@perlmonkey2 | 1 hour 40 minutes :D | 00:22 |
@perlmonkey2 | or 6pm here | 00:23 |
+MrHairgrease | you only start drinking at 6?? | 00:23 |
@perlmonkey2 | which is my attempt at an extra bit of humor as beer thirty would be falling on an hour. | 00:23 |
+MrHairgrease | you have some serious problem in the usa =) | 00:23 |
perlDreamer | I'll see if I can work a little API update into my Common WebGUI Programming mistakes talk | 00:23 |
perlDreamer | since it would be a mistake not to use the new API :) | 00:23 |
@perlmonkey2 | MrHairgrease: well, when I'm employed and talking on a channel full of coworkers, that's all i'll admit to :P | 00:23 |
+MrHairgrease | hehe | 00:24 |
+MrHairgrease | you should start working for oqapi too | 00:24 |
+MrHairgrease | =)\ | 00:24 |
perlDreamer | Is oqapi hiring? | 00:24 |
+MrHairgrease | dunno | 00:24 |
+MrHairgrease | as joeri | 00:24 |
+MrHairgrease | sk* | 00:24 |
+MrHairgrease | ask* | 00:24 |
* perlDreamer thinks you need more beer | 00:24 |
* MrHairgrease thinks so too | 00:24 |
perlDreamer | it's 10:30 over in the Netherlands? | 00:25 |
perlDreamer | or am I a timezone off? | 00:25 |
+MrHairgrease | hang on while I walk to the fridge | 00:25 |
+MrHairgrease | 11:30 | 00:25 |
@perlmonkey2 | that's the problem, I hear about a good job and then some guru comes stomping over me to take it (perlDreamer) | 00:25 |
perlDreamer | You can't have _all_ the choice jobs, perlmonkey2 | 00:25 |
@perlmonkey2 | perlDreamer: When I'm King for a day, I'll give *all* choice jobs to myself! | 00:25 |
knowmad | has anyone used WebGUI::Inbox::Message to send an internal email? | 00:26 |
perlDreamer | Sorry knowmad, no. | 00:26 |
+MrHairgrease | nope | 00:26 |
+MrHairgrease | pd: what part do you hate most? | 00:26 |
knowmad | well, me either! it's not working ;-) | 00:27 |
@preaction | knowmad, ask your question perhaps? | 00:27 |
+MrHairgrease | codewise | 00:27 |
perlDreamer | MrHairgrease, I'd tell you, but that would ruin my presentation :) | 00:27 |
perlDreamer | It's game show style | 00:27 |
+MrHairgrease | WHEEL | 00:27 |
perlDreamer | I put up bad code, first person with the correct answer wins | 00:27 |
+MrHairgrease | OF | 00:27 |
+MrHairgrease | FORTUNE!!! | 00:27 |
+MrHairgrease | oh cool | 00:27 |
knowmad | best i can come up with (besides how to do it) is whether I need to be sending some other parameters to addMessage() method besides subject, message, userId, and status | 00:27 |
+MrHairgrease | I once attended something like that at the Dutch Perl Workshop | 00:28 |
perlDreamer | I was going to use chocolate as the prize, but for you I'll add in a beer. | 00:28 |
+MrHairgrease | that were hard problems | 00:28 |
+MrHairgrease | woot | 00:28 |
knowmad | i'll be there | 00:28 |
@perlmonkey2 | beer and chocolate? no fair, pd will be stealing all the attendees. | 00:29 |
+MrHairgrease | knowmad: did you try grepping the codebase | 00:29 |
knowmad | preaction: anything i need to do after calling addMessage? | 00:29 |
+MrHairgrease | and see the thing in action? | 00:29 |
perlDreamer | ->send ? | 00:29 |
knowmad | yeah, that's where i found the example in activity that notifies of pending commits | 00:29 |
+MrHairgrease | and that works right | 00:29 |
knowmad | doh! | 00:30 |
+MrHairgrease | I know it does in 7.4.something | 00:30 |
knowmad | looks like create on Inbox returns a wg::Mail::Send object | 00:30 |
@preaction | knowmad, looks like no. there's no method in WebGUI::Inbox::Message for "sending" or anything | 00:30 |
perlDreamer | right. You send what it returns | 00:30 |
+MrHairgrease | yeah | 00:31 |
+MrHairgrease | that makes sense | 00:31 |
knowmad | preaction: that's what i thought but i think pd might be onto something | 00:31 |
knowmad | need to look at it again tonite | 00:31 |
knowmad | time to close down shop | 00:31 |
perlDreamer | knowmad, I guess we need an Inbox test, too :( | 00:31 |
knowmad | yep, i think that'd be good | 00:32 |
knowmad | it's just that i'm working on an old version of 7.4 | 00:32 |
knowmad | on windows across RDP | 00:32 |
CIA-6 | WebGUI: frank * r7168 /WebGUI/ (4 files in 4 dirs): Fixed issue where keywords field is not available in Form post tempalte | 00:32 |
perlDreamer | oy | 00:33 |
+MrHairgrease | ha | 00:33 |
+MrHairgrease | some people have all the fun | 00:33 |
knowmad | using a left-handed mouse that reverts to being right-handed in Windoze | 00:33 |
perlDreamer | and typing uphill on the way to and from work? | 00:33 |
+MrHairgrease | while running on a treadmill to power the box? | 00:33 |
knowmad | joy joy! | 00:33 |
knowmad | MHG: you got it, my friend | 00:33 |
perlDreamer | It's going to be good to see you guys again | 00:33 |
knowmad | yup | 00:34 |
knowmad | cheers; ya'll have a good evening | 00:34 |
-!- knowmad [n=william@97.66.185.250] has left #webgui [] | 00:34 |
+MrHairgrease | Hear hear! I also like to see myself | 00:34 |
@perlmonkey2 | Okay, this is a bit disturbing. I've updated the wre, and wg to the latest. Deleted my site and used the wreconsole to build another. non-admin users no longer can purchase products, only admin is offered the ability to pay. | 00:43 |
perlDreamer | check groupToUse in the Payment Methods in the Shop settings | 00:43 |
@perlmonkey2 | Everyone | 00:44 |
@perlmonkey2 | for cash | 00:44 |
@perlmonkey2 | everyone for itransct | 00:44 |
perlDreamer | anything in webgui.log? | 00:44 |
@perlmonkey2 | nothign | 00:45 |
perlDreamer | I gotta go to a meeting, I'll be back in a while | 00:46 |
+MrHairgrease | also be sure to check the modperl log | 00:46 |
@perlmonkey2 | I guess I'll trace it to see where it is failing, but I was really hoping there was some new functionality I hadn't heard of yet. I'm supposed to be closing tickets, not creating htem :P | 00:46 |
+MrHairgrease | somehow some errors tend to end up in ther | 00:46 |
@perlmonkey2 | MrHairgrease: I keep a tab open with 'tail -f /data/wre/var/logs/*' to see everythign :P | 00:46 |
+MrHairgrease | ok | 00:46 |
+MrHairgrease | It used to work right? | 00:46 |
@perlmonkey2 | yes | 00:47 |
@perlmonkey2 | shouldn't take me long to put a trace in it and see wha'ts going on.... | 00:47 |
+MrHairgrease | then what you could try to trace it more quickly is take a diff of the files in the Shop dir | 00:47 |
@perlmonkey2 | good poitn | 00:47 |
+MrHairgrease | against a rev in which it did stilll work | 00:47 |
+MrHairgrease | i guess you know about svnweb right? | 00:48 |
@perlmonkey2 | yep | 00:48 |
@perlmonkey2 | wait | 00:48 |
@perlmonkey2 | svnweb? | 00:48 |
@perlmonkey2 | a web interface? | 00:48 |
+MrHairgrease | https://svn.webgui.org/svnweb/plainblack/browse/WebGUI/lib/WebGUI/Shop/ | 00:48 |
@perlmonkey2 | well that is really nice | 00:49 |
+MrHairgrease | superhandy | 00:49 |
+MrHairgrease | i use it all the time | 00:49 |
+MrHairgrease | use the revision log link top left | 00:50 |
-!- ShortWave [n=bobbypar@unaffiliated/shortwave] has joined #webgui | 00:50 |
@perlmonkey2 | nice | 00:50 |
@perlmonkey2 | bookmarked :) | 00:50 |
-!- khenn [n=khenn@71-86-227-90.static.mdsn.wi.charter.com] has quit [] | 00:53 |
-!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI | 00:54 |
@perlmonkey2 | perlDreamer: you were right, this user can't use the gateway, but I'm not sure why since "everyone" can use it. | 00:59 |
@perlmonkey2 | but gateway->canuse is 0 | 00:59 |
* perlDreamer does a svn blame, and starts to sweat | 01:02 |
* MrHairgrease only praises pd | 01:02 |
@perlmonkey2 | $self->get('groupToUse') is......{play big reveal music}....undef! | 01:04 |
perlDreamer | the JSON in the db looks bad | 01:06 |
perlDreamer | it's missing fields | 01:06 |
perlDreamer | label, enabled, saleNotificationGroupid | 01:06 |
perlDreamer | It's in the create.sql script that way | 01:10 |
@perlmonkey2 | oh noes | 01:11 |
perlDreamer | that means it's in 7.5.18 | 01:11 |
-!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"] | 01:11 |
+MrHairgrease | but only for newly crerated sites | 01:11 |
+MrHairgrease | so the scope is limited | 01:11 |
+MrHairgrease | not saying that it's not bad | 01:12 |
@perlmonkey2 | perlDreamer: are you talking to me about the paymentGateway options column? | 01:12 |
perlDreamer | yes | 01:12 |
-!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has joined #webgui | 01:12 |
@perlmonkey2 | because those keys aren't in there. I see receiptEmailTemplateId with a value and groupToUse as null | 01:12 |
perlDreamer | right | 01:12 |
perlDreamer | there should be other fields, too | 01:12 |
@perlmonkey2 | so all those keys you mentioned should ...okay | 01:12 |
-!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has quit [Read error: 110 (Connection timed out)] | 01:13 |
perlDreamer | it's that way in 7.5.13 | 01:14 |
@perlmonkey2 | A) I can reverse eng what needs to be in there or B) someone can post some JSON from their handy dandy working gateways or C) some extremely helpful, generous, and exceptional citizen could resolve this. | 01:14 |
+MrHairgrease | pm2: check PayDriver->definition | 01:14 |
@perlmonkey2 | k | 01:14 |
+MrHairgrease | those fields are in there | 01:14 |
+MrHairgrease | so they also should be in the json | 01:15 |
perlDreamer | It needs to be posted as a bug, and then fixed | 01:15 |
@perlmonkey2 | perlDreamer: okay, but it will be top on my list since it is impeding my other fixing of da bugs | 01:15 |
+MrHairgrease | prolly clicking save in the paydriver edit screnn will fix it | 01:15 |
perlDreamer | it looks like an upgrade problem from 7.5.10/11 | 01:15 |
perlDreamer | they were created that way, since they're in the upgrade script | 01:15 |
perlDreamer | but if the default site never had a configured payment gateway, then it's only a setup problem. | 01:16 |
@perlmonkey2 | MrHairgrease++ | 01:16 |
+MrHairgrease | yeah that must be it | 01:16 |
@perlmonkey2 | okay, that bug goes to the bottom of the list. | 01:16 |
+MrHairgrease | i wrote the stuff in the upgradescript that converts payment gateways from the old to the new system | 01:16 |
perlDreamer | I might try fixing it tonight | 01:16 |
+MrHairgrease | and it worked when i checked it | 01:16 |
-!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI | 01:18 |
elnino | hi. could webgui do fee-based membership for forums and such? | 01:18 |
+MrHairgrease | yes | 01:19 |
+MrHairgrease | set up a subscrition for a group | 01:19 |
perlDreamer | elnino, subscriptions -> groups again | 01:19 |
topsub | Doesn't seem to be an easy way to grap the options from the cartItems table and display them on the page? | 01:19 |
+MrHairgrease | and then make the cs only visible for that group | 01:19 |
topsub | Seems i need to rebuild the whole view cart page to do this | 01:20 |
elnino | is topsub responding to me, or is that a different conversation I interrupted? | 01:20 |
elnino | I gues I have to seriously look at subscriptions.. Thanks! | 01:21 |
topsub | i am kinda starting my own sorry elnino | 01:21 |
+MrHairgrease | topsub is talking about something else | 01:21 |
+MrHairgrease | i think most cart info is in json | 01:21 |
elnino | ok. Hard to tell sometimes. | 01:21 |
+MrHairgrease | but dunno for sure | 01:22 |
-!- dionak [n=dionak@97.66.185.250] has quit [] | 01:22 |
+MrHairgrease | check that in the code | 01:22 |
+MrHairgrease | if it is, you should use the api to get everything out | 01:22 |
topsub | I want to display it on the page | 01:22 |
+MrHairgrease | you could make a macro | 01:22 |
topsub | in the loop there isn't a product ID or anything i could send to the macro to know what options to pull | 01:23 |
+MrHairgrease | check out the minicart macro | 01:23 |
-!- dionak [n=dionak@97.66.185.250] has joined #webgui | 01:23 |
+MrHairgrease | what i meant is: | 01:23 |
+MrHairgrease | make a macro that WG::Ssop::Cart::getItems and the processes those in the fasion you want | 01:24 |
+MrHairgrease | anyway | 01:24 |
topsub | ya that just graps the whole cart | 01:24 |
+MrHairgrease | i think minicart does that | 01:24 |
+MrHairgrease | that's what you want right? | 01:24 |
elnino | how about a chat? how did you guys set up this? any recommendations on an invite-only chat? probably not a webgui specific question | 01:24 |
topsub | no we injected custom options into the cartITems table | 01:25 |
topsub | and i need to display them on the cart page | 01:25 |
+MrHairgrease | if there was a chat wobject you'd also use a subscription | 01:25 |
+MrHairgrease | but alas | 01:25 |
+MrHairgrease | there is o such thing | 01:25 |
+MrHairgrease | no* | 01:25 |
+MrHairgrease | topsub: not sure how to do that | 01:26 |
topsub | ya seems they limited the cart | 01:26 |
topsub | hmm maybe i should look at what page does the cart | 01:26 |
+MrHairgrease | Wg::Shop::www_view | 01:26 |
-!- juan [n=juangui@201.232.58.66] has left #webgui [] | 01:28 |
topsub | hhmmm u WebGUI::Shop->www_view? | 01:28 |
topsub | ya WebGUI::Shop::Cart->www_view | 01:29 |
+MrHairgrease | yea Cart | 01:34 |
+MrHairgrease | sry | 01:34 |
@perlmonkey2 | new bug :( I can make a cash purcahse once. After that it fails during Cart->readyForcheckout. getShippingAddress is coming back empty | 01:34 |
-!- dionak [n=dionak@97.66.185.250] has quit [] | 01:34 |
-!- dionak [n=dionak@97.66.185.250] has joined #webgui | 01:35 |
perlDreamer | perlmonkey2, that's an existing bug | 01:40 |
@perlmonkey2 | shippingAddressId is null | 01:41 |
perlDreamer | that was the template thing, right? | 01:41 |
perlDreamer | kristi and vrby both said that they could only cash once? | 01:41 |
@perlmonkey2 | no in cart.pm | 01:41 |
@perlmonkey2 | I don't think the problem is the template | 01:41 |
perlDreamer | ah, okay | 01:41 |
@perlmonkey2 | I've got it down to Cart::GetShippingAddress returning bad because $self->get("shippingAddressId") is undef | 01:42 |
+MrHairgrease | pm2: try after selecting shipping to click the button Update Cart firts | 01:42 |
@perlmonkey2 | k | 01:42 |
@perlmonkey2 | no joy :( | 01:42 |
perlDreamer | perlmonkey2, when I find new bugs, I post them and come back | 01:43 |
perlDreamer | otherwise I just end up spinning | 01:43 |
perlDreamer | unless they gate fixing the original bug | 01:43 |
perlDreamer | but then still post | 01:43 |
perlDreamer | so others know | 01:43 |
@perlmonkey2 | yeah, I need to post it, but it is stopping me from the next two bugs on my list. | 01:43 |
+MrHairgrease | uhm I meant after selkecting shippin address | 01:43 |
topsub | perlDreamer, if i just want to change one subroutine in a class. Do i just need to use base, then change the subroutine? Is there anything else i need to do? | 01:43 |
perlDreamer | topsub, that's the general idea, but it also depends on how the class is set up | 01:44 |
@perlmonkey2 | MrHairgrease: right, I thought that's what you mean :) | 01:44 |
@perlmonkey2 | t | 01:44 |
perlDreamer | topsub, for example, if it was Class::InsideOut based, you may have to make calls to the parent. | 01:48 |
topsub | ah, i really want to just overwrite the www_view on the Cart.pm | 01:49 |
topsub | Need to have it send more variables to the template | 01:49 |
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Connection timed out] | 01:51 |
perlDreamer | what kind of variables? Would we want these in _all_ templates, for example? | 01:51 |
perlDreamer | Not just the uber-powerfall Knowmad templates? | 01:51 |
perlDreamer | catching my drift? | 01:51 |
topsub | Gonna change it to send all the JSON to the template | 01:52 |
topsub | vs just the hardcoded things now | 01:52 |
perlDreamer | topsub, I would recommend taking a look at Shop/CartItem.pm, the get method | 01:53 |
perlDreamer | Seems strange that you would get returned a JSON string as a template variable | 01:54 |
topsub | well i want to set each JSON variable as a variable sent to the template | 01:54 |
topsub | not set the JSON object as template variable | 01:54 |
topsub | if tha tmakes sence | 01:54 |
perlDreamer | that does | 01:55 |
perlDreamer | maybe just adding %{$item->get('options')} would do the trick then? | 01:55 |
topsub | ya should be something simple | 01:56 |
-!- snapcount [n=snapcoun@andc-fw1.exploreos.com] has quit [Remote closed the connection] | 01:57 |
-!- dionak [n=dionak@97.66.185.250] has quit [] | 02:02 |
-!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has quit [Read error: 110 (Connection timed out)] | 02:02 |
-!- dionak [n=dionak@97.66.185.250] has joined #webgui | 02:03 |
@perlmonkey2 | perlDreamer: Okay, I had cart output every time it touched the shippingAddressId. And somehow it goes from having a value in the page where you can set it or click checkout, then when you click pay it is empty. But inbetween there I don't ever see it set again. | 02:11 |
@perlmonkey2 | looks like I've got a good one that shall keep me busy for a bit ;) | 02:11 |
-!- KlausH [n=KlausH@p5B0701E2.dip0.t-ipconnect.de] has quit ["cu"] | 02:11 |
@perlmonkey2 | But I just realized that after I click checkout, the cart entry in the DB is deleted. | 02:14 |
-!- dionak [n=dionak@97.66.185.250] has quit [] | 02:15 |
@perlmonkey2 | then after I chose a billing address it is recreated sans shipping address. | 02:15 |
-!- dionak [n=dionak@97.66.185.250] has joined #webgui | 02:16 |
-!- dionak [n=dionak@97.66.185.250] has quit [Client Quit] | 02:19 |
-!- carogra1 [n=Caroline@h69-131-72-187.nwlnnh.dsl.dynamic.tds.net] has left #webgui [] | 02:20 |
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI | 02:23 |
topsub | soi should be able to loop over the options and set them equal to there key? like $var{KEY} what ever it is in the json object? | 02:25 |
topsub | before i start trying, just want to make sure its possible | 02:25 |
topsub | something like.. http://webgui.pastebin.com/m29815b18 | 02:27 |
perlDreamer | topsub, %templateVariables = (%templateVariables, %{ $options } ); | 02:30 |
perlDreamer | note that whichever comes last wins since it's a hash, so do think about naming collisions | 02:31 |
topsub | ah, lucky we are controlling the nameing of the options in the JSON so hopefully we can avoid that | 02:42 |
topsub | Cool got that working | 02:43 |
topsub | now to subclass it | 02:43 |
perlDreamer | I think you should RFE it into the core after you're done | 02:44 |
topsub | just 3 lines.. | 02:45 |
perlDreamer | very handy code, though | 02:45 |
topsub | i am not doing any checking if there is matching keys | 02:45 |
perlDreamer | The other option, instead of overiding the cart, would be to override getConfiguredTitle in your sub-classed Product | 02:46 |
perlDreamer | but it wouldn't do a clean tabular display, if that's the end goal | 02:46 |
topsub | when i add my custom asset to the cart. were i would think the name of the asset is its null. Wonder if getConfiguredTitle has anything to do with it? | 02:47 |
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has left #webgui [] | 02:48 |
perlDreamer | the name of the asset is null? | 02:48 |
perlDreamer | like class name, or title or ...? | 02:49 |
perlDreamer | oh, wait a sec | 02:49 |
perlDreamer | are you running off of SVN? | 02:49 |
perlDreamer | there was a bugfix for getConfiguredTitle that will be released in 7.5.19 | 02:50 |
perlDreamer | that might account for that | 02:50 |
topsub | ah | 02:50 |
topsub | when i add my custom product asset to the cart | 02:50 |
topsub | when it display in the cart by default it doesn't have a title | 02:50 |
perlDreamer | yeah, that's that bug | 02:51 |
topsub | ah alright | 02:51 |
perlDreamer | https://svn.webgui.org/svnweb/plainblack/revision/?rev=7124 | 02:52 |
perlDreamer | that patch will fix it | 02:52 |
topsub | while ( my ($key, $value) = each(%$options) ) { $properties{$key} = $value; } | 02:52 |
perlDreamer | you can iterate if you want, but hash append will be faster | 02:52 |
perlDreamer | %properties = (%properties, % { $options } ); | 02:52 |
perlDreamer | heading home, happy hacking | 02:54 |
-!- perlDreamer [n=ckuskie@nat082.mxim.com] has quit ["Download Gaim: http://gaim.sourceforge.net/"] | 02:54 |
-!- cap10morgan [n=cap10mor@h19-afsc.ded.indra.com] has quit [] | 02:55 |
-!- khenn [n=khenn@97.92.186.139] has joined #WebGUI | 03:00 |
-!- mode/#webgui [+o khenn] by ChanServ | 03:00 |
-!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI | 03:09 |
elnino | Can I integrate the shopcart with paypal? is it similar to itransact? | 03:10 |
-!- patspam [n=patspam@ppp59-167-168-132.lns1.mel4.internode.on.net] has joined #webgui | 03:20 |
-!- ShortWave [n=bobbypar@unaffiliated/shortwave] has quit [] | 03:22 |
-!- ShortWave [n=bobbypar@unaffiliated/shortwave] has joined #webgui | 03:25 |
@tavisto | there is plans to have the paypal functionality built in | 03:26 |
@tavisto | elnino, there is no guarantee for a delivery date yet, but it's planned to be developed by Plain Black staffers in the months ahead | 03:28 |
elnino | cool. | 03:28 |
-!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui | 03:28 |
-!- mode/#webgui [+v Radix-wrk] by ChanServ | 03:28 |
-!- cap10morgan [n=cap10mor@206-124-6-172.denver.dsl.forethought.net] has joined #webgui | 03:38 |
-!- mode/#webgui [+v cap10morgan] by ChanServ | 03:38 |
-!- metanil [n=akhadka@137.48.138.26] has quit ["Leaving."] | 03:58 |
-!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has quit ["Leaving"] | 04:07 |
-!- dionak [n=dionak@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui | 04:22 |
-!- Pbody_ [n=chatzill@pool-71-112-216-205.sttlwa.dsl-w.verizon.net] has joined #webgui | 04:22 |
-!- Pbody_ [n=chatzill@pool-71-112-216-205.sttlwa.dsl-w.verizon.net] has left #webgui [] | 04:23 |
-!- cap10morgan [n=cap10mor@206-124-6-172.denver.dsl.forethought.net] has quit [] | 04:33 |
CIA-6 | WebGUI: colin * r7169 /WebGUI/docs/ (changelog/7.x.x.txt upgrades/upgrade_7.5.18-7.5.19.pl): add default values to existing, default Payment drivers | 05:03 |
-!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has quit [Read error: 110 (Connection timed out)] | 05:07 |
-!- cap10morgan [n=cap10mor@206-124-7-89.denver.dsl.forethought.net] has joined #webgui | 06:28 |
-!- mode/#webgui [+v cap10morgan] by ChanServ | 06:28 |
-!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has joined #webgui | 06:30 |
-!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI | 06:39 |
elnino | tavis mentioned that support for paypal will be added sometime in somewhat near future, will a user on the shopping cart be able to choose between paypay, and credit card (as setup thru itransact for example?) | 06:42 |
-!- elnino_laptop [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI | 06:52 |
@perlmonkey2 | elnino sounds like a good question for the dev board. | 07:03 |
-!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has quit [Read error: 110 (Connection timed out)] | 07:10 |
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [Read error: 60 (Operation timed out)] | 07:13 |
-!- cap10morgan [n=cap10mor@206-124-7-89.denver.dsl.forethought.net] has quit [] | 07:13 |
-!- elnino_laptop [n=elnino@user-38q49cv.cable.mindspring.com] has quit [Read error: 110 (Connection timed out)] | 07:16 |
CIA-6 | WebGUI: colin * r7170 /WebGUI/t/Shop/ (PayDriver.t ShipDriver.t): tweak the {Ship,Pay}Driver tests a bit, looking for safe copies of data | 07:30 |
-!- dionak [n=dionak@cpe-024-074-132-143.carolina.res.rr.com] has quit [] | 07:34 |
-!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI | 07:38 |
-!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has quit [Client Quit] | 07:39 |
-!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI | 07:48 |
elnino | hi. Does the ecommerce object have inventory tracking by any chance? | 07:49 |
-!- patspam [n=patspam@ppp59-167-168-132.lns1.mel4.internode.on.net] has quit [Remote closed the connection] | 07:52 |
-!- patspam [n=patspam@ppp59-167-168-132.lns1.mel4.internode.on.net] has joined #webgui | 07:53 |
CIA-6 | WebGUI: chrisn * r7171 /branch/chris-rfe: Creating a branch to work on RFEs. | 08:09 |
-!- elnino_laptop [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI | 08:10 |
-!- elnino_home [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI | 08:24 |
-!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has quit [Read error: 110 (Connection timed out)] | 08:27 |
-!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI | 08:30 |
-!- elnino_laptop [n=elnino@user-38q49cv.cable.mindspring.com] has quit [Read error: 110 (Connection timed out)] | 08:41 |
-!- elnino_home [n=elnino@user-38q49cv.cable.mindspring.com] has quit [Read error: 110 (Connection timed out)] | 08:46 |
-!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has quit [Connection timed out] | 08:49 |
-!- AMH_bob [n=AMH_bob@alphamega-dmp.xs4all.nl] has joined #webgui | 09:26 |
-!- tavisto [n=tavisto@pool-71-120-147-81.gdrpmi.dsl-w.verizon.net] has quit [] | 09:39 |
-!- KlausH [n=KlausH@p5B0728DF.dip0.t-ipconnect.de] has joined #webgui | 10:09 |
-!- BartJol [n=plainstu@host2.procolix.com] has joined #webgui | 11:08 |
-!- Radix-wrk [n=Jesse@203.161.68.67] has quit ["Leaving"] | 11:26 |
-!- khenn [n=khenn@97.92.186.139] has quit [Read error: 113 (No route to host)] | 11:31 |
-!- Haarg [n=haarg@24-240-43-138.dhcp.mdsn.wi.charter.com] has joined #webgui | 11:52 |
-!- mode/#webgui [+o Haarg] by ChanServ | 11:52 |
-!- BartJol [n=plainstu@host2.procolix.com] has quit [Read error: 113 (No route to host)] | 13:49 |
-!- BartJol [n=plainstu@host2.procolix.com] has joined #webgui | 13:56 |
-!- carogray [n=Caroline@h69-131-72-187.nwlnnh.dsl.dynamic.tds.net] has joined #webgui | 14:46 |
CIA-6 | WebGUI: yung * r7172 /WebGUI/ (docs/changelog/7.x.x.txt lib/WebGUI/Asset/Wobject/Thingy.pm): fixed: thingy and select box | 15:06 |
-!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has quit ["Leaving"] | 15:39 |
-!- bopbop [n=kmccombs@68-114-219-232.dhcp.mdsn.wi.charter.com] has joined #webgui | 16:01 |
-!- mode/#webgui [+o bopbop] by ChanServ | 16:01 |
-!- SquOnk [n=emhn@201.248.19.52] has joined #webgui | 16:33 |
SquOnk | Hi everyone | 16:33 |
BartJol | hi | 16:38 |
-!- topsub [n=josh@97.66.185.250] has joined #webgui | 16:41 |
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui | 16:44 |
-!- mode/#webgui [+o perlmonkey2] by ChanServ | 16:44 |
-!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI | 16:51 |
elnino | good morning. I have tons of questions regarding functionality of webgui to meet a potential client's requests. anyone there? | 16:52 |
elnino | after a customer places an order, can I customize the email that is sent out? | 16:52 |
topsub | elnino, i don't see why not Just a matter of how easy is it | 16:55 |
elnino | is it a template? | 16:55 |
topsub | thats a good question.. lol | 16:56 |
topsub | I haven't dug that deep into it yet, Sometime today iwill have to look into that | 16:56 |
elnino | do you know if there is a way to handle intl shipping costs in the ecommerce? | 16:56 |
-!- khenn [n=khenn@97.92.186.139] has joined #WebGUI | 16:58 |
-!- mode/#webgui [+o khenn] by ChanServ | 16:58 |
topsub | elnino, sorry i am not sure | 17:01 |
elnino | that's fine, so yo know if you can manage ad space and bill per click? or would one use google? | 17:02 |
-!- patspa1 [n=patspam@ppp59-167-92-170.lns2.mel6.internode.on.net] has joined #webgui | 17:18 |
-!- patspam [n=patspam@ppp59-167-168-132.lns1.mel4.internode.on.net] has quit [Read error: 110 (Connection timed out)] | 17:18 |
-!- khenn [n=khenn@97.92.186.139] has quit [Remote closed the connection] | 17:20 |
SDuensin | Anyone else using the invite system in 7.5.x? I think enabling it disables password recovery. That's bad. | 17:20 |
-!- khenn [n=khenn@97.92.186.139] has joined #WebGUI | 17:21 |
-!- mode/#webgui [+o khenn] by ChanServ | 17:21 |
@bopbop | elnino: have you looked at Shop on a beta demo yet? | 17:26 |
elnino | I have, but she keeps throwing me more requirements. and the beta isonly good one day. Ihaven't had the timet ot setup a dev machine. I' dlike too. | 17:27 |
@bopbop | also, there is Advertising in the Admin Console that addresses pay per click and ad space | 17:27 |
elnino | I saw the adverstising in 7.4, so I was hopign that was expanded in 7.5. | 17:28 |
@bopbop | in the Admin screen for Shop, there is a Shipping screen | 17:28 |
@bopbop | where you can set a base shipping cost, cost based on weight, percent of total cost, etc | 17:28 |
@bopbop | very easy to set up | 17:28 |
@bopbop | if tavisto stumbles in later, he would be a good one to ask about Ad space- he works with it on cmsmatrix.org quite a bit | 17:29 |
@bopbop | when payment methods are set up in Shop, you can customize the message customer's are emailed | 17:29 |
@bopbop | you would enter Shop in the Admin Console, then Payment Methods, and you'll see field in the screens to set up a payment method | 17:30 |
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui | 17:30 |
-!- mode/#webgui [+o rizen] by ChanServ | 17:30 |
@bopbop | for iTransact, the field for the email message is right on the screen for you, for Cash payments there is a template available | 17:31 |
-!- patspa1 [n=patspam@ppp59-167-92-170.lns2.mel6.internode.on.net] has quit ["Leaving."] | 17:31 |
-!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: ckotil, nuba | 17:34 |
-!- Netsplit over, joins: nuba | 17:36 |
-!- Netsplit over, joins: ckotil | 17:37 |
-!- dionak [n=dionak@97.66.185.250] has joined #webgui | 17:37 |
-!- tavisto [n=tavisto@pool-71-120-147-81.gdrpmi.dsl-w.verizon.net] has joined #WebGUI | 17:41 |
-!- mode/#webgui [+o tavisto] by ChanServ | 17:42 |
elnino | sorry, step away... I saw the shipping costs. She wants to do it by weight, but then add a flat fee for intl. I was thinking that I'll just need to create a product for "intl shipping" or something. | 17:58 |
elnino | Ok I didn't see the email setup in 7.4, Must have missed it when looking at 7.5. | 17:59 |
elnino | does 7.5 have shipping methods? like UPS and USPS? | 18:01 |
elnino | I could handle the intl there... | 18:01 |
topsub | shouldn't the remove button in the cart ask for confirmation before it removes it? | 18:03 |
topsub | I gonna add it to cart.pm along with the options hash maybe commit it back | 18:04 |
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui | 18:07 |
-!- mode/#webgui [+o preaction] by ChanServ | 18:07 |
@bopbop | elnino- you can have multiple shipping costs for an item | 18:08 |
@bopbop | just create a shipping method, label it appropriately, and set up both a flat fee and a weight specification. When products are created you can select that shipping method in the Shop tab for the asset | 18:09 |
@bopbop | there's nothing extra required | 18:09 |
elnino | well, the intl would only apply if they are intl... does the customer select? or are they automatically applied? | 18:10 |
@bopbop | automatically applied per asset | 18:10 |
@perlmonkey2 | arg, I just can't find out why the cart row in the DB dies when a user makes a purchase after clicking "checkout" but admin doesn't. | 18:11 |
-!- BartJol [n=plainstu@host2.procolix.com] has quit [Read error: 104 (Connection reset by peer)] | 18:12 |
-!- nuba [n=nuba@hq.imaterial.org] has quit ["Lost terminal"] | 18:14 |
elnino | bopbop, ok, that wouldn't help then. I'm thinking that I'll need ot have "related items" and have intl shipping there, and hope the customer selects it when appropriate. | 18:14 |
-!- zma [n=Enki@75-175-122-216.ptld.qwest.net] has joined #webgui | 18:14 |
-!- dionak [n=dionak@97.66.185.250] has quit [] | 18:18 |
@bopbop | you could also do a Donation asset, name it something to indicate the user must place in the cart before checking out- that would work too | 18:19 |
-!- AMH_bob [n=AMH_bob@alphamega-dmp.xs4all.nl] has quit ["Leaving."] | 18:19 |
@bopbop | well, no | 18:19 |
@bopbop | you wouldn't want to do that | 18:19 |
@bopbop | since the dollar amount is editable | 18:19 |
@bopbop | nm | 18:19 |
elnino | can I add a "Other" country under sales tax and apply it from there? - a terrible re-use of something... | 18:24 |
-!- nuba [n=nuba@hq.imaterial.org] has joined #webgui | 18:25 |
@perlmonkey2 | okay, I've been chasing my tail for a while now. Is the cart and cartitem supposed to be cleared upon CART::www_checkout for a normal user, but left intact for admin? | 18:28 |
@rizen | no | 18:28 |
@rizen | after an order has been processed by the payment gateway | 18:29 |
@rizen | it should be cleared in all circumstances | 18:29 |
@rizen | from the cart | 18:29 |
@perlmonkey2 | only 110 queries to backtrack from to figure out what happened :P | 18:32 |
-!- elnino_laptop [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI | 18:35 |
SquOnk | Will 7.5.19 be out today? | 18:35 |
-!- cap10morgan [n=cap10mor@h19-afsc.ded.indra.com] has joined #webgui | 18:45 |
-!- mode/#webgui [+v cap10morgan] by ChanServ | 18:45 |
@perlmonkey2 | hahah! There was no bug. Well at least not in the way I thought. The cart was being cleared because the user had enough in-store credit to purchase the item. So the transaction goes through when they click the checkout as they don't need a payment gateway (although they are still asked how they would like to pay and must go through the motions). | 18:48 |
@perlmonkey2 | So should the in-store credit be updated when a user makes a cash purchase? | 18:48 |
CIA-6 | WebGUI: yung * r7173 /WebGUI/docs/ (2 files in 2 dirs): fixed: viewing badges in IE 6/7 | 18:49 |
@rizen | Haarg, will 7.5.19 be out today? | 18:49 |
@tavisto | it would be sweet if the shopping cart would not ask you for a payment method if there was only one active method configured | 18:49 |
@tavisto | could I RFE that or would I get smacked around Rizen? | 18:50 |
@Haarg | my plan was to release it tomorrow | 18:50 |
@rizen | there's your answer sqonk | 18:52 |
@rizen | tavisto, i think that's a great idea | 18:52 |
@rizen | it was in the original spec, but got lost somewhere along the way | 18:52 |
@tavisto | coolio, I'll post it | 18:52 |
@tavisto | now..... | 18:52 |
@tavisto | since I have you here... | 18:53 |
-!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has quit [Read error: 110 (Connection timed out)] | 18:53 |
@tavisto | crap I can't remember my question.. carry on | 18:53 |
SquOnk | Haarg: All right. Thanks. | 18:53 |
carogray | may I ask a non-developer question? | 18:58 |
elnino_laptop | sure. | 18:59 |
elnino_laptop | can't guarantee an answer tho. | 18:59 |
elnino_laptop | = | 19:00 |
elnino_laptop | = | 19:00 |
elnino_laptop | =) | 19:00 |
carogray | is there a way to figure out what assets are using a specific template? We are trying to clean up and get rid of old templates/page styles, CSS and JS snippets we don't use any longer, but we want to make sure that when we delete them we don't cause old pages we don't check regularly get messed up and then crash the whole website. | 19:00 |
elnino_laptop | just found this yesterday: http://www.plainblack.com/user_contributions/user_contributions/miscellaneous/asset-checker-diagnostic-tool/1 it may do exactly what you want. I haven't used it yet, but plan to. | 19:02 |
carogray | oh great thanks! I will look into it! | 19:02 |
elnino_laptop | Or you can do what I've done in the past, and write a sql report | 19:02 |
@rizen | carogray, that won't tell you want you're looking for | 19:03 |
@rizen | that app is meant to tell you the performance of any given asset on your site, not what templates are attached to it | 19:03 |
carogray | got any handy? sql reports to find this out perchance? I am not a programmer and although my designer is a whiz with CSS the amount of time we take up trying to get sql reports | 19:04 |
carogray | oh well thanks for the news about the contribution | 19:04 |
-!- zma [n=Enki@75-175-122-216.ptld.qwest.net] has quit ["."] | 19:04 |
elnino_laptop | oh. my bad. | 19:04 |
carogray | it says it looks for broken assets - is that like shortcuts that go to assets that have been deleted? | 19:05 |
elnino_laptop | umm. I don't think I ever got it working. it's one of those thing that I do on the side when "i have time" | 19:05 |
@rizen | like assets that have broken data in them | 19:05 |
@rizen | not sure if it will find deadshortcuts or not | 19:06 |
@rizen | but it probably will | 19:06 |
carogray | what is an example of an asset with "broken data" is that an sql report | 19:06 |
elnino_laptop | I can go work on it some time this wek, would that be ok? | 19:06 |
carogray | cheese and rice! that would be fantastic! | 19:06 |
elnino_laptop | "cheese and ric"e - that is a new one for me. | 19:07 |
carogray | we have these nagging problems we keep ignoring but distracting us with their untidiness leading to confusion and mistakes made whilst bleary eyed | 19:07 |
elnino_laptop | what's your email address? | 19:07 |
carogray | it's left over from when I had to swear around school children whilst working as a Peace Corps Volunteer in the West Indies many years ago, the variant is peas and rice! | 19:08 |
elnino_laptop | or are you chat during the day? | 19:08 |
carogray | crobinson@mlri.org | 19:08 |
elnino_laptop | k. I'lls ee what I can do. I'd like to get it working to, and perhaps contrib it too. | 19:08 |
carogray | Now that I have discovered how to actually get into/onto IRC chat after struggling for 18 months to figure it out, I just have it log in automatically so I can watch for it. most is too highbrow for me to follow so if you wouldn't mind giving me a note via email just so I don't miss you that would be terrific! | 19:09 |
elnino_laptop | rizen, what IS an example of a asset with broken data? | 19:09 |
elnino_laptop | sure, I was in the same boat not too long ago. | 19:10 |
elnino_laptop | they are good folks here, and very helpful. | 19:10 |
elnino_laptop | I"m jsut a user excited about webgui. | 19:10 |
-!- perlDreamer [n=ckuskie@nat082.mxim.com] has joined #webgui | 19:12 |
@rizen | carogray: here's an example of how to find templates that aren't being used: | 19:12 |
@rizen | select distinct url from template left join assetData using (assetId,revisionDate) where namespace='Article' and assetId not in (select distinct templateId from Article); | 19:12 |
elnino_laptop | ooh! thank you! | 19:12 |
@rizen | the problem is that you need to write one of these queries for each type of template that you're looking for | 19:12 |
elnino_laptop | or use a parameter | 19:12 |
carogray | it's good to see - I hear so many complaints about it I am sick to death of people whining and not appreciating it - much of it is beyond what we can afford and there are drawbacks, but on the other hand I really appreciate all that it offers. I am also support 13 other websites using it and just yesterday as I was working with one of our more industrious website coordinators, he suddenly began to see how powerful it is for re | 19:13 |
perlDreamer | carogray, long posts get snipped | 19:13 |
carogray | I don't mind using the above for every template cause we don't have a whole lot of them | 19:13 |
perlDreamer | at 256 characters | 19:13 |
carogray | ok - that's good for me cause I talk too much anyhow | 19:13 |
carogray | would /could we use that for page styles also - uh page layout templates and use' Page' instead of article? | 19:15 |
@tavisto | carogray, you use WebGUI on 13 different sites? | 19:16 |
perlDreamer | carogray, just make sure that the namespace and secondary table match | 19:16 |
perlDreamer | to get a list of namespaces | 19:16 |
perlDreamer | select distinct(namespace) from template; | 19:16 |
perlDreamer | Do the users really care that much about unused templates? | 19:17 |
elnino_laptop | yes!!!! | 19:17 |
perlDreamer | Why? | 19:17 |
perlDreamer | (because there's a way in WebGUI that might help with that problem) | 19:17 |
elnino_laptop | I guess I"m more interested in what is using what. so if I make a change, I know what I'm affected. | 19:17 |
carogray | yes, about 13 haven't counted em lately | 19:18 |
@rizen | select distinct url from template left join assetData using (assetId,revisionDate) where namespace='Layout' and assetId not in (select distinct templateId from Layout) | 19:18 |
elnino_laptop | And, I made a bunch of templates not really knowing what I was doing, so it would be nice to clean the out so that my users don't use them ,becaus ehtye are junk. | 19:18 |
@rizen | tavisto, carogray, i believe, works for MLRI | 19:18 |
elnino_laptop | and I like a clean database. =) | 19:18 |
carogray | we do care about unused templates cause when you want to assign a template to a page/article whatever if you have half a million to choose from with all similar names it gets very confusing - we have so many | 19:19 |
elnino_laptop | here here | 19:19 |
perlDreamer | Have you tried using prototypes? | 19:19 |
carogray | cause we are afraid to delete any and keep trying to improve and then can't remember which one is bet | 19:19 |
elnino_laptop | ter | 19:19 |
carogray | yup - I do work for MLRI | 19:19 |
carogray | prototypes terrify me. | 19:20 |
elnino_laptop | hmm. prototypes, don't know about. | 19:20 |
perlDreamer | Prototypes are preconfigured assets | 19:20 |
carogray | I have tried them and then when I don't want them any more all kinds of terrible domino effects happen upon deletion | 19:20 |
carogray | the place gets totally out of control! | 19:20 |
CIA-6 | WebGUI: colin * r7174 /WebGUI/lib/WebGUI/Shop/CartItem.pm: update CartItem POD for get | 19:23 |
carogray | in case you're still thinking in that sql report mode - here is the next trickier, and also more ocd item - what about detecting if anything is | 19:26 |
carogray | calling unused CSS or JS snippets - we inherited a site that has both main.css and global.css - | 19:26 |
carogray | we think we are only using assets that call global and want to delete main, but...if we delete main and something we don't know is using it - what might 'appen?1 | 19:26 |
perlDreamer | carogray, then I would recommend not deleting | 19:26 |
perlDreamer | use version control | 19:27 |
perlDreamer | take the snippet, and replace the contents with the words "I want to delete this" | 19:27 |
perlDreamer | then check your website | 19:27 |
perlDreamer | if you don't find that phrase, then you're clean | 19:27 |
carogray | oh brilliant solution - that's marvelous! cheers! | 19:27 |
perlDreamer | if you do, then rollback that version of the snippet, rework the user of the snippet not to anymore, and repeat | 19:27 |
perlDreamer | when it's clean, you can delete it | 19:27 |
perlDreamer | and, if you turn off autocommit, you can do it without affecting the user experience on the website | 19:28 |
carogray | yep - I get all the stuff about how to use the version tags for this. I don't use autocommit meself - don't trust myself enough | 19:30 |
carogray | as soon as I start to get confident I do something totally absent mindedly | 19:30 |
carogray | won't bore you with what a space cadet I am | 19:30 |
carogray | do we have a certain limit to how many solutions we are allowed to have in day? | 19:32 |
carogray | in a day | 19:32 |
-!- mode/#webgui [+v perlDreamer] by tavisto | 19:32 |
+perlDreamer | carogray, if you were to make a wiki page for each thing that you learn that you find useful, I think we'd answer lots of questions. | 19:33 |
carogray | good lord yes! I am really into that cause - how much help you all are as well as how frustrating it is/has been for me not to be able to find these kinds of things anywhere | 19:33 |
carogray | this next problem is a really tedious, cross-eyed making one that I am too lazy and too non-conversant in CSS to figure out though. | 19:34 |
carogray | I would really understand if you don't want to bother with it. | 19:34 |
+perlDreamer | CSS questions might be better asked in a web design channel | 19:34 |
carogray | It's about seeing the table not working in IE when it is working in Firefox | 19:35 |
carogray | you mean a non-webgui channel? | 19:35 |
carogray | like, find a css irc thing? | 19:35 |
+perlDreamer | yeah, or, try the design forum on webgui.org | 19:36 |
carogray | ok - that's fine I don't mind doing that | 19:36 |
carogray | one more question - not solution before I go...please? | 19:36 |
carogray | what is a "thingy" I keep reading about them, but really not sure I understand exactly what it is. | 19:37 |
+perlDreamer | The thingy is a web-based application builder. Think of it as Microsoft Access in WebGUI. | 19:37 |
carogray | can you explain a little more? or give me an example or 2? | 19:38 |
+perlDreamer | It lets you build tables, build forms for filling the tables, and then do searches and lookups with templated results | 19:38 |
+perlDreamer | so, for building common applications like rolodex's and the like, you just build them with Thingy rather than coding with Perl. | 19:39 |
carogray | mmmm, sounds familiar, as if I read this somewhere before. I need to read this stuff over and over again see examples, for about a year before it begins to penetrate | 19:39 |
carogray | it's only in 7.5 now right? | 19:39 |
+perlDreamer | JT's blob, plainblack.com/tbb explained it in more detail | 19:39 |
+perlDreamer | yes, 7.5 | 19:39 |
carogray | phew - so I have a little while to absorb. is there a real life example where it is used - not on the demo yet, cause that's the latest stable version of WG right? | 19:40 |
@rizen | carogray, there is a one our training session on thingy at the WUC this year | 19:41 |
@rizen | don't know if you're going or not | 19:41 |
+perlDreamer | well, in addition to demo.plainblack.com, there's beta.plainblack.com where you can try the latest and greatest WebGUI | 19:41 |
carogray | unfortunately WUC is agin out of the question for me | 19:41 |
carogray | one day I hope to get there. | 19:41 |
+perlDreamer | carogray, what's the sticking point on the WUC? | 19:41 |
+perlDreamer | Where else can you get 2 days of point, hands-on training for $500? | 19:42 |
carogray | oh about the beta.plainblack.com - that's great - didn't know | 19:42 |
carogray | I don't deny the value of the WUC, but we had our budget cut back by 10% this year, like the rest of the world, combined with the fact that my daughter is moving to Alaska at the end of the summer and the timing is just all wrong for me. | 19:43 |
* perlmonkey2 shoots Shop/Transaction with his heavy cal anti-bug gun. | 20:00 |
+perlDreamer | is it fixed? | 20:01 |
+perlDreamer | or are you frustrated? | 20:01 |
@perlmonkey2 | it is fixed | 20:01 |
@perlmonkey2 | but it was frustrating :D | 20:01 |
+perlDreamer | sweet (about the fixedness). I'll read the patch. | 20:02 |
@perlmonkey2 | it was extremely simple to fix. The hard part was tracking down what was going on and when exactly Credit::update should be called, and then finding out why it was being called without effect. | 20:03 |
+perlDreamer | this is the in store credit bug? | 20:03 |
@perlmonkey2 | yeah | 20:03 |
+perlDreamer | that's a two-fer, then? | 20:03 |
+perlDreamer | two bugs with 19 characters | 20:03 |
@perlmonkey2 | *ka-blam* *ka-blam* | 20:03 |
+perlDreamer | not bad, dude | 20:03 |
@perlmonkey2 | that's why its double barreled :P | 20:03 |
@perlmonkey2 | Will be easy for the next bug as most of this was plumbing the depths of Shop/ | 20:04 |
elnino_laptop | tavisto: testing are you there? | 20:05 |
@tavisto | yep, that pages me | 20:06 |
@tavisto | anytime you use someone's name | 20:06 |
@tavisto | elnino_laptop this is a test to see if your IRC client works. :) | 20:08 |
elnino_laptop | ok. thanks! | 20:08 |
-!- ascii [n=ascii@64.234.60.83] has quit ["leaving"] | 20:08 |
CIA-6 | WebGUI: perlmonkey2 * r7175 /WebGUI/ (docs/changelog/7.x.x.txt lib/WebGUI/Shop/Transaction.pm): In store credit now correctly deducted from with new purchases. Shop/Transaction was not updating the shopCreditDeduction column. | 20:09 |
@perlmonkey2 | perlDreamer: do you think this is a bug or an RFE? http://www.plainblack.com/bugs/tracker/gallery-navigation-back-to-album-returns-to-page-1#IczSJ_TqDhr3Fcr2lsl40Q | 20:10 |
@perlmonkey2 | probably bug? | 20:10 |
+perlDreamer | really low priority bug | 20:11 |
+perlDreamer | I mean, it works, but I can see where you'd expect to go back to where you started. | 20:11 |
@perlmonkey2 | okay, well I've made a pass on everything below it and don't think I can do anything above it. | 20:11 |
+perlDreamer | go for it | 20:11 |
@perlmonkey2 | naw, I'll go back through the list and see if anything closed has reopened or if something looks higher priority. | 20:12 |
+perlDreamer | page layout - hide assets broken would be good to fix | 20:12 |
+perlDreamer | but I'd only do it with a test | 20:13 |
-!- knowmad [n=william@97.66.185.250] has joined #webgui | 20:13 |
-!- knowmad [n=william@97.66.185.250] has left #webgui [] | 20:13 |
-!- knowmad [n=william@97.66.185.250] has joined #webgui | 20:13 |
-!- knowmad [n=william@97.66.185.250] has left #webgui [] | 20:13 |
-!- knowmad [n=william@97.66.185.250] has joined #webgui | 20:13 |
+perlDreamer | are you staying this time, knowmad? | 20:14 |
knowmad | haha | 20:14 |
knowmad | i knew someone was going to see that... having trouble getting my IM to behave ;) | 20:14 |
knowmad | perlDreamer: preaction: I figured out what my problem was with sending internal emails | 20:14 |
knowmad | you have to use the userId, not the username | 20:14 |
+perlDreamer | awesome! What was it? | 20:14 |
knowmad | there is a bug in mail system that the emails were just disappearing with no errors | 20:15 |
knowmad | need some testing around that | 20:15 |
knowmad | pd: do you have a mechanism for testing mail delivery? | 20:15 |
knowmad | all: what timezone does the scheduler run off of? | 20:15 |
knowmad | is there a system-wide timezone? | 20:15 |
+perlDreamer | knowmad, just Mail/Send.t | 20:16 |
+perlDreamer | and Inbox.t, which I think dionak wrote | 20:16 |
knowmad | does the Send.t script have a test for confirming delivery? | 20:16 |
+perlDreamer | Well, it sets up a dummy smtpd server. | 20:17 |
knowmad | oh | 20:17 |
+perlDreamer | so all it checks is that SMTPD got it | 20:17 |
+perlDreamer | not that it's received on the far end | 20:17 |
+perlDreamer | since there's no far end to test | 20:17 |
knowmad | OK, that's kinda what i need to do for internal messaging | 20:17 |
+perlDreamer | but with internal messaging, there's no SMTPD | 20:17 |
knowmad | right, so we should be able to check the inbox of the recipient to make sure it gets through | 20:18 |
+perlDreamer | right, that would be Inbox.t | 20:18 |
elnino_laptop | rizen: I think I was told to ask you. does webgui shop handel international shipping charges? for example. the user would be charged a normal shippig fee, but if they are intl, they would get stuck with a flat surcharge to handle additional shipping costs. | 20:18 |
knowmad | OK | 20:18 |
knowmad | back to my question about the scheduler, what timezone does it run off of? | 20:18 |
knowmad | my scheduled tasks are not running at the same time as my system clock | 20:19 |
elnino_laptop | knowmad: perhaps off of your user's settings? just a thought I have no idea. | 20:19 |
knowmad | does it go by system time? | 20:19 |
knowmad | what user do the scheduled tasks run under? | 20:20 |
elnino_laptop | i don't know, the one that created it? like I said, I have no idea. Just being creative =) | 20:20 |
-!- lisette [n=liraos@201.232.58.66] has joined #webgui | 20:20 |
@rizen | elnino: the flat rate shipping module doesn't, but the ones we attach to UPS, FedEx and the like will | 20:20 |
knowmad | but then they aren't actually being run until the scheduler fires them off so it appears that we need to know about the scheduler | 20:21 |
+perlDreamer | knowmad, that's all spectre code, lib/Spectre/Cron.pm | 20:21 |
knowmad | OK | 20:21 |
elnino_laptop | rizen: so how does the ups and usps work, do they by pass the "ship by weight" and "ship by transaction" types of shipments? | 20:21 |
elnino_laptop | are they just another type of shipment? | 20:21 |
knowmad | looks like its using timezone of 'local' which means system time | 20:22 |
elnino_laptop | and did I gather correctly from your comment, that they (ups/fedex) are soon to be implemented? | 20:22 |
knowmad | which perl prob. thinks is GMT | 20:22 |
+perlDreamer | knowmad, you know that I always say in these kinds of situations ;) | 20:23 |
SquOnk | Has anyone tried out the Debian packages? | 20:24 |
SquOnk | If 7.5.19 is released tomorrow, there will be updated packages around 23:00 UTC | 20:25 |
@rizen | elnino, there are no official announcements about those modules yet. i'm just saying when we do implement them they will fully support international shipment pricing | 20:25 |
SquOnk | For 7.5.19 there will be a prototype automatic configuration. It will _ask_ for values but will _not_ do anything with them yet. | 20:25 |
@rizen | the goal for 7.5 was just to get a decent working commerce system into webgui...the future versions of webgui will be adding to it's capability | 20:26 |
elnino_laptop | that's fine, just wanted to know if it was there already or not. Thanks! | 20:26 |
elnino_laptop | rizen: does the shop currently handel coupons? Sorry to bother you, they said you're the one to ask. | 20:28 |
@rizen | yes | 20:28 |
@rizen | just basic flat rate coupons | 20:28 |
@rizen | like buy $100 worth of merchandise and get 10% off | 20:28 |
@rizen | that sort of thing | 20:28 |
lisette | hello, i do a package of a site with 7.4.40 and i try to upload to a site with 7.5.18 and shows me the next error: | 20:29 |
elnino_laptop | ok. | 20:29 |
lisette | 2008/08/06 12:28:21 - WARN - www.pruebas.com.conf - WebGUI::Content::Asset::tryAssetMethod[207] - Couldn't call method view on asset for url: home/normatividad/circulares/circulares-2008 Root cause: no good: 7Hn99MZUHJu0GmjVp-xf2A at /data/WebGUI/lib/WebGUI/Asset/Wobject/Collaboration.pm line 1178. | 20:29 |
elnino_laptop | rizen two more: where if possible does one modify the confirmation email after an order is placed? is that webgui or thru itransact? | 20:30 |
elnino_laptop | (that was one) | 20:30 |
lisette | i can do export/import of package of different versions? | 20:32 |
elnino_laptop | rizen: two) and my user would like to sell online collateral. and when they place the order, she wants to limint the number of downloads by that user either by count or by time frame, is eithe rpossilbe? Someone suggested using subscriptions and doing it that way? | 20:33 |
knowmad | perlDreamer: I suspect you'd say test it which is what i just did; it thinks the local time is America/Chicago which is very odd | 20:34 |
knowmad | i wonder if that's due to the WRE being pre-compiled by PB (this is a windoze server) | 20:35 |
+perlDreamer | knowmad, if it pulls the timezone from the user profile, the default _is_ America/Chicago, by strange coincidence :) | 20:55 |
knowmad | i don't think it uses the user profile | 20:56 |
+perlDreamer | elnino_laptop, there is a confirmation email sent by WebGUI, it is configured in the Payment Methods and it is templated. | 20:57 |
knowmad | I think it's line 181 of Spectre/Cron.pm that does scheduling | 20:58 |
knowmad | my script that I ran outside of WebGUI (but using WRE perl) says localtime is Chicago | 20:59 |
+perlDreamer | that's bad | 20:59 |
knowmad | i don't know how it's getting that; it's not in Config.pm | 20:59 |
+perlDreamer | I'd file that as a bug | 21:01 |
+perlDreamer | so the good news is that it still happens regularly, and you can calculate when you want it | 21:01 |
elnino_laptop | perlDreamer: thanks | 21:02 |
knowmad | you'd think so | 21:02 |
knowmad | but it didn't run when i expected it to | 21:02 |
+perlDreamer | yeah, that's the bad part | 21:02 |
-!- bopbop [n=kmccombs@68-114-219-232.dhcp.mdsn.wi.charter.com] has quit ["that's all folks"] | 21:02 |
topsub | is there a way i can enable anonymous checkout? | 21:03 |
topsub | webgui 7.5.15 | 21:03 |
@preaction | "anonymous" checkout? | 21:03 |
@preaction | like checkout without having to create a user? | 21:04 |
topsub | yes | 21:04 |
@preaction | no | 21:04 |
topsub | why do you have to have an account to checkout? | 21:10 |
elnino_laptop | topsub: i'm only guessing, so that the user can login to view/modify existing orders. And the information needs to be stored somewhere, so that the administrators of the store can manage the info. and webgui needs to tie the order info to *something* and that something is the user. But I know what you are asking, and it's not uncommon. | 21:23 |
elnino_laptop | it's not uncommon to let a user buy something without getting a username/password to a site. | 21:24 |
-!- cap10morgan [n=cap10mor@h19-afsc.ded.indra.com] has quit [] | 21:24 |
-!- cap10morgan [n=cap10mor@h19-afsc.ded.indra.com] has joined #webgui | 21:25 |
-!- mode/#webgui [+v cap10morgan] by ChanServ | 21:25 |
elnino_laptop | maybe, the user can be created and just be "deactiviated" upon checkout. So maybe you can create a workflow to do that. | 21:25 |
elnino_laptop | Or do you have to log into a webgui site before you can have a cart? | 21:25 |
@rizen | you can shop all you want without an account | 21:26 |
@rizen | just at checkout time you must have an account | 21:26 |
-!- dionak [n=dionak@97.66.185.250] has joined #webgui | 21:35 |
topsub | Can the visitor be used to buy products? | 21:37 |
@rizen | no, i just said you need an account | 21:38 |
dionak | why is the account required? in other words where do i look in the codebase? | 21:39 |
dionak | is it in Transaction? | 21:40 |
@rizen | look in the codebase for what? | 21:40 |
dionak | for the requirement of having an account to checkout | 21:40 |
@rizen | the entire shop was designed around there being a user | 21:41 |
@rizen | you won't be able to just pull it out | 21:41 |
@rizen | EMS will stop working | 21:41 |
@rizen | transactions won't work | 21:41 |
@rizen | address books won't work | 21:41 |
@rizen | the requirement comes from the fact that is no secure way to show a user his or her transaction history if they don't have an account | 21:42 |
dionak | ok, that is more helpful | 21:42 |
@rizen | but once that requirement was establish | 21:42 |
@rizen | ed | 21:42 |
@rizen | and we knew there would be a user account | 21:42 |
@rizen | everything else was built to make use of that fact | 21:42 |
dionak | so it would take a lot of refactoring to implement anonymous checkout. | 21:43 |
dionak | got it. | 21:44 |
dionak | so we need to force our client to support user accounts in order to use WG shop | 21:44 |
dionak | topsub asked about visitor because i was wondering if there was a way to hide the user account requirement | 21:45 |
@rizen | yes, but more importantly, why wouldn't you want to support user accounts? besides "they just don't like it" | 21:45 |
dionak | it's more that the client doesn't feel like it's a good fit for their audience | 21:46 |
dionak | that's the gist | 21:46 |
@rizen | eventually there will be a Point of Sale mode, which will allow you to check out multiple guests with a single user account, but you'll still need to be logged in as that user. | 21:46 |
dionak | ah, that's kind of what we've been working on | 21:47 |
@rizen | you'll need to be logged in as a clerk | 21:47 |
dionak | interesting... | 21:47 |
dionak | ok, thanks for the input. very helpful | 21:47 |
topsub | How does "shipperId" id get set when your wanting to checkout? I set up a freeshipping shipping method but i still get "Must provide a shipperId" in the logs | 22:06 |
topsub | When i go to checkout | 22:08 |
@perlmonkey2 | Don't almost all online retailers require an account to make purchases? | 22:09 |
topsub | not all | 22:09 |
@perlmonkey2 | topsub: certainly, but I'm having trouble thinking of the edge cases where it makes more sense to not have an account. | 22:12 |
topsub | its not use, its the client that doesn't want it | 22:12 |
@rizen | topsub, is the shipping method that you created enabled? | 22:13 |
topsub | rizen: sure is | 22:17 |
-!- khenn_ [n=khenn@97.92.186.139] has joined #WebGUI | 22:17 |
dionak | perlmonkey2: no, anonymous checkout is a common feature | 22:18 |
@rizen | shipperid gets set when you choose a shipping method on the cart screen | 22:18 |
dionak | most do, but not all | 22:18 |
@perlmonkey2 | dionak: ?? | 22:18 |
dionak | i was responding to your earlier question about requiring accounts to make purchases | 22:18 |
@perlmonkey2 | dionak: right right, just wondered which ones | 22:19 |
dionak | usually larger sites require it for informational purposes but we see smaller sites not using it. cs-cart, for instance, has this feature. i don't have a site url handy | 22:20 |
topsub | rizen, ah. once i choose a shipping address, i get Per Item Shipping column show up, but then no area to choose shipping.. so something must be wrong with my template? | 22:20 |
@perlmonkey2 | dionak: cool, okay, that makes sense | 22:20 |
lisette | anyone knows that happends? | 22:21 |
topsub | fixed, thanks rizen | 22:21 |
@perlmonkey2 | perlDreamer: please correct me if I'm offbase here, but wouldn't the best place to start digging for the Page Layout Can't Unhide Assets bug be in the Asset::www_editSave method? | 22:31 |
@preaction | perlmonkey2, probably better off in processPropertiesFromFormPost | 22:33 |
-!- khenn [n=khenn@97.92.186.139] has quit [Read error: 113 (No route to host)] | 22:33 |
@preaction | but even more likely, it's probably in Asset::update (which gets called by processPropertiesFromFormPost) | 22:34 |
@perlmonkey2 | preaction: thanks, I'll start in update as you probably know what you're talking about :P This one is going to be hairy me thinks. | 22:35 |
-!- khenn_ [n=khenn@97.92.186.139] has left #WebGUI [] | 22:36 |
-!- khenn [n=khenn@97.92.186.139] has joined #WebGUI | 22:36 |
-!- mode/#webgui [+o khenn] by ChanServ | 22:36 |
topsub | Is there a template we can change for select payment gateway? | 22:37 |
@perlmonkey2 | preaction: in processPropertiesFromFormPost right before the call to update I dumped %data. The unselected hidden assets are listed in the hash key of hidden assets. | 22:39 |
@preaction | perlmonkey2, okay, so somewhere before that point is the problem, right? | 22:40 |
@perlmonkey2 | preaction: dang I was hoping that would trigger your memory allowing you to solve this bug instantly :P okay, I'll stop screwing around and bugging you. | 22:41 |
-!- elnino_laptop [n=elnino@user-38q49cv.cable.mindspring.com] has quit [Read error: 110 (Connection timed out)] | 22:49 |
@perlmonkey2 | preaction: here's one to make you cry. The first entry is with two assets checked to be hidden. The second entry is with the same two assets unchecked. I'm thinking the problem might be in form now. http://webgui.pastebin.com/d6f1921ef | 22:56 |
lisette | how to install a package that contents a CS | 23:00 |
-!- elnino_laptop [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI | 23:08 |
+perlDreamer | topsub, there was a Product bug that will be fixed in 7.5.19 related to Products and per item shipping | 23:16 |
+perlDreamer | be sure that you're running off of SVN, or apply the patch to your local dev box | 23:16 |
-!- topsub [n=josh@97.66.185.250] has quit ["Leaving"] | 23:23 |
@perlmonkey2 | I need a hand on the hidden assets of a page layout bug. There are no CGI params being passed back when I don't check any assets to be hidden. But somehow the form object is getting set as if those params had been set. Anyone got a clue where I should start looking now? I keep going in circles on Asset::processPropertiesFromFormPost. | 23:33 |
@perlmonkey2 | its like if no params were passed back the form just grabs whatever the asset properties contains. | 23:34 |
-!- khenn [n=khenn@97.92.186.139] has quit [Remote closed the connection] | 23:34 |
-!- khenn [n=khenn@97.92.186.139] has joined #WebGUI | 23:35 |
-!- mode/#webgui [+o khenn] by ChanServ | 23:35 |
-!- lisette [n=liraos@201.232.58.66] has left #webgui [] | 23:38 |
@perlmonkey2 | Dumping Form on the Layout form submission I see two queries doing the exact same thing. query 23 and query 31 are the same query. | 23:46 |
@perlmonkey2 | I haven't a clue what's going on. Why would the form be updating the DB before the asset has even started processingFromForm | 23:47 |
@perlmonkey2 | By the 3rd line of Asset::processPropertiesFromFormPost the Layout has already been updated twice (I'm guessing the revision plus the commit). | 23:49 |
@preaction | perlmonkey2, i'd start looking in WebGUI::Form::CheckList->getValue. it seems to be giving the default value (getDefaultValue) when the checklist is empty. | 23:52 |
@tavisto | man IRC is hardcore programming today | 23:52 |
@perlmonkey2 | tavisto: just because some dumb codemonkey is polluting the channel | 23:53 |
@preaction | er.... me? | 23:53 |
@tavisto | heh well I've been following along... Can't tell you how happy I am to see you bug slashing | 23:53 |
@perlmonkey2 | I thought I was the only codemonkey here :P | 23:53 |
@tavisto | well preaction can't code.. he's just got charm | 23:53 |
* preaction is starting a cult of personality | 23:54 |
-!- drewstephan [n=drewstep@ip98-164-124-83.no.no.cox.net] has joined #webgui | 23:54 |
@tavisto | if there's one thing I know about Doug Black, it's that I didn't know his last name was Black until today. | 23:54 |
@perlmonkey2 | preaction: you'd be something like senior software engineer master code annihilator extraordinaire. | 23:55 |
@preaction | Like Mussolini.... and Kennedy.... I'm a cult of personality | 23:55 |
* perlmonkey2 thinks PB should order the programming positions as "codemonkey" "codemonkey +1" "codemonkey +2" "master code annihilator aka codemonkey +3" | 23:58 |
@preaction | the PB geek code: PB$++~ | 23:59 |
@preaction | the ~ is a gooey tentacle | 23:59 |
@perlmonkey2 | preaction: hmm, why do you have to point out how stupid I am. if I thought that the form was just pulling the default value when no value was given, shouldn't it have been obivious to anyone with a brain that the getValue was a good place to start. Which begs the question, do I indeed have a brain. | 23:59 |
--- Day changed Thu Aug 07 2008 |
@perlmonkey2 | hah, nice | 00:00 |
@preaction | surely. www_editSave / processPropertiesFromFormPost and the like is the most complex part of the asset system. wait until you learn that when you ?func=add; an asset, it calls www_edit of the child, but when you save that form, it calls www_editSave of the parent first | 00:00 |
@perlmonkey2 | that hurts to think about | 00:01 |
-!- juan1 [n=juangui@201.232.58.66] has joined #webgui | 00:05 |
juan1 | i have a problem in one of my site | 00:05 |
dionak | makes sense, but yea...ouch | 00:05 |
juan1 | i have done some changes, i have added an article and a snnipet | 00:06 |
@preaction | well, the child asset doesn't exist yet, so there's no URL which we can use to access it | 00:06 |
juan1 | i commited all my changes | 00:06 |
juan1 | and the users can see the changes | 00:06 |
juan1 | everyone can see then | 00:07 |
juan1 | but nobody is watching them | 00:07 |
-!- dionak [n=dionak@97.66.185.250] has quit [] | 00:07 |
knowmad | here's one that will make you go, huh? i have a system that has webgui.log messages entering at the system time but I have to set the scheduler back by an hour | 00:07 |
knowmad | go figure | 00:08 |
knowmad | has something to do with the perl interpreter but i have no clue what | 00:08 |
juan1 | only the admin user can see them and it is logged in and when the turn admin is on | 00:09 |
juan1 | if turn admin is off the changes are not visibles | 00:09 |
SDuensin | Hey guys. Anyone ever load a JAR out of the asset system? | 00:10 |
* SDuensin can't make it work. | 00:10 |
-!- elnino_laptop [n=elnino@user-38q49cv.cable.mindspring.com] has quit [Read error: 110 (Connection timed out)] | 00:27 |
-!- drewstephan_ [n=drewstep@ip98-164-124-83.no.no.cox.net] has joined #webgui | 00:30 |
-!- drewstephan [n=drewstep@ip98-164-124-83.no.no.cox.net] has quit [Read error: 104 (Connection reset by peer)] | 00:30 |
-!- ShortWave [n=bobbypar@unaffiliated/shortwave] has quit [Remote closed the connection] | 00:34 |
+perlDreamer | all triggered workflows are real time now, yes? | 00:41 |
@preaction | they start realtime yes | 00:42 |
-!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI | 00:46 |
+perlDreamer | bug-- | 00:46 |
-!- drewstephan [n=drewstep@ip98-164-124-83.no.no.cox.net] has joined #webgui | 00:48 |
-!- drewstephan_ [n=drewstep@ip98-164-124-83.no.no.cox.net] has quit [Read error: 104 (Connection reset by peer)] | 00:48 |
-!- drewstephan [n=drewstep@ip98-164-124-83.no.no.cox.net] has left #webgui [] | 00:54 |
knowmad | speaking of workflows, does anyone remember if there was a bugfix for day of week ranges, e.g., 1-5 | 01:12 |
+perlDreamer | Nope. I'd svn log that file to check | 01:13 |
knowmad | ok | 01:13 |
knowmad | uhh, which file should I run svn log against? I don't see a Scheduler.pm | 01:33 |
knowmad | oh, nm | 01:33 |
+perlDreamer | Spectre/Cron.pm | 01:33 |
knowmad | right, that's what reads it; i was thinking of setting it which appears to be an Op | 01:34 |
knowmad | manageCron | 01:34 |
knowmad | how can i tell when a revision was included in a tag? i need to know what revision of Cron.pm was release with 7.4.8 | 01:36 |
+perlDreamer | Workflow/Activity/CreateCronJob.pm | 01:37 |
knowmad | it looks like an op to me when i'm editing scheduler tasks | 01:38 |
knowmad | that's pretty cool to have an activity that can create cron jobs though | 01:38 |
knowmad | there's got to be a way to know what revision a release was tagged at without checking out that release.... it'll have to wait til tomorrow | 01:43 |
+perlDreamer | sorry, I only know how to run about 4-5 svn commands | 01:47 |
-!- patspam [n=patspam@ppp59-167-92-170.lns2.mel6.internode.on.net] has joined #webgui | 01:49 |
CIA-6 | WebGUI: colin * r7176 /WebGUI/ (docs/changelog/7.x.x.txt lib/WebGUI/i18n/English/WebGUI.pm): update hover help for auto request commit | 01:50 |
-!- SquOnk [n=emhn@201.248.19.52] has quit ["Yippie kay-ai-yay fudder muckers!"] | 01:54 |
-!- knowmad [n=william@97.66.185.250] has left #webgui [] | 01:59 |
-!- KlausH [n=KlausH@p5B0728DF.dip0.t-ipconnect.de] has quit ["bye"] | 02:33 |
-!- cap10morgan [n=cap10mor@h19-afsc.ded.indra.com] has quit [] | 02:39 |
-!- perlDreamer [n=ckuskie@nat082.mxim.com] has quit ["Download Gaim: http://gaim.sourceforge.net/"] | 02:50 |
-!- dionak [n=dionak@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui | 03:02 |
-!- juan1 [n=juangui@201.232.58.66] has left #webgui [] | 03:05 |
-!- carogray [n=Caroline@h69-131-72-187.nwlnnh.dsl.dynamic.tds.net] has left #webgui [] | 03:33 |
-!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has quit [Read error: 110 (Connection timed out)] | 03:39 |
-!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui | 03:44 |
-!- mode/#webgui [+v Radix-wrk] by ChanServ | 03:44 |
-!- dionak [n=dionak@cpe-024-074-132-143.carolina.res.rr.com] has quit [] | 03:57 |
-!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI | 03:59 |
-!- dionak [n=dionak@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui | 04:44 |
-!- dionak [n=dionak@cpe-024-074-132-143.carolina.res.rr.com] has quit [] | 04:58 |
-!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has joined #webgui | 05:11 |
-!- dionak [n=dionak@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui | 05:20 |
-!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has quit [Read error: 110 (Connection timed out)] | 05:25 |
-!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI | 05:32 |
-!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has quit [Client Quit] | 05:34 |
-!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has quit ["Leaving"] | 05:34 |
-!- perlDreamer [n=colink@pool-71-245-101-253.ptldor.fios.verizon.net] has joined #webgui | 05:35 |
-!- dionak [n=dionak@cpe-024-074-132-143.carolina.res.rr.com] has quit [] | 06:16 |
-!- tavisto [n=tavisto@pool-71-120-147-81.gdrpmi.dsl-w.verizon.net] has quit [] | 06:28 |
-!- tavisto [n=tavisto@pool-71-120-147-81.gdrpmi.dsl-w.verizon.net] has joined #WebGUI | 06:37 |
-!- mode/#webgui [+o tavisto] by ChanServ | 06:37 |
CIA-6 | WebGUI: dionak * r7177 /WebGUI/lib/WebGUI/Asset/Wobject/SyndicatedContent.pm: Adding conditional to test if xml is already decoded | 06:39 |
CIA-6 | WebGUI: dionak * r7178 /WebGUI/docs/changelog/7.x.x.txt: Adding update for syndicated content utf-8 check | 06:39 |
CIA-6 | WebGUI: dionak * r7179 /WebGUI/docs/credits.txt: Adding knowmad to credits for tests and bug fix | 06:39 |
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [Read error: 113 (No route to host)] | 06:49 |
-!- perlDreamer [n=colink@pool-71-245-101-253.ptldor.fios.verizon.net] has quit ["Leaving."] | 07:03 |
-!- bderrly_ is now known as bderrly | 08:05 |
@tavisto | preaction, in the gallery asset, how is all the meta data captured from the images? Is it using EXIFutils to read this info? | 08:25 |
@tavisto | guess I'll catch ya tomorrow then.. g'night all | 08:27 |
-!- tavisto [n=tavisto@pool-71-120-147-81.gdrpmi.dsl-w.verizon.net] has quit [] | 08:27 |
-!- rizen_ [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui | 08:55 |
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit [Read error: 104 (Connection reset by peer)] | 08:55 |
-!- AMH_bob [n=AMH_bob@alphamega-dmp.xs4all.nl] has joined #webgui | 09:32 |
-!- khenn [n=khenn@97.92.186.139] has quit [] | 09:34 |
-!- khenn [n=khenn@97.92.186.139] has joined #WebGUI | 09:37 |
-!- mode/#webgui [+o khenn] by ChanServ | 09:37 |
-!- khenn [n=khenn@97.92.186.139] has quit [Remote closed the connection] | 09:46 |
-!- khenn [n=khenn@97.92.186.139] has joined #WebGUI | 09:47 |
-!- mode/#webgui [+o khenn] by ChanServ | 09:47 |
-!- BartJol [n=plainstu@host2.procolix.com] has joined #webgui | 10:21 |
-!- Haaarg [n=haarg@24-240-43-138.dhcp.mdsn.wi.charter.com] has joined #webgui | 10:39 |
-!- mode/#webgui [+o Haaarg] by ChanServ | 10:39 |
-!- Haarg [n=haarg@24-240-43-138.dhcp.mdsn.wi.charter.com] has quit [Read error: 104 (Connection reset by peer)] | 10:40 |
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 113 (No route to host)] | 10:44 |
-!- KlausH [n=KlausH@p5B0705CE.dip0.t-ipconnect.de] has joined #webgui | 10:52 |
-!- Radix-wrk [n=Jesse@203.161.68.67] has quit ["Leaving"] | 11:16 |
-!- hightekvagabond [n=Administ@c-75-72-71-182.hsd1.mn.comcast.net] has joined #webgui | 13:28 |
hightekvagabond | any of you guys ever had problems APR::Request::Apache2 not finding the "handle" method? | 13:30 |
BartJol | hightekvagabond haven't seen that | 14:11 |
hightekvagabond | yeah, as far as I can tell it really has nothing to do with WebGUI and it an issue with my libapreq2 install, was just hoping someone around here had seen it | 14:12 |
BartJol | have you searched the site? | 14:16 |
BartJol | ah, i find only your post | 14:16 |
hightekvagabond | I've been searching the WebGUI forums, apache, cpan, and many mailing lists via google | 14:17 |
BartJol | well, that should have given you a clue when something is on the forum, but unfortunately.... | 14:17 |
BartJol | and what happens if you grep for that? | 14:20 |
hightekvagabond | grep for what? | 14:22 |
BartJol | for the handle method? | 14:23 |
BartJol | if the files are there, maybe the module isn't loaded | 14:23 |
BartJol | mmm, I can't find it within the wre | 14:24 |
CIA-6 | WebGUI: yung * r7180 /WebGUI/ (docs/changelog/7.x.x.txt lib/WebGUI/Asset/Wobject/Thingy.pm): fixed: Thingy: Subtext disappears when editing a field | 15:18 |
-!- kurios63 [n=chatzill@a62-216-21-20.adsl.cistron.nl] has joined #webgui | 15:28 |
-!- knowmad [n=william@97.66.185.250] has joined #webgui | 15:29 |
knowmad | hey, is anybody online who wants to conduct a search experiment with me? | 15:30 |
BartJol | what version? | 15:31 |
BartJol | or do you have a site? | 15:32 |
knowmad | i have a beta demo setup | 15:32 |
knowmad | http://beta.webgui.org/demo1218108416_88/home/search/site-search | 15:32 |
knowmad | BartJol: do you use search on any of your sites? | 15:32 |
BartJol | eeh, I added a search somewhere | 15:32 |
BartJol | but it is some time ago | 15:32 |
knowmad | i'm working on my presentation and am trying to grok how the system works | 15:33 |
knowmad | it's pretty simple but some queries aren't working | 15:33 |
knowmad | try searching "latest news" | 15:33 |
knowmad | with or without quotes | 15:33 |
knowmad | now try +news -latest which should exclude all the assets with the word 'latest' | 15:34 |
BartJol | differnce is: Commercial Documentation | 15:34 |
knowmad | what do you mean? | 15:34 |
BartJol | in the results | 15:34 |
BartJol | and latest appears in the sec ond query | 15:35 |
knowmad | yes, but why do we still get results with latest? | 15:35 |
BartJol | dunno | 15:35 |
knowmad | when we're telling wG to exclude that? 'latest' is not a stopword | 15:35 |
knowmad | at least not in MySQL | 15:35 |
BartJol | :) | 15:35 |
BartJol | does the - really exclude the following term? | 15:36 |
knowmad | nor in Search.pm | 15:36 |
knowmad | that's what it's supposed to do according to mysql docs and JT | 15:36 |
knowmad | guess there's something happening to the query as it is being biult that is going awry | 15:37 |
knowmad | do you know how i can turn on query logging in mysql? | 15:37 |
knowmad | btw, thanks for the second pair of eyes; i just wanted to be sure i wasn't overlooking something | 15:38 |
BartJol | mmm | 15:38 |
BartJol | no problem, but I'm afraid that my query language is not sufficient | 15:39 |
BartJol | and I'm a bit busy, unfortunately, because I'd like to help you | 15:39 |
knowmad | i'll report back once i figure out how webgui is building the query | 15:39 |
CIA-6 | WebGUI: yung * r7181 /WebGUI/docs/upgrades/upgrade_7.5.18-7.5.19.pl: fixed: Thingy: Subtext disappears when editing a field | 15:57 |
knowmad | BartJol: FYI, adding 'log=/data/wre/var/logs/mysql-query.log' to /data/wre/etc/my.cnf enabled the MySQL General Query Log | 16:02 |
knowmad | Also, it really looks like there's a bug in the WebGUI search builder | 16:02 |
-!- topsub [n=josh@97.66.185.250] has joined #webgui | 16:13 |
-!- kurios63 [n=chatzill@a62-216-21-20.adsl.cistron.nl] has quit ["ChatZilla 0.9.83 [Firefox 3.0.1/2008070208]"] | 16:22 |
BartJol | that might be | 16:24 |
knowmad | BartJol: i've submitted a bug report with my findings -- http://www.webgui.org/bugs/tracker/webgui-search-errors#N-mQBBz8rn53dQvQDXrPgA | 16:24 |
knowmad | have you ever looked at the search() method in WebGUI::Search? | 16:24 |
BartJol | nope | 16:25 |
knowmad | it's 110 lines of complicated logic! | 16:25 |
BartJol | beyond my limits right now :) | 16:25 |
BartJol | aaah | 16:25 |
knowmad | me too! hopefully one of the devs will take a look at it today | 16:25 |
BartJol | some genius worked on that | 16:25 |
knowmad | i'd really like to have this fixed for my presentation | 16:25 |
knowmad | yeah, i suspect that's all rizen_ | 16:26 |
knowmad | it's not just the perl code but also the data storage that's interesting | 16:26 |
knowmad | all indexed keywords are put into the assetIndex table into a single column called, wait for it.... keywords | 16:26 |
knowmad | that's straight-forward enough but.. | 16:27 |
knowmad | every keyword is separated by two single-quotes | 16:27 |
knowmad | i've yet to grok what that's about and how it doesn't cause breakage when searching for phrases | 16:27 |
SDuensin | Morning! | 16:29 |
knowmad | morning | 16:29 |
SDuensin | I love the tire place in town... I called and told him I had a screw in one of my tires. He was like, "Well, if you want them all to match, we can put screws in the other three." | 16:29 |
topsub | lol wow | 16:29 |
-!- tavisto [n=tavisto@pool-71-120-147-81.gdrpmi.dsl-w.verizon.net] has joined #WebGUI | 16:30 |
-!- mode/#webgui [+o tavisto] by ChanServ | 16:30 |
BartJol | and how is the search query broken? split on space? | 16:36 |
knowmad | did you read my bug report? | 16:36 |
knowmad | i don't know how it's broken as i don't understand how it work | 16:36 |
BartJol | am now | 16:36 |
knowmad | however, it does not perform as advertised in regards to boolean operators | 16:37 |
knowmad | my initial forays into the query it builds lead me to believe there are logic errors in the search method that is building the MySQL query | 16:38 |
BartJol | doesn't seem good | 16:38 |
knowmad | nope, explains why my clients have told me search is funky | 16:38 |
knowmad | overall, the search system rocks but bugs like this are a showstopper | 16:39 |
knowmad | it doesn't matter how technically cool it is if it doesn't perform as expected | 16:39 |
knowmad | BartJol: are you attending the WUC? | 16:40 |
BartJol | I am | 16:40 |
knowmad | speaking? | 16:40 |
BartJol | I will | 16:40 |
knowmad | which talk are you doing? | 16:40 |
BartJol | on macro's in the user track | 16:41 |
BartJol | first one, as the schedule remains the same | 16:41 |
knowmad | cool, those are handy critters | 16:41 |
BartJol | but now I have to find out why a subdomain doens't refer people to the right webgui site | 16:42 |
-!- Haaarg [n=haarg@24-240-43-138.dhcp.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"] | 16:45 |
knowmad | sounds like an apache config issue assuming the dns is correct | 16:47 |
BartJol | yeah, modprxy and moperl confs were incomplete | 16:48 |
BartJol | changed it, and worked | 16:48 |
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui | 16:53 |
-!- mode/#webgui [+o perlmonkey2] by ChanServ | 16:54 |
-!- Haaarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui | 17:04 |
-!- mode/#webgui [+o Haaarg] by ChanServ | 17:04 |
-!- dionak [n=dionak@97.66.185.250] has joined #webgui | 17:08 |
-!- Haaarg is now known as Haarg | 17:10 |
knowmad | BartJol: you still hanging around? | 17:18 |
BartJol | yup | 17:19 |
knowmad | check out these search terms @ http://beta.webgui.org/demo1218108416_88/home/search/site-search | 17:19 |
knowmad | +news* -latest | 17:20 |
knowmad | the asterisk totally changes the results | 17:20 |
BartJol | cool, strange but cool | 17:21 |
-!- hightekvagabond [n=Administ@c-75-72-71-182.hsd1.mn.comcast.net] has quit ["Leaving."] | 17:22 |
knowmad | the strange is what's bad | 17:26 |
knowmad | i updated my bug report and am hoping it's enough info for whoever built the search system to fix this issue | 17:27 |
knowmad | it's a pretty glaring bug IMO | 17:27 |
BartJol | yeah, it's bad when such a cool function doesn't work properly | 17:30 |
@Haarg | i believe it's because of the chinese work support section | 17:31 |
@Haarg | not sure of the best way to fix it, as i'm not yes certain what that code is supposed to do | 17:31 |
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui | 17:48 |
-!- mode/#webgui [+o preaction] by ChanServ | 17:48 |
@perlmonkey2 | Is there some documentation showing how the auto-forms work? When a Layout's edit form is submitted, if there are no checkboxes ticked, then Form::Checkbox is never called. Yet somehow the Session::Form is getting the default values (probably from the asset), and I need to know where that happens. | 17:52 |
@Haarg | it's a bit complex how that happens | 17:56 |
@perlmonkey2 | Haarg: I'm just putting traces in everything related so I can watch it happen :) | 17:57 |
@Haarg | processPropertiesFromFormPost calls session->form->process | 17:57 |
@Haarg | and includes the current value | 17:57 |
@Haarg | that goes through the formvalidator code, autoload etc | 17:58 |
@perlmonkey2 | Haarg: btu I'm not even sure this happens in processPoerpertiesFromFormPost as there is nothing related to these properties in the form post. | 17:58 |
@perlmonkey2 | no checkboxes checked, means nothing posted. | 17:58 |
@Haarg | it does that for everything in the definition though | 17:59 |
@perlmonkey2 | oh | 17:59 |
@perlmonkey2 | Thanks | 17:59 |
@Haarg | that goes through the form validator, autoloader, etc | 17:59 |
@Haarg | and calls getValue | 17:59 |
-!- rizen_ is now known as rizen | 18:28 |
-!- mode/#webgui [+o rizen] by ChanServ | 18:28 |
CIA-6 | WebGUI: yung * r7182 /WebGUI/ (docs/changelog/7.x.x.txt lib/WebGUI/Search.pm): fixed: WebGUI Search errors - boolean search using filtering does not work | 18:29 |
-!- AMH_bob [n=AMH_bob@alphamega-dmp.xs4all.nl] has quit ["Leaving."] | 18:30 |
-!- patspam [n=patspam@ppp59-167-92-170.lns2.mel6.internode.on.net] has quit ["Leaving."] | 18:34 |
-!- BartJol [n=plainstu@host2.procolix.com] has left #webgui [] | 18:45 |
@tavisto | preaction, in the gallery asset.. did you setup the metadata to be extracted from the images using EXIFutils? | 19:03 |
@preaction | it is EXIF data, yes | 19:03 |
@tavisto | my friend is a photographer and he really likes the gallery asset (and plans to use it). However, he wanted to know if we could add several fields that he thought were important and missing | 19:04 |
@preaction | uh... i grab them all, and delete the ones that break things | 19:05 |
@preaction | if the EXIF field is in the photo, it's in the template | 19:05 |
@tavisto | He was going to send me a list of them since I can't remember all the ones he told me about. We posted a few of his pictures and all of the fields that showed up on his Vista machine did not show up in the gallery | 19:06 |
@preaction | which ones are missing? maybe they're ones I had to delete | 19:06 |
@preaction | then the underlying Perl module does not know about or handle those fields | 19:06 |
@tavisto | he spouted off a bunch that were in relation to gps coords and stuff photographers would care about :) | 19:07 |
@preaction | right, but how are they stored in the Exif data? i would suspect that the GPS coords are stored in some binary representation, which isn't automatically handled and we'd have to do manually. | 19:09 |
@preaction | possible, of course, but an RFE nonetheless | 19:09 |
@tavisto | oh yeah I definitely think that might be the case. What I'll do is get the list from him and then paste all of the 'missing fields | 19:09 |
@tavisto | in the RFE | 19:09 |
@preaction | if you give me one of the images you're talking about, i have an idea | 19:09 |
-!- perlDreamer [n=ckuskie@nat082.mxim.com] has joined #webgui | 19:09 |
@tavisto | some of them were simple.. and yes I can give you some of his images.. he works for NOAA and takes some pretty amazing pics on their research projects | 19:10 |
@preaction | do they host with us? or do they have their own server? | 19:10 |
@preaction | if my idea works, I can give them a patch | 19:10 |
@tavisto | NOAA is not a client... yet :) | 19:10 |
ckotil | man, if you guye get NOAA that would be sweet | 19:11 |
ckotil | I might be doing work for them soon | 19:11 |
@tavisto | JT (my other buddy - not Rizen) works for NW Labs in washington | 19:11 |
@tavisto | so my visit was to see a good friend... and also make use of an opportunity to expand our reach into the govt. | 19:12 |
ckotil | nice | 19:12 |
perlDreamer | I still think we need to take over the Papa John's website | 19:12 |
@tavisto | sweet ckotil, they are a great group to work with I'm told | 19:12 |
@tavisto | yes, and we can barter an intranet for pizza | 19:13 |
@perlmonkey2 | okay, a day later I'm finally at where preaction was on this issue of the bug where you can't uncheck all assets to be unhidden in a Layout. | 19:15 |
@perlmonkey2 | This bit of logic in Form::Control is the issue and there isn't a good way to solve it, I don't think. | 19:16 |
@perlmonkey2 | http://webgui.pastebin.com/d300c8799 | 19:16 |
@perlmonkey2 | if no value is passed in grab the default value. Probably correct behavior for most cases, except where we have a checkbox list with nothing checked. | 19:17 |
perlDreamer | So this actually affects _all_ checklists, not just this one. | 19:17 |
@perlmonkey2 | perlDreamer: that would be my assumption | 19:17 |
@preaction | what definition sub is that using? Form::Controls? | 19:18 |
@perlmonkey2 | any asset with a checkbox list could not have its properties changes so that once a box is ticked, at least 1 other box will laways have to be ticked. | 19:18 |
@perlmonkey2 | preaction: that is from new in Form::Control | 19:18 |
@preaction | okay, but that's just instanciating a form control, right? | 19:19 |
@perlmonkey2 | yes which then getValue is called on | 19:19 |
@perlmonkey2 | FormValidator::process does my @values = $self->$type($params); which creates the Form::asset and calls getValue on | 19:20 |
@preaction | line 222 of lib/WebGUI/Form/List.pm is the problem | 19:20 |
@perlmonkey2 | $params is the %hash from Asset::processPropertiesFromFormPost | 19:20 |
* perlmonkey2 wonders how he could have possible missed that CheckBox was not a Control, but a List | 19:21 |
@perlmonkey2 | for a list there shouldn't be a defaultValue? Nothing passed in means we want null? | 19:22 |
-!- cap10morgan [n=cap10mor@206-124-7-89.denver.dsl.forethought.net] has joined #webgui | 19:25 |
-!- mode/#webgui [+v cap10morgan] by ChanServ | 19:25 |
@preaction | or look below that, in getDefaultValue. that doesn't loook right at all | 19:25 |
@preaction | the problem is that getDefaultValue is getting called at all. the default value (when it comes to assets) shouldn't be used if the control was displayed to the user | 19:26 |
@preaction | it should only be used if the asset was added through the API and not the UI, and it should be used to show the initial value when the UI is displayed for adding a new asset | 19:26 |
@perlmonkey2 | yeah, I commented 222 out and it works great for the Layout checkboxes | 19:26 |
@preaction | but when a list-like form control doesn't have an entry, it doesn't get added to the form post, and WebGUI assumes it wasn't shown and sets a default value | 19:27 |
@preaction | for our problem, "value" is more important than "defaultValue" | 19:27 |
@preaction | so it's multiple problems: one, getDefaultValue is being called. two, "value" is being used because it's more important than defaultValue | 19:28 |
@preaction | i think for list types, we might have to make defaultValue more important than value | 19:28 |
@perlmonkey2 | I'm not tracking. I would have thought that defaultValue shouldn't have any importance with List types. They should default to nothing? | 19:30 |
@preaction | what if you want it to default to something when creating an asset using addChild? | 19:31 |
@perlmonkey2 | I still haven't fully grokked getDefaultValue, getValue and get('value') | 19:32 |
@perlmonkey2 | so I don't know :) | 19:32 |
@perlmonkey2 | preaction: I'm feeling a little out of my depth on this one and am deferring to you and how best to proceed. | 19:35 |
@preaction | getValue is the value from the form | 19:35 |
@preaction | getDefaultValue is either the "value" property or the "defaultValue" property | 19:35 |
@perlmonkey2 | simple enough | 19:36 |
@preaction | getValue calls getDefaultValue if it needs to, and in our case here it's calling it but doesn't need to | 19:36 |
@perlmonkey2 | So remove the call? | 19:37 |
@preaction | can't, we actually do need to call it, but not in this one case | 19:37 |
@preaction | the problem: how do we determine if we need to call it? | 19:37 |
@perlmonkey2 | and how do we tell getValue not to call getDefaultValue? | 19:37 |
perlDreamer | can we get a list of existant form variables? | 19:37 |
@perlmonkey2 | move the logic up further in the form and add a special flag to this getValue? | 19:37 |
perlDreamer | if it exists as a form variable, we always use the form variable, regardless of its value | 19:37 |
@preaction | perlDreamer, no. if a list type doesn't have a value selected, it doesn't show up as a query parameter | 19:38 |
perlDreamer | if it doesn't we should use the "backup" logic | 19:38 |
perlDreamer | that sucks | 19:38 |
@preaction | i'm thinking if session->request exists, we use that no matter what | 19:38 |
@perlmonkey2 | perlDreamer: this isnt' the first time that checkboxes not showing up as empty params has bit me :( | 19:38 |
perlDreamer | preaction, session->request always exists | 19:39 |
perlDreamer | even in tests, now | 19:39 |
perlDreamer | WebGUI.pm, line 405 | 19:40 |
perlDreamer | Every WebGUI page fetch gets a Request object | 19:41 |
perlDreamer | it might be empty (with no form data), but it's there | 19:41 |
@perlmonkey2 | I like have FormValidator test for Lists and then call getValue($value,DONTGETDEFAULTVALUE) on only list types | 19:41 |
@perlmonkey2 | Bad idea? | 19:45 |
@preaction | probably. when would we use that? | 19:48 |
@preaction | i'm almost going towards not giving the "value" field to the form element in processPropertysFromFormPost | 19:48 |
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has joined #webgui | 19:48 |
-!- mode/#webgui [+v MrHairgrease] by ChanServ | 19:48 |
@perlmonkey2 | preaction: I'm thinking we would use that flag everytime a List is processed in FormValidator | 19:50 |
@perlmonkey2 | or I guess the same effect could be had by putting that in Asset::processPostFromForm | 19:51 |
@perlmonkey2 | I mean processProperties | 19:52 |
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit [] | 19:53 |
-!- hightekvagabond [n=Administ@c-75-72-71-182.hsd1.mn.comcast.net] has joined #webgui | 19:55 |
topsub | After a product is added to the cart what callback gets called? So i could say have it redirect to the shopping cart? | 19:56 |
@perlmonkey2 | So preaction, in FormValidation::AUTOLOAD we could test if $control isa List and then return $control->getValue(@args,NODEFAULTVALUE) | 20:00 |
@perlmonkey2 | that seem like a good place for it? Should only get used when a form is submitted, right? | 20:00 |
@Haarg | that seems rather ugly | 20:01 |
@perlmonkey2 | Haarg: If List types should not call getDefaultValue when used with the UI, but use it with the API, won't there have to be a clunky special case flag+logic in there? | 20:02 |
@Haarg | preaction: you have to supply value for file fields | 20:06 |
perlDreamer | topsub, the url for buying is func=buy | 20:06 |
perlDreamer | you can trace it from there | 20:06 |
@Haarg | well, lists shouldn't need to be special, and really only multi select lists are the issue here | 20:06 |
@Haarg | and getting the default value isn't really a problem, only getting value | 20:07 |
* SDuensin hates CSS. | 20:08 |
@perlmonkey2 | Haarg: I thought getting the defaultvalue was the problme. We don't want the default value if there is no value, bcause that means none of the check boxes were checked and we want undef as the value. | 20:08 |
@Haarg | the default value is undef though | 20:08 |
SDuensin | Anyone else have problems with vertical alignment of the content when using the site builder provided template? | 20:08 |
@perlmonkey2 | It doesn't become the last value? | 20:08 |
@Haarg | no, but 'value' does | 20:09 |
@perlmonkey2 | foreach my $value ($self->get("value"), $self->get("defaultValue")) { | 20:09 |
@perlmonkey2 | that is for List::getDefaultValue | 20:09 |
@Haarg | SDuensin, what kind of problems? | 20:09 |
SDuensin | Here, Haarg - http://test.cloudcircle.com/discuss/discussion-forums/general-chatter/test7#L_aiSLUIfcaDnpRZD71OCQ | 20:09 |
@Haarg | ah yeah | 20:10 |
@Haarg | clear:both in some of the templates | 20:10 |
SDuensin | I'm too dumb to fix it. | 20:10 |
@perlmonkey2 | So then for getDefaultValue for a list type we woudl only return the defaultValue never just the value? | 20:10 |
@Haarg | possibly, i'm not certain | 20:10 |
@Haarg | SDuensin, if you apply a overflow: hidden to #mainBodyContentContainer i think that may help | 20:11 |
@perlmonkey2 | but that would make sense because if nothing is passed in, we don't want 'value'? I can't think of a form type where you would? | 20:11 |
SDuensin | I'll try it, Haarg - thanks! | 20:12 |
@Haarg | if you set value and default value, and call getDefaultValue, you want it to get the value | 20:12 |
@perlmonkey2 | Haarg: but for a form type, if there is no passed in value, you wouldn't want the asset def value woudl you? | 20:13 |
@Haarg | but if you call getValue you don't | 20:13 |
@perlmonkey2 | for a List getValue calls getDefaultValue if doesn't find antyhing. | 20:13 |
@Haarg | yeah | 20:13 |
@Haarg | seems like maybe it shouldn't | 20:13 |
@Haarg | maybe just get('defaultValue') | 20:13 |
SDuensin | Thank you! I would *never* have found that. | 20:14 |
@Haarg | that's probably a modification we should do in the site builder | 20:15 |
* SDuensin agrees. | 20:15 |
@Haarg | perlDreamer, i'm using a modified User.t from you to change how user profile fields are retrieved | 20:16 |
@Haarg | is it ok to commit that file? | 20:16 |
SDuensin | Unfortunately, we've found a few issues with the site builder templates. | 20:16 |
@perlmonkey2 | Haarg: removing the call to getDefaultValue from getValue makes the Layout checkboxes work as expected. Only removing the get('value') from getDefaultValue breaks the Layout checkboxes. | 20:16 |
@Haarg | well, you wouldn't want getDefaultValue to skip value | 20:17 |
SDuensin | There's some weirdness in IE with the blog templates, too. Been ignoring it for now. :-) | 20:17 |
@Haarg | i was thinking maybe getValue for lists should not use getDefaultValue, but just get the defaultValue themselves | 20:17 |
perlDreamer | Haarg, what exactly is different about it? | 20:18 |
SDuensin | Or, maybe they were related. That'd be convenient. | 20:18 |
perlDreamer | paste a patch? | 20:18 |
@perlmonkey2 | Haarg: right, because all calls are to getValue with either a $value passed in or not, and you don't pass in the value if you want the properties | 20:18 |
@perlmonkey2 | that logic seems repetitive. Seems like the properties are already going to be used if getValue doens't return something. hmm, but maybe I'm wrong. | 20:19 |
@Haarg | perlDreamer, http://webgui.pastebin.com/m7997b426 | 20:19 |
* perlmonkey2 wonders off in search of food. | 20:21 |
@Haarg | also, this really only applies to multiselect lists | 20:21 |
perlDreamer | Haarg, I think you need to merge in the leaky group tests | 20:21 |
perlDreamer | aside from that, it's fine | 20:21 |
@Haarg | single select lists should be using the code as it is i think | 20:21 |
perlDreamer | and the getGroupIdsRecursive test | 20:22 |
@Haarg | is that the stuff you added recently? | 20:22 |
perlDreamer | yes, within the last week | 20:22 |
@Haarg | ok | 20:22 |
perlDreamer | I found a whole slew of other bug with that test | 20:22 |
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui | 20:24 |
-!- mode/#webgui [+o rizen] by ChanServ | 20:24 |
CIA-6 | WebGUI: jt * r7183 /WebGUI/ (5 files in 5 dirs): Exposed user and url fields to shop vendors. | 20:27 |
-!- slickware [n=slick@mail.hillviewmontessori.org] has joined #webgui | 20:37 |
slickware | question: | 20:38 |
slickware | if I upload an html file as a snippet to a PB reseller host site, will it display as HTML if I access it directly? | 20:38 |
@preaction | slickware, try it and see, but i think yes | 20:39 |
slickware | i'm trying to get a workaround for not being able to run a perl script from a reseller site | 20:40 |
perlDreamer | HTTP Proxy asset, perhaps? | 20:40 |
slickware | and this one can be hosted offsite and accesd by httpproxy, but I still need an on-site html template for the results | 20:40 |
slickware | at least, I think I do | 20:40 |
slickware | would I use the snippet tool or just filepile it? | 20:41 |
@preaction | you would use the snippet tool | 20:42 |
perlDreamer | If you try to upload it as a File, it will probably be filtered since WebGUI has XSS prevention code in there | 20:42 |
@preaction | or an article might work just as well | 20:42 |
slickware | it needs an .html extension | 20:43 |
@preaction | a ziparchive asset can get around the HTML filter, but that's more for zipping up an entire site and uploading it | 20:43 |
@preaction | so give it an .html extention in the URL field? | 20:43 |
slickware | really... | 20:43 |
slickware | hmm | 20:43 |
* perlDreamer lunches... | 20:56 |
slickware | can anyone explain how to use the redirect wobject? I thought I had it, but it doesn't seem to be doing anything at all | 21:18 |
@preaction | you have to actually visit the redirect asset URL directly | 21:18 |
@preaction | then it will redirect you | 21:19 |
slickware | ... | 21:19 |
@preaction | not if it just shows up on the page (which was its old behavior, iirc) | 21:19 |
slickware | so... how can I make a page, in my page tree, that also redirects you? | 21:19 |
slickware | or do I just "not hide" the redirect wobject from navigation | 21:19 |
@preaction | the second one: don't hide it from navigation | 21:20 |
slickware | k | 21:20 |
slickware | then... how can I move it around in the navigation menus? | 21:22 |
@preaction | the same way you'd move anything else around, change its rank | 21:22 |
@preaction | or cut/paste it | 21:22 |
@preaction | treat it like any other page | 21:22 |
slickware | but... it's *on* a page | 21:22 |
slickware | where is its rank now? | 21:22 |
@preaction | in the Asset Manager | 21:23 |
slickware | oh | 21:23 |
@preaction | all assets are their own pages, some assets display other assets | 21:23 |
slickware | i'm still used to the completely awesome up/down upup/downdown arrows | 21:23 |
slickware | well, that was fun | 21:24 |
slickware | and simpler than I thought | 21:24 |
slickware | after I sat there for a minute going, how the hell do I change rank, and then I clicked on it | 21:24 |
@preaction | are you in 7.5? you just enter the new rank. on 7.4, it's drag and drop | 21:25 |
slickware | 7.4. reseller host. | 21:25 |
slickware | still waiting on 7.5 | 21:25 |
@preaction | yay 7.5! | 21:26 |
slickware | yeah... I can't wait to have the expire-on-Xdate back | 21:26 |
slickware | that's in 7.5 again, right? | 21:26 |
@preaction | yes | 21:26 |
slickware | thank god | 21:26 |
hightekvagabond | 7.4 is considered the stable though, right? | 21:30 |
perlDreamer | It's very stable. | 21:30 |
perlDreamer | Unchanging | 21:30 |
slickware | where can I find the context for using the GroupText macro | 21:31 |
perlDreamer | on the wiki | 21:31 |
slickware | (side note: I giggle every time I say that) | 21:31 |
slickware | curse the wiki | 21:32 |
slickware | shouldn't it be in the help file? in the 'macros, list of' section!? | 21:32 |
perlDreamer | whatever | 21:32 |
perlDreamer | That's a list of macros which you can use | 21:32 |
slickware | right | 21:32 |
perlDreamer | to learn how to use them, that info is in the wiki | 21:32 |
slickware | but, why not add a context column to that table | 21:32 |
perlDreamer | maybe I'm not understanding your question | 21:33 |
perlDreamer | you just want to know where you can use a macro | 21:33 |
slickware | well | 21:33 |
slickware | I mean if i'm looking up macros | 21:33 |
slickware | what good is a list of macros that doesn't say HOW to use them | 21:33 |
slickware | especially something like grouptext, which requires 2 variables in the (); | 21:33 |
perlDreamer | well, we could make every macro name a link back to the wiki | 21:34 |
perlDreamer | but then people who make custom macros couldn't make their own macro docs | 21:34 |
perlDreamer | since it wouldn't be cool to have custom macro docs on the wiki | 21:34 |
slickware | or they could link to their macro docs from the WG wiki | 21:34 |
perlDreamer | and some people have wG website which don't connect to the internet, only to small, private local networks | 21:35 |
slickware | ah | 21:35 |
slickware | so exactly | 21:35 |
slickware | WG macro usage should be defined int he WG help file! | 21:35 |
perlDreamer | You can always post that as an RFE | 21:37 |
@perlmonkey2 | Haarg: a single select list can have zero boxes checked also, can't it? Then woudlnt' it suffer the same problem? | 21:37 |
@preaction | yes | 21:37 |
@perlmonkey2 | So we have a couple of options. Remove the call to getDefaultValue from getValue or add in a clunky flag. Any other possible solutions I'm missing? | 21:39 |
@perlmonkey2 | Because I guess the solution is to write some tests to run through this and see which options work for all possible uses. | 21:40 |
-!- slickware [n=slick@mail.hillviewmontessori.org] has left #webgui [] | 21:41 |
@Haarg | i'm not sure on the single select thing. i can't think of a case where you have a single select where it would be valid to send back nothing. | 21:51 |
perlDreamer | There are drop down lists (like in the Product), where there is not a Select All.. option. None are initially selected. | 21:52 |
perlDreamer | sorry. Not Select All, but Select one | 21:53 |
@Haarg | in a drop down? | 21:54 |
perlDreamer | Yes | 21:54 |
@Haarg | because a drop down is going to end up selecting something | 21:54 |
perlDreamer | I see. So this would only pertain to check lists (single or multi select) | 21:55 |
@Haarg | or multi select list boxes | 21:55 |
@perlmonkey2 | hah, so then CheckList has its own special getValue which doens't call getDefaultValue. Solved??? | 21:55 |
@Haarg | i think so | 21:56 |
@perlmonkey2 | okay, I'll test it and then write some tests for it. Unless writing tests is less important than getting all the bugs smashed by tomorrow. | 21:56 |
@preaction | tests! | 21:56 |
@Haarg | tests | 21:57 |
perlDreamer | tests | 21:57 |
@rizen | testing is for sissys | 21:57 |
@Haarg | given how long the discussion took, making sure we stay consistant with that is important | 21:57 |
+MrHairgrease | rizen++ | 21:57 |
perlDreamer | with tests, when you fix it, people will know when it breaks | 21:57 |
perlDreamer | like the code that rizen just submitted | 21:57 |
* preaction embraces his sissinessss | 21:57 |
* perlmonkey2 must be new here. | 21:58 |
@perlmonkey2 | From the UI, that resolves it. Now to write a test to try it from the API. | 22:00 |
perlDreamer | Hey, did someone implement the move content to another version tag RFE? | 22:11 |
@preaction | perlDreamer, yes | 22:11 |
perlDreamer | the RFEs not closed | 22:11 |
@preaction | i think. it was Radix_'s RFE, perhaps he should verify | 22:11 |
@preaction | i think i had to fudge something | 22:11 |
@preaction | or maybe that was the Registration Form one | 22:12 |
@preaction | Ryan McCombs has a PBWG now? | 22:12 |
@preaction | nice | 22:12 |
perlDreamer | yup | 22:13 |
@preaction | does that mean i get the 5247 karma that was applied to that RFE? | 22:14 |
perlDreamer | sure. Why not? | 22:15 |
@perlmonkey2 | preaction: okay, I don't think I understood what you meant when you said a checkList would need access to its defaultValue if it was created with addChild. | 22:16 |
@preaction | perlmonkey2, when addChild is called, Asset->update goes through the definition and grabs defaultValue | 22:16 |
@preaction | but, a form control is never created | 22:16 |
@preaction | it just grabs the defaultValue from the definition | 22:17 |
@perlmonkey2 | preaction: Do I need to check if asset->update calls getDefaultValue or getValue? | 22:17 |
@preaction | no, you can, but i know it doesn't | 22:17 |
@preaction | update doesn't make the form controls at all, too expensive for too common an operation | 22:18 |
@perlmonkey2 | So it directly accesses the properties. So then there shouldn't be any problem with making getValue no longer also check getDefaultValue? | 22:18 |
@preaction | right | 22:19 |
CIA-6 | WebGUI: graham * r7184 /WebGUI/ (docs/changelog/7.x.x.txt lib/WebGUI/User.pm t/User.t): fixed: user profile defaults can contain arbitrary perl code | 22:27 |
CIA-6 | WebGUI: translation * r7185 /translations/Russian/ (46 files in 2 dirs): Update from translation server | 22:27 |
CIA-6 | WebGUI: graham * r7186 /WebGUI/lib/WebGUI/User.pm: oops | 22:27 |
CIA-6 | WebGUI: perlmonkey2 * r7187 /WebGUI/ (3 files in 3 dirs): Layout can now uncheck all hidden assets. CheckList now has its own getValue which does not call getDefaultValue. | 22:27 |
@rizen | i can't believe i just read what i read | 22:53 |
@rizen | no absolutely not | 22:53 |
@rizen | getValue MUST call getDefaultValue | 22:53 |
@rizen | and not read it from the properties | 22:53 |
@perlmonkey2 | okay, I'll move it back. | 22:54 |
@perlmonkey2 | But it works. I wrote tests for it. | 22:54 |
@perlmonkey2 | and there is a bug if it calls getDefaultValue | 22:54 |
-!- khenn_ [n=khenn@97.92.186.139] has joined #WebGUI | 22:58 |
@rizen | maybe we need a separate method called getOriginalValue() | 23:01 |
@perlmonkey2 | rizen: it had been mentioned that for a checklist getValue would never need to get the defaultValue. | 23:02 |
@rizen | that's not true | 23:03 |
@rizen | there are several reasons why it may need to | 23:03 |
@rizen | the first of which is taint checking | 23:03 |
@rizen | what if someone submits something just over the url without actually using the form we generated? | 23:04 |
@rizen | but secondly, FormValidator can be used offline | 23:04 |
@rizen | to validate data pulled in from a csv file for example | 23:04 |
@perlmonkey2 | rizen: okay, then what about having CheckList::getDefaultValue not get the value property, just the default property? | 23:05 |
@rizen | which is what i'm saying | 23:06 |
@perlmonkey2 | oh | 23:06 |
@rizen | getDefaultValue should get the default value only | 23:06 |
@rizen | and then getOriginalValue returns the value property | 23:06 |
perlDreamer | how is that different from ->get('value') and getValue? | 23:06 |
@rizen | and the toHtml then would use getOriginalValue() to draw the form | 23:07 |
@rizen | also getOriginalValue() would call getDefaultValue() if no original value exists | 23:07 |
@rizen | PD, how it's different is that the raw value can be lots of things | 23:07 |
@rizen | it could be a hash reference | 23:07 |
@rizen | or it could be a delimited list of options | 23:07 |
@rizen | in the case of a list | 23:08 |
@rizen | and getOriginalValue() and getDefaultValue's jobs are to figure out what kind of data structure was passed in | 23:08 |
@rizen | and format it appropriately | 23:08 |
@rizen | so in many form controls, getDefaultValue and getOriginalValue might just return the raw property | 23:08 |
@rizen | but in the case of lists it does some special processing | 23:09 |
@rizen | that's why i don't want people circumventing the API | 23:09 |
@rizen | if the API is broken, then fix it, but don't work around it | 23:09 |
@rizen | i'm sorry...not a hash reference, but an array reference | 23:09 |
perlDreamer | yeah, I knew what you meant | 23:10 |
+MrHairgrease | In the Nav wobject the page.indent_loop tmpl_loop is based on page.relDepth. | 23:10 |
+MrHairgrease | page.relDepth can be -something however | 23:10 |
+MrHairgrease | causing the indent_loop not to indent for the pages for which that condtion applies | 23:10 |
@rizen | how can it be negative MHG? | 23:10 |
-!- tavisto [n=tavisto@pool-71-120-147-81.gdrpmi.dsl-w.verizon.net] has quit [] | 23:10 |
+MrHairgrease | reldepth = lineage of cur page - lineage ofstartpoint | 23:11 |
+MrHairgrease | if you include ancestors | 23:11 |
@rizen | oh for anscenstors | 23:11 |
@rizen | yeah | 23:11 |
+MrHairgrease | yeah | 23:11 |
+MrHairgrease | should i fixc that? | 23:11 |
@rizen | yup | 23:11 |
@rizen | please do | 23:11 |
@rizen | good find | 23:11 |
+MrHairgrease | it also solves the l;i ul problems | 23:11 |
@rizen | nice | 23:12 |
@rizen | perlmonkey2 so do you get me? | 23:12 |
+MrHairgrease | I was checking out that problem for rogier of united knowledge | 23:12 |
+MrHairgrease | will fix it tomorrow then | 23:12 |
-!- khenn [n=khenn@97.92.186.139] has quit [Read error: 113 (No route to host)] | 23:15 |
@perlmonkey2 | rizen: sure | 23:15 |
@perlmonkey2 | rizen: Do you want this method only added to the CheckList or to all Form types? | 23:16 |
@Haarg | all types | 23:16 |
+MrHairgrease | perlDreamer: what part of Selenium does the website -> image conversion? | 23:17 |
@perlmonkey2 | And the FormValidator needs to use it then? | 23:17 |
perlDreamer | It's a JS method in the browser, MrHairgrease | 23:17 |
@Haarg | i don't know if FormValidator will need to change | 23:17 |
+MrHairgrease | aha | 23:17 |
perlDreamer | I believe it's exposed through the API down to perl, but if not, you can build a Selenium control file with a browser and then just replay it | 23:17 |
+MrHairgrease | but you still need a browser then | 23:18 |
+MrHairgrease | and hence X | 23:18 |
perlDreamer | yes, and yes | 23:18 |
perlDreamer | but it's already setup to be automated | 23:18 |
+MrHairgrease | so that's still no solution unfortunately | 23:18 |
perlDreamer | rather than rolling your own | 23:18 |
perlDreamer | hm | 23:18 |
@Haarg | i think checklist will still have a special case, but it will be to ignore getOriginalValue and use getDefaultValue | 23:18 |
+MrHairgrease | the idea is that I install something on the server that does the snapshoting | 23:18 |
@Haarg | where the rest of the forms will need to be adjusted to use getOriginalValue | 23:19 |
+MrHairgrease | and rig that to import the images into the db | 23:19 |
@perlmonkey2 | So every Form type needs their getDefaultValue to not get the value property, and have a new getOriginalValue method to get the value property. And then the new method needs to be worked into the FormValidator/processPropertiesFromForm? | 23:19 |
@Haarg | into getValue | 23:19 |
perlDreamer | that's going to require X on whatever box does it. | 23:20 |
@Haarg | formvalidator etc call getvalue | 23:20 |
@Haarg | it should call getoriginalvalue | 23:20 |
@perlmonkey2 | Haarg: okay. But in the CheckList that new method wouldn't be called? | 23:20 |
@Haarg | getOriginalValue will basically be what getDefaultValue is now | 23:21 |
@perlmonkey2 | it will do exactly the same from what I can tell. It will attempt to get the value property and fall back to the default value property, which is what getDefaultValue does, right? | 23:21 |
@Haarg | for most form types, getValue will call getOriginalValue. for checklist, it will call getDefaultValue instead | 23:22 |
@Haarg | basically, it's just renaming getDefaultValue | 23:22 |
@perlmonkey2 | But now getDefaultValue should no longer do that, it should only get the default value property. | 23:22 |
@Haarg | because that isn't an accurate name | 23:22 |
@Haarg | yes | 23:22 |
@perlmonkey2 | groovy | 23:22 |
@perlmonkey2 | I think I got it straight. This will be a large change. I have a feeling I'm about to earn my "messed things up in a spectacular way" stripes soon. | 23:23 |
@Haarg | well, if you just rename getDefaultValue everywhere i think it will be ok | 23:23 |
perlDreamer | perlmonkey2: lots and lots of tests | 23:24 |
@Haarg | there will probably be some cleanup to do afterward | 23:24 |
@Haarg | to take advantage of the change | 23:24 |
@perlmonkey2 | perlDreamer: hah, so much for getting the bug list cleaned out this week :P | 23:24 |
perlDreamer | perlmonkey2, you're probably preventing about 8 future bugs, so it still counts | 23:24 |
@Haarg | i know i ran into this issue before | 23:25 |
perlDreamer | plus, we need those tests for preventing future bugs and as documentation for API usage | 23:25 |
@perlmonkey2 | I can't explain how helpful it has been workign on this bug though. The auto-magic-form was one of the most confusing things about WG for me. This has all been quite enlightening. | 23:25 |
perlDreamer | re testing, feel free to scrap all the tests in Form that you need to develop what you need | 23:26 |
@perlmonkey2 | perlDreamer: okay ;) | 23:29 |
perlDreamer | preaction and I have talked about reimplementing those tests using his WebGUI::Test::Maker, to reduce the amount of duplicated code | 23:30 |
perlDreamer | but those tests would also work well as Test::Class tests | 23:30 |
perlDreamer | so you could setup tests for the base class, then then inherit them for children to test inheritance and overriding | 23:31 |
@perlmonkey2 | Don't sweat the 7189 rollback comments. User.pm is still 7188. | 23:37 |
@perlmonkey2 | getValue won't call getOriginalValue, but continue to call getDefaultValue? | 23:39 |
@perlmonkey2 | just double checking :) | 23:40 |
@Haarg | in all cases but checklist, yes | 23:41 |
@Haarg | or wait | 23:41 |
@Haarg | other way around | 23:41 |
@Haarg | getValue should use getOriginalValue, except for checklist | 23:41 |
@perlmonkey2 | hmm, weird, Control::getValue only calls getValueFromPost | 23:42 |
@perlmonkey2 | which then calls getDefaultValue...okay I should be able to figure it out from here......I hope | 23:42 |
@Haarg | preaction: what was the deal that led to moving that code from getValue to FromPost? | 23:43 |
@preaction | backwards compatibility | 23:43 |
@preaction | all my form controls for client sites override getValueFromPost | 23:43 |
@Haarg | ah | 23:43 |
* perlmonkey2 searches around for a way to pass this off to perlDreamer :P | 23:44 |
@preaction | so if WebGUI calls getValue, and there is no getValue in my child class, it goes up to WebGUI::Form::Control->getValue. if that doesn't end up calling my overridden getValueFromPost, that breaks my form control | 23:44 |
-!- perlDreamer is now known as notHere | 23:44 |
@perlmonkey2 | hahahahha! | 23:44 |
-!- notHere is now known as perlNewbie | 23:44 |
-!- perlNewbie is now known as cluelessDreamer | 23:45 |
@Haarg | yeah, i saw the comment about backward compat, but wasn't thinking in terms of overriding | 23:45 |
@perlmonkey2 | preaction: so your overridden getValueFromPost will break if getDefaultValue changes? | 23:50 |
@preaction | no | 23:50 |
@preaction | before getDefaultValue existed (it was added in 7.5.11), people used get("defaultValue"), which works, it's just ugly | 23:50 |
@preaction | the new API is much nicer | 23:50 |
@Haarg | ugh | 23:53 |
@perlmonkey2 | okay so there is no legacy code out there that will break if we change getDefaultValue to getOriginalValue and make getDefaultValue just get('defaultValue') ? | 23:53 |
@Haarg | getting the language for a user needs to use the internationalization system | 23:53 |
@Haarg | which needs the user to be initialized | 23:53 |
@preaction | perlmonkey2, no. getDefaultValue was recently added | 23:54 |
cluelessDreamer | Haarg, right, because that's a user profile field. | 23:54 |
-!- cluelessDreamer is now known as perlDreamer | 23:54 |
@Haarg | yeah | 23:54 |
@perlmonkey2 | preaction: thanks. And thanks for being patient with my plethora of questions. | 23:55 |
@Haarg | i fixed part of it, but missed this bit | 23:55 |
perlDreamer | I keep wondering whether parts of this should be promoted to real user properties | 23:55 |
perlDreamer | like language, email address, etc. | 23:55 |
@Haarg | possibly, but that wouldn't help | 23:55 |
perlDreamer | no, you're right | 23:56 |
@Haarg | well, i can fix it | 23:57 |
@Haarg | as long as nobody gets clever and sticks a i18n call in the language default value | 23:57 |
--- Day changed Fri Aug 08 2008 |
@rizen | perlmonkey2: sorry someone at the door | 00:00 |
@rizen | add it to all | 00:00 |
@perlmonkey2 | rizen: can do | 00:00 |
@perlmonkey2 | rizen: oh, I confirmed with Haarg but wanted to confirm with you. CheckList will stay a special case an only use the new getDefaultValue and not the new getOriginalValue, since the bug that kicked this off is when a form is submitted with no checkmarks checked. | 00:02 |
@rizen | not true | 00:02 |
@rizen | were you not paying attention to what i said before | 00:02 |
@rizen | getOriginalValue will need to be used in all of the toHTML methods of all forms | 00:03 |
@rizen | otherwise it won't be able to render it | 00:03 |
@perlmonkey2 | I meant in the getValue call | 00:03 |
@rizen | that's still not a special case | 00:03 |
@rizen | ALL forms should have getValue calling getDefaultValue | 00:04 |
@rizen | not getOriginalValue | 00:04 |
@rizen | hence why you need to update the toHTML method of ALL form controls to use getOriginalValue | 00:04 |
@perlmonkey2 | so getValue will no longer ever return the property 'value' for any form type? | 00:05 |
@rizen | correct | 00:05 |
@Haarg | yeah, i was thinking about that wrong | 00:05 |
@rizen | it will either return the form value, or it will return the default value | 00:05 |
@Haarg | one exception being File | 00:05 |
@perlmonkey2 | k, so CheckList isnt' a special case because all form types now work it will work. got it. | 00:05 |
hightekvagabond | ok.... stupid question.... what does WRE stand for? | 00:07 |
@Haarg | webgui runtime environment | 00:08 |
hightekvagabond | thank you | 00:08 |
-!- topsub [n=josh@97.66.185.250] has quit ["Leaving"] | 00:09 |
-!- knowmad [n=william@97.66.185.250] has left #webgui [] | 00:34 |
-!- dionak [n=dionak@97.66.185.250] has quit [] | 00:52 |
perlDreamer | Haarg, since the keys of the languages are the label entry in the language specific LANGUAGE hash, I think you're safe. If they do do that, it would never work correctly. | 00:54 |
@Haarg | yeah | 00:54 |
-!- KlausH [n=KlausH@p5B0705CE.dip0.t-ipconnect.de] has quit ["bye"] | 01:08 |
-!- knowmad [n=william@adsl-074-170-007-083.sip.clt.bellsouth.net] has joined #webgui | 01:17 |
knowmad | anyone have an idea why the Admin console would show no workflows but spectre.pl --status would show a suspended workflow (well, it varies between running, suspended and waiting) | 01:18 |
knowmad | btw, the WorkflowInstance table is empty | 01:18 |
knowmad | and there are no other sites running (no other webgui databases for that matter) | 01:19 |
knowmad | it's like i have a ghost workflow stuck somewhere in spectre... maybe a restart | 01:19 |
knowmad | for posterity's sake (since i'm talking to myself), the reset cleared up spectre | 01:25 |
@perlmonkey2 | I'm buying 1 beverage of choice for every minor, critical, or fatal bug resolved by a non-pb employee at the wuc. | 01:36 |
@perlmonkey2 | Which means everyone is in luck, because that describes most of the reamining bugs. | 01:37 |
@perlmonkey2 | Form/Asset::getValueAsHtml is being moved to getOriginalValue since it returns a link. | 01:43 |
@rizen | knowmad, spectre keeps an internal running queue of workflows separate from the workflowinstance table | 01:44 |
@rizen | if someone manually deleted something from the workflow instance table, or for some reason webgui couldn't communicate with spectre when that instance was deleted | 01:44 |
@rizen | then you would run into the scenario you just found | 01:45 |
@rizen | and restarting spectre will fix that problem, because it will rebuild it's queue from the workflow instance table at startup | 01:45 |
-!- knowmad [n=william@adsl-074-170-007-083.sip.clt.bellsouth.net] has quit [Read error: 110 (Connection timed out)] | 01:45 |
@perlmonkey2 | I'm not sure if this is correct, but will leave it as is unless someone tells me. But the Control form toHtml returns the properties value instead the properties value or the deafault. It would seem it should use the new getOriginalValue method. | 01:45 |
@rizen | yes, that should return getOriginalValue | 01:46 |
@perlmonkey2 | groovy, thanks rizen | 01:46 |
@rizen | same with toHtmlAsHidden | 01:47 |
@perlmonkey2 | got it | 01:47 |
@rizen | you may just want to grep the code for direct references to value | 01:47 |
@rizen | cuz we want none of that | 01:48 |
@rizen | but don't get too side tracked | 01:48 |
@rizen | =) | 01:48 |
@perlmonkey2 | yeah, I'll make sure that all $self->get('value') are changed. | 01:49 |
* perlmonkey2 will be back to the party after dinner. | 01:50 |
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has left #webgui [] | 01:57 |
@preaction | Haarg, how did you fix the pagination "anomaly"? | 01:59 |
@Haarg | for the 'up to 10' template var, it was calculating 5 forward and 5 back, then limiting to the real range | 02:00 |
@Haarg | instead of basing the end point on the actual start point it was using | 02:00 |
@Haarg | plus there was an off by one error | 02:01 |
@preaction | ah, so it wasn't working as it was supposed to | 02:01 |
@preaction | it sounded like it was, just in an unexpected way | 02:01 |
perlDreamer | rizen, you're saying that in Form/*.pm, that $self->get('value') should become $self->getOriginalValue() ? | 02:30 |
@Haarg | in most places | 02:31 |
perlDreamer | which defines one from the others in most? | 02:31 |
@Haarg | as in i can't think of any time would wouldn't use it | 02:31 |
perlDreamer | so if I were to | 02:32 |
perlDreamer | find Form -name '*.pm' -exec perl -pi -e 's/self->get..value../self->getOriginalValue/;' {} \; | 02:33 |
perlDreamer | and make sure the test suite passes | 02:33 |
perlDreamer | and that the diff makes sense | 02:33 |
perlDreamer | and WebGUI still works | 02:33 |
@Haarg | you can probably regex it if you want, but i'd double check as many places as you can | 02:33 |
perlDreamer | there are 35 of them | 02:34 |
@Haarg | we probably also need to make sure it is consistant in terms of getValue setting the value or not | 02:34 |
@Haarg | i seem to remember it does in some places but not others | 02:35 |
perlDreamer | what does a "good one" look like? | 02:35 |
perlDreamer | $self->set('value', $value); ? | 02:35 |
@Haarg | basically | 02:36 |
@Haarg | seems like it should consistantly save it | 02:36 |
@Haarg | well, i'm off for a while | 02:36 |
perlDreamer | thanks for your help today, Haarg | 02:37 |
@Haarg | no problem. had to get fixed somehow, and the faster we can figure out the best solution the better. | 02:38 |
-!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"] | 02:38 |
-!- perlDreamer [n=ckuskie@nat082.mxim.com] has quit ["Download Gaim: http://gaim.sourceforge.net/"] | 02:39 |
CIA-6 | WebGUI: colin * r7188 /WebGUI/ (4 files in 4 dirs): | 02:49 |
CIA-6 | WebGUI: Update tests for new profile field handling. | 02:49 |
CIA-6 | WebGUI: Change how the profileField method works in User.pm | 02:49 |
CIA-6 | WebGUI: Reindent some User.pm method according to WGBP. | 02:49 |
CIA-6 | WebGUI: perlmonkey2 * r7189 /WebGUI/ (3 files in 3 dirs): Rolled back to 7186 removing CheckList changes | 02:49 |
CIA-6 | WebGUI: graham * r7190 /WebGUI/t/i18n/critic_labels.t: skip Perl::Critic tests if unable to load modules | 02:49 |
CIA-6 | WebGUI: graham * r7191 /WebGUI/www/extras/assetToolbar/assetToolbar.css: display asset toolbar inline | 02:49 |
CIA-6 | WebGUI: graham * r7192 /WebGUI/lib/WebGUI/Session/Form.pm: don't dual check for form parameters | 02:50 |
CIA-6 | WebGUI: graham * r7193 /WebGUI/lib/WebGUI/Operation/Shared.pm: don't initialize i18n in secureEval unless needed - avoid endless loop on language user profile field | 02:50 |
CIA-6 | WebGUI: graham * r7194 /WebGUI/t/ (6 files in 3 dirs): request->body and request->param should be the same in tests | 02:50 |
CIA-6 | WebGUI: graham * r7195 /WebGUI/ (docs/changelog/7.x.x.txt lib/WebGUI/Paginator.pm): fixed: paginator doesn't show correct number of page links with a limit applied | 02:50 |
CIA-6 | WebGUI: graham * r7196 /WebGUI/docs/create.sql: preparing for 7.5.19 release | 02:50 |
CIA-6 | WebGUI: jt * r7197 /releases/WebGUI_7.5.19-beta: Release 7.5.19-beta | 02:50 |
CIA-6 | WebGUI: graham * r7198 /WebGUI/ (4 files in 4 dirs): preparing for 7.5.20 dev | 02:50 |
-!- hightekvagabond [n=Administ@c-75-72-71-182.hsd1.mn.comcast.net] has left #webgui [] | 02:50 |
@perlmonkey2 | graham, does that mean I owe you 4 beers? | 03:29 |
@perlmonkey2 | :) | 03:29 |
@perlmonkey2 | oh, he's not on. | 03:31 |
-!- patspam [n=patspam@ppp59-167-92-170.lns2.mel6.internode.on.net] has joined #webgui | 03:34 |
-!- perlDreamer [n=colink@pool-71-245-101-253.ptldor.fios.verizon.net] has joined #webgui | 04:19 |
perlDreamer | perlmonkey2: if you want some test support, I have free time this evening | 04:26 |
perlDreamer | I can't take the boys to swim lessons tonight | 04:26 |
perlDreamer | Tim ripped open a huge blister on his hand playing on the monkey bars, and the pool is pretty strict about open wounds | 04:26 |
-!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui | 04:35 |
-!- mode/#webgui [+v Radix-wrk] by ChanServ | 04:35 |
@perlmonkey2 | perlDreamer: back | 05:09 |
@perlmonkey2 | perlDreamer: I'm just now starting to look through the tests to see what needs to be changed | 05:09 |
@perlmonkey2 | but everything in Form has been updated. | 05:09 |
@perlmonkey2 | perlDreamer: monkey bar wounds can be brutal | 05:13 |
@perlmonkey2 | this is for a bug, can everyone see the latest syndicated data on http://www.plainblack.com/ ? Should be showing stuff for today. | 05:15 |
-!- knowmad [n=william@adsl-074-170-007-083.sip.clt.bellsouth.net] has joined #webgui | 05:20 |
-!- knowmad [n=william@adsl-074-170-007-083.sip.clt.bellsouth.net] has quit [Read error: 110 (Connection timed out)] | 05:40 |
-!- knowmad [n=william@adsl-074-170-007-083.sip.clt.bellsouth.net] has joined #webgui | 05:41 |
perlDreamer | perlmonkey2, when I was visitor on pb.com earlier tonight, it was showing old syndicated data. | 05:42 |
@perlmonkey2 | I'm trying with different browsers and can't get it to work. | 05:43 |
-!- perlDreamer [n=colink@pool-71-245-101-253.ptldor.fios.verizon.net] has quit ["Leaving."] | 05:47 |
@perlmonkey2 | I wonder what an ListInput is. Grepping From doesn't show it | 05:47 |
@perlmonkey2 | But test 5 of Radio.t is failing on the getValue call on it | 05:48 |
-!- perlDreamer [n=colink@pool-71-245-101-253.ptldor.fios.verizon.net] has joined #webgui | 05:48 |
-!- mode/#webgui [+v perlDreamer] by ChanServ | 05:48 |
+perlDreamer | I AM PERLDREAMER | 05:48 |
+perlDreamer | w00t! | 05:48 |
@perlmonkey2 | perlDreamer: you got a sec? | 06:09 |
+perlDreamer | yeah | 06:09 |
@perlmonkey2 | (09:47:49 PM) perlmonkey2: I wonder what an ListInput is. Grepping From doesn't show it | 06:09 |
@perlmonkey2 | (09:48:14 PM) perlmonkey2: But test 5 of Radio.t is failing on the getValue call on it | 06:09 |
+perlDreamer | and I got my nick back | 06:09 |
@perlmonkey2 | hah :D | 06:09 |
@perlmonkey2 | Dumping the input from Radio.t says it is a "ListInput" | 06:10 |
+perlDreamer | all tests pass for Form/Radio.t for me | 06:10 |
@perlmonkey2 | oh, right. I've changed almost every file in Form/ | 06:11 |
@perlmonkey2 | I'm just trying to figure out if I've broken anything by running the old tests. | 06:11 |
+perlDreamer | do you have ack installed yet? | 06:11 |
@perlmonkey2 | nope | 06:11 |
@perlmonkey2 | bug 'grep -R ListInput *' from /data/WebGUI shows nothing | 06:12 |
+perlDreamer | can you paste me the test segment, and the output | 06:12 |
+perlDreamer | man, this is when we need git | 06:12 |
@perlmonkey2 | yeah | 06:13 |
+perlDreamer | or, a private branch | 06:13 |
+perlDreamer | like WebGUI_survey | 06:14 |
@perlmonkey2 | http://webgui.pastebin.com/d4e6ad103 | 06:14 |
+perlDreamer | okay, I need to help brush and floss teeth here, back in 30 | 06:14 |
@perlmonkey2 | k | 06:14 |
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit ["The Black Blog - http://plainblack.com/tbb"] | 06:30 |
+perlDreamer | ha | 06:31 |
+perlDreamer | okay | 06:31 |
+perlDreamer | HTML::Form::ListInput comes from the HTML parser used to analyze the form that is made | 06:31 |
+perlDreamer | No defaultValue was set, only a value. | 06:32 |
+perlDreamer | but the value returned by the form should be the selected value, so offhand I'd say it's not working right. | 06:32 |
+perlDreamer | where "it" is WebGUI::Form::Radio.pm | 06:33 |
@perlmonkey2 | right | 06:33 |
+perlDreamer | dump the HTML? | 06:33 |
@perlmonkey2 | I'll try that | 06:33 |
@perlmonkey2 | hmm, value="" in the html | 06:34 |
+perlDreamer | paste? | 06:35 |
* perlDreamer is a habitual kibitzer | 06:36 |
@perlmonkey2 | <form action="/" enctype="multipart/form-data" method="post" ><div class="formContents"> | 06:38 |
@perlmonkey2 | <input type="radio" name="radio1" value="" checked="checked" /> | 06:38 |
@perlmonkey2 | </div></form> | 06:38 |
@perlmonkey2 | I figure this channel is mostly dead, no reason I can't spam it. | 06:38 |
@perlmonkey2 | so it looks like toHtml failed | 06:38 |
+perlDreamer | $self->get('value') | 06:38 |
@perlmonkey2 | output that? | 06:39 |
+perlDreamer | yeah | 06:39 |
+perlDreamer | that line in toHtml, defined $value : ...... | 06:39 |
@perlmonkey2 | Selectfy | 06:41 |
@perlmonkey2 | but getValue returned nothing | 06:41 |
@perlmonkey2 | But I'm not sure how that ever worked because getValue for the control only returns what is passed in or getValueFromPost | 06:43 |
@perlmonkey2 | and Radio isa Control. So something is weird. | 06:43 |
+perlDreamer | Wanna paste Control.pm and Radio.pm? | 06:44 |
+perlDreamer | (out of channel) | 06:44 |
@perlmonkey2 | Radio.pm http://webgui.pastebin.com/d15b57626 | 06:45 |
@perlmonkey2 | Control http://webgui.pastebin.com/d1b0cb585 | 06:45 |
@perlmonkey2 | I didn't change any getValues to call getDefaultValue if they didn't already make those calls. | 06:47 |
+perlDreamer | Radio.pm used to call $self->get('value'); | 06:48 |
+perlDreamer | but $self->getValue attempts to get data from a POST | 06:48 |
+perlDreamer | so it doesn't look inside the object. | 06:48 |
+perlDreamer | I'm not sure that getValue is what wants to be used | 06:50 |
+perlDreamer | might want to backlog and see if rizen left any hints | 06:50 |
@perlmonkey2 | oh, I messed up. All the calls in the html generators should be getOriginalValue | 06:50 |
@perlmonkey2 | not getValue, for the reason you staed | 06:51 |
@perlmonkey2 | stated | 06:51 |
-!- Haarg [n=haarg@24-240-43-138.dhcp.mdsn.wi.charter.com] has joined #webgui | 06:51 |
-!- mode/#webgui [+o Haarg] by ChanServ | 06:51 |
@perlmonkey2 | I'm pretty sure that's the only place I did that, but I'll double check | 06:51 |
+perlDreamer | good time to install ack | 06:52 |
+perlDreamer | ack is recursive by default | 06:52 |
+perlDreamer | uses perl regular expressions | 06:52 |
+perlDreamer | and by default, only searches perl files | 06:53 |
+perlDreamer | .pm, .pl, .t, and so on | 06:53 |
@perlmonkey2 | claims to be better than grep | 06:53 |
@perlmonkey2 | intresting :) | 06:53 |
@perlmonkey2 | yay for Fedora repos | 06:54 |
+perlDreamer | yum install ack | 06:54 |
@perlmonkey2 | course I need to get my mac configured and will just have to reinstall it there | 06:54 |
@perlmonkey2 | silly $job requiring OS's :P | 06:55 |
@preaction | perlmonkey2, it's not required, feel free to install a linux distro on your lappy | 06:56 |
@perlmonkey2 | preaction: maybe you are free, but I think JT gave me instructions to use MacOS | 06:56 |
@perlmonkey2 | I'll go back through my IM logs and double check before I start setting up the mac | 06:56 |
@preaction | er.... kay... | 06:57 |
+perlDreamer | It's wrong to tell people which OS to use | 06:57 |
+perlDreamer | but when it comes to editors, there is only one choice | 06:57 |
@preaction | sed! | 06:57 |
@perlmonkey2 | preaction: I think JT is probably pretty easy going, but I'd hate to start upsetting him my first week on the job. | 06:57 |
@perlmonkey2 | vim | 06:57 |
@preaction | er... you did not just call JT easy-going, did you? | 06:57 |
@preaction | did you not hear the stories about the wG brand? | 06:58 |
+perlDreamer | He only gets upset if you bust a schedule. | 06:58 |
@preaction | i couldn't sit down for a week | 06:58 |
@perlmonkey2 | easy-going in a completely overbearing hostile way, I mean :) | 06:58 |
@perlmonkey2 | perlDreamer: if I don't get this Form stuff done (fixing a single bug) and then knock out the other 20 bugs tomorrow, I will have "busted a schedule" :D | 06:59 |
+perlDreamer | contract schedule | 06:59 |
+perlDreamer | he knows this is big | 06:59 |
+perlDreamer | rizen's hot points are customer schedules, not taking responsibility for problems, and bragging/pride. | 07:00 |
+perlDreamer | oh, and he hates being called poochey-kins | 07:00 |
@perlmonkey2 | seem very normal hotpoints to have | 07:00 |
@perlmonkey2 | except that last | 07:01 |
@perlmonkey2 | just strange, I mean who doens't like to be called that in public around your peers? | 07:01 |
+perlDreamer | nor around your peers, by your peers | 07:01 |
@preaction | i didn't think JT had any peers | 07:02 |
@preaction | just TARGETS | 07:02 |
* perlmonkey2 sees if Amazon can overnight kevlar | 07:03 |
@perlmonkey2 | preaction: what are you running on your mac? | 07:06 |
@preaction | uh... OS X? | 07:06 |
@preaction | i've tried ubuntu a couple times, but OS X works nicely | 07:06 |
+perlDreamer | I have three words for you | 07:07 |
+perlDreamer | Fe Do Ra | 07:07 |
@perlmonkey2 | preaction: I'm not sure I'll be able to handle the terminal | 07:07 |
@perlmonkey2 | gnome-terminal is where I have spent most of my adult life. | 07:07 |
@preaction | it's mainly the everyday programs, Mail, News, Web, Calendar, etc... that I like. If Evolution didn't suck nuts, I'd be back on Ubuntu | 07:07 |
@perlmonkey2 | perlDreamer: I've been running F since 3 :) | 07:07 |
@perlmonkey2 | yeah, I don't use Evolution at all. Thunderbird and Gnome applets | 07:08 |
+perlDreamer | Until you've run kgcc in Red Hat 7, you haven't lived | 07:08 |
@preaction | though, i am interested in finding out what kind of battery life I could get with a Debian laptop, and the most minimal stuff I can find | 07:08 |
+perlDreamer | y'all should try kmail | 07:08 |
+perlDreamer | it's very good | 07:08 |
@preaction | KDE is turning into one big pile of PIMP | 07:08 |
+perlDreamer | I use Gnome for everything else | 07:08 |
@perlmonkey2 | I'm happy with thunderbird. It hadnles all my news feeds and my mail. | 07:08 |
@preaction | gnome should just give up, they've completely lost touch with what making a desktop environment is | 07:09 |
@perlmonkey2 | and so the holy wars begin | 07:09 |
@preaction | perlmonkey2, have they got sunbird or whatever their calendaring app is working better? | 07:09 |
@perlmonkey2 | haven't checked in a long time, but as far as I know, no | 07:09 |
@preaction | damn... that's what i want to use | 07:09 |
@preaction | Mail.app in OSX doesn't even allow you to switch between top-posting or bottom-posting when replying | 07:10 |
@perlmonkey2 | if sunbird ever gets working, Mozilla will be all anyone ever needs | 07:10 |
@perlmonkey2 | hmm, lightning is the sunbird plugin for thunderbird. I'm giving it a go | 07:11 |
@preaction | looks like they're still making Lightning too, the Thunderbird extention for calendaring | 07:11 |
@preaction | GET OUT OF MY HEAD | 07:12 |
@perlmonkey2 | :D | 07:12 |
+perlDreamer | doh | 07:12 |
+perlDreamer | shouldn't have told him your frequency, preaction | 07:12 |
+perlDreamer | sorry 'bout that | 07:12 |
@perlmonkey2 | even in the fedora repo | 07:12 |
@preaction | it's not my fault that everybody uses the 2.4Ghz bandwidth | 07:12 |
+perlDreamer | perlmonkey2, you're in Indiana, right? | 07:12 |
@perlmonkey2 | Oklahoma | 07:12 |
+perlDreamer | but you're moving? | 07:12 |
@perlmonkey2 | to another place in Oklahoma | 07:13 |
@perlmonkey2 | to be in the same city as my wife's university | 07:13 |
+perlDreamer | short commute, good idea | 07:13 |
+perlDreamer | Is the form in better shape? | 07:15 |
@perlmonkey2 | well the tests all passed | 07:18 |
@perlmonkey2 | sorry, was in fullscreen terminal mode and didn't see you | 07:18 |
+perlDreamer | that's a good start, but the tests are very rudimentary | 07:18 |
+perlDreamer | perlmonkey2, now that you're an experienced WebGUI hacker, what do you hate most about the code? | 07:19 |
@perlmonkey2 | So the question is. update them now or upudate them after we get a stable release out. And can we get a stable release out without updating them? | 07:20 |
@perlmonkey2 | what do I hate most about the code? It's obvious age. Things are done several different ways throughout | 07:20 |
@preaction | perlmonkey2, update them now, more tests are better | 07:20 |
@perlmonkey2 | seems weird that they don't already just create a new instance with a default, then check the default, form param, and value param. | 07:21 |
@perlmonkey2 | but that shouldn't take long to do for each. | 07:21 |
@perlmonkey2 | perlDreamer: you had mentioned some new testing class that should be used? | 07:22 |
+perlDreamer | Test::Class | 07:22 |
+perlDreamer | it's jUnit style testing | 07:22 |
@preaction | it will help our test coverage a lot faster | 07:22 |
@perlmonkey2 | okay | 07:22 |
+perlDreamer | it's like class inheritance for tests | 07:22 |
+perlDreamer | you write a test for Form::Control | 07:23 |
+perlDreamer | then, write tests for Form::Text that inherit from Form::Control | 07:23 |
+perlDreamer | hm | 07:23 |
@perlmonkey2 | ahah | 07:23 |
+perlDreamer | where do I have an example of that... | 07:23 |
@perlmonkey2 | I like where that is going | 07:23 |
@preaction | your experimental branch colin? | 07:23 |
+perlDreamer | yes | 07:23 |
+perlDreamer | but we have to be careful | 07:23 |
+perlDreamer | since I don't know if that ImageMagick bug still exists | 07:24 |
@perlmonkey2 | its like, inheritance and stuff :P | 07:24 |
+perlDreamer | but it's good for an example | 07:24 |
@preaction | i thought that only happened on Fedora | 07:24 |
+perlDreamer | no | 07:24 |
+perlDreamer | apeiron got it to happen on BSD, too, iirc | 07:24 |
@preaction | nice | 07:24 |
@apeiron | What did I do now? | 07:24 |
+perlDreamer | you're just awesome | 07:25 |
+perlDreamer | apeiron, I got my nick fixed today. | 07:25 |
+perlDreamer | so I am now authentically perlDreamer | 07:25 |
@apeiron | And you're +v'd appropriately! | 07:25 |
@apeiron | The system works! | 07:25 |
+perlDreamer | yes | 07:25 |
@apeiron | (FSVO 'works') | 07:25 |
+perlDreamer | perlmonkey2: install Test::Class, either by yum or by cpan | 07:26 |
+perlDreamer | then check out https://svn.webgui.org/svnweb/plainblack/browse/branch/colin-experimental/ | 07:26 |
+perlDreamer | like, svn co https://svn.webgui.org/svnweb/plainblack/browse/branch/colin-experimental/ | 07:26 |
+perlDreamer | someplace safe, off to the side | 07:26 |
+perlDreamer | here's an excellent testing tutorial from OSCON | 07:30 |
+perlDreamer | http://assets.en.oreilly.com/1/event/12/Practical%20Test-driven%20Development%20Presentation.pdf | 07:30 |
@perlmonkey2 | svn: PROPFIND request failed on '/svnweb/plainblack/browse/branch/colin-experimental' | 07:32 |
@perlmonkey2 | strange, I can browse to it | 07:32 |
+perlDreamer | whoops | 07:34 |
+perlDreamer | wrong url | 07:34 |
+perlDreamer | https://svn.webgui.org/plainblack/branch/colin-experimental | 07:34 |
@perlmonkey2 | hah, svnweb doh | 07:34 |
+perlDreamer | my bad | 07:34 |
@perlmonkey2 | must be getting late | 07:34 |
@perlmonkey2 | I should have seen that | 07:34 |
+perlDreamer | I converted one test over to Test::Class, t/Storage.t, and t/lib/WebGUI/Storage/Test.pm | 07:37 |
+perlDreamer | in retrospect, I should have done it the way that it is done in the tutorial that I mentioned above. | 07:37 |
@perlmonkey2 | reading through ti now | 07:37 |
@perlmonkey2 | but I'll look at t/Storage.t and the other | 07:37 |
@perlmonkey2 | It's huge....844 lines of testing goodiness | 07:38 |
@perlmonkey2 | isn't the normal .t test about 50 lines? | 07:39 |
@perlmonkey2 | wow, I'm impressed | 07:39 |
+perlDreamer | I like testing :) | 07:39 |
+perlDreamer | You should see User.t, Group.t | 07:39 |
+perlDreamer | and all of Session.t and Session/*.t | 07:39 |
@perlmonkey2 | you says User.t and Group.t are done also? | 07:41 |
+perlDreamer | done = ~ 100% test coverage of the code | 07:41 |
+perlDreamer | but they probably wont' be converted to Test::Class | 07:41 |
+perlDreamer | since there are no subclasses | 07:41 |
+perlDreamer | Asset would like Test::Class | 07:41 |
+perlDreamer | Form | 07:41 |
+perlDreamer | Macro (maybe) | 07:41 |
+perlDreamer | Storage (when ImageMagick isn't broken) | 07:42 |
+perlDreamer | Workflow/Activity | 07:42 |
-!- Tyler_ [n=Tyler@ppp-70-135-64-72.dsl.austtx.swbell.net] has joined #webgui | 07:42 |
+perlDreamer | maybe a few others | 07:42 |
Tyler_ | hey | 07:42 |
+perlDreamer | hey, Tyler_ | 07:42 |
Tyler_ | Well I have got to say WebGUI definatly beats my other CMS in just about every way | 07:43 |
+perlDreamer | cool! | 07:43 |
Tyler_ | yeah | 07:43 |
+perlDreamer | We like you already :) | 07:43 |
Tyler_ | well lets hope this doesn't change anything, but the opening install looks kind of odd | 07:44 |
Tyler_ | the blueish background is odd | 07:44 |
Tyler_ | But I guess the installer doesn't matter once you got the site up | 07:44 |
Tyler_ | :) | 07:44 |
+perlDreamer | blue? | 07:44 |
+perlDreamer | I always thought it was orange | 07:44 |
@preaction | the site starter wizard | 07:44 |
+perlDreamer | oh, that. | 07:45 |
Tyler_ | yeah from the demo | 07:45 |
Tyler_ | Yeah that | 07:45 |
Tyler_ | I havn't gotten time to acctually get it setup yet for my self | 07:45 |
Tyler_ | but that will come later. | 07:45 |
+perlDreamer | believe it or not, I have never used the site starter wizard | 07:46 |
Tyler_ | isn't that what you have to use | 07:46 |
+perlDreamer | No | 07:46 |
Tyler_ | hmmm | 07:46 |
@preaction | you can click "No, Thanks" | 07:46 |
@preaction | but that's three screens into it | 07:46 |
Tyler_ | So what the difference | 07:47 |
Tyler_ | Yo just make what you want later | 07:47 |
+perlDreamer | You can take the default site, delete all the default stuff, build in a new style and then add stuff bit by bit | 07:47 |
Tyler_ | I like it | 07:47 |
Tyler_ | weird I didn't see that | 07:47 |
@preaction | the third screen should be the one that you choose if you want to run the wizard | 07:47 |
@preaction | the first screen is setting up Admin, the second is inputting company name and such | 07:47 |
Tyler_ | I probably missed it | 07:48 |
Tyler_ | I just wanted to try it out | 07:48 |
@preaction | god... i've done those three screens way too much | 07:48 |
+perlDreamer | Selenium | 07:48 |
Tyler_ | yeah. well good thing i found it anyways | 07:48 |
-!- Tyler_ [n=Tyler@ppp-70-135-64-72.dsl.austtx.swbell.net] has quit ["Leaving"] | 07:49 |
+perlDreamer | wow | 07:50 |
+perlDreamer | I hope he sticks with it. | 07:50 |
-!- perlDreamer [n=colink@pool-71-245-101-253.ptldor.fios.verizon.net] has quit ["Leaving."] | 07:56 |
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [Remote closed the connection] | 08:04 |
-!- knowmad [n=william@adsl-074-170-007-083.sip.clt.bellsouth.net] has quit [Read error: 110 (Connection timed out)] | 08:13 |
-!- tavisto [n=tavisto@pool-71-120-147-81.gdrpmi.dsl-w.verizon.net] has joined #WebGUI | 09:08 |
-!- mode/#webgui [+o tavisto] by ChanServ | 09:09 |
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 113 (No route to host)] | 09:17 |
-!- KlausH [n=KlausH@p5B070BE4.dip0.t-ipconnect.de] has joined #webgui | 09:39 |
-!- tavisto [n=tavisto@pool-71-120-147-81.gdrpmi.dsl-w.verizon.net] has quit [] | 09:47 |
-!- AMH_bob [n=AMH_bob@alphamega-dmp.xs4all.nl] has joined #webgui | 09:54 |
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui | 10:19 |
-!- mode/#webgui [+o preaction] by ChanServ | 10:19 |
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)] | 10:36 |
-!- BartJol [n=plainstu@host2.procolix.com] has joined #webgui | 10:39 |
-!- patspam [n=patspam@ppp59-167-92-170.lns2.mel6.internode.on.net] has quit ["Leaving."] | 10:47 |
-!- patspam [n=patspam@ppp59-167-92-170.lns2.mel6.internode.on.net] has joined #webgui | 10:51 |
-!- Radix-wrk [n=Jesse@203.161.68.67] has quit ["Leaving"] | 11:26 |
CIA-6 | WebGUI: translation * r7199 /translations/Dutch/Dutch/ (5 files): Update from translation server | 11:43 |
-!- MrHairgrease [n=martin@gw.oqapi.nl] has joined #webgui | 12:07 |
-!- mode/#webgui [+v MrHairgrease] by ChanServ | 12:07 |
-!- BartJo1 [n=plainstu@host2.procolix.com] has joined #webgui | 12:20 |
-!- BartJol [n=plainstu@host2.procolix.com] has quit [Read error: 110 (Connection timed out)] | 12:37 |
-!- khenn_ [n=khenn@97.92.186.139] has quit [Read error: 113 (No route to host)] | 13:09 |
-!- ckotil [n=newtrino@snare.grnoc.iu.edu] has quit [Read error: 110 (Connection timed out)] | 13:11 |
-!- khenn [n=khenn@97.92.186.139] has joined #WebGUI | 13:52 |
-!- mode/#webgui [+o khenn] by ChanServ | 13:52 |
-!- carogray [n=Caroline@h69-131-75-162.nwlnnh.dsl.dynamic.tds.net] has joined #webgui | 14:01 |
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has quit ["Leaving"] | 14:31 |
-!- khenn [n=khenn@97.92.186.139] has quit [] | 14:48 |
-!- khenn [n=khenn@97.92.186.139] has joined #WebGUI | 14:56 |
-!- mode/#webgui [+o khenn] by ChanServ | 14:56 |
-!- khenn [n=khenn@97.92.186.139] has left #WebGUI [] | 15:14 |
-!- ckotil [n=newtrino@snare.grnoc.iu.edu] has joined #webgui | 15:52 |
-!- topsub [n=josh@97.66.185.250] has joined #webgui | 16:03 |
-!- SDuensin [n=Scott@6.sub-75-206-129.myvzw.com] has joined #WebGUI | 16:12 |
-!- knowmad [n=william@97.66.185.250] has joined #webgui | 16:12 |
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui | 16:14 |
-!- mode/#webgui [+o perlmonkey2] by ChanServ | 16:14 |
SDuensin | Greetings. | 16:15 |
+MrHairgrease | Greasings! | 16:15 |
-!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI | 16:20 |
elnino | anyone here use debian? where the heck is apache? | 16:20 |
+MrHairgrease | /etc/apache2 | 16:20 |
+MrHairgrease | /etc/init.d/apache start|stop|restart|etc. | 16:21 |
+MrHairgrease | /etc/init.d/apache2 start|stop|restart|etc. | 16:21 |
+MrHairgrease | the former has a typo | 16:21 |
+MrHairgrease | the latter is correct | 16:21 |
+MrHairgrease | /etc/apache2 contains all the conf | 16:22 |
-!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has quit [Read error: 104 (Connection reset by peer)] | 16:26 |
-!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI | 16:26 |
elnino | I'm not seeing that.. that's where I thought it would be.. This is a VPS server, does that make a difference? and WRE? | 16:27 |
+MrHairgrease | which apache do you mean | 16:27 |
+MrHairgrease | debian's or the wre's? | 16:27 |
elnino | ok. Therei's seems to be a difference. =) | 16:28 |
elnino | I guess WREs | 16:28 |
+MrHairgrease | aha | 16:28 |
-!- carogra1 [n=Caroline@h69-131-74-209.nwlnnh.dsl.dynamic.tds.net] has joined #webgui | 16:28 |
elnino | because the system apache wouldn't be included.. =) | 16:28 |
+MrHairgrease | that one is somewhere in /data/wre | 16:28 |
+MrHairgrease | to start stop use /data/wre/sbin/wreservice.pl | 16:29 |
+MrHairgrease | ie. sudo data/wre/sbin/wreservice.pl --start modperl | 16:29 |
+MrHairgrease | to start the mod_perl apache | 16:29 |
+MrHairgrease | try --help to check out all the available options | 16:29 |
elnino | ok... I see a modproxy conf file.. I need to change the host from www to test. is that the file I do it in? | 16:30 |
+MrHairgrease | oh | 16:30 |
+MrHairgrease | i see | 16:30 |
+MrHairgrease | you do that in the modprox conf for the site you want to change | 16:30 |
elnino | I don't see www I only see the actual domainsite name, so it looks likeit's capturing all hostnames. | 16:31 |
+MrHairgrease | which is called /data/wre/etcYOUDOMAIN.modproxy | 16:31 |
elnino | yep. | 16:31 |
+MrHairgrease | inside the file you setup the hostnames for that site | 16:31 |
elnino | in <virtualhost> right | 16:32 |
elnino | ? | 16:32 |
+MrHairgrease | yes | 16:32 |
+MrHairgrease | use the ServerALias directive | 16:32 |
elnino | it's currently only setup for the doamin, so it looks like ti's capturing all requests for all host names. | 16:32 |
elnino | and serveralias is "com" - is that a default setting they missed? | 16:32 |
+MrHairgrease | only com? | 16:32 |
elnino | yep. "com" | 16:33 |
elnino | they have several issues here.. =) | 16:33 |
+MrHairgrease | it should be a domainname | 16:33 |
+MrHairgrease | so if you have a site xyz.com | 16:33 |
+MrHairgrease | which should also listen to xyz.org and www.xyz.com | 16:33 |
elnino | ok. I now have servername host.domain.com | 16:33 |
+MrHairgrease | you'd do something likes this | 16:33 |
elnino | and serveralias as domain.com | 16:34 |
+MrHairgrease | yeah | 16:34 |
+MrHairgrease | that'd work | 16:34 |
elnino | ok.. Thank! | 16:34 |
+MrHairgrease | also be sure to include the www.domain.com hostnames | 16:34 |
+MrHairgrease | you prolly want to that | 16:34 |
elnino | in the hosts file? | 16:34 |
+MrHairgrease | also make sure that the sitename directive ine /data/WebGUI/etc/domain.conf is set correctly | 16:35 |
+MrHairgrease | no | 16:35 |
+MrHairgrease | in the modproxyconf | 16:35 |
+MrHairgrease | otherwise apache won't listen to www. | 16:35 |
BartJo1 | with shared sites, it might be wise to include it too in the /etc/hosts file | 16:36 |
elnino | hmm. don't see a SiteName directive in the modproxyconf file. | 16:36 |
+MrHairgrease | well it should have one =) | 16:36 |
elnino | It's a VPS server, so it *shouldn't* be shared. | 16:36 |
BartJo1 | ServerName? | 16:36 |
elnino | yep, I have a ServerName directive, it's host.domain.com now. | 16:36 |
+MrHairgrease | ok | 16:37 |
@Haarg | i'd recommend sticking it in the hosts file anyway | 16:37 |
+MrHairgrease | that's in DOMAIN.modproxy right? | 16:37 |
elnino | yep | 16:37 |
+MrHairgrease | not modproxy.conf | 16:37 |
+MrHairgrease | ok | 16:37 |
+MrHairgrease | that's good | 16:37 |
elnino | =) | 16:37 |
elnino | and then there is a proxy thing going... is that normal? :8081 | 16:37 |
+MrHairgrease | yep | 16:37 |
elnino | ok. so to restart.. let me read back... | 16:38 |
+MrHairgrease | b/c webgui (the mod_perl apache) is actually running on 8081 | 16:38 |
BartJo1 | perl wreservice.pl --restart modproxy | 16:38 |
+MrHairgrease | only root can do that | 16:38 |
elnino | yep. I'm root. | 16:38 |
+MrHairgrease | ok | 16:38 |
+MrHairgrease | what time doe preaction usually get up? | 16:39 |
elnino | ok... I got a httpd: Could not determine the server's fully qualified domain name, using 0.0.231.137 for ServerName | 16:40 |
elnino | my ServerName is test.domain.com with apporpoirate host and domian names.. ) | 16:41 |
elnino | and that ip address isn'teven close it should be 67.223.227.84 | 16:41 |
@perlmonkey2 | MrHairgrease: seems like in an hour or so. | 16:42 |
elnino | do have I have restart somethhing in the /etc/host file? Sorry about this folks. I know this isn't EXACTLY webgui related. I really appreciate this. | 16:42 |
+MrHairgrease | ok | 16:42 |
-!- carogray [n=Caroline@h69-131-75-162.nwlnnh.dsl.dynamic.tds.net] has quit [Read error: 113 (No route to host)] | 16:45 |
+MrHairgrease | elnino: that message is not a problem perse | 16:50 |
+MrHairgrease | you can check if moproxy is running by doing ps auxf | grep http | 16:51 |
elnino | it later says Failed. =) | 16:51 |
+MrHairgrease | ok | 16:51 |
+MrHairgrease | that is aproblem | 16:51 |
elnino | however when I did do the ps. I see a bunch of /data/wre/prereqs/bin/httpd -f /data/wre/etc/modproxy.conf -D WRE-modproxy -E /data/wre/var/logs/modproxy.error.log -k start | 16:52 |
elnino | so it appears that it's running? 6 times? | 16:52 |
+MrHairgrease | that are preforked children | 16:53 |
+MrHairgrease | you could try a --stop modproxy | 16:53 |
+MrHairgrease | and then a --start modproxy | 16:53 |
@Haarg | also, it checks for it to be running using the hostname listed in wre.conf | 16:53 |
@Haarg | so you might need to update that | 16:53 |
@Haarg | it wouldn't effect the actual running of the server, just the startup script and monitor | 16:54 |
elnino | in wre.conf, there is an apache "defaulthostname" it's set to localhost. | 16:55 |
elnino | under "demo" the hostname is "demo" | 16:55 |
@Haarg | localhost should work | 16:56 |
-!- elnino_laptop [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI | 16:57 |
elnino_laptop | sorry about that. I really need to get off of wireless. I was disconnected. | 16:58 |
+MrHairgrease | ok | 16:58 |
+MrHairgrease | but does it work now | 16:59 |
elnino_laptop | for a while. | 16:59 |
+MrHairgrease | nevermind the FQDN warning | 16:59 |
elnino_laptop | oh, the site? no, it doesn't start, when using --stop and --start, I then get a mod_proxy: failed. | 17:00 |
BartJo1 | but if you go there in your browser? | 17:01 |
BartJo1 | my modproxy fails continuously and I can browse to the site | 17:01 |
elnino_laptop | 502 Bad Gateway | 17:01 |
elnino_laptop | The proxy server received an invalid response from an upstream server. | 17:01 |
BartJo1 | not the ideal situation... I know | 17:01 |
+MrHairgrease | ah that means that the modperl apache does not run | 17:02 |
+MrHairgrease | try to do this | 17:02 |
+MrHairgrease | /data/wre/sbin/wreservice --stop all | 17:02 |
+MrHairgrease | /data/wre/sbin/wreservice --start all | 17:02 |
+MrHairgrease | that will restart modproxy, modperl, mysql and spectre | 17:03 |
elnino_laptop | nice. Mysql failed. | 17:04 |
elnino_laptop | when trying to stop it. I'll start all | 17:04 |
+MrHairgrease | failed shutting down? or starting | 17:04 |
+MrHairgrease | if it faiuled stopping it prolly wasn't running at all | 17:04 |
elnino_laptop | while shutting down! when I tried the start all, I got: /data/wre/prereqs/share/mysql/mysql.server: line 159: kill: (25930) - No such process | 17:04 |
elnino_laptop | ok I did stop all and start all again. let me do it again, =) | 17:05 |
elnino_laptop | I'm getting different responses. | 17:05 |
elnino_laptop | I have to step a way, a few secs. | 17:06 |
-!- dionak [n=dionak@97.66.185.250] has joined #webgui | 17:07 |
elnino_laptop | ok. clean stop. | 17:11 |
+MrHairgrease | good | 17:12 |
elnino_laptop | not so clean start: | 17:12 |
elnino_laptop | mysql: /data/wre/prereqs/share/mysql/mysql.server: line 159: kill: (26206) - No such process | 17:13 |
elnino_laptop | mod perl and mod proxy failed | 17:13 |
+MrHairgrease | hmm | 17:13 |
+MrHairgrease | what do the /data/wre/var/log/modproxy.error.log an dmodperl.error.log logs say? | 17:14 |
-!- elnino_home [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI | 17:14 |
elnino_home | sorry.. must be cloudy today. | 17:15 |
-!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has quit [Read error: 110 (Connection timed out)] | 17:15 |
elnino_home | of course the test feailed: test:/data/wre/sbin# ADMIN: [Error] Couldn't connect to WebGUI site mediaangels.com.conf at http://mediaangels.com:80/?op=spectreGetSiteData. Response: 500 Server Error | 17:15 |
+MrHairgrease | that is a spectre error | 17:15 |
+MrHairgrease | first you must solve the other problems | 17:15 |
+MrHairgrease | so what does ps auxf | grep httpd | 17:16 |
+MrHairgrease | say? | 17:16 |
+MrHairgrease | it should include two master apaches | 17:16 |
+MrHairgrease | one for modperl | 17:16 |
+MrHairgrease | the other for modproxy | 17:16 |
elnino_home | got about 15: /data/wre/prereqs/bin/httpd -f /data/wre/etc/modperl.conf -D WRE-modperl -E /data/wre/var/logs/modperl.error.log -k start | 17:17 |
elnino_home | oh. yes, about 7 of each modperl and modproxy | 17:17 |
+MrHairgrease | ok | 17:17 |
+MrHairgrease | thats good | 17:17 |
elnino_home | /data/wre/prereqs/bin/httpd -f /data/wre/etc/modproxy.conf -D WRE-modproxy -E /data/wre/var/logs/modproxy.error.log -k start | 17:17 |
elnino_home | I don't see "apache" tho. | 17:18 |
+MrHairgrease | httpd == apache | 17:18 |
+MrHairgrease | so for now it seems like the apaches are strating ok | 17:18 |
elnino_home | nope. just seven modproxy and seven modperls | 17:19 |
elnino_home | no master apache lines. | 17:19 |
+MrHairgrease | what I meant with that is that if you start apache you'll start only one process | 17:20 |
+MrHairgrease | that process will prespwan a number of child apaches | 17:20 |
+MrHairgrease | so if you see seven lines for each that is ok | 17:20 |
elnino_home | going to the site, I'm gett a 500 internal error. so that's better. | 17:20 |
+MrHairgrease | oine master 6 children | 17:20 |
+MrHairgrease | it is | 17:20 |
+MrHairgrease | now check if mysql is running | 17:20 |
+MrHairgrease | do ps auxf | grep mysql | 17:20 |
-!- SDuensin [n=Scott@6.sub-75-206-129.myvzw.com] has quit ["Leaving"] | 17:20 |
elnino_home | one: /bin/sh /data/wre/prereqs/bin/mysqld_safe --datadir=/data/wre/var/mysqldata --pid-file=/data/wre/var/mysqldata/59273.pid --user=webgui | 17:21 |
elnino_home | four: /data/wre/prereqs/libexec/mysqld --basedir=/data/wre/prereqs --datadir=/data/wre/var/mysqldata --user=webgui --pid-file=/data/wre/var/mysqldata/59273.pid --skip-external-locking --port=3306 | 17:21 |
+MrHairgrease | you should get two | 17:21 |
+MrHairgrease | ah | 17:21 |
+MrHairgrease | ok | 17:21 |
+MrHairgrease | that's also possible | 17:22 |
+MrHairgrease | anyway | 17:22 |
+MrHairgrease | try to do this | 17:22 |
+MrHairgrease | tail -f /data/wre/var/log/* | 17:22 |
+MrHairgrease | and then do a request to one of your sites | 17:23 |
elnino_home | ok. I think I know what might be going on.. I probably should have told you this. and I thate it when customers don't tell you "everything" | 17:25 |
elnino_home | this *was working* | 17:25 |
elnino_home | it worked when it was www.domanname.com | 17:25 |
elnino_home | I added a hostname at the domain registrary | 17:25 |
elnino_home | hostname bing: "test" | 17:25 |
elnino_home | and now I want the webgui to be test.domainname.com | 17:26 |
elnino_home | The sqldb is at domain.com | 17:26 |
elnino_home | so it's not finding it anymore: per what I just saw in the logs: | 17:26 |
elnino_home | main::[[undef]] - Couldn't connect to database: DBI:mysql:mediaangels_com;host=localhost;port=3306 | 17:26 |
elnino_home | there is another host name provided to me by the VPS hosting company. I probalby should use that? | 17:27 |
+MrHairgrease | that's strange since b/c you use the wremysql that is running on localhost | 17:27 |
+MrHairgrease | chaning a domainname in apache shouln't make a difference | 17:27 |
elnino_home | maybe that's an old error then.. let me look again. | 17:27 |
elnino_home | domain is the same, I'm changeing the hostname. | 17:28 |
+MrHairgrease | if you tail the logs while you do a request you'll see which erreors are generated | 17:28 |
elnino_home | the www.domainname.com is hosted somewhere else - differnet ip, differnt hosting company, different server. | 17:28 |
+MrHairgrease | uhm | 17:28 |
+MrHairgrease | it was running on another wre? | 17:29 |
+MrHairgrease | on another box? | 17:29 |
elnino_home | nope. mambo | 17:30 |
elnino_home | they want to move to this one. but it was kinda messed up. introducing me to the resuce. more like you guys. | 17:30 |
+MrHairgrease | ok, I don't really get it? | 17:30 |
elnino_home | ok. | 17:31 |
+MrHairgrease | how did you create the site you are trying to get running? | 17:31 |
+MrHairgrease | and when? | 17:31 |
elnino_home | I didn't. someone else did. | 17:31 |
-!- elnino_laptop [n=elnino@user-38q49cv.cable.mindspring.com] has quit [Read error: 110 (Connection timed out)] | 17:31 |
elnino_home | I'll start from the begining. | 17:31 |
elnino_home | they have site at www.domainname.com, running mambo. | 17:31 |
elnino_home | works great, but hate it. | 17:32 |
elnino_home | took it down, purchased vps server,instealed webgui site on www.domainname.com (they had to change the ip address at the domain registrar) | 17:33 |
elnino_home | so now mambo site is down. only accessible via IP address. | 17:33 |
elnino_home | they coudlnt' figure out how to implement the design, and when they took down mambo, they disabled their online store - lost revenue. | 17:33 |
elnino_home | so the redirected www.domainname.com back to mambo. | 17:34 |
elnino_home | and webgui hasn't been accessible sinc, not even by ip address. | 17:34 |
elnino_home | So I came up with the "brilliant" iea of creating a test hostname, | 17:34 |
elnino_home | created it at the domain registrary to point to the webgui site. | 17:34 |
elnino_home | and here I sit. | 17:34 |
+MrHairgrease | aha | 17:34 |
elnino_home | =) I hope you saw some light? | 17:35 |
* MrHairgrease hear a nickel dropping | 17:35 |
+MrHairgrease | ok | 17:35 |
+MrHairgrease | first check if the db actually exists | 17:35 |
elnino_home | it did. =) | 17:35 |
+MrHairgrease | first set you environment | 17:35 |
+MrHairgrease | . /data/wre/sbin/setenvironment.sh | 17:36 |
+MrHairgrease | the dot at the beginning is important | 17:36 |
elnino_home | done. clean | 17:36 |
+MrHairgrease | then do mysql -uroot -p | 17:36 |
+MrHairgrease | that should connect you to the database | 17:36 |
elnino_home | I don't know the password... | 17:37 |
+MrHairgrease | hehe | 17:37 |
+MrHairgrease | in that case | 17:37 |
+MrHairgrease | try to connect as the webgui site | 17:37 |
elnino_home | I'm guessing it's the default. or even the one you suggest on your help page. | 17:37 |
+MrHairgrease | the login of the site you can find in the /data/WebGUI/etc/domain.conf file | 17:38 |
@perlmonkey2 | Anyone who's got a sec, I'd like some advice. I've updated nearly ever package in Form/ All the tests pass, but pd and preaction had mentioned the tests should all be updated and expanded. Does it make more sense to skip updating the tests until I've made JT's goal of getting rid of all bugs for a release, or spend a day or three updating all those tests (and adding just as many more)? | 17:38 |
+MrHairgrease | look for dbPass and dbUser | 17:39 |
+MrHairgrease | if you have those do mysql -uDBUSER -p | 17:39 |
+MrHairgrease | use the dbPass as the password | 17:39 |
elnino_home | looks encripted. | 17:39 |
@Haarg | as long as you add tests for the checklist behavior, i would prefer to get it in and working | 17:39 |
+MrHairgrease | pm2: I'd ask JT] | 17:39 |
+MrHairgrease | it's not encrypted. It's random | 17:40 |
-!- diakopter [n=diakopte@209.9.237.164] has joined #webgui | 17:40 |
+MrHairgrease | =) | 17:40 |
-!- diakopter [n=diakopte@209.9.237.164] has left #webgui [] | 17:40 |
elnino_home | should I change the site name while I'm there? | 17:40 |
+MrHairgrease | yeah | 17:40 |
elnino_home | ok. tried several times, using copy paste: | 17:41 |
elnino_home | ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/data/wre/var/mysqldata/mysql.sock' (2) | 17:41 |
+MrHairgrease | that's your problem | 17:42 |
+MrHairgrease | stop the mysql server | 17:42 |
+MrHairgrease | and then check if it really stopped with ps auxf | grep mys | 17:42 |
elnino_home | no. | 17:44 |
elnino_home | it's still looking for the old isn't it. | 17:44 |
+MrHairgrease | can you paste the output of the ps command to webgui.pastebin.com | 17:44 |
elnino_home | k. it's there. | 17:46 |
elnino_home | thank you for all your undivided help here. | 17:46 |
+MrHairgrease | oh wellit's Friday =) | 17:46 |
+MrHairgrease | try killing the mysql process manually | 17:47 |
+MrHairgrease | kill 4344 4374 4375 4376 4377 | 17:48 |
elnino_home | done. clean | 17:48 |
elnino_home | start? | 17:48 |
+MrHairgrease | first check with ps | 17:48 |
elnino_home | clean with ps. | 17:48 |
+MrHairgrease | ok | 17:48 |
elnino_home | I can think of better things to do on a friday. | 17:48 |
+MrHairgrease | now start | 17:48 |
+MrHairgrease | yeah drinking beer | 17:48 |
elnino_home | OK! | 17:48 |
+MrHairgrease | but it's almost 5 pm over here | 17:48 |
elnino_home | going to site | 17:49 |
elnino_home | checking... | 17:49 |
elnino_home | woo hoo! It's ugly! | 17:49 |
elnino_home | but it's up! | 17:49 |
+MrHairgrease | ok | 17:49 |
+MrHairgrease | your problem was that mysql crashed in some weird way | 17:49 |
+MrHairgrease | and the stop script couldn't stop it correctly | 17:50 |
elnino_home | oh. not the hostname? | 17:50 |
+MrHairgrease | no | 17:50 |
+MrHairgrease | since the db is on the same box it connects through a socket | 17:50 |
elnino_home | that's good. =) | 17:50 |
elnino_home | localhost. I saw that.. I see. | 17:50 |
+MrHairgrease | yeah | 17:50 |
+MrHairgrease | localhost is always | 17:51 |
+MrHairgrease | well | 17:51 |
+MrHairgrease | local host =) | 17:51 |
elnino_home | well, I hopefully can take it from here. That was enough fun for the day. Off to implement a design! | 17:52 |
-!- patspam [n=patspam@ppp59-167-92-170.lns2.mel6.internode.on.net] has quit ["Leaving."] | 17:52 |
elnino_home | Thank you again for your invaluable help! I owe you at the conference | 17:52 |
elnino_home | a beer. but you're in netherlands? | 17:53 |
+MrHairgrease | yes | 17:53 |
+MrHairgrease | we have beer in the netherlands too =) | 17:53 |
+MrHairgrease | you're coming to the wuc btw? | 17:53 |
elnino_home | I am! I'm so excited! | 17:56 |
+MrHairgrease | you should be | 17:56 |
+MrHairgrease | there are 12 dutch people coming overm =) | 17:56 |
elnino_home | actually I owe alot ofyou folks a beer. | 17:57 |
+MrHairgrease | hehe | 17:57 |
+MrHairgrease | that could be arranged =) | 17:57 |
elnino_home | I don't know if I owe THEM a beer, I was talking more about the people here on chat | 17:57 |
+MrHairgrease | speaking of beer, perlmonkey2, does your beer for a bug also count for bugs that were never on the bug list but rather fixed directly? | 17:58 |
@perlmonkey2 | MrHairgrease: I'm on the hook for the list, and only the list :D | 17:58 |
elnino_home | and what about finding bugs? does that count? | 17:58 |
@perlmonkey2 | but if it *would* have been put on the list, I don't see why that doesn't count. | 17:58 |
@perlmonkey2 | elnino_home: no, finding a bug and putting it on the list unfixed means you owe me a beer. | 17:59 |
@perlmonkey2 | :P | 17:59 |
@perlmonkey2 | elnino_home: just kidding, please put all bugs on the list you can find. | 17:59 |
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui | 18:00 |
-!- mode/#webgui [+o preaction] by ChanServ | 18:00 |
elnino_home | perlmonkey2: you can count on it. | 18:00 |
+MrHairgrease | preaction: i fixed this bug this morning: http://www.webgui.org/bugs/tracker/gallery-navigation-back-to-album-returns-to-page-1#IczSJ_TqDhr3Fcr2lsl40Q | 18:02 |
+MrHairgrease | could you please check if it is ok | 18:02 |
+MrHairgrease | diff is here: | 18:02 |
+MrHairgrease | http://webgui.pastebin.com/m3e601c04 | 18:02 |
+MrHairgrease | with that I mean, it could possibly impact performance for large albums | 18:03 |
+MrHairgrease | but it is the only way i could think of | 18:03 |
+MrHairgrease | apart from passing pn's around like crazy | 18:03 |
-!- AMH_bob [n=AMH_bob@alphamega-dmp.xs4all.nl] has quit ["Leaving."] | 18:10 |
@perlmonkey2 | preaction: FYI, I got lightning working with thunderbird and its looking pretty sweet. | 18:12 |
+MrHairgrease | lightning? | 18:12 |
+MrHairgrease | what's that? | 18:12 |
@perlmonkey2 | Sunbird plugin | 18:12 |
@perlmonkey2 | calendaring | 18:12 |
+MrHairgrease | oh | 18:12 |
+MrHairgrease | ok | 18:12 |
@perlmonkey2 | caldav, etc | 18:12 |
@perlmonkey2 | shared network calendars and stuff | 18:13 |
+MrHairgrease | can it do exchange? | 18:13 |
@perlmonkey2 | j/s I'll see | 18:13 |
@perlmonkey2 | supports iCalendar, caldav and WCAP, so unless exchange supports one of those , I guess not. | 18:14 |
@perlmonkey2 | but surely exchange supports caldav? | 18:14 |
+MrHairgrease | no surprise there =) | 18:14 |
CIA-6 | WebGUI: martin * r7200 /WebGUI/ (2 files in 2 dirs): | 18:14 |
CIA-6 | WebGUI: Fixed bug in Navigation where the indent was based on relDepth rather that on the tree depth. Also fixes issues | 18:14 |
CIA-6 | WebGUI: concerning the <ul> template. | 18:14 |
CIA-6 | WebGUI: yung * r7201 /WebGUI/ (3 files in 3 dirs): fixed: Thingy: Setting the size of a field has no effect | 18:14 |
+MrHairgrease | I don't need exchange support | 18:14 |
CIA-6 | WebGUI: translation * r7202 /translations/Swedish/ (161 files in 2 dirs): Update from translation server | 18:14 |
CIA-6 | WebGUI: perlmonkey2 * r7203 /WebGUI/ (42 files in 3 dirs): Form/* now all use getOriginalValue and getDefaultValue. This resolves the Layout bug where all the check lists could not be unchecked. Tests were updated, but still need a major overhaul. | 18:14 |
+MrHairgrease | but the lack of it is what people tend to complain about | 18:15 |
+MrHairgrease | while thunderbird is the most bestestest mail client out there | 18:15 |
@perlmonkey2 | only 73MB used, with 5 email accounts, about 50 RSS feeds, and all my calendaring stuff. | 18:17 |
-!- perlDreamer [n=ckuskie@nat082.mxim.com] has joined #webgui | 18:24 |
+MrHairgrease | preaction: you there? | 18:26 |
BartJo1 | well see you guys at the wuc | 18:26 |
@preaction | yes'm | 18:26 |
perlDreamer | dionak: are you around? | 18:27 |
+MrHairgrease | do you think that the getFileIds | 18:27 |
+MrHairgrease | is a problem? | 18:27 |
+MrHairgrease | in the diff I just posted? | 18:27 |
@preaction | MrHairgrease, we're going to have a problem with that if the Gallery ever supports user-selected perpage | 18:27 |
@preaction | but no, getFileIds shouldn't be a problem | 18:27 |
dionak | perlDreamer, i'm just on my way out for a bit. Will you be online later today? | 18:27 |
perlDreamer | yes | 18:27 |
perlDreamer | catch you later :) | 18:27 |
dionak | k, catch you later | 18:28 |
+MrHairgrease | what is the user-selected perpage | 18:28 |
+MrHairgrease | and is it implemented yet? | 18:28 |
BartJo1 | that's the user list pagination | 18:28 |
@preaction | no, we can worry about it later, if ever | 18:28 |
+MrHairgrease | oh | 18:28 |
+MrHairgrease | ok | 18:28 |
+MrHairgrease | i'll commit the fix then | <
---|