--- Log opened Tue Apr 01 00:00:01 2008 --- Day changed Tue Apr 01 2008 00:00 < perlmonkey2> or at least a vibrant solution 00:00 < perlmonkey2> project 00:00 <@preaction> not really. a lot of OSS projects do this same thing, not sure how they solve the upgrade / data problem though 00:01 < perlmonkey2> preaction: doh, I meant the JT being pretty easy about new stuff. 00:01 <@preaction> oh 00:01 <@preaction> also not really 00:01 <@preaction> but yeah, those projects don't last long 00:02 <@preaction> the early PHP CMS systems, for example 00:03 < perlmonkey2> Too bad any of them survived. 00:03 -!- topsub [n=topsub20@cpe-071-071-252-225.carolina.res.rr.com] has joined #webgui 00:03 -!- topsub [n=topsub20@cpe-071-071-252-225.carolina.res.rr.com] has quit [Client Quit] 00:03 <@preaction> i think we're on the second generation of those things at least 00:06 < SynQ> http://www.webgui.org/etcetera/mssql---data-form-report languages are cool to play with :) 00:09 -!- jfluhmann [n=jfluhman@x172y028.angelo.edu] has joined #webgui 00:26 < perlmonkey2> If 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:27 <+perlDreamer> I'd think so 00:27 <+perlDreamer> I probably would have made it survey wide, too, instead of section by section 00:28 < perlmonkey2> hmm...some sections you might want questions to appear along with, others you might not? 00:29 < perlmonkey2> although 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:30 < perlmonkey2> when 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:32 <+perlDreamer> I thought your amp only goes to 11 if you listen to Spinal Tap? 00:39 < perlmonkey2> heh 00:41 -!- estiven [n=estiven@201.232.58.66] has quit [Read error: 113 (No route to host)] 00:41 < perlmonkey2> anyone 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 < perlmonkey2> I ask because sometimes WGBP have changed, but old code hasn't caught up. 00:42 <+perlDreamer> preaction: aren't we using MySQL date/times in all new Assets? 00:42 -!- estiven [n=estiven@201.232.58.66] has joined #webgui 00:42 <+perlDreamer> perlmonkey2: certainly, refactoring old code is rare in wG. It's even rarer than writing tests :( 00:42 <@preaction> perlDreamer, we're trying to, but it is difficult to do because of the way the definition works 00:43 <@preaction> make sure the defaultValue is specified in the MySQL format 00:43 < perlmonkey2> perlDreamer: cool, thanks 00:43 < perlmonkey2> preaction: I just use a default of now() in the table def? 00:44 < perlmonkey2> well, for the start date, the end date I want to be nullable. 00:44 <@preaction> WebGUI::DateTime->now->toDatabase; should work 00:44 <@preaction> if you want it to be nullable, then you'll have to do post-processing in processPropertiesFromFormPost 00:44 <@preaction> (setting it to the right format) 00:46 < perlmonkey2> oh 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:47 < perlmonkey2> whups, typo...that first insert is a write 00:50 <@preaction> $self->session->db->setRow would probably be easier to use 00:50 <@preaction> see WebGUI::SQL->setRow 00:55 < perlmonkey2> okay 01:01 < perlmonkey2> cool, I like that setRow helper. I'll have to move all my other stuff to it. 01:18 < SynQ> http://web.archive.org/web/20020530034348/http://www.plainblack.com/ 01:27 < CIA-22> WebGUI: jt * r5994 /translations/Spanish/Spanish/ (4 files): update_from_translation_server 01:39 -!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"] 01:49 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."] 01:50 < CIA-22> WebGUI: jt * r5995 /translations/Turkish/ (4 files in 2 dirs): update_from_translation_server 01:57 -!- Haarg [n=haarg@66-168-19-128.dhcp.mdsn.wi.charter.com] has joined #webgui 01:57 -!- mode/#webgui [+o Haarg] by ChanServ 01:58 <+perlDreamer> The 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 weeks 02:00 -!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI 02:29 -!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui 02:29 -!- mode/#webgui [+v Radix-wrk] by ChanServ 02:42 -!- perlDreamer [n=ckuskie@nat039.mxim.com] has quit ["Download Gaim: http://gaim.sourceforge.net/"] 02:49 < CIA-22> WebGUI: jt * r5996 /translations/Turkish/ (13 files in 2 dirs): update_from_translation_server 03:39 -!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has joined #webgui 03:45 -!- Dadok [n=tickitim@150.188.dsl.syd.iprimus.net.au] has joined #webgui 03:45 < Dadok> hey guys 03:47 <@preaction> hello 03:52 < Dadok> im 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 < Dadok> i tried twice to clean out all old versions and reinstall and it does the same thing 03:53 < Dadok> perhaps 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 :P 03:53 <+Radix-wrk> cpan for latest perlmagick perhaps? 03:53 < Dadok> i tried that 03:53 < Dadok> it gives version 6.3.2 i think 03:53 <+Radix-wrk> I don't know I'm afraid.. I just use the WRE 03:55 < Dadok> shucks 04:00 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui 04:02 -!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has quit [Read error: 110 (Connection timed out)] 04:21 -!- 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 #webgui 04:31 -!- Dadok [n=tickitim@150.188.dsl.syd.iprimus.net.au] has quit [] 04:54 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."] 05:32 -!- Dadok [n=tickitim@150.188.dsl.syd.iprimus.net.au] has joined #webgui 07:38 -!- 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 #webgui 07:38 -!- mode/#webgui [+v Radix-wrk] by ChanServ 07:46 -!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit [Remote closed the connection] 08:10 -!- metanil [n=akhadka@137.48.138.72] has quit ["Leaving."] 08:32 < Dadok> does anyone have any experience installing imagemagick/perlmagick on windows? 08:38 <@preaction> Dadok, why not use the WRE? 08:49 -!- ryuu_ro [n=rory@194.171.50.69] has joined #webgui 09:44 -!- ryuu_ro_ [n=rory@194.171.50.69] has joined #webgui 09:44 -!- ryuu_ro [n=rory@194.171.50.69] has quit [Read error: 104 (Connection reset by peer)] 09:52 < Dadok> hmm. 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... 10:33 -!- BartJol [n=plainstu@host2.procolix.com] has joined #webgui 10:48 < Syn2> mogge 11:23 <+Radix-wrk> thinkgeek.com has some awesome new gadgets 11:23 <+Radix-wrk> the betamax to hd-dvd converter is just pure gold :) 11:26 < BartJol> whoa, that's cool, although betamax is better than dvd off course 11:33 <+Radix-wrk> did you watch the video? :) 11:34 <+Radix-wrk> on a similar note: http://www.youtube.com has some great featured videos :) 11:43 < BartJol> not yet 11:46 -!- Radix-wrk [n=Jesse@203.161.68.67] has quit ["Leaving"] 11:52 < GooeyOfSteel> Wiki: Table of Contents - Edited on 4/1/2008 3:40 am by bartjol http://www.webgui.org/community-wiki/table-of-contents 11:54 -!- arjancwidlak [n=arjan@a62-216-21-20.adsl.cistron.nl] has joined #webgui 11:55 < GooeyOfSteel> Wiki: Table of Contents - Edited on 4/1/2008 3:43 am by bartjol http://www.webgui.org/community-wiki/table-of-contents 11:56 -!- apeiron_ [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui 11:56 -!- mode/#webgui [+o apeiron_] by ChanServ 12:06 < GooeyOfSteel> Wiki: 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-selection 12:07 < GooeyOfSteel> Wiki: 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-selection 12:11 -!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has quit [Read error: 110 (Connection timed out)] 12:25 -!- dapperedodo [n=dappered@194.171.50.69] has joined #webgui 12:59 -!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui 13:06 -!- Dadok [n=tickitim@150.188.dsl.syd.iprimus.net.au] has quit [] 13:07 -!- dapperedodo [n=dappered@194.171.50.69] has quit [] 13:14 -!- dapperedodo [n=dappered@194.171.50.69] has joined #webgui 14:03 -!- BartJol [n=plainstu@host2.procolix.com] has quit [Read error: 113 (No route to host)] 14:15 -!- BartJol [n=plainstu@host2.procolix.com] has joined #webgui 15:19 -!- apeiron_ is now known as apeiron 16:02 -!- af_ [n=getsmart@88-149-230-220.dynamic.ngi.it] has joined #webgui 16:02 < af_> hi to all 16:02 < arjancwidlak> hihi 16:11 < Syn2> hi arjan 16:11 < arjancwidlak> sorry, was just saying hi to af_ 16:14 -!- MrHairgrease [n=martin@194.171.50.69] has joined #webgui 16:14 -!- mode/#webgui [+v MrHairgrease] by ChanServ 16:25 -!- BartJol [n=plainstu@host2.procolix.com] has quit [Read error: 113 (No route to host)] 16:34 -!- arjancwidlak [n=arjan@a62-216-21-20.adsl.cistron.nl] has left #webgui [] 16:36 -!- ryuu_ro_ [n=rory@194.171.50.69] has quit [Remote closed the connection] 16:37 -!- ryuu_ro [n=rory@194.171.50.69] has joined #webgui 16:39 -!- af_ [n=getsmart@88-149-230-220.dynamic.ngi.it] has quit [Read error: 113 (No route to host)] 16:40 -!- af_ [n=getsmart@88-149-241-103.dynamic.ngi.it] has joined #webgui 16:46 -!- 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 #webgui 16:48 -!- estiven [n=estiven@201.232.58.66] has left #webgui [] 16:48 -!- estiven [n=estiven@201.232.58.66] has joined #webgui 16:50 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui 16:55 -!- jfluhmann [n=jfluhman@x172y028.angelo.edu] has quit [Remote closed the connection] 16:58 -!- jfluhmann [n=jfluhman@x172y028.angelo.edu] has joined #webgui 16:59 < perlmonkey2> You all hear the news? MS is buying Redhat. 16:59 <+MrHairgrease> nice try 16:59 < perlmonkey2> :D 17:00 < jfluhmann> thanks for reminding me what today is 17:02 <+MrHairgrease> hey perlmonkey2: i see you joined the pbwg gang! 17:02 < perlmonkey2> I did? 17:02 <+MrHairgrease> http://www.webgui.org/webgui/campaigns/people/kaleb-murphy#LnmSZhHi3jQZvX864GKVqw 17:02 < perlmonkey2> hah, that is too cool :P 17:03 < perlmonkey2> Hah, I've already been rated -1 :D 17:04 <+MrHairgrease> I'm rated 12 17:04 <+MrHairgrease> must be the eurotrash look 17:04 < perlmonkey2> heh 17:05 <+MrHairgrease> but then again that took me over two years =) 17:06 < perlmonkey2> I can't find a MrHairgrease in the PBWG 17:06 -!- arjancwidlak [n=arjan@a62-216-21-20.adsl.cistron.nl] has joined #webgui 17:06 <+MrHairgrease> take a better look 17:07 <+MrHairgrease> the photo gives me away 17:10 < perlmonkey2> Hmm, the person with the most hair product in the pictures would be Martin. 17:10 < perlmonkey2> Or JT. 17:10 -!- BartJol [n=plainstu@host2.procolix.com] has joined #webgui 17:10 < perlmonkey2> But you aren't JT :P 17:10 <+MrHairgrease> hehe 17:10 <+MrHairgrease> better don't tell him that 17:10 <+MrHairgrease> =) 17:10 < perlmonkey2> Heh 17:15 -!- 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:18 -!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui 17:18 -!- mode/#webgui [+o apeiron] by ChanServ 17:31 -!- 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 #webgui 17:31 -!- mode/#webgui [+o Haarg] by ChanServ 17:51 -!- topsub [n=josh@97.66.185.250] has joined #webgui 17:53 -!- abc [n=abc@fvec-nat.d214.org] has joined #webgui 17:54 < abc> i am having issues creating a database link to sql server 2003. any ideas? 17:59 <@preaction> do you have an error message or otherwise? 18:00 -!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has left #webgui [] 18:05 < abc> orignally 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:07 <@preaction> shouldn't you be using the ODBC driver? 18:07 < abc> i am not sure that is setup on the server and my network guy is out 18:08 < abc> what would the DSN look like to test it 18:11 -!- abcd [n=abc@fvec-nat.d214.org] has joined #webgui 18:11 -!- abc [n=abc@fvec-nat.d214.org] has quit [] 18:12 -!- abcd [n=abc@fvec-nat.d214.org] has quit [Client Quit] 18:18 < perlmonkey2> My new laptop shipped......I'm so pumped. 18:19 < perlmonkey2> shipped 4 days early 18:21 < topsub> lol 18:21 < topsub> brand? Specs? 18:22 < perlmonkey2> hah, Dell Vostro 1700. 3GB of 667 ram, T8100. 18:23 < perlmonkey2> They had a deal for $500 off and I couldn't resist. 18:25 < perlmonkey2> had 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 < perlmonkey2> Although F9 comes out in 1 month, so I'll be reinstall soon :P 18:26 < topsub> nice 18:26 < topsub> when i was in college i made the mistake of buying an alienware... blah! 18:26 < perlmonkey2> doh 18:26 < topsub> that was the thing when i was in college 18:26 < topsub> everyone dreamed of having one 18:26 < perlmonkey2> nice machines, but they take some $$ 18:27 < topsub> over 3grand 18:27 < perlmonkey2> This Vostro will be $800. 18:27 < topsub> mobo went out on it so its in my lenovo box in parts till i can find new mobo 18:27 < perlmonkey2> doh 18:27 < topsub> they are a pain to take apart 18:27 < topsub> it wouldn't keep clock time 18:27 < topsub> very annoying had to set it everytime 18:28 < perlmonkey2> you run XP on it? 18:28 < topsub> the alienware? ya it had xp cuz in college all software needed xp 18:28 < topsub> well most.. some were mac only.. video editing classes 18:28 < perlmonkey2> yeah, and an alienware is for gaming, and gaming means MS. 18:28 < topsub> ya 18:29 < topsub> sadly never really got to test the gaming on it.. think i had need for speed2 on it 18:29 < topsub> but that was it 18:29 < perlmonkey2> dang, that sucks 18:29 < topsub> no World of Warcraft or anything 18:29 < topsub> cuz was in college = 3 jobs = no time to play.. lol 18:29 < perlmonkey2> hah, shoudl probably consider yourself lucky.....like saying "I never got to try heroin" 18:30 < topsub> lol 18:30 < topsub> when i paying 3 grand for laptop i want to try out the gaming on it... lol 18:32 < perlmonkey2> heh, and when I think 3 grand, I think 2 machines with 8 cores and 16GB ram. 18:32 < topsub> lol 18:32 < topsub> nope overpriced laptops 18:32 < topsub> lol 18:32 < perlmonkey2> and how much data could be crunched 18:32 < topsub> now dell owns it 18:32 < perlmonkey2> hhahaha, absolutely 18:32 < perlmonkey2> they bought alienware? 18:32 < topsub> ya 18:32 <@preaction> 3 grand for apple hardware is the norm, no? 18:33 < topsub> that new one thats out.. 18:33 < perlmonkey2> for the good stuff 18:33 < topsub> that very thin one 18:33 < perlmonkey2> the air starts at 1800 I think 18:33 < topsub> SSD in it 18:33 < perlmonkey2> but to put the fun stuff in it, I think 3K 18:33 < topsub> lol ya 18:33 < perlmonkey2> and it woudl still be slower than my $800 dell :P 18:34 < perlmonkey2> although be 18x cooler and weigh 1/20th. 18:34 < topsub> ya 18:34 <@preaction> yeah, not a fan of the Air 18:34 < topsub> maybe to just web surf 18:34 < topsub> email.. 18:34 < topsub> minor stuff 18:35 <@preaction> but a MBP for 3grand will probably get you something that'll last for a bit 18:35 < topsub> i want to start building new gaming desktop 18:35 < topsub> even tho i reallly don't need it.. i just want it.. lol 18:36 < perlmonkey2> topsub: that is what I did and it was just a way overpriced terminal. 18:36 < perlmonkey2> but when my laptop shows up, it will be my new super-duper server. 18:37 < perlmonkey2> I 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 < topsub> ya i dropped waaay to much money on my gaming desktop 18:37 < topsub> but i also have worked from it 18:37 < topsub> think i got 2TB of space on it 18:37 < topsub> lol 18:37 < perlmonkey2> hah, NICE 18:37 < topsub> 2 - 19s and 1 - 24 inch 18:38 < perlmonkey2> wow, that sounds like the way to go. 18:38 < topsub> wouldn't mind my new rig having 4 widescreens 18:38 < topsub> or something crazy 18:38 < topsub> it is very helpfull when coding 18:38 < topsub> having all that desktop space 18:39 < perlmonkey2> I'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:41 < topsub> email / im one screen.. | coding programing in one | web browser other 18:43 -!- arjancwidlak [n=arjan@a62-216-21-20.adsl.cistron.nl] has left #webgui [] 18:46 -!- af_ [n=getsmart@88-149-241-103.dynamic.ngi.it] has quit ["Ex-Chat"] 18:52 < CIA-22> WebGUI: martin * r5997 /branch/WebGUI_Commerce/docs/upgrades/upgrade_7.5.2-7.5.3.pl: Fixed upgrade script. 18:52 < CIA-22> WebGUI: martin * r5998 /branch/WebGUI_Commerce/ (3 files in 3 dirs): 18:52 < CIA-22> WebGUI: - Changed Cash plugin to use processTransaction 18:52 < CIA-22> WebGUI: - Added (as of yet empty) notification templates 18:52 < CIA-22> WebGUI: - Fixed a typo in sendNotification 18:52 < CIA-22> WebGUI: graham * r5999 /WebGUI/ (docs/changelog/7.x.x.txt lib/WebGUI/AssetBranch.pm): 18:52 < CIA-22> WebGUI: fixed: edit branch sends thread notifications 18:52 < CIA-22> WebGUI: fixed: changing style template with edit branch creates new revisions of assets that have no style template 18:52 < CIA-22> WebGUI: graham * r6000 /WebGUI/ (4 files in 2 dirs): 18:52 < CIA-22> WebGUI: fixed: Wiki attachments uploaded by non-Content Managers deleted by maintenance workflow 18:52 < CIA-22> WebGUI: fixed: Non-Content managers unable to paste assets even with edit privileges 18:52 < CIA-22> WebGUI: graham * r6001 /WebGUI/ (16 files in 10 dirs): 18:53 < CIA-22> WebGUI: use UTF8 JSON encoding and decoding universally 18:53 < CIA-22> WebGUI: fixed: Import/Export of packages with international text is broken 18:53 < CIA-22> WebGUI: graham * r6002 /WebGUI/docs/ (3 files in 3 dirs): fixed: CS rating links are exposed to site spiders 18:53 < CIA-22> WebGUI: graham * r6003 /WebGUI/ (4 files in 4 dirs): improved behavior of CS mail message filtering 18:53 < CIA-22> WebGUI: jt * r6004 /translations/Spanish/ (4 files in 2 dirs): update_from_translation_server 18:53 < perlmonkey2> JT knows Spanish? 18:53 <@preaction> no 18:53 <@preaction> not that i know of 18:53 <@preaction> JT is the one logged into SVN for the translation server 18:53 < perlmonkey2> oh 18:54 <@preaction> which isn't fair for our ohloh stats 18:54 < perlmonkey2> hahahahahahaha, that is EXACTLY what I was thinking :P 18:56 < BartJol> what, I don't know ohloh stats, but I'm sure I'm missing them too 18:57 <@preaction> http://www.ohloh.net/projects/103/contributors 18:58 < BartJol> well with almost every week a translation submission I might show on that list 18:59 < BartJol> darn 18:59 < BartJol> then I'm going home, bye 18:59 -!- BartJol [n=plainstu@host2.procolix.com] has left #webgui [] 19:09 -!- d214 [n=d214@fvec-nat.d214.org] has joined #webgui 19:11 < d214> i 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 < d214> i believe freetds is installed on the server but i keep getting the error Cannot connect to database 19:12 < d214> i have create a local odbc connection fine so i know my username and password work 19:12 < d214> i am not sure why the database link does not 19:12 < d214> DBI:Sybase:[server=virtual-sql][database=master] 19:12 < d214> can anyone help? 19:13 <@preaction> d214, if you're the person who was in here before, the [] isn't supposed to be here 19:13 < d214> when i remove the [] i get a blank page with nothing 19:14 < d214> what separates the server and db in the DSN line then 19:21 -!- 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 #webgui 19:22 -!- MrHairgrease [n=martin@194.171.50.69] has left #webgui [] 19:25 < d214> what needs to be on the server for ODBC 19:27 < topsub> semi colons d214 19:27 < topsub> if i remember 19:27 < topsub> DBI:Sybase:server=virtual-sql;database=master 19:28 < topsub> think one at the end also, not sure 19:29 < d214> DBI:Sybase:server=virtual-sql;database=master; 19:29 < d214> returns a blank page 19:29 -!- perlDreamer [n=ckuskie@nat039.mxim.com] has joined #webgui 19:29 -!- mode/#webgui [+v perlDreamer] by ChanServ 19:29 < d214> not even an error message or debuging 19:30 < topsub> look in the log 19:31 < topsub> look here - /var/wre/logs/webgui.log 19:42 <+perlDreamer> All answers are in /var/wre/log/webgui.log 19:43 <+perlDreamer> unless they're in the apache error log 19:43 <@preaction> d214, i was wrong when I asked you to use ODBC, Sybase is what you want 19:43 <@preaction> d214, if you get a blank page, you need to check the error log 19:44 < d214> apache error log or the webgui 19:44 <@preaction> webgui error log most likely 19:48 <@preaction> d214, 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 you 19:53 <+perlDreamer> preaction: On your dev box can you duplicate the failing company macro test? 19:56 <@preaction> perlDreamer, no 20:01 < d214> sent the log but there is nothing for today other then a differnt log when i was testing changing a db link that worked 20:02 <@preaction> http://webgui.pastebin.com/m7dc7f0fa <- you should probably change your log level to something higher than ERROR 20:03 <@preaction> DEBUG or INFO would be good 20:03 <@preaction> edit WebGUI/etc/log.conf 20:10 < d214> does it need to be restarted to take effect 20:21 <@preaction> yes 20:33 -!- CIA-22 [n=CIA@208.69.182.149] has quit [] 20:43 -!- CIA-21 [n=CIA@208.69.182.149] has joined #WebGUI 21:01 < SynQ> perlbot tell 21:02 < SynQ> can I let perlbot say things 21:02 < SynQ> !perlbot help 21:04 <@preaction> perlbot tell synq about keywords 21:05 < SynQ> I see 21:05 -!- dapperedodo [n=dappered@ip56503e61.direct-adsl.nl] has joined #webgui 21:05 < SynQ> perlbot is not allowed to respond to my questions 21:05 < SynQ> http://www.webgui.org/community-wiki/irc 21:05 < SynQ> ok, dinner! 21:11 -!- dapperedodo [n=dappered@ip56503e61.direct-adsl.nl] has quit [] 21:23 -!- steveo_a1 [n=sno@adsl-76-234-133-88.dsl.sfldmi.sbcglobal.net] has left #webgui [] 21:24 -!- steveo_aa [n=sno@adsl-76-234-133-88.dsl.sfldmi.sbcglobal.net] has joined #webgui 21:50 -!- dummy [n=dummy@62.77.121.120] has joined #webgui 21:53 < dummy> Hello, 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 <@preaction> uh... what do you mean? 21:56 < dummy> preaction, I'm asking you about any working new web technology 21:56 < dummy> ...or at least "new" one 21:57 <@preaction> most of CSS3 isn't near CR status yet. I didn't know xForms or xEvents or XHTML2 or WebForms2 were either 21:57 <@preaction> i guess my question is how does this pertain to WebGUI? 21:58 < CIA-21> WebGUI: jt * r6005 /branch/WebGUI_Commerce/ (9 files in 6 dirs): ems user experience mostly done 22:00 < d214> preaction - restarted and posted new log. looks like something is odd with spectre 22:00 <@preaction> d214, what's the link to the pastebin you created? 22:00 <+perlDreamer> perlmonkey2: what's your dev environment look like? 22:01 < d214> http://webgui.pastebin.com/m34aec54 22:02 < perlmonkey2> perlDreamer: 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:03 <+perlDreamer> hm 22:03 < perlmonkey2> that is how I dev. 22:03 <+perlDreamer> definitely gonig to ping you on this YUI stuff 22:03 <+perlDreamer> but after the product stuff is done 22:03 < perlmonkey2> I guess the env, is just a month old svn snapshot of wg, on a cent 5.1 serve.r 22:04 < d214> when i click run on the workflow all i get is error on the next page 22:05 < perlmonkey2> perlDreamer: 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 < perlmonkey2> I mean firebug 22:05 < perlmonkey2> not firestarter 22:06 < perlmonkey2> that is a iptables gui :P 22:06 <+perlDreamer> Drew Barrymore vs Mitchell Baker 22:06 <+perlDreamer> hm 22:07 <@preaction> d214, your SyncProfilesToLDAP isn't compiling for some reason. have you run testEnvironment.pl? 22:08 -!- dapperedodo [n=dappered@ip56503e61.direct-adsl.nl] has joined #webgui 22:09 < d214> not that i am aware of, where is it 22:09 <@preaction> WebGUI/sbin 22:09 <@preaction> if you're running the WRE you probably don't need it 22:11 < d214> posted it, http://webgui.pastebin.com/m19f8d8d7 22:12 < perlmonkey2> I just bought 5,000 shares of Clinton to win the Penn primary at $8/contract (good contracts worth $10). 22:12 < perlmonkey2> I hope that wasn't a stupid thing to do. 22:13 < perlmonkey2> I mean 500 contracts, not 5000. 22:13 < perlmonkey2> heh 22:13 < perlmonkey2> (this is with Intrade's play money) :P 22:13 -!- Samus_Aran [n=ILL@about/linux/supportwhirlwind/SamusAran] has joined #WebGUI 22:14 < Samus_Aran> does WebGUI have a method of support for pages in multiple languages ? 22:15 <+perlDreamer> No 22:15 <+perlDreamer> No multilingual content, only labeling and editing interfaces are i18n'ed 22:15 <+perlDreamer> but if you look in the wiki and the forums, you'll see how people have done it in WebGUI 22:15 < Samus_Aran> darn. would be neat if content could have alternate versions 22:16 < Samus_Aran> thank you 22:16 <+perlDreamer> RFEs (and patches) are always welcome 22:16 <+perlDreamer> you're not the first person to ask for this 22:16 <+perlDreamer> if enough people start asking, then JT will start thinking about it 22:18 < dapperedodo> There are enough tricks to buld multilangual sites 22:18 < dapperedodo> You could rebuild the entire site in an alternate root 22:18 < Samus_Aran> perlDreamer: I will submit an RFE, or add a comment on an existing one then 22:19 <+perlDreamer> In the meantime, Samus_Aran, the multiple root trick that dapperedodo mentioned works well 22:19 <@preaction> d214, you need to run testEnvironment.pl as root so it can install all those dependencies for you 22:19 <+perlDreamer> you basically copy and paste your site into a new root using the Asset Manager 22:19 <+perlDreamer> then translate that "branch" of the site 22:19 <+perlDreamer> Syncing the two sites has to be done manually 22:20 <@preaction> d214, also, if you're using a source install, I would seriously reconsider moving to the WRE. source installs are not for the faint of heart 22:22 < Samus_Aran> dapperedodo: 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 Asset 22:22 < Samus_Aran> that way you can add new images as needed, the rest falling back 22:22 < Samus_Aran> if you moved content around, the translation would follow 22:24 <@preaction> but those assets wouldn't have the same URL or asset ID 22:24 <@preaction> the way i've been seeing it is an assetTranslation table with 22:24 <+perlDreamer> preaction, 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 user 22:25 <@preaction> then asset->get would get the correct content based on the user's preference 22:25 < dapperedodo> The 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 <@preaction> i like this way because it could be done as a mixin instead of having to make all assets aware of multi-language by default 22:25 <+perlDreamer> I was thinking it would be done in new, rather than get since it's tied to a particular session 22:26 < Samus_Aran> it would be nice also if it would read the browser's default language setting, if set 22:27 < dapperedodo> You do not always want to see the language of your preference, and that is only true for Registered users 22:27 < dapperedodo> Also fro google you want different langages in different urls 22:29 <+perlDreamer> I didn't even think about the google and the search engines 22:29 <@preaction> also there's the Alternate HTTP header you'll probably want to send for those languages 22:29 <@preaction> so there will need to be some way to get at other translations via URL 22:30 <@preaction> ?lang=en perhaps? 22:30 <+perlDreamer> well, I guess that's why I fix bugs and write tests rather than building CMSes :) 22:30 < dapperedodo> you can do it with a form param, but it is ugly. 22:30 <@preaction> perlDreamer, there are days where i would prefer just some nice bugs or something new to test... 22:30 <@preaction> dapperedodo, how so? 22:30 < dapperedodo> That's why I never did an RFE for multilanguage:) 22:31 <+perlDreamer> There are CMSes that do multilanguage. Have we looked at them? 22:31 < dapperedodo> The ?lang=en thing is ugly 22:31 < dapperedodo> They mostly do the ?lang=en thing 22:31 <@preaction> this 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 connections 22:31 < dapperedodo> I always make two roots 22:31 <@preaction> dapperedodo, why is that ugly? what could be done to avoid it? 22:32 <@preaction> is it just personal preference that makes it ugly? 22:32 <@preaction> or is there some good reason? 22:32 < dapperedodo> one is like /home and the other /en/home 22:32 <@preaction> theoretically, with URL handlers or Content handlers or somesuch you could translate /en/home to /home?lang=en 22:32 < dapperedodo> The url rewriting of webgui is done for a very good reason. Gppgle likes it. 22:33 < dapperedodo> of course you can also rewrite it:) 22:36 <@preaction> yeah, but as you said, webgui exists so we don't have to do rewrite rules 22:38 < dapperedodo> so you don't want an extra ?lang=en in yoururls and build the rewriting already in WebGUI 22:40 < d214> preaction, i believe i am running wre how can i tell 22:41 < Samus_Aran> you 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_Aran> and fall back to content not translated on the original 22:42 < Samus_Aran> or support all three methods mentioned and let the user pick one. internally they would all be using the same code anyway 22:42 < Samus_Aran> just a different URL 22:43 < dapperedodo> The 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 WebGUI 22:44 <@preaction> i'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 <@preaction> so if someone wants, they can change their config to add that URL handler and have different sections of the site with different languages liike that 22:45 <@preaction> but all the URLs in the assetData table will NOT have any lang:en or lang:es in the beginning of them 22:45 <@preaction> the end result is the same as rewriting, but it's more elegant 22:45 < dapperedodo> I can see your point. 22:46 <@preaction> there'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 preference 22:47 <@preaction> so 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:48 <+perlDreamer> I think that idea has been proposed before, and rejected by JT due to concerns with speed. 22:48 <@preaction> which one? 22:48 <@preaction> the multiple assets one? 22:49 <+perlDreamer> yes, your last suggestion 22:49 <@preaction> yeah, i don't like it either 22:49 <+perlDreamer> I don't remember the details, though 22:49 <@preaction> i like my /lang:en/ one 22:49 <+perlDreamer> maybe the xdanger archives would be a good place to look 22:56 -!- dummy [n=dummy@62.77.121.120] has quit ["Leaving"] 23:01 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."] 23:02 -!- topsub [n=josh@97.66.185.250] has quit [Remote closed the connection] 23:05 -!- knowmad [n=william@adsl-074-170-007-083.sip.clt.bellsouth.net] has quit [Read error: 110 (Connection timed out)] 23:07 < d214> preaction, do all have to be installed 23:07 <@preaction> d214, yes 23:07 <@preaction> that's what testEnvironment.pl is for 23:07 < d214> i get errors on a few 23:07 <@preaction> then you have to force install them 23:07 < d214> how 23:08 <@preaction> perlbot life with cpan 23:08 < perlbot> Information pertaining to the Comprehensive Perl Archive Network (CPAN) can be found at http://sial.org/howto/perl/life-with-cpan/ 23:08 <@preaction> open the cpan shell and do "force install Module" 23:09 <@preaction> have you considered using the WRE yet? 23:09 < d214> i thought i was using it. how can i tell 23:09 <@preaction> does /data/wre exist? 23:09 <@preaction> is that where you put it? 23:10 < d214> yes 23:10 <@preaction> then what probably is wrong is that you aren't using the WRE's environment when you're running testEnvironment.pl 23:11 <@preaction> do . /data/wre/sbin/setenvironment.sh (that's dot, space, slash) 23:12 < d214> done. now wha 23:12 < d214> whaty 23:12 < d214> sorry what 23:13 <@preaction> now you can do whatever it was you were doing that wasn't working 23:13 <@preaction> like testEnvironment.pl 23:13 <@preaction> but since you're using the WRE, testEnvironment.pl will probably pass 23:14 -!- dapperedodo [n=dappered@ip56503e61.direct-adsl.nl] has quit [] 23:15 < d214> yes it passed 23:18 < d214> still get SyncProfilesToLdap.pm error in the log 23:18 < d214> how is that related to a db link? 23:22 <@preaction> it's not 23:23 -!- arjancwidlak [n=arjan@widnet.xs4all.nl] has joined #webgui 23:23 < d214> ok so how do i debug the syncprofilestoldap, no running workflows and my blank sql report page 23:26 < d214> have to run for the day. thanks for the help but i am sure i will be stuck tomorrow 23:26 -!- d214 [n=d214@fvec-nat.d214.org] has quit [] --- Day changed Wed Apr 02 2008 00:10 < CIA-21> WebGUI: graham * r6008 /branch/WebGUI_7.4/ (2 files in 2 dirs): fixed: Syndicated Content asset tries too hard to get URLs returning errors 00:10 < CIA-21> WebGUI: graham * r6009 /branch/WebGUI_7.4/ (docs/changelog/7.x.x.txt lib/WebGUI/Asset/Event.pm): fixed: Event related links truncated on dashes 00:10 < CIA-21> WebGUI: 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 workflows 00:10 < CIA-21> WebGUI: graham * r6011 /branch/WebGUI_7.4/ (3 files in 3 dirs): fixed: Collaboration System attachments follow site's max size instead of CS's 00:10 < CIA-21> WebGUI: 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 limits 00:10 < CIA-21> WebGUI: 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 corrupted 00:10 < CIA-21> WebGUI: graham * r6014 /branch/WebGUI_7.4/ (2 files in 2 dirs): fixed: subscription group in CS edit has broken hover help 00:10 < CIA-21> WebGUI: graham * r6015 /branch/WebGUI_7.4/ (5 files in 5 dirs): fixed: profile photos don't obey max image size 00:10 < CIA-21> WebGUI: 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 locales 00:10 < CIA-21> WebGUI: 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 durations 00:10 < CIA-21> WebGUI: 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 user 00:10 < CIA-21> WebGUI: graham * r6019 /branch/WebGUI_7.4/lib/WebGUI/Asset/Wobject/Survey.pm: removing useless www_editSave from survey 00:10 < CIA-21> WebGUI: graham * r6020 /branch/WebGUI_7.4/ (2 files in 2 dirs): added: Better error messages when SQL Report lacks a query 00:10 < CIA-21> WebGUI: graham * r6021 /branch/WebGUI_7.4/ (docs/changelog/7.x.x.txt lib/WebGUI/AssetBranch.pm): 00:10 < CIA-21> WebGUI: fixed: edit branch sends thread notifications 00:10 < CIA-21> WebGUI: fixed: changing style template with edit branch creates new revisions of assets that have no style template 00:10 < CIA-21> WebGUI: graham * r6022 /branch/WebGUI_7.4/ (4 files in 2 dirs): 00:10 < CIA-21> WebGUI: fixed: Wiki attachments uploaded by non-Content Managers deleted by maintenance workflow 00:10 < CIA-21> WebGUI: fixed: Non-Content managers unable to paste assets even with edit privileges 00:10 < CIA-21> WebGUI: graham * r6023 /branch/WebGUI_7.4/lib/WebGUI/Storage.pm: fixing warnings and Storage changing dir 00:10 < CIA-21> WebGUI: graham * r6024 /branch/WebGUI_7.4/lib/WebGUI/ (Asset.pm Storage.pm): minor module loading ans chdir issues 00:11 < CIA-21> WebGUI: graham * r6025 /branch/WebGUI_7.4/lib/WebGUI/Asset/Wobject/Article.pm: fixing article storage copying 00:11 < CIA-21> WebGUI: graham * r6026 /branch/WebGUI_7.4/ (8 files in 6 dirs): preparing for 7.4.31 release 00:11 < CIA-21> WebGUI: jt * r6027 /releases/WebGUI_7.4.31-stable: Release 7.4.31-stable 00:11 -!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui 00:12 <@preaction> holy hell 00:12 <+perlDreamer> yeah, Haarg is busting them up 00:13 <+perlDreamer> The bug list is down to 6 entries 00:14 <@Haarg> that's another merging 00:14 <@Haarg> those were all already fixed in 7.5 00:15 <+perlDreamer> still, it's a ton of good work 00:29 -!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has joined #webgui 00:29 -!- mode/#webgui [+v MrHairgrease] by ChanServ 00:34 -!- TheSeparator [n=seppie@ip565f19be.direct-adsl.nl] has joined #webgui 00:39 -!- cap10morgan [n=cap10mor@h19-afsc.ded.indra.com] has joined #webgui 00:39 -!- Samus_Aran [n=ILL@about/linux/supportwhirlwind/SamusAran] has left #WebGUI ["onwards I go ..."] 00:39 < cap10morgan> can you add an asset to the list using the config file overrides? 00:39 < cap10morgan> or would you need to put the whole list in there and add your asset to it? 00:50 <+perlDreamer> If by list you mean the admin console? 00:50 <+perlDreamer> the yes, the config file is used to set some of the things in the admin bar 00:50 <+perlDreamer> Also, prototypes are listed in the admin bar 00:52 <+perlDreamer> the config file settings are called "assets" and "assetContainers" 00:52 < cap10morgan> yeah, the admin console 00:53 < cap10morgan> so i need to put in the whole "assets" section i want in my new sites' config files, right? 00:53 <+perlDreamer> right, the whole thing 00:53 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui 00:53 < cap10morgan> ok, thanks pD 00:53 <+perlDreamer> no problem 00:53 <+perlDreamer> How's the OpenID? 00:53 < cap10morgan> oh, good question :) 00:53 < cap10morgan> we should check on that perl library again 00:53 < cap10morgan> we were waiting on them to get updated to openid 2.0 00:54 <+perlDreamer> That's probably a good idea, given the recent JSON fiasco :) 00:54 <+perlDreamer> There 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 < cap10morgan> heh, yeah, wouldn't want that right out of the gate 00:54 < cap10morgan> oh yeah 00:54 < cap10morgan> the thing i'm really excited about is making webgui an openid provider 00:55 < cap10morgan> so then w/ ldap integration 00:55 < cap10morgan> it can expose your ldap users as openids 00:55 < cap10morgan> which would be sweet 00:55 < cap10morgan> ldap -> web-wide sso. mmmmm... tasty. 01:00 <+perlDreamer> just write lots of tests for it :) 01:18 <+perlDreamer> Does 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:21 -!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has left #webgui [] 01:39 -!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"] 01:56 -!- arjancwidlak [n=arjan@widnet.xs4all.nl] has left #webgui [] 02:37 -!- perlDreamer [n=ckuskie@nat039.mxim.com] has quit ["Download Gaim: http://gaim.sourceforge.net/"] 03:00 -!- TheSeparator [n=seppie@ip565f19be.direct-adsl.nl] has quit [Read error: 113 (No route to host)] 03:36 -!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui 03:36 -!- mode/#webgui [+v Radix-wrk] by ChanServ 03:41 -!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit ["Exit- stage left"] 03:43 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."] 04:06 -!- cap10morgan [n=cap10mor@h19-afsc.ded.indra.com] has quit [Read error: 110 (Connection timed out)] 04:30 -!- CIA-21 [n=CIA@208.69.182.149] has quit [] 04:37 -!- CIA-23 [n=CIA@208.69.182.149] has joined #WebGUI 06:32 -!- CIA-23 [n=CIA@208.69.182.149] has quit [] 06:41 -!- CIA-21 [n=CIA@208.69.182.149] has joined #WebGUI 06:41 -!- Dadok [n=tickitim@224.163.dsl.syd.iprimus.net.au] has joined #webGUI 07:14 < CIA-21> WebGUI: colin * r6028 /branch/WebGUI_Commerce/t/Shop/loadProducts.pl: widget script for throwing Products into the db for testing upgrades 07:53 -!- Haarg [n=haarg@66-168-19-128.dhcp.mdsn.wi.charter.com] has joined #webgui 07:53 -!- mode/#webgui [+o Haarg] by ChanServ 08:03 -!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has quit [Read error: 113 (No route to host)] 08:10 -!- dapperedodo_ [n=dappered@ip56503e61.direct-adsl.nl] has joined #webgui 08:21 -!- dapperedodo_ [n=dappered@ip56503e61.direct-adsl.nl] has quit [] 08:47 -!- dapperedodo [n=dappered@194.171.50.69] has joined #webgui 08:51 -!- ryuu_ro [n=rory@194.171.50.69] has joined #webgui 08:57 -!- Haarg [n=haarg@66-168-19-128.dhcp.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"] 09:00 -!- dappere-dodo [n=dappered@194.171.50.69] has joined #webgui 09:01 -!- 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 #webgui 09:03 -!- dappere-dodo [n=dappered@194.171.50.69] has quit [Client Quit] 09:04 -!- dappere-dodo [n=dappered@194.171.50.69] has joined #webgui 09:04 -!- dappere-dodo [n=dappered@194.171.50.69] has quit [Client Quit] 09:05 -!- dapperedodo [n=dappered@194.171.50.69] has joined #webgui 10:25 -!- patspam [i=chatzill@ppp59-167-163-151.lns1.mel4.internode.on.net] has joined #webgui 10:52 -!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui 11:26 -!- 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:38 -!- BartJol [n=plainstu@194.171.50.123] has joined #webgui 11:55 -!- Haarg [n=haarg@66-168-19-128.dhcp.mdsn.wi.charter.com] has joined #webgui 11:55 -!- mode/#webgui [+o Haarg] by ChanServ 11:58 -!- Haarg [n=haarg@66-168-19-128.dhcp.mdsn.wi.charter.com] has quit [Client Quit] 11:59 -!- Haarg [n=haarg@66-168-19-128.dhcp.mdsn.wi.charter.com] has joined #webgui 11:59 -!- mode/#webgui [+o Haarg] by ChanServ 12:29 -!- MrHairgrease [n=martin@194.171.50.69] has joined #webgui 12:29 -!- mode/#webgui [+v MrHairgrease] by ChanServ 12:49 -!- Haarg [n=haarg@66-168-19-128.dhcp.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"] 13:03 < Syn2> oohm 14:12 -!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has quit ["Leaving"] 14:40 -!- Dadok [n=tickitim@224.163.dsl.syd.iprimus.net.au] has quit [] 15:25 -!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui 15:53 -!- SDuensin [n=Scott@84.sub-75-206-54.myvzw.com] has joined #WebGUI 15:55 < SDuensin> Morning. 16:18 -!- topsub [n=josh@97.66.185.250] has joined #webgui 16:35 < CIA-21> WebGUI: yung * r6029 /WebGUI/ (3 files in 3 dirs): fixed: Thingy: "cancel" -- cannot cancel when adding a thing 16:37 -!- perlmonkey2 [n=kmurphy@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui 16:40 -!- Haarg [n=haarg@66-168-19-128.dhcp.mdsn.wi.charter.com] has joined #webgui 16:40 -!- mode/#webgui [+o Haarg] by ChanServ 16:58 -!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has left #webgui [] 17:00 -!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui 17:00 -!- mode/#webgui [+o rizen] by ChanServ 17:01 -!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui 17:01 -!- mode/#webgui [+o apeiron] by ChanServ 17:01 -!- bopbop [n=kmccombs@71-82-214-154.dhcp.mdsn.wi.charter.com] has joined #webgui 17:01 <@rizen> MrHairGrease: one thing about payments...no hand building XML this time. Use XML::Simple instead 17:01 <+MrHairgrease> already did that 17:01 <@rizen> k 17:01 <@rizen> you rock 17:01 <+MrHairgrease> indeed 17:02 <+MrHairgrease> =) 17:02 <@rizen> jfluhmann: how many people will be at your texasoss.org conference? 17:02 <@rizen> nuba: how is the maps thing coming along? will it be done by the May 31st deadline for 7.5 17:04 -!- estiven [n=estiven@201.232.58.66] has quit [Remote closed the connection] 17:04 -!- estiven [n=estiven@201.232.58.66] has joined #webgui 17:04 -!- estiven [n=estiven@201.232.58.66] has left #webgui [] 17:06 * 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 :P 17:06 <@rizen> it will be fast enough 17:06 <@rizen> perlmonkey2: the key is order of operations 17:07 <@rizen> determine what you can eliminate first in your lookup strategy 17:08 <@rizen> with a good logic structure, you can usually knock out more than half of the logic (and therefore lookups) 17:10 < perlmonkey2> I think I'm pegging my brain's CPU in deteremining the logic code. 17:10 < perlmonkey2> err, next question logic's code. 17:13 <@rizen> ok step back 17:13 <@rizen> get out an old fashioned piece of paper and a pencil 17:13 < perlmonkey2> I think I'm going to make a rule that an answer can not have a jump to a randomized section. 17:14 < perlmonkey2> Great minds think alike :) Right above my code is text walking through all the logic. 17:14 <@rizen> write down the different cases of how you can determine the next question, without caring about the relationship of how to get there 17:15 <@rizen> this works even easier if you have a flow charting program like dia, visio, or omnigraffle 17:15 < perlmonkey2> I 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:16 <@rizen> then draw lines to represent the logic structure 17:16 <@rizen> then sort out the spaghetti 17:16 < perlmonkey2> hah 17:16 < perlmonkey2> I'll give that a go....Always fun to use Dia. 17:17 <@rizen> don't worry about code duplication. after you get it figured out you can always refactor the code into a bunch of subroutines 17:17 < perlmonkey2> premature optimization.....the bane of my existence. 17:17 < perlmonkey2> okay....I'll try putting together some dia-grams and see if that helps me organize the code. 17:18 < perlmonkey2> :) 17:18 < perlmonkey2> well....not organize, but figure out the logic. 17:18 <@rizen> no problem is to large if you break it into small enough pieces 17:18 <@rizen> s/to/too/ 17:19 < perlmonkey2> Will 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:30 -!- crythias [n=gyoung@fl-69-68-148-96.sta.embarqhsd.net] has joined #webgui 17:30 -!- mode/#webgui [+v crythias] by ChanServ 17:30 -!- crythias [n=gyoung@fl-69-68-148-96.sta.embarqhsd.net] has left #webgui [] 17:35 -!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit ["Exit- stage left"] 17:51 <@rizen> why would they end up using survey monkey? 17:51 < perlmonkey2> They have a go live date coming up next Momnday 17:52 < perlmonkey2> if I can get *(something* working by tomorrow, they'll be testing and building surveys all weekend. 17:52 < perlmonkey2> if not, they'll have to go with surveymonkey 17:52 <@rizen> so why not just get it working? 17:52 <@rizen> do they really need random and everythign? 17:52 < perlmonkey2> hah, I'm working 12-14 hours a day since last wed to do that. 17:52 <@rizen> why not give them a build that gives them only wht they need 17:52 <@rizen> and then add the rest later 17:52 < perlmonkey2> they wanted everything 17:52 <@rizen> i didn't say want 17:52 <@rizen> i said NEED 17:53 <@rizen> for this weekend 17:53 <@rizen> for this survey 17:53 < perlmonkey2> but I am close....and I am cutting out a lot of stuff 17:53 <@rizen> what do they need 17:53 < perlmonkey2> I don't know. I understood it to be everything 17:53 < perlmonkey2> they already have a ton of extremely expensive closed source tools that don't do what they want. 17:53 <@rizen> i don't know is never a valid answer. 17:54 <@rizen> the answer is "i'll find out" 17:55 -!- ryuu_ro [n=rory@194.171.50.69] has quit [] 17:55 < perlmonkey2> I'll see what I can find out.....hopefully pear down the number of questions I need to implement 18:00 <@rizen> incidentally, if you don't want my advice on this stuff, feel free to tell me to shut the hell up. =) 18:03 <+MrHairgrease> rizen: what's the method to fetch the recur period from an item? 18:03 <+MrHairgrease> if there is such a thing 18:04 <@rizen> we need to add that to Sku 18:04 <@rizen> i didn't add any interface methods for recurring stuff except isRecurring 18:05 <@rizen> call it getRecurInterval 18:05 <+MrHairgrease> ok 18:05 <+MrHairgrease> another thing 18:05 <+MrHairgrease> TransactionItem doen't store isRecurring and recurInterval 18:05 <+MrHairgrease> I guess it should 18:06 <@rizen> why should it? 18:06 <@rizen> doesn't the payment gateway do the recurrence? 18:07 <@rizen> it does a postback on the interval, right? 18:07 <+MrHairgrease> b/c you want to be able to check if a transaction item recurring payment is due 18:07 <+MrHairgrease> it does 18:07 < perlmonkey2> rizen: 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 <+MrHairgrease> but as it is it stores that in the ITransact_recurring table 18:07 <+MrHairgrease> or simething like that 18:07 <@rizen> fair enough. feel free to add those to the transaction item then 18:07 <+MrHairgrease> ok 18:13 -!- cap10morgan [n=cap10mor@h19-afsc.ded.indra.com] has joined #webgui 18:30 -!- perlmonkey2 [n=kmurphy@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."] 18:42 -!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI 18:42 < elnino> hi 18:42 < elnino> since 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:44 < elnino> Ah. 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:47 < bopbop> el nino: go to the user's user profile- you'll see the UI field towards the bottom- change to 9 18:48 < elnino> right, 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:49 < bopbop> ah, I see... 18:49 < bopbop> Haarg: do you know? 18:50 <@Haarg> there may be a config setting for it, i don't remember offhand 18:50 <+MrHairgrease> you can do it in the webgui.conf 18:50 <+MrHairgrease> but you'll have to do it per asset 18:50 < bopbop> el nino: try looking in the Permissions tab of Settings... 18:50 < bopbop> nope, nevermind :) 18:51 <+MrHairgrease> basically you do this: 18:51 <@rizen> that won't work for the change url function mrhairgrease 18:51 <@rizen> that's only for asset properties 18:51 <+MrHairgrease> "WebGUI_Asset_Wobject_Article_uiLevel" : { "url" : level# } 18:51 <@rizen> he's talking about the "Change URL" menu function i think 18:52 < elnino> yep 18:52 <+MrHairgrease> what is that? 18:52 <@rizen> elnino: 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 that 18:53 < elnino> when 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 <+MrHairgrease> yeah, I just found it 18:54 <+MrHairgrease> nice 18:54 <+MrHairgrease> didn't know webgui could do thta =) 18:54 <@rizen> it's a somewhat dangerous function 18:54 <@rizen> because it gets rid of all the old revisions 18:55 <@rizen> but it's also highly useful 18:55 <+MrHairgrease> what about the assetToolbarUiLevel options then? 18:55 < elnino> yes, but it's a nice feature. 18:55 < elnino> don't get rid of it. 18:55 <+MrHairgrease> "changeUrl" : 9 18:55 < elnino> please 18:55 <@rizen> i'm not thinking of getting rid of it 18:56 <@rizen> that would work mrhairgrease...i forgot that existed 18:56 < elnino> perfect thanks. 18:56 < elnino> rizen - 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 <+MrHairgrease> just set the number to the correct level and restart 18:57 -!- perlmonkey2 [n=perlmonk@casr-dev.fwsm2ppuser.ou.edu] has joined #webgui 18:57 <@rizen> elnino: now it's a secret between the 25 of us. =) 19:01 -!- BartJol [n=plainstu@194.171.50.123] has left #webgui [] 19:03 -!- perlDreamer [n=ckuskie@nat039.mxim.com] has joined #webgui 19:03 -!- mode/#webgui [+v perlDreamer] by ChanServ 19:03 < topsub> lol 19:06 -!- dapperedodo [n=dappered@194.171.50.69] has quit ["Leaving"] 19:09 < bopbop> perlDreamer: 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 < bopbop> runs, completes...? 19:09 < bopbop> can you fill in a blank for me/ 19:10 <@preaction> runs 19:10 < bopbop> thanks 19:10 <+perlDreamer> runs 19:10 < bopbop> thanks to you too:) 19:10 <+perlDreamer> that's the crying part that we discussed earlier 19:10 <+perlDreamer> Hopefully soon you'll get to the laughing part 19:10 < bopbop> I remember.. 19:10 <@preaction> you'll laugh? you'll cry? you'll eat humble pie? 19:10 < bopbop> I'm enjoying the hotdog-hamburger-pizza scenarios 19:10 <@preaction> when does she get to the pie? 19:11 < bopbop> can relate 19:11 <+perlDreamer> No pie, bad for the kids' teeth 19:11 < bopbop> wouldn't make wife happy 19:11 <+perlDreamer> I used a family motif for all my test examples 19:11 <+MrHairgrease> i usually use beer motifs 19:12 <+MrHairgrease> talking of which 19:12 <+MrHairgrease> it's time to go home 19:12 <+MrHairgrease> later 19:12 -!- MrHairgrease [n=martin@194.171.50.69] has left #webgui [] 19:18 <+perlDreamer> preaction: If you like, I can send you the raw, needing edits copy when I get home. 19:18 <@preaction> no need, i've still gotta finish my chapter. it needs more input 19:19 <+perlDreamer> cat /dev/null > preaction/chapter 19:19 -!- SquOnk [n=emhn@201.211.84.218] has joined #webgui 19:19 <@preaction> i wish 19:19 <@preaction> wait. don't you mean cat /dev/random > ~/chapter? 19:20 <@preaction> you can't read from /dev/null can you? 19:20 <+perlDreamer> yes 19:20 <@preaction> but it's null. 19:20 <@preaction> it's not 0 or random or 19:20 < SquOnk> rizen: Hi 19:21 <+perlDreamer> SquOnk: rizen is busy hacking. Do you need some help or want to volunteer some help? 19:22 < SquOnk> perlDreamer: 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 < SquOnk> perlDreamer: ...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 <+perlDreamer> cool. We really appreciate you doing that. 19:23 < SquOnk> perlDreamer: 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.deb 19:23 < SquOnk> (Debian users can use http://itverx.com.ve/debian directly, of course) 19:27 < elnino> hmmm. 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 < SquOnk> The packages are for Debian Sid. I will backport to Debian Etch in three weeks time. 19:30 <+perlDreamer> We're probably going to find ourselves awash in new users soon, then :) 19:31 < SquOnk> perlDreamer: That's the idea... 19:31 <@rizen> SquOnk: nice job 19:31 < CIA-21> WebGUI: martin * r6030 /branch/WebGUI_Commerce/lib/WebGUI/ (4 files in 3 dirs): Adding the ITransact driver. Partly finished, not yet tested, but compiles. 19:32 <+perlDreamer> Is this like an unwrapped WRE, then, using Debian's native packages and new requirements? 19:32 < SquOnk> perlDreamer: After you do aptitude install webgui 19:32 <@rizen> sorry 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 system 19:32 < SquOnk> perlDreamer: You get a WebGUI install that complies with Debian Policy. 19:32 < elnino> yeah new users!! 19:32 < SquOnk> Briefly: 19:33 < SquOnk> You have modules in /usr/share/webgui 19:33 < SquOnk> You have the 'uploads', 'extras' and additional variable stuff in /var/lib/wegui 19:33 < SquOnk> You have logfiles in /var/log/webgui with _automatic_ rotation enabled. 19:33 < SquOnk> You get configuration files in /etc/webgui 19:33 < SquOnk> You get a standard Apache configuration that you simply have to symlink in place. 19:34 < SquOnk> You get /etc/init.d/webgui to start/stop/check on Spectre. 19:34 < SquOnk> In the current version, you must create the database by hand and/or run the upgrades script if needed. 19:35 < SquOnk> Once 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 < SquOnk> From 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:36 < SquOnk> debconf 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:37 < SquOnk> I also plan on adding automatic upgrade facilites, by automatically running the upgrade scripts. 19:37 < SquOnk> The sbin scripts have been integrated into the system, so you don't have to say /usr/share/webgui/sbin/testEnvironment.pl, but simply wg_testEnvironment 19:38 < SquOnk> I 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:39 <+perlDreamer> most of the sbin scripts have POD or online usage statements (--help), that should give you a semi-decent start 19:39 < SquOnk> perlDreamer: That's what I'm using. 19:39 <+perlDreamer> if they all used POD, would that help with future updates? 19:40 < elnino> what does "no route to host" mean when trying to connect to a proxy site? 19:40 <+perlDreamer> then you could just run pod2man instead of writing the *roff by hand 19:40 < SquOnk> perlDreamer: Yes, as long as pod2man gets them out cleanly and no sections are missing Debian policy-wise. 19:40 <@preaction> there's a pod2man or somesuch probably 19:40 <@preaction> elnino, it means the proxy can't connect to where you want it to connect probably\ 19:41 < SquOnk> I have just one suggestion: 19:41 < SquOnk> All the sbin and upgrade scripts need to find out where WebGUI's Perl modules are, and also the configuration file... 19:42 < SquOnk> ...but they do it with things like use lib "../lib" or even WebGUI::Session->create("../..",$config) 19:42 <+perlDreamer> yes 19:42 <+perlDreamer> not very relocatable 19:42 < SquOnk> perlDreamer: Exactly 19:43 < SquOnk> perlDreamer: 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 < SquOnk> perlDreamer: Same thing goes with the mod_perl preload script 19:44 <+perlDreamer> SquOnk: 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:45 < SquOnk> perlDreamer: 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 < SquOnk> perlDreamer: So there's only one thing to locate :-) 19:45 <+perlDreamer> ah, but where do you put WebGUI::Configuration? Is it /usr/lib/perl5... ? 19:46 < SquOnk> perlDreamer: 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:47 < SquOnk> perlDreamer: Another thing, mostly cosmetic (but also along Debian Polciy) is that most of the scripts don't have a shebang line. 19:48 < SquOnk> perlDreamer: But I understand the reasoning for that, since your application could run on different OSes with Perl installed "who knows where" 19:48 <+perlDreamer> exactly 19:48 <@preaction> #!/usr/bin/env perl <- would work 19:48 <+perlDreamer> does that work on Windows? 19:48 < SquOnk> perlDreamer: Besides, It's a simple one-liner to fix that and it happens while packaging so it's no biggie 19:49 < SquOnk> However, being consistent in the use of $webGUIroot in every script is a good step into simplifying packaging and installation. 19:50 < SquOnk> So, ponder on it for a while. If I come up with a better solution I'll let you know :-) 19:50 <+perlDreamer> It'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:56 < SquOnk> I _think_ I have a solution but it scares me :-) 19:56 < SquOnk> package WebGUI::Config 19:56 < SquOnk> $main::webguiroot = '/some/path' 19:56 < SquOnk> 42; 19:56 < SquOnk> Heh 19:56 < SquOnk> Haven't tested it. It's beautiful and scary :-) 19:59 <@rizen> the scripts use webguiroot to figure out what lib to include so that it can find WebGUI::Config 19:59 <@rizen> so that wouldn't work 20:00 < jfluhmann> rizen, the texasoss.org conference has just under 60 attendees currently registered. I was hoping for ~200, but it's likely to be around 100 20:01 -!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: diakopter 20:02 <@rizen> jfluhmann: do you have any idea who your attendees are? Business owners? Students? IT Professionals? Software developers? etc? 20:04 -!- Netsplit over, joins: diakopter 20:05 < jfluhmann> it's a mix of students, business owners, IT professionals, K-12 and higher ed technology support 20:06 < jfluhmann> I was trying to get a good college crowd with the hopes of encouraging them to look at open source 20:07 < jfluhmann> My hope would be to encourage them to attend some of the summer conferences, such as YAPC, OSCON, and such 20:07 -!- cap10morgan [n=cap10mor@h19-afsc.ded.indra.com] has quit [Remote closed the connection] 20:07 < perlmonkey2> hmm....6 hour drive. 20:08 < jfluhmann> :-) There are a few people coming from Houston (~7.5 hour drive) 20:08 <@rizen> i see that you have a speaker slot open...if i can swing it would you like me to come speak? 20:09 < jfluhmann> rizen, that would be great! 20:09 < perlmonkey2> If rizen goes, I'll have to see if I can drive down and jeer from the audience. 20:09 < jfluhmann> I believe there are a few people wanting to do something on that following Sunday 20:10 < perlmonkey2> "perl is for lusers and webgui is so sorry i can't even run it on my $5 hoster!" 20:10 <@rizen> there's less than a 20% chance i can make it 20:10 <@rizen> so don't get your hopes up 20:10 < jfluhmann> Jeff Rush (Python) mentioned it and a few others said they could do some informal workshops/tutorials 20:11 < jfluhmann> rizen, I understand. It's a fair distance from there to here 20:11 <@rizen> that's not the issue 20:11 <@rizen> just 2 days before that i'm going to be doing another trade show 20:11 < jfluhmann> ah 20:11 <@rizen> which i'll be at for 4 days 20:12 < jfluhmann> Web 2.0? 20:12 <@rizen> so i'd have to rearrnage flights 20:12 <@rizen> and stuff 20:12 <@rizen> no, it's a manufacturers conference 20:12 <@rizen> too 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 Wohn 20:13 < jfluhmann> ah, okay. I knew that O'Reilly's Web2.0 conference was that week. 20:13 < jfluhmann> yeah, should be an interesting talk 20:13 <@preaction> anyone 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 useful 20:14 <@rizen> mine would have been better. =) 20:14 < jfluhmann> rizen, :-) 20:14 <@preaction> this is due to the new 7.5.8 forcing all mysql connections to be in UTF-8, no matter how mysql is configured 20:14 <@rizen> preaction: i have problems with it all the time, but have no solutions 20:14 <@rizen> but you should talk to Haarg, cuz he's spending all day on this very topic 20:15 < perlmonkey2> preaction: have you tried pulling the data back down to perl, forcing and encode to latin-1, then encoding back to utf8? 20:15 < perlmonkey2> preaction: but that will likely be lossy as any latin-1 chars that don't fit nicely into utf8 will be munged. 20:15 <@preaction> for some reason, reading the data out during a Latin-1 connection and writing it back in a UTF-8 connection (no re-encoding) works 20:15 <@preaction> but I can only do that if I use key columns as references, which I can't rely on 20:15 <@preaction> i suppose i could make a temporary auto-increment column 20:16 <@preaction> perlmonkey2, tried that. i don't know why it didn't work, that was my first guess 20:18 <@preaction> basically 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 have 20:18 < perlmonkey2> Mighten 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 #webgui 20:18 -!- mode/#webgui [+v MrHairgrease] by ChanServ 20:19 < perlmonkey2> preaction: ask aroudn on #perl.....lots of encoding gurus there. 20:19 <@preaction> perlmonkey2, i thought of that, but why then does the data read out right when I use a latin-1 connection? 20:19 <@preaction> and, why does it convert when I write the same character data back using a utf-8 connection? 20:20 < perlmonkey2> sounds like something under the hood is doing a lot of leg work for you. 20:20 < perlmonkey2> DBI? 20:20 < perlmonkey2> maybe mysql? 20:20 < perlmonkey2> I never understood how that worked as it seems like it would require some sort of heuristic to determine encodings. 20:20 < perlmonkey2> Encoding::Magic 20:22 < perlmonkey2> hm.....Mysql{'latin1 data in utf8 encoding'}->perl{'latin1 in internalPerl econding'}->Mysql{'utf8'} is the problem, right? 20:22 <@preaction> exactly. 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 worse 20:23 < perlmonkey2> preaction: hah, welcome to my world of data mining the web...... 20:23 <@preaction> that's all i can think it would be, but let's go broader 20:24 <@preaction> the CREATE TABLE statement for my table sets the table's charset to utf8, and does not override it in the column definition 20:24 < perlmonkey2> i 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:25 <@preaction> there is bad chars, hence this whole rigamarole 20:25 < perlmonkey2> quotations and apostrophes? 20:25 <@preaction> the character_set_client is latin1, the character_set_results is latin1, so the data being sent to clients is in latin1 20:25 <@preaction> along with international characters 20:26 <@preaction> what if the problem wasn't mysql, but it was perl? 20:26 <@preaction> i mean, from all i've read, perl handles unicode and utf-8 silently and does the right thing 20:26 <@preaction> what if it didn't? 20:26 < perlmonkey2> could be....save soem data as text directly from mysql, then open in file readers using different encodigs. 20:27 < perlmonkey2> I've read nearly all of the perl utf8 docs, and I still dont' undestand how it works. 20:29 -!- perlmonkey2 [n=perlmonk@casr-dev.fwsm2ppuser.ou.edu] has quit ["survey survey survey"] 20:51 -!- SquOnk [n=emhn@201.211.84.218] has quit ["Yippie kay-ai-yay fudder muckers!"] 20:55 <+perlDreamer> I have a script that makes two Asset Products, and then makes a revision of one of them. 20:55 <+perlDreamer> When I look in the Products table, I see three entries 20:55 <+perlDreamer> When I try to join Product with wobject to see more data, I see 5 entries. 20:55 <+perlDreamer> Each of the entries for the asset with revisions is doubled 20:56 <+perlDreamer> this is the query that I used: 20:56 <+perlDreamer> select * from Product INNER JOIN wobject on Product.assetId=wobject.assetId; 20:57 <+MrHairgrease> don't forget the revisionDate 20:57 <+perlDreamer> why would it multiply the rows? 20:58 <+MrHairgrease> you get a copy of identical rows? 20:58 <+MrHairgrease> let me try that 20:58 <+perlDreamer> I checked in the script into t/Shop/loadProduct.pl 20:58 <+MrHairgrease> heh Empty set 20:58 <+MrHairgrease> let me try it on antoher table 20:59 <+perlDreamer> Run the loadProduct script to get some products to play with 20:59 <+perlDreamer> that way it's apples to apples 20:59 <+MrHairgrease> ok 20:59 <+MrHairgrease> hang on 20:59 <+perlDreamer> this is what I get: http://webgui.pastebin.com/m4db309c8 20:59 <+MrHairgrease> updating... 21:00 -!- perlmonkey2 [n=kmurphy@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui 21:00 <+perlDreamer> perlmonkey2: Did you meet the Monday deadline, or are the natives restless? 21:00 <+MrHairgrease> yeah pd 21:00 < perlmonkey2> the natives are restless and started a fire under the man sized pot. 21:00 <+MrHairgrease> it's doing all permutations 21:00 <+MrHairgrease> add the revisionDate 21:01 <+perlDreamer> that means I can use mysql as a general purpose calculator :) 21:01 <+perlDreamer> select 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 <+perlDreamer> better 21:03 <+MrHairgrease> that works right 21:03 <+MrHairgrease> ? 21:03 <+perlDreamer> yes 21:04 <+MrHairgrease> you 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 it 21:05 <+MrHairgrease> and since assets are not uniquely defined by assetId, you get N results for each assetId 21:05 <+perlDreamer> is there a better join to use, or is this just part of my sql education? 21:05 <+MrHairgrease> where N is the number of revisions of that asset 21:05 <+MrHairgrease> N^2 21:05 < perlmonkey2> holy crap.....assetId doesn't uniquely define an asset? 21:05 <+perlDreamer> no 21:05 <+MrHairgrease> inner is equivalent to , 21:05 <+perlDreamer> you need the revisionDate, too 21:06 <+MrHairgrease> well assetId is unique for an asset 21:06 < perlmonkey2> hmm....I'm not sure if that is a big deal with concern to my collaterals 21:06 <+MrHairgrease> but not the version of it 21:06 <+MrHairgrease> no it isn;t 21:06 <+MrHairgrease> versioning is for the asset properties 21:06 <+MrHairgrease> the crap you put in definition 21:06 < perlmonkey2> whew.....almost had give up my license to use a keyboard. 21:06 <+MrHairgrease> colateral usually doesn't need that 21:07 <+perlDreamer> collateral isn't versioned 21:07 <+perlDreamer> lineage isn't versioned 21:07 <+perlDreamer> parentId isnt' versioned 21:07 <+MrHairgrease> basically it's like this 21:07 <+MrHairgrease> all the properties that are equal for each revision 21:07 <+MrHairgrease> think lineage, className etc 21:07 <+MrHairgrease> are in the asset table 21:08 <+MrHairgrease> that one does not have a revisionDate since it has unversionable content 21:08 <+MrHairgrease> then,, for each class 'layer' you have a seprate table which is versioned 21:08 <+MrHairgrease> thos tables contain the definition fields of the 'layers' 21:09 <+MrHairgrease> what do i mean with 'layers'? 21:09 < perlmonkey2> ? 21:09 <+MrHairgrease> well 21:09 <+MrHairgrease> WebGUI::Asset => assetData table 21:09 <+MrHairgrease> WebGUI::Asset::Wobject => wobject table 21:09 < perlmonkey2> oh, I see 21:09 < perlmonkey2> that makes sense 21:10 <+MrHairgrease> WebGUI::Asset::Wobject::Article => article table 21:10 <+MrHairgrease> yeah 21:10 <+perlDreamer> WebGUI::Asset => assetData table (and asset table, too) 21:10 <+MrHairgrease> no 21:10 <+perlDreamer> that module handles both tables 21:10 <+MrHairgrease> that is for the unversionable data 21:10 <+MrHairgrease> sure it does 21:10 -!- cap10morgan [n=cap10mor@h19-afsc.ded.indra.com] has joined #webgui 21:10 <+MrHairgrease> but it's not storing the properties 21:11 <+MrHairgrease> it stores state information and hierarchy location 21:12 <+perlDreamer> Yes, I see your point now. 21:14 * perlDreamer heads to the gym 21:40 < topsub> created an accordian menu with jquery.. fun.. lol 21:41 < topsub> with an navigation object of course 21:43 < perlmonkey2> topsub: publicly available? 21:47 < perlmonkey2> Shoudl this: http://pastebin.com/d9a7c823 have really been so hard to write? 21:51 < perlmonkey2> The 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. 22:01 -!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has quit [Read error: 110 (Connection timed out)] 22:06 < perlmonkey2> hmm, so table alias are not used in the keys of hash refs returned by SQL? 22:06 < perlmonkey2> so select s.*,q.* won't work if s and q share a column name. 22:06 < perlmonkey2> That is no gouda. 22:10 * perlmonkey2 prepares his fingers for a whole lot of select columnName as 'uniqueCname' 22:11 -!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: SDuensin 22:14 -!- Netsplit over, joins: SDuensin 22:15 < topsub> perlmonkey2, i can add it to webgui addons 22:16 < perlmonkey2> topsub: oh, I just wanted to look at the code.....see if I liked it better than the YUI menus. 22:16 < perlmonkey2> also curious as to what a navigation object is. 22:18 < perlmonkey2> How 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:25 -!- crythias [n=gyoung@fl-69-68-148-96.sta.embarqhsd.net] has joined #webgui 22:25 -!- mode/#webgui [+v crythias] by ChanServ 22:34 -!- snapple42 [n=snapple4@h216-18-80-132.gtconnect.net] has joined #webgui 22:39 <+MrHairgrease> perlmonkey2: it's not SQL.pm that does that 22:39 <+MrHairgrease> but rather m,ysql itself 22:41 < perlmonkey2> Yeah, I didn't really figure it was SQL.pm, but in DBI or the specific driver. 22:41 <+MrHairgrease> no 22:41 <+MrHairgrease> it is also not in dbi 22:41 <+MrHairgrease> mysql does it 22:42 <+MrHairgrease> try the same query in the mysql client 22:42 <+MrHairgrease> putting the rows in a hash causes the overwrite 22:43 < perlmonkey2> just tested it and you are absolutely correc.t 22:43 <+MrHairgrease> i'm not sure if you can tell mysql to return column names prepended with table name 22:43 < perlmonkey2> oh well, easy enough to get around the duplicated column names. 22:43 <+MrHairgrease> yeah 22:44 <+MrHairgrease> that's what i do too when i have to 22:44 < perlmonkey2> and either way beats dealing with each row as an array. 22:44 <+MrHairgrease> indeed 22:50 -!- metanil [n=akhadka@137.48.138.72] has joined #webgui 22:53 < metanil> if 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:54 < topsub> perlmonkey2 i used the webgui nav object for front end nad used jquery to show / hide layers 22:54 < topsub> i am taking off home so if i see you online i will post my code for you to see 22:54 < topsub> i have enjoy jquery very lightweight 22:54 < topsub> YUI to me just has more built in functions that you have to do with jquery 22:54 -!- topsub [n=josh@97.66.185.250] has quit [Remote closed the connection] 22:58 <+perlDreamer> perlmonkey2: 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. 23:02 <+perlDreamer> Anybody know who the guy adding themes to wG is? ning? 23:02 <+MrHairgrease> ning is a girl 23:02 <+perlDreamer> Anybody know who the girl adding themes to wG is? ning? 23:02 <+MrHairgrease> and i'm not sure if she's adding stuff 23:02 <+perlDreamer> she's contributed 3 themes so far 23:03 <+MrHairgrease> yeah that's Ning 23:03 <+MrHairgrease> she works for Albert's company 23:04 <+MrHairgrease> but has a desk at Oqapi's at the momnet 23:04 <+perlDreamer> who is Albert? 23:04 <+MrHairgrease> since Oqapi and Pluton (Albert's company share office space 23:04 <+MrHairgrease> Albert is one of the three founders of Procolix 23:04 <+MrHairgrease> He was at the first two wucs 23:05 <+perlDreamer> So the original Procolix has split into 3 pieces? Procolix, Oqapi and Pluton? 23:05 <@rizen> Pluton is a testing company 23:05 <+MrHairgrease> yes 23:05 <+perlDreamer> Sounds like my kind of place :) 23:05 <@rizen> Albert is having Ning do stuff with WebGUI so she can write test cases 23:06 <@rizen> it's a training thing for her 23:07 < perlmonkey2> bah, didn't catch my new lappy in time....it booted to windows :( 23:07 < perlmonkey2> it has been defiled...I should just toss it. 23:08 <+perlDreamer> Just scrub that partition off the disk 23:08 < perlmonkey2> F8 anaconda is booting now....that's what I'm about to do :) 23:14 < metanil> how do we show data from either file or database in webgui??? 23:14 <+perlDreamer> from file, import it as a File. 23:14 <+perlDreamer> for Database, use the SQL Report or the SQL Form 23:14 < metanil> at runtime? 23:14 <+perlDreamer> or the Thingy 23:14 <+perlDreamer> at runtime? what do you mean? 23:14 < metanil> mean loading file from some path 23:15 < metanil> in machine 23:15 <+perlDreamer> how does the file get there in the first place? 23:15 < metanil> :D 23:15 <+perlDreamer> well, let me give you a few options 23:15 < metanil> i know my question is little dumb. 23:15 <+perlDreamer> There's not enough info in the question to really help you. It's not dumb. 23:16 < metanil> yes agree :) 23:16 <+perlDreamer> If the file is made by a program, have it update a Snippet inside of WebGUI instead. 23:16 < metanil> ok here's the situation 23:18 <+perlDreamer> go ahead, metanil, I'll wait for the whole scoop :) 23:18 < metanil> i 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 part 23:18 < metanil> if do directly return.. it would only show that html.. 23:19 < metanil> i 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 #webgui 23:19 <+perlDreamer> No, not for this 23:19 < metanil> brb :( 23:19 <+perlDreamer> no problem 23:21 < metanil> is it a good way to do that 23:21 < metanil> ? 23:21 <+perlDreamer> no, you probably don't want to use an operation to do that 23:21 < metanil> i think opration is the best to run some method directly .. 23:22 <+perlDreamer> Here are some options to consider 23:22 <+perlDreamer> 1) Use the ^Include() macro to include your HTML into some Asset. 23:22 <+perlDreamer> 2) 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:23 <+perlDreamer> 3) Change your script to add new versions to a Snippet inside of WebGUI. 23:23 < metanil> 2) --> thats why i ask question about db.. thinking about putting them into db.. 23:23 < metanil> ok.. sounds great.. 23:23 <+perlDreamer> But where does the original file come from? 23:23 < metanil> i put it locally for now. 23:24 < metanil> but later .. it should be uploaded.. 23:24 <+perlDreamer> What if it was just an Article asset that a user edits? 23:24 < metanil> still haven't think about how to get uploaded file within webgui 23:24 < metanil> umm.. i use Folder Asset to upload file. 23:25 < metanil> i modified the code a little bit .. and made browsing directly from the page without going to admin mode. 23:26 < metanil> i mean file browsing for uploading. .and save directly. 23:26 < metanil> anyway,, it will go into wegui db. 23:27 < metanil> i think its the second part.. first .. i need get done with the first one.. showing some HTML assuming i have input file already.. 23:28 < metanil> perlDreamer: 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 <+perlDreamer> sure, that's what it is for 23:29 <+perlDreamer> there is a WYSIWIG editor 23:29 <+perlDreamer> and a group system to control access 23:29 <+perlDreamer> WebGUI is designed to help save you time 23:29 < metanil> yes i should do a little bit processing before that.. 23:29 <+perlDreamer> that's why I asked where the file comes from in the first place 23:30 <+perlDreamer> is it a computer generated report, or some file from a user? 23:30 < metanil> yes.. agree.. the uploading put that data that should be internally processed 23:30 < metanil> uploading = uploading user 23:30 < metanil> file from a user.. 23:30 <+perlDreamer> where do they get the file from? 23:31 < metanil> they'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:32 <+perlDreamer> I see. It sounds like a db is the way to go then. 23:32 <+perlDreamer> Put the CSV right into the db with some script, and the do a simple query to get it via the SQL Report. 23:33 < metanil> how do i put that CSV "so called" into the db.. 23:34 < metanil> i 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 <+perlDreamer> 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. 23:35 < metanil> hmm.. sound good.. 23:35 < metanil> brb :( (damn!!!) 23:35 -!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has left #webgui [] 23:35 <+perlDreamer> in the sbin directory there should be a skeleton file that you can use to start your script 23:36 <+perlDreamer> _utility.skeleton 23:40 < SynQ> hi there 23:40 <+perlDreamer> hello 23:40 < SynQ> can I check out a wre version from svn? 23:40 < SynQ> and if yes, how? 23:40 <+perlDreamer> in source format? 23:40 < SynQ> indeed 23:40 < SynQ> oh, and, good news! 23:40 < SynQ> Tessa is coming to the WUC! 23:41 <+perlDreamer> svn co https://svn.webgui.org/plainblack/wrebuild 23:41 <+perlDreamer> All right! Is she part of the invasion force? 23:41 < SynQ> yes 23:41 < SynQ> but not listed yet 23:41 < SynQ> and, we are going to have our holiday attached to the WUC too 23:42 < SynQ> how far is the cuskie's home from Madison? 23:42 <+perlDreamer> far 23:42 < SynQ> how far? 23:42 <+perlDreamer> 2013 miles 23:42 < bopbop> you'd want to invade the Smith, Dillon, or McCombs house from Madison...Kuskie is across country 23:43 <+perlDreamer> http://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=5 23:43 < bopbop> you could also invade the preaction house 23:43 <+perlDreamer> We should have rented out the Ruby Marie 23:43 <+perlDreamer> Stupid Madison food fest 23:43 <+perlDreamer> that's land miles, not air miles 23:43 < bopbop> is Taste of Madison that weekend? 23:43 <+perlDreamer> yes 23:44 <+perlDreamer> In air miles it's farther since you have to fly to Atlanta to get to Madison 23:44 < SynQ> ah 23:45 < SynQ> McCombs sounds nice 23:45 < SynQ> Smith is allready on the list 23:45 < SynQ> Dillon sounds good 23:45 < bopbop> come on over... Dillon is good too, we're in the same town 23:45 < bopbop> and we have more booze than Smith 23:45 < SynQ> man 23:46 < SynQ> perlDreamer: that is far 23:48 < SynQ> perlDreamer: now I have a checkedout wre source version revision 6030 23:48 < SynQ> how do I know what revision wre 0.8.3 was? 23:50 -!- SDuensin [n=Scott@84.sub-75-206-54.myvzw.com] has quit ["Leaving"] 23:50 <+perlDreamer> by browsing through the svn version history 23:50 <+perlDreamer> https://svn.webgui.org/svnweb/plainblack/log/wrebuild/ 23:50 <+perlDreamer> You should become friends with https://svn.webgui.org 23:50 <+perlDreamer> very, very helpful 23:51 <+perlDreamer> I started a wiki page with WebGUI commits versus version info, but it's lapsed 23:53 < SynQ> but https://svn.webgui.org/svnweb/plainblack/browse/wrebuild/ says it is at revision 5976 23:53 < SynQ> and I checked out version 6030 23:54 -!- jfluhmann [n=jfluhman@x172y028.angelo.edu] has quit [Remote closed the connection] 23:54 < SynQ> Last Changed Rev: 5976 23:54 < SynQ> Revision: 6030 23:54 < SynQ> hm 23:57 < SynQ> well, I guess that is not what I am after 23:58 <+perlDreamer> the whole repository is shared. You did check out 6030, but it's the same as 5976 23:58 < SynQ> ah ok 23:58 < SynQ> I'm going to suggest some enhancements to the utility scripts in /data/wre/sbin 23:58 -!- snapple42 [n=snapple4@h216-18-80-132.gtconnect.net] has quit ["Leaving"] 23:59 <+perlDreamer> excellent 23:59 <+perlDreamer> snapple42 was an internet consultant from Canada 23:59 < SynQ> and I figured the best way to suggest them is diff them against the current svn version 23:59 < SynQ> ah 23:59 <+perlDreamer> those are excellent suggestions --- Day changed Thu Apr 03 2008 00:00 < SynQ> ok 00:00 < SynQ> now I've got to focus on that for a while 00:00 < SynQ> be back later 00:15 -!- bopbop [n=kmccombs@71-82-214-154.dhcp.mdsn.wi.charter.com] has quit [] 00:16 -!- perlmonkey2 [n=kmurphy@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."] 00:22 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui 00:33 < SynQ> I wonder, would JT have a script to download all the prereqs for the WRE and then especially for the perl modules 00:33 <@rizen> no 00:33 < SynQ> ah 00:33 <@rizen> download the source version of the wre from sourceforge 00:34 < SynQ> ah 00:34 < SynQ> I'm going to try and build a WRE with all the latest stable versions of the prereqs 00:34 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."] 00:34 <@rizen> copy the the "source" folder out of it and into your svn copy 00:34 < CIA-21> WebGUI: jt * r6031 /translations/Spanish/Spanish/ (Asset.pm WebGUI.pm WebGUIProfile.pm): update_from_translation_server 00:34 < SynQ> I've found out what versions they are for all but the enormous list of perl modules 00:35 <@rizen> having such a script probably wouldn't be a bad idea 00:35 <@rizen> just haven't gotten around to it 00:35 < SynQ> ok 00:35 < SynQ> I'll send you mine :) 00:35 < SynQ> hang on 00:35 < metanil> perlDreamer: 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:36 < SynQ> it's in your mailbox 00:37 < metanil> perlDreamer: do i have to use file/folder to get the file into webgui? 00:40 <+perlDreamer> metanil, no 00:41 < metanil> O:-) 00:41 <+perlDreamer> in your script, just use file I/O 00:41 -!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: vayde, +Radix-wrk 00:42 < metanil> oh oh ... i'm sorry.. i should make it clear.. ... "user should be able to upload their own "csv" file" 00:42 <+perlDreamer> and then you want to take _that_ file, and convert pieces of it to HTML 00:43 < metanil> yes.. have to use other perl library for it 00:43 -!- Netsplit over, joins: vayde, +Radix-wrk 00:44 <+perlDreamer> metanil, this is slowly growing to a non-trivial script 00:44 <+perlDreamer> when they upload a file, what happens to the old ones? 00:44 < metanil> :) 00:44 < metanil> replaced.. (webgui have a version management if they want previous one) 00:44 < metanil> :D 00:44 <+perlDreamer> so it's always the same file URL? 00:44 < metanil> yes 00:45 < SynQ> jt: how did you download all those perl modules last time, one by one and manually? 00:45 <+perlDreamer> hm 00:45 <+perlDreamer> how soon does the file have to be converted into HTML? 00:45 <@rizen> yes i did 00:45 < SynQ> man 00:45 < SynQ> I do not evy you 00:45 <+perlDreamer> SynQ: He'd like one of those scripts, too ;) 00:46 < SynQ> I'm getting that script done too 00:46 < SynQ> perhaps I should start wearing my monk suit now 00:46 < metanil> perlDreamer: its as soon as it get the file.. but totally depends on the file size they uploaded. 00:46 <+perlDreamer> this could be a big CSV file? 00:47 < metanil> not that big... (but i cannot say it right now).. the sample that i have is quite small.. 00:47 <+perlDreamer> well, the "as soon as it gets the file" makes it easy. 00:47 < metanil> and my script can process it instantly 00:47 <+perlDreamer> There's no built in way to do it automatically with WebGUI 00:47 < metanil> oops 00:48 <+perlDreamer> you need a new Asset, or, an extension to the File Asset that calls a Workflow 00:49 < SynQ> I'm going to include the dutch aspell module too :) 00:49 < metanil> easy to hear.. hard implement.. is it? 00:49 < SynQ> that should be part of webgui 00:49 <+perlDreamer> SynQ: I agree, but it isn't right now 00:49 < SynQ> I know 00:49 < SynQ> just wait 00:51 < metanil> you mean using workflow to run the script? 00:51 <+perlDreamer> yeah, or putting the script contents into a Workflow 00:52 < metanil> why do we need an extension to File Asset? 00:52 <+perlDreamer> How does your script know when to run? 00:52 < metanil> oh to trigger the workflow.. 00:52 <+perlDreamer> right :) 00:53 < metanil> ok.. that mean.. i should be looking at wiki to read about workflow. 00:53 <+perlDreamer> yes 00:53 < metanil> thanks.. (woot) 00:57 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui 01:00 < metanil> perlDreamer: 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:03 -!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI 01:04 -!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: vayde, +Radix-wrk 01:09 < elnino> howdy.. 01:10 < elnino> had 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 query 01:10 < elnino> I removed the union statemnt and it works. 01:11 < elnino> So I'm a little confused as to whether sqlreport doesn't support unions, or if something else is going on here... 01:11 < elnino> no errors in the logs 01:19 <+perlDreamer> metanil, the new workflow would have to be passed a copy of the File asset. 01:21 < metanil> thnx 01:24 -!- Netsplit over, joins: vayde, +Radix-wrk 01:43 <+perlDreamer> elnino, turn on debug in the SQL Report and see if that has any hints. 01:45 < elnino> I 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 longreadlen 01:45 < elnino> I'm running the query in sqlstudio with no errors. 01:46 <+perlDreamer> maybe longreadlen has to be longer? 01:47 < elnino> I did a diff between 7.4.26 and the 7.3.21 and used those values. 01:47 < elnino> diff on the SQL.pm - there weren't many changes between the two files, so I'm baffled. 01:48 <+perlDreamer> try diff on DatabaseLink, instead 01:48 <+perlDreamer> and check the gotchas file 01:49 <+perlDreamer> LongReadLen: 512*1024 01:49 <+perlDreamer> LongTruncOK: 1 01:49 <+perlDreamer> is that an Oracle DB, or ODBC connector? 01:50 < elnino> yep, 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 524288 01:51 < elnino> dbi:MaxDB:servername: 01:52 < elnino> port:dbname 01:53 <+perlDreamer> elnino: You need to be talking to dbDreamer instead of perlDreamer :) 01:54 < elnino> =) yeah, I only know enough to be dangerous. I wonder if those variables are case sensitive. I'll check. 01:56 <+perlDreamer> perlbot 512*1024 01:57 <@preaction> perlbot math 512*1024 01:57 < perlbot> 524288 01:57 <@preaction> elnino, you're logging INFO level at least? 01:57 < elnino> yep. 01:58 <@preaction> how about debug level? find the query in the debug output and see if anything happens after that 01:58 <@preaction> last resort is you're going to have to start messing around in the SQLReport, because unfortunately I dont think reproducing your problem will be easy 01:59 < CIA-21> WebGUI: jt * r6032 /branch/WebGUI_Commerce/ (10 files in 7 dirs): 01:59 < CIA-21> WebGUI: added item and sku caching to cart 01:59 < CIA-21> WebGUI: ribbon discounts now work 01:59 < CIA-21> WebGUI: checklist form control works more like you'd expect 01:59 < CIA-21> WebGUI: added badge groups 01:59 <+perlDreamer> He could tunnel us a connection to his db server :) 01:59 < elnino> I dont' think so. --- Log closed Thu Apr 03 02:09:58 2008 --- Log opened Thu Apr 03 02:15:17 2008 02:15 -!- xdanger [i=xdanger@i.should.be.in.a.mentalhouse.net] has joined #webgui 02: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 secs 02:26 < elnino> hmm. 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:29 -!- cap10morgan [n=cap10mor@h19-afsc.ded.indra.com] has quit [Read error: 110 (Connection timed out)] 02:31 <+perlDreamer> elnino, if you really only want 1 thing returned, just use LIMIT 1 to the end of your SQL query 02:31 -!- perlDreamer [n=ckuskie@nat039.mxim.com] has quit ["Download Gaim: http://gaim.sourceforge.net/"] 02:36 < elnino> I tried, I looked at the doc for maxdb 02:37 < elnino> it 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:39 < elnino> i'll just do it by two untill next time I can revisit this 03:01 -!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit [] 03:16 -!- cap10morgan_ [n=cap10mor@h19-afsc.ded.indra.com] has quit [] 04:20 -!- cap10morgan [n=cap10mor@206-124-31-140.denver.dsl.forethought.net] has joined #webgui 04:29 -!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has quit [Read error: 104 (Connection reset by peer)] 04:30 -!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI 04:31 -!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has quit [Client Quit] 04:41 -!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI 05:26 -!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has joined #webgui 05:26 < topsub> hi 05:54 < perlmonkey2> pong 06:49 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."] 07:07 < CIA-21> WebGUI: colin * r6033 /branch/WebGUI_Commerce/ (3 files in 3 dirs): more work on translating Asset Products to Sku Products 07:07 < CIA-21> WebGUI: colin * r6034 /branch/WebGUI_Commerce/lib/WebGUI/Shop/Cart.pm: fix typos in Shop/Cart.pm 07:09 -!- 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 #webgui 07:09 -!- mode/#webgui [+v Radix_] by ChanServ 07:12 -!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has quit [Read error: 104 (Connection reset by peer)] 07:17 -!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has joined #webgui 07:30 < CIA-21> WebGUI: colin * r6035 /branch/WebGUI_Commerce/ (t/Shop/loadProducts.pl docs/upgrades/upgrade_7.5.2-7.5.3.pl): 07:30 < CIA-21> WebGUI: Finish database and config translation from Wobject/Product 07:30 < CIA-21> WebGUI: to Sku/Product. Now for the code. 07:58 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)] 08:13 -!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has quit [Read error: 110 (Connection timed out)] 09:49 -!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui 10:23 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui 10:23 -!- mode/#webgui [+o preaction] by ChanServ 10:38 -!- wgGuest30 [n=wgGuest3@195.116.30.251] has joined #webgui 11:02 -!- BartJol [n=plainstu@host2.procolix.com] has joined #webgui 11:07 < wgGuest30> s 11:07 -!- wgGuest30 [n=wgGuest3@195.116.30.251] has quit [] 11:19 -!- ryuu_ro [n=rory@194.171.50.69] has joined #webgui 11:19 -!- Haarg [n=haarg@66-168-19-128.dhcp.mdsn.wi.charter.com] has quit [Read error: 110 (Connection timed out)] 11:41 -!- Radix-wrk [n=Jesse@203.161.68.67] has quit ["Leaving"] 12:06 -!- Haarg [n=haarg@66-168-19-128.dhcp.mdsn.wi.charter.com] has joined #webgui 12:06 -!- mode/#webgui [+o Haarg] by ChanServ 12:13 -!- CIA-21 [n=CIA@208.69.182.149] has quit [] 12:14 -!- jdanpl [n=jdanpl@195.116.30.251] has joined #webgui 12:21 -!- CIA-21 [n=CIA@208.69.182.149] has joined #WebGUI 12:24 < jdanpl> Anyone know how to build home forums page like http://www.webgui.org/forums ? 12:27 -!- BartJol [n=plainstu@host2.procolix.com] has quit [Read error: 113 (No route to host)] 13:26 -!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit [Remote closed the connection] 14:15 -!- 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"] 16:14 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui 16:17 -!- bopbop [n=kmccombs@71-82-214-154.dhcp.mdsn.wi.charter.com] has joined #webgui 16:42 -!- cap10morgan [n=cap10mor@206-124-31-140.denver.dsl.forethought.net] has quit [] 17:06 -!- jdanpl [n=jdanpl@195.116.30.251] has quit ["Leaving"] 17:13 -!- topsub [n=josh@97.66.185.250] has joined #webgui 17:16 -!- SDuensin [n=Scott@13.sub-75-207-182.myvzw.com] has joined #WebGUI 17:19 < SDuensin> Morning. 17:19 < topsub> hello 17:24 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."] 17:30 -!- ryuu_ro [n=rory@194.171.50.69] has quit [] 17:38 -!- Haarg [n=haarg@66-168-19-128.dhcp.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"] 17:51 -!- cap10morgan [n=cap10mor@h19-afsc.ded.indra.com] has joined #webgui 17:54 -!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui 17:54 -!- mode/#webgui [+o rizen] by ChanServ 17:54 -!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui 17:56 -!- cap10morgan_ [n=cap10mor@h19-afsc.ded.indra.com] has joined #webgui 17:56 -!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui 17:56 -!- mode/#webgui [+o Haarg] by ChanServ 17:57 < CIA-21> WebGUI: jt * r6036 /branch/WebGUI_Commerce/lib/WebGUI/Asset/Sku/EMSTicket.pm: ribbon discounts now work with ribbons purchased previously 17:58 <@rizen> we cannot afford to have to cap10morgan's in this channel 17:58 <@rizen> it's too risky 18:00 -!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has quit ["Leaving."] 18:11 -!- cap10morgan [n=cap10mor@h19-afsc.ded.indra.com] has quit [Read error: 110 (Connection timed out)] 18:36 < CIA-21> WebGUI: 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 session 18:36 < CIA-21> WebGUI: graham * r6038 /WebGUI/docs/ (4 files in 3 dirs): fixing database character sets 18:36 < CIA-21> WebGUI: graham * r6039 /WebGUI/lib/WebGUI/Workflow/Activity/GetCsMail.pm: typo 18:36 < CIA-21> WebGUI: graham * r6040 /WebGUI/ (docs/changelog/7.x.x.txt lib/WebGUI/Storage.pm): fixed: packages try to restore owner 18:39 -!- perlDreamer [n=ckuskie@nat039.mxim.com] has joined #webgui 18:39 -!- mode/#webgui [+v perlDreamer] by ChanServ 18:40 -!- 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 #webgui 18:41 -!- wgGuest25 [n=wgGuest2@pool-68-160-17-155.bos.east.verizon.net] has joined #webgui 18:42 < wgGuest25> i need some major help 18:42 < wgGuest25> my site www.lynntimebank.org, was working on it, changed something on the left hand side 18:42 < wgGuest25> now all of a sudden when i try edit a page for example change the word she to he 18:42 < wgGuest25> the only option I have is HTML 18:43 <+perlDreamer> which version of WebGUI are you using? 18:43 <+perlDreamer> OSCON tutorial goodness: http://en.oreilly.com/oscon2008/public/schedule/detail/4219 18:44 < wgGuest25> Where can I find that 18:44 < wgGuest25> I just started this 18:44 < wgGuest25> I am an intern and this system was already in place when I got here 18:44 < wgGuest25> WebGUI Build Version: 5.5.4 18:45 <+perlDreamer> wow 18:45 <+perlDreamer> That is a really old version of WebGUI 18:46 < wgGuest25> we are a non profit organzation so they are never really intrested in upgrading anything 18:47 <+perlDreamer> well, WebGUI is free, so it doesn't cost you anything but time to upgrade 18:47 <+perlDreamer> In any case, I have no idea what would have caused your editing options to be only HTML 18:47 < wgGuest25> is there anyway to roll back in it? 18:47 <+perlDreamer> although it sounds like it works okay, just that you'd prefer not to use the WYSIWIG editor? 18:47 <+perlDreamer> Not in 5.5.4 18:47 < wgGuest25> they need it to be regular text 18:48 < wgGuest25> they edit the page alot so prefer it to be html 18:48 <+perlDreamer> You mean they want to edit the raw HTML, rather than a WYSIWIG? 18:49 < wgGuest25> Im 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 < wgGuest25> sorry how confusing this must sound 18:59 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui 18:59 -!- mode/#webgui [+o preaction] by ChanServ 19:12 <@apeiron> perlDreamer, OSCON would be nice if it wasn't for the $2k attendance price tag. =\ 19:13 <+perlDreamer> you can say that again 19:13 <+perlDreamer> it does make it nicer (less expensive) when it's in Portland 19:13 <@apeiron> For people *in* Portland. :) 19:14 <@apeiron> perlDreamer, Hey, by the way, I have a test question if you happen to have a moment? 19:14 <+perlDreamer> I'm on and off, but please feel free to ask 19:15 <@apeiron> Okie. 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:16 <@apeiron> Also using getPage. As far as I know this should Just Work. Am I Doing It Wrong? Missing something? 19:19 <@apeiron> http://webgui.pastebin.com/m3ac369d3 is a pastebin containing the error if that'd help. 19:32 -!- wgGuest25 [n=wgGuest2@pool-68-160-17-155.bos.east.verizon.net] has quit [] 19:33 < bopbop> Haarg: is there an index of utility scripts anywhere that I can point readers to? 19:33 <@rizen> tell them to look in their WebGUI/sbin folder 19:33 < bopbop> ok, thx 19:36 <+perlDreamer> How 'bout WRE/sbin? 19:37 <+perlDreamer> apeiron, by default you should now always be getting a PseudoRequest object when you use WebGUI::Test (in 7.5) 19:37 <+perlDreamer> Can you paste the test code itself? 19:38 <@apeiron> I'll have to chop it down to something small, but yeah. 19:48 < bopbop> can someone give me a brief definition of WebGUI::Asset 19:48 <@apeiron> perlDreamer, http://webgui.pastebin.com/m6458c405 19:53 <@apeiron> Hm. 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:55 -!- jua1 [n=juangui@201.232.58.66] has joined #webgui 19:55 < jua1> hello 19:56 < CIA-21> WebGUI: graham * r6041 /WebGUI/docs/gotcha.txt: improving gotcha notice 19:56 < CIA-21> WebGUI: graham * r6042 /WebGUI/lib/WebGUI/Asset/Wobject/Article.pm: fixing article storage copying 19:56 < CIA-21> WebGUI: graham * r6043 /WebGUI/ (8 files in 6 dirs): preparing for 7.5.9 release 19:56 -!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit [] 19:57 < jua1> i have a collaboration system and i want to add a new field to it 19:57 < jua1> i am using default submission form 19:58 < jua1> the thing that i want is when i will add a new thread i can have an additional field to fill 19:59 < jua1> is it possible? is clear my question? 20:10 <@preaction> jua1, yes. alter the template to include a field with the name "userDefined1" or 2 - 5. there are 5 userDefined fields you can use 20:11 -!- Sebastian13 [n=sebastia@p57A722E1.dip0.t-ipconnect.de] has joined #webgui 20:11 < jua1> ok 20:12 < jua1> thanks, i am going to test 20:21 < jua1> preaction, I want to include in the collaboration system a new input text box 20:22 <@preaction> when someone creates a new thread, right? 20:22 < jua1> yes 20:22 <@preaction> so you have to add that input box to the template 20:23 <@preaction> and give it the name "userDefined1" 20:24 < jua1> ok 20:24 < jua1> i am going to try 20:29 <@apeiron> Ah. Seems this is the magic line I need: $session->http->{_http}->{noHeader} = 1; 20:36 <@preaction> that's what WebGUI::Test->getPage does 20:38 <@apeiron> Yeah, exactly. 20:40 -!- Sebastian13 [n=sebastia@p57A722E1.dip0.t-ipconnect.de] has quit ["Leaving"] 20:58 -!- cap10morgan_ [n=cap10mor@h19-afsc.ded.indra.com] has quit [] 21:00 -!- dionak_ [n=diona@97.66.185.250] has joined #webgui 21:45 * perlDreamer is colored confused 21:45 <+perlDreamer> if that's what getPage does, then why does apeiron get the apache request error? 21:45 <@preaction> because he wasn't using getPage 21:45 <@apeiron> perlDreamer, I'm not using getPage in the test. 21:46 <+perlDreamer> apeiron, you should use getPage in the test! 21:46 <@apeiron> The test is calling a www_ method but writing the contents of that method's output to disk. 21:46 <@apeiron> perlDreamer, ^^ It doesn't make altogether too much sense to getPage within WebGUI. :) 21:47 <@preaction> so it's not the Test that's calling the www_ method, but the method you're testing 21:47 <@apeiron> Yes. 21:47 <@apeiron> The test is making sure the right contents get spit out to disk. 22:02 -!- CIA-21 [n=CIA@208.69.182.149] has quit [] 22:11 -!- CIA-21 [n=CIA@208.69.182.149] has joined #WebGUI 22:16 -!- dionak_ [n=diona@97.66.185.250] has quit [] 22:28 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui 22:31 < topsub> perlmonkey2, i put that accordian menu up on webgui.org under packages. if you would like to look at it 22:31 < perlmonkey2> cool thanks :) 22:32 < topsub> already got feedback for improvements Hopefully get to them today 22:41 -!- estiven [n=estiven@201.232.58.66] has joined #webgui 22:43 -!- SDuensin [n=Scott@13.sub-75-207-182.myvzw.com] has quit ["Leaving"] 22:53 <+perlDreamer> last night the smoke test picked up a syntax error in head. Did somebody already fix that? 23:24 < SynQ> trace - Module Reanmed to Devel::XRay 23:24 < SynQ> did you know that? 23:24 < SynQ> http://search.cpan.org/~jbisbee/trace-0.551/lib/trace.pm 23:24 < SynQ> J/JB/JBISBEE/Devel-XRay-0.941 23:24 < SynQ> zelfs 23:25 < SynQ> even 23:27 < SynQ> I wonder what 'to reanmed' is 23:27 < SynQ> I reanme 23:27 < SynQ> You reanme 23:27 < SynQ> We reanmed 23:31 < topsub> if 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 < topsub> then it will redirect to the value of proceed after? 23:33 < GooeyOfSteel> Wiki: Override Core Modules - Edited on 4/3/2008 3:21 pm by knowmad http://www.webgui.org/community-wiki/override-core-modules 23:37 -!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui 23:37 -!- mode/#webgui [+o rizen] by ChanServ 23:41 <+perlDreamer> topsub, afaik, proceed=screen will let you go to any www_screen in the asset. 23:41 < GooeyOfSteel> Wiki: WRE for Windows - Edited on 4/3/2008 3:29 pm by knowmad http://www.webgui.org/community-wiki/wre-for-windows 23:48 < topsub> perlDreamer, is there docs on that? 23:48 < metanil> perDreamer: one quick question....... can i do open (IN, $file); while () { .. }.... and $file is taken from storageID (that was uploaded into webgui)?? 23:52 <+perlDreamer> I would use the built-in storage methods for file I/O. getFileContentsAsScalar and so on 23:52 <+perlDreamer> perldoc WebGUI::Storage 23:52 <+perlDreamer> I don't know about docs for proceed. 23:52 <+perlDreamer> If not, I'll apply any POD patches you submit to both 7.4 and 7.5 23:53 < topsub> were can i find the www_screen i will look at the code 23:53 < topsub> in Asset.pm? 23:53 <+perlDreamer> "screen" would be any valid www_ method 23:53 < topsub> ooo 23:53 < topsub> hmm dunno if that will do what i thought it wold 23:54 <+perlDreamer> what do you want it to do/ 23:54 < topsub> i 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:55 <+perlDreamer> I thought it went back to the parent's view method after editing a file by default? 23:56 < perlmonkey2> I'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:57 < topsub> hmm i have to look. perlDreamer 23:57 <@preaction> looks like 23:57 <@preaction> extrasPath should be /data/WebGUI/www/extras 23:58 -!- bopbop [n=kmccombs@71-82-214-154.dhcp.mdsn.wi.charter.com] has quit [] 23:58 < perlmonkey2> which 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 <@preaction> are you using the ^Extras(); macro in your templates? 23:58 < perlmonkey2> no 23:59 <@preaction> ^/;extras/whatever should technically work though... but try it anyway 23:59 < perlmonkey2> it is even looking for the yui libs in the domain/public stuff --- Day changed Fri Apr 04 2008 00:00 < perlmonkey2> I 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 extras 00:00 < topsub> hmm not the result i am seeing 00:01 < perlmonkey2> vaary vaary peculiar 00:01 < GooeyOfSteel> Wiki: Customizing WRE Configuration - Edited on 4/3/2008 3:49 pm by knowmad http://www.webgui.org/community-wiki/customizing-wre-configuration 00:01 < topsub> i see it view the folder were the pdf file is 00:01 <@preaction> you have to use the ^Extras(); macro, because the "extrasURL" value may or may not be "/extras" 00:01 < topsub> hmm intresting 00:02 < perlmonkey2> how would extrasURL get changed from /data/WebGUI to /data/domain? 00:03 < perlmonkey2> I guess I could just copy all of extras to /data/domains/../extras 00:05 -!- crythias [n=gyoung@fl-69-68-148-96.sta.embarqhsd.net] has joined #webgui 00:05 -!- mode/#webgui [+v crythias] by ChanServ 00:05 -!- crythias [n=gyoung@fl-69-68-148-96.sta.embarqhsd.net] has left #webgui [] 00:08 <+perlDreamer> topsub: the folder is the parent of the PDF File. 00:09 <+perlDreamer> proceed will only redirect to any valid method in the current Asset, which in this case, is the File asset. 00:10 < topsub> ah 00:11 < topsub> hmm so iwould have to write a custom thing to have it redirect back to that certain url 00:17 -!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has quit ["Lost terminal"] 00:19 <+perlDreamer> topsub, 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 #webgui 00:19 -!- mode/#webgui [+o apeiron] by ChanServ 00:23 < CIA-21> WebGUI: graham * r6045 /WebGUI/ (4 files in 4 dirs): preparing for 7.5.10 dev 00:23 < topsub> how we have the folders organized they live inside folders.. 00:23 < topsub> unless i hacked it some to say if you look inside this folder redirect to this link 00:24 < topsub> but that might make it seem like a ghost in the system 00:24 <+perlDreamer> yeah 00:24 <+perlDreamer> after editing some PDF you want it to go to the top of the folder tree? 00:25 < topsub> basically the front end of the website were we have an admin portal 00:25 < topsub> like.. /admin/article-manager is the link 00:25 <+perlDreamer> So if you want to edit 2 PDF's you'd have to nav all the way back down? 00:26 < topsub> in the front end we have a list of the pdfs 00:26 < topsub> linking to edit each one 00:26 <+perlDreamer> hm 00:26 < topsub> so the client doesn't have to use the backend is our plan 00:26 <+perlDreamer> how about this 00:26 <+perlDreamer> make shortcuts to the PDFs as children of your article-manager page 00:26 <+perlDreamer> or vice-versa 00:27 <+perlDreamer> set the PDFs to be hidden as children of the page 00:27 <+perlDreamer> now, if you edit the PDF, you return to the parent, which is the article-manager 00:27 < topsub> might work but i have over 50 folders organized of pdfs 00:28 < topsub> so i would have to short cut each folder? 00:28 <+perlDreamer> each file in each folder 00:28 < topsub> whew 00:28 <+perlDreamer> yeah 00:28 < topsub> that would be alot of shortcuts 00:29 <+perlDreamer> it would work functionally, but practically... no 00:29 < topsub> lol ya 00:29 <+perlDreamer> might I suggest revisting the idea of not using the interface? 00:29 < topsub> might have to 00:29 < topsub> talk it up with william 00:30 < topsub> cuz we thought the procced would do it 00:30 < topsub> not realizing its just for like view, edit, manageAsset 00:30 <+perlDreamer> wait 00:30 <+perlDreamer> crud 00:30 <+perlDreamer> proceed=getDefaultAsset is close, but not quite right 00:30 <+perlDreamer> for 2 reasons 00:30 <+perlDreamer> 1) It's not a www_ method 00:31 <+perlDreamer> 2) it returns an asset, rather than viewing as asset 00:31 <+perlDreamer> if you added a www_viewDefaultAsset method, that would work 00:31 <+perlDreamer> and would be relatively clean to maintain 00:31 < topsub> so mod the core to add that ur saying? 00:31 <+perlDreamer> but you don't want to view the default asset, you want to view some other asset 00:32 <+perlDreamer> yeah, that's what I'm saying 00:32 <+perlDreamer> that's pretty much what you're down to 00:32 < topsub> ya. 00:32 < topsub> want to view the pagelayout vs the asset itself 00:32 <+perlDreamer> you could put a HTTP redirect in the File's view template 00:32 <+perlDreamer> but then it could never, ever be viewed 00:32 < topsub> from teh front end anyway 00:33 <+perlDreamer> right, only from the folder, or from the Asset Manager 00:33 <+perlDreamer> this is a file sharing setup, right/ 00:33 < topsub> cuz when the folder is like root>> home >> pdfs>> connections >> 2003 >> cn203.pdf 00:33 < topsub> connections being a category 00:33 < topsub> and year can range from 1987 to 2008 00:34 <+perlDreamer> nm, the template idea doesn't work either 00:34 <+perlDreamer> www_view is the download method for a file 00:34 < topsub> cuz when i edited a pdf it took me back to the 2003 folder 00:34 <+perlDreamer> right, back to it's parent 00:34 < topsub> yep 00:42 -!- vsd [n=rbw@83.212.57.47] has joined #webgui 00:42 -!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI 01:00 -!- vsd [n=rbw@83.212.57.47] has left #webgui ["Leaving"] 01:02 -!- alperyilmaz [n=alper@osbc-141.osbc.ohio-state.edu] has joined #webgui 01:03 < alperyilmaz> Hi.. Is it possible to run CGI scripts inside WebGUI? Am I allowed only using HTML when creating page content? 01:04 <@preaction> you can add modules to WebGUI, or you can use CGI scripts in a pass-through 01:04 <@preaction> but not inside of WebGUI itself 01:04 <@preaction> the HTTPProxy asset can also help with running CGI scripts 01:05 <+perlDreamer> you can also create non-HTML content, like XML or most anything else 01:06 < alperyilmaz> i have a perl-based site and i was considering migrating it to WebGUI 01:06 < alperyilmaz> but it looks like it will be difficult 01:06 <+perlDreamer> how much content is there? 01:07 <@preaction> depends on how the CGI scripts work. if you can migrate them into WebGUI Assets, it could be very easy 01:07 < alperyilmaz> not too much.. 10-15 pages with MySQL connections/queries 01:07 <+perlDreamer> well, we have a SQL Report asset that might handle those right out of the bag 01:07 <+perlDreamer> have you tried playing with a demo site yet? 01:08 <+perlDreamer> demo.plainblack.com will give you a 24 hour demo 01:08 < alperyilmaz> yes, i tried 01:08 < alperyilmaz> i saw SQL assets 01:08 <@preaction> perhaps you could re-build your application with Thingy 01:08 <+perlDreamer> those are the ones 01:08 <@rizen> so one of our clients just asked me if Thingy is like WaveMaker (http://www.wavemaker.com/) 01:09 <@preaction> or, if you're up to it, making WebGUI applications (Assets) is not difficult if you already know perl 01:09 <@rizen> I said "Um, no." 01:09 <@rizen> have you guys seen wavemaker? 01:09 <+perlDreamer> just now 01:09 <@rizen> it's unbelievably cool, but also scary hard to use 01:09 < alperyilmaz> okay.. I'll try to use the assets 01:10 < alperyilmaz> thanks.. 01:10 <+perlDreamer> you're welcome 01:10 <@rizen> there's no way that my mom will ever use wavemaker, but there is a chance she could use Thingy 01:10 <+perlDreamer> I don't know, you mom seems pretty savvy 01:28 -!- topsub [n=josh@97.66.185.250] has quit [Remote closed the connection] 01:42 -!- alperyilmaz [n=alper@osbc-141.osbc.ohio-state.edu] has left #webgui [] 01:48 -!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"] 02:06 -!- estiven [n=estiven@201.232.58.66] has quit ["Leaving."] 02:06 -!- jua1 [n=juangui@201.232.58.66] has left #webgui [] 02:48 < CIA-21> WebGUI: jt * r6046 /branch/WebGUI_Commerce/ (6 files in 5 dirs): the badge/ticket relationships through badge groups now work 02:49 -!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit [] 02:51 -!- perlDreamer [n=ckuskie@nat039.mxim.com] has quit ["Download Gaim: http://gaim.sourceforge.net/"] 02:58 -!- danny_mk [n=chatzill@68.15.55.161] has joined #webgui 02:59 < danny_mk> Hello everyone 03:01 < danny_mk> Have you ever seen these errors in the error_log? 03:01 < danny_mk> Hmmm... the pastebin link did not show up. 03:02 -!- acklenx [n=webgui_c@cpe-071-075-022-166.carolina.res.rr.com] has joined #webgui 03:03 < acklenx> is the a good place to get a quick comparison of webgui vs postnuke? 03:03 < danny_mk> http://webgui.pastebin.com/m1ea1aceb 03:03 <@preaction> acklenx, cmsmatrix.org 03:03 < danny_mk> probably cmsmatrix.org 03:03 < acklenx> (googling retunrns a lot places to get bad comparisons 03:03 <@preaction> danny_mk, those are warnings 03:04 < acklenx> will do thanks 03:04 <@preaction> as in Perl warnings, as in you have some code that turns on warnings globally 03:04 < danny_mk> I know, however the log keeps on growing like heck and the site seems a little slow 03:04 <@preaction> use warnings shouldn't be in any of the code shipped with WebGUI 03:05 < danny_mk> alright, maybe I missed something 03:05 <@preaction> grep -R "use warnings" /data/WebGUI/lib will tell you quickly 03:05 <@preaction> but also check preload.perl 03:05 < danny_mk> right 03:05 < danny_mk> will do 03:07 < danny_mk> hah! Asset_Calendar.pm,Storage.pm, and about 3 more modules have "use warnings" 03:10 <@preaction> if they're like that in SVN HEAD then i would file bugs 03:10 <@preaction> but use warnings is lexical 03:10 <@preaction> it shouldn't turn it on globally 03:11 < danny_mk> right, I found the culprit 03:11 < danny_mk> thank you for your help. 03:21 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [Read error: 113 (No route to host)] 03:35 -!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui 03:36 -!- mode/#webgui [+v Radix-wrk] by ChanServ 03:40 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit ["Leaving"] 03:49 -!- danny_mk [n=chatzill@68.15.55.161] has quit ["ChatZilla 0.9.81 [Firefox 2.0.0.12/0000000000]"] 04:05 < CIA-21> WebGUI: jt * r6047 /WebGUI/ (2 files in 2 dirs): fix: Syntax error in GetCsMail 04:07 -!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has quit ["bbiab"] 04:12 -!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui 04:12 -!- mode/#webgui [+o apeiron] by ChanServ 04:24 < metanil> hello 04:25 < metanil> my code "http://webgui.pastebin.com/d6e380d7c" is giving me null. 04:25 < metanil> i did ->>> $csv_data    = $storage->getFileContentsAsScalar($filename); 04:25 < metanil> any suggestions? 04:32 < metanil> ? 04:32 -!- acklenx [n=webgui_c@cpe-071-075-022-166.carolina.res.rr.com] has left #webgui [] 04:52 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui 04:56 -!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has joined #webgui 05:09 -!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has quit [Remote closed the connection] 05:41 -!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has joined #webgui 06:09 -!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has quit [Remote closed the connection] 06:47 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."] 06:54 -!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has joined #webgui 07:12 < topsub> i have updated my accordion menu if anyone could test it. Added the features someone reuqested 07:12 -!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit ["Exit- stage left"] 08:43 -!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has quit [Remote closed the connection] 09:11 -!- ryuu_ro [n=rory@194.171.50.69] has joined #webgui 10:56 -!- bartjol [n=bartjol@host2.procolix.com] has joined #webgui 10:58 -!- 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 #webgui 12:09 -!- Radix-wrk [n=Jesse@203.161.68.67] has quit ["Leaving"] 12:32 -!- Haarg [n=haarg@66-168-19-128.dhcp.mdsn.wi.charter.com] has joined #webgui 12:32 -!- mode/#webgui [+o Haarg] by ChanServ 12:52 -!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui 12:56 -!- Haarg [n=haarg@66-168-19-128.dhcp.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"] 14:23 -!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui 14:35 -!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has quit ["Leaving"] 15:35 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui 15:36 -!- 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 #webgui 15:57 -!- jdanpl [n=jdanpl@xdsl-461.lubin.dialog.net.pl] has joined #webgui 16:12 -!- MrHairgrease [n=martin@wlan-145-94-223-71.wlan.tudelft.nl] has joined #webgui 16:12 -!- mode/#webgui [+v MrHairgrease] by ChanServ 16:12 -!- topsub [n=josh@97.66.185.250] has joined #webgui 16:17 -!- SDuensin [n=Scott@89.sub-75-204-45.myvzw.com] has joined #WebGUI 16:25 < SDuensin> Morning. 16:27 -!- Haarg [n=haarg@66-168-19-128.dhcp.mdsn.wi.charter.com] has joined #webgui 16:28 -!- mode/#webgui [+o Haarg] by ChanServ 16:48 -!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit ["Exit- stage left"] 16:49 -!- Haarg [n=haarg@66-168-19-128.dhcp.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"] 17:01 < topsub> hi 17:02 < perlmonkey2> hi 17:08 -!- 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 #webgui 17:08 -!- mode/#webgui [+o Haarg] by ChanServ 17:13 < bartjol> hi 17:13 < Syn2> ha 17:15 < jdanpl> hi 17:16 < Syn2> honden... 17:16 -!- jfluhmann [n=jfluhman@x171y247.angelo.edu] has joined #webgui 17:50 -!- dapperedodo [n=dappered@194.171.50.69] has joined #webgui 18:00 -!- lisette [n=liraos@201.232.58.66] has joined #webgui 18:00 < lisette> hello 18:01 < lisette> I can tell a survey which is the score for each question? 18:03 < bartjol> lisette, there is a scale of correctness for your answers? 18:06 < lisette> mmm i don't know 18:06 < lisette> i do a new survey 18:06 < lisette> and i wants to do this 18:06 < bartjol> well, that depends on how you design your survey 18:08 < lisette> i want to do in mode quiz 18:09 < bartjol> so you can 1 answer as the correct one 18:09 < bartjol> you can assign 1 answer etc 18:12 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui 18:12 -!- mode/#webgui [+o preaction] by ChanServ 18:16 -!- estiven [n=estiven@201.232.58.66] has joined #webgui 18:22 -!- MrHairgrease [n=martin@wlan-145-94-223-71.wlan.tudelft.nl] has left #webgui [] 18:23 -!- ryuu_ro [n=rory@194.171.50.69] has quit [Read error: 110 (Connection timed out)] 18:25 -!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has left #webgui [] 18:33 -!- perlDreamer [n=ckuskie@nat039.mxim.com] has joined #webgui 18:33 -!- mode/#webgui [+v perlDreamer] by ChanServ 18:35 < lisette> yes, but i want control the score by answer 18:37 < bartjol> hee perlDreamer it was strange, I couldn't find those namespaces you mentioned 18:37 < bartjol> maybe arjan did before i could do it 18:37 <+perlDreamer> could be 18:37 <+perlDreamer> do the tags even exist? 18:38 < bartjol> haven't seen any new ones, but you didn't mention any specific tag names 18:41 < bartjol> lisette 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 specs 18:42 < bartjol> but I'm off, will check the translations soon enough 18:44 -!- bartjol [n=bartjol@host2.procolix.com] has left #webgui [] 18:44 < GooeyOfSteel> Wiki: Customizing WRE Configuration - Edited on 4/4/2008 10:32 am by topsub http://www.webgui.org/community-wiki/customizing-wre-configuration 18:51 < topsub> perlDreamer, thanks for your input yesterday 18:52 <+perlDreamer> you're welcome 18:52 <+perlDreamer> did you come up with a solution? 18:52 < topsub> believe let them use the backend.. lol 18:52 < topsub> would like to mod core webgui to allow us to pass in url and have it redirect to it after you save 18:53 < topsub> might work on that after this project. Have to get this project out the door 18:53 <+perlDreamer> RFEs with patches have a higher likelihood of being accepted :) 18:53 <+perlDreamer> RFEs with patches AND tests may even be committed by volunteer developers 18:54 < topsub> might do that then 19:02 -!- jdanpl [n=jdanpl@xdsl-461.lubin.dialog.net.pl] has quit ["Leaving"] 19:17 -!- dapperedodo [n=dappered@194.171.50.69] has quit ["Leaving"] 19:36 -!- knowmad [n=william@97.66.185.250] has joined #webgui 20:09 -!- CIA-21 [n=CIA@208.69.182.149] has quit [] 20:40 -!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui 20:47 -!- CIA-21 [n=CIA@208.69.182.149] has joined #WebGUI 20:58 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui 21:05 < perlmonkey2> Sweet jumping jelly beans, Battlestar Galactica season premier tonight!!! 21:07 < knowmad> i'm still catching up on the old seasons... 21:20 < ckotil> theres a video online to get you caught up real quick 21:28 -!- bopbop [n=kmccombs@71-82-214-154.dhcp.mdsn.wi.charter.com] has joined #webgui 21:32 < nuba> WHOA, indeed, BSG is back! 21:32 < nuba> awesome 21:33 < nuba> quick question: how do I force new users to agree with a Terms of Service text when creating a new account? 21:33 < perlmonkey2> nuba 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 < nuba> should I add the TOS and the checkbox as profile fields, set to show at the account creation form? 21:38 < topsub> quick 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 < topsub> i see revisionDate is that the only way? 21:40 -!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui 21:40 -!- mode/#webgui [+o rizen] by ChanServ 21:41 <@preaction> topsub, revisionDate is the only way 21:42 <@preaction> in SQL it's usually select MAX(revisionDate) from assetData where status="approved" 21:42 <@preaction> but to be really smart about it is beyond the capability of an SQLReport 21:43 <@rizen> preaction: when is asset report going to be completed? 21:44 <@preaction> i 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 weeks 21:44 <@preaction> asset mixins is also the reason why i put off subscriptions to Calendars and Events and WikiPages, since a mixin could easily take care of that 21:45 < metanil> my code "http://webgui.pastebin.com/d6e380d7c" is giving me null. 21:45 < metanil> i did ->>> $csv_data    = $storage->getFileContentsAsScalar($filename); 21:45 <@rizen> mixins, you think that's the solution to everything 21:46 <@preaction> it is! failing marriage? mixin'll fixin' 21:46 <@preaction> body odor problems? mixin'll fixin' 21:47 <@rizen> world peace...just add a mixin 21:47 < metanil> what should be the parameter for getFileContentsAsScalar()?? 21:48 <@preaction> the filename i thought 21:48 <@preaction> undef if the file doesn't exist probably 21:49 < metanil> what if i did, my $storageId = 'WneFgmzQYy8gnIcXabcS1A';     my $storage  = WebGUI::Storage->get($self->session, $storageId); 21:51 < metanil> does 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:52 <@preaction> yes, your code seems to work 21:52 <@preaction> but not sure your addFileFromFormPost is correct 21:52 < metanil> preaction: i didn't do addFileFromFormPost... 21:52 < metanil> its already stored in the database. 21:52 <@preaction> line 3 in your paste 21:53 < metanil> (may be through upload) 21:53 < metanil> yes.. thats where i was in confusion 21:53 < metanil> if i already have storageid.. why would i need filename??? 21:54 <@preaction> because storage contains more than one file? 21:54 < metanil> ooooh! 21:54 <@preaction> addFileFromFormPost is probably wrong though. it does exactly what it says 21:54 <@preaction> you can loop through getFiles() and try to find the one you want 21:54 <@preaction> or if you know only one is in there $storage->getFile->[0]; 21:56 < metanil> you mean getFiles (not getFile).. ? 22:02 < metanil> preaction: woot! 22:04 < metanil> preaction: in which situation does a storage has multiple files? 22:04 <@preaction> when you add multiple files to the storage 22:04 <@preaction> Events and WikiPage and Articles do 22:06 < metanil> got it. 22:06 < metanil> thx 22:07 -!- crythias [n=gyoung@fl-69-68-148-96.sta.embarqhsd.net] has joined #webgui 22:07 -!- mode/#webgui [+v crythias] by ChanServ 22:07 -!- crythias [n=gyoung@fl-69-68-148-96.sta.embarqhsd.net] has left #webgui [] 22:17 < topsub> thanks preaction! 22:17 <+perlDreamer> preaction++ 22:18 <+perlDreamer> bopbop: any other problems with the testing chapter? 22:18 <@preaction> can we get someone to pay us to re-do the Calendar again? or at least a week or two of bugfixing / updates? 22:18 <+perlDreamer> or is it fit for diaper fodder? :) 22:18 <+perlDreamer> 80 hours of work, that's spendy 22:19 <@preaction> a week then, probably all it would take. the extra week i never got 22:20 <@rizen> i'm going with diaper fodder, just to kill your ego going into the weekend 22:20 <@rizen> preaction: it's alumni's dime, and that's all you do every day 22:20 <@rizen> just build it into your schedule 22:22 < bopbop> perlDreamer: nope I finished revising it and it looks good 22:22 < bopbop> I understood most of what I was reading, so you must have explained clearly:) 22:22 <@apeiron> yay! 22:22 <@apeiron> I nominate bopbop as our new Official Test Monkey. 22:22 < bopbop> oh geez 22:23 <@rizen> man, that's pretty high praise 22:23 <@rizen> i bet i don't get such high praise for my chapters 22:23 < bopbop> you aren't the worst, rizen, we'll just leave it at that 22:24 <@preaction> wait 22:24 <@preaction> that means someone else is the worst 22:24 < bopbop> :) 22:24 <@preaction> ... if it's me, it's only because you're too stupid to understand me! 22:24 <@preaction> ha ha! charade you are! 22:24 < bopbop> hey, Eye not sew dumb ass u thinx I is 22:25 <@preaction> i'm a certified college dropout! i fail english? that's unpossible! 22:25 <@apeiron> preaction, The quote is "me fail english" 22:26 <@preaction> but "me fail english" is the correct grammatical construct 22:27 <@apeiron> er, you have two nouns in the objective case in that sentence without a conjunction joining them. :) 22:31 <+perlDreamer> well, we know it isn't apeiron either :) 22:32 < bopbop> all the chapters look pretty good 22:34 -!- knowmad [n=william@97.66.185.250] has quit [Read error: 110 (Connection timed out)] 22:34 <+perlDreamer> bopbop, met another guy who hunts duck who didn't believe that flavored shot exists 22:35 < bopbop> it exists, but it isn't FDA approved yet 22:35 < bopbop> guess it's not exactly safe to eat :) 22:35 <+perlDreamer> oy 22:35 <+perlDreamer> that's a problem 22:35 < bopbop> yeah...Ryan is determined to buy it- we're looking into the fowl hunting black market 22:36 < bopbop> here you go: http://www.seasonshot.com/Home.cfm 22:36 <+perlDreamer> be careful, this channel is logged 22:37 < bopbop> it's for sale on the Internet...it must be fine 22:38 <@preaction> it's not for sale yet :( 22:38 <@preaction> i mean, i don't hunt, but applied science is always awesome 22:38 <+perlDreamer> one small problem 22:39 <+perlDreamer> on their about us page, they should all have broken teeth 22:39 <+perlDreamer> thus showing the need for the shot in the first place 22:39 < bopbop> hehehe 22:39 <@preaction> water-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:41 < bopbop> tightly packed seasoning held together in pellets by a food binding product apparently 22:41 < bopbop> they melt during cooking 22:42 < lisette> which the action of the form login_box? 22:43 <+perlDreamer> I believe POST 22:43 <@preaction> POST. GET would be very bad 22:44 <@rizen> that is the method 22:44 <@rizen> the action is the site url 22:44 * perlDreamer asks ignorantly, "Why? Why preaction-claus, why?" 22:44 < lisette> thanks 22:45 <@preaction> get shows up in the browser address bar? 22:45 <@preaction> post at least doesn't 22:45 <@preaction> and with POST + SSL you don't have piggyback slurp 22:45 <@preaction> (Man-in-the-middle attack) 22:49 -!- knowmad [n=william@adsl-074-170-007-083.sip.clt.bellsouth.net] has joined #webgui 22:59 -!- knowmad [n=william@adsl-074-170-007-083.sip.clt.bellsouth.net] has left #webgui [] 23:10 -!- topsub [n=josh@97.66.185.250] has quit [Read error: 110 (Connection timed out)] 23:20 -!- jua1 [n=juangui@201.232.58.66] has joined #webgui 23:20 < jua1> hello 23:21 < jua1> i have a problem with a collaboration system 23:22 < jua1> i have created CS with the weblog template, in the CS i can upload files 23:22 -!- perlDreamer [n=ckuskie@nat039.mxim.com] has quit [Read error: 110 (Connection timed out)] 23:23 < jua1> the 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 file 23:25 -!- jua1 [n=juangui@201.232.58.66] has left #webgui [] 23:25 -!- perlDreamer [n=ckuskie@nat039.mxim.com] has joined #webgui 23:26 -!- mode/#webgui [+v perlDreamer] by ChanServ 23:38 -!- estiven [n=estiven@201.232.58.66] has quit ["Leaving."] 23:38 < perlmonkey2> seasonshot....that is absolutely hilarious. 23:39 * perlDreamer is considering trying something similar for fishing 23:39 <+perlDreamer> but how do you avoid ruining the fish? 23:41 < bopbop> hmm- seasoned worms? 23:41 <+perlDreamer> I'll bring some to the next WUC 23:41 < bopbop> ok- you bring the fish, I'll bring the bird 23:41 <+perlDreamer> oh no, I was talking about the worms 23:41 < bopbop> ooh, well we can eat those too 23:42 < bopbop> maybe rizen will charter us a boat for Lake Mendota to go fishing 23:42 <+perlDreamer> Now you're talking! 23:43 <+perlDreamer> although I'll need to practice my knots 23:43 <@rizen> not 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 knots 23:43 < bopbop> hmm- we can get a pontoon down by me 23:45 < perlmonkey2> bopbop: fising at the WUC...I'm IN! 23:45 < perlmonkey2> hah, or a pontoon 23:45 < bopbop> we'll see what we can do for you perlmonkey2 23:45 <+perlDreamer> The WUC will by BYOB 23:45 <+perlDreamer> um be, not by 23:45 < perlmonkey2> Bring Your Own Bait? 23:46 <+perlDreamer> Boat 23:51 -!- SDuensin [n=Scott@89.sub-75-204-45.myvzw.com] has quit ["Leaving"] --- Day changed Sat Apr 05 2008 00:01 -!- bopbop [n=kmccombs@71-82-214-154.dhcp.mdsn.wi.charter.com] has quit [] 00:13 < perlmonkey2> This is a really old webgui site, right? http://www.dynamist.com/ 00:15 <@preaction> doesn't seem like it 00:17 < perlmonkey2> thought that was an old webgui theme. 00:20 <@rizen> not a webgui site at all 00:20 <@rizen> you can use the old ?op=theWg trick to find out 00:22 < perlmonkey2> hm....then that has to be a totally ripped off wg theme? 00:23 <@rizen> pm2: did you get your survey done in time for your peeps to be happy? 00:24 < lisette> hello 00:24 < perlmonkey2> They extended the deadline, and actually weren't too upset. They know they are asking for a lot. 00:24 < lisette> i want to do a trivia with time limit 00:24 < lisette> i can do this? 00:24 < lisette> and how to do? 00:24 < perlmonkey2> rizen: 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:25 <@rizen> great news pm2 00:25 <@apeiron> lisette, 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 <@apeiron> s/alert/event/ 00:26 < perlmonkey2> yeah....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:27 < lisette> mmm i can do that just with JS, no other way? 00:27 <@rizen> lisette: you could use a session scratch variable to keep track of the time 00:28 <+perlDreamer> lisette, 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 <@rizen> or if you are keeping track of the trivia responses in the database, you could timestamp them so you could see when their first response is 00:28 < lisette> yes, but too closed 00:28 < perlmonkey2> That ?op=theWg is super sweet 00:29 < lisette> i need two ways 00:30 <@rizen> pm2: there are all kinds of easter eggs like that in webgui 00:30 <@rizen> try this one: http://www.plainblack.com/*give-credit-where-credit-is-due* 00:31 < lisette> sorry is a survey in mode quiz 00:32 < lisette> how to do all this 00:33 < perlmonkey2> rizen: that one didn't work on my center's wg instance. 00:33 < perlmonkey2> http://casr.ou.edu/*give-credit-where-credit-is-due* 00:35 < lisette> perlDreamer: i need two things 00:36 <@rizen> yeah it's broken before 7.5 00:37 <@rizen> here this one will work: 00:37 <@rizen> http://casr.ou.edu/?op=genesis 00:37 < metanil> how do we autocommit for uploading file in folder Asset?? 00:39 < perlmonkey2> rizen: hah, that is great 00:39 <+perlDreamer> metanil: 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:40 < metanil> can i do programmatically.. like getting tag and do commit. 00:40 < metanil> tagid 00:41 <@rizen> perlmonkey2: ok...ready for the grand daddy of them all? the hardest easter egg to find in webgui is: 00:41 <@rizen> 1) go to any page layout url 00:41 <@rizen> 2) turn admin on 00:41 <+perlDreamer> well, if I remember correctly, file uploading is done via the File Pile. I guess you could modify that. 00:41 <@rizen> 3) type the following characters 00:41 <@rizen> up down up down left right left right b a 00:41 <@rizen> the directions are on your arrow keys 00:42 <+perlDreamer> and b a stands for "moon your boss" 00:42 <@rizen> b and a are actually b and a on your keyboard, don't listen to pd 00:42 < perlmonkey2> rizen: HAHAHAA, that is GREAT 00:42 <@rizen> he's a bad influence 00:43 < perlmonkey2> if wg could tell when I had mooned my boss, It probably should be classified as more than just a CMS. 00:43 <+perlDreamer> Character Monitoring System 00:44 <@rizen> eminem wrote a song called "bad influence" about perlDreamer 00:47 < perlmonkey2> heh 00:47 < perlmonkey2> okayh, bbl, taking the wif out on the town. 00:48 < lisette> ? 00:48 < lisette> i can't do this with webgui? 00:49 < lisette> i have build a new macro to controle this? 00:51 <@preaction> wtf is a neutered konami code doing in WebGUI? 00:51 <@preaction> it should be up up down down left right left right b a 00:52 <@preaction> rizen, you are one seriously tricky individual 00:52 <@rizen> are you sure? i think you're wrong 00:52 <@rizen> but i'm happy that you got the reference 00:52 <@preaction> i think we're both right, really 00:52 <@rizen> it's also supposed to have "select" "start" at the end 00:52 <@rizen> but there aren't those keys on the keyboard 00:52 <@preaction> http://en.wikipedia.org/wiki/Konami_Code 00:53 <@preaction> i could swear that one game does it a little differently 00:53 <@rizen> i was doing it from memory 00:53 <@rizen> so i guess i got it wrong 00:54 <@preaction> eh, it'll keep people guessing that much more 00:54 <@rizen> i was just telling haarg that we need to add a couple more easter eggs to webgui before the wuc 00:55 <@rizen> and that we should add a new undocumented config file variable called noHumor:1 00:55 <@rizen> that disables them all 00:55 <@preaction> allowing disabling of easter egg? even if that's an easter egg itself it's kinda sad 00:56 <@rizen> i think it's a cool easter egg 00:57 <@preaction> sad as in depressing, not sad as in ill-concieved 00:57 <@rizen> i also think that we should change the gallery so that on april fools day all photos are elvis 00:58 -!- 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:59 <@preaction> replace Elvis with Gooey 00:59 <@preaction> in an Elvis costume 01:01 < lisette> anyone knows? 01:04 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [No route to host] 01:18 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit ["Leaving"] 01:19 -!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has quit ["Leaving"] 01:26 -!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui 01:26 -!- mode/#webgui [+o Haarg] by ChanServ 01:52 < lisette> ? 01:53 -!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"] 01:56 <+perlDreamer> lisette, the current Survey doesn't know about time. 02:00 -!- perlDreamer [n=ckuskie@nat039.mxim.com] has quit ["Download Gaim: http://gaim.sourceforge.net/"] 02:02 -!- lisette [n=liraos@201.232.58.66] has quit ["Leaving."] 02:06 -!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has quit ["leaving"] 02:11 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui 02:48 -!- CIA-21 [n=CIA@208.69.182.149] has quit [] 03:05 -!- CIA-21 [n=CIA@208.69.182.149] has joined #WebGUI 03:47 -!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui 03:47 -!- mode/#webgui [+o apeiron] by ChanServ 03:54 -!- 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 #webgui 03:54 -!- mode/#webgui [+o apeiron] by ChanServ 04:30 -!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has quit ["brb"] 04:32 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [Read error: 113 (No route to host)] 04:33 -!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui 04:33 -!- mode/#webgui [+o apeiron] by ChanServ 05:45 -!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has joined #webgui 05:49 -!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI 06:14 -!- 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:24 -!- Netsplit over, joins: @apeiron, GooeyOfSteel, diakopter, SDuensin, topsub, CIA-21, @rizen, jfluhmann, +Radix_, metanil (+6 more) 08:12 < topsub> hopefully i can get this to work. Try to make an inline text editor for when you "Turn admin on" 10:22 -!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has quit [Read error: 110 (Connection timed out)] 12:12 -!- SynQ [n=koen@e97024.upc-e.chello.nl] has quit [Read error: 104 (Connection reset by peer)] 12:13 -!- Haarg [n=haarg@66-168-19-128.dhcp.mdsn.wi.charter.com] has joined #webgui 12:13 -!- mode/#webgui [+o Haarg] by ChanServ 12:14 -!- SynQ [n=koen@e97024.upc-e.chello.nl] has joined #WebGUI 13:48 < SynQ> good afternoon 15:31 -!- 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:57 -!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: SynQ 15:59 -!- Netsplit over, joins: SynQ 16:01 < SynQ> huh 16:01 < SynQ> hmm 16:01 < SynQ> netsplit? 16:02 -!- SynQ [n=koen@e97024.upc-e.chello.nl] has quit ["Leaving."] 16:06 -!- Haarg [n=haarg@66-168-19-128.dhcp.mdsn.wi.charter.com] has joined #webgui 16:06 -!- SynQ [n=koen@e97024.upc-e.chello.nl] has joined #webgui 16:06 -!- GooeyOfSteel [n=puppetma@hq.imaterial.org] has joined #webgui 16:06 -!- diakopter [n=diakopte@pdpc/supporter/active/diakopter] has joined #webgui 16:06 -!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui 16:06 -!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #webgui 16:06 -!- CIA-21 [n=CIA@208.69.182.149] has joined #webgui 16:06 -!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui 16:06 -!- jfluhmann [n=jfluhman@x171y247.angelo.edu] has joined #webgui 16:06 -!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has joined #webgui 16:06 -!- ServerMode/#webgui [+ooov Haarg apeiron rizen Radix_] by irc.freenode.net 16:06 -!- metanil [n=akhadka@137.48.138.72] has joined #webgui 16:06 -!- steveo_aa [n=sno@adsl-76-234-133-88.dsl.sfldmi.sbcglobal.net] has joined #webgui 16:06 -!- ckotil [n=newtrino@snare.grnoc.iu.edu] has joined #webgui 16:06 -!- Syn2 [n=koendejo@host2.procolix.com] has joined #webgui 16:06 -!- perlbot [n=perlbot@lv.pm.org] has joined #webgui 16:06 -!- nuba [n=nuba@hq.imaterial.org] has joined #webgui 16:15 < GooeyOfSteel> Wiki: 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-community 17:03 < SynQ> jt, are you there? 17:05 < SynQ> I just hope you are not going to be mad again 17:05 < SynQ> but I fear 17:38 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui 17:39 < SynQ> hi there perlmonkey2 17:39 < perlmonkey2> hello SynQ 17:40 < perlmonkey2> how's things? 17:40 < SynQ> great 17:40 < SynQ> I'm working on the WRE 17:40 < perlmonkey2> sounds like fun 17:40 < SynQ> it is 17:40 < perlmonkey2> what you doing to it? 17:41 < SynQ> I'm adjusting the build.sh script to let it take the versions of the programs to build from a list of variables 17:41 < SynQ> so that I can compile it with all new versions of the dependancies 17:41 < perlmonkey2> very cool 17:50 < SynQ> but now I'm out to shop some 17:50 < SynQ> bbl 18:06 -!- CIA-21 [n=CIA@208.69.182.149] has quit [] 18:32 -!- CIA-21 [n=CIA@208.69.182.149] has joined #WebGUI 19:49 < perlmonkey2> Where would I set the default Template edit box width? 19:50 < perlmonkey2> Like when I want to edit a template via wG, I'd like the box to default to much wider. 19:55 < SynQ> I wouldn't know 19:55 <@apeiron> perlmonkey2, I think that's codified in the Textbox form control, but I'm not certain. 19:56 < perlmonkey2> apeiron: cool thanks for showing me where to start looking :) 19:56 <@apeiron> hrm, actually. 19:56 <@apeiron> Something probably *uses* that form control. 19:56 <@apeiron> So you'll want to look for an invocation of it. 20:18 < perlmonkey2> okay...I'll see what I can dig up 22:12 -!- CIA-21 [n=CIA@208.69.182.149] has quit [] 22:48 -!- CIA-5 [n=CIA@208.69.182.149] has joined #WebGUI 22:53 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [No route to host] 23:00 -!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has joined #webgui --- Day changed Sun Apr 06 2008 00:31 -!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has quit [Remote closed the connection] 00:45 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui 01:14 < perlmonkey2> If I want to grab a param out of the url from the last get request, how would I do that? 01:15 < perlmonkey2> $self->session->form->process('myparam') doens't seem to be doing it. 01:15 < perlmonkey2> but then I'm not submitting a form. 02:07 < perlmonkey2> this 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:11 <@apeiron> Is it a form parameter if it's being passed in via the URL? 02:13 < perlmonkey2> hold on 02:13 < perlmonkey2> it was just me being absolutely retarded 02:13 < perlmonkey2> I was checking for the param in an AJAX callback that occurs after the page loads. 02:13 < perlmonkey2> so the param in the URL that takes the user to the page obviouly wouldn't be showing up there. 03:52 -!- preaction [n=doug@CPE-67-48-241-219.new.res.rr.com] has joined #webgui 03:52 -!- mode/#webgui [+o preaction] by ChanServ 04:27 < perlmonkey2> so lonely here 04:28 < perlmonkey2> am I the only one working yet another weekend (note the self-pity included in that statement)? 05:26 -!- preaction [n=doug@CPE-67-48-241-219.new.res.rr.com] has quit [Read error: 110 (Connection timed out)] 07:02 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [No route to host] 08:35 -!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has quit ["Windows doesn't have users, it has hostages."] 08:47 -!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has joined #webgui 08:47 -!- mode/#webgui [+v Radix_] by ChanServ 16:02 -!- 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 #webgui 16:02 -!- mode/#webgui [+v Radix_] by ChanServ 16:43 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui 21:51 -!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has joined #webgui 21:51 -!- mode/#webgui [+v MrHairgrease] by ChanServ 22:02 < CIA-5> WebGUI: yung * r6056 /WebGUI/ (4 files in 3 dirs): fixed: Thingy: Text, File and Hidden field types listed twice 22:02 < CIA-5> WebGUI: yung * r6057 /WebGUI/ (docs/changelog/7.x.x.txt www/extras/wobject/Thingy/thingy.js): Thingy: edit/add field popup doesn't fit all options 22:02 < CIA-5> WebGUI: yung * r6058 /WebGUI/ (docs/changelog/7.x.x.txt lib/WebGUI/Asset/Wobject/Thingy.pm): fixed: selecting some field types will crash Thingy 22:21 < CIA-5> WebGUI: jt * r6059 /translations/Italian/Italian/ (4 files): update_from_translation_server 22:26 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."] 22:33 -!- crythias [n=gyoung@fl-69-68-148-96.sta.embarqhsd.net] has joined #webgui 22:33 -!- mode/#webgui [+v crythias] by ChanServ 23:25 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui 23:25 -!- mode/#webgui [+o preaction] by ChanServ 23:46 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit ["Leaving"] 23:59 -!- BartJol [n=plainstu@52-167.surfsnel.dsl.internl.net] has joined #webgui --- Day changed Mon Apr 07 2008 00:04 -!- SynQ [n=koen@e97024.upc-e.chello.nl] has left #webgui [] 00:05 -!- SynQ [n=koen@e97024.upc-e.chello.nl] has joined #WebGUI 00:08 < BartJol> hee Koen 00:09 < BartJol> can't you create your own kids for the photos? 00:10 < BartJol> mmm august, that's less than 9 months 00:24 < SynQ> hehe 00:24 < SynQ> sorry, it's allready too late for that 00:25 < SynQ> but I'd like to get some photo's of colin and frank's kids 00:29 < BartJol> oh maybe it's a nice ti ne to upgrade my website 00:34 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui 01:10 -!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has left #webgui [] 01:33 -!- BartJol [n=plainstu@52-167.surfsnel.dsl.internl.net] has left #webgui [] 04:21 -!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui 04:21 -!- mode/#webgui [+v Radix-wrk] by ChanServ 05:00 -!- snapcount_ [n=royjohns@156.10.101.97.cfl.res.rr.com] has joined #webgui 05:02 -!- snapcount_ is now known as snapcount 05:02 -!- mode/#webgui [+v snapcount] by ChanServ 05:03 <+snapcount> I'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 site 05:03 <+snapcount> is there a new name for it? 05:04 <+snapcount> only choices are Quantum Gateway and Authorize.net gateway 05:13 -!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has joined #webgui 05:18 -!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui 05:25 < perlmonkey2> rizen: You still looking for someone for the WebGUI developer? 06:07 < topsub> hmm what table in the database does the an article content get stored. 06:07 < topsub> Think i am overlooking it.. 06:08 -!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: ckotil, perlbot, steveo_aa, @rizen, perlmonkey2 06:08 -!- Netsplit over, joins: ckotil 06:11 -!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui 06:11 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui 06:11 -!- steveo_aa [n=sno@adsl-76-234-133-88.dsl.sfldmi.sbcglobal.net] has joined #webgui 06:11 -!- perlbot [n=perlbot@lv.pm.org] has joined #webgui 06:11 -!- ServerMode/#webgui [+o rizen] by irc.freenode.net 06:12 -!- perlbot [n=perlbot@lv.pm.org] has quit [Connection reset by peer] 06:13 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["sleepy time"] 06:24 -!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit ["Exit- stage left"] 06:55 -!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has quit [Remote closed the connection] 07:03 -!- Radix-wrk [n=Jesse@203.161.68.67] has quit ["Leaving"] 07:37 -!- snapcount [n=royjohns@156.10.101.97.cfl.res.rr.com] has quit [] 09:11 -!- ryuu_ro [n=rory@194.171.50.69] has joined #webgui 10:26 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui 10:26 -!- mode/#webgui [+o preaction] by ChanServ 11:31 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Connection timed out] 11:46 -!- BartJol [n=plainstu@host2.procolix.com] has joined #webgui 14:18 -!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui 15:56 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui 16:22 -!- jfluhmann [n=jfluhman@x171y247.angelo.edu] has quit [Remote closed the connection] 16:38 -!- topsub [n=josh@97.66.185.250] has joined #webgui 16:57 -!- crythias [n=gyoung@fl-69-68-148-96.sta.embarqhsd.net] has left #webgui [] 17:03 -!- jfluhmann [n=jfluhman@x171y247.angelo.edu] has joined #webgui 17:04 -!- snapcount [n=royjohns@andc-fw1.exploreos.com] has joined #webgui 17:04 -!- mode/#webgui [+v snapcount] by ChanServ 17:12 -!- ckotil [n=newtrino@snare.grnoc.iu.edu] has quit [Read error: 110 (Connection timed out)] 17:31 <@rizen> perlmonkey2: yes we're still looking for a developer 17:32 <@rizen> snapcount: just go direct to itransact.com 17:32 <+snapcount> thanks rizen... I stumbled onto that last night and had them go there 17:36 -!- ryuu_ro [n=rory@194.171.50.69] has quit [] 17:41 -!- lisette [n=liraos@201.232.58.66] has joined #webgui 17:42 < lisette> hi 17:42 < perlmonkey2> lisette: Hello 17:43 < lisette> i can controle the score by question in a survey in mode quiz? 17:43 < perlmonkey2> lisette: allow each question to have a different point value? 17:44 < lisette> yes 17:47 < perlmonkey2> lisette: I not 100% sure but I think you'd have to do that in processing after the quiz was administered. 17:47 < perlmonkey2> IE, no, you can't change the point values in the quiz mode. 17:48 < perlmonkey2> But 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:49 < SDuensin> Morning. 17:50 < perlmonkey2> g'morning SDuensin 17:51 <@rizen> pm2: sure 17:52 < perlmonkey2> lisette: 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:53 < BartJol> a point value probably is, just changed 300+ db fields manually for point values in a survey (the isCorrect field isn't used) 17:54 < BartJol> is good 17:55 < lisette> thanks 17:55 < lisette> ok 17:55 < lisette> how i can obtanin the score to process? 17:56 < lisette> obtain 17:56 < topsub> hello everyone 17:57 < BartJol> hi 17:58 < BartJol> lisette, you mean if you want to do it now, before the new survey system? 17:58 < lisette> no 17:58 < lisette> i want process the score of quiz 17:58 < lisette> and save in a db 17:59 < lisette> and then my question is: how to do for get the score that gives me webgui? 18:00 < perlmonkey2> lisette: 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:01 < BartJol> it's not used in survey mode 18:01 < BartJol> so if you use survey mode, you can add a score and write a macro to extract the data you want 18:01 < BartJol> it's ugly, but it works 18:02 < BartJol> temporarily :) 18:02 < lisette> yes i understand 18:02 < BartJol> but it's some work 18:02 < lisette> but, if i want process how to do....? 18:02 < BartJol> how you put it in the other db, I don't know 18:03 < BartJol> sorry, I don't understand your question 18:03 < lisette> how to get the score that actually gives me webgui? 18:03 < lisette> como obtengo el score actual que me entrega la survey 18:03 < lisette> con una consulta en la base de datos? 18:04 < BartJol> aha :) 18:04 < perlmonkey2> you want to get the score out of the webgui database. 18:05 < perlmonkey2> webgui has reporting tools. 18:05 < BartJol> a sql report sounds most logical 18:07 < lisette> mmm which table save the score? 18:08 < BartJol> Survey_response or Survey_questionresponse 18:08 < BartJol> Survey_questionResponse 18:08 < BartJol> the last has the actual eneterd answers 18:09 < BartJol> with the isCorrect field 18:10 < BartJol> zo 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:12 < lisette> other question 18:12 < lisette> i can put time to a survey? 18:12 < BartJol> well, one more, then I'll have to leave 18:13 < BartJol> well, the survey stoers the start and end time of a user submitting it, but not sure whether this can easily be doen 18:13 < lisette> ok, tk 18:13 < BartJol> sorry for my bad typing 18:14 < lisette> mmmm, i mean put time limit for answer the survey 18:15 < BartJol> well, that's something I should look into 18:15 < BartJol> not sure 18:16 < BartJol> mmm I repeat myself 18:16 < BartJol> are you in a hurry? 18:16 < lisette> no 18:16 < lisette> well more and less 18:17 < lisette> i have to do this for end month 18:17 < BartJol> ah, ok 18:17 < BartJol> well, there has to be done something whithin the code probably 18:18 < lisette> I have to do before that date for tests, that day should be working perfectly 18:19 < BartJol> or maybe the results can be processed by a macro, and if the time is too long, you just give them an error 18:19 < BartJol> do you program perl? 18:20 < BartJol> I'm just learning it, so I would like to help you, but can't give you any guaranties 18:20 < BartJol> it is for a non-commercial application, isn't it? 18:22 < BartJol> otherwise my boss will slap me because I give away his time 18:22 < lisette> yes, i program in perl 18:22 < lisette> yes i can i have a macro 18:23 < BartJol> ooh, 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:25 < BartJol> well I've gotta go, will see you again I think 18:27 < lisette> ok 18:28 -!- BartJol [n=plainstu@host2.procolix.com] has left #webgui [] 18:30 -!- 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 #webgui 18:30 -!- steveo_aa [n=sno@adsl-76-234-133-88.dsl.sfldmi.sbcglobal.net] has left #webgui [] 18:31 -!- steveo_aa [n=sno@adsl-76-234-133-88.dsl.sfldmi.sbcglobal.net] has joined #webgui 18:33 -!- perlDreamer [n=colink@pool-71-117-250-89.ptldor.fios.verizon.net] has joined #webgui 18:33 -!- mode/#webgui [+v perlDreamer] by ChanServ 18:36 <+perlDreamer> I feel like I'm wimping out by having an electrical project quoted by a contractor. 18:37 -!- topsub [n=josh@97.66.185.250] has quit [Remote closed the connection] 18:38 <+snapcount> that'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 <+snapcount> I say if it can shock you then contract it out... no sense in messing up your hair 18:39 <+perlDreamer> true, but there are wiring shocks, and wallet shocks :) 18:40 <+snapcount> ahh... 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 =P 18:41 <+snapcount> 10 cents a cup... I'll give you $50.00... all you have to do is... 18:42 -!- topsub [n=topsub20@97.66.185.250] has joined #webgui 18:50 < lisette> hi perlDreamer 18:51 <+perlDreamer> Good morning, lisette 18:51 < lisette> perlDreamer: do you know how to do a macro to process the score of a survey in mode quiz? 18:55 <+perlDreamer> I'm sure it can be done. 18:58 < lisette> how? 18:59 < lisette> i found in table Survey_response 18:59 < lisette> but i don't found the score by user 19:02 <+perlDreamer> lisette, the score is not stored in the database, but calculated based on how many questions were answered correctly 19:02 <+perlDreamer> In the Survey code, look for the string questions.correct.count and it will show you the score calculating code. 19:02 < lisette> i 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 survey 19:02 < lisette> ok 19:07 < lisette> cual es la ruta para encontrar el survey.pm? 19:11 -!- ryuu_ro [n=rory@c529ce350.cable.wanadoo.nl] has joined #webgui 19:12 -!- ryuu_ro [n=rory@c529ce350.cable.wanadoo.nl] has quit [Client Quit] 19:13 <+perlDreamer> lisette, no entiendo la palabra "ruta" 19:15 < lisette> tree 19:15 < lisette> by folders 19:15 < lisette> direccion 19:16 <+perlDreamer> /data/WebGUI/lib/WebGUI/Asset/Wobject/Survey.pm 19:16 <+perlDreamer> find /data/WebGUI -name 'Survey.pm' -print 19:17 < lisette> locate Survey 19:17 < lisette> and i don't found 19:17 < lisette> but, thanks, i search in this direction 19:17 <+perlDreamer> you locatedb is probably out of date 19:18 -!- topsub [n=topsub20@97.66.185.250] has quit [] 19:19 < lisette> mmm i do update yesterday 19:19 < lisette> and the question time, i can or not? 19:20 <+perlDreamer> lisette, the Survey has lots of tables 19:20 <+perlDreamer> questionResponse is the response to a single question 19:20 <+perlDreamer> response is the data for the whole survey 19:20 <+perlDreamer> you'd have to look in there for time data 19:21 < lisette> i look in Survey_response and i found starDate and endDate, but this time is to know when response the survey 19:21 <+perlDreamer> right 19:22 <+perlDreamer> this isn't the time that you want? 19:22 < lisette> I need to put a time limit, ie a timer, and at that time respond to the survey, if not answered at that time be closed 19:23 <+perlDreamer> hm 19:23 <+perlDreamer> That will involve modifying the Survey code itself. 19:24 <+perlDreamer> Here is one way it could be done 19:24 <+perlDreamer> There are probably other, better ways 19:24 <+perlDreamer> Add a new field to the Asset called timeLimit 19:24 <+perlDreamer> When a user answers a question, check the timeLimit against when the survey was started, or last question answered 19:25 <+perlDreamer> if 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 #webgui 19:26 < lisette> ok, and If I change, the file is not lost when an update to make webgui? 19:27 -!- zylopfa [n=zylopfa@port111.ds1-vby.adsl.cybercity.dk] has joined #webgui 19:28 < zylopfa> Greetings, can anyone tell me if the calendar asset can be localized? 19:28 <+perlDreamer> zylopfa, if it is in a template as bare text, yes 19:28 < zylopfa> I am trying to make week/day month names in danish 19:28 < zylopfa> Its not in bare text 19:29 < zylopfa> The weekday names and month name text is generated by Calendar.pm asset 19:29 <+perlDreamer> zylopfa, is there a Danish translation for WebGUI? Have you looked at i18n.webgui.org? 19:29 <+perlDreamer> lisette, if you upgrade from a tar file, then yes, they'll be lost 19:29 <+perlDreamer> you'll have to manage the code versions 19:31 < zylopfa> perlDreamer, there is 0.9% of a translation and its for old module name hieracy 19:31 < lisette> mmm, i can't build a macro for this? 19:31 < zylopfa> From reading the Calendar.pm and the DateTime.pm it seems that it takes the choosen locale into consideration 19:31 < zylopfa> but it still writes it in English 19:32 < zylopfa> The calendar chooser fields has been localized it seems 19:32 <+perlDreamer> zylopfa, it could be a bug 19:32 < zylopfa> yeah i am trying to see where its gone wrong 19:32 <+perlDreamer> lisette, I think the survey keeps state in the db, so you might be able to do it with a macro. 19:32 <+perlDreamer> it's much easier to manage code with a macro 19:34 < lisette> yes, and to manage the time too? 19:35 <+perlDreamer> lisette, 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:37 < lisette> ok 19:37 < lisette> thanks 19:40 <+perlDreamer> zylopfa, the locale is not being set in the datetime object when it is being created. This is a definitely a bug. 19:41 < zylopfa> ahh awesome, from the Calendar.pm wobject i persume? or from the DateTime.pm? 19:41 < zylopfa> ahh you said it 19:46 < zylopfa> perlDreamer, 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:54 < CIA-5> WebGUI: colin * r6060 /branch/WebGUI_Commerce/lib/WebGUI/i18n/English/Asset_Product.pm: remove unused i18n tags 19:54 < CIA-5> WebGUI: yung * r6061 /WebGUI/ (docs/changelog/7.x.x.txt lib/WebGUI/Asset/Wobject/Thingy.pm): fixed: Thingy: "add" and "edit" permission problem 20:00 <+perlDreamer> zylopfa, (quickly because I must head to work), see the viewDay method. It makes a DateTime object with some $params 20:00 <+perlDreamer> but $params may not have the locale in it 20:00 <+perlDreamer> needs more tracing 20:00 < zylopfa> roger that friend, thanks a lot for helping me 20:00 <+perlDreamer> but I'd file a bug to let people that it's happening 20:01 <+perlDreamer> and if you want to add patches to fix it, it would be greatly appreciated 20:01 < zylopfa> I am making some logoutputs to check it out 20:01 <+perlDreamer> be back later 20:01 -!- perlDreamer [n=colink@pool-71-117-250-89.ptldor.fios.verizon.net] has quit ["Leaving."] 20:01 < zylopfa> awesome 20:18 < CIA-5> WebGUI: colin * r6062 /branch/WebGUI_Commerce/lib/WebGUI/Asset/Sku/Product.pm: more wobject to sku conversion 20:20 -!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui 20:21 < topsub> anyone 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:46 -!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has joined #webgui 20:46 -!- mode/#webgui [+v MrHairgrease] by ChanServ 20:47 * MrHairgrease is coming to the WUC! 20:47 <+MrHairgrease> tickets are booked, no turning back... 20:58 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui 20:58 -!- mode/#webgui [+o preaction] by ChanServ 21:02 < zylopfa> Yess I found the error in the localization of Calender Asset 21:09 <@rizen> wahoo!!!!!! 21:09 <@rizen> topsub: assetData 21:10 <@rizen> MrHairgrease: that wahoo was for you in case there was any dobut 21:10 <@rizen> doubt 21:11 <+MrHairgrease> i've become rather indifferent to your yahoos now that I found out you aren't the pope after all... 21:11 <+MrHairgrease> they kinda lost their shine =) 21:11 <+MrHairgrease> but it's nice to still be appreciated 21:12 <+MrHairgrease> even if it's only by mere mortals 21:14 < zylopfa> I have found an error in DateTime 21:15 < zylopfa> that breaks localization of the Calendar Asset 21:33 -!- perlDreamer [n=ckuskie@nat039.mxim.com] has joined #webgui 21:33 -!- mode/#webgui [+v perlDreamer] by ChanServ 21:34 <+MrHairgrease> zylopfa: post it as a bug report. 21:34 <+MrHairgrease> If you have fixed the issue, please attach your patch 21:34 < zylopfa> yeah i did it just now 21:34 <+MrHairgrease> oh ok 21:34 <+MrHairgrease> great =) 21:35 < zylopfa> but i attached the whole WebGUI::DateTime.pm 21:35 <+MrHairgrease> that's prolly ok too 21:35 < zylopfa> I dont know the mechanics of the patch command 21:35 <+perlDreamer> zylopfa, use diff 21:35 <+MrHairgrease> diff originalFile.pm newfFile.pm 21:35 < zylopfa> Greetings perlDreamer 21:35 <+perlDreamer> I'm back :) 21:35 < zylopfa> I fouind the error we spoke of 21:35 <+perlDreamer> excellent! 21:35 < zylopfa> it was in DateTime.pl 21:36 < zylopfa> It gets all the parameters but dont use the locale one 21:36 < zylopfa> in some instances 21:38 <+perlDreamer> good debug work, make a patch with diff, attach it to the bug report and it should be fixed within the week 21:39 < SynQ> man 21:39 < GooeyOfSteel> Wiki: 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.3 21:39 < zylopfa> Awesome i will do it now 21:39 < perlmonkey2> perlDreamer: what is your dev env? 21:39 < SynQ> I think I'm going to start a political party with JT as president 21:39 <+MrHairgrease> # man synq 21:39 <+MrHairgrease> No manual entry for synq 21:40 < SynQ> and then play election secrets 21:40 < SynQ> or something 21:40 < perlmonkey2> SynQ: I'd think the point of that would be .gov contractual kickbacks. 21:40 <+MrHairgrease> campaign secrets 21:40 < SynQ> exactly 21:41 < perlmonkey2> does everyone here dev in WRE? 21:41 <+MrHairgrease> i so 21:41 < SynQ> but I think the discussion about 7.6 and beyond is finally getting to an end 21:41 <+MrHairgrease> do 21:41 <+perlDreamer> perlmonkey2: I use Fedora Cores 6 and 7, no WRE 21:41 < SynQ> I don't dev in WRE, I dev WRE 21:41 <+MrHairgrease> i usually use the wre on a flavour of ubuntu 21:41 < perlmonkey2> perlDreamer: what about JS dev? 21:42 < perlmonkey2> SynQ: hah 21:42 <+MrHairgrease> firebug 21:42 <+perlDreamer> perlmonkey2: um, I use vim :/ 21:42 <+MrHairgrease> and vim of course 21:42 <+MrHairgrease> hehe 21:42 * perlDreamer is not JS compliant 21:42 < perlmonkey2> MrHairgrease: perlDreamer: me too 21:42 < perlmonkey2> hah 21:42 <+MrHairgrease> actually perldreamer is lying 21:42 <+perlDreamer> actually, perlDreamer is sitting 21:42 <+MrHairgrease> and is a member of the church of emacs 21:43 <+perlDreamer> heretic! 21:43 < SynQ> I'm writing a buildCreateScript.pl 21:43 < perlmonkey2> MrHairgrease: wre on ubuntu....I've never played with the wre dev helpers....you dig it over just a normal build? 21:43 < SynQ> that builds build.sh 21:43 < SynQ> so that build.sh can be used to build WRE 21:43 <+MrHairgrease> what i do is this 21:43 < perlmonkey2> vim and firebug is all anyone needs for JS dev :P 21:43 <+MrHairgrease> install ubuntu 21:43 < zylopfa> perlmonkey2, i use fedora core too 21:43 <+MrHairgrease> remove crap like apache2 and mysql 21:43 <+MrHairgrease> untar the wre 21:43 <+MrHairgrease> run setup 21:44 <+MrHairgrease> let it depoly a dev site for me 21:44 <+MrHairgrease> i like to use ubuntu cause that is what i run on my laptop 21:44 <+MrHairgrease> so it's easy if the dev box has the same system 21:45 <+MrHairgrease> and their server distro is really good 21:45 <+MrHairgrease> and easy to setup secure 21:45 < perlmonkey2> MrHairgrease: hmm....I think I could set that up on my lappy (I run Fedora). 21:46 <+MrHairgrease> it should just work if you disable apache and mysql 21:46 <+MrHairgrease> or better said: have ports 80, 81 and 3306 vacant 21:46 < perlmonkey2> yeah, 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:47 <+MrHairgrease> i've also had the wre installed on my laptop 21:47 <+MrHairgrease> very easy 21:47 <+MrHairgrease> since all the wre stuff resides in /data it won't interfere with the distro you're running on 21:48 < perlmonkey2> yeah, I've ran the wre before..extremely cool 21:48 < perlmonkey2> and runs much faster than the defaults on a cent install. 21:49 <+MrHairgrease> yeah 21:49 <+MrHairgrease> the wre configures all servers for maximum webgui performance 21:50 < zylopfa> perlDreamer, do one get points for fixing an error? 21:50 < zylopfa> a bug even 21:50 <+perlDreamer> zylopfa, filing a bug is 5 karma. 21:50 -!- bopbop [n=kmccombs@71-82-214-154.dhcp.mdsn.wi.charter.com] has joined #webgui 21:50 < zylopfa> what about patching it also? 21:51 <+perlDreamer> I'll suggest to the powers that be that you be bumped for applying a patch 21:51 < zylopfa> awesome 21:54 < topsub> thanks rizen! 21:54 < topsub> makes sence now 21:54 < topsub> almost have my double click to edit inline editor working 21:54 < zylopfa> How do other CMS' compare to Webgui? I choose WebGUI only cause it was made with perl 21:55 < topsub> double clicko n an article and it brings up tinymce and you can edit it right there then save 21:55 < topsub> my idea anyway 21:55 <+perlDreamer> it's easier to use some other CMS'es on cheap hosters because they're written in PHP 21:55 < zylopfa> yeah i guess 21:55 < zylopfa> I never liked php cause the programming is intertwined with html/xml etc. 21:56 < perlmonkey2> zylopfa: webgui is extremely powerful compared to other CMS's. It has a powerful API which allows fast customization. 21:56 <+perlDreamer> yeah, I started using wG for the same reason as you (perl), and have never needed anything else 21:56 <+perlDreamer> (except more time for programming fun stuff) 21:56 < zylopfa> Awesome to hear it 21:56 < zylopfa> haha yeah 21:56 < zylopfa> I have already made some good things like SMS forms (get sms when forms are posted) 21:56 <+perlDreamer> The IT department set up a plone website, it's nowhere near as easy to use (for users) as WebGUI 21:57 < zylopfa> Awesome 21:57 <+perlDreamer> zylopfa, if you're allowed to, those would make great things to put in the Add Ons part of wG. 21:57 < zylopfa> Yeah i will do that 21:58 < zylopfa> I have started my own hosting/webdesign company cause of webgui so i will contribute 21:58 <+perlDreamer> very cool. We always need translators, too 21:58 <+perlDreamer> The Danish translation could use some polishing :) 21:58 < zylopfa> I can translate it to Danish, as i am a danish company 21:59 <+perlDreamer> and testers, people who write automatic tests for the core to find and prevent bugs 21:59 < zylopfa> perlDreamer, the danish one is no where near finished and it use old module naming 21:59 < zylopfa> then one on the site 22:00 <+perlDreamer> I'd recomment starting with the i18n.webgui.org website for new translations 22:01 <+perlDreamer> it gives you access to the subversion server for tracking changes in the i18n files 22:01 <+perlDreamer> We seem to have a race between the Spanish and Polish teams for translating right now 22:01 < zylopfa> ahh nice, i was at the site earlier and saw it only had very old versions of the danish translation 22:02 < zylopfa> I am translating it bit by atm. 22:02 <+perlDreamer> if there are newer versions that you want folded in 22:02 <+perlDreamer> I think that can be done 22:02 < zylopfa> awesome 22:02 <+perlDreamer> you need a Plain Black staffer to help though 22:03 <+perlDreamer> Post it as a bug 22:03 < zylopfa> I also have some suggestions to Calendar Asses, in regards to internationalization 22:03 <+perlDreamer> in general, lack of i18n is regarded as a bug, but right now 22:03 < zylopfa> some of the labels arent translated so you need to change it in the template 22:03 <+perlDreamer> we're in the process of changing how i18n is done. I'd still file it as a bug though, for now. 22:04 < zylopfa> it is i18n supported but in the transaltion there arent so many labels 22:04 < zylopfa> if you know what i mean 22:04 <+perlDreamer> right, the new way will be not to provide template variables for i18n, but to allow people to make i18n calls through a macro 22:04 <+perlDreamer> it's faster and uses less memory that way 22:04 < zylopfa> ahh nice 22:22 < topsub> i think i am missing something in assetData the desicripition isn't stored here is it ( for an article )? i see synopsis but thats it 22:23 <+perlDreamer> description is stored in the wobject table 22:27 < topsub> awesome thanks perlDreamer 22:27 < topsub> still learning this database 22:27 <+perlDreamer> it's spread through several layers, like MrHairgrease was talking about last week 22:27 <+perlDreamer> asset, assetData, (maybe wobject) and then Asset specific (Article, etc.) 22:28 < topsub> yes joining 4 tables to get all the data for article i believe 22:28 <+perlDreamer> there's a convenience method to do that for you 22:28 <+perlDreamer> in Asset.pm 22:28 < topsub> i will look at that. Not sure how i am going to do this update script but just wanted find out were everything is stored 22:29 <+perlDreamer> assetDbProperties 22:29 <+MrHairgrease> hey tobsub, not sure what you're doing exactly 22:29 <+MrHairgrease> but if you already have an instance of your article handy 22:29 < topsub> prototyping my idea 22:29 <+MrHairgrease> just use the get method for property retrieval 22:30 <+MrHairgrease> basically to get the description of a wobject 22:30 <+MrHairgrease> you do something like this: 22:30 <+MrHairgrease> $desc = WebGUI::Asset->newByDynamicClass( $session, $assetId)->get('description') 22:31 <+MrHairgrease> that works for all of the asset properties 22:31 < topsub> thats handy 22:31 <+MrHairgrease> if you only have a url you can use the newByUrl method 22:31 <+MrHairgrease> and ther are more 22:32 <+MrHairgrease> read through the POD in the Asset*.pm files in lib/WebGUI 22:32 < topsub> will do. 22:32 < topsub> thanks Mrhairgrease! 22:32 <+MrHairgrease> if you are doing stuff with assets you almost never need to do queries against their tables 22:33 <+MrHairgrease> always use tha api 22:33 <+MrHairgrease> in that case stuff keeps working when the db schema is changed 22:33 <+MrHairgrease> and it prevents you from borking your db 22:33 <+perlDreamer> and with the 5-year API freeze, you can be safe that it won't change out from underneath you, too 22:33 <+MrHairgrease> accidentaly borking that is 22:34 <+perlDreamer> MrHairgrease, are you still working on the world's first WebGUI virus? 22:34 <+MrHairgrease> i didn't know i was working at that at all 22:34 <+MrHairgrease> you need to refresh my memory 22:35 <+MrHairgrease> I am considering an xteddy macro to accompany the xeyes macro 22:35 <+perlDreamer> it hid its data in the WebGUI assetIds, and compiled its own dynamic Spectre workflow to propagate to other servers and sites 22:36 <+MrHairgrease> I'm pretty sure that's not my idea 22:36 <+MrHairgrease> though I wish it was 22:36 <+MrHairgrease> it's awesome 22:36 <+MrHairgrease> I guess JT came up with that 22:36 -!- estiven [n=estiven@201.232.58.66] has joined #webgui 22:37 <+perlDreamer> finally, once it infected PB.com, it would simultaneously infect all sites via checkMethod 22:38 <+perlDreamer> not checkMethod, $cache->setByHttp 22:38 <+MrHairgrease> that create quite a botnet 22:38 <+MrHairgrease> not the shear number 22:38 <+MrHairgrease> but the amount of bandwidth 22:38 <+perlDreamer> yes 22:41 < perlmonkey2> with that you could hold the world ransom for one meeeeeleon dollhairs! 22:41 <+perlDreamer> I thought the clever part was using MD5 hash collisions as a way of encoding the virus right into the db. 22:42 <+MrHairgrease> ok, now I' absolutely sure this is not my brainchild 22:43 <+MrHairgrease> I think I would've at least _some_ recollection of this if it were 22:43 <+perlDreamer> you were pretty hungover that day 22:44 <+MrHairgrease> you are scerwing with mind 22:44 <+MrHairgrease> stop doing that 22:44 <+MrHairgrease> =) 22:44 <+MrHairgrease> I'm 99.999999999% convinced I have never heard of that thing before 22:44 <+MrHairgrease> evr 22:44 <+MrHairgrease> ever* 22:45 <+perlDreamer> whatever you say 22:46 < topsub> lol 22:46 <+MrHairgrease> One of the reasons being that I just got to learn that $cache->setByHttp actually existed. 22:46 <+perlDreamer> here's a reminder 22:47 <+MrHairgrease> And that I remember stuff I do when I'm hung over 22:47 <+perlDreamer> it was summer of 2007, I had just finished one of my SHA chips 22:47 <+perlDreamer> and we were talking about cryptography 22:47 <+MrHairgrease> the forget part actually causes hangovers 22:47 <+perlDreamer> you pointed out that assetId's were MD5 hashes, so multiple collisions would exist for each one 22:47 <+perlDreamer> given the lossy nature of crypto hashes 22:48 <+MrHairgrease> That was something about the columns not being set to binary 22:48 <+MrHairgrease> which makes them case insensitive 22:49 <+perlDreamer> given 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 system 22:52 <+MrHairgrease> okay pd, where was this conversation happening 22:52 <+MrHairgrease> here on the channel? 22:52 <+perlDreamer> yes 22:52 <+perlDreamer> but it may have been when xdanger was away 22:52 <+perlDreamer> go check it out 22:52 <+MrHairgrease> I'm doing that 22:53 <+MrHairgrease> grepping on md5 doesn't reveal anything 22:53 <+MrHairgrease> same for virus 22:53 <+perlDreamer> maybe you PM'ed me 22:53 <+perlDreamer> or maybe I'm pulling your leg :) 22:54 <+MrHairgrease> better look over your shoulder all time when you are in Madison pd 22:54 <+MrHairgrease> =) 22:54 <+perlDreamer> "only a fool wages a land battle with the Russians, or teases the Dutch!" 22:55 <@preaction> but since you are not a great fool, i clearly cannot drink the wine in front of you! 22:55 <+perlDreamer> I do not think that word means what you think it means 22:56 <+perlDreamer> Try going back to the beginning 22:56 < GooeyOfSteel> Wiki: MySQL Administration - Created on 4/7/2008 2:44 pm by knowmad http://www.webgui.org/community-wiki/mysql-administration 22:58 <@preaction> never go against a WebGUI hacker when the web is on the line! 22:58 <@preaction> hm.. that could've used a few rewrites.. 22:58 * preaction fires his writers 23:04 <+perlDreamer> isn't there a web framework contest where everybody tries to implement new features in their favorite framework? 23:06 <@preaction> dunno 23:11 < perlmonkey2> survey 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:12 <+perlDreamer> how about locking out select when max allowable is reached? 23:12 < perlmonkey2> but the user needs some sort of warning that they can change their selction,but but first needs to chose a button to unselect. 23:13 < perlmonkey2> it is not very intuative, because normal radio buttons just remove the previous selected button and select the new one. 23:13 <+perlDreamer> but that's only with 1 selection possible 23:15 <@preaction> i'd say a JS alert, or perhaps a YUI tooltip? 23:15 < perlmonkey2> hmm...maybe each quesiton should have a message div under it that is used for situations like this.... 23:15 <+MrHairgrease> what about showing a status line telling the user how much options he has left 23:15 <@preaction> oooh, i like martin's idea 23:15 < perlmonkey2> ah, MrHairgrease I like that 23:15 <+MrHairgrease> since the line is always there 23:15 <+MrHairgrease> it isn't distracting 23:16 < perlmonkey2> yeah, preaction I think with the status line a js alert isn't so annoying. 23:16 < SynQ> it's not easy to be the opponent of a PlainBlack staff member 23:16 < SynQ> but I cannot help myself 23:16 <+MrHairgrease> you could color it red when a user has spent his options 23:16 <+perlDreamer> SynQ: maybe you're a contrarian 23:16 < perlmonkey2> MrHairgrease: lets not get crazy now :P for now we'll just use a counter :) 23:16 < SynQ> maybe 23:17 <+MrHairgrease> sure 23:17 < SynQ> perlDreamer: perhaps I am just a lost soul 23:17 <+MrHairgrease> pd: synq is just being Koen 23:17 <+MrHairgrease> he can't help it 23:17 <+MrHairgrease> =) 23:17 < perlmonkey2> MrHairgrease++ for the counter idea. 23:17 < SynQ> tsk 23:17 <@preaction> if someone sticks their neck out, can you be blamed for biting it off? 23:17 < SynQ> preaction: true 23:18 < SynQ> it's just that the bleeding hurts so much 23:18 < SynQ> all I want is to be accepted 23:18 < SynQ> and loved ofcourse 23:18 < SynQ> :) 23:18 <@preaction> oh, i thought you were lamenting biting one of the PB staff's necks 23:19 < SynQ> hell no 23:19 < SynQ> I wouldn't be able to bite trough it 23:21 <+perlDreamer> SynQ: Of this I am sure, your heart is in the right place. 23:21 < SynQ> I hold it in my hand 23:21 < SynQ> would you like to have it? 23:21 <+perlDreamer> Tessa would be jealous 23:22 < SynQ> I bet she would even share it 23:26 < SynQ> who thought of LIFT? 23:26 < SynQ> preaction: did you see this: http://www.plainblack.com/webgui/dev/discuss/lift-upgrade-system 23:27 <@preaction> yeah, i've been meaning to reply 23:27 < SynQ> ah 23:27 < SynQ> please do :) 23:27 <@preaction> the idea was, unfortunately, mine 23:27 < SynQ> I pitty you too 23:27 <@preaction> it's one of those "theoretically this SHOULD work" sort of things 23:27 < SynQ> ah 23:27 <@preaction> that usually end up destroying a small fraction of whatever solar system they're deployed in 23:28 <@preaction> one of those "famous last words" things 23:28 <@preaction> "Well, this should work!" *slurp* 23:28 <+perlDreamer> "all you have to do is..." 23:28 * preaction inverts the space-time continuum 23:28 < SynQ> I'm still contemplating on how to reply 23:28 < SynQ> that list sounds like 'this is an apt makeover' 23:29 -!- topsub [n=josh@97.66.185.250] has quit [Read error: 110 (Connection timed out)] 23:30 <@preaction> SynQ, the shortest description i can give it is patch-/diff-based release manager 23:31 <+perlDreamer> SynQ: Here's a crazy idea. Use apt to do all the work for you. 23:32 < SynQ> perlDreamer: that is not a bad idea, but it isn't easy to implement at all 23:33 <+perlDreamer> I was just thinking that we're reinventing the wheel 23:33 <@preaction> but we're building a better mousetrap 23:33 <@preaction> pick your tagline 23:33 <+perlDreamer> something like emerge, or whatever BSD uses would be very similar to this 23:33 <@preaction> the ports system? not quite 23:34 <@preaction> basically: a software update is a patch that's applied to your existing codebase. most existing packaging systems don't care what's inside the package 23:34 <@preaction> so instead of downloading an entire new webgui release, you download only what's changed 23:34 <+perlDreamer> version control, where only the released versions are tracked? 23:35 <@preaction> the problem was that we had "stop versions" that you had to upgrade to before you could upgrade past, Lift solves that problem 23:35 < GooeyOfSteel> Wiki: Configuring SSL for WRE - Edited on 4/7/2008 3:23 pm by knowmad http://www.webgui.org/community-wiki/configuring-ssl-for-wre 23:35 <@preaction> lift applies the patches to the version, runs the upgrade executables, and then moves on to the next upgrade 23:36 <@preaction> it'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 downtown 23:36 <@preaction> lift hits every stop and runs every script 23:37 < SynQ> ah 23:37 < SynQ> preaction: 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' --- Day changed Tue Apr 08 2008 00:19 -!- zylopfa [n=zylopfa@port111.ds1-vby.adsl.cybercity.dk] has quit ["Leaving"] 00:35 -!- bopbop [n=kmccombs@71-82-214-154.dhcp.mdsn.wi.charter.com] has quit [] 00:40 -!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit ["Exit- stage left"] 01:03 -!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has left #webgui [] 01:29 -!- estiven [n=estiven@201.232.58.66] has quit [Read error: 110 (Connection timed out)] 01:30 -!- estiven [n=estiven@201.232.58.66] has joined #webgui 01:46 -!- lisette [n=liraos@201.232.58.66] has left #webgui [] 01:59 <@preaction> Lightweight Integrator of Future Technology 02:00 <@preaction> i kill me 02:00 <+perlDreamer> Luxembourg International Football Team 02:08 <+perlDreamer> Largely Ignored Feature Testers 02:11 <+perlDreamer> Loose Intestinal Flatulance Tomographer 02:11 <+perlDreamer> (something tells me I'm not going to win the backronym contest at this rate) 02:15 <@apeiron> Ludicrously and Intravenously Flexible Transpirings 02:22 <+perlDreamer> Laborious and Intravenous Feeding Tubes 02:25 <+perlDreamer> Latex Intravenous Feeding Tubes 02:26 <+perlDreamer> Livin' In The Flow 02:27 <@apeiron> LaTeX Instigates Functional .... something 02:27 <+perlDreamer> Templating 02:27 <@apeiron> nice. 02:27 <+perlDreamer> crythias, diakopter/pbmdawg and I use to do that kind of stuff a lot together 02:27 <+perlDreamer> help pass the time 02:34 <+perlDreamer> LaTeX Is For Texties 02:35 <+perlDreamer> LIFT isn't foobar, toots 02:36 <+perlDreamer> there you go 02:36 <+perlDreamer> Recursive backronym 02:41 -!- perlDreamer [n=ckuskie@nat039.mxim.com] has quit ["Download Gaim: http://gaim.sourceforge.net/"] 02:47 < CIA-5> WebGUI: colin * r6063 /branch/WebGUI_Commerce/lib/WebGUI/Asset/Sku/Product.pm: reindent some stuff ala WBGP 02:59 -!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui 02:59 -!- mode/#webgui [+v Radix-wrk] by ChanServ 03:28 -!- patspam [i=patspam@ppp121-44-233-212.lns2.mel4.internode.on.net] has joined #webgui 04:30 -!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has joined #webgui 05:33 -!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has quit [Remote closed the connection] 06:02 < perlmonkey2> 10pm and I'm finally getting questions to appear on screen. 06:28 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [Read error: 113 (No route to host)] 07:27 -!- [1]patspam [i=patspam@ppp59-167-94-154.lns2.mel6.internode.on.net] has joined #webgui 07:28 -!- [2]patspam [i=patspam@ppp59-167-79-252.lns1.mel6.internode.on.net] has joined #webgui 07:46 -!- 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 patspam 07:48 -!- [1]patspam [i=patspam@ppp59-167-94-154.lns2.mel6.internode.on.net] has quit [Read error: 110 (Connection timed out)] 08:55 -!- ryuu_ro [n=rory@194.171.50.69] has joined #webgui 09:14 -!- 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:21 -!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui 10:20 -!- snapcount [n=royjohns@andc-fw1.exploreos.com] has quit [Read error: 110 (Connection timed out)] 10:48 -!- Radix-wrk [n=Jesse@203.161.68.67] has quit ["Leaving"] 10:49 -!- snapcount [n=royjohns@andc-fw1.exploreos.com] has joined #webgui 10:49 -!- mode/#webgui [+v snapcount] by ChanServ 11:39 -!- zylopfa [n=zylopfa@port111.ds1-vby.adsl.cybercity.dk] has joined #webgui 11:40 -!- BartJol [n=plainstu@host2.procolix.com] has joined #webgui 13:06 -!- snapcount [n=royjohns@andc-fw1.exploreos.com] has quit [Read error: 104 (Connection reset by peer)] 13:12 -!- snapcount [n=royjohns@andc-fw1.exploreos.com] has joined #webgui 13:12 -!- mode/#webgui [+v snapcount] by ChanServ 13:31 -!- snapcount [n=royjohns@andc-fw1.exploreos.com] has quit [Read error: 104 (Connection reset by peer)] 13:32 -!- snapcount [n=royjohns@andc-fw1.exploreos.com] has joined #webgui 13:32 -!- mode/#webgui [+v snapcount] by ChanServ 14:24 -!- snapcount [n=royjohns@andc-fw1.exploreos.com] has quit [Read error: 110 (Connection timed out)] 14:37 -!- snapcount [n=royjohns@andc-fw1.exploreos.com] has joined #webgui 14:37 -!- mode/#webgui [+v snapcount] by ChanServ 15:01 -!- snapcount [n=royjohns@andc-fw1.exploreos.com] has quit [] 15:41 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui 15:47 < BartJol> afternoon 15:50 < zylopfa> Good afternoon 16:06 -!- topsub [n=josh@97.66.185.250] has joined #webgui 16:35 -!- crythias [n=gyoung@fl-69-68-148-96.sta.embarqhsd.net] has joined #webgui 16:35 -!- mode/#webgui [+v crythias] by ChanServ 16:35 -!- crythias [n=gyoung@fl-69-68-148-96.sta.embarqhsd.net] has left #webgui [] 16:42 -!- ckotil [n=newtrino@snare.grnoc.iu.edu] has joined #webgui 16:42 < ckotil> today is a truly epic day. the nav asset is sorting alphabetically. mostly. 16:43 < BartJol> whoa, nice 16:43 < BartJol> is there also a sticky option? 16:44 < ckotil> yes. 16:44 < ckotil> what i have done is put the option to sort in the parent asset. the option is to sort the childern. 16:44 < BartJol> sounds like this has been thought trough 16:44 < ckotil> eh, not too thouroughly 16:45 < ckotil> my users wanted this functionality. 16:45 < BartJol> so the rank gets adjusted? or is it only on creating the nav object? 16:45 < ckotil> im not adjusting ranks. im manipulating the nav object 16:45 < BartJol> :) 16:45 < BartJol> ok 16:45 < ckotil> i had thought about making a workflow that reordered rank 16:46 < BartJol> well, that might not always be preferable, but no one has to use the workflow off course 16:46 < ckotil> this method might be too slow tho. 16:47 < BartJol> probably takes some db time and maybe the lineage can get disordered 16:47 < ckotil> are there metrics that can be enable in system settings to measure the loading time? 16:47 < BartJol> although that shouldn't happen 16:48 < BartJol> well, maybe awstats has a functionality like that, but I'm not sure of that 16:48 -!- Haarg [n=haarg@66-168-19-128.dhcp.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"] 16:49 < BartJol> were you at the wuc last year? 16:49 < ckotil> nope. 16:49 < BartJol> will you this year? 16:49 < ckotil> i kinda doubt it. 16:50 < BartJol> too bad, this year there are 12 dutch people! 16:50 < ckotil> but i still might try. 16:50 < ckotil> nice. 16:50 < BartJol> and we're always fun :) 16:50 < ckotil> im only ~ 8 hrs away. 16:51 < BartJol> well, then you should be able to come 16:51 < ckotil> i know. i just need to bring it up with my manager. 17:08 -!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit [] 17:11 -!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui 17:11 -!- mode/#webgui [+o Haarg] by ChanServ 17:22 -!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui 17:22 -!- mode/#webgui [+o rizen] by ChanServ 17:34 -!- ryuu_ro [n=rory@194.171.50.69] has quit [] 17:35 < CIA-5> WebGUI: graham * r6064 /WebGUI/docs/upgrades/upgrade_7.5.5-7.5.6.pl: fix charset upgrade script 17:35 < CIA-5> WebGUI: graham * r6065 /WebGUI/ (docs/changelog/7.x.x.txt lib/WebGUI/Form/Email.pm): fixed: EMail field rejects some valid email addresses 17:35 < CIA-5> WebGUI: graham * r6066 /WebGUI/ (docs/changelog/7.x.x.txt lib/WebGUI/DateTime.pm): fixed: Calendar date localization can be broken 17:55 -!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has left #webgui [] 18:06 -!- topsub [n=josh@97.66.185.250] has quit [Remote closed the connection] 18:13 <@rizen> yo mama 18:18 < CIA-5> WebGUI: graham * r6067 /branch/WebGUI_7.4/ (4 files in 4 dirs): preparing for 7.4.32 dev 18:18 < CIA-5> WebGUI: 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 session 18:18 < CIA-5> WebGUI: graham * r6069 /branch/WebGUI_7.4/ (docs/changelog/7.x.x.txt lib/WebGUI/Storage.pm): fixed: packages try to restore owner 18:18 < CIA-5> WebGUI: graham * r6070 /branch/WebGUI_7.4/ (lib/WebGUI/Form/Email.pm docs/changelog/7.x.x.txt): fixed: EMail field rejects some valid email addresses 18:18 < CIA-5> WebGUI: graham * r6071 /branch/WebGUI_7.4/ (docs/changelog/7.x.x.txt lib/WebGUI/DateTime.pm): fixed: Calendar date localization can be broken 18:18 < CIA-5> WebGUI: graham * r6072 /branch/WebGUI_7.4/docs/create.sql: preparing for 7.4.32 release 18:18 < CIA-5> WebGUI: jt * r6073 /releases/WebGUI_7.4.32-stable: Release 7.4.32-stable 18:26 < GooeyOfSteel> Wiki: Customizing WRE Configuration - Edited on 4/8/2008 10:13 am by knowmad http://www.webgui.org/community-wiki/customizing-wre-configuration 18:30 -!- BartJol [n=plainstu@host2.procolix.com] has left #webgui [] 18:35 < CIA-5> WebGUI: graham * r6074 /branch/WebGUI_7.4/ (4 files in 4 dirs): preparing for 7.4.33 dev 18:44 -!- perlDreamer [n=ckuskie@nat039.mxim.com] has joined #webgui 18:44 -!- mode/#webgui [+v perlDreamer] by ChanServ 19:09 -!- topsub [n=josh@97.66.185.250] has joined #webgui 19:09 <+perlDreamer> morning, topsub 19:09 < topsub> hello! 19:15 < topsub> What are you up to perlDreamer? 19:16 <+perlDreamer> reading design documentation 19:16 <+perlDreamer> sigh 19:16 < topsub> lol 19:16 < topsub> think most of us here have to read that stuff 19:17 <+perlDreamer> Yeah, it's just that they're trying to convince me that using Word for documentation is a _good_ thing. 19:17 < topsub> lol 19:18 < topsub> i 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 < topsub> this is for webgui of course 19:18 <+perlDreamer> cool 19:25 -!- khenn [n=khenn@24-159-239-186.dhcp.mdsn.wi.charter.com] has joined #WebGUI 19:25 -!- mode/#webgui [+o khenn] by ChanServ 19:25 -!- khenn [n=khenn@24-159-239-186.dhcp.mdsn.wi.charter.com] has left #WebGUI [] 19:31 -!- knowmad [n=william@97.66.185.250] has joined #webgui 19:31 < knowmad> is there a way to remove a suspended workflow? 19:32 < topsub> I would like to add metadataproperties on the fly from a script. can this be done from the addChild function? 19:34 -!- knowmad is now known as wknowmad 19:41 -!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI 19:42 < elnino> Good 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 <@rizen> knowmad: no...because you're supposed to fix the problem 19:47 < CIA-5> WebGUI: yung * r6075 /WebGUI/ (3 files in 3 dirs): fixed: Thingy: field sequence not imported correctly for existing Thingies 19:49 < elnino> our 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:50 < topsub> elnino. can you not just alter the nav template to have alt text for links? 19:51 < elnino> is 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:52 <@rizen> synopsis 19:52 < topsub> then place teh synopsis template variable in the alt tags? 19:55 <@preaction> is metadata available to navigations? if not, that might be a good idea 19:56 < elnino> rizin: 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:57 < elnino> preaction: 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 < elnino> oh. And nav assets do have metadata. Just looked. =) 19:57 <@preaction> each link could have its metadata used 19:57 <@preaction> that's the metadata i meant. the metadata of the assets being reported by the navigation 19:58 < elnino> yep, 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 < elnino> Any way, my question is answered. Thanks for the help! 20:03 < wknowmad> rizen: removing the workflow *would* fix my problem ;) 20:03 -!- wknowmad is now known as knowmad 20:12 < elnino> OK SEVER WEIRDNESS. 20:13 < elnino> There 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 < elnino> I logout and use a different browser, clear cache, nd I see the change in that article! 20:13 < elnino> r/SEVER/SEVERE 20:14 < elnino> anyone experience that? THis is an article assets I see this on. 20:15 < elnino> we've been using this system for a year now, I never seen this before. we're using 7.4.26. 20:16 < elnino> is there anything I can look at in the db to see if there is some corruption? 20:20 -!- bopbop [n=kmccombs@71-82-214-154.dhcp.mdsn.wi.charter.com] has joined #webgui 20:21 < elnino> there are no errors in the log file regarding this weirdness 20:37 < zylopfa> Is it the cache ? 20:38 < zylopfa> You can set the cache time on many assets 20:38 <+perlDreamer> elnino, 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 already 20:40 < zylopfa> perlDreamer, My patch got taken in! 20:40 <+perlDreamer> got job, man! 20:40 <+perlDreamer> good job :) 20:40 < zylopfa> The one "DateTime.pm not using locale info from Calendar.pm asset " 20:40 < zylopfa> THanks a lot 20:43 <+perlDreamer> You're welcome. Sorry about not telling you about diff -u. 20:43 <+perlDreamer> I use SVN for all my WebGUI development, and "svn diff" always gives me a good patch :) 20:45 < topsub> What 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 script 20:45 <+perlDreamer> topsub, in WebGUI 7.5, try looking in the t directory 20:45 < zylopfa> Ahh, its no problem at all perlDreamer we learn everyday 20:45 <+perlDreamer> t/Asset/*.t 20:46 < topsub> i see updateMetaData 20:46 -!- dionak [n=diona@97.66.185.250] has joined #webgui 20:46 <+perlDreamer> topsub, metadata API is in /data/WebGUI/lib/WebGUI/AssetMetaData.pm 20:47 <+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 <+perlDreamer> note that meta data fields have to be created before assets have use them to attach metadata to themselves 20:49 < topsub> okay wow i am blind 20:49 < topsub> thanks! 20:49 <+perlDreamer> no 20:49 <+perlDreamer> np 20:57 <@rizen> estiven what is the name of your company 21:01 <+perlDreamer> Incredible! The Spanish have overtaken the Polish! 21:01 <+perlDreamer> but it's still a close race. One wonders if the BrazilianPortuguese team is sweating. 21:05 < perlmonkey2> anyone read up on the Google App Engine? 21:06 <+perlDreamer> Just headlines 21:06 <+perlDreamer> you? 21:06 < perlmonkey2> pondering if someone could build a CMS on it. 21:06 < perlmonkey2> I mean, of course they could, but would it be popular? 21:06 -!- dionak [n=diona@97.66.185.250] has quit [] 21:06 <+perlDreamer> a CMS like.... WebGUI? 21:07 < perlmonkey2> that would be a lot of work and you'd have exactly one choice for hosting. 21:07 < perlmonkey2> really just pondering if it will cut into the CMS market. 21:07 <+perlDreamer> Really? 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:08 * perlmonkey2 would hit the snooze on that alert. 21:08 * perlDreamer would pay a penalty fee for not showing up for an appointment 21:08 <+perlDreamer> and have to do 100 penalty push-ups to boot 21:08 <+perlDreamer> bbl 21:15 < perlmonkey2> later 21:15 < perlmonkey2> hah...penalty push ups? his gym must be located on a marine base. 21:15 < perlmonkey2> perlDreamer is in the army now. 21:16 < perlmonkey2> He'll never get rich, by digg'n a ditch, perlDreamer's in the army now. 21:21 < nuba> perlDreamer: BrazilianPortuguese team is sweating on other non-webgui projects, unfortunately 21:21 < perlmonkey2> bah, I predict Google App Engine will develop a niche, but is not a wide paradigm shift. 21:33 -!- dionak [n=diona@97.66.185.250] has joined #webgui 21:33 < nuba> perlmonkey2: 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 other 21:34 < nuba> is not like "have this auth server here and this app here, that app there" 21:35 < nuba> a "nicely integrated bundle of tools for your online life" is a great thing to me 21:58 -!- snapcount [n=royjohns@andc-fw1.exploreos.com] has joined #webgui 21:59 -!- mode/#webgui [+v snapcount] by ChanServ 22:01 -!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit [] 22:08 -!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has quit ["Leaving"] 22:18 < CIA-5> WebGUI: jt * r6076 /branch/WebGUI_Commerce/lib/WebGUI/ (5 files in 3 dirs): fixed several checkout bugs 22:24 <+perlDreamer> nuba, as long as you're avoiding that Dengue stuff floating around down there, I'm not too worried. 22:25 <+perlDreamer> after all, nuba's are much more valuable then WebGUI translations 22:36 -!- bopbop [n=kmccombs@71-82-214-154.dhcp.mdsn.wi.charter.com] has quit [] 22:53 -!- estiven [n=estiven@201.232.58.66] has quit [Read error: 113 (No route to host)] 23:01 -!- estiven [n=estiven@201.232.58.66] has joined #webgui 23:02 -!- estiven [n=estiven@201.232.58.66] has left #webgui [] 23:03 -!- topsub [n=josh@97.66.185.250] has quit [Remote closed the connection] 23:47 -!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui 23:55 -!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has joined #webgui 23:57 -!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit ["Exit- stage left"] --- Day changed Wed Apr 09 2008 00:10 <+perlDreamer> where's that MrHairgrease when you need him? 00:25 < nuba> perlDreamer: yeah, no kidding, this Dengue outbreak here in rio is scary 00:26 <+perlDreamer> is it contained, nuba, or is it still spreading? 00:26 < nuba> perlDreamer: not contained, the current administration left the issue unnatended for too long 00:27 <+perlDreamer> be careful, nuba 00:27 < nuba> so with the start of the rains the mosquitoes (dengue's vector, aedes) soon became a problem 00:28 < nuba> well on the other hand theres not much one can do besides using tonnes of insect-repelant lotions and whatever 00:28 < nuba> at home we're getting heavy on carrots and B-complex vitamins, things that make your skin smell unpleasant to insects 00:29 <@preaction> what about DDT? 00:29 < nuba> and that, and random other things 00:30 <+perlDreamer> so you're basically stuck with sitting it out and waiting (with some minor preventative options)? 00:31 < nuba> ideally, 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 around 00:31 <+perlDreamer> will your job let you do that? 00:32 < nuba> we could but Im stuck here until I get my CS degree 00:32 < nuba> my wife works at one of the biggest companies in brazil, 00:33 < nuba> so we can relocate anywhere here and some other places without her losing her job 00:33 < nuba> and for me, I mostly telecommute 00:33 < nuba> whats grounding me here is just college 00:34 <+perlDreamer> how much longer do you have? 00:34 < nuba> and 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 now 00:35 < nuba> i should be done by early 2010 00:35 <+perlDreamer> Yeah, moving is a pain 00:36 < nuba> well last time we moved we needed less than a year to finish with all the boxes 00:36 < nuba> so we're getting good at it 00:40 <+perlDreamer> Just slap anything that whines and sucks blood 00:40 <+perlDreamer> Like in-laws :) 00:44 < nuba> heh 00:48 <@apeiron> I'm writing some tests for wG code that opens a new session as a different user. 00:48 <@apeiron> It's using wG::Test. I can do ->user with the wG::Test session without a problem. 00:49 <@apeiron> The 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 <@apeiron> This, 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 256 00:50 <@apeiron> Can I use the whereClause option to getLineage to do the filtering instead? 00:52 <+perlDreamer> apeiron, afaik, you can stick any valid SQL in getLineage. 00:52 <+perlDreamer> but I don't know that the userId would help you very much 00:52 <@apeiron> perlDreamer, Take a look at WebGUI/AssetExportHtml.pm sub _exportAsHtml 00:52 <+perlDreamer> In 7.5 branch? 00:52 <@apeiron> Yeah. 00:53 <@apeiron> perlDreamer, Search for tempSession. 00:53 <@apeiron> It's pretty gnarly code, which is why I'm redoing it. 00:53 <+perlDreamer> ...updating... 00:53 <@apeiron> Oh, it hasn't been changd in a while. 00:53 <@apeiron> I'm committing my work when it's finished rather than leaving something half-working in HEAD. 00:55 <+perlDreamer> where is it hitting the cache? 00:56 <@apeiron> In my rewrite, if I take out this line: $tempSession->user({userId=>$userId}); , then the code lives. 00:57 <@apeiron> http://webgui.pastebin.com/m2c4f9765 is a pastebin of that sub. 00:58 <@apeiron> If 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 <+perlDreamer> right 01:00 <@apeiron> I 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 <@apeiron> As far as I understand the group system, you can have groups of groups, and a simple single group check won't recurse. 01:00 <+perlDreamer> It won't 01:00 <+perlDreamer> but here's the thing 01:01 <+perlDreamer> if you don't create assets, I don't think getLineage cares about the userId in Session 01:01 <+perlDreamer> it shouldn't matter until you call view, which will do a canView check 01:01 <+perlDreamer> but that bypasses what you're seeing, and I'd rather understand it in case we see it again 01:02 <+perlDreamer> We need to find out where WebGUI::Cache is being called to understand that. 01:02 <@preaction> since you're running under test, why not use the perl debugger to figure out why? 01:02 <@preaction> i'd be more interested in finding out why CODE items are trying to be stored in the cache 01:03 <@apeiron> hrm 01:03 <+perlDreamer> preaction: I'm debugger ignorant as well as SQL ignorant, HTTP ignorant and JS ignorant 01:03 <+perlDreamer> CODE items are being stored in the cache from the Session, probably. 01:03 <@preaction> perlDreamer, perldoc perldebug, it's not too hard: c and n for movement, x allows you to execute code at the current place 01:03 <@preaction> i was thinking User object, since if he takes the user object out it gets better 01:04 <@apeiron> perldoc perldebtut is probably a gentler intro :) 01:04 <@preaction> it's quite the awesome tool for debugging 01:04 <@apeiron> Serves as a minimalist REPL too. 01:05 <+perlDreamer> apeiron, I see the bug 01:05 <@apeiron> perlDreamer, Ah? 01:05 <@apeiron> Was just going to step through the debugger. 01:06 <+perlDreamer> $userId isn't a userId, it's an WebGUI::User object 01:06 <@apeiron> oh blah 01:06 <+perlDreamer> try $userId->userId, or better yet, rename $userId to $user for variable clarity 01:06 <@apeiron> duh. 01:06 <@apeiron> Excuse me while I dekarma myself in another channel. 01:07 <+perlDreamer> If it wasn't for the exception, I would never have found it 01:07 <@apeiron> yay exception handling! 01:07 <+perlDreamer> apeiron++ for exception handling 01:07 <@apeiron> perlDreamer, rizen++ actually, it was his idea. 01:09 <+perlDreamer> brb 01:10 <@apeiron> Sorry for the noise, gents. 01:21 <+perlDreamer> not a problem, man 01:21 <+perlDreamer> How are your C coding skills? 01:21 <@apeiron> Enough that I can fix a random build error here and there, but that's about it. 01:22 <+perlDreamer> I need someone with moderately strong C to help me fix that Test::Class bug with memory/double free problems. 01:22 <@apeiron> eep 01:22 <@apeiron> My C-fu is not nearly that good, sir. 01:22 <+perlDreamer> I'll keep trolling 01:22 <@apeiron> Was just going to say, memory management is the one spot where my C-fu is weakest. 01:25 <+perlDreamer> I don't suppose the Recent Forums feed is available as an RSS? 01:25 <+perlDreamer> from webgui.org 01:26 < perlmonkey2> anyone 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=takeSurvey 01:27 < perlmonkey2> if 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:28 <+perlDreamer> no firebug for me, perlmonkey2. Sorry 01:28 <@apeiron> perlDreamer, If you ever do any kind of Web dev, I *highly* recommend it. 01:29 < CIA-5> WebGUI: graham * r6077 /WebGUI/ (docs/changelog/7.x.x.txt lib/WebGUI/URL/Content.pm): fixed: anonymous registration leaves user at blank page 01:29 < CIA-5> WebGUI: graham * r6078 /WebGUI/lib/WebGUI/Asset/Wobject/Thingy.pm: read line by line for thingy import instead of slurp 01:29 <@apeiron> Firebug is probably the only real reason I use FF. 01:29 < perlmonkey2> no firebug..... perlDreamer have you given up on Firefox? 01:29 < perlmonkey2> if you run linux, there isn't much choice. 01:29 <+perlDreamer> no firefox at $dayJob, only SeaMonkey 01:29 < perlmonkey2> doh 01:30 <+perlDreamer> no flash, no mp3, nada 01:30 < perlmonkey2> perlDreamer: they must be hard core about keeping out viri? 01:30 <+perlDreamer> no, they're just tyrannical 01:31 <+perlDreamer> If I didn't work with such a great group of guys, I would rethink my choice of employment. 01:32 <+perlDreamer> But these guys are the greatest, bright, fun to work with. 01:32 <+perlDreamer> Chip and software hackers 01:32 < perlmonkey2> my 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 < perlmonkey2> perlDreamer: you should tunnel to a home server and run a remote desktop 01:33 <+perlDreamer> You _could_ call her lame-o instead, but I hope that the nights are warm outside where you live :) 01:33 < perlmonkey2> hahahahahaa 01:33 * perlDreamer is known for his wise marital counseling 01:33 < perlmonkey2> still dropping into the 50's, I'd better hold off 01:34 <+perlDreamer> hardware budget is rather tight right now, I'm saving to send my oldest to college 01:34 <+perlDreamer> She turns 35 in June 01:35 -!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"] 01:38 < perlmonkey2> hahahahhaa 01:38 < perlmonkey2> funny stff 01:38 < perlmonkey2> bbl, dinner 01:38 -!- dionak [n=diona@97.66.185.250] has quit [] 01:42 <+perlDreamer> actually, I was serious about the 35 year old 01:50 -!- snapcount [n=royjohns@andc-fw1.exploreos.com] has quit [] 01:52 -!- snapcount [n=royjohns@andc-fw1.exploreos.com] has joined #webgui 01:52 -!- mode/#webgui [+v snapcount] by ChanServ 01:55 -!- knowmad [n=william@97.66.185.250] has quit [Read error: 110 (Connection timed out)] 02:21 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)] 02:57 < perlmonkey2> perlDreamer: your oldest kid is 35 and is just about to start school and you are paying for it? that is different. 02:58 <+perlDreamer> she's my wife :) 02:59 <+perlDreamer> uh, and not in a Warren Johns kind of way, either 03:11 < perlmonkey2> hah 03:12 -!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui 03:22 < perlmonkey2> unless I misunderstanded the docs and what I'm seeing in code, you can only have one YUI calendar per page. 03:22 < perlmonkey2> This would have been swell to know 2 hours ago. 03:31 <+perlDreamer> is 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:34 < perlmonkey2> perlDreamer: 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 <+perlDreamer> what about forcing pagination based on the types of Survey questions? 03:35 < perlmonkey2> hmm....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 <+perlDreamer> create on demand? slow, but very effective. 03:35 < perlmonkey2> then when they enter the next answer, there is no existing calendar to interfer with the new one. 03:36 < perlmonkey2> yes....awkward. 03:36 <+perlDreamer> and easier than rewriting the calendar module for yui 03:36 < perlmonkey2> hah 03:36 < perlmonkey2> yes 03:36 < perlmonkey2> course, maybe just tell them to use a text field 03:36 <+perlDreamer> can you reuse the same calendar app, and just clear it out on each use? 03:36 < perlmonkey2> would be MUCH easier to write text field type that includes date type validation. 03:36 < perlmonkey2> yes 03:36 <+perlDreamer> WebGUI has an calendar date/time picker 03:36 < perlmonkey2> oh... 03:36 <+perlDreamer> Form/DateTime.pm 03:36 < perlmonkey2> is it YUI? 03:37 <+perlDreamer> no 03:37 <+perlDreamer> well, it hasn't been in the past 03:39 <@apeiron> perlmonkey2, http://webgui.pastebin.org/28442 03:39 <@apeiron> perlmonkey2, Quick and simple, two calendars on one page. 03:39 <@apeiron> perlmonkey2, Can you show us what you're trying to do that's *not* working? 03:39 < perlmonkey2> :( I wonder what I'm doing wrong 03:39 < perlmonkey2> yes, j/s 03:40 <@apeiron> Could be something silly like not giving a div the right ID. 03:40 <@apeiron> I embarrassed myself pretty well here earlier today with a similar mistake. 03:40 <+perlDreamer> as of 7.5.3 (commerce branch), the Form/DateTime is using "Coolest DHTML Calendar" from dynarch.com 03:41 <+perlDreamer> You _do_ know I'm keeping track of all of these for my "Common WebGUI Programming Mistakes" presentation at the WUC, right? 03:41 < perlmonkey2> http://webgui.pastebin.org/28443 03:41 <@apeiron> perlDreamer, Oh, awesome! 03:41 < perlmonkey2> hah 03:41 <+perlDreamer> fortunately, most of the examples are dominated by my own mistakes 03:41 < perlmonkey2> heh 03:42 <+perlDreamer> think of it this way 03:42 <+perlDreamer> it isn't public embarassment in front of peers and customers 03:42 <+perlDreamer> it's leveraging your experience to help other avoid the pain and hard work of repeating mistakes 03:42 * apeiron nods. 03:43 <+perlDreamer> heading home 03:43 <+perlDreamer> 'night guys 03:43 -!- perlDreamer [n=ckuskie@nat039.mxim.com] has quit ["Download Gaim: http://gaim.sourceforge.net/"] 03:43 < perlmonkey2> night 03:44 < perlmonkey2> apeiron: you get a chance to look at that code? 03:44 <@apeiron> perlmonkey2, Looking, yes. 03:44 <@apeiron> Look at lines 11-12 03:45 <@apeiron> Is a.Survey_answerId guaranteed to be unique? 03:45 < perlmonkey2> yes, it is an assetId of that answer :) 03:46 <@apeiron> Also, why are you assigning to cal[cal.length]? 03:46 <@apeiron> Shouldn't that be cal[x] ? 03:46 < perlmonkey2> adds one to the end of the array 03:46 < perlmonkey2> does JS have a push? 03:46 <@apeiron> er, I believe so, but not sure offhand. 03:47 -!- snapcount [n=royjohns@andc-fw1.exploreos.com] has quit [] 03:47 < perlmonkey2> ah, it does, but either way, that isn't the issue. 03:47 < perlmonkey2> works as it should if there is only one cal on the page. 03:48 < perlmonkey2> that array goes out of scope after that question is through being built 03:48 <@apeiron> Yes, because you're only assigning to one element in the array. 03:48 <@apeiron> What I don't see is cal.length ever changing in that block. 03:48 <@apeiron> So thus the index into cal isn't changing, so you're just assigning to the same element in cal repeatedly. 03:48 < perlmonkey2> cal.length changes after the first assignment. 03:48 < perlmonkey2> it starts at 0 but after the first assignement is now 1 03:49 < perlmonkey2> which is why I have to use -1 to access the element. 03:49 <@apeiron> That seems really counterintuitive that it'd just automatically grow like that. 03:50 < perlmonkey2> I just whipped that up to rule out my locally scoped var I was using as being the culprite. 03:52 < perlmonkey2> nothign else jumping out at you? 03:54 <@apeiron> well hmph. 03:54 <@apeiron> That's really unintuitive. 03:54 <@apeiron> Nothing, no, and I hereby declare JS Most Awkward Programming Language ever. 03:55 <@apeiron> eh. I'm confusing length and last element. 03:56 * apeiron hasn't been feeling well, is a bit off still. 03:57 < perlmonkey2> I 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:58 < perlmonkey2> hmm....I wonder if that is it....I am not keeping a reference to it anywhere. 03:59 < perlmonkey2> hmm, no, a permanent ref isn't helping 03:59 * perlmonkey2 is now officially grasping at straws. 04:01 -!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui 04:01 -!- mode/#webgui [+v Radix-wrk] by ChanServ 04:01 < perlmonkey2> I got rid of all event handlers, everything except the calendar creation and render call. 04:05 < perlmonkey2> apeiron: 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:06 <@apeiron> perlmonkey2, I loaded it in my browser, it rendered the two calendars properly. 04:06 < perlmonkey2> http://webgui.pastebin.org/28447 04:06 < perlmonkey2> yeah, 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:07 <@apeiron> Not for me. 04:07 < perlmonkey2> you are using calendar-min...I'll try that lib, although I'm not sure how it would be different. 04:08 <@apeiron> I think it's "minimized" for transferring over the Web. 04:08 < perlmonkey2> any idea how that last paste I put up differs from your example? 04:09 <@apeiron> Not sure. 04:11 -!- perlbot [n=perlbot@c-24-30-67-86.hsd1.ga.comcast.net] has joined #webgui 04:13 <@apeiron> perlbot, hi 04:13 < perlbot> hi apeiron 04:21 -!- Zoffix [n=Zoffix@unaffiliated/zoffix] has joined #webgui 04:21 < Zoffix> hmr.. I think I've been here before 04:23 -!- Zoffix [n=Zoffix@unaffiliated/zoffix] has left #webgui ["K-Lined"] 04:23 <@apeiron> Hm. I just noticed that Freenode user cloaks aren't popular here. 04:32 < perlmonkey2> thought only trolls used those? 04:33 <@apeiron> ha 04:34 < perlmonkey2> I 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 #webgui 04:34 -!- mode/#webgui [+o preaction] by ChanServ 04:37 -!- estiven [n=estiven@201.232.58.66] has joined #webgui 04:37 -!- estiven [n=estiven@201.232.58.66] has left #webgui [] 04:53 < topsub> jquery is cool :-) 05:00 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)] 05:20 -!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui 05:25 -!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit [Client Quit] 05:34 -!- snapcount [n=royjohns@97.101.10.156] has joined #webgui 05:34 -!- mode/#webgui [+v snapcount] by ChanServ 05:42 < perlmonkey2> topsub: yeah, and it won't be owned by microsoft. 05:42 < topsub> lol 05:50 -!- snapcount [n=royjohns@97.101.10.156] has quit [Read error: 104 (Connection reset by peer)] 06:02 < CIA-5> WebGUI: jt * r6079 /translations/Spanish/ (20 files in 2 dirs): update_from_translation_server 06:05 -!- snapcount [n=royjohns@97.101.2.115] has joined #webgui 06:05 -!- mode/#webgui [+v snapcount] by ChanServ 06:18 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [No route to host] 07:38 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui 07:38 -!- mode/#webgui [+o preaction] by ChanServ 07:49 < CIA-5> WebGUI: jt * r6080 /translations/Spanish/ (4 files in 2 dirs): update_from_translation_server 08:06 -!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has quit [] 08:50 -!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has quit [Remote closed the connection] 09:12 -!- ryuu_ro [n=rory@194.171.50.69] has joined #webgui 09:16 < CIA-5> WebGUI: jt * r6081 /translations/Spanish/Spanish/ (5 files): update_from_translation_server 09:50 < CIA-5> WebGUI: jt * r6082 /translations/Spanish/Spanish/Asset_Article.pm: update_from_translation_server 10:14 < CIA-5> WebGUI: jt * r6083 /translations/Spanish/Spanish/ (WebGUI.pm AuthWebGUI.pm Asset_Collaboration.pm): update_from_translation_server 10:32 < CIA-5> WebGUI: jt * r6084 /translations/Spanish/Spanish/WebGUI.pm: update_from_translation_server 10:50 < CIA-5> WebGUI: jt * r6085 /translations/Spanish/Spanish/ (WebGUI.pm Asset_Collaboration.pm): update_from_translation_server 11:21 -!- BartJol [n=plainstu@host2.procolix.com] has joined #webgui 11:21 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)] 11:26 < CIA-5> WebGUI: jt * r6086 /translations/Spanish/Spanish/ (WebGUI.pm Asset_Post.pm Asset_Collaboration.pm): update_from_translation_server 11:55 -!- Radix-wrk [n=Jesse@203.161.68.67] has quit ["Leaving"] 12:03 < CIA-5> WebGUI: jt * r6087 /translations/Spanish/Spanish/ (Macro_L_loginBox.pm Asset_Post.pm Asset_Collaboration.pm): update_from_translation_server 12:04 < BartJol> whoa, someones doing a good job! 13:45 -!- ryuu_ro [n=rory@194.171.50.69] has left #webgui [] 13:58 -!- BartJol [n=plainstu@host2.procolix.com] has left #webgui [] 15:56 -!- zylopfa [n=zylopfa@port111.ds1-vby.adsl.cybercity.dk] has joined #webgui 15:56 < zylopfa> Greetings 16:06 -!- bopbop [n=kmccombs@71-82-214-154.dhcp.mdsn.wi.charter.com] has joined #webgui 16:13 < CIA-5> WebGUI: yung * r6088 /branch/WebGUI_Userlist: Creating a branch for the Userlist wobject 16:14 < zylopfa> Can i ask a question? 16:43 -!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui 16:43 -!- mode/#webgui [+o rizen] by ChanServ 16:46 -!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit [Client Quit] 16:52 -!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui 16:52 -!- mode/#webgui [+o rizen] by ChanServ 16:55 -!- topsub [n=josh@97.66.185.250] has joined #webgui 17:06 -!- perlmonkey2 [n=perlmonk@ip-129-15-127-253.fennfwsm.ou.edu] has joined #webgui 17:07 -!- doc77777 [n=Doc@10.187-available-ethint-fratm-cc.sccoast.net] has joined #webgui 17:07 -!- dionak [n=diona@97.66.185.250] has joined #webgui 17:09 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui 17:09 -!- mode/#webgui [+o preaction] by ChanServ 17:11 < zylopfa> Am i the only one getting these errors: 17:11 < zylopfa> Pass in object came back undefined for activity (csactivity000000000001) using WebGUI::Asset::Wobject::Collaboration 17:12 < doc77777> Hello 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:13 < zylopfa> To return database quiries use the asset "Data Form" 17:14 < zylopfa> sorry SQL Report 17:15 < zylopfa> yeah use a sql report instance, whereever on the site you need data from a db 17:15 < doc77777> I looked that over but can you make that display nicely formatted tables with say 10 columns and 50 rows of information? 17:15 < zylopfa> Templates can be adjusted for your looks 17:15 <@rizen> zylopfa: check your WorkflowInstance table and make sure that it doesn't have any corrupt or missing data 17:15 < doc77777> See, already have the entire site written and been up over a year. Just trying to integrate it into webgui now ;) 17:16 < zylopfa> doc77777, should be possible 17:16 <@rizen> doc77777: sql report, macro, http proxy, asset in that order 17:16 < doc77777> Was hoping there was a way without starting over and tossing out all the existing perl code. 17:17 <@rizen> doc77777: there's always a way with webgui 17:17 <@rizen> try the other options that i mentioned 17:17 < doc77777> laughs yes I am finding that and it is a lot of fun. 17:17 < zylopfa> doc77777, I have had the same problem as you, i tossed most of the perlcode out 17:17 < doc77777> would I use one of those or all 4 are required? 17:18 <@rizen> http proxy would allow you to not change anything. you just point it to the web server where your perl code lives 17:18 <@rizen> use one 17:18 < zylopfa> ahhh rizen 17:18 < zylopfa> thats what you use that for :O 17:18 <@rizen> with macro you could just embed your perl code into the macro 17:18 < zylopfa> thats pretty imba 17:18 <@rizen> imba? 17:19 < zylopfa> awesome 17:19 < doc77777> could you embed a DB query in the macro? I had some fun with that last night. 17:19 <@rizen> of course 17:19 <@rizen> take a look at WebGUI::SQL and WebGUI::DatabaseLink 17:19 <@rizen> both may be useful to you 17:20 <@rizen> or if you prefer, you can use straight DBI calls 17:21 < doc77777> Very 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 < zylopfa> damn i just manually upgraded to the new 7.4.32 but it complains with every script that it cant load Request.so 17:21 <@rizen> that's the idea 17:21 -!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui 17:21 -!- mode/#webgui [+o Haarg] by ChanServ 17:22 < perlmonkey2> doc77777: 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 < zylopfa> The sites work good, but whenever i use some of the scripts in sbin, it wont load the script 17:23 < zylopfa> And the testEnvironment.pl complains that Apache2::Request isnt installed 17:24 < zylopfa> even if it is (the site is running and all) 17:24 < doc77777> perlmonkey: 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 <@rizen> zylopfa sounds like your path is messed up 17:26 -!- bartjol [n=bartjol@host2.procolix.com] has joined #webgui 17:28 < doc77777> Thank 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:29 -!- bopbop [n=kmccombs@71-82-214-154.dhcp.mdsn.wi.charter.com] has quit [Remote closed the connection] 17:29 < zylopfa> its 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 work 17:29 -!- bopbop [n=kmccombs@71-82-214-154.dhcp.mdsn.wi.charter.com] has joined #webgui 17:30 <@rizen> r u using the wre? 17:30 < zylopfa> no installing from source 17:31 <@rizen> that's your problem likely 17:31 <@rizen> doc77777: go RTFM. do you feel better? 17:32 < doc77777> yea that is the ticket ;) 17:32 < zylopfa> http://webgui.pastebin.com/d34482354 is the error i get 17:32 < zylopfa> Should it be the best to install from source? 17:34 <@rizen> no. the wre is a very complex animal, and it's hard to replicate from DIY source 17:40 < zylopfa> so you say its best to upgrade with WRE? 17:43 <+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:44 < zylopfa> thanks Radix_ 17:44 < zylopfa> when i run testEnvironment.pl it says i dont have Apache2::Request 17:44 < zylopfa> then it supposedly install it and go on without errors 17:44 <+Radix_> been there, done that, know how it feels - I use the wre now :) 17:44 < zylopfa> but when i run it again it says its not installed 17:45 < zylopfa> I am no way going that way 17:45 < zylopfa> I will figure this shit out :D 17:45 <+Radix_> heh.. what distro? 17:46 < zylopfa> fedora 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 too 17:47 <+Radix_> check that libapreq2 is there 17:48 < zylopfa> it is 17:48 < zylopfa> gonna install it again manually from cpan 17:48 <+Radix_> there's two modules in debian - one for libapreq - the other for the perl interface to it 17:48 < zylopfa> yeah also here 17:48 <+Radix_> I'm sure it'd be similar in fedora 17:49 <+Radix_> try cpan then.. might just need the latest version 17:49 < zylopfa> yeah i am on that now 17:53 < topsub> hello everyone. 17:53 <+Radix_> hey topsub 18:20 < CIA-5> WebGUI: yung * r6089 /WebGUI/ (docs/changelog/7.x.x.txt lib/WebGUI/Asset/Wobject/Thingy.pm): fixed: Thingy: field type 'other thing' does not stay selected 18:26 < zylopfa> I am debugging my problem to run upgrade.pl made a test.pl file only with use APR::Request; in it 18:26 < zylopfa> the error it comes forth with is: http://webgui.pastebin.com/d699fa16 18:26 < zylopfa> and the files are there 18:34 -!- perlDreamer [n=ckuskie@nat039.mxim.com] has joined #webgui 18:34 -!- mode/#webgui [+v perlDreamer] by ChanServ 18:36 < zylopfa> perlDreamer, can you maybe help me? 18:39 <+perlDreamer> zlopfa, what's up? 18:39 < zylopfa> I have upgraded to the newest release and now i cant run upgrade.pl 18:40 <+perlDreamer> you can run upgrade.pl, but you get an error. What is it? 18:40 < zylopfa> somehow it wont find: use APR::Request 18:40 < zylopfa> http://webgui.pastebin.com/d699fa16 18:40 < zylopfa> It wont run it ;/ and i just reinstalled libapreq2-2.08 18:40 <+perlDreamer> are you running the WRE? 18:40 < zylopfa> no 18:41 <+perlDreamer> so you say perl upgrade.pl --doit and get the message? 18:41 < zylopfa> no it wont compile 18:41 <+perlDreamer> I'm confused, so maybe we better be pedantic about this. 18:42 < zylopfa> and whenever i run: testEnvironment.pl it says Apache2::Request isnt installed 18:42 < zylopfa> then it install it, but it report the same when i test it again 18:42 <+perlDreamer> which linux distribution are you using? 18:42 < zylopfa> Linux 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/Linux 18:42 < zylopfa> fedora 8 18:43 <+perlDreamer> Does this file exist: /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/APR/Request/Request.so 18:43 < zylopfa> indeed 18:43 < zylopfa> it exist 18:45 <+perlDreamer> permission check on the file and directory? 18:47 < zylopfa> 770 root:root 18:47 <+perlDreamer> and you're running as root now? 18:47 < zylopfa> yeah 18:47 < zylopfa> so it should not be that 18:51 < zylopfa> Its damn strange every time i run testEnvironment.pl it say Apache2::Request is missing 18:51 <+perlDreamer> yes 18:51 < zylopfa> then it install it, and then i cant use Apache2::Request anyway 18:51 < zylopfa> have tried in a test script 18:51 < topsub> hey perlDreamer 18:51 <+perlDreamer> is there a libapreq2-dev? 18:52 < zylopfa> will check 18:53 <+perlDreamer> I have all three of these installed on a FC6 dev box 18:53 <+perlDreamer> perl-libapreq2-2.09-0.rc2.1.fc6 18:53 <+perlDreamer> libapreq2-devel-2.09-0.rc2.1.fc6 18:53 <+perlDreamer> libapreq2-2.09-0.rc2.1.fc6 18:53 <+perlDreamer> hey topsub 18:53 < topsub> perlDreamer, hello Hows your day going? 18:54 <+perlDreamer> Not too bad so far. Need to dig out and eat my breakfast soon :) 18:54 < topsub> hehe, almost lunch time here.. well it is.. its noon! lol 18:54 <+perlDreamer> you're an east coaster 18:54 < topsub> born and raised.. lol 18:55 < topsub> i might get to the west coast one day 18:55 <@preaction> California: Nuke it from orbit, it's the only way to be sure. 18:56 < zylopfa> perlDreamer, i installed the newest from source: 2.08 18:57 <+perlDreamer> zylopfa, I've never done that on a FC box 18:57 < zylopfa> its all i ever do 18:57 <@rizen> topsub, will you be coming to the wuc this year with diona and william? 18:57 < topsub> i believe so 19:01 < topsub> i hope so, love to see the west coast 19:01 < topsub> if its even on the west coast this year 19:01 <+perlDreamer> The west coast of Madison is great. 19:02 <+perlDreamer> Between the two lakes 19:02 < topsub> lol 19:02 <+perlDreamer> Wisconsin 19:02 <@preaction> plus it will be August, so it will be beautiful outside 19:02 <@preaction> maybe unbearably hot, but still 19:02 < topsub> i am use to the heat 19:03 <@preaction> yeah, the only people who will be complaining about the heat will probably be the people who live in wisconsin ;-) 19:03 <+perlDreamer> zylopfa, I'm not sure where to go from here, you need sysAdminDreamer, not perlDreamer from this point on 19:03 < zylopfa> haha ok 19:03 < topsub> lol 19:03 < zylopfa> it seems like some bullcrap, I have installed it but it cant find the perl modules 19:04 < zylopfa> but the Webgui installation works 19:04 < zylopfa> its just the scrpits that doesnt 19:04 -!- bartjol [n=bartjol@host2.procolix.com] has left #webgui [] 19:05 <@preaction> zylopfa, does perldoc Apache2::Request work? 19:05 < zylopfa> yeah 19:05 < zylopfa> and i have found it also in: 19:05 < zylopfa> /usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/Apache2/Request.pm 19:05 <+perlDreamer> preaction: POD is not stored in .so files 19:05 <@preaction> how about perl -MApache2::Request -e'print $Apache2::Request::VERSION'? 19:06 < zylopfa> Can't load '/usr/lib64/perl5/site_perl/5.8.8/x86_64-linux-thread-multi/auto/APR/Request/Request.so' for module APR::Request 19:06 < zylopfa> : libapreq2.so.3: cannot open shared object file: 19:07 < zylopfa> so its something with the linked library file 19:07 <+perlDreamer> Since you installed from source, do you need to rerun ldconfig? 19:07 < CIA-5> WebGUI: yung * r6090 /WebGUI/ (3 files in 3 dirs): fixed: Thingy: delete a thing dysfunctions linked things 19:07 < zylopfa> But it dont say what file it cant find 19:07 < zylopfa> yeah perlDreamer i also did that 19:08 <+perlDreamer> I think it's saying it can't find the Request.so file 19:08 -!- estive1 [n=estiven@201.232.58.66] has joined #webgui 19:08 < zylopfa> but the file is there, exactly where it says it is 19:09 < zylopfa> Maybe i should delete all that has to do with Apache2 and APR and install anew 19:11 <+perlDreamer> I'd suggest yum'ing it 19:12 -!- lisette [n=liraos@201.232.58.66] has joined #webgui 19:12 < zylopfa> FFS now it work 19:12 < lisette> hi 19:12 <+perlDreamer> no way 19:12 < zylopfa> I cant take that it wont work from source install 19:12 < zylopfa> but i think the version is bugged cause yum suggested 2.09-0 19:12 < zylopfa> but that one cant be dl'd from the site 19:13 < zylopfa> and its a damn unstable one 19:13 < lisette> how 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 this 19:13 < zylopfa> Thanks a lot for your help friends! 19:13 < zylopfa> Friend even 19:13 < zylopfa> insane good! 19:13 <+perlDreamer> you're welcome 19:13 <@rizen> what! 19:13 < zylopfa> insane patience you have 19:14 <@rizen> perlDreamer is my friend, he can't be your friend too. 19:14 <@rizen> i *won't* share him 19:14 <@rizen> =) 19:14 < zylopfa> I bet its the libapreq22.08 thats bugged 19:14 < zylopfa> damn it rizen 19:14 < lisette> ? 19:14 < zylopfa> This is awesome!! 19:14 <+perlDreamer> lisette: 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:16 < lisette> no i use the JS to fill this field 19:16 < zylopfa> from now on i will use yum whenever it makes shit to install from source 19:16 < zylopfa> Ahahn nicee upgrade script worked all the way without me having to install some new things 19:17 < lisette> but 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 work 19:20 <+perlDreamer> Ah. That sounds like a bug. 19:21 -!- snapcount [n=royjohns@97.101.2.115] has quit [Read error: 104 (Connection reset by peer)] 19:22 < lisette> ok, thanks 19:25 < zylopfa> does anyone know where the internationalization of "Date Time" fields is ? 19:25 < zylopfa> or does it only work for english? (suppose its a java script then) 19:26 <+perlDreamer> zylopfa, do you mean the JS calendar/time widget? 19:27 < zylopfa> no its in "Data From" asset, when you put a "Date Time" field in, a datepicker js comes up 19:27 <+perlDreamer> Yeah, that's the same thing. 19:27 <+perlDreamer> It's javascript 19:27 < zylopfa> I have found a javascript for it with internal things 19:27 < zylopfa> internationalization things 19:27 < zylopfa> I have a clue that maybe the danish version is old code 19:31 <+perlDreamer> those files are stored in www/extras/calendar/lang 19:31 <+perlDreamer> what do you think is old/wrong? 19:31 < zylopfa> no it seems ok i just watched the files 19:32 < zylopfa> but some weird characters in the danish one, may break the javascript 19:33 <@preaction> 7.5 uses the YUI one i think now 19:34 <+perlDreamer> yes it does. That must be after we branched the Commerce branch. 19:35 <@preaction> dunno if that'll have any impact on I18n 19:36 <+perlDreamer> Haarg, the Email form fix is missing a paren in the new regex 19:37 <+perlDreamer> is it supposed to be ([a-z]{2,9}) ? 19:44 <@preaction> why 2? come to think of it why are we trying to validate email addresses using regular expressions anyway? 19:44 <+perlDreamer> country codes are two letters 19:45 <@preaction> an intranet email address may not even have a . in it anywhere 19:46 < zylopfa> perlDreamer, there is an error in the danish translation that somehow breaks the "Date Time" picker 19:46 < zylopfa> I will correct it and send a patch 19:46 <+perlDreamer> cool 19:48 <+perlDreamer> lisette: 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:51 < CIA-5> WebGUI: doug * r6091 /WebGUI/ (6 files in 5 dirs): 19:51 < CIA-5> WebGUI: fixed: Back to Album link doesn't work 19:51 < CIA-5> WebGUI: fixed: Minor i18n wording discrepencies 19:51 < CIA-5> WebGUI: fixed: Photo->www_showConfirmation Add a Photo link points to the wrong place 19:59 -!- snapcount [n=royjohns@35.3.101.97.cfl.res.rr.com] has joined #webgui 19:59 -!- mode/#webgui [+v snapcount] by ChanServ 20:17 < zylopfa> perlDreamer, i am sending in the patch for the danish version of the datepicker now 20:17 <+perlDreamer> remember, diff -u :) 20:19 < zylopfa> i did ;D 20:19 -!- perlmonkey2 [n=perlmonk@ip-129-15-127-253.fennfwsm.ou.edu] has quit ["Leaving."] 20:19 < zylopfa> is it critical when the danish calender picker didnt work? 20:19 < zylopfa> or should i post it as cosmetical? 20:20 <+perlDreamer> if it's broken and doesn't work, it's critical. 20:20 <+perlDreamer> If it's just ugly looking, it's cosmetic 20:21 < zylopfa> it was broken, where the dates should be in the picker it just said "undefined" 20:21 <+perlDreamer> yeah, that's broken. Unable to pick dates from the date picker 20:21 <@Haarg> i caught that regex typo and fixed it on 7.4, but neglected to port the change 20:22 <+perlDreamer> we need nightly smoke tests in both main branches 20:22 -!- perlmonkey2 [n=perlmonk@ip-129-15-127-253.fennfwsm.ou.edu] has joined #webgui 20:25 < zylopfa> its awesome this quick release of patches 20:26 < zylopfa> every time i find an error i will patch it and send it 20:26 < perlmonkey2> this 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 <+perlDreamer> it's the new weekly release schedule. I'm guessing it keeps Haarg pretty busy, but it's great for getting bugfixes out quickly 20:27 <@rizen> pm2: you don't even need modproxy 20:27 <@rizen> especially not for dev work 20:27 <+perlDreamer> zylopfa: If you keep doing that, you could be given SVN access to WebGUI, which would let you patch WebGUI yourself 20:27 <@rizen> i don't use it on my dev box at all 20:27 < zylopfa> awesome perlDreamer 20:27 < perlmonkey2> rizen: that is very good to know 20:28 < zylopfa> perlDreamer, I will also contribute with a complete danish translation 20:29 <+perlDreamer> You'll have to race to catch up to the Spanish team. They're already up to 25% complete 20:29 < zylopfa> haha i will be quick 20:29 < zylopfa> I would like to translate it in the source tree and upload it if i can 20:29 < zylopfa> it takes too long to do it online 20:29 < zylopfa> via the i18n site 20:30 < zylopfa> and the translations seems to be for old modules 20:30 <+perlDreamer> you'd need to talk to rizen or Haarg about that one. They might takes patches, I don't know 20:31 <+perlDreamer> the i18n server is supposed to keep itself up to date. 20:31 < zylopfa> ohh 20:31 < zylopfa> let me check it again 20:31 <+perlDreamer> If you edit a module with out of date entries, editing an entry is supposed to clean up everything 20:32 < zylopfa> aahh perlDreamer it seems its the correct ones 20:32 < zylopfa> Will the edition of these i18n be taken in every week? 20:32 <+perlDreamer> translated i18n files are available from the server in realtime. They are not included in the core. 20:33 <+perlDreamer> New items from the core are put into the English copy on the translation server weekly 20:33 <+perlDreamer> also, the translations are for 7.5, not for 7.4 20:35 < CIA-5> WebGUI: graham * r6092 /WebGUI/ (docs/changelog/7.x.x.txt lib/WebGUI/Auth/WebGUI.pm): fixed: email validation links can be broken by mail servers 20:35 < CIA-5> WebGUI: graham * r6093 /WebGUI/lib/WebGUI/Form/Email.pm: fix email regex typo 20:36 < zylopfa> thanks a lot perlDreamer 20:53 -!- perlmonkey2 [n=perlmonk@ip-129-15-127-253.fennfwsm.ou.edu] has quit [Read error: 110 (Connection timed out)] 20:59 -!- bopbop [n=kmccombs@71-82-214-154.dhcp.mdsn.wi.charter.com] has quit [] 21:00 -!- lisette [n=liraos@201.232.58.66] has left #webgui [] 21:11 < GooeyOfSteel> Wiki: Translating WebGUI - Created on 4/9/2008 12:58 pm by colink http://www.webgui.org/community-wiki/translating-webgui 21:12 <+perlDreamer> estive1, lisette, zylopfa: if you have other ideas/tips/suggestions about translating WebGUI, please add them to that wiki page. 21:12 < zylopfa> roger that perlDreamer 21:13 < zylopfa> Just translated the addspace asset on the i18n site 21:14 <+perlDreamer> I saw that. The Danish translation went up several tenths of a percent. 21:15 <+perlDreamer> One other thing to keep in mind about the i18n website. 21:15 <+perlDreamer> It's set up so that _anyone_ can translate WebGUI 21:16 <+perlDreamer> So you can have semi-technical help with the translation work 21:17 < zylopfa> sounds good 21:19 <+snapcount> hey rizen, have you ever heard of cpan autobundle? i.e., perl -MCPAN -e autobundle 21:20 <+snapcount> looks like it may simplify wre install quite a bit 21:20 <+snapcount> not sure if it still uses the shell script to install everything 21:22 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui 21:27 <@rizen> no i haven't heard of it 21:27 -!- perlDreamer is now known as gymDreamer 21:27 <+snapcount> it basically bundles all of the installed modules on a system when you run it into a single module 21:27 <+snapcount> then you can install it with perl -MCPAN -e 'install bundle-name.pm' 21:28 <+snapcount> I just came across and I'm trying it out 21:28 <+snapcount> thought I'd put a bug in your ear =) 21:28 <@rizen> if i have to have the modules already installed, then how does it help build the wre? 21:28 <+gymDreamer> snapcount: it makes a list of all the modules on your system, not really making a bundle of what is there 21:29 <+snapcount> oh... so it's not really a snapshot then 21:29 <+snapcount> well shit 21:29 <+gymDreamer> still, once you set up one, it's easy to replicate on another machine 21:30 <@rizen> but at the point that i set it up, it's already in the wre, so again, how does it help build the wre? 21:32 <+snapcount> I see your point 21:33 <@rizen> i guess that would make it easier for people to do source based installs 21:33 <@rizen> though i'm not entirely sure i want to do that 21:34 <@rizen> snapcount, find out if there is a CPAN function that will write the commerce system for me 21:34 <@rizen> that's what i really need. =) 21:34 <+snapcount> that one's easy 21:34 <+snapcount> Bundle::Rizen.pm 21:34 <+snapcount> duh 21:35 <@rizen> oh, and I could use one that will find the bugs in the software, and automatically fix them. 21:44 < CIA-5> WebGUI: jt * r6094 /WebGUI/ (3 files in 3 dirs): - fix: Trapped an exception for corrupt config files. 21:44 < CIA-5> WebGUI: jt * r6095 /branch/WebGUI_7.4/ (3 files in 3 dirs): - fix: Trapped an exception for corrupt config files. 21:45 <@rizen> snapcount: how's the promotion of your orlando mongers going? 21:45 <+snapcount> well we had a few people show up yesterday so I guess that's good =) 21:46 <+snapcount> it was weird because that was the first pm meeting I ever attended 21:46 <+snapcount> everyone seemed to have fun though, said they were coming next month 21:54 -!- wgGuest80 [n=wgGuest8@71-82-214-154.dhcp.mdsn.wi.charter.com] has joined #webgui 21:54 -!- wgGuest80 [n=wgGuest8@71-82-214-154.dhcp.mdsn.wi.charter.com] has quit [Client Quit] 22:05 -!- zylopfa [n=zylopfa@port111.ds1-vby.adsl.cybercity.dk] has quit ["Leaving"] 22:15 -!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has joined #webgui 22:15 -!- mode/#webgui [+v MrHairgrease] by ChanServ 22:36 < topsub> rizen, how far are you planning on taking the commerce system in webgui? 22:37 <@rizen> just far enough to get your hopes up, and not far enough to be useful 22:37 < topsub> lol...hmmmm 22:38 <@rizen> your question was sufficiently vague that it felt appropriate to give such a response 22:39 < topsub> guessing more in the sence of trying to have it compete with more known commerce systems or just to be something small and basic 22:39 < topsub> i have always used cs-cart 22:40 < topsub> being able to intergrate cs cart and webgui together = an awesome package 22:40 <@rizen> no idea what cs-cart can do 22:40 < topsub> demo.cs-cart.com/admin.php admin:admin 22:41 < topsub> :-) 22:41 <@rizen> but 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 stores 22:41 < topsub> nice 22:47 <@rizen> looking at cs cart now it will have many of the features cs cart has, but certainly not go as far as cs cart 22:47 <@rizen> simply because this is our first rev 22:48 <@rizen> they have 80 payment gateways it looks like, and we'll have only 2-4 22:48 <@rizen> for example 22:57 <@rizen> now that i'm looking at this, i did check out cs-cart when i was first doing my research 23:14 < topsub> ah 23:14 < topsub> ya i like it and it seems to be going in a nice direction 23:14 < topsub> smarty template lang. makes it easy to skin 23:15 < topsub> has lots of custom reports you can set up. lots of site management 23:16 <@rizen> after 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 plugability 23:17 < topsub> biggest thing i see people ask me is inventory management 23:17 <@rizen> since in WebGUI Shop the product types are just assets 23:17 < topsub> so if i have the same style shirt in 5 colors can it manage that 23:17 <+gymDreamer> the hooks for inventory management are in WebGUI's C2 already 23:17 -!- gymDreamer is now known as perlDreamer 23:17 <@rizen> the current webgui commerce system can handle that 23:17 < topsub> which cs cart can along with dynamic switching out images for each color 23:17 < topsub> nice, sry i haven't look into the commerce of webgui.. 23:18 <@rizen> we won't be doing dynamic image switching for each color but the multiple color things are handled 23:18 -!- estive1 [n=estiven@201.232.58.66] has left #webgui [] 23:18 < topsub> also the dynamic prices. so if an XXL cost +$2.00 more it updates the price on the fly 23:18 < topsub> little stuff like that adds nice touches 23:18 <@rizen> perlDreamer, aren't you migrating that feature to the new product sku as we speak? 23:19 <+perlDreamer> decoding C1 in batches 23:19 <+perlDreamer> so, yes 23:19 <+perlDreamer> Wobject::Product is now Sku::Product 23:19 <+perlDreamer> now I'm trying to get my arms around WebGUI::Product so I can fold in parameters, variants and options 23:20 < topsub> cs-cart 1.3.5 was just released with a nice fresh look along with more ajax interface.. which can be good and bad 23:20 <@rizen> perlDreamer: if you're feeling ambitious, feel free to throw in dynamic switching images for the variants 23:20 <+perlDreamer> noted 23:21 <@rizen> oh 23:21 <@rizen> we need to talk about that stuff a little bit before you get too far 23:21 <@rizen> do you have time now? 23:21 <+perlDreamer> sure 23:21 <@rizen> ok..the current WebGUI::Product has a sort of sku template thing 23:21 <+perlDreamer> yep 23:21 <@rizen> that is unnecessary 23:21 <@rizen> no need to port it 23:21 <+perlDreamer> good 23:22 <@rizen> however, we do need to still support variants 23:22 <+perlDreamer> what about sku modifier for variants? 23:22 <@rizen> no sku modifier 23:22 <+perlDreamer> this is getting better all the time, keep talking! 23:22 <@rizen> it's all one sku with options 23:22 <@rizen> so you just attach the options to the product when you put it in the cart 23:23 <@rizen> like "red" and "XL" 23:23 <@rizen> however, the tricky thing is that we do need to migrate people from the old products to the new products 23:23 <@rizen> so what i'm thinking there is that you'll generate a new product asset in the import node 23:23 <@rizen> create a folder for it 23:24 <@rizen> for each WebGUI::Product in existence 23:24 <@rizen> then we'll have to parse Layouts, Snippets, Articles, and Templates looking for ^Product(); macros 23:24 <+perlDreamer> ew 23:24 <@rizen> and replace them with ^AssetProxy(); macros 23:25 <@rizen> i don't see any other way unfortunately 23:25 <+perlDreamer> after I get the basics done, I'll call Tiffany and ask her for her database 23:25 <+perlDreamer> that way I'll have a real corpus to practice on 23:25 <@rizen> ok 23:26 <@rizen> so 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:27 <+perlDreamer> I do have an idea about that, but it's evil 23:27 <+perlDreamer> If you temporarily disabled all macros, and eval the template, you'd get the original template back, right? 23:28 <+perlDreamer> So, 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 <@rizen> eval? 23:29 <+perlDreamer> process 23:29 <+perlDreamer> no, it's close but it wouldn't 23:29 <+perlDreamer> because all the template tags will be evaluated 23:30 <+perlDreamer> so maybe just skip the template processing and send the template to the macro processor 23:30 <@rizen> you have the right idea 23:30 <@rizen> but you can't run it through the macro processor either 23:30 <+perlDreamer> no? 23:30 <@rizen> because you'll execute any other macros that are in there 23:30 <+perlDreamer> I'll disable all of them first 23:30 <@rizen> that's foolish hackery and lible to break someone's site 23:31 <@rizen> instead just use the macro processor regex 23:31 <@rizen> without using the macro processor 23:31 <+perlDreamer> and only call the Product macro when you find one 23:31 <@rizen> to do exactly what you want 23:31 <+perlDreamer> okay 23:31 <@rizen> exactly 23:31 <@rizen> but it won't call the product macro either 23:31 <@rizen> it will call some custom code that will turn the product macro into an assetproxy 23:32 <+perlDreamer> okay, that's even better 23:35 <@rizen> anyway, that's about all i needed to say. just thought you'd want to know before you got too far 23:35 <+perlDreamer> if there's anything else that comes up, just give me a holler 23:35 <+perlDreamer> I will say that the new Product will have tons of collateral 23:36 <+perlDreamer> pictures, brochures, warranties, parameters and variants 23:38 <+perlDreamer> zylopfa translated about 2% of WebGUI today for the Danish translation 23:38 <+perlDreamer> good energy 23:46 < perlmonkey2> lots of cool things happening in wG lately 23:46 <+perlDreamer> oh yeah 23:46 <+perlDreamer> The spanish team added about 22% to their translation 23:46 <+perlDreamer> Polish team did 4% 23:46 <+perlDreamer> bugs being fixed 23:46 <+perlDreamer> There's even a guy building a new, Ajax based Survey, of all things 23:47 < perlmonkey2> hah....I hear he's way behind schedule and keeps running into 'interesting' corner cases in the YUI. 23:48 <+perlDreamer> did you figure out what was happening with multiple calendars, yesterday? 23:49 < perlmonkey2> nope.....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:50 < perlmonkey2> But 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:51 < perlmonkey2> meetings all morning...normal work in the afternoon...and now finally back to survey stuff ;) 23:54 <+perlDreamer> rizen: Does C1 do inventory management automatically, or do you have to do it manually? 23:56 <@rizen> C1 has no concept of inventory management --- Day changed Thu Apr 10 2008 00:09 < topsub> ajax based survy sounds interesting 00:09 < topsub> i doing an ajax peice.. bout 30% complete.. lol 00:09 < topsub> 2 macros to write then litttle frontend work to do 00:09 < topsub> so far loving it.. very easy to integrate 00:10 <@rizen> topsub is fired 00:10 < topsub> lol 00:10 < topsub> doh! 00:11 < topsub> i have a prototype.. just intergrating the prototype into webgui 00:11 < topsub> its 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 jquery 00:12 <@rizen> topsub didn't follow the scotty rules for engineering 00:12 <@rizen> nothing is easy 00:12 <@rizen> it's going to take 3 times longer than you have 00:12 < topsub> i am converting from raw javascript to jquery 00:12 < topsub> lol 00:12 < topsub> it prob will 00:12 < topsub> still have the macros to write 00:12 <@rizen> no jquery 00:12 <@rizen> use yui 00:12 < topsub> blah! 00:12 < topsub> jquery! 00:12 <@rizen> don't make me kill you 00:13 < topsub> william and diona would miss me 00:13 < topsub> after i get version 1 out i MIGHT convert to yui 00:14 * perlDreamer has nightmares about jquery and yui battles 00:14 <+perlDreamer> and is thankful nobody has brought up gwt 00:15 <+MrHairgrease> what about gwt? 00:15 <+MrHairgrease> that roxors 00:15 <+snapcount> MrHairgrease: what are you doing here? shouldn't you be at the pub =D 00:15 <+MrHairgrease> err 00:15 <+MrHairgrease> you are right 00:16 <+snapcount> lol 00:16 <+MrHairgrease> but I have to get up very early tomorrow 00:16 <+perlDreamer> not a problem 00:16 <+perlDreamer> 3 beer limit 00:16 <+MrHairgrease> and the Dutch WebGUI drink is tomorrow evening 00:16 <+MrHairgrease> so I guess I can stay at home 00:16 <+perlDreamer> you have to warm up before serious drinking 00:16 <+MrHairgrease> and I'm working on the Movie plugin 00:16 <+MrHairgrease> and I have beer at home 00:16 <+perlDreamer> you could strain your liver 00:17 -!- dionak [n=diona@97.66.185.250] has quit [] 00:17 <+MrHairgrease> perlDreamer: I'm always warmed up 00:17 <+MrHairgrease> you should know that =) 00:17 <+perlDreamer> true 00:18 -!- dionak [n=diona@97.66.185.250] has joined #webgui 00:34 -!- estiven [n=estiven@201.232.58.66] has joined #webgui 00:35 -!- jfluhmann [n=jfluhman@x171y247.angelo.edu] has quit [Remote closed the connection] 00:46 -!- dionak [n=diona@97.66.185.250] has quit [] 00:49 < topsub> is there a test for uploading files in a function? 00:49 <+perlDreamer> what do you mean "function"? 00:49 -!- dionak [n=diona@97.66.185.250] has joined #webgui 00:51 < topsub> i wrote a custom asset to upload files 00:51 < topsub> and i wrote a test faking a post with a file 00:51 < topsub> and tested that it uploaded 00:52 <+perlDreamer> right 00:52 <+perlDreamer> I helped you with some of that, iirc 00:52 < topsub> ya 00:52 < topsub> wasn't sure if i should submit that 00:52 < topsub> using that puedo 00:53 <+perlDreamer> right 00:53 <+perlDreamer> I still don't understand what you're asking 00:59 < topsub> lol can anyone else use that test 01:07 -!- topsub [n=josh@97.66.185.250] has quit [Remote closed the connection] 01:09 <+perlDreamer> well, yes and no 01:09 <+perlDreamer> he left 01:09 <+perlDreamer> I'll tell him tomorrow 01:09 <+perlDreamer> or maybe dionak can go and give him a nuggie for leaving so quickly 01:43 -!- dionak [n=diona@97.66.185.250] has quit [] 01:47 -!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has left #webgui [] 01:54 < CIA-5> WebGUI: graham * r6096 /WebGUI/ (docs/changelog/7.x.x.txt lib/WebGUI/AssetClipboard.pm): fixed: Clipboard select all doesn't work with one item in IE 01:54 < CIA-5> WebGUI: 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 friend 01:54 < CIA-5> WebGUI: graham * r6098 /WebGUI/ (4 files in 3 dirs): fixed: international characters corrupted in titles 02:15 -!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit [] 02:17 < CIA-5> WebGUI: jt * r6099 /branch/WebGUI_Commerce/ (7 files in 5 dirs): 02:17 < CIA-5> WebGUI: fixed more c2 bugs 02:17 < CIA-5> WebGUI: added a workflow activity that removes EMS items from the cart if they've been in there too long 02:17 < CIA-5> WebGUI: graham * r6100 /WebGUI/ (docs/changelog/7.x.x.txt lib/WebGUI/Asset/Post.pm): fixed: Users without karma can transfer karma by rating posts 02:29 -!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has quit ["bbiab"] 02:37 -!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui 02:37 -!- mode/#webgui [+o apeiron] by ChanServ 02:41 -!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"] 02:44 -!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has quit ["leaving"] 02:45 -!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui 02:45 -!- mode/#webgui [+o apeiron] by ChanServ 02: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 #webgui 03:01 -!- doc77777 [n=Doc@10.187-available-ethint-fratm-cc.sccoast.net] has quit [Remote closed the connection] 03:12 -!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has quit [Remote closed the connection] 03:26 -!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has joined #webgui 03:57 -!- 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 #webgui 04:11 -!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui 04:11 -!- mode/#webgui [+v Radix-wrk] by ChanServ 04:36 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit ["Leaving"] 05:04 < topsub> soo just messed up my local install of webgui..lol 05:32 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui 05:32 -!- mode/#webgui [+o preaction] by ChanServ 06:16 -!- 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:17 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Connection timed out] 06:28 -!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has joined #webgui 06:32 -!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has quit [Remote closed the connection] 06:56 -!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI 06:57 < elnino> good evening! Quick question. 06:58 < elnino> I'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? 07:04 < elnino> I've tried page.description and page.properties. without sucess 07:08 < elnino> I looked at the source of WebGUI/asset/wobject and it looks like properties should work. but it doesn't seem to. 07:09 < elnino> never 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:15 < elnino> eh, I'll just post an rfe. I don't see any evidence that it can be done. I need to go to bed. 07:16 < elnino> bye 07:16 -!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has quit ["Leaving"] 08:08 -!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has joined #webgui 08:42 -!- Haarg [n=haarg@24-196-80-80.dhcp.mdsn.wi.charter.com] has joined #webgui 08:42 -!- mode/#webgui [+o Haarg] by ChanServ 09:02 -!- ryuu_ro [n=rory@194.171.50.69] has joined #webgui 09:04 -!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has quit [Remote closed the connection] 09:11 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui 09:11 -!- mode/#webgui [+o preaction] by ChanServ 10:35 -!- zylopfa [n=zylopfa@port111.ds1-vby.adsl.cybercity.dk] has joined #webgui 10:35 < zylopfa> Greetings 11:45 < CIA-5> WebGUI: jt * r6101 /translations/Danish/ (6 files in 2 dirs): update_from_translation_server 11:48 -!- BartJol [n=plainstu@host2.procolix.com] has joined #webgui 11:52 -!- dapperedodo [n=dappered@194.171.50.69] has joined #webgui 11:58 -!- wgGuest68 [n=wgGuest6@194.171.50.69] has joined #webgui 12:05 -!- Radix-wrk [n=Jesse@203.161.68.67] has quit ["Leaving"] 12:16 -!- wgGuest68 [n=wgGuest6@194.171.50.69] has quit [] 12:23 -!- MrHairgrease [n=martin@194.171.50.69] has joined #webgui 12:23 -!- mode/#webgui [+v MrHairgrease] by ChanServ 12:29 -!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has quit [Read error: 110 (Connection timed out)] 12:49 -!- apeiron [n=apeiron@c-71-230-67-187.hsd1.pa.comcast.net] has joined #webgui 12:49 -!- mode/#webgui [+o apeiron] by ChanServ 12:58 -!- wgGuest29 [n=wgGuest2@S010600179ace3ce8.wp.shawcable.net] has joined #webgui 12:59 < wgGuest29> hello 12:59 -!- wgGuest29 is now known as _Dalek3_ 13:00 < _Dalek3_> I'm having difficulties running modproxy on a non-standard port 13:00 < _Dalek3_> it is reverse proxying the web server running on port 80 instead of the modperl instance 13:01 <+snapcount> is your website hostname resolvable from the server you have apache installed on? 13:02 < _Dalek3_> latest wre and webgui, checked the config file and the settings listed on the website for non standard modproxy ports are in the config 13:02 < _Dalek3_> yes 13:03 <+snapcount> can you connect directly to the mod_perl instance from your browser? 13:03 < _Dalek3_> yes 13:04 < _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 added 13:04 <+snapcount> and your modproxy config file appears correct you said? 13:05 < _Dalek3_> yes 13:05 <+snapcount> well, if it's proxying to the correct port then even if the name were resolving incorrectly you would not see anything at all 13:06 <+snapcount> the only way I can see it would proxy to your site on port 80 is if the port is not specified right in sitename.modproxy 13:08 <+snapcount> can you paste the last couple lines from your modproxy.conf to the pastebin? 13:08 < _Dalek3_> sure, hang on 13:08 <+snapcount> and your modperl as well while you're at it 13:09 < _Dalek3_> ok the last few lines from modproxy are on the pastebin 13:11 <+snapcount> what port are you trying to run modproxy on and which port is modperl running on? 13:11 < _Dalek3_> modproxy on 81, modperl on 82 13:11 <+snapcount> k 13:12 <+snapcount> try commenting these lines out 13:12 <+snapcount> RewriteCond %{HTTP_HOST} :81 13:12 <+snapcount> RewriteRule ^/(.*) http://%{SERVER_NAME}/$1 [P] 13:13 <+snapcount> 7 and 8 in your pastebin 13:13 <+snapcount> and restart modproxy 13:13 < _Dalek3_> ok 13:16 <+snapcount> oh 13:17 <+snapcount> and you will probably have to change HTTP_HOST on line 11 to SERVER_NAME 13:17 <+snapcount> this stuff is new in this version of the wre 13:17 <+snapcount> and 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 this 13:18 <+snapcount> if you make that change though I'm pretty sure it will work fine for you 13:19 < _Dalek3_> ok this is interesting.. I commented those out and now modproxy sits there forever trying to start 13:19 < _Dalek3_> checked the modproxy error log and there is a new error there "DNS lookup failure for: localhost:81 returned by /" 13:20 <+snapcount> what happens if you ping localhost from your shell? 13:20 < _Dalek3_> it resolves it correctly to 127.0.0.1 13:21 <+snapcount> and if you ping your website hostname from the shell it resolves to the correct ip as well? 13:21 < _Dalek3_> yes 13:21 <+snapcount> the servername at the top of your modproxy config is correct? 13:21 <+snapcount> i.e., your website host name 13:21 < _Dalek3_> yes 13:22 <+snapcount> did you make the change I said re HTTP_HOST 13:23 < _Dalek3_> ahh! didn't see that 13:24 < _Dalek3_> ok everything started this time, I will try 13:25 < _Dalek3_> yes! that worked 13:25 < _Dalek3_> thank you 13:25 <+snapcount> np... like I said though... that may not be the "right" way to fix it 13:25 <+snapcount> that stuff was added recently and I'm not up to speed on the new wre 13:25 <+snapcount> I would pop in later and ask about it 13:26 <+snapcount> but glad I could help anyway =) 13:26 < _Dalek3_> yeah I thought that line was probably the cause 13:27 < _Dalek3_> the one you had me comment out 13:27 < _Dalek3_> but I didn't know what to change it to and figured it had to be there for some reason 13:27 < _Dalek3_> heh 13:27 <+snapcount> yeah I'm not sure what the goal is with that 13:27 <+snapcount> doesn't make sense to me 13:43 -!- 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 releases 13:43 -!- snapcount_ [n=royjohns@35.3.101.97.cfl.res.rr.com] has joined #webgui 13:43 < _Dalek3_> I love that new style wizard in the newer webgui releases 13:44 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)] 13:51 -!- wgGuest16 [n=wgGuest1@82.109.0.34] has joined #webgui 13:51 < wgGuest16> hi - ok im used to designing sites in dremweaver etc...can GUI import the design etc and then add CMS functionality to it ? 13:51 < wgGuest16> if you get me drift 13:52 -!- dapperedodo_ [n=dappered@194.171.50.69] has joined #webgui 13:53 < wgGuest16> ? 13:56 < wgGuest16> is anyone actually chatting 13:56 < _Dalek3_> wgGuest16 pretty much.. but you will likely want to give your CSS certain names to make things easier 13:56 < wgGuest16> hi 13:57 < _Dalek3_> webgui templates use certain css names by default 13:57 < wgGuest16> MY css file all have names for the divs etc 13:57 < wgGuest16> Iw ouldnt want to use a template 13:57 < _Dalek3_> I don't mean a site template.. article templates and collaboration templates 13:58 -!- snapcount__ [n=royjohns@97.101.3.35] has joined #webgui 13: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 them 13:58 < wgGuest16> oh right i see 13:58 < wgGuest16> could i alter these templates to suit my design style of the site 13:58 < wgGuest16> images layout etc 13:59 < _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 it 13:59 < _Dalek3_> otherwise webgui upgrades will overwrite your changes 13: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 way 14:00 -!- snapcount [n=royjohns@35.3.101.97.cfl.res.rr.com] has joined #webgui 14:00 -!- mode/#webgui [+v snapcount] by ChanServ 14:01 < wgGuest16> Im 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 themselves 14:01 < wgGuest16> so if im right in thinking webgui - import the pages into webgui and the create a news section for them 14:01 < wgGuest16> ? 14:02 < _Dalek3_> you use the collaboration system for news or forums 14:02 < _Dalek3_> it is the same system used for both with a series of templates used to control the look and feel 14:03 < _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 with 14:04 < wgGuest16> I know what im trying to say but trying to say it lol isnt easy 14:05 < wgGuest16> Ok i have a 5 page site 14:05 < wgGuest16> basic blah blah blah 14:05 < wgGuest16> but the news page could do with a feature so they can just add stuff to it 14:05 < wgGuest16> could i import the site once its designed in dreamwevaer and the add features to it in GUI 14:06 < _Dalek3_> right, but it's best to design it with webgui in mind at first in dreamweaver when it comes to your css naming 14:06 < _Dalek3_> you will make life easier for yourself when you want to import it 14:06 < wgGuest16> yeah thats cool 14:06 < wgGuest16> i get the css name stamping needs to be the same 14:07 < _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 beginning 14:09 < wgGuest16> yeah, just add the code to my css ? 14:10 -!- dapperedodo [n=dappered@194.171.50.69] has quit [Read error: 110 (Connection timed out)] 14:11 < _Dalek3_> yeah.. or you may find that it has default names for things that you already gave codes for 14:11 < _Dalek3_> like headings etc 14:13 < wgGuest16> yeah 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 sorted 14: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 work 14:13 < _Dalek3_> yeah pretty much 14:14 -!- snapcount_ [n=royjohns@35.3.101.97.cfl.res.rr.com] has quit [Read error: 110 (Connection timed out)] 14:14 < wgGuest16> sweet 14:14 < wgGuest16> thanks for the help hopefully this cms will help me with other cms projects 14:16 -!- 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 CMS 14:17 < _Dalek3_> you aren't locked in to a specific site structure and look and feel like with most others 14:17 < _Dalek3_> you can also hide options from novice users to make it easier for them to do site updates 14:18 < wgGuest16> so how would my client update their page ? 14:19 < _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 everything 14:19 <+snapcount> I would checkout the demo site if you haven't already 14:19 <+snapcount> demo.plainblack.com 14:23 < wgGuest16> i see now 14:23 < wgGuest16> going to have to have aplay around with it 14:25 < wgGuest16> someone is trying to charge a mate of mine £1000 for a cms 14:27 < wgGuest16> this one looks good enough 14:27 < wgGuest16> for free 14:28 < BartJol> we think it is :) 14:28 <+MrHairgrease> we _know_ it is 14:28 < BartJol> :p 14:31 < wgGuest16> ill 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:35 < BartJol> ok we'll see you around then 14:36 < wgGuest16> Im sure you will :) Ive justs aved someone £1000 14:46 < wgGuest16> thanks for your help guys 14:46 < BartJol> np 15:09 -!- br4k3r [n=8389dbc6@bas3-ottawa10-1279549458.dsl.bell.ca] has joined #webgui 15:09 < br4k3r> sup d00ds 15:15 < BartJol> hi 15:15 < BartJol> i'm fine 15:23 < br4k3r> sweet 15:23 < br4k3r> you wouldn't happen to know how to do image maps in wG would ya 15:25 < BartJol> depends on what you want to know, but it isn't my prime subject 15:26 <+MrHairgrease> image maps are just html 15:27 <+MrHairgrease> so you can use them in webgui as you would on any age 15:27 <+MrHairgrease> page* 15:27 < BartJol> oh, bit numbed by manually renumbering tables... 15:28 < BartJol> but i didn't use it yet 15:42 < br4k3r> so theoretically I can make it up in Dreamweaver, and paste it in? 15:44 < br4k3r> cat's ass... i never thought of that 15:52 < wgGuest16> does webgui have to be nstalled on the hosting server ? 15:54 < br4k3r> you will need shell access to your hosting server 15:54 <+MrHairgrease> wgGuest16, you'll need root access to your server 15:54 <+MrHairgrease> or 15:54 <+MrHairgrease> you can let a dedicated webgui hoster set stuff up for you 15:55 <+MrHairgrease> plainblack obviously does webgui hosting 15:55 <+MrHairgrease> and procolix does too 15:55 <+MrHairgrease> procolix is based in the Netherlands 15:55 <+MrHairgrease> plainblack is based in the US 15:55 < wgGuest16> ok ta 16:01 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui 16:02 -!- wgGuest16 [n=wgGuest1@82.109.0.34] has quit [] 16:34 -!- estiven [n=estiven@201.232.58.66] has quit [Read error: 113 (No route to host)] 16:35 -!- estiven [n=estiven@201.232.58.66] has joined #webgui 16:39 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui 16:39 -!- mode/#webgui [+o preaction] by ChanServ 16:43 -!- topsub [n=josh@97.66.185.250] has joined #webgui 16:57 -!- BartJol [n=plainstu@host2.procolix.com] has left #webgui [] 17:02 -!- dionak [n=diona@97.66.185.250] has joined #webgui 17:03 -!- 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:14 -!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui 17:14 -!- mode/#webgui [+o rizen] by ChanServ 17:18 -!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui 17:19 -!- mode/#webgui [+o Haarg] by ChanServ 17:29 -!- _Dalek3_ [n=wgGuest2@S010600179ace3ce8.wp.shawcable.net] has quit [] 17:36 < topsub> morning everyone 17:38 < topsub> rizen, just for you i started converting my ajax inline editor to use YUI instead of jquery.... 17:38 < topsub> which is a challenge.. but i am doing it 17:40 <@rizen> wahoo!!! 17:41 -!- ryuu_ro [n=rory@194.171.50.69] has quit [] 17:44 <@rizen> you know, you'll actually get a little bit of a performance boost by doing that 17:44 < topsub> when 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 <@rizen> cuz chances are that the yui libraries will already be cached in the user's browser from the rest of webgui 17:44 < topsub> rizen, really? 17:45 < topsub> ah true 17:45 < topsub> its a challege because in jquery to add a listener its simple 17:45 < topsub> yui seems to only let you add a listener to div ids 17:45 <@rizen> it's also simple in yui 17:45 < topsub> not divs with classes 17:45 < topsub> if u can i haven't found it yet.. still learning YUI.. use to jquery 17:45 -!- snapcount [n=royjohns@35.3.101.97.cfl.res.rr.com] has quit [] 17:46 <@rizen> to add metadata to an asset you do 17:46 <@rizen> my $newasset = $someasset->addChild(); 17:46 <@rizen> $newasset->updateMetaData($fieldId, $value); 17:47 < topsub> is summary concidered metadata? 17:47 <@rizen> no the field name is "synopsis" 17:47 < topsub> ahhhh 17:47 < topsub> alright so its in assetData table 17:47 < topsub> little confusing since its summary on the front end 17:47 <@rizen> only the human readable label is summary, because apparently people are so illiterate they didn't know what a synopsis is 17:48 < topsub> lol 17:48 -!- MrHairgrease [n=martin@194.171.50.69] has left #webgui [] 17:49 < topsub> but ya with jquery i can do.. ya jquery is like.. $("div.content").dblclick(function () {}.... i put lsitener on the div.content fields 17:50 < topsub> seems with YUI i have to put it on a div with an ID.... Event.on('contentArea', 'dblclick', function(ev) {} 17:50 < topsub> then use YUI to detect weret he mouse is and see if div.content is wrapped around were the moused clicked 17:50 < topsub> kinda were i left off last night 17:50 < topsub> so its interested.. just alot of reading docs 17:53 -!- lisette [n=liraos@201.232.58.66] has joined #webgui 17:53 < lisette> hello 17:54 < lisette> anybody know if the survey_id is keep in the session? 17:54 <@rizen> its not lisette, and in 7.5 it doesn't exist anymore 17:55 -!- dionak [n=diona@97.66.185.250] has quit [] 17:59 < lisette> mmm, then... how to do to get the surveyId in a macro, do you know? 18:15 < topsub> on 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 call 18:17 < ckotil> i had a similiar issue in my setup. its an easy fix 18:17 < ckotil> lately i noticed pdf2txt spewing errors about not being able to read pdf v 1.6 files 18:17 < ckotil> which should also be an easy fix, just haev to upgrade xpdf. 18:24 < lisette> ? 18:26 -!- dapperedodo_ [n=dappered@194.171.50.69] has quit [] 18:27 -!- dapperedodo [n=dappered@194.171.50.69] has joined #webgui 18:31 -!- wgGuest31 [n=wgGuest3@66-202-165-66.rev.knet.ca] has joined #webgui 18:31 < wgGuest31> hey 18:31 < wgGuest31> I forget, how do I set the uilevel for certain assets in the .conf file? 18:32 < wgGuest31> override the uilevel rather 18:34 < wgGuest31> I know I did it once before but I don't remember how 18:37 <@preaction> wgGuest31, look at etc/WebGUI.conf.original 18:37 <@preaction> it has instructions 18:37 < wgGuest31> ahh! 18:44 < wgGuest31> thanks 18:45 -!- dapperedodo [n=dappered@194.171.50.69] has quit [Read error: 110 (Connection timed out)] 18:51 -!- perlDreamer [n=ckuskie@nat039.mxim.com] has joined #webgui 18:51 -!- mode/#webgui [+v perlDreamer] by ChanServ 19:05 < lisette> how to do to get the surveyId in a macro, who knows? 19:08 -!- dionak [n=diona@97.66.185.250] has joined #webgui 19:11 < perlmonkey2> I'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:12 < perlmonkey2> last questions to complete and I burn out right before the finish line. Story of my life. 19:18 -!- topsub [n=josh@97.66.185.250] has quit ["Konversation terminated!"] 19:21 <+perlDreamer> pacing, perlmonkey2. Take a break every hour for 5 minutes 19:21 <+perlDreamer> lisette, you can't. You'd have to pass it into the macro as a parameter 19:23 < perlmonkey2> oh 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 < perlmonkey2> wg halo I mean. 19:23 < lisette> how? 19:24 <+perlDreamer> well, let's look at the problem. 19:24 < lisette> i mean 19:24 <+perlDreamer> You want the macro in one of the Survey templates? 19:25 < lisette> i need the survey id of the survey that the user do in this moment 19:25 <+perlDreamer> right, so it is in one of the survey templates 19:25 < lisette> i know how to do get the parameter 19:25 <+perlDreamer> good, it's a template variable, right? 19:26 <+perlDreamer> so, in the template you would put this ^myMacro(); 19:33 <+perlDreamer> this works because template variables are replaced before macros are evaluated in the templates 19:33 < lisette> thanks :D 19:52 -!- topsub [n=josh@97.66.185.250] has joined #webgui 20:50 -!- lisette [n=liraos@201.232.58.66] has quit [Read error: 104 (Connection reset by peer)] 21:53 -!- estiven [n=estiven@201.232.58.66] has quit [Read error: 110 (Connection timed out)] 21:54 -!- estiven [n=estiven@201.232.58.66] has joined #webgui 21:57 -!- dionak [n=diona@97.66.185.250] has quit [] 22:00 -!- dionak [n=diona@97.66.185.250] has joined #webgui 22:05 < topsub> its quiet today.. 22:44 -!- crythias [n=gyoung@fl-69-68-148-96.sta.embarqhsd.net] has joined #webgui 22:44 -!- mode/#webgui [+v crythias] by ChanServ 22:44 < diakopter> crythias: make it loud in here 22:57 -!- dionak [n=diona@97.66.185.250] has quit [] 22:57 -!- snapcount [n=royjohns@andc-fw1.exploreos.com] has joined #webgui 22:58 -!- mode/#webgui [+v snapcount] by ChanServ 22:58 -!- dionak [n=diona@97.66.185.250] has joined #webgui 23:02 <+perlDreamer> it only gets loud when people have problems or we daydream 23:02 <+perlDreamer> everybody must be busy today 23:03 <@rizen> it's loud. so LOUD!. Make it L-O-U-D-E-R! 23:03 <+perlDreamer> There once was a smiling young girl from Niger 23:03 <+perlDreamer> Who went for a ride on the back of a tiger 23:03 <+perlDreamer> At the end of the ride 23:03 <+perlDreamer> The girl was inside 23:04 <+perlDreamer> and the smile was on the face of the tiger 23:04 <@rizen> What has four legs in the morning, two legs in the afternoon, and three legs in the evening? 23:04 <+perlDreamer> You are not a sphinx. 23:05 <+perlDreamer> I've seen your head. 23:05 -!- dionak [n=diona@97.66.185.250] has quit [] 23:05 <@rizen> What is this: WORLD WORLD WORLD WORLD WORLD WORLD WORLD 23:06 <+perlDreamer> the output of perl -e 'print qw/WORLD / x 7' ? 23:06 <@rizen> nope 23:09 <+perlDreamer> Steve Ballmer talking about world domination? 23:10 <@rizen> world series 23:10 <@rizen> What is this: 0/tv 23:11 <+perlDreamer> Nothing on tv 23:11 <@rizen> indeed 23:11 <@rizen> see you're catching on 23:11 <+perlDreamer> A box without handles, hinges or lid 23:11 <+perlDreamer> yet inside golden treasure is hid 23:12 <+perlDreamer> what is it? 23:13 <@rizen> i'm apparently dum 23:13 <+perlDreamer> I'm stealing from Tolkien 23:13 <+perlDreamer> Does that give you a clue? 23:14 <@rizen> nope 23:14 <+perlDreamer> It's an egg 23:14 <@rizen> ah 23:15 <@rizen> you did the quote wrong 23:15 <@rizen> A box without hinges, key, or lid, yet golden treasure inside is hid 23:16 <@rizen> but i still wouldn't have gotten it 23:16 <@rizen> =) 23:18 <@rizen> A 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:20 * perlDreamer head spins 23:20 * perlDreamer infinite recursion found, aborting 23:20 -!- topsub [n=josh@97.66.185.250] has quit [Remote closed the connection] 23:20 <@rizen> he's lying 23:21 <@rizen> Even 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 <@apeiron> While that statement may not be true, it is not representative of *all* statements. 23:22 <@rizen> A woman has 7 children and half of them are boys, how is this possible? 23:24 <+perlDreamer> The pronoun them refers to the woman and her 7 children. So she has 3 daughters 23:24 <@rizen> Hint, I love using this riddle on my nieces because you can just replace the nouns and it's a whole new riddle. 23:24 <@rizen> Here's the same riddle put another way 23:24 <@rizen> and you're wrong 23:24 <@rizen> I have three coins totally 55 cents, and one of the coins is not a nickle, what are the coins? 23:25 <+perlDreamer> Two quarters and a nickel 23:25 <@rizen> exactly 23:25 <@rizen> so now what about the one above? 23:25 <+perlDreamer> She has 4 boys (or more) 23:25 <@rizen> yup...they're all boys 23:26 <@rizen> it gets them every time 23:26 <@rizen> you should try it on your boys 23:26 -!- topsub [n=josh@97.66.185.250] has joined #webgui 23:26 <+perlDreamer> I will, unless you want to save it for July 23:26 <@rizen> ooh, or i should try it on topsub 23:26 < topsub> question.. when you delete a file asset when does it get removed from the disk 23:27 <+perlDreamer> Delete sends it to the trash 23:27 <@rizen> i file asset, or an attachment? 23:27 < topsub> file asset 23:27 < topsub> like hwen i import all these pdfs 23:27 <@rizen> when the purge method is called 23:27 <+perlDreamer> Remove from trash purges it, which removes all version immediately 23:27 <@rizen> which is when the trash is emptied 23:27 < topsub> even from disk 23:27 < topsub> ? 23:27 <+perlDreamer> check out Asset::File's purge method 23:27 <@rizen> it only gets removed when purge() is called 23:28 < topsub> does purge clear both user and system trash? 23:28 <+perlDreamer> purge is an API level call 23:28 <+perlDreamer> used when trash is cleared 23:28 <@rizen> purge is an asset call 23:28 <+perlDreamer> regardless of the method 23:28 <@rizen> each asset is purged 23:28 <@rizen> individually 23:29 <@rizen> user and system trash is just an interface thing 23:29 <@rizen> they aren't actually two things 23:29 <@rizen> there's only one trash 23:29 <+perlDreamer> topsub, are these informational questions, or are you seeing funny stuff you don't grok? 23:29 <+perlDreamer> From a user level, I thought they should be called My Trash, and Everyone's Trash 23:30 <+perlDreamer> but that's just semantics 23:30 <@rizen> that's a good idea 23:30 <@rizen> you should update i18n 23:30 < topsub> testing an import script that imports pdfs 23:30 < topsub> into webgui 23:30 <+perlDreamer> rizen, I'll do it in 7.5 HEAD 23:30 <@rizen> topsub, now that we've answered your questions, you have to answer one for me: 23:30 <@rizen> A woman has 7 children and half of them are boys, how is this possible? 23:31 < topsub> 4 boys 23:31 <@preaction> XXY? YYX? 23:31 < topsub> 3 girls + mom = 4 23:31 <@rizen> nope 23:31 <+perlDreamer> them refers to the last object of a sentence, the 7 boys 23:32 <@rizen> damn it pd 23:32 <@apeiron> If we're going to be pedantic, there is only one object. 23:32 <@rizen> the 7 children 23:32 <@rizen> you're supposed to say 23:32 <@rizen> not the 7 boys 23:32 <@rizen> you just gave it away 23:32 <+perlDreamer> crap 23:32 * perlDreamer goes to get the iron again 23:33 <@rizen> you're off the hook this time topsub, but i'll get you 23:33 <@preaction> if at least 4 of them were boys you could say half of them were boys 23:34 <+snapcount> if 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 <+snapcount> that's the only riddle I know 23:35 <+perlDreamer> 0. You shingle a doghouse with waffles 23:35 <+perlDreamer> Everyone knows that 23:35 <@rizen> i know a similar one 23:35 <+snapcount> hah - nice perldreamer 23:36 <+snapcount> usually people just look at me like a special kid waiting for the bus 23:36 <+snapcount> happens more than you would think actually 23:36 <+snapcount> =) 23:36 <@rizen> How long would it take a grasshopper with a wooden leg to kick all the seeds out of a dill pickle? 23:36 <+snapcount> 1. None... because ice cream has no bones. That's my favorite answer 23:37 < diakopter> they 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 <@rizen> A 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 <@rizen> The 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 <@rizen> In the end the boy ended up paying the man $50. How did the man win the bet? 23:39 <+snapcount> the carny asked him how much he weighed before he wrote it down on the paper 23:41 < diakopter> the boy was the carny's twin? 23:41 <@rizen> "your exact weight" 23:41 <@rizen> 3 words on the paper 23:43 <@preaction> Rearrange the letters in "NEW DOOR" to form one word 23:43 < CIA-5> WebGUI: yung * r6102 /WebGUI/docs/upgrades/upgrade_7.5.9-7.5.10.pl: Converting Thingy's field types to upper case first 23:43 < CIA-5> WebGUI: jt * r6103 /translations/Spanish/ (10 files in 2 dirs): update_from_translation_server 23:43 < CIA-5> WebGUI: colin * r6104 /WebGUI/lib/WebGUI/i18n/English/WebGUI.pm: Change the labels for Trash to My Trash and Everyones Trash 23:43 < diakopter> :P one word 23:44 <+snapcount> damn it 23:44 <+snapcount> damn rizen... you're picking spanish up pretty quick hombre 23:45 <+snapcount> =) 23:46 -!- topsub [n=josh@97.66.185.250] has quit [Remote closed the connection] 23:46 <@rizen> hola 23:46 <@rizen> que 23:46 <@rizen> que pass hombre 23:46 <@rizen> pasa 23:46 <@rizen> taco 23:46 <@rizen> burrito 23:47 <@rizen> chichis 23:47 <@preaction> ?donde esta la fiesta? 23:48 <@rizen> donde esta te carne 23:48 <@apeiron> ¿, dammit, preaction 23:48 <@rizen> donde esta carne 23:48 <+snapcount> donde esta el bano... el queso es vieja y ongo 23:48 <@rizen> esta rata 23:48 <+snapcount> I screwed that up I think 23:48 <@preaction> this is a rat burger? 23:48 <@rizen> si 23:54 <@rizen> oh wait, i said where is this meat 23:54 <@rizen> qué es esta carne 23:55 <+perlDreamer> Este es carne de pollo 23:55 <+perlDreamer> El dice con una sonrisa muy grande 23:55 <@rizen> no! esta rata 23:56 <+perlDreamer> Es usted una mentira. Este es carne de pollo 23:56 <+perlDreamer> Yo mato el pollo ayer 23:58 <@rizen> No! mato la rata con un martillo 23:58 <+perlDreamer> Prefiero usar un cuchillo grande 23:59 <@rizen> un martillo grande es mejor --- Day changed Fri Apr 11 2008 00:00 <+perlDreamer> Porque son mis pruebas automaticas rotos? 00:00 <+perlDreamer> Nadie se usa no mas 00:01 -!- dapperedodo [n=dappered@ip56503e61.direct-adsl.nl] has joined #webgui 00:01 <@rizen> un martillo grande ablanda la carne 00:01 <@rizen> no 00:02 <@rizen> you realize of course that i'm using babelfish to do this 00:02 <@rizen> =) 00:02 <@rizen> the only spanish word i know is taco 00:02 <@rizen> =) 00:04 <+perlDreamer> babelfish is good, I also like translate.google.com 00:04 * perlDreamer suspects estiven is either laughing or crying over this abuse of Spanish 00:06 < nuba> hes not alone in that 00:06 -!- SynQ [n=koen@e97024.upc-e.chello.nl] has joined #WebGUI 00:06 <+perlDreamer> pues, esta usted llorando o sonriendo, nuba? 00:07 < SynQ> yahoo! 00:07 <+perlDreamer> I have to learn how to type i18n in this thing 00:07 < SynQ> I have submitted a t-shirt design 00:07 < nuba> just amused 00:07 < nuba> its fun to watch 00:07 < SynQ> I'm so proud of myself 00:07 < SynQ> hi nuba 00:07 < SynQ> colin 00:08 < nuba> hi koen 00:08 <+perlDreamer> hey, koen 00:08 <+perlDreamer> I guess it's not online yet? 00:08 <@rizen> kristi is sick 00:08 <@rizen> so it won't be online for a while 00:08 < SynQ> oh no 00:09 <+snapcount> El un perro eyed smelly es rodillo que patina con una arma de mano grande por la granja. 00:09 <@rizen> her whole house is infected with the plague 00:09 < SynQ> who is replacing kristi while she is sick? 00:09 <+perlDreamer> SynQ, maybe you can get us a sneak peek. 00:09 <@rizen> all 3 kids and her and her husband 00:09 < SynQ> I most definately can 00:09 < SynQ> I can put it on the webgui site 00:09 < SynQ> in the user submission part 00:09 <@rizen> nobody for now because nothing she's doing is pressing 00:10 * nuba is working out at the gym too, now 00:10 < nuba> trying to put a stop in 10 yeas of sedentary geekiness 00:10 < nuba> perlDreamer was inpirational in that matter 00:10 < nuba> figured he's a great hacker, and works out, that must be somewhat related 00:11 < nuba> :D 00:11 < SynQ> rizen: shall I upload it in the Miscellanious section? 00:12 <+perlDreamer> kaleb murphy? Who's that? :) 00:12 <@rizen> sure, or gooey on the go 00:12 <@rizen> if it has a gooey in it 00:12 <@rizen> or flickr 00:12 < SynQ> it is now being uploaded 00:13 -!- jua1 [n=juangui@201.232.58.66] has joined #webgui 00:13 < jua1> hello 00:13 < SynQ> http://www.webgui.org/user_contributions/user_contributions/miscellaneous/wuc-2008-t-shirt-contest-submission-koen 00:13 < SynQ> there it is :) 00:13 < jua1> if i have around 200 pending version tags, can i commit them by console? 00:14 <+perlDreamer> jua1: Spectre should handle them, are you sure that it's running correctly? 00:15 < jua1> the thing is that i have then in the admin console 00:15 <@rizen> i think he's saying they are pending as in have not been commited for spectre to work on yet 00:15 <+perlDreamer> ouch 00:16 < jua1> how can i run them? 00:16 <+perlDreamer> 1) Find the people who have not been committing their tags and punish them severely :) 00:17 <+perlDreamer> 2) Write a small script which finds in the db the tags which are pending, 00:17 <+perlDreamer> creates WebGUI::VersionTag objects for each one 00:17 <+perlDreamer> and then calls the commit method on each object 00:17 < SynQ> perlDreamer: what do you think of my T-shirt design? 00:17 <@rizen> too many gradient shades. won't print well on a t-shirt 00:18 <@rizen> would be better for a poster 00:18 < SynQ> hmm 00:18 < SynQ> shit 00:18 <+perlDreamer> I love the design. Very cool. 00:18 <+perlDreamer> I would let my wife wear it 00:19 < jua1> all of them have the admin users as a owner 00:19 < SynQ> I'll have another go at it 00:19 < SynQ> but not today 00:19 <+perlDreamer> jua1: I was joking about #1 00:19 <+perlDreamer> but you'll need a script for #2 for sure 00:19 < SynQ> at least it is submission # one 00:20 < SynQ> now it's time for bed 00:20 < SynQ> nite 00:22 -!- wgGuest31 [n=wgGuest3@66-202-165-66.rev.knet.ca] has quit [] 00:24 < jua1> ok 00:27 <@Haarg> perlDreamer, can you help me out with PseudoRequest for a bit? 00:37 <+perlDreamer> You bet, Haarg 00:37 <+perlDreamer> I'm doing some cosmetic surgery on a schematic, so I might be slow in answering 00:37 <@Haarg> t/Session/Output.t calls print a bunch of times on the output object 00:38 <@Haarg> it seems like for each one, it recreates the PseudoRequest 00:39 <+perlDreamer> let me flip back to 7.5 00:40 <@Haarg> the test is broken right now because it's testing STDOUT 00:40 <@Haarg> but it isn't outputting to STDOUT anymore 00:42 <+perlDreamer> and PseudoRequest doesn't have print method, either 00:42 <@Haarg> yeah 00:43 <@Haarg> i was trying to add that and have it store the results 00:43 <@Haarg> i'm just not finding why there's a new PseudoRequest for each call to print 00:44 <+perlDreamer> you mean a new object? 00:44 <+perlDreamer> each time print is called? 00:44 <@Haarg> that's what i'm seeing 00:45 <+perlDreamer> how do you tell that there's a new object? Are you testing its memory address? 00:45 <@rizen> my tshirt design (though I'm not eligible): http://www.webgui.org/webgui/campaigns/gooey-on-the-go/gooey-has-wings#3WyDder0Y0jzUba_gpR50Q 00:45 <+perlDreamer> The image "http://www.webgui.org/uploads/FO/p4/FOp4kDBd12TO-mC1YYtgHA/gooey-has-wings.jpg" cannot be displayed, because it contains errors. 00:45 <@Haarg> yeah, i was just printing out $self in the print method i created with a warning 00:46 <@rizen> weird 00:46 <+perlDreamer> way 00:46 <@Haarg> works here 00:47 <+perlDreamer> can you nopaste me a patch 00:47 <+perlDreamer> (this would be a good reason for me to learn git....) 00:47 <@Haarg> i meant the image 00:47 -!- dapperedodo [n=dappered@ip56503e61.direct-adsl.nl] has quit [] 00:48 <+perlDreamer> Now I get "not found" 00:48 <@rizen> fixed 00:48 <@rizen> i replaced the image 00:48 <+perlDreamer> thanks 00:48 <@rizen> go back to the link i gave 00:48 <+perlDreamer> Yes, I see it now 00:50 <@Haarg> this is what i was trying to do: http://pastebin.ca/980259 00:52 <+perlDreamer> that's pretty straight forward code 00:53 <@Haarg> yeah, but each $output->print call seems to generate a new request 00:55 <+perlDreamer> ...patching 00:55 <+perlDreamer> have you run a syntax check on the file? 00:55 <+perlDreamer> PseudoRequest? 00:56 <@Haarg> yeah 00:56 <+perlDreamer> I have a suspicion that the second my in print is stomping on the object 00:56 <@Haarg> and the code gets called fine 00:56 <+perlDreamer> since you can't my a hash key 00:56 <@Haarg> heh 00:57 <@Haarg> that's probably it 00:57 <@Haarg> yeah 00:57 <+perlDreamer> that is it? 00:57 <@Haarg> yep, thanks. dumb mistake. 00:58 <+perlDreamer> You're welcome. 00:59 <+perlDreamer> Thank you for fixing the tests. 01:11 < perlmonkey2> bah, the yui sliders are bugged... 01:17 < perlmonkey2> luckily I can turn off event handling easily enough and do my own. 01:25 -!- jua1 [n=juangui@201.232.58.66] has left #webgui [] 01:28 <+perlDreamer> estiven: if juan needs help with that script, I can help him a little tomorrow 01:31 -!- snapcount [n=royjohns@andc-fw1.exploreos.com] has quit [] 01:38 -!- perlDreamer [n=ckuskie@nat039.mxim.com] has left #webgui [] 01:38 -!- perlDreamer [n=ckuskie@nat039.mxim.com] has joined #webgui 01:38 -!- mode/#webgui [+v perlDreamer] by ChanServ 01:46 < CIA-5> WebGUI: graham * r6105 /WebGUI/ (3 files in 3 dirs): fixed: gateway macro not usable in links in rich editor 01:46 < CIA-5> WebGUI: graham * r6106 /WebGUI/ (4 files in 4 dirs): fixed: iCal feeds don't update properly when events are changed 01:46 < CIA-5> WebGUI: graham * r6107 /WebGUI/ (docs/changelog/7.x.x.txt lib/WebGUI/AssetLineage.pm): fixed: getLineage with joinClass only joins first table in definition 01:46 < CIA-5> WebGUI: graham * r6108 /WebGUI/t/ (lib/WebGUI/PseudoRequest.pm Session/Output.t Session/Style.t): fixing tests for new output method 01:46 < CIA-5> WebGUI: graham * r6109 /WebGUI/docs/create.sql: preparing for 7.5.10 release 01:46 < CIA-5> WebGUI: jt * r6110 /releases/WebGUI_7.5.10-beta: Release 7.5.10-beta 02:02 -!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"] 02:12 < CIA-5> WebGUI: graham * r6111 /WebGUI/lib/WebGUI.pm: make sure RequestIO is loaded 02:12 < CIA-5> WebGUI: jt * r6112 /releases/WebGUI_7.5.10-beta/WebGUI: Release 7.5.10-beta 02:12 < CIA-5> WebGUI: graham * r6113 /WebGUI/ (4 files in 4 dirs): preparing for 7.5.11 dev 02:31 -!- snapcount [n=royjohns@andc-fw1.exploreos.com] has joined #webgui 02:31 -!- mode/#webgui [+v snapcount] by ChanServ 02:43 -!- perlDreamer [n=ckuskie@nat039.mxim.com] has quit ["Download Gaim: http://gaim.sourceforge.net/"] 02:44 < CIA-5> WebGUI: colin * r6114 /WebGUI/t/lib/WebGUI/PseudoRequest.pm: add POD to PseudoRequest. Also, refactor initializing the cached print values 03:09 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [No route to host] 03:26 -!- snapcount [n=royjohns@andc-fw1.exploreos.com] has quit [] 03:30 -!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui 03:46 -!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui 03:46 -!- mode/#webgui [+v Radix-wrk] by ChanServ 04:16 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui 05:32 -!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has quit [] 05:47 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit ["Leaving"] 05:55 -!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit [] 06:57 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [Read error: 113 (No route to host)] 08:17 -!- dapperedodo [n=dappered@194.171.50.69] has joined #webgui 08:32 -!- dapperedodo [n=dappered@194.171.50.69] has quit [] 09:36 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui 09:36 -!- mode/#webgui [+o preaction] by ChanServ 09:42 -!- Haarg [n=haarg@24-196-80-80.dhcp.mdsn.wi.charter.com] has joined #webgui 09:42 -!- mode/#webgui [+o Haarg] by ChanServ 10:46 -!- BartJol [n=plainstu@host2.procolix.com] has joined #webgui 11:33 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)] 11:53 -!- Radix-wrk [n=Jesse@203.161.68.67] has quit ["Leaving"] 12:57 -!- CIA-51 [n=CIA@208.69.182.149] has joined #WebGUI 12:57 -!- CIA-51 [n=CIA@208.69.182.149] has quit [Excess Flood] 12:58 -!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: @Haarg, ckotil, perlbot, BartJol, SynQ, steveo_aa, metanil, SDuensin, +Radix_, @apeiron 12:59 -!- Netsplit over, joins: @Haarg, BartJol, SynQ, @apeiron, perlbot, ckotil, steveo_aa, +Radix_, SDuensin, metanil 13:00 -!- CIA-51 [n=CIA@208.69.182.149] has joined #WebGUI 13:02 -!- CIA-5 [n=CIA@208.69.182.149] has quit [] 13:20 -!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has quit ["Windows doesn't have users, it has hostages."] 13:46 -!- BartJol [n=plainstu@host2.procolix.com] has quit [Read error: 113 (No route to host)] 14:06 -!- BartJol [n=plainstu@host2.procolix.com] has joined #webgui 14:39 -!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui 14:55 -!- estiven [n=estiven@201.232.58.66] has left #webgui [] 15:11 -!- SynQ [n=koen@e97024.upc-e.chello.nl] has quit [Read error: 104 (Connection reset by peer)] 15:18 -!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui 15:23 -!- br4k3r_ [n=8389dbc6@bas3-ottawa10-1279549458.dsl.bell.ca] has joined #webgui 15:23 < br4k3r_> mornin d00ds 15:23 < br4k3r_> is there any repository to find the perl modules for wG in one stop 15:26 -!- dionak [n=diona@97.66.185.250] has joined #webgui 15:29 -!- br4k3r_ is now known as br4k3r 15:34 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui 15:41 -!- br4k3r [n=8389dbc6@bas3-ottawa10-1279549458.dsl.bell.ca] has left #webgui [] 16:09 -!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit [Remote closed the connection] 16:14 -!- dionak [n=diona@97.66.185.250] has quit [] 16:16 -!- dionak [n=diona@97.66.185.250] has joined #webgui 16:24 -!- doc777 [n=Doc@10.187-available-ethint-fratm-cc.sccoast.net] has joined #webgui 16:28 < doc777> I 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:30 < perlmonkey2> doc777: are you using the wG api for your db calls, or just dbi? looksl ike dbi. 16:31 < doc777> Well, I started with the SQLExt.pm as a base.... 16:34 < doc777> I am using use WebGUI::DatabaseLink; and WebGUI::SQL; 16:35 < perlmonkey2> doc777: there are several methods in there...you probably want the arrayrefofhashrefs 16:35 < perlmonkey2> that brings back an array ref and each node is a hash ref where the keys are your column names in the selec.t 16:36 < doc777> Aha, yes was trying with array_ref but gave me undefined bla bla ;) 16:36 < perlmonkey2> ->db->buildArrayRefOfHashRefs( 16:36 < doc777> Ok, let me go research that. Maybe that is the missing link. ;) 16:37 < perlmonkey2> you 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:38 < doc777> Trying 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:39 < perlmonkey2> if it is a large site, I'd probably go with its own wobject. But without knowing more about it, I can't say. 16:40 < perlmonkey2> macros 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 < doc777> Its 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 < perlmonkey2> oh...in that case macros might be just fine and the easiest solution. 16:41 -!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui 16:51 -!- jfluhmann [n=jfluhman@x171y235.angelo.edu] has joined #webgui 16:54 -!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui 16:55 -!- mode/#webgui [+o rizen] by ChanServ 17:06 -!- Haarg [n=haarg@24-196-80-80.dhcp.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"] 17:22 -!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui 17:22 -!- mode/#webgui [+o Haarg] by ChanServ 17:22 -!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has quit [Client Quit] 17:50 < doc777> Can anyone tell me the proper way to map array data to fields with WebGUI::DatabaseLink Something like: 17:50 < doc777> while (@data = $sth->array) { 17:50 < doc777> my $id = $data[$1]; 17:50 < doc777> my $speaker_id = $data[$2]; 18:01 -!- wgGuest81 [n=wgGuest8@user-514d1a56.l3.c1.dsl.pol.co.uk] has joined #webgui 18:02 < BartJol> good afternoon 18:02 < wgGuest81> hello 18:02 < wgGuest81> is the If macro still in existence? 18:03 < BartJol> I don't see it in my table with available macros 18:03 < BartJol> but i'll check the add-ons 18:04 < BartJol> you can download it on 18:04 < BartJol> http://www.webgui.org/if_macro#wU6ddC2BwcjvopR2AUTkhw 18:05 <@rizen> doc777 either do: 18:05 <@rizen> while (my ($id, $speaker) = $sth->array) { 18:05 <@rizen> or do 18:05 < BartJol> the locomotion? 18:06 <@rizen> while (my %data = $sth->hash) { 18:06 < wgGuest81> thanks 18:06 <@rizen> the if macro no longer exists in webgui 18:06 <@rizen> it's dangerous and bad 18:06 < wgGuest81> oh 18:06 < doc777> Thank you rizen. I will go test this. 18:07 < wgGuest81> i was trying to test whether a navigation had any output - what might be a good way to do that? 18:08 <@rizen> use the if in the template 18:08 <@rizen> there are 3 template engines you can use 18:08 <@rizen> each with more power 18:09 <@rizen> you start with HTML::Template 18:09 <@rizen> but then you can also use HTML::Template::Expr and Template Toolkit 18:09 <@rizen> see WebGUI.conf.original for how to enable them 18:09 < BartJol> oh rizen, good news, Koen is the new chairman of the dutch webgui association 18:09 * wgGuest81 goes and looks 18:09 <@rizen> why is that bad news? 18:09 < wgGuest81> thanks 18:10 <@rizen> yw 18:10 < BartJol> good 18:10 <@rizen> oh good news 18:10 <@rizen> sorry brain not firing on all synapses today 18:10 < BartJol> i'm not always sarcastic 18:10 <@rizen> so what does that mean for the rest of the webgui world? 18:10 < BartJol> well, the drink yesterday was a good one 18:11 < BartJol> well, he's the iceberg and webgui is the titanic 18:11 < BartJol> :) 18:12 <@rizen> that's no good 18:12 < BartJol> well, probably a more company set of mind 18:12 <@rizen> i'd rather he be hitler and webgui be the allies 18:12 <@rizen> =) 18:12 < BartJol> he wants companies to join the association in addtion to people 18:13 <@rizen> that seems smart to me 18:13 < BartJol> koen is no hitler, maybe a che 18:13 < BartJol> good intentions 18:13 <@rizen> i was actually kidding 18:13 < BartJol> and the results.... 18:13 < BartJol> me to 18:14 <@rizen> i'd rather koen be churchill and webgui be the allies 18:14 <@rizen> and joomla should be hitler 18:14 <@rizen> =) 18:14 < perlmonkey2> any ideas on why an html form would be instantly closing itself automagically before any inputs are being added to the page? 18:14 < BartJol> and drupal mussolini? 18:14 <@rizen> yup 18:15 -!- lisette [n=liraos@201.232.58.66] has joined #webgui 18:15 < perlmonkey2> joomla is the main wG FOSS compeitition? 18:15 < lisette> hi 18:15 < BartJol> well they are popular 18:15 <@rizen> pm2 paste your code 18:15 < BartJol> but drupal is more comparable to webgui I think 18:15 <@rizen> joomla 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 hosts 18:15 < BartJol> but that's just an rough estimate 18:16 <@rizen> the only things i'm aware of in the FOSS world that compete with webgui are Plone and Typo3 18:17 < BartJol> I spoke to some guys of joomla and showed them WebGUI, ther were fairly impressed 18:17 < BartJol> and right they were 18:18 < lisette> i change in the create account template tmpl_var_username by and when i try to register show me the next error: the username can't be in blanck 18:18 < lisette> how to do? 18:18 < lisette> i do this because i need to tell to the field in event javascript onBlur, then i put manually in the template 18:18 < lisette> the error is by this? 18:18 < BartJol> well what does the webgui.log say? 18:19 < BartJol> it might be more specific 18:20 < lisette> nothing 18:20 < BartJol> tmpl_var is also a way to request for the name, input is for enetering a value 18:21 < BartJol> maybe you can use the user macro instead 18:21 -!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has quit ["Leaving."] 18:21 < lisette> no 18:21 <@rizen> pm2: r u going to pastebin your code? 18:21 -!- dionak [n=diona@97.66.185.250] has quit [] 18:22 < wgGuest81> rizen: i changed to this: 18:22 < wgGuest81> "templateParsers" : ["WebGUI::Asset::Template::HTMLTemplate", "WebGUI::Asset::Template::HTMLTemplateExpr"], 18:22 < wgGuest81> and 18:22 < wgGuest81> "defaultTemplateParser" : "WebGUI::Asset::Template::HTMLTemplateExpr", 18:23 < wgGuest81> and i put a tmpl_if thing in my template 18:23 <@rizen> read this: http://search.cpan.org/dist/HTML-Template-Expr/Expr.pm 18:23 < wgGuest81> 18:24 < lisette> On 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 message 18:24 <@rizen> and when editing your template you need to switch to HTMLTemplateExpr 18:24 < wgGuest81> ah ok 18:26 < lisette> ? 18:27 < BartJol> is it the anonymous registration template, i can't see a ? 18:27 < lisette> yes 18:29 < BartJol> then what about the 18:31 < BartJol> so how do you replace something that isn't there 18:31 < lisette> 18:31 < BartJol> ah 18:32 < perlmonkey2> bah, 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 < perlmonkey2> s/Anything/Anyone/ 18:33 < BartJol> ah 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 it 18:34 < BartJol> write other code 18:34 < BartJol> and that's besides the api, so I do not encourage that 18:34 < BartJol> maybe a class and some css might do the trich 18:34 < lisette> 18:35 <@rizen> pm2 it's really hard to answer your question when i can't see and don't know anything about your code 18:35 < BartJol> but I've got to leave 18:35 < BartJol> so goodluck and goodbye 18:35 -!- BartJol [n=plainstu@host2.procolix.com] has left #webgui [] 18:38 < perlmonkey2> rizen: 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:39 <@rizen> if you build it from js, why can't you assign it an id if you want to? 18:42 -!- perlDreamer [n=ckuskie@nat039.mxim.com] has joined #webgui 18:42 -!- mode/#webgui [+v perlDreamer] by ChanServ 18:42 < perlmonkey2> I'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:43 <@rizen> i don't understand any of the problems you're having so i can't offer any advice 18:44 < perlmonkey2> yeah, 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 < perlmonkey2> just 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:45 < perlmonkey2> But it woudl have been much slicker to use the Communction objects setForm method which magically does this for you. 18:47 -!- wgGuest81 [n=wgGuest8@user-514d1a56.l3.c1.dsl.pol.co.uk] has quit [] 18:52 <+perlDreamer> The translation posting on the forums is the best multilingual content idea that I've heard to date. 18:53 <+perlDreamer> http://www.webgui.org/etcetera/translation-workflow 18:54 <@rizen> sounds interesting but i have no idea how it would work 18:55 <+perlDreamer> Did you read my post, too? 18:55 <@rizen> but you're right, it does sound like the best idea to date if we can overcome the how it would work part 18:55 <@rizen> es 18:55 <@rizen> yes 18:55 -!- lisette [n=liraos@201.232.58.66] has left #webgui [] 18:55 <@rizen> here's my problem with it...the part i don't understand: 18:55 <@rizen> it creates the page in the various language sites 18:55 -!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui 18:55 -!- mode/#webgui [+o Haarg] by ChanServ 18:55 <@rizen> how does it keep track of page relationship hierarcies 18:55 <@rizen> hierarchies 18:56 <@rizen> as well as which page represents which other page 18:56 <+perlDreamer> I figure it would use your language branch idea, but it does need other info as well. 18:56 <+perlDreamer> The workflow would have to know the names of each language branch 18:56 <+perlDreamer> English = /root/home 18:56 <+perlDreamer> Spanish = /root/es 18:56 <+perlDreamer> and so on 18:57 <@rizen> soyou're saying it would match them up by url then? 18:57 <+perlDreamer> in the first version, yes 18:57 <@rizen> if that's the case then the urls couldn't be translated 18:57 <+perlDreamer> yes 18:58 <+perlDreamer> maybe some WebGUI::URL magic is needed, too 18:58 <+perlDreamer> without the translated URLs, is the idea kaput, or just less attractive? 19:00 <+perlDreamer> also, it doesn't handle things that aren't versioned, like deletion and lineage changes 19:02 <@rizen> the idea is not kaput, but we need a way of relating the assetId of one page to another 19:02 <@rizen> maybe it's just another field in the asset table 19:02 <@rizen> but we need something that says page Y is directly related to page X 19:03 <@rizen> so that when either page X or Y are updated then it notifies the maintainer of the other page to update 19:03 <@rizen> and it has to be done at the assetId level 19:03 <@rizen> not somethign changable like urls or lineage 19:16 -!- topsub [n=josh@97.66.185.250] has joined #webgui 19:47 <+perlDreamer> Maybe we should table the idea for now, and concentrate on Commerce (and $dayJob). 19:48 <+perlDreamer> We can always pick up and brainstorm later 20:16 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui 20:16 -!- mode/#webgui [+o preaction] by ChanServ 20:16 <+perlDreamer> for every action, there is a Wisconsin, hacker based preaction 20:18 < topsub> hello 20:19 < topsub> hows everyones friday going 20:19 <+perlDreamer> friday is good 20:19 < topsub> just the word friday is nice 20:19 <+perlDreamer> although I hear that Friday on the east coast is better, because 5:00pm comes sooner :) 20:19 < topsub> lamo 20:20 < topsub> but that means i been up before west coast saw sun 20:20 <+perlDreamer> maybe it's just a pipelining issue 20:21 <+perlDreamer> so how are things at Knowmad? Are you guys full and busy and happy? 20:21 <@apeiron> For 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 < topsub> very busy!!! 20:22 <+perlDreamer> that's great for business, but often hard on devs in the long term :) 20:22 <+perlDreamer> still, job security is very nice 20:22 < topsub> lol guess long as i can do something right 20:23 < topsub> i 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 <+perlDreamer> paste? 20:23 < topsub> http://webgui.pastebin.com/m7760256a 20:24 < topsub> happening alot 20:24 <+perlDreamer> good read on the state of perl testing: http://use.perl.org/~Alias/journal/36128 20:24 < topsub> so something is going crazy 20:24 < topsub> trying to backtrack where its coming from 20:24 <+perlDreamer> This is in custom code? 20:24 <+perlDreamer> haven't seen that otherwise 20:25 <+perlDreamer> does it happen periodically (regularly) like in a Workflow? 20:25 <+perlDreamer> or at random intervals? 20:25 < topsub> seems regularly 20:26 <+perlDreamer> what's the interval? 20:26 <+perlDreamer> and can you paste in some context with the error? 20:26 < topsub> either like workflow or when someone hits a certain page in the application 20:27 < topsub> well i don't know were its coming from all i see in the error log is that line ton of times.. 20:27 <+perlDreamer> try this. Can you correlate the webgui.log error with Apache site log to see if it's a page? 20:27 < topsub> hmm maybe 20:28 < topsub> let me pull both logs up 20:28 < topsub> got them both up and i wait and see 20:29 < topsub> i think this might be a start to track 20:29 <+perlDreamer> is the interval short (like a few minutes)? 20:29 < topsub> as one of our macros is outputing to the log for info.. and its like rightbefor that macro happens i see the other error 20:30 < topsub> seems its coming from when a user visits a page which maybe calls one of our macros 20:30 < topsub> that causes this error 20:31 < topsub> thanks perlDreamer.. nice idea.. have to backtrack the users path threw the website 20:31 < topsub> to see what macro / page they visit 20:31 < topsub> see if the errors comes from one of the pages / macos that get called 20:31 <+perlDreamer> if you know it's a custom macro, it's a much smaller amount of code to debug 20:33 < topsub> ya think it might be that or something its calling 21:04 < doc777> How would be the best way to link to .mp3 recordings stored in a folder, not in webgui? They used to be in ...com/recordings on the orginal site. I seem to be missing something very simple ;) 21:04 <+perlDreamer> doc777: You could configure a passThru URL in your WebGUI.conf file, and then just use regular file links. 21:05 <+perlDreamer> Alternately, I think there is a fileUpload script to upload lots of files that are not in WebGUI into a folder inside WebGUI 21:07 < doc777> In this case the system records "live" and stores them in a folder on the computer. Then they can be listened to on the web. At least that is the way it is supposed to work. We are talking hundreds of files... 21:07 < doc777> so adding them into webgui probably isnt the right thing. maybe the passthrough. 21:07 <+perlDreamer> yes 21:08 <+perlDreamer> that was yes to your previous statement. WebGUI doesn't care about the size of your locally files. 21:08 <+perlDreamer> A workflow could be written to add them automatically after they are put into their regular place 21:08 <+perlDreamer> but that's all preference, not practicality 21:09 < doc777> Ah, yea that would be an option as well. I will check the passthru first. Thanks! 21:14 -!- topsub [n=josh@97.66.185.250] has quit [Remote closed the connection] 21:15 <+perlDreamer> that gives me an idea for a new asset, actually. 21:16 < doc777> While on that subject.... I am guessing that a passthru will leave the files exposed to the internet where bots would download them all day... Is there a way around that? 21:16 <+perlDreamer> well, there's always robots.txt, or standard Apache authentication 21:16 <+perlDreamer> but if you want user/group level access, that would mean importing them into WebGUI 21:17 < doc777> The apache basic is what we have been using but yes, its better to have group access. 21:18 < doc777> Does the whole file I guess have to be imported into webgui or can it be short cut or linked somehow. It runs into gigabytes. 21:18 <+perlDreamer> well, if you store it once inside WebGUI, or once outside of WebGUI, does it matter? 21:18 <+perlDreamer> WebGUI does not import files into the db, if that's your concern 21:19 <+perlDreamer> and you can bypass the apache file size limit since importing is done by script on the server 21:19 < doc777> That was part of it but backing up webgui up will be fun ;) Where "would" they be stored in that case as we like to be able to put our hands on the actual file if needed. 21:20 <+perlDreamer> In the uploads directory, there is a mini-filesystem based on assetId 21:21 < doc777> ok, will go poke around in there a bit. Thanks ;) 21:21 <+perlDreamer> so, site/www/uploads/XX/YY/XXYY{18 more characters of assetId} 21:22 <@preaction> storageId 21:23 <@preaction> assetId and storageId should be completely unrelated 21:23 <@preaction> well, except in the database 21:23 <+perlDreamer> right, but they both GUIDs 21:23 <+perlDreamer> I shouldn't have confused them 21:25 <+perlDreamer> preaction: can you think of any other downsides to importing them into WebGUI? 21:26 <@preaction> no, but i can think of many upsides 21:26 <+perlDreamer> me, too 21:26 <@preaction> by putting them as File assets inside of a Folder you could make RSS feed out of a shortcut to that folder and have subscribable podcast thingys 21:27 <+perlDreamer> but since talking with doc777, I've been thinking of a passThru Folder Asset, that would just template the file data for pretty display inside of wG. Kind of hybridizing the passThru idea with an Asset. 21:28 <@preaction> sounds like a new URL handler 21:28 <+perlDreamer> URL handlers aren't templated? 21:28 <@preaction> no 21:29 <@preaction> i mean, you could implement it 21:29 <@preaction> something in the config file perhaps 21:29 <@preaction> wish there was an easy way to add to the Settings 21:30 <+perlDreamer> yes, point to a template URL or something 21:30 <+perlDreamer> but Assets are easier and directly user accessible 21:31 <@preaction> true, a custom asset could do the trick 21:32 <@preaction> i worry that the custom asset, if it falls into the wrong hands, could be used to list the /etc directory, for example 21:32 < perlmonkey2> anyone bored and want to give me the short howto on reading file uploads from Form.pm? 21:32 <@preaction> but that could be protected against 21:32 <@preaction> perlmonkey2, you mean the WebGUI::Form::File control? just $session->form->get('name','File'); should give you a storageId 21:33 <+perlDreamer> I was thinking that it would only allow access to configured passThru URLs 21:33 <+perlDreamer> but it could be given the same file protections as the Include macro 21:33 <@preaction> i was thinking only things under the apache DocumentRoot 21:33 <+perlDreamer> but that only works for things inside the wG file system with appropriate access files 21:34 < perlmonkey2> preaction: storageid? wG's Form asset is automatically storing files uploaded from an html form int the DB? 21:34 <+perlDreamer> otherwise you can bypass the normal access 21:34 <@preaction> you can put anything inside the documentroot, the uploads folder is just one thing in there 21:35 <+perlDreamer> sure, but if it's inside the document root, it has a WebGUI-less URL without access control 21:35 <@preaction> perlmonkey2, form asset? its a WebGUI::Form::Control subclass. no, storageId is a folder in the uploads directory, nothing goes in the database 21:35 <@preaction> perlDreamer, only if that URL is configured as passthru, otherwise WebGUI would take it over 21:35 <+perlDreamer> that is true 21:36 <+perlDreamer> and the asset could check to see that the requested directory is inside the Apache document root 21:36 <+perlDreamer> which gives file slurpy protection 21:37 <@preaction> i was thinking it'd automatically add the documentroot to the configured directory (i assume this folder is configured as a directory, and subfolders wouldn't quite work right unless it were a URL handler) 21:42 < perlmonkey2> This is the correct syntax? $self->session->form->get('YOxL4QFZgT18NnCopMiMFg','File') where the assetid is the file input name? 21:43 <+perlDreamer> ->get('formName', 'File) 21:43 <+perlDreamer> preaction, I like that. and it would puke on ../ 21:43 <+perlDreamer> and I wasn't planning on handling subdirs, that would be a child asset 21:43 <+perlDreamer> could be a child asset 21:43 <@preaction> yeah 21:43 <+perlDreamer> so it's not a file system browser 21:44 <+perlDreamer> it's a directory contents lister 21:44 <+perlDreamer> templated 22:10 <@preaction> I'm thinking with the new list view, we should try to integrate this: http://www.axod.net/timeline/ 22:10 <@preaction> once i get the author to license it 22:15 <+perlDreamer> list view? 22:15 <@preaction> the Calendar list view 22:18 -!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit ["Exit- stage left"] 22:51 -!- cap10morgan [n=cap10mor@h19-afsc.ded.indra.com] has joined #webgui 22:59 -!- doc777 [n=Doc@10.187-available-ethint-fratm-cc.sccoast.net] has quit ["using sirc version 2.211+KSIRC/1.3.12"] 23:25 < cap10morgan> rizen: i found a bug in wreconsole.pl where it's using the wrong names for custom database user and password when adding a site. ok if i commit the fix? i've tested it on my server. 23:26 <@rizen> sure 23:27 < cap10morgan> ok, that's in 23:27 < cap10morgan> the custom database name one is too 23:28 <@rizen> and the crowd cheers your name 23:28 <@rizen> CAP 10 23:28 <@rizen> CAP 10 23:28 <@rizen> hehe 23:28 < cap10morgan> heh 23:51 < perlmonkey2> hah, if someone can hit my site and figure out what this error is in the yui connection manager, I'll let you use the survey system for free :P 23:53 <@rizen> what is your site? 23:55 <@rizen> perlmonkey2: what is your site? 23:56 < perlmonkey2> j/s let me get the links 23:57 < perlmonkey2> it only works with firebug right now (outputting to console). If you are running safari it won't work :( 23:57 < perlmonkey2> https://www.lostokies.com:444/home/test3?noCache=541:1207755662;func=takeSurvey 23:59 <@rizen> dear god it's slow 23:59 < perlmonkey2> is nothing showing up? --- Day changed Sat Apr 12 2008 00:00 < perlmonkey2> I have 512kbps upstream 00:00 <@rizen> in safari i see something 00:00 <@rizen> in firefox nothing 00:00 < perlmonkey2> do you ahve firebug in firefox? 00:00 <@rizen> yup 00:01 <@rizen> my version is old though, i'm updating 00:01 < CIA-51> WebGUI: cap10morgan * r6115 /wrebuild/wre/sbin/wreconsole.pl: exposing database name option as a new field when adding a site through the console 00:01 < CIA-51> WebGUI: cap10morgan * r6116 /wrebuild/wre/sbin/wreconsole.pl: fixed a bug in the wre console when adding a site; was using the wrong names for the custom databaseUser and databasePassword params when passing them to the WRE API 00:01 < perlmonkey2> this._formNode.submit(); 1150 in connection.js is where it errors. I bet this is going to be something stupid, like it has to have a submit button or something. 00:01 <@rizen> i still can't get it to load in firefox 00:02 < perlmonkey2> I just commented out all the console calls...might work now 00:03 <@rizen> it is running in safari now and with web inspecter running 00:03 <@rizen> safari's version of firebug 00:03 <@rizen> i get: Object [object HTMLInputElement] (result of expression this._formNode.submit) does not allow calls. 00:03 <@rizen> at https://www.lostokies.com:444/extras/yui/build/connection/connection.js (line 1150) 00:04 < perlmonkey2> that is the same line I get the error on 00:06 < perlmonkey2> I'm starting to think there is something wrong with the form. 00:06 <@rizen> why are you loading all those yui scripts in the body? 00:07 < perlmonkey2> if the user can't take the survey, I wasn't loading them. 00:07 <@rizen> and why do you load yahoo-dom-event separately from utilities 00:07 <@rizen> utilities has those in it 00:07 < perlmonkey2> rizen: heh, yeah, that is me fishing for errors. I've also had dom and event and yahoo all loaded seperately 00:07 <@rizen> utilities also has animation 00:08 <@rizen> so one of your requirements is to upload a file as part of the survey? 00:09 < perlmonkey2> yes, they want file uploads 00:09 <@rizen> yikes 00:09 < perlmonkey2> which I woudl think would be trivial 00:09 < perlmonkey2> but apparently is impossible 00:09 <@rizen> well as far as webgui is concerned it's easy 00:09 <@rizen> but doing it via ajax...that's a different story 00:09 <@rizen> can i make a suggestion? 00:09 < perlmonkey2> I've seen tons of examples using the async requiest 00:09 < perlmonkey2> requests 00:09 < perlmonkey2> sure 00:10 <@rizen> make a new method in your asset completely unrelated to this bs 00:10 <@rizen> call it rizensucks 00:10 < perlmonkey2> hah 00:10 <@rizen> put the javascript form stuff for doing the file upload into it 00:10 <@rizen> nothing extra 00:10 <@rizen> only what is needed 00:10 <@rizen> sorry, call it www_rizensucks 00:11 <@rizen> then create another method called www_pm2alsosucks 00:11 <@rizen> that handles the backend of uploading the file 00:11 <@rizen> get the whole thing working 00:11 <@rizen> IN webgui 00:11 <@rizen> but OUTSIDE the survey 00:11 <@rizen> then see what you do differently between the two 00:12 < perlmonkey2> okay, I'll give that a shot :) beats keeping on with what I'm doing. 00:12 * perlDreamer feels left out 00:13 <+perlDreamer> you need a perlDreamerSucks method that writes tests or something else useful 00:13 <@rizen> oh, and once you have those two methods working give me a paste bin of it, because that's something i should add elsewhere in webgui 00:13 <@rizen> =) 00:14 <@rizen> just for good measure create a www_perldreamersucks method in the survey that displays a picture of colin when he won his first Contributor of the Year award, and leave it in there as an easter egg 00:15 < perlmonkey2> hahaha 00:16 < perlmonkey2> I think the whole thing is shot.
00:16 < perlmonkey2> 00:16 < perlmonkey2> doesn't close the form at the but includes the entire next div in it. 00:16 <@rizen> pm2, this is what i've been doing with yui stuff that doesn't work, and it's helped me through lots of issues 00:23 <+perlDreamer> rizen: We don't want to scare people away from WebGUI 00:24 <@rizen> what would scare people away? 00:24 <+perlDreamer> that picture of me 00:26 <@rizen> r u kidding, it will make people think that we're all as smooth and sexy as you 00:27 <@rizen> perlmonkey2 is it fixed yet 00:27 <@rizen> perlmonkey2 does it work, does it, does it? huh? huh? 00:27 < perlmonkey2> hah 00:27 <@rizen> perlmonkey2 are we there yet 00:27 <@rizen> perlmonkey2 how much work would be getting done if i wasn't annoying you 00:27 <@rizen> =) 00:27 <+perlDreamer> perlmonkey2, I'm hungry. 00:27 < perlmonkey2> hahahahaha 00:27 <+perlDreamer> perlmonkey2, I'm bored. 00:28 < perlmonkey2> now I'm getting something weird...the async appears to be happing fine, but then the page reloads. 00:28 <+perlDreamer> for a while, rizen had his IRC client to make sound effects when someone mentioned his name in channel 00:28 <+perlDreamer> that was fun :) 00:28 < perlmonkey2> perlDreamer: bored? I hear playing in the middle of the highway is exciting :) 00:28 <+perlDreamer> ooh. Good idea! 00:29 < perlmonkey2> that is what my parents always told me when I complained of boredom. 00:29 < perlmonkey2> Now that I think back about it, they probably weren't kidding :P 00:31 -!- jfluhmann [n=jfluhman@x171y235.angelo.edu] has quit ["Open Source Symposium - http://www.texasoss.org/"] 00:31 <+perlDreamer> hey, folks. Step back and let perlmonkey2 work 00:31 <+perlDreamer> he's got fend off tribes of angry sponsors 00:33 <@rizen> nothing to see here people, move along 00:34 <@rizen> i wonder what it would be like to be a good coder where stuff actually works. 00:35 <+perlDreamer> well, let me tell you rizen... 00:35 <+perlDreamer> I have absolutely no idea 00:35 <@preaction> sounds like a fantasy world 00:35 <+perlDreamer> Doesn't work that way in chip-ville, that's for sure 00:36 <+perlDreamer> whoops, probably shouldn't have told you that 00:46 <@rizen> so you're saying stuff is done perfectly in chip-ville? 00:46 <@rizen> preaction? i thought you were that guy. 00:46 <+perlDreamer> oh, yes! Everything is perfect in chip-ville. Our chips always work and never, ever have problems. 00:47 * perlDreamer attempts to look earnest and trustworthy 00:47 <+perlDreamer> :) 00:47 <@rizen> since you work there i believe it 00:48 <@rizen> if i was on staff your production quality would go down the tubes. you'd be throwing away about 99% of R&D and 85% of actual production runs 00:50 <+perlDreamer> but think of the perl we'd write >:) 00:53 < perlmonkey2> okay, which one of you hacked into my system and magically made this stuff start working (at least in my test example)? 00:53 <+perlDreamer> hacking systems is against the law, perlmonkey2 00:53 < perlmonkey2> hah 00:53 <+perlDreamer> It's kind of like Shawshank. 00:54 <@rizen> i can't believe he fell for the old what is your site address trick 00:54 < perlmonkey2> hahahahaha 00:54 <@preaction> it's like when the Operator asks for your username 01:02 < perlmonkey2> rizen: you are a genius. All I needed was a chopped down version to figure out how it works. Now I should be able to debug the main app. 01:03 <@rizen> i can't take credit. it's the sherlock method to problem resolution. 01:03 <@rizen> i've been using it for years, and it nearly always works. 01:04 <@rizen> eliminate everything until whatever is left is your answer 01:06 <@preaction> perlbot test case 01:06 <@preaction> hum... could've swore i added that one 01:08 <@rizen> perlbot preaction is a basket case 01:08 < perlbot> I already have an entry for preaction 01:08 <@rizen> damn you perlbot! 01:08 <@preaction> perlbot test case is Break your problem down into the least amount needed to reproduce. If you don't find the problem by then, it will be easier for someone else to find it. 01:08 < perlbot> added test case to the database 01:10 <@rizen> perlbot test case 01:10 < perlbot> Break your problem down into the least amount needed to reproduce. If you don't find the problem by then, it will be easier for someone else to find it. 01:10 <@rizen> perlbot sherlock method is See test case 01:10 < perlbot> added sherlock method to the database 01:12 <+perlDreamer> perlbot sherlock method is also copyright 2008 Plain Black Corporation, all rights reserved. Illegal use will be prosecuted within the without the bounds of the law 01:12 < perlbot> I already have an entry for sherlock method 01:29 < CIA-51> WebGUI: jt * r6117 /branch/WebGUI_Commerce/ (12 files in 11 dirs): 01:29 < CIA-51> WebGUI: Added the viewcart macro. 01:29 < CIA-51> WebGUI: Lookup registrant now works. 01:29 < CIA-51> WebGUI: Fixed some bugs. 01:38 -!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"] 01:43 <+perlDreamer> rizen: Don't forget a test for ViewCart 02:05 < CIA-51> WebGUI: colin * r6118 /branch/WebGUI_Commerce/lib/WebGUI/Asset/Sku/Product.pm: WGBP indent view method of Sku::Product 02:19 -!- cap10morgan [n=cap10mor@h19-afsc.ded.indra.com] has quit [Read error: 110 (Connection timed out)] 02:30 -!- perlDreamer [n=ckuskie@nat039.mxim.com] has quit ["Download Gaim: http://gaim.sourceforge.net/"] 04:37 -!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit [] 04:45 -!- cap10morgan [n=cap10mor@206-124-31-140.denver.dsl.forethought.net] has joined #webgui 05:25 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [Read error: 110 (Connection timed out)] 07:36 -!- Haarg [n=haarg@24-196-80-80.dhcp.mdsn.wi.charter.com] has joined #webgui 07:36 -!- mode/#webgui [+o Haarg] by ChanServ 07:36 -!- Haarg [n=haarg@24-196-80-80.dhcp.mdsn.wi.charter.com] has quit [Client Quit] 07:37 -!- Haarg [n=haarg@24-196-80-80.dhcp.mdsn.wi.charter.com] has joined #webgui 07:37 -!- mode/#webgui [+o Haarg] by ChanServ 08:05 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit ["Leaving"] 08:22 -!- cap10morgan_ [n=cap10mor@206-124-6-65.denver.dsl.forethought.net] has joined #webgui 08:38 -!- cap10morgan [n=cap10mor@206-124-31-140.denver.dsl.forethought.net] has quit [Read error: 113 (No route to host)] 10:28 -!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has joined #webgui 10:28 -!- mode/#webgui [+v Radix_] by ChanServ 11:12 -!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has quit [Read error: 104 (Connection reset by peer)] 11:14 -!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has joined #webgui 11:14 -!- mode/#webgui [+v Radix_] by ChanServ 11:17 -!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: @Haarg 11:18 -!- Netsplit over, joins: @Haarg 11:43 -!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: @Haarg 11:43 -!- Netsplit over, joins: @Haarg 12:37 -!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: @Haarg 12:38 -!- Netsplit over, joins: @Haarg 16:45 -!- cap10morgan [n=cap10mor@206-124-6-65.denver.dsl.forethought.net] has joined #webgui 17:02 -!- cap10morgan_ [n=cap10mor@206-124-6-65.denver.dsl.forethought.net] has quit [Read error: 113 (No route to host)] 17:46 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui 18:40 -!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui 18:40 -!- mode/#webgui [+o rizen] by ChanServ 20:54 -!- crythia2 [n=gyoung@fl-69-68-148-96.sta.embarqhsd.net] has joined #webgui 20:54 -!- crythias [n=gyoung@fl-69-68-148-96.sta.embarqhsd.net] has quit [Read error: 104 (Connection reset by peer)] 21:00 -!- perlDreamer [n=colink@pool-71-117-250-89.ptldor.fios.verizon.net] has joined #webgui 21:00 -!- mode/#webgui [+v perlDreamer] by ChanServ 21:00 <+perlDreamer> nuba, are you here? 21:00 < nuba> passing by, why? 21:00 <+perlDreamer> I have a Spanish question :) 21:01 <+perlDreamer> How would you say "Everyone's Trash", in Spanish? 21:01 <+perlDreamer> Paselera de Todos? 21:01 < nuba> dunno, maybe "basura del sistema"? 21:02 <+perlDreamer> Thanks, nuba! 21:02 < nuba> probably not 21:02 <+perlDreamer> I may double check with the Colombian crew next week, too. 21:03 <@rizen> I'd start with "Obla Englacias" 21:03 <@rizen> bet i spelled that all wrong 21:03 <@rizen> =) 21:03 <@rizen> Habla? 21:03 < nuba> obla di obla da 21:03 <@rizen> damn i'm dumb 21:04 <+perlDreamer> rizen: better stick with garbled crap :) 21:04 <@rizen> indeed 21:06 <+perlDreamer> okay, back to yard work 21:06 -!- perlDreamer [n=colink@pool-71-117-250-89.ptldor.fios.verizon.net] has quit ["Leaving."] 21:34 < perlmonkey2> Intrade is selling Hillary to win Penn at 86 points. $10 would return $11.40 if she wins. 21:34 < perlmonkey2> it is going up fast though people are buying tons of those contracts driving up the prices. I guess she's a shoe-in for Penn. 21:35 <@rizen> i thought you were into "fishing" not gambling 21:36 < perlmonkey2> hah 21:36 < perlmonkey2> I'm still fuming over the last bug, and finding reasons to not work on it. 21:36 < perlmonkey2> a name collision.... 21:36 < perlmonkey2> frak me 21:37 <@rizen> i'm still fuming over the fact that i'm still working on the new Event Manager rather than getting back to the rest of commerce 21:39 < perlmonkey2> I don't even know about the event manager 21:39 < perlmonkey2> there is a new one? 21:39 <@rizen> yup 21:39 <@rizen> it lets you run conventions from webgui 21:39 < perlmonkey2> you got a link to the specs? I'm not sure what a convention is. 21:40 <@rizen> WebGUI Users Conference 21:40 <@rizen> is a convention 21:40 < perlmonkey2> ooooh, a real convention 21:40 <@rizen> conference = convention = meetings 21:40 < perlmonkey2> that's pretty cool 21:41 < perlmonkey2> that would actually be really useful at work....we have all sorts of scheduling and resource allocation activities. 21:41 <@rizen> the current one sux 21:41 <@rizen> the new one resolves a lot of problems 21:41 <@rizen> but still needs a lot of additional features 21:42 < perlmonkey2> but just for the record... Don't use 'submit' for a method name in anything that might remoting have anything to do with a form. I don't know why the names conflicted, but they did. 21:43 < perlmonkey2> okay, back to important things, like trying to figure out how intrade prices and sells the initial contracts in a new contract type. 22:07 -!- perlDreamer [n=colink@pool-71-117-250-89.ptldor.fios.verizon.net] has joined #webgui 22:07 -!- mode/#webgui [+v perlDreamer] by ChanServ 22:08 <+perlDreamer> phew 22:08 <+perlDreamer> enough weeding for a while 22:08 <@rizen> too funny 22:08 <@rizen> you're weeding, and it's snowing here 22:08 <+perlDreamer> that's a more effective way to kill weeds 22:08 <+perlDreamer> just get them all at once 22:08 <+perlDreamer> much easier that what I did 22:10 <+perlDreamer> time for a little Commerce hackery 22:10 <+perlDreamer> Did you read my post about that, rizen? Folding in ProductManager? 22:11 <@rizen> no 22:11 <@rizen> where did you post it? 22:11 <+perlDreamer> dev list 22:11 <+perlDreamer> I think email from PB is down 22:11 <@rizen> fuck 22:11 <@rizen> i'll check on it 22:14 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui 22:14 -!- mode/#webgui [+o preaction] by ChanServ 22:17 <@rizen> somehow spectre forgot about the send queued email cron job 22:17 <@rizen> restarting it seems to have fixed that 22:17 <@rizen> but now it has a couple thousand emails to send out 22:18 < perlmonkey2> hah, now my slider and calendar widgets aren't working...but no errors being thrown.....my love affair with YUI is certainly on the rocks. 22:21 < perlmonkey2> somebody shoot me. creating a widget, then recreating the dom container it belongs to is a sure way to break the event handlers on that widget. I fear I chose the wrong paradigm for dynamically creating these objects. 22:21 <@rizen> unless you've found a bug in YUI it doesn't do much good to blame YUI for your problems 22:22 <@rizen> accept that you're dumb and all will be good...i did it years ago and now things go much more smoothly. =) 22:23 < perlmonkey2> oh, I am dumb. 22:23 < perlmonkey2> or at least overly wishful 22:24 < perlmonkey2> or just dumb in that it appears JS's garbage collection is instant, or at least fast enough that surveyNode+=newHTML; is not atomic enough to preserve any objects who's only references are in the dom related to surveyNode. 22:26 < perlmonkey2> so I can either have the JS create the html from the questions in two passes, first creating all the html, then creating all the widgets to attach to the html. Or move all the html generation into WebGUI with templates. Like maybe have a template for each question type's html and a template for each question type's YUI widget. 22:27 < perlmonkey2> I think the last approach would work best, especially when I'm trying to work in il8n. But the first survey has already launched (at least the phone operators are already making calls). So this one is technically already in production, meaning testing time and shake time are in negative values :] 22:30 <@rizen> the last option seems reasonable to me too 22:52 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit ["Leaving"] 23:13 <+perlDreamer> back to weeding 23:13 -!- perlDreamer [n=colink@pool-71-117-250-89.ptldor.fios.verizon.net] has quit ["Leaving."] 23:53 < CIA-51> WebGUI: colin * r6119 /WebGUI/lib/WebGUI/i18n/English/WebGUI.pm: more trash semantics --- Day changed Sun Apr 13 2008 00:13 -!- crythia2 [n=gyoung@fl-69-68-148-96.sta.embarqhsd.net] has quit [Read error: 104 (Connection reset by peer)] 00:13 -!- crythia2 [n=gyoung@fl-69-68-148-96.sta.embarqhsd.net] has joined #webgui 02:42 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["I need 12 beers and a long hangover"] 03:27 -!- topsub [n=topsub@cpe-071-071-252-225.carolina.res.rr.com] has joined #webgui 05:29 -!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit [] 07:05 < CIA-51> WebGUI: colin * r6120 /branch/WebGUI_Commerce/docs/upgrades/upgrade_7.5.2-7.5.3.pl: have the upgrade script remove the Wobject/Product.pm file 08:49 -!- topsub [n=topsub@cpe-071-071-252-225.carolina.res.rr.com] has quit [Remote closed the connection] 11:44 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui 11:44 -!- mode/#webgui [+o preaction] by ChanServ 12:15 -!- SynQ [n=synq@e97024.upc-e.chello.nl] has joined #WebGUI 12:16 < SynQ> hi there 12:16 < SynQ> hey, the topic is not up-to-date 12:16 < SynQ> WebGUI 7.4.31-stable is an old version 12:29 <@preaction> SynQ, you can change it if you want 12:30 < SynQ> oh 12:30 < SynQ> ok 12:31 -!- SynQ changed the topic of #webgui to: [ WebGUI 7.4.32-stable / 7.5.9-beta | WRE 0.8.3 ] Before you ask, check the wiki: http://wiki.webgui.org | Pastebin: http://webgui.pastebin.com/ 12:31 < SynQ> that is better 12:31 -!- SynQ changed the topic of #webgui to: [ WebGUI 7.4.32-stable / 7.5.10-beta | WRE 0.8.3 ] Before you ask, check the wiki: http://wiki.webgui.org | Pastebin: http://webgui.pastebin.com/ 12:31 < SynQ> that is even better than better 12:32 < SynQ> preaction: what part of WebGUI are you working on right now 12:32 < SynQ> perhaps I can do for that part what I did for the Thingy yesterday 12:33 <@preaction> do you mean in general? it's been the Gallery for the last few months 12:35 < SynQ> is the gallery in a state where I can test it using the beta.webgui.org and submit bugs ? 12:36 <@preaction> if there are still bugs, surely 12:37 < SynQ> hehe 12:37 < SynQ> is there a spec available? 12:37 < SynQ> like with the thingy 12:37 < SynQ> I've learned that having a spec makes it 10 times more easy to find bugs 12:37 < SynQ> since you can simply follow the spec from top to bottom 12:37 < SynQ> finding bugs along the way 12:38 <@preaction> the spec is most likely no longer accurate, especially when it comes to the thumbnails and slideshow views 12:39 < SynQ> hmm 12:39 < SynQ> where can I find the non accurate spec 12:39 < SynQ> that could at least be a guideline 12:40 <@preaction> not sure if i can release it, it's a different situation than the Thingy: the Gallery was commissioned and the spec was paid-for. i'll ask Frank if I can release it 12:41 < SynQ> ok 12:41 < SynQ> please 12:41 <@preaction> otherwise the first bug i'd submit is the User Disk Space limit doesn't seem to work 12:41 < SynQ> hehe 12:42 <@preaction> also, the slideshow needs some polish, it's blatantly obvious when trying to use it 12:42 <@preaction> the Edit Album screen sucks for editing multiple images, seriously 12:42 <@preaction> if it were more like the Thingy edit screen it would be much better 12:42 < SynQ> ok, but that are not nessecarily bugs 12:42 < SynQ> I hope Yung is glad with my multiple bug reports on the thingy 12:43 < SynQ> since that could actually make it better 12:43 < SynQ> ok 12:43 <@preaction> slideshow is a bug, what it does is annoying enough to make it unusable 12:43 < SynQ> I'll have a look at the gallery without a spec 12:43 < SynQ> but having a spec would make that seriously less difficult to do 12:43 <@preaction> indeed 12:44 < SynQ> would you suggest using the default style 12:44 <@preaction> Steve's making a new one, and the new one is awesome already 12:44 < SynQ> oeh 12:45 < SynQ> that is good info 12:45 < SynQ> but it is probably not available for comment any time soon? 12:45 <@preaction> i dunno how far he is. he got a List Albums view done I know, but i'd give him at least another week 12:46 < SynQ> ok 12:46 < SynQ> for now I'll use the greenportal style 12:46 <@preaction> oh, style 12:46 <@preaction> wait, what? 12:47 <@preaction> it should work with all styles 12:47 <@preaction> there were a few bugs with the Style03 and the Gallery templates that were fixed though 12:48 < SynQ> ah 12:48 < SynQ> ok 12:48 < SynQ> the greenportal style that Ning submitted 12:48 < SynQ> I really like it 12:49 < SynQ> ok 12:49 < SynQ> here we go 12:51 < SynQ> there is number one 12:53 < SynQ> gee 12:54 < SynQ> that second tab is an impressive list of templates 13:11 < SynQ> it is fun 13:11 < SynQ> the gallery 13:22 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)] 15:22 -!- SynQ [n=synq@e97024.upc-e.chello.nl] has quit [Read error: 113 (No route to host)] 16:41 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui 17:35 -!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui 18:26 -!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has quit [] 19:09 -!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui 19:09 -!- mode/#webgui [+o rizen] by ChanServ 23:48 < perlmonkey2> why didn't I use templates to generate all the HTML in the first place? This is about a million times easier than having the JS libs create the HTML. 23:48 <@rizen> don't know 23:48 <@rizen> perhaps you took my call to use js libraries too far? 23:48 <@rizen> and therefore it's my fault 23:48 <@rizen> and i should be killed 23:49 < perlmonkey2> killed is a bit extreme......how about covered in honey and put in the polar bear exibit at the zoo? 23:49 < perlmonkey2> oh wait, you'd be killed there too. 23:49 < perlmonkey2> hmm. So with this paradigm, wG development doesn't really change at all. 23:50 <@rizen> nope 23:50 < perlmonkey2> For web2.0 (I really hate that phrase) development. 23:50 <@rizen> there is no web 2.0 development 23:50 <@rizen> it's just web development 23:51 < perlmonkey2> only if you synergize the convergence of disparate paradigms. 23:51 < perlmonkey2> Forgive me, I started in on the root beer a little early today. 23:53 <@rizen> if root beer gives you an attack of the business babble, perhaps you need to step away from the root beer 23:54 < perlmonkey2> "Please sir, step away from the root beer dispenser. We do not want to have to tase you. ... bro." --- Day changed Mon Apr 14 2008 00:33 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui 00:33 -!- mode/#webgui [+o preaction] by ChanServ 00:36 -!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has joined #webgui 00:53 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit ["Leaving"] 01:29 -!- SynQ [n=synq@e97024.upc-e.chello.nl] has joined #WebGUI 01:29 < SynQ> hi there 01:54 < SynQ> i've been trying out the thingy and the gallery in the beta version and reporting bugs and rfe's about that 01:54 < SynQ> I'd like to know if that is appreciated 02:02 < SynQ> never mind 02:02 < SynQ> I've posted the question to the dev list 02:04 < SynQ> nite 02:04 -!- SynQ [n=synq@e97024.upc-e.chello.nl] has left #WebGUI [] 03:04 -!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit [] 03:33 -!- cap10morgan [n=cap10mor@206-124-6-65.denver.dsl.forethought.net] has quit [Read error: 104 (Connection reset by peer)] 03:33 -!- cap10morgan [n=cap10mor@206-124-6-65.denver.dsl.forethought.net] has joined #webgui 04:02 -!- cap10morgan [n=cap10mor@206-124-6-65.denver.dsl.forethought.net] has quit [Read error: 113 (No route to host)] 04:35 -!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui 04:35 -!- mode/#webgui [+v Radix-wrk] by ChanServ 05:14 -!- Radix-wrk [n=Jesse@203.161.68.67] has quit [Read error: 104 (Connection reset by peer)] 05:14 -!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui 05:14 -!- mode/#webgui [+v Radix-wrk] by ChanServ 05:28 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui 05:28 -!- mode/#webgui [+o preaction] by ChanServ 05:57 < CIA-51> WebGUI: doug * r6121 /branch/doug-experimental/sbin/installAsset.pl: adding asset installer script for Installable mixin 05:57 < CIA-51> WebGUI: doug * r6122 /branch/doug-experimental/lib/WebGUI/AssetMixin/ (Comments.pm RSSCapable.pm Subscribable.pm): add other mixin shells 05:57 < CIA-51> WebGUI: doug * r6123 /branch/doug-experimental/lib/WebGUI/AssetMixin/UserDefined.pm: added another mixin shell 06:21 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [Connection timed out] 06:26 -!- cap10morgan [n=cap10mor@206-124-6-65.denver.dsl.forethought.net] has joined #webgui 06:32 -!- CIA-51 [n=CIA@208.69.182.149] has quit [Nick collision from services.] 06:32 -!- CIA-1 [n=CIA@208.69.182.149] has joined #WebGUI 06:55 -!- topsub [n=josh@cpe-071-071-252-225.carolina.res.rr.com] has quit [Remote closed the connection] 07:14 < CIA-1> WebGUI: colin * r6124 /branch/WebGUI_Commerce/lib/WebGUI/ (3 files in 3 dirs): 07:14 < CIA-1> WebGUI: Add asset properties for parameters and variants as JSON. 07:14 < CIA-1> WebGUI: Handle getting and setting this data, interfaced as 07:14 < CIA-1> WebGUI: perl data rather than JSON. 07:14 < CIA-1> WebGUI: Basic screen for adding/editing parameters. 07:14 < CIA-1> WebGUI: i18n for the parameter editing screen. 07:14 < CIA-1> WebGUI: colin * r6125 /branch/WebGUI_Commerce/docs/upgrades/upgrade_7.5.2-7.5.3.pl: add parameter and variant columns to the Product asset 07:32 < CIA-1> WebGUI: colin * r6126 /WebGUI/ (3 files in 3 dirs): fix undocumented template variable in the Layout 07:32 < CIA-1> WebGUI: colin * r6127 /branch/WebGUI_7.4/ (3 files in 3 dirs): backporting missing template variable to 7.4 branch 08:02 <@preaction> there aren't very many things in WebGUI::User type workflows 08:02 <@preaction> are there any general-purpose ideas anyone has? 08:02 <@preaction> i was thinking DeployPackage 08:03 <@preaction> maybe DeployPackage could be a good None activity too 08:03 <@preaction> and then create a scheduled event to delete that content 08:07 <@apeiron> You're wanting to create workflows that utilize a wG::User object? 08:08 <@preaction> i'm wanting to create some more workflow activities, yes 08:08 <@preaction> so that i have something interesting to talk about 08:08 <@apeiron> heh 08:08 <@preaction> i mean, i could spend 30 minutes going on about the new approval activities i've dreamed up 08:08 <@preaction> and 10-15 minutes about how to schedule content using workflow 08:09 <@preaction> (after I improved that a bit) 08:09 <@preaction> err. s/d\b//; 08:09 <@preaction> i'll probably spend another hour or two trying to make it easy to schedule showing and hiding content 08:10 <@apeiron> Maybe consider expiring as well? 08:10 <@preaction> that's what it would do. it would commit a version tag and then de-commit 08:11 <@preaction> the workflow would, but i'd need to make the activities to do it 08:11 <@apeiron> Showing/hiding is different from expiring in my mind. 08:11 <@preaction> a Delay activity that could delay a certain amount of time (1 week, 2 months) 08:11 <@apeiron> Expired content outright ceases to exist, whereas hidden content is still there, just you can't view it without nonadmin creds. 08:12 <@apeiron> er. without admin creds. 08:12 <@preaction> a WaitUntil activity that would return WAITING until the date/time passed a certain point 08:12 <@apeiron> heh 08:12 <@preaction> the "hide" activity would probably be able to choose "purge", "trash", or "decommit" 08:12 <@apeiron> until ($goTime eq time) { return $self->WAITING; } 08:12 <@apeiron> # hic sunc perl 6 dracones 08:13 <@apeiron> sunt, not sunc 08:13 <@preaction> so we'd have a VersionTag workflow that would WaitUntil, Commit, WaitUntil, Decommit 08:13 <@preaction> Uncommit or Decommit? 08:13 <@apeiron> The choice idea sounds good. 08:13 <@preaction> i like Decommit more 08:13 <@apeiron> hrm 08:13 <@apeiron> Likewise. 08:14 <@apeiron> However, Uncommit returns slightly fewer Google results. 08:14 <@preaction> i think we already have Trash Version Tag and Rollback version tag (rollback being the same as purging / deleting the content) 08:14 <@apeiron> Slightly more, rather, sorry 08:15 <@preaction> eh, it's the difference between uninstall and deinstall. deinstall sounds better 08:15 <@preaction> but everybody uses uninstall 08:15 <@apeiron> 'uninstall' was carved into my mind from so many years of FreeBSD: make uninstall 08:15 <@preaction> i thought freebsd was make deinstall now 08:16 < CIA-1> WebGUI: jt * r6128 /translations/Spanish/ (8 files in 2 dirs): update_from_translation_server 08:16 <+Radix-wrk> uncommit? why not rollback or something like that? 08:16 <@apeiron> Could be. I'm a bit not-here right now. 08:16 <@preaction> rollback deletes 08:17 <@preaction> WebGUI::VersionTag->rollback calls $asset->purgeRevision, which could potentially purge the entire asset 08:17 <+Radix-wrk> I see 08:17 <@preaction> the new WebGUI::VersionTag->decommit would just set all the revisions to "pending" again 08:18 <@apeiron> All the revisions? 08:18 <@preaction> all the revisions inside of the version tag, yes 08:18 <@apeiron> ahh. 08:21 <@preaction> so with Delay and WaitUntil, we can create some general purpose workflows for "Commit Content for a Week" "a Month" "Dec 24 - Jan 02", etc... and then use those workflows to commit content 08:21 <@apeiron> And it'll automatically decommit it, then, after the interval, yes? 08:21 <@apeiron> Where you can just set it and forget it. 08:22 <@preaction> i suppose one could still use Create Scheduled Event, but there'd be three workflows: one to commit, one to decommit, and one for the time period 08:22 <@apeiron> Time for devil's advocate. 08:22 <@preaction> but if i introduce all three methods, that'll be best 08:22 <@preaction> go for it 08:22 <@apeiron> Let's say you're using this to put up some content that presents a discount sale for some products. 08:22 <@apeiron> You originally schedule this sale to last a week. 08:22 <@preaction> Ask me your questions gatekeeper I am not afraid! 08:23 <@apeiron> But you later decide you want it to end sooner / earlier. 08:23 <@apeiron> What do you do? 08:23 <@apeiron> er. sooner / later 08:23 <@apeiron> (as I said, I'm half gone, lots of writing in one sitting > me) 08:23 <@preaction> you could alter the workflow to change the date, but that would affect all other content committed under that workflow 08:24 <@apeiron> Right. But if you're doing things correctly and you only commit the content for the sale under the workflow, that's what you want, right? 08:24 <@preaction> so it would be best to say to yourself "I have an event I want to have special content for, first I'll create a workflow for that event, then I'll create content and commit using that workflow" 08:24 <@preaction> yes 08:25 <@apeiron> So the instance of the workflow, then, would store the date? 08:26 <@preaction> no, the workflow itself would 08:26 <@preaction> instance wouldn't, that would be bad (because then once the instance was created, you would not be able to change it) 08:27 <@apeiron> But the workflow would be associated with that particular content, yes? 08:27 <@preaction> other way around, the content is associated with a workflow instance, which is associated with a workflow 08:27 <@apeiron> ah. 08:28 <@preaction> i think the worst thing is my presentations are normally dry and informative, but every once in a while I'll have a funny slide or two 08:28 <@preaction> which is just weird 08:28 <@apeiron> no way, it's a good idea. 08:28 <@apeiron> Keeps people interested. 08:29 <@preaction> this is going to be another one like my YUI presentation: a lot of information to take in 08:29 * apeiron actually knows the JS required to understand that presentation now. 08:29 <@preaction> i think i'll avoid the User stuff for now. these two things should be more than enough to satiate the crowd 08:31 <@apeiron> And of course as you say that I start getting ideas. 08:31 <@preaction> throw them out, i'll take them 08:31 <@apeiron> Employee of the Month, for one. 08:32 <+Radix-wrk> Hmm.. mysql 5.1 out next week apparently.. supposedly up to 20% faster or more 08:32 <@preaction> are we using 5.0 in the WRE 0.8 series? 08:32 <+Radix-wrk> yeah 08:32 <@preaction> oooh, then we can get that speed increase 08:33 <+Radix-wrk> will be nice :) 08:33 <+Radix-wrk> http://tech.slashdot.org/article.pl?sid=08/04/12/1435214&from=rss 08:33 <+Radix-wrk> "Among the enhancements are many bug fixes from 5.0, some of which may increase performance 20% or more, as well as 'partitioning, events scheduling, row-based replication and disk-based clustering." 08:33 <@preaction> oh, employee of the month as an example for usage of using workflow to time content 08:34 <@preaction> that could be what i use for using Create Scheduled Event to do a periodic commit 08:34 <@apeiron> There was another one, I'll try to remember it. 08:34 <@preaction> sometime during the month you commit something using the "Employee of the Month" workflow, and at the 1st day of the month the old version tag gets rolled back, and the new version tag gets committed 08:37 <@apeiron> Invert it. 08:37 <@apeiron> "Hi, please tell me when this page (which details this new release) is published" 08:39 <@preaction> there's a Notify About Version Tag workflow activity, which I could improve to use arbitrary groups 08:39 <@preaction> make it a group that anyone can join and you can have that functionality 08:39 <@apeiron> hrm 08:39 <@apeiron> I imagine that you've considered things like a referral bonus? 08:40 <@apeiron> User creates an account, referred from another user, give that user karma or something. 08:40 <@preaction> that's not a workflow thing really 08:40 <@preaction> and there isn't affiliate tracking in webgui yet 09:46 -!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui 10:30 -!- Radix-wrk [n=Jesse@203.161.68.67] has quit ["Leaving"] 11:09 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Connection timed out] 13:01 -!- jdanpl [n=jdanpl@xdsl-461.lubin.dialog.net.pl] has joined #webgui 13:31 < CIA-1> WebGUI: jt * r6129 /translations/Polish/Polish/ (WebGUI.pm Asset_Post.pm): update_from_translation_server 14:10 -!- ryuu_ro [n=rory@194.171.50.69] has joined #webgui 14:14 -!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has quit ["Leaving"] 14:29 -!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has joined #webgui 15:18 < CIA-1> WebGUI: jt * r6130 /translations/French/French/ (Asset_Newsletter.pm Asset_Layout.pm Asset_Thingy.pm): update_from_translation_server 15:21 -!- BartJol [n=plainstu@host2.procolix.com] has joined #webgui 15:21 < BartJol> Radix? 15:37 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui 16:20 -!- dionak [n=diona@97.66.185.250] has joined #webgui 16:47 -!- jfluhmann [n=jfluhman@x171y213.angelo.edu] has joined #webgui 16:49 -!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui 16:49 -!- mode/#webgui [+o rizen] by ChanServ 17:02 -!- SDuensin [n=Scott@50.sub-75-207-179.myvzw.com] has joined #WebGUI 17:15 -!- cap10morgan [n=cap10mor@206-124-6-65.denver.dsl.forethought.net] has quit [] 17:35 -!- ryuu_ro [n=rory@194.171.50.69] has quit [] 17:46 < SDuensin> Morning. 17:47 < BartJol> afternoon 18:00 -!- lisette [n=liraos@201.232.58.66] has joined #webgui 18:00 -!- jua1 [n=juangui@201.232.58.66] has joined #webgui 18:02 -!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has left #webgui [] 18:02 < lisette> hi 18:03 -!- crythia2 [n=gyoung@fl-69-68-148-96.sta.embarqhsd.net] has left #webgui [] 18:03 < jua1> hello 18:06 < jua1> i have a question related to the anonymous template, sometimes when a user try to fill all the fields in the registration, he/she has a mistake in one of them. the thing that i need is how to maintain the values digited by the user to fill the field that were incorrect? 18:13 < BartJol> I don't understand, id it about profile fields? users can alter there own profile 18:16 < jua1> Bartjol, suppose that you are create an account in my site, you fill all the fields but you fill the captcha incorrectly, when you try to save the information you won't be registered, so you have to enter the captcha again 18:17 < jua1> but only the captcha, how can i maintain the other fields values to fill the captcha only? 18:18 < jua1> if you have a mistake in one field on the registration you only have to correct it and not to fill all of them again? 18:18 < jua1> do you understand me, now? 18:19 < BartJol> ah, so all fiels are cleared when you submiited the wrong capcha 18:19 < BartJol> I see 18:20 < BartJol> well 18:20 < jua1> yes 18:20 < BartJol> but you don't want to register them, only save them in the session 18:21 < jua1> how? 18:21 < BartJol> so people don't leave because they think it's too much trouble to fill it in again, or something like that 18:21 < BartJol> well 18:22 -!- topsub [n=josh@97.66.185.250] has joined #webgui 18:22 < BartJol> that might be difficult 18:23 < BartJol> wait i've got a phonecall 18:25 < BartJol> my mother 18:26 < perlmonkey2> 18:26 < perlmonkey2> can't she just yell down to the basement 18:26 < perlmonkey2> :) 18:29 < CIA-1> WebGUI: jt * r6131 /translations/Dutch/Dutch/ (45 files): update_from_translation_server 18:31 < BartJol> I pushed her of the stairs 18:31 < BartJol> jua1 still there? 18:31 < jua1> yes 18:32 < perlmonkey2> heh 18:32 < BartJol> well, maybe you can alter the useradd script (I wouldn't advice it, but if you reallyyyyyyy want to, just decide yourself) 18:32 < BartJol> hah? 18:33 < BartJol> so that the adding is failed, they become a scratch vaiable 18:33 < BartJol> variable 18:33 < BartJol> but I say it again, I don't think it's wise 18:34 < BartJol> changing such scripts undermines the security 18:35 < BartJol> maybe there is another way, but right now I can't think of 1 18:36 < jua1> with javascript is another way too 18:36 < BartJol> well, but I'm a jackass if it's about javascript 18:37 < BartJol> but if you know how to do that, go ahead 18:37 < BartJol> good luck, I'm off eating and drinking 18:37 -!- BartJol [n=plainstu@host2.procolix.com] has left #webgui [] 19:04 -!- perlDreamer [n=ckuskie@nat039.mxim.com] has joined #webgui 19:04 -!- mode/#webgui [+v perlDreamer] by ChanServ 19:04 <+perlDreamer> lisette, I tried my hand at translating some Spanish over the weekend. 19:05 <+perlDreamer> You may want to check the WebGUI namspace for 1035 and "external help" entries to make sure they're okay. 19:15 <+perlDreamer> jua1: about your anonymous template question earlier this morning? 19:15 <+perlDreamer> There was a bug posted about that, or something similar, about two weeks ago 19:16 <+perlDreamer> Try searching the bug database to see how the bug was handled (rejected, transferred to RFE or fixed) 19:16 <+perlDreamer> if it was fixed, upgrading will get you what you want 19:19 < jua1> hello 19:19 <+perlDreamer> howdy 19:20 < jua1> ok, perlDreamer, i am going to check 19:21 < jua1> i have another question, i am calling a macro several times in certain part of my site and it works well sometimes and sometimes doesn't work 19:22 < jua1> but if i clear the caché in the admin console, the macro works again 19:44 <+perlDreamer> which macro, jua1? 19:47 -!- jfluhmann [n=jfluhman@x171y213.angelo.edu] has quit [Remote closed the connection] 19:49 < jua1> a macro that i created? 19:50 <+perlDreamer> I'd have to see the macro source code and know a lot more about the problem to help 19:51 <+perlDreamer> but offhand, I would say that you are having problems with page caching 19:57 < CIA-1> WebGUI: jt * r6132 /branch/WebGUI_Commerce/ (5 files in 5 dirs): 19:57 < CIA-1> WebGUI: add view cart test 19:57 < CIA-1> WebGUI: add metadata to ems tickets 19:58 < jua1> perlDreamer, my problem is because i want to include in the registration some select box that are dinamics. so when a user choose one option in the first select, automatically the other select load a respective values filterd by database 19:59 < jua1> do you know in webgui how to do that? 19:59 <+perlDreamer> No, sounds like javascript. 20:00 < jua1> how can i use javascript with databases' 20:00 < jua1> ? 20:01 -!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has joined #webgui 20:01 -!- mode/#webgui [+v MrHairgrease] by ChanServ 20:01 <+perlDreamer> well, using AJAX, when the user selects something from the select box, the page talks back to the site. WebGUI sends back the options, which the javascript in the page uses to dynamically create the second select for the user. 20:03 < jua1> do you know ajax? 20:03 <+perlDreamer> no 20:03 <+MrHairgrease> Ajax is a football club from Amsterdam 20:04 < jua1> jajjajajaj 20:04 <+perlDreamer> Ajax is Asterix's buddy? 20:04 <+MrHairgrease> huh 20:04 <+MrHairgrease> nonono 20:04 <+MrHairgrease> that's Obelix 20:04 <+perlDreamer> I knew it was one of those --ix people 20:04 < topsub> hmmm 20:04 <+MrHairgrease> Ajax is also some kind of ancient greek God dude 20:04 < topsub> <-- 20:04 <+perlDreamer> He was the god of scrubbing floors 20:05 <+MrHairgrease> and I think the starship of the villain in Flash Gordon 20:05 <+perlDreamer> http://en.wikipedia.org/wiki/Ajax_%28mythology%29 20:22 <+perlDreamer> MrHairgrease: I have been reading through the Commerce code, and I continue to be impressed by it. It's a nice piece of work. 20:22 <+perlDreamer> Spoken from one electrical engineer/perl dude to another 20:38 <@rizen> don't stroke his ego. have you seen the size of his head? 20:38 <@rizen> granted that it's greatly exaggerated by the size of his hair 20:43 <+perlDreamer> It's not his hair. His head only looks big because his glasses are so small. 20:54 <+MrHairgrease> hey! 20:55 <+MrHairgrease> they may be small but tey're mighty strong 20:55 <+MrHairgrease> about -15 20:55 <+perlDreamer> Are they custom etched silicon glasses? 20:55 <+MrHairgrease> heh 20:55 <+MrHairgrease> i guesss not 20:55 <+perlDreamer> dude, you have the equipment to do that 20:56 <+MrHairgrease> they're probably some weird glass mixture 20:56 <+perlDreamer> you could build a project on your glasses, even 20:56 <+MrHairgrease> and there cut 20:56 <+MrHairgrease> not etched of course 20:56 <+MrHairgrease> let me finish my current project first... 20:56 <+perlDreamer> yeah, and you better graduate, too 20:57 <+MrHairgrease> I'm getting some good results, so I'm hoping to have some working thingy at friday 20:57 <+MrHairgrease> but then again, I said the same thing in december... 20:57 <+perlDreamer> Thingy is already out in beta, maybe you should try to make whats-its instead 20:59 <+MrHairgrease> I came up with the name for thingy, so i may use whenever I like =) 20:59 <+MrHairgrease> at for whatever i like 21:00 -!- jua1 [n=juangui@201.232.58.66] has quit [Read error: 104 (Connection reset by peer)] 21:04 < CIA-1> WebGUI: jt * r6133 /branch/WebGUI_Commerce/t/Macro/ViewCart.t: perlDreamer is a 500 lb test mandating gorilla 21:04 <@rizen> finally 21:04 <@rizen> that took long enough 21:04 <+MrHairgrease> heh 21:04 <+MrHairgrease> never knew that 21:05 <+perlDreamer> me, too 21:05 <+MrHairgrease> colin must have had a good shave before attending the wuc =) 21:05 <+MrHairgrease> and lost some weight in th eprocess too 21:05 -!- MrHairgrease is now known as MrCookingGrease 21:06 <@rizen> perhaps you should get your glasses checked 21:09 -!- rizen is now known as rizhateseverythi 21:10 -!- rizhateseverythi is now known as DropKidsAtPool 21:10 -!- perlDreamer is now known as whatevuh 21:14 -!- DropKidsAtPool is now known as iHateThereforeIa 21:14 -!- iHateThereforeIa is now known as i_hate_there4_i_ 21:15 -!- i_hate_there4_i_ is now known as iHateThere4iAm 21:18 -!- lisette [n=liraos@201.232.58.66] has left #webgui [] 21:36 -!- jfluhmann [n=jfluhman@x171y213.angelo.edu] has joined #webgui 22:55 -!- topsub [n=josh@97.66.185.250] has quit ["Leaving"] 22:55 -!- whatevuh is now known as perlDreamer 22:59 <+perlDreamer> yup, that is definitely broken 23:06 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui 23:06 -!- mode/#webgui [+o preaction] by ChanServ 23:13 < jdanpl> perlDreamer: I wonder if developers can add $session pointer to WebGUI::Asset::Template::HTMLTemplate::process function's params. It helps makeing parser with special functions which can, for example, return user data. 23:14 <+perlDreamer> jdanpl: to get to the session, use $self->session :) 23:14 < jdanpl> It's not possible. 23:14 <+perlDreamer> why not? 23:14 <+perlDreamer> maybe I don't understand what you're asking for 23:15 <+perlDreamer> do you mean you want it accessible from inside the template? 23:15 -!- snapcount [n=royjohns@sccc-66-78-236-243.smartcity.com] has joined #webgui 23:15 -!- mode/#webgui [+v snapcount] by ChanServ 23:15 < jdanpl> just moment, I look at source 23:15 < jdanpl> Yes 23:15 <+perlDreamer> ah, that may not be very wise 23:15 <+perlDreamer> $session has access to the db username and password 23:15 <+perlDreamer> that can compromise the security of your site 23:15 <+snapcount> yo... anyone at the MySQL conference? So far I'm the only one I've seen with a WebGUI shirt on 23:15 < jdanpl> But it's only way to share some user data 23:16 < jdanpl> Yes, I afree with you 23:16 < jdanpl> agree 23:16 <+perlDreamer> jdanpl, why don't you take a step back, and explain what you're trying to do? 23:16 <+perlDreamer> rather than the immediate problem 23:16 <@apeiron> perlDreamer, 23:16 <@apeiron> perlbot, achieve 23:16 < perlbot> Step back. Explain what you're trying to achieve. 23:17 < jdanpl> My webmaster needs some data in template about current user 23:17 <+perlDreamer> in which template? 23:17 < jdanpl> article for example 23:17 <+perlDreamer> okay 23:17 <+MrCookingGrease> Have you tried the User macro? 23:18 < jdanpl> I can't write new wobject 23:18 -!- MrCookingGrease is now known as MrHairgrease 23:18 < jdanpl> Yes, but macros are runed after parsing 23:18 <+MrHairgrease> Oh, you want to tmpl_if? 23:18 <+perlDreamer> yes, is that a problem as well? 23:19 <+MrHairgrease> otherwise I don't see the problem with using the macro 23:19 <+perlDreamer> tell us more, jdanpl 23:19 <+perlDreamer> how is this info to be used? 23:21 < jdanpl> As I told, my webmaster needs some data to tmpl_if. And the problem is that parser interpretes template before macros are run. 23:21 < jdanpl> I can code my macro. But it be runs after :-( 23:22 < jdanpl> I looking for solution how to transfer some data to variable in parser 23:22 <+MrHairgrease> well, you didn't say that it was tmpl_if 23:22 <+MrHairgrease> but anyway 23:22 <+MrHairgrease> in that case macro's indeed will not work 23:23 <+perlDreamer> Is it allowed to have custom perl code? 23:23 <+MrHairgrease> the only way is to write your own template parser 23:23 <+perlDreamer> yup 23:23 <+perlDreamer> or, to do the conditional in javascript 23:23 < jdanpl> We have wonderfull HTMLTemplateExpr parser. The only problem is how to transfer data to variables. 23:24 <+MrHairgrease> you'll have to extend that plugin in order to include user data 23:24 <+MrHairgrease> i cannot think of antoher way 23:24 < jdanpl> I made own parser with functions. But functions must have pointer to hash or some other structure 23:24 <+perlDreamer> Subclassing it should work, too? and then override addSessionVars to do the work. 23:25 < jdanpl> hm... 23:25 <+MrHairgrease> yeah, that would work 23:25 <+perlDreamer> it would be easier to maintain long term, too 23:25 <+perlDreamer> in the child's addSessionVars, call SUPER::addSessionVars to get all the defaults, and then add your own new ones 23:26 <+perlDreamer> note however, that this will be called for EVERY template, so expect a speed/memory penalty of some sort 23:31 < jdanpl> It's possible. But for speed/memory You colud thing about smart solution, how to give safe access for part of session data inside templates. 23:31 <+perlDreamer> yes, that is true. 23:32 <+perlDreamer> if you think that many people would benefit from this, you could suggest it as an RFE 23:32 <+perlDreamer> what kind of user information does your webmaster need? Are they standard or custom user profile fields? 23:34 <+perlDreamer> the note about speed/memory comes from rizen's work with profiling templates where the i18n labels were moved to International macro calls. It provided a nice speed-up. 23:35 < jdanpl> If you suggest me a way, I can think and try myself. And if you will accept ... it be for everyone 23:36 < jdanpl> Today my webmaster needs userID, firstname, lastname and phone. 23:37 <+perlDreamer> I like the "Today" qualifier :) Because certainly it will change for tomorrow. 23:37 < jdanpl> It's why I think about bigger code 23:38 < jdanpl> Special function can block password and other secure data 23:38 <+perlDreamer> despite speed/memory, I still think it would be better to subclass WebGUI::Asset::Template::Parser::Tem 23:38 <+perlDreamer> whoops 23:38 <+perlDreamer> TemplateExpr allows custom functions to be defined 23:38 -!- lisette [n=liraos@201.232.58.66] has joined #webgui 23:38 < lisette> hello 23:38 < lisette> everybody 23:39 -!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI 23:39 <+perlDreamer> it should be easy to add a new function which would act like the User macro inside the TemplateExpr plugin 23:39 < elnino> hi all! quick question.. 23:40 < elnino> is there a way to find out if there are any shortcuts of an asset you are considering deleting? 23:40 <+perlDreamer> howdy, lisette. I hope my translations weren't too bad. 23:40 < jdanpl> perlDreamer: Thanks, I make subclase first 23:40 <+perlDreamer> elnino, use the db :) 23:41 < lisette> super bien 23:41 < lisette> very good 23:41 <+perlDreamer> gracias 23:41 < elnino> Happy to, I take it there is a table called shortcut? and it's tied to asset's assetid in asset's table? 23:42 <+perlDreamer> Tablename: Shortcut, field: shortcutToAssetId 23:42 < lisette> the text editors has two options to upload images. i would like to quit one of this option, how to do this? 23:42 < elnino> thanks! 23:43 <+perlDreamer> lisette, the text editors are configurable. There are actually assets called RichText 23:43 <+perlDreamer> I think you can use the AssetManager to search and find them 23:43 < lisette> thanks 23:44 < lisette> i found 23:44 < lisette> and how to do? 23:44 <+perlDreamer> I'm looking.... 23:44 < lisette> what i must do 23:44 < lisette> thanks 23:44 <+perlDreamer> by default in wG, there are two kinds of text editors 23:45 <+perlDreamer> ContentManagers and Forum 23:45 <+perlDreamer> Forum is used in the Collaboration System 23:45 < lisette> yes 23:45 <+perlDreamer> ContentManager's is used everywhere else 23:45 <+perlDreamer> edit the one you want to change 23:45 < lisette> how? 23:45 <+perlDreamer> In the AssetManager, click on Search 23:46 <+perlDreamer> where it says Any Class, choose WebGUI::Asset::RichEdit from the pull down 23:46 <+perlDreamer> and hit the search button 23:46 <+perlDreamer> that will give you the list of available Rich Editors 23:46 <+perlDreamer> Are you with me so far? 23:47 < lisette> i don't see this option 23:47 < perlmonkey2> There isn't an SQL.pm method for soemthing like setrow where you have multiple keys are your primary key? 23:47 < lisette> i see 23:47 < lisette> sorry 23:48 < lisette> yes 23:48 < lisette> and? 23:48 < lisette> i found two editors 23:48 < lisette> THANKS :D 23:48 < lisette> :D:D:D:D:D 23:48 <+perlDreamer> to the left of the name, is Edit | More 23:48 <+perlDreamer> choose Edit 23:48 < lisette> yes 23:48 < lisette> i do 23:48 < lisette> and i see 23:48 < lisette> thanks 23:48 < lisette> :D:D:D:D 23:49 < lisette> que saludos de Camilo 23:49 < lisette> que muchas gracias. 23:49 -!- jdanpl [n=jdanpl@xdsl-461.lubin.dialog.net.pl] has quit ["Leaving"] 23:50 -!- SDuensin [n=Scott@50.sub-75-207-179.myvzw.com] has quit ["Leaving"] 23:51 <+perlDreamer> one other small note. Since this is an Asset, when you edit it, you will need to commit your changes so that everyone in the site can see them. 23:51 < lisette> ok 23:51 < lisette> thanks 23:52 <+perlDreamer> elnino: Each Asset has a definition subroutine. It lists the fields, types and database name that each asset uses for its primary data. Collateral data is handled separately. 23:53 < elnino> Don't know quite what you mean, perlDreamer. I was just going to do a SQL report of assets that have shortcuts. 23:54 <+perlDreamer> right, but to get a quick idea of what each asset uses for that SQL, look at the subroutine named definition in that Asset. 23:54 <+perlDreamer> that's how I found that info so quickly 23:55 < lisette> i translated the gender, male and female to spanish, and if i try create a new user, the gender well, but when i show this field from ProfileData from a macro show me in english, what i must do? 23:56 < elnino> subroutine in the perl module? oh. Ok. I'll take a look. Thanks 23:58 <+perlDreamer> lisette: are you using the ^User(); macro to do this? 23:58 < lisette> no, i do a new macro --- Day changed Tue Apr 15 2008 00:00 <+MrHairgrease> perlmonkey2: afaik, setRow can handle only single primary keys 00:00 <+MrHairgrease> no composite pk's 00:00 <+perlDreamer> lisette, this could be a bug. 00:00 <+perlDreamer> All data that the user sees in the profile is internationalized, but the data in the database is not 00:00 <+MrHairgrease> and I don't think there is an alternative that does... 00:00 <+perlDreamer> I would write it up as a bug and see what people say. 00:01 < elnino> need a recommendation. 00:01 <+perlDreamer> Buy Google 00:01 < elnino> =) That was fast. 00:01 < perlmonkey2> MrHairgrease: see, if I wasn't an idiot, I'd know that. But I just realized those fruit pickers who stopped by my house and sold me a box of fruit for $50, which I thought was a great deal, probably wasn't a great deal as the box probably only contains 50 pieces of fruit. $1 for an orange is highway robbery. 00:01 < perlmonkey2> So I'm an idiot. 00:01 < lisette> and i query from the database and the all user in the table userProfileData the field gender is in english 00:02 < elnino> So, we hired an SEO consultant. Who want to have a specific page title, menu title and browserbar text (which is currently the page title) Any ideas on how to do this? I was thinking of utilizing the summary field for the browserbar text. 00:02 <+MrHairgrease> perlmonkey2: what has you being an idiot to do with it? 00:02 <+MrHairgrease> and expesive oranges? =) 00:03 < perlmonkey2> MrHairgrease: oh, not much. just working in my latest story of getting suckered into rizen's meme of stupidity. 00:03 <+MrHairgrease> hehe 00:03 <+perlDreamer> lisette, if you wrote a custom macro, then you could do the i18n lookup yourself while you're waiting for the bug to be answered. 00:03 < elnino> good/bad idea? 00:03 < perlmonkey2> MrHairgrease: at least they are really good oranges. I've had more citrus today than the last 10 years combined. 00:04 <+MrHairgrease> elnino: i guess you could do that 00:05 < perlmonkey2> couldn't you just add vars in the template and have macros fill them out? 00:06 < elnino> I dont' think pagelayout has userdef fields, does it? that would be nice... 00:06 < elnino> is that what you mena perlmonkey2? 00:06 < lisette> i want to do the form anonymous register what is te action of this form? 00:06 < elnino> mena replaced by mean 00:06 < lisette> i can do this? 00:10 < perlmonkey2> elnino: a page layout has a template, right? 00:11 <+perlDreamer> speak wisdom, o citrified one 00:11 < perlmonkey2> hah 00:12 < lisette> no? 00:12 < perlmonkey2> I'm just saying, elnino, if the page layout has a template, you could add vars and/or macros where you need the custom text. 00:12 <+MrHairgrease> lisette: check out W::Auth->createAccount 00:13 * perlmonkey2 goes away to find a grapefruit. 00:13 <+MrHairgrease> and of course WG::Auth::WebGUI->createAccount 00:16 < lisette> i don't see the action of the form 00:16 < lisette> is the same url? 00:17 <+MrHairgrease> since it's an operation the action can be anything on the site 00:17 <+MrHairgrease> formHeader defaults the action to the current page 00:18 <+MrHairgrease> which is what you prolly want to use too 00:18 <+MrHairgrease> How do the auth operation work? See WG::Operation::Auth. 00:18 <@iHateThere4iAm> is it valid to do $self->SUPER::SUPER::method() 00:19 <+MrHairgrease> rizen: I think not 00:19 <@apeiron> I don't think so, no. 00:19 <+perlDreamer> No, welcome to the edge of Perl's object system. 00:19 <+MrHairgrease> I remember trying to do that several years ago 00:19 <+MrHairgrease> and it didn't work 00:19 <@iHateThere4iAm> so i have to copy the method from two levels up then if i want it? 00:20 <+MrHairgrease> uhm 00:21 <@iHateThere4iAm> I've got C inheriting from B and B inheriting from A 00:21 <+MrHairgrease> I could be that the examples I made for the Plugagable auth talk at the first wuc do something like that 00:21 <@iHateThere4iAm> B overrides the method in A 00:21 <@iHateThere4iAm> but i want C to use the same method as A 00:21 <+MrHairgrease> then do $self->A::method 00:21 <+MrHairgrease> wouldn't that work? 00:21 <+perlDreamer> iHateThere4iAm, time for mixins/multiple inheritance 00:21 <@iHateThere4iAm> oh you can do that? 00:21 <+MrHairgrease> as i said 00:21 <+MrHairgrease> I'm not sure anymore 00:22 <+MrHairgrease> that was five years ago 00:22 <+MrHairgrease> but if you have those examples handy somewhere 00:22 <+MrHairgrease> it could be that i did something like that 00:23 <@iHateThere4iAm> i could write a test to figure it out faster than i could find your example 00:23 <@iHateThere4iAm> =) 00:23 <+perlDreamer> mmmm.... testing 00:23 <+MrHairgrease> doing that now 00:25 * iHateThere4iAm mumbles something about gorillas 00:26 < elnino> perlmonkey2 - right, i just wondering if the synopis is a good place to store this info, or i fthere is userdefine fields, but 'm thinking not. 00:27 <+MrHairgrease> rizen: $self->A::method should work 00:28 <+MrHairgrease> it just did over here 00:29 <+MrHairgrease> what's up with all the hatred today btw? 00:30 < perlmonkey2> elnino: I'm sorry, but I don't know. I'd be hesitant to use a existing field for something it wasn't meant to be used for. 00:30 < elnino> I know.. I don't like this either... This SEO stuff really stinks. 00:30 <+MrHairgrease> elnino: it;s not the best choice, but you have little other choices 00:31 <+MrHairgrease> there are no userDefined fields 00:31 <+MrHairgrease> howver you could extend the Layout wobjcet. 00:31 <+MrHairgrease> but that requires coding 00:32 < elnino> here's a question then, 00:33 <@iHateThere4iAm> hatred: i'm behind on the ems, i keep getting more shit to do, and koen is asking incessant barrage of increasingly irrelevant questions 00:33 < elnino> in the page layout, there is a area for header info. Technically the tag (which is what defines what is shown in the browser bar) is part of the header of the apge, so mabe I can pu tit there, and rip it out of the template? 00:33 <+MrHairgrease> i actually stopped reading koen's posts 00:34 <+MrHairgrease> oh that's a pretty good idea elnino 00:35 <+MrHairgrease> just only apply it to layouts, or else you'll get multiple title tags ending up in the head block 00:37 < elnino> right. 00:39 < elnino> I'll have to chew on this... THanks 00:40 -!- jfluhmann [n=jfluhman@x171y213.angelo.edu] has quit [Remote closed the connection] 00:49 < elnino> is the synopsis field used for anything other than navigation assets that display the synopsis? I don't see it display in any html (using defult templates), so I'm assuming not. 01:09 <+perlDreamer> elnino, if you're really worried about it, you could use a metadata field 01:13 < elnino> I'm thinking that way right now, I just don't like the idea that marketing has to select the correct pagelayout template to display the <title> from the correct "setting" (page title OR metadata field) Cause two <title> would be bad. and we have 300 pages, and we're only optimizing a hand full. 01:13 <+perlDreamer> iHateThere4iAm: your last response to koen was a bit too curt (like empty) 01:13 -!- vayde [n=vayde@c-24-118-227-55.hsd1.mn.comcast.net] has quit ["Exit- stage left"] 01:14 -!- dionak [n=diona@97.66.185.250] has quit [] 01:14 -!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has quit [Read error: 110 (Connection timed out)] 01:16 -!- dionak [n=diona@97.66.185.250] has joined #webgui 01:20 < elnino> I'm no perl expert, but I'm assuming I coudl write a macro that looks at the metadata field and look for the <title> to be defined, and if it isn't I can pull the page title? Maybe that can be my first user contribution. YIKES. 01:23 <+perlDreamer> the metadata fields are directly available in templates already 01:24 < elnino> the field, but not the individuela <meta name="keywords", <meta name="description", etc..... right? 01:25 < elnino> I think I need to parse the db field and look to see if the person provided "<title>blah blah" 01:25 <+perlDreamer> tmpl_if 01:26 < elnino> you can do regex with tmpl if? 01:26 <+perlDreamer> no, but you could check to see if the metadata field was populated, and if not, use the standard title field instead 01:27 < elnino> oh. there is always going to be something there because of the other meta tags. 01:34 -!- lisette [n=liraos@201.232.58.66] has left #webgui [] 01:35 <+perlDreamer> elnino, don't confuse asset meta data with meta tags in the templates 01:37 -!- dionak [n=diona@97.66.185.250] has quit [Read error: 110 (Connection timed out)] 01:39 < elnino> I"ve been refering to the metadata-extra header tags field that you see in the properties of a pagelayout. I need to look at the contents of that field and see if marketign folks enter a header tag called amoungst all the other <meta> tags. 01:39 <+perlDreamer> that's what I'm talking about, too. 01:40 <+perlDreamer> Tell them to keep their stinking mitts off your templates 01:40 <+perlDreamer> and have them fill out metadata fields, instead 01:40 < elnino> and if they did provde a <title> tag, I'll use that instead of the "Page title" property. 01:41 < elnino> Yep, but they won't be able to provide titles for 300 pages right off the bat, so I'll need to provide a title if there isn't one alread in the metadata extra header field 01:41 <@iHateThere4iAm> elnino 01:41 <+perlDreamer> right, that's why you'd use the tmpl_if to discriminate between the two 01:41 <@iHateThere4iAm> you're missing the boat 01:41 < elnino> so I'll get that title from the page title for now. 01:41 <@iHateThere4iAm> perlDreamer is suggesting that you use meta data (aka content profiling) not the extra headers field 01:42 < elnino> tmpl_if only check to see if ther eis stuff in the field or not. There is other things that marketing is provideing inthe metadata extra header field 01:42 < elnino> I'm not aware fo meta data via content profiling.... What is that? 01:43 <+perlDreamer> asset meta data allows you to add extra information to your assets, almost like a user defined field, but only available to content managers and admins 01:43 <+perlDreamer> most people use it to track categories of data and see what most people view on their site 01:43 <@iHateThere4iAm> it allows you to add extra properties to all your assets 01:43 < elnino> oh.. That sounds cool. any wiki that? 01:43 <+perlDreamer> check out the content profiing entries in the wiki 01:43 < elnino> you're fast. 01:43 < elnino> is that available on 7.4.26? 01:44 <+perlDreamer> yes 01:44 <@iHateThere4iAm> yup 01:44 <@iHateThere4iAm> every version since 6.2 01:44 <+perlDreamer> in my dayJob, I'm a professional typist :) 01:44 <@iHateThere4iAm> then you can do <tmpl_if mynewcustomtitlefield><tmpl_var mynewcustomtitlefield><tmpl_else><tmpl_var title></tmpl_if> 01:45 <+perlDreamer> Listen to me, all ye users of WebGUI! 01:45 <+perlDreamer> If you don't learn what it can do 01:45 < elnino> ok. Well I dinner to do. I'll take a look at that content profiling. It sounds like I'll have to enter the actual values for these "not quite user defined fields" 01:45 <+perlDreamer> You'll be doomed to forever reinvent ways of fixing things that aren't broken! 01:46 -!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI 01:46 <@iHateThere4iAm> there's a content profiling class at the WUC this year 01:46 <@iHateThere4iAm> elnino, you should attend 01:47 < elnino> Agreeed perlDreamer - but wbgui is a big monster. I've been using it for two years, and still learning what it can do. And it's hard to document all the different scenarios that you can use features liek this for. 01:47 < elnino> got money? my company won't send me to something liek that.... 01:47 <+perlDreamer> think of it this way 01:47 < elnino> i wish. 01:47 <+perlDreamer> how many hours have you spent on this latest topic? 01:48 < elnino> 4 hours. 01:48 <+perlDreamer> take that time, multiply by your salary, multiply by the number of future projects you'll be doing 01:48 < elnino> but many more to come... 01:48 <+perlDreamer> compare that to 2 days of hardcare, intense webgui training 01:48 <+perlDreamer> with rizen and his team pounding info into your head 01:48 <+perlDreamer> it will come spilling out your ears 01:49 < elnino> you don't have to conviense me. wanna come to minnesota? 01:49 <@preaction> c'mon, it's not that bad 01:49 <+perlDreamer> preaction: it's that good 01:49 <@preaction> oh 01:49 <@iHateThere4iAm> the WUC is in Madison, WI 01:49 <@iHateThere4iAm> it's only about a 5 hour drive from you 01:50 < elnino> got childcare? =) 01:50 <@iHateThere4iAm> and there is a hostel only 4 blocks from the conference hotel if you want to stay cheap 01:50 <+perlDreamer> tell your boss that after you come, you'll turn around and teach the same class back to your team 01:51 <@iHateThere4iAm> elnino, you can find a billion reasons not to come if you want to...but in the end, the more questions you ask without answering any the less likely it is that people will want to help you 01:51 <@iHateThere4iAm> the only way to answer questions is to find out the answers, and the best way to do that is to get your butt to the wuc 01:53 <@iHateThere4iAm> i guarantee it will be the best money/time that you and your boss spend on your webgui project 01:54 <+perlDreamer> aside from your salary, of course 01:59 < elnino> no seriously, I work parttime in IT and have a baby (I can only do this BECAUSE of webgi - thank you) . I would like to go. Is there remote teleconferencing? I just put my request in - wel'll see if I can go. And if I can find someone to watch my child. Gotta go do dinner now. I"ll stay logged in. 02:06 <+perlDreamer> elnino, no remote teleconferencing, but you will be able to buy conference videos 02:06 <+perlDreamer> but the face to face time with other users and devs is invaluable 02:37 -!- perlDreamer [n=ckuskie@nat039.mxim.com] has quit [""time to go home""] 02:39 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)] 02:50 -!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has quit [Read error: 110 (Connection timed out)] 03:03 -!- Radix-wrk [n=Jesse@formsys.com] has joined #webgui 03:03 -!- mode/#webgui [+v Radix-wrk] by ChanServ 03:32 -!- snapcount [n=royjohns@sccc-66-78-236-243.smartcity.com] has quit [] 03:45 -!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui 04:18 -!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has quit [Read error: 110 (Connection timed out)] 04:20 < perlmonkey2> anyone know how you would do a SQL.pm query using a 'where something in ?'[$listOfCommaDelimitedString] 04:42 -!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has joined #WEBGUI 04:45 -!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI 04:51 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui 04:51 -!- mode/#webgui [+o preaction] by ChanServ 05:06 < elnino> hi. anyone there understand content profiling? 05:18 -!- Radix-wrk [n=Jesse@formsys.com] has quit ["Leaving"] 05:28 -!- Radix-wrk [n=Jesse@formsys.com] has joined #webgui 05:28 -!- mode/#webgui [+v Radix-wrk] by ChanServ 05:33 -!- Radix-wrk [n=Jesse@formsys.com] has quit [Read error: 104 (Connection reset by peer)] 05:33 -!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui 05:33 -!- mode/#webgui [+v Radix-wrk] by ChanServ 05:35 <@apeiron> http://infotrope.net/blog/2007/11/27/test-driven-development-tutorial/ # neat TDD presentation 05:38 <@apeiron> There's some neat bits on legacy code starting at slide #62. 05:47 < elnino> I was talkingn with perlDreamer and "iHateThere4iAm before and they were telling me about content profiling. I've read the wiki, but I'm having a difficult time retreiving the valuse into my template. I've enabled content profiling under settings, and filled in the value under the metatab on the page layout screen. the name of one of the properties is meta_keywords. So I'm using <tmpl_var meta_keywords> but am unable to see the value. 05:47 < elnino> Did I miss something? 05:52 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit ["Leaving."] 05:56 <@apeiron> elnino, I just set up a text field on an article in a stock 7.5.7 build and it's showing up as expected. 05:57 <@apeiron> elnino, Under Content Profiling in the Admin Console, there's a field named greeting. Its possible values are 'hello' and 'world'. I added a greeting field to /home/welcome , changed the template to include this: <tmpl_var greeting> and it shows up appropriately. 05:58 -!- Radix-wrk [n=Jesse@203.161.68.67] has quit [Read error: 104 (Connection reset by peer)] 05:58 -!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui 05:58 -!- mode/#webgui [+v Radix-wrk] by ChanServ 05:58 -!- Radix-wrk [n=Jesse@203.161.68.67] has quit [Client Quit] 05:59 <@apeiron> elnino, How does what you're seeing differ from this, so that I can try to duplicate the problem better? 06:01 < elnino> hi. I'm using 7.4.x and nothing shows up. Just blank lines 06:01 < elnino> thank you for getting back to me.. 06:02 < elnino> I feared that I was using names I wasn't allowed to use, because I didn't know if the property name needed to be the same as the meta tag I'm using. I defined one for keywords, description, and title 06:02 < elnino> Which of course are all being used in webgui for the pagelayout properties. So 06:02 < elnino> I renamed them meta_keywords, meta_description, meta_title. 06:03 < elnino> then in my template, I'm trying to display them with 06:03 < elnino> <meta name="description" content="<tmpl_var meta_description"/> 06:04 < elnino> actually, sorry, I'm first checking for the existance: 06:04 < elnino> <tmpl_if meta_desription> 06:04 < elnino> then I print out the variable like above 06:04 < elnino> </tmpl_if> 06:04 < elnino> and nothing is printed out. just blank lines 06:04 <@apeiron> ahh, hmm 06:05 <@apeiron> So this isn't the asset template (like, say, article) but rather the style template, yes? 06:05 < elnino> which by the way, it appears that there aren't very many characters with these, it's getting chopped at about 50 chars. which won't do with meta tags 06:05 < elnino> Yes, this is the main style template. 06:06 <@apeiron> Okie. 06:06 * apeiron tries to reproduce. 06:07 <@apeiron> ah! 06:07 <@apeiron> elnino, Oh, you have the <tmpl_if> tag closed correctly, right? 06:07 < elnino> as above. I believe so... 06:08 -!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui 06:08 -!- mode/#webgui [+v Radix-wrk] by ChanServ 06:08 -!- Radix-wrk [n=Jesse@203.161.68.67] has quit [Read error: 104 (Connection reset by peer)] 06:08 < elnino> I'm going to trying it without it. is that the problem? 06:09 < elnino> I removed my if statements. 06:09 < elnino> now I just get <meta name="description" content="" /> 06:10 <@apeiron> Yes, I get the same thing. 06:10 <@apeiron> It's like the template variables haven't been processed entirely at that point.. 06:11 < elnino> oh... that stinks. the wiki advertises that this can be used for meta data. is it a bug? or am I pushing the limits here? 06:11 <@apeiron> It works fine in the article template. 06:11 <@apeiron> Honestly I'm not sure. I've never touched head tags in style templates nor content profiling. 06:12 < elnino> i just reread the wiki bottom. what does this supposed to mean: "Since the meta data is exposed as template variables, you can use them in the Head Block of Style templates to create meta tags from meta data, " 06:12 <@apeiron> It does support your argument, I'll admit that much. 06:13 < elnino> ah.. let me try to put it in the head block area.... 06:13 < elnino> ... of the main template... 06:15 <@apeiron> hrm. it's odd that it's not working... at all. 06:15 < elnino> now I"m getting <meta name="description" content="tmpl_var description:. 06:15 < elnino> I'll try it in an article template head block 06:17 < elnino> ummm... So I "enabled metadata" and now I see there is also "enable passive profiing" do I need both? 06:19 <@apeiron> I don't believe so, from the description on the wiki. 06:21 <@apeiron> I'm looking at the code now. 06:23 < elnino> ok. I tried the article template, and it "overwrote" the articles descriptoin field and article's title. So I can't use the meta tag's name - which I kinda figured because it clashed with the asset/wobject's properties. 06:23 <@apeiron> hmm? I was able to put in a text field in an article template and it didn't overwrite anything. 06:24 < elnino> I had named my profile properties after the actual meta tag: title keywords and description. Title and Description are used by webgui. 06:25 < elnino> so in my article. It pulled the profile title instead of the article title. 06:25 < elnino> likewise witht he description 06:25 <@apeiron> ahh. 06:25 <@apeiron> Well, okay, yeah, don't do that. :) 06:25 <@preaction> passive profiling is metadata + individual user accounts i believe 06:25 < elnino> sorry. =( I'm just glad I didn't screw the system up. 06:26 <@apeiron> No need to apologize, it's just that that won't do what you want. 06:27 <@apeiron> (because of the overriding you described) 06:27 < elnino> sounds right, according to the wiki it kinda looks like passive profiling tracks hits and rankings and stuff that I didn't quite understand, and we don't use user accounts so I left it disabled. 06:28 < elnino> calling the profile in the head block of an article template doesn't do anything. I'm going to try to put it in the template itself. 06:30 < elnino> ok. it works in an article title like apeiron said, but it still doesn't work in a style template. 06:30 < elnino> which is where I want to put the meta tags. I suppose I can call a snippet to do the same. I'll try that. 06:30 <@apeiron> Is wG::Session::Style->process() not what's called to process a style template? 06:31 <@apeiron> I'm putting debugging code in there to dump out metadata stuff and it's not showing in my logs. 06:32 <@preaction> it calls Wobject->processStyle which calls Session->Style->process 06:32 <@preaction> processTemplate is what gets the metadata stuff though 06:32 <@preaction> that's in Asset 06:32 <@apeiron> For the Style template, though? 06:33 <@preaction> style templates aren't processed via processTemplate 06:33 <@preaction> i don't think 06:34 <@apeiron> preaction, Line 204 of wG/Session/Style.pm in HEAD 06:35 <@apeiron> It explicitly requests the metadata fields and populates $var accordingly. 06:35 <@preaction> i see 06:35 <@apeiron> And if I change the 'WebGUI' in there to read 'WebFUI', it does show up. 06:35 <@apeiron> What's not happening, though, are any errorHandler calls, which is odd. 06:36 * apeiron shrugs, puts a dumper call in the raw HTML. 06:36 < elnino> I tried putting my calls into a snippet and calling that inmy style template, and that didn't work. But I suspect you probably knew it wouldn't. I'll let you two discuss this. =) i need to do laundry. 06:37 <@apeiron> Okay, so, the metadata properties show up if I outright dump them into the HTML. 06:38 <@apeiron> Ah, but hmm... 06:38 <@apeiron> 'value' => undef 06:48 < elnino> I'm trying a meta tag that hopefully is unigue to webgui: robots. as the ones I've been working with are "reserved words" for webgui's infrastructure. 06:49 -!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui 06:49 -!- mode/#webgui [+v Radix-wrk] by ChanServ 06:51 < elnino> no go. property name = robots, html should be: <meta name="robots" content="blah" /> did not display in style template. 06:52 < elnino> I was hoping it HAD to match the meta tag name, and description, keywords, title coulnt' because they were already used. oh well. 'm out of testing ideas. 06:52 <@preaction> you have <meta name="robots" content="<tmpl_var robots>" /> in your style template right? 06:53 <@apeiron> preaction, I tried it too, on 7.5, and it doesn't output anything whatsoever. 06:53 <@apeiron> For the template variable, that is. 06:53 <@apeiron> It'll output something like this: <meta name="robots" content=""> 06:53 < elnino> yes, as apeiron is saying. 06:55 <@preaction> that's not good 06:55 <@preaction> i suggest writing some tests 06:56 <@apeiron> hmm. getPage should allow me to get the full www_view output of the asset, right? 06:56 <@apeiron> Everything from the doctype to </html> 06:58 <@preaction> yes 06:59 <@preaction> excepting HTTP headers 06:59 <@apeiron> They're not important for this, so that's okay. 07:14 < elnino> thanks folks for spending time on this, it's much appreciated. My marketing people will be estatic! and so will I. 07:25 -!- perlDreamer [n=colink@pool-71-117-250-89.ptldor.fios.verizon.net] has joined #webgui 07:25 -!- mode/#webgui [+v perlDreamer] by ChanServ 07:25 <+perlDreamer> elnino: part-time always involves such late hours? 07:25 <+perlDreamer> or are you an after bed-time hacker like me? 07:26 < elnino> yes no, when I want to get something done, I get it done. and often its during the late hours when baby is in bed. 07:26 < elnino> I didn't mean to cut you off eariler today, the network dropped on the laptop. I've had nothing but troubel with this vista machine! 07:27 < elnino> I hope I am able to come to the WUC. We'll see how it goes. 07:28 <+perlDreamer> not a problem. I hope I wasn't too pushy. 07:28 < elnino> the reason why i'm up late today is I think I've got preactiona and apeiron chasing after a bug. 07:28 <+perlDreamer> cool! 07:28 < elnino> no you weren't, just enthusiasic. 07:28 <@preaction> he is, i'm just idling. 07:28 < elnino> LOL 07:28 * apeiron will be chasing it after sleep, sometime soon. 07:28 <@preaction> i'm finally migrating the plainblack.com / webgui.org CS and folders to Galleries 07:28 < elnino> I'm pursue content profiling, and it appears that it dosn't work at all. 07:29 <@apeiron> Oh, so that's why the site's horribly broken and giving 500 errors... 07:29 <+perlDreamer> not at all? 07:29 <@preaction> apeiron, no? 07:29 < elnino> it only works in article assets, not on style templates. 07:29 <@apeiron> preaction, Sarcasm, sir. :) 07:29 < elnino> if I said that correctly. 07:29 <@preaction> apeiron, don't worry me like that :p 07:29 <@apeiron> ha 07:29 <+perlDreamer> why do you say it doesn't work? Are the template variables missing, or something else? 07:29 < elnino> note to self. don't eat white jelly beans. yuck. 07:30 <@preaction> i'm making a restore point right now so we don't have to go back to this morning's backup if i screw up royally 07:30 <+perlDreamer> "alas, earwax" 07:31 <@preaction> they have pina colada ones that are white 07:31 <@apeiron> perlDreamer, What happens is when you put a <tmpl_var meta_data_field_here> in a style template as opposed to an asset template, it doesn't render the contents of the variable. 07:31 <@apeiron> perlDreamer, You get an empty string, that's it. 07:31 < elnino> I've created the profiles names and called them appropriately and they come up undefined, or blank in a style template, but if I use an article and display the content profies in the articles's template they show up. 07:32 < elnino> listen to apeiron. he worded it better. 07:32 <@apeiron> And this means, at least as far as elnino and I can tell, that the "you can use this for the Dublin Core headers" part of the wiki is wrong, or at least not functioning. 07:33 < elnino> I dont' know what Dublin Core headers are, but I'll trust you. I just want meta tags: keywords, description and <title> and more later. 07:33 <+perlDreamer> there are no tests for asset level metadata in Session/Style 07:33 <+perlDreamer> I haven't written those yet, although there is a TODO test to remind me to do it 07:33 <@preaction> i was hoping that the metadata was pulled from the current asset, not the style template 07:34 <@preaction> since it doesn't make sense to have <meta> tags as part of a style template 07:34 <@preaction> er, metadata as part of a style template 07:34 < elnino> well, yes, I define them at the page layout and wnat to display them in the pagelayout style template. 07:34 <@preaction> yeah 07:34 <@preaction> it makes sense to put them in a Layout and have them appear in the <head> block 07:35 <@preaction> I think templates should hide the metadata tab completely, they shouldn't be allowed to use metadata 07:35 < elnino> I'm sorry WRONG. I define them at the page laytout metadata, and display them in the STYLE TEMPLAET. 07:35 < elnino> I said that wrong eariler, I meant. 07:35 <@preaction> elnino, that may not be the best way of doing it, but the end result is: they appear in the <head> block of the page, right? 07:36 < elnino> meta data must be in the head block 07:36 < elnino> so the styel template seemed to be the correct place to display them. 07:37 < elnino> I trie dputting them in the page layout head block portion of the page layout template, and that didn't work either. The wiki eluded to that. 07:38 < elnino> the method of calling the content profile files in the "head blcok" of the template only worked for article assets. 07:38 < elnino> not for pagelayouts 07:38 < elnino> but I'll try it again. 07:38 <@preaction> elnino, if you want it to work right now, I would make a macro that did it. the macro could be as simple as "sub execute { return $self->session->asset->getMetadataFields( shift ); }" 07:38 <@preaction> then your macro would be something like ^Metadata( fieldName ); 07:39 <@preaction> if you put that macro in an RFE for that macro, it could help people a lot 07:39 <@preaction> it would make metadata more useful at least 07:39 < elnino> that would be aweseom. I'll try that too. sure. No problem. 07:39 <+perlDreamer> that's fieldId, not fieldName 07:39 <@preaction> fieldId, right 07:40 <@preaction> not sure what getMetadataFields returns, there may be something else involved, but it should be really simple 07:40 <+perlDreamer> it's a hashref 07:42 < elnino> after all this, I'm updating that wiki. it was a good start, but definately not complete in my opinion. 07:43 <+perlDreamer> elnino, some people hack on bugs, some write tests, some help people on IRC, but those who work on the wiki are blessed by all the users 07:47 <+perlDreamer> this is a barebones macro that will return the value of a metadata field that is looked up by fieldId. 07:47 <+perlDreamer> http://webgui.pastebin.org/29881 07:47 < elnino> hmm. I put the calls to the vars in the page layout styel sheet in the head block section and it didn't work either: <tmpl_Var meta_description> - it's as if the head block doesn't handle template variables. But I'm pretty sre the article asset's template head block did. 07:47 <+perlDreamer> I haven't tested it, so caveat hackor 07:48 <+perlDreamer> time to crash out, I'm up at 5:30am tomorrow. 07:48 <+perlDreamer> See y'all in the morning :) 07:48 -!- perlDreamer [n=colink@pool-71-117-250-89.ptldor.fios.verizon.net] has quit ["Leaving."] 07:50 < elnino> It's not appropriat to display meta tags in the pagelayout portion, but it did work. so now I have meta tags in my <body> tag. 07:51 < elnino> is the "head block" portion of teh template supposed to show up in the body? by the name it sounds like it's suppoed to be in the head block. sounds like a bug. I noticed this before, but I didn't really care, now that I"m doing meta tags, I do. I'll report this. 07:52 <@preaction> it's probably a problem in your style template 07:52 <@preaction> the Head Block isn't processed for template variables, that would be an RFE as well 07:57 < elnino> if head block doesn't process variables what does this mean fromthe wiki: "Since the meta data is exposed as template variables, you can use them in the Head Block of Style templates " 07:58 < elnino> last senttence in the wiki. 08:01 <@preaction> either that's wrong or it's a bug, but i'm betting that's wrong 08:01 <@preaction> which wiki article are you looking at? 08:02 <@preaction> (i can tell if the wiki should be right or if it's wrong) 08:02 < elnino> http://www.webgui.org/community-wiki/content-profiling 08:02 < elnino> only one there is. 08:02 < elnino> =) 08:03 < elnino> on the current subject, that is. 08:03 <@preaction> tera put it in, which probably means it was in the old WebGUI Done Right content section of plainblack.com... 08:03 <@preaction> I would post a bug report and link that wiki article 08:04 <@preaction> because the head block is not parsed for template variables, not even just for the metadata stuff 08:04 <@preaction> and once again i have my code working on the first try, which means either my tests are wrong or i'm actually right 08:05 < elnino> is the wiki describing how it should work? aperion was able to duplicate my situation. you want the nitty gritty of what I was doing? 08:06 <@preaction> i'm saying the wiki May be describing how it should work 08:07 <@preaction> it seems that Content Profiling is on everyone's minds these days 08:07 < elnino> ok. I was unclear as to what was containing the bug. 08:07 < elnino> really? first time I've heard of it from you today. 08:08 <@preaction> i've had more than a few discussions with Steve and other clients about how to do metadata and such 08:08 < elnino> did it work for them? 08:09 < elnino> if it did, me and apreion definately are missing something. 08:11 <@preaction> no, i told them the same things i've told you 08:11 <@preaction> head blocks are not parsed for template variables and Content Profiling is just shy of being actually useful 08:14 < elnino> so, you said "once again i have my code working on the first try" is that in reference to the content profiling, or are you dual tasking on something else? did you print out a content profile value using a pagelayout or article asset template? 08:15 <@preaction> i'm multi-tasking 08:16 <@preaction> i'm writing the utility that migrates a Folder of Image assets into the new Gallery 08:23 < elnino> ok. I just noticed that perlDreamer wrote me the code for the macro you suggested. Can you thank him for that? and I have a quick question and I'll be gone... 08:24 < elnino> what is the difference tween a macro using process verses execute. i never saw "execute" before. 08:24 < elnino> is that a 7.5 thing? 08:25 <@preaction> most likely it's a bug 08:53 -!- ryuu_ro [n=rory@194.171.50.69] has joined #webgui 09:23 < CIA-1> WebGUI: jt * r6134 /translations/Polish/Polish/ (Invite.pm Asset_Post.pm): update_from_translation_server 09:51 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit ["Leaving"] 09:51 < elnino> hi. So the macro works fine, but I'm still running into the same problem. I can't run it in the style template, because it appears that at that point, it doesn'tknow anything about the page layout's content profile variables. 09:51 < elnino> so I'm stuck. And preaction just left. I and I think I'm talking to myself now... 09:59 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui 09:59 -!- mode/#webgui [+o preaction] by ChanServ 10:13 < elnino> hi again preaction: just to let you know my status: 10:13 < elnino> So the macro works fine, but I'm still running into the same problem. I can't run it in the style template, because it appears that at that point, it doesn'tknow anything about the page layout's content profile variables. 10:15 < elnino> I wrote up a bunch of rfe's and bug reports. hopefully they make sense. I'm going to bed now. I probably wont' work again on this till thursday. 10:27 -!- elnino [n=elnino@user-38q49cv.cable.mindspring.com] has quit ["Leaving"] 10:33 -!- Radix-wrk [n=Jesse@203.161.68.67] has quit ["Leaving"] 11:14 -!- BartJol [n=plainstu@host2.procolix.com] has joined #webgui 12:38 -!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui 14:16 -!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has quit ["Leaving"] 15:24 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui 16:05 -!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has quit [Read error: 104 (Connection reset by peer)] 16:09 -!- iHateThere4iAm [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit [] 16:09 -!- SDuensin [n=Scott@228.sub-75-206-23.myvzw.com] has joined #WebGUI 16:13 < SDuensin> Morning. 16:18 < perlmonkey2> SDuensin: at least you didn't claim it was good. 16:18 -!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has quit [] 16:19 < SDuensin> I'm not that foolish. :-P 16:31 < perlmonkey2> can someone point me at an example of a webgui asset handling a file posted from a form? 16:31 < perlmonkey2> s/can/would/ 16:32 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)] 16:32 -!- slickware [n=slick@c-76-119-132-119.hsd1.ma.comcast.net] has joined #webgui 16:34 -!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui 16:34 -!- mode/#webgui [+o rizen] by ChanServ 16:37 < slickware> everyone's so chatty this morning 16:37 < slickware> I have a question for whoever is awake... 16:38 < slickware> I have 2 servers, one is currently at build 6.2.9, and the other is at 7.4.27-stable 16:38 < slickware> and I am wondering if there is an upgrade path between the two 16:39 <@rizen> of course 16:39 < slickware> is there a way to find out how much I would lose? 16:39 <@rizen> you can upgrade from 0.9.0 all the way to 7.5.10 if you want 16:39 <@rizen> how much what that you'd lose? 16:39 < slickware> functionality 16:40 <@rizen> there's more functionality in 7.4 than there is in 6.2 so i don't understand the question 16:40 < slickware> I don't have any custom wobjects, but I know some got phased out after 6.2 16:40 <@rizen> yeah, but they're also replaced with other assets 16:40 <@rizen> we don't phase out one without creating another 16:41 < slickware> right - but does the upgrade process replace them, or is that left up to the user? 16:41 <@rizen> the only major problems that you're going to encounter is that you're going to have to update a bunch of templates 16:41 -!- topsub [n=josh@97.66.185.250] has joined #webgui 16:41 <@rizen> the upgrade auto-migrates you 16:42 < slickware> cool 16:42 < perlmonkey2> rizen: I know you gave me some info on this before, but could you point me at a good example of handling a file post from a form? 16:42 <@rizen> there are many stop points along the way though, so take a look at the latest gotcha's to know about those 16:43 <@rizen> are you using the File form control? 16:43 <@rizen> or do you want to do it manually? 16:44 < perlmonkey2> rizen: ah, I'm not sure what the file form control is. I'm just adding a html input file type and then posting with an async call that is multi-part. 16:44 <@rizen> ok then you want to do it manually 16:44 <@rizen> in that case you do this: 16:45 <@rizen> my $storage = WebGUI::Storage->create($session); 16:45 <@rizen> $storage->addFileFromFormPost("fieldnamegoeshere"); 16:45 <@rizen> if you want to know the filename that results, then put a my $filename = in front of the last line 16:46 < perlmonkey2> and what is the $filename representing? 16:46 <@rizen> the filename 16:46 < perlmonkey2> an actual file on disk? ephermeral storage in a temp table? 16:46 <@rizen> file.pdf 16:46 <@rizen> or whatever 16:46 < perlmonkey2> in uploads? 16:46 <@rizen> yes the physical filename 16:46 <@rizen> yes 16:46 < perlmonkey2> okay, cool 16:47 <@rizen> and $storage has all the path info 16:47 <@rizen> so for example you can do: 16:47 <@rizen> my $url = $storage->getUrl($filename); 16:47 <@rizen> or my $path = $storage->getPath($filename); 16:47 < perlmonkey2> that is awesome. that will work much better than how I was going to do it. 16:47 <@rizen> webgui's got ya covered man 16:48 < perlmonkey2> that actually rawks quite a bit. 16:48 < slickware> rizen: will it make a difference that the older server is NOT running the WRE, but the new one IS? 16:49 < slickware> (who knew v6.2.9 was so stable? it's been running since like, 2004) 16:51 -!- dionak [n=diona@97.66.185.250] has joined #webgui 16:51 <@rizen> once you're upgraded it won't matter at all 16:52 <@rizen> lots of people are still saying that about 5.5 too and it pisses me off. =) 16:52 < slickware> haha 16:52 < slickware> 5.5 was the BEST 16:52 < slickware> no offense :) 16:52 <@rizen> Such nostalgia 16:52 <@rizen> I wish someone could tell me what was so good about it? Or what is so much better than WebGUI 7.4 16:52 < slickware> I'm not a big fan of the new interface. I feel oldschool 16:53 < slickware> big icons, shiny things, doesn't do it for me 16:53 <@rizen> You realize that the "new" interface is 3 years old now 16:53 <@rizen> =) 16:53 <@rizen> actually almost 4 16:53 < slickware> yeah.. like I said - i've been putting off this upgrade since 2003 16:53 < slickware> and now the old server is dying, so it's time to go 16:53 <@rizen> indeed 16:54 < slickware> there's definitely more functionality in the new one 16:54 < slickware> A little too much for most of my users 16:54 < perlmonkey2> that is pretty crazy that code so bitrotted was secure enough to live on the web, without upgrades, for 5 years. 16:54 < slickware> haha 16:54 < slickware> well I updated the OS 16:54 < slickware> just not webgui 16:54 <@rizen> The new one, especially with versioning hidden, is much easier for newbs that never saw the old version to move through. 16:55 <@rizen> most people do like big shiny icons, and consistent screens 16:55 < slickware> oh man, the versioning is my least favorite part. (but I already complained about that, so I'm done) 16:55 <@rizen> plus you have to admit that the asset manager is way better than the old page tree thing 16:55 < perlmonkey2> slickware: you must be in a small user environment. Wait until you have 15 content managers all stepping on each others' toes :P 16:56 <@rizen> you do know you can hide versioning entirely, right? 16:56 < slickware> i'm sure versioning would help in that scenario 16:56 < slickware> I know I CAN, I just haven't gotten there yet 16:56 <@rizen> ah 16:56 <@rizen> starting with 7.5 it's hidden by default, so it works just like 5.5 16:56 <@rizen> or 6.2 16:56 < slickware> and I also have to say.. I bought the admin guide and the primer 16:57 < slickware> and neither one is incredibly helpful for teaching this old dog 16:57 < slickware> it got me up and running, but as for general workflow, they fail 16:58 <@rizen> interesting, if you have comments on what to do to improve them please send them to kristi@plainblack.com 16:58 <@rizen> she's working on the new versions right now 16:58 <@rizen> and she can make sure that your ideas help future users 16:58 < slickware> if I hide versioning, does it auto-approve all changes immediately? 16:58 <@rizen> yes 16:58 < slickware> great 16:59 < slickware> and what happens if I decide to un-hide at a later date 16:59 -!- topsub [n=josh@97.66.185.250] has quit [Remote closed the connection] 17:06 -!- bopbop [n=kmccombs@71-90-131-140.dhcp.mdsn.wi.charter.com] has joined #webgui 17:08 -!- Haarg [n=haarg@24-196-80-80.dhcp.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"] 17:12 -!- topsub [n=josh@97.66.185.250] has joined #webgui 17:16 < slickware> rizen: so, reading the gotcha's - do I literally have to go through and update each line item from 6.0 to 7.4, and then run the full upgrade? or am I supposed to download each incremental update one at a time from then until now? 17:16 < slickware> or, the better question is, what would plainblack charge me to do it? :-D 17:22 <@rizen> slickware: if you unhide it later, no problem 17:22 <@rizen> you download each stop point and upgrade to that 17:22 <@rizen> so upgrade to 6.2.11, then whatever the next one is 17:22 < slickware> oh god 17:22 <@rizen> there are about 4 stop points 17:23 <@rizen> what do you want, you're 4 years out of patch 17:23 < slickware> how do I know which ones are stop points? 17:23 <@rizen> it says so in the gotchas 17:23 <@rizen> says "Upgrade to the latest X.X.Y version before continuing" 17:23 <@rizen> plain black will charge you $200 per hour to do it because you don't have a support agreement with us 17:24 <@rizen> it will likely take 2-3 hours for us to do the upgrade 17:24 < slickware> I am either blind, or looking at the wrong file here... I don't see anythign that looks obviously like a stop point 17:24 < slickware> i'm reading the gotchas for the 7.4 version I've got, it's about 20 pages long 17:24 <@rizen> probably blind 17:25 <@rizen> hehe 17:25 -!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui 17:25 -!- mode/#webgui [+o Haarg] by ChanServ 17:25 < slickware> it lists every version from 7.4 down to 6.0 17:25 < slickware> but none of them seem to have "upgrade to X.X first" 17:25 <@rizen> http://www.plainblack.com/downloads/builds/7.4.32-stable/WebGUI/docs/gotcha.txt 17:25 <@rizen> 7.4.0 17:25 <@rizen> has one 17:25 <@rizen> read it 17:26 <@rizen> 6.99.0 has one 17:26 <@rizen> and i recommend that you do the same for 7.0, but it's not entirely necessary 17:27 <@rizen> 6.7.0 has one 17:27 <@rizen> 6.3.0 has one 17:27 < perlmonkey2> rizen: You wouldn't have any pointers one where to start looking for this situation. My multi-part asysnc call on the client is not getting a return from the server, even though wG says it is returning good data. And also, the file doens't seem to be written to disk even though I have a new path from the storage->create call. My guess is that for some reason the file isn't being written to disk, leaving the async post open, so it 17:28 <@rizen> so you need to update to the latest of 6.2.x, 6.6.x, 6.8.x, 6.99.x, and 7.3.x before proceeeding 17:28 -!- topsub [n=josh@97.66.185.250] has quit ["Leaving"] 17:28 <@rizen> pm2 i haven't done any async file uploads so i can't really say...but i'd check both the webgui and modperl logs 17:29 < slickware> thank you 17:29 <@rizen> and turn them both up to the "info" level if necessary 17:29 < slickware> not that I *dont* want to read 20 pages of gotchas looking for that next time... but they could be, say, put in parenthesis - or labeled "7.4.0 - STOP POINT" for us lazy folk :) 17:30 <@rizen> you don't have to read 20 pages, just look at the x.x.0 releasese 17:30 <@rizen> those will be the only ones with stop points 17:30 < perlmonkey2> okay, thanks rizen 17:30 < slickware> ah 17:31 <@rizen> also....i don't want to explicitly call out stuff like that in the gotchas because i actually want you to READ the gotchas 17:31 <@rizen> they're important 17:31 -!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui 17:31 <@rizen> we don't document them for our health 17:31 < perlmonkey2> don't miss the one about JSON 17:31 <@rizen> we do it for your site's health 17:32 -!- topsub [n=josh@97.66.185.250] has joined #webgui 17:33 -!- ryuu_ro [n=rory@194.171.50.69] has quit [] 17:34 < slickware> yeah JSON and I don't get along 17:34 < slickware> we had a big fight trying to install one of the 7.4 WRE's 17:35 < slickware> it ended badly... 17:35 < slickware> I came crying back to JT, as always 17:36 <@rizen> did i give you warm milk and a cookie and say that it was ok? or did i disown you and kick you out of the house? 17:36 < slickware> it was more like the stern father talk actually... RTFM and take it like a man :) 17:43 < slickware> christ, I may just pay you guys to do this. How much lead time would you need on that kind of project? it's only maybe 4 live webgui sites on that server, I just don't feel like losing them. 17:45 <@rizen> that depends on what's in the queue when you submit 17:45 <@rizen> it's first come first served 17:45 <@rizen> sometimes it can be done same day 17:45 <@rizen> sometimes it needs to be planned a week in advance 17:45 <@rizen> send an email to vrby@plainblack.com to schedule 17:45 < slickware> I'd probably be looking at end-of-month. My backup drive in that server failed, and I don't feel like building another 5.x machine 17:46 < slickware> and I don't feel like attempting that big of an upgrade on a production server, having never done it 18:01 < perlmonkey2> Anyone bored and want to look at this code and see if I'm doing something wrong for file uploads? Like maybe I can't call paramsHashRef before I call addFilesFromFormPost? http://pastebin.com/m12d5550b 18:08 < topsub> ouch.. non syntax code hurts. 18:08 < topsub> :-p 18:09 < perlmonkey2> topsub: non syntax code? 18:09 < topsub> the paste bin 18:10 < topsub> didn't say it was perl so all one color 18:10 < topsub> just use to seeing coloring. 18:11 < topsub> So your just trying to upload a file perlmonkey? 18:11 -!- lisette [n=liraos@201.232.58.66] has joined #webgui 18:11 < perlmonkey2> yeah :( 18:11 < perlmonkey2> from an YUI async call 18:12 < perlmonkey2> just found out that they don't return and there is a 'upload' event I should listen for instead of success. 18:12 < perlmonkey2> It is returning, but my file isn't being written to disk. 18:13 < perlmonkey2> topsub: any clues? hints? theories? 18:13 < topsub> i know i have a small test and file upload script i could put on paste bin so you can look at 18:13 < topsub> i wrote a test to test an upload script in webgui 18:13 < topsub> dunno if that might help you any 18:13 < topsub> see what calls i am making 18:13 < perlmonkey2> I think the script is working, as I'm getting the yui upload event back, but on the webgui end I'm not seeing the file. 18:13 < perlmonkey2> sure 18:13 < perlmonkey2> that would be great. 18:14 < topsub> give me a sec to get it 18:15 < topsub> your doing some things i haven't used yet so i would be guessing but figure if i offer a script i am using you might get ideas and can compare 18:17 -!- preaction [n=doug@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui 18:17 -!- mode/#webgui [+o preaction] by ChanServ 18:18 < slickware> Anyone know if there is a way to import INTO a webgui calendar so I don't have to enter hundreds of things by hand? 18:20 < perlmonkey2> k 18:21 -!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has quit ["Leaving."] 18:21 < perlmonkey2> topsub: I think I just realized the problem anyway. in the addFileFromFormPost I think I need to add the name of the file not the name of the parameter, so it would be the value from the parameter. 18:22 < topsub> perlmonkey2, i stripped the test out of the whole test file and just pulled the function its testing 18:22 < topsub> http://webgui.pastebin.com/m6362b667 18:22 < perlmonkey2> no, it isn't the filename, rizen's example has fieldname 18:22 < perlmonkey2> thanks topsub 18:23 -!- jfluhmann [n=jfluhman@x174y057.angelo.edu] has joined #webgui 18:23 -!- jfluhmann [n=jfluhman@x174y057.angelo.edu] has left #webgui ["Open Source Symposium - http://www.texasoss.org/"] 18:23 < topsub> http://webgui.pastebin.com/mc4cbd48 18:23 < topsub> perlmonkey2, sorry use that link i forgot to add the function that uploads the file 18:24 <@rizen> slickware: you can either use the webgui api and read in your own file format, or you can use an ical feed to do it 18:25 < slickware> what do you mean by use the webgui api to read? 18:25 < slickware> we are unfortunately an outlook shop 18:25 < slickware> I can export my calendar to an iCal format, but then how would I get it in there? 18:26 -!- BartJol [n=plainstu@host2.procolix.com] has left #webgui [] 18:27 < perlmonkey2> topsub: is that first block of code supposed to be a sub? 18:27 < perlmonkey2> the processUploadFile? 18:27 < topsub> the first section is the test 18:27 < perlmonkey2> topsub: okay, cool thanks 18:28 < topsub> then functino right below that is what it calls. then the function below that is the function that uploads if i remember 18:28 < topsub> if you get confused about a part just ask i will do my best to explain 18:28 <@rizen> slickware if you have an ical file then upload it to your webgui site (or some other site that your calendar can access), then go to the feeds tab in your calendar and give it the url to the ical file 18:29 < slickware> excellent, thanks. 18:33 < perlmonkey2> my $filename = $storage->addFileFromFormPost( $id->{'Survey_answerid'} ); <--- that line needs a comment of //I am a complete idiot. Survey_answerid should be Survey_answerId. 18:39 -!- bopbop [n=kmccombs@71-90-131-140.dhcp.mdsn.wi.charter.com] has quit [Read error: 110 (Connection timed out)] 18:40 < perlmonkey2> I think I'll go grab one of my $1 pieces of fruit to reward myself for getting this working. 18:47 -!- bopbop [n=kmccombs@71-90-131-140.dhcp.mdsn.wi.charter.com] has joined #webgui 18:57 <@rizen> mmm $1 fruit 18:58 < slickware> alright. I've uploaded an ical file... if I access it in my browser, it is filled with dates 18:58 < slickware> but if I add that URL as a feed in my webgui calendar, it still shows up as being empty... 19:02 < perlmonkey2> rizen: did you hear my story of the $1 fruit and how I was robbed by fruit pickers? 19:02 < perlmonkey2> more like I was robbed by my own stupidity. 19:05 <@rizen> yes 19:05 <@preaction> perlmonkey2, don't feel bad, i bought a $20 6x8 picture once because the girl had an accent 19:05 <@rizen> and the second is more accurat 19:05 <@rizen> e 19:06 <@rizen> slickware: the ical feed will be picked up by the hourly maintenance tasks 19:07 < perlmonkey2> preaction: hah, that is great 19:07 < perlmonkey2> was it at least a picture of the girl? 19:08 <@preaction> no, it was some shiny picture of a horse (for my girlfriend at the time) 19:11 < slickware> should I be putting the path in as the full http://xx.xx? or should I be using 19:11 < slickware> \root\calendar\file.ics 19:21 <@rizen> the url 19:21 <@rizen> http://some.com/path/to/file.ics 19:25 < slickware> cool. now I just wait an hour for it to update? :) 19:28 <@preaction> or force the Hourly Maintenance Tasks workflow to run 19:34 < slickware> alright.. i'm not crazy. Spectre stops itself, randomly. 19:37 -!- Tavisto [n=plainbla@pool-71-115-176-152.gdrpmi.dsl-w.verizon.net] has joined #webgui 19:38 < slickware> ok. really. I ran the hourly updater in the scheduler - still nothing in my calendar. 19:38 <@preaction> give it time, a couple minutes to do all the things the hourly maintenance tasks workflow needs to do 19:38 < slickware> the other weird thing is, 19:39 < slickware> on the page that has my calendar, there is now only one "edit" area - the "page edit" area is completely missing 19:39 < slickware> and if I try to edit the calendar, it just returns me to the same page instead of going into the edit menus 19:45 <@preaction> if that happens there's probably an error in the logs 19:51 < slickware> ah... "visitor connecting from (server's IP) attempted to make a spectre workflow runner requrst, but we're only allowed to accept from (localhost ip) 19:52 < slickware> main::[[undef]] - Couldn't call method edit on asset for url: home/calendar/hvm-calendar2 Root cause: hash- or arrayref expected (not a simple scalar, use allow_nonref to allow this) at /data/wre/prereqs/lib/perl5/site_perl/5.8.8/JSON.pm line 126. 19:52 < slickware> I told you JSON hates me 19:55 -!- Tavisto [n=plainbla@pool-71-115-176-152.gdrpmi.dsl-w.verizon.net] has left #webgui [] 19:57 -!- crythias [n=gyoung@fl-69-68-148-96.sta.embarqhsd.net] has joined #webgui 19:57 -!- mode/#webgui [+v crythias] by ChanServ 19:59 -!- crythias [n=gyoung@fl-69-68-148-96.sta.embarqhsd.net] has left #webgui [] 20:05 -!- perlDreamer [n=ckuskie@nat039.mxim.com] has joined #webgui 20:05 -!- mode/#webgui [+v perlDreamer] by ChanServ 20:05 -!- jua1 [n=juangui@201.232.58.66] has joined #webgui 20:14 < slickware> that error only occurs if the calendar is subscribed to an ical feed. 20:14 < slickware> if I create a new calendar without a feed, it works fine 20:20 < perlmonkey2> Survey question. In a question text you can put in placehohlders that are either filled from a random set of strings or from the answer to a previous question. But sometimes they want several placeholders and the placeholders have to be able to appear multiple times. So what would be the most intuitive placeholders to use? $1 $2 $3? That might get me into trouble with Perl. Any ideas? 20:21 <+perlDreamer> how about HTML::Template syntax? 20:21 <+perlDreamer> wG users already know templates 20:22 <+perlDreamer> and that's one less pseudo templating system that you need to build 20:22 <+perlDreamer> less coding == happier coders 20:25 < perlmonkey2> hmm..... 20:25 < perlmonkey2> perlDreamer: how'd you get so smart? 20:31 <+perlDreamer> I hang around smart people a lot 20:31 <+perlDreamer> See, I'm not really that smart. 20:31 <+perlDreamer> I just say things that I think smart people will say. 20:31 <+perlDreamer> Ever read anything by Christopher Stasheff? 20:33 <@apeiron> hrm. How odd. Doing export testing and something is removing home/ad2 after it's been written. 20:33 <@apeiron> And *only* home/ad2. 20:38 < perlmonkey2> perlDreamer: Stasheff? nope? 20:38 < perlmonkey2> perlDreamer: blogger? 20:39 < perlmonkey2> ah, author 20:49 < perlmonkey2> perlDreamer: the wiki page on him makes me think I'd like his stuff. I'll stop by the book store today and pick something up. 20:49 < perlmonkey2> any recs? 20:50 < perlmonkey2> starship troupers? Would Heinlein have approved? 21:11 <@preaction> lesson learned today: Don't second-guess the tests until you are absolutely 100% sure the code is right 21:14 <@apeiron> indeed. 21:14 * apeiron learned that a week or two ago. 21:16 <@preaction> perlmonkey2, re: placeholders, i'd use %1 %2 %3. it's easy and familiar enough to programmers. not sure if a full-blown HTML::Template is appropriate in this context 21:16 <@preaction> or even $1, perl's smart enough that it shouldn't be an issue really 21:23 < perlmonkey2> preaction: they just made it even more complicated. When a question sets a random placeholder, they want it to be available to future questions. 21:23 < perlmonkey2> So it would need to be set in that response. 21:24 < perlmonkey2> bah. I might have to use my Force Choke to persuade them otherwise. 21:47 < CIA-1> WebGUI: doug * r6135 /WebGUI/ (10 files in 8 dirs): fix: Events can no longer be edited by anyone who can add events 22:06 < CIA-1> WebGUI: doug * r6136 /branch/WebGUI_7.4/ (docs/changelog/7.x.x.txt lib/WebGUI/Asset/Event.pm): fix: events no longer able to be edited by anyone who can add events 22:25 <+perlDreamer> preaction: tell me more about the tests? 22:25 <@preaction> which tests? 22:26 <+perlDreamer> preaction: lesson learned today: Don't second-guess the tests until you are absolutely 100% sure the code is right 22:26 <@preaction> your changes to Test::Maker::Permission 22:26 <@preaction> i thought xor was doing the wrong thing 22:26 <@preaction> turns out the Event and Calendar permissions are just completely foobar 22:27 <@preaction> so i fixed the Calendar and then the Event tests worked 22:27 <@preaction> so we have some tests for Event permissions 22:28 <+perlDreamer> perlmonkey2: I recommend the earliest books (The Warlock in Spite of Himself, King Kobold, The Warlock Unlocked) 22:28 <+perlDreamer> you'll find my quote in there 22:29 <+perlDreamer> preaction: cool. I like it when tests find bugs :) 22:29 <+perlDreamer> Can I quote you for my presentation? 22:29 <@preaction> indeed 22:29 <@preaction> THE SENIOR DEVELOPER WILLS IT SO! 22:29 <@apeiron> You can quote me, too, in counterpoint. 22:29 <@apeiron> Today was another day of "the code is right, it's the tests that are wrong" for me. 22:30 <@preaction> in an ideal world, every single change to WebGUI would cause some test to fail 22:30 <+perlDreamer> So the lesson is "Always believe the tests. Never believe the tests." 22:30 <@apeiron> Apparently it wasn't that /home/ad2 was being erased--it was just never written for that test. Turns out /home/ad2 is a descendant of /getting-started 22:30 <+perlDreamer> apeiron, which tests were those in? 22:31 <@preaction> no, Always believe the tests unless you are 100% certain the code is right. 22:31 <@apeiron> perlDreamer, They're the ones I'm putting together for the rewrite of the export system. 22:37 <+perlDreamer> perlmonkey2: it also looks like I've found my next wikipedia project. The Christopher Stasheff books need to be unstubbed. 22:43 < jua1> hello 22:48 < slickware> what would make Spectre quit every time I quit the webgui console? 22:50 -!- slickwar1 [n=slick@c-76-119-132-119.hsd1.ma.comcast.net] has joined #webgui 22:51 < slickwar1> what would make Spectre quit every time I quit the webgui console? 22:51 < slickwar1> sorry if that's a repeat. I just got booted. 22:53 -!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: ckotil, dionak, steveo_aa, SDuensin, slickware, perlmonkey2 22:53 <+perlDreamer> netsplit, hang onto your hats, folks! 22:53 < slickwar1> ? 22:54 <+perlDreamer> it's when they switch servers, people get disconnected and reconnected, or something like that 22:54 -!- Netsplit over, joins: ckotil 22:58 -!- SDuensin [n=Scott@228.sub-75-206-23.myvzw.com] has joined #WebGUI 22:59 < lisette> hi 22:59 -!- topsub [n=josh@97.66.185.250] has quit ["Leaving"] 23:00 -!- dionak [n=diona@97.66.185.250] has joined #webgui 23:05 <+perlDreamer> jua1, lisette, y'all should know by now just to ask questions. People will answer. 23:06 -!- steveo_aa [n=sno@adsl-76-234-133-88.dsl.sfldmi.sbcglobal.net] has joined #webgui 23:06 <@apeiron> They could just be being friendly! 23:06 <@Haarg> perlDreamer, can you see a reason not to remove setHelp.t from 7.4? 23:07 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui 23:07 <+perlDreamer> setHelp.t is gone from 7.5, I don't see why not :) 23:08 <+perlDreamer> is it giving you headaches? 23:08 -!- jua1 [n=juangui@201.232.58.66] has quit [Read error: 110 (Connection timed out)] 23:09 <@Haarg> just takes up time and doesn't test anything 23:17 < CIA-1> WebGUI: graham * r6137 /branch/WebGUI_7.4/ (15 files in 9 dirs): fixed: Import/Export of packages with international text is broken 23:17 < CIA-1> WebGUI: graham * r6138 /branch/WebGUI_7.4/ (docs/changelog/7.x.x.txt lib/WebGUI/Auth/WebGUI.pm): fixed: email validation links can be broken by mail servers 23:17 < CIA-1> WebGUI: graham * r6139 /branch/WebGUI_7.4/ (docs/changelog/7.x.x.txt lib/WebGUI/AssetClipboard.pm): fixed: Clipboard select all doesn't work with one item in IE 23:17 < CIA-1> WebGUI: graham * r6140 /branch/WebGUI_7.4/ (docs/changelog/7.x.x.txt lib/WebGUI/Asset/Post.pm): fixed: Users without karma can transfer karma by rating posts 23:24 -!- lisette [n=liraos@201.232.58.66] has quit [Read error: 110 (Connection timed out)] 23:25 -!- juan [n=juangui@201.232.58.66] has joined #webgui 23:25 <+perlDreamer> juan, did you have a question earlier? 23:26 < juan> yes 23:28 < juan> i want to upload a .pl in my site 23:28 < juan> is it posible? 23:28 <+perlDreamer> .pl == perl script? 23:28 < juan> yes 23:28 <+perlDreamer> and upload = upload as a File Asset? 23:29 < juan> when i uploaded it, a txt file extension is added 23:30 < juan> how can i call a pl from one page on my site 23:30 < juan> with using the execute macro 23:30 < juan> ? 23:30 <+perlDreamer> yes, that is because upload scripts (PHP, Perl, Python) is a way of doing a "cross-site scripting" attack. 23:30 <+perlDreamer> When you upload one of those file, WebGUI changes the name so that it cannot be run. 23:32 <+perlDreamer> If you use the execute macro, you just need to provide the path to the file: ^Execute("/path/to/file"); 23:32 <+perlDreamer> but I would use FTP to upload the file instead of making a File asset. 23:33 < juan> if i upload it by ftp, it maintain the extension and i call it directly 23:33 <+perlDreamer> yes 23:34 < juan> ok 23:34 < juan> i am going to try 23:34 < juan> thanks 23:34 <+perlDreamer> you're welcome 23:48 <@rizen> can i be welcome? 23:49 <+perlDreamer> thou art graced with welcomeness 23:49 <+perlDreamer> unfortunately, you're also saddled with a goofy perlDreamer, so it's a mixed bag 23:50 <@rizen> goofy perlDreamers are the best kind 23:50 <+perlDreamer> sometimes they even write C2 code, too 23:50 <@rizen> they're way better than fruit buying perlmonkey's 23:50 * rizen is still working on form code 23:50 <@rizen> heavily borked 23:50 < slickwar1> so... no clues? what might make Spectre stop every time I stop the wreconsole? 23:51 <@rizen> are you running the wre? 23:51 < slickwar1> I am running the wre 23:51 <@rizen> then don't have a guess 23:51 < slickwar1> it's so weird 23:51 < slickwar1> I start wreconsole, and start spectre 23:52 < slickwar1> soon as I stop the console, it stops serving pages 23:52 <@rizen> so start it from the wreservice.pl script instead 23:52 < slickwar1> restart the console, sure enough there it is, stopped 23:52 < slickwar1> I tried that, but the directions in the Admin Guide are incorrect (or they only apply to RedHat installs) 23:52 < slickwar1> what is the correct line to start them from Ubuntu? 23:53 <@rizen> wreservice.pl --start spectre 23:53 <@rizen> it's the same on every platform 23:53 < slickwar1> ah... then I didn't see that in the guide at al 23:53 -!- SDuensin [n=Scott@228.sub-75-206-23.myvzw.com] has quit ["Leaving"] 23:58 -!- crythias [n=gyoung@fl-69-68-148-96.sta.embarqhsd.net] has joined #webgui 23:58 -!- mode/#webgui [+v crythias] by ChanServ 23:58 -!- crythias [n=gyoung@fl-69-68-148-96.sta.embarqhsd.net] has quit [Client Quit] --- Day changed Wed Apr 16 2008 00:15 -!- bopbop [n=kmccombs@71-90-131-140.dhcp.mdsn.wi.charter.com] has quit [] 00:15 <+perlDreamer> rizen, we have a problem 00:15 <+perlDreamer> there are only 29 Assets available for people to choose from from the Admin Bar 00:16 <+perlDreamer> 29 is an odd number, which is unacceptable 00:16 <+perlDreamer> we need another asset 00:16 <@rizen> hehe 00:16 <@rizen> well then when you're done with product you should add "Flat Coupon" 00:16 <@rizen> which just gives a flat percentage or price discount if added to the cart 00:17 <+perlDreamer> cool 00:17 <+perlDreamer> I'll probably get to that sometime in May :( 00:17 <@rizen> i have no idea how i'm going to finish everything in time 00:17 <@rizen> wish i had a billion dollars to hire some more people 00:18 < slickwar1> how big is plainblack, right now? just out of curiosity 00:19 < slickwar1> and/or is it publicly traded 00:19 <+perlDreamer> 1 awesome tech writer, one everyday business manager-type, one script-writing, bug bashing helpdesk guru, 3 incredibly talented devs, picasso on a computer graphics guy, and TMRFE 00:20 <+perlDreamer> does that sum it up, rizen? 00:21 <@rizen> plus 1 part timer, a marketing guru, 2 sales people, and the contractors 00:21 <@preaction> you forgot the Mascot, the Roadie 00:21 <@rizen> and it's not publicly traded 00:21 <@rizen> we're a very small shop 00:21 <+perlDreamer> and the trainer, too 00:21 <@preaction> and Generous Donations from People Like You 00:21 <@rizen> the trainer is the tech writer 00:21 <@rizen> same person 00:22 <+perlDreamer> bopbop and um, the lady with the boots? 00:22 < CIA-1> WebGUI: graham * r6141 /branch/WebGUI_7.4/ (4 files in 4 dirs): 00:22 < CIA-1> WebGUI: fixed: iCal feeds don't update properly when events are changed 00:22 < CIA-1> WebGUI: Conflicts: 00:22 < CIA-1> WebGUI: docs/changelog/7.x.x.txt 00:22 < CIA-1> WebGUI: docs/upgrades/upgrade_7.5.9-7.5.10.pl 00:22 < CIA-1> WebGUI: lib/WebGUI/Asset/Event.pm 00:22 < CIA-1> WebGUI: graham * r6142 /branch/WebGUI_7.4/ (docs/changelog/7.x.x.txt lib/WebGUI/AssetLineage.pm): fixed: getLineage with joinClass only joins first table in definition 00:22 < CIA-1> WebGUI: graham * r6143 /branch/WebGUI_7.4/ (lib/WebGUI/AssetPackage.pm docs/changelog/7.x.x.txt): fixed: Package search is slow for large websites 00:22 < CIA-1> WebGUI: graham * r6144 /branch/WebGUI_7.4/ (2 files in 2 dirs): fixed: datepicker translation to Danish broken 00:22 < slickwar1> cool 00:22 < CIA-1> WebGUI: graham * r6145 /branch/WebGUI_7.4/docs/create.sql: preparing for 7.4.33 release 00:22 < CIA-1> WebGUI: jt * r6146 /releases/WebGUI_7.4.33-stable: Release 7.4.33-stable 00:22 < CIA-1> WebGUI: graham * r6147 /branch/WebGUI_7.4/ (4 files in 4 dirs): preparing for 7.4.34 dev 00:23 <@rizen> Latoya? 00:23 <+perlDreamer> yeah, that's her name 00:23 <@rizen> she doesn't work for us anymore 00:23 <@rizen> since november 00:24 <+perlDreamer> okay 00:25 <+perlDreamer> well, since I haven't met the other people, I can't write much about them. Except the marketing guy, who is a meat eating machine. 00:25 <@preaction> i'm offended 00:26 <@preaction> i'm so repulsive that he has blocked out the memory of meeting me 00:26 <@preaction> i'm gonna go cry in a corner now 00:26 <+perlDreamer> "3 incredibly talented devs" 00:26 <+perlDreamer> you're in there 00:26 <@preaction> ah 00:27 <+perlDreamer> feel better? 00:27 <@preaction> the Roadie you've met, Ryan 00:27 <+perlDreamer> I mentioned him, too. "1 awesome tech writer" 00:27 <@preaction> that's his wife, Kristi 00:29 <+perlDreamer> A guy goes to prison for shoplifting. One his first night, after the lights go, the other convicts 00:30 <+perlDreamer> start calling out numbers. After each number, they'd all laugh. 00:30 <+perlDreamer> The next day at breakfast, the guy asks one of the people at the table, "Hey, what's with the number and laughing last night?" 00:30 <+perlDreamer> "Oh, they were telling jokes. We've heard them all, so we only refer to them by number." 00:31 <+perlDreamer> That night, after the lights went out, it started again. During a brief pause, the new guy called out a number 00:31 <@apeiron> That joke is hereby #1 00:31 <+perlDreamer> 27 00:31 <+perlDreamer> Dead silence. 00:32 <+perlDreamer> Confused, the guy asked the fellow from the previous morning, "Hey, what happened last night? Nobody laughed." 00:32 <+perlDreamer> The guy response, "Some people just can't tell a joke". 00:33 <+perlDreamer> So apparently, overlooking a guy in favor of his wife is not a joke. 00:34 <@apeiron> Also, am I in that "3 incredibly talented devs" list? 00:34 <+perlDreamer> Of course 00:34 <+perlDreamer> how many other on staff devs are there? 00:34 <+perlDreamer> (today) 00:34 <@apeiron> Flattering. 00:34 <@apeiron> well 00:34 <@apeiron> rizen and Haarg aren't exactly ignorant of perl. :) 00:35 <@preaction> that's what you think 00:35 <+perlDreamer> Hey, I know I poke, tease, joke, berate about testing and argue with you guys a lot 00:35 <+perlDreamer> but I think the world of you 00:35 <@preaction> i've been working in this house for the last 7 hours... 00:35 <@preaction> didn't even know what the perl flag to add to @INC was 00:35 <@preaction> ha 00:35 <@preaction> but they know Perl pretty well, so that's a plus 00:35 <+perlDreamer> Haarg = one script-writing, bug bashing helpdesk guru 00:35 <@preaction> perlbot capital perl 00:35 < perlbot> Perl is the language, perl is the program, there is no PERL. See perldoc -q 'difference between'. 00:35 <+perlDreamer> rizen == TMRFE 00:36 <@apeiron> preaction, huffmanize 00:36 <@apeiron> perlbot, perl 00:36 < perlbot> It's Perl (for the language) or perl (for the interpreter) but NEVER 'PERL'! 00:36 <+perlDreamer> -I 00:36 <@preaction> perlbot apeiron's policy on regex questions 00:36 <@rizen> perlbot why perl is if you have to ask you wouldn't undesrtand 00:36 < perlbot> added why perl to the database 00:37 <@apeiron> perlbot, stupidly long factoid names 00:37 < perlbot> q/apeiron's philosophy on "can I ask a regex question?"/ 00:37 <+perlDreamer> speaking of -I, did you guys know that I worked on perl one time? 00:38 <@rizen> perlbot relearn apeiron is is fired!!!! 00:38 < perlbot> relearned entry for apeiron 00:38 <@apeiron> :( 00:38 <+perlDreamer> 2 incredibly talented devs (and counting...) 00:39 <@rizen> my goal is to give you a complex by the end of the day apeiron 00:39 <@rizen> do you have one yet? 00:39 <@apeiron> nope. 00:39 <@rizen> i'll keep working 00:39 * perlDreamer hands apeiron a sqrt(-1) 00:39 <@apeiron> heh 00:39 <+perlDreamer> complex delivered 00:40 <@preaction> that's imaginary, not complex 00:40 * perlDreamer hands apeiron 1 + sqrt(-1) 00:40 <+perlDreamer> that's complex 00:42 -!- rizen is now known as rofl 00:43 -!- rofl is now known as rizen 00:43 <@rizen> ok good again 00:43 <@apeiron> You could probably take rofl as a nick if you wanted: Last Seen: 1 year 21 weeks 3 days (23h 11m 4s) ago 00:52 <+perlDreamer> mathematically, I think purely imaginary numbers are still complex, since 0 exists in the real number space. 00:52 <+perlDreamer> but correspondingly, then all real numbers would also be complex 00:52 <+perlDreamer> which just feels strange 00:57 <@rizen> perlDreamer is s-m-r-t 00:58 <+perlDreamer> apeiron, abs(1 + i) > 1, so you actually have more than 1 complex. Keep the change. 01:27 < slickwar1> ok perlDreamer... if this were highschool, I'd call you a dork and steal your lunch money right now. 01:33 -!- juan [n=juangui@201.232.58.66] has quit [Read error: 113 (No route to host)] 01:51 < CIA-1> WebGUI: graham * r6148 /WebGUI/ (lib/WebGUI/AssetPackage.pm docs/changelog/7.x.x.txt): fixed: Package search is slow for large websites 01:51 < CIA-1> WebGUI: graham * r6149 /WebGUI/ (8 files in 7 dirs): fixed: rich editor image picker displays incorrectly in IE 01:51 < CIA-1> WebGUI: graham * r6150 /WebGUI/lib/WebGUI/Asset/RichEdit.pm: possible fix for attachments control in safari 01:52 <+perlDreamer> echo "exit 1 if $session->env->lastIp->isInRange($slickwar->ip)" >> WebGUI.pm 01:55 <+perlDreamer> Haarg, why doesn't that do a "and assetData.isPackage=1" and skip all asset instanciation altogether? 01:57 <@Haarg> it does have that in the where 01:57 <@Haarg> i probably should have removed that extra if check 01:58 <@Haarg> i'm not sure why that was there to begin with 01:58 <+perlDreamer> I should have read more thoroughly. Sorry about that. 01:59 -!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has joined #WebGUI 02:07 -!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit [] 02:09 -!- Haarg [n=haarg@71-86-227-90.static.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"] 02:10 -!- dionak [n=diona@97.66.185.250] has quit [] 02:15 -!- dionak_ [n=diona@97.66.185.250] has joined #webgui 02:24 -!- preaction [n=doug@71-86-227-90.static.mdsn.wi.charter.com] has quit [Read error: 113 (No route to host)] 02:29 -!- perlDreamer [n=ckuskie@nat039.mxim.com] has quit ["Download Gaim: http://gaim.sourceforge.net/"] 02:30 -!- Haarg [n=haarg@97-87-62-91.dhcp.mdsn.wi.charter.com] has joined #webgui 02:30 -!- mode/#webgui [+o Haarg] by ChanServ 02:32 < CIA-1> WebGUI: colin * r6151 /branch/WebGUI_Commerce/lib/WebGUI/ (i18n/English/Asset_Product.pm Asset/Sku/Product.pm): edit parameter options form code 02:35 -!- dionak_ [n=diona@97.66.185.250] has quit [Read error: 110 (Connection timed out)] 02:37 -!- preaction [n=doug@97-87-62-91.dhcp.mdsn.wi.charter.com] has joined #webgui 02:37 -!- mode/#webgui [+o preaction] by ChanServ 02:45 -!- Haarg [n=haarg@97-87-62-91.dhcp.mdsn.wi.charter.com] has quit ["This computer has gone to sleep"] 03:02 -!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui 03:11 <@apeiron> Lesson learned today: I write horrible tests, but eerily accurate code. 03:23 < nuba> things could be worse, you could be designing beautiful tests, and producing shitty code 03:23 * apeiron nods. 03:24 <@apeiron> It's not for lack of trying. I have *plenty* of tests. 03:24 <@apeiron> (by "plenty" I mean I'm going to have over 120 by the time I'm done) 03:25 -!- preaction [n=doug@97-87-62-91.dhcp.mdsn.wi.charter.com] has quit [Connection timed out] 03:45 -!- dionak_ [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has joined #webgui 03:50 -!- Radix-wrk [n=Jesse@203.161.68.67] has joined #webgui 03:50 -!- mode/#webgui [+v Radix-wrk] by ChanServ 04:02 -!- Haarg [n=haarg@97-87-62-91.dhcp.mdsn.wi.charter.com] has joined #webgui 04:02 -!- mode/#webgui [+o Haarg] by ChanServ 04:02 -!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui 04:02 -!- mode/#webgui [+o rizen] by ChanServ 04:02 -!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit [Client Quit] 04:03 -!- dionak [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has quit [Read error: 110 (Connection timed out)] 04:06 -!- Haarg [n=haarg@97-87-62-91.dhcp.mdsn.wi.charter.com] has quit [Client Quit] 04:11 -!- Haarg [n=haarg@97-87-62-91.dhcp.mdsn.wi.charter.com] has joined #webgui 04:11 -!- mode/#webgui [+o Haarg] by ChanServ 04:15 -!- Haarg [n=haarg@97-87-62-91.dhcp.mdsn.wi.charter.com] has quit [Client Quit] 04:29 -!- slickwar1 [n=slick@c-76-119-132-119.hsd1.ma.comcast.net] has left #webgui [] 05:20 -!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui 05:20 -!- mode/#webgui [+o rizen] by ChanServ 06:56 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has quit [Read error: 110 (Connection timed out)] 06:58 -!- perlDreamer [n=colink@pool-71-117-250-89.ptldor.fios.verizon.net] has joined #webgui 06:58 -!- mode/#webgui [+v perlDreamer] by ChanServ 06:58 <+perlDreamer> apeiron: hey, at least you're writing tests. It's a skill that you practice and learn, just like regular coding. 06:58 <+perlDreamer> Although, coding seems to pay a whole lot better :) 06:59 <@apeiron> perlDreamer, AssetExportHtml.pm will have about 140+ tests when I'm done with it. :D 06:59 <+perlDreamer> not bad at all 06:59 <+perlDreamer> only the largest modules have that many tests 06:59 <+perlDreamer> like User, Group, etc 06:59 <+perlDreamer> how does the coverage look? 07:00 <@apeiron> I started to take a look at how to generate that, but didn't get very far. 07:01 <+perlDreamer> for just 1 test file, it's easy 07:01 <@apeiron> perlDreamer, I have to admit that I was kinda reluctant to do tests first, but now I'm really enjoying it. 07:01 <+perlDreamer> cover -delete; perl -MDevel::Cover myTest.t; cover 07:01 <@apeiron> Oh wow, that's it? 07:01 <+perlDreamer> yeah 07:02 <+perlDreamer> then, at the end, open up ./cover_db/coverage.html in a browser 07:02 <+perlDreamer> you'll have a color coded, cross-linked drill down report of your code and tests 07:02 <+perlDreamer> the sole reason those other modules have 120 tests is for coverage 07:02 * apeiron nods. 07:03 <+perlDreamer> Note that coverage isn't perfect, it gets confused by some common code 07:03 <+perlDreamer> like my $opt = shift || $default; 07:03 <+perlDreamer> so don't get frustrated if you can't get 100% coverage 07:03 * apeiron nods. 07:04 <@apeiron> Right, heh, I've been putting in so many tests on my own just to try to be absolutely certain that it's covering everything I can imagine. 07:04 <+perlDreamer> and that's another good point 07:04 <+perlDreamer> 100% coverage does not guarantee full functional coverage, or bug-free code 07:04 * apeiron nods. 07:04 * perlDreamer likes it when I preach to the choir 07:04 <@apeiron> It only guarantees that the tests that you've written verify that the code that you've written does what it purports to do. :) 07:04 <@apeiron> And not that it doesn't do other stuffs. 07:05 <@apeiron> Like, say, eat your homework. 07:05 <+perlDreamer> Coverage just guarantees that you hit every line of code in all possible logical combinations. 07:05 <@apeiron> yeah. 07:06 <@apeiron> I'm going to school right now, too, online. The course I'm taking right now has a research paper requirement, and I'm pretty sure I'm going to do it on testing. 07:06 <+perlDreamer> Master's course? 07:06 <@apeiron> Oh, no, heh. 07:06 <+perlDreamer> Doctorate? 07:06 <@apeiron> ... you flatter me. :) 07:06 <@apeiron> BSIT. 07:07 <@apeiron> Software Architecture, specifically. 07:07 <+perlDreamer> well, you're not the only wG-type person without a CS degree :) 07:07 * apeiron nods, is going to work on changing that preferably sooner rather than later. 07:07 <@apeiron> What I'm thinking about covering in the paper is how testing affects software metrics, like number of bugs, time to feature completion, etc. 07:08 <+perlDreamer> I'd love to read it when you're through. If that's okay. 07:08 <@apeiron> Oh, absolutely. 07:09 <+perlDreamer> OSCON has a tutorial on Test Driven Development this summer. 07:09 <+perlDreamer> I'd like to go to it 07:09 <@apeiron> Should've submitted a talk! 07:09 <+perlDreamer> me? 07:09 <+perlDreamer> no 07:09 <@apeiron> why not? :) 07:09 <+perlDreamer> I'm not geeky enough. 07:09 <@apeiron> lies! 07:10 <+perlDreamer> All of rizen's talks were rejected, and he's a pro-geek. 07:10 <+perlDreamer> well, you're right, I'm pretty geeky 07:10 <@apeiron> I heard about that. They suck. 07:10 <@apeiron> Yes, Mr. Chip Designer. 07:10 <@apeiron> (who also does perl) 07:11 -!- preaction [n=doug@CPE-67-48-241-219.new.res.rr.com] has joined #webgui 07:11 -!- mode/#webgui [+o preaction] by ChanServ 07:13 <@apeiron> perlDreamer, I may--depending upon course rules and such--have some questions for you about testing for the paper if you'd be so kind? 07:13 <+perlDreamer> You bet! 07:14 <@apeiron> Sounds good then. 07:18 <+perlDreamer> woe, woe to thee Madison 07:18 <+perlDreamer> Yes, you have great Pasties, but you have no Amtrak station with rail 07:19 <@apeiron> Ah. Thank you for reminding me to check if YAPC yickets are on sale yet. 07:20 * apeiron will be submitting some talks for YAPC next year for some side projects he's involved in, hopefully they'll be accepted. 07:20 <+perlDreamer> really? What are you hacking on? 07:20 <@apeiron> The first project is *just starting*. It's an email<->RDBMS bridge. 07:21 <@apeiron> This grew out of a requirement for a data store for email for an MLM I'm working on. 07:21 <+perlDreamer> MLM? 07:21 <@apeiron> Mailing List Manager 07:22 <@apeiron> Think of Mailman, or majordomo if you're stuck in the 90s. 07:23 <+perlDreamer> ah, okay. For a second I thought you were saying MultiLevel Marketing 07:23 <@apeiron> I don't know what that is, sorry. 07:24 <+perlDreamer> pyramid schemes 07:24 <+perlDreamer> amway 07:24 <+perlDreamer> like spam for housewives 07:24 <@apeiron> heh 07:25 <@apeiron> Not quite, sorry. 07:25 <+perlDreamer> not a problem. It's much better than I was afraid of :) 07:27 <+perlDreamer> okay, time to write letters to the government 07:27 <+perlDreamer> Madison needs a passenger rail line 07:27 <@apeiron> yay! 07:27 <@apeiron> You show them what's up! 07:27 <+perlDreamer> either that, or I'll have to hop onto a freight line in Waterstown 07:29 <@apeiron> Flying not an option? 07:29 <@rizen> madison has 2 amtrak stations 07:30 <+perlDreamer> madison has no passenger rail service, according to amtrak.com 07:30 <+perlDreamer> you take the empire builder from Portland to Chicago, then ride a bus up to Madison 07:30 <+perlDreamer> $188/person 07:31 <+perlDreamer> it's another $512 for a 2 adult room with no shower. 07:32 <+perlDreamer> it's $882 for a full bedroom 07:32 <+perlDreamer> includes meals though 07:32 <+perlDreamer> and it has outlets 07:32 <@rizen> oh you're right 07:33 <+perlDreamer> How can a state capitol not have passenger rail service? 07:33 <+perlDreamer> well, you probably miss a lot of politicians that way 07:33 <+perlDreamer> flying is an option, but the kids have got me hooked on trains 07:34 <+perlDreamer> and it is cheaper, unless you have to spend the night 07:35 <@rizen> unfortunately passenger rail is uncool in the US 07:35 <+perlDreamer> yeah 07:36 <+perlDreamer> but if you and sarah want a slow, cross country snuggle for OSCON, I know how to hook you up. 07:36 <@rizen> i don't do slow when it coms to travel 07:36 <+perlDreamer> ok 07:37 -!- dionak_ [n=diona@cpe-024-074-132-143.carolina.res.rr.com] has quit [] 07:43 <+perlDreamer> i18n report 07:43 <+perlDreamer> The spanish translation has reached 33% 07:43 <+perlDreamer> they have the French firmly in their sites and are expected to pass them within 1-2 weeks 07:43 <+perlDreamer> The polish translation also increased by a few percent, to 18% 07:43 <+perlDreamer> go jdanpl! 07:44 <+perlDreamer> and the Danish translation continues its new, but steady climb, to 2.9% 07:44 <+perlDreamer> The Arabic translation continues to show its age, but still has a very respectable 89.9% 07:45 <@apeiron> What do you think of the viability of a Dutch / Arabic conflict should a surge of activity bless i18n? 07:45 <+perlDreamer> apeiron, I'm not too worried. 07:45 < CIA-1> WebGUI: colin * r6152 /branch/WebGUI_Commerce/lib/WebGUI/ (i18n/English/Asset_Product.pm Asset/Sku/Product.pm): forgot that options need a value, with i18n 07:45 <+perlDreamer> The arab translation team has been quiet for a long time. 07:45 <@apeiron> perlDreamer, Is that a challenge to the Arab team?! 07:45 <@apeiron> Fighting words, from our commentator! 07:46 <+perlDreamer> You said that right. They made their name with the translation, but have let it stagnate. 07:47 <+perlDreamer> they need to recruit new blood, and solve their coaching problems. 07:48 <+perlDreamer> either that, or perhaps a late season trade. But what would bartjol pull as an independent? 07:48 <+perlDreamer> In other news, the European contingent continues their rain of email and forum postings on the dev list. 07:49 <+perlDreamer> rizen ducks, parries and dodges with amazing skill, but how long can he keep it up? 07:49 <@apeiron> s/rain/deluge/ 07:49 <+perlDreamer> indeed 07:49 <+perlDreamer> time for this old man to go to bed. 07:49 <+perlDreamer> 'night, all 07:50 <@apeiron> ha. G'night, sir. 07:50 -!- perlDreamer [n=colink@pool-71-117-250-89.ptldor.fios.verizon.net] has quit [""creak, groan. Oh, my lumbego""] 08:49 -!- ryuu_ro [n=rory@194.171.50.69] has joined #webgui 09:15 -!- preaction [n=doug@CPE-67-48-241-219.new.res.rr.com] has quit [Read error: 110 (Connection timed out)] 09:25 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui 09:25 -!- mode/#webgui [+o preaction] by ChanServ 10:23 -!- Dadok [n=tickitim@75.108.dsl.syd.iprimus.net.au] has joined #WebGUI 10:23 < Dadok> hey guys 10:24 < Dadok> anyone there for a quick question? 10:25 < Dadok> Well, I'll throw it out there anyways. 10:27 < Dadok> I'm trying to get a synopsis from my calendar of upcoming events and put it on the side of my site (in my main page template). I was wondering if the way to do this was to create an SQL Report, download it as a template using a custom made template to parse it, and then display it with AssetProxy? Would that be the best way? 10:30 <@preaction> Dadok, why not make a shortcut instead? it's the little button in admin mode that looks like an arrow 10:30 <@preaction> then use overrides (right-hand menu when editing the shortcut) to change which template the SQLreport uses (or even just shortcut the Calendar and change the template it uses) 10:32 < Dadok> hmm 10:33 < Dadok> well how would i put that in my main page template? 10:34 <@preaction> your main page is a page layout i assume, use one of the layout templates that have more than one content area 10:34 <@preaction> that is what i would do at least 10:34 <@preaction> unless you're talking about your style template, then you would have to assetproxy the shortcut 10:34 < Dadok> sorry, i meant my master template 10:34 < Dadok> right 10:34 < Dadok> style template 10:34 <@preaction> but it would be a far better idea to assetproxy a shortcut than to make an SQLReport for one asset 10:34 < Dadok> assetproxy a shortcut 10:34 < Dadok> ok 10:35 <@preaction> i need to start a campaign to kill the SQLReport, just as I have started a campaign to kill RewriteRules 10:35 < Dadok> haha 10:35 <@preaction> when you only have a hammer, everything looks like a nail 10:35 <@preaction> like my campaign to kill Drop-down menus 10:36 -!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui 10:36 < Dadok> drop-down menus in general? or just webgui 10:36 <@preaction> drop-down menus in general 10:36 < Dadok> ok, i click on shortcut and nothing happens. well it refreshes and adds func=createShortcut to the URL, but nothing else 10:36 <@preaction> look in the clipboard 10:36 < Dadok> roger 10:36 < Dadok> correct you are 10:37 <@preaction> http://www.plainblack.com/pr/staff/blog/the-tarnished-golden-hammer----drop-down-menus <- the beginning of my campaign against drop-downs 10:39 < Dadok> so the styleTemplateId would be the one to override then? 10:44 < AMH_bob> @preaction: nice piece of writing... I'll tag that one! (thank you for the source as well) 10:45 < Dadok> yeah that's an interesting article 10:54 < Dadok> ah, so if i have it displaying it in month view, i need to edit the month template... etc right? 11:05 -!- BartJol [n=plainstu@host2.procolix.com] has joined #webgui 11:58 -!- Radix-wrk [n=Jesse@203.161.68.67] has quit ["Leaving"] 13:22 -!- Dadok [n=tickitim@75.108.dsl.syd.iprimus.net.au] has quit [] 13:27 -!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has quit [Read error: 104 (Connection reset by peer)] 14:13 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)] 14:14 -!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has joined #webgui 14:22 -!- SDuensin [n=Scott@12-226-44-250.client.mchsi.com] has quit ["Leaving"] 15:30 -!- perlmonkey2 [n=perlmonk@wsip-70-164-69-210.ok.ok.cox.net] has joined #webgui 15:57 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui 15:57 -!- mode/#webgui [+o preaction] by ChanServ 16:06 -!- bopbop [n=kmccombs@71-90-131-140.dhcp.mdsn.wi.charter.com] has joined #webgui 16:06 < bopbop> good morning sunshines! 16:06 < perlmonkey2> good morning? I just found out what the end of the Mayan calendar means. We're all going to die!!! 16:07 * perlmonkey2 is far too young to die, being only 98. 16:07 < bopbop> in dog years? 16:08 < perlmonkey2> hah 16:24 -!- lisette [n=liraos@201.232.58.66] has joined #webgui 16:26 < BartJol> well, the humor lies on the streets, it seems 16:31 -!- SDuensin [n=Scott@233.sub-75-204-196.myvzw.com] has joined #WebGUI 16:36 < lisette> i have a macro that do a datetime with the session, i call this macro from other macro, and i pass the session, but shows me a error: Can't locate object method "datetime" via package "WebGUI::Macro::E_learning", what i must do? 16:37 < SDuensin> Morning. 16:37 < BartJol> Morning 16:52 < lisette> anyone? 16:54 < perlmonkey2> lisette: put the code in pastebin 16:56 < perlmonkey2> I'm sure this is simple, and my coffee deprived brain would easily see the solution, if only it weren't coffee deprived, but how would I send the user to a URL from an asset? When the survey ends, the user can be sent to any URL. 16:57 -!- AMH_bob [n=bob@alphamega-dmp.xs4all.nl] has quit ["Leaving."] 16:57 -!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has quit [] 17:00 < perlmonkey2> I must have ticked off rizen as we've talked about that question before. 17:01 -!- rizen [n=rizen@71-86-227-90.static.mdsn.wi.charter.com] has joined #webgui 17:02 -!- mode/#webgui [+o rizen] by ChanServ 17:03 < lisette> http://webgui.pastebin.com/d5c050189 17:07 -!- Haarg [n=haarg@24-196-80-80.dhcp.mdsn.wi.charter.com] has joined #webgui 17:07 -!- mode/#webgui [+o Haarg] by ChanServ 17:09 < lisette> perlmonkey2: http://webgui.pastebin.com/d5c050189 17:09 < lisette> do you see? 17:09 < perlmonkey2> yes 17:09 < perlmonkey2> sorry, was finishing up something 17:11 < perlmonkey2> lisette: which line number is the error? 17:12 < perlmonkey2> and do you not have to include the E_learning package in the second macro? or are they in the same file? 17:12 < ckotil> can a macro return template conditionals which will then get processed by the template engine? 17:13 < perlmonkey2> ckotil: oh, great question. Would be totally badarse if they did. 17:14 < ckotil> yah. im getting cursed at by my users for how i implemented on the fly Table of Content's to handle redirect assets. 17:15 < perlmonkey2> ckotil: you could write a 1 liner macro to change a common template var and test it? 17:15 * perlmonkey2 really needs to study the library more. 17:16 < ckotil> yah, i was just abotu to create the macro 17:16 < ckotil> ill let you know how it goes 17:18 < lisette> 20 17:18 < lisette> i have to include like a library? 17:18 < lisette> the other macro, i mean E_learning? 17:19 < lisette> the macros are differents files 17:21 -!- dionak [n=diona@97.66.185.250] has joined #webgui 17:22 < perlmonkey2> lisette: so the problem is it doesn't appear to be receiving the sesssion. Can you put in some log statements to make sure of that? 17:23 < lisette> yes 17:23 < lisette> i paste here the error exactly like the log 17:24 -!- juan [n=juangui@201.232.58.66] has joined #webgui 17:24 < juan> i have a question related with surveys 17:25 < juan> can i show the section for each question to be visible for all the users? 17:27 -!- jfluhmann [n=jfluhman@x174y236.angelo.edu] has joined #webgui 17:28 < perlmonkey2> lisette: reading the pod for the macro skeleton, I'm not sure you can call the second macro like you are trying to. 17:28 < perlmonkey2> juan: can you rephrase that, I don't understand what you mean. 17:29 < juan> ok, 17:29 < juan> when you create a survey you have the possibility to create sections and include question to them 17:30 < lisette> the macro skeleton don't call other macro 17:31 < lisette> i don't know how to do! 17:34 -!- juan [n=juangui@201.232.58.66] has quit [Read error: 104 (Connection reset by peer)] 17:35 < perlmonkey2> lisette: Instead of calling another macro, why not just write a normal package for your first macro? 17:36 < lisette> i can't do! 17:38 < lisette> the first macro is call in different places of site 17:38 < lisette> and the second macro only call one time. 17:40 -!- ryuu_ro [n=rory@194.171.50.69] has quit [] 17:45 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit [Read error: 110 (Connection timed out)] 17:48 -!- juan [n=juangui@201.232.58.66] has joined #webgui 17:58 < ckotil> juan, i believe that you can do what you want. 17:59 < ckotil> <tmpl_if expr="page_groupIdView ne '7'">* </tmpl_if> 17:59 -!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: dionak, bopbop 17:59 < ckotil> well i dunno about in the survey. but in the nav asset, im using that tmpl_if. 18:00 -!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has quit ["Windows doesn't have users, it has hostages."] 18:00 < ckotil> groupIdView is 7 if the user has the appropriate permission to view said content. 18:00 < ckotil> not sure why its 7, but it is. 18:01 -!- Netsplit over, joins: dionak, bopbop 18:01 < bopbop> um.. 18:04 -!- Radix_ [n=Radix@203.161.71.161.static.amnet.net.au] has joined #webgui 18:04 -!- mode/#webgui [+v Radix_] by ChanServ 18:06 < BartJol> hee Radix_ I passed my driving exam 18:06 <+Radix_> cool.. congrats :) 18:07 < BartJol> thanks 18:13 < ckotil> perlmonkey2: don't seem to be able to. 18:15 < perlmonkey2> ckotil: oh well, maybe in 8.x 18:18 -!- perlDreamer [n=ckuskie@nat039.mxim.com] has joined #webgui 18:18 -!- mode/#webgui [+v perlDreamer] by ChanServ 18:19 < ckotil> thatd be great. 18:19 < juan> i have many collaboration systems in my site 18:19 < ckotil> i just tried to have the macro return <tmpl_var page_url> 18:19 < juan> all of them have the propertie archive after one year 18:20 < juan> i want to change this value to 3 years for example 18:20 < juan> can i do it by console altering the respective table? 18:21 <+perlDreamer> juan, yes 18:21 < juan> the default for this field is one year 18:24 < juan> and in the database appears 31536000 18:25 <+perlDreamer> juan, I think that field is stored in seconds. 60*60*24*365 18:25 < juan> ok 18:31 -!- BartJol [n=plainstu@host2.procolix.com] has left #webgui [] 18:38 -!- topsub [n=josh@97.66.185.250] has joined #webgui 18:39 <+perlDreamer> perlbot math 60*60*24*365 18:39 < perlbot> 31536000 18:39 <+perlDreamer> perlbot 1 year is 31536000 seconds 18:39 < perlbot> added 1 year to the database 18:49 <+perlDreamer> perlbot: help 18:49 < perlbot> no warnings, no strict == no help 18:51 <@apeiron> hrm 18:52 <+perlDreamer> seems bad to override the perlbot help command 18:56 <@apeiron> perlbot, help 18:56 < perlbot> (fact) : tell (who) about (what) : (what) > (who) : learn (what) as (info) : relearn (fact) as (info) : phone (phone #) : shorten (url) : shorten it : search (keyword) : cpan (mod) : docs (mod) : perldoc -f (func) : jargon (term) : math (expr): fortune : flip : host (type) (record) : rot13 (text) : roll (die) : tempconv (temp) : scramble (foo) : 8ball (question) : slap (who) : diss (who) : top/bottom (num) karma : geoip (ip) 18:57 <@apeiron> I had it in my logs, but the factoid is so long that you can't say "help is ..." 18:58 <+perlDreamer> perlbot, help 18:58 < perlbot> (fact) : tell (who) about (what) : (what) > (who) : learn (what) as (info) : relearn (fact) as (info) : phone (phone #) : shorten (url) : shorten it : search (keyword) : cpan (mod) : docs (mod) : perldoc -f (func) : jargon (term) : math (expr): fortune : flip : host (type) (record) : rot13 (text) : roll (die) : tempconv (temp) : scramble (foo) : 8ball (question) : slap (who) : diss (who) : top/bottom (num) karma : geoip (ip) 18:59 <+perlDreamer> helpbot: help 18:59 <+perlDreamer> perlbot: help flip 18:59 -!- lisette [n=liraos@201.232.58.66] has quit [Read error: 113 (No route to host)] 18:59 <+perlDreamer> whoops 18:59 <+perlDreamer> didn't mean for that to happen 18:59 <+perlDreamer> sorry, lisette 18:59 <+perlDreamer> perlbot, flip flip 19:00 <+perlDreamer> perlbot, flip 19:00 < perlbot> heads 19:03 <@apeiron> The commands without anything in () don't take arguments. 19:03 <@apeiron> perlbot, fortune 19:03 < perlbot> If a child annoys you, quiet him by brushing his hair. If this doesn't work, use the other side of the brush on the other end of the child. 19:03 <@apeiron> I see that perlbot uses the offensive fortunes... 19:04 <+perlDreamer> actually, I think that fortune is quite true 19:04 <+perlDreamer> social grooming is supposed to calming in primates 19:06 * perlmonkey2 used to be punished by being sent to his room. His room which was full of books. It wasn't much of a punishment. 19:06 <+perlDreamer> what do you think about brushes? 19:07 < ckotil> perlmonkey2: that was pry the big plan to get you to read! 19:08 < perlmonkey2> hah 19:08 < perlmonkey2> perlDreamer: brushes? if you need a brush, you might want to rethink your tactics. 19:08 < ckotil> i dodged a bullet from my users. i was able to use h:t:e to do what i wanted wrt a conditional on a page_className . i ended up using the 'le' string operator 19:08 < perlmonkey2> My spankings came with hour long discussions of what I'd done wrong, culminating in a spanking. 19:09 < bopbop> I got the hairbrush once on my behind- I ran away from my mom at the mall and hid under a mannequin's skirt. 19:09 < ckotil> i had the option between small, medium, and large spankings. immediately following a lecture. 19:09 < perlmonkey2> they always occurred well after the fact, in a calm, measured manner. 19:09 < ckotil> i chose medium ONCE. 19:09 < ckotil> same w/ my parents. 19:09 < ckotil> calm and collected. 19:09 < perlmonkey2> made it all the more worse. 19:09 < ckotil> i think so. 19:11 < perlmonkey2> someone wouldnt' happen to know why when I set style info in JS it isn't overriding the style set in my css file? I have an id I set to display:none in the css file, then display:inline in the JS. Isn't showing up. But if I do all the setting just in the JS, everything works as it should. 19:11 < ckotil> try using a class instead of ID? 19:11 < ckotil> thats the only suggesting i have 19:12 <+perlDreamer> my mom didn't spank 19:12 <+perlDreamer> my dad did 19:12 < perlmonkey2> ckotil: okay, I'll give that a try 19:12 <+perlDreamer> he used a large paddle named "Ebenezer" 19:12 < ckotil> perlmonkey2: it could be a chicken and egg problem too 19:12 <+perlDreamer> When you were going to get spanked, you had to go get Ebenezer. That was almost worse than the spanking itself. 19:13 < perlmonkey2> ckotil: the JS shouldn't be executed until the html is created and in the dom. 19:13 < ckotil> that makes sense. 19:13 < perlmonkey2> perlDreamer: hah, that is great 19:13 < ckotil> im glad i never had to deal w/ a paddle. a good child hood friend of mine did and i felt so sorry for him. heh 19:17 < perlmonkey2> ckotil: bah, for some reason, at least in FF, the JS is not overriding the css. and accessing the style object is a big pain. People with slow machines will just ahve to deal with the html flashing on screen for a sec until the js is executed. 19:18 <@apeiron> flashing? Like with a <blink> tag? 19:18 < perlmonkey2> hah 19:19 <@apeiron> or <blink><marquee>EVIL</marquee></blink> ? 19:19 < perlmonkey2> when I set the innerHTML with the objects which might or might not need to be invis, I am setting the container to display:none. Then after the innerHTML objects have been set, I set the container back to inline. hah, brilliant and hackish. I love it. 19:21 < ckotil> heh 19:21 -!- jfluhmann [n=jfluhman@x174y236.angelo.edu] has left #webgui ["Open Source Symposium - http://www.texasoss.org/"] 19:22 <@apeiron> wow, Safari 3 doesn't even support the blink tag. 19:22 <+perlDreamer> now that's my kind of browser 19:24 <@rizen> phew 19:24 <@rizen> glad that's over 19:24 <@rizen> forms system is now pollution free 19:24 -!- Dadok [n=tickitim@35.116.dsl.syd.iprimus.net.au] has joined #WebGUI 19:24 < Dadok> hey guys, anyone in? 19:26 <+perlDreamer> yup 19:31 < Dadok> Alright, I have a quick question about mail and Collaboration Systems. 19:32 < Dadok> When filtering for only users in specific groups, does it simply compare their email address to a database of emails of users in the allowed groups? 19:32 < Dadok> Or do they have to send their username/password or something in the email. 19:33 -!- topsub [n=josh@97.66.185.250] has quit ["Leaving"] 19:36 <+perlDreamer> ...digging 19:36 < CIA-1> WebGUI: jt * r6153 /WebGUI/ (81 files in 9 dirs): Cleaned the pollution from the forms system. 19:37 <+perlDreamer> the email address in the email has to match their email address in their user account 19:37 <+perlDreamer> for reference, Workflow/Activity/GetCsMail.pm 19:38 <+perlDreamer> and before you say it, yes, it would be nice if the user account allowed secondary email addresses 19:38 <+perlDreamer> it would be a great RFE to suggest 19:39 < Dadok> yeah, oh well 19:40 < Dadok> Is there documentation on the syntax for emails to CS's? Or should I go through the GetCsMail.pm 19:40 <+perlDreamer> syntax for emails? 19:40 <+perlDreamer> It's email 19:40 < Dadok> Right, but for like Title, Subject 19:41 < Dadok> or how to post to a specific thread within a collaboration system 19:41 < Dadok> or to a specific gallery 19:42 <+perlDreamer> The title comes from the subject of the email. 19:42 <+perlDreamer> For more details, you should go through the code. 19:42 < Dadok> ok 19:42 < Dadok> thanks for your help! 19:43 <+perlDreamer> you're welcome. Don't forget to post that RFE, too! 19:43 < Dadok> I'll get on it :) 19:45 <@rizen> you must receive an email from a thread to reply to it 19:45 <@rizen> and it auto-tracks it behind the scenes 19:46 <@rizen> otherwise if you send an email to the cs, it will create a new thread 19:46 < Dadok> what if you receive emails from multiple threads? 19:46 <@rizen> then whichever thread you reply to will get the reply 19:46 <@rizen> it keep track of each one individually 19:46 < Dadok> ah 19:46 <@rizen> in other words, it "just works" 19:46 < Dadok> hahahaha 19:48 < Dadok> Hmmm 19:48 < Dadok> So the way I'm doing mail is by using gmail accounts and doing DNS/address redirection. 19:48 < Dadok> So there's no actual mail server. 19:48 < Dadok> Is this going to be a problem? 19:49 < Dadok> I guess I'll have to take a look at an email from subscribing to a thread. 19:51 <@rizen> i couldn't say 19:51 <@rizen> it should just work no matter how you set it up 19:52 <@rizen> but if you throw in a bunch of redirection it may lose some of the head info that the CS needs to track what belongs to what 19:53 < Dadok> hahaha 19:53 < Dadok> ok 19:53 < Dadok> thanks :) 19:53 < Dadok> well wait a second 19:53 < Dadok> there's an option: Require subscription for email posts 19:54 < Dadok> If this is set to yes, then the user not only has to be in the group to post, but must also be subscribed to the collaboration system or thread in order to post to it. 19:54 <@rizen> in order to post VIA EMAIL 19:54 < Dadok> that implies that if it's set to no, the user doesnt have to be subscribed to post to the CS or thread.... 19:54 < Dadok> right 19:54 <@rizen> correct 19:54 <@rizen> which i would not recommend unless you want spammers hitting your boards 19:55 < Dadok> so how do you post to a specific thread via email if you're not subscribed? you just need to know the email of it somehow? 19:55 <@rizen> just do it already 19:55 <@rizen> you'll see 19:55 <@rizen> it just works 19:55 < Dadok> well, they still have to be in a specific group since im requiring user registration 19:55 < Dadok> hahahaha 19:55 < Dadok> ok 19:55 < Dadok> but what email do i send it to? 19:55 <@rizen> the email address that you set up in the CS mail tab of course 19:55 < Dadok> right, but for a specific thread? 19:56 <@rizen> just send a damn message to the cs 19:56 < Dadok> how do they specify that without an email from the thread, which you can only get from subscribing? 19:56 <@rizen> you'll see 19:56 < Dadok> ok 19:59 < Dadok> do I attach an image to the email for galleries? or put it in the body? 19:59 <+perlDreamer> Dadok, try it 19:59 <+perlDreamer> and then, if you wish, make a wiki page about everything you learned 20:08 < Dadok> yeah, didnt work 20:08 < Dadok> thanks for the help anyways guys 20:08 < Dadok> ill try changing a couple settings 20:23 < juan> perlDreamer, if i decide to create a new page for Anonymous Registration, in my form can i put the same action that the default template has 20:24 <+perlDreamer> registration is an operation, so the action can be anything (regarding the <form> tag) 20:24 <+perlDreamer> would it be easier to change the Anonymous Registration template? 20:26 < juan> so, i can put in that template my html and the action will be the same 20:26 <+perlDreamer> yes 20:28 < juan> and how the fields that i defined how will be stored in the userprofielddata 20:28 < juan> ? 20:29 < juan> i defined the fields in user profile and put them in the template with the same name that i defined 20:30 <+perlDreamer> In the Admin Console, find User Profiling 20:31 <+perlDreamer> Each user profile field has a property called Require at Registration (or something similar) 20:31 <+perlDreamer> For each field that you want the user to fill out at registration, set this to be true 20:31 <+perlDreamer> the Anonymous Registration form will automatically include those fields for you 20:31 <+perlDreamer> and handle their form processing after the user submits the data 20:33 < juan> yes. i understand 20:34 < juan> but the thing that i want is to manage some java script depending the user selection 20:35 < juan> for example i have a field called rol and is a checbox 20:35 < juan> it has 3 options 20:35 < juan> general, teacher and student 20:35 <+perlDreamer> okay 20:36 < juan> if a user choose general i have to show a new select box 20:37 <+perlDreamer> juan, for that, you need help from someone who understands JS, the DOM and CSS. 20:37 < juan> yes 20:37 < juan> i am going to try and verif 20:37 < juan> y 20:38 < juan> thanks 20:53 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui 20:53 -!- mode/#webgui [+o preaction] by ChanServ 21:24 -!- BartJol [n=plainstu@52-167.surfsnel.dsl.internl.net] has joined #webgui 21:29 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has quit ["Leaving"] 21:29 -!- preaction [n=doug@static-72-1-4-143.ntd.net] has joined #webgui 21:29 -!- mode/#webgui [+o preaction] by ChanServ 21:57 < perlmonkey2> 3 lines of HTML::Template giving me a <tmpl_if..> without /tmpl_if http://pastebin.com/d4be123c4 21:58 < perlmonkey2> arg! 21:58 -!- slickware [n=slick@c-76-119-132-119.hsd1.ma.comcast.net] has joined #webgui 21:58 < perlmonkey2> so close to being done. 21:58 <@preaction> perlmonkey2, there's a type-o in there 21:58 < perlmonkey2> tm 21:58 < perlmonkey2> tmp 21:59 <@preaction> <tmp_if <- 21:59 < perlmonkey2> ouch 21:59 < perlmonkey2> thanks preaction 22:08 -!- SDuensin [n=Scott@233.sub-75-204-196.myvzw.com] has left #WebGUI ["Leaving"] 22:08 <@preaction> Haarg, just to let you know, i've added the workflow select box to the Calendar like we talked about yesterday. seems somebody noticed ;-) 22:11 -!- slickware [n=slick@c-76-119-132-119.hsd1.ma.comcast.net] has left #webgui [] 22:39 <@apeiron> perlDreamer, Another silly mistake to add to your presentation: call WebGUI::International->new with the class name *without* 'WebGUI::' before it. :) 22:40 <@apeiron> (and if you wrap code that calls wG::I18n incorrectly like that in an eval, make sure to test $@ after) 22:55 -!- Netsplit orwell.freenode.net <-> irc.freenode.net quits: @preaction 22:56 -!- Netsplit over, joins: @preaction 23:38 -!- bopbop [n=kmccombs@71-90-131-140.dhcp.mdsn.wi.charter.com] has quit [] 23:50 <+perlDreamer> apeiron: I do that one all the time, here in the channel 23:50 <+perlDreamer> Asset->new 23:50 <+perlDreamer> User->get 23:50 <+perlDreamer> just assuming that people will remember the WebGUI:: part of it --- Day changed Thu Apr 17 2008 00:07 -!- MrHairgrease [n=martin@x032124.its-s.tudelft.nl] has joined #webgui 00:07 -!- mode/#webgui [+v MrHairgrease] by ChanServ 00:24 <+MrHairgrease> yay, the new itransact driver pays! 00:24 <@apeiron> Pays whom? 00:24 <@apeiron> Me? 00:24 <+MrHairgrease> rizen: there are no recurring sku's yet right? 00:25 <@rizen> correct 00:25 <+MrHairgrease> ok 00:25 <@rizen> we still need to build the subscription asset 00:25 <@rizen> before may 31 00:25 <+MrHairgrease> in order to get those working i need just that 00:25 <@rizen> that will be the only recurring sku at launch 00:25 <@rizen> i plan on working on that after i'm finished with the ems 00:26 <+MrHairgrease> this week I'm really busy, but I'll try to convert that as soon as possible 00:26 <+MrHairgrease> ah 00:26 <@rizen> but since i have a trade show to go to next week i likely won't be able to work on subscriptions for 2 weeks 00:26 <+MrHairgrease> ok 00:26 <+MrHairgrease> I guess I can manage to do it before then 00:26 <@rizen> if you want to have a go at it, since you wrote the original subscription stuff...you're more than welcome to 00:27 <+MrHairgrease> are all the required methods already documented in Sku.pm? 00:27 <@rizen> they should be 00:27 <+MrHairgrease> haven't had a look at the asset side of the shop 00:27 <+MrHairgrease> ok 00:27 <+MrHairgrease> I think I'll manage 00:27 <@rizen> but more may come up as you develop 00:27 <+MrHairgrease> sure 00:27 <@rizen> i tried to think of what you'll need for that 00:28 <@rizen> and i've PODed everything that i put into the sku base class 00:28 <+MrHairgrease> let me update my branch and commit my partly working itransact thingy 00:28 <+MrHairgrease> ok 00:28 <+perlDreamer> On the Asset side, Sku is base class for all products. Product is now a subclass of Sku, and basically works, although it does not yet allow for variants 00:29 <@rizen> unfortunately the EMS has been a thorn in my side and is taking longer than expected...and this week i had to practically rewrite the entire form api due to pollution 00:29 <+MrHairgrease> i know the phenomenon 00:30 <@rizen> on the up side we have a much more clean and functional forms api now 00:30 <@rizen> =) 00:31 <+MrHairgrease> on another upside, I finally have the fabrication process down enough for my nano thingies. 00:31 <+MrHairgrease> Tomorrow I'm gonnan make a batch and measure them friday 00:31 <+perlDreamer> sweet! When do they start self-replicating? 00:32 <+MrHairgrease> as soon as they're being fed human blood from Portland 00:32 <+MrHairgrease> I really hope they'll work 00:32 <+perlDreamer> Excellent. I have a few people in mind >:) 00:32 <+MrHairgrease> or do at least something 00:32 <+perlDreamer> what are they supposed to do? 00:32 <+perlDreamer> are they mechanical or electrical? 00:32 <+MrHairgrease> let single electrons tunnel from on side to the other 00:33 <@rizen> so would that be useful for example in a hydrogen fuel cell? 00:33 <+perlDreamer> nano-EEPROM? Very cool 00:33 <+MrHairgrease> basically a device is just a tiny capacitor consisting of two very small wires spaced by a few nm 00:34 <+MrHairgrease> the things are called single electron tunnling junctions 00:34 <@rizen> perlDreamer: how come nearly every regular on this channel is waaaaaay smarter than me? 00:34 <+MrHairgrease> but the goal of my research is to a) prove that my professor is right and the rest of the world is worng =) 00:34 <+MrHairgrease> and b) test the fabrication technique I'm sing 00:35 <+perlDreamer> rizen: We're technically smarter. You have a unique blend of hacker and business skills that we all lack. 00:35 <+perlDreamer> I can't even do my taxes. 00:35 <+perlDreamer> I tried for 4 years 00:35 <@rizen> i can't either, i hire an accountant cuz it's too much work. 00:35 <+perlDreamer> Two years I did them myself, and the IRS returned them, corrected. 00:35 <+MrHairgrease> rizen: like you, I compensate my lack of knowledge with hard work 00:35 <+perlDreamer> Two years I used Turbo tax, and the IRS returned them, corrected 00:36 <@rizen> yeah that's no good 00:36 <@rizen> i guess i could do my taxes...but i choose not to because it's a lot of time 00:36 <@rizen> that i could be hacking webgui =) 00:39 <+perlDreamer> well, it's good to see you have your priorities straight 00:40 <+MrHairgrease> http://geefmegeld.nl/uploads/rB/LH/rBLHMqCLhVhUDHfGiCIK1w/008_TJ11E-B4-top-D5-after_etch.png 00:40 <+MrHairgrease> that's an image of double junctions with increasing gap size from top to bottom 00:41 <+MrHairgrease> they don't work though as they're not connected to anything 00:41 < BartJol> but they are still +/- 100 atoms thick 00:41 <+perlDreamer> they just sit there looking pretty 00:42 <+perlDreamer> BartJol, are the rumors of you being traded to the Arabic Translation team true? 00:42 <+MrHairgrease> yeah, I made them with myself as inspiration 00:42 < BartJol> nice pics 00:42 <@rizen> that's too imprecise for my needs 00:42 <@rizen> =) 00:42 < BartJol> eeh, well, my arabic stinks 00:42 <@rizen> yeah i heard that too 00:42 <+perlDreamer> He's a hot commodity. Been keeping the Dutch translation at 100% for several months now. 00:42 <@rizen> word on the street is that they offered you a 7 figure signing bonus to go free agent so they could pick you up 00:42 < BartJol> ooh, who's telling that? 00:43 <+perlDreamer> He could demand a 16-bit salary. 00:43 <+perlDreamer> after the signing bonus 00:43 < BartJol> for that kind of money I would like to learn arabic 00:43 <+MrHairgrease> pd: $ 0 is also a 16 bit salary 00:43 < BartJol> what currency? 00:43 <+MrHairgrease> or -32000 00:43 <@rizen> rupees 00:44 <+MrHairgrease> hehe 00:44 <@rizen> so i think thats about $3 american 00:44 <@rizen> =) 00:44 <+perlDreamer> MrHairgrease, we only use unsigned ints :) 00:44 < BartJol> well, I deny everything 00:44 <@rizen> or about 1/2 of a beer 00:45 < BartJol> that's hardly enough for during work 00:45 <@rizen> so as the the union rep for the RedNeck translation 00:45 <+perlDreamer> oh, are you now bidding 00:45 < BartJol> on friday afternoons 00:45 <+perlDreamer> I'll bid 1 beer 00:45 <@rizen> what do i have to pay you, in beers, to come work for us? 00:46 < BartJol> well, that depends, is it only beer I get? 00:46 <+perlDreamer> It's hard to pay rent in beer. 00:46 <+MrHairgrease> are you getting back to koen by luring away his employees with beer? 00:46 < BartJol> I do also do something like sleep and at 00:46 <@rizen> indeed 00:46 < BartJol> with me, that might work :) 00:46 <+perlDreamer> Sleep is off the table. 00:46 <+MrHairgrease> back at koen of course 00:46 <+MrHairgrease> for his ramblings 00:46 <@rizen> yeah, but like any currency, you can sell beer, i just don't know what the exchange rate is 00:47 <@rizen> i'm glad to hear that i'm not the only one that thinks he's rambling 00:47 < BartJol> most people do, but sometimes he makes sense... 00:48 < BartJol> let me think of an exaample 00:48 <+perlDreamer> (Hint: he hired you) 00:48 <@rizen> Hint2: he's letting you come to the wuc, again 00:48 < BartJol> well, that sounds a bit smug, but it's true :) 00:49 < BartJol> and he also brings his wife, so he won't be as drunk as last year 00:49 <+MrHairgrease> koen is only taking bart to the wuc so he looks cool by proxy by being also dutch 00:49 <+MrHairgrease> =) 00:49 <@rizen> wait...tessa is coming? 00:49 <+perlDreamer> Are y'all going to charter a plane to come over? 00:50 <+perlDreamer> Yeah. 00:50 < BartJol> yeah, Albert and Ning are coming too 00:50 <@rizen> holy crap....i didn't know that, i'm going to have to buy more beds for my house i think 00:50 <@apeiron> There's a veritable invasion from Europe coming. 00:51 < BartJol> pyama party! 00:51 <@rizen> The Dutch are coming! The Dutch are coming! 00:51 <+MrHairgrease> or buy a bigger house 00:51 <+perlDreamer> 1 if by land, 10 coming with beer 00:51 -!- Doc777 [n=Doc@10.187-available-ethint-fratm-cc.sccoast.net] has joined #webgui 00:51 <+MrHairgrease> yeah i guess it is an invasion 00:51 <@apeiron> What is it, about 12 people? 00:51 <@apeiron> I think that was the last count. 00:51 < BartJol> 4 from United knowledge 00:52 < BartJol> 3 from oqapi 00:52 <+MrHairgrease> united knowledge is comming with 4 people, oqapi with 3 procolix with 3 and pluton with 2 00:52 < BartJol> 3 from procolix 00:52 < BartJol> indeed 00:52 <@apeiron> yeah, so, 12. 00:52 <+MrHairgrease> I wouldn't know, i have only ten fingers 00:52 <@apeiron> perlbot, math 4 + 3 + 3 + 2 00:52 < perlbot> 12 00:52 <@rizen> that means there are 24 people coming to the wuc before we start selling tickets 00:53 <+perlDreamer> Is it too late to get bigger rooms? 00:53 <@rizen> 10 from PB, 2 from Portland, 12 from Holland 00:53 <+MrHairgrease> I'm looking forward to the wuc 00:53 <+perlDreamer> What about the other presenters? 00:53 <@rizen> oh right 00:53 <@rizen> so like 30 00:53 <+perlDreamer> dude, you're already half full 00:53 <+MrHairgrease> nice 00:53 <@rizen> we booked enough space for 70 this year 00:53 < BartJol> ah, and will the official wuc language be Dutch? 00:54 <+MrHairgrease> i guess so 00:54 <+perlDreamer> Only for ordering beer 00:54 <+MrHairgrease> because we talk real loud 00:54 <+MrHairgrease> BIERTJE? 00:54 <@rizen> oh and we sold our first ticket to a non-speaker this week 00:54 <+perlDreamer> who's that? 00:55 <@rizen> One of the peeps from the US Dept of State 00:55 < BartJol> LEKKER! 00:55 <+perlDreamer> Excellent! 00:55 <@apeiron> Biertje is a word for beer, yes? 00:55 < BartJol> yes 00:55 <@apeiron> (just guessing here) 00:55 <+MrHairgrease> it's kind of a diminuative 00:55 <+perlDreamer> little beers? 00:55 <+perlDreamer> Only for Portland people. 00:55 <+MrHairgrease> the official translation is bier 00:56 <+MrHairgrease> more like a pet name 00:56 <+MrHairgrease> you can say 'do you want bier?' 00:56 <+MrHairgrease> or you just say 'biertje?' 00:56 < BartJol> but an drinkable amount (without going warm) instance of bier is called a biertje 00:57 <+MrHairgrease> if you want a big one you order a 'halve liter' 00:57 < BartJol> so a pint is also a biertje 00:57 <+MrHairgrease> that depends on the type of beer 00:58 <+MrHairgrease> drinking guinness from a half pint glass is just perverse for instance 00:58 <+MrHairgrease> but regular beer is usually served in either 20 or 25 centiliter glasses 00:58 < BartJol> unfortunately... 00:59 < BartJol> in germany and czeck it's half a liter 00:59 <+MrHairgrease> true 00:59 < BartJol> 1/8 of a gallon? 00:59 <+perlDreamer> yup 00:59 <+perlDreamer> metric is so much easier to calculate 00:59 <+MrHairgrease> indeed 00:59 <+perlDreamer> 2 pints = 1 quart. 4 quarts = 1 gallon 01:00 <@rizen> btw MrHairgrease. Thanks for tackling so much stuff in the new Shop. I really appreciate it. 01:00 < BartJol> in the US everything is big, can you also order a gallon beer? 01:01 <+perlDreamer> Yes, at the Ruby Marie 01:01 <@preaction> a pitcher 01:01 <@preaction> Das Boot at the Essen Haus 01:01 <@rizen> you can order gallon jugs of beer at some places, and yeah, the boot at Essen Haus 01:01 <@rizen> Capitol Brewery, Great Dane, and Angelic Brewing all have gallon jugs 01:01 < BartJol> maybe americans are really crazy 01:02 <@apeiron> 'maybe'? 01:02 < CIA-1> WebGUI: martin * r6154 /branch/WebGUI_Commerce/lib/WebGUI/Shop/ (PayDriver/ITransact.pm PayDriver.pm): Fixing stuff in the ITranasct plugin. It does process non-recurrong payments correctly now 01:02 -!- dionak [n=diona@97.66.185.250] has quit [Read error: 110 (Connection timed out)] 01:03 < BartJol> just trying to be nice 01:04 <+MrHairgrease> rizen: no problem. It's cool to do core stuff again after a slew of long running client projects. 01:04 <+perlDreamer> I love doing core stuff 01:05 <+MrHairgrease> another thing 01:05 * apeiron has been hacking core for a while now and will miss it when on other stuff. 01:05 <+MrHairgrease> i have been working a bit on the movie plugin 01:05 <@preaction> that's why you have to convince clients to fund features in WebGUI 01:05 <@preaction> or fund bugfixes 01:05 <+MrHairgrease> the two players you suggested in your blog however have their issues 01:06 <+perlDreamer> or fund test writing 01:06 <+MrHairgrease> the jw player is some cc license which will not allow commercial usage. 01:06 <+MrHairgrease> which makes it unsuitable i guess 01:06 <+MrHairgrease> the flowplayer is GPLv3 01:07 <+MrHairgrease> and i dunno how that fits into webgui if at all posible 01:07 <+MrHairgrease> also in fullscreen mode the flowplayer has this huge watermark overlaid over the movie 01:08 <+MrHairgrease> which we can obviously remove since it's gpl 01:08 <+MrHairgrease> but still... 01:08 <+MrHairgrease> any suggestions? 01:08 <@rizen> well then flowplayer is our only option unless you've found other stuff 01:09 <+MrHairgrease> i haven't looked for anything else yet 01:09 <+MrHairgrease> no time 01:09 <@rizen> and GPLv3 isn't that big of a deal, because it will be a stand alone component 01:09 <+MrHairgrease> ok 01:09 <@rizen> i'll give another look tonight to see if i can find something 01:09 <+MrHairgrease> i thought maybe the flash application Arjanis building could be suited to play movies too... 01:09 <+MrHairgrease> I haven't asked him about that yet 01:09 <@rizen> actually that's a good idea 01:10 <@rizen> i'll send him an email 01:10 <+MrHairgrease> yeah it is 01:11 <@rizen> you're brilliant! 01:11 <+MrHairgrease> true 01:11 <@rizen> with just the right amount of euro-sexy-trash-hair-grease 01:11 <@rizen> =) 01:11 <+MrHairgrease> wait till i am graduated 01:11 < Doc777> Question: I have a download macro that copies a file to a random dirctory and then provides a link to it. It is called with ^Download(section,filename); I have a page that queries the DB and pulls a list of filenames. I would like to be able to to hyperlink the filename to the download link. I seem to be missing how to put the two together ;) 01:12 <+MrHairgrease> you'll have to call me Master Hairgrease 01:12 <+MrHairgrease> =) 01:12 < Doc777> so... How can I pass vars to a macro embedded in a page? Or is it possible to call a macro in a url with params? 01:13 < Doc777> ( sorry if I cut into the conversation you had going! ) 01:13 <+perlDreamer> why can't the Download macro return the link that you want? 01:13 -!- topsub [n=josh@66.195.205.21] has joined #webgui 01:14 < Doc777> It could but it needs to be called with the params... which are on another page. 01:14 <@rizen> Sounds like you could do ^Download(whatevergoesinsection, <tmpl_var filenameretrievedwithsqlreport>); 01:15 <+MrHairgrease> doc777: jut do not put the space between the comma and the tmpl_var 01:15 < Doc777> I am sorry. I think I confused you. The download works great... It is the display page that cannot "call" the download correctly. 01:15 <+MrHairgrease> so ^Download(whatevergoesinsection,<tmpl_var filenameretrievedwithsqlreport>); rather then ^Download(whatevergoesinsection, <tmpl_var filenameretrievedwithsqlreport>); 01:16 <+MrHairgrease> what do you mean with 'call' 01:16 <+perlDreamer> that's the problem. With macros, it should be a 1 screen/page solution 01:16 < Doc777> Say sqlreport has a list of filenames and you want to hyperlink the filenames to a macro that downloads it. ;-) 01:16 <+perlDreamer> can't do that 01:17 <+perlDreamer> you need to link to a page containing the macro 01:17 <+MrHairgrease> yeah 01:17 <+MrHairgrease> and pass the filenames as a formparam 01:17 <+perlDreamer> but I can guarantee you that people won't like that extra click 01:17 <+perlDreamer> We're stuck with plone for an intranet, and it works like that 01:17 <+perlDreamer> it sucks 01:17 < Doc777> so if i embed the macro in a page and link the page with downloads?name=mine how does the macro know that name=mine? 01:18 <+MrHairgrease> $session->form->process('name') 01:18 <+perlDreamer> you use the ^FormParam macro 01:18 < Doc777> Aha! Then that is the missing "glue" I was looking for. 01:18 <+MrHairgrease> that's possible too 01:19 <+MrHairgrease> in that case you do something like: 01:19 <+MrHairgrease> ^Download(whatevergoesinsection,^FormParam('name');); 01:19 <+MrHairgrease> ok I'm afk 01:19 < Doc777> Thank you. I will test that! 01:22 < CIA-1> WebGUI: jt * r6155 /branch/WebGUI_Commerce/ (78 files in 8 dirs): merging form pollution fix 01:22 < Doc777> Is it possible to link an image click to trigger a macro or it that to far out? ( Hey it is perl... :-)) 01:23 < BartJol> i think I tried that once and it worked 01:23 < Doc777> Do you remember how you did it? That would resolve my 2 page issue if they click the download image and it triggers the macro. 01:23 < BartJol> but I'm not sure on the theory 01:24 < Doc777> or button 01:24 < BartJol> with an < a href="blabla" onclick="mymacro">text</a> 01:24 < BartJol> and text would be image 01:24 <+MrHairgrease> that doesn't work 01:25 <+MrHairgrease> what you can do however is 01:25 <+MrHairgrease> making the macro trigger on some form var being posted 01:25 <+MrHairgrease> so normally you'd let the macro output a form with a button and a hidden variable containing some unique value 01:26 <+MrHairgrease> if such a value is posted let the macro output the image 01:26 < BartJol> mmm, the macro was executed, but maybe that already happened during the template assembly 01:26 <+MrHairgrease> it's not a nice way 01:26 <+MrHairgrease> but it works 01:26 < BartJol> didn't test it fully 01:26 <+MrHairgrease> macro's are processed at the last stage 01:27 <+MrHairgrease> that is after te,plates are being processed 01:27 -!- MrHairgrease is now known as MrAfkGrease 01:28 < BartJol> well have to work tomorrow, so bye 01:28 -!- BartJol [n=plainstu@52-167.surfsnel.dsl.internl.net] has left #webgui [] 01:31 <@rizen> later 01:31 <@rizen> oh woe is me 01:31 <@rizen> i did a resetdev without saving my ems templates 01:31 <@apeiron> gack! 01:32 <@apeiron> Don't suppose you have your stuff backed up on via Time Machine? 01:34 <@rizen> ooh great idea! 01:35 <@rizen> i wonder if that backs up mysql databases 01:35 <@rizen> that will save me about 10 hours of work 01:35 <@apeiron> If they're on disk in any way it will. 01:35 <@apeiron> I'm not sure how useful it'll be, if at all, but it may help. 01:35 <@rizen> anything is better than starting from scratch 01:36 <@apeiron> heh. Time Machine has saved my butt