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: