WebGUI irc logs from: 2008-04.log

--- Log opened Tue Apr 01 00:00:01 2008
--- Day changed Tue Apr 01 2008
perlmonkey2or at least a vibrant solution00:00
perlmonkey2project00:00
@preactionnot really. a lot of OSS projects do this same thing, not sure how they solve the upgrade / data problem though00:00
perlmonkey2preaction: doh, I meant the JT being pretty easy about new stuff.00:01
@preactionoh00:01
@preactionalso not really00:01
@preactionbut yeah, those projects don't last long00:01
@preactionthe early PHP CMS systems, for example00:02
perlmonkey2Too bad any of them survived.00:03
-!- topsub [n=topsub20@cpe-071-071-252-225.carolina.res.rr.com] has joined #webgui00:03
-!- topsub [n=topsub20@cpe-071-071-252-225.carolina.res.rr.com] has quit [Client Quit]00:03
@preactioni think we're on the second generation of those things at least00:03
SynQhttp://www.webgui.org/etcetera/mssql---data-form-report languages are cool to play with :)00:06
-!- jfluhmann [n=jfluhman@x172y028.angelo.edu] has joined #webgui00:09
perlmonkey2If a survey editor selects to have questions show up on a section page.  Should the section be shown for every question in that section?  or if all the questions don't  show up in the first page, just show the questions on the next reload?  I'm thinking if they want questions to appear with a section's text, they want all the questions in that section to have that text?00:26
+perlDreamerI'd think so00:27
+perlDreamerI probably would have made it survey wide, too, instead of section by section00:27
perlmonkey2hmm...some sections you might want questions to appear along with, others you might not?00:28
perlmonkey2although I guess you could set it survey wide and then any sections you need to only show text and no questions, just don't put any questions in that section.00:29
perlmonkey2when it has been 15 years since you've heard any Motley Crew and then you all of a sudden realize they are in your MP3 collection, then, and only then, do you really wish your amp went to 11.00:30
+perlDreamerI thought your amp only goes to 11 if you listen to Spinal Tap?00:32
perlmonkey2heh00:39
-!- estiven [n=estiven@201.232.58.66] has quit [Read error: 113 (No route to host)]00:41
perlmonkey2anyone bored want to answer this.  Should I be using MySQL DateTimes or the BIGINT(20)'s I'm seeing in other tables?  I just want a datetime for when a response was started and stopped.00:41
perlmonkey2I ask because sometimes WGBP have changed, but old code hasn't caught up.00:41
+perlDreamerpreaction: aren't we using MySQL date/times in all new Assets?00:42
-!- estiven [n=estiven@201.232.58.66] has joined #webgui00:42
+perlDreamerperlmonkey2: certainly, refactoring old code is rare in wG.  It's even rarer than writing tests :(00:42
@preactionperlDreamer, we're trying to, but it is difficult to do because of the way the definition works00:42
@preactionmake sure the defaultValue is specified in the MySQL format00:43
perlmonkey2perlDreamer: cool, thanks00:43
perlmonkey2preaction: I just use a default of now() in the table def? 00:43
perlmonkey2well, for the start date, the end date I want to be nullable.00:44
@preactionWebGUI::DateTime->now->toDatabase; should work00:44
@preactionif you want it to be nullable, then you'll have to do post-processing in processPropertiesFromFormPost00:44
@preaction(setting it to the right format)00:44
perlmonkey2oh man....looking at that makes me think I don't know what I'm doing.  00:46
perlmonkey2$self->session->db->insert("insert into Survey_reponseId values(?,?,?,?,?,?,?,?)",[$self->getId(),$self->session->id->generate(),$id,$self->session->user->username,$ip,'now()',undef ]);00:46
perlmonkey2whups, typo...that first insert is a write00:47
@preaction$self->session->db->setRow would probably be easier to use00:50
@preactionsee WebGUI::SQL->setRow00:50
perlmonkey2okay00:55
perlmonkey2cool, I like that setRow helper.  I'll have to move all my other stuff to it.01:01
SynQhttp://web.archive.org/web/20020530034348/http://www.plainblack.com/01:18
CIA-22WebGUI: jt * r5994 /translations/Spanish/Spanish/ (4 files): update_from_translation_server01:27
-!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"]01:39
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."]01:49
CIA-22WebGUI: jt * r5995 /translations/Turkish/ (4 files in 2 dirs): update_from_translation_server01:50
-!- Haarg [n=haarg@66-168-19-128.dhcp.mdsn.wi.charter.com] has joined #webgui01:57
-!- mode/#webgui [+o Haarg] by ChanServ01:57
+perlDreamerThe new Turkish translation advanced from nothing to 3.5% today.  If it continues at that pace, they'll overtake all but the Dutch and Arabic translations in a few weeks01:58
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI02:00
-!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui02:29
-!- mode/#webgui [+v Radix-wrk] by ChanServ02:29
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has quit ["Download Gaim: http://gaim.sourceforge.net/"]02:42
CIA-22WebGUI: jt * r5996 /translations/Turkish/ (13 files in 2 dirs): update_from_translation_server02:49
-!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has joined #webgui03:39
-!- Dadok [n=tickitim@150.188.dsl.syd.iprimus.net.au] has joined #webgui03:45
Dadokhey guys03:45
@preactionhello03:47
Dadokim having a small problem with finding the right version of perlmagick.  im using windows XP and downloaded the imagemagick 6.4.0 binary, installed it and checked to add perlmagick on install.  unfortunately it seems to install version 6.3.7 of perlmagick with it, so when i try to run any of the demos im getting a Image::Magick object version 6.3.7 does not match bootstrap parameter 6.4.0 at ... 03:52
Dadoki tried twice to clean out all old versions and reinstall and it does the same thing03:52
Dadokperhaps you could just tell me where to get version 6.3.7 of image magick?  or any downloadable pair of matching versions would be fine :P03:53
+Radix-wrkcpan for latest perlmagick perhaps?03:53
Dadoki tried that03:53
Dadokit gives version 6.3.2 i think03:53
+Radix-wrkI don't know I'm afraid.. I just use the WRE03:53
Dadokshucks03:55
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui04:00
-!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has quit [Read error: 110 (Connection timed out)]04:02
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [Read error: 104 (Connection reset by peer)]04:21
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui04:21
-!- Dadok [n=tickitim@150.188.dsl.syd.iprimus.net.au] has quit []04:31
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."]04:54
-!- Dadok [n=tickitim@150.188.dsl.syd.iprimus.net.au] has joined #webgui05:32
-!- Radix-wrk [n=Jesse@203.161.68.67] has quit [Read error: 104 (Connection reset by peer)]07:38
-!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui07:38
-!- mode/#webgui [+v Radix-wrk] by ChanServ07:38
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit [Remote closed the connection]07:46
-!- metanil [n=akhadka@137.48.138.72] has quit ["Leaving."]08:10
Dadokdoes anyone have any experience installing imagemagick/perlmagick on windows?08:32
@preactionDadok, why not use the WRE?08:38
-!- ryuu_ro [n=rory@194.171.50.69] has joined #webgui08:49
-!- ryuu_ro_ [n=rory@194.171.50.69] has joined #webgui09:44
-!- ryuu_ro [n=rory@194.171.50.69] has quit [Read error: 104 (Connection reset by peer)]09:44
Dadokhmm. i dont really understand what you mean.  Ithought I was using the WRE and that I needed to add imagemagick/perlmagick as a module for things such as thumbnails to work...09:52
-!- BartJol [n=plainstu@host2.procolix.com] has joined #webgui10:33
Syn2mogge10:48
+Radix-wrkthinkgeek.com has some awesome new gadgets11:23
+Radix-wrkthe betamax to hd-dvd converter is just pure gold :)11:23
BartJolwhoa, that's cool, although betamax is better than dvd off course11:26
+Radix-wrkdid you watch the video? :)11:33
+Radix-wrkon a similar note: http://www.youtube.com has some great featured videos :)11:34
BartJolnot yet11:43
-!- Radix-wrk [n=Jesse@203.161.68.67] has quit ["Leaving"]11:46
GooeyOfSteelWiki: Table of Contents - Edited on 4/1/2008 3:40 am by bartjol  http://www.webgui.org/community-wiki/table-of-contents11:52
-!- arjancwidlak [n=arjan@a62-216-21-20.adsl.cistron.nl] has joined #webgui11:54
GooeyOfSteelWiki: Table of Contents - Edited on 4/1/2008 3:43 am by bartjol  http://www.webgui.org/community-wiki/table-of-contents11:55
-!- apeiron_ [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui11:56
-!- mode/#webgui [+o apeiron_] by ChanServ11:56
GooeyOfSteelWiki: Add custom macro to RichEdit macro selection - Created on 4/1/2008 3:54 am by bartjol  http://www.webgui.org/community-wiki/add-custom-macro-to-richedit-macro-selection12:06
GooeyOfSteelWiki: Add custom macro to RichEdit macro selection - Edited on 4/1/2008 3:55 am by bartjol  http://www.webgui.org/community-wiki/add-custom-macro-to-richedit-macro-selection12:07
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has quit [Read error: 110 (Connection timed out)]12:11
-!- dapperedodo [n=dappered@194.171.50.69] has joined #webgui12:25
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui12:59
-!- Dadok [n=tickitim@150.188.dsl.syd.iprimus.net.au] has quit []13:06
-!- dapperedodo [n=dappered@194.171.50.69] has quit []13:07
-!- dapperedodo [n=dappered@194.171.50.69] has joined #webgui13:14
-!- BartJol [n=plainstu@host2.procolix.com] has quit [Read error: 113 (No route to host)]14:03
-!- BartJol [n=plainstu@host2.procolix.com] has joined #webgui14:15
-!- apeiron_ is now known as apeiron15:19
-!- af_ [n=getsmart@88-149-230-220.dynamic.ngi.it] has joined #webgui16:02
af_hi to all16:02
arjancwidlakhihi16:02
Syn2hi arjan16:11
arjancwidlaksorry, was just saying hi to af_16:11
-!- MrHairgrease [n=martin@194.171.50.69] has joined #webgui16:14
-!- mode/#webgui [+v MrHairgrease] by ChanServ16:14
-!- BartJol [n=plainstu@host2.procolix.com] has quit [Read error: 113 (No route to host)]16:25
-!- arjancwidlak [n=arjan@a62-216-21-20.adsl.cistron.nl] has left #webgui []16:34
-!- ryuu_ro_ [n=rory@194.171.50.69] has quit [Remote closed the connection]16:36
-!- ryuu_ro [n=rory@194.171.50.69] has joined #webgui16:37
-!- af_ [n=getsmart@88-149-230-220.dynamic.ngi.it] has quit [Read error: 113 (No route to host)]16:39
-!- af_ [n=getsmart@88-149-241-103.dynamic.ngi.it] has joined #webgui16:40
-!- dapperedodo [n=dappered@194.171.50.69] has quit [Read error: 104 (Connection reset by peer)]16:46
-!- dapperedodo [n=dappered@194.171.50.69] has joined #webgui16:46
-!- estiven [n=estiven@201.232.58.66] has left #webgui []16:48
-!- estiven [n=estiven@201.232.58.66] has joined #webgui16:48
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui16:50
-!- jfluhmann [n=jfluhman@x172y028.angelo.edu] has quit [Remote closed the connection]16:55
-!- jfluhmann [n=jfluhman@x172y028.angelo.edu] has joined #webgui16:58
perlmonkey2You all hear the news?  MS is buying Redhat.16:59
+MrHairgreasenice try16:59
perlmonkey2:D16:59
jfluhmannthanks for reminding me what today is17:00
+MrHairgreasehey perlmonkey2: i see you joined the pbwg gang!17:02
perlmonkey2I did?17:02
+MrHairgreasehttp://www.webgui.org/webgui/campaigns/people/kaleb-murphy#LnmSZhHi3jQZvX864GKVqw17:02
perlmonkey2hah, that is too cool :P17:02
perlmonkey2Hah, I've already been rated -1 :D17:03
+MrHairgreaseI'm rated 1217:04
+MrHairgreasemust be the eurotrash look17:04
perlmonkey2heh17:04
+MrHairgreasebut then again that took me over two years =)17:05
perlmonkey2I can't find a MrHairgrease in the PBWG17:06
-!- arjancwidlak [n=arjan@a62-216-21-20.adsl.cistron.nl] has joined #webgui17:06
+MrHairgreasetake a better look17:06
+MrHairgreasethe photo gives me away17:07
perlmonkey2Hmm, the person with the most hair product in the pictures would be Martin.17:10
perlmonkey2Or JT.17:10
-!- BartJol [n=plainstu@host2.procolix.com] has joined #webgui17:10
perlmonkey2But you aren't JT :P17:10
+MrHairgreasehehe17:10
+MrHairgreasebetter don't tell him that17:10
+MrHairgrease=)17:10
perlmonkey2Heh17:10
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has quit [Read error: 104 (Connection reset by peer)]17:15
-!- Haarg [n=haarg@66-168-19-128.dhcp.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"]17:15
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui17:18
-!- mode/#webgui [+o apeiron] by ChanServ17:18
-!- ryuu_ro [n=rory@194.171.50.69] has quit []17:31
-!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui17:31
-!- mode/#webgui [+o Haarg] by ChanServ17:31
-!- topsub [n=josh@97.66.185.250] has joined #webgui17:51
-!- abc [n=abc@fvec-nat.d214.org] has joined #webgui17:53
abci am having issues creating a database link to sql server 2003. any ideas?17:54
@preactiondo you have an error message or otherwise?17:59
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has left #webgui []18:00
abcorignally just a blank screen. then when i changed it to DBI:Sybase:[server=10.24.1.250][database=BGHS] i get  Error: Could not connect to the database. 18:05
@preactionshouldn't you be using the ODBC driver?18:07
abci am not sure that is setup on the server and my network guy is out18:07
abcwhat would the DSN look like to test it18:08
-!- abcd [n=abc@fvec-nat.d214.org] has joined #webgui18:11
-!- abc [n=abc@fvec-nat.d214.org] has quit []18:11
-!- abcd [n=abc@fvec-nat.d214.org] has quit [Client Quit]18:12
perlmonkey2My new laptop shipped......I'm so pumped.18:18
perlmonkey2shipped 4 days early18:19
topsublol18:21
topsubbrand? Specs?18:21
perlmonkey2hah, Dell Vostro 1700.  3GB of 667 ram, T8100.18:22
perlmonkey2They had a deal for $500 off and I couldn't resist.18:23
perlmonkey2had to upgrade the wirefi to intel to ensure linux wifi would work.  Graphics are just an X3100.  Upgraded the screen to 1600x1200 res (17").  I won't even boot the XP it came with and install Fedora immediately.18:25
perlmonkey2Although F9 comes out in 1 month, so I'll be reinstall soon :P18:25
topsubnice18:26
topsubwhen i was in college i made the mistake of buying an alienware... blah!18:26
perlmonkey2doh18:26
topsubthat was the thing when i was in college18:26
topsubeveryone dreamed of having one18:26
perlmonkey2nice machines, but they take some $$18:26
topsubover 3grand18:27
perlmonkey2This Vostro will be $800.18:27
topsubmobo went out on it so its in my lenovo box in parts till i can find new mobo18:27
perlmonkey2doh18:27
topsubthey are a pain to take apart18:27
topsubit wouldn't keep clock time18:27
topsubvery annoying had to set it everytime18:27
perlmonkey2you run XP on it?18:28
topsubthe alienware? ya it had xp cuz in college all software needed xp18:28
topsubwell most.. some were mac only.. video editing classes18:28
perlmonkey2yeah, and an alienware is for gaming, and gaming means MS.18:28
topsubya18:28
topsubsadly never really got to test the gaming on it.. think i had need for speed2 on it18:29
topsubbut that was it18:29
perlmonkey2dang, that sucks18:29
topsubno World of Warcraft or anything18:29
topsubcuz was in college = 3 jobs = no time to play.. lol18:29
perlmonkey2hah, shoudl probably consider yourself lucky.....like saying "I never got to try heroin"18:29
topsublol18:30
topsubwhen i paying 3 grand for laptop i want to try out the gaming on it... lol18:30
perlmonkey2heh, and when I think 3 grand, I think 2 machines with 8 cores and 16GB ram.18:32
topsublol18:32
topsubnope overpriced laptops18:32
topsublol18:32
perlmonkey2and how much data could be crunched18:32
topsubnow dell owns it18:32
perlmonkey2hhahaha, absolutely18:32
perlmonkey2they bought alienware?18:32
topsubya18:32
@preaction3 grand for apple hardware is the norm, no?18:32
topsubthat new one thats out..18:33
perlmonkey2for the good stuff18:33
topsubthat very thin one18:33
perlmonkey2the air starts at 1800 I think18:33
topsubSSD in it18:33
perlmonkey2but to put the fun stuff in it, I think 3K18:33
topsublol ya18:33
perlmonkey2and it woudl still be slower than my $800 dell :P18:33
perlmonkey2although be 18x cooler and weigh 1/20th.18:34
topsubya18:34
@preactionyeah, not a fan of the Air18:34
topsubmaybe to just web surf18:34
topsubemail..18:34
topsubminor stuff 18:34
@preactionbut a MBP for 3grand will probably get you something that'll last for a bit18:35
topsubi want to start building new gaming desktop18:35
topsubeven tho i reallly don't need it.. i just want it.. lol18:35
perlmonkey2topsub: that is what I did and it was just a way overpriced terminal.18:36
perlmonkey2but when my laptop shows up, it will be my new super-duper server.18:36
perlmonkey2I think it was $600 for parts and then $200 more for the vid card that got to use its 3d acceleration maybe twice.18:37
* perlmonkey2 does it on the cheap.18:37
topsubya i dropped waaay to much money on my gaming desktop18:37
topsubbut i also have worked from it18:37
topsubthink i got 2TB of space on it18:37
topsublol18:37
perlmonkey2hah, NICE18:37
topsub2 - 19s and 1 - 24 inch18:37
perlmonkey2wow, that sounds like the way to go.18:38
topsubwouldn't mind my new rig having 4 widescreens18:38
topsubor something crazy18:38
topsubit is very helpfull when coding18:38
topsubhaving all that desktop space18:38
perlmonkey2I've only used two monitors before and just found I put all my email/IM/web on one screen and work on the other.18:39
topsubemail / im  one screen..  | coding programing in one | web browser other18:41
-!- arjancwidlak [n=arjan@a62-216-21-20.adsl.cistron.nl] has left #webgui []18:43
-!- af_ [n=getsmart@88-149-241-103.dynamic.ngi.it] has quit ["Ex-Chat"]18:46
CIA-22WebGUI: martin * r5997 /branch/WebGUI_Commerce/docs/upgrades/upgrade_7.5.2-7.5.3.pl: Fixed upgrade script.18:52
CIA-22WebGUI: martin * r5998 /branch/WebGUI_Commerce/ (3 files in 3 dirs): 18:52
CIA-22WebGUI: - Changed Cash plugin to use processTransaction18:52
CIA-22WebGUI: - Added (as of yet empty) notification templates18:52
CIA-22WebGUI: - Fixed a typo in sendNotification18:52
CIA-22WebGUI: graham * r5999 /WebGUI/ (docs/changelog/7.x.x.txt lib/WebGUI/AssetBranch.pm): 18:52
CIA-22WebGUI: fixed: edit branch sends thread notifications18:52
CIA-22WebGUI: fixed: changing style template with edit branch creates new revisions of assets that have no style template18:52
CIA-22WebGUI: graham * r6000 /WebGUI/ (4 files in 2 dirs): 18:52
CIA-22WebGUI: fixed: Wiki attachments uploaded by non-Content Managers deleted by maintenance workflow18:52
CIA-22WebGUI: fixed: Non-Content managers unable to paste assets even with edit privileges18:52
CIA-22WebGUI: graham * r6001 /WebGUI/ (16 files in 10 dirs): 18:52
CIA-22WebGUI: use UTF8 JSON encoding and decoding universally18:53
CIA-22WebGUI: fixed: Import/Export of packages with international text is broken18:53
CIA-22WebGUI: graham * r6002 /WebGUI/docs/ (3 files in 3 dirs): fixed: CS rating links are exposed to site spiders18:53
CIA-22WebGUI: graham * r6003 /WebGUI/ (4 files in 4 dirs): improved behavior of CS mail message filtering18:53
CIA-22WebGUI: jt * r6004 /translations/Spanish/ (4 files in 2 dirs): update_from_translation_server18:53
perlmonkey2JT knows Spanish?18:53
@preactionno18:53
@preactionnot that i know of18:53
@preactionJT is the one logged into SVN for the translation server18:53
perlmonkey2oh18:53
@preactionwhich isn't fair for our ohloh stats18:54
perlmonkey2hahahahahahaha, that is EXACTLY what I was thinking :P18:54
BartJolwhat, I don't know ohloh stats, but I'm sure I'm missing them too18:56
@preactionhttp://www.ohloh.net/projects/103/contributors18:57
BartJolwell with almost every week a translation submission I might show on that list18:58
BartJoldarn18:59
BartJolthen I'm going home, bye18:59
-!- BartJol [n=plainstu@host2.procolix.com] has left #webgui []18:59
-!- d214 [n=d214@fvec-nat.d214.org] has joined #webgui19:09
d214i am the webmaster at a large school district in IL. i am trying to set up a demo as proof that this is the CMS we want. I have done several page layouts and sql reports but i am now stuck on a sqlreport connecting to a ms sql server. 19:11
d214i believe freetds is installed on the server but i keep getting the error Cannot connect to database19:11
d214i have create a local odbc connection fine so i know my username and password work19:12
d214i am not sure why the database link does not19:12
d214DBI:Sybase:[server=virtual-sql][database=master]19:12
d214can anyone help?19:12
@preactiond214, if you're the person who was in here before, the [] isn't supposed to be here19:13
d214when i remove the [] i get a blank page with nothing19:13
d214what separates the server and db in the DSN line then19:14
-!- dapperedodo [n=dappered@194.171.50.69] has quit []19:21
-!- knowmad [n=william@adsl-074-170-007-083.sip.clt.bellsouth.net] has joined #webgui19:21
-!- MrHairgrease [n=martin@194.171.50.69] has left #webgui []19:22
d214what needs to be on the server for ODBC19:25
topsubsemi colons d21419:27
topsubif i remember19:27
topsubDBI:Sybase:server=virtual-sql;database=master19:27
topsubthink one at the end also, not sure19:28
d214DBI:Sybase:server=virtual-sql;database=master;19:29
d214returns a blank page19:29
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has joined #webgui19:29
-!- mode/#webgui [+v perlDreamer] by ChanServ19:29
d214not even an error message or debuging19:29
topsublook in the log19:30
topsublook here - /var/wre/logs/webgui.log19:31
+perlDreamerAll answers are in /var/wre/log/webgui.log19:42
+perlDreamerunless they're in the apache error log19:43
@preactiond214, i was wrong when I asked you to use ODBC, Sybase is what you want19:43
@preactiond214, if you get a blank page, you need to check the error log19:43
d214apache error log or the webgui19:44
@preactionwebgui error log most likely19:44
@preactiond214, http://webgui.pastebin.com <- if you paste the last hundred lines or so to that address we'll be able to see it and help you19:48
+perlDreamerpreaction: On your dev box can you duplicate the failing company macro test?19:53
@preactionperlDreamer, no19:56
d214sent the log but there is nothing for today other then a differnt log when i was testing changing a db link that worked20:01
@preactionhttp://webgui.pastebin.com/m7dc7f0fa <- you should probably change your log level to something higher than ERROR20:02
@preactionDEBUG or INFO would be good20:03
@preactionedit WebGUI/etc/log.conf20:03
d214does it need to be restarted to take effect20:10
@preactionyes20:21
-!- CIA-22 [n=CIA@208.69.182.149] has quit []20:33
-!- CIA-21 [n=CIA@208.69.182.149] has joined #WebGUI20:43
SynQperlbot tell21:01
SynQcan I let perlbot say things21:02
SynQ!perlbot help21:02
@preactionperlbot tell synq about keywords21:04
SynQI see21:05
-!- dapperedodo [n=dappered@ip56503e61.direct-adsl.nl] has joined #webgui21:05
SynQperlbot is not allowed to respond to my questions21:05
SynQhttp://www.webgui.org/community-wiki/irc21:05
SynQok, dinner!21:05
-!- dapperedodo [n=dappered@ip56503e61.direct-adsl.nl] has quit []21:11
-!- steveo_a1 [n=sno@adsl-76-234-133-88.dsl.sfldmi.sbcglobal.net] has left #webgui []21:23
-!- steveo_aa [n=sno@adsl-76-234-133-88.dsl.sfldmi.sbcglobal.net] has joined #webgui21:24
-!- dummy [n=dummy@62.77.121.120] has joined #webgui21:50
dummyHello, I want to use XUL, xForms, xEvents, XHTML 2, WebForms 2, CSS 3 or some other new technology to create the website. Can you please tell me about any such available and cross-browser technology? It must work at least with the rendering engine of Opera and with GECKO.21:53
@preactionuh... what do you mean?21:53
dummypreaction, I'm asking you about any working new web technology21:56
dummy...or at least "new" one21:56
@preactionmost of CSS3 isn't near CR status yet. I didn't know xForms or xEvents or XHTML2 or WebForms2 were either21:57
@preactioni guess my question is how does this pertain to WebGUI?21:57
CIA-21WebGUI: jt * r6005 /branch/WebGUI_Commerce/ (9 files in 6 dirs): ems user experience mostly done21:58
d214preaction - restarted and posted new log. looks like something is odd with spectre22:00
@preactiond214, what's the link to the pastebin you created?22:00
+perlDreamerperlmonkey2: what's your dev environment look like?22:00
d214http://webgui.pastebin.com/m34aec5422:01
perlmonkey2perlDreamer: My desktop is Fedora 8, where I open up a terminal with 5 screens connected to my Cent5.1 server.  Open up mysql admin/querybrowser to the survey, and keep two tabs in firefox (with firestarter open) in the webgui instance, one window on the survey and the other in the assets.22:02
+perlDreamerhm22:03
perlmonkey2that is how I dev.22:03
+perlDreamerdefinitely gonig to ping you on this YUI stuff22:03
+perlDreamerbut after the product stuff is done22:03
perlmonkey2I guess the env, is just a month old svn snapshot of wg, on a cent 5.1 serve.r22:03
d214when i click run on the workflow all i get is error on the next page22:04
perlmonkey2perlDreamer: please do.  But the secret sauce to my JS dev is firestarter.  I don't know how I did JS dev without it.22:05
perlmonkey2I mean firebug22:05
perlmonkey2not firestarter22:05
perlmonkey2that is a iptables gui :P22:06
+perlDreamerDrew Barrymore vs Mitchell Baker22:06
+perlDreamerhm22:06
@preactiond214, your SyncProfilesToLDAP isn't compiling for some reason. have you run testEnvironment.pl?22:07
-!- dapperedodo [n=dappered@ip56503e61.direct-adsl.nl] has joined #webgui22:08
d214not that i am aware of, where is it22:09
@preactionWebGUI/sbin22:09
@preactionif you're running the WRE you probably don't need it22:09
d214posted it, http://webgui.pastebin.com/m19f8d8d722:11
perlmonkey2I just bought 5,000 shares of Clinton to win the Penn primary at $8/contract (good contracts worth $10).22:12
perlmonkey2I hope that wasn't a stupid thing to do.22:12
perlmonkey2I mean 500 contracts, not 5000.22:13
perlmonkey2heh22:13
perlmonkey2(this is with Intrade's play money) :P22:13
-!- Samus_Aran [n=ILL@about/linux/supportwhirlwind/SamusAran] has joined #WebGUI22:13
Samus_Arandoes WebGUI have a method of support for pages in multiple languages ?22:14
+perlDreamerNo22:15
+perlDreamerNo multilingual content, only labeling and editing interfaces are i18n'ed22:15
+perlDreamerbut if you look in the wiki and the forums, you'll see how people have done it in WebGUI22:15
Samus_Arandarn.  would be neat if content could have alternate versions22:15
Samus_Aranthank you22:16
+perlDreamerRFEs (and patches) are always welcome22:16
+perlDreameryou're not the first person to ask for this22:16
+perlDreamerif enough people start asking, then JT will start thinking about it22:16
dapperedodoThere are enough tricks to buld multilangual sites22:18
dapperedodoYou could rebuild the entire site in an alternate root 22:18
Samus_AranperlDreamer: I will submit an RFE, or add a comment on an existing one then22:18
+perlDreamerIn the meantime, Samus_Aran, the multiple root trick that dapperedodo mentioned works well22:19
@preactiond214, you need to run testEnvironment.pl as root so it can install all those dependencies for you22:19
+perlDreameryou basically copy and paste your site into a new root using the Asset Manager22:19
+perlDreamerthen translate that "branch" of the site22:19
+perlDreamerSyncing the two sites has to be done manually22:19
@preactiond214, also, if you're using a source install, I would seriously reconsider moving to the WRE. source installs are not for the faint of heart22:20
Samus_Arandapperedodo: the way I visualise it is all Assets can have multiple versions, with a set tag such as -en or -fr.  if a tag in the alternate form doesn't exist, it would use the default named Asset22:22
Samus_Aranthat way you can add new images as needed, the rest falling back22:22
Samus_Aranif you moved content around, the translation would follow22:22
@preactionbut those assets wouldn't have the same URL or asset ID22:24
@preactionthe way i've been seeing it is an assetTranslation table with <assetId> <revisionDate> <language> <propertyName> <translatedValue>22:24
+perlDreamerpreaction, that's by design.  Another design would look at the user's language pref's, choose the best language and then present that content to the user22:24
@preactionthen asset->get would get the correct content based on the user's preference22:25
dapperedodoThe mutilanguage option is indeed good for the pictures. But in my projects that was always a minor issue. You just copy the asset enad start translating. The translating is the biggest job.22:25
@preactioni like this way because it could be done as a mixin instead of having to make all assets aware of multi-language by default22:25
+perlDreamerI was thinking it would be done in new, rather than get since it's tied to a particular session22:25
Samus_Aranit would be nice also if it would read the browser's default language setting, if set22:26
dapperedodoYou do not always want to see the language of your preference, and that is only true for Registered users22:27
dapperedodoAlso fro google you want different langages in different urls22:27
+perlDreamerI didn't even think about the google and the search engines22:29
@preactionalso there's the Alternate HTTP header you'll probably want to send for those languages22:29
@preactionso there will need to be some way to get at other translations via URL22:29
@preaction?lang=en perhaps?22:30
+perlDreamerwell, I guess that's why I fix bugs and write tests rather than building CMSes :)22:30
dapperedodoyou can do it with a form param, but it is ugly.22:30
@preactionperlDreamer, there are days where i would prefer just some nice bugs or something new to test...22:30
@preactiondapperedodo, how so?22:30
dapperedodoThat's why I never did an RFE for multilanguage:)22:30
+perlDreamerThere are CMSes that do multilanguage.  Have we looked at them?22:31
dapperedodoThe ?lang=en thing is ugly22:31
dapperedodoThey mostly do the ?lang=en thing22:31
@preactionthis can't be worse than character encodings... i've been working two days on finding a way to fix character encodings because the newest WebGUI Beta forces UTF-8 for all mysql connections22:31
dapperedodoI always make two roots22:31
@preactiondapperedodo, why is that ugly? what could be done to avoid it?22:31
@preactionis it just personal preference that makes it ugly?22:32
@preactionor is there some good reason?22:32
dapperedodoone is like /home and the other /en/home22:32
@preactiontheoretically, with URL handlers or Content handlers or somesuch you could translate /en/home to /home?lang=en22:32
dapperedodoThe url rewriting of webgui is done for a very good reason. Gppgle likes it.22:32
dapperedodoof course you can also rewrite it:)22:33
@preactionyeah, but as you said, webgui exists so we don't have to do rewrite rules22:36
dapperedodoso you don't want an extra ?lang=en in yoururls and build the rewriting already in WebGUI 22:38
d214preaction, i believe i am running wre how can i tell22:40
Samus_Aranyou could also do sub-domains, www.foo.com for default language, es.foo.com for Spanish, fr.foo.com for French, etc.22:41
Samus_Aranand fall back to content not translated on the original22:41
Samus_Aranor support all three methods mentioned and let the user pick one.  internally they would all be using the same code anyway22:42
Samus_Aranjust a different URL22:42
dapperedodoThe fall back thing is a good reason you want the multilanguage option in WebGUI. There is no trick I could think of that would do that trick in the existing WebGUI22:43
@preactioni'm saying that ?lang=en is the default method. then we build a URL handler that handles, say ^/lang:([^/]+)/ and sets the session language to that (it doesn't rewrite the URL at all)22:44
@preactionso if someone wants, they can change their config to add that URL handler and have different sections of the site with different languages liike that22:44
@preactionbut all the URLs in the assetData table will NOT have any lang:en or lang:es in the beginning of them22:45
@preactionthe end result is the same as rewriting, but it's more elegant22:45
dapperedodoI can see your point. 22:45
@preactionthere's another way we could do it: having multiple versions of an asset in the tree, but hiding all the ones that don't match the user's language preference22:46
@preactionso we have two assets with URLs thing-en and thing-es, and both are on the page "things". going to "things" will show me thing-en (because i have en in my prefs), but will show someone else thing-es because that's what they have)22:47
+perlDreamerI think that idea has been proposed before, and rejected by JT due to concerns with speed.22:48
@preactionwhich one?22:48
@preactionthe multiple assets one?22:48
+perlDreameryes, your last suggestion22:49
@preactionyeah, i don't like it either22:49
+perlDreamerI don't remember the details, though22:49
@preactioni like my /lang:en/ one22:49
+perlDreamermaybe the xdanger archives would be a good place to look22:49
-!- dummy [n=dummy@62.77.121.120] has quit ["Leaving"]22:56
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."]23:01
-!- topsub [n=josh@97.66.185.250] has quit [Remote closed the connection]23:02
-!- knowmad [n=william@adsl-074-170-007-083.sip.clt.bellsouth.net] has quit [Read error: 110 (Connection timed out)]23:05
d214preaction, do all have to be installed23:07
@preactiond214, yes23:07
@preactionthat's what testEnvironment.pl is for23:07
d214i get errors on a few23:07
@preactionthen you have to force install them23:07
d214how23:07
@preactionperlbot life with cpan23:08
perlbotInformation pertaining to the Comprehensive Perl Archive Network (CPAN) can be found at http://sial.org/howto/perl/life-with-cpan/23:08
@preactionopen the cpan shell and do "force install Module"23:08
@preactionhave you considered using the WRE yet?23:09
d214i thought i was using it. how can i tell23:09
@preactiondoes /data/wre exist?23:09
@preactionis that where you put it?23:09
d214yes23:10
@preactionthen what probably is wrong is that you aren't using the WRE's environment when you're running testEnvironment.pl23:10
@preactiondo . /data/wre/sbin/setenvironment.sh (that's dot, space, slash)23:11
d214done. now wha23:12
d214whaty23:12
d214sorry what23:12
@preactionnow you can do whatever it was you were doing that wasn't working23:13
@preactionlike testEnvironment.pl23:13
@preactionbut since you're using the WRE, testEnvironment.pl will probably pass23:13
-!- dapperedodo [n=dappered@ip56503e61.direct-adsl.nl] has quit []23:14
d214yes it passed23:15
d214still get SyncProfilesToLdap.pm error in the log23:18
d214how is that related to a db link?23:18
@preactionit's not23:22
-!- arjancwidlak [n=arjan@widnet.xs4all.nl] has joined #webgui23:23
d214ok so how do i debug the syncprofilestoldap, no running workflows and my blank sql report page23:23
d214have to run for the day. thanks for the help but i am sure i will be stuck tomorrow23:26
-!- d214 [n=d214@fvec-nat.d214.org] has quit []23:26
--- Day changed Wed Apr 02 2008
CIA-21WebGUI: graham * r6008 /branch/WebGUI_7.4/ (2 files in 2 dirs): fixed: Syndicated Content asset tries too hard to get URLs returning errors00:10
CIA-21WebGUI: graham * r6009 /branch/WebGUI_7.4/ (docs/changelog/7.x.x.txt lib/WebGUI/Asset/Event.pm): fixed: Event related links truncated on dashes00:10
CIA-21WebGUI: graham * r6010 /branch/WebGUI_7.4/docs/ (changelog/7.x.x.txt upgrades/upgrade_7.4.30-7.4.31.pl): added: Database index on userSession.expires field to speed up workflows00:10
CIA-21WebGUI: graham * r6011 /branch/WebGUI_7.4/ (3 files in 3 dirs): fixed: Collaboration System attachments follow site's max size instead of CS's00:10
CIA-21WebGUI: graham * r6012 /branch/WebGUI_7.4/ (docs/changelog/7.x.x.txt lib/WebGUI/Form/HTMLArea.pm): fixed: Rich editor image uploader doesn't follow size limits00:10
CIA-21WebGUI: graham * r6013 /branch/WebGUI_7.4/ (docs/changelog/7.x.x.txt lib/WebGUI/Asset/Wobject/Poll.pm): fixed: Poll question/answers with international text corrupted00:10
CIA-21WebGUI: graham * r6014 /branch/WebGUI_7.4/ (2 files in 2 dirs): fixed: subscription group in CS edit has broken hover help00:10
CIA-21WebGUI: graham * r6015 /branch/WebGUI_7.4/ (5 files in 5 dirs): fixed: profile photos don't obey max image size00:10
CIA-21WebGUI: graham * r6016 /branch/WebGUI_7.4/ (docs/changelog/7.x.x.txt lib/WebGUI/Workflow/Spectre.pm): fixed: Unable to communicate with Spectre under alternate locales00:10
CIA-21WebGUI: graham * r6017 /branch/WebGUI_7.4/docs/ (changelog/7.x.x.txt upgrades/upgrade_7.4.30-7.4.31.pl): fixed: Project Manager can't track non-integer durations00:10
CIA-21WebGUI: graham * r6018 /branch/WebGUI_7.4/ (docs/changelog/7.x.x.txt lib/WebGUI/Asset/Post.pm): fixed: Unable to edit CS posts that were denied as a normal user00:10
CIA-21WebGUI: graham * r6019 /branch/WebGUI_7.4/lib/WebGUI/Asset/Wobject/Survey.pm: removing useless www_editSave from survey00:10
CIA-21WebGUI: graham * r6020 /branch/WebGUI_7.4/ (2 files in 2 dirs): added: Better error messages when SQL Report lacks a query00:10
CIA-21WebGUI: graham * r6021 /branch/WebGUI_7.4/ (docs/changelog/7.x.x.txt lib/WebGUI/AssetBranch.pm): 00:10
CIA-21WebGUI: fixed: edit branch sends thread notifications00:10
CIA-21WebGUI: fixed: changing style template with edit branch creates new revisions of assets that have no style template00:10
CIA-21WebGUI: graham * r6022 /branch/WebGUI_7.4/ (4 files in 2 dirs): 00:10
CIA-21WebGUI: fixed: Wiki attachments uploaded by non-Content Managers deleted by maintenance workflow00:10
CIA-21WebGUI: fixed: Non-Content managers unable to paste assets even with edit privileges00:10
CIA-21WebGUI: graham * r6023 /branch/WebGUI_7.4/lib/WebGUI/Storage.pm: fixing warnings and Storage changing dir00:10
CIA-21WebGUI: graham * r6024 /branch/WebGUI_7.4/lib/WebGUI/ (Asset.pm Storage.pm): minor module loading ans chdir issues00:10
CIA-21WebGUI: graham * r6025 /branch/WebGUI_7.4/lib/WebGUI/Asset/Wobject/Article.pm: fixing article storage copying00:11
CIA-21WebGUI: graham * r6026 /branch/WebGUI_7.4/ (8 files in 6 dirs): preparing for 7.4.31 release00:11
CIA-21WebGUI: jt * r6027 /releases/WebGUI_7.4.31-stable: Release 7.4.31-stable00:11
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui00:11
@preactionholy hell00:12
+perlDreameryeah, Haarg is busting them up00:12
+perlDreamerThe bug list is down to 6 entries00:13
@Haargthat's another merging00:14
@Haargthose were all already fixed in 7.500:14
+perlDreamerstill, it's a ton of good work00:15
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has joined #webgui00:29
-!- mode/#webgui [+v MrHairgrease] by ChanServ00:29
-!- TheSeparator [n=seppie@ip565f19be.direct-adsl.nl] has joined #webgui00:34
-!- cap10morgan [n=cap10mor@h19-afsc.ded.indra.com] has joined #webgui00:39
-!- Samus_Aran [n=ILL@about/linux/supportwhirlwind/SamusAran] has left #WebGUI ["onwards I go ..."]00:39
cap10morgancan you add an asset to the list using the config file overrides?00:39
cap10morganor would you need to put the whole list in there and add your asset to it?00:39
+perlDreamerIf by list you mean the admin console?00:50
+perlDreamerthe yes, the config file is used to set some of the things in the admin bar00:50
+perlDreamerAlso, prototypes are listed in the admin bar00:50
+perlDreamerthe config file settings are called "assets" and "assetContainers"00:52
cap10morganyeah, the admin console00:52
cap10morganso i need to put in the whole "assets" section i want in my new sites' config files, right?00:53
+perlDreamerright, the whole thing00:53
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui00:53
cap10morganok, thanks pD00:53
+perlDreamerno problem00:53
+perlDreamerHow's the OpenID?00:53
cap10morganoh, good question :)00:53
cap10morganwe should check on that perl library again00:53
cap10morganwe were waiting on them to get updated to openid 2.000:53
+perlDreamerThat's probably a good idea, given the recent JSON fiasco :)00:54
+perlDreamerThere were some people in here about a week ago asking about single sign on, but I think they were really thinking LDAP integration.00:54
cap10morganheh, yeah, wouldn't want that right out of the gate00:54
cap10morganoh yeah00:54
cap10morganthe thing i'm really excited about is making webgui an openid provider00:54
cap10morganso then w/ ldap integration00:55
cap10morganit can expose your ldap users as openids00:55
cap10morganwhich would be sweet00:55
cap10morganldap -> web-wide sso. mmmmm... tasty.00:55
+perlDreamerjust write lots of tests for it :)01:00
+perlDreamerDoes anyone in the channel use Product Assets on their site?  Note, it's only related to the Commerce System, so if you're using the Product macro it probably isn't the same thing.01:18
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has left #webgui []01:21
-!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"]01:39
-!- arjancwidlak [n=arjan@widnet.xs4all.nl] has left #webgui []01:56
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has quit ["Download Gaim: http://gaim.sourceforge.net/"]02:37
-!- TheSeparator [n=seppie@ip565f19be.direct-adsl.nl] has quit [Read error: 113 (No route to host)]03:00
-!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui03:36
-!- mode/#webgui [+v Radix-wrk] by ChanServ03:36
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit ["Exit- stage left"]03:41
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."]03:43
-!- cap10morgan [n=cap10mor@h19-afsc.ded.indra.com] has quit [Read error: 110 (Connection timed out)]04:06
-!- CIA-21 [n=CIA@208.69.182.149] has quit []04:30
-!- CIA-23 [n=CIA@208.69.182.149] has joined #WebGUI04:37
-!- CIA-23 [n=CIA@208.69.182.149] has quit []06:32
-!- CIA-21 [n=CIA@208.69.182.149] has joined #WebGUI06:41
-!- Dadok [n=tickitim@224.163.dsl.syd.iprimus.net.au] has joined #webGUI06:41
CIA-21WebGUI: colin * r6028 /branch/WebGUI_Commerce/t/Shop/loadProducts.pl: widget script for throwing Products into the db for testing upgrades07:14
-!- Haarg [n=haarg@66-168-19-128.dhcp.mdsn.wi.charter.com] has joined #webgui07:53
-!- mode/#webgui [+o Haarg] by ChanServ07:53
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has quit [Read error: 113 (No route to host)]08:03
-!- dapperedodo_ [n=dappered@ip56503e61.direct-adsl.nl] has joined #webgui08:10
-!- dapperedodo_ [n=dappered@ip56503e61.direct-adsl.nl] has quit []08:21
-!- dapperedodo [n=dappered@194.171.50.69] has joined #webgui08:47
-!- ryuu_ro [n=rory@194.171.50.69] has joined #webgui08:51
-!- Haarg [n=haarg@66-168-19-128.dhcp.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"]08:57
-!- dappere-dodo [n=dappered@194.171.50.69] has joined #webgui09:00
-!- dappere-dodo [n=dappered@194.171.50.69] has quit [Client Quit]09:01
-!- dapperedodo [n=dappered@194.171.50.69] has left #webgui []09:01
-!- dappere-dodo [n=dappered@194.171.50.69] has joined #webgui09:01
-!- dappere-dodo [n=dappered@194.171.50.69] has quit [Client Quit]09:03
-!- dappere-dodo [n=dappered@194.171.50.69] has joined #webgui09:04
-!- dappere-dodo [n=dappered@194.171.50.69] has quit [Client Quit]09:04
-!- dapperedodo [n=dappered@194.171.50.69] has joined #webgui09:05
-!- patspam [i=chatzill@ppp59-167-163-151.lns1.mel4.internode.on.net] has joined #webgui10:25
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui10:52
-!- patspam [i=chatzill@ppp59-167-163-151.lns1.mel4.internode.on.net] has quit ["ChatZilla 0.9.81 [Firefox 2.0.0.13/2008031114]"]11:26
-!- BartJol [n=plainstu@194.171.50.123] has joined #webgui11:38
-!- Haarg [n=haarg@66-168-19-128.dhcp.mdsn.wi.charter.com] has joined #webgui11:55
-!- mode/#webgui [+o Haarg] by ChanServ11:55
-!- Haarg [n=haarg@66-168-19-128.dhcp.mdsn.wi.charter.com] has quit [Client Quit]11:58
-!- Haarg [n=haarg@66-168-19-128.dhcp.mdsn.wi.charter.com] has joined #webgui11:59
-!- mode/#webgui [+o Haarg] by ChanServ11:59
-!- MrHairgrease [n=martin@194.171.50.69] has joined #webgui12:29
-!- mode/#webgui [+v MrHairgrease] by ChanServ12:29
-!- Haarg [n=haarg@66-168-19-128.dhcp.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"]12:49
Syn2oohm13:03
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has quit ["Leaving"]14:12
-!- Dadok [n=tickitim@224.163.dsl.syd.iprimus.net.au] has quit []14:40
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui15:25
-!- SDuensin [n=Scott@84.sub-75-206-54.myvzw.com] has joined #WebGUI15:53
SDuensinMorning.15:55
-!- topsub [n=josh@97.66.185.250] has joined #webgui16:18
CIA-21WebGUI: yung * r6029 /WebGUI/ (3 files in 3 dirs): fixed: Thingy: "cancel" -- cannot cancel when adding a thing16:35
-!- perlmonkey2 [n=kmurphy@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui16:37
-!- Haarg [n=haarg@66-168-19-128.dhcp.mdsn.wi.charter.com] has joined #webgui16:40
-!- mode/#webgui [+o Haarg] by ChanServ16:40
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has left #webgui []16:58
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui17:00
-!- mode/#webgui [+o rizen] by ChanServ17:00
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui17:01
-!- mode/#webgui [+o apeiron] by ChanServ17:01
-!- bopbop [n=kmccombs@71-82-214-154.dhcp.mdsn.wi.charter.com] has joined #webgui17:01
@rizenMrHairGrease: one thing about payments...no hand building XML this time. Use XML::Simple instead17:01
+MrHairgreasealready did that17:01
@rizenk17:01
@rizenyou rock17:01
+MrHairgreaseindeed17:01
+MrHairgrease=)17:02
@rizenjfluhmann: how many people will be at your texasoss.org conference?17:02
@rizennuba: how is the maps thing coming along? will it be done by the May 31st deadline for 7.517:02
-!- estiven [n=estiven@201.232.58.66] has quit [Remote closed the connection]17:04
-!- estiven [n=estiven@201.232.58.66] has joined #webgui17:04
-!- estiven [n=estiven@201.232.58.66] has left #webgui []17:04
* perlmonkey2 is finding the logic to determine the next question(s) in the survey with sections, randomizing, jumping, user set questions per page, to be near impossible without making like 15 DB calls. I'll be seriously put out if this turns out not to be fast enough for an AJAX app :P17:06
@rizenit will be fast enough17:06
@rizenperlmonkey2: the key is order of operations17:06
@rizendetermine what you can eliminate first in your lookup strategy17:07
@rizenwith a good logic structure, you can usually knock out more than half of the logic (and therefore lookups) 17:08
perlmonkey2I think I'm pegging my brain's CPU in deteremining the logic code.17:10
perlmonkey2err, next question logic's code.17:10
@rizenok step back17:13
@rizenget out an old fashioned piece of paper and a pencil17:13
perlmonkey2I think I'm going to make a rule that an answer can not have a jump to a randomized section.17:13
perlmonkey2Great minds think alike :)  Right above my code is text walking through all the logic.17:14
@rizenwrite down the different cases of how you can determine the next question, without caring about the relationship of how to get there17:14
@rizenthis works even easier if you have a flow charting program like dia, visio, or omnigraffle17:15
perlmonkey2I think I've gone through all permutations, but I'm trying to A, expedite getting this done while B, not duplicating all my code.17:15
@rizenthen draw lines to represent the logic structure17:16
@rizenthen sort out the spaghetti17:16
perlmonkey2hah17:16
perlmonkey2I'll give that a go....Always fun to use Dia.17:16
@rizendon't worry about code duplication. after you get it figured out you can always refactor the code into a bunch of subroutines17:17
perlmonkey2premature optimization.....the bane of my existence.17:17
perlmonkey2okay....I'll try putting together some dia-grams and see if that helps me organize the code.17:17
perlmonkey2:)17:18
perlmonkey2well....not organize, but figure out the logic.17:18
@rizenno problem is to large if you break it into small enough pieces17:18
@rizens/to/too/17:18
perlmonkey2Will be sad if my grant ends up having to use Surveymonkey, while paying me quite a bit of on the clock time for this survey.17:19
-!- crythias [n=gyoung@fl-69-68-148-96.sta.embarqhsd.net] has joined #webgui17:30
-!- mode/#webgui [+v crythias] by ChanServ17:30
-!- crythias [n=gyoung@fl-69-68-148-96.sta.embarqhsd.net] has left #webgui []17:30
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit ["Exit- stage left"]17:35
@rizenwhy would they end up using survey monkey?17:51
perlmonkey2They have a go live date coming up next Momnday17:51
perlmonkey2if I can get *(something* working by tomorrow, they'll be testing and building surveys all weekend.17:52
perlmonkey2if not, they'll have to go with surveymonkey17:52
@rizenso why not just get it working?17:52
@rizendo they really need random and everythign?17:52
perlmonkey2hah, I'm working 12-14 hours a day since last wed to do that.17:52
@rizenwhy not give them a build that gives them only wht they need17:52
@rizenand then add the rest later17:52
perlmonkey2they wanted everything17:52
@rizeni didn't say want17:52
@rizeni said NEED17:52
@rizenfor this weekend17:53
@rizenfor this survey17:53
perlmonkey2but I am close....and I am cutting out a lot of stuff17:53
@rizenwhat do they need17:53
perlmonkey2I don't know.  I understood it to be everything17:53
perlmonkey2they already have a ton of extremely expensive closed source tools that don't do what they want.17:53
@rizeni don't know is never a valid answer.17:53
@rizenthe answer is "i'll find out"17:54
-!- ryuu_ro [n=rory@194.171.50.69] has quit []17:55
perlmonkey2I'll see what I can find out.....hopefully pear down the number of questions I need to implement17:55
@rizenincidentally, if you don't want my advice on this stuff, feel free to tell me to shut the hell up. =)18:00
+MrHairgreaserizen: what's the method to fetch the recur period from an item?18:03
+MrHairgreaseif there is such a thing18:03
@rizenwe need to add that to Sku18:04
@rizeni didn't add any interface methods for recurring stuff except isRecurring18:04
@rizencall it getRecurInterval18:05
+MrHairgreaseok18:05
+MrHairgreaseanother thing18:05
+MrHairgreaseTransactionItem doen't store isRecurring and recurInterval18:05
+MrHairgreaseI guess it should18:05
@rizenwhy should it?18:06
@rizendoesn't the payment gateway do the recurrence?18:06
@rizenit does a postback on the interval, right?18:07
+MrHairgreaseb/c you want to be able to check if a transaction item recurring payment is due18:07
+MrHairgreaseit does18:07
perlmonkey2rizen: no, I really appreciate your advice.  The only software developers I have to sanity check myself are on IRC.  All of my dev friends IRL are MS whores, there isn't one other software developer in myh building, let alone on my grant.  The only place to talk shop is IRC.18:07
+MrHairgreasebut as it is it stores that in the ITransact_recurring table18:07
+MrHairgreaseor simething like that18:07
@rizenfair enough. feel free to add those to the transaction item then18:07
+MrHairgreaseok18:07
-!- cap10morgan [n=cap10mor@h19-afsc.ded.indra.com] has joined #webgui18:13
-!- perlmonkey2 [n=kmurphy@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."]18:30
-!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI18:42
elninohi18:42
elninosince the upgrades I've made to 7.4.26, My user can't "change URL" when they are in asset manager. Any particular setting they need to have to be able to do this?18:42
elninoAh. I found out they have to be a guru.  (process of elimination) any particlur place I can change this so they can do it at an "expert" level?18:44
bopbopel nino: go to the user's user profile- you'll see the UI field towards the bottom- change to 918:47
elninoright, I don't want them to be an guru, I want them to be an expert, but still be able to change the url as they were able to do before I upgraded. Is there a way to change this?18:48
bopbopah, I see...18:49
bopbopHaarg: do you know?18:49
@Haargthere may be a config setting for it, i don't remember offhand18:50
+MrHairgreaseyou can do it in the webgui.conf18:50
+MrHairgreasebut you'll have to do it per asset18:50
bopbopel nino: try looking in the Permissions tab of Settings...18:50
bopbopnope, nevermind :)18:50
+MrHairgreasebasically you do this:18:51
@rizenthat won't work for the change url function mrhairgrease18:51
@rizenthat's only for asset properties18:51
+MrHairgrease"WebGUI_Asset_Wobject_Article_uiLevel" : { "url" : level# }18:51
@rizenhe's talking about the "Change URL" menu function i think18:51
elninoyep18:52
+MrHairgreasewhat is that?18:52
@rizenelnino: are you a guy or a girl? elnino sounds like a guy, but on the site i see your name is "lauren" or something like that18:52
elninowhen you go into assets of an asset or wobject, you can change the url of that assett/wobject permanantly (and erase all previous urls it may have had)18:53
+MrHairgreaseyeah, I just found it18:53
+MrHairgreasenice18:54
+MrHairgreasedidn't know webgui could do thta =)18:54
@rizenit's a somewhat dangerous function18:54
@rizenbecause it gets rid of all the old revisions18:54
@rizenbut it's also highly useful18:55
+MrHairgreasewhat about the assetToolbarUiLevel options then?18:55
elninoyes, but it's a nice feature. 18:55
elninodon't get rid of it.18:55
+MrHairgrease"changeUrl" : 918:55
elninoplease18:55
@rizeni'm not thinking of getting rid of it18:55
@rizenthat would work mrhairgrease...i forgot that existed18:56
elninoperfect thanks. 18:56
elninorizen - to answer your question: wondering when someone as going to ask. depends on translation.  I'm female. No hurt feelings here. I liked the anonymousity I had. =) shh.18:56
+MrHairgreasejust set the number to the correct level and restart18:56
-!- perlmonkey2 [n=perlmonk@casr-dev.fwsm2ppuser.ou.edu] has joined #webgui18:57
@rizenelnino: now it's a secret between the 25 of us. =)18:57
-!- BartJol [n=plainstu@194.171.50.123] has left #webgui []19:01
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has joined #webgui19:03
-!- mode/#webgui [+v perlDreamer] by ChanServ19:03
topsublol19:03
-!- dapperedodo [n=dappered@194.171.50.69] has quit ["Leaving"]19:06
bopbopperlDreamer: I'm editing your dev chapter, and I think a word is missing in the first part of this sentence: When the test, the contents of $TODO will be appended to the test comment and the test will be counted as passing.19:09
bopbopruns, completes...?19:09
bopbopcan you fill in a blank for me/19:09
@preactionruns19:10
bopbopthanks19:10
+perlDreamerruns19:10
bopbopthanks to you too:)19:10
+perlDreamerthat's the crying part that we discussed earlier19:10
+perlDreamerHopefully soon you'll get to the laughing part19:10
bopbopI remember..19:10
@preactionyou'll laugh? you'll cry? you'll eat humble pie?19:10
bopbopI'm enjoying the hotdog-hamburger-pizza scenarios19:10
@preactionwhen does she get to the pie?19:10
bopbopcan relate19:11
+perlDreamerNo pie, bad for the kids' teeth19:11
bopbopwouldn't make wife happy19:11
+perlDreamerI used a family motif for all my test examples19:11
+MrHairgreasei usually use beer motifs19:11
+MrHairgreasetalking of which19:12
+MrHairgreaseit's time to go home19:12
+MrHairgreaselater19:12
-!- MrHairgrease [n=martin@194.171.50.69] has left #webgui []19:12
+perlDreamerpreaction: If you like, I can send you the raw, needing edits copy when I get home.19:18
@preactionno need, i've still gotta finish my chapter. it needs more input19:18
+perlDreamercat /dev/null > preaction/chapter19:19
-!- SquOnk [n=emhn@201.211.84.218] has joined #webgui19:19
@preactioni wish19:19
@preactionwait. don't you mean cat /dev/random > ~/chapter?19:19
@preactionyou can't read from /dev/null can you?19:20
+perlDreameryes19:20
@preactionbut it's null.19:20
@preactionit's not 0 or random or 19:20
SquOnkrizen: Hi19:20
+perlDreamerSquOnk: rizen is busy hacking.  Do you need some help or want to volunteer some help?19:21
SquOnkperlDreamer: I've been working to create webgui's Debian package. I uploaded 7.4.28 on my private repository last week, and just uploaded 7.4.31 after testing the automatic upgrades...19:22
SquOnkperlDreamer: ...so I wanted to let him know that it was going ok and we'll soon see webgui being included as an official Debian package.19:22
+perlDreamercool.  We really appreciate you doing that.19:22
SquOnkperlDreamer: The package is up for download in my private repository (http://itverx.com.ve/debian/pool/main/w/webgui/webgui_7.4.31-1_all.deb19:23
SquOnk(Debian users can use http://itverx.com.ve/debian directly, of course)19:23
elninohmmm. looking at surveys some more, sequencitla ordering of questions does it by the order of creating the questions, is there a way to get it to present them in the order that I ordered them using the arrows?19:27
SquOnkThe packages are for Debian Sid. I will backport to Debian Etch in three weeks time.19:27
+perlDreamerWe're probably going to find ourselves awash in new users soon, then :)19:30
SquOnkperlDreamer: That's the idea...19:31
@rizenSquOnk: nice job19:31
CIA-21WebGUI: martin * r6030 /branch/WebGUI_Commerce/lib/WebGUI/ (4 files in 3 dirs): Adding the ITransact driver. Partly finished, not yet tested, but compiles.19:31
+perlDreamerIs this like an unwrapped WRE, then, using Debian's native packages and new requirements?19:32
SquOnkperlDreamer: After you do   aptitude install webgui19:32
@rizensorry i didn't answer you before. i'm trying to limit my irc reading to specific intervals rather than doing it interactively so i can finish up the commerce system19:32
SquOnkperlDreamer: You get a WebGUI install that complies with Debian Policy.19:32
elninoyeah new users!! 19:32
SquOnkBriefly:19:32
SquOnkYou have modules in /usr/share/webgui19:33
SquOnkYou have the 'uploads', 'extras' and additional variable stuff in /var/lib/wegui19:33
SquOnkYou have logfiles in /var/log/webgui with _automatic_ rotation enabled.19:33
SquOnkYou get configuration files in /etc/webgui19:33
SquOnkYou get a standard Apache configuration that you simply have to symlink in place.19:33
SquOnkYou get /etc/init.d/webgui to start/stop/check on Spectre.19:34
SquOnkIn the current version, you must create the database by hand and/or run the upgrades script if needed.19:34
SquOnkOnce the package is approved, I will add debconf/dbconfig support; these are Debian tools to ask the user for configuration parameters and handle databases.19:35
SquOnkFrom then on, when you do aptitude install webgui, it will ask you how do you want your webgui database to be named, user, password, server, etc. and the configuration file will be generated on the fly. If you _upgrade_ the package afterwards, those parameters are _automatically_ taken into account.19:35
SquOnkdebconf can use the console (line oriented), full-screen (curses oriented) or GUI interfaces, so it will choose the appropiate mean to communicate with the user regardless of where she's working at the time of install.19:36
SquOnkI also plan on adding automatic upgrade facilites, by automatically running the upgrade scripts.19:37
SquOnkThe sbin scripts have been integrated into the system, so you don't have to say /usr/share/webgui/sbin/testEnvironment.pl, but simply wg_testEnvironment19:37
SquOnkI am writing manpages for the sbin scripts (I'll send them once finished). Having manpages for supporting scripts is mandatory for any Debian package...19:38
+perlDreamermost of the sbin scripts have POD or online usage statements (--help), that should give you a semi-decent start19:39
SquOnkperlDreamer: That's what I'm using.19:39
+perlDreamerif they all used POD, would that help with future updates?19:39
elninowhat does "no route to host" mean when trying to connect to a proxy site?19:40
+perlDreamerthen you could just run pod2man instead of writing the *roff by hand19:40
SquOnkperlDreamer: Yes, as long as pod2man gets them out cleanly and no sections are missing Debian policy-wise.19:40
@preactionthere's a pod2man or somesuch probably19:40
@preactionelnino, it means the proxy can't connect to where you want it to connect probably\19:40
SquOnkI have just one suggestion:19:41
SquOnkAll the sbin and upgrade scripts need to find out where WebGUI's Perl modules are, and also the configuration file...19:41
SquOnk...but they do it with things like   use lib "../lib"   or even WebGUI::Session->create("../..",$config)19:42
+perlDreameryes19:42
+perlDreamernot very relocatable19:42
SquOnkperlDreamer: Exactly19:42
SquOnkperlDreamer: I'm coping with that problem by having the source patched. It works fine, but it would _definitely_ be nice if that was also parameterized.19:43
SquOnkperlDreamer: Same thing goes with the mod_perl preload script19:43
+perlDreamerSquOnk: We have the same problem with the test suite (which doesn't need to be installed by default, b.t.w).  Do you have suggestions for making it better?19:44
SquOnkperlDreamer: I'm thinking of a good one... so far I've came up with having a single WebGUI::Configuration module exporting $webGUIroot or something...19:45
SquOnkperlDreamer: So there's only one thing to locate :-)19:45
+perlDreamerah, but where do you put WebGUI::Configuration?  Is it /usr/lib/perl5... ?19:45
SquOnkperlDreamer: That's a packaging question, so each distribution will choose the appropiate place. The first step is having a relocatable application by means of a parameterized application root.19:46
SquOnkperlDreamer: Another thing, mostly cosmetic (but also along Debian Polciy) is that most of the scripts don't have a shebang line.19:47
SquOnkperlDreamer: But I understand the reasoning for that, since your application could run on different OSes with Perl installed "who knows where"19:48
+perlDreamerexactly19:48
@preaction#!/usr/bin/env perl <- would work19:48
+perlDreamerdoes that work on Windows?19:48
SquOnkperlDreamer: Besides, It's a simple one-liner to fix that and it happens while packaging so it's no biggie19:48
SquOnkHowever, being consistent in the use of $webGUIroot in every script is a good step into simplifying packaging and installation.19:49
SquOnkSo, ponder on it for a while. If I come up with a better solution I'll let you know :-)19:50
+perlDreamerIt's possible that those changes could be folded into 7.5.  I would make a posting to the WebGUI Dev list with all of those suggestions and ideas.19:50
SquOnkI _think_ I have a solution but it scares me :-)19:56
SquOnkpackage WebGUI::Config19:56
SquOnk$main::webguiroot = '/some/path'19:56
SquOnk42;19:56
SquOnkHeh19:56
SquOnkHaven't tested it. It's beautiful and scary :-)19:56
@rizenthe scripts use webguiroot to figure out what lib to include so that it can find WebGUI::Config19:59
@rizenso that wouldn't work19:59
jfluhmannrizen, the texasoss.org conference has just under 60 attendees currently registered.  I was hoping for ~200, but it's likely to be around 10020:00
-!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: diakopter20:01
@rizenjfluhmann: do you have any idea who your attendees are? Business owners? Students? IT Professionals? Software developers? etc?20:02
-!- Netsplit over, joins: diakopter20:04
jfluhmannit's a mix of students, business owners, IT professionals, K-12 and higher ed technology support20:05
jfluhmannI was trying to get a good college crowd with the hopes of encouraging them to look at open source20:06
jfluhmannMy hope would be to encourage them to attend some of the summer conferences, such as YAPC, OSCON, and such20:07
-!- cap10morgan [n=cap10mor@h19-afsc.ded.indra.com] has quit [Remote closed the connection]20:07
perlmonkey2hmm....6 hour drive.20:07
jfluhmann:-)  There are a few people coming from Houston (~7.5 hour drive)20:08
@rizeni see that you have a speaker slot open...if i can swing it would you like me to come speak?20:08
jfluhmannrizen, that would be great!20:09
perlmonkey2If rizen goes, I'll have to see if I can drive down and jeer from the audience.20:09
jfluhmannI believe there are a few people wanting to do something on that following Sunday20:09
perlmonkey2"perl is for lusers and webgui is so sorry i can't even run it on my $5 hoster!"20:10
@rizenthere's less than a 20% chance i can make it20:10
@rizenso don't get your hopes up20:10
jfluhmannJeff Rush (Python) mentioned it and a few others said they could do some informal workshops/tutorials20:10
jfluhmannrizen, I understand.  It's a fair distance from there to here20:11
@rizenthat's not the issue20:11
@rizenjust 2 days before that i'm going to be doing another trade show20:11
jfluhmannah20:11
@rizenwhich i'll be at for 4 days20:11
jfluhmannWeb 2.0?20:12
@rizenso i'd have to rearrnage flights20:12
@rizenand stuff20:12
@rizenno, it's a manufacturers conference20:12
@rizentoo bad. the thing i was thinking about talking about is already covered: Making Money by Giving Things Away: Open Source as a Business Model for Technology Companies - John Wohn20:12
jfluhmannah, okay.  I knew that O'Reilly's Web2.0 conference was that week.20:13
jfluhmannyeah, should be an interesting talk20:13
@preactionanyone here have experience with character encoding issues in mysql? i've got latin-1 data in a utf-8 column and i'm having difficulties changing that to utf-8 data in that utf-8 column in a way that will be portable and useful20:13
@rizenmine would have been better. =)20:14
jfluhmannrizen, :-)20:14
@preactionthis is due to the new 7.5.8 forcing all mysql connections to be in UTF-8, no matter how mysql is configured20:14
@rizenpreaction: i have problems with it all the time, but have no solutions20:14
@rizenbut you should talk to Haarg, cuz he's spending all day on this very topic20:14
perlmonkey2preaction: have you tried pulling the data back down to perl, forcing and encode to latin-1, then encoding back to utf8?20:15
perlmonkey2preaction: but that will likely be lossy as any latin-1 chars that don't fit nicely into utf8 will be munged.20:15
@preactionfor some reason, reading the data out during a Latin-1 connection and writing it back in a UTF-8 connection (no re-encoding) works20:15
@preactionbut I can only do that if I use key columns as references, which I can't rely on20:15
@preactioni suppose i could make a temporary auto-increment column20:15
@preactionperlmonkey2, tried that. i don't know why it didn't work, that was my first guess20:16
@preactionbasically i'm asking around because i'm tired of poking in the dark. i'd rather know what the hell is going on, even though that will take longer than just pushing through the hacky solution i have20:18
perlmonkey2Mighten the damage already be done if you have latin-1 data in a utf8 column?  any latin-1 chars that don't have the exact same codespace in both encodings will already be fudged.20:18
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has joined #webgui20:18
-!- mode/#webgui [+v MrHairgrease] by ChanServ20:18
perlmonkey2preaction: ask aroudn on #perl.....lots of encoding gurus there.20:19
@preactionperlmonkey2, i thought of that, but why then does the data read out right when I use a latin-1 connection?20:19
@preactionand, why does it convert when I write the same character data back using a utf-8 connection?20:19
perlmonkey2sounds like something under the hood is doing a lot of leg work for you.20:20
perlmonkey2DBI?20:20
perlmonkey2maybe mysql?20:20
perlmonkey2I never understood how that worked as it seems like it would require some sort of heuristic to determine encodings.20:20
perlmonkey2Encoding::Magic20:20
perlmonkey2hm.....Mysql{'latin1 data in utf8 encoding'}->perl{'latin1 in internalPerl econding'}->Mysql{'utf8'} is the problem, right?20:22
@preactionexactly. i get that there's a difference between the binary and the character i see. i get that latin-1 means different binary for a character than utf-8. i just don't get how the hell NOT changing that encoding works but changing it just makes it worse20:22
perlmonkey2preaction: hah, welcome to my world of data mining the web......20:23
@preactionthat's all i can think it would be, but let's go broader20:23
@preactionthe CREATE TABLE statement for my table sets the table's charset to utf8, and does not override it in the column definition20:24
perlmonkey2i woudl examine the original text for bad chars.  if you don't see any, then you could (for some cases) safely call the text utf8...20:24
@preactionthere is bad chars, hence this whole rigamarole20:25
perlmonkey2quotations and apostrophes?20:25
@preactionthe character_set_client is latin1, the character_set_results is latin1, so the data being sent to clients is in latin120:25
@preactionalong with international characters20:25
@preactionwhat if the problem wasn't mysql, but it was perl?20:26
@preactioni mean, from all i've read, perl handles unicode and utf-8 silently and does the right thing20:26
@preactionwhat if it didn't?20:26
perlmonkey2could be....save soem data as text directly from mysql, then open in file readers using different encodigs.20:26
perlmonkey2I've read nearly all of the perl utf8 docs, and I still dont' undestand how it works.20:27
-!- perlmonkey2 [n=perlmonk@casr-dev.fwsm2ppuser.ou.edu] has quit ["survey survey survey"]20:29
-!- SquOnk [n=emhn@201.211.84.218] has quit ["Yippie kay-ai-yay fudder muckers!"]20:51
+perlDreamerI have a script that makes two Asset Products, and then makes a revision of one of them.20:55
+perlDreamerWhen I look in the Products table, I see three entries20:55
+perlDreamerWhen I try to join Product with wobject to see more data, I see 5 entries.20:55
+perlDreamerEach of the entries for the asset with revisions is doubled20:55
+perlDreamerthis is the query that I used:20:56
+perlDreamerselect * from Product INNER JOIN wobject on Product.assetId=wobject.assetId;20:56
+MrHairgreasedon't forget the revisionDate20:57
+perlDreamerwhy would it multiply the rows?20:57
+MrHairgreaseyou get a copy of identical rows?20:58
+MrHairgreaselet me try that20:58
+perlDreamerI checked in the script into t/Shop/loadProduct.pl20:58
+MrHairgreaseheh Empty set20:58
+MrHairgreaselet me try it on antoher table20:58
+perlDreamerRun the loadProduct script to get some products to play with20:59
+perlDreamerthat way it's apples to apples20:59
+MrHairgreaseok20:59
+MrHairgreasehang on20:59
+perlDreamerthis is what I get: http://webgui.pastebin.com/m4db309c820:59
+MrHairgreaseupdating...20:59
-!- perlmonkey2 [n=kmurphy@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui21:00
+perlDreamerperlmonkey2: Did you meet the Monday deadline, or are the natives restless?21:00
+MrHairgreaseyeah pd21:00
perlmonkey2the natives are restless and started a fire under the man sized pot.21:00
+MrHairgreaseit's doing all permutations21:00
+MrHairgreaseadd the revisionDate21:00
+perlDreamerthat means I can use mysql as a general purpose calculator :)21:01
+perlDreamerselect p.assetId, p.revisionDate, w.revisionDate from Product as p JOIN wobject as w on p.assetId=w.assetId and p.revisionDate=w.revisionDate;21:01
+perlDreamerbetter21:01
+MrHairgreasethat works right21:03
+MrHairgrease?21:03
+perlDreameryes21:03
+MrHairgreaseyou have to do that b/c inner join joins every row in table a with every row in table b matching the criteria you feed it21:04
+MrHairgreaseand since assets are not uniquely defined by assetId, you get N results for each assetId21:05
+perlDreameris there a better join to use, or is this just part of my sql education?21:05
+MrHairgreasewhere N is the number of revisions of that asset21:05
+MrHairgreaseN^221:05
perlmonkey2holy crap.....assetId doesn't uniquely define an asset?21:05
+perlDreamerno21:05
+MrHairgreaseinner is equivalent to ,21:05
+perlDreameryou need the revisionDate, too21:05
+MrHairgreasewell assetId is unique for an asset21:06
perlmonkey2hmm....I'm not sure if that is a big deal with concern to my collaterals21:06
+MrHairgreasebut not the version of it21:06
+MrHairgreaseno it isn;t21:06
+MrHairgreaseversioning is for the asset properties21:06
+MrHairgreasethe crap you put in definition21:06
perlmonkey2whew.....almost had give up my license to use a keyboard.21:06
+MrHairgreasecolateral usually doesn't need that21:06
+perlDreamercollateral isn't versioned21:07
+perlDreamerlineage isn't versioned21:07
+perlDreamerparentId isnt' versioned21:07
+MrHairgreasebasically it's like this21:07
+MrHairgreaseall the properties that are equal for each revision21:07
+MrHairgreasethink lineage, className etc21:07
+MrHairgreaseare in the asset table21:07
+MrHairgreasethat one does not have a revisionDate since it has unversionable content21:08
+MrHairgreasethen,, for each class 'layer' you have a seprate table which is versioned21:08
+MrHairgreasethos tables contain the definition fields of the 'layers'21:08
+MrHairgreasewhat do i mean with 'layers'?21:09
perlmonkey2?21:09
+MrHairgreasewell21:09
+MrHairgreaseWebGUI::Asset => assetData table21:09
+MrHairgreaseWebGUI::Asset::Wobject => wobject table21:09
perlmonkey2oh, I see21:09
perlmonkey2that makes sense21:09
+MrHairgreaseWebGUI::Asset::Wobject::Article => article table21:10
+MrHairgreaseyeah21:10
+perlDreamerWebGUI::Asset => assetData table (and asset table, too)21:10
+MrHairgreaseno21:10
+perlDreamerthat module handles both tables21:10
+MrHairgreasethat is for the unversionable data21:10
+MrHairgreasesure it does21:10
-!- cap10morgan [n=cap10mor@h19-afsc.ded.indra.com] has joined #webgui21:10
+MrHairgreasebut it's not storing the properties21:10
+MrHairgreaseit stores state information and hierarchy location21:11
+perlDreamerYes, I see your point now.21:12
* perlDreamer heads to the gym21:14
topsubcreated an accordian menu with jquery.. fun.. lol21:40
topsubwith an navigation object of course21:41
perlmonkey2topsub: publicly available?21:43
perlmonkey2Shoudl this: http://pastebin.com/d9a7c823  have really been so hard to write?21:47
perlmonkey2The good news is a lot of those params I'm currently hitting the db for every time can be passed to the client as hidden params, so that the next time the db queries can be skipped.21:51
-!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has quit [Read error: 110 (Connection timed out)]22:01
perlmonkey2hmm, so table alias are not used in the keys of hash refs returned by SQL?22:06
perlmonkey2so select s.*,q.* won't work if s and q share a column name.22:06
perlmonkey2That is no gouda.22:06
* perlmonkey2 prepares his fingers for a whole lot of select columnName as 'uniqueCname'22:10
-!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: SDuensin22:11
-!- Netsplit over, joins: SDuensin22:14
topsubperlmonkey2, i can add it to webgui addons22:15
perlmonkey2topsub: oh, I just wanted to look at the code.....see if I liked it better than the YUI menus.22:16
perlmonkey2also curious as to what a navigation object is.22:16
perlmonkey2How about this for the hashref key issue in SQL selects.  q.*, a.*, q.dupedColumnName as 'qDupedColumnName', a.dupedColumnName as 'aDupedColumnName'.....Eh?  Not too shabby?22:18
* perlmonkey2 ponders the lengths he will go to, to not have to type out all the column names in a select.22:18
-!- crythias [n=gyoung@fl-69-68-148-96.sta.embarqhsd.net] has joined #webgui22:25
-!- mode/#webgui [+v crythias] by ChanServ22:25
-!- snapple42 [n=snapple4@h216-18-80-132.gtconnect.net] has joined #webgui22:34
+MrHairgreaseperlmonkey2: it's not SQL.pm that does that22:39
+MrHairgreasebut rather m,ysql itself22:39
perlmonkey2Yeah, I didn't really figure it was SQL.pm, but in DBI or the specific driver.22:41
+MrHairgreaseno22:41
+MrHairgreaseit is also not in dbi22:41
+MrHairgreasemysql does it22:41
+MrHairgreasetry the same query in the mysql client22:42
+MrHairgreaseputting the rows in a hash causes the overwrite22:42
perlmonkey2just tested it and you are absolutely correc.t22:43
+MrHairgreasei'm not sure if you can tell mysql to return column names prepended with table name22:43
perlmonkey2oh well, easy enough to get around the duplicated column names.22:43
+MrHairgreaseyeah22:43
+MrHairgreasethat's what i do too when i have to22:44
perlmonkey2and either way beats dealing with each row as an array.22:44
+MrHairgreaseindeed22:44
-!- metanil [n=akhadka@137.48.138.72] has joined #webgui22:50
metanilif what to execute a perl script that would access files uploaded through webgui.. and this script will return HTML that should appear in the body section... any hint?? ( i already write script..but i can only execute through "Operation" )22:53
topsubperlmonkey2 i used the webgui nav object for front end nad used jquery to show / hide layers22:54
topsubi am taking off home so if i see you online i will post my code for you to see22:54
topsubi have enjoy jquery very lightweight22:54
topsubYUI to me just has more built in functions that you have to do with jquery22:54
-!- topsub [n=josh@97.66.185.250] has quit [Remote closed the connection]22:54
+perlDreamerperlmonkey2: The Navigation Asset is a front end for templating navigations in WebGUI.  You tell it which Asset to start indexing and in which directions, how deep and what kind of relatives to return.22:58
+perlDreamerAnybody know who the guy adding themes to wG is?  ning?23:02
+MrHairgreasening is a girl23:02
+perlDreamerAnybody know who the girl adding themes to wG is?  ning?23:02
+MrHairgreaseand i'm not sure if she's adding stuff23:02
+perlDreamershe's contributed 3 themes so far23:02
+MrHairgreaseyeah that's Ning23:03
+MrHairgreaseshe works for Albert's company23:03
+MrHairgreasebut has a desk at Oqapi's at the momnet23:04
+perlDreamerwho is Albert?23:04
+MrHairgreasesince Oqapi and Pluton (Albert's company share office space23:04
+MrHairgreaseAlbert is one of the three founders of Procolix23:04
+MrHairgreaseHe was at the first two wucs23:04
+perlDreamerSo the original Procolix has split into 3 pieces?  Procolix, Oqapi and Pluton?23:05
@rizenPluton is a testing company23:05
+MrHairgreaseyes23:05
+perlDreamerSounds like my kind of place :)23:05
@rizenAlbert is having Ning do stuff with WebGUI so she can write test cases23:05
@rizenit's a training thing for her23:06
perlmonkey2bah, didn't catch  my new lappy in time....it booted to windows :(23:07
perlmonkey2it has been defiled...I should just toss it.23:07
+perlDreamerJust scrub that partition off the disk23:08
perlmonkey2F8 anaconda is booting now....that's what I'm about to do :)23:08
metanilhow do we show data from either file or database in webgui???23:14
+perlDreamerfrom file, import it as a File.23:14
+perlDreamerfor Database, use the SQL Report or the SQL Form23:14
metanilat runtime?23:14
+perlDreameror the Thingy23:14
+perlDreamerat runtime?  what do you mean?23:14
metanilmean loading file from some path23:14
metanilin machine23:15
+perlDreamerhow does the file get there in the first place?23:15
metanil:D23:15
+perlDreamerwell, let me give you a few options23:15
metanili know my question is little dumb.23:15
+perlDreamerThere's not enough info in the question to really help you.  It's not dumb.23:15
metanilyes agree :)23:16
+perlDreamerIf the file is made by a program, have it update a Snippet inside of WebGUI instead.23:16
metanilok here's the situation23:16
+perlDreamergo ahead, metanil, I'll wait for the whole scoop :)23:18
metanili have write some "script" that would process some local file (for now)..and i'll generate some HTML from them.. i can print that HTML in console as well.. but when i return it.. i should be shown in body part23:18
metanilif do directly return.. it would only show that html.. 23:18
metanili use Operation .. like ?op=blahblah.. (not a good though i guess)23:19
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui23:19
+perlDreamerNo, not for this23:19
metanilbrb :(23:19
+perlDreamerno problem23:19
metanilis it a good way to do that23:21
metanil?23:21
+perlDreamerno, you probably don't want to use an operation to do that23:21
metanili think opration is the best to run some method directly .. 23:21
+perlDreamerHere are some options to consider23:22
+perlDreamer1) Use the ^Include() macro to include your HTML into some Asset.23:22
+perlDreamer2) Change your script to insert the HTML into a db, and use the SQL macro, or the SQL Report to pull it out of the db and display it.23:22
+perlDreamer3) Change your script to add new versions to a Snippet inside of WebGUI.23:23
metanil2) --> thats why i ask question about db.. thinking about putting them into db.. 23:23
metanilok.. sounds great.. 23:23
+perlDreamerBut where does the original file come from?23:23
metanili put it locally for now.23:23
metanilbut later .. it should be uploaded..23:24
+perlDreamerWhat if it was just an Article asset that a user edits?23:24
metanilstill haven't think about how to get uploaded file within webgui23:24
metanilumm.. i use Folder Asset to upload file.23:24
metanili modified the code a little bit .. and made browsing directly from the page without going to admin mode. 23:25
metanili mean file browsing for uploading. .and save directly.23:26
metanilanyway,, it will go into wegui db.23:26
metanili think its the second part.. first .. i need get done with the first one.. showing some HTML assuming i have input file already.. 23:27
metanilperlDreamer: u mean the HTML would directly put it in Article asset directly by user?23:28
-!- crythias [n=gyoung@fl-69-68-148-96.sta.embarqhsd.net] has left #webgui []23:28
+perlDreamersure, that's what it is for23:28
+perlDreamerthere is a WYSIWIG editor23:29
+perlDreamerand a group system to control access23:29
+perlDreamerWebGUI is designed to help save you time23:29
metanilyes i should do a little bit processing before that.. 23:29
+perlDreamerthat's why I asked where the file comes from in the first place23:29
+perlDreameris it a computer generated report, or some file from a user?23:30
metanilyes.. agree.. the uploading put that data that should be internally processed23:30
metaniluploading  = uploading user23:30
metanilfile from a user.. 23:30
+perlDreamerwhere do they get the file from?23:30
metanilthey've got some wierd file.. basically csv.. so i need to parse it.. get the right element.. create some kind page with links.. and form as well. 23:31
+perlDreamerI see.  It sounds like a db is the way to go then.23:32
+perlDreamerPut the CSV right into the db with some script, and the do a simple query to get it via the SQL Report.23:32
metanilhow do i put that CSV "so called" into the db.. 23:33
metanili read in webgui site that if want to get access to webgui db then i should create Asset for it.. (or sql form/report )23:34
+perlDreamerYou write a small script that uses the WebGUI configuration file to open a WebGUI Session.  Then you use $session->db method to put stuff into a separate table in the db.23:34
metanilhmm.. sound good..23:35
metanilbrb :( (damn!!!)23:35
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has left #webgui []23:35
+perlDreamerin the sbin directory there should be a skeleton file that you can use to start your script23:35
+perlDreamer_utility.skeleton23:36
SynQhi there23:40
+perlDreamerhello23:40
SynQcan I check out a wre version from svn?23:40
SynQand if yes, how?23:40
+perlDreamerin source format?23:40
SynQindeed23:40
SynQoh, and, good news!23:40
SynQTessa is coming to the WUC!23:40
+perlDreamersvn co https://svn.webgui.org/plainblack/wrebuild23:41
+perlDreamerAll right!  Is she part of the invasion force?23:41
SynQyes23:41
SynQbut not listed yet23:41
SynQand, we are going to have our holiday attached to the WUC too23:41
SynQhow far is the cuskie's home from Madison?23:42
+perlDreamerfar23:42
SynQhow far?23:42
+perlDreamer2013 miles23:42
bopbopyou'd want to invade the Smith, Dillon, or McCombs house from Madison...Kuskie is across country23:42
+perlDreamerhttp://maps.google.com/maps?f=d&hl=en&geocode=&saddr=1025+SE+36th+Ave+Hillsboro+Oregon&daddr=Madison+Wisconsin&sll=37.0625,-95.677068&sspn=53.741627,91.230469&ie=UTF8&t=h&z=523:43
bopbopyou could also invade the preaction house23:43
+perlDreamerWe should have rented out the Ruby Marie23:43
+perlDreamerStupid Madison food fest23:43
+perlDreamerthat's land miles, not air miles23:43
bopbopis Taste of Madison that weekend?23:43
+perlDreameryes23:43
+perlDreamerIn air miles it's farther since you have to fly to Atlanta to get to Madison23:44
SynQah23:44
SynQMcCombs sounds nice23:45
SynQSmith is allready on the list23:45
SynQDillon sounds good23:45
bopbopcome on over... Dillon is good too, we're in the same town23:45
bopbopand we have more booze than Smith23:45
SynQman23:45
SynQperlDreamer: that is far23:46
SynQperlDreamer: now I have a checkedout wre source version revision 603023:48
SynQhow do I know what revision wre 0.8.3 was?23:48
-!- SDuensin [n=Scott@84.sub-75-206-54.myvzw.com] has quit ["Leaving"]23:50
+perlDreamerby browsing through the svn version history23:50
+perlDreamerhttps://svn.webgui.org/svnweb/plainblack/log/wrebuild/23:50
+perlDreamerYou should become friends with https://svn.webgui.org23:50
+perlDreamervery, very helpful23:50
+perlDreamerI started a wiki page with WebGUI commits versus version info, but it's lapsed23:51
SynQbut https://svn.webgui.org/svnweb/plainblack/browse/wrebuild/ says it is at revision 597623:53
SynQand I checked out version 603023:53
-!- jfluhmann [n=jfluhman@x172y028.angelo.edu] has quit [Remote closed the connection]23:54
SynQLast Changed Rev: 597623:54
SynQRevision: 603023:54
SynQhm23:54
SynQwell, I guess that is not what I am after23:57
+perlDreamerthe whole repository is shared.  You did check out 6030, but it's the same as 597623:58
SynQah ok23:58
SynQI'm going to suggest some enhancements to the utility scripts in /data/wre/sbin23:58
-!- snapple42 [n=snapple4@h216-18-80-132.gtconnect.net] has quit ["Leaving"]23:58
+perlDreamerexcellent23:59
+perlDreamersnapple42 was an internet consultant from Canada23:59
SynQand I figured the best way to suggest them is diff them against the current svn version23:59
SynQah23:59
+perlDreamerthose are excellent suggestions23:59
--- Day changed Thu Apr 03 2008
SynQok00:00
SynQnow I've got to focus on that for a while00:00
SynQbe back later00:00
-!- bopbop [n=kmccombs@71-82-214-154.dhcp.mdsn.wi.charter.com] has quit []00:15
-!- perlmonkey2 [n=kmurphy@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."]00:16
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui00:22
SynQI wonder, would JT have a script to download all the prereqs for the WRE and then especially for the perl modules00:33
@rizenno00:33
SynQah00:33
@rizendownload the source version of the wre from sourceforge00:33
SynQah00:34
SynQI'm going to try and build a WRE with all the latest stable versions of the prereqs00:34
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."]00:34
@rizencopy the the "source" folder out of it and into your svn copy00:34
CIA-21WebGUI: jt * r6031 /translations/Spanish/Spanish/ (Asset.pm WebGUI.pm WebGUIProfile.pm): update_from_translation_server00:34
SynQI've found out what versions they are for all but the enormous list of perl modules00:34
@rizenhaving such a script probably wouldn't be a bad idea00:35
@rizenjust haven't gotten around to it00:35
SynQok00:35
SynQI'll send you mine :)00:35
SynQhang on00:35
metanilperlDreamer: you said, "You write a small script that uses the WebGUI configuration file to open a WebGUI Session.  Then you use $session->db method to put stuff into a separate table in the db"00:35
SynQit's in your mailbox00:36
metanilperlDreamer: do i have to use file/folder to get the file into webgui?00:37
+perlDreamermetanil, no00:40
metanilO:-)00:41
+perlDreamerin your script, just use file I/O00:41
-!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: vayde, +Radix-wrk00:41
metaniloh oh ... i'm sorry.. i should make it clear.. ... "user should be able to upload their own "csv" file"00:42
+perlDreamerand then you want to take _that_ file, and convert pieces of it to HTML00:42
metanilyes.. have to use other perl library for it00:43
-!- Netsplit over, joins: vayde, +Radix-wrk00:43
+perlDreamermetanil, this is slowly growing to a non-trivial script00:44
+perlDreamerwhen they upload a file, what happens to the old ones?00:44
metanil:)00:44
metanilreplaced.. (webgui have a version management if they want previous one)00:44
metanil:D00:44
+perlDreamerso it's always the same file URL?00:44
metanilyes00:44
SynQjt: how did you download all those perl modules last time, one by one and manually?00:45
+perlDreamerhm00:45
+perlDreamerhow soon does the file have to be converted into HTML?00:45
@rizenyes i did00:45
SynQman00:45
SynQI do not evy you00:45
+perlDreamerSynQ: He'd like one of those scripts, too ;)00:45
SynQI'm getting that script done too00:46
SynQperhaps I should start wearing my monk suit now00:46
metanilperlDreamer: its as soon as it get the file.. but totally depends on the file size they uploaded.00:46
+perlDreamerthis could be a big CSV file?00:46
metanilnot that big... (but i cannot say it right now).. the sample that i have is quite small..00:47
+perlDreamerwell, the "as soon as it gets the file" makes it easy.00:47
metaniland my script can process it instantly00:47
+perlDreamerThere's no built in way to do it automatically with WebGUI00:47
metaniloops00:47
+perlDreameryou need a new Asset, or, an extension to the File Asset that calls a Workflow00:48
SynQI'm going to include the dutch aspell module too :)00:49
metanileasy to hear.. hard implement.. is it?00:49
SynQthat should be part of webgui00:49
+perlDreamerSynQ: I agree, but it isn't right now00:49
SynQI know00:49
SynQjust wait00:49
metanilyou mean using workflow to run the script?00:51
+perlDreameryeah, or putting the script contents into a Workflow00:51
metanilwhy do we need an extension to File Asset?00:52
+perlDreamerHow does your script know when to run?00:52
metaniloh to trigger the workflow..00:52
+perlDreamerright :)00:52
metanilok.. that mean.. i should be looking at wiki to read about workflow.00:53
+perlDreameryes00:53
metanilthanks.. (woot)00:53
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui00:57
metanilperlDreamer: one quick questions.. how do the workflow know the location of file that it is getting (though this is always constant) ... File Asset just triggers it.. it won't sent the file, will it.?01:00
-!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI01:03
-!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: vayde, +Radix-wrk01:04
elninohowdy..  01:09
elninohad an sql reprot that worked dandy till I upgraded from 7.3 to 7.4.36, noticed the database parameters were taken out, so I put those back in to the db connection settup area. But query still doens't work. it as a select/union query01:10
elninoI removed the union statemnt and it works. 01:10
elninoSo I'm a little confused as to whether sqlreport doesn't support unions, or if something else is going on here...01:11
elninono errors in the logs01:11
+perlDreamermetanil, the new workflow would have to be passed a copy of the File asset.01:19
metanilthnx01:21
-!- Netsplit over, joins: vayde, +Radix-wrk01:24
+perlDreamerelnino, turn on debug in the SQL Report and see if that has any hints.01:43
elninoI do, there are simply no errors, and I misspoke, I'm trying other things here.  I brought this up long ago, and am now just revisiting, I think it has to do with my union and the longreadlen01:45
elninoI'm running the query in sqlstudio with no errors. 01:45
+perlDreamermaybe longreadlen has to be longer?01:46
elninoI did a diff between 7.4.26 and the 7.3.21 and used those values.01:47
elninodiff on the SQL.pm - there weren't many changes between the two files, so I'm baffled.01:47
+perlDreamertry diff on DatabaseLink, instead01:48
+perlDreamerand check the gotchas file01:48
+perlDreamerLongReadLen: 512*102401:49
+perlDreamerLongTruncOK: 101:49
+perlDreameris that an Oracle DB, or ODBC connector?01:49
elninoyep, that's how I found out aobut this, is the gotcha file. i set the two parameters on different lines in the database connection just as you have there, execpt I have 52428801:50
elninodbi:MaxDB:servername:01:51
elninoport:dbname01:52
+perlDreamerelnino: You need to be talking to dbDreamer instead of perlDreamer :)01:53
elnino=) yeah, I only know enough to be dangerous. I wonder if those variables are case sensitive. I'll check.01:54
+perlDreamerperlbot 512*102401:56
@preactionperlbot math 512*102401:57
perlbot52428801:57
@preactionelnino, you're logging INFO level at least?01:57
elninoyep.01:57
@preactionhow about debug level? find the query in the debug output and see if anything happens after that01:58
@preactionlast resort is you're going to have to start messing around in the SQLReport, because unfortunately I dont think reproducing your problem will be easy01:58
CIA-21WebGUI: jt * r6032 /branch/WebGUI_Commerce/ (10 files in 7 dirs): 01:59
CIA-21WebGUI: added item and sku caching to cart01:59
CIA-21WebGUI: ribbon discounts now work01:59
CIA-21WebGUI: checklist form control works more like you'd expect01:59
CIA-21WebGUI: added badge groups01:59
+perlDreamerHe could tunnel us a connection to his db server :)01:59
elninoI dont' think so.01:59
--- Log closed Thu Apr 03 02:09:58 2008
--- Log opened Thu Apr 03 02:15:17 2008
-!- xdanger [i=xdanger@i.should.be.in.a.mentalhouse.net] has joined #webgui02:15
-!- Irssi: #webgui: Total of 23 nicks [4 ops, 0 halfops, 3 voices, 16 normal]02:15
-!- Irssi: Join to #webgui was synced in 3 secs02:15
elninohmm. tried 2 and it displays 2 records. I'm using the default SQL report. I looked around in the code, but didn't see anything obvious. Posted a bug report. Sorry. Thanks for your help.02:26
-!- cap10morgan [n=cap10mor@h19-afsc.ded.indra.com] has quit [Read error: 110 (Connection timed out)]02:29
+perlDreamerelnino, if you really only want 1 thing returned, just use LIMIT 1 to the end of your SQL query02:31
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has quit ["Download Gaim: http://gaim.sourceforge.net/"]02:31
elninoI tried, I looked at the doc for maxdb 02:36
elninoit doesn't seem to work even in sql studio. 02:37
elnino I don't know if it is because of the complexity of the statment or what. or maybe the version of our db.02:37
elninoi'll just do it by two untill next time I can revisit this02:39
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit []03:01
-!- cap10morgan_ [n=cap10mor@h19-afsc.ded.indra.com] has quit []03:16
-!- cap10morgan [n=cap10mor@206-124-31-140.denver.dsl.forethought.net] has joined #webgui04:20
-!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has quit [Read error: 104 (Connection reset by peer)]04:29
-!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI04:30
-!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has quit [Client Quit]04:31
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI04:41
-!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has joined #webgui05:26
topsubhi05:26
perlmonkey2pong05:54
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."]06:49
CIA-21WebGUI: colin * r6033 /branch/WebGUI_Commerce/ (3 files in 3 dirs): more work on translating Asset Products to Sku Products07:07
CIA-21WebGUI: colin * r6034 /branch/WebGUI_Commerce/lib/WebGUI/Shop/Cart.pm: fix typos in Shop/Cart.pm07:07
-!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has quit [Read error: 104 (Connection reset by peer)]07:09
-!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has joined #webgui07:09
-!- mode/#webgui [+v Radix_] by ChanServ07:09
-!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has quit [Read error: 104 (Connection reset by peer)]07:12
-!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has joined #webgui07:17
CIA-21WebGUI: colin * r6035 /branch/WebGUI_Commerce/ (t/Shop/loadProducts.pl docs/upgrades/upgrade_7.5.2-7.5.3.pl): 07:30
CIA-21WebGUI: Finish database and config translation from Wobject/Product07:30
CIA-21WebGUI: to Sku/Product. Now for the code.07:30
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)]07:58
-!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has quit [Read error: 110 (Connection timed out)]08:13
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui09:49
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui10:23
-!- mode/#webgui [+o preaction] by ChanServ10:23
-!- wgGuest30 [n=wgGuest3@195.116.30.251] has joined #webgui10:38
-!- BartJol [n=plainstu@host2.procolix.com] has joined #webgui11:02
wgGuest30s11:07
-!- wgGuest30 [n=wgGuest3@195.116.30.251] has quit []11:07
-!- ryuu_ro [n=rory@194.171.50.69] has joined #webgui11:19
-!- Haarg [n=haarg@66-168-19-128.dhcp.mdsn.wi.charter.com] has quit [Read error: 110 (Connection timed out)]11:19
-!- Radix-wrk [n=Jesse@203.161.68.67] has quit ["Leaving"]11:41
-!- Haarg [n=haarg@66-168-19-128.dhcp.mdsn.wi.charter.com] has joined #webgui12:06
-!- mode/#webgui [+o Haarg] by ChanServ12:06
-!- CIA-21 [n=CIA@208.69.182.149] has quit []12:13
-!- jdanpl [n=jdanpl@195.116.30.251] has joined #webgui12:14
-!- CIA-21 [n=CIA@208.69.182.149] has joined #WebGUI12:21
jdanplAnyone know how to build  home forums page like http://www.webgui.org/forums ?12:24
-!- BartJol [n=plainstu@host2.procolix.com] has quit [Read error: 113 (No route to host)]12:27
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit [Remote closed the connection]13:26
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)]14:15
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has quit ["Leaving"]14:15
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui16:14
-!- bopbop [n=kmccombs@71-82-214-154.dhcp.mdsn.wi.charter.com] has joined #webgui16:17
-!- cap10morgan [n=cap10mor@206-124-31-140.denver.dsl.forethought.net] has quit []16:42
-!- jdanpl [n=jdanpl@195.116.30.251] has quit ["Leaving"]17:06
-!- topsub [n=josh@97.66.185.250] has joined #webgui17:13
-!- SDuensin [n=Scott@13.sub-75-207-182.myvzw.com] has joined #WebGUI17:16
SDuensinMorning.17:19
topsubhello17:19
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."]17:24
-!- ryuu_ro [n=rory@194.171.50.69] has quit []17:30
-!- Haarg [n=haarg@66-168-19-128.dhcp.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"]17:38
-!- cap10morgan [n=cap10mor@h19-afsc.ded.indra.com] has joined #webgui17:51
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui17:54
-!- mode/#webgui [+o rizen] by ChanServ17:54
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui17:54
-!- cap10morgan_ [n=cap10mor@h19-afsc.ded.indra.com] has joined #webgui17:56
-!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui17:56
-!- mode/#webgui [+o Haarg] by ChanServ17:56
CIA-21WebGUI: jt * r6036 /branch/WebGUI_Commerce/lib/WebGUI/Asset/Sku/EMSTicket.pm: ribbon discounts now work with ribbons purchased previously17:57
@rizenwe cannot afford to have to cap10morgan's in this channel17:58
@rizenit's too risky17:58
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has quit ["Leaving."]18:00
-!- cap10morgan [n=cap10mor@h19-afsc.ded.indra.com] has quit [Read error: 110 (Connection timed out)]18:11
CIA-21WebGUI: graham * r6037 /WebGUI/ (docs/changelog/7.x.x.txt lib/WebGUI/Asset/Wobject/Survey.pm): fixed: unable to respond to poll multiple times in same session18:36
CIA-21WebGUI: graham * r6038 /WebGUI/docs/ (4 files in 3 dirs): fixing database character sets18:36
CIA-21WebGUI: graham * r6039 /WebGUI/lib/WebGUI/Workflow/Activity/GetCsMail.pm: typo18:36
CIA-21WebGUI: graham * r6040 /WebGUI/ (docs/changelog/7.x.x.txt lib/WebGUI/Storage.pm): fixed: packages try to restore owner18:36
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has joined #webgui18:39
-!- mode/#webgui [+v perlDreamer] by ChanServ18:39
-!- topsub [n=josh@97.66.185.250] has quit [Read error: 104 (Connection reset by peer)]18:40
-!- topsub [n=josh@97.66.185.250] has joined #webgui18:40
-!- wgGuest25 [n=wgGuest2@pool-68-160-17-155.bos.east.verizon.net] has joined #webgui18:41
wgGuest25i need some major help18:42
wgGuest25my site www.lynntimebank.org, was working on it, changed something on the left hand side18:42
wgGuest25now all of a sudden when i try edit a page for example change the word she to he18:42
wgGuest25the only option I have is HTML18:42
+perlDreamerwhich version of WebGUI are you using?18:43
+perlDreamerOSCON tutorial goodness: http://en.oreilly.com/oscon2008/public/schedule/detail/421918:43
wgGuest25Where can I find that18:44
wgGuest25I just started this18:44
wgGuest25I am an intern and this system was already in place when I got here18:44
wgGuest25WebGUI Build Version:5.5.418:44
+perlDreamerwow18:45
+perlDreamerThat is a really old version of WebGUI18:45
wgGuest25we are a non profit organzation so they are never really intrested in upgrading anything18:46
+perlDreamerwell, WebGUI is free, so it doesn't cost you anything but time to upgrade18:47
+perlDreamerIn any case, I have no idea what would have caused your editing options to be only HTML18:47
wgGuest25is there anyway to roll back in it?18:47
+perlDreameralthough it sounds like it works okay, just that you'd prefer not to use the WYSIWIG editor?18:47
+perlDreamerNot in 5.5.418:47
wgGuest25they need it to be regular text18:47
wgGuest25they edit the page alot so prefer it to be html18:48
+perlDreamerYou mean they want to edit the raw HTML, rather than a WYSIWIG?18:48
wgGuest25Im sorry if Im not being clear, they want to log in, go to edit on a article, and just type john dow went to the market, they dont want to do (html( john doe (Font Size 11)18:49
wgGuest25sorry how confusing this must sound18:49
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui18:59
-!- mode/#webgui [+o preaction] by ChanServ18:59
@apeironperlDreamer, OSCON would be nice if it wasn't for the $2k attendance price tag. =\19:12
+perlDreameryou can say that again19:13
+perlDreamerit does make it nicer (less expensive) when it's in Portland19:13
@apeironFor people *in* Portland. :)19:13
@apeironperlDreamer, Hey, by the way, I have a test question if you happen to have a moment?19:14
+perlDreamerI'm on and off, but please feel free to ask19:14
@apeironOkie. I'm trying to write some tests for wG code that calls www_view and related methods. I'm using PseudoRequest, replaced $session->{_request} with the PR object, but it's still getting linker issues in the test.19:15
@apeironAlso using getPage. As far as I know this should Just Work. Am I Doing It Wrong? Missing something?19:16
@apeironhttp://webgui.pastebin.com/m3ac369d3 is a pastebin containing the error if that'd help.19:19
-!- wgGuest25 [n=wgGuest2@pool-68-160-17-155.bos.east.verizon.net] has quit []19:32
bopbopHaarg: is there an index of utility scripts anywhere that I can point readers to?19:33
@rizentell them to look in their WebGUI/sbin folder19:33
bopbopok, thx19:33
+perlDreamerHow 'bout WRE/sbin?19:36
+perlDreamerapeiron, by default you should now always be getting a PseudoRequest object when you use WebGUI::Test (in 7.5)19:37
+perlDreamerCan you paste the test code itself?19:37
@apeironI'll have to chop it down to something small, but yeah.19:38
bopbopcan someone give me a brief definition of WebGUI::Asset19:48
@apeironperlDreamer, http://webgui.pastebin.com/m6458c40519:48
@apeironHm. Idea: since using getPage actually *does* produce the content I want, why not try to see if I can do what getPage does from within wG?19:53
-!- jua1 [n=juangui@201.232.58.66] has joined #webgui19:55
jua1hello19:55
CIA-21WebGUI: graham * r6041 /WebGUI/docs/gotcha.txt: improving gotcha notice19:56
CIA-21WebGUI: graham * r6042 /WebGUI/lib/WebGUI/Asset/Wobject/Article.pm: fixing article storage copying19:56
CIA-21WebGUI: graham * r6043 /WebGUI/ (8 files in 6 dirs): preparing for 7.5.9 release19:56
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit []19:56
jua1i have a collaboration system and i want to add a new field to it19:57
jua1i am using default submission form19:57
jua1the thing that i want is when i will add a new thread i can have an additional field to fill19:58
jua1is it possible? is clear my question?19:59
@preactionjua1, yes. alter the template to include a field with the name "userDefined1" or 2 - 5. there are 5 userDefined fields you can use20:10
-!- Sebastian13 [n=sebastia@p57A722E1.dip0.t-ipconnect.de] has joined #webgui20:11
jua1ok20:11
jua1thanks, i am going to test20:12
jua1preaction,  I want to include in the collaboration system a new input text box20:21
@preactionwhen someone creates a new thread, right?20:22
jua1yes20:22
@preactionso you have to add that input box to the template20:22
@preactionand give it the name "userDefined1"20:23
jua1ok20:24
jua1i am going to try20:24
@apeironAh. Seems this is the magic line I need: $session->http->{_http}->{noHeader} = 1;20:29
@preactionthat's what WebGUI::Test->getPage does20:36
@apeironYeah, exactly.20:38
-!- Sebastian13 [n=sebastia@p57A722E1.dip0.t-ipconnect.de] has quit ["Leaving"]20:40
-!- cap10morgan_ [n=cap10mor@h19-afsc.ded.indra.com] has quit []20:58
-!- dionak_ [n=diona@97.66.185.250] has joined #webgui21:00
* perlDreamer is colored confused21:45
+perlDreamerif that's what getPage does, then why does apeiron get the apache request error?21:45
@preactionbecause he wasn't using getPage21:45
@apeironperlDreamer, I'm not using getPage in the test.21:45
+perlDreamerapeiron, you should use getPage in the test!21:46
@apeironThe test is calling a www_ method but writing the contents of that method's output to disk.21:46
@apeironperlDreamer, ^^ It doesn't make altogether too much sense to getPage within WebGUI. :)21:46
@preactionso it's not the Test that's calling the www_ method, but the method you're testing21:47
@apeironYes.21:47
@apeironThe test is making sure the right contents get spit out to disk.21:47
-!- CIA-21 [n=CIA@208.69.182.149] has quit []22:02
-!- CIA-21 [n=CIA@208.69.182.149] has joined #WebGUI22:11
-!- dionak_ [n=diona@97.66.185.250] has quit []22:16
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui22:28
topsubperlmonkey2, i put that accordian menu up on webgui.org under packages. if you would like to look at it22:31
perlmonkey2cool thanks :)22:31
topsubalready got feedback for improvements Hopefully get to them today22:32
-!- estiven [n=estiven@201.232.58.66] has joined #webgui22:41
-!- SDuensin [n=Scott@13.sub-75-207-182.myvzw.com] has quit ["Leaving"]22:43
+perlDreamerlast night the smoke test picked up a syntax error in head.  Did somebody already fix that?22:53
SynQtrace - Module Reanmed to Devel::XRay23:24
SynQdid you know that?23:24
SynQhttp://search.cpan.org/~jbisbee/trace-0.551/lib/trace.pm23:24
SynQJ/JB/JBISBEE/Devel-XRay-0.94123:24
SynQzelfs23:24
SynQeven23:25
SynQI wonder what 'to reanmed' is23:27
SynQI reanme23:27
SynQYou reanme23:27
SynQWe reanmed23:27
topsubif i want to make a link to say edit a file then have it redirect to a certain page after can't i use the "proceed" in the link to do this?23:31
topsubthen it will redirect to the value of proceed after?23:31
GooeyOfSteelWiki: Override Core Modules - Edited on 4/3/2008 3:21 pm by knowmad  http://www.webgui.org/community-wiki/override-core-modules23:33
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui23:37
-!- mode/#webgui [+o rizen] by ChanServ23:37
+perlDreamertopsub, afaik, proceed=screen will let you go to any www_screen in the asset.23:41
GooeyOfSteelWiki: WRE for Windows - Edited on 4/3/2008 3:29 pm by knowmad  http://www.webgui.org/community-wiki/wre-for-windows23:41
topsubperlDreamer, is there docs on that?23:48
metanilperDreamer: one quick question....... can i do open (IN, $file); while (<IN>) { .. }.... and $file is taken from storageID (that was uploaded into webgui)??23:48
+perlDreamerI would use the built-in storage methods for file I/O.  getFileContentsAsScalar and so on23:52
+perlDreamerperldoc WebGUI::Storage23:52
+perlDreamerI don't know about docs for proceed.23:52
+perlDreamerIf not, I'll apply any POD patches you submit to both 7.4 and 7.523:52
topsubwere can i find the www_screen i will look at the code23:53
topsubin Asset.pm?23:53
+perlDreamer"screen" would be any valid www_ method23:53
topsubooo23:53
topsubhmm dunno if that will do what i thought it wold23:53
+perlDreamerwhat do you want it to do/23:54
topsubi have a link on the front end of the website linking to edit a pdf,  then after done editing the pdf threw the backend redirect back were tehy came from.23:54
+perlDreamerI thought it went back to the parent's view method after editing a file by default?23:55
perlmonkey2I'm trying to get my demo up and running on our centers webserver and keep getting this in http_erro "/data/domains/casr.ou.edu/public/extras/wobject/Survey" as part of a file does not exist error.  Do I have my webgui config pointing at the wrong place for extras?23:56
topsubhmm i have to look. perlDreamer23:57
@preactionlooks like23:57
@preactionextrasPath should be /data/WebGUI/www/extras23:57
-!- bopbop [n=kmccombs@71-82-214-154.dhcp.mdsn.wi.charter.com] has quit []23:58
perlmonkey2which is what I have in my casr.ou.edu.conf file.  23:58
perlmonkey2    "uploadsURL" : "/uploads",23:58
perlmonkey2    "extrasPath" : "/data/WebGUI/www/extras",23:58
@preactionare you using the ^Extras(); macro in your templates?23:58
perlmonkey2no23:58
@preaction^/;extras/whatever should technically work though... but try it anyway23:59
perlmonkey2it is even looking for the yui libs in the domain/public stuff23:59
--- Day changed Fri Apr 04 2008
perlmonkey2I don't want to put a macro in the template, I want to figure out why the config file is set correctly but webgui is looking in the domain dir for extras00:00
topsubhmm not the result i am seeing00:00
perlmonkey2vaary vaary peculiar00:01
GooeyOfSteelWiki: Customizing WRE Configuration - Edited on 4/3/2008 3:49 pm by knowmad  http://www.webgui.org/community-wiki/customizing-wre-configuration00:01
topsubi see it view the folder were the pdf file is00:01
@preactionyou have to use the ^Extras(); macro, because the "extrasURL" value may or may not be "/extras"00:01
topsubhmm intresting00:01
perlmonkey2how would extrasURL get changed from /data/WebGUI to /data/domain?00:02
perlmonkey2I guess I could just copy all of extras to /data/domains/../extras00:03
-!- crythias [n=gyoung@fl-69-68-148-96.sta.embarqhsd.net] has joined #webgui00:05
-!- mode/#webgui [+v crythias] by ChanServ00:05
-!- crythias [n=gyoung@fl-69-68-148-96.sta.embarqhsd.net] has left #webgui []00:05
+perlDreamertopsub: the folder is the parent of the PDF File.00:08
+perlDreamerproceed will only redirect to any valid method in the current Asset, which in this case, is the File asset.00:09
topsubah00:10
topsubhmm so iwould have to write a custom thing to have it redirect back to that certain url00:11
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has quit ["Lost terminal"]00:17
+perlDreamertopsub, the parent of the File asset does not have to be a folder.  That's something to think about.00:19
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui00:19
-!- mode/#webgui [+o apeiron] by ChanServ00:19
CIA-21WebGUI: graham * r6045 /WebGUI/ (4 files in 4 dirs): preparing for 7.5.10 dev00:23
topsubhow we have the folders organized they live inside folders..00:23
topsubunless i hacked it some to say if you look inside this folder redirect to this link00:23
topsubbut that might make it seem like a ghost in the system00:24
+perlDreameryeah00:24
+perlDreamerafter editing some PDF you want it to go to the top of the folder tree?00:24
topsubbasically the front end of the website were we have an admin portal00:25
topsublike.. /admin/article-manager is the link00:25
+perlDreamerSo if you want to edit 2 PDF's you'd have to nav all the way back down?00:25
topsubin the front end we have a list of the pdfs00:26
topsublinking to edit each one00:26
+perlDreamerhm00:26
topsubso the client doesn't have to use the backend is our plan00:26
+perlDreamerhow about this00:26
+perlDreamermake shortcuts to the PDFs as children of your article-manager page00:26
+perlDreameror vice-versa00:26
+perlDreamerset the PDFs to be hidden as children of the page00:27
+perlDreamernow, if you edit the PDF, you return to the parent, which is the article-manager00:27
topsubmight work but i have over 50 folders organized of pdfs00:27
topsubso i would have to short cut each folder?00:28
+perlDreamereach file in each folder00:28
topsubwhew00:28
+perlDreameryeah00:28
topsubthat would be alot of shortcuts00:28
+perlDreamerit would work functionally, but practically... no00:29
topsublol ya00:29
+perlDreamermight I suggest revisting the idea of not using the interface?00:29
topsubmight have to00:29
topsubtalk it up with william00:29
topsubcuz we thought the procced would do it00:30
topsubnot realizing its just for like view, edit, manageAsset00:30
+perlDreamerwait00:30
+perlDreamercrud00:30
+perlDreamerproceed=getDefaultAsset is close, but not quite right00:30
+perlDreamerfor 2 reasons00:30
+perlDreamer1) It's not a www_ method00:30
+perlDreamer2) it returns an asset, rather than viewing as asset00:31
+perlDreamerif you added a www_viewDefaultAsset method, that would work00:31
+perlDreamerand would be relatively clean to maintain00:31
topsubso mod the core to add that ur saying?00:31
+perlDreamerbut you don't want to view the default asset, you want to view some other asset00:31
+perlDreameryeah, that's what I'm saying00:32
+perlDreamerthat's pretty much what you're down to00:32
topsubya.00:32
topsubwant to view the pagelayout vs the asset itself00:32
+perlDreameryou could put a HTTP redirect in the File's view template00:32
+perlDreamerbut then it could never, ever be viewed00:32
topsubfrom teh front end anyway00:32
+perlDreamerright, only from the folder, or from the Asset Manager00:33
+perlDreamerthis is a file sharing setup, right/00:33
topsubcuz when the folder is like root>> home >> pdfs>> connections >> 2003 >> cn203.pdf00:33
topsubconnections being a category00:33
topsuband year can range from 1987 to 200800:33
+perlDreamernm, the template idea doesn't work either00:34
+perlDreamerwww_view is the download method for a file00:34
topsubcuz when i edited a pdf it took me back to the 2003 folder00:34
+perlDreamerright, back to it's parent00:34
topsubyep00:34
-!- vsd [n=rbw@83.212.57.47] has joined #webgui00:42
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI00:42
-!- vsd [n=rbw@83.212.57.47] has left #webgui ["Leaving"]01:00
-!- alperyilmaz [n=alper@osbc-141.osbc.ohio-state.edu] has joined #webgui01:02
alperyilmazHi.. Is it possible to run CGI scripts inside WebGUI? Am I allowed only using HTML when creating page content?01:03
@preactionyou can add modules to WebGUI, or you can use CGI scripts in a pass-through01:04
@preactionbut not inside of WebGUI itself01:04
@preactionthe HTTPProxy asset can also help with running CGI scripts01:04
+perlDreameryou can also create non-HTML content, like XML or most anything else01:05
alperyilmazi have a perl-based site and i was considering migrating it to WebGUI01:06
alperyilmazbut it looks like it will be difficult01:06
+perlDreamerhow much content is there?01:06
@preactiondepends on how the CGI scripts work. if you can migrate them into WebGUI Assets, it could be very easy01:07
alperyilmaznot too much.. 10-15 pages with MySQL connections/queries01:07
+perlDreamerwell, we have a SQL Report asset that might handle those right out of the bag01:07
+perlDreamerhave you tried playing with a demo site yet?01:07
+perlDreamerdemo.plainblack.com will give you a 24 hour demo01:08
alperyilmazyes, i tried01:08
alperyilmazi saw SQL assets01:08
@preactionperhaps you could re-build your application with Thingy01:08
+perlDreamerthose are the ones01:08
@rizenso one of our clients just asked me if Thingy is like WaveMaker (http://www.wavemaker.com/)01:08
@preactionor, if you're up to it, making WebGUI applications (Assets) is not difficult if you already know perl01:09
@rizenI said "Um, no."01:09
@rizenhave you guys seen wavemaker?01:09
+perlDreamerjust now01:09
@rizenit's unbelievably cool, but also scary hard to use01:09
alperyilmazokay.. I'll try to use the assets01:09
alperyilmazthanks.. 01:10
+perlDreameryou're welcome01:10
@rizenthere's no way that my mom will ever use wavemaker, but there is a chance she could use Thingy01:10
+perlDreamerI don't know, you mom seems pretty savvy01:10
-!- topsub [n=josh@97.66.185.250] has quit [Remote closed the connection]01:28
-!- alperyilmaz [n=alper@osbc-141.osbc.ohio-state.edu] has left #webgui []01:42
-!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"]01:48
-!- estiven [n=estiven@201.232.58.66] has quit ["Leaving."]02:06
-!- jua1 [n=juangui@201.232.58.66] has left #webgui []02:06
CIA-21WebGUI: jt * r6046 /branch/WebGUI_Commerce/ (6 files in 5 dirs): the badge/ticket relationships through badge groups now work02:48
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit []02:49
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has quit ["Download Gaim: http://gaim.sourceforge.net/"]02:51
-!- danny_mk [n=chatzill@68.15.55.161] has joined #webgui02:58
danny_mkHello everyone02:59
danny_mkHave you ever seen these errors in the error_log?03:01
danny_mkHmmm... the pastebin link did not show up.03:01
-!- acklenx [n=webgui_c@cpe-071-075-022-166.carolina.res.rr.com] has joined #webgui03:02
acklenxis the a good place to get a quick comparison of webgui vs postnuke?03:03
danny_mkhttp://webgui.pastebin.com/m1ea1aceb03:03
@preactionacklenx, cmsmatrix.org03:03
danny_mkprobably cmsmatrix.org03:03
acklenx(googling retunrns a lot places to get bad comparisons03:03
@preactiondanny_mk, those are warnings03:03
acklenxwill do thanks03:04
@preactionas in Perl warnings, as in you have some code that turns on warnings globally03:04
danny_mkI know, however the log keeps on growing like heck and the site seems a little slow03:04
@preactionuse warnings shouldn't be in any of the code shipped with WebGUI03:04
danny_mkalright, maybe I missed something03:05
@preactiongrep -R "use warnings" /data/WebGUI/lib will tell you quickly03:05
@preactionbut also check preload.perl03:05
danny_mkright03:05
danny_mkwill do03:05
danny_mkhah!  Asset_Calendar.pm,Storage.pm, and about 3 more modules have "use warnings"03:07
@preactionif they're like that in SVN HEAD then i would file bugs03:10
@preactionbut use warnings is lexical03:10
@preactionit shouldn't turn it on globally03:10
danny_mkright, I found the culprit03:11
danny_mkthank you for your help.03:11
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [Read error: 113 (No route to host)]03:21
-!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui03:35
-!- mode/#webgui [+v Radix-wrk] by ChanServ03:36
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit ["Leaving"]03:40
-!- danny_mk [n=chatzill@68.15.55.161] has quit ["ChatZilla 0.9.81 [Firefox 2.0.0.12/0000000000]"]03:49
CIA-21WebGUI: jt * r6047 /WebGUI/ (2 files in 2 dirs): fix: Syntax error in GetCsMail04:05
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has quit ["bbiab"]04:07
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui04:12
-!- mode/#webgui [+o apeiron] by ChanServ04:12
metanilhello 04:24
metanilmy code "http://webgui.pastebin.com/d6e380d7c" is giving me null.04:25
metanili did ->>> $csv_data    = $storage->getFileContentsAsScalar($filename);04:25
metanilany suggestions?04:25
metanil?04:32
-!- acklenx [n=webgui_c@cpe-071-075-022-166.carolina.res.rr.com] has left #webgui []04:32
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui04:52
-!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has joined #webgui04:56
-!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has quit [Remote closed the connection]05:09
-!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has joined #webgui05:41
-!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has quit [Remote closed the connection]06:09
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."]06:47
-!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has joined #webgui06:54
topsubi have updated my accordion menu if anyone could test it. Added the features someone reuqested07:12
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit ["Exit- stage left"]07:12
-!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has quit [Remote closed the connection]08:43
-!- ryuu_ro [n=rory@194.171.50.69] has joined #webgui09:11
-!- bartjol [n=bartjol@host2.procolix.com] has joined #webgui10:56
-!- ryuu_ro [n=rory@194.171.50.69] has quit [Remote closed the connection]10:58
-!- ryuu_ro [n=rory@194.171.50.69] has joined #webgui10:58
-!- Radix-wrk [n=Jesse@203.161.68.67] has quit ["Leaving"]12:09
-!- Haarg [n=haarg@66-168-19-128.dhcp.mdsn.wi.charter.com] has joined #webgui12:32
-!- mode/#webgui [+o Haarg] by ChanServ12:32
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui12:52
-!- Haarg [n=haarg@66-168-19-128.dhcp.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"]12:56
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui14:23
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has quit ["Leaving"]14:35
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui15:35
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has left #webgui []15:36
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui15:36
-!- jdanpl [n=jdanpl@xdsl-461.lubin.dialog.net.pl] has joined #webgui15:57
-!- MrHairgrease [n=martin@wlan-145-94-223-71.wlan.tudelft.nl] has joined #webgui16:12
-!- mode/#webgui [+v MrHairgrease] by ChanServ16:12
-!- topsub [n=josh@97.66.185.250] has joined #webgui16:12
-!- SDuensin [n=Scott@89.sub-75-204-45.myvzw.com] has joined #WebGUI16:17
SDuensinMorning.16:25
-!- Haarg [n=haarg@66-168-19-128.dhcp.mdsn.wi.charter.com] has joined #webgui16:27
-!- mode/#webgui [+o Haarg] by ChanServ16:28
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit ["Exit- stage left"]16:48
-!- Haarg [n=haarg@66-168-19-128.dhcp.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"]16:49
topsubhi17:01
perlmonkey2hi17:02
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."]17:08
-!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui17:08
-!- mode/#webgui [+o Haarg] by ChanServ17:08
bartjolhi17:13
Syn2ha17:13
jdanplhi17:15
Syn2honden...17:16
-!- jfluhmann [n=jfluhman@x171y247.angelo.edu] has joined #webgui17:16
-!- dapperedodo [n=dappered@194.171.50.69] has joined #webgui17:50
-!- lisette [n=liraos@201.232.58.66] has joined #webgui18:00
lisettehello18:00
lisetteI can tell a survey which is the score for each question?18:01
bartjollisette, there is a scale of correctness for your answers?18:03
lisettemmm i don't know18:06
lisettei do a new survey18:06
lisetteand i wants to do this18:06
bartjolwell, that depends on how you design your survey18:06
lisettei want to do in mode quiz18:08
bartjolso you can 1 answer as the correct one18:09
bartjolyou can assign 1 answer etc18:09
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui18:12
-!- mode/#webgui [+o preaction] by ChanServ18:12
-!- estiven [n=estiven@201.232.58.66] has joined #webgui18:16
-!- MrHairgrease [n=martin@wlan-145-94-223-71.wlan.tudelft.nl] has left #webgui []18:22
-!- ryuu_ro [n=rory@194.171.50.69] has quit [Read error: 110 (Connection timed out)]18:23
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has left #webgui []18:25
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has joined #webgui18:33
-!- mode/#webgui [+v perlDreamer] by ChanServ18:33
lisetteyes, but i want control the score by answer18:35
bartjolhee perlDreamer it was strange, I couldn't find those namespaces you mentioned18:37
bartjolmaybe arjan did before i could do it18:37
+perlDreamercould be18:37
+perlDreamerdo the tags even exist?18:37
bartjolhaven't seen any new ones, but you didn't mention any specific tag names18:38
bartjollisette maybe you have to custimize your db answer entries, or you can hold on for a while and wait for survey 2.0, but I don;t know the specs18:41
bartjolbut I'm off, will check the translations soon enough18:42
-!- bartjol [n=bartjol@host2.procolix.com] has left #webgui []18:44
GooeyOfSteelWiki: Customizing WRE Configuration - Edited on 4/4/2008 10:32 am by topsub  http://www.webgui.org/community-wiki/customizing-wre-configuration18:44
topsubperlDreamer, thanks for your input yesterday18:51
+perlDreameryou're welcome18:52
+perlDreamerdid you come up with a solution?18:52
topsubbelieve let them use the backend.. lol18:52
topsubwould like to mod core webgui to allow us to pass in url and have it redirect to it after you save18:52
topsubmight work on that after this project. Have to get this project out the door18:53
+perlDreamerRFEs with patches have a higher likelihood of being accepted :)18:53
+perlDreamerRFEs with patches AND tests may even be committed by volunteer developers18:53
topsubmight do that then18:54
-!- jdanpl [n=jdanpl@xdsl-461.lubin.dialog.net.pl] has quit ["Leaving"]19:02
-!- dapperedodo [n=dappered@194.171.50.69] has quit ["Leaving"]19:17
-!- knowmad [n=william@97.66.185.250] has joined #webgui19:36
-!- CIA-21 [n=CIA@208.69.182.149] has quit []20:09
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui20:40
-!- CIA-21 [n=CIA@208.69.182.149] has joined #WebGUI20:47
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui20:58
perlmonkey2Sweet jumping jelly beans, Battlestar Galactica season premier tonight!!!21:05
knowmadi'm still catching up on the old seasons...21:07
ckotiltheres a video online to get you caught up real quick21:20
-!- bopbop [n=kmccombs@71-82-214-154.dhcp.mdsn.wi.charter.com] has joined #webgui21:28
nubaWHOA, indeed, BSG is back!21:32
nubaawesome21:32
nubaquick question: how do I force new users to agree with a Terms of Service text when creating a new account?21:33
perlmonkey2nuba that is a very common question, but I think the common answer is a macro?  But don't take my word for that.21:33
nubashould I add the TOS and the checkbox as profile fields, set to show at the account creation form?21:33
topsubquick question. I trying to pull the lastest version of an asset Is there  asimple way that it is flagged saying this is the lastest one?21:38
topsubi see revisionDate is that the only way?21:38
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui21:40
-!- mode/#webgui [+o rizen] by ChanServ21:40
@preactiontopsub, revisionDate is the only way21:41
@preactionin SQL it's usually select MAX(revisionDate) from assetData where status="approved"21:42
@preactionbut to be really smart about it is beyond the capability of an SQLReport21:42
@rizenpreaction: when is asset report going to be completed?21:43
@preactioni was planning on 7.6 dev. doing it right requires asset mixins, which are really easy. mainly shooting for 7.6 because i haven't been able to touch it in 3 weeks21:44
@preactionasset mixins is also the reason why i put off subscriptions to Calendars and Events and WikiPages, since a mixin could easily take care of that21:44
metanilmy code "http://webgui.pastebin.com/d6e380d7c" is giving me null.21:45
metanili did ->>> $csv_data    = $storage->getFileContentsAsScalar($filename);21:45
@rizenmixins, you think that's the solution to everything21:45
@preactionit is! failing marriage? mixin'll fixin'21:46
@preactionbody odor problems? mixin'll fixin'21:46
@rizenworld peace...just add a mixin21:47
metanilwhat should be the parameter for getFileContentsAsScalar()??21:47
@preactionthe filename i thought21:48
@preactionundef if the file doesn't exist probably21:48
metanilwhat if i did, my $storageId = 'WneFgmzQYy8gnIcXabcS1A';     my $storage  = WebGUI::Storage->get($self->session, $storageId);21:49
metanildoes it return the storage that is stored by $storageId? .. and after then .. if i do like .. $storage->getfile();.... (sth like that) .. would that return the contents ?21:51
@preactionyes, your code seems to work21:52
@preactionbut not sure your addFileFromFormPost is correct21:52
metanilpreaction: i didn't do addFileFromFormPost...21:52
metanilits already stored in the database.21:52
@preactionline 3 in your paste21:52
metanil(may be through upload)21:53
metanilyes.. thats where i was in confusion21:53
metanilif i already have storageid.. why would i need filename???21:53
@preactionbecause storage contains more than one file?21:54
metanilooooh!21:54
@preactionaddFileFromFormPost is probably wrong though. it does exactly what it says21:54
@preactionyou can loop through getFiles() and try to find the one you want21:54
@preactionor if you know only one is in there $storage->getFile->[0];21:54
metanilyou mean getFiles (not getFile).. ?21:56
metanilpreaction: woot!22:02
metanilpreaction: in which situation does a storage has multiple files? 22:04
@preactionwhen you add multiple files to the storage22:04
@preactionEvents and WikiPage and Articles do22:04
metanilgot it.22:06
metanilthx22:06
-!- crythias [n=gyoung@fl-69-68-148-96.sta.embarqhsd.net] has joined #webgui22:07
-!- mode/#webgui [+v crythias] by ChanServ22:07
-!- crythias [n=gyoung@fl-69-68-148-96.sta.embarqhsd.net] has left #webgui []22:07
topsubthanks preaction!22:17
+perlDreamerpreaction++22:17
+perlDreamerbopbop: any other problems with the testing chapter?22:18
@preactioncan we get someone to pay us to re-do the Calendar again? or at least a week or two of bugfixing / updates?22:18
+perlDreameror is it fit for diaper fodder? :)22:18
+perlDreamer80 hours of work, that's spendy22:18
@preactiona week then, probably all it would take. the extra week i never got22:19
@rizeni'm going with diaper fodder, just to kill your ego going into the weekend22:20
@rizenpreaction: it's alumni's dime, and that's all you do every day22:20
@rizenjust build it into your schedule22:20
bopbopperlDreamer: nope I finished revising it and it looks good22:22
bopbopI understood most of what I was reading, so you must have explained clearly:)22:22
@apeironyay!22:22
@apeironI nominate bopbop as our new Official Test Monkey.22:22
bopbopoh geez22:22
@rizenman, that's pretty high praise22:23
@rizeni bet i don't get such high praise for my chapters22:23
bopbopyou aren't the worst, rizen, we'll just leave it at that22:23
@preactionwait22:24
@preactionthat means someone else is the worst22:24
bopbop:)22:24
@preaction... if it's me, it's only because you're too stupid to understand me!22:24
@preactionha ha! charade you are!22:24
bopbophey, Eye not sew dumb ass u thinx I is22:24
@preactioni'm a certified college dropout! i fail english? that's unpossible!22:25
@apeironpreaction, The quote is "me fail english"22:25
@preactionbut "me fail english" is the correct grammatical construct22:26
@apeironer, you have two nouns in the objective case in that sentence without a conjunction joining them. :)22:27
+perlDreamerwell, we know it isn't apeiron either :)22:31
bopbopall the chapters look pretty good22:32
-!- knowmad [n=william@97.66.185.250] has quit [Read error: 110 (Connection timed out)]22:34
+perlDreamerbopbop, met another guy who hunts duck who didn't believe that flavored shot exists22:34
bopbopit exists, but it isn't FDA approved yet22:35
bopbopguess it's not exactly safe to eat :)22:35
+perlDreameroy22:35
+perlDreamerthat's a problem22:35
bopbopyeah...Ryan is determined to buy it- we're looking into the fowl hunting black market22:35
bopbophere you go: http://www.seasonshot.com/Home.cfm22:36
+perlDreamerbe careful, this channel is logged22:36
bopbopit's for sale on the Internet...it must be fine22:37
@preactionit's not for sale yet :(22:38
@preactioni mean, i don't hunt, but applied science is always awesome22:38
+perlDreamerone small problem22:38
+perlDreameron their about us page, they should all have broken teeth22:39
+perlDreamerthus showing the need for the shot in the first place22:39
bopbophehehe22:39
@preactionwater-soluable hard-plastic shells perhaps? like paintball pellets? the smaller they are, the less likely they are to break on impact. also the more full they are...22:39
bopboptightly packed seasoning held together in pellets by a food binding product apparently22:41
bopbopthey melt during cooking22:41
lisettewhich the action of the form login_box?22:42
+perlDreamerI believe POST22:43
@preactionPOST. GET would be very bad22:43
@rizenthat is the method22:44
@rizenthe action is the site url 22:44
* perlDreamer asks ignorantly, "Why? Why preaction-claus, why?"22:44
lisettethanks22:44
@preactionget shows up in the browser address bar?22:45
@preactionpost at least doesn't22:45
@preactionand with POST + SSL you don't have piggyback slurp22:45
@preaction(Man-in-the-middle attack)22:45
-!- knowmad [n=william@adsl-074-170-007-083.sip.clt.bellsouth.net] has joined #webgui22:49
-!- knowmad [n=william@adsl-074-170-007-083.sip.clt.bellsouth.net] has left #webgui []22:59
-!- topsub [n=josh@97.66.185.250] has quit [Read error: 110 (Connection timed out)]23:10
-!- jua1 [n=juangui@201.232.58.66] has joined #webgui23:20
jua1hello23:20
jua1i have a problem with a collaboration system23:21
jua1i have created  CS with the weblog template, in the CS i can upload files23:22
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has quit [Read error: 110 (Connection timed out)]23:22
jua1the problem is that i have upload a file but when i am going to read more in a specific thread i can not see the file23:23
-!- jua1 [n=juangui@201.232.58.66] has left #webgui []23:25
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has joined #webgui23:25
-!- mode/#webgui [+v perlDreamer] by ChanServ23:26
-!- estiven [n=estiven@201.232.58.66] has quit ["Leaving."]23:38
perlmonkey2seasonshot....that is absolutely hilarious.23:38
* perlDreamer is considering trying something similar for fishing23:39
+perlDreamerbut how do you avoid ruining the fish?23:39
bopbophmm- seasoned worms?23:41
+perlDreamerI'll bring some to the next WUC23:41
bopbopok- you bring the fish, I'll bring the bird23:41
+perlDreameroh no, I was talking about the worms23:41
bopbopooh, well we can eat those too23:41
bopbopmaybe rizen will charter us a boat for Lake Mendota to go fishing23:42
+perlDreamerNow you're talking!23:42
+perlDreameralthough I'll need to practice my knots23:43
@rizennot that big of a lake. doubt there are boat charters available.23:43
* perlDreamer is famous for losing tackle after the cast due to loose knots23:43
bopbophmm- we can get a pontoon down by me23:43
perlmonkey2bopbop: fising at the WUC...I'm IN!23:45
perlmonkey2hah, or a pontoon23:45
bopbopwe'll see what we can do for you perlmonkey223:45
+perlDreamerThe WUC will by BYOB23:45
+perlDreamerum be, not by23:45
perlmonkey2Bring Your Own Bait?23:45
+perlDreamerBoat23:46
-!- SDuensin [n=Scott@89.sub-75-204-45.myvzw.com] has quit ["Leaving"]23:51
--- Day changed Sat Apr 05 2008
-!- bopbop [n=kmccombs@71-82-214-154.dhcp.mdsn.wi.charter.com] has quit []00:01
perlmonkey2This is a really old webgui site, right?  http://www.dynamist.com/00:13
@preactiondoesn't seem like it00:15
perlmonkey2thought that was an old webgui theme.00:17
@rizennot a webgui site at all00:20
@rizenyou can use the old ?op=theWg trick to find out00:20
perlmonkey2hm....then that has to be a totally ripped off wg theme?00:22
@rizenpm2: did you get your survey done in time for your peeps to be happy?00:23
lisettehello00:24
perlmonkey2They extended the deadline, and actually weren't too upset.  They know they are asking for a lot.00:24
lisettei want to do a trivia with time limit00:24
lisettei can do this?00:24
lisetteand how to do?00:24
perlmonkey2rizen: I have a whole extra week to stamp out bugs and I need to have questions on the screen by the end of the weekend.00:24
@rizengreat news pm200:25
@apeironlisette, Simple, naive way is to use JS to get a timestamp of when the document is fully rendered in the user's browser and set an alert to occur after a set time period that enforces whatever "you took too long" logic you need.00:25
@apeirons/alert/event/00:25
perlmonkey2yeah....I'm pumped as I'd be really sad if they lost their grant.  But I'm reassured by their claims that this will be doing more than what their 100K software does.  Kind of makes me feel better for not being to finish it with one part time developer in a few weeks.00:26
@apeiron(I say simple and naive because there's likely something better)00:26
lisettemmm i can do that just with JS, no other way?00:27
@rizenlisette: you could use a session scratch variable to keep track of the time00:27
+perlDreamerlisette, do you mean that you want the trivia to be changed with time (like new trivia every 5 minutes) or that you want the user to answer within a time limit?00:28
@rizenor if you are keeping track of the trivia responses in the database, you could timestamp them so you could see when their first response is00:28
lisetteyes, but too closed00:28
perlmonkey2That ?op=theWg is super sweet00:28
lisettei need two ways00:29
@rizenpm2: there are all kinds of easter eggs like that in webgui00:30
@rizentry this one: http://www.plainblack.com/*give-credit-where-credit-is-due*00:30
lisettesorry is a survey in mode quiz00:31
lisettehow to do all this00:32
perlmonkey2rizen: that one didn't work on my center's wg instance.00:33
perlmonkey2http://casr.ou.edu/*give-credit-where-credit-is-due*00:33
lisetteperlDreamer: i need two things00:35
@rizenyeah it's broken before 7.500:36
@rizenhere this one will work:00:37
@rizenhttp://casr.ou.edu/?op=genesis00:37
metanilhow do we autocommit for uploading file in folder Asset??00:37
perlmonkey2rizen: hah, that is great00:39
+perlDreamermetanil: you can't set autocommit only for Folder Assets.  You can set it up for the whole site, though.  It's in the Settings.  I believe it is in the Content tab.00:39
metanilcan i do programmatically.. like getting tag and do commit.00:40
metaniltagid00:40
@rizenperlmonkey2: ok...ready for the grand daddy of them all? the hardest easter egg to find in webgui is:00:41
@rizen1) go to any page layout url00:41
@rizen2) turn admin on00:41
+perlDreamerwell, if I remember correctly, file uploading is done via the File Pile.  I guess you could modify that.00:41
@rizen3) type the following characters00:41
@rizenup down up down left right left right b a00:41
@rizenthe directions are on your arrow keys00:41
+perlDreamerand b a stands for "moon your boss"00:42
@rizenb and a are actually b and a on your keyboard, don't listen to pd 00:42
perlmonkey2rizen: HAHAHAA, that is GREAT00:42
@rizenhe's a bad influence00:42
perlmonkey2if wg could tell when I had mooned my boss, It probably should be classified as more than just a CMS.00:43
+perlDreamerCharacter Monitoring System00:43
@rizeneminem wrote a song called "bad influence" about perlDreamer00:44
perlmonkey2heh00:47
perlmonkey2okayh, bbl, taking the wif out on the town.00:47
lisette?00:48
lisettei can't do this with webgui?00:48
lisettei have build a new macro to controle this?00:49
@preactionwtf is a neutered konami code doing in WebGUI?00:51
@preactionit should be up up down down left right left right b a00:51
@preactionrizen, you are one seriously tricky individual00:52
@rizenare you sure? i think you're wrong00:52
@rizenbut i'm happy that you got the reference00:52
@preactioni think we're both right, really00:52
@rizenit's also supposed to have "select" "start" at the end00:52
@rizenbut there aren't those keys on the keyboard00:52
@preactionhttp://en.wikipedia.org/wiki/Konami_Code00:52
@preactioni could swear that one game does it a little differently00:53
@rizeni was doing it from memory00:53
@rizenso i guess i got it wrong00:53
@preactioneh, it'll keep people guessing that much more00:54
@rizeni was just telling haarg that we need to add a couple more easter eggs to webgui before the wuc00:54
@rizenand that we should add a new undocumented config file variable called noHumor:100:55
@rizenthat disables them all00:55
@preactionallowing disabling of easter egg? even if that's an easter egg itself it's kinda sad00:55
@rizeni think it's a cool easter egg00:56
@preactionsad as in depressing, not sad as in ill-concieved00:57
@rizeni also think that we should change the gallery so that on april fools day all photos are elvis00:57
-!- rizen changed the topic of #webgui to: [ WebGUI 7.4.31-stable / 7.5.9-beta | WRE 0.8.3 ] Before you ask, check the wiki: http://wiki.webgui.org | Pastebin: http://webgui.pastebin.com/00:58
@preactionreplace Elvis with Gooey00:59
@preactionin an Elvis costume00:59
lisetteanyone knows?01:01
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [No route to host]01:04
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit ["Leaving"]01:18
-!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has quit ["Leaving"]01:19
-!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui01:26
-!- mode/#webgui [+o Haarg] by ChanServ01:26
lisette?01:52
-!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"]01:53
+perlDreamerlisette, the current Survey doesn't know about time.01:56
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has quit ["Download Gaim: http://gaim.sourceforge.net/"]02:00
-!- lisette [n=liraos@201.232.58.66] has quit ["Leaving."]02:02
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has quit ["leaving"]02:06
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui02:11
-!- CIA-21 [n=CIA@208.69.182.149] has quit []02:48
-!- CIA-21 [n=CIA@208.69.182.149] has joined #WebGUI03:05
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui03:47
-!- mode/#webgui [+o apeiron] by ChanServ03:47
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has quit ["getting a better client"]03:54
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui03:54
-!- mode/#webgui [+o apeiron] by ChanServ03:54
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has quit ["brb"]04:30
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [Read error: 113 (No route to host)]04:32
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui04:33
-!- mode/#webgui [+o apeiron] by ChanServ04:33
-!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has joined #webgui05:45
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI05:49
-!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: ckotil, perlbot, SynQ, steveo_aa, metanil, jfluhmann, vayde, Syn2, nuba, SDuensin, (+7 more, use /NETSPLIT to show all of them)06:14
-!- Netsplit over, joins: @apeiron, GooeyOfSteel, diakopter, SDuensin, topsub, CIA-21, @rizen, jfluhmann, +Radix_, metanil (+6 more)06:24
topsubhopefully i can get this to work. Try to make an inline text editor for when you "Turn admin on"08:12
-!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has quit [Read error: 110 (Connection timed out)]10:22
-!- SynQ [n=koen@e97024.upc-e.chello.nl] has quit [Read error: 104 (Connection reset by peer)]12:12
-!- Haarg [n=haarg@66-168-19-128.dhcp.mdsn.wi.charter.com] has joined #webgui12:13
-!- mode/#webgui [+o Haarg] by ChanServ12:13
-!- SynQ [n=koen@e97024.upc-e.chello.nl] has joined #WebGUI12:14
SynQgood afternoon13:48
-!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: @Haarg, ckotil, perlbot, steveo_aa, metanil, jfluhmann, nuba, Syn2, SDuensin, @rizen, (+5 more, use /NETSPLIT to show all of them)15:31
-!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: SynQ15:57
-!- Netsplit over, joins: SynQ15:59
SynQhuh16:01
SynQhmm16:01
SynQnetsplit?16:01
-!- SynQ [n=koen@e97024.upc-e.chello.nl] has quit ["Leaving."]16:02
-!- Haarg [n=haarg@66-168-19-128.dhcp.mdsn.wi.charter.com] has joined #webgui16:06
-!- SynQ [n=koen@e97024.upc-e.chello.nl] has joined #webgui16:06
-!- GooeyOfSteel [n=puppetma@hq.imaterial.org] has joined #webgui16:06
-!- diakopter [n=diakopte@pdpc/supporter/active/diakopter] has joined #webgui16:06
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui16:06
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #webgui16:06
-!- CIA-21 [n=CIA@208.69.182.149] has joined #webgui16:06
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui16:06
-!- jfluhmann [n=jfluhman@x171y247.angelo.edu] has joined #webgui16:06
-!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has joined #webgui16:06
-!- ServerMode/#webgui [+ooov Haarg apeiron rizen Radix_] by irc.freenode.net16:06
-!- metanil [n=akhadka@137.48.138.72] has joined #webgui16:06
-!- steveo_aa [n=sno@adsl-76-234-133-88.dsl.sfldmi.sbcglobal.net] has joined #webgui16:06
-!- ckotil [n=newtrino@snare.grnoc.iu.edu] has joined #webgui16:06
-!- Syn2 [n=koendejo@host2.procolix.com] has joined #webgui16:06
-!- perlbot [n=perlbot@lv.pm.org] has joined #webgui16:06
-!- nuba [n=nuba@hq.imaterial.org] has joined #webgui16:06
GooeyOfSteelWiki: Getting Started in the WebGUI Community - Edited on 4/5/2008 8:03 am by koen  http://www.webgui.org/community-wiki/getting-started-in-the-webgui-community16:15
SynQjt, are you there?17:03
SynQI just hope you are not going to be mad again17:05
SynQbut I fear17:05
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui17:38
SynQhi there perlmonkey217:39
perlmonkey2hello SynQ17:39
perlmonkey2how's things?17:40
SynQgreat17:40
SynQI'm working on the WRE17:40
perlmonkey2sounds like fun17:40
SynQit is17:40
perlmonkey2what you doing to it?17:40
SynQI'm adjusting the build.sh script to let it take the versions of the programs to build from a list of variables17:41
SynQso that I can compile it with all new versions of the dependancies17:41
perlmonkey2very cool17:41
SynQbut now I'm out to shop some17:50
SynQbbl17:50
-!- CIA-21 [n=CIA@208.69.182.149] has quit []18:06
-!- CIA-21 [n=CIA@208.69.182.149] has joined #WebGUI18:32
perlmonkey2Where would I set the default Template edit box width?  19:49
perlmonkey2Like when I want to edit a template via wG, I'd like the box to default to much wider.19:50
SynQI wouldn't know19:55
@apeironperlmonkey2, I think that's codified in the Textbox form control, but I'm not certain.19:55
perlmonkey2apeiron: cool thanks for showing me where to start looking :)19:56
@apeironhrm, actually.19:56
@apeironSomething probably *uses* that form control.19:56
@apeironSo you'll want to look for an invocation of it.19:56
perlmonkey2okay...I'll see what I can dig up20:18
-!- CIA-21 [n=CIA@208.69.182.149] has quit []22:12
-!- CIA-5 [n=CIA@208.69.182.149] has joined #WebGUI22:48
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [No route to host]22:53
-!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has joined #webgui23:00
--- Day changed Sun Apr 06 2008
-!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has quit [Remote closed the connection]00:31
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui00:45
perlmonkey2If I want to grab a param out of the url from the last get request, how would I do that?01:14
perlmonkey2$self->session->form->process('myparam') doens't seem to be doing it.01:15
perlmonkey2but then I'm not submitting a form.01:15
perlmonkey2this is driving me nuts.....I pass in a param in the URL and can not figure out how to get it from the session.02:07
@apeironIs it a form parameter if it's being passed in via the URL?02:11
perlmonkey2hold on02:13
perlmonkey2it was just me being absolutely retarded02:13
perlmonkey2I was checking for the param in an AJAX callback that occurs after the page loads.02:13
perlmonkey2so the param in the URL that takes the user to the page obviouly wouldn't be showing up there.02:13
-!- preaction [n=doug@CPE-67-48-241-219.new.res.rr.com] has joined #webgui03:52
-!- mode/#webgui [+o preaction] by ChanServ03:52
perlmonkey2so lonely here04:27
perlmonkey2am I the only one working yet another weekend (note the self-pity included in that statement)?04:28
-!- preaction [n=doug@CPE-67-48-241-219.new.res.rr.com] has quit [Read error: 110 (Connection timed out)]05:26
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [No route to host]07:02
-!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has quit ["Windows doesn't have users, it has hostages."]08:35
-!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has joined #webgui08:47
-!- mode/#webgui [+v Radix_] by ChanServ08:47
-!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has quit ["Windows doesn't have users, it has hostages."]16:02
-!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has joined #webgui16:02
-!- mode/#webgui [+v Radix_] by ChanServ16:02
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui16:43
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has joined #webgui21:51
-!- mode/#webgui [+v MrHairgrease] by ChanServ21:51
CIA-5WebGUI: yung * r6056 /WebGUI/ (4 files in 3 dirs): fixed: Thingy: Text, File and Hidden field types listed twice22:02
CIA-5WebGUI: yung * r6057 /WebGUI/ (docs/changelog/7.x.x.txt www/extras/wobject/Thingy/thingy.js): Thingy: edit/add field popup doesn't fit all options22:02
CIA-5WebGUI: yung * r6058 /WebGUI/ (docs/changelog/7.x.x.txt lib/WebGUI/Asset/Wobject/Thingy.pm): fixed: selecting some field types will crash Thingy22:02
CIA-5WebGUI: jt * r6059 /translations/Italian/Italian/ (4 files): update_from_translation_server22:21
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."]22:26
-!- crythias [n=gyoung@fl-69-68-148-96.sta.embarqhsd.net] has joined #webgui22:33
-!- mode/#webgui [+v crythias] by ChanServ22:33
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui23:25
-!- mode/#webgui [+o preaction] by ChanServ23:25
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit ["Leaving"]23:46
-!- BartJol [n=plainstu@52-167.surfsnel.dsl.internl.net] has joined #webgui23:59
--- Day changed Mon Apr 07 2008
-!- SynQ [n=koen@e97024.upc-e.chello.nl] has left #webgui []00:04
-!- SynQ [n=koen@e97024.upc-e.chello.nl] has joined #WebGUI00:05
BartJolhee Koen00:08
BartJolcan't you create your own kids for the photos?00:09
BartJolmmm august, that's less than 9 months00:10
SynQhehe00:24
SynQsorry, it's allready too late for that00:24
SynQbut I'd like to get some photo's of colin and frank's kids00:25
BartJoloh maybe it's a nice ti ne to upgrade my website00:29
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui00:34
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has left #webgui []01:10
-!- BartJol [n=plainstu@52-167.surfsnel.dsl.internl.net] has left #webgui []01:33
-!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui04:21
-!- mode/#webgui [+v Radix-wrk] by ChanServ04:21
-!- snapcount_ [n=royjohns@156.10.101.97.cfl.res.rr.com] has joined #webgui05:00
-!- snapcount_ is now known as snapcount05:02
-!- mode/#webgui [+v snapcount] by ChanServ05:02
+snapcountI'm trying to get someone signed up with CDG commerce for a merchant account and iTransact is not a choice for the payment gateway on their site05:03
+snapcountis there a new name for it?05:03
+snapcountonly choices are Quantum Gateway and Authorize.net gateway05:04
-!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has joined #webgui05:13
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui05:18
perlmonkey2rizen: You still looking for someone for the WebGUI developer?05:25
topsubhmm what table in the database does the an article content get stored.06:07
topsubThink i am overlooking it..06:07
-!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: ckotil, perlbot, steveo_aa, @rizen, perlmonkey206:08
-!- Netsplit over, joins: ckotil06:08
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui06:11
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui06:11
-!- steveo_aa [n=sno@adsl-76-234-133-88.dsl.sfldmi.sbcglobal.net] has joined #webgui06:11
-!- perlbot [n=perlbot@lv.pm.org] has joined #webgui06:11
-!- ServerMode/#webgui [+o rizen] by irc.freenode.net06:11
-!- perlbot [n=perlbot@lv.pm.org] has quit [Connection reset by peer]06:12
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["sleepy time"]06:13
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit ["Exit- stage left"]06:24
-!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has quit [Remote closed the connection]06:55
-!- Radix-wrk [n=Jesse@203.161.68.67] has quit ["Leaving"]07:03
-!- snapcount [n=royjohns@156.10.101.97.cfl.res.rr.com] has quit []07:37
-!- ryuu_ro [n=rory@194.171.50.69] has joined #webgui09:11
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui10:26
-!- mode/#webgui [+o preaction] by ChanServ10:26
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Connection timed out]11:31
-!- BartJol [n=plainstu@host2.procolix.com] has joined #webgui11:46
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui14:18
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui15:56
-!- jfluhmann [n=jfluhman@x171y247.angelo.edu] has quit [Remote closed the connection]16:22
-!- topsub [n=josh@97.66.185.250] has joined #webgui16:38
-!- crythias [n=gyoung@fl-69-68-148-96.sta.embarqhsd.net] has left #webgui []16:57
-!- jfluhmann [n=jfluhman@x171y247.angelo.edu] has joined #webgui17:03
-!- snapcount [n=royjohns@andc-fw1.exploreos.com] has joined #webgui17:04
-!- mode/#webgui [+v snapcount] by ChanServ17:04
-!- ckotil [n=newtrino@snare.grnoc.iu.edu] has quit [Read error: 110 (Connection timed out)]17:12
@rizenperlmonkey2: yes we're still looking for a developer17:31
@rizensnapcount: just go direct to itransact.com17:32
+snapcountthanks rizen... I stumbled onto that last night and had them go there17:32
-!- ryuu_ro [n=rory@194.171.50.69] has quit []17:36
-!- lisette [n=liraos@201.232.58.66] has joined #webgui17:41
lisettehi17:42
perlmonkey2lisette: Hello17:42
lisettei can controle the score by question in a survey in mode quiz?17:43
perlmonkey2lisette: allow each question to have a different point value?17:43
lisetteyes17:44
perlmonkey2lisette: I not 100% sure but I think you'd have to do that in processing after the quiz was administered.  17:47
perlmonkey2IE, no, you can't change the point values in the quiz mode.17:47
perlmonkey2But that is an interesting point.  I'm currently working on a new version of the survey and instead of a 'corrent/incorrect' value for an answer, that could be a point value.  Rizen, do you think that'd be a good idea?17:48
SDuensinMorning.17:49
perlmonkey2g'morning SDuensin17:50
@rizenpm2: sure17:51
perlmonkey2lisette: Okay, I'll work that change into the new system.  But for now, I don't think you can change point values in the survey.  You would have to generate a report and then process that to change point values.17:52
BartJola point value probably is, just changed 300+ db fields manually for point values in a survey (the isCorrect field isn't used)17:53
BartJolis good17:54
lisettethanks17:55
lisetteok17:55
lisettehow i can obtanin the score to process?17:55
lisetteobtain17:56
topsubhello everyone17:56
BartJolhi17:57
BartJollisette, you mean if you want to do it now, before the new survey system?17:58
lisetteno17:58
lisettei want process the score of quiz17:58
lisetteand save in a db17:58
lisetteand then my question is: how to do for get the score that gives me webgui?17:59
perlmonkey2lisette: for now, you can not change the score for each question.  And according to BartJol, the isCorrect field is not used, so you wouldn't know if you should give a question that score.18:00
BartJolit's not used in survey mode18:01
BartJolso if you use survey mode, you can add a score and write a macro to extract the data you want18:01
BartJolit's ugly, but it works18:01
BartJoltemporarily :)18:02
lisetteyes i understand18:02
BartJolbut it's some work18:02
lisettebut, if i want process how to do....?18:02
BartJolhow you put it in the other db, I don't know18:02
BartJolsorry, I don't understand your question18:03
lisettehow to get the score that actually gives me webgui?18:03
lisettecomo obtengo el score actual que me entrega la survey18:03
lisettecon una consulta en la base de datos?18:03
BartJolaha :)18:04
perlmonkey2you want to get the score out of the webgui database.18:04
perlmonkey2webgui has reporting tools.18:05
BartJola sql report sounds most logical18:05
lisettemmm which table save the score?18:07
BartJolSurvey_response or Survey_questionresponse18:08
BartJolSurvey_questionResponse18:08
BartJolthe last has the actual eneterd answers18:08
BartJolwith the isCorrect field18:09
BartJolzo you can add all the isCorrect fields with a certain  Survey_responseId and devide it by the number of questions and there you have the score in fractions (or percents, when multiplied by 100%)18:10
lisetteother question18:12
lisette i can put time to a survey?18:12
BartJolwell, one more, then I'll have to leave18:12
BartJolwell, the survey stoers the start and end time of a user submitting it, but not sure whether this can easily be doen18:13
lisetteok, tk18:13
BartJolsorry for my bad typing18:13
lisettemmmm, i mean put time limit for answer the survey18:14
BartJolwell, that's something I should look into18:15
BartJolnot sure18:15
BartJolmmm I repeat myself18:16
BartJolare you in a hurry?18:16
lisetteno18:16
lisettewell more and less18:16
lisettei have to do this for end month18:17
BartJolah, ok18:17
BartJolwell, there has to be done something whithin the code probably18:17
lisetteI have to do before that date for tests, that day should be working perfectly18:18
BartJolor maybe the results can be processed by a macro, and if the time is too long, you just give them an error18:19
BartJoldo you program perl?18:19
BartJolI'm just learning it, so I would like to help you, but can't give you any guaranties18:20
BartJolit is for a non-commercial application, isn't it?18:20
BartJolotherwise my boss will slap me because I give away his time18:22
lisetteyes, i program in perl18:22
lisetteyes i can i have a macro18:22
BartJolooh, well then you just have to dig in, always nice, a learning experience :)18:23
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has left #webgui []18:23
BartJolwell I've gotta go, will see you again I think18:25
lisetteok18:27
-!- BartJol [n=plainstu@host2.procolix.com] has left #webgui []18:28
-!- steveo_aa [n=sno@adsl-76-234-133-88.dsl.sfldmi.sbcglobal.net] has quit ["Leaving."]18:30
-!- steveo_aa [n=sno@adsl-76-234-133-88.dsl.sfldmi.sbcglobal.net] has joined #webgui18:30
-!- steveo_aa [n=sno@adsl-76-234-133-88.dsl.sfldmi.sbcglobal.net] has left #webgui []18:30
-!- steveo_aa [n=sno@adsl-76-234-133-88.dsl.sfldmi.sbcglobal.net] has joined #webgui18:31
-!- perlDreamer [n=colink@pool-71-117-250-89.ptldor.fios.verizon.net] has joined #webgui18:33
-!- mode/#webgui [+v perlDreamer] by ChanServ18:33
+perlDreamerI feel like I'm wimping out by having an electrical project quoted by a contractor.18:36
-!- topsub [n=josh@97.66.185.250] has quit [Remote closed the connection]18:37
+snapcountthat's like saying you think you're wimping out because you don't want to wrestle the 6' shark you just found in your swimming pool =)18:38
+snapcountI say if it can shock you then contract it out... no sense in messing up your hair18:38
+perlDreamertrue, but there are wiring shocks, and wallet shocks :)18:39
+snapcountahh... well in that case find a kid in your neighborhood running a lemonade stand and give them a shot at making some good money... no one will miss them =P18:40
+snapcount10 cents a cup... I'll give you $50.00... all you have to do is...18:41
-!- topsub [n=topsub20@97.66.185.250] has joined #webgui18:42
lisettehi perlDreamer18:50
+perlDreamerGood morning, lisette18:51
lisetteperlDreamer: do you know how to do a macro to process the score of a survey in mode quiz?18:51
+perlDreamerI'm sure it can be done.18:55
lisettehow?18:58
lisettei found in table Survey_response18:59
lisettebut i don't found the score by user18:59
+perlDreamerlisette, the score is not stored in the database, but calculated based on how many questions were answered correctly19:02
+perlDreamerIn the Survey code, look for the string questions.correct.count and it will show you the score calculating code.19:02
lisettei need to know the total score by user (in % or other) by process and save in other database, Also need to put time limits for responding to, for example 1 day, or hour to the survey19:02
lisetteok19:02
lisettecual es la ruta para encontrar el survey.pm?19:07
-!- ryuu_ro [n=rory@c529ce350.cable.wanadoo.nl] has joined #webgui19:11
-!- ryuu_ro [n=rory@c529ce350.cable.wanadoo.nl] has quit [Client Quit]19:12
+perlDreamerlisette, no entiendo la palabra "ruta"19:13
lisettetree19:15
lisetteby folders19:15
lisettedireccion19:15
+perlDreamer/data/WebGUI/lib/WebGUI/Asset/Wobject/Survey.pm19:16
+perlDreamerfind /data/WebGUI -name 'Survey.pm' -print19:16
lisettelocate Survey19:17
lisetteand i don't found19:17
lisettebut, thanks, i search in this direction19:17
+perlDreameryou locatedb is probably out of date19:17
-!- topsub [n=topsub20@97.66.185.250] has quit []19:18
lisettemmm i do update yesterday19:19
lisetteand the question time, i can or not?19:19
+perlDreamerlisette, the Survey has lots of tables19:20
+perlDreamerquestionResponse is the response to a single question19:20
+perlDreamerresponse is the data for the whole survey19:20
+perlDreameryou'd have to look in there for time data19:20
lisettei look in Survey_response and i found starDate and endDate, but this time is to know when response the survey19:21
+perlDreamerright19:21
+perlDreamerthis isn't the time that you want?19:22
lisetteI need to put a time limit, ie a timer, and at that time respond to the survey, if not answered at that time be closed19:22
+perlDreamerhm19:23
+perlDreamerThat will involve modifying the Survey code itself.19:23
+perlDreamerHere is one way it could be done19:24
+perlDreamerThere are probably other, better ways19:24
+perlDreamerAdd a new field to the Asset called timeLimit19:24
+perlDreamerWhen a user answers a question, check the timeLimit against when the survey was started, or  last question answered19:24
+perlDreamerif the time limit was exceeded, then mark the survey as done in the db.19:25
-!- topsub [n=josh@97.66.185.250] has joined #webgui19:25
lisetteok, and If I change, the file is not lost when an update to make webgui?19:26
-!- zylopfa [n=zylopfa@port111.ds1-vby.adsl.cybercity.dk] has joined #webgui19:27
zylopfaGreetings, can anyone tell me if the calendar asset can be localized?19:28
+perlDreamerzylopfa, if it is in a template as bare text, yes19:28
zylopfaI am trying to make week/day month names in danish19:28
zylopfaIts not in bare text19:28
zylopfaThe weekday names and month name text is generated by Calendar.pm asset19:29
+perlDreamerzylopfa, is there a Danish translation for WebGUI?  Have you looked at i18n.webgui.org?19:29
+perlDreamerlisette, if you upgrade from a tar file, then yes, they'll be lost19:29
+perlDreameryou'll have to manage the code versions19:29
zylopfaperlDreamer, there is 0.9% of a translation and its for old module name hieracy19:31
lisettemmm, i can't build a macro for this?19:31
zylopfaFrom reading the Calendar.pm and the DateTime.pm it seems that it takes the choosen locale into consideration19:31
zylopfabut it still writes it in English19:31
zylopfaThe calendar chooser fields has been localized it seems19:32
+perlDreamerzylopfa, it could be a bug19:32
zylopfayeah i am trying to see where its gone wrong19:32
+perlDreamerlisette, I think the survey keeps state in the db, so you might be able to do it with a macro.19:32
+perlDreamerit's much easier to manage code with a macro19:32
lisetteyes, and to manage the time too?19:34
+perlDreamerlisette, I'd have to do a lot more research to see how the time would work with a macro.  I'm working on WebGUI's new commerce system right now, so I don't have lots of time for that kind of work at the moment.19:35
lisetteok19:37
lisettethanks19:37
+perlDreamerzylopfa, the locale is not being set in the datetime object when it is being created.  This is a definitely a bug.19:40
zylopfaahh awesome, from the Calendar.pm wobject i persume? or from the DateTime.pm?19:41
zylopfaahh you said it19:41
zylopfaperlDreamer, as far as i see the DateTime.pm gets the locale variables from the session object when called in Calendar. WebGUI::DateTime->new($session, $params->{start});pm as: 19:46
CIA-5WebGUI: colin * r6060 /branch/WebGUI_Commerce/lib/WebGUI/i18n/English/Asset_Product.pm: remove unused i18n tags19:54
CIA-5WebGUI: yung * r6061 /WebGUI/ (docs/changelog/7.x.x.txt lib/WebGUI/Asset/Wobject/Thingy.pm): fixed: Thingy: "add" and "edit" permission problem19:54
+perlDreamerzylopfa, (quickly because I must head to work), see the viewDay method.  It makes a DateTime object with some $params20:00
+perlDreamerbut $params may not have the locale in it20:00
+perlDreamerneeds more tracing20:00
zylopfaroger that friend, thanks a lot for helping me20:00
+perlDreamerbut I'd file a bug to let people that it's happening20:00
+perlDreamerand if you want to add patches to fix it, it would be greatly appreciated20:01
zylopfaI am making some logoutputs to check it out20:01
+perlDreamerbe back later20:01
-!- perlDreamer [n=colink@pool-71-117-250-89.ptldor.fios.verizon.net] has quit ["Leaving."]20:01
zylopfaawesome20:01
CIA-5WebGUI: colin * r6062 /branch/WebGUI_Commerce/lib/WebGUI/Asset/Sku/Product.pm: more wobject to sku conversion20:18
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui20:20
topsubanyone help me with database. What table in the database holds the content / description for an Article. i see the article table link to an storageId but i can't find the storage table.20:21
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has joined #webgui20:46
-!- mode/#webgui [+v MrHairgrease] by ChanServ20:46
* MrHairgrease is coming to the WUC!20:47
+MrHairgreasetickets are booked, no turning back...20:47
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui20:58
-!- mode/#webgui [+o preaction] by ChanServ20:58
zylopfaYess I found the error in the localization of Calender Asset21:02
@rizenwahoo!!!!!!21:09
@rizentopsub: assetData21:09
@rizenMrHairgrease: that wahoo was for you in case there was any dobut21:10
@rizendoubt21:10
+MrHairgreasei've become rather indifferent to your yahoos now that I found out you aren't the pope after all...21:11
+MrHairgreasethey kinda lost their shine =)21:11
+MrHairgreasebut it's nice to still be appreciated21:11
+MrHairgreaseeven if it's only by  mere mortals21:12
zylopfaI have found an error in DateTime21:14
zylopfathat breaks localization of the Calendar Asset21:15
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has joined #webgui21:33
-!- mode/#webgui [+v perlDreamer] by ChanServ21:33
+MrHairgreasezylopfa: post it as a bug report.21:34
+MrHairgreaseIf you have fixed the issue, please attach your patch21:34
zylopfayeah i did it just now21:34
+MrHairgreaseoh ok21:34
+MrHairgreasegreat =)21:34
zylopfabut i attached the whole WebGUI::DateTime.pm21:35
+MrHairgreasethat's prolly ok too21:35
zylopfaI dont know the mechanics of the patch command21:35
+perlDreamerzylopfa, use diff21:35
+MrHairgreasediff originalFile.pm newfFile.pm21:35
zylopfaGreetings perlDreamer 21:35
+perlDreamerI'm back :)21:35
zylopfaI fouind the error we spoke of21:35
+perlDreamerexcellent!21:35
zylopfait was in DateTime.pl21:35
zylopfaIt gets all the parameters but dont use the locale one21:36
zylopfain some instances21:36
+perlDreamergood debug work, make a patch with diff, attach it to the bug report and it should be fixed within the week21:38
SynQman21:39
GooeyOfSteelWiki: Installing WRE 0.8.3 - Edited on 4/7/2008 1:27 pm by topsub  http://www.webgui.org/community-wiki/installing-wre-0.8.321:39
zylopfaAwesome i will do it now21:39
perlmonkey2perlDreamer: what is your dev env?21:39
SynQI think I'm going to start a political party with JT as president21:39
+MrHairgrease# man synq21:39
+MrHairgreaseNo manual entry for synq21:39
SynQand then play election secrets21:40
SynQor something21:40
perlmonkey2SynQ: I'd think the point of that would be .gov contractual kickbacks.21:40
+MrHairgreasecampaign secrets21:40
SynQexactly21:40
perlmonkey2does everyone here dev in WRE?21:41
+MrHairgreasei so21:41
SynQbut I think the discussion about 7.6 and beyond is finally getting to an end21:41
+MrHairgreasedo21:41
+perlDreamerperlmonkey2: I use Fedora Cores 6 and 7, no WRE21:41
SynQI don't dev in WRE, I dev WRE21:41
+MrHairgreasei usually use the wre on a flavour of ubuntu21:41
perlmonkey2perlDreamer: what about JS dev?21:41
perlmonkey2SynQ: hah21:42
+MrHairgreasefirebug21:42
+perlDreamerperlmonkey2: um, I use vim :/21:42
+MrHairgreaseand vim of course21:42
+MrHairgreasehehe21:42
* perlDreamer is not JS compliant21:42
perlmonkey2MrHairgrease: perlDreamer: me too21:42
perlmonkey2hah21:42
+MrHairgreaseactually perldreamer is lying21:42
+perlDreameractually, perlDreamer is sitting21:42
+MrHairgreaseand is a member of the church of emacs21:42
+perlDreamerheretic!21:43
SynQI'm writing a buildCreateScript.pl21:43
perlmonkey2MrHairgrease: wre on ubuntu....I've never played with the wre dev helpers....you dig it over just a normal build?21:43
SynQthat builds build.sh21:43
SynQso that build.sh can be used to build WRE21:43
+MrHairgreasewhat i do is this21:43
perlmonkey2vim and firebug is all anyone needs for JS dev :P21:43
+MrHairgreaseinstall ubuntu21:43
zylopfaperlmonkey2, i use fedora core too21:43
+MrHairgreaseremove crap like apache2 and mysql 21:43
+MrHairgreaseuntar the wre21:43
+MrHairgreaserun setup21:43
+MrHairgreaselet it depoly a dev site for me21:44
+MrHairgreasei like to use ubuntu cause that is what i run on my laptop21:44
+MrHairgreaseso it's easy if the dev box has the same system21:44
+MrHairgreaseand their server distro is really good21:45
+MrHairgreaseand easy to setup secure21:45
perlmonkey2MrHairgrease: hmm....I think I could set that up on my lappy (I run Fedora).21:45
+MrHairgreaseit should just work if you disable apache and mysql21:46
+MrHairgreaseor better said: have ports 80, 81 and 3306 vacant21:46
perlmonkey2yeah, and I don't use that locally...I want to set up the *ultimate wG env* on my lappy so I don't have to have internet connection to work.21:46
+MrHairgreasei've also had the wre installed on my laptop21:47
+MrHairgreasevery easy21:47
+MrHairgreasesince all the wre stuff resides in /data it won't interfere with the distro you're running on21:47
perlmonkey2yeah, I've ran the wre before..extremely cool21:48
perlmonkey2and runs much faster than the defaults on a cent install.21:48
+MrHairgreaseyeah21:49
+MrHairgreasethe wre configures all servers for maximum webgui performance21:49
zylopfaperlDreamer, do one get points for fixing an error?21:50
zylopfaa bug even21:50
+perlDreamerzylopfa, filing a bug is 5 karma.21:50
-!- bopbop [n=kmccombs@71-82-214-154.dhcp.mdsn.wi.charter.com] has joined #webgui21:50
zylopfawhat about patching it also?21:50
+perlDreamerI'll suggest to the powers that be that you be bumped for applying a patch21:51
zylopfaawesome21:51
topsubthanks rizen!21:54
topsubmakes sence now21:54
topsubalmost have my double click to edit inline editor working21:54
zylopfaHow do other CMS' compare to Webgui? I choose WebGUI only cause it was made with perl21:54
topsubdouble clicko n an article and it brings up tinymce and you can edit it right there then save21:55
topsubmy idea anyway21:55
+perlDreamerit's easier to use some other CMS'es on cheap hosters because they're written in PHP21:55
zylopfayeah i guess21:55
zylopfaI never liked php cause the programming is intertwined with html/xml etc.21:55
perlmonkey2zylopfa: webgui is extremely powerful compared to other CMS's.  It has a powerful API which allows fast customization.21:56
+perlDreameryeah, I started using wG for the same reason as you (perl), and have never needed anything else21:56
+perlDreamer(except more time for programming fun stuff) 21:56
zylopfaAwesome to hear it21:56
zylopfahaha yeah21:56
zylopfaI have already made some good things like SMS forms (get sms when forms are posted)21:56
+perlDreamerThe IT department set up a plone website, it's nowhere near as easy to use (for users) as WebGUI21:56
zylopfaAwesome21:57
+perlDreamerzylopfa, if you're allowed to, those would make great things to put in the Add Ons part of wG.21:57
zylopfaYeah i will do that21:57
zylopfaI have started my own hosting/webdesign company cause of webgui so i will contribute21:58
+perlDreamervery cool.  We always need translators, too21:58
+perlDreamerThe Danish translation could use some polishing :)21:58
zylopfaI can translate it to Danish, as i am a danish company21:58
+perlDreamerand testers, people who write automatic tests for the core to find and prevent bugs21:59
zylopfaperlDreamer, the danish one is no where near finished and it use old module naming21:59
zylopfathen one on the site21:59
+perlDreamerI'd recomment starting with the i18n.webgui.org website for new translations22:00
+perlDreamerit gives you access to the subversion server for tracking changes in the i18n files22:01
+perlDreamerWe seem to have a race between the Spanish and Polish teams for translating right now22:01
zylopfaahh nice, i was at the site earlier and saw it only had very old versions of the danish translation22:01
zylopfaI am translating it bit by atm.22:02
+perlDreamerif there are newer versions that you want folded in22:02
+perlDreamerI think that can be done22:02
zylopfaawesome22:02
+perlDreameryou need a Plain Black staffer to help though22:02
+perlDreamerPost it as a bug22:03
zylopfaI also have some suggestions to Calendar Asses, in regards to internationalization22:03
+perlDreamerin general, lack of i18n is regarded as a bug, but right now22:03
zylopfasome of the labels arent translated so you need to change it in the template22:03
+perlDreamerwe're in the process of changing how i18n is done.   I'd still file it as a bug though, for now.22:03
zylopfait is i18n supported but in the transaltion there arent so many labels22:04
zylopfaif you know what i mean22:04
+perlDreamerright, the new way will be not to provide template variables for i18n, but to allow people to make i18n calls through a macro22:04
+perlDreamerit's faster and uses less memory that way22:04
zylopfaahh nice22:04
topsubi think i am missing something in assetData the desicripition isn't stored here is it ( for an article )? i see synopsis but thats it22:22
+perlDreamerdescription is stored in the wobject table22:23
topsubawesome thanks perlDreamer22:27
topsubstill learning this database22:27
+perlDreamerit's spread through several layers, like MrHairgrease was talking about last week22:27
+perlDreamerasset, assetData, (maybe wobject) and then Asset specific (Article, etc.)22:27
topsubyes joining 4 tables to get all the data for article i believe22:28
+perlDreamerthere's a convenience method to do that for you22:28
+perlDreamerin Asset.pm22:28
topsubi will look at that. Not sure how i am going to do this update script but just wanted find out were everything is stored22:28
+perlDreamerassetDbProperties22:29
+MrHairgreasehey tobsub, not sure what you're doing exactly22:29
+MrHairgreasebut if you already have an instance of your article handy22:29
topsubprototyping my idea22:29
+MrHairgreasejust use the get method for property retrieval22:29
+MrHairgreasebasically to get the description of a wobject22:30
+MrHairgreaseyou do something like this:22:30
+MrHairgrease$desc = WebGUI::Asset->newByDynamicClass( $session, $assetId)->get('description')22:30
+MrHairgreasethat works for all of the asset properties22:31
topsubthats handy22:31
+MrHairgreaseif you only have a url you can use the newByUrl method22:31
+MrHairgreaseand ther are more22:31
+MrHairgreaseread through the POD in the Asset*.pm files in lib/WebGUI22:32
topsubwill do.22:32
topsubthanks Mrhairgrease!22:32
+MrHairgreaseif you are doing stuff with assets you almost never need to do queries against their tables22:32
+MrHairgreasealways use tha api22:33
+MrHairgreasein that case stuff keeps working when the db schema is changed22:33
+MrHairgreaseand it prevents you from borking your db22:33
+perlDreamerand with the 5-year API freeze, you can be safe that it won't change out from underneath you, too22:33
+MrHairgreaseaccidentaly borking that is22:33
+perlDreamerMrHairgrease, are you still working on the world's first WebGUI virus?22:34
+MrHairgreasei didn't know i was working at that at all22:34
+MrHairgreaseyou need to refresh my memory22:34
+MrHairgreaseI am considering an xteddy macro to accompany the xeyes macro22:35
+perlDreamerit hid its data in the WebGUI assetIds, and compiled its own dynamic Spectre workflow to propagate to other servers and sites22:35
+MrHairgreaseI'm pretty sure that's not my idea22:36
+MrHairgreasethough I wish it was22:36
+MrHairgreaseit's awesome22:36
+MrHairgreaseI guess JT came up with that22:36
-!- estiven [n=estiven@201.232.58.66] has joined #webgui22:36
+perlDreamerfinally, once it infected PB.com, it would simultaneously infect all sites via checkMethod22:37
+perlDreamernot checkMethod, $cache->setByHttp22:38
+MrHairgreasethat create quite a botnet22:38
+MrHairgreasenot the shear number22:38
+MrHairgreasebut the amount of bandwidth22:38
+perlDreameryes22:38
perlmonkey2with that you could hold the world ransom for one meeeeeleon dollhairs!22:41
+perlDreamerI thought the clever part was using MD5 hash collisions as a way of encoding the virus right into the db.22:41
+MrHairgreaseok, now I' absolutely sure this is not my brainchild22:42
+MrHairgreaseI think I would've at least _some_ recollection of this if it were22:43
+perlDreameryou were pretty hungover that day22:43
+MrHairgreaseyou are scerwing with mind22:44
+MrHairgreasestop doing that22:44
+MrHairgrease=)22:44
+MrHairgreaseI'm 99.999999999% convinced I have never heard of that thing before22:44
+MrHairgreaseevr22:44
+MrHairgreaseever*22:44
+perlDreamerwhatever you say22:45
topsublol22:46
+MrHairgreaseOne of the reasons being that I just got to learn that $cache->setByHttp actually existed.22:46
+perlDreamerhere's a reminder22:46
+MrHairgreaseAnd that I remember stuff I do when I'm hung over22:47
+perlDreamerit was summer of 2007, I had just finished one of my SHA chips22:47
+perlDreamerand we were talking about cryptography22:47
+MrHairgreasethe forget part actually causes hangovers22:47
+perlDreameryou pointed out that assetId's were MD5 hashes, so multiple collisions would exist for each one22:47
+perlDreamergiven the lossy nature of crypto hashes22:47
+MrHairgreaseThat was something about the columns not being set to binary 22:48
+MrHairgreasewhich makes them case insensitive22:48
+perlDreamergiven all the regular asset data, you can create the original assetId, and then by indexing the collisions you can store data in a side channel that doesn't affect the main operation of the system22:49
+MrHairgreaseokay pd, where was this conversation happening22:52
+MrHairgreasehere on the channel?22:52
+perlDreameryes22:52
+perlDreamerbut it may have been when xdanger was away22:52
+perlDreamergo check it out22:52
+MrHairgreaseI'm doing that22:52
+MrHairgreasegrepping on md5 doesn't reveal anything22:53
+MrHairgreasesame for virus22:53
+perlDreamermaybe you PM'ed me22:53
+perlDreameror maybe I'm pulling your leg :)22:53
+MrHairgreasebetter look over your shoulder all time when you are in Madison pd22:54
+MrHairgrease=)22:54
+perlDreamer"only a fool wages a land battle with the Russians, or teases the Dutch!"22:54
@preactionbut since you are not a great fool, i clearly cannot drink the wine in front of you!22:55
+perlDreamerI do not think that word means what you think it means22:55
+perlDreamerTry going back to the beginning22:56
GooeyOfSteelWiki: MySQL Administration - Created on 4/7/2008 2:44 pm by knowmad  http://www.webgui.org/community-wiki/mysql-administration22:56
@preactionnever go against a WebGUI hacker when the web is on the line!22:58
@preactionhm.. that could've used a few rewrites..22:58
* preaction fires his writers22:58
+perlDreamerisn't there a web framework contest where everybody tries to implement new features in their favorite framework?23:04
@preactiondunno23:06
perlmonkey2survey question....for multiple choice I'm using YUI push buttons.  But somtimes a multiple choice can allow multiple selections.  So my problem is what happens when they select more than the allowed amount?  I can't know which button to uncheck so that the new button can be checked.  But I'm thinking an alert message might be distracting.  23:11
+perlDreamerhow about locking out select when max allowable is reached?23:12
perlmonkey2but the user needs some sort of warning that they can change their selction,but but first needs to chose a button to unselect.23:12
perlmonkey2it is not very intuative, because normal radio buttons just remove the previous selected button and select the new one.23:13
+perlDreamerbut that's only with 1 selection possible23:13
@preactioni'd say a JS alert, or perhaps a YUI tooltip?23:15
perlmonkey2hmm...maybe each quesiton should have a message div under it that is used for situations like this....23:15
+MrHairgreasewhat about showing a status line telling the user how much options he has left23:15
@preactionoooh, i like martin's idea23:15
perlmonkey2ah, MrHairgrease I like that23:15
+MrHairgreasesince the line is always there23:15
+MrHairgreaseit isn't distracting23:15
perlmonkey2yeah, preaction I think with the status line a js alert isn't so annoying.23:16
SynQit's not easy to be the opponent of a PlainBlack staff member23:16
SynQbut I cannot help myself23:16
+MrHairgreaseyou could color it red when a user has spent his options23:16
+perlDreamerSynQ: maybe you're a contrarian23:16
perlmonkey2MrHairgrease: lets not get crazy now :P  for now we'll just use a counter :)23:16
SynQmaybe23:16
+MrHairgreasesure23:17
SynQperlDreamer: perhaps I am just a lost soul23:17
+MrHairgreasepd: synq  is just being Koen23:17
+MrHairgreasehe can't help it23:17
+MrHairgrease=)23:17
perlmonkey2MrHairgrease++ for the counter idea.23:17
SynQtsk23:17
@preactionif someone sticks their neck out, can you be blamed for biting it off?23:17
SynQpreaction: true23:17
SynQit's just that the bleeding hurts so much23:18
SynQall I want is to be accepted23:18
SynQand loved ofcourse23:18
SynQ:)23:18
@preactionoh, i thought you were lamenting biting one of the PB staff's necks23:18
SynQhell no23:19
SynQI wouldn't be able to bite trough it23:19
+perlDreamerSynQ: Of this I am sure, your heart is in the right place.23:21
SynQI hold it in my hand23:21
SynQwould you like to have it?23:21
+perlDreamerTessa would be jealous23:21
SynQI bet she would even share it23:22
SynQwho thought of LIFT?23:26
SynQpreaction: did you see this: http://www.plainblack.com/webgui/dev/discuss/lift-upgrade-system23:26
@preactionyeah, i've been meaning to reply23:27
SynQah23:27
SynQplease do :)23:27
@preactionthe idea was, unfortunately, mine23:27
SynQI pitty you too23:27
@preactionit's one of those "theoretically this SHOULD work" sort of things23:27
SynQah23:27
@preactionthat usually end up destroying a small fraction of whatever solar system they're deployed in23:27
@preactionone of those "famous last words" things23:28
@preaction"Well, this should work!" *slurp*23:28
+perlDreamer"all you have to do is..."23:28
* preaction inverts the space-time continuum23:28
SynQI'm still contemplating on how to reply23:28
SynQthat list sounds like 'this is an apt makeover'23:28
-!- topsub [n=josh@97.66.185.250] has quit [Read error: 110 (Connection timed out)]23:29
@preactionSynQ, the shortest description i can give it is patch-/diff-based release manager23:30
+perlDreamerSynQ: Here's a crazy idea.  Use apt to do all the work for you.23:31
SynQperlDreamer: that is not a bad idea, but it isn't easy to implement at all23:32
+perlDreamerI was just thinking that we're reinventing the wheel23:33
@preactionbut we're building a better mousetrap23:33
@preactionpick your tagline23:33
+perlDreamersomething like emerge, or whatever BSD uses would be very similar to this23:33
@preactionthe ports system? not quite23:33
@preactionbasically: a software update is a patch that's applied to your existing codebase. most existing packaging systems don't care what's inside the package23:34
@preactionso instead of downloading an entire new webgui release, you download only what's changed23:34
+perlDreamerversion control, where only the released versions are tracked?23:34
@preactionthe problem was that we had "stop versions" that you had to upgrade to before you could upgrade past, Lift solves that problem23:35
GooeyOfSteelWiki: Configuring SSL for WRE - Edited on 4/7/2008 3:23 pm by knowmad  http://www.webgui.org/community-wiki/configuring-ssl-for-wre23:35
@preactionlift applies the patches to the version, runs the upgrade executables, and then moves on to the next upgrade23:35
@preactionit's the difference between driving on the highway and crashing because you didn't see the stop-light (you were moving too fast) and riding in a cab downtown23:36
@preactionlift hits every stop and runs every script23:36
SynQah23:37
SynQpreaction: you should reply that 'the problem was that we had "stop versions" that you had to upgrade to before you could upgrade past, Lift solves that problem'23:37
--- Day changed Tue Apr 08 2008
-!- zylopfa [n=zylopfa@port111.ds1-vby.adsl.cybercity.dk] has quit ["Leaving"]00:19
-!- bopbop [n=kmccombs@71-82-214-154.dhcp.mdsn.wi.charter.com] has quit []00:35
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit ["Exit- stage left"]00:40
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has left #webgui []01:03
-!- estiven [n=estiven@201.232.58.66] has quit [Read error: 110 (Connection timed out)]01:29
-!- estiven [n=estiven@201.232.58.66] has joined #webgui01:30
-!- lisette [n=liraos@201.232.58.66] has left #webgui []01:46
@preactionLightweight Integrator of Future Technology01:59
@preactioni kill me02:00
+perlDreamerLuxembourg International Football Team02:00
+perlDreamerLargely Ignored Feature Testers02:08
+perlDreamerLoose Intestinal Flatulance Tomographer02:11
+perlDreamer(something tells me I'm not going to win the backronym contest at this rate)02:11
@apeironLudicrously and Intravenously Flexible Transpirings02:15
+perlDreamerLaborious and Intravenous Feeding Tubes02:22
+perlDreamerLatex Intravenous Feeding Tubes02:25
+perlDreamerLivin' In The Flow02:26
@apeironLaTeX Instigates Functional .... something02:27
+perlDreamerTemplating02:27
@apeironnice.02:27
+perlDreamercrythias, diakopter/pbmdawg and I use to do that kind of stuff a lot together02:27
+perlDreamerhelp pass the time02:27
+perlDreamerLaTeX Is For Texties02:34
+perlDreamerLIFT isn't foobar, toots02:35
+perlDreamerthere you go02:36
+perlDreamerRecursive backronym02:36
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has quit ["Download Gaim: http://gaim.sourceforge.net/"]02:41
CIA-5WebGUI: colin * r6063 /branch/WebGUI_Commerce/lib/WebGUI/Asset/Sku/Product.pm: reindent some stuff ala WBGP02:47
-!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui02:59
-!- mode/#webgui [+v Radix-wrk] by ChanServ02:59
-!- patspam [i=patspam@ppp121-44-233-212.lns2.mel4.internode.on.net] has joined #webgui03:28
-!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has joined #webgui04:30
-!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has quit [Remote closed the connection]05:33
perlmonkey210pm and I'm finally getting questions to appear on screen.06:02
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [Read error: 113 (No route to host)]06:28
-!- [1]patspam [i=patspam@ppp59-167-94-154.lns2.mel6.internode.on.net] has joined #webgui07:27
-!- [2]patspam [i=patspam@ppp59-167-79-252.lns1.mel6.internode.on.net] has joined #webgui07:28
-!- patspam [i=patspam@ppp121-44-233-212.lns2.mel4.internode.on.net] has quit [Read error: 110 (Connection timed out)]07:46
-!- [2]patspam is now known as patspam07:46
-!- [1]patspam [i=patspam@ppp59-167-94-154.lns2.mel6.internode.on.net] has quit [Read error: 110 (Connection timed out)]07:48
-!- ryuu_ro [n=rory@194.171.50.69] has joined #webgui08:55
-!- patspam [i=patspam@ppp59-167-79-252.lns1.mel6.internode.on.net] has quit [" HydraIRC -> http://www.hydrairc.com <- Go on, try it!"]09:14
-!- SynQ [n=koen@e97024.upc-e.chello.nl] has quit [Read error: 110 (Connection timed out)]09:14
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui09:21
-!- snapcount [n=royjohns@andc-fw1.exploreos.com] has quit [Read error: 110 (Connection timed out)]10:20
-!- Radix-wrk [n=Jesse@203.161.68.67] has quit ["Leaving"]10:48
-!- snapcount [n=royjohns@andc-fw1.exploreos.com] has joined #webgui10:49
-!- mode/#webgui [+v snapcount] by ChanServ10:49
-!- zylopfa [n=zylopfa@port111.ds1-vby.adsl.cybercity.dk] has joined #webgui11:39
-!- BartJol [n=plainstu@host2.procolix.com] has joined #webgui11:40
-!- snapcount [n=royjohns@andc-fw1.exploreos.com] has quit [Read error: 104 (Connection reset by peer)]13:06
-!- snapcount [n=royjohns@andc-fw1.exploreos.com] has joined #webgui13:12
-!- mode/#webgui [+v snapcount] by ChanServ13:12
-!- snapcount [n=royjohns@andc-fw1.exploreos.com] has quit [Read error: 104 (Connection reset by peer)]13:31
-!- snapcount [n=royjohns@andc-fw1.exploreos.com] has joined #webgui13:32
-!- mode/#webgui [+v snapcount] by ChanServ13:32
-!- snapcount [n=royjohns@andc-fw1.exploreos.com] has quit [Read error: 110 (Connection timed out)]14:24
-!- snapcount [n=royjohns@andc-fw1.exploreos.com] has joined #webgui14:37
-!- mode/#webgui [+v snapcount] by ChanServ14:37
-!- snapcount [n=royjohns@andc-fw1.exploreos.com] has quit []15:01
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui15:41
BartJolafternoon15:47
zylopfaGood afternoon15:50
-!- topsub [n=josh@97.66.185.250] has joined #webgui16:06
-!- crythias [n=gyoung@fl-69-68-148-96.sta.embarqhsd.net] has joined #webgui16:35
-!- mode/#webgui [+v crythias] by ChanServ16:35
-!- crythias [n=gyoung@fl-69-68-148-96.sta.embarqhsd.net] has left #webgui []16:35
-!- ckotil [n=newtrino@snare.grnoc.iu.edu] has joined #webgui16:42
ckotiltoday is a truly epic day. the nav asset is sorting alphabetically. mostly.16:42
BartJolwhoa, nice16:43
BartJolis there also a sticky option?16:43
ckotilyes.16:44
ckotilwhat i have done is put the option to sort in the parent asset. the option is to sort the childern.16:44
BartJolsounds like this has been thought trough16:44
ckotileh, not too thouroughly16:44
ckotilmy users wanted this functionality.16:45
BartJolso the rank gets adjusted? or is it only on creating the nav object?16:45
ckotilim not adjusting ranks. im manipulating the nav object16:45
BartJol:)16:45
BartJolok16:45
ckotili had thought about making a workflow that reordered rank16:45
BartJolwell, that might not always be preferable, but no one has to use the workflow off course16:46
ckotilthis method might be too slow tho.16:46
BartJolprobably takes some db time and maybe the lineage can get disordered16:47
ckotilare there metrics that can be enable in system settings to measure the loading time?16:47
BartJolalthough that shouldn't happen16:47
BartJolwell, maybe awstats has a functionality like that, but I'm not sure of that16:48
-!- Haarg [n=haarg@66-168-19-128.dhcp.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"]16:48
BartJolwere you at the wuc last year?16:49
ckotilnope.16:49
BartJolwill you this year?16:49
ckotili kinda doubt it.16:49
BartJoltoo bad, this year there are 12 dutch people!16:50
ckotilbut i still might try.16:50
ckotilnice.16:50
BartJoland we're always fun :)16:50
ckotilim only ~ 8 hrs away.16:50
BartJolwell, then you should be able to come16:51
ckotili know. i just need to bring it up with my manager.16:51
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit []17:08
-!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui17:11
-!- mode/#webgui [+o Haarg] by ChanServ17:11
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui17:22
-!- mode/#webgui [+o rizen] by ChanServ17:22
-!- ryuu_ro [n=rory@194.171.50.69] has quit []17:34
CIA-5WebGUI: graham * r6064 /WebGUI/docs/upgrades/upgrade_7.5.5-7.5.6.pl: fix charset upgrade script17:35
CIA-5WebGUI: graham * r6065 /WebGUI/ (docs/changelog/7.x.x.txt lib/WebGUI/Form/Email.pm): fixed: EMail field rejects some valid email addresses17:35
CIA-5WebGUI: graham * r6066 /WebGUI/ (docs/changelog/7.x.x.txt lib/WebGUI/DateTime.pm): fixed: Calendar date localization can be broken17:35
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has left #webgui []17:55
-!- topsub [n=josh@97.66.185.250] has quit [Remote closed the connection]18:06
@rizenyo mama18:13
CIA-5WebGUI: graham * r6067 /branch/WebGUI_7.4/ (4 files in 4 dirs): preparing for 7.4.32 dev18:18
CIA-5WebGUI: graham * r6068 /branch/WebGUI_7.4/ (lib/WebGUI/Asset/Wobject/Survey.pm docs/changelog/7.x.x.txt): fixed: unable to respond to poll multiple times in same session18:18
CIA-5WebGUI: graham * r6069 /branch/WebGUI_7.4/ (docs/changelog/7.x.x.txt lib/WebGUI/Storage.pm): fixed: packages try to restore owner18:18
CIA-5WebGUI: graham * r6070 /branch/WebGUI_7.4/ (lib/WebGUI/Form/Email.pm docs/changelog/7.x.x.txt): fixed: EMail field rejects some valid email addresses18:18
CIA-5WebGUI: graham * r6071 /branch/WebGUI_7.4/ (docs/changelog/7.x.x.txt lib/WebGUI/DateTime.pm): fixed: Calendar date localization can be broken18:18
CIA-5WebGUI: graham * r6072 /branch/WebGUI_7.4/docs/create.sql: preparing for 7.4.32 release18:18
CIA-5WebGUI: jt * r6073 /releases/WebGUI_7.4.32-stable: Release 7.4.32-stable18:18
GooeyOfSteelWiki: Customizing WRE Configuration - Edited on 4/8/2008 10:13 am by knowmad  http://www.webgui.org/community-wiki/customizing-wre-configuration18:26
-!- BartJol [n=plainstu@host2.procolix.com] has left #webgui []18:30
CIA-5WebGUI: graham * r6074 /branch/WebGUI_7.4/ (4 files in 4 dirs): preparing for 7.4.33 dev18:35
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has joined #webgui18:44
-!- mode/#webgui [+v perlDreamer] by ChanServ18:44
-!- topsub [n=josh@97.66.185.250] has joined #webgui19:09
+perlDreamermorning, topsub19:09
topsubhello!19:09
topsubWhat are you up to perlDreamer?19:15
+perlDreamerreading design documentation19:16
+perlDreamersigh19:16
topsublol19:16
topsubthink most of us here have to read that stuff19:16
+perlDreamerYeah, it's just that they're trying to convince me that using Word for documentation is a _good_ thing.19:17
topsublol19:17
topsubi am about to finish up writing this PDF file import script that also querys a database to pull additon information after building a huge hash..19:18
topsubthis is for webgui of course19:18
+perlDreamercool19:18
-!- khenn [n=khenn@24-159-239-186.dhcp.mdsn.wi.charter.com] has joined #WebGUI19:25
-!- mode/#webgui [+o khenn] by ChanServ19:25
-!- khenn [n=khenn@24-159-239-186.dhcp.mdsn.wi.charter.com] has left #WebGUI []19:25
-!- knowmad [n=william@97.66.185.250] has joined #webgui19:31
knowmadis there a way to remove a suspended workflow?19:31
topsubI would like to add metadataproperties on the fly from a script. can this be done from the addChild function?19:32
-!- knowmad is now known as wknowmad19:34
-!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI19:41
elninoGood morning! I see several things coming down the pike from marketing dept, and I am ready to run away in fear. Hoping sombody here may have an idea on how I can implement this.19:42
@rizenknowmad: no...because you're supposed to fix the problem19:42
CIA-5WebGUI: yung * r6075 /WebGUI/ (3 files in 3 dirs): fixed: Thingy: field sequence not imported correctly for existing Thingies19:47
elninoour marketing has hired a SEO consultant and is asking for things:  alt text for navigation assets and alt text for links used in collaboration assets. Ideas how I can implement these? or are these RFEs?19:49
topsubelnino. can you not just alter the nav template to have alt text for links?19:50
elninois there a custom field I can use? I don't know where one would enter the alt text. I realize I could use the menu or page title, but these alt texts are different than the page title or menu title. hopefully that makes sense?19:51
@rizensynopsis19:52
topsubthen place teh synopsis template variable in the alt tags?19:52
@preactionis metadata available to navigations? if not, that might be a good idea19:55
elninorizin: ok. I'll look into that. It looks like I'll have to provide two new fields for the CS templates we're using.19:56
elninopreaction: I don't know if that would help, at least in my case it wouldn't. I need alt tags for each link found in the nav asset. If the nav asset had it's own meta, then each link's alt would be the same. If I understand where you are going with that...19:57
elninooh. And nav assets do have metadata. Just looked. =)19:57
@preactioneach link could have its metadata used19:57
@preactionthat's the metadata i meant. the metadata of the assets being reported by the navigation19:57
elninoyep, and if each link had the same metasynopsis, that wouldn't help me.  the SEO consult wants each link to have it's own, when then would have to pull from the page itself. 19:58
elninoAny way, my question is answered. Thanks for the help!19:58
wknowmadrizen: removing the workflow *would* fix my problem ;)20:03
-!- wknowmad is now known as knowmad20:03
elninoOK SEVER WEIRDNESS. 20:12
elninoThere is an article that is currently locked by a user. If I go undert he version tag, I see the changes, if I view some other version tag, I don't see the changes. Here's the weirdness:20:13
elninoI logout and use a different browser, clear cache, nd I see the change in that article!20:13
elninor/SEVER/SEVERE20:13
elninoanyone experience that? THis is an article assets I see this on.20:14
elninowe've been using this system for a year now, I never seen this before. we're using 7.4.26.20:15
elninois there anything I can look at in the db to see if there is some corruption?20:16
-!- bopbop [n=kmccombs@71-82-214-154.dhcp.mdsn.wi.charter.com] has joined #webgui20:20
elninothere are no errors in the log file regarding this weirdness20:21
zylopfaIs it the cache ?20:37
zylopfaYou can set the cache time on many assets20:38
+perlDreamerelnino, re your navigation question, read the help files for the navigation asset to see the list of variables.  More than everything you want is in there already20:38
zylopfaperlDreamer, My patch got taken in!20:40
+perlDreamergot job, man!20:40
+perlDreamergood job :)20:40
zylopfaThe one "DateTime.pm not using locale info from Calendar.pm asset "20:40
zylopfaTHanks a lot20:40
+perlDreamerYou're welcome.  Sorry about not telling you about diff -u.20:43
+perlDreamerI use SVN for all my WebGUI development, and "svn diff" always gives me a good patch :)20:43
topsubWhat is the best way to add metadata Property from a script? Will i need to create custom sql to add it? Not finding api on adding metadata to the system from a script20:45
+perlDreamertopsub, in WebGUI 7.5, try looking in the t directory20:45
zylopfaAhh, its no problem at all perlDreamer we learn everyday20:45
+perlDreamert/Asset/*.t20:45
topsubi see updateMetaData 20:46
-!- dionak [n=diona@97.66.185.250] has joined #webgui20:46
+perlDreamertopsub, metadata API is in /data/WebGUI/lib/WebGUI/AssetMetaData.pm20:46
+perlDreamer"Updates the value of a metadata field for this asset."20:47
-!- zylopfa [n=zylopfa@port111.ds1-vby.adsl.cybercity.dk] has quit ["Leaving"]20:47
+perlDreamernote that meta data fields have to be created before assets have use them to attach metadata to themselves20:47
topsubokay wow i am blind20:49
topsubthanks!20:49
+perlDreamerno20:49
+perlDreamernp20:49
@rizenestiven what is the name of your company20:57
+perlDreamerIncredible!  The Spanish have overtaken the Polish!21:01
+perlDreamerbut it's still a close race.  One wonders if the BrazilianPortuguese team is sweating.21:01
perlmonkey2anyone read up on the Google App Engine?  21:05
+perlDreamerJust headlines21:06
+perlDreameryou?21:06
perlmonkey2pondering if someone could build a CMS on it.21:06
perlmonkey2I mean, of course they could, but would it be popular?21:06
-!- dionak [n=diona@97.66.185.250] has quit []21:06
+perlDreamera CMS like.... WebGUI?21:06
perlmonkey2that would be a lot of work and you'd have exactly one choice for hosting.21:07
perlmonkey2really just pondering if it will cut into the CMS market.21:07
+perlDreamerReally?  I bet if you can buy a google box for local searching, then local apps shouldn't be too far behind.21:07
* perlDreamer gets an alert. Gym Time.21:07
* perlmonkey2 would hit the snooze on that alert.21:08
* perlDreamer would pay a penalty fee for not showing up for an appointment21:08
+perlDreamerand have to do 100 penalty push-ups to boot21:08
+perlDreamerbbl21:08
perlmonkey2later21:15
perlmonkey2hah...penalty push ups?  his gym must be located on a marine base.21:15
perlmonkey2perlDreamer is in the army now.21:15
perlmonkey2He'll never get rich, by digg'n a ditch, perlDreamer's in the army now.21:16
nubaperlDreamer: BrazilianPortuguese team is sweating on other non-webgui projects, unfortunately21:21
perlmonkey2bah, I predict Google App Engine will develop a niche, but is not a wide paradigm shift.21:21
-!- dionak [n=diona@97.66.185.250] has joined #webgui21:33
nubaperlmonkey2: well its some type of paradigm shift, one of convergence, when you have a mail/groupware/cms/im/whatever all integrated and talking seamless to each other21:33
nubais not like "have this auth server here and this app here, that app there"21:34
nubaa "nicely integrated bundle of tools for your online life" is a great thing to me21:35
-!- snapcount [n=royjohns@andc-fw1.exploreos.com] has joined #webgui21:58
-!- mode/#webgui [+v snapcount] by ChanServ21:59
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit []22:01
-!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has quit ["Leaving"]22:08
CIA-5WebGUI: jt * r6076 /branch/WebGUI_Commerce/lib/WebGUI/ (5 files in 3 dirs): fixed several checkout bugs22:18
+perlDreamernuba, as long as you're avoiding that Dengue stuff floating around down there, I'm not too worried.22:24
+perlDreamerafter all, nuba's are much more valuable then WebGUI translations22:25
-!- bopbop [n=kmccombs@71-82-214-154.dhcp.mdsn.wi.charter.com] has quit []22:36
-!- estiven [n=estiven@201.232.58.66] has quit [Read error: 113 (No route to host)]22:53
-!- estiven [n=estiven@201.232.58.66] has joined #webgui23:01
-!- estiven [n=estiven@201.232.58.66] has left #webgui []23:02
-!- topsub [n=josh@97.66.185.250] has quit [Remote closed the connection]23:03
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui23:47
-!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has joined #webgui23:55
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit ["Exit- stage left"]23:57
--- Day changed Wed Apr 09 2008
+perlDreamerwhere's that MrHairgrease when you need him?00:10
nubaperlDreamer: yeah, no kidding, this Dengue outbreak here in rio is scary00:25
+perlDreameris it contained, nuba, or is it still spreading?00:26
nubaperlDreamer: not contained, the current administration left the issue unnatended for too long00:26
+perlDreamerbe careful, nuba00:27
nubaso with the start of the rains the mosquitoes (dengue's vector, aedes) soon became a problem00:27
nubawell on the other hand theres not much one can do besides using tonnes of insect-repelant lotions and whatever00:28
nubaat home we're getting heavy on carrots and B-complex vitamins, things that make your skin smell unpleasant to insects00:28
@preactionwhat about DDT?00:29
nubaand that, and random other things00:29
+perlDreamerso you're basically stuck with sitting it out and waiting (with some minor preventative options)?00:30
nubaideally, for me, the good and safe thing to do would be to relocate to some good town, high enough in the mountains to have no mosquitoes around00:31
+perlDreamerwill your job let you do that?00:31
nubawe could but Im stuck here until I get my CS degree00:32
nubamy wife works at one of the biggest companies in brazil,00:32
nubaso we can relocate anywhere here and some other places without her losing her job00:33
nubaand for me, I mostly telecommute00:33
nubawhats grounding me here is just college00:33
+perlDreamerhow much longer do you have?00:34
nubaand I just went thru the pain of transferring from a countryside college not long ago, and we're just barely getting familiar with rio now, so there would be a great lack of motivation re: relocating again right now00:34
nubai should be done by early 201000:35
+perlDreamerYeah, moving is a pain00:35
nubawell last time we moved we needed less than a year to finish with all the boxes00:36
nubaso we're getting good at it00:36
+perlDreamerJust slap anything that whines and sucks blood00:40
+perlDreamerLike in-laws :)00:40
nubaheh00:44
@apeironI'm writing some tests for wG code that opens a new session as a different user.00:48
@apeironIt's using wG::Test. I can do ->user with the wG::Test session without a problem.00:48
@apeironThe wG code needs to open a new session as a different user to get the lineage of an asset from that user's perspective.00:49
@apeironThis, however, is causing the test to blow up like so:Can't store CODE items at ../../lib/Storable.pm (autosplit into ../../lib/auto/Storable/_store.al) line 215, at /data/WebGUI/sbin/../lib/WebGUI/Cache/FileCache.pm line 25600:49
@apeironCan I use the whereClause option to getLineage to do the filtering instead?00:50
+perlDreamerapeiron, afaik, you can stick any valid SQL in getLineage.00:52
+perlDreamerbut I don't know that the userId would help you very much00:52
@apeironperlDreamer, Take a look at WebGUI/AssetExportHtml.pm sub _exportAsHtml00:52
+perlDreamerIn 7.5 branch?00:52
@apeironYeah.00:52
@apeironperlDreamer, Search for tempSession.00:53
@apeironIt's pretty gnarly code, which is why I'm redoing it.00:53
+perlDreamer...updating...00:53
@apeironOh, it hasn't been changd in a while.00:53
@apeironI'm committing my work when it's finished rather than leaving something half-working in HEAD.00:53
+perlDreamerwhere is it hitting the cache?00:55
@apeironIn my rewrite, if I take out this line: $tempSession->user({userId=>$userId}); , then the code lives.00:56
@apeironhttp://webgui.pastebin.com/m2c4f9765 is a pastebin of that sub.00:57
@apeironIf I comment out line 17, the test lives, but of course they fail because I'm testing against the lineage as seen by userId 1 instead of userId 3.00:58
+perlDreamerright00:58
@apeironI guess the basic question I'm asking is this: can I use a SQL where clause for getLineage to do the same thing?01:00
@apeironAs far as I understand the group system, you can have groups of groups, and a simple single group check won't recurse.01:00
+perlDreamerIt won't01:00
+perlDreamerbut here's the thing01:00
+perlDreamerif you don't create assets, I don't think getLineage cares about the userId in Session01:01
+perlDreamerit shouldn't matter until you call view, which will do a canView check01:01
+perlDreamerbut that bypasses what you're seeing, and I'd rather understand it in case we see it again01:01
+perlDreamerWe need to find out where WebGUI::Cache is being called to understand that.01:02
@preactionsince you're running under test, why not use the perl debugger to figure out why?01:02
@preactioni'd be more interested in finding out why CODE items are trying to be stored in the cache01:02
@apeironhrm01:03
+perlDreamerpreaction: I'm debugger ignorant as well as SQL ignorant, HTTP ignorant and JS ignorant01:03
+perlDreamerCODE items are being stored in the cache from the Session, probably.01:03
@preactionperlDreamer, perldoc perldebug, it's not too hard: c and n for movement, x <code> allows you to execute code at the current place01:03
@preactioni was thinking User object, since if he takes the user object out it gets better01:03
@apeironperldoc perldebtut is probably a gentler intro :)01:04
@preactionit's quite the awesome tool for debugging01:04
@apeironServes as a minimalist REPL too.01:04
+perlDreamerapeiron, I see the bug01:05
@apeironperlDreamer, Ah?01:05
@apeironWas just going to step through the debugger.01:05
+perlDreamer$userId isn't a userId, it's an WebGUI::User object01:06
@apeironoh blah01:06
+perlDreamertry $userId->userId, or better yet, rename $userId to $user for variable clarity01:06
@apeironduh.01:06
@apeironExcuse me while I dekarma myself in another channel.01:06
+perlDreamerIf it wasn't for the exception, I would never have found it01:07
@apeironyay exception handling!01:07
+perlDreamerapeiron++ for exception handling01:07
@apeironperlDreamer, rizen++ actually, it was his idea.01:07
+perlDreamerbrb01:09
@apeironSorry for the noise, gents. 01:10
+perlDreamernot a problem, man01:21
+perlDreamerHow are your C coding skills?01:21
@apeironEnough that I can fix a random build error here and there, but that's about it.01:21
+perlDreamerI need someone with moderately strong C to help me fix that Test::Class bug with memory/double free problems.01:22
@apeironeep01:22
@apeironMy C-fu is not nearly that good, sir.01:22
+perlDreamerI'll keep trolling01:22
@apeironWas just going to say, memory management is the one spot where my C-fu is weakest.01:22
+perlDreamerI don't suppose the Recent Forums feed is available as an RSS?01:25
+perlDreamerfrom webgui.org01:25
perlmonkey2anyone with skillz want to take a look at this and come up with a good way to make the calendar render nicely.  For now I'd settle with the "You are...." appearing below the calendar.  To view this you have to have firebug enabled.  https://www.lostokies.com:444/home/test3?noCache=336:1207693436;func=takeSurvey01:26
perlmonkey2if anyone is going to take a look let me know, otherwise it will be broken while I address the multiple calendars per page bug.01:27
+perlDreamerno firebug for me, perlmonkey2.  Sorry01:28
@apeironperlDreamer, If you ever do any kind of Web dev, I *highly* recommend it.01:28
CIA-5WebGUI: graham * r6077 /WebGUI/ (docs/changelog/7.x.x.txt lib/WebGUI/URL/Content.pm): fixed: anonymous registration leaves user at blank page01:29
CIA-5WebGUI: graham * r6078 /WebGUI/lib/WebGUI/Asset/Wobject/Thingy.pm: read line by line for thingy import instead of slurp01:29
@apeironFirebug is probably the only real reason I use FF.01:29
perlmonkey2no firebug..... perlDreamer have you given up on Firefox?01:29
perlmonkey2if you run linux, there isn't much choice.01:29
+perlDreamerno firefox at $dayJob, only SeaMonkey01:29
perlmonkey2doh01:29
+perlDreamerno flash, no mp3, nada01:30
perlmonkey2perlDreamer: they must be hard core about keeping out viri?01:30
+perlDreamerno, they're just tyrannical01:30
+perlDreamerIf I didn't work with such a great group of guys, I would rethink my choice of employment.01:31
+perlDreamerBut these guys are the greatest, bright, fun to work with.01:32
+perlDreamerChip and software hackers 01:32
perlmonkey2my wife tore her ACL recently and while we wait for the surgery, she has started to grow tired of my new pet name for her.....'gimpy'.01:32
perlmonkey2perlDreamer: you should tunnel to a home server and run a remote desktop01:32
+perlDreamerYou _could_ call her lame-o instead, but I hope that the nights are warm outside where you live :)01:33
perlmonkey2hahahahahaa01:33
* perlDreamer is known for his wise marital counseling01:33
perlmonkey2still dropping into the 50's, I'd better hold off01:33
+perlDreamerhardware budget is rather tight right now, I'm saving to send my oldest to college01:34
+perlDreamerShe turns 35 in June01:34
-!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"]01:35
perlmonkey2hahahahhaa01:38
perlmonkey2funny stff01:38
perlmonkey2bbl, dinner01:38
-!- dionak [n=diona@97.66.185.250] has quit []01:38
+perlDreameractually, I was serious about the 35 year old01:42
-!- snapcount [n=royjohns@andc-fw1.exploreos.com] has quit []01:50
-!- snapcount [n=royjohns@andc-fw1.exploreos.com] has joined #webgui01:52
-!- mode/#webgui [+v snapcount] by ChanServ01:52
-!- knowmad [n=william@97.66.185.250] has quit [Read error: 110 (Connection timed out)]01:55
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)]02:21
perlmonkey2perlDreamer: your oldest kid is 35 and is just about to start school and you are paying for it?  that is different.02:57
+perlDreamershe's my wife :)02:58
+perlDreameruh, and not in a Warren Johns kind of way, either02:59
perlmonkey2hah03:11
-!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui03:12
perlmonkey2unless I misunderstanded the docs and what I'm seeing in code, you can only have one YUI calendar per page.03:22
perlmonkey2This would have been swell to know 2 hours ago.03:22
+perlDreameris that going to be a problem.  I mean, why do you need a YUI calendar for a Survey?03:31
@apeiron"Please select a date that you'd like to hold this meeting."03:31
@apeiron"When did [some event] occur?"03:31
perlmonkey2perlDreamer: not too big of a deal I guess, but I thought it was a fancy way to enter in dates.  but now questions that require multiple date entries are in trouble.  You can have multi-select calendars, but that would be awkward if the dates werent' in the same month.03:34
+perlDreamerwhat about forcing pagination based on the types of Survey questions?03:34
perlmonkey2hmm....how about I just force them to click on a 'select date' button which creates the calendar object.  When they select a date, the event that writes the date to the input field also destroys the calendar.03:35
+perlDreamercreate on demand?  slow, but very effective.03:35
perlmonkey2then when they enter the next answer, there is no existing calendar to interfer with the new one.03:35
perlmonkey2yes....awkward.03:36
+perlDreamerand easier than rewriting the calendar module for yui03:36
perlmonkey2hah03:36
perlmonkey2yes03:36
perlmonkey2course, maybe just tell them to use a text field03:36
+perlDreamercan you reuse the same calendar app, and just clear it out on each use?03:36
perlmonkey2would be MUCH easier to write  text field type that includes date type validation.03:36
perlmonkey2yes 03:36
+perlDreamerWebGUI has an calendar date/time picker03:36
perlmonkey2oh...03:36
+perlDreamerForm/DateTime.pm03:36
perlmonkey2is it YUI?03:36
+perlDreamerno03:37
+perlDreamerwell, it hasn't been in the past03:37
@apeironperlmonkey2, http://webgui.pastebin.org/2844203:39
@apeironperlmonkey2, Quick and simple, two calendars on one page.03:39
@apeironperlmonkey2, Can you show us what you're trying to do that's *not* working?03:39
perlmonkey2:(  I wonder what I'm doing wrong03:39
perlmonkey2yes, j/s03:39
@apeironCould be something silly like not giving a div the right ID.03:40
@apeironI embarrassed myself pretty well here earlier today with a similar mistake.03:40
+perlDreameras of 7.5.3 (commerce branch), the Form/DateTime is using "Coolest DHTML Calendar" from dynarch.com03:40
+perlDreamerYou _do_ know I'm keeping track of all of these for my "Common WebGUI Programming Mistakes" presentation at the WUC, right?03:41
perlmonkey2http://webgui.pastebin.org/2844303:41
@apeironperlDreamer, Oh, awesome!03:41
perlmonkey2hah03:41
+perlDreamerfortunately, most of the examples are dominated by my own mistakes03:41
perlmonkey2heh03:41
+perlDreamerthink of it this way03:42
+perlDreamerit isn't public embarassment in front of peers and customers03:42
+perlDreamerit's leveraging your experience to help other avoid the pain and hard work of repeating mistakes03:42
* apeiron nods.03:42
+perlDreamerheading home03:43
+perlDreamer'night guys03:43
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has quit ["Download Gaim: http://gaim.sourceforge.net/"]03:43
perlmonkey2night03:43
perlmonkey2apeiron: you get a chance to look at that code?03:44
@apeironperlmonkey2, Looking, yes.03:44
@apeironLook at lines 11-1203:44
@apeironIs a.Survey_answerId guaranteed to be unique?03:45
perlmonkey2yes, it is an assetId of that answer :)03:45
@apeironAlso, why are you assigning to cal[cal.length]?03:46
@apeironShouldn't that be cal[x] ?03:46
perlmonkey2adds one to the end of the array03:46
perlmonkey2does JS have a push?03:46
@apeironer, I believe so, but not sure offhand.03:46
-!- snapcount [n=royjohns@andc-fw1.exploreos.com] has quit []03:47
perlmonkey2ah, it does, but either way, that isn't the issue.03:47
perlmonkey2works as it should if there is only one cal on the page.03:47
perlmonkey2that array goes out of scope after that question is through being built03:48
@apeironYes, because you're only assigning to one element in the array.03:48
@apeironWhat I don't see is cal.length ever changing in that block.03:48
@apeironSo thus the index into cal isn't changing, so you're just assigning to the same element in cal repeatedly.03:48
perlmonkey2cal.length changes after the first assignment.03:48
perlmonkey2it starts at 0 but after the first assignement is now 103:48
perlmonkey2which is why I have to use -1 to access the element.03:49
@apeironThat seems really counterintuitive that it'd just automatically grow like that.03:49
perlmonkey2I just whipped that up to rule out my locally scoped var I was using as being the culprite.03:50
perlmonkey2nothign else jumping out at you?03:52
@apeironwell hmph.03:54
@apeironThat's really unintuitive.03:54
@apeironNothing, no, and I hereby declare JS Most Awkward Programming Language ever.03:54
@apeironeh. I'm confusing length and last element.03:55
* apeiron hasn't been feeling well, is a bit off still.03:56
perlmonkey2I got rid of it and went back to locally scoped var since I only need a reference to that object for like 4 lines.03:57
perlmonkey2hmm....I wonder if that is it....I am not keeping a reference to it anywhere.03:58
perlmonkey2hmm, no, a permanent ref isn't helping03:59
* perlmonkey2 is now officially grasping at straws.03:59
-!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui04:01
-!- mode/#webgui [+v Radix-wrk] by ChanServ04:01
perlmonkey2I got rid of all event handlers, everything except the calendar creation and render call.  04:01
perlmonkey2apeiron: did you test out that example you showed?  I just tried a kind of example of it, and it isn't working.  Same thing with only one calendar working.04:05
@apeironperlmonkey2, I loaded it in my browser, it rendered the two calendars properly.04:06
perlmonkey2http://webgui.pastebin.org/2844704:06
perlmonkey2yeah, they render, but the problem is the first one is unresponsive.04:06
-!- Syn2 [n=koendejo@host2.procolix.com] has quit [Read error: 104 (Connection reset by peer)]04:06
@apeironNot for me.04:07
perlmonkey2you are using calendar-min...I'll try that lib, although I'm not sure how it would be different.04:07
@apeironI think it's "minimized" for transferring over the Web.04:08
perlmonkey2any idea how that last paste I put up differs from your example?04:08
@apeironNot sure.04:09
-!- perlbot [n=perlbot@c-24-30-67-86.hsd1.ga.comcast.net] has joined #webgui04:11
@apeironperlbot, hi04:13
perlbothi apeiron04:13
-!- Zoffix [n=Zoffix@unaffiliated/zoffix] has joined #webgui04:21
Zoffixhmr.. I think I've been here before04:21
-!- Zoffix [n=Zoffix@unaffiliated/zoffix] has left #webgui ["K-Lined"]04:23
@apeironHm. I just noticed that Freenode user cloaks aren't popular here.04:23
perlmonkey2thought only trolls used those?04:32
@apeironha04:33
perlmonkey2I have your example up and running and for the life of me, I can't see how it differs.04:34
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui04:34
-!- mode/#webgui [+o preaction] by ChanServ04:34
-!- estiven [n=estiven@201.232.58.66] has joined #webgui04:37
-!- estiven [n=estiven@201.232.58.66] has left #webgui []04:37
topsubjquery is cool :-)04:53
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)]05:00
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui05:20
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit [Client Quit]05:25
-!- snapcount [n=royjohns@97.101.10.156] has joined #webgui05:34
-!- mode/#webgui [+v snapcount] by ChanServ05:34
perlmonkey2topsub: yeah, and it won't be owned by microsoft.05:42
topsublol05:42
-!- snapcount [n=royjohns@97.101.10.156] has quit [Read error: 104 (Connection reset by peer)]05:50
CIA-5WebGUI: jt * r6079 /translations/Spanish/ (20 files in 2 dirs): update_from_translation_server06:02
-!- snapcount [n=royjohns@97.101.2.115] has joined #webgui06:05
-!- mode/#webgui [+v snapcount] by ChanServ06:05
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [No route to host]06:18
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui07:38
-!- mode/#webgui [+o preaction] by ChanServ07:38
CIA-5WebGUI: jt * r6080 /translations/Spanish/ (4 files in 2 dirs): update_from_translation_server07:49
-!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has quit []08:06
-!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has quit [Remote closed the connection]08:50
-!- ryuu_ro [n=rory@194.171.50.69] has joined #webgui09:12
CIA-5WebGUI: jt * r6081 /translations/Spanish/Spanish/ (5 files): update_from_translation_server09:16
CIA-5WebGUI: jt * r6082 /translations/Spanish/Spanish/Asset_Article.pm: update_from_translation_server09:50
CIA-5WebGUI: jt * r6083 /translations/Spanish/Spanish/ (WebGUI.pm AuthWebGUI.pm Asset_Collaboration.pm): update_from_translation_server10:14
CIA-5WebGUI: jt * r6084 /translations/Spanish/Spanish/WebGUI.pm: update_from_translation_server10:32
CIA-5WebGUI: jt * r6085 /translations/Spanish/Spanish/ (WebGUI.pm Asset_Collaboration.pm): update_from_translation_server10:50
-!- BartJol [n=plainstu@host2.procolix.com] has joined #webgui11:21
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)]11:21
CIA-5WebGUI: jt * r6086 /translations/Spanish/Spanish/ (WebGUI.pm Asset_Post.pm Asset_Collaboration.pm): update_from_translation_server11:26
-!- Radix-wrk [n=Jesse@203.161.68.67] has quit ["Leaving"]11:55
CIA-5WebGUI: jt * r6087 /translations/Spanish/Spanish/ (Macro_L_loginBox.pm Asset_Post.pm Asset_Collaboration.pm): update_from_translation_server12:03
BartJolwhoa, someones doing a good job!12:04
-!- ryuu_ro [n=rory@194.171.50.69] has left #webgui []13:45
-!- BartJol [n=plainstu@host2.procolix.com] has left #webgui []13:58
-!- zylopfa [n=zylopfa@port111.ds1-vby.adsl.cybercity.dk] has joined #webgui15:56
zylopfaGreetings15:56
-!- bopbop [n=kmccombs@71-82-214-154.dhcp.mdsn.wi.charter.com] has joined #webgui16:06
CIA-5WebGUI: yung * r6088 /branch/WebGUI_Userlist: Creating a branch for the Userlist wobject16:13
zylopfaCan i ask a question?16:14
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui16:43
-!- mode/#webgui [+o rizen] by ChanServ16:43
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit [Client Quit]16:46
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui16:52
-!- mode/#webgui [+o rizen] by ChanServ16:52
-!- topsub [n=josh@97.66.185.250] has joined #webgui16:55
-!- perlmonkey2 [n=perlmonk@ip-129-15-127-253.fennfwsm.ou.edu] has joined #webgui17:06
-!- doc77777 [n=Doc@10.187-available-ethint-fratm-cc.sccoast.net] has joined #webgui17:07
-!- dionak [n=diona@97.66.185.250] has joined #webgui17:07
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui17:09
-!- mode/#webgui [+o preaction] by ChanServ17:09
zylopfaAm i the only one getting these errors:17:11
zylopfaPass in object came back undefined for activity (csactivity000000000001) using WebGUI::Asset::Wobject::Collaboration17:11
doc77777Hello all. I have a quick question on integration. I have a site written in perl that queries a database and returns records in a table. To add these pages into webgui what is the best path: Asset, wobject or macro...? Just need to go in the right direction at the start. Thank you!17:12
zylopfaTo return database quiries use the asset "Data Form"17:13
zylopfasorry SQL Report17:14
zylopfayeah use a sql report instance, whereever on the site you need data from a db17:15
doc77777I looked that over but can you make that display nicely formatted tables with say 10 columns and 50 rows of information?17:15
zylopfaTemplates can be adjusted for your looks17:15
@rizenzylopfa: check your WorkflowInstance table and make sure that it doesn't have any corrupt or missing data17:15
doc77777See, already have the entire site written and been up over a year. Just trying to integrate it into webgui now ;)17:15
zylopfadoc77777, should be possible17:16
@rizendoc77777: sql report, macro, http proxy, asset in that order17:16
doc77777Was hoping there was a way without starting over and tossing out all the existing perl code.17:16
@rizendoc77777: there's always a way with webgui17:17
@rizentry the other options that i mentioned17:17
doc77777laughs yes I am finding that and it is a lot of fun.17:17
zylopfadoc77777, I have had the same problem as you, i tossed most of the perlcode out17:17
doc77777would I use one of those or all 4 are required?17:17
@rizenhttp proxy would allow you to not change anything. you just point it to the web server where your perl code lives17:18
@rizenuse one17:18
zylopfaahhh rizen17:18
zylopfathats what you use that for :O17:18
@rizenwith macro you could just embed your perl code into the macro 17:18
zylopfathats pretty imba17:18
@rizenimba?17:18
zylopfaawesome17:19
doc77777could you embed a DB query in the macro? I had some fun with that last night.17:19
@rizenof course17:19
@rizentake a look at WebGUI::SQL and WebGUI::DatabaseLink17:19
@rizenboth may be useful to you17:19
@rizenor if you prefer, you can use straight DBI calls17:20
doc77777Very nice... I am pretty new to webgui but really impressed with how it follows the perl ideas... simple are simple but anything is possible :)17:21
zylopfadamn i just manually upgraded to the new 7.4.32 but it complains with every script  that it cant load Request.so 17:21
@rizenthat's the idea17:21
-!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui17:21
-!- mode/#webgui [+o Haarg] by ChanServ17:21
perlmonkey2doc77777: yeah, I have several large web apps I'm considering building for my employer, and I wouldn't start any of them without using wG as my framework.17:22
zylopfaThe sites work good, but whenever i use some of the scripts in sbin, it wont load the script17:22
zylopfaAnd the testEnvironment.pl complains that Apache2::Request isnt installed17:23
zylopfaeven if it is (the site is running and all) 17:24
doc77777perlmonkey: yea, I found it a year late. Wrote this site in perl / cgi about a year and a half ago but after finding webgui I will rewrite if I have to. But still, dont want to write anymore than I have to!17:24
@rizenzylopfa sounds like your path is messed up17:24
-!- bartjol [n=bartjol@host2.procolix.com] has joined #webgui17:26
doc77777Thank you for the help friends. Always shy away from irc usually because all my questions get answered with "gO RtFM d0od".  Thanks, you give me hope ;)17:28
-!- bopbop [n=kmccombs@71-82-214-154.dhcp.mdsn.wi.charter.com] has quit [Remote closed the connection]17:29
zylopfaits strange rizen it worked on my normal machine but on the production one it wont work (well webgui is running) but cant get the sbin scripts to work17:29
-!- bopbop [n=kmccombs@71-82-214-154.dhcp.mdsn.wi.charter.com] has joined #webgui17:29
@rizenr u using the wre?17:30
zylopfano installing from source17:30
@rizenthat's your problem likely17:31
@rizendoc77777: go RTFM. do you feel better?17:31
doc77777yea that is the ticket  ;)17:32
zylopfahttp://webgui.pastebin.com/d34482354 is the error i get17:32
zylopfaShould it be the best to install from source?17:32
@rizenno. the wre is a very complex animal, and it's hard to replicate from DIY source17:34
zylopfaso you say its best to upgrade with WRE?17:40
+Radix_more a case of webgui needing a lot of perl modules and prerequisites in order to run.  And if one of those perl modules is out of date or your distro ships a different version then it can cause issues that are really hard for anyone else to diagnose.  WRE solves all of that by shipping everything you need.17:43
zylopfathanks Radix_ 17:44
zylopfawhen i run testEnvironment.pl it says i dont have Apache2::Request17:44
zylopfathen it supposedly install it and go on without errors17:44
+Radix_been there, done that, know how it feels - I use the wre now :)17:44
zylopfabut when i run it again it says its not installed17:44
zylopfaI am no way going that way17:45
zylopfaI will figure this shit out :D17:45
+Radix_heh.. what distro?17:45
zylopfafedora core 17:46
+Radix_I've seen that one before on debian - though it was a while back now.. seem to recall it being a lib missing that Apache2::Request needed or a dev version of a package was needed too17:46
+Radix_check that libapreq2 is there17:47
zylopfait is17:48
zylopfagonna install it again manually from cpan17:48
+Radix_there's two modules in debian - one for libapreq - the other for the perl interface to it17:48
zylopfayeah also here17:48
+Radix_I'm sure it'd be similar in fedora17:48
+Radix_try cpan then.. might just need the latest version17:49
zylopfayeah i am on that now17:49
topsubhello everyone.17:53
+Radix_hey topsub17:53
CIA-5WebGUI: yung * r6089 /WebGUI/ (docs/changelog/7.x.x.txt lib/WebGUI/Asset/Wobject/Thingy.pm): fixed: Thingy: field type 'other thing' does not stay selected18:20
zylopfaI am debugging my problem to run upgrade.pl made a test.pl file only with use APR::Request; in it18:26
zylopfathe error it comes forth with is: http://webgui.pastebin.com/d699fa1618:26
zylopfaand the files are there 18:26
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has joined #webgui18:34
-!- mode/#webgui [+v perlDreamer] by ChanServ18:34
zylopfaperlDreamer, can you maybe help me?18:36
+perlDreamerzlopfa, what's up?18:39
zylopfaI have upgraded to the newest release and now i cant run upgrade.pl18:39
+perlDreameryou can run upgrade.pl, but you get an error.  What is it?18:40
zylopfasomehow it wont find: use APR::Request18:40
zylopfahttp://webgui.pastebin.com/d699fa1618:40
zylopfaIt wont run it ;/ and i just reinstalled libapreq2-2.0818:40
+perlDreamerare you running the WRE?18:40
zylopfano18:40
+perlDreamerso you say perl upgrade.pl --doit and get the message?18:41
zylopfano it wont compile18:41
+perlDreamerI'm confused, so maybe we better be pedantic about this.18:41
zylopfaand whenever i run: testEnvironment.pl it says Apache2::Request isnt installed18:42
zylopfathen it install it, but it report the same when i test it again18:42
+perlDreamerwhich linux distribution are you using?18:42
zylopfaLinux lnx.kermit.org 2.6.23.1-42.fc8 #1 SMP Tue Oct 30 13:18:33 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux18:42
zylopfafedora 818:42
+perlDreamerDoes this file exist: /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/APR/Request/Request.so18:43
zylopfaindeed18:43
zylopfait exist18:43
+perlDreamerpermission check on the file and directory?18:45
zylopfa770 root:root18:47
+perlDreamerand you're running as root now?18:47
zylopfayeah18:47
zylopfaso it should not be that18:47
zylopfaIts damn strange every time i run testEnvironment.pl it say Apache2::Request is missing18:51
+perlDreameryes18:51
zylopfathen it install it, and then i cant use Apache2::Request anyway18:51
zylopfahave tried in a test script18:51
topsubhey perlDreamer18:51
+perlDreameris there a libapreq2-dev?18:51
zylopfawill check18:52
+perlDreamerI have all three of these installed on a FC6 dev box18:53
+perlDreamerperl-libapreq2-2.09-0.rc2.1.fc618:53
+perlDreamerlibapreq2-devel-2.09-0.rc2.1.fc618:53
+perlDreamerlibapreq2-2.09-0.rc2.1.fc618:53
+perlDreamerhey topsub18:53
topsubperlDreamer, hello Hows your day going?18:53
+perlDreamerNot too bad so far.  Need to dig out and eat my breakfast soon :)18:54
topsubhehe, almost lunch time here.. well it is.. its noon! lol18:54
+perlDreameryou're an east coaster18:54
topsubborn and raised.. lol18:54
topsubi might get to the west coast one day18:55
@preactionCalifornia: Nuke it from orbit, it's the only way to be sure.18:55
zylopfaperlDreamer, i installed the newest from source: 2.08 18:56
+perlDreamerzylopfa, I've never done that on a FC box18:57
zylopfaits all i ever do18:57
@rizentopsub, will you be coming to the wuc this year with diona and william?18:57
topsubi believe so18:57
topsubi hope so, love to see the west coast19:01
topsubif its even on the west coast this year19:01
+perlDreamerThe west coast of Madison is great.19:01
+perlDreamerBetween the two lakes19:02
topsublol19:02
+perlDreamerWisconsin19:02
@preactionplus it will be August, so it will be beautiful outside19:02
@preactionmaybe unbearably hot, but still19:02
topsubi am use to the heat19:02
@preactionyeah, the only people who will be complaining about the heat will probably be the people who live in wisconsin ;-)19:03
+perlDreamerzylopfa, I'm not sure where to go from here, you need sysAdminDreamer, not perlDreamer from this point on19:03
zylopfahaha ok19:03
topsublol19:03
zylopfait seems like some bullcrap, I have installed it but it cant find the perl modules19:03
zylopfabut the Webgui installation works19:04
zylopfaits just the scrpits that doesnt19:04
-!- bartjol [n=bartjol@host2.procolix.com] has left #webgui []19:04
@preactionzylopfa, does perldoc Apache2::Request work?19:05
zylopfayeah19:05
zylopfaand i have found it also in:19:05
zylopfa/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/Apache2/Request.pm19:05
+perlDreamerpreaction: POD is not stored in .so files19:05
@preactionhow about perl -MApache2::Request -e'print $Apache2::Request::VERSION'?19:05
zylopfaCan't load '/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/APR/Request/Request.so' for module APR::Request19:06
zylopfa: libapreq2.so.3: cannot open shared object file:19:06
zylopfaso its something with the linked library file19:07
+perlDreamerSince you installed from source, do you need to rerun ldconfig?19:07
CIA-5WebGUI: yung * r6090 /WebGUI/ (3 files in 3 dirs): fixed: Thingy: delete a thing dysfunctions linked things19:07
zylopfaBut it dont say what file it cant find19:07
zylopfayeah perlDreamer i also did that19:07
+perlDreamerI think it's saying it can't find the Request.so file19:08
-!- estive1 [n=estiven@201.232.58.66] has joined #webgui19:08
zylopfabut the file is there, exactly where it says it is19:08
zylopfaMaybe i should delete all that has to do with Apache2 and APR and install anew19:09
+perlDreamerI'd suggest yum'ing it19:11
-!- lisette [n=liraos@201.232.58.66] has joined #webgui19:12
zylopfaFFS now it work19:12
lisettehi19:12
+perlDreamerno way19:12
zylopfaI cant take that it wont work from source install19:12
zylopfabut i think the version is bugged cause yum suggested 2.09-019:12
zylopfabut that one cant be dl'd from the site 19:12
zylopfaand its a damn unstable one19:13
lisettehow to do to change the field email in the create account by read only, i have to fill this field with a JS, but the user don't modified this19:13
zylopfaThanks a lot for your help friends!19:13
zylopfaFriend even19:13
zylopfainsane good!19:13
+perlDreameryou're welcome19:13
@rizenwhat!19:13
zylopfainsane patience you have19:13
@rizenperlDreamer is my friend, he can't be your friend too.19:14
@rizeni *won't* share him19:14
@rizen=)19:14
zylopfaI bet its the libapreq22.08 thats bugged19:14
zylopfadamn it rizen 19:14
lisette?19:14
zylopfaThis is awesome!!19:14
+perlDreamerlisette: use the JS to disable the field, as well as fill it in?  Or modify the template and take out the template variable for the username textfield, and set it with a hidden field?19:14
lisetteno i use the JS to fill this field19:16
zylopfafrom now on i will use yum whenever it makes shit to install from source19:16
zylopfaAhahn nicee upgrade script worked all the way without me having to install some new things19:16
lisettebut the field email in the template is in loop, and i don't know how to change to readonly, and i found in the user profile that i can modified this field, but i change the Data Type by Read only it don't work19:17
+perlDreamerAh.  That sounds like a bug.19:20
-!- snapcount [n=royjohns@97.101.2.115] has quit [Read error: 104 (Connection reset by peer)]19:21
lisetteok, thanks19:22
zylopfadoes anyone know where the internationalization of "Date Time" fields is ?19:25
zylopfaor does it only work for english? (suppose its a java script then)19:25
+perlDreamerzylopfa, do you mean the JS calendar/time widget?19:26
zylopfano its in "Data From" asset, when you put a "Date Time" field in, a datepicker js comes up19:27
+perlDreamerYeah, that's the same thing.19:27
+perlDreamerIt's javascript19:27
zylopfaI have found a javascript for it with internal things19:27
zylopfainternationalization things19:27
zylopfaI have a clue that maybe the danish version is old code19:27
+perlDreamerthose files are stored in www/extras/calendar/lang19:31
+perlDreamerwhat do you think is old/wrong?19:31
zylopfano it seems ok i just watched the files19:31
zylopfabut some weird characters in the danish one, may break the javascript19:32
@preaction7.5 uses the YUI one i think now19:33
+perlDreameryes it does.  That must be after we branched the Commerce branch.19:34
@preactiondunno if that'll have any impact on I18n19:35
+perlDreamerHaarg, the Email form fix is missing a paren in the new regex19:36
+perlDreameris it supposed to be ([a-z]{2,9}) ?19:37
@preactionwhy 2? come to think of it why are we trying to validate email addresses using regular expressions anyway?19:44
+perlDreamercountry codes are two letters19:44
@preactionan intranet email address may not even have a . in it anywhere19:45
zylopfaperlDreamer, there is an error in the danish translation that somehow breaks the "Date Time" picker19:46
zylopfaI will correct it and send a patch19:46
+perlDreamercool19:46
+perlDreamerlisette: before filing the bug, you might want to try using a WebGUI demo site to see if you can duplicate the bug up there (not making email address read only)19:48
CIA-5WebGUI: doug * r6091 /WebGUI/ (6 files in 5 dirs): 19:51
CIA-5WebGUI: fixed: Back to Album link doesn't work19:51
CIA-5WebGUI: fixed: Minor i18n wording discrepencies19:51
CIA-5WebGUI: fixed: Photo->www_showConfirmation Add a Photo link points to the wrong place19:51
-!- snapcount [n=royjohns@35.3.101.97.cfl.res.rr.com] has joined #webgui19:59
-!- mode/#webgui [+v snapcount] by ChanServ19:59
zylopfaperlDreamer, i am sending in the patch for the danish version of the datepicker now20:17
+perlDreamerremember, diff -u :)20:17
zylopfai did ;D20:19
-!- perlmonkey2 [n=perlmonk@ip-129-15-127-253.fennfwsm.ou.edu] has quit ["Leaving."]20:19
zylopfais it critical when the danish calender picker didnt work?20:19
zylopfaor should i post it as cosmetical?20:19
+perlDreamerif it's broken and doesn't work, it's critical.20:20
+perlDreamerIf it's just ugly looking, it's cosmetic20:20
zylopfait was broken, where the dates should be in the picker it just said "undefined"20:21
+perlDreameryeah, that's broken.  Unable to pick dates from the date picker20:21
@Haargi caught that regex typo and fixed it on 7.4, but neglected to port the change20:21
+perlDreamerwe need nightly smoke tests in both main branches20:22
-!- perlmonkey2 [n=perlmonk@ip-129-15-127-253.fennfwsm.ou.edu] has joined #webgui20:22
zylopfaits awesome this quick release of patches20:25
zylopfaevery time i find an error i will patch it and send it20:26
perlmonkey2this is probably a no brainer, but setting up mod_proxy on the wre on port 81, will allow me to run normal apache stuff on 80?  I just want webgui on this machine for local dev work.20:26
+perlDreamerit's the new weekly release schedule.  I'm guessing it keeps Haarg pretty busy, but it's great for getting bugfixes out quickly20:26
@rizenpm2: you don't even need modproxy 20:27
@rizenespecially not for dev work20:27
+perlDreamerzylopfa: If you keep doing that, you could be given SVN access to WebGUI, which would let you patch WebGUI yourself20:27
@rizeni don't use it on my dev box at all20:27
zylopfaawesome perlDreamer 20:27
perlmonkey2rizen: that is very good to know20:27
zylopfaperlDreamer, I will also contribute with a complete danish translation20:28
+perlDreamerYou'll have to race to catch up to the Spanish team.  They're already up to 25% complete20:29
zylopfahaha i will be quick20:29
zylopfaI would like to translate it in the source tree and upload it if i can20:29
zylopfait takes too long to do it online20:29
zylopfavia the i18n site20:29
zylopfaand the translations seems to be for old modules20:30
+perlDreameryou'd need to talk to rizen or Haarg about that one.  They might takes patches, I don't know20:30
+perlDreamerthe i18n server is supposed to keep itself up to date.20:31
zylopfaohh20:31
zylopfalet me check it again20:31
+perlDreamerIf you edit a module with out of date entries, editing an entry is supposed to clean up everything20:31
zylopfaaahh perlDreamer it seems its the correct ones20:32
zylopfaWill the edition of these i18n be taken in every week?20:32
+perlDreamertranslated i18n files are available from the server in realtime.  They are not included in the core.20:32
+perlDreamerNew items from the core are put into the English copy on the translation server weekly20:33
+perlDreameralso, the translations are for 7.5, not for 7.420:33
CIA-5WebGUI: graham * r6092 /WebGUI/ (docs/changelog/7.x.x.txt lib/WebGUI/Auth/WebGUI.pm): fixed: email validation links can be broken by mail servers20:35
CIA-5WebGUI: graham * r6093 /WebGUI/lib/WebGUI/Form/Email.pm: fix email regex typo20:35
zylopfathanks a lot perlDreamer 20:36
-!- perlmonkey2 [n=perlmonk@ip-129-15-127-253.fennfwsm.ou.edu] has quit [Read error: 110 (Connection timed out)]20:53
-!- bopbop [n=kmccombs@71-82-214-154.dhcp.mdsn.wi.charter.com] has quit []20:59
-!- lisette [n=liraos@201.232.58.66] has left #webgui []21:00
GooeyOfSteelWiki: Translating WebGUI - Created on 4/9/2008 12:58 pm by colink  http://www.webgui.org/community-wiki/translating-webgui21:11
+perlDreamerestive1, lisette, zylopfa: if you have other ideas/tips/suggestions about translating WebGUI, please add them to that wiki page.21:12
zylopfaroger that perlDreamer 21:12
zylopfaJust translated the addspace asset on the i18n site21:13
+perlDreamerI saw that.  The Danish translation went up several tenths of a percent.21:14
+perlDreamerOne other thing to keep in mind about the i18n website.21:15
+perlDreamerIt's set up so that _anyone_ can translate WebGUI21:15
+perlDreamerSo you can have semi-technical help with the translation work21:16
zylopfasounds good21:17
+snapcounthey rizen, have you ever heard of cpan autobundle?  i.e., perl -MCPAN -e autobundle21:19
+snapcountlooks like it may simplify wre install quite a bit21:20
+snapcountnot sure if it still uses the shell script to install everything21:20
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui21:22
@rizenno i haven't heard of it21:27
-!- perlDreamer is now known as gymDreamer21:27
+snapcountit basically bundles all of the installed modules on a system when you run it into a single module21:27
+snapcountthen you can install it with perl -MCPAN -e 'install bundle-name.pm'21:27
+snapcountI just came across and I'm trying it out21:28
+snapcountthought I'd put a bug in your ear =)21:28
@rizenif i have to have the modules already installed, then how does it help build the wre?21:28
+gymDreamersnapcount: it makes a list of all the modules on your system, not really making a bundle of what is there21:28
+snapcountoh... so it's not really a snapshot then21:29
+snapcountwell shit21:29
+gymDreamerstill, once you set up one, it's easy to replicate on another machine21:29
@rizenbut at the point that i set it up, it's already in the wre, so again, how does it help build the wre?21:30
+snapcountI see your point21:32
@rizeni guess that would make it easier for people to do source based installs21:33
@rizenthough i'm not entirely sure i want to do that21:33
@rizensnapcount, find out if there is a CPAN function that will write the commerce system for me21:34
@rizenthat's what i really need. =)21:34
+snapcountthat one's easy21:34
+snapcountBundle::Rizen.pm21:34
+snapcountduh21:34
@rizenoh, and I could use one that will find the bugs in the software, and automatically fix them.21:35
CIA-5WebGUI: jt * r6094 /WebGUI/ (3 files in 3 dirs): - fix: Trapped an exception for corrupt config files.21:44
CIA-5WebGUI: jt * r6095 /branch/WebGUI_7.4/ (3 files in 3 dirs): - fix: Trapped an exception for corrupt config files.21:44
@rizensnapcount: how's the promotion of your orlando mongers going?21:45
+snapcountwell we had a few people show up yesterday so I guess that's good =)21:45
+snapcountit was weird because that was the first pm meeting I ever attended21:46
+snapcounteveryone seemed to have fun though, said they were coming next month21:46
-!- wgGuest80 [n=wgGuest8@71-82-214-154.dhcp.mdsn.wi.charter.com] has joined #webgui21:54
-!- wgGuest80 [n=wgGuest8@71-82-214-154.dhcp.mdsn.wi.charter.com] has quit [Client Quit]21:54
-!- zylopfa [n=zylopfa@port111.ds1-vby.adsl.cybercity.dk] has quit ["Leaving"]22:05
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has joined #webgui22:15
-!- mode/#webgui [+v MrHairgrease] by ChanServ22:15
topsubrizen, how far are you planning on taking the commerce system in webgui?22:36
@rizenjust far enough to get your hopes up, and not far enough to be useful22:37
topsublol...hmmmm22:37
@rizenyour question was sufficiently vague that it felt appropriate to give such a response22:38
topsubguessing more in the sence of trying to have it compete with more known commerce systems or just to be something small and basic22:39
topsubi have always used cs-cart22:39
topsubbeing able to intergrate cs cart and webgui together = an awesome package22:40
@rizenno idea what cs-cart can do22:40
topsubdemo.cs-cart.com/admin.php    admin:admin22:40
topsub:-)22:41
@rizenbut the base commerce system that i'm building should be sufficient for most small stores, and robust enough that it can be built out for amazon style stores22:41
topsubnice22:41
@rizenlooking at cs cart now it will have many of the features cs cart has, but certainly not go as far as cs cart22:47
@rizensimply because this is our first rev22:47
@rizenthey have 80 payment gateways it looks like, and we'll have only 2-422:48
@rizenfor example22:48
@rizennow that i'm looking at this, i did check out cs-cart when i was first doing my research22:57
topsubah23:14
topsubya i like it and it seems to be going in a nice direction23:14
topsubsmarty template lang. makes it easy to skin23:14
topsubhas lots of custom reports you can set up. lots of site management23:15
@rizenafter WebGUI Shop is released they will still be a couple of years ahead of us on payment plugins, probably only about one dev cycle ahead of us on management type features, and we'll be way ahead of them on product type plugability23:16
topsubbiggest thing i see people ask me is inventory management23:17
@rizensince in WebGUI Shop the product types are just assets23:17
topsubso if i have the same style shirt in 5 colors can it manage that23:17
+gymDreamerthe hooks for inventory management are in WebGUI's C2 already23:17
-!- gymDreamer is now known as perlDreamer23:17
@rizenthe current webgui commerce system can handle that23:17
topsubwhich cs cart can along with dynamic switching out images for each color23:17
topsubnice, sry i haven't look into the commerce of webgui.. 23:17
@rizenwe won't be doing dynamic image switching for each color but the multiple color things are handled23:18
-!- estive1 [n=estiven@201.232.58.66] has left #webgui []23:18
topsubalso the dynamic prices. so if an XXL cost +$2.00 more it updates the price on the fly23:18
topsublittle stuff like that adds nice touches23:18
@rizenperlDreamer, aren't you migrating that feature to the new product sku as we speak?23:18
+perlDreamerdecoding C1 in batches23:19
+perlDreamerso, yes23:19
+perlDreamerWobject::Product is now Sku::Product23:19
+perlDreamernow I'm trying to get my arms around WebGUI::Product so I can fold in parameters, variants and options23:19
topsubcs-cart 1.3.5 was just released with a nice fresh look along with more ajax interface.. which can be good and bad23:20
@rizenperlDreamer: if you're feeling ambitious, feel free to throw in dynamic switching images for the variants23:20
+perlDreamernoted23:20
@rizenoh23:21
@rizenwe need to talk about that stuff a little bit before you get too far23:21
@rizendo you have time now?23:21
+perlDreamersure23:21
@rizenok..the current WebGUI::Product has a sort of sku template thing23:21
+perlDreameryep23:21
@rizenthat is unnecessary23:21
@rizenno need to port it23:21
+perlDreamergood23:21
@rizenhowever, we do need to still support variants23:22
+perlDreamerwhat about sku modifier for variants?23:22
@rizenno sku modifier23:22
+perlDreamerthis is getting better all the time, keep talking!23:22
@rizenit's all one sku with options23:22
@rizenso you just attach the options to the product when you put it in the cart23:22
@rizenlike "red" and "XL"23:23
@rizenhowever, the tricky thing is that we do need to migrate people from the old products to the new products23:23
@rizenso what i'm thinking there is that you'll generate a new product asset in the import node23:23
@rizencreate a folder for it23:23
@rizenfor each WebGUI::Product in existence23:24
@rizenthen we'll have to parse Layouts, Snippets, Articles, and Templates looking for ^Product(); macros23:24
+perlDreamerew23:24
@rizenand replace them with ^AssetProxy(); macros23:24
@rizeni don't see any other way unfortunately23:25
+perlDreamerafter I get the basics done, I'll call Tiffany and ask her for her database23:25
+perlDreamerthat way I'll have a real corpus to practice on23:25
@rizenok23:25
@rizenso while i have good news on the one hand (no more stupid dynamic skus) i have bad news on the other hand (parsing for macro replacement)23:26
+perlDreamerI do have an idea about that, but it's evil23:27
+perlDreamerIf you temporarily disabled all macros, and eval the template, you'd get the original template back, right?23:27
+perlDreamerSo, if you make a new "Product" macro that returns the string "^AssetProxy(myProductParams);" and disable all macros, you can use the macro processor and templater to do all the parsing and changing work for you.23:28
@rizeneval?23:28
+perlDreamerprocess23:29
+perlDreamerno, it's close but it wouldn't23:29
+perlDreamerbecause all the template tags will be evaluated23:29
+perlDreamerso maybe just skip the template processing and send the template to the macro processor23:30
@rizenyou have the right idea23:30
@rizenbut you can't run it through the macro processor either23:30
+perlDreamerno?23:30
@rizenbecause you'll execute any other macros that are in there23:30
+perlDreamerI'll disable all of them first23:30
@rizenthat's foolish hackery and lible to break someone's site23:30
@rizeninstead just use the macro processor regex23:31
@rizenwithout using the macro processor23:31
+perlDreamerand only call the Product macro when you find one23:31
@rizento do exactly what you want23:31
+perlDreamerokay23:31
@rizenexactly23:31
@rizenbut it won't call the product macro either23:31
@rizenit will call some custom code that will turn the product macro into an assetproxy23:31
+perlDreamerokay, that's even better23:32
@rizenanyway, that's about all i needed to say. just thought you'd want to know before you got too far23:35
+perlDreamerif there's anything else that comes up, just give me a holler23:35
+perlDreamerI will say that the new Product will have tons of collateral23:35
+perlDreamerpictures, brochures, warranties, parameters and variants23:36
+perlDreamerzylopfa translated about 2% of WebGUI today for the Danish translation23:38
+perlDreamergood energy23:38
perlmonkey2lots of cool things happening in wG lately23:46
+perlDreameroh yeah23:46
+perlDreamerThe spanish team added about 22% to their translation23:46
+perlDreamerPolish team did 4%23:46
+perlDreamerbugs being fixed23:46
+perlDreamerThere's even a guy building a new, Ajax based Survey, of all things23:46
perlmonkey2hah....I hear he's way behind schedule and keeps running into 'interesting' corner cases in the YUI.23:47
+perlDreamerdid you figure out what was happening with multiple calendars, yesterday?23:48
perlmonkey2nope.....removed all the code so that it was basically just two plain calendars being built.  My example code worked fine, the survey did not.23:49
perlmonkey2But we don't need date types in the original surveys at work, so I'm skipping it for now.  But I wasted 5 hours on placing the widgets and then the problems with multiple widgets yesterday.....keep getting hit with these huge time sinks.23:50
perlmonkey2meetings all morning...normal work in the afternoon...and now finally back to survey stuff ;)23:51
+perlDreamerrizen: Does C1 do inventory management automatically, or do you have to do it manually?23:54
@rizenC1 has no concept of inventory management23:56
--- Day changed Thu Apr 10 2008
topsubajax based survy sounds interesting00:09
topsubi doing an ajax peice.. bout 30% complete.. lol00:09
topsub2 macros to write then litttle frontend work to do00:09
topsubso far loving  it.. very easy to integrate00:09
@rizentopsub is fired00:10
topsublol00:10
topsubdoh!00:10
topsubi have a prototype.. just intergrating the prototype into webgui00:11
topsubits crazy.. i have a 300 line javascript file in my prototpye.. i am using Jquery for this and i have so far just like 15 lines using jquery00:11
@rizentopsub didn't follow the scotty rules for engineering00:12
@rizennothing is easy00:12
@rizenit's going to take 3 times longer than you have00:12
topsubi am converting from raw javascript to jquery00:12
topsublol00:12
topsubit prob will00:12
topsubstill have the macros to write00:12
@rizenno jquery00:12
@rizenuse yui00:12
topsubblah!00:12
topsubjquery!00:12
@rizendon't make me kill you00:12
topsubwilliam and diona would miss me00:13
topsubafter i get version 1 out i MIGHT convert to yui00:13
* perlDreamer has nightmares about jquery and yui battles00:14
+perlDreamerand is thankful nobody has brought up gwt00:14
+MrHairgreasewhat about gwt?00:15
+MrHairgreasethat roxors00:15
+snapcountMrHairgrease: what are you doing here?  shouldn't you be at the pub =D00:15
+MrHairgreaseerr00:15
+MrHairgreaseyou are right00:15
+snapcountlol00:16
+MrHairgreasebut I have to get up very early tomorrow00:16
+perlDreamernot a problem00:16
+perlDreamer3 beer limit00:16
+MrHairgreaseand the Dutch WebGUI drink is tomorrow evening00:16
+MrHairgreaseso I guess I can stay at home00:16
+perlDreameryou have to warm up before serious drinking00:16
+MrHairgreaseand I'm working on the Movie plugin00:16
+MrHairgreaseand I have beer at home00:16
+perlDreameryou could strain your liver00:16
-!- dionak [n=diona@97.66.185.250] has quit []00:17
+MrHairgreaseperlDreamer: I'm always warmed up 00:17
+MrHairgreaseyou should know that =)00:17
+perlDreamertrue00:17
-!- dionak [n=diona@97.66.185.250] has joined #webgui00:18
-!- estiven [n=estiven@201.232.58.66] has joined #webgui00:34
-!- jfluhmann [n=jfluhman@x171y247.angelo.edu] has quit [Remote closed the connection]00:35
-!- dionak [n=diona@97.66.185.250] has quit []00:46
topsubis there a test for uploading files in a function?00:49
+perlDreamerwhat do you mean "function"?00:49
-!- dionak [n=diona@97.66.185.250] has joined #webgui00:49
topsubi wrote a custom asset to upload files00:51
topsuband i wrote a test faking a post with a file00:51
topsuband tested that it uploaded00:51
+perlDreamerright00:52
+perlDreamerI helped you with some of that, iirc00:52
topsubya00:52
topsubwasn't sure if i should submit that00:52
topsubusing that puedo00:52
+perlDreamerright00:53
+perlDreamerI still don't understand what you're asking00:53
topsublol can anyone else use that test00:59
-!- topsub [n=josh@97.66.185.250] has quit [Remote closed the connection]01:07
+perlDreamerwell, yes and no01:09
+perlDreamerhe left01:09
+perlDreamerI'll tell him tomorrow01:09
+perlDreameror maybe dionak can go and give him a nuggie for leaving so quickly01:09
-!- dionak [n=diona@97.66.185.250] has quit []01:43
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has left #webgui []01:47
CIA-5WebGUI: graham * r6096 /WebGUI/ (docs/changelog/7.x.x.txt lib/WebGUI/AssetClipboard.pm): fixed: Clipboard select all doesn't work with one item in IE01:54
CIA-5WebGUI: graham * r6097 /WebGUI/docs/ (changelog/7.x.x.txt upgrades/upgrade_7.5.9-7.5.10.pl): fixed: able to view visitor profile, send private messages, add as friend01:54
CIA-5WebGUI: graham * r6098 /WebGUI/ (4 files in 3 dirs): fixed: international characters corrupted in titles01:54
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit []02:15
CIA-5WebGUI: jt * r6099 /branch/WebGUI_Commerce/ (7 files in 5 dirs): 02:17
CIA-5WebGUI: fixed more c2 bugs02:17
CIA-5WebGUI: added a workflow activity that removes EMS items from the cart if they've been in there too long02:17
CIA-5WebGUI: graham * r6100 /WebGUI/ (docs/changelog/7.x.x.txt lib/WebGUI/Asset/Post.pm): fixed: Users without karma can transfer karma by rating posts02:17
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has quit ["bbiab"]02:29
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui02:37
-!- mode/#webgui [+o apeiron] by ChanServ02:37
-!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"]02:41
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has quit ["leaving"]02:44
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui02:45
-!- mode/#webgui [+o apeiron] by ChanServ02:45
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has quit ["Download Gaim: http://gaim.sourceforge.net/"]02:45
-!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has joined #webgui02:45
-!- doc77777 [n=Doc@10.187-available-ethint-fratm-cc.sccoast.net] has quit [Remote closed the connection]03:01
-!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has quit [Remote closed the connection]03:12
-!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has joined #webgui03:26
-!- perlbot [n=perlbot@c-24-30-67-86.hsd1.ga.comcast.net] has quit ["leaving"]03:57
-!- perlbot [n=perlbot@lv.pm.org] has joined #webgui03:57
-!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui04:11
-!- mode/#webgui [+v Radix-wrk] by ChanServ04:11
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit ["Leaving"]04:36
topsubsoo just messed up my local install of webgui..lol05:04
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui05:32
-!- mode/#webgui [+o preaction] by ChanServ05:32
-!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has quit [Remote closed the connection]06:16
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [Read error: 113 (No route to host)]06:16
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Connection timed out]06:17
-!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has joined #webgui06:28
-!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has quit [Remote closed the connection]06:32
-!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI06:56
elninogood evening!  Quick question.06:57
elninoI've got a navigation template I'm writing to display image that are not hideen from navigation. And I'd like to access the properties of the image (the field where the alt and style atributes can be typed in). What woudl be the appropriate tmpl_var?06:58
elninoI've tried page.description and page.properties. without sucess07:04
elninoI looked at the source of WebGUI/asset/wobject and it looks like properties should work. but it doesn't seem to.07:08
elninonever mind. The code doesn't look like properties should. So it looks like I can't access an Image's properties in a navigation template.07:09
elninoeh, I'll just post an rfe. I don't see any evidence that it can be done.  I need to go to bed. 07:15
elninobye07:16
-!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has quit ["Leaving"]07:16
-!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has joined #webgui08:08
-!- Haarg [n=haarg@24-196-80-80.dhcp.mdsn.wi.charter.com] has joined #webgui08:42
-!- mode/#webgui [+o Haarg] by ChanServ08:42
-!- ryuu_ro [n=rory@194.171.50.69] has joined #webgui09:02
-!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has quit [Remote closed the connection]09:04
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui09:11
-!- mode/#webgui [+o preaction] by ChanServ09:11
-!- zylopfa [n=zylopfa@port111.ds1-vby.adsl.cybercity.dk] has joined #webgui10:35
zylopfaGreetings10:35
CIA-5WebGUI: jt * r6101 /translations/Danish/ (6 files in 2 dirs): update_from_translation_server11:45
-!- BartJol [n=plainstu@host2.procolix.com] has joined #webgui11:48
-!- dapperedodo [n=dappered@194.171.50.69] has joined #webgui11:52
-!- wgGuest68 [n=wgGuest6@194.171.50.69] has joined #webgui11:58
-!- Radix-wrk [n=Jesse@203.161.68.67] has quit ["Leaving"]12:05
-!- wgGuest68 [n=wgGuest6@194.171.50.69] has quit []12:16
-!- MrHairgrease [n=martin@194.171.50.69] has joined #webgui12:23
-!- mode/#webgui [+v MrHairgrease] by ChanServ12:23
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has quit [Read error: 110 (Connection timed out)]12:29
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui12:49
-!- mode/#webgui [+o apeiron] by ChanServ12:49
-!- wgGuest29 [n=wgGuest2@S010600179ace3ce8.wp.shawcable.net] has joined #webgui12:58
wgGuest29hello12:59
-!- wgGuest29 is now known as _Dalek3_12:59
_Dalek3_I'm having difficulties running modproxy on a non-standard port13:00
_Dalek3_it is reverse proxying the web server running on port 80 instead of the modperl instance13:00
+snapcountis your website hostname resolvable from the server you have apache installed on?13:01
_Dalek3_latest wre and webgui, checked the config file and the settings listed on the website for non standard modproxy ports are in the config13:02
_Dalek3_yes13:02
+snapcountcan you connect directly to the mod_perl instance from your browser?13:03
_Dalek3_yes13:03
_Dalek3_that works just fine.. but I go to the modproxy port and instead I see the port 80 webserver but with the webgui favicon added13:04
+snapcountand your modproxy config file appears correct you said?13:04
_Dalek3_yes13:05
+snapcountwell, if it's proxying to the correct port then even if the name were resolving incorrectly you would not see anything at all13:05
+snapcountthe only way I can see it would proxy to your site on port 80 is if the port is not specified right in sitename.modproxy13:06
+snapcountcan you paste the last couple lines from your modproxy.conf to the pastebin?13:08
_Dalek3_sure, hang on13:08
+snapcountand your modperl as well while you're at it13:08
_Dalek3_ok the last few lines from modproxy are on the pastebin13:09
+snapcountwhat port are you trying to run modproxy on and which port is modperl running on?13:11
_Dalek3_modproxy on 81, modperl on 8213:11
+snapcountk13:11
+snapcounttry commenting these lines out13:12
+snapcountRewriteCond %{HTTP_HOST} :8113:12
+snapcount    RewriteRule ^/(.*) http://%{SERVER_NAME}/$1 [P]13:12
+snapcount7 and 8 in your pastebin13:13
+snapcountand restart modproxy13:13
_Dalek3_ok13:13
+snapcountoh13:16
+snapcountand you will probably have to change HTTP_HOST on line 11 to SERVER_NAME13:17
+snapcountthis stuff is new in this version of the wre13:17
+snapcountand I'm not very familiar with why it was added... if you ask later today someone can probably tell you the "right" way to do this13:17
+snapcountif you make that change though I'm pretty sure it will work fine for you13:18
_Dalek3_ok this is interesting.. I commented those out and now modproxy sits there forever trying to start13:19
_Dalek3_checked the modproxy error log and there is a new error there "DNS lookup failure for: localhost:81 returned by /"13:19
+snapcountwhat happens if you ping localhost from your shell?13:20
_Dalek3_it resolves it correctly to 127.0.0.113:20
+snapcountand if you ping your website hostname from the shell it resolves to the correct ip as well?13:21
_Dalek3_yes13:21
+snapcountthe servername at the top of your modproxy config is correct?13:21
+snapcounti.e., your website host name13:21
_Dalek3_yes13:21
+snapcountdid you make the change I said re HTTP_HOST13:22
_Dalek3_ahh! didn't see that13:23
_Dalek3_ok everything started this time, I will try13:24
_Dalek3_yes! that worked13:25
_Dalek3_thank you13:25
+snapcountnp... like I said though... that may not be the "right" way to fix it13:25
+snapcountthat stuff was added recently and I'm not up to speed on the new wre13:25
+snapcountI would pop in later and ask about it13:25
+snapcountbut glad I could help anyway =)13:26
_Dalek3_yeah I thought that line was probably the cause13:26
_Dalek3_the one you had me comment out13:27
_Dalek3_but I didn't know what to change it to and figured it had to be there for some reason13:27
_Dalek3_heh13:27
+snapcountyeah I'm not sure what the goal is with that13:27
+snapcountdoesn't make sense to me13:27
-!- zylopfa [n=zylopfa@port111.ds1-vby.adsl.cybercity.dk] has quit ["Leaving"]13:43
_Dalek3_I love that new style wizard in the newer webgui releases13:43
-!- snapcount_ [n=royjohns@35.3.101.97.cfl.res.rr.com] has joined #webgui13:43
_Dalek3_I love that new style wizard in the newer webgui releases13:43
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)]13:44
-!- wgGuest16 [n=wgGuest1@82.109.0.34] has joined #webgui13:51
wgGuest16hi - ok im used to designing sites in dremweaver etc...can GUI import the design etc and then add CMS functionality to it ?13:51
wgGuest16if you get me drift13:51
-!- dapperedodo_ [n=dappered@194.171.50.69] has joined #webgui13:52
wgGuest16?13:53
wgGuest16is anyone actually chatting13:56
_Dalek3_wgGuest16 pretty much.. but you will likely want to give your CSS certain names to make things easier13:56
wgGuest16hi13:56
_Dalek3_webgui templates use certain css names by default13:57
wgGuest16MY css file all have names for the divs etc13:57
wgGuest16Iw ouldnt want to use a template13:57
_Dalek3_I don't mean a site template.. article templates and collaboration templates13:57
-!- snapcount__ [n=royjohns@97.101.3.35] has joined #webgui13:58
_Dalek3_they already have the class set for those so that when you do a page template you can use those names and format them without having to change them13:58
wgGuest16oh right i see13:58
wgGuest16could i alter these templates to suit my design style of the site13:58
wgGuest16images layout etc13:58
_Dalek3_of course.. they can all be altered.. but I think it usually makes sense to build the site around the default template set and alter them as you need.. make sure you don't change the originals, make a copy if you want to change it13:59
_Dalek3_otherwise webgui upgrades will overwrite your changes13:59
-!- snapcount [n=royjohns@35.3.101.97.cfl.res.rr.com] has quit [Read error: 110 (Connection timed out)]13:59
_Dalek3_I lost a few template customizations that way13:59
-!- snapcount [n=royjohns@35.3.101.97.cfl.res.rr.com] has joined #webgui14:00
-!- mode/#webgui [+v snapcount] by ChanServ14:00
wgGuest16Im used to designing sites from scratch within dreamweaver etc and I have one site that I would like to add a CMS news feature to - so they can update this page themselves14:01
wgGuest16so if im right in thinking webgui - import the pages into webgui and the create a news section for them 14:01
wgGuest16?14:01
_Dalek3_you use the collaboration system for news or forums14:02
_Dalek3_it is the same system used for both with a series of templates used to control the look and feel14:02
_Dalek3_the collaboration templates are probably the next things after the page templates that you'll want to customize in webgui but it's best to start with the page and use the CSS names that you see in the page source the assets get auto stamped with14:03
wgGuest16I know what im trying to say but trying to say it lol isnt easy14:04
wgGuest16Ok i have a 5 page site14:05
wgGuest16basic blah blah blah14:05
wgGuest16but the news page could do with a feature so they can just add stuff to it 14:05
wgGuest16could i import the site once its designed in dreamwevaer and the add features to it in GUI14:05
_Dalek3_right, but it's best to design it with webgui in mind at first in dreamweaver when it comes to your css naming14:06
_Dalek3_you will make life easier for yourself when you want to import it14:06
wgGuest16yeah thats cool14:06
wgGuest16i get the css name stamping needs to be the same14:06
_Dalek3_I would suggest installing the wre on your pc and create some assets that you may/will want on the site and see what the names are in the source code, and make your css match from the beginning14:07
wgGuest16yeah, just add the code to my css ?14:09
-!- dapperedodo [n=dappered@194.171.50.69] has quit [Read error: 110 (Connection timed out)]14:10
_Dalek3_yeah.. or you may find that it has default names for things that you already gave codes for14:11
_Dalek3_like headings etc14:11
wgGuest16yeah so basically find a news feature, create a basic page, look at the css page then copy the code into my css page and other code needed into the xhtml file and sorted14:13
_Dalek3_you can change your css to match webgui or you can change webgui to match your css, the first option is usually less work14:13
_Dalek3_yeah pretty much14:13
-!- snapcount_ [n=royjohns@35.3.101.97.cfl.res.rr.com] has quit [Read error: 110 (Connection timed out)]14:14
wgGuest16sweet14:14
wgGuest16thanks for the help hopefully this cms will help me with other cms projects14:14
-!- snapcount__ [n=royjohns@97.101.3.35] has quit [Read error: 110 (Connection timed out)]14:16
_Dalek3_it is pretty much the most configurable CMS14:16
_Dalek3_you aren't locked in to a specific site structure and look and feel like with most others14:17
_Dalek3_you can also hide options from novice users to make it easier for them to do site updates14:17
wgGuest16so how would my client update their page ?14:18
_Dalek3_they would log in to it.. they can add news articles after just logging in.. if they want to change the text on a page, they would click "turn admin on" and then edit buttons appear for everything14:19
+snapcountI would checkout the demo site if you haven't already14:19
+snapcountdemo.plainblack.com14:19
wgGuest16i see now14:23
wgGuest16going to have to have  aplay around with it14:23
wgGuest16someone is trying to charge a mate of mine £1000 for a cms 14:25
wgGuest16this one looks good  enough14:27
wgGuest16for free14:27
BartJolwe think it is :)14:28
+MrHairgreasewe _know_ it is14:28
BartJol:p14:28
wgGuest16ill have to have a play and see how it goes if i can import my site then add features to it then thats great !14:31
BartJolok we'll see you around then14:35
wgGuest16Im sure you will :) Ive justs aved someone £100014:36
wgGuest16thanks for your help guys14:46
BartJolnp14:46
-!- br4k3r [n=8389dbc6@bas3-ottawa10-1279549458.dsl.bell.ca] has joined #webgui15:09
br4k3rsup d00ds15:09
BartJolhi15:15
BartJoli'm fine15:15
br4k3rsweet15:23
br4k3ryou wouldn't happen to know how to do image maps in wG would ya15:23
BartJoldepends on what you want to know, but it isn't my prime subject15:25
+MrHairgreaseimage maps are just html15:26
+MrHairgreaseso you can use them in webgui as you would on any age15:27
+MrHairgreasepage*15:27
BartJoloh, bit numbed by manually renumbering tables...15:27
BartJolbut i didn't use it yet15:28
br4k3rso theoretically I can make it up in Dreamweaver, and paste it in?15:42
br4k3rcat's ass... i never thought of that15:44
wgGuest16does webgui have to be nstalled on the hosting server ?15:52
br4k3ryou will need shell access to your hosting server15:54
+MrHairgreasewgGuest16, you'll need root access to your server15:54
+MrHairgreaseor15:54
+MrHairgreaseyou can let a dedicated webgui hoster set stuff up for you15:54
+MrHairgreaseplainblack obviously does webgui hosting15:55
+MrHairgreaseand procolix does too15:55
+MrHairgreaseprocolix is based in the Netherlands15:55
+MrHairgreaseplainblack is based in the US15:55
wgGuest16ok ta15:55
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui16:01
-!- wgGuest16 [n=wgGuest1@82.109.0.34] has quit []16:02
-!- estiven [n=estiven@201.232.58.66] has quit [Read error: 113 (No route to host)]16:34
-!- estiven [n=estiven@201.232.58.66] has joined #webgui16:35
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui16:39
-!- mode/#webgui [+o preaction] by ChanServ16:39
-!- topsub [n=josh@97.66.185.250] has joined #webgui16:43
-!- BartJol [n=plainstu@host2.procolix.com] has left #webgui []16:57
-!- dionak [n=diona@97.66.185.250] has joined #webgui17:02
-!- br4k3r [n=8389dbc6@bas3-ottawa10-1279549458.dsl.bell.ca] has quit ["CGI:IRC (EOF)"]17:03
-!- Haarg [n=haarg@24-196-80-80.dhcp.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"]17:03
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui17:14
-!- mode/#webgui [+o rizen] by ChanServ17:14
-!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui17:18
-!- mode/#webgui [+o Haarg] by ChanServ17:19
-!- _Dalek3_ [n=wgGuest2@S010600179ace3ce8.wp.shawcable.net] has quit []17:29
topsubmorning everyone17:36
topsubrizen, just for you i started converting my ajax inline editor to use YUI instead of jquery....17:38
topsubwhich is a challenge.. but i am doing it17:38
@rizenwahoo!!!17:40
-!- ryuu_ro [n=rory@194.171.50.69] has quit []17:41
@rizenyou know, you'll actually get a little bit of a performance boost by doing that17:44
topsubwhen calling "addChild" i would like to populate Summary inside the MetaData tab.. do i need to do this from the metadata? Can't find this field in the database?17:44
@rizencuz chances are that the yui libraries will already be cached in the user's browser from the rest of webgui17:44
topsubrizen, really?17:44
topsubah true17:45
topsubits a challege because in jquery to add a listener its simple17:45
topsubyui seems to only let you add a listener to div ids17:45
@rizenit's also simple in yui17:45
topsubnot divs with classes17:45
topsubif u can i haven't found it yet.. still learning YUI.. use to jquery17:45
-!- snapcount [n=royjohns@35.3.101.97.cfl.res.rr.com] has quit []17:45
@rizento add metadata to an asset you do17:46
@rizenmy $newasset = $someasset->addChild();17:46
@rizen$newasset->updateMetaData($fieldId, $value);17:46
topsubis summary concidered metadata?17:47
@rizenno the field name is "synopsis"17:47
topsubahhhh17:47
topsubalright so its in assetData table17:47
topsublittle confusing since its summary on the front end17:47
@rizenonly the human readable label is summary, because apparently people are so illiterate they didn't know what a synopsis is17:47
topsublol17:48
-!- MrHairgrease [n=martin@194.171.50.69] has left #webgui []17:48
topsubbut ya with jquery i can do.. ya jquery is like.. $("div.content").dblclick(function () {}....   i put lsitener on the div.content fields17:49
topsubseems with YUI i have to put it on a div with an ID.... Event.on('contentArea', 'dblclick', function(ev) {}17:50
topsubthen use YUI to detect weret he mouse is and see if div.content is wrapped around were the moused clicked17:50
topsubkinda were i left off last night17:50
topsubso its interested.. just alot of reading docs17:50
-!- lisette [n=liraos@201.232.58.66] has joined #webgui17:53
lisettehello17:53
lisetteanybody know if the survey_id is keep in the session?17:54
@rizenits not lisette, and in 7.5 it doesn't exist anymore17:54
-!- dionak [n=diona@97.66.185.250] has quit []17:55
lisettemmm, then... how to do to get the surveyId in a macro, do you know?17:59
topsubon line 15 in pdf2txt.pl ( /data/wre/bin ) believe there is a bug. it trys to call "preregs/bing/pdftotxt" but the file is pdftotext based on looking int he directory its trying to call18:15
ckotili had a similiar issue in my setup. its an easy fix18:17
ckotillately i noticed pdf2txt spewing errors about not being able to read pdf v 1.6 files18:17
ckotilwhich should also be an easy fix, just haev to upgrade xpdf.18:17
lisette?18:24
-!- dapperedodo_ [n=dappered@194.171.50.69] has quit []18:26
-!- dapperedodo [n=dappered@194.171.50.69] has joined #webgui18:27
-!- wgGuest31 [n=wgGuest3@66-202-165-66.rev.knet.ca] has joined #webgui18:31
wgGuest31hey18:31
wgGuest31I forget, how do I set the uilevel for certain assets in the .conf file?18:31
wgGuest31override the uilevel rather18:32
wgGuest31I know I did it once before but I don't remember how18:34
@preactionwgGuest31, look at etc/WebGUI.conf.original18:37
@preactionit has instructions18:37
wgGuest31ahh!18:37
wgGuest31thanks18:44
-!- dapperedodo [n=dappered@194.171.50.69] has quit [Read error: 110 (Connection timed out)]18:45
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has joined #webgui18:51
-!- mode/#webgui [+v perlDreamer] by ChanServ18:51
lisettehow to do to get the surveyId in a macro, who knows?19:05
-!- dionak [n=diona@97.66.185.250] has joined #webgui19:08
perlmonkey2I've burned 3 hours this morning not finishing up the slider questions in the survey.  And even though I really hoped it would magically finish itself, it didn't.19:11
perlmonkey2last questions to complete and I burn out right before the finish line.  Story of my life.19:12
-!- topsub [n=josh@97.66.185.250] has quit ["Konversation terminated!"]19:18
+perlDreamerpacing, perlmonkey2.  Take a break every hour for 5 minutes19:21
+perlDreamerlisette, you can't.  You'd have to pass it into the macro as a parameter19:21
perlmonkey2oh I just saw my face on the wb halo......now I'm all fired up to finish the survye cause that was just dang cool.19:23
perlmonkey2wg halo I mean.19:23
lisettehow?19:23
+perlDreamerwell, let's look at the problem.19:24
lisettei mean19:24
+perlDreamerYou want the macro in one of the Survey templates?19:24
lisettei need the survey id of the survey that the user do in this moment19:25
+perlDreamerright, so it is in one of the survey templates19:25
lisettei know how to do get the parameter19:25
+perlDreamergood, it's a template variable, right?19:25
+perlDreamerso, in the template you would put this ^myMacro(<tmpl_var Survey_id>);19:26
+perlDreamerthis works because template variables are replaced before macros are evaluated in the templates19:33
lisettethanks :D19:33
-!- topsub [n=josh@97.66.185.250] has joined #webgui19:52
-!- lisette [n=liraos@201.232.58.66] has quit [Read error: 104 (Connection reset by peer)]20:50
-!- estiven [n=estiven@201.232.58.66] has quit [Read error: 110 (Connection timed out)]21:53
-!- estiven [n=estiven@201.232.58.66] has joined #webgui21:54
-!- dionak [n=diona@97.66.185.250] has quit []21:57
-!- dionak [n=diona@97.66.185.250] has joined #webgui22:00
topsubits quiet today..22:05
-!- crythias [n=gyoung@fl-69-68-148-96.sta.embarqhsd.net] has joined #webgui22:44
-!- mode/#webgui [+v crythias] by ChanServ22:44
diakoptercrythias: make it loud in here22:44
-!- dionak [n=diona@97.66.185.250] has quit []22:57
-!- snapcount [n=royjohns@andc-fw1.exploreos.com] has joined #webgui22:57
-!- mode/#webgui [+v snapcount] by ChanServ22:58
-!- dionak [n=diona@97.66.185.250] has joined #webgui22:58
+perlDreamerit only gets loud when people have problems or we daydream23:02
+perlDreamereverybody must be busy today23:02
@rizenit's loud. so LOUD!. Make it L-O-U-D-E-R!23:03
+perlDreamerThere once was a smiling young girl from Niger23:03
+perlDreamerWho went for a ride on the back of a tiger23:03
+perlDreamerAt the end of the ride23:03
+perlDreamerThe girl was inside23:03
+perlDreamerand the smile was on the face of the tiger23:04
@rizenWhat has four legs in the morning, two legs in the afternoon, and three legs in the evening?23:04
+perlDreamerYou are not a sphinx.23:04
+perlDreamerI've seen your head.23:05
-!- dionak [n=diona@97.66.185.250] has quit []23:05
@rizenWhat is this: WORLD WORLD WORLD WORLD WORLD WORLD WORLD23:05
+perlDreamerthe output of perl -e 'print qw/WORLD / x 7' ?23:06
@rizennope23:06
+perlDreamerSteve Ballmer talking about world domination?23:09
@rizenworld series23:10
@rizenWhat is this: 0/tv23:10
+perlDreamerNothing on tv23:11
@rizenindeed23:11
@rizensee you're catching on23:11
+perlDreamerA box without handles, hinges or lid23:11
+perlDreameryet inside golden treasure is hid23:11
+perlDreamerwhat is it?23:12
@rizeni'm apparently dum23:13
+perlDreamerI'm stealing from Tolkien23:13
+perlDreamerDoes that give you a clue?23:13
@rizennope23:14
+perlDreamerIt's an egg23:14
@rizenah23:14
@rizenyou did the quote wrong23:15
@rizenA box without hinges, key, or lid, yet golden treasure inside is hid23:15
@rizenbut i still wouldn't have gotten it23:16
@rizen=)23:16
@rizenA man walks up to you and says - "everything I say to you is a lie." Is he telling you the truth or is he lying?23:18
* perlDreamer head spins23:20
* perlDreamer infinite recursion found, aborting23:20
-!- topsub [n=josh@97.66.185.250] has quit [Remote closed the connection]23:20
@rizenhe's lying23:20
@rizenEven though he's lying when he says "everything" he says is a lie, some of the things he says can be a lie, and this is one of them.23:21
@apeironWhile that statement may not be true, it is not representative of *all* statements.23:21
@rizenA woman has 7 children and half of them are boys, how is this possible?23:22
+perlDreamerThe pronoun them refers to the woman and her 7 children. So she has 3 daughters23:24
@rizenHint, I love using this riddle on my nieces because you can just replace the nouns and it's a whole new riddle.23:24
@rizenHere's the same riddle put another way23:24
@rizenand you're wrong23:24
@rizenI have three coins totally 55 cents, and one of the coins is not a nickle, what are the coins?23:24
+perlDreamerTwo quarters and a nickel23:25
@rizenexactly23:25
@rizenso now what about the one above?23:25
+perlDreamerShe has 4 boys (or more)23:25
@rizenyup...they're all boys23:25
@rizenit gets them every time23:26
@rizenyou should try it on your boys23:26
-!- topsub [n=josh@97.66.185.250] has joined #webgui23:26
+perlDreamerI will, unless you want to save it for July23:26
@rizenooh, or i should try it on topsub23:26
topsubquestion.. when you delete a file asset when does it get removed from the disk23:26
+perlDreamerDelete sends it to the trash23:27
@rizeni file asset, or an attachment?23:27
topsubfile asset23:27
topsublike hwen i import all these pdfs23:27
@rizenwhen the purge method is called23:27
+perlDreamerRemove from trash purges it, which removes all version immediately23:27
@rizenwhich is when the trash is emptied23:27
topsubeven from disk 23:27
topsub?23:27
+perlDreamercheck out Asset::File's purge method23:27
@rizenit only gets removed when purge() is called23:27
topsubdoes purge clear both user and system trash?23:28
+perlDreamerpurge is an API level call23:28
+perlDreamerused when trash is cleared23:28
@rizenpurge is an asset call23:28
+perlDreamerregardless of the method23:28
@rizeneach asset is purged23:28
@rizenindividually23:28
@rizenuser and system trash is just an interface thing23:29
@rizenthey aren't actually two things23:29
@rizenthere's only one trash23:29
+perlDreamertopsub, are these informational questions, or are you seeing funny stuff you don't grok?23:29
+perlDreamerFrom a user level, I thought they should be called My Trash, and Everyone's Trash23:29
+perlDreamerbut that's just semantics23:30
@rizenthat's a good idea23:30
@rizenyou should update i18n23:30
topsubtesting an import script that imports pdfs23:30
topsubinto webgui23:30
+perlDreamerrizen, I'll do it in 7.5 HEAD23:30
@rizentopsub, now that we've answered your questions, you have to answer one for me: 23:30
@rizenA woman has 7 children and half of them are boys, how is this possible?23:30
topsub4 boys23:31
@preactionXXY? YYX?23:31
topsub3 girls + mom = 423:31
@rizennope23:31
+perlDreamerthem refers to the last object of a sentence, the 7 boys23:31
@rizendamn it pd23:32
@apeironIf we're going to be pedantic, there is only one object.23:32
@rizenthe 7 children23:32
@rizenyou're supposed to say23:32
@rizennot the 7 boys23:32
@rizenyou just gave it away23:32
+perlDreamercrap23:32
* perlDreamer goes to get the iron again23:32
@rizenyou're off the hook this time topsub, but i'll get you23:33
@preactionif at least 4 of them were boys you could say half of them were boys23:33
+snapcountif you're sailing through the desert and the wheels fall off your boat... how many pancakes will it take to shingle a doghouse?23:34
+snapcountthat's the only riddle I know23:34
+perlDreamer0.  You shingle a doghouse with waffles23:35
+perlDreamerEveryone knows that23:35
@rizeni know a similar one23:35
+snapcounthah - nice perldreamer23:35
+snapcountusually people just look at me like a special kid waiting for the bus23:36
+snapcounthappens more than you would think actually23:36
+snapcount=)23:36
@rizenHow long would it take a grasshopper with a wooden leg to kick all the seeds out of a dill pickle?23:36
+snapcount1. None... because ice cream has no bones.  That's my favorite answer23:36
diakopterthey look at you like you're the special kid waiting for the bus, or they look at you like a special kid waiting for the bus [looks at you]23:37
@rizenA boy was at a carnival and went to a booth where a man said to the boy, "If I write your exact weight on this piece of paper then you have to give me $50, but if I cannot, I will pay you $50."23:37
@rizenThe boy looked around and saw no scale so he agrees, thinking no matter what the carny writes he'll just say he weighs more or less.23:37
@rizenIn the end the boy ended up paying the man $50. How did the man win the bet?23:37
+snapcountthe carny asked him how much he weighed before he wrote it down on the paper23:39
diakopterthe boy was the carny's twin?23:41
@rizen"your exact weight"23:41
@rizen3 words on the paper23:41
@preactionRearrange the letters in "NEW DOOR" to form one word23:43
CIA-5WebGUI: yung * r6102 /WebGUI/docs/upgrades/upgrade_7.5.9-7.5.10.pl: Converting Thingy's field types to upper case first23:43
CIA-5WebGUI: jt * r6103 /translations/Spanish/ (10 files in 2 dirs): update_from_translation_server23:43
CIA-5WebGUI: colin * r6104 /WebGUI/lib/WebGUI/i18n/English/WebGUI.pm: Change the labels for Trash to My Trash and Everyones Trash23:43
diakopter:P one word23:43
+snapcountdamn it23:44
+snapcountdamn rizen... you're picking spanish up pretty quick hombre23:44
+snapcount=)23:45
-!- topsub [n=josh@97.66.185.250] has quit [Remote closed the connection]23:46
@rizenhola23:46
@rizenque23:46
@rizenque pass hombre23:46
@rizenpasa23:46
@rizentaco23:46
@rizenburrito23:46
@rizenchichis23:47
@preaction?donde esta la fiesta?23:47
@rizendonde esta te carne23:48
@apeiron¿, dammit, preaction 23:48
@rizendonde esta carne23:48
+snapcountdonde esta el bano... el queso es vieja y ongo23:48
@rizenesta rata23:48
+snapcountI screwed that up I think23:48
@preactionthis is a rat burger?23:48
@rizensi23:48
@rizenoh wait, i said where is this meat23:54
@rizenqué es esta carne23:54
+perlDreamerEste es carne de pollo23:55
+perlDreamerEl dice con una sonrisa muy grande23:55
@rizenno! esta rata23:55
+perlDreamerEs usted una mentira.  Este es carne de pollo23:56
+perlDreamerYo mato el pollo ayer23:56
@rizenNo! mato la rata con un martillo23:58
+perlDreamerPrefiero usar un cuchillo grande23:58
@rizenun martillo grande es mejor23:59
--- Day changed Fri Apr 11 2008
+perlDreamerPorque son mis pruebas automaticas rotos?00:00
+perlDreamerNadie se usa no mas00:00
-!- dapperedodo [n=dappered@ip56503e61.direct-adsl.nl] has joined #webgui00:01
@rizenun martillo grande ablanda la carne00:01
@rizenno00:01
@rizenyou realize of course that i'm using babelfish to do this00:02
@rizen=)00:02
@rizenthe only spanish word i know is taco00:02
@rizen=)00:02
+perlDreamerbabelfish is good, I also like translate.google.com00:04
* perlDreamer suspects estiven is either laughing or crying over this abuse of Spanish00:04
nubahes not alone in that00:06
-!- SynQ [n=koen@e97024.upc-e.chello.nl] has joined #WebGUI00:06
+perlDreamerpues, esta usted llorando o sonriendo, nuba?00:06
SynQyahoo!00:07
+perlDreamerI have to learn how to type i18n in this thing00:07
SynQI have submitted a t-shirt design00:07
nubajust amused00:07
nubaits fun to watch00:07
SynQI'm so proud of myself00:07
SynQhi nuba00:07
SynQcolin00:07
nubahi koen00:08
+perlDreamerhey, koen00:08
+perlDreamerI guess it's not online yet?00:08
@rizenkristi is sick00:08
@rizenso it won't be online for a while00:08
SynQoh no00:08
+snapcountEl un perro eyed smelly es rodillo que patina con una arma de mano grande por la granja.00:09
@rizenher whole house is infected with the plague00:09
SynQwho is replacing kristi while she is sick?00:09
+perlDreamerSynQ, maybe you can get us a sneak peek.00:09
@rizenall 3 kids and her and her husband00:09
SynQI most definately can00:09
SynQI can put it on the webgui site00:09
SynQin the user submission part00:09
@rizennobody for now because nothing she's doing is pressing00:09
* nuba is working out at the gym too, now00:10
nubatrying to put a stop in 10 yeas of sedentary geekiness00:10
nubaperlDreamer was inpirational in that matter00:10
nubafigured he's a great hacker, and works out, that must be somewhat related00:10
nuba:D00:11
SynQrizen: shall I upload it in the Miscellanious section?00:11
+perlDreamerkaleb murphy?  Who's that? :)00:12
@rizensure, or gooey on the go00:12
@rizenif it has a gooey in it00:12
@rizenor flickr00:12
SynQit is now being uploaded00:12
-!- jua1 [n=juangui@201.232.58.66] has joined #webgui00:13
jua1hello00:13
SynQhttp://www.webgui.org/user_contributions/user_contributions/miscellaneous/wuc-2008-t-shirt-contest-submission-koen00:13
SynQthere it is :)00:13
jua1if i have around 200 pending version tags, can i commit them by console?00:13
+perlDreamerjua1: Spectre should handle them, are you sure that it's running correctly?00:14
jua1the thing is that i have then in the admin console00:15
@rizeni think he's saying they are pending as in have not been commited for spectre to work on yet00:15
+perlDreamerouch00:15
jua1how can i run them?00:16
+perlDreamer1) Find the people who have not been committing their tags and punish them severely :)00:16
+perlDreamer2) Write a small script which finds in the db the tags which are pending,00:17
+perlDreamercreates WebGUI::VersionTag objects for each one00:17
+perlDreamerand then calls the commit method on each object00:17
SynQperlDreamer: what do you think of my T-shirt design?00:17
@rizentoo many gradient shades. won't print well on a t-shirt00:17
@rizenwould be better for a poster00:18
SynQhmm00:18
SynQshit00:18
+perlDreamerI love the design.  Very cool.00:18
+perlDreamerI would let my wife wear it00:18
jua1all of them have the admin users as a owner00:19
SynQI'll have another go at it00:19
SynQbut not today00:19
+perlDreamerjua1: I was joking about #100:19
+perlDreamerbut you'll need a script for #2 for sure00:19
SynQat least it is submission # one00:19
SynQnow it's time for bed00:20
SynQnite00:20
-!- wgGuest31 [n=wgGuest3@66-202-165-66.rev.knet.ca] has quit []00:22
jua1ok00:24
@HaargperlDreamer, can you help me out with PseudoRequest for a bit?00:27
+perlDreamerYou bet, Haarg00:37
+perlDreamerI'm doing some cosmetic surgery on a schematic, so I might be slow in answering00:37
@Haargt/Session/Output.t calls print a bunch of times on the output object00:37
@Haargit seems like for each one, it recreates the PseudoRequest00:38
+perlDreamerlet me flip back to 7.500:39
@Haargthe test is broken right now because it's testing STDOUT00:40
@Haargbut it isn't outputting to STDOUT anymore00:40
+perlDreamerand PseudoRequest doesn't have print method, either00:42
@Haargyeah00:42
@Haargi was trying to add that and have it store the results00:43
@Haargi'm just not finding why there's a new PseudoRequest for each call to print00:43
+perlDreameryou mean a new object?00:44
+perlDreamereach time print is called?00:44
@Haargthat's what i'm seeing00:44
+perlDreamerhow do you tell that there's a new object?  Are you testing its memory address?00:45
@rizenmy tshirt design (though I'm not eligible): http://www.webgui.org/webgui/campaigns/gooey-on-the-go/gooey-has-wings#3WyDder0Y0jzUba_gpR50Q00:45
+perlDreamerThe image "http://www.webgui.org/uploads/FO/p4/FOp4kDBd12TO-mC1YYtgHA/gooey-has-wings.jpg" cannot be displayed, because it contains errors.00:45
@Haargyeah, i was just printing out $self in the print method i created with a warning00:45
@rizenweird00:46
+perlDreamerway00:46
@Haargworks here00:46
+perlDreamercan you nopaste me a patch00:47
+perlDreamer(this would be a good reason for me to learn git....)00:47
@Haargi meant the image00:47
-!- dapperedodo [n=dappered@ip56503e61.direct-adsl.nl] has quit []00:47
+perlDreamerNow I get "not found"00:48
@rizenfixed00:48
@rizeni replaced the image00:48
+perlDreamerthanks00:48
@rizengo back to the link i gave00:48
+perlDreamerYes, I see it now00:48
@Haargthis is what i was trying to do: http://pastebin.ca/98025900:50
+perlDreamerthat's pretty straight forward code00:52
@Haargyeah, but each $output->print call seems to generate a new request00:53
+perlDreamer...patching00:55
+perlDreamerhave you run a syntax check on the file?00:55
+perlDreamerPseudoRequest?00:55
@Haargyeah00:56
+perlDreamerI have a suspicion that the second my in print is stomping on the object00:56
@Haargand the code gets called fine00:56
+perlDreamersince you can't my a hash key00:56
@Haargheh00:56
@Haargthat's probably it00:57
@Haargyeah00:57
+perlDreamerthat is it?00:57
@Haargyep, thanks.  dumb mistake.00:57
+perlDreamerYou're welcome.00:58
+perlDreamerThank you for fixing the tests.00:59
perlmonkey2bah, the yui sliders are bugged...01:11
perlmonkey2luckily I can turn off event handling easily enough and do my own.01:17
-!- jua1 [n=juangui@201.232.58.66] has left #webgui []01:25
+perlDreamerestiven: if juan needs help with that script, I can help him a little tomorrow01:28
-!- snapcount [n=royjohns@andc-fw1.exploreos.com] has quit []01:31
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has left #webgui []01:38
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has joined #webgui01:38
-!- mode/#webgui [+v perlDreamer] by ChanServ01:38
CIA-5WebGUI: graham * r6105 /WebGUI/ (3 files in 3 dirs): fixed: gateway macro not usable in links in rich editor01:46
CIA-5WebGUI: graham * r6106 /WebGUI/ (4 files in 4 dirs): fixed: iCal feeds don't update properly when events are changed01:46
CIA-5WebGUI: graham * r6107 /WebGUI/ (docs/changelog/7.x.x.txt lib/WebGUI/AssetLineage.pm): fixed: getLineage with joinClass only joins first table in definition01:46
CIA-5WebGUI: graham * r6108 /WebGUI/t/ (lib/WebGUI/PseudoRequest.pm Session/Output.t Session/Style.t): fixing tests for new output method01:46
CIA-5WebGUI: graham * r6109 /WebGUI/docs/create.sql: preparing for 7.5.10 release01:46
CIA-5WebGUI: jt * r6110 /releases/WebGUI_7.5.10-beta: Release 7.5.10-beta01:46
-!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"]02:02
CIA-5WebGUI: graham * r6111 /WebGUI/lib/WebGUI.pm: make sure RequestIO is loaded02:12
CIA-5WebGUI: jt * r6112 /releases/WebGUI_7.5.10-beta/WebGUI: Release 7.5.10-beta02:12
CIA-5WebGUI: graham * r6113 /WebGUI/ (4 files in 4 dirs): preparing for 7.5.11 dev02:12
-!- snapcount [n=royjohns@andc-fw1.exploreos.com] has joined #webgui02:31
-!- mode/#webgui [+v snapcount] by ChanServ02:31
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has quit ["Download Gaim: http://gaim.sourceforge.net/"]02:43
CIA-5WebGUI: colin * r6114 /WebGUI/t/lib/WebGUI/PseudoRequest.pm: add POD to PseudoRequest. Also, refactor initializing the cached print values02:44
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [No route to host]03:09
-!- snapcount [n=royjohns@andc-fw1.exploreos.com] has quit []03:26
-!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui03:30
-!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui03:46
-!- mode/#webgui [+v Radix-wrk] by ChanServ03:46
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui04:16
-!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has quit []05:32
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit ["Leaving"]05:47
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit []05:55
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [Read error: 113 (No route to host)]06:57
-!- dapperedodo [n=dappered@194.171.50.69] has joined #webgui08:17
-!- dapperedodo [n=dappered@194.171.50.69] has quit []08:32
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui09:36
-!- mode/#webgui [+o preaction] by ChanServ09:36
-!- Haarg [n=haarg@24-196-80-80.dhcp.mdsn.wi.charter.com] has joined #webgui09:42
-!- mode/#webgui [+o Haarg] by ChanServ09:42
-!- BartJol [n=plainstu@host2.procolix.com] has joined #webgui10:46
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)]11:33
-!- Radix-wrk [n=Jesse@203.161.68.67] has quit ["Leaving"]11:53
-!- CIA-51 [n=CIA@208.69.182.149] has joined #WebGUI12:57
-!- CIA-51 [n=CIA@208.69.182.149] has quit [Excess Flood]12:57
-!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: @Haarg, ckotil, perlbot, BartJol, SynQ, steveo_aa, metanil, SDuensin, +Radix_, @apeiron12:58
-!- Netsplit over, joins: @Haarg, BartJol, SynQ, @apeiron, perlbot, ckotil, steveo_aa, +Radix_, SDuensin, metanil12:59
-!- CIA-51 [n=CIA@208.69.182.149] has joined #WebGUI13:00
-!- CIA-5 [n=CIA@208.69.182.149] has quit []13:02
-!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has quit ["Windows doesn't have users, it has hostages."]13:20
-!- BartJol [n=plainstu@host2.procolix.com] has quit [Read error: 113 (No route to host)]13:46
-!- BartJol [n=plainstu@host2.procolix.com] has joined #webgui14:06
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui14:39
-!- estiven [n=estiven@201.232.58.66] has left #webgui []14:55
-!- SynQ [n=koen@e97024.upc-e.chello.nl] has quit [Read error: 104 (Connection reset by peer)]15:11
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui15:18
-!- br4k3r_ [n=8389dbc6@bas3-ottawa10-1279549458.dsl.bell.ca] has joined #webgui15:23
br4k3r_mornin d00ds15:23
br4k3r_is there any repository to find the perl modules for wG in one stop15:23
-!- dionak [n=diona@97.66.185.250] has joined #webgui15:26
-!- br4k3r_ is now known as br4k3r15:29
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui15:34
-!- br4k3r [n=8389dbc6@bas3-ottawa10-1279549458.dsl.bell.ca] has left #webgui []15:41
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit [Remote closed the connection]16:09
-!- dionak [n=diona@97.66.185.250] has quit []16:14
-!- dionak [n=diona@97.66.185.250] has joined #webgui16:16
-!- doc777 [n=Doc@10.187-available-ethint-fratm-cc.sccoast.net] has joined #webgui16:24
doc777I have a hopefully simple question that maybe someone can help me with... I am trying to write a macro to query a DB and I need to format the data in fields but I seem to get the entire row. Can anyone point me to an example of what to use after "while (@data = $sth->array) {"16:28
perlmonkey2doc777: are you using the wG api for your db calls, or just dbi?  looksl ike dbi.16:30
doc777Well, I started with the SQLExt.pm as a base....16:31
doc777I am using use WebGUI::DatabaseLink; and WebGUI::SQL;16:34
perlmonkey2doc777: there are several methods in there...you probably want the arrayrefofhashrefs16:35
perlmonkey2that brings back an array ref and each node is a hash ref where the keys are your column names in the selec.t16:35
doc777Aha, yes was trying with array_ref but gave me undefined bla bla ;)16:36
perlmonkey2->db->buildArrayRefOfHashRefs(16:36
doc777Ok, let me go research that. Maybe that is the missing link. ;)16:36
perlmonkey2you should be able to munge the results anyway you want from almost any of the calls.  i think only a couple of methods only return the first row/node.16:37
doc777Trying to migrate a mason / perl site over and it has a lot of DB calls. I am thinking macros would be the proper way to go correct?16:38
perlmonkey2if it is a large site, I'd probably go with its own wobject.  But without knowing more about it, I can't say.16:39
perlmonkey2macros always seemed like they were for small one-off tasks.  That anything with mroe than one step/set of logic shoudl be in a wobject.16:40
doc777Its not that many pages but centers around a media database basically. The pages display the latest recordings with play and download buttons. 10 minutes an experienced wGer. Week for me ;)16:40
perlmonkey2oh...in that case macros might be just fine and the easiest solution.16:40
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui16:41
-!- jfluhmann [n=jfluhman@x171y235.angelo.edu] has joined #webgui16:51
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui16:54
-!- mode/#webgui [+o rizen] by ChanServ16:55
-!- Haarg [n=haarg@24-196-80-80.dhcp.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"]17:06
-!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui17:22
-!- mode/#webgui [+o Haarg] by ChanServ17:22
-!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has quit [Client Quit]17:22
doc777Can anyone tell me the proper way to map array data to fields with WebGUI::DatabaseLink Something like:17:50
doc777while (@data = $sth->array) {17:50
doc777my $id = $data[$1];17:50
doc777my $speaker_id = $data[$2];17:50
-!- wgGuest81 [n=wgGuest8@user-514d1a56.l3.c1.dsl.pol.co.uk] has joined #webgui18:01
BartJolgood afternoon18:02
wgGuest81hello18:02
wgGuest81is the If macro still in existence?18:02
BartJolI  don't see it in my table with available macros18:03
BartJolbut i'll check the add-ons18:03
BartJolyou can download it on18:04
BartJolhttp://www.webgui.org/if_macro#wU6ddC2BwcjvopR2AUTkhw18:04
@rizendoc777 either do:18:05
@rizenwhile (my ($id, $speaker) = $sth->array) {18:05
@rizenor do18:05
BartJolthe locomotion?18:05
@rizenwhile (my %data = $sth->hash) {18:06
wgGuest81thanks18:06
@rizenthe if macro no longer exists in webgui18:06
@rizenit's dangerous and bad18:06
wgGuest81oh18:06
doc777Thank you rizen. I will go test this.18:06
wgGuest81i was trying to test whether a navigation had any output - what might be a good way to do that?18:07
@rizenuse the if in the template18:08
@rizenthere are 3 template engines you can use18:08
@rizeneach with more power18:08
@rizenyou start with HTML::Template18:09
@rizenbut then you can also use HTML::Template::Expr and Template Toolkit18:09
@rizensee WebGUI.conf.original for how to enable them18:09
BartJoloh rizen, good news, Koen is the new chairman of the dutch webgui association18:09
* wgGuest81 goes and looks18:09
@rizenwhy is that bad news?18:09
wgGuest81thanks18:09
@rizenyw18:10
BartJolgood18:10
@rizenoh good news18:10
@rizensorry brain not firing on all synapses today18:10
BartJoli'm not always sarcastic18:10
@rizenso what does that mean for the rest of the webgui world?18:10
BartJolwell, the drink yesterday was a good one18:10
BartJolwell, he's the iceberg and webgui is the titanic18:11
BartJol:)18:11
@rizenthat's no good18:12
BartJolwell, probably a more company set of mind18:12
@rizeni'd rather he be hitler and webgui be the allies18:12
@rizen=)18:12
BartJolhe wants companies to join the association in addtion to people18:12
@rizenthat seems smart to me18:13
BartJolkoen is no hitler, maybe a che18:13
BartJolgood intentions18:13
@rizeni was actually kidding18:13
BartJoland the results....18:13
BartJolme to18:13
@rizeni'd rather koen be churchill and webgui be the allies18:14
@rizenand joomla should be hitler18:14
@rizen=)18:14
perlmonkey2any ideas on why an html form would be instantly closing itself automagically before any inputs are being added to the page?18:14
BartJoland drupal mussolini?18:14
@rizenyup18:14
-!- lisette [n=liraos@201.232.58.66] has joined #webgui18:15
perlmonkey2joomla is the main wG FOSS compeitition?18:15
lisettehi18:15
BartJolwell they are popular18:15
@rizenpm2 paste your code18:15
BartJolbut drupal is more comparable to webgui I think18:15
@rizenjoomla isnt in the same league as webgui as far as i'm concerned, but it gets a lot of attention cuz people run it on $5 hosts18:15
BartJolbut that's just an rough estimate18:15
@rizenthe only things i'm aware of in the FOSS world that compete with webgui are Plone and Typo318:16
BartJolI spoke to some guys of joomla and showed them WebGUI, ther were fairly impressed18:17
BartJoland right they were18:17
lisettei change in the create account template tmpl_var_username by <input ......id=""...> and when i try to register show me the next error: the username can't be in blanck18:18
lisettehow to do?18:18
lisettei do this because i need to tell to the field in event javascript onBlur, then i put manually in the template18:18
lisettethe error is by this?18:18
BartJolwell what does the webgui.log say?18:18
BartJolit might be more specific18:19
lisettenothing18:20
BartJoltmpl_var is also a way to request for the name, input is for enetering a value18:20
BartJolmaybe you can use the user macro instead18:21
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has quit ["Leaving."]18:21
lisetteno18:21
@rizenpm2: r u going to pastebin your code?18:21
-!- dionak [n=diona@97.66.185.250] has quit []18:21
wgGuest81rizen: i changed to this:18:22
wgGuest81"templateParsers" : ["WebGUI::Asset::Template::HTMLTemplate", "WebGUI::Asset::Template::HTMLTemplateExpr"],18:22
wgGuest81and18:22
wgGuest81"defaultTemplateParser" : "WebGUI::Asset::Template::HTMLTemplateExpr",18:22
wgGuest81and i put a tmpl_if thing in my template18:23
@rizenread this: http://search.cpan.org/dist/HTML-Template-Expr/Expr.pm18:23
wgGuest81<tmpl_if EXPR="2>1">18:23
lisetteOn the template to create an account I change the tmpl_var user input for a while retaining the id, I did because it needed to tell the field that in the event onBlur I execute a function, but then I made the change, when I try to make the new account I said that the user name may not be blank, my question is, the error is this? That another way onblur do you? And webgui.log not shown any message18:24
@rizenand when editing your template you need to switch to HTMLTemplateExpr18:24
wgGuest81ah ok18:24
lisette?18:26
BartJolis it the anonymous registration template, i can't see a <tmpl_var username in there18:27
BartJol?18:27
lisetteyes18:27
BartJolthen what about the <tmpl_var username>18:29
BartJolso how do you replace something that isn't there18:31
lisette<tmpl_var create.form.username>18:31
BartJolah18:31
perlmonkey2bah, I can't get the YUI widgets to work with the form tag.  Anything see anything wrong with the submit button just going through arrays of all the questions types and building the submit string that way?18:32
perlmonkey2s/Anything/Anyone/18:32
BartJolah then say that in the first place, but the tmpl_var is something that is part of the coed, so you have to right other code to go around it18:33
BartJolwrite other code18:34
BartJoland that's besides the api, so I do not encourage that18:34
BartJolmaybe a class and some css might do the trich18:34
lisette<input id="authWebGUI.username_formId" name="username" value="" size="8" maxlength="255" type="text" onBlur="automail();">18:34
@rizenpm2 it's really hard to answer your question when i can't see and don't know anything about your code18:35
BartJolbut I've got to leave18:35
BartJolso goodluck and goodbye18:35
-!- BartJol [n=plainstu@host2.procolix.com] has left #webgui []18:35
perlmonkey2rizen: if you've looked at the button example code in the YUI you might see my problem.  If you build a button from pure JS, there is no input html object except a button, which doesn't have a name or id.  But if I build the button from an existing input tag, I get all sorts of strange behavior when I'm validating the yui button.  18:38
@rizenif you build it from js, why can't you assign it an id if you want to?18:39
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has joined #webgui18:42
-!- mode/#webgui [+v perlDreamer] by ChanServ18:42
perlmonkey2I'll try assigning ids after they're created, which seems weird.  But I just tried the yui example of building buttons from an existing input and the input tags id/name are removed and the id/name in the the new buttons attributes are not assigned.18:42
@rizeni don't understand any of the problems you're having so i can't offer any advice18:43
perlmonkey2yeah, it is down in the nuts and bolts of YUI.  I'll just dump the form for now.  If I find a resolution later, it won't be hard to switch back.18:44
perlmonkey2just means I have to make an array of each answer and on submit run through it building the submit string from their name/value pairs.  not a biggie.18:44
perlmonkey2But it woudl have been much slicker to use the Communction objects setForm method which magically does this for you.18:45
-!- wgGuest81 [n=wgGuest8@user-514d1a56.l3.c1.dsl.pol.co.uk] has quit []18:47
+perlDreamerThe translation posting on the forums is the best multilingual content idea that I've heard to date.18:52
+perlDreamerhttp://www.webgui.org/etcetera/translation-workflow18:53
@rizensounds interesting but i have no idea how it would work18:54
+perlDreamerDid you read my post, too?18:55
@rizenbut you're right, it does sound like the best idea to date if we can overcome the how it would work part18:55
@rizenes18:55
@rizenyes18:55
-!- lisette [n=liraos@201.232.58.66] has left #webgui []18:55
@rizenhere's my problem with it...the part i don't understand:18:55
@rizenit creates the page in the various language sites18:55
-!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui18:55
-!- mode/#webgui [+o Haarg] by ChanServ18:55
@rizenhow does it keep track of page relationship hierarcies18:55
@rizenhierarchies18:55
@rizenas well as which page represents which other page18:56
+perlDreamerI figure it would use your language branch idea, but it does need other info as well.18:56
+perlDreamerThe workflow would have to know the names of each language branch18:56
+perlDreamerEnglish = /root/home18:56
+perlDreamerSpanish = /root/es18:56
+perlDreamerand so on18:56
@rizensoyou're saying it would match them up by url then?18:57
+perlDreamerin the first version, yes18:57
@rizenif that's the case then the urls couldn't be translated18:57
+perlDreameryes18:57
+perlDreamermaybe some WebGUI::URL magic is needed, too18:58
+perlDreamerwithout the translated URLs, is the idea kaput, or just less attractive?18:58
+perlDreameralso, it doesn't handle things that aren't versioned, like deletion and lineage changes19:00
@rizenthe idea is not kaput, but we need a way of relating the assetId of one page to another19:02
@rizenmaybe it's just another field in the asset table19:02
@rizenbut we need something that says page Y is directly related to page X19:02
@rizenso that when either page X or Y are updated then it notifies the maintainer of the other page to update 19:03
@rizenand it has to be done at the assetId level19:03
@rizennot somethign changable like urls or lineage19:03
-!- topsub [n=josh@97.66.185.250] has joined #webgui19:16
+perlDreamerMaybe we should table the idea for now, and concentrate on Commerce (and $dayJob).19:47
+perlDreamerWe can always pick up and brainstorm later19:48
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui20:16
-!- mode/#webgui [+o preaction] by ChanServ20:16
+perlDreamerfor every action, there is a Wisconsin, hacker based preaction20:16
topsubhello20:18
topsubhows everyones friday going20:19
+perlDreamerfriday is good20:19
topsubjust the word friday is nice20:19
+perlDreameralthough I hear that Friday on the east coast is better, because 5:00pm comes sooner :)20:19
topsublamo20:19
topsubbut that means i been up before west coast saw sun20:20
+perlDreamermaybe it's just a pipelining issue20:20
+perlDreamerso how are things at Knowmad?  Are you guys full and busy and happy?20:21
@apeironFor those of us running Mac / Windows, trying to debug stuff in Safari: you probably already know this, but http://developer.apple.com/internet/safari/faq.html#anchor14 shows you how to enable Safari's dev tools. It's nearly comparable to Firebug.20:21
topsubvery busy!!!20:21
+perlDreamerthat's great for business, but often hard on devs in the long term :)20:22
+perlDreamerstill, job security is very nice20:22
topsublol guess long as i can do something right20:22
topsubi do have one question tho.. i am seeing a fetchrow_hashref error in my modperl.error.log Is there any easy way to track were its coming from?  also seems when an error like this happens it doesn't have a timestamp. anyway to change this?20:23
+perlDreamerpaste?20:23
topsubhttp://webgui.pastebin.com/m7760256a20:23
topsubhappening alot20:24
+perlDreamergood read on the state of perl testing: http://use.perl.org/~Alias/journal/3612820:24
topsubso something is going crazy20:24
topsubtrying to backtrack where its coming from20:24
+perlDreamerThis is in custom code?20:24
+perlDreamerhaven't seen that otherwise20:24
+perlDreamerdoes it happen periodically (regularly) like in a Workflow?20:25
+perlDreameror at random intervals?20:25
topsubseems regularly20:25
+perlDreamerwhat's the interval?20:26
+perlDreamerand can you paste in some context with the error?20:26
topsubeither like workflow or when someone hits a certain page in the application20:26
topsubwell i don't know were its coming from all i see in the error log is that line ton of times..20:27
+perlDreamertry this.  Can you correlate the webgui.log error with Apache site log to see if it's a page?20:27
topsubhmm maybe20:27
topsublet me pull both logs up20:28
topsubgot them both up and i wait and see20:28
topsubi think this might be a start to track20:29
+perlDreameris the interval short (like a few minutes)?20:29
topsubas one of our macros is outputing to the log for info.. and its like rightbefor that macro happens i see the other error20:29
topsubseems its coming from when a user visits a page which maybe calls one of our macros20:30
topsubthat causes this error20:30
topsubthanks perlDreamer.. nice idea.. have to backtrack the users path threw the website20:31
topsubto see what macro / page they visit 20:31
topsubsee if the errors comes from one of the pages / macos that get called20:31
+perlDreamerif you know it's a custom macro, it's a much smaller amount of code to debug20:31
topsubya think it might be that or something its calling20:33
doc777How would be the best way to link to .mp3 recordings stored in a folder, not in webgui? They used to be in ...com/recordings on the orginal site. I seem to be missing something very simple ;)21:04
+perlDreamerdoc777: You could configure a passThru URL in your WebGUI.conf file, and then just use regular file links.21:04
+perlDreamerAlternately, I think there is a fileUpload script to upload lots of files that are not in WebGUI into a folder inside WebGUI21:05
doc777In this case the system records "live" and stores them in a folder on the computer. Then they can be listened to on the web. At least that is the way it is supposed to work. We are talking hundreds of files...21:07
doc777so adding them into webgui probably isnt the right thing. maybe the passthrough.21:07
+perlDreameryes21:07
+perlDreamerthat was yes to your previous statement.  WebGUI doesn't care about the size of your locally files.21:08
+perlDreamerA workflow could be written to add them automatically after they are put into their regular place21:08
+perlDreamerbut that's all preference, not practicality21:08
doc777Ah, yea that would be an option as well. I will check the passthru first. Thanks!21:09
-!- topsub [n=josh@97.66.185.250] has quit [Remote closed the connection]21:14
+perlDreamerthat gives me an idea for a new asset, actually.21:15
doc777While on that subject.... I am guessing that a passthru will leave the files exposed to the internet where bots would download them all day... Is there a way around that?21:16
+perlDreamerwell, there's always robots.txt, or standard Apache authentication21:16
+perlDreamerbut if you want user/group level access, that would mean importing them into WebGUI21:16
doc777The apache basic is what we have been using but yes, its better to have group access.21:17
doc777Does the whole file I guess have to be imported into webgui or can it be short cut or linked somehow. It runs into gigabytes.21:18
+perlDreamerwell, if you store it once inside WebGUI, or once outside of WebGUI, does it matter?21:18
+perlDreamerWebGUI does not import files into the db, if that's your concern21:18
+perlDreamerand you can bypass the apache file size limit since importing is done by script on the server21:19
doc777That was part of it but backing up webgui up will be fun ;)  Where "would" they be stored in that case as we like to be able to put our hands on the actual file if needed.21:19
+perlDreamerIn the uploads directory, there is a mini-filesystem based on assetId21:20
doc777ok, will go poke around in there a bit. Thanks ;)21:21
+perlDreamerso, site/www/uploads/XX/YY/XXYY{18 more characters of assetId}21:21
@preactionstorageId21:22
@preactionassetId and storageId should be completely unrelated21:23
@preactionwell, except in the database21:23
+perlDreamerright, but they both GUIDs21:23
+perlDreamerI shouldn't have confused them21:23
+perlDreamerpreaction: can you think of any other downsides to importing them into WebGUI?21:25
@preactionno, but i can think of many upsides21:26
+perlDreamerme, too21:26
@preactionby putting them as File assets inside of a Folder you could make RSS feed out of a shortcut to that folder and have subscribable podcast thingys21:26
+perlDreamerbut since talking with doc777, I've been thinking of a passThru Folder Asset, that would just template the file data for pretty display inside of wG.  Kind of hybridizing the passThru idea with an Asset.21:27
@preactionsounds like a new URL handler21:28
+perlDreamerURL handlers aren't templated?21:28
@preactionno21:28
@preactioni mean, you could implement it21:29
@preactionsomething in the config file perhaps21:29
@preactionwish there was an easy way to add to the Settings21:29
+perlDreameryes, point to a template URL or something21:30
+perlDreamerbut Assets are easier and directly user accessible21:30
@preactiontrue, a custom asset could do the trick21:31
@preactioni worry that the custom asset, if it falls into the wrong hands, could be used to list the /etc directory, for example21:32
perlmonkey2anyone bored and want to give me the short howto on reading file uploads from Form.pm?21:32
@preactionbut that could be protected against21:32
@preactionperlmonkey2, you mean the WebGUI::Form::File control? just $session->form->get('name','File'); should give you a storageId21:32
+perlDreamerI was thinking that it would only allow access to configured passThru URLs21:33
+perlDreamerbut it could be given the same file protections as the Include macro21:33
@preactioni was thinking only things under the apache DocumentRoot21:33
+perlDreamerbut that only works for things inside the wG file system with appropriate access files21:33
perlmonkey2preaction: storageid?  wG's Form asset is automatically storing files uploaded from an html form int the DB?21:34
+perlDreamerotherwise you can bypass the normal access21:34
@preactionyou can put anything inside the documentroot, the uploads folder is just one thing in there21:34
+perlDreamersure, but if it's inside the document root, it has a WebGUI-less URL without access control21:35
@preactionperlmonkey2, form asset? its a WebGUI::Form::Control subclass. no, storageId is a folder in the uploads directory, nothing goes in the database21:35
@preactionperlDreamer, only if that URL is configured as passthru, otherwise WebGUI would take it over21:35
+perlDreamerthat is true21:35
+perlDreamerand the asset could check to see that the requested directory is inside the Apache document root21:36
+perlDreamerwhich gives file slurpy protection21:36
@preactioni was thinking it'd automatically add the documentroot to the configured directory (i assume this folder is configured as a directory, and subfolders wouldn't quite work right unless it were a URL handler)21:37
perlmonkey2This is the correct syntax?  $self->session->form->get('YOxL4QFZgT18NnCopMiMFg','File') where the assetid is the file input name?21:42
+perlDreamer->get('formName', 'File)21:43
+perlDreamerpreaction, I like that.  and it would puke on ../21:43
+perlDreamerand I wasn't planning on handling subdirs, that would be a child asset21:43
+perlDreamercould be a child asset21:43
@preactionyeah21:43
+perlDreamerso it's not a file system browser21:43
+perlDreamerit's a directory contents lister21:44
+perlDreamertemplated21:44
@preactionI'm thinking with the new list view, we should try to integrate this: http://www.axod.net/timeline/22:10
@preactiononce i get the author to license it22:10
+perlDreamerlist view?22:15
@preactionthe Calendar list view22:15
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit ["Exit- stage left"]22:18
-!- cap10morgan [n=cap10mor@h19-afsc.ded.indra.com] has joined #webgui22:51
-!- doc777 [n=Doc@10.187-available-ethint-fratm-cc.sccoast.net] has quit ["using sirc version 2.211+KSIRC/1.3.12"]22:59
cap10morganrizen: i found a bug in wreconsole.pl where it's using the wrong names for custom database user and password when adding a site. ok if i commit the fix? i've tested it on my server.23:25
@rizensure23:26
cap10morganok, that's in23:27
cap10morganthe custom database name one is too23:27
@rizenand the crowd cheers your name23:28
@rizenCAP 1023:28
@rizenCAP 1023:28
@rizenhehe23:28
cap10morganheh23:28
perlmonkey2hah, if someone can hit my site and figure out what this error is in the yui connection manager, I'll let you use the survey system for free :P23:51
@rizenwhat is your site?23:53
@rizenperlmonkey2: what is your site?23:55
perlmonkey2j/s let me get the links23:56
perlmonkey2it only works with firebug right now (outputting to console).  If you are running safari it won't work :(23:57
perlmonkey2https://www.lostokies.com:444/home/test3?noCache=541:1207755662;func=takeSurvey23:57
@rizendear god it's slow23:59
perlmonkey2is nothing showing up?23:59
--- Day changed Sat Apr 12 2008
perlmonkey2I have 512kbps upstream00:00
@rizenin safari i see something00:00
@rizenin firefox nothing00:00
perlmonkey2do you ahve firebug in firefox?00:00
@rizenyup00:00
@rizenmy version is old though, i'm updating00:01
CIA-51WebGUI: cap10morgan * r6115 /wrebuild/wre/sbin/wreconsole.pl: exposing database name option as a new field when adding a site through the console00:01
CIA-51WebGUI: cap10morgan * r6116 /wrebuild/wre/sbin/wreconsole.pl: fixed a bug in the wre console when adding a site; was using the wrong names for the custom databaseUser and databasePassword params when passing them to the WRE API00:01
perlmonkey2this._formNode.submit();  1150 in connection.js is where it errors.  I bet this is going to be something stupid, like it has to have a submit button or something.00:01
@rizeni still can't get it to load in firefox00:01
perlmonkey2I just commented out all the console calls...might work now00:02
@rizenit is running in safari now and with web inspecter running00:03
@rizensafari's version of firebug00:03
@rizeni get: Object [object HTMLInputElement] (result of expression this._formNode.submit) does not allow calls.00:03
@rizenat https://www.lostokies.com:444/extras/yui/build/connection/connection.js (line 1150)00:03
perlmonkey2that is the same line I get the error on00:04
perlmonkey2I'm starting to think there is something wrong with the form.00:06
@rizenwhy are you loading all those yui scripts in the body?00:06
perlmonkey2if the user can't take the survey, I wasn't loading them.00:07
@rizenand why do you load yahoo-dom-event separately from utilities00:07
@rizenutilities has those in it00:07
perlmonkey2rizen: heh, yeah, that is me fishing for errors.  I've also had dom and event and yahoo all loaded seperately00:07
@rizenutilities also has animation00:07
@rizenso one of your requirements is to upload a file as part of the survey?00:08
perlmonkey2yes, they want file uploads00:09
@rizenyikes00:09
perlmonkey2which I woudl think would be trivial00:09
perlmonkey2but apparently is impossible 00:09
@rizenwell as far as webgui is concerned it's easy00:09
@rizenbut doing it via ajax...that's a different story00:09
@rizencan i make a suggestion?00:09
perlmonkey2I've seen tons of examples using the async requiest00:09
perlmonkey2requests00:09
perlmonkey2sure00:09
@rizenmake a new method in your asset completely unrelated to this bs00:10
@rizencall it rizensucks00:10
perlmonkey2hah00:10
@rizenput the javascript form stuff for doing the file upload into it00:10
@rizennothing extra00:10
@rizenonly what is needed00:10
@rizensorry, call it www_rizensucks00:10
@rizenthen create another method called www_pm2alsosucks00:11
@rizenthat handles the backend of uploading the file00:11
@rizenget the whole thing working00:11
@rizenIN webgui00:11
@rizenbut OUTSIDE the survey00:11
@rizenthen see what you do differently between the two00:11
perlmonkey2okay, I'll give that a shot :)  beats keeping on with what I'm doing.00:12
* perlDreamer feels left out00:12
+perlDreameryou need a perlDreamerSucks method that writes tests or something else useful00:13
@rizenoh, and once you have those two methods working give me a paste bin of it, because that's something i should add elsewhere in webgui00:13
@rizen=)00:13
@rizenjust for good measure create a www_perldreamersucks method in the survey that displays a picture of colin when he won his first Contributor of the Year award, and leave it in there as an easter egg00:14
perlmonkey2hahaha00:15
perlmonkey2I think the whole thing is shot.  <form name=surveyTest id=surveyTest method=post>00:16
perlmonkey2<intput type=file name=fileTest id=FileTest />00:16
perlmonkey2</form> doesn't close the form at the </form> but includes the entire next div in it.00:16
@rizenpm2, this is what i've been doing with yui stuff that doesn't work, and it's helped me through lots of issues00:16
+perlDreamerrizen: We don't want to scare people away from WebGUI00:23
@rizenwhat would scare people away?00:24
+perlDreamerthat picture of me00:24
@rizenr u kidding, it will make people think that we're all as smooth and sexy as you00:26
@rizenperlmonkey2 is it fixed yet00:27
@rizenperlmonkey2 does it work, does it, does it? huh? huh?00:27
perlmonkey2hah00:27
@rizenperlmonkey2 are we there yet00:27
@rizenperlmonkey2 how much work would be getting done if i wasn't annoying you00:27
@rizen=)00:27
+perlDreamerperlmonkey2, I'm hungry.00:27
perlmonkey2hahahahaha00:27
+perlDreamerperlmonkey2, I'm bored.00:27
perlmonkey2now I'm getting something weird...the async appears to be happing fine, but then the page reloads.00:28
+perlDreamerfor a while, rizen had his IRC client to make sound effects when someone mentioned his name in channel00:28
+perlDreamerthat was fun :)00:28
perlmonkey2perlDreamer: bored?  I hear playing in the middle of the highway is exciting :)00:28
+perlDreamerooh.  Good idea!00:28
perlmonkey2that is what my parents always told me when I complained of boredom.00:29
perlmonkey2Now that I think back about it, they probably weren't kidding :P00:29
-!- jfluhmann [n=jfluhman@x171y235.angelo.edu] has quit ["Open Source Symposium - http://www.texasoss.org/"]00:31
+perlDreamerhey, folks.  Step back and let perlmonkey2 work00:31
+perlDreamerhe's got fend off tribes of angry sponsors00:31
@rizennothing to see here people, move along00:33
@rizeni wonder what it would be like to be a good coder where stuff actually works.00:34
+perlDreamerwell, let me tell you rizen...00:35
+perlDreamerI have absolutely no idea00:35
@preactionsounds like a fantasy world00:35
+perlDreamerDoesn't work that way in chip-ville, that's for sure00:35
+perlDreamerwhoops, probably shouldn't have told you that00:36
@rizenso you're saying stuff is done perfectly in chip-ville?00:46
@rizenpreaction? i thought you were that guy.00:46
+perlDreameroh, yes!  Everything is perfect in chip-ville.  Our chips always work and never, ever have problems.00:46
* perlDreamer attempts to look earnest and trustworthy00:47
+perlDreamer:)00:47
@rizensince you work there i believe it00:47
@rizenif i was on staff your production quality would go down the tubes. you'd be throwing away about 99% of R&D and 85% of actual production runs00:48
+perlDreamerbut think of the perl we'd write >:)00:50
perlmonkey2okay, which one of you hacked into my system and magically made this stuff start working (at least in my test example)?00:53
+perlDreamerhacking systems is against the law, perlmonkey200:53
perlmonkey2hah00:53
+perlDreamerIt's kind of like Shawshank.00:53
@rizeni can't believe he fell for the old what is your site address trick00:54
perlmonkey2hahahahaha00:54
@preactionit's like when the Operator asks for your username00:54
perlmonkey2rizen: you are a genius.  All I needed was a chopped down version to figure out how it works.  Now I should be able to debug the main app.01:02
@rizeni can't take credit. it's the sherlock method to problem resolution.01:03
@rizeni've been using it for years, and it nearly always works.01:03
@rizeneliminate everything until whatever is left is your answer01:04
@preactionperlbot test case01:06
@preactionhum... could've swore i added that one01:06
@rizenperlbot preaction is a basket case01:08
perlbotI already have an entry for preaction01:08
@rizendamn you perlbot!01:08
@preactionperlbot test case is Break your problem down into the least amount needed to reproduce. If you don't find the problem by then, it will be easier for someone else to find it.01:08
perlbotadded test case to the database01:08
@rizenperlbot test case01:10
perlbotBreak your problem down into the least amount needed to reproduce. If you don't find the problem by then, it will be easier for someone else to find it.01:10
@rizenperlbot sherlock method is See test case01:10
perlbotadded sherlock method to the database01:10
+perlDreamerperlbot sherlock method is also copyright 2008 Plain Black Corporation, all rights reserved.  Illegal use will be prosecuted within the without the bounds of the law01:12
perlbotI already have an entry for sherlock method01:12
CIA-51WebGUI: jt * r6117 /branch/WebGUI_Commerce/ (12 files in 11 dirs): 01:29
CIA-51WebGUI: Added the viewcart macro.01:29
CIA-51WebGUI: Lookup registrant now works.01:29
CIA-51WebGUI: Fixed some bugs.01:29
-!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"]01:38
+perlDreamerrizen: Don't forget a test for ViewCart01:43
CIA-51WebGUI: colin * r6118 /branch/WebGUI_Commerce/lib/WebGUI/Asset/Sku/Product.pm: WGBP indent view method of Sku::Product02:05
-!- cap10morgan [n=cap10mor@h19-afsc.ded.indra.com] has quit [Read error: 110 (Connection timed out)]02:19
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has quit ["Download Gaim: http://gaim.sourceforge.net/"]02:30
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit []04:37
-!- cap10morgan [n=cap10mor@206-124-31-140.denver.dsl.forethought.net] has joined #webgui04:45
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [Read error: 110 (Connection timed out)]05:25
-!- Haarg [n=haarg@24-196-80-80.dhcp.mdsn.wi.charter.com] has joined #webgui07:36
-!- mode/#webgui [+o Haarg] by ChanServ07:36
-!- Haarg [n=haarg@24-196-80-80.dhcp.mdsn.wi.charter.com] has quit [Client Quit]07:36
-!- Haarg [n=haarg@24-196-80-80.dhcp.mdsn.wi.charter.com] has joined #webgui07:37
-!- mode/#webgui [+o Haarg] by ChanServ07:37
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit ["Leaving"]08:05
-!- cap10morgan_ [n=cap10mor@206-124-6-65.denver.dsl.forethought.net] has joined #webgui08:22
-!- cap10morgan [n=cap10mor@206-124-31-140.denver.dsl.forethought.net] has quit [Read error: 113 (No route to host)]08:38
-!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has joined #webgui10:28
-!- mode/#webgui [+v Radix_] by ChanServ10:28
-!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has quit [Read error: 104 (Connection reset by peer)]11:12
-!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has joined #webgui11:14
-!- mode/#webgui [+v Radix_] by ChanServ11:14
-!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: @Haarg11:17
-!- Netsplit over, joins: @Haarg11:18
-!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: @Haarg11:43
-!- Netsplit over, joins: @Haarg11:43
-!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: @Haarg12:37
-!- Netsplit over, joins: @Haarg12:38
-!- cap10morgan [n=cap10mor@206-124-6-65.denver.dsl.forethought.net] has joined #webgui16:45
-!- cap10morgan_ [n=cap10mor@206-124-6-65.denver.dsl.forethought.net] has quit [Read error: 113 (No route to host)]17:02
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui17:46
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui18:40
-!- mode/#webgui [+o rizen] by ChanServ18:40
-!- crythia2 [n=gyoung@fl-69-68-148-96.sta.embarqhsd.net] has joined #webgui20:54
-!- crythias [n=gyoung@fl-69-68-148-96.sta.embarqhsd.net] has quit [Read error: 104 (Connection reset by peer)]20:54
-!- perlDreamer [n=colink@pool-71-117-250-89.ptldor.fios.verizon.net] has joined #webgui21:00
-!- mode/#webgui [+v perlDreamer] by ChanServ21:00
+perlDreamernuba, are you here?21:00
nubapassing by, why?21:00
+perlDreamerI have a Spanish question :)21:00
+perlDreamerHow would you say "Everyone's Trash", in Spanish?21:01
+perlDreamerPaselera de Todos?21:01
nubadunno, maybe "basura del sistema"?21:01
+perlDreamerThanks, nuba!21:02
nubaprobably not21:02
+perlDreamerI may double check with the Colombian crew next week, too.21:02
@rizenI'd start with "Obla Englacias" 21:03
@rizenbet i spelled that all wrong21:03
@rizen=)21:03
@rizenHabla?21:03
nubaobla di obla da21:03
@rizendamn i'm dumb21:03
+perlDreamerrizen: better stick with garbled crap :)21:04
@rizenindeed21:04
+perlDreamerokay, back to yard work21:06
-!- perlDreamer [n=colink@pool-71-117-250-89.ptldor.fios.verizon.net] has quit ["Leaving."]21:06
perlmonkey2Intrade is selling Hillary to win Penn at 86 points.  $10 would return $11.40 if she wins.21:34
perlmonkey2it is going up fast though people are buying tons of those contracts driving up the prices.  I guess she's a shoe-in for Penn.21:34
@rizeni thought you were into "fishing" not gambling21:35
perlmonkey2hah21:36
perlmonkey2I'm still fuming over the last bug, and finding reasons to not work on it.21:36
perlmonkey2a name collision....21:36
perlmonkey2frak me21:36
@rizeni'm still fuming over the fact that i'm still working on the new Event Manager rather than getting back to the rest of commerce21:37
perlmonkey2I don't even know about the event manager21:39
perlmonkey2there is a new one?21:39
@rizenyup21:39
@rizenit lets you run conventions from webgui21:39
perlmonkey2you got a link to the specs?  I'm not sure what a convention is.21:39
@rizenWebGUI Users Conference21:40
@rizenis a convention21:40
perlmonkey2ooooh, a real convention21:40
@rizenconference = convention = meetings21:40
perlmonkey2that's pretty cool21:40
perlmonkey2that would actually be really useful at work....we have all sorts of scheduling and resource allocation activities.21:41
@rizenthe current one sux21:41
@rizenthe new one resolves a lot of problems21:41
@rizenbut still needs a lot of additional features21:41
perlmonkey2but just for the record...  Don't use 'submit' for a method name in anything that might remoting have anything to do with a form.  I don't know why the names conflicted, but they did.21:42
perlmonkey2okay, back to important things, like trying to figure out how intrade prices and sells the initial contracts in a new contract type.21:43
-!- perlDreamer [n=colink@pool-71-117-250-89.ptldor.fios.verizon.net] has joined #webgui22:07
-!- mode/#webgui [+v perlDreamer] by ChanServ22:07
+perlDreamerphew22:08
+perlDreamerenough weeding for a while22:08
@rizentoo funny22:08
@rizenyou're weeding, and it's snowing here22:08
+perlDreamerthat's a more effective way to kill weeds22:08
+perlDreamerjust get them all at once22:08
+perlDreamermuch easier that what I did22:08
+perlDreamertime for a little Commerce hackery22:10
+perlDreamerDid you read my post about that, rizen?  Folding in ProductManager?22:10
@rizenno22:11
@rizenwhere did you post it?22:11
+perlDreamerdev list22:11
+perlDreamerI think email from PB is down22:11
@rizenfuck22:11
@rizeni'll check on it22:11
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui22:14
-!- mode/#webgui [+o preaction] by ChanServ22:14
@rizensomehow spectre forgot about the send queued email cron job22:17
@rizenrestarting it seems to have fixed that22:17
@rizenbut now it has a couple thousand emails to send out22:17
perlmonkey2hah, now my slider and calendar widgets aren't working...but no errors being thrown.....my love affair with YUI is certainly on the rocks.22:18
perlmonkey2somebody shoot me.  creating a widget, then recreating the dom container it belongs to is a sure way to break the event handlers on that widget.  I fear I chose the wrong paradigm for dynamically creating these objects.22:21
@rizenunless you've found a bug in YUI it doesn't do much good to blame YUI for your problems22:21
@rizenaccept that you're dumb and all will be good...i did it years ago and now things go much more smoothly. =)22:22
perlmonkey2oh, I am dumb.22:23
perlmonkey2or at least overly wishful22:23
perlmonkey2or just dumb in that it appears JS's garbage collection is instant, or at least fast enough that surveyNode+=newHTML; is not atomic enough to preserve any objects who's only references are in the dom related to surveyNode.22:24
perlmonkey2so I can either have the JS create the html from the questions in two passes, first creating all the html, then creating all the widgets to attach to the html.  Or move all the html generation into WebGUI with templates.  Like maybe have a template for each question type's html and a template for each question type's YUI widget.22:26
perlmonkey2I think the last approach would work best, especially when I'm trying to work in il8n.  But the first survey has already launched (at least the phone operators are already making calls).  So this one is technically already in production, meaning testing time and shake time are in negative values :]22:27
@rizenthe last option seems reasonable to me too22:30
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit ["Leaving"]22:52
+perlDreamerback to weeding23:13
-!- perlDreamer [n=colink@pool-71-117-250-89.ptldor.fios.verizon.net] has quit ["Leaving."]23:13
CIA-51WebGUI: colin * r6119 /WebGUI/lib/WebGUI/i18n/English/WebGUI.pm: more trash semantics23:53
--- Day changed Sun Apr 13 2008
-!- crythia2 [n=gyoung@fl-69-68-148-96.sta.embarqhsd.net] has quit [Read error: 104 (Connection reset by peer)]00:13
-!- crythia2 [n=gyoung@fl-69-68-148-96.sta.embarqhsd.net] has joined #webgui00:13
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["I need 12 beers and a long hangover"]02:42
-!- topsub [n=topsub@cpe-071-071-252-225.carolina.res.rr.com] has joined #webgui03:27
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit []05:29
CIA-51WebGUI: colin * r6120 /branch/WebGUI_Commerce/docs/upgrades/upgrade_7.5.2-7.5.3.pl: have the upgrade script remove the Wobject/Product.pm file07:05
-!- topsub [n=topsub@cpe-071-071-252-225.carolina.res.rr.com] has quit [Remote closed the connection]08:49
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui11:44
-!- mode/#webgui [+o preaction] by ChanServ11:44
-!- SynQ [n=synq@e97024.upc-e.chello.nl] has joined #WebGUI12:15
SynQhi there12:16
SynQhey, the topic is not up-to-date12:16
SynQWebGUI 7.4.31-stable is an old version12:16
@preactionSynQ, you can change it if you want12:29
SynQoh12:30
SynQok12:30
-!- SynQ changed the topic of #webgui to: [ WebGUI 7.4.32-stable / 7.5.9-beta | WRE 0.8.3 ] Before you ask, check the wiki: http://wiki.webgui.org | Pastebin: http://webgui.pastebin.com/12:31
SynQthat is better12:31
-!- SynQ changed the topic of #webgui to: [ WebGUI 7.4.32-stable / 7.5.10-beta | WRE 0.8.3 ] Before you ask, check the wiki: http://wiki.webgui.org | Pastebin: http://webgui.pastebin.com/12:31
SynQthat is even better than better12:31
SynQpreaction: what part of WebGUI are you working on right now12:32
SynQperhaps I can do for that part what I did for the Thingy yesterday12:32
@preactiondo you mean in general? it's been the Gallery for the last few months12:33
SynQis the gallery in a state where I can test it using the beta.webgui.org and submit bugs ?12:35
@preactionif there are still bugs, surely12:36
SynQhehe12:37
SynQis there a spec available?12:37
SynQlike with the thingy12:37
SynQI've learned that having a spec makes it 10 times more easy to find bugs12:37
SynQsince you can simply follow the spec from top to bottom12:37
SynQfinding bugs along the way12:37
@preactionthe spec is most likely no longer accurate, especially when it comes to the thumbnails and slideshow views12:38
SynQhmm12:39
SynQwhere can I find the non accurate spec12:39
SynQthat could at least be a guideline12:39
@preactionnot sure if i can release it, it's a different situation than the Thingy: the Gallery was commissioned and the spec was paid-for. i'll ask Frank if I can release it12:40
SynQok12:41
SynQplease12:41
@preactionotherwise the first bug i'd submit is the User Disk Space limit doesn't seem to work12:41
SynQhehe12:41
@preactionalso, the slideshow needs some polish, it's blatantly obvious when trying to use it12:42
@preactionthe Edit Album screen sucks for editing multiple images, seriously12:42
@preactionif it were more like the Thingy edit screen it would be much better12:42
SynQok, but that are not nessecarily bugs12:42
SynQI hope Yung is glad with my multiple bug reports on the thingy12:42
SynQsince that could actually make it better12:43
SynQok12:43
@preactionslideshow is a bug, what it does is annoying enough to make it unusable12:43
SynQI'll have a look at the gallery without a spec12:43
SynQbut having a spec would make that seriously less difficult to do12:43
@preactionindeed12:43
SynQwould you suggest using the default style12:44
@preactionSteve's making a new one, and the new one is awesome already12:44
SynQoeh12:44
SynQthat is good info12:45
SynQbut it is probably not available for comment any time soon?12:45
@preactioni dunno how far he is. he got a List Albums view done I know, but i'd give him at least another week12:45
SynQok12:46
SynQfor now I'll use the greenportal style12:46
@preactionoh, style12:46
@preactionwait, what?12:46
@preactionit should work with all styles12:47
@preactionthere were a few bugs with the Style03 and the Gallery templates that were fixed though12:47
SynQah12:48
SynQok12:48
SynQthe greenportal style that Ning submitted12:48
SynQI really like it12:48
SynQok12:49
SynQhere we go12:49
SynQthere is number one12:51
SynQgee12:53
SynQthat second tab is an impressive list of templates12:54
SynQit is fun13:11
SynQthe gallery13:11
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)]13:22
-!- SynQ [n=synq@e97024.upc-e.chello.nl] has quit [Read error: 113 (No route to host)]15:22
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui16:41
-!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui17:35
-!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has quit []18:26
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui19:09
-!- mode/#webgui [+o rizen] by ChanServ19:09
perlmonkey2why didn't I use templates to generate all the HTML in the first place?  This is about a million times easier than having the JS libs create the HTML.23:48
@rizendon't know23:48
@rizenperhaps you took my call to use js libraries too far?23:48
@rizenand therefore it's my fault23:48
@rizenand i should be killed23:48
perlmonkey2killed is a bit extreme......how about covered in honey and put in the polar bear exibit at the zoo?23:49
perlmonkey2oh wait, you'd be killed there too.23:49
perlmonkey2hmm.  So with this paradigm, wG development doesn't really change at all.23:49
@rizennope23:50
perlmonkey2For web2.0 (I really hate that phrase) development.23:50
@rizenthere is no web 2.0 development23:50
@rizenit's just web development23:50
perlmonkey2only if you synergize the convergence of disparate paradigms.23:51
perlmonkey2Forgive me, I started in on the root beer a little early today.23:51
@rizenif root beer gives you an attack of the business babble, perhaps you need to step away from the root beer23:53
perlmonkey2"Please sir, step away from the root beer dispenser.  We do not want to have to tase you.  ...  bro."23:54
--- Day changed Mon Apr 14 2008
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui00:33
-!- mode/#webgui [+o preaction] by ChanServ00:33
-!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has joined #webgui00:36
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit ["Leaving"]00:53
-!- SynQ [n=synq@e97024.upc-e.chello.nl] has joined #WebGUI01:29
SynQhi there01:29
SynQi've been trying out the thingy and the gallery in the beta version and reporting bugs and rfe's about that01:54
SynQI'd like to know if that is appreciated01:54
SynQnever mind02:02
SynQI've posted the question to the dev list02:02
SynQnite02:04
-!- SynQ [n=synq@e97024.upc-e.chello.nl] has left #WebGUI []02:04
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit []03:04
-!- cap10morgan [n=cap10mor@206-124-6-65.denver.dsl.forethought.net] has quit [Read error: 104 (Connection reset by peer)]03:33
-!- cap10morgan [n=cap10mor@206-124-6-65.denver.dsl.forethought.net] has joined #webgui03:33
-!- cap10morgan [n=cap10mor@206-124-6-65.denver.dsl.forethought.net] has quit [Read error: 113 (No route to host)]04:02
-!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui04:35
-!- mode/#webgui [+v Radix-wrk] by ChanServ04:35
-!- Radix-wrk [n=Jesse@203.161.68.67] has quit [Read error: 104 (Connection reset by peer)]05:14
-!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui05:14
-!- mode/#webgui [+v Radix-wrk] by ChanServ05:14
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui05:28
-!- mode/#webgui [+o preaction] by ChanServ05:28
CIA-51WebGUI: doug * r6121 /branch/doug-experimental/sbin/installAsset.pl: adding asset installer script for Installable mixin05:57
CIA-51WebGUI: doug * r6122 /branch/doug-experimental/lib/WebGUI/AssetMixin/ (Comments.pm RSSCapable.pm Subscribable.pm): add other mixin shells05:57
CIA-51WebGUI: doug * r6123 /branch/doug-experimental/lib/WebGUI/AssetMixin/UserDefined.pm: added another mixin shell05:57
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [Connection timed out]06:21
-!- cap10morgan [n=cap10mor@206-124-6-65.denver.dsl.forethought.net] has joined #webgui06:26
-!- CIA-51 [n=CIA@208.69.182.149] has quit [Nick collision from services.]06:32
-!- CIA-1 [n=CIA@208.69.182.149] has joined #WebGUI06:32
-!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has quit [Remote closed the connection]06:55
CIA-1WebGUI: colin * r6124 /branch/WebGUI_Commerce/lib/WebGUI/ (3 files in 3 dirs): 07:14
CIA-1WebGUI: Add asset properties for parameters and variants as JSON.07:14
CIA-1WebGUI: Handle getting and setting this data, interfaced as07:14
CIA-1WebGUI: perl data rather than JSON.07:14
CIA-1WebGUI: Basic screen for adding/editing parameters.07:14
CIA-1WebGUI: i18n for the parameter editing screen.07:14
CIA-1WebGUI: colin * r6125 /branch/WebGUI_Commerce/docs/upgrades/upgrade_7.5.2-7.5.3.pl: add parameter and variant columns to the Product asset07:14
CIA-1WebGUI: colin * r6126 /WebGUI/ (3 files in 3 dirs): fix undocumented template variable in the Layout07:32
CIA-1WebGUI: colin * r6127 /branch/WebGUI_7.4/ (3 files in 3 dirs): backporting missing template variable to 7.4 branch07:32
@preactionthere aren't very many things in WebGUI::User type workflows08:02
@preactionare there any general-purpose ideas anyone has?08:02
@preactioni was thinking DeployPackage08:02
@preactionmaybe DeployPackage could be a good None activity too08:03
@preactionand then create a scheduled event to delete that content08:03
@apeironYou're wanting to create workflows that utilize a wG::User object?08:07
@preactioni'm wanting to create some more workflow activities, yes08:08
@preactionso that i have something interesting to talk about08:08
@apeironheh08:08
@preactioni mean, i could spend 30 minutes going on about the new approval activities i've dreamed up08:08
@preactionand 10-15 minutes about how to schedule content using workflow08:08
@preaction(after I improved that a bit)08:09
@preactionerr. s/d\b//;08:09
@preactioni'll probably spend another hour or two trying to make it easy to schedule showing and hiding content08:09
@apeironMaybe consider expiring as well?08:10
@preactionthat's what it would do. it would commit a version tag and then de-commit08:10
@preactionthe workflow would, but i'd need to make the activities to do it08:11
@apeironShowing/hiding is different from expiring in my mind.08:11
@preactiona Delay activity that could delay a certain amount of time (1 week, 2 months)08:11
@apeironExpired content outright ceases to exist, whereas hidden content is still there, just you can't view it without nonadmin creds.08:11
@apeironer. without admin creds.08:12
@preactiona WaitUntil activity that would return WAITING until the date/time passed a certain point08:12
@apeironheh08:12
@preactionthe "hide" activity would probably be able to choose "purge", "trash", or "decommit"08:12
@apeironuntil ($goTime eq time) { return $self->WAITING; }08:12
@apeiron# hic sunc perl 6 dracones08:12
@apeironsunt, not sunc08:13
@preactionso we'd have a VersionTag workflow that would WaitUntil, Commit, WaitUntil, Decommit08:13
@preactionUncommit or Decommit?08:13
@apeironThe choice idea sounds good.08:13
@preactioni like Decommit more08:13
@apeironhrm08:13
@apeironLikewise.08:13
@apeironHowever, Uncommit returns slightly fewer Google results.08:14
@preactioni think we already have Trash Version Tag and Rollback version tag (rollback being the same as purging / deleting the content)08:14
@apeironSlightly more, rather, sorry08:14
@preactioneh, it's the difference between uninstall and deinstall. deinstall sounds better08:15
@preactionbut everybody uses uninstall08:15
@apeiron'uninstall' was carved into my mind from so many years of FreeBSD: make uninstall08:15
@preactioni thought freebsd was make deinstall now08:15
CIA-1WebGUI: jt * r6128 /translations/Spanish/ (8 files in 2 dirs): update_from_translation_server08:16
+Radix-wrkuncommit?  why not rollback or something like that?08:16
@apeironCould be. I'm a bit not-here right now.08:16
@preactionrollback deletes08:16
@preactionWebGUI::VersionTag->rollback calls $asset->purgeRevision, which could potentially purge the entire asset08:17
+Radix-wrkI see08:17
@preactionthe new WebGUI::VersionTag->decommit would just set all the revisions to "pending" again08:17
@apeironAll the revisions?08:18
@preactionall the revisions inside of the version tag, yes08:18
@apeironahh.08:18
@preactionso with Delay and WaitUntil, we can create some general purpose workflows for "Commit Content for a Week" "a Month" "Dec 24 - Jan 02", etc... and then use those workflows to commit content08:21
@apeironAnd it'll automatically decommit it, then, after the interval, yes?08:21
@apeironWhere you can just set it and forget it.08:21
@preactioni suppose one could still use Create Scheduled Event, but there'd be three workflows: one to commit, one to decommit, and one for the time period08:22
@apeironTime for devil's advocate.08:22
@preactionbut if i introduce all three methods, that'll be best08:22
@preactiongo for it08:22
@apeironLet's say you're using this to put up some content that presents a discount sale for some products.08:22
@apeironYou originally schedule this sale to last a week.08:22
@preactionAsk me your questions gatekeeper I am not afraid!08:22
@apeironBut you later decide you want it to end sooner / earlier.08:23
@apeironWhat do you do?08:23
@apeironer. sooner / later08:23
@apeiron(as I said, I'm half gone, lots of writing in one sitting > me)08:23
@preactionyou could alter the workflow to change the date, but that would affect all other content committed under that workflow08:23
@apeironRight. But if you're doing things correctly and you only commit the content for the sale under the workflow, that's what you want, right?08:24
@preactionso it would be best to say to yourself "I have an event I want to have special content for, first I'll create a workflow for that event, then I'll create content and commit using that workflow"08:24
@preactionyes08:24
@apeironSo the instance of the workflow, then, would store the date?08:25
@preactionno, the workflow itself would08:26
@preactioninstance wouldn't, that would be bad (because then once the instance was created, you would not be able to change it)08:26
@apeironBut the workflow would be associated with that particular content, yes?08:27
@preactionother way around, the content is associated with a workflow instance, which is associated with a workflow08:27
@apeironah.08:27
@preactioni think the worst thing is my presentations are normally dry and informative, but every once in a while I'll have a funny slide or two08:28
@preactionwhich is just weird08:28
@apeironno way, it's a good idea.08:28
@apeironKeeps people interested.08:28
@preactionthis is going to be another one like my YUI presentation: a lot of information to take in08:29
* apeiron actually knows the JS required to understand that presentation now.08:29
@preactioni think i'll avoid the User stuff for now. these two things should be more than enough to satiate the crowd08:29
@apeironAnd of course as you say that I start getting ideas.08:31
@preactionthrow them out, i'll take them08:31
@apeironEmployee of the Month, for one.08:31
+Radix-wrkHmm.. mysql 5.1 out next week apparently.. supposedly up to 20% faster or more08:32
@preactionare we using 5.0 in the WRE 0.8 series?08:32
+Radix-wrkyeah08:32
@preactionoooh, then we can get that speed increase08:32
+Radix-wrkwill be nice :)08:33
+Radix-wrkhttp://tech.slashdot.org/article.pl?sid=08/04/12/1435214&from=rss08:33
+Radix-wrk"Among the enhancements are many bug fixes from 5.0, some of which may increase performance 20% or more, as well as 'partitioning, events scheduling, row-based replication and disk-based clustering."08:33
@preactionoh, employee of the month as an example for usage of using workflow to time content08:33
@preactionthat could be what i use for using Create Scheduled Event to do a periodic commit08:34
@apeironThere was another one, I'll try to remember it.08:34
@preactionsometime during the month you commit something using the "Employee of the Month" workflow, and at the 1st day of the month the old version tag gets rolled back, and the new version tag gets committed08:34
@apeironInvert it. 08:37
@apeiron"Hi, please tell me when this page (which details this new release) is published"08:37
@preactionthere's a Notify About Version Tag workflow activity, which I could improve to use arbitrary groups08:39
@preactionmake it a group that anyone can join and you can have that functionality08:39
@apeironhrm08:39
@apeironI imagine that you've considered things like a referral bonus?08:39
@apeironUser creates an account, referred from another user, give that user karma or something.08:40
@preactionthat's not a workflow thing really08:40
@preactionand there isn't affiliate tracking in webgui yet08:40
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui09:46
-!- Radix-wrk [n=Jesse@203.161.68.67] has quit ["Leaving"]10:30
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Connection timed out]11:09
-!- jdanpl [n=jdanpl@xdsl-461.lubin.dialog.net.pl] has joined #webgui13:01
CIA-1WebGUI: jt * r6129 /translations/Polish/Polish/ (WebGUI.pm Asset_Post.pm): update_from_translation_server13:31
-!- ryuu_ro [n=rory@194.171.50.69] has joined #webgui14:10
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has quit ["Leaving"]14:14
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui14:29
CIA-1WebGUI: jt * r6130 /translations/French/French/ (Asset_Newsletter.pm Asset_Layout.pm Asset_Thingy.pm): update_from_translation_server15:18
-!- BartJol [n=plainstu@host2.procolix.com] has joined #webgui15:21
BartJolRadix?15:21
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui15:37
-!- dionak [n=diona@97.66.185.250] has joined #webgui16:20
-!- jfluhmann [n=jfluhman@x171y213.angelo.edu] has joined #webgui16:47
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui16:49
-!- mode/#webgui [+o rizen] by ChanServ16:49
-!- SDuensin [n=Scott@50.sub-75-207-179.myvzw.com] has joined #WebGUI17:02
-!- cap10morgan [n=cap10mor@206-124-6-65.denver.dsl.forethought.net] has quit []17:15
-!- ryuu_ro [n=rory@194.171.50.69] has quit []17:35
SDuensinMorning.17:46
BartJolafternoon17:47
-!- lisette [n=liraos@201.232.58.66] has joined #webgui18:00
-!- jua1 [n=juangui@201.232.58.66] has joined #webgui18:00
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has left #webgui []18:02
lisettehi18:02
-!- crythia2 [n=gyoung@fl-69-68-148-96.sta.embarqhsd.net] has left #webgui []18:03
jua1hello18:03
jua1i have a question related to the anonymous template, sometimes when a user try to fill all the fields in the registration, he/she has a mistake in one of them.  the thing that i need is how to maintain the values digited by the user to fill the field that were incorrect?18:06
BartJolI don't understand, id it about profile fields? users can alter there own profile18:13
jua1Bartjol, suppose that you are create an account in my site, you fill all the fields but you fill the captcha incorrectly, when you try to save the information you won't be registered, so you have to enter the captcha again18:16
jua1but only the captcha, how can i maintain the other fields values to fill the captcha only?18:17
jua1if you have a mistake in one field on the registration you only have to correct it and not to fill all of them again?18:18
jua1do you understand me, now?18:18
BartJolah, so all fiels are cleared when you submiited the wrong capcha18:19
BartJolI see18:19
BartJolwell18:20
jua1yes18:20
BartJolbut you don't want to register them, only save them in the session18:20
jua1how?18:21
BartJolso people don't leave because they think it's too much trouble to fill it in again, or something like that18:21
BartJolwell18:21
-!- topsub [n=josh@97.66.185.250] has joined #webgui18:22
BartJolthat might be difficult18:22
BartJolwait i've got a phonecall18:23
BartJolmy mother18:25
perlmonkey2<joke>18:26
perlmonkey2can't she just yell down to the basement18:26
perlmonkey2</joke18:26
BartJol:)18:26
CIA-1WebGUI: jt * r6131 /translations/Dutch/Dutch/ (45 files): update_from_translation_server18:29
BartJolI pushed her of the stairs18:31
BartJoljua1 still there?18:31
jua1yes18:31
perlmonkey2heh18:32
BartJolwell, maybe you can alter the useradd script (I wouldn't advice it, but if you reallyyyyyyy want to, just decide yourself)18:32
BartJolhah?18:32
BartJolso that the adding is failed, they become a scratch vaiable18:33
BartJolvariable18:33
BartJolbut I say it again, I don't think it's wise18:33
BartJolchanging such scripts undermines the security18:34
BartJolmaybe there is another way, but right now I can't think of 118:35
jua1with javascript is another way  too18:36
BartJolwell, but I'm a jackass if it's about javascript18:36
BartJolbut if you know how to do that, go ahead18:37
BartJolgood luck, I'm off eating and drinking18:37
-!- BartJol [n=plainstu@host2.procolix.com] has left #webgui []18:37
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has joined #webgui19:04
-!- mode/#webgui [+v perlDreamer] by ChanServ19:04
+perlDreamerlisette, I tried my hand at translating some Spanish over the weekend.19:04
+perlDreamerYou may want to check the WebGUI namspace for 1035 and "external help" entries to make sure they're okay.19:05
+perlDreamerjua1: about your anonymous template question earlier this morning?19:15
+perlDreamerThere was a bug posted about that, or something similar, about two weeks ago19:15
+perlDreamerTry searching the bug database to see how the bug was handled (rejected, transferred to RFE or fixed)19:16
+perlDreamerif it was fixed, upgrading will get you what you want19:16
jua1hello19:19
+perlDreamerhowdy19:19
jua1ok, perlDreamer, i am going to check19:20
jua1i have another question, i am calling a macro several times in certain part of my site and it works well sometimes and sometimes doesn't work19:21
jua1but if i clear the caché in the admin console, the macro works again19:22
+perlDreamerwhich macro, jua1?19:44
-!- jfluhmann [n=jfluhman@x171y213.angelo.edu] has quit [Remote closed the connection]19:47
jua1a macro that i created?19:49
+perlDreamerI'd have to see the macro source code and know a lot more about the problem to help19:50
+perlDreamerbut offhand, I would say that you are having problems with page caching19:51
CIA-1WebGUI: jt * r6132 /branch/WebGUI_Commerce/ (5 files in 5 dirs): 19:57
CIA-1WebGUI: add view cart test19:57
CIA-1WebGUI: add metadata to ems tickets19:57
jua1perlDreamer, my problem is because i want to include in the registration some select box that are dinamics.  so when a user choose one option in the first select, automatically the other select load a respective values filterd by database19:58
jua1do you know in webgui how to do that?19:59
+perlDreamerNo, sounds like javascript.19:59
jua1how can i use javascript with databases'20:00
jua1?20:00
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has joined #webgui20:01
-!- mode/#webgui [+v MrHairgrease] by ChanServ20:01
+perlDreamerwell, using AJAX, when the user selects something from the select box, the page talks back to the site.  WebGUI sends back the options, which the javascript in the page uses to dynamically create the second select for the user.20:01
jua1do you know ajax?20:03
+perlDreamerno20:03
+MrHairgreaseAjax is a football club from Amsterdam20:03
jua1jajjajajaj20:04
+perlDreamerAjax is Asterix's buddy?20:04
+MrHairgreasehuh20:04
+MrHairgreasenonono20:04
+MrHairgreasethat's Obelix20:04
+perlDreamerI knew it was one of those --ix people20:04
topsubhmmm20:04
+MrHairgreaseAjax is also some kind of ancient greek God dude20:04
topsub<--20:04
+perlDreamerHe was the god of scrubbing floors20:04
+MrHairgreaseand I think the starship of the villain in Flash Gordon20:05
+perlDreamerhttp://en.wikipedia.org/wiki/Ajax_%28mythology%2920:05
+perlDreamerMrHairgrease: I have been reading through the Commerce code, and I continue to be impressed by it.  It's a nice piece of work.20:22
+perlDreamerSpoken from one electrical engineer/perl dude to another20:22
@rizendon't stroke his ego. have you seen the size of his head?20:38
@rizengranted that it's greatly exaggerated by the size of his hair20:38
+perlDreamerIt's not his hair.  His head only looks big because his glasses are so small.20:43
+MrHairgreasehey!20:54
+MrHairgreasethey may be small but tey're mighty strong20:55
+MrHairgreaseabout -1520:55
+perlDreamerAre they custom etched silicon glasses?20:55
+MrHairgreaseheh20:55
+MrHairgreasei guesss not20:55
+perlDreamerdude, you have the equipment to do that20:55
+MrHairgreasethey're probably some weird glass mixture20:56
+perlDreameryou could build a project on your glasses, even20:56
+MrHairgreaseand there cut20:56
+MrHairgreasenot etched of course20:56
+MrHairgreaselet me finish my current project first...20:56
+perlDreameryeah, and you better graduate, too20:56
+MrHairgreaseI'm getting some good results, so I'm hoping to have some working thingy at friday20:57
+MrHairgreasebut then again, I said the same thing in december...20:57
+perlDreamerThingy is already out in beta, maybe you should try to make whats-its instead20:57
+MrHairgreaseI came up with the name for thingy, so i may use whenever I like =)20:59
+MrHairgreaseat for whatever i like20:59
-!- jua1 [n=juangui@201.232.58.66] has quit [Read error: 104 (Connection reset by peer)]21:00
CIA-1WebGUI: jt * r6133 /branch/WebGUI_Commerce/t/Macro/ViewCart.t: perlDreamer is a 500 lb test mandating gorilla21:04
@rizenfinally21:04
@rizenthat took long enough21:04
+MrHairgreaseheh21:04
+MrHairgreasenever knew that21:04
+perlDreamerme, too21:05
+MrHairgreasecolin must have had a good shave before attending the wuc =)21:05
+MrHairgreaseand lost some weight in th eprocess too21:05
-!- MrHairgrease is now known as MrCookingGrease21:05
@rizenperhaps you should get your glasses checked21:06
-!- rizen is now known as rizhateseverythi21:09
-!- rizhateseverythi is now known as DropKidsAtPool21:10
-!- perlDreamer is now known as whatevuh21:10
-!- DropKidsAtPool is now known as iHateThereforeIa21:14
-!- iHateThereforeIa is now known as i_hate_there4_i_21:14
-!- i_hate_there4_i_ is now known as iHateThere4iAm21:15
-!- lisette [n=liraos@201.232.58.66] has left #webgui []21:18
-!- jfluhmann [n=jfluhman@x171y213.angelo.edu] has joined #webgui21:36
-!- topsub [n=josh@97.66.185.250] has quit ["Leaving"]22:55
-!- whatevuh is now known as perlDreamer22:55
+perlDreameryup, that is definitely broken22:59
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui23:06
-!- mode/#webgui [+o preaction] by ChanServ23:06
jdanplperlDreamer: I wonder if developers can add $session pointer to  WebGUI::Asset::Template::HTMLTemplate::process function's params. It helps makeing parser with special functions which can, for example,  return user data.23:13
+perlDreamerjdanpl: to get to the session, use $self->session :)23:14
jdanplIt's not possible.23:14
+perlDreamerwhy not?23:14
+perlDreamermaybe I don't understand what you're asking for23:14
+perlDreamerdo you mean you want it accessible from inside the template?23:15
-!- snapcount [n=royjohns@sccc-66-78-236-243.smartcity.com] has joined #webgui23:15
-!- mode/#webgui [+v snapcount] by ChanServ23:15
jdanpljust moment, I look at source23:15
jdanplYes23:15
+perlDreamerah, that may not be very wise23:15
+perlDreamer$session has access to the db username and password23:15
+perlDreamerthat can compromise the security of your site23:15
+snapcountyo... anyone at the MySQL conference?  So far I'm the only one I've seen with a WebGUI shirt on23:15
jdanplBut it's only way to share some user data23:15
jdanplYes, I afree with you23:16
jdanplagree23:16
+perlDreamerjdanpl, why don't you take a step back, and explain what you're trying to do?23:16
+perlDreamerrather than the immediate problem23:16
@apeironperlDreamer, 23:16
@apeironperlbot, achieve23:16
perlbotStep back. Explain what you're trying to achieve.23:16
jdanplMy webmaster needs some data in template about current user 23:17
+perlDreamerin which template?23:17
jdanplarticle for example23:17
+perlDreamerokay23:17
+MrCookingGreaseHave you tried the User macro?23:17
jdanplI can't write new wobject23:18
-!- MrCookingGrease is now known as MrHairgrease23:18
jdanplYes, but macros are runed after parsing23:18
+MrHairgreaseOh, you want to tmpl_if?23:18
+perlDreameryes, is that a problem as well?23:18
+MrHairgreaseotherwise I don't see the problem with using the macro23:19
+perlDreamertell us more, jdanpl23:19
+perlDreamerhow is this info to be used?23:19
jdanplAs I told, my webmaster needs some data to tmpl_if. And the problem is that parser interpretes template before macros are run.23:21
jdanplI can code my macro. But it be runs after :-(23:21
jdanplI looking for solution how to transfer some data to variable in parser23:22
+MrHairgreasewell, you didn't say that it was tmpl_if23:22
+MrHairgreasebut anyway23:22
+MrHairgreasein that case macro's indeed will not work23:22
+perlDreamerIs it allowed to have custom perl code?23:23
+MrHairgreasethe only way is to write your own template parser23:23
+perlDreameryup23:23
+perlDreameror, to do the conditional in javascript23:23
jdanplWe have wonderfull HTMLTemplateExpr parser. The only problem is how to transfer data to variables.23:23
+MrHairgreaseyou'll have to extend that plugin in order to include user data23:24
+MrHairgreasei cannot think of antoher way23:24
jdanplI made own parser with functions. But functions must have pointer to hash or some other structure23:24
+perlDreamerSubclassing it should work, too?  and then override addSessionVars to do the work.23:24
jdanplhm...23:25
+MrHairgreaseyeah, that would work23:25
+perlDreamerit would be easier to maintain long term, too23:25
+perlDreamerin the child's addSessionVars, call SUPER::addSessionVars to get all the defaults, and then add your own new ones23:25
+perlDreamernote however, that this will be called for EVERY template, so expect a speed/memory penalty of some sort23:26
jdanplIt's possible. But for speed/memory You colud thing about smart solution, how to give safe access for part of session data inside templates.23:31
+perlDreameryes, that is true.23:31
+perlDreamerif you think that many people would benefit from this, you could suggest it as an RFE23:32
+perlDreamerwhat kind of user information does your webmaster need?  Are they standard or custom user profile fields?23:32
+perlDreamerthe note about speed/memory comes from rizen's work with profiling templates where the i18n labels were moved to International macro calls.  It provided a nice speed-up.23:34
jdanplIf you suggest me a way, I can think and try myself. And if you will accept ... it be for everyone23:35
jdanplToday my webmaster needs userID, firstname, lastname and phone. 23:36
+perlDreamerI like the "Today" qualifier :)  Because certainly it will change for tomorrow.23:37
jdanplIt's why I think about bigger code23:37
jdanplSpecial function can block password and other secure data23:38
+perlDreamerdespite speed/memory, I still think it would be better to subclass WebGUI::Asset::Template::Parser::Tem23:38
+perlDreamerwhoops23:38
+perlDreamerTemplateExpr allows custom functions to be defined23:38
-!- lisette [n=liraos@201.232.58.66] has joined #webgui23:38
lisettehello23:38
lisetteeverybody23:38
-!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI23:39
+perlDreamerit should be easy to add a new function which would act like the User macro inside the TemplateExpr plugin23:39
elninohi all!  quick question..23:39
elninois there a way to find out if there are any shortcuts of an asset you are considering deleting?23:40
+perlDreamerhowdy, lisette.  I hope my translations weren't too bad.23:40
jdanplperlDreamer: Thanks, I make subclase first23:40
+perlDreamerelnino, use the db :)23:40
lisettesuper bien23:41
lisettevery good23:41
+perlDreamergracias23:41
elninoHappy to, I take it there is a table called shortcut? and it's tied to asset's assetid in asset's table?23:41
+perlDreamerTablename: Shortcut, field: shortcutToAssetId23:42
lisettethe text editors has two options to upload images. i would like to quit one of this option, how to do this?23:42
elninothanks!23:42
+perlDreamerlisette, the text editors are configurable.  There are actually assets called RichText23:43
+perlDreamerI think you can use the AssetManager to search and find them23:43
lisettethanks23:43
lisettei found23:44
lisetteand how to do?23:44
+perlDreamerI'm looking....23:44
lisettewhat i must do23:44
lisettethanks23:44
+perlDreamerby default in wG, there are two kinds of text editors23:44
+perlDreamerContentManagers and Forum23:45
+perlDreamerForum is used in the Collaboration System23:45
lisetteyes23:45
+perlDreamerContentManager's is used everywhere else23:45
+perlDreameredit the one you want to change23:45
lisettehow?23:45
+perlDreamerIn the AssetManager, click on Search23:45
+perlDreamerwhere it says Any Class, choose WebGUI::Asset::RichEdit from the pull down23:46
+perlDreamerand hit the search button23:46
+perlDreamerthat will give you the list of available Rich Editors23:46
+perlDreamerAre you with me so far?23:46
lisettei don't see this option23:47
perlmonkey2There isn't an SQL.pm method for soemthing like setrow where you have multiple keys are your primary key?23:47
lisettei see23:47
lisettesorry23:47
lisetteyes23:48
lisetteand?23:48
lisettei found two editors23:48
lisetteTHANKS :D23:48
lisette:D:D:D:D:D23:48
+perlDreamerto the left of the name, is Edit | More23:48
+perlDreamerchoose Edit23:48
lisetteyes23:48
lisettei do23:48
lisetteand i see23:48
lisettethanks23:48
lisette:D:D:D:D23:48
lisetteque saludos de Camilo23:49
lisetteque muchas gracias.23:49
-!- jdanpl [n=jdanpl@xdsl-461.lubin.dialog.net.pl] has quit ["Leaving"]23:49
-!- SDuensin [n=Scott@50.sub-75-207-179.myvzw.com] has quit ["Leaving"]23:50
+perlDreamerone other small note.  Since this is an Asset, when you edit it, you will need to commit your changes so that everyone in the site can see them.23:51
lisetteok23:51
lisettethanks23:51
+perlDreamerelnino: Each Asset has a definition subroutine.  It lists the fields, types and database name that each asset uses for its primary data.  Collateral data is handled separately.23:52
elninoDon't know quite what you mean, perlDreamer. I was just going to do a SQL report of assets that have shortcuts.23:53
+perlDreamerright, but to get a quick idea of what each asset uses for that SQL, look at the subroutine named definition in that Asset.23:54
+perlDreamerthat's how I found that info so quickly23:54
lisettei translated the gender, male and female to spanish, and if i try create a new user, the gender well, but when i show this field from ProfileData from a macro show me in english, what i must do?23:55
elninosubroutine in the perl module?  oh. Ok. I'll take a look. Thanks23:56
+perlDreamerlisette: are you using the ^User(); macro to do this?23:58
lisetteno, i do a new macro23:58
--- Day changed Tue Apr 15 2008
+MrHairgreaseperlmonkey2: afaik, setRow can handle only single primary keys00:00
+MrHairgreaseno composite pk's00:00
+perlDreamerlisette, this could be a bug.00:00
+perlDreamerAll data that the user sees in the profile is internationalized, but the data in the database is not00:00
+MrHairgreaseand I don't think there is an alternative that does...00:00
+perlDreamerI would write it up as a bug and see what people say.00:00
elninoneed a recommendation.00:01
+perlDreamerBuy Google00:01
elnino=) That was fast.00:01
perlmonkey2MrHairgrease: see, if I wasn't an idiot, I'd know that.  But I just realized those fruit pickers who stopped by my house and sold me a box of fruit for $50, which I thought was a great deal, probably wasn't a great deal as the box probably only contains 50 pieces of fruit.  $1 for an orange is highway robbery.00:01
perlmonkey2So I'm an idiot.00:01
lisetteand i query from the database and the all user in the table userProfileData the field gender is in english00:01
elninoSo, we hired an SEO consultant. Who want to have a specific page title, menu title and browserbar text (which is currently the page title) Any ideas on how to do this? I was thinking of utilizing the summary field for the browserbar text.00:02
+MrHairgreaseperlmonkey2: what has you being an idiot to do with it?00:02
+MrHairgreaseand expesive oranges? =)00:02
perlmonkey2MrHairgrease: oh, not much.  just working in my latest story of getting suckered into rizen's meme of stupidity.00:03
+MrHairgreasehehe00:03
+perlDreamerlisette, if you wrote a custom macro, then you could do the i18n lookup yourself while you're waiting for the bug to be answered.00:03
elninogood/bad idea?00:03
perlmonkey2MrHairgrease: at least they are really good oranges.  I've had more citrus today than the last 10 years combined.00:03
+MrHairgreaseelnino: i guess you could do that00:04
perlmonkey2couldn't you just add vars in the template and have macros fill them out?00:05
elninoI dont' think pagelayout has userdef fields, does it?  that would be nice...00:06
elninois that what you mena perlmonkey2?00:06
lisettei want to do the form anonymous register what is te action of this form?00:06
elninomena replaced by mean00:06
lisettei can do this?00:06
perlmonkey2elnino: a page layout has a template, right?00:10
+perlDreamerspeak wisdom, o citrified one00:11
perlmonkey2hah00:11
lisetteno?00:12
perlmonkey2I'm just saying, elnino, if the page layout has a template, you could add vars and/or macros where you need the custom text.00:12
+MrHairgreaselisette: check out W::Auth->createAccount00:12
* perlmonkey2 goes away to find a grapefruit.00:13
+MrHairgreaseand of course WG::Auth::WebGUI->createAccount00:13
lisettei don't see the action of the form00:16
lisetteis the same url?00:16
+MrHairgreasesince it's an operation the action can be anything on the site00:17
+MrHairgreaseformHeader defaults the action to the current page00:17
+MrHairgreasewhich is what you prolly want to use too00:18
+MrHairgreaseHow do the auth operation work? See WG::Operation::Auth.00:18
@iHateThere4iAmis it valid to do $self->SUPER::SUPER::method()00:18
+MrHairgreaserizen: I think not00:19
@apeironI don't think so, no.00:19
+perlDreamerNo, welcome to the edge of Perl's object system.00:19
+MrHairgreaseI remember trying to do that several years ago00:19
+MrHairgreaseand it didn't work00:19
@iHateThere4iAmso i have to copy the method from two levels up then if i want it?00:19
+MrHairgreaseuhm00:20
@iHateThere4iAmI've got C inheriting from B and B inheriting from A00:21
+MrHairgreaseI could be that the examples I made for the Plugagable auth talk at the first wuc do something like that00:21
@iHateThere4iAmB overrides the method in A00:21
@iHateThere4iAmbut i want C to use the same method as A00:21
+MrHairgreasethen do $self->A::method00:21
+MrHairgreasewouldn't that work?00:21
+perlDreameriHateThere4iAm, time for mixins/multiple inheritance00:21
@iHateThere4iAmoh you can do that?00:21
+MrHairgreaseas i said00:21
+MrHairgreaseI'm not sure anymore00:21
+MrHairgreasethat was five years ago00:22
+MrHairgreasebut if you have those examples handy somewhere00:22
+MrHairgreaseit could be that i did something like that00:22
@iHateThere4iAmi could write a test to figure it out faster than i could find your example00:23
@iHateThere4iAm=)00:23
+perlDreamermmmm.... testing00:23
+MrHairgreasedoing that now00:23
* iHateThere4iAm mumbles something about gorillas 00:25
elninoperlmonkey2 - right, i just wondering if the synopis is a good place to store this info, or i fthere is userdefine fields, but 'm thinking not.00:26
+MrHairgreaserizen: $self->A::method should work00:27
+MrHairgreaseit just did over here00:28
+MrHairgreasewhat's up with all the hatred today btw?00:29
perlmonkey2elnino: I'm sorry, but I don't know.  I'd be hesitant to use a existing field for something it wasn't meant to be used for.00:30
elninoI know.. I don't like this either... This SEO stuff really stinks.00:30
+MrHairgreaseelnino: it;s not the best choice, but you have little other choices00:30
+MrHairgreasethere are no userDefined fields00:31
+MrHairgreasehowver you could extend the Layout wobjcet.00:31
+MrHairgreasebut that requires coding00:31
elninohere's a question then, 00:32
@iHateThere4iAmhatred: i'm behind on the ems, i keep getting more shit to do, and koen is asking incessant barrage of increasingly irrelevant questions00:33
elninoin the page layout, there is a area for header info.  Technically the <title> tag (which is what defines what is shown in the browser bar) is part of the header of the apge, so mabe I can pu tit there, and rip it out of the template?00:33
+MrHairgreasei actually stopped reading koen's posts00:33
+MrHairgreaseoh that's a pretty good idea elnino00:34
+MrHairgreasejust only apply it to layouts, or else you'll get multiple title tags ending up in the head block00:35
elninoright.  00:37
elninoI'll have to chew on this... THanks00:39
-!- jfluhmann [n=jfluhman@x171y213.angelo.edu] has quit [Remote closed the connection]00:40
elninois the synopsis field used for anything other than navigation assets that display the synopsis?  I don't see it display in any html (using defult templates), so I'm assuming not.00:49
+perlDreamerelnino, if you're really worried about it, you could use a metadata field01:09
elninoI'm thinking that way right now, I just don't like the idea that marketing has to select the correct pagelayout template to display the <title> from the correct "setting" (page title OR metadata field) Cause two <title> would be bad. and we have 300 pages, and we're only optimizing a hand full.01:13
+perlDreamer iHateThere4iAm: your last response to koen was a bit too curt (like empty)01:13
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit ["Exit- stage left"]01:13
-!- dionak [n=diona@97.66.185.250] has quit []01:14
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has quit [Read error: 110 (Connection timed out)]01:14
-!- dionak [n=diona@97.66.185.250] has joined #webgui01:16
elninoI'm no perl expert, but I'm assuming I coudl write a macro that looks at the metadata field and look for the <title> to be defined, and if it isn't I can pull the page title?  Maybe that can be my first user contribution.  YIKES.01:20
+perlDreamerthe metadata fields are directly available in templates already01:23
elninothe field, but not the individuela <meta name="keywords", <meta name="description", etc..... right?01:24
elninoI think I need to parse the db field and look to see if the person provided "<title>blah blah</title>"01:25
+perlDreamertmpl_if01:25
elninoyou can do regex with tmpl if?01:26
+perlDreamerno, but you could check to see if the metadata field was populated, and if not, use the standard title field instead01:26
elninooh.  there is always going to be something there because of the other meta tags.01:27
-!- lisette [n=liraos@201.232.58.66] has left #webgui []01:34
+perlDreamerelnino, don't confuse asset meta data with meta tags in the templates01:35
-!- dionak [n=diona@97.66.185.250] has quit [Read error: 110 (Connection timed out)]01:37
elninoI"ve been refering to the metadata-extra header tags field that you see in the properties of a pagelayout. I need to look at the contents of that field and see if marketign folks enter a header tag called <title> amoungst all the other <meta> tags. 01:39
+perlDreamerthat's what I'm talking about, too.01:39
+perlDreamerTell them to keep their stinking mitts off your templates01:40
+perlDreamerand have them fill out metadata fields, instead01:40
elninoand if they did provde a <title> tag, I'll use that instead of the "Page title" property.01:40
elninoYep, but they won't be able to provide titles for 300 pages right off the bat, so I'll need to provide a title if there isn't one alread in the metadata extra header field01:41
@iHateThere4iAmelnino01:41
+perlDreamerright, that's why you'd use the tmpl_if to discriminate between the two01:41
@iHateThere4iAmyou're missing the boat01:41
elninoso I'll get that title from the page title for now.01:41
@iHateThere4iAmperlDreamer is suggesting that you use meta data (aka content profiling) not the extra headers field01:41
elninotmpl_if only check to see if ther eis stuff in the field or not. There is other things that marketing is provideing inthe metadata extra header field01:42
elninoI'm not aware fo meta data via content profiling.... What is that?01:42
+perlDreamerasset meta data allows you to add extra information to your assets, almost like a user defined field, but only available to content managers and admins01:43
+perlDreamermost people use it to track categories of data and see what most people view on their site01:43
@iHateThere4iAmit allows you to add extra properties to all your assets01:43
elninooh.. That sounds cool. any wiki that?01:43
+perlDreamercheck out the content profiing entries in the wiki01:43
elninoyou're fast.01:43
elninois that available on 7.4.26?01:43
+perlDreameryes01:44
@iHateThere4iAmyup01:44
@iHateThere4iAmevery version since 6.201:44
+perlDreamerin my dayJob, I'm a professional typist :)01:44
@iHateThere4iAmthen you can do <tmpl_if mynewcustomtitlefield><tmpl_var mynewcustomtitlefield><tmpl_else><tmpl_var title></tmpl_if>01:44
+perlDreamerListen to me, all ye users of WebGUI!01:45
+perlDreamerIf you don't learn what it can do01:45
elninook. Well I dinner to do. I'll take a look at that content profiling. It sounds like I'll have to enter the actual values for these "not quite user defined fields"01:45
+perlDreamerYou'll be doomed to forever reinvent ways of fixing things that aren't broken!01:45
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI01:46
@iHateThere4iAmthere's a content profiling class at the WUC this year01:46
@iHateThere4iAmelnino, you should attend01:46
elninoAgreeed perlDreamer - but wbgui is a big monster. I've been using it for two years, and still learning what it can do. And it's hard to document all the different scenarios that you can use features liek this for.01:47
elninogot money?  my company won't send me to something liek that....01:47
+perlDreamerthink of it this way01:47
elninoi wish.01:47
+perlDreamerhow many hours have you spent on this latest topic?01:47
elnino4 hours.01:48
+perlDreamertake that time, multiply by your salary, multiply by the number of future projects you'll be doing01:48
elninobut many more to come... 01:48
+perlDreamercompare that to 2 days of hardcare, intense webgui training01:48
+perlDreamerwith rizen and his team pounding info into your head01:48
+perlDreamerit will come spilling out your ears01:48
elninoyou don't have to conviense me.  wanna come to minnesota?01:49
@preactionc'mon, it's not that bad01:49
+perlDreamerpreaction: it's that good01:49
@preactionoh01:49
@iHateThere4iAmthe WUC is in Madison, WI01:49
@iHateThere4iAmit's only about a 5 hour drive from you01:49
elninogot childcare?  =)01:50
@iHateThere4iAmand there is a hostel only 4 blocks from the conference hotel if you want to stay cheap01:50
+perlDreamertell your boss that after you come, you'll turn around and teach the same class back to your team01:50
@iHateThere4iAmelnino, you can find a billion reasons not to come if you want to...but in the end, the more questions you ask without answering any the less likely it is that people will want to help you01:51
@iHateThere4iAmthe only way to answer questions is to find out the answers, and the best way to do that is to get your butt to the wuc01:51
@iHateThere4iAmi guarantee it will be the best money/time that you and your boss spend on your webgui project01:53
+perlDreameraside from your salary, of course01:54
elninono seriously, I work parttime in IT and have a baby (I can only do this BECAUSE of webgi - thank you) .  I would like to go. Is there remote teleconferencing?  I just put my request in - wel'll see if I can go. And if I can find someone to watch my child. Gotta go do dinner now. I"ll stay logged in.01:59
+perlDreamerelnino, no remote teleconferencing, but you will be able to buy conference videos02:06
+perlDreamerbut the face to face time with other users and devs is invaluable02:06
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has quit [""time to go home""]02:37
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)]02:39
-!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has quit [Read error: 110 (Connection timed out)]02:50
-!- Radix-wrk [n=Jesse@formsys.com] has joined #webgui03:03
-!- mode/#webgui [+v Radix-wrk] by ChanServ03:03
-!- snapcount [n=royjohns@sccc-66-78-236-243.smartcity.com] has quit []03:32
-!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui03:45
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has quit [Read error: 110 (Connection timed out)]04:18
perlmonkey2anyone know how you would do a SQL.pm query using a 'where something in ?'[$listOfCommaDelimitedString]04:20
-!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI04:42
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI04:45
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui04:51
-!- mode/#webgui [+o preaction] by ChanServ04:51
elninohi. anyone there understand content profiling?05:06
-!- Radix-wrk [n=Jesse@formsys.com] has quit ["Leaving"]05:18
-!- Radix-wrk [n=Jesse@formsys.com] has joined #webgui05:28
-!- mode/#webgui [+v Radix-wrk] by ChanServ05:28
-!- Radix-wrk [n=Jesse@formsys.com] has quit [Read error: 104 (Connection reset by peer)]05:33
-!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui05:33
-!- mode/#webgui [+v Radix-wrk] by ChanServ05:33
@apeironhttp://infotrope.net/blog/2007/11/27/test-driven-development-tutorial/ # neat TDD presentation05:35
@apeironThere's some neat bits on legacy code starting at slide #62.05:38
elninoI was talkingn with perlDreamer and "iHateThere4iAm before and they were telling me about content profiling. I've read the wiki, but I'm having a difficult time retreiving the valuse into my template. I've enabled content profiling under settings, and filled in the value under the metatab on the page layout screen. the name of one of the properties is meta_keywords.  So I'm using <tmpl_var meta_keywords> but am unable to see the value. 05:47
elninoDid I miss something?05:47
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."]05:52
@apeironelnino, I just set up a text field on an article in a stock 7.5.7 build and it's showing up as expected.05:56
@apeironelnino, Under Content Profiling in the Admin Console, there's a field named greeting. Its possible values are 'hello' and 'world'. I added a greeting field to /home/welcome , changed the template to include this: <tmpl_var greeting> and it shows up appropriately.05:57
-!- Radix-wrk [n=Jesse@203.161.68.67] has quit [Read error: 104 (Connection reset by peer)]05:58
-!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui05:58
-!- mode/#webgui [+v Radix-wrk] by ChanServ05:58
-!- Radix-wrk [n=Jesse@203.161.68.67] has quit [Client Quit]05:58
@apeironelnino, How does what you're seeing differ from this, so that I can try to duplicate the problem better?05:59
elninohi. I'm using 7.4.x and nothing shows up. Just blank lines06:01
elninothank you for getting back to me..06:01
elninoI feared that I was using names I wasn't allowed to use, because I didn't know if the property name needed to be the same as the meta tag I'm using. I defined one for keywords, description, and title06:02
elninoWhich of course are all being used in webgui for the pagelayout properties. So 06:02
elninoI renamed them meta_keywords, meta_description, meta_title.06:02
elninothen in my template, I'm trying to display them with06:03
elnino<meta name="description" content="<tmpl_var meta_description"/>06:03
elninoactually, sorry, I'm first checking for the existance:06:04
elnino<tmpl_if meta_desription>06:04
elninothen I print out the variable like above06:04
elnino</tmpl_if>06:04
elninoand nothing is printed out. just blank lines06:04
@apeironahh, hmm06:04
@apeironSo this isn't the asset template (like, say, article) but rather the style template, yes?06:05
elninowhich by the way, it appears that there aren't very many characters with these, it's getting chopped at about 50 chars. which won't do with meta tags06:05
elninoYes, this is the main style template.06:05
@apeironOkie.06:06
* apeiron tries to reproduce.06:06
@apeironah!06:07
@apeironelnino, Oh, you have the <tmpl_if> tag closed correctly, right?06:07
elninoas above. I believe so...06:07
-!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui06:08
-!- mode/#webgui [+v Radix-wrk] by ChanServ06:08
-!- Radix-wrk [n=Jesse@203.161.68.67] has quit [Read error: 104 (Connection reset by peer)]06:08
elninoI'm going to trying it without it. is that the problem?06:08
elninoI removed my if statements. 06:09
elninonow I just get <meta name="description" content="" />06:09
@apeironYes, I get the same thing.06:10
@apeironIt's like the template variables haven't been processed entirely at that point..06:10
elninooh... that stinks. the wiki advertises that this can be used for meta data. is it a bug? or am I pushing the limits here?06:11
@apeironIt works fine in the article template.06:11
@apeironHonestly I'm not sure. I've never touched head tags in style templates nor content profiling.06:11
elninoi just reread the wiki bottom. what does this supposed to mean: "Since the meta data is exposed as template variables, you can use them in the Head Block of Style templates to create meta tags from meta data, "06:12
@apeironIt does support your argument, I'll admit that much.06:12
elninoah.. let me try to put it in the head block area....06:13
elnino... of the main template...06:13
@apeironhrm. it's odd that it's not working... at all.06:15
elninonow I"m getting <meta name="description" content="tmpl_var description:.06:15
elninoI'll try it in an article template head block06:15
elninoummm... So I "enabled metadata" and now I see there is also "enable passive profiing" do I need both?06:17
@apeironI don't believe so, from the description on the wiki.06:19
@apeironI'm looking at the code now.06:21
elninook. I tried the article template, and it "overwrote" the articles descriptoin field and article's title. So I can't use the meta tag's name - which I kinda figured because it clashed with the asset/wobject's properties.06:23
@apeironhmm? I was able to put in a text field in an article template and it didn't overwrite anything.06:23
elninoI had named my profile properties after the actual meta tag: title keywords and description. Title and Description are used by webgui.06:24
elninoso in my article. It pulled the profile title instead of the article title.06:25
elninolikewise witht he description06:25
@apeironahh.06:25
@apeironWell, okay, yeah, don't do that. :)06:25
@preactionpassive profiling is metadata + individual user accounts i believe06:25
elninosorry. =( I'm just glad I didn't screw the system up.06:25
@apeironNo need to apologize, it's just that that won't do what you want.06:26
@apeiron(because of the overriding you described)06:27
elninosounds right, according to the wiki it kinda looks like passive profiling tracks hits and rankings and stuff that I didn't quite understand, and we don't use user accounts so I left it disabled.06:27
elninocalling the profile in the head block of an article template doesn't do anything. I'm going to try  to put it in the template itself.06:28
elninook. it works in an article title like apeiron said, but it still doesn't work in a style template.06:30
elninowhich is where I want to put the meta tags. I suppose I can call a snippet to do the same. I'll try that.06:30
@apeironIs wG::Session::Style->process() not what's called to process a style template?06:30
@apeironI'm putting debugging code in there to dump out metadata stuff and it's not showing in my logs.06:31
@preactionit calls Wobject->processStyle which calls Session->Style->process06:32
@preactionprocessTemplate is what gets the metadata stuff though06:32
@preactionthat's in Asset06:32
@apeironFor the Style template, though?06:32
@preactionstyle templates aren't processed via processTemplate06:33
@preactioni don't think06:33
@apeironpreaction, Line 204 of wG/Session/Style.pm in HEAD06:34
@apeironIt explicitly requests the metadata fields and populates $var accordingly.06:35
@preactioni see06:35
@apeironAnd if I change the 'WebGUI' in there to read 'WebFUI', it does show up.06:35
@apeironWhat's not happening, though, are any errorHandler calls, which is odd.06:35
* apeiron shrugs, puts a dumper call in the raw HTML.06:36
elninoI tried putting my calls into a snippet and calling that inmy style template, and that didn't work. But I suspect you probably knew it wouldn't. I'll let you two discuss this. =) i need to do laundry.06:36
@apeironOkay, so, the metadata properties show up if I outright dump them into the HTML.06:37
@apeironAh, but hmm...06:38
@apeiron'value' => undef06:38
elninoI'm trying  a meta tag that hopefully is unigue to webgui: robots.  as the ones I've been working with are "reserved words" for webgui's infrastructure.06:48
-!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui06:49
-!- mode/#webgui [+v Radix-wrk] by ChanServ06:49
elninono go. property name = robots, html should be: <meta name="robots" content="blah" /> did not display in style template.06:51
elninoI was hoping it HAD to match the meta tag name, and description, keywords, title coulnt' because they were already used. oh well. 'm out of testing ideas.06:52
@preactionyou have <meta name="robots" content="<tmpl_var robots>" /> in your style template right?06:52
@apeironpreaction, I tried it too, on 7.5, and it doesn't output anything whatsoever.06:53
@apeironFor the template variable, that is.06:53
@apeironIt'll output something like this: <meta name="robots" content="">06:53
elnino yes, as apeiron is saying.06:53
@preactionthat's not good06:55
@preactioni suggest writing some tests06:55
@apeironhmm. getPage should allow me to get the full www_view output of the asset, right?06:56
@apeironEverything from the doctype to </html>06:56
@preactionyes06:58
@preactionexcepting HTTP headers06:59
@apeironThey're not important for this, so that's okay.06:59
elninothanks folks for spending time on this, it's much appreciated. My marketing people will be estatic! and so will I.07:14
-!- perlDreamer [n=colink@pool-71-117-250-89.ptldor.fios.verizon.net] has joined #webgui07:25
-!- mode/#webgui [+v perlDreamer] by ChanServ07:25
+perlDreamerelnino: part-time always involves such late hours?07:25
+perlDreameror are you an after bed-time hacker like me?07:25
elninoyes no, when I want to get something done, I get it done. and often its during the  late hours when baby is in bed.07:26
elninoI didn't mean to cut you off eariler today, the network dropped on the laptop. I've had nothing but troubel with this vista machine!07:26
elninoI hope I am able to come to the WUC. We'll see how it goes.07:27
+perlDreamernot a problem.  I hope I wasn't too pushy.07:28
elninothe reason why i'm up late today is I think I've got preactiona and apeiron chasing after a bug.07:28
+perlDreamercool!07:28
elninono you weren't, just enthusiasic.07:28
@preactionhe is, i'm just idling.07:28
elninoLOL07:28
* apeiron will be chasing it after sleep, sometime soon.07:28
@preactioni'm finally migrating the plainblack.com / webgui.org CS and folders to Galleries07:28
elninoI'm pursue content profiling, and it appears that it dosn't work at all.07:28
@apeironOh, so that's why the site's horribly broken and giving 500 errors...07:29
+perlDreamernot at all?07:29
@preactionapeiron, no?07:29
elninoit only works in article assets, not on style templates.07:29
@apeironpreaction, Sarcasm, sir. :)07:29
elninoif I said that correctly.07:29
@preactionapeiron, don't worry me like that :p07:29
@apeironha07:29
+perlDreamerwhy do you say it doesn't work?  Are the template variables missing, or something else?07:29
elninonote to self. don't eat white jelly beans. yuck.07:29
@preactioni'm making a restore point right now so we don't have to go back to this morning's backup if i screw up royally07:30
+perlDreamer"alas, earwax"07:30
@preactionthey have pina colada ones that are white07:31
@apeironperlDreamer, What happens is when you put a <tmpl_var meta_data_field_here> in a style template as opposed to an asset template, it doesn't render the contents of the variable.07:31
@apeironperlDreamer, You get an empty string, that's it.07:31
elninoI've created the profiles names and called them appropriately and they come up undefined, or blank in a style template, but if I use an article and display the content profies in the articles's template they show up. 07:31
elninolisten to apeiron. he worded it better.07:32
@apeironAnd this means, at least as far as elnino and I can tell, that the "you can use this for the Dublin Core headers" part of the wiki is wrong, or at least not functioning.07:32
elninoI dont' know what Dublin Core headers are, but I'll trust you. I just want meta tags: keywords, description and <title> and more later.07:33
+perlDreamerthere are no tests for asset level metadata in Session/Style07:33
+perlDreamerI haven't written those yet, although there is a TODO test to remind me to do it07:33
@preactioni was hoping that the metadata was pulled from the current asset, not the style template07:33
@preactionsince it doesn't make sense to have <meta> tags as part of a style template07:34
@preactioner, metadata as part of a style template07:34
elninowell, yes, I define them at the page layout and wnat to display them in the pagelayout style template.07:34
@preactionyeah07:34
@preactionit makes sense to put them in a Layout and have them appear in the <head> block07:34
@preactionI think templates should hide the metadata tab completely, they shouldn't be allowed to use metadata07:35
elninoI'm sorry WRONG. I define them at the page laytout metadata, and display them in the STYLE TEMPLAET.07:35
elninoI said that wrong eariler, I meant.07:35
@preactionelnino, that may not be the best way of doing it, but the end result is: they appear in the <head> block of the page, right?07:35
elninometa data must be in the head block07:36
elninoso the styel template seemed to be the correct place to display them.07:36
elninoI trie dputting them in the page layout head block portion of the page layout template, and that didn't work either. The wiki eluded to that.07:37
elninothe method of calling the content profile files in the "head blcok" of the template only worked for article assets.07:38
elninonot for pagelayouts07:38
elninobut I'll try it again.07:38
@preactionelnino, if you want it to work right now, I would make a macro that did it. the macro could be as simple as "sub execute { return $self->session->asset->getMetadataFields( shift ); }"07:38
@preactionthen your macro would be something like ^Metadata( fieldName );07:38
@preactionif you put that macro in an RFE for that macro, it could help people a lot07:39
@preactionit would make metadata more useful at least07:39
elninothat would be aweseom. I'll try that too. sure. No problem.07:39
+perlDreamerthat's fieldId, not fieldName07:39
@preactionfieldId, right07:39
@preactionnot sure what getMetadataFields returns, there may be something else involved, but it should be really simple07:40
+perlDreamerit's a hashref07:40
elninoafter all this, I'm updating that wiki. it was a good start, but definately not complete in my opinion.07:42
+perlDreamerelnino, some people hack on bugs, some write tests, some help people on IRC, but those who work on the wiki are blessed by all the users07:43
+perlDreamerthis is a barebones macro that will return the value of a metadata field that is looked up by fieldId.07:47
+perlDreamerhttp://webgui.pastebin.org/2988107:47
elninohmm. I put the calls to the vars in the page layout styel sheet in the head block section and it didn't work either: <tmpl_Var meta_description> - it's as if the head block doesn't handle template variables. But I'm pretty sre the article asset's template head block did.07:47
+perlDreamerI haven't tested it, so caveat hackor07:47
+perlDreamertime to crash out, I'm up at 5:30am tomorrow.07:48
+perlDreamerSee y'all in the morning :)07:48
-!- perlDreamer [n=colink@pool-71-117-250-89.ptldor.fios.verizon.net] has quit ["Leaving."]07:48
elninoIt's not appropriat to display meta tags in the pagelayout portion, but it did work. so now I have meta tags in my <body> tag.07:50
elninois the "head block" portion of teh template supposed to show up in the body? by the name it sounds like it's suppoed to be in the head block. sounds like a bug. I noticed this before, but I didn't really care, now that I"m doing meta tags, I do. I'll report this.07:51
@preactionit's probably a problem in your style template07:52
@preactionthe Head Block isn't processed for template variables, that would be an RFE as well07:52
elninoif head block doesn't process variables what does this mean fromthe wiki: "Since the meta data is exposed as template variables, you can use them in the Head Block of Style templates "07:57
elninolast senttence in the wiki.07:58
@preactioneither that's wrong or it's a bug, but i'm betting that's wrong08:01
@preactionwhich wiki article are you looking at? 08:01
@preaction(i can tell if the wiki should be right or if it's wrong)08:02
elninohttp://www.webgui.org/community-wiki/content-profiling08:02
elninoonly one there is.08:02
elnino=)08:02
elninoon the current subject, that is.08:03
@preactiontera put it in, which probably means it was in the old WebGUI Done Right content section of plainblack.com...08:03
@preactionI would post a bug report and link that wiki article08:03
@preactionbecause the head block is not parsed for template variables, not even just for the metadata stuff08:04
@preactionand once again i have my code working on the first try, which means either my tests are wrong or i'm actually right08:04
elninois the wiki describing how it should work?  aperion was able to duplicate my situation. you want the nitty gritty of what I was doing?08:05
@preactioni'm saying the wiki May be describing how it should work08:06
@preactionit seems that Content Profiling is on everyone's minds these days08:07
elninook.  I was unclear as to what was containing the bug.08:07
elninoreally? first time I've heard of it from you today.08:07
@preactioni've had more than a few discussions with Steve and other clients about how to do metadata and such08:08
elninodid it work for them?08:08
elninoif it did, me and apreion definately are missing something.08:09
@preactionno, i told them the same things i've told you08:11
@preactionhead blocks are not parsed for template variables and Content Profiling is just shy of being actually useful08:11
elninoso, you said "once again i have my code working on the first try" is that in reference to the content profiling, or are you dual tasking on something else?  did you print out a content profile value using a pagelayout or article asset template?08:14
@preactioni'm multi-tasking08:15
@preactioni'm writing the utility that migrates a Folder of Image assets into the new Gallery08:16
elninook. I just noticed that perlDreamer wrote me the code for the macro you suggested. Can you thank him for that?  and I have a quick question and I'll be gone...08:23
elninowhat is the difference tween a macro using process verses execute. i never saw "execute" before.08:24
elninois that a 7.5 thing?08:24
@preactionmost likely it's a bug08:25
-!- ryuu_ro [n=rory@194.171.50.69] has joined #webgui08:53
CIA-1WebGUI: jt * r6134 /translations/Polish/Polish/ (Invite.pm Asset_Post.pm): update_from_translation_server09:23
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit ["Leaving"]09:51
elninohi.  So the macro works fine, but I'm still running into the same problem. I can't run it in the style template, because it appears that at that point, it doesn'tknow anything about the page layout's content profile variables.09:51
elninoso I'm stuck. And preaction just left. I and I think I'm talking to myself now...09:51
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui09:59
-!- mode/#webgui [+o preaction] by ChanServ09:59
elninohi again preaction: just to let you know my status:10:13
elninoSo the macro works fine, but I'm still running into the same problem. I can't run it in the style template, because it appears that at that point, it doesn'tknow anything about the page layout's content profile variables.10:13
elninoI wrote up a bunch of rfe's and bug reports. hopefully they make sense. I'm going to bed now. I probably wont' work again on this till thursday.10:15
-!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has quit ["Leaving"]10:27
-!- Radix-wrk [n=Jesse@203.161.68.67] has quit ["Leaving"]10:33
-!- BartJol [n=plainstu@host2.procolix.com] has joined #webgui11:14
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui12:38
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has quit ["Leaving"]14:16
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui15:24
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has quit [Read error: 104 (Connection reset by peer)]16:05
-!- iHateThere4iAm [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit []16:09
-!- SDuensin [n=Scott@228.sub-75-206-23.myvzw.com] has joined #WebGUI16:09
SDuensinMorning.16:13
perlmonkey2SDuensin: at least you didn't claim it was good.16:18
-!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has quit []16:18
SDuensinI'm not that foolish.  :-P16:19
perlmonkey2can someone point me at an example of a webgui asset handling a file posted from a form?16:31
perlmonkey2s/can/would/16:31
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)]16:32
-!- slickware [n=slick@c-76-119-132-119.hsd1.ma.comcast.net] has joined #webgui16:32
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui16:34
-!- mode/#webgui [+o rizen] by ChanServ16:34
slickwareeveryone's so chatty this morning16:37
slickwareI have a question for whoever is awake...16:37
slickwareI have 2 servers, one is currently at build 6.2.9, and the other is at 7.4.27-stable16:38
slickwareand I am wondering if there is an upgrade path between the two16:38
@rizenof course16:39
slickwareis there a way to find out how much I would lose?16:39
@rizenyou can upgrade from 0.9.0 all the way to 7.5.10 if you want16:39
@rizenhow much what that you'd lose?16:39
slickwarefunctionality 16:39
@rizenthere's more functionality in 7.4 than there is in 6.2 so i don't understand the question16:40
slickwareI don't have any custom wobjects, but I know some got phased out after 6.216:40
@rizenyeah, but they're also replaced with other assets16:40
@rizenwe don't phase out one without creating another16:40
slickwareright - but does the upgrade process replace them, or is that left up to the user?16:41
@rizenthe only major problems that you're going to encounter is that you're going to have to update a bunch of templates16:41
-!- topsub [n=josh@97.66.185.250] has joined #webgui16:41
@rizenthe upgrade auto-migrates you16:41
slickwarecool16:42
perlmonkey2rizen: I know you gave me some info on this before, but could you point me at a good example of handling a file post from a form?  16:42
@rizenthere are many stop points along the way though, so take a look at the latest gotcha's to know about those16:42
@rizenare you using the File form control?16:43
@rizenor do you want to do it manually?16:43
perlmonkey2rizen: ah, I'm not sure what the file form control is.  I'm just adding a html input file type and then posting with an async call that is multi-part.16:44
@rizenok then you want to do it manually16:44
@rizenin that case you do this:16:44
@rizenmy $storage = WebGUI::Storage->create($session);16:45
@rizen$storage->addFileFromFormPost("fieldnamegoeshere");16:45
@rizenif you want to know the filename that results, then put a my $filename = in front of the last line16:45
perlmonkey2and what is the $filename representing?16:46
@rizenthe filename16:46
perlmonkey2an actual file on disk?  ephermeral storage in a temp table?16:46
@rizenfile.pdf16:46
@rizenor whatever16:46
perlmonkey2in uploads?16:46
@rizenyes the physical filename16:46
@rizenyes16:46
perlmonkey2okay, cool16:46
@rizenand $storage has all the path info16:47
@rizenso for example you can do:16:47
@rizenmy $url = $storage->getUrl($filename);16:47
@rizenor my $path = $storage->getPath($filename);16:47
perlmonkey2that is awesome.  that will work much better than how I was going to do it.16:47
@rizenwebgui's got ya covered man16:47
perlmonkey2that actually rawks quite a bit.16:48
slickwarerizen: will it make a difference that the older server is NOT running the WRE, but the new one IS?16:48
slickware(who knew v6.2.9 was so stable? it's been running since like, 2004)16:49
-!- dionak [n=diona@97.66.185.250] has joined #webgui16:51
@rizenonce you're upgraded it won't matter at all16:51
@rizenlots of people are still saying that about 5.5 too and it pisses me off. =)16:52
slickwarehaha16:52
slickware5.5 was the BEST16:52
slickwareno offense :)16:52
@rizenSuch nostalgia16:52
@rizenI wish someone could tell me what was so good about it? Or what is so much better than WebGUI 7.416:52
slickwareI'm not a big fan of the new interface. I feel oldschool16:52
slickwarebig icons, shiny things, doesn't do it for me16:53
@rizenYou realize that the "new" interface is 3 years old now16:53
@rizen=)16:53
@rizenactually almost 416:53
slickwareyeah.. like I said - i've been putting off this upgrade since 200316:53
slickwareand now the old server is dying, so it's time to go16:53
@rizenindeed16:53
slickwarethere's definitely more functionality in the new one16:54
slickwareA little too much for most of my users16:54
perlmonkey2that is pretty crazy that code so bitrotted was secure enough to live on the web, without upgrades, for 5 years.16:54
slickwarehaha16:54
slickwarewell I updated the OS16:54
slickwarejust not webgui16:54
@rizenThe new one, especially with versioning hidden, is much easier for newbs that never saw the old version to move through.16:54
@rizenmost people do like big shiny icons, and consistent screens16:55
slickwareoh man, the versioning is my least favorite part. (but I already complained about that, so I'm done)16:55
@rizenplus you have to admit that the asset manager is way better than the old page tree thing16:55
perlmonkey2slickware: you must be in a small user environment.  Wait until you have 15 content managers all stepping on each others' toes :P16:55
@rizenyou do know you can hide versioning entirely, right?16:56
slickwarei'm sure versioning would help in that scenario16:56
slickwareI know I CAN, I just haven't gotten there yet16:56
@rizenah16:56
@rizenstarting with 7.5 it's hidden by default, so it works just like 5.516:56
@rizenor 6.216:56
slickwareand I also have to say.. I bought the admin guide and the primer16:56
slickwareand neither one is incredibly helpful for teaching this old dog16:57
slickwareit got me up and running, but as for general workflow, they fail16:57
@rizeninteresting, if you have comments on what to do to improve them please send them to kristi@plainblack.com16:58
@rizenshe's working on the new versions right now16:58
@rizenand she can make sure that your ideas help future users16:58
slickwareif I hide versioning, does it auto-approve all changes immediately?16:58
@rizenyes16:58
slickwaregreat16:58
slickwareand what happens if I decide to un-hide at a later date16:59
-!- topsub [n=josh@97.66.185.250] has quit [Remote closed the connection]16:59
-!- bopbop [n=kmccombs@71-90-131-140.dhcp.mdsn.wi.charter.com] has joined #webgui17:06
-!- Haarg [n=haarg@24-196-80-80.dhcp.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"]17:08
-!- topsub [n=josh@97.66.185.250] has joined #webgui17:12
slickwarerizen: so, reading the gotcha's - do I literally have to go through and update each line item from 6.0 to 7.4, and then run the full upgrade? or am I supposed to download each incremental update one at a time from then until now?17:16
slickwareor, the better question is, what would plainblack charge me to do it? :-D17:16
@rizenslickware: if you unhide it later, no problem17:22
@rizenyou download each stop point and upgrade to that17:22
@rizenso upgrade to 6.2.11, then whatever the next one is17:22
slickwareoh god17:22
@rizenthere are about 4 stop points17:22
@rizenwhat do you want, you're 4 years out of patch17:23
slickwarehow do I know which ones are stop points?17:23
@rizenit says so in the gotchas17:23
@rizensays "Upgrade to the latest X.X.Y version before continuing"17:23
@rizenplain black will charge you $200 per hour to do it because you don't have a support agreement with us17:23
@rizenit will likely take 2-3 hours for us to do the upgrade17:24
slickwareI am either blind, or looking at the wrong file here... I don't see anythign that looks obviously like a stop point17:24
slickwarei'm reading the gotchas for the 7.4 version I've got, it's about 20 pages long17:24
@rizenprobably blind17:24
@rizenhehe17:25
-!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui17:25
-!- mode/#webgui [+o Haarg] by ChanServ17:25
slickwareit lists every version from 7.4 down to 6.017:25
slickwarebut none of them seem to have "upgrade to X.X first" 17:25
@rizenhttp://www.plainblack.com/downloads/builds/7.4.32-stable/WebGUI/docs/gotcha.txt17:25
@rizen7.4.017:25
@rizenhas one17:25
@rizenread it17:25
@rizen6.99.0 has one17:26
@rizenand i recommend that you do the same for 7.0, but it's not entirely necessary17:26
@rizen6.7.0 has one17:27
@rizen6.3.0 has one17:27
perlmonkey2rizen: You wouldn't have any pointers one where to start looking for this situation.  My multi-part asysnc call on the client is not getting a return from the server, even though wG says it is returning good data.  And also, the file doens't seem to be written to disk even though I have a new path from the storage->create call.  My guess is that for some reason the file isn't being written to disk, leaving the async post open, so it17:27
@rizenso you need to update to the latest of 6.2.x, 6.6.x, 6.8.x, 6.99.x, and 7.3.x before proceeeding17:28
-!- topsub [n=josh@97.66.185.250] has quit ["Leaving"]17:28
@rizenpm2 i haven't done any async file uploads so i can't really say...but i'd check both the webgui and modperl logs17:28
slickwarethank you17:29
@rizenand turn them both up to the "info" level if necessary17:29
slickwarenot that I *dont* want to read 20 pages of gotchas looking for that next time... but they could be, say, put in parenthesis - or labeled "7.4.0 - STOP POINT" for us lazy folk :)17:29
@rizenyou don't have to read 20 pages, just look at the x.x.0 releasese17:30
@rizenthose will be the only ones with stop points17:30
perlmonkey2okay, thanks rizen17:30
slickwareah17:30
@rizenalso....i don't want to explicitly call out stuff like that in the gotchas because i actually want you to READ the gotchas17:31
@rizenthey're important17:31
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui17:31
@rizenwe don't document them for our health17:31
perlmonkey2don't miss the one about JSON17:31
@rizenwe do it for your site's health17:31
-!- topsub [n=josh@97.66.185.250] has joined #webgui17:32
-!- ryuu_ro [n=rory@194.171.50.69] has quit []17:33
slickwareyeah JSON and I don't get along17:34
slickwarewe had a big fight trying to install one of the 7.4 WRE's17:34
slickwareit ended badly... 17:35
slickwareI came crying back to JT, as always17:35
@rizendid i give you warm milk and a cookie and say that it was ok? or did i disown you and kick you out of the house?17:36
slickwareit was more like the stern father talk actually... RTFM and take it like a man :)17:36
slickwarechrist, I may just pay you guys to do this. How much lead time would you need on that kind of project? it's only maybe 4 live webgui sites on that server, I just don't feel like losing them.17:43
@rizenthat depends on what's in the queue when you submit17:45
@rizenit's first come first served17:45
@rizensometimes it can be done same day17:45
@rizensometimes it needs to be planned a week in advance17:45
@rizensend an email to vrby@plainblack.com to schedule17:45
slickwareI'd probably be looking at end-of-month. My backup drive in that server failed, and I don't feel like building another 5.x machine17:45
slickwareand I don't feel like attempting that big of an upgrade on a production server, having never done it17:46
perlmonkey2Anyone bored and want to look at this code and see if I'm doing something wrong for file uploads?  Like maybe I can't call paramsHashRef before I call addFilesFromFormPost? http://pastebin.com/m12d5550b18:01
topsubouch.. non syntax code hurts.18:08
topsub:-p18:08
perlmonkey2topsub: non syntax code?18:09
topsubthe paste bin 18:09
topsubdidn't say it was perl so all one color18:10
topsubjust use to seeing coloring.18:10
topsubSo your just trying to upload a file perlmonkey?18:11
-!- lisette [n=liraos@201.232.58.66] has joined #webgui18:11
perlmonkey2yeah :(18:11
perlmonkey2from an YUI async call18:11
perlmonkey2just found out that they don't return and there is a 'upload' event I should listen for instead of success.18:12
perlmonkey2It is returning, but my file isn't being written to disk.18:12
perlmonkey2topsub: any clues?  hints?  theories?  18:13
topsubi know i have a small test and file upload script i could put on paste bin so you can look at18:13
topsubi wrote a test to test an upload script in webgui18:13
topsubdunno if that might help you any18:13
topsubsee what calls i am making 18:13
perlmonkey2I think the script is working, as I'm getting the yui upload event back, but on the webgui end I'm not seeing the file.  18:13
perlmonkey2sure18:13
perlmonkey2that would be great.18:13
topsubgive me a sec to get it18:14
topsubyour doing some things i haven't used yet so i would be guessing but figure if i offer a script i am using you might get ideas and can compare18:15
-!- preaction [n=doug@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui18:17
-!- mode/#webgui [+o preaction] by ChanServ18:17
slickwareAnyone know if there is a way to import INTO a webgui calendar so I don't have to enter hundreds of things by hand?18:18
perlmonkey2k18:20
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has quit ["Leaving."]18:21
perlmonkey2topsub: I think I just realized the problem anyway.  in the addFileFromFormPost I think I need to add the name of the file not the name of the parameter, so it would be the value from the parameter.18:21
topsubperlmonkey2, i stripped the test out of the whole test file and just pulled the function its testing18:22
topsubhttp://webgui.pastebin.com/m6362b66718:22
perlmonkey2no, it isn't the filename, rizen's example has fieldname18:22
perlmonkey2thanks topsub18:22
-!- jfluhmann [n=jfluhman@x174y057.angelo.edu] has joined #webgui18:23
-!- jfluhmann [n=jfluhman@x174y057.angelo.edu] has left #webgui ["Open Source Symposium - http://www.texasoss.org/"]18:23
topsubhttp://webgui.pastebin.com/mc4cbd4818:23
topsubperlmonkey2, sorry use that link i forgot to add the function that uploads the file18:23
@rizenslickware: you can either use the webgui api and read in your own file format, or you can use an ical feed to do it18:24
slickwarewhat do you mean by use the webgui api to read?18:25
slickwarewe are unfortunately an outlook shop18:25
slickwareI can export my calendar to an iCal format, but then how would I get it in there?18:25
-!- BartJol [n=plainstu@host2.procolix.com] has left #webgui []18:26
perlmonkey2topsub: is that first block of code supposed to be a sub?18:27
perlmonkey2the processUploadFile?18:27
topsubthe first section is the test18:27
perlmonkey2topsub: okay, cool thanks18:27
topsubthen functino right below that is what it calls. then the function below that is the function that uploads if i remember18:28
topsubif you get confused about a part just ask i will do my best to explain18:28
@rizenslickware if you have an ical file then upload it to your webgui site (or some other site that your calendar can access), then go to the feeds tab in your calendar and give it the url to the ical file18:28
slickwareexcellent, thanks.18:29
perlmonkey2my $filename = $storage->addFileFromFormPost( $id->{'Survey_answerid'} );  <--- that line needs a comment of //I am a complete idiot.  Survey_answerid should be Survey_answerId.  18:33
-!- bopbop [n=kmccombs@71-90-131-140.dhcp.mdsn.wi.charter.com] has quit [Read error: 110 (Connection timed out)]18:39
perlmonkey2I think I'll go grab one of my $1 pieces of fruit to reward myself for getting this working.18:40
-!- bopbop [n=kmccombs@71-90-131-140.dhcp.mdsn.wi.charter.com] has joined #webgui18:47
@rizenmmm $1 fruit18:57
slickwarealright. I've uploaded an ical file... if I access it in my browser, it is filled with dates18:58
slickwarebut if I add that URL as a feed in my webgui calendar, it still shows up as being empty...18:58
perlmonkey2rizen: did you hear my story of the $1 fruit and how I was robbed by fruit pickers?19:02
perlmonkey2more like I was robbed by my own stupidity.19:02
@rizenyes19:05
@preactionperlmonkey2, don't feel bad, i bought a $20 6x8 picture once because the girl had an accent19:05
@rizenand the second is more accurat19:05
@rizene19:05
@rizenslickware: the ical feed will be picked up by the hourly maintenance tasks19:06
perlmonkey2preaction: hah, that is great19:07
perlmonkey2was it at least a picture of the girl?19:07
@preactionno, it was some shiny picture of a horse (for my girlfriend at the time)19:08
slickwareshould I be putting the path in as the full http://xx.xx? or should I be using 19:11
slickware\root\calendar\file.ics19:11
@rizenthe url19:21
@rizenhttp://some.com/path/to/file.ics19:21
slickwarecool. now I just wait an hour for it to update? :)19:25
@preactionor force the Hourly Maintenance Tasks workflow to run19:28
slickwarealright.. i'm not crazy. Spectre stops itself, randomly.19:34
-!- Tavisto [n=plainbla@pool-71-115-176-152.gdrpmi.dsl-w.verizon.net] has joined #webgui19:37
slickwareok. really. I ran the hourly updater in the scheduler - still nothing in my calendar. 19:38
@preactiongive it time, a couple minutes to do all the things the hourly maintenance tasks workflow needs to do19:38
slickwarethe other weird thing is,19:38
slickwareon the page that has my calendar, there is now only one "edit" area - the "page edit" area is completely missing19:39
slickwareand if I try to edit the calendar, it just returns me to the same page instead of going into the edit menus19:39
@preactionif that happens there's probably an error in the logs19:45
slickwareah... "visitor connecting from (server's IP) attempted to make a spectre workflow runner requrst, but we're only allowed to accept from (localhost ip)19:51
slickwaremain::[[undef]] - Couldn't call method edit on asset for url: home/calendar/hvm-calendar2 Root cause: hash- or arrayref expected (not a simple scalar, use allow_nonref to allow this) at /data/wre/prereqs/lib/perl5/site_perl/5.8.8/JSON.pm line 126.19:52
slickwareI told you JSON hates me19:52
-!- Tavisto [n=plainbla@pool-71-115-176-152.gdrpmi.dsl-w.verizon.net] has left #webgui []19:55
-!- crythias [n=gyoung@fl-69-68-148-96.sta.embarqhsd.net] has joined #webgui19:57
-!- mode/#webgui [+v crythias] by ChanServ19:57
-!- crythias [n=gyoung@fl-69-68-148-96.sta.embarqhsd.net] has left #webgui []19:59
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has joined #webgui20:05
-!- mode/#webgui [+v perlDreamer] by ChanServ20:05
-!- jua1 [n=juangui@201.232.58.66] has joined #webgui20:05
slickwarethat error only occurs if the calendar is subscribed to an ical feed. 20:14
slickwareif I create a new calendar without a feed, it works fine20:14
perlmonkey2Survey question.  In a question text you can put in placehohlders that are either filled from a random set of strings or from the answer to a previous question.  But sometimes they want several placeholders and the placeholders have to be able to appear multiple times.  So what would be the most intuitive placeholders to use?  $1 $2 $3?  That might get me into trouble with Perl.  Any ideas?20:20
+perlDreamerhow about HTML::Template syntax?20:21
+perlDreamerwG users already know templates20:21
+perlDreamerand that's one less pseudo templating system that you need to build20:22
+perlDreamerless coding == happier coders20:22
perlmonkey2hmm.....20:25
perlmonkey2perlDreamer: how'd you get so smart?20:25
+perlDreamerI hang around smart people a lot20:31
+perlDreamerSee, I'm not really that smart.20:31
+perlDreamerI just say things that I think smart people will say.20:31
+perlDreamerEver read anything by Christopher Stasheff?20:31
@apeironhrm. How odd. Doing export testing and something is removing home/ad2 after it's been written.20:33
@apeironAnd *only* home/ad2.20:33
perlmonkey2perlDreamer: Stasheff?  nope?20:38
perlmonkey2perlDreamer: blogger?20:38
perlmonkey2ah, author20:39
perlmonkey2perlDreamer: the wiki page on him makes me think I'd like his stuff.  I'll stop by the book store today and pick something up.20:49
perlmonkey2any recs?20:49
perlmonkey2starship troupers?  Would Heinlein have approved?20:50
@preactionlesson learned today: Don't second-guess the tests until you are absolutely 100% sure the code is right21:11
@apeironindeed.21:14
* apeiron learned that a week or two ago.21:14
@preactionperlmonkey2, re: placeholders, i'd use %1 %2 %3. it's easy and familiar enough to programmers. not sure if a full-blown HTML::Template is appropriate in this context21:16
@preactionor even $1, perl's smart enough that it shouldn't be an issue really21:16
perlmonkey2preaction: they just made it even more complicated.  When a question sets a random placeholder, they want it to be available to future questions.21:23
perlmonkey2So it would need to be set in that response.21:23
perlmonkey2bah.  I might have to use my Force Choke to persuade them otherwise.21:24
CIA-1WebGUI: doug * r6135 /WebGUI/ (10 files in 8 dirs): fix: Events can no longer be edited by anyone who can add events21:47
CIA-1WebGUI: doug * r6136 /branch/WebGUI_7.4/ (docs/changelog/7.x.x.txt lib/WebGUI/Asset/Event.pm): fix: events no longer able to be edited by anyone who can add events22:06
+perlDreamerpreaction:  tell me more about the tests?22:25
@preactionwhich tests?22:25
+perlDreamerpreaction: lesson learned today: Don't second-guess the tests until you are absolutely 100% sure the code is right22:26
@preactionyour changes to Test::Maker::Permission22:26
@preactioni thought xor was doing the wrong thing22:26
@preactionturns out the Event and Calendar permissions are just completely foobar22:26
@preactionso i fixed the Calendar and then the Event tests worked22:27
@preactionso we have some tests for Event permissions22:27
+perlDreamerperlmonkey2: I recommend the earliest books (The Warlock in Spite of Himself, King Kobold, The Warlock Unlocked)22:28
+perlDreameryou'll find my quote in there22:28
+perlDreamerpreaction: cool.  I like it when tests find bugs :)22:29
+perlDreamerCan I quote you for my presentation?22:29
@preactionindeed22:29
@preactionTHE SENIOR DEVELOPER WILLS IT SO!22:29
@apeironYou can quote me, too, in counterpoint.22:29
@apeironToday was another day of "the code is right, it's the tests that are wrong" for me.22:29
@preactionin an ideal world, every single change to WebGUI would cause some test to fail22:30
+perlDreamerSo the lesson is "Always believe the tests.  Never believe the tests."22:30
@apeironApparently it wasn't that /home/ad2 was being erased--it was just never written for that test. Turns out /home/ad2 is a descendant of /getting-started22:30
+perlDreamerapeiron, which tests were those in?22:30
@preactionno, Always believe the tests unless you are 100% certain the code is right.22:31
@apeironperlDreamer, They're the ones I'm putting together for the rewrite of the export system.22:31
+perlDreamerperlmonkey2: it also looks like I've found my next wikipedia project.  The Christopher Stasheff books need to be unstubbed.22:37
jua1hello22:43
slickwarewhat would make Spectre quit every time I quit the webgui console?22:48
-!- slickwar1 [n=slick@c-76-119-132-119.hsd1.ma.comcast.net] has joined #webgui22:50
slickwar1what would make Spectre quit every time I quit the webgui console?22:51
slickwar1sorry if that's a repeat. I just got booted.22:51
-!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: ckotil, dionak, steveo_aa, SDuensin, slickware, perlmonkey222:53
+perlDreamernetsplit, hang onto your hats, folks!22:53
slickwar1?22:53
+perlDreamerit's when they switch servers, people get disconnected and reconnected, or something like that22:54
-!- Netsplit over, joins: ckotil22:54
-!- SDuensin [n=Scott@228.sub-75-206-23.myvzw.com] has joined #WebGUI22:58
lisettehi22:59
-!- topsub [n=josh@97.66.185.250] has quit ["Leaving"]22:59
-!- dionak [n=diona@97.66.185.250] has joined #webgui23:00
+perlDreamerjua1, lisette, y'all should know by now just to ask questions.  People will answer.23:05
-!- steveo_aa [n=sno@adsl-76-234-133-88.dsl.sfldmi.sbcglobal.net] has joined #webgui23:06
@apeironThey could just be being friendly!23:06
@HaargperlDreamer, can you see a reason not to remove setHelp.t from 7.4?23:06
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui23:07
+perlDreamersetHelp.t is gone from 7.5, I don't see why not :)23:07
+perlDreameris it giving you headaches?23:08
-!- jua1 [n=juangui@201.232.58.66] has quit [Read error: 110 (Connection timed out)]23:08
@Haargjust takes up time and doesn't test anything23:09
CIA-1WebGUI: graham * r6137 /branch/WebGUI_7.4/ (15 files in 9 dirs): fixed: Import/Export of packages with international text is broken23:17
CIA-1WebGUI: graham * r6138 /branch/WebGUI_7.4/ (docs/changelog/7.x.x.txt lib/WebGUI/Auth/WebGUI.pm): fixed: email validation links can be broken by mail servers23:17
CIA-1WebGUI: graham * r6139 /branch/WebGUI_7.4/ (docs/changelog/7.x.x.txt lib/WebGUI/AssetClipboard.pm): fixed: Clipboard select all doesn't work with one item in IE23:17
CIA-1WebGUI: graham * r6140 /branch/WebGUI_7.4/ (docs/changelog/7.x.x.txt lib/WebGUI/Asset/Post.pm): fixed: Users without karma can transfer karma by rating posts23:17
-!- lisette [n=liraos@201.232.58.66] has quit [Read error: 110 (Connection timed out)]23:24
-!- juan [n=juangui@201.232.58.66] has joined #webgui23:25
+perlDreamerjuan, did you have a question earlier?23:25
juanyes23:26
juani want to upload a .pl in my site23:28
juanis it posible?23:28
+perlDreamer.pl == perl script?23:28
juanyes23:28
+perlDreamerand upload = upload as a File Asset?23:28
juanwhen i uploaded  it, a txt file extension is added23:29
juanhow can i call a pl from one page on my site23:30
juanwith using the execute macro23:30
juan?23:30
+perlDreameryes, that is because upload scripts (PHP, Perl, Python) is a way of doing a "cross-site scripting" attack.23:30
+perlDreamerWhen you upload one of those file, WebGUI changes the name so that it cannot be run.23:30
+perlDreamerIf you use the execute macro, you just need to provide the path to the file: ^Execute("/path/to/file");23:32
+perlDreamerbut I would use FTP to upload the file instead of making a File asset.23:32
juanif i upload it by ftp, it maintain the extension and i call it directly23:33
+perlDreameryes23:33
juanok23:34
juani am going to try23:34
juanthanks23:34
+perlDreameryou're welcome23:34
@rizencan i be welcome?23:48
+perlDreamerthou art graced with welcomeness23:49
+perlDreamerunfortunately, you're also saddled with a goofy perlDreamer, so it's a mixed bag23:49
@rizengoofy perlDreamers are the best kind23:50
+perlDreamersometimes they even write C2 code, too23:50
@rizenthey're way better than fruit buying perlmonkey's23:50
* rizen is still working on form code23:50
@rizenheavily borked23:50
slickwar1so... no clues? what might make Spectre stop every time I stop the wreconsole?23:50
@rizenare you running the wre?23:51
slickwar1I am running the wre23:51
@rizenthen don't have a guess23:51
slickwar1it's so weird23:51
slickwar1I start wreconsole, and start spectre23:51
slickwar1soon as I stop the console, it stops serving pages23:52
@rizenso start it from the wreservice.pl script instead23:52
slickwar1restart the console, sure enough there it is, stopped23:52
slickwar1I tried that, but the directions in the Admin Guide are incorrect (or they only apply to RedHat installs)23:52
slickwar1what is the correct line to start them from Ubuntu?23:52
@rizenwreservice.pl --start spectre23:53
@rizenit's the same on every platform23:53
slickwar1ah... then I didn't see that in the guide at al23:53
-!- SDuensin [n=Scott@228.sub-75-206-23.myvzw.com] has quit ["Leaving"]23:53
-!- crythias [n=gyoung@fl-69-68-148-96.sta.embarqhsd.net] has joined #webgui23:58
-!- mode/#webgui [+v crythias] by ChanServ23:58
-!- crythias [n=gyoung@fl-69-68-148-96.sta.embarqhsd.net] has quit [Client Quit]23:58
--- Day changed Wed Apr 16 2008
-!- bopbop [n=kmccombs@71-90-131-140.dhcp.mdsn.wi.charter.com] has quit []00:15
+perlDreamerrizen, we have a problem00:15
+perlDreamerthere are only 29 Assets available for people to choose from from the Admin Bar00:15
+perlDreamer29 is an odd number, which is unacceptable00:16
+perlDreamerwe need another asset00:16
@rizenhehe00:16
@rizenwell then when you're done with product you should add "Flat Coupon"00:16
@rizenwhich just gives a flat percentage or price discount if added to the cart00:16
+perlDreamercool00:17
+perlDreamerI'll probably get to that sometime in May :(00:17
@rizeni have no idea how i'm going to finish everything in time00:17
@rizenwish i had a billion dollars to hire some more people00:17
slickwar1how big is plainblack, right now? just out of curiosity00:18
slickwar1and/or is it publicly traded00:19
+perlDreamer1 awesome tech writer, one everyday business manager-type, one script-writing, bug bashing helpdesk guru, 3 incredibly talented devs, picasso on a computer graphics guy, and TMRFE00:19
+perlDreamerdoes that sum it up, rizen?00:20
@rizenplus 1 part timer, a marketing guru, 2 sales people, and the contractors00:21
@preactionyou forgot the Mascot, the Roadie00:21
@rizenand it's not publicly traded00:21
@rizenwe're a very small shop00:21
+perlDreamerand the trainer, too00:21
@preactionand Generous Donations from People Like You00:21
@rizenthe trainer is the tech writer00:21
@rizensame person00:21
+perlDreamerbopbop and um, the lady with the boots?00:22
CIA-1WebGUI: graham * r6141 /branch/WebGUI_7.4/ (4 files in 4 dirs): 00:22
CIA-1WebGUI: fixed: iCal feeds don't update properly when events are changed00:22
CIA-1WebGUI: Conflicts:00:22
CIA-1WebGUI:  docs/changelog/7.x.x.txt00:22
CIA-1WebGUI:  docs/upgrades/upgrade_7.5.9-7.5.10.pl00:22
CIA-1WebGUI:  lib/WebGUI/Asset/Event.pm00:22
CIA-1WebGUI: graham * r6142 /branch/WebGUI_7.4/ (docs/changelog/7.x.x.txt lib/WebGUI/AssetLineage.pm): fixed: getLineage with joinClass only joins first table in definition00:22
CIA-1WebGUI: graham * r6143 /branch/WebGUI_7.4/ (lib/WebGUI/AssetPackage.pm docs/changelog/7.x.x.txt): fixed: Package search is slow for large websites00:22
CIA-1WebGUI: graham * r6144 /branch/WebGUI_7.4/ (2 files in 2 dirs): fixed: datepicker translation to Danish broken00:22
slickwar1cool00:22
CIA-1WebGUI: graham * r6145 /branch/WebGUI_7.4/docs/create.sql: preparing for 7.4.33 release00:22
CIA-1WebGUI: jt * r6146 /releases/WebGUI_7.4.33-stable: Release 7.4.33-stable00:22
CIA-1WebGUI: graham * r6147 /branch/WebGUI_7.4/ (4 files in 4 dirs): preparing for 7.4.34 dev00:22
@rizenLatoya?00:23
+perlDreameryeah, that's her name00:23
@rizenshe doesn't work for us anymore00:23
@rizensince november00:23
+perlDreamerokay00:24
+perlDreamerwell, since I haven't met the other people, I can't write much about them.  Except the marketing guy, who is a meat eating machine.00:25
@preactioni'm offended00:25
@preactioni'm so repulsive that he has blocked out the memory of meeting me00:26
@preactioni'm gonna go cry in a corner now00:26
+perlDreamer"3 incredibly talented devs"00:26
+perlDreameryou're in there00:26
@preactionah00:26
+perlDreamerfeel better?00:27
@preactionthe Roadie you've met, Ryan00:27
+perlDreamerI mentioned him, too.  "1 awesome tech writer"00:27
@preactionthat's his wife, Kristi00:27
+perlDreamerA guy goes to prison for shoplifting.  One his first night, after the lights go, the other convicts00:29
+perlDreamerstart calling out numbers.  After each number, they'd all laugh.00:30
+perlDreamerThe next day at breakfast, the guy asks one of the people at the table, "Hey, what's with the number and laughing last night?"00:30
+perlDreamer"Oh, they were telling jokes.  We've heard them all, so we only refer to them by number."00:30
+perlDreamerThat night, after the lights went out, it started again.  During a brief pause, the new guy called out a number00:31
@apeironThat joke is hereby #100:31
+perlDreamer2700:31
+perlDreamerDead silence.00:31
+perlDreamerConfused, the guy asked the fellow from the previous morning, "Hey, what happened last night?  Nobody laughed."00:32
+perlDreamerThe guy response, "Some people just can't tell a joke".00:32
+perlDreamerSo apparently, overlooking a guy in favor of his wife is not a joke.00:33
@apeironAlso, am I in that "3 incredibly talented devs" list?00:34
+perlDreamerOf course00:34
+perlDreamerhow many other on staff devs are there?00:34
+perlDreamer(today)00:34
@apeironFlattering.00:34
@apeironwell00:34
@apeironrizen and Haarg aren't exactly ignorant of perl. :)00:34
@preactionthat's what you think00:35
+perlDreamerHey, I know I poke, tease, joke, berate about testing and argue with you guys a lot00:35
+perlDreamerbut I think the world of you00:35
@preactioni've been working in this house for the last 7 hours...00:35
@preactiondidn't even know what the perl flag to add to @INC was00:35
@preactionha00:35
@preactionbut they know Perl pretty well, so that's a plus00:35
+perlDreamerHaarg = one script-writing, bug bashing helpdesk guru00:35
@preactionperlbot capital perl00:35
perlbotPerl is the language, perl is the program, there is no PERL.  See perldoc -q 'difference between'.00:35
+perlDreamerrizen == TMRFE00:35
@apeironpreaction, huffmanize00:36
@apeironperlbot, perl00:36
perlbotIt's Perl (for the language) or perl (for the interpreter) but NEVER 'PERL'!00:36
+perlDreamer-I00:36
@preactionperlbot apeiron's policy on regex questions00:36
@rizenperlbot why perl is if you have to ask you wouldn't undesrtand00:36
perlbotadded why perl to the database00:36
@apeironperlbot, stupidly long factoid names00:37
perlbotq/apeiron's philosophy on "can I ask a regex question?"/00:37
+perlDreamerspeaking of -I, did you guys know that I worked on perl one time?00:37
@rizenperlbot relearn apeiron is is fired!!!!00:38
perlbotrelearned entry for apeiron00:38
@apeiron:(00:38
+perlDreamer2 incredibly talented devs (and counting...)00:38
@rizenmy goal is to give you a complex by the end of the day apeiron00:39
@rizendo you have one yet?00:39
@apeironnope.00:39
@rizeni'll keep working00:39
* perlDreamer hands apeiron a sqrt(-1)00:39
@apeironheh00:39
+perlDreamercomplex delivered00:39
@preactionthat's imaginary, not complex00:40
* perlDreamer hands apeiron 1 + sqrt(-1)00:40
+perlDreamerthat's complex00:40
-!- rizen is now known as rofl00:42
-!- rofl is now known as rizen00:43
@rizenok good again00:43
@apeironYou could probably take rofl as a nick if you wanted: Last Seen: 1 year 21 weeks 3 days (23h 11m 4s) ago00:43
+perlDreamermathematically, I think purely imaginary numbers are still complex, since 0 exists in the real number space.00:52
+perlDreamerbut correspondingly, then all real numbers would also be complex00:52
+perlDreamerwhich just feels strange00:52
@rizenperlDreamer is s-m-r-t00:57
+perlDreamerapeiron, abs(1 + i) > 1, so you actually have more than 1 complex.  Keep the change.00:58
slickwar1ok perlDreamer... if this were highschool, I'd call you a dork and steal your lunch money right now.01:27
-!- juan [n=juangui@201.232.58.66] has quit [Read error: 113 (No route to host)]01:33
CIA-1WebGUI: graham * r6148 /WebGUI/ (lib/WebGUI/AssetPackage.pm docs/changelog/7.x.x.txt): fixed: Package search is slow for large websites01:51
CIA-1WebGUI: graham * r6149 /WebGUI/ (8 files in 7 dirs): fixed: rich editor image picker displays incorrectly in IE01:51
CIA-1WebGUI: graham * r6150 /WebGUI/lib/WebGUI/Asset/RichEdit.pm: possible fix for attachments control in safari01:51
+perlDreamerecho "exit 1 if $session->env->lastIp->isInRange($slickwar->ip)" >> WebGUI.pm01:52
+perlDreamerHaarg, why doesn't that do a "and assetData.isPackage=1" and skip all asset instanciation altogether?01:55
@Haargit does have that in the where01:57
@Haargi probably should have removed that extra if check01:57
@Haargi'm not sure why that was there to begin with01:58
+perlDreamerI should have read more thoroughly.  Sorry about that.01:58
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI01:59
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit []02:07
-!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"]02:09
-!- dionak [n=diona@97.66.185.250] has quit []02:10
-!- dionak_ [n=diona@97.66.185.250] has joined #webgui02:15
-!- preaction [n=doug@71-86-227-90.static.mdsn.wi.charter.com] has quit [Read error: 113 (No route to host)]02:24
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has quit ["Download Gaim: http://gaim.sourceforge.net/"]02:29
-!- Haarg [n=haarg@97-87-62-91.dhcp.mdsn.wi.charter.com] has joined #webgui02:30
-!- mode/#webgui [+o Haarg] by ChanServ02:30
CIA-1WebGUI: colin * r6151 /branch/WebGUI_Commerce/lib/WebGUI/ (i18n/English/Asset_Product.pm Asset/Sku/Product.pm): edit parameter options form code02:32
-!- dionak_ [n=diona@97.66.185.250] has quit [Read error: 110 (Connection timed out)]02:35
-!- preaction [n=doug@97-87-62-91.dhcp.mdsn.wi.charter.com] has joined #webgui02:37
-!- mode/#webgui [+o preaction] by ChanServ02:37
-!- Haarg [n=haarg@97-87-62-91.dhcp.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"]02:45
-!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui03:02
@apeironLesson learned today: I write horrible tests, but eerily accurate code.03:11
nubathings could be worse, you could be designing beautiful tests, and producing shitty code03:23
* apeiron nods.03:23
@apeironIt's not for lack of trying. I have *plenty* of tests.03:24
@apeiron(by "plenty" I mean I'm going to have over 120 by the time I'm done)03:24
-!- preaction [n=doug@97-87-62-91.dhcp.mdsn.wi.charter.com] has quit [Connection timed out]03:25
-!- dionak_ [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui03:45
-!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui03:50
-!- mode/#webgui [+v Radix-wrk] by ChanServ03:50
-!- Haarg [n=haarg@97-87-62-91.dhcp.mdsn.wi.charter.com] has joined #webgui04:02
-!- mode/#webgui [+o Haarg] by ChanServ04:02
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui04:02
-!- mode/#webgui [+o rizen] by ChanServ04:02
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit [Client Quit]04:02
-!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has quit [Read error: 110 (Connection timed out)]04:03
-!- Haarg [n=haarg@97-87-62-91.dhcp.mdsn.wi.charter.com] has quit [Client Quit]04:06
-!- Haarg [n=haarg@97-87-62-91.dhcp.mdsn.wi.charter.com] has joined #webgui04:11
-!- mode/#webgui [+o Haarg] by ChanServ04:11
-!- Haarg [n=haarg@97-87-62-91.dhcp.mdsn.wi.charter.com] has quit [Client Quit]04:15
-!- slickwar1 [n=slick@c-76-119-132-119.hsd1.ma.comcast.net] has left #webgui []04:29
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui05:20
-!- mode/#webgui [+o rizen] by ChanServ05:20
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [Read error: 110 (Connection timed out)]06:56
-!- perlDreamer [n=colink@pool-71-117-250-89.ptldor.fios.verizon.net] has joined #webgui06:58
-!- mode/#webgui [+v perlDreamer] by ChanServ06:58
+perlDreamerapeiron: hey, at least you're writing tests.  It's a skill that you practice and learn, just like regular coding.06:58
+perlDreamerAlthough, coding seems to pay a whole lot better :)06:58
@apeironperlDreamer, AssetExportHtml.pm will have about 140+ tests when I'm done with it. :D06:59
+perlDreamernot bad at all06:59
+perlDreameronly the largest modules have that many tests06:59
+perlDreamerlike User, Group, etc06:59
+perlDreamerhow does the coverage look?06:59
@apeironI started to take a look at how to generate that, but didn't get very far.07:00
+perlDreamerfor just 1 test file, it's easy07:01
@apeironperlDreamer, I have to admit that I was kinda reluctant to do tests first, but now I'm really enjoying it.07:01
+perlDreamercover -delete; perl -MDevel::Cover myTest.t; cover07:01
@apeironOh wow, that's it?07:01
+perlDreameryeah07:01
+perlDreamerthen, at the end, open up ./cover_db/coverage.html in a browser07:02
+perlDreameryou'll have a color coded, cross-linked drill down report of your code and tests07:02
+perlDreamerthe sole reason those other modules have 120 tests is for coverage07:02
* apeiron nods.07:02
+perlDreamerNote that coverage isn't perfect, it gets confused by some common code07:03
+perlDreamerlike my $opt = shift || $default;07:03
+perlDreamerso don't get frustrated if you can't get 100% coverage07:03
* apeiron nods.07:03
@apeironRight, heh, I've been putting in so many tests on my own just to try to be absolutely certain that it's covering everything I can imagine.07:04
+perlDreamerand that's another good point07:04
+perlDreamer100% coverage does not guarantee full functional coverage, or bug-free code07:04
* apeiron nods.07:04
* perlDreamer likes it when I preach to the choir07:04
@apeironIt only guarantees that the tests that you've written verify that the code that you've written does what it purports to do. :)07:04
@apeironAnd not that it doesn't do other stuffs.07:04
@apeironLike, say, eat your homework.07:05
+perlDreamerCoverage just guarantees that you hit every line of code in all possible logical combinations.07:05
@apeironyeah.07:05
@apeironI'm going to school right now, too, online. The course I'm taking right now has a research paper requirement, and I'm pretty sure I'm going to do it on testing.07:06
+perlDreamerMaster's course?07:06
@apeironOh, no, heh.07:06
+perlDreamerDoctorate?07:06
@apeiron... you flatter me. :)07:06
@apeironBSIT.07:06
@apeironSoftware Architecture, specifically.07:07
+perlDreamerwell, you're not the only wG-type person without a CS degree :)07:07
* apeiron nods, is going to work on changing that preferably sooner rather than later.07:07
@apeironWhat I'm thinking about covering in the paper is how testing affects software metrics, like number of bugs, time to feature completion, etc.07:07
+perlDreamerI'd love to read it when you're through.  If that's okay.07:08
@apeironOh, absolutely.07:08
+perlDreamerOSCON has a tutorial on Test Driven Development this summer.07:09
+perlDreamerI'd like to go to it07:09
@apeironShould've submitted a talk!07:09
+perlDreamerme?07:09
+perlDreamerno07:09
@apeironwhy not? :)07:09
+perlDreamerI'm not geeky enough.07:09
@apeironlies!07:09
+perlDreamerAll of rizen's talks were rejected, and he's a pro-geek.07:10
+perlDreamerwell, you're right, I'm pretty geeky07:10
@apeironI heard about that. They suck.07:10
@apeironYes, Mr. Chip Designer.07:10
@apeiron(who also does perl)07:10
-!- preaction [n=doug@CPE-67-48-241-219.new.res.rr.com] has joined #webgui07:11
-!- mode/#webgui [+o preaction] by ChanServ07:11
@apeironperlDreamer, I may--depending upon course rules and such--have some questions for you about testing for the paper if you'd be so kind?07:13
+perlDreamerYou bet!07:13
@apeironSounds good then.07:14
+perlDreamerwoe, woe to thee Madison07:18
+perlDreamerYes, you have great Pasties, but you have no Amtrak station with rail07:18
@apeironAh. Thank you for reminding me to check if YAPC yickets are on sale yet.07:19
* apeiron will be submitting some talks for YAPC next year for some side projects he's involved in, hopefully they'll be accepted.07:20
+perlDreamerreally?  What are you hacking on?07:20
@apeironThe first project is *just starting*. It's an email<->RDBMS bridge.07:20
@apeironThis grew out of a requirement for a data store for email for an MLM I'm working on.07:21
+perlDreamerMLM?07:21
@apeironMailing List Manager07:21
@apeironThink of Mailman, or majordomo if you're stuck in the 90s.07:22
+perlDreamerah, okay.  For a second I thought you were saying MultiLevel Marketing07:23
@apeironI don't know what that is, sorry. 07:23
+perlDreamerpyramid schemes07:24
+perlDreameramway07:24
+perlDreamerlike spam for housewives07:24
@apeironheh07:24
@apeironNot quite, sorry.07:25
+perlDreamernot a problem.  It's much better than I was afraid of :)07:25
+perlDreamerokay, time to write letters to the government07:27
+perlDreamerMadison needs a passenger rail line07:27
@apeironyay!07:27
@apeironYou show them what's up!07:27
+perlDreamereither that, or I'll have to hop onto a freight line in Waterstown07:27
@apeironFlying not an option?07:29
@rizenmadison has 2 amtrak stations07:29
+perlDreamermadison has no passenger rail service, according to amtrak.com07:30
+perlDreameryou take the empire builder from Portland to Chicago, then ride a bus up to Madison07:30
+perlDreamer$188/person07:30
+perlDreamerit's another $512 for a 2 adult room with no shower.07:31
+perlDreamerit's $882 for a full bedroom07:32
+perlDreamerincludes meals though07:32
+perlDreamerand it has outlets07:32
@rizenoh you're right07:32
+perlDreamerHow can a state capitol not have passenger rail service?07:33
+perlDreamerwell, you probably miss a lot of politicians that way07:33
+perlDreamerflying is an option, but the kids have got me hooked on trains07:33
+perlDreamerand it is cheaper, unless you have to spend the night07:34
@rizenunfortunately passenger rail is uncool in the US07:35
+perlDreameryeah07:35
+perlDreamerbut if you and sarah want a slow, cross country snuggle for OSCON, I know how to hook you up.07:36
@rizeni don't do slow when it coms to travel07:36
+perlDreamerok07:36
-!- dionak_ [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has quit []07:37
+perlDreameri18n report07:43
+perlDreamerThe spanish translation has reached 33%07:43
+perlDreamerthey have the French firmly in their sites and are expected to pass them within 1-2 weeks07:43
+perlDreamerThe polish translation also increased by a few percent, to 18%07:43
+perlDreamergo jdanpl!07:43
+perlDreamerand the Danish translation continues its new, but steady climb, to 2.9%07:44
+perlDreamerThe Arabic translation continues to show its age, but still has a very respectable 89.9%07:44
@apeironWhat do you think of the viability of a Dutch / Arabic conflict should a surge of activity bless i18n?07:45
+perlDreamerapeiron, I'm not too worried.07:45
CIA-1WebGUI: colin * r6152 /branch/WebGUI_Commerce/lib/WebGUI/ (i18n/English/Asset_Product.pm Asset/Sku/Product.pm): forgot that options need a value, with i18n07:45
+perlDreamerThe arab translation team has been quiet for a long time.07:45
@apeironperlDreamer, Is that a challenge to the Arab team?!07:45
@apeironFighting words, from our commentator!07:45
+perlDreamerYou said that right.  They made their name with the translation, but have let it stagnate.07:46
+perlDreamerthey need to recruit new blood, and solve their coaching problems.07:47
+perlDreamereither that, or perhaps a late season trade.  But what would bartjol pull as an independent?07:48
+perlDreamerIn other news, the European contingent continues their rain of email and forum postings on the dev list.07:48
+perlDreamerrizen ducks, parries and dodges with amazing skill, but how long can he keep it up?07:49
@apeirons/rain/deluge/07:49
+perlDreamerindeed07:49
+perlDreamertime for this old man to go to bed.07:49
+perlDreamer'night, all07:49
@apeironha. G'night, sir.07:50
-!- perlDreamer [n=colink@pool-71-117-250-89.ptldor.fios.verizon.net] has quit [""creak, groan. Oh, my lumbego""]07:50
-!- ryuu_ro [n=rory@194.171.50.69] has joined #webgui08:49
-!- preaction [n=doug@CPE-67-48-241-219.new.res.rr.com] has quit [Read error: 110 (Connection timed out)]09:15
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui09:25
-!- mode/#webgui [+o preaction] by ChanServ09:25
-!- Dadok [n=tickitim@75.108.dsl.syd.iprimus.net.au] has joined #WebGUI10:23
Dadokhey guys10:23
Dadokanyone there for a quick question?10:24
DadokWell, I'll throw it out there anyways.10:25
DadokI'm trying to get a synopsis from my calendar of upcoming events and put it on the side of my site (in my main page template).  I was wondering if the way to do this was to create an SQL Report, download it as a template using a custom made template to parse it, and then display it with AssetProxy?  Would that be the best way?10:27
@preactionDadok, why not make a shortcut instead? it's the little button in admin mode that looks like an arrow10:30
@preactionthen use overrides (right-hand menu when editing the shortcut) to change which template the SQLreport uses (or even just shortcut the Calendar and change the template it uses)10:30
Dadokhmm10:32
Dadokwell how would i put that in my main page template?10:33
@preactionyour main page is a page layout i assume, use one of the layout templates that have more than one content area10:34
@preactionthat is what i would do at least10:34
@preactionunless you're talking about your style template, then you would have to assetproxy the shortcut10:34
Dadoksorry, i meant my master template10:34
Dadokright10:34
Dadokstyle template10:34
@preactionbut it would be a far better idea to assetproxy a shortcut than to make an SQLReport for one asset10:34
Dadokassetproxy a shortcut10:34
Dadokok10:34
@preactioni need to start a campaign to kill the SQLReport, just as I have started a campaign to kill RewriteRules10:35
Dadokhaha10:35
@preactionwhen you only have a hammer, everything looks like a nail10:35
@preactionlike my campaign to kill Drop-down menus10:35
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui10:36
Dadokdrop-down menus in general? or just webgui10:36
@preactiondrop-down menus in general10:36
Dadokok, i click on shortcut and nothing happens.  well it refreshes and adds func=createShortcut to the URL, but nothing else10:36
@preactionlook in the clipboard10:36
Dadokroger10:36
Dadokcorrect you are10:36
@preactionhttp://www.plainblack.com/pr/staff/blog/the-tarnished-golden-hammer----drop-down-menus <- the beginning of my campaign against drop-downs10:37
Dadokso the styleTemplateId would be the one to override then?10:39
AMH_bob@preaction: nice piece of writing... I'll tag that one! (thank you for the source as well)10:44
Dadokyeah that's an interesting article10:45
Dadokah, so if i have it displaying it in month view, i need to edit the month template... etc right?10:54
-!- BartJol [n=plainstu@host2.procolix.com] has joined #webgui11:05
-!- Radix-wrk [n=Jesse@203.161.68.67] has quit ["Leaving"]11:58
-!- Dadok [n=tickitim@75.108.dsl.syd.iprimus.net.au] has quit []13:22
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has quit [Read error: 104 (Connection reset by peer)]13:27
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)]14:13
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui14:14
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has quit ["Leaving"]14:22
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui15:30
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui15:57
-!- mode/#webgui [+o preaction] by ChanServ15:57
-!- bopbop [n=kmccombs@71-90-131-140.dhcp.mdsn.wi.charter.com] has joined #webgui16:06
bopbopgood morning sunshines!16:06
perlmonkey2good morning?  I just found out what the end of the Mayan calendar means.  We're all going to die!!!16:06
* perlmonkey2 is far too young to die, being only 98.16:07
bopbopin dog years?16:07
perlmonkey2hah16:08
-!- lisette [n=liraos@201.232.58.66] has joined #webgui16:24
BartJolwell, the humor lies on the streets, it seems16:26
-!- SDuensin [n=Scott@233.sub-75-204-196.myvzw.com] has joined #WebGUI16:31
lisettei have a macro that do a datetime with the session, i call this macro from other macro, and i pass the session, but shows me a error:  Can't locate object method "datetime" via package "WebGUI::Macro::E_learning", what i must do?16:36
SDuensinMorning.16:37
BartJolMorning16:37
lisetteanyone?16:52
perlmonkey2lisette: put the code in pastebin16:54
perlmonkey2I'm sure this is simple, and my coffee deprived brain would easily see the solution, if only it weren't coffee deprived, but how would I send the user to a URL from an asset?  When the survey ends, the user can be sent to any URL.16:56
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has quit ["Leaving."]16:57
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit []16:57
perlmonkey2I must have ticked off rizen as we've talked about that question before.17:00
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui17:01
-!- mode/#webgui [+o rizen] by ChanServ17:02
lisettehttp://webgui.pastebin.com/d5c05018917:03
-!- Haarg [n=haarg@24-196-80-80.dhcp.mdsn.wi.charter.com] has joined #webgui17:07
-!- mode/#webgui [+o Haarg] by ChanServ17:07
lisetteperlmonkey2: http://webgui.pastebin.com/d5c05018917:09
lisettedo you see?17:09
perlmonkey2yes17:09
perlmonkey2sorry, was finishing up something17:09
perlmonkey2lisette: which line number is the error?17:11
perlmonkey2and do you not have to include the E_learning package in the second macro?  or are they in the same file?17:12
ckotilcan a macro return template conditionals which will then get processed by the template engine?17:12
perlmonkey2ckotil: oh, great question.  Would be totally badarse if they did.17:13
ckotilyah. im getting cursed at by my users for how i implemented on the fly Table of Content's to handle redirect assets.17:14
perlmonkey2ckotil: you could write a 1 liner macro to change a common template var and test it?17:15
* perlmonkey2 really needs to study the library more.17:15
ckotilyah, i was just abotu to create the macro17:16
ckotilill let you know how it goes17:16
lisette2017:18
lisettei have to include like a library?17:18
lisettethe other macro, i mean E_learning?17:18
lisettethe macros are differents files17:19
-!- dionak [n=diona@97.66.185.250] has joined #webgui17:21
perlmonkey2lisette: so the problem is it doesn't appear to be receiving the sesssion.  Can you put in some log statements to make sure of that?17:22
lisetteyes17:23
lisettei paste here the error exactly like the log17:23
-!- juan [n=juangui@201.232.58.66] has joined #webgui17:24
juani have a question related with surveys17:24
juancan i show the section for each question to be visible for all the users?17:25
-!- jfluhmann [n=jfluhman@x174y236.angelo.edu] has joined #webgui17:27
perlmonkey2lisette: reading the pod for the macro skeleton, I'm not sure you can call the second macro like you are trying to.  17:28
perlmonkey2juan: can you rephrase that, I don't understand what you mean.17:28
juanok,17:29
juanwhen you create a survey you have the possibility to create sections and include question to them17:29
lisettethe macro skeleton don't call other macro17:30
lisettei don't know how to do!17:31
-!- juan [n=juangui@201.232.58.66] has quit [Read error: 104 (Connection reset by peer)]17:34
perlmonkey2lisette: Instead of calling another macro, why not just write a normal package for your first macro?17:35
lisettei can't do!17:36
lisettethe first macro is call in different places of site17:38
lisetteand the second macro only call one time.17:38
-!- ryuu_ro [n=rory@194.171.50.69] has quit []17:40
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)]17:45
-!- juan [n=juangui@201.232.58.66] has joined #webgui17:48
ckotiljuan, i believe that you can do what you want.17:58
ckotil<tmpl_if expr="page_groupIdView ne '7'">* </tmpl_if>17:59
-!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: dionak, bopbop17:59
ckotilwell i dunno about in the survey. but in the nav asset, im using that tmpl_if.17:59
-!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has quit ["Windows doesn't have users, it has hostages."]18:00
ckotilgroupIdView is 7 if the user has the appropriate permission to view said content.18:00
ckotilnot sure why its 7, but it is.18:00
-!- Netsplit over, joins: dionak, bopbop18:01
bopbopum..18:01
-!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has joined #webgui18:04
-!- mode/#webgui [+v Radix_] by ChanServ18:04
BartJolhee Radix_ I passed my driving exam18:06
+Radix_cool.. congrats :)18:06
BartJolthanks18:07
ckotilperlmonkey2: don't seem to be able to.18:13
perlmonkey2ckotil: oh well, maybe in 8.x18:15
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has joined #webgui18:18
-!- mode/#webgui [+v perlDreamer] by ChanServ18:18
ckotilthatd be great.18:19
juani have many collaboration systems in my site18:19
ckotili just tried to have the macro return <tmpl_var page_url>  18:19
juanall of them have the propertie archive after one year18:19
juani want to change this value to 3 years for example18:20
juancan i do it by console altering the respective table?18:20
+perlDreamerjuan, yes18:21
juanthe default for this field is one year18:21
juanand in the database appears 3153600018:24
+perlDreamerjuan, I think that field is stored in seconds.  60*60*24*36518:25
juanok18:25
-!- BartJol [n=plainstu@host2.procolix.com] has left #webgui []18:31
-!- topsub [n=josh@97.66.185.250] has joined #webgui18:38
+perlDreamerperlbot math 60*60*24*36518:39
perlbot3153600018:39
+perlDreamerperlbot 1 year is 31536000 seconds18:39
perlbotadded 1 year to the database18:39
+perlDreamerperlbot: help18:49
perlbotno warnings, no strict == no help18:49
@apeironhrm18:51
+perlDreamerseems bad to override the perlbot help command18:52
@apeironperlbot, help18:56
perlbot(fact) : tell (who) about (what) : (what) > (who) : learn (what) as (info) : relearn (fact) as (info) : phone (phone #) : shorten (url) : shorten it : search (keyword) : cpan (mod) : docs (mod) : perldoc -f (func) : jargon (term) : math (expr): fortune : flip : host (type) (record) : rot13 (text) : roll (die) : tempconv (temp) : scramble (foo) : 8ball (question) : slap (who) : diss (who) : top/bottom (num) karma : geoip (ip)18:56
@apeironI had it in my logs, but the factoid is so long that you can't say "help is ..."18:57
+perlDreamerperlbot, help18:58
perlbot(fact) : tell (who) about (what) : (what) > (who) : learn (what) as (info) : relearn (fact) as (info) : phone (phone #) : shorten (url) : shorten it : search (keyword) : cpan (mod) : docs (mod) : perldoc -f (func) : jargon (term) : math (expr): fortune : flip : host (type) (record) : rot13 (text) : roll (die) : tempconv (temp) : scramble (foo) : 8ball (question) : slap (who) : diss (who) : top/bottom (num) karma : geoip (ip)18:58
+perlDreamerhelpbot: help18:59
+perlDreamerperlbot: help flip18:59
-!- lisette [n=liraos@201.232.58.66] has quit [Read error: 113 (No route to host)]18:59
+perlDreamerwhoops18:59
+perlDreamerdidn't mean for that to happen18:59
+perlDreamersorry, lisette18:59
+perlDreamerperlbot, flip flip18:59
+perlDreamerperlbot, flip19:00
perlbotheads19:00
@apeironThe commands without anything in () don't take arguments.19:03
@apeironperlbot, fortune19:03
perlbotIf a child annoys you, quiet him by brushing his hair.  If this doesn't work, use the other side of the brush on the other end of the child. 19:03
@apeironI see that perlbot uses the offensive fortunes...19:03
+perlDreameractually, I think that fortune is quite true19:04
+perlDreamersocial grooming is supposed to calming in primates19:04
* perlmonkey2 used to be punished by being sent to his room. His room which was full of books. It wasn't much of a punishment.19:06
+perlDreamerwhat do you think about brushes?19:06
ckotilperlmonkey2: that was pry the big plan to get you to read!19:07
perlmonkey2hah19:08
perlmonkey2perlDreamer: brushes?  if you need a brush, you might want to rethink your tactics.19:08
ckotili dodged a bullet from my users. i was able to use h:t:e to do what i wanted wrt a conditional on a page_className .  i ended up using the 'le' string operator19:08
perlmonkey2My spankings came with hour long discussions of what I'd done wrong, culminating in a spanking.  19:08
bopbopI got the hairbrush once on my behind- I ran away from my mom at the mall and hid under a mannequin's skirt.19:09
ckotili had the option between small, medium, and large spankings. immediately following a lecture.19:09
perlmonkey2they always occurred well after the fact, in a calm, measured manner.19:09
ckotili chose medium ONCE.19:09
ckotilsame w/ my parents.19:09
ckotilcalm and collected.19:09
perlmonkey2made it all the more worse.19:09
ckotili think so.19:09
perlmonkey2someone wouldnt' happen to know why when I set style info in JS it isn't overriding the style set in my css file?  I have an id I set to display:none in the css file, then display:inline in the JS.  Isn't showing up.  But if I do all the setting just in the JS, everything works as it should.19:11
ckotiltry using a class instead of ID?19:11
ckotilthats the only suggesting i have19:11
+perlDreamermy mom didn't spank19:12
+perlDreamermy dad did19:12
perlmonkey2ckotil: okay, I'll give that a try19:12
+perlDreamerhe used a large paddle named "Ebenezer"19:12
ckotilperlmonkey2: it could be a chicken and egg problem too19:12
+perlDreamerWhen you were going to get spanked, you had to go get Ebenezer.  That was almost worse than the spanking itself.19:12
perlmonkey2ckotil: the JS shouldn't be executed until the html is created and in the dom.19:13
ckotilthat makes sense.19:13
perlmonkey2perlDreamer: hah, that is great19:13
ckotilim glad i never had to deal w/ a paddle. a good child hood friend of mine did and i felt so sorry for him. heh19:13
perlmonkey2ckotil: bah, for some reason, at least in FF, the JS is not overriding the css.  and accessing the style object is a big pain.  People with slow machines will just ahve to deal with the html flashing on screen for a sec until the js is executed.19:17
@apeironflashing? Like with a <blink> tag?19:18
perlmonkey2hah19:18
@apeironor <blink><marquee>EVIL</marquee></blink> ?19:19
perlmonkey2when I set the innerHTML with the objects which might or might not need to be invis, I am setting the container to display:none.  Then after the innerHTML objects have been set, I set the container back to inline.  hah, brilliant and hackish.  I love it.19:19
ckotilheh19:21
-!- jfluhmann [n=jfluhman@x174y236.angelo.edu] has left #webgui ["Open Source Symposium - http://www.texasoss.org/"]19:21
@apeironwow, Safari 3 doesn't even support the blink tag.19:22
+perlDreamernow that's my kind of browser19:22
@rizenphew19:24
@rizenglad that's over19:24
@rizenforms system is now pollution free19:24
-!- Dadok [n=tickitim@35.116.dsl.syd.iprimus.net.au] has joined #WebGUI19:24
Dadokhey guys, anyone in?19:24
+perlDreameryup19:26
DadokAlright, I have a quick question about mail and Collaboration Systems.19:31
DadokWhen filtering for only users in specific groups, does it simply compare their email address to a database of emails of users in the allowed groups?19:32
DadokOr do they have to send their username/password or something in the email.19:32
-!- topsub [n=josh@97.66.185.250] has quit ["Leaving"]19:33
+perlDreamer...digging19:36
CIA-1WebGUI: jt * r6153 /WebGUI/ (81 files in 9 dirs): Cleaned the pollution from the forms system.19:36
+perlDreamerthe email address in the email has to match their email address in their user account19:37
+perlDreamerfor reference, Workflow/Activity/GetCsMail.pm19:37
+perlDreamerand before you say it, yes, it would be nice if the user account allowed secondary email addresses19:38
+perlDreamerit would be a great RFE to suggest19:38
Dadokyeah, oh well19:39
DadokIs there documentation on the syntax for emails to CS's?  Or should I go through the GetCsMail.pm19:40
+perlDreamersyntax for emails?19:40
+perlDreamerIt's email19:40
DadokRight, but for like Title, Subject19:40
Dadokor how to post to a specific thread within a collaboration system19:41
Dadokor to a specific gallery19:41
+perlDreamerThe title comes from the subject of the email.19:42
+perlDreamerFor more details, you should go through the code.19:42
Dadokok19:42
Dadokthanks for your help!19:42
+perlDreameryou're welcome.  Don't forget to post that RFE, too!19:43
DadokI'll get on it :)19:43
@rizenyou must receive an email from a thread to reply to it19:45
@rizenand it auto-tracks it behind the scenes19:45
@rizenotherwise if you send an email to the cs, it will create a new thread19:46
Dadokwhat if you receive emails from multiple threads?19:46
@rizenthen whichever thread you reply to will get the reply19:46
@rizenit keep track of each one individually19:46
Dadokah19:46
@rizenin other words, it "just works"19:46
Dadokhahahaha19:46
DadokHmmm19:48
DadokSo the way I'm doing mail is by using gmail accounts and doing DNS/address redirection.19:48
DadokSo there's no actual mail server.19:48
DadokIs this going to be a problem?19:48
DadokI guess I'll have to take a look at an email from subscribing to a thread.19:49
@rizeni couldn't say19:51
@rizenit should just work no matter how you set it up19:51
@rizenbut if you throw in a bunch of redirection it may lose some of the head info that the CS needs to track what belongs to what19:52
Dadokhahaha19:53
Dadokok19:53
Dadokthanks :)19:53
Dadokwell wait a second19:53
Dadokthere's an option: Require subscription for email posts19:53
DadokIf this is set to yes, then the user not only has to be in the group to post, but must also be subscribed to the collaboration system or thread in order to post to it.19:54
@rizenin order to post VIA EMAIL19:54
Dadokthat implies that if it's set to no, the user doesnt have to be subscribed to post to the CS or thread....19:54
Dadokright19:54
@rizencorrect19:54
@rizenwhich i would not recommend unless you want spammers hitting your boards19:54
Dadokso how do you post to a specific thread via email if you're not subscribed? you just need to know the email of it somehow?19:55
@rizenjust do it already19:55
@rizenyou'll see19:55
@rizenit just works19:55
Dadokwell, they still have to be in a specific group since im requiring user registration19:55
Dadokhahahaha19:55
Dadokok19:55
Dadokbut what email do i send it to?19:55
@rizenthe email address that you set up in the CS mail tab of course19:55
Dadokright, but for a specific thread?19:55
@rizenjust send a damn message to the cs19:56
Dadokhow do they specify that without an email from the thread, which you can only get from subscribing?19:56
@rizenyou'll see19:56
Dadokok19:56
Dadokdo I attach an image to the email for galleries? or put it in the body?19:59
+perlDreamerDadok, try it19:59
+perlDreamerand then, if you wish, make a wiki page about everything you learned19:59
Dadokyeah, didnt work20:08
Dadokthanks for the help anyways guys20:08
Dadokill try changing a couple settings20:08
juanperlDreamer, if i decide to create a new page for Anonymous Registration, in my form can i put the same action that the default template has20:23
+perlDreamerregistration is an operation, so the action can be anything (regarding the <form> tag)20:24
+perlDreamerwould it be easier to change the Anonymous Registration template?20:24
juanso, i can put in that template my html and the action will be the same20:26
+perlDreameryes20:26
juanand how the fields that i defined how will be stored in the userprofielddata20:28
juan?20:28
juani defined the fields in user profile and put them in the template with the same name that i defined 20:29
+perlDreamerIn the Admin Console, find User Profiling20:30
+perlDreamerEach user profile field has a property called Require at Registration (or something similar)20:31
+perlDreamerFor each field that you want the user to fill out at registration, set this to be true20:31
+perlDreamerthe Anonymous Registration form will automatically include those fields for you20:31
+perlDreamerand handle their form processing after the user submits the data20:31
juanyes. i understand20:33
juanbut  the thing  that i want is to manage some java script depending the user selection20:34
juanfor example i have a field called rol and is a checbox20:35
juanit has 3 options20:35
juangeneral, teacher and student20:35
+perlDreamerokay20:35
juanif a user choose general i have to show a new select box20:36
+perlDreamerjuan, for that, you need help from someone who understands JS, the DOM and CSS.20:37
juanyes20:37
juani am going to try and verif20:37
juany20:37
juanthanks20:38
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui20:53
-!- mode/#webgui [+o preaction] by ChanServ20:53
-!- BartJol [n=plainstu@52-167.surfsnel.dsl.internl.net] has joined #webgui21:24
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit ["Leaving"]21:29
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui21:29
-!- mode/#webgui [+o preaction] by ChanServ21:29
perlmonkey23 lines of HTML::Template giving me a <tmpl_if..> without /tmpl_if   http://pastebin.com/d4be123c421:57
perlmonkey2arg!21:58
-!- slickware [n=slick@c-76-119-132-119.hsd1.ma.comcast.net] has joined #webgui21:58
perlmonkey2so close to being done.21:58
@preactionperlmonkey2, there's a type-o in there21:58
perlmonkey2tm21:58
perlmonkey2tmp21:58
@preaction<tmp_if <-21:59
perlmonkey2ouch21:59
perlmonkey2thanks preaction21:59
-!- SDuensin [n=Scott@233.sub-75-204-196.myvzw.com] has left #WebGUI ["Leaving"]22:08
@preactionHaarg, just to let you know, i've added the workflow select box to the Calendar like we talked about yesterday. seems somebody noticed ;-)22:08
-!- slickware [n=slick@c-76-119-132-119.hsd1.ma.comcast.net] has left #webgui []22:11
@apeironperlDreamer, Another silly mistake to add to your presentation: call WebGUI::International->new with the class name *without* 'WebGUI::' before it. :)22:39
@apeiron(and if you wrap code that calls wG::I18n incorrectly like that in an eval, make sure to test $@ after)22:40
-!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: @preaction22:55
-!- Netsplit over, joins: @preaction22:56
-!- bopbop [n=kmccombs@71-90-131-140.dhcp.mdsn.wi.charter.com] has quit []23:38
+perlDreamerapeiron: I do that one all the time, here in the channel23:50
+perlDreamerAsset->new23:50
+perlDreamerUser->get23:50
+perlDreamerjust assuming that people will remember the WebGUI:: part of it23:50
--- Day changed Thu Apr 17 2008
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has joined #webgui00:07
-!- mode/#webgui [+v MrHairgrease] by ChanServ00:07
+MrHairgreaseyay, the new itransact driver pays!00:24
@apeironPays whom?00:24
@apeironMe?00:24
+MrHairgreaserizen: there are no recurring sku's yet right?00:24
@rizencorrect00:25
+MrHairgreaseok00:25
@rizenwe still need to build the subscription asset00:25
@rizenbefore may 3100:25
+MrHairgreasein order to get those working i need just that00:25
@rizenthat will be the only recurring sku at launch00:25
@rizeni plan on working on that after i'm finished with the ems00:25
+MrHairgreasethis week I'm really busy, but I'll try to convert that as soon as possible00:26
+MrHairgreaseah00:26
@rizenbut since i have a trade show to go to next week i likely won't be able to work on subscriptions for 2 weeks00:26
+MrHairgreaseok00:26
+MrHairgreaseI guess I can manage to do it before then00:26
@rizenif you want to have a go at it, since you wrote the original subscription stuff...you're more than welcome to00:26
+MrHairgreaseare all the required methods already documented in Sku.pm?00:27
@rizenthey should be00:27
+MrHairgreasehaven't had a look at the asset side of the shop00:27
+MrHairgreaseok00:27
+MrHairgreaseI think I'll manage00:27
@rizenbut more may come up as you develop00:27
+MrHairgreasesure00:27
@rizeni tried to think of what you'll need for that00:27
@rizenand i've PODed everything that i put into the sku base class00:28
+MrHairgreaselet me update my branch and commit my partly working itransact thingy00:28
+MrHairgreaseok00:28
+perlDreamerOn the Asset side, Sku is base class for all products.  Product is now a subclass of Sku, and basically works, although it does not yet allow for variants00:28
@rizenunfortunately the EMS has been a thorn in my side and is taking longer than expected...and this week i had to practically rewrite the entire form api due to pollution00:29
+MrHairgreasei know the phenomenon00:29
@rizenon the up side we have a much more clean and functional forms api now00:30
@rizen=)00:30
+MrHairgreaseon another upside, I finally have the fabrication process down enough for my nano thingies.00:31
+MrHairgreaseTomorrow I'm gonnan make a batch and measure them friday00:31
+perlDreamersweet!  When do they start self-replicating?00:31
+MrHairgreaseas soon as they're being fed human blood from Portland00:32
+MrHairgreaseI really hope they'll work00:32
+perlDreamerExcellent.  I have a few people in mind >:)00:32
+MrHairgreaseor do at least something00:32
+perlDreamerwhat are they supposed to do?00:32
+perlDreamerare they mechanical or electrical?00:32
+MrHairgreaselet single electrons tunnel from on side to the other00:32
@rizenso would that be useful for example in a hydrogen fuel cell?00:33
+perlDreamernano-EEPROM?  Very cool00:33
+MrHairgreasebasically a device is just a tiny capacitor consisting of two very small wires spaced by a few nm00:33
+MrHairgreasethe things are called single electron tunnling junctions00:34
@rizenperlDreamer: how come nearly every regular on this channel is waaaaaay smarter than me?00:34
+MrHairgreasebut the goal of my research is to a) prove that my professor is right and the rest of the world is worng =)00:34
+MrHairgreaseand b) test the fabrication technique I'm sing00:34
+perlDreamerrizen: We're technically smarter.  You have a unique blend of hacker and business skills that we all lack.00:35
+perlDreamerI can't even do my taxes.00:35
+perlDreamerI tried for 4 years00:35
@rizeni can't either, i hire an accountant cuz it's too much work.00:35
+perlDreamerTwo years I did them myself, and the IRS returned them, corrected.00:35
+MrHairgreaserizen: like you, I compensate my lack of knowledge with hard work00:35
+perlDreamerTwo years I used Turbo tax, and the IRS returned them, corrected00:35
@rizenyeah that's no good00:36
@rizeni guess i could do my taxes...but i choose not to because it's a lot of time 00:36
@rizenthat i could be hacking webgui =)00:36
+perlDreamerwell, it's good to see you have your priorities straight00:39
+MrHairgreasehttp://geefmegeld.nl/uploads/rB/LH/rBLHMqCLhVhUDHfGiCIK1w/008_TJ11E-B4-top-D5-after_etch.png00:40
+MrHairgreasethat's an image of double junctions with increasing gap size from top to bottom00:40
+MrHairgreasethey don't work though as they're not connected to anything00:41
BartJolbut they are still +/- 100 atoms thick00:41
+perlDreamerthey just sit there looking pretty00:41
+perlDreamerBartJol, are the rumors of you being traded to the Arabic Translation team true?00:42
+MrHairgreaseyeah, I made them with myself as inspiration00:42
BartJolnice pics00:42
@rizenthat's too imprecise for my needs00:42
@rizen=)00:42
BartJoleeh, well, my arabic stinks00:42
@rizenyeah i heard that too00:42
+perlDreamerHe's a hot commodity.  Been keeping the Dutch translation at 100% for several months now.00:42
@rizenword on the street is that they offered you a 7 figure signing bonus to go free agent so they could pick you up00:42
BartJolooh, who's telling that?00:42
+perlDreamerHe could demand a 16-bit salary.00:43
+perlDreamerafter the signing bonus00:43
BartJolfor that kind of money I would like to learn arabic00:43
+MrHairgreasepd: $ 0 is also a 16 bit salary00:43
BartJolwhat currency?00:43
+MrHairgreaseor -3200000:43
@rizenrupees00:43
+MrHairgreasehehe00:44
@rizenso i think thats about $3 american00:44
@rizen=)00:44
+perlDreamerMrHairgrease, we only use unsigned ints :)00:44
BartJolwell, I deny everything00:44
@rizenor about 1/2 of a beer00:44
BartJolthat's hardly enough for during work00:45
@rizenso as the the union rep for the RedNeck translation00:45
+perlDreameroh, are you now bidding00:45
BartJolon friday afternoons00:45
+perlDreamerI'll bid 1 beer00:45
@rizenwhat do i have to pay you, in beers, to come work for us?00:45
BartJolwell, that depends, is it only beer I get?00:46
+perlDreamerIt's hard to pay rent in beer.00:46
+MrHairgreaseare you getting back to koen by luring away his employees with beer?00:46
BartJolI do also do something like sleep and at00:46
@rizenindeed00:46
BartJolwith me, that might work :)00:46
+perlDreamerSleep is off the table.00:46
+MrHairgreaseback at koen of course00:46
+MrHairgreasefor his ramblings00:46
@rizenyeah, but like any currency, you can sell beer, i just don't know what the exchange rate is00:46
@rizeni'm glad to hear that i'm not the only one that thinks he's rambling00:47
BartJolmost people do, but sometimes he makes sense...00:47
BartJollet me think of an exaample00:48
+perlDreamer(Hint: he hired you)00:48
@rizenHint2: he's letting you come to the wuc, again00:48
BartJolwell, that sounds a bit smug, but it's true :)00:48
BartJoland he also brings his wife, so he won't be as drunk as last year00:49
+MrHairgreasekoen is only taking bart to the wuc so he looks cool by proxy by being also dutch00:49
+MrHairgrease=)00:49
@rizenwait...tessa is coming?00:49
+perlDreamerAre y'all going to charter a plane to come over?00:49
+perlDreamerYeah.00:50
BartJolyeah, Albert and Ning are coming too00:50
@rizenholy crap....i didn't know that, i'm going to have to buy more beds for my house i think00:50
@apeironThere's a veritable invasion from Europe coming.00:50
BartJolpyama party!00:51
@rizenThe Dutch are coming! The Dutch are coming!00:51
+MrHairgreaseor buy a bigger house00:51
+perlDreamer1 if by land, 10 coming with beer00:51
-!- Doc777 [n=Doc@10.187-available-ethint-fratm-cc.sccoast.net] has joined #webgui00:51
+MrHairgreaseyeah i guess it is an invasion00:51
@apeironWhat is it, about 12 people?00:51
@apeironI think that was the last count.00:51
BartJol4 from United knowledge00:51
BartJol3 from oqapi00:52
+MrHairgreaseunited knowledge is comming with 4 people, oqapi with 3 procolix with 3 and pluton with 200:52
BartJol3 from procolix00:52
BartJolindeed00:52
@apeironyeah, so, 12.00:52
+MrHairgreaseI wouldn't know, i have only ten fingers00:52
@apeironperlbot, math 4 + 3 + 3 + 200:52
perlbot1200:52
@rizenthat means there are 24 people coming to the wuc before we start selling tickets00:52
+perlDreamerIs it too late to get bigger rooms?00:53
@rizen10 from PB, 2 from Portland, 12 from Holland00:53
+MrHairgreaseI'm looking forward to the wuc00:53
+perlDreamerWhat about the other presenters?00:53
@rizenoh right00:53
@rizenso like 3000:53
+perlDreamerdude, you're already half full00:53
+MrHairgreasenice00:53
@rizenwe booked enough space for 70 this year00:53
BartJolah, and will the official wuc language be Dutch?00:53
+MrHairgreasei guess so00:54
+perlDreamerOnly for ordering beer00:54
+MrHairgreasebecause we talk real loud00:54
+MrHairgreaseBIERTJE?00:54
@rizenoh and we sold our first ticket to a non-speaker this week00:54
+perlDreamerwho's that?00:54
@rizenOne of the peeps from the US Dept of State00:55
BartJolLEKKER!00:55
+perlDreamerExcellent!00:55
@apeironBiertje is a word for beer, yes?00:55
BartJolyes00:55
@apeiron(just guessing here)00:55
+MrHairgreaseit's kind of a diminuative00:55
+perlDreamerlittle beers?00:55
+perlDreamerOnly for Portland people.00:55
+MrHairgreasethe official translation is bier00:55
+MrHairgreasemore like a pet name00:56
+MrHairgreaseyou can say 'do you want bier?'00:56
+MrHairgreaseor you just say 'biertje?'00:56
BartJolbut an drinkable amount (without going warm) instance of bier is called a biertje00:56
+MrHairgreaseif you want a big one you order a 'halve liter'00:57
BartJolso a pint is also a biertje00:57
+MrHairgreasethat depends on the type of beer00:57
+MrHairgreasedrinking guinness from a half pint glass is just perverse for instance00:58
+MrHairgreasebut regular beer is usually served in either 20 or 25 centiliter glasses00:58
BartJolunfortunately...00:58
BartJolin germany and czeck it's half a liter00:59
+MrHairgreasetrue00:59
BartJol1/8 of a gallon?00:59
+perlDreameryup00:59
+perlDreamermetric is so much easier to calculate00:59
+MrHairgreaseindeed00:59
+perlDreamer2 pints = 1 quart.  4 quarts = 1 gallon00:59
@rizenbtw MrHairgrease. Thanks for tackling so much stuff in the new Shop. I really appreciate it.01:00
BartJolin the US everything is big, can you also order a gallon beer?01:00
+perlDreamerYes, at the Ruby Marie01:01
@preactiona pitcher01:01
@preactionDas Boot at the Essen Haus01:01
@rizenyou can order gallon jugs of beer at some places, and yeah, the boot at Essen Haus01:01
@rizenCapitol Brewery, Great Dane, and Angelic Brewing all have gallon jugs01:01
BartJolmaybe americans are really crazy01:01
@apeiron'maybe'?01:02
CIA-1WebGUI: martin * r6154 /branch/WebGUI_Commerce/lib/WebGUI/Shop/ (PayDriver/ITransact.pm PayDriver.pm): Fixing stuff in the ITranasct plugin. It does process non-recurrong payments correctly now01:02
-!- dionak [n=diona@97.66.185.250] has quit [Read error: 110 (Connection timed out)]01:02
BartJoljust trying to be nice01:03
+MrHairgreaserizen: no problem. It's cool to do core stuff again after a slew of long running client projects.01:04
+perlDreamerI love doing core stuff01:04
+MrHairgreaseanother thing01:05
* apeiron has been hacking core for a while now and will miss it when on other stuff.01:05
+MrHairgreasei have been working a bit on the movie plugin01:05
@preactionthat's why you have to convince clients to fund features in WebGUI01:05
@preactionor fund bugfixes01:05
+MrHairgreasethe two players you suggested in your blog however have their issues01:05
+perlDreameror fund test writing01:06
+MrHairgreasethe jw player is some cc license which will not allow commercial usage. 01:06
+MrHairgreasewhich makes it unsuitable i guess01:06
+MrHairgreasethe flowplayer is GPLv301:06
+MrHairgreaseand i dunno how that fits into webgui if at all posible01:07
+MrHairgreasealso in fullscreen mode the flowplayer has this huge watermark overlaid over the movie01:07
+MrHairgreasewhich we can obviously remove since it's gpl01:08
+MrHairgreasebut still...01:08
+MrHairgreaseany suggestions?01:08
@rizenwell then flowplayer is our only option unless you've found other stuff01:08
+MrHairgreasei haven't looked for anything else yet01:09
+MrHairgreaseno time01:09
@rizenand GPLv3 isn't that big of a deal, because it will be a stand alone component01:09
+MrHairgreaseok01:09
@rizeni'll give another look tonight to see if i can find something01:09
+MrHairgreasei thought maybe the flash application Arjanis building could be suited to play movies too...01:09
+MrHairgreaseI haven't asked him about that yet01:09
@rizenactually that's a good idea01:09
@rizeni'll send him an email01:10
+MrHairgreaseyeah it is01:10
@rizenyou're brilliant!01:11
+MrHairgreasetrue01:11
@rizenwith just the right amount of euro-sexy-trash-hair-grease01:11
@rizen=)01:11
+MrHairgreasewait till i am graduated01:11
Doc777Question: I have a download macro that copies a file to a random dirctory and then provides a link to it. It is called with ^Download(section,filename); I have a page that queries the DB and pulls a list of filenames. I would like to be able to to hyperlink the filename to the download link. I seem to be missing how to put the two together ;)01:11
+MrHairgreaseyou'll have to call me Master Hairgrease01:12
+MrHairgrease=)01:12
Doc777so... How can I pass vars to a macro embedded in a page? Or is it possible to call a macro in a url with params? 01:12
Doc777( sorry if I cut into the conversation you had going! )01:13
+perlDreamerwhy can't the Download macro return the link that you want?01:13
-!- topsub [n=josh@66.195.205.21] has joined #webgui01:13
Doc777It could but it needs to be called with the params... which are on another page.01:14
@rizenSounds like you could do ^Download(whatevergoesinsection, <tmpl_var filenameretrievedwithsqlreport>);01:14
+MrHairgreasedoc777: jut do not put the space between the comma and the tmpl_var01:15
Doc777I am sorry. I think I confused you. The download works great... It is the display page that cannot "call" the download correctly.01:15
+MrHairgreaseso ^Download(whatevergoesinsection,<tmpl_var filenameretrievedwithsqlreport>); rather then ^Download(whatevergoesinsection, <tmpl_var filenameretrievedwithsqlreport>);01:15
+MrHairgreasewhat do you mean with 'call'01:16
+perlDreamerthat's the problem.  With macros, it should be a 1 screen/page solution01:16
Doc777Say sqlreport has a list of filenames and you want to hyperlink the filenames to a macro that downloads it. ;-)01:16
+perlDreamercan't do that01:16
+perlDreameryou need to link to a page containing the macro01:17
+MrHairgreaseyeah01:17
+MrHairgreaseand pass the filenames as a formparam01:17
+perlDreamerbut I can guarantee you that people won't like that extra click01:17
+perlDreamerWe're stuck with plone for an intranet, and it works like that01:17
+perlDreamerit sucks01:17
Doc777so if i embed the macro in a page and link the page with downloads?name=mine how does the macro know that name=mine?01:17
+MrHairgrease$session->form->process('name')01:18
+perlDreameryou use the ^FormParam macro01:18
Doc777Aha! Then that is the missing "glue" I was looking for.01:18
+MrHairgreasethat's possible too01:18
+MrHairgreasein that case you do something like:01:19
+MrHairgrease^Download(whatevergoesinsection,^FormParam('name'););01:19
+MrHairgreaseok I'm afk01:19
Doc777Thank you. I will test that!01:19
CIA-1WebGUI: jt * r6155 /branch/WebGUI_Commerce/ (78 files in 8 dirs): merging form pollution fix01:22
Doc777Is it possible to link an image click to trigger a macro or it that to far out? ( Hey it is perl... :-))01:22
BartJoli think I tried that once and it worked01:23
Doc777Do you remember how you did it? That would resolve my 2 page issue if they click the download image and it triggers the macro.  01:23
BartJolbut I'm not sure on the theory01:23
Doc777or button01:24
BartJolwith an < a href="blabla" onclick="mymacro">text</a>01:24
BartJoland text would be image01:24
+MrHairgreasethat doesn't work01:24
+MrHairgreasewhat you can do however is 01:25
+MrHairgreasemaking the macro trigger on some form var being posted01:25
+MrHairgreaseso normally you'd let the macro output a form with a button and a hidden variable containing some unique value01:25
+MrHairgreaseif such a value is posted let the macro output the image01:26
BartJolmmm, the macro was executed, but maybe that already happened during the template assembly01:26
+MrHairgreaseit's not a nice way01:26
+MrHairgreasebut it works01:26
BartJoldidn't test it fully01:26
+MrHairgreasemacro's are processed at the last stage01:26
+MrHairgreasethat is after te,plates are being processed01:27
-!- MrHairgrease is now known as MrAfkGrease01:27
BartJolwell have to work tomorrow, so bye01:28
-!- BartJol [n=plainstu@52-167.surfsnel.dsl.internl.net] has left #webgui []01:28
@rizenlater01:31
@rizenoh woe is me01:31
@rizeni did a resetdev without saving my ems templates01:31
@apeirongack!01:31
@apeironDon't suppose you have your stuff backed up on via Time Machine?01:32
@rizenooh great idea!01:34
@rizeni wonder if that backs up mysql databases01:35
@rizenthat will save me about 10 hours of work01:35
@apeironIf they're on disk in any way it will.01:35
@apeironI'm not sure how useful it'll be, if at all, but it may help.01:35
@rizenanything is better than starting from scratch01:35
@apeironheh. Time Machine has saved my butt more than once. :)01:36
-!- topsub [n=josh@66.195.205.21] has quit ["Leaving"]01:38
@rizenshit01:39
@rizenfor some reason it only has stuff from october of 200701:39
@rizenfor my /wre folder01:40
+perlDreamercrap01:41
+perlDreamermaybe resetdev needs to do a backup before nuking01:41
@rizenholy crap01:41
@rizenyeah i just made that change01:41
@rizentoo little too late01:41
@rizenbut it saves me for next time01:41
+perlDreamercommit that script!01:42
@rizenbut i just realized that even though i use time machine all the time01:42
@apeironIt'll only back up what it's told.01:42
@rizenit has no backups except those from october01:42
@rizennone for anything01:42
* apeiron pokes CIA-1.01:43
+perlDreamerCIA-1 delays can be as long as 20 minutes, as observed01:43
+perlDreamerI use RSS for monitoring the version log nowadays01:44
+perlDreamerbut it's a little messed up, too01:44
+perlDreamerall the dates in the RSS are from unix time 001:44
@apeironperlDreamer, My first bit of exporting changes are in if you want to take a look.01:44
@apeironperlDreamer, LOTS of tests, 145 total so far.01:44
+perlDreamerdid you look at coverage?01:45
@apeironIt's about 75%.01:45
CIA-1WebGUI: chrisn * r6156 /WebGUI/ (6 files in 6 dirs): 01:45
CIA-1WebGUI: The export system has been completely rewritten to be less monolithic and01:45
CIA-1WebGUI: easier to understand. It's also got a fully rewritten test suite (145 and01:45
CIA-1WebGUI: counting). It uses Path::Class for much of its work, which is now a requirement01:45
CIA-1WebGUI: for wG.01:45
+perlDreamerNice userId, apeiron01:47
@apeironhrm, where?01:47
+perlDreamerline 70101:47
+perlDreamerof the test code01:47
@apeironOh, heh.01:47
@apeiron:)01:47
+perlDreamernice code, i18n and hoverhelp from the get go01:50
+perlDreamerand POD, too01:50
+perlDreamerjust a couple of notes01:51
@apeironThe i18n / hoverhelp were actually from the previous iteration of the code, I can't take credit for them.01:51
+perlDreamerdouble sigils are not PBP, probably not WGBP01:51
@apeironeep01:51
@apeironWhere'd I use one of those?01:51
+perlDreamerline 57801:51
+perlDreamerThere's probably a Perl Critic policy for that01:51
@apeironah01:51
@apeironI reused a bit of the code from the old implementation, and that little bit got by me.01:52
+perlDreamerdude, this is very, very nice code01:55
@apeironheh, thanks01:55
@apeironI try to keep it simple, y'know? This isn't the first time I've been rummaging through there and it won't be the last either.01:55
+perlDreamerwell, and the comments help a ton01:55
@apeironha01:56
@apeironHopefully I didn't go too far on those.01:56
+perlDreamerA lot of the intent is in inaccessible places.01:56
+perlDreamerLike rizen's head01:56
@apeironheh01:56
+perlDreamerwithout his head, all that history and knowledge is gone01:56
@apeironTake a look at the previous revision to see why it's so verbosely documented.01:57
@preactionthe last implementation was... interesting01:57
Doc777Sorry to interupt but I have a quick question about FormParam. 01:57
Doc777If FormParam something that needs to be enabled? If pull up my page url with details?section=church and in the "details" page use: ^FormParam('section');  it displays ^FormParam('section');  instead of "church". What am I missing?01:58
+perlDreamerDoc777: it has to be enabled in your webgui config file01:58
Doc777Thought as much but when I search it is not even found in it ;)01:59
+perlDreamerin the macros section01:59
+perlDreamerthat's because you enable it by adding it to the section01:59
@rizen"FormParam" : "FormParam"01:59
@rizen,01:59
+perlDreamerand the comma, only if it isn't the last in the list02:00
Doc777Ok thanks, was looking for it in the webgui config but got lost when it wasnt there at all ;)02:00
+perlDreamerYour site has a help page to tell you what macros are available, which are enabled, and what their user level macro name is02:02
+perlDreamerjust append this to any page on the site: ?op=viewHelp;hid=macros%20list;namespace=Macros02:03
Doc777Great! thanks ;)02:05
+perlDreamerof course, after you modify the WebGUI config file, you have to restart Apache to see the changes.02:06
@rizenapeiron: where in this new api would i put my extra export methods02:06
@rizenfor example, let's say i wanted the calendar to export every one of it's views as separate pages02:06
@rizenwhere would i put that code02:06
@apeironhrm02:07
@rizenthat was the point of this rewrite afterall02:07
@rizenso i'm not very happy to hear grm02:07
@rizeni'm out for the night, please formulate an answer by tomorrow morning02:08
+perlDreamerI believe it does that by default, as exportGetDescendants will pick up each Event asset one by one?02:08
+perlDreamerlikewise with Post and Gallery and Wiki02:09
@preactionwhat about ?func=month02:09
@preactionor rather ?func=view;type=month02:09
+perlDreamerthat would be handled by the calendar itself in exportHtml_View02:09
+perlDreamerbut it's not user selectable02:10
+perlDreamerI don't know if that's important or not02:10
@preactionso we pervert the exportHtml_View method to also export the other views in addition to returning the default view?02:10
+perlDreamerNo.  Each asset gets called by itself02:10
+perlDreamerEvents are children of Calendar, so exportGetDescendants will call them one by one02:11
@preactionright, but the Calendar has more than one view02:11
@preactionit has month view, week view, day view, list view02:11
@preactionit has multiple pages of each of those views as well02:11
+perlDreamerthen, it would be Calendar's job to handle making multiple views of itself, not AssetExportHtml02:11
@preactionright, but there needs to be an API method the Calendar can override to do so02:12
@preactionthat AssetExportHtml will call02:12
+perlDreamerexportHtml_view02:12
+perlDreamer"View method for static export.  This is like www_view, and defaults to ust calling www_view, but this needs to be overridden if www_view epends on there being an actual HTTP response on the other end."02:12
+perlDreamerMaybe our psychic connection is being interfered with.02:13
+perlDreamerAre you next to a microwave or hairdryer? :)02:14
@preactionwhere does the Calendar put its other views?02:14
-!- juan [n=juangui@201.232.58.66] has left #webgui []02:14
@preactionit returns the www_view content that should be stored somewhere, but where should the www_list or www_month content get stored?02:14
@preactiononly AssetExportHtml knows that02:14
+perlDreamerexportGetUrlAsPath will help with that a lot02:15
+perlDreamerand Calendar can call that as it's part of the API02:15
+perlDreamerbesides, is every asset supposed to export every optional and paginated view of itself?02:16
@preactionno02:16
@preactionbut it's like the package system02:16
@preactionyou override exportAssetData and importAssetData to get other things in your package for that asset class02:17
+perlDreamersure, and it would work no differently here02:17
+perlDreamerIn other words, I think it is yet to be proved that it cannot be done with apeiron's new code.02:17
-!- MrAfkGrease [n=martin@x032124.its-s.tudelft.nl] has left #webgui []02:18
+perlDreamerpreaction: Have you reviewed the code yet, yourself?02:18
@preactionno02:18
+perlDreamerThen I'd like to propose an all-dev code crawl, with specific questions posted back to the dev list for apeiron to answer.02:19
+perlDreamerAnd, btw, every question that you've asked so far would be great starting points for that02:19
@apeironYou guys don't need to put forth your time for that.02:19
@apeironer, effort02:19
@preactionexportHtml_view would technically work, of course, it just seems perverted to me to use that method to export more than one view02:19
+perlDreamerwhy not?  If there _are_ problems in the code, we should find them now.02:19
@preactionunfortunately looking for exportHtml_* methods would probably be unacceptable as well02:20
+perlDreameryeah, I don't know of any good ways to do code introspection in perl myself02:20
@apeironThere are reflection methods, but that's ugly.02:21
+perlDreamerpreaction, maybe just a name change, something like getMyExportViews? returns a list of coderefs which are invoked one by one?02:22
+perlDreamerand if no coderefs are returned, then call view by default?02:22
+perlDreamerin any case, we need to give apeiron time to think about all this02:22
@preactionsomething like exportHtmlAdditionalViews( optionsHashRef ) might work just fine02:23
@apeironpreaction, That's basically what I was thinking right now.02:23
+perlDreamerI need to get home.  I'll see you guys later.02:27
@apeironG'night, sir, and thank you.02:27
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has quit ["Download Gaim: http://gaim.sourceforge.net/"]02:27
@apeironlet's see.02:33
@apeironUsing the calendar example, we'd want to export day, week, month, possibly other arbitrary views.02:34
@apeironNow, obviously you'll want each asset that's capable of doing this to have the opportunity to do so02:34
@preactionCollab might want to export other pages of threads02:34
@preactionetc...02:34
@apeironyes.02:34
@preactioni think the worst part is going to be the URL rewriting02:35
@apeironThe key point here is that there are arbitrarily many children, if you will, of an asset.02:35
@apeironI'm not sure if that's going to be an issue.02:36
@apeironGoing along with your exportHtmlAdditionalViews( optionsHashRef ) idea, that would need to be called on each asset that's exported.02:36
@apeiron$optionsHashRef would need to contain the userId and the indexFileName at least from exportAsHtml().02:38
@apeironFor a calendar, if the root of the calendar is going to /data/exports/home/hi/mycal/index.html , then the day view can go to, say, /data/exports/home/hi/mycal/mycal_func_day/index.html or so.02:40
@apeironbut... hm, yeah, thinking about the URL rewriting, it's going to be an issue.02:43
CIA-1WebGUI: doug * r6157 /WebGUI/ (13 files in 10 dirs): 02:48
CIA-1WebGUI: add: Calendar can now choose workflow for Events02:48
CIA-1WebGUI: fix: Event now saves ownerUserId correctly02:48
CIA-1WebGUI: add: GalleryAlbum now shows link to add a Photo02:48
CIA-1WebGUI: added a test skeleton for Test::WWW::Mechanize tests02:48
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)]03:55
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI04:24
-!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui05:02
-!- mode/#webgui [+v Radix-wrk] by ChanServ05:02
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has quit ["Leaving"]05:58
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI06:02
DadokAre calendars resizable?06:37
CIA-1WebGUI: chrisn * r6158 /WebGUI/lib/WebGUI/AssetExportHtml.pm: Several fixes, namely compliance with WGBP / PBP. This file is now tab-free!07:17
-!- Haarg [n=haarg@24-196-80-80.dhcp.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"]07:32
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [Connection timed out]07:35
-!- ryuu_ro [n=rory@194.171.50.69] has joined #webgui09:09
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui09:58
-!- apeiron_ [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui10:01
-!- mode/#webgui [+o apeiron_] by ChanServ10:01
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has quit ["Reconnecting"]10:01
-!- apeiron_ is now known as apeiron10:02
-!- bartjol [n=bartjol@host2.procolix.com] has joined #webgui10:39
DadokHey guys, do you know if there is a way to schedule a routine clearing of the log files?  Or just to schedule a routine execution of a predefined sh file?10:53
bartjolwell, probably a crontab on the server is the most logical11:06
bartjolI don't thjink it's possible from the webinterface11:07
Dadokok11:07
Dadokill use a crontab, thanks11:07
bartjolbut do you want to keep them and clear it, so it's more clear and compact11:07
bartjolbecause if you have problems and want to analyse it's a bummer if your crontabs just kicks in11:08
Dadokyeah11:08
Dadokunfortunately im having enormous log files right now since im still debugging11:08
Dadokhaha11:08
bartjolI think there 's a standard crontab that splits it per day11:08
bartjol:)11:09
Dadokoooh, ill have to look into that one11:09
bartjolshould be somewhere with the installation help on webgui.org11:09
bartjolhttp://www.plainblack.com/community-wiki/installing-wre-0.8.0 number 12, but that's for the 0.8.0 wre11:10
bartjolbut something like it11:11
Dadokah, log rotates, got it11:12
Dadokthanks for the help!11:12
bartjolglad to be some help11:13
bartjolmostly i just babble people into the wrong direction :)11:13
bartjolso be carefull :)11:14
Dadokhaha11:14
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has quit ["Leaving."]11:17
Dadokman, the more I use WebGUI the more I realize how robust of a CMS it is.  what a fantastic system11:20
bartjolyeah, it's great when you get the hang of it11:39
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui11:51
-!- Radix-wrk [n=Jesse@203.161.68.67] has quit ["Leaving"]11:54
-!- Dadok [n=tickitim@35.116.dsl.syd.iprimus.net.au] has quit [Read error: 110 (Connection timed out)]12:49
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui12:49
-!- mode/#webgui [+o preaction] by ChanServ12:49
-!- Dadok [n=tickitim@35.116.dsl.syd.iprimus.net.au] has joined #WebGUI12:57
DadokSo this is a problem I've had with a few assets:  I currently have a dataform, and I'm fairly certain that reason it's not emailing correctly is that the "to" fieldname is "to1".  I've tried renaming it to "to" but it keeps reverting.  I have had similar problems with other assets that I've tried to change the URLs of to the URLs of deleted assets.  How do I clear old field names/asset urls?  Do I have to go into the database?13:02
bartjolmaybe you can look into your trash13:56
bartjolor system trash13:56
Dadokyeah i looked, nothing there13:58
Dadoksystem trash?13:59
bartjolyeay13:59
bartjolwhen you're in the trash, on the right side there also a link system trash13:59
Dadokoh, didnt notice that.  but still, nothing in there13:59
Dadokit's only when I click save (submit) on the data form that the field name resets to "to1"14:01
bartjolmm, don't know that one by heart, have a minute14:01
bartjolwell it depends on whether the function selects the fieldname and puts that in the header14:05
bartjolgoing into the database might give some clues on where to find the problem14:05
Dadokyeah i think ill have to.  this is weird.  ive sent the same data in 4 times in a row14:07
Dadokand on the 2 and 4th times it has reset it to "to1"14:07
Dadokthe 1st and 3rd it didnt change it at all14:07
Dadokdid the exact same thing 4 times in a row14:07
bartjolhard to tell what's actually gonig wrong, but I've got a few porblems myself now, so I'm gonna concentrate on those for now, sorry14:10
Dadokno problem, thanks for trying :)14:12
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has quit ["Leaving"]14:14
-!- Haarg [n=haarg@24-196-80-80.dhcp.mdsn.wi.charter.com] has joined #webgui14:20
-!- mode/#webgui [+o Haarg] by ChanServ14:20
-!- jdanpl [n=jdanpl@xdsl-461.lubin.dialog.net.pl] has joined #webgui14:24
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)]14:33
jdanplhow offen package with translation is generated? I translated next portion and need new package. So why I ask.14:35
jdanplhow often ...14:36
bartjoltranslations are not included in the WebGUI packages14:37
bartjolpeople can download the latest version from i18n.webgui.org14:38
bartjolor where you make them available yourself14:38
jdanplI know. I thing about http://i18n.webgui.org/translations/Polish.tar.gz14:38
bartjollike on webgui.nl14:38
jdanplMy question is how long I must wait after commited new changes?14:39
bartjolyou can export it directly14:40
bartjolthen the link with polish.tar.gz will appear and you can download that14:40
jdanplGreate. You are right. I downloaded and it's appeard package has new content.14:43
bartjolhee, I'm the guy that keeps dutch on a 100%, buy now I should know14:44
bartjol:)14:44
jdanplcongratulation, very good work14:45
bartjolthanks, but it was hard in the beginning, when you're at 100% it's easy14:45
jdanplI make translation only on my free time14:46
bartjolI get paid for it, so that makes it easier, you're a hero!14:46
jdanplSome days ago I made Polish translation to WebGUI 5. And next I sed that someone made the same work.14:47
jdanplNow it's simpler14:48
jdanplhm, I get paid from my customers when site is good and userfrendly ;-)14:49
CIA-1WebGUI: jt * r6159 /translations/Polish/Polish/ (Asset_MessageBoard.pm AuthWebGUI.pm): update_from_translation_server14:49
bartjolwell, we just host, design is not our thing14:52
bartjolbut now I'm helping another company out with templating and programming14:52
jdanplWe host and design. I also program macros, wobject etc.14:54
bartjolnice14:55
jdanplBut on WebGUI 7 we have ony 5 sites. Most were made on WebGUI 514:55
bartjolhaven't come as far as wobjects up to now14:55
jdanplI still learn new API. Especially lineage ...14:57
bartjolme to, and I've still got a long way to go15:00
CIA-1WebGUI: jt * r6160 /translations/Polish/Polish/Asset_Post.pm: update_from_translation_server15:24
Dadokhey do you guys know of any good sports packages that are easily integrated with webgui?15:48
bartjolsports?15:52
Dadokyeah15:54
Dadoklike results, rosters, etc15:54
-!- SDuensin [n=Scott@84.sub-75-205-131.myvzw.com] has joined #WebGUI16:21
SDuensinMorning.16:21
ckotilGood morning16:22
bartjolDadok, ah, well, I don't believe so16:25
bartjolif you have a 7.5.x version, maybe you can make a Thingy16:26
bartjoland morning16:27
-!- khenn [n=khenn@24-159-239-186.dhcp.mdsn.wi.charter.com] has joined #WebGUI16:46
-!- mode/#webgui [+o khenn] by ChanServ16:46
-!- khenn [n=khenn@24-159-239-186.dhcp.mdsn.wi.charter.com] has left #WebGUI []16:46
nubahey folks, whats the best way to present a Terms of Service and force users to agree with it while creating a new account?16:46
nubaIve added two fields to the user's profile,16:46
nubaone being the TOS as a text area16:46
nubathe other a checkbox16:47
nubaand edited the Visitor's TOS field to have it appear to new users, but that didnt happened16:47
nubaah, also made the TOS text-area non-editable, and the 'I agree' checkbox required16:48
nubanow, I think someone once mentined "use a macro" as the usual way people do this16:48
nubabut I dont remember more. any hints?16:48
nubanothing useful comes up when searching for "terms", "agree", etc at the community-wiki :/16:51
bartjolwell, in a dataform it is possible to make a checkbox wich is required, I thought something similar could be done with the login form, so no, I don't know16:54
nubai think you need an active user in order to use a dataform16:56
nubahowever, in this case you need to use the form, and agree with it, before your account is active16:56
nubaso if I were to use the dataform, it would be the chicken vs. egg issue16:57
nubawebgui.org boards are slow today!...16:58
nubaslow as in 'takes a long time to load'17:00
nubabbiaw17:01
-!- Haarg [n=haarg@24-196-80-80.dhcp.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"]17:04
bartjolindeed, but i love chicken and eggs, so i don't see a problem...17:07
-!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui17:20
-!- mode/#webgui [+o Haarg] by ChanServ17:20
Dadokwell the problem comes when we need to blame one of them for salmonella17:37
Dadok(sp?)17:37
Dadoknuba could you just modify the template so that instead of having one "save" button, it had two, the save button renamed to "I agree" and the other one as "Cancel" with a redirect back to the home page or something?17:39
-!- bopbop [n=kmccombs@71-90-131-140.dhcp.mdsn.wi.charter.com] has joined #webgui17:41
DadokI also see a "Default Acknowledgement Template" in Data Form -> Display for a couple of the options.  Maybe try playing around with that?17:43
Dadokno, scratch that.  that's for when you're acknowledging theyve submitted their data.17:44
-!- Dadok [n=tickitim@35.116.dsl.syd.iprimus.net.au] has quit []17:46
-!- perlmonkey2 [n=perlmonk@156.110.35.114] has joined #webgui17:47
-!- ryuu_ro [n=rory@194.171.50.69] has quit []17:58
perlmonkey2I love the internet.  I'm working from my wife's office at her university.  17:58
bartjolyeah, only firwalls gon be a pain then17:59
perlmonkey2I set up a ssh tunnel to my house which can get to work.  The only way in is either webgui, which I hope is bullet proof, or PKI ssh logins, which *are* bullet proof.18:00
perlmonkey2so no firewall pain :)18:00
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has left #webgui []18:01
perlmonkey2if webgui can be hacked, please let me know :)18:04
bartjolwell, Len once did a live demonstration at the wuc, but that's a while ago18:06
bartjol(years)18:06
perlmonkey2hmm....maybe I should Isolate my webgui machines into a DMZ :(18:06
perlmonkey2course i should do that to any web facing machines I guess.18:07
bartjolwell, that might be the best, but ultimate securti probably is still in a bunker without intrnet connection18:08
bartjolbut for a web-app, not a real solution18:10
-!- bartjol [n=bartjol@host2.procolix.com] has left #webgui []18:15
-!- SquOnk [n=emhn@201.211.84.218] has joined #webgui18:31
SquOnkHi18:32
SquOnkrizen: Are you there?18:32
@rizenjust us chickens18:32
SquOnkrizen: Hi18:32
SquOnkrizen: The Debian package is almost ready.18:32
SquOnkrizen: The only remaining issue is that of manpages. Every Debian package MUST provide proper manpages for any script or program installed in /usr/bin and /usr/sbin18:32
SquOnkrizen: This means all the .pl scripts in sbin18:33
SquOnkrizen: The scripts have documentation inside, but it isn't in POD format.18:33
SquOnkrizen: So I took one of them and changed the documentation from the simple here-doc to a fully fledged POD, but also added pod2usage.18:33
SquOnkrizen: So, if you run it without proper parameters you get a "summary" of options. If you run it with --help you get the full manpage. And I can to pod2man to generate proper man pages.18:34
SquOnkrizen: I wanted you to take a look at what I did before I continue fixing the remaining scripts18:34
@rizenwhere can i see it18:34
@rizenyou want to email me the one script?18:35
SquOnkrizen: I can do that, or I can post it in my webserver. Your call.18:35
SquOnkrizen: It's just my modified version of diskUsage.pl18:35
@rizenjust send it over18:35
SquOnkrizen: In a minute18:35
SquOnkrizen: It's on its way18:42
SquOnkrizen: Got it?18:46
@rizenjust now18:46
@rizeni've emailed you my response18:56
SquOnkrizen: I've read it. 18:58
SquOnkrizen: Pod::Usage is a core module.18:58
SquOnkrizen: Therefore is not a new dependency18:58
@rizenIt's core in Perl 5.8?18:58
SquOnkrizen: Yep18:59
@rizenok then, you may commit those changes to the 7.4 branch and merge them up to the 7.5 head18:59
SquOnkAll right. Let me start working on that right away.18:59
@rizenI don't know if you noticed19:00
perlmonkey2rizen: How would I go about putting all the YUI js files used in a single file?  Right now I have a 270ms ping to my server, and just checking all the headers for each file takes 7 seconds.19:00
@rizenbut you're up for Contributor of the Year19:00
SquOnkrizen: Oh. Did not notice. Thank you.19:00
@rizenperlmonkey2: i suppose you could just cat them all together, but that wouldn't be allowed in the core19:01
@rizencat file1 file2 file3 > yui.js19:02
perlmonkey2rizen: I'll look around and see what I can find, but having 10 js files just adds a lot of overhead.19:02
SquOnkrizen: I'll do the changes into HEAD first.19:02
perlmonkey2well, I can do that, I'm just wondering about a permanent solution.19:02
@rizenfirst of all pm2, are you using the utility.js cuz that should eliminate several19:03
perlmonkey2rizen: yeah, I think I switched back to just utilities.19:03
@rizensecond, you're trying to solve a problem that only you have as far as the latency issue19:03
perlmonkey2yeah....and normal users won't have it because they'll only load the page once, then use it for as long as the survey lasts.19:04
@rizenthird, in a production environment the files should be cached and stay in the user's browser because all of webgui uses them19:04
perlmonkey2they are being cached on the client browser.  These are just header checks to see if they've changed.19:05
perlmonkey2the ajax stuff is still really fast.  I'm seeing 500ms returns with 300ms latency.  not too shabby.19:06
perlmonkey2rizen: looks like the yuiloader might be a solution.19:06
perlmonkey2heh, maybe this is a problem someone solved a long time ago :P19:06
@rizeni was looking at yuiloader a while back but i didn't understand how it really helps us since we already gzip all the js files as we send them with the wre19:07
@rizenand we already cache them with http headers19:07
@rizeni guess it would just help that it would be all one file19:07
@rizenoh wait19:08
@rizeni'm thinking of the yui compressor19:08
@rizenyou're talking about that new yui loader component19:08
@rizenthe lazy loading thing19:08
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has joined #webgui19:09
-!- mode/#webgui [+v perlDreamer] by ChanServ19:09
@rizenanyway, i'm off to lunch. we can talk more later if needs be.19:09
+perlDreamerwait, don't go!19:09
@rizenok19:09
@rizenwhat's up?19:09
+perlDreamerI just wanted to see if you'd stay :)19:09
@rizenhehe19:09
@rizenfor you, anything19:09
+perlDreamerCan you fix the air problem at $dayJob?19:10
@rizenabsolutely19:10
+perlDreamercool, my throat is raw and my eyes are burning19:10
@rizenjust give me the gps coords of your building and i'll have a friend at the military drop a fuel air bomb on it19:10
@rizenwithin a few hours the air quality will be nice and crisp19:11
@rizen=)19:11
@rizenok, gotta go19:11
-!- rizen is now known as rizenisaway19:11
+perlDreamerhttp://maps.google.com/maps?f=q&hl=en&geocode=&q=maxim,+hillsboro,+oregon&jsv=107&ie=UTF8&ll=45.544839,-122.904997&spn=0.002833,0.005568&t=h&z=1819:11
perlmonkey2perlDreamer: bad air at a chip research center?  That can't be good.19:14
+perlDreamerThe burn-in overs are not properly ventilated19:14
+perlDreamerwhen someone cooks a board by accident, it exhausts out into the old test space where my cube is19:15
perlmonkey2I think there is a .gov agency that you can anon notify about that19:15
+perlDreamergot a URL handy?19:16
+perlDreamerBecause I'm close to cursing19:16
perlmonkey2And if you work for Intel, they have no excuse for not making their facilities safe, since they burnt AMD out of hte market.19:16
perlmonkey2Maxim.19:16
perlmonkey2no way19:16
+perlDreameryeah19:16
+perlDreamerI work for Maxim Integrated Products19:16
perlmonkey2hah, my cousins ex-wife was a metalurgist for them.19:16
+perlDreamerpoor guy19:16
perlmonkey2http://www.osha.gov/as/opa/worker/complain.html19:18
perlmonkey2burnt components mean lots of metals in the air :(19:19
+perlDreamerand volatiles19:19
perlmonkey2yeah, but those only cause cancer.19:19
perlmonkey2perlDreamer: I always thought that the right thing would be to file a complaint with the building manager.  But that might come back to haunt you.  So filing with Osha keeps your name away from your employer, while making sure something happens.19:22
perlmonkey2course I'm not 100% sure Osha makes you safe from your employer, so you might want to check into that if you thin they might retaliate.19:23
+perlDreamerwell, this channel is logged, and traffic not encrypted.  I'll consider my options19:23
perlmonkey2you need to set up that vpn to your home machine for all IM :P19:24
perlmonkey2or just a tunnel19:24
+perlDreamerI don't have a home server.  Probably need to fix that :)19:25
perlmonkey2No home server.  What about a hosted one?  You should see if rizen will hook you up on a VM at wG.  19:27
perlmonkey2I just realized that I'm not having problems with long waits for head checks, but all the included js and css are reloading every time.  Could it have something to do with this: noCache=689:1208448293; in the url?20:22
perlmonkey2I'd really like to know why my js and css is redownloading every time.  This is getting ridiculous.20:35
+perlDreamerI thought that noCache was for proxy caches, but I could be wrong.  It might affect your browser, too20:35
-!- perlmonkey2 [n=perlmonk@156.110.35.114] has quit ["Leaving."]20:46
Doc777When returning from a macro is there a way to escape the HTML maybe with "use CGI qw(:standard escapeHTML);"  ?  I would like to return a table  ;-)21:03
+perlDreamerMacros commonly return HTML and it doesn't need to be escaped.21:04
+perlDreamerunless you're talking about dangerous characters inside the HTML, and then, of course, you're expected to handle it yourself21:05
Doc777The problem I am having is simple things with the quotes <td bgcolor="#FFFFFF">  ending my line ;)21:07
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui21:08
-!- mode/#webgui [+o preaction] by ChanServ21:08
+perlDreameruse a different quote character21:08
-!- slickware [n=slick@c-76-119-132-119.hsd1.ma.comcast.net] has joined #webgui21:08
+perlDreamerq|<td bgcolor="#FFFFFF">|21:08
Doc777Will try that, thank you ;)21:08
+perlDreamerman perlop for more information on alternative quoting.21:08
Doc777That would save me a huge amount of escaping and would be better in everyway.21:09
slickwarehey all. anyone know if versions 6.X had the export-as-html utility that the new versions have got?21:09
slickwareor is there a quick/fast/easy way to do it21:09
+perlDreamerfast/easy/cheap, use wget to recursively crawl through your site and statically dump it21:10
slickwareoooo 21:10
slickwareI should have thought of that21:10
+perlDreamerupside: quick/fast/easy21:10
+perlDreamerdownside: no user protected content21:10
slickwarethat's fine... the main 2 clients I need to save asap don't use a lot of dynamic content21:10
slickwarethis server is going down faster than... well... insert your favorite mom joke here21:11
+perlDreameroy21:11
slickware:-D21:11
+perlDreamernewer versions of wG are much more stable than the 6.x series21:12
slickwarelol you can't convince me of that! If you remember our conversations the other day... mine has been running happily since 2003-200421:12
+perlDreamerwhat about the "server dying faster than..." comment then?21:13
slickwarethe drive is failling21:13
slickwareand i'd like to move them to the new 7.4 server... but I don' have time to do that massive upgrade path21:14
slickwarewhew, I never thought wget would save my ass. thanks PD21:21
@preactionapparently Sun is beginning to close-source portions of MySQL: http://developers.slashdot.org/article.pl?sid=08/04/16/2337224&from=rss21:27
slickwareok... any idea how to remove the "@noCache=215xxx" from the tail of every "page" when I wget them?21:31
slickwareis there a nocache option I have to turn off in webgui or something21:31
slickwareI disabled "prevent proxy caching"21:34
nubapreaction: oh crap21:36
@preactionyeah...21:37
nubai thought sun was going to do it right this time21:37
nubabummer21:38
-!- dionak [n=diona@97.66.185.250] has joined #webgui22:13
SquOnknuba: Sun hasn't had anything right regarding FOSS :-)22:20
-!- juan [n=juangui@201.232.58.66] has joined #webgui22:25
juani am working with Anonymous Registration Template Variables, so can i ask for an specific field in the template?22:26
juanfor examle one of my field required on registration is email22:26
-!- perlmonkey2 [n=perlmonk@156.110.35.114] has joined #webgui22:26
metanilwhich encryption is used to store password for webgui users? .. is it MySQL password function????22:26
juancan i ask for that field in a if sentence22:27
@preactionmetanil, look in WebGUI::Auth::WebGUI, it's base64 MD5 i think22:27
metanilany info which table does it store in database... i didn't see it in 'users' table?22:29
@preactionauthentication22:31
metanilis the field name is 'identifier'???22:35
juani am working with Anonymous Registration Template Variables, so can i ask for an specific field in the template?22:39
juanfor examle one of my field required on registration is email22:40
juancan i ask for that field in a if sentence22:40
-!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has quit ["Leaving"]22:42
-!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui22:46
-!- mode/#webgui [+o Haarg] by ChanServ22:46
-!- juan [n=juangui@201.232.58.66] has left #webgui []22:57
-!- rizenisaway [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit []22:58
-!- lisette [n=juangui@201.232.58.66] has joined #webgui23:00
+perlDreamerpreaction: Are we PostgreSQL bound?23:00
@preactionnot that i know of yet23:00
@preactioni mean, it's not reached epic proportions yet, but i don't like the precedent23:01
+perlDreamerYeah, I'm kind of fond of doing backups23:01
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui23:01
-!- mode/#webgui [+o rizen] by ChanServ23:01
+perlDreamerrizen: Any comments on Sun's recent moves to close parts of the MySQL codebase?23:02
@rizenthere's nothing to comment on. they aren't closing any existing part of mysql23:03
@rizenonly some new features23:03
lisettethe next variable <tmpl_var profile.formElement.label> show me the label for the fields in the registration template23:04
@rizenare getting panicy over there pd?23:04
@rizenpanic-ee23:04
@apeironpanicky, I believe.23:05
lisettei create one field in the user profiling called perfil23:05
lisettecan i ask with this variable if it is equal to perfil23:05
* perlDreamer jumps23:05
+perlDreamerwho?23:05
+perlDreamerme?23:05
+perlDreamerpanic?23:05
+perlDreamermaybe :)23:05
+perlDreamerrizen: much form test failage :(23:06
@rizeni'll fix it, just not now23:06
@rizeni don't care about tests today...just getting that stinking EMS done so i can move on23:06
-!- slickware [n=slick@c-76-119-132-119.hsd1.ma.comcast.net] has left #webgui []23:07
@rizen=)23:07
+perlDreamerlisette: profile.formElement.label is in the loop create.form.profile23:07
lisetteyes23:07
+perlDreamerif you want to do them one by one, kind of by name (actually id), then use create.form.profile.$id.formElement.label23:07
+perlDreamer$id is the id of the user profile field23:07
+perlDreamerlisette: Do you know how to look up template variables in the WebGUI help?  All this is documented in there.23:09
lisetteyes23:09
lisettefor example my field is called perfil23:09
lisetteso it will be create.form.profile.perfil_formId.formElement.label23:10
+perlDreamerI don't think that perfil is the id of the field.23:10
+perlDreamerwell....23:11
lisettelet's me check23:11
+perlDreameryes, it is.  It's the fieldName of the profile field.  This can be different from the label23:11
@rizenperlDreamer how is your throat?23:12
+perlDreamerraw23:12
+perlDreamerI went to the gym, and it still reeks in here when I came back.23:12
@rizenthat's some serious health concern23:12
+perlDreameryes23:12
+perlDreamerlike I said, this channel is logged and the IRC is not encrypted.  I'm considering my options.23:13
@rizenhere's an option for you: become independently wealthy, hire a really great butler for $250k per year, and fight crime at night23:14
+perlDreamernot a bad idea23:14
+perlDreamerI had a slightly different one23:14
+perlDreamerbecome independently wealthy, and then frequent coffee shops and work on WebGUI full time23:15
@rizenthat's pretty much the same thing, cuz people using anything other than webgui is a crime23:15
+perlDreamerexactamundo!23:16
+perlDreamerto quote The Fonz23:16
lisetteperlDreamer, the field that i created in the user profiling was a radio list23:17
lisettehas it a id, too?23:17
+perlDreameryes, it should still be the fieldName23:17
@rizenperlDreamer, the first person you should punish with your crimefighting ways is Haarg23:18
+perlDreamerwhy?  I like Haarg.  He rocks.23:18
@rizenhe uses MediaWiki and some other php BS for some side projects he works on23:18
@rizenand it gets worse23:18
@rizenhe actually switched away from something that was USING PERL to move to this crap23:18
lisettei am going to test23:18
@rizeni say that we string him up by his nipples and toenails until he switches it all to webgui23:21
+perlDreamerSounds too much like Richard Harris23:21
@rizenwhat do you propose we do to him?23:22
@rizenwe cannot let this blasphemy go unpunished23:23
+perlDreamerhttp://www.imdb.com/title/tt0066049/23:23
ckotilheh, that first image is brutal23:23
@rizensee i think that's a quite fitting punishment for his crime23:24
+perlDreamerif he switched to Microsoft, then I'd be all for it23:24
+perlDreamerbut he's still open source/free software23:24
@rizenthis side project even has a dedicated server, so he could totally run webgui for it23:24
+perlDreamerknowing Haarg, there must be a good reason he's not using WebGUI/perl for this project.23:24
SquOnkDrugs?23:25
@rizenyou are a terrible crime fighter23:25
+perlDreamerI prefer to give people the benefit of the doubt before posting their SSN to various discussion boards.23:25
@rizenyou can't let people get away with a crime just because you like them23:25
@rizeni happen to have both his SSN and DL# on file23:26
@rizensince he works for me23:26
@rizen=)23:26
@rizenSquOnk may be right, because he does seem to sleep a lot23:27
SquOnklol @ sleep a lot23:27
@rizenhe's all the way on the other side of the room right now, so i can't make it out exactly, but i think his pupils are dialated and his eyes are bloodshot23:28
@rizenbtw, pD, please welcome our newest dev team member SquOnk. he's officially got svn access now so we can count him23:30
SquOnkWell, thanks.23:31
* SquOnk working on the pod patch23:31
SquOnkThree files to go.23:31
@apeironDoes that mean we can abuse him too?23:39
@apeironSince I'm no longer new kid on the block and all?23:39
@rizenhe's not on staff apeiron, a community contributor23:39
@apeironawwww23:39
@rizenso you're still the new kid23:39
SquOnkHeh23:40
-!- mode/#webgui [+v perlmonkey2] by rizen23:40
+perlDreamerhowdy, SquOnk23:41
@apeironrizen, I just checked in the plugin method for complex assets like the CS and calendar. It's virtual, but it's called with everything it needs. Export path root for this asset, whether to be quiet, userID to export as, whether to be quiet, what to name index files.23:41
* perlmonkey2 is heady with power.23:41
SquOnkperlDreamer: Hi there23:42
@rizengreat apeiron23:42
-!- lisette [n=juangui@201.232.58.66] has quit [Read error: 104 (Connection reset by peer)]23:42
@apeironCIA should inform us shortly...23:42
+perlDreamerSquOnk: what are you hacking on in WebGUI?23:43
+perlmonkey2rizen: SquOnk you're in the same office as rizen?23:44
+perlmonkey2whups23:44
@apeironperlDreamer, He's working on the new world domination wobject.23:44
+perlDreamerThingy?23:44
+perlmonkey2that started as a message to rizen, and then after I backread the window, turned into a question to SquOnk.23:44
@rizenSquOnk is working on getting us into the official debian apt-get repository23:45
@apeironnooo, thingy is just there to distract the masses while we work on the world domination wobject!23:45
@rizenfor debian sid23:45
+perlmonkey2rizen: you might be happy to know the survey is about 95% feature complete and should go into a live beta tomorrow.23:45
@rizenwahoo!!!23:45
@rizenwhen does it get checked into svn head?23:45
+perlmonkey2yeah....it is nuts.  You can do increble things with it.23:45
+perlmonkey2ah.  I would have liked for it to have always been in svn as I don't trust my work to not try to steal it, so I don't use their svn, and my svn is a single, not backed up, cheapo sata drive.23:46
-!- SDuensin [n=Scott@84.sub-75-205-131.myvzw.com] has quit ["Leaving"]23:46
* rizen wonders if nuba will have the map asset done in time for 7.523:46
@rizenwell you can go ahead and put it in our svn now then23:47
@rizenyou could have had a branch in our svn before if you wanted it23:47
@rizeni just didn't think to offer23:47
+perlmonkey2heh, I didn't think to ask.23:47
+perlmonkey2I'll do that tomorrow as I'm about to get the latest up and running for testing at work, then ducking out early for some R&R.23:47
SquOnkI'm working on getting webgui into Debian. The target is Lenny, which would be the next stable release.23:47
@apeironSquOnk, As a heads up, we added Path::Class as a WebGUI core dep for 7.5.23:48
SquOnkAll the dependencies are there, and the package has been built. In fact I've been packaging webgui on my own for quite some time now, but just decided to get it into Debian.23:48
SquOnkapeiron: Already in Debian23:48
@apeironSquOnk, Okie.23:48
@rizenI think that SquOnk's work will have a big impact, because there will be a lot of debian users out there that can just use it right out of apt23:48
SquOnkThe last thing needed was proper manpages for all the utility scripts, so I'm working on adding PODs to them and use pod2usage to make then even nicer for the end user.23:49
SquOnkrizen: That's the idea.23:49
SquOnkAs it stands now, the only thing you need to do in order to get WebGUI up and running, is load the startup database.23:49
@rizenlooks like there's some big competition for Contributor of the Year this year23:50
SquOnkOnce the package is effectively in Debian's repository, I will add dbconfig support. Basically, it means the user can choose server, database name, database user and password...23:50
+perlmonkey2rizen: I can email you the code, but it won't have the db tables.  Just to have?23:50
+perlmonkey2but it is certainly not cleaned up23:50
@rizenpm2 why email it to me?23:50
@rizenare you putting it into svn tomorrow?23:50
+perlmonkey2it would probably be faster to just put it in svn than email it23:51
@rizenhehe23:51
+perlmonkey2I know I'm being paranoid about work, as they swore they were okay with it being GPL'd, but they have big plans for commercial addons.  A full customer relation management system and a wrapper to the survey to walk phone operators through taking the survey, which includes finding phone numbers, assigning them to operators, then walking through the survey.23:52
@rizenagain, the code relies upon webgui, which is gpl23:53
@rizenso it is gpl23:53
-!- jdanpl [n=jdanpl@xdsl-461.lubin.dialog.net.pl] has quit ["Leaving"]23:54
@preactionas long as they abide by the GPL, they can feel free to sell changes / add-ons23:54
+perlmonkey2preaction: heh, they'll just love that.  As long as they give it away for free they can sell it :P23:57
@preactionGPL != give away for free23:57
@preactionGPL == give source code and allow modification of source code23:58
@preactionyou can sell the source code. you cannot prevent redistribution of the source code23:58
@rizenbesides it doesn't sound like they have plans to distribute it23:58
@rizenit sounds like they have plans to build a business around it23:59
@rizena software as services model23:59
@preactionif they don't distribute, they need not release23:59
+perlmonkey2yeah.  he wants to use it as an advantage for his research shop over others, to improve his chances of receiving research grants.23:59
--- Day changed Fri Apr 18 2008
+perlmonkey2which isn't nefarious at all.  especially when he's managed to get me as much time as I need off my primary grant to work on this.00:00
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui00:00
@rizenexactly...and the survey engine itself won't be his advantage anyway...it will be all this other stuff00:00
+perlmonkey2I wouldn't work on the other stuff unless it was built around webgui.00:01
@rizencuz it's that other stuff that you can't get anywhere else. sure the survey engine might be a little better than most others that are out there, but the real differentiator has to be more than "marginally better"00:01
+perlmonkey2too much infrastructure is already there to not use it.00:01
+perlmonkey2I just can't believe those tools don't already exist in high quality.  But then again, I couldn't believe VSS was the primary source control for a majority of developers.00:02
-!- bopbop [n=kmccombs@71-90-131-140.dhcp.mdsn.wi.charter.com] has quit []00:03
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit ["Exit- stage left"]00:05
@rizenhehe00:07
@apeironwas? Is still, no?00:08
+perlDreameroh, yeah.  Of course.  SquOnk.  I've talked with you before.  Sorry for spacing on that.00:22
+perlDreamerI've had so much work to do today that I've hardly had time for fun stuff :)00:23
@rizenSquOnk, is there any chance you are coming to the WUC this year?00:25
@rizenWould be cool to have all the people up for Contributor of the Year in attendance.00:25
SquOnkrizen: Where will it be and when?00:28
+perlDreamerMadison, Wisconsin, August 27-2800:28
@rizenwebgui.org/wuc00:29
SquOnkCould be. The University will be on vacation for sure...00:29
SquOnk...now, ME being on holiday, a different issue altogether :-)00:30
@rizenIf you're looking to come in cheap, there is a Hostel 4 blocks from the convention hotel.00:30
-!- dionak [n=diona@97.66.185.250] has quit []00:39
+perlmonkey2hostel....I saw that movie.  I won't be staying there.00:40
* perlmonkey2 prefers the Hilton.00:41
+perlDreamerjust don't think yer hooha, and you'll be fine00:41
-!- SquOnk [n=emhn@201.211.84.218] has quit ["Yippie kay-ai-yay fudder muckers!"]00:42
-!- perlmonkey2 [n=perlmonk@156.110.35.114] has quit ["yay, 95% feature complete"]00:47
-!- dionak_ [n=diona@97.66.185.250] has joined #webgui00:48
CIA-1WebGUI: chrisn * r6161 /WebGUI/lib/WebGUI/AssetExportHtml.pm: 01:03
CIA-1WebGUI: A few more fixes, mostly POD. Add an exportCheckPath call to01:03
CIA-1WebGUI: exportGetUrlAsPath.01:03
CIA-1WebGUI: chrisn * r6162 /WebGUI/lib/WebGUI/AssetExportHtml.pm: 01:03
CIA-1WebGUI: Rearrange a couple of lines in exportAsHtml to only get the exportPath if we01:03
CIA-1WebGUI: know it's valid.01:03
CIA-1WebGUI: jt * r6163 /translations/Spanish/ (8 files in 2 dirs): update_from_translation_server01:03
CIA-1WebGUI: chrisn * r6164 /WebGUI/lib/WebGUI/AssetExportHtml.pm: 01:03
CIA-1WebGUI: Add a virtual method plugin point, exportAssetCollateral, for complex assets01:03
CIA-1WebGUI: (like the CS and the calendar) to override and specify how to export all of01:03
CIA-1WebGUI: their different data.01:03
CIA-1WebGUI: colin * r6165 /branch/WebGUI_Commerce/t/Form/Email.t: add another email address for validation check01:03
CIA-1WebGUI: chrisn * r6166 /WebGUI/lib/WebGUI/AssetExportHtml.pm: fix a small scope bug01:03
CIA-1WebGUI: colin * r6167 /WebGUI/t/Form/Email.t: side port new email address test01:03
+perlDreamerCIA-a pukes01:03
-!- dionak_ [n=diona@97.66.185.250] has quit [Read error: 110 (Connection timed out)]01:08
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has quit ["Lost terminal"]01:19
@rizenperlDreamer, i've decided that you should stay at the Mansion Hill Inn when you come to madison01:19
@rizenhttp://www.mansionhillinn.com01:19
@rizenBecause they have "Rose Petal Turn Down Service"01:19
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui01:20
-!- mode/#webgui [+o apeiron] by ChanServ01:20
+perlDreamerAre you nuts?01:22
+perlDreamerYou'd send me to a hotel that has a PHP based website?01:22
+perlDreamerWhat're you thinking?01:22
@rizenUnfortunately not a single hotel in Madison uses Perl01:23
@rizenit's very sad.01:23
+perlDreamerOkay, it's time to mount a campaign.01:24
+perlDreamerThe Ruby Marie must be converted to use WebGUI01:24
@rizenOn another note though, there are over 50 businesses in Madison that hire Perl developers.01:24
+perlDreameror you have to move01:24
@rizenI'm sure they'd convert if I gave them a free web site. =)01:24
+perlDreamerswap them01:26
+perlDreamerrooms for extra WUC guests in exchange for a piece of Steve for conversion/redesign and hosting01:26
@rizenHoly crap the Madison Hostel is nice.01:28
@rizenI never knew.01:28
@rizenAnd it's super cheap too.01:28
+perlDreamerWill the next WUC be there?01:28
@rizenIt costs only $25 per ight01:28
@rizennight01:28
@rizenno, but it's only 6 blocks from the conference hotel01:28
@rizen0.2 of a mile01:28
-!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"]01:41
@rizenyay i've finally recovered from my template deletion01:44
@apeironhurrah!01:47
@apeironrizen, How'd you manage, if not rote duplication of work?01:47
CIA-1WebGUI: graham * r6168 /branch/graham-experimental: work area for new features01:51
CIA-1WebGUI: jt * r6169 /branch/WebGUI_Commerce/ (3 files in 3 dirs): ems back to a working state01:51
CIA-1WebGUI: doug * r6170 /WebGUI/ (10 files in 7 dirs): added more vars to GalleryAlbum and GalleryFile. fixed some tests02:14
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI02:15
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has quit ["Download Gaim: http://gaim.sourceforge.net/"]02:19
CIA-1WebGUI: doug * r6171 /WebGUI/docs/ (3 files in 3 dirs): fixed thumbnails.js to be more styleable02:52
-!- ascii [n=ascii@64.234.60.83] has joined #webgui03:28
CIA-1WebGUI: jt * r6172 /translations/French/French/Asset.pm: update_from_translation_server03:36
-!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui03:49
-!- mode/#webgui [+v Radix-wrk] by ChanServ03:49
CIA-1WebGUI: doug * r6173 /WebGUI/ (3 files in 3 dirs): GalleryFile now sets Album thumbnail if Album doesnt have one03:59
CIA-1WebGUI: doug * r6174 /WebGUI/t/Asset/File/GalleryFile/Photo/edit.t: added WWW::Mech tests for Photo, which do not work because File upload controls require JavaScript03:59
-!- plainblack [n=plainbla@12.176.192.138] has joined #WebGUI04:00
-!- plainblack [n=plainbla@12.176.192.138] has left #WebGUI []04:00
-!- tavisto [n=plainbla@12.176.192.138] has joined #WebGUI04:01
-!- tavisto [n=plainbla@12.176.192.138] has left #WebGUI []04:03
-!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui04:16
-!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: CIA-104:21
-!- Netsplit over, joins: CIA-104:22
-!- Netsplit over, joins: ckotil04:23
-!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has quit []04:34
-!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui04:40
-!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has left #webgui []05:01
Doc777When writing a macro how can I tell if the user is an admin and show them something extra?05:21
-!- ascii [n=ascii@64.234.60.83] has quit ["leaving"]05:22
@preactionDoc777, admin users are in groupId '3'05:23
@preactionyou can check if admin mode is on by checking session->var->isAdminOn05:23
Doc777Thanks preaction, I will test this out ;)05:31
-!- f00li5h [n=f00li5h@unaffiliated/f00li5h] has joined #webgui05:33
* f00li5h meows05:33
Doc777How should this line be written to detect an admin. This one does not work ;):   if ($session->user->canUseAdminMode) {05:54
@preactionDoc777, user->isInGroup( '3' )05:56
Doc777will test that, thanks!05:58
-!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: SDuensin, @rizen, GooeyOfSteel, diakopter, @apeiron06:45
-!- GooeyOfS1eel [n=puppetma@hq.imaterial.org] has joined #webgui06:45
-!- diakopte1 [n=diakopte@209.9.237.164] has joined #webgui06:45
-!- Netsplit over, joins: SDuensin06:45
-!- perlDreamer [n=colink@pool-71-117-250-89.ptldor.fios.verizon.net] has joined #webgui06:55
-!- mode/#webgui [+v perlDreamer] by ChanServ06:55
-!- perlDreamer [n=colink@pool-71-117-250-89.ptldor.fios.verizon.net] has quit ["Leaving."]07:41
-!- ryuu_ro [n=rory@194.171.50.69] has joined #webgui08:43
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui08:49
-!- mode/#webgui [+o apeiron] by ChanServ08:49
metanilhow can i get multiple column values in variable using ---> $session->db->buildArray('select col1, col2, col3.....query... ');?09:08
metanil(anybody still alive?)09:10
@apeironmetanil, You mean multiple placeholders? buildArray takes an arrayref after the SQL string, put your placeholders there.09:20
metanilmy @queryresult =  $session->db->buildArray('select col1, col2, col3.....query... '); will work09:22
metanilapeiron: then  this will work  ---> my @queryresult =  $session->db->buildArray('select col1, col2, col3.....query... ');09:22
@apeironmetanil, Then I must've misunderstood what you were trying to do.09:22
metanili want to get col1 .. col2 and col3 using queryresult in this case.09:23
@apeironah, and store the return in @queryresult then.09:24
@apeironmetanil, I thought you wanted to pass multiple placeholders into the query, my mistake. :)09:24
@apeironThat's a sign I should probably get to bed.09:24
metanilapeiron: :D09:24
@preactionso after weeks and hours of time spent trying to get OpenBSD to run the WRE and be my test box, I switch to Debian and get it working in 2 hours09:25
@preactionlet's hope it stays working...09:25
-!- apeiron changed the topic of #webgui to: [ WebGUI 7.4.32-stable / 7.5.10-beta | WRE 0.8.3 ] Before you ask, check the wiki: http://wiki.webgui.org | Pastebin: http://webgui.pastebin.com/ | Find JT and PB at YAPC::NA, buy tickets now! http://conferences.mongueurs.net/yn200809:27
metanil $execquery = $session->dbSlave->query($myquery); .. and then while (@results = $execquery ->fetchrow()) {...  .. will that do??09:28
@preactionmetanil, try my $sth = $session->dbSlave->read( $query ); while ( my $row = $sth->arrayRef ) { push @results, $row; } <- or something similar09:30
@preactionthe WebGUI::SQL::ResultSet is quite nice imho09:30
metanilgreat!09:31
-!- Radix-wrk [n=Jesse@203.161.68.67] has quit ["Leaving"]10:05
-!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui10:29
-!- mode/#webgui [+v Radix-wrk] by ChanServ10:29
-!- Radix-wrk [n=Jesse@203.161.68.67] has quit ["Leaving"]11:43
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 113 (No route to host)]11:47
-!- AMH_bo1 [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui12:57
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui13:56
-!- mode/#webgui [+o preaction] by ChanServ13:56
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has quit ["Leaving"]14:19
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Connection timed out]14:40
-!- Dadok [n=tickitim@148.202.dsl.syd.iprimus.net.au] has joined #WebGUI14:49
Dadokhey guys14:49
ryuu_roGreetings14:49
Dadokcould someone tell me how to allow (or restrict) different groups to the group mail feature (as in, only certain groups can send mail to other groups)14:50
Dadokis it possible14:51
Dadok?14:51
ryuu_roWhat we did to prevent certain groups from viewing some navigation button, is using the grouptext macro to hide them14:53
ryuu_robut i'm not sure if you can disable the mail functionality for groups14:54
Dadokwait, can every group email any group?14:54
Dadoki thought it was an Admin only feature14:55
Dadokfor CS mail, does it use pop or imap?15:42
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui15:49
-!- mode/#webgui [+v perlmonkey2] by ChanServ15:49
DadokAnd is it possible to connect to pop/imap via SSL?16:00
-!- diakopte1 is now known as diakopter16:07
-!- SDuensin [n=Scott@250.sub-75-204-144.myvzw.com] has joined #WebGUI16:17
SDuensinMorning.16:24
Dadokgood morning16:31
Dadokyou wouldnt happen to know whether email submissions for Collaboration Systems use pop or imap would you? :)16:32
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui16:33
-!- mode/#webgui [+o rizen] by ChanServ16:33
Dadokrizen!16:34
@rizenDadok!16:37
Dadokyou wouldnt happen to know whether email submissions for Collaboration Systems use pop or imap would you? :)16:37
Dadokand if it's possible to use imap/pop3 ssl...16:38
+perlmonkey2A16:40
+perlmonkey2hello16:40
@rizenpop16:40
@rizenno it doesn't support pop over ssl16:40
Dadokshucks16:40
@rizenyou can if you like submit an rfe for that16:40
Dadokmaybe ill add that to the RFE16:41
Dadokgood thinking16:41
Dadokso that counts out gmail accounts, dannnnng16:41
+perlmonkey2or a patch?  shouldn't be too difficult to add tls?16:41
Dadoki would have no idea how to do it16:43
-!- rizen_ [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui17:20
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit [Read error: 113 (No route to host)]17:20
+perlmonkey2How much would i have to pay to get an out of state perl/java ninja with proven chops in the NLP department ot move to Oklahoma?  100K?17:21
rizen_why does it require an out of state person?17:22
-!- rizen_ is now known as rizen17:22
-!- mode/#webgui [+o rizen] by ChanServ17:22
@rizenin my opinion no developer is worth 100k17:23
+perlmonkey2hah, but you are an employer, of course you don't :P17:23
@rizeni'm also a realist17:24
@rizenit workers in the US wonder why their jobs are being shipped to india17:24
@rizenyet they all want six figure salaries17:24
+perlmonkey2no one in my professional network whom I consider to be good enough to do the job has even blinked an eye at 75K, which is the number I was floating around them.17:24
+perlmonkey2most of them were already making 75K, to my surprise.17:24
@rizeni don't doubt it at all17:25
+perlmonkey2some were making that in backwoods cities in OK.17:25
@rizenwhat you are making and what you are worth are two different things17:25
+perlmonkey2Plus, if I go fishing outside of my personal network, I have no real way of evaluation except for multiple interviews.17:25
@rizeni'm all for developers making 6 figure salaries as long as they can pull it off...go for it. but there will come a time in the not to distant future that they'll be roaming the bread lines17:26
+perlmonkey2I'm just tring to figure out what I need to get another person who can do computational linguistics and Gets Things Done (TM).17:27
@rizenpost on jobs.perl.org 17:28
@rizenand post at your original 75k17:28
@rizenyou'll get lots of resumes17:28
+perlmonkey2the job isn't open yet, I'm putting together a document for how to go about it.17:28
@rizenand tell them they also need to be proficient in java17:28
+perlmonkey2yeah, the lots of resumes is the problem.  People ham them up so much, you can't tell the wheat from the chaff.  I'd much rather hire from my network of people I trust.17:29
@rizenfor that matter...if they're allowed to telecommute, you can cut the salary by about 20%, because devs love to telecommute17:29
@rizenthat limits your scope to virtually nothing17:29
@rizenplus, just because you know them, doesn't mean jack about how good they'll work for you17:29
+perlmonkey2yeah....maybe 2 degrees of seperation of trust might net me 20-30 candidates17:29
+perlmonkey2by that I mean, the people I trust asking the people they trust.17:30
+perlmonkey2yeah17:30
@rizenagain, personal references are worthless17:30
@rizenand so are resumes17:30
+perlmonkey2you think?17:30
@rizenthe only way to truely vet a candidate17:30
+perlmonkey2the people I know, I *know* they are ninjas.17:30
@rizenis have them take a test17:30
@rizenand then interview them about the results17:30
@rizenpm2, you're missing the point17:30
@rizenninja is also worthless17:31
+perlmonkey2I'm more interested in their ability to learn new things.  We're out on the edge here.  For instance I'm putting into production things that are brand new topics in the latest ACL journal.17:31
+perlmonkey2ninja is worthless?17:31
@rizenunless the ninja can do the job, work within the resources you have, work well with the people you have, etc17:31
+perlmonkey2bah...this is too complicated.  And doing all this research I found out that I'm way underpaid for what I'm doing :P17:32
@rizeni'd take average programers over ninjas every day of the week, because ninjas almost always want to do it their way, and rewrite everything every 3 months or sooner17:32
+perlmonkey2all my peers work half my hours and make 10's more.17:32
+perlmonkey2rizen: hah, tha tis true17:32
+perlmonkey2all the ninjas I know can't stand it to be done anyway but their own.17:32
@rizenunless you're looking for someone to rewrite everything and and work alone, i'd say you're not looking for a ninja17:33
@rizendon't get me wrong, ninjas have their place17:33
@rizenthey are great for startups to get you off the ground17:33
@rizenbut for day to day programming, i'd take a regular programmer over a ninja every single time17:34
-!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui17:34
-!- mode/#webgui [+o Haarg] by ChanServ17:34
+perlmonkey2Yeah, I'm thinking we just need to grab a graduate student from our CS department who has had some NLP experience and let them help out.17:35
Dadoki could probably send you some undergrad students that are interested in startups and know a lot about NLP if you want, haha17:35
+perlmonkey2undergrads who know about NLP?17:37
+perlmonkey2Dadok: what school is teaching NLP in undergrad?17:37
+perlmonkey2And I'm not talking about a single course where they implemented a toy POS tagger.17:37
DadokOh a couple of my friends did some summer research with profs for it.17:37
DadokPomona College17:37
Dadokhaha17:37
Dadoki know17:38
Dadokyou'd probably be better off with your grad students though17:38
+perlmonkey2We'll probably end up just grabbing a young'n.  But my boss wanted to know what it would take to get the types of ninjas our .gov contractor sends us.  I'm like, those guys take home $5k a week.  That is what it takes.  Oh yeah, the the giant HR department to weed them down to the best.  Oh and the rest of the giant corporation for the new hires to work and prove their skills to get promoted to that position.17:39
+perlmonkey2And even then, those developers were just really good, but not what I'd call super hackers like you might find in the CPAN authors list.17:41
+perlmonkey2doh, I'm going to be late for my 10....catch you all late.r17:41
Doc777Will anyone please tell me why this line will not work:   if ($session->user->isInGroup( '3' )) { print "They are an admin!" };17:51
Doc777In a macro I might add...17:52
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [Connection timed out]17:58
Dadokcan you provide more of the function it's in?18:03
Dadokwhere do you initialize $session?18:03
Dadoksorry... Are you initializing $session?18:03
@rizenDoc777, you can't print, you must "return" the message18:04
@rizenwhen you are in a macro18:04
-!- bopbop [n=kmccombs@71-90-131-140.dhcp.mdsn.wi.charter.com] has joined #webgui18:07
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui18:07
-!- mode/#webgui [+o preaction] by ChanServ18:07
Doc777Ah, I was trying to check if someone is an admin and show them a link to something basically.18:08
@rizenthat's fine, but whatever output you want you must return it rather than printing it18:08
Doc777Can I set a var to true or false to check later in the macro somehow?18:09
Doc777I have the macro successfully returning a table from a DB. I wanted to check if they are an admin and display an edit link. But a line like this breaks the macro:  if ($self->session->user->isInGroup(3)) { my $test = 'Yes'; };18:14
Doc777I am thinking maybe the $session is not initialized as Dadok said... All I have is my ($session,$statement, $format,$dblh); to do with session ;)18:15
DadokIm fairly certain you need to initialize $session (though I'm not the best person to be responding to this), is this in the process function?18:16
@preactionDoc777, there should be no $self in the macro. macros are not objects and are not instanciated18:16
-!- AMH_bo1 [n=bob@alphamega-dmp.xs4all.nl] has quit ["Leaving."]18:17
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui18:19
@rizenuse the pastebin link to paste the code of your macro18:19
CIA-1WebGUI: jt * r6175 /branch/WebGUI_Commerce/lib/WebGUI/ (5 files in 2 dirs): some form fixes18:19
CIA-1WebGUI: jt * r6176 /WebGUI/lib/WebGUI/ (5 files in 2 dirs): merging form fixes18:19
Doc777Dadok, yes it is.18:19
Doc777Thank you preaction, will test this.  18:19
-!- ryuu_ro [n=rory@194.171.50.69] has quit []18:20
Dadokhas anyone else found webgui to be incredibly memory intensive?18:21
Doc777Well, found my server here comatosed this morning with spectre using 700 meg of RAM so ya ;)18:22
@rizenwhat do you mean by "incredibly"18:22
Dadoktrying to figure out if that's what's going on with my server having 3mb left, haha18:22
@rizenthe only way spectre uses that much ram is if it's throwing errors and you aren't fixing them18:22
@rizenspectre, when configured properly18:23
@rizenonly uses about 15-30mb of ram18:23
Dadokok18:23
Dadokthat helps to know, actually, thanks18:23
Doc777Better check it Dadok as that was what ate my memory up  ;)  (yea, I found out it was spectre in the logs )18:23
@rizeneach apache process, using the default webgui/wre configuration should use between 50 and 100mb of ram18:23
Dadokare modperl modproxy mysql and spectre all considered 4 different apache processes ? :)18:25
Dadokwoops, apache, nm18:26
Dadokman it's late18:26
@rizenspectre isn't apache18:27
@rizenit's stand alone18:27
@rizenwith the default configuration of the wre, your processes should look like this:18:28
@rizenspectre: 15-30mb18:28
@rizenmysql: 300-500mb18:28
@rizenmodproxy: 3-7mb (per process)18:28
@rizenmodperl: 50-100mb (per process)18:28
Dadokwoah18:29
@rizenif you're seeing things outside of that scope, then there's likely a configuration issue somewhere18:29
Dadokis it typical for mysql to take that much?18:29
@rizenmysql can take a lot less than that if you want it to...but it is a busy beaver18:29
@rizen=)18:29
Dadokyeah18:29
@rizenmost of that 300-500mb is memory it uses to cache queries and indexes18:30
@rizenwhich speeds up performance18:30
Dadokyeah18:30
@rizenif you're running a relatively small site thne it may use less memory18:30
Dadokhow do you set the max on that?18:30
@rizenedit the config options in /data/wre/var/my.cnf18:30
-!- lisette [n=liraos@201.232.58.66] has joined #webgui18:30
lisettehow long is the field user in webgui?18:31
@rizenwe have some clients with busy sites that give mysql 16gb of ram18:31
DadokWOW18:31
@rizenof course there you're talking millions of page views per day18:32
@rizen=)18:32
Dadokso it's basically 300-500mb per SITE then since it's mostly cache right? (sorry im new to hosting/design)18:32
@rizennot per site18:32
@rizenper server18:32
Dadokhmm18:32
@rizenwebgui is a server beast, unlike most php systems18:32
@rizenso the amount of ram it uses is roughly the same no matter how many sites you put on your server18:32
@rizenyou can run 1 or 1000 sites with the same amount of ram18:33
Dadokhmmm.... but if most of the mysql RAM usage is cached requests...18:33
Dadokwouldnt they be unique for each site?18:33
@rizenall that matters is the number of page views across all sites combined18:33
Dadokor am I looking at this on the wrong scope...18:33
@rizenyeah, but the amount of caching needed is very small per site18:34
Dadokah, so the amount of ram mysql uses is pretty much directly related to the amount of content viewed then over all sites?18:34
@rizenno, the amount of ram mysql uses is directly related to what you set in my.cnf18:35
@rizenthe length of time stuff stays in the cache is directly related to how often it is requested18:36
Dadokah, gotcha18:36
Dadokapache is using up 74.8% of the ram18:42
Dadokspectre 5%18:42
Dadokany common diagnoses for this problem?18:42
Dadokother than DOS attacks, haha18:42
Doc777Friends, I am new to webgui am probably overlooking something simple here. But my macro works great until I add a line like: if $session->user->canUseAdminMode; { my $test = 'Yes'; };  After that the macro will not load at all. Above it I have: my $session = shift;  Any ideas how I can rewrite this line to work or point me to a macro that checks for an admin? Thanks! 18:44
@preactionapache processes should be taking about 70-90M each. if you're using the WRE, it uses Apache2::SizeLimit to ensure that. if it's taking too much RAM, consider lowering MaxClients, MinSpareServers, MaxSpareServers, and StartServers18:45
@preactionDoc777, paste your entire macro into http://webgui.pastebin.com and give us the link to it18:45
Doc777Well, I can try. but the macro is about 120 lines of stuff that is irevelant. It works great as long as I comment out that one line. ;)18:46
-!- dadok1 [n=tickitim@26.185.dsl.syd.iprimus.net.au] has joined #WebGUI18:49
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has joined #webgui18:54
-!- mode/#webgui [+v perlDreamer] by ChanServ18:54
-!- dadok1 [n=tickitim@26.185.dsl.syd.iprimus.net.au] has quit []18:55
+perlDreamerrizen: we're booked all the way to Mad-city for the WUC18:55
@rizensweet, did you go rail/bus or plane?18:55
+perlDreamerplane18:55
+perlDreamervacation time from $dayJob is too costly18:55
@rizenunderstood18:55
+perlDreamerLast night, I told the kids that you ate children for breakfast.18:56
@rizenyou should work some place that you have unlimited vacation time18:56
@rizen=)18:56
+perlDreamerTim says, "No he doesn't"18:56
@rizenyes i do18:56
+perlDreamerPeter said, "Wow.  That makes him a cannonball."18:56
@rizenhehe18:56
+perlDreamercannonballs are plain and black, so I agreed18:56
@rizeni especially love the tender livers of small children18:56
@rizenand you can make good sausages using their intestines18:57
+perlDreamerbut they take so long to wash18:57
+perlDreamerDid you feel the quake this morning?18:58
bopbopI felt the quake- woke up to Ryan's closet doors trembling19:02
@rizeni would love to say i felt it, but i didn't19:02
@rizenbut bopbop lives about 30 miles south east  of me so she has a much better chance of feeling it19:03
bopbopwith Ryan in the room I kind of chalked it up to other "trembles" :)19:03
-!- Dadok [n=tickitim@148.202.dsl.syd.iprimus.net.au] has quit [Read error: 110 (Connection timed out)]19:03
@rizenhehe19:04
@rizenwahooo!!!!!!19:05
@rizenthe forms rewrite solved the problem i was having19:05
+perlDreamercool!19:05
@rizen2.5 days not-wasted19:05
CIA-1WebGUI: jt * r6177 /branch/WebGUI_Commerce/lib/WebGUI/Form/ (SelectSlider.pm CheckList.pm List.pm): more form fixes19:06
CIA-1WebGUI: jt * r6178 /WebGUI/lib/WebGUI/Form/ (CheckList.pm List.pm SelectSlider.pm): merging more form fixes19:06
+perlDreameralso, the boys last night decided that Gooey has a twin brother named Octopi19:07
@rizenis that the one on that restaurant?19:10
@rizen=)19:10
+perlDreamercould be.  I'll keep you informed of any interesting developments.19:11
+perlDreamerOh, they also wanted to make signs for your OSCON booth, but we let them know that you already had signs19:11
+perlDreamerand a chair sized pile of Gooey's19:11
@rizenactually at oscon it will be a pile of gooeys bigger than both of them19:12
@rizencombined19:12
@rizen1000 gooeys19:12
+perlDreamerWe're going to need pictures of that one.19:12
-!- lisette [n=liraos@201.232.58.66] has left #webgui []19:12
+perlDreamerI have to use plone at $dayJob.   I feel so dirty.19:12
@rizenis it really that bad?19:12
-!- estiven [n=estiven@201.232.58.66] has joined #webgui19:13
@rizeni tried it once and it seemed ok19:13
@rizenother than that you had to drop to the lower database interface to do any admin level functions19:13
+perlDreamerIf you want to download a file, you have to click on the name of the file19:13
@rizencuz the plone interface didn't expose most of it19:13
+perlDreamerthat takes you to a second screen where you can actually download the file19:13
+perlDreamerThe content management screen (ala ?func=edit) is very non-intuitive.19:13
+perlDreamerIt took two of us 10 minutes to figure out how to give me editing privileges to a page19:14
@rizenyou know, you should write a small compare contrast of plone vs webgui and submit it to newsforge or something19:15
-!- lisette [n=juangui@201.232.58.66] has joined #webgui19:15
@rizensince you have good working knowledge of both of them19:15
+perlDreamerright now, it would be pretty small, but I'll think about it.19:16
lisettei have terrible problem with one of my sites19:17
lisettewhen a user open the site, he or she found a session opens from another user19:19
lisetteso he can navigate with the session of other user19:19
@rizenadmin console > settings > miscellaneous > prevent proxy caching > yes19:20
lisettethe thinks is  i am using ldap with this site and another site and both sites occurs the same19:21
lisetterizen, i have already done that19:22
lisetteand the problem continues19:22
@rizenpurchase a support agreement and contact support19:22
lisettereally i don't know what is the problem19:22
-!- bopbop [n=kmccombs@71-90-131-140.dhcp.mdsn.wi.charter.com] has quit [Read error: 113 (No route to host)]19:28
CIA-1WebGUI: colin * r6179 /branch/WebGUI_Commerce/lib/WebGUI/Shop/ (PayDriver.pm Pay.pm): fix POD whitespace19:28
-!- bopbop [n=kmccombs@71-90-131-140.dhcp.mdsn.wi.charter.com] has joined #webgui19:29
-!- Doc777 [n=Doc@10.187-available-ethint-fratm-cc.sccoast.net] has quit [Read error: 113 (No route to host)]19:36
-!- Doc777 [n=Doc@10.187-available-ethint-fratm-cc.sccoast.net] has joined #webgui19:36
-!- GooeyOfSteel [n=puppetma@hq.imaterial.org] has joined #webgui19:41
-!- GooeyOfS1eel [n=puppetma@hq.imaterial.org] has quit [Read error: 104 (Connection reset by peer)]19:44
CIA-1WebGUI: colin * r6180 /branch/WebGUI_Commerce/lib/WebGUI/Shop/ (AddressBook.pm Ship.pm Pay.pm): fix empty POD complaints from PodChecker19:50
-!- lisette [n=juangui@201.232.58.66] has quit ["Leaving."]20:16
-!- lisette [n=liraos@201.232.58.66] has joined #webgui20:17
lisettehow to do to insert into a table from a javascript, i can do with the macro SQL?20:19
+perlDreamerThe SQL macro is only for selects, shows and describe only.20:21
lisettemmm then i can't do this?20:22
* perlDreamer suggests looking for javascriptDreamer, since he's out of his depth :)20:23
lisettebut, i know that javascript can't connect with a database.20:25
lisetteperhaps with ajax, but i don't know20:25
+perlDreameryo tambien20:25
lisetteyo tampoco20:26
+perlDreamerCual es la differencia entre "tambien" and "tampoco"?20:26
lisettetambien is and affirmation, tampoco is a negation20:28
lisettees este caso, se dice tampoco, porque no sabes ajax, igual que yo20:28
lisettesi el caso fuera que yo supiera ajax y tu tambien, entonces sera tambien20:29
lisetteyou understand me?20:29
+perlDreamerSi20:29
+perlDreamerNecesite un momento para recordar supiera (caso condicional), pero, si20:30
lisettesupiera = know in the pass20:31
+perlDreameren el pasado (past) ?20:32
lisetteeso20:32
lisettepast20:32
lisettesorry20:32
+perlDreamerIt's alright.  We're both learning each other's languages.20:33
+perlDreamerPero, habla ingles major que yo hablo espanol.20:33
+perlDreamerYou should be thankful we're not doing this in German.20:33
lisettethanks20:33
lisetteyo tampoco20:34
+perlDreamerMeine Deutsch ist zehr schlecht.20:34
+perlDreamer"My German is really bad"20:34
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui20:34
-!- mode/#webgui [+v perlmonkey2] by ChanServ20:34
+perlDreamerNecesito aprender javascript.20:37
+perlDreamerOjala que si hay una clase en el WUC este ano.20:38
lisetteojala haya una clase en el WUC este año.20:42
-!- diakopter is now known as diakopte121:15
-!- diakopte1 is now known as diakopter21:16
+perlmonkey2you both said ano21:26
+perlDreamerperlmonkey2: check your character set.  lisette had an "n with tilde"21:26
+perlmonkey2yeah, I saw that.  I was making a 13 year old scatalogical joke.21:27
+perlmonkey2not that the joke was 13 years old, but the type of humor was for a 13 year old.21:27
+perlDreamerThat's good.21:27
* perlDreamer didn't remember 1995 as being different, scatalogically, from other years21:28
+perlDreamerSo how's life in Survey-beta?21:28
+perlmonkey2ano, is close enough to anal, that beavis and butthead would make the connection.21:28
+perlmonkey2I'm fending off feature requests elft and right and on the finish line for having all functional features.  Knocked off two more after lunch and just have 3 more to do.  Whole morning wasted in meetings though.21:29
+perlDreamerVery cool.21:29
-!- topsub [n=josh@97.66.185.250] has joined #webgui21:30
@rizenpm2, have you checked in to svn yet?21:33
@rizenyou should do so before your hard drive goes kaboom21:33
@apeironOr before your tab complete on a cp or mv command betrays you. :)21:37
+perlDreameror rm21:38
+perlmonkey2rizen: nope.  They want me to finish up the responses so that they can allow themselves to take a survey multiple times so they can test without having to mysql querybrowswer open to delete reponses.21:38
+perlmonkey2after that I'll figure out how to add a branch to svn for just the survey stuff.21:38
+perlmonkey2or do I have a create a complete wG branch of all the code?21:38
@rizenhttps://svn.webgui.org/plainblack/branch/WebGUI_Survey221:40
@rizenthe branch is there and waiting for you to add your code21:41
+perlmonkey2groovy21:41
@rizeni think you should spend 5 minutes and check it in....better than spending the rest of your life hating yourself for not21:41
@rizenafter something bad happens21:42
+perlDreamerlike losing 1.5 days of work when you nuke your templates21:42
+perlmonkey2It will take me 5 minutes to add random branching and then I'll put the code into svn.21:43
+perlmonkey2and you might laugh at random branching.  And so would I.  You might ask, who the frak would want such a thing.  And so would I.  21:43
+perlDreamerwhat is random branching?21:43
+perlmonkey2But it is there for the crazy people who want it.21:43
@preactioni can see use for it21:43
+perlmonkey2you give a list of questions that a answer can branch to.  If that answer is chosing, a random question from the list is chosen.21:44
@preactiona marketing survey that shows the user a different part of the survey each time they go through it21:44
+perlmonkey2chosen21:44
@rizenpreaction can see a need for everything21:44
@preactionjust about21:44
@rizenespecially mixins21:45
+perlDreamermmmmmm... mixins21:45
+perlDreamerwe really do need mixins21:45
@rizenonly if there's cake21:45
+perlmonkey2rizen: you told me what a mixin was before, and I still don't grok it.21:45
@rizenor better yet, pie21:45
-!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has quit ["Leaving"]21:45
* rizen loves pie21:45
+perlDreamerwhat kind of pie?21:45
@preactionit's a way to add methods to a class without inheriting from it21:45
@preactionkinda21:45
+perlmonkey2precan vs. apple.  ultimate showdown.21:45
+perlDreamerperlmonkey2: think traits21:46
@rizenapple wins every time21:46
@preactiontraits, yes21:46
+perlDreameror, "does" versus "isa" relationships21:46
@rizenespecially dutch apple pie with a side of vanilla ice cream21:46
+perlmonkey2every time?  I think it depends on if ice cream is also served.21:46
+perlDreamerFor breakfast on Sundays21:46
+perlDreamerfor example, dogs bark.  So do seals.21:46
@preactionwhy is dutch apple pie the best apple pie if apple pie is american?21:46
+perlDreamerthat's why duck typing is so unreliable21:46
@rizenit just is preaction, it just is21:47
@apeironer, apple pie *isn't* American. :)21:47
@preactionbut then every time i said "as american as apple pie" i was lying21:47
@preactionthis throws every conversation i've ever had into question21:47
@rizenoh and one more thing, the largest farmers market in the united states is open for business once again starting tomorrow21:48
@rizenand i'm heading up at 8am to get some spicy cheezy bread21:48
@rizen=)21:48
-!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui21:48
-!- mode/#webgui [+o Haarg] by ChanServ21:48
+perlmonkey2largest farmers market in the states?21:48
+perlmonkey2that would be a lot of fun to go to.21:48
* perlmonkey2 loves the farmers market.21:48
+perlDreamerMadison Wisconsin has the largest farmer's market in the states.21:48
+perlDreamerThat's why you must come to the WUC.21:48
+perlmonkey2I've been planning on coming for almost a year now :)21:49
+perlDreamerForget the face time, awesome collaboration, interesting presentations21:49
+perlmonkey2need to buy tickets.21:49
+perlDreamerIt's the farmer's market21:49
+perlmonkey2hahahaha21:49
@apeironpreaction, Some cursory research on the tubes shows you that apple pie isn't actually American. :)21:49
CIA-1WebGUI: jt * r6181 /branch/WebGUI_Survey2: creating a branch for survey work21:49
@rizenapeiron: apple pie is delicious, and therefore doesn't matter if it's american or not21:50
@apeironwell, yes.21:50
@rizenin fact, i'm going to report you to the committee for unamerican activities21:50
+perlDreamerrizen will eat apple pie of any nationality or ethnicity21:50
+perlDreamerWhat about those deep fried apple pies from McDonalds?21:51
+perlmonkey2Okay, I must brag about this because it doesn't happen to computer nerds very often.  But last nigth at the English dept. awards banquet, my wife and I were seated with 6 of the Ukranian grad students here for a month long visit to my wife's department.  I don't know what is in the water in the Ukraine, but they were all 5'10+ and supermodel gorgeous.21:52
@rizensoviet chicks are practically all hot21:53
@rizendated several in college21:53
@rizenhottest chicks i ever dated21:53
+perlmonkey2and these girls were picked for their grades as it was an academic competition to go on the trip.  I was like, if these are the nerds, what to the hot partying girls look like?21:54
+perlDreamerbopbop: I need some English advice "If you have modified the file whose check out your are cancelling"21:54
+perlDreamerIf you have modified the file whose check out you are cancelling21:54
bopbopsecond21:55
bopbopwhat about it?21:55
+perlDreamerIt seems awkward21:55
bopbopput a comma after file21:55
bopbopand after cancelling21:55
bopbopthen proceed with the sentence21:55
+perlDreamerThanks!21:55
+perlDreamerRemind me that I owe you one at the WUC.21:56
bopbopnp21:56
@rizenyou can throw it on the 1,000,000 i owe her21:57
+perlDreamerbopbop++21:59
+perlDreamerkarma bopbop21:59
+perlDreamerperlbot: karma bopbop21:59
perlbotKarma for bopbop: 121:59
bopbopwoohoo!22:00
+perlDreamerhardly representative of your true value to WebGUI22:01
+perlDreamerbut a good indicator nonetheless22:01
bopbopthx perlDreamer :)22:02
-!- diakopter is now known as diakopte122:35
lisettewhere i can translate the button of the content rich editor?22:36
-!- topsub [n=josh@97.66.185.250] has quit ["Leaving"]22:42
-!- estiven [n=estiven@201.232.58.66] has left #webgui []22:43
-!- diakopte1 is now known as diakopter22:45
@preactiondoes the WebGUI inbox ever get cleaned up? is there even a way to delete items from it?22:47
@preactioni've got like 60,000 inbox messages and the ?op=viewInbox takes minutes to load22:48
@preactionstrike that, i have 750,000 inbox messages22:49
* perlmonkey2 drives a stake through MySQL as his 'end = now()' clause isn't working, even though end is a DATETIME22:59
@rizenis "end" a reserved word in mysql23:00
@rizentry putting a `end` around it23:00
@rizenpreaction: no it doesn't get cleaned up, how did you end up with 750,000 inbox messages?23:01
+perlmonkey2rizen: it is a mysql bug23:01
+perlmonkey2it id 'endDate' for the column name and google shows this as a bug.  I can't set the column to not null23:01
+perlmonkey2crazy23:01
@preactionlots of content being submitted, up to 4 approval messages per commit, and it's been a little over a year since the site started functioning23:02
+perlmonkey2http://bugs.mysql.com/bug.php?id=2750723:02
-!- bopbop [n=kmccombs@71-90-131-140.dhcp.mdsn.wi.charter.com] has quit []23:03
@preaction4 approval messages per commit because 4 different groups might get the same approval message (though only one group needs to approve). a custom approval activity I wrote23:03
+perlmonkey2update Survey_response set endDate = now() and isComplete = 1 where Survey_responseId = 'eIT7DlfWDDOwm8KxEZ5ADg'    I've dropped endDate, readded it.  Nothing is working.  23:10
+perlmonkey2this is incredible23:11
@rizenpreaction, methinks you need you write a workflow activity that cleans out the inbox then23:11
@preactionrizen, should it go in core? default of 1 year perhaps?23:16
+perlmonkey2$self->session->db->write("update Survey_response set endDate = ? and isComplete = 1 where Survey_responseId = ?",[WebGUI::DateTime->now->toDatabase,$responseId]);  no joy.......23:17
@preactionwhat's the error you're getting?23:18
+perlmonkey2no error, only a warning "Out of range value adjusted for column 'endDate' at row 123:21
-!- apeiron_ [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui23:22
-!- mode/#webgui [+o apeiron_] by ChanServ23:22
@rizenpreaction: sounds good to me23:23
-!- apeiron_ [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has quit [Client Quit]23:23
@rizenpreaction: and it should NEVER delete anything that's pending23:23
@preactionof course not23:23
-!- apeiron_ [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui23:24
@rizenyou say that now23:24
-!- mode/#webgui [+o apeiron_] by ChanServ23:24
@rizen=)23:24
@preactioni'm still worried about stuff in user's inboxes that aren't approval messages.23:24
@preactionthey're marked "completed" no matter what23:24
@preactionstuff like welcome messages23:24
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has quit [Nick collision from services.]23:25
-!- juan [n=juangui@201.232.58.66] has joined #webgui23:25
-!- apeiron_ is now known as apeiron23:25
@rizensure23:25
@rizenbut they have no pending state23:26
@rizenthey're informational only23:26
@preactionyeah23:26
@rizenisn't there a "read" flag?23:26
@rizenor something?23:26
+perlmonkey2dang it.  so much for wrapping up all the features today.  bbl, I'm going for a walk.23:26
juani was in http://i18n.webgui.org/ tranlating to spanish the Asset_RichEdit, i was in 10% and suddenly it appears in 1%23:26
@preactionno "read" flag23:26
@preactionjuan, did you hit "Commit"?23:27
@preactionperlmonkey2, are you using db->setRow?23:27
+perlmonkey2db->write, but it doens' t matter.  I'm testing this in querybrowser with no luck.23:27
@preactionis endDate NOT NULL?23:28
+perlmonkey2I've tried it both ways23:28
@preactioner.. is NULL allowed?23:28
@preactionhum... 23:28
juanpreaction, commit to svn?23:28
@preactionjuan, yes23:28
juanno23:28
+perlmonkey2doens't matter, when the row is created, I set it to the same as startDate23:28
+perlmonkey2just to get it working.23:28
juani was translating the items and save them23:29
@preactionperlmonkey2, try anyway perhaps?23:29
+perlmonkey2okay, I'll try setrow23:29
@preactioni meant allowing NULL in endDate23:29
@preactiondid you try setting it to a literal? "2007-01-01 00:00:00" or something?23:30
+perlmonkey2preaction: okay....what black magic is setrow doing?  because it worked.23:31
+perlmonkey2I can't make it work with sql in a browser, but setrow did it.23:31
+perlmonkey2wG made a pact with the devil23:32
@preactionperlmonkey2, i really have no idea. but it's not a complicated subroutine really23:32
@preactionsetRow is good, clean fun23:32
+perlmonkey2am I smoking crack though?  a datetime column can be set to current_date or now() right?23:33
+perlmonkey2oh, who cares.  it works :)23:33
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit ["Exit- stage left"]23:38
@preactionindeed23:39
+perlDreamerlisette, the rich editor buttons are handled in javascript, and should already be translated.  See /data/WebGUI/www/extras/tinymce2/jscripts/tiny_mce/langs23:40
+perlDreamerperlmonkey2: rizen wrote setrow, and mysql knows not to mess with him23:40
+perlmonkey2hah23:42
+perlmonkey2perlDreamer++23:42
@rizenthe tradition continues: tavis has already lost $500 to the wheel of fortune slots23:42
@rizenand he has only been there 1 day23:42
+perlDreameris he at another trade show?23:43
@rizenhe went out for the GTS trade show early23:43
@rizeni'm not going until monday morning at 6am23:44
@rizenhe left yesterday23:44
lisettewell, i found es.js and is good, but when i browse and call this editor i see it in english, how to do to change the language?23:45
-!- SDuensin [n=Scott@250.sub-75-204-144.myvzw.com] has quit ["Leaving"]23:45
+perlDreamerlisette: is your language espanol in your user profile?23:45
lisetteno, i change to spanish and i see the changes23:49
lisettethanks23:49
+perlDreamerAdemas, cambie la lengua de "Visitante" a español.23:51
@rizenholy crap spanish is really zipping up on the ranks23:52
+perlDreamerI know, man.  lisette, juan and estiven are kicking butt and translating names23:52
+perlDreamerSo what happened to Ehab?  Is he on break?  The arabic translation has been slipping for a long time now.23:53
-!- juan [n=juangui@201.232.58.66] has left #webgui []23:54
+perlDreamerThe Truth about IT Consultants: http://www.pbs.org/cringely/pulpit/2008/pulpit_20080418_004737.html23:54
@rizennot sure23:54
-!- juan [n=juangui@201.232.58.66] has joined #webgui23:55
juanperlDreamer, i have a serious problem translating WG to spanish23:59
juanI am working in Asset_RichEditor23:59
--- Day changed Sat Apr 19 2008
juanin two times I have been around 30% and suddenly this asset appears in 1%00:01
+perlDreamerand is all of the work lost as well?00:05
+perlDreamerwell, in any case, I would recommend posting a bug to the WebGUI bug tracker about it00:06
+perlDreameralso, use the commit button frequently00:06
+perlDreamerso that you don't lose so much help all at once00:06
+perlDreamerdo you remember if it always happens after translating a certain entry in the file?00:07
juanok, i am going to follow your suggestions00:07
+perlDreamerI'm sorry for the work that you've lost.00:08
juanno error appears after translating a certain entry00:08
+perlDreamerit won't show up as an error, the error is losing all the data in that Asset.00:08
+perlDreamerWhich one is it?00:08
juanRichEditor00:09
juanwe are working so hard to translate WG to spanish00:10
+perlDreamerMany months ago, there was a translation bug with that Asset.  I can't remember what it was.00:10
+perlDreamerBut it worked just like you say.00:10
+perlDreamerIt was reported by bartjol00:10
+perlDreamerhm00:10
+perlDreamerPlease try translating other files for a while, and hold off on that one.00:10
juanok00:11
+perlDreamerMost of what you're translating is the Administrative interface anyway for that asset.00:11
+perlDreamerand do report it as a bug00:11
+perlDreamerhttp://www.webgui.org/bugs/tracker/translate_webgui_org#x4s8RVwnzPhNt3t-KWS4Kg00:12
+perlDreamerthat's your problem, juan.00:12
juanperlDreamer, do you know when i am suscribing to certain asset, i received in my email notifications about post in that asset00:12
+perlDreameryes, that's a function of the Collaboration System00:12
juanwhen i received an email, i have some text in english00:13
juanis it translated in i18n, too?00:13
+perlDreamerthere are parts of WebGUI that are not fully i18n yet.  Post that as a bug, too.00:14
juanthe url that you sent me is the same error that i had00:14
+perlDreamerexactly.  Look for a pipe character "|" in the entry.00:14
juananother question00:16
juani have a collaboration system with many threads and it is located in the home of my site00:17
juanthe colabation has ten threads per page00:18
juanin the first page all is ok but when i pass to the second page some of the design of my site desappear00:18
+perlDreameryes.  This is by design.  If you look carefully, you're actually on a new URL when you visit the 2nd page of threads.00:19
+perlDreamerMany people have asked for this to be different, but I don't think anyone has posted an RFE for it yet00:19
juanany solution to this problem?00:29
+perlDreamerYes and no.00:29
+perlDreamerThere's nothing you can really do in the short term00:29
juanwhy00:29
+perlDreamerBecause it was designed to behave the way that it does00:29
+perlDreamerBut if you submit an RFE, it could be fixed in the future.00:30
+perlDreamerit has to do with the way that pagination information is sent to the collaboration system when it is embedded in another page00:30
juancan you help me with me, the thing is that last year we bought the online support and it expired about 2 months ago00:33
juanwe verify our accounts and found that have a transaction to renew the suscription00:35
+perlDreamerI actually don't work for Plain Black, but if you contact them and tell them that you want to renew it, I'm sure they can help you.00:35
juanok00:35
juanthanks00:35
+perlDreamerI'm just a volunteer developer who likes helping people on the forums and IRC :)00:36
+perlDreamerArticle on smart matching in perl 5.10: http://perltraining.com.au/tips/2008-04-18.html01:07
+perlDreamerobviously, we need this in the WRE =)01:09
CIA-1WebGUI: colin * r6182 /branch/WebGUI_7.4/etc/WebGUI.conf.original: swap order of comments to match what statements they are next to01:20
CIA-1WebGUI: colin * r6183 /WebGUI/etc/WebGUI.conf.original: forward port config comment ordering01:20
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit ["Leaving"]01:25
-!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"]01:39
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [Connection timed out]01:46
-!- lisette [n=liraos@201.232.58.66] has left #webgui []01:55
-!- Haarg [n=haarg@24-196-80-80.dhcp.mdsn.wi.charter.com] has joined #webgui01:59
-!- mode/#webgui [+o Haarg] by ChanServ01:59
-!- juan [n=juangui@201.232.58.66] has left #webgui []02:15
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has quit ["Download Gaim: http://gaim.sourceforge.net/"]02:24
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI03:01
-!- Haarg [n=haarg@24-196-80-80.dhcp.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"]09:37
-!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: Doc77711:28
-!- Netsplit over, joins: Doc77711:41
-!- diakopte1 [n=diakopte@209.9.237.164] has joined #webgui11:42
-!- diakopter [n=diakopte@209.9.237.164] has quit [Read error: 110 (Connection timed out)]11:53
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui13:16
-!- mode/#webgui [+o preaction] by ChanServ13:16
-!- Haarg [n=haarg@24-196-80-80.dhcp.mdsn.wi.charter.com] has joined #webgui13:23
-!- mode/#webgui [+o Haarg] by ChanServ13:23
-!- CIA-1 [n=CIA@208.69.182.149] has quit []13:57
-!- CIA-5 [n=CIA@208.69.182.149] has joined #WebGUI14:01
-!- CIA-5 [n=CIA@208.69.182.149] has quit []14:52
-!- CIA-5 [n=CIA@208.69.182.149] has joined #WebGUI14:58
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)]14:59
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui18:26
-!- mode/#webgui [+v perlmonkey2] by ChanServ18:26
+perlmonkey2Heh, how would an RFE to move to 5.10 go over?  http://perltraining.com.au/tips/2008-04-18.html18:44
-!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: f00li5h19:15
-!- CIA-5 [n=CIA@208.69.182.149] has quit [Read error: 110 (Connection timed out)]19:45
-!- Doc777 [n=Doc@10.187-available-ethint-fratm-cc.sccoast.net] has quit ["using sirc version 2.211+KSIRC/1.3.12"]19:54
-!- CIA-5 [n=CIA@208.69.182.149] has joined #WebGUI20:57
@rizenit would not go over20:58
@rizenshort of a major security problem i don't change the base system requirements of WebGUI except at major release time (WebGUI 8 for example)20:58
@rizenoh how i do want to use all the goodness of perl 5.10 though21:01
@rizen=)21:01
+perlmonkey2heh, yeah21:12
+perlmonkey2~~21:12
+perlmonkey2just looks like fun21:12
+perlmonkey2but what are you going to do?  You've got a gazillion users who can't just be switched overnight.21:12
* rizen squints his eyes at perlmonkey2 with a hint of evil eye21:15
@rizeni still see no code checked into the branch i made for you21:16
+perlmonkey2oh yeah21:16
+perlmonkey2heh, yesterday was a bad day.  Code on my machine wasn't working at work.  So I burned out at 5 and quit for the day.  This morning I started in on it and realized it was the ajax calls timing out.21:18
+perlmonkey2I never optimized my db tables, so at work, with several huge surveys, calls were taking over a second to return.21:18
@rizenyou realize none of that has anything to do with checking code into the repo right?21:18
+perlmonkey2so now that I'm at a major stopping point with it 99% feature complete, I can check it in.21:18
+perlmonkey2ie, I was burnt out and doing anything extra just wasn't in me.21:19
@rizenit must be nice to be 99% feature complete21:21
@rizenwish we were even close to that with commerce21:21
@rizenhell, i'd settle for being even close to that with EMS21:21
@rizen=)21:21
+perlmonkey2hah, feature complete and bug free are too way different things21:32
+perlmonkey2but all that is left is to have previous answers shown in question text and to have random strings show up in question text.  Which both should be near trivial to implement.21:33
+perlmonkey2s/too/two/21:33
+perlmonkey2okay, now to try to remember how to check into a branch.21:33
@rizenyeah, well i'm still no where near feature complete with the EMS, and i've got a problem where something is causing seg faults in apache...so take that21:33
+perlmonkey2okay, you win hands down.  seg faults in apache sound like a bad case of heart burn for weeks on end.21:34
@rizenoh, and did i mention that i'm demoing the EMS to 500 propective clients on Tuesday. =)21:36
@rizens/propective/prospective/21:36
+perlmonkey2ah21:41
+perlmonkey2dude21:41
@rizenholy crap21:53
@rizeni just realized that i only have 2 features left to write21:53
@rizengranted that they're huge21:53
@rizenbut there's only 2 left for ems21:53
@rizen+ data migration of old ems data21:53
@rizenoh, did you write the data migration stuff for the survey yet?21:54
+perlmonkey2oh crap21:56
+perlmonkey2https://svn.webgui.org/plainblack/branch/WebGUI_Survey2/lib/WebGUI/Asset/Wobject/Survey.pm22:03
+perlmonkey2got the extras and pm both uploaded22:04
+perlmonkey2now just need to do something about the sql22:04
+perlmonkey2but it is still changing22:04
+perlmonkey2just got a new spec change, they want to be able to jump to sections along with questions, in case they want to jump to an empty section.22:04
+perlmonkey2yay for working with people who have no idea about specing things out.22:05
+perlmonkey2that code is oogly and needs to be prettied up.  22:05
@rizenstart adding sql and all your other upgrade related stuff into an upgrade script in docs/upgrades22:05
@rizenand modify it as you go22:05
+perlmonkey2yeah, I'll start using that repo as my dev repo22:06
@rizenthat's what i do to make sure i don't lose stuff when i reset the database, etc22:06
+perlmonkey2make it easier to move code between servers22:06
+perlmonkey2groovy22:06
+perlmonkey2doh, I uploaded all my js into wobject instead of Survey22:07
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["sunshine, ready or not here I come"]22:25
@rizenwhat do you think would make a better method name for returning merchandise and refunding money?22:26
@rizenissueRefund()22:26
@rizenreturnItem()22:26
@rizenrestockItem()22:26
@rizenrestock()22:26
@rizenthis method would be called on a $sku object22:26
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui22:46
-!- mode/#webgui [+o preaction] by ChanServ22:46
@rizenpreaction: have you build a function into the photo gallery to rotate photos by 90 deg in case people import them sideways?23:04
@preactionrizen, no23:05
@preactionbut i like the idea23:05
@rizenok, i'm going to request that rfe then, cuz that would be sweet23:05
@preactioni was thinking i should add targeted thumbnails, so a person can choose where the thumbnail is taken from before that part is scaled down to size23:06
@rizenthat is cool too23:06
@rizeni'd also like to see photo cropping23:06
@preactionthose could probably use the same interface even23:06
@rizenbut i'd like to see rotation and cropping on all images in the system for that matter23:06
@rizenyeah, especially since YUI provides a nifty control for doing just that now23:07
@rizenyou wouldn't even have to write the js23:07
@preactioninteresting23:07
@rizenjust added a cool unplanned feature to the new shop....in store credit23:07
@rizenwhen you purchase something and want a refund you're given in-store credit23:08
@rizenhad to do that because not all payment gateways have methods for automatic refunds23:08
@preactioni don't think i've seen that in any online store i've frequented23:08
@rizenthe in store credit option? or refunds?23:09
@preactionin-store credit23:09
@rizeni think it's super cool, cuz then vendors can also just give their customers in-store credit as well23:09
@preactionwhich reminds me, do you know of a better place to get computer parts online? NewEgg has been jerking me around all week23:09
@rizenyou could have a coupon that would give you in-store credit if you made a purchase of $100 or more23:09
@rizeni used to buy a lot of stuff from mwave.com23:10
@rizenthey were usually pretty good to me23:10
@rizeni originally started buying there because they were the first online store to sell DEC Alpha processors back in the day, but then i bought lots of other stuff as time went on too23:11
@preactionthey got some dirt-cheap memory here23:15
@rizeni used to use Memory Man a lot for dirt-cheap ram. Not sure if he's still as cheap but here's his address: http://www.memman.com/23:17
@preactionlooks like same stuff available on newegg, only 10-50 bucks cheaper23:17
@preactionand i just realized if i break my order into 3-4 parts, that will triple my shipping costs...23:18
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit ["Leaving"]23:25
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui23:34
--- Day changed Sun Apr 20 2008
-!- diakopte1 [n=diakopte@209.9.237.164] has quit ["leaving"]00:12
-!- diakopter [n=diakopte@209.9.237.164] has joined #webgui00:13
CIA-5WebGUI: jt * r6184 /branch/WebGUI_Commerce/ (6 files in 6 dirs): registrant management is mostly working01:12
CIA-5WebGUI: perlmonkey2 * r6185 /branch/WebGUI_Survey2/www/extras/wobject/ (26 files in 4 dirs): Survey JS original import01:12
CIA-5WebGUI: perlmonkey2 * r6186 /branch/WebGUI_Survey2/lib/WebGUI/Asset/Wobject/Survey.pm: removing old Survey.pm01:12
CIA-5WebGUI: perlmonkey2 * r6187 /branch/WebGUI_Survey2/lib/WebGUI/Asset/Wobject/Survey.pm: Importing new Survey.pm01:12
CIA-5WebGUI: perlmonkey2 * r6188 /branch/WebGUI_Survey2/www/extras/wobject/ (27 files in 5 dirs): Importing JS01:12
CIA-5WebGUI: perlmonkey2 * r6189 /branch/WebGUI_Survey2/www/extras/wobject/Survey/ (5 files): Deleting old junk files01:13
-!- Haarg [n=haarg@24-196-80-80.dhcp.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"]01:53
-!- perlDreamer [n=colink@pool-71-117-250-89.ptldor.fios.verizon.net] has joined #webgui01:53
-!- mode/#webgui [+v perlDreamer] by ChanServ01:53
+perlDreameris WebGUI now supposed to autocommit stuff even if spectre is down?02:19
@rizenyes02:21
@rizenbut only if autocommit is enabled02:21
@rizenwhich is 3 settings in the settings page02:22
@rizenpd: i found a cool video thing for your kids: http://blip.tv/file/774669/?utm_source=jumbotron&utm_medium=experimentoftheweek02:23
+perlDreamersweet!  (I think)02:31
+perlDreamerThere's no audio for Flash on FC 702:31
@rizeni think you need either 8 or 9 to do video sites02:32
@rizenwhy not upgrade?02:32
+perlDreamer8 has an infinite recursion error on Dell laptops02:32
+perlDreamer9 isn't out yet02:32
+perlDreameralso, upgrading while helping rizen write commerce code would be very dangerous02:33
+perlDreamercould cost me lots of hacking time02:33
@rizeni c02:33
+perlDreamerhow was spicy cheezy bread?02:34
@rizenstill eating it right now while watching experiment of the week02:35
@rizen=)02:35
@rizeni just finished adding the concept of in-store credit to the new shop02:35
@rizenand tied that into the EMS, but i'm having problems with the address book now...so i took a break02:36
-!- CIA-5 [n=CIA@208.69.182.149] has quit [Remote closed the connection]02:36
+perlDreamergood call02:36
+perlDreamerI spent the morning doing yard work at Peter's school02:37
+perlDreamerI'm beat02:37
+perlDreamerThen I had to participate at a S.M.A.R.T fundraiser (eating a chocolate brownie sundae)02:38
@rizenwow, that seems like really hard work02:38
@rizenhow could you handle it. =)02:38
+perlDreamerIt evened out the morning work :)02:38
-!- CIA-5 [n=CIA@208.69.182.149] has joined #WebGUI02:41
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has quit ["leaving"]02:59
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui03:00
-!- mode/#webgui [+o apeiron] by ChanServ03:00
@rizenperlDreamer rawks03:23
* perlDreamer has finally gotten a little hacking time03:24
+perlDreamerphew03:24
+perlDreamerI don't suppose that there are key bindings to switch between YUI tabs, like in the Asset edit screen?03:26
@rizenyou can attach keybindings03:27
@rizenbut by default there aren't any03:27
@rizenand assets don't use yui tabs yet03:28
@rizenthat's on my "want to do really bad but cant cuz working on commerce" list03:28
+perlDreameryeah03:29
+perlDreamerthat list is growing long for both of us03:29
@rizenafter 7.5 is out, i think we're (as a staff) are going to do an RFE day once per month03:53
@rizenthat will help shorten the list03:53
+perlDreamerI was thinking of testing, in particular.03:58
+perlDreamerplus my long overdue "Learning Javascript" book03:59
+perlDreamerI really need to learn and play with JS if I'm going to be a dev someday.03:59
@rizeni've asked preaction to build us an HTMLized Devel::Cover report into the test server04:00
@rizencuz i think that will motivate me to write more tests04:00
@rizenand Haarg said it would motivate him to do so too04:00
+perlDreamerit's really easy04:00
+perlDreamerbut it really slows the test down04:00
@rizeni gave preaction a server to build the tests on 04:01
+perlDreamerawesome!04:01
@rizenso it doesn't matter if they take a long time04:01
@rizenand i told him if that one won't work, then i'll get him another one04:01
@rizeni just want a full test box so we can actually do real testing all the time04:01
+perlDreamerthanks, man04:01
@rizenthanks for what?04:06
+perlDreamerinvesting a whole server for testing04:06
@rizenyou don't ever need to thank me04:06
@rizeni owe you more thanks that i can ever give04:07
@rizendon't get your hopes up too much, it's not huge04:07
+perlDreamerwhat is it?04:07
@rizenit's a amd 1.5 ghz04:07
@rizen1 gig ram04:07
@rizen100gb hd04:07
@rizenwhich should be plenty for testing04:08
+perlDreameroh yeah04:08
+perlDreameris it out in the hoster?04:09
+perlDreamerokay, I need a sanity check.04:10
+perlDreamerIn the Product, if you add a new parameter, I was going to have it automatically redirect to add an option to your new parameter.04:10
+perlDreamerso, in editParameterSave, it calls $self->addRevision({parameters=>$newJson})04:11
+perlDreamerthen calls $self->www_editParameterOption($newParam);04:11
+perlDreamerbut addRevision doesn't update the object cache in $self, to editParameterOption says "Hey, I don't know what parameter you're talking about"04:11
+perlDreamerI _could_ try to change that, but I'm guessing that there would be lots of unforeseen (and untested) consequences.04:12
+perlDreamerI _could_ add a ->set method for updating the object cache04:12
+perlDreameror I could just have the user click to add a new param04:12
+perlDreamerum, option04:12
@rizenno, it's at preactions house being built currently04:14
@rizenor you could call $self->clearCache04:15
@rizenor uncache04:15
@rizeni forget what the method name is04:16
@rizenwait04:17
@rizenyou need to do:04:17
+perlDreamerpurgeCache04:17
@rizenmy $newSelf = $self->addRevision;04:17
@rizenthen do $newSelf->www_edit....04:17
+perlDreamerah04:17
+perlDreamerokay04:17
@rizensorry, brain must not be screwed on right04:17
@rizendon't know why i didn't think of that right away04:18
@rizenthen you won't need to purgeCache04:18
@rizencuz it isn't the cache that's out of date04:18
@rizenyou just have a reference to the wrong rev04:18
+perlDreamercorrect04:19
@rizenphew04:25
@rizenfinally done with that mess04:25
@rizenok, i'm calling it a night04:25
@rizenbe back on tomorrow if you need anything04:25
+perlDreamerok04:28
+perlDreamer'night04:28
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui04:29
-!- mode/#webgui [+v perlmonkey2] by ChanServ04:29
CIA-5WebGUI: jt * r6190 /branch/WebGUI_Commerce/ (14 files in 6 dirs): 04:29
CIA-5WebGUI: added in-store credit04:29
CIA-5WebGUI: added refund mechanism04:29
CIA-5WebGUI: modified ems to use refund mechanism04:29
-!- Haarg [n=haarg@24-196-80-80.dhcp.mdsn.wi.charter.com] has joined #webgui04:31
-!- mode/#webgui [+o Haarg] by ChanServ04:31
-!- Haarg [n=haarg@24-196-80-80.dhcp.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"]05:27
-!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has joined #webgui06:11
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [Connection timed out]06:19
-!- perlDreamer [n=colink@pool-71-117-250-89.ptldor.fios.verizon.net] has quit ["Leaving."]06:46
CIA-5WebGUI: colin * r6191 /branch/WebGUI_Commerce/lib/WebGUI/Asset/Sku/Product.pm: worked out the kinks in editParameter, more work to do on editParameterOption06:47
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has quit [Read error: 110 (Connection timed out)]07:38
-!- dadok1 [n=tickitim@104.103.dsl.syd.iprimus.net.au] has joined #webgui08:53
-!- dadok1 is now known as dadok08:53
dadokhey guys08:53
dadokIf I want to use my own template for a collaboration system, do I have to do something special?  I've put it in the Root > Import > Collaboration folder, but that doesnt seem to be enough to get it to appear on the drop down menu08:56
dadoknamespace collaboration probably...08:59
dadokhmm, the css code i put into the Head Block isn't inserting into <head> section09:23
dadoksupposedly this was fixed in 7.0 ...09:23
-!- dadok [n=tickitim@104.103.dsl.syd.iprimus.net.au] has quit []10:18
-!- Haarg [n=haarg@24-196-80-80.dhcp.mdsn.wi.charter.com] has joined #webgui10:44
-!- mode/#webgui [+o Haarg] by ChanServ10:44
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI16:31
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has quit ["leaving"]18:33
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui18:33
-!- mode/#webgui [+v perlmonkey2] by ChanServ18:34
+perlmonkey2what's new?18:55
@rizenwhat is, stuff you buy in a store?18:58
@rizendid i win?18:58
+perlmonkey2Unfortunetly this is not jepordy.19:01
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui19:02
-!- mode/#webgui [+o apeiron] by ChanServ19:02
topsubgo go working on sunday19:42
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has quit ["leaving"]19:50
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui19:52
-!- mode/#webgui [+o apeiron] by ChanServ19:52
+perlmonkey2topsub: what, you mean there are poeple who don't work on Sunday?19:58
@rizentopsub doesn't know what he's talking about...everybody works on sunday19:59
@rizen=)20:00
@rizencross your fingers for me20:05
@rizeni'm merging the commerce system into the trunk20:05
+perlmonkey2woot120:05
+perlmonkey2you get your apache core dumps resolved?20:05
@rizenno, but we're not putting out any new releases of the beta until we're feature complete20:05
+perlmonkey2svn merge stuffthatworks stuffwereallyhopeworks20:06
@rizenand we're definitely not launching without commerce20:06
@rizenand i'd like to be able to demo all the 7.5 features at the trade show tomorrow20:06
@rizenso for all the reasons listed above, there's no reason to keep the branches separate anymore20:07
@rizenoh...and the seg faults only happen when you're working with EMS stuff...not all the time20:07
@rizenso it won't impact anyone else's dev20:07
@rizentime to go grab some lunch while the merge happens20:09
topsublol20:24
topsubhey i work too20:25
topsubi try to stay off computer but some how always get on it and work20:25
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has quit [Read error: 110 (Connection timed out)]20:32
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI21:05
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [Read error: 110 (Connection timed out)]21:15
@rizentopsub, do you know if you're coming to the wuc with william yet?21:24
topsubI believe i am, but haven't confirmed with him yet21:28
@rizenwant me to kick him until he agrees?21:29
@rizenafter all, i'll be seeing him tomorrow afternoon in vegas21:29
topsubya21:29
topsubi been helping him get ready for that21:29
topsubI am almost done with this ajax inline editor.. woot!!21:30
@rizenajax inline editor?21:30
@rizenis this something that is going into 7.5?21:31
topsubplan is to be able to edit an article from just turning admin on... without having to swtich into the admin console mod21:31
topsubmode / view21:31
topsubso hopefully be easlier for non tech users21:32
@rizeni wonder how that is easier for non-tech users21:32
topsubnow i have to write  a macro to update the "description" field21:33
topsubhopefully they click to turn admin on.. then just double click21:33
topsubthen click save21:33
@rizenthat's the same number of steps21:33
@rizenturn admin on, click edit, click save21:33
@rizen3 steps21:33
CIA-5WebGUI: jt * r6192 /Too many paths: merging commerce branch back into head21:34
@rizendon't get me wrong21:34
@rizenit does have that sort of "wow" or pizzaz factor21:34
@rizennot saying it's bad21:35
@rizenjust don't understand how it's easier21:35
topsubi hoping it will be21:35
topsublike to finish this protype then see how it goes21:35
topsubprototype*21:35
@rizenis it using yui?21:36
topsublol.. it was..21:36
topsubbut i was getting stuck and i am going to get a working prototype then switch it to YUI21:36
topsubfigure once i have it working then i could get more help with switching it over21:37
@rizenok. just so you know, it has no chance of going in the core without yui21:37
topsubhehe no problem i want it to be YUI.. just was getting stuck and really wanted a working prototype going21:37
topsubhuge difference in YUI and jquery on selectors and stuff tha ti have to learn21:39
topsuband i know how to do it with jquery21:39
@rizenyeah i understand21:39
@rizenall the js libraries are pretty different from each other21:39
@rizenand yui is a big beast21:39
topsubya. but i do love jquery tho21:40
topsubthey just don't have as much functions together like YUI21:40
topsubbut you can easily create it with jquery21:40
-!- apeiron_ [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui21:44
-!- mode/#webgui [+o apeiron_] by ChanServ21:44
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has quit [Nick collision from services.]21:44
-!- apeiron_ is now known as apeiron21:45
@rizenyui's functionality wasn't the main reason i chose it, the level of documentation, and quality of api were the biggest factors21:46
@rizenif we were going on functionality alone we would have probably chosen prototype + scriptaculous21:46
topsubah. ya the docs on YUI are nice21:56
topsubjust there are a ton!!! lol21:56
@rizenbetter a ton than very few...even with all the docs and examples i sometimes have a hard time figuring out how to use stuff21:57
topsubglad to know i am not the only one22:07
topsubdoes the update function in asset.pm return anything? i am looking at the code but it doesn't have a defined "return"22:16
CIA-5WebGUI: jt * r6193 /WebGUI/docs/upgrades/ (7 files in 3 dirs): moving commerce upgrade stuff into position22:16
CIA-5WebGUI: jt * r6194 /branch/WebGUI_Commerce: don't need it anymore, merged into head22:16
@rizenno it doesn't22:17
@apeirontopsub, Perl subs return the value of the last statement executed in them, so you get the value of $self->purgeCache.22:28
topsubalright, doesn;t look like i am getting any return. just need to plan for that in my code. thansk apeiron, and rizen :-)22:30
@apeironhrm, more technically, if the last statement is an expression, you get that expression's value22:30
CIA-5WebGUI: jt * r6195 /WebGUI/docs/upgrades/upgrade_7.5.10-7.5.11.pl: fix typo22:34
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui23:05
-!- mode/#webgui [+o preaction] by ChanServ23:05
topsubfunction wise i think this is workig23:34
topsubworking*... just need to make it pretty23:35
--- Day changed Mon Apr 21 2008
CIA-5WebGUI: jt * r6196 /WebGUI/ (2 files in 2 dirs): some bug fixes00:17
-!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has quit ["Leaving"]01:22
-!- perlDreamer [n=colink@pool-71-117-250-89.ptldor.fios.verizon.net] has joined #webgui02:00
-!- mode/#webgui [+v perlDreamer] by ChanServ02:00
+perlDreamerapeiron: Are you in today?02:03
@apeironperlDreamer, What's up?02:03
+perlDreamerI was trying to figure out which File::Slurp methods are used in AssetExportHtml.t, but I think I found out02:04
+perlDreamerIt's not in the dependency list02:04
+perlDreamerin testEnvironment.pl02:04
@apeironhrm02:05
@apeironI don't think it uses any, actually--pretty sure I moved that to Path::Class explicitly.02:06
+perlDreamerbrb, emergency bike riding demonstration by the 7 year old02:07
@apeironeep, hope they're okay.02:11
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui02:24
-!- mode/#webgui [+v perlmonkey2] by ChanServ02:24
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit ["Exit- stage left"]02:30
-!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui02:36
-!- mode/#webgui [+v Radix-wrk] by ChanServ02:36
+perlDreamerhe's fine.02:37
+perlDreamerWe wants to show off :)02:37
+perlDreamerI tried removing use File::Slurp, and it compiled, but died on this02:45
+perlDreamermy $guidPath = Path::Class::Dir->new($config->getWebguiRoot, '..', 'domains', $guid);02:45
+perlDreamerbecause I don't run the WRE02:45
+perlDreamerI've tried to keep the tests pretty WRE-independent02:45
+perlDreamerbut maybe it's time to change that02:45
+perlDreamerwhat do you think, apeiron?02:47
@apeironperlDreamer, Path::Class is in testEnvironment.pl for 7.5.02:48
CIA-5WebGUI: chrisn * r6197 /WebGUI/t/Asset/AssetExportHtml.t: fix for a test to reflect that exportGetUrlAsPath now calls exportCheckPath02:48
+perlDreamerokay, what about File::Slurp?02:48
+perlDreamerand the WRE path requirements?02:48
@apeironRemoved it, not needed. :)02:48
@apeironhrm, WRE path requirements..02:49
+perlDreamerI only know of two people in all WebGUI-ville that don't run the WRE02:49
+perlDreamerme, and ckotil02:49
@preactiontests can't depend on the WRE. WebGUI itself cannot depend on the WRE02:50
@apeironhrm02:51
@apeironDoes $config->getWebguiRoot explode if you don't use the WRE?02:51
+perlDreamerno02:51
@apeironOr is there not a domains directory beneath it?02:51
+perlDreamerno domains directory02:51
@apeironah.02:51
+perlDreamerno /data/domains02:51
+perlDreamerhow about using something in uploads/temp?02:52
+perlDreameroh, and if root runs this test, it will be writable anyway02:52
+perlDreamerso it's a good idea to do a UID check02:52
@apeironNoted, will fix it up later tonight then.02:53
@apeironperlDreamer, Unless you're trying to do something with it right now and it's going asplodey?02:54
+perlDreamerI was running the test suite after the commerce branch merge02:54
+perlDreamerjust to check02:54
@apeironah.02:54
+perlDreamerbtw, preaction, you can kill the Commerce branch test now02:54
@apeironerr02:55
@apeironif there's, uh... no domains directory...02:55
@apeironWhereTF is the uploads directory? :)02:55
-!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has joined #webgui02:55
@preactionit's in $session->config->get('uploadsPath')02:55
+perlDreameryeah02:55
@apeironah.02:55
@apeironOkie.02:55
@apeironperlDreamer, I only see the two usages on lines 350 and 368, that should fix it, yes?02:56
+perlDreameryes02:56
@apeironOkie.02:56
+perlDreamerIs that an agreement, or you calling me someone from Oklahoma? :)02:57
@apeiron'Okie' eq 'Okay'02:58
@apeironI play with words perhaps more than your average hacker. :)02:59
+perlDreamerWhen my Dad was mad, he used to call us kids a bunch of "Okie's"02:59
+perlDreamerIt was not a complement02:59
-!- Radix-work [n=Jesse@203.161.68.67] has joined #webgui03:01
-!- Radix-wrk [n=Jesse@203.161.68.67] has quit [Read error: 104 (Connection reset by peer)]03:01
@apeironack.03:01
-!- josh__ [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has joined #webgui03:01
-!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has quit ["Leaving"]03:01
-!- josh__ [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has quit [Client Quit]03:01
-!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has joined #webgui03:01
-!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has quit [Client Quit]03:02
-!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has joined #webgui03:02
-!- Radix-w [n=Jesse@203.161.68.67] has joined #webgui03:04
-!- Radix-work [n=Jesse@203.161.68.67] has quit [Read error: 104 (Connection reset by peer)]03:06
@preactioni have just completed initial testing of a TAP::Formatter::Template to format TAP output using Template Toolkit03:08
@preactionin a few short hours, we should have some pretty neat output for our testing03:08
@apeironperlDreamer, The tests are converted but are failing, trying to figure out why.03:12
@apeironI probably didn't convert the actual test calls properly...03:12
-!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has quit ["Leaving"]03:14
-!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has joined #webgui03:14
* perlDreamer does dinner03:20
@apeironperlDreamer, Should be all fixed, please give it a spin. :)03:39
@preactionwill do03:41
CIA-5WebGUI: chrisn * r6198 /WebGUI/t/Asset/AssetExportHtml.t: make the tests more friendly to those not running the WRE.03:48
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [Read error: 104 (Connection reset by peer)]04:00
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui04:00
-!- mode/#webgui [+v perlmonkey2] by ChanServ04:00
topsubrizen. i know one reason we are looking to have this inline editor is to keep some clients out of the admin console, we have some that are overwhelmed so this will hopefully be a simple solution04:00
+perlDreamerone thing I do like about the plone is the top level tab interface.04:04
+perlDreamerIt's very simple04:04
topsubI am about to put my first prototype up on webgui addons section04:05
@preactionsweet04:05
topsubmajor alpha, lots of css work to do but its functional04:05
+perlDreamerapeiron, getting lots of this04:07
+perlDreamerhttp://webgui.pastebin.org/3100504:07
+perlDreamerbut suspect it may be config issues on my end04:07
@apeironhrm, okay, will take a look.04:07
@apeironperlDreamer, What's your exportPath set to by default?04:09
+perlDreamerit is /tmp04:10
@apeironaha.04:10
@apeironCould you make it a subdirectory of that?04:10
@apeironThe tests try to rm the exportDirectory directly, to make sure creating it works.04:10
+perlDreamerah, much better04:12
@apeironEverything should pass quietly, then.04:12
+perlDreamerwe may want to note that deletion of the exportDirectory somewhere04:12
@apeironOr with a few changes, not rm the default exportPath at all, and rm the temporary ones.04:15
@apeironFixed in r6199.04:18
CIA-5WebGUI: chrisn * r6199 /WebGUI/t/Asset/AssetExportHtml.t: 04:19
CIA-5WebGUI: change some exportPath munging so we're not deleting the default export path04:19
CIA-5WebGUI: (PoLA)04:19
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit ["Leaving"]04:28
+perlDreamerthanks, apeiron.  I guess I deserve the 500 lb testing gorilla moniker04:38
@apeironperlDreamer, If I were you I'd wear it proudly. :)04:38
+perlDreamerThanks :)04:38
+perlDreamerI promise to sit, stomp and pout with a smile04:39
+perlDreamerbut now, I need to preview Indy Jones #2 for kid safe content04:39
+perlDreamercatch you tomorrow 04:39
@apeironnight.04:39
-!- perlDreamer [n=colink@pool-71-117-250-89.ptldor.fios.verizon.net] has quit ["Leaving."]04:39
topsubwell i put my first dev release in packages04:57
topsubfew steps to install but hopefully i can make the install process smaller and smaller04:57
+perlmonkey2I put my motorcycle on craigs list.  And I've already found something to spend the money on.  There is a nearly complete project '69 Mach 1 with a new 460 in it.  How much fun would that be?05:09
topsublol until u ran into a tree :-p05:20
+perlmonkey2which would be 3.9 seconds after I first drove it.05:30
topsublol05:58
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [Read error: 110 (Connection timed out)]06:41
CIA-5WebGUI: colin * r6200 /WebGUI/lib/WebGUI/Asset/Sku/Product.pm: handle prefilling out the form when editing a parameter option06:58
-!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has quit ["Leaving"]07:30
-!- Haarg [n=haarg@24-196-80-80.dhcp.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"]07:33
-!- Haarg [n=haarg@24-196-80-80.dhcp.mdsn.wi.charter.com] has joined #webgui08:08
-!- mode/#webgui [+o Haarg] by ChanServ08:08
-!- patspam [i=patspam@ppp59-167-137-64.lns3.mel6.internode.on.net] has joined #webgui09:26
-!- ryuu_ro [n=rory@194.171.50.69] has joined #webgui09:39
patspamany plans to upgrade to perl 5.10 in the wre?09:55
CIA-5WebGUI: jt * r6201 /translations/Dutch/Dutch/ (27 files): update_from_translation_server10:45
-!- Radix-w [n=Jesse@203.161.68.67] has quit ["Leaving"]11:03
-!- BartJol [n=plainstu@host2.procolix.com] has joined #webgui11:19
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui11:23
-!- mode/#webgui [+o preaction] by ChanServ11:23
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui11:49
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit []12:02
-!- patspam [i=patspam@ppp59-167-137-64.lns3.mel6.internode.on.net] has quit [" HydraIRC -> http://www.hydrairc.com <- The professional IRC Client :D"]12:42
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)]13:09
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has quit ["Leaving"]14:20
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui15:44
-!- mode/#webgui [+v perlmonkey2] by ChanServ15:44
-!- ryuu_ro [n=rory@194.171.50.69] has quit []15:56
-!- topsub [n=josh@97.66.185.250] has joined #webgui16:16
-!- SDuensin [n=Scott@228.sub-75-204-55.myvzw.com] has joined #WebGUI16:22
SDuensinMorning.16:24
BartJolmorning16:25
topsubhello16:27
+perlmonkey2If anyone is in Chicago I hope they have their flak jacket on.16:47
+perlmonkey2Heh, I think Chicago's murders per year is roughly equiv to the UK's.16:48
BartJoloh, nice stats16:48
BartJolincluding freak accidents, caused by wind?16:49
+perlmonkey2I guess it is pretty windy with all those bullets flying around16:53
nubaBetween 1978 and 2000, 49,900 people were killed in Rio.[37] The numbers are comparable with war conflict zones like Baghdad and Kabul.16:55
nubafrom http://en.wikipedia.org/wiki/Rio_de_Janeiro16:55
nubaguess you guys will feel safer now16:55
nubawherever you are16:55
+perlmonkey2wow, that is like 4x the murder rate in Chicago.16:59
+perlmonkey2Oh wait, Chicago has 33% more people, so probably more like 3x the murder rate.17:00
+perlmonkey2So more in line with the murder rate of Venezuela.17:00
-!- Haarg [n=haarg@24-196-80-80.dhcp.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"]17:01
-!- Haarg [n=haarg@24-196-80-80.dhcp.mdsn.wi.charter.com] has joined #webgui17:31
-!- mode/#webgui [+o Haarg] by ChanServ17:31
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has left #webgui []17:43
topsubHopefully i will be updating my addon package today.. hehe17:44
-!- jfluhmann [n=jfluhman@x174y236.angelo.edu] has joined #webgui17:53
-!- jfluhmann [n=jfluhman@x174y236.angelo.edu] has left #webgui ["Open Source Symposium - http://www.texasoss.org/"]17:54
CIA-5WebGUI: yung * r6202 /WebGUI/ (docs/changelog/7.x.x.txt lib/WebGUI/Asset/Wobject/Thingy.pm): fixed: Default Thing Name when adding a Thing is Thingy and should be Thing18:54
+perlmonkey2Does webGUI's svn repo use mod_svn on apache?18:54
-!- ryuu_ro [n=rory@c529ce350.cable.wanadoo.nl] has joined #webgui18:57
+perlmonkey2Sec. 3-405. Barking dogs.  No person shall own, keep, or harbor any dog that annoys or disturbs any person by loud and frequent barking, howling, and/or yelping.   (Ord. No. 0-7475-56) 19:03
+perlmonkey2What are the odds the cops will laugh if I ask them to enforce that?19:03
+perlmonkey2the only drawback to working from home is that you are at home.19:03
@apeironperlmonkey2, There've been odder stories of obscure laws being enforced.19:08
CIA-5WebGUI: yung * r6203 /WebGUI/ (docs/changelog/7.x.x.txt lib/WebGUI/Asset/Wobject/Thingy.pm): fixed: When latest Thing is removed from a Thingy only a drag button is displayed19:21
-!- BartJol [n=plainstu@host2.procolix.com] has left #webgui []19:22
-!- ryuu_ro [n=rory@c529ce350.cable.wanadoo.nl] has quit []19:25
-!- wgGuest77 [n=wgGuest7@201.232.58.66] has joined #webgui19:29
wgGuest77i have a survey type quiz, i allowed that the multiple user answer the quiz more than one times, and i wont that the system save the user major score.19:32
wgGuest77????19:35
steveo_aaHow do I run a 7.5 Workflow/Activity module at a shell prompt?  This is for debugging purposes to validate code before installing a formal workflos.19:47
wgGuest77i have a survey type quiz, i allowed that the multiple user answer the quiz more than one times, and i wont that the system save the user major score. 20:03
wgGuest77?20:03
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has joined #webgui20:03
-!- mode/#webgui [+v perlDreamer] by ChanServ20:03
wgGuest77i have a survey type quiz, i allowed that the multiple user answer the quiz more than one times, and i wont that the system save the user major score. 20:03
wgGuest77}'20:03
wgGuest77?20:04
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui20:11
-!- mode/#webgui [+o preaction] by ChanServ20:11
+perlDreamerpreaction: Why were there multiple test runs last night?20:12
@preactionbecause i noticed the first ones failed and ran the second ones to find out that App::Prove is different than the prove that comes with Test::More20:12
@preactionso i had to change my testwebgui.pl and run the third one20:12
@preactionso, my fault basically20:13
+perlDreamerApp::Prove is _way_ different from the default one with Test::More20:13
+perlDreamervery, very powerful, but way different20:13
@preactioni like it. the output is much nicer20:14
+perlDreamerit doesn't play well with Devel::Cover20:14
+perlDreamer(yet)20:14
@preactionjust prove? or the entire TAP::Harness 3.0 system?20:14
+perlDreamerI don't know.20:15
@preactioni suppose we'll find out when i write the routines to compile Devel::Cover output into a zip archive and upload it to a webgui site20:15
+perlDreamerAlthough I've never done it, it would be a good idea to tell Devel::Cover not to analyze the test suites or default perl library modules.20:16
+perlDreamerIt should help reduce the size20:16
+perlDreamerBecause on average the coverage is low, the output db and resultant html is huge20:17
CIA-5WebGUI: colin * r6204 /WebGUI/lib/WebGUI/Asset/Sku.pm: fix a typo in newBySku20:34
+perlDreamertest_failure-- :)20:34
+perlDreamerI also diagnosed the failing Shop tests, and will be committing some fixes for them later on today.20:34
+perlDreamerpreaction: Do you want bugs against the smoke test setup here, in email, or on the bug board?20:36
@preactionfor now, e-mail will suffice. when i release the new test program, then the bug board20:37
+perlDreamerthanks20:40
* perlDreamer goes to the gym20:42
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [Remote closed the connection]20:49
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui20:50
-!- mode/#webgui [+v perlmonkey2] by ChanServ20:50
+perlmonkey232 killed in gang warfare this weekend in Chicago22:05
topsubdang22:05
+perlmonkey2YAPC::NA 's new title "How Perl can better arm you to take a corner and hold it!"22:05
+perlDreamermust be related to the heightened seismic activity22:06
-!- wgGuest77 [n=wgGuest7@201.232.58.66] has quit [Read error: 110 (Connection timed out)]22:07
+perlmonkey28:00am - Using Perl to improve Mac 10 functionality.22:07
+perlmonkey29:00am - Perl and hoppers, how to increase productivity.22:07
+perlmonkey2I don't know if this is funny or sad.  Perhaps both.22:08
+perlmonkey2oh, only 7 killed.  A mere 37 shot.  That isn't so bad.22:10
-!- wgGuest94 [n=wgGuest9@201.232.58.66] has joined #webgui22:11
+perlDreamerI think that was the reason that rizen moved to Madison.22:11
+perlDreamerEither that, or to be closer to TeddyWedger's :)22:12
+perlmonkey2He used to live in Chicago?22:13
+perlmonkey2That's cool.  I hear it is actually a pretty fun place to live.22:13
wgGuest94Hi, i have a survey in quiz mode; how can i save the score when an user respond the quiz22:15
+perlDreamerwgGuest94, the score is never stored anywhere.  It is calculated from their responses, which is stored in the db.22:15
-!- BartJol [n=plainstu@52-167.surfsnel.dsl.internl.net] has joined #webgui22:16
CIA-5WebGUI: colin * r6205 /WebGUI/t/Asset/AssetExportHtml.t: 22:37
CIA-5WebGUI: All test sessions are automatically outfitted with a PseudoRequest object.22:37
CIA-5WebGUI: Check to see if there is an exportPath defined in the config file, if22:37
CIA-5WebGUI: not, safely skip all of the tests.22:37
CIA-5WebGUI: colin * r6206 /WebGUI/t/Shop/AddressBook.t: Update tests to match AddressBook.pm behavior22:37
+perlDreameryay! Less test breakage :)22:37
wgGuest94PerlDreamer, How can i do to save the score in another data base?22:41
+perlDreamerwgGuest94, there's a brand new Survey Asset coming out in 7.5.  I'll show you how to do it in 7.4, but know that you'll need to change it when you upgrade.22:42
+perlDreamerIn the survey module (lib/WebGUI/Asset/Wobject/Survey.pm), look for the string "response.correct.count"22:43
+perlDreamernear there, there's a SQL query22:43
+perlDreamerthat will give you the score22:43
+perlDreamerall that you need to do is figure out how to calculate the score and store it in your own table, off to the side22:44
+perlmonkey2hah, I'm working weekends and 12 hour days and the other IT guy at work just pulled a 4 hour day.  Decided he was tired at 2 and went home.22:48
+perlDreamer12+4 = 16.  16/2 = 822:48
+perlDreamerperlmonkey2: advanced math has shown the cause of your problem!22:48
+perlmonkey2wow22:48
+perlmonkey2that sheds all sorts of light on the subject.  I'm picking up his shift!22:49
+perlDreameryup22:49
+perlDreameryou should can him and hire a highly involved WebGUI community member to be your hacking partner.22:49
+perlmonkey2you want to move to Oklahoma?  The salary should be reasonable for a senior software developer?22:50
@preactionperlDreamer, you're talking about koen, right?22:50
@preactionor maybe martin22:50
+perlmonkey2:D22:50
+perlmonkey2and the work is 95% data mining and web crawling, not WebGUI.22:50
+perlDreamerHm.  No telecommuting options?22:50
+perlmonkey24 out of 5 days22:50
+perlmonkey2at least when you are not working on projects or needed for meetings.22:51
+perlmonkey2when I go back to my regular grant I'll have ot be in office a lot more, collarborating with teh researchers.22:51
+perlmonkey2and learning how to type/spell.22:51
@preactioncollaborating works? i've noticed around plainblack that the less unsolicited input that a creative person gets, the better things end up22:52
+perlDreamerI'm pretty attached to Oregon.  It's close to my and my wife's families.22:52
+perlmonkey2preaction: these are academics.  Don't bother them with hard data and facts, they have research to accomplish!22:52
@preactionpfft...22:52
+perlmonkey2preaction: but you are right.  A lot of their past research has been on "creativity". 22:53
+perlmonkey2that's the type of social scientists they are.  So its funny to read their published work on what they think is right, and then experience how they actually do things.22:53
+perlmonkey2small is the union of those sets.22:53
@preactionnot surprised really22:54
+perlmonkey2:P22:54
+perlDreamer"Don't do what we do, just do what we say."22:54
+perlDreamerwell, after fixing several tests, it's time to look forward to tonight's smoke results22:54
+perlmonkey2don't get me wrong, these people are great to work for.  Just really 'good' people to be around.22:55
+perlDreamershould be about 1/3rd better than last night22:55
+perlmonkey2yay for happy smoke tests22:55
+perlmonkey2boo for having to write smoke tests22:55
+perlDreameryeah, if it wasn't for us awful dev's I wouldn't have to write tests at all!22:55
+perlDreamerCan't we all just agree to write perfect code?22:56
@preactionwriting smoke tests is awesome22:56
@preactionTest::WWW::Mechanize is fun, and Test::Deep makes long work short22:56
* perlDreamer is looking forward to learning from preaction's mech tests22:57
@preactionperlDreamer, your concerns on the bug list are valid, and i'll fix those in the t/_test.skeleton.mech22:58
@preactiondidn't know BAIL_OUT meant "kill prove"22:58
+perlDreamerI didn't either.22:59
+perlDreamerI'd like a BAIL_OUT that didn't kill prove22:59
+perlDreamermaybe I need to play with skip_all some more22:59
@preactioni've been playing with TAP::Harness, ::Parser, and ::Formatter, and though the API seems a bit wonky, there are some fun things one can do with them23:02
-!- BartJol [n=plainstu@52-167.surfsnel.dsl.internl.net] has quit [Read error: 104 (Connection reset by peer)]23:02
CIA-5WebGUI: colin * r6207 /WebGUI/t/Shop/Ship.t: fix some really bad testing code that was deleting a default shipper23:03
@preactionprove output has always sucked in my opinion, it should at LEAST write out the descriptions of the tests that did not pass, if not the comments afterward that usually say why the test did not pass23:03
@apeironpreaction, er, it does, at least in my experience.23:05
@preactionprove -r does?23:05
@preactionjust gives the test numbers for me23:05
@apeironOh, I use -v.23:05
@preaction-v also gives you all the "ok" as well. i don't care about passing tests (unless they're TODO)23:05
@apeironah.23:05
@preactionprove -r requires me to run things twice. once to get all the tests that are failing, and run the individual test to figure out why they're failing23:06
@apeironHm, do I smell a project to write YATAPP?23:06
@preactionactually, i've already got TAP::Formatter::Template almost done23:06
@apeironGoing on CPAN?23:06
@preactiontemplate toolkit formatter for TAP::Harness23:06
@preactionwhen it's ready, hopefully by beginning of next week23:06
@preactionif i can ever get them to change my PAUSE ID23:07
@apeironha. HAWKALOOGIE?23:07
@preactionyes23:08
@preactionold irc nick23:08
@preactionnot as PC as this one23:08
@apeironCannot find PAUSE ID 'HAWKALOOGIE', maybe you meant one of these23:08
@preactionhawkaloo23:08
@apeironLength restrictions?23:08
@preactionthere's an 8-char limit (or there was when i made that)23:08
@apeironhrm, still not found.23:09
@preactioni think i only released one set of modules23:09
@preactionreally?23:09
@apeironhttp://search.cpan.org/~hawkaloo/23:09
@apeironAh, s#/$#g/#23:09
@preactionhttp://www.cpan.org/authors/id/H/HA/HAWKALOOG/23:09
@preactionhuh... for being 4 years old, that's not bad code really. major style changes since then, but that's to be expected23:12
-!- wgGuest77 [n=wgGuest7@h8922066131.dsl.speedlinq.nl] has joined #webgui23:12
* apeiron nods.23:13
wgGuest77hello23:13
wgGuest77so am guest  7723:13
wgGuest77am new here i wonder if i can use webgui23:15
@preactionof course23:15
wgGuest77my website is cheap hosted u see23:15
@preactionnot on that webhost then23:15
wgGuest77i has perl23:15
wgGuest77mysql23:16
@preactionbut the netherlands has at least one budget hoster that does webgui23:16
wgGuest77dunno23:16
@preactionhaving perl and mysql isn't the issue, you need shell access, root privileges (probably), and Apache2 / mod_perl in order to use WebGUI23:16
wgGuest77k23:17
@preactionwgGuest77, i can't read dutch, but this may be interesting to you: http://www.procolix.com/veiligschaalbaarbeschikbaar/products/webgui-cms-hosting23:17
wgGuest77ill take a look23:17
@preactioni may be totally off-base too23:17
@preactionsince i'm only taking the fact that you have a *.nl hostmask as you live in the netherlands23:18
@preactionperlbot .nl23:18
perlbot.nl is Netherlands23:18
@apeironwgGuest77, WebGUI needs more things than a PHP webapp. It generally doesn't work well on cheap hosts.23:18
wgGuest77yes23:18
@apeironwgGuest77, But you can also do more with it than a typical PHP webapp. :)23:18
@preactionwww.plainblack.com/store has hosting as well, and online support23:18
wgGuest77webgui look cool23:18
@preactionhttp://www.unitedknowledge.nl/ <- another .nl host23:19
@apeironpreaction, Don't the .nl folks also have a WebGUI drink?23:20
@preactionthey do23:20
@preactionhttp://www.aulix.com/webgui-cms-hosting <- this is new. never seen these people before. and they're running the latest stable23:20
@apeironBasically the 'WebGUI drink' is a social event, you get together, have a few drinks, talk about WebGUI.23:20
wgGuest77cool23:21
@preactionthose aulix people seem to run webgui as their main site CMS as well23:21
@preactioni'm gonna have to find out more about them23:22
@apeironhttp://www.aulix.com/webgui-cms-hosting?op=theWg tee hee23:22
@preactionhum... they're russian23:23
@apeironI see a Moscow time zone notice in the 'contact us' section, which is interesting.23:23
wgGuest77i wonder if strato have it23:23
-!- wgGuest97 [n=wgGuest9@201.232.58.66] has joined #webgui23:26
wgGuest97hi23:26
wgGuest97i want to storage the score of the survey type quiz, how to do?23:28
wgGuest97?????????????????23:30
+perlDreamerInteresting comment about Zend in here: http://lwn.net/Articles/278966/rss23:31
@preactionperlbot patience23:31
perlbotThe people who help here are volunteers. Your attitude will determine how politely you are helped.23:31
+perlDreamernot only that, but someone else from your IP address has already been in here asking the same question23:32
@apeironperlDreamer, oh noes, next thing you know they'll make the PHP devs impelement namespaces!23:32
+perlDreamereek!23:32
@preactioni thought that's what PHP5 was supposed to do23:32
+perlDreamerI keep wondering why WebGUI gets no press23:32
@preactionwe're like those restaurants that nobody knows about that have the best food in the city23:33
wgGuest77thanks guys keep the good work bye23:34
-!- wgGuest77 [n=wgGuest7@h8922066131.dsl.speedlinq.nl] has quit []23:35
wgGuest97anyone?23:42
CIA-5WebGUI: colin * r6208 /WebGUI/t/Asset/AssetExportHtml.t: refactor out configPath storage duplication23:51
-!- SDuensin [n=Scott@228.sub-75-204-55.myvzw.com] has quit ["Leaving"]23:54
--- Day changed Tue Apr 22 2008
wgGuest97i can call the macro SQL with the params?00:08
wgGuest97i mean, for example, <tmpl_var survey_id>?00:08
@preactionyes00:08
wgGuest97how?00:08
@preaction^Macro(<tmpl_var survey_id>);00:08
@preactionmacros are processed last00:08
wgGuest97thanks00:09
wgGuest97don't woeks01:00
wgGuest97works01:00
@preactionperlbot doesn't work01:02
perlbotWhat do you mean it doesn't work?  What happens when you try to run it?  What's the output?  What's the error message?  Is it unemployed?  What did you expect to happen?  We need more information to help you.01:02
wgGuest97Processing failed on macro: ^prueba(<tmpl_var survey_id>);: Undefined subroutine &WebGUI::Macro::prueba::process called at /data/WebGUI/lib/WebGUI/Macro.pm line 145.01:04
wgGuest97and the syntax is ok01:04
@preactionis prueba in your config file? did you restart the web server?01:04
wgGuest97yes01:04
@preactionare you sure that WebGUI::Macro::prueba compiles okay?01:05
@preactiondoes the sub process exist?01:05
wgGuest97yes01:06
wgGuest97http://webgui.pastebin.org/3118201:07
@preactionyour package line is wrong01:07
wgGuest97i'm sorry, :$01:08
-!- topsub [n=josh@97.66.185.250] has quit [Remote closed the connection]01:09
wgGuest97again shows me error01:10
wgGuest97i call the macro prueba(<tmpl_var survey_id>);01:11
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui01:21
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit [Client Quit]01:25
-!- wgGuest97 [n=wgGuest9@201.232.58.66] has quit [Read error: 110 (Connection timed out)]01:36
-!- wgGuest94 [n=wgGuest9@201.232.58.66] has quit [Read error: 110 (Connection timed out)]01:37
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has quit ["Download Gaim: http://gaim.sourceforge.net/"]01:50
-!- wgGuest36 [n=wgGuest3@201.232.58.66] has joined #webgui01:59
wgGuest36?01:59
-!- wgGuest36 [n=wgGuest3@201.232.58.66] has quit [Client Quit]02:03
-!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has joined #webgui02:09
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI02:11
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui02:40
-!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui03:11
-!- mode/#webgui [+v Radix-wrk] by ChanServ03:11
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit [Read error: 110 (Connection timed out)]04:17
CIA-5WebGUI: perlmonkey2 * r6209 /branch/WebGUI_Survey2/www/extras/wobject/Survey/ (3 files in 2 dirs): added many new features04:48
CIA-5WebGUI: perlmonkey2 * r6210 /branch/WebGUI_Survey2/lib/WebGUI/Asset/Wobject/Survey.pm: Same features as last commit04:48
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [Read error: 110 (Connection timed out)]05:05
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)]05:54
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui06:23
-!- mode/#webgui [+o preaction] by ChanServ06:23
-!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has quit ["Leaving"]06:36
CIA-5WebGUI: colin * r6211 /WebGUI/lib/WebGUI/Asset/Sku/Product.pm: handle renaming options, better comments in Sku/Product08:16
-!- patspam_ [n=patspam@ppp59-167-137-64.lns3.mel6.internode.on.net] has joined #webgui09:21
-!- patspam_ [n=patspam@ppp59-167-137-64.lns3.mel6.internode.on.net] has quit [Remote closed the connection]10:15
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui10:20
-!- Radix-wrk [n=Jesse@203.161.68.67] has quit ["Leaving"]10:44
-!- BartJol [n=plainstu@host2.procolix.com] has joined #webgui11:05
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)]12:06
-!- dadok [n=tickitim@160.134.dsl.syd.iprimus.net.au] has joined #WebGUI12:30
dadokoye i think 7.4.33 broke data forms12:31
-!- Haarg [n=haarg@24-196-80-80.dhcp.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"]12:37
CIA-5WebGUI: jt * r6212 /translations/Dutch/Dutch/ (17 files): update_from_translation_server13:13
-!- BartJol [n=plainstu@host2.procolix.com] has quit [Read error: 113 (No route to host)]13:22
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui13:23
-!- mode/#webgui [+o preaction] by ChanServ13:23
-!- dadok [n=tickitim@160.134.dsl.syd.iprimus.net.au] has quit []13:38
-!- BartJol [n=plainstu@host2.procolix.com] has joined #webgui13:46
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)]13:49
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has quit ["Leaving"]14:08
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui14:38
-!- mode/#webgui [+o preaction] by ChanServ14:38
-!- Haarg [n=haarg@24-196-80-80.dhcp.mdsn.wi.charter.com] has joined #webgui15:35
-!- mode/#webgui [+o Haarg] by ChanServ15:35
-!- SDuensin [n=Scott@85.sub-75-207-38.myvzw.com] has joined #WebGUI15:53
SDuensinGreetings.15:55
BartJolMorning15:56
-!- dionak [n=diona@97.66.185.250] has joined #webgui16:31
dionakgood morning...anyone awake yet? it's quiet.16:34
BartJolyes i am, for7 hours already16:35
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui16:36
-!- mode/#webgui [+v perlmonkey2] by ChanServ16:36
-!- topsub [n=josh@97.66.185.250] has joined #webgui16:55
-!- br4k3r_ [n=8389dbc6@bas3-ottawa10-1279549458.dsl.bell.ca] has joined #webgui17:19
br4k3r_sup yall17:19
br4k3r_i need to add a security classification to spectre emails17:19
br4k3r_where do these emails get generated from?17:21
BartJolmmm, don't know directly17:22
br4k3r_i'm up to my eyeballs in perl module script ;)17:23
BartJolwel that's for certain17:24
-!- wgGuest66 [n=wgGuest6@201.232.58.66] has joined #webgui17:38
BartJolbut br4k3r_ I'm afraid I can't help you17:38
wgGuest66what is name of the variable survey in the template?17:39
BartJolyou mean the label?17:40
BartJolsurvey.label17:40
wgGuest66the id17:41
BartJolSurvey_id17:42
BartJolbut as in the help: it is differnt from the asset id17:42
BartJolyou can put this function behind your url ?op=viewHelp;hid=survey%20template;namespace=Asset_Survey17:43
BartJolthat's the help17:43
wgGuest66i need the variable for pass like a param to a macro17:45
BartJolwell, just put it in a link17:46
BartJolthat should work17:46
BartJola href="url?myfunc=<tmpl_var Survey_id">blabla</a>17:48
BartJolwell that's hoy you can pass param's to macros anyway17:49
wgGuest66macro(<tmpl_var Survey.id>);17:51
BartJoleven that should work, because macros should be executed later than tmpl_vars17:52
BartJoleeeh17:53
BartJolwait17:53
BartJolnow we're doing two things mingled17:53
BartJolif you do it with the link an extra form parameter is passed with the macro when it's requested17:54
BartJolit's extra17:55
BartJolwith you're technique, you're just passing a predefined value into the macro17:56
BartJoldo uou understand me?17:56
BartJolexcept for my lousy typing?17:56
BartJoldo you always want to pass the id to the macro? is the question eventually17:59
wgGuest66mmmm, yesterday preaction told me18:00
BartJolwhether you want that or not?18:00
BartJolOk, what do you want to do: is it18:02
BartJolA: I want different results for an action (clicking on a link) of a user, depending on the link the user clicked18:03
wgGuest66i want obtain the survey id for calculate the score, and storage in a data base different of the webgui18:03
BartJolB: same results for a user18:03
BartJolmmm18:04
BartJolyou're programming the macro yourself then?18:04
BartJolwell, since it's the results of a survey, macro(<tmpl_var>); should work18:05
wgGuest66<tmpl_var> only?18:07
wgGuest66or <tmpl_var Survey_id>?18:08
BartJolno, with Survey_id of course18:08
wgGuest66don't works18:08
BartJolbut are you programming it yourself?18:08
wgGuest66yes18:09
BartJolwhat macro do you use18:09
BartJolwell18:09
BartJolcan you put the code in pastebin?18:09
wgGuest66yes, wait me18:09
wgGuest66http://webgui.pastebin.org/3132918:10
BartJoldo you get an error message when doing (in /data/WebGUI/lib with your environment set) perl -c /data/WebGUI/lib/WebGUI/Macro/Mymacro.pm ?\18:13
BartJoland my macro is called prueba?18:13
wgGuest66yes, prueba18:13
BartJolwell please do that18:13
BartJoljust take the filename, not just prueba18:14
wgGuest66syntax error at /data/WebGUI/lib/WebGUI/Macro/prueba.pm line 15, near "use strict"18:14
BartJolwell18:14
BartJolso your code is not good18:15
wgGuest66yes, but which is the error?18:15
wgGuest66use strict; is well, not?18:15
BartJolyes, maybe put a line 18:15
BartJoluse warnings; as well18:15
BartJoland use lib? where does it say something like that in the api?18:16
BartJolcan't imagine really18:17
BartJolbut that might be my mistake18:17
wgGuest66i use the lib in another macros, and works18:17
BartJolexact same syntax? well ok18:17
BartJolnever seen that18:18
wgGuest66ok, and i erase this line18:18
BartJolwell just comment it18:19
BartJoland then the perl -c thingy again18:19
wgGuest66now shows me18:22
wgGuest66syntax error at prueba.pm line 17, near "sub process "18:22
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has left #webgui []18:23
BartJolah18:23
BartJolstrange, on my server it works18:25
BartJoldid you reaaly set your environment?18:25
BartJol. /data/wre/sbin/setenvironment.sh18:25
BartJolwell?18:28
BartJolor do you not use the wre?18:28
BartJolwhat webgui version are you running anyway?18:28
BartJolI've gotto go in 15 minutes18:29
wgGuest667.4.3218:30
BartJoland wre 0.8.3?18:30
BartJolyour sql statement won't work by the way18:31
BartJolbut that's a worry for later18:31
-!- wgGuest66 [n=wgGuest6@201.232.58.66] has quit []18:31
-!- wgGuest26 [n=wgGuest2@201.232.58.66] has joined #webgui18:32
@apeironwgGuest26, The code that's at http://webgui.pastebin.org/31329 is what you're running and it's giving you syntax errors?18:33
wgGuest26yes18:34
BartJolyes it is18:34
@apeironwgGuest26, You're sure you're running perl v5 and not v4 by some chance, yes?18:34
@apeiron(i.e., make sure you're running the perl that wG uses)18:35
BartJolthat was my question on wre en setting the environment :)18:35
@apeironBartJol, Indeed.18:35
BartJolbut apeiron can you take over, gotta go18:35
@apeironwgGuest26, perl -v should say something like "This is perl 5.xx, built for something-something-something"18:35
wgGuest265.8.818:36
@apeironhrm. peculiar.18:36
@apeironwgGuest26, You copied this from the macro skeleton, right?18:36
wgGuest26yes18:37
@apeironokay, wow.18:37
@apeironI downloaded it from the pastebin and it runs fine for me.18:37
@apeironWell, perl -c anyway.18:37
-!- BartJol [n=plainstu@host2.procolix.com] has left #webgui []18:38
@apeironwgGuest26, If you copy the _macro.skeleton to a new .pm file and run it under perl -c, does it still fail?18:39
-!- lisette [n=chatzill@201.232.58.66] has joined #webgui18:39
@apeironWe could look at the file and analyze it to be sure each byte is what we think it is and that there aren't any nonprinting characters getting in the way, but it's faster to just copy the skeleton and start anew if that's not breaking.18:41
wgGuest26yes?18:41
@apeironwgGuest26, If you do: cp _macro.skeleton mymacro.pm; perl -c mymacro.pm , it still fails?18:42
lisettewait me18:43
lisette:)18:43
lisettei'm wgGuest2618:43
@apeironlisette, Ah!18:44
lisette_macro.skeleton syntax OK18:44
@apeironGood, good. That then means that it's something specific to prueda.pm .18:44
-!- wgGuest26 [n=wgGuest2@201.232.58.66] has quit []18:44
lisetteyes18:45
lisettebut i don't found18:45
@apeironMore curiously, something in prueda.pm that the pastebin stripped because it works fine for me.18:45
@apeironI would say, since the file is short, start another copy of it.18:45
@apeironWe could look at it byte by byte, but the important thing is getting it to work, not a forensic analysis of the file. :)18:46
lisettemmmm18:46
@apeironIf you *want* to look at it byte-by-byte, you can use: od -bc prueda.pm18:46
@apeironThat'll dump out the file, printable and nonprintable characters, and will show you their octal values.18:47
lisettei make another macro with the same code, perl -c: Trivia.pm syntax OK18:49
lisettei don't understand the problem.18:50
lisettebut i continue works in this macro, and the other i will erase18:50
@apeironProbably some unprintable character or something got into it and the pastebin stripped it.18:50
@apeironSomething your editor didn't show you so you couldn't see it to erase it.18:50
lisettei see this macro with vim18:51
@apeironYeah. vim doesn't print unprintable characters, at least not by default. :)18:51
lisettemmm i work by ssh18:52
br4k3r_anyone have an idea how I can edit the spectre generated emails18:52
lisetteand i don't gnome, or kde18:52
lisettei don't have18:52
br4k3r_to add a security classification in the body of the message18:52
lisettesorry18:52
lisettewhere i must to call the macro, in the metadata from the survey?18:55
lisettethe <tmpl_var Survey_id> send like a param for the macro, in the metadata of the survey, the macro works, but i return the survey_id, and this variable don't contain anything19:00
lisettethere is another way from to pass the param of survey_id?19:01
-!- lisette_ [n=chatzill@201.232.58.66] has joined #webgui19:05
lisette_the <tmpl_var Survey_id> send like a param for the macro, in the metadata of the survey, the macro works, but i return the survey_id, and this variable don't contain anything. T19:05
lisette_here is another way from to pass the param of survey_id?19:05
-!- jfluhmann [n=jfluhman@x174y236.angelo.edu] has joined #webgui19:11
-!- lisette [n=chatzill@201.232.58.66] has quit [Read error: 110 (Connection timed out)]19:23
CIA-5WebGUI: perlmonkey2 * r6213 /branch/WebGUI_Survey2/lib/WebGUI/Asset/Wobject/Survey.pm: Next Question Bug fixed19:30
+perlmonkey2oh man, CIA is keeping tabs on me.19:31
-!- lisette_ is now known as lisette19:59
@apeironYep.20:04
@apeironGotta be careful what you code, 'cause the CIA's watching.20:05
-!- jua1 [n=juangui@201.232.58.66] has joined #webgui20:19
-!- br4k3r_ [n=8389dbc6@bas3-ottawa10-1279549458.dsl.bell.ca] has left #webgui []20:50
-!- lisette [n=chatzill@201.232.58.66] has quit [Read error: 113 (No route to host)]21:14
CIA-5WebGUI: chrisn * r6214 /WebGUI/lib/WebGUI/Form/_control.skeleton: remove evil dastardly hard tabs, replace with spaces21:52
dionaki have a pending version tag but no waiting or suspended workflows in spectre.21:53
dionakam i missing something?21:53
dionakobviously i am.. 21:54
dionakah, good ol' JSON21:55
dionakCouldn't execute operation : WebGUI::Operation::VersionTag::www_commitVersionTagConfirm. Root cause: Can't locate object method "autoconv" via package "JSON" at /data/wre/prereqs/lib/perl5/site_perl/5.8.8/JSON.pm21:55
nubaI used to be afraid of JSON when I was a little kid and he was starring in the Friday 13th series21:57
dionakyea, he was super scary21:57
dionaki've still never made it through a whole movie21:57
-!- cap10morgan [n=cap10mor@ool-4570c4f3.dyn.optonline.net] has joined #webgui22:11
cap10morganI'm hitting a bottleneck with memory usage on my web server. Specifically the mod_perl instances are using up all my RAM. I already have MySQL on another server, and I'm running 4GB of RAM in a 32-bit server. What would you all recommend? Move to 64-bit w/ more RAM, load balancing, or more separation of tasks onto other servers (such as using a dedicated mod_proxy front-end server and a dedicated mod_perl back-end server)?22:13
-!- lisette_ [n=chatzill@201.232.58.66] has joined #webgui22:23
-!- lisette_ is now known as lisette22:23
dionakhow much traffic are you serving?22:36
cap10morganwell, hard to say in the usual sense because our web stats are on the fritz22:40
cap10morganbut i'm maxing out at 120 simultaneous connections22:41
cap10morgancurrently22:41
cap10morganand quite often need to go higher22:41
cap10morganbut sometimes the server can't even handle that and crashes anyway22:41
-!- metanil [n=akhadka@137.48.138.72] has left #webgui []22:42
cap10morganbrb...22:42
-!- cap10morgan [n=cap10mor@ool-4570c4f3.dyn.optonline.net] has quit []22:44
CIA-5WebGUI: yung * r6215 /WebGUI/ (docs/changelog/7.x.x.txt lib/WebGUI/Asset/Wobject/Thingy.pm): fixed: Thingy: thing view screen always displays all fields23:02
-!- topsub [n=josh@97.66.185.250] has quit ["Leaving"]23:08
dionaki've got a version tag hanging out, uncommitted, because of the earlier JSON error. 23:29
dionakany ideas on how to force the commit?23:29
--- Day changed Wed Apr 23 2008
-!- SDuensin [n=Scott@85.sub-75-207-38.myvzw.com] has quit ["Leaving"]00:01
-!- apeiron is now known as c[00:12
-!- c[ is now known as apeiron00:12
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui00:24
-!- dionak [n=diona@97.66.185.250] has quit []00:47
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit [Remote closed the connection]00:58
-!- jua1 [n=juangui@201.232.58.66] has left #webgui []01:20
CIA-5WebGUI: yung * r6216 /WebGUI/ (docs/changelog/7.x.x.txt lib/WebGUI/Asset/Wobject/Thingy.pm): fixed: Thingy: search result "sort by" not working01:40
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [Read error: 110 (Connection timed out)]02:43
-!- lisette [n=chatzill@201.232.58.66] has quit [Read error: 113 (No route to host)]03:10
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Connection timed out]03:13
-!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui03:25
-!- mode/#webgui [+v Radix-wrk] by ChanServ03:25
-!- khenn [n=khenn@24-159-239-186.dhcp.mdsn.wi.charter.com] has joined #WebGUI04:41
-!- mode/#webgui [+o khenn] by ChanServ04:41
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui05:09
-!- mode/#webgui [+v perlmonkey2] by ChanServ05:09
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI05:25
-!- perlDreamer [n=colink@pool-96-225-218-144.ptldor.fios.verizon.net] has joined #webgui05:37
-!- mode/#webgui [+v perlDreamer] by ChanServ05:37
+perlDreamerperlmonkey2!05:37
+perlDreamerYou've been voiced!05:38
+perlDreamercongrats, man.05:38
+perlmonkey2voiced?05:38
+perlmonkey2I know that has something to do with IRC, but I don't know what it is except I have a little sound icon next to my name in the list.05:39
+perlDreamerdepending on the channel, I think it gives you some super powers05:39
+perlDreameryou know, just the basic ones05:39
+perlDreamerhigh strength, dynamic athletic ability, resistance to normal wounds, etc.05:40
+perlmonkey2help voice only gives a little info05:40
+perlmonkey2hah05:40
+perlDreamerwtf!05:43
+perlDreamerBricolage is in the Google Summer of Code!05:44
+Radix-wrk+2 vs newbie questions05:45
+perlDreamerha!05:49
+perlDreamerwhoa06:01
+perlDreamerextjs switches to GPL06:01
+perlDreamerisn't that one of the reasons we switched to YUI?  licensing problems?06:01
+perlmonkey2I think so06:06
-!- Radix-wrk [n=Jesse@203.161.68.67] has quit ["Leaving"]06:21
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [Read error: 110 (Connection timed out)]06:23
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui06:24
-!- mode/#webgui [+o preaction] by ChanServ06:24
+perlDreamerpreaction: koen wants to know what platform your smoke tests run on.06:26
@preactionDebian Etch06:27
+perlDreamerthanks!06:27
+perlDreamerapeiron didn't convert you to the Way of *BSD?06:27
@preactionhe didn't have to, i already liked FreeBSD and OpenBSD, but it was OpenBSD that was causing my problems with the test box06:28
@preactionso my new computer policy is: OpenBSD for firewalls, gateways, routers; Debian for servers; OSX for normal use; Windows for games06:29
@apeironperlDreamer, I had an idea today as I was fixing a skeleton file.06:30
+perlDreameryes?06:30
@apeironperlDreamer, Hard tabs are icky.06:30
+perlDreamerexactly06:30
@apeironAnd we have hard tabs in the core.06:30
+perlDreamerI'm a reformed tabber.06:30
@apeironLikewise.06:30
+perlDreamerso what are you thinking?06:31
@apeironSo, why not start eliminating them?06:31
+perlDreamerThey are being eliminated, but slowly06:31
@apeironAh.06:31
@apeironI had the idea in my head to start doing so as a side-project.06:31
+perlDreamerBoth rizen and I have tried perl-tidy on the WebGUI source06:31
+perlDreamerand the outputs don't pass the test suite06:31
@apeironBut I want to also write tests for making sure we don't put in any more.06:31
@apeironAnd I'm wondering about how the best way to do that would be.06:31
+perlDreamerPerl::Critic06:31
+perlDreamerI'd guess that somebody wrote a tab policy06:32
@apeironhrm.06:32
@preactionit's in PBP06:32
@apeironI didn't know P::C could look at Perl code that way.06:32
@apeironYes, it's in PBP.06:32
@preactionthere's a policy for everything in PBP06:32
@apeironhrm.06:32
@apeironI guess that policy may just not use PPI.06:32
@apeironanywho.06:33
+perlDreamerPerl::Critic::Policy::CodeLayout::ProhibitHardTabs06:33
@apeironExcellent!06:33
+perlDreamerThere is a small perl critic policy in the core already06:33
+perlDreamer/data/WebGUI/lib/.perlcriticrc06:33
@apeironah, very nice.06:34
-!- khenn [n=khenn@24-159-239-186.dhcp.mdsn.wi.charter.com] has quit []06:34
+perlDreamerand just so you know, we don't pass that one yet.06:34
* apeiron nods.06:34
@apeironHeh, http://search.cpan.org/~elliotjs/Perl-Critic-1.082/lib/Perl/Critic/Policy/CodeLayout/ProhibitHardTabs.pm06:34
@apeiron"Putting hard tabs in your source code (or POD) is one of the worst things you can do to your co-workers and colleagues"06:35
+perlDreamerIn the words of that eminent sage, Arthur Fonzarelli, "Exactamundo!"06:37
+perlDreamertest++06:39
+perlDreamertest++06:40
+perlDreamerperlDreamer-- for committing code that isn't perl -wc clean :(06:40
@apeironIt happens, just learn from the experience and try not to do it again.06:41
@apeironThat's the best any of us can do, y'know?06:49
+perlDreamerindeed06:50
-!- Haarg [n=haarg@24-196-80-80.dhcp.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"]06:50
+perlDreamertest++06:52
+perlDreamerthat means all the Shop tests are working again.06:52
+perlDreamerany news from the rizenator?06:56
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit ["Leaving"]07:02
@apeironNope, he's been conferencing as far as I know.07:02
CIA-5WebGUI: colin * r6217 /WebGUI/t/Shop/Tax.t: Let 0 be a valid tax rate in the tests.07:03
CIA-5WebGUI: colin * r6218 /WebGUI/t/Shop/PayDriver.t: update PayDriver to match new module code07:03
CIA-5WebGUI: colin * r6219 /WebGUI/t/Asset/File.t: 07:03
CIA-5WebGUI: Temporary fix for File.t. This test should be rewritten to use07:03
CIA-5WebGUI: WebGUI::PseudoRequest (I think).07:03
+perlDreamerWanted: coder eager to learn WebGUI testing to do small test rewrites and refactors.07:03
+perlDreameras suggested by that last Commit message07:04
+perlDreamerapeiron: still conscious?07:17
@apeironperlDreamer, Yep.07:17
+perlDreamerI'm going to commit a fix for Spectre/Workflow.t, but without a WRE I can't test it.  Could you do it for me?07:17
@apeironWill do.07:17
+perlDreamercommit #622007:17
+perlDreamerit's just jsonToObj -> from_json, but still, a double check won't hurt07:18
* apeiron nods.07:18
@apeironLaptop with wG bits is booting07:19
+perlDreamerI need to install the WRE07:21
* perlDreamer resolves to recompile one after upgrading to FC907:21
@apeironI think, but I'm not sure, that you can download a VMWare Player for free.07:22
@apeironAnd we have a VMWare image up on webgui.org.07:22
@apeironSo you could boot that, and that runs the WRE.07:22
@apeironI think it's Ubuntu, not sure, I've never used it.07:22
CIA-5WebGUI: colin * r6220 /WebGUI/t/Spectre/Workflow.t: Spectre/Workflow.t needed a JSON update, too07:22
+perlDreamerthe client OS wouldn't matter on a VMWare image07:23
@apeironUnless you wanted to fiddle with it.07:23
@apeironLike, say, put svn on it to check out new code. :)07:23
+perlDreamertrue07:24
@apeironperlDreamer, webgui.pastebin.com/m7064cc4a07:31
@apeironThat's SVN head and a 0.8.3 WRE.07:32
+perlDreamercool!07:32
+perlDreamerI'm not sure about that TODO passed stuff yet, though.07:32
@apeironhrm07:33
@apeironMay want to dump the data you're getting back and see how it compares to what you expect.07:33
+perlDreamerTrue.07:33
+perlDreamerNormally, TODO tests are built to fail07:33
@apeironright.07:33
+perlDreamerthat way, when the pass, they can be unmarked as TODO07:34
@apeironLike #8-9, #16-17.07:34
+perlDreamerwell, the test is running for now, and based on the embedded comments, those passes/failures will change based on what happens to be in the queue.07:36
+perlDreamerit will take further thinking07:36
@apeironYeah. I'm running it again and getting different results.07:37
@apeironThat's why I marked those tests as TODO. :)07:37
* apeiron actually wrote those tests, now that he considers the matter more closely.07:37
+perlDreamerIt was good planning.07:37
+perlDreamerOnce there's a way to shove stuff in the queue, those tests will be good.07:38
+perlDreamerIn any case, time for me to crash out tonight07:38
* apeiron nods.07:38
+perlDreamerback to $dayJob tomorrow07:38
@apeironG'night then and thanks. :)07:38
-!- perlDreamer [n=colink@pool-96-225-218-144.ptldor.fios.verizon.net] has quit ["Leaving."]07:38
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has quit [Read error: 110 (Connection timed out)]08:27
-!- Haarg [n=haarg@24-196-80-80.dhcp.mdsn.wi.charter.com] has joined #webgui08:45
-!- mode/#webgui [+o Haarg] by ChanServ08:45
-!- ryuu_ro [n=rory@gw.oqapi.nl] has joined #webgui10:01
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui10:38
-!- mode/#webgui [+o preaction] by ChanServ10:38
-!- BartJol [n=plainstu@host2.procolix.com] has joined #webgui10:39
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit ["Leaving"]11:59
CIA-5WebGUI: graham * r6221 /branch/WebGUI_7.4/ (lib/WebGUI/Form/Email.pm docs/changelog/7.x.x.txt): fixed: email validation rejects periods12:07
CIA-5WebGUI: graham * r6222 /branch/WebGUI_7.4/ (2 files in 2 dirs): fixed: day/week/month tabs non-functional on calendar search screen12:07
CIA-5WebGUI: graham * r6223 /branch/WebGUI_7.4/ (4 files in 3 dirs): fixed: Date and time fields show raw data on list view12:07
CIA-5WebGUI: graham * r6224 /branch/WebGUI_7.4/docs/create.sql: preparing for 7.4.34 release12:08
CIA-5WebGUI: jt * r6225 /translations/Swedish/Swedish/Asset_Post.pm: update_from_translation_server12:54
BartJolwhahoo, more translations!12:57
CIA-5WebGUI: jt * r6226 /releases/WebGUI_7.4.34-stable: Release 7.4.34-stable14:54
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui15:12
-!- mode/#webgui [+v perlmonkey2] by ChanServ15:12
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui15:22
-!- mode/#webgui [+o preaction] by ChanServ15:22
-!- lisette_ [n=chatzill@201.232.58.66] has joined #webgui15:26
-!- lisette_ is now known as lisette15:26
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI15:33
SDuensinMorning.15:36
-!- wgGuest30 [n=wgGuest3@216.239.196.100] has joined #webgui16:00
+perlmonkey2g'morning16:01
wgGuest30Good afternoon (here!)16:01
+perlmonkey2I wish it were afternoon here.  I've ran out of interesting things to work on for the survey system and am doing tidying up/visual things.16:02
+perlmonkey2a long day of boring16:02
wgGuest30I'm running test trying to figure out why my system is dying, and meantime researching CMS alternatives, hence this visit16:03
wgGuest30Just scouting about trying to figure out why one CMS is/isn't better than the next.16:04
+perlmonkey2well i fyou need commercial grade CMS's and want to use open source, this is your stop.16:04
wgGuest30we use a commercial product now and have a bespoke app, but it's a monster. Seen 'Cloverfield'? It's like that.16:05
+perlmonkey2wG is a little more difficult to install than most FOSS CMS's, but that is because it provides much higher levels of performance.  16:05
+perlmonkey2Using the WRE, I can get about 3 pages per second rendered off my old P4 2.8Ghz using an old drive.  That is about 3x as fast as the Plone install I had.16:06
+perlmonkey2The WRE is a preconfigured/optimized runtime, bundled with all the libs you need to run wG.  It takes about 2 minutes to get set up and running.  16:07
+perlmonkey2which commercial product do you use now?16:07
wgGuest30we wouldn't buy anything without support anyhow. Open source holds little fear for me but the company might think differently. So I have a double job.16:07
+perlmonkey2Well Plainblack certainly offers support packages.16:08
+perlmonkey2I've dealt with Oracle's CMS and their *support* and I'd feel a lot better if I was going with Plainblack.  *disclaimer* I'm not employed by Plainblack and only work on wG as a hobby.  My main job isn't even closely related to writing CMS code.16:10
wgGuest30we use Lotus Domino. Superb for many things (best groupware app on the planet) but for web serving it isn't my choice.16:11
+perlmonkey2Oracle had given us 100K of free consulting with our purchase.  They managed to burn through that with $5k/week consultants without getting a thing done.  Then once we were actually paying for consultants, they "got tough on the problem" and sent in the "top developers" and wracked up another $250K in consulting fees before the project was able to limp along, barely functioning.  16:11
wgGuest30lol. Sounds familiar! IBM don't do that. They just don't answer the phone. No help, but cheaper.16:15
-!- bopbop [n=kmccombs@71-90-131-140.dhcp.mdsn.wi.charter.com] has joined #webgui16:17
+perlmonkey2well, it was a large project, thus the cost.  But half the problem was single sign on and making it work with a commercial education management application, with 40K concurrent users.  I really think using openldap and webgui, we would have had light years more functionality, much easier integration with the education management system, a much more robust system, and much cheaper hardware.  But it isn't my problem anymore as I decid16:19
wgGuest30gotta go. Things are melting here. Nice talking to you perlmonkey2. Cheers.16:19
-!- jfluhmann [n=jfluhman@x174y236.angelo.edu] has left #webgui ["Open Source Symposium - http://www.texasoss.org/"]16:19
+perlmonkey2hasta wgGuest30 have a good one.16:19
-!- wgGuest30 [n=wgGuest3@216.239.196.100] has quit []16:20
* perlmonkey2 probably shouldn't be in sales16:20
+perlmonkey2No one here happens to know how to make sure all the YUI buttons in a group are the same size, do they?  16:22
+perlmonkey2I guess having different sized buttons in a survey might lead to bias towards the larger buttons.16:22
-!- dionak [n=diona@97.66.185.250] has joined #webgui16:26
+perlmonkey2I have a solution, which is to make it so that all the scaling questions dont' have text displayed in their buttons, but rather the first and last buttons' text is displayed to the left and right of the scale.  Then all the buttons will be equally small.  But if a user wants a scaling question with text in every button, the first and last will be empty, with their text off to the sides, and the rest of the buttons will be of differe16:26
+perlmonkey2Perhaps make all the buttons a tables with the row headers being their text.  16:27
+perlmonkey2I like it.  Yay for talking to myself.16:27
-!- BartJol [n=plainstu@host2.procolix.com] has quit [Read error: 113 (No route to host)]16:32
-!- topsub [n=josh@97.66.185.250] has joined #webgui16:40
+perlmonkey2there really isn't anyway around 35ms queries?  I'm trying to optimize DB tables, and just on simple primary keys is giving me, at best, 35ms.  If you do 10 of those, you can really eat up some time.16:45
+perlmonkey215 of those and people will start to notice.16:46
+perlmonkey2never mind if several people are doing this at the same time.16:46
lisettehow to get tha survey_id for the pass like a param to a macro?16:54
-!- lisette_ [n=chatzill@201.232.58.66] has joined #webgui17:06
+perlmonkey2lisette I don't understand that question, sorry.17:19
-!- lisette [n=chatzill@201.232.58.66] has quit [Read error: 113 (No route to host)]17:25
-!- d214 [n=d214@fvec-nat.d214.org] has joined #webgui17:29
d214can anyone help with a database link issue? i just posted the log on the board17:30
-!- ryuu_ro [n=rory@gw.oqapi.nl] has quit []17:33
-!- crythia1 [n=gyoung@fl-69-68-148-96.sta.embarqhsd.net] has joined #webgui17:39
-!- mode/#webgui [+v crythia1] by ChanServ17:39
lisette_i need the survey id to process the score17:39
-!- crythia1 [n=gyoung@fl-69-68-148-96.sta.embarqhsd.net] has left #webgui []17:40
lisette_and i make a maco to this, but when i try to call the macro: ^macro(<tmpl_var Survey_id>); i print the variable that containt the surveyId, and don't containg anything17:41
d214how can I correct this: ERROR - spectre.conf - POE::Kernel::_dispatch_event[1012] - WORKFLOW: Response for BGHS - rwlsAFz9CJjHk_6rx70TsA had a communications error.18:09
ckotild214: do you have any pending version tags? 18:24
ckotilif so they can throw that error18:25
d214when i try to comitt i get an error: Couldn't fetch Spectre configuration data for BGHS.conf18:27
ckotilhrmm, are you spectre settings configured correctly in BGHS.conf?18:37
d214"spectreIp" : "127.0.0.1",18:38
d214   "spectreSubnets" : [18:38
d214      "10.0.0.0/8",18:38
d214      "127.0.0.1/32"18:38
d214   ]18:38
d214i don't recall setting it manually18:39
ckotilI use my public facing IP.18:45
ckotili recall having problems using localhost when i first installed webgui.18:47
d214how can i edit it18:48
ckotilim not entirely sure how to edit it on the wre, but you should just have to edit it in BGHS.conf18:49
CIA-5WebGUI: colin * r6227 /WebGUI/lib/WebGUI/Asset/Sku/Product.pm: editSaveParameterOptions18:57
-!- wgGuest76 [n=wgGuest7@201.232.58.66] has joined #webgui19:05
wgGuest76Hi 19:05
wgGuest76I have a question19:05
wgGuest76How can i to restrict the max-characters in the field <tmp_var title.form> in a colaboration system (default submission form)19:06
d214has anyone bought the admin book and does it help with installation?19:19
ckotili bought it for ldap implementation. lemme thumb through it for installation.19:20
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Connection timed out]19:21
ckotilits OK. doesnt seem to offer any more help than the online instructions do19:22
d214which online instructions? i am still getting  Couldn't fetch Spectre configuration data for BGHS.conf19:27
d214i changed the ip from local host and restarted spectre19:27
ckotilthese guys http://www.webgui.org/community-wiki/installing-wre-0.8.019:40
d214thats what we used. just wanted to make sure there wasn't something else out there19:43
ckotilso you tried setting spectreIP: to your public IP? and also setting spectreSubnets to publicIP/32 ?19:45
ckotiliirc, thats how i overcame my spectre communication issue.19:45
lisette_hello19:49
lisette_how to do a macro with a consult to the database of webgui, i have my $sql=Select......., and how to execute?19:49
topsub$dbh->write($sql);19:51
topsub?19:51
lisette_$dbh is a database link? no?19:52
topsubdatabase handle19:52
topsubconnection to the database19:52
lisette_besides, the "write" is for updates and inserts19:52
lisette_but when i have a database different use $dbh19:52
topsubdo a quickArray()19:53
lisette_then, i have to do my $result = $dbh->execute(); ?19:53
ckotillook at package WebGUI::Macro::AOIHits;19:54
ckotiltheres a good example there19:54
lisette_thanks19:54
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has joined #webgui19:59
-!- mode/#webgui [+v perlDreamer] by ChanServ19:59
+perlDreamerFind JT and PB at YAPC::NA20:00
+perlDreamerIs that like Where's Waldo?20:00
ckotili think so, if they have that red & white striped hat on20:09
CIA-5WebGUI: perlmonkey2 * r6228 /branch/WebGUI_Survey2/lib/WebGUI/Asset/Wobject/Survey.pm: Adding multiple choice subclass of scale type questions, only difference is answer text location (above button).20:23
CIA-5WebGUI: perlmonkey2 * r6229 /branch/WebGUI_Survey2/www/extras/wobject/Survey/ (4 files in 3 dirs): Adding multiple choice subclass of scale type questions, only difference is answer text location (above button).20:23
dionakthat's a funny image20:23
lisette_how to get the result from my $count = $session->db->buildArray($sql); i need the contain, and this line gives me a index, how to?20:25
dionak?20:25
ckotilin that example it returned $count. and you say that is an index?20:27
ckotilwith macro's what ever is returned gets displayed in the template.20:28
lisette_i mean the $count returns me a 1, i need the contain that is another stuff20:29
ckotiland the query returns something other than 1?20:31
lisette_yes20:32
-!- lisette_ is now known as lisette20:33
ckotilhrm, there must be another to query the db from a macro then.20:35
ckotilive never done it.20:35
@apeironckotil, http://www.mobofwaldos.com/2006/10/30/how-to-sew-a-wheres-waldo-hat/20:36
ckotilheh20:37
+perlDreamermy @sqlResults = $session->db->buildArray($sql); ##returns an array, not an array ref20:37
lisettemmm and how to solve?21:12
lisettei have  my $count = $session->db->buildArray($sql); 21:13
lisetteis wrong?21:13
+perlDreameryes21:13
+perlDreamermy @sqlResults = $session->db->buildArray($sql);21:13
+perlDreamerput the results into an array, not a scalar21:13
lisetteok21:13
lisettethanks21:13
@apeironIf you want an array ref, ask and ye shall receive: $session->db->buildArrayRef($sql); :)21:13
lisettethanks21:15
+perlDreamerputting it into a scalar will give you the number of elements of the array21:15
lisettethe query returne me a string21:15
@apeironFor reference:21:16
@apeironperlbot, context21:16
perlbothttp://perl.plover.com/context.html21:16
+perlDreamerThe query is something like "select string from database"?21:16
lisetteselect Survey_Id from Survey where assetId= ?;21:26
lisettei chage buildArray by buildArrayRef, and now return me a zero21:27
lisetteen que otra macro diferente de AOIHits hay ejemplos de SQL?21:29
+perlDreamerwhen you work with Asset tables, you always have to consider the revisionDate, as well as the assetId.21:29
lisettede que otra forma puedo obtener el survey_id?21:29
topsubI am trying to do a userImport and its skipping my 7 lines of test data. I have "username" and "firstname", "lastName" all in the tabbed csv file but its still skipping.. Any suggestions?21:33
+perlDreamerbad CSV file?21:33
+perlDreamerlisette, when debugging SQL, it's always good to try it out on the command line21:33
+perlDreamermysql -u webguiAccountName -p webguiPassword webguiDbName21:34
+perlDreamerselect survey_id from Survey where assetId="myAssetId";21:34
lisettei to do this21:34
+perlDreameryes21:35
CIA-5WebGUI: perlmonkey2 * r6230 /branch/WebGUI_Survey2/www/extras/wobject/Survey/administersurvey.js: 4 scales moved back to MC21:35
CIA-5WebGUI: perlmonkey2 * r6231 /branch/WebGUI_Survey2/lib/WebGUI/Asset/Wobject/Survey.pm: 4 scales moved back to MC21:35
lisetteyo ya estoy haciendo esa consulta21:37
topsubhmm don't believe so. its a tab'd csv file21:38
topsubits like its not finding the headers and being able to pull the usernames off the file21:38
* perlDreamer heads off to the gym. Be back later21:39
lisettei have a problem, i restart apache and i try login like admin, and show me Problem with request22:00
lisettehow to fix this?22:00
lisettealready22:19
dionakhave you checked the error log?22:29
-!- wgGuest76 [n=wgGuest7@201.232.58.66] has quit []22:32
lisetteya lo resolvi!22:48
-!- lisette [n=chatzill@201.232.58.66] has quit [Read error: 113 (No route to host)]23:09
-!- lisette [n=chatzill@Wimax-Mdlln-190-70-94-100.orbitel.net.co] has joined #webgui23:22
-!- d214 [n=d214@fvec-nat.d214.org] has quit []23:32
-!- lisette_ [n=chatzill@Wimax-Mdlln-190-70-94-100.orbitel.net.co] has joined #webgui23:38
-!- lisette_ [n=chatzill@Wimax-Mdlln-190-70-94-100.orbitel.net.co] has quit [Client Quit]23:38
-!- bopbop [n=kmccombs@71-90-131-140.dhcp.mdsn.wi.charter.com] has quit []23:42
-!- lisette [n=chatzill@Wimax-Mdlln-190-70-94-100.orbitel.net.co] has quit [Read error: 113 (No route to host)]23:56
topsubquestion.. I see i am not allowed to update core webgui.. I imported about 7890 users into webgui and made a custom form for them to edit there profile information but webgui is not allowing me to update the profileFieldData table23:57
--- Day changed Thu Apr 24 2008
+perlDreamertopsub: check that the username and password in your webgui config file are correct00:20
-!- topsub [n=josh@97.66.185.250] has quit ["Leaving"]00:41
-!- dionak [n=diona@97.66.185.250] has quit []00:44
CIA-5WebGUI: colin * r6232 /WebGUI/t/Asset/File/GalleryFile/Photo/edit.t: replace BAIL_OUT with a skip. It is okay to nest skips02:00
-!- Moontoo [n=baub@tole-bnn-rb1-10.dsl.bright.net] has joined #webgui02:08
+perlDreamerwhy, oh why, isn't there a "SKIP_THE_REST" option from Test::More or Test::Builder?02:15
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has quit ["Download Gaim: http://gaim.sourceforge.net/"]02:31
-!- snapcount [n=royjohns@andc-fw1.exploreos.com] has joined #webgui02:33
-!- mode/#webgui [+v snapcount] by ChanServ02:33
CIA-5WebGUI: jt * r6233 /translations/Slovenian/ (6 files in 2 dirs): update_from_translation_server03:30
+perlmonkey2Does the current commerce system allow you to sell items online with online transactions?05:25
-!- Moontoo [n=baub@tole-bnn-rb1-10.dsl.bright.net] has left #webgui []05:27
-!- snapcount [n=royjohns@andc-fw1.exploreos.com] has quit []05:41
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."]06:13
-!- snapcount [n=royjohns@97.101.11.121] has joined #webgui06:58
-!- mode/#webgui [+v snapcount] by ChanServ06:58
-!- snapcount [n=royjohns@97.101.11.121] has quit []08:23
-!- ryuu_ro [n=rory@gw.oqapi.nl] has joined #webgui08:58
-!- Rafa [n=Rafael@63.245.12.196] has joined #webgui09:01
Rafahello09:01
Rafais webgui the best cms?09:01
Rafawhat does webgui runs in php or asp?09:05
-!- Moontoo [n=baub@tole-bnn-rb1-10.dsl.bright.net] has joined #webgui09:08
@apeironRafa, Neither, WebGUI uses Perl, and 'best' is an entirely subjective judgment.09:08
@apeironRafa, Compare the CMSs that you have in mind: cmsmatrix.org09:08
@apeiron(note: large page, due to the large number of CMSs available for comparison)09:09
Moontoook, guess this is where i ask for help09:18
Rafaso how do i know if my server has perl?09:18
@apeironRafa, Emailing them and asking is probably the best way.09:19
@apeironRafa, Generally WebGUI needs more than you get with a cheap host, but you can do more with it as well.09:19
Rafai pay a good server 1and1.com09:19
Rafai guess09:19
@apeironRafa, Do you have root?09:19
Rafayea09:19
@apeironoh, excellent.09:20
@apeironThat's helpful.09:20
@apeironRafa, Easiest route is the WRE if you have the disk space. It's a downloadable archive that contains almost everything you need to use WebGUI, except for some basic stuff that's probably already installed (bash, etc.)09:21
+Radix_I second the WRE.. excellent way of installing webgui on a system09:21
Moontoowhat file is that?09:22
@apeironMoontoo, It's distributed in tarballs from webgui.org09:22
+Radix_WRE = WebGUI Runtime Environment09:22
+Radix_it packages up perl, apache, mysql, and everything you need to run webgui prettymuch09:22
Moontoobut what filename am i looking for09:23
+Radix_without the WRE it can be a daunting install.. as matching perl libraries and the like in most distro's is a bit of a mess09:23
@apeironRafa, Not to mention getting Apache tuned and set up in the same way, etc.09:23
+Radix_What OS are you using?09:23
@apeironer, oops09:23
Rafai got it it does09:24
+Radix_http://sourceforge.net/project/showfiles.php?group_id=51417&package_id=14891309:24
Rafagreat09:24
Rafai do have perl09:24
@apeironYou don't *need* perl if you use the WRE, technically.09:24
@apeironSince the WRE has its own perl.09:24
+Radix_most systems have perl, but not the additional perl libraries needed09:24
Rafado i need a mysql database09:25
Rafa?09:25
@apeironWebGUI uses MySQL as a datastore, but again, the WRE provides a MySQL installation.09:25
@apeiron... though if you're on a hoster you may want to / be able to use their DB.09:25
Moontoohrmm think that's what i wanted when i got this webgui-7.34-stable.tar.gz, which i can't find the index.pl file in.09:26
@apeironindex.pl ?09:26
@apeironMoontoo, Pages in WebGUI don't exist in the filesystem for the most part. They're kept in the database.09:26
+Radix_Moontoo: follow the installation instructions on webgui.org09:26
@apeironThere're a few exceptions for things like actual on-disk files you upload that you access directly, but other than that, it's in the DB.09:27
+Radix_there is no index.pl for webgui09:27
Moontooi'm using gentoo, i finnally got the apache to look in the right directory, and it's supposed to be looking for index.pl and there is none, ugg that's not good.09:29
@apeironMoontoo, It's not going to work. URLs in WebGUI are constructed using the DB. There isn't an index.pl because there doesn't need to be one.09:30
+Radix_you probably missed the apache configuration steps09:30
+Radix_if you're doing a source install (rather than wre install) - make sure you follow the install steps at http://www.webgui.org/community-wiki/source-install09:32
Moontoo*sigh* this wiki really needs work09:37
Rafaso after i upload the files what do i do ? is webgui = WRE? because i only find the installation on wre on the website09:40
Rafanm09:41
Rafanever mind i found it09:41
Rafawhere do i run the commands?09:43
Rafacd /data/WebGUI/etc09:44
Rafalike that09:44
Rafa?09:44
@apeironRafa, You have a root shell on the server, yes?09:44
@apeiron(typically ssh)09:45
Rafayea09:48
Rafamm09:48
@apeironWell, then, yeah, on that root shell then.09:49
Rafaok09:49
* apeiron sleep &09:49
Rafacan you recommend a good ssh client09:59
Rafapls09:59
+Radix_putty10:05
+Radix_for windows10:05
Rafais there one on linux i got ubuntu installed10:06
+Radix_ssh should be built in10:07
+Radix_or if not, apt-get install ssh10:07
Rafaok ty10:08
-!- Rafa [n=Rafael@63.245.12.196] has quit [" HydraIRC -> http://www.hydrairc.com <-"]10:08
-!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has quit ["Windows doesn't have users, it has hostages."]10:27
-!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has joined #webgui10:53
-!- mode/#webgui [+v Radix_] by ChanServ10:53
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui11:03
-!- mode/#webgui [+o preaction] by ChanServ11:03
-!- Haaarg [n=haarg@24-196-80-80.dhcp.mdsn.wi.charter.com] has joined #webgui11:24
-!- mode/#webgui [+o Haaarg] by ChanServ11:24
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)]11:29
-!- Haarg [n=haarg@24-196-80-80.dhcp.mdsn.wi.charter.com] has quit [Read error: 110 (Connection timed out)]11:31
* Moontoo does the compile dance11:41
MoontooWRE ERROR: Perl make did not complete successfully.11:57
Moontoo:'(11:57
Moontoohrmm forgot that link12:01
* Moontoo does the compile dance again12:01
Moontooso offtopic i know, but anyone have suggestion on where i can start learning how to have email sent to my domain? like postix or something, i forget, read about it once.12:37
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui12:42
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has quit ["Leaving"]14:42
Moontoo\o/ working14:57
* Moontoo does dance of joy14:57
* Moontoo passes out party hats14:58
Moontoowoooooo14:58
Moontoonow to see if it comes back, which we can assume it does.15:05
-!- Moontoo [n=baub@tole-bnn-rb1-10.dsl.bright.net] has quit []15:06
-!- SDuensin [n=Scott@84.sub-75-207-176.myvzw.com] has joined #WebGUI16:02
SDuensinMorning.16:04
AMH_bobMorning.16:05
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui16:39
-!- mode/#webgui [+v perlmonkey2] by ChanServ16:39
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has quit ["Leaving."]16:39
-!- snapcount [n=royjohns@andc-fw1.exploreos.com] has joined #webgui16:48
-!- mode/#webgui [+v snapcount] by ChanServ16:49
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui16:56
-!- Moontoo [n=baub@tole-bnn-rb1-10.dsl.bright.net] has joined #webgui17:05
-!- topsub [n=josh@97.66.185.250] has joined #webgui17:16
Moontoook, website works from localhost, but not outside from the ip17:19
Moontooget a 502 Bad Gateway when i try to go through the ip17:21
Moontooany ideas?17:21
-!- dionak [n=diona@97.66.185.250] has joined #webgui17:25
+perlmonkey2it seemed like there used to be a settings option to require ssl logins, but I can't seem to find that option.17:31
-!- ryuu_ro [n=rory@gw.oqapi.nl] has quit []17:41
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has left #webgui []18:10
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has joined #webgui18:31
-!- mode/#webgui [+v perlDreamer] by ChanServ18:31
+perlmonkey2Anyone here tried to run wG in 5.10?18:32
+perlDreamerno18:32
+perlmonkey2When fedora 9 comes out, the first thing I'm going to try to do is run wG :D18:33
+perlmonkey2F9 comes with 5.1018:33
+perlDreamersweet18:33
+perlmonkey2think there will be any problems?18:33
+perlmonkey2mod_perl is 5.10 compat now18:33
+perlDreamermaybe, but it won't be core WebGUI, it will be in mod_perl or some related thing18:33
+perlmonkey2apache request18:33
+perlmonkey2I'd bet my life on it!18:34
+perlDreamerright18:34
+perlDreamerof course, Fedora has a great history of breaking perl, (ala Scalar::Utils)18:34
+perlDreamerso who knows?18:34
+perlmonkey2oh well, will be fun to try.18:34
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui18:35
-!- mode/#webgui [+o preaction] by ChanServ18:35
+perlDreamerpreaction!18:36
@preactionperlDreamer!18:36
+perlDreamerHow's stuff?18:36
@preactionsame as always, but now with wisdom teeth!18:37
+perlDreamerargh18:37
@preactionyeah. the funny bit is that i spent a week in bed 12 years ago getting them all removed18:38
@preactionit seems they missed one18:38
+perlDreamer"The teeth came back, they wouldn't stay away.  They were back in his mouth, the very next day..."18:38
@preactionat least this time there isn't a third tooth impacted behind my front-top incisors, and the tooth is mostly outside the gums18:39
@preactionso i shouldn't be sucking oatmeal through a straw for 3 days this time18:39
* perlDreamer recommends ice cream. It's cold.18:40
@preactiontrue that18:40
+perlmonkey2preaction: how did they miss a tooth?  wouldn't they be like "the x-rays show 4 teeth btu we only have three teeth in the trash.  oh well screw it, 3 is close enough."18:49
@preactioni was 12, the tooth probably wasn't formed yet18:49
+perlmonkey2oh18:49
@preactionand being 12, i just figured i had them all taken out and didn't pay too much attention to the fact that i could only make 4 teeth from the parts they gave me18:50
@preaction3 molars + 1 incisor18:50
+perlmonkey2My last dentist warned me that most dentist aren't particullary careful.  I have a scar on an incisor where my childhood dentist showed his nurse that the new plastic buffers really had to be pushed down hard to leave a mark.  So he pushed down hard, and I've had the mark ever since.  18:52
@apeironCool, we're front page news on Perl Buzz: http://perlbuzz.com/18:56
@preactionperlmonkey2, noice... i still can't feel most of my lower jaw and chin from the nerve damage of that operation when i was 1219:02
@preactionbut they actually admitted it?19:02
+perlmonkey2These were two dentists.  My current one, who is great and seems legit and to truly care about his patents.  And then my dentist when I was a kid who marked up my tooth to show his nurse how hard you have to press to mark a tooth with the new buffer.s19:03
+perlmonkey2then there was the dentist when I was really young who wanted to do major surgery on me and told my parents there was no chance of anything going wrong.  He leaves the rooma nd my dad reads through his notes where he says he has informed them of the large risk of nerve damage associated with the procedure and they said it was fine.  They grabbed me and left the office without saying a word to anyone.19:05
+perlmonkey2Too bad there isn't a better system for putting docs and dentists like that in jail.19:05
+perlmonkey220 years later he finally lost his medical license (which in Oklahoma is really hard to do).19:07
@preactioni've never had a problem with dentists, it's the oral surgeons that i have issue with19:10
@preactionthe guy who removed those 4 teeth also was supposed to fix my tongue (i'm tongue-tied), but he didn't stitch it up right so it's back to the way it was19:11
@preactionthat and the nerve damage19:11
+perlmonkey2wow19:22
+perlmonkey2I know a lot of people think sueing is a bad thing, but sounds like you really deserved some major compensation.19:22
+perlmonkey2and he needed his license taken away.19:22
@preactionmeh, i'm no worse off now than i was before the operation, except that i can try to be like Sylvester Stallone (he has nerve damage in his jaw, that's why he has that scowl)19:26
+perlDreamerSylvester Stallone?  I always thought you sounded like Madeline Kahn.19:37
@preactionshe is a very handsome woman19:38
-!- lisette [n=juancami@201.232.58.66] has joined #webgui19:40
lisettei have to do a massive load the user, how to do this?19:41
+perlDreamersbin/userImport.pl19:43
lisettethanks19:43
lisettehow to use?19:44
+perlDreamerperldoc sbin/userImport.pl19:45
lisetteshows me an error19:45
lisettebut i will to read the comments19:45
lisettedo you use this perl Library?19:46
+perlDreameryes, but a while ago19:46
-!- Rafael [n=rafa@190.4.15.179] has joined #webgui19:47
Rafaelhi again19:47
Rafaelwhere do i get the commands to install the web gui19:47
Rafael?19:47
lisetteand this library require specific tada19:47
+perlDreamerRafael: http://www.webgui.org19:47
lisetteRafael, hablas español?19:47
Rafaelsi19:48
lisettede donde eres?19:48
Rafaelhonduras y tu?19:48
lisettecolombia19:48
Rafaelmucho gusto19:48
lisetteigualmente19:48
lisetteperlDreamer: this library require specific datas?19:48
+perlDreamerlisette, yes.19:49
+perlDreamercd /data/WebGUI/sbin19:49
+perlDreamerperl userImport.pl --help19:49
Rafaeli cant find the install instruccions all i find is how to install wer wich i already didi19:50
lisetteen la pagina de webgui estan las instrucciones19:50
lisetteperlDreamer: thanks19:50
@preactionRafael, once you install the WRE, look in /data/wre/docs/install.txt for more instructions19:50
lisettequieres instalar el source o el WRE?19:51
Rafaelcool ty19:51
Rafaelel source19:51
Rafaelno el wre19:51
lisettehttp://www.webgui.org/download19:51
Rafaelgracias19:51
lisettehttp://www.webgui.org/community-wiki/source-install19:52
Rafaelese es gracias19:52
Rafaelsi esa era el que buscaba gracias19:53
lisettede nada19:53
topsubjust a note the userIMport script doesn't like you to wrap the fields with "20:01
topsubthat was my problem yesterday20:01
@Haaargi'm rewriting most of that script20:06
@Haaargi should probably change it to use Text::CSV_XS20:06
@Haaargthen it could handle that kind of format20:06
@apeironUse interrobang separated values!20:10
@apeironperlbot, utf8 ?20:10
perlbot? U+203D "INTERROBANG", category: "General Punctuation", utf8 bytes: E2 80 BD20:10
+snapcountis there a current "best practice" as to where js code for instanciating yui objects should live?20:14
@preactionif it's for a template, i've been keeping snippets in the template's directory20:15
@preactionif it's required for an asset edit form, then somewhere in extras20:16
@preactioni've been making yui-webgui/build/Asset /Form etc... but I don't think anyone else is following me20:16
@preactionthere are some useful things in yui-webgui/build though20:16
+snapcountoh cool20:16
+snapcountstarting to mess with that and was trying to figure out the best way to integrate all the js20:17
@preactioni've been putting as much as possible in the asset tree, because JS in the extras folder seems to go unnoticed. anything that can't go in the asset tree i reluctantly put in the extras folder20:18
+perlDreamerdo you worry about people/users deleting that, though?20:21
@preactionnope20:21
@preactionif they delete it, the template doesn't function well, but it still functions20:21
@preactionthe nature of progressive enhancement20:22
@preactionthat's why the only time i've been able to do it that way is with templates20:22
@preactionform controls, assets, workflow helpers, operations, all need to be in extras/20:22
topsubQuestion about groups. Is there any reason why i shouldn't delete  "Ad Manager Content Managers Export Managers Package Managers Product Managers Secondary Admins Template Managers Version Tag Managers Workflow Managers"20:27
topsubgroups..20:27
topsubWill i loose anything from delete these groups?  These groups are something i can make back if i needed for this client?20:28
@preactionyou can't make them back because they would have different group IDs20:28
topsubShould i avoid deleting these groups?20:29
@preactionthose groups are used internally by webgui. the IDs are constants and must stay that way20:29
@preactionin fact, WebGUI shouldn't allow you to delete those groups20:29
topsubI just made a huge list of groups for this client that they need and was trying to make it easier so they don't have to filter  threw default webgui groups20:29
+perlDreamerpreaction: groupIds 1-17 are protected and cannot be deleted through the interface20:31
+perlDreamertopsub, if you don't want people to see them, then hide them20:31
+perlDreamerevery group has a Is Hidden? button20:31
topsubthere is? hmm that could work.  20:32
@apeironMaybe you could... repurpose... some of the existing ones?20:34
+perlDreamersince those groupIds are hard-coded throughout the source code, that could have unintended consequences.20:36
* perlDreamer stops worrying needlessly, and goes to the gym20:37
@preactionsomebody should write a wiki article on those groups and what each has the ability to do. in 7.4, some of the groups can be repurposed, but there are still things that are hard-coded with groupIds20:40
topsubya i was about to blow themg roups away.. not thinking webgui uses them20:40
topsubi see the delete button in the admin but not clicking it just incase it lets me delete them20:41
topsubin the conf file is prob. were i can hide the groups?20:41
nubaperlDreamer: If you can solve your problem, then what is the need of worrying?20:41
nubaperlDreamer: If you cannot solve it, then what is the use of worrying?20:41
@preactiontopsub, no. edit the group and select Is Hidden? Yes20:41
nubaperlDreamer:  - Shantideva20:41
@apeironnuba++ # wise20:41
nubaheh, that isnt me, but some buddhist tip20:42
@apeironIndeed, (das intartubes)++20:42
@preaction(buddhist philosophy)++20:42
topsubwhat version is the is hidden in?20:42
-!- Moontoo [n=baub@tole-bnn-rb1-10.dsl.bright.net] has left #webgui []20:42
topsubi am in 7.4.3320:42
topsubI don't see it when i edit a group20:43
topsubunless i am looking in the wrong place, but i don't see it in the demo.webgui.org20:45
@preactionlooks like there is no interface, you'd have to set "isHidden" in the database20:46
topsubah alright20:47
topsubthanks preaction!20:47
CIA-5WebGUI: colin * r6234 /WebGUI/lib/WebGUI/Operation/Group.pm: Add POD to www_deleteGroup, and untab it.20:51
-!- d214 [n=d214@fvec-nat.d214.org] has joined #webgui21:31
d214spectre help anyone?21:32
@preactionperlbot anyone21:32
perlbotSomewhere, someplace, in some universe, somebody uses whatever you just asked about. However, if you actually want help with it, please just ask a question; don't ask to ask, or ask if anyone can help.21:32
d214i get this error when trying to start the server: ADMIN: Couldn't fetch Spectre configuration data for eghs.conf21:32
@preactioncheck the webgui error log?21:32
d214thats what i get in the log ADMIN: Couldn't fetch Spectre configuration data for eghs.conf21:33
@preactionwhat about before that?21:34
d214you mean this ERROR - spectre.conf - POE::Kernel::_dispatch_event[1012]21:36
ckotilis there a group that can purge the cache besides admin?21:36
@preactiond214, no, there should be an error message on the line above. otherwise, try visiting yoursite.com?op=spectreGetSiteData and see what happens21:38
d214 Response: 403 Forbidden21:39
@preactionthat's a problem. does the webgui log say why?21:39
d2141 - ERROR - spectre.conf - POE::Kernel::_dispatch_event[1012] - ADMIN: Couldn't connect to WebGUI site bellatrix.conf at http://bellatrix:80/?op=spectreGetSiteData.  Response: 403 Forbidden21:39
@preactionbut that's spectre trying to connect to the site. i wanted you to try21:40
@preactionalso, turn your log level up to WARN by editing etc/log.conf and changing ERROR to WARN21:40
@preactionthen restart your webserver21:40
d214i get the apache 2 test page21:41
@Haaargckotil, you can control who can purge the cache in the settings panel21:41
ckotilcool, thanks Haaarg 21:41
@preactiond214, then your apache isn't configured correctly21:41
d214the testenvironment.pl says OK21:42
@preactiontestenvironment doesn't test apache21:42
d214did i miss something in the install then? the home page looks fine so apache is running21:43
@apeirond214, If running under the WRE, are you sure you're using the WRE's Apache and not your OS's Apache?21:44
d214probably not from the sounds of it. 21:47
d214so i did a killapp httpd21:51
@apeironThis is easy to determine because lots of systems these days pepper the Apache default page with vendor-specific graphics or text.21:51
d214now when i run ?op=spectreGetSiteData a get a page cannot be displayed21:51
@apeironThat would quite likely be because you don't have an HTTP server running.21:52
d214how do i start the WebGUI apache21:52
@apeironUsing the WRE?21:52
d214is there any other way21:52
@preactionare you using the WRE?21:53
d214yes21:53
@preactionwreservice.pl --start web21:54
d214start mod-perl failed21:55
@Haaargif you are getting the default apache page, you likely didn't add a site21:55
@preactionHaaarg, it seems only when spectre tries to connect21:57
d214is there a way to test mod-perl?21:59
@preactionvisit the page and see if it works?22:01
-!- Rafael [n=rafa@190.4.15.179] has left #webgui []22:02
topsub if i go to version tags then click on manage pending version how do i tell them to try and commit again?22:02
@preactionif they are already committed, you can't commit again22:03
topsubits in the "manage pending version tags"22:03
ckotilif they pending you need to go to the approval url22:04
@preactionthey're committed, they're not approved22:04
d214page show 500 internal server error. mod-perl did not start successfully22:04
ckotilah.22:04
ckotilyou should have an approval url in your admin webgui mailbox22:04
@preactiond214, i'd check the modperl error log as for why. wre/var/logs/modperl.error.log22:04
@preactiontopsub, if you're not using approval workflows, spectre is down. you can run workflows manually in the Workflow > Show Running Workflows admin panel22:05
topsubthe server this was on don't think had email config.  so i don't have the approval URL, iand when i go to workflow > show running its not listed22:06
topsubsomeone switched to this comiit content immediately which seems to have this issue come up22:06
d214 [error] [client 127.0.0.1] Cannot read config file: /data/WebGUI/etc/BGHS.conf at /data/WebGUI/lib/WebGUI.pm line 110\n22:07
topsubis there a way i can get the URL to approve this? or will i need to redo everything in that pending version tag?22:07
@preactiond214, sounds like that's a good place to start22:07
@preactiontopsub, you have a Commit Content Immediately workflow with an approval process inside? that's a bad idea22:08
topsubwasn't my idea.. lol22:08
topsubbut i am changing it now22:08
topsubthat seem to make this issue come up22:08
topsubdo i put commit content immediately and have it not want  approval?22:09
@preactionit will. realtime workflows do not work with approval processes at the moment22:09
@preactioncommit content immediately (aka type: Realtime) can only commit, it can't do anything that requires additional interaction (like approval)22:09
topsubour goal is for when someoen edits pdf file information it will auto commit? whats the best way to have that happen?22:10
topsubseems we don't want to teach this client to click commit version tags22:10
@preactionbut you're too late, the workflow is already running. spectre never got it, so Show Running Workflows won't show it. I honestly don't know what you can do with the existing things waiting for approval22:10
topsubdang...22:10
@preactionin the settings, under content, there are two things: Commit Changes Automatically and Skip Version Comments22:10
topsubskip commit comments?22:11
@preactionyeah, that22:11
topsubso switch it to commit content immediately and skip commit comments to yes.. it will automatically  commit my changes when i make them?22:11
ckotilheh, i created this macro that when there is a version tag to commit there is a huge gaudy message at the top of the screen that reads "COMMIT YOUR #*&^@& VERSION TAG" bc for the longest time i had lots of uncommited tags.22:12
d214how can i tell if the apache that webgui is working and installed22:12
@apeironckotil, Is it red, enclosed in <marquee> and <blink>?22:12
ckotilno , but it should22:12
ckotilit is red tho.22:13
@preactiond214, as i said. visit the website. as you said, there was an error and it didn't start because one of the config files has a problem22:13
@apeironno, no, beter22:13
@apeironbetter, rather22:13
@apeironckotil, Make it *chartreuse*.22:13
@apeironckotil, On a carnation pink background.22:13
topsubwish i could get a approval URL i might be able to use my tagID number or something22:14
topsubthat was a lot of work i wll have to redo.22:14
d214so how can i get it to read the config file and why does mod-perl say it failed but no real error message22:14
@preactiond214, the error message is in the error log, you gave it to me. you can get it to read the config file by fixing the config file22:14
ckotiltopsub: if the tag is pending you can pry craft an approval url. you just need the workflowID and versiontagID22:14
@preactiontopsub, something like ?op=approveVersionTag;workflowId=<workflow instance ID>;tagId=<version tag ID>22:15
ckotilerr close. workflowinstance ID and tagID22:15
ckotilhttp://globalnoc.iu.edu/index.html?op=manageRevisionsInTag;workflowInstanceId=byWliycWecqsEYqWLUoX0A;tagId=NBTtOMkk2jvCuxhU06XavQ22:15
ckotillike that22:15
@preactionyeah, that22:15
topsubthe workflow id would be the work flow like "commit content immediately?22:17
ckotilwe use webgui's approval process for approving weekly reports 22:17
ckotilit works really well22:17
ckotileven sends out reminders.22:17
topsubi know thats now the id22:17
topsubbut when this was commited we have the commit content immediately workflow on22:18
topsubnow - not*22:18
ckotilif you go to view pending tags, you can pry find the workflowinstanceID *i think*22:18
topsubi got the version tag i22:18
@preactiontopsub, no. the workflowInstanceId you'd have to glean from the database. given the tagId look in the assetVersionTag and look up the instanceId column22:18
ckotilah yeah, no workflowinstanceID in pending tags :(22:18
@preactionif there's nothing there, then... the hackiest way to do it would be to change all the "status" columns in assetData to be "approved" for those assets with the right tagId. this may or may not work as expected22:19
@preactionor maybe it's state=approved22:19
@preactiongod i hate those two columns22:19
@Haaargstatus22:20
nubawhat? you dont approve of the state?22:20
@preactiondown with the state!22:20
@Haaargeven worse with getLineage22:21
@HaaargstatesToInclude vs statusToInclude22:21
@preactionif it weren't for state=archived, i'd suggest renaming state to "approvalState"22:22
@preactioner... status22:23
@preactionsee? SEE? SEEE?!?!?!?!?!22:23
ckotilor you could checking running workflows and get the workflowinstandID there22:23
ckotilthen craft the approval url22:23
@preactionckotil, it's a realtime workflow, there is no running workflow ;-)22:23
ckotildoh.22:23
@preactionyeah, i'm not even sure there will be an instanceId in the assetVersionTag table22:23
topsubaweomse so i believe i gto the right link and worfflow instance id22:24
topsubtake to a page with an approvel box with all my changes below22:24
topsubso link must be right!22:24
@preactionyeah, that's teh page22:24
topsubnow to see if the commit works....22:24
@preactiongood to know that works for realtime workflows22:24
@Haaargwe'll need to do something with realtime workflows to handle waiting22:25
topsubahhh get error in log.. /cry22:25
@preactionthat's what i was thinking. if the workflow returns waiting, explode gracefully or something22:25
@Haaargbecause as it is doing a large commit can barf22:25
@Haaargwhich is problematic for something like importing a large package22:26
topsubcouldn't execute operation : WebGUI::Operation::VersionTag::www_approveVersionTag.  can't locate object method "setApproved"22:26
topsub1 problem just saw22:26
topsubmy dev box has 7.4.29.. were they switched this site to and made changes is 7.4.3322:27
topsubso when i exported to update dev box22:27
@preactiontopsub, does it have a module / line number?22:27
topsublib/Webgui/Operation/Versiontag line 7722:27
topsubversiontag.pm22:27
topsubso they went ot put this lanch this site on different version of webgui then we dev'd on.. hmmm22:28
@preactionthat shouldn't be an issue, very little changes between bugfix version numbers22:28
topsubin the Db i see a isCommited column..22:28
@preactionand there is a rule of no API changes in webgui22:28
-!- d214 [n=d214@fvec-nat.d214.org] has quit []22:29
topsubk good to know22:29
topsubthis version tag i mostly created bunch of groups. then edit branch on folder setting folders to different groups recursively.  Seems the groups are in here22:31
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has joined #webgui22:32
-!- mode/#webgui [+v MrHairgrease] by ChanServ22:32
topsublike visually it changed it but function wise not doing what i expected22:32
@preactiontopsub, since realtime workflows are not supposed to have approval activities, i don't know how www_approveVersionTag will react22:32
topsubis there a way i can manuall commit in the database?22:33
topsubor should i delete this entry from assetVersionTag22:33
topsuband redo it22:33
@preactionabove, i told you how. the hacky way is to set the assetData.status column to "approved"22:33
@preactionyou could update the assetVersionTag information as well, but that isn't as necessary22:33
@preactionor, you could unlock the version tag22:34
@Haaargyou'll need to null out asset.isLockedBy too22:34
@preactionand then re-commit under a better workflow22:34
@preactionthat might be a better solution22:34
topsubso i unlocked it now22:36
topsubso its on commit content immediately i turn skip commit comments to yes?22:36
topsubthen it should auto commit?22:36
@preactionif the version tag is unlocked, you should see it in the Version Tags part of the admin accordian, and it should show up in the Version Tags panel. you can edit it to change the workflow it uses, and then commit it22:36
topsubsweet!! thanks so much preaction!22:40
topsubbelieve that did it22:40
topsubunlocked it and switch the workflow22:40
+perlDreamertests++22:52
@apeironperlbot, karma tests22:52
perlbotKarma for tests: 822:52
+perlDreamerThat should clean up Tax.t22:52
+perlDreamerapeiron: How do we persuade preaction to add an exportPath field to his config file?22:53
@preactionit didn't work?22:53
+perlDreamernot as far as I can tell22:53
+perlDreamerlots of tests still failing22:53
@apeironpreaction, Add an exportPath field to your config file or we'll transfer you to COBOL duty.22:53
@preactionthe test script doesn't work like that. it's not as simple as "add an exportPath to the config file"22:53
+perlDreamerhow does it work?22:54
@apeirons/script/program/g22:54
@preactionit creates the site on-the-fly. it tests the upgrade script by using previousVersion.sql, then it deletes the site when the tests are done running22:54
+perlDreamerwhere does the base config file come from?22:54
@preactionso i have to find the WRE's config file overrides and set exportPath in there22:54
+perlDreamerah22:54
@preactioni thought WebGUI.conf.original22:54
@preactionbut i was wrong22:54
+perlmonkey2woohoo, door to door lady just came by trying to sell me a Kirby22:56
@preactionfixed now. what i was looking for was in wre.conf22:56
+perlDreamersweet, that leaves us with tests to update from rizen's form updates, and missing help/i18n for the shop22:57
+perlDreamerkoen was acting interested in running some smoke tests22:59
@apeirons/running.*/everything/22:59
+perlDreamerand knowmad has expressed interest in doing windows smoke run, too22:59
@preactionso i have to make this application portable?23:00
+perlDreamerno23:00
+perlDreamernot unless you want to23:00
@preactionit'd be nice23:00
+perlDreameryes23:00
@apeironMake it potable, too.23:00
CIA-5WebGUI: colin * r6235 /WebGUI/t/Shop/Tax.t: Shop/Tax.t was skipping the wrong number of tests for root23:00
@preactionthe output i have in mind will be immensely more useful23:00
+perlDreamercare to paste?23:00
@preactioncolor-coordinated, failures inline with the tests they're in23:01
@preactioni can paste a sample, but it's nowhere near ready23:01
-!- SDuensin [n=Scott@84.sub-75-207-176.myvzw.com] has quit ["Leaving"]23:01
+perlDreamerI'd like to end up with something like this in the long term: http://smoke.parrotcode.org/smoke/23:02
@preactioni was thinking in addition to having pretty html, i wanted something in xml so we could store metrics23:03
@preactionhttp://smoke.parrotcode.org/smoke/parrot-smoke-0.4.9-devel-r17650-unknown--aix-thread-cc_r-default--1174401027-670--6639-6586-53-261-604-1--2d443430202d2d67632d6465627567--4e54d5791784feaffbaf4dc38f7cd86a.html# <- it's THIS that i like23:04
@preactionbut with more javascripty goodness23:04
@apeironperlbot, shorten it23:04
perlbotShortened URL: http://xrl.us/bjsay23:04
@apeironAlso, that is absolutely yummysexydelish.23:05
+perlDreamerwhat would you do with the JS?23:06
@preactionadd more information when hovering / clicking over a test run23:06
@preactionso you could click on a red one and see why it failed23:06
+perlDreamercool23:06
+perlDreamerthat will be verbosity and big files though, yes?23:07
@apeironpreaction, If you hover the boxes, you can apparently click them, but all it does is bring you to the top of the page. Maybe it could actually do something useful?23:07
@preactionhttp://search.cpan.org/~nuffin/Test-TAP-HTMLMatrix-0.09/lib/Test/TAP/HTMLMatrix.pm <- this is the module it's using to create that23:07
+perlDreameryes23:07
@preactionbut it's using Test::Harness, and i'm using the new TAP::Harness, so i might have to roll my own :(23:07
+perlDreamerI think some work has been done to upgrade/replace that with a TAP::Harness compliant setup23:08
+perlDreamercheck out what smolder does23:08
+perlDreamersmolder.sf.net23:08
-!- topsub [n=josh@97.66.185.250] has quit ["Leaving"]23:08
@preactiondoesn't look like smolder does anything i could use23:10
+perlDreamerhm, I thought they had rebuilt HTMLMatrix.pm to work with TAP::Harness23:10
@preactionit uses Test::TAP::Model, which may or may not use TAP::Harness23:12
+perlDreameri c23:12
@preactionno, Test::TAP::Model is a Test::Harness::Straps subclass23:12
+perlDreamerI'm looking at the old version of testwebgui.tar.gz23:16
-!- juan [n=juangui@201.232.58.66] has joined #webgui23:17
+perlDreamerDid you design it on purpose to mimic MrHairgrease's karma getting script? :)23:17
@preactionyeah, that's old. i've got something New and Improved now23:17
@preactionno, but i did probably use the sbin/_skeleton23:17
* MrHairgrease denies everything23:18
+MrHairgreaseI think you were referring to the karma script by the mythical user morekarmathankoen23:19
+perlDreameryes!23:20
+perlDreamerBut he uses your password, so I figured it was you.23:21
+MrHairgreasehow did you know my password is martin=gr3at???23:21
+perlDreamerbecause it's the same as morekarmathankoen's23:21
juanif a using ldap in one of my sites and i want to change it the Authentication Method to WebGUI, could i have problems when the users tries to log in to the site23:22
+MrHairgreaseactually, from well informed sources I know for a fact that morekarmathankoen's password is different from mine23:22
juanif i change it in the admin console, is enough?23:23
+MrHairgreaseauth method is on a per account basis23:25
+MrHairgreaseif you want people without an account to log in via ldap23:26
+MrHairgreaseyou should set the default auth method to ldap23:26
+MrHairgreaseand enable anonymous registration as far as i recall23:26
+MrHairgreasehaven't used it in quite  a while23:26
+MrHairgreasegotta go23:27
-!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has left #webgui []23:27
juanperlDreamer, if i want to change some sites from one to another, i did the next steps:  both servers are in the same version, i create the sites in the new server and then i only pass the database and all uploads23:58
juanis this the rigth process?23:58
juanwhat else i need to do?23:59
+perlDreamerjuan, the config files for the sites23:59
+perlDreamerwebgui.conf, also any apache config files23:59
--- Day changed Fri Apr 25 2008
-!- dionak [n=diona@97.66.185.250] has left #webgui []00:04
lisettethere is someone CRM that integrad well is webgui?00:07
+perlDreamerno, no hay00:08
juanperlDreamer, when i create the site in the new server, i edit the config and it set up it like the old one00:10
juanis neccesary to pass the old config file and rewrite the new?00:11
+perlDreamerNo, si funciona bien :)00:11
+perlDreamertests++00:18
+perlDreamertest ++00:22
+perlDreamerkarma test00:22
+perlDreamerperlbot: karma test00:22
perlbotKarma for test: 300:23
+perlDreamerperlbot karma tests00:23
perlbotKarma for tests: 900:23
lisettedo you cand recomend one?00:33
CIA-5WebGUI: perlmonkey2 * r6236 /branch/WebGUI_Survey2/www/extras/wobject/Survey/ (4 files in 3 dirs): 00:34
CIA-5WebGUI: Allowed text box sizes to be set, fixed hidden sliders breaking, random text in00:34
CIA-5WebGUI: question text bug fixed, single question button continue working, randomized00:34
CIA-5WebGUI: weirdness on section random question resolved, answer text on multi-slider00:34
CIA-5WebGUI: questions resolved, can have generic scale questions now, removed useless00:34
CIA-5WebGUI: 'previous Text Answer Fill' dialog00:34
CIA-5WebGUI: perlmonkey2 * r6237 /branch/WebGUI_Survey2/lib/WebGUI/Asset/Wobject/Survey.pm: 00:34
lisettedo you can recomend me someone?00:34
CIA-5WebGUI: Allowed text box sizes to be set, fixed hidden sliders breaking, random text in00:34
CIA-5WebGUI: question text bug fixed, single question button continue working, randomized00:34
CIA-5WebGUI: weirdness on section random question resolved, answer text on multi-slider00:34
CIA-5WebGUI: questions resolved, can have generic scale questions now, removed useless00:34
CIA-5WebGUI: 'previous Text Answer Fill' dialog00:34
CIA-5WebGUI: colin * r6238 /WebGUI/t/Form/GetName.t: update Form/GetName test to work with the update form API00:34
CIA-5WebGUI: colin * r6239 /WebGUI/t/Form/Phone.t: update Form/Phone test to work with the update form API00:34
+perlDreamerperlmonkey2: why are you getting double commit messages?00:34
+perlDreamerlisette: I don't know any CRM software.  We have talked about adding one to WebGUI, but no one has really needed one yet.00:34
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui00:37
+perlmonkey2perlDreamer: They aren't double.  I'm commiting from two different locations.  My dev tree is actually a mix of two trees00:47
+perlDreamerbut the commit message is the same00:49
+perlmonkey2you cut and paste00:57
+perlDreamerI see, so the commit message covers both commits00:59
+snapcountsweet!01:22
+snapcountmy boss just told me that he got me a macbook air01:22
@preactionnice01:22
+snapcountI'll probably loose the damn thing lol01:23
+snapcountso small... or snap it in half01:23
-!- snapcount [n=royjohns@andc-fw1.exploreos.com] has quit []01:24
juanperlDreamer,  do you know teh redeem suscription code?01:31
juanI want to disable that link?01:32
+perlDreamerWhere does it show up?01:32
+perlDreamerI'm not familiar with that code.01:32
juanbut do you know where the link is located?01:37
+perlDreamerNo01:37
+perlDreamerThat's why I was asking you in which screen it shows up.01:37
juanwhen you try to update your profile o change your password you find several links like edit profile, see profile, inbox and redeem suscription code01:39
+perlDreamerah, now I understand01:41
juanso, i want to disable that linkd01:42
juanWhere i can do that?01:42
+perlDreamerI'm checking the code now.01:43
+perlDreamerit is in Operation/Shared.pm01:44
+perlDreamersubroutine accountOptions01:44
+perlDreamerNote, if you were to find a way to check to see if the user has a subscription code, and only display it if they do,01:44
+perlDreamerthen may be accepted as a patch.01:44
lisettethe reedem is in Suscription.pm01:48
lisettethare a way for this disable?01:48
+perlDreamernot without changing the core code01:48
lisetteand the template?01:49
lisettesorry01:49
lisetteand in the template there a way for disable this?01:49
lisetteor the only is a traduction?01:50
+perlDreamerthe template has a loop of several things from Operation/Shared.  there's no way to isolate just one thing in there01:50
juancan you explain me, what is it for?01:50
+perlDreamerThe site can generate codes which subscribe the user to a group, for extra access to content or downloading.01:51
+perlDreamerThose are the subscription codes01:51
+perlDreamerwhen the user redeems a code, he is joined to that group for the period of the subscription01:51
+perlDreamerThat code will probably change in WebGUI 7.5, with the new commerce system coming out01:51
-!- lisette [n=juancami@201.232.58.66] has left #webgui []02:01
+perlDreamerjuan: you and lisette have been working together too much.  You're finishing each other's sentences.02:07
juanyes02:09
juanwe are working hard02:10
juanwe love WebGUI02:10
+perlDreamerI'm glad to hear you say that.02:10
+perlDreamerIt can be very frustrating at times.02:10
juana few02:11
@preactionthat's why we love WebGUI, by our blood and our tears we will make it the best!02:11
juanperlDreamer, i am going to rest02:12
-!- elnino [n=ninow@user-38q49cv.cable.mindspring.com] has joined #webgui02:12
elninohello.02:13
juansee you tomorrow, working again the great world of WebGUI02:13
elninois there a limit to the number of positions that I can have in a page layout?02:13
-!- juan [n=juangui@201.232.58.66] has left #webgui []02:14
elninostill waiting to see if I can make it to the conference. hope too. the request has been submitted twice.02:14
@apeironThreaten to keep submitting it until they approve!02:15
@apeironSeriously, though, we do hope to see you there, elnino02:15
+perlDreamerelnino, I don't see any limits to the number of content positions in the perl code.02:15
+perlDreamerThe JS may be different, however.02:15
@preactioni think anything with contentPosition# is treated as a content position. so it depends on the template02:16
@apeironperlDreamer, Even if it did, you could change that, too, since it's in the template.02:16
elninooh. didn't think about js.  I've got ten so far.  I 've never gone over nine until now.02:16
+perlDreamerthis particular JS is in www/extras/draggable.js02:17
elninook. Ill look there.. gotta make a quick exit, baby is anxious to eat. Ill be back later. thanks so much for the quick response!  you guys are awesome!02:18
+perlDreamerI don't see anything there either that would limit it, but my name is javascriptDreamer for a very good reason02:19
+perlDreamers/is/isn't/02:19
+perlDreamertests++02:24
+perlDreamerbecause they caught a bug in the new Form API code :)02:25
CIA-5WebGUI: colin * r6240 /WebGUI/lib/WebGUI/Form/Text.pm: Fix a typo in the newline/whitespace removal code02:35
CIA-5WebGUI: colin * r6241 /WebGUI/t/Form/Text.t: update Form/Text.t to work with new form api code02:35
+perlDreamergood night, all.  I'll likely be killed in the morning.  Sleep well.02:36
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has quit ["Download Gaim: http://gaim.sourceforge.net/"]02:37
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit [Remote closed the connection]02:56
CIA-5WebGUI: colin * r6242 /WebGUI/t/Form/Email.t: add more email addresses for testing in Form/Email.t02:59
-!- wgGuest16 [n=wgGuest1@69.26.124.102] has joined #webgui04:13
-!- wgGuest16 [n=wgGuest1@69.26.124.102] has quit [Client Quit]04:14
elnino10 positions work great!04:37
-!- elnino [n=ninow@user-38q49cv.cable.mindspring.com] has quit ["Leaving"]04:37
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [Read error: 110 (Connection timed out)]05:01
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has quit ["leaving"]05:23
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui05:29
-!- mode/#webgui [+o apeiron] by ChanServ05:30
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit ["Leaving"]05:30
-!- patspam [n=patspam@ppp59-167-137-64.lns3.mel6.internode.on.net] has joined #webgui05:45
-!- patspam [n=patspam@ppp59-167-137-64.lns3.mel6.internode.on.net] has left #webgui []06:21
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui10:11
-!- BartJol [n=plainstu@host2.procolix.com] has joined #webgui10:24
-!- zylo [n=peter@port111.ds1-vby.adsl.cybercity.dk] has joined #webgui12:04
zyloAnyone here who maintain the webgui.org website?12:08
AMH_bobHi, you should try again in 4-5 hours when they wake up. 12:23
zylohah yeah i guess12:43
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui13:39
-!- mode/#webgui [+o preaction] by ChanServ13:39
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui14:31
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui15:04
-!- mode/#webgui [+v perlmonkey2] by ChanServ15:04
-!- BartJol [n=plainstu@host2.procolix.com] has left #webgui []15:25
zyloAnyone here who maintain the webgui.org website?15:54
-!- topsub [n=josh@97.66.185.250] has joined #webgui15:55
zyloexit16:10
zylowoops16:10
-!- zylo [n=peter@port111.ds1-vby.adsl.cybercity.dk] has quit ["Killed (rox (Requested by panasync))"]16:10
-!- doc777 [n=Doc@10.187-available-ethint-fratm-cc.sccoast.net] has joined #webgui16:19
doc777Hello friends ;)   I have a small question. What is the easiest way to embed a php page into a webgui site? (Actually have a flash chat that runs in php and was hoping it could be included somehow) Anyone done this sucessfully?16:21
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [Read error: 110 (Connection timed out)]16:31
-!- cap10morgan [n=cap10mor@ool-4570c4f3.dyn.optonline.net] has joined #webgui17:25
cap10morganso i'm trying to load up webgui in ec217:25
cap10morganin a large instance17:25
cap10morganwhich has to be 64-bit17:25
cap10morganand the wre fails to build on ubuntu hardy 64-bit pretty early (like the first package, lftp)17:25
cap10morganhaha17:25
cap10morgansigh...17:25
nubaheh17:26
ckotilman, wre always used to fail for me @ lftp. when trying to build under rhel4/517:28
ckotili think it builds fine now tho.17:29
cap10morganmy approach in these situations is to start by upgrading that source package to the latest upstream17:29
cap10morgan9 times out of 10, they've fixed whatever it is in a newer release17:29
cap10morganckotil: have you built it on a 64-bit os?17:30
ckotilnever have.17:30
cap10morganok17:32
cap10morganhere goes w/ lftp 3.7.117:32
cap10morganFAIL17:32
cap10morganhmm, needs readline-devel, not too bad17:32
-!- perlmonkey2 [n=perlmonk@ip-129-15-127-253.fennfwsm.ou.edu] has joined #webgui17:33
-!- mode/#webgui [+v perlmonkey2] by ChanServ17:33
CIA-5WebGUI: jt * r6243 /translations/Spanish/ (10 files in 2 dirs): update_from_translation_server17:36
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI17:59
-!- perlmonkey2 [n=perlmonk@ip-129-15-127-253.fennfwsm.ou.edu] has quit ["Leaving."]18:04
-!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has quit ["Leaving."]18:07
doc777Anyone know a way to embed a php page into a webgui page? (Like a flash chat).  I have both working on their own but would like to "integrate" it more...18:12
-!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI18:21
elninohi.  When is the early bird cut of for the conference?  I saw somewhere it's the first 30 people.  is that correct?18:21
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has joined #webgui18:44
-!- mode/#webgui [+v perlDreamer] by ChanServ18:44
-!- snapcount [n=snapcoun@andc-fw1.exploreos.com] has joined #webgui18:57
-!- snapcount_ [n=royjohns@andc-fw1.exploreos.com] has joined #webgui18:59
-!- snapcount_ [n=royjohns@andc-fw1.exploreos.com] has quit [Client Quit]19:01
-!- mode/#webgui [+v snapcount] by ChanServ19:01
-!- elnino_laptop [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI19:31
-!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has quit [Read error: 110 (Connection timed out)]19:49
-!- elnino_laptop [n=elnino@user-38q49cv.cable.mindspring.com] has quit [Read error: 110 (Connection timed out)]20:36
-!- cap10morgan [n=cap10mor@ool-4570c4f3.dyn.optonline.net] has quit [Read error: 104 (Connection reset by peer)]21:10
-!- cap10morgan_ [n=cap10mor@ool-4570c4f3.dyn.optonline.net] has joined #webgui21:10
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui21:23
-!- mode/#webgui [+v perlmonkey2] by ChanServ21:23
doc777Can anyone tell me a quick way to echo the username on the page. Like:  AssetProxy(username); ?21:23
+perlmonkey2doc777: just a sec, I'll look it up21:35
+perlmonkey2session->user->username is the username.  I'm not sure how to get the session from a Macro.  Hope that helps21:36
doc777Found it:   ^@();   Thank you ;)21:37
-!- cap10morgan_ [n=cap10mor@ool-4570c4f3.dyn.optonline.net] has quit []21:42
+perlDreamerdoc777: Use your handy, dandy built-in macro reference.  ?op=ViewHelp;hid=macros%20list;namespace=Macros22:24
-!- topsub [n=josh@97.66.185.250] has quit ["Leaving"]23:09
CIA-5WebGUI: perlmonkey2 * r6244 /branch/WebGUI_Survey2/lib/WebGUI/Asset/Wobject/Survey.pm: minor bug fixes23:10
CIA-5WebGUI: perlmonkey2 * r6245 /branch/WebGUI_Survey2/www/extras/wobject/Survey/ (editsurvey/question.js administersurvey.js): minor bug fixes23:10
-!- SquOnk [n=emhn@201.211.84.218] has joined #webgui23:18
SquOnkHi23:18
+perlDreamergreetings, chief debian octopus wrangler23:18
SquOnkHeh23:18
SquOnkI'm upgrading the package to 7.4.3423:18
SquOnkMy sponsor said he'll upload sunday or monday to Debian's incoming queue23:19
+perlDreamersweet!23:19
+perlDreamerWhen will it hit the streets?23:19
SquOnkThen, it's up to the (usual) licensing nitpickers...23:19
SquOnkperlDreamer: Hard to say. It usually takes less than a week to be in Sid.23:19
SquOnkperlDreamer: But since webgui will become the tenth largest package in Debian, they will check all the minutia.23:20
SquOnkperlDreamer: The fact that a sponsoring Debian Developer gives the "all clear" means we've almost finished.23:20
+perlDreamerapt-get webgui23:20
SquOnkperlDreamer: aptitude23:20
+perlDreamerNever thought I'd see that :)23:20
+perlDreameraptitude is a GUI?23:21
-!- Samus_Aran [n=ILL@about/linux/supportwhirlwind/SamusAran] has joined #WebGUI23:21
SquOnkperlDreamer: aptitude is smarter than apt-get23:21
SquOnkperlDreamer: synaptic is the GUI for aptitude23:21
+perlDreamerah, right.23:21
+perlDreamerthanks23:21
SquOnkperlDreamer: aptitude remembers whet you asked for and what _IT_ got to install to fulfill dependencies.23:21
SquOnkperlDreamer: apt-get does not.23:21
Samus_Aranokay I seem to have forgotten my admin username and password.  I am pretty sure I know both the username and password, but it isn't letting me log in.  is there some easy way to create a new admin user so I can change the password?23:21
SquOnkperlDreamer: Say you do aptitude install foo, which depends on bar and baz23:21
@preactionSamus_Aran, do you have another admin-level user?23:22
Samus_Aranpreaction: not that I know the login for, no23:22
SquOnkperlDreamer: If you aptitude purge foo, it will remember the fact that bar and baz were pulled as dependencies. If no other packages is using bar or baz, it will purge them along. Cleaner system :-)23:22
* perlDreamer vaguely remembers promising to write a script to reset the admin password a while ago.23:22
+perlDreamerthat's better than yum23:22
Samus_AranI am sure I know the password, and Firefox is remembering usernames23:22
SquOnkperlDreamer: WAY better :-)23:22
Samus_Aranbut it won't let me log in23:23
Samus_Aranwould some service not running prevent logins but still allow the web site to work otherwise ?23:23
Samus_AranI haven't had time to work on this new site for a few weeks23:23
Samus_AranI used to use aptitude years ago on Debian.  once I spent the 45 minutes to figure out how the hell it worked, it was awsome23:24
Samus_AranI went and tried it again recently on Ubuntu, but it has been changed so much over the past several years that I haven't a clue how to work it anymore23:24
Samus_Aranbut it used to be great =)23:25
Samus_Aranprobably still is, if I could figure out all the changed commands23:25
SquOnkperlDreamer: Shortly after aptitude install webgui, we'll probably have aptitude install webgui-l18n-es-es, webgui-l18n-du-nl, webgui-l18n-ge-de, etc.23:25
+perlDreamerthat's going to be more of a problem23:25
SquOnkperlDreamer: I'm working on a template for webgui localization installation :-)23:25
+perlDreameri18n works off of SVN HEAD, which is the beta branch23:25
+perlDreamerin our case 7.523:25
+perlDreamerNot all labels will be defined for 7.423:25
@apeironAnd if you're installing a stable WebGUI, ... yeah.23:25
SquOnkperlDreamer: I know.23:25
+perlDreamerokay23:26
@apeironAnd there'll be extra tags, and some of them will be different, too.23:26
+perlDreamerextras are cool23:26
+perlDreamerblanks, not so much23:26
Samus_Aranpreaction: so is there any way I can reset a password, or temporarily remove a password ?23:26
SquOnkperlDreamer: First, we need to get webgui in Debian...23:26
SquOnkperlDreamer: ...and it has to be stable.23:26
@apeironperlDreamer, I remember the trash name changes, that could cause some confusion.23:26
@preactionSamus_Aran, there is, but you'd probably have to write a script for it23:26
@preactionif there isn't one already23:26
@preactionin the Get Add Ons section23:26
Samus_Aranare the password hashes stored in MySQL ?23:27
+perlDreamercouldn't he find the original password entry from the create.sql file, and then make a little mysql one liner to do that?23:27
@preactionyes23:27
@preactioniirc there is no original password, that's created by the site starter wizard23:28
+perlDreameroh, yeah23:28
@preactionWebGUI::Auth::WebGUI uses Digest::MD5::base64 or something to hash the password. updating the "authentication" table fieldName="identifier" with a new password can be done if you hash it the right way (See WebGUI::Auth::WebGUI)23:29
Samus_Aranfigured it out.  I had the wrong username23:29
Samus_AranAdministrator instead of admin23:29
* Samus_Aran kicks Firefox for remembering the wrong username23:29
Samus_Aranokay, updated the password for my regular user and all's well.23:32
Samus_Aranpreaction: and yes, there is no default password.  the wizard thing makes you type one in23:32
Samus_Arancan someone remind me where to click to apply a template to a whole branch of the site ?23:34
+perlDreamerSamus_Aran, have you checked the wiki?23:35
+perlDreamerhint: It might be called Edit Branch23:36
-!- juan [n=juangui@201.232.58.66] has joined #webgui23:50
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has quit ["Download Gaim: http://gaim.sourceforge.net/"]23:54
--- Day changed Sat Apr 26 2008
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has joined #webgui00:39
-!- mode/#webgui [+v perlDreamer] by ChanServ00:39
Samus_Arang'day00:41
-!- Samus_Aran [n=ILL@about/linux/supportwhirlwind/SamusAran] has left #WebGUI ["onwards I go ..."]00:41
juani have created a Collaboration system where the post will be an audio file uploaded by the users00:44
juanI am going to list all the post in my site00:45
juanthe thing that i need is when the users go to that list they can listen that audio00:45
juanif a user decide to read one of the post i need to recover the path where the file audio is located00:48
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [Read error: 110 (Connection timed out)]01:26
+perlDreamerdid rizen say anything specific to you guys (apeiron, Haaarg, preaction) about form fields and whether or not they were allowed in user profile fields?01:36
@apeironperlDreamer, Nothing to me that I recall.01:37
@preactionnothing to me, but if they were before, they should remain so now01:37
@preactionhe might've changed it to be an API method, instead of a definition value01:37
@preactionlike the dbDataType01:37
+perlDreamerbingo!01:43
CIA-5WebGUI: colin * r6246 /WebGUI/t/Form/ProfileEnabled.t: 01:52
CIA-5WebGUI: Fix the test to work with the new form API.01:52
CIA-5WebGUI: However, the test fails miserably. Something happened to the01:52
CIA-5WebGUI: profileEnabled field of all form fields. This needs to be fixed01:52
CIA-5WebGUI: and then Operation/ProfileSettings updated as well.01:52
-!- juan [n=juangui@201.232.58.66] has left #webgui []02:03
+perlDreamerlove those tests++02:31
CIA-5WebGUI: colin * r6247 /WebGUI/t/Form/ProfileEnabled.t: 02:36
CIA-5WebGUI: Update this test for the new API. Note that Captcha, Asset, User, Color02:36
CIA-5WebGUI: and some other form fields are now profile enabled.02:36
CIA-5WebGUI: colin * r6248 /WebGUI/lib/WebGUI/Operation/ProfileSettings.pm: 02:36
CIA-5WebGUI: Update the ProfileSettings operation to use isDynamicCompatible02:36
CIA-5WebGUI: instead of the old, crufty get('profileEnabled').02:36
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has quit ["Download Gaim: http://gaim.sourceforge.net/"]02:47
-!- SquOnk [n=emhn@201.211.84.218] has quit ["Yippie kay-ai-yay fudder muckers!"]02:50
-!- snapcount [n=snapcoun@andc-fw1.exploreos.com] has quit [Read error: 110 (Connection timed out)]03:06
-!- elnino_laptop [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI03:11
-!- elnino_laptop [n=elnino@user-38q49cv.cable.mindspring.com] has quit [Client Quit]03:11
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit ["Exit- stage left"]03:36
-!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has joined #webgui04:33
CIA-5WebGUI: doug * r6249 /WebGUI/ (19 files in 18 dirs): 05:51
CIA-5WebGUI: - added: Inbox is now pruned after 1 year05:51
CIA-5WebGUI: - Added about a hundred tests for Collaboration system, Post, and Thread05:51
CIA-5WebGUI: permissions05:51
CIA-5WebGUI: - Cleaned up code tested by the aforementioned tests05:51
CIA-5WebGUI: - Fixed all Test::WWW::Mechanize tests and updated the skeleton. Should be05:51
CIA-5WebGUI: usable now.05:51
-!- doc777 [n=Doc@10.187-available-ethint-fratm-cc.sccoast.net] has quit ["using sirc version 2.211+KSIRC/1.3.12"]05:59
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui06:00
topsubquestion... i have a custom directory set up "/data/site/lib" and i added the path to "preload.custom" i have 2 macros in there.  1 macro is picked up, the otherone isn't.. but when i move the macro that isn't picked up inside the WebGUI/lib/WebGUI/Macro" it gets picked up by webgui. Any suggestions why this macro wouldn't be picked up in the custom directory?06:14
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit ["Leaving"]06:29
-!- snapcount [n=snapcoun@97.101.11.121] has joined #webgui07:47
-!- snapcount [n=snapcoun@97.101.11.121] has quit [Remote closed the connection]07:49
-!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has quit ["Leaving"]07:56
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit ["Exit- stage left"]09:00
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui11:58
-!- mode/#webgui [+o preaction] by ChanServ11:58
-!- Haaarg [n=haarg@24-196-80-80.dhcp.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"]15:16
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui16:59
-!- steveo_aa [n=sno@adsl-76-234-133-88.dsl.sfldmi.sbcglobal.net] has left #webgui []18:11
-!- Haarg [n=haarg@24-196-80-80.dhcp.mdsn.wi.charter.com] has joined #webgui19:09
-!- mode/#webgui [+o Haarg] by ChanServ19:09
-!- Haarg [n=haarg@24-196-80-80.dhcp.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"]20:24
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit [Remote closed the connection]20:27
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui20:52
-!- mode/#webgui [+o rizen] by ChanServ20:52
CIA-5WebGUI: jt * r6250 /WebGUI/docs/upgrades/upgrade_7.5.2-7.5.3.pl: removing commerce merge stuff21:27
CIA-5WebGUI: jt * r6251 /WebGUI/ (9 files in 4 dirs): some updates to URL and content handlers to make them a bit more flexible22:15
-!- apeiron_ [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui22:45
-!- mode/#webgui [+o apeiron_] by ChanServ22:46
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has quit [Nick collision from services.]22:46
-!- apeiron_ is now known as apeiron22:46
CIA-5WebGUI: jt * r6252 /WebGUI/ (4 files in 3 dirs): 22:59
CIA-5WebGUI: - rfe: Not being limited to single-worded Tags22:59
CIA-5WebGUI: - Exposed keywords API to all assets through edit screen. Now keywords are22:59
CIA-5WebGUI:  searchable and add metatags for all assets.22:59
-!- perlDreamer [n=colink@pool-71-245-101-253.ptldor.fios.verizon.net] has joined #webgui23:13
-!- mode/#webgui [+v perlDreamer] by ChanServ23:13
+perlDreamerrizen!  How was GTA?23:13
-!- perlDreamer [n=colink@pool-71-245-101-253.ptldor.fios.verizon.net] has quit ["Leaving."]23:32
-!- rizen_ [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui23:51
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit [Read error: 104 (Connection reset by peer)]23:51
--- Day changed Sun Apr 27 2008
-!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI00:17
elninohi.  When is the early bird cut of for the conference?  I read in the downloadable pdf that it's the first 30 people.  is that correct?00:18
-!- Ghost_ [n=chatzill@AMontsouris-157-1-157-18.w90-46.abo.wanadoo.fr] has joined #webgui00:48
-!- Ghost_ [n=chatzill@AMontsouris-157-1-157-18.w90-46.abo.wanadoo.fr] has quit ["ChatZilla 0.9.81 [Firefox 2.0.0.14/2008040413]"]01:10
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has quit ["Leaving"]01:29
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui01:47
-!- mode/#webgui [+v perlmonkey2] by ChanServ01:47
-!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has quit [Read error: 110 (Connection timed out)]02:20
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [Read error: 110 (Connection timed out)]03:38
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit ["Leaving"]04:14
-!- SDuensin [n=Scott@111.sub-75-206-239.myvzw.com] has joined #WebGUI04:43
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui05:27
-!- mode/#webgui [+v perlmonkey2] by ChanServ05:27
-!- SDuensin [n=Scott@111.sub-75-206-239.myvzw.com] has quit ["Leaving"]05:57
-!- perlDreamer [n=colink@pool-71-245-101-253.ptldor.fios.verizon.net] has joined #webgui06:03
-!- mode/#webgui [+v perlDreamer] by ChanServ06:03
-!- perlDreamer [n=colink@pool-71-245-101-253.ptldor.fios.verizon.net] has quit ["Leaving."]06:30
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI06:35
CIA-5WebGUI: colin * r6253 /WebGUI/t/Form/SelectBox.t: update SelectBox test for new Form api06:35
-!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI06:39
-!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has quit [Client Quit]06:39
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [Read error: 110 (Connection timed out)]07:51
-!- sanyock3 [i=_ejabber@server1.jabbernet.eu] has joined #webgui08:12
-!- sanyock3 [i=_ejabber@server1.jabbernet.eu] has left #webgui []08:13
-!- sanyock3 [i=_ejabber@server1.jabbernet.eu] has joined #webgui08:16
-!- sanyock3 [i=_ejabber@server1.jabbernet.eu] has left #webgui []08:23
-!- sanyock3 [i=_ejabber@server1.jabbernet.eu] has joined #webgui08:24
-!- patspam [n=patspam@ppp59-167-137-64.lns3.mel6.internode.on.net] has joined #webgui10:00
-!- patspam [n=patspam@ppp59-167-137-64.lns3.mel6.internode.on.net] has left #webgui []10:00
-!- patspam [n=patspam@ppp59-167-137-64.lns3.mel6.internode.on.net] has joined #webgui10:05
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui12:25
-!- mode/#webgui [+o preaction] by ChanServ12:25
-!- Haarg [n=haarg@24-196-80-80.dhcp.mdsn.wi.charter.com] has joined #webgui13:19
-!- mode/#webgui [+o Haarg] by ChanServ13:19
CIA-5WebGUI: doug * r6254 /WebGUI/t/Asset/Wobject/GalleryAlbum/ (edit.t rss.t): fixed the rest of the Test::WWW::Mech tests13:37
-!- patspam [n=patspam@ppp59-167-137-64.lns3.mel6.internode.on.net] has quit ["Leaving."]15:03
-!- patspam [n=patspam@ppp59-167-137-64.lns3.mel6.internode.on.net] has joined #webgui15:06
-!- patspam [n=patspam@ppp59-167-137-64.lns3.mel6.internode.on.net] has quit [Remote closed the connection]15:40
-!- patspam [n=patspam@ppp59-167-137-64.lns3.mel6.internode.on.net] has joined #webgui16:06
-!- khenn [n=khenn@24-159-239-186.dhcp.mdsn.wi.charter.com] has joined #WebGUI17:00
-!- mode/#webgui [+o khenn] by ChanServ17:00
-!- khenn [n=khenn@24-159-239-186.dhcp.mdsn.wi.charter.com] has left #WebGUI []17:01
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has left #webgui []17:35
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui17:38
-!- patspam [n=patspam@ppp59-167-137-64.lns3.mel6.internode.on.net] has quit ["Leaving."]18:02
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui18:08
-!- mode/#webgui [+v perlmonkey2] by ChanServ18:08
-!- sanyock3 [i=_ejabber@server1.jabbernet.eu] has quit [Remote closed the connection]18:47
-!- aprokopyev [i=_ejabber@server1.jabbernet.eu] has joined #webgui20:07
-!- aprokopyev is now known as sanyock320:07
-!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has joined #webgui20:41
-!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has quit [Read error: 104 (Connection reset by peer)]20:51
sanyock3Hi Ppl, could anybody please point a direction where I can find a solution for data form mail to work?21:16
sanyock3I have a few WebGUI sites, on one of them mail works fine, other new sites do not work even with default demo21:17
sanyock3SMTP server works fine, webgui.log is empty21:17
sanyock3Scheduler has send mail enabled21:18
rizen_there are only four possible problems21:18
rizen_1) you have mistyped the "to" email address in the data form21:18
rizen_2) your messaging settings in that site are not set correctly21:18
rizen_3) you have a configuration problem with spectre21:19
rizen_4) spectre is not running21:19
rizen_check mailQueue table and see if the message is getting in there21:19
sanyock3Please let me know, may configuration problem with spectre (3) say on Site1 prevent other Site2 to send its mail?21:20
sanyock3I will21:20
rizen_yes, because half of the spectre configuration is done in the specific site's config file21:21
sanyock3It starts for sure and processes mail from one site, but other new sites do not work21:21
sanyock3I refer SPECTRE21:22
rizen_i've provided all the help i can21:22
rizen_the rest is up to you21:22
sanyock3Thank you very much21:22
sanyock3mailQueue is empty on a site where mail works fine, and is not empty where problem exists, therefore I expect mail queue is not prcessed there and I should look into spectre in debug mode21:27
-!- sanyock3 [i=_ejabber@server1.jabbernet.eu] has left #webgui []21:43
-!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has joined #webgui22:03
CIA-5WebGUI: doug * r6255 /WebGUI/ (docs/changelog/7.x.x.txt lib/WebGUI/Auth.pm): fixed: registration form again saves progress if there is an error22:24
--- Day changed Mon Apr 28 2008
CIA-5WebGUI: doug * r6256 WebGUI/ (7 files in 7 dirs): added CAPTCHA to DataForm00:59
-!- patspam [n=patspam@ppp59-167-137-64.lns3.mel6.internode.on.net] has joined #webgui02:26
-!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui04:16
-!- mode/#webgui [+v Radix-wrk] by ChanServ04:16
patspamhas anyone tried building & running webgui under perl 5.10?04:27
@preactionnot that i know of04:28
@preactionbut i heard that there are some backwards incompatibilities04:28
@preactioni suppose i should read the delta to be sure04:28
patspamyeah, probably would require a bit of work. I'm just dying to use smart matching in my wobjects ;)04:30
patspamwas great to see wG and JT get a big plug on Perl Buzz the other day04:33
@preactionit'd be nice indeed, but imho there are so many other things that need updating to bring them up to even 5.8 standards, or WGBP standards :(04:33
patspamyeah true. i might try building it with perl5.10 some weekend for fun and see how it flies 04:35
@preactionif there are issues, while you're fixing those you can re-format according to WGBP, so everybody wins!04:39
patspamfor sure :)04:44
CIA-5WebGUI: doug * r6257 /WebGUI/ (docs/changelog/7.x.x.txt lib/WebGUI/Operation/VersionTag.pm): added: Commit Version Tag screen shows revisions in the tag about to be committed04:49
+perlmonkey2Wow.  I just got back from dinner at Bart and Nadia Comaneci's house for Easter dinner.04:55
+perlmonkey2Bart Conner just chatted *me* up for for a couple of hours.04:55
+perlmonkey2Holy crap.04:56
@preactionwhat's surprising about that?04:56
@preactionare you his subordinate?04:56
+perlmonkey2no, I'm the neighbor of Nadia's best friend from Romania.04:56
+perlmonkey2I'm friends with the friend as so we got invited to Easter.04:57
+perlmonkey2Which doesn't sound so big a deal until I realized that I just met and talked to two gold medal olympists.04:57
+perlmonkey2and was part of a small private family gathering with them.04:57
@preaction... NICE04:58
+perlmonkey2and they were just normal people.04:58
+perlmonkey2really nice people, but just normal.04:58
+perlmonkey2no idea what I expected, but not just another Joe who happened to win a few gold medals.04:58
@preactionit probably helped a lot that you weren't gushing or all crazy over their accomplishments04:59
+perlmonkey2I didn't think much of it until I got there and it hit me they were frick'n rock stars.05:00
@preactionbut then, i've not knowingly met anyone famous, even though i've met some bigger names in the Perl / FOSS world now05:00
@preactionlol05:00
+perlmonkey2But they and their families were pretty cool.05:00
+perlmonkey2Bart asked me what I did and I'm like, ah, I work at OU, I'm a programmer at a research center.  (editor's note, this has proven to be 100% conversation killer when speaking to non CS people).05:01
@preactionyes'm on that :p05:01
@preaction"I work with computers on the Internet" is usually what I say and quickly move to any other subject.05:02
+perlmonkey2That guy has a never ending supply of stories to keep all the yokels jaws on the floor.05:03
+perlmonkey2oh yeah, Russia in 84 yada yada, laughter ensues.05:04
+perlmonkey2I05:04
+perlmonkey2too much fun05:04
patspamum, where has the Encrypt Login option moved to in 7.5? it used to be under Settings > User05:09
patspamor an equivalent option to turn on https?05:10
+perlmonkey2patspam: if you find that answer you should put it in the wiki.  i can't find it either.05:12
patspamheh ok ;)05:12
patspamthis is my first excursion into 7.5 land, still finding my way around05:13
@preactionlet me investigate a bit. i think something about the WRE broke that encrypt login thing05:13
@preactionyou have to have "sslEnabled" in the configuration file05:13
@preactionand yes, please do add that to the wiki05:14
CIA-5WebGUI: doug * r6258 /WebGUI/ (6 files in 6 dirs): added: Ability to enable / disable archiving per Collaboration System. fixed Mech tests again05:31
-!- sanyock3 [i=_ejabber@server1.jabbernet.eu] has joined #webgui05:31
-!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has quit ["Leaving"]05:43
-!- sanyock3 [i=_ejabber@server1.jabbernet.eu] has left #webgui []06:22
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [Read error: 110 (Connection timed out)]06:41
-!- patspam [n=patspam@ppp59-167-137-64.lns3.mel6.internode.on.net] has quit ["Leaving."]07:51
-!- patspam [n=patspam@ppp59-167-137-64.lns3.mel6.internode.on.net] has joined #webgui07:54
-!- Radix-wrk [n=Jesse@203.161.68.67] has quit ["Leaving"]10:37
-!- BartJol [n=plainstu@host2.procolix.com] has joined #webgui11:18
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Connection timed out]12:24
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has quit ["Leaving"]14:19
-!- patspa1 [n=patspam@ppp59-167-137-64.lns3.mel6.internode.on.net] has joined #webgui15:00
-!- patspam [n=patspam@ppp59-167-137-64.lns3.mel6.internode.on.net] has quit [Read error: 104 (Connection reset by peer)]15:00
-!- patspa1 [n=patspam@ppp59-167-137-64.lns3.mel6.internode.on.net] has quit ["Leaving."]15:25
-!- patspam [n=patspam@ppp59-167-137-64.lns3.mel6.internode.on.net] has joined #webgui15:25
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui15:30
-!- mode/#webgui [+v perlmonkey2] by ChanServ15:30
-!- topsub [n=josh@97.66.185.250] has joined #webgui15:36
-!- patspam [n=patspam@ppp59-167-137-64.lns3.mel6.internode.on.net] has quit ["Leaving."]15:42
-!- Haarg [n=haarg@24-196-80-80.dhcp.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"]15:44
-!- patspam [n=patspam@ppp59-167-137-64.lns3.mel6.internode.on.net] has joined #webgui16:03
-!- SDuensin [n=Scott@7.sub-75-206-147.myvzw.com] has joined #WebGUI16:13
SDuensinGreetings.16:15
BartJolhi16:24
-!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui17:26
-!- mode/#webgui [+o Haarg] by ChanServ17:26
-!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has quit ["Windows doesn't have users, it has hostages."]17:34
-!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has joined #webgui17:34
-!- mode/#webgui [+v Radix_] by ChanServ17:34
-!- patspam [n=patspam@ppp59-167-137-64.lns3.mel6.internode.on.net] has quit ["Leaving."]17:42
rizen_opinion poll: (especially for those of you who are not from the United States, but anybody can chime in)18:11
-!- rizen_ is now known as rizen18:12
-!- mode/#webgui [+o rizen] by ChanServ18:12
@rizeni'm writing an asset for organizing skus in an online shop18:12
@rizenmy question is, what name makes more sense for the asset: "aisle" or "shelf"18:13
topsubpossible shelf?18:16
-!- snapcount [n=snapcoun@andc-fw1.exploreos.com] has joined #webgui18:19
-!- mode/#webgui [+v snapcount] by ChanServ18:20
ckotilaisles contain shelves18:20
ckotilheh18:20
-!- jfluhmann [n=jfluhman@x174y236.angelo.edu] has joined #webgui18:20
ckotilI used to make shelves for walgreens. that was a horrible job18:20
-!- tavisto [n=plainbla@pool-71-115-176-152.gdrpmi.dsl-w.verizon.net] has joined #webgui18:23
@rizenwhat do you mean "possible shelf"?18:24
+perlmonkey2ah, is it a bad question to ask why an online shop needs shelves?18:27
topsublol18:27
+perlmonkey2groups?  categories?18:27
@rizenit's basically a category system18:27
@rizenbut category isn't very specific18:27
@rizenso i'd like to give the category a name that's specific to selling stuff18:28
@rizenthat way in the future if we add other assets that need categories18:28
@rizenwe have already set a tradition of not using a generic word like "category"18:28
@rizenwhat type of category is it18:28
@rizenwell it's an aisle or a shelf, so that's a commerce category18:29
@rizengot it?18:29
@rizentechnically we could use folders for this18:29
@rizenbut it works differently than a folder18:29
@rizenbecause it doesn't use the lineage to determine what's in the category18:29
@rizeninstead it uses the keywords system18:29
@rizenlike the wiki uses keywords18:30
@rizenthat way a particular sku can show up in many different aisles/shelves18:30
@rizenso given that..anybody got any opinions?18:32
BartJolKoen probably has, should I call him?18:35
-!- jfluhmann [n=jfluhman@x174y236.angelo.edu] has left #webgui ["Open Source Symposium - http://www.texasoss.org/"]18:36
+perlmonkey2shelves seem much more specific.  And aisle might contain multiple groups of items that are generally related, but a shelf would contain items closely related.18:38
+perlmonkey2I'm thinking of the signs at wal-greens18:38
@rizenin the physical world that's true, but you only have 2 dimensions in a physical world18:39
+perlmonkey2like an aisle contains pills for headaches, stomach aches, etc.  But a single shelf would have all the headache pills.18:39
@rizenin the online world your categories can go infinitely deep18:39
@rizenok then18:42
@rizenglad to know nobody here has an opinion18:42
BartJolwell we have, but right now Koen and me are both quite busy18:43
topsubi use to work at wal-greens... photo lab!18:45
topsublol18:45
BartJoland we translate everything to Dutch anyways :)18:45
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has joined #webgui18:51
-!- mode/#webgui [+v perlDreamer] by ChanServ18:51
+perlDreamermorning, folks18:52
@rizenperlDreamer, don't talk to these people18:52
@rizenthey're all less than helpful18:52
+perlDreamerbut18:52
+perlDreamerbut18:52
+perlDreamerwho's going to help me with WebGUI?18:52
@rizenyou can talk to me, but no one else18:52
@rizen=)18:52
+perlDreamerDo you have dozens of new customers from GTA?18:54
apeironHey, I was helpful! I gave a definitive answer!18:55
apeiron(on IM, after being prodded multiple times)18:55
@rizenyou mean GAMA?18:57
+perlDreameryeah18:57
@rizenGTA is a video gam18:57
@rizengame18:57
@rizen=)18:57
+perlDreamerhey, whereever you can find customers :)18:57
@rizennot yet, but i think we'll see a major influx18:57
topsubya coming out tomrorow18:58
@rizenthey were all very impressed with the new commerce features18:58
@rizenand the general ease of use of webgui18:58
@rizenone guy said he has run his site on typo3, drupal, and 3 others and hated them all18:58
topsubwilliam told me some info on the commerce stuff.. can't wait to see it18:58
-!- tavisto [n=plainbla@pool-71-115-176-152.gdrpmi.dsl-w.verizon.net] has quit []18:58
BartJolso aisles vs shlelves it was?19:05
@rizenyup19:06
@rizenwhich makes more sense to a non-native english speaker?19:06
BartJolwell with my brilliant English... 19:08
BartJolI'm haviong a good thought about it...19:08
BartJolshelve is a more widespread word I think\19:08
BartJolalso thinking about a translation... maybe there is even another possibilty19:09
BartJolafdeling19:09
@rizenafdeling?19:09
BartJolyeah, but that's dutch19:10
@rizenwhat would be the english equivelent?19:10
BartJolsection is the most logical translation I think19:10
apeironhm. But that's kinda general like 'category', isn't it?19:10
BartJolbut that's not really store specific19:10
BartJolindeed19:10
@rizenah...well actually in the US that would be called "Department"19:10
@rizenas in a Department Store19:11
BartJolyeah, but in dutch it's the best there is I think19:11
BartJolbecause it says something about the kind of product 19:11
BartJola department has stuff that belongs together19:12
BartJolan aisle or shelve does not19:12
BartJolnecessarily19:12
+perlDreamernot to argue semantics, but in a store, when have you seen stuff randomly on shelves/aisles?19:12
BartJolthat's true19:12
+perlDreamerIt's always organized so that people can easily browse and find it19:13
apeironNot just customers but also stock personnel.19:13
BartJolbut I'm trying to open up other possibilities to make JT's life harder19:13
apeiron"go restock the Mt. Dew, apeiron" "er, uh, where is it this week?"19:13
+perlDreamerand don't drink it all this time19:13
apeirondoh19:13
BartJolwell there is a store in Dleft that changes location all the time19:13
apeironIf the hotel hosting the WUC had Coke products I wouldn't!19:14
BartJolit's called the Makro19:14
BartJolyour just making fun of me19:14
BartJoland right you are19:14
BartJolbut a shelve is a smaller collection of similar stuff than a aisle19:15
BartJolso I would prefer shelve because the word is better known and aisle, because the meaning of the word sounds a better cover of the load19:16
BartJolbut department... it does sound very general, but the dutch translation might be better than the literal translation of aisle19:17
apeironI would argue that whether a word is better known is highly dependent on location.19:18
BartJolwell19:18
apeironFor example, in my part of the world (northeastern US), 'aisle' is a regular, common word.19:18
apeironBut I can understand it not being used elsewhere.19:18
BartJolyeah, so you a native english speaker19:18
BartJolme tarzan19:18
topsubapeiron but it seems everyone around the world goes to stores and can relate to aisle right?19:18
topsubunless they call it something different 19:19
apeironWould hope so.19:19
BartJolgangpad19:19
+perlDreamerrizen natively speaks garbled crap, so I'm sure that he considered the translingual implication19:19
@rizenthat's exactly why i asked the question out here19:20
@rizenand why the new shop is called shop rather than store or commerce19:20
+perlmonkey2ah if you had new customers from GTA, wouldn't they be less like customers and more like the people who just jacked your car, stole your wallet, and are pimping out your girl?19:20
@rizenbart is saying that either department or shelf makes more sense for translation, then we should use one of those19:20
@rizenbecause both still make sense in english19:20
@rizenand they make translation easier19:21
topsuboff topic question.. The macro ^L; what template does it use?19:21
topsubthought i adjusted the login template but seems the system login and that macro login has 2 different templates19:21
@rizenlook at the code topsub19:21
@rizenw19:21
BartJolbut those are my suggestions and I'm getting hungry... so if you want more explanations, please be quick19:24
BartJolexplanation is the wrong word I think, nut anyway19:24
@rizenaisle is out due to translation problems, so shelf or department19:25
@rizenwhat is everyone's vote?19:25
BartJoldepartment19:25
+perlDreamershelf19:25
BartJolwooden shoe department19:26
BartJolwindmill department19:26
BartJolcheese department19:26
BartJolit just sounds right :)19:26
@rizenyou forgot tulip department19:26
@rizen=)19:26
BartJolsorry19:26
+perlDreamerand the beer department19:26
BartJolnow that's a special store19:26
+perlDreamerit caters to the dutch19:26
@rizenfrom my staff i have 4 shelf, and 2 department19:26
@rizenand out here i have 1:119:27
@rizenso i guess shelf wins the day19:27
+perlDreamerdid nuba say anything?19:27
@rizennope and neither did xdanger or radix19:27
BartJolwell then department and I are gonna have a drink and some food to comfort our loss19:28
@rizenhehe19:28
@rizen=)19:28
BartJolRadix should be sleeping19:28
@rizenhey, Haarg and I were the only 2 on our team that like department19:28
BartJolyou you can have a drink with us19:28
BartJolbye guests19:29
-!- BartJol [n=plainstu@host2.procolix.com] has left #webgui []19:29
+perlmonkey2hmm, how come the Request Tracker doesn't seem to have a template to show the severity of a bug like the request tracker on the webgui site?19:32
+perlmonkey2Do I need to write my own template?19:32
+perlmonkey2hmm, and requests don't seem to be able to be threaded.19:33
@rizenpm2 did you turn on replies?19:33
+perlmonkey2oh, you thread with replies.  Duh19:34
+perlmonkey2nevermind, works wonderfully :D19:34
+perlmonkey2rizen: the requests on the survey system just keep adding up.  I'm having a problem with adding options to the DB.  There are starting to be so many options for a question or section that it is getting ridiculous in the database.  I'm either going to have to start creating new tables for subtypes of questions or what I really want to do is put all options in a single option text column that is a JSON key/pair of the options.19:36
+perlmonkey2that way it can still be hand edited in the DB, but I don't have to keep going back and adding columsn to a table and then all the code.19:37
+perlmonkey2I think it would have been easier if the original spec from these people would have been "make it do everythign".19:37
@rizenare the options you're adding flat?19:37
+perlmonkey2the latest fun thing is to branch on a skipped question?  I could throttle them.19:37
@rizenor hierarchical?19:38
+perlmonkey2flat.19:38
@rizenthen what's the problem?19:38
@rizenit's not really that hard to add a column to a database19:38
+perlmonkey2I have a gazillion columns in the table.19:38
@rizentable19:38
@rizeni doubt that19:38
@rizendo you have more than 100?19:38
+perlmonkey2no19:38
+perlmonkey2maybe mor elike 2019:38
@rizenthen that's hardly a gazillion19:38
+perlmonkey2most of them could be rolled into a single text column of  JSON field.19:39
@rizencollaboration system has 5319:39
+perlmonkey2egads.19:39
+perlmonkey2validateVerbatim => 'text'19:39
+perlmonkey2validateOption => 'PhoneNumber'19:39
+perlmonkey2validateText => 'Date', allowVerbatimSkip => 019:40
+perlmonkey2I might end up with 100 at the rate we're goin.19:40
@rizenthe difference is that columns in the database allow you to use database operations to edit them19:41
@rizenjson blobs don't19:41
@rizenif you needed to store hierarchical data in a single row then i could see it19:42
@rizenbut you're asking for it out of laziness19:42
+perlmonkey2true dat19:42
@rizentrust me, i understand laziness..try grinding on webgui for 7 years19:42
+perlmonkey2select * from Survey_question where allowVerbatimSkip = 019:43
@rizenyou've only written one app19:43
@rizen=)19:43
+perlmonkey2heh19:43
+perlmonkey2select * from Survey_question q, Survey_questionResponse r where r.Survey_questionId = q.Survey_questionId and q.allowVerbatimSkip = 0 -- I guess just because I can't ever see a need for this doens't mean that somebody in some sad report generating unit won't have to try to do this.19:46
@rizenactually it's more like this:19:47
@rizenupdate Survey_question newProperty=newValue where allowVerbatimSkip=0;19:48
@rizenpeople may want to write reports on it19:48
+perlmonkey2ah, now tha tmakes sense19:48
@rizenbut it's far more likely that you will want to do maintenance or upgrade functions on your data19:49
+perlmonkey2where you add a new property that needs ot be set a certain way for that column.19:49
+perlmonkey2okay, I'm an easy sell.  Once again I bow to the master.19:49
@rizenthat's far easier than selecting all the questions in the system, turning it all into a perl structure from json, doing the calculation, reversing the json, and then putting it back into the database19:49
-!- topsub [n=josh@97.66.185.250] has quit ["Leaving"]20:22
-!- topsub [n=josh@97.66.185.250] has joined #webgui20:33
+perlDreamerperlmonkey2: Having done the JSON dance for the SKU based Product asset, I can tell you that rizen is right.  It's no fun.20:52
+perlDreamerif it wasn't for the value of having the parameters and variants in the asset table (and thus revisioned) I'd never have gone that route.20:52
+perlmonkey2perlDreamer: but but but....it is a pain in the arse to update code to reflect new tables :P20:52
+perlmonkey2I mean new columns20:53
+perlmonkey2yeah, his arguemnets made a lot of sense.20:53
+perlmonkey2I'm completely sold on it.20:53
+perlmonkey2especially given how my specs change thrice daily, having the most flexibility is important.20:53
+perlDreamersetRow should make handling it easier20:53
+perlmonkey2only works on a single column :(20:54
+perlmonkey2primary key tha tis.20:54
+perlDreamerpatches welcome?20:55
+perlDreamerwith tests, of course20:55
+perlmonkey2hah20:55
+perlDreamerseriously20:55
+perlmonkey2yeah, right after the survey system I'll move that up on my list20:55
+perlDreamerwell, if it would make your current work easier...20:57
+perlmonkey2when you put it like that.....20:58
+perlDreamersorry, perlmonkey2.  I don't mean to be pushy20:58
+perlmonkey2you aren't.  but you're right.  if I'm having to count my ?'s every time I add a new column, constantly screwing up the count and then debugging for 15 minutes the silly insert and updates, it might be faster to just spend 4 hours updating the setRow.20:59
* rizen thinks that anyone with perl in their irc handle is a wannabe21:42
+perlDreamerindeed, or a dreamer21:42
@rizenperlbot is a wannabe21:42
@rizenperlbot: perlbot is a wannabe21:43
perlbotI already have an entry for perlbot21:43
* snapcount burns a camel and chants "kill the witch!"21:43
+perlDreamerthat's some fire21:43
-!- snapcount is now known as phpDreamBot21:44
-!- mode/#webgui [-v phpDreamBot] by rizen21:44
phpDreamBotlol21:44
-!- phpDreamBot is now known as snapcount21:44
-!- mode/#webgui [+v snapcount] by rizen21:45
+snapcountso I may be coming to YAPC this year... trying to get us to sponsor it as well21:50
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has left #webgui []21:50
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui21:50
-!- mode/#webgui [+o apeiron] by ChanServ21:50
@rizensweet21:51
@rizenyou can help me teach people about webgui at the webgui workshop. =)21:51
+snapcountthat would be awesome21:51
+snapcountthe talks look really good and we are really wanting to hire Perl people21:51
+snapcountso this should be a good place to go me thinks =)21:52
+perlmonkey2snapcount: hey, I need to hire a perl person too.  maybe I should go :P21:52
+snapcountwe have tried to find people and it's tough21:53
+snapcounthell, we can't even find PHP programmers21:54
+snapcountpeople that apply are usually script kiddies that copy and paste from a book21:55
+snapcountit's amazing21:55
@apeironWow, it's *that* bad?21:55
+snapcountwe'll ask people about aspects of their code, why they made certain choices with their schema and just blank stares21:56
+snapcount"well the book I referenced...."21:56
+perlmonkey2snapcount: heh, I'm asking around with friends at what it costs to hire talent and I'm getting outrageous numbers.22:03
@rizensnapcount, have you put your job up on jobs.perl.org?22:03
@rizenand do you have to hire locally, or can people telecommute?22:03
+snapcountno haven't tried jobs.perl.org yet... we prefer local but at this point I think we will have to look at talent outside the area22:04
+snapcountperlmonkey2: yeah... that's the crazy thing... we don't mind paying people22:05
+snapcountI think our salaries are competitive but I dunno22:05
* snapcount shrugs22:05
+perlmonkey2snapcount: it is the fruits fo the dot com bust.22:05
+perlmonkey2shortage of talented people looking for jobs.  22:05
+snapcountI mean we'll pay 50 - 60K with benefits for someone that knows wtf they are doing22:06
+snapcountwe can't even get resumes for Perl peeps22:06
+perlmonkey2snapcount: that makes me sad.22:06
+perlmonkey2what area are you in?22:06
+snapcountOrlando FL22:07
+perlmonkey2that is a huge IT market.  But If I remember, the FL schools are Java/MS shops?22:07
+perlmonkey2Java and C++ in an MS env?22:07
+snapcountI don't know what they are teaching... the people I have interviewed are not only lacking in skill but motivation... no one seems to really be into it22:08
+snapcountlike... have a passion22:08
+snapcountit's a job22:08
+perlmonkey2instead of something fun to do?22:08
+perlmonkey2yeah, that was going to be high on my list of interview questions.  Do you hack in your spare time.22:08
+perlmonkey2oh well, just makes me that much more valuable :P22:11
+snapcounthah22:11
+snapcountwe want people here that have a passion for their work and the community22:12
+snapcountit's hard to describe... but I know exactly what it is22:12
+snapcountsomebody that just "gets" the idea of FOSS and hacking22:13
+snapcountanyways... so this is why I want to come to YAPC22:13
+snapcounttake a nice Perl vacation =D22:13
+snapcountall day nothing but Perl... sounds like a blast22:14
@rizenyeah, if you sponsor it they'll give you a spot at the job fair22:14
@rizenplain black has a spot22:14
+perlmonkey2I've always wanted to go.  Would be a lot of fun to be around people who have a similar passion for Perl and foss and what the ideas behind them.22:14
@rizenperldreamer, do you have some time to chat about products22:32
@rizenlet me know when you do22:32
@rizensnapcount, the essense of your EMS easter egg has been preserved22:32
@rizenin EMS222:33
+perlmonkey2ah, is this a normal problem with teh wiki.  If I add too many bullet points, the text is so small it can't be read and I can't make it bigger in FF.22:37
+snapcountrizen: sweet22:38
@rizeni have not seen that problem PM222:39
+snapcountthe EMS will always hold a place in my soul... although a great portion is more like the monster in my closet when I was 522:39
@rizenthe new EMS is half the code, half the screens, and a little more functionality than it had22:39
@rizenhowever, it has the benefit of existing under the new commerce system22:40
@rizenand hindsight22:40
+snapcountthat's awesome22:41
+snapcountI'm glad it is being improved22:41
+snapcountI have always felt bad honestly because I knew it would be so difficult to maintain22:42
+snapcountbut this is good news =)22:42
@rizenyeah, this is a ground up rewrite22:43
@rizenboth due to the complexity of the code and the new commerce system api22:43
@rizenno need for scratch cart for example22:43
+snapcountnice22:43
+snapcountI really need to take a look at the commerce work you guys have done22:43
@rizenit also turns out that nobody really needed the advanced prerequisite system you built22:44
+snapcountI've been anxiously waiting for the new commerce to get here22:44
@rizenso i paired that down considerably22:44
+snapcountfigures haha22:44
+snapcountthat was really the root of all the evil in EMS imho22:44
+snapcountthat and it's custom commerce stuff22:44
@rizenin the new commerce system everything knows about everything else, so you don't have the weird hackery we used to have to do22:46
@rizencarts and transactions can instanciate products22:46
@rizenproducts know what other products are in the cart 22:46
@rizenso they can do special things like give discounts22:46
+snapcountoh cool...22:49
+snapcountdid you wind up adding hooks throughout the commerce cycle so to speak?22:50
+snapcounti.e., say you wanted a product to do something before it is added to cart or after, etc etc22:51
@rizenthere are a few hooks22:51
+snapcountthat will be nice22:52
@rizenadd to cart, remove from cart, complete purchase, and adjust quantity in cart22:52
@rizenand those of course might trigger workflows for long running tasks22:53
+snapcountis there a default behavior for inventory management?  i.e., when is a item deducted from inventory? when its put in the cart (like a the grocery store) or after you take the money?22:54
+snapcountor is it up to the product?22:55
+snapcountthat was one of the aspects that always drove me nuts when dealing with the commerce stuff22:56
@rizeneach Sku asset must manage it's own inventory22:56
+snapcountthat is _awesome_22:56
@rizensome skus don't have inventory22:56
@rizenall skus, recurring or not, are derrived from the same base class22:57
@rizenWebGUI::Asset::Sku22:57
-!- topsub [n=josh@97.66.185.250] has quit ["Leaving"]22:57
@rizenand since they're all just assets, everything that works on assets works on skus as well22:57
@rizenwhich gives the whole system a lot more power22:58
+snapcountI really need to take a look at what you guys have done... it sounds soooo much better22:58
-!- steveo_aa [n=sno@adsl-76-234-133-88.dsl.sfldmi.sbcglobal.net] has joined #webgui23:19
-!- steveo_aa [n=sno@adsl-76-234-133-88.dsl.sfldmi.sbcglobal.net] has left #webgui []23:22
@rizenAdding shelves....23:22
@rizenThat's soo cool23:22
+snapcountomg... some a**hole has 850,000 mysql bin logs in this folder and is surprised that he can't delete them all with rm23:24
+snapcountlol23:24
+snapcountrm says "too many arguments"23:24
+snapcountthat's just awesome23:25
@apeironrofl, I'm more surprised he didn't exhaust the filesystem's inode supply.23:27
-!- tavisto [n=plainbla@pool-71-115-176-152.gdrpmi.dsl-w.verizon.net] has joined #webgui23:33
+snapcountyeah... me too23:35
+snapcountperl to the rescue =D23:35
+perlDreamerI'm back, rizen23:40
-!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has quit [Read error: 110 (Connection timed out)]23:50
-!- metanil [n=akhadka@137.48.138.72] has joined #webgui23:53
metanilhello23:53
+perlDreamerhello23:53
metanilhow do i generate custom pdf report.. 23:54
metanilPDF::Create??23:54
+perlDreamerYou mean in WebGUI?23:54
metanilyes23:54
+perlDreamerWell, for starters, WebGUI does not do that be default23:54
metanildo WebGUI provide some features on that?23:55
metaniloh!23:55
+perlDreamerno23:55
metanilwell! . then there must some "webgui way" to do that. 23:55
+perlDreamerNot without writing a bunch of custom perl code.  Either extending an existing asset, or making a new one.23:56
metaniloh!23:56
metanilany suggestions?23:57
@apeironhmm23:57
@apeironI wonder how much work it would be to munge the export system to do that.23:58
+perlDreamerWhich asset do you want a PDF from, metanil?23:58
metanilfrom gallery. 23:59
-!- SDuensin [n=Scott@7.sub-75-206-147.myvzw.com] has quit ["Leaving"]23:59
metaniljust a bunch of images and their descriptions23:59
--- Day changed Tue Apr 29 2008
+perlDreameryou've got a lot of coding ahead of you :)00:00
metanil:D .. i'll accept that.. as long as i know i am headin in right direction  00:00
@apeironThe easiest part is writing the actual PDF files. Hard part is getting all the data assembled so you have something to write.00:01
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui00:07
-!- mode/#webgui [+o preaction] by ChanServ00:07
@rizenperlDreamer, regarding products a few things came up while i was at the trade show00:08
metaniloh!00:08
@rizenone is that we absolutely must have a product import system00:08
tavistomost definitely00:08
metanilbut for now.. the data is just coming from gallery assets.. so i don't think there would much problem..00:08
@rizeni'm open to any ideas that you have, but i've given it some thought00:08
@rizenmy thought is that we'd add a new system level node to the import node called "products"00:09
@rizenand that's where all the products would get created00:09
@rizenoh..and i'll write all of this unless you're up to the challenge...i just want to hash it out with you00:09
@rizenthe import/export mechanism will use a csv file similar to tax codes00:10
+perlDreamerthe product is too complex for something like that00:10
@rizenhowever, it won't delete and recreate all the products00:10
@rizenno it's actually not00:10
+perlDreamertell me more :)00:10
+perlDreameralthough I'd like to remind of the parameters and variants stored in JSON00:11
@rizenthe import/export feature isn't going to deal with variants00:11
@rizenit's just going to deal with products00:11
+perlDreamerwell, in that case, sure, it will work00:11
@rizenso the fields will be:00:11
@rizensku, title, description, price00:11
@rizenoh...and quantity00:11
@rizenwe must have inventory managmeent00:11
+perlDreamerwhen is the due date?00:11
@rizenmay 31st00:12
@rizensame as before00:12
@rizeni was also thinking about variants00:12
@rizeni think we can support variants with this if we want to00:12
@rizenbut we have to do variants a different way if we're going to do that00:12
@rizenwhich is probably ok00:13
@rizenbecause the whole variants thing is very complex right now00:13
+perlDreamerhow do you think they should be done now?00:13
@rizennot saying we should do it yet...just talking outloud00:13
@rizenwant your feedback00:13
@rizenbut i'm thinking that maybe variants should actually be additional product information00:14
@rizenso a table00:14
@rizenonly in json00:14
@rizenwell i guess it could be a table in the db00:14
@rizenbut basically it would have only these parameters:00:14
@rizensku, one line description, price, quantity00:15
@rizenthen we could use it in conjunction with the product import system00:15
+perlDreamerso get rid of the intermediate parameters altogether00:15
+perlDreamerthat's not bad00:15
@rizenyup00:15
@rizenand...this one may throw you off the deep end00:16
* perlDreamer starts flailing00:16
@rizenbut another thought i had to reduce complexity00:16
@rizenis that the product asset itself shouldn't have a price or sku or quantity00:16
@rizenrather that it's just a "variant"00:16
@rizenso all products are actually varients00:16
@rizenvariants00:16
@rizenthe product asset being a container for sku variants00:17
@rizenif you know what i mean00:17
+perlDreamerI think so, but I'm thinking of them as collateral00:17
@rizenme too00:17
+perlDreamerbut stored in the main db00:17
+perlDreamerProduct table00:17
@rizenin the product table there would just be title, description, product images, etc00:17
+perlDreamerso "variants" get stored in a separate table, and are unversioned?00:18
@rizenand then there would be either an extra field which would store all the variant stuff in json, or we create a Product_variants table00:18
@rizento store the rest of this stuff00:18
+perlDreameroh, okay00:18
@rizenthe variants stuff would be unversioned, but we could still export it with packages00:18
@rizenif we want to00:19
+perlDreamerI think we should.00:19
+perlDreamermake it exportable00:19
@rizenthat's my whacky idea for the change to the product asset00:19
@rizenterrible?00:19
+perlDreamerNo00:19
@rizenhaving a stroke?00:19
@rizenlots of work?00:20
@rizenlots of rework?00:20
+perlDreamerI'd be curious to see how a current WebGUI commerce user thinks of it00:20
+perlDreamermaybe they don't care00:20
@preactioni like it, as long as it's a new table and not a JSON object (will make it way easier to build SQLReports on the data)00:20
+perlmonkey2anyway to view request items that have been closed without doing a search?00:20
+perlDreamerperlmonkey2, only by URL00:20
+perlmonkey2In the request tracking system?00:20
+perlmonkey2okay00:20
+perlmonkey2thanks perlDreamer00:20
+perlDreamerrizen, some rework.  I already have parameters and variants in the Product Asset.00:20
+perlDreamerbut the replacement is simpler anyway, and I learned a lot from doing it the way that I did00:21
@rizenok so there's still one huge problem with the product import/export thing00:21
+perlDreamerand if you say no more JSON, then I luuuvvvvv you!00:21
@rizensome of the retailers i talked to have 200k products00:21
@rizenwebgui can easily handle that much content00:21
@rizenhowever, if we import them all directly into the product node00:22
@rizenthen the asset manager will freak out00:22
@rizencuz it doesn't paginate00:22
@rizeni can think of 3 solutions to the problem00:22
@preactioni'd say let them specify a shelf to put them on (if that's what a Shelf is)00:22
+perlDreamerI like that idea, but let's hear all three00:23
@rizenbut before i get to them i should mention that the asset manager is due for a full rewrite in 7.6/7.600:23
@rizen7.700:23
@rizenso basically in the next year sometime00:23
+perlDreamerwe'll just do it at the WUC00:24
@rizen1) for each 250 products imported we create a sub-folder00:24
@rizenthat is the simplest solution, but it will make no sense to the end user00:24
@rizenbecause there will be no ryhme or reason as to why products a and b are stuck in folder x00:25
+perlDreamerwe could add a column to the CSV00:25
+perlDreamer"Folder Name"00:25
+perlDreamerShelf Name00:25
@rizen2) we create a product manager view, that is sort of like an asset manager except only displays products00:25
+snapcountor create the folders based on the letters the products begin with00:25
@rizenand it paginates00:25
@rizenhowever, if they go into the asset manager and look at their products it will still freak out00:26
@rizen3) i do a quick and dirty simple rewrite of the asset manager00:27
@rizenusing YUI Data Table00:27
@rizenbut we lose some functionality...like drag and drop reordering of stuff00:27
@rizenbecause i won't have time to implement it all00:27
@rizenanswering the question about shelves...shelves don't actually contain products00:28
@rizenthey display products based upon keyword matches00:28
@rizenthat way a single product can exist on multiple shelves at the same time00:28
+snapcountmakes sense... you can find toothpaste on several shelves in a real store00:29
+perlDreamerwell, how about back to Folders them to let them organize them themselves?00:29
@rizenso let them type a folder name on the import?00:29
+perlDreamersure00:29
@rizenin the csv file00:29
+perlDreameryeah00:29
@rizenthere are several problems with that as far as i can see00:30
+perlDreamerbring it on00:30
+snapcountthat won't work based on name like I suggested because they may not be alphabetically diverse... so nix my suggestion =)00:30
@rizen1) they may put too many products into a single folder name00:30
+perlDreamerthat's their problem00:30
@rizen2) they may not specify a folder name00:30
+perlDreamerwe make them00:30
@rizen3) they are getting this data export from their inventory system, so they'll need to type in the folder names every time they do an import00:30
@rizen4) we're talking 200,000 products...unsorted...how do you determine which product gets which folder nmae00:31
+perlDreamerthe CSV line looks like 'Folder name", title, description, ...00:31
@rizenthe same problem exists for putting the product in the folder starting with the letter of the product name unless we do multi-level hashing00:31
@preactioni would hope that if they have 200,000 products in their inventory, they have some sort of keyword and/or categorization00:32
@rizenpreaction: they may, but that doesn't mean that there are 250 or less products in any given category00:32
+perlDreamermake them put the folder name on every line00:32
@rizenremember, this is a limitation of our system, not theirs00:32
+perlDreamerbesides, like you said earlier, the Asset Manager gets a face lift in 12 months00:33
@rizentechnically the asset system can handle 1 million records at each level, but realistically the asset manager can't00:33
@preactionif we can't have some functionality, will there be an easier-to-program alternative? such as links to move assets in the heirarchy?00:34
@rizenyeah, promote and demote are there for example00:35
@preactionit's a rare function anyway, since it has no bearing on Layout assets. the only time i can see people using it is FAQ CS or other CS sorted by sequenceNumber00:36
@preactionso a temporary neutering for a greater purpose might be the best solution00:36
@preactionpaginating the asset manager has been desired for a while00:36
@rizenno...people use it for rearranging NAV00:36
@rizenthat's why it's there00:36
@rizenthat's why it's always been there00:37
@preactionoh, that too00:37
@rizenpreaction, nice job on all those rfe's this weekend btw. were you bored? or did they scratch a particular itch?00:37
@preactioncould you build an alternative where the user can input a ranking number and hit "Save" and the asset will go to that ranking number (and the existing one will move donw)00:38
@preactionbored, and i remembered you saying we weren't going to have time for karma RFEs for 7.500:38
@preactionthat and they were all relatively tiny00:38
+perlDreamerrizen: I know I'm being stubborn, but I still think that forcing the user to enter a Folder name is the best way to go.00:40
@rizenpreaction: no, i'm going to barely be able to rewrite the thing and get everything else i need done in the next 5 weeks00:41
@rizenso i can't add any more functionality00:41
@rizennot saying someone else couldn't00:41
@rizeni just can't00:41
@rizeni'm already pulling 80 hour weeks to finish up the commerce system00:41
@rizenand run the business00:41
@rizenand present at trade shows00:41
@rizenand write speeches for YAPC00:41
@rizenand .....00:41
@preactioni can take the asset manager project if you want00:42
@rizenperlDreamer...i don't think you're wrong to think it, i just think that for these people, it will be a deal breaker00:42
@rizenpreaction: are you serious? you have enough spare time to take that on?00:43
@rizenkeep in mind that it has to be 100% complete by may 31st00:43
@rizenwhich is only 5 weeks from now00:43
+perlDreamerrizen: You really think they'll do inventory management with two systems, and not only use WebGUI?00:44
@preactioni'll be taking it easy these next two days, plenty of time for research and design. if i can put 10 hours a week after that (which is easy, 2 hours a weekday), that's 50 hours00:45
+perlDreamerI mean, you'd know.00:45
+perlDreamerbut I can't see people doing the import thing on a regular basis00:45
@preactionif it takes 50 hours, that'd be incredible00:45
@preactioni mean, i cleaned up and added all those RFEs to the VersionTag Operations in 3 hours00:45
@rizenperlDreamer: yes i do after conversing with these people. because the import/export system will allow them to sync up their data between the two00:46
+perlDreamerokay00:46
@rizenok preaction, the job is yours00:47
@rizeni do want it written in YUI Data Table though00:47
@rizenbut other than that you're free to add features as you see fit00:47
@rizenso if you want to make drag and drop work, feel free00:47
@preactionalternatively i could take the Shelf, which sounds a lot like it could be written with a Report framework subclass (or you could use the Report framework for it)00:47
@preactiondrag-and-drop wouldn't work between pages i don't think, so i might forgoe for my idea with the numbers00:48
@rizenfair enough00:48
@rizenshelf is already written00:48
@rizenjust finished it00:48
@preactioni mean, i could find a way, but i'd rather not take the mountain if i don't know how big it is00:48
@rizenwell except for the template, which i'll finish tonight00:48
@rizenit should also of course do ajax requests back to the server for all data so that while you're working in the asset manager it never refreshes the page00:50
@rizeni figure that if i was to do it, it would take me approximately 20-25 hours00:51
@rizenmost of which would be just debugging javascript problems =)00:51
@preactioni'll do some research, using DataTable should make at least some things easier (i hope)00:52
@rizenoh yeah00:52
+perlDreamerrizen: I think I have a solution.  The problem is with import vs maintenance.00:52
@rizenlots will be easier00:52
+perlDreameron a new import, we need to categorize.00:52
+perlDreamerbut on each subsequent import, only new products need to be categorized00:52
+perlDreamerso we could build both an import and an inventorySync mode into the Product00:53
@rizenperlDreamer: with preaction rebuilding the asset manager using data table with ajaxified pagination, there's no need to worry about it00:53
+perlDreamerokay, --worrying00:53
@rizenpd do you think you want to take on the whole product import/export thing or do you want me to do it?00:58
+perlDreamerI think I can do it, but you haven't mentioned the export thing before.  Is it different from a package?00:59
@rizenyes this is for product import/export for adding products, and then syncing inventory numbers back out00:59
@rizenso the import allows you to add a product01:00
@rizenand the export gives you the same thing back that you imported in01:00
@rizenexcept that it will reflect changes in inventory01:01
@rizeneventually i want the export to have one additional column that will be delta quantity over a period of time01:01
@rizenso you could select a date and time and hit export and it would say -3 for a given item that sold 301:01
@rizenbut for this initial rev, just the basic export is enough01:02
+perlDreamerokay, let me echo back all that I've heard so that I'm not missing any important details01:02
+perlDreamer1) Products are containers for variants, which are asset collateral in a different table.01:02
+perlDreamer2) products need import and export methods01:03
+perlDreamer3) parameters and variants from the original Product do not exist anymore.  There are only variants.01:03
+perlDreamer4) We need inventory management in the initial release01:03
+perlDreamer5) variant fields: sku, title, description, price, quantity01:04
+perlDreamerand weight01:04
+perlDreamer6) Products do not have a "sku" per se, nor price nor weight.01:05
-!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"]01:05
+perlDreamerhow does that sound so far?01:05
@rizencouple minor revisions01:06
@rizen2) products will not have import/export methods...there needs to be a product management screen in the "Shop" admin interface01:07
@rizenotherwise you need a product to add a product01:08
@rizenwhich seems a bit weird to me01:08
+perlDreameryeah01:08
@rizen7) we need a "product" system node that is a child of the import node, and that's where all products will be imported01:08
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 104 (Connection reset by peer)]01:09
@rizeni think that about sums it up01:09
+perlDreamerI have a question01:09
+perlDreamerIf products are container for variants, and an import happens, how do you associate variants back to their parent products?01:10
+perlDreamersince I'm guessing that users will never manage "Products" in their brick and mortar program.01:11
@rizenoooh01:12
@rizengood question01:12
@rizeni guess that products will still have to have a base sku01:12
@rizenso a hanes beefy tshirt will be a sku of abcd01:13
+perlDreamerso a variant db schema will look like productId, sku, title, description, price, weight, quantity01:13
@rizenand all the other variants will have to reference it01:13
@rizenis productId in that assetId?01:14
+perlDreamerI think productId would be the assetId of a Product01:14
@rizenthen why not just call it assetid?01:14
+perlDreamerbut the CSV import would only work on SKU01:14
@rizensure01:14
@rizenso when you import a product01:14
@rizenor a list of products rather01:15
@rizenthe csv format will be:01:15
@rizenmastersku, sku, title, shortdescription, price, weight, quantity01:15
@rizenwhere mastersku is the sku associated with the product asset01:15
@rizenthat it inherits from the WebGUI::Asset::Sku01:15
@rizenthat property always exists for all skus01:15
@rizenso if they specify only a mastersku and not a sku then it will create a product with only one variant01:16
@rizenand the sku of the product and the sku of the variant will be the same01:16
+perlDreameris the sku in Asset::Sku guaranteed unique?01:17
+perlDreamersince we'll be using it backwards on import to do lookups?01:17
@rizenyes it will be unique01:18
@rizenalthough there is currently nothing that enforces that01:18
@rizencuz i haven't gotten around to it01:18
@rizencuz i'm not sure how i'm going to do it yet01:18
* perlDreamer wishes that it were possible to use GUIDs everywhere, but suspects that the B&M programs won't dig that.01:18
@rizenso you can safely do a $db->quickScalar("select assetId from sku where sku=?")01:19
+perlDreamerokay01:19
@rizenoh wait01:19
@rizeneven better01:19
@rizenyou can do:01:19
@rizenmy $sku = WebGUI::Asset::Sku->newBySku($session, $sku);01:20
@rizenthat will not only give you the asset, but the most recent version of it as well01:20
+perlDreameryes01:20
@rizenalready instanciate01:20
@rizend01:20
@rizenoh and we're on the same page that it should be a short description for the variants right?01:21
@rizenno longer than let's say 30 chars?01:22
+perlDreamerokay01:22
@rizensomething that you can pick out of a drop box01:22
@rizenso you'd have a drop box that looks like:01:22
@rizen[Red XL] [add to cart]01:22
@rizenor01:23
@rizen[Red XL              v] [add to cart]01:23
@rizenwhere the v is the dropdown selector01:23
@rizeni have a meeting i have to get to. be back in 90 minutes if you need anything01:24
+perlDreamerok01:24
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit []01:24
-!- snapcount [n=snapcoun@andc-fw1.exploreos.com] has quit [Remote closed the connection]01:26
-!- snapcount [n=snapcoun@andc-fw1.exploreos.com] has joined #webgui01:27
-!- mode/#webgui [+v snapcount] by ChanServ01:28
-!- snapcount [n=snapcoun@andc-fw1.exploreos.com] has quit [Remote closed the connection]01:29
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI01:29
-!- snapcount [n=snapcoun@andc-fw1.exploreos.com] has joined #webgui01:29
-!- mode/#webgui [+v snapcount] by ChanServ01:30
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui01:40
-!- mode/#webgui [+o rizen] by ChanServ01:40
@rizeni'm an idiot01:40
@rizenmeeting is an hour later than i thought01:40
-!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has joined #webgui01:42
-!- mode/#webgui [+v Radix_] by ChanServ01:42
@rizenRadix_ you're too late for my poll01:43
@apeiron... it was 2 in the morning or so for Radix_ when you asked. :)01:43
@rizenno excuse01:44
@rizenhe can't come crying to me now01:44
@rizen=)01:45
+perlDreamerokay, rizen.  No more params and options01:54
@rizenyou're already done with the variant changes?01:55
+perlDreamerNo, I ripped out my old code01:55
@rizenoh01:55
+perlDreamerbad, nasty stuff01:55
+perlDreamerTime to put in new, beautiful code01:55
+perlDreamerBut if you change the spec one more time01:55
@rizenso you're glad that this change is happening then01:55
@rizenplease don't kill me01:55
+perlDreamer"I shall cut off your head, stuff it with cabbage and feed it to the dogs!"01:55
@rizeni just thought you might be interested in hearing feedback from real live retailers01:56
+perlDreamerOh, stop being reasonable and even tempered01:56
+perlDreamerand tell me where the quote comes from01:57
@rizeni don't actually know01:57
@rizenis it something i should know?01:57
+perlDreamerperhaps01:57
+perlDreamerChitty Chitty Bang Bang01:57
@rizenyou do know that i can't read, right/01:57
@rizen?01:57
+perlDreamerIt's from a movie :)01:57
@rizenwell i guess there's a chance then01:57
@rizen=)01:57
@rizenhow many guesses do i get?01:58
+perlDreamer101:58
@rizenoh did you just tell me01:58
+perlDreameryes :)01:58
@rizenChitty CHitty Bang bang01:58
+perlDreamerGood guess!01:58
@rizensorry brain is somewhere else01:58
CIA-5WebGUI: colin * r6259 /WebGUI/ (3 files in 3 dirs): remove Parameters and Options from the Sku Product01:59
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui02:00
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has quit ["Download Gaim: http://gaim.sourceforge.net/"]02:38
CIA-5WebGUI: colin * r6260 /WebGUI/docs/upgrades/upgrade_7.5.10-7.5.11.pl: add a variants table for product collateral02:40
-!- patspam [n=patspam@ppp59-167-137-64.lns3.mel6.internode.on.net] has joined #webgui02:53
-!- patspam [n=patspam@ppp59-167-137-64.lns3.mel6.internode.on.net] has quit [Client Quit]02:54
-!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui03:13
-!- mode/#webgui [+v Radix-wrk] by ChanServ03:13
+Radix_morning :)03:15
@rizenevening03:16
CIA-5WebGUI: jt * r6261 /WebGUI/lib/WebGUI/Asset/Wobject/Thingy.pm: hide default thing until there are things to list03:20
-!- tavisto [n=plainbla@pool-71-115-176-152.gdrpmi.dsl-w.verizon.net] has quit [Read error: 104 (Connection reset by peer)]04:02
+snapcounthttp://flickr.com/photos/paintitblack/2439080330/04:17
+snapcountroflcopter04:17
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has quit [Read error: 104 (Connection reset by peer)]04:23
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui04:29
-!- mode/#webgui [+o apeiron] by ChanServ04:29
CIA-5WebGUI: jt * r6262 /WebGUI/ (10 files in 9 dirs): Added an asset called Shelf, which allows you to create categories of Skus.04:47
-!- elnino [n=ninow@user-38q49cv.cable.mindspring.com] has joined #webgui04:48
elninohi. I'm trying to come up with a plan about consolidating linux servers, but I'm a little brain dead on teh requirememts on webgui. I seem to recall that webgui requires it's own apache instance? I'm I remembering this correctly?04:50
+Radix-wrkvirtualise04:55
elninoSorry this is all new to me, what would be the benefit of virtualizing? We've got java apps, php pages, jsp pages, and asp (js) pages and webgui.  Right now, my webgui plays nicely with tomcat, so I was begining to come to the conclusion that webgui would play nicely with the others as well?04:57
elninothe java apps, php and asp pages are currently on separate machines04:58
+Radix-wrkvirtualisation means simpler backups, upgrades, rollbacks, and guaranteed no conflicts between anything04:58
+Radix-wrkHardware can be changed at will with no need to upgrade, reconfigure, etc05:00
+Radix-wrksystem getting overloaded, simply move one or more virtual machines across to another physical machine entirely and everything just keeps on humming along.05:01
elninoif a server is virtualized, isn't there multiple installation of oses?05:03
+Radix-wrkyeah, there's a small memory hit with OS overhead for each vm, but there's very little cpu utilisation there generally.. most machines these days are pretty idle most of the time.05:06
elninoso... if it's a single machine with multple os, how is hardware changed at will? hopefully that isn'ta  dumb question.?05:07
elninokinda sounds like you're still maintaining multiple servers, but just one machine.  maybe that's what you mean? that you can move it from machine to machine, as long as the machine can handle virtualization?05:09
+Radix-wrkWell the images are based on virtual hardware, so there's no direct connection to hardware.  If you want to shift everything over to a new setup all you need is vmware installed and you're good to go05:09
elninook. I was right with what I just said. =)05:09
elninothat sounds cool.05:09
elninoso... when I installed webgui so long ago, i was having issues with 64-bit platform. So if it was a virtual system, are there issues with 64-bit and 32-bit stuff anymore?  what do the VM run on?05:10
+Radix-wrkmeans upgrades are no longer a nightmare.. backups are pretty simple (snapshots are usually just diffs), rolling back, making clones of critical systems for testing, etc is all good05:10
+Radix-wrkI know vmware esx is essentially just a bare shell of a system05:11
+Radix-wrkit's like an incredibly light OS shell that is just designed to run virtual systems basically05:12
+Radix-wrkthere are others too.. xen, microsoft hyper-v05:12
+Radix-wrkI've been looking at vmware esx myself for us here.. been using the free vmware server up until now05:13
+Radix-wrkbut esx offers a lot more features05:13
-!- patspam [n=patspam@ppp59-167-137-64.lns3.mel6.internode.on.net] has joined #webgui05:14
elninothis to too abstract for me.   somewhere, it deals with  hardware.. so.. you have a shell running on the pc, that allows you to install multple operating systems - or maybe they aren't really operating systems...?05:15
+Radix-wrkgo have a play with the free vmware server perhaps.. you'll understand better when you've played with it a bit more05:15
+Radix-wrkthe vmware layer handles the hardware.  The virtual systems themselves see virtualised hardware that the vmware layer redirects accordingly05:16
+Radix-wrkimho tho, anyone considering consolidation of linux servers should look at virtualisation these days05:17
patspamis it possible to gauge how far away 7.5 is from becoming "stable"?05:17
+Radix-wrkvmware also offer a free vmware converter app that will take a snapshot of a live machine and create a virtual image of it that you can use in vmware05:17
elninoI think i'm getting one.. I don't know what is on the machine, my machine at work fried, so my IT guy purchased me a virtual server, in hopes that eventually I can get rid of the other machine s in my cube that are dying a slow death. I don't know what vmware it's going to have, but I'll need somethign that can handle windows and linux.. will free vmware do that?05:17
+Radix-wrkyeah, the free one can run any os05:18
elninoooh. That sounds cool too.  I think I"m way over my head.05:18
patspamI'm just starting a new wG project which will take at least a month of dev, so trying to decide whether to work off 7.4 or 7.5..05:18
patspammy last project was based on 7.3 stable05:19
elninobut I'm getting the machine, so I guess I'll be swiming for a while while I rebuild.05:19
+Radix-wrkpatspam: I think 7.5 was aimed to be finished sometime before the WUC from what I heard last in the discussions on here.. but don't quote me on that05:19
elninopatspam: I have no idea.05:20
+Radix-wrkthe idea being that it would be ready to talk about at the WUC and get feedback then05:20
+Radix-wrkAnd I think they wanted it out a month or two beforehand - so I'd expect it'll go stable soon really05:21
+Radix-wrkWUC is when.. august/september?05:21
patspamah fantastic05:21
@rizen7.5 will be complete June 105:21
patspamyeah, i just looked it up, August05:21
@rizenand will be stable sometime in july05:21
+Radix-wrkthere you go.. heard it from the man :)05:21
patspamgreat, I think I'll go with 7.5 then. I've got hazy plans of building some funky stuff on top of Thingy which should be fun05:22
@rizenis it because thingy rulez?05:23
patspamhopefully, yes! although I haven't played with it yet ;)05:23
@rizenit's kind of funny. there's a big showdown amongst the webgui peeps about what is cooler: gallery, survey, shop, or thingy05:24
@rizenand the best part, they're all new in 7.505:24
patspamwg dev team ftw!05:25
@rizenas long as you keep it in your brain that thingy is not a developers tool, but rather a business tool then you'll be happy with it05:25
+Radix-wrknot played with survey or shop yet - but thingy and gallery are pretty cool from what I've seen05:25
@rizeni've had developers complain that "what do you mean i cant specify that i want an outer left join"05:26
@rizenit's not that kind of tool05:26
@rizenthe idea was to hide all the database and programming stuff so that your average business user can build applications05:26
@rizenwait until you see them all fully skinned out05:27
patspami built a psychology research website on 7.3 that was full of crud-based tools but it was dependent on me hard-wiring all the db stuff. thingy has me excited because I want to put the power to create/modify the crud-based tools into the hands of the content manager05:29
@rizenthat's the idea05:30
@apeironPsych research you say? Still up?05:30
patspamyep - moodswings.net.au (but you can't see much without a login)05:30
patspamI think I'll need to extend thingy quite a bit though because users work their way through the site based on the data they enter into the tools05:32
@apeironhrm, form-based nav?05:33
patspammore long-term than form-based.. they get "graduated" to certain wG groups based on their data05:33
@apeironAh.05:34
@rizenthingy should be fully subclassable05:34
patspamawesome, I'm really looking forward to playing with it05:34
@rizenif there are features you think would be good for the core as you do your dev work, i'm all ears. i just don't want to add features that are too technical05:35
patspamgreat, I'll definitely let you know if I produce anything worthwhile05:37
@apeironpatspam, That site looks absolutely fascinating. I've only an amateur interest in psychology currently but I'm quite interested to see what happens with it, if you're still pursuing it.05:39
patspamapeiron: yep we're still maintaining that site and this new thingy-based site will be for the some research team (and other research teams here in Aus are trying to get funding to get us to build similar sites for other disorders too)05:42
@apeironpatspam, Sounds really cool. All on WebGUI, eh? Awesome. :D05:43
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit []05:50
-!- patspam [n=patspam@ppp59-167-137-64.lns3.mel6.internode.on.net] has quit ["Leaving."]05:53
-!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has quit [Read error: 104 (Connection reset by peer)]06:06
-!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has joined #webgui06:06
-!- mode/#webgui [+v Radix_] by ChanServ06:06
-!- elnino [n=ninow@user-38q49cv.cable.mindspring.com] has quit ["Leaving"]06:42
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [Read error: 110 (Connection timed out)]06:53
-!- patspam [n=patspam@ppp59-167-137-64.lns3.mel6.internode.on.net] has joined #webgui07:10
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit ["Exit- stage left"]08:22
-!- snapcount [n=snapcoun@andc-fw1.exploreos.com] has quit [Read error: 110 (Connection timed out)]08:25
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has quit [Read error: 110 (Connection timed out)]08:37
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui09:03
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit [Client Quit]09:03
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui09:54
-!- mode/#webgui [+o preaction] by ChanServ09:54
-!- patspam [n=patspam@ppp59-167-137-64.lns3.mel6.internode.on.net] has quit ["Leaving."]10:07
-!- BartJol [n=plainstu@host2.procolix.com] has joined #webgui10:11
-!- Radix-wrk [n=Jesse@203.161.68.67] has quit ["Leaving"]10:25
-!- patspam [n=patspam@ppp59-167-137-64.lns3.mel6.internode.on.net] has joined #webgui10:59
BartJolmorning11:02
@preactionnight11:04
BartJolgoodnight Doug11:04
patspamtrying to force ssl post-login (in 7.3).. i can see in firebug that the login forum posts to https but then it gets back a "301 Moved Permanently" which redirects it back to http11:08
patspamcleared my browser cache, tried different browser, restarted server, cleared webgui cache...11:08
patspamall to no avail11:08
patspam(and EncryptLogin is set to YES in Settings > User)11:08
patspamstrangely an incorrect login attempt redirects to the https version of the login page11:09
@preactionthat's expected behavior11:09
@preactionthe login itself is encrypted, but it kicks you back to unencrypted11:09
@preactionyou might be interested in returnUrl in the 7.5 series11:10
@preactionadding "returnUrl" as a form parameter in your login form allows you to set exactly where the user goes after they login11:10
@preactionbut it's really low-level, nothing really magic about it11:10
patspamah ok.. i was mislead because the hover-help on the EncryptLogin option says it will remain in https for all post-login pages11:10
@preactionif it says that, that would be a bug11:10
@preactionor if it fails to do so, that would be a bug11:11
@preactionbut you're in 7.3, i'd ask you try to reproduce in latest beta before posting one11:11
patspamyeah11:11
patspamso in pre-7.5 was there any way to keep the user on https?11:12
patspambesides hacking the login handler? =p11:13
@preactionforcing them in the entire time?11:13
patspamyep, or at least not bouncing them to http post-login11:13
@preactionno, i was answering you. not allowing your site to be accessed without https11:14
patspamcool i just manually commented out the redirect in Auth.pm, works a treat11:41
-!- wgGuest81 [n=wgGuest8@user-3e88cf4e.tcl119.dsl.pol.co.uk] has joined #webgui13:42
-!- wgGuest81 is now known as lrobinson13:43
BartJolhi13:44
lrobinsonhi13:44
lrobinsonWhat's the best way to pass a param that may contain commas to a macro?13:44
BartJoljee13:44
lrobinsonis there an escaping macro or something somewhere?13:44
BartJolgood question13:44
BartJoldo you do it directly into the macro parameters or via a form parameter?13:45
lrobinsoni don't think i know what form parameters are13:45
BartJolsingle quotes should work in the first case13:46
lrobinsonoh sorry13:46
lrobinsonyes13:46
* lrobinson tries13:46
BartJolform parameters are parameters that you can pput behind your url like this:13:47
BartJol?label=value13:47
BartJoland you can read this in your macro, but I've gotta take a look at some code for that13:47
BartJolmy $label = $session->form->param('label');13:49
lrobinsonah ok13:49
BartJolso it's not static but can be influenced by users without changing your template13:50
BartJoland, do the single quotes work>13:50
BartJol?13:50
lrobinsoni don't think so - hold on13:51
BartJolin perl the backslash is used13:52
BartJolbut I'm not sure whether that works, that depends on how the parsing system works13:53
lrobinsoni was thinking about backslashing - was wondering whether there was a macro to do that13:56
BartJolwell if you can read perl better than me, look at Macro.pm13:56
lrobinsoni have been trying that :-)13:56
BartJolthere it's determined how the different signs are treated, it's not total gibberish to me, but a bit too complex...13:57
BartJolmaybe a grouptect macro13:58
BartJolGroupText13:58
lrobinsonthe single quotes seem to get passed as a part of the parameter13:58
BartJolah, well13:59
BartJolmaybe you can cut those of if your making your own macro13:59
lrobinsondouble quotes kind of work, but my string may contain double quotes too13:59
BartJolwhat do you want to do? parse a sentence into the macro?14:00
lrobinsonthat kind of thing. it's the output of a snippet.14:00
BartJolmaybe the grouptext macro works for that14:00
BartJolah14:00
* lrobinson investigates Grouptext14:00
BartJolbut look out with html in nested macro's there something with that14:01
BartJolmaybe it works maybe it doesn't :)14:01
lrobinsondon't think Grouptext is going to help14:03
BartJolso you wanna parse html into your macro, what does the macro do with it?14:04
lrobinsonjavascript actually14:06
BartJolso only more special sign stuff14:06
BartJoljoy14:06
lrobinsonyes14:07
BartJolbut what does the macro do?14:07
BartJolwhy do you want that code in your macro?14:08
lrobinsonwell, i resurrected the If macro14:08
BartJolaaah14:08
* lrobinson is probably being evil14:08
BartJolthat one JT called extremely dangerous14:08
lrobinsonyes, that one14:09
BartJolmmm14:09
lrobinsonif something, then include the js; otherwise don't14:10
BartJolwell if I thought JT was god I wouldn't help you anymore14:10
BartJolso I'm gonna look further14:10
lrobinsonyou may be struck down by lightning or something14:10
BartJolwell, I'll take the risk14:10
lrobinsonthanks anyway14:11
BartJolor he's gonna sit on me14:11
lrobinsonis he a large god?14:11
BartJolhe is, just try to find some pictures of him, probably on www.webgui.org/wuc14:11
BartJolhe's the big guy in black14:12
BartJolbut you don't actually have to parse the js14:13
BartJolcan't you do if something assetproxy to a javascript file; otherwise don't?14:13
lrobinsonhttp://www.webgui.org/uploads/fJ/tR/fJtROadaBDmoMp50QeoHhw/gooey-no-more.JPG.jpg14:14
BartJolyes, that's him14:14
BartJolthat's an old picture, he's drinking beer...14:15
BartJolhe hardly does that14:15
BartJolbut enough gossip14:15
lrobinsonwise man14:15
lrobinsonso when you say if something, are you talking about template ifs14:15
BartJolwell, that's a possibility, if you want that14:15
lrobinsonhow else could you test?14:16
BartJolyou can also make another macro if the if information isn't directly available14:16
lrobinsoni don't think i get it14:17
BartJolI do not now what your test is14:17
lrobinsoni was testing whether a page layout had subpages14:17
BartJolwell you have some boolean template vars, if the if condition exist within those 14:18
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has quit ["Leaving"]14:18
lrobinsonyes, i was playing with HTML::Template::Expr14:18
BartJolyou can do it with tmpl ifs14:18
BartJolif not14:19
BartJolyou have to write a macro14:19
BartJolwith an assetproxy to your js as output14:19
BartJolpossible output14:19
lrobinsonok14:20
lrobinsonthanks for the help14:20
BartJolglad to be some14:20
lrobinsoni am sure i will probably ask for more14:20
BartJolwell, i'm here for 4 more hours14:20
lrobinsonok14:21
* lrobinson wonders of there's any way to save this conversation in this browser-based irc thing14:21
BartJoleeeh, I'm better at perl coding than setting the setting of my irc client :)14:22
BartJolin your options you can set logging on14:22
BartJolI'm using pidgin14:23
lrobinsoni see no options here. not to worry. i'll go back to epic next time.14:23
BartJolotherwise just copy paste it into a text document14:23
BartJoloh and the guy with the orange thing on his head is my boss14:24
lrobinsonok - what's his name?14:27
BartJolKoen14:27
BartJolhe' be at the wuc this year to14:27
BartJolon irc he's SynQ14:27
lrobinsonah ok - i've had advice from him on the fora14:28
BartJolstrange, but nice guy...14:29
-!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui14:40
-!- mode/#webgui [+o apeiron] by ChanServ14:40
BartJoland lrobinson is your macro already working as desired?15:45
lrobinsonno15:48
BartJolmmm15:50
lrobinsonyour idea might have worked15:50
BartJolare you creating a macro or trying the tmpl_if structure?15:50
lrobinsoni was trying the macro15:51
lrobinsonbut i do not know the name of the asset15:51
BartJolwhat asset?15:51
lrobinsonthe js one i want to include15:51
lrobinsonreally i want to conditionally include the body.content15:52
BartJolah15:52
BartJolbut15:53
BartJolin a macro you can make an extra tmpl variable15:53
BartJolthen you can check wheteher it is true or not (some value or zero)15:53
-!- snapcount [n=snapcoun@andc-fw1.exploreos.com] has joined #webgui15:53
-!- mode/#webgui [+v snapcount] by ChanServ15:53
BartJolin a tmpl_if structure15:53
lrobinsonah - that sounds good15:54
BartJolit is15:54
lrobinsonhow do i do this creating of which you speak?15:54
BartJolI wasn't clear on that15:55
BartJolok15:55
BartJolthere is a macro skeleton somewhere15:55
BartJoluse that15:55
lrobinsonyes, i've seen that15:55
lrobinsonok15:55
BartJolbut you should use a template for your macro15:55
BartJolaside from the page template15:56
BartJolI probably can put some code in the pastebin as an example15:56
lrobinsonthat would be good15:56
BartJolor you can search for a templatable macro15:56
-!- SDuensin [n=Scott@38.sub-75-207-189.myvzw.com] has joined #WebGUI15:59
BartJolhttp://webgui.pastebin.com/d44a77cd916:02
BartJolsomething like that16:02
BartJolbut now you have to figure out stuff yourself, otherwise you learn to little :)16:03
SDuensinMorning.16:03
BartJolmorning16:03
lrobinsonyep. thanks BartJol.16:04
BartJollrobinson so instead of <body.content> you place your macro which you template so when condition is true it is shown16:05
lrobinsonrighto16:07
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui16:30
-!- mode/#webgui [+v perlmonkey2] by ChanServ16:30
lrobinsonBartJol: i think it is kind of working16:50
* perlmonkey2 took today off. 16:54
BartJolah, nice16:56
BartJolkind of..?16:57
+perlmonkey2GTA IV in T minus 1 hour.16:58
* perlmonkey2 has priorities :D16:58
BartJolperlmonkey2 drive carefully :)16:59
lrobinsonfalse alarm, it's completely broken still17:00
+perlmonkey2:P17:00
-!- minsc_tdp [i=minsc_td@cpe-72-130-96-25.socal.res.rr.com] has joined #webgui17:01
BartJolpweew that's a releave17:01
minsc_tdphowdy17:01
BartJolhi17:05
minsc_tdpi'm going thru the webgui demo right now.  the admin is impressive.  I'm a php-nuke refugee17:13
ckotilperlmonkey2: i played that game all last night.17:16
ckotilits great.17:16
ckotilminsc_tdp: welcome.17:16
+perlmonkey2ckotil: I'm really pumped17:16
minsc_tdpthanks :)17:16
+perlmonkey2my stupid best buy didn't open at midnight17:17
ckotilawww. i preordered at game stop17:17
ckotilim tired..17:17
ckotilcant .. wait.. to go home..17:17
+perlmonkey2heh17:17
minsc_tdpi'm a windows server guy though.  how well does it work for us shlebs?17:17
ckotilgonna grab an hour or so during lunch :)17:17
ckotilminsc_tdp: Im not sure. ive always ran webgui in linux17:17
ckotili think it will run on iis17:18
+perlmonkey2ckotil: I took the day off.  All day long except I hve to go into the office for a 2:30 meeting (they made major revisions to the spec AGAIN, yesterday).17:18
ckotilgood call. i thought about do just that, but then decided againt it.17:18
ckotilouch17:18
ckotilthats OK. you'll need a break by then17:18
ckotilthe game looks so good you dont want to ever look away. 17:18
+perlmonkey2minsc_tdp: yes you can run it on xp at least17:19
+perlmonkey2http://sourceforge.net/project/showfiles.php?group_id=51417&package_id=14891317:19
+perlmonkey2there is a runtime for windows17:19
+perlmonkey2and you'll want the runtimes anyway.  They are pre-optimized, easier to admin/update, and you don't have to trudge through getting all the dependecies.17:19
minsc_tdpthanks17:20
minsc_tdpchecking the link17:20
+perlmonkey2de nada17:20
+perlmonkey2minsc_tdp: if you are a windows person you may not be familiar with sourceforge.  Here is the Plainblack page linking sourceforge for the downloads: http://www.webgui.org/download17:22
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui17:22
-!- mode/#webgui [+o rizen] by ChanServ17:22
minsc_tdppretty familiar with SF :) thanks though man.  i'm literally *just* stumbling upon webgui17:23
BartJolwe dutch guys are free tomorrow because of Koninginnedag17:23
minsc_tdpit seems to blow phpnuke away.  phpnuke was the bomb a looong time ago, but man I'm pretty behind apparently :)17:23
minsc_tdpwhen i do a comparison on http://www.cmsmatrix.org/matrix/cms-matrix WebGUI just has "YES" in virtually every row :)17:23
ckotilyah, thats how i found it about 2 years ago.17:25
ckotilbefore that i was using joomla and phpnuke17:25
minsc_tdpi'm just blown away17:27
+perlmonkey2minsc_tdp: Plus wG just feels a lot more structured in the code.  Just *feels* solider.17:27
minsc_tdpthinking of converting my site, http://haveabyte.com17:29
minsc_tdpadding a ton of content and it's getting unwieldy using a hokey template and Sharepoint Designer17:29
ckotilwebgui will run that site nicely.17:30
minsc_tdpthanks for the feedback guys.  nice and responsive in here.  I'll be back for sure17:31
-!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui17:31
-!- mode/#webgui [+o Haarg] by ChanServ17:31
minsc_tdpi'm working on a PC tutorial video system and want to focus on doing videos with a minimum of effort to post and sell them17:31
+perlmonkey2minsc_tdp: perfect timing, the commerce system is getting a major revamp.17:34
minsc_tdpdoesn't look like there's a ton of themes, but the ones that are in there are very good17:34
@rizentime for today's opinion poll:17:35
@rizeni'm building a system that lets you track who sold what in a webgui store17:35
@rizenand i'm trying to figure out terminology17:35
BartJolah17:35
@rizenthe idea here is that you might have multiple companies selling products on the same site (like amazon does) and you have to credit each of them at the end of the month as to what they sold17:36
@rizenso, would those people be called "Sales Agents", "Vendors", something else?17:36
minsc_tdpaffiliates?17:36
@rizenand i'm interested to hear what BartJol Radix_ nuba patspam and xdanger have to say about how those words translate17:36
minsc_tdpVendors sounds right. keep it simple no?17:37
@rizenaffiliates are actually someone else17:37
@rizenaffilliates send traffic to the site17:37
@rizenthese are actually people and companies selling products on the site17:37
minsc_tdpSellers might translate better17:38
minsc_tdpso i have a commerce question that involves scripting17:38
ckotilperhaps retailer17:39
minsc_tdpsay i use paypal and it has a return page, to which it sends order details.  that return page would need to be a script.  i'm a perl guy.  how hard is it in WG to embed some perl to handle that?17:40
BartJolJoeri is distracting me, I will read it have a moment17:41
ckotilminsc_tdp: as long as you can have paypal redirect you to a specific page , you should be able to use a webgui macro to handle the scripting. 17:42
BartJolyou refer to companies and to people I suppose that people are the sales repretatives for those comppanies?17:43
@rizenminsc_tdp: i don't think you'll need to write anything to do that17:46
@rizeni believe that MrHairgrease is working on a PayPal payment gateway that will be released with the new commerce system17:47
@rizenBartJol, let me give you an example. Let's say that ProcoliX writes this amazing book about how to set up a 1000 node WebGUI cluster17:48
@rizenBut plainblack.com is sort of the center of the WebGUI universe17:48
+perlmonkey2rizen: BTB, they just changed the specs in a major way again.  So the survey system is set back at least another week.  But the good news is I've finally forced them to start using WG to write down specs and change requests so that they aren't so crazy with their requests.  :P17:48
@rizenso it might make sennse that Koen wants to sell that book on plainblack.com17:48
@rizenI'm fine with that, but we need to keep track of those sales in some way so that I can pay Koen at the end of each month17:49
@rizenSo I'm setting up some sort of relationship to a seller/vendor/agent/manufacturer with it's products17:49
@rizenso at the end of the month i can say, how much product has this company sold17:49
@rizenand i can write  check17:49
@rizenor issue a bank transaction17:49
@rizenor send out an email17:49
@rizenor whatever17:49
@rizenperlmonkey2: as long as you have it all locked down by May 31st17:50
BartJolok17:51
+perlmonkey2rizen: well I have a set in stone "get back to my paying grant" for June 1st, so that works out well.17:51
lrobinsonBartJol: so this all works, but how do i get my hands on the body.content from the new template?17:53
@rizennew option: merchants17:53
BartJolwell vendor sounds like the best english word I think, but whether it's the most comprehensible for non-notive english speakers...17:53
BartJoloooh17:53
BartJolthat one is ok i think17:54
BartJolah17:54
BartJollrobinson you can just put it in your macro template17:54
lrobinsonhow do i refer to it there?17:54
BartJolI think just body.content.... but now I'm doubting..17:55
BartJolyeah merchant is good, people know it from the merchant of venice...17:55
BartJollrobinson did you try that?17:56
lrobinsoni did17:57
BartJolah, probably something with macros being processed after tmpl_vars...17:57
BartJolmy mistake17:57
BartJolbut now some more knowledgable people are around17:57
BartJolbut the idea itself was nice17:58
lrobinsoni'll have to ask the knowledgable people tomorrow17:58
lrobinsonthanks17:58
-!- lrobinson [n=wgGuest8@user-3e88cf4e.tcl119.dsl.pol.co.uk] has quit []17:58
BartJolwell I put that one off nicely....17:58
@rizenunfrotunately i think merchant is probably out because payment gateways in the united states are often called Merchant Services or Merchant Accounts17:59
@rizenso if we use that in WebGUI it might get confusing17:59
BartJolah18:00
BartJoltoo bad18:00
BartJolsalesperson...18:01
BartJolargh18:01
@rizeni think i'm going to go with vendor18:01
BartJol well I think that one is clear in the context18:03
minsc_tdpthanks for the info, ttyl18:10
minsc_tdp:-/18:10
-!- minsc_tdp [i=minsc_td@cpe-72-130-96-25.socal.res.rr.com] has quit []18:10
BartJolbye 18:14
-!- BartJol [n=plainstu@host2.procolix.com] has left #webgui []18:14
-!- patspam [n=patspam@ppp59-167-137-64.lns3.mel6.internode.on.net] has quit ["Leaving."]18:26
-!- topsub [n=josh@97.66.185.250] has joined #webgui18:46
CIA-5WebGUI: yung * r6263 /WebGUI/docs/ (changelog/7.x.x.txt upgrades/upgrade_7.5.10-7.5.11.pl): fixed: Thingy Thing Checkbox/Checklist/Selectbox/Selectlist limitations19:03
-!- jua1 [n=juangui@201.232.58.66] has joined #webgui19:07
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has joined #webgui19:14
-!- mode/#webgui [+v perlDreamer] by ChanServ19:14
@rizenpd!19:17
+perlDreameryo, homes19:17
@rizenwe have shelves!19:17
+perlDreamerDo they have books and DVDs on them?19:17
topsublol19:18
+perlDreameractually, rizen's house is renowned for its DVD collection.19:18
@rizenthat depends on whether you create some DVDs or books to sell to put on the shelves19:19
@rizenpd are you trying to incite people to find out where i live and come rob me?19:23
+perlDreamerNo, I'm trying to launch your nacent DVD rental business19:23
@rizeni c19:24
@rizenJT Buster?19:24
+perlDreamerMadCity Videos19:24
@rizenanyone that doesn't buy into global warming should visit madison over the past month19:25
@rizenwe've had the screwiest weather in history19:25
@rizen80F one day and snows the next day19:25
@rizensun shines another day, hail the next day19:26
+perlDreamerthat's not global warming19:26
topsubI will be in New York this weekend.. anyone else? lol19:26
+perlDreamerThat's the product of the Miley Cirus Vanity Fair photo shoot scandal19:26
topsubWonder how the weather will be19:26
@rizenI had never heard of Miley Cyrus before watching CNN yesterday19:27
@rizeni saw the pictures, and don't understand the scandal19:27
@rizeni've come to the conclusion that people are idiots19:28
@rizenbecause they worry about stupid shit that doesn't matter19:28
@rizenand not the important shit that does matter19:28
@rizennew york is cool topsub, have you been there before?19:30
topsubnope19:33
topsubnever flown before either19:33
topsubwhen i was 4 my mom told me19:33
topsub20 yrs later.. bout to take off in plane first time..19:33
topsubI always wanted to go to New York and goign thursday so can't wait!19:33
topsubthen las Vegas is next!19:34
@apeironFlying domestic in the States is pretty hassle-free, unless you go to NY.19:37
@rizentopsub, are you a big guy? if so planes will be a hassle for you. your knees will hit the front of the seat in front of you and you'll have to curl your shoulders so not to annoy the people next to you19:53
@rizenat least that's what i face on flights19:53
@rizenhate flying19:54
+perlDreameryou _could_ take the train, if it went to Madison19:54
topsublol19:55
topsubi am 6"3  bout 200 lbs19:56
topsubso i am talll19:56
topsubit sucks cuz my friends i am going with we all got window seats19:56
topsubso i will be sitting by random people19:56
+perlDreamerjust consider it an opportunity to tell people about WebGUI19:57
@apeironThat's what I do, but I'm not the best salesperson. =\19:57
topsublol19:58
topsubsure no one on the plane will know what i am even talking about cept my friends since they all went to same school i did19:58
topsubthey never used it but can understand19:58
topsublol19:58
@apeironGotta think in terms of what the other person will understand. Most companies these days have some kind of Web presence.19:59
topsubtrue but this suppose to be my mini vacation.. lol20:01
topsubunless i meet a rich girl and stay20:02
topsublol j/k20:02
@rizenbtw topsub, i officially twisted williams arm at GTS in Vegas20:03
@rizenhe said you're going to the WUC for sure20:03
topsubwoot!20:03
topsublol20:03
topsubthat mean i will meet the oh mighty rizen??20:04
@rizenthere's nothing high or mighty about me20:04
+perlDreamerThat's "All Mighty rizen"20:04
+perlDreamer(C) 2001, all rights reserved20:04
topsublol20:05
topsubthe fearless leader of WebGUI20:06
@rizenThat's "Creator(R) of WebGUI(R)" to you20:06
+perlDreamerTMRFE20:07
@apeironTMRFE?20:07
@apeironToo Many RFEs?20:07
+perlDreamerperlbot: TMRFE20:07
perlbotThe Man Responsible For Everything -- Sometimes you DO have someone to blame.20:07
@rizenthe man responsible for everyone's problems and none of their victories20:12
CIA-5WebGUI: jt * r6264 /translations/Spanish/Spanish/ (Asset_MultiSearch.pm Asset_Search.pm): update_from_translation_server20:18
@apeironI would like the world to know that I hate JS.20:20
+perlDreamerme, too20:21
-!- xootom [n=tom@92-232-243-52.cable.ubr08.shef.blueyonder.co.uk] has joined #webgui20:21
+perlDreamerI mean, the JS hating part.  Not that the world should know that you hate JS.20:21
xootomgot a funny problem with timeZone in user profiling, tried changing the default there before remembering that the default comes from the Visitor, now no matter what I do the drop down doesn't appear at all for Time Zone on the user profiles! Though the label is there. :-/20:22
@rizenJS is your friend20:22
+perlDreamerrizen: your jedi mind tricks won't work on me20:22
+perlDreamerxootom, can you duplicate this on the demo site?20:23
* rizen waves hand20:23
topsubjs + jquery = awesome20:23
topsublol20:23
@rizenthis isn't the language you're looking to blame20:23
topsub<-- putting off learning YUI20:23
+perlDreamerthis isn't the language that I'm looking to blame20:24
+perlDreamerI hate SQL!20:24
@rizenexactly20:24
xootomperlDreamer will try that20:24
xootomperlDreamer yes it breaks the demo site too20:25
+perlDreamerthen please file it as a bug20:25
xootomthanks20:25
+perlDreamerbe very descriptive, including the URL to the demo site20:26
+perlDreamerstep by step instructions20:26
xootomwill do20:26
+perlDreameror, a WWW::Mech script would be good, too :)20:26
+perlDreamerrizen: maybe we should build into the WRE that perl module that you told me about20:26
+perlDreamerHTTP::Proxy, or something20:27
+perlDreamerit creates scripts for Mech, so we can replay user actions20:27
+perlDreameractually, I hate both SQL and JS.  It just depends on what I'm working on at the time.20:30
@rizenin order to do that we'd also need to write a wrapper script around it so that people could easily set it up20:31
@rizenbut it's probably a good idea none-the-less20:31
@rizenand it's HTTP::Recorder i think20:31
+perlDreameryeah, something for the wreconsole.  "Enable bug recording mode".20:32
+perlDreamerThis mode will help you document your bug so that WebGUI developers can duplicate your bug on their end and quickly diagnose and fix it20:32
@rizenWe should also have a kiss your ass goodbye button20:32
+perlDreamerfor $1020:32
CIA-5WebGUI: colin * r6265 /WebGUI/docs/upgrades/upgrade_7.5.10-7.5.11.pl: fix a typo in the upgrade script20:36
-!- xootom [n=tom@92-232-243-52.cable.ubr08.shef.blueyonder.co.uk] has quit [Read error: 110 (Connection timed out)]21:26
@rizenperlDreamer: i know that you're the 500 lb testing gorrilla21:50
@rizenbut please don't kill me for not submitting tests right now21:50
@rizeni promise that i'll work on coverage during june21:50
@rizeni just need to get the commerce system finished since the deadline is rapidly approaching21:51
@rizenalso, please don't do my tests for me. i'll do them.21:51
CIA-5WebGUI: meatbop * r6266 /WebGUI/docs/upgrades/packages-7.5.11/root_import_webgui-7-style-3.wgpkg: Fixes a formatting issue with the Style03 template22:04
@preactioni keep forgetting that steve has a commit bit22:05
+perlDreamerokay rizen22:08
+perlDreameris this anticipatory, or responsize?22:08
+perlDreamerbecause I did take a small C2 break and do some test fixing last week and over the weekend22:08
@rizenmethinks that people who are allowed to contribute to the project should all have to commit it under their own name so that you know who did what22:08
@rizenboth actually22:08
@rizeni know i've broken some tests that i need to fix22:08
@preactionoh no, i'm all for it22:09
@preactionthe packages thing probably makes it all easier for him too22:09
@rizenplus i checked in shelf yesterday, and probably will check in vendor stuff today without tests22:09
+perlDreamerokay, I'll limit short term future testing to my stuff and stuff I break22:09
@rizenjust realizing how much is yet to be done for C2 and how little time i have before that deadline22:09
@rizenand i don't want you to think that i'm neglecting my duties...i'll do them all before we go stable22:09
+perlDreamerI only accuse preaction of neglect.22:10
@rizeni just asked him if packages are easier, and got no response, but maybe he's at lunch22:10
@preactionet tu perlDreamer?22:10
+perlDreameraccusations are easy to make, but difficult to prove ;)22:10
+perlDreamermaybe I should stop all this protein shake crap22:11
+perlDreamerand just eat a steak after I workout22:11
@preactiondoesn't red meat screw with blood pressure?22:11
+perlDreamerhm, maybe some chicken then22:12
@preactionseafood might be good too. tuna is high in protein and important fatty-acids (but low in fat)22:13
+perlDreamerisn't all the seafood contaminated with man-made pollution now?22:13
@preactionmercury especially, but i'm not sure22:13
topsubdang.. 18195 users = 727 pages in webgui users console.. lol22:13
+perlDreamerthat's some website22:14
+perlDreamercorp intranet?22:14
+perlDreameris anyone else having problems getting to PB.com?22:15
@preactionnope22:15
topsubnot i22:19
+perlDreamerthey just did a network upgrade here at $dayJob.22:20
+perlDreamerapparently there are some side effects :/22:20
CIA-5WebGUI: jt * r6267 /WebGUI/lib/WebGUI/Asset/Sku/Product.pm: fixed improper use of storage22:25
+perlDreamerpotential reasons why WebGUI popularity is so low: http://blogs.microsoft.co.il/blogs/tamir/archive/2008/04/28/computer-languages-and-facial-hair-take-two.aspx22:34
@rizenr u saying webgui isn't popular?22:35
+perlDreamerI'm saying we're all too clean shaven22:35
* apeiron certainly is not!22:35
@rizeni can't get to the site22:35
+perlDreamerit's slashdotted22:35
@rizenand i have plenty of facial hair thank you very much22:36
@rizenit's time for perldreamer, haarg, and preaction to step up22:36
+perlDreamerlast time I saw you you had plenty of head hair, with a clean face22:36
@rizenyou sir are mistaken22:36
@preactionpfft. i hate how i look and how i feel when i don't shave22:36
@preactioni feel like a neanderthal22:36
@preactionsame thing with long hair22:36
+perlDreamercould be.  I'm in a low-blood sugar semicomatose state22:36
@rizenwuc 2007: http://www.webgui.org/uploads/HU/_w/HU_w-LbKbTyfJ4H8aGEPdA/WUC-2007---10-17-07-034.jpg22:37
@preactioni'm rewriting the Asset Manager as an Operation in anticipation of the total rewrite (we might be able to use portions of what i write when that happens)22:37
+perlDreamerI can't get to webgui.org22:37
@preactionbut this: should i copy the current permissions? (if you can edit the asset, you can see the asset manager for that asset), or should i make it simpler? (if you're in THIS GROUP you can see the asset manager)22:38
@rizencurrent permissions22:38
@preactionk22:38
+perlDreamerI'm indeed incorrect22:39
@preactionhe's had that soupcatcher for a coon's age22:40
@rizenand these days i have a beard to go with it as well22:40
@rizenand the soupcatcher is longer22:41
@preactionha. the session doesn't get assigned an asset until AFTER operations are run :'(22:41
@rizenthat doesn't mean you can't assign it one22:41
@rizenyou have the url22:41
@preactionright, i'm making the method now22:42
+perlDreamerwhy not just switch the order of evaluation?22:42
+perlDreamerI think people expect session->asset to be around now22:42
@preactionright, but Operations are not a plug-in point and never will be (especially with the pending rewrite)22:43
@preactionplus if assets were evaluated first, then we'd never get operations22:43
+perlDreamerI think the low-blood sugar is interfering with our previous psychic rapport22:44
+perlDreamerYou can assign session->asset before assets are run?22:44
@preactionoh, yes22:45
jua1i have a certain page when the users can change the page background, we provide several options where the users choose one of them22:45
@preactionso the Content handler would do that before it starts executing stuff22:45
@preactionthat'd probably be the most intelligent way to do things22:45
jua1the thing that i need is how can i stored the item selected by the user22:45
@preactionjua1, in their Profile would be the easiest thing22:46
@preactionsee WebGUI::ProfileField, but that's just to support adding / deleting them from the UI. so add a profile field, store it there, and then use it everywhere22:46
@rizenpreaction: do you want a copy of the URL and content handlers chapter that i wrote for kristi?22:46
@preactionrizen, no need. i know where to get it if i need it. do you think there would be a major problem if i assigned an asset to the session inside URL::Content.pm before it started running things?22:47
@rizenand no, the operation content handler should not assign session->asset, because then it's assigning it for all kinds of stuff that doesn't need it assigned22:47
@preactionah, performance22:47
@rizenyes22:47
@rizendon't do it22:48
@preactionk22:48
@rizenif you want to write your own content handler for this22:48
@rizenyou could do it in that content handler22:48
jua1ok, i am going to check22:48
@rizenand it can still use "op=" if you want it to22:48
jua1thanks22:48
@rizenjust put it in the content handlers config before the other operations are run and have it return undef if it's trying to run an op that this content handler doesn't handle22:49
@preactionwould that be more useful in the long run when we rewrite the admin stuff?22:49
@rizenyes22:49
@preactionk, i can do that22:49
@rizenthat's what i'm planning to do with all ops22:49
@rizengroup like-ops into a content handler22:49
@rizenand let it pass on by if we don't handle it22:50
@rizenso we'll have a user/group manager content handler for example22:50
-!- topsub [n=josh@97.66.185.250] has quit ["Leaving"]23:20
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui23:41
-!- SDuensin [n=Scott@38.sub-75-207-189.myvzw.com] has quit ["Leaving"]23:49
--- Day changed Wed Apr 30 2008
-!- BartJol [n=plainstu@51-167.surfsnel.dsl.internl.net] has joined #webgui00:13
-!- xootom [n=tom@92-232-243-52.cable.ubr08.shef.blueyonder.co.uk] has joined #webgui00:16
-!- xootom [n=tom@92-232-243-52.cable.ubr08.shef.blueyonder.co.uk] has left #webgui []00:17
CIA-5WebGUI: meatbop * r6268 /WebGUI/docs/upgrades/packages-7.5.11/root_import_gallery-templates.wgpkg: Totally revamped look and functioning for the default Gallery templates00:20
BartJolquiet here, everybody's busy hacking?00:31
@preactiontrying to00:31
BartJolah, awake again?00:31
BartJolwell to late for me (or had too much beer)00:32
+perlDreamersame thing :)00:32
@preactionkinda. pain pills kicked in, leaving me drowsy00:32
BartJolbummer00:32
@rizenalmost done with vendor management00:33
BartJolwhy do you take those pills?00:33
+perlDreamerit's hard working for Plain Black00:33
BartJolagainst pain.. 00:34
BartJolthat hard00:34
BartJol?00:34
+perlDreameryou don't know how easy you have it at Procolix, bartjol00:34
BartJolmmm00:35
BartJolyou underestimate Koen as a boss maybe00:36
@rizenhey, wait a minute00:36
@rizenyou don't work at pb pd00:36
@preactionJT's an ex-boxer, and my duck-and-weave technique is a bit slow00:36
+perlDreamerrizen: I'm well connected.00:36
@preactionhad to get oral surgery to remove some teeth that got damaged from a well-placed jab-hook combo00:37
BartJolso it's my physical superiority to Koen that makes it ok00:37
+perlDreamerplus that video camera I hid in your house doesn't hurt00:37
BartJolhave you been in my house?00:37
+perlDreamerrizen's house00:37
@rizeni knew i should have never let you or koen in00:38
BartJolah00:38
BartJolyou have nothing to fear from me, except that I might drink all your beer00:38
BartJolhave to be carefull not to loose those physicals now I've got my drivers license00:41
@rizenthere done with vendors00:43
@rizenon to coupons tomorrow...need a break00:44
BartJolah, these are the times that you excert your frustrations on your employees..?00:45
CIA-5WebGUI: jt * r6269 /WebGUI/ (11 files in 6 dirs): 00:46
CIA-5WebGUI: added vendor management00:46
CIA-5WebGUI: fixed a few privilege statements in some other code00:46
@rizenno, i tend to do that all the time00:46
@rizenit's really all in frustration over koen00:46
BartJolmaybe you should considering getting an office00:46
BartJoland I work with him every day00:46
@apeironyeah, see, he threatened to fire me because of Koen-frustration.00:46
@rizenif koen were here so i could beat him senseless then the rest of my staff would be safe00:47
@rizen=)00:47
BartJolah, we should bring you a Koeney doll00:47
BartJolif it were only to keep plainblack a continuous enterprise00:49
BartJolrizen if you have frustration about Koen, just try to explain me clearly, then I can try (if I agree) to communicate that to him00:51
@rizenit's never anything specific00:52
BartJolI would like a continuous cooperation between pb and procolix\00:52
@rizenit's his very existence that i have a problem with00:52
@rizen=)00:52
@rizenand of course if he didn't exist, i'd find another scape goat00:52
-!- rizen is now known as rizenisaway00:52
BartJolwell, it's statements like this when Koen gets in his controversial mood00:53
BartJolno bad feelings from my sie, you're just both big ego's, I know by looking at you both googling yourselves :)01:08
BartJolgood night01:18
-!- BartJol [n=plainstu@51-167.surfsnel.dsl.internl.net] has left #webgui []01:18
+perlDreamerrizenisaway: ping.  Product question01:23
-!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"]01:40
-!- jua1 [n=juangui@201.232.58.66] has quit [Read error: 110 (Connection timed out)]01:46
CIA-5WebGUI: graham * r6270 /branch/WebGUI_7.4/ (4 files in 4 dirs): preparing for 7.4.35 dev01:51
CIA-5WebGUI: graham * r6271 /branch/WebGUI_7.4/ (3 files in 2 dirs): fixed: security flaw on data form list view01:51
CIA-5WebGUI: graham * r6272 /branch/WebGUI_7.4/docs/create.sql: preparing for 7.4.35 release01:51
CIA-5WebGUI: jt * r6273 /releases/WebGUI_7.4.35-stable: Release 7.4.35-stable01:51
CIA-5WebGUI: graham * r6274 /branch/WebGUI_7.4/ (4 files in 4 dirs): preparing for 7.4.36 dev01:51
CIA-5WebGUI: meatbop * r6275 /WebGUI/docs/upgrades/packages-7.5.11/root_import_gallery-templates.wgpkg: Made a few small bug fixes01:51
+perlDreamerjust made a pitch to move our business unit's intranet from Plone to WebGUI :)02:21
+snapcounthow did it go?02:22
+perlDreamernot bad02:22
+perlDreamermy boss is convinced02:22
+perlDreamernow it comes to the IT staff02:22
+perlDreamerthey're pretty anti-perl02:22
+perlDreamer(ruby and python fans)02:22
+snapcountI hate that02:23
+snapcountif you work in IT you should be a fan of what works the best02:23
+snapcountsure you have to account for maintaining it and support but that's why PB exists =)02:24
+snapcountyou should pitch having them host it for you guys02:24
+perlDreamerI don't think they'd go for that02:24
+perlDreamerthe intranet has proprietary materials on it02:24
+snapcountthey're pretty good at that in my experience... but I may be considered biased lol02:24
+perlDreameronly a teeny, little bit :)02:25
+snapcountimo JT pretty much gives basic support away... $500 / yr or something I think02:25
+snapcountI would think that could quelch any IT babble02:26
+snapcountmost CMS don't have any form of support at all02:26
+perlDreamertrue, but Maxim is very stingy with money02:26
+snapcountbut I'm preaching to the choir I know =D02:26
+perlDreamermy boss has $50 signature authority02:26
+perlDreamerI can't buy anything02:26
+snapcountare you serious?!02:26
+perlDreamerif we run out of paper, you have to submit 3 quotes for different vendors02:27
+snapcountwow... it's amazing you get anything done man02:27
+snapcountthat's crazy02:27
+snapcountcommon I suppose though in larger companies02:27
+perlDreamerno02:27
+perlDreamerIt's just Maxim02:27
+snapcountlol02:27
+snapcountwell maybe it will go through02:28
+perlDreamerhope so02:28
+perlDreamerPlone suxors02:29
+snapcountis plone the one that is an offline generator02:29
+snapcountthen you publish static html or something02:29
+perlDreamerpossibly02:29
+perlDreamerI just showed them the editing interface, and the file upload and they loved it02:29
+perlDreamerin Plone, when you upload a file, it creates a "wrapper" around it on the parent02:29
+perlDreameryou have to click twice to get a file02:30
+snapcounthaha... know how that goes02:30
+perlDreamereveryone hates it02:30
+snapcountat Sparton... I showed them that you could drag/drop content and how to switch the style02:30
+snapcountthat's all it took02:30
+perlDreamerSparton?02:30
+snapcountyeah... I used to work there02:31
+snapcountit's a defense contractor02:31
+perlDreamerah02:31
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI02:31
+snapcountI found WebGUI when I worked there in their IT group02:31
+snapcountdoing an intranet project actually02:31
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has quit ["Download Gaim: http://gaim.sourceforge.net/"]02:45
@preactioniirc web-only support is like $20 a month now02:57
@preactionnm, looks like $1000 for online-only + the books02:58
CIA-5WebGUI: meatbop * r6276 /WebGUI/docs/upgrades/packages-7.5.11/root_import_thingy-templates.wgpkg: Totally new look for the Thingy default templates02:59
CIA-5WebGUI: colin * r6277 /WebGUI/ (3 files in 3 dirs): Begin rebuilding variants as simple collateral.02:59
@preactionyou could host a site for $50 a month though, and get free web-only support02:59
-!- snapcount [n=snapcoun@andc-fw1.exploreos.com] has quit [Read error: 110 (Connection timed out)]03:02
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit ["Leaving"]03:18
-!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui03:22
-!- mode/#webgui [+v Radix-wrk] by ChanServ03:22
-!- patspam [n=patspam@ppp59-167-137-64.lns3.mel6.internode.on.net] has joined #webgui03:41
-!- pilaf153 [n=steve@c-68-43-160-207.hsd1.mi.comcast.net] has joined #webgui03:47
pilaf153I was wondering if anyone has used the shopping cart function.  This is my first time using webgui or any content manager for that matter.  I can see the commerce section in the admin console but can not find how to add an "Asset" for the shopping cart03:49
-!- snapcount [n=snapcoun@162.5.101.97.cfl.res.rr.com] has joined #webgui04:13
-!- snapcount [n=snapcoun@162.5.101.97.cfl.res.rr.com] has quit [Read error: 110 (Connection timed out)]04:33
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit ["Exit- stage left"]04:57
@rizenisawaypilaf153...i wouldn't recommend the current shopping cart05:11
@rizenisawaythere is a new one coming out in a little over a month05:12
@rizenisawayi'd wait and use that05:12
@rizenisawayit's 90000 times better05:12
-!- rizenisaway [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit []05:12
pilaf153ok cool05:16
pilaf153I wont be ready to go live for a month anyway05:16
pilaf153oh he left05:16
pilaf153but has anyone used the current one05:16
-!- snapcount [n=snapcoun@162.5.101.97.cfl.res.rr.com] has joined #webgui05:33
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [Connection timed out]05:34
-!- pilaf153 [n=steve@c-68-43-160-207.hsd1.mi.comcast.net] has quit []05:39
-!- snapcount [n=snapcoun@162.5.101.97.cfl.res.rr.com] has quit [Read error: 110 (Connection timed out)]06:26
-!- snapcount [n=snapcoun@162.5.101.97.cfl.res.rr.com] has joined #webgui06:32
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui06:42
-!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has quit [Read error: 104 (Connection reset by peer)]06:59
-!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has joined #webgui06:59
-!- mode/#webgui [+v Radix_] by ChanServ06:59
patspamwhat's the recommended way of installing 7.5.10-beta? Use wre automated install and then upgrade manually or do it manually during the wre install?07:23
patspambecause both ways are giving me headaches in ubuntu07:24
patspamhmm seems that no matter what I do I get: "Can't use an undefined value as an ARRAY referent at /data/WebGUI/lib/WebGUI.pm line 6907:39
-!- patspam [n=patspam@ppp59-167-137-64.lns3.mel6.internode.on.net] has quit ["Leaving."]07:44
-!- patspam [n=patspam@ppp59-167-137-64.lns3.mel6.internode.on.net] has joined #webgui07:47
patspamgrrr i hate it when a reboot fixes a weird problem...08:21
snapcountheh08:25
snapcountpage 1 of the windows troubleshooting manual08:25
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit ["Exit- stage left"]08:59
-!- snapcount [n=snapcoun@162.5.101.97.cfl.res.rr.com] has quit [Read error: 110 (Connection timed out)]09:21
patspamexcept on ubuntu! something weird about the wreconsole not picking up code changes when i do a restart in the web console09:27
-!- Radix-wrk [n=Jesse@203.161.68.67] has quit [Read error: 113 (No route to host)]11:31
-!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui11:31
-!- mode/#webgui [+v Radix-wrk] by ChanServ11:31
-!- Radix-wrk [n=Jesse@203.161.68.67] has quit ["Leaving"]11:43
-!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has quit [Read error: 104 (Connection reset by peer)]12:45
-!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has joined #webgui12:49
-!- mode/#webgui [+v Radix_] by ChanServ12:49
-!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has quit [Read error: 104 (Connection reset by peer)]12:49
-!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has joined #webgui12:49
-!- mode/#webgui [+v Radix_] by ChanServ12:49
-!- BartJol [n=plainstu@51-167.surfsnel.dsl.internl.net] has joined #webgui13:45
-!- BartJol [n=plainstu@51-167.surfsnel.dsl.internl.net] has left #webgui []13:58
-!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has quit ["Leaving"]14:25
-!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui15:29
-!- mode/#webgui [+v perlmonkey2] by ChanServ15:29
-!- topsub [n=josh@97.66.185.250] has joined #webgui15:54
-!- SDuensin [n=Scott@20.sub-75-206-41.myvzw.com] has joined #WebGUI16:12
SDuensinGreetings.16:19
-!- lrobinson [n=luke@lrobinson2.vm.bytemark.co.uk] has joined #webgui16:44
-!- patspam [n=patspam@ppp59-167-137-64.lns3.mel6.internode.on.net] has quit ["Leaving."]17:11
-!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui17:29
-!- mode/#webgui [+o Haarg] by ChanServ17:30
topsuboh ya whos on home page of yapcs site.. lol17:34
-!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui17:39
-!- mode/#webgui [+o rizen] by ChanServ17:39
-!- bopbop [n=kmccombs@71-90-131-140.dhcp.mdsn.wi.charter.com] has joined #webgui17:43
+perlmonkey2so what do you do when you just can't work with a coworker anymore?17:45
@rizenget a new job17:46
@rizenit's far easier than all the other alternatives17:46
+perlmonkey2I like the sound of that.17:46
@rizeni believe PB is hiring17:48
@rizenthrow your resume in the hat17:48
@rizenof course, we don't pay huge salaries, but you get to work from anywhere in the world, and you get to work at a cool company17:48
@rizen=)17:48
CIA-5WebGUI: perlmonkey2 * r6278 /branch/WebGUI_Survey2/www/extras/wobject/Survey/ (4 files in 3 dirs): Last checkin before major changes to buttons17:49
+perlmonkey2rizen: you have no idea how long I've been thinking about that.  17:49
+perlmonkey2:P17:49
@apeironperlmonkey2, I have to offer a word of warning about working with PB though: there's more than a slight risk that you become an Apple fanboy.18:04
+perlmonkey2apeiron: haha, never!  Fedora4Life!18:04
@apeironperlmonkey2, shrug. Runs on Intel Macs, or should.18:05
-!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui18:05
-!- mode/#webgui [+o preaction] by ChanServ18:05
+perlmonkey2I'm actually really impressed with what I've seen of the latest mac OS.  A *nix env with all the compatiability of Windows.18:06
+perlmonkey2or more so.18:06
@rizenwhat's really impressive about it is that you have a really solid GUI *and* a really solid unix underneath18:06
@rizenit's the first time i've seen both in the same place18:06
@rizenback when i used to use windows, i would still have a separate development machine that ran linux, because the linux gui isn't as good as the windows gui, and the windows OS isn't as good as Linux18:07
+perlmonkey2The biggest reason I still go with linux, though, is cost.  My new Dell is a beast of a machine, and cost me $800.  For a cmpariable machine I'd have spent $3k for a mac.18:08
@rizendefine beast of a machine18:08
@rizencuz i did a cost analysis of dell vs apple a year or two ago, and apple was right on par with dell18:08
+perlmonkey2T8300, 3GB ram, 160GB drive, DVD, 17" upgraded monitor18:08
+perlmonkey2To be fair, this was apparently a short term deal on Dell where any order over $1300 got a $500 rebate.18:09
+perlmonkey2So it is really a $1300 Dell.18:09
@rizenis the dvd read/write?18:09
@rizenthat is a pretty good deal18:10
@apeironA lot of the price in Apple hardware is the video, I've seen.18:10
@rizenwhen i priced out the dell laptops (i used apple as the baseline, cuz dell has more selection) and to make the dell laptops have the same features as the mac laptops18:10
@rizenthey were the same price or more18:11
@rizenhowever, if you were willing to forgo some of the features, then you can get a cheaper dell. (dvd writer, built in camera, less bus speed, less processor, less video card, etc)18:11
+perlmonkey2yes, the dvd  is18:12
+perlmonkey2I was *this* close to getting a macbook air for the wife because she thought they were cool and I wanted to finally see what all teh mac fuss was about.  But my grant was laying off grad students (cutting their funding), so I volunteered to take a temp pay cut, which meant no expensive toys.18:13
-!- Sunmaster_14 [n=Sunmaste@h19-afsc.ded.indra.com] has joined #webgui18:32
Sunmaster_14I have an HTTP Proxy asset with url rewriting turned on. I have a checkbox that needs to be unchecked for certain things to work in the page that is proxied. When I check it and post (with method GET), the form is returned with an error message as it should be. When I uncheck it and post again, webgui treats it as though it's still checked. Accessing the proxied page directly does not produce this behavior. I noticed that in the URL bar th18:35
Sunmaster_14ere are two places where the GET data are displayed: once as normal GET URI arguments, and once with HTTPProxy_ prefixes. In the latter, the checkbox is gone when it is unchecked; in the former, it is still there.18:35
-!- apeiron is now known as apeironapeiron18:40
-!- perlDreamer [n=ckuskie@nat039.mxim.com] has joined #webgui18:49
-!- mode/#webgui [+v perlDreamer] by ChanServ18:49
+perlDreamerapeironapeiron: are are you you seeing seeing an an echo echo ? ?18:50
@apeironapeironSomeone did a (setf apeiron (* apeiron 2)) on me.18:51
+perlDreamerIs that lisp?18:52
@apeironapeironI believe so.18:52
@apeironapeironOr some variant of scheme.18:52
+perlDreamer$apeiron = ('apeiron') x 2;18:53
+perlDreamerperlmonkey2: despite spurious allegations made yesterday about plainblack, I'd recommend working there in a heartbeat18:56
+perlDreamerYou've already met most of the staff18:56
+perlDreamerand frank, vrby and the others are cool, too18:57
@preactionallegations?19:00
@preactionthose are entirely true19:00
@preaction(what allegations?)19:00
+perlDreameryesterday, about it being hard to work at PB19:01
+perlDreamerwhen you were talking about pain pills19:01
@preactioni remember the beatings19:01
@preaction"Beatings will continue until morale improves" is the policy, i believe19:01
+perlDreameror until you go on unlimited vacation19:01
+perlmonkey2perlDreamer: hmm.....I may have to have a serious talk with the wife.  If I apply, I'm going to need to be 100% committed to changing jobs.19:02
@preactionif he's not too drunk, he's usually nice about trying to miss the vital bits19:02
+perlmonkey2preaction: hah19:02
+perlDreamerperlmonkey2: it is a big change going 100% telecommute19:03
@preactionyeah, not too hard to fall in love with though19:03
+perlDreamerso that sounds very wise (wife consult and 100% personal commitment)19:03
Sunmaster_14anyone here have any ideas about my message above?19:03
@preactionplus we have entirely too much fun working here, despite the workload19:03
+perlDreamerSunmaster_14, how 'bout a repost?19:03
Sunmaster_14k19:03
Sunmaster_14I have an HTTP Proxy asset with url rewriting turned on. I have a checkbox that needs to be unchecked for certain things to work in the page that is proxied. When I check it and post (with method GET), the form is returned with an error message as it should be. When I uncheck it and post again, webgui treats it as though it's still checked. Accessing the proxied page directly does not produce this behavior. I noticed that in the URL bar th19:03
Sunmaster_14ere are two places where the GET data are displayed: once as normal GET URI arguments, and once with HTTPProxy_ prefixes. In the latter, the checkbox is gone when it is unchecked; in the former, it is still there.19:03
+perlDreamerwell, it's no wonder that no one replied19:04
Sunmaster_14tl;dr?19:04
+perlmonkey2perlDreamer: I've been 80% telecommute for the last 3 months.  I've come to dread Fridays (I have all my normal meetings at work that day).19:04
bopboppreaction: if you call walking through a blizzard at a staff meeting "fun"...19:04
Sunmaster_14I'm trying to figure out whether to file a bug report.19:05
@preactionoh come on, it wasn't that bad19:05
+perlDreamerSunmaster_14: that sounds like a bug report19:05
Sunmaster_14k19:05
+perlDreamerGive tons of detail, and the URL of the page if you can19:05
+perlDreamer(page that you're trying to proxy)19:05
@preactionyeah, it shouldn't be trying to do both formName= and HTTPProxy_formName=19:06
+perlDreamerperlmonkey2: meetings are a bummer, especially with difficult coworkers19:07
+perlmonkey2perlDreamer: it is more just the breaking of my routine and the fact I can't be working while in a meeting :P19:08
+perlDreamerwell, that will happen at any job.  PB included.19:08
+perlmonkey2I like getting up, going to a coffee shop to work a few hours, heading home to work, then maybe hanging out at Panera to work a bit.19:08
+perlmonkey2are the PB meeting teleconference, or just voice?19:09
+perlDreamerI think, voice and 1 quarterly in person19:09
topsubperllmonkey2, u just like to work out in public huh..19:09
topsubwhen i worked freelance, i stayed at home and after while it starts to bug ya same place all the time so i should have done that19:10
+perlmonkey2topsub: yeah, I had a job before for a year where I was 100% telecommute.  I only had a pc and it drove me batty being in the house all day.19:11
+perlmonkey2This time I know better.19:11
@preactionwe don't have a weekly meeting anymore, just a "this is what i'm doing this week" e-mail19:11
+perlmonkey2preaction: That's cool.  Any sort of status board for projects?  19:11
+perlmonkey2preaction: seems like with good collab tools, meetings could be nearly eliminated.19:11
topsubwow we just had someone call our office asking us how to register for YAPC.. lol19:12
@preactionuh... we have request trackers set up for all our projects, and we use the WebGUI Project Manager to manage the time / tasks19:12
+perlmonkey2preaction: like a project blog?  "Today I finished the widgets to do X, but had some trouble with the wobjects which do Y"19:12
+perlmonkey2cool19:12
@preactionnot really a blog, just the request trackers19:12
* apeironapeiron 's eye twitches at mention of the word "widget"19:19
@preactionWIDGET! The World Watcher!19:21
CIA-5WebGUI: jt * r6279 /WebGUI/lib/WebGUI/ (3 files in 3 dirs): 19:32
CIA-5WebGUI: some code cleanup19:32
CIA-5WebGUI: added a listOfThings loop to the various views to provide navigation between things19:32
* perlDreamer did some reading about foreign keys19:44
+perlDreamerSound very cool19:44
+perlDreamerauto cleanup of data in related tables19:44
-!- snapcount [n=snapcoun@andc-fw1.exploreos.com] has joined #webgui19:53
-!- apeironapeiron is now known as apeiron20:07
* snapcount downs a handful of reeses pieces20:14
snapcountmmmm20:14
@preactionoooh a piece of candy!20:17
-!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui20:17
+perlDreamersweet! New webgui website: http://www.transportcentre.co.uk/20:18
@apeiron"Transport Center is changing..."20:21
+perlDreamercrap20:21
@apeironLooks like they're moving to MediaWiki.20:21
+perlDreamertime to start the xootom boycott20:21
+perlDreamerthat's too bad, they were using 7.5.10 and everything20:22
CIA-5WebGUI: meatbop * r6280 /WebGUI/docs/gotcha.txt:20:23
CIA-5WebGUI: jt * r6281 /WebGUI/docs/gotcha.txt: fixing steve's carriage returns20:23
+perlDreamerrizen: Product question.  Do variants need title and short desc?20:24
nubaive tried 100% telecommuting from home, too, and actually built a nice home office. but also got bored with the same place all the time20:40
nubathe best stratey i have is to find good places to hang out20:41
+perlDreameris it hard not being able to collaborate in person with people?20:41
nubawith good net, silence, some people moving around, but not a lot20:41
* perlDreamer is addicted to whiteboards20:41
nubathings like computer lab at college20:41
nubaor coffe shops around, with nice wifi and some snacks20:42
nubaso any time i start to get bored with the place, i switch20:42
nubaor bored with the people there as well :)20:42
nubai put these places in rotation, and its been working great for me since then20:43
@rizenperlDreamer: no20:43
@rizenjust a short description or title or whatever you want to call it20:43
@rizen30 chars of text20:43
@rizensomething that can appear in a drop down20:43
@rizenlike Red XL T-Shirt20:43
nubathe funny thing is, when im in a new place, i can hardly get distracted from my lappy. but after I get used to it, i'll start paying attention to things around me and will get increasingly less productive20:44
+perlDreameror Plain Black XL T-Shirt :)20:44
nubathats when I know its time to relocate20:45
@rizeni used to be addicted to whiteboards too20:46
nubayou other guys who telecommute, do you have any strategy you'd like to share, too?20:46
@rizengot over it20:46
@preactionfind a corner of the house you can be undistracted in perhaps?20:47
@preactionwith a door that closes and/or locks20:47
nubaoh I should also add that when working at home, there were many issues due to being @ home but not beng available to family or house issues20:47
@rizennuba, when i'm having trouble focusing as you describe i do one of two things:20:48
@rizen1) go to a coffee shop20:48
@rizen2) go out for a walk20:48
@rizeni also don't work in my livingroom as the tv is a distraction, i have a separate office20:48
@rizenand i also bought a man chair and work from that rather than a desk20:48
@rizenfar more comfortable20:48
nubahah, i found the proximity to the fridge to be a source of distraction too20:48
+perlDreamereven on SciFi channel marathon days?20:49
@rizenthat too20:49
nubaand extra kilograms20:49
+perlmonkey2perlDreamer: does mediawiki have a bunch of plugins that allow it to act like a CMS?20:49
+perlDreamerno idea20:49
+perlmonkey2perlDreamer: heh, my home office has an entire wall that is a whiteboard :P20:49
+perlDreamerwe have a winner in the WUC T-shirt contest: http://www.plainblack.com/wuc/community/wuc-t-shirt-contest-submissions/design-vcb21:15
+perlmonkey2hah, that is pretty cool design21:30
-!- snapcount [n=snapcoun@andc-fw1.exploreos.com] has quit [Remote closed the connection]21:36
ckotilindeed21:45
@rizenok, i'm adding a basic coupon sku to the system just so there is a reference on how coupons work21:59
@rizenand i need feedback21:59
@rizenit has 3 fields that matter21:59
@rizenmust spend - the amount the user must spend for the discount to apply22:00
@rizenpercentage discount - a percentage off the total price22:00
@rizenprice discount - a dollar/yen/credit/euro/rupee amount off the total price22:00
@rizenwill that cover the basic needs of a coupon for most stores?22:01
@rizeni know that some people will want to do things like buy 2 get one free type of things, and this is not meant to cover that22:01
@rizenbut are there other things i should take into account for the flat discount coupon?22:02
CIA-5WebGUI: chrisn * r6282 /WebGUI/docs/gotcha.txt: 22:02
CIA-5WebGUI: fix gotchas.txt to indicate that we need Exception::Class along with22:02
CIA-5WebGUI: Path::Class for the export rewrite22:02
@preactionis this coupon meant to apply only to the entire transaction?22:03
@rizenyes, it will make sure that the user only has this one coupon of this type in the cart22:04
@preactionif so, then i can't think of anything else22:04
@rizenand it will apply to the entire transaction22:04
bopbopdo you need an expiration of some kind...? or isn't that necessary?22:07
@rizenThe coupon is just an asset, so if they don't want the coupon to work anymore then they should either remove it from the site, or set up a workflow to auto-remove it after a period of time. But good call. That's the type of stuff I'm looking for.22:09
bopbopwell...wouldn't it be great if there was an optional expiration field that could be set to make the coupon disappear on a certain date?... maybe that will be an rfe22:14
@apeironAre coupon limits applicable here?22:15
@apeirone.g., limit one per customer22:15
topsubare you doing percent, absolute and like free shipping?22:17
topsubif the total amount exceeds X22:17
topsubor total number of products exceeds X22:18
@rizenbopbop: in 7.6 there is a field to do that for all assets22:18
bopbopoooh, cool22:18
@rizenso i don't really need to do that just for this one22:18
ckotili like the sound of expiring assets22:18
@rizeni wanted to do it for 7.5, but with the commerce stuff that's still remaining, i don't think i'll have time22:19
@rizenapeiron: the coupon auto-limits itself so you can't add more than one to the cart22:19
@apeironsounds good.22:19
@rizentopsub: total amount, not quantity of products, and free shipping would be a separate coupon type22:20
topsubare you allowing for Discounts that get auto applied when conduction is meet?22:20
@rizenconduction?22:20
topsubcondition sry22:23
@rizenyes...it works like: if (subtotal >= must spend ) { apply discount }22:24
topsubcool22:32
topsubhere is a question. does webgui share 1 database handle? If i am browse webgui does it use 1 database handle.. Reason i am asking we have a client that we turned on innodb to do  select for update and we think its giving us edge cases due to webgui using different database handles..  Any suggestions or imput?22:41
topsuband is that even close to being right.. trying track down this edge case and thats a thought i had22:41
@rizenyes it uses only one database handle per apache process22:41
@rizenor per request22:42
topsubwe didn't see this edge case till they increased the amount of people working on this site and pulling information22:42
topsubsame ways it seems like the FOR UPDATE in innodb just random stops working and serving out duplicate records22:43
@rizeni've never used innodb with webgui22:43
@rizenit's untested22:43
@rizenand is certainly not supported by pb22:43
topsubah22:43
topsubhmm.. might be back to the drawing board for me..22:44
topsubwould there be a way to allow webgui to share the same DBH throw all requesters ? maybe caching or something22:46
@rizenyou could look into Apache2::DBI22:46
@rizenor maybe it's Apache::DBI22:47
@rizenit does connection pooling22:47
topsubsounds promising already.. might be to late into this project to apply that22:47
@rizenno it's a retrofit22:47
@rizenno code change22:47
@rizenyou just put it into preload.perl22:48
topsubbut seems with more users using this site our triggers don't get flipped before someone is making another request22:48
topsubhm really looking into it now22:48
topsubthanks rizen!!22:48
@rizeni have no idea what your problem is or whether Apache::DBI will solve it22:49
topsubseems with innodb you need the same dbh for the "lock" to occur. since everyone using the site has there own the "lock" doesn't apply to them as we need it to22:50
topsubso seems we need everyone that is hitting this website to share the same DBH so the "lock" with innodb will occur 22:51
@rizensorry, you misunderstand, i'm not asking you to explain it. i don't really care. i have my own logs on the fire. i was just offering tangential advice.22:52
topsubthats fine22:53
topsubjust saying 22:53
-!- lrobinson [n=luke@lrobinson2.vm.bytemark.co.uk] has quit ["Hey! Where'd my controlling terminal go?"]22:58
topsubi see a note about if you enable the apache:dbi its not recommended with sites with db slaves. will this effect our mysql replication?23:10
-!- dionak [n=diona@97.66.185.250] has joined #webgui23:11
+perlDreamerrizen: I'd like to suggest a reverse-coupon feature.  Some products may need to be excluded from coupons.23:34
+perlDreameralso, what's this you said earlier about expiration dates being added back in 7.6?23:34
-!- SquOnk [n=emhn@201.211.84.218] has joined #webgui23:35
SquOnkHi everyone23:35
+perlDreamerhowdy, SquOnk23:35
SquOnkperlbot: Hi there23:36
@rizenperlDreamer: this is a simple total transaction coupon23:36
@rizennot a do whatever pd wants coupon23:36
* perlDreamer remembers not to pout23:37
@rizenother coupons can be developed in the future...for now i just want something to show that it's possible23:37
@rizenexpiration dates23:37
@rizennot per asset23:37
@rizenbut per version tag23:37
+perlDreamerah, okay.  Very cool23:38
@rizenwhen you commit content you'll be able to set start and end dates23:38
SquOnkrizen: 7.4.34 is being reviewed as we speak.23:38
SquOnkrizen: (by the Debian FTP Masters)23:38
@rizensweet23:38
-!- Samus_Aran [n=ILL@about/linux/supportwhirlwind/SamusAran] has joined #WebGUI23:41
Samus_Aranis there some way to add some static files to a WebGUI site ?23:42
Samus_AranI tried adding files to a sub-folder of the vhost, but that didn't work.  also tried in the uploads section, ignored as well23:42
@preactionthere is, but you have to tell webgui to ignore that URL. see the urlHandlers section of your config file23:43
-!- bopbop [n=kmccombs@71-90-131-140.dhcp.mdsn.wi.charter.com] has quit []23:44
Samus_Aranpreaction: thank you23:44
Samus_Aranpreaction: can you be a little more specific about the location ?  I did a grep -i urlhandler etc/* in the WebGUI dir, and looked in the Apache config, and neither seem to have anything23:51
@preactionthen you must be using a version of webgui before url handlers. look for passthru urls. it's in the webgui config file23:51
@preactionor read webgui.conf.original23:51
Samus_Aranlooking23:52
Samus_AranI have WebGUI.conf.original in etc and no WebGUI.conf23:52
Samus_Arandoes that mean it uses the default ?23:53
+perlDreamerSamus_Aran: do you have a webgui configuration file for you site?23:53
@preactionno. it should be your site name.conf23:53
-!- topsub [n=josh@97.66.185.250] has quit ["Leaving"]23:54
Samus_Aranoh sorry, that was renamed to foo.com.conf23:54
Samus_AranI forgot about the process I went through setting it up.  apologies23:54
-!- SDuensin [n=Scott@20.sub-75-206-41.myvzw.com] has quit ["Leaving"]23:55
+perlDreamerit was called passthruUrls in earlier WebGUI's23:56
Samus_Aranall sorted now.  Thank you both23:56
Samus_AranI guess I should update WebGUI again23:56
+perlDreamerSamus_Aran: Do you have a commerce site?23:57
Samus_AranI am on 7.4.2623:57
@rizenSamus_Aran: preaction is referring to WebGUI 7.5 which isn't out as a stable version yet23:57
@rizenyou can wait to upgrade23:57
Samus_Aranit is a non-profit organisation.  they sell course books, but that's about it (which I set up with a PHP system a while ago)23:57
+perlDreamerupgrading to 7.4.35 wouldn't hurt, and it would get you several bug fixes23:58
-!- snapcount [n=snapcoun@andc-fw1.exploreos.com] has joined #webgui23:58
+perlDreamerbut rizen is correct, wait until 7.5 is stable, and then switch to the new commerce system23:58
+perlDreamerit will be worth the wait23:58
Samus_Aransounds good23:58
-!- mode/#webgui [+v snapcount] by ChanServ23:59
--- Log closed Thu May 01 00:00:49 2008

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