--- Log opened Tue May 01 00:00:43 2007 00:38 < MrJeep> sounds like there is new stuff with the translations 00:38 < MrJeep> is the doc about translation up to date ? 00:56 -!- fastly [n=fast@194.42.125.16] has quit [Read error: 110 (Connection timed out)] 01:09 -!- GMFlash is now known as Fr0zin 01:09 -!- Fr0zin [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has quit [Client Quit] 01:09 -!- GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has joined #agavi 01:14 -!- sean` [i=sean@84-104-194-218.cable.quicknet.nl] has joined #agavi 01:21 -!- fastly [n=fast@ACD5D88A.ipt.aol.com] has joined #agavi 01:21 < fastly> hi... can anyone here remind me of the new code for the new code for a forward from a view to another action? 01:25 < impl> Try this from View::execute: return $this->createForwardContainer('Module', 'Action'[[, parameters], outputType]) 01:25 < impl> where parameters and outputType are optional of course 01:42 -!- sean` [i=sean@84-104-194-218.cable.quicknet.nl] has quit ["signing off"] 01:43 -!- Whisller [n=test@217.97.146.67] has joined #agavi 01:51 -!- digitarald [n=Miranda@62-43-171-177.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"] 02:08 -!- Prometheus^ [n=Promethe@cs181170022.pp.htv.fi] has quit [Success] 02:19 < fastly> thans 02:19 < fastly> thanks 02:21 < _cheerios> omg Deja Vu was such garbage 02:21 < ttj> What was that? 02:22 < _cheerios> funny 02:23 < ttj> A movie? 02:23 < _cheerios> im losing hope in imdb ratings 02:23 < _cheerios> this one was 6.9 02:24 < _cheerios> then again, 300 is 7.9/10, when it'd be more appropriate around 3.5/10 02:25 < _cheerios> too much junk out. ppl can't tell good from bad anymore 02:34 < _cheerios> "In addition to the promoting the Adobe Flash rival, he’s announcing “Silverlight Streaming by Windows Live”, a free hosting and streaming service for developers. Devs get 4GB of webhosting from the service, which is currently in alpha." hmmm 02:40 < _cheerios> sounds good 02:40 -!- _cheerios [n=jacklo@cs181009065.pp.htv.fi] has quit ["nn"] 02:51 -!- Whisller [n=test@217.97.146.67] has quit ["Dobranoc"] 04:06 -!- MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has quit [Read error: 110 (Connection timed out)] 05:19 -!- fastly [n=fast@ACD5D88A.ipt.aol.com] has quit [] 06:21 -!- impl [n=impl@httpcraft/php/impl] has quit ["Leaving"] 09:58 -!- eremit [n=eremit@p5490E348.dip.t-dialin.net] has joined #agavi 10:11 < MikeSeth> huomenta 10:15 -!- eremit_ [n=eremit@p5490F288.dip.t-dialin.net] has joined #agavi 10:15 -!- eremit [n=eremit@p5490E348.dip.t-dialin.net] has quit [Nick collision from services.] 10:15 -!- eremit_ is now known as eremit 10:23 -!- digitarald [n=Miranda@62-43-171-177.user.ono.com] has joined #agavi 11:11 -!- raidman [n=raidman@unaffiliated/raidman] has joined #agavi 11:13 < raidman> huomenta 11:17 < MikeSeth> huomenta 11:46 -!- crich1999 [n=crich@port-212-202-210-130.dynamic.qsc.de] has joined #agavi 12:05 < crich1999> is it possible to rename an app with agavi ? 12:40 -!- codecop [n=moni___@88.118.154.160] has joined #agavi 13:05 < crich1999> does agavi work with propel 1.2 too ? 13:05 < v-dogg> yup 13:05 < v-dogg> but you want to use 1.3 13:05 < crich1999> ok 13:09 -!- GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has quit [] 13:09 -!- GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has joined #agavi 13:14 < MikeSeth> crich1999: having fun? 13:14 < crich1999> yeah 13:14 < crich1999> :) 13:15 < crich1999> i'm tryin to setup a first viewer/modifier for one of my tables. right now i'm setting up propel-1.3 to generate the database 13:16 < crich1999> btw. i'm using 'git' for Source Management, git really rocks ! 13:17 < MikeSeth> oh yeah it does 13:17 < MikeSeth> but svn works fine, too 13:19 < crich1999> yeah, it's more comfortable i would, say whereas git lets you do a bit more i think .. 13:22 -!- Whisller [n=test@217.97.146.67] has joined #agavi 13:22 < Whisller> Good morning my friends :) 13:25 -!- cinekz [n=cinekz41@213.17.223.230] has joined #agavi 13:31 -!- codecop [n=moni___@88.118.154.160] has quit ["Have to go"] 13:37 -!- _cheerios [n=jacklo@cs181009065.pp.htv.fi] has joined #agavi 13:38 -!- Whisller [n=test@217.97.146.67] has quit ["I'll be back :)"] 13:45 -!- cinekz [n=cinekz41@213.17.223.230] has left #agavi [] 13:46 < crich1999> v-dogg: i'm trying to understand the build process of CMS. I wonder if you have created the propel sql files manually via propel-gen or if you're using some sort of hidden phing magic i haven't found yet. (the same goes for the source templates) 13:47 -!- sean` [i=sean@84-104-194-218.cable.quicknet.nl] has joined #agavi 13:48 < MikeSeth> crich1999: Agavi is typically database neutral and has no built in tools to generate schemas or any such. 13:55 < v-dogg> crich1999: not sure what you mean. schema.xml is handwritten and after that is just propel-gen's magic 13:55 < crich1999> MikeSeth: i know 13:56 < crich1999> v-dogg: ok, i thought you would have some sort of Makefile where you can say "make database -> propel-gen + insert-sql" and "make clean -> removes every generated file" 13:58 < MikeSeth> v-dogg: I thought propel has schema imports? 14:05 < v-dogg> it does if you have an existing database 14:15 -!- fastly [n=fast@ACD5D88A.ipt.aol.com] has joined #agavi 14:17 < _cheerios> iGoogle? hmm :p 14:19 < v-dogg> iwhat? 14:21 < _cheerios> was checking google.com/ig and they use iGoogle logo there 14:26 -!- codecop [n=codecop@88.118.154.160] has joined #agavi 15:03 < v-dogg> hmm.. need some regexp help. newbie stuff really :) 15:04 < v-dogg> how to remove all html headings (.* something like this but something that would actually work :) 15:07 < MikeSeth> strip_tags () 15:07 < MikeSeth> :D 15:08 < v-dogg> no, I want the whole heading removed 15:14 < digitarald> [^<] 15:18 < v-dogg> thanks digitarald 15:53 < _cheerios> "Developers can simple take their existing Javascript and copy it into Silverlight and have it perform multiple times faster than it does in the native browser environment." 15:53 < _cheerios> hmm 15:54 < _cheerios> http://www.techcrunch.com/2007/04/30/silverlight-the-web-just-got-richer/ 15:55 -!- raidman [n=raidman@unaffiliated/raidman] has quit ["Leaving"] 16:00 -!- fastly [n=fast@ACD5D88A.ipt.aol.com] has quit [Read error: 110 (Connection timed out)] 17:04 -!- Wombert [n=Wombert@217.7.205.2] has joined #agavi 17:04 < MikeSeth> \o/ 17:05 * Wombert oi 17:05 -!- kaos|work [n=dominik@217.7.205.2] has joined #agavi 17:29 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 17:38 < crich1999> where can i learn about the "Layer,decorator. Slot, Slotcontainer" Stuff? 17:40 < MikeSeth> crich1999: in the manual, and in the mailing list archive, and in the example app sources 17:41 < Wombert> crich1999: http://groups.google.com/group/agavi-users/browse_frm/thread/6e1a1033b4b8b77c 17:41 < Wombert> click the "read more" links to see the whole messages 17:42 < Wombert> the first message has some info towards the end, but you might find the whole posting worth a read 17:42 < Wombert> it explains some of the changes that were made to the original architecture 17:42 < Wombert> (symfony did not make these changes, for example) 17:43 < MikeSeth> speaking of which did they adjust our copyrights? 17:43 < Wombert> more or less, I think 17:49 < Wombert> there's also an advanced example further down in the thread, crich1999 17:49 < Wombert> we've made some more enhancements to all this since, too 17:50 < crich1999> thx. i'm reading it right now 17:50 < Wombert> for example, the previous layer output is available in $inner, so you don't need to know the name of the layer you're wrapping 17:50 < Wombert> but I think that's explained in the second example mail 17:51 < Wombert> also, there are createSlotContainer and createForwardContainer convenience methods in the view which also set a flag on the execution container so you can decide to load a different layout when the action is running as a slot 17:51 < Wombert> (sometimes you need that, e.g. a login box might have two templates, one for the sidebar, and one for the "real" login page) 17:52 < Wombert> also, the response redirect blah described there has been enhanced, you can create profiles for the routing generation, and define an "email" profile which doesn't use & and generates full URLs including protocol and host, for example 17:52 < Wombert> but... first things first 17:52 < Wombert> read the mails and let me know if you hvae any questions :) 18:04 < v-dogg> yeah, don't worry about the fancy stuff yet, it'll just confuse you :) 18:09 < Wombert> http://www.netzgesta.de/loupe/ 18:09 < Wombert> ace 18:12 -!- codecop [n=codecop@88.118.154.160] has quit [Remote closed the connection] 18:13 -!- fastly [n=fast@194.42.125.16] has joined #agavi 18:23 < crich1999> cool :) 18:24 -!- sean` [i=sean@84-104-194-218.cable.quicknet.nl] has quit ["signing off"] 18:30 -!- Arme[N] is now known as Arme[0] 18:31 < Wombert> http://www.techcrunch.com/2007/04/30/silverlight-the-web-just-got-richer/ fucking awesome 18:34 < MikeSeth> I am really concerned 18:34 < MikeSeth> I dont like this whole flex and silverlight thing. 18:34 < MikeSeth> meh, ruby support 18:49 < crich1999> what's the database layout for the sample app ` 18:49 < crich1999> ? 18:50 < Wombert> it doesn't use a database 18:51 < crich1999> uh.. how do i login then? 18:52 < Wombert> ah that uses dummy data 18:53 < Wombert> credentials are "Chuck Norris" and "kick" 18:53 < Wombert> but try to login with invalid data 18:53 < Wombert> you'll see how the information is put into the form again 18:53 < Wombert> and erroneous fields are highlighted 18:53 < Wombert> this happens without any special syntax, you write regular forms 18:53 < Wombert> look at modules/Default/templates/LoginInput.php 18:53 < crich1999> yeah just found the file ;) 18:54 < crich1999> hey that's really nice 18:55 < Wombert> see, no form helpers necessary ;) 18:55 < Wombert> which means it works with any template language etc 18:56 < crich1999> that's quite cool 18:58 -!- MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi 18:58 < MrJeep> hi 18:59 < MrJeep> I'm making a multipart form and I'm wondering if keeping the form data in the user session is the right way to do this 18:59 < MrJeep> anyone has a better solution ? 18:59 < Wombert> not yet 18:59 < Wombert> we'll have something in 1.1 or so 18:59 < Wombert> it's a difficult issue really 18:59 < MrJeep> yeah 19:08 < _cheerios> you could use something like Dojo storage (works in most browsers; not Opera), which stores data in key-value format to a Flash object that is available at any time after being stored. 19:16 < MrJeep> something like the ASP.net Viewstate field ? 19:19 < _cheerios> shrug, i have no knowledge of asp stuff. 19:20 < MrJeep> :S, I tried asp.net once 19:20 < MrJeep> that's nice 19:20 < MrJeep> but I prefer agavi/php better 19:21 -!- digitarald [n=Miranda@62-43-171-177.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"] 19:27 < MrJeep> let's say i set an attribute in the user and this attribute is an array 19:27 < MrJeep> is there a way to access the array key with getAttribute 19:28 < Wombert> uh 19:28 < MrJeep> ie. $array = array('name' => 'foo') 19:28 < Wombert> err 19:28 < MrJeep> $usr->setAttribute('array', $array) 19:28 < MrJeep> $usr->getAttribute('array.foo') 19:28 < MrJeep> or something like that 19:28 < Wombert> $usr->setAttribute('array', array('foo' => 'bar')); 19:28 < Wombert> ah 19:28 < Wombert> array[foo] 19:28 < MrJeep> great :D 19:28 < Wombert> parameters support that, and I think attributes do, too 19:33 -!- SunboX [n=Miranda@p54b4ff2f.dip.t-dialin.net] has joined #agavi 19:51 < _cheerios> http://naamio.net/img/rock_pope.jpg 20:22 -!- SunboX [n=Miranda@p54b4ff2f.dip.t-dialin.net] has quit [Read error: 104 (Connection reset by peer)] 20:29 < fastly> can anyone here recommend a good php mailer class - I'm having a bit of trouble with PHPMailer and want to avoid using mail() if possible... 20:30 < fastly> also.. what method is recommended for dumping substantial html in $mail->Body ? 20:31 < fastly> ...e.g. within a RegisterAction executeWrite method... 20:31 < Wombert> fastly: ez component's mailer is decent 20:31 < Wombert> fastly: use a model 20:32 < Wombert> in the model, you can also construct an exec container and run it if you want to use agavi's templating infrastructure to render your email 20:32 < Wombert> or you just use the templatelayer and renderer classes agavi has, there's a convenience execute() method that lets you quickly render and get the results of a layer 20:36 -!- fastly [n=fast@194.42.125.16] has left #agavi [] 21:48 < _cheerios> im reading onto that SilverLight thing more; does it make writing client-side applications using JS possible, apps that are FAST, and you don't have the current slow JS execution? 21:50 < _cheerios> if so, you could start using a lot of the cpu power from the client-side to offload processing from the server 21:52 < _cheerios> kind of like Tamarin.. a few years early. 21:53 -!- digitarald [n=Miranda@62-43-171-177.user.ono.com] has joined #agavi 21:57 < _cheerios> *sigh* more sites to spawn with "you don't have the plugin to view..." -notices to come 22:00 -!- nagaozen [n=nagaozen@200-204-179-236.dsl.telesp.net.br] has joined #agavi 22:00 -!- impl [n=impl@httpcraft/php/impl] has joined #agavi 22:11 < splatch> oi! :) 22:43 < MrJeep> Wombert, how much free time do you have at this time ? 22:43 < Wombert> you mean right now? 22:43 < Wombert> or these days 22:43 < MrJeep> both :P 22:43 < Wombert> heh 22:43 < Wombert> how can I help you 22:44 < MrJeep> well, the same thing, if you can check my project 22:44 < MrJeep> tell me if I'm on the right track 22:44 < Wombert> oh my goodness 22:44 < Wombert> I totally forgot that 22:44 < MrJeep> it's totally ok 22:44 < Wombert> ny apologies 22:45 < Wombert> I will look over it right now 22:45 < MrJeep> I'm pretty loaded myself so it's easy to understand 22:45 < Wombert> would you send me the url to the repos again 22:45 < MrJeep> if you have some free time of course 22:45 < Wombert> ah I remember I clicked the link but it didn't work as you were already offline 22:45 < Wombert> yes, I do 22:46 < MrJeep> svn://mrjeep.dyndns.org/project/alternativauto/trunk 22:46 < impl> Wombert: is your uni done now? 22:47 < Wombert> mh, kind of, impl ;) 22:48 < Wombert> I got pretty fed up with CS, especially at that univ, so I, er, quit 22:48 < impl> o; 22:48 < impl> You should come to the US 22:48 < Wombert> I'll see if I pick it up again at another university in the autumn 22:48 < Wombert> haven't decided yet 22:48 < Wombert> I'm currently doing work for a customer in cologne together with kaos|work 22:48 < Wombert> it's great fun 22:48 < impl> Cool :D 22:52 < impl> oh, Wombert, my future kick in the face to Propel: http://www.devpaste.com/3359 22:53 < splatch> impl: what is this? 22:53 < splatch> that isn't propel, right? 22:54 < impl> No, it's my own framework 22:54 < MrJeep> propel-like ? 22:54 < impl> It will be similar to Propel, yeah 22:54 < impl> But I can't stand Criteria 22:54 < impl> and this is my replacement for it 22:54 < MrJeep> oh, hehe ok 22:54 < splatch> impl: why J::_INTEGER ? 22:54 < Wombert> impl: you're very, very, very welcome to go ahead with implementing this 22:54 < Wombert> for propel 2.0 22:54 < Wombert> that would be great 22:54 < Wombert> if it's better, it'll be welcome with open arms 22:55 < impl> Wombert: They never even commented on my other patch :( 22:55 < impl> splatch: It's an internal database type so I use _ 22:55 < impl> The boolean has _ now too 22:55 < Wombert> impl: you gotta beat them to it 22:55 < impl> Well they're working on a Criteria2 22:55 < impl> right? 22:55 < impl> I haven't looked at it except maybe once 22:55 < Wombert> nothing is finished or decided or whatever there 22:56 < splatch> most propel probl is joins! 22:56 < splatch> the populate method is very hard and not flexible 22:56 < Wombert> I have no problem with throwing criteria and criteria2 away 22:56 < impl> We'll see how this turns out then 22:56 < MrJeep> what's the problem with criteria ? 22:57 < impl> MrJeep: It's not flexible enough 22:57 < impl> I want to be able to say UPDATE blah SET column = column + 2 22:58 < MrJeep> $blan->setColumn($blah->getColumn() + 2) ? 22:58 < Wombert> well the problem is that stuff like that cannot be easily expressed within the constraints of an ORM 22:58 < impl> Yeah but that will only work for one record 22:58 < Wombert> like joins 22:58 < impl> supposing I want to update lots of records at once 22:58 < Wombert> joins often result in incomplete records 22:58 < Wombert> but propel needs all columns 22:59 < impl> Wombert: Yeah :| that sucks for efficiency 22:59 < impl> I don't know how to fix it 22:59 < Wombert> there is no fix 22:59 < Wombert> it must be all columns no matter what 22:59 < impl> We just haven't thought of it yet :oD 22:59 < Wombert> nah 22:59 < Wombert> you can't "fix" the way an ORM works 23:00 < Wombert> these things are by design 23:00 < Wombert> if you don't want to work within these constraints, then don't use it ;) 23:00 < impl> Well, we shall see 23:00 < Wombert> as with everything in life, you have to make tradeoffs 23:00 < impl> I don't anticipate any breakthrough in that part really 23:01 < impl> I just want to make queries nicer 23:03 < MrJeep> impl : well, if you do something better, i'll sure use it :) 23:04 < Wombert> MrJeep: AmxBaseView 23:04 < Wombert> public funciton setLayerSlot should swap the first two arguments imo 23:04 < Wombert> plus 23:04 < Wombert> use $this->createSlotContainer() 23:04 < MrJeep> oh yeah I forgot to change this 23:04 < Wombert> it will set a "is_slot" parameter on the execution container 23:04 < Wombert> then, in AmxBaseAction::isSimple() 23:04 < Wombert> you can do 23:05 < Wombert> return $this->container->getParameter('is_slot', false); 23:05 < MrJeep> and you are right about the parameters 23:05 < Wombert> instead of 23:05 < Wombert> return $this instanceof AmxISimpleAction; 23:06 < Wombert> you might consider a __call overload for AmxSecurityUser, too 23:07 < splatch> what's AMX? 23:07 < MrJeep> Agavi and Mootools extension 23:07 < Wombert> (similar to http://trac.agavi.org/browser/branches/0.11/src/view/AgaviTemplateLayer.class.php#L63 ) 23:07 < splatch> och 23:08 < MrJeep> previously named Mjax (mrjeep avagi extension), basically, it's a prefix I add to the classes I use in every projects 23:08 < Wombert> public function login($username, $password) 23:08 < Wombert> { 23:08 < Wombert> $ctx = $this->getContext(); 23:08 < Wombert> $req = $this->getContext()->getRequest(); 23:08 < Wombert> $ctl = $this->getContext()->getController(); 23:09 < Wombert> two unncessary method calls there ;) 23:09 < Wombert> $ctx->getRequest() is faster 23:09 < Wombert> I always use $this->context directly, but that's a matter of taste 23:09 < Wombert> $c = new Criteria(); 23:09 < Wombert> $c->add(AAUserPeer::EMAIL, $username); 23:09 < Wombert> $c->add(AAUserPeer::PASSWORD, md5($password)); 23:09 < Wombert> $c->setLimit(1); 23:09 < Wombert> if (AAUserPeer::doCount($c)) 23:09 < Wombert> { 23:09 < Wombert> $user = AAUserPeer::doSelectOne($c); 23:09 < Wombert> not good 23:10 < Wombert> $c = new Criteria(); 23:10 < Wombert> $c->add(AAUserPeer::EMAIL, $username); 23:10 < Wombert> $c->add(AAUserPeer::PASSWORD, md5($password)); 23:10 < Wombert> if ($user = AAUserPeer::doSelectOne($c)) 23:10 < Wombert> { 23:10 < Wombert> better 23:10 < MrJeep> noted 23:11 < Wombert> I notice you're not using a setupHtml() 23:12 < Wombert> instead you're using an executeHtml() in the base view 23:12 < Wombert> you shouldn't do it that way 23:12 < MrJeep> nop, I prefer using a separate base view class for each different view 23:12 < Wombert> use a setupHtml() instead that loads layouts and does the tabs stuff etc 23:12 < MrJeep> but I'm open to suggestions 23:13 < Wombert> also, I'd remove 23:13 < Wombert> $ctx = $this->getContext(); 23:13 < Wombert> $req = $this->getContext()->getRequest(); 23:13 < Wombert> $ctl = $this->getContext()->getController(); 23:13 < Wombert> and instead assign $this->rq etc in BaseView::initialoize() 23:13 < Wombert> I always use the same names as in the templates 23:13 < Wombert> (the assigns stuff) 23:13 < Wombert> class AASlotView extends AmxBaseView 23:13 < Wombert> not necessary 23:13 < Wombert> plus it prevents using the same action both standalone and as a slot 23:14 < Wombert> instead, query $this->container->getParameter('is_slot', false); 23:14 < Wombert> and load a layout accordingly 23:14 < Wombert> remember, createSlotContainer does that for you 23:14 < MrJeep> about create slot, I get this error :S 23:14 < MrJeep> Call to undefined method AgaviExecutionContainer::createSlotContainer() i 23:15 < Wombert> on the view 23:15 < MrJeep> in D:\WebDocs\Project\Web\AlternativAuto\libs\amx\agavi\view\AmxBaseView.class.php on line 78 23:16 < Wombert> oh btw 23:17 < Wombert> I use Input, Success and Error views 23:17 < Wombert> but no error template 23:17 < Wombert> the Error view simply uses the Input template, except that it also sets some other things 23:17 < Wombert> example 23:17 < Wombert> the input view pre-populates the edit form 23:17 < Wombert> the error view doesn't (of course) 23:18 < Wombert> much cleaner than checking the request method and running that code conditionally 23:18 < MrJeep> you mean stopping using the AmxHtmlErrors object ? 23:18 < Wombert> uuuuuh 23:18 * Wombert scratches head 23:18 < MrJeep> oh ok nevermind 23:18 < Wombert> never looked at that one ;) 23:18 < Wombert> k 23:18 < Wombert> btw what's up with that config handler 23:18 < Wombert> you don't need it 23:18 < MrJeep> well, then, what do you mean by error template ? 23:18 < Wombert> you can have custom settings in settings.xml 23:18 < impl> http://www.devpaste.com/3374 23:19 < impl> this is cool 23:19 < MrJeep> really !? 23:19 < impl> I didn't think it would work :< 23:20 < Wombert> 23:20 < Wombert> works like a charm 23:20 < MrJeep> great :D 23:20 < MrJeep> I'm not sure I understand the part on "but no error template" 23:20 < Wombert> you could also use XIncludes to import that from a different xml file if you don't want those settings in settings.xml 23:20 < Wombert> okay 23:20 < Wombert> let's say you hvae an edit form 23:20 < Wombert> if I open that page, you have to populate the form for me so the initial values are set 23:20 < MrJeep> ok 23:20 < v-dogg> impl: woot is that? 23:21 < Wombert> but that code shouldn't run if an error occured and we show the form again, right? 23:21 < impl> v-dogg: My replacement for Propel's Criteria 23:21 < Wombert> so you have two options 23:21 < Wombert> a) on error, return "Input", and in the InputView, check if the request method is read, and only then, run the code to populate the form 23:21 < Wombert> as if an error occured, it would be post, so the values the user entered aren't overwritten 23:22 < Wombert> the much better approach, however, is to have an ErrorView and an InputView 23:22 < Wombert> the InputView is used the first time the user calls the edit form 23:22 < Wombert> it has the code that populates the form 23:22 < Wombert> the ErrorView is identival except that it doesn't have the code that populates the form 23:22 < Wombert> AND the ErrorView uses the same template as the InputView 23:22 < Wombert> got it? 23:23 < MrJeep> yeah, I think 23:23 < Wombert> cool 23:23 < MrJeep> let's say I have a registration form 23:23 < MrJeep> the input view display the form 23:23 < MrJeep> when the form is submited and there is error, the error view is used 23:23 < Wombert> well, for a registration form, you don't need initial values, do you? 23:23 < MrJeep> nop I don't 23:23 < Wombert> yes, but it uses the input template again 23:24 < MrJeep> but it won't get re-populated ? 23:24 -!- Arme[0] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"] 23:24 < Wombert> it's a good idea to apply this strategy throughout, even if you don't need to load data into a form initially 23:24 < Wombert> oh no no! 23:24 < Wombert> wait 23:24 < Wombert> I'll show you 23:24 < MrJeep> ok :D 23:28 < Wombert> mh difficult 23:28 < Wombert> sample app doesn't have a good changeset 23:28 < Wombert> anyway 23:28 < Wombert> a product edit form 23:29 < Wombert> InputView 23:29 < Wombert> now we have to do the setAttribute('populate', ..., 'org.agav.filter...') stuff so the FPF displays the product info in the form 23:29 < Wombert> so we can edit it all 23:29 < Wombert> right? 23:30 < MrJeep> right 23:30 < Wombert> good 23:30 < Wombert> now let's assume you use the "Input" view in handleError 23:30 < MrJeep> in other words, when editing, you don't want the form to keep the same values when there is error, insteand you want to re-load the initial values ? 23:30 < Wombert> i.e. when validation failed and you want to show the form again with the errors highlighted 23:30 < Wombert> right? 23:30 < MrJeep> right 23:31 < Wombert> now you have the problem that the code that populates the form again would run 23:31 < Wombert> so the data the user entered is lost 23:31 < Wombert> so you have to wrap it into 23:31 < v-dogg> I think my cms sample could have something to offer to this discussion.. let's see 23:31 < Wombert> if($this->context->getRequest()->getMethod() == 'read') { 23:31 < Wombert> because the InputView is only called on POST (write) if an error occured 23:32 < Wombert> but that clearly sucks. it's kind of a hack. and you might want to do other things depending on whether or not an error occured than just not populate the form 23:32 < Wombert> maybe... set additional error info etc 23:32 < Wombert> but you need the same template 23:32 < Wombert> so you add an ErrorView 23:32 < Wombert> but that ErrorView doesn't have it's own template; instead, it uses the Input.php template 23:32 < Wombert> got it now? 23:32 < Wombert> :) 23:32 < MrJeep> yeah i got it :) 23:32 < v-dogg> MrJeep: http://veikko.fi/temp/cms.zip 23:33 < v-dogg> see how Admin modules User.Add/Modify 23:33 < v-dogg> work 23:33 < MrJeep> ok 1 min 23:34 < splatch> Wombert: when agavi site will start? 23:35 < Wombert> well, first of all, I need darek to get back to me 23:35 < Wombert> haven't heard from him in months 23:35 < Wombert> or weeks 23:35 < Wombert> not sure 23:35 < Wombert> anyway 23:35 < MrJeep> ahhhhhhhhhhh 23:35 < MrJeep> oh, the way I handle this 23:35 < Wombert> we will (definitely) launch it in around ten weeks 23:35 < splatch> Wombert: i askin' because my article will printed in future 23:35 < MrJeep> I use mostly use models when I have to load data 23:35 < Wombert> we're doing contract work for eight/nine more weeks 23:35 < MrJeep> i call those "Fetch models" 23:36 < Wombert> MrJeep: that's good 23:36 < MrJeep> since the model is loaded in the vnew 23:36 < MrJeep> view 23:36 < MrJeep> it does not matter if the method is read or write 23:36 < Wombert> yes, that is okay 23:36 < MrJeep> so the initial data is allways loaded, then the fpf writes over 23:37 < MrJeep> :) 23:37 -!- Wombert [n=Wombert@217.7.205.2] has quit [Read error: 104 (Connection reset by peer)] 23:37 -!- kaos|work [n=dominik@217.7.205.2] has quit [Read error: 104 (Connection reset by peer)] 23:37 -!- kaos|work [n=dominik@217.7.205.2] has joined #agavi 23:37 -!- Wombert [n=Wombert@217.7.205.2] has joined #agavi 23:38 < MrJeep> so I'll use the setuphtml and look if the action is a slot to load the "decoracor" 23:38 < MrJeep> anything else ? 23:39 < MrJeep> btw, do you call setupHtml in each executeHtml methods ? or only in the base view 23:39 < Wombert> nope, in each view 23:39 < Wombert> I don't have executeHtml() in the base views 23:40 < Wombert> or, rather, executeHtml in the base view throws an exception 23:40 < MrJeep> so I guess I won't need to call the parent executeHtml anymore 23:40 < Wombert> (same way the code templates do it) 23:40 < Wombert> yes, throw that out or throw an exception in there 23:40 < MrJeep> ok, nice :) 23:40 < Wombert> there is a simple idea behind his 23:40 < Wombert> this 23:40 < Wombert> just a sec I gotta pair my keyboard again 23:41 < impl> :s 23:41 < Wombert> kaos' keyboard is interfering with mine :p 23:41 < Wombert> anyway 23:42 < Wombert> the executezHtml() in your baseview should forward to the 404 page 23:42 < Wombert> because if it is called, that means your actual view did not implement a method for that 23:42 < Wombert> in case of html, it's not too useful 23:42 < splatch> Wombert: who must frop mail first? 23:42 < Wombert> but think about the /rss$ route 23:42 < MrJeep> hehe 23:42 < MrJeep> v-dogg : btw, thanks for the files :) 23:42 < Wombert> it would mean that executeRss() is run whenever the route ends on /rss 23:42 < Wombert> and if you have executeRss() in the baseview, and if it does something "useful" (loading a layout or whatever) 23:42 < Wombert> people get a blank page 23:42 < Wombert> instead of an error 23:42 < MrJeep> good example :) 23:43 < Wombert> if, however, that base view executeRss() redirects to 404 23:43 < Wombert> then only the views that implement rss really run 23:43 < Wombert> which is much better 23:43 < Wombert> splatch: uuuhm... what? 23:43 < MrJeep> I agree 23:44 < Wombert> oh 23:44 < Wombert> ehm 23:44 < Wombert> ah nevermind 23:44 < splatch> Wombert: who must send mail to who 23:44 < splatch> darek to you or you to darek? :) 23:44 < MrJeep> v-dogg : I really like those addCssFile and addJsFile methods 23:44 < Wombert> splatch: I sent many mails to darek, he should still have them 23:45 < Wombert> we also talked on icq, he should have logs of the discussion 23:45 < Wombert> he wanted to do logo samples with the font we chose 23:45 < MrJeep> well, thanks Wombert, this is very appreciated 23:45 < splatch> right, now he must do some work for us! :) 23:45 < Wombert> and we discussed some changes to the design 23:45 < Wombert> splatch: I can send him logs of the icq discussion if he likes 23:46 < splatch> Wombert: one moment please :) 23:46 < Wombert> haha that was february 26 23:46 < splatch> Wombert: he's free to end of week 23:47 < Wombert> splatch: okay 23:47 < Wombert> I'm travelling home on friday and I really shouldn't be chatting in the car but we can talk on saturday or late friday 23:47 < Wombert> splatch: I'll send him a mail with the icq logs 23:48 < Wombert> his email is kazek@kazek.pl right? 23:48 < splatch> Wombert: he don't read your big email :) 23:49 < Wombert> aaah yes I remember I wrote a huuuge mail 23:49 < splatch> Wombert: and he in past haven't got time to read all :) 23:49 -!- Whisller [n=test@217.97.146.67] has joined #agavi 23:50 < Whisller> hello 23:51 < splatch> Whisller: oi! :) 23:51 < Whisller> :P 23:51 < Whisller> meee ;) 23:51 < Wombert> splatch: icq log sent 23:51 < Wombert> does he have my other emails or should I send them again? 23:53 < splatch> Wombert: i thinkg he have all mails 23:53 < Wombert> cool 23:53 < Wombert> MrJeep: one more thing 23:53 < Wombert> you're setting the step1 data in the session 23:53 < Wombert> but you're doing that in the action 23:53 < Wombert> not good! 23:53 < Wombert> do it in the view 23:53 < Wombert> it's a purely presentational thing - you split the process of registering into multiple pages 23:54 < Wombert> for SOAP, you have only one call 23:54 < Wombert> or you want to change the process to a single page, then you don't have to modify the action either 23:54 < splatch> is there any tutorial how to write subactions? 23:54 < MrJeep> noted :) 23:58 < v-dogg> splatch: "agavi action" -> Action Name: Sub.Action 23:58 < v-dogg> nothing more to it, really 23:58 < splatch> oh, thank you :) 23:58 < Wombert> yep, it's just directories --- Day changed Wed May 02 2007 00:09 -!- digitarald [n=Miranda@62-43-171-177.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"] 00:11 -!- _cheerios [n=jacklo@cs181009065.pp.htv.fi] has quit ["nn"] 00:17 -!- Whisller [n=test@217.97.146.67] has quit [Read error: 104 (Connection reset by peer)] 00:21 < Wombert> any other questions, MrJeep? 00:23 < MrJeep> nop, I think I'm on the right track now :) 00:23 < MrJeep> thanks 00:23 < MrJeep> appreciated :) 00:25 < Wombert> cool 00:31 -!- Wombert [n=Wombert@217.7.205.2] has quit [] 00:39 -!- Wombert [n=Wombert@217.7.205.2] has joined #agavi 00:57 -!- sean` [i=sean@84-104-194-218.cable.quicknet.nl] has joined #agavi 00:58 < MrJeep> is is possible to add custom variables to the code templates ? 00:59 < Wombert> mh? 00:59 < Wombert> ah the %% stuff? 00:59 < Wombert> well you could overwrite build.xml 01:02 < MrJeep> yeah exacly 01:03 < MrJeep> ok 01:05 < CIA-2> dominik * r1901 /branches/0.11/src/config/AgaviLdmlConfigHandler.class.php: 01:05 < CIA-2> Add unescaping of unicode chracter sets (except named escapes) 01:05 < CIA-2> closes #478 01:09 -!- GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has quit [] 01:09 -!- GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has joined #agavi 01:24 < CIA-2> dominik * r1902 /branches/0.11/src/config/AgaviLdmlConfigHandler.class.php: 01:24 < CIA-2> fix unescaping of consecutive escape sequences and add some comments 01:24 < CIA-2> refs #478 01:31 -!- implement [n=impl@httpcraft/php/impl] has joined #agavi 01:33 < crich1999> why does my "echo $ro->gen('index');" expand to "index?" ? i wonder where the $tm and $ro objects com from? 01:37 -!- MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has quit [] 01:38 -!- Wombert [n=Wombert@217.7.205.2] has quit [] 01:39 -!- kaos|work [n=dominik@217.7.205.2] has quit [] 01:47 -!- impl [n=impl@httpcraft/php/impl] has quit [Read error: 110 (Connection timed out)] 02:27 -!- crich1999 [n=crich@port-212-202-210-130.dynamic.qsc.de] has quit ["Leaving"] 02:33 -!- sean` [i=sean@84-104-194-218.cable.quicknet.nl] has quit ["signing off"] 03:21 -!- implement is now known as impl 07:01 -!- impl [n=impl@httpcraft/php/impl] has quit ["Leaving"] 07:11 -!- nagaozen [n=nagaozen@200-204-179-236.dsl.telesp.net.br] has quit [] 08:18 -!- lockes [n=locke@70.88.51.126] has quit ["Lost terminal"] 08:24 -!- splatch [n=splatch@s3.przytulski.net] has quit [Read error: 110 (Connection timed out)] 09:04 -!- raidman [n=raidman@unaffiliated/raidman] has joined #agavi 09:23 < raidman> huomenta~ _o/ 09:33 -!- _cheerios [n=jackbo@muxlim2.enterprises.evtek.fi] has joined #agavi 09:33 < _cheerios> huomenta! 09:36 < _cheerios> snicker @ digg.com 10:00 -!- Prometheus^ [n=Promethe@kone1.tmvvision.finnetcom.net] has joined #agavi 10:09 < v-dogg> huomenta 10:16 -!- eremit_ [n=eremit@p5490EFE3.dip.t-dialin.net] has joined #agavi 10:30 < MikeSeth> huomenta 10:32 -!- raidman [n=raidman@unaffiliated/raidman] has quit ["Leaving"] 10:34 -!- eremit [n=eremit@p5490F288.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)] 10:51 -!- eremit_ is now known as eremit 11:08 -!- eremit [n=eremit@p5490EFE3.dip.t-dialin.net] has quit ["Trillian (http://www.ceruleanstudios.com"] 11:10 -!- eremit [n=eremit@p5490EFE3.dip.t-dialin.net] has joined #agavi 11:41 -!- digitarald [n=Miranda@83.Red-83-52-199.dynamicIP.rima-tde.net] has joined #agavi 11:55 -!- eremit [n=eremit@p5490EFE3.dip.t-dialin.net] has quit ["Trillian (http://www.ceruleanstudios.com"] 11:57 -!- eremit [n=eremit@p5490EFE3.dip.t-dialin.net] has joined #agavi 12:07 -!- Prometheus^ [n=Promethe@kone1.tmvvision.finnetcom.net] has quit [] 12:20 -!- sean` [i=sean@84-104-194-218.cable.quicknet.nl] has joined #agavi 12:21 -!- Wombert [n=Wombert@217.7.205.2] has joined #agavi 12:22 < MikeSeth> \o/ 12:27 -!- eremit [n=eremit@p5490EFE3.dip.t-dialin.net] has quit ["Trillian (http://www.ceruleanstudios.com"] 12:33 -!- codecop [n=codecop@85.206.207.136] has joined #agavi 13:05 < v-dogg> what's the recommended photo album web app nowdays? (something very simple) 13:09 -!- GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has quit [] 13:09 -!- GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has joined #agavi 13:13 < _cheerios> what are your goals? 13:15 < v-dogg> an easy way to publish personal photos. exif info would be nice 13:16 < v-dogg> don't know what else 13:16 < _cheerios> flickr + use of their API would be my recommendation 13:16 < MikeSeth> gallery2 works, but tends to have security issues 13:19 < v-dogg> these apps are usually bloated like crazy 13:20 < MikeSeth> yep 13:24 < v-dogg> http://veikko.fi/kuvat/erica-10pv.jpg 13:25 < v-dogg> 10 pv = 10 days 13:25 < _cheerios> awwww 13:27 < _cheerios> in the true after-Vappu position ;) 13:27 < MikeSeth> what's vappu? 13:27 < _cheerios> May Day in finnish 13:27 < v-dogg> may day 13:27 < MikeSeth> oh 13:28 < _cheerios> also a female name 13:28 < Wombert> v-dogg: coooool :) 13:29 -!- codecop [n=codecop@85.206.207.136] has quit ["Leaving"] 13:37 < MikeSeth> awww lisp <3 14:38 -!- Prometheus^ [n=Promethe@kone1.tmvvision.finnetcom.net] has joined #agavi 14:44 -!- raidman [n=raidman@unaffiliated/raidman] has joined #agavi 14:44 -!- raidman is now known as Arme[N] 14:45 -!- splatch [n=splatch@s3.przytulski.net] has joined #agavi 14:50 * Wombert kicks xml namespaces 14:51 < _cheerios> call_user_func — Call a user function given by the first parameter ; if i want to do the same in js, what do i use? eval() ? 14:51 < Wombert> no 14:51 < Wombert> var foo = function(bar) { alert(bar); } 14:51 < Wombert> foo('yay'); 14:51 < Wombert> :p 14:51 < Wombert> or what is the question? 14:52 -!- JamieWolf [n=JamieWol@e177033125.adsl.alicedsl.de] has joined #agavi 14:52 < _cheerios> wanted to make a generic function that takes as an argument a function name, plus params 14:53 < _cheerios> foo('alert','hello world') => function foo(f,arg){ } 14:54 -!- JamieWolf [n=JamieWol@e177033125.adsl.alicedsl.de] has quit [Client Quit] 14:55 -!- JamieWolf [n=JamieWol@e177033125.adsl.alicedsl.de] has joined #agavi 14:57 < Wombert> you give the function, not it's name 14:57 < Wombert> a function is just an object in javascript 14:58 < Wombert> guys :( 14:58 < Wombert> I think I have to break xincludes a tiny little bit :S 14:58 < Wombert> oooh god I hate this :( 14:58 < Wombert> grrrr 14:59 < Wombert> problem is that as soon as the document has an xml namespace, xpointers do not work anymore 14:59 < Wombert> they need to be bound to the namespace 14:59 < Wombert> example 14:59 < Wombert> 14:59 < Wombert> ... 14:59 < Wombert> 14:59 < Wombert> now the problem is... all xsds support namespaces already 15:00 < Wombert> we really need that for forward compatibility. it allows us, for example, to embed an XSLT stylesheet inside the xml config itself! 15:00 < Wombert> or, even better, I'm working on that 15:00 < Wombert> annotations to routes 15:00 < Wombert> for soap 15:00 < Wombert> which then generates a WSDL automatically 15:00 < Wombert> this is very, very, very ace, but it requires that our config handler system can deal with namespaces, and XSDs are an essential part of that 15:01 < Wombert> so now the xml parser loads an xml file, and if no xmlns="http://agavi.org/agavi/1.0/config" can be found in the root element 15:01 < Wombert> it adds it and re-loads the file 15:01 < Wombert> otherwise the document wouldn't validate against the XSD anymore 15:02 < Wombert> the problem is that once there is an xmlns declaration, the xpointer doesn't work anymore - it operates on _no_ namespace, not on the default namespace 15:18 < v-dogg> sigh... 15:18 < v-dogg> SQLSTATE[HY000]: General error: 1 near ".": syntax error 15:19 < v-dogg> nested sets still don't work with sqlite 15:20 -!- codecop [n=codecop@85.206.199.91] has joined #agavi 15:23 < splatch> po! 15:35 -!- codecop [n=codecop@85.206.199.91] has quit [Read error: 104 (Connection reset by peer)] 15:36 -!- codecop [n=codecop@85.206.199.91] has joined #agavi 15:38 -!- Whisller [n=test@217.97.146.67] has joined #agavi 15:38 < Whisller> hi 15:39 < MikeSeth> v-dogg: I dont think foo.bar notation can even work in sqlite 15:40 < Whisller> Where I should execute a query to database (SET NAMES). In view or in action? :> It works here and here but what idea is better corect :> 15:40 < Whisller> *correct 15:41 < Whisller> *what -> which 15:42 < Wombert> PDO? 15:43 < Whisller> yes 15:43 < Wombert> hmm 15:43 < Wombert> I thought I had added init query support there... 15:43 < Wombert> v-dogg: you subclass PDODatabase for that? 15:43 < Wombert> or do you only use propel 15:46 < v-dogg> propel only 15:47 -!- Arme[N] [n=raidman@unaffiliated/armen/x-394205] has quit [Read error: 104 (Connection reset by peer)] 15:47 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 15:48 < v-dogg> and foo.bar notation is problematic only in one place 15:48 < v-dogg> shiftRLValues/shiftRLRange 15:50 -!- eremit [n=eremit@p5490EFE3.dip.t-dialin.net] has joined #agavi 15:57 -!- eremit_ [n=eremit@p5490EFE3.dip.t-dialin.net] has joined #agavi 16:05 < MikeSeth> Wombert: http://pecl.php.net/package/filter 16:08 -!- eremit_ [n=eremit@p5490EFE3.dip.t-dialin.net] has quit ["Trillian (http://www.ceruleanstudios.com"] 16:16 -!- eremit [n=eremit@p5490EFE3.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)] 16:19 -!- eremit_ [n=eremit@p5490EFE3.dip.t-dialin.net] has joined #agavi 16:25 -!- Prometheus^ [n=Promethe@kone1.tmvvision.finnetcom.net] has quit [] 16:29 < Wombert> MikeSeth: mh? 16:30 < MikeSeth> Wombert: think that could be used somehow for validation? as optional/substitute feature? 16:30 < Wombert> no way 16:30 -!- codecop [n=codecop@85.206.199.91] has quit ["Leaving"] 16:49 -!- Whisller [n=test@217.97.146.67] has quit [Read error: 104 (Connection reset by peer)] 16:54 -!- Prometheus^ [n=Promethe@kone1.tmvvision.finnetcom.net] has joined #agavi 17:02 -!- Prometheus^ [n=Promethe@kone1.tmvvision.finnetcom.net] has quit [] 17:17 -!- _cheerios [n=jackbo@muxlim2.enterprises.evtek.fi] has quit ["Leaving"] 17:18 < v-dogg> hmm... "2007-05-01" (string) is changed to 2007-01-05 (unix time) somewhere along the way and I can't find anything else to blame but AgaviDateTimeValidator 17:19 < MikeSeth> oh boy I hate when this kind of thing happens 17:20 < MikeSeth> what the fuck 17:20 < MikeSeth> Agavi app dies off with blank screen. 17:23 < Wombert> MikeSeth: suhosin? 17:23 -!- MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi 17:23 < MrJeep> morning / afternoon 17:24 < Wombert> hi MrJeep 17:24 < MrJeep> hi wombert, how are you ? 17:24 < Wombert> well... it's a sunny day and I'm sitting in ze office :p 17:24 < Wombert> but 17:24 < Wombert> hacking away on agavi, so it could be worse 17:24 < MrJeep> hehe 17:25 < MrJeep> I'm working on my first project who need internationalisation 17:26 < MrJeep> I'm pretty lost in this (looking at docs right now) 17:27 < MrJeep> is the doc up to date ? 17:28 < MikeSeth> Wombert: ?? 17:28 < Wombert> do you have suhosin installed 17:30 < MikeSeth> no 17:30 < MikeSeth> Wombert: its just a stupid memory leak. 17:30 -!- Whisller [n=test@217.97.146.67] has joined #agavi 17:30 < MikeSeth> nothing wrong with Agavi itself 17:48 < MikeSeth> [Wed May 2 17:38:08 2007] [notice] child pid 27034 exit signal Segmentation fault (11) 17:49 < MikeSeth> woops. fuck. 17:55 < Wombert> god I hate this xml namespaces bullshit 17:56 < Wombert> we have to break BC :< 17:56 < Wombert> (xincludes will be broken) 17:58 < Wombert> oh wait I can work around it 17:59 -!- digitarald [n=Miranda@83.Red-83-52-199.dynamicIP.rima-tde.net] has quit ["digitarald.de"] 18:08 < v-dogg> MrJeep: anything we can help you with? 18:13 < MrJeep> well, I'm wondering how I can set custom date format 18:13 < v-dogg> as far as I remember there are several ways 18:13 < v-dogg> lemme paste one of them... just a sec 18:14 < MrJeep> thnx 18:14 < v-dogg> http://pastebin.ca/467468 18:15 < Wombert> v-dogg: a reproduce case for the date problem plz kthxbai 18:15 < v-dogg> haha there's the date problem right there 18:15 < v-dogg> thanks MrJeep :D 18:16 < v-dogg> yyyy-dd-MM 18:16 < Wombert> YOUR FAULT YOUR FAULT :> 18:16 < Wombert> I CALLED IT 18:16 < Wombert> BOOOOHOOOOOO 18:16 * Wombert dances 18:16 * Wombert hugs v-dogg 18:16 < Wombert> :> 18:17 < MrJeep> huh ? 18:19 < v-dogg> MrJeep: nevermind. I just had an issue with dates and I found the reason while pasting that example for you :) 18:19 < MrJeep> woot, I'm usefull! :D 18:22 < Arme[N]> heh :) 18:25 < MikeSeth> man I am so tired of explaning lexical scoping to the noobs 18:25 < MikeSeth> how hard is it to grasp the difference between a variable and a class name literal? 18:26 < Arme[N]> lol 18:27 < Arme[N]> you are really active in #php ;) 18:27 < v-dogg> MikeSeth: quote quote quote \o/ 18:28 < MrJeep> how do you guys handle tables with multiple locales ? 18:28 < MrJeep> like 18:28 < MrJeep> table product : name_en, name_fr ? 18:28 < MikeSeth> here 18:28 < MikeSeth> 151247 Should array_unique() be able to handle values that are objects? I figured it would serialize the objects and compare the serialized 18:28 < MikeSeth> string. 18:29 < MikeSeth> htf do you answer that in one line? other than "GOD NO" 18:29 < Arme[N]> lol 18:29 < Arme[N]> ha ha ha 18:30 < MikeSeth> seriously 18:30 < MikeSeth> people come asking why this code is syntax error: foo(1,,5); 18:30 * v-dogg considers joining in 18:31 < v-dogg> I left because it was too frustrating 18:31 < MrJeep> MikeSeth : you must learn somewhere 18:31 < MikeSeth> MrJeep: yes, and you must start with the most obvious place. The Fucking Manual. They don't. 18:33 < MikeSeth> oh 18:33 < MikeSeth> sonofabitch! 18:33 < MikeSeth> PEAR's HTML_Table is eating all of my memory 18:44 < MikeSeth> im out 18:44 < MikeSeth> <3 * 18:50 < ttj> "All we want to do is eat your brains / We're not unreasonable, I mean, no one's gonna eat your eyes / All we want to do is eat your brains / We're at an impass here, maybe we should compromise: / If you open up the doors / We'll all come inside and eat your brains" <3 18:52 < MrJeep> Wombert : have you ever heard the band "Billy Talent" ? 18:52 < Wombert> yes 18:52 < Wombert> well I heard of them 18:52 < Wombert> can't remember specifics wrt the music tho 18:53 < MrJeep> wanna listen to some songs ? 18:53 -!- eremit_ is now known as eremit 18:55 < Wombert> I'm listening to some at the itunes store right now 18:55 < Wombert> mmmh not 100% my taste I have to say 18:55 < MrJeep> ok 18:55 < Wombert> I really like alternative/punk, but... hmmm 18:55 < v-dogg> what would be? 18:55 < Wombert> The Ataris are ace 18:55 < MrJeep> you'll get use to the voice 18:55 < Wombert> or No Use For a Name 18:55 < Wombert> Donots 18:55 < MrJeep> listen to "Devil in a midnight mass", "Worker Bees", "This suffering" 18:56 < ttj> Just discovered Jonathan Coulton. A couple of years late, but anyway. :P 18:57 < CIA-2> david * r1903 /branches/0.11/src/config/ (20 files in 3 dirs): 18:57 < CIA-2> support for XML namespaces. please use xmlns="http://agavi.org/agavi/1.0/config" 18:57 < CIA-2> for your config files. it will be done for you at parsing time, so nothing 18:57 < CIA-2> breaks. if you have an xmlns declaration, your XIncludes have to be changed to 18:57 < CIA-2> register and use the namespace in the xpointer expression. closes #508 18:58 < CIA-2> david * r1904 /branches/0.11/src/config/AgaviXmlConfigParser.class.php: OUT WITH ZE DEBUG OUTPUT 19:08 < Arme[N]> \o/ 19:08 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["Leaving"] 19:17 < CIA-2> david * r1905 /branches/0.11/ (24 files in 2 dirs): xmlns declarations for all sample configs and code templates, refs #508 19:22 < v-dogg> ##php <3 19:38 < v-dogg> uh.. had to leave again 19:39 < v-dogg> I just can't look at this and not say anything: http://pastebin.ca/467598 19:39 < v-dogg> separation of presentation and logic in it's beauty 19:40 < MrJeep> wow 19:40 < MrJeep> what a piece of art :D 19:41 < v-dogg> yes, I've done some pretty crappy code, too. lot's of it. but.... that.... 19:41 < MrJeep> one of the project I transferred to agavi was made of ~100 files like this one 19:42 < MrJeep> that was painfull 19:51 < Whisller> O you found my code 19:51 < Whisller> I'm kidding :D 19:56 < MrJeep> hehe 20:00 < MrJeep> the current project I'm working on will be in 2 languages 20:00 < MrJeep> the problem is in databases 20:01 < MrJeep> now, every text fields are in doubles, one for french and one for english 20:01 < MrJeep> I'm wondering if it's a good way to do this 20:04 < v-dogg> we've discussed this at least twice before and I think value_en, value_fr and so on is the easiest way 20:04 < v-dogg> "I think we've come to the conclusion that ..." 20:04 < v-dogg> I do it like that too 20:06 < v-dogg> and the nice thing is that you can do $getter = 'getValue'.ucfirst($locale); $propelObject->$getter() ... 20:07 < v-dogg> where $locale = $this->context->getTranslationManager()->getCurrentLocaleIdentifier(); 20:07 < v-dogg> but gotta go. bbl. 20:08 < Whisller> I'm using something else, for categories I have two tables categories and categories_bodies and categories_bodies has field language and then I can add n > languages 20:12 -!- digitarald [n=Miranda@62-43-171-177.user.ono.com] has joined #agavi 20:24 < MrJeep> " we've discussed this at least twice before ", sorry, I didn't know about that 20:33 -!- JamieWolf [n=JamieWol@e177033125.adsl.alicedsl.de] has quit ["KVIrc 3.2.5 Anomalies http://www.kvirc.net/"] 20:42 -!- eremit_ [n=eremit@p5490EFE3.dip.t-dialin.net] has joined #agavi 20:56 -!- eremit [n=eremit@p5490EFE3.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)] 20:56 < v-dogg> MrJeep: no no, I didn't except you would have 20:57 < v-dogg> just pointed out we have actually discussed this before 21:15 < Wombert> another option 21:15 < Wombert> composite pk 21:16 < Wombert> (int) id and (char) lang 21:16 < Wombert> i.e. one record per language variant 21:29 < MrJeep> good looking form ? : http://mrjeep.dyndns.org:81/Project/Web/AlternativAuto/pub/index.php/user/register 21:31 < MrJeep> ie7 screw it up a little 21:37 -!- eremit_ [n=eremit@p5490EFE3.dip.t-dialin.net] has quit ["Trillian (http://www.ceruleanstudios.com"] 21:39 < Wombert> haha did you try the legends in opera? xD 21:39 < Wombert> MrJeep: link the labels to the form fields 21:40 < Wombert> 21:40 < Wombert> 21:40 < Wombert> note that in html, id and name share the same namespace 21:40 < Wombert> so you cannot use the same value for id and name 21:40 < Wombert> I always use fe- prefix for ids 21:40 < Wombert> (Form Element) 21:40 < MrJeep> oh thnx :) 21:41 < Wombert> MrJeep: once you link the labels, you can click them 21:41 < Wombert> do that for the three radios, too! 21:41 < MrJeep> legends under opera are screwed up ? 21:41 < Wombert> then people can click the text or icon and the radio gets selected 21:41 < Wombert> yeah they're positioned odd 21:41 < Wombert> never tried in opera 9 though 21:41 < MrJeep> :S 21:41 < Wombert> but... who cares about opera :p 21:42 < MrJeep> hehe, I think I'll have to validate my html and css 21:42 < MrJeep> I'm under xhtml strick 21:42 < Wombert> but the rest of the form is very ace 21:42 < MrJeep> strict 21:42 < Wombert> you are a talented guy 21:42 < MrJeep> thank you :) 21:42 -!- CIA-2 [n=CIA@208.69.182.149] has quit [] 21:42 < Wombert> I'd just get rid of the asterisk 21:42 < Wombert> and use bold type for the label instead 21:42 < Wombert> maybe a light background color for the fields that are required 21:43 < Wombert> brb 21:43 -!- Whisller [n=test@217.97.146.67] has left #agavi [] 21:43 < MrJeep> ok, thnx again 21:56 -!- CIA-2 [n=CIA@208.69.182.149] has joined #agavi 21:56 -!- sean` [i=sean@84-104-194-218.cable.quicknet.nl] has quit ["signing off"] 21:56 -!- sean` [i=sean@84-104-194-218.cable.quicknet.nl] has joined #agavi 22:00 -!- CIA-2 [n=CIA@208.69.182.149] has quit [Remote closed the connection] 22:07 -!- Whisller [n=test@217.97.146.67] has joined #agavi 22:07 < MrJeep> wombert, I'll register, 1 min 22:07 < Wombert> sure, np 22:09 -!- CIA-11 [n=CIA@208.69.182.149] has joined #agavi 22:22 -!- crich1999 [n=crich@port-212-202-210-130.dynamic.qsc.de] has joined #agavi 22:22 < crich1999> hi 22:24 -!- Whisller [n=test@217.97.146.67] has quit [] 22:33 -!- impl [n=impl@httpcraft/php/impl] has joined #agavi 22:56 -!- Wombert [n=Wombert@217.7.205.2] has quit [Read error: 104 (Connection reset by peer)] 22:57 -!- Wombert [n=Wombert@217.7.205.2] has joined #agavi 23:12 -!- lockes [n=locke@70.88.51.126] has joined #agavi 23:14 < Wombert> hi crich1999 23:14 < Wombert> you had a question the other day 23:14 * Wombert tries to remember 23:15 < crich1999> lol 23:15 < Wombert> ah 23:15 < Wombert> √ 23:15 < Wombert> 01:33 < crich1999> why does my "echo $ro->gen('index');" expand to "index?" ? i wonder where the $tm and $ro objects com from? 23:15 < Wombert> okay 23:15 < Wombert> so 23:15 * crich1999 tries to remember too 23:15 < crich1999> yeah that was it :) 23:15 < Wombert> $ro->gen('routename'); 23:15 < Wombert> will generate the url for that route 23:15 < Wombert> if that route doesn't exist 23:15 < Wombert> it's treated as a literal url 23:15 < Wombert> $tm and $ro are automatically assigned for you in templates 23:16 < Wombert> this behavior is controlled in the configuration of the renderer in outout_types.xml 23:16 < crich1999> hm... i get: $tm is not an object when i try to use that. 23:16 < Wombert> http://trac.agavi.org/browser/branches/0.11/samples/app/config/output_types.xml#L9 23:16 < Wombert> ah you probably haven't enabled i18n 23:17 < Wombert> in settings.xml, set use_translation to true 23:17 < crich1999> ah, ok 23:18 < crich1999> yeah that works, but now i need a translation.xml :) 23:19 < Wombert> you do indeed 23:19 < Wombert> I think "agavi project" doesn't create one 23:19 < Wombert> gotta add a ticket for that 23:20 < Wombert> http://trac.agavi.org/ticket/516 :) 23:20 < crich1999> yeah, that's true 23:21 < crich1999> but it sets use_translation=no automatically, so it is consistent ;) 23:21 -!- lockes [n=locke@70.88.51.126] has quit ["Lost terminal"] 23:22 < crich1999> so $ro->gen('routename') checks routing.xml, and routing.xml determines which class should be started? 23:24 < Wombert> heh no 23:24 < Wombert> $ro->gen() generates a url 23:25 < Wombert> did you play with the sample app? 23:26 < impl> Did you name your route in routes.xml? :) 23:26 < crich1999> i'm trying to make an own app, and looking at what happens in the sample app 23:26 < Wombert> can you help him a bit, impl 23:27 < impl> Yeah sure 23:27 < impl> 23:27 < Wombert> because it's 10:30pm and I'm still sitting in ze office :p 23:27 < impl> oh man D: 23:27 < Wombert> catch ya tomorrow 23:27 < impl> G'night :) 23:27 < crich1999> G'night 23:27 < crich1999> hm.. so i need to name the route 23:28 < impl> Yeah.. that's how it knows which one to generate for you :D 23:28 -!- Wombert [n=Wombert@217.7.205.2] has quit [] 23:29 < crich1999> naming didn't help at all :) 23:30 < impl> Hmm, can you show me your routing.xml? 23:30 < crich1999> 23:30 < crich1999> 23:30 < crich1999> 23:30 < crich1999> 23:30 < crich1999> 23:30 < crich1999> 23:30 < crich1999> 23:30 < crich1999> 23:31 < crich1999> 23:31 < crich1999> 23:31 < crich1999> 23:31 < crich1999> 23:31 < crich1999> 23:31 < crich1999> ~ 23:31 < crich1999> ~ 23:31 < impl> and you say $ro->gen('Index')? 23:31 < impl> Also, vi sucks! :D 23:32 < crich1999> lol 23:32 < crich1999> that's my template: 23:32 < crich1999>

Professions Editor

23:32 < crich1999> 23:32 < crich1999> ProfessionInput 23:32 < crich1999> _('PE', 'default.ProfessionInput'); ?> 23:32 < crich1999> 23:32 < crich1999>
23:32 < crich1999> 23:32 < crich1999> Index 23:32 < crich1999> _('PE', 'default.ProfessionInput'); ?> 23:32 < crich1999> 23:33 < impl> hmm, that should work okay 23:33 < impl> Oh 23:33 < impl> You spelled Profession wrong 23:33 * impl grins 23:33 < impl> and i spelled Input wrong :) 23:33 < crich1999> i did only Iput 23:33 < impl> Yeah but you did that wrong in both places 23:34 < impl> :x 23:36 < crich1999> hey cool, now the Index Link works :) 23:36 < crich1999> cool thx. impl 23:36 < impl> :D no problem 23:36 < crich1999> i thought i didn't catch the general idea and i needed configure something else, i didn't believe that it was just a stupid type :) 23:36 < crich1999> s/type/typo/ :P 23:36 < impl> hehe 23:37 < impl> It happens to everyone ;p 23:45 < crich1999> how do i generate .mo files for i18n ? 23:45 < MrJeep> iirc you have to use a program like POEdit 23:46 < impl> gettext is what should generate it 23:46 < impl> http://en.wikipedia.org/wiki/Gettext is pretty tutorialish 23:49 < crich1999> that looks easy thanks. 23:49 < impl> yup --- Day changed Thu May 03 2007 00:02 -!- digitarald [n=Miranda@62-43-171-177.user.ono.com] has quit [Read error: 145 (Connection timed out)] 00:08 < crich1999> what is the second parameter in the structure: $tm->_('first', 'second') 00:09 < impl> The domain 00:09 < impl> It's optional 00:09 < crich1999> so i can leave it ? 00:09 < impl> domain being like a namespace 00:09 < impl> It defaults to the namespace in the translations.xml file 00:10 < impl> So if that's right, you don't have to specify it 00:11 < crich1999> hm.. when i don't specify it i get an error that the domain "" does not exist 00:11 < impl> Did you specify a default domain in the translations.xml? 00:12 < crich1999> yes 00:13 < impl> hmm 00:13 < crich1999> ok, got it 00:13 < impl> What was wrong? 00:14 < crich1999> i just copied the translations.xml from the sample app, i needed to modify one of the parameters which has a different name in my test project 00:14 < impl> ah 00:16 < crich1999> cool, i think i'm slowly getting the system :) 00:16 < impl> Great :D 00:16 < crich1999> what is it good for to have different domains for translations? 00:17 < impl> Organization, really 00:17 < crich1999> .. ok i see 00:17 < impl> I don't do actual strings for my translators 00:17 < impl> I just do some.domain.generic_meaning 00:18 < crich1999> ok 00:18 < impl> (not that you have to do that :P I have a lot of idiosyncratic programming practices 00:18 < impl> ) 00:20 < crich1999> :) 00:26 -!- digitarald [n=Miranda@62-43-171-177.user.ono.com] has joined #agavi 00:35 < crich1999> i read something like $this->getContext()->getUser()->login in an Action in the sample app. Did i get that right: getContext() searches factories.xml and searches for and executes the method login on this class ? 00:36 -!- nagaozen [n=nagaozen@200-204-179-236.dsl.telesp.net.br] has joined #agavi 00:36 < impl> crich1999: Yup, that sounds right (from a broad perspective) 00:36 < crich1999> or is getUser a default class which is just overwritten by the specific user class ? 00:37 < impl> Well, Agavi is bundled with a working User class 00:37 < impl> but generally you'll want to write your own 00:37 < impl> the default one doesn't provide login() etc 00:38 < crich1999> i think my first guess should lead to calls like $this->getContext()->getFactory('user')->login 00:38 < impl> Take a look at the lib/user directory in the sample app 00:38 < crich1999> yeah i did 00:39 < crich1999> i mean $this->getContext() seems to be an agavi specific class, am i right? 00:39 < v-dogg> crich1999: factories.xml is compiled and the implementations (user, storage and so on) long before you call getUser() 00:39 < v-dogg> getContext() gives you instance of AgaviContext (a core class) 00:39 < crich1999> um.. ok, so how does getUser know which entry from factories.xml is used ? 00:39 < v-dogg> "the implementations initialized" 00:40 < crich1999> so getUser() is a agavi core class too 00:40 < crich1999> ? 00:40 < impl> getUser() is just a method that loads an instance of the factory-determined User class 00:40 < v-dogg> getUser is a method of AgaviContext 00:40 < impl> 484 public function getUser() 00:40 < impl> 485 { 00:40 < impl> 486 return $this->user; 00:40 < impl> 487 } 00:40 < crich1999> ok i see 00:41 < v-dogg> factories.xml is parsed by a config handler, you don't have to worry about it 00:41 < v-dogg> "it just works" just like a mac (they say) :) 00:46 < crich1999> so the factories.xml and AgaviContext class "just" handle routing, database, filters, users and so on, i can not add my own classes there ? 00:46 < v-dogg> you can, that's the whole point of factories.xml 00:47 < v-dogg> if you want to use your user implementation, write one and tell agavi to use it (in factories.xml) 00:48 < v-dogg> (but extend AgaviUser, don't start from the scratch) 00:48 < v-dogg> or did you mean something else? 00:48 < crich1999> ok, i got the idea for Users already 00:49 < crich1999> i meant like i wanted to add another thing like for example 00:49 < impl> That sounds like it should be a model 00:49 < v-dogg> you don't use factories.xml for that 00:49 < v-dogg> yup, model or any class 00:50 < impl> You can set up your own classes (of course you should use models if appropriate) by assigning them in autoload.xml 00:50 < impl> then whenever you reference that class it gets loaded automagically by Agavi 00:51 < v-dogg> yup yup 00:51 < crich1999> wow .. that's impressive ! 00:51 < v-dogg> or if it is actually a model you could do $this->context->getModel('MyProfession'); 00:51 < crich1999> i just came across autoload.xml to find out how factories.xml know where to find the classes (in the path) :) 00:51 < crich1999> v-dogg, i think that was what i searched for 00:52 < crich1999> so in Fact Users are a model, just directly in the Context ? :P 00:52 < v-dogg> crich1999: but it doesn't have to be a model (models have some special features). if it's just a AnyClass you'd list it in autoload.xml and do $my = new AnyClass(); 00:52 < v-dogg> and that's all 00:53 < v-dogg> no, User is not a model 00:53 < impl> a model represents some of _your_ data 00:53 < impl> so maybe you have a Person 00:53 < impl> that could be a model 00:53 < v-dogg> http://www.agavi.org/docs/latest/manuals/manual/ch02s07.html#id930674 00:54 * crich1999 reads doc .. 00:54 < v-dogg> I wrote that btw (didn't remember that) 00:54 < v-dogg> we have a dog called Nelli :) 00:55 < impl> hehe 00:56 < crich1999> I'm not yet sure what models are really good for (haven't bought the Book yet ;) 00:56 < v-dogg> :) 00:56 < crich1999> it looks to me that actions and views are enough for the things i want to do 00:57 < v-dogg> in most cases they probably are 00:57 < crich1999> but that feels like using half MVC 00:57 < v-dogg> but when you find two actions handling the same data (or model) you should refactor common parts to a model 00:58 < crich1999> ok, that will most probably happen 00:58 < v-dogg> but of to bed now 00:58 < v-dogg> night 00:58 < crich1999> night v-dogg, thanks a lot ! 00:58 < impl> Nacht 00:58 < crich1999> Gute Nacht :) 01:04 < crich1999> i don't yet understand how the propel classes are loaded into the agavi app. in the cms sample the propel database classes are not in the autoload.xml. There is only the database reference in database.xml, is that enough ? can i then just use my propel database objects ? 01:05 < impl> Propel has its own autoloader and it expects the models to also be on the path 01:09 -!- GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has quit [] 01:09 -!- GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has joined #agavi 01:28 < crich1999> how do i use the Propel classes then ? 01:45 < impl> You need to set_include_path to the directory where they're outputted 02:00 < crich1999> i thought i read somewhere they are integrated into agavi, so i thought they where just available when i configure the database.xml apropriate 02:01 < impl> You have to configure Propel too 02:01 < impl> Agavi just supports a configured Propel instance 02:04 < crich1999> so i still need to do all the Propel::init("database-conf.xml"); stuff ? 02:04 < crich1999> s/conf.xml/conf.php/ 02:04 < impl> No 02:04 < impl> That's what Agavi handles 02:05 < impl> You need to put the classes in the path properly 02:05 < crich1999> i thought so, because i tell agavi where to find the conf.php 02:05 < impl> Yeah :) 02:05 < crich1999> can't i load them vie the autoloader ? 02:05 < crich1999> s/vie/via 02:06 < impl> You could, but being handled automatically is better I think 02:06 < impl> The autoload.xml was the old way 02:06 < crich1999> ok, so just set the proper include_path and that's it ? 02:06 < impl> I do this in my app/config.php: 02:06 < impl> set_include_path( 02:06 < impl> get_include_path() . PATH_SEPARATOR . 02:06 < impl> AgaviConfig::get('core.app_dir') . '/models' . PATH_SEPARATOR . 02:06 < impl> realpath(AgaviConfig::get('core.agavi_dir') . '/../../propel/runtime/classes') 02:06 < impl> ); 02:07 < impl> (my Propel-generated classes are in the models directory) 02:07 < impl> er, bbiaf 02:09 < crich1999> get('core.agavi_dir') returns the path to app/ ? 02:09 < crich1999> or one level above ? 02:11 < crich1999> hm .. that's weird: 02:11 < crich1999> Configuration file "/usr/src/projects/taw/app/config/databases.xml" specifies undefined default database "propel". 02:14 -!- Whisller [n=test@217.97.146.67] has joined #agavi 02:14 -!- Whisller [n=test@217.97.146.67] has quit [Remote closed the connection] 02:16 < crich1999> only another config file typo .. 02:22 -!- digitarald [n=Miranda@62-43-171-177.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"] 02:30 < crich1999> i got it working, yipee ! 02:30 * crich1999 jumps around 02:30 * crich1999 has done his first Template -> View -> Action -> Propel -> SQL Insert :P 02:31 < crich1999> good night .. i can go to sleep now :) 02:31 -!- crich1999 [n=crich@port-212-202-210-130.dynamic.qsc.de] has quit ["Leaving"] 03:16 -!- nagaozen [n=nagaozen@200-204-179-236.dsl.telesp.net.br] has quit [] 06:03 -!- impl [n=impl@httpcraft/php/impl] has quit ["Leaving"] 06:05 -!- splatch [n=splatch@s3.przytulski.net] has quit [Remote closed the connection] 06:05 -!- splatch [n=splatch@s3.przytulski.net] has joined #agavi 06:47 -!- sean` [i=sean@84-104-194-218.cable.quicknet.nl] has quit [Read error: 60 (Operation timed out)] 06:49 -!- nagaozen [n=nagaozen@200-204-179-236.dsl.telesp.net.br] has joined #agavi 06:55 -!- hmart [n=hmart@201.228.182.186] has joined #agavi 06:56 -!- hmart [n=hmart@201.228.182.186] has left #agavi [] 09:17 -!- codecop [n=codecop@server.senoji.palanga.lm.lt] has joined #agavi 09:34 -!- _cheerios [n=jackbo@muxlim2.enterprises.evtek.fi] has joined #agavi 09:34 < _cheerios> huoomenta 09:37 < _cheerios> "At the time of the 9/11 attacks the FBI were still using non-networked x386 computers. Today is not much better." 09:52 -!- digitarald [n=Miranda@62-43-171-177.user.ono.com] has joined #agavi 10:00 < _cheerios> "This paper presents a detailed case study of the Clickbot.A botnet. The botnet consisted of over 100,000 machines ... [and] was built to conduct a low-noise click fraud attack against syndicated search engines." 10:00 < _cheerios> http://www.usenix.org/events/hotbots07/tech/full_papers/daswani/daswani.pdf 10:00 < _cheerios> no time to read it yet, but seems interesting 10:02 < _cheerios> "LiveJournal: Behind the Scenes" 2007 slides up @ http://danga.com/words/2007_yapc_asia/yapc-2007.pdf 10:08 -!- nagaozen [n=nagaozen@200-204-179-236.dsl.telesp.net.br] has quit [] 10:46 < _cheerios> http://www.timesonline.co.uk/tol/news/article1084093.ece?token=null&offset=60 10:46 < _cheerios> the new wealth scale. I'm below "The comfortable poor" :( 11:43 -!- JamieWolf [n=JamieWol@e177034131.adsl.alicedsl.de] has joined #agavi 12:01 -!- codecop [n=codecop@server.senoji.palanga.lm.lt] has quit ["Leaving"] 12:06 < MikeSeth> most of us prolly are 12:38 -!- Wombert [n=Wombert@217.7.205.2] has joined #agavi 12:52 -!- sean` [i=sean@84-104-194-218.cable.quicknet.nl] has joined #agavi 12:58 < Wombert> v-dogg: the baby keeping you up at nights? :) 12:58 < Wombert> ah wait I confused the time zones 12:58 < Wombert> so that was around 12ish yesterday 12:58 < Wombert> still pretty late for you :> 12:59 -!- digitarald [n=Miranda@62-43-171-177.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"] 13:03 -!- kaos|work [n=dominik@217.7.205.2] has joined #agavi 13:03 < kaos|work> blubb0r 13:03 < kaos|work> (: 13:04 < _cheerios> ? 13:05 < kaos|work> just wanted to say huomenta 13:06 < kaos|work> but since its not in the morning anymore 13:06 < kaos|work> i had to use something else xD 13:09 -!- GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has quit [] 13:09 -!- GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has joined #agavi 13:23 < MikeSeth> zzzzzzzzzzzzzzz 13:24 < MikeSeth> I am looking at all these new technologies 13:24 -!- digitarald [n=Miranda@83.Red-83-52-199.dynamicIP.rima-tde.net] has joined #agavi 13:24 < MikeSeth> Flex, Lazslo, Silverlight.. and I understand that the current technologies have outlived themselves, and people in charge of the new one are fucking dumbasses 13:24 < MikeSeth> it's sad. 13:25 < _cheerios> hmm? 14:26 < v-dogg> Wombert: yup, daily rythm is a bit off-balance with baby and paternity leave :) 14:26 < Wombert> oh you do that? 14:26 < Wombert> for how long? 14:29 < v-dogg> well... officially 3 weeks (next week still) but I have to take care of work things too 14:33 < Wombert> ic 14:35 < Wombert> OMFG LIBXML 14:35 * Wombert freaks out 14:40 -!- codecop [n=codecop@server.senoji.palanga.lm.lt] has joined #agavi 14:42 < CIA-11> david * r1906 /branches/0.11/src/config/AgaviXmlConfigParser.class.php: workarounds for libxml bugs in error handling, refs #509 14:57 < _cheerios> Q: I'm adding a hash to each form, which I'd like to check (that it exists, and is correct) on every post on isSecure() actions. How would I best automate this check throughout Agavi? 14:58 < Wombert> a nonce? 14:58 < _cheerios> a what? 14:58 < _cheerios> ah, http://en.wikipedia.org/wiki/Cryptographic_nonce 14:58 < Wombert> http://en.wikipedia.org/wiki/Cryptographic_nonce 14:58 < Wombert> yes 14:58 < Wombert> :D 14:58 < _cheerios> something in that direction. basically a hash that ties the user to the action. 14:59 < _cheerios> added security 14:59 < _cheerios> (can't click some dodgy link while logged in an have it delete something) 15:00 < Wombert> yes 15:00 < Wombert> that's what nonces do ;) 15:00 < Wombert> you could have a model 15:00 < Wombert> singleton 15:01 < Wombert> you grab it in the view and ask it to give you a new nonce 15:01 < Wombert> then you output it in the template 15:01 < Wombert> it adds the nonce to a list in the session (user attribute) 15:01 < Wombert> then in the action you check if the given nonce is in that list 15:01 < Wombert> you could give it a lifetime of 30 minutes 15:02 < Wombert> or implement the system so each nonce disappears after five roundtrips or so 15:02 < _cheerios> right, but how would i have this check easiest always in place for secure actions when doing a post? 15:03 < _cheerios> rather than typing it in every such action 15:03 < _cheerios> it suppose it's similar to an added credentials check on top of secure action 15:05 < _cheerios> i was looking into modifying isSecure() for 'post's, but i couldn't really make my mind, and was probably going about it the wrong way 15:08 < _cheerios> I can't abuse getCredentials for this; how does one add more checks into a secure action? Credentials get checked, but is there a way to add a custom method into the mix that returns true/false? 15:12 < _cheerios> hmmm. CustomNonceAction, which sets a noncevalidator using registerValidators()? Would that make sense? 15:14 < Wombert> ah I see what you mean 15:14 < Wombert> nope :) 15:14 < Wombert> write a security filter 15:14 < Wombert> that extends the current one 15:18 < _cheerios> basically rewrite that whole execute() ? 15:18 < _cheerios> (well.. add a few lines :)) 15:21 < _cheerios> sounds better than the validator route *g* 15:23 -!- codecop [n=codecop@server.senoji.palanga.lm.lt] has quit ["Leaving"] 15:32 < _cheerios> nonce... i'll keep that in mind. rhymes with nonsense, should be easy to remember 15:33 < Wombert> _cheerios: parent::execute() 15:33 < Wombert> and then do the additional check 15:33 < _cheerios> the parents filterchain won't execute? 15:34 < Wombert> see http://trac.agavi.org/ticket/328 15:34 < Wombert> no execute the parent filter method 15:34 < Wombert> oh yeah you're right 15:34 < Wombert> xD 15:34 < _cheerios> :) 15:34 < Wombert> well :p 15:45 < _cheerios> should nonce's be always checked, in addition, after the isAuthenticated() check ? 15:45 < _cheerios> (thinking about that ticket and having a better baseclass for this) 15:49 < Wombert> well 15:49 < Wombert> I imagine it to work like this 15:49 < Wombert> you request a new once _for an action_ 15:49 < Wombert> that nonce is stored and carried along for you 15:49 < Wombert> and then when the action is run 15:49 < Wombert> the system checks if a nonce for that action exists and is valid 15:50 < _cheerios> why per action? 15:53 < _cheerios> i liked the part about carrying it in the session. no need for form helpers. though, it would probably be enough to generate the nonce every X minutes making it time specific (should be easy generalese to check), not action specific. unless there's some added must-have security advatage. 15:59 < _cheerios> nice to have a word for this. i've used it for 2 years already without having any clue what it's called :) 16:12 < Wombert> well let's say I somehow get hold of the one, global nonce you're using... 16:16 < _cheerios> that'd mean you'd have the user's session, which would mean a session-based nonce wouldn't work in any case? 16:16 < Wombert> no, that doesn't necessarily imply I have your session 16:16 < Wombert> you could have accidentially pasted a link that contains the nonce 16:17 < _cheerios> what would a nonce be doing in the link 16:17 < Wombert> well maybe you're a blithering idiot and use GET do delete things etc? :p 16:17 < _cheerios> no, i like post, tyvm :) 16:17 < _cheerios> (and even then it wouldn't be anywhere visible. why would it need to be?) 16:22 < _cheerios> i guess you're trying to make it more secure than i am, by going by that wikipedia defition, of having it unique per every request. i'd settle for uniqueness every X minutes. 16:23 < _cheerios> though, it would be good to have a mechanism in place to discard a used nonce, but i haven't figured out how it 16:23 < _cheerios> ... it'd keep things easy 16:28 < _cheerios> though, i reckon my "version" won't work too good being stored in a session. it'd always need to be inserted to the form/post-request by the server, and then checked against the session. 16:30 < Wombert> oooh dude 16:30 < Wombert> <3 xml 16:30 < Wombert> _cheerios: yeah wordpress uses one nonce per day or so 16:30 < Wombert> to keep things simple 16:30 < Wombert> we'll see if we can come up with something easy to use for agavi 1.0 16:30 < Wombert> if so, cool 16:31 < Wombert> if not, well, bad luck then 16:33 < _cheerios> seems i just need to insert it by hand everywhere now, unless i submit forms using JS, which creates a hidden element that has the nonce, so I don't need to.. hmm. 16:43 < splatch> hello 16:45 < splatch> some news? :) 16:46 < _cheerios> Wombert, i suppose $ro->gen('route',array('nonce'=>true); might work, if ppl's routes won't break :p 17:14 -!- _cheerios [n=jackbo@muxlim2.enterprises.evtek.fi] has quit ["bbl"] 17:46 -!- codecop [n=codecop@88.118.232.24] has joined #agavi 18:02 -!- Arme[N] [n=root@unaffiliated/armen/x-394205] has joined #agavi 18:14 -!- Arme[N] [n=root@unaffiliated/armen/x-394205] has quit [Read error: 104 (Connection reset by peer)] 18:15 -!- Arme[N] [n=root@unaffiliated/armen/x-394205] has joined #agavi 18:17 < MrJeep> is there any example of the AgaviDateValidator somewhere ? 18:25 < kaos|work> http://trac.agavi.org/browser/branches/0.11/src/validator/AgaviDateTimeValidator.class.php has an desciription of all available parameters 18:26 < MrJeep> I've allready been through the class doc, however, It's not very clear to me 18:34 < MikeSeth> validation is one of the darker mysteries 18:36 -!- nagaozen [n=nagaozen@200-204-179-236.dsl.telesp.net.br] has joined #agavi 18:39 < kaos|work> 18:39 < kaos|work> date_field 18:39 < kaos|work> date 18:39 < kaos|work> 18:39 < kaos|work> 18:39 < kaos|work> would validate a date in the current locale 18:39 < kaos|work> and that it's a date 18:40 < kaos|work> + 2 " 18:40 < kaos|work> aaah, and i think you need to do it this way: 18:41 < kaos|work> 18:41 < kaos|work> date_field 18:41 < kaos|work> 18:41 < kaos|work> 18:41 < kaos|work> date 18:41 < kaos|work> 18:41 < kaos|work> 18:41 < kaos|work> 18:41 < kaos|work> since the formats should be an array 18:41 < kaos|work> so you can define multiple formats which should be tried 18:41 < kaos|work> its rather a complex thing 18:42 < MrJeep> cool thnx :D 18:44 < MrJeep> by the way, I removed my personal config files and I added the in settings.xml 18:44 < MrJeep> however, I can't seem to be able to get the value needed when i try to do this : AgaviConfig::get('app.someconfig'); 18:45 < kaos|work> iirc you need to do prefix="app." 18:46 < MrJeep> ahh 18:47 < MrJeep> ahhhhhhhhhhhh 18:47 < MrJeep> done and working 18:47 < MrJeep> thnx once again 18:47 < kaos|work> :) 18:47 -!- nagaozen [n=nagaozen@200-204-179-236.dsl.telesp.net.br] has quit [] 19:21 -!- _cheerios [n=jacklo@cs181009065.pp.htv.fi] has joined #agavi 19:46 -!- eremit_ [n=eremit@p5490e192.dip.t-dialin.net] has joined #agavi 19:54 -!- MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has quit [] 20:01 -!- codecop [n=codecop@88.118.232.24] has quit [Read error: 110 (Connection timed out)] 20:01 -!- MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi 20:02 < MrJeep> hum, the FPF doesn't like   20:02 < MrJeep> any other way to force a space then ? 20:04 < digitarald>   20:11 < CIA-11> david * r1907 /branches/0.11/src/config/ (17 files in 2 dirs): 20:11 < CIA-11> finished work on XSL support in config files. an XSL stylesheet may now also be 20:11 < CIA-11> embedded in the document and referred to by it's ID in the processing 20:11 < CIA-11> instruction. also refactored the XSDs a lot, they now use inheritance for the 20:11 < CIA-11> root elements and contain a first extension point for foreign namespaces inside 20:11 < CIA-11> . closes #509 and refs #515 20:28 < MrJeep> wow 20:28 < MrJeep> i just discovered I can have templates in different locales 20:28 < Wombert> what? :) 20:28 < MrJeep> this is so magic! 20:28 < Wombert> of course :p 20:28 < Wombert> you can also define how they're looked up 20:29 < MrJeep> that's so nice 20:29 < MrJeep> how ? 20:29 < MrJeep> (actually I discovered it by a missing template) 20:29 < Wombert> using the "targets" parameter for the template layer 20:29 < Wombert> http://trac.agavi.org/browser/branches/0.11/src/view/AgaviFileTemplateLayer.class.php#L42 20:30 < Wombert> it tries the first two first (if i18n is on) and then the last one 20:30 < Wombert> it also does that for each locale combination 20:30 < Wombert> i.e. first de_DE@currency=GBP 20:30 < Wombert> then de_DE 20:30 < Wombert> then de 20:30 < Wombert> then without a locale 20:30 < Wombert> so you might use templates/fr/IndexSuccess.php 20:30 < Wombert> or templates/IndexSuccess.fr.php 20:30 < Wombert> or you define your own pattern 20:31 < MrJeep> wow, soooo great 20:31 < Wombert> what did you expect :p 20:31 < MrJeep> translating everything in .po files :P 20:32 < MrJeep> works great for error message and menus 20:32 < Wombert> haha 20:32 < MrJeep> but for damn large text... 20:32 < Wombert> yes, it often is better to have one template and a few $tm->_() calls 20:32 < Wombert> the more complex the markup and the less text, the better that approach 20:32 < Wombert> if it's just few markup and much text, use different templates 20:32 < MrJeep> this is what I'll do now that I know about that :D 20:33 < Wombert> err 20:33 < Wombert> "little markup" 20:33 < Wombert> not "few markup" 20:33 < Wombert> I think 20:33 * Wombert ponders 20:33 < MrJeep> not sure about the right syntax, but I get the point :) 20:34 < Wombert> http://www.better-english.com/grammar/few.htm oh coool 20:35 < Wombert> I think it's few if the object is countable 20:35 < Wombert> and little if not 20:35 < Wombert> little sugar, few strawberries 20:35 < MrJeep> I guess you're correct, few sugar, little strawberries sounds pretty bad 20:36 < Wombert> haha 20:40 -!- kaos|work [n=dominik@217.7.205.2] has quit [] 20:44 < Wombert> home time 20:44 < Wombert> catch ya tomorrow 20:44 < Wombert> => 20:44 -!- Wombert [n=Wombert@217.7.205.2] has quit [] 20:54 -!- eremit_ is now known as eremit 20:56 -!- JamieWolf [n=JamieWol@e177034131.adsl.alicedsl.de] has quit ["KVIrc 3.2.5 Anomalies http://www.kvirc.net/"] 21:02 -!- digitarald [n=Miranda@83.Red-83-52-199.dynamicIP.rima-tde.net] has quit ["digitarald.de"] 21:28 -!- sean` [i=sean@84-104-194-218.cable.quicknet.nl] has quit [Connection timed out] 21:30 < MrJeep> anyone ever had this firefox error : The page isn't redirecting properly ? 21:30 -!- crich1999 [n=crich@port-212-202-210-130.dynamic.qsc.de] has joined #agavi 21:30 -!- digitarald [n=Miranda@62-43-171-177.user.ono.com] has joined #agavi 21:30 < crich1999> hi guys 21:30 < MrJeep> hi 21:31 < crich1999> i had my first View->Action->Propel->Insert_SQL yesterday :) of course with agavi ;-) 21:31 < _cheerios> MrJeep, i used to have an error where page loading took 15secs on firefox + agavi. Twas odd. 21:32 < MrJeep> crich1999 : Woot :D 21:32 < MrJeep> _cheerios : I think I'll give a shot at rebooting :P 21:32 < _cheerios> shrug. 21:32 < crich1999> i wonder what's the most effective way to debug a modell? 21:34 < MrJeep> debugging a model ? 21:34 < MrJeep> what do you mean ? 21:34 < crich1999> are you using UML to describe models ? 21:35 < MrJeep> unified modelingsomething language ? 21:36 < crich1999> well a Model is the Black Box that implements the tricky things you want to do in an application, that's what i understood so far. So i would think first implement the model, later Controller and Views 21:36 -!- Arme[N] [n=root@unaffiliated/armen/x-394205] has quit ["Lost terminal"] 21:36 < crich1999> but when one thinks the model is finished, it would be cool to test it somehow, without views and Actions, just to make sure everything works as expected 21:46 < _cheerios> unit testing is probably what you're after. you can use xdebug to get runtime stats. 21:52 < _cheerios> quality http://news.bbc.co.uk/2/hi/south_asia/6620461.stm 21:57 -!- impl [n=impl@httpcraft/php/impl] has joined #agavi 22:01 < crich1999> yeah i think unit testing is the thing i thought of 22:02 < crich1999> _cheerios: that's cool, if nobody cares about that plane, i'll take it ;) 22:23 < v-dogg> _cheerios: I think wombs figured out what caused that strange hanging w/ firefox 22:23 < _cheerios> wtf. germany beath czechs! 22:24 < _cheerios> "For the Germans, it was the first World Championship win over the Czechs since Moscow 1986." 23:23 < crich1999> we're the champions ! 23:31 < v-dogg> we sure are 23:31 < v-dogg> no, wait. are we? 23:31 < v-dogg> we are! we won the eurovision song contest! 23:50 < crich1999> did we ? 23:50 < crich1999> you did ! --- Day changed Fri May 04 2007 00:15 -!- crich1999 [n=crich@port-212-202-210-130.dynamic.qsc.de] has quit ["Leaving"] 00:24 -!- sean` [i=sean@84-104-194-218.cable.quicknet.nl] has joined #agavi 00:25 < digitarald> v-dogg ... congrats 00:25 < v-dogg> (it was a year ago :) 00:26 < digitarald> doesnt matter :D 00:26 < digitarald> hey ... do u already played my mootools chess? 00:50 -!- digitarald [n=Miranda@62-43-171-177.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"] 00:56 -!- _cheerios [n=jacklo@cs181009065.pp.htv.fi] has quit ["Leaving"] 01:09 -!- GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has quit [] 01:09 -!- GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has joined #agavi 01:24 -!- MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has quit [] 03:06 -!- sean` [i=sean@84-104-194-218.cable.quicknet.nl] has quit ["signing off"] 03:06 -!- stachu [i=masq11@enc170.internetdsl.tpnet.pl] has quit [Read error: 104 (Connection reset by peer)] 03:06 -!- sean` [i=sean@84-104-194-218.cable.quicknet.nl] has joined #agavi 03:07 -!- sean` [i=sean@84-104-194-218.cable.quicknet.nl] has quit [Read error: 104 (Connection reset by peer)] 05:42 -!- nagaozen [n=nagaozen@200-204-179-236.dsl.telesp.net.br] has joined #agavi 06:02 -!- nagaozen [n=nagaozen@200-204-179-236.dsl.telesp.net.br] has quit [] 08:10 -!- impl [n=impl@httpcraft/php/impl] has quit ["Leaving"] 09:25 -!- eremit [n=eremit@p5490e192.dip.t-dialin.net] has quit ["Trillian (http://www.ceruleanstudios.com"] 09:28 -!- digitarald [n=Miranda@62-43-171-177.user.ono.com] has joined #agavi 09:40 -!- _cheerios [n=jackbo@muxlim2.enterprises.evtek.fi] has joined #agavi 09:40 < _cheerios> huoooooooomenta 09:44 < _cheerios> first! :D 09:58 -!- eremit [n=eremit@p5490E192.dip.t-dialin.net] has joined #agavi 10:14 -!- Wombert [n=Wombert@217.7.205.2] has joined #agavi 10:15 < Wombert> huomenta 10:16 -!- eremit_ [n=eremit@p5490f249.dip.t-dialin.net] has joined #agavi 10:22 -!- codecop [n=codecop@server.senoji.palanga.lm.lt] has joined #agavi 10:26 < _cheerios> Wombert, added a comment on the nonce ticket. Could FPF do that? 10:30 -!- kaos|work [n=dominik@217.7.205.2] has joined #agavi 10:31 < codecop> i been some time away from agavi and now after last svn check i cant edit any xml file, :/ here is sample of output type xml http://craige.pastebin.ca/470375 10:32 < Wombert> uh 10:32 < Wombert> wtf oO 10:32 < Wombert> codecop: okay can you tell me your php version 10:32 < Wombert> and your libxml version (phpinfo() tells ya) 10:33 < codecop> on min 10:33 -!- eremit [n=eremit@p5490E192.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)] 10:33 < codecop> PHP Version 5.1.6; libxml Version 2.6.26 10:37 < Wombert> okay 10:37 < Wombert> do you have a couple of minutes? 10:38 < Wombert> can you help me debug this? 10:38 < Wombert> the first oddity is why you get the error about routing.xml after you edit output_types.xml 10:38 < Wombert> that is very strange 10:40 < Wombert> firs thing 10:40 < Wombert> hm can you show me your routing.xml? 10:40 < Wombert> the complete one 10:40 < codecop> sorry error is in routing file (my mistake no output type until i edit it too) 10:41 < Wombert> ? 10:41 < Wombert> ah you mean once you edit outout_types.xml you get an error there? 10:41 < Wombert> can you set debug to true? 10:41 < codecop> yes 10:42 < codecop> changed 10:42 < Wombert> do you get an error about compile.xml now? 10:43 < Wombert> err config_handlers.xml 10:44 < codecop> no, sample app is working after xml files are set to default state 10:44 < Wombert> okay we're looking into it 10:45 < Wombert> well yes that's because they contain xmlns declarations in the document element 10:46 < codecop> but what we must do, to awoyd that kind of errors remove xmlns 10:46 < codecop> ? 10:48 < Wombert> well let's walk through this 10:48 < Wombert> do you still get the error? 10:48 < codecop> if i change a little any of xml config file 10:48 < codecop> yes 10:49 < codecop> of sample app 10:49 < Wombert> you get the error in the sample app? 10:49 < Wombert> oO 10:50 < codecop> sample is working till i change any xml config there 10:50 < Wombert> what do you mean, change an xml config? 10:51 < codecop> for example i add parameter directory of master file location and error occurs 10:51 < Wombert> that is very very strange 10:51 < Wombert> does the sample app have any modifications? 10:51 < Wombert> the sample app should have development mode on by default or am I wrong? 10:51 < codecop> i think no 10:52 < codecop> developmen debug == true 10:53 < codecop> every time i got errors like 10:53 < codecop> Line 22: Element 'route': This element is not expected. Expected is ( {http://agavi.org/agavi/1.0/config}route ). 10:53 < codecop> or parameter 10:54 < Wombert> hmmm 10:54 < Wombert> I cannot reproduce this :( 10:54 < codecop> maybe i must delete all 0.11 and check svn again 10:54 < Wombert> just a second 10:55 < Wombert> can you show me the "svn diff" of the routing.xml? 10:55 < codecop> ok 10:57 < codecop> where i have to paste? in pastebin? 10:57 < digitarald> p.caboo.se 10:57 < digitarald> they have a good diff highlighting 10:58 < digitarald> intelligent 10:58 < _cheerios> the form is alive!!! 10:58 < digitarald> a living form? ;) 10:58 < codecop> http://craige.pastebin.ca/470403 10:59 < digitarald> and so it looks in caboo ;) 10:59 < digitarald> http://p.caboo.se/58830 11:00 < Wombert> that works for me, codecop 11:00 < Wombert> why did you add xmlns:ns ? 11:01 < codecop> i didnt 11:01 < Wombert> uh? 11:02 < Wombert> okay we got it reproduced here 11:02 < Wombert> your problem is that you have xmlns="" on one route 11:02 < Wombert> but it must be from the agavi namespace 11:03 < Wombert> (which is added to your document element for you so your configs don't break) 11:05 < codecop> so what i shoud? to avoid empty xmlns="" 11:05 < codecop> it is in docs? 11:06 < codecop> or maillist? 11:06 < Wombert> why did you add the xmlns="" ? 11:06 < Wombert> does it work now, codecop? 11:07 < Wombert> + + source="_SERVER[HTTP_X_REQUESTED_WITH]" stop="false" xmlns="" /> 11:07 < Wombert> there is the problem 11:07 < Wombert> xmlns="" 11:07 < Wombert> just remove the xmlns attribute and you're fine 11:07 < codecop> without that all works 11:08 < Wombert> cool 11:08 < CIA-11> david * r1908 /branches/0.11/src/buildtools/code_templates/config/translation.xml: translation.xml now included in 'agavi project', closes #516 11:08 < Wombert> problem solved :) 11:08 < Wombert> any questions? 11:08 < codecop> :) no thanks for your time i apreciate it :) 11:08 < Wombert> no problem 11:08 < Wombert> + + xmlns:ns="http://agavi.org/agavi/1.0/config"> 11:08 < Wombert> xmlns:ns is not necessary! 11:09 < Wombert> do you use some xml editor? 11:09 < Wombert> maybe that's the problem 11:09 < codecop> xml mind 11:09 < Wombert> hmm 11:09 < Wombert> :S 11:09 < codecop> with that i made some copy paste from earlie xml configs something break somwhere 11:26 -!- codecop [n=codecop@server.senoji.palanga.lm.lt] has quit ["Leaving"] 11:33 -!- codecop [n=codecop@server.senoji.palanga.lm.lt] has joined #agavi 11:43 -!- Prometheus^ [n=Promethe@kone1.tmvvision.finnetcom.net] has joined #agavi 11:49 -!- Prometheus^ [n=Promethe@kone1.tmvvision.finnetcom.net] has quit [] 11:54 < CIA-11> david * r1909 /branches/0.11/src/config/AgaviXmlConfigParser.class.php: phpdoc typo 11:57 -!- Prometheus^ [n=Promethe@kone1.tmvvision.finnetcom.net] has joined #agavi 12:01 < CIA-11> david * r1910 /branches/0.11/ (64 files in 14 dirs): XML configs now have correct standalone document declarations, closes #518 12:08 < CIA-11> david * r1911 /branches/0.11/src/config/xsd/default_tags.xsd: a comment for those who use a validating XML editor and might wonder why that schema file throws an error (it's all perfectly fine, just a chicken and egg issue an editor couldn't possibly resolve) 12:57 -!- Prometheus^ [n=Promethe@kone1.tmvvision.finnetcom.net] has quit [] 13:08 < Wombert> _cheerios: that's out of the scope of FPF 13:08 < Wombert> but another filter could do this 13:09 -!- GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has quit [] 13:09 -!- GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has joined #agavi 13:33 < Wombert> v-dogg: ping 13:47 < v-dogg> pong 13:48 -!- Prometheus^ [n=Promethe@kone1.tmvvision.finnetcom.net] has joined #agavi 13:49 < Wombert> ah 13:49 < Wombert> you mentioned problems w/ sqlite+nestedsets? 13:56 < v-dogg> yup 14:24 < _cheerios> just did my first json tests. man, i'm so behind on cool stuff at times :D 14:29 < _cheerios> what is the agavi way with JSON, for mvc-separation (action,view,template)? and how could i return the contents of same action in xml or json? 14:42 -!- sean` [i=sean@84-104-194-218.cable.quicknet.nl] has joined #agavi 14:52 -!- codecop [n=codecop@server.senoji.palanga.lm.lt] has quit ["Leaving"] 15:33 -!- JamieWolf [n=JamieWol@e177037024.adsl.alicedsl.de] has joined #agavi 15:47 < splatch> hello 15:49 < _cheerios> Wombert; how do i change trac to allow showing of comments made for tickets by having that checkbox on the timeline? 15:51 -!- JamieWolf [n=JamieWol@e177037024.adsl.alicedsl.de] has quit ["KVIrc 3.2.5 Anomalies http://www.kvirc.net/"] 16:20 < CIA-11> david * r1912 /branches/0.11/src/config/xsd/default_tags.xsd: use xml schema list type instead of a complicated regex for the custom php_label_list type 16:22 < splatch> Is that regex flag: {IsLatin-1Supplement}? 16:38 -!- nagaozen [n=nagaozen@200-204-179-236.dsl.telesp.net.br] has joined #agavi 16:39 < Wombert> splatch: was that a question? :p 16:41 < splatch> i don't know "{IsLatin-1Supplement}" and i don't know what this do 16:41 < splatch> Wombert: yes, that was a question 16:42 -!- kaos|work [n=dominik@217.7.205.2] has quit [] 16:43 -!- Wombert [n=Wombert@217.7.205.2] has quit [] 17:14 -!- MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi 17:23 -!- sean` [i=sean@84-104-194-218.cable.quicknet.nl] has quit [Read error: 110 (Connection timed out)] 17:29 -!- _cheerios [n=jackbo@muxlim2.enterprises.evtek.fi] has quit ["Leaving"] 18:09 -!- eremit_ is now known as eremit 19:14 -!- Prometheus^ [n=Promethe@kone1.tmvvision.finnetcom.net] has quit [] 19:16 < MrJeep> is it possible to add rules to the routes to specify a secure https page ? 19:16 < MrJeep> i mean, I want to redirect to a secure page, can $ro->gen specify a parameter to change http to https ? 19:17 -!- Prometheus^ [n=Promethe@kone1.tmvvision.finnetcom.net] has joined #agavi 19:23 < v-dogg> MrJeep: there's an option for that... 19:23 < v-dogg> can't remember what's the name though :) 19:23 < MrJeep> ... you mean.. like a parameter in the method ? 19:23 < MrJeep> hehe 19:24 < MrJeep> ok i'll search a little more 19:24 < v-dogg> gen('name', array(), array('somethinghere'=>'https') 19:24 < v-dogg> you'll probably figure it out by looking at the source 21:18 -!- Prometheus^ [n=Promethe@kone1.tmvvision.finnetcom.net] has quit [] 21:51 -!- MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has quit [] 21:57 -!- impl [n=impl@httpcraft/php/impl] has joined #agavi --- Day changed Sat May 05 2007 00:12 -!- impl [n=impl@httpcraft/php/impl] has quit ["Leaving"] 00:27 -!- sean` [i=sean@84-104-194-218.cable.quicknet.nl] has joined #agavi 00:27 < sean`> sup 00:44 -!- digitarald [n=Miranda@62-43-171-177.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"] 00:58 -!- Netsplit brown.freenode.net <-> irc.freenode.net quits: splatch 00:58 -!- splatch [n=splatch@213.251.169.132] has joined #agavi 01:09 -!- GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has quit [] 01:09 -!- GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has joined #agavi 01:21 -!- lockes [n=locke@70.88.51.126] has joined #agavi 01:47 -!- lockes [n=locke@70.88.51.126] has quit ["Lost terminal"] 02:00 -!- sean` [i=sean@84-104-194-218.cable.quicknet.nl] has quit ["signing off"] 02:04 -!- nagaozen [n=nagaozen@200-204-179-236.dsl.telesp.net.br] has quit [] 02:32 -!- nagaozen [n=nagaozen@200-204-179-236.dsl.telesp.net.br] has joined #agavi 02:51 -!- impl [n=impl@httpcraft/php/impl] has joined #agavi 04:04 -!- Wombert [n=Wombert@dslb-084-056-009-051.pools.arcor-ip.net] has joined #agavi 04:04 < impl> Evening Wombert 04:04 < Wombert> hi impl 04:04 < Wombert> 'sup? 04:04 < Wombert> I'm about to go to bed, do you need anything? 04:05 < impl> Not much :) 04:05 < impl> Nope 04:05 < impl> Just saying hi 04:46 -!- Wombert [n=Wombert@dslb-084-056-009-051.pools.arcor-ip.net] has quit [] 08:01 -!- kaos|work [n=dominik@ppp-82-135-82-102.dynamic.mnet-online.de] has joined #agavi 08:02 -!- kaos|work [n=dominik@ppp-82-135-82-102.dynamic.mnet-online.de] has left #agavi [] 09:30 -!- digitarald [n=Miranda@62.43.171.177] has joined #agavi 09:38 -!- codecop [n=codecop@server.senoji.palanga.lm.lt] has joined #agavi 10:19 -!- digitarald [n=Miranda@62.43.171.177] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"] 10:22 -!- digitarald [n=Miranda@62-43-171-177.user.ono.com] has joined #agavi 10:25 -!- eremit [n=eremit@p5490f249.dip.t-dialin.net] has quit [Read error: 145 (Connection timed out)] 10:44 -!- impl [n=impl@httpcraft/php/impl] has quit ["Leaving"] 10:52 -!- digitarald [n=Miranda@62-43-171-177.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"] 10:52 -!- digitarald [n=Miranda@62-43-171-177.user.ono.com] has joined #agavi 10:53 -!- luke` [n=luke`@59.92.166.182] has joined #agavi 10:54 -!- luke` [n=luke`@59.92.166.182] has left #agavi [] 11:05 -!- eremit [n=eremit@p5490F5F8.dip.t-dialin.net] has joined #agavi 11:41 < v-dogg> huomenta 11:44 < codecop> huomenta 11:54 -!- nagaozen [n=nagaozen@200-204-179-236.dsl.telesp.net.br] has quit [] 12:27 -!- codecop [n=codecop@server.senoji.palanga.lm.lt] has quit ["Leaving"] 12:46 -!- sean` [i=sean@84-104-194-218.cable.quicknet.nl] has joined #agavi 12:58 -!- _cheerios [n=jacklo@cs181009065.pp.htv.fi] has joined #agavi 12:58 < _cheerios> yo 13:01 -!- sean` [i=sean@84-104-194-218.cable.quicknet.nl] has quit ["signing off"] 13:02 -!- sean` [i=sean@84-104-194-218.cable.quicknet.nl] has joined #agavi 13:09 -!- Wombert [n=Wombert@dslb-084-056-037-019.pools.arcor-ip.net] has joined #agavi 13:09 -!- GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has quit [] 13:09 -!- GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has joined #agavi 13:10 -!- codecop [n=codecop@88.118.199.249] has joined #agavi 13:13 -!- Netsplit brown.freenode.net <-> irc.freenode.net quits: _cheerios, codecop 13:14 -!- Netsplit over, joins: codecop, _cheerios 13:32 < _cheerios> anyone tried Grails? 13:41 -!- Netsplit brown.freenode.net <-> irc.freenode.net quits: _cheerios, codecop 13:42 -!- Netsplit over, joins: codecop, _cheerios 13:47 -!- _cheerios [n=jacklo@cs181009065.pp.htv.fi] has quit ["Leaving"] 13:58 -!- Prometheus^ [n=Promethe@a80-186-239-3.elisa-laajakaista.fi] has joined #agavi 13:59 -!- Netsplit brown.freenode.net <-> irc.freenode.net quits: codecop 14:00 -!- Netsplit over, joins: codecop 14:02 -!- Whisller [n=test@217.97.146.67] has joined #agavi 14:02 < Whisller> hi 14:10 -!- codecop_ [n=codecop@88.118.232.2] has joined #agavi 14:18 -!- codecop__ [n=codecop@85.206.199.166] has joined #agavi 14:19 -!- Netsplit brown.freenode.net <-> irc.freenode.net quits: codecop 14:19 -!- digitarald [n=Miranda@62-43-171-177.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"] 14:25 -!- codecop_ [n=codecop@88.118.232.2] has quit [Read error: 60 (Operation timed out)] 14:40 -!- Wombert [n=Wombert@dslb-084-056-037-019.pools.arcor-ip.net] has quit [] 15:11 -!- Whisller [n=test@217.97.146.67] has left #agavi [] 15:16 -!- Prometheus^ [n=Promethe@a80-186-239-3.elisa-laajakaista.fi] has quit [] 15:17 < codecop__> how with ./agavi create submodules like in cms example? (Admin.Pages-actions 1..n) 15:44 -!- sean` [i=sean@84-104-194-218.cable.quicknet.nl] has quit ["signing off"] 15:59 < v-dogg> codecop__: action name = Sub.Name 16:11 -!- Whisller [n=test@217.97.146.67] has joined #agavi 16:16 < codecop__> thanx v-dogg 16:31 -!- codecop__ [n=codecop@85.206.199.166] has quit ["Leaving"] 16:39 -!- Prometheus^ [n=Promethe@a80-186-239-3.elisa-laajakaista.fi] has joined #agavi 17:18 -!- kaos|work [n=dominik@ppp-82-135-82-102.dynamic.mnet-online.de] has joined #agavi 17:37 -!- Whisller [n=test@217.97.146.67] has left #agavi [] 17:50 -!- digitarald [n=Miranda@62-43-171-177.user.ono.com] has joined #agavi 17:58 -!- Whisller [n=test@217.97.146.67] has joined #agavi 18:01 -!- kaos|work [n=dominik@ppp-82-135-82-102.dynamic.mnet-online.de] has quit [] 18:57 -!- impl [n=impl@httpcraft/php/impl] has joined #agavi 19:09 -!- Wombert [n=Wombert@dslb-084-056-014-167.pools.arcor-ip.net] has joined #agavi 19:35 -!- _cheerios [n=jacklo@cs181009065.pp.htv.fi] has joined #agavi 19:35 < _cheerios> hello 19:38 < impl> Afternoon 19:41 < _cheerios> wtf. ""Wired is running a story about how an ex-lover of the missing wife of accused spouse killer Hans Reiser has confessed to killing eight people unrelated to the case. While Reiser will still stand trial for the murder, this development will undoubtedly complicate things."" 19:51 < _cheerios> OJFS sucks. I constantly encounter error messages like "I don't say I saved your file, but if I stored it, it would be called 'readme.txt'". 19:53 < _cheerios> http://linux.slashdot.org/linux/07/05/04/2142229.shtml 19:53 < _cheerios> slashdot comments \o/ 20:03 < _cheerios> impl, what's up? 20:03 < impl> _cheerios: Not much, just chillin' ;D you? 20:07 -!- Whisller [n=test@217.97.146.67] has left #agavi [] 20:09 < _cheerios> thinking about doing some work 20:09 < _cheerios> + a cider :D 20:10 -!- Whisller [n=test@217.97.146.67] has joined #agavi 20:10 < impl> :D 20:25 < _cheerios> sick. http://www.aina.org/news/20070425181603.htm 20:25 -!- sean` [i=sean@84-104-194-218.cable.quicknet.nl] has joined #agavi 20:27 -!- nagaozen [n=nagaozen@200-204-179-236.dsl.telesp.net.br] has joined #agavi 20:36 -!- codecop [n=codecop@85.206.199.166] has joined #agavi 20:36 -!- Prometheus^ [n=Promethe@a80-186-239-3.elisa-laajakaista.fi] has quit [Connection timed out] 21:08 -!- codecop [n=codecop@85.206.199.166] has quit ["Leaving"] 21:14 -!- Wombert [n=Wombert@dslb-084-056-014-167.pools.arcor-ip.net] has quit [Nick collision from services.] 21:14 -!- Wombert_ [n=Wombert@dslb-084-056-056-158.pools.arcor-ip.net] has joined #agavi 21:39 -!- Wombert [n=Wombert@dslb-084-056-035-082.pools.arcor-ip.net] has joined #agavi 21:43 < Whisller> Hi 21:45 < Whisller> Maybe You will know. MySQL has a function to return a count of sings in field? example, field: '231.43.4343.123.4.' sign: . returned count: 5 21:47 < _cheerios> i wasn't aware of such 21:49 < Whisller> I have one idea from #mysql Whisller: Something like: CHAR_LENGTH(field)-CHAR_LENGTH(REPLACE(field,'.','')) 21:50 < Whisller> but I must check it... 21:53 -!- Wombert_ [n=Wombert@dslb-084-056-056-158.pools.arcor-ip.net] has quit [Read error: 110 (Connection timed out)] 21:53 -!- Whisller [n=test@217.97.146.67] has quit [Read error: 54 (Connection reset by peer)] 21:57 -!- Whisller [n=test@217.97.146.67] has joined #agavi 22:05 -!- Whisller [n=test@217.97.146.67] has quit [Read error: 104 (Connection reset by peer)] 22:12 < _cheerios> when are those things of use? 22:12 < impl> Which things? 22:14 < _cheerios> Whisslers mysql stuff 22:15 * impl shrugs 22:16 -!- Wombert [n=Wombert@dslb-084-056-035-082.pools.arcor-ip.net] has quit [Nick collision from services.] 22:16 -!- Wombert_ [n=Wombert@dslb-084-056-023-000.pools.arcor-ip.net] has joined #agavi 22:36 -!- Wombert_ [n=Wombert@dslb-084-056-023-000.pools.arcor-ip.net] has quit [Read error: 110 (Connection timed out)] 22:45 -!- sean` [i=sean@84-104-194-218.cable.quicknet.nl] has quit [Read error: 110 (Connection timed out)] 22:55 -!- _cheerios [n=jacklo@cs181009065.pp.htv.fi] has quit ["Leaving"] --- Day changed Sun May 06 2007 01:09 -!- GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has quit [] 01:10 -!- GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has joined #agavi 01:40 -!- digitarald [n=Miranda@62-43-171-177.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"] 04:26 -!- Wombert [n=Wombert@dslb-084-056-013-076.pools.arcor-ip.net] has joined #agavi 05:17 -!- Wombert [n=Wombert@dslb-084-056-013-076.pools.arcor-ip.net] has quit [] 08:41 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 10:05 -!- digitarald [n=Miranda@62-43-171-177.user.ono.com] has joined #agavi 10:16 < MikeSeth> huomenta 10:16 -!- eremit_ [n=eremit@p5490FA69.dip.t-dialin.net] has joined #agavi 10:16 < impl> hiii 10:18 < impl> ! 10:18 -!- impl [n=impl@httpcraft/php/impl] has quit ["Leaving"] 10:19 < Arme[N]> huomenta 10:22 < MikeSeth> \o 10:29 < Arme[N]> _o/ 10:35 -!- eremit [n=eremit@p5490F5F8.dip.t-dialin.net] has quit [Read error: 110 (Connection timed out)] 12:31 -!- Arme[N-1] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 12:32 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Read error: 110 (Connection timed out)] 12:34 < v-dogg> huomenta 12:37 -!- Arme[N-1] is now known as Arme[N] 13:09 -!- GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has quit [] 13:10 -!- GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has joined #agavi 13:33 -!- sean` [i=sean@84-104-194-218.cable.quicknet.nl] has joined #agavi 13:40 < MikeSeth> I am so f***ing sick of Doctrine, MDB2 and the rest of half-assed, half-documented hax 13:40 * MikeSeth kicks Doctrine out 13:40 < MikeSeth> GTFO bitch, raw PDO from now on 13:41 < v-dogg> pro*cough*pel 13:52 -!- stachu [i=masq11@enc170.internetdsl.tpnet.pl] has joined #agavi 13:52 -!- stachu [i=masq11@enc170.internetdsl.tpnet.pl] has left #agavi [] 13:57 -!- stachu [i=masq11@enc170.internetdsl.tpnet.pl] has joined #agavi 13:57 -!- stachu [i=masq11@enc170.internetdsl.tpnet.pl] has left #agavi [] 14:18 < MikeSeth> think its worth it? 14:33 -!- Prometheus^ [n=Promethe@cs181170022.pp.htv.fi] has joined #agavi 14:44 -!- Whisller [n=test@217.97.146.67] has joined #agavi 14:45 < Whisller> hi 14:45 -!- codecop [n=codecop@85.206.205.80] has joined #agavi 14:47 < MikeSeth> haii 14:54 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["Leaving"] 15:15 -!- Prometheus^ [n=Promethe@cs181170022.pp.htv.fi] has quit [] 15:46 -!- Whisller [n=test@217.97.146.67] has left #agavi [] 15:51 -!- nagaozen [n=nagaozen@200-204-179-236.dsl.telesp.net.br] has quit [] 15:52 -!- eremit_ [n=eremit@p5490FA69.dip.t-dialin.net] has quit ["Trillian (http://www.ceruleanstudios.com"] 15:52 -!- eremit [n=eremit@p5490FA69.dip.t-dialin.net] has joined #agavi 15:52 -!- Prometheus^ [n=Promethe@cs181170022.pp.htv.fi] has joined #agavi 15:54 -!- Prometheus^ [n=Promethe@cs181170022.pp.htv.fi] has quit [Client Quit] 15:55 -!- Prometheus^ [n=Promethe@cs181170022.pp.htv.fi] has joined #agavi 16:37 -!- Wombert [n=Wombert@dslb-084-056-013-076.pools.arcor-ip.net] has joined #agavi 16:39 -!- Prometheus^ [n=Promethe@cs181170022.pp.htv.fi] has quit [] 16:42 -!- Wombert [n=Wombert@dslb-084-056-013-076.pools.arcor-ip.net] has quit [Nick collision from services.] 16:42 -!- Wombert_ [n=Wombert@dslb-084-056-020-074.pools.arcor-ip.net] has joined #agavi 16:42 -!- Prometheus^ [n=Promethe@cs181170022.pp.htv.fi] has joined #agavi 17:07 -!- codecop [n=codecop@85.206.205.80] has quit [Read error: 145 (Connection timed out)] 17:13 -!- Whisller [n=test@217.97.146.67] has joined #agavi 17:31 -!- Whisller [n=test@217.97.146.67] has left #agavi [] 18:15 -!- Prometheus^ [n=Promethe@cs181170022.pp.htv.fi] has quit [] 18:21 -!- Whisller [n=test@217.97.146.67] has joined #agavi 18:24 < Whisller> What I can do if I want to use database instance in __content (Model). I know only about one idea, with initialize web. But I heard it isn't a good idea. 18:26 < v-dogg> __content? 18:26 < v-dogg> __construct? 18:27 < Whisller> tfu yes __construct :) 18:38 < v-dogg> passing the context as a parameter or using initialize(AgaviContext, array) would be my suggestions 18:38 < v-dogg> the good thing about initialize is that agavi calls it automatically if you use $this->context->getModel('MyThingyGizmo'); 18:49 < Wombert_> there thou hath thy solution :) 18:49 -!- Wombert_ is now known as Wombert 18:49 * Wombert yawns 18:49 < Wombert> dude I'm so tired 18:50 -!- impl [n=impl@httpcraft/php/impl] has joined #agavi 19:30 -!- Whisller [n=test@217.97.146.67] has quit [] 19:46 -!- Netsplit brown.freenode.net <-> irc.freenode.net quits: splatch, um 19:46 -!- Netsplit over, joins: splatch, um 20:03 -!- eremit [n=eremit@p5490FA69.dip.t-dialin.net] has quit ["Trillian (http://www.ceruleanstudios.com"] 20:15 -!- eremit [n=eremit@p5490fa69.dip.t-dialin.net] has joined #agavi 20:35 * Wombert pokes v-dogg 20:36 * Wombert pokes ttj 20:36 * ttj is poked. 20:36 < v-dogg> O_O 20:36 < Wombert> you guys know Dressmann? 20:36 < Wombert> the fashion store? 20:36 < v-dogg> sure 20:36 < Wombert> dude they rock 20:36 < ttj> Don't go there. 20:36 < Wombert> maaan 20:36 < ttj> They suck. 20:36 < Wombert> they don't, they really don't 20:36 < Wombert> at least by german standards 20:36 < ttj> They really, really do. 20:36 < Wombert> we don't have one in munich but there is one in cologne 20:36 < Wombert> why is that 20:37 < v-dogg> I've had no problems with'em 20:37 < ttj> I don't like the brand. :P 20:37 < Wombert> they're dirt cheap, and I mean that literally 20:37 < v-dogg> I buy quite a lot of my clothes there 20:37 < Wombert> and the quality is top notch 20:37 < impl> You pay them in dirt? 20:37 < impl> =D 20:37 < Wombert> haha 20:37 < Wombert> really, such a bargain 20:37 < ttj> I just emailed a tailor last night asking for some quotes. 20:37 * impl slaps Wombert for abusing literally 20:38 < Wombert> okay sorry impl :p 20:38 < impl> :P 20:39 < Wombert> and I just realized that they have a six months return policy in case you're dissatisfied with the quality 20:39 < ttj> I found a watch for myself. 20:39 < ttj> http://www.tagheuer.com/the-collection/carrera/automatic-chronograph/index.lbl?w=CV2113.FC6182 20:39 < Wombert> you did? 20:39 < ttj> I'm getting that as soon as I have an extra 3k. :P 20:39 < Wombert> yes, tag heuer carreras rock 20:40 < Wombert> the link series is pretty cheap compared to... errr... all other tag heuers 20:40 < Wombert> I thought about getting myself a www.candino.com 20:40 < ttj> Aquaracers were also pretty cheap. 20:43 < Wombert> but, well, automatic watches are ace in general 20:43 < Wombert> unless they're made in china, that is 20:43 < ttj> Yeah. 20:45 < ttj> I seriously need to get a decent watch at some point. 20:45 < ttj> But dropping something like 2k right now is a bit steep. 21:02 < Wombert> word 21:22 -!- kaos|work [n=dominik@ppp-82-135-77-150.dynamic.mnet-online.de] has joined #agavi 21:26 -!- kaos|work [n=dominik@ppp-82-135-77-150.dynamic.mnet-online.de] has quit [Client Quit] 21:49 -!- nagaozen [n=nagaozen@200-204-179-236.dsl.telesp.net.br] has joined #agavi 22:38 -!- Wombert [n=Wombert@dslb-084-056-020-074.pools.arcor-ip.net] has quit [] 23:40 -!- Whisller [n=test@217.97.146.67] has joined #agavi 23:40 -!- Whisller [n=test@217.97.146.67] has quit [Client Quit] --- Day changed Mon May 07 2007 00:59 -!- digitarald [n=Miranda@62-43-171-177.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"] 01:10 -!- GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has quit [] 01:10 -!- GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has joined #agavi 01:39 -!- sean` [i=sean@84-104-194-218.cable.quicknet.nl] has quit ["signing off"] 01:51 -!- lockes [n=locke@70.88.51.126] has joined #agavi 01:58 -!- impl [n=impl@httpcraft/php/impl] has quit ["Leaving"] 02:57 -!- impl [n=impl@httpcraft/php/impl] has joined #agavi 05:58 -!- impl [n=impl@httpcraft/php/impl] has quit ["Leaving"] 07:33 -!- GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has quit [] 07:36 -!- nagaozen [n=nagaozen@200-204-179-236.dsl.telesp.net.br] has quit [] 07:40 -!- GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has joined #agavi 09:06 -!- eremit [n=eremit@p5490fa69.dip.t-dialin.net] has quit ["Trillian (http://www.ceruleanstudios.com"] 09:39 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 09:40 < Arme[N]> huomenta _o/ 09:46 -!- digitarald [n=Miranda@62-43-171-177.user.ono.com] has joined #agavi 09:48 -!- Prometheus^ [n=Promethe@kone1.tmvvision.finnetcom.net] has joined #agavi 09:50 -!- GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has quit [Nick collision from services.] 09:50 -!- GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has joined #agavi 09:59 < MikeSeth> huomenta 10:03 -!- _cheerios [n=jackbo@muxlim2.enterprises.evtek.fi] has joined #agavi 10:04 < _cheerios> muh 10:22 < MikeSeth> muh 10:46 -!- Wombert [n=Wombert@217.7.205.2] has joined #agavi 11:05 -!- digitarald [n=Miranda@62-43-171-177.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"] 11:10 < _cheerios> how did one populate multiple forms at the same time again? 11:12 < _cheerios> hmm, must've messed on creating that array *goes over code* 11:13 < _cheerios> yup. solved. 11:29 < MikeSeth> <3 fpf? :D 11:34 < Wombert> definitely 11:34 < v-dogg> huomenta 11:38 < Wombert> gawd I'm tired 11:38 < v-dogg> me too 11:38 < Wombert> when did you get up? xD 11:38 < v-dogg> 5 minutes ago 11:38 < Wombert> harhar 11:38 < Wombert> :> 11:38 * Wombert hugs v-dogg 11:38 < Wombert> I got up at three :< 11:39 < Wombert> and drove 600km to cologne :< 11:39 < Wombert> and now I'll be sitting in ze office for the rest of the day with the brain on hibernate 11:39 < Wombert> just the basic functions left on 11:39 < Wombert> chatting, saying yes and no, eating, drinking, surfing porn 11:39 < Wombert> oh wait 11:39 < Wombert> surfing errr.... interesting news sites 11:40 < v-dogg> (porn) 11:52 -!- digitarald [n=Miranda@178.Red-83-55-70.dynamicIP.rima-tde.net] has joined #agavi 11:56 -!- digitarald [n=Miranda@178.Red-83-55-70.dynamicIP.rima-tde.net] has quit [Client Quit] 11:56 -!- digitarald [n=Miranda@178.Red-83-55-70.dynamicIP.rima-tde.net] has joined #agavi 12:15 -!- codecop [n=moni___@88.118.199.86] has joined #agavi 12:17 -!- Wombert [n=Wombert@217.7.205.2] has quit [Read error: 54 (Connection reset by peer)] 12:18 -!- Wombert [n=Wombert@217.7.205.2] has joined #agavi 12:20 < Wombert> splatch: I'm adding automatic WSDL generation right now 12:27 -!- digitarald [n=Miranda@178.Red-83-55-70.dynamicIP.rima-tde.net] has quit ["digitarald.de"] 12:28 -!- digitarald [n=Miranda@178.Red-83-55-70.dynamicIP.rima-tde.net] has joined #agavi 12:33 -!- Prometheus^ [n=Promethe@kone1.tmvvision.finnetcom.net] has quit [] 12:37 -!- Wombert [n=Wombert@217.7.205.2] has quit [Read error: 54 (Connection reset by peer)] 12:37 -!- Wombert [n=Wombert@217.7.205.2] has joined #agavi 12:45 -!- Wombert [n=Wombert@217.7.205.2] has quit [Read error: 104 (Connection reset by peer)] 12:50 -!- Wombert [n=Wombert@217.7.205.2] has joined #agavi 12:54 < digitarald> When i have a parameter "id" in the route and in the post vars and they are not the same, which one has priority 12:55 < Wombert> route 12:56 < digitarald> so i can't choose 12:56 < digitarald> and i can't get the post var somehow 13:12 < _cheerios> how did one disable validation for executeRead, but have it for executeWrite? 13:13 < digitarald> 13:13 -!- Wombert [n=Wombert@217.7.205.2] has quit [Read error: 131 (Connection reset by peer)] 13:14 < _cheerios> ty. docs had some entry about validatormanager, but the internals have changed on that one. 13:23 < _cheerios> inArrayValidator should take a callback function where the values are defined, instead of listing entries manually? Well, off to modify a new validator. 13:35 < _cheerios> $result = $class->$func(); << call_user_func(array($class,$func)) choked due a $this-> call within $func. Glad this worked. 13:55 < v-dogg> huh.. the cheapest ticket to eurovision song contest's final costs 190 e! 13:55 < v-dogg> not that I would go if it cost 5 euros :) 14:03 < digitarald> viva helsinki 14:06 -!- Wombert [n=Wombert@217.7.205.2] has joined #agavi 14:10 -!- Prometheus^ [n=Promethe@kone1.tmvvision.finnetcom.net] has joined #agavi 14:10 -!- Wombert [n=Wombert@217.7.205.2] has quit [Nick collision from services.] 14:11 -!- Wombert_ [n=Wombert@217.7.205.2] has joined #agavi 14:17 < _cheerios> v-dogg, put your cms on e-bay to cover the costs :p 14:20 -!- Wombert [n=Wombert@217.7.205.2] has joined #agavi 14:20 -!- Wombert_ [n=Wombert@217.7.205.2] has quit [Read error: 104 (Connection reset by peer)] 14:20 -!- Wombert [n=Wombert@217.7.205.2] has quit [Nick collision from services.] 14:21 -!- Wombert_ [n=Wombert@217.7.205.2] has joined #agavi 14:21 -!- Wombert [n=Wombert@217.7.205.2] has joined #agavi 14:27 -!- codecop [n=moni___@88.118.199.86] has quit ["Have to go"] 14:37 -!- Wombert_ [n=Wombert@217.7.205.2] has quit [Connection timed out] 14:38 -!- Wombert [n=Wombert@217.7.205.2] has quit [Nick collision from services.] 14:38 -!- Wombert_ [n=Wombert@217.7.205.2] has joined #agavi 14:52 -!- Wombert [n=Wombert@217.7.205.2] has joined #agavi 14:56 -!- Wombert_ [n=Wombert@217.7.205.2] has quit [Read error: 104 (Connection reset by peer)] 14:59 -!- Wombert [n=Wombert@217.7.205.2] has quit [Nick collision from services.] 14:59 -!- Wombert_ [n=Wombert@217.7.205.2] has joined #agavi 15:04 -!- Wombert_ [n=Wombert@217.7.205.2] has quit [Read error: 104 (Connection reset by peer)] 15:05 -!- Wombert [n=Wombert@217.7.205.2] has joined #agavi 15:06 -!- Wombert [n=Wombert@217.7.205.2] has quit [Nick collision from services.] 15:06 -!- Wombert_ [n=Wombert@217.7.205.2] has joined #agavi 15:28 < _cheerios> hmm, thought of something to contribute to agavi. i might be of some use here after all :p i'll post ticket later when done. 15:30 -!- Wombert_ [n=Wombert@217.7.205.2] has quit [Read error: 110 (Connection timed out)] 15:31 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Read error: 60 (Operation timed out)] 15:33 -!- Wombert [n=Wombert@217.7.205.2] has joined #agavi 15:38 -!- Wombert [n=Wombert@217.7.205.2] has quit [Read error: 104 (Connection reset by peer)] 15:38 -!- Wombert [n=Wombert@217.7.205.2] has joined #agavi 15:43 -!- Wombert [n=Wombert@217.7.205.2] has quit [Nick collision from services.] 15:43 -!- Wombert_ [n=Wombert@217.7.205.2] has joined #agavi 15:47 -!- Wombert [n=Wombert@217.7.205.2] has joined #agavi 15:49 -!- Wombert [n=Wombert@217.7.205.2] has quit [Read error: 104 (Connection reset by peer)] 15:50 -!- Wombert [n=Wombert@217.7.205.2] has joined #agavi 15:59 -!- Wombert [n=Wombert@217.7.205.2] has quit [Read error: 60 (Operation timed out)] 16:04 -!- Wombert_ [n=Wombert@217.7.205.2] has quit [Read error: 110 (Connection timed out)] 16:46 -!- Wombert [n=Wombert@217.7.205.2] has joined #agavi 17:07 -!- MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi 17:07 < MrJeep> morning everybody! 17:07 < Wombert> hi there 17:11 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 17:12 < CIA-11> david * r1913 /branches/0.11/src/config/AgaviXmlConfigParser.class.php: factored out xml parsing, xincludes, xslt, xml schema 17:13 < CIA-11> david * r1914 /branches/0.11/src/ (6 files in 2 dirs): trailing blank lines 17:17 -!- _cheerios [n=jackbo@muxlim2.enterprises.evtek.fi] has quit ["bbl"] 17:26 < MikeSeth> Yes, yes, we get it, you are in ;) 17:43 < CIA-11> david * r1915 /branches/david-execution_flow/: branch cleanup 17:43 < CIA-11> david * r1916 /branches/david-xml_config_handlers/: for work on #519 17:45 -!- Wombert [n=Wombert@217.7.205.2] has quit [Read error: 104 (Connection reset by peer)] 17:45 -!- Wombert [n=Wombert@217.7.205.2] has joined #agavi 18:02 -!- Prometheus^ [n=Promethe@kone1.tmvvision.finnetcom.net] has quit [] 18:03 -!- Arme[N-1] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 18:05 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Nick collision from services.] 18:05 -!- Arme[N-1] is now known as Arme[N] 18:24 -!- lockes_ [n=locke@70.88.51.126] has joined #agavi 18:26 -!- lockes_ [n=locke@70.88.51.126] has quit [Client Quit] 18:32 -!- lockes [n=locke@70.88.51.126] has quit [Read error: 145 (Connection timed out)] 18:36 < splatch> Wombert: nice :) 18:40 < Wombert> well, it takes a little longer 18:52 -!- JAAulde [n=chatzill@pool-70-106-47-175.hag.east.verizon.net] has joined #agavi 18:56 -!- JAAulde [n=chatzill@pool-70-106-47-175.hag.east.verizon.net] has left #agavi [] 19:02 -!- JAAulde [n=chatzill@pool-70-106-47-175.hag.east.verizon.net] has joined #agavi 19:02 < JAAulde> How long has Agavi been around? 19:03 < Wombert> two years if you don't count the mojavi heritage 19:03 < Wombert> if you do... much, much longer :) 19:03 < JAAulde> mojavi ? another framework? 19:03 < Wombert> abandoned 19:03 < Wombert> agavi is a fork of mojavi 19:04 < JAAulde> i see 19:04 -!- sean` [i=sean@84-104-194-218.cable.quicknet.nl] has joined #agavi 19:04 < CIA-11> david * r1917 /branches/david-xml_config_handlers/src/config/ (5 files): new xml config handler basics 19:06 < JAAulde> with the current lack of documentation I am having a hard time getting a handle on agavi--what are its benefits over other pojects? for a point of reference, i have some experience with code igniter 19:06 < Wombert> i18n, for instance :) 19:06 < Wombert> our routing is much better, too (dare I say) 19:06 < JAAulde> i18n ??? 19:06 < Wombert> internationalization 19:07 < JAAulde> sorry, i am a total framework n00b...what do you mean by better internalization? 19:07 < Wombert> well... code igniter has no features at all in that area 19:07 < Wombert> agavi lets you format dates 19:07 < Wombert> currencies 19:07 < Wombert> numbers 19:08 < Wombert> in all locales (language/country combos) known to mankind (well, almost) 19:08 < Wombert> you can get a list of country names in chinese 19:08 < Wombert> or parse a french date 19:08 < Wombert> you can translate strings 19:08 < Wombert> calculate dates across timezones 19:08 < Wombert> and so on 19:08 < Wombert> the sample app demoes some of this 19:09 < Wombert> also, we have support for XMLRPC and SOAP... and REST 19:09 < Wombert> hmmmh 19:09 < Wombert> also, you write code once and then use it to generate html, pdf, rss, whatever you want 19:09 < JAAulde> i believe the CI mentality on that is to create a core functionality and let communities and developers extend and write libraries to handle things like formatting and translation... 19:09 < Wombert> which is very cool in case you want to build ajax powered sites that should degrade gracefully 19:10 < JAAulde> i guess i would have to jump in and mess with it to see all the benefits... 19:11 < JAAulde> one thing CI has over anyone right now is a clear presentation of it's purpose and use with good documentation 19:11 < JAAulde> i hope agavi gets to that point 19:11 < JAAulde> so i can see it better from the perspective of a novice 19:12 < Wombert> yes, you're absolutely right 19:12 < Wombert> now that 0.11 is (almost) finished, the only major task ahead is comprehensive documentation 19:12 < JAAulde> i'll keep my eyes open for that then 19:12 < JAAulde> are you one of the developers? 19:12 < Wombert> essentially, 1.0 is 0.11 (no BC breaks!) with some more features and full documentation 19:12 < Wombert> yeah 19:13 < JAAulde> cool 19:13 < JAAulde> all right then, i'll keep my eyes peeled for future info 19:13 < JAAulde> thanks for chatting 19:13 < Wombert> I'm afraid I'm pretty busy right now so I can't really talk 19:13 < Wombert> sure, you're welcome 19:13 < JAAulde> ;) 19:13 < JAAulde> bye 19:13 -!- JAAulde [n=chatzill@pool-70-106-47-175.hag.east.verizon.net] has left #agavi [] 19:13 < Wombert> ... 19:13 * Wombert yawns 19:26 < MikeSeth> you should've bothered me 19:26 < MikeSeth> I would've converted him :) 19:27 < Wombert> sorry 19:27 < Wombert> he's still online tho 19:27 < Wombert> message him if you like ;) 19:49 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Read error: 110 (Connection timed out)] 19:54 -!- digitarald [n=Miranda@178.Red-83-55-70.dynamicIP.rima-tde.net] has quit ["digitarald.de"] 20:16 -!- digitarald [n=Miranda@62-43-168-78.user.ono.com] has joined #agavi 20:27 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 20:35 -!- Wombert [n=Wombert@217.7.205.2] has quit [] 20:37 -!- digitarald [n=Miranda@62-43-168-78.user.ono.com] has quit ["... is gone ... www.digitarald.de ... but he is coming back!"] 21:03 -!- Wombert [n=Wombert@p508727F4.dip0.t-ipconnect.de] has joined #agavi 21:10 -!- eremit [n=eremit@p5490D257.dip.t-dialin.net] has joined #agavi 21:13 < MrJeep> wombert, is there a way to specify the use of https instead of http in the routing::gen() method ? 21:14 < Wombert> of course 21:14 < Wombert> $ro->gen('routename', $args, array('scheme' => 'https')); 21:14 < MrJeep> ok thnx :D 21:14 < Wombert> use a base href! 21:15 < Wombert> it will incliude https if the page was called this way 21:15 < Wombert> also keep in mind that you can define routing gen presets 21:15 < Wombert> so you can do $ro->gen('routename', $args, 'https'); 21:40 < MrJeep> ok :) 21:40 < MrJeep> anywone has ever made mod_ssl works under windows grrr !? 21:40 < MrJeep> i downloaded the whole apache-with-ssl 21:41 < MrJeep> but when I try to go to https://myserver... I get "Unable to connect 21:50 -!- GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has quit [] 21:50 -!- GMFlash [n=gmflash@cpe-71-66-114-120.neo.res.rr.com] has joined #agavi 22:00 < MrJeep> it's ok I've got a nice tutorial :D 22:06 -!- impl [n=impl@httpcraft/php/impl] has joined #agavi 22:13 -!- nagaozen [n=nagaozen@200-204-179-236.dsl.telesp.net.br] has joined #agavi 22:20 -!- eremit [n=eremit@p5490D257.dip.t-dialin.net] has quit ["Trillian (http://www.ceruleanstudios.com"] 23:08 -!- MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has quit [] 23:12 -!- MrJeep [n=jeanphil@modemcable175.240-202-24.mc.videotron.ca] has joined #agavi 23:14 < v-dogg> MrJeep: are you listening 443? (Listen 443) and do you have mod_ssl enabled in httpd.conf? 23:14 < MrJeep> yes 23:15 < MrJeep> http://pastie.textmate.org/59649 23:15 < MrJeep> httpd.conf 23:15 < MrJeep> http://pastie.textmate.org/59650 23:15 < MrJeep> httpd-ssl.conf 23:17 < v-dogg> have you checked error.log after a restart? 23:17 < v-dogg> apache restart 23:18 < MrJeep> there is no error displayed on the screen or in the logs :S 23:19 < MrJeep> this is why it's so confusing 23:23 < MrJeep> oh god 23:23 < MrJeep> i think it's working 23:24 < MrJeep> well, the server is not crashing 23:24 < MrJeep> however 23:24 < MrJeep> no, it is working 23:24 < MrJeep> finally 23:24 < MrJeep> my only problem is the following : 23:25 < MrJeep> i use the port 81 23:25 < MrJeep> let me see if my isp has finally opened the port 80 23:27 < MrJeep> ok, there's my problem 23:27 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit [Read error: 104 (Connection reset by peer)] 23:27 < MrJeep> does routing::gen() removes the port from the url when https scheme is used ? 23:29 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 23:32 < MrJeep> yes! 23:32 < MrJeep> finally 23:34 < MrJeep> now I need a beer 23:34 < MrJeep> err 23:34 < MrJeep> now I deserve a beer 23:40 * Arme[N] tries to send a beer for MikeSeth 23:40 < Arme[N]> :P 23:41 < MrJeep> ;D 23:49 < Arme[N]> oops s/MikeSeth/MrJeep/ :P 23:49 < MrJeep> hehe, that's what I thought :OD 23:50 < Arme[N]> yep that was tab completion fault 23:50 < Arme[N]> :) 23:51 < Arme[N]> man PHPUnit+Selenium rocks 23:52 < Arme[N]> hmmm, bed time 23:53 < Arme[N]> night 23:53 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has quit ["leaving"] --- Day changed Tue May 08 2007 01:28 -!- sean` [i=sean@84-104-194-218.cable.quicknet.nl] has quit ["signing off"] 02:41 -!- Wombert [n=Wombert@p508727F4.dip0.t-ipconnect.de] has quit [] 03:03 -!- epaulin [n=epaulin@61.191.26.228] has joined #agavi 06:14 -!- nagaozen [n=nagaozen@200-204-179-236.dsl.telesp.net.br] has quit [] 06:47 -!- impl [n=impl@httpcraft/php/impl] has quit ["Leaving"] 08:30 < ttj> Mmm... Bacon. 08:35 -!- Arme[N] [n=Arme[N]@unaffiliated/armen/x-394205] has joined #agavi 09:05 -!- sean` [i=sean@84-104-194-218.cable.quicknet.nl] has joined #agavi 09:22 -!- _cheerios [n=jackbo@muxlim2.enterprises.evtek.fi] has joined #agavi 09:28 < _cheerios> huomenta! 09:30 < ttj> Yo. 09:31 < _cheerios> lower back feels sprained :/ did some deadlifting yesterday 09:31 < _cheerios> few days of walking like you shat your pants ahead 09:32 < MikeSeth> huomenta 09:32 < ttj> I have a problem. I just restored a bit over 30 GBs of music from the backups and now I don't know what to listen to. 09:35 -!- sean` [i=sean@84-104-194-218.cable.quicknet.nl] has quit ["signing off"] 09:41 < _cheerios> shuffle 09:43 < ttj>